@staff0rd/assist 0.973.0 → 0.974.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/commands/extension/extension/background.js +20 -1
- package/dist/commands/extension/extension/content.js +75 -32
- package/dist/commands/extension/extension/docs.js +67 -24
- package/dist/commands/extension/extension/manifest.json +1 -0
- package/dist/commands/extension/extension/options.html +9 -0
- package/dist/commands/extension/extension/options.js +1 -1
- package/dist/commands/sessions/web/bundle.js +515 -515
- package/dist/index.js +919 -799
- package/package.json +1 -1
|
@@ -1,15 +1,58 @@
|
|
|
1
|
-
"use strict";(()=>{var zR=Object.create;var Nd=Object.defineProperty;var BR=Object.getOwnPropertyDescriptor;var kR=Object.getOwnPropertyNames;var UR=Object.getPrototypeOf,jR=Object.prototype.hasOwnProperty;var LR=(e,t,o)=>t in e?Nd(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o;var Vt=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var HR=(e,t,o,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of kR(t))!jR.call(e,n)&&n!==o&&Nd(e,n,{get:()=>t[n],enumerable:!(r=BR(t,n))||r.enumerable});return e};var R=(e,t,o)=>(o=e!=null?zR(UR(e)):{},HR(t||!e||!e.__esModule?Nd(o,"default",{value:e,enumerable:!0}):o,e));var Qa=(e,t,o)=>LR(e,typeof t!="symbol"?t+"":t,o);var f0=Vt(Q=>{"use strict";var kd=Symbol.for("react.transitional.element"),aO=Symbol.for("react.portal"),iO=Symbol.for("react.fragment"),lO=Symbol.for("react.strict_mode"),sO=Symbol.for("react.profiler"),uO=Symbol.for("react.consumer"),cO=Symbol.for("react.context"),pO=Symbol.for("react.forward_ref"),fO=Symbol.for("react.suspense"),dO=Symbol.for("react.memo"),i0=Symbol.for("react.lazy"),mO=Symbol.for("react.activity"),o0=Symbol.iterator;function yO(e){return e===null||typeof e!="object"?null:(e=o0&&e[o0]||e["@@iterator"],typeof e=="function"?e:null)}var l0={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},s0=Object.assign,u0={};function si(e,t,o){this.props=e,this.context=t,this.refs=u0,this.updater=o||l0}si.prototype.isReactComponent={};si.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=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,e,t,"setState")};si.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function c0(){}c0.prototype=si.prototype;function Ud(e,t,o){this.props=e,this.context=t,this.refs=u0,this.updater=o||l0}var jd=Ud.prototype=new c0;jd.constructor=Ud;s0(jd,si.prototype);jd.isPureReactComponent=!0;var r0=Array.isArray;function Bd(){}var ke={H:null,A:null,T:null,S:null},p0=Object.prototype.hasOwnProperty;function Ld(e,t,o){var r=o.ref;return{$$typeof:kd,type:e,key:t,ref:r!==void 0?r:null,props:o}}function hO(e,t){return Ld(e.type,t,e.props)}function Hd(e){return typeof e=="object"&&e!==null&&e.$$typeof===kd}function gO(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(o){return t[o]})}var n0=/\/+/g;function zd(e,t){return typeof e=="object"&&e!==null&&e.key!=null?gO(""+e.key):t.toString(36)}function bO(e){switch(e.status){case"fulfilled":return e.value;case"rejected":throw e.reason;default:switch(typeof e.status=="string"?e.then(Bd,Bd):(e.status="pending",e.then(function(t){e.status==="pending"&&(e.status="fulfilled",e.value=t)},function(t){e.status==="pending"&&(e.status="rejected",e.reason=t)})),e.status){case"fulfilled":return e.value;case"rejected":throw e.reason}}throw e}function li(e,t,o,r,n){var a=typeof e;(a==="undefined"||a==="boolean")&&(e=null);var i=!1;if(e===null)i=!0;else switch(a){case"bigint":case"string":case"number":i=!0;break;case"object":switch(e.$$typeof){case kd:case aO:i=!0;break;case i0:return i=e._init,li(i(e._payload),t,o,r,n)}}if(i)return n=n(e),i=r===""?"."+zd(e,0):r,r0(n)?(o="",i!=null&&(o=i.replace(n0,"$&/")+"/"),li(n,t,o,"",function(u){return u})):n!=null&&(Hd(n)&&(n=hO(n,o+(n.key==null||e&&e.key===n.key?"":(""+n.key).replace(n0,"$&/")+"/")+i)),t.push(n)),1;i=0;var l=r===""?".":r+":";if(r0(e))for(var s=0;s<e.length;s++)r=e[s],a=l+zd(r,s),i+=li(r,t,o,a,n);else if(s=yO(e),typeof s=="function")for(e=s.call(e),s=0;!(r=e.next()).done;)r=r.value,a=l+zd(r,s++),i+=li(r,t,o,a,n);else if(a==="object"){if(typeof e.then=="function")return li(bO(e),t,o,r,n);throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.")}return i}function ac(e,t,o){if(e==null)return e;var r=[],n=0;return li(e,r,"","",function(a){return t.call(o,a,n++)}),r}function TO(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(o){(e._status===0||e._status===-1)&&(e._status=1,e._result=o)},function(o){(e._status===0||e._status===-1)&&(e._status=2,e._result=o)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var a0=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)},vO={map:ac,forEach:function(e,t,o){ac(e,function(){t.apply(this,arguments)},o)},count:function(e){var t=0;return ac(e,function(){t++}),t},toArray:function(e){return ac(e,function(t){return t})||[]},only:function(e){if(!Hd(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};Q.Activity=mO;Q.Children=vO;Q.Component=si;Q.Fragment=iO;Q.Profiler=sO;Q.PureComponent=Ud;Q.StrictMode=lO;Q.Suspense=fO;Q.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=ke;Q.__COMPILER_RUNTIME={__proto__:null,c:function(e){return ke.H.useMemoCache(e)}};Q.cache=function(e){return function(){return e.apply(null,arguments)}};Q.cacheSignal=function(){return null};Q.cloneElement=function(e,t,o){if(e==null)throw Error("The argument must be a React element, but you passed "+e+".");var r=s0({},e.props),n=e.key;if(t!=null)for(a in t.key!==void 0&&(n=""+t.key),t)!p0.call(t,a)||a==="key"||a==="__self"||a==="__source"||a==="ref"&&t.ref===void 0||(r[a]=t[a]);var a=arguments.length-2;if(a===1)r.children=o;else if(1<a){for(var i=Array(a),l=0;l<a;l++)i[l]=arguments[l+2];r.children=i}return Ld(e.type,n,r)};Q.createContext=function(e){return e={$$typeof:cO,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null},e.Provider=e,e.Consumer={$$typeof:uO,_context:e},e};Q.createElement=function(e,t,o){var r,n={},a=null;if(t!=null)for(r in t.key!==void 0&&(a=""+t.key),t)p0.call(t,r)&&r!=="key"&&r!=="__self"&&r!=="__source"&&(n[r]=t[r]);var i=arguments.length-2;if(i===1)n.children=o;else if(1<i){for(var l=Array(i),s=0;s<i;s++)l[s]=arguments[s+2];n.children=l}if(e&&e.defaultProps)for(r in i=e.defaultProps,i)n[r]===void 0&&(n[r]=i[r]);return Ld(e,a,n)};Q.createRef=function(){return{current:null}};Q.forwardRef=function(e){return{$$typeof:pO,render:e}};Q.isValidElement=Hd;Q.lazy=function(e){return{$$typeof:i0,_payload:{_status:-1,_result:e},_init:TO}};Q.memo=function(e,t){return{$$typeof:dO,type:e,compare:t===void 0?null:t}};Q.startTransition=function(e){var t=ke.T,o={};ke.T=o;try{var r=e(),n=ke.S;n!==null&&n(o,r),typeof r=="object"&&r!==null&&typeof r.then=="function"&&r.then(Bd,a0)}catch(a){a0(a)}finally{t!==null&&o.types!==null&&(t.types=o.types),ke.T=t}};Q.unstable_useCacheRefresh=function(){return ke.H.useCacheRefresh()};Q.use=function(e){return ke.H.use(e)};Q.useActionState=function(e,t,o){return ke.H.useActionState(e,t,o)};Q.useCallback=function(e,t){return ke.H.useCallback(e,t)};Q.useContext=function(e){return ke.H.useContext(e)};Q.useDebugValue=function(){};Q.useDeferredValue=function(e,t){return ke.H.useDeferredValue(e,t)};Q.useEffect=function(e,t){return ke.H.useEffect(e,t)};Q.useEffectEvent=function(e){return ke.H.useEffectEvent(e)};Q.useId=function(){return ke.H.useId()};Q.useImperativeHandle=function(e,t,o){return ke.H.useImperativeHandle(e,t,o)};Q.useInsertionEffect=function(e,t){return ke.H.useInsertionEffect(e,t)};Q.useLayoutEffect=function(e,t){return ke.H.useLayoutEffect(e,t)};Q.useMemo=function(e,t){return ke.H.useMemo(e,t)};Q.useOptimistic=function(e,t){return ke.H.useOptimistic(e,t)};Q.useReducer=function(e,t,o){return ke.H.useReducer(e,t,o)};Q.useRef=function(e){return ke.H.useRef(e)};Q.useState=function(e){return ke.H.useState(e)};Q.useSyncExternalStore=function(e,t,o){return ke.H.useSyncExternalStore(e,t,o)};Q.useTransition=function(){return ke.H.useTransition()};Q.version="19.2.4"});var k=Vt((n4,d0)=>{"use strict";d0.exports=f0()});var y0=Vt(Se=>{"use strict";var mt=typeof Symbol=="function"&&Symbol.for,Vd=mt?Symbol.for("react.element"):60103,Id=mt?Symbol.for("react.portal"):60106,ic=mt?Symbol.for("react.fragment"):60107,lc=mt?Symbol.for("react.strict_mode"):60108,sc=mt?Symbol.for("react.profiler"):60114,uc=mt?Symbol.for("react.provider"):60109,cc=mt?Symbol.for("react.context"):60110,Fd=mt?Symbol.for("react.async_mode"):60111,pc=mt?Symbol.for("react.concurrent_mode"):60111,fc=mt?Symbol.for("react.forward_ref"):60112,dc=mt?Symbol.for("react.suspense"):60113,xO=mt?Symbol.for("react.suspense_list"):60120,mc=mt?Symbol.for("react.memo"):60115,yc=mt?Symbol.for("react.lazy"):60116,SO=mt?Symbol.for("react.block"):60121,CO=mt?Symbol.for("react.fundamental"):60117,EO=mt?Symbol.for("react.responder"):60118,PO=mt?Symbol.for("react.scope"):60119;function co(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case Vd:switch(e=e.type,e){case Fd:case pc:case ic:case sc:case lc:case dc:return e;default:switch(e=e&&e.$$typeof,e){case cc:case fc:case yc:case mc:case uc:return e;default:return t}}case Id:return t}}}function m0(e){return co(e)===pc}Se.AsyncMode=Fd;Se.ConcurrentMode=pc;Se.ContextConsumer=cc;Se.ContextProvider=uc;Se.Element=Vd;Se.ForwardRef=fc;Se.Fragment=ic;Se.Lazy=yc;Se.Memo=mc;Se.Portal=Id;Se.Profiler=sc;Se.StrictMode=lc;Se.Suspense=dc;Se.isAsyncMode=function(e){return m0(e)||co(e)===Fd};Se.isConcurrentMode=m0;Se.isContextConsumer=function(e){return co(e)===cc};Se.isContextProvider=function(e){return co(e)===uc};Se.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===Vd};Se.isForwardRef=function(e){return co(e)===fc};Se.isFragment=function(e){return co(e)===ic};Se.isLazy=function(e){return co(e)===yc};Se.isMemo=function(e){return co(e)===mc};Se.isPortal=function(e){return co(e)===Id};Se.isProfiler=function(e){return co(e)===sc};Se.isStrictMode=function(e){return co(e)===lc};Se.isSuspense=function(e){return co(e)===dc};Se.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===ic||e===pc||e===sc||e===lc||e===dc||e===xO||typeof e=="object"&&e!==null&&(e.$$typeof===yc||e.$$typeof===mc||e.$$typeof===uc||e.$$typeof===cc||e.$$typeof===fc||e.$$typeof===CO||e.$$typeof===EO||e.$$typeof===PO||e.$$typeof===SO)};Se.typeOf=co});var g0=Vt((l4,h0)=>{"use strict";h0.exports=y0()});var E0=Vt((s4,C0)=>{"use strict";var qd=g0(),RO={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},OO={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},MO={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},x0={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Gd={};Gd[qd.ForwardRef]=MO;Gd[qd.Memo]=x0;function b0(e){return qd.isMemo(e)?x0:Gd[e.$$typeof]||RO}var AO=Object.defineProperty,NO=Object.getOwnPropertyNames,T0=Object.getOwnPropertySymbols,wO=Object.getOwnPropertyDescriptor,_O=Object.getPrototypeOf,v0=Object.prototype;function S0(e,t,o){if(typeof t!="string"){if(v0){var r=_O(t);r&&r!==v0&&S0(e,r,o)}var n=NO(t);T0&&(n=n.concat(T0(t)));for(var a=b0(e),i=b0(t),l=0;l<n.length;++l){var s=n[l];if(!OO[s]&&!(o&&o[s])&&!(i&&i[s])&&!(a&&a[s])){var u=wO(t,s);try{AO(e,s,u)}catch{}}}}return e}C0.exports=S0});var Y0=Vt(Ve=>{"use strict";function Jd(e,t){var o=e.length;e.push(t);e:for(;0<o;){var r=o-1>>>1,n=e[r];if(0<bc(n,t))e[r]=t,e[o]=n,o=r;else break e}}function sr(e){return e.length===0?null:e[0]}function vc(e){if(e.length===0)return null;var t=e[0],o=e.pop();if(o!==t){e[0]=o;e:for(var r=0,n=e.length,a=n>>>1;r<a;){var i=2*(r+1)-1,l=e[i],s=i+1,u=e[s];if(0>bc(l,o))s<n&&0>bc(u,l)?(e[r]=u,e[s]=o,r=s):(e[r]=l,e[i]=o,r=i);else if(s<n&&0>bc(u,o))e[r]=u,e[s]=o,r=s;else break e}}return t}function bc(e,t){var o=e.sortIndex-t.sortIndex;return o!==0?o:e.id-t.id}Ve.unstable_now=void 0;typeof performance=="object"&&typeof performance.now=="function"?(j0=performance,Ve.unstable_now=function(){return j0.now()}):(Qd=Date,L0=Qd.now(),Ve.unstable_now=function(){return Qd.now()-L0});var j0,Qd,L0,Rr=[],sn=[],IO=1,wo=null,Bt=3,em=!1,Zl=!1,Wl=!1,tm=!1,I0=typeof setTimeout=="function"?setTimeout:null,F0=typeof clearTimeout=="function"?clearTimeout:null,H0=typeof setImmediate<"u"?setImmediate:null;function Tc(e){for(var t=sr(sn);t!==null;){if(t.callback===null)vc(sn);else if(t.startTime<=e)vc(sn),t.sortIndex=t.expirationTime,Jd(Rr,t);else break;t=sr(sn)}}function om(e){if(Wl=!1,Tc(e),!Zl)if(sr(Rr)!==null)Zl=!0,di||(di=!0,fi());else{var t=sr(sn);t!==null&&rm(om,t.startTime-e)}}var di=!1,Jl=-1,q0=5,G0=-1;function $0(){return tm?!0:!(Ve.unstable_now()-G0<q0)}function Zd(){if(tm=!1,di){var e=Ve.unstable_now();G0=e;var t=!0;try{e:{Zl=!1,Wl&&(Wl=!1,F0(Jl),Jl=-1),em=!0;var o=Bt;try{t:{for(Tc(e),wo=sr(Rr);wo!==null&&!(wo.expirationTime>e&&$0());){var r=wo.callback;if(typeof r=="function"){wo.callback=null,Bt=wo.priorityLevel;var n=r(wo.expirationTime<=e);if(e=Ve.unstable_now(),typeof n=="function"){wo.callback=n,Tc(e),t=!0;break t}wo===sr(Rr)&&vc(Rr),Tc(e)}else vc(Rr);wo=sr(Rr)}if(wo!==null)t=!0;else{var a=sr(sn);a!==null&&rm(om,a.startTime-e),t=!1}}break e}finally{wo=null,Bt=o,em=!1}t=void 0}}finally{t?fi():di=!1}}}var fi;typeof H0=="function"?fi=function(){H0(Zd)}:typeof MessageChannel<"u"?(Wd=new MessageChannel,V0=Wd.port2,Wd.port1.onmessage=Zd,fi=function(){V0.postMessage(null)}):fi=function(){I0(Zd,0)};var Wd,V0;function rm(e,t){Jl=I0(function(){e(Ve.unstable_now())},t)}Ve.unstable_IdlePriority=5;Ve.unstable_ImmediatePriority=1;Ve.unstable_LowPriority=4;Ve.unstable_NormalPriority=3;Ve.unstable_Profiling=null;Ve.unstable_UserBlockingPriority=2;Ve.unstable_cancelCallback=function(e){e.callback=null};Ve.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):q0=0<e?Math.floor(1e3/e):5};Ve.unstable_getCurrentPriorityLevel=function(){return Bt};Ve.unstable_next=function(e){switch(Bt){case 1:case 2:case 3:var t=3;break;default:t=Bt}var o=Bt;Bt=t;try{return e()}finally{Bt=o}};Ve.unstable_requestPaint=function(){tm=!0};Ve.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var o=Bt;Bt=e;try{return t()}finally{Bt=o}};Ve.unstable_scheduleCallback=function(e,t,o){var r=Ve.unstable_now();switch(typeof o=="object"&&o!==null?(o=o.delay,o=typeof o=="number"&&0<o?r+o:r):o=r,e){case 1:var n=-1;break;case 2:n=250;break;case 5:n=1073741823;break;case 4:n=1e4;break;default:n=5e3}return n=o+n,e={id:IO++,callback:t,priorityLevel:e,startTime:o,expirationTime:n,sortIndex:-1},o>r?(e.sortIndex=o,Jd(sn,e),sr(Rr)===null&&e===sr(sn)&&(Wl?(F0(Jl),Jl=-1):Wl=!0,rm(om,o-r))):(e.sortIndex=n,Jd(Rr,e),Zl||em||(Zl=!0,di||(di=!0,fi()))),e};Ve.unstable_shouldYield=$0;Ve.unstable_wrapCallback=function(e){var t=Bt;return function(){var o=Bt;Bt=t;try{return e.apply(this,arguments)}finally{Bt=o}}}});var X0=Vt((H4,K0)=>{"use strict";K0.exports=Y0()});var Z0=Vt($t=>{"use strict";var FO=k();function Q0(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var o=2;o<arguments.length;o++)t+="&args[]="+encodeURIComponent(arguments[o])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function un(){}var Gt={d:{f:un,r:function(){throw Error(Q0(522))},D:un,C:un,L:un,m:un,X:un,S:un,M:un},p:0,findDOMNode:null},qO=Symbol.for("react.portal");function GO(e,t,o){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:qO,key:r==null?null:""+r,children:e,containerInfo:t,implementation:o}}var es=FO.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function xc(e,t){if(e==="font")return"";if(typeof t=="string")return t==="use-credentials"?t:""}$t.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=Gt;$t.createPortal=function(e,t){var o=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)throw Error(Q0(299));return GO(e,t,null,o)};$t.flushSync=function(e){var t=es.T,o=Gt.p;try{if(es.T=null,Gt.p=2,e)return e()}finally{es.T=t,Gt.p=o,Gt.d.f()}};$t.preconnect=function(e,t){typeof e=="string"&&(t?(t=t.crossOrigin,t=typeof t=="string"?t==="use-credentials"?t:"":void 0):t=null,Gt.d.C(e,t))};$t.prefetchDNS=function(e){typeof e=="string"&&Gt.d.D(e)};$t.preinit=function(e,t){if(typeof e=="string"&&t&&typeof t.as=="string"){var o=t.as,r=xc(o,t.crossOrigin),n=typeof t.integrity=="string"?t.integrity:void 0,a=typeof t.fetchPriority=="string"?t.fetchPriority:void 0;o==="style"?Gt.d.S(e,typeof t.precedence=="string"?t.precedence:void 0,{crossOrigin:r,integrity:n,fetchPriority:a}):o==="script"&&Gt.d.X(e,{crossOrigin:r,integrity:n,fetchPriority:a,nonce:typeof t.nonce=="string"?t.nonce:void 0})}};$t.preinitModule=function(e,t){if(typeof e=="string")if(typeof t=="object"&&t!==null){if(t.as==null||t.as==="script"){var o=xc(t.as,t.crossOrigin);Gt.d.M(e,{crossOrigin:o,integrity:typeof t.integrity=="string"?t.integrity:void 0,nonce:typeof t.nonce=="string"?t.nonce:void 0})}}else t==null&&Gt.d.M(e)};$t.preload=function(e,t){if(typeof e=="string"&&typeof t=="object"&&t!==null&&typeof t.as=="string"){var o=t.as,r=xc(o,t.crossOrigin);Gt.d.L(e,o,{crossOrigin:r,integrity:typeof t.integrity=="string"?t.integrity:void 0,nonce:typeof t.nonce=="string"?t.nonce:void 0,type:typeof t.type=="string"?t.type:void 0,fetchPriority:typeof t.fetchPriority=="string"?t.fetchPriority:void 0,referrerPolicy:typeof t.referrerPolicy=="string"?t.referrerPolicy:void 0,imageSrcSet:typeof t.imageSrcSet=="string"?t.imageSrcSet:void 0,imageSizes:typeof t.imageSizes=="string"?t.imageSizes:void 0,media:typeof t.media=="string"?t.media:void 0})}};$t.preloadModule=function(e,t){if(typeof e=="string")if(t){var o=xc(t.as,t.crossOrigin);Gt.d.m(e,{as:typeof t.as=="string"&&t.as!=="script"?t.as:void 0,crossOrigin:o,integrity:typeof t.integrity=="string"?t.integrity:void 0})}else Gt.d.m(e)};$t.requestFormReset=function(e){Gt.d.r(e)};$t.unstable_batchedUpdates=function(e,t){return e(t)};$t.useFormState=function(e,t,o){return es.H.useFormState(e,t,o)};$t.useFormStatus=function(){return es.H.useHostTransitionStatus()};$t.version="19.2.4"});var Sc=Vt((I4,J0)=>{"use strict";function W0(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(W0)}catch(e){console.error(e)}}W0(),J0.exports=Z0()});var p1=Vt(Yp=>{"use strict";var ft=X0(),Pv=k(),$O=Sc();function z(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var o=2;o<arguments.length;o++)t+="&args[]="+encodeURIComponent(arguments[o])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function Rv(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function Hs(e){var t=e,o=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&4098)!==0&&(o=t.return),e=t.return;while(e)}return t.tag===3?o:null}function Ov(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function Mv(e){if(e.tag===31){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function eT(e){if(Hs(e)!==e)throw Error(z(188))}function YO(e){var t=e.alternate;if(!t){if(t=Hs(e),t===null)throw Error(z(188));return t!==e?null:e}for(var o=e,r=t;;){var n=o.return;if(n===null)break;var a=n.alternate;if(a===null){if(r=n.return,r!==null){o=r;continue}break}if(n.child===a.child){for(a=n.child;a;){if(a===o)return eT(n),e;if(a===r)return eT(n),t;a=a.sibling}throw Error(z(188))}if(o.return!==r.return)o=n,r=a;else{for(var i=!1,l=n.child;l;){if(l===o){i=!0,o=n,r=a;break}if(l===r){i=!0,r=n,o=a;break}l=l.sibling}if(!i){for(l=a.child;l;){if(l===o){i=!0,o=a,r=n;break}if(l===r){i=!0,r=a,o=n;break}l=l.sibling}if(!i)throw Error(z(189))}}if(o.alternate!==r)throw Error(z(190))}if(o.tag!==3)throw Error(z(188));return o.stateNode.current===o?e:t}function Av(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=Av(e),t!==null)return t;e=e.sibling}return null}var Le=Object.assign,KO=Symbol.for("react.element"),Cc=Symbol.for("react.transitional.element"),ss=Symbol.for("react.portal"),Ti=Symbol.for("react.fragment"),Nv=Symbol.for("react.strict_mode"),Um=Symbol.for("react.profiler"),wv=Symbol.for("react.consumer"),zr=Symbol.for("react.context"),_y=Symbol.for("react.forward_ref"),jm=Symbol.for("react.suspense"),Lm=Symbol.for("react.suspense_list"),Dy=Symbol.for("react.memo"),cn=Symbol.for("react.lazy"),Hm=Symbol.for("react.activity"),XO=Symbol.for("react.memo_cache_sentinel"),tT=Symbol.iterator;function ts(e){return e===null||typeof e!="object"?null:(e=tT&&e[tT]||e["@@iterator"],typeof e=="function"?e:null)}var QO=Symbol.for("react.client.reference");function Vm(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===QO?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Ti:return"Fragment";case Um:return"Profiler";case Nv:return"StrictMode";case jm:return"Suspense";case Lm:return"SuspenseList";case Hm:return"Activity"}if(typeof e=="object")switch(e.$$typeof){case ss:return"Portal";case zr:return e.displayName||"Context";case wv:return(e._context.displayName||"Context")+".Consumer";case _y:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Dy:return t=e.displayName||null,t!==null?t:Vm(e.type)||"Memo";case cn:t=e._payload,e=e._init;try{return Vm(e(t))}catch{}}return null}var us=Array.isArray,$=Pv.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,me=$O.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ra={pending:!1,data:null,method:null,action:null},Im=[],vi=-1;function dr(e){return{current:e}}function gt(e){0>vi||(e.current=Im[vi],Im[vi]=null,vi--)}function _e(e,t){vi++,Im[vi]=e.current,e.current=t}var fr=dr(null),Rs=dr(null),xn=dr(null),op=dr(null);function rp(e,t){switch(_e(xn,t),_e(Rs,e),_e(fr,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?sv(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=sv(t),e=ZS(t,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}gt(fr),_e(fr,e)}function ji(){gt(fr),gt(Rs),gt(xn)}function Fm(e){e.memoizedState!==null&&_e(op,e);var t=fr.current,o=ZS(t,e.type);t!==o&&(_e(Rs,e),_e(fr,o))}function np(e){Rs.current===e&&(gt(fr),gt(Rs)),op.current===e&&(gt(op),Us._currentValue=ra)}var nm,oT;function Jn(e){if(nm===void 0)try{throw Error()}catch(o){var t=o.stack.trim().match(/\n( *(at )?)/);nm=t&&t[1]||"",oT=-1<o.stack.indexOf(`
|
|
1
|
+
"use strict";(()=>{var UR=Object.create;var wd=Object.defineProperty;var jR=Object.getOwnPropertyDescriptor;var LR=Object.getOwnPropertyNames;var HR=Object.getPrototypeOf,VR=Object.prototype.hasOwnProperty;var IR=(e,t,o)=>t in e?wd(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o;var Vt=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var FR=(e,t,o,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of LR(t))!VR.call(e,n)&&n!==o&&wd(e,n,{get:()=>t[n],enumerable:!(r=jR(t,n))||r.enumerable});return e};var R=(e,t,o)=>(o=e!=null?UR(HR(e)):{},FR(t||!e||!e.__esModule?wd(o,"default",{value:e,enumerable:!0}):o,e));var Qa=(e,t,o)=>IR(e,typeof t!="symbol"?t+"":t,o);var y0=Vt(Q=>{"use strict";var kd=Symbol.for("react.transitional.element"),fO=Symbol.for("react.portal"),dO=Symbol.for("react.fragment"),mO=Symbol.for("react.strict_mode"),yO=Symbol.for("react.profiler"),hO=Symbol.for("react.consumer"),gO=Symbol.for("react.context"),bO=Symbol.for("react.forward_ref"),TO=Symbol.for("react.suspense"),vO=Symbol.for("react.memo"),u0=Symbol.for("react.lazy"),xO=Symbol.for("react.activity"),a0=Symbol.iterator;function SO(e){return e===null||typeof e!="object"?null:(e=a0&&e[a0]||e["@@iterator"],typeof e=="function"?e:null)}var c0={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},p0=Object.assign,f0={};function ui(e,t,o){this.props=e,this.context=t,this.refs=f0,this.updater=o||c0}ui.prototype.isReactComponent={};ui.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=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,e,t,"setState")};ui.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function d0(){}d0.prototype=ui.prototype;function Ud(e,t,o){this.props=e,this.context=t,this.refs=f0,this.updater=o||c0}var jd=Ud.prototype=new d0;jd.constructor=Ud;p0(jd,ui.prototype);jd.isPureReactComponent=!0;var i0=Array.isArray;function Bd(){}var ke={H:null,A:null,T:null,S:null},m0=Object.prototype.hasOwnProperty;function Ld(e,t,o){var r=o.ref;return{$$typeof:kd,type:e,key:t,ref:r!==void 0?r:null,props:o}}function CO(e,t){return Ld(e.type,t,e.props)}function Hd(e){return typeof e=="object"&&e!==null&&e.$$typeof===kd}function EO(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(o){return t[o]})}var l0=/\/+/g;function zd(e,t){return typeof e=="object"&&e!==null&&e.key!=null?EO(""+e.key):t.toString(36)}function PO(e){switch(e.status){case"fulfilled":return e.value;case"rejected":throw e.reason;default:switch(typeof e.status=="string"?e.then(Bd,Bd):(e.status="pending",e.then(function(t){e.status==="pending"&&(e.status="fulfilled",e.value=t)},function(t){e.status==="pending"&&(e.status="rejected",e.reason=t)})),e.status){case"fulfilled":return e.value;case"rejected":throw e.reason}}throw e}function si(e,t,o,r,n){var a=typeof e;(a==="undefined"||a==="boolean")&&(e=null);var i=!1;if(e===null)i=!0;else switch(a){case"bigint":case"string":case"number":i=!0;break;case"object":switch(e.$$typeof){case kd:case fO:i=!0;break;case u0:return i=e._init,si(i(e._payload),t,o,r,n)}}if(i)return n=n(e),i=r===""?"."+zd(e,0):r,i0(n)?(o="",i!=null&&(o=i.replace(l0,"$&/")+"/"),si(n,t,o,"",function(u){return u})):n!=null&&(Hd(n)&&(n=CO(n,o+(n.key==null||e&&e.key===n.key?"":(""+n.key).replace(l0,"$&/")+"/")+i)),t.push(n)),1;i=0;var l=r===""?".":r+":";if(i0(e))for(var s=0;s<e.length;s++)r=e[s],a=l+zd(r,s),i+=si(r,t,o,a,n);else if(s=SO(e),typeof s=="function")for(e=s.call(e),s=0;!(r=e.next()).done;)r=r.value,a=l+zd(r,s++),i+=si(r,t,o,a,n);else if(a==="object"){if(typeof e.then=="function")return si(PO(e),t,o,r,n);throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.")}return i}function ac(e,t,o){if(e==null)return e;var r=[],n=0;return si(e,r,"","",function(a){return t.call(o,a,n++)}),r}function RO(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(o){(e._status===0||e._status===-1)&&(e._status=1,e._result=o)},function(o){(e._status===0||e._status===-1)&&(e._status=2,e._result=o)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var s0=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)},OO={map:ac,forEach:function(e,t,o){ac(e,function(){t.apply(this,arguments)},o)},count:function(e){var t=0;return ac(e,function(){t++}),t},toArray:function(e){return ac(e,function(t){return t})||[]},only:function(e){if(!Hd(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};Q.Activity=xO;Q.Children=OO;Q.Component=ui;Q.Fragment=dO;Q.Profiler=yO;Q.PureComponent=Ud;Q.StrictMode=mO;Q.Suspense=TO;Q.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=ke;Q.__COMPILER_RUNTIME={__proto__:null,c:function(e){return ke.H.useMemoCache(e)}};Q.cache=function(e){return function(){return e.apply(null,arguments)}};Q.cacheSignal=function(){return null};Q.cloneElement=function(e,t,o){if(e==null)throw Error("The argument must be a React element, but you passed "+e+".");var r=p0({},e.props),n=e.key;if(t!=null)for(a in t.key!==void 0&&(n=""+t.key),t)!m0.call(t,a)||a==="key"||a==="__self"||a==="__source"||a==="ref"&&t.ref===void 0||(r[a]=t[a]);var a=arguments.length-2;if(a===1)r.children=o;else if(1<a){for(var i=Array(a),l=0;l<a;l++)i[l]=arguments[l+2];r.children=i}return Ld(e.type,n,r)};Q.createContext=function(e){return e={$$typeof:gO,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null},e.Provider=e,e.Consumer={$$typeof:hO,_context:e},e};Q.createElement=function(e,t,o){var r,n={},a=null;if(t!=null)for(r in t.key!==void 0&&(a=""+t.key),t)m0.call(t,r)&&r!=="key"&&r!=="__self"&&r!=="__source"&&(n[r]=t[r]);var i=arguments.length-2;if(i===1)n.children=o;else if(1<i){for(var l=Array(i),s=0;s<i;s++)l[s]=arguments[s+2];n.children=l}if(e&&e.defaultProps)for(r in i=e.defaultProps,i)n[r]===void 0&&(n[r]=i[r]);return Ld(e,a,n)};Q.createRef=function(){return{current:null}};Q.forwardRef=function(e){return{$$typeof:bO,render:e}};Q.isValidElement=Hd;Q.lazy=function(e){return{$$typeof:u0,_payload:{_status:-1,_result:e},_init:RO}};Q.memo=function(e,t){return{$$typeof:vO,type:e,compare:t===void 0?null:t}};Q.startTransition=function(e){var t=ke.T,o={};ke.T=o;try{var r=e(),n=ke.S;n!==null&&n(o,r),typeof r=="object"&&r!==null&&typeof r.then=="function"&&r.then(Bd,s0)}catch(a){s0(a)}finally{t!==null&&o.types!==null&&(t.types=o.types),ke.T=t}};Q.unstable_useCacheRefresh=function(){return ke.H.useCacheRefresh()};Q.use=function(e){return ke.H.use(e)};Q.useActionState=function(e,t,o){return ke.H.useActionState(e,t,o)};Q.useCallback=function(e,t){return ke.H.useCallback(e,t)};Q.useContext=function(e){return ke.H.useContext(e)};Q.useDebugValue=function(){};Q.useDeferredValue=function(e,t){return ke.H.useDeferredValue(e,t)};Q.useEffect=function(e,t){return ke.H.useEffect(e,t)};Q.useEffectEvent=function(e){return ke.H.useEffectEvent(e)};Q.useId=function(){return ke.H.useId()};Q.useImperativeHandle=function(e,t,o){return ke.H.useImperativeHandle(e,t,o)};Q.useInsertionEffect=function(e,t){return ke.H.useInsertionEffect(e,t)};Q.useLayoutEffect=function(e,t){return ke.H.useLayoutEffect(e,t)};Q.useMemo=function(e,t){return ke.H.useMemo(e,t)};Q.useOptimistic=function(e,t){return ke.H.useOptimistic(e,t)};Q.useReducer=function(e,t,o){return ke.H.useReducer(e,t,o)};Q.useRef=function(e){return ke.H.useRef(e)};Q.useState=function(e){return ke.H.useState(e)};Q.useSyncExternalStore=function(e,t,o){return ke.H.useSyncExternalStore(e,t,o)};Q.useTransition=function(){return ke.H.useTransition()};Q.version="19.2.4"});var k=Vt((g4,h0)=>{"use strict";h0.exports=y0()});var b0=Vt(Se=>{"use strict";var mt=typeof Symbol=="function"&&Symbol.for,Vd=mt?Symbol.for("react.element"):60103,Id=mt?Symbol.for("react.portal"):60106,ic=mt?Symbol.for("react.fragment"):60107,lc=mt?Symbol.for("react.strict_mode"):60108,sc=mt?Symbol.for("react.profiler"):60114,uc=mt?Symbol.for("react.provider"):60109,cc=mt?Symbol.for("react.context"):60110,Fd=mt?Symbol.for("react.async_mode"):60111,pc=mt?Symbol.for("react.concurrent_mode"):60111,fc=mt?Symbol.for("react.forward_ref"):60112,dc=mt?Symbol.for("react.suspense"):60113,MO=mt?Symbol.for("react.suspense_list"):60120,mc=mt?Symbol.for("react.memo"):60115,yc=mt?Symbol.for("react.lazy"):60116,AO=mt?Symbol.for("react.block"):60121,wO=mt?Symbol.for("react.fundamental"):60117,NO=mt?Symbol.for("react.responder"):60118,_O=mt?Symbol.for("react.scope"):60119;function co(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case Vd:switch(e=e.type,e){case Fd:case pc:case ic:case sc:case lc:case dc:return e;default:switch(e=e&&e.$$typeof,e){case cc:case fc:case yc:case mc:case uc:return e;default:return t}}case Id:return t}}}function g0(e){return co(e)===pc}Se.AsyncMode=Fd;Se.ConcurrentMode=pc;Se.ContextConsumer=cc;Se.ContextProvider=uc;Se.Element=Vd;Se.ForwardRef=fc;Se.Fragment=ic;Se.Lazy=yc;Se.Memo=mc;Se.Portal=Id;Se.Profiler=sc;Se.StrictMode=lc;Se.Suspense=dc;Se.isAsyncMode=function(e){return g0(e)||co(e)===Fd};Se.isConcurrentMode=g0;Se.isContextConsumer=function(e){return co(e)===cc};Se.isContextProvider=function(e){return co(e)===uc};Se.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===Vd};Se.isForwardRef=function(e){return co(e)===fc};Se.isFragment=function(e){return co(e)===ic};Se.isLazy=function(e){return co(e)===yc};Se.isMemo=function(e){return co(e)===mc};Se.isPortal=function(e){return co(e)===Id};Se.isProfiler=function(e){return co(e)===sc};Se.isStrictMode=function(e){return co(e)===lc};Se.isSuspense=function(e){return co(e)===dc};Se.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===ic||e===pc||e===sc||e===lc||e===dc||e===MO||typeof e=="object"&&e!==null&&(e.$$typeof===yc||e.$$typeof===mc||e.$$typeof===uc||e.$$typeof===cc||e.$$typeof===fc||e.$$typeof===wO||e.$$typeof===NO||e.$$typeof===_O||e.$$typeof===AO)};Se.typeOf=co});var v0=Vt((v4,T0)=>{"use strict";T0.exports=b0()});var O0=Vt((x4,R0)=>{"use strict";var qd=v0(),DO={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},zO={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},BO={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},E0={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Gd={};Gd[qd.ForwardRef]=BO;Gd[qd.Memo]=E0;function x0(e){return qd.isMemo(e)?E0:Gd[e.$$typeof]||DO}var kO=Object.defineProperty,UO=Object.getOwnPropertyNames,S0=Object.getOwnPropertySymbols,jO=Object.getOwnPropertyDescriptor,LO=Object.getPrototypeOf,C0=Object.prototype;function P0(e,t,o){if(typeof t!="string"){if(C0){var r=LO(t);r&&r!==C0&&P0(e,r,o)}var n=UO(t);S0&&(n=n.concat(S0(t)));for(var a=x0(e),i=x0(t),l=0;l<n.length;++l){var s=n[l];if(!zO[s]&&!(o&&o[s])&&!(i&&i[s])&&!(a&&a[s])){var u=jO(t,s);try{kO(e,s,u)}catch{}}}}return e}R0.exports=P0});var Q0=Vt(Ve=>{"use strict";function Jd(e,t){var o=e.length;e.push(t);e:for(;0<o;){var r=o-1>>>1,n=e[r];if(0<bc(n,t))e[r]=t,e[o]=n,o=r;else break e}}function sr(e){return e.length===0?null:e[0]}function vc(e){if(e.length===0)return null;var t=e[0],o=e.pop();if(o!==t){e[0]=o;e:for(var r=0,n=e.length,a=n>>>1;r<a;){var i=2*(r+1)-1,l=e[i],s=i+1,u=e[s];if(0>bc(l,o))s<n&&0>bc(u,l)?(e[r]=u,e[s]=o,r=s):(e[r]=l,e[i]=o,r=i);else if(s<n&&0>bc(u,o))e[r]=u,e[s]=o,r=s;else break e}}return t}function bc(e,t){var o=e.sortIndex-t.sortIndex;return o!==0?o:e.id-t.id}Ve.unstable_now=void 0;typeof performance=="object"&&typeof performance.now=="function"?(V0=performance,Ve.unstable_now=function(){return V0.now()}):(Qd=Date,I0=Qd.now(),Ve.unstable_now=function(){return Qd.now()-I0});var V0,Qd,I0,Rr=[],sn=[],XO=1,No=null,Bt=3,em=!1,Wl=!1,Jl=!1,tm=!1,G0=typeof setTimeout=="function"?setTimeout:null,$0=typeof clearTimeout=="function"?clearTimeout:null,F0=typeof setImmediate<"u"?setImmediate:null;function Tc(e){for(var t=sr(sn);t!==null;){if(t.callback===null)vc(sn);else if(t.startTime<=e)vc(sn),t.sortIndex=t.expirationTime,Jd(Rr,t);else break;t=sr(sn)}}function om(e){if(Jl=!1,Tc(e),!Wl)if(sr(Rr)!==null)Wl=!0,mi||(mi=!0,di());else{var t=sr(sn);t!==null&&rm(om,t.startTime-e)}}var mi=!1,es=-1,Y0=5,K0=-1;function X0(){return tm?!0:!(Ve.unstable_now()-K0<Y0)}function Zd(){if(tm=!1,mi){var e=Ve.unstable_now();K0=e;var t=!0;try{e:{Wl=!1,Jl&&(Jl=!1,$0(es),es=-1),em=!0;var o=Bt;try{t:{for(Tc(e),No=sr(Rr);No!==null&&!(No.expirationTime>e&&X0());){var r=No.callback;if(typeof r=="function"){No.callback=null,Bt=No.priorityLevel;var n=r(No.expirationTime<=e);if(e=Ve.unstable_now(),typeof n=="function"){No.callback=n,Tc(e),t=!0;break t}No===sr(Rr)&&vc(Rr),Tc(e)}else vc(Rr);No=sr(Rr)}if(No!==null)t=!0;else{var a=sr(sn);a!==null&&rm(om,a.startTime-e),t=!1}}break e}finally{No=null,Bt=o,em=!1}t=void 0}}finally{t?di():mi=!1}}}var di;typeof F0=="function"?di=function(){F0(Zd)}:typeof MessageChannel<"u"?(Wd=new MessageChannel,q0=Wd.port2,Wd.port1.onmessage=Zd,di=function(){q0.postMessage(null)}):di=function(){G0(Zd,0)};var Wd,q0;function rm(e,t){es=G0(function(){e(Ve.unstable_now())},t)}Ve.unstable_IdlePriority=5;Ve.unstable_ImmediatePriority=1;Ve.unstable_LowPriority=4;Ve.unstable_NormalPriority=3;Ve.unstable_Profiling=null;Ve.unstable_UserBlockingPriority=2;Ve.unstable_cancelCallback=function(e){e.callback=null};Ve.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):Y0=0<e?Math.floor(1e3/e):5};Ve.unstable_getCurrentPriorityLevel=function(){return Bt};Ve.unstable_next=function(e){switch(Bt){case 1:case 2:case 3:var t=3;break;default:t=Bt}var o=Bt;Bt=t;try{return e()}finally{Bt=o}};Ve.unstable_requestPaint=function(){tm=!0};Ve.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var o=Bt;Bt=e;try{return t()}finally{Bt=o}};Ve.unstable_scheduleCallback=function(e,t,o){var r=Ve.unstable_now();switch(typeof o=="object"&&o!==null?(o=o.delay,o=typeof o=="number"&&0<o?r+o:r):o=r,e){case 1:var n=-1;break;case 2:n=250;break;case 5:n=1073741823;break;case 4:n=1e4;break;default:n=5e3}return n=o+n,e={id:XO++,callback:t,priorityLevel:e,startTime:o,expirationTime:n,sortIndex:-1},o>r?(e.sortIndex=o,Jd(sn,e),sr(Rr)===null&&e===sr(sn)&&(Jl?($0(es),es=-1):Jl=!0,rm(om,o-r))):(e.sortIndex=n,Jd(Rr,e),Wl||em||(Wl=!0,mi||(mi=!0,di()))),e};Ve.unstable_shouldYield=X0;Ve.unstable_wrapCallback=function(e){var t=Bt;return function(){var o=Bt;Bt=t;try{return e.apply(this,arguments)}finally{Bt=o}}}});var W0=Vt((J4,Z0)=>{"use strict";Z0.exports=Q0()});var eT=Vt($t=>{"use strict";var QO=k();function J0(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var o=2;o<arguments.length;o++)t+="&args[]="+encodeURIComponent(arguments[o])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function un(){}var Gt={d:{f:un,r:function(){throw Error(J0(522))},D:un,C:un,L:un,m:un,X:un,S:un,M:un},p:0,findDOMNode:null},ZO=Symbol.for("react.portal");function WO(e,t,o){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:ZO,key:r==null?null:""+r,children:e,containerInfo:t,implementation:o}}var ts=QO.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function xc(e,t){if(e==="font")return"";if(typeof t=="string")return t==="use-credentials"?t:""}$t.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=Gt;$t.createPortal=function(e,t){var o=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)throw Error(J0(299));return WO(e,t,null,o)};$t.flushSync=function(e){var t=ts.T,o=Gt.p;try{if(ts.T=null,Gt.p=2,e)return e()}finally{ts.T=t,Gt.p=o,Gt.d.f()}};$t.preconnect=function(e,t){typeof e=="string"&&(t?(t=t.crossOrigin,t=typeof t=="string"?t==="use-credentials"?t:"":void 0):t=null,Gt.d.C(e,t))};$t.prefetchDNS=function(e){typeof e=="string"&&Gt.d.D(e)};$t.preinit=function(e,t){if(typeof e=="string"&&t&&typeof t.as=="string"){var o=t.as,r=xc(o,t.crossOrigin),n=typeof t.integrity=="string"?t.integrity:void 0,a=typeof t.fetchPriority=="string"?t.fetchPriority:void 0;o==="style"?Gt.d.S(e,typeof t.precedence=="string"?t.precedence:void 0,{crossOrigin:r,integrity:n,fetchPriority:a}):o==="script"&&Gt.d.X(e,{crossOrigin:r,integrity:n,fetchPriority:a,nonce:typeof t.nonce=="string"?t.nonce:void 0})}};$t.preinitModule=function(e,t){if(typeof e=="string")if(typeof t=="object"&&t!==null){if(t.as==null||t.as==="script"){var o=xc(t.as,t.crossOrigin);Gt.d.M(e,{crossOrigin:o,integrity:typeof t.integrity=="string"?t.integrity:void 0,nonce:typeof t.nonce=="string"?t.nonce:void 0})}}else t==null&&Gt.d.M(e)};$t.preload=function(e,t){if(typeof e=="string"&&typeof t=="object"&&t!==null&&typeof t.as=="string"){var o=t.as,r=xc(o,t.crossOrigin);Gt.d.L(e,o,{crossOrigin:r,integrity:typeof t.integrity=="string"?t.integrity:void 0,nonce:typeof t.nonce=="string"?t.nonce:void 0,type:typeof t.type=="string"?t.type:void 0,fetchPriority:typeof t.fetchPriority=="string"?t.fetchPriority:void 0,referrerPolicy:typeof t.referrerPolicy=="string"?t.referrerPolicy:void 0,imageSrcSet:typeof t.imageSrcSet=="string"?t.imageSrcSet:void 0,imageSizes:typeof t.imageSizes=="string"?t.imageSizes:void 0,media:typeof t.media=="string"?t.media:void 0})}};$t.preloadModule=function(e,t){if(typeof e=="string")if(t){var o=xc(t.as,t.crossOrigin);Gt.d.m(e,{as:typeof t.as=="string"&&t.as!=="script"?t.as:void 0,crossOrigin:o,integrity:typeof t.integrity=="string"?t.integrity:void 0})}else Gt.d.m(e)};$t.requestFormReset=function(e){Gt.d.r(e)};$t.unstable_batchedUpdates=function(e,t){return e(t)};$t.useFormState=function(e,t,o){return ts.H.useFormState(e,t,o)};$t.useFormStatus=function(){return ts.H.useHostTransitionStatus()};$t.version="19.2.4"});var Sc=Vt((tz,oT)=>{"use strict";function tT(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(tT)}catch(e){console.error(e)}}tT(),oT.exports=eT()});var m1=Vt(Yp=>{"use strict";var ft=W0(),Mv=k(),JO=Sc();function z(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var o=2;o<arguments.length;o++)t+="&args[]="+encodeURIComponent(arguments[o])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function Av(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function Vs(e){var t=e,o=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&4098)!==0&&(o=t.return),e=t.return;while(e)}return t.tag===3?o:null}function wv(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function Nv(e){if(e.tag===31){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function rT(e){if(Vs(e)!==e)throw Error(z(188))}function e2(e){var t=e.alternate;if(!t){if(t=Vs(e),t===null)throw Error(z(188));return t!==e?null:e}for(var o=e,r=t;;){var n=o.return;if(n===null)break;var a=n.alternate;if(a===null){if(r=n.return,r!==null){o=r;continue}break}if(n.child===a.child){for(a=n.child;a;){if(a===o)return rT(n),e;if(a===r)return rT(n),t;a=a.sibling}throw Error(z(188))}if(o.return!==r.return)o=n,r=a;else{for(var i=!1,l=n.child;l;){if(l===o){i=!0,o=n,r=a;break}if(l===r){i=!0,r=n,o=a;break}l=l.sibling}if(!i){for(l=a.child;l;){if(l===o){i=!0,o=a,r=n;break}if(l===r){i=!0,r=a,o=n;break}l=l.sibling}if(!i)throw Error(z(189))}}if(o.alternate!==r)throw Error(z(190))}if(o.tag!==3)throw Error(z(188));return o.stateNode.current===o?e:t}function _v(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=_v(e),t!==null)return t;e=e.sibling}return null}var Le=Object.assign,t2=Symbol.for("react.element"),Cc=Symbol.for("react.transitional.element"),us=Symbol.for("react.portal"),vi=Symbol.for("react.fragment"),Dv=Symbol.for("react.strict_mode"),Um=Symbol.for("react.profiler"),zv=Symbol.for("react.consumer"),zr=Symbol.for("react.context"),_y=Symbol.for("react.forward_ref"),jm=Symbol.for("react.suspense"),Lm=Symbol.for("react.suspense_list"),Dy=Symbol.for("react.memo"),cn=Symbol.for("react.lazy"),Hm=Symbol.for("react.activity"),o2=Symbol.for("react.memo_cache_sentinel"),nT=Symbol.iterator;function os(e){return e===null||typeof e!="object"?null:(e=nT&&e[nT]||e["@@iterator"],typeof e=="function"?e:null)}var r2=Symbol.for("react.client.reference");function Vm(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===r2?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case vi:return"Fragment";case Um:return"Profiler";case Dv:return"StrictMode";case jm:return"Suspense";case Lm:return"SuspenseList";case Hm:return"Activity"}if(typeof e=="object")switch(e.$$typeof){case us:return"Portal";case zr:return e.displayName||"Context";case zv:return(e._context.displayName||"Context")+".Consumer";case _y:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Dy:return t=e.displayName||null,t!==null?t:Vm(e.type)||"Memo";case cn:t=e._payload,e=e._init;try{return Vm(e(t))}catch{}}return null}var cs=Array.isArray,$=Mv.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,me=JO.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ra={pending:!1,data:null,method:null,action:null},Im=[],xi=-1;function dr(e){return{current:e}}function gt(e){0>xi||(e.current=Im[xi],Im[xi]=null,xi--)}function _e(e,t){xi++,Im[xi]=e.current,e.current=t}var fr=dr(null),Os=dr(null),xn=dr(null),op=dr(null);function rp(e,t){switch(_e(xn,t),_e(Os,e),_e(fr,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?pv(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=pv(t),e=e1(t,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}gt(fr),_e(fr,e)}function Li(){gt(fr),gt(Os),gt(xn)}function Fm(e){e.memoizedState!==null&&_e(op,e);var t=fr.current,o=e1(t,e.type);t!==o&&(_e(Os,e),_e(fr,o))}function np(e){Os.current===e&&(gt(fr),gt(Os)),op.current===e&&(gt(op),js._currentValue=ra)}var nm,aT;function Jn(e){if(nm===void 0)try{throw Error()}catch(o){var t=o.stack.trim().match(/\n( *(at )?)/);nm=t&&t[1]||"",aT=-1<o.stack.indexOf(`
|
|
2
2
|
at`)?" (<anonymous>)":-1<o.stack.indexOf("@")?"@unknown:0:0":""}return`
|
|
3
|
-
`+nm+e+
|
|
3
|
+
`+nm+e+aT}var am=!1;function im(e,t){if(!e||am)return"";am=!0;var o=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var r={DetermineComponentFrameRoot:function(){try{if(t){var f=function(){throw Error()};if(Object.defineProperty(f.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(f,[])}catch(c){var d=c}Reflect.construct(e,[],f)}else{try{f.call()}catch(c){d=c}e.call(f.prototype)}}else{try{throw Error()}catch(c){d=c}(f=e())&&typeof f.catch=="function"&&f.catch(function(){})}}catch(c){if(c&&d&&typeof c.stack=="string")return[c.stack,d.stack]}return[null,null]}};r.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var n=Object.getOwnPropertyDescriptor(r.DetermineComponentFrameRoot,"name");n&&n.configurable&&Object.defineProperty(r.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var a=r.DetermineComponentFrameRoot(),i=a[0],l=a[1];if(i&&l){var s=i.split(`
|
|
4
4
|
`),u=l.split(`
|
|
5
5
|
`);for(n=r=0;r<s.length&&!s[r].includes("DetermineComponentFrameRoot");)r++;for(;n<u.length&&!u[n].includes("DetermineComponentFrameRoot");)n++;if(r===s.length||n===u.length)for(r=s.length-1,n=u.length-1;1<=r&&0<=n&&s[r]!==u[n];)n--;for(;1<=r&&0<=n;r--,n--)if(s[r]!==u[n]){if(r!==1||n!==1)do if(r--,n--,0>n||s[r]!==u[n]){var p=`
|
|
6
|
-
`+s[r].replace(" at new "," at ");return e.displayName&&p.includes("<anonymous>")&&(p=p.replace("<anonymous>",e.displayName)),p}while(1<=r&&0<=n);break}}}finally{am=!1,Error.prepareStackTrace=o}return(o=e?e.displayName||e.name:"")?Jn(o):""}function
|
|
6
|
+
`+s[r].replace(" at new "," at ");return e.displayName&&p.includes("<anonymous>")&&(p=p.replace("<anonymous>",e.displayName)),p}while(1<=r&&0<=n);break}}}finally{am=!1,Error.prepareStackTrace=o}return(o=e?e.displayName||e.name:"")?Jn(o):""}function n2(e,t){switch(e.tag){case 26:case 27:case 5:return Jn(e.type);case 16:return Jn("Lazy");case 13:return e.child!==t&&t!==null?Jn("Suspense Fallback"):Jn("Suspense");case 19:return Jn("SuspenseList");case 0:case 15:return im(e.type,!1);case 11:return im(e.type.render,!1);case 1:return im(e.type,!0);case 31:return Jn("Activity");default:return""}}function iT(e){try{var t="",o=null;do t+=n2(e,o),o=e,e=e.return;while(e);return t}catch(r){return`
|
|
7
7
|
Error generating stack: `+r.message+`
|
|
8
|
-
`+r.stack}}var qm=Object.prototype.hasOwnProperty,zy=ft.unstable_scheduleCallback,lm=ft.unstable_cancelCallback,WO=ft.unstable_shouldYield,JO=ft.unstable_requestPaint,ho=ft.unstable_now,e2=ft.unstable_getCurrentPriorityLevel,_v=ft.unstable_ImmediatePriority,Dv=ft.unstable_UserBlockingPriority,ap=ft.unstable_NormalPriority,t2=ft.unstable_LowPriority,zv=ft.unstable_IdlePriority,o2=ft.log,r2=ft.unstable_setDisableYieldValue,Vs=null,go=null;function hn(e){if(typeof o2=="function"&&r2(e),go&&typeof go.setStrictMode=="function")try{go.setStrictMode(Vs,e)}catch{}}var bo=Math.clz32?Math.clz32:i2,n2=Math.log,a2=Math.LN2;function i2(e){return e>>>=0,e===0?32:31-(n2(e)/a2|0)|0}var Ec=256,Pc=262144,Rc=4194304;function ea(e){var t=e&42;if(t!==0)return t;switch(e&-e){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 e&261888;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function wp(e,t,o){var r=e.pendingLanes;if(r===0)return 0;var n=0,a=e.suspendedLanes,i=e.pingedLanes;e=e.warmLanes;var l=r&134217727;return l!==0?(r=l&~a,r!==0?n=ea(r):(i&=l,i!==0?n=ea(i):o||(o=l&~e,o!==0&&(n=ea(o))))):(l=r&~a,l!==0?n=ea(l):i!==0?n=ea(i):o||(o=r&~e,o!==0&&(n=ea(o)))),n===0?0:t!==0&&t!==n&&(t&a)===0&&(a=n&-n,o=t&-t,a>=o||a===32&&(o&4194048)!==0)?t:n}function Is(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function l2(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Bv(){var e=Rc;return Rc<<=1,(Rc&62914560)===0&&(Rc=4194304),e}function sm(e){for(var t=[],o=0;31>o;o++)t.push(e);return t}function Fs(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function s2(e,t,o,r,n,a){var i=e.pendingLanes;e.pendingLanes=o,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=o,e.entangledLanes&=o,e.errorRecoveryDisabledLanes&=o,e.shellSuspendCounter=0;var l=e.entanglements,s=e.expirationTimes,u=e.hiddenUpdates;for(o=i&~o;0<o;){var p=31-bo(o),f=1<<p;l[p]=0,s[p]=-1;var d=u[p];if(d!==null)for(u[p]=null,p=0;p<d.length;p++){var c=d[p];c!==null&&(c.lane&=-536870913)}o&=~f}r!==0&&kv(e,r,0),a!==0&&n===0&&e.tag!==0&&(e.suspendedLanes|=a&~(i&~t))}function kv(e,t,o){e.pendingLanes|=t,e.suspendedLanes&=~t;var r=31-bo(t);e.entangledLanes|=t,e.entanglements[r]=e.entanglements[r]|1073741824|o&261930}function Uv(e,t){var o=e.entangledLanes|=t;for(e=e.entanglements;o;){var r=31-bo(o),n=1<<r;n&t|e[r]&t&&(e[r]|=t),o&=~n}}function jv(e,t){var o=t&-t;return o=(o&42)!==0?1:By(o),(o&(e.suspendedLanes|t))!==0?0:o}function By(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=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:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function ky(e){return e&=-e,2<e?8<e?(e&134217727)!==0?32:268435456:8:2}function Lv(){var e=me.p;return e!==0?e:(e=window.event,e===void 0?32:s1(e.type))}function nT(e,t){var o=me.p;try{return me.p=e,t()}finally{me.p=o}}var zn=Math.random().toString(36).slice(2),Rt="__reactFiber$"+zn,oo="__reactProps$"+zn,Xi="__reactContainer$"+zn,Gm="__reactEvents$"+zn,u2="__reactListeners$"+zn,c2="__reactHandles$"+zn,aT="__reactResources$"+zn,qs="__reactMarker$"+zn;function Uy(e){delete e[Rt],delete e[oo],delete e[Gm],delete e[u2],delete e[c2]}function xi(e){var t=e[Rt];if(t)return t;for(var o=e.parentNode;o;){if(t=o[Xi]||o[Rt]){if(o=t.alternate,t.child!==null||o!==null&&o.child!==null)for(e=dv(e);e!==null;){if(o=e[Rt])return o;e=dv(e)}return t}e=o,o=e.parentNode}return null}function Qi(e){if(e=e[Rt]||e[Xi]){var t=e.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return e}return null}function cs(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error(z(33))}function wi(e){var t=e[aT];return t||(t=e[aT]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function ht(e){e[qs]=!0}var Hv=new Set,Vv={};function da(e,t){Li(e,t),Li(e+"Capture",t)}function Li(e,t){for(Vv[e]=t,e=0;e<t.length;e++)Hv.add(t[e])}var p2=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]*$"),iT={},lT={};function f2(e){return qm.call(lT,e)?!0:qm.call(iT,e)?!1:p2.test(e)?lT[e]=!0:(iT[e]=!0,!1)}function Vc(e,t,o){if(f2(t))if(o===null)e.removeAttribute(t);else{switch(typeof o){case"undefined":case"function":case"symbol":e.removeAttribute(t);return;case"boolean":var r=t.toLowerCase().slice(0,5);if(r!=="data-"&&r!=="aria-"){e.removeAttribute(t);return}}e.setAttribute(t,""+o)}}function Oc(e,t,o){if(o===null)e.removeAttribute(t);else{switch(typeof o){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(t);return}e.setAttribute(t,""+o)}}function Or(e,t,o,r){if(r===null)e.removeAttribute(o);else{switch(typeof r){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(o);return}e.setAttributeNS(t,o,""+r)}}function Do(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Iv(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function d2(e,t,o){var r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&&typeof r<"u"&&typeof r.get=="function"&&typeof r.set=="function"){var n=r.get,a=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return n.call(this)},set:function(i){o=""+i,a.call(this,i)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return o},setValue:function(i){o=""+i},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function $m(e){if(!e._valueTracker){var t=Iv(e)?"checked":"value";e._valueTracker=d2(e,t,""+e[t])}}function Fv(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var o=t.getValue(),r="";return e&&(r=Iv(e)?e.checked?"true":"false":e.value),e=r,e!==o?(t.setValue(e),!0):!1}function ip(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}var m2=/[\n"\\]/g;function ko(e){return e.replace(m2,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function Ym(e,t,o,r,n,a,i,l){e.name="",i!=null&&typeof i!="function"&&typeof i!="symbol"&&typeof i!="boolean"?e.type=i:e.removeAttribute("type"),t!=null?i==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+Do(t)):e.value!==""+Do(t)&&(e.value=""+Do(t)):i!=="submit"&&i!=="reset"||e.removeAttribute("value"),t!=null?Km(e,i,Do(t)):o!=null?Km(e,i,Do(o)):r!=null&&e.removeAttribute("value"),n==null&&a!=null&&(e.defaultChecked=!!a),n!=null&&(e.checked=n&&typeof n!="function"&&typeof n!="symbol"),l!=null&&typeof l!="function"&&typeof l!="symbol"&&typeof l!="boolean"?e.name=""+Do(l):e.removeAttribute("name")}function qv(e,t,o,r,n,a,i,l){if(a!=null&&typeof a!="function"&&typeof a!="symbol"&&typeof a!="boolean"&&(e.type=a),t!=null||o!=null){if(!(a!=="submit"&&a!=="reset"||t!=null)){$m(e);return}o=o!=null?""+Do(o):"",t=t!=null?""+Do(t):o,l||t===e.value||(e.value=t),e.defaultValue=t}r=r??n,r=typeof r!="function"&&typeof r!="symbol"&&!!r,e.checked=l?e.checked:!!r,e.defaultChecked=!!r,i!=null&&typeof i!="function"&&typeof i!="symbol"&&typeof i!="boolean"&&(e.name=i),$m(e)}function Km(e,t,o){t==="number"&&ip(e.ownerDocument)===e||e.defaultValue===""+o||(e.defaultValue=""+o)}function _i(e,t,o,r){if(e=e.options,t){t={};for(var n=0;n<o.length;n++)t["$"+o[n]]=!0;for(o=0;o<e.length;o++)n=t.hasOwnProperty("$"+e[o].value),e[o].selected!==n&&(e[o].selected=n),n&&r&&(e[o].defaultSelected=!0)}else{for(o=""+Do(o),t=null,n=0;n<e.length;n++){if(e[n].value===o){e[n].selected=!0,r&&(e[n].defaultSelected=!0);return}t!==null||e[n].disabled||(t=e[n])}t!==null&&(t.selected=!0)}}function Gv(e,t,o){if(t!=null&&(t=""+Do(t),t!==e.value&&(e.value=t),o==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=o!=null?""+Do(o):""}function $v(e,t,o,r){if(t==null){if(r!=null){if(o!=null)throw Error(z(92));if(us(r)){if(1<r.length)throw Error(z(93));r=r[0]}o=r}o==null&&(o=""),t=o}o=Do(t),e.defaultValue=o,r=e.textContent,r===o&&r!==""&&r!==null&&(e.value=r),$m(e)}function Hi(e,t){if(t){var o=e.firstChild;if(o&&o===e.lastChild&&o.nodeType===3){o.nodeValue=t;return}}e.textContent=t}var y2=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 sT(e,t,o){var r=t.indexOf("--")===0;o==null||typeof o=="boolean"||o===""?r?e.setProperty(t,""):t==="float"?e.cssFloat="":e[t]="":r?e.setProperty(t,o):typeof o!="number"||o===0||y2.has(t)?t==="float"?e.cssFloat=o:e[t]=(""+o).trim():e[t]=o+"px"}function Yv(e,t,o){if(t!=null&&typeof t!="object")throw Error(z(62));if(e=e.style,o!=null){for(var r in o)!o.hasOwnProperty(r)||t!=null&&t.hasOwnProperty(r)||(r.indexOf("--")===0?e.setProperty(r,""):r==="float"?e.cssFloat="":e[r]="");for(var n in t)r=t[n],t.hasOwnProperty(n)&&o[n]!==r&&sT(e,n,r)}else for(var a in t)t.hasOwnProperty(a)&&sT(e,a,t[a])}function jy(e){if(e.indexOf("-")===-1)return!1;switch(e){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 h2=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"]]),g2=/^[\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 Ic(e){return g2.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function Br(){}var Xm=null;function Ly(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Si=null,Di=null;function uT(e){var t=Qi(e);if(t&&(e=t.stateNode)){var o=e[oo]||null;e:switch(e=t.stateNode,t.type){case"input":if(Ym(e,o.value,o.defaultValue,o.defaultValue,o.checked,o.defaultChecked,o.type,o.name),t=o.name,o.type==="radio"&&t!=null){for(o=e;o.parentNode;)o=o.parentNode;for(o=o.querySelectorAll('input[name="'+ko(""+t)+'"][type="radio"]'),t=0;t<o.length;t++){var r=o[t];if(r!==e&&r.form===e.form){var n=r[oo]||null;if(!n)throw Error(z(90));Ym(r,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name)}}for(t=0;t<o.length;t++)r=o[t],r.form===e.form&&Fv(r)}break e;case"textarea":Gv(e,o.value,o.defaultValue);break e;case"select":t=o.value,t!=null&&_i(e,!!o.multiple,t,!1)}}}var um=!1;function Kv(e,t,o){if(um)return e(t,o);um=!0;try{var r=e(t);return r}finally{if(um=!1,(Si!==null||Di!==null)&&(Fp(),Si&&(t=Si,e=Di,Di=Si=null,uT(t),e)))for(t=0;t<e.length;t++)uT(e[t])}}function Os(e,t){var o=e.stateNode;if(o===null)return null;var r=o[oo]||null;if(r===null)return null;o=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(e=e.type,r=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!r;break e;default:e=!1}if(e)return null;if(o&&typeof o!="function")throw Error(z(231,t,typeof o));return o}var Hr=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Qm=!1;if(Hr)try{mi={},Object.defineProperty(mi,"passive",{get:function(){Qm=!0}}),window.addEventListener("test",mi,mi),window.removeEventListener("test",mi,mi)}catch{Qm=!1}var mi,gn=null,Hy=null,Fc=null;function Xv(){if(Fc)return Fc;var e,t=Hy,o=t.length,r,n="value"in gn?gn.value:gn.textContent,a=n.length;for(e=0;e<o&&t[e]===n[e];e++);var i=o-e;for(r=1;r<=i&&t[o-r]===n[a-r];r++);return Fc=n.slice(e,1<r?1-r:void 0)}function qc(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function Mc(){return!0}function cT(){return!1}function ro(e){function t(o,r,n,a,i){this._reactName=o,this._targetInst=n,this.type=r,this.nativeEvent=a,this.target=i,this.currentTarget=null;for(var l in e)e.hasOwnProperty(l)&&(o=e[l],this[l]=o?o(a):a[l]);return this.isDefaultPrevented=(a.defaultPrevented!=null?a.defaultPrevented:a.returnValue===!1)?Mc:cT,this.isPropagationStopped=cT,this}return Le(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var o=this.nativeEvent;o&&(o.preventDefault?o.preventDefault():typeof o.returnValue!="unknown"&&(o.returnValue=!1),this.isDefaultPrevented=Mc)},stopPropagation:function(){var o=this.nativeEvent;o&&(o.stopPropagation?o.stopPropagation():typeof o.cancelBubble!="unknown"&&(o.cancelBubble=!0),this.isPropagationStopped=Mc)},persist:function(){},isPersistent:Mc}),t}var ma={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},_p=ro(ma),Gs=Le({},ma,{view:0,detail:0}),b2=ro(Gs),cm,pm,os,Dp=Le({},Gs,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Vy,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==os&&(os&&e.type==="mousemove"?(cm=e.screenX-os.screenX,pm=e.screenY-os.screenY):pm=cm=0,os=e),cm)},movementY:function(e){return"movementY"in e?e.movementY:pm}}),pT=ro(Dp),T2=Le({},Dp,{dataTransfer:0}),v2=ro(T2),x2=Le({},Gs,{relatedTarget:0}),fm=ro(x2),S2=Le({},ma,{animationName:0,elapsedTime:0,pseudoElement:0}),C2=ro(S2),E2=Le({},ma,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),P2=ro(E2),R2=Le({},ma,{data:0}),fT=ro(R2),O2={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},M2={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"},A2={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function N2(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=A2[e])?!!t[e]:!1}function Vy(){return N2}var w2=Le({},Gs,{key:function(e){if(e.key){var t=O2[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=qc(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?M2[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Vy,charCode:function(e){return e.type==="keypress"?qc(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?qc(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),_2=ro(w2),D2=Le({},Dp,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),dT=ro(D2),z2=Le({},Gs,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Vy}),B2=ro(z2),k2=Le({},ma,{propertyName:0,elapsedTime:0,pseudoElement:0}),U2=ro(k2),j2=Le({},Dp,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),L2=ro(j2),H2=Le({},ma,{newState:0,oldState:0}),V2=ro(H2),I2=[9,13,27,32],Iy=Hr&&"CompositionEvent"in window,ds=null;Hr&&"documentMode"in document&&(ds=document.documentMode);var F2=Hr&&"TextEvent"in window&&!ds,Qv=Hr&&(!Iy||ds&&8<ds&&11>=ds),mT=" ",yT=!1;function Zv(e,t){switch(e){case"keyup":return I2.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Wv(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Ci=!1;function q2(e,t){switch(e){case"compositionend":return Wv(t);case"keypress":return t.which!==32?null:(yT=!0,mT);case"textInput":return e=t.data,e===mT&&yT?null:e;default:return null}}function G2(e,t){if(Ci)return e==="compositionend"||!Iy&&Zv(e,t)?(e=Xv(),Fc=Hy=gn=null,Ci=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Qv&&t.locale!=="ko"?null:t.data;default:return null}}var $2={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 hT(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!$2[e.type]:t==="textarea"}function Jv(e,t,o,r){Si?Di?Di.push(r):Di=[r]:Si=r,t=Ep(t,"onChange"),0<t.length&&(o=new _p("onChange","change",null,o,r),e.push({event:o,listeners:t}))}var ms=null,Ms=null;function Y2(e){KS(e,0)}function zp(e){var t=cs(e);if(Fv(t))return e}function gT(e,t){if(e==="change")return t}var ex=!1;Hr&&(Hr?(Nc="oninput"in document,Nc||(dm=document.createElement("div"),dm.setAttribute("oninput","return;"),Nc=typeof dm.oninput=="function"),Ac=Nc):Ac=!1,ex=Ac&&(!document.documentMode||9<document.documentMode));var Ac,Nc,dm;function bT(){ms&&(ms.detachEvent("onpropertychange",tx),Ms=ms=null)}function tx(e){if(e.propertyName==="value"&&zp(Ms)){var t=[];Jv(t,Ms,e,Ly(e)),Kv(Y2,t)}}function K2(e,t,o){e==="focusin"?(bT(),ms=t,Ms=o,ms.attachEvent("onpropertychange",tx)):e==="focusout"&&bT()}function X2(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return zp(Ms)}function Q2(e,t){if(e==="click")return zp(t)}function Z2(e,t){if(e==="input"||e==="change")return zp(t)}function W2(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var vo=typeof Object.is=="function"?Object.is:W2;function As(e,t){if(vo(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var o=Object.keys(e),r=Object.keys(t);if(o.length!==r.length)return!1;for(r=0;r<o.length;r++){var n=o[r];if(!qm.call(t,n)||!vo(e[n],t[n]))return!1}return!0}function TT(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function vT(e,t){var o=TT(e);e=0;for(var r;o;){if(o.nodeType===3){if(r=e+o.textContent.length,e<=t&&r>=t)return{node:o,offset:t-e};e=r}e:{for(;o;){if(o.nextSibling){o=o.nextSibling;break e}o=o.parentNode}o=void 0}o=TT(o)}}function ox(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?ox(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function rx(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=ip(e.document);t instanceof e.HTMLIFrameElement;){try{var o=typeof t.contentWindow.location.href=="string"}catch{o=!1}if(o)e=t.contentWindow;else break;t=ip(e.document)}return t}function Fy(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}var J2=Hr&&"documentMode"in document&&11>=document.documentMode,Ei=null,Zm=null,ys=null,Wm=!1;function xT(e,t,o){var r=o.window===o?o.document:o.nodeType===9?o:o.ownerDocument;Wm||Ei==null||Ei!==ip(r)||(r=Ei,"selectionStart"in r&&Fy(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),ys&&As(ys,r)||(ys=r,r=Ep(Zm,"onSelect"),0<r.length&&(t=new _p("onSelect","select",null,t,o),e.push({event:t,listeners:r}),t.target=Ei)))}function Wn(e,t){var o={};return o[e.toLowerCase()]=t.toLowerCase(),o["Webkit"+e]="webkit"+t,o["Moz"+e]="moz"+t,o}var Pi={animationend:Wn("Animation","AnimationEnd"),animationiteration:Wn("Animation","AnimationIteration"),animationstart:Wn("Animation","AnimationStart"),transitionrun:Wn("Transition","TransitionRun"),transitionstart:Wn("Transition","TransitionStart"),transitioncancel:Wn("Transition","TransitionCancel"),transitionend:Wn("Transition","TransitionEnd")},mm={},nx={};Hr&&(nx=document.createElement("div").style,"AnimationEvent"in window||(delete Pi.animationend.animation,delete Pi.animationiteration.animation,delete Pi.animationstart.animation),"TransitionEvent"in window||delete Pi.transitionend.transition);function ya(e){if(mm[e])return mm[e];if(!Pi[e])return e;var t=Pi[e],o;for(o in t)if(t.hasOwnProperty(o)&&o in nx)return mm[e]=t[o];return e}var ax=ya("animationend"),ix=ya("animationiteration"),lx=ya("animationstart"),eM=ya("transitionrun"),tM=ya("transitionstart"),oM=ya("transitioncancel"),sx=ya("transitionend"),ux=new Map,Jm="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(" ");Jm.push("scrollEnd");function Wo(e,t){ux.set(e,t),da(t,[e])}var lp=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)},_o=[],Ri=0,qy=0;function Bp(){for(var e=Ri,t=qy=Ri=0;t<e;){var o=_o[t];_o[t++]=null;var r=_o[t];_o[t++]=null;var n=_o[t];_o[t++]=null;var a=_o[t];if(_o[t++]=null,r!==null&&n!==null){var i=r.pending;i===null?n.next=n:(n.next=i.next,i.next=n),r.pending=n}a!==0&&cx(o,n,a)}}function kp(e,t,o,r){_o[Ri++]=e,_o[Ri++]=t,_o[Ri++]=o,_o[Ri++]=r,qy|=r,e.lanes|=r,e=e.alternate,e!==null&&(e.lanes|=r)}function Gy(e,t,o,r){return kp(e,t,o,r),sp(e)}function ha(e,t){return kp(e,null,null,t),sp(e)}function cx(e,t,o){e.lanes|=o;var r=e.alternate;r!==null&&(r.lanes|=o);for(var n=!1,a=e.return;a!==null;)a.childLanes|=o,r=a.alternate,r!==null&&(r.childLanes|=o),a.tag===22&&(e=a.stateNode,e===null||e._visibility&1||(n=!0)),e=a,a=a.return;return e.tag===3?(a=e.stateNode,n&&t!==null&&(n=31-bo(o),e=a.hiddenUpdates,r=e[n],r===null?e[n]=[t]:r.push(t),t.lane=o|536870912),a):null}function sp(e){if(50<Es)throw Es=0,vy=null,Error(z(185));for(var t=e.return;t!==null;)e=t,t=e.return;return e.tag===3?e.stateNode:null}var Oi={};function rM(e,t,o,r){this.tag=e,this.key=o,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function mo(e,t,o,r){return new rM(e,t,o,r)}function $y(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Ur(e,t){var o=e.alternate;return o===null?(o=mo(e.tag,t,e.key,e.mode),o.elementType=e.elementType,o.type=e.type,o.stateNode=e.stateNode,o.alternate=e,e.alternate=o):(o.pendingProps=t,o.type=e.type,o.flags=0,o.subtreeFlags=0,o.deletions=null),o.flags=e.flags&65011712,o.childLanes=e.childLanes,o.lanes=e.lanes,o.child=e.child,o.memoizedProps=e.memoizedProps,o.memoizedState=e.memoizedState,o.updateQueue=e.updateQueue,t=e.dependencies,o.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},o.sibling=e.sibling,o.index=e.index,o.ref=e.ref,o.refCleanup=e.refCleanup,o}function px(e,t){e.flags&=65011714;var o=e.alternate;return o===null?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=o.childLanes,e.lanes=o.lanes,e.child=o.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=o.memoizedProps,e.memoizedState=o.memoizedState,e.updateQueue=o.updateQueue,e.type=o.type,t=o.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext}),e}function Gc(e,t,o,r,n,a){var i=0;if(r=e,typeof e=="function")$y(e)&&(i=1);else if(typeof e=="string")i=iA(e,o,fr.current)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case Hm:return e=mo(31,o,t,n),e.elementType=Hm,e.lanes=a,e;case Ti:return na(o.children,n,a,t);case Nv:i=8,n|=24;break;case Um:return e=mo(12,o,t,n|2),e.elementType=Um,e.lanes=a,e;case jm:return e=mo(13,o,t,n),e.elementType=jm,e.lanes=a,e;case Lm:return e=mo(19,o,t,n),e.elementType=Lm,e.lanes=a,e;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case zr:i=10;break e;case wv:i=9;break e;case _y:i=11;break e;case Dy:i=14;break e;case cn:i=16,r=null;break e}i=29,o=Error(z(130,e===null?"null":typeof e,"")),r=null}return t=mo(i,o,t,n),t.elementType=e,t.type=r,t.lanes=a,t}function na(e,t,o,r){return e=mo(7,e,r,t),e.lanes=o,e}function ym(e,t,o){return e=mo(6,e,null,t),e.lanes=o,e}function fx(e){var t=mo(18,null,null,0);return t.stateNode=e,t}function hm(e,t,o){return t=mo(4,e.children!==null?e.children:[],e.key,t),t.lanes=o,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var ST=new WeakMap;function Uo(e,t){if(typeof e=="object"&&e!==null){var o=ST.get(e);return o!==void 0?o:(t={value:e,source:t,stack:rT(t)},ST.set(e,t),t)}return{value:e,source:t,stack:rT(t)}}var Mi=[],Ai=0,up=null,Ns=0,zo=[],Bo=0,Nn=null,ur=1,cr="";function _r(e,t){Mi[Ai++]=Ns,Mi[Ai++]=up,up=e,Ns=t}function dx(e,t,o){zo[Bo++]=ur,zo[Bo++]=cr,zo[Bo++]=Nn,Nn=e;var r=ur;e=cr;var n=32-bo(r)-1;r&=~(1<<n),o+=1;var a=32-bo(t)+n;if(30<a){var i=n-n%5;a=(r&(1<<i)-1).toString(32),r>>=i,n-=i,ur=1<<32-bo(t)+n|o<<n|r,cr=a+e}else ur=1<<a|o<<n|r,cr=e}function Yy(e){e.return!==null&&(_r(e,1),dx(e,1,0))}function Ky(e){for(;e===up;)up=Mi[--Ai],Mi[Ai]=null,Ns=Mi[--Ai],Mi[Ai]=null;for(;e===Nn;)Nn=zo[--Bo],zo[Bo]=null,cr=zo[--Bo],zo[Bo]=null,ur=zo[--Bo],zo[Bo]=null}function mx(e,t){zo[Bo++]=ur,zo[Bo++]=cr,zo[Bo++]=Nn,ur=t.id,cr=t.overflow,Nn=e}var Ot=null,je=null,ie=!1,Sn=null,jo=!1,ey=Error(z(519));function wn(e){var t=Error(z(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw ws(Uo(t,e)),ey}function CT(e){var t=e.stateNode,o=e.type,r=e.memoizedProps;switch(t[Rt]=e,t[oo]=r,o){case"dialog":te("cancel",t),te("close",t);break;case"iframe":case"object":case"embed":te("load",t);break;case"video":case"audio":for(o=0;o<Bs.length;o++)te(Bs[o],t);break;case"source":te("error",t);break;case"img":case"image":case"link":te("error",t),te("load",t);break;case"details":te("toggle",t);break;case"input":te("invalid",t),qv(t,r.value,r.defaultValue,r.checked,r.defaultChecked,r.type,r.name,!0);break;case"select":te("invalid",t);break;case"textarea":te("invalid",t),$v(t,r.value,r.defaultValue,r.children)}o=r.children,typeof o!="string"&&typeof o!="number"&&typeof o!="bigint"||t.textContent===""+o||r.suppressHydrationWarning===!0||QS(t.textContent,o)?(r.popover!=null&&(te("beforetoggle",t),te("toggle",t)),r.onScroll!=null&&te("scroll",t),r.onScrollEnd!=null&&te("scrollend",t),r.onClick!=null&&(t.onclick=Br),t=!0):t=!1,t||wn(e,!0)}function ET(e){for(Ot=e.return;Ot;)switch(Ot.tag){case 5:case 31:case 13:jo=!1;return;case 27:case 3:jo=!0;return;default:Ot=Ot.return}}function yi(e){if(e!==Ot)return!1;if(!ie)return ET(e),ie=!0,!1;var t=e.tag,o;if((o=t!==3&&t!==27)&&((o=t===5)&&(o=e.type,o=!(o!=="form"&&o!=="button")||Py(e.type,e.memoizedProps)),o=!o),o&&je&&wn(e),ET(e),t===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(z(317));je=fv(e)}else if(t===31){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(z(317));je=fv(e)}else t===27?(t=je,Bn(e.type)?(e=Ay,Ay=null,je=e):je=t):je=Ot?Ho(e.stateNode.nextSibling):null;return!0}function sa(){je=Ot=null,ie=!1}function gm(){var e=Sn;return e!==null&&(eo===null?eo=e:eo.push.apply(eo,e),Sn=null),e}function ws(e){Sn===null?Sn=[e]:Sn.push(e)}var ty=dr(null),ga=null,kr=null;function fn(e,t,o){_e(ty,t._currentValue),t._currentValue=o}function jr(e){e._currentValue=ty.current,gt(ty)}function oy(e,t,o){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===o)break;e=e.return}}function ry(e,t,o,r){var n=e.child;for(n!==null&&(n.return=e);n!==null;){var a=n.dependencies;if(a!==null){var i=n.child;a=a.firstContext;e:for(;a!==null;){var l=a;a=n;for(var s=0;s<t.length;s++)if(l.context===t[s]){a.lanes|=o,l=a.alternate,l!==null&&(l.lanes|=o),oy(a.return,o,e),r||(i=null);break e}a=l.next}}else if(n.tag===18){if(i=n.return,i===null)throw Error(z(341));i.lanes|=o,a=i.alternate,a!==null&&(a.lanes|=o),oy(i,o,e),i=null}else i=n.child;if(i!==null)i.return=n;else for(i=n;i!==null;){if(i===e){i=null;break}if(n=i.sibling,n!==null){n.return=i.return,i=n;break}i=i.return}n=i}}function Zi(e,t,o,r){e=null;for(var n=t,a=!1;n!==null;){if(!a){if((n.flags&524288)!==0)a=!0;else if((n.flags&262144)!==0)break}if(n.tag===10){var i=n.alternate;if(i===null)throw Error(z(387));if(i=i.memoizedProps,i!==null){var l=n.type;vo(n.pendingProps.value,i.value)||(e!==null?e.push(l):e=[l])}}else if(n===op.current){if(i=n.alternate,i===null)throw Error(z(387));i.memoizedState.memoizedState!==n.memoizedState.memoizedState&&(e!==null?e.push(Us):e=[Us])}n=n.return}e!==null&&ry(t,e,o,r),t.flags|=262144}function cp(e){for(e=e.firstContext;e!==null;){if(!vo(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function ua(e){ga=e,kr=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function Mt(e){return yx(ga,e)}function wc(e,t){return ga===null&&ua(e),yx(e,t)}function yx(e,t){var o=t._currentValue;if(t={context:t,memoizedValue:o,next:null},kr===null){if(e===null)throw Error(z(308));kr=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else kr=kr.next=t;return o}var nM=typeof AbortController<"u"?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(o,r){e.push(r)}};this.abort=function(){t.aborted=!0,e.forEach(function(o){return o()})}},aM=ft.unstable_scheduleCallback,iM=ft.unstable_NormalPriority,it={$$typeof:zr,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Xy(){return{controller:new nM,data:new Map,refCount:0}}function $s(e){e.refCount--,e.refCount===0&&aM(iM,function(){e.controller.abort()})}var hs=null,ny=0,Vi=0,zi=null;function lM(e,t){if(hs===null){var o=hs=[];ny=0,Vi=vh(),zi={status:"pending",value:void 0,then:function(r){o.push(r)}}}return ny++,t.then(PT,PT),t}function PT(){if(--ny===0&&hs!==null){zi!==null&&(zi.status="fulfilled");var e=hs;hs=null,Vi=0,zi=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function sM(e,t){var o=[],r={status:"pending",value:null,reason:null,then:function(n){o.push(n)}};return e.then(function(){r.status="fulfilled",r.value=t;for(var n=0;n<o.length;n++)(0,o[n])(t)},function(n){for(r.status="rejected",r.reason=n,n=0;n<o.length;n++)(0,o[n])(void 0)}),r}var RT=$.S;$.S=function(e,t){AS=ho(),typeof t=="object"&&t!==null&&typeof t.then=="function"&&lM(e,t),RT!==null&&RT(e,t)};var aa=dr(null);function Qy(){var e=aa.current;return e!==null?e:Me.pooledCache}function $c(e,t){t===null?_e(aa,aa.current):_e(aa,t.pool)}function hx(){var e=Qy();return e===null?null:{parent:it._currentValue,pool:e}}var Wi=Error(z(460)),Zy=Error(z(474)),Up=Error(z(542)),pp={then:function(){}};function OT(e){return e=e.status,e==="fulfilled"||e==="rejected"}function gx(e,t,o){switch(o=e[o],o===void 0?e.push(t):o!==t&&(t.then(Br,Br),t=o),t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,AT(e),e;default:if(typeof t.status=="string")t.then(Br,Br);else{if(e=Me,e!==null&&100<e.shellSuspendCounter)throw Error(z(482));e=t,e.status="pending",e.then(function(r){if(t.status==="pending"){var n=t;n.status="fulfilled",n.value=r}},function(r){if(t.status==="pending"){var n=t;n.status="rejected",n.reason=r}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,AT(e),e}throw ia=t,Wi}}function ta(e){try{var t=e._init;return t(e._payload)}catch(o){throw o!==null&&typeof o=="object"&&typeof o.then=="function"?(ia=o,Wi):o}}var ia=null;function MT(){if(ia===null)throw Error(z(459));var e=ia;return ia=null,e}function AT(e){if(e===Wi||e===Up)throw Error(z(483))}var Bi=null,_s=0;function _c(e){var t=_s;return _s+=1,Bi===null&&(Bi=[]),gx(Bi,e,t)}function rs(e,t){t=t.props.ref,e.ref=t!==void 0?t:null}function Dc(e,t){throw t.$$typeof===KO?Error(z(525)):(e=Object.prototype.toString.call(t),Error(z(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)))}function bx(e){function t(m,h){if(e){var g=m.deletions;g===null?(m.deletions=[h],m.flags|=16):g.push(h)}}function o(m,h){if(!e)return null;for(;h!==null;)t(m,h),h=h.sibling;return null}function r(m){for(var h=new Map;m!==null;)m.key!==null?h.set(m.key,m):h.set(m.index,m),m=m.sibling;return h}function n(m,h){return m=Ur(m,h),m.index=0,m.sibling=null,m}function a(m,h,g){return m.index=g,e?(g=m.alternate,g!==null?(g=g.index,g<h?(m.flags|=67108866,h):g):(m.flags|=67108866,h)):(m.flags|=1048576,h)}function i(m){return e&&m.alternate===null&&(m.flags|=67108866),m}function l(m,h,g,b){return h===null||h.tag!==6?(h=ym(g,m.mode,b),h.return=m,h):(h=n(h,g),h.return=m,h)}function s(m,h,g,b){var E=g.type;return E===Ti?p(m,h,g.props.children,b,g.key):h!==null&&(h.elementType===E||typeof E=="object"&&E!==null&&E.$$typeof===cn&&ta(E)===h.type)?(h=n(h,g.props),rs(h,g),h.return=m,h):(h=Gc(g.type,g.key,g.props,null,m.mode,b),rs(h,g),h.return=m,h)}function u(m,h,g,b){return h===null||h.tag!==4||h.stateNode.containerInfo!==g.containerInfo||h.stateNode.implementation!==g.implementation?(h=hm(g,m.mode,b),h.return=m,h):(h=n(h,g.children||[]),h.return=m,h)}function p(m,h,g,b,E){return h===null||h.tag!==7?(h=na(g,m.mode,b,E),h.return=m,h):(h=n(h,g),h.return=m,h)}function f(m,h,g){if(typeof h=="string"&&h!==""||typeof h=="number"||typeof h=="bigint")return h=ym(""+h,m.mode,g),h.return=m,h;if(typeof h=="object"&&h!==null){switch(h.$$typeof){case Cc:return g=Gc(h.type,h.key,h.props,null,m.mode,g),rs(g,h),g.return=m,g;case ss:return h=hm(h,m.mode,g),h.return=m,h;case cn:return h=ta(h),f(m,h,g)}if(us(h)||ts(h))return h=na(h,m.mode,g,null),h.return=m,h;if(typeof h.then=="function")return f(m,_c(h),g);if(h.$$typeof===zr)return f(m,wc(m,h),g);Dc(m,h)}return null}function d(m,h,g,b){var E=h!==null?h.key:null;if(typeof g=="string"&&g!==""||typeof g=="number"||typeof g=="bigint")return E!==null?null:l(m,h,""+g,b);if(typeof g=="object"&&g!==null){switch(g.$$typeof){case Cc:return g.key===E?s(m,h,g,b):null;case ss:return g.key===E?u(m,h,g,b):null;case cn:return g=ta(g),d(m,h,g,b)}if(us(g)||ts(g))return E!==null?null:p(m,h,g,b,null);if(typeof g.then=="function")return d(m,h,_c(g),b);if(g.$$typeof===zr)return d(m,h,wc(m,g),b);Dc(m,g)}return null}function c(m,h,g,b,E){if(typeof b=="string"&&b!==""||typeof b=="number"||typeof b=="bigint")return m=m.get(g)||null,l(h,m,""+b,E);if(typeof b=="object"&&b!==null){switch(b.$$typeof){case Cc:return m=m.get(b.key===null?g:b.key)||null,s(h,m,b,E);case ss:return m=m.get(b.key===null?g:b.key)||null,u(h,m,b,E);case cn:return b=ta(b),c(m,h,g,b,E)}if(us(b)||ts(b))return m=m.get(g)||null,p(h,m,b,E,null);if(typeof b.then=="function")return c(m,h,g,_c(b),E);if(b.$$typeof===zr)return c(m,h,g,wc(h,b),E);Dc(h,b)}return null}function T(m,h,g,b){for(var E=null,S=null,C=h,O=h=0,N=null;C!==null&&O<g.length;O++){C.index>O?(N=C,C=null):N=C.sibling;var _=d(m,C,g[O],b);if(_===null){C===null&&(C=N);break}e&&C&&_.alternate===null&&t(m,C),h=a(_,h,O),S===null?E=_:S.sibling=_,S=_,C=N}if(O===g.length)return o(m,C),ie&&_r(m,O),E;if(C===null){for(;O<g.length;O++)C=f(m,g[O],b),C!==null&&(h=a(C,h,O),S===null?E=C:S.sibling=C,S=C);return ie&&_r(m,O),E}for(C=r(C);O<g.length;O++)N=c(C,m,O,g[O],b),N!==null&&(e&&N.alternate!==null&&C.delete(N.key===null?O:N.key),h=a(N,h,O),S===null?E=N:S.sibling=N,S=N);return e&&C.forEach(function(M){return t(m,M)}),ie&&_r(m,O),E}function v(m,h,g,b){if(g==null)throw Error(z(151));for(var E=null,S=null,C=h,O=h=0,N=null,_=g.next();C!==null&&!_.done;O++,_=g.next()){C.index>O?(N=C,C=null):N=C.sibling;var M=d(m,C,_.value,b);if(M===null){C===null&&(C=N);break}e&&C&&M.alternate===null&&t(m,C),h=a(M,h,O),S===null?E=M:S.sibling=M,S=M,C=N}if(_.done)return o(m,C),ie&&_r(m,O),E;if(C===null){for(;!_.done;O++,_=g.next())_=f(m,_.value,b),_!==null&&(h=a(_,h,O),S===null?E=_:S.sibling=_,S=_);return ie&&_r(m,O),E}for(C=r(C);!_.done;O++,_=g.next())_=c(C,m,O,_.value,b),_!==null&&(e&&_.alternate!==null&&C.delete(_.key===null?O:_.key),h=a(_,h,O),S===null?E=_:S.sibling=_,S=_);return e&&C.forEach(function(y){return t(m,y)}),ie&&_r(m,O),E}function x(m,h,g,b){if(typeof g=="object"&&g!==null&&g.type===Ti&&g.key===null&&(g=g.props.children),typeof g=="object"&&g!==null){switch(g.$$typeof){case Cc:e:{for(var E=g.key;h!==null;){if(h.key===E){if(E=g.type,E===Ti){if(h.tag===7){o(m,h.sibling),b=n(h,g.props.children),b.return=m,m=b;break e}}else if(h.elementType===E||typeof E=="object"&&E!==null&&E.$$typeof===cn&&ta(E)===h.type){o(m,h.sibling),b=n(h,g.props),rs(b,g),b.return=m,m=b;break e}o(m,h);break}else t(m,h);h=h.sibling}g.type===Ti?(b=na(g.props.children,m.mode,b,g.key),b.return=m,m=b):(b=Gc(g.type,g.key,g.props,null,m.mode,b),rs(b,g),b.return=m,m=b)}return i(m);case ss:e:{for(E=g.key;h!==null;){if(h.key===E)if(h.tag===4&&h.stateNode.containerInfo===g.containerInfo&&h.stateNode.implementation===g.implementation){o(m,h.sibling),b=n(h,g.children||[]),b.return=m,m=b;break e}else{o(m,h);break}else t(m,h);h=h.sibling}b=hm(g,m.mode,b),b.return=m,m=b}return i(m);case cn:return g=ta(g),x(m,h,g,b)}if(us(g))return T(m,h,g,b);if(ts(g)){if(E=ts(g),typeof E!="function")throw Error(z(150));return g=E.call(g),v(m,h,g,b)}if(typeof g.then=="function")return x(m,h,_c(g),b);if(g.$$typeof===zr)return x(m,h,wc(m,g),b);Dc(m,g)}return typeof g=="string"&&g!==""||typeof g=="number"||typeof g=="bigint"?(g=""+g,h!==null&&h.tag===6?(o(m,h.sibling),b=n(h,g),b.return=m,m=b):(o(m,h),b=ym(g,m.mode,b),b.return=m,m=b),i(m)):o(m,h)}return function(m,h,g,b){try{_s=0;var E=x(m,h,g,b);return Bi=null,E}catch(C){if(C===Wi||C===Up)throw C;var S=mo(29,C,null,m.mode);return S.lanes=b,S.return=m,S}}}var ca=bx(!0),Tx=bx(!1),pn=!1;function Wy(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function ay(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function Cn(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function En(e,t,o){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,(de&2)!==0){var n=r.pending;return n===null?t.next=t:(t.next=n.next,n.next=t),r.pending=t,t=sp(e),cx(e,null,o),t}return kp(e,r,t,o),sp(e)}function gs(e,t,o){if(t=t.updateQueue,t!==null&&(t=t.shared,(o&4194048)!==0)){var r=t.lanes;r&=e.pendingLanes,o|=r,t.lanes=o,Uv(e,o)}}function bm(e,t){var o=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,o===r)){var n=null,a=null;if(o=o.firstBaseUpdate,o!==null){do{var i={lane:o.lane,tag:o.tag,payload:o.payload,callback:null,next:null};a===null?n=a=i:a=a.next=i,o=o.next}while(o!==null);a===null?n=a=t:a=a.next=t}else n=a=t;o={baseState:r.baseState,firstBaseUpdate:n,lastBaseUpdate:a,shared:r.shared,callbacks:r.callbacks},e.updateQueue=o;return}e=o.lastBaseUpdate,e===null?o.firstBaseUpdate=t:e.next=t,o.lastBaseUpdate=t}var iy=!1;function bs(){if(iy){var e=zi;if(e!==null)throw e}}function Ts(e,t,o,r){iy=!1;var n=e.updateQueue;pn=!1;var a=n.firstBaseUpdate,i=n.lastBaseUpdate,l=n.shared.pending;if(l!==null){n.shared.pending=null;var s=l,u=s.next;s.next=null,i===null?a=u:i.next=u,i=s;var p=e.alternate;p!==null&&(p=p.updateQueue,l=p.lastBaseUpdate,l!==i&&(l===null?p.firstBaseUpdate=u:l.next=u,p.lastBaseUpdate=s))}if(a!==null){var f=n.baseState;i=0,p=u=s=null,l=a;do{var d=l.lane&-536870913,c=d!==l.lane;if(c?(ne&d)===d:(r&d)===d){d!==0&&d===Vi&&(iy=!0),p!==null&&(p=p.next={lane:0,tag:l.tag,payload:l.payload,callback:null,next:null});e:{var T=e,v=l;d=t;var x=o;switch(v.tag){case 1:if(T=v.payload,typeof T=="function"){f=T.call(x,f,d);break e}f=T;break e;case 3:T.flags=T.flags&-65537|128;case 0:if(T=v.payload,d=typeof T=="function"?T.call(x,f,d):T,d==null)break e;f=Le({},f,d);break e;case 2:pn=!0}}d=l.callback,d!==null&&(e.flags|=64,c&&(e.flags|=8192),c=n.callbacks,c===null?n.callbacks=[d]:c.push(d))}else c={lane:d,tag:l.tag,payload:l.payload,callback:l.callback,next:null},p===null?(u=p=c,s=f):p=p.next=c,i|=d;if(l=l.next,l===null){if(l=n.shared.pending,l===null)break;c=l,l=c.next,c.next=null,n.lastBaseUpdate=c,n.shared.pending=null}}while(!0);p===null&&(s=f),n.baseState=s,n.firstBaseUpdate=u,n.lastBaseUpdate=p,a===null&&(n.shared.lanes=0),Dn|=i,e.lanes=i,e.memoizedState=f}}function vx(e,t){if(typeof e!="function")throw Error(z(191,e));e.call(t)}function xx(e,t){var o=e.callbacks;if(o!==null)for(e.callbacks=null,e=0;e<o.length;e++)vx(o[e],t)}var Ii=dr(null),fp=dr(0);function NT(e,t){e=qr,_e(fp,e),_e(Ii,t),qr=e|t.baseLanes}function ly(){_e(fp,qr),_e(Ii,Ii.current)}function Jy(){qr=fp.current,gt(Ii),gt(fp)}var xo=dr(null),Lo=null;function dn(e){var t=e.alternate;_e(et,et.current&1),_e(xo,e),Lo===null&&(t===null||Ii.current!==null||t.memoizedState!==null)&&(Lo=e)}function sy(e){_e(et,et.current),_e(xo,e),Lo===null&&(Lo=e)}function Sx(e){e.tag===22?(_e(et,et.current),_e(xo,e),Lo===null&&(Lo=e)):mn(e)}function mn(){_e(et,et.current),_e(xo,xo.current)}function fo(e){gt(xo),Lo===e&&(Lo=null),gt(et)}var et=dr(0);function dp(e){for(var t=e;t!==null;){if(t.tag===13){var o=t.memoizedState;if(o!==null&&(o=o.dehydrated,o===null||Oy(o)||My(o)))return t}else if(t.tag===19&&(t.memoizedProps.revealOrder==="forwards"||t.memoizedProps.revealOrder==="backwards"||t.memoizedProps.revealOrder==="unstable_legacy-backwards"||t.memoizedProps.revealOrder==="together")){if((t.flags&128)!==0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Vr=0,Z=null,Oe=null,nt=null,mp=!1,ki=!1,pa=!1,yp=0,Ds=0,Ui=null,uM=0;function Qe(){throw Error(z(321))}function eh(e,t){if(t===null)return!1;for(var o=0;o<t.length&&o<e.length;o++)if(!vo(e[o],t[o]))return!1;return!0}function th(e,t,o,r,n,a){return Vr=a,Z=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,$.H=e===null||e.memoizedState===null?Jx:fh,pa=!1,a=o(r,n),pa=!1,ki&&(a=Ex(t,o,r,n)),Cx(e),a}function Cx(e){$.H=zs;var t=Oe!==null&&Oe.next!==null;if(Vr=0,nt=Oe=Z=null,mp=!1,Ds=0,Ui=null,t)throw Error(z(300));e===null||lt||(e=e.dependencies,e!==null&&cp(e)&&(lt=!0))}function Ex(e,t,o,r){Z=e;var n=0;do{if(ki&&(Ui=null),Ds=0,ki=!1,25<=n)throw Error(z(301));if(n+=1,nt=Oe=null,e.updateQueue!=null){var a=e.updateQueue;a.lastEffect=null,a.events=null,a.stores=null,a.memoCache!=null&&(a.memoCache.index=0)}$.H=eS,a=t(o,r)}while(ki);return a}function cM(){var e=$.H,t=e.useState()[0];return t=typeof t.then=="function"?Ys(t):t,e=e.useState()[0],(Oe!==null?Oe.memoizedState:null)!==e&&(Z.flags|=1024),t}function oh(){var e=yp!==0;return yp=0,e}function rh(e,t,o){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o}function nh(e){if(mp){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}mp=!1}Vr=0,nt=Oe=Z=null,ki=!1,Ds=yp=0,Ui=null}function Yt(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return nt===null?Z.memoizedState=nt=e:nt=nt.next=e,nt}function tt(){if(Oe===null){var e=Z.alternate;e=e!==null?e.memoizedState:null}else e=Oe.next;var t=nt===null?Z.memoizedState:nt.next;if(t!==null)nt=t,Oe=e;else{if(e===null)throw Z.alternate===null?Error(z(467)):Error(z(310));Oe=e,e={memoizedState:Oe.memoizedState,baseState:Oe.baseState,baseQueue:Oe.baseQueue,queue:Oe.queue,next:null},nt===null?Z.memoizedState=nt=e:nt=nt.next=e}return nt}function jp(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Ys(e){var t=Ds;return Ds+=1,Ui===null&&(Ui=[]),e=gx(Ui,e,t),t=Z,(nt===null?t.memoizedState:nt.next)===null&&(t=t.alternate,$.H=t===null||t.memoizedState===null?Jx:fh),e}function Lp(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return Ys(e);if(e.$$typeof===zr)return Mt(e)}throw Error(z(438,String(e)))}function ah(e){var t=null,o=Z.updateQueue;if(o!==null&&(t=o.memoCache),t==null){var r=Z.alternate;r!==null&&(r=r.updateQueue,r!==null&&(r=r.memoCache,r!=null&&(t={data:r.data.map(function(n){return n.slice()}),index:0})))}if(t==null&&(t={data:[],index:0}),o===null&&(o=jp(),Z.updateQueue=o),o.memoCache=t,o=t.data[t.index],o===void 0)for(o=t.data[t.index]=Array(e),r=0;r<e;r++)o[r]=XO;return t.index++,o}function Ir(e,t){return typeof t=="function"?t(e):t}function Yc(e){var t=tt();return ih(t,Oe,e)}function ih(e,t,o){var r=e.queue;if(r===null)throw Error(z(311));r.lastRenderedReducer=o;var n=e.baseQueue,a=r.pending;if(a!==null){if(n!==null){var i=n.next;n.next=a.next,a.next=i}t.baseQueue=n=a,r.pending=null}if(a=e.baseState,n===null)e.memoizedState=a;else{t=n.next;var l=i=null,s=null,u=t,p=!1;do{var f=u.lane&-536870913;if(f!==u.lane?(ne&f)===f:(Vr&f)===f){var d=u.revertLane;if(d===0)s!==null&&(s=s.next={lane:0,revertLane:0,gesture:null,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),f===Vi&&(p=!0);else if((Vr&d)===d){u=u.next,d===Vi&&(p=!0);continue}else f={lane:0,revertLane:u.revertLane,gesture:null,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null},s===null?(l=s=f,i=a):s=s.next=f,Z.lanes|=d,Dn|=d;f=u.action,pa&&o(a,f),a=u.hasEagerState?u.eagerState:o(a,f)}else d={lane:f,revertLane:u.revertLane,gesture:u.gesture,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null},s===null?(l=s=d,i=a):s=s.next=d,Z.lanes|=f,Dn|=f;u=u.next}while(u!==null&&u!==t);if(s===null?i=a:s.next=l,!vo(a,e.memoizedState)&&(lt=!0,p&&(o=zi,o!==null)))throw o;e.memoizedState=a,e.baseState=i,e.baseQueue=s,r.lastRenderedState=a}return n===null&&(r.lanes=0),[e.memoizedState,r.dispatch]}function Tm(e){var t=tt(),o=t.queue;if(o===null)throw Error(z(311));o.lastRenderedReducer=e;var r=o.dispatch,n=o.pending,a=t.memoizedState;if(n!==null){o.pending=null;var i=n=n.next;do a=e(a,i.action),i=i.next;while(i!==n);vo(a,t.memoizedState)||(lt=!0),t.memoizedState=a,t.baseQueue===null&&(t.baseState=a),o.lastRenderedState=a}return[a,r]}function Px(e,t,o){var r=Z,n=tt(),a=ie;if(a){if(o===void 0)throw Error(z(407));o=o()}else o=t();var i=!vo((Oe||n).memoizedState,o);if(i&&(n.memoizedState=o,lt=!0),n=n.queue,lh(Mx.bind(null,r,n,e),[e]),n.getSnapshot!==t||i||nt!==null&&nt.memoizedState.tag&1){if(r.flags|=2048,Fi(9,{destroy:void 0},Ox.bind(null,r,n,o,t),null),Me===null)throw Error(z(349));a||(Vr&127)!==0||Rx(r,t,o)}return o}function Rx(e,t,o){e.flags|=16384,e={getSnapshot:t,value:o},t=Z.updateQueue,t===null?(t=jp(),Z.updateQueue=t,t.stores=[e]):(o=t.stores,o===null?t.stores=[e]:o.push(e))}function Ox(e,t,o,r){t.value=o,t.getSnapshot=r,Ax(t)&&Nx(e)}function Mx(e,t,o){return o(function(){Ax(t)&&Nx(e)})}function Ax(e){var t=e.getSnapshot;e=e.value;try{var o=t();return!vo(e,o)}catch{return!0}}function Nx(e){var t=ha(e,2);t!==null&&to(t,e,2)}function uy(e){var t=Yt();if(typeof e=="function"){var o=e;if(e=o(),pa){hn(!0);try{o()}finally{hn(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ir,lastRenderedState:e},t}function wx(e,t,o,r){return e.baseState=o,ih(e,Oe,typeof r=="function"?r:Ir)}function pM(e,t,o,r,n){if(Vp(e))throw Error(z(485));if(e=t.action,e!==null){var a={payload:n,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(i){a.listeners.push(i)}};$.T!==null?o(!0):a.isTransition=!1,r(a),o=t.pending,o===null?(a.next=t.pending=a,_x(t,a)):(a.next=o.next,t.pending=o.next=a)}}function _x(e,t){var o=t.action,r=t.payload,n=e.state;if(t.isTransition){var a=$.T,i={};$.T=i;try{var l=o(n,r),s=$.S;s!==null&&s(i,l),wT(e,t,l)}catch(u){cy(e,t,u)}finally{a!==null&&i.types!==null&&(a.types=i.types),$.T=a}}else try{a=o(n,r),wT(e,t,a)}catch(u){cy(e,t,u)}}function wT(e,t,o){o!==null&&typeof o=="object"&&typeof o.then=="function"?o.then(function(r){_T(e,t,r)},function(r){return cy(e,t,r)}):_T(e,t,o)}function _T(e,t,o){t.status="fulfilled",t.value=o,Dx(t),e.state=o,t=e.pending,t!==null&&(o=t.next,o===t?e.pending=null:(o=o.next,t.next=o,_x(e,o)))}function cy(e,t,o){var r=e.pending;if(e.pending=null,r!==null){r=r.next;do t.status="rejected",t.reason=o,Dx(t),t=t.next;while(t!==r)}e.action=null}function Dx(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function zx(e,t){return t}function DT(e,t){if(ie){var o=Me.formState;if(o!==null){e:{var r=Z;if(ie){if(je){t:{for(var n=je,a=jo;n.nodeType!==8;){if(!a){n=null;break t}if(n=Ho(n.nextSibling),n===null){n=null;break t}}a=n.data,n=a==="F!"||a==="F"?n:null}if(n){je=Ho(n.nextSibling),r=n.data==="F!";break e}}wn(r)}r=!1}r&&(t=o[0])}}return o=Yt(),o.memoizedState=o.baseState=t,r={pending:null,lanes:0,dispatch:null,lastRenderedReducer:zx,lastRenderedState:t},o.queue=r,o=Qx.bind(null,Z,r),r.dispatch=o,r=uy(!1),a=ph.bind(null,Z,!1,r.queue),r=Yt(),n={state:t,dispatch:null,action:e,pending:null},r.queue=n,o=pM.bind(null,Z,n,a,o),n.dispatch=o,r.memoizedState=e,[t,o,!1]}function zT(e){var t=tt();return Bx(t,Oe,e)}function Bx(e,t,o){if(t=ih(e,t,zx)[0],e=Yc(Ir)[0],typeof t=="object"&&t!==null&&typeof t.then=="function")try{var r=Ys(t)}catch(i){throw i===Wi?Up:i}else r=t;t=tt();var n=t.queue,a=n.dispatch;return o!==t.memoizedState&&(Z.flags|=2048,Fi(9,{destroy:void 0},fM.bind(null,n,o),null)),[r,a,e]}function fM(e,t){e.action=t}function BT(e){var t=tt(),o=Oe;if(o!==null)return Bx(t,o,e);tt(),t=t.memoizedState,o=tt();var r=o.queue.dispatch;return o.memoizedState=e,[t,r,!1]}function Fi(e,t,o,r){return e={tag:e,create:o,deps:r,inst:t,next:null},t=Z.updateQueue,t===null&&(t=jp(),Z.updateQueue=t),o=t.lastEffect,o===null?t.lastEffect=e.next=e:(r=o.next,o.next=e,e.next=r,t.lastEffect=e),e}function kx(){return tt().memoizedState}function Kc(e,t,o,r){var n=Yt();Z.flags|=e,n.memoizedState=Fi(1|t,{destroy:void 0},o,r===void 0?null:r)}function Hp(e,t,o,r){var n=tt();r=r===void 0?null:r;var a=n.memoizedState.inst;Oe!==null&&r!==null&&eh(r,Oe.memoizedState.deps)?n.memoizedState=Fi(t,a,o,r):(Z.flags|=e,n.memoizedState=Fi(1|t,a,o,r))}function kT(e,t){Kc(8390656,8,e,t)}function lh(e,t){Hp(2048,8,e,t)}function dM(e){Z.flags|=4;var t=Z.updateQueue;if(t===null)t=jp(),Z.updateQueue=t,t.events=[e];else{var o=t.events;o===null?t.events=[e]:o.push(e)}}function Ux(e){var t=tt().memoizedState;return dM({ref:t,nextImpl:e}),function(){if((de&2)!==0)throw Error(z(440));return t.impl.apply(void 0,arguments)}}function jx(e,t){return Hp(4,2,e,t)}function Lx(e,t){return Hp(4,4,e,t)}function Hx(e,t){if(typeof t=="function"){e=e();var o=t(e);return function(){typeof o=="function"?o():t(null)}}if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function Vx(e,t,o){o=o!=null?o.concat([e]):null,Hp(4,4,Hx.bind(null,t,e),o)}function sh(){}function Ix(e,t){var o=tt();t=t===void 0?null:t;var r=o.memoizedState;return t!==null&&eh(t,r[1])?r[0]:(o.memoizedState=[e,t],e)}function Fx(e,t){var o=tt();t=t===void 0?null:t;var r=o.memoizedState;if(t!==null&&eh(t,r[1]))return r[0];if(r=e(),pa){hn(!0);try{e()}finally{hn(!1)}}return o.memoizedState=[r,t],r}function uh(e,t,o){return o===void 0||(Vr&1073741824)!==0&&(ne&261930)===0?e.memoizedState=t:(e.memoizedState=o,e=wS(),Z.lanes|=e,Dn|=e,o)}function qx(e,t,o,r){return vo(o,t)?o:Ii.current!==null?(e=uh(e,o,r),vo(e,t)||(lt=!0),e):(Vr&42)===0||(Vr&1073741824)!==0&&(ne&261930)===0?(lt=!0,e.memoizedState=o):(e=wS(),Z.lanes|=e,Dn|=e,t)}function Gx(e,t,o,r,n){var a=me.p;me.p=a!==0&&8>a?a:8;var i=$.T,l={};$.T=l,ph(e,!1,t,o);try{var s=n(),u=$.S;if(u!==null&&u(l,s),s!==null&&typeof s=="object"&&typeof s.then=="function"){var p=sM(s,r);vs(e,t,p,To(e))}else vs(e,t,r,To(e))}catch(f){vs(e,t,{then:function(){},status:"rejected",reason:f},To())}finally{me.p=a,i!==null&&l.types!==null&&(i.types=l.types),$.T=i}}function mM(){}function py(e,t,o,r){if(e.tag!==5)throw Error(z(476));var n=$x(e).queue;Gx(e,n,t,ra,o===null?mM:function(){return Yx(e),o(r)})}function $x(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:ra,baseState:ra,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ir,lastRenderedState:ra},next:null};var o={};return t.next={memoizedState:o,baseState:o,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ir,lastRenderedState:o},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function Yx(e){var t=$x(e);t.next===null&&(t=e.alternate.memoizedState),vs(e,t.next.queue,{},To())}function ch(){return Mt(Us)}function Kx(){return tt().memoizedState}function Xx(){return tt().memoizedState}function yM(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var o=To();e=Cn(o);var r=En(t,e,o);r!==null&&(to(r,t,o),gs(r,t,o)),t={cache:Xy()},e.payload=t;return}t=t.return}}function hM(e,t,o){var r=To();o={lane:r,revertLane:0,gesture:null,action:o,hasEagerState:!1,eagerState:null,next:null},Vp(e)?Zx(t,o):(o=Gy(e,t,o,r),o!==null&&(to(o,e,r),Wx(o,t,r)))}function Qx(e,t,o){var r=To();vs(e,t,o,r)}function vs(e,t,o,r){var n={lane:r,revertLane:0,gesture:null,action:o,hasEagerState:!1,eagerState:null,next:null};if(Vp(e))Zx(t,n);else{var a=e.alternate;if(e.lanes===0&&(a===null||a.lanes===0)&&(a=t.lastRenderedReducer,a!==null))try{var i=t.lastRenderedState,l=a(i,o);if(n.hasEagerState=!0,n.eagerState=l,vo(l,i))return kp(e,t,n,0),Me===null&&Bp(),!1}catch{}if(o=Gy(e,t,n,r),o!==null)return to(o,e,r),Wx(o,t,r),!0}return!1}function ph(e,t,o,r){if(r={lane:2,revertLane:vh(),gesture:null,action:r,hasEagerState:!1,eagerState:null,next:null},Vp(e)){if(t)throw Error(z(479))}else t=Gy(e,o,r,2),t!==null&&to(t,e,2)}function Vp(e){var t=e.alternate;return e===Z||t!==null&&t===Z}function Zx(e,t){ki=mp=!0;var o=e.pending;o===null?t.next=t:(t.next=o.next,o.next=t),e.pending=t}function Wx(e,t,o){if((o&4194048)!==0){var r=t.lanes;r&=e.pendingLanes,o|=r,t.lanes=o,Uv(e,o)}}var zs={readContext:Mt,use:Lp,useCallback:Qe,useContext:Qe,useEffect:Qe,useImperativeHandle:Qe,useLayoutEffect:Qe,useInsertionEffect:Qe,useMemo:Qe,useReducer:Qe,useRef:Qe,useState:Qe,useDebugValue:Qe,useDeferredValue:Qe,useTransition:Qe,useSyncExternalStore:Qe,useId:Qe,useHostTransitionStatus:Qe,useFormState:Qe,useActionState:Qe,useOptimistic:Qe,useMemoCache:Qe,useCacheRefresh:Qe};zs.useEffectEvent=Qe;var Jx={readContext:Mt,use:Lp,useCallback:function(e,t){return Yt().memoizedState=[e,t===void 0?null:t],e},useContext:Mt,useEffect:kT,useImperativeHandle:function(e,t,o){o=o!=null?o.concat([e]):null,Kc(4194308,4,Hx.bind(null,t,e),o)},useLayoutEffect:function(e,t){return Kc(4194308,4,e,t)},useInsertionEffect:function(e,t){Kc(4,2,e,t)},useMemo:function(e,t){var o=Yt();t=t===void 0?null:t;var r=e();if(pa){hn(!0);try{e()}finally{hn(!1)}}return o.memoizedState=[r,t],r},useReducer:function(e,t,o){var r=Yt();if(o!==void 0){var n=o(t);if(pa){hn(!0);try{o(t)}finally{hn(!1)}}}else n=t;return r.memoizedState=r.baseState=n,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:n},r.queue=e,e=e.dispatch=hM.bind(null,Z,e),[r.memoizedState,e]},useRef:function(e){var t=Yt();return e={current:e},t.memoizedState=e},useState:function(e){e=uy(e);var t=e.queue,o=Qx.bind(null,Z,t);return t.dispatch=o,[e.memoizedState,o]},useDebugValue:sh,useDeferredValue:function(e,t){var o=Yt();return uh(o,e,t)},useTransition:function(){var e=uy(!1);return e=Gx.bind(null,Z,e.queue,!0,!1),Yt().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,o){var r=Z,n=Yt();if(ie){if(o===void 0)throw Error(z(407));o=o()}else{if(o=t(),Me===null)throw Error(z(349));(ne&127)!==0||Rx(r,t,o)}n.memoizedState=o;var a={value:o,getSnapshot:t};return n.queue=a,kT(Mx.bind(null,r,a,e),[e]),r.flags|=2048,Fi(9,{destroy:void 0},Ox.bind(null,r,a,o,t),null),o},useId:function(){var e=Yt(),t=Me.identifierPrefix;if(ie){var o=cr,r=ur;o=(r&~(1<<32-bo(r)-1)).toString(32)+o,t="_"+t+"R_"+o,o=yp++,0<o&&(t+="H"+o.toString(32)),t+="_"}else o=uM++,t="_"+t+"r_"+o.toString(32)+"_";return e.memoizedState=t},useHostTransitionStatus:ch,useFormState:DT,useActionState:DT,useOptimistic:function(e){var t=Yt();t.memoizedState=t.baseState=e;var o={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=o,t=ph.bind(null,Z,!0,o),o.dispatch=t,[e,t]},useMemoCache:ah,useCacheRefresh:function(){return Yt().memoizedState=yM.bind(null,Z)},useEffectEvent:function(e){var t=Yt(),o={impl:e};return t.memoizedState=o,function(){if((de&2)!==0)throw Error(z(440));return o.impl.apply(void 0,arguments)}}},fh={readContext:Mt,use:Lp,useCallback:Ix,useContext:Mt,useEffect:lh,useImperativeHandle:Vx,useInsertionEffect:jx,useLayoutEffect:Lx,useMemo:Fx,useReducer:Yc,useRef:kx,useState:function(){return Yc(Ir)},useDebugValue:sh,useDeferredValue:function(e,t){var o=tt();return qx(o,Oe.memoizedState,e,t)},useTransition:function(){var e=Yc(Ir)[0],t=tt().memoizedState;return[typeof e=="boolean"?e:Ys(e),t]},useSyncExternalStore:Px,useId:Kx,useHostTransitionStatus:ch,useFormState:zT,useActionState:zT,useOptimistic:function(e,t){var o=tt();return wx(o,Oe,e,t)},useMemoCache:ah,useCacheRefresh:Xx};fh.useEffectEvent=Ux;var eS={readContext:Mt,use:Lp,useCallback:Ix,useContext:Mt,useEffect:lh,useImperativeHandle:Vx,useInsertionEffect:jx,useLayoutEffect:Lx,useMemo:Fx,useReducer:Tm,useRef:kx,useState:function(){return Tm(Ir)},useDebugValue:sh,useDeferredValue:function(e,t){var o=tt();return Oe===null?uh(o,e,t):qx(o,Oe.memoizedState,e,t)},useTransition:function(){var e=Tm(Ir)[0],t=tt().memoizedState;return[typeof e=="boolean"?e:Ys(e),t]},useSyncExternalStore:Px,useId:Kx,useHostTransitionStatus:ch,useFormState:BT,useActionState:BT,useOptimistic:function(e,t){var o=tt();return Oe!==null?wx(o,Oe,e,t):(o.baseState=e,[e,o.queue.dispatch])},useMemoCache:ah,useCacheRefresh:Xx};eS.useEffectEvent=Ux;function vm(e,t,o,r){t=e.memoizedState,o=o(r,t),o=o==null?t:Le({},t,o),e.memoizedState=o,e.lanes===0&&(e.updateQueue.baseState=o)}var fy={enqueueSetState:function(e,t,o){e=e._reactInternals;var r=To(),n=Cn(r);n.payload=t,o!=null&&(n.callback=o),t=En(e,n,r),t!==null&&(to(t,e,r),gs(t,e,r))},enqueueReplaceState:function(e,t,o){e=e._reactInternals;var r=To(),n=Cn(r);n.tag=1,n.payload=t,o!=null&&(n.callback=o),t=En(e,n,r),t!==null&&(to(t,e,r),gs(t,e,r))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var o=To(),r=Cn(o);r.tag=2,t!=null&&(r.callback=t),t=En(e,r,o),t!==null&&(to(t,e,o),gs(t,e,o))}};function UT(e,t,o,r,n,a,i){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,a,i):t.prototype&&t.prototype.isPureReactComponent?!As(o,r)||!As(n,a):!0}function jT(e,t,o,r){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(o,r),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(o,r),t.state!==e&&fy.enqueueReplaceState(t,t.state,null)}function fa(e,t){var o=t;if("ref"in t){o={};for(var r in t)r!=="ref"&&(o[r]=t[r])}if(e=e.defaultProps){o===t&&(o=Le({},o));for(var n in e)o[n]===void 0&&(o[n]=e[n])}return o}function tS(e){lp(e)}function oS(e){console.error(e)}function rS(e){lp(e)}function hp(e,t){try{var o=e.onUncaughtError;o(t.value,{componentStack:t.stack})}catch(r){setTimeout(function(){throw r})}}function LT(e,t,o){try{var r=e.onCaughtError;r(o.value,{componentStack:o.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(n){setTimeout(function(){throw n})}}function dy(e,t,o){return o=Cn(o),o.tag=3,o.payload={element:null},o.callback=function(){hp(e,t)},o}function nS(e){return e=Cn(e),e.tag=3,e}function aS(e,t,o,r){var n=o.type.getDerivedStateFromError;if(typeof n=="function"){var a=r.value;e.payload=function(){return n(a)},e.callback=function(){LT(t,o,r)}}var i=o.stateNode;i!==null&&typeof i.componentDidCatch=="function"&&(e.callback=function(){LT(t,o,r),typeof n!="function"&&(Pn===null?Pn=new Set([this]):Pn.add(this));var l=r.stack;this.componentDidCatch(r.value,{componentStack:l!==null?l:""})})}function gM(e,t,o,r,n){if(o.flags|=32768,r!==null&&typeof r=="object"&&typeof r.then=="function"){if(t=o.alternate,t!==null&&Zi(t,o,n,!0),o=xo.current,o!==null){switch(o.tag){case 31:case 13:return Lo===null?xp():o.alternate===null&&Ze===0&&(Ze=3),o.flags&=-257,o.flags|=65536,o.lanes=n,r===pp?o.flags|=16384:(t=o.updateQueue,t===null?o.updateQueue=new Set([r]):t.add(r),wm(e,r,n)),!1;case 22:return o.flags|=65536,r===pp?o.flags|=16384:(t=o.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([r])},o.updateQueue=t):(o=t.retryQueue,o===null?t.retryQueue=new Set([r]):o.add(r)),wm(e,r,n)),!1}throw Error(z(435,o.tag))}return wm(e,r,n),xp(),!1}if(ie)return t=xo.current,t!==null?((t.flags&65536)===0&&(t.flags|=256),t.flags|=65536,t.lanes=n,r!==ey&&(e=Error(z(422),{cause:r}),ws(Uo(e,o)))):(r!==ey&&(t=Error(z(423),{cause:r}),ws(Uo(t,o))),e=e.current.alternate,e.flags|=65536,n&=-n,e.lanes|=n,r=Uo(r,o),n=dy(e.stateNode,r,n),bm(e,n),Ze!==4&&(Ze=2)),!1;var a=Error(z(520),{cause:r});if(a=Uo(a,o),Cs===null?Cs=[a]:Cs.push(a),Ze!==4&&(Ze=2),t===null)return!0;r=Uo(r,o),o=t;do{switch(o.tag){case 3:return o.flags|=65536,e=n&-n,o.lanes|=e,e=dy(o.stateNode,r,e),bm(o,e),!1;case 1:if(t=o.type,a=o.stateNode,(o.flags&128)===0&&(typeof t.getDerivedStateFromError=="function"||a!==null&&typeof a.componentDidCatch=="function"&&(Pn===null||!Pn.has(a))))return o.flags|=65536,n&=-n,o.lanes|=n,n=nS(n),aS(n,e,o,r),bm(o,n),!1}o=o.return}while(o!==null);return!1}var dh=Error(z(461)),lt=!1;function Pt(e,t,o,r){t.child=e===null?Tx(t,null,o,r):ca(t,e.child,o,r)}function HT(e,t,o,r,n){o=o.render;var a=t.ref;if("ref"in r){var i={};for(var l in r)l!=="ref"&&(i[l]=r[l])}else i=r;return ua(t),r=th(e,t,o,i,a,n),l=oh(),e!==null&&!lt?(rh(e,t,n),Fr(e,t,n)):(ie&&l&&Yy(t),t.flags|=1,Pt(e,t,r,n),t.child)}function VT(e,t,o,r,n){if(e===null){var a=o.type;return typeof a=="function"&&!$y(a)&&a.defaultProps===void 0&&o.compare===null?(t.tag=15,t.type=a,iS(e,t,a,r,n)):(e=Gc(o.type,null,r,t,t.mode,n),e.ref=t.ref,e.return=t,t.child=e)}if(a=e.child,!mh(e,n)){var i=a.memoizedProps;if(o=o.compare,o=o!==null?o:As,o(i,r)&&e.ref===t.ref)return Fr(e,t,n)}return t.flags|=1,e=Ur(a,r),e.ref=t.ref,e.return=t,t.child=e}function iS(e,t,o,r,n){if(e!==null){var a=e.memoizedProps;if(As(a,r)&&e.ref===t.ref)if(lt=!1,t.pendingProps=r=a,mh(e,n))(e.flags&131072)!==0&&(lt=!0);else return t.lanes=e.lanes,Fr(e,t,n)}return my(e,t,o,r,n)}function lS(e,t,o,r){var n=r.children,a=e!==null?e.memoizedState:null;if(e===null&&t.stateNode===null&&(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),r.mode==="hidden"){if((t.flags&128)!==0){if(a=a!==null?a.baseLanes|o:o,e!==null){for(r=t.child=e.child,n=0;r!==null;)n=n|r.lanes|r.childLanes,r=r.sibling;r=n&~a}else r=0,t.child=null;return IT(e,t,a,o,r)}if((o&536870912)!==0)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&$c(t,a!==null?a.cachePool:null),a!==null?NT(t,a):ly(),Sx(t);else return r=t.lanes=536870912,IT(e,t,a!==null?a.baseLanes|o:o,o,r)}else a!==null?($c(t,a.cachePool),NT(t,a),mn(t),t.memoizedState=null):(e!==null&&$c(t,null),ly(),mn(t));return Pt(e,t,n,o),t.child}function ps(e,t){return e!==null&&e.tag===22||t.stateNode!==null||(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function IT(e,t,o,r,n){var a=Qy();return a=a===null?null:{parent:it._currentValue,pool:a},t.memoizedState={baseLanes:o,cachePool:a},e!==null&&$c(t,null),ly(),Sx(t),e!==null&&Zi(e,t,r,!0),t.childLanes=n,null}function Xc(e,t){return t=gp({mode:t.mode,children:t.children},e.mode),t.ref=e.ref,e.child=t,t.return=e,t}function FT(e,t,o){return ca(t,e.child,null,o),e=Xc(t,t.pendingProps),e.flags|=2,fo(t),t.memoizedState=null,e}function bM(e,t,o){var r=t.pendingProps,n=(t.flags&128)!==0;if(t.flags&=-129,e===null){if(ie){if(r.mode==="hidden")return e=Xc(t,r),t.lanes=536870912,ps(null,e);if(sy(t),(e=je)?(e=JS(e,jo),e=e!==null&&e.data==="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:Nn!==null?{id:ur,overflow:cr}:null,retryLane:536870912,hydrationErrors:null},o=fx(e),o.return=t,t.child=o,Ot=t,je=null)):e=null,e===null)throw wn(t);return t.lanes=536870912,null}return Xc(t,r)}var a=e.memoizedState;if(a!==null){var i=a.dehydrated;if(sy(t),n)if(t.flags&256)t.flags&=-257,t=FT(e,t,o);else if(t.memoizedState!==null)t.child=e.child,t.flags|=128,t=null;else throw Error(z(558));else if(lt||Zi(e,t,o,!1),n=(o&e.childLanes)!==0,lt||n){if(r=Me,r!==null&&(i=jv(r,o),i!==0&&i!==a.retryLane))throw a.retryLane=i,ha(e,i),to(r,e,i),dh;xp(),t=FT(e,t,o)}else e=a.treeContext,je=Ho(i.nextSibling),Ot=t,ie=!0,Sn=null,jo=!1,e!==null&&mx(t,e),t=Xc(t,r),t.flags|=4096;return t}return e=Ur(e.child,{mode:r.mode,children:r.children}),e.ref=t.ref,t.child=e,e.return=t,e}function Qc(e,t){var o=t.ref;if(o===null)e!==null&&e.ref!==null&&(t.flags|=4194816);else{if(typeof o!="function"&&typeof o!="object")throw Error(z(284));(e===null||e.ref!==o)&&(t.flags|=4194816)}}function my(e,t,o,r,n){return ua(t),o=th(e,t,o,r,void 0,n),r=oh(),e!==null&&!lt?(rh(e,t,n),Fr(e,t,n)):(ie&&r&&Yy(t),t.flags|=1,Pt(e,t,o,n),t.child)}function qT(e,t,o,r,n,a){return ua(t),t.updateQueue=null,o=Ex(t,r,o,n),Cx(e),r=oh(),e!==null&&!lt?(rh(e,t,a),Fr(e,t,a)):(ie&&r&&Yy(t),t.flags|=1,Pt(e,t,o,a),t.child)}function GT(e,t,o,r,n){if(ua(t),t.stateNode===null){var a=Oi,i=o.contextType;typeof i=="object"&&i!==null&&(a=Mt(i)),a=new o(r,a),t.memoizedState=a.state!==null&&a.state!==void 0?a.state:null,a.updater=fy,t.stateNode=a,a._reactInternals=t,a=t.stateNode,a.props=r,a.state=t.memoizedState,a.refs={},Wy(t),i=o.contextType,a.context=typeof i=="object"&&i!==null?Mt(i):Oi,a.state=t.memoizedState,i=o.getDerivedStateFromProps,typeof i=="function"&&(vm(t,o,i,r),a.state=t.memoizedState),typeof o.getDerivedStateFromProps=="function"||typeof a.getSnapshotBeforeUpdate=="function"||typeof a.UNSAFE_componentWillMount!="function"&&typeof a.componentWillMount!="function"||(i=a.state,typeof a.componentWillMount=="function"&&a.componentWillMount(),typeof a.UNSAFE_componentWillMount=="function"&&a.UNSAFE_componentWillMount(),i!==a.state&&fy.enqueueReplaceState(a,a.state,null),Ts(t,r,a,n),bs(),a.state=t.memoizedState),typeof a.componentDidMount=="function"&&(t.flags|=4194308),r=!0}else if(e===null){a=t.stateNode;var l=t.memoizedProps,s=fa(o,l);a.props=s;var u=a.context,p=o.contextType;i=Oi,typeof p=="object"&&p!==null&&(i=Mt(p));var f=o.getDerivedStateFromProps;p=typeof f=="function"||typeof a.getSnapshotBeforeUpdate=="function",l=t.pendingProps!==l,p||typeof a.UNSAFE_componentWillReceiveProps!="function"&&typeof a.componentWillReceiveProps!="function"||(l||u!==i)&&jT(t,a,r,i),pn=!1;var d=t.memoizedState;a.state=d,Ts(t,r,a,n),bs(),u=t.memoizedState,l||d!==u||pn?(typeof f=="function"&&(vm(t,o,f,r),u=t.memoizedState),(s=pn||UT(t,o,s,r,d,u,i))?(p||typeof a.UNSAFE_componentWillMount!="function"&&typeof a.componentWillMount!="function"||(typeof a.componentWillMount=="function"&&a.componentWillMount(),typeof a.UNSAFE_componentWillMount=="function"&&a.UNSAFE_componentWillMount()),typeof a.componentDidMount=="function"&&(t.flags|=4194308)):(typeof a.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=u),a.props=r,a.state=u,a.context=i,r=s):(typeof a.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{a=t.stateNode,ay(e,t),i=t.memoizedProps,p=fa(o,i),a.props=p,f=t.pendingProps,d=a.context,u=o.contextType,s=Oi,typeof u=="object"&&u!==null&&(s=Mt(u)),l=o.getDerivedStateFromProps,(u=typeof l=="function"||typeof a.getSnapshotBeforeUpdate=="function")||typeof a.UNSAFE_componentWillReceiveProps!="function"&&typeof a.componentWillReceiveProps!="function"||(i!==f||d!==s)&&jT(t,a,r,s),pn=!1,d=t.memoizedState,a.state=d,Ts(t,r,a,n),bs();var c=t.memoizedState;i!==f||d!==c||pn||e!==null&&e.dependencies!==null&&cp(e.dependencies)?(typeof l=="function"&&(vm(t,o,l,r),c=t.memoizedState),(p=pn||UT(t,o,p,r,d,c,s)||e!==null&&e.dependencies!==null&&cp(e.dependencies))?(u||typeof a.UNSAFE_componentWillUpdate!="function"&&typeof a.componentWillUpdate!="function"||(typeof a.componentWillUpdate=="function"&&a.componentWillUpdate(r,c,s),typeof a.UNSAFE_componentWillUpdate=="function"&&a.UNSAFE_componentWillUpdate(r,c,s)),typeof a.componentDidUpdate=="function"&&(t.flags|=4),typeof a.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof a.componentDidUpdate!="function"||i===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!="function"||i===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=c),a.props=r,a.state=c,a.context=s,r=p):(typeof a.componentDidUpdate!="function"||i===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!="function"||i===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),r=!1)}return a=r,Qc(e,t),r=(t.flags&128)!==0,a||r?(a=t.stateNode,o=r&&typeof o.getDerivedStateFromError!="function"?null:a.render(),t.flags|=1,e!==null&&r?(t.child=ca(t,e.child,null,n),t.child=ca(t,null,o,n)):Pt(e,t,o,n),t.memoizedState=a.state,e=t.child):e=Fr(e,t,n),e}function $T(e,t,o,r){return sa(),t.flags|=256,Pt(e,t,o,r),t.child}var xm={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Sm(e){return{baseLanes:e,cachePool:hx()}}function Cm(e,t,o){return e=e!==null?e.childLanes&~o:0,t&&(e|=yo),e}function sS(e,t,o){var r=t.pendingProps,n=!1,a=(t.flags&128)!==0,i;if((i=a)||(i=e!==null&&e.memoizedState===null?!1:(et.current&2)!==0),i&&(n=!0,t.flags&=-129),i=(t.flags&32)!==0,t.flags&=-33,e===null){if(ie){if(n?dn(t):mn(t),(e=je)?(e=JS(e,jo),e=e!==null&&e.data!=="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:Nn!==null?{id:ur,overflow:cr}:null,retryLane:536870912,hydrationErrors:null},o=fx(e),o.return=t,t.child=o,Ot=t,je=null)):e=null,e===null)throw wn(t);return My(e)?t.lanes=32:t.lanes=536870912,null}var l=r.children;return r=r.fallback,n?(mn(t),n=t.mode,l=gp({mode:"hidden",children:l},n),r=na(r,n,o,null),l.return=t,r.return=t,l.sibling=r,t.child=l,r=t.child,r.memoizedState=Sm(o),r.childLanes=Cm(e,i,o),t.memoizedState=xm,ps(null,r)):(dn(t),yy(t,l))}var s=e.memoizedState;if(s!==null&&(l=s.dehydrated,l!==null)){if(a)t.flags&256?(dn(t),t.flags&=-257,t=Em(e,t,o)):t.memoizedState!==null?(mn(t),t.child=e.child,t.flags|=128,t=null):(mn(t),l=r.fallback,n=t.mode,r=gp({mode:"visible",children:r.children},n),l=na(l,n,o,null),l.flags|=2,r.return=t,l.return=t,r.sibling=l,t.child=r,ca(t,e.child,null,o),r=t.child,r.memoizedState=Sm(o),r.childLanes=Cm(e,i,o),t.memoizedState=xm,t=ps(null,r));else if(dn(t),My(l)){if(i=l.nextSibling&&l.nextSibling.dataset,i)var u=i.dgst;i=u,r=Error(z(419)),r.stack="",r.digest=i,ws({value:r,source:null,stack:null}),t=Em(e,t,o)}else if(lt||Zi(e,t,o,!1),i=(o&e.childLanes)!==0,lt||i){if(i=Me,i!==null&&(r=jv(i,o),r!==0&&r!==s.retryLane))throw s.retryLane=r,ha(e,r),to(i,e,r),dh;Oy(l)||xp(),t=Em(e,t,o)}else Oy(l)?(t.flags|=192,t.child=e.child,t=null):(e=s.treeContext,je=Ho(l.nextSibling),Ot=t,ie=!0,Sn=null,jo=!1,e!==null&&mx(t,e),t=yy(t,r.children),t.flags|=4096);return t}return n?(mn(t),l=r.fallback,n=t.mode,s=e.child,u=s.sibling,r=Ur(s,{mode:"hidden",children:r.children}),r.subtreeFlags=s.subtreeFlags&65011712,u!==null?l=Ur(u,l):(l=na(l,n,o,null),l.flags|=2),l.return=t,r.return=t,r.sibling=l,t.child=r,ps(null,r),r=t.child,l=e.child.memoizedState,l===null?l=Sm(o):(n=l.cachePool,n!==null?(s=it._currentValue,n=n.parent!==s?{parent:s,pool:s}:n):n=hx(),l={baseLanes:l.baseLanes|o,cachePool:n}),r.memoizedState=l,r.childLanes=Cm(e,i,o),t.memoizedState=xm,ps(e.child,r)):(dn(t),o=e.child,e=o.sibling,o=Ur(o,{mode:"visible",children:r.children}),o.return=t,o.sibling=null,e!==null&&(i=t.deletions,i===null?(t.deletions=[e],t.flags|=16):i.push(e)),t.child=o,t.memoizedState=null,o)}function yy(e,t){return t=gp({mode:"visible",children:t},e.mode),t.return=e,e.child=t}function gp(e,t){return e=mo(22,e,null,t),e.lanes=0,e}function Em(e,t,o){return ca(t,e.child,null,o),e=yy(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function YT(e,t,o){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),oy(e.return,t,o)}function Pm(e,t,o,r,n,a){var i=e.memoizedState;i===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:o,tailMode:n,treeForkCount:a}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=o,i.tailMode=n,i.treeForkCount=a)}function uS(e,t,o){var r=t.pendingProps,n=r.revealOrder,a=r.tail;r=r.children;var i=et.current,l=(i&2)!==0;if(l?(i=i&1|2,t.flags|=128):i&=1,_e(et,i),Pt(e,t,r,o),r=ie?Ns:0,!l&&e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&YT(e,o,t);else if(e.tag===19)YT(e,o,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}switch(n){case"forwards":for(o=t.child,n=null;o!==null;)e=o.alternate,e!==null&&dp(e)===null&&(n=o),o=o.sibling;o=n,o===null?(n=t.child,t.child=null):(n=o.sibling,o.sibling=null),Pm(t,!1,n,o,a,r);break;case"backwards":case"unstable_legacy-backwards":for(o=null,n=t.child,t.child=null;n!==null;){if(e=n.alternate,e!==null&&dp(e)===null){t.child=n;break}e=n.sibling,n.sibling=o,o=n,n=e}Pm(t,!0,o,null,a,r);break;case"together":Pm(t,!1,null,null,void 0,r);break;default:t.memoizedState=null}return t.child}function Fr(e,t,o){if(e!==null&&(t.dependencies=e.dependencies),Dn|=t.lanes,(o&t.childLanes)===0)if(e!==null){if(Zi(e,t,o,!1),(o&t.childLanes)===0)return null}else return null;if(e!==null&&t.child!==e.child)throw Error(z(153));if(t.child!==null){for(e=t.child,o=Ur(e,e.pendingProps),t.child=o,o.return=t;e.sibling!==null;)e=e.sibling,o=o.sibling=Ur(e,e.pendingProps),o.return=t;o.sibling=null}return t.child}function mh(e,t){return(e.lanes&t)!==0?!0:(e=e.dependencies,!!(e!==null&&cp(e)))}function TM(e,t,o){switch(t.tag){case 3:rp(t,t.stateNode.containerInfo),fn(t,it,e.memoizedState.cache),sa();break;case 27:case 5:Fm(t);break;case 4:rp(t,t.stateNode.containerInfo);break;case 10:fn(t,t.type,t.memoizedProps.value);break;case 31:if(t.memoizedState!==null)return t.flags|=128,sy(t),null;break;case 13:var r=t.memoizedState;if(r!==null)return r.dehydrated!==null?(dn(t),t.flags|=128,null):(o&t.child.childLanes)!==0?sS(e,t,o):(dn(t),e=Fr(e,t,o),e!==null?e.sibling:null);dn(t);break;case 19:var n=(e.flags&128)!==0;if(r=(o&t.childLanes)!==0,r||(Zi(e,t,o,!1),r=(o&t.childLanes)!==0),n){if(r)return uS(e,t,o);t.flags|=128}if(n=t.memoizedState,n!==null&&(n.rendering=null,n.tail=null,n.lastEffect=null),_e(et,et.current),r)break;return null;case 22:return t.lanes=0,lS(e,t,o,t.pendingProps);case 24:fn(t,it,e.memoizedState.cache)}return Fr(e,t,o)}function cS(e,t,o){if(e!==null)if(e.memoizedProps!==t.pendingProps)lt=!0;else{if(!mh(e,o)&&(t.flags&128)===0)return lt=!1,TM(e,t,o);lt=(e.flags&131072)!==0}else lt=!1,ie&&(t.flags&1048576)!==0&&dx(t,Ns,t.index);switch(t.lanes=0,t.tag){case 16:e:{var r=t.pendingProps;if(e=ta(t.elementType),t.type=e,typeof e=="function")$y(e)?(r=fa(e,r),t.tag=1,t=GT(null,t,e,r,o)):(t.tag=0,t=my(null,t,e,r,o));else{if(e!=null){var n=e.$$typeof;if(n===_y){t.tag=11,t=HT(null,t,e,r,o);break e}else if(n===Dy){t.tag=14,t=VT(null,t,e,r,o);break e}}throw t=Vm(e)||e,Error(z(306,t,""))}}return t;case 0:return my(e,t,t.type,t.pendingProps,o);case 1:return r=t.type,n=fa(r,t.pendingProps),GT(e,t,r,n,o);case 3:e:{if(rp(t,t.stateNode.containerInfo),e===null)throw Error(z(387));r=t.pendingProps;var a=t.memoizedState;n=a.element,ay(e,t),Ts(t,r,null,o);var i=t.memoizedState;if(r=i.cache,fn(t,it,r),r!==a.cache&&ry(t,[it],o,!0),bs(),r=i.element,a.isDehydrated)if(a={element:r,isDehydrated:!1,cache:i.cache},t.updateQueue.baseState=a,t.memoizedState=a,t.flags&256){t=$T(e,t,r,o);break e}else if(r!==n){n=Uo(Error(z(424)),t),ws(n),t=$T(e,t,r,o);break e}else for(e=t.stateNode.containerInfo,e.nodeType===9?e=e.body:e=e.nodeName==="HTML"?e.ownerDocument.body:e,je=Ho(e.firstChild),Ot=t,ie=!0,Sn=null,jo=!0,o=Tx(t,null,r,o),t.child=o;o;)o.flags=o.flags&-3|4096,o=o.sibling;else{if(sa(),r===n){t=Fr(e,t,o);break e}Pt(e,t,r,o)}t=t.child}return t;case 26:return Qc(e,t),e===null?(o=yv(t.type,null,t.pendingProps,null))?t.memoizedState=o:ie||(o=t.type,e=t.pendingProps,r=Pp(xn.current).createElement(o),r[Rt]=t,r[oo]=e,At(r,o,e),ht(r),t.stateNode=r):t.memoizedState=yv(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return Fm(t),e===null&&ie&&(r=t.stateNode=e1(t.type,t.pendingProps,xn.current),Ot=t,jo=!0,n=je,Bn(t.type)?(Ay=n,je=Ho(r.firstChild)):je=n),Pt(e,t,t.pendingProps.children,o),Qc(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&ie&&((n=r=je)&&(r=YM(r,t.type,t.pendingProps,jo),r!==null?(t.stateNode=r,Ot=t,je=Ho(r.firstChild),jo=!1,n=!0):n=!1),n||wn(t)),Fm(t),n=t.type,a=t.pendingProps,i=e!==null?e.memoizedProps:null,r=a.children,Py(n,a)?r=null:i!==null&&Py(n,i)&&(t.flags|=32),t.memoizedState!==null&&(n=th(e,t,cM,null,null,o),Us._currentValue=n),Qc(e,t),Pt(e,t,r,o),t.child;case 6:return e===null&&ie&&((e=o=je)&&(o=KM(o,t.pendingProps,jo),o!==null?(t.stateNode=o,Ot=t,je=null,e=!0):e=!1),e||wn(t)),null;case 13:return sS(e,t,o);case 4:return rp(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=ca(t,null,r,o):Pt(e,t,r,o),t.child;case 11:return HT(e,t,t.type,t.pendingProps,o);case 7:return Pt(e,t,t.pendingProps,o),t.child;case 8:return Pt(e,t,t.pendingProps.children,o),t.child;case 12:return Pt(e,t,t.pendingProps.children,o),t.child;case 10:return r=t.pendingProps,fn(t,t.type,r.value),Pt(e,t,r.children,o),t.child;case 9:return n=t.type._context,r=t.pendingProps.children,ua(t),n=Mt(n),r=r(n),t.flags|=1,Pt(e,t,r,o),t.child;case 14:return VT(e,t,t.type,t.pendingProps,o);case 15:return iS(e,t,t.type,t.pendingProps,o);case 19:return uS(e,t,o);case 31:return bM(e,t,o);case 22:return lS(e,t,o,t.pendingProps);case 24:return ua(t),r=Mt(it),e===null?(n=Qy(),n===null&&(n=Me,a=Xy(),n.pooledCache=a,a.refCount++,a!==null&&(n.pooledCacheLanes|=o),n=a),t.memoizedState={parent:r,cache:n},Wy(t),fn(t,it,n)):((e.lanes&o)!==0&&(ay(e,t),Ts(t,null,null,o),bs()),n=e.memoizedState,a=t.memoizedState,n.parent!==r?(n={parent:r,cache:r},t.memoizedState=n,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=n),fn(t,it,r)):(r=a.cache,fn(t,it,r),r!==n.cache&&ry(t,[it],o,!0))),Pt(e,t,t.pendingProps.children,o),t.child;case 29:throw t.pendingProps}throw Error(z(156,t.tag))}function Mr(e){e.flags|=4}function Rm(e,t,o,r,n){if((t=(e.mode&32)!==0)&&(t=!1),t){if(e.flags|=16777216,(n&335544128)===n)if(e.stateNode.complete)e.flags|=8192;else if(zS())e.flags|=8192;else throw ia=pp,Zy}else e.flags&=-16777217}function KT(e,t){if(t.type!=="stylesheet"||(t.state.loading&4)!==0)e.flags&=-16777217;else if(e.flags|=16777216,!r1(t))if(zS())e.flags|=8192;else throw ia=pp,Zy}function zc(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag!==22?Bv():536870912,e.lanes|=t,qi|=t)}function ns(e,t){if(!ie)switch(e.tailMode){case"hidden":t=e.tail;for(var o=null;t!==null;)t.alternate!==null&&(o=t),t=t.sibling;o===null?e.tail=null:o.sibling=null;break;case"collapsed":o=e.tail;for(var r=null;o!==null;)o.alternate!==null&&(r=o),o=o.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Ue(e){var t=e.alternate!==null&&e.alternate.child===e.child,o=0,r=0;if(t)for(var n=e.child;n!==null;)o|=n.lanes|n.childLanes,r|=n.subtreeFlags&65011712,r|=n.flags&65011712,n.return=e,n=n.sibling;else for(n=e.child;n!==null;)o|=n.lanes|n.childLanes,r|=n.subtreeFlags,r|=n.flags,n.return=e,n=n.sibling;return e.subtreeFlags|=r,e.childLanes=o,t}function vM(e,t,o){var r=t.pendingProps;switch(Ky(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ue(t),null;case 1:return Ue(t),null;case 3:return o=t.stateNode,r=null,e!==null&&(r=e.memoizedState.cache),t.memoizedState.cache!==r&&(t.flags|=2048),jr(it),ji(),o.pendingContext&&(o.context=o.pendingContext,o.pendingContext=null),(e===null||e.child===null)&&(yi(t)?Mr(t):e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,gm())),Ue(t),null;case 26:var n=t.type,a=t.memoizedState;return e===null?(Mr(t),a!==null?(Ue(t),KT(t,a)):(Ue(t),Rm(t,n,null,r,o))):a?a!==e.memoizedState?(Mr(t),Ue(t),KT(t,a)):(Ue(t),t.flags&=-16777217):(e=e.memoizedProps,e!==r&&Mr(t),Ue(t),Rm(t,n,e,r,o)),null;case 27:if(np(t),o=xn.current,n=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==r&&Mr(t);else{if(!r){if(t.stateNode===null)throw Error(z(166));return Ue(t),null}e=fr.current,yi(t)?CT(t,e):(e=e1(n,r,o),t.stateNode=e,Mr(t))}return Ue(t),null;case 5:if(np(t),n=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==r&&Mr(t);else{if(!r){if(t.stateNode===null)throw Error(z(166));return Ue(t),null}if(a=fr.current,yi(t))CT(t,a);else{var i=Pp(xn.current);switch(a){case 1:a=i.createElementNS("http://www.w3.org/2000/svg",n);break;case 2:a=i.createElementNS("http://www.w3.org/1998/Math/MathML",n);break;default:switch(n){case"svg":a=i.createElementNS("http://www.w3.org/2000/svg",n);break;case"math":a=i.createElementNS("http://www.w3.org/1998/Math/MathML",n);break;case"script":a=i.createElement("div"),a.innerHTML="<script><\/script>",a=a.removeChild(a.firstChild);break;case"select":a=typeof r.is=="string"?i.createElement("select",{is:r.is}):i.createElement("select"),r.multiple?a.multiple=!0:r.size&&(a.size=r.size);break;default:a=typeof r.is=="string"?i.createElement(n,{is:r.is}):i.createElement(n)}}a[Rt]=t,a[oo]=r;e:for(i=t.child;i!==null;){if(i.tag===5||i.tag===6)a.appendChild(i.stateNode);else if(i.tag!==4&&i.tag!==27&&i.child!==null){i.child.return=i,i=i.child;continue}if(i===t)break e;for(;i.sibling===null;){if(i.return===null||i.return===t)break e;i=i.return}i.sibling.return=i.return,i=i.sibling}t.stateNode=a;e:switch(At(a,n,r),n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}r&&Mr(t)}}return Ue(t),Rm(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,o),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==r&&Mr(t);else{if(typeof r!="string"&&t.stateNode===null)throw Error(z(166));if(e=xn.current,yi(t)){if(e=t.stateNode,o=t.memoizedProps,r=null,n=Ot,n!==null)switch(n.tag){case 27:case 5:r=n.memoizedProps}e[Rt]=t,e=!!(e.nodeValue===o||r!==null&&r.suppressHydrationWarning===!0||QS(e.nodeValue,o)),e||wn(t,!0)}else e=Pp(e).createTextNode(r),e[Rt]=t,t.stateNode=e}return Ue(t),null;case 31:if(o=t.memoizedState,e===null||e.memoizedState!==null){if(r=yi(t),o!==null){if(e===null){if(!r)throw Error(z(318));if(e=t.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(z(557));e[Rt]=t}else sa(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;Ue(t),e=!1}else o=gm(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=o),e=!0;if(!e)return t.flags&256?(fo(t),t):(fo(t),null);if((t.flags&128)!==0)throw Error(z(558))}return Ue(t),null;case 13:if(r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(n=yi(t),r!==null&&r.dehydrated!==null){if(e===null){if(!n)throw Error(z(318));if(n=t.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(z(317));n[Rt]=t}else sa(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;Ue(t),n=!1}else n=gm(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=n),n=!0;if(!n)return t.flags&256?(fo(t),t):(fo(t),null)}return fo(t),(t.flags&128)!==0?(t.lanes=o,t):(o=r!==null,e=e!==null&&e.memoizedState!==null,o&&(r=t.child,n=null,r.alternate!==null&&r.alternate.memoizedState!==null&&r.alternate.memoizedState.cachePool!==null&&(n=r.alternate.memoizedState.cachePool.pool),a=null,r.memoizedState!==null&&r.memoizedState.cachePool!==null&&(a=r.memoizedState.cachePool.pool),a!==n&&(r.flags|=2048)),o!==e&&o&&(t.child.flags|=8192),zc(t,t.updateQueue),Ue(t),null);case 4:return ji(),e===null&&xh(t.stateNode.containerInfo),Ue(t),null;case 10:return jr(t.type),Ue(t),null;case 19:if(gt(et),r=t.memoizedState,r===null)return Ue(t),null;if(n=(t.flags&128)!==0,a=r.rendering,a===null)if(n)ns(r,!1);else{if(Ze!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(a=dp(e),a!==null){for(t.flags|=128,ns(r,!1),e=a.updateQueue,t.updateQueue=e,zc(t,e),t.subtreeFlags=0,e=o,o=t.child;o!==null;)px(o,e),o=o.sibling;return _e(et,et.current&1|2),ie&&_r(t,r.treeForkCount),t.child}e=e.sibling}r.tail!==null&&ho()>Tp&&(t.flags|=128,n=!0,ns(r,!1),t.lanes=4194304)}else{if(!n)if(e=dp(a),e!==null){if(t.flags|=128,n=!0,e=e.updateQueue,t.updateQueue=e,zc(t,e),ns(r,!0),r.tail===null&&r.tailMode==="hidden"&&!a.alternate&&!ie)return Ue(t),null}else 2*ho()-r.renderingStartTime>Tp&&o!==536870912&&(t.flags|=128,n=!0,ns(r,!1),t.lanes=4194304);r.isBackwards?(a.sibling=t.child,t.child=a):(e=r.last,e!==null?e.sibling=a:t.child=a,r.last=a)}return r.tail!==null?(e=r.tail,r.rendering=e,r.tail=e.sibling,r.renderingStartTime=ho(),e.sibling=null,o=et.current,_e(et,n?o&1|2:o&1),ie&&_r(t,r.treeForkCount),e):(Ue(t),null);case 22:case 23:return fo(t),Jy(),r=t.memoizedState!==null,e!==null?e.memoizedState!==null!==r&&(t.flags|=8192):r&&(t.flags|=8192),r?(o&536870912)!==0&&(t.flags&128)===0&&(Ue(t),t.subtreeFlags&6&&(t.flags|=8192)):Ue(t),o=t.updateQueue,o!==null&&zc(t,o.retryQueue),o=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(o=e.memoizedState.cachePool.pool),r=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(r=t.memoizedState.cachePool.pool),r!==o&&(t.flags|=2048),e!==null&>(aa),null;case 24:return o=null,e!==null&&(o=e.memoizedState.cache),t.memoizedState.cache!==o&&(t.flags|=2048),jr(it),Ue(t),null;case 25:return null;case 30:return null}throw Error(z(156,t.tag))}function xM(e,t){switch(Ky(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return jr(it),ji(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return np(t),null;case 31:if(t.memoizedState!==null){if(fo(t),t.alternate===null)throw Error(z(340));sa()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 13:if(fo(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(z(340));sa()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return gt(et),null;case 4:return ji(),null;case 10:return jr(t.type),null;case 22:case 23:return fo(t),Jy(),e!==null&>(aa),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return jr(it),null;case 25:return null;default:return null}}function pS(e,t){switch(Ky(t),t.tag){case 3:jr(it),ji();break;case 26:case 27:case 5:np(t);break;case 4:ji();break;case 31:t.memoizedState!==null&&fo(t);break;case 13:fo(t);break;case 19:gt(et);break;case 10:jr(t.type);break;case 22:case 23:fo(t),Jy(),e!==null&>(aa);break;case 24:jr(it)}}function Ks(e,t){try{var o=t.updateQueue,r=o!==null?o.lastEffect:null;if(r!==null){var n=r.next;o=n;do{if((o.tag&e)===e){r=void 0;var a=o.create,i=o.inst;r=a(),i.destroy=r}o=o.next}while(o!==n)}}catch(l){Ee(t,t.return,l)}}function _n(e,t,o){try{var r=t.updateQueue,n=r!==null?r.lastEffect:null;if(n!==null){var a=n.next;r=a;do{if((r.tag&e)===e){var i=r.inst,l=i.destroy;if(l!==void 0){i.destroy=void 0,n=t;var s=o,u=l;try{u()}catch(p){Ee(n,s,p)}}}r=r.next}while(r!==a)}}catch(p){Ee(t,t.return,p)}}function fS(e){var t=e.updateQueue;if(t!==null){var o=e.stateNode;try{xx(t,o)}catch(r){Ee(e,e.return,r)}}}function dS(e,t,o){o.props=fa(e.type,e.memoizedProps),o.state=e.memoizedState;try{o.componentWillUnmount()}catch(r){Ee(e,t,r)}}function xs(e,t){try{var o=e.ref;if(o!==null){switch(e.tag){case 26:case 27:case 5:var r=e.stateNode;break;case 30:r=e.stateNode;break;default:r=e.stateNode}typeof o=="function"?e.refCleanup=o(r):o.current=r}}catch(n){Ee(e,t,n)}}function pr(e,t){var o=e.ref,r=e.refCleanup;if(o!==null)if(typeof r=="function")try{r()}catch(n){Ee(e,t,n)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof o=="function")try{o(null)}catch(n){Ee(e,t,n)}else o.current=null}function mS(e){var t=e.type,o=e.memoizedProps,r=e.stateNode;try{e:switch(t){case"button":case"input":case"select":case"textarea":o.autoFocus&&r.focus();break e;case"img":o.src?r.src=o.src:o.srcSet&&(r.srcset=o.srcSet)}}catch(n){Ee(e,e.return,n)}}function Om(e,t,o){try{var r=e.stateNode;VM(r,e.type,o,t),r[oo]=t}catch(n){Ee(e,e.return,n)}}function yS(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&Bn(e.type)||e.tag===4}function Mm(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||yS(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.tag===27&&Bn(e.type)||e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function hy(e,t,o){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?(o.nodeType===9?o.body:o.nodeName==="HTML"?o.ownerDocument.body:o).insertBefore(e,t):(t=o.nodeType===9?o.body:o.nodeName==="HTML"?o.ownerDocument.body:o,t.appendChild(e),o=o._reactRootContainer,o!=null||t.onclick!==null||(t.onclick=Br));else if(r!==4&&(r===27&&Bn(e.type)&&(o=e.stateNode,t=null),e=e.child,e!==null))for(hy(e,t,o),e=e.sibling;e!==null;)hy(e,t,o),e=e.sibling}function bp(e,t,o){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?o.insertBefore(e,t):o.appendChild(e);else if(r!==4&&(r===27&&Bn(e.type)&&(o=e.stateNode),e=e.child,e!==null))for(bp(e,t,o),e=e.sibling;e!==null;)bp(e,t,o),e=e.sibling}function hS(e){var t=e.stateNode,o=e.memoizedProps;try{for(var r=e.type,n=t.attributes;n.length;)t.removeAttributeNode(n[0]);At(t,r,o),t[Rt]=e,t[oo]=o}catch(a){Ee(e,e.return,a)}}var Dr=!1,at=!1,Am=!1,XT=typeof WeakSet=="function"?WeakSet:Set,yt=null;function SM(e,t){if(e=e.containerInfo,Cy=Ap,e=rx(e),Fy(e)){if("selectionStart"in e)var o={start:e.selectionStart,end:e.selectionEnd};else e:{o=(o=e.ownerDocument)&&o.defaultView||window;var r=o.getSelection&&o.getSelection();if(r&&r.rangeCount!==0){o=r.anchorNode;var n=r.anchorOffset,a=r.focusNode;r=r.focusOffset;try{o.nodeType,a.nodeType}catch{o=null;break e}var i=0,l=-1,s=-1,u=0,p=0,f=e,d=null;t:for(;;){for(var c;f!==o||n!==0&&f.nodeType!==3||(l=i+n),f!==a||r!==0&&f.nodeType!==3||(s=i+r),f.nodeType===3&&(i+=f.nodeValue.length),(c=f.firstChild)!==null;)d=f,f=c;for(;;){if(f===e)break t;if(d===o&&++u===n&&(l=i),d===a&&++p===r&&(s=i),(c=f.nextSibling)!==null)break;f=d,d=f.parentNode}f=c}o=l===-1||s===-1?null:{start:l,end:s}}else o=null}o=o||{start:0,end:0}}else o=null;for(Ey={focusedElem:e,selectionRange:o},Ap=!1,yt=t;yt!==null;)if(t=yt,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,yt=e;else for(;yt!==null;){switch(t=yt,a=t.alternate,e=t.flags,t.tag){case 0:if((e&4)!==0&&(e=t.updateQueue,e=e!==null?e.events:null,e!==null))for(o=0;o<e.length;o++)n=e[o],n.ref.impl=n.nextImpl;break;case 11:case 15:break;case 1:if((e&1024)!==0&&a!==null){e=void 0,o=t,n=a.memoizedProps,a=a.memoizedState,r=o.stateNode;try{var T=fa(o.type,n);e=r.getSnapshotBeforeUpdate(T,a),r.__reactInternalSnapshotBeforeUpdate=e}catch(v){Ee(o,o.return,v)}}break;case 3:if((e&1024)!==0){if(e=t.stateNode.containerInfo,o=e.nodeType,o===9)Ry(e);else if(o===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":Ry(e);break;default:e.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((e&1024)!==0)throw Error(z(163))}if(e=t.sibling,e!==null){e.return=t.return,yt=e;break}yt=t.return}}function gS(e,t,o){var r=o.flags;switch(o.tag){case 0:case 11:case 15:Nr(e,o),r&4&&Ks(5,o);break;case 1:if(Nr(e,o),r&4)if(e=o.stateNode,t===null)try{e.componentDidMount()}catch(i){Ee(o,o.return,i)}else{var n=fa(o.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(n,t,e.__reactInternalSnapshotBeforeUpdate)}catch(i){Ee(o,o.return,i)}}r&64&&fS(o),r&512&&xs(o,o.return);break;case 3:if(Nr(e,o),r&64&&(e=o.updateQueue,e!==null)){if(t=null,o.child!==null)switch(o.child.tag){case 27:case 5:t=o.child.stateNode;break;case 1:t=o.child.stateNode}try{xx(e,t)}catch(i){Ee(o,o.return,i)}}break;case 27:t===null&&r&4&&hS(o);case 26:case 5:Nr(e,o),t===null&&r&4&&mS(o),r&512&&xs(o,o.return);break;case 12:Nr(e,o);break;case 31:Nr(e,o),r&4&&vS(e,o);break;case 13:Nr(e,o),r&4&&xS(e,o),r&64&&(e=o.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(o=wM.bind(null,o),XM(e,o))));break;case 22:if(r=o.memoizedState!==null||Dr,!r){t=t!==null&&t.memoizedState!==null||at,n=Dr;var a=at;Dr=r,(at=t)&&!a?wr(e,o,(o.subtreeFlags&8772)!==0):Nr(e,o),Dr=n,at=a}break;case 30:break;default:Nr(e,o)}}function bS(e){var t=e.alternate;t!==null&&(e.alternate=null,bS(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&Uy(t)),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}var Ie=null,Jt=!1;function Ar(e,t,o){for(o=o.child;o!==null;)TS(e,t,o),o=o.sibling}function TS(e,t,o){if(go&&typeof go.onCommitFiberUnmount=="function")try{go.onCommitFiberUnmount(Vs,o)}catch{}switch(o.tag){case 26:at||pr(o,t),Ar(e,t,o),o.memoizedState?o.memoizedState.count--:o.stateNode&&(o=o.stateNode,o.parentNode.removeChild(o));break;case 27:at||pr(o,t);var r=Ie,n=Jt;Bn(o.type)&&(Ie=o.stateNode,Jt=!1),Ar(e,t,o),Ps(o.stateNode),Ie=r,Jt=n;break;case 5:at||pr(o,t);case 6:if(r=Ie,n=Jt,Ie=null,Ar(e,t,o),Ie=r,Jt=n,Ie!==null)if(Jt)try{(Ie.nodeType===9?Ie.body:Ie.nodeName==="HTML"?Ie.ownerDocument.body:Ie).removeChild(o.stateNode)}catch(a){Ee(o,t,a)}else try{Ie.removeChild(o.stateNode)}catch(a){Ee(o,t,a)}break;case 18:Ie!==null&&(Jt?(e=Ie,cv(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,o.stateNode),Ki(e)):cv(Ie,o.stateNode));break;case 4:r=Ie,n=Jt,Ie=o.stateNode.containerInfo,Jt=!0,Ar(e,t,o),Ie=r,Jt=n;break;case 0:case 11:case 14:case 15:_n(2,o,t),at||_n(4,o,t),Ar(e,t,o);break;case 1:at||(pr(o,t),r=o.stateNode,typeof r.componentWillUnmount=="function"&&dS(o,t,r)),Ar(e,t,o);break;case 21:Ar(e,t,o);break;case 22:at=(r=at)||o.memoizedState!==null,Ar(e,t,o),at=r;break;default:Ar(e,t,o)}}function vS(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{Ki(e)}catch(o){Ee(t,t.return,o)}}}function xS(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{Ki(e)}catch(o){Ee(t,t.return,o)}}function CM(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new XT),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new XT),t;default:throw Error(z(435,e.tag))}}function Bc(e,t){var o=CM(e);t.forEach(function(r){if(!o.has(r)){o.add(r);var n=_M.bind(null,e,r);r.then(n,n)}})}function Zt(e,t){var o=t.deletions;if(o!==null)for(var r=0;r<o.length;r++){var n=o[r],a=e,i=t,l=i;e:for(;l!==null;){switch(l.tag){case 27:if(Bn(l.type)){Ie=l.stateNode,Jt=!1;break e}break;case 5:Ie=l.stateNode,Jt=!1;break e;case 3:case 4:Ie=l.stateNode.containerInfo,Jt=!0;break e}l=l.return}if(Ie===null)throw Error(z(160));TS(a,i,n),Ie=null,Jt=!1,a=n.alternate,a!==null&&(a.return=null),n.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)SS(t,e),t=t.sibling}var Zo=null;function SS(e,t){var o=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:Zt(t,e),Wt(e),r&4&&(_n(3,e,e.return),Ks(3,e),_n(5,e,e.return));break;case 1:Zt(t,e),Wt(e),r&512&&(at||o===null||pr(o,o.return)),r&64&&Dr&&(e=e.updateQueue,e!==null&&(r=e.callbacks,r!==null&&(o=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=o===null?r:o.concat(r))));break;case 26:var n=Zo;if(Zt(t,e),Wt(e),r&512&&(at||o===null||pr(o,o.return)),r&4){var a=o!==null?o.memoizedState:null;if(r=e.memoizedState,o===null)if(r===null)if(e.stateNode===null){e:{r=e.type,o=e.memoizedProps,n=n.ownerDocument||n;t:switch(r){case"title":a=n.getElementsByTagName("title")[0],(!a||a[qs]||a[Rt]||a.namespaceURI==="http://www.w3.org/2000/svg"||a.hasAttribute("itemprop"))&&(a=n.createElement(r),n.head.insertBefore(a,n.querySelector("head > title"))),At(a,r,o),a[Rt]=e,ht(a),r=a;break e;case"link":var i=gv("link","href",n).get(r+(o.href||""));if(i){for(var l=0;l<i.length;l++)if(a=i[l],a.getAttribute("href")===(o.href==null||o.href===""?null:o.href)&&a.getAttribute("rel")===(o.rel==null?null:o.rel)&&a.getAttribute("title")===(o.title==null?null:o.title)&&a.getAttribute("crossorigin")===(o.crossOrigin==null?null:o.crossOrigin)){i.splice(l,1);break t}}a=n.createElement(r),At(a,r,o),n.head.appendChild(a);break;case"meta":if(i=gv("meta","content",n).get(r+(o.content||""))){for(l=0;l<i.length;l++)if(a=i[l],a.getAttribute("content")===(o.content==null?null:""+o.content)&&a.getAttribute("name")===(o.name==null?null:o.name)&&a.getAttribute("property")===(o.property==null?null:o.property)&&a.getAttribute("http-equiv")===(o.httpEquiv==null?null:o.httpEquiv)&&a.getAttribute("charset")===(o.charSet==null?null:o.charSet)){i.splice(l,1);break t}}a=n.createElement(r),At(a,r,o),n.head.appendChild(a);break;default:throw Error(z(468,r))}a[Rt]=e,ht(a),r=a}e.stateNode=r}else bv(n,e.type,e.stateNode);else e.stateNode=hv(n,r,e.memoizedProps);else a!==r?(a===null?o.stateNode!==null&&(o=o.stateNode,o.parentNode.removeChild(o)):a.count--,r===null?bv(n,e.type,e.stateNode):hv(n,r,e.memoizedProps)):r===null&&e.stateNode!==null&&Om(e,e.memoizedProps,o.memoizedProps)}break;case 27:Zt(t,e),Wt(e),r&512&&(at||o===null||pr(o,o.return)),o!==null&&r&4&&Om(e,e.memoizedProps,o.memoizedProps);break;case 5:if(Zt(t,e),Wt(e),r&512&&(at||o===null||pr(o,o.return)),e.flags&32){n=e.stateNode;try{Hi(n,"")}catch(T){Ee(e,e.return,T)}}r&4&&e.stateNode!=null&&(n=e.memoizedProps,Om(e,n,o!==null?o.memoizedProps:n)),r&1024&&(Am=!0);break;case 6:if(Zt(t,e),Wt(e),r&4){if(e.stateNode===null)throw Error(z(162));r=e.memoizedProps,o=e.stateNode;try{o.nodeValue=r}catch(T){Ee(e,e.return,T)}}break;case 3:if(Jc=null,n=Zo,Zo=Rp(t.containerInfo),Zt(t,e),Zo=n,Wt(e),r&4&&o!==null&&o.memoizedState.isDehydrated)try{Ki(t.containerInfo)}catch(T){Ee(e,e.return,T)}Am&&(Am=!1,CS(e));break;case 4:r=Zo,Zo=Rp(e.stateNode.containerInfo),Zt(t,e),Wt(e),Zo=r;break;case 12:Zt(t,e),Wt(e);break;case 31:Zt(t,e),Wt(e),r&4&&(r=e.updateQueue,r!==null&&(e.updateQueue=null,Bc(e,r)));break;case 13:Zt(t,e),Wt(e),e.child.flags&8192&&e.memoizedState!==null!=(o!==null&&o.memoizedState!==null)&&(Ip=ho()),r&4&&(r=e.updateQueue,r!==null&&(e.updateQueue=null,Bc(e,r)));break;case 22:n=e.memoizedState!==null;var s=o!==null&&o.memoizedState!==null,u=Dr,p=at;if(Dr=u||n,at=p||s,Zt(t,e),at=p,Dr=u,Wt(e),r&8192)e:for(t=e.stateNode,t._visibility=n?t._visibility&-2:t._visibility|1,n&&(o===null||s||Dr||at||oa(e)),o=null,t=e;;){if(t.tag===5||t.tag===26){if(o===null){s=o=t;try{if(a=s.stateNode,n)i=a.style,typeof i.setProperty=="function"?i.setProperty("display","none","important"):i.display="none";else{l=s.stateNode;var f=s.memoizedProps.style,d=f!=null&&f.hasOwnProperty("display")?f.display:null;l.style.display=d==null||typeof d=="boolean"?"":(""+d).trim()}}catch(T){Ee(s,s.return,T)}}}else if(t.tag===6){if(o===null){s=t;try{s.stateNode.nodeValue=n?"":s.memoizedProps}catch(T){Ee(s,s.return,T)}}}else if(t.tag===18){if(o===null){s=t;try{var c=s.stateNode;n?pv(c,!0):pv(s.stateNode,!1)}catch(T){Ee(s,s.return,T)}}}else if((t.tag!==22&&t.tag!==23||t.memoizedState===null||t===e)&&t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break e;for(;t.sibling===null;){if(t.return===null||t.return===e)break e;o===t&&(o=null),t=t.return}o===t&&(o=null),t.sibling.return=t.return,t=t.sibling}r&4&&(r=e.updateQueue,r!==null&&(o=r.retryQueue,o!==null&&(r.retryQueue=null,Bc(e,o))));break;case 19:Zt(t,e),Wt(e),r&4&&(r=e.updateQueue,r!==null&&(e.updateQueue=null,Bc(e,r)));break;case 30:break;case 21:break;default:Zt(t,e),Wt(e)}}function Wt(e){var t=e.flags;if(t&2){try{for(var o,r=e.return;r!==null;){if(yS(r)){o=r;break}r=r.return}if(o==null)throw Error(z(160));switch(o.tag){case 27:var n=o.stateNode,a=Mm(e);bp(e,a,n);break;case 5:var i=o.stateNode;o.flags&32&&(Hi(i,""),o.flags&=-33);var l=Mm(e);bp(e,l,i);break;case 3:case 4:var s=o.stateNode.containerInfo,u=Mm(e);hy(e,u,s);break;default:throw Error(z(161))}}catch(p){Ee(e,e.return,p)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function CS(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;CS(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function Nr(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)gS(e,t.alternate,t),t=t.sibling}function oa(e){for(e=e.child;e!==null;){var t=e;switch(t.tag){case 0:case 11:case 14:case 15:_n(4,t,t.return),oa(t);break;case 1:pr(t,t.return);var o=t.stateNode;typeof o.componentWillUnmount=="function"&&dS(t,t.return,o),oa(t);break;case 27:Ps(t.stateNode);case 26:case 5:pr(t,t.return),oa(t);break;case 22:t.memoizedState===null&&oa(t);break;case 30:oa(t);break;default:oa(t)}e=e.sibling}}function wr(e,t,o){for(o=o&&(t.subtreeFlags&8772)!==0,t=t.child;t!==null;){var r=t.alternate,n=e,a=t,i=a.flags;switch(a.tag){case 0:case 11:case 15:wr(n,a,o),Ks(4,a);break;case 1:if(wr(n,a,o),r=a,n=r.stateNode,typeof n.componentDidMount=="function")try{n.componentDidMount()}catch(u){Ee(r,r.return,u)}if(r=a,n=r.updateQueue,n!==null){var l=r.stateNode;try{var s=n.shared.hiddenCallbacks;if(s!==null)for(n.shared.hiddenCallbacks=null,n=0;n<s.length;n++)vx(s[n],l)}catch(u){Ee(r,r.return,u)}}o&&i&64&&fS(a),xs(a,a.return);break;case 27:hS(a);case 26:case 5:wr(n,a,o),o&&r===null&&i&4&&mS(a),xs(a,a.return);break;case 12:wr(n,a,o);break;case 31:wr(n,a,o),o&&i&4&&vS(n,a);break;case 13:wr(n,a,o),o&&i&4&&xS(n,a);break;case 22:a.memoizedState===null&&wr(n,a,o),xs(a,a.return);break;case 30:break;default:wr(n,a,o)}t=t.sibling}}function yh(e,t){var o=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(o=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==o&&(e!=null&&e.refCount++,o!=null&&$s(o))}function hh(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&$s(e))}function Qo(e,t,o,r){if(t.subtreeFlags&10256)for(t=t.child;t!==null;)ES(e,t,o,r),t=t.sibling}function ES(e,t,o,r){var n=t.flags;switch(t.tag){case 0:case 11:case 15:Qo(e,t,o,r),n&2048&&Ks(9,t);break;case 1:Qo(e,t,o,r);break;case 3:Qo(e,t,o,r),n&2048&&(e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&$s(e)));break;case 12:if(n&2048){Qo(e,t,o,r),e=t.stateNode;try{var a=t.memoizedProps,i=a.id,l=a.onPostCommit;typeof l=="function"&&l(i,t.alternate===null?"mount":"update",e.passiveEffectDuration,-0)}catch(s){Ee(t,t.return,s)}}else Qo(e,t,o,r);break;case 31:Qo(e,t,o,r);break;case 13:Qo(e,t,o,r);break;case 23:break;case 22:a=t.stateNode,i=t.alternate,t.memoizedState!==null?a._visibility&2?Qo(e,t,o,r):Ss(e,t):a._visibility&2?Qo(e,t,o,r):(a._visibility|=2,gi(e,t,o,r,(t.subtreeFlags&10256)!==0||!1)),n&2048&&yh(i,t);break;case 24:Qo(e,t,o,r),n&2048&&hh(t.alternate,t);break;default:Qo(e,t,o,r)}}function gi(e,t,o,r,n){for(n=n&&((t.subtreeFlags&10256)!==0||!1),t=t.child;t!==null;){var a=e,i=t,l=o,s=r,u=i.flags;switch(i.tag){case 0:case 11:case 15:gi(a,i,l,s,n),Ks(8,i);break;case 23:break;case 22:var p=i.stateNode;i.memoizedState!==null?p._visibility&2?gi(a,i,l,s,n):Ss(a,i):(p._visibility|=2,gi(a,i,l,s,n)),n&&u&2048&&yh(i.alternate,i);break;case 24:gi(a,i,l,s,n),n&&u&2048&&hh(i.alternate,i);break;default:gi(a,i,l,s,n)}t=t.sibling}}function Ss(e,t){if(t.subtreeFlags&10256)for(t=t.child;t!==null;){var o=e,r=t,n=r.flags;switch(r.tag){case 22:Ss(o,r),n&2048&&yh(r.alternate,r);break;case 24:Ss(o,r),n&2048&&hh(r.alternate,r);break;default:Ss(o,r)}t=t.sibling}}var fs=8192;function hi(e,t,o){if(e.subtreeFlags&fs)for(e=e.child;e!==null;)PS(e,t,o),e=e.sibling}function PS(e,t,o){switch(e.tag){case 26:hi(e,t,o),e.flags&fs&&e.memoizedState!==null&&lA(o,Zo,e.memoizedState,e.memoizedProps);break;case 5:hi(e,t,o);break;case 3:case 4:var r=Zo;Zo=Rp(e.stateNode.containerInfo),hi(e,t,o),Zo=r;break;case 22:e.memoizedState===null&&(r=e.alternate,r!==null&&r.memoizedState!==null?(r=fs,fs=16777216,hi(e,t,o),fs=r):hi(e,t,o));break;default:hi(e,t,o)}}function RS(e){var t=e.alternate;if(t!==null&&(e=t.child,e!==null)){t.child=null;do t=e.sibling,e.sibling=null,e=t;while(e!==null)}}function as(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var o=0;o<t.length;o++){var r=t[o];yt=r,MS(r,e)}RS(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)OS(e),e=e.sibling}function OS(e){switch(e.tag){case 0:case 11:case 15:as(e),e.flags&2048&&_n(9,e,e.return);break;case 3:as(e);break;case 12:as(e);break;case 22:var t=e.stateNode;e.memoizedState!==null&&t._visibility&2&&(e.return===null||e.return.tag!==13)?(t._visibility&=-3,Zc(e)):as(e);break;default:as(e)}}function Zc(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var o=0;o<t.length;o++){var r=t[o];yt=r,MS(r,e)}RS(e)}for(e=e.child;e!==null;){switch(t=e,t.tag){case 0:case 11:case 15:_n(8,t,t.return),Zc(t);break;case 22:o=t.stateNode,o._visibility&2&&(o._visibility&=-3,Zc(t));break;default:Zc(t)}e=e.sibling}}function MS(e,t){for(;yt!==null;){var o=yt;switch(o.tag){case 0:case 11:case 15:_n(8,o,t);break;case 23:case 22:if(o.memoizedState!==null&&o.memoizedState.cachePool!==null){var r=o.memoizedState.cachePool.pool;r!=null&&r.refCount++}break;case 24:$s(o.memoizedState.cache)}if(r=o.child,r!==null)r.return=o,yt=r;else e:for(o=e;yt!==null;){r=yt;var n=r.sibling,a=r.return;if(bS(r),r===o){yt=null;break e}if(n!==null){n.return=a,yt=n;break e}yt=a}}}var EM={getCacheForType:function(e){var t=Mt(it),o=t.data.get(e);return o===void 0&&(o=e(),t.data.set(e,o)),o},cacheSignal:function(){return Mt(it).controller.signal}},PM=typeof WeakMap=="function"?WeakMap:Map,de=0,Me=null,oe=null,ne=0,Ce=0,po=null,bn=!1,Ji=!1,gh=!1,qr=0,Ze=0,Dn=0,la=0,bh=0,yo=0,qi=0,Cs=null,eo=null,gy=!1,Ip=0,AS=0,Tp=1/0,vp=null,Pn=null,pt=0,Rn=null,Gi=null,Lr=0,by=0,Ty=null,NS=null,Es=0,vy=null;function To(){return(de&2)!==0&&ne!==0?ne&-ne:$.T!==null?vh():Lv()}function wS(){if(yo===0)if((ne&536870912)===0||ie){var e=Pc;Pc<<=1,(Pc&3932160)===0&&(Pc=262144),yo=e}else yo=536870912;return e=xo.current,e!==null&&(e.flags|=32),yo}function to(e,t,o){(e===Me&&(Ce===2||Ce===9)||e.cancelPendingCommit!==null)&&($i(e,0),Tn(e,ne,yo,!1)),Fs(e,o),((de&2)===0||e!==Me)&&(e===Me&&((de&2)===0&&(la|=o),Ze===4&&Tn(e,ne,yo,!1)),mr(e))}function _S(e,t,o){if((de&6)!==0)throw Error(z(327));var r=!o&&(t&127)===0&&(t&e.expiredLanes)===0||Is(e,t),n=r?MM(e,t):Nm(e,t,!0),a=r;do{if(n===0){Ji&&!r&&Tn(e,t,0,!1);break}else{if(o=e.current.alternate,a&&!RM(o)){n=Nm(e,t,!1),a=!1;continue}if(n===2){if(a=t,e.errorRecoveryDisabledLanes&a)var i=0;else i=e.pendingLanes&-536870913,i=i!==0?i:i&536870912?536870912:0;if(i!==0){t=i;e:{var l=e;n=Cs;var s=l.current.memoizedState.isDehydrated;if(s&&($i(l,i).flags|=256),i=Nm(l,i,!1),i!==2){if(gh&&!s){l.errorRecoveryDisabledLanes|=a,la|=a,n=4;break e}a=eo,eo=n,a!==null&&(eo===null?eo=a:eo.push.apply(eo,a))}n=i}if(a=!1,n!==2)continue}}if(n===1){$i(e,0),Tn(e,t,0,!0);break}e:{switch(r=e,a=n,a){case 0:case 1:throw Error(z(345));case 4:if((t&4194048)!==t)break;case 6:Tn(r,t,yo,!bn);break e;case 2:eo=null;break;case 3:case 5:break;default:throw Error(z(329))}if((t&62914560)===t&&(n=Ip+300-ho(),10<n)){if(Tn(r,t,yo,!bn),wp(r,0,!0)!==0)break e;Lr=t,r.timeoutHandle=WS(QT.bind(null,r,o,eo,vp,gy,t,yo,la,qi,bn,a,"Throttled",-0,0),n);break e}QT(r,o,eo,vp,gy,t,yo,la,qi,bn,a,null,-0,0)}}break}while(!0);mr(e)}function QT(e,t,o,r,n,a,i,l,s,u,p,f,d,c){if(e.timeoutHandle=-1,f=t.subtreeFlags,f&8192||(f&16785408)===16785408){f={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:Br},PS(t,a,f);var T=(a&62914560)===a?Ip-ho():(a&4194048)===a?AS-ho():0;if(T=sA(f,T),T!==null){Lr=a,e.cancelPendingCommit=T(WT.bind(null,e,t,a,o,r,n,i,l,s,p,f,null,d,c)),Tn(e,a,i,!u);return}}WT(e,t,a,o,r,n,i,l,s)}function RM(e){for(var t=e;;){var o=t.tag;if((o===0||o===11||o===15)&&t.flags&16384&&(o=t.updateQueue,o!==null&&(o=o.stores,o!==null)))for(var r=0;r<o.length;r++){var n=o[r],a=n.getSnapshot;n=n.value;try{if(!vo(a(),n))return!1}catch{return!1}}if(o=t.child,t.subtreeFlags&16384&&o!==null)o.return=t,t=o;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function Tn(e,t,o,r){t&=~bh,t&=~la,e.suspendedLanes|=t,e.pingedLanes&=~t,r&&(e.warmLanes|=t),r=e.expirationTimes;for(var n=t;0<n;){var a=31-bo(n),i=1<<a;r[a]=-1,n&=~i}o!==0&&kv(e,o,t)}function Fp(){return(de&6)===0?(Xs(0,!1),!1):!0}function Th(){if(oe!==null){if(Ce===0)var e=oe.return;else e=oe,kr=ga=null,nh(e),Bi=null,_s=0,e=oe;for(;e!==null;)pS(e.alternate,e),e=e.return;oe=null}}function $i(e,t){var o=e.timeoutHandle;o!==-1&&(e.timeoutHandle=-1,qM(o)),o=e.cancelPendingCommit,o!==null&&(e.cancelPendingCommit=null,o()),Lr=0,Th(),Me=e,oe=o=Ur(e.current,null),ne=t,Ce=0,po=null,bn=!1,Ji=Is(e,t),gh=!1,qi=yo=bh=la=Dn=Ze=0,eo=Cs=null,gy=!1,(t&8)!==0&&(t|=t&32);var r=e.entangledLanes;if(r!==0)for(e=e.entanglements,r&=t;0<r;){var n=31-bo(r),a=1<<n;t|=e[n],r&=~a}return qr=t,Bp(),o}function DS(e,t){Z=null,$.H=zs,t===Wi||t===Up?(t=MT(),Ce=3):t===Zy?(t=MT(),Ce=4):Ce=t===dh?8:t!==null&&typeof t=="object"&&typeof t.then=="function"?6:1,po=t,oe===null&&(Ze=1,hp(e,Uo(t,e.current)))}function zS(){var e=xo.current;return e===null?!0:(ne&4194048)===ne?Lo===null:(ne&62914560)===ne||(ne&536870912)!==0?e===Lo:!1}function BS(){var e=$.H;return $.H=zs,e===null?zs:e}function kS(){var e=$.A;return $.A=EM,e}function xp(){Ze=4,bn||(ne&4194048)!==ne&&xo.current!==null||(Ji=!0),(Dn&134217727)===0&&(la&134217727)===0||Me===null||Tn(Me,ne,yo,!1)}function Nm(e,t,o){var r=de;de|=2;var n=BS(),a=kS();(Me!==e||ne!==t)&&(vp=null,$i(e,t)),t=!1;var i=Ze;e:do try{if(Ce!==0&&oe!==null){var l=oe,s=po;switch(Ce){case 8:Th(),i=6;break e;case 3:case 2:case 9:case 6:xo.current===null&&(t=!0);var u=Ce;if(Ce=0,po=null,Ni(e,l,s,u),o&&Ji){i=0;break e}break;default:u=Ce,Ce=0,po=null,Ni(e,l,s,u)}}OM(),i=Ze;break}catch(p){DS(e,p)}while(!0);return t&&e.shellSuspendCounter++,kr=ga=null,de=r,$.H=n,$.A=a,oe===null&&(Me=null,ne=0,Bp()),i}function OM(){for(;oe!==null;)US(oe)}function MM(e,t){var o=de;de|=2;var r=BS(),n=kS();Me!==e||ne!==t?(vp=null,Tp=ho()+500,$i(e,t)):Ji=Is(e,t);e:do try{if(Ce!==0&&oe!==null){t=oe;var a=po;t:switch(Ce){case 1:Ce=0,po=null,Ni(e,t,a,1);break;case 2:case 9:if(OT(a)){Ce=0,po=null,ZT(t);break}t=function(){Ce!==2&&Ce!==9||Me!==e||(Ce=7),mr(e)},a.then(t,t);break e;case 3:Ce=7;break e;case 4:Ce=5;break e;case 7:OT(a)?(Ce=0,po=null,ZT(t)):(Ce=0,po=null,Ni(e,t,a,7));break;case 5:var i=null;switch(oe.tag){case 26:i=oe.memoizedState;case 5:case 27:var l=oe;if(i?r1(i):l.stateNode.complete){Ce=0,po=null;var s=l.sibling;if(s!==null)oe=s;else{var u=l.return;u!==null?(oe=u,qp(u)):oe=null}break t}}Ce=0,po=null,Ni(e,t,a,5);break;case 6:Ce=0,po=null,Ni(e,t,a,6);break;case 8:Th(),Ze=6;break e;default:throw Error(z(462))}}AM();break}catch(p){DS(e,p)}while(!0);return kr=ga=null,$.H=r,$.A=n,de=o,oe!==null?0:(Me=null,ne=0,Bp(),Ze)}function AM(){for(;oe!==null&&!WO();)US(oe)}function US(e){var t=cS(e.alternate,e,qr);e.memoizedProps=e.pendingProps,t===null?qp(e):oe=t}function ZT(e){var t=e,o=t.alternate;switch(t.tag){case 15:case 0:t=qT(o,t,t.pendingProps,t.type,void 0,ne);break;case 11:t=qT(o,t,t.pendingProps,t.type.render,t.ref,ne);break;case 5:nh(t);default:pS(o,t),t=oe=px(t,qr),t=cS(o,t,qr)}e.memoizedProps=e.pendingProps,t===null?qp(e):oe=t}function Ni(e,t,o,r){kr=ga=null,nh(t),Bi=null,_s=0;var n=t.return;try{if(gM(e,n,t,o,ne)){Ze=1,hp(e,Uo(o,e.current)),oe=null;return}}catch(a){if(n!==null)throw oe=n,a;Ze=1,hp(e,Uo(o,e.current)),oe=null;return}t.flags&32768?(ie||r===1?e=!0:Ji||(ne&536870912)!==0?e=!1:(bn=e=!0,(r===2||r===9||r===3||r===6)&&(r=xo.current,r!==null&&r.tag===13&&(r.flags|=16384))),jS(t,e)):qp(t)}function qp(e){var t=e;do{if((t.flags&32768)!==0){jS(t,bn);return}e=t.return;var o=vM(t.alternate,t,qr);if(o!==null){oe=o;return}if(t=t.sibling,t!==null){oe=t;return}oe=t=e}while(t!==null);Ze===0&&(Ze=5)}function jS(e,t){do{var o=xM(e.alternate,e);if(o!==null){o.flags&=32767,oe=o;return}if(o=e.return,o!==null&&(o.flags|=32768,o.subtreeFlags=0,o.deletions=null),!t&&(e=e.sibling,e!==null)){oe=e;return}oe=e=o}while(e!==null);Ze=6,oe=null}function WT(e,t,o,r,n,a,i,l,s){e.cancelPendingCommit=null;do Gp();while(pt!==0);if((de&6)!==0)throw Error(z(327));if(t!==null){if(t===e.current)throw Error(z(177));if(a=t.lanes|t.childLanes,a|=qy,s2(e,o,a,i,l,s),e===Me&&(oe=Me=null,ne=0),Gi=t,Rn=e,Lr=o,by=a,Ty=n,NS=r,(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,DM(ap,function(){return FS(),null})):(e.callbackNode=null,e.callbackPriority=0),r=(t.flags&13878)!==0,(t.subtreeFlags&13878)!==0||r){r=$.T,$.T=null,n=me.p,me.p=2,i=de,de|=4;try{SM(e,t,o)}finally{de=i,me.p=n,$.T=r}}pt=1,LS(),HS(),VS()}}function LS(){if(pt===1){pt=0;var e=Rn,t=Gi,o=(t.flags&13878)!==0;if((t.subtreeFlags&13878)!==0||o){o=$.T,$.T=null;var r=me.p;me.p=2;var n=de;de|=4;try{SS(t,e);var a=Ey,i=rx(e.containerInfo),l=a.focusedElem,s=a.selectionRange;if(i!==l&&l&&l.ownerDocument&&ox(l.ownerDocument.documentElement,l)){if(s!==null&&Fy(l)){var u=s.start,p=s.end;if(p===void 0&&(p=u),"selectionStart"in l)l.selectionStart=u,l.selectionEnd=Math.min(p,l.value.length);else{var f=l.ownerDocument||document,d=f&&f.defaultView||window;if(d.getSelection){var c=d.getSelection(),T=l.textContent.length,v=Math.min(s.start,T),x=s.end===void 0?v:Math.min(s.end,T);!c.extend&&v>x&&(i=x,x=v,v=i);var m=vT(l,v),h=vT(l,x);if(m&&h&&(c.rangeCount!==1||c.anchorNode!==m.node||c.anchorOffset!==m.offset||c.focusNode!==h.node||c.focusOffset!==h.offset)){var g=f.createRange();g.setStart(m.node,m.offset),c.removeAllRanges(),v>x?(c.addRange(g),c.extend(h.node,h.offset)):(g.setEnd(h.node,h.offset),c.addRange(g))}}}}for(f=[],c=l;c=c.parentNode;)c.nodeType===1&&f.push({element:c,left:c.scrollLeft,top:c.scrollTop});for(typeof l.focus=="function"&&l.focus(),l=0;l<f.length;l++){var b=f[l];b.element.scrollLeft=b.left,b.element.scrollTop=b.top}}Ap=!!Cy,Ey=Cy=null}finally{de=n,me.p=r,$.T=o}}e.current=t,pt=2}}function HS(){if(pt===2){pt=0;var e=Rn,t=Gi,o=(t.flags&8772)!==0;if((t.subtreeFlags&8772)!==0||o){o=$.T,$.T=null;var r=me.p;me.p=2;var n=de;de|=4;try{gS(e,t.alternate,t)}finally{de=n,me.p=r,$.T=o}}pt=3}}function VS(){if(pt===4||pt===3){pt=0,JO();var e=Rn,t=Gi,o=Lr,r=NS;(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?pt=5:(pt=0,Gi=Rn=null,IS(e,e.pendingLanes));var n=e.pendingLanes;if(n===0&&(Pn=null),ky(o),t=t.stateNode,go&&typeof go.onCommitFiberRoot=="function")try{go.onCommitFiberRoot(Vs,t,void 0,(t.current.flags&128)===128)}catch{}if(r!==null){t=$.T,n=me.p,me.p=2,$.T=null;try{for(var a=e.onRecoverableError,i=0;i<r.length;i++){var l=r[i];a(l.value,{componentStack:l.stack})}}finally{$.T=t,me.p=n}}(Lr&3)!==0&&Gp(),mr(e),n=e.pendingLanes,(o&261930)!==0&&(n&42)!==0?e===vy?Es++:(Es=0,vy=e):Es=0,Xs(0,!1)}}function IS(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,$s(t)))}function Gp(){return LS(),HS(),VS(),FS()}function FS(){if(pt!==5)return!1;var e=Rn,t=by;by=0;var o=ky(Lr),r=$.T,n=me.p;try{me.p=32>o?32:o,$.T=null,o=Ty,Ty=null;var a=Rn,i=Lr;if(pt=0,Gi=Rn=null,Lr=0,(de&6)!==0)throw Error(z(331));var l=de;if(de|=4,OS(a.current),ES(a,a.current,i,o),de=l,Xs(0,!1),go&&typeof go.onPostCommitFiberRoot=="function")try{go.onPostCommitFiberRoot(Vs,a)}catch{}return!0}finally{me.p=n,$.T=r,IS(e,t)}}function JT(e,t,o){t=Uo(o,t),t=dy(e.stateNode,t,2),e=En(e,t,2),e!==null&&(Fs(e,2),mr(e))}function Ee(e,t,o){if(e.tag===3)JT(e,e,o);else for(;t!==null;){if(t.tag===3){JT(t,e,o);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(Pn===null||!Pn.has(r))){e=Uo(o,e),o=nS(2),r=En(t,o,2),r!==null&&(aS(o,r,t,e),Fs(r,2),mr(r));break}}t=t.return}}function wm(e,t,o){var r=e.pingCache;if(r===null){r=e.pingCache=new PM;var n=new Set;r.set(t,n)}else n=r.get(t),n===void 0&&(n=new Set,r.set(t,n));n.has(o)||(gh=!0,n.add(o),e=NM.bind(null,e,t,o),t.then(e,e))}function NM(e,t,o){var r=e.pingCache;r!==null&&r.delete(t),e.pingedLanes|=e.suspendedLanes&o,e.warmLanes&=~o,Me===e&&(ne&o)===o&&(Ze===4||Ze===3&&(ne&62914560)===ne&&300>ho()-Ip?(de&2)===0&&$i(e,0):bh|=o,qi===ne&&(qi=0)),mr(e)}function qS(e,t){t===0&&(t=Bv()),e=ha(e,t),e!==null&&(Fs(e,t),mr(e))}function wM(e){var t=e.memoizedState,o=0;t!==null&&(o=t.retryLane),qS(e,o)}function _M(e,t){var o=0;switch(e.tag){case 31:case 13:var r=e.stateNode,n=e.memoizedState;n!==null&&(o=n.retryLane);break;case 19:r=e.stateNode;break;case 22:r=e.stateNode._retryCache;break;default:throw Error(z(314))}r!==null&&r.delete(t),qS(e,o)}function DM(e,t){return zy(e,t)}var Sp=null,bi=null,xy=!1,Cp=!1,_m=!1,vn=0;function mr(e){e!==bi&&e.next===null&&(bi===null?Sp=bi=e:bi=bi.next=e),Cp=!0,xy||(xy=!0,BM())}function Xs(e,t){if(!_m&&Cp){_m=!0;do for(var o=!1,r=Sp;r!==null;){if(!t)if(e!==0){var n=r.pendingLanes;if(n===0)var a=0;else{var i=r.suspendedLanes,l=r.pingedLanes;a=(1<<31-bo(42|e)+1)-1,a&=n&~(i&~l),a=a&201326741?a&201326741|1:a?a|2:0}a!==0&&(o=!0,ev(r,a))}else a=ne,a=wp(r,r===Me?a:0,r.cancelPendingCommit!==null||r.timeoutHandle!==-1),(a&3)===0||Is(r,a)||(o=!0,ev(r,a));r=r.next}while(o);_m=!1}}function zM(){GS()}function GS(){Cp=xy=!1;var e=0;vn!==0&&FM()&&(e=vn);for(var t=ho(),o=null,r=Sp;r!==null;){var n=r.next,a=$S(r,t);a===0?(r.next=null,o===null?Sp=n:o.next=n,n===null&&(bi=o)):(o=r,(e!==0||(a&3)!==0)&&(Cp=!0)),r=n}pt!==0&&pt!==5||Xs(e,!1),vn!==0&&(vn=0)}function $S(e,t){for(var o=e.suspendedLanes,r=e.pingedLanes,n=e.expirationTimes,a=e.pendingLanes&-62914561;0<a;){var i=31-bo(a),l=1<<i,s=n[i];s===-1?((l&o)===0||(l&r)!==0)&&(n[i]=l2(l,t)):s<=t&&(e.expiredLanes|=l),a&=~l}if(t=Me,o=ne,o=wp(e,e===t?o:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),r=e.callbackNode,o===0||e===t&&(Ce===2||Ce===9)||e.cancelPendingCommit!==null)return r!==null&&r!==null&&lm(r),e.callbackNode=null,e.callbackPriority=0;if((o&3)===0||Is(e,o)){if(t=o&-o,t===e.callbackPriority)return t;switch(r!==null&&lm(r),ky(o)){case 2:case 8:o=Dv;break;case 32:o=ap;break;case 268435456:o=zv;break;default:o=ap}return r=YS.bind(null,e),o=zy(o,r),e.callbackPriority=t,e.callbackNode=o,t}return r!==null&&r!==null&&lm(r),e.callbackPriority=2,e.callbackNode=null,2}function YS(e,t){if(pt!==0&&pt!==5)return e.callbackNode=null,e.callbackPriority=0,null;var o=e.callbackNode;if(Gp()&&e.callbackNode!==o)return null;var r=ne;return r=wp(e,e===Me?r:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),r===0?null:(_S(e,r,t),$S(e,ho()),e.callbackNode!=null&&e.callbackNode===o?YS.bind(null,e):null)}function ev(e,t){if(Gp())return null;_S(e,t,!0)}function BM(){GM(function(){(de&6)!==0?zy(_v,zM):GS()})}function vh(){if(vn===0){var e=Vi;e===0&&(e=Ec,Ec<<=1,(Ec&261888)===0&&(Ec=256)),vn=e}return vn}function tv(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:Ic(""+e)}function ov(e,t){var o=t.ownerDocument.createElement("input");return o.name=t.name,o.value=t.value,e.id&&o.setAttribute("form",e.id),t.parentNode.insertBefore(o,t),e=new FormData(e),o.parentNode.removeChild(o),e}function kM(e,t,o,r,n){if(t==="submit"&&o&&o.stateNode===n){var a=tv((n[oo]||null).action),i=r.submitter;i&&(t=(t=i[oo]||null)?tv(t.formAction):i.getAttribute("formAction"),t!==null&&(a=t,i=null));var l=new _p("action","action",null,r,n);e.push({event:l,listeners:[{instance:null,listener:function(){if(r.defaultPrevented){if(vn!==0){var s=i?ov(n,i):new FormData(n);py(o,{pending:!0,data:s,method:n.method,action:a},null,s)}}else typeof a=="function"&&(l.preventDefault(),s=i?ov(n,i):new FormData(n),py(o,{pending:!0,data:s,method:n.method,action:a},a,s))},currentTarget:n}]})}}for(kc=0;kc<Jm.length;kc++)Uc=Jm[kc],rv=Uc.toLowerCase(),nv=Uc[0].toUpperCase()+Uc.slice(1),Wo(rv,"on"+nv);var Uc,rv,nv,kc;Wo(ax,"onAnimationEnd");Wo(ix,"onAnimationIteration");Wo(lx,"onAnimationStart");Wo("dblclick","onDoubleClick");Wo("focusin","onFocus");Wo("focusout","onBlur");Wo(eM,"onTransitionRun");Wo(tM,"onTransitionStart");Wo(oM,"onTransitionCancel");Wo(sx,"onTransitionEnd");Li("onMouseEnter",["mouseout","mouseover"]);Li("onMouseLeave",["mouseout","mouseover"]);Li("onPointerEnter",["pointerout","pointerover"]);Li("onPointerLeave",["pointerout","pointerover"]);da("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));da("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));da("onBeforeInput",["compositionend","keypress","textInput","paste"]);da("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));da("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));da("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Bs="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(" "),UM=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Bs));function KS(e,t){t=(t&4)!==0;for(var o=0;o<e.length;o++){var r=e[o],n=r.event;r=r.listeners;e:{var a=void 0;if(t)for(var i=r.length-1;0<=i;i--){var l=r[i],s=l.instance,u=l.currentTarget;if(l=l.listener,s!==a&&n.isPropagationStopped())break e;a=l,n.currentTarget=u;try{a(n)}catch(p){lp(p)}n.currentTarget=null,a=s}else for(i=0;i<r.length;i++){if(l=r[i],s=l.instance,u=l.currentTarget,l=l.listener,s!==a&&n.isPropagationStopped())break e;a=l,n.currentTarget=u;try{a(n)}catch(p){lp(p)}n.currentTarget=null,a=s}}}}function te(e,t){var o=t[Gm];o===void 0&&(o=t[Gm]=new Set);var r=e+"__bubble";o.has(r)||(XS(t,e,2,!1),o.add(r))}function Dm(e,t,o){var r=0;t&&(r|=4),XS(o,e,r,t)}var jc="_reactListening"+Math.random().toString(36).slice(2);function xh(e){if(!e[jc]){e[jc]=!0,Hv.forEach(function(o){o!=="selectionchange"&&(UM.has(o)||Dm(o,!1,e),Dm(o,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[jc]||(t[jc]=!0,Dm("selectionchange",!1,t))}}function XS(e,t,o,r){switch(s1(t)){case 2:var n=pA;break;case 8:n=fA;break;default:n=Ph}o=n.bind(null,t,o,e),n=void 0,!Qm||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(n=!0),r?n!==void 0?e.addEventListener(t,o,{capture:!0,passive:n}):e.addEventListener(t,o,!0):n!==void 0?e.addEventListener(t,o,{passive:n}):e.addEventListener(t,o,!1)}function zm(e,t,o,r,n){var a=r;if((t&1)===0&&(t&2)===0&&r!==null)e:for(;;){if(r===null)return;var i=r.tag;if(i===3||i===4){var l=r.stateNode.containerInfo;if(l===n)break;if(i===4)for(i=r.return;i!==null;){var s=i.tag;if((s===3||s===4)&&i.stateNode.containerInfo===n)return;i=i.return}for(;l!==null;){if(i=xi(l),i===null)return;if(s=i.tag,s===5||s===6||s===26||s===27){r=a=i;continue e}l=l.parentNode}}r=r.return}Kv(function(){var u=a,p=Ly(o),f=[];e:{var d=ux.get(e);if(d!==void 0){var c=_p,T=e;switch(e){case"keypress":if(qc(o)===0)break e;case"keydown":case"keyup":c=_2;break;case"focusin":T="focus",c=fm;break;case"focusout":T="blur",c=fm;break;case"beforeblur":case"afterblur":c=fm;break;case"click":if(o.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":c=pT;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":c=v2;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":c=B2;break;case ax:case ix:case lx:c=C2;break;case sx:c=U2;break;case"scroll":case"scrollend":c=b2;break;case"wheel":c=L2;break;case"copy":case"cut":case"paste":c=P2;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":c=dT;break;case"toggle":case"beforetoggle":c=V2}var v=(t&4)!==0,x=!v&&(e==="scroll"||e==="scrollend"),m=v?d!==null?d+"Capture":null:d;v=[];for(var h=u,g;h!==null;){var b=h;if(g=b.stateNode,b=b.tag,b!==5&&b!==26&&b!==27||g===null||m===null||(b=Os(h,m),b!=null&&v.push(ks(h,b,g))),x)break;h=h.return}0<v.length&&(d=new c(d,T,null,o,p),f.push({event:d,listeners:v}))}}if((t&7)===0){e:{if(d=e==="mouseover"||e==="pointerover",c=e==="mouseout"||e==="pointerout",d&&o!==Xm&&(T=o.relatedTarget||o.fromElement)&&(xi(T)||T[Xi]))break e;if((c||d)&&(d=p.window===p?p:(d=p.ownerDocument)?d.defaultView||d.parentWindow:window,c?(T=o.relatedTarget||o.toElement,c=u,T=T?xi(T):null,T!==null&&(x=Hs(T),v=T.tag,T!==x||v!==5&&v!==27&&v!==6)&&(T=null)):(c=null,T=u),c!==T)){if(v=pT,b="onMouseLeave",m="onMouseEnter",h="mouse",(e==="pointerout"||e==="pointerover")&&(v=dT,b="onPointerLeave",m="onPointerEnter",h="pointer"),x=c==null?d:cs(c),g=T==null?d:cs(T),d=new v(b,h+"leave",c,o,p),d.target=x,d.relatedTarget=g,b=null,xi(p)===u&&(v=new v(m,h+"enter",T,o,p),v.target=g,v.relatedTarget=x,b=v),x=b,c&&T)t:{for(v=jM,m=c,h=T,g=0,b=m;b;b=v(b))g++;b=0;for(var E=h;E;E=v(E))b++;for(;0<g-b;)m=v(m),g--;for(;0<b-g;)h=v(h),b--;for(;g--;){if(m===h||h!==null&&m===h.alternate){v=m;break t}m=v(m),h=v(h)}v=null}else v=null;c!==null&&av(f,d,c,v,!1),T!==null&&x!==null&&av(f,x,T,v,!0)}}e:{if(d=u?cs(u):window,c=d.nodeName&&d.nodeName.toLowerCase(),c==="select"||c==="input"&&d.type==="file")var S=gT;else if(hT(d))if(ex)S=Z2;else{S=X2;var C=K2}else c=d.nodeName,!c||c.toLowerCase()!=="input"||d.type!=="checkbox"&&d.type!=="radio"?u&&jy(u.elementType)&&(S=gT):S=Q2;if(S&&(S=S(e,u))){Jv(f,S,o,p);break e}C&&C(e,d,u),e==="focusout"&&u&&d.type==="number"&&u.memoizedProps.value!=null&&Km(d,"number",d.value)}switch(C=u?cs(u):window,e){case"focusin":(hT(C)||C.contentEditable==="true")&&(Ei=C,Zm=u,ys=null);break;case"focusout":ys=Zm=Ei=null;break;case"mousedown":Wm=!0;break;case"contextmenu":case"mouseup":case"dragend":Wm=!1,xT(f,o,p);break;case"selectionchange":if(J2)break;case"keydown":case"keyup":xT(f,o,p)}var O;if(Iy)e:{switch(e){case"compositionstart":var N="onCompositionStart";break e;case"compositionend":N="onCompositionEnd";break e;case"compositionupdate":N="onCompositionUpdate";break e}N=void 0}else Ci?Zv(e,o)&&(N="onCompositionEnd"):e==="keydown"&&o.keyCode===229&&(N="onCompositionStart");N&&(Qv&&o.locale!=="ko"&&(Ci||N!=="onCompositionStart"?N==="onCompositionEnd"&&Ci&&(O=Xv()):(gn=p,Hy="value"in gn?gn.value:gn.textContent,Ci=!0)),C=Ep(u,N),0<C.length&&(N=new fT(N,e,null,o,p),f.push({event:N,listeners:C}),O?N.data=O:(O=Wv(o),O!==null&&(N.data=O)))),(O=F2?q2(e,o):G2(e,o))&&(N=Ep(u,"onBeforeInput"),0<N.length&&(C=new fT("onBeforeInput","beforeinput",null,o,p),f.push({event:C,listeners:N}),C.data=O)),kM(f,e,u,o,p)}KS(f,t)})}function ks(e,t,o){return{instance:e,listener:t,currentTarget:o}}function Ep(e,t){for(var o=t+"Capture",r=[];e!==null;){var n=e,a=n.stateNode;if(n=n.tag,n!==5&&n!==26&&n!==27||a===null||(n=Os(e,o),n!=null&&r.unshift(ks(e,n,a)),n=Os(e,t),n!=null&&r.push(ks(e,n,a))),e.tag===3)return r;e=e.return}return[]}function jM(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function av(e,t,o,r,n){for(var a=t._reactName,i=[];o!==null&&o!==r;){var l=o,s=l.alternate,u=l.stateNode;if(l=l.tag,s!==null&&s===r)break;l!==5&&l!==26&&l!==27||u===null||(s=u,n?(u=Os(o,a),u!=null&&i.unshift(ks(o,u,s))):n||(u=Os(o,a),u!=null&&i.push(ks(o,u,s)))),o=o.return}i.length!==0&&e.push({event:t,listeners:i})}var LM=/\r\n?/g,HM=/\u0000|\uFFFD/g;function iv(e){return(typeof e=="string"?e:""+e).replace(LM,`
|
|
9
|
-
`).replace(HM,"")}function QS(e,t){return t=iv(t),iv(e)===t}function Re(e,t,o,r,n,a){switch(o){case"children":typeof r=="string"?t==="body"||t==="textarea"&&r===""||Hi(e,r):(typeof r=="number"||typeof r=="bigint")&&t!=="body"&&Hi(e,""+r);break;case"className":Oc(e,"class",r);break;case"tabIndex":Oc(e,"tabindex",r);break;case"dir":case"role":case"viewBox":case"width":case"height":Oc(e,o,r);break;case"style":Yv(e,r,a);break;case"data":if(t!=="object"){Oc(e,"data",r);break}case"src":case"href":if(r===""&&(t!=="a"||o!=="href")){e.removeAttribute(o);break}if(r==null||typeof r=="function"||typeof r=="symbol"||typeof r=="boolean"){e.removeAttribute(o);break}r=Ic(""+r),e.setAttribute(o,r);break;case"action":case"formAction":if(typeof r=="function"){e.setAttribute(o,"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 a=="function"&&(o==="formAction"?(t!=="input"&&Re(e,t,"name",n.name,n,null),Re(e,t,"formEncType",n.formEncType,n,null),Re(e,t,"formMethod",n.formMethod,n,null),Re(e,t,"formTarget",n.formTarget,n,null)):(Re(e,t,"encType",n.encType,n,null),Re(e,t,"method",n.method,n,null),Re(e,t,"target",n.target,n,null)));if(r==null||typeof r=="symbol"||typeof r=="boolean"){e.removeAttribute(o);break}r=Ic(""+r),e.setAttribute(o,r);break;case"onClick":r!=null&&(e.onclick=Br);break;case"onScroll":r!=null&&te("scroll",e);break;case"onScrollEnd":r!=null&&te("scrollend",e);break;case"dangerouslySetInnerHTML":if(r!=null){if(typeof r!="object"||!("__html"in r))throw Error(z(61));if(o=r.__html,o!=null){if(n.children!=null)throw Error(z(60));e.innerHTML=o}}break;case"multiple":e.multiple=r&&typeof r!="function"&&typeof r!="symbol";break;case"muted":e.muted=r&&typeof r!="function"&&typeof r!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(r==null||typeof r=="function"||typeof r=="boolean"||typeof r=="symbol"){e.removeAttribute("xlink:href");break}o=Ic(""+r),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",o);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":r!=null&&typeof r!="function"&&typeof r!="symbol"?e.setAttribute(o,""+r):e.removeAttribute(o);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":r&&typeof r!="function"&&typeof r!="symbol"?e.setAttribute(o,""):e.removeAttribute(o);break;case"capture":case"download":r===!0?e.setAttribute(o,""):r!==!1&&r!=null&&typeof r!="function"&&typeof r!="symbol"?e.setAttribute(o,r):e.removeAttribute(o);break;case"cols":case"rows":case"size":case"span":r!=null&&typeof r!="function"&&typeof r!="symbol"&&!isNaN(r)&&1<=r?e.setAttribute(o,r):e.removeAttribute(o);break;case"rowSpan":case"start":r==null||typeof r=="function"||typeof r=="symbol"||isNaN(r)?e.removeAttribute(o):e.setAttribute(o,r);break;case"popover":te("beforetoggle",e),te("toggle",e),Vc(e,"popover",r);break;case"xlinkActuate":Or(e,"http://www.w3.org/1999/xlink","xlink:actuate",r);break;case"xlinkArcrole":Or(e,"http://www.w3.org/1999/xlink","xlink:arcrole",r);break;case"xlinkRole":Or(e,"http://www.w3.org/1999/xlink","xlink:role",r);break;case"xlinkShow":Or(e,"http://www.w3.org/1999/xlink","xlink:show",r);break;case"xlinkTitle":Or(e,"http://www.w3.org/1999/xlink","xlink:title",r);break;case"xlinkType":Or(e,"http://www.w3.org/1999/xlink","xlink:type",r);break;case"xmlBase":Or(e,"http://www.w3.org/XML/1998/namespace","xml:base",r);break;case"xmlLang":Or(e,"http://www.w3.org/XML/1998/namespace","xml:lang",r);break;case"xmlSpace":Or(e,"http://www.w3.org/XML/1998/namespace","xml:space",r);break;case"is":Vc(e,"is",r);break;case"innerText":case"textContent":break;default:(!(2<o.length)||o[0]!=="o"&&o[0]!=="O"||o[1]!=="n"&&o[1]!=="N")&&(o=h2.get(o)||o,Vc(e,o,r))}}function Sy(e,t,o,r,n,a){switch(o){case"style":Yv(e,r,a);break;case"dangerouslySetInnerHTML":if(r!=null){if(typeof r!="object"||!("__html"in r))throw Error(z(61));if(o=r.__html,o!=null){if(n.children!=null)throw Error(z(60));e.innerHTML=o}}break;case"children":typeof r=="string"?Hi(e,r):(typeof r=="number"||typeof r=="bigint")&&Hi(e,""+r);break;case"onScroll":r!=null&&te("scroll",e);break;case"onScrollEnd":r!=null&&te("scrollend",e);break;case"onClick":r!=null&&(e.onclick=Br);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!Vv.hasOwnProperty(o))e:{if(o[0]==="o"&&o[1]==="n"&&(n=o.endsWith("Capture"),t=o.slice(2,n?o.length-7:void 0),a=e[oo]||null,a=a!=null?a[o]:null,typeof a=="function"&&e.removeEventListener(t,a,n),typeof r=="function")){typeof a!="function"&&a!==null&&(o in e?e[o]=null:e.hasAttribute(o)&&e.removeAttribute(o)),e.addEventListener(t,r,n);break e}o in e?e[o]=r:r===!0?e.setAttribute(o,""):Vc(e,o,r)}}}function At(e,t,o){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":te("error",e),te("load",e);var r=!1,n=!1,a;for(a in o)if(o.hasOwnProperty(a)){var i=o[a];if(i!=null)switch(a){case"src":r=!0;break;case"srcSet":n=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(z(137,t));default:Re(e,t,a,i,o,null)}}n&&Re(e,t,"srcSet",o.srcSet,o,null),r&&Re(e,t,"src",o.src,o,null);return;case"input":te("invalid",e);var l=a=i=n=null,s=null,u=null;for(r in o)if(o.hasOwnProperty(r)){var p=o[r];if(p!=null)switch(r){case"name":n=p;break;case"type":i=p;break;case"checked":s=p;break;case"defaultChecked":u=p;break;case"value":a=p;break;case"defaultValue":l=p;break;case"children":case"dangerouslySetInnerHTML":if(p!=null)throw Error(z(137,t));break;default:Re(e,t,r,p,o,null)}}qv(e,a,l,s,u,i,n,!1);return;case"select":te("invalid",e),r=i=a=null;for(n in o)if(o.hasOwnProperty(n)&&(l=o[n],l!=null))switch(n){case"value":a=l;break;case"defaultValue":i=l;break;case"multiple":r=l;default:Re(e,t,n,l,o,null)}t=a,o=i,e.multiple=!!r,t!=null?_i(e,!!r,t,!1):o!=null&&_i(e,!!r,o,!0);return;case"textarea":te("invalid",e),a=n=r=null;for(i in o)if(o.hasOwnProperty(i)&&(l=o[i],l!=null))switch(i){case"value":r=l;break;case"defaultValue":n=l;break;case"children":a=l;break;case"dangerouslySetInnerHTML":if(l!=null)throw Error(z(91));break;default:Re(e,t,i,l,o,null)}$v(e,r,n,a);return;case"option":for(s in o)o.hasOwnProperty(s)&&(r=o[s],r!=null)&&(s==="selected"?e.selected=r&&typeof r!="function"&&typeof r!="symbol":Re(e,t,s,r,o,null));return;case"dialog":te("beforetoggle",e),te("toggle",e),te("cancel",e),te("close",e);break;case"iframe":case"object":te("load",e);break;case"video":case"audio":for(r=0;r<Bs.length;r++)te(Bs[r],e);break;case"image":te("error",e),te("load",e);break;case"details":te("toggle",e);break;case"embed":case"source":case"link":te("error",e),te("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(u in o)if(o.hasOwnProperty(u)&&(r=o[u],r!=null))switch(u){case"children":case"dangerouslySetInnerHTML":throw Error(z(137,t));default:Re(e,t,u,r,o,null)}return;default:if(jy(t)){for(p in o)o.hasOwnProperty(p)&&(r=o[p],r!==void 0&&Sy(e,t,p,r,o,void 0));return}}for(l in o)o.hasOwnProperty(l)&&(r=o[l],r!=null&&Re(e,t,l,r,o,null))}function VM(e,t,o,r){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var n=null,a=null,i=null,l=null,s=null,u=null,p=null;for(c in o){var f=o[c];if(o.hasOwnProperty(c)&&f!=null)switch(c){case"checked":break;case"value":break;case"defaultValue":s=f;default:r.hasOwnProperty(c)||Re(e,t,c,null,r,f)}}for(var d in r){var c=r[d];if(f=o[d],r.hasOwnProperty(d)&&(c!=null||f!=null))switch(d){case"type":a=c;break;case"name":n=c;break;case"checked":u=c;break;case"defaultChecked":p=c;break;case"value":i=c;break;case"defaultValue":l=c;break;case"children":case"dangerouslySetInnerHTML":if(c!=null)throw Error(z(137,t));break;default:c!==f&&Re(e,t,d,c,r,f)}}Ym(e,i,l,s,u,p,a,n);return;case"select":c=i=l=d=null;for(a in o)if(s=o[a],o.hasOwnProperty(a)&&s!=null)switch(a){case"value":break;case"multiple":c=s;default:r.hasOwnProperty(a)||Re(e,t,a,null,r,s)}for(n in r)if(a=r[n],s=o[n],r.hasOwnProperty(n)&&(a!=null||s!=null))switch(n){case"value":d=a;break;case"defaultValue":l=a;break;case"multiple":i=a;default:a!==s&&Re(e,t,n,a,r,s)}t=l,o=i,r=c,d!=null?_i(e,!!o,d,!1):!!r!=!!o&&(t!=null?_i(e,!!o,t,!0):_i(e,!!o,o?[]:"",!1));return;case"textarea":c=d=null;for(l in o)if(n=o[l],o.hasOwnProperty(l)&&n!=null&&!r.hasOwnProperty(l))switch(l){case"value":break;case"children":break;default:Re(e,t,l,null,r,n)}for(i in r)if(n=r[i],a=o[i],r.hasOwnProperty(i)&&(n!=null||a!=null))switch(i){case"value":d=n;break;case"defaultValue":c=n;break;case"children":break;case"dangerouslySetInnerHTML":if(n!=null)throw Error(z(91));break;default:n!==a&&Re(e,t,i,n,r,a)}Gv(e,d,c);return;case"option":for(var T in o)d=o[T],o.hasOwnProperty(T)&&d!=null&&!r.hasOwnProperty(T)&&(T==="selected"?e.selected=!1:Re(e,t,T,null,r,d));for(s in r)d=r[s],c=o[s],r.hasOwnProperty(s)&&d!==c&&(d!=null||c!=null)&&(s==="selected"?e.selected=d&&typeof d!="function"&&typeof d!="symbol":Re(e,t,s,d,r,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 v in o)d=o[v],o.hasOwnProperty(v)&&d!=null&&!r.hasOwnProperty(v)&&Re(e,t,v,null,r,d);for(u in r)if(d=r[u],c=o[u],r.hasOwnProperty(u)&&d!==c&&(d!=null||c!=null))switch(u){case"children":case"dangerouslySetInnerHTML":if(d!=null)throw Error(z(137,t));break;default:Re(e,t,u,d,r,c)}return;default:if(jy(t)){for(var x in o)d=o[x],o.hasOwnProperty(x)&&d!==void 0&&!r.hasOwnProperty(x)&&Sy(e,t,x,void 0,r,d);for(p in r)d=r[p],c=o[p],!r.hasOwnProperty(p)||d===c||d===void 0&&c===void 0||Sy(e,t,p,d,r,c);return}}for(var m in o)d=o[m],o.hasOwnProperty(m)&&d!=null&&!r.hasOwnProperty(m)&&Re(e,t,m,null,r,d);for(f in r)d=r[f],c=o[f],!r.hasOwnProperty(f)||d===c||d==null&&c==null||Re(e,t,f,d,r,c)}function lv(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function IM(){if(typeof performance.getEntriesByType=="function"){for(var e=0,t=0,o=performance.getEntriesByType("resource"),r=0;r<o.length;r++){var n=o[r],a=n.transferSize,i=n.initiatorType,l=n.duration;if(a&&l&&lv(i)){for(i=0,l=n.responseEnd,r+=1;r<o.length;r++){var s=o[r],u=s.startTime;if(u>l)break;var p=s.transferSize,f=s.initiatorType;p&&lv(f)&&(s=s.responseEnd,i+=p*(s<l?1:(l-u)/(s-u)))}if(--r,t+=8*(a+i)/(n.duration/1e3),e++,10<e)break}}if(0<e)return t/e/1e6}return navigator.connection&&(e=navigator.connection.downlink,typeof e=="number")?e:5}var Cy=null,Ey=null;function Pp(e){return e.nodeType===9?e:e.ownerDocument}function sv(e){switch(e){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function ZS(e,t){if(e===0)switch(t){case"svg":return 1;case"math":return 2;default:return 0}return e===1&&t==="foreignObject"?0:e}function Py(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.children=="bigint"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var Bm=null;function FM(){var e=window.event;return e&&e.type==="popstate"?e===Bm?!1:(Bm=e,!0):(Bm=null,!1)}var WS=typeof setTimeout=="function"?setTimeout:void 0,qM=typeof clearTimeout=="function"?clearTimeout:void 0,uv=typeof Promise=="function"?Promise:void 0,GM=typeof queueMicrotask=="function"?queueMicrotask:typeof uv<"u"?function(e){return uv.resolve(null).then(e).catch($M)}:WS;function $M(e){setTimeout(function(){throw e})}function Bn(e){return e==="head"}function cv(e,t){var o=t,r=0;do{var n=o.nextSibling;if(e.removeChild(o),n&&n.nodeType===8)if(o=n.data,o==="/$"||o==="/&"){if(r===0){e.removeChild(n),Ki(t);return}r--}else if(o==="$"||o==="$?"||o==="$~"||o==="$!"||o==="&")r++;else if(o==="html")Ps(e.ownerDocument.documentElement);else if(o==="head"){o=e.ownerDocument.head,Ps(o);for(var a=o.firstChild;a;){var i=a.nextSibling,l=a.nodeName;a[qs]||l==="SCRIPT"||l==="STYLE"||l==="LINK"&&a.rel.toLowerCase()==="stylesheet"||o.removeChild(a),a=i}}else o==="body"&&Ps(e.ownerDocument.body);o=n}while(o);Ki(t)}function pv(e,t){var o=e;e=0;do{var r=o.nextSibling;if(o.nodeType===1?t?(o._stashedDisplay=o.style.display,o.style.display="none"):(o.style.display=o._stashedDisplay||"",o.getAttribute("style")===""&&o.removeAttribute("style")):o.nodeType===3&&(t?(o._stashedText=o.nodeValue,o.nodeValue=""):o.nodeValue=o._stashedText||""),r&&r.nodeType===8)if(o=r.data,o==="/$"){if(e===0)break;e--}else o!=="$"&&o!=="$?"&&o!=="$~"&&o!=="$!"||e++;o=r}while(o)}function Ry(e){var t=e.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var o=t;switch(t=t.nextSibling,o.nodeName){case"HTML":case"HEAD":case"BODY":Ry(o),Uy(o);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(o.rel.toLowerCase()==="stylesheet")continue}e.removeChild(o)}}function YM(e,t,o,r){for(;e.nodeType===1;){var n=o;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!r&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(r){if(!e[qs])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(a=e.getAttribute("rel"),a==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(a!==n.rel||e.getAttribute("href")!==(n.href==null||n.href===""?null:n.href)||e.getAttribute("crossorigin")!==(n.crossOrigin==null?null:n.crossOrigin)||e.getAttribute("title")!==(n.title==null?null:n.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(a=e.getAttribute("src"),(a!==(n.src==null?null:n.src)||e.getAttribute("type")!==(n.type==null?null:n.type)||e.getAttribute("crossorigin")!==(n.crossOrigin==null?null:n.crossOrigin))&&a&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(t==="input"&&e.type==="hidden"){var a=n.name==null?null:""+n.name;if(n.type==="hidden"&&e.getAttribute("name")===a)return e}else return e;if(e=Ho(e.nextSibling),e===null)break}return null}function KM(e,t,o){if(t==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!o||(e=Ho(e.nextSibling),e===null))return null;return e}function JS(e,t){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!t||(e=Ho(e.nextSibling),e===null))return null;return e}function Oy(e){return e.data==="$?"||e.data==="$~"}function My(e){return e.data==="$!"||e.data==="$?"&&e.ownerDocument.readyState!=="loading"}function XM(e,t){var o=e.ownerDocument;if(e.data==="$~")e._reactRetry=t;else if(e.data!=="$?"||o.readyState!=="loading")t();else{var r=function(){t(),o.removeEventListener("DOMContentLoaded",r)};o.addEventListener("DOMContentLoaded",r),e._reactRetry=r}}function Ho(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?"||t==="$~"||t==="&"||t==="F!"||t==="F")break;if(t==="/$"||t==="/&")return null}}return e}var Ay=null;function fv(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var o=e.data;if(o==="/$"||o==="/&"){if(t===0)return Ho(e.nextSibling);t--}else o!=="$"&&o!=="$!"&&o!=="$?"&&o!=="$~"&&o!=="&"||t++}e=e.nextSibling}return null}function dv(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var o=e.data;if(o==="$"||o==="$!"||o==="$?"||o==="$~"||o==="&"){if(t===0)return e;t--}else o!=="/$"&&o!=="/&"||t++}e=e.previousSibling}return null}function e1(e,t,o){switch(t=Pp(o),e){case"html":if(e=t.documentElement,!e)throw Error(z(452));return e;case"head":if(e=t.head,!e)throw Error(z(453));return e;case"body":if(e=t.body,!e)throw Error(z(454));return e;default:throw Error(z(451))}}function Ps(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);Uy(e)}var Vo=new Map,mv=new Set;function Rp(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}var Gr=me.d;me.d={f:QM,r:ZM,D:WM,C:JM,L:eA,m:tA,X:rA,S:oA,M:nA};function QM(){var e=Gr.f(),t=Fp();return e||t}function ZM(e){var t=Qi(e);t!==null&&t.tag===5&&t.type==="form"?Yx(t):Gr.r(e)}var el=typeof document>"u"?null:document;function t1(e,t,o){var r=el;if(r&&typeof t=="string"&&t){var n=ko(t);n='link[rel="'+e+'"][href="'+n+'"]',typeof o=="string"&&(n+='[crossorigin="'+o+'"]'),mv.has(n)||(mv.add(n),e={rel:e,crossOrigin:o,href:t},r.querySelector(n)===null&&(t=r.createElement("link"),At(t,"link",e),ht(t),r.head.appendChild(t)))}}function WM(e){Gr.D(e),t1("dns-prefetch",e,null)}function JM(e,t){Gr.C(e,t),t1("preconnect",e,t)}function eA(e,t,o){Gr.L(e,t,o);var r=el;if(r&&e&&t){var n='link[rel="preload"][as="'+ko(t)+'"]';t==="image"&&o&&o.imageSrcSet?(n+='[imagesrcset="'+ko(o.imageSrcSet)+'"]',typeof o.imageSizes=="string"&&(n+='[imagesizes="'+ko(o.imageSizes)+'"]')):n+='[href="'+ko(e)+'"]';var a=n;switch(t){case"style":a=Yi(e);break;case"script":a=tl(e)}Vo.has(a)||(e=Le({rel:"preload",href:t==="image"&&o&&o.imageSrcSet?void 0:e,as:t},o),Vo.set(a,e),r.querySelector(n)!==null||t==="style"&&r.querySelector(Qs(a))||t==="script"&&r.querySelector(Zs(a))||(t=r.createElement("link"),At(t,"link",e),ht(t),r.head.appendChild(t)))}}function tA(e,t){Gr.m(e,t);var o=el;if(o&&e){var r=t&&typeof t.as=="string"?t.as:"script",n='link[rel="modulepreload"][as="'+ko(r)+'"][href="'+ko(e)+'"]',a=n;switch(r){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":a=tl(e)}if(!Vo.has(a)&&(e=Le({rel:"modulepreload",href:e},t),Vo.set(a,e),o.querySelector(n)===null)){switch(r){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(o.querySelector(Zs(a)))return}r=o.createElement("link"),At(r,"link",e),ht(r),o.head.appendChild(r)}}}function oA(e,t,o){Gr.S(e,t,o);var r=el;if(r&&e){var n=wi(r).hoistableStyles,a=Yi(e);t=t||"default";var i=n.get(a);if(!i){var l={loading:0,preload:null};if(i=r.querySelector(Qs(a)))l.loading=5;else{e=Le({rel:"stylesheet",href:e,"data-precedence":t},o),(o=Vo.get(a))&&Sh(e,o);var s=i=r.createElement("link");ht(s),At(s,"link",e),s._p=new Promise(function(u,p){s.onload=u,s.onerror=p}),s.addEventListener("load",function(){l.loading|=1}),s.addEventListener("error",function(){l.loading|=2}),l.loading|=4,Wc(i,t,r)}i={type:"stylesheet",instance:i,count:1,state:l},n.set(a,i)}}}function rA(e,t){Gr.X(e,t);var o=el;if(o&&e){var r=wi(o).hoistableScripts,n=tl(e),a=r.get(n);a||(a=o.querySelector(Zs(n)),a||(e=Le({src:e,async:!0},t),(t=Vo.get(n))&&Ch(e,t),a=o.createElement("script"),ht(a),At(a,"link",e),o.head.appendChild(a)),a={type:"script",instance:a,count:1,state:null},r.set(n,a))}}function nA(e,t){Gr.M(e,t);var o=el;if(o&&e){var r=wi(o).hoistableScripts,n=tl(e),a=r.get(n);a||(a=o.querySelector(Zs(n)),a||(e=Le({src:e,async:!0,type:"module"},t),(t=Vo.get(n))&&Ch(e,t),a=o.createElement("script"),ht(a),At(a,"link",e),o.head.appendChild(a)),a={type:"script",instance:a,count:1,state:null},r.set(n,a))}}function yv(e,t,o,r){var n=(n=xn.current)?Rp(n):null;if(!n)throw Error(z(446));switch(e){case"meta":case"title":return null;case"style":return typeof o.precedence=="string"&&typeof o.href=="string"?(t=Yi(o.href),o=wi(n).hoistableStyles,r=o.get(t),r||(r={type:"style",instance:null,count:0,state:null},o.set(t,r)),r):{type:"void",instance:null,count:0,state:null};case"link":if(o.rel==="stylesheet"&&typeof o.href=="string"&&typeof o.precedence=="string"){e=Yi(o.href);var a=wi(n).hoistableStyles,i=a.get(e);if(i||(n=n.ownerDocument||n,i={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},a.set(e,i),(a=n.querySelector(Qs(e)))&&!a._p&&(i.instance=a,i.state.loading=5),Vo.has(e)||(o={rel:"preload",as:"style",href:o.href,crossOrigin:o.crossOrigin,integrity:o.integrity,media:o.media,hrefLang:o.hrefLang,referrerPolicy:o.referrerPolicy},Vo.set(e,o),a||aA(n,e,o,i.state))),t&&r===null)throw Error(z(528,""));return i}if(t&&r!==null)throw Error(z(529,""));return null;case"script":return t=o.async,o=o.src,typeof o=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(t=tl(o),o=wi(n).hoistableScripts,r=o.get(t),r||(r={type:"script",instance:null,count:0,state:null},o.set(t,r)),r):{type:"void",instance:null,count:0,state:null};default:throw Error(z(444,e))}}function Yi(e){return'href="'+ko(e)+'"'}function Qs(e){return'link[rel="stylesheet"]['+e+"]"}function o1(e){return Le({},e,{"data-precedence":e.precedence,precedence:null})}function aA(e,t,o,r){e.querySelector('link[rel="preload"][as="style"]['+t+"]")?r.loading=1:(t=e.createElement("link"),r.preload=t,t.addEventListener("load",function(){return r.loading|=1}),t.addEventListener("error",function(){return r.loading|=2}),At(t,"link",o),ht(t),e.head.appendChild(t))}function tl(e){return'[src="'+ko(e)+'"]'}function Zs(e){return"script[async]"+e}function hv(e,t,o){if(t.count++,t.instance===null)switch(t.type){case"style":var r=e.querySelector('style[data-href~="'+ko(o.href)+'"]');if(r)return t.instance=r,ht(r),r;var n=Le({},o,{"data-href":o.href,"data-precedence":o.precedence,href:null,precedence:null});return r=(e.ownerDocument||e).createElement("style"),ht(r),At(r,"style",n),Wc(r,o.precedence,e),t.instance=r;case"stylesheet":n=Yi(o.href);var a=e.querySelector(Qs(n));if(a)return t.state.loading|=4,t.instance=a,ht(a),a;r=o1(o),(n=Vo.get(n))&&Sh(r,n),a=(e.ownerDocument||e).createElement("link"),ht(a);var i=a;return i._p=new Promise(function(l,s){i.onload=l,i.onerror=s}),At(a,"link",r),t.state.loading|=4,Wc(a,o.precedence,e),t.instance=a;case"script":return a=tl(o.src),(n=e.querySelector(Zs(a)))?(t.instance=n,ht(n),n):(r=o,(n=Vo.get(a))&&(r=Le({},o),Ch(r,n)),e=e.ownerDocument||e,n=e.createElement("script"),ht(n),At(n,"link",r),e.head.appendChild(n),t.instance=n);case"void":return null;default:throw Error(z(443,t.type))}else t.type==="stylesheet"&&(t.state.loading&4)===0&&(r=t.instance,t.state.loading|=4,Wc(r,o.precedence,e));return t.instance}function Wc(e,t,o){for(var r=o.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),n=r.length?r[r.length-1]:null,a=n,i=0;i<r.length;i++){var l=r[i];if(l.dataset.precedence===t)a=l;else if(a!==n)break}a?a.parentNode.insertBefore(e,a.nextSibling):(t=o.nodeType===9?o.head:o,t.insertBefore(e,t.firstChild))}function Sh(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.title==null&&(e.title=t.title)}function Ch(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.integrity==null&&(e.integrity=t.integrity)}var Jc=null;function gv(e,t,o){if(Jc===null){var r=new Map,n=Jc=new Map;n.set(o,r)}else n=Jc,r=n.get(o),r||(r=new Map,n.set(o,r));if(r.has(e))return r;for(r.set(e,null),o=o.getElementsByTagName(e),n=0;n<o.length;n++){var a=o[n];if(!(a[qs]||a[Rt]||e==="link"&&a.getAttribute("rel")==="stylesheet")&&a.namespaceURI!=="http://www.w3.org/2000/svg"){var i=a.getAttribute(t)||"";i=e+i;var l=r.get(i);l?l.push(a):r.set(i,[a])}}return r}function bv(e,t,o){e=e.ownerDocument||e,e.head.insertBefore(o,t==="title"?e.querySelector("head > title"):null)}function iA(e,t,o){if(o===1||t.itemProp!=null)return!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof t.precedence!="string"||typeof t.href!="string"||t.href==="")break;return!0;case"link":if(typeof t.rel!="string"||typeof t.href!="string"||t.href===""||t.onLoad||t.onError)break;return t.rel==="stylesheet"?(e=t.disabled,typeof t.precedence=="string"&&e==null):!0;case"script":if(t.async&&typeof t.async!="function"&&typeof t.async!="symbol"&&!t.onLoad&&!t.onError&&t.src&&typeof t.src=="string")return!0}return!1}function r1(e){return!(e.type==="stylesheet"&&(e.state.loading&3)===0)}function lA(e,t,o,r){if(o.type==="stylesheet"&&(typeof r.media!="string"||matchMedia(r.media).matches!==!1)&&(o.state.loading&4)===0){if(o.instance===null){var n=Yi(r.href),a=t.querySelector(Qs(n));if(a){t=a._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(e.count++,e=Op.bind(e),t.then(e,e)),o.state.loading|=4,o.instance=a,ht(a);return}a=t.ownerDocument||t,r=o1(r),(n=Vo.get(n))&&Sh(r,n),a=a.createElement("link"),ht(a);var i=a;i._p=new Promise(function(l,s){i.onload=l,i.onerror=s}),At(a,"link",r),o.instance=a}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(o,t),(t=o.state.preload)&&(o.state.loading&3)===0&&(e.count++,o=Op.bind(e),t.addEventListener("load",o),t.addEventListener("error",o))}}var km=0;function sA(e,t){return e.stylesheets&&e.count===0&&ep(e,e.stylesheets),0<e.count||0<e.imgCount?function(o){var r=setTimeout(function(){if(e.stylesheets&&ep(e,e.stylesheets),e.unsuspend){var a=e.unsuspend;e.unsuspend=null,a()}},6e4+t);0<e.imgBytes&&km===0&&(km=62500*IM());var n=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&ep(e,e.stylesheets),e.unsuspend)){var a=e.unsuspend;e.unsuspend=null,a()}},(e.imgBytes>km?50:800)+t);return e.unsuspend=o,function(){e.unsuspend=null,clearTimeout(r),clearTimeout(n)}}:null}function Op(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)ep(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var Mp=null;function ep(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,Mp=new Map,t.forEach(uA,e),Mp=null,Op.call(e))}function uA(e,t){if(!(t.state.loading&4)){var o=Mp.get(e);if(o)var r=o.get(null);else{o=new Map,Mp.set(e,o);for(var n=e.querySelectorAll("link[data-precedence],style[data-precedence]"),a=0;a<n.length;a++){var i=n[a];(i.nodeName==="LINK"||i.getAttribute("media")!=="not all")&&(o.set(i.dataset.precedence,i),r=i)}r&&o.set(null,r)}n=t.instance,i=n.getAttribute("data-precedence"),a=o.get(i)||r,a===r&&o.set(null,n),o.set(i,n),this.count++,r=Op.bind(this),n.addEventListener("load",r),n.addEventListener("error",r),a?a.parentNode.insertBefore(n,a.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(n,e.firstChild)),t.state.loading|=4}}var Us={$$typeof:zr,Provider:null,Consumer:null,_currentValue:ra,_currentValue2:ra,_threadCount:0};function cA(e,t,o,r,n,a,i,l,s){this.tag=1,this.containerInfo=e,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=sm(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=sm(0),this.hiddenUpdates=sm(null),this.identifierPrefix=r,this.onUncaughtError=n,this.onCaughtError=a,this.onRecoverableError=i,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=s,this.incompleteTransitions=new Map}function n1(e,t,o,r,n,a,i,l,s,u,p,f){return e=new cA(e,t,o,i,s,u,p,f,l),t=1,a===!0&&(t|=24),a=mo(3,null,null,t),e.current=a,a.stateNode=e,t=Xy(),t.refCount++,e.pooledCache=t,t.refCount++,a.memoizedState={element:r,isDehydrated:o,cache:t},Wy(a),e}function a1(e){return e?(e=Oi,e):Oi}function i1(e,t,o,r,n,a){n=a1(n),r.context===null?r.context=n:r.pendingContext=n,r=Cn(t),r.payload={element:o},a=a===void 0?null:a,a!==null&&(r.callback=a),o=En(e,r,t),o!==null&&(to(o,e,t),gs(o,e,t))}function Tv(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var o=e.retryLane;e.retryLane=o!==0&&o<t?o:t}}function Eh(e,t){Tv(e,t),(e=e.alternate)&&Tv(e,t)}function l1(e){if(e.tag===13||e.tag===31){var t=ha(e,67108864);t!==null&&to(t,e,67108864),Eh(e,67108864)}}function vv(e){if(e.tag===13||e.tag===31){var t=To();t=By(t);var o=ha(e,t);o!==null&&to(o,e,t),Eh(e,t)}}var Ap=!0;function pA(e,t,o,r){var n=$.T;$.T=null;var a=me.p;try{me.p=2,Ph(e,t,o,r)}finally{me.p=a,$.T=n}}function fA(e,t,o,r){var n=$.T;$.T=null;var a=me.p;try{me.p=8,Ph(e,t,o,r)}finally{me.p=a,$.T=n}}function Ph(e,t,o,r){if(Ap){var n=Ny(r);if(n===null)zm(e,t,r,Np,o),xv(e,r);else if(mA(n,e,t,o,r))r.stopPropagation();else if(xv(e,r),t&4&&-1<dA.indexOf(e)){for(;n!==null;){var a=Qi(n);if(a!==null)switch(a.tag){case 3:if(a=a.stateNode,a.current.memoizedState.isDehydrated){var i=ea(a.pendingLanes);if(i!==0){var l=a;for(l.pendingLanes|=2,l.entangledLanes|=2;i;){var s=1<<31-bo(i);l.entanglements[1]|=s,i&=~s}mr(a),(de&6)===0&&(Tp=ho()+500,Xs(0,!1))}}break;case 31:case 13:l=ha(a,2),l!==null&&to(l,a,2),Fp(),Eh(a,2)}if(a=Ny(r),a===null&&zm(e,t,r,Np,o),a===n)break;n=a}n!==null&&r.stopPropagation()}else zm(e,t,r,null,o)}}function Ny(e){return e=Ly(e),Rh(e)}var Np=null;function Rh(e){if(Np=null,e=xi(e),e!==null){var t=Hs(e);if(t===null)e=null;else{var o=t.tag;if(o===13){if(e=Ov(t),e!==null)return e;e=null}else if(o===31){if(e=Mv(t),e!==null)return e;e=null}else if(o===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return Np=e,null}function s1(e){switch(e){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(e2()){case _v:return 2;case Dv:return 8;case ap:case t2:return 32;case zv:return 268435456;default:return 32}default:return 32}}var wy=!1,On=null,Mn=null,An=null,js=new Map,Ls=new Map,yn=[],dA="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 xv(e,t){switch(e){case"focusin":case"focusout":On=null;break;case"dragenter":case"dragleave":Mn=null;break;case"mouseover":case"mouseout":An=null;break;case"pointerover":case"pointerout":js.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Ls.delete(t.pointerId)}}function is(e,t,o,r,n,a){return e===null||e.nativeEvent!==a?(e={blockedOn:t,domEventName:o,eventSystemFlags:r,nativeEvent:a,targetContainers:[n]},t!==null&&(t=Qi(t),t!==null&&l1(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,n!==null&&t.indexOf(n)===-1&&t.push(n),e)}function mA(e,t,o,r,n){switch(t){case"focusin":return On=is(On,e,t,o,r,n),!0;case"dragenter":return Mn=is(Mn,e,t,o,r,n),!0;case"mouseover":return An=is(An,e,t,o,r,n),!0;case"pointerover":var a=n.pointerId;return js.set(a,is(js.get(a)||null,e,t,o,r,n)),!0;case"gotpointercapture":return a=n.pointerId,Ls.set(a,is(Ls.get(a)||null,e,t,o,r,n)),!0}return!1}function u1(e){var t=xi(e.target);if(t!==null){var o=Hs(t);if(o!==null){if(t=o.tag,t===13){if(t=Ov(o),t!==null){e.blockedOn=t,nT(e.priority,function(){vv(o)});return}}else if(t===31){if(t=Mv(o),t!==null){e.blockedOn=t,nT(e.priority,function(){vv(o)});return}}else if(t===3&&o.stateNode.current.memoizedState.isDehydrated){e.blockedOn=o.tag===3?o.stateNode.containerInfo:null;return}}}e.blockedOn=null}function tp(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var o=Ny(e.nativeEvent);if(o===null){o=e.nativeEvent;var r=new o.constructor(o.type,o);Xm=r,o.target.dispatchEvent(r),Xm=null}else return t=Qi(o),t!==null&&l1(t),e.blockedOn=o,!1;t.shift()}return!0}function Sv(e,t,o){tp(e)&&o.delete(t)}function yA(){wy=!1,On!==null&&tp(On)&&(On=null),Mn!==null&&tp(Mn)&&(Mn=null),An!==null&&tp(An)&&(An=null),js.forEach(Sv),Ls.forEach(Sv)}function Lc(e,t){e.blockedOn===t&&(e.blockedOn=null,wy||(wy=!0,ft.unstable_scheduleCallback(ft.unstable_NormalPriority,yA)))}var Hc=null;function Cv(e){Hc!==e&&(Hc=e,ft.unstable_scheduleCallback(ft.unstable_NormalPriority,function(){Hc===e&&(Hc=null);for(var t=0;t<e.length;t+=3){var o=e[t],r=e[t+1],n=e[t+2];if(typeof r!="function"){if(Rh(r||o)===null)continue;break}var a=Qi(o);a!==null&&(e.splice(t,3),t-=3,py(a,{pending:!0,data:n,method:o.method,action:r},r,n))}}))}function Ki(e){function t(s){return Lc(s,e)}On!==null&&Lc(On,e),Mn!==null&&Lc(Mn,e),An!==null&&Lc(An,e),js.forEach(t),Ls.forEach(t);for(var o=0;o<yn.length;o++){var r=yn[o];r.blockedOn===e&&(r.blockedOn=null)}for(;0<yn.length&&(o=yn[0],o.blockedOn===null);)u1(o),o.blockedOn===null&&yn.shift();if(o=(e.ownerDocument||e).$$reactFormReplay,o!=null)for(r=0;r<o.length;r+=3){var n=o[r],a=o[r+1],i=n[oo]||null;if(typeof a=="function")i||Cv(o);else if(i){var l=null;if(a&&a.hasAttribute("formAction")){if(n=a,i=a[oo]||null)l=i.formAction;else if(Rh(n)!==null)continue}else l=i.action;typeof l=="function"?o[r+1]=l:(o.splice(r,3),r-=3),Cv(o)}}}function c1(){function e(a){a.canIntercept&&a.info==="react-transition"&&a.intercept({handler:function(){return new Promise(function(i){return n=i})},focusReset:"manual",scroll:"manual"})}function t(){n!==null&&(n(),n=null),r||setTimeout(o,20)}function o(){if(!r&&!navigation.transition){var a=navigation.currentEntry;a&&a.url!=null&&navigation.navigate(a.url,{state:a.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var r=!1,n=null;return navigation.addEventListener("navigate",e),navigation.addEventListener("navigatesuccess",t),navigation.addEventListener("navigateerror",t),setTimeout(o,100),function(){r=!0,navigation.removeEventListener("navigate",e),navigation.removeEventListener("navigatesuccess",t),navigation.removeEventListener("navigateerror",t),n!==null&&(n(),n=null)}}}function Oh(e){this._internalRoot=e}$p.prototype.render=Oh.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(z(409));var o=t.current,r=To();i1(o,r,e,t,null,null)};$p.prototype.unmount=Oh.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;i1(e.current,2,null,e,null,null),Fp(),t[Xi]=null}};function $p(e){this._internalRoot=e}$p.prototype.unstable_scheduleHydration=function(e){if(e){var t=Lv();e={blockedOn:null,target:e,priority:t};for(var o=0;o<yn.length&&t!==0&&t<yn[o].priority;o++);yn.splice(o,0,e),o===0&&u1(e)}};var Ev=Pv.version;if(Ev!=="19.2.4")throw Error(z(527,Ev,"19.2.4"));me.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(z(188)):(e=Object.keys(e).join(","),Error(z(268,e)));return e=YO(t),e=e!==null?Av(e):null,e=e===null?null:e.stateNode,e};var hA={bundleType:0,version:"19.2.4",rendererPackageName:"react-dom",currentDispatcherRef:$,reconcilerVersion:"19.2.4"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&(ls=__REACT_DEVTOOLS_GLOBAL_HOOK__,!ls.isDisabled&&ls.supportsFiber))try{Vs=ls.inject(hA),go=ls}catch{}var ls;Yp.createRoot=function(e,t){if(!Rv(e))throw Error(z(299));var o=!1,r="",n=tS,a=oS,i=rS;return t!=null&&(t.unstable_strictMode===!0&&(o=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onUncaughtError!==void 0&&(n=t.onUncaughtError),t.onCaughtError!==void 0&&(a=t.onCaughtError),t.onRecoverableError!==void 0&&(i=t.onRecoverableError)),t=n1(e,1,!1,null,null,o,r,null,n,a,i,c1),e[Xi]=t.current,xh(e),new Oh(t)};Yp.hydrateRoot=function(e,t,o){if(!Rv(e))throw Error(z(299));var r=!1,n="",a=tS,i=oS,l=rS,s=null;return o!=null&&(o.unstable_strictMode===!0&&(r=!0),o.identifierPrefix!==void 0&&(n=o.identifierPrefix),o.onUncaughtError!==void 0&&(a=o.onUncaughtError),o.onCaughtError!==void 0&&(i=o.onCaughtError),o.onRecoverableError!==void 0&&(l=o.onRecoverableError),o.formState!==void 0&&(s=o.formState)),t=n1(e,1,!0,t,o??null,r,n,s,a,i,l,c1),t.context=a1(null),o=t.current,r=To(),r=By(r),n=Cn(r),n.callback=null,En(o,n,r),o=r,t.current.lanes=o,Fs(t,o),mr(t),e[Xi]=t.current,xh(e),new $p(t)};Yp.version="19.2.4"});var m1=Vt((q4,d1)=>{"use strict";function f1(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(f1)}catch(e){console.error(e)}}f1(),d1.exports=p1()});var S1=Vt(Xp=>{"use strict";var _A=Symbol.for("react.transitional.element"),DA=Symbol.for("react.fragment");function x1(e,t,o){var r=null;if(o!==void 0&&(r=""+o),t.key!==void 0&&(r=""+t.key),"key"in t){o={};for(var n in t)n!=="key"&&(o[n]=t[n])}else o=t;return t=o.ref,{$$typeof:_A,type:e,key:r,ref:t!==void 0?t:null,props:o}}Xp.Fragment=DA;Xp.jsx=x1;Xp.jsxs=x1});var L=Vt((Sz,C1)=>{"use strict";C1.exports=S1()});var O1=Vt(Ae=>{"use strict";var Mh=Symbol.for("react.transitional.element"),Ah=Symbol.for("react.portal"),Qp=Symbol.for("react.fragment"),Zp=Symbol.for("react.strict_mode"),Wp=Symbol.for("react.profiler"),Jp=Symbol.for("react.consumer"),ef=Symbol.for("react.context"),tf=Symbol.for("react.forward_ref"),of=Symbol.for("react.suspense"),rf=Symbol.for("react.suspense_list"),nf=Symbol.for("react.memo"),af=Symbol.for("react.lazy"),BA=Symbol.for("react.view_transition"),kA=Symbol.for("react.client.reference");function Io(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case Mh:switch(e=e.type,e){case Qp:case Wp:case Zp:case of:case rf:case BA:return e;default:switch(e=e&&e.$$typeof,e){case ef:case tf:case af:case nf:return e;case Jp:return e;default:return t}}case Ah:return t}}}Ae.ContextConsumer=Jp;Ae.ContextProvider=ef;Ae.Element=Mh;Ae.ForwardRef=tf;Ae.Fragment=Qp;Ae.Lazy=af;Ae.Memo=nf;Ae.Portal=Ah;Ae.Profiler=Wp;Ae.StrictMode=Zp;Ae.Suspense=of;Ae.SuspenseList=rf;Ae.isContextConsumer=function(e){return Io(e)===Jp};Ae.isContextProvider=function(e){return Io(e)===ef};Ae.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===Mh};Ae.isForwardRef=function(e){return Io(e)===tf};Ae.isFragment=function(e){return Io(e)===Qp};Ae.isLazy=function(e){return Io(e)===af};Ae.isMemo=function(e){return Io(e)===nf};Ae.isPortal=function(e){return Io(e)===Ah};Ae.isProfiler=function(e){return Io(e)===Wp};Ae.isStrictMode=function(e){return Io(e)===Zp};Ae.isSuspense=function(e){return Io(e)===of};Ae.isSuspenseList=function(e){return Io(e)===rf};Ae.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===Qp||e===Wp||e===Zp||e===of||e===rf||typeof e=="object"&&e!==null&&(e.$$typeof===af||e.$$typeof===nf||e.$$typeof===ef||e.$$typeof===Jp||e.$$typeof===tf||e.$$typeof===kA||e.getModuleId!==void 0)};Ae.typeOf=Io});var A1=Vt((Dz,M1)=>{"use strict";M1.exports=O1()});var Er={pageMeta:"assist-docs-page",titleMeta:"assist-docs-title",sourceMeta:"assist-docs-source",headingAttribute:"data-docs-heading",sourceAttribute:"data-docs-source",popover:"[data-assist-popover]"};function Xu(){return globalThis.browser?.runtime}function Nb(e){let t=e.id?`#${e.id}`:"",o=[...e.classList].map(r=>`.${r}`).join("");return`${e.tagName.toLowerCase()}${t}${o}`}var VR=20,wb=80,IR=new Set(["SCRIPT","STYLE","NOSCRIPT"]);function FR(e){let t=[];for(let o=e;o;o=o.parentElement)t.unshift(Nb(o));return t}function qR(e){let t=(e.textContent??"").replace(/\s+/g," ").trim();return t.length>wb?`${t.slice(0,wb)}\u2026`:t}function GR(e,t){let o=new Set,r=e.createTreeWalker(e.body??e,NodeFilter.SHOW_TEXT);for(let n=r.nextNode();n;n=r.nextNode()){let a=n.parentElement;a&&!IR.has(a.tagName)&&n.nodeValue?.includes(t)&&o.add(a)}return[...o]}function $R(e){let{width:t,height:o}=e.getBoundingClientRect();return{chain:FR(e),text:qR(e),width:Math.round(t),height:Math.round(o)}}function _b(e,t){let o="selector"in t?[...e.querySelectorAll(t.selector)]:GR(e,t.text);return{matches:o.slice(0,VR).map($R),total:o.length}}var Db="assist-browser-probe";function YR(e){try{return e.op==="snapshot"?{running:!0,result:{html:document.documentElement.outerHTML}}:e.op==="inspect"?{running:!0,result:_b(document,e)}:{running:!0}}catch(t){return{running:!0,error:t instanceof Error?t.message:String(t)}}}function zb(){Xu()?.onMessage.addListener(e=>{let t=e;if(t?.type===Db)return Promise.resolve(YR(t))})}var KR=!1;function XR(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}function QR(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),e.nonce!==void 0&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}var Bb=(function(){function e(o){var r=this;this._insertTag=function(n){var a;r.tags.length===0?r.insertionPoint?a=r.insertionPoint.nextSibling:r.prepend?a=r.container.firstChild:a=r.before:a=r.tags[r.tags.length-1].nextSibling,r.container.insertBefore(n,a),r.tags.push(n)},this.isSpeedy=o.speedy===void 0?!KR:o.speedy,this.tags=[],this.ctr=0,this.nonce=o.nonce,this.key=o.key,this.container=o.container,this.prepend=o.prepend,this.insertionPoint=o.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(r){r.forEach(this._insertTag)},t.insert=function(r){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(QR(this));var n=this.tags[this.tags.length-1];if(this.isSpeedy){var a=XR(n);try{a.insertRule(r,a.cssRules.length)}catch{}}else n.appendChild(document.createTextNode(r));this.ctr++},t.flush=function(){this.tags.forEach(function(r){var n;return(n=r.parentNode)==null?void 0:n.removeChild(r)}),this.tags=[],this.ctr=0},e})();var Et="-ms-",Fl="-moz-",pe="-webkit-",Qu="comm",Za="rule",Wa="decl";var kb="@import";var Zu="@keyframes";var Ub="@layer";var jb=Math.abs,Xn=String.fromCharCode,Lb=Object.assign;function Hb(e,t){return Je(e,0)^45?(((t<<2^Je(e,0))<<2^Je(e,1))<<2^Je(e,2))<<2^Je(e,3):0}function Wu(e){return e.trim()}function wd(e,t){return(e=t.exec(e))?e[0]:e}function ue(e,t,o){return e.replace(t,o)}function ql(e,t){return e.indexOf(t)}function Je(e,t){return e.charCodeAt(t)|0}function nn(e,t,o){return e.slice(t,o)}function It(e){return e.length}function Ja(e){return e.length}function ei(e,t){return t.push(e),e}function _d(e,t){return e.map(t).join("")}var Ju=1,ti=1,Vb=0,Ft=0,rt=0,ri="";function Gl(e,t,o,r,n,a,i){return{value:e,root:t,parent:o,type:r,props:n,children:a,line:Ju,column:ti,length:i,return:""}}function ni(e,t){return Lb(Gl("",null,null,"",null,null,0),e,{length:-e.length},t)}function Ib(){return rt}function Fb(){return rt=Ft>0?Je(ri,--Ft):0,ti--,rt===10&&(ti=1,Ju--),rt}function qt(){return rt=Ft<Vb?Je(ri,Ft++):0,ti++,rt===10&&(ti=1,Ju++),rt}function Ao(){return Je(ri,Ft)}function $l(){return Ft}function ai(e,t){return nn(ri,e,t)}function oi(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function ec(e){return Ju=ti=1,Vb=It(ri=e),Ft=0,[]}function tc(e){return ri="",e}function ii(e){return Wu(ai(Ft-1,Dd(e===91?e+2:e===40?e+1:e)))}function qb(e){for(;(rt=Ao())&&rt<33;)qt();return oi(e)>2||oi(rt)>3?"":" "}function Gb(e,t){for(;--t&&qt()&&!(rt<48||rt>102||rt>57&&rt<65||rt>70&&rt<97););return ai(e,$l()+(t<6&&Ao()==32&&qt()==32))}function Dd(e){for(;qt();)switch(rt){case e:return Ft;case 34:case 39:e!==34&&e!==39&&Dd(rt);break;case 40:e===41&&Dd(e);break;case 92:qt();break}return Ft}function $b(e,t){for(;qt()&&e+rt!==57;)if(e+rt===84&&Ao()===47)break;return"/*"+ai(t,Ft-1)+"*"+Xn(e===47?e:qt())}function Yb(e){for(;!oi(Ao());)qt();return ai(e,Ft)}function Qb(e){return tc(oc("",null,null,null,[""],e=ec(e),0,[0],e))}function oc(e,t,o,r,n,a,i,l,s){for(var u=0,p=0,f=i,d=0,c=0,T=0,v=1,x=1,m=1,h=0,g="",b=n,E=a,S=r,C=g;x;)switch(T=h,h=qt()){case 40:if(T!=108&&Je(C,f-1)==58){ql(C+=ue(ii(h),"&","&\f"),"&\f")!=-1&&(m=-1);break}case 34:case 39:case 91:C+=ii(h);break;case 9:case 10:case 13:case 32:C+=qb(T);break;case 92:C+=Gb($l()-1,7);continue;case 47:switch(Ao()){case 42:case 47:ei(ZR($b(qt(),$l()),t,o),s);break;default:C+="/"}break;case 123*v:l[u++]=It(C)*m;case 125*v:case 59:case 0:switch(h){case 0:case 125:x=0;case 59+p:m==-1&&(C=ue(C,/\f/g,"")),c>0&&It(C)-f&&ei(c>32?Xb(C+";",r,o,f-1):Xb(ue(C," ","")+";",r,o,f-2),s);break;case 59:C+=";";default:if(ei(S=Kb(C,t,o,u,p,n,l,g,b=[],E=[],f),a),h===123)if(p===0)oc(C,t,S,S,b,a,f,l,E);else switch(d===99&&Je(C,3)===110?100:d){case 100:case 108:case 109:case 115:oc(e,S,S,r&&ei(Kb(e,S,S,0,0,n,l,g,n,b=[],f),E),n,E,f,l,r?b:E);break;default:oc(C,S,S,S,[""],E,0,l,E)}}u=p=c=0,v=m=1,g=C="",f=i;break;case 58:f=1+It(C),c=T;default:if(v<1){if(h==123)--v;else if(h==125&&v++==0&&Fb()==125)continue}switch(C+=Xn(h),h*v){case 38:m=p>0?1:(C+="\f",-1);break;case 44:l[u++]=(It(C)-1)*m,m=1;break;case 64:Ao()===45&&(C+=ii(qt())),d=Ao(),p=f=It(g=C+=Yb($l())),h++;break;case 45:T===45&&It(C)==2&&(v=0)}}return a}function Kb(e,t,o,r,n,a,i,l,s,u,p){for(var f=n-1,d=n===0?a:[""],c=Ja(d),T=0,v=0,x=0;T<r;++T)for(var m=0,h=nn(e,f+1,f=jb(v=i[T])),g=e;m<c;++m)(g=Wu(v>0?d[m]+" "+h:ue(h,/&\f/g,d[m])))&&(s[x++]=g);return Gl(e,t,o,n===0?Za:l,s,u,p)}function ZR(e,t,o){return Gl(e,t,o,Qu,Xn(Ib()),nn(e,2,-2),0)}function Xb(e,t,o,r){return Gl(e,t,o,Wa,nn(e,0,r),nn(e,r+1,-1),r)}function Qn(e,t){for(var o="",r=Ja(e),n=0;n<r;n++)o+=t(e[n],n,e,t)||"";return o}function Zb(e,t,o,r){switch(e.type){case Ub:if(e.children.length)break;case kb:case Wa:return e.return=e.return||e.value;case Qu:return"";case Zu:return e.return=e.value+"{"+Qn(e.children,r)+"}";case Za:e.value=e.props.join(",")}return It(o=Qn(e.children,r))?e.return=e.value+"{"+o+"}":""}function Wb(e){var t=Ja(e);return function(o,r,n,a){for(var i="",l=0;l<t;l++)i+=e[l](o,r,n,a)||"";return i}}function Jb(e){return function(t){t.root||(t=t.return)&&e(t)}}function rc(e){var t=Object.create(null);return function(o){return t[o]===void 0&&(t[o]=e(o)),t[o]}}var WR=function(t,o,r){for(var n=0,a=0;n=a,a=Ao(),n===38&&a===12&&(o[r]=1),!oi(a);)qt();return ai(t,Ft)},JR=function(t,o){var r=-1,n=44;do switch(oi(n)){case 0:n===38&&Ao()===12&&(o[r]=1),t[r]+=WR(Ft-1,o,r);break;case 2:t[r]+=ii(n);break;case 4:if(n===44){t[++r]=Ao()===58?"&\f":"",o[r]=t[r].length;break}default:t[r]+=Xn(n)}while(n=qt());return t},eO=function(t,o){return tc(JR(ec(t),o))},e0=new WeakMap,tO=function(t){if(!(t.type!=="rule"||!t.parent||t.length<1)){for(var o=t.value,r=t.parent,n=t.column===r.column&&t.line===r.line;r.type!=="rule";)if(r=r.parent,!r)return;if(!(t.props.length===1&&o.charCodeAt(0)!==58&&!e0.get(r))&&!n){e0.set(t,!0);for(var a=[],i=eO(o,a),l=r.props,s=0,u=0;s<i.length;s++)for(var p=0;p<l.length;p++,u++)t.props[u]=a[s]?i[s].replace(/&\f/g,l[p]):l[p]+" "+i[s]}}},oO=function(t){if(t.type==="decl"){var o=t.value;o.charCodeAt(0)===108&&o.charCodeAt(2)===98&&(t.return="",t.value="")}};function t0(e,t){switch(Hb(e,t)){case 5103:return pe+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return pe+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return pe+e+Fl+e+Et+e+e;case 6828:case 4268:return pe+e+Et+e+e;case 6165:return pe+e+Et+"flex-"+e+e;case 5187:return pe+e+ue(e,/(\w+).+(:[^]+)/,pe+"box-$1$2"+Et+"flex-$1$2")+e;case 5443:return pe+e+Et+"flex-item-"+ue(e,/flex-|-self/,"")+e;case 4675:return pe+e+Et+"flex-line-pack"+ue(e,/align-content|flex-|-self/,"")+e;case 5548:return pe+e+Et+ue(e,"shrink","negative")+e;case 5292:return pe+e+Et+ue(e,"basis","preferred-size")+e;case 6060:return pe+"box-"+ue(e,"-grow","")+pe+e+Et+ue(e,"grow","positive")+e;case 4554:return pe+ue(e,/([^-])(transform)/g,"$1"+pe+"$2")+e;case 6187:return ue(ue(ue(e,/(zoom-|grab)/,pe+"$1"),/(image-set)/,pe+"$1"),e,"")+e;case 5495:case 3959:return ue(e,/(image-set\([^]*)/,pe+"$1$`$1");case 4968:return ue(ue(e,/(.+:)(flex-)?(.*)/,pe+"box-pack:$3"+Et+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+pe+e+e;case 4095:case 3583:case 4068:case 2532:return ue(e,/(.+)-inline(.+)/,pe+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(It(e)-1-t>6)switch(Je(e,t+1)){case 109:if(Je(e,t+4)!==45)break;case 102:return ue(e,/(.+:)(.+)-([^]+)/,"$1"+pe+"$2-$3$1"+Fl+(Je(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~ql(e,"stretch")?t0(ue(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(Je(e,t+1)!==115)break;case 6444:switch(Je(e,It(e)-3-(~ql(e,"!important")&&10))){case 107:return ue(e,":",":"+pe)+e;case 101:return ue(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+pe+(Je(e,14)===45?"inline-":"")+"box$3$1"+pe+"$2$3$1"+Et+"$2box$3")+e}break;case 5936:switch(Je(e,t+11)){case 114:return pe+e+Et+ue(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return pe+e+Et+ue(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return pe+e+Et+ue(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return pe+e+Et+e+e}return e}var rO=function(t,o,r,n){if(t.length>-1&&!t.return)switch(t.type){case Wa:t.return=t0(t.value,t.length);break;case Zu:return Qn([ni(t,{value:ue(t.value,"@","@"+pe)})],n);case Za:if(t.length)return _d(t.props,function(a){switch(wd(a,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Qn([ni(t,{props:[ue(a,/:(read-\w+)/,":"+Fl+"$1")]})],n);case"::placeholder":return Qn([ni(t,{props:[ue(a,/:(plac\w+)/,":"+pe+"input-$1")]}),ni(t,{props:[ue(a,/:(plac\w+)/,":"+Fl+"$1")]}),ni(t,{props:[ue(a,/:(plac\w+)/,Et+"input-$1")]})],n)}return""})}},nO=[rO],nc=function(t){var o=t.key;if(o==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(v){var x=v.getAttribute("data-emotion");x.indexOf(" ")!==-1&&(document.head.appendChild(v),v.setAttribute("data-s",""))})}var n=t.stylisPlugins||nO,a={},i,l=[];i=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+o+' "]'),function(v){for(var x=v.getAttribute("data-emotion").split(" "),m=1;m<x.length;m++)a[x[m]]=!0;l.push(v)});var s,u=[tO,oO];{var p,f=[Zb,Jb(function(v){p.insert(v)})],d=Wb(u.concat(n,f)),c=function(x){return Qn(Qb(x),d)};s=function(x,m,h,g){p=h,c(x?x+"{"+m.styles+"}":m.styles),g&&(T.inserted[m.name]=!0)}}var T={key:o,sheet:new Bb({key:o,container:i,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:a,registered:{},insert:s};return T.sheet.hydrate(l),T};var No=R(k()),hc=R(k());function Zn(){return Zn=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},Zn.apply(null,arguments)}var DO=!0;function Yl(e,t,o){var r="";return o.split(" ").forEach(function(n){e[n]!==void 0?t.push(e[n]+";"):n&&(r+=n+" ")}),r}var ui=function(t,o,r){var n=t.key+"-"+o.name;(r===!1||DO===!1)&&t.registered[n]===void 0&&(t.registered[n]=o.styles)},ci=function(t,o,r){ui(t,o,r);var n=t.key+"-"+o.name;if(t.inserted[o.name]===void 0){var a=o;do t.insert(o===a?"."+n:"",a,t.sheet,!0),a=a.next;while(a!==void 0)}};function P0(e){for(var t=0,o,r=0,n=e.length;n>=4;++r,n-=4)o=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,o=(o&65535)*1540483477+((o>>>16)*59797<<16),o^=o>>>24,t=(o&65535)*1540483477+((o>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(n){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var R0={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};var zO=!1,BO=/[A-Z]|^ms/g,kO=/_EMO_([^_]+?)_([^]*?)_EMO_/g,N0=function(t){return t.charCodeAt(1)===45},O0=function(t){return t!=null&&typeof t!="boolean"},$d=rc(function(e){return N0(e)?e:e.replace(BO,"-$&").toLowerCase()}),M0=function(t,o){switch(t){case"animation":case"animationName":if(typeof o=="string")return o.replace(kO,function(r,n,a){return lr={name:n,styles:a,next:lr},n})}return R0[t]!==1&&!N0(t)&&typeof o=="number"&&o!==0?o+"px":o},UO="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function Kl(e,t,o){if(o==null)return"";var r=o;if(r.__emotion_styles!==void 0)return r;switch(typeof o){case"boolean":return"";case"object":{var n=o;if(n.anim===1)return lr={name:n.name,styles:n.styles,next:lr},n.name;var a=o;if(a.styles!==void 0){var i=a.next;if(i!==void 0)for(;i!==void 0;)lr={name:i.name,styles:i.styles,next:lr},i=i.next;var l=a.styles+";";return l}return jO(e,t,o)}case"function":{if(e!==void 0){var s=lr,u=o(e);return lr=s,Kl(e,t,u)}break}}var p=o;if(t==null)return p;var f=t[p];return f!==void 0?f:p}function jO(e,t,o){var r="";if(Array.isArray(o))for(var n=0;n<o.length;n++)r+=Kl(e,t,o[n])+";";else for(var a in o){var i=o[a];if(typeof i!="object"){var l=i;t!=null&&t[l]!==void 0?r+=a+"{"+t[l]+"}":O0(l)&&(r+=$d(a)+":"+M0(a,l)+";")}else{if(a==="NO_COMPONENT_SELECTOR"&&zO)throw new Error(UO);if(Array.isArray(i)&&typeof i[0]=="string"&&(t==null||t[i[0]]===void 0))for(var s=0;s<i.length;s++)O0(i[s])&&(r+=$d(a)+":"+M0(a,i[s])+";");else{var u=Kl(e,t,i);switch(a){case"animation":case"animationName":{r+=$d(a)+":"+u+";";break}default:r+=a+"{"+u+"}"}}}}return r}var A0=/label:\s*([^\s;{]+)\s*(;|$)/g,lr;function Pr(e,t,o){if(e.length===1&&typeof e[0]=="object"&&e[0]!==null&&e[0].styles!==void 0)return e[0];var r=!0,n="";lr=void 0;var a=e[0];if(a==null||a.raw===void 0)r=!1,n+=Kl(o,t,a);else{var i=a;n+=i[0]}for(var l=1;l<e.length;l++)if(n+=Kl(o,t,e[l]),r){var s=a;n+=s[l]}A0.lastIndex=0;for(var u="",p;(p=A0.exec(n))!==null;)u+="-"+p[1];var f=P0(n)+u;return{name:f,styles:n,next:lr}}var Xl=R(k()),LO=function(t){return t()},w0=Xl.useInsertionEffect?Xl.useInsertionEffect:!1,Ql=w0||LO,Yd=w0||Xl.useLayoutEffect;var _0=!1,D0=No.createContext(typeof HTMLElement<"u"?nc({key:"css"}):null),Xd=D0.Provider;var pi=function(t){return(0,hc.forwardRef)(function(o,r){var n=(0,hc.useContext)(D0);return t(o,n,r)})},Ko=No.createContext({});var gc={}.hasOwnProperty,Kd="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",z0=function(t,o){var r={};for(var n in o)gc.call(o,n)&&(r[n]=o[n]);return r[Kd]=t,r},HO=function(t){var o=t.cache,r=t.serialized,n=t.isStringTag;return ui(o,r,n),Ql(function(){return ci(o,r,n)}),null},VO=pi(function(e,t,o){var r=e.css;typeof r=="string"&&t.registered[r]!==void 0&&(r=t.registered[r]);var n=e[Kd],a=[r],i="";typeof e.className=="string"?i=Yl(t.registered,a,e.className):e.className!=null&&(i=e.className+" ");var l=Pr(a,void 0,No.useContext(Ko));i+=t.key+"-"+l.name;var s={};for(var u in e)gc.call(e,u)&&u!=="css"&&u!==Kd&&!_0&&(s[u]=e[u]);return s.className=i,o&&(s.ref=o),No.createElement(No.Fragment,null,No.createElement(HO,{cache:t,serialized:l,isStringTag:typeof n=="string"}),No.createElement(n,s))}),B0=VO;var an=R(k());var k4=R(E0()),k0=function(t,o){var r=arguments;if(o==null||!gc.call(o,"css"))return an.createElement.apply(void 0,r);var n=r.length,a=new Array(n);a[0]=B0,a[1]=z0(t,o);for(var i=2;i<n;i++)a[i]=r[i];return an.createElement.apply(null,a)};(function(e){var t;t||(t=e.JSX||(e.JSX={}))})(k0||(k0={}));var U0=pi(function(e,t){var o=e.styles,r=Pr([o],void 0,an.useContext(Ko)),n=an.useRef();return Yd(function(){var a=t.key+"-global",i=new t.sheet.constructor({key:a,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),l=!1,s=document.querySelector('style[data-emotion="'+a+" "+r.name+'"]');return t.sheet.tags.length&&(i.before=t.sheet.tags[0]),s!==null&&(l=!0,s.setAttribute("data-emotion",a),i.hydrate([s])),n.current=[i,l],function(){i.flush()}},[t]),Yd(function(){var a=n.current,i=a[0],l=a[1];if(l){a[1]=!1;return}if(r.next!==void 0&&ci(t,r.next,!0),i.tags.length){var s=i.tags[i.tags.length-1].nextElementSibling;i.before=s,i.flush()}t.insert("",r,i,!1)},[t,r.name]),null});function ln(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return Pr(t)}function Xo(){var e=ln.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}var aR=R(m1(),1);var gA=["keydown","keyup","keypress"];function y1(e){for(let t of gA)e.addEventListener(t,o=>o.stopPropagation())}var bA={black:"#000",white:"#fff"},ol=bA;var TA={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},ba=TA;var vA={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},Ta=vA;var xA={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},va=xA;var SA={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},xa=SA;var CA={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"},Sa=CA;var EA={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},rl=EA;var PA={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},h1=PA;function bt(e,...t){let o=new URL(`https://mui.com/production-error/?code=${e}`);return t.forEach(r=>o.searchParams.append("args[]",r)),`Minified MUI error #${e}; visit ${o} for the full message.`}var Nt="$$material";var kn=R(k());var RA=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|popover|popoverTarget|popoverTargetAction|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,g1=rc(function(e){return RA.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91});var OA=!1,MA=g1,AA=function(t){return t!=="theme"},b1=function(t){return typeof t=="string"&&t.charCodeAt(0)>96?MA:AA},T1=function(t,o,r){var n;if(o){var a=o.shouldForwardProp;n=t.__emotion_forwardProp&&a?function(i){return t.__emotion_forwardProp(i)&&a(i)}:a}return typeof n!="function"&&r&&(n=t.__emotion_forwardProp),n},NA=function(t){var o=t.cache,r=t.serialized,n=t.isStringTag;return ui(o,r,n),Ql(function(){return ci(o,r,n)}),null},v1=function e(t,o){var r=t.__emotion_real===t,n=r&&t.__emotion_base||t,a,i;o!==void 0&&(a=o.label,i=o.target);var l=T1(t,o,r),s=l||b1(n),u=!s("as");return function(){var p=arguments,f=r&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(a!==void 0&&f.push("label:"+a+";"),p[0]==null||p[0].raw===void 0)f.push.apply(f,p);else{var d=p[0];f.push(d[0]);for(var c=p.length,T=1;T<c;T++)f.push(p[T],d[T])}var v=pi(function(x,m,h){var g=u&&x.as||n,b="",E=[],S=x;if(x.theme==null){S={};for(var C in x)S[C]=x[C];S.theme=kn.useContext(Ko)}typeof x.className=="string"?b=Yl(m.registered,E,x.className):x.className!=null&&(b=x.className+" ");var O=Pr(f.concat(E),m.registered,S);b+=m.key+"-"+O.name,i!==void 0&&(b+=" "+i);var N=u&&l===void 0?b1(g):s,_={};for(var M in x)u&&M==="as"||N(M)&&(_[M]=x[M]);return _.className=b,h&&(_.ref=h),kn.createElement(kn.Fragment,null,kn.createElement(NA,{cache:m,serialized:O,isStringTag:typeof g=="string"}),kn.createElement(g,_))});return v.displayName=a!==void 0?a:"Styled("+(typeof n=="string"?n:n.displayName||n.name||"Component")+")",v.defaultProps=t.defaultProps,v.__emotion_real=v,v.__emotion_base=n,v.__emotion_styles=f,v.__emotion_forwardProp=l,Object.defineProperty(v,"toString",{value:function(){return i===void 0&&OA?"NO_COMPONENT_SELECTOR":"."+i}}),v.withComponent=function(x,m){var h=e(x,Zn({},o,m,{shouldForwardProp:T1(v,m,!0)}));return h.apply(void 0,f)},v}};var bz=R(k());var wA=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],Kp=v1.bind(null);wA.forEach(function(e){Kp[e]=Kp(e)});var E1=R(L(),1);function zA(e){return e==null||Object.keys(e).length===0}function Ca(e){let{styles:t,defaultTheme:o={}}=e;return(0,E1.jsx)(U0,{styles:typeof t=="function"?n=>t(zA(n)?o:n):t})}function Ws(e,t){return Kp(e,t)}function R1(e,t){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}var P1=[];function Jo(e){return P1[0]=e,Pr(P1)}var Nh=R(k(),1),wh=R(A1(),1);function er(e){if(typeof e!="object"||e===null)return!1;let t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function N1(e){if(Nh.isValidElement(e)||(0,wh.isValidElementType)(e)||!er(e))return e;let t={};return Object.keys(e).forEach(o=>{t[o]=N1(e[o])}),t}function Te(e,t,o={clone:!0}){let r=o.clone?{...e}:e;return er(e)&&er(t)&&Object.keys(t).forEach(n=>{Nh.isValidElement(t[n])||(0,wh.isValidElementType)(t[n])?r[n]=t[n]:er(t[n])&&Object.prototype.hasOwnProperty.call(e,n)&&er(e[n])?r[n]=Te(e[n],t[n],o):o.clone?r[n]=er(t[n])?N1(t[n]):t[n]:r[n]=t[n]}),r}var UA=e=>{let t=Object.keys(e).map(o=>({key:o,val:e[o]}))||[];return t.sort((o,r)=>o.val-r.val),t.reduce((o,r)=>({...o,[r.key]:r.val}),{})};function Js(e){let{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:o="px",step:r=5,...n}=e,a=UA(t),i=Object.keys(a);function l(c){return`@media (min-width:${typeof t[c]=="number"?t[c]:c}${o})`}function s(c){return`@media (max-width:${(typeof t[c]=="number"?t[c]:c)-r/100}${o})`}function u(c,T){let v=i.indexOf(T);return`@media (min-width:${typeof t[c]=="number"?t[c]:c}${o}) and (max-width:${(v!==-1&&typeof t[i[v]]=="number"?t[i[v]]:T)-r/100}${o})`}function p(c){return i.indexOf(c)+1<i.length?u(c,i[i.indexOf(c)+1]):l(c)}function f(c){let T=i.indexOf(c);return T===0?l(i[1]):T===i.length-1?s(i[T]):u(c,i[i.indexOf(c)+1]).replace("@media","@media not all and")}let d=[];for(let c=0;c<i.length;c+=1)d.push(l(i[c]));return{keys:i,values:a,up:l,down:s,between:u,only:p,not:f,unit:o,internal_mediaKeys:d,...n}}var w1=/min-width:\s*([0-9.]+)/;function lf(e,t){if(!e.containerQueries||!jA(t))return t;let o=[];for(let n in t)n.startsWith("@container")&&o.push(n);o.sort((n,a)=>+(n.match(w1)?.[1]||0)-+(a.match(w1)?.[1]||0));let r=t;for(let n=0;n<o.length;n+=1){let a=o[n],i=r[a];delete r[a],r[a]=i}return r}function jA(e){for(let t in e)if(t.startsWith("@container"))return!0;return!1}function sf(e,t){return t==="@"||t.startsWith("@")&&(e.some(o=>t.startsWith(`@${o}`))||!!t.match(/^@\d/))}function _h(e,t){let o=t.match(/^@([^/]+)?\/?(.+)?$/);if(!o)return null;let[,r,n]=o,a=Number.isNaN(+r)?r||0:+r;return e.containerQueries(n).up(a)}function uf(e){let t=(a,i)=>a.replace("@media",i?`@container ${i}`:"@container");function o(a,i){a.up=(...l)=>t(e.breakpoints.up(...l),i),a.down=(...l)=>t(e.breakpoints.down(...l),i),a.between=(...l)=>t(e.breakpoints.between(...l),i),a.only=(...l)=>t(e.breakpoints.only(...l),i),a.not=(...l)=>{let s=t(e.breakpoints.not(...l),i);return s.includes("not all and")?s.replace("not all and ","").replace("min-width:","width<").replace("max-width:","width>").replace("and","or"):s}}let r={},n=a=>(o(r,a),r);return o(n),{...e,containerQueries:n}}var LA={borderRadius:4},_1=LA;function nl(e){if(e==null)return!0;for(let t in e)return!1;return!0}function yr(e,t){let o=Array.isArray(t),r=Array.isArray(e);return qA(t)?t:GA(e)?al(t):o&&r?IA(e,t):o!==r?al(t):$A(e,t)}function HA(e){let t=0,o=e.length,r=new Array(o);for(t=0;t<o;t+=1)r[t]=al(e[t]);return r}function VA(e){let t={};for(let o in e)t[o]=al(e[o]);return t}function IA(e,t){let o=e.length;for(let r=0;r<t.length;r+=1)e[o+r]=al(t[r]);return e}function FA(e){return typeof e=="object"&&e!==null&&!(e instanceof RegExp)&&!(e instanceof Date)}function qA(e){return typeof e!="object"||e===null}function GA(e){return typeof e!="object"||e===null||e instanceof RegExp||e instanceof Date}function al(e){return FA(e)?Array.isArray(e)?HA(e):VA(e):e}function $A(e,t){for(let o in t)o in e?e[o]=yr(e[o],t[o]):e[o]=al(t[o]);return e}var YA={},tu={xs:0,sm:600,md:900,lg:1200,xl:1536},eu=Js({values:tu}),KA={containerQueries:e=>({up:t=>{let o=typeof t=="number"?t:tu[t]||t;return typeof o=="number"&&(o=`${o}px`),e?`@container ${e} (min-width:${o})`:`@container (min-width:${o})`}})};function So(e,t,o){let r={};return il(r,e.theme,t,(n,a,i)=>{let l=o(a,i);n?r[n]=l:yr(r,l)})}function il(e,t,o,r){if(t??(t=YA),Array.isArray(o)){let n=t.breakpoints??eu;for(let a=0;a<o.length;a+=1)Dh(e,n.up(n.keys[a]),o[a],void 0,r);return e}if(typeof o=="object"){let n=t.breakpoints??eu,a=n.values??tu;for(let i in o)if(sf(n.keys,i)){let l=_h(t.containerQueries?t:KA,i);l&&Dh(e,l,o[i],i,r)}else if(i in a){let l=n.up(i);Dh(e,l,o[i],i,r)}else{let l=i;e[l]=o[l]}return e}return r(void 0,o),e}function Dh(e,t,o,r,n){e[t]??(e[t]={}),n(t,o,r)}function zh(e=eu){let{internal_mediaKeys:t}=e,o={};for(let r=0;r<t.length;r+=1)o[t[r]]={};return o}function cf(e,t){let o=e.internal_mediaKeys;for(let r=0;r<o.length;r+=1){let n=o[r];nl(t[n])&&delete t[n]}return t}function D1(e,...t){let r=[zh(e),...t].reduce((n,a)=>Te(n,a),{});return cf(e,r)}function XA(e,t){if(typeof e!="object")return{};let o={},r=Object.keys(t);return Array.isArray(e)?r.forEach((n,a)=>{a<e.length&&(o[n]=!0)}):r.forEach(n=>{e[n]!=null&&(o[n]=!0)}),o}function pf({values:e,breakpoints:t,base:o}){let r=o||XA(e,t),n=Object.keys(r);if(n.length===0)return e;let a;return n.reduce((i,l,s)=>(Array.isArray(e)?(i[l]=e[s]!=null?e[s]:e[a],a=s):typeof e=="object"?(i[l]=e[l]!=null?e[l]:e[a],a=l):i[l]=e,i),{})}function z1(e,t){if(Array.isArray(t))return!0;if(typeof t=="object"&&t!==null){for(let r=0;r<e.keys.length;r+=1)if(e.keys[r]in t)return!0;let o=Object.keys(t);for(let r=0;r<o.length;r+=1)if(sf(e.keys,o[r]))return!0}return!1}function ll(e){if(typeof e!="string")throw new Error(bt(7));return e.charAt(0).toUpperCase()+e.slice(1)}function Bh(e,t,o,r){let n;return typeof e=="function"?n=e(o):Array.isArray(e)?n=e[o]||o:typeof o=="string"?n=sl(e,o,!0,r)||o:n=o,t&&(n=t(n,o,e)),n}function sl(e,t,o=!0,r=void 0){if(!e||!t)return null;let n=t.split(".");if(e.vars&&o){let a=B1(e.vars,n,r);if(a!=null)return a}return B1(e,n,r)}function B1(e,t,o=void 0){let r,n=e,a=0;for(;a<t.length;){if(n==null)return n;r=n,n=n[t[a]],a+=1}if(o&&n===void 0){let i=t[t.length-1],l=`${o}${i==="default"?"":ll(i)}`;return r?.[l]}return n}function Ne(e){let{prop:t,cssProperty:o=e.prop,themeKey:r,transform:n}=e,a=i=>{if(i[t]==null)return null;let l=i[t],s=i.theme,u=sl(s,r)||{};return So(i,l,f=>{let d=Bh(u,n,f,t);return o===!1?d:{[o]:d}})};return a.propTypes={},a.filterProps=[t],a}var QA={internal_cache:{}},ff={m:"margin",p:"padding"},k1={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},U1={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},ou={};for(let e in ff)ou[e]=[ff[e]];for(let e in ff)for(let t in k1){let o=ff[e],r=k1[t],n=Array.isArray(r)?r.map(a=>o+a):[o+r];ou[e+t]=n}for(let e in U1)ou[e]=ou[U1[e]];var kh=new Set(["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"]),Uh=new Set(["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"]),L1=new Set([...kh,...Uh]);function Ea(e,t,o,r){let n=sl(e,t,!0)??o;return typeof n=="number"||typeof n=="string"?a=>typeof a=="string"?a:typeof n=="string"?n.startsWith("var(")&&a===0?0:n.startsWith("var(")&&a===1?n:`calc(${a} * ${n})`:n*a:Array.isArray(n)?a=>{if(typeof a=="string")return a;let i=Math.abs(a),l=n[i];return a>=0?l:typeof l=="number"?-l:typeof l=="string"&&l.startsWith("var(")?`calc(-1 * ${l})`:`-${l}`}:typeof n=="function"?n:()=>{}}function Pa(e){return Ea(e,"spacing",8,"spacing")}function hr(e,t){return typeof t=="string"||t==null?t:e(t)}var j1=[""];function jh(e,t){let o=e.theme??QA,r=o?.internal_cache?.unarySpacing??Pa(o),n={};for(let a in e){if(!t.has(a))continue;let i=ou[a]??(j1[0]=a,j1),l=e[a];il(n,e.theme,l,(s,u)=>{let p=s?n[s]:n;for(let f=0;f<i.length;f+=1)p[i[f]]=hr(r,u)})}return n}function $e(e){return jh(e,kh)}$e.propTypes={};$e.filterProps=kh;function Ye(e){return jh(e,Uh)}Ye.propTypes={};Ye.filterProps=Uh;function H1(e){return jh(e,L1)}H1.propTypes={};H1.filterProps=L1;function ul(e=8,t=Pa({spacing:e})){if(e.mui)return e;let o=(...r)=>(r.length===0?[1]:r).map(a=>{let i=t(a);return typeof i=="number"?`${i}px`:i}).join(" ");return o.mui=!0,o}function ZA(...e){let t=e.reduce((r,n)=>(n.filterProps.forEach(a=>{r[a]=n}),r),{}),o=r=>{let n={};for(let a in r)t[a]&&yr(n,t[a](r));return n};return o.propTypes={},o.filterProps=e.reduce((r,n)=>r.concat(n.filterProps),[]),o}var $r=ZA;function Co(e){return typeof e!="number"?e:`${e}px solid`}function Fo(e,t){return Ne({prop:e,themeKey:"borders",transform:t})}var WA=Fo("border",Co),JA=Fo("borderTop",Co),eN=Fo("borderRight",Co),tN=Fo("borderBottom",Co),oN=Fo("borderLeft",Co),rN=Fo("borderColor"),nN=Fo("borderTopColor"),aN=Fo("borderRightColor"),iN=Fo("borderBottomColor"),lN=Fo("borderLeftColor"),sN=Fo("outline",Co),uN=Fo("outlineColor"),ru=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){let t=Ea(e.theme,"shape.borderRadius",4,"borderRadius"),o=r=>({borderRadius:hr(t,r)});return So(e,e.borderRadius,o)}return null};ru.propTypes={};ru.filterProps=["borderRadius"];var P6=$r(WA,JA,eN,tN,oN,rN,nN,aN,iN,lN,ru,sN,uN);var nu=e=>{if(e.gap!==void 0&&e.gap!==null){let t=Ea(e.theme,"spacing",8,"gap"),o=r=>({gap:hr(t,r)});return So(e,e.gap,o)}return null};nu.propTypes={};nu.filterProps=["gap"];var au=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){let t=Ea(e.theme,"spacing",8,"columnGap"),o=r=>({columnGap:hr(t,r)});return So(e,e.columnGap,o)}return null};au.propTypes={};au.filterProps=["columnGap"];var iu=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){let t=Ea(e.theme,"spacing",8,"rowGap"),o=r=>({rowGap:hr(t,r)});return So(e,e.rowGap,o)}return null};iu.propTypes={};iu.filterProps=["rowGap"];var cN=Ne({prop:"gridColumn"}),pN=Ne({prop:"gridRow"}),fN=Ne({prop:"gridAutoFlow"}),dN=Ne({prop:"gridAutoColumns"}),mN=Ne({prop:"gridAutoRows"}),yN=Ne({prop:"gridTemplateColumns"}),hN=Ne({prop:"gridTemplateRows"}),gN=Ne({prop:"gridTemplateAreas"}),bN=Ne({prop:"gridArea"}),w6=$r(nu,au,iu,cN,pN,fN,dN,mN,yN,hN,gN,bN);function Ra(e,t){return t==="grey"?t:e}var TN=Ne({prop:"color",themeKey:"palette",transform:Ra}),vN=Ne({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Ra}),xN=Ne({prop:"backgroundColor",themeKey:"palette",transform:Ra}),B6=$r(TN,vN,xN);function no(e){return e<=1&&e!==0?`${e*100}%`:e}var SN=Ne({prop:"width",transform:no}),df=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){let t=o=>{let r=e.theme?.breakpoints?.values?.[o]||tu[o];return r?e.theme?.breakpoints?.unit!=="px"?{maxWidth:`${r}${e.theme.breakpoints.unit}`}:{maxWidth:r}:{maxWidth:no(o)}};return So(e,e.maxWidth,t)}return null};df.filterProps=["maxWidth"];var CN=Ne({prop:"minWidth",transform:no}),EN=Ne({prop:"height",transform:no}),PN=Ne({prop:"maxHeight",transform:no}),RN=Ne({prop:"minHeight",transform:no}),H6=Ne({prop:"size",cssProperty:"width",transform:no}),V6=Ne({prop:"size",cssProperty:"height",transform:no}),ON=Ne({prop:"boxSizing"}),I6=$r(SN,df,CN,EN,PN,RN,ON);var MN={border:{themeKey:"borders",transform:Co},borderTop:{themeKey:"borders",transform:Co},borderRight:{themeKey:"borders",transform:Co},borderBottom:{themeKey:"borders",transform:Co},borderLeft:{themeKey:"borders",transform:Co},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:Co},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:ru},color:{themeKey:"palette",transform:Ra},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Ra},backgroundColor:{themeKey:"palette",transform:Ra},p:{style:Ye},pt:{style:Ye},pr:{style:Ye},pb:{style:Ye},pl:{style:Ye},px:{style:Ye},py:{style:Ye},padding:{style:Ye},paddingTop:{style:Ye},paddingRight:{style:Ye},paddingBottom:{style:Ye},paddingLeft:{style:Ye},paddingX:{style:Ye},paddingY:{style:Ye},paddingInline:{style:Ye},paddingInlineStart:{style:Ye},paddingInlineEnd:{style:Ye},paddingBlock:{style:Ye},paddingBlockStart:{style:Ye},paddingBlockEnd:{style:Ye},m:{style:$e},mt:{style:$e},mr:{style:$e},mb:{style:$e},ml:{style:$e},mx:{style:$e},my:{style:$e},margin:{style:$e},marginTop:{style:$e},marginRight:{style:$e},marginBottom:{style:$e},marginLeft:{style:$e},marginX:{style:$e},marginY:{style:$e},marginInline:{style:$e},marginInlineStart:{style:$e},marginInlineEnd:{style:$e},marginBlock:{style:$e},marginBlockStart:{style:$e},marginBlockEnd:{style:$e},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:nu},rowGap:{style:iu},columnGap:{style:au},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:no},maxWidth:{style:df},minWidth:{transform:no},height:{transform:no},maxHeight:{transform:no},minHeight:{transform:no},boxSizing:{},font:{themeKey:"font"},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}},Yr=MN;var AN={};function NN(){function e(t){if(!t.sx)return null;let{sx:o,theme:r=AN,nested:n}=t,a=r.unstable_sxConfig??Yr,i={sx:null,theme:r,nested:!0};function l(s){let u=s;if(typeof s=="function")u=s(r);else if(typeof s!="object")return s;if(!u)return null;let p=r.breakpoints??eu,f=zh(p);for(let d in u){let c=wN(u[d],r);if(c!=null){if(typeof c!="object"){V1(f,d,c,r,a);continue}if(a[d]){V1(f,d,c,r,a);continue}z1(p,c)?il(f,t.theme,c,(T,v)=>{f[T][d]=v}):(i.sx=c,f[d]=e(i))}}return!n&&r.modularCssLayers?{"@layer sx":lf(r,cf(p,f))}:lf(r,cf(p,f))}return Array.isArray(o)?o.map(l):l(o)}return e.filterProps=["sx"],e}var ao=NN();function V1(e,t,o,r,n){let a=n[t];if(!a){e[t]=o;return}if(o==null)return;let{themeKey:i}=a;if(i==="typography"&&o==="inherit"){e[t]=o;return}let{style:l}=a;if(l){yr(e,l({[t]:o,theme:r}));return}let{cssProperty:s=t,transform:u}=a,p=sl(r,i);il(e,r,o,(f,d)=>{let c=Bh(p,u,d,t);s===!1?f?e[f]=c:yr(e,c):f?e[f][s]=c:e[s]=c})}function wN(e,t){return typeof e=="function"?e(t):e}function Lh(e,t){let o=this;if(o.vars){if(!o.colorSchemes?.[e]||typeof o.getColorSchemeSelector!="function")return{};let r=o.getColorSchemeSelector(e);return r==="&"?t:((r.includes("data-")||r.includes("."))&&(r=`*:where(${r.replace(/\s*&$/,"")}) &`),{[r]:t})}return o.palette.mode===e?t:{}}function _N(e={},...t){let{breakpoints:o={},palette:r={},spacing:n,shape:a={},...i}=e,l=Js(o),s=ul(n),u=Te({breakpoints:l,direction:"ltr",components:{},palette:{mode:"light",...r},spacing:s,shape:{..._1,...a}},i);return u=uf(u),u.applyStyles=Lh,u=t.reduce((p,f)=>Te(p,f),u),u.unstable_sxConfig={...Yr,...i?.unstable_sxConfig},u.unstable_sx=function(f){return ao({sx:f,theme:this})},u.internal_cache={},u}var Kr=_N;var I1=R(k(),1);function DN(e){return Object.keys(e).length===0}function zN(e=null){let t=I1.useContext(Ko);return!t||DN(t)?e:t}var Oa=zN;var BN=Kr();function kN(e=BN){return Oa(e)}var gr=kN;var F1=R(L(),1);function Hh(e){let t=Jo(e);return e!==t&&t.styles?(t.styles.match(/^@layer\s+[^{]*$/)||(t.styles=`@layer global{${t.styles}}`),t):e}function UN({styles:e,themeId:t,defaultTheme:o={}}){let r=gr(o),n=t&&r[t]||r,a=typeof e=="function"?e(n):e;return n.modularCssLayers&&(Array.isArray(a)?a=a.map(i=>Hh(typeof i=="function"?i(n):i)):a=Hh(a)),(0,F1.jsx)(Ca,{styles:a})}var cl=UN;var q1=e=>e,jN=()=>{let e=q1;return{configure(t){e=t},generate(t){return e(t)},reset(){e=q1}}},LN=jN(),pl=LN;var $1=R(k(),1);function G1(e){var t,o,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var n=e.length;for(t=0;t<n;t++)e[t]&&(o=G1(e[t]))&&(r&&(r+=" "),r+=o)}else for(o in e)e[o]&&(r&&(r+=" "),r+=o);return r}function HN(){for(var e,t,o=0,r="",n=arguments.length;o<n;o++)(e=arguments[o])&&(t=G1(e))&&(r&&(r+=" "),r+=t);return r}var H=HN;var Y1=R(L(),1);function lu(e={}){let{themeId:t,defaultTheme:o,defaultClassName:r="MuiBox-root",generateClassName:n}=e,a=Ws("div",{shouldForwardProp:l=>l!=="theme"&&l!=="sx"&&l!=="as"})(ao);return $1.forwardRef(function(s,u){let p=gr(o),{className:f,component:d="div",...c}=s;return(0,Y1.jsx)(a,{as:d,ref:u,className:H(f,n?n(r):r),theme:t&&p[t]||p,...c})})}var VN={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function F(e,t,o="Mui"){let r=VN[t];return r?`${o}-${r}`:`${pl.generate(e)}-${t}`}function q(e,t,o="Mui"){let r={};return t.forEach(n=>{r[n]=F(e,n,o)}),r}function su(e){let{variants:t,...o}=e,r={variants:t,style:Jo(o),isProcessed:!0};return r.style===o||t&&t.forEach(n=>{typeof n.style!="function"&&(n.style=Jo(n.style))}),r}var IN=Kr();function Vh(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}function Ma(e,t){return t&&e&&typeof e=="object"&&e.styles&&!e.styles.startsWith("@layer")&&(e.styles=`@layer ${t}{${String(e.styles)}}`),e}function FN(e){return e?(t,o)=>o[e]:null}function qN(e,t,o){e.theme=nl(e.theme)?o:e.theme[t]||e.theme}function mf(e,t,o){let r=typeof t=="function"?t(e):t;if(Array.isArray(r))return r.flatMap(n=>mf(e,n,o));if(Array.isArray(r?.variants)){let n;if(r.isProcessed)n=o?Ma(r.style,o):r.style;else{let{variants:a,...i}=r;n=o?Ma(Jo(i),o):i}return K1(e,r.variants,[n],o)}return r?.isProcessed?o?Ma(Jo(r.style),o):r.style:o?Ma(Jo(r),o):r}function K1(e,t,o=[],r=void 0){let n;e:for(let a=0;a<t.length;a+=1){let i=t[a];if(typeof i.props=="function"){if(n??(n={...e,...e.ownerState,ownerState:e.ownerState}),!i.props(n))continue}else for(let l in i.props)if(e[l]!==i.props[l]&&e.ownerState?.[l]!==i.props[l])continue e;typeof i.style=="function"?(n??(n={...e,...e.ownerState,ownerState:e.ownerState}),o.push(r?Ma(Jo(i.style(n)),r):i.style(n))):o.push(r?Ma(Jo(i.style),r):i.style)}return o}function fl(e={}){let{themeId:t,defaultTheme:o=IN,rootShouldForwardProp:r=Vh,slotShouldForwardProp:n=Vh}=e;function a(l){qN(l,t,o)}return(l,s={})=>{R1(l,S=>S.filter(C=>C!==ao));let{name:u,slot:p,skipVariantsResolver:f,skipSx:d,overridesResolver:c=FN(YN(p)),...T}=s,v=u&&u.startsWith("Mui")||p?"components":"custom",x=f!==void 0?f:p&&p!=="Root"&&p!=="root"||!1,m=d||!1,h=Vh;p==="Root"||p==="root"?h=r:p?h=n:$N(l)&&(h=void 0);let g=Ws(l,{shouldForwardProp:h,label:GN(u,p),...T}),b=S=>{if(S.__emotion_real===S)return S;if(typeof S=="function")return function(O){return mf(O,S,O.theme.modularCssLayers?v:void 0)};if(er(S)){let C=su(S);return function(N){return C.variants?mf(N,C,N.theme.modularCssLayers?v:void 0):N.theme.modularCssLayers?Ma(C.style,v):C.style}}return S},E=(...S)=>{let C=[],O=S.map(b),N=[];if(C.push(a),u&&c&&N.push(function(w){let A=w.theme.components?.[u]?.styleOverrides;if(!A)return null;let B={};for(let U in A)B[U]=mf(w,A[U],w.theme.modularCssLayers?"theme":void 0);return c(w,B)}),u&&!x&&N.push(function(w){let A=w.theme?.components?.[u]?.variants;return A?K1(w,A,[],w.theme.modularCssLayers?"theme":void 0):null}),m||N.push(ao),Array.isArray(O[0])){let y=O.shift(),w=new Array(C.length).fill(""),P=new Array(N.length).fill(""),A;A=[...w,...y,...P],A.raw=[...w,...y.raw,...P],C.unshift(A)}let _=[...C,...O,...N],M=g(..._);return l.muiName&&(M.muiName=l.muiName),M};return g.withConfig&&(E.withConfig=g.withConfig),E}}function GN(e,t){return void 0}function $N(e){return typeof e=="string"&&e.charCodeAt(0)>96}function YN(e){return e&&e.charAt(0).toLowerCase()+e.slice(1)}var KN=fl(),Ih=KN;function br(e,t,o=!1){let r={...t};for(let n in e)if(Object.prototype.hasOwnProperty.call(e,n)){let a=n;if(a==="components"||a==="slots")r[a]={...e[a],...r[a]};else if(a==="componentsProps"||a==="slotProps"){let i=e[a],l=t[a];if(!l)r[a]=i||{};else if(!i)r[a]=l;else{r[a]={...l};for(let s in i)if(Object.prototype.hasOwnProperty.call(i,s)){let u=s;r[a][u]=br(i[u],l[u],o)}}}else a==="className"&&o&&t.className?r.className=H(e?.className,t?.className):a==="style"&&o&&t.style?r.style={...e?.style,...t?.style}:r[a]===void 0&&(r[a]=e[a])}return r}function Fh(e){let{theme:t,name:o,props:r}=e;return!t||!t.components||!t.components[o]||!t.components[o].defaultProps?r:br(t.components[o].defaultProps,r)}function yf({props:e,name:t,defaultTheme:o,themeId:r}){let n=gr(o);return r&&(n=n[r]||n),Fh({theme:n,name:t,props:e})}var hf=R(k(),1),XN=typeof window<"u"?hf.useLayoutEffect:hf.useEffect,Kt=XN;function QN(e,t=Number.MIN_SAFE_INTEGER,o=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,o))}var qh=QN;function Gh(e,t=0,o=1){return qh(e,t,o)}function X1(e){e=e.slice(1);let t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g"),o=e.match(t);return o&&o[0].length===1&&(o=o.map(r=>r+r)),o?`rgb${o.length===4?"a":""}(${o.map((r,n)=>n<3?parseInt(r,16):Math.round(parseInt(r,16)/255*1e3)/1e3).join(", ")})`:""}function Xr(e){if(e.type)return e;if(e.charAt(0)==="#")return Xr(X1(e));let t=e.indexOf("("),o=e.substring(0,t);if(!["rgb","rgba","hsl","hsla","color"].includes(o))throw new Error(bt(9,e));let r=e.substring(t+1,e.length-1),n;if(o==="color"){if(r=r.split(" "),n=r.shift(),r.length===4&&r[3].charAt(0)==="/"&&(r[3]=r[3].slice(1)),!["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].includes(n))throw new Error(bt(10,n))}else r=r.split(",");return r=r.map(a=>parseFloat(a)),{type:o,values:r,colorSpace:n}}var ZN=e=>{let t=Xr(e);return t.values.slice(0,3).map((o,r)=>t.type.includes("hsl")&&r!==0?`${o}%`:o).join(" ")},dl=(e,t)=>{try{return ZN(e)}catch{return e}};function uu(e){let{type:t,colorSpace:o}=e,{values:r}=e;return t.includes("rgb")?r=r.map((n,a)=>a<3?parseInt(n,10):n):t.includes("hsl")&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),t.includes("color")?r=`${o} ${r.join(" ")}`:r=`${r.join(", ")}`,`${t}(${r})`}function bf(e){e=Xr(e);let{values:t}=e,o=t[0],r=t[1]/100,n=t[2]/100,a=r*Math.min(n,1-n),i=(u,p=(u+o/30)%12)=>n-a*Math.max(Math.min(p-3,9-p,1),-1),l="rgb",s=[Math.round(i(0)*255),Math.round(i(8)*255),Math.round(i(4)*255)];return e.type==="hsla"&&(l+="a",s.push(t[3])),uu({type:l,values:s})}function gf(e){e=Xr(e);let t=e.type==="hsl"||e.type==="hsla"?Xr(bf(e)).values:e.values;return t=t.map(o=>(e.type!=="color"&&(o/=255),o<=.03928?o/12.92:((o+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function $h(e,t){let o=gf(e),r=gf(t);return(Math.max(o,r)+.05)/(Math.min(o,r)+.05)}function kt(e,t){return e=Xr(e),t=Gh(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,uu(e)}function Un(e,t,o){try{return kt(e,t)}catch{return e}}function Aa(e,t){if(e=Xr(e),t=Gh(t),e.type.includes("hsl"))e.values[2]*=1-t;else if(e.type.includes("rgb")||e.type.includes("color"))for(let o=0;o<3;o+=1)e.values[o]*=1-t;return uu(e)}function ve(e,t,o){try{return Aa(e,t)}catch{return e}}function Na(e,t){if(e=Xr(e),t=Gh(t),e.type.includes("hsl"))e.values[2]+=(100-e.values[2])*t;else if(e.type.includes("rgb"))for(let o=0;o<3;o+=1)e.values[o]+=(255-e.values[o])*t;else if(e.type.includes("color"))for(let o=0;o<3;o+=1)e.values[o]+=(1-e.values[o])*t;return uu(e)}function xe(e,t,o){try{return Na(e,t)}catch{return e}}function Q1(e,t=.15){return gf(e)>.5?Aa(e,t):Na(e,t)}function cu(e,t,o){try{return Q1(e,t)}catch{return e}}var fC=R(k(),1);var J1=R(k(),1);var Z1=R(k(),1),WN=Z1.createContext(null),Tf=WN;var Yh=R(k(),1);function Qr(){return Yh.useContext(Tf)}var JN=typeof Symbol=="function"&&Symbol.for,W1=JN?Symbol.for("mui.nested"):"__THEME_NESTED__";var eC=R(L(),1);function ew(e,t){return typeof t=="function"?t(e):{...e,...t}}function tw(e){let{children:t,theme:o}=e,r=Qr(),n=J1.useMemo(()=>{let a=r===null?{...o}:ew(r,o);return a!=null&&(a[W1]=r!==null),a},[o,r]);return(0,eC.jsx)(Tf.Provider,{value:n,children:t})}var vf=tw;var xf=R(k(),1);var tC=R(L(),1),oC=xf.createContext();function ow({value:e,...t}){return(0,tC.jsx)(oC.Provider,{value:e??!0,...t})}var rC=()=>xf.useContext(oC)??!1,nC=ow;var Sf=R(k(),1);var aC=R(L(),1),iC=Sf.createContext(void 0);function rw({value:e,children:t}){return(0,aC.jsx)(iC.Provider,{value:e,children:t})}function nw(e){let{theme:t,name:o,props:r}=e;if(!t||!t.components||!t.components[o])return r;let n=t.components[o];return n.defaultProps?br(n.defaultProps,r,t.components.mergeClassNameAndStyle):!n.styleOverrides&&!n.variants?br(n,r,t.components.mergeClassNameAndStyle):r}function Kh({props:e,name:t}){let o=Sf.useContext(iC);return nw({props:e,name:t,theme:{components:o}})}var Cf=rw;var pu=R(k(),1),lC=0;function aw(e){let[t,o]=pu.useState(e),r=e||t;return pu.useEffect(()=>{t==null&&(lC+=1,o(`mui-${lC}`))},[t]),r}var iw={...pu},sC=iw.useId;function tr(e){if(sC!==void 0){let t=sC();return e??t}return aw(e)}var uC=R(L(),1);function Xh(e){let t=Oa(),o=tr()||"",{modularCssLayers:r}=e,n="mui.global, mui.components, mui.theme, mui.custom, mui.sx";return!r||t!==null?n="":typeof r=="string"?n=r.replace(/mui(?!\.)/g,n):n=`@layer ${n};`,Kt(()=>{let a=document.querySelector("head");if(!a)return;let i=a.firstChild;if(n){if(i&&i.hasAttribute?.("data-mui-layer-order")&&i.getAttribute("data-mui-layer-order")===o)return;let l=document.createElement("style");l.setAttribute("data-mui-layer-order",o),l.textContent=n,a.prepend(l)}else a.querySelector(`style[data-mui-layer-order="${o}"]`)?.remove()},[n,o]),n?(0,uC.jsx)(cl,{styles:n}):null}var ml=R(L(),1),cC={};function pC(e,t,o,r=!1){return fC.useMemo(()=>{let n=e&&t[e]||t;if(typeof o=="function"){let a=o(n),i=e?{...t,[e]:a}:a;return r?()=>i:i}return e?{...t,[e]:o}:{...t,...o}},[e,t,o,r])}function lw(e){let{children:t,theme:o,themeId:r}=e,n=Oa(cC),a=Qr()||cC,i=pC(r,n,o),l=pC(r,a,o,!0),s=(r?i[r]:i).direction==="rtl",u=Xh(i);return(0,ml.jsx)(vf,{theme:l,children:(0,ml.jsx)(Ko.Provider,{value:i,children:(0,ml.jsx)(nC,{value:s,children:(0,ml.jsxs)(Cf,{value:r?i[r].components:i.components,children:[u,t]})})})})}var yl=lw;var dC={theme:void 0};function Ef(e){let t,o;return function(n){let a=t;return(a===void 0||n.theme!==o)&&(dC.theme=n.theme,a=su(e(dC)),t=a,o=n.theme),a}}var _t=R(k(),1);var mC=R(L(),1),fu="mode",du="color-scheme",sw="data-color-scheme";function Qh(e){let{defaultMode:t="system",defaultLightColorScheme:o="light",defaultDarkColorScheme:r="dark",modeStorageKey:n=fu,colorSchemeStorageKey:a=du,attribute:i=sw,colorSchemeNode:l="document.documentElement",nonce:s}=e||{},u="",p=i;if(i==="class"&&(p=".%s"),i==="data"&&(p="[data-%s]"),p.startsWith(".")){let d=p.substring(1);u+=`${l}.classList.remove('${d}'.replace('%s', light), '${d}'.replace('%s', dark));
|
|
8
|
+
`+r.stack}}var qm=Object.prototype.hasOwnProperty,zy=ft.unstable_scheduleCallback,lm=ft.unstable_cancelCallback,a2=ft.unstable_shouldYield,i2=ft.unstable_requestPaint,ho=ft.unstable_now,l2=ft.unstable_getCurrentPriorityLevel,Bv=ft.unstable_ImmediatePriority,kv=ft.unstable_UserBlockingPriority,ap=ft.unstable_NormalPriority,s2=ft.unstable_LowPriority,Uv=ft.unstable_IdlePriority,u2=ft.log,c2=ft.unstable_setDisableYieldValue,Is=null,go=null;function hn(e){if(typeof u2=="function"&&c2(e),go&&typeof go.setStrictMode=="function")try{go.setStrictMode(Is,e)}catch{}}var bo=Math.clz32?Math.clz32:d2,p2=Math.log,f2=Math.LN2;function d2(e){return e>>>=0,e===0?32:31-(p2(e)/f2|0)|0}var Ec=256,Pc=262144,Rc=4194304;function ea(e){var t=e&42;if(t!==0)return t;switch(e&-e){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 e&261888;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function Np(e,t,o){var r=e.pendingLanes;if(r===0)return 0;var n=0,a=e.suspendedLanes,i=e.pingedLanes;e=e.warmLanes;var l=r&134217727;return l!==0?(r=l&~a,r!==0?n=ea(r):(i&=l,i!==0?n=ea(i):o||(o=l&~e,o!==0&&(n=ea(o))))):(l=r&~a,l!==0?n=ea(l):i!==0?n=ea(i):o||(o=r&~e,o!==0&&(n=ea(o)))),n===0?0:t!==0&&t!==n&&(t&a)===0&&(a=n&-n,o=t&-t,a>=o||a===32&&(o&4194048)!==0)?t:n}function Fs(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function m2(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function jv(){var e=Rc;return Rc<<=1,(Rc&62914560)===0&&(Rc=4194304),e}function sm(e){for(var t=[],o=0;31>o;o++)t.push(e);return t}function qs(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function y2(e,t,o,r,n,a){var i=e.pendingLanes;e.pendingLanes=o,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=o,e.entangledLanes&=o,e.errorRecoveryDisabledLanes&=o,e.shellSuspendCounter=0;var l=e.entanglements,s=e.expirationTimes,u=e.hiddenUpdates;for(o=i&~o;0<o;){var p=31-bo(o),f=1<<p;l[p]=0,s[p]=-1;var d=u[p];if(d!==null)for(u[p]=null,p=0;p<d.length;p++){var c=d[p];c!==null&&(c.lane&=-536870913)}o&=~f}r!==0&&Lv(e,r,0),a!==0&&n===0&&e.tag!==0&&(e.suspendedLanes|=a&~(i&~t))}function Lv(e,t,o){e.pendingLanes|=t,e.suspendedLanes&=~t;var r=31-bo(t);e.entangledLanes|=t,e.entanglements[r]=e.entanglements[r]|1073741824|o&261930}function Hv(e,t){var o=e.entangledLanes|=t;for(e=e.entanglements;o;){var r=31-bo(o),n=1<<r;n&t|e[r]&t&&(e[r]|=t),o&=~n}}function Vv(e,t){var o=t&-t;return o=(o&42)!==0?1:By(o),(o&(e.suspendedLanes|t))!==0?0:o}function By(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=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:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function ky(e){return e&=-e,2<e?8<e?(e&134217727)!==0?32:268435456:8:2}function Iv(){var e=me.p;return e!==0?e:(e=window.event,e===void 0?32:p1(e.type))}function lT(e,t){var o=me.p;try{return me.p=e,t()}finally{me.p=o}}var zn=Math.random().toString(36).slice(2),Rt="__reactFiber$"+zn,oo="__reactProps$"+zn,Qi="__reactContainer$"+zn,Gm="__reactEvents$"+zn,h2="__reactListeners$"+zn,g2="__reactHandles$"+zn,sT="__reactResources$"+zn,Gs="__reactMarker$"+zn;function Uy(e){delete e[Rt],delete e[oo],delete e[Gm],delete e[h2],delete e[g2]}function Si(e){var t=e[Rt];if(t)return t;for(var o=e.parentNode;o;){if(t=o[Qi]||o[Rt]){if(o=t.alternate,t.child!==null||o!==null&&o.child!==null)for(e=hv(e);e!==null;){if(o=e[Rt])return o;e=hv(e)}return t}e=o,o=e.parentNode}return null}function Zi(e){if(e=e[Rt]||e[Qi]){var t=e.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return e}return null}function ps(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error(z(33))}function _i(e){var t=e[sT];return t||(t=e[sT]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function ht(e){e[Gs]=!0}var Fv=new Set,qv={};function da(e,t){Hi(e,t),Hi(e+"Capture",t)}function Hi(e,t){for(qv[e]=t,e=0;e<t.length;e++)Fv.add(t[e])}var b2=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]*$"),uT={},cT={};function T2(e){return qm.call(cT,e)?!0:qm.call(uT,e)?!1:b2.test(e)?cT[e]=!0:(uT[e]=!0,!1)}function Vc(e,t,o){if(T2(t))if(o===null)e.removeAttribute(t);else{switch(typeof o){case"undefined":case"function":case"symbol":e.removeAttribute(t);return;case"boolean":var r=t.toLowerCase().slice(0,5);if(r!=="data-"&&r!=="aria-"){e.removeAttribute(t);return}}e.setAttribute(t,""+o)}}function Oc(e,t,o){if(o===null)e.removeAttribute(t);else{switch(typeof o){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(t);return}e.setAttribute(t,""+o)}}function Or(e,t,o,r){if(r===null)e.removeAttribute(o);else{switch(typeof r){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(o);return}e.setAttributeNS(t,o,""+r)}}function Do(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Gv(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function v2(e,t,o){var r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&&typeof r<"u"&&typeof r.get=="function"&&typeof r.set=="function"){var n=r.get,a=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return n.call(this)},set:function(i){o=""+i,a.call(this,i)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return o},setValue:function(i){o=""+i},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function $m(e){if(!e._valueTracker){var t=Gv(e)?"checked":"value";e._valueTracker=v2(e,t,""+e[t])}}function $v(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var o=t.getValue(),r="";return e&&(r=Gv(e)?e.checked?"true":"false":e.value),e=r,e!==o?(t.setValue(e),!0):!1}function ip(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}var x2=/[\n"\\]/g;function ko(e){return e.replace(x2,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function Ym(e,t,o,r,n,a,i,l){e.name="",i!=null&&typeof i!="function"&&typeof i!="symbol"&&typeof i!="boolean"?e.type=i:e.removeAttribute("type"),t!=null?i==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+Do(t)):e.value!==""+Do(t)&&(e.value=""+Do(t)):i!=="submit"&&i!=="reset"||e.removeAttribute("value"),t!=null?Km(e,i,Do(t)):o!=null?Km(e,i,Do(o)):r!=null&&e.removeAttribute("value"),n==null&&a!=null&&(e.defaultChecked=!!a),n!=null&&(e.checked=n&&typeof n!="function"&&typeof n!="symbol"),l!=null&&typeof l!="function"&&typeof l!="symbol"&&typeof l!="boolean"?e.name=""+Do(l):e.removeAttribute("name")}function Yv(e,t,o,r,n,a,i,l){if(a!=null&&typeof a!="function"&&typeof a!="symbol"&&typeof a!="boolean"&&(e.type=a),t!=null||o!=null){if(!(a!=="submit"&&a!=="reset"||t!=null)){$m(e);return}o=o!=null?""+Do(o):"",t=t!=null?""+Do(t):o,l||t===e.value||(e.value=t),e.defaultValue=t}r=r??n,r=typeof r!="function"&&typeof r!="symbol"&&!!r,e.checked=l?e.checked:!!r,e.defaultChecked=!!r,i!=null&&typeof i!="function"&&typeof i!="symbol"&&typeof i!="boolean"&&(e.name=i),$m(e)}function Km(e,t,o){t==="number"&&ip(e.ownerDocument)===e||e.defaultValue===""+o||(e.defaultValue=""+o)}function Di(e,t,o,r){if(e=e.options,t){t={};for(var n=0;n<o.length;n++)t["$"+o[n]]=!0;for(o=0;o<e.length;o++)n=t.hasOwnProperty("$"+e[o].value),e[o].selected!==n&&(e[o].selected=n),n&&r&&(e[o].defaultSelected=!0)}else{for(o=""+Do(o),t=null,n=0;n<e.length;n++){if(e[n].value===o){e[n].selected=!0,r&&(e[n].defaultSelected=!0);return}t!==null||e[n].disabled||(t=e[n])}t!==null&&(t.selected=!0)}}function Kv(e,t,o){if(t!=null&&(t=""+Do(t),t!==e.value&&(e.value=t),o==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=o!=null?""+Do(o):""}function Xv(e,t,o,r){if(t==null){if(r!=null){if(o!=null)throw Error(z(92));if(cs(r)){if(1<r.length)throw Error(z(93));r=r[0]}o=r}o==null&&(o=""),t=o}o=Do(t),e.defaultValue=o,r=e.textContent,r===o&&r!==""&&r!==null&&(e.value=r),$m(e)}function Vi(e,t){if(t){var o=e.firstChild;if(o&&o===e.lastChild&&o.nodeType===3){o.nodeValue=t;return}}e.textContent=t}var S2=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 pT(e,t,o){var r=t.indexOf("--")===0;o==null||typeof o=="boolean"||o===""?r?e.setProperty(t,""):t==="float"?e.cssFloat="":e[t]="":r?e.setProperty(t,o):typeof o!="number"||o===0||S2.has(t)?t==="float"?e.cssFloat=o:e[t]=(""+o).trim():e[t]=o+"px"}function Qv(e,t,o){if(t!=null&&typeof t!="object")throw Error(z(62));if(e=e.style,o!=null){for(var r in o)!o.hasOwnProperty(r)||t!=null&&t.hasOwnProperty(r)||(r.indexOf("--")===0?e.setProperty(r,""):r==="float"?e.cssFloat="":e[r]="");for(var n in t)r=t[n],t.hasOwnProperty(n)&&o[n]!==r&&pT(e,n,r)}else for(var a in t)t.hasOwnProperty(a)&&pT(e,a,t[a])}function jy(e){if(e.indexOf("-")===-1)return!1;switch(e){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 C2=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"]]),E2=/^[\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 Ic(e){return E2.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function Br(){}var Xm=null;function Ly(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Ci=null,zi=null;function fT(e){var t=Zi(e);if(t&&(e=t.stateNode)){var o=e[oo]||null;e:switch(e=t.stateNode,t.type){case"input":if(Ym(e,o.value,o.defaultValue,o.defaultValue,o.checked,o.defaultChecked,o.type,o.name),t=o.name,o.type==="radio"&&t!=null){for(o=e;o.parentNode;)o=o.parentNode;for(o=o.querySelectorAll('input[name="'+ko(""+t)+'"][type="radio"]'),t=0;t<o.length;t++){var r=o[t];if(r!==e&&r.form===e.form){var n=r[oo]||null;if(!n)throw Error(z(90));Ym(r,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name)}}for(t=0;t<o.length;t++)r=o[t],r.form===e.form&&$v(r)}break e;case"textarea":Kv(e,o.value,o.defaultValue);break e;case"select":t=o.value,t!=null&&Di(e,!!o.multiple,t,!1)}}}var um=!1;function Zv(e,t,o){if(um)return e(t,o);um=!0;try{var r=e(t);return r}finally{if(um=!1,(Ci!==null||zi!==null)&&(Fp(),Ci&&(t=Ci,e=zi,zi=Ci=null,fT(t),e)))for(t=0;t<e.length;t++)fT(e[t])}}function Ms(e,t){var o=e.stateNode;if(o===null)return null;var r=o[oo]||null;if(r===null)return null;o=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(e=e.type,r=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!r;break e;default:e=!1}if(e)return null;if(o&&typeof o!="function")throw Error(z(231,t,typeof o));return o}var Hr=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Qm=!1;if(Hr)try{yi={},Object.defineProperty(yi,"passive",{get:function(){Qm=!0}}),window.addEventListener("test",yi,yi),window.removeEventListener("test",yi,yi)}catch{Qm=!1}var yi,gn=null,Hy=null,Fc=null;function Wv(){if(Fc)return Fc;var e,t=Hy,o=t.length,r,n="value"in gn?gn.value:gn.textContent,a=n.length;for(e=0;e<o&&t[e]===n[e];e++);var i=o-e;for(r=1;r<=i&&t[o-r]===n[a-r];r++);return Fc=n.slice(e,1<r?1-r:void 0)}function qc(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function Mc(){return!0}function dT(){return!1}function ro(e){function t(o,r,n,a,i){this._reactName=o,this._targetInst=n,this.type=r,this.nativeEvent=a,this.target=i,this.currentTarget=null;for(var l in e)e.hasOwnProperty(l)&&(o=e[l],this[l]=o?o(a):a[l]);return this.isDefaultPrevented=(a.defaultPrevented!=null?a.defaultPrevented:a.returnValue===!1)?Mc:dT,this.isPropagationStopped=dT,this}return Le(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var o=this.nativeEvent;o&&(o.preventDefault?o.preventDefault():typeof o.returnValue!="unknown"&&(o.returnValue=!1),this.isDefaultPrevented=Mc)},stopPropagation:function(){var o=this.nativeEvent;o&&(o.stopPropagation?o.stopPropagation():typeof o.cancelBubble!="unknown"&&(o.cancelBubble=!0),this.isPropagationStopped=Mc)},persist:function(){},isPersistent:Mc}),t}var ma={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},_p=ro(ma),$s=Le({},ma,{view:0,detail:0}),P2=ro($s),cm,pm,rs,Dp=Le({},$s,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Vy,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==rs&&(rs&&e.type==="mousemove"?(cm=e.screenX-rs.screenX,pm=e.screenY-rs.screenY):pm=cm=0,rs=e),cm)},movementY:function(e){return"movementY"in e?e.movementY:pm}}),mT=ro(Dp),R2=Le({},Dp,{dataTransfer:0}),O2=ro(R2),M2=Le({},$s,{relatedTarget:0}),fm=ro(M2),A2=Le({},ma,{animationName:0,elapsedTime:0,pseudoElement:0}),w2=ro(A2),N2=Le({},ma,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),_2=ro(N2),D2=Le({},ma,{data:0}),yT=ro(D2),z2={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},B2={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"},k2={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function U2(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=k2[e])?!!t[e]:!1}function Vy(){return U2}var j2=Le({},$s,{key:function(e){if(e.key){var t=z2[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=qc(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?B2[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Vy,charCode:function(e){return e.type==="keypress"?qc(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?qc(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),L2=ro(j2),H2=Le({},Dp,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),hT=ro(H2),V2=Le({},$s,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Vy}),I2=ro(V2),F2=Le({},ma,{propertyName:0,elapsedTime:0,pseudoElement:0}),q2=ro(F2),G2=Le({},Dp,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),$2=ro(G2),Y2=Le({},ma,{newState:0,oldState:0}),K2=ro(Y2),X2=[9,13,27,32],Iy=Hr&&"CompositionEvent"in window,ms=null;Hr&&"documentMode"in document&&(ms=document.documentMode);var Q2=Hr&&"TextEvent"in window&&!ms,Jv=Hr&&(!Iy||ms&&8<ms&&11>=ms),gT=" ",bT=!1;function ex(e,t){switch(e){case"keyup":return X2.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function tx(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Ei=!1;function Z2(e,t){switch(e){case"compositionend":return tx(t);case"keypress":return t.which!==32?null:(bT=!0,gT);case"textInput":return e=t.data,e===gT&&bT?null:e;default:return null}}function W2(e,t){if(Ei)return e==="compositionend"||!Iy&&ex(e,t)?(e=Wv(),Fc=Hy=gn=null,Ei=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Jv&&t.locale!=="ko"?null:t.data;default:return null}}var J2={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 TT(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!J2[e.type]:t==="textarea"}function ox(e,t,o,r){Ci?zi?zi.push(r):zi=[r]:Ci=r,t=Ep(t,"onChange"),0<t.length&&(o=new _p("onChange","change",null,o,r),e.push({event:o,listeners:t}))}var ys=null,As=null;function eM(e){ZS(e,0)}function zp(e){var t=ps(e);if($v(t))return e}function vT(e,t){if(e==="change")return t}var rx=!1;Hr&&(Hr?(wc="oninput"in document,wc||(dm=document.createElement("div"),dm.setAttribute("oninput","return;"),wc=typeof dm.oninput=="function"),Ac=wc):Ac=!1,rx=Ac&&(!document.documentMode||9<document.documentMode));var Ac,wc,dm;function xT(){ys&&(ys.detachEvent("onpropertychange",nx),As=ys=null)}function nx(e){if(e.propertyName==="value"&&zp(As)){var t=[];ox(t,As,e,Ly(e)),Zv(eM,t)}}function tM(e,t,o){e==="focusin"?(xT(),ys=t,As=o,ys.attachEvent("onpropertychange",nx)):e==="focusout"&&xT()}function oM(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return zp(As)}function rM(e,t){if(e==="click")return zp(t)}function nM(e,t){if(e==="input"||e==="change")return zp(t)}function aM(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var vo=typeof Object.is=="function"?Object.is:aM;function ws(e,t){if(vo(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var o=Object.keys(e),r=Object.keys(t);if(o.length!==r.length)return!1;for(r=0;r<o.length;r++){var n=o[r];if(!qm.call(t,n)||!vo(e[n],t[n]))return!1}return!0}function ST(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function CT(e,t){var o=ST(e);e=0;for(var r;o;){if(o.nodeType===3){if(r=e+o.textContent.length,e<=t&&r>=t)return{node:o,offset:t-e};e=r}e:{for(;o;){if(o.nextSibling){o=o.nextSibling;break e}o=o.parentNode}o=void 0}o=ST(o)}}function ax(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?ax(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function ix(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=ip(e.document);t instanceof e.HTMLIFrameElement;){try{var o=typeof t.contentWindow.location.href=="string"}catch{o=!1}if(o)e=t.contentWindow;else break;t=ip(e.document)}return t}function Fy(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}var iM=Hr&&"documentMode"in document&&11>=document.documentMode,Pi=null,Zm=null,hs=null,Wm=!1;function ET(e,t,o){var r=o.window===o?o.document:o.nodeType===9?o:o.ownerDocument;Wm||Pi==null||Pi!==ip(r)||(r=Pi,"selectionStart"in r&&Fy(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),hs&&ws(hs,r)||(hs=r,r=Ep(Zm,"onSelect"),0<r.length&&(t=new _p("onSelect","select",null,t,o),e.push({event:t,listeners:r}),t.target=Pi)))}function Wn(e,t){var o={};return o[e.toLowerCase()]=t.toLowerCase(),o["Webkit"+e]="webkit"+t,o["Moz"+e]="moz"+t,o}var Ri={animationend:Wn("Animation","AnimationEnd"),animationiteration:Wn("Animation","AnimationIteration"),animationstart:Wn("Animation","AnimationStart"),transitionrun:Wn("Transition","TransitionRun"),transitionstart:Wn("Transition","TransitionStart"),transitioncancel:Wn("Transition","TransitionCancel"),transitionend:Wn("Transition","TransitionEnd")},mm={},lx={};Hr&&(lx=document.createElement("div").style,"AnimationEvent"in window||(delete Ri.animationend.animation,delete Ri.animationiteration.animation,delete Ri.animationstart.animation),"TransitionEvent"in window||delete Ri.transitionend.transition);function ya(e){if(mm[e])return mm[e];if(!Ri[e])return e;var t=Ri[e],o;for(o in t)if(t.hasOwnProperty(o)&&o in lx)return mm[e]=t[o];return e}var sx=ya("animationend"),ux=ya("animationiteration"),cx=ya("animationstart"),lM=ya("transitionrun"),sM=ya("transitionstart"),uM=ya("transitioncancel"),px=ya("transitionend"),fx=new Map,Jm="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(" ");Jm.push("scrollEnd");function Wo(e,t){fx.set(e,t),da(t,[e])}var lp=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)},_o=[],Oi=0,qy=0;function Bp(){for(var e=Oi,t=qy=Oi=0;t<e;){var o=_o[t];_o[t++]=null;var r=_o[t];_o[t++]=null;var n=_o[t];_o[t++]=null;var a=_o[t];if(_o[t++]=null,r!==null&&n!==null){var i=r.pending;i===null?n.next=n:(n.next=i.next,i.next=n),r.pending=n}a!==0&&dx(o,n,a)}}function kp(e,t,o,r){_o[Oi++]=e,_o[Oi++]=t,_o[Oi++]=o,_o[Oi++]=r,qy|=r,e.lanes|=r,e=e.alternate,e!==null&&(e.lanes|=r)}function Gy(e,t,o,r){return kp(e,t,o,r),sp(e)}function ha(e,t){return kp(e,null,null,t),sp(e)}function dx(e,t,o){e.lanes|=o;var r=e.alternate;r!==null&&(r.lanes|=o);for(var n=!1,a=e.return;a!==null;)a.childLanes|=o,r=a.alternate,r!==null&&(r.childLanes|=o),a.tag===22&&(e=a.stateNode,e===null||e._visibility&1||(n=!0)),e=a,a=a.return;return e.tag===3?(a=e.stateNode,n&&t!==null&&(n=31-bo(o),e=a.hiddenUpdates,r=e[n],r===null?e[n]=[t]:r.push(t),t.lane=o|536870912),a):null}function sp(e){if(50<Ps)throw Ps=0,vy=null,Error(z(185));for(var t=e.return;t!==null;)e=t,t=e.return;return e.tag===3?e.stateNode:null}var Mi={};function cM(e,t,o,r){this.tag=e,this.key=o,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function mo(e,t,o,r){return new cM(e,t,o,r)}function $y(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Ur(e,t){var o=e.alternate;return o===null?(o=mo(e.tag,t,e.key,e.mode),o.elementType=e.elementType,o.type=e.type,o.stateNode=e.stateNode,o.alternate=e,e.alternate=o):(o.pendingProps=t,o.type=e.type,o.flags=0,o.subtreeFlags=0,o.deletions=null),o.flags=e.flags&65011712,o.childLanes=e.childLanes,o.lanes=e.lanes,o.child=e.child,o.memoizedProps=e.memoizedProps,o.memoizedState=e.memoizedState,o.updateQueue=e.updateQueue,t=e.dependencies,o.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},o.sibling=e.sibling,o.index=e.index,o.ref=e.ref,o.refCleanup=e.refCleanup,o}function mx(e,t){e.flags&=65011714;var o=e.alternate;return o===null?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=o.childLanes,e.lanes=o.lanes,e.child=o.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=o.memoizedProps,e.memoizedState=o.memoizedState,e.updateQueue=o.updateQueue,e.type=o.type,t=o.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext}),e}function Gc(e,t,o,r,n,a){var i=0;if(r=e,typeof e=="function")$y(e)&&(i=1);else if(typeof e=="string")i=dA(e,o,fr.current)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case Hm:return e=mo(31,o,t,n),e.elementType=Hm,e.lanes=a,e;case vi:return na(o.children,n,a,t);case Dv:i=8,n|=24;break;case Um:return e=mo(12,o,t,n|2),e.elementType=Um,e.lanes=a,e;case jm:return e=mo(13,o,t,n),e.elementType=jm,e.lanes=a,e;case Lm:return e=mo(19,o,t,n),e.elementType=Lm,e.lanes=a,e;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case zr:i=10;break e;case zv:i=9;break e;case _y:i=11;break e;case Dy:i=14;break e;case cn:i=16,r=null;break e}i=29,o=Error(z(130,e===null?"null":typeof e,"")),r=null}return t=mo(i,o,t,n),t.elementType=e,t.type=r,t.lanes=a,t}function na(e,t,o,r){return e=mo(7,e,r,t),e.lanes=o,e}function ym(e,t,o){return e=mo(6,e,null,t),e.lanes=o,e}function yx(e){var t=mo(18,null,null,0);return t.stateNode=e,t}function hm(e,t,o){return t=mo(4,e.children!==null?e.children:[],e.key,t),t.lanes=o,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var PT=new WeakMap;function Uo(e,t){if(typeof e=="object"&&e!==null){var o=PT.get(e);return o!==void 0?o:(t={value:e,source:t,stack:iT(t)},PT.set(e,t),t)}return{value:e,source:t,stack:iT(t)}}var Ai=[],wi=0,up=null,Ns=0,zo=[],Bo=0,wn=null,ur=1,cr="";function _r(e,t){Ai[wi++]=Ns,Ai[wi++]=up,up=e,Ns=t}function hx(e,t,o){zo[Bo++]=ur,zo[Bo++]=cr,zo[Bo++]=wn,wn=e;var r=ur;e=cr;var n=32-bo(r)-1;r&=~(1<<n),o+=1;var a=32-bo(t)+n;if(30<a){var i=n-n%5;a=(r&(1<<i)-1).toString(32),r>>=i,n-=i,ur=1<<32-bo(t)+n|o<<n|r,cr=a+e}else ur=1<<a|o<<n|r,cr=e}function Yy(e){e.return!==null&&(_r(e,1),hx(e,1,0))}function Ky(e){for(;e===up;)up=Ai[--wi],Ai[wi]=null,Ns=Ai[--wi],Ai[wi]=null;for(;e===wn;)wn=zo[--Bo],zo[Bo]=null,cr=zo[--Bo],zo[Bo]=null,ur=zo[--Bo],zo[Bo]=null}function gx(e,t){zo[Bo++]=ur,zo[Bo++]=cr,zo[Bo++]=wn,ur=t.id,cr=t.overflow,wn=e}var Ot=null,je=null,ie=!1,Sn=null,jo=!1,ey=Error(z(519));function Nn(e){var t=Error(z(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw _s(Uo(t,e)),ey}function RT(e){var t=e.stateNode,o=e.type,r=e.memoizedProps;switch(t[Rt]=e,t[oo]=r,o){case"dialog":te("cancel",t),te("close",t);break;case"iframe":case"object":case"embed":te("load",t);break;case"video":case"audio":for(o=0;o<ks.length;o++)te(ks[o],t);break;case"source":te("error",t);break;case"img":case"image":case"link":te("error",t),te("load",t);break;case"details":te("toggle",t);break;case"input":te("invalid",t),Yv(t,r.value,r.defaultValue,r.checked,r.defaultChecked,r.type,r.name,!0);break;case"select":te("invalid",t);break;case"textarea":te("invalid",t),Xv(t,r.value,r.defaultValue,r.children)}o=r.children,typeof o!="string"&&typeof o!="number"&&typeof o!="bigint"||t.textContent===""+o||r.suppressHydrationWarning===!0||JS(t.textContent,o)?(r.popover!=null&&(te("beforetoggle",t),te("toggle",t)),r.onScroll!=null&&te("scroll",t),r.onScrollEnd!=null&&te("scrollend",t),r.onClick!=null&&(t.onclick=Br),t=!0):t=!1,t||Nn(e,!0)}function OT(e){for(Ot=e.return;Ot;)switch(Ot.tag){case 5:case 31:case 13:jo=!1;return;case 27:case 3:jo=!0;return;default:Ot=Ot.return}}function hi(e){if(e!==Ot)return!1;if(!ie)return OT(e),ie=!0,!1;var t=e.tag,o;if((o=t!==3&&t!==27)&&((o=t===5)&&(o=e.type,o=!(o!=="form"&&o!=="button")||Py(e.type,e.memoizedProps)),o=!o),o&&je&&Nn(e),OT(e),t===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(z(317));je=yv(e)}else if(t===31){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(z(317));je=yv(e)}else t===27?(t=je,Bn(e.type)?(e=Ay,Ay=null,je=e):je=t):je=Ot?Ho(e.stateNode.nextSibling):null;return!0}function sa(){je=Ot=null,ie=!1}function gm(){var e=Sn;return e!==null&&(eo===null?eo=e:eo.push.apply(eo,e),Sn=null),e}function _s(e){Sn===null?Sn=[e]:Sn.push(e)}var ty=dr(null),ga=null,kr=null;function fn(e,t,o){_e(ty,t._currentValue),t._currentValue=o}function jr(e){e._currentValue=ty.current,gt(ty)}function oy(e,t,o){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===o)break;e=e.return}}function ry(e,t,o,r){var n=e.child;for(n!==null&&(n.return=e);n!==null;){var a=n.dependencies;if(a!==null){var i=n.child;a=a.firstContext;e:for(;a!==null;){var l=a;a=n;for(var s=0;s<t.length;s++)if(l.context===t[s]){a.lanes|=o,l=a.alternate,l!==null&&(l.lanes|=o),oy(a.return,o,e),r||(i=null);break e}a=l.next}}else if(n.tag===18){if(i=n.return,i===null)throw Error(z(341));i.lanes|=o,a=i.alternate,a!==null&&(a.lanes|=o),oy(i,o,e),i=null}else i=n.child;if(i!==null)i.return=n;else for(i=n;i!==null;){if(i===e){i=null;break}if(n=i.sibling,n!==null){n.return=i.return,i=n;break}i=i.return}n=i}}function Wi(e,t,o,r){e=null;for(var n=t,a=!1;n!==null;){if(!a){if((n.flags&524288)!==0)a=!0;else if((n.flags&262144)!==0)break}if(n.tag===10){var i=n.alternate;if(i===null)throw Error(z(387));if(i=i.memoizedProps,i!==null){var l=n.type;vo(n.pendingProps.value,i.value)||(e!==null?e.push(l):e=[l])}}else if(n===op.current){if(i=n.alternate,i===null)throw Error(z(387));i.memoizedState.memoizedState!==n.memoizedState.memoizedState&&(e!==null?e.push(js):e=[js])}n=n.return}e!==null&&ry(t,e,o,r),t.flags|=262144}function cp(e){for(e=e.firstContext;e!==null;){if(!vo(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function ua(e){ga=e,kr=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function Mt(e){return bx(ga,e)}function Nc(e,t){return ga===null&&ua(e),bx(e,t)}function bx(e,t){var o=t._currentValue;if(t={context:t,memoizedValue:o,next:null},kr===null){if(e===null)throw Error(z(308));kr=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else kr=kr.next=t;return o}var pM=typeof AbortController<"u"?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(o,r){e.push(r)}};this.abort=function(){t.aborted=!0,e.forEach(function(o){return o()})}},fM=ft.unstable_scheduleCallback,dM=ft.unstable_NormalPriority,it={$$typeof:zr,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Xy(){return{controller:new pM,data:new Map,refCount:0}}function Ys(e){e.refCount--,e.refCount===0&&fM(dM,function(){e.controller.abort()})}var gs=null,ny=0,Ii=0,Bi=null;function mM(e,t){if(gs===null){var o=gs=[];ny=0,Ii=vh(),Bi={status:"pending",value:void 0,then:function(r){o.push(r)}}}return ny++,t.then(MT,MT),t}function MT(){if(--ny===0&&gs!==null){Bi!==null&&(Bi.status="fulfilled");var e=gs;gs=null,Ii=0,Bi=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function yM(e,t){var o=[],r={status:"pending",value:null,reason:null,then:function(n){o.push(n)}};return e.then(function(){r.status="fulfilled",r.value=t;for(var n=0;n<o.length;n++)(0,o[n])(t)},function(n){for(r.status="rejected",r.reason=n,n=0;n<o.length;n++)(0,o[n])(void 0)}),r}var AT=$.S;$.S=function(e,t){_S=ho(),typeof t=="object"&&t!==null&&typeof t.then=="function"&&mM(e,t),AT!==null&&AT(e,t)};var aa=dr(null);function Qy(){var e=aa.current;return e!==null?e:Me.pooledCache}function $c(e,t){t===null?_e(aa,aa.current):_e(aa,t.pool)}function Tx(){var e=Qy();return e===null?null:{parent:it._currentValue,pool:e}}var Ji=Error(z(460)),Zy=Error(z(474)),Up=Error(z(542)),pp={then:function(){}};function wT(e){return e=e.status,e==="fulfilled"||e==="rejected"}function vx(e,t,o){switch(o=e[o],o===void 0?e.push(t):o!==t&&(t.then(Br,Br),t=o),t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,_T(e),e;default:if(typeof t.status=="string")t.then(Br,Br);else{if(e=Me,e!==null&&100<e.shellSuspendCounter)throw Error(z(482));e=t,e.status="pending",e.then(function(r){if(t.status==="pending"){var n=t;n.status="fulfilled",n.value=r}},function(r){if(t.status==="pending"){var n=t;n.status="rejected",n.reason=r}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,_T(e),e}throw ia=t,Ji}}function ta(e){try{var t=e._init;return t(e._payload)}catch(o){throw o!==null&&typeof o=="object"&&typeof o.then=="function"?(ia=o,Ji):o}}var ia=null;function NT(){if(ia===null)throw Error(z(459));var e=ia;return ia=null,e}function _T(e){if(e===Ji||e===Up)throw Error(z(483))}var ki=null,Ds=0;function _c(e){var t=Ds;return Ds+=1,ki===null&&(ki=[]),vx(ki,e,t)}function ns(e,t){t=t.props.ref,e.ref=t!==void 0?t:null}function Dc(e,t){throw t.$$typeof===t2?Error(z(525)):(e=Object.prototype.toString.call(t),Error(z(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)))}function xx(e){function t(m,h){if(e){var g=m.deletions;g===null?(m.deletions=[h],m.flags|=16):g.push(h)}}function o(m,h){if(!e)return null;for(;h!==null;)t(m,h),h=h.sibling;return null}function r(m){for(var h=new Map;m!==null;)m.key!==null?h.set(m.key,m):h.set(m.index,m),m=m.sibling;return h}function n(m,h){return m=Ur(m,h),m.index=0,m.sibling=null,m}function a(m,h,g){return m.index=g,e?(g=m.alternate,g!==null?(g=g.index,g<h?(m.flags|=67108866,h):g):(m.flags|=67108866,h)):(m.flags|=1048576,h)}function i(m){return e&&m.alternate===null&&(m.flags|=67108866),m}function l(m,h,g,b){return h===null||h.tag!==6?(h=ym(g,m.mode,b),h.return=m,h):(h=n(h,g),h.return=m,h)}function s(m,h,g,b){var E=g.type;return E===vi?p(m,h,g.props.children,b,g.key):h!==null&&(h.elementType===E||typeof E=="object"&&E!==null&&E.$$typeof===cn&&ta(E)===h.type)?(h=n(h,g.props),ns(h,g),h.return=m,h):(h=Gc(g.type,g.key,g.props,null,m.mode,b),ns(h,g),h.return=m,h)}function u(m,h,g,b){return h===null||h.tag!==4||h.stateNode.containerInfo!==g.containerInfo||h.stateNode.implementation!==g.implementation?(h=hm(g,m.mode,b),h.return=m,h):(h=n(h,g.children||[]),h.return=m,h)}function p(m,h,g,b,E){return h===null||h.tag!==7?(h=na(g,m.mode,b,E),h.return=m,h):(h=n(h,g),h.return=m,h)}function f(m,h,g){if(typeof h=="string"&&h!==""||typeof h=="number"||typeof h=="bigint")return h=ym(""+h,m.mode,g),h.return=m,h;if(typeof h=="object"&&h!==null){switch(h.$$typeof){case Cc:return g=Gc(h.type,h.key,h.props,null,m.mode,g),ns(g,h),g.return=m,g;case us:return h=hm(h,m.mode,g),h.return=m,h;case cn:return h=ta(h),f(m,h,g)}if(cs(h)||os(h))return h=na(h,m.mode,g,null),h.return=m,h;if(typeof h.then=="function")return f(m,_c(h),g);if(h.$$typeof===zr)return f(m,Nc(m,h),g);Dc(m,h)}return null}function d(m,h,g,b){var E=h!==null?h.key:null;if(typeof g=="string"&&g!==""||typeof g=="number"||typeof g=="bigint")return E!==null?null:l(m,h,""+g,b);if(typeof g=="object"&&g!==null){switch(g.$$typeof){case Cc:return g.key===E?s(m,h,g,b):null;case us:return g.key===E?u(m,h,g,b):null;case cn:return g=ta(g),d(m,h,g,b)}if(cs(g)||os(g))return E!==null?null:p(m,h,g,b,null);if(typeof g.then=="function")return d(m,h,_c(g),b);if(g.$$typeof===zr)return d(m,h,Nc(m,g),b);Dc(m,g)}return null}function c(m,h,g,b,E){if(typeof b=="string"&&b!==""||typeof b=="number"||typeof b=="bigint")return m=m.get(g)||null,l(h,m,""+b,E);if(typeof b=="object"&&b!==null){switch(b.$$typeof){case Cc:return m=m.get(b.key===null?g:b.key)||null,s(h,m,b,E);case us:return m=m.get(b.key===null?g:b.key)||null,u(h,m,b,E);case cn:return b=ta(b),c(m,h,g,b,E)}if(cs(b)||os(b))return m=m.get(g)||null,p(h,m,b,E,null);if(typeof b.then=="function")return c(m,h,g,_c(b),E);if(b.$$typeof===zr)return c(m,h,g,Nc(h,b),E);Dc(h,b)}return null}function T(m,h,g,b){for(var E=null,S=null,C=h,O=h=0,w=null;C!==null&&O<g.length;O++){C.index>O?(w=C,C=null):w=C.sibling;var _=d(m,C,g[O],b);if(_===null){C===null&&(C=w);break}e&&C&&_.alternate===null&&t(m,C),h=a(_,h,O),S===null?E=_:S.sibling=_,S=_,C=w}if(O===g.length)return o(m,C),ie&&_r(m,O),E;if(C===null){for(;O<g.length;O++)C=f(m,g[O],b),C!==null&&(h=a(C,h,O),S===null?E=C:S.sibling=C,S=C);return ie&&_r(m,O),E}for(C=r(C);O<g.length;O++)w=c(C,m,O,g[O],b),w!==null&&(e&&w.alternate!==null&&C.delete(w.key===null?O:w.key),h=a(w,h,O),S===null?E=w:S.sibling=w,S=w);return e&&C.forEach(function(M){return t(m,M)}),ie&&_r(m,O),E}function v(m,h,g,b){if(g==null)throw Error(z(151));for(var E=null,S=null,C=h,O=h=0,w=null,_=g.next();C!==null&&!_.done;O++,_=g.next()){C.index>O?(w=C,C=null):w=C.sibling;var M=d(m,C,_.value,b);if(M===null){C===null&&(C=w);break}e&&C&&M.alternate===null&&t(m,C),h=a(M,h,O),S===null?E=M:S.sibling=M,S=M,C=w}if(_.done)return o(m,C),ie&&_r(m,O),E;if(C===null){for(;!_.done;O++,_=g.next())_=f(m,_.value,b),_!==null&&(h=a(_,h,O),S===null?E=_:S.sibling=_,S=_);return ie&&_r(m,O),E}for(C=r(C);!_.done;O++,_=g.next())_=c(C,m,O,_.value,b),_!==null&&(e&&_.alternate!==null&&C.delete(_.key===null?O:_.key),h=a(_,h,O),S===null?E=_:S.sibling=_,S=_);return e&&C.forEach(function(y){return t(m,y)}),ie&&_r(m,O),E}function x(m,h,g,b){if(typeof g=="object"&&g!==null&&g.type===vi&&g.key===null&&(g=g.props.children),typeof g=="object"&&g!==null){switch(g.$$typeof){case Cc:e:{for(var E=g.key;h!==null;){if(h.key===E){if(E=g.type,E===vi){if(h.tag===7){o(m,h.sibling),b=n(h,g.props.children),b.return=m,m=b;break e}}else if(h.elementType===E||typeof E=="object"&&E!==null&&E.$$typeof===cn&&ta(E)===h.type){o(m,h.sibling),b=n(h,g.props),ns(b,g),b.return=m,m=b;break e}o(m,h);break}else t(m,h);h=h.sibling}g.type===vi?(b=na(g.props.children,m.mode,b,g.key),b.return=m,m=b):(b=Gc(g.type,g.key,g.props,null,m.mode,b),ns(b,g),b.return=m,m=b)}return i(m);case us:e:{for(E=g.key;h!==null;){if(h.key===E)if(h.tag===4&&h.stateNode.containerInfo===g.containerInfo&&h.stateNode.implementation===g.implementation){o(m,h.sibling),b=n(h,g.children||[]),b.return=m,m=b;break e}else{o(m,h);break}else t(m,h);h=h.sibling}b=hm(g,m.mode,b),b.return=m,m=b}return i(m);case cn:return g=ta(g),x(m,h,g,b)}if(cs(g))return T(m,h,g,b);if(os(g)){if(E=os(g),typeof E!="function")throw Error(z(150));return g=E.call(g),v(m,h,g,b)}if(typeof g.then=="function")return x(m,h,_c(g),b);if(g.$$typeof===zr)return x(m,h,Nc(m,g),b);Dc(m,g)}return typeof g=="string"&&g!==""||typeof g=="number"||typeof g=="bigint"?(g=""+g,h!==null&&h.tag===6?(o(m,h.sibling),b=n(h,g),b.return=m,m=b):(o(m,h),b=ym(g,m.mode,b),b.return=m,m=b),i(m)):o(m,h)}return function(m,h,g,b){try{Ds=0;var E=x(m,h,g,b);return ki=null,E}catch(C){if(C===Ji||C===Up)throw C;var S=mo(29,C,null,m.mode);return S.lanes=b,S.return=m,S}}}var ca=xx(!0),Sx=xx(!1),pn=!1;function Wy(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function ay(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function Cn(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function En(e,t,o){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,(de&2)!==0){var n=r.pending;return n===null?t.next=t:(t.next=n.next,n.next=t),r.pending=t,t=sp(e),dx(e,null,o),t}return kp(e,r,t,o),sp(e)}function bs(e,t,o){if(t=t.updateQueue,t!==null&&(t=t.shared,(o&4194048)!==0)){var r=t.lanes;r&=e.pendingLanes,o|=r,t.lanes=o,Hv(e,o)}}function bm(e,t){var o=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,o===r)){var n=null,a=null;if(o=o.firstBaseUpdate,o!==null){do{var i={lane:o.lane,tag:o.tag,payload:o.payload,callback:null,next:null};a===null?n=a=i:a=a.next=i,o=o.next}while(o!==null);a===null?n=a=t:a=a.next=t}else n=a=t;o={baseState:r.baseState,firstBaseUpdate:n,lastBaseUpdate:a,shared:r.shared,callbacks:r.callbacks},e.updateQueue=o;return}e=o.lastBaseUpdate,e===null?o.firstBaseUpdate=t:e.next=t,o.lastBaseUpdate=t}var iy=!1;function Ts(){if(iy){var e=Bi;if(e!==null)throw e}}function vs(e,t,o,r){iy=!1;var n=e.updateQueue;pn=!1;var a=n.firstBaseUpdate,i=n.lastBaseUpdate,l=n.shared.pending;if(l!==null){n.shared.pending=null;var s=l,u=s.next;s.next=null,i===null?a=u:i.next=u,i=s;var p=e.alternate;p!==null&&(p=p.updateQueue,l=p.lastBaseUpdate,l!==i&&(l===null?p.firstBaseUpdate=u:l.next=u,p.lastBaseUpdate=s))}if(a!==null){var f=n.baseState;i=0,p=u=s=null,l=a;do{var d=l.lane&-536870913,c=d!==l.lane;if(c?(ne&d)===d:(r&d)===d){d!==0&&d===Ii&&(iy=!0),p!==null&&(p=p.next={lane:0,tag:l.tag,payload:l.payload,callback:null,next:null});e:{var T=e,v=l;d=t;var x=o;switch(v.tag){case 1:if(T=v.payload,typeof T=="function"){f=T.call(x,f,d);break e}f=T;break e;case 3:T.flags=T.flags&-65537|128;case 0:if(T=v.payload,d=typeof T=="function"?T.call(x,f,d):T,d==null)break e;f=Le({},f,d);break e;case 2:pn=!0}}d=l.callback,d!==null&&(e.flags|=64,c&&(e.flags|=8192),c=n.callbacks,c===null?n.callbacks=[d]:c.push(d))}else c={lane:d,tag:l.tag,payload:l.payload,callback:l.callback,next:null},p===null?(u=p=c,s=f):p=p.next=c,i|=d;if(l=l.next,l===null){if(l=n.shared.pending,l===null)break;c=l,l=c.next,c.next=null,n.lastBaseUpdate=c,n.shared.pending=null}}while(!0);p===null&&(s=f),n.baseState=s,n.firstBaseUpdate=u,n.lastBaseUpdate=p,a===null&&(n.shared.lanes=0),Dn|=i,e.lanes=i,e.memoizedState=f}}function Cx(e,t){if(typeof e!="function")throw Error(z(191,e));e.call(t)}function Ex(e,t){var o=e.callbacks;if(o!==null)for(e.callbacks=null,e=0;e<o.length;e++)Cx(o[e],t)}var Fi=dr(null),fp=dr(0);function DT(e,t){e=qr,_e(fp,e),_e(Fi,t),qr=e|t.baseLanes}function ly(){_e(fp,qr),_e(Fi,Fi.current)}function Jy(){qr=fp.current,gt(Fi),gt(fp)}var xo=dr(null),Lo=null;function dn(e){var t=e.alternate;_e(et,et.current&1),_e(xo,e),Lo===null&&(t===null||Fi.current!==null||t.memoizedState!==null)&&(Lo=e)}function sy(e){_e(et,et.current),_e(xo,e),Lo===null&&(Lo=e)}function Px(e){e.tag===22?(_e(et,et.current),_e(xo,e),Lo===null&&(Lo=e)):mn(e)}function mn(){_e(et,et.current),_e(xo,xo.current)}function fo(e){gt(xo),Lo===e&&(Lo=null),gt(et)}var et=dr(0);function dp(e){for(var t=e;t!==null;){if(t.tag===13){var o=t.memoizedState;if(o!==null&&(o=o.dehydrated,o===null||Oy(o)||My(o)))return t}else if(t.tag===19&&(t.memoizedProps.revealOrder==="forwards"||t.memoizedProps.revealOrder==="backwards"||t.memoizedProps.revealOrder==="unstable_legacy-backwards"||t.memoizedProps.revealOrder==="together")){if((t.flags&128)!==0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Vr=0,Z=null,Oe=null,nt=null,mp=!1,Ui=!1,pa=!1,yp=0,zs=0,ji=null,hM=0;function Qe(){throw Error(z(321))}function eh(e,t){if(t===null)return!1;for(var o=0;o<t.length&&o<e.length;o++)if(!vo(e[o],t[o]))return!1;return!0}function th(e,t,o,r,n,a){return Vr=a,Z=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,$.H=e===null||e.memoizedState===null?oS:fh,pa=!1,a=o(r,n),pa=!1,Ui&&(a=Ox(t,o,r,n)),Rx(e),a}function Rx(e){$.H=Bs;var t=Oe!==null&&Oe.next!==null;if(Vr=0,nt=Oe=Z=null,mp=!1,zs=0,ji=null,t)throw Error(z(300));e===null||lt||(e=e.dependencies,e!==null&&cp(e)&&(lt=!0))}function Ox(e,t,o,r){Z=e;var n=0;do{if(Ui&&(ji=null),zs=0,Ui=!1,25<=n)throw Error(z(301));if(n+=1,nt=Oe=null,e.updateQueue!=null){var a=e.updateQueue;a.lastEffect=null,a.events=null,a.stores=null,a.memoCache!=null&&(a.memoCache.index=0)}$.H=rS,a=t(o,r)}while(Ui);return a}function gM(){var e=$.H,t=e.useState()[0];return t=typeof t.then=="function"?Ks(t):t,e=e.useState()[0],(Oe!==null?Oe.memoizedState:null)!==e&&(Z.flags|=1024),t}function oh(){var e=yp!==0;return yp=0,e}function rh(e,t,o){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o}function nh(e){if(mp){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}mp=!1}Vr=0,nt=Oe=Z=null,Ui=!1,zs=yp=0,ji=null}function Yt(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return nt===null?Z.memoizedState=nt=e:nt=nt.next=e,nt}function tt(){if(Oe===null){var e=Z.alternate;e=e!==null?e.memoizedState:null}else e=Oe.next;var t=nt===null?Z.memoizedState:nt.next;if(t!==null)nt=t,Oe=e;else{if(e===null)throw Z.alternate===null?Error(z(467)):Error(z(310));Oe=e,e={memoizedState:Oe.memoizedState,baseState:Oe.baseState,baseQueue:Oe.baseQueue,queue:Oe.queue,next:null},nt===null?Z.memoizedState=nt=e:nt=nt.next=e}return nt}function jp(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Ks(e){var t=zs;return zs+=1,ji===null&&(ji=[]),e=vx(ji,e,t),t=Z,(nt===null?t.memoizedState:nt.next)===null&&(t=t.alternate,$.H=t===null||t.memoizedState===null?oS:fh),e}function Lp(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return Ks(e);if(e.$$typeof===zr)return Mt(e)}throw Error(z(438,String(e)))}function ah(e){var t=null,o=Z.updateQueue;if(o!==null&&(t=o.memoCache),t==null){var r=Z.alternate;r!==null&&(r=r.updateQueue,r!==null&&(r=r.memoCache,r!=null&&(t={data:r.data.map(function(n){return n.slice()}),index:0})))}if(t==null&&(t={data:[],index:0}),o===null&&(o=jp(),Z.updateQueue=o),o.memoCache=t,o=t.data[t.index],o===void 0)for(o=t.data[t.index]=Array(e),r=0;r<e;r++)o[r]=o2;return t.index++,o}function Ir(e,t){return typeof t=="function"?t(e):t}function Yc(e){var t=tt();return ih(t,Oe,e)}function ih(e,t,o){var r=e.queue;if(r===null)throw Error(z(311));r.lastRenderedReducer=o;var n=e.baseQueue,a=r.pending;if(a!==null){if(n!==null){var i=n.next;n.next=a.next,a.next=i}t.baseQueue=n=a,r.pending=null}if(a=e.baseState,n===null)e.memoizedState=a;else{t=n.next;var l=i=null,s=null,u=t,p=!1;do{var f=u.lane&-536870913;if(f!==u.lane?(ne&f)===f:(Vr&f)===f){var d=u.revertLane;if(d===0)s!==null&&(s=s.next={lane:0,revertLane:0,gesture:null,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),f===Ii&&(p=!0);else if((Vr&d)===d){u=u.next,d===Ii&&(p=!0);continue}else f={lane:0,revertLane:u.revertLane,gesture:null,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null},s===null?(l=s=f,i=a):s=s.next=f,Z.lanes|=d,Dn|=d;f=u.action,pa&&o(a,f),a=u.hasEagerState?u.eagerState:o(a,f)}else d={lane:f,revertLane:u.revertLane,gesture:u.gesture,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null},s===null?(l=s=d,i=a):s=s.next=d,Z.lanes|=f,Dn|=f;u=u.next}while(u!==null&&u!==t);if(s===null?i=a:s.next=l,!vo(a,e.memoizedState)&&(lt=!0,p&&(o=Bi,o!==null)))throw o;e.memoizedState=a,e.baseState=i,e.baseQueue=s,r.lastRenderedState=a}return n===null&&(r.lanes=0),[e.memoizedState,r.dispatch]}function Tm(e){var t=tt(),o=t.queue;if(o===null)throw Error(z(311));o.lastRenderedReducer=e;var r=o.dispatch,n=o.pending,a=t.memoizedState;if(n!==null){o.pending=null;var i=n=n.next;do a=e(a,i.action),i=i.next;while(i!==n);vo(a,t.memoizedState)||(lt=!0),t.memoizedState=a,t.baseQueue===null&&(t.baseState=a),o.lastRenderedState=a}return[a,r]}function Mx(e,t,o){var r=Z,n=tt(),a=ie;if(a){if(o===void 0)throw Error(z(407));o=o()}else o=t();var i=!vo((Oe||n).memoizedState,o);if(i&&(n.memoizedState=o,lt=!0),n=n.queue,lh(Nx.bind(null,r,n,e),[e]),n.getSnapshot!==t||i||nt!==null&&nt.memoizedState.tag&1){if(r.flags|=2048,qi(9,{destroy:void 0},wx.bind(null,r,n,o,t),null),Me===null)throw Error(z(349));a||(Vr&127)!==0||Ax(r,t,o)}return o}function Ax(e,t,o){e.flags|=16384,e={getSnapshot:t,value:o},t=Z.updateQueue,t===null?(t=jp(),Z.updateQueue=t,t.stores=[e]):(o=t.stores,o===null?t.stores=[e]:o.push(e))}function wx(e,t,o,r){t.value=o,t.getSnapshot=r,_x(t)&&Dx(e)}function Nx(e,t,o){return o(function(){_x(t)&&Dx(e)})}function _x(e){var t=e.getSnapshot;e=e.value;try{var o=t();return!vo(e,o)}catch{return!0}}function Dx(e){var t=ha(e,2);t!==null&&to(t,e,2)}function uy(e){var t=Yt();if(typeof e=="function"){var o=e;if(e=o(),pa){hn(!0);try{o()}finally{hn(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ir,lastRenderedState:e},t}function zx(e,t,o,r){return e.baseState=o,ih(e,Oe,typeof r=="function"?r:Ir)}function bM(e,t,o,r,n){if(Vp(e))throw Error(z(485));if(e=t.action,e!==null){var a={payload:n,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(i){a.listeners.push(i)}};$.T!==null?o(!0):a.isTransition=!1,r(a),o=t.pending,o===null?(a.next=t.pending=a,Bx(t,a)):(a.next=o.next,t.pending=o.next=a)}}function Bx(e,t){var o=t.action,r=t.payload,n=e.state;if(t.isTransition){var a=$.T,i={};$.T=i;try{var l=o(n,r),s=$.S;s!==null&&s(i,l),zT(e,t,l)}catch(u){cy(e,t,u)}finally{a!==null&&i.types!==null&&(a.types=i.types),$.T=a}}else try{a=o(n,r),zT(e,t,a)}catch(u){cy(e,t,u)}}function zT(e,t,o){o!==null&&typeof o=="object"&&typeof o.then=="function"?o.then(function(r){BT(e,t,r)},function(r){return cy(e,t,r)}):BT(e,t,o)}function BT(e,t,o){t.status="fulfilled",t.value=o,kx(t),e.state=o,t=e.pending,t!==null&&(o=t.next,o===t?e.pending=null:(o=o.next,t.next=o,Bx(e,o)))}function cy(e,t,o){var r=e.pending;if(e.pending=null,r!==null){r=r.next;do t.status="rejected",t.reason=o,kx(t),t=t.next;while(t!==r)}e.action=null}function kx(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function Ux(e,t){return t}function kT(e,t){if(ie){var o=Me.formState;if(o!==null){e:{var r=Z;if(ie){if(je){t:{for(var n=je,a=jo;n.nodeType!==8;){if(!a){n=null;break t}if(n=Ho(n.nextSibling),n===null){n=null;break t}}a=n.data,n=a==="F!"||a==="F"?n:null}if(n){je=Ho(n.nextSibling),r=n.data==="F!";break e}}Nn(r)}r=!1}r&&(t=o[0])}}return o=Yt(),o.memoizedState=o.baseState=t,r={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ux,lastRenderedState:t},o.queue=r,o=Jx.bind(null,Z,r),r.dispatch=o,r=uy(!1),a=ph.bind(null,Z,!1,r.queue),r=Yt(),n={state:t,dispatch:null,action:e,pending:null},r.queue=n,o=bM.bind(null,Z,n,a,o),n.dispatch=o,r.memoizedState=e,[t,o,!1]}function UT(e){var t=tt();return jx(t,Oe,e)}function jx(e,t,o){if(t=ih(e,t,Ux)[0],e=Yc(Ir)[0],typeof t=="object"&&t!==null&&typeof t.then=="function")try{var r=Ks(t)}catch(i){throw i===Ji?Up:i}else r=t;t=tt();var n=t.queue,a=n.dispatch;return o!==t.memoizedState&&(Z.flags|=2048,qi(9,{destroy:void 0},TM.bind(null,n,o),null)),[r,a,e]}function TM(e,t){e.action=t}function jT(e){var t=tt(),o=Oe;if(o!==null)return jx(t,o,e);tt(),t=t.memoizedState,o=tt();var r=o.queue.dispatch;return o.memoizedState=e,[t,r,!1]}function qi(e,t,o,r){return e={tag:e,create:o,deps:r,inst:t,next:null},t=Z.updateQueue,t===null&&(t=jp(),Z.updateQueue=t),o=t.lastEffect,o===null?t.lastEffect=e.next=e:(r=o.next,o.next=e,e.next=r,t.lastEffect=e),e}function Lx(){return tt().memoizedState}function Kc(e,t,o,r){var n=Yt();Z.flags|=e,n.memoizedState=qi(1|t,{destroy:void 0},o,r===void 0?null:r)}function Hp(e,t,o,r){var n=tt();r=r===void 0?null:r;var a=n.memoizedState.inst;Oe!==null&&r!==null&&eh(r,Oe.memoizedState.deps)?n.memoizedState=qi(t,a,o,r):(Z.flags|=e,n.memoizedState=qi(1|t,a,o,r))}function LT(e,t){Kc(8390656,8,e,t)}function lh(e,t){Hp(2048,8,e,t)}function vM(e){Z.flags|=4;var t=Z.updateQueue;if(t===null)t=jp(),Z.updateQueue=t,t.events=[e];else{var o=t.events;o===null?t.events=[e]:o.push(e)}}function Hx(e){var t=tt().memoizedState;return vM({ref:t,nextImpl:e}),function(){if((de&2)!==0)throw Error(z(440));return t.impl.apply(void 0,arguments)}}function Vx(e,t){return Hp(4,2,e,t)}function Ix(e,t){return Hp(4,4,e,t)}function Fx(e,t){if(typeof t=="function"){e=e();var o=t(e);return function(){typeof o=="function"?o():t(null)}}if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function qx(e,t,o){o=o!=null?o.concat([e]):null,Hp(4,4,Fx.bind(null,t,e),o)}function sh(){}function Gx(e,t){var o=tt();t=t===void 0?null:t;var r=o.memoizedState;return t!==null&&eh(t,r[1])?r[0]:(o.memoizedState=[e,t],e)}function $x(e,t){var o=tt();t=t===void 0?null:t;var r=o.memoizedState;if(t!==null&&eh(t,r[1]))return r[0];if(r=e(),pa){hn(!0);try{e()}finally{hn(!1)}}return o.memoizedState=[r,t],r}function uh(e,t,o){return o===void 0||(Vr&1073741824)!==0&&(ne&261930)===0?e.memoizedState=t:(e.memoizedState=o,e=zS(),Z.lanes|=e,Dn|=e,o)}function Yx(e,t,o,r){return vo(o,t)?o:Fi.current!==null?(e=uh(e,o,r),vo(e,t)||(lt=!0),e):(Vr&42)===0||(Vr&1073741824)!==0&&(ne&261930)===0?(lt=!0,e.memoizedState=o):(e=zS(),Z.lanes|=e,Dn|=e,t)}function Kx(e,t,o,r,n){var a=me.p;me.p=a!==0&&8>a?a:8;var i=$.T,l={};$.T=l,ph(e,!1,t,o);try{var s=n(),u=$.S;if(u!==null&&u(l,s),s!==null&&typeof s=="object"&&typeof s.then=="function"){var p=yM(s,r);xs(e,t,p,To(e))}else xs(e,t,r,To(e))}catch(f){xs(e,t,{then:function(){},status:"rejected",reason:f},To())}finally{me.p=a,i!==null&&l.types!==null&&(i.types=l.types),$.T=i}}function xM(){}function py(e,t,o,r){if(e.tag!==5)throw Error(z(476));var n=Xx(e).queue;Kx(e,n,t,ra,o===null?xM:function(){return Qx(e),o(r)})}function Xx(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:ra,baseState:ra,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ir,lastRenderedState:ra},next:null};var o={};return t.next={memoizedState:o,baseState:o,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ir,lastRenderedState:o},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function Qx(e){var t=Xx(e);t.next===null&&(t=e.alternate.memoizedState),xs(e,t.next.queue,{},To())}function ch(){return Mt(js)}function Zx(){return tt().memoizedState}function Wx(){return tt().memoizedState}function SM(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var o=To();e=Cn(o);var r=En(t,e,o);r!==null&&(to(r,t,o),bs(r,t,o)),t={cache:Xy()},e.payload=t;return}t=t.return}}function CM(e,t,o){var r=To();o={lane:r,revertLane:0,gesture:null,action:o,hasEagerState:!1,eagerState:null,next:null},Vp(e)?eS(t,o):(o=Gy(e,t,o,r),o!==null&&(to(o,e,r),tS(o,t,r)))}function Jx(e,t,o){var r=To();xs(e,t,o,r)}function xs(e,t,o,r){var n={lane:r,revertLane:0,gesture:null,action:o,hasEagerState:!1,eagerState:null,next:null};if(Vp(e))eS(t,n);else{var a=e.alternate;if(e.lanes===0&&(a===null||a.lanes===0)&&(a=t.lastRenderedReducer,a!==null))try{var i=t.lastRenderedState,l=a(i,o);if(n.hasEagerState=!0,n.eagerState=l,vo(l,i))return kp(e,t,n,0),Me===null&&Bp(),!1}catch{}if(o=Gy(e,t,n,r),o!==null)return to(o,e,r),tS(o,t,r),!0}return!1}function ph(e,t,o,r){if(r={lane:2,revertLane:vh(),gesture:null,action:r,hasEagerState:!1,eagerState:null,next:null},Vp(e)){if(t)throw Error(z(479))}else t=Gy(e,o,r,2),t!==null&&to(t,e,2)}function Vp(e){var t=e.alternate;return e===Z||t!==null&&t===Z}function eS(e,t){Ui=mp=!0;var o=e.pending;o===null?t.next=t:(t.next=o.next,o.next=t),e.pending=t}function tS(e,t,o){if((o&4194048)!==0){var r=t.lanes;r&=e.pendingLanes,o|=r,t.lanes=o,Hv(e,o)}}var Bs={readContext:Mt,use:Lp,useCallback:Qe,useContext:Qe,useEffect:Qe,useImperativeHandle:Qe,useLayoutEffect:Qe,useInsertionEffect:Qe,useMemo:Qe,useReducer:Qe,useRef:Qe,useState:Qe,useDebugValue:Qe,useDeferredValue:Qe,useTransition:Qe,useSyncExternalStore:Qe,useId:Qe,useHostTransitionStatus:Qe,useFormState:Qe,useActionState:Qe,useOptimistic:Qe,useMemoCache:Qe,useCacheRefresh:Qe};Bs.useEffectEvent=Qe;var oS={readContext:Mt,use:Lp,useCallback:function(e,t){return Yt().memoizedState=[e,t===void 0?null:t],e},useContext:Mt,useEffect:LT,useImperativeHandle:function(e,t,o){o=o!=null?o.concat([e]):null,Kc(4194308,4,Fx.bind(null,t,e),o)},useLayoutEffect:function(e,t){return Kc(4194308,4,e,t)},useInsertionEffect:function(e,t){Kc(4,2,e,t)},useMemo:function(e,t){var o=Yt();t=t===void 0?null:t;var r=e();if(pa){hn(!0);try{e()}finally{hn(!1)}}return o.memoizedState=[r,t],r},useReducer:function(e,t,o){var r=Yt();if(o!==void 0){var n=o(t);if(pa){hn(!0);try{o(t)}finally{hn(!1)}}}else n=t;return r.memoizedState=r.baseState=n,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:n},r.queue=e,e=e.dispatch=CM.bind(null,Z,e),[r.memoizedState,e]},useRef:function(e){var t=Yt();return e={current:e},t.memoizedState=e},useState:function(e){e=uy(e);var t=e.queue,o=Jx.bind(null,Z,t);return t.dispatch=o,[e.memoizedState,o]},useDebugValue:sh,useDeferredValue:function(e,t){var o=Yt();return uh(o,e,t)},useTransition:function(){var e=uy(!1);return e=Kx.bind(null,Z,e.queue,!0,!1),Yt().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,o){var r=Z,n=Yt();if(ie){if(o===void 0)throw Error(z(407));o=o()}else{if(o=t(),Me===null)throw Error(z(349));(ne&127)!==0||Ax(r,t,o)}n.memoizedState=o;var a={value:o,getSnapshot:t};return n.queue=a,LT(Nx.bind(null,r,a,e),[e]),r.flags|=2048,qi(9,{destroy:void 0},wx.bind(null,r,a,o,t),null),o},useId:function(){var e=Yt(),t=Me.identifierPrefix;if(ie){var o=cr,r=ur;o=(r&~(1<<32-bo(r)-1)).toString(32)+o,t="_"+t+"R_"+o,o=yp++,0<o&&(t+="H"+o.toString(32)),t+="_"}else o=hM++,t="_"+t+"r_"+o.toString(32)+"_";return e.memoizedState=t},useHostTransitionStatus:ch,useFormState:kT,useActionState:kT,useOptimistic:function(e){var t=Yt();t.memoizedState=t.baseState=e;var o={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=o,t=ph.bind(null,Z,!0,o),o.dispatch=t,[e,t]},useMemoCache:ah,useCacheRefresh:function(){return Yt().memoizedState=SM.bind(null,Z)},useEffectEvent:function(e){var t=Yt(),o={impl:e};return t.memoizedState=o,function(){if((de&2)!==0)throw Error(z(440));return o.impl.apply(void 0,arguments)}}},fh={readContext:Mt,use:Lp,useCallback:Gx,useContext:Mt,useEffect:lh,useImperativeHandle:qx,useInsertionEffect:Vx,useLayoutEffect:Ix,useMemo:$x,useReducer:Yc,useRef:Lx,useState:function(){return Yc(Ir)},useDebugValue:sh,useDeferredValue:function(e,t){var o=tt();return Yx(o,Oe.memoizedState,e,t)},useTransition:function(){var e=Yc(Ir)[0],t=tt().memoizedState;return[typeof e=="boolean"?e:Ks(e),t]},useSyncExternalStore:Mx,useId:Zx,useHostTransitionStatus:ch,useFormState:UT,useActionState:UT,useOptimistic:function(e,t){var o=tt();return zx(o,Oe,e,t)},useMemoCache:ah,useCacheRefresh:Wx};fh.useEffectEvent=Hx;var rS={readContext:Mt,use:Lp,useCallback:Gx,useContext:Mt,useEffect:lh,useImperativeHandle:qx,useInsertionEffect:Vx,useLayoutEffect:Ix,useMemo:$x,useReducer:Tm,useRef:Lx,useState:function(){return Tm(Ir)},useDebugValue:sh,useDeferredValue:function(e,t){var o=tt();return Oe===null?uh(o,e,t):Yx(o,Oe.memoizedState,e,t)},useTransition:function(){var e=Tm(Ir)[0],t=tt().memoizedState;return[typeof e=="boolean"?e:Ks(e),t]},useSyncExternalStore:Mx,useId:Zx,useHostTransitionStatus:ch,useFormState:jT,useActionState:jT,useOptimistic:function(e,t){var o=tt();return Oe!==null?zx(o,Oe,e,t):(o.baseState=e,[e,o.queue.dispatch])},useMemoCache:ah,useCacheRefresh:Wx};rS.useEffectEvent=Hx;function vm(e,t,o,r){t=e.memoizedState,o=o(r,t),o=o==null?t:Le({},t,o),e.memoizedState=o,e.lanes===0&&(e.updateQueue.baseState=o)}var fy={enqueueSetState:function(e,t,o){e=e._reactInternals;var r=To(),n=Cn(r);n.payload=t,o!=null&&(n.callback=o),t=En(e,n,r),t!==null&&(to(t,e,r),bs(t,e,r))},enqueueReplaceState:function(e,t,o){e=e._reactInternals;var r=To(),n=Cn(r);n.tag=1,n.payload=t,o!=null&&(n.callback=o),t=En(e,n,r),t!==null&&(to(t,e,r),bs(t,e,r))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var o=To(),r=Cn(o);r.tag=2,t!=null&&(r.callback=t),t=En(e,r,o),t!==null&&(to(t,e,o),bs(t,e,o))}};function HT(e,t,o,r,n,a,i){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,a,i):t.prototype&&t.prototype.isPureReactComponent?!ws(o,r)||!ws(n,a):!0}function VT(e,t,o,r){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(o,r),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(o,r),t.state!==e&&fy.enqueueReplaceState(t,t.state,null)}function fa(e,t){var o=t;if("ref"in t){o={};for(var r in t)r!=="ref"&&(o[r]=t[r])}if(e=e.defaultProps){o===t&&(o=Le({},o));for(var n in e)o[n]===void 0&&(o[n]=e[n])}return o}function nS(e){lp(e)}function aS(e){console.error(e)}function iS(e){lp(e)}function hp(e,t){try{var o=e.onUncaughtError;o(t.value,{componentStack:t.stack})}catch(r){setTimeout(function(){throw r})}}function IT(e,t,o){try{var r=e.onCaughtError;r(o.value,{componentStack:o.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(n){setTimeout(function(){throw n})}}function dy(e,t,o){return o=Cn(o),o.tag=3,o.payload={element:null},o.callback=function(){hp(e,t)},o}function lS(e){return e=Cn(e),e.tag=3,e}function sS(e,t,o,r){var n=o.type.getDerivedStateFromError;if(typeof n=="function"){var a=r.value;e.payload=function(){return n(a)},e.callback=function(){IT(t,o,r)}}var i=o.stateNode;i!==null&&typeof i.componentDidCatch=="function"&&(e.callback=function(){IT(t,o,r),typeof n!="function"&&(Pn===null?Pn=new Set([this]):Pn.add(this));var l=r.stack;this.componentDidCatch(r.value,{componentStack:l!==null?l:""})})}function EM(e,t,o,r,n){if(o.flags|=32768,r!==null&&typeof r=="object"&&typeof r.then=="function"){if(t=o.alternate,t!==null&&Wi(t,o,n,!0),o=xo.current,o!==null){switch(o.tag){case 31:case 13:return Lo===null?xp():o.alternate===null&&Ze===0&&(Ze=3),o.flags&=-257,o.flags|=65536,o.lanes=n,r===pp?o.flags|=16384:(t=o.updateQueue,t===null?o.updateQueue=new Set([r]):t.add(r),Nm(e,r,n)),!1;case 22:return o.flags|=65536,r===pp?o.flags|=16384:(t=o.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([r])},o.updateQueue=t):(o=t.retryQueue,o===null?t.retryQueue=new Set([r]):o.add(r)),Nm(e,r,n)),!1}throw Error(z(435,o.tag))}return Nm(e,r,n),xp(),!1}if(ie)return t=xo.current,t!==null?((t.flags&65536)===0&&(t.flags|=256),t.flags|=65536,t.lanes=n,r!==ey&&(e=Error(z(422),{cause:r}),_s(Uo(e,o)))):(r!==ey&&(t=Error(z(423),{cause:r}),_s(Uo(t,o))),e=e.current.alternate,e.flags|=65536,n&=-n,e.lanes|=n,r=Uo(r,o),n=dy(e.stateNode,r,n),bm(e,n),Ze!==4&&(Ze=2)),!1;var a=Error(z(520),{cause:r});if(a=Uo(a,o),Es===null?Es=[a]:Es.push(a),Ze!==4&&(Ze=2),t===null)return!0;r=Uo(r,o),o=t;do{switch(o.tag){case 3:return o.flags|=65536,e=n&-n,o.lanes|=e,e=dy(o.stateNode,r,e),bm(o,e),!1;case 1:if(t=o.type,a=o.stateNode,(o.flags&128)===0&&(typeof t.getDerivedStateFromError=="function"||a!==null&&typeof a.componentDidCatch=="function"&&(Pn===null||!Pn.has(a))))return o.flags|=65536,n&=-n,o.lanes|=n,n=lS(n),sS(n,e,o,r),bm(o,n),!1}o=o.return}while(o!==null);return!1}var dh=Error(z(461)),lt=!1;function Pt(e,t,o,r){t.child=e===null?Sx(t,null,o,r):ca(t,e.child,o,r)}function FT(e,t,o,r,n){o=o.render;var a=t.ref;if("ref"in r){var i={};for(var l in r)l!=="ref"&&(i[l]=r[l])}else i=r;return ua(t),r=th(e,t,o,i,a,n),l=oh(),e!==null&&!lt?(rh(e,t,n),Fr(e,t,n)):(ie&&l&&Yy(t),t.flags|=1,Pt(e,t,r,n),t.child)}function qT(e,t,o,r,n){if(e===null){var a=o.type;return typeof a=="function"&&!$y(a)&&a.defaultProps===void 0&&o.compare===null?(t.tag=15,t.type=a,uS(e,t,a,r,n)):(e=Gc(o.type,null,r,t,t.mode,n),e.ref=t.ref,e.return=t,t.child=e)}if(a=e.child,!mh(e,n)){var i=a.memoizedProps;if(o=o.compare,o=o!==null?o:ws,o(i,r)&&e.ref===t.ref)return Fr(e,t,n)}return t.flags|=1,e=Ur(a,r),e.ref=t.ref,e.return=t,t.child=e}function uS(e,t,o,r,n){if(e!==null){var a=e.memoizedProps;if(ws(a,r)&&e.ref===t.ref)if(lt=!1,t.pendingProps=r=a,mh(e,n))(e.flags&131072)!==0&&(lt=!0);else return t.lanes=e.lanes,Fr(e,t,n)}return my(e,t,o,r,n)}function cS(e,t,o,r){var n=r.children,a=e!==null?e.memoizedState:null;if(e===null&&t.stateNode===null&&(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),r.mode==="hidden"){if((t.flags&128)!==0){if(a=a!==null?a.baseLanes|o:o,e!==null){for(r=t.child=e.child,n=0;r!==null;)n=n|r.lanes|r.childLanes,r=r.sibling;r=n&~a}else r=0,t.child=null;return GT(e,t,a,o,r)}if((o&536870912)!==0)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&$c(t,a!==null?a.cachePool:null),a!==null?DT(t,a):ly(),Px(t);else return r=t.lanes=536870912,GT(e,t,a!==null?a.baseLanes|o:o,o,r)}else a!==null?($c(t,a.cachePool),DT(t,a),mn(t),t.memoizedState=null):(e!==null&&$c(t,null),ly(),mn(t));return Pt(e,t,n,o),t.child}function fs(e,t){return e!==null&&e.tag===22||t.stateNode!==null||(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function GT(e,t,o,r,n){var a=Qy();return a=a===null?null:{parent:it._currentValue,pool:a},t.memoizedState={baseLanes:o,cachePool:a},e!==null&&$c(t,null),ly(),Px(t),e!==null&&Wi(e,t,r,!0),t.childLanes=n,null}function Xc(e,t){return t=gp({mode:t.mode,children:t.children},e.mode),t.ref=e.ref,e.child=t,t.return=e,t}function $T(e,t,o){return ca(t,e.child,null,o),e=Xc(t,t.pendingProps),e.flags|=2,fo(t),t.memoizedState=null,e}function PM(e,t,o){var r=t.pendingProps,n=(t.flags&128)!==0;if(t.flags&=-129,e===null){if(ie){if(r.mode==="hidden")return e=Xc(t,r),t.lanes=536870912,fs(null,e);if(sy(t),(e=je)?(e=o1(e,jo),e=e!==null&&e.data==="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:wn!==null?{id:ur,overflow:cr}:null,retryLane:536870912,hydrationErrors:null},o=yx(e),o.return=t,t.child=o,Ot=t,je=null)):e=null,e===null)throw Nn(t);return t.lanes=536870912,null}return Xc(t,r)}var a=e.memoizedState;if(a!==null){var i=a.dehydrated;if(sy(t),n)if(t.flags&256)t.flags&=-257,t=$T(e,t,o);else if(t.memoizedState!==null)t.child=e.child,t.flags|=128,t=null;else throw Error(z(558));else if(lt||Wi(e,t,o,!1),n=(o&e.childLanes)!==0,lt||n){if(r=Me,r!==null&&(i=Vv(r,o),i!==0&&i!==a.retryLane))throw a.retryLane=i,ha(e,i),to(r,e,i),dh;xp(),t=$T(e,t,o)}else e=a.treeContext,je=Ho(i.nextSibling),Ot=t,ie=!0,Sn=null,jo=!1,e!==null&&gx(t,e),t=Xc(t,r),t.flags|=4096;return t}return e=Ur(e.child,{mode:r.mode,children:r.children}),e.ref=t.ref,t.child=e,e.return=t,e}function Qc(e,t){var o=t.ref;if(o===null)e!==null&&e.ref!==null&&(t.flags|=4194816);else{if(typeof o!="function"&&typeof o!="object")throw Error(z(284));(e===null||e.ref!==o)&&(t.flags|=4194816)}}function my(e,t,o,r,n){return ua(t),o=th(e,t,o,r,void 0,n),r=oh(),e!==null&&!lt?(rh(e,t,n),Fr(e,t,n)):(ie&&r&&Yy(t),t.flags|=1,Pt(e,t,o,n),t.child)}function YT(e,t,o,r,n,a){return ua(t),t.updateQueue=null,o=Ox(t,r,o,n),Rx(e),r=oh(),e!==null&&!lt?(rh(e,t,a),Fr(e,t,a)):(ie&&r&&Yy(t),t.flags|=1,Pt(e,t,o,a),t.child)}function KT(e,t,o,r,n){if(ua(t),t.stateNode===null){var a=Mi,i=o.contextType;typeof i=="object"&&i!==null&&(a=Mt(i)),a=new o(r,a),t.memoizedState=a.state!==null&&a.state!==void 0?a.state:null,a.updater=fy,t.stateNode=a,a._reactInternals=t,a=t.stateNode,a.props=r,a.state=t.memoizedState,a.refs={},Wy(t),i=o.contextType,a.context=typeof i=="object"&&i!==null?Mt(i):Mi,a.state=t.memoizedState,i=o.getDerivedStateFromProps,typeof i=="function"&&(vm(t,o,i,r),a.state=t.memoizedState),typeof o.getDerivedStateFromProps=="function"||typeof a.getSnapshotBeforeUpdate=="function"||typeof a.UNSAFE_componentWillMount!="function"&&typeof a.componentWillMount!="function"||(i=a.state,typeof a.componentWillMount=="function"&&a.componentWillMount(),typeof a.UNSAFE_componentWillMount=="function"&&a.UNSAFE_componentWillMount(),i!==a.state&&fy.enqueueReplaceState(a,a.state,null),vs(t,r,a,n),Ts(),a.state=t.memoizedState),typeof a.componentDidMount=="function"&&(t.flags|=4194308),r=!0}else if(e===null){a=t.stateNode;var l=t.memoizedProps,s=fa(o,l);a.props=s;var u=a.context,p=o.contextType;i=Mi,typeof p=="object"&&p!==null&&(i=Mt(p));var f=o.getDerivedStateFromProps;p=typeof f=="function"||typeof a.getSnapshotBeforeUpdate=="function",l=t.pendingProps!==l,p||typeof a.UNSAFE_componentWillReceiveProps!="function"&&typeof a.componentWillReceiveProps!="function"||(l||u!==i)&&VT(t,a,r,i),pn=!1;var d=t.memoizedState;a.state=d,vs(t,r,a,n),Ts(),u=t.memoizedState,l||d!==u||pn?(typeof f=="function"&&(vm(t,o,f,r),u=t.memoizedState),(s=pn||HT(t,o,s,r,d,u,i))?(p||typeof a.UNSAFE_componentWillMount!="function"&&typeof a.componentWillMount!="function"||(typeof a.componentWillMount=="function"&&a.componentWillMount(),typeof a.UNSAFE_componentWillMount=="function"&&a.UNSAFE_componentWillMount()),typeof a.componentDidMount=="function"&&(t.flags|=4194308)):(typeof a.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=u),a.props=r,a.state=u,a.context=i,r=s):(typeof a.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{a=t.stateNode,ay(e,t),i=t.memoizedProps,p=fa(o,i),a.props=p,f=t.pendingProps,d=a.context,u=o.contextType,s=Mi,typeof u=="object"&&u!==null&&(s=Mt(u)),l=o.getDerivedStateFromProps,(u=typeof l=="function"||typeof a.getSnapshotBeforeUpdate=="function")||typeof a.UNSAFE_componentWillReceiveProps!="function"&&typeof a.componentWillReceiveProps!="function"||(i!==f||d!==s)&&VT(t,a,r,s),pn=!1,d=t.memoizedState,a.state=d,vs(t,r,a,n),Ts();var c=t.memoizedState;i!==f||d!==c||pn||e!==null&&e.dependencies!==null&&cp(e.dependencies)?(typeof l=="function"&&(vm(t,o,l,r),c=t.memoizedState),(p=pn||HT(t,o,p,r,d,c,s)||e!==null&&e.dependencies!==null&&cp(e.dependencies))?(u||typeof a.UNSAFE_componentWillUpdate!="function"&&typeof a.componentWillUpdate!="function"||(typeof a.componentWillUpdate=="function"&&a.componentWillUpdate(r,c,s),typeof a.UNSAFE_componentWillUpdate=="function"&&a.UNSAFE_componentWillUpdate(r,c,s)),typeof a.componentDidUpdate=="function"&&(t.flags|=4),typeof a.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof a.componentDidUpdate!="function"||i===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!="function"||i===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=c),a.props=r,a.state=c,a.context=s,r=p):(typeof a.componentDidUpdate!="function"||i===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!="function"||i===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),r=!1)}return a=r,Qc(e,t),r=(t.flags&128)!==0,a||r?(a=t.stateNode,o=r&&typeof o.getDerivedStateFromError!="function"?null:a.render(),t.flags|=1,e!==null&&r?(t.child=ca(t,e.child,null,n),t.child=ca(t,null,o,n)):Pt(e,t,o,n),t.memoizedState=a.state,e=t.child):e=Fr(e,t,n),e}function XT(e,t,o,r){return sa(),t.flags|=256,Pt(e,t,o,r),t.child}var xm={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Sm(e){return{baseLanes:e,cachePool:Tx()}}function Cm(e,t,o){return e=e!==null?e.childLanes&~o:0,t&&(e|=yo),e}function pS(e,t,o){var r=t.pendingProps,n=!1,a=(t.flags&128)!==0,i;if((i=a)||(i=e!==null&&e.memoizedState===null?!1:(et.current&2)!==0),i&&(n=!0,t.flags&=-129),i=(t.flags&32)!==0,t.flags&=-33,e===null){if(ie){if(n?dn(t):mn(t),(e=je)?(e=o1(e,jo),e=e!==null&&e.data!=="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:wn!==null?{id:ur,overflow:cr}:null,retryLane:536870912,hydrationErrors:null},o=yx(e),o.return=t,t.child=o,Ot=t,je=null)):e=null,e===null)throw Nn(t);return My(e)?t.lanes=32:t.lanes=536870912,null}var l=r.children;return r=r.fallback,n?(mn(t),n=t.mode,l=gp({mode:"hidden",children:l},n),r=na(r,n,o,null),l.return=t,r.return=t,l.sibling=r,t.child=l,r=t.child,r.memoizedState=Sm(o),r.childLanes=Cm(e,i,o),t.memoizedState=xm,fs(null,r)):(dn(t),yy(t,l))}var s=e.memoizedState;if(s!==null&&(l=s.dehydrated,l!==null)){if(a)t.flags&256?(dn(t),t.flags&=-257,t=Em(e,t,o)):t.memoizedState!==null?(mn(t),t.child=e.child,t.flags|=128,t=null):(mn(t),l=r.fallback,n=t.mode,r=gp({mode:"visible",children:r.children},n),l=na(l,n,o,null),l.flags|=2,r.return=t,l.return=t,r.sibling=l,t.child=r,ca(t,e.child,null,o),r=t.child,r.memoizedState=Sm(o),r.childLanes=Cm(e,i,o),t.memoizedState=xm,t=fs(null,r));else if(dn(t),My(l)){if(i=l.nextSibling&&l.nextSibling.dataset,i)var u=i.dgst;i=u,r=Error(z(419)),r.stack="",r.digest=i,_s({value:r,source:null,stack:null}),t=Em(e,t,o)}else if(lt||Wi(e,t,o,!1),i=(o&e.childLanes)!==0,lt||i){if(i=Me,i!==null&&(r=Vv(i,o),r!==0&&r!==s.retryLane))throw s.retryLane=r,ha(e,r),to(i,e,r),dh;Oy(l)||xp(),t=Em(e,t,o)}else Oy(l)?(t.flags|=192,t.child=e.child,t=null):(e=s.treeContext,je=Ho(l.nextSibling),Ot=t,ie=!0,Sn=null,jo=!1,e!==null&&gx(t,e),t=yy(t,r.children),t.flags|=4096);return t}return n?(mn(t),l=r.fallback,n=t.mode,s=e.child,u=s.sibling,r=Ur(s,{mode:"hidden",children:r.children}),r.subtreeFlags=s.subtreeFlags&65011712,u!==null?l=Ur(u,l):(l=na(l,n,o,null),l.flags|=2),l.return=t,r.return=t,r.sibling=l,t.child=r,fs(null,r),r=t.child,l=e.child.memoizedState,l===null?l=Sm(o):(n=l.cachePool,n!==null?(s=it._currentValue,n=n.parent!==s?{parent:s,pool:s}:n):n=Tx(),l={baseLanes:l.baseLanes|o,cachePool:n}),r.memoizedState=l,r.childLanes=Cm(e,i,o),t.memoizedState=xm,fs(e.child,r)):(dn(t),o=e.child,e=o.sibling,o=Ur(o,{mode:"visible",children:r.children}),o.return=t,o.sibling=null,e!==null&&(i=t.deletions,i===null?(t.deletions=[e],t.flags|=16):i.push(e)),t.child=o,t.memoizedState=null,o)}function yy(e,t){return t=gp({mode:"visible",children:t},e.mode),t.return=e,e.child=t}function gp(e,t){return e=mo(22,e,null,t),e.lanes=0,e}function Em(e,t,o){return ca(t,e.child,null,o),e=yy(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function QT(e,t,o){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),oy(e.return,t,o)}function Pm(e,t,o,r,n,a){var i=e.memoizedState;i===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:o,tailMode:n,treeForkCount:a}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=o,i.tailMode=n,i.treeForkCount=a)}function fS(e,t,o){var r=t.pendingProps,n=r.revealOrder,a=r.tail;r=r.children;var i=et.current,l=(i&2)!==0;if(l?(i=i&1|2,t.flags|=128):i&=1,_e(et,i),Pt(e,t,r,o),r=ie?Ns:0,!l&&e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&QT(e,o,t);else if(e.tag===19)QT(e,o,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}switch(n){case"forwards":for(o=t.child,n=null;o!==null;)e=o.alternate,e!==null&&dp(e)===null&&(n=o),o=o.sibling;o=n,o===null?(n=t.child,t.child=null):(n=o.sibling,o.sibling=null),Pm(t,!1,n,o,a,r);break;case"backwards":case"unstable_legacy-backwards":for(o=null,n=t.child,t.child=null;n!==null;){if(e=n.alternate,e!==null&&dp(e)===null){t.child=n;break}e=n.sibling,n.sibling=o,o=n,n=e}Pm(t,!0,o,null,a,r);break;case"together":Pm(t,!1,null,null,void 0,r);break;default:t.memoizedState=null}return t.child}function Fr(e,t,o){if(e!==null&&(t.dependencies=e.dependencies),Dn|=t.lanes,(o&t.childLanes)===0)if(e!==null){if(Wi(e,t,o,!1),(o&t.childLanes)===0)return null}else return null;if(e!==null&&t.child!==e.child)throw Error(z(153));if(t.child!==null){for(e=t.child,o=Ur(e,e.pendingProps),t.child=o,o.return=t;e.sibling!==null;)e=e.sibling,o=o.sibling=Ur(e,e.pendingProps),o.return=t;o.sibling=null}return t.child}function mh(e,t){return(e.lanes&t)!==0?!0:(e=e.dependencies,!!(e!==null&&cp(e)))}function RM(e,t,o){switch(t.tag){case 3:rp(t,t.stateNode.containerInfo),fn(t,it,e.memoizedState.cache),sa();break;case 27:case 5:Fm(t);break;case 4:rp(t,t.stateNode.containerInfo);break;case 10:fn(t,t.type,t.memoizedProps.value);break;case 31:if(t.memoizedState!==null)return t.flags|=128,sy(t),null;break;case 13:var r=t.memoizedState;if(r!==null)return r.dehydrated!==null?(dn(t),t.flags|=128,null):(o&t.child.childLanes)!==0?pS(e,t,o):(dn(t),e=Fr(e,t,o),e!==null?e.sibling:null);dn(t);break;case 19:var n=(e.flags&128)!==0;if(r=(o&t.childLanes)!==0,r||(Wi(e,t,o,!1),r=(o&t.childLanes)!==0),n){if(r)return fS(e,t,o);t.flags|=128}if(n=t.memoizedState,n!==null&&(n.rendering=null,n.tail=null,n.lastEffect=null),_e(et,et.current),r)break;return null;case 22:return t.lanes=0,cS(e,t,o,t.pendingProps);case 24:fn(t,it,e.memoizedState.cache)}return Fr(e,t,o)}function dS(e,t,o){if(e!==null)if(e.memoizedProps!==t.pendingProps)lt=!0;else{if(!mh(e,o)&&(t.flags&128)===0)return lt=!1,RM(e,t,o);lt=(e.flags&131072)!==0}else lt=!1,ie&&(t.flags&1048576)!==0&&hx(t,Ns,t.index);switch(t.lanes=0,t.tag){case 16:e:{var r=t.pendingProps;if(e=ta(t.elementType),t.type=e,typeof e=="function")$y(e)?(r=fa(e,r),t.tag=1,t=KT(null,t,e,r,o)):(t.tag=0,t=my(null,t,e,r,o));else{if(e!=null){var n=e.$$typeof;if(n===_y){t.tag=11,t=FT(null,t,e,r,o);break e}else if(n===Dy){t.tag=14,t=qT(null,t,e,r,o);break e}}throw t=Vm(e)||e,Error(z(306,t,""))}}return t;case 0:return my(e,t,t.type,t.pendingProps,o);case 1:return r=t.type,n=fa(r,t.pendingProps),KT(e,t,r,n,o);case 3:e:{if(rp(t,t.stateNode.containerInfo),e===null)throw Error(z(387));r=t.pendingProps;var a=t.memoizedState;n=a.element,ay(e,t),vs(t,r,null,o);var i=t.memoizedState;if(r=i.cache,fn(t,it,r),r!==a.cache&&ry(t,[it],o,!0),Ts(),r=i.element,a.isDehydrated)if(a={element:r,isDehydrated:!1,cache:i.cache},t.updateQueue.baseState=a,t.memoizedState=a,t.flags&256){t=XT(e,t,r,o);break e}else if(r!==n){n=Uo(Error(z(424)),t),_s(n),t=XT(e,t,r,o);break e}else for(e=t.stateNode.containerInfo,e.nodeType===9?e=e.body:e=e.nodeName==="HTML"?e.ownerDocument.body:e,je=Ho(e.firstChild),Ot=t,ie=!0,Sn=null,jo=!0,o=Sx(t,null,r,o),t.child=o;o;)o.flags=o.flags&-3|4096,o=o.sibling;else{if(sa(),r===n){t=Fr(e,t,o);break e}Pt(e,t,r,o)}t=t.child}return t;case 26:return Qc(e,t),e===null?(o=bv(t.type,null,t.pendingProps,null))?t.memoizedState=o:ie||(o=t.type,e=t.pendingProps,r=Pp(xn.current).createElement(o),r[Rt]=t,r[oo]=e,At(r,o,e),ht(r),t.stateNode=r):t.memoizedState=bv(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return Fm(t),e===null&&ie&&(r=t.stateNode=r1(t.type,t.pendingProps,xn.current),Ot=t,jo=!0,n=je,Bn(t.type)?(Ay=n,je=Ho(r.firstChild)):je=n),Pt(e,t,t.pendingProps.children,o),Qc(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&ie&&((n=r=je)&&(r=eA(r,t.type,t.pendingProps,jo),r!==null?(t.stateNode=r,Ot=t,je=Ho(r.firstChild),jo=!1,n=!0):n=!1),n||Nn(t)),Fm(t),n=t.type,a=t.pendingProps,i=e!==null?e.memoizedProps:null,r=a.children,Py(n,a)?r=null:i!==null&&Py(n,i)&&(t.flags|=32),t.memoizedState!==null&&(n=th(e,t,gM,null,null,o),js._currentValue=n),Qc(e,t),Pt(e,t,r,o),t.child;case 6:return e===null&&ie&&((e=o=je)&&(o=tA(o,t.pendingProps,jo),o!==null?(t.stateNode=o,Ot=t,je=null,e=!0):e=!1),e||Nn(t)),null;case 13:return pS(e,t,o);case 4:return rp(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=ca(t,null,r,o):Pt(e,t,r,o),t.child;case 11:return FT(e,t,t.type,t.pendingProps,o);case 7:return Pt(e,t,t.pendingProps,o),t.child;case 8:return Pt(e,t,t.pendingProps.children,o),t.child;case 12:return Pt(e,t,t.pendingProps.children,o),t.child;case 10:return r=t.pendingProps,fn(t,t.type,r.value),Pt(e,t,r.children,o),t.child;case 9:return n=t.type._context,r=t.pendingProps.children,ua(t),n=Mt(n),r=r(n),t.flags|=1,Pt(e,t,r,o),t.child;case 14:return qT(e,t,t.type,t.pendingProps,o);case 15:return uS(e,t,t.type,t.pendingProps,o);case 19:return fS(e,t,o);case 31:return PM(e,t,o);case 22:return cS(e,t,o,t.pendingProps);case 24:return ua(t),r=Mt(it),e===null?(n=Qy(),n===null&&(n=Me,a=Xy(),n.pooledCache=a,a.refCount++,a!==null&&(n.pooledCacheLanes|=o),n=a),t.memoizedState={parent:r,cache:n},Wy(t),fn(t,it,n)):((e.lanes&o)!==0&&(ay(e,t),vs(t,null,null,o),Ts()),n=e.memoizedState,a=t.memoizedState,n.parent!==r?(n={parent:r,cache:r},t.memoizedState=n,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=n),fn(t,it,r)):(r=a.cache,fn(t,it,r),r!==n.cache&&ry(t,[it],o,!0))),Pt(e,t,t.pendingProps.children,o),t.child;case 29:throw t.pendingProps}throw Error(z(156,t.tag))}function Mr(e){e.flags|=4}function Rm(e,t,o,r,n){if((t=(e.mode&32)!==0)&&(t=!1),t){if(e.flags|=16777216,(n&335544128)===n)if(e.stateNode.complete)e.flags|=8192;else if(US())e.flags|=8192;else throw ia=pp,Zy}else e.flags&=-16777217}function ZT(e,t){if(t.type!=="stylesheet"||(t.state.loading&4)!==0)e.flags&=-16777217;else if(e.flags|=16777216,!i1(t))if(US())e.flags|=8192;else throw ia=pp,Zy}function zc(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag!==22?jv():536870912,e.lanes|=t,Gi|=t)}function as(e,t){if(!ie)switch(e.tailMode){case"hidden":t=e.tail;for(var o=null;t!==null;)t.alternate!==null&&(o=t),t=t.sibling;o===null?e.tail=null:o.sibling=null;break;case"collapsed":o=e.tail;for(var r=null;o!==null;)o.alternate!==null&&(r=o),o=o.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Ue(e){var t=e.alternate!==null&&e.alternate.child===e.child,o=0,r=0;if(t)for(var n=e.child;n!==null;)o|=n.lanes|n.childLanes,r|=n.subtreeFlags&65011712,r|=n.flags&65011712,n.return=e,n=n.sibling;else for(n=e.child;n!==null;)o|=n.lanes|n.childLanes,r|=n.subtreeFlags,r|=n.flags,n.return=e,n=n.sibling;return e.subtreeFlags|=r,e.childLanes=o,t}function OM(e,t,o){var r=t.pendingProps;switch(Ky(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ue(t),null;case 1:return Ue(t),null;case 3:return o=t.stateNode,r=null,e!==null&&(r=e.memoizedState.cache),t.memoizedState.cache!==r&&(t.flags|=2048),jr(it),Li(),o.pendingContext&&(o.context=o.pendingContext,o.pendingContext=null),(e===null||e.child===null)&&(hi(t)?Mr(t):e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,gm())),Ue(t),null;case 26:var n=t.type,a=t.memoizedState;return e===null?(Mr(t),a!==null?(Ue(t),ZT(t,a)):(Ue(t),Rm(t,n,null,r,o))):a?a!==e.memoizedState?(Mr(t),Ue(t),ZT(t,a)):(Ue(t),t.flags&=-16777217):(e=e.memoizedProps,e!==r&&Mr(t),Ue(t),Rm(t,n,e,r,o)),null;case 27:if(np(t),o=xn.current,n=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==r&&Mr(t);else{if(!r){if(t.stateNode===null)throw Error(z(166));return Ue(t),null}e=fr.current,hi(t)?RT(t,e):(e=r1(n,r,o),t.stateNode=e,Mr(t))}return Ue(t),null;case 5:if(np(t),n=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==r&&Mr(t);else{if(!r){if(t.stateNode===null)throw Error(z(166));return Ue(t),null}if(a=fr.current,hi(t))RT(t,a);else{var i=Pp(xn.current);switch(a){case 1:a=i.createElementNS("http://www.w3.org/2000/svg",n);break;case 2:a=i.createElementNS("http://www.w3.org/1998/Math/MathML",n);break;default:switch(n){case"svg":a=i.createElementNS("http://www.w3.org/2000/svg",n);break;case"math":a=i.createElementNS("http://www.w3.org/1998/Math/MathML",n);break;case"script":a=i.createElement("div"),a.innerHTML="<script><\/script>",a=a.removeChild(a.firstChild);break;case"select":a=typeof r.is=="string"?i.createElement("select",{is:r.is}):i.createElement("select"),r.multiple?a.multiple=!0:r.size&&(a.size=r.size);break;default:a=typeof r.is=="string"?i.createElement(n,{is:r.is}):i.createElement(n)}}a[Rt]=t,a[oo]=r;e:for(i=t.child;i!==null;){if(i.tag===5||i.tag===6)a.appendChild(i.stateNode);else if(i.tag!==4&&i.tag!==27&&i.child!==null){i.child.return=i,i=i.child;continue}if(i===t)break e;for(;i.sibling===null;){if(i.return===null||i.return===t)break e;i=i.return}i.sibling.return=i.return,i=i.sibling}t.stateNode=a;e:switch(At(a,n,r),n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}r&&Mr(t)}}return Ue(t),Rm(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,o),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==r&&Mr(t);else{if(typeof r!="string"&&t.stateNode===null)throw Error(z(166));if(e=xn.current,hi(t)){if(e=t.stateNode,o=t.memoizedProps,r=null,n=Ot,n!==null)switch(n.tag){case 27:case 5:r=n.memoizedProps}e[Rt]=t,e=!!(e.nodeValue===o||r!==null&&r.suppressHydrationWarning===!0||JS(e.nodeValue,o)),e||Nn(t,!0)}else e=Pp(e).createTextNode(r),e[Rt]=t,t.stateNode=e}return Ue(t),null;case 31:if(o=t.memoizedState,e===null||e.memoizedState!==null){if(r=hi(t),o!==null){if(e===null){if(!r)throw Error(z(318));if(e=t.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(z(557));e[Rt]=t}else sa(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;Ue(t),e=!1}else o=gm(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=o),e=!0;if(!e)return t.flags&256?(fo(t),t):(fo(t),null);if((t.flags&128)!==0)throw Error(z(558))}return Ue(t),null;case 13:if(r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(n=hi(t),r!==null&&r.dehydrated!==null){if(e===null){if(!n)throw Error(z(318));if(n=t.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(z(317));n[Rt]=t}else sa(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;Ue(t),n=!1}else n=gm(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=n),n=!0;if(!n)return t.flags&256?(fo(t),t):(fo(t),null)}return fo(t),(t.flags&128)!==0?(t.lanes=o,t):(o=r!==null,e=e!==null&&e.memoizedState!==null,o&&(r=t.child,n=null,r.alternate!==null&&r.alternate.memoizedState!==null&&r.alternate.memoizedState.cachePool!==null&&(n=r.alternate.memoizedState.cachePool.pool),a=null,r.memoizedState!==null&&r.memoizedState.cachePool!==null&&(a=r.memoizedState.cachePool.pool),a!==n&&(r.flags|=2048)),o!==e&&o&&(t.child.flags|=8192),zc(t,t.updateQueue),Ue(t),null);case 4:return Li(),e===null&&xh(t.stateNode.containerInfo),Ue(t),null;case 10:return jr(t.type),Ue(t),null;case 19:if(gt(et),r=t.memoizedState,r===null)return Ue(t),null;if(n=(t.flags&128)!==0,a=r.rendering,a===null)if(n)as(r,!1);else{if(Ze!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(a=dp(e),a!==null){for(t.flags|=128,as(r,!1),e=a.updateQueue,t.updateQueue=e,zc(t,e),t.subtreeFlags=0,e=o,o=t.child;o!==null;)mx(o,e),o=o.sibling;return _e(et,et.current&1|2),ie&&_r(t,r.treeForkCount),t.child}e=e.sibling}r.tail!==null&&ho()>Tp&&(t.flags|=128,n=!0,as(r,!1),t.lanes=4194304)}else{if(!n)if(e=dp(a),e!==null){if(t.flags|=128,n=!0,e=e.updateQueue,t.updateQueue=e,zc(t,e),as(r,!0),r.tail===null&&r.tailMode==="hidden"&&!a.alternate&&!ie)return Ue(t),null}else 2*ho()-r.renderingStartTime>Tp&&o!==536870912&&(t.flags|=128,n=!0,as(r,!1),t.lanes=4194304);r.isBackwards?(a.sibling=t.child,t.child=a):(e=r.last,e!==null?e.sibling=a:t.child=a,r.last=a)}return r.tail!==null?(e=r.tail,r.rendering=e,r.tail=e.sibling,r.renderingStartTime=ho(),e.sibling=null,o=et.current,_e(et,n?o&1|2:o&1),ie&&_r(t,r.treeForkCount),e):(Ue(t),null);case 22:case 23:return fo(t),Jy(),r=t.memoizedState!==null,e!==null?e.memoizedState!==null!==r&&(t.flags|=8192):r&&(t.flags|=8192),r?(o&536870912)!==0&&(t.flags&128)===0&&(Ue(t),t.subtreeFlags&6&&(t.flags|=8192)):Ue(t),o=t.updateQueue,o!==null&&zc(t,o.retryQueue),o=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(o=e.memoizedState.cachePool.pool),r=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(r=t.memoizedState.cachePool.pool),r!==o&&(t.flags|=2048),e!==null&>(aa),null;case 24:return o=null,e!==null&&(o=e.memoizedState.cache),t.memoizedState.cache!==o&&(t.flags|=2048),jr(it),Ue(t),null;case 25:return null;case 30:return null}throw Error(z(156,t.tag))}function MM(e,t){switch(Ky(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return jr(it),Li(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return np(t),null;case 31:if(t.memoizedState!==null){if(fo(t),t.alternate===null)throw Error(z(340));sa()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 13:if(fo(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(z(340));sa()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return gt(et),null;case 4:return Li(),null;case 10:return jr(t.type),null;case 22:case 23:return fo(t),Jy(),e!==null&>(aa),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return jr(it),null;case 25:return null;default:return null}}function mS(e,t){switch(Ky(t),t.tag){case 3:jr(it),Li();break;case 26:case 27:case 5:np(t);break;case 4:Li();break;case 31:t.memoizedState!==null&&fo(t);break;case 13:fo(t);break;case 19:gt(et);break;case 10:jr(t.type);break;case 22:case 23:fo(t),Jy(),e!==null&>(aa);break;case 24:jr(it)}}function Xs(e,t){try{var o=t.updateQueue,r=o!==null?o.lastEffect:null;if(r!==null){var n=r.next;o=n;do{if((o.tag&e)===e){r=void 0;var a=o.create,i=o.inst;r=a(),i.destroy=r}o=o.next}while(o!==n)}}catch(l){Ee(t,t.return,l)}}function _n(e,t,o){try{var r=t.updateQueue,n=r!==null?r.lastEffect:null;if(n!==null){var a=n.next;r=a;do{if((r.tag&e)===e){var i=r.inst,l=i.destroy;if(l!==void 0){i.destroy=void 0,n=t;var s=o,u=l;try{u()}catch(p){Ee(n,s,p)}}}r=r.next}while(r!==a)}}catch(p){Ee(t,t.return,p)}}function yS(e){var t=e.updateQueue;if(t!==null){var o=e.stateNode;try{Ex(t,o)}catch(r){Ee(e,e.return,r)}}}function hS(e,t,o){o.props=fa(e.type,e.memoizedProps),o.state=e.memoizedState;try{o.componentWillUnmount()}catch(r){Ee(e,t,r)}}function Ss(e,t){try{var o=e.ref;if(o!==null){switch(e.tag){case 26:case 27:case 5:var r=e.stateNode;break;case 30:r=e.stateNode;break;default:r=e.stateNode}typeof o=="function"?e.refCleanup=o(r):o.current=r}}catch(n){Ee(e,t,n)}}function pr(e,t){var o=e.ref,r=e.refCleanup;if(o!==null)if(typeof r=="function")try{r()}catch(n){Ee(e,t,n)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof o=="function")try{o(null)}catch(n){Ee(e,t,n)}else o.current=null}function gS(e){var t=e.type,o=e.memoizedProps,r=e.stateNode;try{e:switch(t){case"button":case"input":case"select":case"textarea":o.autoFocus&&r.focus();break e;case"img":o.src?r.src=o.src:o.srcSet&&(r.srcset=o.srcSet)}}catch(n){Ee(e,e.return,n)}}function Om(e,t,o){try{var r=e.stateNode;KM(r,e.type,o,t),r[oo]=t}catch(n){Ee(e,e.return,n)}}function bS(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&Bn(e.type)||e.tag===4}function Mm(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||bS(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.tag===27&&Bn(e.type)||e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function hy(e,t,o){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?(o.nodeType===9?o.body:o.nodeName==="HTML"?o.ownerDocument.body:o).insertBefore(e,t):(t=o.nodeType===9?o.body:o.nodeName==="HTML"?o.ownerDocument.body:o,t.appendChild(e),o=o._reactRootContainer,o!=null||t.onclick!==null||(t.onclick=Br));else if(r!==4&&(r===27&&Bn(e.type)&&(o=e.stateNode,t=null),e=e.child,e!==null))for(hy(e,t,o),e=e.sibling;e!==null;)hy(e,t,o),e=e.sibling}function bp(e,t,o){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?o.insertBefore(e,t):o.appendChild(e);else if(r!==4&&(r===27&&Bn(e.type)&&(o=e.stateNode),e=e.child,e!==null))for(bp(e,t,o),e=e.sibling;e!==null;)bp(e,t,o),e=e.sibling}function TS(e){var t=e.stateNode,o=e.memoizedProps;try{for(var r=e.type,n=t.attributes;n.length;)t.removeAttributeNode(n[0]);At(t,r,o),t[Rt]=e,t[oo]=o}catch(a){Ee(e,e.return,a)}}var Dr=!1,at=!1,Am=!1,WT=typeof WeakSet=="function"?WeakSet:Set,yt=null;function AM(e,t){if(e=e.containerInfo,Cy=Ap,e=ix(e),Fy(e)){if("selectionStart"in e)var o={start:e.selectionStart,end:e.selectionEnd};else e:{o=(o=e.ownerDocument)&&o.defaultView||window;var r=o.getSelection&&o.getSelection();if(r&&r.rangeCount!==0){o=r.anchorNode;var n=r.anchorOffset,a=r.focusNode;r=r.focusOffset;try{o.nodeType,a.nodeType}catch{o=null;break e}var i=0,l=-1,s=-1,u=0,p=0,f=e,d=null;t:for(;;){for(var c;f!==o||n!==0&&f.nodeType!==3||(l=i+n),f!==a||r!==0&&f.nodeType!==3||(s=i+r),f.nodeType===3&&(i+=f.nodeValue.length),(c=f.firstChild)!==null;)d=f,f=c;for(;;){if(f===e)break t;if(d===o&&++u===n&&(l=i),d===a&&++p===r&&(s=i),(c=f.nextSibling)!==null)break;f=d,d=f.parentNode}f=c}o=l===-1||s===-1?null:{start:l,end:s}}else o=null}o=o||{start:0,end:0}}else o=null;for(Ey={focusedElem:e,selectionRange:o},Ap=!1,yt=t;yt!==null;)if(t=yt,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,yt=e;else for(;yt!==null;){switch(t=yt,a=t.alternate,e=t.flags,t.tag){case 0:if((e&4)!==0&&(e=t.updateQueue,e=e!==null?e.events:null,e!==null))for(o=0;o<e.length;o++)n=e[o],n.ref.impl=n.nextImpl;break;case 11:case 15:break;case 1:if((e&1024)!==0&&a!==null){e=void 0,o=t,n=a.memoizedProps,a=a.memoizedState,r=o.stateNode;try{var T=fa(o.type,n);e=r.getSnapshotBeforeUpdate(T,a),r.__reactInternalSnapshotBeforeUpdate=e}catch(v){Ee(o,o.return,v)}}break;case 3:if((e&1024)!==0){if(e=t.stateNode.containerInfo,o=e.nodeType,o===9)Ry(e);else if(o===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":Ry(e);break;default:e.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((e&1024)!==0)throw Error(z(163))}if(e=t.sibling,e!==null){e.return=t.return,yt=e;break}yt=t.return}}function vS(e,t,o){var r=o.flags;switch(o.tag){case 0:case 11:case 15:wr(e,o),r&4&&Xs(5,o);break;case 1:if(wr(e,o),r&4)if(e=o.stateNode,t===null)try{e.componentDidMount()}catch(i){Ee(o,o.return,i)}else{var n=fa(o.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(n,t,e.__reactInternalSnapshotBeforeUpdate)}catch(i){Ee(o,o.return,i)}}r&64&&yS(o),r&512&&Ss(o,o.return);break;case 3:if(wr(e,o),r&64&&(e=o.updateQueue,e!==null)){if(t=null,o.child!==null)switch(o.child.tag){case 27:case 5:t=o.child.stateNode;break;case 1:t=o.child.stateNode}try{Ex(e,t)}catch(i){Ee(o,o.return,i)}}break;case 27:t===null&&r&4&&TS(o);case 26:case 5:wr(e,o),t===null&&r&4&&gS(o),r&512&&Ss(o,o.return);break;case 12:wr(e,o);break;case 31:wr(e,o),r&4&&CS(e,o);break;case 13:wr(e,o),r&4&&ES(e,o),r&64&&(e=o.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(o=jM.bind(null,o),oA(e,o))));break;case 22:if(r=o.memoizedState!==null||Dr,!r){t=t!==null&&t.memoizedState!==null||at,n=Dr;var a=at;Dr=r,(at=t)&&!a?Nr(e,o,(o.subtreeFlags&8772)!==0):wr(e,o),Dr=n,at=a}break;case 30:break;default:wr(e,o)}}function xS(e){var t=e.alternate;t!==null&&(e.alternate=null,xS(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&Uy(t)),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}var Ie=null,Jt=!1;function Ar(e,t,o){for(o=o.child;o!==null;)SS(e,t,o),o=o.sibling}function SS(e,t,o){if(go&&typeof go.onCommitFiberUnmount=="function")try{go.onCommitFiberUnmount(Is,o)}catch{}switch(o.tag){case 26:at||pr(o,t),Ar(e,t,o),o.memoizedState?o.memoizedState.count--:o.stateNode&&(o=o.stateNode,o.parentNode.removeChild(o));break;case 27:at||pr(o,t);var r=Ie,n=Jt;Bn(o.type)&&(Ie=o.stateNode,Jt=!1),Ar(e,t,o),Rs(o.stateNode),Ie=r,Jt=n;break;case 5:at||pr(o,t);case 6:if(r=Ie,n=Jt,Ie=null,Ar(e,t,o),Ie=r,Jt=n,Ie!==null)if(Jt)try{(Ie.nodeType===9?Ie.body:Ie.nodeName==="HTML"?Ie.ownerDocument.body:Ie).removeChild(o.stateNode)}catch(a){Ee(o,t,a)}else try{Ie.removeChild(o.stateNode)}catch(a){Ee(o,t,a)}break;case 18:Ie!==null&&(Jt?(e=Ie,dv(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,o.stateNode),Xi(e)):dv(Ie,o.stateNode));break;case 4:r=Ie,n=Jt,Ie=o.stateNode.containerInfo,Jt=!0,Ar(e,t,o),Ie=r,Jt=n;break;case 0:case 11:case 14:case 15:_n(2,o,t),at||_n(4,o,t),Ar(e,t,o);break;case 1:at||(pr(o,t),r=o.stateNode,typeof r.componentWillUnmount=="function"&&hS(o,t,r)),Ar(e,t,o);break;case 21:Ar(e,t,o);break;case 22:at=(r=at)||o.memoizedState!==null,Ar(e,t,o),at=r;break;default:Ar(e,t,o)}}function CS(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{Xi(e)}catch(o){Ee(t,t.return,o)}}}function ES(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{Xi(e)}catch(o){Ee(t,t.return,o)}}function wM(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new WT),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new WT),t;default:throw Error(z(435,e.tag))}}function Bc(e,t){var o=wM(e);t.forEach(function(r){if(!o.has(r)){o.add(r);var n=LM.bind(null,e,r);r.then(n,n)}})}function Zt(e,t){var o=t.deletions;if(o!==null)for(var r=0;r<o.length;r++){var n=o[r],a=e,i=t,l=i;e:for(;l!==null;){switch(l.tag){case 27:if(Bn(l.type)){Ie=l.stateNode,Jt=!1;break e}break;case 5:Ie=l.stateNode,Jt=!1;break e;case 3:case 4:Ie=l.stateNode.containerInfo,Jt=!0;break e}l=l.return}if(Ie===null)throw Error(z(160));SS(a,i,n),Ie=null,Jt=!1,a=n.alternate,a!==null&&(a.return=null),n.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)PS(t,e),t=t.sibling}var Zo=null;function PS(e,t){var o=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:Zt(t,e),Wt(e),r&4&&(_n(3,e,e.return),Xs(3,e),_n(5,e,e.return));break;case 1:Zt(t,e),Wt(e),r&512&&(at||o===null||pr(o,o.return)),r&64&&Dr&&(e=e.updateQueue,e!==null&&(r=e.callbacks,r!==null&&(o=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=o===null?r:o.concat(r))));break;case 26:var n=Zo;if(Zt(t,e),Wt(e),r&512&&(at||o===null||pr(o,o.return)),r&4){var a=o!==null?o.memoizedState:null;if(r=e.memoizedState,o===null)if(r===null)if(e.stateNode===null){e:{r=e.type,o=e.memoizedProps,n=n.ownerDocument||n;t:switch(r){case"title":a=n.getElementsByTagName("title")[0],(!a||a[Gs]||a[Rt]||a.namespaceURI==="http://www.w3.org/2000/svg"||a.hasAttribute("itemprop"))&&(a=n.createElement(r),n.head.insertBefore(a,n.querySelector("head > title"))),At(a,r,o),a[Rt]=e,ht(a),r=a;break e;case"link":var i=vv("link","href",n).get(r+(o.href||""));if(i){for(var l=0;l<i.length;l++)if(a=i[l],a.getAttribute("href")===(o.href==null||o.href===""?null:o.href)&&a.getAttribute("rel")===(o.rel==null?null:o.rel)&&a.getAttribute("title")===(o.title==null?null:o.title)&&a.getAttribute("crossorigin")===(o.crossOrigin==null?null:o.crossOrigin)){i.splice(l,1);break t}}a=n.createElement(r),At(a,r,o),n.head.appendChild(a);break;case"meta":if(i=vv("meta","content",n).get(r+(o.content||""))){for(l=0;l<i.length;l++)if(a=i[l],a.getAttribute("content")===(o.content==null?null:""+o.content)&&a.getAttribute("name")===(o.name==null?null:o.name)&&a.getAttribute("property")===(o.property==null?null:o.property)&&a.getAttribute("http-equiv")===(o.httpEquiv==null?null:o.httpEquiv)&&a.getAttribute("charset")===(o.charSet==null?null:o.charSet)){i.splice(l,1);break t}}a=n.createElement(r),At(a,r,o),n.head.appendChild(a);break;default:throw Error(z(468,r))}a[Rt]=e,ht(a),r=a}e.stateNode=r}else xv(n,e.type,e.stateNode);else e.stateNode=Tv(n,r,e.memoizedProps);else a!==r?(a===null?o.stateNode!==null&&(o=o.stateNode,o.parentNode.removeChild(o)):a.count--,r===null?xv(n,e.type,e.stateNode):Tv(n,r,e.memoizedProps)):r===null&&e.stateNode!==null&&Om(e,e.memoizedProps,o.memoizedProps)}break;case 27:Zt(t,e),Wt(e),r&512&&(at||o===null||pr(o,o.return)),o!==null&&r&4&&Om(e,e.memoizedProps,o.memoizedProps);break;case 5:if(Zt(t,e),Wt(e),r&512&&(at||o===null||pr(o,o.return)),e.flags&32){n=e.stateNode;try{Vi(n,"")}catch(T){Ee(e,e.return,T)}}r&4&&e.stateNode!=null&&(n=e.memoizedProps,Om(e,n,o!==null?o.memoizedProps:n)),r&1024&&(Am=!0);break;case 6:if(Zt(t,e),Wt(e),r&4){if(e.stateNode===null)throw Error(z(162));r=e.memoizedProps,o=e.stateNode;try{o.nodeValue=r}catch(T){Ee(e,e.return,T)}}break;case 3:if(Jc=null,n=Zo,Zo=Rp(t.containerInfo),Zt(t,e),Zo=n,Wt(e),r&4&&o!==null&&o.memoizedState.isDehydrated)try{Xi(t.containerInfo)}catch(T){Ee(e,e.return,T)}Am&&(Am=!1,RS(e));break;case 4:r=Zo,Zo=Rp(e.stateNode.containerInfo),Zt(t,e),Wt(e),Zo=r;break;case 12:Zt(t,e),Wt(e);break;case 31:Zt(t,e),Wt(e),r&4&&(r=e.updateQueue,r!==null&&(e.updateQueue=null,Bc(e,r)));break;case 13:Zt(t,e),Wt(e),e.child.flags&8192&&e.memoizedState!==null!=(o!==null&&o.memoizedState!==null)&&(Ip=ho()),r&4&&(r=e.updateQueue,r!==null&&(e.updateQueue=null,Bc(e,r)));break;case 22:n=e.memoizedState!==null;var s=o!==null&&o.memoizedState!==null,u=Dr,p=at;if(Dr=u||n,at=p||s,Zt(t,e),at=p,Dr=u,Wt(e),r&8192)e:for(t=e.stateNode,t._visibility=n?t._visibility&-2:t._visibility|1,n&&(o===null||s||Dr||at||oa(e)),o=null,t=e;;){if(t.tag===5||t.tag===26){if(o===null){s=o=t;try{if(a=s.stateNode,n)i=a.style,typeof i.setProperty=="function"?i.setProperty("display","none","important"):i.display="none";else{l=s.stateNode;var f=s.memoizedProps.style,d=f!=null&&f.hasOwnProperty("display")?f.display:null;l.style.display=d==null||typeof d=="boolean"?"":(""+d).trim()}}catch(T){Ee(s,s.return,T)}}}else if(t.tag===6){if(o===null){s=t;try{s.stateNode.nodeValue=n?"":s.memoizedProps}catch(T){Ee(s,s.return,T)}}}else if(t.tag===18){if(o===null){s=t;try{var c=s.stateNode;n?mv(c,!0):mv(s.stateNode,!1)}catch(T){Ee(s,s.return,T)}}}else if((t.tag!==22&&t.tag!==23||t.memoizedState===null||t===e)&&t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break e;for(;t.sibling===null;){if(t.return===null||t.return===e)break e;o===t&&(o=null),t=t.return}o===t&&(o=null),t.sibling.return=t.return,t=t.sibling}r&4&&(r=e.updateQueue,r!==null&&(o=r.retryQueue,o!==null&&(r.retryQueue=null,Bc(e,o))));break;case 19:Zt(t,e),Wt(e),r&4&&(r=e.updateQueue,r!==null&&(e.updateQueue=null,Bc(e,r)));break;case 30:break;case 21:break;default:Zt(t,e),Wt(e)}}function Wt(e){var t=e.flags;if(t&2){try{for(var o,r=e.return;r!==null;){if(bS(r)){o=r;break}r=r.return}if(o==null)throw Error(z(160));switch(o.tag){case 27:var n=o.stateNode,a=Mm(e);bp(e,a,n);break;case 5:var i=o.stateNode;o.flags&32&&(Vi(i,""),o.flags&=-33);var l=Mm(e);bp(e,l,i);break;case 3:case 4:var s=o.stateNode.containerInfo,u=Mm(e);hy(e,u,s);break;default:throw Error(z(161))}}catch(p){Ee(e,e.return,p)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function RS(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;RS(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function wr(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)vS(e,t.alternate,t),t=t.sibling}function oa(e){for(e=e.child;e!==null;){var t=e;switch(t.tag){case 0:case 11:case 14:case 15:_n(4,t,t.return),oa(t);break;case 1:pr(t,t.return);var o=t.stateNode;typeof o.componentWillUnmount=="function"&&hS(t,t.return,o),oa(t);break;case 27:Rs(t.stateNode);case 26:case 5:pr(t,t.return),oa(t);break;case 22:t.memoizedState===null&&oa(t);break;case 30:oa(t);break;default:oa(t)}e=e.sibling}}function Nr(e,t,o){for(o=o&&(t.subtreeFlags&8772)!==0,t=t.child;t!==null;){var r=t.alternate,n=e,a=t,i=a.flags;switch(a.tag){case 0:case 11:case 15:Nr(n,a,o),Xs(4,a);break;case 1:if(Nr(n,a,o),r=a,n=r.stateNode,typeof n.componentDidMount=="function")try{n.componentDidMount()}catch(u){Ee(r,r.return,u)}if(r=a,n=r.updateQueue,n!==null){var l=r.stateNode;try{var s=n.shared.hiddenCallbacks;if(s!==null)for(n.shared.hiddenCallbacks=null,n=0;n<s.length;n++)Cx(s[n],l)}catch(u){Ee(r,r.return,u)}}o&&i&64&&yS(a),Ss(a,a.return);break;case 27:TS(a);case 26:case 5:Nr(n,a,o),o&&r===null&&i&4&&gS(a),Ss(a,a.return);break;case 12:Nr(n,a,o);break;case 31:Nr(n,a,o),o&&i&4&&CS(n,a);break;case 13:Nr(n,a,o),o&&i&4&&ES(n,a);break;case 22:a.memoizedState===null&&Nr(n,a,o),Ss(a,a.return);break;case 30:break;default:Nr(n,a,o)}t=t.sibling}}function yh(e,t){var o=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(o=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==o&&(e!=null&&e.refCount++,o!=null&&Ys(o))}function hh(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&Ys(e))}function Qo(e,t,o,r){if(t.subtreeFlags&10256)for(t=t.child;t!==null;)OS(e,t,o,r),t=t.sibling}function OS(e,t,o,r){var n=t.flags;switch(t.tag){case 0:case 11:case 15:Qo(e,t,o,r),n&2048&&Xs(9,t);break;case 1:Qo(e,t,o,r);break;case 3:Qo(e,t,o,r),n&2048&&(e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&Ys(e)));break;case 12:if(n&2048){Qo(e,t,o,r),e=t.stateNode;try{var a=t.memoizedProps,i=a.id,l=a.onPostCommit;typeof l=="function"&&l(i,t.alternate===null?"mount":"update",e.passiveEffectDuration,-0)}catch(s){Ee(t,t.return,s)}}else Qo(e,t,o,r);break;case 31:Qo(e,t,o,r);break;case 13:Qo(e,t,o,r);break;case 23:break;case 22:a=t.stateNode,i=t.alternate,t.memoizedState!==null?a._visibility&2?Qo(e,t,o,r):Cs(e,t):a._visibility&2?Qo(e,t,o,r):(a._visibility|=2,bi(e,t,o,r,(t.subtreeFlags&10256)!==0||!1)),n&2048&&yh(i,t);break;case 24:Qo(e,t,o,r),n&2048&&hh(t.alternate,t);break;default:Qo(e,t,o,r)}}function bi(e,t,o,r,n){for(n=n&&((t.subtreeFlags&10256)!==0||!1),t=t.child;t!==null;){var a=e,i=t,l=o,s=r,u=i.flags;switch(i.tag){case 0:case 11:case 15:bi(a,i,l,s,n),Xs(8,i);break;case 23:break;case 22:var p=i.stateNode;i.memoizedState!==null?p._visibility&2?bi(a,i,l,s,n):Cs(a,i):(p._visibility|=2,bi(a,i,l,s,n)),n&&u&2048&&yh(i.alternate,i);break;case 24:bi(a,i,l,s,n),n&&u&2048&&hh(i.alternate,i);break;default:bi(a,i,l,s,n)}t=t.sibling}}function Cs(e,t){if(t.subtreeFlags&10256)for(t=t.child;t!==null;){var o=e,r=t,n=r.flags;switch(r.tag){case 22:Cs(o,r),n&2048&&yh(r.alternate,r);break;case 24:Cs(o,r),n&2048&&hh(r.alternate,r);break;default:Cs(o,r)}t=t.sibling}}var ds=8192;function gi(e,t,o){if(e.subtreeFlags&ds)for(e=e.child;e!==null;)MS(e,t,o),e=e.sibling}function MS(e,t,o){switch(e.tag){case 26:gi(e,t,o),e.flags&ds&&e.memoizedState!==null&&mA(o,Zo,e.memoizedState,e.memoizedProps);break;case 5:gi(e,t,o);break;case 3:case 4:var r=Zo;Zo=Rp(e.stateNode.containerInfo),gi(e,t,o),Zo=r;break;case 22:e.memoizedState===null&&(r=e.alternate,r!==null&&r.memoizedState!==null?(r=ds,ds=16777216,gi(e,t,o),ds=r):gi(e,t,o));break;default:gi(e,t,o)}}function AS(e){var t=e.alternate;if(t!==null&&(e=t.child,e!==null)){t.child=null;do t=e.sibling,e.sibling=null,e=t;while(e!==null)}}function is(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var o=0;o<t.length;o++){var r=t[o];yt=r,NS(r,e)}AS(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)wS(e),e=e.sibling}function wS(e){switch(e.tag){case 0:case 11:case 15:is(e),e.flags&2048&&_n(9,e,e.return);break;case 3:is(e);break;case 12:is(e);break;case 22:var t=e.stateNode;e.memoizedState!==null&&t._visibility&2&&(e.return===null||e.return.tag!==13)?(t._visibility&=-3,Zc(e)):is(e);break;default:is(e)}}function Zc(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var o=0;o<t.length;o++){var r=t[o];yt=r,NS(r,e)}AS(e)}for(e=e.child;e!==null;){switch(t=e,t.tag){case 0:case 11:case 15:_n(8,t,t.return),Zc(t);break;case 22:o=t.stateNode,o._visibility&2&&(o._visibility&=-3,Zc(t));break;default:Zc(t)}e=e.sibling}}function NS(e,t){for(;yt!==null;){var o=yt;switch(o.tag){case 0:case 11:case 15:_n(8,o,t);break;case 23:case 22:if(o.memoizedState!==null&&o.memoizedState.cachePool!==null){var r=o.memoizedState.cachePool.pool;r!=null&&r.refCount++}break;case 24:Ys(o.memoizedState.cache)}if(r=o.child,r!==null)r.return=o,yt=r;else e:for(o=e;yt!==null;){r=yt;var n=r.sibling,a=r.return;if(xS(r),r===o){yt=null;break e}if(n!==null){n.return=a,yt=n;break e}yt=a}}}var NM={getCacheForType:function(e){var t=Mt(it),o=t.data.get(e);return o===void 0&&(o=e(),t.data.set(e,o)),o},cacheSignal:function(){return Mt(it).controller.signal}},_M=typeof WeakMap=="function"?WeakMap:Map,de=0,Me=null,oe=null,ne=0,Ce=0,po=null,bn=!1,el=!1,gh=!1,qr=0,Ze=0,Dn=0,la=0,bh=0,yo=0,Gi=0,Es=null,eo=null,gy=!1,Ip=0,_S=0,Tp=1/0,vp=null,Pn=null,pt=0,Rn=null,$i=null,Lr=0,by=0,Ty=null,DS=null,Ps=0,vy=null;function To(){return(de&2)!==0&&ne!==0?ne&-ne:$.T!==null?vh():Iv()}function zS(){if(yo===0)if((ne&536870912)===0||ie){var e=Pc;Pc<<=1,(Pc&3932160)===0&&(Pc=262144),yo=e}else yo=536870912;return e=xo.current,e!==null&&(e.flags|=32),yo}function to(e,t,o){(e===Me&&(Ce===2||Ce===9)||e.cancelPendingCommit!==null)&&(Yi(e,0),Tn(e,ne,yo,!1)),qs(e,o),((de&2)===0||e!==Me)&&(e===Me&&((de&2)===0&&(la|=o),Ze===4&&Tn(e,ne,yo,!1)),mr(e))}function BS(e,t,o){if((de&6)!==0)throw Error(z(327));var r=!o&&(t&127)===0&&(t&e.expiredLanes)===0||Fs(e,t),n=r?BM(e,t):wm(e,t,!0),a=r;do{if(n===0){el&&!r&&Tn(e,t,0,!1);break}else{if(o=e.current.alternate,a&&!DM(o)){n=wm(e,t,!1),a=!1;continue}if(n===2){if(a=t,e.errorRecoveryDisabledLanes&a)var i=0;else i=e.pendingLanes&-536870913,i=i!==0?i:i&536870912?536870912:0;if(i!==0){t=i;e:{var l=e;n=Es;var s=l.current.memoizedState.isDehydrated;if(s&&(Yi(l,i).flags|=256),i=wm(l,i,!1),i!==2){if(gh&&!s){l.errorRecoveryDisabledLanes|=a,la|=a,n=4;break e}a=eo,eo=n,a!==null&&(eo===null?eo=a:eo.push.apply(eo,a))}n=i}if(a=!1,n!==2)continue}}if(n===1){Yi(e,0),Tn(e,t,0,!0);break}e:{switch(r=e,a=n,a){case 0:case 1:throw Error(z(345));case 4:if((t&4194048)!==t)break;case 6:Tn(r,t,yo,!bn);break e;case 2:eo=null;break;case 3:case 5:break;default:throw Error(z(329))}if((t&62914560)===t&&(n=Ip+300-ho(),10<n)){if(Tn(r,t,yo,!bn),Np(r,0,!0)!==0)break e;Lr=t,r.timeoutHandle=t1(JT.bind(null,r,o,eo,vp,gy,t,yo,la,Gi,bn,a,"Throttled",-0,0),n);break e}JT(r,o,eo,vp,gy,t,yo,la,Gi,bn,a,null,-0,0)}}break}while(!0);mr(e)}function JT(e,t,o,r,n,a,i,l,s,u,p,f,d,c){if(e.timeoutHandle=-1,f=t.subtreeFlags,f&8192||(f&16785408)===16785408){f={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:Br},MS(t,a,f);var T=(a&62914560)===a?Ip-ho():(a&4194048)===a?_S-ho():0;if(T=yA(f,T),T!==null){Lr=a,e.cancelPendingCommit=T(tv.bind(null,e,t,a,o,r,n,i,l,s,p,f,null,d,c)),Tn(e,a,i,!u);return}}tv(e,t,a,o,r,n,i,l,s)}function DM(e){for(var t=e;;){var o=t.tag;if((o===0||o===11||o===15)&&t.flags&16384&&(o=t.updateQueue,o!==null&&(o=o.stores,o!==null)))for(var r=0;r<o.length;r++){var n=o[r],a=n.getSnapshot;n=n.value;try{if(!vo(a(),n))return!1}catch{return!1}}if(o=t.child,t.subtreeFlags&16384&&o!==null)o.return=t,t=o;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function Tn(e,t,o,r){t&=~bh,t&=~la,e.suspendedLanes|=t,e.pingedLanes&=~t,r&&(e.warmLanes|=t),r=e.expirationTimes;for(var n=t;0<n;){var a=31-bo(n),i=1<<a;r[a]=-1,n&=~i}o!==0&&Lv(e,o,t)}function Fp(){return(de&6)===0?(Qs(0,!1),!1):!0}function Th(){if(oe!==null){if(Ce===0)var e=oe.return;else e=oe,kr=ga=null,nh(e),ki=null,Ds=0,e=oe;for(;e!==null;)mS(e.alternate,e),e=e.return;oe=null}}function Yi(e,t){var o=e.timeoutHandle;o!==-1&&(e.timeoutHandle=-1,ZM(o)),o=e.cancelPendingCommit,o!==null&&(e.cancelPendingCommit=null,o()),Lr=0,Th(),Me=e,oe=o=Ur(e.current,null),ne=t,Ce=0,po=null,bn=!1,el=Fs(e,t),gh=!1,Gi=yo=bh=la=Dn=Ze=0,eo=Es=null,gy=!1,(t&8)!==0&&(t|=t&32);var r=e.entangledLanes;if(r!==0)for(e=e.entanglements,r&=t;0<r;){var n=31-bo(r),a=1<<n;t|=e[n],r&=~a}return qr=t,Bp(),o}function kS(e,t){Z=null,$.H=Bs,t===Ji||t===Up?(t=NT(),Ce=3):t===Zy?(t=NT(),Ce=4):Ce=t===dh?8:t!==null&&typeof t=="object"&&typeof t.then=="function"?6:1,po=t,oe===null&&(Ze=1,hp(e,Uo(t,e.current)))}function US(){var e=xo.current;return e===null?!0:(ne&4194048)===ne?Lo===null:(ne&62914560)===ne||(ne&536870912)!==0?e===Lo:!1}function jS(){var e=$.H;return $.H=Bs,e===null?Bs:e}function LS(){var e=$.A;return $.A=NM,e}function xp(){Ze=4,bn||(ne&4194048)!==ne&&xo.current!==null||(el=!0),(Dn&134217727)===0&&(la&134217727)===0||Me===null||Tn(Me,ne,yo,!1)}function wm(e,t,o){var r=de;de|=2;var n=jS(),a=LS();(Me!==e||ne!==t)&&(vp=null,Yi(e,t)),t=!1;var i=Ze;e:do try{if(Ce!==0&&oe!==null){var l=oe,s=po;switch(Ce){case 8:Th(),i=6;break e;case 3:case 2:case 9:case 6:xo.current===null&&(t=!0);var u=Ce;if(Ce=0,po=null,Ni(e,l,s,u),o&&el){i=0;break e}break;default:u=Ce,Ce=0,po=null,Ni(e,l,s,u)}}zM(),i=Ze;break}catch(p){kS(e,p)}while(!0);return t&&e.shellSuspendCounter++,kr=ga=null,de=r,$.H=n,$.A=a,oe===null&&(Me=null,ne=0,Bp()),i}function zM(){for(;oe!==null;)HS(oe)}function BM(e,t){var o=de;de|=2;var r=jS(),n=LS();Me!==e||ne!==t?(vp=null,Tp=ho()+500,Yi(e,t)):el=Fs(e,t);e:do try{if(Ce!==0&&oe!==null){t=oe;var a=po;t:switch(Ce){case 1:Ce=0,po=null,Ni(e,t,a,1);break;case 2:case 9:if(wT(a)){Ce=0,po=null,ev(t);break}t=function(){Ce!==2&&Ce!==9||Me!==e||(Ce=7),mr(e)},a.then(t,t);break e;case 3:Ce=7;break e;case 4:Ce=5;break e;case 7:wT(a)?(Ce=0,po=null,ev(t)):(Ce=0,po=null,Ni(e,t,a,7));break;case 5:var i=null;switch(oe.tag){case 26:i=oe.memoizedState;case 5:case 27:var l=oe;if(i?i1(i):l.stateNode.complete){Ce=0,po=null;var s=l.sibling;if(s!==null)oe=s;else{var u=l.return;u!==null?(oe=u,qp(u)):oe=null}break t}}Ce=0,po=null,Ni(e,t,a,5);break;case 6:Ce=0,po=null,Ni(e,t,a,6);break;case 8:Th(),Ze=6;break e;default:throw Error(z(462))}}kM();break}catch(p){kS(e,p)}while(!0);return kr=ga=null,$.H=r,$.A=n,de=o,oe!==null?0:(Me=null,ne=0,Bp(),Ze)}function kM(){for(;oe!==null&&!a2();)HS(oe)}function HS(e){var t=dS(e.alternate,e,qr);e.memoizedProps=e.pendingProps,t===null?qp(e):oe=t}function ev(e){var t=e,o=t.alternate;switch(t.tag){case 15:case 0:t=YT(o,t,t.pendingProps,t.type,void 0,ne);break;case 11:t=YT(o,t,t.pendingProps,t.type.render,t.ref,ne);break;case 5:nh(t);default:mS(o,t),t=oe=mx(t,qr),t=dS(o,t,qr)}e.memoizedProps=e.pendingProps,t===null?qp(e):oe=t}function Ni(e,t,o,r){kr=ga=null,nh(t),ki=null,Ds=0;var n=t.return;try{if(EM(e,n,t,o,ne)){Ze=1,hp(e,Uo(o,e.current)),oe=null;return}}catch(a){if(n!==null)throw oe=n,a;Ze=1,hp(e,Uo(o,e.current)),oe=null;return}t.flags&32768?(ie||r===1?e=!0:el||(ne&536870912)!==0?e=!1:(bn=e=!0,(r===2||r===9||r===3||r===6)&&(r=xo.current,r!==null&&r.tag===13&&(r.flags|=16384))),VS(t,e)):qp(t)}function qp(e){var t=e;do{if((t.flags&32768)!==0){VS(t,bn);return}e=t.return;var o=OM(t.alternate,t,qr);if(o!==null){oe=o;return}if(t=t.sibling,t!==null){oe=t;return}oe=t=e}while(t!==null);Ze===0&&(Ze=5)}function VS(e,t){do{var o=MM(e.alternate,e);if(o!==null){o.flags&=32767,oe=o;return}if(o=e.return,o!==null&&(o.flags|=32768,o.subtreeFlags=0,o.deletions=null),!t&&(e=e.sibling,e!==null)){oe=e;return}oe=e=o}while(e!==null);Ze=6,oe=null}function tv(e,t,o,r,n,a,i,l,s){e.cancelPendingCommit=null;do Gp();while(pt!==0);if((de&6)!==0)throw Error(z(327));if(t!==null){if(t===e.current)throw Error(z(177));if(a=t.lanes|t.childLanes,a|=qy,y2(e,o,a,i,l,s),e===Me&&(oe=Me=null,ne=0),$i=t,Rn=e,Lr=o,by=a,Ty=n,DS=r,(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,HM(ap,function(){return $S(),null})):(e.callbackNode=null,e.callbackPriority=0),r=(t.flags&13878)!==0,(t.subtreeFlags&13878)!==0||r){r=$.T,$.T=null,n=me.p,me.p=2,i=de,de|=4;try{AM(e,t,o)}finally{de=i,me.p=n,$.T=r}}pt=1,IS(),FS(),qS()}}function IS(){if(pt===1){pt=0;var e=Rn,t=$i,o=(t.flags&13878)!==0;if((t.subtreeFlags&13878)!==0||o){o=$.T,$.T=null;var r=me.p;me.p=2;var n=de;de|=4;try{PS(t,e);var a=Ey,i=ix(e.containerInfo),l=a.focusedElem,s=a.selectionRange;if(i!==l&&l&&l.ownerDocument&&ax(l.ownerDocument.documentElement,l)){if(s!==null&&Fy(l)){var u=s.start,p=s.end;if(p===void 0&&(p=u),"selectionStart"in l)l.selectionStart=u,l.selectionEnd=Math.min(p,l.value.length);else{var f=l.ownerDocument||document,d=f&&f.defaultView||window;if(d.getSelection){var c=d.getSelection(),T=l.textContent.length,v=Math.min(s.start,T),x=s.end===void 0?v:Math.min(s.end,T);!c.extend&&v>x&&(i=x,x=v,v=i);var m=CT(l,v),h=CT(l,x);if(m&&h&&(c.rangeCount!==1||c.anchorNode!==m.node||c.anchorOffset!==m.offset||c.focusNode!==h.node||c.focusOffset!==h.offset)){var g=f.createRange();g.setStart(m.node,m.offset),c.removeAllRanges(),v>x?(c.addRange(g),c.extend(h.node,h.offset)):(g.setEnd(h.node,h.offset),c.addRange(g))}}}}for(f=[],c=l;c=c.parentNode;)c.nodeType===1&&f.push({element:c,left:c.scrollLeft,top:c.scrollTop});for(typeof l.focus=="function"&&l.focus(),l=0;l<f.length;l++){var b=f[l];b.element.scrollLeft=b.left,b.element.scrollTop=b.top}}Ap=!!Cy,Ey=Cy=null}finally{de=n,me.p=r,$.T=o}}e.current=t,pt=2}}function FS(){if(pt===2){pt=0;var e=Rn,t=$i,o=(t.flags&8772)!==0;if((t.subtreeFlags&8772)!==0||o){o=$.T,$.T=null;var r=me.p;me.p=2;var n=de;de|=4;try{vS(e,t.alternate,t)}finally{de=n,me.p=r,$.T=o}}pt=3}}function qS(){if(pt===4||pt===3){pt=0,i2();var e=Rn,t=$i,o=Lr,r=DS;(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?pt=5:(pt=0,$i=Rn=null,GS(e,e.pendingLanes));var n=e.pendingLanes;if(n===0&&(Pn=null),ky(o),t=t.stateNode,go&&typeof go.onCommitFiberRoot=="function")try{go.onCommitFiberRoot(Is,t,void 0,(t.current.flags&128)===128)}catch{}if(r!==null){t=$.T,n=me.p,me.p=2,$.T=null;try{for(var a=e.onRecoverableError,i=0;i<r.length;i++){var l=r[i];a(l.value,{componentStack:l.stack})}}finally{$.T=t,me.p=n}}(Lr&3)!==0&&Gp(),mr(e),n=e.pendingLanes,(o&261930)!==0&&(n&42)!==0?e===vy?Ps++:(Ps=0,vy=e):Ps=0,Qs(0,!1)}}function GS(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,Ys(t)))}function Gp(){return IS(),FS(),qS(),$S()}function $S(){if(pt!==5)return!1;var e=Rn,t=by;by=0;var o=ky(Lr),r=$.T,n=me.p;try{me.p=32>o?32:o,$.T=null,o=Ty,Ty=null;var a=Rn,i=Lr;if(pt=0,$i=Rn=null,Lr=0,(de&6)!==0)throw Error(z(331));var l=de;if(de|=4,wS(a.current),OS(a,a.current,i,o),de=l,Qs(0,!1),go&&typeof go.onPostCommitFiberRoot=="function")try{go.onPostCommitFiberRoot(Is,a)}catch{}return!0}finally{me.p=n,$.T=r,GS(e,t)}}function ov(e,t,o){t=Uo(o,t),t=dy(e.stateNode,t,2),e=En(e,t,2),e!==null&&(qs(e,2),mr(e))}function Ee(e,t,o){if(e.tag===3)ov(e,e,o);else for(;t!==null;){if(t.tag===3){ov(t,e,o);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(Pn===null||!Pn.has(r))){e=Uo(o,e),o=lS(2),r=En(t,o,2),r!==null&&(sS(o,r,t,e),qs(r,2),mr(r));break}}t=t.return}}function Nm(e,t,o){var r=e.pingCache;if(r===null){r=e.pingCache=new _M;var n=new Set;r.set(t,n)}else n=r.get(t),n===void 0&&(n=new Set,r.set(t,n));n.has(o)||(gh=!0,n.add(o),e=UM.bind(null,e,t,o),t.then(e,e))}function UM(e,t,o){var r=e.pingCache;r!==null&&r.delete(t),e.pingedLanes|=e.suspendedLanes&o,e.warmLanes&=~o,Me===e&&(ne&o)===o&&(Ze===4||Ze===3&&(ne&62914560)===ne&&300>ho()-Ip?(de&2)===0&&Yi(e,0):bh|=o,Gi===ne&&(Gi=0)),mr(e)}function YS(e,t){t===0&&(t=jv()),e=ha(e,t),e!==null&&(qs(e,t),mr(e))}function jM(e){var t=e.memoizedState,o=0;t!==null&&(o=t.retryLane),YS(e,o)}function LM(e,t){var o=0;switch(e.tag){case 31:case 13:var r=e.stateNode,n=e.memoizedState;n!==null&&(o=n.retryLane);break;case 19:r=e.stateNode;break;case 22:r=e.stateNode._retryCache;break;default:throw Error(z(314))}r!==null&&r.delete(t),YS(e,o)}function HM(e,t){return zy(e,t)}var Sp=null,Ti=null,xy=!1,Cp=!1,_m=!1,vn=0;function mr(e){e!==Ti&&e.next===null&&(Ti===null?Sp=Ti=e:Ti=Ti.next=e),Cp=!0,xy||(xy=!0,IM())}function Qs(e,t){if(!_m&&Cp){_m=!0;do for(var o=!1,r=Sp;r!==null;){if(!t)if(e!==0){var n=r.pendingLanes;if(n===0)var a=0;else{var i=r.suspendedLanes,l=r.pingedLanes;a=(1<<31-bo(42|e)+1)-1,a&=n&~(i&~l),a=a&201326741?a&201326741|1:a?a|2:0}a!==0&&(o=!0,rv(r,a))}else a=ne,a=Np(r,r===Me?a:0,r.cancelPendingCommit!==null||r.timeoutHandle!==-1),(a&3)===0||Fs(r,a)||(o=!0,rv(r,a));r=r.next}while(o);_m=!1}}function VM(){KS()}function KS(){Cp=xy=!1;var e=0;vn!==0&&QM()&&(e=vn);for(var t=ho(),o=null,r=Sp;r!==null;){var n=r.next,a=XS(r,t);a===0?(r.next=null,o===null?Sp=n:o.next=n,n===null&&(Ti=o)):(o=r,(e!==0||(a&3)!==0)&&(Cp=!0)),r=n}pt!==0&&pt!==5||Qs(e,!1),vn!==0&&(vn=0)}function XS(e,t){for(var o=e.suspendedLanes,r=e.pingedLanes,n=e.expirationTimes,a=e.pendingLanes&-62914561;0<a;){var i=31-bo(a),l=1<<i,s=n[i];s===-1?((l&o)===0||(l&r)!==0)&&(n[i]=m2(l,t)):s<=t&&(e.expiredLanes|=l),a&=~l}if(t=Me,o=ne,o=Np(e,e===t?o:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),r=e.callbackNode,o===0||e===t&&(Ce===2||Ce===9)||e.cancelPendingCommit!==null)return r!==null&&r!==null&&lm(r),e.callbackNode=null,e.callbackPriority=0;if((o&3)===0||Fs(e,o)){if(t=o&-o,t===e.callbackPriority)return t;switch(r!==null&&lm(r),ky(o)){case 2:case 8:o=kv;break;case 32:o=ap;break;case 268435456:o=Uv;break;default:o=ap}return r=QS.bind(null,e),o=zy(o,r),e.callbackPriority=t,e.callbackNode=o,t}return r!==null&&r!==null&&lm(r),e.callbackPriority=2,e.callbackNode=null,2}function QS(e,t){if(pt!==0&&pt!==5)return e.callbackNode=null,e.callbackPriority=0,null;var o=e.callbackNode;if(Gp()&&e.callbackNode!==o)return null;var r=ne;return r=Np(e,e===Me?r:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),r===0?null:(BS(e,r,t),XS(e,ho()),e.callbackNode!=null&&e.callbackNode===o?QS.bind(null,e):null)}function rv(e,t){if(Gp())return null;BS(e,t,!0)}function IM(){WM(function(){(de&6)!==0?zy(Bv,VM):KS()})}function vh(){if(vn===0){var e=Ii;e===0&&(e=Ec,Ec<<=1,(Ec&261888)===0&&(Ec=256)),vn=e}return vn}function nv(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:Ic(""+e)}function av(e,t){var o=t.ownerDocument.createElement("input");return o.name=t.name,o.value=t.value,e.id&&o.setAttribute("form",e.id),t.parentNode.insertBefore(o,t),e=new FormData(e),o.parentNode.removeChild(o),e}function FM(e,t,o,r,n){if(t==="submit"&&o&&o.stateNode===n){var a=nv((n[oo]||null).action),i=r.submitter;i&&(t=(t=i[oo]||null)?nv(t.formAction):i.getAttribute("formAction"),t!==null&&(a=t,i=null));var l=new _p("action","action",null,r,n);e.push({event:l,listeners:[{instance:null,listener:function(){if(r.defaultPrevented){if(vn!==0){var s=i?av(n,i):new FormData(n);py(o,{pending:!0,data:s,method:n.method,action:a},null,s)}}else typeof a=="function"&&(l.preventDefault(),s=i?av(n,i):new FormData(n),py(o,{pending:!0,data:s,method:n.method,action:a},a,s))},currentTarget:n}]})}}for(kc=0;kc<Jm.length;kc++)Uc=Jm[kc],iv=Uc.toLowerCase(),lv=Uc[0].toUpperCase()+Uc.slice(1),Wo(iv,"on"+lv);var Uc,iv,lv,kc;Wo(sx,"onAnimationEnd");Wo(ux,"onAnimationIteration");Wo(cx,"onAnimationStart");Wo("dblclick","onDoubleClick");Wo("focusin","onFocus");Wo("focusout","onBlur");Wo(lM,"onTransitionRun");Wo(sM,"onTransitionStart");Wo(uM,"onTransitionCancel");Wo(px,"onTransitionEnd");Hi("onMouseEnter",["mouseout","mouseover"]);Hi("onMouseLeave",["mouseout","mouseover"]);Hi("onPointerEnter",["pointerout","pointerover"]);Hi("onPointerLeave",["pointerout","pointerover"]);da("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));da("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));da("onBeforeInput",["compositionend","keypress","textInput","paste"]);da("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));da("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));da("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var ks="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(" "),qM=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(ks));function ZS(e,t){t=(t&4)!==0;for(var o=0;o<e.length;o++){var r=e[o],n=r.event;r=r.listeners;e:{var a=void 0;if(t)for(var i=r.length-1;0<=i;i--){var l=r[i],s=l.instance,u=l.currentTarget;if(l=l.listener,s!==a&&n.isPropagationStopped())break e;a=l,n.currentTarget=u;try{a(n)}catch(p){lp(p)}n.currentTarget=null,a=s}else for(i=0;i<r.length;i++){if(l=r[i],s=l.instance,u=l.currentTarget,l=l.listener,s!==a&&n.isPropagationStopped())break e;a=l,n.currentTarget=u;try{a(n)}catch(p){lp(p)}n.currentTarget=null,a=s}}}}function te(e,t){var o=t[Gm];o===void 0&&(o=t[Gm]=new Set);var r=e+"__bubble";o.has(r)||(WS(t,e,2,!1),o.add(r))}function Dm(e,t,o){var r=0;t&&(r|=4),WS(o,e,r,t)}var jc="_reactListening"+Math.random().toString(36).slice(2);function xh(e){if(!e[jc]){e[jc]=!0,Fv.forEach(function(o){o!=="selectionchange"&&(qM.has(o)||Dm(o,!1,e),Dm(o,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[jc]||(t[jc]=!0,Dm("selectionchange",!1,t))}}function WS(e,t,o,r){switch(p1(t)){case 2:var n=bA;break;case 8:n=TA;break;default:n=Ph}o=n.bind(null,t,o,e),n=void 0,!Qm||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(n=!0),r?n!==void 0?e.addEventListener(t,o,{capture:!0,passive:n}):e.addEventListener(t,o,!0):n!==void 0?e.addEventListener(t,o,{passive:n}):e.addEventListener(t,o,!1)}function zm(e,t,o,r,n){var a=r;if((t&1)===0&&(t&2)===0&&r!==null)e:for(;;){if(r===null)return;var i=r.tag;if(i===3||i===4){var l=r.stateNode.containerInfo;if(l===n)break;if(i===4)for(i=r.return;i!==null;){var s=i.tag;if((s===3||s===4)&&i.stateNode.containerInfo===n)return;i=i.return}for(;l!==null;){if(i=Si(l),i===null)return;if(s=i.tag,s===5||s===6||s===26||s===27){r=a=i;continue e}l=l.parentNode}}r=r.return}Zv(function(){var u=a,p=Ly(o),f=[];e:{var d=fx.get(e);if(d!==void 0){var c=_p,T=e;switch(e){case"keypress":if(qc(o)===0)break e;case"keydown":case"keyup":c=L2;break;case"focusin":T="focus",c=fm;break;case"focusout":T="blur",c=fm;break;case"beforeblur":case"afterblur":c=fm;break;case"click":if(o.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":c=mT;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":c=O2;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":c=I2;break;case sx:case ux:case cx:c=w2;break;case px:c=q2;break;case"scroll":case"scrollend":c=P2;break;case"wheel":c=$2;break;case"copy":case"cut":case"paste":c=_2;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":c=hT;break;case"toggle":case"beforetoggle":c=K2}var v=(t&4)!==0,x=!v&&(e==="scroll"||e==="scrollend"),m=v?d!==null?d+"Capture":null:d;v=[];for(var h=u,g;h!==null;){var b=h;if(g=b.stateNode,b=b.tag,b!==5&&b!==26&&b!==27||g===null||m===null||(b=Ms(h,m),b!=null&&v.push(Us(h,b,g))),x)break;h=h.return}0<v.length&&(d=new c(d,T,null,o,p),f.push({event:d,listeners:v}))}}if((t&7)===0){e:{if(d=e==="mouseover"||e==="pointerover",c=e==="mouseout"||e==="pointerout",d&&o!==Xm&&(T=o.relatedTarget||o.fromElement)&&(Si(T)||T[Qi]))break e;if((c||d)&&(d=p.window===p?p:(d=p.ownerDocument)?d.defaultView||d.parentWindow:window,c?(T=o.relatedTarget||o.toElement,c=u,T=T?Si(T):null,T!==null&&(x=Vs(T),v=T.tag,T!==x||v!==5&&v!==27&&v!==6)&&(T=null)):(c=null,T=u),c!==T)){if(v=mT,b="onMouseLeave",m="onMouseEnter",h="mouse",(e==="pointerout"||e==="pointerover")&&(v=hT,b="onPointerLeave",m="onPointerEnter",h="pointer"),x=c==null?d:ps(c),g=T==null?d:ps(T),d=new v(b,h+"leave",c,o,p),d.target=x,d.relatedTarget=g,b=null,Si(p)===u&&(v=new v(m,h+"enter",T,o,p),v.target=g,v.relatedTarget=x,b=v),x=b,c&&T)t:{for(v=GM,m=c,h=T,g=0,b=m;b;b=v(b))g++;b=0;for(var E=h;E;E=v(E))b++;for(;0<g-b;)m=v(m),g--;for(;0<b-g;)h=v(h),b--;for(;g--;){if(m===h||h!==null&&m===h.alternate){v=m;break t}m=v(m),h=v(h)}v=null}else v=null;c!==null&&sv(f,d,c,v,!1),T!==null&&x!==null&&sv(f,x,T,v,!0)}}e:{if(d=u?ps(u):window,c=d.nodeName&&d.nodeName.toLowerCase(),c==="select"||c==="input"&&d.type==="file")var S=vT;else if(TT(d))if(rx)S=nM;else{S=oM;var C=tM}else c=d.nodeName,!c||c.toLowerCase()!=="input"||d.type!=="checkbox"&&d.type!=="radio"?u&&jy(u.elementType)&&(S=vT):S=rM;if(S&&(S=S(e,u))){ox(f,S,o,p);break e}C&&C(e,d,u),e==="focusout"&&u&&d.type==="number"&&u.memoizedProps.value!=null&&Km(d,"number",d.value)}switch(C=u?ps(u):window,e){case"focusin":(TT(C)||C.contentEditable==="true")&&(Pi=C,Zm=u,hs=null);break;case"focusout":hs=Zm=Pi=null;break;case"mousedown":Wm=!0;break;case"contextmenu":case"mouseup":case"dragend":Wm=!1,ET(f,o,p);break;case"selectionchange":if(iM)break;case"keydown":case"keyup":ET(f,o,p)}var O;if(Iy)e:{switch(e){case"compositionstart":var w="onCompositionStart";break e;case"compositionend":w="onCompositionEnd";break e;case"compositionupdate":w="onCompositionUpdate";break e}w=void 0}else Ei?ex(e,o)&&(w="onCompositionEnd"):e==="keydown"&&o.keyCode===229&&(w="onCompositionStart");w&&(Jv&&o.locale!=="ko"&&(Ei||w!=="onCompositionStart"?w==="onCompositionEnd"&&Ei&&(O=Wv()):(gn=p,Hy="value"in gn?gn.value:gn.textContent,Ei=!0)),C=Ep(u,w),0<C.length&&(w=new yT(w,e,null,o,p),f.push({event:w,listeners:C}),O?w.data=O:(O=tx(o),O!==null&&(w.data=O)))),(O=Q2?Z2(e,o):W2(e,o))&&(w=Ep(u,"onBeforeInput"),0<w.length&&(C=new yT("onBeforeInput","beforeinput",null,o,p),f.push({event:C,listeners:w}),C.data=O)),FM(f,e,u,o,p)}ZS(f,t)})}function Us(e,t,o){return{instance:e,listener:t,currentTarget:o}}function Ep(e,t){for(var o=t+"Capture",r=[];e!==null;){var n=e,a=n.stateNode;if(n=n.tag,n!==5&&n!==26&&n!==27||a===null||(n=Ms(e,o),n!=null&&r.unshift(Us(e,n,a)),n=Ms(e,t),n!=null&&r.push(Us(e,n,a))),e.tag===3)return r;e=e.return}return[]}function GM(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function sv(e,t,o,r,n){for(var a=t._reactName,i=[];o!==null&&o!==r;){var l=o,s=l.alternate,u=l.stateNode;if(l=l.tag,s!==null&&s===r)break;l!==5&&l!==26&&l!==27||u===null||(s=u,n?(u=Ms(o,a),u!=null&&i.unshift(Us(o,u,s))):n||(u=Ms(o,a),u!=null&&i.push(Us(o,u,s)))),o=o.return}i.length!==0&&e.push({event:t,listeners:i})}var $M=/\r\n?/g,YM=/\u0000|\uFFFD/g;function uv(e){return(typeof e=="string"?e:""+e).replace($M,`
|
|
9
|
+
`).replace(YM,"")}function JS(e,t){return t=uv(t),uv(e)===t}function Re(e,t,o,r,n,a){switch(o){case"children":typeof r=="string"?t==="body"||t==="textarea"&&r===""||Vi(e,r):(typeof r=="number"||typeof r=="bigint")&&t!=="body"&&Vi(e,""+r);break;case"className":Oc(e,"class",r);break;case"tabIndex":Oc(e,"tabindex",r);break;case"dir":case"role":case"viewBox":case"width":case"height":Oc(e,o,r);break;case"style":Qv(e,r,a);break;case"data":if(t!=="object"){Oc(e,"data",r);break}case"src":case"href":if(r===""&&(t!=="a"||o!=="href")){e.removeAttribute(o);break}if(r==null||typeof r=="function"||typeof r=="symbol"||typeof r=="boolean"){e.removeAttribute(o);break}r=Ic(""+r),e.setAttribute(o,r);break;case"action":case"formAction":if(typeof r=="function"){e.setAttribute(o,"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 a=="function"&&(o==="formAction"?(t!=="input"&&Re(e,t,"name",n.name,n,null),Re(e,t,"formEncType",n.formEncType,n,null),Re(e,t,"formMethod",n.formMethod,n,null),Re(e,t,"formTarget",n.formTarget,n,null)):(Re(e,t,"encType",n.encType,n,null),Re(e,t,"method",n.method,n,null),Re(e,t,"target",n.target,n,null)));if(r==null||typeof r=="symbol"||typeof r=="boolean"){e.removeAttribute(o);break}r=Ic(""+r),e.setAttribute(o,r);break;case"onClick":r!=null&&(e.onclick=Br);break;case"onScroll":r!=null&&te("scroll",e);break;case"onScrollEnd":r!=null&&te("scrollend",e);break;case"dangerouslySetInnerHTML":if(r!=null){if(typeof r!="object"||!("__html"in r))throw Error(z(61));if(o=r.__html,o!=null){if(n.children!=null)throw Error(z(60));e.innerHTML=o}}break;case"multiple":e.multiple=r&&typeof r!="function"&&typeof r!="symbol";break;case"muted":e.muted=r&&typeof r!="function"&&typeof r!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(r==null||typeof r=="function"||typeof r=="boolean"||typeof r=="symbol"){e.removeAttribute("xlink:href");break}o=Ic(""+r),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",o);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":r!=null&&typeof r!="function"&&typeof r!="symbol"?e.setAttribute(o,""+r):e.removeAttribute(o);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":r&&typeof r!="function"&&typeof r!="symbol"?e.setAttribute(o,""):e.removeAttribute(o);break;case"capture":case"download":r===!0?e.setAttribute(o,""):r!==!1&&r!=null&&typeof r!="function"&&typeof r!="symbol"?e.setAttribute(o,r):e.removeAttribute(o);break;case"cols":case"rows":case"size":case"span":r!=null&&typeof r!="function"&&typeof r!="symbol"&&!isNaN(r)&&1<=r?e.setAttribute(o,r):e.removeAttribute(o);break;case"rowSpan":case"start":r==null||typeof r=="function"||typeof r=="symbol"||isNaN(r)?e.removeAttribute(o):e.setAttribute(o,r);break;case"popover":te("beforetoggle",e),te("toggle",e),Vc(e,"popover",r);break;case"xlinkActuate":Or(e,"http://www.w3.org/1999/xlink","xlink:actuate",r);break;case"xlinkArcrole":Or(e,"http://www.w3.org/1999/xlink","xlink:arcrole",r);break;case"xlinkRole":Or(e,"http://www.w3.org/1999/xlink","xlink:role",r);break;case"xlinkShow":Or(e,"http://www.w3.org/1999/xlink","xlink:show",r);break;case"xlinkTitle":Or(e,"http://www.w3.org/1999/xlink","xlink:title",r);break;case"xlinkType":Or(e,"http://www.w3.org/1999/xlink","xlink:type",r);break;case"xmlBase":Or(e,"http://www.w3.org/XML/1998/namespace","xml:base",r);break;case"xmlLang":Or(e,"http://www.w3.org/XML/1998/namespace","xml:lang",r);break;case"xmlSpace":Or(e,"http://www.w3.org/XML/1998/namespace","xml:space",r);break;case"is":Vc(e,"is",r);break;case"innerText":case"textContent":break;default:(!(2<o.length)||o[0]!=="o"&&o[0]!=="O"||o[1]!=="n"&&o[1]!=="N")&&(o=C2.get(o)||o,Vc(e,o,r))}}function Sy(e,t,o,r,n,a){switch(o){case"style":Qv(e,r,a);break;case"dangerouslySetInnerHTML":if(r!=null){if(typeof r!="object"||!("__html"in r))throw Error(z(61));if(o=r.__html,o!=null){if(n.children!=null)throw Error(z(60));e.innerHTML=o}}break;case"children":typeof r=="string"?Vi(e,r):(typeof r=="number"||typeof r=="bigint")&&Vi(e,""+r);break;case"onScroll":r!=null&&te("scroll",e);break;case"onScrollEnd":r!=null&&te("scrollend",e);break;case"onClick":r!=null&&(e.onclick=Br);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!qv.hasOwnProperty(o))e:{if(o[0]==="o"&&o[1]==="n"&&(n=o.endsWith("Capture"),t=o.slice(2,n?o.length-7:void 0),a=e[oo]||null,a=a!=null?a[o]:null,typeof a=="function"&&e.removeEventListener(t,a,n),typeof r=="function")){typeof a!="function"&&a!==null&&(o in e?e[o]=null:e.hasAttribute(o)&&e.removeAttribute(o)),e.addEventListener(t,r,n);break e}o in e?e[o]=r:r===!0?e.setAttribute(o,""):Vc(e,o,r)}}}function At(e,t,o){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":te("error",e),te("load",e);var r=!1,n=!1,a;for(a in o)if(o.hasOwnProperty(a)){var i=o[a];if(i!=null)switch(a){case"src":r=!0;break;case"srcSet":n=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(z(137,t));default:Re(e,t,a,i,o,null)}}n&&Re(e,t,"srcSet",o.srcSet,o,null),r&&Re(e,t,"src",o.src,o,null);return;case"input":te("invalid",e);var l=a=i=n=null,s=null,u=null;for(r in o)if(o.hasOwnProperty(r)){var p=o[r];if(p!=null)switch(r){case"name":n=p;break;case"type":i=p;break;case"checked":s=p;break;case"defaultChecked":u=p;break;case"value":a=p;break;case"defaultValue":l=p;break;case"children":case"dangerouslySetInnerHTML":if(p!=null)throw Error(z(137,t));break;default:Re(e,t,r,p,o,null)}}Yv(e,a,l,s,u,i,n,!1);return;case"select":te("invalid",e),r=i=a=null;for(n in o)if(o.hasOwnProperty(n)&&(l=o[n],l!=null))switch(n){case"value":a=l;break;case"defaultValue":i=l;break;case"multiple":r=l;default:Re(e,t,n,l,o,null)}t=a,o=i,e.multiple=!!r,t!=null?Di(e,!!r,t,!1):o!=null&&Di(e,!!r,o,!0);return;case"textarea":te("invalid",e),a=n=r=null;for(i in o)if(o.hasOwnProperty(i)&&(l=o[i],l!=null))switch(i){case"value":r=l;break;case"defaultValue":n=l;break;case"children":a=l;break;case"dangerouslySetInnerHTML":if(l!=null)throw Error(z(91));break;default:Re(e,t,i,l,o,null)}Xv(e,r,n,a);return;case"option":for(s in o)o.hasOwnProperty(s)&&(r=o[s],r!=null)&&(s==="selected"?e.selected=r&&typeof r!="function"&&typeof r!="symbol":Re(e,t,s,r,o,null));return;case"dialog":te("beforetoggle",e),te("toggle",e),te("cancel",e),te("close",e);break;case"iframe":case"object":te("load",e);break;case"video":case"audio":for(r=0;r<ks.length;r++)te(ks[r],e);break;case"image":te("error",e),te("load",e);break;case"details":te("toggle",e);break;case"embed":case"source":case"link":te("error",e),te("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(u in o)if(o.hasOwnProperty(u)&&(r=o[u],r!=null))switch(u){case"children":case"dangerouslySetInnerHTML":throw Error(z(137,t));default:Re(e,t,u,r,o,null)}return;default:if(jy(t)){for(p in o)o.hasOwnProperty(p)&&(r=o[p],r!==void 0&&Sy(e,t,p,r,o,void 0));return}}for(l in o)o.hasOwnProperty(l)&&(r=o[l],r!=null&&Re(e,t,l,r,o,null))}function KM(e,t,o,r){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var n=null,a=null,i=null,l=null,s=null,u=null,p=null;for(c in o){var f=o[c];if(o.hasOwnProperty(c)&&f!=null)switch(c){case"checked":break;case"value":break;case"defaultValue":s=f;default:r.hasOwnProperty(c)||Re(e,t,c,null,r,f)}}for(var d in r){var c=r[d];if(f=o[d],r.hasOwnProperty(d)&&(c!=null||f!=null))switch(d){case"type":a=c;break;case"name":n=c;break;case"checked":u=c;break;case"defaultChecked":p=c;break;case"value":i=c;break;case"defaultValue":l=c;break;case"children":case"dangerouslySetInnerHTML":if(c!=null)throw Error(z(137,t));break;default:c!==f&&Re(e,t,d,c,r,f)}}Ym(e,i,l,s,u,p,a,n);return;case"select":c=i=l=d=null;for(a in o)if(s=o[a],o.hasOwnProperty(a)&&s!=null)switch(a){case"value":break;case"multiple":c=s;default:r.hasOwnProperty(a)||Re(e,t,a,null,r,s)}for(n in r)if(a=r[n],s=o[n],r.hasOwnProperty(n)&&(a!=null||s!=null))switch(n){case"value":d=a;break;case"defaultValue":l=a;break;case"multiple":i=a;default:a!==s&&Re(e,t,n,a,r,s)}t=l,o=i,r=c,d!=null?Di(e,!!o,d,!1):!!r!=!!o&&(t!=null?Di(e,!!o,t,!0):Di(e,!!o,o?[]:"",!1));return;case"textarea":c=d=null;for(l in o)if(n=o[l],o.hasOwnProperty(l)&&n!=null&&!r.hasOwnProperty(l))switch(l){case"value":break;case"children":break;default:Re(e,t,l,null,r,n)}for(i in r)if(n=r[i],a=o[i],r.hasOwnProperty(i)&&(n!=null||a!=null))switch(i){case"value":d=n;break;case"defaultValue":c=n;break;case"children":break;case"dangerouslySetInnerHTML":if(n!=null)throw Error(z(91));break;default:n!==a&&Re(e,t,i,n,r,a)}Kv(e,d,c);return;case"option":for(var T in o)d=o[T],o.hasOwnProperty(T)&&d!=null&&!r.hasOwnProperty(T)&&(T==="selected"?e.selected=!1:Re(e,t,T,null,r,d));for(s in r)d=r[s],c=o[s],r.hasOwnProperty(s)&&d!==c&&(d!=null||c!=null)&&(s==="selected"?e.selected=d&&typeof d!="function"&&typeof d!="symbol":Re(e,t,s,d,r,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 v in o)d=o[v],o.hasOwnProperty(v)&&d!=null&&!r.hasOwnProperty(v)&&Re(e,t,v,null,r,d);for(u in r)if(d=r[u],c=o[u],r.hasOwnProperty(u)&&d!==c&&(d!=null||c!=null))switch(u){case"children":case"dangerouslySetInnerHTML":if(d!=null)throw Error(z(137,t));break;default:Re(e,t,u,d,r,c)}return;default:if(jy(t)){for(var x in o)d=o[x],o.hasOwnProperty(x)&&d!==void 0&&!r.hasOwnProperty(x)&&Sy(e,t,x,void 0,r,d);for(p in r)d=r[p],c=o[p],!r.hasOwnProperty(p)||d===c||d===void 0&&c===void 0||Sy(e,t,p,d,r,c);return}}for(var m in o)d=o[m],o.hasOwnProperty(m)&&d!=null&&!r.hasOwnProperty(m)&&Re(e,t,m,null,r,d);for(f in r)d=r[f],c=o[f],!r.hasOwnProperty(f)||d===c||d==null&&c==null||Re(e,t,f,d,r,c)}function cv(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function XM(){if(typeof performance.getEntriesByType=="function"){for(var e=0,t=0,o=performance.getEntriesByType("resource"),r=0;r<o.length;r++){var n=o[r],a=n.transferSize,i=n.initiatorType,l=n.duration;if(a&&l&&cv(i)){for(i=0,l=n.responseEnd,r+=1;r<o.length;r++){var s=o[r],u=s.startTime;if(u>l)break;var p=s.transferSize,f=s.initiatorType;p&&cv(f)&&(s=s.responseEnd,i+=p*(s<l?1:(l-u)/(s-u)))}if(--r,t+=8*(a+i)/(n.duration/1e3),e++,10<e)break}}if(0<e)return t/e/1e6}return navigator.connection&&(e=navigator.connection.downlink,typeof e=="number")?e:5}var Cy=null,Ey=null;function Pp(e){return e.nodeType===9?e:e.ownerDocument}function pv(e){switch(e){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function e1(e,t){if(e===0)switch(t){case"svg":return 1;case"math":return 2;default:return 0}return e===1&&t==="foreignObject"?0:e}function Py(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.children=="bigint"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var Bm=null;function QM(){var e=window.event;return e&&e.type==="popstate"?e===Bm?!1:(Bm=e,!0):(Bm=null,!1)}var t1=typeof setTimeout=="function"?setTimeout:void 0,ZM=typeof clearTimeout=="function"?clearTimeout:void 0,fv=typeof Promise=="function"?Promise:void 0,WM=typeof queueMicrotask=="function"?queueMicrotask:typeof fv<"u"?function(e){return fv.resolve(null).then(e).catch(JM)}:t1;function JM(e){setTimeout(function(){throw e})}function Bn(e){return e==="head"}function dv(e,t){var o=t,r=0;do{var n=o.nextSibling;if(e.removeChild(o),n&&n.nodeType===8)if(o=n.data,o==="/$"||o==="/&"){if(r===0){e.removeChild(n),Xi(t);return}r--}else if(o==="$"||o==="$?"||o==="$~"||o==="$!"||o==="&")r++;else if(o==="html")Rs(e.ownerDocument.documentElement);else if(o==="head"){o=e.ownerDocument.head,Rs(o);for(var a=o.firstChild;a;){var i=a.nextSibling,l=a.nodeName;a[Gs]||l==="SCRIPT"||l==="STYLE"||l==="LINK"&&a.rel.toLowerCase()==="stylesheet"||o.removeChild(a),a=i}}else o==="body"&&Rs(e.ownerDocument.body);o=n}while(o);Xi(t)}function mv(e,t){var o=e;e=0;do{var r=o.nextSibling;if(o.nodeType===1?t?(o._stashedDisplay=o.style.display,o.style.display="none"):(o.style.display=o._stashedDisplay||"",o.getAttribute("style")===""&&o.removeAttribute("style")):o.nodeType===3&&(t?(o._stashedText=o.nodeValue,o.nodeValue=""):o.nodeValue=o._stashedText||""),r&&r.nodeType===8)if(o=r.data,o==="/$"){if(e===0)break;e--}else o!=="$"&&o!=="$?"&&o!=="$~"&&o!=="$!"||e++;o=r}while(o)}function Ry(e){var t=e.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var o=t;switch(t=t.nextSibling,o.nodeName){case"HTML":case"HEAD":case"BODY":Ry(o),Uy(o);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(o.rel.toLowerCase()==="stylesheet")continue}e.removeChild(o)}}function eA(e,t,o,r){for(;e.nodeType===1;){var n=o;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!r&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(r){if(!e[Gs])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(a=e.getAttribute("rel"),a==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(a!==n.rel||e.getAttribute("href")!==(n.href==null||n.href===""?null:n.href)||e.getAttribute("crossorigin")!==(n.crossOrigin==null?null:n.crossOrigin)||e.getAttribute("title")!==(n.title==null?null:n.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(a=e.getAttribute("src"),(a!==(n.src==null?null:n.src)||e.getAttribute("type")!==(n.type==null?null:n.type)||e.getAttribute("crossorigin")!==(n.crossOrigin==null?null:n.crossOrigin))&&a&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(t==="input"&&e.type==="hidden"){var a=n.name==null?null:""+n.name;if(n.type==="hidden"&&e.getAttribute("name")===a)return e}else return e;if(e=Ho(e.nextSibling),e===null)break}return null}function tA(e,t,o){if(t==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!o||(e=Ho(e.nextSibling),e===null))return null;return e}function o1(e,t){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!t||(e=Ho(e.nextSibling),e===null))return null;return e}function Oy(e){return e.data==="$?"||e.data==="$~"}function My(e){return e.data==="$!"||e.data==="$?"&&e.ownerDocument.readyState!=="loading"}function oA(e,t){var o=e.ownerDocument;if(e.data==="$~")e._reactRetry=t;else if(e.data!=="$?"||o.readyState!=="loading")t();else{var r=function(){t(),o.removeEventListener("DOMContentLoaded",r)};o.addEventListener("DOMContentLoaded",r),e._reactRetry=r}}function Ho(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?"||t==="$~"||t==="&"||t==="F!"||t==="F")break;if(t==="/$"||t==="/&")return null}}return e}var Ay=null;function yv(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var o=e.data;if(o==="/$"||o==="/&"){if(t===0)return Ho(e.nextSibling);t--}else o!=="$"&&o!=="$!"&&o!=="$?"&&o!=="$~"&&o!=="&"||t++}e=e.nextSibling}return null}function hv(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var o=e.data;if(o==="$"||o==="$!"||o==="$?"||o==="$~"||o==="&"){if(t===0)return e;t--}else o!=="/$"&&o!=="/&"||t++}e=e.previousSibling}return null}function r1(e,t,o){switch(t=Pp(o),e){case"html":if(e=t.documentElement,!e)throw Error(z(452));return e;case"head":if(e=t.head,!e)throw Error(z(453));return e;case"body":if(e=t.body,!e)throw Error(z(454));return e;default:throw Error(z(451))}}function Rs(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);Uy(e)}var Vo=new Map,gv=new Set;function Rp(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}var Gr=me.d;me.d={f:rA,r:nA,D:aA,C:iA,L:lA,m:sA,X:cA,S:uA,M:pA};function rA(){var e=Gr.f(),t=Fp();return e||t}function nA(e){var t=Zi(e);t!==null&&t.tag===5&&t.type==="form"?Qx(t):Gr.r(e)}var tl=typeof document>"u"?null:document;function n1(e,t,o){var r=tl;if(r&&typeof t=="string"&&t){var n=ko(t);n='link[rel="'+e+'"][href="'+n+'"]',typeof o=="string"&&(n+='[crossorigin="'+o+'"]'),gv.has(n)||(gv.add(n),e={rel:e,crossOrigin:o,href:t},r.querySelector(n)===null&&(t=r.createElement("link"),At(t,"link",e),ht(t),r.head.appendChild(t)))}}function aA(e){Gr.D(e),n1("dns-prefetch",e,null)}function iA(e,t){Gr.C(e,t),n1("preconnect",e,t)}function lA(e,t,o){Gr.L(e,t,o);var r=tl;if(r&&e&&t){var n='link[rel="preload"][as="'+ko(t)+'"]';t==="image"&&o&&o.imageSrcSet?(n+='[imagesrcset="'+ko(o.imageSrcSet)+'"]',typeof o.imageSizes=="string"&&(n+='[imagesizes="'+ko(o.imageSizes)+'"]')):n+='[href="'+ko(e)+'"]';var a=n;switch(t){case"style":a=Ki(e);break;case"script":a=ol(e)}Vo.has(a)||(e=Le({rel:"preload",href:t==="image"&&o&&o.imageSrcSet?void 0:e,as:t},o),Vo.set(a,e),r.querySelector(n)!==null||t==="style"&&r.querySelector(Zs(a))||t==="script"&&r.querySelector(Ws(a))||(t=r.createElement("link"),At(t,"link",e),ht(t),r.head.appendChild(t)))}}function sA(e,t){Gr.m(e,t);var o=tl;if(o&&e){var r=t&&typeof t.as=="string"?t.as:"script",n='link[rel="modulepreload"][as="'+ko(r)+'"][href="'+ko(e)+'"]',a=n;switch(r){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":a=ol(e)}if(!Vo.has(a)&&(e=Le({rel:"modulepreload",href:e},t),Vo.set(a,e),o.querySelector(n)===null)){switch(r){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(o.querySelector(Ws(a)))return}r=o.createElement("link"),At(r,"link",e),ht(r),o.head.appendChild(r)}}}function uA(e,t,o){Gr.S(e,t,o);var r=tl;if(r&&e){var n=_i(r).hoistableStyles,a=Ki(e);t=t||"default";var i=n.get(a);if(!i){var l={loading:0,preload:null};if(i=r.querySelector(Zs(a)))l.loading=5;else{e=Le({rel:"stylesheet",href:e,"data-precedence":t},o),(o=Vo.get(a))&&Sh(e,o);var s=i=r.createElement("link");ht(s),At(s,"link",e),s._p=new Promise(function(u,p){s.onload=u,s.onerror=p}),s.addEventListener("load",function(){l.loading|=1}),s.addEventListener("error",function(){l.loading|=2}),l.loading|=4,Wc(i,t,r)}i={type:"stylesheet",instance:i,count:1,state:l},n.set(a,i)}}}function cA(e,t){Gr.X(e,t);var o=tl;if(o&&e){var r=_i(o).hoistableScripts,n=ol(e),a=r.get(n);a||(a=o.querySelector(Ws(n)),a||(e=Le({src:e,async:!0},t),(t=Vo.get(n))&&Ch(e,t),a=o.createElement("script"),ht(a),At(a,"link",e),o.head.appendChild(a)),a={type:"script",instance:a,count:1,state:null},r.set(n,a))}}function pA(e,t){Gr.M(e,t);var o=tl;if(o&&e){var r=_i(o).hoistableScripts,n=ol(e),a=r.get(n);a||(a=o.querySelector(Ws(n)),a||(e=Le({src:e,async:!0,type:"module"},t),(t=Vo.get(n))&&Ch(e,t),a=o.createElement("script"),ht(a),At(a,"link",e),o.head.appendChild(a)),a={type:"script",instance:a,count:1,state:null},r.set(n,a))}}function bv(e,t,o,r){var n=(n=xn.current)?Rp(n):null;if(!n)throw Error(z(446));switch(e){case"meta":case"title":return null;case"style":return typeof o.precedence=="string"&&typeof o.href=="string"?(t=Ki(o.href),o=_i(n).hoistableStyles,r=o.get(t),r||(r={type:"style",instance:null,count:0,state:null},o.set(t,r)),r):{type:"void",instance:null,count:0,state:null};case"link":if(o.rel==="stylesheet"&&typeof o.href=="string"&&typeof o.precedence=="string"){e=Ki(o.href);var a=_i(n).hoistableStyles,i=a.get(e);if(i||(n=n.ownerDocument||n,i={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},a.set(e,i),(a=n.querySelector(Zs(e)))&&!a._p&&(i.instance=a,i.state.loading=5),Vo.has(e)||(o={rel:"preload",as:"style",href:o.href,crossOrigin:o.crossOrigin,integrity:o.integrity,media:o.media,hrefLang:o.hrefLang,referrerPolicy:o.referrerPolicy},Vo.set(e,o),a||fA(n,e,o,i.state))),t&&r===null)throw Error(z(528,""));return i}if(t&&r!==null)throw Error(z(529,""));return null;case"script":return t=o.async,o=o.src,typeof o=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(t=ol(o),o=_i(n).hoistableScripts,r=o.get(t),r||(r={type:"script",instance:null,count:0,state:null},o.set(t,r)),r):{type:"void",instance:null,count:0,state:null};default:throw Error(z(444,e))}}function Ki(e){return'href="'+ko(e)+'"'}function Zs(e){return'link[rel="stylesheet"]['+e+"]"}function a1(e){return Le({},e,{"data-precedence":e.precedence,precedence:null})}function fA(e,t,o,r){e.querySelector('link[rel="preload"][as="style"]['+t+"]")?r.loading=1:(t=e.createElement("link"),r.preload=t,t.addEventListener("load",function(){return r.loading|=1}),t.addEventListener("error",function(){return r.loading|=2}),At(t,"link",o),ht(t),e.head.appendChild(t))}function ol(e){return'[src="'+ko(e)+'"]'}function Ws(e){return"script[async]"+e}function Tv(e,t,o){if(t.count++,t.instance===null)switch(t.type){case"style":var r=e.querySelector('style[data-href~="'+ko(o.href)+'"]');if(r)return t.instance=r,ht(r),r;var n=Le({},o,{"data-href":o.href,"data-precedence":o.precedence,href:null,precedence:null});return r=(e.ownerDocument||e).createElement("style"),ht(r),At(r,"style",n),Wc(r,o.precedence,e),t.instance=r;case"stylesheet":n=Ki(o.href);var a=e.querySelector(Zs(n));if(a)return t.state.loading|=4,t.instance=a,ht(a),a;r=a1(o),(n=Vo.get(n))&&Sh(r,n),a=(e.ownerDocument||e).createElement("link"),ht(a);var i=a;return i._p=new Promise(function(l,s){i.onload=l,i.onerror=s}),At(a,"link",r),t.state.loading|=4,Wc(a,o.precedence,e),t.instance=a;case"script":return a=ol(o.src),(n=e.querySelector(Ws(a)))?(t.instance=n,ht(n),n):(r=o,(n=Vo.get(a))&&(r=Le({},o),Ch(r,n)),e=e.ownerDocument||e,n=e.createElement("script"),ht(n),At(n,"link",r),e.head.appendChild(n),t.instance=n);case"void":return null;default:throw Error(z(443,t.type))}else t.type==="stylesheet"&&(t.state.loading&4)===0&&(r=t.instance,t.state.loading|=4,Wc(r,o.precedence,e));return t.instance}function Wc(e,t,o){for(var r=o.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),n=r.length?r[r.length-1]:null,a=n,i=0;i<r.length;i++){var l=r[i];if(l.dataset.precedence===t)a=l;else if(a!==n)break}a?a.parentNode.insertBefore(e,a.nextSibling):(t=o.nodeType===9?o.head:o,t.insertBefore(e,t.firstChild))}function Sh(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.title==null&&(e.title=t.title)}function Ch(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.integrity==null&&(e.integrity=t.integrity)}var Jc=null;function vv(e,t,o){if(Jc===null){var r=new Map,n=Jc=new Map;n.set(o,r)}else n=Jc,r=n.get(o),r||(r=new Map,n.set(o,r));if(r.has(e))return r;for(r.set(e,null),o=o.getElementsByTagName(e),n=0;n<o.length;n++){var a=o[n];if(!(a[Gs]||a[Rt]||e==="link"&&a.getAttribute("rel")==="stylesheet")&&a.namespaceURI!=="http://www.w3.org/2000/svg"){var i=a.getAttribute(t)||"";i=e+i;var l=r.get(i);l?l.push(a):r.set(i,[a])}}return r}function xv(e,t,o){e=e.ownerDocument||e,e.head.insertBefore(o,t==="title"?e.querySelector("head > title"):null)}function dA(e,t,o){if(o===1||t.itemProp!=null)return!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof t.precedence!="string"||typeof t.href!="string"||t.href==="")break;return!0;case"link":if(typeof t.rel!="string"||typeof t.href!="string"||t.href===""||t.onLoad||t.onError)break;return t.rel==="stylesheet"?(e=t.disabled,typeof t.precedence=="string"&&e==null):!0;case"script":if(t.async&&typeof t.async!="function"&&typeof t.async!="symbol"&&!t.onLoad&&!t.onError&&t.src&&typeof t.src=="string")return!0}return!1}function i1(e){return!(e.type==="stylesheet"&&(e.state.loading&3)===0)}function mA(e,t,o,r){if(o.type==="stylesheet"&&(typeof r.media!="string"||matchMedia(r.media).matches!==!1)&&(o.state.loading&4)===0){if(o.instance===null){var n=Ki(r.href),a=t.querySelector(Zs(n));if(a){t=a._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(e.count++,e=Op.bind(e),t.then(e,e)),o.state.loading|=4,o.instance=a,ht(a);return}a=t.ownerDocument||t,r=a1(r),(n=Vo.get(n))&&Sh(r,n),a=a.createElement("link"),ht(a);var i=a;i._p=new Promise(function(l,s){i.onload=l,i.onerror=s}),At(a,"link",r),o.instance=a}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(o,t),(t=o.state.preload)&&(o.state.loading&3)===0&&(e.count++,o=Op.bind(e),t.addEventListener("load",o),t.addEventListener("error",o))}}var km=0;function yA(e,t){return e.stylesheets&&e.count===0&&ep(e,e.stylesheets),0<e.count||0<e.imgCount?function(o){var r=setTimeout(function(){if(e.stylesheets&&ep(e,e.stylesheets),e.unsuspend){var a=e.unsuspend;e.unsuspend=null,a()}},6e4+t);0<e.imgBytes&&km===0&&(km=62500*XM());var n=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&ep(e,e.stylesheets),e.unsuspend)){var a=e.unsuspend;e.unsuspend=null,a()}},(e.imgBytes>km?50:800)+t);return e.unsuspend=o,function(){e.unsuspend=null,clearTimeout(r),clearTimeout(n)}}:null}function Op(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)ep(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var Mp=null;function ep(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,Mp=new Map,t.forEach(hA,e),Mp=null,Op.call(e))}function hA(e,t){if(!(t.state.loading&4)){var o=Mp.get(e);if(o)var r=o.get(null);else{o=new Map,Mp.set(e,o);for(var n=e.querySelectorAll("link[data-precedence],style[data-precedence]"),a=0;a<n.length;a++){var i=n[a];(i.nodeName==="LINK"||i.getAttribute("media")!=="not all")&&(o.set(i.dataset.precedence,i),r=i)}r&&o.set(null,r)}n=t.instance,i=n.getAttribute("data-precedence"),a=o.get(i)||r,a===r&&o.set(null,n),o.set(i,n),this.count++,r=Op.bind(this),n.addEventListener("load",r),n.addEventListener("error",r),a?a.parentNode.insertBefore(n,a.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(n,e.firstChild)),t.state.loading|=4}}var js={$$typeof:zr,Provider:null,Consumer:null,_currentValue:ra,_currentValue2:ra,_threadCount:0};function gA(e,t,o,r,n,a,i,l,s){this.tag=1,this.containerInfo=e,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=sm(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=sm(0),this.hiddenUpdates=sm(null),this.identifierPrefix=r,this.onUncaughtError=n,this.onCaughtError=a,this.onRecoverableError=i,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=s,this.incompleteTransitions=new Map}function l1(e,t,o,r,n,a,i,l,s,u,p,f){return e=new gA(e,t,o,i,s,u,p,f,l),t=1,a===!0&&(t|=24),a=mo(3,null,null,t),e.current=a,a.stateNode=e,t=Xy(),t.refCount++,e.pooledCache=t,t.refCount++,a.memoizedState={element:r,isDehydrated:o,cache:t},Wy(a),e}function s1(e){return e?(e=Mi,e):Mi}function u1(e,t,o,r,n,a){n=s1(n),r.context===null?r.context=n:r.pendingContext=n,r=Cn(t),r.payload={element:o},a=a===void 0?null:a,a!==null&&(r.callback=a),o=En(e,r,t),o!==null&&(to(o,e,t),bs(o,e,t))}function Sv(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var o=e.retryLane;e.retryLane=o!==0&&o<t?o:t}}function Eh(e,t){Sv(e,t),(e=e.alternate)&&Sv(e,t)}function c1(e){if(e.tag===13||e.tag===31){var t=ha(e,67108864);t!==null&&to(t,e,67108864),Eh(e,67108864)}}function Cv(e){if(e.tag===13||e.tag===31){var t=To();t=By(t);var o=ha(e,t);o!==null&&to(o,e,t),Eh(e,t)}}var Ap=!0;function bA(e,t,o,r){var n=$.T;$.T=null;var a=me.p;try{me.p=2,Ph(e,t,o,r)}finally{me.p=a,$.T=n}}function TA(e,t,o,r){var n=$.T;$.T=null;var a=me.p;try{me.p=8,Ph(e,t,o,r)}finally{me.p=a,$.T=n}}function Ph(e,t,o,r){if(Ap){var n=wy(r);if(n===null)zm(e,t,r,wp,o),Ev(e,r);else if(xA(n,e,t,o,r))r.stopPropagation();else if(Ev(e,r),t&4&&-1<vA.indexOf(e)){for(;n!==null;){var a=Zi(n);if(a!==null)switch(a.tag){case 3:if(a=a.stateNode,a.current.memoizedState.isDehydrated){var i=ea(a.pendingLanes);if(i!==0){var l=a;for(l.pendingLanes|=2,l.entangledLanes|=2;i;){var s=1<<31-bo(i);l.entanglements[1]|=s,i&=~s}mr(a),(de&6)===0&&(Tp=ho()+500,Qs(0,!1))}}break;case 31:case 13:l=ha(a,2),l!==null&&to(l,a,2),Fp(),Eh(a,2)}if(a=wy(r),a===null&&zm(e,t,r,wp,o),a===n)break;n=a}n!==null&&r.stopPropagation()}else zm(e,t,r,null,o)}}function wy(e){return e=Ly(e),Rh(e)}var wp=null;function Rh(e){if(wp=null,e=Si(e),e!==null){var t=Vs(e);if(t===null)e=null;else{var o=t.tag;if(o===13){if(e=wv(t),e!==null)return e;e=null}else if(o===31){if(e=Nv(t),e!==null)return e;e=null}else if(o===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return wp=e,null}function p1(e){switch(e){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(l2()){case Bv:return 2;case kv:return 8;case ap:case s2:return 32;case Uv:return 268435456;default:return 32}default:return 32}}var Ny=!1,On=null,Mn=null,An=null,Ls=new Map,Hs=new Map,yn=[],vA="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 Ev(e,t){switch(e){case"focusin":case"focusout":On=null;break;case"dragenter":case"dragleave":Mn=null;break;case"mouseover":case"mouseout":An=null;break;case"pointerover":case"pointerout":Ls.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Hs.delete(t.pointerId)}}function ls(e,t,o,r,n,a){return e===null||e.nativeEvent!==a?(e={blockedOn:t,domEventName:o,eventSystemFlags:r,nativeEvent:a,targetContainers:[n]},t!==null&&(t=Zi(t),t!==null&&c1(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,n!==null&&t.indexOf(n)===-1&&t.push(n),e)}function xA(e,t,o,r,n){switch(t){case"focusin":return On=ls(On,e,t,o,r,n),!0;case"dragenter":return Mn=ls(Mn,e,t,o,r,n),!0;case"mouseover":return An=ls(An,e,t,o,r,n),!0;case"pointerover":var a=n.pointerId;return Ls.set(a,ls(Ls.get(a)||null,e,t,o,r,n)),!0;case"gotpointercapture":return a=n.pointerId,Hs.set(a,ls(Hs.get(a)||null,e,t,o,r,n)),!0}return!1}function f1(e){var t=Si(e.target);if(t!==null){var o=Vs(t);if(o!==null){if(t=o.tag,t===13){if(t=wv(o),t!==null){e.blockedOn=t,lT(e.priority,function(){Cv(o)});return}}else if(t===31){if(t=Nv(o),t!==null){e.blockedOn=t,lT(e.priority,function(){Cv(o)});return}}else if(t===3&&o.stateNode.current.memoizedState.isDehydrated){e.blockedOn=o.tag===3?o.stateNode.containerInfo:null;return}}}e.blockedOn=null}function tp(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var o=wy(e.nativeEvent);if(o===null){o=e.nativeEvent;var r=new o.constructor(o.type,o);Xm=r,o.target.dispatchEvent(r),Xm=null}else return t=Zi(o),t!==null&&c1(t),e.blockedOn=o,!1;t.shift()}return!0}function Pv(e,t,o){tp(e)&&o.delete(t)}function SA(){Ny=!1,On!==null&&tp(On)&&(On=null),Mn!==null&&tp(Mn)&&(Mn=null),An!==null&&tp(An)&&(An=null),Ls.forEach(Pv),Hs.forEach(Pv)}function Lc(e,t){e.blockedOn===t&&(e.blockedOn=null,Ny||(Ny=!0,ft.unstable_scheduleCallback(ft.unstable_NormalPriority,SA)))}var Hc=null;function Rv(e){Hc!==e&&(Hc=e,ft.unstable_scheduleCallback(ft.unstable_NormalPriority,function(){Hc===e&&(Hc=null);for(var t=0;t<e.length;t+=3){var o=e[t],r=e[t+1],n=e[t+2];if(typeof r!="function"){if(Rh(r||o)===null)continue;break}var a=Zi(o);a!==null&&(e.splice(t,3),t-=3,py(a,{pending:!0,data:n,method:o.method,action:r},r,n))}}))}function Xi(e){function t(s){return Lc(s,e)}On!==null&&Lc(On,e),Mn!==null&&Lc(Mn,e),An!==null&&Lc(An,e),Ls.forEach(t),Hs.forEach(t);for(var o=0;o<yn.length;o++){var r=yn[o];r.blockedOn===e&&(r.blockedOn=null)}for(;0<yn.length&&(o=yn[0],o.blockedOn===null);)f1(o),o.blockedOn===null&&yn.shift();if(o=(e.ownerDocument||e).$$reactFormReplay,o!=null)for(r=0;r<o.length;r+=3){var n=o[r],a=o[r+1],i=n[oo]||null;if(typeof a=="function")i||Rv(o);else if(i){var l=null;if(a&&a.hasAttribute("formAction")){if(n=a,i=a[oo]||null)l=i.formAction;else if(Rh(n)!==null)continue}else l=i.action;typeof l=="function"?o[r+1]=l:(o.splice(r,3),r-=3),Rv(o)}}}function d1(){function e(a){a.canIntercept&&a.info==="react-transition"&&a.intercept({handler:function(){return new Promise(function(i){return n=i})},focusReset:"manual",scroll:"manual"})}function t(){n!==null&&(n(),n=null),r||setTimeout(o,20)}function o(){if(!r&&!navigation.transition){var a=navigation.currentEntry;a&&a.url!=null&&navigation.navigate(a.url,{state:a.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var r=!1,n=null;return navigation.addEventListener("navigate",e),navigation.addEventListener("navigatesuccess",t),navigation.addEventListener("navigateerror",t),setTimeout(o,100),function(){r=!0,navigation.removeEventListener("navigate",e),navigation.removeEventListener("navigatesuccess",t),navigation.removeEventListener("navigateerror",t),n!==null&&(n(),n=null)}}}function Oh(e){this._internalRoot=e}$p.prototype.render=Oh.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(z(409));var o=t.current,r=To();u1(o,r,e,t,null,null)};$p.prototype.unmount=Oh.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;u1(e.current,2,null,e,null,null),Fp(),t[Qi]=null}};function $p(e){this._internalRoot=e}$p.prototype.unstable_scheduleHydration=function(e){if(e){var t=Iv();e={blockedOn:null,target:e,priority:t};for(var o=0;o<yn.length&&t!==0&&t<yn[o].priority;o++);yn.splice(o,0,e),o===0&&f1(e)}};var Ov=Mv.version;if(Ov!=="19.2.4")throw Error(z(527,Ov,"19.2.4"));me.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(z(188)):(e=Object.keys(e).join(","),Error(z(268,e)));return e=e2(t),e=e!==null?_v(e):null,e=e===null?null:e.stateNode,e};var CA={bundleType:0,version:"19.2.4",rendererPackageName:"react-dom",currentDispatcherRef:$,reconcilerVersion:"19.2.4"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&(ss=__REACT_DEVTOOLS_GLOBAL_HOOK__,!ss.isDisabled&&ss.supportsFiber))try{Is=ss.inject(CA),go=ss}catch{}var ss;Yp.createRoot=function(e,t){if(!Av(e))throw Error(z(299));var o=!1,r="",n=nS,a=aS,i=iS;return t!=null&&(t.unstable_strictMode===!0&&(o=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onUncaughtError!==void 0&&(n=t.onUncaughtError),t.onCaughtError!==void 0&&(a=t.onCaughtError),t.onRecoverableError!==void 0&&(i=t.onRecoverableError)),t=l1(e,1,!1,null,null,o,r,null,n,a,i,d1),e[Qi]=t.current,xh(e),new Oh(t)};Yp.hydrateRoot=function(e,t,o){if(!Av(e))throw Error(z(299));var r=!1,n="",a=nS,i=aS,l=iS,s=null;return o!=null&&(o.unstable_strictMode===!0&&(r=!0),o.identifierPrefix!==void 0&&(n=o.identifierPrefix),o.onUncaughtError!==void 0&&(a=o.onUncaughtError),o.onCaughtError!==void 0&&(i=o.onCaughtError),o.onRecoverableError!==void 0&&(l=o.onRecoverableError),o.formState!==void 0&&(s=o.formState)),t=l1(e,1,!0,t,o??null,r,n,s,a,i,l,d1),t.context=s1(null),o=t.current,r=To(),r=By(r),n=Cn(r),n.callback=null,En(o,n,r),o=r,t.current.lanes=o,qs(t,o),mr(t),e[Qi]=t.current,xh(e),new $p(t)};Yp.version="19.2.4"});var g1=Vt((rz,h1)=>{"use strict";function y1(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(y1)}catch(e){console.error(e)}}y1(),h1.exports=m1()});var P1=Vt(Xp=>{"use strict";var LA=Symbol.for("react.transitional.element"),HA=Symbol.for("react.fragment");function E1(e,t,o){var r=null;if(o!==void 0&&(r=""+o),t.key!==void 0&&(r=""+t.key),"key"in t){o={};for(var n in t)n!=="key"&&(o[n]=t[n])}else o=t;return t=o.ref,{$$typeof:LA,type:e,key:r,ref:t!==void 0?t:null,props:o}}Xp.Fragment=HA;Xp.jsx=E1;Xp.jsxs=E1});var L=Vt((Bz,R1)=>{"use strict";R1.exports=P1()});var w1=Vt(Ae=>{"use strict";var Mh=Symbol.for("react.transitional.element"),Ah=Symbol.for("react.portal"),Qp=Symbol.for("react.fragment"),Zp=Symbol.for("react.strict_mode"),Wp=Symbol.for("react.profiler"),Jp=Symbol.for("react.consumer"),ef=Symbol.for("react.context"),tf=Symbol.for("react.forward_ref"),of=Symbol.for("react.suspense"),rf=Symbol.for("react.suspense_list"),nf=Symbol.for("react.memo"),af=Symbol.for("react.lazy"),IA=Symbol.for("react.view_transition"),FA=Symbol.for("react.client.reference");function Io(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case Mh:switch(e=e.type,e){case Qp:case Wp:case Zp:case of:case rf:case IA:return e;default:switch(e=e&&e.$$typeof,e){case ef:case tf:case af:case nf:return e;case Jp:return e;default:return t}}case Ah:return t}}}Ae.ContextConsumer=Jp;Ae.ContextProvider=ef;Ae.Element=Mh;Ae.ForwardRef=tf;Ae.Fragment=Qp;Ae.Lazy=af;Ae.Memo=nf;Ae.Portal=Ah;Ae.Profiler=Wp;Ae.StrictMode=Zp;Ae.Suspense=of;Ae.SuspenseList=rf;Ae.isContextConsumer=function(e){return Io(e)===Jp};Ae.isContextProvider=function(e){return Io(e)===ef};Ae.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===Mh};Ae.isForwardRef=function(e){return Io(e)===tf};Ae.isFragment=function(e){return Io(e)===Qp};Ae.isLazy=function(e){return Io(e)===af};Ae.isMemo=function(e){return Io(e)===nf};Ae.isPortal=function(e){return Io(e)===Ah};Ae.isProfiler=function(e){return Io(e)===Wp};Ae.isStrictMode=function(e){return Io(e)===Zp};Ae.isSuspense=function(e){return Io(e)===of};Ae.isSuspenseList=function(e){return Io(e)===rf};Ae.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===Qp||e===Wp||e===Zp||e===of||e===rf||typeof e=="object"&&e!==null&&(e.$$typeof===af||e.$$typeof===nf||e.$$typeof===ef||e.$$typeof===Jp||e.$$typeof===tf||e.$$typeof===FA||e.getModuleId!==void 0)};Ae.typeOf=Io});var _1=Vt(($z,N1)=>{"use strict";N1.exports=w1()});var Er={pageMeta:"assist-docs-page",titleMeta:"assist-docs-title",sourceMeta:"assist-docs-source",headingAttribute:"data-docs-heading",sourceAttribute:"data-docs-source",popover:"[data-assist-popover]"};function Za(){return globalThis.browser?.runtime}function wb(e){let t=e.id?`#${e.id}`:"",o=[...e.classList].map(r=>`.${r}`).join("");return`${e.tagName.toLowerCase()}${t}${o}`}var qR=20,Nb=80,GR=new Set(["SCRIPT","STYLE","NOSCRIPT"]);function $R(e){let t=[];for(let o=e;o;o=o.parentElement)t.unshift(wb(o));return t}function YR(e){let t=(e.textContent??"").replace(/\s+/g," ").trim();return t.length>Nb?`${t.slice(0,Nb)}\u2026`:t}function KR(e,t){let o=new Set,r=e.createTreeWalker(e.body??e,NodeFilter.SHOW_TEXT);for(let n=r.nextNode();n;n=r.nextNode()){let a=n.parentElement;a&&!GR.has(a.tagName)&&n.nodeValue?.includes(t)&&o.add(a)}return[...o]}function XR(e){let{width:t,height:o}=e.getBoundingClientRect();return{chain:$R(e),text:YR(e),width:Math.round(t),height:Math.round(o)}}function _b(e,t){let o="selector"in t?[...e.querySelectorAll(t.selector)]:KR(e,t.text);return{matches:o.slice(0,qR).map(XR),total:o.length}}var Db="assist-browser-probe",zb="assist-browser-keepalive";var QR=`
|
|
10
|
+
.panel {
|
|
11
|
+
position: fixed;
|
|
12
|
+
right: 16px;
|
|
13
|
+
bottom: 16px;
|
|
14
|
+
z-index: 2147483647;
|
|
15
|
+
width: min(560px, calc(100vw - 32px));
|
|
16
|
+
max-height: calc(100vh - 32px);
|
|
17
|
+
display: flex;
|
|
18
|
+
flex-direction: column;
|
|
19
|
+
gap: 8px;
|
|
20
|
+
padding: 12px;
|
|
21
|
+
box-sizing: border-box;
|
|
22
|
+
border: 1px solid #d0d7de;
|
|
23
|
+
border-radius: 8px;
|
|
24
|
+
background: #fff;
|
|
25
|
+
color: #1f2328;
|
|
26
|
+
font: 14px/20px -apple-system, BlinkMacSystemFont, sans-serif;
|
|
27
|
+
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
|
|
28
|
+
}
|
|
29
|
+
pre {
|
|
30
|
+
margin: 0;
|
|
31
|
+
padding: 8px;
|
|
32
|
+
overflow: auto;
|
|
33
|
+
min-height: 48px;
|
|
34
|
+
border-radius: 6px;
|
|
35
|
+
background: #f6f8fa;
|
|
36
|
+
font: 12px/18px ui-monospace, SFMono-Regular, Menlo, monospace;
|
|
37
|
+
white-space: pre;
|
|
38
|
+
}
|
|
39
|
+
.actions { display: flex; align-items: center; gap: 8px; }
|
|
40
|
+
.countdown { flex: 1; color: #59636e; font-size: 12px; }
|
|
41
|
+
button { padding: 4px 12px; border-radius: 6px; border: 1px solid #d0d7de; font: inherit; cursor: pointer; background: #f6f8fa; color: inherit; }
|
|
42
|
+
button.run { background: #1f883d; border-color: #1f883d; color: #fff; }
|
|
43
|
+
`;function Bb(e){let t=document.createElement("div");t.setAttribute("data-assist-run-approval","");let o=t.attachShadow({mode:"open"});return o.innerHTML=`<style>${QR}</style>
|
|
44
|
+
<div class="panel" role="dialog" aria-label="assist script approval">
|
|
45
|
+
<strong>assist wants to run this script on this page</strong>
|
|
46
|
+
<pre></pre>
|
|
47
|
+
<div class="actions">
|
|
48
|
+
<span class="countdown"></span>
|
|
49
|
+
<button type="button" class="dismiss">Dismiss</button>
|
|
50
|
+
<button type="button" class="run">Run</button>
|
|
51
|
+
</div>
|
|
52
|
+
</div>`,o.querySelector("pre").textContent=e,{host:t,countdown:o.querySelector(".countdown"),run:o.querySelector("button.run"),dismiss:o.querySelector("button.dismiss")}}var ZR=15e3;function WR(){let e=setInterval(()=>{Za()?.sendMessage({type:zb}).catch(()=>{})},ZR);return()=>clearInterval(e)}function kb(e,t){let o=Bb(e);document.body.append(o.host);let r=Date.now()+t,n=WR();return new Promise(a=>{let i=()=>{let u=Math.max(0,Math.ceil((r-Date.now())/1e3));o.countdown.textContent=`Declines automatically in ${u}s`,u===0&&s("timeout")},l=setInterval(i,1e3);function s(u){clearInterval(l),n(),o.host.remove(),a(u)}o.run.addEventListener("click",()=>s("run")),o.dismiss.addEventListener("click",()=>s("declined")),i()})}async function eO(e){try{return e.op==="snapshot"?{running:!0,result:{html:document.documentElement.outerHTML}}:e.op==="inspect"?{running:!0,result:_b(document,e)}:e.op==="run"?{running:!0,result:{decision:await kb(e.code,12e4)}}:{running:!0}}catch(t){return{running:!0,error:t instanceof Error?t.message:String(t)}}}function Ub(){Za()?.onMessage.addListener(e=>{let t=e;if(t?.type===Db)return eO(t)})}var tO=!1;function oO(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}function rO(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),e.nonce!==void 0&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}var jb=(function(){function e(o){var r=this;this._insertTag=function(n){var a;r.tags.length===0?r.insertionPoint?a=r.insertionPoint.nextSibling:r.prepend?a=r.container.firstChild:a=r.before:a=r.tags[r.tags.length-1].nextSibling,r.container.insertBefore(n,a),r.tags.push(n)},this.isSpeedy=o.speedy===void 0?!tO:o.speedy,this.tags=[],this.ctr=0,this.nonce=o.nonce,this.key=o.key,this.container=o.container,this.prepend=o.prepend,this.insertionPoint=o.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(r){r.forEach(this._insertTag)},t.insert=function(r){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(rO(this));var n=this.tags[this.tags.length-1];if(this.isSpeedy){var a=oO(n);try{a.insertRule(r,a.cssRules.length)}catch{}}else n.appendChild(document.createTextNode(r));this.ctr++},t.flush=function(){this.tags.forEach(function(r){var n;return(n=r.parentNode)==null?void 0:n.removeChild(r)}),this.tags=[],this.ctr=0},e})();var Et="-ms-",ql="-moz-",pe="-webkit-",Qu="comm",Wa="rule",Ja="decl";var Lb="@import";var Zu="@keyframes";var Hb="@layer";var Vb=Math.abs,Xn=String.fromCharCode,Ib=Object.assign;function Fb(e,t){return Je(e,0)^45?(((t<<2^Je(e,0))<<2^Je(e,1))<<2^Je(e,2))<<2^Je(e,3):0}function Wu(e){return e.trim()}function Nd(e,t){return(e=t.exec(e))?e[0]:e}function ue(e,t,o){return e.replace(t,o)}function Gl(e,t){return e.indexOf(t)}function Je(e,t){return e.charCodeAt(t)|0}function nn(e,t,o){return e.slice(t,o)}function It(e){return e.length}function ei(e){return e.length}function ti(e,t){return t.push(e),e}function _d(e,t){return e.map(t).join("")}var Ju=1,oi=1,qb=0,Ft=0,rt=0,ni="";function $l(e,t,o,r,n,a,i){return{value:e,root:t,parent:o,type:r,props:n,children:a,line:Ju,column:oi,length:i,return:""}}function ai(e,t){return Ib($l("",null,null,"",null,null,0),e,{length:-e.length},t)}function Gb(){return rt}function $b(){return rt=Ft>0?Je(ni,--Ft):0,oi--,rt===10&&(oi=1,Ju--),rt}function qt(){return rt=Ft<qb?Je(ni,Ft++):0,oi++,rt===10&&(oi=1,Ju++),rt}function Ao(){return Je(ni,Ft)}function Yl(){return Ft}function ii(e,t){return nn(ni,e,t)}function ri(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function ec(e){return Ju=oi=1,qb=It(ni=e),Ft=0,[]}function tc(e){return ni="",e}function li(e){return Wu(ii(Ft-1,Dd(e===91?e+2:e===40?e+1:e)))}function Yb(e){for(;(rt=Ao())&&rt<33;)qt();return ri(e)>2||ri(rt)>3?"":" "}function Kb(e,t){for(;--t&&qt()&&!(rt<48||rt>102||rt>57&&rt<65||rt>70&&rt<97););return ii(e,Yl()+(t<6&&Ao()==32&&qt()==32))}function Dd(e){for(;qt();)switch(rt){case e:return Ft;case 34:case 39:e!==34&&e!==39&&Dd(rt);break;case 40:e===41&&Dd(e);break;case 92:qt();break}return Ft}function Xb(e,t){for(;qt()&&e+rt!==57;)if(e+rt===84&&Ao()===47)break;return"/*"+ii(t,Ft-1)+"*"+Xn(e===47?e:qt())}function Qb(e){for(;!ri(Ao());)qt();return ii(e,Ft)}function Jb(e){return tc(oc("",null,null,null,[""],e=ec(e),0,[0],e))}function oc(e,t,o,r,n,a,i,l,s){for(var u=0,p=0,f=i,d=0,c=0,T=0,v=1,x=1,m=1,h=0,g="",b=n,E=a,S=r,C=g;x;)switch(T=h,h=qt()){case 40:if(T!=108&&Je(C,f-1)==58){Gl(C+=ue(li(h),"&","&\f"),"&\f")!=-1&&(m=-1);break}case 34:case 39:case 91:C+=li(h);break;case 9:case 10:case 13:case 32:C+=Yb(T);break;case 92:C+=Kb(Yl()-1,7);continue;case 47:switch(Ao()){case 42:case 47:ti(nO(Xb(qt(),Yl()),t,o),s);break;default:C+="/"}break;case 123*v:l[u++]=It(C)*m;case 125*v:case 59:case 0:switch(h){case 0:case 125:x=0;case 59+p:m==-1&&(C=ue(C,/\f/g,"")),c>0&&It(C)-f&&ti(c>32?Wb(C+";",r,o,f-1):Wb(ue(C," ","")+";",r,o,f-2),s);break;case 59:C+=";";default:if(ti(S=Zb(C,t,o,u,p,n,l,g,b=[],E=[],f),a),h===123)if(p===0)oc(C,t,S,S,b,a,f,l,E);else switch(d===99&&Je(C,3)===110?100:d){case 100:case 108:case 109:case 115:oc(e,S,S,r&&ti(Zb(e,S,S,0,0,n,l,g,n,b=[],f),E),n,E,f,l,r?b:E);break;default:oc(C,S,S,S,[""],E,0,l,E)}}u=p=c=0,v=m=1,g=C="",f=i;break;case 58:f=1+It(C),c=T;default:if(v<1){if(h==123)--v;else if(h==125&&v++==0&&$b()==125)continue}switch(C+=Xn(h),h*v){case 38:m=p>0?1:(C+="\f",-1);break;case 44:l[u++]=(It(C)-1)*m,m=1;break;case 64:Ao()===45&&(C+=li(qt())),d=Ao(),p=f=It(g=C+=Qb(Yl())),h++;break;case 45:T===45&&It(C)==2&&(v=0)}}return a}function Zb(e,t,o,r,n,a,i,l,s,u,p){for(var f=n-1,d=n===0?a:[""],c=ei(d),T=0,v=0,x=0;T<r;++T)for(var m=0,h=nn(e,f+1,f=Vb(v=i[T])),g=e;m<c;++m)(g=Wu(v>0?d[m]+" "+h:ue(h,/&\f/g,d[m])))&&(s[x++]=g);return $l(e,t,o,n===0?Wa:l,s,u,p)}function nO(e,t,o){return $l(e,t,o,Qu,Xn(Gb()),nn(e,2,-2),0)}function Wb(e,t,o,r){return $l(e,t,o,Ja,nn(e,0,r),nn(e,r+1,-1),r)}function Qn(e,t){for(var o="",r=ei(e),n=0;n<r;n++)o+=t(e[n],n,e,t)||"";return o}function e0(e,t,o,r){switch(e.type){case Hb:if(e.children.length)break;case Lb:case Ja:return e.return=e.return||e.value;case Qu:return"";case Zu:return e.return=e.value+"{"+Qn(e.children,r)+"}";case Wa:e.value=e.props.join(",")}return It(o=Qn(e.children,r))?e.return=e.value+"{"+o+"}":""}function t0(e){var t=ei(e);return function(o,r,n,a){for(var i="",l=0;l<t;l++)i+=e[l](o,r,n,a)||"";return i}}function o0(e){return function(t){t.root||(t=t.return)&&e(t)}}function rc(e){var t=Object.create(null);return function(o){return t[o]===void 0&&(t[o]=e(o)),t[o]}}var aO=function(t,o,r){for(var n=0,a=0;n=a,a=Ao(),n===38&&a===12&&(o[r]=1),!ri(a);)qt();return ii(t,Ft)},iO=function(t,o){var r=-1,n=44;do switch(ri(n)){case 0:n===38&&Ao()===12&&(o[r]=1),t[r]+=aO(Ft-1,o,r);break;case 2:t[r]+=li(n);break;case 4:if(n===44){t[++r]=Ao()===58?"&\f":"",o[r]=t[r].length;break}default:t[r]+=Xn(n)}while(n=qt());return t},lO=function(t,o){return tc(iO(ec(t),o))},r0=new WeakMap,sO=function(t){if(!(t.type!=="rule"||!t.parent||t.length<1)){for(var o=t.value,r=t.parent,n=t.column===r.column&&t.line===r.line;r.type!=="rule";)if(r=r.parent,!r)return;if(!(t.props.length===1&&o.charCodeAt(0)!==58&&!r0.get(r))&&!n){r0.set(t,!0);for(var a=[],i=lO(o,a),l=r.props,s=0,u=0;s<i.length;s++)for(var p=0;p<l.length;p++,u++)t.props[u]=a[s]?i[s].replace(/&\f/g,l[p]):l[p]+" "+i[s]}}},uO=function(t){if(t.type==="decl"){var o=t.value;o.charCodeAt(0)===108&&o.charCodeAt(2)===98&&(t.return="",t.value="")}};function n0(e,t){switch(Fb(e,t)){case 5103:return pe+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return pe+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return pe+e+ql+e+Et+e+e;case 6828:case 4268:return pe+e+Et+e+e;case 6165:return pe+e+Et+"flex-"+e+e;case 5187:return pe+e+ue(e,/(\w+).+(:[^]+)/,pe+"box-$1$2"+Et+"flex-$1$2")+e;case 5443:return pe+e+Et+"flex-item-"+ue(e,/flex-|-self/,"")+e;case 4675:return pe+e+Et+"flex-line-pack"+ue(e,/align-content|flex-|-self/,"")+e;case 5548:return pe+e+Et+ue(e,"shrink","negative")+e;case 5292:return pe+e+Et+ue(e,"basis","preferred-size")+e;case 6060:return pe+"box-"+ue(e,"-grow","")+pe+e+Et+ue(e,"grow","positive")+e;case 4554:return pe+ue(e,/([^-])(transform)/g,"$1"+pe+"$2")+e;case 6187:return ue(ue(ue(e,/(zoom-|grab)/,pe+"$1"),/(image-set)/,pe+"$1"),e,"")+e;case 5495:case 3959:return ue(e,/(image-set\([^]*)/,pe+"$1$`$1");case 4968:return ue(ue(e,/(.+:)(flex-)?(.*)/,pe+"box-pack:$3"+Et+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+pe+e+e;case 4095:case 3583:case 4068:case 2532:return ue(e,/(.+)-inline(.+)/,pe+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(It(e)-1-t>6)switch(Je(e,t+1)){case 109:if(Je(e,t+4)!==45)break;case 102:return ue(e,/(.+:)(.+)-([^]+)/,"$1"+pe+"$2-$3$1"+ql+(Je(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Gl(e,"stretch")?n0(ue(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(Je(e,t+1)!==115)break;case 6444:switch(Je(e,It(e)-3-(~Gl(e,"!important")&&10))){case 107:return ue(e,":",":"+pe)+e;case 101:return ue(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+pe+(Je(e,14)===45?"inline-":"")+"box$3$1"+pe+"$2$3$1"+Et+"$2box$3")+e}break;case 5936:switch(Je(e,t+11)){case 114:return pe+e+Et+ue(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return pe+e+Et+ue(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return pe+e+Et+ue(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return pe+e+Et+e+e}return e}var cO=function(t,o,r,n){if(t.length>-1&&!t.return)switch(t.type){case Ja:t.return=n0(t.value,t.length);break;case Zu:return Qn([ai(t,{value:ue(t.value,"@","@"+pe)})],n);case Wa:if(t.length)return _d(t.props,function(a){switch(Nd(a,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Qn([ai(t,{props:[ue(a,/:(read-\w+)/,":"+ql+"$1")]})],n);case"::placeholder":return Qn([ai(t,{props:[ue(a,/:(plac\w+)/,":"+pe+"input-$1")]}),ai(t,{props:[ue(a,/:(plac\w+)/,":"+ql+"$1")]}),ai(t,{props:[ue(a,/:(plac\w+)/,Et+"input-$1")]})],n)}return""})}},pO=[cO],nc=function(t){var o=t.key;if(o==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(v){var x=v.getAttribute("data-emotion");x.indexOf(" ")!==-1&&(document.head.appendChild(v),v.setAttribute("data-s",""))})}var n=t.stylisPlugins||pO,a={},i,l=[];i=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+o+' "]'),function(v){for(var x=v.getAttribute("data-emotion").split(" "),m=1;m<x.length;m++)a[x[m]]=!0;l.push(v)});var s,u=[sO,uO];{var p,f=[e0,o0(function(v){p.insert(v)})],d=t0(u.concat(n,f)),c=function(x){return Qn(Jb(x),d)};s=function(x,m,h,g){p=h,c(x?x+"{"+m.styles+"}":m.styles),g&&(T.inserted[m.name]=!0)}}var T={key:o,sheet:new jb({key:o,container:i,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:a,registered:{},insert:s};return T.sheet.hydrate(l),T};var wo=R(k()),hc=R(k());function Zn(){return Zn=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},Zn.apply(null,arguments)}var HO=!0;function Kl(e,t,o){var r="";return o.split(" ").forEach(function(n){e[n]!==void 0?t.push(e[n]+";"):n&&(r+=n+" ")}),r}var ci=function(t,o,r){var n=t.key+"-"+o.name;(r===!1||HO===!1)&&t.registered[n]===void 0&&(t.registered[n]=o.styles)},pi=function(t,o,r){ci(t,o,r);var n=t.key+"-"+o.name;if(t.inserted[o.name]===void 0){var a=o;do t.insert(o===a?"."+n:"",a,t.sheet,!0),a=a.next;while(a!==void 0)}};function M0(e){for(var t=0,o,r=0,n=e.length;n>=4;++r,n-=4)o=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,o=(o&65535)*1540483477+((o>>>16)*59797<<16),o^=o>>>24,t=(o&65535)*1540483477+((o>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(n){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var A0={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};var VO=!1,IO=/[A-Z]|^ms/g,FO=/_EMO_([^_]+?)_([^]*?)_EMO_/g,D0=function(t){return t.charCodeAt(1)===45},w0=function(t){return t!=null&&typeof t!="boolean"},$d=rc(function(e){return D0(e)?e:e.replace(IO,"-$&").toLowerCase()}),N0=function(t,o){switch(t){case"animation":case"animationName":if(typeof o=="string")return o.replace(FO,function(r,n,a){return lr={name:n,styles:a,next:lr},n})}return A0[t]!==1&&!D0(t)&&typeof o=="number"&&o!==0?o+"px":o},qO="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function Xl(e,t,o){if(o==null)return"";var r=o;if(r.__emotion_styles!==void 0)return r;switch(typeof o){case"boolean":return"";case"object":{var n=o;if(n.anim===1)return lr={name:n.name,styles:n.styles,next:lr},n.name;var a=o;if(a.styles!==void 0){var i=a.next;if(i!==void 0)for(;i!==void 0;)lr={name:i.name,styles:i.styles,next:lr},i=i.next;var l=a.styles+";";return l}return GO(e,t,o)}case"function":{if(e!==void 0){var s=lr,u=o(e);return lr=s,Xl(e,t,u)}break}}var p=o;if(t==null)return p;var f=t[p];return f!==void 0?f:p}function GO(e,t,o){var r="";if(Array.isArray(o))for(var n=0;n<o.length;n++)r+=Xl(e,t,o[n])+";";else for(var a in o){var i=o[a];if(typeof i!="object"){var l=i;t!=null&&t[l]!==void 0?r+=a+"{"+t[l]+"}":w0(l)&&(r+=$d(a)+":"+N0(a,l)+";")}else{if(a==="NO_COMPONENT_SELECTOR"&&VO)throw new Error(qO);if(Array.isArray(i)&&typeof i[0]=="string"&&(t==null||t[i[0]]===void 0))for(var s=0;s<i.length;s++)w0(i[s])&&(r+=$d(a)+":"+N0(a,i[s])+";");else{var u=Xl(e,t,i);switch(a){case"animation":case"animationName":{r+=$d(a)+":"+u+";";break}default:r+=a+"{"+u+"}"}}}}return r}var _0=/label:\s*([^\s;{]+)\s*(;|$)/g,lr;function Pr(e,t,o){if(e.length===1&&typeof e[0]=="object"&&e[0]!==null&&e[0].styles!==void 0)return e[0];var r=!0,n="";lr=void 0;var a=e[0];if(a==null||a.raw===void 0)r=!1,n+=Xl(o,t,a);else{var i=a;n+=i[0]}for(var l=1;l<e.length;l++)if(n+=Xl(o,t,e[l]),r){var s=a;n+=s[l]}_0.lastIndex=0;for(var u="",p;(p=_0.exec(n))!==null;)u+="-"+p[1];var f=M0(n)+u;return{name:f,styles:n,next:lr}}var Ql=R(k()),$O=function(t){return t()},z0=Ql.useInsertionEffect?Ql.useInsertionEffect:!1,Zl=z0||$O,Yd=z0||Ql.useLayoutEffect;var B0=!1,k0=wo.createContext(typeof HTMLElement<"u"?nc({key:"css"}):null),Xd=k0.Provider;var fi=function(t){return(0,hc.forwardRef)(function(o,r){var n=(0,hc.useContext)(k0);return t(o,n,r)})},Ko=wo.createContext({});var gc={}.hasOwnProperty,Kd="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",U0=function(t,o){var r={};for(var n in o)gc.call(o,n)&&(r[n]=o[n]);return r[Kd]=t,r},YO=function(t){var o=t.cache,r=t.serialized,n=t.isStringTag;return ci(o,r,n),Zl(function(){return pi(o,r,n)}),null},KO=fi(function(e,t,o){var r=e.css;typeof r=="string"&&t.registered[r]!==void 0&&(r=t.registered[r]);var n=e[Kd],a=[r],i="";typeof e.className=="string"?i=Kl(t.registered,a,e.className):e.className!=null&&(i=e.className+" ");var l=Pr(a,void 0,wo.useContext(Ko));i+=t.key+"-"+l.name;var s={};for(var u in e)gc.call(e,u)&&u!=="css"&&u!==Kd&&!B0&&(s[u]=e[u]);return s.className=i,o&&(s.ref=o),wo.createElement(wo.Fragment,null,wo.createElement(YO,{cache:t,serialized:l,isStringTag:typeof n=="string"}),wo.createElement(n,s))}),j0=KO;var an=R(k());var X4=R(O0()),L0=function(t,o){var r=arguments;if(o==null||!gc.call(o,"css"))return an.createElement.apply(void 0,r);var n=r.length,a=new Array(n);a[0]=j0,a[1]=U0(t,o);for(var i=2;i<n;i++)a[i]=r[i];return an.createElement.apply(null,a)};(function(e){var t;t||(t=e.JSX||(e.JSX={}))})(L0||(L0={}));var H0=fi(function(e,t){var o=e.styles,r=Pr([o],void 0,an.useContext(Ko)),n=an.useRef();return Yd(function(){var a=t.key+"-global",i=new t.sheet.constructor({key:a,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),l=!1,s=document.querySelector('style[data-emotion="'+a+" "+r.name+'"]');return t.sheet.tags.length&&(i.before=t.sheet.tags[0]),s!==null&&(l=!0,s.setAttribute("data-emotion",a),i.hydrate([s])),n.current=[i,l],function(){i.flush()}},[t]),Yd(function(){var a=n.current,i=a[0],l=a[1];if(l){a[1]=!1;return}if(r.next!==void 0&&pi(t,r.next,!0),i.tags.length){var s=i.tags[i.tags.length-1].nextElementSibling;i.before=s,i.flush()}t.insert("",r,i,!1)},[t,r.name]),null});function ln(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return Pr(t)}function Xo(){var e=ln.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}var sR=R(g1(),1);var EA=["keydown","keyup","keypress"];function b1(e){for(let t of EA)e.addEventListener(t,o=>o.stopPropagation())}var PA={black:"#000",white:"#fff"},rl=PA;var RA={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},ba=RA;var OA={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},Ta=OA;var MA={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},va=MA;var AA={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},xa=AA;var wA={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"},Sa=wA;var NA={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},nl=NA;var _A={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},T1=_A;function bt(e,...t){let o=new URL(`https://mui.com/production-error/?code=${e}`);return t.forEach(r=>o.searchParams.append("args[]",r)),`Minified MUI error #${e}; visit ${o} for the full message.`}var wt="$$material";var kn=R(k());var DA=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|popover|popoverTarget|popoverTargetAction|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,v1=rc(function(e){return DA.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91});var zA=!1,BA=v1,kA=function(t){return t!=="theme"},x1=function(t){return typeof t=="string"&&t.charCodeAt(0)>96?BA:kA},S1=function(t,o,r){var n;if(o){var a=o.shouldForwardProp;n=t.__emotion_forwardProp&&a?function(i){return t.__emotion_forwardProp(i)&&a(i)}:a}return typeof n!="function"&&r&&(n=t.__emotion_forwardProp),n},UA=function(t){var o=t.cache,r=t.serialized,n=t.isStringTag;return ci(o,r,n),Zl(function(){return pi(o,r,n)}),null},C1=function e(t,o){var r=t.__emotion_real===t,n=r&&t.__emotion_base||t,a,i;o!==void 0&&(a=o.label,i=o.target);var l=S1(t,o,r),s=l||x1(n),u=!s("as");return function(){var p=arguments,f=r&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(a!==void 0&&f.push("label:"+a+";"),p[0]==null||p[0].raw===void 0)f.push.apply(f,p);else{var d=p[0];f.push(d[0]);for(var c=p.length,T=1;T<c;T++)f.push(p[T],d[T])}var v=fi(function(x,m,h){var g=u&&x.as||n,b="",E=[],S=x;if(x.theme==null){S={};for(var C in x)S[C]=x[C];S.theme=kn.useContext(Ko)}typeof x.className=="string"?b=Kl(m.registered,E,x.className):x.className!=null&&(b=x.className+" ");var O=Pr(f.concat(E),m.registered,S);b+=m.key+"-"+O.name,i!==void 0&&(b+=" "+i);var w=u&&l===void 0?x1(g):s,_={};for(var M in x)u&&M==="as"||w(M)&&(_[M]=x[M]);return _.className=b,h&&(_.ref=h),kn.createElement(kn.Fragment,null,kn.createElement(UA,{cache:m,serialized:O,isStringTag:typeof g=="string"}),kn.createElement(g,_))});return v.displayName=a!==void 0?a:"Styled("+(typeof n=="string"?n:n.displayName||n.name||"Component")+")",v.defaultProps=t.defaultProps,v.__emotion_real=v,v.__emotion_base=n,v.__emotion_styles=f,v.__emotion_forwardProp=l,Object.defineProperty(v,"toString",{value:function(){return i===void 0&&zA?"NO_COMPONENT_SELECTOR":"."+i}}),v.withComponent=function(x,m){var h=e(x,Zn({},o,m,{shouldForwardProp:S1(v,m,!0)}));return h.apply(void 0,f)},v}};var Nz=R(k());var jA=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],Kp=C1.bind(null);jA.forEach(function(e){Kp[e]=Kp(e)});var O1=R(L(),1);function VA(e){return e==null||Object.keys(e).length===0}function Ca(e){let{styles:t,defaultTheme:o={}}=e;return(0,O1.jsx)(H0,{styles:typeof t=="function"?n=>t(VA(n)?o:n):t})}function Js(e,t){return Kp(e,t)}function A1(e,t){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}var M1=[];function Jo(e){return M1[0]=e,Pr(M1)}var wh=R(k(),1),Nh=R(_1(),1);function er(e){if(typeof e!="object"||e===null)return!1;let t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function D1(e){if(wh.isValidElement(e)||(0,Nh.isValidElementType)(e)||!er(e))return e;let t={};return Object.keys(e).forEach(o=>{t[o]=D1(e[o])}),t}function Te(e,t,o={clone:!0}){let r=o.clone?{...e}:e;return er(e)&&er(t)&&Object.keys(t).forEach(n=>{wh.isValidElement(t[n])||(0,Nh.isValidElementType)(t[n])?r[n]=t[n]:er(t[n])&&Object.prototype.hasOwnProperty.call(e,n)&&er(e[n])?r[n]=Te(e[n],t[n],o):o.clone?r[n]=er(t[n])?D1(t[n]):t[n]:r[n]=t[n]}),r}var qA=e=>{let t=Object.keys(e).map(o=>({key:o,val:e[o]}))||[];return t.sort((o,r)=>o.val-r.val),t.reduce((o,r)=>({...o,[r.key]:r.val}),{})};function eu(e){let{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:o="px",step:r=5,...n}=e,a=qA(t),i=Object.keys(a);function l(c){return`@media (min-width:${typeof t[c]=="number"?t[c]:c}${o})`}function s(c){return`@media (max-width:${(typeof t[c]=="number"?t[c]:c)-r/100}${o})`}function u(c,T){let v=i.indexOf(T);return`@media (min-width:${typeof t[c]=="number"?t[c]:c}${o}) and (max-width:${(v!==-1&&typeof t[i[v]]=="number"?t[i[v]]:T)-r/100}${o})`}function p(c){return i.indexOf(c)+1<i.length?u(c,i[i.indexOf(c)+1]):l(c)}function f(c){let T=i.indexOf(c);return T===0?l(i[1]):T===i.length-1?s(i[T]):u(c,i[i.indexOf(c)+1]).replace("@media","@media not all and")}let d=[];for(let c=0;c<i.length;c+=1)d.push(l(i[c]));return{keys:i,values:a,up:l,down:s,between:u,only:p,not:f,unit:o,internal_mediaKeys:d,...n}}var z1=/min-width:\s*([0-9.]+)/;function lf(e,t){if(!e.containerQueries||!GA(t))return t;let o=[];for(let n in t)n.startsWith("@container")&&o.push(n);o.sort((n,a)=>+(n.match(z1)?.[1]||0)-+(a.match(z1)?.[1]||0));let r=t;for(let n=0;n<o.length;n+=1){let a=o[n],i=r[a];delete r[a],r[a]=i}return r}function GA(e){for(let t in e)if(t.startsWith("@container"))return!0;return!1}function sf(e,t){return t==="@"||t.startsWith("@")&&(e.some(o=>t.startsWith(`@${o}`))||!!t.match(/^@\d/))}function _h(e,t){let o=t.match(/^@([^/]+)?\/?(.+)?$/);if(!o)return null;let[,r,n]=o,a=Number.isNaN(+r)?r||0:+r;return e.containerQueries(n).up(a)}function uf(e){let t=(a,i)=>a.replace("@media",i?`@container ${i}`:"@container");function o(a,i){a.up=(...l)=>t(e.breakpoints.up(...l),i),a.down=(...l)=>t(e.breakpoints.down(...l),i),a.between=(...l)=>t(e.breakpoints.between(...l),i),a.only=(...l)=>t(e.breakpoints.only(...l),i),a.not=(...l)=>{let s=t(e.breakpoints.not(...l),i);return s.includes("not all and")?s.replace("not all and ","").replace("min-width:","width<").replace("max-width:","width>").replace("and","or"):s}}let r={},n=a=>(o(r,a),r);return o(n),{...e,containerQueries:n}}var $A={borderRadius:4},B1=$A;function al(e){if(e==null)return!0;for(let t in e)return!1;return!0}function yr(e,t){let o=Array.isArray(t),r=Array.isArray(e);return ZA(t)?t:WA(e)?il(t):o&&r?XA(e,t):o!==r?il(t):JA(e,t)}function YA(e){let t=0,o=e.length,r=new Array(o);for(t=0;t<o;t+=1)r[t]=il(e[t]);return r}function KA(e){let t={};for(let o in e)t[o]=il(e[o]);return t}function XA(e,t){let o=e.length;for(let r=0;r<t.length;r+=1)e[o+r]=il(t[r]);return e}function QA(e){return typeof e=="object"&&e!==null&&!(e instanceof RegExp)&&!(e instanceof Date)}function ZA(e){return typeof e!="object"||e===null}function WA(e){return typeof e!="object"||e===null||e instanceof RegExp||e instanceof Date}function il(e){return QA(e)?Array.isArray(e)?YA(e):KA(e):e}function JA(e,t){for(let o in t)o in e?e[o]=yr(e[o],t[o]):e[o]=il(t[o]);return e}var ew={},ou={xs:0,sm:600,md:900,lg:1200,xl:1536},tu=eu({values:ou}),tw={containerQueries:e=>({up:t=>{let o=typeof t=="number"?t:ou[t]||t;return typeof o=="number"&&(o=`${o}px`),e?`@container ${e} (min-width:${o})`:`@container (min-width:${o})`}})};function So(e,t,o){let r={};return ll(r,e.theme,t,(n,a,i)=>{let l=o(a,i);n?r[n]=l:yr(r,l)})}function ll(e,t,o,r){if(t??(t=ew),Array.isArray(o)){let n=t.breakpoints??tu;for(let a=0;a<o.length;a+=1)Dh(e,n.up(n.keys[a]),o[a],void 0,r);return e}if(typeof o=="object"){let n=t.breakpoints??tu,a=n.values??ou;for(let i in o)if(sf(n.keys,i)){let l=_h(t.containerQueries?t:tw,i);l&&Dh(e,l,o[i],i,r)}else if(i in a){let l=n.up(i);Dh(e,l,o[i],i,r)}else{let l=i;e[l]=o[l]}return e}return r(void 0,o),e}function Dh(e,t,o,r,n){e[t]??(e[t]={}),n(t,o,r)}function zh(e=tu){let{internal_mediaKeys:t}=e,o={};for(let r=0;r<t.length;r+=1)o[t[r]]={};return o}function cf(e,t){let o=e.internal_mediaKeys;for(let r=0;r<o.length;r+=1){let n=o[r];al(t[n])&&delete t[n]}return t}function k1(e,...t){let r=[zh(e),...t].reduce((n,a)=>Te(n,a),{});return cf(e,r)}function ow(e,t){if(typeof e!="object")return{};let o={},r=Object.keys(t);return Array.isArray(e)?r.forEach((n,a)=>{a<e.length&&(o[n]=!0)}):r.forEach(n=>{e[n]!=null&&(o[n]=!0)}),o}function pf({values:e,breakpoints:t,base:o}){let r=o||ow(e,t),n=Object.keys(r);if(n.length===0)return e;let a;return n.reduce((i,l,s)=>(Array.isArray(e)?(i[l]=e[s]!=null?e[s]:e[a],a=s):typeof e=="object"?(i[l]=e[l]!=null?e[l]:e[a],a=l):i[l]=e,i),{})}function U1(e,t){if(Array.isArray(t))return!0;if(typeof t=="object"&&t!==null){for(let r=0;r<e.keys.length;r+=1)if(e.keys[r]in t)return!0;let o=Object.keys(t);for(let r=0;r<o.length;r+=1)if(sf(e.keys,o[r]))return!0}return!1}function sl(e){if(typeof e!="string")throw new Error(bt(7));return e.charAt(0).toUpperCase()+e.slice(1)}function Bh(e,t,o,r){let n;return typeof e=="function"?n=e(o):Array.isArray(e)?n=e[o]||o:typeof o=="string"?n=ul(e,o,!0,r)||o:n=o,t&&(n=t(n,o,e)),n}function ul(e,t,o=!0,r=void 0){if(!e||!t)return null;let n=t.split(".");if(e.vars&&o){let a=j1(e.vars,n,r);if(a!=null)return a}return j1(e,n,r)}function j1(e,t,o=void 0){let r,n=e,a=0;for(;a<t.length;){if(n==null)return n;r=n,n=n[t[a]],a+=1}if(o&&n===void 0){let i=t[t.length-1],l=`${o}${i==="default"?"":sl(i)}`;return r?.[l]}return n}function we(e){let{prop:t,cssProperty:o=e.prop,themeKey:r,transform:n}=e,a=i=>{if(i[t]==null)return null;let l=i[t],s=i.theme,u=ul(s,r)||{};return So(i,l,f=>{let d=Bh(u,n,f,t);return o===!1?d:{[o]:d}})};return a.propTypes={},a.filterProps=[t],a}var rw={internal_cache:{}},ff={m:"margin",p:"padding"},L1={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},H1={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},ru={};for(let e in ff)ru[e]=[ff[e]];for(let e in ff)for(let t in L1){let o=ff[e],r=L1[t],n=Array.isArray(r)?r.map(a=>o+a):[o+r];ru[e+t]=n}for(let e in H1)ru[e]=ru[H1[e]];var kh=new Set(["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"]),Uh=new Set(["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"]),I1=new Set([...kh,...Uh]);function Ea(e,t,o,r){let n=ul(e,t,!0)??o;return typeof n=="number"||typeof n=="string"?a=>typeof a=="string"?a:typeof n=="string"?n.startsWith("var(")&&a===0?0:n.startsWith("var(")&&a===1?n:`calc(${a} * ${n})`:n*a:Array.isArray(n)?a=>{if(typeof a=="string")return a;let i=Math.abs(a),l=n[i];return a>=0?l:typeof l=="number"?-l:typeof l=="string"&&l.startsWith("var(")?`calc(-1 * ${l})`:`-${l}`}:typeof n=="function"?n:()=>{}}function Pa(e){return Ea(e,"spacing",8,"spacing")}function hr(e,t){return typeof t=="string"||t==null?t:e(t)}var V1=[""];function jh(e,t){let o=e.theme??rw,r=o?.internal_cache?.unarySpacing??Pa(o),n={};for(let a in e){if(!t.has(a))continue;let i=ru[a]??(V1[0]=a,V1),l=e[a];ll(n,e.theme,l,(s,u)=>{let p=s?n[s]:n;for(let f=0;f<i.length;f+=1)p[i[f]]=hr(r,u)})}return n}function $e(e){return jh(e,kh)}$e.propTypes={};$e.filterProps=kh;function Ye(e){return jh(e,Uh)}Ye.propTypes={};Ye.filterProps=Uh;function F1(e){return jh(e,I1)}F1.propTypes={};F1.filterProps=I1;function cl(e=8,t=Pa({spacing:e})){if(e.mui)return e;let o=(...r)=>(r.length===0?[1]:r).map(a=>{let i=t(a);return typeof i=="number"?`${i}px`:i}).join(" ");return o.mui=!0,o}function nw(...e){let t=e.reduce((r,n)=>(n.filterProps.forEach(a=>{r[a]=n}),r),{}),o=r=>{let n={};for(let a in r)t[a]&&yr(n,t[a](r));return n};return o.propTypes={},o.filterProps=e.reduce((r,n)=>r.concat(n.filterProps),[]),o}var $r=nw;function Co(e){return typeof e!="number"?e:`${e}px solid`}function Fo(e,t){return we({prop:e,themeKey:"borders",transform:t})}var aw=Fo("border",Co),iw=Fo("borderTop",Co),lw=Fo("borderRight",Co),sw=Fo("borderBottom",Co),uw=Fo("borderLeft",Co),cw=Fo("borderColor"),pw=Fo("borderTopColor"),fw=Fo("borderRightColor"),dw=Fo("borderBottomColor"),mw=Fo("borderLeftColor"),yw=Fo("outline",Co),hw=Fo("outlineColor"),nu=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){let t=Ea(e.theme,"shape.borderRadius",4,"borderRadius"),o=r=>({borderRadius:hr(t,r)});return So(e,e.borderRadius,o)}return null};nu.propTypes={};nu.filterProps=["borderRadius"];var j6=$r(aw,iw,lw,sw,uw,cw,pw,fw,dw,mw,nu,yw,hw);var au=e=>{if(e.gap!==void 0&&e.gap!==null){let t=Ea(e.theme,"spacing",8,"gap"),o=r=>({gap:hr(t,r)});return So(e,e.gap,o)}return null};au.propTypes={};au.filterProps=["gap"];var iu=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){let t=Ea(e.theme,"spacing",8,"columnGap"),o=r=>({columnGap:hr(t,r)});return So(e,e.columnGap,o)}return null};iu.propTypes={};iu.filterProps=["columnGap"];var lu=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){let t=Ea(e.theme,"spacing",8,"rowGap"),o=r=>({rowGap:hr(t,r)});return So(e,e.rowGap,o)}return null};lu.propTypes={};lu.filterProps=["rowGap"];var gw=we({prop:"gridColumn"}),bw=we({prop:"gridRow"}),Tw=we({prop:"gridAutoFlow"}),vw=we({prop:"gridAutoColumns"}),xw=we({prop:"gridAutoRows"}),Sw=we({prop:"gridTemplateColumns"}),Cw=we({prop:"gridTemplateRows"}),Ew=we({prop:"gridTemplateAreas"}),Pw=we({prop:"gridArea"}),q6=$r(au,iu,lu,gw,bw,Tw,vw,xw,Sw,Cw,Ew,Pw);function Ra(e,t){return t==="grey"?t:e}var Rw=we({prop:"color",themeKey:"palette",transform:Ra}),Ow=we({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Ra}),Mw=we({prop:"backgroundColor",themeKey:"palette",transform:Ra}),K6=$r(Rw,Ow,Mw);function no(e){return e<=1&&e!==0?`${e*100}%`:e}var Aw=we({prop:"width",transform:no}),df=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){let t=o=>{let r=e.theme?.breakpoints?.values?.[o]||ou[o];return r?e.theme?.breakpoints?.unit!=="px"?{maxWidth:`${r}${e.theme.breakpoints.unit}`}:{maxWidth:r}:{maxWidth:no(o)}};return So(e,e.maxWidth,t)}return null};df.filterProps=["maxWidth"];var ww=we({prop:"minWidth",transform:no}),Nw=we({prop:"height",transform:no}),_w=we({prop:"maxHeight",transform:no}),Dw=we({prop:"minHeight",transform:no}),J6=we({prop:"size",cssProperty:"width",transform:no}),eB=we({prop:"size",cssProperty:"height",transform:no}),zw=we({prop:"boxSizing"}),tB=$r(Aw,df,ww,Nw,_w,Dw,zw);var Bw={border:{themeKey:"borders",transform:Co},borderTop:{themeKey:"borders",transform:Co},borderRight:{themeKey:"borders",transform:Co},borderBottom:{themeKey:"borders",transform:Co},borderLeft:{themeKey:"borders",transform:Co},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:Co},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:nu},color:{themeKey:"palette",transform:Ra},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Ra},backgroundColor:{themeKey:"palette",transform:Ra},p:{style:Ye},pt:{style:Ye},pr:{style:Ye},pb:{style:Ye},pl:{style:Ye},px:{style:Ye},py:{style:Ye},padding:{style:Ye},paddingTop:{style:Ye},paddingRight:{style:Ye},paddingBottom:{style:Ye},paddingLeft:{style:Ye},paddingX:{style:Ye},paddingY:{style:Ye},paddingInline:{style:Ye},paddingInlineStart:{style:Ye},paddingInlineEnd:{style:Ye},paddingBlock:{style:Ye},paddingBlockStart:{style:Ye},paddingBlockEnd:{style:Ye},m:{style:$e},mt:{style:$e},mr:{style:$e},mb:{style:$e},ml:{style:$e},mx:{style:$e},my:{style:$e},margin:{style:$e},marginTop:{style:$e},marginRight:{style:$e},marginBottom:{style:$e},marginLeft:{style:$e},marginX:{style:$e},marginY:{style:$e},marginInline:{style:$e},marginInlineStart:{style:$e},marginInlineEnd:{style:$e},marginBlock:{style:$e},marginBlockStart:{style:$e},marginBlockEnd:{style:$e},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:au},rowGap:{style:lu},columnGap:{style:iu},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:no},maxWidth:{style:df},minWidth:{transform:no},height:{transform:no},maxHeight:{transform:no},minHeight:{transform:no},boxSizing:{},font:{themeKey:"font"},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}},Yr=Bw;var kw={};function Uw(){function e(t){if(!t.sx)return null;let{sx:o,theme:r=kw,nested:n}=t,a=r.unstable_sxConfig??Yr,i={sx:null,theme:r,nested:!0};function l(s){let u=s;if(typeof s=="function")u=s(r);else if(typeof s!="object")return s;if(!u)return null;let p=r.breakpoints??tu,f=zh(p);for(let d in u){let c=jw(u[d],r);if(c!=null){if(typeof c!="object"){q1(f,d,c,r,a);continue}if(a[d]){q1(f,d,c,r,a);continue}U1(p,c)?ll(f,t.theme,c,(T,v)=>{f[T][d]=v}):(i.sx=c,f[d]=e(i))}}return!n&&r.modularCssLayers?{"@layer sx":lf(r,cf(p,f))}:lf(r,cf(p,f))}return Array.isArray(o)?o.map(l):l(o)}return e.filterProps=["sx"],e}var ao=Uw();function q1(e,t,o,r,n){let a=n[t];if(!a){e[t]=o;return}if(o==null)return;let{themeKey:i}=a;if(i==="typography"&&o==="inherit"){e[t]=o;return}let{style:l}=a;if(l){yr(e,l({[t]:o,theme:r}));return}let{cssProperty:s=t,transform:u}=a,p=ul(r,i);ll(e,r,o,(f,d)=>{let c=Bh(p,u,d,t);s===!1?f?e[f]=c:yr(e,c):f?e[f][s]=c:e[s]=c})}function jw(e,t){return typeof e=="function"?e(t):e}function Lh(e,t){let o=this;if(o.vars){if(!o.colorSchemes?.[e]||typeof o.getColorSchemeSelector!="function")return{};let r=o.getColorSchemeSelector(e);return r==="&"?t:((r.includes("data-")||r.includes("."))&&(r=`*:where(${r.replace(/\s*&$/,"")}) &`),{[r]:t})}return o.palette.mode===e?t:{}}function Lw(e={},...t){let{breakpoints:o={},palette:r={},spacing:n,shape:a={},...i}=e,l=eu(o),s=cl(n),u=Te({breakpoints:l,direction:"ltr",components:{},palette:{mode:"light",...r},spacing:s,shape:{...B1,...a}},i);return u=uf(u),u.applyStyles=Lh,u=t.reduce((p,f)=>Te(p,f),u),u.unstable_sxConfig={...Yr,...i?.unstable_sxConfig},u.unstable_sx=function(f){return ao({sx:f,theme:this})},u.internal_cache={},u}var Kr=Lw;var G1=R(k(),1);function Hw(e){return Object.keys(e).length===0}function Vw(e=null){let t=G1.useContext(Ko);return!t||Hw(t)?e:t}var Oa=Vw;var Iw=Kr();function Fw(e=Iw){return Oa(e)}var gr=Fw;var $1=R(L(),1);function Hh(e){let t=Jo(e);return e!==t&&t.styles?(t.styles.match(/^@layer\s+[^{]*$/)||(t.styles=`@layer global{${t.styles}}`),t):e}function qw({styles:e,themeId:t,defaultTheme:o={}}){let r=gr(o),n=t&&r[t]||r,a=typeof e=="function"?e(n):e;return n.modularCssLayers&&(Array.isArray(a)?a=a.map(i=>Hh(typeof i=="function"?i(n):i)):a=Hh(a)),(0,$1.jsx)(Ca,{styles:a})}var pl=qw;var Y1=e=>e,Gw=()=>{let e=Y1;return{configure(t){e=t},generate(t){return e(t)},reset(){e=Y1}}},$w=Gw(),fl=$w;var X1=R(k(),1);function K1(e){var t,o,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var n=e.length;for(t=0;t<n;t++)e[t]&&(o=K1(e[t]))&&(r&&(r+=" "),r+=o)}else for(o in e)e[o]&&(r&&(r+=" "),r+=o);return r}function Yw(){for(var e,t,o=0,r="",n=arguments.length;o<n;o++)(e=arguments[o])&&(t=K1(e))&&(r&&(r+=" "),r+=t);return r}var H=Yw;var Q1=R(L(),1);function su(e={}){let{themeId:t,defaultTheme:o,defaultClassName:r="MuiBox-root",generateClassName:n}=e,a=Js("div",{shouldForwardProp:l=>l!=="theme"&&l!=="sx"&&l!=="as"})(ao);return X1.forwardRef(function(s,u){let p=gr(o),{className:f,component:d="div",...c}=s;return(0,Q1.jsx)(a,{as:d,ref:u,className:H(f,n?n(r):r),theme:t&&p[t]||p,...c})})}var Kw={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function F(e,t,o="Mui"){let r=Kw[t];return r?`${o}-${r}`:`${fl.generate(e)}-${t}`}function q(e,t,o="Mui"){let r={};return t.forEach(n=>{r[n]=F(e,n,o)}),r}function uu(e){let{variants:t,...o}=e,r={variants:t,style:Jo(o),isProcessed:!0};return r.style===o||t&&t.forEach(n=>{typeof n.style!="function"&&(n.style=Jo(n.style))}),r}var Xw=Kr();function Vh(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}function Ma(e,t){return t&&e&&typeof e=="object"&&e.styles&&!e.styles.startsWith("@layer")&&(e.styles=`@layer ${t}{${String(e.styles)}}`),e}function Qw(e){return e?(t,o)=>o[e]:null}function Zw(e,t,o){e.theme=al(e.theme)?o:e.theme[t]||e.theme}function mf(e,t,o){let r=typeof t=="function"?t(e):t;if(Array.isArray(r))return r.flatMap(n=>mf(e,n,o));if(Array.isArray(r?.variants)){let n;if(r.isProcessed)n=o?Ma(r.style,o):r.style;else{let{variants:a,...i}=r;n=o?Ma(Jo(i),o):i}return Z1(e,r.variants,[n],o)}return r?.isProcessed?o?Ma(Jo(r.style),o):r.style:o?Ma(Jo(r),o):r}function Z1(e,t,o=[],r=void 0){let n;e:for(let a=0;a<t.length;a+=1){let i=t[a];if(typeof i.props=="function"){if(n??(n={...e,...e.ownerState,ownerState:e.ownerState}),!i.props(n))continue}else for(let l in i.props)if(e[l]!==i.props[l]&&e.ownerState?.[l]!==i.props[l])continue e;typeof i.style=="function"?(n??(n={...e,...e.ownerState,ownerState:e.ownerState}),o.push(r?Ma(Jo(i.style(n)),r):i.style(n))):o.push(r?Ma(Jo(i.style),r):i.style)}return o}function dl(e={}){let{themeId:t,defaultTheme:o=Xw,rootShouldForwardProp:r=Vh,slotShouldForwardProp:n=Vh}=e;function a(l){Zw(l,t,o)}return(l,s={})=>{A1(l,S=>S.filter(C=>C!==ao));let{name:u,slot:p,skipVariantsResolver:f,skipSx:d,overridesResolver:c=Qw(eN(p)),...T}=s,v=u&&u.startsWith("Mui")||p?"components":"custom",x=f!==void 0?f:p&&p!=="Root"&&p!=="root"||!1,m=d||!1,h=Vh;p==="Root"||p==="root"?h=r:p?h=n:Jw(l)&&(h=void 0);let g=Js(l,{shouldForwardProp:h,label:Ww(u,p),...T}),b=S=>{if(S.__emotion_real===S)return S;if(typeof S=="function")return function(O){return mf(O,S,O.theme.modularCssLayers?v:void 0)};if(er(S)){let C=uu(S);return function(w){return C.variants?mf(w,C,w.theme.modularCssLayers?v:void 0):w.theme.modularCssLayers?Ma(C.style,v):C.style}}return S},E=(...S)=>{let C=[],O=S.map(b),w=[];if(C.push(a),u&&c&&w.push(function(N){let A=N.theme.components?.[u]?.styleOverrides;if(!A)return null;let B={};for(let U in A)B[U]=mf(N,A[U],N.theme.modularCssLayers?"theme":void 0);return c(N,B)}),u&&!x&&w.push(function(N){let A=N.theme?.components?.[u]?.variants;return A?Z1(N,A,[],N.theme.modularCssLayers?"theme":void 0):null}),m||w.push(ao),Array.isArray(O[0])){let y=O.shift(),N=new Array(C.length).fill(""),P=new Array(w.length).fill(""),A;A=[...N,...y,...P],A.raw=[...N,...y.raw,...P],C.unshift(A)}let _=[...C,...O,...w],M=g(..._);return l.muiName&&(M.muiName=l.muiName),M};return g.withConfig&&(E.withConfig=g.withConfig),E}}function Ww(e,t){return void 0}function Jw(e){return typeof e=="string"&&e.charCodeAt(0)>96}function eN(e){return e&&e.charAt(0).toLowerCase()+e.slice(1)}var tN=dl(),Ih=tN;function br(e,t,o=!1){let r={...t};for(let n in e)if(Object.prototype.hasOwnProperty.call(e,n)){let a=n;if(a==="components"||a==="slots")r[a]={...e[a],...r[a]};else if(a==="componentsProps"||a==="slotProps"){let i=e[a],l=t[a];if(!l)r[a]=i||{};else if(!i)r[a]=l;else{r[a]={...l};for(let s in i)if(Object.prototype.hasOwnProperty.call(i,s)){let u=s;r[a][u]=br(i[u],l[u],o)}}}else a==="className"&&o&&t.className?r.className=H(e?.className,t?.className):a==="style"&&o&&t.style?r.style={...e?.style,...t?.style}:r[a]===void 0&&(r[a]=e[a])}return r}function Fh(e){let{theme:t,name:o,props:r}=e;return!t||!t.components||!t.components[o]||!t.components[o].defaultProps?r:br(t.components[o].defaultProps,r)}function yf({props:e,name:t,defaultTheme:o,themeId:r}){let n=gr(o);return r&&(n=n[r]||n),Fh({theme:n,name:t,props:e})}var hf=R(k(),1),oN=typeof window<"u"?hf.useLayoutEffect:hf.useEffect,Kt=oN;function rN(e,t=Number.MIN_SAFE_INTEGER,o=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,o))}var qh=rN;function Gh(e,t=0,o=1){return qh(e,t,o)}function W1(e){e=e.slice(1);let t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g"),o=e.match(t);return o&&o[0].length===1&&(o=o.map(r=>r+r)),o?`rgb${o.length===4?"a":""}(${o.map((r,n)=>n<3?parseInt(r,16):Math.round(parseInt(r,16)/255*1e3)/1e3).join(", ")})`:""}function Xr(e){if(e.type)return e;if(e.charAt(0)==="#")return Xr(W1(e));let t=e.indexOf("("),o=e.substring(0,t);if(!["rgb","rgba","hsl","hsla","color"].includes(o))throw new Error(bt(9,e));let r=e.substring(t+1,e.length-1),n;if(o==="color"){if(r=r.split(" "),n=r.shift(),r.length===4&&r[3].charAt(0)==="/"&&(r[3]=r[3].slice(1)),!["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].includes(n))throw new Error(bt(10,n))}else r=r.split(",");return r=r.map(a=>parseFloat(a)),{type:o,values:r,colorSpace:n}}var nN=e=>{let t=Xr(e);return t.values.slice(0,3).map((o,r)=>t.type.includes("hsl")&&r!==0?`${o}%`:o).join(" ")},ml=(e,t)=>{try{return nN(e)}catch{return e}};function cu(e){let{type:t,colorSpace:o}=e,{values:r}=e;return t.includes("rgb")?r=r.map((n,a)=>a<3?parseInt(n,10):n):t.includes("hsl")&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),t.includes("color")?r=`${o} ${r.join(" ")}`:r=`${r.join(", ")}`,`${t}(${r})`}function bf(e){e=Xr(e);let{values:t}=e,o=t[0],r=t[1]/100,n=t[2]/100,a=r*Math.min(n,1-n),i=(u,p=(u+o/30)%12)=>n-a*Math.max(Math.min(p-3,9-p,1),-1),l="rgb",s=[Math.round(i(0)*255),Math.round(i(8)*255),Math.round(i(4)*255)];return e.type==="hsla"&&(l+="a",s.push(t[3])),cu({type:l,values:s})}function gf(e){e=Xr(e);let t=e.type==="hsl"||e.type==="hsla"?Xr(bf(e)).values:e.values;return t=t.map(o=>(e.type!=="color"&&(o/=255),o<=.03928?o/12.92:((o+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function $h(e,t){let o=gf(e),r=gf(t);return(Math.max(o,r)+.05)/(Math.min(o,r)+.05)}function kt(e,t){return e=Xr(e),t=Gh(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,cu(e)}function Un(e,t,o){try{return kt(e,t)}catch{return e}}function Aa(e,t){if(e=Xr(e),t=Gh(t),e.type.includes("hsl"))e.values[2]*=1-t;else if(e.type.includes("rgb")||e.type.includes("color"))for(let o=0;o<3;o+=1)e.values[o]*=1-t;return cu(e)}function ve(e,t,o){try{return Aa(e,t)}catch{return e}}function wa(e,t){if(e=Xr(e),t=Gh(t),e.type.includes("hsl"))e.values[2]+=(100-e.values[2])*t;else if(e.type.includes("rgb"))for(let o=0;o<3;o+=1)e.values[o]+=(255-e.values[o])*t;else if(e.type.includes("color"))for(let o=0;o<3;o+=1)e.values[o]+=(1-e.values[o])*t;return cu(e)}function xe(e,t,o){try{return wa(e,t)}catch{return e}}function J1(e,t=.15){return gf(e)>.5?Aa(e,t):wa(e,t)}function pu(e,t,o){try{return J1(e,t)}catch{return e}}var yC=R(k(),1);var oC=R(k(),1);var eC=R(k(),1),aN=eC.createContext(null),Tf=aN;var Yh=R(k(),1);function Qr(){return Yh.useContext(Tf)}var iN=typeof Symbol=="function"&&Symbol.for,tC=iN?Symbol.for("mui.nested"):"__THEME_NESTED__";var rC=R(L(),1);function lN(e,t){return typeof t=="function"?t(e):{...e,...t}}function sN(e){let{children:t,theme:o}=e,r=Qr(),n=oC.useMemo(()=>{let a=r===null?{...o}:lN(r,o);return a!=null&&(a[tC]=r!==null),a},[o,r]);return(0,rC.jsx)(Tf.Provider,{value:n,children:t})}var vf=sN;var xf=R(k(),1);var nC=R(L(),1),aC=xf.createContext();function uN({value:e,...t}){return(0,nC.jsx)(aC.Provider,{value:e??!0,...t})}var iC=()=>xf.useContext(aC)??!1,lC=uN;var Sf=R(k(),1);var sC=R(L(),1),uC=Sf.createContext(void 0);function cN({value:e,children:t}){return(0,sC.jsx)(uC.Provider,{value:e,children:t})}function pN(e){let{theme:t,name:o,props:r}=e;if(!t||!t.components||!t.components[o])return r;let n=t.components[o];return n.defaultProps?br(n.defaultProps,r,t.components.mergeClassNameAndStyle):!n.styleOverrides&&!n.variants?br(n,r,t.components.mergeClassNameAndStyle):r}function Kh({props:e,name:t}){let o=Sf.useContext(uC);return pN({props:e,name:t,theme:{components:o}})}var Cf=cN;var fu=R(k(),1),cC=0;function fN(e){let[t,o]=fu.useState(e),r=e||t;return fu.useEffect(()=>{t==null&&(cC+=1,o(`mui-${cC}`))},[t]),r}var dN={...fu},pC=dN.useId;function tr(e){if(pC!==void 0){let t=pC();return e??t}return fN(e)}var fC=R(L(),1);function Xh(e){let t=Oa(),o=tr()||"",{modularCssLayers:r}=e,n="mui.global, mui.components, mui.theme, mui.custom, mui.sx";return!r||t!==null?n="":typeof r=="string"?n=r.replace(/mui(?!\.)/g,n):n=`@layer ${n};`,Kt(()=>{let a=document.querySelector("head");if(!a)return;let i=a.firstChild;if(n){if(i&&i.hasAttribute?.("data-mui-layer-order")&&i.getAttribute("data-mui-layer-order")===o)return;let l=document.createElement("style");l.setAttribute("data-mui-layer-order",o),l.textContent=n,a.prepend(l)}else a.querySelector(`style[data-mui-layer-order="${o}"]`)?.remove()},[n,o]),n?(0,fC.jsx)(pl,{styles:n}):null}var yl=R(L(),1),dC={};function mC(e,t,o,r=!1){return yC.useMemo(()=>{let n=e&&t[e]||t;if(typeof o=="function"){let a=o(n),i=e?{...t,[e]:a}:a;return r?()=>i:i}return e?{...t,[e]:o}:{...t,...o}},[e,t,o,r])}function mN(e){let{children:t,theme:o,themeId:r}=e,n=Oa(dC),a=Qr()||dC,i=mC(r,n,o),l=mC(r,a,o,!0),s=(r?i[r]:i).direction==="rtl",u=Xh(i);return(0,yl.jsx)(vf,{theme:l,children:(0,yl.jsx)(Ko.Provider,{value:i,children:(0,yl.jsx)(lC,{value:s,children:(0,yl.jsxs)(Cf,{value:r?i[r].components:i.components,children:[u,t]})})})})}var hl=mN;var hC={theme:void 0};function Ef(e){let t,o;return function(n){let a=t;return(a===void 0||n.theme!==o)&&(hC.theme=n.theme,a=uu(e(hC)),t=a,o=n.theme),a}}var _t=R(k(),1);var gC=R(L(),1),du="mode",mu="color-scheme",yN="data-color-scheme";function Qh(e){let{defaultMode:t="system",defaultLightColorScheme:o="light",defaultDarkColorScheme:r="dark",modeStorageKey:n=du,colorSchemeStorageKey:a=mu,attribute:i=yN,colorSchemeNode:l="document.documentElement",nonce:s}=e||{},u="",p=i;if(i==="class"&&(p=".%s"),i==="data"&&(p="[data-%s]"),p.startsWith(".")){let d=p.substring(1);u+=`${l}.classList.remove('${d}'.replace('%s', light), '${d}'.replace('%s', dark));
|
|
10
53
|
${l}.classList.add('${d}'.replace('%s', colorScheme));`}let f=p.match(/\[([^[\]]+)\]/);if(f){let[d,c]=f[1].split("=");c||(u+=`${l}.removeAttribute('${d}'.replace('%s', light));
|
|
11
54
|
${l}.removeAttribute('${d}'.replace('%s', dark));`),u+=`
|
|
12
|
-
${l}.setAttribute('${d}'.replace('%s', colorScheme), ${c?`${c}.replace('%s', colorScheme)`:'""'});`}else p!==".%s"&&(u+=`${l}.setAttribute('${p}', colorScheme);`);return(0,
|
|
55
|
+
${l}.setAttribute('${d}'.replace('%s', colorScheme), ${c?`${c}.replace('%s', colorScheme)`:'""'});`}else p!==".%s"&&(u+=`${l}.setAttribute('${p}', colorScheme);`);return(0,gC.jsx)("script",{suppressHydrationWarning:!0,nonce:typeof window>"u"?s:"",dangerouslySetInnerHTML:{__html:`(function() {
|
|
13
56
|
try {
|
|
14
57
|
let colorScheme = '';
|
|
15
58
|
const mode = localStorage.getItem('${n}') || '${t}';
|
|
@@ -33,15 +76,15 @@ try {
|
|
|
33
76
|
if (colorScheme) {
|
|
34
77
|
${u}
|
|
35
78
|
}
|
|
36
|
-
} catch(e){}})();`}},"mui-color-scheme-init")}var wt=R(k(),1);function uw(){}var cw=({key:e,storageWindow:t})=>(!t&&typeof window<"u"&&(t=window),{get(o){if(typeof window>"u")return;if(!t)return o;let r;try{r=t.localStorage.getItem(e)}catch{}return r||o},set:o=>{if(t)try{t.localStorage.setItem(e,o)}catch{}},subscribe:o=>{if(!t)return uw;let r=n=>{let a=n.newValue;n.key===e&&o(a)};return t.addEventListener("storage",r),()=>{t.removeEventListener("storage",r)}}}),yC=cw;function Zh(){}function hC(e){if(typeof window<"u"&&typeof window.matchMedia=="function"&&e==="system")return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}function gC(e,t){if(e.mode==="light"||e.mode==="system"&&e.systemMode==="light")return t("light");if(e.mode==="dark"||e.mode==="system"&&e.systemMode==="dark")return t("dark")}function pw(e){return gC(e,t=>{if(t==="light")return e.lightColorScheme;if(t==="dark")return e.darkColorScheme})}function Wh(e){let{defaultMode:t="light",defaultLightColorScheme:o,defaultDarkColorScheme:r,supportedColorSchemes:n=[],modeStorageKey:a=fu,colorSchemeStorageKey:i=du,storageWindow:l=typeof window>"u"?void 0:window,storageManager:s=yC,noSsr:u=!1}=e,p=n.join(","),f=n.length>1,d=wt.useMemo(()=>s?.({key:a,storageWindow:l}),[s,a,l]),c=wt.useMemo(()=>s?.({key:`${i}-light`,storageWindow:l}),[s,i,l]),T=wt.useMemo(()=>s?.({key:`${i}-dark`,storageWindow:l}),[s,i,l]),[v,x]=wt.useState(()=>{let O=d?.get(t)||t,N=c?.get(o)||o,_=T?.get(r)||r;return{mode:O,systemMode:hC(O),lightColorScheme:N,darkColorScheme:_}}),[m,h]=wt.useState(u||!f);wt.useEffect(()=>{h(!0)},[]);let g=pw(v),b=wt.useCallback(O=>{x(N=>{if(O===N.mode)return N;let _=O??t;return d?.set(_),{...N,mode:_,systemMode:hC(_)}})},[d,t]),E=wt.useCallback(O=>{O?typeof O=="string"?O&&!p.includes(O)?console.error(`\`${O}\` does not exist in \`theme.colorSchemes\`.`):x(N=>{let _={...N};return gC(N,M=>{M==="light"&&(c?.set(O),_.lightColorScheme=O),M==="dark"&&(T?.set(O),_.darkColorScheme=O)}),_}):x(N=>{let _={...N},M=O.light===null?o:O.light,y=O.dark===null?r:O.dark;return M&&(p.includes(M)?(_.lightColorScheme=M,c?.set(M)):console.error(`\`${M}\` does not exist in \`theme.colorSchemes\`.`)),y&&(p.includes(y)?(_.darkColorScheme=y,T?.set(y)):console.error(`\`${y}\` does not exist in \`theme.colorSchemes\`.`)),_}):x(N=>(c?.set(o),T?.set(r),{...N,lightColorScheme:o,darkColorScheme:r}))},[p,c,T,o,r]),S=wt.useCallback(O=>{v.mode==="system"&&x(N=>{let _=O?.matches?"dark":"light";return N.systemMode===_?N:{...N,systemMode:_}})},[v.mode]),C=wt.useRef(S);return C.current=S,wt.useEffect(()=>{if(typeof window.matchMedia!="function"||!f)return;let O=(..._)=>C.current(..._),N=window.matchMedia("(prefers-color-scheme: dark)");return N.addListener(O),O(N),()=>{N.removeListener(O)}},[f]),wt.useEffect(()=>{if(f){let O=d?.subscribe(M=>{(!M||["light","dark","system"].includes(M))&&b(M||t)})||Zh,N=c?.subscribe(M=>{(!M||p.match(M))&&E({light:M})})||Zh,_=T?.subscribe(M=>{(!M||p.match(M))&&E({dark:M})})||Zh;return()=>{O(),N(),_()}}},[E,b,p,t,l,f,d,c,T]),{...v,mode:m?v.mode:void 0,systemMode:m?v.systemMode:void 0,colorScheme:m?g:void 0,setMode:b,setColorScheme:E}}var hl=R(L(),1),fw="*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";function Pf(e){let{themeId:t,theme:o={},modeStorageKey:r=fu,colorSchemeStorageKey:n=du,disableTransitionOnChange:a=!1,defaultColorScheme:i,resolveTheme:l}=e,s={allColorSchemes:[],colorScheme:void 0,darkColorScheme:void 0,lightColorScheme:void 0,mode:void 0,setColorScheme:()=>{},setMode:()=>{},systemMode:void 0},u=_t.createContext(void 0),p=()=>_t.useContext(u)||s,f={},d={};function c(m){let{children:h,theme:g,modeStorageKey:b=r,colorSchemeStorageKey:E=n,disableTransitionOnChange:S=a,storageManager:C,storageWindow:O=typeof window>"u"?void 0:window,documentNode:N=typeof document>"u"?void 0:document,colorSchemeNode:_=typeof document>"u"?void 0:document.documentElement,disableNestedContext:M=!1,disableStyleSheetGeneration:y=!1,defaultMode:w="system",forceThemeRerender:P=!1,noSsr:A}=m,B=_t.useRef(!1),U=Qr(),V=_t.useContext(u),ye=!!V&&!M,se=_t.useMemo(()=>g||(typeof o=="function"?o():o),[g]),K=se[t],ce=K||se,{colorSchemes:We=f,components:De=d,cssVarPrefix:He}=ce,ze=Object.keys(We).filter(Be=>!!We[Be]).join(","),X=_t.useMemo(()=>ze.split(","),[ze]),W=typeof i=="string"?i:i.light,J=typeof i=="string"?i:i.dark,he=We[W]&&We[J]?w:We[ce.defaultColorScheme]?.palette?.mode||ce.palette?.mode,{mode:xt,setMode:ae,systemMode:Pe,lightColorScheme:st,darkColorScheme:Ht,colorScheme:qe,setColorScheme:ut}=Wh({supportedColorSchemes:X,defaultLightColorScheme:W,defaultDarkColorScheme:J,modeStorageKey:b,colorSchemeStorageKey:E,defaultMode:he,storageManager:C,storageWindow:O,noSsr:A}),St=xt,fe=qe;ye&&(St=V.mode,fe=V.colorScheme);let so=fe||ce.defaultColorScheme;ce.vars&&!P&&(so=ce.defaultColorScheme);let Mo=_t.useMemo(()=>{let Be=ce.generateThemeVars?.()||ce.vars,ge={...ce,components:De,colorSchemes:We,cssVarPrefix:He,vars:Be};if(typeof ge.generateSpacing=="function"&&(ge.spacing=ge.generateSpacing()),so){let Xe=We[so];Xe&&typeof Xe=="object"&&Object.keys(Xe).forEach(ee=>{Xe[ee]&&typeof Xe[ee]=="object"?ge[ee]={...ge[ee],...Xe[ee]}:ge[ee]=Xe[ee]})}return l?l(ge):ge},[ce,so,De,We,He]),ct=ce.colorSchemeSelector;Kt(()=>{if(fe&&_&&ct&&ct!=="media"){let Be=ct,ge=ct;if(Be==="class"&&(ge=".%s"),Be==="data"&&(ge="[data-%s]"),Be?.startsWith("data-")&&!Be.includes("%s")&&(ge=`[${Be}="%s"]`),ge.startsWith("."))_.classList.remove(...X.map(Xe=>ge.substring(1).replace("%s",Xe))),_.classList.add(ge.substring(1).replace("%s",fe));else{let Xe=ge.replace("%s",fe).match(/\[([^\]]+)\]/);if(Xe){let[ee,uo]=Xe[1].split("=");uo||X.forEach(rn=>{_.removeAttribute(ee.replace(fe,rn))}),_.setAttribute(ee,uo?uo.replace(/"|'/g,""):"")}else _.setAttribute(ge,fe)}}},[fe,ct,_,X]),_t.useEffect(()=>{let Be;if(S&&B.current&&N){let ge=N.createElement("style");ge.appendChild(N.createTextNode(fw)),N.head.appendChild(ge),window.getComputedStyle(N.body),Be=setTimeout(()=>{N.head.removeChild(ge)},1)}return()=>{clearTimeout(Be)}},[fe,S,N]),_t.useEffect(()=>(B.current=!0,()=>{B.current=!1}),[]);let Kn=_t.useMemo(()=>({allColorSchemes:X,colorScheme:fe,darkColorScheme:Ht,lightColorScheme:st,mode:St,setColorScheme:ut,setMode:ae,systemMode:Pe}),[X,fe,Ht,st,St,ut,ae,Pe,Mo.colorSchemeSelector]),ir=!0;(y||ce.cssVariables===!1||ye&&U?.cssVarPrefix===He)&&(ir=!1);let Cr=(0,hl.jsxs)(_t.Fragment,{children:[(0,hl.jsx)(yl,{themeId:K?t:void 0,theme:Mo,children:h}),ir&&(0,hl.jsx)(Ca,{styles:Mo.generateStyleSheets?.()||[]})]});return ye?Cr:(0,hl.jsx)(u.Provider,{value:Kn,children:Cr})}let T=typeof i=="string"?i:i.light,v=typeof i=="string"?i:i.dark;return{CssVarsProvider:c,useColorScheme:p,getInitColorSchemeScript:m=>Qh({colorSchemeStorageKey:n,defaultLightColorScheme:T,defaultDarkColorScheme:v,modeStorageKey:r,...m})}}function Rf(e=""){function t(...r){if(!r.length)return"";let n=r[0];return typeof n=="string"&&!n.match(/(#|\(|\)|(-?(\d*\.)?\d+)(px|em|%|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc))|^(-?(\d*\.)?\d+)$|(\d+ \d+ \d+)/)?`, var(--${e?`${e}-`:""}${n}${t(...r.slice(1))})`:`, ${n}`}return(r,...n)=>`var(--${e?`${e}-`:""}${r}${t(...n)})`}var bC=(e,t,o,r=[])=>{let n=e;t.forEach((a,i)=>{i===t.length-1?Array.isArray(n)?n[Number(a)]=o:n&&typeof n=="object"&&(n[a]=o):n&&typeof n=="object"&&(n[a]||(n[a]=r.includes(a)?[]:{}),n=n[a])})},dw=(e,t,o)=>{function r(n,a=[],i=[]){Object.entries(n).forEach(([l,s])=>{(!o||o&&!o([...a,l]))&&s!=null&&(typeof s=="object"&&Object.keys(s).length>0?r(s,[...a,l],Array.isArray(s)?[...i,l]:i):t([...a,l],s,i))})}r(e)},mw=(e,t)=>typeof t=="number"?["lineHeight","fontWeight","opacity","zIndex"].some(r=>e.includes(r))||e[e.length-1].toLowerCase().includes("opacity")?t:`${t}px`:t;function mu(e,t){let{prefix:o,shouldSkipGeneratingVar:r}=t||{},n={},a={},i={};return dw(e,(l,s,u)=>{if((typeof s=="string"||typeof s=="number")&&(!r||!r(l,s))){let p=`--${o?`${o}-`:""}${l.join("-")}`,f=mw(l,s);Object.assign(n,{[p]:f}),bC(a,l,`var(${p})`,u),bC(i,l,`var(${p}, ${f})`,u)}},l=>l[0]==="vars"),{css:n,vars:a,varsWithDefaults:i}}function yw(e,t={}){let{getSelector:o=m,disableCssColorScheme:r,colorSchemeSelector:n,enableContrastVars:a}=t,{colorSchemes:i={},components:l,defaultColorScheme:s="light",...u}=e,{vars:p,css:f,varsWithDefaults:d}=mu(u,t),c=d,T={},{[s]:v,...x}=i;if(Object.entries(x||{}).forEach(([b,E])=>{let{vars:S,css:C,varsWithDefaults:O}=mu(E,t);c=Te(c,O),T[b]={css:C,vars:S}}),v){let{css:b,vars:E,varsWithDefaults:S}=mu(v,t);c=Te(c,S),T[s]={css:b,vars:E}}function m(b,E){let S=n;if(n==="class"&&(S=".%s"),n==="data"&&(S="[data-%s]"),n?.startsWith("data-")&&!n.includes("%s")&&(S=`[${n}="%s"]`),b){if(S==="media")return e.defaultColorScheme===b?":root":{[`@media (prefers-color-scheme: ${i[b]?.palette?.mode||b})`]:{":root":E}};if(S)return e.defaultColorScheme===b?`:root, ${S.replace("%s",String(b))}`:S.replace("%s",String(b))}return":root"}return{vars:c,generateThemeVars:()=>{let b={...p};return Object.entries(T).forEach(([,{vars:E}])=>{b=Te(b,E)}),b},generateStyleSheets:()=>{let b=[],E=e.defaultColorScheme||"light";function S(N,_){Object.keys(_).length&&b.push(typeof N=="string"?{[N]:{..._}}:N)}S(o(void 0,{...f}),f);let{[E]:C,...O}=T;if(C){let{css:N}=C,_=i[E]?.palette?.mode,M=!r&&_?{colorScheme:_,...N}:{...N};S(o(E,{...M}),M)}return Object.entries(O).forEach(([N,{css:_}])=>{let M=i[N]?.palette?.mode,y=!r&&M?{colorScheme:M,..._}:{..._};S(o(N,{...y}),y)}),a&&b.push({":root":{"--__l-threshold":"0.7","--__l":"clamp(0, (l / var(--__l-threshold) - 1) * -infinity, 1)","--__a":"clamp(0.87, (l / var(--__l-threshold) - 1) * -infinity, 1)"}}),b}}}var Jh=yw;function eg(e){return function(o){return e==="media"?`@media (prefers-color-scheme: ${o})`:e?e.startsWith("data-")&&!e.includes("%s")?`[${e}="${o}"] &`:e==="class"?`.${o} &`:e==="data"?`[data-${o}] &`:`${e.replace("%s",o)} &`:"&"}}function G(e,t,o=void 0){let r={};for(let n in e){let a=e[n],i="",l=!0;for(let s=0;s<a.length;s+=1){let u=a[s];u&&(i+=(l===!0?"":" ")+t(u),l=!1,o&&o[u]&&(i+=" "+o[u]))}r[n]=i}return r}var TC=R(k(),1);function Of(e,t){return TC.isValidElement(e)&&t.indexOf(e.type.muiName??e.type?._payload?.value?.muiName)!==-1}var gl=R(k(),1);var vC=R(L(),1),hw=Kr(),gw=Ih("div",{name:"MuiStack",slot:"Root"});function bw(e){return yf({props:e,name:"MuiStack",defaultTheme:hw})}function Tw(e,t){let o=gl.Children.toArray(e).filter(Boolean);return o.reduce((r,n,a)=>(r.push(n),a<o.length-1&&r.push(gl.cloneElement(t,{key:`separator-${a}`})),r),[])}var vw=e=>({row:"Left","row-reverse":"Right",column:"Top","column-reverse":"Bottom"})[e],xw=({ownerState:e,theme:t})=>{let o={display:"flex",flexDirection:"column",...So({theme:t},pf({values:e.direction,breakpoints:t.breakpoints.values}),r=>({flexDirection:r}))};if(e.spacing){let r=Pa(t),n=Object.keys(t.breakpoints.values).reduce((s,u)=>((typeof e.spacing=="object"&&e.spacing[u]!=null||typeof e.direction=="object"&&e.direction[u]!=null)&&(s[u]=!0),s),{}),a=pf({values:e.direction,base:n}),i=pf({values:e.spacing,base:n});typeof a=="object"&&Object.keys(a).forEach((s,u,p)=>{if(!a[s]){let d=u>0?a[p[u-1]]:"column";a[s]=d}}),o=Te(o,So({theme:t},i,(s,u)=>e.useFlexGap?{gap:hr(r,s)}:{"& > :not(style):not(style)":{margin:0},"& > :not(style) ~ :not(style)":{[`margin${vw(u?a[u]:e.direction)}`]:hr(r,s)}}))}return o=D1(t.breakpoints,o),o};function Mf(e={}){let{createStyledComponent:t=gw,useThemeProps:o=bw,componentName:r="MuiStack"}=e,n=()=>G({root:["root"]},s=>F(r,s),{}),a=t(xw);return gl.forwardRef(function(s,u){let p=o(s),{component:f="div",direction:d="column",spacing:c=0,divider:T,children:v,className:x,useFlexGap:m=!1,...h}=p,g={direction:d,spacing:c,useFlexGap:m},b=n();return(0,vC.jsx)(a,{as:f,ownerState:g,ref:u,className:H(b.root,x),...h,children:T?Tw(v,T):v})})}function CC(){return{text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:ol.white,default:ol.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}}}var tg=CC();function EC(){return{text:{primary:ol.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:ol.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}}}var Af=EC();function xC(e,t,o,r){let n=r.light||r,a=r.dark||r*1.5;e[t]||(e.hasOwnProperty(o)?e[t]=e[o]:t==="light"?e.light=Na(e.main,n):t==="dark"&&(e.dark=Aa(e.main,a)))}function SC(e,t,o,r,n){let a=n.light||n,i=n.dark||n*1.5;t[o]||(t.hasOwnProperty(r)?t[o]=t[r]:o==="light"?t.light=`color-mix(in ${e}, ${t.main}, #fff ${(a*100).toFixed(0)}%)`:o==="dark"&&(t.dark=`color-mix(in ${e}, ${t.main}, #000 ${(i*100).toFixed(0)}%)`))}function Sw(e="light"){return e==="dark"?{main:va[200],light:va[50],dark:va[400]}:{main:va[700],light:va[400],dark:va[800]}}function Cw(e="light"){return e==="dark"?{main:Ta[200],light:Ta[50],dark:Ta[400]}:{main:Ta[500],light:Ta[300],dark:Ta[700]}}function Ew(e="light"){return e==="dark"?{main:ba[500],light:ba[300],dark:ba[700]}:{main:ba[700],light:ba[400],dark:ba[800]}}function Pw(e="light"){return e==="dark"?{main:xa[400],light:xa[300],dark:xa[700]}:{main:xa[700],light:xa[500],dark:xa[900]}}function Rw(e="light"){return e==="dark"?{main:Sa[400],light:Sa[300],dark:Sa[700]}:{main:Sa[800],light:Sa[500],dark:Sa[900]}}function Ow(e="light"){return e==="dark"?{main:rl[400],light:rl[300],dark:rl[700]}:{main:"#ed6c02",light:rl[500],dark:rl[900]}}function Mw(e){return`oklch(from ${e} var(--__l) 0 h / var(--__a))`}function wa(e){let{mode:t="light",contrastThreshold:o=3,tonalOffset:r=.2,colorSpace:n,...a}=e,i=e.primary||Sw(t),l=e.secondary||Cw(t),s=e.error||Ew(t),u=e.info||Pw(t),p=e.success||Rw(t),f=e.warning||Ow(t);function d(x){return n?Mw(x):$h(x,Af.text.primary)>=o?Af.text.primary:tg.text.primary}let c=({color:x,name:m,mainShade:h=500,lightShade:g=300,darkShade:b=700})=>{if(x={...x},!x.main&&x[h]&&(x.main=x[h]),!x.hasOwnProperty("main"))throw new Error(bt(11,m?` (${m})`:"",h));if(typeof x.main!="string")throw new Error(bt(12,m?` (${m})`:"",JSON.stringify(x.main)));return n?(SC(n,x,"light",g,r),SC(n,x,"dark",b,r)):(xC(x,"light",g,r),xC(x,"dark",b,r)),x.contrastText||(x.contrastText=d(x.main)),x},T;return t==="light"?T=CC():t==="dark"&&(T=EC()),Te({common:{...ol},mode:t,primary:c({color:i,name:"primary"}),secondary:c({color:l,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:c({color:s,name:"error"}),warning:c({color:f,name:"warning"}),info:c({color:u,name:"info"}),success:c({color:p,name:"success"}),grey:h1,contrastThreshold:o,getContrastText:d,augmentColor:c,tonalOffset:r,...T},a)}function Nf(e){let t={};return Object.entries(e).forEach(r=>{let[n,a]=r;typeof a=="object"&&(t[n]=`${a.fontStyle?`${a.fontStyle} `:""}${a.fontVariant?`${a.fontVariant} `:""}${a.fontWeight?`${a.fontWeight} `:""}${a.fontStretch?`${a.fontStretch} `:""}${a.fontSize||""}${a.lineHeight?`/${a.lineHeight} `:""}${a.fontFamily||""}`)}),t}function og(e,t){return{toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}},...t}}function Aw(e){return Math.round(e*1e5)/1e5}var PC={textTransform:"uppercase"},RC='"Roboto", "Helvetica", "Arial", sans-serif';function yu(e,t){let{fontFamily:o=RC,fontSize:r=14,fontWeightLight:n=300,fontWeightRegular:a=400,fontWeightMedium:i=500,fontWeightBold:l=700,htmlFontSize:s=16,allVariants:u,pxToRem:p,...f}=typeof t=="function"?t(e):t,d=r/14,c=p||(x=>`${x/s*d}rem`),T=(x,m,h,g,b)=>({fontFamily:o,fontWeight:x,fontSize:c(m),lineHeight:h,...o===RC?{letterSpacing:`${Aw(g/m)}em`}:{},...b,...u}),v={h1:T(n,96,1.167,-1.5),h2:T(n,60,1.2,-.5),h3:T(a,48,1.167,0),h4:T(a,34,1.235,.25),h5:T(a,24,1.334,0),h6:T(i,20,1.6,.15),subtitle1:T(a,16,1.75,.15),subtitle2:T(i,14,1.57,.1),body1:T(a,16,1.5,.15),body2:T(a,14,1.43,.15),button:T(i,14,1.75,.4,PC),caption:T(a,12,1.66,.4),overline:T(a,12,2.66,1,PC),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return Te({htmlFontSize:s,pxToRem:c,fontFamily:o,fontSize:r,fontWeightLight:n,fontWeightRegular:a,fontWeightMedium:i,fontWeightBold:l,...v},f,{clone:!1})}function Fe(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${.2})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${.14})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${.12})`].join(",")}var Nw=["none",Fe(0,2,1,-1,0,1,1,0,0,1,3,0),Fe(0,3,1,-2,0,2,2,0,0,1,5,0),Fe(0,3,3,-2,0,3,4,0,0,1,8,0),Fe(0,2,4,-1,0,4,5,0,0,1,10,0),Fe(0,3,5,-1,0,5,8,0,0,1,14,0),Fe(0,3,5,-1,0,6,10,0,0,1,18,0),Fe(0,4,5,-2,0,7,10,1,0,2,16,1),Fe(0,5,5,-3,0,8,10,1,0,3,14,2),Fe(0,5,6,-3,0,9,12,1,0,3,16,2),Fe(0,6,6,-3,0,10,14,1,0,4,18,3),Fe(0,6,7,-4,0,11,15,1,0,4,20,3),Fe(0,7,8,-4,0,12,17,2,0,5,22,4),Fe(0,7,8,-4,0,13,19,2,0,5,24,4),Fe(0,7,9,-4,0,14,21,2,0,5,26,4),Fe(0,8,9,-5,0,15,22,2,0,6,28,5),Fe(0,8,10,-5,0,16,24,2,0,6,30,5),Fe(0,8,11,-5,0,17,26,2,0,6,32,5),Fe(0,9,11,-5,0,18,28,2,0,7,34,6),Fe(0,9,12,-6,0,19,29,2,0,7,36,6),Fe(0,10,13,-6,0,20,31,3,0,8,38,7),Fe(0,10,13,-6,0,21,33,3,0,8,40,7),Fe(0,10,14,-6,0,22,35,3,0,8,42,7),Fe(0,11,14,-7,0,23,36,3,0,9,44,8),Fe(0,11,15,-7,0,24,38,3,0,9,46,8)],OC=Nw;var ww={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},_w={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function MC(e){return`${Math.round(e)}ms`}function Dw(e){if(!e)return 0;let t=e/36;return Math.min(Math.round((4+15*t**.25+t/5)*10),3e3)}function rg(e){let t={...ww,...e.easing},o={..._w,...e.duration};return{getAutoHeightDuration:Dw,create:(n=["all"],a={})=>{let{duration:i=o.standard,easing:l=t.easeInOut,delay:s=0,...u}=a;return(Array.isArray(n)?n:[n]).map(p=>`${p} ${typeof i=="string"?i:MC(i)} ${l} ${typeof s=="string"?s:MC(s)}`).join(",")},...e,easing:t,duration:o}}var zw={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},AC=zw;function Bw(e){return er(e)||typeof e>"u"||typeof e=="string"||typeof e=="boolean"||typeof e=="number"||Array.isArray(e)}function wf(e={}){let t={...e};function o(r){let n=Object.entries(r);for(let a=0;a<n.length;a++){let[i,l]=n[a];!Bw(l)||i.startsWith("unstable_")||i.startsWith("internal_")?delete r[i]:er(l)&&(r[i]={...l},o(r[i]))}}return o(t),`import { unstable_createBreakpoints as createBreakpoints, createTransitions } from '@mui/material/styles';
|
|
79
|
+
} catch(e){}})();`}},"mui-color-scheme-init")}var Nt=R(k(),1);function hN(){}var gN=({key:e,storageWindow:t})=>(!t&&typeof window<"u"&&(t=window),{get(o){if(typeof window>"u")return;if(!t)return o;let r;try{r=t.localStorage.getItem(e)}catch{}return r||o},set:o=>{if(t)try{t.localStorage.setItem(e,o)}catch{}},subscribe:o=>{if(!t)return hN;let r=n=>{let a=n.newValue;n.key===e&&o(a)};return t.addEventListener("storage",r),()=>{t.removeEventListener("storage",r)}}}),bC=gN;function Zh(){}function TC(e){if(typeof window<"u"&&typeof window.matchMedia=="function"&&e==="system")return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}function vC(e,t){if(e.mode==="light"||e.mode==="system"&&e.systemMode==="light")return t("light");if(e.mode==="dark"||e.mode==="system"&&e.systemMode==="dark")return t("dark")}function bN(e){return vC(e,t=>{if(t==="light")return e.lightColorScheme;if(t==="dark")return e.darkColorScheme})}function Wh(e){let{defaultMode:t="light",defaultLightColorScheme:o,defaultDarkColorScheme:r,supportedColorSchemes:n=[],modeStorageKey:a=du,colorSchemeStorageKey:i=mu,storageWindow:l=typeof window>"u"?void 0:window,storageManager:s=bC,noSsr:u=!1}=e,p=n.join(","),f=n.length>1,d=Nt.useMemo(()=>s?.({key:a,storageWindow:l}),[s,a,l]),c=Nt.useMemo(()=>s?.({key:`${i}-light`,storageWindow:l}),[s,i,l]),T=Nt.useMemo(()=>s?.({key:`${i}-dark`,storageWindow:l}),[s,i,l]),[v,x]=Nt.useState(()=>{let O=d?.get(t)||t,w=c?.get(o)||o,_=T?.get(r)||r;return{mode:O,systemMode:TC(O),lightColorScheme:w,darkColorScheme:_}}),[m,h]=Nt.useState(u||!f);Nt.useEffect(()=>{h(!0)},[]);let g=bN(v),b=Nt.useCallback(O=>{x(w=>{if(O===w.mode)return w;let _=O??t;return d?.set(_),{...w,mode:_,systemMode:TC(_)}})},[d,t]),E=Nt.useCallback(O=>{O?typeof O=="string"?O&&!p.includes(O)?console.error(`\`${O}\` does not exist in \`theme.colorSchemes\`.`):x(w=>{let _={...w};return vC(w,M=>{M==="light"&&(c?.set(O),_.lightColorScheme=O),M==="dark"&&(T?.set(O),_.darkColorScheme=O)}),_}):x(w=>{let _={...w},M=O.light===null?o:O.light,y=O.dark===null?r:O.dark;return M&&(p.includes(M)?(_.lightColorScheme=M,c?.set(M)):console.error(`\`${M}\` does not exist in \`theme.colorSchemes\`.`)),y&&(p.includes(y)?(_.darkColorScheme=y,T?.set(y)):console.error(`\`${y}\` does not exist in \`theme.colorSchemes\`.`)),_}):x(w=>(c?.set(o),T?.set(r),{...w,lightColorScheme:o,darkColorScheme:r}))},[p,c,T,o,r]),S=Nt.useCallback(O=>{v.mode==="system"&&x(w=>{let _=O?.matches?"dark":"light";return w.systemMode===_?w:{...w,systemMode:_}})},[v.mode]),C=Nt.useRef(S);return C.current=S,Nt.useEffect(()=>{if(typeof window.matchMedia!="function"||!f)return;let O=(..._)=>C.current(..._),w=window.matchMedia("(prefers-color-scheme: dark)");return w.addListener(O),O(w),()=>{w.removeListener(O)}},[f]),Nt.useEffect(()=>{if(f){let O=d?.subscribe(M=>{(!M||["light","dark","system"].includes(M))&&b(M||t)})||Zh,w=c?.subscribe(M=>{(!M||p.match(M))&&E({light:M})})||Zh,_=T?.subscribe(M=>{(!M||p.match(M))&&E({dark:M})})||Zh;return()=>{O(),w(),_()}}},[E,b,p,t,l,f,d,c,T]),{...v,mode:m?v.mode:void 0,systemMode:m?v.systemMode:void 0,colorScheme:m?g:void 0,setMode:b,setColorScheme:E}}var gl=R(L(),1),TN="*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";function Pf(e){let{themeId:t,theme:o={},modeStorageKey:r=du,colorSchemeStorageKey:n=mu,disableTransitionOnChange:a=!1,defaultColorScheme:i,resolveTheme:l}=e,s={allColorSchemes:[],colorScheme:void 0,darkColorScheme:void 0,lightColorScheme:void 0,mode:void 0,setColorScheme:()=>{},setMode:()=>{},systemMode:void 0},u=_t.createContext(void 0),p=()=>_t.useContext(u)||s,f={},d={};function c(m){let{children:h,theme:g,modeStorageKey:b=r,colorSchemeStorageKey:E=n,disableTransitionOnChange:S=a,storageManager:C,storageWindow:O=typeof window>"u"?void 0:window,documentNode:w=typeof document>"u"?void 0:document,colorSchemeNode:_=typeof document>"u"?void 0:document.documentElement,disableNestedContext:M=!1,disableStyleSheetGeneration:y=!1,defaultMode:N="system",forceThemeRerender:P=!1,noSsr:A}=m,B=_t.useRef(!1),U=Qr(),V=_t.useContext(u),ye=!!V&&!M,se=_t.useMemo(()=>g||(typeof o=="function"?o():o),[g]),K=se[t],ce=K||se,{colorSchemes:We=f,components:De=d,cssVarPrefix:He}=ce,ze=Object.keys(We).filter(Be=>!!We[Be]).join(","),X=_t.useMemo(()=>ze.split(","),[ze]),W=typeof i=="string"?i:i.light,J=typeof i=="string"?i:i.dark,he=We[W]&&We[J]?N:We[ce.defaultColorScheme]?.palette?.mode||ce.palette?.mode,{mode:xt,setMode:ae,systemMode:Pe,lightColorScheme:st,darkColorScheme:Ht,colorScheme:qe,setColorScheme:ut}=Wh({supportedColorSchemes:X,defaultLightColorScheme:W,defaultDarkColorScheme:J,modeStorageKey:b,colorSchemeStorageKey:E,defaultMode:he,storageManager:C,storageWindow:O,noSsr:A}),St=xt,fe=qe;ye&&(St=V.mode,fe=V.colorScheme);let so=fe||ce.defaultColorScheme;ce.vars&&!P&&(so=ce.defaultColorScheme);let Mo=_t.useMemo(()=>{let Be=ce.generateThemeVars?.()||ce.vars,ge={...ce,components:De,colorSchemes:We,cssVarPrefix:He,vars:Be};if(typeof ge.generateSpacing=="function"&&(ge.spacing=ge.generateSpacing()),so){let Xe=We[so];Xe&&typeof Xe=="object"&&Object.keys(Xe).forEach(ee=>{Xe[ee]&&typeof Xe[ee]=="object"?ge[ee]={...ge[ee],...Xe[ee]}:ge[ee]=Xe[ee]})}return l?l(ge):ge},[ce,so,De,We,He]),ct=ce.colorSchemeSelector;Kt(()=>{if(fe&&_&&ct&&ct!=="media"){let Be=ct,ge=ct;if(Be==="class"&&(ge=".%s"),Be==="data"&&(ge="[data-%s]"),Be?.startsWith("data-")&&!Be.includes("%s")&&(ge=`[${Be}="%s"]`),ge.startsWith("."))_.classList.remove(...X.map(Xe=>ge.substring(1).replace("%s",Xe))),_.classList.add(ge.substring(1).replace("%s",fe));else{let Xe=ge.replace("%s",fe).match(/\[([^\]]+)\]/);if(Xe){let[ee,uo]=Xe[1].split("=");uo||X.forEach(rn=>{_.removeAttribute(ee.replace(fe,rn))}),_.setAttribute(ee,uo?uo.replace(/"|'/g,""):"")}else _.setAttribute(ge,fe)}}},[fe,ct,_,X]),_t.useEffect(()=>{let Be;if(S&&B.current&&w){let ge=w.createElement("style");ge.appendChild(w.createTextNode(TN)),w.head.appendChild(ge),window.getComputedStyle(w.body),Be=setTimeout(()=>{w.head.removeChild(ge)},1)}return()=>{clearTimeout(Be)}},[fe,S,w]),_t.useEffect(()=>(B.current=!0,()=>{B.current=!1}),[]);let Kn=_t.useMemo(()=>({allColorSchemes:X,colorScheme:fe,darkColorScheme:Ht,lightColorScheme:st,mode:St,setColorScheme:ut,setMode:ae,systemMode:Pe}),[X,fe,Ht,st,St,ut,ae,Pe,Mo.colorSchemeSelector]),ir=!0;(y||ce.cssVariables===!1||ye&&U?.cssVarPrefix===He)&&(ir=!1);let Cr=(0,gl.jsxs)(_t.Fragment,{children:[(0,gl.jsx)(hl,{themeId:K?t:void 0,theme:Mo,children:h}),ir&&(0,gl.jsx)(Ca,{styles:Mo.generateStyleSheets?.()||[]})]});return ye?Cr:(0,gl.jsx)(u.Provider,{value:Kn,children:Cr})}let T=typeof i=="string"?i:i.light,v=typeof i=="string"?i:i.dark;return{CssVarsProvider:c,useColorScheme:p,getInitColorSchemeScript:m=>Qh({colorSchemeStorageKey:n,defaultLightColorScheme:T,defaultDarkColorScheme:v,modeStorageKey:r,...m})}}function Rf(e=""){function t(...r){if(!r.length)return"";let n=r[0];return typeof n=="string"&&!n.match(/(#|\(|\)|(-?(\d*\.)?\d+)(px|em|%|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc))|^(-?(\d*\.)?\d+)$|(\d+ \d+ \d+)/)?`, var(--${e?`${e}-`:""}${n}${t(...r.slice(1))})`:`, ${n}`}return(r,...n)=>`var(--${e?`${e}-`:""}${r}${t(...n)})`}var xC=(e,t,o,r=[])=>{let n=e;t.forEach((a,i)=>{i===t.length-1?Array.isArray(n)?n[Number(a)]=o:n&&typeof n=="object"&&(n[a]=o):n&&typeof n=="object"&&(n[a]||(n[a]=r.includes(a)?[]:{}),n=n[a])})},vN=(e,t,o)=>{function r(n,a=[],i=[]){Object.entries(n).forEach(([l,s])=>{(!o||o&&!o([...a,l]))&&s!=null&&(typeof s=="object"&&Object.keys(s).length>0?r(s,[...a,l],Array.isArray(s)?[...i,l]:i):t([...a,l],s,i))})}r(e)},xN=(e,t)=>typeof t=="number"?["lineHeight","fontWeight","opacity","zIndex"].some(r=>e.includes(r))||e[e.length-1].toLowerCase().includes("opacity")?t:`${t}px`:t;function yu(e,t){let{prefix:o,shouldSkipGeneratingVar:r}=t||{},n={},a={},i={};return vN(e,(l,s,u)=>{if((typeof s=="string"||typeof s=="number")&&(!r||!r(l,s))){let p=`--${o?`${o}-`:""}${l.join("-")}`,f=xN(l,s);Object.assign(n,{[p]:f}),xC(a,l,`var(${p})`,u),xC(i,l,`var(${p}, ${f})`,u)}},l=>l[0]==="vars"),{css:n,vars:a,varsWithDefaults:i}}function SN(e,t={}){let{getSelector:o=m,disableCssColorScheme:r,colorSchemeSelector:n,enableContrastVars:a}=t,{colorSchemes:i={},components:l,defaultColorScheme:s="light",...u}=e,{vars:p,css:f,varsWithDefaults:d}=yu(u,t),c=d,T={},{[s]:v,...x}=i;if(Object.entries(x||{}).forEach(([b,E])=>{let{vars:S,css:C,varsWithDefaults:O}=yu(E,t);c=Te(c,O),T[b]={css:C,vars:S}}),v){let{css:b,vars:E,varsWithDefaults:S}=yu(v,t);c=Te(c,S),T[s]={css:b,vars:E}}function m(b,E){let S=n;if(n==="class"&&(S=".%s"),n==="data"&&(S="[data-%s]"),n?.startsWith("data-")&&!n.includes("%s")&&(S=`[${n}="%s"]`),b){if(S==="media")return e.defaultColorScheme===b?":root":{[`@media (prefers-color-scheme: ${i[b]?.palette?.mode||b})`]:{":root":E}};if(S)return e.defaultColorScheme===b?`:root, ${S.replace("%s",String(b))}`:S.replace("%s",String(b))}return":root"}return{vars:c,generateThemeVars:()=>{let b={...p};return Object.entries(T).forEach(([,{vars:E}])=>{b=Te(b,E)}),b},generateStyleSheets:()=>{let b=[],E=e.defaultColorScheme||"light";function S(w,_){Object.keys(_).length&&b.push(typeof w=="string"?{[w]:{..._}}:w)}S(o(void 0,{...f}),f);let{[E]:C,...O}=T;if(C){let{css:w}=C,_=i[E]?.palette?.mode,M=!r&&_?{colorScheme:_,...w}:{...w};S(o(E,{...M}),M)}return Object.entries(O).forEach(([w,{css:_}])=>{let M=i[w]?.palette?.mode,y=!r&&M?{colorScheme:M,..._}:{..._};S(o(w,{...y}),y)}),a&&b.push({":root":{"--__l-threshold":"0.7","--__l":"clamp(0, (l / var(--__l-threshold) - 1) * -infinity, 1)","--__a":"clamp(0.87, (l / var(--__l-threshold) - 1) * -infinity, 1)"}}),b}}}var Jh=SN;function eg(e){return function(o){return e==="media"?`@media (prefers-color-scheme: ${o})`:e?e.startsWith("data-")&&!e.includes("%s")?`[${e}="${o}"] &`:e==="class"?`.${o} &`:e==="data"?`[data-${o}] &`:`${e.replace("%s",o)} &`:"&"}}function G(e,t,o=void 0){let r={};for(let n in e){let a=e[n],i="",l=!0;for(let s=0;s<a.length;s+=1){let u=a[s];u&&(i+=(l===!0?"":" ")+t(u),l=!1,o&&o[u]&&(i+=" "+o[u]))}r[n]=i}return r}var SC=R(k(),1);function Of(e,t){return SC.isValidElement(e)&&t.indexOf(e.type.muiName??e.type?._payload?.value?.muiName)!==-1}var bl=R(k(),1);var CC=R(L(),1),CN=Kr(),EN=Ih("div",{name:"MuiStack",slot:"Root"});function PN(e){return yf({props:e,name:"MuiStack",defaultTheme:CN})}function RN(e,t){let o=bl.Children.toArray(e).filter(Boolean);return o.reduce((r,n,a)=>(r.push(n),a<o.length-1&&r.push(bl.cloneElement(t,{key:`separator-${a}`})),r),[])}var ON=e=>({row:"Left","row-reverse":"Right",column:"Top","column-reverse":"Bottom"})[e],MN=({ownerState:e,theme:t})=>{let o={display:"flex",flexDirection:"column",...So({theme:t},pf({values:e.direction,breakpoints:t.breakpoints.values}),r=>({flexDirection:r}))};if(e.spacing){let r=Pa(t),n=Object.keys(t.breakpoints.values).reduce((s,u)=>((typeof e.spacing=="object"&&e.spacing[u]!=null||typeof e.direction=="object"&&e.direction[u]!=null)&&(s[u]=!0),s),{}),a=pf({values:e.direction,base:n}),i=pf({values:e.spacing,base:n});typeof a=="object"&&Object.keys(a).forEach((s,u,p)=>{if(!a[s]){let d=u>0?a[p[u-1]]:"column";a[s]=d}}),o=Te(o,So({theme:t},i,(s,u)=>e.useFlexGap?{gap:hr(r,s)}:{"& > :not(style):not(style)":{margin:0},"& > :not(style) ~ :not(style)":{[`margin${ON(u?a[u]:e.direction)}`]:hr(r,s)}}))}return o=k1(t.breakpoints,o),o};function Mf(e={}){let{createStyledComponent:t=EN,useThemeProps:o=PN,componentName:r="MuiStack"}=e,n=()=>G({root:["root"]},s=>F(r,s),{}),a=t(MN);return bl.forwardRef(function(s,u){let p=o(s),{component:f="div",direction:d="column",spacing:c=0,divider:T,children:v,className:x,useFlexGap:m=!1,...h}=p,g={direction:d,spacing:c,useFlexGap:m},b=n();return(0,CC.jsx)(a,{as:f,ownerState:g,ref:u,className:H(b.root,x),...h,children:T?RN(v,T):v})})}function RC(){return{text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:rl.white,default:rl.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}}}var tg=RC();function OC(){return{text:{primary:rl.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:rl.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}}}var Af=OC();function EC(e,t,o,r){let n=r.light||r,a=r.dark||r*1.5;e[t]||(e.hasOwnProperty(o)?e[t]=e[o]:t==="light"?e.light=wa(e.main,n):t==="dark"&&(e.dark=Aa(e.main,a)))}function PC(e,t,o,r,n){let a=n.light||n,i=n.dark||n*1.5;t[o]||(t.hasOwnProperty(r)?t[o]=t[r]:o==="light"?t.light=`color-mix(in ${e}, ${t.main}, #fff ${(a*100).toFixed(0)}%)`:o==="dark"&&(t.dark=`color-mix(in ${e}, ${t.main}, #000 ${(i*100).toFixed(0)}%)`))}function AN(e="light"){return e==="dark"?{main:va[200],light:va[50],dark:va[400]}:{main:va[700],light:va[400],dark:va[800]}}function wN(e="light"){return e==="dark"?{main:Ta[200],light:Ta[50],dark:Ta[400]}:{main:Ta[500],light:Ta[300],dark:Ta[700]}}function NN(e="light"){return e==="dark"?{main:ba[500],light:ba[300],dark:ba[700]}:{main:ba[700],light:ba[400],dark:ba[800]}}function _N(e="light"){return e==="dark"?{main:xa[400],light:xa[300],dark:xa[700]}:{main:xa[700],light:xa[500],dark:xa[900]}}function DN(e="light"){return e==="dark"?{main:Sa[400],light:Sa[300],dark:Sa[700]}:{main:Sa[800],light:Sa[500],dark:Sa[900]}}function zN(e="light"){return e==="dark"?{main:nl[400],light:nl[300],dark:nl[700]}:{main:"#ed6c02",light:nl[500],dark:nl[900]}}function BN(e){return`oklch(from ${e} var(--__l) 0 h / var(--__a))`}function Na(e){let{mode:t="light",contrastThreshold:o=3,tonalOffset:r=.2,colorSpace:n,...a}=e,i=e.primary||AN(t),l=e.secondary||wN(t),s=e.error||NN(t),u=e.info||_N(t),p=e.success||DN(t),f=e.warning||zN(t);function d(x){return n?BN(x):$h(x,Af.text.primary)>=o?Af.text.primary:tg.text.primary}let c=({color:x,name:m,mainShade:h=500,lightShade:g=300,darkShade:b=700})=>{if(x={...x},!x.main&&x[h]&&(x.main=x[h]),!x.hasOwnProperty("main"))throw new Error(bt(11,m?` (${m})`:"",h));if(typeof x.main!="string")throw new Error(bt(12,m?` (${m})`:"",JSON.stringify(x.main)));return n?(PC(n,x,"light",g,r),PC(n,x,"dark",b,r)):(EC(x,"light",g,r),EC(x,"dark",b,r)),x.contrastText||(x.contrastText=d(x.main)),x},T;return t==="light"?T=RC():t==="dark"&&(T=OC()),Te({common:{...rl},mode:t,primary:c({color:i,name:"primary"}),secondary:c({color:l,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:c({color:s,name:"error"}),warning:c({color:f,name:"warning"}),info:c({color:u,name:"info"}),success:c({color:p,name:"success"}),grey:T1,contrastThreshold:o,getContrastText:d,augmentColor:c,tonalOffset:r,...T},a)}function wf(e){let t={};return Object.entries(e).forEach(r=>{let[n,a]=r;typeof a=="object"&&(t[n]=`${a.fontStyle?`${a.fontStyle} `:""}${a.fontVariant?`${a.fontVariant} `:""}${a.fontWeight?`${a.fontWeight} `:""}${a.fontStretch?`${a.fontStretch} `:""}${a.fontSize||""}${a.lineHeight?`/${a.lineHeight} `:""}${a.fontFamily||""}`)}),t}function og(e,t){return{toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}},...t}}function kN(e){return Math.round(e*1e5)/1e5}var MC={textTransform:"uppercase"},AC='"Roboto", "Helvetica", "Arial", sans-serif';function hu(e,t){let{fontFamily:o=AC,fontSize:r=14,fontWeightLight:n=300,fontWeightRegular:a=400,fontWeightMedium:i=500,fontWeightBold:l=700,htmlFontSize:s=16,allVariants:u,pxToRem:p,...f}=typeof t=="function"?t(e):t,d=r/14,c=p||(x=>`${x/s*d}rem`),T=(x,m,h,g,b)=>({fontFamily:o,fontWeight:x,fontSize:c(m),lineHeight:h,...o===AC?{letterSpacing:`${kN(g/m)}em`}:{},...b,...u}),v={h1:T(n,96,1.167,-1.5),h2:T(n,60,1.2,-.5),h3:T(a,48,1.167,0),h4:T(a,34,1.235,.25),h5:T(a,24,1.334,0),h6:T(i,20,1.6,.15),subtitle1:T(a,16,1.75,.15),subtitle2:T(i,14,1.57,.1),body1:T(a,16,1.5,.15),body2:T(a,14,1.43,.15),button:T(i,14,1.75,.4,MC),caption:T(a,12,1.66,.4),overline:T(a,12,2.66,1,MC),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return Te({htmlFontSize:s,pxToRem:c,fontFamily:o,fontSize:r,fontWeightLight:n,fontWeightRegular:a,fontWeightMedium:i,fontWeightBold:l,...v},f,{clone:!1})}function Fe(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${.2})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${.14})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${.12})`].join(",")}var UN=["none",Fe(0,2,1,-1,0,1,1,0,0,1,3,0),Fe(0,3,1,-2,0,2,2,0,0,1,5,0),Fe(0,3,3,-2,0,3,4,0,0,1,8,0),Fe(0,2,4,-1,0,4,5,0,0,1,10,0),Fe(0,3,5,-1,0,5,8,0,0,1,14,0),Fe(0,3,5,-1,0,6,10,0,0,1,18,0),Fe(0,4,5,-2,0,7,10,1,0,2,16,1),Fe(0,5,5,-3,0,8,10,1,0,3,14,2),Fe(0,5,6,-3,0,9,12,1,0,3,16,2),Fe(0,6,6,-3,0,10,14,1,0,4,18,3),Fe(0,6,7,-4,0,11,15,1,0,4,20,3),Fe(0,7,8,-4,0,12,17,2,0,5,22,4),Fe(0,7,8,-4,0,13,19,2,0,5,24,4),Fe(0,7,9,-4,0,14,21,2,0,5,26,4),Fe(0,8,9,-5,0,15,22,2,0,6,28,5),Fe(0,8,10,-5,0,16,24,2,0,6,30,5),Fe(0,8,11,-5,0,17,26,2,0,6,32,5),Fe(0,9,11,-5,0,18,28,2,0,7,34,6),Fe(0,9,12,-6,0,19,29,2,0,7,36,6),Fe(0,10,13,-6,0,20,31,3,0,8,38,7),Fe(0,10,13,-6,0,21,33,3,0,8,40,7),Fe(0,10,14,-6,0,22,35,3,0,8,42,7),Fe(0,11,14,-7,0,23,36,3,0,9,44,8),Fe(0,11,15,-7,0,24,38,3,0,9,46,8)],wC=UN;var jN={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},LN={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function NC(e){return`${Math.round(e)}ms`}function HN(e){if(!e)return 0;let t=e/36;return Math.min(Math.round((4+15*t**.25+t/5)*10),3e3)}function rg(e){let t={...jN,...e.easing},o={...LN,...e.duration};return{getAutoHeightDuration:HN,create:(n=["all"],a={})=>{let{duration:i=o.standard,easing:l=t.easeInOut,delay:s=0,...u}=a;return(Array.isArray(n)?n:[n]).map(p=>`${p} ${typeof i=="string"?i:NC(i)} ${l} ${typeof s=="string"?s:NC(s)}`).join(",")},...e,easing:t,duration:o}}var VN={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},_C=VN;function IN(e){return er(e)||typeof e>"u"||typeof e=="string"||typeof e=="boolean"||typeof e=="number"||Array.isArray(e)}function Nf(e={}){let t={...e};function o(r){let n=Object.entries(r);for(let a=0;a<n.length;a++){let[i,l]=n[a];!IN(l)||i.startsWith("unstable_")||i.startsWith("internal_")?delete r[i]:er(l)&&(r[i]={...l},o(r[i]))}}return o(t),`import { unstable_createBreakpoints as createBreakpoints, createTransitions } from '@mui/material/styles';
|
|
37
80
|
|
|
38
81
|
const theme = ${JSON.stringify(t,null,2)};
|
|
39
82
|
|
|
40
83
|
theme.breakpoints = createBreakpoints(theme.breakpoints || {});
|
|
41
84
|
theme.transitions = createTransitions(theme.transitions || {});
|
|
42
85
|
|
|
43
|
-
export default theme;`}function
|
|
44
|
-
To suppress this warning, you need to explicitly provide the \`palette.${t}Channel\` as a string (in rgb format, for example "12 12 12") or undefined if you want to remove the channel token.`))}function Iw(e){return typeof e=="number"?`${e}px`:typeof e=="string"||typeof e=="function"||Array.isArray(e)?e:"8px"}var Tr=e=>{try{return e()}catch{}},Fw=(e="mui")=>Rf(e);function sg(e,t,o,r,n){if(!o)return;o=o===!0?{}:o;let a=n==="dark"?"dark":"light";if(!r){t[n]=ig({...o,palette:{mode:a,...o?.palette},colorSpace:e});return}let{palette:i,...l}=hu({...r,palette:{mode:a,...o?.palette},colorSpace:e});return t[n]={...o,palette:i,opacity:{...ng(a),...o?.opacity},overlays:o?.overlays||ag(a)},l}function ug(e={},...t){let{colorSchemes:o={light:!0},defaultColorScheme:r,disableCssColorScheme:n=!1,cssVarPrefix:a="mui",nativeColor:i=!1,shouldSkipGeneratingVar:l=lg,colorSchemeSelector:s=o.light&&o.dark?"media":void 0,rootSelector:u=":root",...p}=e,f=Object.keys(o)[0],d=r||(o.light&&f!=="light"?"light":f),c=Fw(a),{[d]:T,light:v,dark:x,...m}=o,h={...m},g=T;if((d==="dark"&&!("dark"in o)||d==="light"&&!("light"in o))&&(g=!0),!g)throw new Error(bt(21,d));let b;i&&(b="oklch");let E=sg(b,h,g,p,d);v&&!h.light&&sg(b,h,v,void 0,"light"),x&&!h.dark&&sg(b,h,x,void 0,"dark");let S={defaultColorScheme:d,...E,cssVarPrefix:a,colorSchemeSelector:s,rootSelector:u,getCssVar:c,colorSchemes:h,font:{...Nf(E.typography),...E.font},spacing:Iw(p.spacing)};Object.keys(S.colorSchemes).forEach(M=>{let y=S.colorSchemes[M].palette,w=A=>{let B=A.split("-"),U=B[1],V=B[2];return c(A,y[U][V])};y.mode==="light"&&(D(y.common,"background","#fff"),D(y.common,"onBackground","#000")),y.mode==="dark"&&(D(y.common,"background","#000"),D(y.common,"onBackground","#fff"));function P(A,B,U){if(b){let V;return A===Un&&(V=`transparent ${((1-U)*100).toFixed(0)}%`),A===ve&&(V=`#000 ${(U*100).toFixed(0)}%`),A===xe&&(V=`#fff ${(U*100).toFixed(0)}%`),`color-mix(in ${b}, ${B}, ${V})`}return A(B,U)}if(Vw(y,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"]),y.mode==="light"){D(y.Alert,"errorColor",P(ve,i?c("palette-error-light"):y.error.light,.6)),D(y.Alert,"infoColor",P(ve,i?c("palette-info-light"):y.info.light,.6)),D(y.Alert,"successColor",P(ve,i?c("palette-success-light"):y.success.light,.6)),D(y.Alert,"warningColor",P(ve,i?c("palette-warning-light"):y.warning.light,.6)),D(y.Alert,"errorFilledBg",w("palette-error-main")),D(y.Alert,"infoFilledBg",w("palette-info-main")),D(y.Alert,"successFilledBg",w("palette-success-main")),D(y.Alert,"warningFilledBg",w("palette-warning-main")),D(y.Alert,"errorFilledColor",Tr(()=>y.getContrastText(y.error.main))),D(y.Alert,"infoFilledColor",Tr(()=>y.getContrastText(y.info.main))),D(y.Alert,"successFilledColor",Tr(()=>y.getContrastText(y.success.main))),D(y.Alert,"warningFilledColor",Tr(()=>y.getContrastText(y.warning.main))),D(y.Alert,"errorStandardBg",P(xe,i?c("palette-error-light"):y.error.light,.9)),D(y.Alert,"infoStandardBg",P(xe,i?c("palette-info-light"):y.info.light,.9)),D(y.Alert,"successStandardBg",P(xe,i?c("palette-success-light"):y.success.light,.9)),D(y.Alert,"warningStandardBg",P(xe,i?c("palette-warning-light"):y.warning.light,.9)),D(y.Alert,"errorIconColor",w("palette-error-main")),D(y.Alert,"infoIconColor",w("palette-info-main")),D(y.Alert,"successIconColor",w("palette-success-main")),D(y.Alert,"warningIconColor",w("palette-warning-main")),D(y.AppBar,"defaultBg",w("palette-grey-100")),D(y.Avatar,"defaultBg",w("palette-grey-400")),D(y.Button,"inheritContainedBg",w("palette-grey-300")),D(y.Button,"inheritContainedHoverBg",w("palette-grey-A100")),D(y.Chip,"defaultBorder",w("palette-grey-400")),D(y.Chip,"defaultAvatarColor",w("palette-grey-700")),D(y.Chip,"defaultIconColor",w("palette-grey-700")),D(y.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),D(y.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),D(y.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),D(y.LinearProgress,"primaryBg",P(xe,i?c("palette-primary-main"):y.primary.main,.62)),D(y.LinearProgress,"secondaryBg",P(xe,i?c("palette-secondary-main"):y.secondary.main,.62)),D(y.LinearProgress,"errorBg",P(xe,i?c("palette-error-main"):y.error.main,.62)),D(y.LinearProgress,"infoBg",P(xe,i?c("palette-info-main"):y.info.main,.62)),D(y.LinearProgress,"successBg",P(xe,i?c("palette-success-main"):y.success.main,.62)),D(y.LinearProgress,"warningBg",P(xe,i?c("palette-warning-light"):y.warning.main,.62)),D(y.Skeleton,"bg",b?P(Un,i?c("palette-text-primary"):y.text.primary,.11):`rgba(${w("palette-text-primaryChannel")} / 0.11)`),D(y.Slider,"primaryTrack",P(xe,i?c("palette-primary-main"):y.primary.main,.62)),D(y.Slider,"secondaryTrack",P(xe,i?c("palette-secondary-main"):y.secondary.main,.62)),D(y.Slider,"errorTrack",P(xe,i?c("palette-error-main"):y.error.main,.62)),D(y.Slider,"infoTrack",P(xe,i?c("palette-info-main"):y.info.main,.62)),D(y.Slider,"successTrack",P(xe,i?c("palette-success-main"):y.success.main,.62)),D(y.Slider,"warningTrack",P(xe,i?c("palette-warning-main"):y.warning.main,.62));let A=b?P(ve,i?c("palette-background-default"):y.background.default,.6825):cu(y.background.default,.8);D(y.SnackbarContent,"bg",A),D(y.SnackbarContent,"color",Tr(()=>b?Af.text.primary:y.getContrastText(A))),D(y.SpeedDialAction,"fabHoverBg",cu(y.background.paper,.15)),D(y.StepConnector,"border",w("palette-grey-400")),D(y.StepContent,"border",w("palette-grey-400")),D(y.Switch,"defaultColor",w("palette-common-white")),D(y.Switch,"defaultDisabledColor",w("palette-grey-100")),D(y.Switch,"primaryDisabledColor",P(xe,i?c("palette-primary-main"):y.primary.main,.62)),D(y.Switch,"secondaryDisabledColor",P(xe,i?c("palette-secondary-main"):y.secondary.main,.62)),D(y.Switch,"errorDisabledColor",P(xe,i?c("palette-error-main"):y.error.main,.62)),D(y.Switch,"infoDisabledColor",P(xe,i?c("palette-info-main"):y.info.main,.62)),D(y.Switch,"successDisabledColor",P(xe,i?c("palette-success-main"):y.success.main,.62)),D(y.Switch,"warningDisabledColor",P(xe,i?c("palette-warning-main"):y.warning.main,.62)),D(y.TableCell,"border",P(xe,Un(i?c("palette-divider"):y.divider,1),.88)),D(y.Tooltip,"bg",P(Un,i?c("palette-grey-700"):y.grey[700],.92))}if(y.mode==="dark"){D(y.Alert,"errorColor",P(xe,i?c("palette-error-light"):y.error.light,.6)),D(y.Alert,"infoColor",P(xe,i?c("palette-info-light"):y.info.light,.6)),D(y.Alert,"successColor",P(xe,i?c("palette-success-light"):y.success.light,.6)),D(y.Alert,"warningColor",P(xe,i?c("palette-warning-light"):y.warning.light,.6)),D(y.Alert,"errorFilledBg",w("palette-error-dark")),D(y.Alert,"infoFilledBg",w("palette-info-dark")),D(y.Alert,"successFilledBg",w("palette-success-dark")),D(y.Alert,"warningFilledBg",w("palette-warning-dark")),D(y.Alert,"errorFilledColor",Tr(()=>y.getContrastText(y.error.dark))),D(y.Alert,"infoFilledColor",Tr(()=>y.getContrastText(y.info.dark))),D(y.Alert,"successFilledColor",Tr(()=>y.getContrastText(y.success.dark))),D(y.Alert,"warningFilledColor",Tr(()=>y.getContrastText(y.warning.dark))),D(y.Alert,"errorStandardBg",P(ve,i?c("palette-error-light"):y.error.light,.9)),D(y.Alert,"infoStandardBg",P(ve,i?c("palette-info-light"):y.info.light,.9)),D(y.Alert,"successStandardBg",P(ve,i?c("palette-success-light"):y.success.light,.9)),D(y.Alert,"warningStandardBg",P(ve,i?c("palette-warning-light"):y.warning.light,.9)),D(y.Alert,"errorIconColor",w("palette-error-main")),D(y.Alert,"infoIconColor",w("palette-info-main")),D(y.Alert,"successIconColor",w("palette-success-main")),D(y.Alert,"warningIconColor",w("palette-warning-main")),D(y.AppBar,"defaultBg",w("palette-grey-900")),D(y.AppBar,"darkBg",w("palette-background-paper")),D(y.AppBar,"darkColor",w("palette-text-primary")),D(y.Avatar,"defaultBg",w("palette-grey-600")),D(y.Button,"inheritContainedBg",w("palette-grey-800")),D(y.Button,"inheritContainedHoverBg",w("palette-grey-700")),D(y.Chip,"defaultBorder",w("palette-grey-700")),D(y.Chip,"defaultAvatarColor",w("palette-grey-300")),D(y.Chip,"defaultIconColor",w("palette-grey-300")),D(y.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),D(y.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),D(y.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),D(y.LinearProgress,"primaryBg",P(ve,i?c("palette-primary-main"):y.primary.main,.5)),D(y.LinearProgress,"secondaryBg",P(ve,i?c("palette-secondary-main"):y.secondary.main,.5)),D(y.LinearProgress,"errorBg",P(ve,i?c("palette-error-main"):y.error.main,.5)),D(y.LinearProgress,"infoBg",P(ve,i?c("palette-info-main"):y.info.main,.5)),D(y.LinearProgress,"successBg",P(ve,i?c("palette-success-main"):y.success.main,.5)),D(y.LinearProgress,"warningBg",P(ve,i?c("palette-warning-main"):y.warning.main,.5)),D(y.Skeleton,"bg",b?P(Un,i?c("palette-text-primary"):y.text.primary,.13):`rgba(${w("palette-text-primaryChannel")} / 0.13)`),D(y.Slider,"primaryTrack",P(ve,i?c("palette-primary-main"):y.primary.main,.5)),D(y.Slider,"secondaryTrack",P(ve,i?c("palette-secondary-main"):y.secondary.main,.5)),D(y.Slider,"errorTrack",P(ve,i?c("palette-error-main"):y.error.main,.5)),D(y.Slider,"infoTrack",P(ve,i?c("palette-info-main"):y.info.main,.5)),D(y.Slider,"successTrack",P(ve,i?c("palette-success-main"):y.success.main,.5)),D(y.Slider,"warningTrack",P(ve,i?c("palette-warning-light"):y.warning.main,.5));let A=b?P(xe,i?c("palette-background-default"):y.background.default,.985):cu(y.background.default,.98);D(y.SnackbarContent,"bg",A),D(y.SnackbarContent,"color",Tr(()=>b?tg.text.primary:y.getContrastText(A))),D(y.SpeedDialAction,"fabHoverBg",cu(y.background.paper,.15)),D(y.StepConnector,"border",w("palette-grey-600")),D(y.StepContent,"border",w("palette-grey-600")),D(y.Switch,"defaultColor",w("palette-grey-300")),D(y.Switch,"defaultDisabledColor",w("palette-grey-600")),D(y.Switch,"primaryDisabledColor",P(ve,i?c("palette-primary-main"):y.primary.main,.55)),D(y.Switch,"secondaryDisabledColor",P(ve,i?c("palette-secondary-main"):y.secondary.main,.55)),D(y.Switch,"errorDisabledColor",P(ve,i?c("palette-error-main"):y.error.main,.55)),D(y.Switch,"infoDisabledColor",P(ve,i?c("palette-info-main"):y.info.main,.55)),D(y.Switch,"successDisabledColor",P(ve,i?c("palette-success-main"):y.success.main,.55)),D(y.Switch,"warningDisabledColor",P(ve,i?c("palette-warning-light"):y.warning.main,.55)),D(y.TableCell,"border",P(ve,Un(i?c("palette-divider"):y.divider,1),.68)),D(y.Tooltip,"bg",P(Un,i?c("palette-grey-700"):y.grey[700],.92))}i||(Zr(y.background,"default"),Zr(y.background,"paper"),Zr(y.common,"background"),Zr(y.common,"onBackground"),Zr(y,"divider")),Object.keys(y).forEach(A=>{let B=y[A];A!=="tonalOffset"&&!i&&B&&typeof B=="object"&&(B.main&&D(y[A],"mainChannel",dl(gu(B.main))),B.light&&D(y[A],"lightChannel",dl(gu(B.light))),B.dark&&D(y[A],"darkChannel",dl(gu(B.dark))),B.contrastText&&D(y[A],"contrastTextChannel",dl(gu(B.contrastText))),A==="text"&&(Zr(y[A],"primary"),Zr(y[A],"secondary")),A==="action"&&(B.active&&Zr(y[A],"active"),B.selected&&Zr(y[A],"selected")))})}),S=t.reduce((M,y)=>Te(M,y),S);let C={prefix:a,disableCssColorScheme:n,shouldSkipGeneratingVar:l,getSelector:_C(S),enableContrastVars:i},{vars:O,generateThemeVars:N,generateStyleSheets:_}=Jh(S,C);return S.vars=O,Object.entries(S.colorSchemes[S.defaultColorScheme]).forEach(([M,y])=>{S[M]=y}),S.generateThemeVars=N,S.generateStyleSheets=_,S.generateSpacing=function(){return ul(p.spacing,Pa(this))},S.getColorSchemeSelector=eg(s),S.spacing=S.generateSpacing(),S.shouldSkipGeneratingVar=l,S.unstable_sxConfig={...Yr,...p?.unstable_sxConfig},S.unstable_sx=function(y){return ao({sx:y,theme:this})},S.internal_cache={},S.toRuntimeSource=wf,S}function DC(e,t,o){e.colorSchemes&&o&&(e.colorSchemes[t]={...o!==!0&&o,palette:wa({...o===!0?{}:o.palette,mode:t})})}function vr(e={},...t){let{palette:o,cssVariables:r=!1,colorSchemes:n=o?void 0:{light:!0},defaultColorScheme:a=o?.mode,...i}=e,l=a||"light",s=n?.[l],u={...n,...o?{[l]:{...typeof s!="boolean"&&s,palette:o}}:void 0};if(r===!1){if(!("colorSchemes"in e))return hu(e,...t);let p=o;"palette"in e||u[l]&&(u[l]!==!0?p=u[l].palette:l==="dark"&&(p={mode:"dark"}));let f=hu({...e,palette:p},...t);return f.defaultColorScheme=l,f.colorSchemes=u,f.palette.mode==="light"&&(f.colorSchemes.light={...u.light!==!0&&u.light,palette:f.palette},DC(f,"dark",u.dark)),f.palette.mode==="dark"&&(f.colorSchemes.dark={...u.dark!==!0&&u.dark,palette:f.palette},DC(f,"light",u.light)),f}return!o&&!("light"in u)&&l==="light"&&(u.light=!0),ug({...i,colorSchemes:u,defaultColorScheme:l,...typeof r!="boolean"&&r},...t)}var Gw=R(k(),1);var qw=vr(),Tl=qw;function jn(){let e=gr(Tl);return e[Nt]||e}function $w(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}var _f=$w;var Yw=e=>_f(e)&&e!=="classes",ot=Yw;var Kw=fl({themeId:Nt,defaultTheme:Tl,rootShouldForwardProp:ot}),j=Kw;var kC=R(k(),1);var oL=R(k(),1);var zC=R(L(),1);function cg({theme:e,...t}){let o=Nt in e?e[Nt]:void 0;return(0,zC.jsx)(yl,{...t,themeId:o?Nt:void 0,theme:o||e})}var Xw=R(L(),1),bu={attribute:"data-mui-color-scheme",colorSchemeStorageKey:"mui-color-scheme",defaultLightColorScheme:"light",defaultDarkColorScheme:"dark",modeStorageKey:"mui-mode"};var Qw=R(L(),1),{CssVarsProvider:Zw,useColorScheme:dL,getInitColorSchemeScript:mL}=Pf({themeId:Nt,theme:()=>vr({cssVariables:!0}),colorSchemeStorageKey:bu.colorSchemeStorageKey,modeStorageKey:bu.modeStorageKey,defaultColorScheme:{light:bu.defaultLightColorScheme,dark:bu.defaultDarkColorScheme},resolveTheme:e=>{let t={...e,typography:yu(e.palette,e.typography)};return t.unstable_sx=function(r){return ao({sx:r,theme:this})},t}});var BC=Zw;var pg=R(L(),1);function Df({theme:e,...t}){let o=kC.useMemo(()=>{if(typeof e=="function")return e;let r=Nt in e?e[Nt]:e;return"colorSchemes"in r?null:"vars"in r?e:{...e,vars:null}},[e]);return o?(0,pg.jsx)(cg,{theme:o,...t}):(0,pg.jsx)(BC,{theme:e,...t})}var re=ll;function Tu(...e){return e.reduce((t,o)=>o==null?t:function(...n){t.apply(this,n),o.apply(this,n)},()=>{})}var kf=R(k(),1);var zf=R(k(),1);var UC=R(L(),1);function Ww(e){return(0,UC.jsx)(cl,{...e,defaultTheme:Tl,themeId:Nt})}var fg=Ww;var jC=R(L(),1);function LC(e){return function(o){return(0,jC.jsx)(fg,{styles:typeof e=="function"?r=>e({theme:r,...o}):e})}}var Jw=Ef,le=Jw;var qL=R(k(),1);var e5=R(L(),1);function Y(e){return Kh(e)}function HC(e){return F("MuiSvgIcon",e)}var WL=q("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);var Bf=R(L(),1),t5=e=>{let{color:t,fontSize:o,classes:r}=e,n={root:["root",t!=="inherit"&&`color${re(t)}`,`fontSize${re(o)}`]};return G(n,HC,r)},o5=j("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[t.root,o.color!=="inherit"&&t[`color${re(o.color)}`],t[`fontSize${re(o.fontSize)}`]]}})(le(({theme:e})=>({userSelect:"none",width:"1em",height:"1em",display:"inline-block",flexShrink:0,transition:e.transitions?.create?.("fill",{duration:(e.vars??e).transitions?.duration?.shorter}),variants:[{props:t=>!t.hasSvgAsChild,style:{fill:"currentColor"}},{props:{fontSize:"inherit"},style:{fontSize:"inherit"}},{props:{fontSize:"small"},style:{fontSize:e.typography?.pxToRem?.(20)||"1.25rem"}},{props:{fontSize:"medium"},style:{fontSize:e.typography?.pxToRem?.(24)||"1.5rem"}},{props:{fontSize:"large"},style:{fontSize:e.typography?.pxToRem?.(35)||"2.1875rem"}},...Object.entries((e.vars??e).palette).filter(([,t])=>t&&t.main).map(([t])=>({props:{color:t},style:{color:(e.vars??e).palette?.[t]?.main}})),{props:{color:"action"},style:{color:(e.vars??e).palette?.action?.active}},{props:{color:"disabled"},style:{color:(e.vars??e).palette?.action?.disabled}},{props:{color:"inherit"},style:{color:void 0}}]}))),VC=zf.forwardRef(function(t,o){let r=Y({props:t,name:"MuiSvgIcon"}),{children:n,className:a,color:i="inherit",component:l="svg",fontSize:s="medium",htmlColor:u,inheritViewBox:p=!1,titleAccess:f,viewBox:d="0 0 24 24",...c}=r,T=zf.isValidElement(n)&&n.type==="svg",v={...r,color:i,component:l,fontSize:s,instanceFontSize:t.fontSize,inheritViewBox:p,viewBox:d,hasSvgAsChild:T},x={};p||(x.viewBox=d);let m=t5(v);return(0,Bf.jsxs)(o5,{as:l,className:H(m.root,a),focusable:"false",color:u,"aria-hidden":f?void 0:!0,role:f?"img":void 0,ref:o,...x,...c,...T&&n.props,ownerState:v,children:[T?n.props.children:n,f?(0,Bf.jsx)("title",{children:f}):null]})});VC.muiName="SvgIcon";var dg=VC;var IC=R(L(),1);function Uf(e,t){function o(r,n){return(0,IC.jsx)(dg,{"data-testid":void 0,ref:n,...r,children:e})}return o.muiName=dg.muiName,kf.memo(kf.forwardRef(o))}function vl(e,t=166){let o;function r(...n){let a=()=>{e.apply(this,n)};clearTimeout(o),o=setTimeout(a,t)}return r.clear=()=>{clearTimeout(o)},r}var FC=vl;var jf=Of;function _a(e){let t=e.activeElement;for(;t?.shadowRoot?.activeElement!=null;)t=t.shadowRoot.activeElement;return t}var Ln=_a;function Tt(e){return e&&e.ownerDocument||document}var Hn=Tt;function qo(e){return Tt(e).defaultView||window}var vu=qo;function Da(e,t){typeof e=="function"?e(t):e&&(e.current=t)}var Lf=Kt;var mg=tr;var za=R(k(),1);function Hf(e){let{controlled:t,default:o,name:r,state:n="value"}=e,{current:a}=za.useRef(t!==void 0),[i,l]=za.useState(o),s=a?t:i,u=za.useCallback(p=>{a||l(p)},[]);return[s,u]}var yg=Hf;var hg=R(k(),1);function r5(e){let t=hg.useRef(e);return Kt(()=>{t.current=e}),hg.useRef((...o)=>(0,t.current)(...o)).current}var Go=r5;var Vn=Go;var xl=R(k(),1);function Ut(...e){let t=xl.useRef(void 0),o=xl.useCallback(r=>{let n=e.map(a=>{if(a==null)return null;if(typeof a=="function"){let i=a,l=i(r);return typeof l=="function"?l:()=>{i(null)}}return a.current=r,()=>{a.current=null}});return()=>{n.forEach(a=>a?.())}},e);return xl.useMemo(()=>e.every(r=>r==null)?null:r=>{t.current&&(t.current(),t.current=void 0),r!=null&&(t.current=o(r))},e)}var Xt=Ut;function n5(e,t){let o=e.charCodeAt(2);return e[0]==="o"&&e[1]==="n"&&o>=65&&o<=90&&typeof t=="function"}function gg(e,t){if(!e)return t;function o(i,l){let s={};return Object.keys(l).forEach(u=>{n5(u,l[u])&&typeof i[u]=="function"&&(s[u]=(...p)=>{i[u](...p),l[u](...p)})}),s}if(typeof e=="function"||typeof t=="function")return i=>{let l=typeof t=="function"?t(i):t,s=typeof e=="function"?e({...i,...l}):e,u=H(i?.className,l?.className,s?.className),p=o(s,l);return{...l,...s,...p,...!!u&&{className:u},...l?.style&&s?.style&&{style:{...l.style,...s.style}},...l?.sx&&s?.sx&&{sx:[...Array.isArray(l.sx)?l.sx:[l.sx],...Array.isArray(s.sx)?s.sx:[s.sx]]}}};let r=t,n=o(e,r),a=H(r?.className,e?.className);return{...t,...e,...n,...!!a&&{className:a},...r?.style&&e?.style&&{style:{...r.style,...e.style}},...r?.sx&&e?.sx&&{sx:[...Array.isArray(r.sx)?r.sx:[r.sx],...Array.isArray(e.sx)?e.sx:[e.sx]]}}}function Vf(e,t){if(e==null)return{};var o={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;o[r]=e[r]}return o}function If(e,t){return If=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(o,r){return o.__proto__=r,o},If(e,t)}function Ff(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,If(e,t)}var xu=R(k()),Su=R(Sc());var bg={disabled:!1};var qC=R(k()),Sl=qC.default.createContext(null);var GC=function(t){return t.scrollTop};var Cu="unmounted",Ba="exited",ka="entering",El="entered",Tg="exiting",Wr=(function(e){Ff(t,e);function t(r,n){var a;a=e.call(this,r,n)||this;var i=n,l=i&&!i.isMounting?r.enter:r.appear,s;return a.appearStatus=null,r.in?l?(s=Ba,a.appearStatus=ka):s=El:r.unmountOnExit||r.mountOnEnter?s=Cu:s=Ba,a.state={status:s},a.nextCallback=null,a}t.getDerivedStateFromProps=function(n,a){var i=n.in;return i&&a.status===Cu?{status:Ba}:null};var o=t.prototype;return o.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},o.componentDidUpdate=function(n){var a=null;if(n!==this.props){var i=this.state.status;this.props.in?i!==ka&&i!==El&&(a=ka):(i===ka||i===El)&&(a=Tg)}this.updateStatus(!1,a)},o.componentWillUnmount=function(){this.cancelNextCallback()},o.getTimeouts=function(){var n=this.props.timeout,a,i,l;return a=i=l=n,n!=null&&typeof n!="number"&&(a=n.exit,i=n.enter,l=n.appear!==void 0?n.appear:i),{exit:a,enter:i,appear:l}},o.updateStatus=function(n,a){if(n===void 0&&(n=!1),a!==null)if(this.cancelNextCallback(),a===ka){if(this.props.unmountOnExit||this.props.mountOnEnter){var i=this.props.nodeRef?this.props.nodeRef.current:Su.default.findDOMNode(this);i&&GC(i)}this.performEnter(n)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Ba&&this.setState({status:Cu})},o.performEnter=function(n){var a=this,i=this.props.enter,l=this.context?this.context.isMounting:n,s=this.props.nodeRef?[l]:[Su.default.findDOMNode(this),l],u=s[0],p=s[1],f=this.getTimeouts(),d=l?f.appear:f.enter;if(!n&&!i||bg.disabled){this.safeSetState({status:El},function(){a.props.onEntered(u)});return}this.props.onEnter(u,p),this.safeSetState({status:ka},function(){a.props.onEntering(u,p),a.onTransitionEnd(d,function(){a.safeSetState({status:El},function(){a.props.onEntered(u,p)})})})},o.performExit=function(){var n=this,a=this.props.exit,i=this.getTimeouts(),l=this.props.nodeRef?void 0:Su.default.findDOMNode(this);if(!a||bg.disabled){this.safeSetState({status:Ba},function(){n.props.onExited(l)});return}this.props.onExit(l),this.safeSetState({status:Tg},function(){n.props.onExiting(l),n.onTransitionEnd(i.exit,function(){n.safeSetState({status:Ba},function(){n.props.onExited(l)})})})},o.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},o.safeSetState=function(n,a){a=this.setNextCallback(a),this.setState(n,a)},o.setNextCallback=function(n){var a=this,i=!0;return this.nextCallback=function(l){i&&(i=!1,a.nextCallback=null,n(l))},this.nextCallback.cancel=function(){i=!1},this.nextCallback},o.onTransitionEnd=function(n,a){this.setNextCallback(a);var i=this.props.nodeRef?this.props.nodeRef.current:Su.default.findDOMNode(this),l=n==null&&!this.props.addEndListener;if(!i||l){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var s=this.props.nodeRef?[this.nextCallback]:[i,this.nextCallback],u=s[0],p=s[1];this.props.addEndListener(u,p)}n!=null&&setTimeout(this.nextCallback,n)},o.render=function(){var n=this.state.status;if(n===Cu)return null;var a=this.props,i=a.children,l=a.in,s=a.mountOnEnter,u=a.unmountOnExit,p=a.appear,f=a.enter,d=a.exit,c=a.timeout,T=a.addEndListener,v=a.onEnter,x=a.onEntering,m=a.onEntered,h=a.onExit,g=a.onExiting,b=a.onExited,E=a.nodeRef,S=Vf(a,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return xu.default.createElement(Sl.Provider,{value:null},typeof i=="function"?i(n,S):xu.default.cloneElement(xu.default.Children.only(i),S))},t})(xu.default.Component);Wr.contextType=Sl;Wr.propTypes={};function Cl(){}Wr.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Cl,onEntering:Cl,onEntered:Cl,onExit:Cl,onExiting:Cl,onExited:Cl};Wr.UNMOUNTED=Cu;Wr.EXITED=Ba;Wr.ENTERING=ka;Wr.ENTERED=El;Wr.EXITING=Tg;var Eu=Wr;function $C(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var Pu=R(k());var $o=R(k());function qf(e,t){var o=function(a){return t&&(0,$o.isValidElement)(a)?t(a):a},r=Object.create(null);return e&&$o.Children.map(e,function(n){return n}).forEach(function(n){r[n.key]=o(n)}),r}function a5(e,t){e=e||{},t=t||{};function o(p){return p in t?t[p]:e[p]}var r=Object.create(null),n=[];for(var a in e)a in t?n.length&&(r[a]=n,n=[]):n.push(a);var i,l={};for(var s in t){if(r[s])for(i=0;i<r[s].length;i++){var u=r[s][i];l[r[s][i]]=o(u)}l[s]=o(s)}for(i=0;i<n.length;i++)l[n[i]]=o(n[i]);return l}function Ua(e,t,o){return o[t]!=null?o[t]:e.props[t]}function YC(e,t){return qf(e.children,function(o){return(0,$o.cloneElement)(o,{onExited:t.bind(null,o),in:!0,appear:Ua(o,"appear",e),enter:Ua(o,"enter",e),exit:Ua(o,"exit",e)})})}function KC(e,t,o){var r=qf(e.children),n=a5(t,r);return Object.keys(n).forEach(function(a){var i=n[a];if((0,$o.isValidElement)(i)){var l=a in t,s=a in r,u=t[a],p=(0,$o.isValidElement)(u)&&!u.props.in;s&&(!l||p)?n[a]=(0,$o.cloneElement)(i,{onExited:o.bind(null,i),in:!0,exit:Ua(i,"exit",e),enter:Ua(i,"enter",e)}):!s&&l&&!p?n[a]=(0,$o.cloneElement)(i,{in:!1}):s&&l&&(0,$o.isValidElement)(u)&&(n[a]=(0,$o.cloneElement)(i,{onExited:o.bind(null,i),in:u.props.in,exit:Ua(i,"exit",e),enter:Ua(i,"enter",e)}))}}),n}var i5=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})},l5={component:"div",childFactory:function(t){return t}},vg=(function(e){Ff(t,e);function t(r,n){var a;a=e.call(this,r,n)||this;var i=a.handleExited.bind($C(a));return a.state={contextValue:{isMounting:!0},handleExited:i,firstRender:!0},a}var o=t.prototype;return o.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},o.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(n,a){var i=a.children,l=a.handleExited,s=a.firstRender;return{children:s?YC(n,l):KC(n,i,l),firstRender:!1}},o.handleExited=function(n,a){var i=qf(this.props.children);n.key in i||(n.props.onExited&&n.props.onExited(a),this.mounted&&this.setState(function(l){var s=Zn({},l.children);return delete s[n.key],{children:s}}))},o.render=function(){var n=this.props,a=n.component,i=n.childFactory,l=Vf(n,["component","childFactory"]),s=this.state.contextValue,u=i5(this.state.children).map(i);return delete l.appear,delete l.enter,delete l.exit,a===null?Pu.default.createElement(Sl.Provider,{value:s},u):Pu.default.createElement(Sl.Provider,{value:s},Pu.default.createElement(a,l,u))},t})(Pu.default.Component);vg.propTypes={};vg.defaultProps=l5;var xg=vg;var QC=R(k(),1),XC={};function Pl(e,t){let o=QC.useRef(XC);return o.current===XC&&(o.current=e(t)),o}var ZC=R(k(),1),s5=[];function Sg(e){ZC.useEffect(e,s5)}var Cg=class e{constructor(){Qa(this,"currentId",null);Qa(this,"clear",()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)});Qa(this,"disposeEffect",()=>this.clear)}static create(){return new e}start(t,o){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,o()},t)}};function Rl(){let e=Pl(Cg.create).current;return Sg(e.disposeEffect),e}var Gf=e=>e.scrollTop;function io(e,t){return o=>{if(t){let r=e.current;o===void 0?t(r):t(r,o)}}}function $f(e,t,o,r,n,a){let i=e==="exited"&&!t?r:o[e]||o.exited;return n||a?{...i,...n,...a}:i}function Ol(e,t){let{timeout:o,easing:r,style:n={}}=e;return{duration:n.transitionDuration??(typeof o=="number"?o:o[t.mode]||0),easing:n.transitionTimingFunction??(typeof r=="object"?r[t.mode]:r),delay:n.transitionDelay}}function u5(e){return typeof e=="string"}var In=u5;function c5(e,t,o){return e===void 0||In(e)?t:{...t,ownerState:{...t.ownerState,...o}}}var Ru=c5;function p5(e,t,o){return typeof e=="function"?e(t,o):e}var Ou=p5;function f5(e,t=[]){if(e===void 0)return{};let o={};return Object.keys(e).filter(r=>r.match(/^on[A-Z]/)&&typeof e[r]=="function"&&!t.includes(r)).forEach(r=>{o[r]=e[r]}),o}var Mu=f5;function d5(e){if(e===void 0)return{};let t={};return Object.keys(e).filter(o=>!(o.match(/^on[A-Z]/)&&typeof e[o]=="function")).forEach(o=>{t[o]=e[o]}),t}var Yf=d5;function m5(e){let{getSlotProps:t,additionalProps:o,externalSlotProps:r,externalForwardedProps:n,className:a}=e;if(!t){let c=H(o?.className,a,n?.className,r?.className),T={...o?.style,...n?.style,...r?.style},v={...o,...n,...r};return c.length>0&&(v.className=c),Object.keys(T).length>0&&(v.style=T),{props:v,internalRef:void 0}}let i=Mu({...n,...r}),l=Yf(r),s=Yf(n),u=t(i),p=H(u?.className,o?.className,a,n?.className,r?.className),f={...u?.style,...o?.style,...n?.style,...r?.style},d={...u,...o,...s,...l};return p.length>0&&(d.className=p),Object.keys(f).length>0&&(d.style=f),{props:d,internalRef:u.ref}}var Au=m5;function Ke(e,t){let{className:o,elementType:r,ownerState:n,externalForwardedProps:a,internalForwardedProps:i,shouldForwardComponentProp:l=!1,...s}=t,{component:u,slots:p={[e]:void 0},slotProps:f={[e]:void 0},...d}=a,c=p[e]||r,T=Ou(f[e],n),{props:{component:v,...x},internalRef:m}=Au({className:o,...s,externalForwardedProps:e==="root"?d:void 0,externalSlotProps:T}),h=Ut(m,T?.ref,t.ref),g=e==="root"?v||u:v,b=Ru(c,{...e==="root"&&!u&&!p[e]&&i,...e!=="root"&&!p[e]&&i,...x,...g&&!l&&{as:g},...g&&l&&{component:g},ref:h},n);return[c,b]}var JC=R(k(),1);function WC(e){return F("MuiPaper",e)}var vH=q("MuiPaper",["root","rounded","outlined","elevation","elevation0","elevation1","elevation2","elevation3","elevation4","elevation5","elevation6","elevation7","elevation8","elevation9","elevation10","elevation11","elevation12","elevation13","elevation14","elevation15","elevation16","elevation17","elevation18","elevation19","elevation20","elevation21","elevation22","elevation23","elevation24"]);var eE=R(L(),1),y5=e=>{let{square:t,elevation:o,variant:r,classes:n}=e,a={root:["root",r,!t&&"rounded",r==="elevation"&&`elevation${o}`]};return G(a,WC,n)},h5=j("div",{name:"MuiPaper",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[t.root,t[o.variant],!o.square&&t.rounded,o.variant==="elevation"&&t[`elevation${o.elevation}`]]}})(le(({theme:e})=>({backgroundColor:(e.vars||e).palette.background.paper,color:(e.vars||e).palette.text.primary,transition:e.transitions.create("box-shadow"),variants:[{props:({ownerState:t})=>!t.square,style:{borderRadius:e.shape.borderRadius}},{props:{variant:"outlined"},style:{border:`1px solid ${(e.vars||e).palette.divider}`}},{props:{variant:"elevation"},style:{boxShadow:"var(--Paper-shadow)",backgroundImage:"var(--Paper-overlay)"}}]}))),g5=JC.forwardRef(function(t,o){let r=Y({props:t,name:"MuiPaper"}),n=jn(),{className:a,component:i="div",elevation:l=1,square:s=!1,variant:u="elevation",...p}=r,f={...r,component:i,elevation:l,square:s,variant:u},d=y5(f);return(0,eE.jsx)(h5,{as:i,ownerState:f,className:H(d.root,a),ref:o,...p,style:{...u==="elevation"&&{"--Paper-shadow":(n.vars||n).shadows[l],...n.vars&&{"--Paper-overlay":n.vars.overlays?.[l]},...!n.vars&&n.palette.mode==="dark"&&{"--Paper-overlay":`linear-gradient(${kt("#fff",bl(l))}, ${kt("#fff",bl(l))})`}},...p.style}})}),Ml=g5;var qn=R(k(),1);function Nu(e){try{return e.matches(":focus-visible")}catch{}return!1}var Fn=R(k(),1);var tE=R(k(),1);function Eg(e){let{focusableWhenDisabled:t,disabled:o,composite:r=!1,tabIndex:n=0,isNativeButton:a}=e,i=r&&t!==!1,l=r&&t===!1;return tE.useMemo(()=>{let u={onKeyDown(p){o&&t&&p.key!=="Tab"&&p.preventDefault()}};return r||(u.tabIndex=n,!a&&o&&(u.tabIndex=t?n:-1)),(a&&(t||i)||!a&&o)&&(u["aria-disabled"]=o),a&&(!t||l)&&(u.disabled=o),u},[r,o,t,i,l,a,n])}var b5={};function Pg(e){let{nativeButton:t,nativeButtonProp:o,internalNativeButton:r=t,allowInferredHostMismatch:n=!1,disabled:a,type:i,hasFormAction:l=!1,tabIndex:s=0,focusableWhenDisabled:u,stopEventPropagation:p=!1,onBeforeKeyDown:f,onBeforeKeyUp:d}=e,c=Fn.useRef(null),T=u===!0,v=Eg({focusableWhenDisabled:T,disabled:a,isNativeButton:t,tabIndex:s}),x=Fn.useCallback(()=>{let g=c.current;return g==null?t:g.tagName==="BUTTON"?!0:!!(g.tagName==="A"&&g.href)},[t]),m=Fn.useMemo(()=>{let g=T?{}:{tabIndex:a?-1:s};return t?(g.type=i===void 0&&!l?"button":i,T||(g.disabled=a)):(g.role="button",!T&&a&&(g["aria-disabled"]=a)),T?{...g,...v}:g},[a,T,v,l,t,s,i]);return{getButtonProps:Fn.useCallback((g=b5)=>{let{onClick:b,onKeyDown:E,onKeyUp:S,...C}=g;return{...m,...C,onClick:M=>{if(p&&M.stopPropagation(),a){M.preventDefault();return}b?.(M)},onKeyDown:M=>{if(T&&v.onKeyDown(M),!a&&(f?.(M),E?.(M),!(M.target!==M.currentTarget||x()))){if(M.key===" "){M.preventDefault();return}M.key==="Enter"&&(M.preventDefault(),M.currentTarget.click())}},onKeyUp:M=>{a||(d?.(M),S?.(M),M.target===M.currentTarget&&!x()&&M.key===" "&&!M.defaultPrevented&&M.currentTarget.click())}}},[m,a,T,v,x,f,d,p]),rootRef:c}}var Kf=R(k(),1);var Rg=class e{constructor(){Qa(this,"mountEffect",()=>{this.shouldMount&&!this.didMount&&this.ref.current!==null&&(this.didMount=!0,this.mounted.resolve())});this.ref={current:null},this.mounted=null,this.didMount=!1,this.shouldMount=!1,this.setShouldMount=null}static create(){return new e}static use(){let t=Pl(e.create).current,[o,r]=Kf.useState(!1);return t.shouldMount=o,t.setShouldMount=r,Kf.useEffect(t.mountEffect,[o]),t}mount(){return this.mounted||(this.mounted=T5(),this.shouldMount=!0,this.setShouldMount(this.shouldMount)),this.mounted}start(...t){this.mount().then(()=>this.ref.current?.start(...t))}stop(...t){this.mount().then(()=>this.ref.current?.stop(...t))}pulsate(...t){this.mount().then(()=>this.ref.current?.pulsate(...t))}};function Xf(){return Rg.use()}function T5(){let e,t,o=new Promise((r,n)=>{e=r,t=n});return o.resolve=e,o.reject=t,o}var dt=R(k(),1);var Qf=R(k(),1);var Og=R(L(),1);function v5(e){let{className:t,classes:o,pulsate:r=!1,rippleX:n,rippleY:a,rippleSize:i,in:l,onExited:s,timeout:u}=e,[p,f]=Qf.useState(!1),d=H(t,o.ripple,o.rippleVisible,r&&o.ripplePulsate),c={width:i,height:i,top:-(i/2)+a,left:-(i/2)+n},T=H(o.child,p&&o.childLeaving,r&&o.childPulsate);return!l&&!p&&f(!0),Qf.useEffect(()=>{if(!l&&s!=null){let v=setTimeout(s,u);return()=>{clearTimeout(v)}}},[s,l,u]),(0,Og.jsx)("span",{className:d,style:c,children:(0,Og.jsx)("span",{className:T})})}var oE=v5;var x5=q("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),Eo=x5;var Zf=R(L(),1),Mg=550,S5=80,C5=Xo`
|
|
86
|
+
export default theme;`}function DC(e){return typeof e=="number"?`${(e*100).toFixed(0)}%`:`calc((${e}) * 100%)`}var FN=e=>{if(!Number.isNaN(+e))return+e;let t=e.match(/\d*\.?\d+/g);if(!t)return 0;let o=0;for(let r=0;r<t.length;r+=1)o+=+t[r];return o};function qN(e){Object.assign(e,{alpha(t,o){let r=this||e;return r.colorSpace?`oklch(from ${t} l c h / ${typeof o=="string"?`calc(${o})`:o})`:r.vars?`rgba(${t.replace(/var\(--([^,\s)]+)(?:,[^)]+)?\)+/g,"var(--$1Channel)")} / ${typeof o=="string"?`calc(${o})`:o})`:kt(t,FN(o))},lighten(t,o){let r=this||e;return r.colorSpace?`color-mix(in ${r.colorSpace}, ${t}, #fff ${DC(o)})`:wa(t,o)},darken(t,o){let r=this||e;return r.colorSpace?`color-mix(in ${r.colorSpace}, ${t}, #000 ${DC(o)})`:Aa(t,o)}})}function GN(e={},...t){let{breakpoints:o,mixins:r={},spacing:n,palette:a={},transitions:i={},typography:l={},shape:s,colorSpace:u,...p}=e;if(e.vars&&e.generateThemeVars===void 0)throw new Error(bt(22));let f=Na({...a,colorSpace:u}),d=Kr(e),c=Te(d,{mixins:og(d.breakpoints,r),palette:f,shadows:wC.slice(),typography:hu(f,l),transitions:rg(i),zIndex:{..._C}});return c=Te(c,p),c=t.reduce((T,v)=>Te(T,v),c),c.unstable_sxConfig={...Yr,...p?.unstable_sxConfig},c.unstable_sx=function(v){return ao({sx:v,theme:this})},c.toRuntimeSource=Nf,qN(c),c}var gu=GN;function Tl(e){let t;return e<1?t=5.11916*e**2:t=4.5*Math.log(e+1)+2,Math.round(t*10)/1e3}var $N=[...Array(25)].map((e,t)=>{if(t===0)return"none";let o=Tl(t);return`linear-gradient(rgba(255 255 255 / ${o}), rgba(255 255 255 / ${o}))`});function ng(e){return{inputPlaceholder:e==="dark"?.5:.42,inputUnderline:e==="dark"?.7:.42,switchTrackDisabled:e==="dark"?.2:.12,switchTrack:e==="dark"?.3:.38}}function ag(e){return e==="dark"?$N:[]}function ig(e){let{palette:t={mode:"light"},opacity:o,overlays:r,colorSpace:n,...a}=e,i=Na({...t,colorSpace:n});return{palette:i,opacity:{...ng(i.mode),...o},overlays:r||ag(i.mode),...a}}function lg(e){return!!e[0].match(/(cssVarPrefix|colorSchemeSelector|modularCssLayers|rootSelector|typography|mixins|breakpoints|direction|transitions)/)||!!e[0].match(/sxConfig$/)||e[0]==="palette"&&!!e[1]?.match(/(mode|contrastThreshold|tonalOffset)/)}var YN=e=>[...[...Array(25)].map((t,o)=>`--${e?`${e}-`:""}overlays-${o}`),`--${e?`${e}-`:""}palette-AppBar-darkBg`,`--${e?`${e}-`:""}palette-AppBar-darkColor`],zC=YN;var BC=e=>(t,o)=>{let r=e.rootSelector||":root",n=e.colorSchemeSelector,a=n;if(n==="class"&&(a=".%s"),n==="data"&&(a="[data-%s]"),n?.startsWith("data-")&&!n.includes("%s")&&(a=`[${n}="%s"]`),e.defaultColorScheme===t){if(t==="dark"){let i={};return zC(e.cssVarPrefix).forEach(l=>{i[l]=o[l],delete o[l]}),a==="media"?{[r]:o,"@media (prefers-color-scheme: dark)":{[r]:i}}:a?{[a.replace("%s",t)]:i,[`${r}, ${a.replace("%s",t)}`]:o}:{[r]:{...o,...i}}}if(a&&a!=="media")return`${r}, ${a.replace("%s",String(t))}`}else if(t){if(a==="media")return{[`@media (prefers-color-scheme: ${String(t)})`]:{[r]:o}};if(a)return a.replace("%s",String(t))}return r};function KN(e,t){t.forEach(o=>{e[o]||(e[o]={})})}function D(e,t,o){!e[t]&&o&&(e[t]=o)}function bu(e){return typeof e!="string"||!e.startsWith("hsl")?e:bf(e)}function Zr(e,t){`${t}Channel`in e||(e[`${t}Channel`]=ml(bu(e[t]),`MUI: Can't create \`palette.${t}Channel\` because \`palette.${t}\` is not one of these formats: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().
|
|
87
|
+
To suppress this warning, you need to explicitly provide the \`palette.${t}Channel\` as a string (in rgb format, for example "12 12 12") or undefined if you want to remove the channel token.`))}function XN(e){return typeof e=="number"?`${e}px`:typeof e=="string"||typeof e=="function"||Array.isArray(e)?e:"8px"}var Tr=e=>{try{return e()}catch{}},QN=(e="mui")=>Rf(e);function sg(e,t,o,r,n){if(!o)return;o=o===!0?{}:o;let a=n==="dark"?"dark":"light";if(!r){t[n]=ig({...o,palette:{mode:a,...o?.palette},colorSpace:e});return}let{palette:i,...l}=gu({...r,palette:{mode:a,...o?.palette},colorSpace:e});return t[n]={...o,palette:i,opacity:{...ng(a),...o?.opacity},overlays:o?.overlays||ag(a)},l}function ug(e={},...t){let{colorSchemes:o={light:!0},defaultColorScheme:r,disableCssColorScheme:n=!1,cssVarPrefix:a="mui",nativeColor:i=!1,shouldSkipGeneratingVar:l=lg,colorSchemeSelector:s=o.light&&o.dark?"media":void 0,rootSelector:u=":root",...p}=e,f=Object.keys(o)[0],d=r||(o.light&&f!=="light"?"light":f),c=QN(a),{[d]:T,light:v,dark:x,...m}=o,h={...m},g=T;if((d==="dark"&&!("dark"in o)||d==="light"&&!("light"in o))&&(g=!0),!g)throw new Error(bt(21,d));let b;i&&(b="oklch");let E=sg(b,h,g,p,d);v&&!h.light&&sg(b,h,v,void 0,"light"),x&&!h.dark&&sg(b,h,x,void 0,"dark");let S={defaultColorScheme:d,...E,cssVarPrefix:a,colorSchemeSelector:s,rootSelector:u,getCssVar:c,colorSchemes:h,font:{...wf(E.typography),...E.font},spacing:XN(p.spacing)};Object.keys(S.colorSchemes).forEach(M=>{let y=S.colorSchemes[M].palette,N=A=>{let B=A.split("-"),U=B[1],V=B[2];return c(A,y[U][V])};y.mode==="light"&&(D(y.common,"background","#fff"),D(y.common,"onBackground","#000")),y.mode==="dark"&&(D(y.common,"background","#000"),D(y.common,"onBackground","#fff"));function P(A,B,U){if(b){let V;return A===Un&&(V=`transparent ${((1-U)*100).toFixed(0)}%`),A===ve&&(V=`#000 ${(U*100).toFixed(0)}%`),A===xe&&(V=`#fff ${(U*100).toFixed(0)}%`),`color-mix(in ${b}, ${B}, ${V})`}return A(B,U)}if(KN(y,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"]),y.mode==="light"){D(y.Alert,"errorColor",P(ve,i?c("palette-error-light"):y.error.light,.6)),D(y.Alert,"infoColor",P(ve,i?c("palette-info-light"):y.info.light,.6)),D(y.Alert,"successColor",P(ve,i?c("palette-success-light"):y.success.light,.6)),D(y.Alert,"warningColor",P(ve,i?c("palette-warning-light"):y.warning.light,.6)),D(y.Alert,"errorFilledBg",N("palette-error-main")),D(y.Alert,"infoFilledBg",N("palette-info-main")),D(y.Alert,"successFilledBg",N("palette-success-main")),D(y.Alert,"warningFilledBg",N("palette-warning-main")),D(y.Alert,"errorFilledColor",Tr(()=>y.getContrastText(y.error.main))),D(y.Alert,"infoFilledColor",Tr(()=>y.getContrastText(y.info.main))),D(y.Alert,"successFilledColor",Tr(()=>y.getContrastText(y.success.main))),D(y.Alert,"warningFilledColor",Tr(()=>y.getContrastText(y.warning.main))),D(y.Alert,"errorStandardBg",P(xe,i?c("palette-error-light"):y.error.light,.9)),D(y.Alert,"infoStandardBg",P(xe,i?c("palette-info-light"):y.info.light,.9)),D(y.Alert,"successStandardBg",P(xe,i?c("palette-success-light"):y.success.light,.9)),D(y.Alert,"warningStandardBg",P(xe,i?c("palette-warning-light"):y.warning.light,.9)),D(y.Alert,"errorIconColor",N("palette-error-main")),D(y.Alert,"infoIconColor",N("palette-info-main")),D(y.Alert,"successIconColor",N("palette-success-main")),D(y.Alert,"warningIconColor",N("palette-warning-main")),D(y.AppBar,"defaultBg",N("palette-grey-100")),D(y.Avatar,"defaultBg",N("palette-grey-400")),D(y.Button,"inheritContainedBg",N("palette-grey-300")),D(y.Button,"inheritContainedHoverBg",N("palette-grey-A100")),D(y.Chip,"defaultBorder",N("palette-grey-400")),D(y.Chip,"defaultAvatarColor",N("palette-grey-700")),D(y.Chip,"defaultIconColor",N("palette-grey-700")),D(y.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),D(y.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),D(y.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),D(y.LinearProgress,"primaryBg",P(xe,i?c("palette-primary-main"):y.primary.main,.62)),D(y.LinearProgress,"secondaryBg",P(xe,i?c("palette-secondary-main"):y.secondary.main,.62)),D(y.LinearProgress,"errorBg",P(xe,i?c("palette-error-main"):y.error.main,.62)),D(y.LinearProgress,"infoBg",P(xe,i?c("palette-info-main"):y.info.main,.62)),D(y.LinearProgress,"successBg",P(xe,i?c("palette-success-main"):y.success.main,.62)),D(y.LinearProgress,"warningBg",P(xe,i?c("palette-warning-light"):y.warning.main,.62)),D(y.Skeleton,"bg",b?P(Un,i?c("palette-text-primary"):y.text.primary,.11):`rgba(${N("palette-text-primaryChannel")} / 0.11)`),D(y.Slider,"primaryTrack",P(xe,i?c("palette-primary-main"):y.primary.main,.62)),D(y.Slider,"secondaryTrack",P(xe,i?c("palette-secondary-main"):y.secondary.main,.62)),D(y.Slider,"errorTrack",P(xe,i?c("palette-error-main"):y.error.main,.62)),D(y.Slider,"infoTrack",P(xe,i?c("palette-info-main"):y.info.main,.62)),D(y.Slider,"successTrack",P(xe,i?c("palette-success-main"):y.success.main,.62)),D(y.Slider,"warningTrack",P(xe,i?c("palette-warning-main"):y.warning.main,.62));let A=b?P(ve,i?c("palette-background-default"):y.background.default,.6825):pu(y.background.default,.8);D(y.SnackbarContent,"bg",A),D(y.SnackbarContent,"color",Tr(()=>b?Af.text.primary:y.getContrastText(A))),D(y.SpeedDialAction,"fabHoverBg",pu(y.background.paper,.15)),D(y.StepConnector,"border",N("palette-grey-400")),D(y.StepContent,"border",N("palette-grey-400")),D(y.Switch,"defaultColor",N("palette-common-white")),D(y.Switch,"defaultDisabledColor",N("palette-grey-100")),D(y.Switch,"primaryDisabledColor",P(xe,i?c("palette-primary-main"):y.primary.main,.62)),D(y.Switch,"secondaryDisabledColor",P(xe,i?c("palette-secondary-main"):y.secondary.main,.62)),D(y.Switch,"errorDisabledColor",P(xe,i?c("palette-error-main"):y.error.main,.62)),D(y.Switch,"infoDisabledColor",P(xe,i?c("palette-info-main"):y.info.main,.62)),D(y.Switch,"successDisabledColor",P(xe,i?c("palette-success-main"):y.success.main,.62)),D(y.Switch,"warningDisabledColor",P(xe,i?c("palette-warning-main"):y.warning.main,.62)),D(y.TableCell,"border",P(xe,Un(i?c("palette-divider"):y.divider,1),.88)),D(y.Tooltip,"bg",P(Un,i?c("palette-grey-700"):y.grey[700],.92))}if(y.mode==="dark"){D(y.Alert,"errorColor",P(xe,i?c("palette-error-light"):y.error.light,.6)),D(y.Alert,"infoColor",P(xe,i?c("palette-info-light"):y.info.light,.6)),D(y.Alert,"successColor",P(xe,i?c("palette-success-light"):y.success.light,.6)),D(y.Alert,"warningColor",P(xe,i?c("palette-warning-light"):y.warning.light,.6)),D(y.Alert,"errorFilledBg",N("palette-error-dark")),D(y.Alert,"infoFilledBg",N("palette-info-dark")),D(y.Alert,"successFilledBg",N("palette-success-dark")),D(y.Alert,"warningFilledBg",N("palette-warning-dark")),D(y.Alert,"errorFilledColor",Tr(()=>y.getContrastText(y.error.dark))),D(y.Alert,"infoFilledColor",Tr(()=>y.getContrastText(y.info.dark))),D(y.Alert,"successFilledColor",Tr(()=>y.getContrastText(y.success.dark))),D(y.Alert,"warningFilledColor",Tr(()=>y.getContrastText(y.warning.dark))),D(y.Alert,"errorStandardBg",P(ve,i?c("palette-error-light"):y.error.light,.9)),D(y.Alert,"infoStandardBg",P(ve,i?c("palette-info-light"):y.info.light,.9)),D(y.Alert,"successStandardBg",P(ve,i?c("palette-success-light"):y.success.light,.9)),D(y.Alert,"warningStandardBg",P(ve,i?c("palette-warning-light"):y.warning.light,.9)),D(y.Alert,"errorIconColor",N("palette-error-main")),D(y.Alert,"infoIconColor",N("palette-info-main")),D(y.Alert,"successIconColor",N("palette-success-main")),D(y.Alert,"warningIconColor",N("palette-warning-main")),D(y.AppBar,"defaultBg",N("palette-grey-900")),D(y.AppBar,"darkBg",N("palette-background-paper")),D(y.AppBar,"darkColor",N("palette-text-primary")),D(y.Avatar,"defaultBg",N("palette-grey-600")),D(y.Button,"inheritContainedBg",N("palette-grey-800")),D(y.Button,"inheritContainedHoverBg",N("palette-grey-700")),D(y.Chip,"defaultBorder",N("palette-grey-700")),D(y.Chip,"defaultAvatarColor",N("palette-grey-300")),D(y.Chip,"defaultIconColor",N("palette-grey-300")),D(y.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),D(y.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),D(y.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),D(y.LinearProgress,"primaryBg",P(ve,i?c("palette-primary-main"):y.primary.main,.5)),D(y.LinearProgress,"secondaryBg",P(ve,i?c("palette-secondary-main"):y.secondary.main,.5)),D(y.LinearProgress,"errorBg",P(ve,i?c("palette-error-main"):y.error.main,.5)),D(y.LinearProgress,"infoBg",P(ve,i?c("palette-info-main"):y.info.main,.5)),D(y.LinearProgress,"successBg",P(ve,i?c("palette-success-main"):y.success.main,.5)),D(y.LinearProgress,"warningBg",P(ve,i?c("palette-warning-main"):y.warning.main,.5)),D(y.Skeleton,"bg",b?P(Un,i?c("palette-text-primary"):y.text.primary,.13):`rgba(${N("palette-text-primaryChannel")} / 0.13)`),D(y.Slider,"primaryTrack",P(ve,i?c("palette-primary-main"):y.primary.main,.5)),D(y.Slider,"secondaryTrack",P(ve,i?c("palette-secondary-main"):y.secondary.main,.5)),D(y.Slider,"errorTrack",P(ve,i?c("palette-error-main"):y.error.main,.5)),D(y.Slider,"infoTrack",P(ve,i?c("palette-info-main"):y.info.main,.5)),D(y.Slider,"successTrack",P(ve,i?c("palette-success-main"):y.success.main,.5)),D(y.Slider,"warningTrack",P(ve,i?c("palette-warning-light"):y.warning.main,.5));let A=b?P(xe,i?c("palette-background-default"):y.background.default,.985):pu(y.background.default,.98);D(y.SnackbarContent,"bg",A),D(y.SnackbarContent,"color",Tr(()=>b?tg.text.primary:y.getContrastText(A))),D(y.SpeedDialAction,"fabHoverBg",pu(y.background.paper,.15)),D(y.StepConnector,"border",N("palette-grey-600")),D(y.StepContent,"border",N("palette-grey-600")),D(y.Switch,"defaultColor",N("palette-grey-300")),D(y.Switch,"defaultDisabledColor",N("palette-grey-600")),D(y.Switch,"primaryDisabledColor",P(ve,i?c("palette-primary-main"):y.primary.main,.55)),D(y.Switch,"secondaryDisabledColor",P(ve,i?c("palette-secondary-main"):y.secondary.main,.55)),D(y.Switch,"errorDisabledColor",P(ve,i?c("palette-error-main"):y.error.main,.55)),D(y.Switch,"infoDisabledColor",P(ve,i?c("palette-info-main"):y.info.main,.55)),D(y.Switch,"successDisabledColor",P(ve,i?c("palette-success-main"):y.success.main,.55)),D(y.Switch,"warningDisabledColor",P(ve,i?c("palette-warning-light"):y.warning.main,.55)),D(y.TableCell,"border",P(ve,Un(i?c("palette-divider"):y.divider,1),.68)),D(y.Tooltip,"bg",P(Un,i?c("palette-grey-700"):y.grey[700],.92))}i||(Zr(y.background,"default"),Zr(y.background,"paper"),Zr(y.common,"background"),Zr(y.common,"onBackground"),Zr(y,"divider")),Object.keys(y).forEach(A=>{let B=y[A];A!=="tonalOffset"&&!i&&B&&typeof B=="object"&&(B.main&&D(y[A],"mainChannel",ml(bu(B.main))),B.light&&D(y[A],"lightChannel",ml(bu(B.light))),B.dark&&D(y[A],"darkChannel",ml(bu(B.dark))),B.contrastText&&D(y[A],"contrastTextChannel",ml(bu(B.contrastText))),A==="text"&&(Zr(y[A],"primary"),Zr(y[A],"secondary")),A==="action"&&(B.active&&Zr(y[A],"active"),B.selected&&Zr(y[A],"selected")))})}),S=t.reduce((M,y)=>Te(M,y),S);let C={prefix:a,disableCssColorScheme:n,shouldSkipGeneratingVar:l,getSelector:BC(S),enableContrastVars:i},{vars:O,generateThemeVars:w,generateStyleSheets:_}=Jh(S,C);return S.vars=O,Object.entries(S.colorSchemes[S.defaultColorScheme]).forEach(([M,y])=>{S[M]=y}),S.generateThemeVars=w,S.generateStyleSheets=_,S.generateSpacing=function(){return cl(p.spacing,Pa(this))},S.getColorSchemeSelector=eg(s),S.spacing=S.generateSpacing(),S.shouldSkipGeneratingVar=l,S.unstable_sxConfig={...Yr,...p?.unstable_sxConfig},S.unstable_sx=function(y){return ao({sx:y,theme:this})},S.internal_cache={},S.toRuntimeSource=Nf,S}function kC(e,t,o){e.colorSchemes&&o&&(e.colorSchemes[t]={...o!==!0&&o,palette:Na({...o===!0?{}:o.palette,mode:t})})}function vr(e={},...t){let{palette:o,cssVariables:r=!1,colorSchemes:n=o?void 0:{light:!0},defaultColorScheme:a=o?.mode,...i}=e,l=a||"light",s=n?.[l],u={...n,...o?{[l]:{...typeof s!="boolean"&&s,palette:o}}:void 0};if(r===!1){if(!("colorSchemes"in e))return gu(e,...t);let p=o;"palette"in e||u[l]&&(u[l]!==!0?p=u[l].palette:l==="dark"&&(p={mode:"dark"}));let f=gu({...e,palette:p},...t);return f.defaultColorScheme=l,f.colorSchemes=u,f.palette.mode==="light"&&(f.colorSchemes.light={...u.light!==!0&&u.light,palette:f.palette},kC(f,"dark",u.dark)),f.palette.mode==="dark"&&(f.colorSchemes.dark={...u.dark!==!0&&u.dark,palette:f.palette},kC(f,"light",u.light)),f}return!o&&!("light"in u)&&l==="light"&&(u.light=!0),ug({...i,colorSchemes:u,defaultColorScheme:l,...typeof r!="boolean"&&r},...t)}var WN=R(k(),1);var ZN=vr(),vl=ZN;function jn(){let e=gr(vl);return e[wt]||e}function JN(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}var _f=JN;var e5=e=>_f(e)&&e!=="classes",ot=e5;var t5=dl({themeId:wt,defaultTheme:vl,rootShouldForwardProp:ot}),j=t5;var LC=R(k(),1);var yL=R(k(),1);var UC=R(L(),1);function cg({theme:e,...t}){let o=wt in e?e[wt]:void 0;return(0,UC.jsx)(hl,{...t,themeId:o?wt:void 0,theme:o||e})}var o5=R(L(),1),Tu={attribute:"data-mui-color-scheme",colorSchemeStorageKey:"mui-color-scheme",defaultLightColorScheme:"light",defaultDarkColorScheme:"dark",modeStorageKey:"mui-mode"};var r5=R(L(),1),{CssVarsProvider:n5,useColorScheme:RL,getInitColorSchemeScript:OL}=Pf({themeId:wt,theme:()=>vr({cssVariables:!0}),colorSchemeStorageKey:Tu.colorSchemeStorageKey,modeStorageKey:Tu.modeStorageKey,defaultColorScheme:{light:Tu.defaultLightColorScheme,dark:Tu.defaultDarkColorScheme},resolveTheme:e=>{let t={...e,typography:hu(e.palette,e.typography)};return t.unstable_sx=function(r){return ao({sx:r,theme:this})},t}});var jC=n5;var pg=R(L(),1);function Df({theme:e,...t}){let o=LC.useMemo(()=>{if(typeof e=="function")return e;let r=wt in e?e[wt]:e;return"colorSchemes"in r?null:"vars"in r?e:{...e,vars:null}},[e]);return o?(0,pg.jsx)(cg,{theme:o,...t}):(0,pg.jsx)(jC,{theme:e,...t})}var re=sl;function vu(...e){return e.reduce((t,o)=>o==null?t:function(...n){t.apply(this,n),o.apply(this,n)},()=>{})}var kf=R(k(),1);var zf=R(k(),1);var HC=R(L(),1);function a5(e){return(0,HC.jsx)(pl,{...e,defaultTheme:vl,themeId:wt})}var fg=a5;var VC=R(L(),1);function IC(e){return function(o){return(0,VC.jsx)(fg,{styles:typeof e=="function"?r=>e({theme:r,...o}):e})}}var i5=Ef,le=i5;var r9=R(k(),1);var l5=R(L(),1);function Y(e){return Kh(e)}function FC(e){return F("MuiSvgIcon",e)}var p9=q("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);var Bf=R(L(),1),s5=e=>{let{color:t,fontSize:o,classes:r}=e,n={root:["root",t!=="inherit"&&`color${re(t)}`,`fontSize${re(o)}`]};return G(n,FC,r)},u5=j("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[t.root,o.color!=="inherit"&&t[`color${re(o.color)}`],t[`fontSize${re(o.fontSize)}`]]}})(le(({theme:e})=>({userSelect:"none",width:"1em",height:"1em",display:"inline-block",flexShrink:0,transition:e.transitions?.create?.("fill",{duration:(e.vars??e).transitions?.duration?.shorter}),variants:[{props:t=>!t.hasSvgAsChild,style:{fill:"currentColor"}},{props:{fontSize:"inherit"},style:{fontSize:"inherit"}},{props:{fontSize:"small"},style:{fontSize:e.typography?.pxToRem?.(20)||"1.25rem"}},{props:{fontSize:"medium"},style:{fontSize:e.typography?.pxToRem?.(24)||"1.5rem"}},{props:{fontSize:"large"},style:{fontSize:e.typography?.pxToRem?.(35)||"2.1875rem"}},...Object.entries((e.vars??e).palette).filter(([,t])=>t&&t.main).map(([t])=>({props:{color:t},style:{color:(e.vars??e).palette?.[t]?.main}})),{props:{color:"action"},style:{color:(e.vars??e).palette?.action?.active}},{props:{color:"disabled"},style:{color:(e.vars??e).palette?.action?.disabled}},{props:{color:"inherit"},style:{color:void 0}}]}))),qC=zf.forwardRef(function(t,o){let r=Y({props:t,name:"MuiSvgIcon"}),{children:n,className:a,color:i="inherit",component:l="svg",fontSize:s="medium",htmlColor:u,inheritViewBox:p=!1,titleAccess:f,viewBox:d="0 0 24 24",...c}=r,T=zf.isValidElement(n)&&n.type==="svg",v={...r,color:i,component:l,fontSize:s,instanceFontSize:t.fontSize,inheritViewBox:p,viewBox:d,hasSvgAsChild:T},x={};p||(x.viewBox=d);let m=s5(v);return(0,Bf.jsxs)(u5,{as:l,className:H(m.root,a),focusable:"false",color:u,"aria-hidden":f?void 0:!0,role:f?"img":void 0,ref:o,...x,...c,...T&&n.props,ownerState:v,children:[T?n.props.children:n,f?(0,Bf.jsx)("title",{children:f}):null]})});qC.muiName="SvgIcon";var dg=qC;var GC=R(L(),1);function Uf(e,t){function o(r,n){return(0,GC.jsx)(dg,{"data-testid":void 0,ref:n,...r,children:e})}return o.muiName=dg.muiName,kf.memo(kf.forwardRef(o))}function xl(e,t=166){let o;function r(...n){let a=()=>{e.apply(this,n)};clearTimeout(o),o=setTimeout(a,t)}return r.clear=()=>{clearTimeout(o)},r}var $C=xl;var jf=Of;function _a(e){let t=e.activeElement;for(;t?.shadowRoot?.activeElement!=null;)t=t.shadowRoot.activeElement;return t}var Ln=_a;function Tt(e){return e&&e.ownerDocument||document}var Hn=Tt;function qo(e){return Tt(e).defaultView||window}var xu=qo;function Da(e,t){typeof e=="function"?e(t):e&&(e.current=t)}var Lf=Kt;var mg=tr;var za=R(k(),1);function Hf(e){let{controlled:t,default:o,name:r,state:n="value"}=e,{current:a}=za.useRef(t!==void 0),[i,l]=za.useState(o),s=a?t:i,u=za.useCallback(p=>{a||l(p)},[]);return[s,u]}var yg=Hf;var hg=R(k(),1);function c5(e){let t=hg.useRef(e);return Kt(()=>{t.current=e}),hg.useRef((...o)=>(0,t.current)(...o)).current}var Go=c5;var Vn=Go;var Sl=R(k(),1);function Ut(...e){let t=Sl.useRef(void 0),o=Sl.useCallback(r=>{let n=e.map(a=>{if(a==null)return null;if(typeof a=="function"){let i=a,l=i(r);return typeof l=="function"?l:()=>{i(null)}}return a.current=r,()=>{a.current=null}});return()=>{n.forEach(a=>a?.())}},e);return Sl.useMemo(()=>e.every(r=>r==null)?null:r=>{t.current&&(t.current(),t.current=void 0),r!=null&&(t.current=o(r))},e)}var Xt=Ut;function p5(e,t){let o=e.charCodeAt(2);return e[0]==="o"&&e[1]==="n"&&o>=65&&o<=90&&typeof t=="function"}function gg(e,t){if(!e)return t;function o(i,l){let s={};return Object.keys(l).forEach(u=>{p5(u,l[u])&&typeof i[u]=="function"&&(s[u]=(...p)=>{i[u](...p),l[u](...p)})}),s}if(typeof e=="function"||typeof t=="function")return i=>{let l=typeof t=="function"?t(i):t,s=typeof e=="function"?e({...i,...l}):e,u=H(i?.className,l?.className,s?.className),p=o(s,l);return{...l,...s,...p,...!!u&&{className:u},...l?.style&&s?.style&&{style:{...l.style,...s.style}},...l?.sx&&s?.sx&&{sx:[...Array.isArray(l.sx)?l.sx:[l.sx],...Array.isArray(s.sx)?s.sx:[s.sx]]}}};let r=t,n=o(e,r),a=H(r?.className,e?.className);return{...t,...e,...n,...!!a&&{className:a},...r?.style&&e?.style&&{style:{...r.style,...e.style}},...r?.sx&&e?.sx&&{sx:[...Array.isArray(r.sx)?r.sx:[r.sx],...Array.isArray(e.sx)?e.sx:[e.sx]]}}}function Vf(e,t){if(e==null)return{};var o={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;o[r]=e[r]}return o}function If(e,t){return If=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(o,r){return o.__proto__=r,o},If(e,t)}function Ff(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,If(e,t)}var Su=R(k()),Cu=R(Sc());var bg={disabled:!1};var YC=R(k()),Cl=YC.default.createContext(null);var KC=function(t){return t.scrollTop};var Eu="unmounted",Ba="exited",ka="entering",Pl="entered",Tg="exiting",Wr=(function(e){Ff(t,e);function t(r,n){var a;a=e.call(this,r,n)||this;var i=n,l=i&&!i.isMounting?r.enter:r.appear,s;return a.appearStatus=null,r.in?l?(s=Ba,a.appearStatus=ka):s=Pl:r.unmountOnExit||r.mountOnEnter?s=Eu:s=Ba,a.state={status:s},a.nextCallback=null,a}t.getDerivedStateFromProps=function(n,a){var i=n.in;return i&&a.status===Eu?{status:Ba}:null};var o=t.prototype;return o.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},o.componentDidUpdate=function(n){var a=null;if(n!==this.props){var i=this.state.status;this.props.in?i!==ka&&i!==Pl&&(a=ka):(i===ka||i===Pl)&&(a=Tg)}this.updateStatus(!1,a)},o.componentWillUnmount=function(){this.cancelNextCallback()},o.getTimeouts=function(){var n=this.props.timeout,a,i,l;return a=i=l=n,n!=null&&typeof n!="number"&&(a=n.exit,i=n.enter,l=n.appear!==void 0?n.appear:i),{exit:a,enter:i,appear:l}},o.updateStatus=function(n,a){if(n===void 0&&(n=!1),a!==null)if(this.cancelNextCallback(),a===ka){if(this.props.unmountOnExit||this.props.mountOnEnter){var i=this.props.nodeRef?this.props.nodeRef.current:Cu.default.findDOMNode(this);i&&KC(i)}this.performEnter(n)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Ba&&this.setState({status:Eu})},o.performEnter=function(n){var a=this,i=this.props.enter,l=this.context?this.context.isMounting:n,s=this.props.nodeRef?[l]:[Cu.default.findDOMNode(this),l],u=s[0],p=s[1],f=this.getTimeouts(),d=l?f.appear:f.enter;if(!n&&!i||bg.disabled){this.safeSetState({status:Pl},function(){a.props.onEntered(u)});return}this.props.onEnter(u,p),this.safeSetState({status:ka},function(){a.props.onEntering(u,p),a.onTransitionEnd(d,function(){a.safeSetState({status:Pl},function(){a.props.onEntered(u,p)})})})},o.performExit=function(){var n=this,a=this.props.exit,i=this.getTimeouts(),l=this.props.nodeRef?void 0:Cu.default.findDOMNode(this);if(!a||bg.disabled){this.safeSetState({status:Ba},function(){n.props.onExited(l)});return}this.props.onExit(l),this.safeSetState({status:Tg},function(){n.props.onExiting(l),n.onTransitionEnd(i.exit,function(){n.safeSetState({status:Ba},function(){n.props.onExited(l)})})})},o.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},o.safeSetState=function(n,a){a=this.setNextCallback(a),this.setState(n,a)},o.setNextCallback=function(n){var a=this,i=!0;return this.nextCallback=function(l){i&&(i=!1,a.nextCallback=null,n(l))},this.nextCallback.cancel=function(){i=!1},this.nextCallback},o.onTransitionEnd=function(n,a){this.setNextCallback(a);var i=this.props.nodeRef?this.props.nodeRef.current:Cu.default.findDOMNode(this),l=n==null&&!this.props.addEndListener;if(!i||l){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var s=this.props.nodeRef?[this.nextCallback]:[i,this.nextCallback],u=s[0],p=s[1];this.props.addEndListener(u,p)}n!=null&&setTimeout(this.nextCallback,n)},o.render=function(){var n=this.state.status;if(n===Eu)return null;var a=this.props,i=a.children,l=a.in,s=a.mountOnEnter,u=a.unmountOnExit,p=a.appear,f=a.enter,d=a.exit,c=a.timeout,T=a.addEndListener,v=a.onEnter,x=a.onEntering,m=a.onEntered,h=a.onExit,g=a.onExiting,b=a.onExited,E=a.nodeRef,S=Vf(a,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return Su.default.createElement(Cl.Provider,{value:null},typeof i=="function"?i(n,S):Su.default.cloneElement(Su.default.Children.only(i),S))},t})(Su.default.Component);Wr.contextType=Cl;Wr.propTypes={};function El(){}Wr.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:El,onEntering:El,onEntered:El,onExit:El,onExiting:El,onExited:El};Wr.UNMOUNTED=Eu;Wr.EXITED=Ba;Wr.ENTERING=ka;Wr.ENTERED=Pl;Wr.EXITING=Tg;var Pu=Wr;function XC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var Ru=R(k());var $o=R(k());function qf(e,t){var o=function(a){return t&&(0,$o.isValidElement)(a)?t(a):a},r=Object.create(null);return e&&$o.Children.map(e,function(n){return n}).forEach(function(n){r[n.key]=o(n)}),r}function f5(e,t){e=e||{},t=t||{};function o(p){return p in t?t[p]:e[p]}var r=Object.create(null),n=[];for(var a in e)a in t?n.length&&(r[a]=n,n=[]):n.push(a);var i,l={};for(var s in t){if(r[s])for(i=0;i<r[s].length;i++){var u=r[s][i];l[r[s][i]]=o(u)}l[s]=o(s)}for(i=0;i<n.length;i++)l[n[i]]=o(n[i]);return l}function Ua(e,t,o){return o[t]!=null?o[t]:e.props[t]}function QC(e,t){return qf(e.children,function(o){return(0,$o.cloneElement)(o,{onExited:t.bind(null,o),in:!0,appear:Ua(o,"appear",e),enter:Ua(o,"enter",e),exit:Ua(o,"exit",e)})})}function ZC(e,t,o){var r=qf(e.children),n=f5(t,r);return Object.keys(n).forEach(function(a){var i=n[a];if((0,$o.isValidElement)(i)){var l=a in t,s=a in r,u=t[a],p=(0,$o.isValidElement)(u)&&!u.props.in;s&&(!l||p)?n[a]=(0,$o.cloneElement)(i,{onExited:o.bind(null,i),in:!0,exit:Ua(i,"exit",e),enter:Ua(i,"enter",e)}):!s&&l&&!p?n[a]=(0,$o.cloneElement)(i,{in:!1}):s&&l&&(0,$o.isValidElement)(u)&&(n[a]=(0,$o.cloneElement)(i,{onExited:o.bind(null,i),in:u.props.in,exit:Ua(i,"exit",e),enter:Ua(i,"enter",e)}))}}),n}var d5=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})},m5={component:"div",childFactory:function(t){return t}},vg=(function(e){Ff(t,e);function t(r,n){var a;a=e.call(this,r,n)||this;var i=a.handleExited.bind(XC(a));return a.state={contextValue:{isMounting:!0},handleExited:i,firstRender:!0},a}var o=t.prototype;return o.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},o.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(n,a){var i=a.children,l=a.handleExited,s=a.firstRender;return{children:s?QC(n,l):ZC(n,i,l),firstRender:!1}},o.handleExited=function(n,a){var i=qf(this.props.children);n.key in i||(n.props.onExited&&n.props.onExited(a),this.mounted&&this.setState(function(l){var s=Zn({},l.children);return delete s[n.key],{children:s}}))},o.render=function(){var n=this.props,a=n.component,i=n.childFactory,l=Vf(n,["component","childFactory"]),s=this.state.contextValue,u=d5(this.state.children).map(i);return delete l.appear,delete l.enter,delete l.exit,a===null?Ru.default.createElement(Cl.Provider,{value:s},u):Ru.default.createElement(Cl.Provider,{value:s},Ru.default.createElement(a,l,u))},t})(Ru.default.Component);vg.propTypes={};vg.defaultProps=m5;var xg=vg;var JC=R(k(),1),WC={};function Rl(e,t){let o=JC.useRef(WC);return o.current===WC&&(o.current=e(t)),o}var eE=R(k(),1),y5=[];function Sg(e){eE.useEffect(e,y5)}var Cg=class e{constructor(){Qa(this,"currentId",null);Qa(this,"clear",()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)});Qa(this,"disposeEffect",()=>this.clear)}static create(){return new e}start(t,o){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,o()},t)}};function Ol(){let e=Rl(Cg.create).current;return Sg(e.disposeEffect),e}var Gf=e=>e.scrollTop;function io(e,t){return o=>{if(t){let r=e.current;o===void 0?t(r):t(r,o)}}}function $f(e,t,o,r,n,a){let i=e==="exited"&&!t?r:o[e]||o.exited;return n||a?{...i,...n,...a}:i}function Ml(e,t){let{timeout:o,easing:r,style:n={}}=e;return{duration:n.transitionDuration??(typeof o=="number"?o:o[t.mode]||0),easing:n.transitionTimingFunction??(typeof r=="object"?r[t.mode]:r),delay:n.transitionDelay}}function h5(e){return typeof e=="string"}var In=h5;function g5(e,t,o){return e===void 0||In(e)?t:{...t,ownerState:{...t.ownerState,...o}}}var Ou=g5;function b5(e,t,o){return typeof e=="function"?e(t,o):e}var Mu=b5;function T5(e,t=[]){if(e===void 0)return{};let o={};return Object.keys(e).filter(r=>r.match(/^on[A-Z]/)&&typeof e[r]=="function"&&!t.includes(r)).forEach(r=>{o[r]=e[r]}),o}var Au=T5;function v5(e){if(e===void 0)return{};let t={};return Object.keys(e).filter(o=>!(o.match(/^on[A-Z]/)&&typeof e[o]=="function")).forEach(o=>{t[o]=e[o]}),t}var Yf=v5;function x5(e){let{getSlotProps:t,additionalProps:o,externalSlotProps:r,externalForwardedProps:n,className:a}=e;if(!t){let c=H(o?.className,a,n?.className,r?.className),T={...o?.style,...n?.style,...r?.style},v={...o,...n,...r};return c.length>0&&(v.className=c),Object.keys(T).length>0&&(v.style=T),{props:v,internalRef:void 0}}let i=Au({...n,...r}),l=Yf(r),s=Yf(n),u=t(i),p=H(u?.className,o?.className,a,n?.className,r?.className),f={...u?.style,...o?.style,...n?.style,...r?.style},d={...u,...o,...s,...l};return p.length>0&&(d.className=p),Object.keys(f).length>0&&(d.style=f),{props:d,internalRef:u.ref}}var wu=x5;function Ke(e,t){let{className:o,elementType:r,ownerState:n,externalForwardedProps:a,internalForwardedProps:i,shouldForwardComponentProp:l=!1,...s}=t,{component:u,slots:p={[e]:void 0},slotProps:f={[e]:void 0},...d}=a,c=p[e]||r,T=Mu(f[e],n),{props:{component:v,...x},internalRef:m}=wu({className:o,...s,externalForwardedProps:e==="root"?d:void 0,externalSlotProps:T}),h=Ut(m,T?.ref,t.ref),g=e==="root"?v||u:v,b=Ou(c,{...e==="root"&&!u&&!p[e]&&i,...e!=="root"&&!p[e]&&i,...x,...g&&!l&&{as:g},...g&&l&&{component:g},ref:h},n);return[c,b]}var oE=R(k(),1);function tE(e){return F("MuiPaper",e)}var DH=q("MuiPaper",["root","rounded","outlined","elevation","elevation0","elevation1","elevation2","elevation3","elevation4","elevation5","elevation6","elevation7","elevation8","elevation9","elevation10","elevation11","elevation12","elevation13","elevation14","elevation15","elevation16","elevation17","elevation18","elevation19","elevation20","elevation21","elevation22","elevation23","elevation24"]);var rE=R(L(),1),S5=e=>{let{square:t,elevation:o,variant:r,classes:n}=e,a={root:["root",r,!t&&"rounded",r==="elevation"&&`elevation${o}`]};return G(a,tE,n)},C5=j("div",{name:"MuiPaper",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[t.root,t[o.variant],!o.square&&t.rounded,o.variant==="elevation"&&t[`elevation${o.elevation}`]]}})(le(({theme:e})=>({backgroundColor:(e.vars||e).palette.background.paper,color:(e.vars||e).palette.text.primary,transition:e.transitions.create("box-shadow"),variants:[{props:({ownerState:t})=>!t.square,style:{borderRadius:e.shape.borderRadius}},{props:{variant:"outlined"},style:{border:`1px solid ${(e.vars||e).palette.divider}`}},{props:{variant:"elevation"},style:{boxShadow:"var(--Paper-shadow)",backgroundImage:"var(--Paper-overlay)"}}]}))),E5=oE.forwardRef(function(t,o){let r=Y({props:t,name:"MuiPaper"}),n=jn(),{className:a,component:i="div",elevation:l=1,square:s=!1,variant:u="elevation",...p}=r,f={...r,component:i,elevation:l,square:s,variant:u},d=S5(f);return(0,rE.jsx)(C5,{as:i,ownerState:f,className:H(d.root,a),ref:o,...p,style:{...u==="elevation"&&{"--Paper-shadow":(n.vars||n).shadows[l],...n.vars&&{"--Paper-overlay":n.vars.overlays?.[l]},...!n.vars&&n.palette.mode==="dark"&&{"--Paper-overlay":`linear-gradient(${kt("#fff",Tl(l))}, ${kt("#fff",Tl(l))})`}},...p.style}})}),Al=E5;var qn=R(k(),1);function Nu(e){try{return e.matches(":focus-visible")}catch{}return!1}var Fn=R(k(),1);var nE=R(k(),1);function Eg(e){let{focusableWhenDisabled:t,disabled:o,composite:r=!1,tabIndex:n=0,isNativeButton:a}=e,i=r&&t!==!1,l=r&&t===!1;return nE.useMemo(()=>{let u={onKeyDown(p){o&&t&&p.key!=="Tab"&&p.preventDefault()}};return r||(u.tabIndex=n,!a&&o&&(u.tabIndex=t?n:-1)),(a&&(t||i)||!a&&o)&&(u["aria-disabled"]=o),a&&(!t||l)&&(u.disabled=o),u},[r,o,t,i,l,a,n])}var P5={};function Pg(e){let{nativeButton:t,nativeButtonProp:o,internalNativeButton:r=t,allowInferredHostMismatch:n=!1,disabled:a,type:i,hasFormAction:l=!1,tabIndex:s=0,focusableWhenDisabled:u,stopEventPropagation:p=!1,onBeforeKeyDown:f,onBeforeKeyUp:d}=e,c=Fn.useRef(null),T=u===!0,v=Eg({focusableWhenDisabled:T,disabled:a,isNativeButton:t,tabIndex:s}),x=Fn.useCallback(()=>{let g=c.current;return g==null?t:g.tagName==="BUTTON"?!0:!!(g.tagName==="A"&&g.href)},[t]),m=Fn.useMemo(()=>{let g=T?{}:{tabIndex:a?-1:s};return t?(g.type=i===void 0&&!l?"button":i,T||(g.disabled=a)):(g.role="button",!T&&a&&(g["aria-disabled"]=a)),T?{...g,...v}:g},[a,T,v,l,t,s,i]);return{getButtonProps:Fn.useCallback((g=P5)=>{let{onClick:b,onKeyDown:E,onKeyUp:S,...C}=g;return{...m,...C,onClick:M=>{if(p&&M.stopPropagation(),a){M.preventDefault();return}b?.(M)},onKeyDown:M=>{if(T&&v.onKeyDown(M),!a&&(f?.(M),E?.(M),!(M.target!==M.currentTarget||x()))){if(M.key===" "){M.preventDefault();return}M.key==="Enter"&&(M.preventDefault(),M.currentTarget.click())}},onKeyUp:M=>{a||(d?.(M),S?.(M),M.target===M.currentTarget&&!x()&&M.key===" "&&!M.defaultPrevented&&M.currentTarget.click())}}},[m,a,T,v,x,f,d,p]),rootRef:c}}var Kf=R(k(),1);var Rg=class e{constructor(){Qa(this,"mountEffect",()=>{this.shouldMount&&!this.didMount&&this.ref.current!==null&&(this.didMount=!0,this.mounted.resolve())});this.ref={current:null},this.mounted=null,this.didMount=!1,this.shouldMount=!1,this.setShouldMount=null}static create(){return new e}static use(){let t=Rl(e.create).current,[o,r]=Kf.useState(!1);return t.shouldMount=o,t.setShouldMount=r,Kf.useEffect(t.mountEffect,[o]),t}mount(){return this.mounted||(this.mounted=R5(),this.shouldMount=!0,this.setShouldMount(this.shouldMount)),this.mounted}start(...t){this.mount().then(()=>this.ref.current?.start(...t))}stop(...t){this.mount().then(()=>this.ref.current?.stop(...t))}pulsate(...t){this.mount().then(()=>this.ref.current?.pulsate(...t))}};function Xf(){return Rg.use()}function R5(){let e,t,o=new Promise((r,n)=>{e=r,t=n});return o.resolve=e,o.reject=t,o}var dt=R(k(),1);var Qf=R(k(),1);var Og=R(L(),1);function O5(e){let{className:t,classes:o,pulsate:r=!1,rippleX:n,rippleY:a,rippleSize:i,in:l,onExited:s,timeout:u}=e,[p,f]=Qf.useState(!1),d=H(t,o.ripple,o.rippleVisible,r&&o.ripplePulsate),c={width:i,height:i,top:-(i/2)+a,left:-(i/2)+n},T=H(o.child,p&&o.childLeaving,r&&o.childPulsate);return!l&&!p&&f(!0),Qf.useEffect(()=>{if(!l&&s!=null){let v=setTimeout(s,u);return()=>{clearTimeout(v)}}},[s,l,u]),(0,Og.jsx)("span",{className:d,style:c,children:(0,Og.jsx)("span",{className:T})})}var aE=O5;var M5=q("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),Eo=M5;var Zf=R(L(),1),Mg=550,A5=80,w5=Xo`
|
|
45
88
|
0% {
|
|
46
89
|
transform: scale(0);
|
|
47
90
|
opacity: 0.1;
|
|
@@ -51,7 +94,7 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
|
|
|
51
94
|
transform: scale(1);
|
|
52
95
|
opacity: 0.3;
|
|
53
96
|
}
|
|
54
|
-
`,
|
|
97
|
+
`,N5=Xo`
|
|
55
98
|
0% {
|
|
56
99
|
opacity: 1;
|
|
57
100
|
}
|
|
@@ -59,7 +102,7 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
|
|
|
59
102
|
100% {
|
|
60
103
|
opacity: 0;
|
|
61
104
|
}
|
|
62
|
-
`,
|
|
105
|
+
`,_5=Xo`
|
|
63
106
|
0% {
|
|
64
107
|
transform: scale(1);
|
|
65
108
|
}
|
|
@@ -71,14 +114,14 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
|
|
|
71
114
|
100% {
|
|
72
115
|
transform: scale(1);
|
|
73
116
|
}
|
|
74
|
-
`,
|
|
117
|
+
`,D5=j("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),z5=j(aE,{name:"MuiTouchRipple",slot:"Ripple"})`
|
|
75
118
|
opacity: 0;
|
|
76
119
|
position: absolute;
|
|
77
120
|
|
|
78
121
|
&.${Eo.rippleVisible} {
|
|
79
122
|
opacity: 0.3;
|
|
80
123
|
transform: scale(1);
|
|
81
|
-
animation-name: ${
|
|
124
|
+
animation-name: ${w5};
|
|
82
125
|
animation-duration: ${Mg}ms;
|
|
83
126
|
animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut};
|
|
84
127
|
}
|
|
@@ -98,7 +141,7 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
|
|
|
98
141
|
|
|
99
142
|
& .${Eo.childLeaving} {
|
|
100
143
|
opacity: 0;
|
|
101
|
-
animation-name: ${
|
|
144
|
+
animation-name: ${N5};
|
|
102
145
|
animation-duration: ${Mg}ms;
|
|
103
146
|
animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut};
|
|
104
147
|
}
|
|
@@ -108,13 +151,13 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
|
|
|
108
151
|
/* @noflip */
|
|
109
152
|
left: 0px;
|
|
110
153
|
top: 0;
|
|
111
|
-
animation-name: ${
|
|
154
|
+
animation-name: ${_5};
|
|
112
155
|
animation-duration: 2500ms;
|
|
113
156
|
animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut};
|
|
114
157
|
animation-iteration-count: infinite;
|
|
115
158
|
animation-delay: 200ms;
|
|
116
159
|
}
|
|
117
|
-
`,
|
|
160
|
+
`,B5=dt.forwardRef(function(t,o){let r=Y({props:t,name:"MuiTouchRipple"}),{center:n=!1,classes:a={},className:i,...l}=r,[s,u]=dt.useState([]),p=dt.useRef(0),f=dt.useRef(null);dt.useEffect(()=>{f.current&&(f.current(),f.current=null)},[s]);let d=dt.useRef(!1),c=Ol(),T=dt.useRef(null),v=dt.useRef(null),x=dt.useCallback(b=>{let{pulsate:E,rippleX:S,rippleY:C,rippleSize:O,cb:w}=b;u(_=>[..._,(0,Zf.jsx)(z5,{classes:{ripple:H(a.ripple,Eo.ripple),rippleVisible:H(a.rippleVisible,Eo.rippleVisible),ripplePulsate:H(a.ripplePulsate,Eo.ripplePulsate),child:H(a.child,Eo.child),childLeaving:H(a.childLeaving,Eo.childLeaving),childPulsate:H(a.childPulsate,Eo.childPulsate)},timeout:Mg,pulsate:E,rippleX:S,rippleY:C,rippleSize:O},p.current)]),p.current+=1,f.current=w},[a]),m=dt.useCallback((b={},E={},S=()=>{})=>{let{pulsate:C=!1,center:O=n||E.pulsate,fakeElement:w=!1}=E;if(b?.type==="mousedown"&&d.current){d.current=!1;return}b?.type==="touchstart"&&(d.current=!0);let _=w?null:v.current,M=_?_.getBoundingClientRect():{width:0,height:0,left:0,top:0},y,N,P;if(O||b===void 0||b.clientX===0&&b.clientY===0||!b.clientX&&!b.touches)y=Math.round(M.width/2),N=Math.round(M.height/2);else{let{clientX:A,clientY:B}=b.touches&&b.touches.length>0?b.touches[0]:b;y=Math.round(A-M.left),N=Math.round(B-M.top)}if(O)P=Math.sqrt((2*M.width**2+M.height**2)/3),P%2===0&&(P+=1);else{let A=Math.max(Math.abs((_?_.clientWidth:0)-y),y)*2+2,B=Math.max(Math.abs((_?_.clientHeight:0)-N),N)*2+2;P=Math.sqrt(A**2+B**2)}b?.touches?T.current===null&&(T.current=()=>{x({pulsate:C,rippleX:y,rippleY:N,rippleSize:P,cb:S})},c.start(A5,()=>{T.current&&(T.current(),T.current=null)})):x({pulsate:C,rippleX:y,rippleY:N,rippleSize:P,cb:S})},[n,x,c]),h=dt.useCallback(()=>{m({},{pulsate:!0})},[m]),g=dt.useCallback((b,E)=>{if(c.clear(),b?.type==="touchend"&&T.current){T.current(),T.current=null,c.start(0,()=>{g(b,E)});return}T.current=null,u(S=>S.length>0?S.slice(1):S),f.current=E},[c]);return dt.useImperativeHandle(o,()=>({pulsate:h,start:m,stop:g}),[h,m,g]),(0,Zf.jsx)(D5,{className:H(Eo.root,a.root,i),ref:v,...l,children:(0,Zf.jsx)(xg,{component:null,exit:!0,children:s})})}),iE=B5;function lE(e){return F("MuiButtonBase",e)}var k5=q("MuiButtonBase",["root","disabled","focusVisible"]),sE=k5;var Wf=R(L(),1),U5=e=>{let{disabled:t,focusVisible:o,focusVisibleClassName:r,suppressFocusVisible:n,classes:a}=e,l=G({root:["root",t&&"disabled",o&&!n&&"focusVisible"]},lE,a);return o&&!n&&r&&(l.root+=` ${r}`),l},j5=j("button",{name:"MuiButtonBase",slot:"Root"})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${sE.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),L5=qn.forwardRef(function(t,o){let r=Y({props:t,name:"MuiButtonBase"}),{action:n,centerRipple:a=!1,children:i,className:l,component:s="button",disabled:u=!1,disableRipple:p=!1,disableTouchRipple:f=!1,focusRipple:d=!1,focusVisibleClassName:c,focusableWhenDisabled:T,suppressFocusVisible:v=!1,internalNativeButton:x,LinkComponent:m="a",nativeButton:h,onBlur:g,onClick:b,onContextMenu:E,onDragLeave:S,onFocus:C,onFocusVisible:O,onKeyDown:w,onKeyUp:_,onMouseDown:M,onMouseLeave:y,onMouseUp:N,onTouchEnd:P,onTouchMove:A,onTouchStart:B,tabIndex:U=0,TouchRippleProps:V,touchRippleRef:ye,type:se,...K}=r,ce=!!(K.href||K.to),We=!!K.formAction,De=s;De==="button"&&ce&&(De=m);let He=typeof De=="string"?De==="button":x??!1,ze=h??He,X=Xf(),W=Xt(X.ref,ye),[J,he]=qn.useState(!1);(u||v)&&J&&he(!1);let xt=Vn(Ge=>{d&&!Ge.repeat&&J&&Ge.key===" "&&X.stop(Ge,()=>{X.start(Ge)})}),ae=Vn(Ge=>{d&&Ge.key===" "&&J&&!Ge.defaultPrevented&&X.stop(Ge,()=>{X.pulsate(Ge)})}),{getButtonProps:Pe,rootRef:st}=Pg({nativeButton:ze,nativeButtonProp:h,internalNativeButton:He,allowInferredHostMismatch:ce||typeof De=="string",disabled:u,type:se,hasFormAction:We,tabIndex:U,onBeforeKeyDown:xt,onBeforeKeyUp:ae}),{onClick:Ht,onKeyDown:qe,onKeyUp:ut,...St}=Pe({onClick:b,onKeyDown:w,onKeyUp:_});qn.useImperativeHandle(n,()=>({focusVisible:()=>{he(!0),st.current.focus()}}),[st]);let fe=X.shouldMount&&!p&&!u;qn.useEffect(()=>{J&&d&&!p&&X.pulsate()},[p,d,J,X]);let so=Jr(X,"start",M,f),Mo=Jr(X,"stop",E,f),ct=Jr(X,"stop",S,f),Kn=Jr(X,"stop",N,f),ir=Jr(X,"stop",Ge=>{J&&Ge.preventDefault(),y&&y(Ge)},f),Cr=Jr(X,"start",B,f),Be=Jr(X,"stop",P,f),ge=Jr(X,"stop",A,f),Xe=Jr(X,"stop",Ge=>{Nu(Ge.target)||he(!1),g&&g(Ge)},!1),ee=Vn(Ge=>{st.current||(st.current=Ge.currentTarget),!v&&Nu(Ge.target)&&(he(!0),O&&O(Ge)),C&&C(Ge)}),uo={};ce&&(uo.tabIndex=u?-1:U,u&&(uo["aria-disabled"]=u),uo.type=se);let rn=Xt(o,st),Il={...r,centerRipple:a,component:s,disabled:u,disableRipple:p,disableTouchRipple:f,focusRipple:d,suppressFocusVisible:v,tabIndex:U,focusVisible:J},Fl=U5(Il);return(0,Wf.jsxs)(j5,{as:De,className:H(Fl.root,l),ownerState:Il,onBlur:Xe,onClick:Ht,onContextMenu:Mo,onFocus:ee,onKeyDown:qe,onKeyUp:ut,onMouseDown:so,onMouseLeave:ir,onMouseUp:Kn,onDragLeave:ct,onTouchEnd:Be,onTouchMove:ge,onTouchStart:Cr,ref:rn,...ce?uo:St,...K,children:[i,fe?(0,Wf.jsx)(iE,{ref:W,center:a,...V}):null]})});function Jr(e,t,o,r=!1){return Vn(n=>(o&&o(n),r||e[t](n),!0))}var Ag=L5;function H5(e){return typeof e.main=="string"}function V5(e,t=[]){if(!H5(e))return!1;for(let o of t)if(!e.hasOwnProperty(o)||typeof e[o]!="string")return!1;return!0}function Qt(e=[]){return([,t])=>t&&V5(t,e)}var cE=R(k(),1);function uE(e){return F("MuiCircularProgress",e)}var HV=q("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","track","circle","circleDisableShrink"]);var wl=R(L(),1),or=44,wg=Xo`
|
|
118
161
|
0% {
|
|
119
162
|
transform: rotate(0deg);
|
|
120
163
|
}
|
|
@@ -122,7 +165,7 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
|
|
|
122
165
|
100% {
|
|
123
166
|
transform: rotate(360deg);
|
|
124
167
|
}
|
|
125
|
-
`,
|
|
168
|
+
`,Ng=Xo`
|
|
126
169
|
0% {
|
|
127
170
|
stroke-dasharray: 1px, 200px;
|
|
128
171
|
stroke-dashoffset: 0;
|
|
@@ -137,13 +180,13 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
|
|
|
137
180
|
stroke-dasharray: 1px, 200px;
|
|
138
181
|
stroke-dashoffset: -126px;
|
|
139
182
|
}
|
|
140
|
-
`,
|
|
141
|
-
animation: ${
|
|
142
|
-
`:null,
|
|
143
|
-
animation: ${
|
|
144
|
-
`:null,
|
|
145
|
-
`&&(b.value+=" ");let C=S.boxSizing,O=Jf(S.paddingBottom)+Jf(S.paddingTop),
|
|
146
|
-
`),C=b.selectionStart===E;S&&C&&b.setSelectionRange(E,E),r&&r(g)},ref:f,rows:a,style:i,...s}),(0,_u.jsx)("textarea",{"aria-hidden":!0,className:t.className,readOnly:!0,ref:c,tabIndex:-1,style:{...X5.shadow,...i,paddingTop:0,paddingBottom:0}})]})}),Bg=Z5;function Ro({props:e,states:t,muiFormControl:o}){return t.reduce((r,n)=>(r[n]=e[n],o&&typeof e[n]>"u"&&(r[n]=o[n]),r),{})}var yE=R(k(),1),W5=yE.createContext(void 0),Nl=W5;var hE=R(k(),1);function Oo(){return hE.useContext(Nl)}function gE(e){return e!=null&&!(Array.isArray(e)&&e.length===0)}function ja(e,t=!1){return e&&(gE(e.value)&&e.value!==""||t&&gE(e.defaultValue)&&e.defaultValue!=="")}function bE(e){return e.startAdornment}function TE(e){return F("MuiInputBase",e)}var J5=q("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputTypeSearch"]),rr=J5;var La=R(L(),1),vE,Ha=(e,t)=>{let{ownerState:o}=e;return[t.root,o.formControl&&t.formControl,o.startAdornment&&t.adornedStart,o.endAdornment&&t.adornedEnd,o.error&&t.error,o.size==="small"&&t.sizeSmall,o.multiline&&t.multiline,o.color&&t[`color${re(o.color)}`],o.fullWidth&&t.fullWidth,o.hiddenLabel&&t.hiddenLabel]},Va=(e,t)=>{let{ownerState:o}=e;return[t.input,o.type==="search"&&t.inputTypeSearch]},e_=e=>{let{classes:t,color:o,disabled:r,error:n,endAdornment:a,focused:i,formControl:l,fullWidth:s,hiddenLabel:u,multiline:p,readOnly:f,size:d,startAdornment:c,type:T}=e,v={root:["root",`color${re(o)}`,r&&"disabled",n&&"error",s&&"fullWidth",i&&"focused",l&&"formControl",d&&d!=="medium"&&`size${re(d)}`,p&&"multiline",c&&"adornedStart",a&&"adornedEnd",u&&"hiddenLabel",f&&"readOnly"],input:["input",r&&"disabled",T==="search"&&"inputTypeSearch",f&&"readOnly"]};return G(v,TE,t)},Ia=j("div",{name:"MuiInputBase",slot:"Root",overridesResolver:Ha})(le(({theme:e})=>({...e.typography.body1,color:(e.vars||e).palette.text.primary,lineHeight:"1.4375em",boxSizing:"border-box",position:"relative",cursor:"text",display:"inline-flex",alignItems:"center",[`&.${rr.disabled}`]:{color:(e.vars||e).palette.text.disabled,cursor:"default"},variants:[{props:({ownerState:t})=>t.multiline,style:{padding:"4px 0 5px"}},{props:({ownerState:t,size:o})=>t.multiline&&o==="small",style:{paddingTop:1}},{props:({ownerState:t})=>t.fullWidth,style:{width:"100%"}}]}))),Fa=j("input",{name:"MuiInputBase",slot:"Input",overridesResolver:Va})(le(({theme:e})=>{let t=e.palette.mode==="light",o={color:"currentColor",...e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:t?.42:.5},transition:e.transitions.create("opacity",{duration:e.transitions.duration.shorter})},r={opacity:"0 !important"},n=e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:t?.42:.5};return{font:"inherit",letterSpacing:"inherit",color:"currentColor",padding:"4px 0 5px",border:0,boxSizing:"content-box",background:"none",height:"1.4375em",margin:0,WebkitTapHighlightColor:"transparent",display:"block",minWidth:0,width:"100%","&::-webkit-input-placeholder":o,"&::-moz-placeholder":o,"&::-ms-input-placeholder":o,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"},[`label[data-shrink=false] + .${rr.formControl} &`]:{"&::-webkit-input-placeholder":r,"&::-moz-placeholder":r,"&::-ms-input-placeholder":r,"&:focus::-webkit-input-placeholder":n,"&:focus::-moz-placeholder":n,"&:focus::-ms-input-placeholder":n},[`&.${rr.disabled}`]:{opacity:1,WebkitTextFillColor:(e.vars||e).palette.text.disabled},variants:[{props:({ownerState:a})=>!a.disableInjectingGlobalStyles,style:{animationName:"mui-auto-fill-cancel",animationDuration:"10ms","&:-webkit-autofill":{animationDuration:"5000s",animationName:"mui-auto-fill"}}},{props:{size:"small"},style:{paddingTop:1}},{props:({ownerState:a})=>a.multiline,style:{height:"auto",resize:"none",padding:0,paddingTop:0}},{props:{type:"search"},style:{MozAppearance:"textfield"}}]}})),xE=LC({"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}),t_=jt.forwardRef(function(t,o){let r=Y({props:t,name:"MuiInputBase"}),{"aria-describedby":n,autoComplete:a,autoFocus:i,className:l,color:s,defaultValue:u,disabled:p,disableInjectingGlobalStyles:f,endAdornment:d,error:c,fullWidth:T=!1,id:v,inputComponent:x="input",inputProps:m={},inputRef:h,margin:g,maxRows:b,minRows:E,multiline:S=!1,name:C,onBlur:O,onChange:N,onClick:_,onFocus:M,onKeyDown:y,onKeyUp:w,placeholder:P,readOnly:A,renderSuffix:B,rows:U,size:V,slotProps:ye={},slots:se={},startAdornment:K,type:ce="text",value:We,...De}=r,He=m.value!=null?m.value:We,{current:ze}=jt.useRef(He!=null),X=jt.useRef(),W=jt.useCallback(ee=>{},[]),J=Xt(X,h,m.ref,W),[he,xt]=jt.useState(!1),ae=Oo(),Pe=Ro({props:r,muiFormControl:ae,states:["color","disabled","error","hiddenLabel","size","required","filled"]});Pe.focused=ae?ae.focused:he,jt.useEffect(()=>{!ae&&p&&he&&(xt(!1),O&&O())},[ae,p,he,O]);let st=ae&&ae.onFilled,Ht=ae&&ae.onEmpty,qe=jt.useCallback(ee=>{ja(ee)?st&&st():Ht&&Ht()},[st,Ht]);Lf(()=>{ze&&qe({value:He})},[He,qe,ze]);let ut=ee=>{M&&M(ee),m.onFocus&&m.onFocus(ee),ae&&ae.onFocus?ae.onFocus(ee):xt(!0)},St=ee=>{O&&O(ee),m.onBlur&&m.onBlur(ee),ae&&ae.onBlur?ae.onBlur(ee):xt(!1)},fe=(ee,...uo)=>{if(!ze){let rn=ee.target||X.current;if(rn==null)throw new Error(bt(1));qe({value:rn.value})}m.onChange&&m.onChange(ee,...uo),N&&N(ee,...uo)};jt.useEffect(()=>{qe(X.current)},[]);let so=ee=>{X.current&&ee.currentTarget===ee.target&&X.current.focus(),_&&_(ee)},Mo=x,ct=m;S&&Mo==="input"&&(U?ct={type:void 0,minRows:U,maxRows:U,...ct}:ct={type:void 0,maxRows:b,minRows:E,...ct},Mo=Bg);let Kn=ee=>{qe(ee.animationName==="mui-auto-fill-cancel"?X.current:{value:"x"})};jt.useEffect(()=>{ae&&ae.setAdornedStart(!!K)},[ae,K]);let ir={...r,color:Pe.color||"primary",disabled:Pe.disabled,endAdornment:d,error:Pe.error,focused:Pe.focused,formControl:ae,fullWidth:T,hiddenLabel:Pe.hiddenLabel,multiline:S,size:Pe.size,startAdornment:K,type:ce},Cr=e_(ir),Be=se.root||Ia,ge=ye.root||{},Xe=se.input||Fa;return ct={...ct,...ye.input},(0,La.jsxs)(jt.Fragment,{children:[!f&&typeof xE=="function"&&(vE||(vE=(0,La.jsx)(xE,{}))),(0,La.jsxs)(Be,{...ge,ref:o,onClick:so,...De,...!In(Be)&&{ownerState:{...ir,...ge.ownerState}},className:H(Cr.root,ge.className,l,A&&"MuiInputBase-readOnly"),children:[K,(0,La.jsx)(Nl.Provider,{value:null,children:(0,La.jsx)(Xe,{"aria-invalid":Pe.error,"aria-describedby":n,autoComplete:a,autoFocus:i,defaultValue:u,disabled:Pe.disabled,id:v,onAnimationStart:Kn,name:C,placeholder:P,readOnly:A,required:Pe.required,rows:U,value:He,onKeyDown:y,onKeyUp:w,type:ce,...ct,...!In(Xe)&&{as:Mo,ownerState:{...ir,...ct.ownerState}},ref:J,className:H(Cr.input,ct.className,A&&"MuiInputBase-readOnly"),onBlur:St,onChange:fe,onFocus:ut})}),d,B?B({...Pe,startAdornment:K}):null]})]})}),qa=t_;function SE(e){return F("MuiInput",e)}var o_={...rr,...q("MuiInput",["root","underline","input"])},wl=o_;function CE(e){return F("MuiOutlinedInput",e)}var r_={...rr,...q("MuiOutlinedInput",["root","notchedOutline","input"])},nr=r_;function EE(e){return F("MuiFilledInput",e)}var n_={...rr,...q("MuiFilledInput",["root","underline","input","adornedStart","adornedEnd","sizeSmall","multiline","hiddenLabel"])},Gn=n_;var PE=R(L(),1),RE=Uf((0,PE.jsx)("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown");var AE=R(k(),1);var _l=R(k(),1);var OE=R(L(),1),a_={entering:{opacity:1},entered:{opacity:1},exiting:{opacity:0},exited:{opacity:0}},i_={opacity:0,visibility:"hidden"},l_=_l.forwardRef(function(t,o){let r=jn(),n={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{addEndListener:a,appear:i=!0,children:l,easing:s,in:u,onEnter:p,onEntered:f,onEntering:d,onExit:c,onExited:T,onExiting:v,style:x,timeout:m=n,...h}=t,g=_l.useRef(null),b=Xt(g,Yo(l),o),E=io(g,d),S=io(g,(y,w)=>{Gf(y);let P=Ol({style:x,timeout:m,easing:s},{mode:"enter"});y.style.transition=r.transitions.create("opacity",P),p&&p(y,w)}),C=io(g,f),O=io(g,v),N=io(g,y=>{let w=Ol({style:x,timeout:m,easing:s},{mode:"exit"});y.style.transition=r.transitions.create("opacity",w),c&&c(y)}),_=io(g,y=>{y.style.transition="",T&&T(y)});return(0,OE.jsx)(Eu,{appear:i,in:u,nodeRef:g,onEnter:S,onEntered:C,onEntering:E,onExit:N,onExited:_,onExiting:O,addEndListener:y=>{a&&a(g.current,y)},timeout:m,...h,children:(y,{ownerState:w,...P})=>{let A=$f(y,u,a_,i_,x,l.props.style);return _l.cloneElement(l,{style:A,ref:b,...P})}})}),kg=l_;function ME(e){return F("MuiBackdrop",e)}var OF=q("MuiBackdrop",["root","invisible"]);var Ug=R(L(),1),s_=e=>{let{classes:t,invisible:o}=e;return G({root:["root",o&&"invisible"]},ME,t)},u_=j("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[t.root,o.invisible&&t.invisible]}})({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent",variants:[{props:{invisible:!0},style:{backgroundColor:"transparent"}}]}),c_=AE.forwardRef(function(t,o){let r=Y({props:t,name:"MuiBackdrop"}),{children:n,className:a,component:i="div",invisible:l=!1,open:s,slotProps:u={},slots:p={},transitionDuration:f,...d}=r,c={...r,component:i,invisible:l},T=s_(c),v={component:i,slots:p,slotProps:u},[x,m]=Ke("root",{elementType:u_,externalForwardedProps:v,className:H(T.root,a),ownerState:c}),[h,g]=Ke("transition",{elementType:kg,externalForwardedProps:v,ownerState:c});return(0,Ug.jsx)(h,{in:s,timeout:f,...d,...g,children:(0,Ug.jsx)(x,{...m,ref:o,children:n})})}),jg=c_;var p_=q("MuiBox",["root"]),NE=p_;var f_=vr(),d_=lu({themeId:Nt,defaultTheme:f_,defaultClassName:NE.root,generateClassName:pl.generate}),ed=d_;var Du=R(k(),1);function wE(e){return F("MuiButton",e)}var m_=q("MuiButton",["root","text","outlined","contained","disableElevation","focusVisible","disabled","colorInherit","colorPrimary","colorSecondary","colorSuccess","colorError","colorInfo","colorWarning","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","icon","loading","loadingWrapper","loadingIconPlaceholder","loadingIndicator","loadingPositionCenter","loadingPositionStart","loadingPositionEnd"]),$n=m_;var _E=R(k(),1),y_=_E.createContext({}),DE=y_;var zE=R(k(),1),h_=zE.createContext(void 0),BE=h_;var xr=R(L(),1),g_=e=>{let{color:t,disableElevation:o,fullWidth:r,size:n,variant:a,loading:i,loadingPosition:l,classes:s}=e,u={root:["root",i&&"loading",a,`size${re(n)}`,`color${re(t)}`,o&&"disableElevation",r&&"fullWidth",i&&`loadingPosition${re(l)}`],startIcon:["icon","startIcon"],endIcon:["icon","endIcon"],loadingIndicator:["loadingIndicator"],loadingWrapper:["loadingWrapper"]},p=G(u,wE,s);return{...s,...p}},UE=[{props:{size:"small"},style:{"& > *:nth-of-type(1)":{fontSize:18}}},{props:{size:"medium"},style:{"& > *:nth-of-type(1)":{fontSize:20}}},{props:{size:"large"},style:{"& > *:nth-of-type(1)":{fontSize:22}}}],b_=j(Ag,{shouldForwardProp:e=>ot(e)||e==="classes",name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[t.root,t[o.variant],t[`size${re(o.size)}`],o.color==="inherit"&&t.colorInherit,o.disableElevation&&t.disableElevation,o.fullWidth&&t.fullWidth,o.loading&&t.loading]}})(le(({theme:e})=>{let t=e.palette.mode==="light"?e.palette.grey[300]:e.palette.grey[800],o=e.palette.mode==="light"?e.palette.grey.A100:e.palette.grey[700];return{...e.typography.button,minWidth:64,padding:"6px 16px",border:0,borderRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create(["background-color","box-shadow","border-color","color"],{duration:e.transitions.duration.short}),"&:hover":{textDecoration:"none"},[`&.${$n.disabled}`]:{color:(e.vars||e).palette.action.disabled},variants:[{props:{variant:"contained"},style:{color:"var(--variant-containedColor)",backgroundColor:"var(--variant-containedBg)",boxShadow:(e.vars||e).shadows[2],"&:hover":{boxShadow:(e.vars||e).shadows[4],"@media (hover: none)":{boxShadow:(e.vars||e).shadows[2]}},"&:active":{boxShadow:(e.vars||e).shadows[8]},[`&.${$n.focusVisible}`]:{boxShadow:(e.vars||e).shadows[6]},[`&.${$n.disabled}`]:{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground}}},{props:{variant:"outlined"},style:{padding:"5px 15px",border:"1px solid currentColor",borderColor:"var(--variant-outlinedBorder, currentColor)",backgroundColor:"var(--variant-outlinedBg)",color:"var(--variant-outlinedColor)",[`&.${$n.disabled}`]:{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`}}},{props:{variant:"text"},style:{padding:"6px 8px",color:"var(--variant-textColor)",backgroundColor:"var(--variant-textBg)"}},...Object.entries(e.palette).filter(Qt()).map(([r])=>({props:{color:r},style:{"--variant-textColor":(e.vars||e).palette[r].main,"--variant-outlinedColor":(e.vars||e).palette[r].main,"--variant-outlinedBorder":e.alpha((e.vars||e).palette[r].main,.5),"--variant-containedColor":(e.vars||e).palette[r].contrastText,"--variant-containedBg":(e.vars||e).palette[r].main,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":(e.vars||e).palette[r].dark,"--variant-textBg":e.alpha((e.vars||e).palette[r].main,(e.vars||e).palette.action.hoverOpacity),"--variant-outlinedBorder":(e.vars||e).palette[r].main,"--variant-outlinedBg":e.alpha((e.vars||e).palette[r].main,(e.vars||e).palette.action.hoverOpacity)}}}})),{props:{color:"inherit"},style:{color:"inherit",borderColor:"currentColor","--variant-containedBg":e.vars?e.vars.palette.Button.inheritContainedBg:t,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":e.vars?e.vars.palette.Button.inheritContainedHoverBg:o,"--variant-textBg":e.alpha((e.vars||e).palette.text.primary,(e.vars||e).palette.action.hoverOpacity),"--variant-outlinedBg":e.alpha((e.vars||e).palette.text.primary,(e.vars||e).palette.action.hoverOpacity)}}}},{props:{size:"small",variant:"text"},style:{padding:"4px 5px",fontSize:e.typography.pxToRem(13)}},{props:{size:"large",variant:"text"},style:{padding:"8px 11px",fontSize:e.typography.pxToRem(15)}},{props:{size:"small",variant:"outlined"},style:{padding:"3px 9px",fontSize:e.typography.pxToRem(13)}},{props:{size:"large",variant:"outlined"},style:{padding:"7px 21px",fontSize:e.typography.pxToRem(15)}},{props:{size:"small",variant:"contained"},style:{padding:"4px 10px",fontSize:e.typography.pxToRem(13)}},{props:{size:"large",variant:"contained"},style:{padding:"8px 22px",fontSize:e.typography.pxToRem(15)}},{props:{disableElevation:!0},style:{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${$n.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${$n.disabled}`]:{boxShadow:"none"}}},{props:{fullWidth:!0},style:{width:"100%"}},{props:{loadingPosition:"center"},style:{transition:e.transitions.create(["background-color","box-shadow","border-color"],{duration:e.transitions.duration.short}),[`&.${$n.loading}`]:{color:"transparent"}}}]}})),T_=j("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[t.startIcon,o.loading&&t.startIconLoadingStart]}})(({theme:e})=>({display:"inherit",marginRight:8,marginLeft:-4,variants:[{props:{size:"small"},style:{marginLeft:-2}},{props:{loadingPosition:"start",loading:!0},style:{transition:e.transitions.create(["opacity"],{duration:e.transitions.duration.short}),opacity:0}},{props:{loadingPosition:"start",loading:!0,fullWidth:!0},style:{marginRight:-8}},...UE]})),v_=j("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[t.endIcon,o.loading&&t.endIconLoadingEnd]}})(({theme:e})=>({display:"inherit",marginRight:-4,marginLeft:8,variants:[{props:{size:"small"},style:{marginRight:-2}},{props:{loadingPosition:"end",loading:!0},style:{transition:e.transitions.create(["opacity"],{duration:e.transitions.duration.short}),opacity:0}},{props:{loadingPosition:"end",loading:!0,fullWidth:!0},style:{marginLeft:-8}},...UE]})),x_=j("span",{name:"MuiButton",slot:"LoadingIndicator"})(({theme:e})=>({display:"none",position:"absolute",visibility:"visible",variants:[{props:{loading:!0},style:{display:"flex"}},{props:{loadingPosition:"start"},style:{left:14}},{props:{loadingPosition:"start",size:"small"},style:{left:10}},{props:{variant:"text",loadingPosition:"start"},style:{left:6}},{props:{loadingPosition:"center"},style:{left:"50%",transform:"translate(-50%)",color:(e.vars||e).palette.action.disabled}},{props:{loadingPosition:"end"},style:{right:14}},{props:{loadingPosition:"end",size:"small"},style:{right:10}},{props:{variant:"text",loadingPosition:"end"},style:{right:6}},{props:{loadingPosition:"start",fullWidth:!0},style:{position:"relative",left:-10}},{props:{loadingPosition:"end",fullWidth:!0},style:{position:"relative",right:-10}}]})),kE=j("span",{name:"MuiButton",slot:"LoadingIconPlaceholder"})({display:"inline-block",width:"1em",height:"1em"}),S_=Du.forwardRef(function(t,o){let r=Du.useContext(DE),n=Du.useContext(BE),a=br(r,t),i=Y({props:a,name:"MuiButton"}),{children:l,color:s="primary",component:u="button",className:p,disabled:f=!1,disableElevation:d=!1,disableFocusRipple:c=!1,endIcon:T,focusVisibleClassName:v,fullWidth:x=!1,id:m,loading:h=null,loadingIndicator:g,loadingPosition:b="center",size:E="medium",startIcon:S,type:C,variant:O="text",...N}=i,_=mg(m),M=g??(0,xr.jsx)(_g,{"aria-labelledby":_,color:"inherit",size:16}),y={...i,color:s,component:u,disabled:f,disableElevation:d,disableFocusRipple:c,fullWidth:x,loading:h,loadingIndicator:M,loadingPosition:b,size:E,type:C,variant:O},w=g_(y),P=(S||h&&b==="start")&&(0,xr.jsx)(T_,{className:w.startIcon,ownerState:y,children:S||(0,xr.jsx)(kE,{className:w.loadingIconPlaceholder,ownerState:y})}),A=(T||h&&b==="end")&&(0,xr.jsx)(v_,{className:w.endIcon,ownerState:y,children:T||(0,xr.jsx)(kE,{className:w.loadingIconPlaceholder,ownerState:y})}),B=n||"",U=typeof h=="boolean"?(0,xr.jsx)("span",{className:w.loadingWrapper,style:{display:"contents"},children:h&&(0,xr.jsx)(x_,{className:w.loadingIndicator,ownerState:y,children:M})}):null;return(0,xr.jsxs)(b_,{ownerState:y,className:H(r.className,w.root,p,B),component:u,disabled:f||h,focusRipple:!c,focusVisibleClassName:H(w.focusVisible,v),ref:o,internalNativeButton:!0,type:C,id:h?_:m,...N,classes:w,children:[P,b!=="end"&&U,l,b==="end"&&U,A]})}),td=S_;function Dl(e=window){let t=e.document.documentElement.clientWidth;return e.innerWidth-t}function C_(e){let t=Tt(e);return t.body===e?qo(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}function zl(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function jE(e){return parseFloat(qo(e).getComputedStyle(e).paddingRight)||0}function E_(e){let o=["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].includes(e.tagName),r=e.tagName==="INPUT"&&e.getAttribute("type")==="hidden";return o||r}function LE(e,t,o,r,n){let a=[t,o,...r];[].forEach.call(e.children,i=>{let l=!a.includes(i),s=!E_(i);l&&s&&zl(i,n)})}function Lg(e,t){let o=-1;return e.some((r,n)=>t(r)?(o=n,!0):!1),o}function P_(e,t){let o=[],r=e.container;if(!t.disableScrollLock){if(C_(r)){let i=Dl(qo(r));o.push({value:r.style.paddingRight,property:"padding-right",el:r}),r.style.paddingRight=`${jE(r)+i}px`;let l=Tt(r).querySelectorAll(".mui-fixed");[].forEach.call(l,s=>{o.push({value:s.style.paddingRight,property:"padding-right",el:s}),s.style.paddingRight=`${jE(s)+i}px`})}let a;if(r.parentNode instanceof DocumentFragment)a=Tt(r).body;else{let i=r.parentElement,l=qo(r);a=i?.nodeName==="HTML"&&l.getComputedStyle(i).overflowY==="scroll"?i:r}o.push({value:a.style.overflow,property:"overflow",el:a},{value:a.style.overflowX,property:"overflow-x",el:a},{value:a.style.overflowY,property:"overflow-y",el:a}),a.style.overflow="hidden"}return()=>{o.forEach(({value:a,el:i,property:l})=>{a?i.style.setProperty(l,a):i.style.removeProperty(l)})}}function R_(e){let t=[];return[].forEach.call(e.children,o=>{o.getAttribute("aria-hidden")==="true"&&t.push(o)}),t}var od=class{constructor(){this.modals=[],this.containers=[]}add(t,o){let r=this.modals.indexOf(t);if(r!==-1)return r;r=this.modals.length,this.modals.push(t),t.modalRef&&zl(t.modalRef,!1);let n=R_(o);LE(o,t.mount,t.modalRef,n,!0);let a=Lg(this.containers,i=>i.container===o);return a!==-1?(this.containers[a].modals.push(t),r):(this.containers.push({modals:[t],container:o,restore:null,hiddenSiblings:n}),r)}mount(t,o){let r=Lg(this.containers,a=>a.modals.includes(t)),n=this.containers[r];n.restore||(n.restore=P_(n,o))}remove(t,o=!0){let r=this.modals.indexOf(t);if(r===-1)return r;let n=Lg(this.containers,i=>i.modals.includes(t)),a=this.containers[n];if(a.modals.splice(a.modals.indexOf(t),1),this.modals.splice(r,1),a.modals.length===0)a.restore&&a.restore(),t.modalRef&&zl(t.modalRef,o),LE(a.container,t.mount,t.modalRef,a.hiddenSiblings,!1),this.containers.splice(n,1);else{let i=a.modals[a.modals.length-1];i.modalRef&&zl(i.modalRef,!1)}return r}isTopModal(t){return this.modals.length>0&&this.modals[this.modals.length-1]===t}};var nd=R(k(),1);var Dt=R(k(),1);var zu=R(L(),1),O_=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function M_(e){let t=parseInt(e.getAttribute("tabindex")||"",10);return Number.isNaN(t)?e.contentEditable==="true"||(e.nodeName==="AUDIO"||e.nodeName==="VIDEO"||e.nodeName==="DETAILS")&&e.getAttribute("tabindex")===null?0:e.tabIndex:t}function A_(e){if(e.tagName!=="INPUT"||e.type!=="radio"||!e.name)return!1;let t=r=>e.ownerDocument.querySelector(`input[type="radio"]${r}`),o=t(`[name="${e.name}"]:checked`);return o||(o=t(`[name="${e.name}"]`)),o!==e}function N_(e){return!(e.disabled||e.tagName==="INPUT"&&e.type==="hidden"||A_(e))}function w_(e){let t=[],o=[];return Array.from(e.querySelectorAll(O_)).forEach((r,n)=>{let a=M_(r);a===-1||!N_(r)||(a===0?t.push(r):o.push({documentOrder:n,tabIndex:a,node:r}))}),o.sort((r,n)=>r.tabIndex===n.tabIndex?r.documentOrder-n.documentOrder:r.tabIndex-n.tabIndex).map(r=>r.node).concat(t)}function __(){return!0}function D_(e){let{children:t,disableAutoFocus:o=!1,disableEnforceFocus:r=!1,disableRestoreFocus:n=!1,getTabbable:a=w_,isEnabled:i=__,open:l}=e,s=Dt.useRef(!1),u=Dt.useRef(null),p=Dt.useRef(null),f=Dt.useRef(null),d=Dt.useRef(null),c=Dt.useRef(!1),T=Dt.useRef(null),v=Ut(Yo(t),T),x=Dt.useRef(null);Dt.useEffect(()=>{!l||!T.current||(c.current=!o)},[o,l]),Dt.useEffect(()=>{if(!l||!T.current)return;let g=Tt(T.current),b=Ln(g);return T.current.contains(b)||(T.current.hasAttribute("tabIndex")||T.current.setAttribute("tabIndex","-1"),c.current&&T.current.focus()),()=>{n||(f.current&&f.current.focus&&(s.current=!0,f.current.focus()),f.current=null)}},[l]),Dt.useEffect(()=>{if(!l||!T.current)return;let g=Tt(T.current),b=C=>{if(x.current=C,r||!i()||C.key!=="Tab")return;Ln(g)===T.current&&C.shiftKey&&(s.current=!0,p.current&&p.current.focus())},E=()=>{let C=T.current;if(C===null)return;let O=Ln(g);if(!g.hasFocus()||!i()||s.current){s.current=!1;return}if(C.contains(O)||r&&O!==u.current&&O!==p.current)return;if(O!==d.current)d.current=null;else if(d.current!==null)return;if(!c.current)return;let N=[];if((O===u.current||O===p.current)&&(N=a(T.current)),N.length>0){let _=!!(x.current?.shiftKey&&x.current?.key==="Tab"),M=N[0],y=N[N.length-1];typeof M!="string"&&typeof y!="string"&&(_?y.focus():M.focus())}else C.focus()};g.addEventListener("focusin",E),g.addEventListener("keydown",b,!0);let S=setInterval(()=>{let C=Ln(g);C&&C.tagName==="BODY"&&E()},50);return()=>{clearInterval(S),g.removeEventListener("focusin",E),g.removeEventListener("keydown",b,!0)}},[o,r,n,i,l,a]);let m=g=>{f.current===null&&(f.current=g.relatedTarget),c.current=!0,d.current=g.target;let b=t.props.onFocus;b&&b(g)},h=g=>{f.current===null&&(f.current=g.relatedTarget),c.current=!0};return(0,zu.jsxs)(Dt.Fragment,{children:[(0,zu.jsx)("div",{tabIndex:l?0:-1,onFocus:h,ref:u,"data-testid":"sentinelStart"}),Dt.cloneElement(t,{ref:v,onFocus:m}),(0,zu.jsx)("div",{tabIndex:l?0:-1,onFocus:h,ref:p,"data-testid":"sentinelEnd"})]})}var Hg=D_;var ar=R(k(),1);function z_(e){return typeof e=="function"?e():e}function B_(e){return e?e.props.hasOwnProperty("in"):!1}var HE=()=>{},rd=new od;function k_(e){let{container:t,disableScrollLock:o=!1,closeAfterTransition:r=!1,onTransitionEnter:n,onTransitionExited:a,children:i,onClose:l,open:s,rootRef:u}=e,p=ar.useRef({}),f=ar.useRef(null),d=ar.useRef(null),c=Ut(d,u),[T,v]=ar.useState(!s),x=B_(i),m=!0;(e["aria-hidden"]==="false"||e["aria-hidden"]===!1)&&(m=!1);let h=()=>Tt(f.current),g=()=>(p.current.modalRef=d.current,p.current.mount=f.current,p.current),b=()=>{rd.mount(g(),{disableScrollLock:o}),d.current&&(d.current.scrollTop=0)},E=Go(()=>{let P=z_(t)||h().body;rd.add(g(),P),d.current&&b()}),S=()=>rd.isTopModal(g()),C=Go(P=>{f.current=P,P&&(s&&S()?b():d.current&&zl(d.current,m))}),O=ar.useCallback(()=>{rd.remove(g(),m)},[m]);ar.useEffect(()=>()=>{O()},[O]),ar.useEffect(()=>{s?E():(!x||!r)&&O()},[s,O,x,r,E]);let N=P=>A=>{P.onKeyDown?.(A),!(A.key!=="Escape"||A.which===229||!S())&&(A.stopPropagation(),l&&l(A,"escapeKeyDown"))},_=P=>A=>{P.onClick?.(A),A.target===A.currentTarget&&l&&l(A,"backdropClick")};return{getRootProps:(P={})=>{let A=Mu(e);delete A.onTransitionEnter,delete A.onTransitionExited;let B={...A,...P};return{role:"presentation",...B,onKeyDown:N(B),ref:c}},getBackdropProps:(P={})=>{let A=P;return{"aria-hidden":!0,...A,onClick:_(A),open:s}},getTransitionProps:()=>{let P=()=>{v(!1),n&&n()},A=()=>{v(!0),a&&a(),r&&O()};return{onEnter:Tu(P,i?.props.onEnter??HE),onExited:Tu(A,i?.props.onExited??HE)}},rootRef:c,portalRef:C,isTopModal:S,exited:T,hasTransition:x}}var VE=k_;function IE(e){return F("MuiModal",e)}var $q=q("MuiModal",["root","hidden","backdrop"]);var Bl=R(L(),1),U_=e=>{let{open:t,exited:o,classes:r}=e;return G({root:["root",!t&&o&&"hidden"],backdrop:["backdrop"]},IE,r)},j_=j("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[t.root,!o.open&&o.exited&&t.hidden]}})(le(({theme:e})=>({position:"fixed",zIndex:(e.vars||e).zIndex.modal,right:0,bottom:0,top:0,left:0,variants:[{props:({ownerState:t})=>!t.open&&t.exited,style:{visibility:"hidden"}}]}))),L_=j(jg,{name:"MuiModal",slot:"Backdrop"})({zIndex:-1}),H_=nd.forwardRef(function(t,o){let r=Y({name:"MuiModal",props:t}),{classes:n,className:a,closeAfterTransition:i=!1,children:l,container:s,component:u,disableAutoFocus:p=!1,disableEnforceFocus:f=!1,disablePortal:d=!1,disableRestoreFocus:c=!1,disableScrollLock:T=!1,hideBackdrop:v=!1,keepMounted:x=!1,onClose:m,onTransitionEnter:h,onTransitionExited:g,open:b,slotProps:E={},slots:S={},theme:C,...O}=r,N={...r,closeAfterTransition:i,disableAutoFocus:p,disableEnforceFocus:f,disablePortal:d,disableRestoreFocus:c,disableScrollLock:T,hideBackdrop:v,keepMounted:x},{getRootProps:_,getBackdropProps:M,getTransitionProps:y,portalRef:w,isTopModal:P,exited:A,hasTransition:B}=VE({...N,rootRef:o}),U={...N,exited:A},V=U_(U),ye={};if(l.props.tabIndex===void 0&&(ye.tabIndex="-1"),B){let{onEnter:He,onExited:ze}=y();ye.onEnter=He,ye.onExited=ze}let se={slots:S,slotProps:E},[K,ce]=Ke("root",{ref:o,elementType:j_,externalForwardedProps:{...se,...O,component:u},getSlotProps:_,ownerState:U,className:H(a,V?.root,!U.open&&U.exited&&V?.hidden)}),[We,De]=Ke("backdrop",{elementType:L_,externalForwardedProps:se,shouldForwardComponentProp:!0,getSlotProps:He=>M({...He,onClick:ze=>{He?.onClick&&He.onClick(ze)}}),className:V?.backdrop,ownerState:U});return!x&&!b&&(!B||A)?null:(0,Bl.jsx)(zg,{ref:w,container:s,disablePortal:d,children:(0,Bl.jsxs)(K,{...ce,children:[v?null:(0,Bl.jsx)(We,{...De}),(0,Bl.jsx)(Hg,{disableEnforceFocus:f,disableAutoFocus:p,disableRestoreFocus:c,isEnabled:P,open:b,children:nd.cloneElement(l,ye)})]})})}),Vg=H_;var FE=R(k(),1);var qE=R(L(),1),V_=e=>{let{classes:t,disableUnderline:o,startAdornment:r,endAdornment:n,size:a,hiddenLabel:i,multiline:l}=e,s={root:["root",!o&&"underline",r&&"adornedStart",n&&"adornedEnd",a==="small"&&`size${re(a)}`,i&&"hiddenLabel",l&&"multiline"],input:["input"]},u=G(s,EE,t);return{...t,...u}},I_=j(Ia,{shouldForwardProp:e=>ot(e)||e==="classes",name:"MuiFilledInput",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[...Ha(e,t),!o.disableUnderline&&t.underline]}})(le(({theme:e})=>{let t=e.palette.mode==="light",o=t?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)",r=t?"rgba(0, 0, 0, 0.06)":"rgba(255, 255, 255, 0.09)",n=t?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.13)",a=t?"rgba(0, 0, 0, 0.12)":"rgba(255, 255, 255, 0.12)";return{position:"relative",backgroundColor:e.vars?e.vars.palette.FilledInput.bg:r,borderTopLeftRadius:(e.vars||e).shape.borderRadius,borderTopRightRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),"&:hover":{backgroundColor:e.vars?e.vars.palette.FilledInput.hoverBg:n,"@media (hover: none)":{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:r}},[`&.${Gn.focused}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:r},[`&.${Gn.disabled}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.disabledBg:a},variants:[{props:({ownerState:i})=>!i.disableUnderline,style:{"&::after":{left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${Gn.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${Gn.error}`]:{"&::before, &::after":{borderBottomColor:(e.vars||e).palette.error.main}},"&::before":{borderBottom:`1px solid ${e.vars?e.alpha(e.vars.palette.common.onBackground,e.vars.opacity.inputUnderline):o}`,left:0,bottom:0,content:'""',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${Gn.disabled}, .${Gn.error}):before`]:{borderBottom:`1px solid ${(e.vars||e).palette.text.primary}`},[`&.${Gn.disabled}:before`]:{borderBottomStyle:"dotted"}}},...Object.entries(e.palette).filter(Qt()).map(([i])=>({props:{disableUnderline:!1,color:i},style:{"&::after":{borderBottom:`2px solid ${(e.vars||e).palette[i]?.main}`}}})),{props:({ownerState:i})=>i.startAdornment,style:{paddingLeft:12}},{props:({ownerState:i})=>i.endAdornment,style:{paddingRight:12}},{props:({ownerState:i})=>i.multiline,style:{padding:"25px 12px 8px"}},{props:({ownerState:i,size:l})=>i.multiline&&l==="small",style:{paddingTop:21,paddingBottom:4}},{props:({ownerState:i})=>i.multiline&&i.hiddenLabel,style:{paddingTop:16,paddingBottom:17}},{props:({ownerState:i})=>i.multiline&&i.hiddenLabel&&i.size==="small",style:{paddingTop:8,paddingBottom:9}}]}})),F_=j(Fa,{name:"MuiFilledInput",slot:"Input",overridesResolver:Va})(le(({theme:e})=>({paddingTop:25,paddingRight:12,paddingBottom:8,paddingLeft:12,...!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:e.palette.mode==="light"?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:e.palette.mode==="light"?null:"#fff",caretColor:e.palette.mode==="light"?null:"#fff",borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"}},...e.vars&&{"&:-webkit-autofill":{borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},variants:[{props:{size:"small"},style:{paddingTop:21,paddingBottom:4}},{props:({ownerState:t})=>t.hiddenLabel,style:{paddingTop:16,paddingBottom:17}},{props:({ownerState:t})=>t.startAdornment,style:{paddingLeft:0}},{props:({ownerState:t})=>t.endAdornment,style:{paddingRight:0}},{props:({ownerState:t})=>t.hiddenLabel&&t.size==="small",style:{paddingTop:8,paddingBottom:9}},{props:({ownerState:t})=>t.multiline,style:{paddingTop:0,paddingBottom:0,paddingLeft:0,paddingRight:0}}]}))),GE=FE.forwardRef(function(t,o){let r=Y({props:t,name:"MuiFilledInput"}),{disableUnderline:n=!1,fullWidth:a=!1,hiddenLabel:i,inputComponent:l="input",multiline:s=!1,slotProps:u,slots:p={},type:f="text",...d}=r,c={...r,disableUnderline:n,fullWidth:a,inputComponent:l,multiline:s,type:f},T=V_(r),v={root:{ownerState:c},input:{ownerState:c}},x=u?Te(v,u):v,m=p.root??I_,h=p.input??F_;return(0,qE.jsx)(qa,{slots:{root:m,input:h},slotProps:x,fullWidth:a,inputComponent:l,multiline:s,ref:o,type:f,...d,classes:T})});GE.muiName="Input";var Bu=GE;var Lt=R(k(),1);function $E(e){return F("MuiFormControl",e)}var RG=q("MuiFormControl",["root","marginNone","marginNormal","marginDense","fullWidth","disabled"]);var Ig=R(L(),1),q_=e=>{let{classes:t,margin:o,fullWidth:r}=e,n={root:["root",o!=="none"&&`margin${re(o)}`,r&&"fullWidth"]};return G(n,$E,t)},G_=j("div",{name:"MuiFormControl",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[t.root,t[`margin${re(o.margin)}`],o.fullWidth&&t.fullWidth]}})({display:"inline-flex",flexDirection:"column",position:"relative",minWidth:0,padding:0,margin:0,border:0,verticalAlign:"top",variants:[{props:{margin:"normal"},style:{marginTop:16,marginBottom:8}},{props:{margin:"dense"},style:{marginTop:8,marginBottom:4}},{props:{fullWidth:!0},style:{width:"100%"}}]}),$_=Lt.forwardRef(function(t,o){let r=Y({props:t,name:"MuiFormControl"}),{children:n,className:a,color:i="primary",component:l="div",disabled:s=!1,error:u=!1,focused:p,fullWidth:f=!1,hiddenLabel:d=!1,margin:c="none",required:T=!1,size:v="medium",variant:x="outlined",...m}=r,h={...r,color:i,component:l,disabled:s,error:u,fullWidth:f,hiddenLabel:d,margin:c,required:T,size:v,variant:x},g=q_(h),[b,E]=Lt.useState(()=>{let B=!1;return n&&Lt.Children.forEach(n,U=>{if(!jf(U,["Input","Select"]))return;let V=jf(U,["Select"])?U.props.input:U;V&&bE(V.props)&&(B=!0)}),B}),[S,C]=Lt.useState(()=>{let B=!1;return n&&Lt.Children.forEach(n,U=>{jf(U,["Input","Select"])&&(ja(U.props,!0)||ja(U.props.inputProps,!0))&&(B=!0)}),B}),[O,N]=Lt.useState(!1);s&&O&&N(!1);let _=p!==void 0&&!s?p:O,M,y=Lt.useRef(!1),w=Lt.useCallback(()=>{C(!0)},[]),P=Lt.useCallback(()=>{C(!1)},[]),A=Lt.useMemo(()=>({adornedStart:b,setAdornedStart:E,color:i,disabled:s,error:u,filled:S,focused:_,fullWidth:f,hiddenLabel:d,size:v,onBlur:()=>{N(!1)},onFocus:()=>{N(!0)},onEmpty:P,onFilled:w,registerEffect:M,required:T,variant:x}),[b,i,s,u,S,_,f,d,M,P,w,T,v,x]);return(0,Ig.jsx)(Nl.Provider,{value:A,children:(0,Ig.jsx)(G_,{as:l,ownerState:h,className:H(g.root,a),ref:o,...m,children:n})})}),Fg=$_;var XE=R(k(),1);function YE(e){return F("MuiFormHelperText",e)}var Y_=q("MuiFormHelperText",["root","error","disabled","sizeSmall","sizeMedium","contained","focused","filled","required"]),qg=Y_;var Gg=R(L(),1),KE,K_=e=>{let{classes:t,contained:o,size:r,disabled:n,error:a,filled:i,focused:l,required:s}=e,u={root:["root",n&&"disabled",a&&"error",r&&`size${re(r)}`,o&&"contained",l&&"focused",i&&"filled",s&&"required"]};return G(u,YE,t)},X_=j("p",{name:"MuiFormHelperText",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[t.root,o.size&&t[`size${re(o.size)}`],o.contained&&t.contained,o.filled&&t.filled]}})(le(({theme:e})=>({color:(e.vars||e).palette.text.secondary,...e.typography.caption,textAlign:"left",marginTop:3,marginRight:0,marginBottom:0,marginLeft:0,[`&.${qg.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${qg.error}`]:{color:(e.vars||e).palette.error.main},variants:[{props:{size:"small"},style:{marginTop:4}},{props:({ownerState:t})=>t.contained,style:{marginLeft:14,marginRight:14}}]}))),Q_=XE.forwardRef(function(t,o){let r=Y({props:t,name:"MuiFormHelperText"}),{children:n,className:a,component:i="p",disabled:l,error:s,filled:u,focused:p,margin:f,required:d,variant:c,...T}=r,v=Oo(),x=Ro({props:r,muiFormControl:v,states:["variant","size","disabled","error","filled","focused","required"]}),m={...r,component:i,contained:x.variant==="filled"||x.variant==="outlined",variant:x.variant,size:x.size,disabled:x.disabled,error:x.error,filled:x.filled,focused:x.focused,required:x.required};delete m.ownerState;let h=K_(m);return(0,Gg.jsx)(X_,{as:i,className:H(h.root,a),ref:o,...T,ownerState:m,children:n===" "?KE||(KE=(0,Gg.jsx)("span",{className:"notranslate","aria-hidden":!0,children:"\u200B"})):n})}),$g=Q_;var ZE=R(k(),1);function QE(e){return F("MuiFormLabel",e)}var Z_=q("MuiFormLabel",["root","colorSecondary","focused","disabled","error","filled","required","asterisk"]),Yn=Z_;var Yg=R(L(),1),W_=e=>{let{classes:t,color:o,focused:r,disabled:n,error:a,filled:i,required:l}=e,s={root:["root",`color${re(o)}`,n&&"disabled",a&&"error",i&&"filled",r&&"focused",l&&"required"],asterisk:["asterisk",a&&"error"]};return G(s,QE,t)},J_=j("label",{name:"MuiFormLabel",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[t.root,o.color==="secondary"&&t.colorSecondary,o.filled&&t.filled]}})(le(({theme:e})=>({color:(e.vars||e).palette.text.secondary,...e.typography.body1,lineHeight:"1.4375em",padding:0,position:"relative",variants:[...Object.entries(e.palette).filter(Qt()).map(([t])=>({props:{color:t},style:{[`&.${Yn.focused}`]:{color:(e.vars||e).palette[t].main}}})),{props:{},style:{[`&.${Yn.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${Yn.error}`]:{color:(e.vars||e).palette.error.main}}}]}))),eD=j("span",{name:"MuiFormLabel",slot:"Asterisk"})(le(({theme:e})=>({[`&.${Yn.error}`]:{color:(e.vars||e).palette.error.main}}))),tD=ZE.forwardRef(function(t,o){let r=Y({props:t,name:"MuiFormLabel"}),{children:n,className:a,color:i,component:l="label",disabled:s,error:u,filled:p,focused:f,required:d,...c}=r,T=Oo(),v=Ro({props:r,muiFormControl:T,states:["color","required","focused","disabled","error","filled"]}),x={...r,color:v.color||"primary",component:l,disabled:v.disabled,error:v.error,filled:v.filled,focused:v.focused,required:v.required},m=W_(x);return(0,Yg.jsxs)(J_,{as:l,ownerState:x,className:H(m.root,a),ref:o,...c,children:[n,v.required&&(0,Yg.jsxs)(eD,{ownerState:x,"aria-hidden":!0,className:m.asterisk,children:["\u2009","*"]})]})}),Kg=tD;var Ga=R(k(),1);var WE=R(L(),1);function ku(e){return`scale(${e}, ${e**2})`}var oD={entering:{opacity:1,transform:ku(1)},entered:{opacity:1,transform:"none"},exiting:{opacity:0,transform:ku(.75)},exited:{opacity:0,transform:ku(.75)}},rD={opacity:0,transform:ku(.75),visibility:"hidden"},Xg=Ga.forwardRef(function(t,o){let{addEndListener:r,appear:n=!0,children:a,easing:i,in:l,onEnter:s,onEntered:u,onEntering:p,onExit:f,onExited:d,onExiting:c,style:T,timeout:v="auto",...x}=t,m=Rl(),h=Ga.useRef(),g=jn(),b=Ga.useRef(null),E=Xt(b,Yo(a),o),S=io(b,p),C=io(b,(w,P)=>{Gf(w);let{duration:A,delay:B,easing:U}=Ol({style:T,timeout:v,easing:i},{mode:"enter"}),V;v==="auto"?(V=g.transitions.getAutoHeightDuration(w.clientHeight),h.current=V):V=A,w.style.transition=[g.transitions.create("opacity",{duration:V,delay:B}),g.transitions.create("transform",{duration:V*.666,delay:B,easing:U})].join(","),s&&s(w,P)}),O=io(b,u),N=io(b,c),_=io(b,w=>{let{duration:P,delay:A,easing:B}=Ol({style:T,timeout:v,easing:i},{mode:"exit"}),U;v==="auto"?(U=g.transitions.getAutoHeightDuration(w.clientHeight),h.current=U):U=P,w.style.transition=[g.transitions.create("opacity",{duration:U,delay:A}),g.transitions.create("transform",{duration:U*.666,delay:A||U*.333,easing:B})].join(","),w.style.opacity=0,w.style.transform=ku(.75),f&&f(w)}),M=io(b,w=>{w.style.transition="",d&&d(w)});return(0,WE.jsx)(Eu,{appear:n,in:l,nodeRef:b,onEnter:C,onEntered:O,onEntering:S,onExit:_,onExited:M,onExiting:N,addEndListener:w=>{v==="auto"&&m.start(h.current||0,w),r&&r(b.current,w)},timeout:v==="auto"?null:v,...x,children:(w,{ownerState:P,...A})=>{let B=$f(w,l,oD,rD,T,a.props.style);return Ga.cloneElement(a,{style:B,ref:E,...A})}})});Xg&&(Xg.muiSupportAuto=!0);var Qg=Xg;var tP=R(k(),1);function JE(e){return F("MuiInputLabel",e)}var nD=q("MuiInputLabel",["root","focused","disabled","error","required","asterisk","formControl","sizeSmall","shrink","animated","standard","filled","outlined"]),eP=nD;var oP=R(L(),1),aD=e=>{let{classes:t,disableUnderline:o}=e,n=G({root:["root",!o&&"underline"],input:["input"]},SE,t);return{...t,...n}},iD=j(Ia,{shouldForwardProp:e=>ot(e)||e==="classes",name:"MuiInput",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[...Ha(e,t),!o.disableUnderline&&t.underline]}})(le(({theme:e})=>{let o=e.palette.mode==="light"?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)";return e.vars&&(o=e.alpha(e.vars.palette.common.onBackground,e.vars.opacity.inputUnderline)),{position:"relative",variants:[{props:({ownerState:r})=>r.formControl,style:{[`label + &, .${eP.root} + &`]:{marginTop:16}}},{props:({ownerState:r})=>!r.disableUnderline,style:{"&::after":{left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${wl.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${wl.error}`]:{"&::before, &::after":{borderBottomColor:(e.vars||e).palette.error.main}},"&::before":{borderBottom:`1px solid ${o}`,left:0,bottom:0,content:'""',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${wl.disabled}, .${wl.error}):before`]:{borderBottom:`2px solid ${(e.vars||e).palette.text.primary}`,"@media (hover: none)":{borderBottom:`1px solid ${o}`}},[`&.${wl.disabled}:before`]:{borderBottomStyle:"dotted"}}},...Object.entries(e.palette).filter(Qt()).map(([r])=>({props:{color:r,disableUnderline:!1},style:{"&::after":{borderBottom:`2px solid ${(e.vars||e).palette[r].main}`}}}))]}})),lD=j(Fa,{name:"MuiInput",slot:"Input",overridesResolver:Va})({}),rP=tP.forwardRef(function(t,o){let r=Y({props:t,name:"MuiInput"}),{disableUnderline:n=!1,fullWidth:a=!1,inputComponent:i="input",multiline:l=!1,slotProps:s,slots:u={},type:p="text",...f}=r,d=aD(r),T={root:{ownerState:{disableUnderline:n}}},v=s?Te(s,T):T,x=u.root??iD,m=u.input??lD;return(0,oP.jsx)(qa,{slots:{root:x,input:m},slotProps:v,fullWidth:a,inputComponent:i,multiline:l,ref:o,type:p,...f,classes:d})});rP.muiName="Input";var Uu=rP;var nP=R(k(),1);var aP=R(L(),1),sD=e=>{let{classes:t,formControl:o,size:r,shrink:n,disableAnimation:a,variant:i,required:l}=e,s={root:["root",o&&"formControl",!a&&"animated",n&&"shrink",r&&r!=="medium"&&`size${re(r)}`,i],asterisk:[l&&"asterisk"]},u=G(s,JE,t);return{...t,...u}},uD=j(Kg,{shouldForwardProp:e=>ot(e)||e==="classes",name:"MuiInputLabel",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[{[`& .${Yn.asterisk}`]:t.asterisk},t.root,o.formControl&&t.formControl,o.size==="small"&&t.sizeSmall,o.shrink&&t.shrink,!o.disableAnimation&&t.animated,o.focused&&t.focused,t[o.variant]]}})(le(({theme:e})=>({display:"block",transformOrigin:"top left",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",maxWidth:"100%",variants:[{props:({ownerState:t})=>t.formControl,style:{position:"absolute",left:0,top:0,transform:"translate(0, 20px) scale(1)"}},{props:{size:"small"},style:{transform:"translate(0, 17px) scale(1)"}},{props:({ownerState:t})=>t.shrink,style:{transform:"translate(0, -1.5px) scale(0.75)",transformOrigin:"top left",maxWidth:"133%"}},{props:({ownerState:t})=>!t.disableAnimation,style:{transition:e.transitions.create(["color","transform","max-width"],{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut})}},{props:{variant:"filled"},style:{zIndex:1,pointerEvents:"none",transform:"translate(12px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"}},{props:{variant:"filled",size:"small"},style:{transform:"translate(12px, 13px) scale(1)"}},{props:({variant:t,ownerState:o})=>t==="filled"&&o.shrink,style:{userSelect:"none",pointerEvents:"auto",transform:"translate(12px, 7px) scale(0.75)",maxWidth:"calc(133% - 24px)"}},{props:({variant:t,ownerState:o,size:r})=>t==="filled"&&o.shrink&&r==="small",style:{transform:"translate(12px, 4px) scale(0.75)"}},{props:{variant:"outlined"},style:{zIndex:1,pointerEvents:"none",transform:"translate(14px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"}},{props:{variant:"outlined",size:"small"},style:{transform:"translate(14px, 9px) scale(1)"}},{props:({variant:t,ownerState:o})=>t==="outlined"&&o.shrink,style:{userSelect:"none",pointerEvents:"auto",maxWidth:"calc(133% - 32px)",transform:"translate(14px, -9px) scale(0.75)"}}]}))),cD=nP.forwardRef(function(t,o){let r=Y({name:"MuiInputLabel",props:t}),{disableAnimation:n=!1,margin:a,shrink:i,variant:l,className:s,...u}=r,p=Oo(),f=i;typeof f>"u"&&p&&(f=p.filled||p.focused||p.adornedStart);let d=Ro({props:r,muiFormControl:p,states:["size","variant","required","focused"]}),c={...r,disableAnimation:n,formControl:p,shrink:f,size:d.size,variant:d.variant,required:d.required,focused:d.focused},T=sD(c);return(0,aP.jsx)(uD,{"data-shrink":f,ref:o,className:H(T.root,s),...u,ownerState:c,classes:T})}),Zg=cD;var ad=R(k(),1);var iP=R(k(),1),pD=iP.createContext({}),lP=pD;function sP(e){return F("MuiList",e)}var dY=q("MuiList",["root","padding","dense","subheader"]);var id=R(L(),1),fD=e=>{let{classes:t,disablePadding:o,dense:r,subheader:n}=e;return G({root:["root",!o&&"padding",r&&"dense",n&&"subheader"]},sP,t)},dD=j("ul",{name:"MuiList",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[t.root,!o.disablePadding&&t.padding,o.dense&&t.dense,o.subheader&&t.subheader]}})({listStyle:"none",margin:0,padding:0,position:"relative",variants:[{props:({ownerState:e})=>!e.disablePadding,style:{paddingTop:8,paddingBottom:8}},{props:({ownerState:e})=>e.subheader,style:{paddingTop:0}}]}),mD=ad.forwardRef(function(t,o){let r=Y({props:t,name:"MuiList"}),{children:n,className:a,component:i="ul",dense:l=!1,disablePadding:s=!1,subheader:u,...p}=r,f=ad.useMemo(()=>({dense:l}),[l]),d={...r,component:i,dense:l,disablePadding:s},c=fD(d);return(0,id.jsx)(lP.Provider,{value:f,children:(0,id.jsxs)(dD,{as:i,className:H(c.root,a),ref:o,ownerState:d,...p,children:[u,n]})})}),Wg=mD;var yd=R(k(),1);var lo=R(k(),1);var Jg=R(k(),1),eb=Jg.createContext(void 0);var vt=R(k(),1);var yD=Object.is;function ld(e,t){if(e===t)return!0;if(!(e instanceof Object)||!(t instanceof Object))return!1;let o=0,r=0;for(let n in e)if(o+=1,!yD(e[n],t[n])||!(n in t))return!1;for(let n in t)r+=1;return o===r}var hD=["ArrowRight","ArrowLeft","ArrowUp","ArrowDown","Home","End"];function rb(e){let{activeItemId:t,getDefaultActiveItemId:o,orientation:r,isRtl:n=!1,isItemFocusable:a=kl,wrap:i=!0}=e,[l,s]=vt.useState(t),u=vt.useRef(t),p=l;t!==u.current&&(u.current=t,t!==void 0&&t!==l&&(p=t,s(t)));let f=vt.useRef(null),d=vt.useRef(new Map),[c,T]=vt.useState(0),v=vt.useMemo(()=>tb(d.current),[c]),x=uP(p,v,a,o),m=vt.useRef(x);m.current=x;let h=vt.useCallback(()=>{let M=tb(d.current),y=uP(m.current,M,a,o);return mP(M,y)},[o,a]),g=vt.useCallback(()=>d.current,[]),b=Go(M=>{let y=d.current.get(M.id);ld(y??null,M)||(d.current.set(M.id,M),T(w=>w+1))}),E=Go(M=>{d.current.delete(M)&&T(y=>y+1)}),S=Go(M=>{s(M)}),C=vt.useCallback(M=>m.current===M,[]),O=vt.useCallback((M,y,w,P)=>{let A=sd(d.current),B=fP(A,M,y,w,P??a);return B?(B.element?.focus(),s(B.id),B):null},[a]),N=vt.useCallback(M=>({onFocus:P=>{let A=sd(d.current),B=hP(A,P.target);B!==-1&&s(A[B].id)},onKeyDown:P=>{if(P.altKey||P.shiftKey||P.ctrlKey||P.metaKey||!hD.includes(P.key))return;let A=r==="horizontal"?"ArrowLeft":"ArrowUp",B=r==="horizontal"?"ArrowRight":"ArrowDown";r==="horizontal"&&n&&(A="ArrowRight",B="ArrowLeft");let U=sd(d.current),V=_a(Tt(f.current)),ye=V===f.current,se=cP(U,V,m.current),K="next";switch(P.key){case A:K="previous",P.preventDefault(),ye&&(se=U.length);break;case B:P.preventDefault(),ye&&(se=-1);break;case"Home":P.preventDefault(),se=-1;break;case"End":P.preventDefault(),K="previous",se=U.length;break;default:return}O(se,K,i)},ref:vD(M,P=>{f.current=P})}),[O,n,r,i]),_=vt.useCallback(M=>{let y=sd(d.current),w=_a(Tt(f.current)),A=w===f.current?-1:cP(y,w,m.current);return O(A,"next",!0,M)?.id??null},[O]);return vt.useMemo(()=>({activeItemId:x,focusNext:_,getActiveItem:h,getContainerProps:N,getItemMap:g,isItemActive:C,registerItem:b,setActiveItemId:S,unregisterItem:E}),[x,_,h,N,g,C,b,S,E])}function uP(e,t,o,r){return e!=null?gD(e,t,o):bD(t,o,r)}function gD(e,t,o){let r=yP(t,e);return r===-1?dP(t,o):o(t[r])?t[r].id:fP(t,r,"next",!1,o)?.id??null}function bD(e,t,o){let r=o?.(e);if(r!=null){let n=mP(e,r);if(n&&t(n))return n.id}return dP(e,t)}function cP(e,t,o){if(t){let r=hP(e,t);if(r!==-1)return r}return yP(e,o)}function fP(e,t,o,r,n){let a=e.length-1;if(a===-1)return null;let i=!1,l=pP(t,a,o,r),s=l;for(;l!==-1;){if(l===s){if(i)return null;i=!0}let u=e[l];if(!u||!n(u))l=pP(l,a,o,r);else return u}return null}function dP(e,t){return e.find(o=>t(o))?.id??null}function mP(e,t){return t==null?null:e.find(o=>o.id===t)??null}function yP(e,t){return t==null?-1:e.findIndex(o=>o.id===t)}function hP(e,t){return t?e.findIndex(o=>o.element===t||o.element?.contains(t)):-1}function tb(e){let t=Array.from(e.values());if(t.every(n=>n.element==null))return t;let o=t.filter(ob).sort((n,a)=>TD(n.element,a.element)),r=t.filter(n=>!ob(n));return[...o,...r]}function sd(e){return tb(e).filter(ob)}function pP(e,t,o,r=!0){return o==="next"?e===t?r?0:-1:e+1:e===0?r?t:-1:e-1}function kl(e){return e.element?e.focusableWhenDisabled?!0:!e.disabled&&!e.element.hasAttribute("disabled")&&e.element.getAttribute("aria-disabled")!=="true"&&e.element.hasAttribute("tabindex"):!1}function ob(e){return e.element!=null&&e.element.isConnected}function TD(e,t){if(e===t)return 0;let o=e.compareDocumentPosition(t);return o&Node.DOCUMENT_POSITION_FOLLOWING||o&Node.DOCUMENT_POSITION_CONTAINED_BY?-1:o&Node.DOCUMENT_POSITION_PRECEDING||o&Node.DOCUMENT_POSITION_CONTAINS?1:0}function vD(...e){return t=>{e.forEach(o=>{Da(o??null,t)})}}var gP=Dl;function nb(e,t){if(t==null){e.focus();return}try{e.focus({focusVisible:t==="keyboard"})}catch{e.focus()}}function ud(e){return e?e.type==="mousedown"||e.type==="pointerdown"||e.type==="touchstart"?"pointer":e.type==="keydown"||e.type==="click"&&e.detail===0?"keyboard":null:null}function cd(e){return e==null||typeof e=="string"&&!e.trim()}function ju(e,t){return typeof t=="object"&&t!==null?e===t:String(e)===String(t)}var pd=R(k(),1),bP=pd.createContext(null);function ab(){return pd.useContext(bP)}var ib=bP.Provider;var lb=R(k(),1),TP=lb.createContext(void 0);var fd=R(L(),1);function xD(e){let t=e?.element??e;if(!t)return"";if(e?.textValue!==void 0)return e.textValue;let o=t.innerText;return o===void 0&&(o=t.textContent),o??""}function vP(e,t){if(t===void 0)return!0;let o=xD(e);return o=o.trim().toLowerCase(),o.length===0?!1:t.repeating?o[0]===t.keys[0]:o.startsWith(t.keys.join(""))}function SD(e,t){return vP(e,t)?kl(e):!1}function CD(e,t){nb(e,t)}var ED=lo.forwardRef(function(t,o){let{actions:r,autoFocus:n=!1,autoFocusItem:a=!1,children:i,className:l,disabledItemsFocusable:s=!1,disableListWrap:u=!1,onKeyDown:p,variant:f="selectedMenu",...d}=t,c=lo.useRef(null),T=lo.useRef(!1),[v,x]=lo.useState(!1),m=ab(),h=lo.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null}),g=lo.useCallback(A=>f==="selectedMenu"?A.find(B=>B.selected&&kl(B))?.id??A.find(B=>kl(B))?.id??null:A.find(B=>kl(B))?.id??null,[f]),b=rb({activeItemId:void 0,getDefaultActiveItemId:g,orientation:"vertical",wrap:!u}),{activeItemId:E,focusNext:S,getActiveItem:C,getContainerProps:O,getItemMap:N}=b,_=Vn((A=!1)=>{if(!c.current||!A&&T.current)return null;if(a){let B=C();if(B?.element){let U=Array.from(N().values()).some(ye=>ye.selected),V=f==="menu"&&U&&!B.selected&&m==null;return x(V),CD(B.element,m),T.current=!0,B.element}return n?(x(!1),c.current.focus(),c.current):null}return n?(x(!1),c.current.focus(),T.current=!0,c.current):(x(!1),null)});Lf(()=>{if(!n&&!a){T.current=!1,x(!1);return}_()},[E,a,n,_]),lo.useImperativeHandle(r,()=>({adjustStyleForScrollbar:(A,{direction:B})=>{let U=!c.current.style.width;if(A.clientHeight<c.current.clientHeight&&U){let V=`${gP(vu(A))}px`;c.current.style[B==="rtl"?"paddingLeft":"paddingRight"]=V,c.current.style.width=`calc(100% + ${V})`}return c.current},focusInitialTarget:()=>{if(!c.current)return null;let A=Ln(Hn(c.current));return A&&c.current.contains(A)?A:_(!0)}}),[_]);let M=O(),y=Xt(c,M.ref,o),w=lo.useMemo(()=>({itemsFocusableWhenDisabled:s,suppressInitialFocusVisible:v,variant:f}),[s,v,f]),P=Vn(A=>{if(v&&x(!1),(A.ctrlKey||A.metaKey||A.altKey)&&p){p(A);return}if(M.onKeyDown(A),A.key.length===1){let U=h.current,V=A.key.toLowerCase(),ye=performance.now();U.keys.length>0&&(ye-U.lastTime>500?(U.keys=[],U.repeating=!0,U.previousKeyMatched=!0):U.repeating&&V!==U.keys[0]&&(U.repeating=!1)),U.lastTime=ye,U.keys.push(V);let se=Ln(Hn(c.current)),K=se&&!U.repeating&&vP(se,U);U.previousKeyMatched&&(K||S(ce=>SD(ce,U))!=null)?A.preventDefault():U.previousKeyMatched=!1}p&&p(A)});return(0,fd.jsx)(Wg,{role:"menu",ref:y,className:l,onKeyDown:P,onFocus:M.onFocus,tabIndex:-1,...d,children:(0,fd.jsx)(TP.Provider,{value:w,children:(0,fd.jsx)(eb.Provider,{value:b,children:i})})})}),sb=ED;var zt=R(k(),1);function xP(e){return F("MuiPopover",e)}var hK=q("MuiPopover",["root","paper"]);var md=R(L(),1);function SP(e,t){let o=0;return typeof t=="number"?o=t:t==="center"?o=e.height/2:t==="bottom"&&(o=e.height),o}function CP(e,t){let o=0;return typeof t=="number"?o=t:t==="center"?o=e.width/2:t==="right"&&(o=e.width),o}function EP(e){return[e.horizontal,e.vertical].map(t=>typeof t=="number"?`${t}px`:t).join(" ")}function dd(e){return typeof e=="function"?e():e}var PD=e=>{let{classes:t}=e;return G({root:["root"],paper:["paper"]},xP,t)},RD=j(Vg,{name:"MuiPopover",slot:"Root"})({}),ub=j(Ml,{name:"MuiPopover",slot:"Paper"})({position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}),OD=zt.forwardRef(function(t,o){let r=Y({props:t,name:"MuiPopover"}),{action:n,anchorEl:a,anchorOrigin:i={vertical:"top",horizontal:"left"},anchorPosition:l,anchorReference:s="anchorEl",children:u,className:p,container:f,disableAutoFocus:d=!1,elevation:c=8,marginThreshold:T=16,open:v,slots:x={},slotProps:m={},transformOrigin:h={vertical:"top",horizontal:"left"},transitionDuration:g="auto",disableScrollLock:b=!1,...E}=r,S=zt.useRef(),C={...r,anchorOrigin:i,anchorReference:s,elevation:c,marginThreshold:T,transformOrigin:h,transitionDuration:g},O=PD(C),N=zt.useCallback(()=>{if(s==="anchorPosition")return l;let W=dd(a),he=(W&&W.nodeType===1?W:Hn(S.current).body).getBoundingClientRect();return{top:he.top+SP(he,i.vertical),left:he.left+CP(he,i.horizontal)}},[a,i.horizontal,i.vertical,l,s]),_=zt.useCallback(W=>({vertical:SP(W,h.vertical),horizontal:CP(W,h.horizontal)}),[h.horizontal,h.vertical]),M=zt.useCallback(W=>{let J={width:W.offsetWidth,height:W.offsetHeight},he=_(J);if(s==="none")return{top:null,left:null,transformOrigin:EP(he)};let xt=N(),ae=xt.top-he.vertical,Pe=xt.left-he.horizontal,st=ae+J.height,Ht=Pe+J.width,qe=vu(dd(a)),ut=qe.innerHeight-T,St=qe.innerWidth-T;if(T!=null&&ae<T){let fe=ae-T;ae-=fe,he.vertical+=fe}else if(T!=null&&st>ut){let fe=st-ut;ae-=fe,he.vertical+=fe}if(T!=null&&Pe<T){let fe=Pe-T;Pe-=fe,he.horizontal+=fe}else if(Ht>St){let fe=Ht-St;Pe-=fe,he.horizontal+=fe}return{top:`${Math.round(ae)}px`,left:`${Math.round(Pe)}px`,transformOrigin:EP(he)}},[a,s,N,_,T]),[y,w]=zt.useState(v),P=zt.useCallback(()=>{let W=S.current;if(!W)return;let J=M(W);J.top!=null&&W.style.setProperty("top",J.top),J.left!=null&&(W.style.left=J.left),W.style.transformOrigin=J.transformOrigin,w(!0)},[M]);zt.useEffect(()=>(b&&window.addEventListener("scroll",P),()=>window.removeEventListener("scroll",P)),[a,b,P]);let A=()=>{P()},B=()=>{w(!1)};zt.useEffect(()=>{v&&P()}),zt.useImperativeHandle(n,()=>v?{updatePosition:()=>{P()}}:null,[v,P]),zt.useEffect(()=>{if(!v)return;let W=FC(()=>{P()}),J=vu(dd(a));return J.addEventListener("resize",W),()=>{W.clear(),J.removeEventListener("resize",W)}},[a,v,P]);let U=g,V={slots:x,slotProps:m},[ye,se]=Ke("transition",{elementType:Qg,externalForwardedProps:V,ownerState:C,getSlotProps:W=>({...W,onEntering:(J,he)=>{W.onEntering?.(J,he),A()},onExited:J=>{W.onExited?.(J),B()}}),additionalProps:{appear:!0,in:v}});g==="auto"&&!ye.muiSupportAuto&&(U=void 0);let K=f||(a?Hn(dd(a)).body:void 0),[ce,{slots:We,slotProps:De,...He}]=Ke("root",{ref:o,elementType:RD,externalForwardedProps:{...V,...E},shouldForwardComponentProp:!0,additionalProps:{slots:{backdrop:x.backdrop},slotProps:{backdrop:gg(typeof m.backdrop=="function"?m.backdrop(C):m.backdrop,{invisible:!0})},container:K,open:v},ownerState:C,className:H(O.root,p)}),[ze,X]=Ke("paper",{ref:S,className:O.paper,elementType:ub,externalForwardedProps:V,shouldForwardComponentProp:!0,additionalProps:{elevation:c,style:y?void 0:{opacity:0}},ownerState:C});return(0,md.jsx)(ce,{...He,...!In(ce)&&{slots:We,slotProps:De,disableAutoFocus:d,disableScrollLock:b},children:(0,md.jsx)(ye,{...se,timeout:U,children:(0,md.jsx)(ze,{...X,children:u})})})}),cb=OD;function PP(e){return F("MuiMenu",e)}var LK=q("MuiMenu",["root","paper","list"]);var pb=R(L(),1),MD={vertical:"top",horizontal:"right"},AD={vertical:"top",horizontal:"left"},ND=e=>{let{classes:t}=e;return G({root:["root"],paper:["paper"],list:["list"]},PP,t)},wD=j(cb,{shouldForwardProp:e=>ot(e)||e==="classes",name:"MuiMenu",slot:"Root"})({}),_D=j(ub,{name:"MuiMenu",slot:"Paper"})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),DD=j(sb,{name:"MuiMenu",slot:"List"})({outline:0}),zD=yd.forwardRef(function(t,o){let r=Y({props:t,name:"MuiMenu"}),{autoFocus:n=!0,children:a,className:i,disableAutoFocusItem:l=!1,onClose:s,open:u,PopoverClasses:p,transitionDuration:f="auto",variant:d="selectedMenu",slots:c={},slotProps:T={},...v}=r,x=rC(),m={...r,autoFocus:n,disableAutoFocusItem:l,transitionDuration:f,variant:d},h=ND(m),g=n&&u,b=g&&!l,E=yd.useRef(null),S=(A,B)=>{E.current&&(E.current.adjustStyleForScrollbar(A,{direction:x?"rtl":"ltr"}),g&&E.current.focusInitialTarget?.())},C=A=>{A.key==="Tab"&&(A.preventDefault(),s&&s(A,"tabKeyDown"))},O={slots:c,slotProps:T},N=Dg({elementType:c.root,externalSlotProps:T.root,ownerState:m,className:[h.root,i]}),[_,M]=Ke("paper",{className:h.paper,elementType:_D,externalForwardedProps:O,shouldForwardComponentProp:!0,ownerState:m}),[y,w]=Ke("list",{className:h.list,elementType:DD,shouldForwardComponentProp:!0,externalForwardedProps:O,getSlotProps:A=>({...A,onKeyDown:B=>{C(B),A.onKeyDown?.(B)}}),ownerState:m}),P=typeof T.transition=="function"?T.transition(m):T.transition;return(0,pb.jsx)(wD,{disableAutoFocus:n,onClose:s,anchorOrigin:{vertical:"bottom",horizontal:x?"right":"left"},transformOrigin:x?MD:AD,slots:{root:c.root,paper:_,backdrop:c.backdrop,transition:c.transition},slotProps:{root:N,paper:M,backdrop:typeof T.backdrop=="function"?T.backdrop(m):T.backdrop,transition:{...P,onEntering:(...A)=>{S(...A),P?.onEntering?.(...A)}}},open:u,ref:o,transitionDuration:f,ownerState:m,...v,classes:p,children:(0,pb.jsx)(y,{actions:E,autoFocus:g,autoFocusItem:b,variant:d,...w,children:a})})}),RP=zD;var gd=R(k(),1);function OP(e){return F("MuiNativeSelect",e)}var BD=q("MuiNativeSelect",["root","select","multiple","filled","outlined","standard","disabled","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]),hd=BD;var Lu=R(L(),1),kD=e=>{let{classes:t,variant:o,disabled:r,multiple:n,open:a,error:i}=e,l={select:["select",o,r&&"disabled",n&&"multiple",i&&"error"],icon:["icon",`icon${re(o)}`,a&&"iconOpen",r&&"disabled"]};return G(l,OP,t)},fb=j("select",{name:"MuiNativeSelect"})(({theme:e})=>({MozAppearance:"none",WebkitAppearance:"none",userSelect:"none",borderRadius:0,cursor:"pointer","&:focus":{borderRadius:0},[`&.${hd.disabled}`]:{cursor:"default"},"&[multiple]":{height:"auto"},"&:not([multiple]) option, &:not([multiple]) optgroup":{backgroundColor:(e.vars||e).palette.background.paper},variants:[{props:({ownerState:t})=>t.variant!=="filled"&&t.variant!=="outlined",style:{"&&&":{paddingRight:24,minWidth:16}}},{props:{variant:"filled"},style:{"&&&":{paddingRight:32}}},{props:{variant:"outlined"},style:{borderRadius:(e.vars||e).shape.borderRadius,"&:focus":{borderRadius:(e.vars||e).shape.borderRadius},"&&&":{paddingRight:32}}}]})),UD=j(fb,{name:"MuiNativeSelect",slot:"Select",shouldForwardProp:ot,overridesResolver:(e,t)=>{let{ownerState:o}=e;return[t.select,t[o.variant],o.error&&t.error,{[`&.${hd.multiple}`]:t.multiple}]}})({}),db=j("svg",{name:"MuiNativeSelect"})(({theme:e})=>({position:"absolute",right:0,top:"calc(50% - .5em)",pointerEvents:"none",color:(e.vars||e).palette.action.active,[`&.${hd.disabled}`]:{color:(e.vars||e).palette.action.disabled},variants:[{props:({ownerState:t})=>t.open,style:{transform:"rotate(180deg)"}},{props:{variant:"filled"},style:{right:7}},{props:{variant:"outlined"},style:{right:7}}]})),jD=j(db,{name:"MuiNativeSelect",slot:"Icon",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[t.icon,o.variant&&t[`icon${re(o.variant)}`],o.open&&t.iconOpen]}})({}),LD=gd.forwardRef(function(t,o){let{className:r,disabled:n,error:a,IconComponent:i,inputRef:l,variant:s="standard",...u}=t,p={...t,disabled:n,variant:s,error:a},f=kD(p);return(0,Lu.jsxs)(gd.Fragment,{children:[(0,Lu.jsx)(UD,{ownerState:p,className:H(f.select,r),disabled:n,ref:l||o,...u}),t.multiple?null:(0,Lu.jsx)(jD,{as:i,ownerState:p,className:f.icon})]})}),MP=LD;var bd=R(k(),1);var Hu=R(L(),1),AP,HD=j("fieldset",{name:"MuiNotchedOutlined",shouldForwardProp:ot})({textAlign:"left",position:"absolute",bottom:0,right:0,top:-5,left:0,margin:0,padding:"0 8px",pointerEvents:"none",borderRadius:"inherit",borderStyle:"solid",borderWidth:1,overflow:"hidden",minWidth:"0%"}),VD=j("legend",{name:"MuiNotchedOutlined",shouldForwardProp:ot})(le(({theme:e})=>({float:"unset",width:"auto",overflow:"hidden",variants:[{props:({ownerState:t})=>!t.withLabel,style:{padding:0,lineHeight:"11px",transition:e.transitions.create("width",{duration:150,easing:e.transitions.easing.easeOut})}},{props:({ownerState:t})=>t.withLabel,style:{display:"block",padding:0,height:11,fontSize:"0.75em",visibility:"hidden",maxWidth:.01,transition:e.transitions.create("max-width",{duration:50,easing:e.transitions.easing.easeOut}),whiteSpace:"nowrap","& > span":{paddingLeft:5,paddingRight:5,display:"inline-block",opacity:0,visibility:"visible"}}},{props:({ownerState:t})=>t.withLabel&&t.notched,style:{maxWidth:"100%",transition:e.transitions.create("max-width",{duration:100,easing:e.transitions.easing.easeOut,delay:50})}}]})));function mb(e){let{children:t,classes:o,className:r,label:n,notched:a,...i}=e,l=n!=null&&n!=="",s={...e,notched:a,withLabel:l};return(0,Hu.jsx)(HD,{"aria-hidden":!0,className:r,ownerState:s,...i,children:(0,Hu.jsx)(VD,{ownerState:s,children:l?(0,Hu.jsx)("span",{children:n}):AP||(AP=(0,Hu.jsx)("span",{className:"notranslate","aria-hidden":!0,children:"\u200B"}))})})}var Vu=R(L(),1),ID=e=>{let{classes:t}=e,r=G({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},CE,t);return{...t,...r}},FD=j(Ia,{shouldForwardProp:e=>ot(e)||e==="classes",name:"MuiOutlinedInput",slot:"Root",overridesResolver:Ha})(le(({theme:e})=>{let t=e.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{position:"relative",borderRadius:(e.vars||e).shape.borderRadius,[`&:hover .${nr.notchedOutline}`]:{borderColor:(e.vars||e).palette.text.primary},"@media (hover: none)":{[`&:hover .${nr.notchedOutline}`]:{borderColor:e.vars?e.alpha(e.vars.palette.common.onBackground,.23):t}},[`&.${nr.focused} .${nr.notchedOutline}`]:{borderWidth:2},variants:[...Object.entries(e.palette).filter(Qt()).map(([o])=>({props:{color:o},style:{[`&.${nr.focused} .${nr.notchedOutline}`]:{borderColor:(e.vars||e).palette[o].main}}})),{props:{},style:{[`&.${nr.error} .${nr.notchedOutline}`]:{borderColor:(e.vars||e).palette.error.main},[`&.${nr.disabled} .${nr.notchedOutline}`]:{borderColor:(e.vars||e).palette.action.disabled}}},{props:({ownerState:o})=>o.startAdornment,style:{paddingLeft:14}},{props:({ownerState:o})=>o.endAdornment,style:{paddingRight:14}},{props:({ownerState:o})=>o.multiline,style:{padding:"16.5px 14px"}},{props:({ownerState:o,size:r})=>o.multiline&&r==="small",style:{padding:"8.5px 14px"}}]}})),qD=j(mb,{name:"MuiOutlinedInput",slot:"NotchedOutline"})(le(({theme:e})=>{let t=e.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{borderColor:e.vars?e.alpha(e.vars.palette.common.onBackground,.23):t}})),GD=j(Fa,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:Va})(le(({theme:e})=>({padding:"16.5px 14px",...!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:e.palette.mode==="light"?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:e.palette.mode==="light"?null:"#fff",caretColor:e.palette.mode==="light"?null:"#fff",borderRadius:"inherit"}},...e.vars&&{"&:-webkit-autofill":{borderRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},variants:[{props:{size:"small"},style:{padding:"8.5px 14px"}},{props:({ownerState:t})=>t.multiline,style:{padding:0}},{props:({ownerState:t})=>t.startAdornment,style:{paddingLeft:0}},{props:({ownerState:t})=>t.endAdornment,style:{paddingRight:0}}]}))),NP=bd.forwardRef(function(t,o){let r=Y({props:t,name:"MuiOutlinedInput"}),{fullWidth:n=!1,inputComponent:a="input",label:i,multiline:l=!1,notched:s,slots:u={},slotProps:p={},type:f="text",...d}=r,c=ID(r),T=Oo(),v=Ro({props:r,muiFormControl:T,states:["color","disabled","error","focused","hiddenLabel","size","required"]}),x={...r,color:v.color||"primary",disabled:v.disabled,error:v.error,focused:v.focused,formControl:T,fullWidth:n,hiddenLabel:v.hiddenLabel,multiline:l,size:v.size,type:f},m=u.root??FD,h=u.input??GD,[g,b]=Ke("notchedOutline",{elementType:qD,className:c.notchedOutline,shouldForwardComponentProp:!0,ownerState:x,externalForwardedProps:{slots:u,slotProps:p},additionalProps:{label:i!=null&&i!==""&&v.required?(0,Vu.jsxs)(bd.Fragment,{children:[i,"\u2009","*"]}):i}});return(0,Vu.jsx)(qa,{slots:{root:m,input:h},slotProps:p,renderSuffix:E=>(0,Vu.jsx)(g,{...b,notched:typeof s<"u"?s:!!(E.startAdornment||E.filled||E.focused)}),fullWidth:n,inputComponent:a,multiline:l,ref:o,type:f,...d,classes:{...c,notchedOutline:null}})});NP.muiName="Input";var Iu=NP;var jl=R(k(),1);var we=R(k(),1);function Td(e){return F("MuiSelect",e)}var $D=q("MuiSelect",["root","select","multiple","filled","outlined","standard","disabled","focused","icon","iconOpen","nativeInput","error"]),Ul=$D;var tn=R(L(),1),wP,YD=j(fb,{name:"MuiSelect",slot:"Select",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[{[`&.${Ul.select}`]:t.select},{[`&.${Ul.select}`]:t[o.variant]},{[`&.${Ul.error}`]:t.error},{[`&.${Ul.multiple}`]:t.multiple}]}})({[`&.${Ul.select}`]:{height:"auto",minHeight:"1.4375em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}}),KD=j(db,{name:"MuiSelect",slot:"Icon",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[t.icon,o.open&&t.iconOpen]}})({}),XD=j("input",{shouldForwardProp:e=>_f(e)&&e!=="classes",name:"MuiSelect",slot:"NativeInput"})({bottom:0,left:0,position:"absolute",opacity:0,pointerEvents:"none",width:"100%",boxSizing:"border-box"}),QD=e=>{let{classes:t,variant:o,disabled:r,multiple:n,open:a,error:i}=e;return G({select:["select",o,r&&"disabled",n&&"multiple",i&&"error"],icon:["icon",a&&"iconOpen",r&&"disabled"],nativeInput:["nativeInput"]},Td,t)},ZD=we.forwardRef(function(t,o){let{"aria-describedby":r,"aria-label":n,autoFocus:a,autoWidth:i,children:l,className:s,defaultOpen:u,defaultValue:p,disabled:f,displayEmpty:d,error:c=!1,IconComponent:T,inputRef:v,labelId:x,MenuProps:m={},multiple:h,name:g,onBlur:b,onChange:E,onClose:S,onFocus:C,onKeyDown:O,onMouseDown:N,onOpen:_,open:M,readOnly:y,renderValue:w,required:P,SelectDisplayProps:A={},tabIndex:B,type:U,value:V,variant:ye="standard",...se}=t,[K,ce]=yg({controlled:V,default:p,name:"Select"}),[We,De]=yg({controlled:M,default:u,name:"Select"}),He=we.useRef(null),ze=we.useRef(null),[X,W]=we.useState(null),{current:J}=we.useRef(M!=null),[he,xt]=we.useState(),[ae,Pe]=we.useState(null),st=Xt(o,v),Ht=we.useCallback(I=>{ze.current=I,I&&W(I)},[]),qe=X?.parentNode;we.useImperativeHandle(st,()=>({focus:()=>{ze.current.focus()},node:He.current,value:K}),[K]);let ut=X!==null&&We;we.useEffect(()=>{if(!ut||!qe||i||typeof ResizeObserver>"u")return;let I=new ResizeObserver(()=>{xt(qe.clientWidth)});return I.observe(qe),()=>{I.disconnect()}},[ut,qe,i]),we.useEffect(()=>{u&&We&&X&&!J&&(xt(i?null:qe.clientWidth),ze.current.focus())},[X,i]),we.useEffect(()=>{a&&ze.current.focus()},[a]),we.useEffect(()=>{if(!x)return;let I=Hn(ze.current).getElementById(x);if(I){let be=()=>{getSelection().isCollapsed&&ze.current.focus()};return I.addEventListener("click",be),()=>{I.removeEventListener("click",be)}}},[x]);let St=(I,be)=>{I?(Pe(ud(be)),_&&_(be)):(Pe(null),S&&S(be)),J||(xt(i?null:qe.clientWidth),De(I))},fe=I=>{N?.(I),I.button===0&&(I.preventDefault(),ze.current.focus(),St(!0,I))},so=I=>{St(!1,I)},Mo=we.Children.toArray(l),ct=I=>{let be=Mo.find(Ct=>Ct.props.value===I.target.value);be!==void 0&&(ce(be.props.value),E&&E(I,be))},Kn=I=>be=>{let Ct;if(be.currentTarget.hasAttribute("tabindex")){if(h){Ct=Array.isArray(K)?K.slice():[];let Xa=K.indexOf(I.props.value);Xa===-1?Ct.push(I.props.value):Ct.splice(Xa,1)}else Ct=I.props.value;if(I.props.onClick&&I.props.onClick(be),K!==Ct&&(ce(Ct),E)){let Xa=be.nativeEvent||be,Ab=new Xa.constructor(Xa.type,Xa);Object.defineProperty(Ab,"target",{writable:!0,value:{value:Ct,name:g}}),E(Ab,I)}h||St(!1,be)}},ir=I=>{y||([" ","ArrowUp","ArrowDown","Enter"].includes(I.key)&&(I.preventDefault(),St(!0,I)),O?.(I))},Cr=I=>{!ut&&b&&(Object.defineProperty(I,"target",{writable:!0,value:{value:K,name:g}}),b(I))};delete se["aria-invalid"];let Be,ge,Xe=[],ee=!1,uo=!1;(ja({value:K})||d)&&(w?Be=w(K):ee=!0);let rn=Mo.map(I=>{if(!we.isValidElement(I))return null;let be;if(h){if(!Array.isArray(K))throw new Error(bt(2));be=K.some(Ct=>ju(Ct,I.props.value)),be&&ee&&Xe.push(I.props.children)}else be=ju(K,I.props.value),be&&ee&&(ge=I.props.children);return be&&(uo=!0),we.cloneElement(I,{"aria-selected":be?"true":"false",onClick:Kn(I),onKeyUp:Ct=>{Ct.key===" "&&Ct.preventDefault(),I.props.onKeyUp&&I.props.onKeyUp(Ct)},role:"option",selected:be,value:void 0,"data-value":I.props.value})});ee&&(h?Xe.length===0?Be=null:Be=Xe.reduce((I,be,Ct)=>(I.push(be),Ct<Xe.length-1&&I.push(", "),I),[]):Be=ge);let Vl=he;!i&&J&&X&&(Vl=qe.clientWidth);let Il;typeof B<"u"?Il=B:Il=f?null:0;let Ge=A.id||(g?`mui-component-select-${g}`:void 0),Ka={...t,variant:ye,value:K,open:ut,error:c},Ad=QD(Ka),Ob=typeof m.slotProps?.paper=="function"?m.slotProps.paper(Ka):m.slotProps?.paper,_R=typeof m.slotProps?.list=="function"?m.slotProps.list(Ka):m.slotProps?.list,Mb=tr(),DR=tr();return(0,tn.jsxs)(we.Fragment,{children:[(0,tn.jsx)(YD,{as:"div",ref:Ht,tabIndex:Il,role:"combobox","aria-controls":ut?Mb:void 0,"aria-disabled":f?"true":void 0,"aria-expanded":ut?"true":"false","aria-haspopup":"listbox","aria-label":n,"aria-labelledby":[x,Ge].filter(Boolean).join(" ")||void 0,"aria-describedby":r,"aria-required":P?"true":void 0,"aria-invalid":c?"true":void 0,onKeyDown:ir,onMouseDown:f||y?null:fe,onBlur:Cr,onFocus:C,...A,ownerState:Ka,className:H(A.className,Ad.select,s),id:Ge,children:cd(Be)?wP||(wP=(0,tn.jsx)("span",{className:"notranslate","aria-hidden":!0,children:"\u200B"})):Be}),(0,tn.jsx)(XD,{"aria-invalid":c,value:Array.isArray(K)?K.join(","):K,name:g,ref:He,"aria-hidden":!0,onChange:ct,tabIndex:-1,disabled:f,className:Ad.nativeInput,autoFocus:a,required:P,...se,id:se.id??DR,ownerState:Ka}),(0,tn.jsx)(KD,{as:T,className:Ad.icon,ownerState:Ka}),(0,tn.jsx)(ib,{value:ae,children:(0,tn.jsx)(RP,{id:`menu-${g||""}`,anchorEl:qe,open:ut,onClose:so,anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"},...m,slotProps:{...m.slotProps,list:{"aria-labelledby":x,role:"listbox","aria-multiselectable":h?"true":void 0,disableListWrap:!0,id:Mb,..._R},paper:{...Ob,style:{minWidth:Vl,...Ob?.style}}},children:rn})})]})}),_P=ZD;var Fu=R(L(),1),WD=e=>{let{classes:t}=e,r=G({root:["root"]},Td,t);return{...t,...r}},yb={name:"MuiSelect",slot:"Root",shouldForwardProp:e=>ot(e)&&e!=="variant"},JD=j(Uu,yb)(""),e3=j(Iu,yb)(""),t3=j(Bu,yb)(""),DP=jl.forwardRef(function(t,o){let r=Y({name:"MuiSelect",props:t}),{autoWidth:n=!1,children:a,classes:i={},className:l,defaultOpen:s=!1,displayEmpty:u=!1,IconComponent:p=RE,id:f,input:d,inputProps:c,label:T,labelId:v,MenuProps:x,multiple:m=!1,native:h=!1,onClose:g,onOpen:b,open:E,renderValue:S,SelectDisplayProps:C,variant:O="outlined",...N}=r,_=h?MP:_P,M=Oo(),y=Ro({props:r,muiFormControl:M,states:["variant","error"]}),w=y.variant||O,P={...r,variant:w,classes:i},A=WD(P),{root:B,...U}=A,V=d||{standard:(0,Fu.jsx)(JD,{ownerState:P}),outlined:(0,Fu.jsx)(e3,{label:T,ownerState:P}),filled:(0,Fu.jsx)(t3,{ownerState:P})}[w],ye=Xt(o,Yo(V));return(0,Fu.jsx)(jl.Fragment,{children:jl.cloneElement(V,{inputComponent:_,inputProps:{children:a,error:y.error,IconComponent:p,variant:w,type:void 0,multiple:m,...h?{id:f}:{autoWidth:n,defaultOpen:s,displayEmpty:u,labelId:v,MenuProps:x,onClose:g,onOpen:b,open:E,renderValue:S,SelectDisplayProps:{id:f,...C}},...c,classes:c?Te(U,c.classes):U,...d?d.props.inputProps:{}},...(m&&h||u)&&w==="outlined"?{notched:!0}:{},ref:ye,className:H(V.props.className,l,A.root),...!d&&{variant:w},...N})})});DP.muiName="Select";var hb=DP;var o3=Mf({createStyledComponent:j("div",{name:"MuiStack",slot:"Root"}),useThemeProps:e=>Y({props:e,name:"MuiStack"})}),vd=o3;var BP=R(k(),1);function zP(e){return F("MuiTextField",e)}var CQ=q("MuiTextField",["root"]);var $a=R(L(),1),r3={standard:Uu,filled:Bu,outlined:Iu},n3=e=>{let{classes:t}=e;return G({root:["root"]},zP,t)},a3=j(Fg,{name:"MuiTextField",slot:"Root"})({}),i3=BP.forwardRef(function(t,o){let r=Y({props:t,name:"MuiTextField"}),{autoComplete:n,autoFocus:a=!1,children:i,className:l,color:s="primary",defaultValue:u,disabled:p=!1,error:f=!1,fullWidth:d=!1,helperText:c,id:T,inputRef:v,label:x,maxRows:m,minRows:h,multiline:g=!1,name:b,onBlur:E,onChange:S,onFocus:C,placeholder:O,required:N=!1,rows:_,select:M=!1,slots:y={},slotProps:w={},type:P,value:A,variant:B="outlined",...U}=r,V={...r,autoFocus:a,color:s,disabled:p,error:f,fullWidth:d,multiline:g,required:N,select:M,variant:B},ye=n3(V),se=tr(T),K=c&&se?`${se}-helper-text`:void 0,ce=x&&se?`${se}-label`:void 0,We=r3[B],De={slots:y,slotProps:w},[He,ze]=Ke("select",{elementType:hb,externalForwardedProps:De,ownerState:V}),X=M&&ze.native,W={},J=De.slotProps.inputLabel;B==="outlined"&&(J&&typeof J.shrink<"u"&&(W.notched=J.shrink),W.label=x),M&&(X||(W.id=void 0),W["aria-describedby"]=void 0);let[he,xt]=Ke("root",{elementType:a3,shouldForwardComponentProp:!0,externalForwardedProps:{...De,...U},ownerState:V,className:H(ye.root,l),ref:o,additionalProps:{disabled:p,error:f,fullWidth:d,required:N,color:s,variant:B}}),[ae,Pe]=Ke("input",{elementType:We,externalForwardedProps:De,additionalProps:W,ownerState:V}),[st,Ht]=Ke("inputLabel",{elementType:Zg,externalForwardedProps:De,ownerState:V}),[qe,ut]=Ke("htmlInput",{elementType:"input",externalForwardedProps:De,ownerState:V}),[St,fe]=Ke("formHelperText",{elementType:$g,externalForwardedProps:De,ownerState:V}),so=(0,$a.jsx)(ae,{"aria-describedby":K,autoComplete:n,autoFocus:a,defaultValue:u,fullWidth:d,multiline:g,name:b,rows:_,maxRows:m,minRows:h,type:P,value:A,id:se,inputRef:v,onBlur:E,onChange:S,onFocus:C,placeholder:O,inputProps:ut,slots:{input:y.htmlInput?qe:void 0},...Pe});return(0,$a.jsxs)(he,{...xt,children:[x!=null&&x!==""&&(0,$a.jsx)(st,{htmlFor:M&&!X?void 0:se,id:ce,...M&&!X&&{component:"div"},...Ht,children:x}),M?(0,$a.jsx)(He,{"aria-describedby":K,id:se,labelId:ce,value:A,input:so,...ze,children:i}):so,c&&(0,$a.jsx)(St,{id:K,...fe,children:c})]})}),xd=i3;var Ll=R(k(),1);function kP({color:e,radius:t}){return{MuiMenu:{styleOverrides:{paper:{borderRadius:t.md},list:{padding:4}}},MuiMenuItem:{styleOverrides:{root:{minHeight:30,padding:"5px 10px",borderRadius:4,fontSize:13,"&:hover":{backgroundColor:e.raised},"& .MuiListItemIcon-root":{minWidth:28},"& .MuiSvgIcon-root":{fontSize:16},"& .MuiListItemText-primary":{fontSize:13}}}}}}function UP(e){let{color:t,radius:o,elevation:r,type:n}=e,a={border:`1px solid ${t.line}`};return{...kP(e),MuiTooltip:{styleOverrides:{tooltip:{...a,backgroundColor:t.overlay.background,color:t.overlay.text,borderRadius:o.md,boxShadow:r.overlay,fontSize:`${n.scale.caption/16}rem`,padding:"6px 10px"},arrow:{color:t.overlay.background}}},MuiPopover:{styleOverrides:{paper:{...a,boxShadow:r.overlay}}},MuiBackdrop:{styleOverrides:{root:{"&:not(.MuiBackdrop-invisible)":{backgroundColor:t.scrim,backdropFilter:"blur(2px)"}}}},MuiDialog:{styleOverrides:{paper:{...a,backgroundColor:t.surface,borderRadius:o.md+4,boxShadow:r.dialog}}}}}var jP=({variant:e})=>e==="outlined"||e==="tonal",LP=[{props:{size:"small"},style:{minHeight:26,padding:"4px 9px",fontSize:12}},{props:jP,style:{padding:"5px 11px"}},{props:e=>jP(e)&&e.size==="small",style:{padding:"3px 8px"}}];var Sd=["primary","secondary","success","warning","error","info"];function qu(e,t){return{backgroundColor:kt(e,t),borderColor:kt(e,.35),color:e}}function HP({color:e}){return[{props:{variant:"tonal"},style:{backgroundColor:e.raised,border:`1px solid ${e.line}`,color:e.text.primary,"&:hover":{backgroundColor:e.raised,borderColor:e.text.disabled}}},...Sd.filter(t=>t!=="primary").map(t=>({props:{variant:"tonal",color:t},style:{...qu(e[t].main,.16),"&:hover":qu(e[t].main,.24)}}))]}var VP={"& > *:nth-of-type(1)":{fontSize:16}};function IP(e){let{color:t,radius:o}=e;return{MuiButton:{defaultProps:{disableElevation:!0},styleOverrides:{root:{minHeight:30,padding:"6px 12px",borderRadius:o.sm,fontSize:13,fontWeight:600,lineHeight:"18px"},startIcon:{marginLeft:-2,marginRight:6,...VP},endIcon:{marginLeft:6,marginRight:-2,...VP}},variants:[...LP,{props:{variant:"text",color:"primary"},style:{color:t.text.secondary,"&:hover":{backgroundColor:t.raised,color:t.text.primary}}},...HP(e),{props:{variant:"outlined",color:"error"},style:{borderColor:kt(t.error.main,.35),"&:hover":{borderColor:t.error.main,backgroundColor:kt(t.error.main,.1)}}}]}}}function gb({color:e},t){return[{props:{variant:t,color:"default"},style:{backgroundColor:"transparent",border:`1px solid ${e.line}`,color:e.text.secondary,"&.MuiChip-clickable:hover":{backgroundColor:e.raised}}},...Sd.map(o=>({props:{variant:t,color:o},style:{...qu(e[o].main,.14),borderColor:"transparent","& .MuiChip-deleteIcon":{color:kt(e[o].main,.7),"&:hover, &:active":{color:e[o].main}},"&.MuiChip-clickable:hover":{backgroundColor:kt(e[o].main,.22)}}}))]}function FP(e){return{MuiChip:{styleOverrides:{root:{height:20,fontSize:11,fontWeight:600,borderRadius:999},sizeSmall:{height:20,"& .MuiChip-label":{padding:"0 7px"}},label:{padding:"0 8px"},icon:{fontSize:14,marginLeft:6,marginRight:-2},deleteIcon:{fontSize:14,marginLeft:-2,marginRight:4},outlined:{borderColor:e.color.line}},variants:[...gb(e,"tonal"),...gb(e,"filled")]}}}function qP(e){return{...IP(e),MuiButtonGroup:{defaultProps:{disableElevation:!0},variants:[{props:{variant:"tonal"},style:{"& .MuiButtonGroup-middleButton, & .MuiButtonGroup-lastButton":{marginLeft:-1}}}]},...FP(e)}}var bb=e=>`color-mix(in srgb, currentColor ${e}%, transparent)`,l3={".MuiAppBar-root &":{color:"inherit","&:hover":{backgroundColor:bb(8)},"&.Mui-selected":{color:"inherit",backgroundColor:bb(12),boxShadow:`inset 0 0 0 1px ${bb(18)}`}}};function GP({color:e,radius:t}){return{MuiTabs:{styleOverrides:{root:{minHeight:40,alignItems:"center"},list:{gap:2},indicator:{display:"none"}}},MuiTab:{styleOverrides:{root:{minHeight:30,padding:"6px 10px",borderRadius:t.sm,textTransform:"none",fontSize:13,fontWeight:500,opacity:1,color:e.text.secondary,"&:hover":{backgroundColor:e.raised,color:e.text.primary},"&.Mui-selected":{color:e.text.primary,backgroundColor:e.raised,boxShadow:`inset 0 0 0 1px ${e.line}`},...!e.appBar&&l3}}}}}var $P=(e,t)=>({width:e,height:e,"& .MuiSvgIcon-root":{fontSize:t}});function YP({color:e,radius:t}){return{MuiIconButton:{styleOverrides:{root:{...$P(30,18),padding:0,borderRadius:t.sm,"&:hover":{backgroundColor:e.raised}}},variants:[{props:{size:"small"},style:$P(26,16)},{props:{color:"default"},style:{color:e.text.secondary,"&:hover":{color:e.text.primary},...!e.appBar&&{".MuiAppBar-root &, .MuiAppBar-root &:hover":{color:"inherit"}}}}]}}}function KP({color:e,radius:t}){return{MuiToggleButtonGroup:{styleOverrides:{root:{padding:2,gap:2,border:`1px solid ${e.line}`,borderRadius:t.sm,backgroundColor:e.background},grouped:{margin:0,border:0,borderRadius:4}}},MuiToggleButton:{styleOverrides:{root:{padding:"3px 8px",border:0,borderRadius:4,fontSize:13,fontWeight:500,lineHeight:"18px",textTransform:"none",color:e.text.secondary,"& .MuiSvgIcon-root":{fontSize:16},"&:hover":{backgroundColor:"transparent",color:e.text.primary},"&.Mui-selected, &.Mui-selected:hover":{backgroundColor:e.raised,color:e.text.primary}}}}}}var Cd=".MuiOutlinedInput-notchedOutline";function XP({color:e,radius:t}){return{MuiOutlinedInput:{styleOverrides:{root:{backgroundColor:e.background,borderRadius:t.sm,fontSize:13,color:e.text.primary,[`& ${Cd}`]:{borderColor:e.line},[`&:hover ${Cd}`]:{borderColor:e.text.disabled},[`&.Mui-focused ${Cd}`]:{borderColor:e.primary.main,borderWidth:1},[`&.Mui-error ${Cd}`]:{borderColor:e.error.main}}}},MuiInputLabel:{styleOverrides:{root:{fontSize:13,color:e.text.secondary,"&.Mui-focused":{color:e.primary.main}}}},MuiSelect:{styleOverrides:{icon:{color:e.text.disabled}}}}}function QP({color:e}){return{MuiSwitch:{styleOverrides:{root:{width:34,height:20,padding:0,"& .MuiSwitch-switchBase":{padding:2,color:e.text.secondary,"&.Mui-checked":{transform:"translateX(14px)",color:e.primary.contrastText},"&.Mui-checked + .MuiSwitch-track":{backgroundColor:e.primary.main,opacity:1}},"& .MuiSwitch-thumb":{width:16,height:16,boxShadow:"none"},"& .MuiSwitch-track":{borderRadius:10,backgroundColor:e.line,opacity:1}}}},MuiFormControlLabel:{styleOverrides:{root:{"&:has(.MuiSwitch-root)":{marginLeft:0,gap:8}}}}}}function ZP(e){let{appBar:t}=e.color;return{...UP(e),...qP(e),...YP(e),...KP(e),...XP(e),...QP(e),...GP(e),MuiPaper:{styleOverrides:{root:{backgroundImage:"none"},outlined:{borderColor:e.color.line}}},MuiAppBar:{defaultProps:{elevation:e.elevation.appBar},styleOverrides:{root:t&&{backgroundColor:t.background,color:t.text,borderBottom:`1px solid ${e.color.line}`}}}}}var Sr="#0e1116",Tb="#141820",Ed="#1b202a",Pd="#e3e7ee",vb="#8a93a3",Gu="#8b9cff",Rd="#5fd0a0",Od="#f2b45a",Md="#f27a7a",WP={secondary:"rgba(255, 255, 255, 0.7)",hover:"rgba(255, 255, 255, 0.12)",active:"rgba(255, 255, 255, 0.16)",dot:"#ffb74d",dotRing:"rgba(0, 0, 0, 0.15)"},JP={dark:{color:{background:Sr,surface:Tb,raised:Ed,line:"#262c37",lineSoft:"#1d222b",text:{primary:Pd,secondary:vb,disabled:"#5c6473"},selected:"rgba(139, 156, 255, 0.14)",wash:{warning:"rgba(242, 180, 90, 0.09)",error:"rgba(242, 122, 122, 0.09)"},well:Sr,stripe:Ed,codeWash:"rgba(255, 255, 255, 0.08)",overlay:{background:Ed,text:Pd},scrim:"rgba(0, 0, 0, 0.5)",appBar:{background:Tb,text:Pd},onAppBar:{...WP,secondary:vb,level:{ok:Rd,warn:Od,over:Md}},statusBar:{background:Tb,text:vb,hoverText:Pd,secondary:"#5c6473",hover:Ed,active:"transparent",dot:Gu,dotRing:"rgba(139, 156, 255, 0.14)",readyText:Gu,level:{ok:Rd,warn:Od,over:Md}},primary:{main:Gu,contrastText:Sr},secondary:{main:"#c99bff",contrastText:Sr},success:{main:Rd,contrastText:Sr},warning:{main:Od,contrastText:Sr},error:{main:Md,contrastText:Sr},info:{main:"#6cb6ff",contrastText:Sr}},terminal:{background:Sr,foreground:"#d6dbe4",cursor:Gu,cursorAccent:Sr,selectionBackground:"rgba(139, 156, 255, 0.28)",black:"#1b2029",red:Md,green:Rd,yellow:Od,blue:Gu,magenta:"#c99bff",cyan:"#6cc8d8",white:"#c3c9d4",brightBlack:"#5c6473",brightRed:"#ff9a9a",brightGreen:"#82e0b6",brightYellow:"#ffc97a",brightBlue:"#a9b6ff",brightMagenta:"#dcb8ff",brightCyan:"#8fdbe8",brightWhite:"#eef1f6"},elevation:{appBar:0,overlay:"0 14px 34px rgba(0, 0, 0, 0.45)",dialog:"0 30px 60px rgba(0, 0, 0, 0.5)",stuckHeader:"0 8px 8px -9px rgba(0, 0, 0, 0.8)"}},light:{color:{background:"#fff",surface:"#fff",raised:"rgba(0, 0, 0, 0.04)",line:"rgba(0, 0, 0, 0.12)",lineSoft:"rgba(0, 0, 0, 0.12)",text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},selected:"rgba(0, 0, 0, 0.08)",wash:{warning:"rgba(255, 167, 38, 0.09)",error:"rgba(244, 67, 54, 0.09)"},well:"#f3f4f6",stripe:"rgba(0, 0, 0, 0.1)",codeWash:"rgba(0, 0, 0, 0.06)",overlay:{background:"rgba(97, 97, 97, 0.92)",text:"#fff"},onAppBar:{...WP,level:{ok:"#b9f6ca",warn:"#ffe57f",over:"#ffcdd2"}},primary:{main:"#1976d2",light:"#42a5f5",dark:"#1565c0",contrastText:"#fff"},secondary:{main:"#9c27b0",light:"#ba68c8",dark:"#7b1fa2",contrastText:"#fff"},success:{main:"#2e7d32",light:"#4caf50",dark:"#1b5e20",contrastText:"#fff"},warning:{main:"#ed6c02",light:"#ff9800",dark:"#e65100",contrastText:"#fff"},error:{main:"#d32f2f",light:"#ef5350",dark:"#c62828",contrastText:"#fff"},info:{main:"#0288d1",light:"#03a9f4",dark:"#01579b",contrastText:"#fff"},scrim:"rgba(15, 23, 42, 0.32)",statusBar:{background:"#f3f4f6",text:"rgba(0, 0, 0, 0.6)",hoverText:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.38)",hover:"rgba(0, 0, 0, 0.06)",active:"transparent",dot:"#1976d2",dotRing:"rgba(25, 118, 210, 0.16)",readyText:"#1976d2",level:{ok:"#2e7d32",warn:"#ed6c02",over:"#d32f2f"}}},terminal:{background:"#ffffff",foreground:"#333333",cursor:"#333333",cursorAccent:"#ffffff",selectionBackground:"#add6ff",black:"#000000",red:"#cd3131",green:"#107c10",yellow:"#949800",blue:"#0451a5",magenta:"#bc05bc",cyan:"#0598bc",white:"#555555",brightBlack:"#666666",brightRed:"#cd3131",brightGreen:"#14ce14",brightYellow:"#b5ba00",brightBlue:"#0451a5",brightMagenta:"#bc05bc",brightCyan:"#0598bc",brightWhite:"#a5a5a5"},elevation:{appBar:0,overlay:"0 8px 24px rgba(15, 23, 42, 0.12)",dialog:"0 24px 48px rgba(15, 23, 42, 0.18)",stuckHeader:"0 6px 6px -7px rgba(0, 0, 0, 0.2)"}},font:{ui:'"Geist Variable", "Segoe UI", system-ui, sans-serif',mono:'"Geist Mono Variable", ui-monospace, Menlo, Consolas, monospace',terminal:'"Geist Mono Variable", ui-monospace, Menlo, Consolas, monospace'},type:{fontSize:14,terminalFontSize:13,scale:{caption:12,body2:14,body1:15,subtitle2:14,subtitle1:15,h6:16,h5:18,h4:24,button:14},button:{textTransform:"none",fontWeight:600}},radius:{sm:6,md:8},spacing:8};var on=e=>`${e/16}rem`;function eR({font:e,type:t}){let{scale:o}=t;return{fontFamily:e.ui,fontFamilyMono:e.mono,fontSize:t.fontSize,button:{...t.button,fontSize:on(o.button)},caption:{fontSize:on(o.caption)},body2:{fontSize:on(o.body2)},body1:{fontSize:on(o.body1)},subtitle2:{fontSize:on(o.subtitle2)},subtitle1:{fontSize:on(o.subtitle1)},h6:{fontSize:on(o.h6)},h5:{fontSize:on(o.h5)},h4:{fontSize:on(o.h4)}}}function tR(e){return{MuiButtonBase:{styleOverrides:{root:{cursor:"pointer","&.Mui-disabled":{cursor:"default"}}}},MuiLink:{styleOverrides:{root:{cursor:"pointer"}}},MuiAppBar:{defaultProps:{elevation:e.elevation.appBar}}}}function s3(e){let{dark:t,light:o,...r}=JP;return{...r,...e==="dark"?t:o,mode:e}}function oR(e){let t=s3(e),{color:o}=t;return vr({tokens:t,palette:{mode:e,background:{default:o.background,paper:o.surface},primary:o.primary,secondary:o.secondary,success:o.success,warning:o.warning,error:o.error,info:o.info,text:o.text,divider:o.line,action:{hover:o.raised,selected:o.selected}},typography:eR(t),shape:{borderRadius:t.radius.sm},spacing:t.spacing,components:{...tR(t),...ZP(t)}})}function u3(e){let t=e.getAttribute("data-color-mode");return t==="light"||t==="dark"?t:globalThis.matchMedia?.("(prefers-color-scheme: dark)").matches?"dark":"light"}function $u(e){let t=u3(e),o=e.getAttribute(t==="dark"?"data-dark-theme":"data-light-theme");return o?o.startsWith("dark")?"dark":"light":t}var c3=["data-color-mode","data-light-theme","data-dark-theme"];function rR(e,t){let o=$u(e),r=()=>{let i=$u(e);i!==o&&(o=i,t(i))},n=new MutationObserver(r);n.observe(e,{attributeFilter:c3});let a=globalThis.matchMedia?.("(prefers-color-scheme: dark)");return a?.addEventListener?.("change",r),()=>{n.disconnect(),a?.removeEventListener?.("change",r)}}var xb=R(L(),1);function nR({children:e}){let[t,o]=(0,Ll.useState)(()=>$u(document.documentElement));(0,Ll.useEffect)(()=>rR(document.documentElement,o),[]);let r=(0,Ll.useMemo)(()=>oR(t),[t]);return(0,xb.jsx)(Df,{theme:r,children:(0,xb.jsx)(ed,{sx:{fontFamily:"fontFamily"},children:e})})}var Sb=R(L(),1);function iR(e,t,o){let r=e.shadowRoot??e.attachShadow({mode:"open"});y1(e);let n=document.createElement("div"),a=document.createElement("div");a.style.cssText="width:100%;font:inherit;color:inherit",r.append(n,a);let i=nc({key:t,container:n}),l=(0,aR.createRoot)(a);return l.render((0,Sb.jsx)(Xd,{value:i,children:(0,Sb.jsx)(nR,{children:o})})),l}function lR(e,t){let o=t.closest('dialog, [role="dialog"]'),r=o?f3:p3,n=()=>{e.style.cssText=r(t)};return n(),o?(e.setAttribute("popover","manual"),o.append(e),e.showPopover?.()):document.body.append(e),window.addEventListener("resize",n),()=>window.removeEventListener("resize",n)}function p3(e){let{top:t,left:o}=sR(e);return["position: absolute",`top: ${t+window.scrollY}px`,`left: ${o+window.scrollX}px`,"width: 320px","z-index: 2147483646"].join(";")}function f3(e){let{top:t,left:o}=sR(e);return["position: fixed","inset: auto",`top: ${t}px`,`left: ${o}px`,"width: 320px","height: auto","margin: 0","padding: 0","border: 0","background: transparent","overflow: visible"].join(";")}function sR(e){let t=e.getBoundingClientRect(),o=Math.max(16,Math.min(t.left,window.innerWidth-320-16));return{top:t.bottom+4,left:o}}var Yu=null;function d3(){Yu?.close()}function uR(e,t){let o=Yu?.anchor;if(d3(),o===e)return;let r=document.createElement("div");r.setAttribute("data-assist-popover","");let n=lR(r,e),a=()=>{Yu?.close===a&&(Yu=null,n(),r.remove(),queueMicrotask(()=>i.unmount()))};Yu={anchor:e,close:a};let i=iR(r,"assist-popover",t(l=>{a(),l&&e.focus()}))}var Eb=R(k(),1);var TR=R(k(),1);var pR=R(L(),1);function cR({value:e,onChange:t,onKeyDown:o,placeholder:r,error:n}){return(0,pR.jsx)(xd,{autoFocus:!0,fullWidth:!0,multiline:!0,maxRows:6,size:"small",placeholder:r,value:e,onChange:a=>t(a.target.value),onKeyDown:o,error:n,slotProps:{htmlInput:{"aria-label":"Instructions for assist"}}})}var Cb=R(L(),1);function fR({labels:e,disabled:t,onClick:o}){return(0,Cb.jsx)(vd,{direction:"row",spacing:1,sx:{mt:1},children:e.map((r,n)=>(0,Cb.jsx)(td,{size:"small",variant:n===0?"contained":"outlined",disabled:t,onMouseDown:a=>a.preventDefault(),onClick:()=>o(n),children:r},r))})}var Ya=R(L(),1);function dR({error:e,busy:t}){return(0,Ya.jsxs)(Ya.Fragment,{children:[e&&(0,Ya.jsxs)(wu,{role:"alert",variant:"caption",color:"error",sx:{display:"block",mt:.5},children:["Not sent: ",e]}),(0,Ya.jsx)(wu,{variant:"caption",color:"text.secondary",sx:{display:"block",mt:.5},children:t?"Sending\u2026":`Enter to ${e?"retry":"send"} \xB7 Shift+Enter for a new line \xB7 Esc to close`})]})}function mR(e){return{border:`1px solid ${e.palette.divider}`,boxShadow:e.tokens.elevation.overlay}}function yR(e,t){return o=>{o.currentTarget.contains(o.relatedTarget)||document.hasFocus()&&!e&&t(!1)}}function m3(e){return(e.ctrlKey||e.metaKey)&&e.key.toLowerCase()==="c"}function hR(e,t,o){return r=>{if(e&&t&&m3(r)){r.preventDefault(),navigator.clipboard?.writeText(e);return}o(r)}}function gR(e,t){return o=>{o.key==="Escape"?(o.preventDefault(),e(!0)):o.key==="Enter"&&!o.shiftKey&&!o.nativeEvent.isComposing&&(o.preventDefault(),t())}}function bR({instructions:e,onSend:t,onClose:o,busy:r,keepOpen:n,keepDraftOnBlur:a,copyWhenEmpty:i}){let l=f=>{r||t(e,f)},s=hR(i,!e,gR(o,()=>l(0))),u=a&&e.trim()!=="",p=yR(n||r||u,o);return{send:l,onKeyDown:s,onBlur:p}}var Hl=R(L(),1);function vR({onSend:e,onClose:t,placeholder:o="Instructions (optional)",error:r,busy:n=!1,keepDraftOnBlur:a=!1,copyWhenEmpty:i,buttons:l,children:s}){let[u,p]=(0,TR.useState)(""),{send:f,onKeyDown:d,onBlur:c}=bR({instructions:u,onSend:e,onClose:t,busy:n,keepOpen:!!r,keepDraftOnBlur:a,copyWhenEmpty:i});return(0,Hl.jsxs)(Ml,{sx:T=>({...mR(T),p:1.5}),onBlur:c,children:[(0,Hl.jsx)(cR,{value:u,onChange:p,onKeyDown:d,placeholder:o,error:!!r}),s,l&&(0,Hl.jsx)(fR,{labels:l,disabled:n,onClick:f}),(0,Hl.jsx)(dR,{error:r,busy:n})]})}var Pb=R(L(),1);function y3({send:e,dismiss:t,selectedText:o}){let[r,n]=(0,Eb.useState)(!1),[a,i]=(0,Eb.useState)();return(0,Pb.jsx)(vR,{placeholder:"Feedback on the selected text",onSend:async s=>{if(!s.trim())return;n(!0);let u=await e(s);n(!1),u.ok?t(!1):i(u.message)},onClose:t,error:a,busy:r,keepDraftOnBlur:!0,copyWhenEmpty:o})}function xR(e,t,o={}){return(0,Pb.jsx)(y3,{send:e,dismiss:t,...o})}var h3=["position: fixed","right: 16px","bottom: 16px","z-index: 2147483647","max-width: 420px","padding: 8px 12px","border-radius: 6px","font: 14px/20px -apple-system, BlinkMacSystemFont, sans-serif","color: var(--fgColor-onEmphasis, #fff)","box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25)"].join(";"),SR={ok:"var(--bgColor-success-emphasis, #1f883d)",error:"var(--bgColor-danger-emphasis, #cf222e)"};function CR(e,t){let o=document.createElement("div");return o.setAttribute("data-assist-toast",""),o.setAttribute("role","status"),o.style.cssText=`${h3};background: ${t?SR.ok:SR.error}`,o.textContent=e,document.body.append(o),setTimeout(()=>o.remove(),t?4e3:8e3),o}async function ER(e){let t=Xu();if(!t)return{ok:!1,message:"assist extension runtime unavailable"};try{return await t.sendMessage(e)??{ok:!1,message:"assist extension did not reply"}}catch(o){return{ok:!1,message:o instanceof Error?o.message:String(o)}}}function PR({range:e,...t},o){let r={type:"assist-docs-feedback",...t,prompt:o};return ER(r)}function RR(e,t){return async o=>{let r=await PR(e,o);return r.ok&&(t(),CR(r.message,!0)),r}}var Ku="assist-docs-feedback";function g3(){if(document.getElementById(Ku))return;let e=document.createElement("style");e.id=Ku,e.textContent=`::highlight(${Ku}) { background-color: Highlight; color: HighlightText; }`,document.head.append(e)}function OR(e){let t=globalThis.CSS?.highlights;return!t||typeof Highlight>"u"?()=>{}:(g3(),t.set(Ku,new Highlight(e)),()=>t.delete(Ku))}function b3(e){let t=e.getClientRects(),o=t[t.length-1]??e.getBoundingClientRect();return{top:o.bottom+window.scrollY,left:o.right+window.scrollX}}function T3(e){let t=document.createElement("div");t.setAttribute("data-assist-docs-feedback",""),t.setAttribute("aria-hidden","true");let{top:o,left:r}=b3(e);return t.style.cssText=`position: absolute;top: ${o}px;left: ${r}px;width: 0;height: 0;pointer-events: none`,t}function MR(e){let t=T3(e.range);document.body.append(t);let o=OR(e.range),r=()=>{t.remove(),o()},n=RR(e,r);return uR(t,a=>xR(n,i=>{a(i),r()},{selectedText:e.range.toString()})),r}function AR(e,{title:t,source:o}){if(!(!t||!o||!e?.closest("main")))return{heading:t,source:o}}function Rb(e,t){return e.querySelector(`meta[name="${t}"]`)?.content||void 0}function v3(e,t){let o=t instanceof Element?t:t?.parentElement,r=o?.closest(`section[${Er.headingAttribute}]`);return r?{heading:r.getAttribute(Er.headingAttribute)??"",source:r.getAttribute(Er.sourceAttribute)??""}:AR(o,{title:Rb(e,Er.titleMeta),source:Rb(e,Er.sourceMeta)})}function NR(e,t){let o=Rb(e,Er.pageMeta);if(!o||!t||t.isCollapsed)return;let r=t.toString().trim();if(!r||t.rangeCount===0)return;let n=t.getRangeAt(0),a=v3(e,n.startContainer);if(a)return{pageId:o,...a,selection:r,range:n}}var x3="[data-assist-docs-feedback], [data-assist-popover]";function S3(e){return e instanceof Element&&e.closest(x3)!==null}function C3(){return document.querySelector("[data-assist-popover]")!==null}function wR(){let e;document.addEventListener("mouseup",t=>{if(S3(t.target)||C3())return;e?.(),e=void 0;let o=NR(document,globalThis.getSelection());o&&(e=MR(o))})}function E3(){zb(),document.querySelector(`meta[name="${Er.pageMeta}"]`)&&wR()}E3();})();
|
|
183
|
+
`,I5=typeof wg!="string"?ln`
|
|
184
|
+
animation: ${wg} 1.4s linear infinite;
|
|
185
|
+
`:null,F5=typeof Ng!="string"?ln`
|
|
186
|
+
animation: ${Ng} 1.4s ease-in-out infinite;
|
|
187
|
+
`:null,q5=e=>{let{classes:t,variant:o,color:r,disableShrink:n}=e,a={root:["root",o,`color${re(r)}`],svg:["svg"],track:["track"],circle:["circle",n&&"circleDisableShrink"]};return G(a,uE,t)},G5=j("span",{name:"MuiCircularProgress",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[t.root,t[o.variant],t[`color${re(o.color)}`]]}})(le(({theme:e})=>({display:"inline-block",variants:[{props:{variant:"determinate"},style:{transition:e.transitions.create("transform")}},{props:{variant:"indeterminate"},style:I5||{animation:`${wg} 1.4s linear infinite`}},...Object.entries(e.palette).filter(Qt()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}}))]}))),$5=j("svg",{name:"MuiCircularProgress",slot:"Svg"})({display:"block"}),Y5=j("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[t.circle,o.disableShrink&&t.circleDisableShrink]}})(le(({theme:e})=>({stroke:"currentColor",variants:[{props:{variant:"determinate"},style:{transition:e.transitions.create("stroke-dashoffset")}},{props:{variant:"indeterminate"},style:{strokeDasharray:"80px, 200px",strokeDashoffset:0}},{props:({ownerState:t})=>t.variant==="indeterminate"&&!t.disableShrink,style:F5||{animation:`${Ng} 1.4s ease-in-out infinite`}}]}))),K5=j("circle",{name:"MuiCircularProgress",slot:"Track"})(le(({theme:e})=>({stroke:"currentColor",opacity:(e.vars||e).palette.action.activatedOpacity}))),X5=cE.forwardRef(function(t,o){let r=Y({props:t,name:"MuiCircularProgress"}),{className:n,color:a="primary",disableShrink:i=!1,enableTrackSlot:l=!1,size:s=40,style:u,thickness:p=3.6,value:f=0,variant:d="indeterminate",...c}=r,T={...r,color:a,disableShrink:i,size:s,thickness:p,value:f,variant:d,enableTrackSlot:l},v=q5(T),x={},m={},h={};if(d==="determinate"){let g=2*Math.PI*((or-p)/2);x.strokeDasharray=g.toFixed(3),h["aria-valuenow"]=Math.round(f),x.strokeDashoffset=`${((100-f)/100*g).toFixed(3)}px`,m.transform="rotate(-90deg)"}return(0,wl.jsx)(G5,{className:H(v.root,n),style:{width:s,height:s,...m,...u},ownerState:T,ref:o,role:"progressbar",...h,...c,children:(0,wl.jsxs)($5,{className:v.svg,ownerState:T,viewBox:`${or/2} ${or/2} ${or} ${or}`,children:[l?(0,wl.jsx)(K5,{className:v.track,ownerState:T,cx:or,cy:or,r:(or-p)/2,fill:"none",strokeWidth:p,"aria-hidden":"true"}):null,(0,wl.jsx)(Y5,{className:v.circle,style:x,ownerState:T,cx:or,cy:or,r:(or-p)/2,fill:"none",strokeWidth:p})]})})}),_g=X5;var dE=R(k(),1);function pE(e){return F("MuiTypography",e)}var oI=q("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom"]);var mE=R(L(),1),Q5=e=>{let{align:t,gutterBottom:o,noWrap:r,variant:n,classes:a}=e,i={root:["root",n,e.align!=="inherit"&&`align${re(t)}`,o&&"gutterBottom",r&&"noWrap"]};return G(i,pE,a)},Z5=j("span",{name:"MuiTypography",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[t.root,o.variant&&t[o.variant],o.align!=="inherit"&&t[`align${re(o.align)}`],o.noWrap&&t.noWrap,o.gutterBottom&&t.gutterBottom]}})(le(({theme:e})=>({margin:0,variants:[{props:{variant:"inherit"},style:{font:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}},...Object.entries(e.typography).filter(([t,o])=>t!=="inherit"&&o&&typeof o=="object").map(([t,o])=>({props:{variant:t},style:o})),...Object.entries(e.palette).filter(Qt()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}})),...Object.entries(e.palette?.text||{}).filter(([,t])=>typeof t=="string").map(([t])=>({props:{color:`text${re(t)}`},style:{color:(e.vars||e).palette.text[t]}})),{props:({ownerState:t})=>t.align!=="inherit",style:{textAlign:"var(--Typography-textAlign)"}},{props:({ownerState:t})=>t.noWrap,style:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}},{props:({ownerState:t})=>t.gutterBottom,style:{marginBottom:"0.35em"}}]}))),fE={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},W5=dE.forwardRef(function(t,o){let r=Y({props:t,name:"MuiTypography"}),{color:n,align:a="inherit",className:i,component:l,gutterBottom:s=!1,noWrap:u=!1,variant:p="body1",variantMapping:f=fE,...d}=r,c={...r,align:a,color:n,className:i,component:l,gutterBottom:s,noWrap:u,variant:p,variantMapping:f},T=l||f[p]||fE[p]||"span",v=Q5(c);return(0,mE.jsx)(Z5,{as:T,ref:o,className:H(v.root,i),...d,ownerState:c,style:{...a!=="inherit"&&{"--Typography-textAlign":a},...d.style}})}),_u=W5;function J5(e){let{elementType:t,externalSlotProps:o,ownerState:r,skipResolvingSlotProps:n=!1,...a}=e,i=n?{}:Mu(o,r),{props:l,internalRef:s}=wu({...a,externalSlotProps:i}),u=Ut(s,i?.ref,e.additionalProps?.ref);return Ou(t,{...l,ref:u},r)}var Dg=J5;var en=R(k(),1),hE=R(Sc(),1);var yE=R(k(),1);function Yo(e){return parseInt(yE.version,10)>=19?e?.props?.ref||null:e?.ref||null}function e_(e){return typeof e=="function"?e():e}var t_=en.forwardRef(function(t,o){let{children:r,container:n,disablePortal:a=!1}=t,[i,l]=en.useState(null),s=Ut(en.isValidElement(r)?Yo(r):null,o);return Kt(()=>{a||l(e_(n)||document.body)},[n,a]),Kt(()=>{if(i&&!a)return Da(o,i),()=>{Da(o,null)}},[o,i,a]),a?en.isValidElement(r)?en.cloneElement(r,{ref:s}):r:i&&hE.createPortal(r,i)}),zg=t_;var jt=R(k(),1);var Po=R(k(),1);var Du=R(L(),1);function Jf(e){return parseInt(e,10)||0}var o_={shadow:{visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"}};function r_(e){for(let t in e)return!1;return!0}function gE(e){return r_(e)||e.outerHeightStyle===0&&!e.overflowing}var n_=Po.forwardRef(function(t,o){let{onChange:r,maxRows:n,minRows:a=1,style:i,value:l,...s}=t,{current:u}=Po.useRef(l!=null),p=Po.useRef(null),f=Ut(o,p),d=Po.useRef(null),c=Po.useRef(null),T=Po.useCallback(()=>{let g=p.current,b=c.current;if(!g||!b)return;let S=qo(g).getComputedStyle(g);if(S.width==="0px")return{outerHeightStyle:0,overflowing:!1};b.style.width=S.width,b.value=g.value||t.placeholder||"x",b.value.slice(-1)===`
|
|
188
|
+
`&&(b.value+=" ");let C=S.boxSizing,O=Jf(S.paddingBottom)+Jf(S.paddingTop),w=Jf(S.borderBottomWidth)+Jf(S.borderTopWidth),_=b.scrollHeight;b.value="x";let M=b.scrollHeight,y=_;a&&(y=Math.max(Number(a)*M,y)),n&&(y=Math.min(Number(n)*M,y)),y=Math.max(y,M);let N=y+(C==="border-box"?O+w:0),P=Math.abs(y-_)<=1;return{outerHeightStyle:N,overflowing:P}},[n,a,t.placeholder]),v=Go(()=>{let g=p.current,b=T();if(!g||!b||gE(b))return!1;let E=b.outerHeightStyle;return d.current!=null&&d.current!==E}),x=Po.useCallback(()=>{let g=p.current,b=T();if(!g||!b||gE(b))return;let E=b.outerHeightStyle;d.current!==E&&(d.current=E,g.style.height=`${E}px`),g.style.overflow=b.overflowing?"hidden":""},[T]),m=Po.useRef(-1);return Kt(()=>{let g=xl(x),b=p?.current;if(!b)return;let E=qo(b);E.addEventListener("resize",g);let S;return typeof ResizeObserver<"u"&&(S=new ResizeObserver(()=>{v()&&(S.unobserve(b),cancelAnimationFrame(m.current),x(),m.current=requestAnimationFrame(()=>{S.observe(b)}))}),S.observe(b)),()=>{g.clear(),cancelAnimationFrame(m.current),E.removeEventListener("resize",g),S&&S.disconnect()}},[T,x,v]),Kt(()=>{x()}),(0,Du.jsxs)(Po.Fragment,{children:[(0,Du.jsx)("textarea",{value:l,onChange:g=>{u||x();let b=g.target,E=b.value.length,S=b.value.endsWith(`
|
|
189
|
+
`),C=b.selectionStart===E;S&&C&&b.setSelectionRange(E,E),r&&r(g)},ref:f,rows:a,style:i,...s}),(0,Du.jsx)("textarea",{"aria-hidden":!0,className:t.className,readOnly:!0,ref:c,tabIndex:-1,style:{...o_.shadow,...i,paddingTop:0,paddingBottom:0}})]})}),Bg=n_;function Ro({props:e,states:t,muiFormControl:o}){return t.reduce((r,n)=>(r[n]=e[n],o&&typeof e[n]>"u"&&(r[n]=o[n]),r),{})}var bE=R(k(),1),a_=bE.createContext(void 0),Nl=a_;var TE=R(k(),1);function Oo(){return TE.useContext(Nl)}function vE(e){return e!=null&&!(Array.isArray(e)&&e.length===0)}function ja(e,t=!1){return e&&(vE(e.value)&&e.value!==""||t&&vE(e.defaultValue)&&e.defaultValue!=="")}function xE(e){return e.startAdornment}function SE(e){return F("MuiInputBase",e)}var i_=q("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputTypeSearch"]),rr=i_;var La=R(L(),1),CE,Ha=(e,t)=>{let{ownerState:o}=e;return[t.root,o.formControl&&t.formControl,o.startAdornment&&t.adornedStart,o.endAdornment&&t.adornedEnd,o.error&&t.error,o.size==="small"&&t.sizeSmall,o.multiline&&t.multiline,o.color&&t[`color${re(o.color)}`],o.fullWidth&&t.fullWidth,o.hiddenLabel&&t.hiddenLabel]},Va=(e,t)=>{let{ownerState:o}=e;return[t.input,o.type==="search"&&t.inputTypeSearch]},l_=e=>{let{classes:t,color:o,disabled:r,error:n,endAdornment:a,focused:i,formControl:l,fullWidth:s,hiddenLabel:u,multiline:p,readOnly:f,size:d,startAdornment:c,type:T}=e,v={root:["root",`color${re(o)}`,r&&"disabled",n&&"error",s&&"fullWidth",i&&"focused",l&&"formControl",d&&d!=="medium"&&`size${re(d)}`,p&&"multiline",c&&"adornedStart",a&&"adornedEnd",u&&"hiddenLabel",f&&"readOnly"],input:["input",r&&"disabled",T==="search"&&"inputTypeSearch",f&&"readOnly"]};return G(v,SE,t)},Ia=j("div",{name:"MuiInputBase",slot:"Root",overridesResolver:Ha})(le(({theme:e})=>({...e.typography.body1,color:(e.vars||e).palette.text.primary,lineHeight:"1.4375em",boxSizing:"border-box",position:"relative",cursor:"text",display:"inline-flex",alignItems:"center",[`&.${rr.disabled}`]:{color:(e.vars||e).palette.text.disabled,cursor:"default"},variants:[{props:({ownerState:t})=>t.multiline,style:{padding:"4px 0 5px"}},{props:({ownerState:t,size:o})=>t.multiline&&o==="small",style:{paddingTop:1}},{props:({ownerState:t})=>t.fullWidth,style:{width:"100%"}}]}))),Fa=j("input",{name:"MuiInputBase",slot:"Input",overridesResolver:Va})(le(({theme:e})=>{let t=e.palette.mode==="light",o={color:"currentColor",...e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:t?.42:.5},transition:e.transitions.create("opacity",{duration:e.transitions.duration.shorter})},r={opacity:"0 !important"},n=e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:t?.42:.5};return{font:"inherit",letterSpacing:"inherit",color:"currentColor",padding:"4px 0 5px",border:0,boxSizing:"content-box",background:"none",height:"1.4375em",margin:0,WebkitTapHighlightColor:"transparent",display:"block",minWidth:0,width:"100%","&::-webkit-input-placeholder":o,"&::-moz-placeholder":o,"&::-ms-input-placeholder":o,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"},[`label[data-shrink=false] + .${rr.formControl} &`]:{"&::-webkit-input-placeholder":r,"&::-moz-placeholder":r,"&::-ms-input-placeholder":r,"&:focus::-webkit-input-placeholder":n,"&:focus::-moz-placeholder":n,"&:focus::-ms-input-placeholder":n},[`&.${rr.disabled}`]:{opacity:1,WebkitTextFillColor:(e.vars||e).palette.text.disabled},variants:[{props:({ownerState:a})=>!a.disableInjectingGlobalStyles,style:{animationName:"mui-auto-fill-cancel",animationDuration:"10ms","&:-webkit-autofill":{animationDuration:"5000s",animationName:"mui-auto-fill"}}},{props:{size:"small"},style:{paddingTop:1}},{props:({ownerState:a})=>a.multiline,style:{height:"auto",resize:"none",padding:0,paddingTop:0}},{props:{type:"search"},style:{MozAppearance:"textfield"}}]}})),EE=IC({"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}),s_=jt.forwardRef(function(t,o){let r=Y({props:t,name:"MuiInputBase"}),{"aria-describedby":n,autoComplete:a,autoFocus:i,className:l,color:s,defaultValue:u,disabled:p,disableInjectingGlobalStyles:f,endAdornment:d,error:c,fullWidth:T=!1,id:v,inputComponent:x="input",inputProps:m={},inputRef:h,margin:g,maxRows:b,minRows:E,multiline:S=!1,name:C,onBlur:O,onChange:w,onClick:_,onFocus:M,onKeyDown:y,onKeyUp:N,placeholder:P,readOnly:A,renderSuffix:B,rows:U,size:V,slotProps:ye={},slots:se={},startAdornment:K,type:ce="text",value:We,...De}=r,He=m.value!=null?m.value:We,{current:ze}=jt.useRef(He!=null),X=jt.useRef(),W=jt.useCallback(ee=>{},[]),J=Xt(X,h,m.ref,W),[he,xt]=jt.useState(!1),ae=Oo(),Pe=Ro({props:r,muiFormControl:ae,states:["color","disabled","error","hiddenLabel","size","required","filled"]});Pe.focused=ae?ae.focused:he,jt.useEffect(()=>{!ae&&p&&he&&(xt(!1),O&&O())},[ae,p,he,O]);let st=ae&&ae.onFilled,Ht=ae&&ae.onEmpty,qe=jt.useCallback(ee=>{ja(ee)?st&&st():Ht&&Ht()},[st,Ht]);Lf(()=>{ze&&qe({value:He})},[He,qe,ze]);let ut=ee=>{M&&M(ee),m.onFocus&&m.onFocus(ee),ae&&ae.onFocus?ae.onFocus(ee):xt(!0)},St=ee=>{O&&O(ee),m.onBlur&&m.onBlur(ee),ae&&ae.onBlur?ae.onBlur(ee):xt(!1)},fe=(ee,...uo)=>{if(!ze){let rn=ee.target||X.current;if(rn==null)throw new Error(bt(1));qe({value:rn.value})}m.onChange&&m.onChange(ee,...uo),w&&w(ee,...uo)};jt.useEffect(()=>{qe(X.current)},[]);let so=ee=>{X.current&&ee.currentTarget===ee.target&&X.current.focus(),_&&_(ee)},Mo=x,ct=m;S&&Mo==="input"&&(U?ct={type:void 0,minRows:U,maxRows:U,...ct}:ct={type:void 0,maxRows:b,minRows:E,...ct},Mo=Bg);let Kn=ee=>{qe(ee.animationName==="mui-auto-fill-cancel"?X.current:{value:"x"})};jt.useEffect(()=>{ae&&ae.setAdornedStart(!!K)},[ae,K]);let ir={...r,color:Pe.color||"primary",disabled:Pe.disabled,endAdornment:d,error:Pe.error,focused:Pe.focused,formControl:ae,fullWidth:T,hiddenLabel:Pe.hiddenLabel,multiline:S,size:Pe.size,startAdornment:K,type:ce},Cr=l_(ir),Be=se.root||Ia,ge=ye.root||{},Xe=se.input||Fa;return ct={...ct,...ye.input},(0,La.jsxs)(jt.Fragment,{children:[!f&&typeof EE=="function"&&(CE||(CE=(0,La.jsx)(EE,{}))),(0,La.jsxs)(Be,{...ge,ref:o,onClick:so,...De,...!In(Be)&&{ownerState:{...ir,...ge.ownerState}},className:H(Cr.root,ge.className,l,A&&"MuiInputBase-readOnly"),children:[K,(0,La.jsx)(Nl.Provider,{value:null,children:(0,La.jsx)(Xe,{"aria-invalid":Pe.error,"aria-describedby":n,autoComplete:a,autoFocus:i,defaultValue:u,disabled:Pe.disabled,id:v,onAnimationStart:Kn,name:C,placeholder:P,readOnly:A,required:Pe.required,rows:U,value:He,onKeyDown:y,onKeyUp:N,type:ce,...ct,...!In(Xe)&&{as:Mo,ownerState:{...ir,...ct.ownerState}},ref:J,className:H(Cr.input,ct.className,A&&"MuiInputBase-readOnly"),onBlur:St,onChange:fe,onFocus:ut})}),d,B?B({...Pe,startAdornment:K}):null]})]})}),qa=s_;function PE(e){return F("MuiInput",e)}var u_={...rr,...q("MuiInput",["root","underline","input"])},_l=u_;function RE(e){return F("MuiOutlinedInput",e)}var c_={...rr,...q("MuiOutlinedInput",["root","notchedOutline","input"])},nr=c_;function OE(e){return F("MuiFilledInput",e)}var p_={...rr,...q("MuiFilledInput",["root","underline","input","adornedStart","adornedEnd","sizeSmall","multiline","hiddenLabel"])},Gn=p_;var ME=R(L(),1),AE=Uf((0,ME.jsx)("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown");var _E=R(k(),1);var Dl=R(k(),1);var wE=R(L(),1),f_={entering:{opacity:1},entered:{opacity:1},exiting:{opacity:0},exited:{opacity:0}},d_={opacity:0,visibility:"hidden"},m_=Dl.forwardRef(function(t,o){let r=jn(),n={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{addEndListener:a,appear:i=!0,children:l,easing:s,in:u,onEnter:p,onEntered:f,onEntering:d,onExit:c,onExited:T,onExiting:v,style:x,timeout:m=n,...h}=t,g=Dl.useRef(null),b=Xt(g,Yo(l),o),E=io(g,d),S=io(g,(y,N)=>{Gf(y);let P=Ml({style:x,timeout:m,easing:s},{mode:"enter"});y.style.transition=r.transitions.create("opacity",P),p&&p(y,N)}),C=io(g,f),O=io(g,v),w=io(g,y=>{let N=Ml({style:x,timeout:m,easing:s},{mode:"exit"});y.style.transition=r.transitions.create("opacity",N),c&&c(y)}),_=io(g,y=>{y.style.transition="",T&&T(y)});return(0,wE.jsx)(Pu,{appear:i,in:u,nodeRef:g,onEnter:S,onEntered:C,onEntering:E,onExit:w,onExited:_,onExiting:O,addEndListener:y=>{a&&a(g.current,y)},timeout:m,...h,children:(y,{ownerState:N,...P})=>{let A=$f(y,u,f_,d_,x,l.props.style);return Dl.cloneElement(l,{style:A,ref:b,...P})}})}),kg=m_;function NE(e){return F("MuiBackdrop",e)}var HF=q("MuiBackdrop",["root","invisible"]);var Ug=R(L(),1),y_=e=>{let{classes:t,invisible:o}=e;return G({root:["root",o&&"invisible"]},NE,t)},h_=j("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[t.root,o.invisible&&t.invisible]}})({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent",variants:[{props:{invisible:!0},style:{backgroundColor:"transparent"}}]}),g_=_E.forwardRef(function(t,o){let r=Y({props:t,name:"MuiBackdrop"}),{children:n,className:a,component:i="div",invisible:l=!1,open:s,slotProps:u={},slots:p={},transitionDuration:f,...d}=r,c={...r,component:i,invisible:l},T=y_(c),v={component:i,slots:p,slotProps:u},[x,m]=Ke("root",{elementType:h_,externalForwardedProps:v,className:H(T.root,a),ownerState:c}),[h,g]=Ke("transition",{elementType:kg,externalForwardedProps:v,ownerState:c});return(0,Ug.jsx)(h,{in:s,timeout:f,...d,...g,children:(0,Ug.jsx)(x,{...m,ref:o,children:n})})}),jg=g_;var b_=q("MuiBox",["root"]),DE=b_;var T_=vr(),v_=su({themeId:wt,defaultTheme:T_,defaultClassName:DE.root,generateClassName:fl.generate}),ed=v_;var zu=R(k(),1);function zE(e){return F("MuiButton",e)}var x_=q("MuiButton",["root","text","outlined","contained","disableElevation","focusVisible","disabled","colorInherit","colorPrimary","colorSecondary","colorSuccess","colorError","colorInfo","colorWarning","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","icon","loading","loadingWrapper","loadingIconPlaceholder","loadingIndicator","loadingPositionCenter","loadingPositionStart","loadingPositionEnd"]),$n=x_;var BE=R(k(),1),S_=BE.createContext({}),kE=S_;var UE=R(k(),1),C_=UE.createContext(void 0),jE=C_;var xr=R(L(),1),E_=e=>{let{color:t,disableElevation:o,fullWidth:r,size:n,variant:a,loading:i,loadingPosition:l,classes:s}=e,u={root:["root",i&&"loading",a,`size${re(n)}`,`color${re(t)}`,o&&"disableElevation",r&&"fullWidth",i&&`loadingPosition${re(l)}`],startIcon:["icon","startIcon"],endIcon:["icon","endIcon"],loadingIndicator:["loadingIndicator"],loadingWrapper:["loadingWrapper"]},p=G(u,zE,s);return{...s,...p}},HE=[{props:{size:"small"},style:{"& > *:nth-of-type(1)":{fontSize:18}}},{props:{size:"medium"},style:{"& > *:nth-of-type(1)":{fontSize:20}}},{props:{size:"large"},style:{"& > *:nth-of-type(1)":{fontSize:22}}}],P_=j(Ag,{shouldForwardProp:e=>ot(e)||e==="classes",name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[t.root,t[o.variant],t[`size${re(o.size)}`],o.color==="inherit"&&t.colorInherit,o.disableElevation&&t.disableElevation,o.fullWidth&&t.fullWidth,o.loading&&t.loading]}})(le(({theme:e})=>{let t=e.palette.mode==="light"?e.palette.grey[300]:e.palette.grey[800],o=e.palette.mode==="light"?e.palette.grey.A100:e.palette.grey[700];return{...e.typography.button,minWidth:64,padding:"6px 16px",border:0,borderRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create(["background-color","box-shadow","border-color","color"],{duration:e.transitions.duration.short}),"&:hover":{textDecoration:"none"},[`&.${$n.disabled}`]:{color:(e.vars||e).palette.action.disabled},variants:[{props:{variant:"contained"},style:{color:"var(--variant-containedColor)",backgroundColor:"var(--variant-containedBg)",boxShadow:(e.vars||e).shadows[2],"&:hover":{boxShadow:(e.vars||e).shadows[4],"@media (hover: none)":{boxShadow:(e.vars||e).shadows[2]}},"&:active":{boxShadow:(e.vars||e).shadows[8]},[`&.${$n.focusVisible}`]:{boxShadow:(e.vars||e).shadows[6]},[`&.${$n.disabled}`]:{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground}}},{props:{variant:"outlined"},style:{padding:"5px 15px",border:"1px solid currentColor",borderColor:"var(--variant-outlinedBorder, currentColor)",backgroundColor:"var(--variant-outlinedBg)",color:"var(--variant-outlinedColor)",[`&.${$n.disabled}`]:{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`}}},{props:{variant:"text"},style:{padding:"6px 8px",color:"var(--variant-textColor)",backgroundColor:"var(--variant-textBg)"}},...Object.entries(e.palette).filter(Qt()).map(([r])=>({props:{color:r},style:{"--variant-textColor":(e.vars||e).palette[r].main,"--variant-outlinedColor":(e.vars||e).palette[r].main,"--variant-outlinedBorder":e.alpha((e.vars||e).palette[r].main,.5),"--variant-containedColor":(e.vars||e).palette[r].contrastText,"--variant-containedBg":(e.vars||e).palette[r].main,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":(e.vars||e).palette[r].dark,"--variant-textBg":e.alpha((e.vars||e).palette[r].main,(e.vars||e).palette.action.hoverOpacity),"--variant-outlinedBorder":(e.vars||e).palette[r].main,"--variant-outlinedBg":e.alpha((e.vars||e).palette[r].main,(e.vars||e).palette.action.hoverOpacity)}}}})),{props:{color:"inherit"},style:{color:"inherit",borderColor:"currentColor","--variant-containedBg":e.vars?e.vars.palette.Button.inheritContainedBg:t,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":e.vars?e.vars.palette.Button.inheritContainedHoverBg:o,"--variant-textBg":e.alpha((e.vars||e).palette.text.primary,(e.vars||e).palette.action.hoverOpacity),"--variant-outlinedBg":e.alpha((e.vars||e).palette.text.primary,(e.vars||e).palette.action.hoverOpacity)}}}},{props:{size:"small",variant:"text"},style:{padding:"4px 5px",fontSize:e.typography.pxToRem(13)}},{props:{size:"large",variant:"text"},style:{padding:"8px 11px",fontSize:e.typography.pxToRem(15)}},{props:{size:"small",variant:"outlined"},style:{padding:"3px 9px",fontSize:e.typography.pxToRem(13)}},{props:{size:"large",variant:"outlined"},style:{padding:"7px 21px",fontSize:e.typography.pxToRem(15)}},{props:{size:"small",variant:"contained"},style:{padding:"4px 10px",fontSize:e.typography.pxToRem(13)}},{props:{size:"large",variant:"contained"},style:{padding:"8px 22px",fontSize:e.typography.pxToRem(15)}},{props:{disableElevation:!0},style:{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${$n.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${$n.disabled}`]:{boxShadow:"none"}}},{props:{fullWidth:!0},style:{width:"100%"}},{props:{loadingPosition:"center"},style:{transition:e.transitions.create(["background-color","box-shadow","border-color"],{duration:e.transitions.duration.short}),[`&.${$n.loading}`]:{color:"transparent"}}}]}})),R_=j("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[t.startIcon,o.loading&&t.startIconLoadingStart]}})(({theme:e})=>({display:"inherit",marginRight:8,marginLeft:-4,variants:[{props:{size:"small"},style:{marginLeft:-2}},{props:{loadingPosition:"start",loading:!0},style:{transition:e.transitions.create(["opacity"],{duration:e.transitions.duration.short}),opacity:0}},{props:{loadingPosition:"start",loading:!0,fullWidth:!0},style:{marginRight:-8}},...HE]})),O_=j("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[t.endIcon,o.loading&&t.endIconLoadingEnd]}})(({theme:e})=>({display:"inherit",marginRight:-4,marginLeft:8,variants:[{props:{size:"small"},style:{marginRight:-2}},{props:{loadingPosition:"end",loading:!0},style:{transition:e.transitions.create(["opacity"],{duration:e.transitions.duration.short}),opacity:0}},{props:{loadingPosition:"end",loading:!0,fullWidth:!0},style:{marginLeft:-8}},...HE]})),M_=j("span",{name:"MuiButton",slot:"LoadingIndicator"})(({theme:e})=>({display:"none",position:"absolute",visibility:"visible",variants:[{props:{loading:!0},style:{display:"flex"}},{props:{loadingPosition:"start"},style:{left:14}},{props:{loadingPosition:"start",size:"small"},style:{left:10}},{props:{variant:"text",loadingPosition:"start"},style:{left:6}},{props:{loadingPosition:"center"},style:{left:"50%",transform:"translate(-50%)",color:(e.vars||e).palette.action.disabled}},{props:{loadingPosition:"end"},style:{right:14}},{props:{loadingPosition:"end",size:"small"},style:{right:10}},{props:{variant:"text",loadingPosition:"end"},style:{right:6}},{props:{loadingPosition:"start",fullWidth:!0},style:{position:"relative",left:-10}},{props:{loadingPosition:"end",fullWidth:!0},style:{position:"relative",right:-10}}]})),LE=j("span",{name:"MuiButton",slot:"LoadingIconPlaceholder"})({display:"inline-block",width:"1em",height:"1em"}),A_=zu.forwardRef(function(t,o){let r=zu.useContext(kE),n=zu.useContext(jE),a=br(r,t),i=Y({props:a,name:"MuiButton"}),{children:l,color:s="primary",component:u="button",className:p,disabled:f=!1,disableElevation:d=!1,disableFocusRipple:c=!1,endIcon:T,focusVisibleClassName:v,fullWidth:x=!1,id:m,loading:h=null,loadingIndicator:g,loadingPosition:b="center",size:E="medium",startIcon:S,type:C,variant:O="text",...w}=i,_=mg(m),M=g??(0,xr.jsx)(_g,{"aria-labelledby":_,color:"inherit",size:16}),y={...i,color:s,component:u,disabled:f,disableElevation:d,disableFocusRipple:c,fullWidth:x,loading:h,loadingIndicator:M,loadingPosition:b,size:E,type:C,variant:O},N=E_(y),P=(S||h&&b==="start")&&(0,xr.jsx)(R_,{className:N.startIcon,ownerState:y,children:S||(0,xr.jsx)(LE,{className:N.loadingIconPlaceholder,ownerState:y})}),A=(T||h&&b==="end")&&(0,xr.jsx)(O_,{className:N.endIcon,ownerState:y,children:T||(0,xr.jsx)(LE,{className:N.loadingIconPlaceholder,ownerState:y})}),B=n||"",U=typeof h=="boolean"?(0,xr.jsx)("span",{className:N.loadingWrapper,style:{display:"contents"},children:h&&(0,xr.jsx)(M_,{className:N.loadingIndicator,ownerState:y,children:M})}):null;return(0,xr.jsxs)(P_,{ownerState:y,className:H(r.className,N.root,p,B),component:u,disabled:f||h,focusRipple:!c,focusVisibleClassName:H(N.focusVisible,v),ref:o,internalNativeButton:!0,type:C,id:h?_:m,...w,classes:N,children:[P,b!=="end"&&U,l,b==="end"&&U,A]})}),td=A_;function zl(e=window){let t=e.document.documentElement.clientWidth;return e.innerWidth-t}function w_(e){let t=Tt(e);return t.body===e?qo(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}function Bl(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function VE(e){return parseFloat(qo(e).getComputedStyle(e).paddingRight)||0}function N_(e){let o=["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].includes(e.tagName),r=e.tagName==="INPUT"&&e.getAttribute("type")==="hidden";return o||r}function IE(e,t,o,r,n){let a=[t,o,...r];[].forEach.call(e.children,i=>{let l=!a.includes(i),s=!N_(i);l&&s&&Bl(i,n)})}function Lg(e,t){let o=-1;return e.some((r,n)=>t(r)?(o=n,!0):!1),o}function __(e,t){let o=[],r=e.container;if(!t.disableScrollLock){if(w_(r)){let i=zl(qo(r));o.push({value:r.style.paddingRight,property:"padding-right",el:r}),r.style.paddingRight=`${VE(r)+i}px`;let l=Tt(r).querySelectorAll(".mui-fixed");[].forEach.call(l,s=>{o.push({value:s.style.paddingRight,property:"padding-right",el:s}),s.style.paddingRight=`${VE(s)+i}px`})}let a;if(r.parentNode instanceof DocumentFragment)a=Tt(r).body;else{let i=r.parentElement,l=qo(r);a=i?.nodeName==="HTML"&&l.getComputedStyle(i).overflowY==="scroll"?i:r}o.push({value:a.style.overflow,property:"overflow",el:a},{value:a.style.overflowX,property:"overflow-x",el:a},{value:a.style.overflowY,property:"overflow-y",el:a}),a.style.overflow="hidden"}return()=>{o.forEach(({value:a,el:i,property:l})=>{a?i.style.setProperty(l,a):i.style.removeProperty(l)})}}function D_(e){let t=[];return[].forEach.call(e.children,o=>{o.getAttribute("aria-hidden")==="true"&&t.push(o)}),t}var od=class{constructor(){this.modals=[],this.containers=[]}add(t,o){let r=this.modals.indexOf(t);if(r!==-1)return r;r=this.modals.length,this.modals.push(t),t.modalRef&&Bl(t.modalRef,!1);let n=D_(o);IE(o,t.mount,t.modalRef,n,!0);let a=Lg(this.containers,i=>i.container===o);return a!==-1?(this.containers[a].modals.push(t),r):(this.containers.push({modals:[t],container:o,restore:null,hiddenSiblings:n}),r)}mount(t,o){let r=Lg(this.containers,a=>a.modals.includes(t)),n=this.containers[r];n.restore||(n.restore=__(n,o))}remove(t,o=!0){let r=this.modals.indexOf(t);if(r===-1)return r;let n=Lg(this.containers,i=>i.modals.includes(t)),a=this.containers[n];if(a.modals.splice(a.modals.indexOf(t),1),this.modals.splice(r,1),a.modals.length===0)a.restore&&a.restore(),t.modalRef&&Bl(t.modalRef,o),IE(a.container,t.mount,t.modalRef,a.hiddenSiblings,!1),this.containers.splice(n,1);else{let i=a.modals[a.modals.length-1];i.modalRef&&Bl(i.modalRef,!1)}return r}isTopModal(t){return this.modals.length>0&&this.modals[this.modals.length-1]===t}};var nd=R(k(),1);var Dt=R(k(),1);var Bu=R(L(),1),z_=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function B_(e){let t=parseInt(e.getAttribute("tabindex")||"",10);return Number.isNaN(t)?e.contentEditable==="true"||(e.nodeName==="AUDIO"||e.nodeName==="VIDEO"||e.nodeName==="DETAILS")&&e.getAttribute("tabindex")===null?0:e.tabIndex:t}function k_(e){if(e.tagName!=="INPUT"||e.type!=="radio"||!e.name)return!1;let t=r=>e.ownerDocument.querySelector(`input[type="radio"]${r}`),o=t(`[name="${e.name}"]:checked`);return o||(o=t(`[name="${e.name}"]`)),o!==e}function U_(e){return!(e.disabled||e.tagName==="INPUT"&&e.type==="hidden"||k_(e))}function j_(e){let t=[],o=[];return Array.from(e.querySelectorAll(z_)).forEach((r,n)=>{let a=B_(r);a===-1||!U_(r)||(a===0?t.push(r):o.push({documentOrder:n,tabIndex:a,node:r}))}),o.sort((r,n)=>r.tabIndex===n.tabIndex?r.documentOrder-n.documentOrder:r.tabIndex-n.tabIndex).map(r=>r.node).concat(t)}function L_(){return!0}function H_(e){let{children:t,disableAutoFocus:o=!1,disableEnforceFocus:r=!1,disableRestoreFocus:n=!1,getTabbable:a=j_,isEnabled:i=L_,open:l}=e,s=Dt.useRef(!1),u=Dt.useRef(null),p=Dt.useRef(null),f=Dt.useRef(null),d=Dt.useRef(null),c=Dt.useRef(!1),T=Dt.useRef(null),v=Ut(Yo(t),T),x=Dt.useRef(null);Dt.useEffect(()=>{!l||!T.current||(c.current=!o)},[o,l]),Dt.useEffect(()=>{if(!l||!T.current)return;let g=Tt(T.current),b=Ln(g);return T.current.contains(b)||(T.current.hasAttribute("tabIndex")||T.current.setAttribute("tabIndex","-1"),c.current&&T.current.focus()),()=>{n||(f.current&&f.current.focus&&(s.current=!0,f.current.focus()),f.current=null)}},[l]),Dt.useEffect(()=>{if(!l||!T.current)return;let g=Tt(T.current),b=C=>{if(x.current=C,r||!i()||C.key!=="Tab")return;Ln(g)===T.current&&C.shiftKey&&(s.current=!0,p.current&&p.current.focus())},E=()=>{let C=T.current;if(C===null)return;let O=Ln(g);if(!g.hasFocus()||!i()||s.current){s.current=!1;return}if(C.contains(O)||r&&O!==u.current&&O!==p.current)return;if(O!==d.current)d.current=null;else if(d.current!==null)return;if(!c.current)return;let w=[];if((O===u.current||O===p.current)&&(w=a(T.current)),w.length>0){let _=!!(x.current?.shiftKey&&x.current?.key==="Tab"),M=w[0],y=w[w.length-1];typeof M!="string"&&typeof y!="string"&&(_?y.focus():M.focus())}else C.focus()};g.addEventListener("focusin",E),g.addEventListener("keydown",b,!0);let S=setInterval(()=>{let C=Ln(g);C&&C.tagName==="BODY"&&E()},50);return()=>{clearInterval(S),g.removeEventListener("focusin",E),g.removeEventListener("keydown",b,!0)}},[o,r,n,i,l,a]);let m=g=>{f.current===null&&(f.current=g.relatedTarget),c.current=!0,d.current=g.target;let b=t.props.onFocus;b&&b(g)},h=g=>{f.current===null&&(f.current=g.relatedTarget),c.current=!0};return(0,Bu.jsxs)(Dt.Fragment,{children:[(0,Bu.jsx)("div",{tabIndex:l?0:-1,onFocus:h,ref:u,"data-testid":"sentinelStart"}),Dt.cloneElement(t,{ref:v,onFocus:m}),(0,Bu.jsx)("div",{tabIndex:l?0:-1,onFocus:h,ref:p,"data-testid":"sentinelEnd"})]})}var Hg=H_;var ar=R(k(),1);function V_(e){return typeof e=="function"?e():e}function I_(e){return e?e.props.hasOwnProperty("in"):!1}var FE=()=>{},rd=new od;function F_(e){let{container:t,disableScrollLock:o=!1,closeAfterTransition:r=!1,onTransitionEnter:n,onTransitionExited:a,children:i,onClose:l,open:s,rootRef:u}=e,p=ar.useRef({}),f=ar.useRef(null),d=ar.useRef(null),c=Ut(d,u),[T,v]=ar.useState(!s),x=I_(i),m=!0;(e["aria-hidden"]==="false"||e["aria-hidden"]===!1)&&(m=!1);let h=()=>Tt(f.current),g=()=>(p.current.modalRef=d.current,p.current.mount=f.current,p.current),b=()=>{rd.mount(g(),{disableScrollLock:o}),d.current&&(d.current.scrollTop=0)},E=Go(()=>{let P=V_(t)||h().body;rd.add(g(),P),d.current&&b()}),S=()=>rd.isTopModal(g()),C=Go(P=>{f.current=P,P&&(s&&S()?b():d.current&&Bl(d.current,m))}),O=ar.useCallback(()=>{rd.remove(g(),m)},[m]);ar.useEffect(()=>()=>{O()},[O]),ar.useEffect(()=>{s?E():(!x||!r)&&O()},[s,O,x,r,E]);let w=P=>A=>{P.onKeyDown?.(A),!(A.key!=="Escape"||A.which===229||!S())&&(A.stopPropagation(),l&&l(A,"escapeKeyDown"))},_=P=>A=>{P.onClick?.(A),A.target===A.currentTarget&&l&&l(A,"backdropClick")};return{getRootProps:(P={})=>{let A=Au(e);delete A.onTransitionEnter,delete A.onTransitionExited;let B={...A,...P};return{role:"presentation",...B,onKeyDown:w(B),ref:c}},getBackdropProps:(P={})=>{let A=P;return{"aria-hidden":!0,...A,onClick:_(A),open:s}},getTransitionProps:()=>{let P=()=>{v(!1),n&&n()},A=()=>{v(!0),a&&a(),r&&O()};return{onEnter:vu(P,i?.props.onEnter??FE),onExited:vu(A,i?.props.onExited??FE)}},rootRef:c,portalRef:C,isTopModal:S,exited:T,hasTransition:x}}var qE=F_;function GE(e){return F("MuiModal",e)}var aG=q("MuiModal",["root","hidden","backdrop"]);var kl=R(L(),1),q_=e=>{let{open:t,exited:o,classes:r}=e;return G({root:["root",!t&&o&&"hidden"],backdrop:["backdrop"]},GE,r)},G_=j("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[t.root,!o.open&&o.exited&&t.hidden]}})(le(({theme:e})=>({position:"fixed",zIndex:(e.vars||e).zIndex.modal,right:0,bottom:0,top:0,left:0,variants:[{props:({ownerState:t})=>!t.open&&t.exited,style:{visibility:"hidden"}}]}))),$_=j(jg,{name:"MuiModal",slot:"Backdrop"})({zIndex:-1}),Y_=nd.forwardRef(function(t,o){let r=Y({name:"MuiModal",props:t}),{classes:n,className:a,closeAfterTransition:i=!1,children:l,container:s,component:u,disableAutoFocus:p=!1,disableEnforceFocus:f=!1,disablePortal:d=!1,disableRestoreFocus:c=!1,disableScrollLock:T=!1,hideBackdrop:v=!1,keepMounted:x=!1,onClose:m,onTransitionEnter:h,onTransitionExited:g,open:b,slotProps:E={},slots:S={},theme:C,...O}=r,w={...r,closeAfterTransition:i,disableAutoFocus:p,disableEnforceFocus:f,disablePortal:d,disableRestoreFocus:c,disableScrollLock:T,hideBackdrop:v,keepMounted:x},{getRootProps:_,getBackdropProps:M,getTransitionProps:y,portalRef:N,isTopModal:P,exited:A,hasTransition:B}=qE({...w,rootRef:o}),U={...w,exited:A},V=q_(U),ye={};if(l.props.tabIndex===void 0&&(ye.tabIndex="-1"),B){let{onEnter:He,onExited:ze}=y();ye.onEnter=He,ye.onExited=ze}let se={slots:S,slotProps:E},[K,ce]=Ke("root",{ref:o,elementType:G_,externalForwardedProps:{...se,...O,component:u},getSlotProps:_,ownerState:U,className:H(a,V?.root,!U.open&&U.exited&&V?.hidden)}),[We,De]=Ke("backdrop",{elementType:$_,externalForwardedProps:se,shouldForwardComponentProp:!0,getSlotProps:He=>M({...He,onClick:ze=>{He?.onClick&&He.onClick(ze)}}),className:V?.backdrop,ownerState:U});return!x&&!b&&(!B||A)?null:(0,kl.jsx)(zg,{ref:N,container:s,disablePortal:d,children:(0,kl.jsxs)(K,{...ce,children:[v?null:(0,kl.jsx)(We,{...De}),(0,kl.jsx)(Hg,{disableEnforceFocus:f,disableAutoFocus:p,disableRestoreFocus:c,isEnabled:P,open:b,children:nd.cloneElement(l,ye)})]})})}),Vg=Y_;var $E=R(k(),1);var YE=R(L(),1),K_=e=>{let{classes:t,disableUnderline:o,startAdornment:r,endAdornment:n,size:a,hiddenLabel:i,multiline:l}=e,s={root:["root",!o&&"underline",r&&"adornedStart",n&&"adornedEnd",a==="small"&&`size${re(a)}`,i&&"hiddenLabel",l&&"multiline"],input:["input"]},u=G(s,OE,t);return{...t,...u}},X_=j(Ia,{shouldForwardProp:e=>ot(e)||e==="classes",name:"MuiFilledInput",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[...Ha(e,t),!o.disableUnderline&&t.underline]}})(le(({theme:e})=>{let t=e.palette.mode==="light",o=t?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)",r=t?"rgba(0, 0, 0, 0.06)":"rgba(255, 255, 255, 0.09)",n=t?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.13)",a=t?"rgba(0, 0, 0, 0.12)":"rgba(255, 255, 255, 0.12)";return{position:"relative",backgroundColor:e.vars?e.vars.palette.FilledInput.bg:r,borderTopLeftRadius:(e.vars||e).shape.borderRadius,borderTopRightRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),"&:hover":{backgroundColor:e.vars?e.vars.palette.FilledInput.hoverBg:n,"@media (hover: none)":{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:r}},[`&.${Gn.focused}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:r},[`&.${Gn.disabled}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.disabledBg:a},variants:[{props:({ownerState:i})=>!i.disableUnderline,style:{"&::after":{left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${Gn.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${Gn.error}`]:{"&::before, &::after":{borderBottomColor:(e.vars||e).palette.error.main}},"&::before":{borderBottom:`1px solid ${e.vars?e.alpha(e.vars.palette.common.onBackground,e.vars.opacity.inputUnderline):o}`,left:0,bottom:0,content:'""',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${Gn.disabled}, .${Gn.error}):before`]:{borderBottom:`1px solid ${(e.vars||e).palette.text.primary}`},[`&.${Gn.disabled}:before`]:{borderBottomStyle:"dotted"}}},...Object.entries(e.palette).filter(Qt()).map(([i])=>({props:{disableUnderline:!1,color:i},style:{"&::after":{borderBottom:`2px solid ${(e.vars||e).palette[i]?.main}`}}})),{props:({ownerState:i})=>i.startAdornment,style:{paddingLeft:12}},{props:({ownerState:i})=>i.endAdornment,style:{paddingRight:12}},{props:({ownerState:i})=>i.multiline,style:{padding:"25px 12px 8px"}},{props:({ownerState:i,size:l})=>i.multiline&&l==="small",style:{paddingTop:21,paddingBottom:4}},{props:({ownerState:i})=>i.multiline&&i.hiddenLabel,style:{paddingTop:16,paddingBottom:17}},{props:({ownerState:i})=>i.multiline&&i.hiddenLabel&&i.size==="small",style:{paddingTop:8,paddingBottom:9}}]}})),Q_=j(Fa,{name:"MuiFilledInput",slot:"Input",overridesResolver:Va})(le(({theme:e})=>({paddingTop:25,paddingRight:12,paddingBottom:8,paddingLeft:12,...!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:e.palette.mode==="light"?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:e.palette.mode==="light"?null:"#fff",caretColor:e.palette.mode==="light"?null:"#fff",borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"}},...e.vars&&{"&:-webkit-autofill":{borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},variants:[{props:{size:"small"},style:{paddingTop:21,paddingBottom:4}},{props:({ownerState:t})=>t.hiddenLabel,style:{paddingTop:16,paddingBottom:17}},{props:({ownerState:t})=>t.startAdornment,style:{paddingLeft:0}},{props:({ownerState:t})=>t.endAdornment,style:{paddingRight:0}},{props:({ownerState:t})=>t.hiddenLabel&&t.size==="small",style:{paddingTop:8,paddingBottom:9}},{props:({ownerState:t})=>t.multiline,style:{paddingTop:0,paddingBottom:0,paddingLeft:0,paddingRight:0}}]}))),KE=$E.forwardRef(function(t,o){let r=Y({props:t,name:"MuiFilledInput"}),{disableUnderline:n=!1,fullWidth:a=!1,hiddenLabel:i,inputComponent:l="input",multiline:s=!1,slotProps:u,slots:p={},type:f="text",...d}=r,c={...r,disableUnderline:n,fullWidth:a,inputComponent:l,multiline:s,type:f},T=K_(r),v={root:{ownerState:c},input:{ownerState:c}},x=u?Te(v,u):v,m=p.root??X_,h=p.input??Q_;return(0,YE.jsx)(qa,{slots:{root:m,input:h},slotProps:x,fullWidth:a,inputComponent:l,multiline:s,ref:o,type:f,...d,classes:T})});KE.muiName="Input";var ku=KE;var Lt=R(k(),1);function XE(e){return F("MuiFormControl",e)}var LG=q("MuiFormControl",["root","marginNone","marginNormal","marginDense","fullWidth","disabled"]);var Ig=R(L(),1),Z_=e=>{let{classes:t,margin:o,fullWidth:r}=e,n={root:["root",o!=="none"&&`margin${re(o)}`,r&&"fullWidth"]};return G(n,XE,t)},W_=j("div",{name:"MuiFormControl",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[t.root,t[`margin${re(o.margin)}`],o.fullWidth&&t.fullWidth]}})({display:"inline-flex",flexDirection:"column",position:"relative",minWidth:0,padding:0,margin:0,border:0,verticalAlign:"top",variants:[{props:{margin:"normal"},style:{marginTop:16,marginBottom:8}},{props:{margin:"dense"},style:{marginTop:8,marginBottom:4}},{props:{fullWidth:!0},style:{width:"100%"}}]}),J_=Lt.forwardRef(function(t,o){let r=Y({props:t,name:"MuiFormControl"}),{children:n,className:a,color:i="primary",component:l="div",disabled:s=!1,error:u=!1,focused:p,fullWidth:f=!1,hiddenLabel:d=!1,margin:c="none",required:T=!1,size:v="medium",variant:x="outlined",...m}=r,h={...r,color:i,component:l,disabled:s,error:u,fullWidth:f,hiddenLabel:d,margin:c,required:T,size:v,variant:x},g=Z_(h),[b,E]=Lt.useState(()=>{let B=!1;return n&&Lt.Children.forEach(n,U=>{if(!jf(U,["Input","Select"]))return;let V=jf(U,["Select"])?U.props.input:U;V&&xE(V.props)&&(B=!0)}),B}),[S,C]=Lt.useState(()=>{let B=!1;return n&&Lt.Children.forEach(n,U=>{jf(U,["Input","Select"])&&(ja(U.props,!0)||ja(U.props.inputProps,!0))&&(B=!0)}),B}),[O,w]=Lt.useState(!1);s&&O&&w(!1);let _=p!==void 0&&!s?p:O,M,y=Lt.useRef(!1),N=Lt.useCallback(()=>{C(!0)},[]),P=Lt.useCallback(()=>{C(!1)},[]),A=Lt.useMemo(()=>({adornedStart:b,setAdornedStart:E,color:i,disabled:s,error:u,filled:S,focused:_,fullWidth:f,hiddenLabel:d,size:v,onBlur:()=>{w(!1)},onFocus:()=>{w(!0)},onEmpty:P,onFilled:N,registerEffect:M,required:T,variant:x}),[b,i,s,u,S,_,f,d,M,P,N,T,v,x]);return(0,Ig.jsx)(Nl.Provider,{value:A,children:(0,Ig.jsx)(W_,{as:l,ownerState:h,className:H(g.root,a),ref:o,...m,children:n})})}),Fg=J_;var WE=R(k(),1);function QE(e){return F("MuiFormHelperText",e)}var eD=q("MuiFormHelperText",["root","error","disabled","sizeSmall","sizeMedium","contained","focused","filled","required"]),qg=eD;var Gg=R(L(),1),ZE,tD=e=>{let{classes:t,contained:o,size:r,disabled:n,error:a,filled:i,focused:l,required:s}=e,u={root:["root",n&&"disabled",a&&"error",r&&`size${re(r)}`,o&&"contained",l&&"focused",i&&"filled",s&&"required"]};return G(u,QE,t)},oD=j("p",{name:"MuiFormHelperText",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[t.root,o.size&&t[`size${re(o.size)}`],o.contained&&t.contained,o.filled&&t.filled]}})(le(({theme:e})=>({color:(e.vars||e).palette.text.secondary,...e.typography.caption,textAlign:"left",marginTop:3,marginRight:0,marginBottom:0,marginLeft:0,[`&.${qg.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${qg.error}`]:{color:(e.vars||e).palette.error.main},variants:[{props:{size:"small"},style:{marginTop:4}},{props:({ownerState:t})=>t.contained,style:{marginLeft:14,marginRight:14}}]}))),rD=WE.forwardRef(function(t,o){let r=Y({props:t,name:"MuiFormHelperText"}),{children:n,className:a,component:i="p",disabled:l,error:s,filled:u,focused:p,margin:f,required:d,variant:c,...T}=r,v=Oo(),x=Ro({props:r,muiFormControl:v,states:["variant","size","disabled","error","filled","focused","required"]}),m={...r,component:i,contained:x.variant==="filled"||x.variant==="outlined",variant:x.variant,size:x.size,disabled:x.disabled,error:x.error,filled:x.filled,focused:x.focused,required:x.required};delete m.ownerState;let h=tD(m);return(0,Gg.jsx)(oD,{as:i,className:H(h.root,a),ref:o,...T,ownerState:m,children:n===" "?ZE||(ZE=(0,Gg.jsx)("span",{className:"notranslate","aria-hidden":!0,children:"\u200B"})):n})}),$g=rD;var eP=R(k(),1);function JE(e){return F("MuiFormLabel",e)}var nD=q("MuiFormLabel",["root","colorSecondary","focused","disabled","error","filled","required","asterisk"]),Yn=nD;var Yg=R(L(),1),aD=e=>{let{classes:t,color:o,focused:r,disabled:n,error:a,filled:i,required:l}=e,s={root:["root",`color${re(o)}`,n&&"disabled",a&&"error",i&&"filled",r&&"focused",l&&"required"],asterisk:["asterisk",a&&"error"]};return G(s,JE,t)},iD=j("label",{name:"MuiFormLabel",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[t.root,o.color==="secondary"&&t.colorSecondary,o.filled&&t.filled]}})(le(({theme:e})=>({color:(e.vars||e).palette.text.secondary,...e.typography.body1,lineHeight:"1.4375em",padding:0,position:"relative",variants:[...Object.entries(e.palette).filter(Qt()).map(([t])=>({props:{color:t},style:{[`&.${Yn.focused}`]:{color:(e.vars||e).palette[t].main}}})),{props:{},style:{[`&.${Yn.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${Yn.error}`]:{color:(e.vars||e).palette.error.main}}}]}))),lD=j("span",{name:"MuiFormLabel",slot:"Asterisk"})(le(({theme:e})=>({[`&.${Yn.error}`]:{color:(e.vars||e).palette.error.main}}))),sD=eP.forwardRef(function(t,o){let r=Y({props:t,name:"MuiFormLabel"}),{children:n,className:a,color:i,component:l="label",disabled:s,error:u,filled:p,focused:f,required:d,...c}=r,T=Oo(),v=Ro({props:r,muiFormControl:T,states:["color","required","focused","disabled","error","filled"]}),x={...r,color:v.color||"primary",component:l,disabled:v.disabled,error:v.error,filled:v.filled,focused:v.focused,required:v.required},m=aD(x);return(0,Yg.jsxs)(iD,{as:l,ownerState:x,className:H(m.root,a),ref:o,...c,children:[n,v.required&&(0,Yg.jsxs)(lD,{ownerState:x,"aria-hidden":!0,className:m.asterisk,children:["\u2009","*"]})]})}),Kg=sD;var Ga=R(k(),1);var tP=R(L(),1);function Uu(e){return`scale(${e}, ${e**2})`}var uD={entering:{opacity:1,transform:Uu(1)},entered:{opacity:1,transform:"none"},exiting:{opacity:0,transform:Uu(.75)},exited:{opacity:0,transform:Uu(.75)}},cD={opacity:0,transform:Uu(.75),visibility:"hidden"},Xg=Ga.forwardRef(function(t,o){let{addEndListener:r,appear:n=!0,children:a,easing:i,in:l,onEnter:s,onEntered:u,onEntering:p,onExit:f,onExited:d,onExiting:c,style:T,timeout:v="auto",...x}=t,m=Ol(),h=Ga.useRef(),g=jn(),b=Ga.useRef(null),E=Xt(b,Yo(a),o),S=io(b,p),C=io(b,(N,P)=>{Gf(N);let{duration:A,delay:B,easing:U}=Ml({style:T,timeout:v,easing:i},{mode:"enter"}),V;v==="auto"?(V=g.transitions.getAutoHeightDuration(N.clientHeight),h.current=V):V=A,N.style.transition=[g.transitions.create("opacity",{duration:V,delay:B}),g.transitions.create("transform",{duration:V*.666,delay:B,easing:U})].join(","),s&&s(N,P)}),O=io(b,u),w=io(b,c),_=io(b,N=>{let{duration:P,delay:A,easing:B}=Ml({style:T,timeout:v,easing:i},{mode:"exit"}),U;v==="auto"?(U=g.transitions.getAutoHeightDuration(N.clientHeight),h.current=U):U=P,N.style.transition=[g.transitions.create("opacity",{duration:U,delay:A}),g.transitions.create("transform",{duration:U*.666,delay:A||U*.333,easing:B})].join(","),N.style.opacity=0,N.style.transform=Uu(.75),f&&f(N)}),M=io(b,N=>{N.style.transition="",d&&d(N)});return(0,tP.jsx)(Pu,{appear:n,in:l,nodeRef:b,onEnter:C,onEntered:O,onEntering:S,onExit:_,onExited:M,onExiting:w,addEndListener:N=>{v==="auto"&&m.start(h.current||0,N),r&&r(b.current,N)},timeout:v==="auto"?null:v,...x,children:(N,{ownerState:P,...A})=>{let B=$f(N,l,uD,cD,T,a.props.style);return Ga.cloneElement(a,{style:B,ref:E,...A})}})});Xg&&(Xg.muiSupportAuto=!0);var Qg=Xg;var nP=R(k(),1);function oP(e){return F("MuiInputLabel",e)}var pD=q("MuiInputLabel",["root","focused","disabled","error","required","asterisk","formControl","sizeSmall","shrink","animated","standard","filled","outlined"]),rP=pD;var aP=R(L(),1),fD=e=>{let{classes:t,disableUnderline:o}=e,n=G({root:["root",!o&&"underline"],input:["input"]},PE,t);return{...t,...n}},dD=j(Ia,{shouldForwardProp:e=>ot(e)||e==="classes",name:"MuiInput",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[...Ha(e,t),!o.disableUnderline&&t.underline]}})(le(({theme:e})=>{let o=e.palette.mode==="light"?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)";return e.vars&&(o=e.alpha(e.vars.palette.common.onBackground,e.vars.opacity.inputUnderline)),{position:"relative",variants:[{props:({ownerState:r})=>r.formControl,style:{[`label + &, .${rP.root} + &`]:{marginTop:16}}},{props:({ownerState:r})=>!r.disableUnderline,style:{"&::after":{left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${_l.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${_l.error}`]:{"&::before, &::after":{borderBottomColor:(e.vars||e).palette.error.main}},"&::before":{borderBottom:`1px solid ${o}`,left:0,bottom:0,content:'""',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${_l.disabled}, .${_l.error}):before`]:{borderBottom:`2px solid ${(e.vars||e).palette.text.primary}`,"@media (hover: none)":{borderBottom:`1px solid ${o}`}},[`&.${_l.disabled}:before`]:{borderBottomStyle:"dotted"}}},...Object.entries(e.palette).filter(Qt()).map(([r])=>({props:{color:r,disableUnderline:!1},style:{"&::after":{borderBottom:`2px solid ${(e.vars||e).palette[r].main}`}}}))]}})),mD=j(Fa,{name:"MuiInput",slot:"Input",overridesResolver:Va})({}),iP=nP.forwardRef(function(t,o){let r=Y({props:t,name:"MuiInput"}),{disableUnderline:n=!1,fullWidth:a=!1,inputComponent:i="input",multiline:l=!1,slotProps:s,slots:u={},type:p="text",...f}=r,d=fD(r),T={root:{ownerState:{disableUnderline:n}}},v=s?Te(s,T):T,x=u.root??dD,m=u.input??mD;return(0,aP.jsx)(qa,{slots:{root:x,input:m},slotProps:v,fullWidth:a,inputComponent:i,multiline:l,ref:o,type:p,...f,classes:d})});iP.muiName="Input";var ju=iP;var lP=R(k(),1);var sP=R(L(),1),yD=e=>{let{classes:t,formControl:o,size:r,shrink:n,disableAnimation:a,variant:i,required:l}=e,s={root:["root",o&&"formControl",!a&&"animated",n&&"shrink",r&&r!=="medium"&&`size${re(r)}`,i],asterisk:[l&&"asterisk"]},u=G(s,oP,t);return{...t,...u}},hD=j(Kg,{shouldForwardProp:e=>ot(e)||e==="classes",name:"MuiInputLabel",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[{[`& .${Yn.asterisk}`]:t.asterisk},t.root,o.formControl&&t.formControl,o.size==="small"&&t.sizeSmall,o.shrink&&t.shrink,!o.disableAnimation&&t.animated,o.focused&&t.focused,t[o.variant]]}})(le(({theme:e})=>({display:"block",transformOrigin:"top left",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",maxWidth:"100%",variants:[{props:({ownerState:t})=>t.formControl,style:{position:"absolute",left:0,top:0,transform:"translate(0, 20px) scale(1)"}},{props:{size:"small"},style:{transform:"translate(0, 17px) scale(1)"}},{props:({ownerState:t})=>t.shrink,style:{transform:"translate(0, -1.5px) scale(0.75)",transformOrigin:"top left",maxWidth:"133%"}},{props:({ownerState:t})=>!t.disableAnimation,style:{transition:e.transitions.create(["color","transform","max-width"],{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut})}},{props:{variant:"filled"},style:{zIndex:1,pointerEvents:"none",transform:"translate(12px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"}},{props:{variant:"filled",size:"small"},style:{transform:"translate(12px, 13px) scale(1)"}},{props:({variant:t,ownerState:o})=>t==="filled"&&o.shrink,style:{userSelect:"none",pointerEvents:"auto",transform:"translate(12px, 7px) scale(0.75)",maxWidth:"calc(133% - 24px)"}},{props:({variant:t,ownerState:o,size:r})=>t==="filled"&&o.shrink&&r==="small",style:{transform:"translate(12px, 4px) scale(0.75)"}},{props:{variant:"outlined"},style:{zIndex:1,pointerEvents:"none",transform:"translate(14px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"}},{props:{variant:"outlined",size:"small"},style:{transform:"translate(14px, 9px) scale(1)"}},{props:({variant:t,ownerState:o})=>t==="outlined"&&o.shrink,style:{userSelect:"none",pointerEvents:"auto",maxWidth:"calc(133% - 32px)",transform:"translate(14px, -9px) scale(0.75)"}}]}))),gD=lP.forwardRef(function(t,o){let r=Y({name:"MuiInputLabel",props:t}),{disableAnimation:n=!1,margin:a,shrink:i,variant:l,className:s,...u}=r,p=Oo(),f=i;typeof f>"u"&&p&&(f=p.filled||p.focused||p.adornedStart);let d=Ro({props:r,muiFormControl:p,states:["size","variant","required","focused"]}),c={...r,disableAnimation:n,formControl:p,shrink:f,size:d.size,variant:d.variant,required:d.required,focused:d.focused},T=yD(c);return(0,sP.jsx)(hD,{"data-shrink":f,ref:o,className:H(T.root,s),...u,ownerState:c,classes:T})}),Zg=gD;var ad=R(k(),1);var uP=R(k(),1),bD=uP.createContext({}),cP=bD;function pP(e){return F("MuiList",e)}var RY=q("MuiList",["root","padding","dense","subheader"]);var id=R(L(),1),TD=e=>{let{classes:t,disablePadding:o,dense:r,subheader:n}=e;return G({root:["root",!o&&"padding",r&&"dense",n&&"subheader"]},pP,t)},vD=j("ul",{name:"MuiList",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[t.root,!o.disablePadding&&t.padding,o.dense&&t.dense,o.subheader&&t.subheader]}})({listStyle:"none",margin:0,padding:0,position:"relative",variants:[{props:({ownerState:e})=>!e.disablePadding,style:{paddingTop:8,paddingBottom:8}},{props:({ownerState:e})=>e.subheader,style:{paddingTop:0}}]}),xD=ad.forwardRef(function(t,o){let r=Y({props:t,name:"MuiList"}),{children:n,className:a,component:i="ul",dense:l=!1,disablePadding:s=!1,subheader:u,...p}=r,f=ad.useMemo(()=>({dense:l}),[l]),d={...r,component:i,dense:l,disablePadding:s},c=TD(d);return(0,id.jsx)(cP.Provider,{value:f,children:(0,id.jsxs)(vD,{as:i,className:H(c.root,a),ref:o,ownerState:d,...p,children:[u,n]})})}),Wg=xD;var yd=R(k(),1);var lo=R(k(),1);var Jg=R(k(),1),eb=Jg.createContext(void 0);var vt=R(k(),1);var SD=Object.is;function ld(e,t){if(e===t)return!0;if(!(e instanceof Object)||!(t instanceof Object))return!1;let o=0,r=0;for(let n in e)if(o+=1,!SD(e[n],t[n])||!(n in t))return!1;for(let n in t)r+=1;return o===r}var CD=["ArrowRight","ArrowLeft","ArrowUp","ArrowDown","Home","End"];function rb(e){let{activeItemId:t,getDefaultActiveItemId:o,orientation:r,isRtl:n=!1,isItemFocusable:a=Ul,wrap:i=!0}=e,[l,s]=vt.useState(t),u=vt.useRef(t),p=l;t!==u.current&&(u.current=t,t!==void 0&&t!==l&&(p=t,s(t)));let f=vt.useRef(null),d=vt.useRef(new Map),[c,T]=vt.useState(0),v=vt.useMemo(()=>tb(d.current),[c]),x=fP(p,v,a,o),m=vt.useRef(x);m.current=x;let h=vt.useCallback(()=>{let M=tb(d.current),y=fP(m.current,M,a,o);return gP(M,y)},[o,a]),g=vt.useCallback(()=>d.current,[]),b=Go(M=>{let y=d.current.get(M.id);ld(y??null,M)||(d.current.set(M.id,M),T(N=>N+1))}),E=Go(M=>{d.current.delete(M)&&T(y=>y+1)}),S=Go(M=>{s(M)}),C=vt.useCallback(M=>m.current===M,[]),O=vt.useCallback((M,y,N,P)=>{let A=sd(d.current),B=yP(A,M,y,N,P??a);return B?(B.element?.focus(),s(B.id),B):null},[a]),w=vt.useCallback(M=>({onFocus:P=>{let A=sd(d.current),B=TP(A,P.target);B!==-1&&s(A[B].id)},onKeyDown:P=>{if(P.altKey||P.shiftKey||P.ctrlKey||P.metaKey||!CD.includes(P.key))return;let A=r==="horizontal"?"ArrowLeft":"ArrowUp",B=r==="horizontal"?"ArrowRight":"ArrowDown";r==="horizontal"&&n&&(A="ArrowRight",B="ArrowLeft");let U=sd(d.current),V=_a(Tt(f.current)),ye=V===f.current,se=dP(U,V,m.current),K="next";switch(P.key){case A:K="previous",P.preventDefault(),ye&&(se=U.length);break;case B:P.preventDefault(),ye&&(se=-1);break;case"Home":P.preventDefault(),se=-1;break;case"End":P.preventDefault(),K="previous",se=U.length;break;default:return}O(se,K,i)},ref:OD(M,P=>{f.current=P})}),[O,n,r,i]),_=vt.useCallback(M=>{let y=sd(d.current),N=_a(Tt(f.current)),A=N===f.current?-1:dP(y,N,m.current);return O(A,"next",!0,M)?.id??null},[O]);return vt.useMemo(()=>({activeItemId:x,focusNext:_,getActiveItem:h,getContainerProps:w,getItemMap:g,isItemActive:C,registerItem:b,setActiveItemId:S,unregisterItem:E}),[x,_,h,w,g,C,b,S,E])}function fP(e,t,o,r){return e!=null?ED(e,t,o):PD(t,o,r)}function ED(e,t,o){let r=bP(t,e);return r===-1?hP(t,o):o(t[r])?t[r].id:yP(t,r,"next",!1,o)?.id??null}function PD(e,t,o){let r=o?.(e);if(r!=null){let n=gP(e,r);if(n&&t(n))return n.id}return hP(e,t)}function dP(e,t,o){if(t){let r=TP(e,t);if(r!==-1)return r}return bP(e,o)}function yP(e,t,o,r,n){let a=e.length-1;if(a===-1)return null;let i=!1,l=mP(t,a,o,r),s=l;for(;l!==-1;){if(l===s){if(i)return null;i=!0}let u=e[l];if(!u||!n(u))l=mP(l,a,o,r);else return u}return null}function hP(e,t){return e.find(o=>t(o))?.id??null}function gP(e,t){return t==null?null:e.find(o=>o.id===t)??null}function bP(e,t){return t==null?-1:e.findIndex(o=>o.id===t)}function TP(e,t){return t?e.findIndex(o=>o.element===t||o.element?.contains(t)):-1}function tb(e){let t=Array.from(e.values());if(t.every(n=>n.element==null))return t;let o=t.filter(ob).sort((n,a)=>RD(n.element,a.element)),r=t.filter(n=>!ob(n));return[...o,...r]}function sd(e){return tb(e).filter(ob)}function mP(e,t,o,r=!0){return o==="next"?e===t?r?0:-1:e+1:e===0?r?t:-1:e-1}function Ul(e){return e.element?e.focusableWhenDisabled?!0:!e.disabled&&!e.element.hasAttribute("disabled")&&e.element.getAttribute("aria-disabled")!=="true"&&e.element.hasAttribute("tabindex"):!1}function ob(e){return e.element!=null&&e.element.isConnected}function RD(e,t){if(e===t)return 0;let o=e.compareDocumentPosition(t);return o&Node.DOCUMENT_POSITION_FOLLOWING||o&Node.DOCUMENT_POSITION_CONTAINED_BY?-1:o&Node.DOCUMENT_POSITION_PRECEDING||o&Node.DOCUMENT_POSITION_CONTAINS?1:0}function OD(...e){return t=>{e.forEach(o=>{Da(o??null,t)})}}var vP=zl;function nb(e,t){if(t==null){e.focus();return}try{e.focus({focusVisible:t==="keyboard"})}catch{e.focus()}}function ud(e){return e?e.type==="mousedown"||e.type==="pointerdown"||e.type==="touchstart"?"pointer":e.type==="keydown"||e.type==="click"&&e.detail===0?"keyboard":null:null}function cd(e){return e==null||typeof e=="string"&&!e.trim()}function Lu(e,t){return typeof t=="object"&&t!==null?e===t:String(e)===String(t)}var pd=R(k(),1),xP=pd.createContext(null);function ab(){return pd.useContext(xP)}var ib=xP.Provider;var lb=R(k(),1),SP=lb.createContext(void 0);var fd=R(L(),1);function MD(e){let t=e?.element??e;if(!t)return"";if(e?.textValue!==void 0)return e.textValue;let o=t.innerText;return o===void 0&&(o=t.textContent),o??""}function CP(e,t){if(t===void 0)return!0;let o=MD(e);return o=o.trim().toLowerCase(),o.length===0?!1:t.repeating?o[0]===t.keys[0]:o.startsWith(t.keys.join(""))}function AD(e,t){return CP(e,t)?Ul(e):!1}function wD(e,t){nb(e,t)}var ND=lo.forwardRef(function(t,o){let{actions:r,autoFocus:n=!1,autoFocusItem:a=!1,children:i,className:l,disabledItemsFocusable:s=!1,disableListWrap:u=!1,onKeyDown:p,variant:f="selectedMenu",...d}=t,c=lo.useRef(null),T=lo.useRef(!1),[v,x]=lo.useState(!1),m=ab(),h=lo.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null}),g=lo.useCallback(A=>f==="selectedMenu"?A.find(B=>B.selected&&Ul(B))?.id??A.find(B=>Ul(B))?.id??null:A.find(B=>Ul(B))?.id??null,[f]),b=rb({activeItemId:void 0,getDefaultActiveItemId:g,orientation:"vertical",wrap:!u}),{activeItemId:E,focusNext:S,getActiveItem:C,getContainerProps:O,getItemMap:w}=b,_=Vn((A=!1)=>{if(!c.current||!A&&T.current)return null;if(a){let B=C();if(B?.element){let U=Array.from(w().values()).some(ye=>ye.selected),V=f==="menu"&&U&&!B.selected&&m==null;return x(V),wD(B.element,m),T.current=!0,B.element}return n?(x(!1),c.current.focus(),c.current):null}return n?(x(!1),c.current.focus(),T.current=!0,c.current):(x(!1),null)});Lf(()=>{if(!n&&!a){T.current=!1,x(!1);return}_()},[E,a,n,_]),lo.useImperativeHandle(r,()=>({adjustStyleForScrollbar:(A,{direction:B})=>{let U=!c.current.style.width;if(A.clientHeight<c.current.clientHeight&&U){let V=`${vP(xu(A))}px`;c.current.style[B==="rtl"?"paddingLeft":"paddingRight"]=V,c.current.style.width=`calc(100% + ${V})`}return c.current},focusInitialTarget:()=>{if(!c.current)return null;let A=Ln(Hn(c.current));return A&&c.current.contains(A)?A:_(!0)}}),[_]);let M=O(),y=Xt(c,M.ref,o),N=lo.useMemo(()=>({itemsFocusableWhenDisabled:s,suppressInitialFocusVisible:v,variant:f}),[s,v,f]),P=Vn(A=>{if(v&&x(!1),(A.ctrlKey||A.metaKey||A.altKey)&&p){p(A);return}if(M.onKeyDown(A),A.key.length===1){let U=h.current,V=A.key.toLowerCase(),ye=performance.now();U.keys.length>0&&(ye-U.lastTime>500?(U.keys=[],U.repeating=!0,U.previousKeyMatched=!0):U.repeating&&V!==U.keys[0]&&(U.repeating=!1)),U.lastTime=ye,U.keys.push(V);let se=Ln(Hn(c.current)),K=se&&!U.repeating&&CP(se,U);U.previousKeyMatched&&(K||S(ce=>AD(ce,U))!=null)?A.preventDefault():U.previousKeyMatched=!1}p&&p(A)});return(0,fd.jsx)(Wg,{role:"menu",ref:y,className:l,onKeyDown:P,onFocus:M.onFocus,tabIndex:-1,...d,children:(0,fd.jsx)(SP.Provider,{value:N,children:(0,fd.jsx)(eb.Provider,{value:b,children:i})})})}),sb=ND;var zt=R(k(),1);function EP(e){return F("MuiPopover",e)}var AK=q("MuiPopover",["root","paper"]);var md=R(L(),1);function PP(e,t){let o=0;return typeof t=="number"?o=t:t==="center"?o=e.height/2:t==="bottom"&&(o=e.height),o}function RP(e,t){let o=0;return typeof t=="number"?o=t:t==="center"?o=e.width/2:t==="right"&&(o=e.width),o}function OP(e){return[e.horizontal,e.vertical].map(t=>typeof t=="number"?`${t}px`:t).join(" ")}function dd(e){return typeof e=="function"?e():e}var _D=e=>{let{classes:t}=e;return G({root:["root"],paper:["paper"]},EP,t)},DD=j(Vg,{name:"MuiPopover",slot:"Root"})({}),ub=j(Al,{name:"MuiPopover",slot:"Paper"})({position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}),zD=zt.forwardRef(function(t,o){let r=Y({props:t,name:"MuiPopover"}),{action:n,anchorEl:a,anchorOrigin:i={vertical:"top",horizontal:"left"},anchorPosition:l,anchorReference:s="anchorEl",children:u,className:p,container:f,disableAutoFocus:d=!1,elevation:c=8,marginThreshold:T=16,open:v,slots:x={},slotProps:m={},transformOrigin:h={vertical:"top",horizontal:"left"},transitionDuration:g="auto",disableScrollLock:b=!1,...E}=r,S=zt.useRef(),C={...r,anchorOrigin:i,anchorReference:s,elevation:c,marginThreshold:T,transformOrigin:h,transitionDuration:g},O=_D(C),w=zt.useCallback(()=>{if(s==="anchorPosition")return l;let W=dd(a),he=(W&&W.nodeType===1?W:Hn(S.current).body).getBoundingClientRect();return{top:he.top+PP(he,i.vertical),left:he.left+RP(he,i.horizontal)}},[a,i.horizontal,i.vertical,l,s]),_=zt.useCallback(W=>({vertical:PP(W,h.vertical),horizontal:RP(W,h.horizontal)}),[h.horizontal,h.vertical]),M=zt.useCallback(W=>{let J={width:W.offsetWidth,height:W.offsetHeight},he=_(J);if(s==="none")return{top:null,left:null,transformOrigin:OP(he)};let xt=w(),ae=xt.top-he.vertical,Pe=xt.left-he.horizontal,st=ae+J.height,Ht=Pe+J.width,qe=xu(dd(a)),ut=qe.innerHeight-T,St=qe.innerWidth-T;if(T!=null&&ae<T){let fe=ae-T;ae-=fe,he.vertical+=fe}else if(T!=null&&st>ut){let fe=st-ut;ae-=fe,he.vertical+=fe}if(T!=null&&Pe<T){let fe=Pe-T;Pe-=fe,he.horizontal+=fe}else if(Ht>St){let fe=Ht-St;Pe-=fe,he.horizontal+=fe}return{top:`${Math.round(ae)}px`,left:`${Math.round(Pe)}px`,transformOrigin:OP(he)}},[a,s,w,_,T]),[y,N]=zt.useState(v),P=zt.useCallback(()=>{let W=S.current;if(!W)return;let J=M(W);J.top!=null&&W.style.setProperty("top",J.top),J.left!=null&&(W.style.left=J.left),W.style.transformOrigin=J.transformOrigin,N(!0)},[M]);zt.useEffect(()=>(b&&window.addEventListener("scroll",P),()=>window.removeEventListener("scroll",P)),[a,b,P]);let A=()=>{P()},B=()=>{N(!1)};zt.useEffect(()=>{v&&P()}),zt.useImperativeHandle(n,()=>v?{updatePosition:()=>{P()}}:null,[v,P]),zt.useEffect(()=>{if(!v)return;let W=$C(()=>{P()}),J=xu(dd(a));return J.addEventListener("resize",W),()=>{W.clear(),J.removeEventListener("resize",W)}},[a,v,P]);let U=g,V={slots:x,slotProps:m},[ye,se]=Ke("transition",{elementType:Qg,externalForwardedProps:V,ownerState:C,getSlotProps:W=>({...W,onEntering:(J,he)=>{W.onEntering?.(J,he),A()},onExited:J=>{W.onExited?.(J),B()}}),additionalProps:{appear:!0,in:v}});g==="auto"&&!ye.muiSupportAuto&&(U=void 0);let K=f||(a?Hn(dd(a)).body:void 0),[ce,{slots:We,slotProps:De,...He}]=Ke("root",{ref:o,elementType:DD,externalForwardedProps:{...V,...E},shouldForwardComponentProp:!0,additionalProps:{slots:{backdrop:x.backdrop},slotProps:{backdrop:gg(typeof m.backdrop=="function"?m.backdrop(C):m.backdrop,{invisible:!0})},container:K,open:v},ownerState:C,className:H(O.root,p)}),[ze,X]=Ke("paper",{ref:S,className:O.paper,elementType:ub,externalForwardedProps:V,shouldForwardComponentProp:!0,additionalProps:{elevation:c,style:y?void 0:{opacity:0}},ownerState:C});return(0,md.jsx)(ce,{...He,...!In(ce)&&{slots:We,slotProps:De,disableAutoFocus:d,disableScrollLock:b},children:(0,md.jsx)(ye,{...se,timeout:U,children:(0,md.jsx)(ze,{...X,children:u})})})}),cb=zD;function MP(e){return F("MuiMenu",e)}var WK=q("MuiMenu",["root","paper","list"]);var pb=R(L(),1),BD={vertical:"top",horizontal:"right"},kD={vertical:"top",horizontal:"left"},UD=e=>{let{classes:t}=e;return G({root:["root"],paper:["paper"],list:["list"]},MP,t)},jD=j(cb,{shouldForwardProp:e=>ot(e)||e==="classes",name:"MuiMenu",slot:"Root"})({}),LD=j(ub,{name:"MuiMenu",slot:"Paper"})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),HD=j(sb,{name:"MuiMenu",slot:"List"})({outline:0}),VD=yd.forwardRef(function(t,o){let r=Y({props:t,name:"MuiMenu"}),{autoFocus:n=!0,children:a,className:i,disableAutoFocusItem:l=!1,onClose:s,open:u,PopoverClasses:p,transitionDuration:f="auto",variant:d="selectedMenu",slots:c={},slotProps:T={},...v}=r,x=iC(),m={...r,autoFocus:n,disableAutoFocusItem:l,transitionDuration:f,variant:d},h=UD(m),g=n&&u,b=g&&!l,E=yd.useRef(null),S=(A,B)=>{E.current&&(E.current.adjustStyleForScrollbar(A,{direction:x?"rtl":"ltr"}),g&&E.current.focusInitialTarget?.())},C=A=>{A.key==="Tab"&&(A.preventDefault(),s&&s(A,"tabKeyDown"))},O={slots:c,slotProps:T},w=Dg({elementType:c.root,externalSlotProps:T.root,ownerState:m,className:[h.root,i]}),[_,M]=Ke("paper",{className:h.paper,elementType:LD,externalForwardedProps:O,shouldForwardComponentProp:!0,ownerState:m}),[y,N]=Ke("list",{className:h.list,elementType:HD,shouldForwardComponentProp:!0,externalForwardedProps:O,getSlotProps:A=>({...A,onKeyDown:B=>{C(B),A.onKeyDown?.(B)}}),ownerState:m}),P=typeof T.transition=="function"?T.transition(m):T.transition;return(0,pb.jsx)(jD,{disableAutoFocus:n,onClose:s,anchorOrigin:{vertical:"bottom",horizontal:x?"right":"left"},transformOrigin:x?BD:kD,slots:{root:c.root,paper:_,backdrop:c.backdrop,transition:c.transition},slotProps:{root:w,paper:M,backdrop:typeof T.backdrop=="function"?T.backdrop(m):T.backdrop,transition:{...P,onEntering:(...A)=>{S(...A),P?.onEntering?.(...A)}}},open:u,ref:o,transitionDuration:f,ownerState:m,...v,classes:p,children:(0,pb.jsx)(y,{actions:E,autoFocus:g,autoFocusItem:b,variant:d,...N,children:a})})}),AP=VD;var gd=R(k(),1);function wP(e){return F("MuiNativeSelect",e)}var ID=q("MuiNativeSelect",["root","select","multiple","filled","outlined","standard","disabled","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]),hd=ID;var Hu=R(L(),1),FD=e=>{let{classes:t,variant:o,disabled:r,multiple:n,open:a,error:i}=e,l={select:["select",o,r&&"disabled",n&&"multiple",i&&"error"],icon:["icon",`icon${re(o)}`,a&&"iconOpen",r&&"disabled"]};return G(l,wP,t)},fb=j("select",{name:"MuiNativeSelect"})(({theme:e})=>({MozAppearance:"none",WebkitAppearance:"none",userSelect:"none",borderRadius:0,cursor:"pointer","&:focus":{borderRadius:0},[`&.${hd.disabled}`]:{cursor:"default"},"&[multiple]":{height:"auto"},"&:not([multiple]) option, &:not([multiple]) optgroup":{backgroundColor:(e.vars||e).palette.background.paper},variants:[{props:({ownerState:t})=>t.variant!=="filled"&&t.variant!=="outlined",style:{"&&&":{paddingRight:24,minWidth:16}}},{props:{variant:"filled"},style:{"&&&":{paddingRight:32}}},{props:{variant:"outlined"},style:{borderRadius:(e.vars||e).shape.borderRadius,"&:focus":{borderRadius:(e.vars||e).shape.borderRadius},"&&&":{paddingRight:32}}}]})),qD=j(fb,{name:"MuiNativeSelect",slot:"Select",shouldForwardProp:ot,overridesResolver:(e,t)=>{let{ownerState:o}=e;return[t.select,t[o.variant],o.error&&t.error,{[`&.${hd.multiple}`]:t.multiple}]}})({}),db=j("svg",{name:"MuiNativeSelect"})(({theme:e})=>({position:"absolute",right:0,top:"calc(50% - .5em)",pointerEvents:"none",color:(e.vars||e).palette.action.active,[`&.${hd.disabled}`]:{color:(e.vars||e).palette.action.disabled},variants:[{props:({ownerState:t})=>t.open,style:{transform:"rotate(180deg)"}},{props:{variant:"filled"},style:{right:7}},{props:{variant:"outlined"},style:{right:7}}]})),GD=j(db,{name:"MuiNativeSelect",slot:"Icon",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[t.icon,o.variant&&t[`icon${re(o.variant)}`],o.open&&t.iconOpen]}})({}),$D=gd.forwardRef(function(t,o){let{className:r,disabled:n,error:a,IconComponent:i,inputRef:l,variant:s="standard",...u}=t,p={...t,disabled:n,variant:s,error:a},f=FD(p);return(0,Hu.jsxs)(gd.Fragment,{children:[(0,Hu.jsx)(qD,{ownerState:p,className:H(f.select,r),disabled:n,ref:l||o,...u}),t.multiple?null:(0,Hu.jsx)(GD,{as:i,ownerState:p,className:f.icon})]})}),NP=$D;var bd=R(k(),1);var Vu=R(L(),1),_P,YD=j("fieldset",{name:"MuiNotchedOutlined",shouldForwardProp:ot})({textAlign:"left",position:"absolute",bottom:0,right:0,top:-5,left:0,margin:0,padding:"0 8px",pointerEvents:"none",borderRadius:"inherit",borderStyle:"solid",borderWidth:1,overflow:"hidden",minWidth:"0%"}),KD=j("legend",{name:"MuiNotchedOutlined",shouldForwardProp:ot})(le(({theme:e})=>({float:"unset",width:"auto",overflow:"hidden",variants:[{props:({ownerState:t})=>!t.withLabel,style:{padding:0,lineHeight:"11px",transition:e.transitions.create("width",{duration:150,easing:e.transitions.easing.easeOut})}},{props:({ownerState:t})=>t.withLabel,style:{display:"block",padding:0,height:11,fontSize:"0.75em",visibility:"hidden",maxWidth:.01,transition:e.transitions.create("max-width",{duration:50,easing:e.transitions.easing.easeOut}),whiteSpace:"nowrap","& > span":{paddingLeft:5,paddingRight:5,display:"inline-block",opacity:0,visibility:"visible"}}},{props:({ownerState:t})=>t.withLabel&&t.notched,style:{maxWidth:"100%",transition:e.transitions.create("max-width",{duration:100,easing:e.transitions.easing.easeOut,delay:50})}}]})));function mb(e){let{children:t,classes:o,className:r,label:n,notched:a,...i}=e,l=n!=null&&n!=="",s={...e,notched:a,withLabel:l};return(0,Vu.jsx)(YD,{"aria-hidden":!0,className:r,ownerState:s,...i,children:(0,Vu.jsx)(KD,{ownerState:s,children:l?(0,Vu.jsx)("span",{children:n}):_P||(_P=(0,Vu.jsx)("span",{className:"notranslate","aria-hidden":!0,children:"\u200B"}))})})}var Iu=R(L(),1),XD=e=>{let{classes:t}=e,r=G({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},RE,t);return{...t,...r}},QD=j(Ia,{shouldForwardProp:e=>ot(e)||e==="classes",name:"MuiOutlinedInput",slot:"Root",overridesResolver:Ha})(le(({theme:e})=>{let t=e.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{position:"relative",borderRadius:(e.vars||e).shape.borderRadius,[`&:hover .${nr.notchedOutline}`]:{borderColor:(e.vars||e).palette.text.primary},"@media (hover: none)":{[`&:hover .${nr.notchedOutline}`]:{borderColor:e.vars?e.alpha(e.vars.palette.common.onBackground,.23):t}},[`&.${nr.focused} .${nr.notchedOutline}`]:{borderWidth:2},variants:[...Object.entries(e.palette).filter(Qt()).map(([o])=>({props:{color:o},style:{[`&.${nr.focused} .${nr.notchedOutline}`]:{borderColor:(e.vars||e).palette[o].main}}})),{props:{},style:{[`&.${nr.error} .${nr.notchedOutline}`]:{borderColor:(e.vars||e).palette.error.main},[`&.${nr.disabled} .${nr.notchedOutline}`]:{borderColor:(e.vars||e).palette.action.disabled}}},{props:({ownerState:o})=>o.startAdornment,style:{paddingLeft:14}},{props:({ownerState:o})=>o.endAdornment,style:{paddingRight:14}},{props:({ownerState:o})=>o.multiline,style:{padding:"16.5px 14px"}},{props:({ownerState:o,size:r})=>o.multiline&&r==="small",style:{padding:"8.5px 14px"}}]}})),ZD=j(mb,{name:"MuiOutlinedInput",slot:"NotchedOutline"})(le(({theme:e})=>{let t=e.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{borderColor:e.vars?e.alpha(e.vars.palette.common.onBackground,.23):t}})),WD=j(Fa,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:Va})(le(({theme:e})=>({padding:"16.5px 14px",...!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:e.palette.mode==="light"?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:e.palette.mode==="light"?null:"#fff",caretColor:e.palette.mode==="light"?null:"#fff",borderRadius:"inherit"}},...e.vars&&{"&:-webkit-autofill":{borderRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},variants:[{props:{size:"small"},style:{padding:"8.5px 14px"}},{props:({ownerState:t})=>t.multiline,style:{padding:0}},{props:({ownerState:t})=>t.startAdornment,style:{paddingLeft:0}},{props:({ownerState:t})=>t.endAdornment,style:{paddingRight:0}}]}))),DP=bd.forwardRef(function(t,o){let r=Y({props:t,name:"MuiOutlinedInput"}),{fullWidth:n=!1,inputComponent:a="input",label:i,multiline:l=!1,notched:s,slots:u={},slotProps:p={},type:f="text",...d}=r,c=XD(r),T=Oo(),v=Ro({props:r,muiFormControl:T,states:["color","disabled","error","focused","hiddenLabel","size","required"]}),x={...r,color:v.color||"primary",disabled:v.disabled,error:v.error,focused:v.focused,formControl:T,fullWidth:n,hiddenLabel:v.hiddenLabel,multiline:l,size:v.size,type:f},m=u.root??QD,h=u.input??WD,[g,b]=Ke("notchedOutline",{elementType:ZD,className:c.notchedOutline,shouldForwardComponentProp:!0,ownerState:x,externalForwardedProps:{slots:u,slotProps:p},additionalProps:{label:i!=null&&i!==""&&v.required?(0,Iu.jsxs)(bd.Fragment,{children:[i,"\u2009","*"]}):i}});return(0,Iu.jsx)(qa,{slots:{root:m,input:h},slotProps:p,renderSuffix:E=>(0,Iu.jsx)(g,{...b,notched:typeof s<"u"?s:!!(E.startAdornment||E.filled||E.focused)}),fullWidth:n,inputComponent:a,multiline:l,ref:o,type:f,...d,classes:{...c,notchedOutline:null}})});DP.muiName="Input";var Fu=DP;var Ll=R(k(),1);var Ne=R(k(),1);function Td(e){return F("MuiSelect",e)}var JD=q("MuiSelect",["root","select","multiple","filled","outlined","standard","disabled","focused","icon","iconOpen","nativeInput","error"]),jl=JD;var tn=R(L(),1),zP,e3=j(fb,{name:"MuiSelect",slot:"Select",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[{[`&.${jl.select}`]:t.select},{[`&.${jl.select}`]:t[o.variant]},{[`&.${jl.error}`]:t.error},{[`&.${jl.multiple}`]:t.multiple}]}})({[`&.${jl.select}`]:{height:"auto",minHeight:"1.4375em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}}),t3=j(db,{name:"MuiSelect",slot:"Icon",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[t.icon,o.open&&t.iconOpen]}})({}),o3=j("input",{shouldForwardProp:e=>_f(e)&&e!=="classes",name:"MuiSelect",slot:"NativeInput"})({bottom:0,left:0,position:"absolute",opacity:0,pointerEvents:"none",width:"100%",boxSizing:"border-box"}),r3=e=>{let{classes:t,variant:o,disabled:r,multiple:n,open:a,error:i}=e;return G({select:["select",o,r&&"disabled",n&&"multiple",i&&"error"],icon:["icon",a&&"iconOpen",r&&"disabled"],nativeInput:["nativeInput"]},Td,t)},n3=Ne.forwardRef(function(t,o){let{"aria-describedby":r,"aria-label":n,autoFocus:a,autoWidth:i,children:l,className:s,defaultOpen:u,defaultValue:p,disabled:f,displayEmpty:d,error:c=!1,IconComponent:T,inputRef:v,labelId:x,MenuProps:m={},multiple:h,name:g,onBlur:b,onChange:E,onClose:S,onFocus:C,onKeyDown:O,onMouseDown:w,onOpen:_,open:M,readOnly:y,renderValue:N,required:P,SelectDisplayProps:A={},tabIndex:B,type:U,value:V,variant:ye="standard",...se}=t,[K,ce]=yg({controlled:V,default:p,name:"Select"}),[We,De]=yg({controlled:M,default:u,name:"Select"}),He=Ne.useRef(null),ze=Ne.useRef(null),[X,W]=Ne.useState(null),{current:J}=Ne.useRef(M!=null),[he,xt]=Ne.useState(),[ae,Pe]=Ne.useState(null),st=Xt(o,v),Ht=Ne.useCallback(I=>{ze.current=I,I&&W(I)},[]),qe=X?.parentNode;Ne.useImperativeHandle(st,()=>({focus:()=>{ze.current.focus()},node:He.current,value:K}),[K]);let ut=X!==null&&We;Ne.useEffect(()=>{if(!ut||!qe||i||typeof ResizeObserver>"u")return;let I=new ResizeObserver(()=>{xt(qe.clientWidth)});return I.observe(qe),()=>{I.disconnect()}},[ut,qe,i]),Ne.useEffect(()=>{u&&We&&X&&!J&&(xt(i?null:qe.clientWidth),ze.current.focus())},[X,i]),Ne.useEffect(()=>{a&&ze.current.focus()},[a]),Ne.useEffect(()=>{if(!x)return;let I=Hn(ze.current).getElementById(x);if(I){let be=()=>{getSelection().isCollapsed&&ze.current.focus()};return I.addEventListener("click",be),()=>{I.removeEventListener("click",be)}}},[x]);let St=(I,be)=>{I?(Pe(ud(be)),_&&_(be)):(Pe(null),S&&S(be)),J||(xt(i?null:qe.clientWidth),De(I))},fe=I=>{w?.(I),I.button===0&&(I.preventDefault(),ze.current.focus(),St(!0,I))},so=I=>{St(!1,I)},Mo=Ne.Children.toArray(l),ct=I=>{let be=Mo.find(Ct=>Ct.props.value===I.target.value);be!==void 0&&(ce(be.props.value),E&&E(I,be))},Kn=I=>be=>{let Ct;if(be.currentTarget.hasAttribute("tabindex")){if(h){Ct=Array.isArray(K)?K.slice():[];let Xa=K.indexOf(I.props.value);Xa===-1?Ct.push(I.props.value):Ct.splice(Xa,1)}else Ct=I.props.value;if(I.props.onClick&&I.props.onClick(be),K!==Ct&&(ce(Ct),E)){let Xa=be.nativeEvent||be,Ab=new Xa.constructor(Xa.type,Xa);Object.defineProperty(Ab,"target",{writable:!0,value:{value:Ct,name:g}}),E(Ab,I)}h||St(!1,be)}},ir=I=>{y||([" ","ArrowUp","ArrowDown","Enter"].includes(I.key)&&(I.preventDefault(),St(!0,I)),O?.(I))},Cr=I=>{!ut&&b&&(Object.defineProperty(I,"target",{writable:!0,value:{value:K,name:g}}),b(I))};delete se["aria-invalid"];let Be,ge,Xe=[],ee=!1,uo=!1;(ja({value:K})||d)&&(N?Be=N(K):ee=!0);let rn=Mo.map(I=>{if(!Ne.isValidElement(I))return null;let be;if(h){if(!Array.isArray(K))throw new Error(bt(2));be=K.some(Ct=>Lu(Ct,I.props.value)),be&&ee&&Xe.push(I.props.children)}else be=Lu(K,I.props.value),be&&ee&&(ge=I.props.children);return be&&(uo=!0),Ne.cloneElement(I,{"aria-selected":be?"true":"false",onClick:Kn(I),onKeyUp:Ct=>{Ct.key===" "&&Ct.preventDefault(),I.props.onKeyUp&&I.props.onKeyUp(Ct)},role:"option",selected:be,value:void 0,"data-value":I.props.value})});ee&&(h?Xe.length===0?Be=null:Be=Xe.reduce((I,be,Ct)=>(I.push(be),Ct<Xe.length-1&&I.push(", "),I),[]):Be=ge);let Il=he;!i&&J&&X&&(Il=qe.clientWidth);let Fl;typeof B<"u"?Fl=B:Fl=f?null:0;let Ge=A.id||(g?`mui-component-select-${g}`:void 0),Ka={...t,variant:ye,value:K,open:ut,error:c},Ad=r3(Ka),Ob=typeof m.slotProps?.paper=="function"?m.slotProps.paper(Ka):m.slotProps?.paper,BR=typeof m.slotProps?.list=="function"?m.slotProps.list(Ka):m.slotProps?.list,Mb=tr(),kR=tr();return(0,tn.jsxs)(Ne.Fragment,{children:[(0,tn.jsx)(e3,{as:"div",ref:Ht,tabIndex:Fl,role:"combobox","aria-controls":ut?Mb:void 0,"aria-disabled":f?"true":void 0,"aria-expanded":ut?"true":"false","aria-haspopup":"listbox","aria-label":n,"aria-labelledby":[x,Ge].filter(Boolean).join(" ")||void 0,"aria-describedby":r,"aria-required":P?"true":void 0,"aria-invalid":c?"true":void 0,onKeyDown:ir,onMouseDown:f||y?null:fe,onBlur:Cr,onFocus:C,...A,ownerState:Ka,className:H(A.className,Ad.select,s),id:Ge,children:cd(Be)?zP||(zP=(0,tn.jsx)("span",{className:"notranslate","aria-hidden":!0,children:"\u200B"})):Be}),(0,tn.jsx)(o3,{"aria-invalid":c,value:Array.isArray(K)?K.join(","):K,name:g,ref:He,"aria-hidden":!0,onChange:ct,tabIndex:-1,disabled:f,className:Ad.nativeInput,autoFocus:a,required:P,...se,id:se.id??kR,ownerState:Ka}),(0,tn.jsx)(t3,{as:T,className:Ad.icon,ownerState:Ka}),(0,tn.jsx)(ib,{value:ae,children:(0,tn.jsx)(AP,{id:`menu-${g||""}`,anchorEl:qe,open:ut,onClose:so,anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"},...m,slotProps:{...m.slotProps,list:{"aria-labelledby":x,role:"listbox","aria-multiselectable":h?"true":void 0,disableListWrap:!0,id:Mb,...BR},paper:{...Ob,style:{minWidth:Il,...Ob?.style}}},children:rn})})]})}),BP=n3;var qu=R(L(),1),a3=e=>{let{classes:t}=e,r=G({root:["root"]},Td,t);return{...t,...r}},yb={name:"MuiSelect",slot:"Root",shouldForwardProp:e=>ot(e)&&e!=="variant"},i3=j(ju,yb)(""),l3=j(Fu,yb)(""),s3=j(ku,yb)(""),kP=Ll.forwardRef(function(t,o){let r=Y({name:"MuiSelect",props:t}),{autoWidth:n=!1,children:a,classes:i={},className:l,defaultOpen:s=!1,displayEmpty:u=!1,IconComponent:p=AE,id:f,input:d,inputProps:c,label:T,labelId:v,MenuProps:x,multiple:m=!1,native:h=!1,onClose:g,onOpen:b,open:E,renderValue:S,SelectDisplayProps:C,variant:O="outlined",...w}=r,_=h?NP:BP,M=Oo(),y=Ro({props:r,muiFormControl:M,states:["variant","error"]}),N=y.variant||O,P={...r,variant:N,classes:i},A=a3(P),{root:B,...U}=A,V=d||{standard:(0,qu.jsx)(i3,{ownerState:P}),outlined:(0,qu.jsx)(l3,{label:T,ownerState:P}),filled:(0,qu.jsx)(s3,{ownerState:P})}[N],ye=Xt(o,Yo(V));return(0,qu.jsx)(Ll.Fragment,{children:Ll.cloneElement(V,{inputComponent:_,inputProps:{children:a,error:y.error,IconComponent:p,variant:N,type:void 0,multiple:m,...h?{id:f}:{autoWidth:n,defaultOpen:s,displayEmpty:u,labelId:v,MenuProps:x,onClose:g,onOpen:b,open:E,renderValue:S,SelectDisplayProps:{id:f,...C}},...c,classes:c?Te(U,c.classes):U,...d?d.props.inputProps:{}},...(m&&h||u)&&N==="outlined"?{notched:!0}:{},ref:ye,className:H(V.props.className,l,A.root),...!d&&{variant:N},...w})})});kP.muiName="Select";var hb=kP;var u3=Mf({createStyledComponent:j("div",{name:"MuiStack",slot:"Root"}),useThemeProps:e=>Y({props:e,name:"MuiStack"})}),vd=u3;var jP=R(k(),1);function UP(e){return F("MuiTextField",e)}var kQ=q("MuiTextField",["root"]);var $a=R(L(),1),c3={standard:ju,filled:ku,outlined:Fu},p3=e=>{let{classes:t}=e;return G({root:["root"]},UP,t)},f3=j(Fg,{name:"MuiTextField",slot:"Root"})({}),d3=jP.forwardRef(function(t,o){let r=Y({props:t,name:"MuiTextField"}),{autoComplete:n,autoFocus:a=!1,children:i,className:l,color:s="primary",defaultValue:u,disabled:p=!1,error:f=!1,fullWidth:d=!1,helperText:c,id:T,inputRef:v,label:x,maxRows:m,minRows:h,multiline:g=!1,name:b,onBlur:E,onChange:S,onFocus:C,placeholder:O,required:w=!1,rows:_,select:M=!1,slots:y={},slotProps:N={},type:P,value:A,variant:B="outlined",...U}=r,V={...r,autoFocus:a,color:s,disabled:p,error:f,fullWidth:d,multiline:g,required:w,select:M,variant:B},ye=p3(V),se=tr(T),K=c&&se?`${se}-helper-text`:void 0,ce=x&&se?`${se}-label`:void 0,We=c3[B],De={slots:y,slotProps:N},[He,ze]=Ke("select",{elementType:hb,externalForwardedProps:De,ownerState:V}),X=M&&ze.native,W={},J=De.slotProps.inputLabel;B==="outlined"&&(J&&typeof J.shrink<"u"&&(W.notched=J.shrink),W.label=x),M&&(X||(W.id=void 0),W["aria-describedby"]=void 0);let[he,xt]=Ke("root",{elementType:f3,shouldForwardComponentProp:!0,externalForwardedProps:{...De,...U},ownerState:V,className:H(ye.root,l),ref:o,additionalProps:{disabled:p,error:f,fullWidth:d,required:w,color:s,variant:B}}),[ae,Pe]=Ke("input",{elementType:We,externalForwardedProps:De,additionalProps:W,ownerState:V}),[st,Ht]=Ke("inputLabel",{elementType:Zg,externalForwardedProps:De,ownerState:V}),[qe,ut]=Ke("htmlInput",{elementType:"input",externalForwardedProps:De,ownerState:V}),[St,fe]=Ke("formHelperText",{elementType:$g,externalForwardedProps:De,ownerState:V}),so=(0,$a.jsx)(ae,{"aria-describedby":K,autoComplete:n,autoFocus:a,defaultValue:u,fullWidth:d,multiline:g,name:b,rows:_,maxRows:m,minRows:h,type:P,value:A,id:se,inputRef:v,onBlur:E,onChange:S,onFocus:C,placeholder:O,inputProps:ut,slots:{input:y.htmlInput?qe:void 0},...Pe});return(0,$a.jsxs)(he,{...xt,children:[x!=null&&x!==""&&(0,$a.jsx)(st,{htmlFor:M&&!X?void 0:se,id:ce,...M&&!X&&{component:"div"},...Ht,children:x}),M?(0,$a.jsx)(He,{"aria-describedby":K,id:se,labelId:ce,value:A,input:so,...ze,children:i}):so,c&&(0,$a.jsx)(St,{id:K,...fe,children:c})]})}),xd=d3;var Hl=R(k(),1);function LP({color:e,radius:t}){return{MuiMenu:{styleOverrides:{paper:{borderRadius:t.md},list:{padding:4}}},MuiMenuItem:{styleOverrides:{root:{minHeight:30,padding:"5px 10px",borderRadius:4,fontSize:13,"&:hover":{backgroundColor:e.raised},"& .MuiListItemIcon-root":{minWidth:28},"& .MuiSvgIcon-root":{fontSize:16},"& .MuiListItemText-primary":{fontSize:13}}}}}}function HP(e){let{color:t,radius:o,elevation:r,type:n}=e,a={border:`1px solid ${t.line}`};return{...LP(e),MuiTooltip:{styleOverrides:{tooltip:{...a,backgroundColor:t.overlay.background,color:t.overlay.text,borderRadius:o.md,boxShadow:r.overlay,fontSize:`${n.scale.caption/16}rem`,padding:"6px 10px"},arrow:{color:t.overlay.background}}},MuiPopover:{styleOverrides:{paper:{...a,boxShadow:r.overlay}}},MuiBackdrop:{styleOverrides:{root:{"&:not(.MuiBackdrop-invisible)":{backgroundColor:t.scrim,backdropFilter:"blur(2px)"}}}},MuiDialog:{styleOverrides:{paper:{...a,backgroundColor:t.surface,borderRadius:o.md+4,boxShadow:r.dialog}}}}}var VP=({variant:e})=>e==="outlined"||e==="tonal",IP=[{props:{size:"small"},style:{minHeight:26,padding:"4px 9px",fontSize:12}},{props:VP,style:{padding:"5px 11px"}},{props:e=>VP(e)&&e.size==="small",style:{padding:"3px 8px"}}];var Sd=["primary","secondary","success","warning","error","info"];function Gu(e,t){return{backgroundColor:kt(e,t),borderColor:kt(e,.35),color:e}}function FP({color:e}){return[{props:{variant:"tonal"},style:{backgroundColor:e.raised,border:`1px solid ${e.line}`,color:e.text.primary,"&:hover":{backgroundColor:e.raised,borderColor:e.text.disabled}}},...Sd.filter(t=>t!=="primary").map(t=>({props:{variant:"tonal",color:t},style:{...Gu(e[t].main,.16),"&:hover":Gu(e[t].main,.24)}}))]}var qP={"& > *:nth-of-type(1)":{fontSize:16}};function GP(e){let{color:t,radius:o}=e;return{MuiButton:{defaultProps:{disableElevation:!0},styleOverrides:{root:{minHeight:30,padding:"6px 12px",borderRadius:o.sm,fontSize:13,fontWeight:600,lineHeight:"18px"},startIcon:{marginLeft:-2,marginRight:6,...qP},endIcon:{marginLeft:6,marginRight:-2,...qP}},variants:[...IP,{props:{variant:"text",color:"primary"},style:{color:t.text.secondary,"&:hover":{backgroundColor:t.raised,color:t.text.primary}}},...FP(e),{props:{variant:"outlined",color:"error"},style:{borderColor:kt(t.error.main,.35),"&:hover":{borderColor:t.error.main,backgroundColor:kt(t.error.main,.1)}}}]}}}function gb({color:e},t){return[{props:{variant:t,color:"default"},style:{backgroundColor:"transparent",border:`1px solid ${e.line}`,color:e.text.secondary,"&.MuiChip-clickable:hover":{backgroundColor:e.raised}}},...Sd.map(o=>({props:{variant:t,color:o},style:{...Gu(e[o].main,.14),borderColor:"transparent","& .MuiChip-deleteIcon":{color:kt(e[o].main,.7),"&:hover, &:active":{color:e[o].main}},"&.MuiChip-clickable:hover":{backgroundColor:kt(e[o].main,.22)}}}))]}function $P(e){return{MuiChip:{styleOverrides:{root:{height:20,fontSize:11,fontWeight:600,borderRadius:999},sizeSmall:{height:20,"& .MuiChip-label":{padding:"0 7px"}},label:{padding:"0 8px"},icon:{fontSize:14,marginLeft:6,marginRight:-2},deleteIcon:{fontSize:14,marginLeft:-2,marginRight:4},outlined:{borderColor:e.color.line}},variants:[...gb(e,"tonal"),...gb(e,"filled")]}}}function YP(e){return{...GP(e),MuiButtonGroup:{defaultProps:{disableElevation:!0},variants:[{props:{variant:"tonal"},style:{"& .MuiButtonGroup-middleButton, & .MuiButtonGroup-lastButton":{marginLeft:-1}}}]},...$P(e)}}var bb=e=>`color-mix(in srgb, currentColor ${e}%, transparent)`,m3={".MuiAppBar-root &":{color:"inherit","&:hover":{backgroundColor:bb(8)},"&.Mui-selected":{color:"inherit",backgroundColor:bb(12),boxShadow:`inset 0 0 0 1px ${bb(18)}`}}};function KP({color:e,radius:t}){return{MuiTabs:{styleOverrides:{root:{minHeight:40,alignItems:"center"},list:{gap:2},indicator:{display:"none"}}},MuiTab:{styleOverrides:{root:{minHeight:30,padding:"6px 10px",borderRadius:t.sm,textTransform:"none",fontSize:13,fontWeight:500,opacity:1,color:e.text.secondary,"&:hover":{backgroundColor:e.raised,color:e.text.primary},"&.Mui-selected":{color:e.text.primary,backgroundColor:e.raised,boxShadow:`inset 0 0 0 1px ${e.line}`},...!e.appBar&&m3}}}}}var XP=(e,t)=>({width:e,height:e,"& .MuiSvgIcon-root":{fontSize:t}});function QP({color:e,radius:t}){return{MuiIconButton:{styleOverrides:{root:{...XP(30,18),padding:0,borderRadius:t.sm,"&:hover":{backgroundColor:e.raised}}},variants:[{props:{size:"small"},style:XP(26,16)},{props:{color:"default"},style:{color:e.text.secondary,"&:hover":{color:e.text.primary},...!e.appBar&&{".MuiAppBar-root &, .MuiAppBar-root &:hover":{color:"inherit"}}}}]}}}function ZP({color:e,radius:t}){return{MuiToggleButtonGroup:{styleOverrides:{root:{padding:2,gap:2,border:`1px solid ${e.line}`,borderRadius:t.sm,backgroundColor:e.background},grouped:{margin:0,border:0,borderRadius:4}}},MuiToggleButton:{styleOverrides:{root:{padding:"3px 8px",border:0,borderRadius:4,fontSize:13,fontWeight:500,lineHeight:"18px",textTransform:"none",color:e.text.secondary,"& .MuiSvgIcon-root":{fontSize:16},"&:hover":{backgroundColor:"transparent",color:e.text.primary},"&.Mui-selected, &.Mui-selected:hover":{backgroundColor:e.raised,color:e.text.primary}}}}}}var Cd=".MuiOutlinedInput-notchedOutline";function WP({color:e,radius:t}){return{MuiOutlinedInput:{styleOverrides:{root:{backgroundColor:e.background,borderRadius:t.sm,fontSize:13,color:e.text.primary,[`& ${Cd}`]:{borderColor:e.line},[`&:hover ${Cd}`]:{borderColor:e.text.disabled},[`&.Mui-focused ${Cd}`]:{borderColor:e.primary.main,borderWidth:1},[`&.Mui-error ${Cd}`]:{borderColor:e.error.main}}}},MuiInputLabel:{styleOverrides:{root:{fontSize:13,color:e.text.secondary,"&.Mui-focused":{color:e.primary.main}}}},MuiSelect:{styleOverrides:{icon:{color:e.text.disabled}}}}}function JP({color:e}){return{MuiSwitch:{styleOverrides:{root:{width:34,height:20,padding:0,"& .MuiSwitch-switchBase":{padding:2,color:e.text.secondary,"&.Mui-checked":{transform:"translateX(14px)",color:e.primary.contrastText},"&.Mui-checked + .MuiSwitch-track":{backgroundColor:e.primary.main,opacity:1}},"& .MuiSwitch-thumb":{width:16,height:16,boxShadow:"none"},"& .MuiSwitch-track":{borderRadius:10,backgroundColor:e.line,opacity:1}}}},MuiFormControlLabel:{styleOverrides:{root:{"&:has(.MuiSwitch-root)":{marginLeft:0,gap:8}}}}}}function eR(e){let{appBar:t}=e.color;return{...HP(e),...YP(e),...QP(e),...ZP(e),...WP(e),...JP(e),...KP(e),MuiPaper:{styleOverrides:{root:{backgroundImage:"none"},outlined:{borderColor:e.color.line}}},MuiAppBar:{defaultProps:{elevation:e.elevation.appBar},styleOverrides:{root:t&&{backgroundColor:t.background,color:t.text,borderBottom:`1px solid ${e.color.line}`}}}}}var Sr="#0e1116",Tb="#141820",Ed="#1b202a",Pd="#e3e7ee",vb="#8a93a3",$u="#8b9cff",Rd="#5fd0a0",Od="#f2b45a",Md="#f27a7a",tR={secondary:"rgba(255, 255, 255, 0.7)",hover:"rgba(255, 255, 255, 0.12)",active:"rgba(255, 255, 255, 0.16)",dot:"#ffb74d",dotRing:"rgba(0, 0, 0, 0.15)"},oR={dark:{color:{background:Sr,surface:Tb,raised:Ed,line:"#262c37",lineSoft:"#1d222b",text:{primary:Pd,secondary:vb,disabled:"#5c6473"},selected:"rgba(139, 156, 255, 0.14)",wash:{warning:"rgba(242, 180, 90, 0.09)",error:"rgba(242, 122, 122, 0.09)"},well:Sr,stripe:Ed,codeWash:"rgba(255, 255, 255, 0.08)",overlay:{background:Ed,text:Pd},scrim:"rgba(0, 0, 0, 0.5)",appBar:{background:Tb,text:Pd},onAppBar:{...tR,secondary:vb,level:{ok:Rd,warn:Od,over:Md}},statusBar:{background:Tb,text:vb,hoverText:Pd,secondary:"#5c6473",hover:Ed,active:"transparent",dot:$u,dotRing:"rgba(139, 156, 255, 0.14)",readyText:$u,level:{ok:Rd,warn:Od,over:Md}},primary:{main:$u,contrastText:Sr},secondary:{main:"#c99bff",contrastText:Sr},success:{main:Rd,contrastText:Sr},warning:{main:Od,contrastText:Sr},error:{main:Md,contrastText:Sr},info:{main:"#6cb6ff",contrastText:Sr}},terminal:{background:Sr,foreground:"#d6dbe4",cursor:$u,cursorAccent:Sr,selectionBackground:"rgba(139, 156, 255, 0.28)",black:"#1b2029",red:Md,green:Rd,yellow:Od,blue:$u,magenta:"#c99bff",cyan:"#6cc8d8",white:"#c3c9d4",brightBlack:"#5c6473",brightRed:"#ff9a9a",brightGreen:"#82e0b6",brightYellow:"#ffc97a",brightBlue:"#a9b6ff",brightMagenta:"#dcb8ff",brightCyan:"#8fdbe8",brightWhite:"#eef1f6"},elevation:{appBar:0,overlay:"0 14px 34px rgba(0, 0, 0, 0.45)",dialog:"0 30px 60px rgba(0, 0, 0, 0.5)",stuckHeader:"0 8px 8px -9px rgba(0, 0, 0, 0.8)"}},light:{color:{background:"#fff",surface:"#fff",raised:"rgba(0, 0, 0, 0.04)",line:"rgba(0, 0, 0, 0.12)",lineSoft:"rgba(0, 0, 0, 0.12)",text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},selected:"rgba(0, 0, 0, 0.08)",wash:{warning:"rgba(255, 167, 38, 0.09)",error:"rgba(244, 67, 54, 0.09)"},well:"#f3f4f6",stripe:"rgba(0, 0, 0, 0.1)",codeWash:"rgba(0, 0, 0, 0.06)",overlay:{background:"rgba(97, 97, 97, 0.92)",text:"#fff"},onAppBar:{...tR,level:{ok:"#b9f6ca",warn:"#ffe57f",over:"#ffcdd2"}},primary:{main:"#1976d2",light:"#42a5f5",dark:"#1565c0",contrastText:"#fff"},secondary:{main:"#9c27b0",light:"#ba68c8",dark:"#7b1fa2",contrastText:"#fff"},success:{main:"#2e7d32",light:"#4caf50",dark:"#1b5e20",contrastText:"#fff"},warning:{main:"#ed6c02",light:"#ff9800",dark:"#e65100",contrastText:"#fff"},error:{main:"#d32f2f",light:"#ef5350",dark:"#c62828",contrastText:"#fff"},info:{main:"#0288d1",light:"#03a9f4",dark:"#01579b",contrastText:"#fff"},scrim:"rgba(15, 23, 42, 0.32)",statusBar:{background:"#f3f4f6",text:"rgba(0, 0, 0, 0.6)",hoverText:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.38)",hover:"rgba(0, 0, 0, 0.06)",active:"transparent",dot:"#1976d2",dotRing:"rgba(25, 118, 210, 0.16)",readyText:"#1976d2",level:{ok:"#2e7d32",warn:"#ed6c02",over:"#d32f2f"}}},terminal:{background:"#ffffff",foreground:"#333333",cursor:"#333333",cursorAccent:"#ffffff",selectionBackground:"#add6ff",black:"#000000",red:"#cd3131",green:"#107c10",yellow:"#949800",blue:"#0451a5",magenta:"#bc05bc",cyan:"#0598bc",white:"#555555",brightBlack:"#666666",brightRed:"#cd3131",brightGreen:"#14ce14",brightYellow:"#b5ba00",brightBlue:"#0451a5",brightMagenta:"#bc05bc",brightCyan:"#0598bc",brightWhite:"#a5a5a5"},elevation:{appBar:0,overlay:"0 8px 24px rgba(15, 23, 42, 0.12)",dialog:"0 24px 48px rgba(15, 23, 42, 0.18)",stuckHeader:"0 6px 6px -7px rgba(0, 0, 0, 0.2)"}},font:{ui:'"Geist Variable", "Segoe UI", system-ui, sans-serif',mono:'"Geist Mono Variable", ui-monospace, Menlo, Consolas, monospace',terminal:'"Geist Mono Variable", ui-monospace, Menlo, Consolas, monospace'},type:{fontSize:14,terminalFontSize:13,scale:{caption:12,body2:14,body1:15,subtitle2:14,subtitle1:15,h6:16,h5:18,h4:24,button:14},button:{textTransform:"none",fontWeight:600}},radius:{sm:6,md:8},spacing:8};var on=e=>`${e/16}rem`;function rR({font:e,type:t}){let{scale:o}=t;return{fontFamily:e.ui,fontFamilyMono:e.mono,fontSize:t.fontSize,button:{...t.button,fontSize:on(o.button)},caption:{fontSize:on(o.caption)},body2:{fontSize:on(o.body2)},body1:{fontSize:on(o.body1)},subtitle2:{fontSize:on(o.subtitle2)},subtitle1:{fontSize:on(o.subtitle1)},h6:{fontSize:on(o.h6)},h5:{fontSize:on(o.h5)},h4:{fontSize:on(o.h4)}}}function nR(e){return{MuiButtonBase:{styleOverrides:{root:{cursor:"pointer","&.Mui-disabled":{cursor:"default"}}}},MuiLink:{styleOverrides:{root:{cursor:"pointer"}}},MuiAppBar:{defaultProps:{elevation:e.elevation.appBar}}}}function y3(e){let{dark:t,light:o,...r}=oR;return{...r,...e==="dark"?t:o,mode:e}}function aR(e){let t=y3(e),{color:o}=t;return vr({tokens:t,palette:{mode:e,background:{default:o.background,paper:o.surface},primary:o.primary,secondary:o.secondary,success:o.success,warning:o.warning,error:o.error,info:o.info,text:o.text,divider:o.line,action:{hover:o.raised,selected:o.selected}},typography:rR(t),shape:{borderRadius:t.radius.sm},spacing:t.spacing,components:{...nR(t),...eR(t)}})}function h3(e){let t=e.getAttribute("data-color-mode");return t==="light"||t==="dark"?t:globalThis.matchMedia?.("(prefers-color-scheme: dark)").matches?"dark":"light"}function Yu(e){let t=h3(e),o=e.getAttribute(t==="dark"?"data-dark-theme":"data-light-theme");return o?o.startsWith("dark")?"dark":"light":t}var g3=["data-color-mode","data-light-theme","data-dark-theme"];function iR(e,t){let o=Yu(e),r=()=>{let i=Yu(e);i!==o&&(o=i,t(i))},n=new MutationObserver(r);n.observe(e,{attributeFilter:g3});let a=globalThis.matchMedia?.("(prefers-color-scheme: dark)");return a?.addEventListener?.("change",r),()=>{n.disconnect(),a?.removeEventListener?.("change",r)}}var xb=R(L(),1);function lR({children:e}){let[t,o]=(0,Hl.useState)(()=>Yu(document.documentElement));(0,Hl.useEffect)(()=>iR(document.documentElement,o),[]);let r=(0,Hl.useMemo)(()=>aR(t),[t]);return(0,xb.jsx)(Df,{theme:r,children:(0,xb.jsx)(ed,{sx:{fontFamily:"fontFamily"},children:e})})}var Sb=R(L(),1);function uR(e,t,o){let r=e.shadowRoot??e.attachShadow({mode:"open"});b1(e);let n=document.createElement("div"),a=document.createElement("div");a.style.cssText="width:100%;font:inherit;color:inherit",r.append(n,a);let i=nc({key:t,container:n}),l=(0,sR.createRoot)(a);return l.render((0,Sb.jsx)(Xd,{value:i,children:(0,Sb.jsx)(lR,{children:o})})),l}function cR(e,t){let o=t.closest('dialog, [role="dialog"]'),r=o?T3:b3,n=()=>{e.style.cssText=r(t)};return n(),o?(e.setAttribute("popover","manual"),o.append(e),e.showPopover?.()):document.body.append(e),window.addEventListener("resize",n),()=>window.removeEventListener("resize",n)}function b3(e){let{top:t,left:o}=pR(e);return["position: absolute",`top: ${t+window.scrollY}px`,`left: ${o+window.scrollX}px`,"width: 320px","z-index: 2147483646"].join(";")}function T3(e){let{top:t,left:o}=pR(e);return["position: fixed","inset: auto",`top: ${t}px`,`left: ${o}px`,"width: 320px","height: auto","margin: 0","padding: 0","border: 0","background: transparent","overflow: visible"].join(";")}function pR(e){let t=e.getBoundingClientRect(),o=Math.max(16,Math.min(t.left,window.innerWidth-320-16));return{top:t.bottom+4,left:o}}var Ku=null;function v3(){Ku?.close()}function fR(e,t){let o=Ku?.anchor;if(v3(),o===e)return;let r=document.createElement("div");r.setAttribute("data-assist-popover","");let n=cR(r,e),a=()=>{Ku?.close===a&&(Ku=null,n(),r.remove(),queueMicrotask(()=>i.unmount()))};Ku={anchor:e,close:a};let i=uR(r,"assist-popover",t(l=>{a(),l&&e.focus()}))}var Eb=R(k(),1);var SR=R(k(),1);var mR=R(L(),1);function dR({value:e,onChange:t,onKeyDown:o,placeholder:r,error:n}){return(0,mR.jsx)(xd,{autoFocus:!0,fullWidth:!0,multiline:!0,maxRows:6,size:"small",placeholder:r,value:e,onChange:a=>t(a.target.value),onKeyDown:o,error:n,slotProps:{htmlInput:{"aria-label":"Instructions for assist"}}})}var Cb=R(L(),1);function yR({labels:e,disabled:t,onClick:o}){return(0,Cb.jsx)(vd,{direction:"row",spacing:1,sx:{mt:1},children:e.map((r,n)=>(0,Cb.jsx)(td,{size:"small",variant:n===0?"contained":"outlined",disabled:t,onMouseDown:a=>a.preventDefault(),onClick:()=>o(n),children:r},r))})}var Ya=R(L(),1);function hR({error:e,busy:t}){return(0,Ya.jsxs)(Ya.Fragment,{children:[e&&(0,Ya.jsxs)(_u,{role:"alert",variant:"caption",color:"error",sx:{display:"block",mt:.5},children:["Not sent: ",e]}),(0,Ya.jsx)(_u,{variant:"caption",color:"text.secondary",sx:{display:"block",mt:.5},children:t?"Sending\u2026":`Enter to ${e?"retry":"send"} \xB7 Shift+Enter for a new line \xB7 Esc to close`})]})}function gR(e){return{border:`1px solid ${e.palette.divider}`,boxShadow:e.tokens.elevation.overlay}}function bR(e,t){return o=>{o.currentTarget.contains(o.relatedTarget)||document.hasFocus()&&!e&&t(!1)}}function x3(e){return(e.ctrlKey||e.metaKey)&&e.key.toLowerCase()==="c"}function TR(e,t,o){return r=>{if(e&&t&&x3(r)){r.preventDefault(),navigator.clipboard?.writeText(e);return}o(r)}}function vR(e,t){return o=>{o.key==="Escape"?(o.preventDefault(),e(!0)):o.key==="Enter"&&!o.shiftKey&&!o.nativeEvent.isComposing&&(o.preventDefault(),t())}}function xR({instructions:e,onSend:t,onClose:o,busy:r,keepOpen:n,keepDraftOnBlur:a,copyWhenEmpty:i}){let l=f=>{r||t(e,f)},s=TR(i,!e,vR(o,()=>l(0))),u=a&&e.trim()!=="",p=bR(n||r||u,o);return{send:l,onKeyDown:s,onBlur:p}}var Vl=R(L(),1);function CR({onSend:e,onClose:t,placeholder:o="Instructions (optional)",error:r,busy:n=!1,keepDraftOnBlur:a=!1,copyWhenEmpty:i,buttons:l,children:s}){let[u,p]=(0,SR.useState)(""),{send:f,onKeyDown:d,onBlur:c}=xR({instructions:u,onSend:e,onClose:t,busy:n,keepOpen:!!r,keepDraftOnBlur:a,copyWhenEmpty:i});return(0,Vl.jsxs)(Al,{sx:T=>({...gR(T),p:1.5}),onBlur:c,children:[(0,Vl.jsx)(dR,{value:u,onChange:p,onKeyDown:d,placeholder:o,error:!!r}),s,l&&(0,Vl.jsx)(yR,{labels:l,disabled:n,onClick:f}),(0,Vl.jsx)(hR,{error:r,busy:n})]})}var Pb=R(L(),1);function S3({send:e,dismiss:t,selectedText:o}){let[r,n]=(0,Eb.useState)(!1),[a,i]=(0,Eb.useState)();return(0,Pb.jsx)(CR,{placeholder:"Feedback on the selected text",onSend:async s=>{if(!s.trim())return;n(!0);let u=await e(s);n(!1),u.ok?t(!1):i(u.message)},onClose:t,error:a,busy:r,keepDraftOnBlur:!0,copyWhenEmpty:o})}function ER(e,t,o={}){return(0,Pb.jsx)(S3,{send:e,dismiss:t,...o})}var C3=["position: fixed","right: 16px","bottom: 16px","z-index: 2147483647","max-width: 420px","padding: 8px 12px","border-radius: 6px","font: 14px/20px -apple-system, BlinkMacSystemFont, sans-serif","color: var(--fgColor-onEmphasis, #fff)","box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25)"].join(";"),PR={ok:"var(--bgColor-success-emphasis, #1f883d)",error:"var(--bgColor-danger-emphasis, #cf222e)"};function RR(e,t){let o=document.createElement("div");return o.setAttribute("data-assist-toast",""),o.setAttribute("role","status"),o.style.cssText=`${C3};background: ${t?PR.ok:PR.error}`,o.textContent=e,document.body.append(o),setTimeout(()=>o.remove(),t?4e3:8e3),o}async function OR(e){let t=Za();if(!t)return{ok:!1,message:"assist extension runtime unavailable"};try{return await t.sendMessage(e)??{ok:!1,message:"assist extension did not reply"}}catch(o){return{ok:!1,message:o instanceof Error?o.message:String(o)}}}function MR({range:e,...t},o){let r={type:"assist-docs-feedback",...t,prompt:o};return OR(r)}function AR(e,t){return async o=>{let r=await MR(e,o);return r.ok&&(t(),RR(r.message,!0)),r}}var Xu="assist-docs-feedback";function E3(){if(document.getElementById(Xu))return;let e=document.createElement("style");e.id=Xu,e.textContent=`::highlight(${Xu}) { background-color: Highlight; color: HighlightText; }`,document.head.append(e)}function wR(e){let t=globalThis.CSS?.highlights;return!t||typeof Highlight>"u"?()=>{}:(E3(),t.set(Xu,new Highlight(e)),()=>t.delete(Xu))}function P3(e){let t=e.getClientRects(),o=t[t.length-1]??e.getBoundingClientRect();return{top:o.bottom+window.scrollY,left:o.right+window.scrollX}}function R3(e){let t=document.createElement("div");t.setAttribute("data-assist-docs-feedback",""),t.setAttribute("aria-hidden","true");let{top:o,left:r}=P3(e);return t.style.cssText=`position: absolute;top: ${o}px;left: ${r}px;width: 0;height: 0;pointer-events: none`,t}function NR(e){let t=R3(e.range);document.body.append(t);let o=wR(e.range),r=()=>{t.remove(),o()},n=AR(e,r);return fR(t,a=>ER(n,i=>{a(i),r()},{selectedText:e.range.toString()})),r}function _R(e,{title:t,source:o}){if(!(!t||!o||!e?.closest("main")))return{heading:t,source:o}}function Rb(e,t){return e.querySelector(`meta[name="${t}"]`)?.content||void 0}function O3(e,t){let o=t instanceof Element?t:t?.parentElement,r=o?.closest(`section[${Er.headingAttribute}]`);return r?{heading:r.getAttribute(Er.headingAttribute)??"",source:r.getAttribute(Er.sourceAttribute)??""}:_R(o,{title:Rb(e,Er.titleMeta),source:Rb(e,Er.sourceMeta)})}function DR(e,t){let o=Rb(e,Er.pageMeta);if(!o||!t||t.isCollapsed)return;let r=t.toString().trim();if(!r||t.rangeCount===0)return;let n=t.getRangeAt(0),a=O3(e,n.startContainer);if(a)return{pageId:o,...a,selection:r,range:n}}var M3="[data-assist-docs-feedback], [data-assist-popover]";function A3(e){return e instanceof Element&&e.closest(M3)!==null}function w3(){return document.querySelector("[data-assist-popover]")!==null}function zR(){let e;document.addEventListener("mouseup",t=>{if(A3(t.target)||w3())return;e?.(),e=void 0;let o=DR(document,globalThis.getSelection());o&&(e=NR(o))})}function N3(){Ub(),document.querySelector(`meta[name="${Er.pageMeta}"]`)&&zR()}N3();})();
|
|
147
190
|
/*! Bundled license information:
|
|
148
191
|
|
|
149
192
|
react/cjs/react.production.js:
|