198 lines
388 KiB
JavaScript
198 lines
388 KiB
JavaScript
var l0=Object.defineProperty;var a0=(t,r,o)=>r in t?l0(t,r,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[r]=o;var Mi=(t,r,o)=>a0(t,typeof r!="symbol"?r+"":r,o);function u0(t,r){for(var o=0;o<r.length;o++){const s=r[o];if(typeof s!="string"&&!Array.isArray(s)){for(const a in s)if(a!=="default"&&!(a in t)){const u=Object.getOwnPropertyDescriptor(s,a);u&&Object.defineProperty(t,a,u.get?u:{enumerable:!0,get:()=>s[a]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}(function(){const r=document.createElement("link").relList;if(r&&r.supports&&r.supports("modulepreload"))return;for(const a of document.querySelectorAll('link[rel="modulepreload"]'))s(a);new MutationObserver(a=>{for(const u of a)if(u.type==="childList")for(const d of u.addedNodes)d.tagName==="LINK"&&d.rel==="modulepreload"&&s(d)}).observe(document,{childList:!0,subtree:!0});function o(a){const u={};return a.integrity&&(u.integrity=a.integrity),a.referrerPolicy&&(u.referrerPolicy=a.referrerPolicy),a.crossOrigin==="use-credentials"?u.credentials="include":a.crossOrigin==="anonymous"?u.credentials="omit":u.credentials="same-origin",u}function s(a){if(a.ep)return;a.ep=!0;const u=o(a);fetch(a.href,u)}})();function jc(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var qu={exports:{}},Oi={},Yu={exports:{}},$e={};/**
|
||
* @license React
|
||
* react.production.min.js
|
||
*
|
||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||
*
|
||
* This source code is licensed under the MIT license found in the
|
||
* LICENSE file in the root directory of this source tree.
|
||
*/var am;function c0(){if(am)return $e;am=1;var t=Symbol.for("react.element"),r=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),s=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),u=Symbol.for("react.provider"),d=Symbol.for("react.context"),p=Symbol.for("react.forward_ref"),m=Symbol.for("react.suspense"),h=Symbol.for("react.memo"),v=Symbol.for("react.lazy"),y=Symbol.iterator;function w(M){return M===null||typeof M!="object"?null:(M=y&&M[y]||M["@@iterator"],typeof M=="function"?M:null)}var E={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},b=Object.assign,C={};function T(M,U,ie){this.props=M,this.context=U,this.refs=C,this.updater=ie||E}T.prototype.isReactComponent={},T.prototype.setState=function(M,U){if(typeof M!="object"&&typeof M!="function"&&M!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,M,U,"setState")},T.prototype.forceUpdate=function(M){this.updater.enqueueForceUpdate(this,M,"forceUpdate")};function N(){}N.prototype=T.prototype;function j(M,U,ie){this.props=M,this.context=U,this.refs=C,this.updater=ie||E}var P=j.prototype=new N;P.constructor=j,b(P,T.prototype),P.isPureReactComponent=!0;var $=Array.isArray,O=Object.prototype.hasOwnProperty,B={current:null},F={key:!0,ref:!0,__self:!0,__source:!0};function W(M,U,ie){var le,ce={},ge=null,be=null;if(U!=null)for(le in U.ref!==void 0&&(be=U.ref),U.key!==void 0&&(ge=""+U.key),U)O.call(U,le)&&!F.hasOwnProperty(le)&&(ce[le]=U[le]);var Ee=arguments.length-2;if(Ee===1)ce.children=ie;else if(1<Ee){for(var we=Array(Ee),ye=0;ye<Ee;ye++)we[ye]=arguments[ye+2];ce.children=we}if(M&&M.defaultProps)for(le in Ee=M.defaultProps,Ee)ce[le]===void 0&&(ce[le]=Ee[le]);return{$$typeof:t,type:M,key:ge,ref:be,props:ce,_owner:B.current}}function V(M,U){return{$$typeof:t,type:M.type,key:U,ref:M.ref,props:M.props,_owner:M._owner}}function x(M){return typeof M=="object"&&M!==null&&M.$$typeof===t}function D(M){var U={"=":"=0",":":"=2"};return"$"+M.replace(/[=:]/g,function(ie){return U[ie]})}var ee=/\/+/g;function J(M,U){return typeof M=="object"&&M!==null&&M.key!=null?D(""+M.key):U.toString(36)}function re(M,U,ie,le,ce){var ge=typeof M;(ge==="undefined"||ge==="boolean")&&(M=null);var be=!1;if(M===null)be=!0;else switch(ge){case"string":case"number":be=!0;break;case"object":switch(M.$$typeof){case t:case r:be=!0}}if(be)return be=M,ce=ce(be),M=le===""?"."+J(be,0):le,$(ce)?(ie="",M!=null&&(ie=M.replace(ee,"$&/")+"/"),re(ce,U,ie,"",function(ye){return ye})):ce!=null&&(x(ce)&&(ce=V(ce,ie+(!ce.key||be&&be.key===ce.key?"":(""+ce.key).replace(ee,"$&/")+"/")+M)),U.push(ce)),1;if(be=0,le=le===""?".":le+":",$(M))for(var Ee=0;Ee<M.length;Ee++){ge=M[Ee];var we=le+J(ge,Ee);be+=re(ge,U,ie,we,ce)}else if(we=w(M),typeof we=="function")for(M=we.call(M),Ee=0;!(ge=M.next()).done;)ge=ge.value,we=le+J(ge,Ee++),be+=re(ge,U,ie,we,ce);else if(ge==="object")throw U=String(M),Error("Objects are not valid as a React child (found: "+(U==="[object Object]"?"object with keys {"+Object.keys(M).join(", ")+"}":U)+"). If you meant to render a collection of children, use an array instead.");return be}function Q(M,U,ie){if(M==null)return M;var le=[],ce=0;return re(M,le,"","",function(ge){return U.call(ie,ge,ce++)}),le}function Z(M){if(M._status===-1){var U=M._result;U=U(),U.then(function(ie){(M._status===0||M._status===-1)&&(M._status=1,M._result=ie)},function(ie){(M._status===0||M._status===-1)&&(M._status=2,M._result=ie)}),M._status===-1&&(M._status=0,M._result=U)}if(M._status===1)return M._result.default;throw M._result}var oe={current:null},K={transition:null},G={ReactCurrentDispatcher:oe,ReactCurrentBatchConfig:K,ReactCurrentOwner:B};function ne(){throw Error("act(...) is not supported in production builds of React.")}return $e.Children={map:Q,forEach:function(M,U,ie){Q(M,function(){U.apply(this,arguments)},ie)},count:function(M){var U=0;return Q(M,function(){U++}),U},toArray:function(M){return Q(M,function(U){return U})||[]},only:function(M){if(!x(M))throw Error("React.Children.only expected to receive a single React element child.");return M}},$e.Component=T,$e.Fragment=o,$e.Profiler=a,$e.PureComponent=j,$e.StrictMode=s,$e.Suspense=m,$e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=G,$e.act=ne,$e.cloneElement=function(M,U,ie){if(M==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+M+".");var le=b({},M.props),ce=M.key,ge=M.ref,be=M._owner;if(U!=null){if(U.ref!==void 0&&(ge=U.ref,be=B.current),U.key!==void 0&&(ce=""+U.key),M.type&&M.type.defaultProps)var Ee=M.type.defaultProps;for(we in U)O.call(U,we)&&!F.hasOwnProperty(we)&&(le[we]=U[we]===void 0&&Ee!==void 0?Ee[we]:U[we])}var we=arguments.length-2;if(we===1)le.children=ie;else if(1<we){Ee=Array(we);for(var ye=0;ye<we;ye++)Ee[ye]=arguments[ye+2];le.children=Ee}return{$$typeof:t,type:M.type,key:ce,ref:ge,props:le,_owner:be}},$e.createContext=function(M){return M={$$typeof:d,_currentValue:M,_currentValue2:M,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},M.Provider={$$typeof:u,_context:M},M.Consumer=M},$e.createElement=W,$e.createFactory=function(M){var U=W.bind(null,M);return U.type=M,U},$e.createRef=function(){return{current:null}},$e.forwardRef=function(M){return{$$typeof:p,render:M}},$e.isValidElement=x,$e.lazy=function(M){return{$$typeof:v,_payload:{_status:-1,_result:M},_init:Z}},$e.memo=function(M,U){return{$$typeof:h,type:M,compare:U===void 0?null:U}},$e.startTransition=function(M){var U=K.transition;K.transition={};try{M()}finally{K.transition=U}},$e.unstable_act=ne,$e.useCallback=function(M,U){return oe.current.useCallback(M,U)},$e.useContext=function(M){return oe.current.useContext(M)},$e.useDebugValue=function(){},$e.useDeferredValue=function(M){return oe.current.useDeferredValue(M)},$e.useEffect=function(M,U){return oe.current.useEffect(M,U)},$e.useId=function(){return oe.current.useId()},$e.useImperativeHandle=function(M,U,ie){return oe.current.useImperativeHandle(M,U,ie)},$e.useInsertionEffect=function(M,U){return oe.current.useInsertionEffect(M,U)},$e.useLayoutEffect=function(M,U){return oe.current.useLayoutEffect(M,U)},$e.useMemo=function(M,U){return oe.current.useMemo(M,U)},$e.useReducer=function(M,U,ie){return oe.current.useReducer(M,U,ie)},$e.useRef=function(M){return oe.current.useRef(M)},$e.useState=function(M){return oe.current.useState(M)},$e.useSyncExternalStore=function(M,U,ie){return oe.current.useSyncExternalStore(M,U,ie)},$e.useTransition=function(){return oe.current.useTransition()},$e.version="18.3.1",$e}var um;function _c(){return um||(um=1,Yu.exports=c0()),Yu.exports}/**
|
||
* @license React
|
||
* react-jsx-runtime.production.min.js
|
||
*
|
||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||
*
|
||
* This source code is licensed under the MIT license found in the
|
||
* LICENSE file in the root directory of this source tree.
|
||
*/var cm;function d0(){if(cm)return Oi;cm=1;var t=_c(),r=Symbol.for("react.element"),o=Symbol.for("react.fragment"),s=Object.prototype.hasOwnProperty,a=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,u={key:!0,ref:!0,__self:!0,__source:!0};function d(p,m,h){var v,y={},w=null,E=null;h!==void 0&&(w=""+h),m.key!==void 0&&(w=""+m.key),m.ref!==void 0&&(E=m.ref);for(v in m)s.call(m,v)&&!u.hasOwnProperty(v)&&(y[v]=m[v]);if(p&&p.defaultProps)for(v in m=p.defaultProps,m)y[v]===void 0&&(y[v]=m[v]);return{$$typeof:r,type:p,key:w,ref:E,props:y,_owner:a.current}}return Oi.Fragment=o,Oi.jsx=d,Oi.jsxs=d,Oi}var dm;function f0(){return dm||(dm=1,qu.exports=d0()),qu.exports}var k=f0(),S=_c();const Rn=jc(S),Nl=u0({__proto__:null,default:Rn},[S]);function nr(t,...r){const o=new URL(`https://mui.com/production-error/?code=${t}`);return r.forEach(s=>o.searchParams.append("args[]",s)),`Minified MUI error #${t}; visit ${o} for the full message.`}function he(t){if(typeof t!="string")throw new Error(nr(7));return t.charAt(0).toUpperCase()+t.slice(1)}var Xu={exports:{}},Ke={};/**
|
||
* @license React
|
||
* react-is.production.js
|
||
*
|
||
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
||
*
|
||
* This source code is licensed under the MIT license found in the
|
||
* LICENSE file in the root directory of this source tree.
|
||
*/var fm;function p0(){if(fm)return Ke;fm=1;var t=Symbol.for("react.transitional.element"),r=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),s=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),u=Symbol.for("react.consumer"),d=Symbol.for("react.context"),p=Symbol.for("react.forward_ref"),m=Symbol.for("react.suspense"),h=Symbol.for("react.suspense_list"),v=Symbol.for("react.memo"),y=Symbol.for("react.lazy"),w=Symbol.for("react.view_transition"),E=Symbol.for("react.client.reference");function b(C){if(typeof C=="object"&&C!==null){var T=C.$$typeof;switch(T){case t:switch(C=C.type,C){case o:case a:case s:case m:case h:case w:return C;default:switch(C=C&&C.$$typeof,C){case d:case p:case y:case v:return C;case u:return C;default:return T}}case r:return T}}}return Ke.ContextConsumer=u,Ke.ContextProvider=d,Ke.Element=t,Ke.ForwardRef=p,Ke.Fragment=o,Ke.Lazy=y,Ke.Memo=v,Ke.Portal=r,Ke.Profiler=a,Ke.StrictMode=s,Ke.Suspense=m,Ke.SuspenseList=h,Ke.isContextConsumer=function(C){return b(C)===u},Ke.isContextProvider=function(C){return b(C)===d},Ke.isElement=function(C){return typeof C=="object"&&C!==null&&C.$$typeof===t},Ke.isForwardRef=function(C){return b(C)===p},Ke.isFragment=function(C){return b(C)===o},Ke.isLazy=function(C){return b(C)===y},Ke.isMemo=function(C){return b(C)===v},Ke.isPortal=function(C){return b(C)===r},Ke.isProfiler=function(C){return b(C)===a},Ke.isStrictMode=function(C){return b(C)===s},Ke.isSuspense=function(C){return b(C)===m},Ke.isSuspenseList=function(C){return b(C)===h},Ke.isValidElementType=function(C){return typeof C=="string"||typeof C=="function"||C===o||C===a||C===s||C===m||C===h||typeof C=="object"&&C!==null&&(C.$$typeof===y||C.$$typeof===v||C.$$typeof===d||C.$$typeof===u||C.$$typeof===p||C.$$typeof===E||C.getModuleId!==void 0)},Ke.typeOf=b,Ke}var pm;function m0(){return pm||(pm=1,Xu.exports=p0()),Xu.exports}var Gh=m0();function Fn(t){if(typeof t!="object"||t===null)return!1;const r=Object.getPrototypeOf(t);return(r===null||r===Object.prototype||Object.getPrototypeOf(r)===null)&&!(Symbol.toStringTag in t)&&!(Symbol.iterator in t)}function Qh(t){if(S.isValidElement(t)||Gh.isValidElementType(t)||!Fn(t))return t;const r={};return Object.keys(t).forEach(o=>{r[o]=Qh(t[o])}),r}function Bt(t,r,o={clone:!0}){const s=o.clone?{...t}:t;return Fn(t)&&Fn(r)&&Object.keys(r).forEach(a=>{S.isValidElement(r[a])||Gh.isValidElementType(r[a])?s[a]=r[a]:Fn(r[a])&&Object.prototype.hasOwnProperty.call(t,a)&&Fn(t[a])?s[a]=Bt(t[a],r[a],o):o.clone?s[a]=Fn(r[a])?Qh(r[a]):r[a]:s[a]=r[a]}),s}function Vi(t,r){return r?Bt(t,r,{clone:!1}):t}function mm(t,r){if(!t.containerQueries)return r;const o=Object.keys(r).filter(s=>s.startsWith("@container")).sort((s,a)=>{var d,p;const u=/min-width:\s*([0-9.]+)/;return+(((d=s.match(u))==null?void 0:d[1])||0)-+(((p=a.match(u))==null?void 0:p[1])||0)});return o.length?o.reduce((s,a)=>{const u=r[a];return delete s[a],s[a]=u,s},{...r}):r}function h0(t,r){return r==="@"||r.startsWith("@")&&(t.some(o=>r.startsWith(`@${o}`))||!!r.match(/^@\d/))}function g0(t,r){const o=r.match(/^@([^/]+)?\/?(.+)?$/);if(!o)return null;const[,s,a]=o,u=Number.isNaN(+s)?s||0:+s;return t.containerQueries(a).up(u)}function y0(t){const r=(u,d)=>u.replace("@media",d?`@container ${d}`:"@container");function o(u,d){u.up=(...p)=>r(t.breakpoints.up(...p),d),u.down=(...p)=>r(t.breakpoints.down(...p),d),u.between=(...p)=>r(t.breakpoints.between(...p),d),u.only=(...p)=>r(t.breakpoints.only(...p),d),u.not=(...p)=>{const m=r(t.breakpoints.not(...p),d);return m.includes("not all and")?m.replace("not all and ","").replace("min-width:","width<").replace("max-width:","width>").replace("and","or"):m}}const s={},a=u=>(o(s,u),s);return o(a),{...t,containerQueries:a}}const Wl={xs:0,sm:600,md:900,lg:1200,xl:1536},hm={keys:["xs","sm","md","lg","xl"],up:t=>`@media (min-width:${Wl[t]}px)`},v0={containerQueries:t=>({up:r=>{let o=typeof r=="number"?r:Wl[r]||r;return typeof o=="number"&&(o=`${o}px`),t?`@container ${t} (min-width:${o})`:`@container (min-width:${o})`}})};function hn(t,r,o){const s=t.theme||{};if(Array.isArray(r)){const u=s.breakpoints||hm;return r.reduce((d,p,m)=>(d[u.up(u.keys[m])]=o(r[m]),d),{})}if(typeof r=="object"){const u=s.breakpoints||hm;return Object.keys(r).reduce((d,p)=>{if(h0(u.keys,p)){const m=g0(s.containerQueries?s:v0,p);m&&(d[m]=o(r[p],p))}else if(Object.keys(u.values||Wl).includes(p)){const m=u.up(p);d[m]=o(r[p],p)}else{const m=p;d[m]=r[m]}return d},{})}return o(r)}function x0(t={}){var o;return((o=t.keys)==null?void 0:o.reduce((s,a)=>{const u=t.up(a);return s[u]={},s},{}))||{}}function gm(t,r){return t.reduce((o,s)=>{const a=o[s];return(!a||Object.keys(a).length===0)&&delete o[s],o},r)}function S0(t,r){if(typeof t!="object")return{};const o={},s=Object.keys(r);return Array.isArray(t)?s.forEach((a,u)=>{u<t.length&&(o[a]=!0)}):s.forEach(a=>{t[a]!=null&&(o[a]=!0)}),o}function Ul({values:t,breakpoints:r,base:o}){const s=o||S0(t,r),a=Object.keys(s);if(a.length===0)return t;let u;return a.reduce((d,p,m)=>(Array.isArray(t)?(d[p]=t[m]!=null?t[m]:t[u],u=m):typeof t=="object"?(d[p]=t[p]!=null?t[p]:t[u],u=p):d[p]=t,d),{})}function Hl(t,r,o=!0){if(!r||typeof r!="string")return null;if(t&&t.vars&&o){const s=`vars.${r}`.split(".").reduce((a,u)=>a&&a[u]?a[u]:null,t);if(s!=null)return s}return r.split(".").reduce((s,a)=>s&&s[a]!=null?s[a]:null,t)}function Al(t,r,o,s=o){let a;return typeof t=="function"?a=t(o):Array.isArray(t)?a=t[o]||s:a=Hl(t,o)||s,r&&(a=r(a,s,t)),a}function gt(t){const{prop:r,cssProperty:o=t.prop,themeKey:s,transform:a}=t,u=d=>{if(d[r]==null)return null;const p=d[r],m=d.theme,h=Hl(m,s)||{};return hn(d,p,y=>{let w=Al(h,a,y);return y===w&&typeof y=="string"&&(w=Al(h,a,`${r}${y==="default"?"":he(y)}`,y)),o===!1?w:{[o]:w}})};return u.propTypes={},u.filterProps=[r],u}function C0(t){const r={};return o=>(r[o]===void 0&&(r[o]=t(o)),r[o])}const w0={m:"margin",p:"padding"},b0={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},ym={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},k0=C0(t=>{if(t.length>2)if(ym[t])t=ym[t];else return[t];const[r,o]=t.split(""),s=w0[r],a=b0[o]||"";return Array.isArray(a)?a.map(u=>s+u):[s+a]}),zc=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],Bc=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...zc,...Bc];function ns(t,r,o,s){const a=Hl(t,r,!0)??o;return typeof a=="number"||typeof a=="string"?u=>typeof u=="string"?u:typeof a=="string"?`calc(${u} * ${a})`:a*u:Array.isArray(a)?u=>{if(typeof u=="string")return u;const d=Math.abs(u),p=a[d];return u>=0?p:typeof p=="number"?-p:`-${p}`}:typeof a=="function"?a:()=>{}}function Fc(t){return ns(t,"spacing",8)}function rs(t,r){return typeof r=="string"||r==null?r:t(r)}function E0(t,r){return o=>t.reduce((s,a)=>(s[a]=rs(r,o),s),{})}function R0(t,r,o,s){if(!r.includes(o))return null;const a=k0(o),u=E0(a,s),d=t[o];return hn(t,d,u)}function qh(t,r){const o=Fc(t.theme);return Object.keys(t).map(s=>R0(t,r,s,o)).reduce(Vi,{})}function ct(t){return qh(t,zc)}ct.propTypes={};ct.filterProps=zc;function dt(t){return qh(t,Bc)}dt.propTypes={};dt.filterProps=Bc;function Vl(...t){const r=t.reduce((s,a)=>(a.filterProps.forEach(u=>{s[u]=a}),s),{}),o=s=>Object.keys(s).reduce((a,u)=>r[u]?Vi(a,r[u](s)):a,{});return o.propTypes={},o.filterProps=t.reduce((s,a)=>s.concat(a.filterProps),[]),o}function pn(t){return typeof t!="number"?t:`${t}px solid`}function gn(t,r){return gt({prop:t,themeKey:"borders",transform:r})}const T0=gn("border",pn),P0=gn("borderTop",pn),$0=gn("borderRight",pn),I0=gn("borderBottom",pn),M0=gn("borderLeft",pn),O0=gn("borderColor"),N0=gn("borderTopColor"),A0=gn("borderRightColor"),L0=gn("borderBottomColor"),j0=gn("borderLeftColor"),_0=gn("outline",pn),z0=gn("outlineColor"),Kl=t=>{if(t.borderRadius!==void 0&&t.borderRadius!==null){const r=ns(t.theme,"shape.borderRadius",4),o=s=>({borderRadius:rs(r,s)});return hn(t,t.borderRadius,o)}return null};Kl.propTypes={};Kl.filterProps=["borderRadius"];Vl(T0,P0,$0,I0,M0,O0,N0,A0,L0,j0,Kl,_0,z0);const Gl=t=>{if(t.gap!==void 0&&t.gap!==null){const r=ns(t.theme,"spacing",8),o=s=>({gap:rs(r,s)});return hn(t,t.gap,o)}return null};Gl.propTypes={};Gl.filterProps=["gap"];const Ql=t=>{if(t.columnGap!==void 0&&t.columnGap!==null){const r=ns(t.theme,"spacing",8),o=s=>({columnGap:rs(r,s)});return hn(t,t.columnGap,o)}return null};Ql.propTypes={};Ql.filterProps=["columnGap"];const ql=t=>{if(t.rowGap!==void 0&&t.rowGap!==null){const r=ns(t.theme,"spacing",8),o=s=>({rowGap:rs(r,s)});return hn(t,t.rowGap,o)}return null};ql.propTypes={};ql.filterProps=["rowGap"];const B0=gt({prop:"gridColumn"}),F0=gt({prop:"gridRow"}),D0=gt({prop:"gridAutoFlow"}),W0=gt({prop:"gridAutoColumns"}),U0=gt({prop:"gridAutoRows"}),H0=gt({prop:"gridTemplateColumns"}),V0=gt({prop:"gridTemplateRows"}),K0=gt({prop:"gridTemplateAreas"}),G0=gt({prop:"gridArea"});Vl(Gl,Ql,ql,B0,F0,D0,W0,U0,H0,V0,K0,G0);function Lo(t,r){return r==="grey"?r:t}const Q0=gt({prop:"color",themeKey:"palette",transform:Lo}),q0=gt({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Lo}),Y0=gt({prop:"backgroundColor",themeKey:"palette",transform:Lo});Vl(Q0,q0,Y0);function Zt(t){return t<=1&&t!==0?`${t*100}%`:t}const X0=gt({prop:"width",transform:Zt}),Dc=t=>{if(t.maxWidth!==void 0&&t.maxWidth!==null){const r=o=>{var a,u,d,p,m;const s=((d=(u=(a=t.theme)==null?void 0:a.breakpoints)==null?void 0:u.values)==null?void 0:d[o])||Wl[o];return s?((m=(p=t.theme)==null?void 0:p.breakpoints)==null?void 0:m.unit)!=="px"?{maxWidth:`${s}${t.theme.breakpoints.unit}`}:{maxWidth:s}:{maxWidth:Zt(o)}};return hn(t,t.maxWidth,r)}return null};Dc.filterProps=["maxWidth"];const J0=gt({prop:"minWidth",transform:Zt}),Z0=gt({prop:"height",transform:Zt}),e1=gt({prop:"maxHeight",transform:Zt}),t1=gt({prop:"minHeight",transform:Zt});gt({prop:"size",cssProperty:"width",transform:Zt});gt({prop:"size",cssProperty:"height",transform:Zt});const n1=gt({prop:"boxSizing"});Vl(X0,Dc,J0,Z0,e1,t1,n1);const os={border:{themeKey:"borders",transform:pn},borderTop:{themeKey:"borders",transform:pn},borderRight:{themeKey:"borders",transform:pn},borderBottom:{themeKey:"borders",transform:pn},borderLeft:{themeKey:"borders",transform:pn},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:pn},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:Kl},color:{themeKey:"palette",transform:Lo},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Lo},backgroundColor:{themeKey:"palette",transform:Lo},p:{style:dt},pt:{style:dt},pr:{style:dt},pb:{style:dt},pl:{style:dt},px:{style:dt},py:{style:dt},padding:{style:dt},paddingTop:{style:dt},paddingRight:{style:dt},paddingBottom:{style:dt},paddingLeft:{style:dt},paddingX:{style:dt},paddingY:{style:dt},paddingInline:{style:dt},paddingInlineStart:{style:dt},paddingInlineEnd:{style:dt},paddingBlock:{style:dt},paddingBlockStart:{style:dt},paddingBlockEnd:{style:dt},m:{style:ct},mt:{style:ct},mr:{style:ct},mb:{style:ct},ml:{style:ct},mx:{style:ct},my:{style:ct},margin:{style:ct},marginTop:{style:ct},marginRight:{style:ct},marginBottom:{style:ct},marginLeft:{style:ct},marginX:{style:ct},marginY:{style:ct},marginInline:{style:ct},marginInlineStart:{style:ct},marginInlineEnd:{style:ct},marginBlock:{style:ct},marginBlockStart:{style:ct},marginBlockEnd:{style:ct},displayPrint:{cssProperty:!1,transform:t=>({"@media print":{display:t}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:Gl},rowGap:{style:ql},columnGap:{style:Ql},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Zt},maxWidth:{style:Dc},minWidth:{transform:Zt},height:{transform:Zt},maxHeight:{transform:Zt},minHeight:{transform:Zt},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"}};function r1(...t){const r=t.reduce((s,a)=>s.concat(Object.keys(a)),[]),o=new Set(r);return t.every(s=>o.size===Object.keys(s).length)}function o1(t,r){return typeof t=="function"?t(r):t}function i1(){function t(o,s,a,u){const d={[o]:s,theme:a},p=u[o];if(!p)return{[o]:s};const{cssProperty:m=o,themeKey:h,transform:v,style:y}=p;if(s==null)return null;if(h==="typography"&&s==="inherit")return{[o]:s};const w=Hl(a,h)||{};return y?y(d):hn(d,s,b=>{let C=Al(w,v,b);return b===C&&typeof b=="string"&&(C=Al(w,v,`${o}${b==="default"?"":he(b)}`,b)),m===!1?C:{[m]:C}})}function r(o){const{sx:s,theme:a={},nested:u}=o||{};if(!s)return null;const d=a.unstable_sxConfig??os;function p(m){let h=m;if(typeof m=="function")h=m(a);else if(typeof m!="object")return m;if(!h)return null;const v=x0(a.breakpoints),y=Object.keys(v);let w=v;return Object.keys(h).forEach(E=>{const b=o1(h[E],a);if(b!=null)if(typeof b=="object")if(d[E])w=Vi(w,t(E,b,a,d));else{const C=hn({theme:a},b,T=>({[E]:T}));r1(C,b)?w[E]=r({sx:b,theme:a,nested:!0}):w=Vi(w,C)}else w=Vi(w,t(E,b,a,d))}),!u&&a.modularCssLayers?{"@layer sx":mm(a,gm(y,w))}:mm(a,gm(y,w))}return Array.isArray(s)?s.map(p):p(s)}return r}const Tr=i1();Tr.filterProps=["sx"];const s1=t=>{var s;const r={systemProps:{},otherProps:{}},o=((s=t==null?void 0:t.theme)==null?void 0:s.unstable_sxConfig)??os;return Object.keys(t).forEach(a=>{o[a]?r.systemProps[a]=t[a]:r.otherProps[a]=t[a]}),r};function Wc(t){const{sx:r,...o}=t,{systemProps:s,otherProps:a}=s1(o);let u;return Array.isArray(r)?u=[s,...r]:typeof r=="function"?u=(...d)=>{const p=r(...d);return Fn(p)?{...s,...p}:s}:u={...s,...r},{...a,sx:u}}function Ll(){return Ll=Object.assign?Object.assign.bind():function(t){for(var r=1;r<arguments.length;r++){var o=arguments[r];for(var s in o)({}).hasOwnProperty.call(o,s)&&(t[s]=o[s])}return t},Ll.apply(null,arguments)}function l1(t){if(t.sheet)return t.sheet;for(var r=0;r<document.styleSheets.length;r++)if(document.styleSheets[r].ownerNode===t)return document.styleSheets[r]}function a1(t){var r=document.createElement("style");return r.setAttribute("data-emotion",t.key),t.nonce!==void 0&&r.setAttribute("nonce",t.nonce),r.appendChild(document.createTextNode("")),r.setAttribute("data-s",""),r}var u1=function(){function t(o){var s=this;this._insertTag=function(a){var u;s.tags.length===0?s.insertionPoint?u=s.insertionPoint.nextSibling:s.prepend?u=s.container.firstChild:u=s.before:u=s.tags[s.tags.length-1].nextSibling,s.container.insertBefore(a,u),s.tags.push(a)},this.isSpeedy=o.speedy===void 0?!0: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 r=t.prototype;return r.hydrate=function(s){s.forEach(this._insertTag)},r.insert=function(s){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(a1(this));var a=this.tags[this.tags.length-1];if(this.isSpeedy){var u=l1(a);try{u.insertRule(s,u.cssRules.length)}catch{}}else a.appendChild(document.createTextNode(s));this.ctr++},r.flush=function(){this.tags.forEach(function(s){var a;return(a=s.parentNode)==null?void 0:a.removeChild(s)}),this.tags=[],this.ctr=0},t}(),zt="-ms-",jl="-moz-",ze="-webkit-",Yh="comm",Uc="rule",Hc="decl",c1="@import",Xh="@keyframes",d1="@layer",f1=Math.abs,Yl=String.fromCharCode,p1=Object.assign;function m1(t,r){return Ot(t,0)^45?(((r<<2^Ot(t,0))<<2^Ot(t,1))<<2^Ot(t,2))<<2^Ot(t,3):0}function Jh(t){return t.trim()}function h1(t,r){return(t=r.exec(t))?t[0]:t}function Be(t,r,o){return t.replace(r,o)}function yc(t,r){return t.indexOf(r)}function Ot(t,r){return t.charCodeAt(r)|0}function Qi(t,r,o){return t.slice(r,o)}function zn(t){return t.length}function Vc(t){return t.length}function xl(t,r){return r.push(t),t}function g1(t,r){return t.map(r).join("")}var Xl=1,zo=1,Zh=0,Qt=0,Ct=0,Uo="";function Jl(t,r,o,s,a,u,d){return{value:t,root:r,parent:o,type:s,props:a,children:u,line:Xl,column:zo,length:d,return:""}}function Ni(t,r){return p1(Jl("",null,null,"",null,null,0),t,{length:-t.length},r)}function y1(){return Ct}function v1(){return Ct=Qt>0?Ot(Uo,--Qt):0,zo--,Ct===10&&(zo=1,Xl--),Ct}function tn(){return Ct=Qt<Zh?Ot(Uo,Qt++):0,zo++,Ct===10&&(zo=1,Xl++),Ct}function Dn(){return Ot(Uo,Qt)}function Pl(){return Qt}function is(t,r){return Qi(Uo,t,r)}function qi(t){switch(t){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 eg(t){return Xl=zo=1,Zh=zn(Uo=t),Qt=0,[]}function tg(t){return Uo="",t}function $l(t){return Jh(is(Qt-1,vc(t===91?t+2:t===40?t+1:t)))}function x1(t){for(;(Ct=Dn())&&Ct<33;)tn();return qi(t)>2||qi(Ct)>3?"":" "}function S1(t,r){for(;--r&&tn()&&!(Ct<48||Ct>102||Ct>57&&Ct<65||Ct>70&&Ct<97););return is(t,Pl()+(r<6&&Dn()==32&&tn()==32))}function vc(t){for(;tn();)switch(Ct){case t:return Qt;case 34:case 39:t!==34&&t!==39&&vc(Ct);break;case 40:t===41&&vc(t);break;case 92:tn();break}return Qt}function C1(t,r){for(;tn()&&t+Ct!==57;)if(t+Ct===84&&Dn()===47)break;return"/*"+is(r,Qt-1)+"*"+Yl(t===47?t:tn())}function w1(t){for(;!qi(Dn());)tn();return is(t,Qt)}function b1(t){return tg(Il("",null,null,null,[""],t=eg(t),0,[0],t))}function Il(t,r,o,s,a,u,d,p,m){for(var h=0,v=0,y=d,w=0,E=0,b=0,C=1,T=1,N=1,j=0,P="",$=a,O=u,B=s,F=P;T;)switch(b=j,j=tn()){case 40:if(b!=108&&Ot(F,y-1)==58){yc(F+=Be($l(j),"&","&\f"),"&\f")!=-1&&(N=-1);break}case 34:case 39:case 91:F+=$l(j);break;case 9:case 10:case 13:case 32:F+=x1(b);break;case 92:F+=S1(Pl()-1,7);continue;case 47:switch(Dn()){case 42:case 47:xl(k1(C1(tn(),Pl()),r,o),m);break;default:F+="/"}break;case 123*C:p[h++]=zn(F)*N;case 125*C:case 59:case 0:switch(j){case 0:case 125:T=0;case 59+v:N==-1&&(F=Be(F,/\f/g,"")),E>0&&zn(F)-y&&xl(E>32?xm(F+";",s,o,y-1):xm(Be(F," ","")+";",s,o,y-2),m);break;case 59:F+=";";default:if(xl(B=vm(F,r,o,h,v,a,p,P,$=[],O=[],y),u),j===123)if(v===0)Il(F,r,B,B,$,u,y,p,O);else switch(w===99&&Ot(F,3)===110?100:w){case 100:case 108:case 109:case 115:Il(t,B,B,s&&xl(vm(t,B,B,0,0,a,p,P,a,$=[],y),O),a,O,y,p,s?$:O);break;default:Il(F,B,B,B,[""],O,0,p,O)}}h=v=E=0,C=N=1,P=F="",y=d;break;case 58:y=1+zn(F),E=b;default:if(C<1){if(j==123)--C;else if(j==125&&C++==0&&v1()==125)continue}switch(F+=Yl(j),j*C){case 38:N=v>0?1:(F+="\f",-1);break;case 44:p[h++]=(zn(F)-1)*N,N=1;break;case 64:Dn()===45&&(F+=$l(tn())),w=Dn(),v=y=zn(P=F+=w1(Pl())),j++;break;case 45:b===45&&zn(F)==2&&(C=0)}}return u}function vm(t,r,o,s,a,u,d,p,m,h,v){for(var y=a-1,w=a===0?u:[""],E=Vc(w),b=0,C=0,T=0;b<s;++b)for(var N=0,j=Qi(t,y+1,y=f1(C=d[b])),P=t;N<E;++N)(P=Jh(C>0?w[N]+" "+j:Be(j,/&\f/g,w[N])))&&(m[T++]=P);return Jl(t,r,o,a===0?Uc:p,m,h,v)}function k1(t,r,o){return Jl(t,r,o,Yh,Yl(y1()),Qi(t,2,-2),0)}function xm(t,r,o,s){return Jl(t,r,o,Hc,Qi(t,0,s),Qi(t,s+1,-1),s)}function jo(t,r){for(var o="",s=Vc(t),a=0;a<s;a++)o+=r(t[a],a,t,r)||"";return o}function E1(t,r,o,s){switch(t.type){case d1:if(t.children.length)break;case c1:case Hc:return t.return=t.return||t.value;case Yh:return"";case Xh:return t.return=t.value+"{"+jo(t.children,s)+"}";case Uc:t.value=t.props.join(",")}return zn(o=jo(t.children,s))?t.return=t.value+"{"+o+"}":""}function R1(t){var r=Vc(t);return function(o,s,a,u){for(var d="",p=0;p<r;p++)d+=t[p](o,s,a,u)||"";return d}}function T1(t){return function(r){r.root||(r=r.return)&&t(r)}}function ng(t){var r=Object.create(null);return function(o){return r[o]===void 0&&(r[o]=t(o)),r[o]}}var P1=function(r,o,s){for(var a=0,u=0;a=u,u=Dn(),a===38&&u===12&&(o[s]=1),!qi(u);)tn();return is(r,Qt)},$1=function(r,o){var s=-1,a=44;do switch(qi(a)){case 0:a===38&&Dn()===12&&(o[s]=1),r[s]+=P1(Qt-1,o,s);break;case 2:r[s]+=$l(a);break;case 4:if(a===44){r[++s]=Dn()===58?"&\f":"",o[s]=r[s].length;break}default:r[s]+=Yl(a)}while(a=tn());return r},I1=function(r,o){return tg($1(eg(r),o))},Sm=new WeakMap,M1=function(r){if(!(r.type!=="rule"||!r.parent||r.length<1)){for(var o=r.value,s=r.parent,a=r.column===s.column&&r.line===s.line;s.type!=="rule";)if(s=s.parent,!s)return;if(!(r.props.length===1&&o.charCodeAt(0)!==58&&!Sm.get(s))&&!a){Sm.set(r,!0);for(var u=[],d=I1(o,u),p=s.props,m=0,h=0;m<d.length;m++)for(var v=0;v<p.length;v++,h++)r.props[h]=u[m]?d[m].replace(/&\f/g,p[v]):p[v]+" "+d[m]}}},O1=function(r){if(r.type==="decl"){var o=r.value;o.charCodeAt(0)===108&&o.charCodeAt(2)===98&&(r.return="",r.value="")}};function rg(t,r){switch(m1(t,r)){case 5103:return ze+"print-"+t+t;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 ze+t+t;case 5349:case 4246:case 4810:case 6968:case 2756:return ze+t+jl+t+zt+t+t;case 6828:case 4268:return ze+t+zt+t+t;case 6165:return ze+t+zt+"flex-"+t+t;case 5187:return ze+t+Be(t,/(\w+).+(:[^]+)/,ze+"box-$1$2"+zt+"flex-$1$2")+t;case 5443:return ze+t+zt+"flex-item-"+Be(t,/flex-|-self/,"")+t;case 4675:return ze+t+zt+"flex-line-pack"+Be(t,/align-content|flex-|-self/,"")+t;case 5548:return ze+t+zt+Be(t,"shrink","negative")+t;case 5292:return ze+t+zt+Be(t,"basis","preferred-size")+t;case 6060:return ze+"box-"+Be(t,"-grow","")+ze+t+zt+Be(t,"grow","positive")+t;case 4554:return ze+Be(t,/([^-])(transform)/g,"$1"+ze+"$2")+t;case 6187:return Be(Be(Be(t,/(zoom-|grab)/,ze+"$1"),/(image-set)/,ze+"$1"),t,"")+t;case 5495:case 3959:return Be(t,/(image-set\([^]*)/,ze+"$1$`$1");case 4968:return Be(Be(t,/(.+:)(flex-)?(.*)/,ze+"box-pack:$3"+zt+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+ze+t+t;case 4095:case 3583:case 4068:case 2532:return Be(t,/(.+)-inline(.+)/,ze+"$1$2")+t;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(zn(t)-1-r>6)switch(Ot(t,r+1)){case 109:if(Ot(t,r+4)!==45)break;case 102:return Be(t,/(.+:)(.+)-([^]+)/,"$1"+ze+"$2-$3$1"+jl+(Ot(t,r+3)==108?"$3":"$2-$3"))+t;case 115:return~yc(t,"stretch")?rg(Be(t,"stretch","fill-available"),r)+t:t}break;case 4949:if(Ot(t,r+1)!==115)break;case 6444:switch(Ot(t,zn(t)-3-(~yc(t,"!important")&&10))){case 107:return Be(t,":",":"+ze)+t;case 101:return Be(t,/(.+:)([^;!]+)(;|!.+)?/,"$1"+ze+(Ot(t,14)===45?"inline-":"")+"box$3$1"+ze+"$2$3$1"+zt+"$2box$3")+t}break;case 5936:switch(Ot(t,r+11)){case 114:return ze+t+zt+Be(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return ze+t+zt+Be(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return ze+t+zt+Be(t,/[svh]\w+-[tblr]{2}/,"lr")+t}return ze+t+zt+t+t}return t}var N1=function(r,o,s,a){if(r.length>-1&&!r.return)switch(r.type){case Hc:r.return=rg(r.value,r.length);break;case Xh:return jo([Ni(r,{value:Be(r.value,"@","@"+ze)})],a);case Uc:if(r.length)return g1(r.props,function(u){switch(h1(u,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return jo([Ni(r,{props:[Be(u,/:(read-\w+)/,":"+jl+"$1")]})],a);case"::placeholder":return jo([Ni(r,{props:[Be(u,/:(plac\w+)/,":"+ze+"input-$1")]}),Ni(r,{props:[Be(u,/:(plac\w+)/,":"+jl+"$1")]}),Ni(r,{props:[Be(u,/:(plac\w+)/,zt+"input-$1")]})],a)}return""})}},A1=[N1],L1=function(r){var o=r.key;if(o==="css"){var s=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(s,function(C){var T=C.getAttribute("data-emotion");T.indexOf(" ")!==-1&&(document.head.appendChild(C),C.setAttribute("data-s",""))})}var a=r.stylisPlugins||A1,u={},d,p=[];d=r.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+o+' "]'),function(C){for(var T=C.getAttribute("data-emotion").split(" "),N=1;N<T.length;N++)u[T[N]]=!0;p.push(C)});var m,h=[M1,O1];{var v,y=[E1,T1(function(C){v.insert(C)})],w=R1(h.concat(a,y)),E=function(T){return jo(b1(T),w)};m=function(T,N,j,P){v=j,E(T?T+"{"+N.styles+"}":N.styles),P&&(b.inserted[N.name]=!0)}}var b={key:o,sheet:new u1({key:o,container:d,nonce:r.nonce,speedy:r.speedy,prepend:r.prepend,insertionPoint:r.insertionPoint}),nonce:r.nonce,inserted:u,registered:{},insert:m};return b.sheet.hydrate(p),b},Ju={exports:{}},Fe={};/** @license React v16.13.1
|
||
* react-is.production.min.js
|
||
*
|
||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||
*
|
||
* This source code is licensed under the MIT license found in the
|
||
* LICENSE file in the root directory of this source tree.
|
||
*/var Cm;function j1(){if(Cm)return Fe;Cm=1;var t=typeof Symbol=="function"&&Symbol.for,r=t?Symbol.for("react.element"):60103,o=t?Symbol.for("react.portal"):60106,s=t?Symbol.for("react.fragment"):60107,a=t?Symbol.for("react.strict_mode"):60108,u=t?Symbol.for("react.profiler"):60114,d=t?Symbol.for("react.provider"):60109,p=t?Symbol.for("react.context"):60110,m=t?Symbol.for("react.async_mode"):60111,h=t?Symbol.for("react.concurrent_mode"):60111,v=t?Symbol.for("react.forward_ref"):60112,y=t?Symbol.for("react.suspense"):60113,w=t?Symbol.for("react.suspense_list"):60120,E=t?Symbol.for("react.memo"):60115,b=t?Symbol.for("react.lazy"):60116,C=t?Symbol.for("react.block"):60121,T=t?Symbol.for("react.fundamental"):60117,N=t?Symbol.for("react.responder"):60118,j=t?Symbol.for("react.scope"):60119;function P(O){if(typeof O=="object"&&O!==null){var B=O.$$typeof;switch(B){case r:switch(O=O.type,O){case m:case h:case s:case u:case a:case y:return O;default:switch(O=O&&O.$$typeof,O){case p:case v:case b:case E:case d:return O;default:return B}}case o:return B}}}function $(O){return P(O)===h}return Fe.AsyncMode=m,Fe.ConcurrentMode=h,Fe.ContextConsumer=p,Fe.ContextProvider=d,Fe.Element=r,Fe.ForwardRef=v,Fe.Fragment=s,Fe.Lazy=b,Fe.Memo=E,Fe.Portal=o,Fe.Profiler=u,Fe.StrictMode=a,Fe.Suspense=y,Fe.isAsyncMode=function(O){return $(O)||P(O)===m},Fe.isConcurrentMode=$,Fe.isContextConsumer=function(O){return P(O)===p},Fe.isContextProvider=function(O){return P(O)===d},Fe.isElement=function(O){return typeof O=="object"&&O!==null&&O.$$typeof===r},Fe.isForwardRef=function(O){return P(O)===v},Fe.isFragment=function(O){return P(O)===s},Fe.isLazy=function(O){return P(O)===b},Fe.isMemo=function(O){return P(O)===E},Fe.isPortal=function(O){return P(O)===o},Fe.isProfiler=function(O){return P(O)===u},Fe.isStrictMode=function(O){return P(O)===a},Fe.isSuspense=function(O){return P(O)===y},Fe.isValidElementType=function(O){return typeof O=="string"||typeof O=="function"||O===s||O===h||O===u||O===a||O===y||O===w||typeof O=="object"&&O!==null&&(O.$$typeof===b||O.$$typeof===E||O.$$typeof===d||O.$$typeof===p||O.$$typeof===v||O.$$typeof===T||O.$$typeof===N||O.$$typeof===j||O.$$typeof===C)},Fe.typeOf=P,Fe}var wm;function _1(){return wm||(wm=1,Ju.exports=j1()),Ju.exports}var Zu,bm;function z1(){if(bm)return Zu;bm=1;var t=_1(),r={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},s={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},u={};u[t.ForwardRef]=s,u[t.Memo]=a;function d(b){return t.isMemo(b)?a:u[b.$$typeof]||r}var p=Object.defineProperty,m=Object.getOwnPropertyNames,h=Object.getOwnPropertySymbols,v=Object.getOwnPropertyDescriptor,y=Object.getPrototypeOf,w=Object.prototype;function E(b,C,T){if(typeof C!="string"){if(w){var N=y(C);N&&N!==w&&E(b,N,T)}var j=m(C);h&&(j=j.concat(h(C)));for(var P=d(b),$=d(C),O=0;O<j.length;++O){var B=j[O];if(!o[B]&&!(T&&T[B])&&!($&&$[B])&&!(P&&P[B])){var F=v(C,B);try{p(b,B,F)}catch{}}}}return b}return Zu=E,Zu}z1();var B1=!0;function og(t,r,o){var s="";return o.split(" ").forEach(function(a){t[a]!==void 0?r.push(t[a]+";"):a&&(s+=a+" ")}),s}var Kc=function(r,o,s){var a=r.key+"-"+o.name;(s===!1||B1===!1)&&r.registered[a]===void 0&&(r.registered[a]=o.styles)},Gc=function(r,o,s){Kc(r,o,s);var a=r.key+"-"+o.name;if(r.inserted[o.name]===void 0){var u=o;do r.insert(o===u?"."+a:"",u,r.sheet,!0),u=u.next;while(u!==void 0)}};function F1(t){for(var r=0,o,s=0,a=t.length;a>=4;++s,a-=4)o=t.charCodeAt(s)&255|(t.charCodeAt(++s)&255)<<8|(t.charCodeAt(++s)&255)<<16|(t.charCodeAt(++s)&255)<<24,o=(o&65535)*1540483477+((o>>>16)*59797<<16),o^=o>>>24,r=(o&65535)*1540483477+((o>>>16)*59797<<16)^(r&65535)*1540483477+((r>>>16)*59797<<16);switch(a){case 3:r^=(t.charCodeAt(s+2)&255)<<16;case 2:r^=(t.charCodeAt(s+1)&255)<<8;case 1:r^=t.charCodeAt(s)&255,r=(r&65535)*1540483477+((r>>>16)*59797<<16)}return r^=r>>>13,r=(r&65535)*1540483477+((r>>>16)*59797<<16),((r^r>>>15)>>>0).toString(36)}var D1={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},W1=/[A-Z]|^ms/g,U1=/_EMO_([^_]+?)_([^]*?)_EMO_/g,ig=function(r){return r.charCodeAt(1)===45},km=function(r){return r!=null&&typeof r!="boolean"},ec=ng(function(t){return ig(t)?t:t.replace(W1,"-$&").toLowerCase()}),Em=function(r,o){switch(r){case"animation":case"animationName":if(typeof o=="string")return o.replace(U1,function(s,a,u){return Bn={name:a,styles:u,next:Bn},a})}return D1[r]!==1&&!ig(r)&&typeof o=="number"&&o!==0?o+"px":o};function Yi(t,r,o){if(o==null)return"";var s=o;if(s.__emotion_styles!==void 0)return s;switch(typeof o){case"boolean":return"";case"object":{var a=o;if(a.anim===1)return Bn={name:a.name,styles:a.styles,next:Bn},a.name;var u=o;if(u.styles!==void 0){var d=u.next;if(d!==void 0)for(;d!==void 0;)Bn={name:d.name,styles:d.styles,next:Bn},d=d.next;var p=u.styles+";";return p}return H1(t,r,o)}case"function":{if(t!==void 0){var m=Bn,h=o(t);return Bn=m,Yi(t,r,h)}break}}var v=o;if(r==null)return v;var y=r[v];return y!==void 0?y:v}function H1(t,r,o){var s="";if(Array.isArray(o))for(var a=0;a<o.length;a++)s+=Yi(t,r,o[a])+";";else for(var u in o){var d=o[u];if(typeof d!="object"){var p=d;r!=null&&r[p]!==void 0?s+=u+"{"+r[p]+"}":km(p)&&(s+=ec(u)+":"+Em(u,p)+";")}else if(Array.isArray(d)&&typeof d[0]=="string"&&(r==null||r[d[0]]===void 0))for(var m=0;m<d.length;m++)km(d[m])&&(s+=ec(u)+":"+Em(u,d[m])+";");else{var h=Yi(t,r,d);switch(u){case"animation":case"animationName":{s+=ec(u)+":"+h+";";break}default:s+=u+"{"+h+"}"}}}return s}var Rm=/label:\s*([^\s;{]+)\s*(;|$)/g,Bn;function ss(t,r,o){if(t.length===1&&typeof t[0]=="object"&&t[0]!==null&&t[0].styles!==void 0)return t[0];var s=!0,a="";Bn=void 0;var u=t[0];if(u==null||u.raw===void 0)s=!1,a+=Yi(o,r,u);else{var d=u;a+=d[0]}for(var p=1;p<t.length;p++)if(a+=Yi(o,r,t[p]),s){var m=u;a+=m[p]}Rm.lastIndex=0;for(var h="",v;(v=Rm.exec(a))!==null;)h+="-"+v[1];var y=F1(a)+h;return{name:y,styles:a,next:Bn}}var V1=function(r){return r()},sg=Nl.useInsertionEffect?Nl.useInsertionEffect:!1,lg=sg||V1,Tm=sg||S.useLayoutEffect,ag=S.createContext(typeof HTMLElement<"u"?L1({key:"css"}):null);ag.Provider;var Qc=function(r){return S.forwardRef(function(o,s){var a=S.useContext(ag);return r(o,a,s)})},ls=S.createContext({}),qc={}.hasOwnProperty,xc="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",K1=function(r,o){var s={};for(var a in o)qc.call(o,a)&&(s[a]=o[a]);return s[xc]=r,s},G1=function(r){var o=r.cache,s=r.serialized,a=r.isStringTag;return Kc(o,s,a),lg(function(){return Gc(o,s,a)}),null},Q1=Qc(function(t,r,o){var s=t.css;typeof s=="string"&&r.registered[s]!==void 0&&(s=r.registered[s]);var a=t[xc],u=[s],d="";typeof t.className=="string"?d=og(r.registered,u,t.className):t.className!=null&&(d=t.className+" ");var p=ss(u,void 0,S.useContext(ls));d+=r.key+"-"+p.name;var m={};for(var h in t)qc.call(t,h)&&h!=="css"&&h!==xc&&(m[h]=t[h]);return m.className=d,o&&(m.ref=o),S.createElement(S.Fragment,null,S.createElement(G1,{cache:r,serialized:p,isStringTag:typeof a=="string"}),S.createElement(a,m))}),q1=Q1,Pm=function(r,o){var s=arguments;if(o==null||!qc.call(o,"css"))return S.createElement.apply(void 0,s);var a=s.length,u=new Array(a);u[0]=q1,u[1]=K1(r,o);for(var d=2;d<a;d++)u[d]=s[d];return S.createElement.apply(null,u)};(function(t){var r;r||(r=t.JSX||(t.JSX={}))})(Pm||(Pm={}));var Y1=Qc(function(t,r){var o=t.styles,s=ss([o],void 0,S.useContext(ls)),a=S.useRef();return Tm(function(){var u=r.key+"-global",d=new r.sheet.constructor({key:u,nonce:r.sheet.nonce,container:r.sheet.container,speedy:r.sheet.isSpeedy}),p=!1,m=document.querySelector('style[data-emotion="'+u+" "+s.name+'"]');return r.sheet.tags.length&&(d.before=r.sheet.tags[0]),m!==null&&(p=!0,m.setAttribute("data-emotion",u),d.hydrate([m])),a.current=[d,p],function(){d.flush()}},[r]),Tm(function(){var u=a.current,d=u[0],p=u[1];if(p){u[1]=!1;return}if(s.next!==void 0&&Gc(r,s.next,!0),d.tags.length){var m=d.tags[d.tags.length-1].nextElementSibling;d.before=m,d.flush()}r.insert("",s,d,!1)},[r,s.name]),null});function X1(){for(var t=arguments.length,r=new Array(t),o=0;o<t;o++)r[o]=arguments[o];return ss(r)}function Yc(){var t=X1.apply(void 0,arguments),r="animation-"+t.name;return{name:r,styles:"@keyframes "+r+"{"+t.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}var J1=/^((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)-.*))$/,Z1=ng(function(t){return J1.test(t)||t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&t.charCodeAt(2)<91}),ex=Z1,tx=function(r){return r!=="theme"},$m=function(r){return typeof r=="string"&&r.charCodeAt(0)>96?ex:tx},Im=function(r,o,s){var a;if(o){var u=o.shouldForwardProp;a=r.__emotion_forwardProp&&u?function(d){return r.__emotion_forwardProp(d)&&u(d)}:u}return typeof a!="function"&&s&&(a=r.__emotion_forwardProp),a},nx=function(r){var o=r.cache,s=r.serialized,a=r.isStringTag;return Kc(o,s,a),lg(function(){return Gc(o,s,a)}),null},rx=function t(r,o){var s=r.__emotion_real===r,a=s&&r.__emotion_base||r,u,d;o!==void 0&&(u=o.label,d=o.target);var p=Im(r,o,s),m=p||$m(a),h=!m("as");return function(){var v=arguments,y=s&&r.__emotion_styles!==void 0?r.__emotion_styles.slice(0):[];if(u!==void 0&&y.push("label:"+u+";"),v[0]==null||v[0].raw===void 0)y.push.apply(y,v);else{var w=v[0];y.push(w[0]);for(var E=v.length,b=1;b<E;b++)y.push(v[b],w[b])}var C=Qc(function(T,N,j){var P=h&&T.as||a,$="",O=[],B=T;if(T.theme==null){B={};for(var F in T)B[F]=T[F];B.theme=S.useContext(ls)}typeof T.className=="string"?$=og(N.registered,O,T.className):T.className!=null&&($=T.className+" ");var W=ss(y.concat(O),N.registered,B);$+=N.key+"-"+W.name,d!==void 0&&($+=" "+d);var V=h&&p===void 0?$m(P):m,x={};for(var D in T)h&&D==="as"||V(D)&&(x[D]=T[D]);return x.className=$,j&&(x.ref=j),S.createElement(S.Fragment,null,S.createElement(nx,{cache:N,serialized:W,isStringTag:typeof P=="string"}),S.createElement(P,x))});return C.displayName=u!==void 0?u:"Styled("+(typeof a=="string"?a:a.displayName||a.name||"Component")+")",C.defaultProps=r.defaultProps,C.__emotion_real=C,C.__emotion_base=a,C.__emotion_styles=y,C.__emotion_forwardProp=p,Object.defineProperty(C,"toString",{value:function(){return"."+d}}),C.withComponent=function(T,N){var j=t(T,Ll({},o,N,{shouldForwardProp:Im(C,N,!0)}));return j.apply(void 0,y)},C}},ox=["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"],Sc=rx.bind(null);ox.forEach(function(t){Sc[t]=Sc(t)});function ix(t){return t==null||Object.keys(t).length===0}function ug(t){const{styles:r,defaultTheme:o={}}=t,s=typeof r=="function"?a=>r(ix(a)?o:a):r;return k.jsx(Y1,{styles:s})}/**
|
||
* @mui/styled-engine v6.5.0
|
||
*
|
||
* @license MIT
|
||
* This source code is licensed under the MIT license found in the
|
||
* LICENSE file in the root directory of this source tree.
|
||
*/function cg(t,r){return Sc(t,r)}function sx(t,r){Array.isArray(t.__emotion_styles)&&(t.__emotion_styles=r(t.__emotion_styles))}const Mm=[];function Er(t){return Mm[0]=t,ss(Mm)}const lx=t=>{const r=Object.keys(t).map(o=>({key:o,val:t[o]}))||[];return r.sort((o,s)=>o.val-s.val),r.reduce((o,s)=>({...o,[s.key]:s.val}),{})};function ax(t){const{values:r={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:o="px",step:s=5,...a}=t,u=lx(r),d=Object.keys(u);function p(w){return`@media (min-width:${typeof r[w]=="number"?r[w]:w}${o})`}function m(w){return`@media (max-width:${(typeof r[w]=="number"?r[w]:w)-s/100}${o})`}function h(w,E){const b=d.indexOf(E);return`@media (min-width:${typeof r[w]=="number"?r[w]:w}${o}) and (max-width:${(b!==-1&&typeof r[d[b]]=="number"?r[d[b]]:E)-s/100}${o})`}function v(w){return d.indexOf(w)+1<d.length?h(w,d[d.indexOf(w)+1]):p(w)}function y(w){const E=d.indexOf(w);return E===0?p(d[1]):E===d.length-1?m(d[E]):h(w,d[d.indexOf(w)+1]).replace("@media","@media not all and")}return{keys:d,values:u,up:p,down:m,between:h,only:v,not:y,unit:o,...a}}const ux={borderRadius:4};function dg(t=8,r=Fc({spacing:t})){if(t.mui)return t;const o=(...s)=>(s.length===0?[1]:s).map(u=>{const d=r(u);return typeof d=="number"?`${d}px`:d}).join(" ");return o.mui=!0,o}function cx(t,r){var s;const o=this;if(o.vars){if(!((s=o.colorSchemes)!=null&&s[t])||typeof o.getColorSchemeSelector!="function")return{};let a=o.getColorSchemeSelector(t);return a==="&"?r:((a.includes("data-")||a.includes("."))&&(a=`*:where(${a.replace(/\s*&$/,"")}) &`),{[a]:r})}return o.palette.mode===t?r:{}}function Zl(t={},...r){const{breakpoints:o={},palette:s={},spacing:a,shape:u={},...d}=t,p=ax(o),m=dg(a);let h=Bt({breakpoints:p,direction:"ltr",components:{},palette:{mode:"light",...s},spacing:m,shape:{...ux,...u}},d);return h=y0(h),h.applyStyles=cx,h=r.reduce((v,y)=>Bt(v,y),h),h.unstable_sxConfig={...os,...d==null?void 0:d.unstable_sxConfig},h.unstable_sx=function(y){return Tr({sx:y,theme:this})},h}function dx(t){return Object.keys(t).length===0}function Xc(t=null){const r=S.useContext(ls);return!r||dx(r)?t:r}const fx=Zl();function ea(t=fx){return Xc(t)}function tc(t){const r=Er(t);return t!==r&&r.styles?(r.styles.match(/^@layer\s+[^{]*$/)||(r.styles=`@layer global{${r.styles}}`),r):t}function fg({styles:t,themeId:r,defaultTheme:o={}}){const s=ea(o),a=r&&s[r]||s;let u=typeof t=="function"?t(a):t;return a.modularCssLayers&&(Array.isArray(u)?u=u.map(d=>tc(typeof d=="function"?d(a):d)):u=tc(u)),k.jsx(ug,{styles:u})}const Om=t=>t,px=()=>{let t=Om;return{configure(r){t=r},generate(r){return t(r)},reset(){t=Om}}},pg=px();function mg(t){var r,o,s="";if(typeof t=="string"||typeof t=="number")s+=t;else if(typeof t=="object")if(Array.isArray(t)){var a=t.length;for(r=0;r<a;r++)t[r]&&(o=mg(t[r]))&&(s&&(s+=" "),s+=o)}else for(o in t)t[o]&&(s&&(s+=" "),s+=o);return s}function Se(){for(var t,r,o=0,s="",a=arguments.length;o<a;o++)(t=arguments[o])&&(r=mg(t))&&(s&&(s+=" "),s+=r);return s}function mx(t={}){const{themeId:r,defaultTheme:o,defaultClassName:s="MuiBox-root",generateClassName:a}=t,u=cg("div",{shouldForwardProp:p=>p!=="theme"&&p!=="sx"&&p!=="as"})(Tr);return S.forwardRef(function(m,h){const v=ea(o),{className:y,component:w="div",...E}=Wc(m);return k.jsx(u,{as:w,ref:h,className:Se(y,a?a(s):s),theme:r&&v[r]||v,...E})})}const hx={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 Ie(t,r,o="Mui"){const s=hx[r];return s?`${o}-${s}`:`${pg.generate(t)}-${r}`}function Pe(t,r,o="Mui"){const s={};return r.forEach(a=>{s[a]=Ie(t,a,o)}),s}function hg(t){const{variants:r,...o}=t,s={variants:r,style:Er(o),isProcessed:!0};return s.style===o||r&&r.forEach(a=>{typeof a.style!="function"&&(a.style=Er(a.style))}),s}const gx=Zl();function nc(t){return t!=="ownerState"&&t!=="theme"&&t!=="sx"&&t!=="as"}function qr(t,r){return r&&t&&typeof t=="object"&&t.styles&&!t.styles.startsWith("@layer")&&(t.styles=`@layer ${r}{${String(t.styles)}}`),t}function yx(t){return t?(r,o)=>o[t]:null}function vx(t,r,o){t.theme=Sx(t.theme)?o:t.theme[r]||t.theme}function Ml(t,r,o){const s=typeof r=="function"?r(t):r;if(Array.isArray(s))return s.flatMap(a=>Ml(t,a,o));if(Array.isArray(s==null?void 0:s.variants)){let a;if(s.isProcessed)a=o?qr(s.style,o):s.style;else{const{variants:u,...d}=s;a=o?qr(Er(d),o):d}return gg(t,s.variants,[a],o)}return s!=null&&s.isProcessed?o?qr(Er(s.style),o):s.style:o?qr(Er(s),o):s}function gg(t,r,o=[],s=void 0){var u;let a;e:for(let d=0;d<r.length;d+=1){const p=r[d];if(typeof p.props=="function"){if(a??(a={...t,...t.ownerState,ownerState:t.ownerState}),!p.props(a))continue}else for(const m in p.props)if(t[m]!==p.props[m]&&((u=t.ownerState)==null?void 0:u[m])!==p.props[m])continue e;typeof p.style=="function"?(a??(a={...t,...t.ownerState,ownerState:t.ownerState}),o.push(s?qr(Er(p.style(a)),s):p.style(a))):o.push(s?qr(Er(p.style),s):p.style)}return o}function yg(t={}){const{themeId:r,defaultTheme:o=gx,rootShouldForwardProp:s=nc,slotShouldForwardProp:a=nc}=t;function u(p){vx(p,r,o)}return(p,m={})=>{sx(p,B=>B.filter(F=>F!==Tr));const{name:h,slot:v,skipVariantsResolver:y,skipSx:w,overridesResolver:E=yx(wx(v)),...b}=m,C=h&&h.startsWith("Mui")||v?"components":"custom",T=y!==void 0?y:v&&v!=="Root"&&v!=="root"||!1,N=w||!1;let j=nc;v==="Root"||v==="root"?j=s:v?j=a:Cx(p)&&(j=void 0);const P=cg(p,{shouldForwardProp:j,label:xx(),...b}),$=B=>{if(B.__emotion_real===B)return B;if(typeof B=="function")return function(W){return Ml(W,B,W.theme.modularCssLayers?C:void 0)};if(Fn(B)){const F=hg(B);return function(V){return F.variants?Ml(V,F,V.theme.modularCssLayers?C:void 0):V.theme.modularCssLayers?qr(F.style,C):F.style}}return B},O=(...B)=>{const F=[],W=B.map($),V=[];if(F.push(u),h&&E&&V.push(function(J){var oe,K;const Q=(K=(oe=J.theme.components)==null?void 0:oe[h])==null?void 0:K.styleOverrides;if(!Q)return null;const Z={};for(const G in Q)Z[G]=Ml(J,Q[G],J.theme.modularCssLayers?"theme":void 0);return E(J,Z)}),h&&!T&&V.push(function(J){var Z,oe;const re=J.theme,Q=(oe=(Z=re==null?void 0:re.components)==null?void 0:Z[h])==null?void 0:oe.variants;return Q?gg(J,Q,[],J.theme.modularCssLayers?"theme":void 0):null}),N||V.push(Tr),Array.isArray(W[0])){const ee=W.shift(),J=new Array(F.length).fill(""),re=new Array(V.length).fill("");let Q;Q=[...J,...ee,...re],Q.raw=[...J,...ee.raw,...re],F.unshift(Q)}const x=[...F,...W,...V],D=P(...x);return p.muiName&&(D.muiName=p.muiName),D};return P.withConfig&&(O.withConfig=P.withConfig),O}}function xx(t,r){return void 0}function Sx(t){for(const r in t)return!1;return!0}function Cx(t){return typeof t=="string"&&t.charCodeAt(0)>96}function wx(t){return t&&t.charAt(0).toLowerCase()+t.slice(1)}const bx=yg();function Xi(t,r){const o={...r};for(const s in t)if(Object.prototype.hasOwnProperty.call(t,s)){const a=s;if(a==="components"||a==="slots")o[a]={...t[a],...o[a]};else if(a==="componentsProps"||a==="slotProps"){const u=t[a],d=r[a];if(!d)o[a]=u||{};else if(!u)o[a]=d;else{o[a]={...d};for(const p in u)if(Object.prototype.hasOwnProperty.call(u,p)){const m=p;o[a][m]=Xi(u[m],d[m])}}}else o[a]===void 0&&(o[a]=t[a])}return o}function kx(t){const{theme:r,name:o,props:s}=t;return!r||!r.components||!r.components[o]||!r.components[o].defaultProps?s:Xi(r.components[o].defaultProps,s)}function Ex({props:t,name:r,defaultTheme:o,themeId:s}){let a=ea(o);return s&&(a=a[s]||a),kx({theme:a,name:r,props:t})}const Hn=typeof window<"u"?S.useLayoutEffect:S.useEffect;function Rx(t,r=Number.MIN_SAFE_INTEGER,o=Number.MAX_SAFE_INTEGER){return Math.max(r,Math.min(t,o))}function Jc(t,r=0,o=1){return Rx(t,r,o)}function Tx(t){t=t.slice(1);const r=new RegExp(`.{1,${t.length>=6?2:1}}`,"g");let o=t.match(r);return o&&o[0].length===1&&(o=o.map(s=>s+s)),o?`rgb${o.length===4?"a":""}(${o.map((s,a)=>a<3?parseInt(s,16):Math.round(parseInt(s,16)/255*1e3)/1e3).join(", ")})`:""}function Pr(t){if(t.type)return t;if(t.charAt(0)==="#")return Pr(Tx(t));const r=t.indexOf("("),o=t.substring(0,r);if(!["rgb","rgba","hsl","hsla","color"].includes(o))throw new Error(nr(9,t));let s=t.substring(r+1,t.length-1),a;if(o==="color"){if(s=s.split(" "),a=s.shift(),s.length===4&&s[3].charAt(0)==="/"&&(s[3]=s[3].slice(1)),!["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].includes(a))throw new Error(nr(10,a))}else s=s.split(",");return s=s.map(u=>parseFloat(u)),{type:o,values:s,colorSpace:a}}const Px=t=>{const r=Pr(t);return r.values.slice(0,3).map((o,s)=>r.type.includes("hsl")&&s!==0?`${o}%`:o).join(" ")},Wi=(t,r)=>{try{return Px(t)}catch{return t}};function ta(t){const{type:r,colorSpace:o}=t;let{values:s}=t;return r.includes("rgb")?s=s.map((a,u)=>u<3?parseInt(a,10):a):r.includes("hsl")&&(s[1]=`${s[1]}%`,s[2]=`${s[2]}%`),r.includes("color")?s=`${o} ${s.join(" ")}`:s=`${s.join(", ")}`,`${r}(${s})`}function vg(t){t=Pr(t);const{values:r}=t,o=r[0],s=r[1]/100,a=r[2]/100,u=s*Math.min(a,1-a),d=(h,v=(h+o/30)%12)=>a-u*Math.max(Math.min(v-3,9-v,1),-1);let p="rgb";const m=[Math.round(d(0)*255),Math.round(d(8)*255),Math.round(d(4)*255)];return t.type==="hsla"&&(p+="a",m.push(r[3])),ta({type:p,values:m})}function Cc(t){t=Pr(t);let r=t.type==="hsl"||t.type==="hsla"?Pr(vg(t)).values:t.values;return r=r.map(o=>(t.type!=="color"&&(o/=255),o<=.03928?o/12.92:((o+.055)/1.055)**2.4)),Number((.2126*r[0]+.7152*r[1]+.0722*r[2]).toFixed(3))}function $x(t,r){const o=Cc(t),s=Cc(r);return(Math.max(o,s)+.05)/(Math.min(o,s)+.05)}function $t(t,r){return t=Pr(t),r=Jc(r),(t.type==="rgb"||t.type==="hsl")&&(t.type+="a"),t.type==="color"?t.values[3]=`/${r}`:t.values[3]=r,ta(t)}function Sl(t,r,o){try{return $t(t,r)}catch{return t}}function Bo(t,r){if(t=Pr(t),r=Jc(r),t.type.includes("hsl"))t.values[2]*=1-r;else if(t.type.includes("rgb")||t.type.includes("color"))for(let o=0;o<3;o+=1)t.values[o]*=1-r;return ta(t)}function qe(t,r,o){try{return Bo(t,r)}catch{return t}}function Fo(t,r){if(t=Pr(t),r=Jc(r),t.type.includes("hsl"))t.values[2]+=(100-t.values[2])*r;else if(t.type.includes("rgb"))for(let o=0;o<3;o+=1)t.values[o]+=(255-t.values[o])*r;else if(t.type.includes("color"))for(let o=0;o<3;o+=1)t.values[o]+=(1-t.values[o])*r;return ta(t)}function Ye(t,r,o){try{return Fo(t,r)}catch{return t}}function Ix(t,r=.15){return Cc(t)>.5?Bo(t,r):Fo(t,r)}function Cl(t,r,o){try{return Ix(t,r)}catch{return t}}function Nm(...t){return t.reduce((r,o)=>o==null?r:function(...a){r.apply(this,a),o.apply(this,a)},()=>{})}function xg(t,r=166){let o;function s(...a){const u=()=>{t.apply(this,a)};clearTimeout(o),o=setTimeout(u,r)}return s.clear=()=>{clearTimeout(o)},s}function rc(t,r){var o,s,a;return S.isValidElement(t)&&r.indexOf(t.type.muiName??((a=(s=(o=t.type)==null?void 0:o._payload)==null?void 0:s.value)==null?void 0:a.muiName))!==-1}function Pn(t){return t&&t.ownerDocument||document}function rr(t){return Pn(t).defaultView||window}function Am(t,r){typeof t=="function"?t(r):t&&(t.current=r)}let Lm=0;function Mx(t){const[r,o]=S.useState(t),s=t||r;return S.useEffect(()=>{r==null&&(Lm+=1,o(`mui-${Lm}`))},[r]),s}const Ox={...Nl},jm=Ox.useId;function Zc(t){if(jm!==void 0){const r=jm();return t??r}return Mx(t)}function _m({controlled:t,default:r,name:o,state:s="value"}){const{current:a}=S.useRef(t!==void 0),[u,d]=S.useState(r),p=a?t:u,m=S.useCallback(h=>{a||d(h)},[]);return[p,m]}function _o(t){const r=S.useRef(t);return Hn(()=>{r.current=t}),S.useRef((...o)=>(0,r.current)(...o)).current}function Nt(...t){const r=S.useRef(void 0),o=S.useCallback(s=>{const a=t.map(u=>{if(u==null)return null;if(typeof u=="function"){const d=u,p=d(s);return typeof p=="function"?p:()=>{d(null)}}return u.current=s,()=>{u.current=null}});return()=>{a.forEach(u=>u==null?void 0:u())}},t);return S.useMemo(()=>t.every(s=>s==null)?null:s=>{r.current&&(r.current(),r.current=void 0),s!=null&&(r.current=o(s))},t)}const zm={};function Sg(t,r){const o=S.useRef(zm);return o.current===zm&&(o.current=t(r)),o}const Nx=[];function Ax(t){S.useEffect(t,Nx)}class ed{constructor(){Mi(this,"currentId",null);Mi(this,"clear",()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)});Mi(this,"disposeEffect",()=>this.clear)}static create(){return new ed}start(r,o){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,o()},r)}}function Cg(){const t=Sg(ed.create).current;return Ax(t.disposeEffect),t}function Bm(t){try{return t.matches(":focus-visible")}catch{}return!1}function wg(t=window){const r=t.document.documentElement.clientWidth;return t.innerWidth-r}function Ne(t,r,o=void 0){const s={};for(const a in t){const u=t[a];let d="",p=!0;for(let m=0;m<u.length;m+=1){const h=u[m];h&&(d+=(p===!0?"":" ")+r(h),p=!1,o&&o[h]&&(d+=" "+o[h]))}s[a]=d}return s}function Lx(t){return typeof t=="string"}function bg(t,r,o){return t===void 0||Lx(t)?r:{...r,ownerState:{...r.ownerState,...o}}}function kg(t,r=[]){if(t===void 0)return{};const o={};return Object.keys(t).filter(s=>s.match(/^on[A-Z]/)&&typeof t[s]=="function"&&!r.includes(s)).forEach(s=>{o[s]=t[s]}),o}function Fm(t){if(t===void 0)return{};const r={};return Object.keys(t).filter(o=>!(o.match(/^on[A-Z]/)&&typeof t[o]=="function")).forEach(o=>{r[o]=t[o]}),r}function Eg(t){const{getSlotProps:r,additionalProps:o,externalSlotProps:s,externalForwardedProps:a,className:u}=t;if(!r){const E=Se(o==null?void 0:o.className,u,a==null?void 0:a.className,s==null?void 0:s.className),b={...o==null?void 0:o.style,...a==null?void 0:a.style,...s==null?void 0:s.style},C={...o,...a,...s};return E.length>0&&(C.className=E),Object.keys(b).length>0&&(C.style=b),{props:C,internalRef:void 0}}const d=kg({...a,...s}),p=Fm(s),m=Fm(a),h=r(d),v=Se(h==null?void 0:h.className,o==null?void 0:o.className,u,a==null?void 0:a.className,s==null?void 0:s.className),y={...h==null?void 0:h.style,...o==null?void 0:o.style,...a==null?void 0:a.style,...s==null?void 0:s.style},w={...h,...o,...m,...p};return v.length>0&&(w.className=v),Object.keys(y).length>0&&(w.style=y),{props:w,internalRef:h.ref}}function Rg(t,r,o){return typeof t=="function"?t(r,o):t}function Dm(t){var y;const{elementType:r,externalSlotProps:o,ownerState:s,skipResolvingSlotProps:a=!1,...u}=t,d=a?{}:Rg(o,s),{props:p,internalRef:m}=Eg({...u,externalSlotProps:d}),h=Nt(m,d==null?void 0:d.ref,(y=t.additionalProps)==null?void 0:y.ref);return bg(r,{...p,ref:h},s)}function as(t){var r;return parseInt(S.version,10)>=19?((r=t==null?void 0:t.props)==null?void 0:r.ref)||null:(t==null?void 0:t.ref)||null}const Tg=S.createContext(null);function td(){return S.useContext(Tg)}const jx=typeof Symbol=="function"&&Symbol.for,_x=jx?Symbol.for("mui.nested"):"__THEME_NESTED__";function zx(t,r){return typeof r=="function"?r(t):{...t,...r}}function Bx(t){const{children:r,theme:o}=t,s=td(),a=S.useMemo(()=>{const u=s===null?{...o}:zx(s,o);return u!=null&&(u[_x]=s!==null),u},[o,s]);return k.jsx(Tg.Provider,{value:a,children:r})}const Pg=S.createContext();function Fx({value:t,...r}){return k.jsx(Pg.Provider,{value:t??!0,...r})}const Dx=()=>S.useContext(Pg)??!1,$g=S.createContext(void 0);function Wx({value:t,children:r}){return k.jsx($g.Provider,{value:t,children:r})}function Ux(t){const{theme:r,name:o,props:s}=t;if(!r||!r.components||!r.components[o])return s;const a=r.components[o];return a.defaultProps?Xi(a.defaultProps,s):!a.styleOverrides&&!a.variants?Xi(a,s):s}function Hx({props:t,name:r}){const o=S.useContext($g);return Ux({props:t,name:r,theme:{components:o}})}function Vx(t){const r=Xc(),o=Zc()||"",{modularCssLayers:s}=t;let a="mui.global, mui.components, mui.theme, mui.custom, mui.sx";return!s||r!==null?a="":typeof s=="string"?a=s.replace(/mui(?!\.)/g,a):a=`@layer ${a};`,Hn(()=>{var p,m;const u=document.querySelector("head");if(!u)return;const d=u.firstChild;if(a){if(d&&((p=d.hasAttribute)!=null&&p.call(d,"data-mui-layer-order"))&&d.getAttribute("data-mui-layer-order")===o)return;const h=document.createElement("style");h.setAttribute("data-mui-layer-order",o),h.textContent=a,u.prepend(h)}else(m=u.querySelector(`style[data-mui-layer-order="${o}"]`))==null||m.remove()},[a,o]),a?k.jsx(fg,{styles:a}):null}const Wm={};function Um(t,r,o,s=!1){return S.useMemo(()=>{const a=t&&r[t]||r;if(typeof o=="function"){const u=o(a),d=t?{...r,[t]:u}:u;return s?()=>d:d}return t?{...r,[t]:o}:{...r,...o}},[t,r,o,s])}function Ig(t){const{children:r,theme:o,themeId:s}=t,a=Xc(Wm),u=td()||Wm,d=Um(s,a,o),p=Um(s,u,o,!0),m=(s?d[s]:d).direction==="rtl",h=Vx(d);return k.jsx(Bx,{theme:p,children:k.jsx(ls.Provider,{value:d,children:k.jsx(Fx,{value:m,children:k.jsxs(Wx,{value:s?d[s].components:d.components,children:[h,r]})})})})}const Hm={theme:void 0};function Kx(t){let r,o;return function(a){let u=r;return(u===void 0||a.theme!==o)&&(Hm.theme=a.theme,u=hg(t(Hm)),r=u,o=a.theme),u}}const nd="mode",rd="color-scheme",Gx="data-color-scheme";function Qx(t){const{defaultMode:r="system",defaultLightColorScheme:o="light",defaultDarkColorScheme:s="dark",modeStorageKey:a=nd,colorSchemeStorageKey:u=rd,attribute:d=Gx,colorSchemeNode:p="document.documentElement",nonce:m}=t||{};let h="",v=d;if(d==="class"&&(v=".%s"),d==="data"&&(v="[data-%s]"),v.startsWith(".")){const w=v.substring(1);h+=`${p}.classList.remove('${w}'.replace('%s', light), '${w}'.replace('%s', dark));
|
||
${p}.classList.add('${w}'.replace('%s', colorScheme));`}const y=v.match(/\[([^\]]+)\]/);if(y){const[w,E]=y[1].split("=");E||(h+=`${p}.removeAttribute('${w}'.replace('%s', light));
|
||
${p}.removeAttribute('${w}'.replace('%s', dark));`),h+=`
|
||
${p}.setAttribute('${w}'.replace('%s', colorScheme), ${E?`${E}.replace('%s', colorScheme)`:'""'});`}else h+=`${p}.setAttribute('${v}', colorScheme);`;return k.jsx("script",{suppressHydrationWarning:!0,nonce:typeof window>"u"?m:"",dangerouslySetInnerHTML:{__html:`(function() {
|
||
try {
|
||
let colorScheme = '';
|
||
const mode = localStorage.getItem('${a}') || '${r}';
|
||
const dark = localStorage.getItem('${u}-dark') || '${s}';
|
||
const light = localStorage.getItem('${u}-light') || '${o}';
|
||
if (mode === 'system') {
|
||
// handle system mode
|
||
const mql = window.matchMedia('(prefers-color-scheme: dark)');
|
||
if (mql.matches) {
|
||
colorScheme = dark
|
||
} else {
|
||
colorScheme = light
|
||
}
|
||
}
|
||
if (mode === 'light') {
|
||
colorScheme = light;
|
||
}
|
||
if (mode === 'dark') {
|
||
colorScheme = dark;
|
||
}
|
||
if (colorScheme) {
|
||
${h}
|
||
}
|
||
} catch(e){}})();`}},"mui-color-scheme-init")}function qx(){}const Yx=({key:t,storageWindow:r})=>(!r&&typeof window<"u"&&(r=window),{get(o){if(typeof window>"u")return;if(!r)return o;let s;try{s=r.localStorage.getItem(t)}catch{}return s||o},set:o=>{if(r)try{r.localStorage.setItem(t,o)}catch{}},subscribe:o=>{if(!r)return qx;const s=a=>{const u=a.newValue;a.key===t&&o(u)};return r.addEventListener("storage",s),()=>{r.removeEventListener("storage",s)}}});function oc(){}function Vm(t){if(typeof window<"u"&&typeof window.matchMedia=="function"&&t==="system")return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}function Mg(t,r){if(t.mode==="light"||t.mode==="system"&&t.systemMode==="light")return r("light");if(t.mode==="dark"||t.mode==="system"&&t.systemMode==="dark")return r("dark")}function Xx(t){return Mg(t,r=>{if(r==="light")return t.lightColorScheme;if(r==="dark")return t.darkColorScheme})}function Jx(t){const{defaultMode:r="light",defaultLightColorScheme:o,defaultDarkColorScheme:s,supportedColorSchemes:a=[],modeStorageKey:u=nd,colorSchemeStorageKey:d=rd,storageWindow:p=typeof window>"u"?void 0:window,storageManager:m=Yx,noSsr:h=!1}=t,v=a.join(","),y=a.length>1,w=S.useMemo(()=>m==null?void 0:m({key:u,storageWindow:p}),[m,u,p]),E=S.useMemo(()=>m==null?void 0:m({key:`${d}-light`,storageWindow:p}),[m,d,p]),b=S.useMemo(()=>m==null?void 0:m({key:`${d}-dark`,storageWindow:p}),[m,d,p]),[C,T]=S.useState(()=>{const W=(w==null?void 0:w.get(r))||r,V=(E==null?void 0:E.get(o))||o,x=(b==null?void 0:b.get(s))||s;return{mode:W,systemMode:Vm(W),lightColorScheme:V,darkColorScheme:x}}),[N,j]=S.useState(h||!y);S.useEffect(()=>{j(!0)},[]);const P=Xx(C),$=S.useCallback(W=>{T(V=>{if(W===V.mode)return V;const x=W??r;return w==null||w.set(x),{...V,mode:x,systemMode:Vm(x)}})},[w,r]),O=S.useCallback(W=>{W?typeof W=="string"?W&&!v.includes(W)?console.error(`\`${W}\` does not exist in \`theme.colorSchemes\`.`):T(V=>{const x={...V};return Mg(V,D=>{D==="light"&&(E==null||E.set(W),x.lightColorScheme=W),D==="dark"&&(b==null||b.set(W),x.darkColorScheme=W)}),x}):T(V=>{const x={...V},D=W.light===null?o:W.light,ee=W.dark===null?s:W.dark;return D&&(v.includes(D)?(x.lightColorScheme=D,E==null||E.set(D)):console.error(`\`${D}\` does not exist in \`theme.colorSchemes\`.`)),ee&&(v.includes(ee)?(x.darkColorScheme=ee,b==null||b.set(ee)):console.error(`\`${ee}\` does not exist in \`theme.colorSchemes\`.`)),x}):T(V=>(E==null||E.set(o),b==null||b.set(s),{...V,lightColorScheme:o,darkColorScheme:s}))},[v,E,b,o,s]),B=S.useCallback(W=>{C.mode==="system"&&T(V=>{const x=W!=null&&W.matches?"dark":"light";return V.systemMode===x?V:{...V,systemMode:x}})},[C.mode]),F=S.useRef(B);return F.current=B,S.useEffect(()=>{if(typeof window.matchMedia!="function"||!y)return;const W=(...x)=>F.current(...x),V=window.matchMedia("(prefers-color-scheme: dark)");return V.addListener(W),W(V),()=>{V.removeListener(W)}},[y]),S.useEffect(()=>{if(y){const W=(w==null?void 0:w.subscribe(D=>{(!D||["light","dark","system"].includes(D))&&$(D||r)}))||oc,V=(E==null?void 0:E.subscribe(D=>{(!D||v.match(D))&&O({light:D})}))||oc,x=(b==null?void 0:b.subscribe(D=>{(!D||v.match(D))&&O({dark:D})}))||oc;return()=>{W(),V(),x()}}},[O,$,v,r,p,y,w,E,b]),{...C,mode:N?C.mode:void 0,systemMode:N?C.systemMode:void 0,colorScheme:N?P:void 0,setMode:$,setColorScheme:O}}const Zx="*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";function eS(t){const{themeId:r,theme:o={},modeStorageKey:s=nd,colorSchemeStorageKey:a=rd,disableTransitionOnChange:u=!1,defaultColorScheme:d,resolveTheme:p}=t,m={allColorSchemes:[],colorScheme:void 0,darkColorScheme:void 0,lightColorScheme:void 0,mode:void 0,setColorScheme:()=>{},setMode:()=>{},systemMode:void 0},h=S.createContext(void 0),v=()=>S.useContext(h)||m,y={},w={};function E(N){var vt,rn,vn,on;const{children:j,theme:P,modeStorageKey:$=s,colorSchemeStorageKey:O=a,disableTransitionOnChange:B=u,storageManager:F,storageWindow:W=typeof window>"u"?void 0:window,documentNode:V=typeof document>"u"?void 0:document,colorSchemeNode:x=typeof document>"u"?void 0:document.documentElement,disableNestedContext:D=!1,disableStyleSheetGeneration:ee=!1,defaultMode:J="system",noSsr:re}=N,Q=S.useRef(!1),Z=td(),oe=S.useContext(h),K=!!oe&&!D,G=S.useMemo(()=>P||(typeof o=="function"?o():o),[P]),ne=G[r],M=ne||G,{colorSchemes:U=y,components:ie=w,cssVarPrefix:le}=M,ce=Object.keys(U).filter(Ge=>!!U[Ge]).join(","),ge=S.useMemo(()=>ce.split(","),[ce]),be=typeof d=="string"?d:d.light,Ee=typeof d=="string"?d:d.dark,we=U[be]&&U[Ee]?J:((rn=(vt=U[M.defaultColorScheme])==null?void 0:vt.palette)==null?void 0:rn.mode)||((vn=M.palette)==null?void 0:vn.mode),{mode:ye,setMode:Ae,systemMode:Te,lightColorScheme:He,darkColorScheme:Re,colorScheme:De,setColorScheme:wt}=Jx({supportedColorSchemes:ge,defaultLightColorScheme:be,defaultDarkColorScheme:Ee,modeStorageKey:$,colorSchemeStorageKey:O,defaultMode:we,storageManager:F,storageWindow:W,noSsr:re});let st=ye,Le=De;K&&(st=oe.mode,Le=oe.colorScheme);const yt=S.useMemo(()=>{var Oe;const Ge=Le||M.defaultColorScheme,rt=((Oe=M.generateThemeVars)==null?void 0:Oe.call(M))||M.vars,Qe={...M,components:ie,colorSchemes:U,cssVarPrefix:le,vars:rt};if(typeof Qe.generateSpacing=="function"&&(Qe.spacing=Qe.generateSpacing()),Ge){const xt=U[Ge];xt&&typeof xt=="object"&&Object.keys(xt).forEach(Et=>{xt[Et]&&typeof xt[Et]=="object"?Qe[Et]={...Qe[Et],...xt[Et]}:Qe[Et]=xt[Et]})}return p?p(Qe):Qe},[M,Le,ie,U,le]),Ze=M.colorSchemeSelector;Hn(()=>{if(Le&&x&&Ze&&Ze!=="media"){const Ge=Ze;let rt=Ze;if(Ge==="class"&&(rt=".%s"),Ge==="data"&&(rt="[data-%s]"),Ge!=null&&Ge.startsWith("data-")&&!Ge.includes("%s")&&(rt=`[${Ge}="%s"]`),rt.startsWith("."))x.classList.remove(...ge.map(Qe=>rt.substring(1).replace("%s",Qe))),x.classList.add(rt.substring(1).replace("%s",Le));else{const Qe=rt.replace("%s",Le).match(/\[([^\]]+)\]/);if(Qe){const[Oe,xt]=Qe[1].split("=");xt||ge.forEach(Et=>{x.removeAttribute(Oe.replace(Le,Et))}),x.setAttribute(Oe,xt?xt.replace(/"|'/g,""):"")}else x.setAttribute(rt,Le)}}},[Le,Ze,x,ge]),S.useEffect(()=>{let Ge;if(B&&Q.current&&V){const rt=V.createElement("style");rt.appendChild(V.createTextNode(Zx)),V.head.appendChild(rt),window.getComputedStyle(V.body),Ge=setTimeout(()=>{V.head.removeChild(rt)},1)}return()=>{clearTimeout(Ge)}},[Le,B,V]),S.useEffect(()=>(Q.current=!0,()=>{Q.current=!1}),[]);const Ve=S.useMemo(()=>({allColorSchemes:ge,colorScheme:Le,darkColorScheme:Re,lightColorScheme:He,mode:st,setColorScheme:wt,setMode:Ae,systemMode:Te}),[ge,Le,Re,He,st,wt,Ae,Te,yt.colorSchemeSelector]);let me=!0;(ee||M.cssVariables===!1||K&&(Z==null?void 0:Z.cssVarPrefix)===le)&&(me=!1);const nn=k.jsxs(S.Fragment,{children:[k.jsx(Ig,{themeId:ne?r:void 0,theme:yt,children:j}),me&&k.jsx(ug,{styles:((on=yt.generateStyleSheets)==null?void 0:on.call(yt))||[]})]});return K?nn:k.jsx(h.Provider,{value:Ve,children:nn})}const b=typeof d=="string"?d:d.light,C=typeof d=="string"?d:d.dark;return{CssVarsProvider:E,useColorScheme:v,getInitColorSchemeScript:N=>Qx({colorSchemeStorageKey:a,defaultLightColorScheme:b,defaultDarkColorScheme:C,modeStorageKey:s,...N})}}function tS(t=""){function r(...s){if(!s.length)return"";const a=s[0];return typeof a=="string"&&!a.match(/(#|\(|\)|(-?(\d*\.)?\d+)(px|em|%|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc))|^(-?(\d*\.)?\d+)$|(\d+ \d+ \d+)/)?`, var(--${t?`${t}-`:""}${a}${r(...s.slice(1))})`:`, ${a}`}return(s,...a)=>`var(--${t?`${t}-`:""}${s}${r(...a)})`}const Km=(t,r,o,s=[])=>{let a=t;r.forEach((u,d)=>{d===r.length-1?Array.isArray(a)?a[Number(u)]=o:a&&typeof a=="object"&&(a[u]=o):a&&typeof a=="object"&&(a[u]||(a[u]=s.includes(u)?[]:{}),a=a[u])})},nS=(t,r,o)=>{function s(a,u=[],d=[]){Object.entries(a).forEach(([p,m])=>{(!o||o&&!o([...u,p]))&&m!=null&&(typeof m=="object"&&Object.keys(m).length>0?s(m,[...u,p],Array.isArray(m)?[...d,p]:d):r([...u,p],m,d))})}s(t)},rS=(t,r)=>typeof r=="number"?["lineHeight","fontWeight","opacity","zIndex"].some(s=>t.includes(s))||t[t.length-1].toLowerCase().includes("opacity")?r:`${r}px`:r;function ic(t,r){const{prefix:o,shouldSkipGeneratingVar:s}=r||{},a={},u={},d={};return nS(t,(p,m,h)=>{if((typeof m=="string"||typeof m=="number")&&(!s||!s(p,m))){const v=`--${o?`${o}-`:""}${p.join("-")}`,y=rS(p,m);Object.assign(a,{[v]:y}),Km(u,p,`var(${v})`,h),Km(d,p,`var(${v}, ${y})`,h)}},p=>p[0]==="vars"),{css:a,vars:u,varsWithDefaults:d}}function oS(t,r={}){const{getSelector:o=T,disableCssColorScheme:s,colorSchemeSelector:a}=r,{colorSchemes:u={},components:d,defaultColorScheme:p="light",...m}=t,{vars:h,css:v,varsWithDefaults:y}=ic(m,r);let w=y;const E={},{[p]:b,...C}=u;if(Object.entries(C||{}).forEach(([P,$])=>{const{vars:O,css:B,varsWithDefaults:F}=ic($,r);w=Bt(w,F),E[P]={css:B,vars:O}}),b){const{css:P,vars:$,varsWithDefaults:O}=ic(b,r);w=Bt(w,O),E[p]={css:P,vars:$}}function T(P,$){var B,F;let O=a;if(a==="class"&&(O=".%s"),a==="data"&&(O="[data-%s]"),a!=null&&a.startsWith("data-")&&!a.includes("%s")&&(O=`[${a}="%s"]`),P){if(O==="media")return t.defaultColorScheme===P?":root":{[`@media (prefers-color-scheme: ${((F=(B=u[P])==null?void 0:B.palette)==null?void 0:F.mode)||P})`]:{":root":$}};if(O)return t.defaultColorScheme===P?`:root, ${O.replace("%s",String(P))}`:O.replace("%s",String(P))}return":root"}return{vars:w,generateThemeVars:()=>{let P={...h};return Object.entries(E).forEach(([,{vars:$}])=>{P=Bt(P,$)}),P},generateStyleSheets:()=>{var W,V;const P=[],$=t.defaultColorScheme||"light";function O(x,D){Object.keys(D).length&&P.push(typeof x=="string"?{[x]:{...D}}:x)}O(o(void 0,{...v}),v);const{[$]:B,...F}=E;if(B){const{css:x}=B,D=(V=(W=u[$])==null?void 0:W.palette)==null?void 0:V.mode,ee=!s&&D?{colorScheme:D,...x}:{...x};O(o($,{...ee}),ee)}return Object.entries(F).forEach(([x,{css:D}])=>{var re,Q;const ee=(Q=(re=u[x])==null?void 0:re.palette)==null?void 0:Q.mode,J=!s&&ee?{colorScheme:ee,...D}:{...D};O(o(x,{...J}),J)}),P}}}function iS(t){return function(o){return t==="media"?`@media (prefers-color-scheme: ${o})`:t?t.startsWith("data-")&&!t.includes("%s")?`[${t}="${o}"] &`:t==="class"?`.${o} &`:t==="data"?`[data-${o}] &`:`${t.replace("%s",o)} &`:"&"}}const sS=Zl(),lS=bx("div",{name:"MuiContainer",slot:"Root",overridesResolver:(t,r)=>{const{ownerState:o}=t;return[r.root,r[`maxWidth${he(String(o.maxWidth))}`],o.fixed&&r.fixed,o.disableGutters&&r.disableGutters]}}),aS=t=>Ex({props:t,name:"MuiContainer",defaultTheme:sS}),uS=(t,r)=>{const o=m=>Ie(r,m),{classes:s,fixed:a,disableGutters:u,maxWidth:d}=t,p={root:["root",d&&`maxWidth${he(String(d))}`,a&&"fixed",u&&"disableGutters"]};return Ne(p,o,s)};function cS(t={}){const{createStyledComponent:r=lS,useThemeProps:o=aS,componentName:s="MuiContainer"}=t,a=r(({theme:d,ownerState:p})=>({width:"100%",marginLeft:"auto",boxSizing:"border-box",marginRight:"auto",...!p.disableGutters&&{paddingLeft:d.spacing(2),paddingRight:d.spacing(2),[d.breakpoints.up("sm")]:{paddingLeft:d.spacing(3),paddingRight:d.spacing(3)}}}),({theme:d,ownerState:p})=>p.fixed&&Object.keys(d.breakpoints.values).reduce((m,h)=>{const v=h,y=d.breakpoints.values[v];return y!==0&&(m[d.breakpoints.up(v)]={maxWidth:`${y}${d.breakpoints.unit}`}),m},{}),({theme:d,ownerState:p})=>({...p.maxWidth==="xs"&&{[d.breakpoints.up("xs")]:{maxWidth:Math.max(d.breakpoints.values.xs,444)}},...p.maxWidth&&p.maxWidth!=="xs"&&{[d.breakpoints.up(p.maxWidth)]:{maxWidth:`${d.breakpoints.values[p.maxWidth]}${d.breakpoints.unit}`}}}));return S.forwardRef(function(p,m){const h=o(p),{className:v,component:y="div",disableGutters:w=!1,fixed:E=!1,maxWidth:b="lg",classes:C,...T}=h,N={...h,component:y,disableGutters:w,fixed:E,maxWidth:b},j=uS(N,s);return k.jsx(a,{as:y,ownerState:N,className:Se(j.root,v),ref:m,...T})})}const Ji={black:"#000",white:"#fff"},dS={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"},To={50:"#f3e5f5",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",700:"#7b1fa2"},Po={300:"#e57373",400:"#ef5350",500:"#f44336",700:"#d32f2f",800:"#c62828"},Ai={300:"#ffb74d",400:"#ffa726",500:"#ff9800",700:"#f57c00",900:"#e65100"},$o={50:"#e3f2fd",200:"#90caf9",400:"#42a5f5",700:"#1976d2",800:"#1565c0"},Io={300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",700:"#0288d1",900:"#01579b"},Mo={300:"#81c784",400:"#66bb6a",500:"#4caf50",700:"#388e3c",800:"#2e7d32",900:"#1b5e20"};function Og(){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:Ji.white,default:Ji.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}}}const fS=Og();function Ng(){return{text:{primary:Ji.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:Ji.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}}}const Gm=Ng();function Qm(t,r,o,s){const a=s.light||s,u=s.dark||s*1.5;t[r]||(t.hasOwnProperty(o)?t[r]=t[o]:r==="light"?t.light=Fo(t.main,a):r==="dark"&&(t.dark=Bo(t.main,u)))}function pS(t="light"){return t==="dark"?{main:$o[200],light:$o[50],dark:$o[400]}:{main:$o[700],light:$o[400],dark:$o[800]}}function mS(t="light"){return t==="dark"?{main:To[200],light:To[50],dark:To[400]}:{main:To[500],light:To[300],dark:To[700]}}function hS(t="light"){return t==="dark"?{main:Po[500],light:Po[300],dark:Po[700]}:{main:Po[700],light:Po[400],dark:Po[800]}}function gS(t="light"){return t==="dark"?{main:Io[400],light:Io[300],dark:Io[700]}:{main:Io[700],light:Io[500],dark:Io[900]}}function yS(t="light"){return t==="dark"?{main:Mo[400],light:Mo[300],dark:Mo[700]}:{main:Mo[800],light:Mo[500],dark:Mo[900]}}function vS(t="light"){return t==="dark"?{main:Ai[400],light:Ai[300],dark:Ai[700]}:{main:"#ed6c02",light:Ai[500],dark:Ai[900]}}function od(t){const{mode:r="light",contrastThreshold:o=3,tonalOffset:s=.2,...a}=t,u=t.primary||pS(r),d=t.secondary||mS(r),p=t.error||hS(r),m=t.info||gS(r),h=t.success||yS(r),v=t.warning||vS(r);function y(C){return $x(C,Gm.text.primary)>=o?Gm.text.primary:fS.text.primary}const w=({color:C,name:T,mainShade:N=500,lightShade:j=300,darkShade:P=700})=>{if(C={...C},!C.main&&C[N]&&(C.main=C[N]),!C.hasOwnProperty("main"))throw new Error(nr(11,T?` (${T})`:"",N));if(typeof C.main!="string")throw new Error(nr(12,T?` (${T})`:"",JSON.stringify(C.main)));return Qm(C,"light",j,s),Qm(C,"dark",P,s),C.contrastText||(C.contrastText=y(C.main)),C};let E;return r==="light"?E=Og():r==="dark"&&(E=Ng()),Bt({common:{...Ji},mode:r,primary:w({color:u,name:"primary"}),secondary:w({color:d,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:w({color:p,name:"error"}),warning:w({color:v,name:"warning"}),info:w({color:m,name:"info"}),success:w({color:h,name:"success"}),grey:dS,contrastThreshold:o,getContrastText:y,augmentColor:w,tonalOffset:s,...E},a)}function xS(t){const r={};return Object.entries(t).forEach(s=>{const[a,u]=s;typeof u=="object"&&(r[a]=`${u.fontStyle?`${u.fontStyle} `:""}${u.fontVariant?`${u.fontVariant} `:""}${u.fontWeight?`${u.fontWeight} `:""}${u.fontStretch?`${u.fontStretch} `:""}${u.fontSize||""}${u.lineHeight?`/${u.lineHeight} `:""}${u.fontFamily||""}`)}),r}function SS(t,r){return{toolbar:{minHeight:56,[t.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[t.up("sm")]:{minHeight:64}},...r}}function CS(t){return Math.round(t*1e5)/1e5}const qm={textTransform:"uppercase"},Ym='"Roboto", "Helvetica", "Arial", sans-serif';function Ag(t,r){const{fontFamily:o=Ym,fontSize:s=14,fontWeightLight:a=300,fontWeightRegular:u=400,fontWeightMedium:d=500,fontWeightBold:p=700,htmlFontSize:m=16,allVariants:h,pxToRem:v,...y}=typeof r=="function"?r(t):r,w=s/14,E=v||(T=>`${T/m*w}rem`),b=(T,N,j,P,$)=>({fontFamily:o,fontWeight:T,fontSize:E(N),lineHeight:j,...o===Ym?{letterSpacing:`${CS(P/N)}em`}:{},...$,...h}),C={h1:b(a,96,1.167,-1.5),h2:b(a,60,1.2,-.5),h3:b(u,48,1.167,0),h4:b(u,34,1.235,.25),h5:b(u,24,1.334,0),h6:b(d,20,1.6,.15),subtitle1:b(u,16,1.75,.15),subtitle2:b(d,14,1.57,.1),body1:b(u,16,1.5,.15),body2:b(u,14,1.43,.15),button:b(d,14,1.75,.4,qm),caption:b(u,12,1.66,.4),overline:b(u,12,2.66,1,qm),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return Bt({htmlFontSize:m,pxToRem:E,fontFamily:o,fontSize:s,fontWeightLight:a,fontWeightRegular:u,fontWeightMedium:d,fontWeightBold:p,...C},y,{clone:!1})}const wS=.2,bS=.14,kS=.12;function it(...t){return[`${t[0]}px ${t[1]}px ${t[2]}px ${t[3]}px rgba(0,0,0,${wS})`,`${t[4]}px ${t[5]}px ${t[6]}px ${t[7]}px rgba(0,0,0,${bS})`,`${t[8]}px ${t[9]}px ${t[10]}px ${t[11]}px rgba(0,0,0,${kS})`].join(",")}const ES=["none",it(0,2,1,-1,0,1,1,0,0,1,3,0),it(0,3,1,-2,0,2,2,0,0,1,5,0),it(0,3,3,-2,0,3,4,0,0,1,8,0),it(0,2,4,-1,0,4,5,0,0,1,10,0),it(0,3,5,-1,0,5,8,0,0,1,14,0),it(0,3,5,-1,0,6,10,0,0,1,18,0),it(0,4,5,-2,0,7,10,1,0,2,16,1),it(0,5,5,-3,0,8,10,1,0,3,14,2),it(0,5,6,-3,0,9,12,1,0,3,16,2),it(0,6,6,-3,0,10,14,1,0,4,18,3),it(0,6,7,-4,0,11,15,1,0,4,20,3),it(0,7,8,-4,0,12,17,2,0,5,22,4),it(0,7,8,-4,0,13,19,2,0,5,24,4),it(0,7,9,-4,0,14,21,2,0,5,26,4),it(0,8,9,-5,0,15,22,2,0,6,28,5),it(0,8,10,-5,0,16,24,2,0,6,30,5),it(0,8,11,-5,0,17,26,2,0,6,32,5),it(0,9,11,-5,0,18,28,2,0,7,34,6),it(0,9,12,-6,0,19,29,2,0,7,36,6),it(0,10,13,-6,0,20,31,3,0,8,38,7),it(0,10,13,-6,0,21,33,3,0,8,40,7),it(0,10,14,-6,0,22,35,3,0,8,42,7),it(0,11,14,-7,0,23,36,3,0,9,44,8),it(0,11,15,-7,0,24,38,3,0,9,46,8)],RS={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)"},TS={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function Xm(t){return`${Math.round(t)}ms`}function PS(t){if(!t)return 0;const r=t/36;return Math.min(Math.round((4+15*r**.25+r/5)*10),3e3)}function $S(t){const r={...RS,...t.easing},o={...TS,...t.duration};return{getAutoHeightDuration:PS,create:(a=["all"],u={})=>{const{duration:d=o.standard,easing:p=r.easeInOut,delay:m=0,...h}=u;return(Array.isArray(a)?a:[a]).map(v=>`${v} ${typeof d=="string"?d:Xm(d)} ${p} ${typeof m=="string"?m:Xm(m)}`).join(",")},...t,easing:r,duration:o}}const IS={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function MS(t){return Fn(t)||typeof t>"u"||typeof t=="string"||typeof t=="boolean"||typeof t=="number"||Array.isArray(t)}function Lg(t={}){const r={...t};function o(s){const a=Object.entries(s);for(let u=0;u<a.length;u++){const[d,p]=a[u];!MS(p)||d.startsWith("unstable_")?delete s[d]:Fn(p)&&(s[d]={...p},o(s[d]))}}return o(r),`import { unstable_createBreakpoints as createBreakpoints, createTransitions } from '@mui/material/styles';
|
||
|
||
const theme = ${JSON.stringify(r,null,2)};
|
||
|
||
theme.breakpoints = createBreakpoints(theme.breakpoints || {});
|
||
theme.transitions = createTransitions(theme.transitions || {});
|
||
|
||
export default theme;`}function wc(t={},...r){const{breakpoints:o,mixins:s={},spacing:a,palette:u={},transitions:d={},typography:p={},shape:m,...h}=t;if(t.vars)throw new Error(nr(20));const v=od(u),y=Zl(t);let w=Bt(y,{mixins:SS(y.breakpoints,s),palette:v,shadows:ES.slice(),typography:Ag(v,p),transitions:$S(d),zIndex:{...IS}});return w=Bt(w,h),w=r.reduce((E,b)=>Bt(E,b),w),w.unstable_sxConfig={...os,...h==null?void 0:h.unstable_sxConfig},w.unstable_sx=function(b){return Tr({sx:b,theme:this})},w.toRuntimeSource=Lg,w}function bc(t){let r;return t<1?r=5.11916*t**2:r=4.5*Math.log(t+1)+2,Math.round(r*10)/1e3}const OS=[...Array(25)].map((t,r)=>{if(r===0)return"none";const o=bc(r);return`linear-gradient(rgba(255 255 255 / ${o}), rgba(255 255 255 / ${o}))`});function jg(t){return{inputPlaceholder:t==="dark"?.5:.42,inputUnderline:t==="dark"?.7:.42,switchTrackDisabled:t==="dark"?.2:.12,switchTrack:t==="dark"?.3:.38}}function _g(t){return t==="dark"?OS:[]}function NS(t){const{palette:r={mode:"light"},opacity:o,overlays:s,...a}=t,u=od(r);return{palette:u,opacity:{...jg(u.mode),...o},overlays:s||_g(u.mode),...a}}function AS(t){var r;return!!t[0].match(/(cssVarPrefix|colorSchemeSelector|rootSelector|typography|mixins|breakpoints|direction|transitions)/)||!!t[0].match(/sxConfig$/)||t[0]==="palette"&&!!((r=t[1])!=null&&r.match(/(mode|contrastThreshold|tonalOffset)/))}const LS=t=>[...[...Array(25)].map((r,o)=>`--${t?`${t}-`:""}overlays-${o}`),`--${t?`${t}-`:""}palette-AppBar-darkBg`,`--${t?`${t}-`:""}palette-AppBar-darkColor`],jS=t=>(r,o)=>{const s=t.rootSelector||":root",a=t.colorSchemeSelector;let u=a;if(a==="class"&&(u=".%s"),a==="data"&&(u="[data-%s]"),a!=null&&a.startsWith("data-")&&!a.includes("%s")&&(u=`[${a}="%s"]`),t.defaultColorScheme===r){if(r==="dark"){const d={};return LS(t.cssVarPrefix).forEach(p=>{d[p]=o[p],delete o[p]}),u==="media"?{[s]:o,"@media (prefers-color-scheme: dark)":{[s]:d}}:u?{[u.replace("%s",r)]:d,[`${s}, ${u.replace("%s",r)}`]:o}:{[s]:{...o,...d}}}if(u&&u!=="media")return`${s}, ${u.replace("%s",String(r))}`}else if(r){if(u==="media")return{[`@media (prefers-color-scheme: ${String(r)})`]:{[s]:o}};if(u)return u.replace("%s",String(r))}return s};function _S(t,r){r.forEach(o=>{t[o]||(t[o]={})})}function H(t,r,o){!t[r]&&o&&(t[r]=o)}function Ui(t){return typeof t!="string"||!t.startsWith("hsl")?t:vg(t)}function er(t,r){`${r}Channel`in t||(t[`${r}Channel`]=Wi(Ui(t[r])))}function zS(t){return typeof t=="number"?`${t}px`:typeof t=="string"||typeof t=="function"||Array.isArray(t)?t:"8px"}const Ln=t=>{try{return t()}catch{}},BS=(t="mui")=>tS(t);function sc(t,r,o,s){if(!r)return;r=r===!0?{}:r;const a=s==="dark"?"dark":"light";if(!o){t[s]=NS({...r,palette:{mode:a,...r==null?void 0:r.palette}});return}const{palette:u,...d}=wc({...o,palette:{mode:a,...r==null?void 0:r.palette}});return t[s]={...r,palette:u,opacity:{...jg(a),...r==null?void 0:r.opacity},overlays:(r==null?void 0:r.overlays)||_g(a)},d}function FS(t={},...r){const{colorSchemes:o={light:!0},defaultColorScheme:s,disableCssColorScheme:a=!1,cssVarPrefix:u="mui",shouldSkipGeneratingVar:d=AS,colorSchemeSelector:p=o.light&&o.dark?"media":void 0,rootSelector:m=":root",...h}=t,v=Object.keys(o)[0],y=s||(o.light&&v!=="light"?"light":v),w=BS(u),{[y]:E,light:b,dark:C,...T}=o,N={...T};let j=E;if((y==="dark"&&!("dark"in o)||y==="light"&&!("light"in o))&&(j=!0),!j)throw new Error(nr(21,y));const P=sc(N,j,h,y);b&&!N.light&&sc(N,b,void 0,"light"),C&&!N.dark&&sc(N,C,void 0,"dark");let $={defaultColorScheme:y,...P,cssVarPrefix:u,colorSchemeSelector:p,rootSelector:m,getCssVar:w,colorSchemes:N,font:{...xS(P.typography),...P.font},spacing:zS(h.spacing)};Object.keys($.colorSchemes).forEach(V=>{const x=$.colorSchemes[V].palette,D=ee=>{const J=ee.split("-"),re=J[1],Q=J[2];return w(ee,x[re][Q])};if(x.mode==="light"&&(H(x.common,"background","#fff"),H(x.common,"onBackground","#000")),x.mode==="dark"&&(H(x.common,"background","#000"),H(x.common,"onBackground","#fff")),_S(x,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"]),x.mode==="light"){H(x.Alert,"errorColor",qe(x.error.light,.6)),H(x.Alert,"infoColor",qe(x.info.light,.6)),H(x.Alert,"successColor",qe(x.success.light,.6)),H(x.Alert,"warningColor",qe(x.warning.light,.6)),H(x.Alert,"errorFilledBg",D("palette-error-main")),H(x.Alert,"infoFilledBg",D("palette-info-main")),H(x.Alert,"successFilledBg",D("palette-success-main")),H(x.Alert,"warningFilledBg",D("palette-warning-main")),H(x.Alert,"errorFilledColor",Ln(()=>x.getContrastText(x.error.main))),H(x.Alert,"infoFilledColor",Ln(()=>x.getContrastText(x.info.main))),H(x.Alert,"successFilledColor",Ln(()=>x.getContrastText(x.success.main))),H(x.Alert,"warningFilledColor",Ln(()=>x.getContrastText(x.warning.main))),H(x.Alert,"errorStandardBg",Ye(x.error.light,.9)),H(x.Alert,"infoStandardBg",Ye(x.info.light,.9)),H(x.Alert,"successStandardBg",Ye(x.success.light,.9)),H(x.Alert,"warningStandardBg",Ye(x.warning.light,.9)),H(x.Alert,"errorIconColor",D("palette-error-main")),H(x.Alert,"infoIconColor",D("palette-info-main")),H(x.Alert,"successIconColor",D("palette-success-main")),H(x.Alert,"warningIconColor",D("palette-warning-main")),H(x.AppBar,"defaultBg",D("palette-grey-100")),H(x.Avatar,"defaultBg",D("palette-grey-400")),H(x.Button,"inheritContainedBg",D("palette-grey-300")),H(x.Button,"inheritContainedHoverBg",D("palette-grey-A100")),H(x.Chip,"defaultBorder",D("palette-grey-400")),H(x.Chip,"defaultAvatarColor",D("palette-grey-700")),H(x.Chip,"defaultIconColor",D("palette-grey-700")),H(x.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),H(x.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),H(x.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),H(x.LinearProgress,"primaryBg",Ye(x.primary.main,.62)),H(x.LinearProgress,"secondaryBg",Ye(x.secondary.main,.62)),H(x.LinearProgress,"errorBg",Ye(x.error.main,.62)),H(x.LinearProgress,"infoBg",Ye(x.info.main,.62)),H(x.LinearProgress,"successBg",Ye(x.success.main,.62)),H(x.LinearProgress,"warningBg",Ye(x.warning.main,.62)),H(x.Skeleton,"bg",`rgba(${D("palette-text-primaryChannel")} / 0.11)`),H(x.Slider,"primaryTrack",Ye(x.primary.main,.62)),H(x.Slider,"secondaryTrack",Ye(x.secondary.main,.62)),H(x.Slider,"errorTrack",Ye(x.error.main,.62)),H(x.Slider,"infoTrack",Ye(x.info.main,.62)),H(x.Slider,"successTrack",Ye(x.success.main,.62)),H(x.Slider,"warningTrack",Ye(x.warning.main,.62));const ee=Cl(x.background.default,.8);H(x.SnackbarContent,"bg",ee),H(x.SnackbarContent,"color",Ln(()=>x.getContrastText(ee))),H(x.SpeedDialAction,"fabHoverBg",Cl(x.background.paper,.15)),H(x.StepConnector,"border",D("palette-grey-400")),H(x.StepContent,"border",D("palette-grey-400")),H(x.Switch,"defaultColor",D("palette-common-white")),H(x.Switch,"defaultDisabledColor",D("palette-grey-100")),H(x.Switch,"primaryDisabledColor",Ye(x.primary.main,.62)),H(x.Switch,"secondaryDisabledColor",Ye(x.secondary.main,.62)),H(x.Switch,"errorDisabledColor",Ye(x.error.main,.62)),H(x.Switch,"infoDisabledColor",Ye(x.info.main,.62)),H(x.Switch,"successDisabledColor",Ye(x.success.main,.62)),H(x.Switch,"warningDisabledColor",Ye(x.warning.main,.62)),H(x.TableCell,"border",Ye(Sl(x.divider,1),.88)),H(x.Tooltip,"bg",Sl(x.grey[700],.92))}if(x.mode==="dark"){H(x.Alert,"errorColor",Ye(x.error.light,.6)),H(x.Alert,"infoColor",Ye(x.info.light,.6)),H(x.Alert,"successColor",Ye(x.success.light,.6)),H(x.Alert,"warningColor",Ye(x.warning.light,.6)),H(x.Alert,"errorFilledBg",D("palette-error-dark")),H(x.Alert,"infoFilledBg",D("palette-info-dark")),H(x.Alert,"successFilledBg",D("palette-success-dark")),H(x.Alert,"warningFilledBg",D("palette-warning-dark")),H(x.Alert,"errorFilledColor",Ln(()=>x.getContrastText(x.error.dark))),H(x.Alert,"infoFilledColor",Ln(()=>x.getContrastText(x.info.dark))),H(x.Alert,"successFilledColor",Ln(()=>x.getContrastText(x.success.dark))),H(x.Alert,"warningFilledColor",Ln(()=>x.getContrastText(x.warning.dark))),H(x.Alert,"errorStandardBg",qe(x.error.light,.9)),H(x.Alert,"infoStandardBg",qe(x.info.light,.9)),H(x.Alert,"successStandardBg",qe(x.success.light,.9)),H(x.Alert,"warningStandardBg",qe(x.warning.light,.9)),H(x.Alert,"errorIconColor",D("palette-error-main")),H(x.Alert,"infoIconColor",D("palette-info-main")),H(x.Alert,"successIconColor",D("palette-success-main")),H(x.Alert,"warningIconColor",D("palette-warning-main")),H(x.AppBar,"defaultBg",D("palette-grey-900")),H(x.AppBar,"darkBg",D("palette-background-paper")),H(x.AppBar,"darkColor",D("palette-text-primary")),H(x.Avatar,"defaultBg",D("palette-grey-600")),H(x.Button,"inheritContainedBg",D("palette-grey-800")),H(x.Button,"inheritContainedHoverBg",D("palette-grey-700")),H(x.Chip,"defaultBorder",D("palette-grey-700")),H(x.Chip,"defaultAvatarColor",D("palette-grey-300")),H(x.Chip,"defaultIconColor",D("palette-grey-300")),H(x.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),H(x.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),H(x.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),H(x.LinearProgress,"primaryBg",qe(x.primary.main,.5)),H(x.LinearProgress,"secondaryBg",qe(x.secondary.main,.5)),H(x.LinearProgress,"errorBg",qe(x.error.main,.5)),H(x.LinearProgress,"infoBg",qe(x.info.main,.5)),H(x.LinearProgress,"successBg",qe(x.success.main,.5)),H(x.LinearProgress,"warningBg",qe(x.warning.main,.5)),H(x.Skeleton,"bg",`rgba(${D("palette-text-primaryChannel")} / 0.13)`),H(x.Slider,"primaryTrack",qe(x.primary.main,.5)),H(x.Slider,"secondaryTrack",qe(x.secondary.main,.5)),H(x.Slider,"errorTrack",qe(x.error.main,.5)),H(x.Slider,"infoTrack",qe(x.info.main,.5)),H(x.Slider,"successTrack",qe(x.success.main,.5)),H(x.Slider,"warningTrack",qe(x.warning.main,.5));const ee=Cl(x.background.default,.98);H(x.SnackbarContent,"bg",ee),H(x.SnackbarContent,"color",Ln(()=>x.getContrastText(ee))),H(x.SpeedDialAction,"fabHoverBg",Cl(x.background.paper,.15)),H(x.StepConnector,"border",D("palette-grey-600")),H(x.StepContent,"border",D("palette-grey-600")),H(x.Switch,"defaultColor",D("palette-grey-300")),H(x.Switch,"defaultDisabledColor",D("palette-grey-600")),H(x.Switch,"primaryDisabledColor",qe(x.primary.main,.55)),H(x.Switch,"secondaryDisabledColor",qe(x.secondary.main,.55)),H(x.Switch,"errorDisabledColor",qe(x.error.main,.55)),H(x.Switch,"infoDisabledColor",qe(x.info.main,.55)),H(x.Switch,"successDisabledColor",qe(x.success.main,.55)),H(x.Switch,"warningDisabledColor",qe(x.warning.main,.55)),H(x.TableCell,"border",qe(Sl(x.divider,1),.68)),H(x.Tooltip,"bg",Sl(x.grey[700],.92))}er(x.background,"default"),er(x.background,"paper"),er(x.common,"background"),er(x.common,"onBackground"),er(x,"divider"),Object.keys(x).forEach(ee=>{const J=x[ee];ee!=="tonalOffset"&&J&&typeof J=="object"&&(J.main&&H(x[ee],"mainChannel",Wi(Ui(J.main))),J.light&&H(x[ee],"lightChannel",Wi(Ui(J.light))),J.dark&&H(x[ee],"darkChannel",Wi(Ui(J.dark))),J.contrastText&&H(x[ee],"contrastTextChannel",Wi(Ui(J.contrastText))),ee==="text"&&(er(x[ee],"primary"),er(x[ee],"secondary")),ee==="action"&&(J.active&&er(x[ee],"active"),J.selected&&er(x[ee],"selected")))})}),$=r.reduce((V,x)=>Bt(V,x),$);const O={prefix:u,disableCssColorScheme:a,shouldSkipGeneratingVar:d,getSelector:jS($)},{vars:B,generateThemeVars:F,generateStyleSheets:W}=oS($,O);return $.vars=B,Object.entries($.colorSchemes[$.defaultColorScheme]).forEach(([V,x])=>{$[V]=x}),$.generateThemeVars=F,$.generateStyleSheets=W,$.generateSpacing=function(){return dg(h.spacing,Fc(this))},$.getColorSchemeSelector=iS(p),$.spacing=$.generateSpacing(),$.shouldSkipGeneratingVar=d,$.unstable_sxConfig={...os,...h==null?void 0:h.unstable_sxConfig},$.unstable_sx=function(x){return Tr({sx:x,theme:this})},$.toRuntimeSource=Lg,$}function Jm(t,r,o){t.colorSchemes&&o&&(t.colorSchemes[r]={...o!==!0&&o,palette:od({...o===!0?{}:o.palette,mode:r})})}function na(t={},...r){const{palette:o,cssVariables:s=!1,colorSchemes:a=o?void 0:{light:!0},defaultColorScheme:u=o==null?void 0:o.mode,...d}=t,p=u||"light",m=a==null?void 0:a[p],h={...a,...o?{[p]:{...typeof m!="boolean"&&m,palette:o}}:void 0};if(s===!1){if(!("colorSchemes"in t))return wc(t,...r);let v=o;"palette"in t||h[p]&&(h[p]!==!0?v=h[p].palette:p==="dark"&&(v={mode:"dark"}));const y=wc({...t,palette:v},...r);return y.defaultColorScheme=p,y.colorSchemes=h,y.palette.mode==="light"&&(y.colorSchemes.light={...h.light!==!0&&h.light,palette:y.palette},Jm(y,"dark",h.dark)),y.palette.mode==="dark"&&(y.colorSchemes.dark={...h.dark!==!0&&h.dark,palette:y.palette},Jm(y,"light",h.light)),y}return!o&&!("light"in h)&&p==="light"&&(h.light=!0),FS({...d,colorSchemes:h,defaultColorScheme:p,...typeof s!="boolean"&&s},...r)}const id=na(),Wn="$$material";function ra(){const t=ea(id);return t[Wn]||t}function DS(t){return k.jsx(fg,{...t,defaultTheme:id,themeId:Wn})}function zg(t){return t!=="ownerState"&&t!=="theme"&&t!=="sx"&&t!=="as"}const yn=t=>zg(t)&&t!=="classes",de=yg({themeId:Wn,defaultTheme:id,rootShouldForwardProp:yn});function sd(t){return function(o){return k.jsx(DS,{styles:typeof t=="function"?s=>t({theme:s,...o}):t})}}function WS(){return Wc}function Me(t){return Hx(t)}const kc=typeof sd({})=="function",US=(t,r)=>({WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",boxSizing:"border-box",WebkitTextSizeAdjust:"100%",...r&&!t.vars&&{colorScheme:t.palette.mode}}),HS=t=>({color:(t.vars||t).palette.text.primary,...t.typography.body1,backgroundColor:(t.vars||t).palette.background.default,"@media print":{backgroundColor:(t.vars||t).palette.common.white}}),Bg=(t,r=!1)=>{var u,d;const o={};r&&t.colorSchemes&&typeof t.getColorSchemeSelector=="function"&&Object.entries(t.colorSchemes).forEach(([p,m])=>{var v,y;const h=t.getColorSchemeSelector(p);h.startsWith("@")?o[h]={":root":{colorScheme:(v=m.palette)==null?void 0:v.mode}}:o[h.replace(/\s*&/,"")]={colorScheme:(y=m.palette)==null?void 0:y.mode}});let s={html:US(t,r),"*, *::before, *::after":{boxSizing:"inherit"},"strong, b":{fontWeight:t.typography.fontWeightBold},body:{margin:0,...HS(t),"&::backdrop":{backgroundColor:(t.vars||t).palette.background.default}},...o};const a=(d=(u=t.components)==null?void 0:u.MuiCssBaseline)==null?void 0:d.styleOverrides;return a&&(s=[s,a]),s},Ol="mui-ecs",VS=t=>{const r=Bg(t,!1),o=Array.isArray(r)?r[0]:r;return!t.vars&&o&&(o.html[`:root:has(${Ol})`]={colorScheme:t.palette.mode}),t.colorSchemes&&Object.entries(t.colorSchemes).forEach(([s,a])=>{var d,p;const u=t.getColorSchemeSelector(s);u.startsWith("@")?o[u]={[`:root:not(:has(.${Ol}))`]:{colorScheme:(d=a.palette)==null?void 0:d.mode}}:o[u.replace(/\s*&/,"")]={[`&:not(:has(.${Ol}))`]:{colorScheme:(p=a.palette)==null?void 0:p.mode}}}),r},KS=sd(kc?({theme:t,enableColorScheme:r})=>Bg(t,r):({theme:t})=>VS(t));function GS(t){const r=Me({props:t,name:"MuiCssBaseline"}),{children:o,enableColorScheme:s=!1}=r;return k.jsxs(S.Fragment,{children:[kc&&k.jsx(KS,{enableColorScheme:s}),!kc&&!s&&k.jsx("span",{className:Ol,style:{display:"none"}}),o]})}function Zm({theme:t,...r}){const o=Wn in t?t[Wn]:void 0;return k.jsx(Ig,{...r,themeId:o?Wn:void 0,theme:o||t})}const wl={colorSchemeStorageKey:"mui-color-scheme",defaultLightColorScheme:"light",defaultDarkColorScheme:"dark",modeStorageKey:"mui-mode"},{CssVarsProvider:QS}=eS({themeId:Wn,theme:()=>na({cssVariables:!0}),colorSchemeStorageKey:wl.colorSchemeStorageKey,modeStorageKey:wl.modeStorageKey,defaultColorScheme:{light:wl.defaultLightColorScheme,dark:wl.defaultDarkColorScheme},resolveTheme:t=>{const r={...t,typography:Ag(t.palette,t.typography)};return r.unstable_sx=function(s){return Tr({sx:s,theme:this})},r}}),qS=QS;function YS({theme:t,...r}){return typeof t=="function"?k.jsx(Zm,{theme:t,...r}):"colorSchemes"in(Wn in t?t[Wn]:t)?k.jsx(qS,{theme:t,...r}):k.jsx(Zm,{theme:t,...r})}var bl={},lc={exports:{}},Gt={},ac={exports:{}},uc={};/**
|
||
* @license React
|
||
* scheduler.production.min.js
|
||
*
|
||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||
*
|
||
* This source code is licensed under the MIT license found in the
|
||
* LICENSE file in the root directory of this source tree.
|
||
*/var eh;function XS(){return eh||(eh=1,function(t){function r(K,G){var ne=K.length;K.push(G);e:for(;0<ne;){var M=ne-1>>>1,U=K[M];if(0<a(U,G))K[M]=G,K[ne]=U,ne=M;else break e}}function o(K){return K.length===0?null:K[0]}function s(K){if(K.length===0)return null;var G=K[0],ne=K.pop();if(ne!==G){K[0]=ne;e:for(var M=0,U=K.length,ie=U>>>1;M<ie;){var le=2*(M+1)-1,ce=K[le],ge=le+1,be=K[ge];if(0>a(ce,ne))ge<U&&0>a(be,ce)?(K[M]=be,K[ge]=ne,M=ge):(K[M]=ce,K[le]=ne,M=le);else if(ge<U&&0>a(be,ne))K[M]=be,K[ge]=ne,M=ge;else break e}}return G}function a(K,G){var ne=K.sortIndex-G.sortIndex;return ne!==0?ne:K.id-G.id}if(typeof performance=="object"&&typeof performance.now=="function"){var u=performance;t.unstable_now=function(){return u.now()}}else{var d=Date,p=d.now();t.unstable_now=function(){return d.now()-p}}var m=[],h=[],v=1,y=null,w=3,E=!1,b=!1,C=!1,T=typeof setTimeout=="function"?setTimeout:null,N=typeof clearTimeout=="function"?clearTimeout:null,j=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function P(K){for(var G=o(h);G!==null;){if(G.callback===null)s(h);else if(G.startTime<=K)s(h),G.sortIndex=G.expirationTime,r(m,G);else break;G=o(h)}}function $(K){if(C=!1,P(K),!b)if(o(m)!==null)b=!0,Z(O);else{var G=o(h);G!==null&&oe($,G.startTime-K)}}function O(K,G){b=!1,C&&(C=!1,N(W),W=-1),E=!0;var ne=w;try{for(P(G),y=o(m);y!==null&&(!(y.expirationTime>G)||K&&!D());){var M=y.callback;if(typeof M=="function"){y.callback=null,w=y.priorityLevel;var U=M(y.expirationTime<=G);G=t.unstable_now(),typeof U=="function"?y.callback=U:y===o(m)&&s(m),P(G)}else s(m);y=o(m)}if(y!==null)var ie=!0;else{var le=o(h);le!==null&&oe($,le.startTime-G),ie=!1}return ie}finally{y=null,w=ne,E=!1}}var B=!1,F=null,W=-1,V=5,x=-1;function D(){return!(t.unstable_now()-x<V)}function ee(){if(F!==null){var K=t.unstable_now();x=K;var G=!0;try{G=F(!0,K)}finally{G?J():(B=!1,F=null)}}else B=!1}var J;if(typeof j=="function")J=function(){j(ee)};else if(typeof MessageChannel<"u"){var re=new MessageChannel,Q=re.port2;re.port1.onmessage=ee,J=function(){Q.postMessage(null)}}else J=function(){T(ee,0)};function Z(K){F=K,B||(B=!0,J())}function oe(K,G){W=T(function(){K(t.unstable_now())},G)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(K){K.callback=null},t.unstable_continueExecution=function(){b||E||(b=!0,Z(O))},t.unstable_forceFrameRate=function(K){0>K||125<K?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):V=0<K?Math.floor(1e3/K):5},t.unstable_getCurrentPriorityLevel=function(){return w},t.unstable_getFirstCallbackNode=function(){return o(m)},t.unstable_next=function(K){switch(w){case 1:case 2:case 3:var G=3;break;default:G=w}var ne=w;w=G;try{return K()}finally{w=ne}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=function(){},t.unstable_runWithPriority=function(K,G){switch(K){case 1:case 2:case 3:case 4:case 5:break;default:K=3}var ne=w;w=K;try{return G()}finally{w=ne}},t.unstable_scheduleCallback=function(K,G,ne){var M=t.unstable_now();switch(typeof ne=="object"&&ne!==null?(ne=ne.delay,ne=typeof ne=="number"&&0<ne?M+ne:M):ne=M,K){case 1:var U=-1;break;case 2:U=250;break;case 5:U=1073741823;break;case 4:U=1e4;break;default:U=5e3}return U=ne+U,K={id:v++,callback:G,priorityLevel:K,startTime:ne,expirationTime:U,sortIndex:-1},ne>M?(K.sortIndex=ne,r(h,K),o(m)===null&&K===o(h)&&(C?(N(W),W=-1):C=!0,oe($,ne-M))):(K.sortIndex=U,r(m,K),b||E||(b=!0,Z(O))),K},t.unstable_shouldYield=D,t.unstable_wrapCallback=function(K){var G=w;return function(){var ne=w;w=G;try{return K.apply(this,arguments)}finally{w=ne}}}}(uc)),uc}var th;function JS(){return th||(th=1,ac.exports=XS()),ac.exports}/**
|
||
* @license React
|
||
* react-dom.production.min.js
|
||
*
|
||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||
*
|
||
* This source code is licensed under the MIT license found in the
|
||
* LICENSE file in the root directory of this source tree.
|
||
*/var nh;function ZS(){if(nh)return Gt;nh=1;var t=_c(),r=JS();function o(e){for(var n="https://reactjs.org/docs/error-decoder.html?invariant="+e,i=1;i<arguments.length;i++)n+="&args[]="+encodeURIComponent(arguments[i]);return"Minified React error #"+e+"; visit "+n+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var s=new Set,a={};function u(e,n){d(e,n),d(e+"Capture",n)}function d(e,n){for(a[e]=n,e=0;e<n.length;e++)s.add(n[e])}var p=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),m=Object.prototype.hasOwnProperty,h=/^[: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]*$/,v={},y={};function w(e){return m.call(y,e)?!0:m.call(v,e)?!1:h.test(e)?y[e]=!0:(v[e]=!0,!1)}function E(e,n,i,l){if(i!==null&&i.type===0)return!1;switch(typeof n){case"function":case"symbol":return!0;case"boolean":return l?!1:i!==null?!i.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function b(e,n,i,l){if(n===null||typeof n>"u"||E(e,n,i,l))return!0;if(l)return!1;if(i!==null)switch(i.type){case 3:return!n;case 4:return n===!1;case 5:return isNaN(n);case 6:return isNaN(n)||1>n}return!1}function C(e,n,i,l,c,f,g){this.acceptsBooleans=n===2||n===3||n===4,this.attributeName=l,this.attributeNamespace=c,this.mustUseProperty=i,this.propertyName=e,this.type=n,this.sanitizeURL=f,this.removeEmptyString=g}var T={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){T[e]=new C(e,0,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var n=e[0];T[n]=new C(n,1,!1,e[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){T[e]=new C(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){T[e]=new C(e,2,!1,e,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){T[e]=new C(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){T[e]=new C(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){T[e]=new C(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){T[e]=new C(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){T[e]=new C(e,5,!1,e.toLowerCase(),null,!1,!1)});var N=/[\-:]([a-z])/g;function j(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var n=e.replace(N,j);T[n]=new C(n,1,!1,e,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var n=e.replace(N,j);T[n]=new C(n,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var n=e.replace(N,j);T[n]=new C(n,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){T[e]=new C(e,1,!1,e.toLowerCase(),null,!1,!1)}),T.xlinkHref=new C("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){T[e]=new C(e,1,!1,e.toLowerCase(),null,!0,!0)});function P(e,n,i,l){var c=T.hasOwnProperty(n)?T[n]:null;(c!==null?c.type!==0:l||!(2<n.length)||n[0]!=="o"&&n[0]!=="O"||n[1]!=="n"&&n[1]!=="N")&&(b(n,i,c,l)&&(i=null),l||c===null?w(n)&&(i===null?e.removeAttribute(n):e.setAttribute(n,""+i)):c.mustUseProperty?e[c.propertyName]=i===null?c.type===3?!1:"":i:(n=c.attributeName,l=c.attributeNamespace,i===null?e.removeAttribute(n):(c=c.type,i=c===3||c===4&&i===!0?"":""+i,l?e.setAttributeNS(l,n,i):e.setAttribute(n,i))))}var $=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,O=Symbol.for("react.element"),B=Symbol.for("react.portal"),F=Symbol.for("react.fragment"),W=Symbol.for("react.strict_mode"),V=Symbol.for("react.profiler"),x=Symbol.for("react.provider"),D=Symbol.for("react.context"),ee=Symbol.for("react.forward_ref"),J=Symbol.for("react.suspense"),re=Symbol.for("react.suspense_list"),Q=Symbol.for("react.memo"),Z=Symbol.for("react.lazy"),oe=Symbol.for("react.offscreen"),K=Symbol.iterator;function G(e){return e===null||typeof e!="object"?null:(e=K&&e[K]||e["@@iterator"],typeof e=="function"?e:null)}var ne=Object.assign,M;function U(e){if(M===void 0)try{throw Error()}catch(i){var n=i.stack.trim().match(/\n( *(at )?)/);M=n&&n[1]||""}return`
|
||
`+M+e}var ie=!1;function le(e,n){if(!e||ie)return"";ie=!0;var i=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(n)if(n=function(){throw Error()},Object.defineProperty(n.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(n,[])}catch(z){var l=z}Reflect.construct(e,[],n)}else{try{n.call()}catch(z){l=z}e.call(n.prototype)}else{try{throw Error()}catch(z){l=z}e()}}catch(z){if(z&&l&&typeof z.stack=="string"){for(var c=z.stack.split(`
|
||
`),f=l.stack.split(`
|
||
`),g=c.length-1,R=f.length-1;1<=g&&0<=R&&c[g]!==f[R];)R--;for(;1<=g&&0<=R;g--,R--)if(c[g]!==f[R]){if(g!==1||R!==1)do if(g--,R--,0>R||c[g]!==f[R]){var I=`
|
||
`+c[g].replace(" at new "," at ");return e.displayName&&I.includes("<anonymous>")&&(I=I.replace("<anonymous>",e.displayName)),I}while(1<=g&&0<=R);break}}}finally{ie=!1,Error.prepareStackTrace=i}return(e=e?e.displayName||e.name:"")?U(e):""}function ce(e){switch(e.tag){case 5:return U(e.type);case 16:return U("Lazy");case 13:return U("Suspense");case 19:return U("SuspenseList");case 0:case 2:case 15:return e=le(e.type,!1),e;case 11:return e=le(e.type.render,!1),e;case 1:return e=le(e.type,!0),e;default:return""}}function ge(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case F:return"Fragment";case B:return"Portal";case V:return"Profiler";case W:return"StrictMode";case J:return"Suspense";case re:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case D:return(e.displayName||"Context")+".Consumer";case x:return(e._context.displayName||"Context")+".Provider";case ee:var n=e.render;return e=e.displayName,e||(e=n.displayName||n.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Q:return n=e.displayName||null,n!==null?n:ge(e.type)||"Memo";case Z:n=e._payload,e=e._init;try{return ge(e(n))}catch{}}return null}function be(e){var n=e.type;switch(e.tag){case 24:return"Cache";case 9:return(n.displayName||"Context")+".Consumer";case 10:return(n._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=n.render,e=e.displayName||e.name||"",n.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return n;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return ge(n);case 8:return n===W?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof n=="function")return n.displayName||n.name||null;if(typeof n=="string")return n}return null}function Ee(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function we(e){var n=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(n==="checkbox"||n==="radio")}function ye(e){var n=we(e)?"checked":"value",i=Object.getOwnPropertyDescriptor(e.constructor.prototype,n),l=""+e[n];if(!e.hasOwnProperty(n)&&typeof i<"u"&&typeof i.get=="function"&&typeof i.set=="function"){var c=i.get,f=i.set;return Object.defineProperty(e,n,{configurable:!0,get:function(){return c.call(this)},set:function(g){l=""+g,f.call(this,g)}}),Object.defineProperty(e,n,{enumerable:i.enumerable}),{getValue:function(){return l},setValue:function(g){l=""+g},stopTracking:function(){e._valueTracker=null,delete e[n]}}}}function Ae(e){e._valueTracker||(e._valueTracker=ye(e))}function Te(e){if(!e)return!1;var n=e._valueTracker;if(!n)return!0;var i=n.getValue(),l="";return e&&(l=we(e)?e.checked?"true":"false":e.value),e=l,e!==i?(n.setValue(e),!0):!1}function He(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}}function Re(e,n){var i=n.checked;return ne({},n,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:i??e._wrapperState.initialChecked})}function De(e,n){var i=n.defaultValue==null?"":n.defaultValue,l=n.checked!=null?n.checked:n.defaultChecked;i=Ee(n.value!=null?n.value:i),e._wrapperState={initialChecked:l,initialValue:i,controlled:n.type==="checkbox"||n.type==="radio"?n.checked!=null:n.value!=null}}function wt(e,n){n=n.checked,n!=null&&P(e,"checked",n,!1)}function st(e,n){wt(e,n);var i=Ee(n.value),l=n.type;if(i!=null)l==="number"?(i===0&&e.value===""||e.value!=i)&&(e.value=""+i):e.value!==""+i&&(e.value=""+i);else if(l==="submit"||l==="reset"){e.removeAttribute("value");return}n.hasOwnProperty("value")?yt(e,n.type,i):n.hasOwnProperty("defaultValue")&&yt(e,n.type,Ee(n.defaultValue)),n.checked==null&&n.defaultChecked!=null&&(e.defaultChecked=!!n.defaultChecked)}function Le(e,n,i){if(n.hasOwnProperty("value")||n.hasOwnProperty("defaultValue")){var l=n.type;if(!(l!=="submit"&&l!=="reset"||n.value!==void 0&&n.value!==null))return;n=""+e._wrapperState.initialValue,i||n===e.value||(e.value=n),e.defaultValue=n}i=e.name,i!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,i!==""&&(e.name=i)}function yt(e,n,i){(n!=="number"||He(e.ownerDocument)!==e)&&(i==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+i&&(e.defaultValue=""+i))}var Ze=Array.isArray;function Ve(e,n,i,l){if(e=e.options,n){n={};for(var c=0;c<i.length;c++)n["$"+i[c]]=!0;for(i=0;i<e.length;i++)c=n.hasOwnProperty("$"+e[i].value),e[i].selected!==c&&(e[i].selected=c),c&&l&&(e[i].defaultSelected=!0)}else{for(i=""+Ee(i),n=null,c=0;c<e.length;c++){if(e[c].value===i){e[c].selected=!0,l&&(e[c].defaultSelected=!0);return}n!==null||e[c].disabled||(n=e[c])}n!==null&&(n.selected=!0)}}function me(e,n){if(n.dangerouslySetInnerHTML!=null)throw Error(o(91));return ne({},n,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function nn(e,n){var i=n.value;if(i==null){if(i=n.children,n=n.defaultValue,i!=null){if(n!=null)throw Error(o(92));if(Ze(i)){if(1<i.length)throw Error(o(93));i=i[0]}n=i}n==null&&(n=""),i=n}e._wrapperState={initialValue:Ee(i)}}function vt(e,n){var i=Ee(n.value),l=Ee(n.defaultValue);i!=null&&(i=""+i,i!==e.value&&(e.value=i),n.defaultValue==null&&e.defaultValue!==i&&(e.defaultValue=i)),l!=null&&(e.defaultValue=""+l)}function rn(e){var n=e.textContent;n===e._wrapperState.initialValue&&n!==""&&n!==null&&(e.value=n)}function vn(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function on(e,n){return e==null||e==="http://www.w3.org/1999/xhtml"?vn(n):e==="http://www.w3.org/2000/svg"&&n==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var Ge,rt=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(n,i,l,c){MSApp.execUnsafeLocalFunction(function(){return e(n,i,l,c)})}:e}(function(e,n){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=n;else{for(Ge=Ge||document.createElement("div"),Ge.innerHTML="<svg>"+n.valueOf().toString()+"</svg>",n=Ge.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;n.firstChild;)e.appendChild(n.firstChild)}});function Qe(e,n){if(n){var i=e.firstChild;if(i&&i===e.lastChild&&i.nodeType===3){i.nodeValue=n;return}}e.textContent=n}var Oe={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},xt=["Webkit","ms","Moz","O"];Object.keys(Oe).forEach(function(e){xt.forEach(function(n){n=n+e.charAt(0).toUpperCase()+e.substring(1),Oe[n]=Oe[e]})});function Et(e,n,i){return n==null||typeof n=="boolean"||n===""?"":i||typeof n!="number"||n===0||Oe.hasOwnProperty(e)&&Oe[e]?(""+n).trim():n+"px"}function Qo(e,n){e=e.style;for(var i in n)if(n.hasOwnProperty(i)){var l=i.indexOf("--")===0,c=Et(i,n[i],l);i==="float"&&(i="cssFloat"),l?e.setProperty(i,c):e[i]=c}}var Ce=ne({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function We(e,n){if(n){if(Ce[e]&&(n.children!=null||n.dangerouslySetInnerHTML!=null))throw Error(o(137,e));if(n.dangerouslySetInnerHTML!=null){if(n.children!=null)throw Error(o(60));if(typeof n.dangerouslySetInnerHTML!="object"||!("__html"in n.dangerouslySetInnerHTML))throw Error(o(61))}if(n.style!=null&&typeof n.style!="object")throw Error(o(62))}}function ft(e,n){if(e.indexOf("-")===-1)return typeof n.is=="string";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 $n=null;function to(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var da=null,no=null,ro=null;function kd(e){if(e=gi(e)){if(typeof da!="function")throw Error(o(280));var n=e.stateNode;n&&(n=As(n),da(e.stateNode,e.type,n))}}function Ed(e){no?ro?ro.push(e):ro=[e]:no=e}function Rd(){if(no){var e=no,n=ro;if(ro=no=null,kd(e),n)for(e=0;e<n.length;e++)kd(n[e])}}function Td(e,n){return e(n)}function Pd(){}var fa=!1;function $d(e,n,i){if(fa)return e(n,i);fa=!0;try{return Td(e,n,i)}finally{fa=!1,(no!==null||ro!==null)&&(Pd(),Rd())}}function qo(e,n){var i=e.stateNode;if(i===null)return null;var l=As(i);if(l===null)return null;i=l[n];e:switch(n){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(l=!l.disabled)||(e=e.type,l=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!l;break e;default:e=!1}if(e)return null;if(i&&typeof i!="function")throw Error(o(231,n,typeof i));return i}var pa=!1;if(p)try{var Yo={};Object.defineProperty(Yo,"passive",{get:function(){pa=!0}}),window.addEventListener("test",Yo,Yo),window.removeEventListener("test",Yo,Yo)}catch{pa=!1}function py(e,n,i,l,c,f,g,R,I){var z=Array.prototype.slice.call(arguments,3);try{n.apply(i,z)}catch(Y){this.onError(Y)}}var Xo=!1,fs=null,ps=!1,ma=null,my={onError:function(e){Xo=!0,fs=e}};function hy(e,n,i,l,c,f,g,R,I){Xo=!1,fs=null,py.apply(my,arguments)}function gy(e,n,i,l,c,f,g,R,I){if(hy.apply(this,arguments),Xo){if(Xo){var z=fs;Xo=!1,fs=null}else throw Error(o(198));ps||(ps=!0,ma=z)}}function Or(e){var n=e,i=e;if(e.alternate)for(;n.return;)n=n.return;else{e=n;do n=e,n.flags&4098&&(i=n.return),e=n.return;while(e)}return n.tag===3?i:null}function Id(e){if(e.tag===13){var n=e.memoizedState;if(n===null&&(e=e.alternate,e!==null&&(n=e.memoizedState)),n!==null)return n.dehydrated}return null}function Md(e){if(Or(e)!==e)throw Error(o(188))}function yy(e){var n=e.alternate;if(!n){if(n=Or(e),n===null)throw Error(o(188));return n!==e?null:e}for(var i=e,l=n;;){var c=i.return;if(c===null)break;var f=c.alternate;if(f===null){if(l=c.return,l!==null){i=l;continue}break}if(c.child===f.child){for(f=c.child;f;){if(f===i)return Md(c),e;if(f===l)return Md(c),n;f=f.sibling}throw Error(o(188))}if(i.return!==l.return)i=c,l=f;else{for(var g=!1,R=c.child;R;){if(R===i){g=!0,i=c,l=f;break}if(R===l){g=!0,l=c,i=f;break}R=R.sibling}if(!g){for(R=f.child;R;){if(R===i){g=!0,i=f,l=c;break}if(R===l){g=!0,l=f,i=c;break}R=R.sibling}if(!g)throw Error(o(189))}}if(i.alternate!==l)throw Error(o(190))}if(i.tag!==3)throw Error(o(188));return i.stateNode.current===i?e:n}function Od(e){return e=yy(e),e!==null?Nd(e):null}function Nd(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var n=Nd(e);if(n!==null)return n;e=e.sibling}return null}var Ad=r.unstable_scheduleCallback,Ld=r.unstable_cancelCallback,vy=r.unstable_shouldYield,xy=r.unstable_requestPaint,pt=r.unstable_now,Sy=r.unstable_getCurrentPriorityLevel,ha=r.unstable_ImmediatePriority,jd=r.unstable_UserBlockingPriority,ms=r.unstable_NormalPriority,Cy=r.unstable_LowPriority,_d=r.unstable_IdlePriority,hs=null,In=null;function wy(e){if(In&&typeof In.onCommitFiberRoot=="function")try{In.onCommitFiberRoot(hs,e,void 0,(e.current.flags&128)===128)}catch{}}var xn=Math.clz32?Math.clz32:Ey,by=Math.log,ky=Math.LN2;function Ey(e){return e>>>=0,e===0?32:31-(by(e)/ky|0)|0}var gs=64,ys=4194304;function Jo(e){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:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function vs(e,n){var i=e.pendingLanes;if(i===0)return 0;var l=0,c=e.suspendedLanes,f=e.pingedLanes,g=i&268435455;if(g!==0){var R=g&~c;R!==0?l=Jo(R):(f&=g,f!==0&&(l=Jo(f)))}else g=i&~c,g!==0?l=Jo(g):f!==0&&(l=Jo(f));if(l===0)return 0;if(n!==0&&n!==l&&!(n&c)&&(c=l&-l,f=n&-n,c>=f||c===16&&(f&4194240)!==0))return n;if(l&4&&(l|=i&16),n=e.entangledLanes,n!==0)for(e=e.entanglements,n&=l;0<n;)i=31-xn(n),c=1<<i,l|=e[i],n&=~c;return l}function Ry(e,n){switch(e){case 1:case 2:case 4:return n+250;case 8:case 16:case 32:case 64: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 n+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Ty(e,n){for(var i=e.suspendedLanes,l=e.pingedLanes,c=e.expirationTimes,f=e.pendingLanes;0<f;){var g=31-xn(f),R=1<<g,I=c[g];I===-1?(!(R&i)||R&l)&&(c[g]=Ry(R,n)):I<=n&&(e.expiredLanes|=R),f&=~R}}function ga(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function zd(){var e=gs;return gs<<=1,!(gs&4194240)&&(gs=64),e}function ya(e){for(var n=[],i=0;31>i;i++)n.push(e);return n}function Zo(e,n,i){e.pendingLanes|=n,n!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,n=31-xn(n),e[n]=i}function Py(e,n){var i=e.pendingLanes&~n;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=n,e.mutableReadLanes&=n,e.entangledLanes&=n,n=e.entanglements;var l=e.eventTimes;for(e=e.expirationTimes;0<i;){var c=31-xn(i),f=1<<c;n[c]=0,l[c]=-1,e[c]=-1,i&=~f}}function va(e,n){var i=e.entangledLanes|=n;for(e=e.entanglements;i;){var l=31-xn(i),c=1<<l;c&n|e[l]&n&&(e[l]|=n),i&=~c}}var Ue=0;function Bd(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var Fd,xa,Dd,Wd,Ud,Sa=!1,xs=[],or=null,ir=null,sr=null,ei=new Map,ti=new Map,lr=[],$y="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 submit".split(" ");function Hd(e,n){switch(e){case"focusin":case"focusout":or=null;break;case"dragenter":case"dragleave":ir=null;break;case"mouseover":case"mouseout":sr=null;break;case"pointerover":case"pointerout":ei.delete(n.pointerId);break;case"gotpointercapture":case"lostpointercapture":ti.delete(n.pointerId)}}function ni(e,n,i,l,c,f){return e===null||e.nativeEvent!==f?(e={blockedOn:n,domEventName:i,eventSystemFlags:l,nativeEvent:f,targetContainers:[c]},n!==null&&(n=gi(n),n!==null&&xa(n)),e):(e.eventSystemFlags|=l,n=e.targetContainers,c!==null&&n.indexOf(c)===-1&&n.push(c),e)}function Iy(e,n,i,l,c){switch(n){case"focusin":return or=ni(or,e,n,i,l,c),!0;case"dragenter":return ir=ni(ir,e,n,i,l,c),!0;case"mouseover":return sr=ni(sr,e,n,i,l,c),!0;case"pointerover":var f=c.pointerId;return ei.set(f,ni(ei.get(f)||null,e,n,i,l,c)),!0;case"gotpointercapture":return f=c.pointerId,ti.set(f,ni(ti.get(f)||null,e,n,i,l,c)),!0}return!1}function Vd(e){var n=Nr(e.target);if(n!==null){var i=Or(n);if(i!==null){if(n=i.tag,n===13){if(n=Id(i),n!==null){e.blockedOn=n,Ud(e.priority,function(){Dd(i)});return}}else if(n===3&&i.stateNode.current.memoizedState.isDehydrated){e.blockedOn=i.tag===3?i.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Ss(e){if(e.blockedOn!==null)return!1;for(var n=e.targetContainers;0<n.length;){var i=wa(e.domEventName,e.eventSystemFlags,n[0],e.nativeEvent);if(i===null){i=e.nativeEvent;var l=new i.constructor(i.type,i);$n=l,i.target.dispatchEvent(l),$n=null}else return n=gi(i),n!==null&&xa(n),e.blockedOn=i,!1;n.shift()}return!0}function Kd(e,n,i){Ss(e)&&i.delete(n)}function My(){Sa=!1,or!==null&&Ss(or)&&(or=null),ir!==null&&Ss(ir)&&(ir=null),sr!==null&&Ss(sr)&&(sr=null),ei.forEach(Kd),ti.forEach(Kd)}function ri(e,n){e.blockedOn===n&&(e.blockedOn=null,Sa||(Sa=!0,r.unstable_scheduleCallback(r.unstable_NormalPriority,My)))}function oi(e){function n(c){return ri(c,e)}if(0<xs.length){ri(xs[0],e);for(var i=1;i<xs.length;i++){var l=xs[i];l.blockedOn===e&&(l.blockedOn=null)}}for(or!==null&&ri(or,e),ir!==null&&ri(ir,e),sr!==null&&ri(sr,e),ei.forEach(n),ti.forEach(n),i=0;i<lr.length;i++)l=lr[i],l.blockedOn===e&&(l.blockedOn=null);for(;0<lr.length&&(i=lr[0],i.blockedOn===null);)Vd(i),i.blockedOn===null&&lr.shift()}var oo=$.ReactCurrentBatchConfig,Cs=!0;function Oy(e,n,i,l){var c=Ue,f=oo.transition;oo.transition=null;try{Ue=1,Ca(e,n,i,l)}finally{Ue=c,oo.transition=f}}function Ny(e,n,i,l){var c=Ue,f=oo.transition;oo.transition=null;try{Ue=4,Ca(e,n,i,l)}finally{Ue=c,oo.transition=f}}function Ca(e,n,i,l){if(Cs){var c=wa(e,n,i,l);if(c===null)Ba(e,n,l,ws,i),Hd(e,l);else if(Iy(c,e,n,i,l))l.stopPropagation();else if(Hd(e,l),n&4&&-1<$y.indexOf(e)){for(;c!==null;){var f=gi(c);if(f!==null&&Fd(f),f=wa(e,n,i,l),f===null&&Ba(e,n,l,ws,i),f===c)break;c=f}c!==null&&l.stopPropagation()}else Ba(e,n,l,null,i)}}var ws=null;function wa(e,n,i,l){if(ws=null,e=to(l),e=Nr(e),e!==null)if(n=Or(e),n===null)e=null;else if(i=n.tag,i===13){if(e=Id(n),e!==null)return e;e=null}else if(i===3){if(n.stateNode.current.memoizedState.isDehydrated)return n.tag===3?n.stateNode.containerInfo:null;e=null}else n!==e&&(e=null);return ws=e,null}function Gd(e){switch(e){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"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 1;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"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(Sy()){case ha:return 1;case jd:return 4;case ms:case Cy:return 16;case _d:return 536870912;default:return 16}default:return 16}}var ar=null,ba=null,bs=null;function Qd(){if(bs)return bs;var e,n=ba,i=n.length,l,c="value"in ar?ar.value:ar.textContent,f=c.length;for(e=0;e<i&&n[e]===c[e];e++);var g=i-e;for(l=1;l<=g&&n[i-l]===c[f-l];l++);return bs=c.slice(e,1<l?1-l:void 0)}function ks(e){var n=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&n===13&&(e=13)):e=n,e===10&&(e=13),32<=e||e===13?e:0}function Es(){return!0}function qd(){return!1}function qt(e){function n(i,l,c,f,g){this._reactName=i,this._targetInst=c,this.type=l,this.nativeEvent=f,this.target=g,this.currentTarget=null;for(var R in e)e.hasOwnProperty(R)&&(i=e[R],this[R]=i?i(f):f[R]);return this.isDefaultPrevented=(f.defaultPrevented!=null?f.defaultPrevented:f.returnValue===!1)?Es:qd,this.isPropagationStopped=qd,this}return ne(n.prototype,{preventDefault:function(){this.defaultPrevented=!0;var i=this.nativeEvent;i&&(i.preventDefault?i.preventDefault():typeof i.returnValue!="unknown"&&(i.returnValue=!1),this.isDefaultPrevented=Es)},stopPropagation:function(){var i=this.nativeEvent;i&&(i.stopPropagation?i.stopPropagation():typeof i.cancelBubble!="unknown"&&(i.cancelBubble=!0),this.isPropagationStopped=Es)},persist:function(){},isPersistent:Es}),n}var io={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},ka=qt(io),ii=ne({},io,{view:0,detail:0}),Ay=qt(ii),Ea,Ra,si,Rs=ne({},ii,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Pa,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!==si&&(si&&e.type==="mousemove"?(Ea=e.screenX-si.screenX,Ra=e.screenY-si.screenY):Ra=Ea=0,si=e),Ea)},movementY:function(e){return"movementY"in e?e.movementY:Ra}}),Yd=qt(Rs),Ly=ne({},Rs,{dataTransfer:0}),jy=qt(Ly),_y=ne({},ii,{relatedTarget:0}),Ta=qt(_y),zy=ne({},io,{animationName:0,elapsedTime:0,pseudoElement:0}),By=qt(zy),Fy=ne({},io,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Dy=qt(Fy),Wy=ne({},io,{data:0}),Xd=qt(Wy),Uy={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Hy={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"},Vy={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Ky(e){var n=this.nativeEvent;return n.getModifierState?n.getModifierState(e):(e=Vy[e])?!!n[e]:!1}function Pa(){return Ky}var Gy=ne({},ii,{key:function(e){if(e.key){var n=Uy[e.key]||e.key;if(n!=="Unidentified")return n}return e.type==="keypress"?(e=ks(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?Hy[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Pa,charCode:function(e){return e.type==="keypress"?ks(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?ks(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),Qy=qt(Gy),qy=ne({},Rs,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Jd=qt(qy),Yy=ne({},ii,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Pa}),Xy=qt(Yy),Jy=ne({},io,{propertyName:0,elapsedTime:0,pseudoElement:0}),Zy=qt(Jy),ev=ne({},Rs,{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}),tv=qt(ev),nv=[9,13,27,32],$a=p&&"CompositionEvent"in window,li=null;p&&"documentMode"in document&&(li=document.documentMode);var rv=p&&"TextEvent"in window&&!li,Zd=p&&(!$a||li&&8<li&&11>=li),ef=" ",tf=!1;function nf(e,n){switch(e){case"keyup":return nv.indexOf(n.keyCode)!==-1;case"keydown":return n.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function rf(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var so=!1;function ov(e,n){switch(e){case"compositionend":return rf(n);case"keypress":return n.which!==32?null:(tf=!0,ef);case"textInput":return e=n.data,e===ef&&tf?null:e;default:return null}}function iv(e,n){if(so)return e==="compositionend"||!$a&&nf(e,n)?(e=Qd(),bs=ba=ar=null,so=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(n.ctrlKey||n.altKey||n.metaKey)||n.ctrlKey&&n.altKey){if(n.char&&1<n.char.length)return n.char;if(n.which)return String.fromCharCode(n.which)}return null;case"compositionend":return Zd&&n.locale!=="ko"?null:n.data;default:return null}}var sv={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function of(e){var n=e&&e.nodeName&&e.nodeName.toLowerCase();return n==="input"?!!sv[e.type]:n==="textarea"}function sf(e,n,i,l){Ed(l),n=Ms(n,"onChange"),0<n.length&&(i=new ka("onChange","change",null,i,l),e.push({event:i,listeners:n}))}var ai=null,ui=null;function lv(e){kf(e,0)}function Ts(e){var n=fo(e);if(Te(n))return e}function av(e,n){if(e==="change")return n}var lf=!1;if(p){var Ia;if(p){var Ma="oninput"in document;if(!Ma){var af=document.createElement("div");af.setAttribute("oninput","return;"),Ma=typeof af.oninput=="function"}Ia=Ma}else Ia=!1;lf=Ia&&(!document.documentMode||9<document.documentMode)}function uf(){ai&&(ai.detachEvent("onpropertychange",cf),ui=ai=null)}function cf(e){if(e.propertyName==="value"&&Ts(ui)){var n=[];sf(n,ui,e,to(e)),$d(lv,n)}}function uv(e,n,i){e==="focusin"?(uf(),ai=n,ui=i,ai.attachEvent("onpropertychange",cf)):e==="focusout"&&uf()}function cv(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Ts(ui)}function dv(e,n){if(e==="click")return Ts(n)}function fv(e,n){if(e==="input"||e==="change")return Ts(n)}function pv(e,n){return e===n&&(e!==0||1/e===1/n)||e!==e&&n!==n}var Sn=typeof Object.is=="function"?Object.is:pv;function ci(e,n){if(Sn(e,n))return!0;if(typeof e!="object"||e===null||typeof n!="object"||n===null)return!1;var i=Object.keys(e),l=Object.keys(n);if(i.length!==l.length)return!1;for(l=0;l<i.length;l++){var c=i[l];if(!m.call(n,c)||!Sn(e[c],n[c]))return!1}return!0}function df(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function ff(e,n){var i=df(e);e=0;for(var l;i;){if(i.nodeType===3){if(l=e+i.textContent.length,e<=n&&l>=n)return{node:i,offset:n-e};e=l}e:{for(;i;){if(i.nextSibling){i=i.nextSibling;break e}i=i.parentNode}i=void 0}i=df(i)}}function pf(e,n){return e&&n?e===n?!0:e&&e.nodeType===3?!1:n&&n.nodeType===3?pf(e,n.parentNode):"contains"in e?e.contains(n):e.compareDocumentPosition?!!(e.compareDocumentPosition(n)&16):!1:!1}function mf(){for(var e=window,n=He();n instanceof e.HTMLIFrameElement;){try{var i=typeof n.contentWindow.location.href=="string"}catch{i=!1}if(i)e=n.contentWindow;else break;n=He(e.document)}return n}function Oa(e){var n=e&&e.nodeName&&e.nodeName.toLowerCase();return n&&(n==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||n==="textarea"||e.contentEditable==="true")}function mv(e){var n=mf(),i=e.focusedElem,l=e.selectionRange;if(n!==i&&i&&i.ownerDocument&&pf(i.ownerDocument.documentElement,i)){if(l!==null&&Oa(i)){if(n=l.start,e=l.end,e===void 0&&(e=n),"selectionStart"in i)i.selectionStart=n,i.selectionEnd=Math.min(e,i.value.length);else if(e=(n=i.ownerDocument||document)&&n.defaultView||window,e.getSelection){e=e.getSelection();var c=i.textContent.length,f=Math.min(l.start,c);l=l.end===void 0?f:Math.min(l.end,c),!e.extend&&f>l&&(c=l,l=f,f=c),c=ff(i,f);var g=ff(i,l);c&&g&&(e.rangeCount!==1||e.anchorNode!==c.node||e.anchorOffset!==c.offset||e.focusNode!==g.node||e.focusOffset!==g.offset)&&(n=n.createRange(),n.setStart(c.node,c.offset),e.removeAllRanges(),f>l?(e.addRange(n),e.extend(g.node,g.offset)):(n.setEnd(g.node,g.offset),e.addRange(n)))}}for(n=[],e=i;e=e.parentNode;)e.nodeType===1&&n.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof i.focus=="function"&&i.focus(),i=0;i<n.length;i++)e=n[i],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var hv=p&&"documentMode"in document&&11>=document.documentMode,lo=null,Na=null,di=null,Aa=!1;function hf(e,n,i){var l=i.window===i?i.document:i.nodeType===9?i:i.ownerDocument;Aa||lo==null||lo!==He(l)||(l=lo,"selectionStart"in l&&Oa(l)?l={start:l.selectionStart,end:l.selectionEnd}:(l=(l.ownerDocument&&l.ownerDocument.defaultView||window).getSelection(),l={anchorNode:l.anchorNode,anchorOffset:l.anchorOffset,focusNode:l.focusNode,focusOffset:l.focusOffset}),di&&ci(di,l)||(di=l,l=Ms(Na,"onSelect"),0<l.length&&(n=new ka("onSelect","select",null,n,i),e.push({event:n,listeners:l}),n.target=lo)))}function Ps(e,n){var i={};return i[e.toLowerCase()]=n.toLowerCase(),i["Webkit"+e]="webkit"+n,i["Moz"+e]="moz"+n,i}var ao={animationend:Ps("Animation","AnimationEnd"),animationiteration:Ps("Animation","AnimationIteration"),animationstart:Ps("Animation","AnimationStart"),transitionend:Ps("Transition","TransitionEnd")},La={},gf={};p&&(gf=document.createElement("div").style,"AnimationEvent"in window||(delete ao.animationend.animation,delete ao.animationiteration.animation,delete ao.animationstart.animation),"TransitionEvent"in window||delete ao.transitionend.transition);function $s(e){if(La[e])return La[e];if(!ao[e])return e;var n=ao[e],i;for(i in n)if(n.hasOwnProperty(i)&&i in gf)return La[e]=n[i];return e}var yf=$s("animationend"),vf=$s("animationiteration"),xf=$s("animationstart"),Sf=$s("transitionend"),Cf=new Map,wf="abort auxClick 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(" ");function ur(e,n){Cf.set(e,n),u(n,[e])}for(var ja=0;ja<wf.length;ja++){var _a=wf[ja],gv=_a.toLowerCase(),yv=_a[0].toUpperCase()+_a.slice(1);ur(gv,"on"+yv)}ur(yf,"onAnimationEnd"),ur(vf,"onAnimationIteration"),ur(xf,"onAnimationStart"),ur("dblclick","onDoubleClick"),ur("focusin","onFocus"),ur("focusout","onBlur"),ur(Sf,"onTransitionEnd"),d("onMouseEnter",["mouseout","mouseover"]),d("onMouseLeave",["mouseout","mouseover"]),d("onPointerEnter",["pointerout","pointerover"]),d("onPointerLeave",["pointerout","pointerover"]),u("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),u("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),u("onBeforeInput",["compositionend","keypress","textInput","paste"]),u("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),u("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),u("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var fi="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(" "),vv=new Set("cancel close invalid load scroll toggle".split(" ").concat(fi));function bf(e,n,i){var l=e.type||"unknown-event";e.currentTarget=i,gy(l,n,void 0,e),e.currentTarget=null}function kf(e,n){n=(n&4)!==0;for(var i=0;i<e.length;i++){var l=e[i],c=l.event;l=l.listeners;e:{var f=void 0;if(n)for(var g=l.length-1;0<=g;g--){var R=l[g],I=R.instance,z=R.currentTarget;if(R=R.listener,I!==f&&c.isPropagationStopped())break e;bf(c,R,z),f=I}else for(g=0;g<l.length;g++){if(R=l[g],I=R.instance,z=R.currentTarget,R=R.listener,I!==f&&c.isPropagationStopped())break e;bf(c,R,z),f=I}}}if(ps)throw e=ma,ps=!1,ma=null,e}function tt(e,n){var i=n[Va];i===void 0&&(i=n[Va]=new Set);var l=e+"__bubble";i.has(l)||(Ef(n,e,2,!1),i.add(l))}function za(e,n,i){var l=0;n&&(l|=4),Ef(i,e,l,n)}var Is="_reactListening"+Math.random().toString(36).slice(2);function pi(e){if(!e[Is]){e[Is]=!0,s.forEach(function(i){i!=="selectionchange"&&(vv.has(i)||za(i,!1,e),za(i,!0,e))});var n=e.nodeType===9?e:e.ownerDocument;n===null||n[Is]||(n[Is]=!0,za("selectionchange",!1,n))}}function Ef(e,n,i,l){switch(Gd(n)){case 1:var c=Oy;break;case 4:c=Ny;break;default:c=Ca}i=c.bind(null,n,i,e),c=void 0,!pa||n!=="touchstart"&&n!=="touchmove"&&n!=="wheel"||(c=!0),l?c!==void 0?e.addEventListener(n,i,{capture:!0,passive:c}):e.addEventListener(n,i,!0):c!==void 0?e.addEventListener(n,i,{passive:c}):e.addEventListener(n,i,!1)}function Ba(e,n,i,l,c){var f=l;if(!(n&1)&&!(n&2)&&l!==null)e:for(;;){if(l===null)return;var g=l.tag;if(g===3||g===4){var R=l.stateNode.containerInfo;if(R===c||R.nodeType===8&&R.parentNode===c)break;if(g===4)for(g=l.return;g!==null;){var I=g.tag;if((I===3||I===4)&&(I=g.stateNode.containerInfo,I===c||I.nodeType===8&&I.parentNode===c))return;g=g.return}for(;R!==null;){if(g=Nr(R),g===null)return;if(I=g.tag,I===5||I===6){l=f=g;continue e}R=R.parentNode}}l=l.return}$d(function(){var z=f,Y=to(i),X=[];e:{var q=Cf.get(e);if(q!==void 0){var se=ka,ue=e;switch(e){case"keypress":if(ks(i)===0)break e;case"keydown":case"keyup":se=Qy;break;case"focusin":ue="focus",se=Ta;break;case"focusout":ue="blur",se=Ta;break;case"beforeblur":case"afterblur":se=Ta;break;case"click":if(i.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":se=Yd;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":se=jy;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":se=Xy;break;case yf:case vf:case xf:se=By;break;case Sf:se=Zy;break;case"scroll":se=Ay;break;case"wheel":se=tv;break;case"copy":case"cut":case"paste":se=Dy;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":se=Jd}var fe=(n&4)!==0,mt=!fe&&e==="scroll",L=fe?q!==null?q+"Capture":null:q;fe=[];for(var A=z,_;A!==null;){_=A;var te=_.stateNode;if(_.tag===5&&te!==null&&(_=te,L!==null&&(te=qo(A,L),te!=null&&fe.push(mi(A,te,_)))),mt)break;A=A.return}0<fe.length&&(q=new se(q,ue,null,i,Y),X.push({event:q,listeners:fe}))}}if(!(n&7)){e:{if(q=e==="mouseover"||e==="pointerover",se=e==="mouseout"||e==="pointerout",q&&i!==$n&&(ue=i.relatedTarget||i.fromElement)&&(Nr(ue)||ue[Kn]))break e;if((se||q)&&(q=Y.window===Y?Y:(q=Y.ownerDocument)?q.defaultView||q.parentWindow:window,se?(ue=i.relatedTarget||i.toElement,se=z,ue=ue?Nr(ue):null,ue!==null&&(mt=Or(ue),ue!==mt||ue.tag!==5&&ue.tag!==6)&&(ue=null)):(se=null,ue=z),se!==ue)){if(fe=Yd,te="onMouseLeave",L="onMouseEnter",A="mouse",(e==="pointerout"||e==="pointerover")&&(fe=Jd,te="onPointerLeave",L="onPointerEnter",A="pointer"),mt=se==null?q:fo(se),_=ue==null?q:fo(ue),q=new fe(te,A+"leave",se,i,Y),q.target=mt,q.relatedTarget=_,te=null,Nr(Y)===z&&(fe=new fe(L,A+"enter",ue,i,Y),fe.target=_,fe.relatedTarget=mt,te=fe),mt=te,se&&ue)t:{for(fe=se,L=ue,A=0,_=fe;_;_=uo(_))A++;for(_=0,te=L;te;te=uo(te))_++;for(;0<A-_;)fe=uo(fe),A--;for(;0<_-A;)L=uo(L),_--;for(;A--;){if(fe===L||L!==null&&fe===L.alternate)break t;fe=uo(fe),L=uo(L)}fe=null}else fe=null;se!==null&&Rf(X,q,se,fe,!1),ue!==null&&mt!==null&&Rf(X,mt,ue,fe,!0)}}e:{if(q=z?fo(z):window,se=q.nodeName&&q.nodeName.toLowerCase(),se==="select"||se==="input"&&q.type==="file")var pe=av;else if(of(q))if(lf)pe=fv;else{pe=cv;var ve=uv}else(se=q.nodeName)&&se.toLowerCase()==="input"&&(q.type==="checkbox"||q.type==="radio")&&(pe=dv);if(pe&&(pe=pe(e,z))){sf(X,pe,i,Y);break e}ve&&ve(e,q,z),e==="focusout"&&(ve=q._wrapperState)&&ve.controlled&&q.type==="number"&&yt(q,"number",q.value)}switch(ve=z?fo(z):window,e){case"focusin":(of(ve)||ve.contentEditable==="true")&&(lo=ve,Na=z,di=null);break;case"focusout":di=Na=lo=null;break;case"mousedown":Aa=!0;break;case"contextmenu":case"mouseup":case"dragend":Aa=!1,hf(X,i,Y);break;case"selectionchange":if(hv)break;case"keydown":case"keyup":hf(X,i,Y)}var xe;if($a)e:{switch(e){case"compositionstart":var ke="onCompositionStart";break e;case"compositionend":ke="onCompositionEnd";break e;case"compositionupdate":ke="onCompositionUpdate";break e}ke=void 0}else so?nf(e,i)&&(ke="onCompositionEnd"):e==="keydown"&&i.keyCode===229&&(ke="onCompositionStart");ke&&(Zd&&i.locale!=="ko"&&(so||ke!=="onCompositionStart"?ke==="onCompositionEnd"&&so&&(xe=Qd()):(ar=Y,ba="value"in ar?ar.value:ar.textContent,so=!0)),ve=Ms(z,ke),0<ve.length&&(ke=new Xd(ke,e,null,i,Y),X.push({event:ke,listeners:ve}),xe?ke.data=xe:(xe=rf(i),xe!==null&&(ke.data=xe)))),(xe=rv?ov(e,i):iv(e,i))&&(z=Ms(z,"onBeforeInput"),0<z.length&&(Y=new Xd("onBeforeInput","beforeinput",null,i,Y),X.push({event:Y,listeners:z}),Y.data=xe))}kf(X,n)})}function mi(e,n,i){return{instance:e,listener:n,currentTarget:i}}function Ms(e,n){for(var i=n+"Capture",l=[];e!==null;){var c=e,f=c.stateNode;c.tag===5&&f!==null&&(c=f,f=qo(e,i),f!=null&&l.unshift(mi(e,f,c)),f=qo(e,n),f!=null&&l.push(mi(e,f,c))),e=e.return}return l}function uo(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function Rf(e,n,i,l,c){for(var f=n._reactName,g=[];i!==null&&i!==l;){var R=i,I=R.alternate,z=R.stateNode;if(I!==null&&I===l)break;R.tag===5&&z!==null&&(R=z,c?(I=qo(i,f),I!=null&&g.unshift(mi(i,I,R))):c||(I=qo(i,f),I!=null&&g.push(mi(i,I,R)))),i=i.return}g.length!==0&&e.push({event:n,listeners:g})}var xv=/\r\n?/g,Sv=/\u0000|\uFFFD/g;function Tf(e){return(typeof e=="string"?e:""+e).replace(xv,`
|
||
`).replace(Sv,"")}function Os(e,n,i){if(n=Tf(n),Tf(e)!==n&&i)throw Error(o(425))}function Ns(){}var Fa=null,Da=null;function Wa(e,n){return e==="textarea"||e==="noscript"||typeof n.children=="string"||typeof n.children=="number"||typeof n.dangerouslySetInnerHTML=="object"&&n.dangerouslySetInnerHTML!==null&&n.dangerouslySetInnerHTML.__html!=null}var Ua=typeof setTimeout=="function"?setTimeout:void 0,Cv=typeof clearTimeout=="function"?clearTimeout:void 0,Pf=typeof Promise=="function"?Promise:void 0,wv=typeof queueMicrotask=="function"?queueMicrotask:typeof Pf<"u"?function(e){return Pf.resolve(null).then(e).catch(bv)}:Ua;function bv(e){setTimeout(function(){throw e})}function Ha(e,n){var i=n,l=0;do{var c=i.nextSibling;if(e.removeChild(i),c&&c.nodeType===8)if(i=c.data,i==="/$"){if(l===0){e.removeChild(c),oi(n);return}l--}else i!=="$"&&i!=="$?"&&i!=="$!"||l++;i=c}while(i);oi(n)}function cr(e){for(;e!=null;e=e.nextSibling){var n=e.nodeType;if(n===1||n===3)break;if(n===8){if(n=e.data,n==="$"||n==="$!"||n==="$?")break;if(n==="/$")return null}}return e}function $f(e){e=e.previousSibling;for(var n=0;e;){if(e.nodeType===8){var i=e.data;if(i==="$"||i==="$!"||i==="$?"){if(n===0)return e;n--}else i==="/$"&&n++}e=e.previousSibling}return null}var co=Math.random().toString(36).slice(2),Mn="__reactFiber$"+co,hi="__reactProps$"+co,Kn="__reactContainer$"+co,Va="__reactEvents$"+co,kv="__reactListeners$"+co,Ev="__reactHandles$"+co;function Nr(e){var n=e[Mn];if(n)return n;for(var i=e.parentNode;i;){if(n=i[Kn]||i[Mn]){if(i=n.alternate,n.child!==null||i!==null&&i.child!==null)for(e=$f(e);e!==null;){if(i=e[Mn])return i;e=$f(e)}return n}e=i,i=e.parentNode}return null}function gi(e){return e=e[Mn]||e[Kn],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function fo(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(o(33))}function As(e){return e[hi]||null}var Ka=[],po=-1;function dr(e){return{current:e}}function nt(e){0>po||(e.current=Ka[po],Ka[po]=null,po--)}function et(e,n){po++,Ka[po]=e.current,e.current=n}var fr={},At=dr(fr),Wt=dr(!1),Ar=fr;function mo(e,n){var i=e.type.contextTypes;if(!i)return fr;var l=e.stateNode;if(l&&l.__reactInternalMemoizedUnmaskedChildContext===n)return l.__reactInternalMemoizedMaskedChildContext;var c={},f;for(f in i)c[f]=n[f];return l&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=n,e.__reactInternalMemoizedMaskedChildContext=c),c}function Ut(e){return e=e.childContextTypes,e!=null}function Ls(){nt(Wt),nt(At)}function If(e,n,i){if(At.current!==fr)throw Error(o(168));et(At,n),et(Wt,i)}function Mf(e,n,i){var l=e.stateNode;if(n=n.childContextTypes,typeof l.getChildContext!="function")return i;l=l.getChildContext();for(var c in l)if(!(c in n))throw Error(o(108,be(e)||"Unknown",c));return ne({},i,l)}function js(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||fr,Ar=At.current,et(At,e),et(Wt,Wt.current),!0}function Of(e,n,i){var l=e.stateNode;if(!l)throw Error(o(169));i?(e=Mf(e,n,Ar),l.__reactInternalMemoizedMergedChildContext=e,nt(Wt),nt(At),et(At,e)):nt(Wt),et(Wt,i)}var Gn=null,_s=!1,Ga=!1;function Nf(e){Gn===null?Gn=[e]:Gn.push(e)}function Rv(e){_s=!0,Nf(e)}function pr(){if(!Ga&&Gn!==null){Ga=!0;var e=0,n=Ue;try{var i=Gn;for(Ue=1;e<i.length;e++){var l=i[e];do l=l(!0);while(l!==null)}Gn=null,_s=!1}catch(c){throw Gn!==null&&(Gn=Gn.slice(e+1)),Ad(ha,pr),c}finally{Ue=n,Ga=!1}}return null}var ho=[],go=0,zs=null,Bs=0,sn=[],ln=0,Lr=null,Qn=1,qn="";function jr(e,n){ho[go++]=Bs,ho[go++]=zs,zs=e,Bs=n}function Af(e,n,i){sn[ln++]=Qn,sn[ln++]=qn,sn[ln++]=Lr,Lr=e;var l=Qn;e=qn;var c=32-xn(l)-1;l&=~(1<<c),i+=1;var f=32-xn(n)+c;if(30<f){var g=c-c%5;f=(l&(1<<g)-1).toString(32),l>>=g,c-=g,Qn=1<<32-xn(n)+c|i<<c|l,qn=f+e}else Qn=1<<f|i<<c|l,qn=e}function Qa(e){e.return!==null&&(jr(e,1),Af(e,1,0))}function qa(e){for(;e===zs;)zs=ho[--go],ho[go]=null,Bs=ho[--go],ho[go]=null;for(;e===Lr;)Lr=sn[--ln],sn[ln]=null,qn=sn[--ln],sn[ln]=null,Qn=sn[--ln],sn[ln]=null}var Yt=null,Xt=null,ot=!1,Cn=null;function Lf(e,n){var i=dn(5,null,null,0);i.elementType="DELETED",i.stateNode=n,i.return=e,n=e.deletions,n===null?(e.deletions=[i],e.flags|=16):n.push(i)}function jf(e,n){switch(e.tag){case 5:var i=e.type;return n=n.nodeType!==1||i.toLowerCase()!==n.nodeName.toLowerCase()?null:n,n!==null?(e.stateNode=n,Yt=e,Xt=cr(n.firstChild),!0):!1;case 6:return n=e.pendingProps===""||n.nodeType!==3?null:n,n!==null?(e.stateNode=n,Yt=e,Xt=null,!0):!1;case 13:return n=n.nodeType!==8?null:n,n!==null?(i=Lr!==null?{id:Qn,overflow:qn}:null,e.memoizedState={dehydrated:n,treeContext:i,retryLane:1073741824},i=dn(18,null,null,0),i.stateNode=n,i.return=e,e.child=i,Yt=e,Xt=null,!0):!1;default:return!1}}function Ya(e){return(e.mode&1)!==0&&(e.flags&128)===0}function Xa(e){if(ot){var n=Xt;if(n){var i=n;if(!jf(e,n)){if(Ya(e))throw Error(o(418));n=cr(i.nextSibling);var l=Yt;n&&jf(e,n)?Lf(l,i):(e.flags=e.flags&-4097|2,ot=!1,Yt=e)}}else{if(Ya(e))throw Error(o(418));e.flags=e.flags&-4097|2,ot=!1,Yt=e}}}function _f(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;Yt=e}function Fs(e){if(e!==Yt)return!1;if(!ot)return _f(e),ot=!0,!1;var n;if((n=e.tag!==3)&&!(n=e.tag!==5)&&(n=e.type,n=n!=="head"&&n!=="body"&&!Wa(e.type,e.memoizedProps)),n&&(n=Xt)){if(Ya(e))throw zf(),Error(o(418));for(;n;)Lf(e,n),n=cr(n.nextSibling)}if(_f(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(o(317));e:{for(e=e.nextSibling,n=0;e;){if(e.nodeType===8){var i=e.data;if(i==="/$"){if(n===0){Xt=cr(e.nextSibling);break e}n--}else i!=="$"&&i!=="$!"&&i!=="$?"||n++}e=e.nextSibling}Xt=null}}else Xt=Yt?cr(e.stateNode.nextSibling):null;return!0}function zf(){for(var e=Xt;e;)e=cr(e.nextSibling)}function yo(){Xt=Yt=null,ot=!1}function Ja(e){Cn===null?Cn=[e]:Cn.push(e)}var Tv=$.ReactCurrentBatchConfig;function yi(e,n,i){if(e=i.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(i._owner){if(i=i._owner,i){if(i.tag!==1)throw Error(o(309));var l=i.stateNode}if(!l)throw Error(o(147,e));var c=l,f=""+e;return n!==null&&n.ref!==null&&typeof n.ref=="function"&&n.ref._stringRef===f?n.ref:(n=function(g){var R=c.refs;g===null?delete R[f]:R[f]=g},n._stringRef=f,n)}if(typeof e!="string")throw Error(o(284));if(!i._owner)throw Error(o(290,e))}return e}function Ds(e,n){throw e=Object.prototype.toString.call(n),Error(o(31,e==="[object Object]"?"object with keys {"+Object.keys(n).join(", ")+"}":e))}function Bf(e){var n=e._init;return n(e._payload)}function Ff(e){function n(L,A){if(e){var _=L.deletions;_===null?(L.deletions=[A],L.flags|=16):_.push(A)}}function i(L,A){if(!e)return null;for(;A!==null;)n(L,A),A=A.sibling;return null}function l(L,A){for(L=new Map;A!==null;)A.key!==null?L.set(A.key,A):L.set(A.index,A),A=A.sibling;return L}function c(L,A){return L=Cr(L,A),L.index=0,L.sibling=null,L}function f(L,A,_){return L.index=_,e?(_=L.alternate,_!==null?(_=_.index,_<A?(L.flags|=2,A):_):(L.flags|=2,A)):(L.flags|=1048576,A)}function g(L){return e&&L.alternate===null&&(L.flags|=2),L}function R(L,A,_,te){return A===null||A.tag!==6?(A=Uu(_,L.mode,te),A.return=L,A):(A=c(A,_),A.return=L,A)}function I(L,A,_,te){var pe=_.type;return pe===F?Y(L,A,_.props.children,te,_.key):A!==null&&(A.elementType===pe||typeof pe=="object"&&pe!==null&&pe.$$typeof===Z&&Bf(pe)===A.type)?(te=c(A,_.props),te.ref=yi(L,A,_),te.return=L,te):(te=dl(_.type,_.key,_.props,null,L.mode,te),te.ref=yi(L,A,_),te.return=L,te)}function z(L,A,_,te){return A===null||A.tag!==4||A.stateNode.containerInfo!==_.containerInfo||A.stateNode.implementation!==_.implementation?(A=Hu(_,L.mode,te),A.return=L,A):(A=c(A,_.children||[]),A.return=L,A)}function Y(L,A,_,te,pe){return A===null||A.tag!==7?(A=Hr(_,L.mode,te,pe),A.return=L,A):(A=c(A,_),A.return=L,A)}function X(L,A,_){if(typeof A=="string"&&A!==""||typeof A=="number")return A=Uu(""+A,L.mode,_),A.return=L,A;if(typeof A=="object"&&A!==null){switch(A.$$typeof){case O:return _=dl(A.type,A.key,A.props,null,L.mode,_),_.ref=yi(L,null,A),_.return=L,_;case B:return A=Hu(A,L.mode,_),A.return=L,A;case Z:var te=A._init;return X(L,te(A._payload),_)}if(Ze(A)||G(A))return A=Hr(A,L.mode,_,null),A.return=L,A;Ds(L,A)}return null}function q(L,A,_,te){var pe=A!==null?A.key:null;if(typeof _=="string"&&_!==""||typeof _=="number")return pe!==null?null:R(L,A,""+_,te);if(typeof _=="object"&&_!==null){switch(_.$$typeof){case O:return _.key===pe?I(L,A,_,te):null;case B:return _.key===pe?z(L,A,_,te):null;case Z:return pe=_._init,q(L,A,pe(_._payload),te)}if(Ze(_)||G(_))return pe!==null?null:Y(L,A,_,te,null);Ds(L,_)}return null}function se(L,A,_,te,pe){if(typeof te=="string"&&te!==""||typeof te=="number")return L=L.get(_)||null,R(A,L,""+te,pe);if(typeof te=="object"&&te!==null){switch(te.$$typeof){case O:return L=L.get(te.key===null?_:te.key)||null,I(A,L,te,pe);case B:return L=L.get(te.key===null?_:te.key)||null,z(A,L,te,pe);case Z:var ve=te._init;return se(L,A,_,ve(te._payload),pe)}if(Ze(te)||G(te))return L=L.get(_)||null,Y(A,L,te,pe,null);Ds(A,te)}return null}function ue(L,A,_,te){for(var pe=null,ve=null,xe=A,ke=A=0,Pt=null;xe!==null&&ke<_.length;ke++){xe.index>ke?(Pt=xe,xe=null):Pt=xe.sibling;var _e=q(L,xe,_[ke],te);if(_e===null){xe===null&&(xe=Pt);break}e&&xe&&_e.alternate===null&&n(L,xe),A=f(_e,A,ke),ve===null?pe=_e:ve.sibling=_e,ve=_e,xe=Pt}if(ke===_.length)return i(L,xe),ot&&jr(L,ke),pe;if(xe===null){for(;ke<_.length;ke++)xe=X(L,_[ke],te),xe!==null&&(A=f(xe,A,ke),ve===null?pe=xe:ve.sibling=xe,ve=xe);return ot&&jr(L,ke),pe}for(xe=l(L,xe);ke<_.length;ke++)Pt=se(xe,L,ke,_[ke],te),Pt!==null&&(e&&Pt.alternate!==null&&xe.delete(Pt.key===null?ke:Pt.key),A=f(Pt,A,ke),ve===null?pe=Pt:ve.sibling=Pt,ve=Pt);return e&&xe.forEach(function(wr){return n(L,wr)}),ot&&jr(L,ke),pe}function fe(L,A,_,te){var pe=G(_);if(typeof pe!="function")throw Error(o(150));if(_=pe.call(_),_==null)throw Error(o(151));for(var ve=pe=null,xe=A,ke=A=0,Pt=null,_e=_.next();xe!==null&&!_e.done;ke++,_e=_.next()){xe.index>ke?(Pt=xe,xe=null):Pt=xe.sibling;var wr=q(L,xe,_e.value,te);if(wr===null){xe===null&&(xe=Pt);break}e&&xe&&wr.alternate===null&&n(L,xe),A=f(wr,A,ke),ve===null?pe=wr:ve.sibling=wr,ve=wr,xe=Pt}if(_e.done)return i(L,xe),ot&&jr(L,ke),pe;if(xe===null){for(;!_e.done;ke++,_e=_.next())_e=X(L,_e.value,te),_e!==null&&(A=f(_e,A,ke),ve===null?pe=_e:ve.sibling=_e,ve=_e);return ot&&jr(L,ke),pe}for(xe=l(L,xe);!_e.done;ke++,_e=_.next())_e=se(xe,L,ke,_e.value,te),_e!==null&&(e&&_e.alternate!==null&&xe.delete(_e.key===null?ke:_e.key),A=f(_e,A,ke),ve===null?pe=_e:ve.sibling=_e,ve=_e);return e&&xe.forEach(function(s0){return n(L,s0)}),ot&&jr(L,ke),pe}function mt(L,A,_,te){if(typeof _=="object"&&_!==null&&_.type===F&&_.key===null&&(_=_.props.children),typeof _=="object"&&_!==null){switch(_.$$typeof){case O:e:{for(var pe=_.key,ve=A;ve!==null;){if(ve.key===pe){if(pe=_.type,pe===F){if(ve.tag===7){i(L,ve.sibling),A=c(ve,_.props.children),A.return=L,L=A;break e}}else if(ve.elementType===pe||typeof pe=="object"&&pe!==null&&pe.$$typeof===Z&&Bf(pe)===ve.type){i(L,ve.sibling),A=c(ve,_.props),A.ref=yi(L,ve,_),A.return=L,L=A;break e}i(L,ve);break}else n(L,ve);ve=ve.sibling}_.type===F?(A=Hr(_.props.children,L.mode,te,_.key),A.return=L,L=A):(te=dl(_.type,_.key,_.props,null,L.mode,te),te.ref=yi(L,A,_),te.return=L,L=te)}return g(L);case B:e:{for(ve=_.key;A!==null;){if(A.key===ve)if(A.tag===4&&A.stateNode.containerInfo===_.containerInfo&&A.stateNode.implementation===_.implementation){i(L,A.sibling),A=c(A,_.children||[]),A.return=L,L=A;break e}else{i(L,A);break}else n(L,A);A=A.sibling}A=Hu(_,L.mode,te),A.return=L,L=A}return g(L);case Z:return ve=_._init,mt(L,A,ve(_._payload),te)}if(Ze(_))return ue(L,A,_,te);if(G(_))return fe(L,A,_,te);Ds(L,_)}return typeof _=="string"&&_!==""||typeof _=="number"?(_=""+_,A!==null&&A.tag===6?(i(L,A.sibling),A=c(A,_),A.return=L,L=A):(i(L,A),A=Uu(_,L.mode,te),A.return=L,L=A),g(L)):i(L,A)}return mt}var vo=Ff(!0),Df=Ff(!1),Ws=dr(null),Us=null,xo=null,Za=null;function eu(){Za=xo=Us=null}function tu(e){var n=Ws.current;nt(Ws),e._currentValue=n}function nu(e,n,i){for(;e!==null;){var l=e.alternate;if((e.childLanes&n)!==n?(e.childLanes|=n,l!==null&&(l.childLanes|=n)):l!==null&&(l.childLanes&n)!==n&&(l.childLanes|=n),e===i)break;e=e.return}}function So(e,n){Us=e,Za=xo=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&n&&(Ht=!0),e.firstContext=null)}function an(e){var n=e._currentValue;if(Za!==e)if(e={context:e,memoizedValue:n,next:null},xo===null){if(Us===null)throw Error(o(308));xo=e,Us.dependencies={lanes:0,firstContext:e}}else xo=xo.next=e;return n}var _r=null;function ru(e){_r===null?_r=[e]:_r.push(e)}function Wf(e,n,i,l){var c=n.interleaved;return c===null?(i.next=i,ru(n)):(i.next=c.next,c.next=i),n.interleaved=i,Yn(e,l)}function Yn(e,n){e.lanes|=n;var i=e.alternate;for(i!==null&&(i.lanes|=n),i=e,e=e.return;e!==null;)e.childLanes|=n,i=e.alternate,i!==null&&(i.childLanes|=n),i=e,e=e.return;return i.tag===3?i.stateNode:null}var mr=!1;function ou(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Uf(e,n){e=e.updateQueue,n.updateQueue===e&&(n.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Xn(e,n){return{eventTime:e,lane:n,tag:0,payload:null,callback:null,next:null}}function hr(e,n,i){var l=e.updateQueue;if(l===null)return null;if(l=l.shared,je&2){var c=l.pending;return c===null?n.next=n:(n.next=c.next,c.next=n),l.pending=n,Yn(e,i)}return c=l.interleaved,c===null?(n.next=n,ru(l)):(n.next=c.next,c.next=n),l.interleaved=n,Yn(e,i)}function Hs(e,n,i){if(n=n.updateQueue,n!==null&&(n=n.shared,(i&4194240)!==0)){var l=n.lanes;l&=e.pendingLanes,i|=l,n.lanes=i,va(e,i)}}function Hf(e,n){var i=e.updateQueue,l=e.alternate;if(l!==null&&(l=l.updateQueue,i===l)){var c=null,f=null;if(i=i.firstBaseUpdate,i!==null){do{var g={eventTime:i.eventTime,lane:i.lane,tag:i.tag,payload:i.payload,callback:i.callback,next:null};f===null?c=f=g:f=f.next=g,i=i.next}while(i!==null);f===null?c=f=n:f=f.next=n}else c=f=n;i={baseState:l.baseState,firstBaseUpdate:c,lastBaseUpdate:f,shared:l.shared,effects:l.effects},e.updateQueue=i;return}e=i.lastBaseUpdate,e===null?i.firstBaseUpdate=n:e.next=n,i.lastBaseUpdate=n}function Vs(e,n,i,l){var c=e.updateQueue;mr=!1;var f=c.firstBaseUpdate,g=c.lastBaseUpdate,R=c.shared.pending;if(R!==null){c.shared.pending=null;var I=R,z=I.next;I.next=null,g===null?f=z:g.next=z,g=I;var Y=e.alternate;Y!==null&&(Y=Y.updateQueue,R=Y.lastBaseUpdate,R!==g&&(R===null?Y.firstBaseUpdate=z:R.next=z,Y.lastBaseUpdate=I))}if(f!==null){var X=c.baseState;g=0,Y=z=I=null,R=f;do{var q=R.lane,se=R.eventTime;if((l&q)===q){Y!==null&&(Y=Y.next={eventTime:se,lane:0,tag:R.tag,payload:R.payload,callback:R.callback,next:null});e:{var ue=e,fe=R;switch(q=n,se=i,fe.tag){case 1:if(ue=fe.payload,typeof ue=="function"){X=ue.call(se,X,q);break e}X=ue;break e;case 3:ue.flags=ue.flags&-65537|128;case 0:if(ue=fe.payload,q=typeof ue=="function"?ue.call(se,X,q):ue,q==null)break e;X=ne({},X,q);break e;case 2:mr=!0}}R.callback!==null&&R.lane!==0&&(e.flags|=64,q=c.effects,q===null?c.effects=[R]:q.push(R))}else se={eventTime:se,lane:q,tag:R.tag,payload:R.payload,callback:R.callback,next:null},Y===null?(z=Y=se,I=X):Y=Y.next=se,g|=q;if(R=R.next,R===null){if(R=c.shared.pending,R===null)break;q=R,R=q.next,q.next=null,c.lastBaseUpdate=q,c.shared.pending=null}}while(!0);if(Y===null&&(I=X),c.baseState=I,c.firstBaseUpdate=z,c.lastBaseUpdate=Y,n=c.shared.interleaved,n!==null){c=n;do g|=c.lane,c=c.next;while(c!==n)}else f===null&&(c.shared.lanes=0);Fr|=g,e.lanes=g,e.memoizedState=X}}function Vf(e,n,i){if(e=n.effects,n.effects=null,e!==null)for(n=0;n<e.length;n++){var l=e[n],c=l.callback;if(c!==null){if(l.callback=null,l=i,typeof c!="function")throw Error(o(191,c));c.call(l)}}}var vi={},On=dr(vi),xi=dr(vi),Si=dr(vi);function zr(e){if(e===vi)throw Error(o(174));return e}function iu(e,n){switch(et(Si,n),et(xi,e),et(On,vi),e=n.nodeType,e){case 9:case 11:n=(n=n.documentElement)?n.namespaceURI:on(null,"");break;default:e=e===8?n.parentNode:n,n=e.namespaceURI||null,e=e.tagName,n=on(n,e)}nt(On),et(On,n)}function Co(){nt(On),nt(xi),nt(Si)}function Kf(e){zr(Si.current);var n=zr(On.current),i=on(n,e.type);n!==i&&(et(xi,e),et(On,i))}function su(e){xi.current===e&&(nt(On),nt(xi))}var lt=dr(0);function Ks(e){for(var n=e;n!==null;){if(n.tag===13){var i=n.memoizedState;if(i!==null&&(i=i.dehydrated,i===null||i.data==="$?"||i.data==="$!"))return n}else if(n.tag===19&&n.memoizedProps.revealOrder!==void 0){if(n.flags&128)return n}else if(n.child!==null){n.child.return=n,n=n.child;continue}if(n===e)break;for(;n.sibling===null;){if(n.return===null||n.return===e)return null;n=n.return}n.sibling.return=n.return,n=n.sibling}return null}var lu=[];function au(){for(var e=0;e<lu.length;e++)lu[e]._workInProgressVersionPrimary=null;lu.length=0}var Gs=$.ReactCurrentDispatcher,uu=$.ReactCurrentBatchConfig,Br=0,at=null,bt=null,Rt=null,Qs=!1,Ci=!1,wi=0,Pv=0;function Lt(){throw Error(o(321))}function cu(e,n){if(n===null)return!1;for(var i=0;i<n.length&&i<e.length;i++)if(!Sn(e[i],n[i]))return!1;return!0}function du(e,n,i,l,c,f){if(Br=f,at=n,n.memoizedState=null,n.updateQueue=null,n.lanes=0,Gs.current=e===null||e.memoizedState===null?Ov:Nv,e=i(l,c),Ci){f=0;do{if(Ci=!1,wi=0,25<=f)throw Error(o(301));f+=1,Rt=bt=null,n.updateQueue=null,Gs.current=Av,e=i(l,c)}while(Ci)}if(Gs.current=Xs,n=bt!==null&&bt.next!==null,Br=0,Rt=bt=at=null,Qs=!1,n)throw Error(o(300));return e}function fu(){var e=wi!==0;return wi=0,e}function Nn(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Rt===null?at.memoizedState=Rt=e:Rt=Rt.next=e,Rt}function un(){if(bt===null){var e=at.alternate;e=e!==null?e.memoizedState:null}else e=bt.next;var n=Rt===null?at.memoizedState:Rt.next;if(n!==null)Rt=n,bt=e;else{if(e===null)throw Error(o(310));bt=e,e={memoizedState:bt.memoizedState,baseState:bt.baseState,baseQueue:bt.baseQueue,queue:bt.queue,next:null},Rt===null?at.memoizedState=Rt=e:Rt=Rt.next=e}return Rt}function bi(e,n){return typeof n=="function"?n(e):n}function pu(e){var n=un(),i=n.queue;if(i===null)throw Error(o(311));i.lastRenderedReducer=e;var l=bt,c=l.baseQueue,f=i.pending;if(f!==null){if(c!==null){var g=c.next;c.next=f.next,f.next=g}l.baseQueue=c=f,i.pending=null}if(c!==null){f=c.next,l=l.baseState;var R=g=null,I=null,z=f;do{var Y=z.lane;if((Br&Y)===Y)I!==null&&(I=I.next={lane:0,action:z.action,hasEagerState:z.hasEagerState,eagerState:z.eagerState,next:null}),l=z.hasEagerState?z.eagerState:e(l,z.action);else{var X={lane:Y,action:z.action,hasEagerState:z.hasEagerState,eagerState:z.eagerState,next:null};I===null?(R=I=X,g=l):I=I.next=X,at.lanes|=Y,Fr|=Y}z=z.next}while(z!==null&&z!==f);I===null?g=l:I.next=R,Sn(l,n.memoizedState)||(Ht=!0),n.memoizedState=l,n.baseState=g,n.baseQueue=I,i.lastRenderedState=l}if(e=i.interleaved,e!==null){c=e;do f=c.lane,at.lanes|=f,Fr|=f,c=c.next;while(c!==e)}else c===null&&(i.lanes=0);return[n.memoizedState,i.dispatch]}function mu(e){var n=un(),i=n.queue;if(i===null)throw Error(o(311));i.lastRenderedReducer=e;var l=i.dispatch,c=i.pending,f=n.memoizedState;if(c!==null){i.pending=null;var g=c=c.next;do f=e(f,g.action),g=g.next;while(g!==c);Sn(f,n.memoizedState)||(Ht=!0),n.memoizedState=f,n.baseQueue===null&&(n.baseState=f),i.lastRenderedState=f}return[f,l]}function Gf(){}function Qf(e,n){var i=at,l=un(),c=n(),f=!Sn(l.memoizedState,c);if(f&&(l.memoizedState=c,Ht=!0),l=l.queue,hu(Xf.bind(null,i,l,e),[e]),l.getSnapshot!==n||f||Rt!==null&&Rt.memoizedState.tag&1){if(i.flags|=2048,ki(9,Yf.bind(null,i,l,c,n),void 0,null),Tt===null)throw Error(o(349));Br&30||qf(i,n,c)}return c}function qf(e,n,i){e.flags|=16384,e={getSnapshot:n,value:i},n=at.updateQueue,n===null?(n={lastEffect:null,stores:null},at.updateQueue=n,n.stores=[e]):(i=n.stores,i===null?n.stores=[e]:i.push(e))}function Yf(e,n,i,l){n.value=i,n.getSnapshot=l,Jf(n)&&Zf(e)}function Xf(e,n,i){return i(function(){Jf(n)&&Zf(e)})}function Jf(e){var n=e.getSnapshot;e=e.value;try{var i=n();return!Sn(e,i)}catch{return!0}}function Zf(e){var n=Yn(e,1);n!==null&&En(n,e,1,-1)}function ep(e){var n=Nn();return typeof e=="function"&&(e=e()),n.memoizedState=n.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:bi,lastRenderedState:e},n.queue=e,e=e.dispatch=Mv.bind(null,at,e),[n.memoizedState,e]}function ki(e,n,i,l){return e={tag:e,create:n,destroy:i,deps:l,next:null},n=at.updateQueue,n===null?(n={lastEffect:null,stores:null},at.updateQueue=n,n.lastEffect=e.next=e):(i=n.lastEffect,i===null?n.lastEffect=e.next=e:(l=i.next,i.next=e,e.next=l,n.lastEffect=e)),e}function tp(){return un().memoizedState}function qs(e,n,i,l){var c=Nn();at.flags|=e,c.memoizedState=ki(1|n,i,void 0,l===void 0?null:l)}function Ys(e,n,i,l){var c=un();l=l===void 0?null:l;var f=void 0;if(bt!==null){var g=bt.memoizedState;if(f=g.destroy,l!==null&&cu(l,g.deps)){c.memoizedState=ki(n,i,f,l);return}}at.flags|=e,c.memoizedState=ki(1|n,i,f,l)}function np(e,n){return qs(8390656,8,e,n)}function hu(e,n){return Ys(2048,8,e,n)}function rp(e,n){return Ys(4,2,e,n)}function op(e,n){return Ys(4,4,e,n)}function ip(e,n){if(typeof n=="function")return e=e(),n(e),function(){n(null)};if(n!=null)return e=e(),n.current=e,function(){n.current=null}}function sp(e,n,i){return i=i!=null?i.concat([e]):null,Ys(4,4,ip.bind(null,n,e),i)}function gu(){}function lp(e,n){var i=un();n=n===void 0?null:n;var l=i.memoizedState;return l!==null&&n!==null&&cu(n,l[1])?l[0]:(i.memoizedState=[e,n],e)}function ap(e,n){var i=un();n=n===void 0?null:n;var l=i.memoizedState;return l!==null&&n!==null&&cu(n,l[1])?l[0]:(e=e(),i.memoizedState=[e,n],e)}function up(e,n,i){return Br&21?(Sn(i,n)||(i=zd(),at.lanes|=i,Fr|=i,e.baseState=!0),n):(e.baseState&&(e.baseState=!1,Ht=!0),e.memoizedState=i)}function $v(e,n){var i=Ue;Ue=i!==0&&4>i?i:4,e(!0);var l=uu.transition;uu.transition={};try{e(!1),n()}finally{Ue=i,uu.transition=l}}function cp(){return un().memoizedState}function Iv(e,n,i){var l=xr(e);if(i={lane:l,action:i,hasEagerState:!1,eagerState:null,next:null},dp(e))fp(n,i);else if(i=Wf(e,n,i,l),i!==null){var c=Dt();En(i,e,l,c),pp(i,n,l)}}function Mv(e,n,i){var l=xr(e),c={lane:l,action:i,hasEagerState:!1,eagerState:null,next:null};if(dp(e))fp(n,c);else{var f=e.alternate;if(e.lanes===0&&(f===null||f.lanes===0)&&(f=n.lastRenderedReducer,f!==null))try{var g=n.lastRenderedState,R=f(g,i);if(c.hasEagerState=!0,c.eagerState=R,Sn(R,g)){var I=n.interleaved;I===null?(c.next=c,ru(n)):(c.next=I.next,I.next=c),n.interleaved=c;return}}catch{}finally{}i=Wf(e,n,c,l),i!==null&&(c=Dt(),En(i,e,l,c),pp(i,n,l))}}function dp(e){var n=e.alternate;return e===at||n!==null&&n===at}function fp(e,n){Ci=Qs=!0;var i=e.pending;i===null?n.next=n:(n.next=i.next,i.next=n),e.pending=n}function pp(e,n,i){if(i&4194240){var l=n.lanes;l&=e.pendingLanes,i|=l,n.lanes=i,va(e,i)}}var Xs={readContext:an,useCallback:Lt,useContext:Lt,useEffect:Lt,useImperativeHandle:Lt,useInsertionEffect:Lt,useLayoutEffect:Lt,useMemo:Lt,useReducer:Lt,useRef:Lt,useState:Lt,useDebugValue:Lt,useDeferredValue:Lt,useTransition:Lt,useMutableSource:Lt,useSyncExternalStore:Lt,useId:Lt,unstable_isNewReconciler:!1},Ov={readContext:an,useCallback:function(e,n){return Nn().memoizedState=[e,n===void 0?null:n],e},useContext:an,useEffect:np,useImperativeHandle:function(e,n,i){return i=i!=null?i.concat([e]):null,qs(4194308,4,ip.bind(null,n,e),i)},useLayoutEffect:function(e,n){return qs(4194308,4,e,n)},useInsertionEffect:function(e,n){return qs(4,2,e,n)},useMemo:function(e,n){var i=Nn();return n=n===void 0?null:n,e=e(),i.memoizedState=[e,n],e},useReducer:function(e,n,i){var l=Nn();return n=i!==void 0?i(n):n,l.memoizedState=l.baseState=n,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:n},l.queue=e,e=e.dispatch=Iv.bind(null,at,e),[l.memoizedState,e]},useRef:function(e){var n=Nn();return e={current:e},n.memoizedState=e},useState:ep,useDebugValue:gu,useDeferredValue:function(e){return Nn().memoizedState=e},useTransition:function(){var e=ep(!1),n=e[0];return e=$v.bind(null,e[1]),Nn().memoizedState=e,[n,e]},useMutableSource:function(){},useSyncExternalStore:function(e,n,i){var l=at,c=Nn();if(ot){if(i===void 0)throw Error(o(407));i=i()}else{if(i=n(),Tt===null)throw Error(o(349));Br&30||qf(l,n,i)}c.memoizedState=i;var f={value:i,getSnapshot:n};return c.queue=f,np(Xf.bind(null,l,f,e),[e]),l.flags|=2048,ki(9,Yf.bind(null,l,f,i,n),void 0,null),i},useId:function(){var e=Nn(),n=Tt.identifierPrefix;if(ot){var i=qn,l=Qn;i=(l&~(1<<32-xn(l)-1)).toString(32)+i,n=":"+n+"R"+i,i=wi++,0<i&&(n+="H"+i.toString(32)),n+=":"}else i=Pv++,n=":"+n+"r"+i.toString(32)+":";return e.memoizedState=n},unstable_isNewReconciler:!1},Nv={readContext:an,useCallback:lp,useContext:an,useEffect:hu,useImperativeHandle:sp,useInsertionEffect:rp,useLayoutEffect:op,useMemo:ap,useReducer:pu,useRef:tp,useState:function(){return pu(bi)},useDebugValue:gu,useDeferredValue:function(e){var n=un();return up(n,bt.memoizedState,e)},useTransition:function(){var e=pu(bi)[0],n=un().memoizedState;return[e,n]},useMutableSource:Gf,useSyncExternalStore:Qf,useId:cp,unstable_isNewReconciler:!1},Av={readContext:an,useCallback:lp,useContext:an,useEffect:hu,useImperativeHandle:sp,useInsertionEffect:rp,useLayoutEffect:op,useMemo:ap,useReducer:mu,useRef:tp,useState:function(){return mu(bi)},useDebugValue:gu,useDeferredValue:function(e){var n=un();return bt===null?n.memoizedState=e:up(n,bt.memoizedState,e)},useTransition:function(){var e=mu(bi)[0],n=un().memoizedState;return[e,n]},useMutableSource:Gf,useSyncExternalStore:Qf,useId:cp,unstable_isNewReconciler:!1};function wn(e,n){if(e&&e.defaultProps){n=ne({},n),e=e.defaultProps;for(var i in e)n[i]===void 0&&(n[i]=e[i]);return n}return n}function yu(e,n,i,l){n=e.memoizedState,i=i(l,n),i=i==null?n:ne({},n,i),e.memoizedState=i,e.lanes===0&&(e.updateQueue.baseState=i)}var Js={isMounted:function(e){return(e=e._reactInternals)?Or(e)===e:!1},enqueueSetState:function(e,n,i){e=e._reactInternals;var l=Dt(),c=xr(e),f=Xn(l,c);f.payload=n,i!=null&&(f.callback=i),n=hr(e,f,c),n!==null&&(En(n,e,c,l),Hs(n,e,c))},enqueueReplaceState:function(e,n,i){e=e._reactInternals;var l=Dt(),c=xr(e),f=Xn(l,c);f.tag=1,f.payload=n,i!=null&&(f.callback=i),n=hr(e,f,c),n!==null&&(En(n,e,c,l),Hs(n,e,c))},enqueueForceUpdate:function(e,n){e=e._reactInternals;var i=Dt(),l=xr(e),c=Xn(i,l);c.tag=2,n!=null&&(c.callback=n),n=hr(e,c,l),n!==null&&(En(n,e,l,i),Hs(n,e,l))}};function mp(e,n,i,l,c,f,g){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(l,f,g):n.prototype&&n.prototype.isPureReactComponent?!ci(i,l)||!ci(c,f):!0}function hp(e,n,i){var l=!1,c=fr,f=n.contextType;return typeof f=="object"&&f!==null?f=an(f):(c=Ut(n)?Ar:At.current,l=n.contextTypes,f=(l=l!=null)?mo(e,c):fr),n=new n(i,f),e.memoizedState=n.state!==null&&n.state!==void 0?n.state:null,n.updater=Js,e.stateNode=n,n._reactInternals=e,l&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=c,e.__reactInternalMemoizedMaskedChildContext=f),n}function gp(e,n,i,l){e=n.state,typeof n.componentWillReceiveProps=="function"&&n.componentWillReceiveProps(i,l),typeof n.UNSAFE_componentWillReceiveProps=="function"&&n.UNSAFE_componentWillReceiveProps(i,l),n.state!==e&&Js.enqueueReplaceState(n,n.state,null)}function vu(e,n,i,l){var c=e.stateNode;c.props=i,c.state=e.memoizedState,c.refs={},ou(e);var f=n.contextType;typeof f=="object"&&f!==null?c.context=an(f):(f=Ut(n)?Ar:At.current,c.context=mo(e,f)),c.state=e.memoizedState,f=n.getDerivedStateFromProps,typeof f=="function"&&(yu(e,n,f,i),c.state=e.memoizedState),typeof n.getDerivedStateFromProps=="function"||typeof c.getSnapshotBeforeUpdate=="function"||typeof c.UNSAFE_componentWillMount!="function"&&typeof c.componentWillMount!="function"||(n=c.state,typeof c.componentWillMount=="function"&&c.componentWillMount(),typeof c.UNSAFE_componentWillMount=="function"&&c.UNSAFE_componentWillMount(),n!==c.state&&Js.enqueueReplaceState(c,c.state,null),Vs(e,i,c,l),c.state=e.memoizedState),typeof c.componentDidMount=="function"&&(e.flags|=4194308)}function wo(e,n){try{var i="",l=n;do i+=ce(l),l=l.return;while(l);var c=i}catch(f){c=`
|
||
Error generating stack: `+f.message+`
|
||
`+f.stack}return{value:e,source:n,stack:c,digest:null}}function xu(e,n,i){return{value:e,source:null,stack:i??null,digest:n??null}}function Su(e,n){try{console.error(n.value)}catch(i){setTimeout(function(){throw i})}}var Lv=typeof WeakMap=="function"?WeakMap:Map;function yp(e,n,i){i=Xn(-1,i),i.tag=3,i.payload={element:null};var l=n.value;return i.callback=function(){il||(il=!0,Lu=l),Su(e,n)},i}function vp(e,n,i){i=Xn(-1,i),i.tag=3;var l=e.type.getDerivedStateFromError;if(typeof l=="function"){var c=n.value;i.payload=function(){return l(c)},i.callback=function(){Su(e,n)}}var f=e.stateNode;return f!==null&&typeof f.componentDidCatch=="function"&&(i.callback=function(){Su(e,n),typeof l!="function"&&(yr===null?yr=new Set([this]):yr.add(this));var g=n.stack;this.componentDidCatch(n.value,{componentStack:g!==null?g:""})}),i}function xp(e,n,i){var l=e.pingCache;if(l===null){l=e.pingCache=new Lv;var c=new Set;l.set(n,c)}else c=l.get(n),c===void 0&&(c=new Set,l.set(n,c));c.has(i)||(c.add(i),e=qv.bind(null,e,n,i),n.then(e,e))}function Sp(e){do{var n;if((n=e.tag===13)&&(n=e.memoizedState,n=n!==null?n.dehydrated!==null:!0),n)return e;e=e.return}while(e!==null);return null}function Cp(e,n,i,l,c){return e.mode&1?(e.flags|=65536,e.lanes=c,e):(e===n?e.flags|=65536:(e.flags|=128,i.flags|=131072,i.flags&=-52805,i.tag===1&&(i.alternate===null?i.tag=17:(n=Xn(-1,1),n.tag=2,hr(i,n,1))),i.lanes|=1),e)}var jv=$.ReactCurrentOwner,Ht=!1;function Ft(e,n,i,l){n.child=e===null?Df(n,null,i,l):vo(n,e.child,i,l)}function wp(e,n,i,l,c){i=i.render;var f=n.ref;return So(n,c),l=du(e,n,i,l,f,c),i=fu(),e!==null&&!Ht?(n.updateQueue=e.updateQueue,n.flags&=-2053,e.lanes&=~c,Jn(e,n,c)):(ot&&i&&Qa(n),n.flags|=1,Ft(e,n,l,c),n.child)}function bp(e,n,i,l,c){if(e===null){var f=i.type;return typeof f=="function"&&!Wu(f)&&f.defaultProps===void 0&&i.compare===null&&i.defaultProps===void 0?(n.tag=15,n.type=f,kp(e,n,f,l,c)):(e=dl(i.type,null,l,n,n.mode,c),e.ref=n.ref,e.return=n,n.child=e)}if(f=e.child,!(e.lanes&c)){var g=f.memoizedProps;if(i=i.compare,i=i!==null?i:ci,i(g,l)&&e.ref===n.ref)return Jn(e,n,c)}return n.flags|=1,e=Cr(f,l),e.ref=n.ref,e.return=n,n.child=e}function kp(e,n,i,l,c){if(e!==null){var f=e.memoizedProps;if(ci(f,l)&&e.ref===n.ref)if(Ht=!1,n.pendingProps=l=f,(e.lanes&c)!==0)e.flags&131072&&(Ht=!0);else return n.lanes=e.lanes,Jn(e,n,c)}return Cu(e,n,i,l,c)}function Ep(e,n,i){var l=n.pendingProps,c=l.children,f=e!==null?e.memoizedState:null;if(l.mode==="hidden")if(!(n.mode&1))n.memoizedState={baseLanes:0,cachePool:null,transitions:null},et(ko,Jt),Jt|=i;else{if(!(i&1073741824))return e=f!==null?f.baseLanes|i:i,n.lanes=n.childLanes=1073741824,n.memoizedState={baseLanes:e,cachePool:null,transitions:null},n.updateQueue=null,et(ko,Jt),Jt|=e,null;n.memoizedState={baseLanes:0,cachePool:null,transitions:null},l=f!==null?f.baseLanes:i,et(ko,Jt),Jt|=l}else f!==null?(l=f.baseLanes|i,n.memoizedState=null):l=i,et(ko,Jt),Jt|=l;return Ft(e,n,c,i),n.child}function Rp(e,n){var i=n.ref;(e===null&&i!==null||e!==null&&e.ref!==i)&&(n.flags|=512,n.flags|=2097152)}function Cu(e,n,i,l,c){var f=Ut(i)?Ar:At.current;return f=mo(n,f),So(n,c),i=du(e,n,i,l,f,c),l=fu(),e!==null&&!Ht?(n.updateQueue=e.updateQueue,n.flags&=-2053,e.lanes&=~c,Jn(e,n,c)):(ot&&l&&Qa(n),n.flags|=1,Ft(e,n,i,c),n.child)}function Tp(e,n,i,l,c){if(Ut(i)){var f=!0;js(n)}else f=!1;if(So(n,c),n.stateNode===null)el(e,n),hp(n,i,l),vu(n,i,l,c),l=!0;else if(e===null){var g=n.stateNode,R=n.memoizedProps;g.props=R;var I=g.context,z=i.contextType;typeof z=="object"&&z!==null?z=an(z):(z=Ut(i)?Ar:At.current,z=mo(n,z));var Y=i.getDerivedStateFromProps,X=typeof Y=="function"||typeof g.getSnapshotBeforeUpdate=="function";X||typeof g.UNSAFE_componentWillReceiveProps!="function"&&typeof g.componentWillReceiveProps!="function"||(R!==l||I!==z)&&gp(n,g,l,z),mr=!1;var q=n.memoizedState;g.state=q,Vs(n,l,g,c),I=n.memoizedState,R!==l||q!==I||Wt.current||mr?(typeof Y=="function"&&(yu(n,i,Y,l),I=n.memoizedState),(R=mr||mp(n,i,R,l,q,I,z))?(X||typeof g.UNSAFE_componentWillMount!="function"&&typeof g.componentWillMount!="function"||(typeof g.componentWillMount=="function"&&g.componentWillMount(),typeof g.UNSAFE_componentWillMount=="function"&&g.UNSAFE_componentWillMount()),typeof g.componentDidMount=="function"&&(n.flags|=4194308)):(typeof g.componentDidMount=="function"&&(n.flags|=4194308),n.memoizedProps=l,n.memoizedState=I),g.props=l,g.state=I,g.context=z,l=R):(typeof g.componentDidMount=="function"&&(n.flags|=4194308),l=!1)}else{g=n.stateNode,Uf(e,n),R=n.memoizedProps,z=n.type===n.elementType?R:wn(n.type,R),g.props=z,X=n.pendingProps,q=g.context,I=i.contextType,typeof I=="object"&&I!==null?I=an(I):(I=Ut(i)?Ar:At.current,I=mo(n,I));var se=i.getDerivedStateFromProps;(Y=typeof se=="function"||typeof g.getSnapshotBeforeUpdate=="function")||typeof g.UNSAFE_componentWillReceiveProps!="function"&&typeof g.componentWillReceiveProps!="function"||(R!==X||q!==I)&&gp(n,g,l,I),mr=!1,q=n.memoizedState,g.state=q,Vs(n,l,g,c);var ue=n.memoizedState;R!==X||q!==ue||Wt.current||mr?(typeof se=="function"&&(yu(n,i,se,l),ue=n.memoizedState),(z=mr||mp(n,i,z,l,q,ue,I)||!1)?(Y||typeof g.UNSAFE_componentWillUpdate!="function"&&typeof g.componentWillUpdate!="function"||(typeof g.componentWillUpdate=="function"&&g.componentWillUpdate(l,ue,I),typeof g.UNSAFE_componentWillUpdate=="function"&&g.UNSAFE_componentWillUpdate(l,ue,I)),typeof g.componentDidUpdate=="function"&&(n.flags|=4),typeof g.getSnapshotBeforeUpdate=="function"&&(n.flags|=1024)):(typeof g.componentDidUpdate!="function"||R===e.memoizedProps&&q===e.memoizedState||(n.flags|=4),typeof g.getSnapshotBeforeUpdate!="function"||R===e.memoizedProps&&q===e.memoizedState||(n.flags|=1024),n.memoizedProps=l,n.memoizedState=ue),g.props=l,g.state=ue,g.context=I,l=z):(typeof g.componentDidUpdate!="function"||R===e.memoizedProps&&q===e.memoizedState||(n.flags|=4),typeof g.getSnapshotBeforeUpdate!="function"||R===e.memoizedProps&&q===e.memoizedState||(n.flags|=1024),l=!1)}return wu(e,n,i,l,f,c)}function wu(e,n,i,l,c,f){Rp(e,n);var g=(n.flags&128)!==0;if(!l&&!g)return c&&Of(n,i,!1),Jn(e,n,f);l=n.stateNode,jv.current=n;var R=g&&typeof i.getDerivedStateFromError!="function"?null:l.render();return n.flags|=1,e!==null&&g?(n.child=vo(n,e.child,null,f),n.child=vo(n,null,R,f)):Ft(e,n,R,f),n.memoizedState=l.state,c&&Of(n,i,!0),n.child}function Pp(e){var n=e.stateNode;n.pendingContext?If(e,n.pendingContext,n.pendingContext!==n.context):n.context&&If(e,n.context,!1),iu(e,n.containerInfo)}function $p(e,n,i,l,c){return yo(),Ja(c),n.flags|=256,Ft(e,n,i,l),n.child}var bu={dehydrated:null,treeContext:null,retryLane:0};function ku(e){return{baseLanes:e,cachePool:null,transitions:null}}function Ip(e,n,i){var l=n.pendingProps,c=lt.current,f=!1,g=(n.flags&128)!==0,R;if((R=g)||(R=e!==null&&e.memoizedState===null?!1:(c&2)!==0),R?(f=!0,n.flags&=-129):(e===null||e.memoizedState!==null)&&(c|=1),et(lt,c&1),e===null)return Xa(n),e=n.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(n.mode&1?e.data==="$!"?n.lanes=8:n.lanes=1073741824:n.lanes=1,null):(g=l.children,e=l.fallback,f?(l=n.mode,f=n.child,g={mode:"hidden",children:g},!(l&1)&&f!==null?(f.childLanes=0,f.pendingProps=g):f=fl(g,l,0,null),e=Hr(e,l,i,null),f.return=n,e.return=n,f.sibling=e,n.child=f,n.child.memoizedState=ku(i),n.memoizedState=bu,e):Eu(n,g));if(c=e.memoizedState,c!==null&&(R=c.dehydrated,R!==null))return _v(e,n,g,l,R,c,i);if(f){f=l.fallback,g=n.mode,c=e.child,R=c.sibling;var I={mode:"hidden",children:l.children};return!(g&1)&&n.child!==c?(l=n.child,l.childLanes=0,l.pendingProps=I,n.deletions=null):(l=Cr(c,I),l.subtreeFlags=c.subtreeFlags&14680064),R!==null?f=Cr(R,f):(f=Hr(f,g,i,null),f.flags|=2),f.return=n,l.return=n,l.sibling=f,n.child=l,l=f,f=n.child,g=e.child.memoizedState,g=g===null?ku(i):{baseLanes:g.baseLanes|i,cachePool:null,transitions:g.transitions},f.memoizedState=g,f.childLanes=e.childLanes&~i,n.memoizedState=bu,l}return f=e.child,e=f.sibling,l=Cr(f,{mode:"visible",children:l.children}),!(n.mode&1)&&(l.lanes=i),l.return=n,l.sibling=null,e!==null&&(i=n.deletions,i===null?(n.deletions=[e],n.flags|=16):i.push(e)),n.child=l,n.memoizedState=null,l}function Eu(e,n){return n=fl({mode:"visible",children:n},e.mode,0,null),n.return=e,e.child=n}function Zs(e,n,i,l){return l!==null&&Ja(l),vo(n,e.child,null,i),e=Eu(n,n.pendingProps.children),e.flags|=2,n.memoizedState=null,e}function _v(e,n,i,l,c,f,g){if(i)return n.flags&256?(n.flags&=-257,l=xu(Error(o(422))),Zs(e,n,g,l)):n.memoizedState!==null?(n.child=e.child,n.flags|=128,null):(f=l.fallback,c=n.mode,l=fl({mode:"visible",children:l.children},c,0,null),f=Hr(f,c,g,null),f.flags|=2,l.return=n,f.return=n,l.sibling=f,n.child=l,n.mode&1&&vo(n,e.child,null,g),n.child.memoizedState=ku(g),n.memoizedState=bu,f);if(!(n.mode&1))return Zs(e,n,g,null);if(c.data==="$!"){if(l=c.nextSibling&&c.nextSibling.dataset,l)var R=l.dgst;return l=R,f=Error(o(419)),l=xu(f,l,void 0),Zs(e,n,g,l)}if(R=(g&e.childLanes)!==0,Ht||R){if(l=Tt,l!==null){switch(g&-g){case 4:c=2;break;case 16:c=8;break;case 64: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:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:c=32;break;case 536870912:c=268435456;break;default:c=0}c=c&(l.suspendedLanes|g)?0:c,c!==0&&c!==f.retryLane&&(f.retryLane=c,Yn(e,c),En(l,e,c,-1))}return Du(),l=xu(Error(o(421))),Zs(e,n,g,l)}return c.data==="$?"?(n.flags|=128,n.child=e.child,n=Yv.bind(null,e),c._reactRetry=n,null):(e=f.treeContext,Xt=cr(c.nextSibling),Yt=n,ot=!0,Cn=null,e!==null&&(sn[ln++]=Qn,sn[ln++]=qn,sn[ln++]=Lr,Qn=e.id,qn=e.overflow,Lr=n),n=Eu(n,l.children),n.flags|=4096,n)}function Mp(e,n,i){e.lanes|=n;var l=e.alternate;l!==null&&(l.lanes|=n),nu(e.return,n,i)}function Ru(e,n,i,l,c){var f=e.memoizedState;f===null?e.memoizedState={isBackwards:n,rendering:null,renderingStartTime:0,last:l,tail:i,tailMode:c}:(f.isBackwards=n,f.rendering=null,f.renderingStartTime=0,f.last=l,f.tail=i,f.tailMode=c)}function Op(e,n,i){var l=n.pendingProps,c=l.revealOrder,f=l.tail;if(Ft(e,n,l.children,i),l=lt.current,l&2)l=l&1|2,n.flags|=128;else{if(e!==null&&e.flags&128)e:for(e=n.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Mp(e,i,n);else if(e.tag===19)Mp(e,i,n);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===n)break e;for(;e.sibling===null;){if(e.return===null||e.return===n)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}l&=1}if(et(lt,l),!(n.mode&1))n.memoizedState=null;else switch(c){case"forwards":for(i=n.child,c=null;i!==null;)e=i.alternate,e!==null&&Ks(e)===null&&(c=i),i=i.sibling;i=c,i===null?(c=n.child,n.child=null):(c=i.sibling,i.sibling=null),Ru(n,!1,c,i,f);break;case"backwards":for(i=null,c=n.child,n.child=null;c!==null;){if(e=c.alternate,e!==null&&Ks(e)===null){n.child=c;break}e=c.sibling,c.sibling=i,i=c,c=e}Ru(n,!0,i,null,f);break;case"together":Ru(n,!1,null,null,void 0);break;default:n.memoizedState=null}return n.child}function el(e,n){!(n.mode&1)&&e!==null&&(e.alternate=null,n.alternate=null,n.flags|=2)}function Jn(e,n,i){if(e!==null&&(n.dependencies=e.dependencies),Fr|=n.lanes,!(i&n.childLanes))return null;if(e!==null&&n.child!==e.child)throw Error(o(153));if(n.child!==null){for(e=n.child,i=Cr(e,e.pendingProps),n.child=i,i.return=n;e.sibling!==null;)e=e.sibling,i=i.sibling=Cr(e,e.pendingProps),i.return=n;i.sibling=null}return n.child}function zv(e,n,i){switch(n.tag){case 3:Pp(n),yo();break;case 5:Kf(n);break;case 1:Ut(n.type)&&js(n);break;case 4:iu(n,n.stateNode.containerInfo);break;case 10:var l=n.type._context,c=n.memoizedProps.value;et(Ws,l._currentValue),l._currentValue=c;break;case 13:if(l=n.memoizedState,l!==null)return l.dehydrated!==null?(et(lt,lt.current&1),n.flags|=128,null):i&n.child.childLanes?Ip(e,n,i):(et(lt,lt.current&1),e=Jn(e,n,i),e!==null?e.sibling:null);et(lt,lt.current&1);break;case 19:if(l=(i&n.childLanes)!==0,e.flags&128){if(l)return Op(e,n,i);n.flags|=128}if(c=n.memoizedState,c!==null&&(c.rendering=null,c.tail=null,c.lastEffect=null),et(lt,lt.current),l)break;return null;case 22:case 23:return n.lanes=0,Ep(e,n,i)}return Jn(e,n,i)}var Np,Tu,Ap,Lp;Np=function(e,n){for(var i=n.child;i!==null;){if(i.tag===5||i.tag===6)e.appendChild(i.stateNode);else if(i.tag!==4&&i.child!==null){i.child.return=i,i=i.child;continue}if(i===n)break;for(;i.sibling===null;){if(i.return===null||i.return===n)return;i=i.return}i.sibling.return=i.return,i=i.sibling}},Tu=function(){},Ap=function(e,n,i,l){var c=e.memoizedProps;if(c!==l){e=n.stateNode,zr(On.current);var f=null;switch(i){case"input":c=Re(e,c),l=Re(e,l),f=[];break;case"select":c=ne({},c,{value:void 0}),l=ne({},l,{value:void 0}),f=[];break;case"textarea":c=me(e,c),l=me(e,l),f=[];break;default:typeof c.onClick!="function"&&typeof l.onClick=="function"&&(e.onclick=Ns)}We(i,l);var g;i=null;for(z in c)if(!l.hasOwnProperty(z)&&c.hasOwnProperty(z)&&c[z]!=null)if(z==="style"){var R=c[z];for(g in R)R.hasOwnProperty(g)&&(i||(i={}),i[g]="")}else z!=="dangerouslySetInnerHTML"&&z!=="children"&&z!=="suppressContentEditableWarning"&&z!=="suppressHydrationWarning"&&z!=="autoFocus"&&(a.hasOwnProperty(z)?f||(f=[]):(f=f||[]).push(z,null));for(z in l){var I=l[z];if(R=c!=null?c[z]:void 0,l.hasOwnProperty(z)&&I!==R&&(I!=null||R!=null))if(z==="style")if(R){for(g in R)!R.hasOwnProperty(g)||I&&I.hasOwnProperty(g)||(i||(i={}),i[g]="");for(g in I)I.hasOwnProperty(g)&&R[g]!==I[g]&&(i||(i={}),i[g]=I[g])}else i||(f||(f=[]),f.push(z,i)),i=I;else z==="dangerouslySetInnerHTML"?(I=I?I.__html:void 0,R=R?R.__html:void 0,I!=null&&R!==I&&(f=f||[]).push(z,I)):z==="children"?typeof I!="string"&&typeof I!="number"||(f=f||[]).push(z,""+I):z!=="suppressContentEditableWarning"&&z!=="suppressHydrationWarning"&&(a.hasOwnProperty(z)?(I!=null&&z==="onScroll"&&tt("scroll",e),f||R===I||(f=[])):(f=f||[]).push(z,I))}i&&(f=f||[]).push("style",i);var z=f;(n.updateQueue=z)&&(n.flags|=4)}},Lp=function(e,n,i,l){i!==l&&(n.flags|=4)};function Ei(e,n){if(!ot)switch(e.tailMode){case"hidden":n=e.tail;for(var i=null;n!==null;)n.alternate!==null&&(i=n),n=n.sibling;i===null?e.tail=null:i.sibling=null;break;case"collapsed":i=e.tail;for(var l=null;i!==null;)i.alternate!==null&&(l=i),i=i.sibling;l===null?n||e.tail===null?e.tail=null:e.tail.sibling=null:l.sibling=null}}function jt(e){var n=e.alternate!==null&&e.alternate.child===e.child,i=0,l=0;if(n)for(var c=e.child;c!==null;)i|=c.lanes|c.childLanes,l|=c.subtreeFlags&14680064,l|=c.flags&14680064,c.return=e,c=c.sibling;else for(c=e.child;c!==null;)i|=c.lanes|c.childLanes,l|=c.subtreeFlags,l|=c.flags,c.return=e,c=c.sibling;return e.subtreeFlags|=l,e.childLanes=i,n}function Bv(e,n,i){var l=n.pendingProps;switch(qa(n),n.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return jt(n),null;case 1:return Ut(n.type)&&Ls(),jt(n),null;case 3:return l=n.stateNode,Co(),nt(Wt),nt(At),au(),l.pendingContext&&(l.context=l.pendingContext,l.pendingContext=null),(e===null||e.child===null)&&(Fs(n)?n.flags|=4:e===null||e.memoizedState.isDehydrated&&!(n.flags&256)||(n.flags|=1024,Cn!==null&&(zu(Cn),Cn=null))),Tu(e,n),jt(n),null;case 5:su(n);var c=zr(Si.current);if(i=n.type,e!==null&&n.stateNode!=null)Ap(e,n,i,l,c),e.ref!==n.ref&&(n.flags|=512,n.flags|=2097152);else{if(!l){if(n.stateNode===null)throw Error(o(166));return jt(n),null}if(e=zr(On.current),Fs(n)){l=n.stateNode,i=n.type;var f=n.memoizedProps;switch(l[Mn]=n,l[hi]=f,e=(n.mode&1)!==0,i){case"dialog":tt("cancel",l),tt("close",l);break;case"iframe":case"object":case"embed":tt("load",l);break;case"video":case"audio":for(c=0;c<fi.length;c++)tt(fi[c],l);break;case"source":tt("error",l);break;case"img":case"image":case"link":tt("error",l),tt("load",l);break;case"details":tt("toggle",l);break;case"input":De(l,f),tt("invalid",l);break;case"select":l._wrapperState={wasMultiple:!!f.multiple},tt("invalid",l);break;case"textarea":nn(l,f),tt("invalid",l)}We(i,f),c=null;for(var g in f)if(f.hasOwnProperty(g)){var R=f[g];g==="children"?typeof R=="string"?l.textContent!==R&&(f.suppressHydrationWarning!==!0&&Os(l.textContent,R,e),c=["children",R]):typeof R=="number"&&l.textContent!==""+R&&(f.suppressHydrationWarning!==!0&&Os(l.textContent,R,e),c=["children",""+R]):a.hasOwnProperty(g)&&R!=null&&g==="onScroll"&&tt("scroll",l)}switch(i){case"input":Ae(l),Le(l,f,!0);break;case"textarea":Ae(l),rn(l);break;case"select":case"option":break;default:typeof f.onClick=="function"&&(l.onclick=Ns)}l=c,n.updateQueue=l,l!==null&&(n.flags|=4)}else{g=c.nodeType===9?c:c.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=vn(i)),e==="http://www.w3.org/1999/xhtml"?i==="script"?(e=g.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof l.is=="string"?e=g.createElement(i,{is:l.is}):(e=g.createElement(i),i==="select"&&(g=e,l.multiple?g.multiple=!0:l.size&&(g.size=l.size))):e=g.createElementNS(e,i),e[Mn]=n,e[hi]=l,Np(e,n,!1,!1),n.stateNode=e;e:{switch(g=ft(i,l),i){case"dialog":tt("cancel",e),tt("close",e),c=l;break;case"iframe":case"object":case"embed":tt("load",e),c=l;break;case"video":case"audio":for(c=0;c<fi.length;c++)tt(fi[c],e);c=l;break;case"source":tt("error",e),c=l;break;case"img":case"image":case"link":tt("error",e),tt("load",e),c=l;break;case"details":tt("toggle",e),c=l;break;case"input":De(e,l),c=Re(e,l),tt("invalid",e);break;case"option":c=l;break;case"select":e._wrapperState={wasMultiple:!!l.multiple},c=ne({},l,{value:void 0}),tt("invalid",e);break;case"textarea":nn(e,l),c=me(e,l),tt("invalid",e);break;default:c=l}We(i,c),R=c;for(f in R)if(R.hasOwnProperty(f)){var I=R[f];f==="style"?Qo(e,I):f==="dangerouslySetInnerHTML"?(I=I?I.__html:void 0,I!=null&&rt(e,I)):f==="children"?typeof I=="string"?(i!=="textarea"||I!=="")&&Qe(e,I):typeof I=="number"&&Qe(e,""+I):f!=="suppressContentEditableWarning"&&f!=="suppressHydrationWarning"&&f!=="autoFocus"&&(a.hasOwnProperty(f)?I!=null&&f==="onScroll"&&tt("scroll",e):I!=null&&P(e,f,I,g))}switch(i){case"input":Ae(e),Le(e,l,!1);break;case"textarea":Ae(e),rn(e);break;case"option":l.value!=null&&e.setAttribute("value",""+Ee(l.value));break;case"select":e.multiple=!!l.multiple,f=l.value,f!=null?Ve(e,!!l.multiple,f,!1):l.defaultValue!=null&&Ve(e,!!l.multiple,l.defaultValue,!0);break;default:typeof c.onClick=="function"&&(e.onclick=Ns)}switch(i){case"button":case"input":case"select":case"textarea":l=!!l.autoFocus;break e;case"img":l=!0;break e;default:l=!1}}l&&(n.flags|=4)}n.ref!==null&&(n.flags|=512,n.flags|=2097152)}return jt(n),null;case 6:if(e&&n.stateNode!=null)Lp(e,n,e.memoizedProps,l);else{if(typeof l!="string"&&n.stateNode===null)throw Error(o(166));if(i=zr(Si.current),zr(On.current),Fs(n)){if(l=n.stateNode,i=n.memoizedProps,l[Mn]=n,(f=l.nodeValue!==i)&&(e=Yt,e!==null))switch(e.tag){case 3:Os(l.nodeValue,i,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&Os(l.nodeValue,i,(e.mode&1)!==0)}f&&(n.flags|=4)}else l=(i.nodeType===9?i:i.ownerDocument).createTextNode(l),l[Mn]=n,n.stateNode=l}return jt(n),null;case 13:if(nt(lt),l=n.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(ot&&Xt!==null&&n.mode&1&&!(n.flags&128))zf(),yo(),n.flags|=98560,f=!1;else if(f=Fs(n),l!==null&&l.dehydrated!==null){if(e===null){if(!f)throw Error(o(318));if(f=n.memoizedState,f=f!==null?f.dehydrated:null,!f)throw Error(o(317));f[Mn]=n}else yo(),!(n.flags&128)&&(n.memoizedState=null),n.flags|=4;jt(n),f=!1}else Cn!==null&&(zu(Cn),Cn=null),f=!0;if(!f)return n.flags&65536?n:null}return n.flags&128?(n.lanes=i,n):(l=l!==null,l!==(e!==null&&e.memoizedState!==null)&&l&&(n.child.flags|=8192,n.mode&1&&(e===null||lt.current&1?kt===0&&(kt=3):Du())),n.updateQueue!==null&&(n.flags|=4),jt(n),null);case 4:return Co(),Tu(e,n),e===null&&pi(n.stateNode.containerInfo),jt(n),null;case 10:return tu(n.type._context),jt(n),null;case 17:return Ut(n.type)&&Ls(),jt(n),null;case 19:if(nt(lt),f=n.memoizedState,f===null)return jt(n),null;if(l=(n.flags&128)!==0,g=f.rendering,g===null)if(l)Ei(f,!1);else{if(kt!==0||e!==null&&e.flags&128)for(e=n.child;e!==null;){if(g=Ks(e),g!==null){for(n.flags|=128,Ei(f,!1),l=g.updateQueue,l!==null&&(n.updateQueue=l,n.flags|=4),n.subtreeFlags=0,l=i,i=n.child;i!==null;)f=i,e=l,f.flags&=14680066,g=f.alternate,g===null?(f.childLanes=0,f.lanes=e,f.child=null,f.subtreeFlags=0,f.memoizedProps=null,f.memoizedState=null,f.updateQueue=null,f.dependencies=null,f.stateNode=null):(f.childLanes=g.childLanes,f.lanes=g.lanes,f.child=g.child,f.subtreeFlags=0,f.deletions=null,f.memoizedProps=g.memoizedProps,f.memoizedState=g.memoizedState,f.updateQueue=g.updateQueue,f.type=g.type,e=g.dependencies,f.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),i=i.sibling;return et(lt,lt.current&1|2),n.child}e=e.sibling}f.tail!==null&&pt()>Eo&&(n.flags|=128,l=!0,Ei(f,!1),n.lanes=4194304)}else{if(!l)if(e=Ks(g),e!==null){if(n.flags|=128,l=!0,i=e.updateQueue,i!==null&&(n.updateQueue=i,n.flags|=4),Ei(f,!0),f.tail===null&&f.tailMode==="hidden"&&!g.alternate&&!ot)return jt(n),null}else 2*pt()-f.renderingStartTime>Eo&&i!==1073741824&&(n.flags|=128,l=!0,Ei(f,!1),n.lanes=4194304);f.isBackwards?(g.sibling=n.child,n.child=g):(i=f.last,i!==null?i.sibling=g:n.child=g,f.last=g)}return f.tail!==null?(n=f.tail,f.rendering=n,f.tail=n.sibling,f.renderingStartTime=pt(),n.sibling=null,i=lt.current,et(lt,l?i&1|2:i&1),n):(jt(n),null);case 22:case 23:return Fu(),l=n.memoizedState!==null,e!==null&&e.memoizedState!==null!==l&&(n.flags|=8192),l&&n.mode&1?Jt&1073741824&&(jt(n),n.subtreeFlags&6&&(n.flags|=8192)):jt(n),null;case 24:return null;case 25:return null}throw Error(o(156,n.tag))}function Fv(e,n){switch(qa(n),n.tag){case 1:return Ut(n.type)&&Ls(),e=n.flags,e&65536?(n.flags=e&-65537|128,n):null;case 3:return Co(),nt(Wt),nt(At),au(),e=n.flags,e&65536&&!(e&128)?(n.flags=e&-65537|128,n):null;case 5:return su(n),null;case 13:if(nt(lt),e=n.memoizedState,e!==null&&e.dehydrated!==null){if(n.alternate===null)throw Error(o(340));yo()}return e=n.flags,e&65536?(n.flags=e&-65537|128,n):null;case 19:return nt(lt),null;case 4:return Co(),null;case 10:return tu(n.type._context),null;case 22:case 23:return Fu(),null;case 24:return null;default:return null}}var tl=!1,_t=!1,Dv=typeof WeakSet=="function"?WeakSet:Set,ae=null;function bo(e,n){var i=e.ref;if(i!==null)if(typeof i=="function")try{i(null)}catch(l){ut(e,n,l)}else i.current=null}function Pu(e,n,i){try{i()}catch(l){ut(e,n,l)}}var jp=!1;function Wv(e,n){if(Fa=Cs,e=mf(),Oa(e)){if("selectionStart"in e)var i={start:e.selectionStart,end:e.selectionEnd};else e:{i=(i=e.ownerDocument)&&i.defaultView||window;var l=i.getSelection&&i.getSelection();if(l&&l.rangeCount!==0){i=l.anchorNode;var c=l.anchorOffset,f=l.focusNode;l=l.focusOffset;try{i.nodeType,f.nodeType}catch{i=null;break e}var g=0,R=-1,I=-1,z=0,Y=0,X=e,q=null;t:for(;;){for(var se;X!==i||c!==0&&X.nodeType!==3||(R=g+c),X!==f||l!==0&&X.nodeType!==3||(I=g+l),X.nodeType===3&&(g+=X.nodeValue.length),(se=X.firstChild)!==null;)q=X,X=se;for(;;){if(X===e)break t;if(q===i&&++z===c&&(R=g),q===f&&++Y===l&&(I=g),(se=X.nextSibling)!==null)break;X=q,q=X.parentNode}X=se}i=R===-1||I===-1?null:{start:R,end:I}}else i=null}i=i||{start:0,end:0}}else i=null;for(Da={focusedElem:e,selectionRange:i},Cs=!1,ae=n;ae!==null;)if(n=ae,e=n.child,(n.subtreeFlags&1028)!==0&&e!==null)e.return=n,ae=e;else for(;ae!==null;){n=ae;try{var ue=n.alternate;if(n.flags&1024)switch(n.tag){case 0:case 11:case 15:break;case 1:if(ue!==null){var fe=ue.memoizedProps,mt=ue.memoizedState,L=n.stateNode,A=L.getSnapshotBeforeUpdate(n.elementType===n.type?fe:wn(n.type,fe),mt);L.__reactInternalSnapshotBeforeUpdate=A}break;case 3:var _=n.stateNode.containerInfo;_.nodeType===1?_.textContent="":_.nodeType===9&&_.documentElement&&_.removeChild(_.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(o(163))}}catch(te){ut(n,n.return,te)}if(e=n.sibling,e!==null){e.return=n.return,ae=e;break}ae=n.return}return ue=jp,jp=!1,ue}function Ri(e,n,i){var l=n.updateQueue;if(l=l!==null?l.lastEffect:null,l!==null){var c=l=l.next;do{if((c.tag&e)===e){var f=c.destroy;c.destroy=void 0,f!==void 0&&Pu(n,i,f)}c=c.next}while(c!==l)}}function nl(e,n){if(n=n.updateQueue,n=n!==null?n.lastEffect:null,n!==null){var i=n=n.next;do{if((i.tag&e)===e){var l=i.create;i.destroy=l()}i=i.next}while(i!==n)}}function $u(e){var n=e.ref;if(n!==null){var i=e.stateNode;switch(e.tag){case 5:e=i;break;default:e=i}typeof n=="function"?n(e):n.current=e}}function _p(e){var n=e.alternate;n!==null&&(e.alternate=null,_p(n)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(n=e.stateNode,n!==null&&(delete n[Mn],delete n[hi],delete n[Va],delete n[kv],delete n[Ev])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function zp(e){return e.tag===5||e.tag===3||e.tag===4}function Bp(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||zp(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.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 Iu(e,n,i){var l=e.tag;if(l===5||l===6)e=e.stateNode,n?i.nodeType===8?i.parentNode.insertBefore(e,n):i.insertBefore(e,n):(i.nodeType===8?(n=i.parentNode,n.insertBefore(e,i)):(n=i,n.appendChild(e)),i=i._reactRootContainer,i!=null||n.onclick!==null||(n.onclick=Ns));else if(l!==4&&(e=e.child,e!==null))for(Iu(e,n,i),e=e.sibling;e!==null;)Iu(e,n,i),e=e.sibling}function Mu(e,n,i){var l=e.tag;if(l===5||l===6)e=e.stateNode,n?i.insertBefore(e,n):i.appendChild(e);else if(l!==4&&(e=e.child,e!==null))for(Mu(e,n,i),e=e.sibling;e!==null;)Mu(e,n,i),e=e.sibling}var It=null,bn=!1;function gr(e,n,i){for(i=i.child;i!==null;)Fp(e,n,i),i=i.sibling}function Fp(e,n,i){if(In&&typeof In.onCommitFiberUnmount=="function")try{In.onCommitFiberUnmount(hs,i)}catch{}switch(i.tag){case 5:_t||bo(i,n);case 6:var l=It,c=bn;It=null,gr(e,n,i),It=l,bn=c,It!==null&&(bn?(e=It,i=i.stateNode,e.nodeType===8?e.parentNode.removeChild(i):e.removeChild(i)):It.removeChild(i.stateNode));break;case 18:It!==null&&(bn?(e=It,i=i.stateNode,e.nodeType===8?Ha(e.parentNode,i):e.nodeType===1&&Ha(e,i),oi(e)):Ha(It,i.stateNode));break;case 4:l=It,c=bn,It=i.stateNode.containerInfo,bn=!0,gr(e,n,i),It=l,bn=c;break;case 0:case 11:case 14:case 15:if(!_t&&(l=i.updateQueue,l!==null&&(l=l.lastEffect,l!==null))){c=l=l.next;do{var f=c,g=f.destroy;f=f.tag,g!==void 0&&(f&2||f&4)&&Pu(i,n,g),c=c.next}while(c!==l)}gr(e,n,i);break;case 1:if(!_t&&(bo(i,n),l=i.stateNode,typeof l.componentWillUnmount=="function"))try{l.props=i.memoizedProps,l.state=i.memoizedState,l.componentWillUnmount()}catch(R){ut(i,n,R)}gr(e,n,i);break;case 21:gr(e,n,i);break;case 22:i.mode&1?(_t=(l=_t)||i.memoizedState!==null,gr(e,n,i),_t=l):gr(e,n,i);break;default:gr(e,n,i)}}function Dp(e){var n=e.updateQueue;if(n!==null){e.updateQueue=null;var i=e.stateNode;i===null&&(i=e.stateNode=new Dv),n.forEach(function(l){var c=Xv.bind(null,e,l);i.has(l)||(i.add(l),l.then(c,c))})}}function kn(e,n){var i=n.deletions;if(i!==null)for(var l=0;l<i.length;l++){var c=i[l];try{var f=e,g=n,R=g;e:for(;R!==null;){switch(R.tag){case 5:It=R.stateNode,bn=!1;break e;case 3:It=R.stateNode.containerInfo,bn=!0;break e;case 4:It=R.stateNode.containerInfo,bn=!0;break e}R=R.return}if(It===null)throw Error(o(160));Fp(f,g,c),It=null,bn=!1;var I=c.alternate;I!==null&&(I.return=null),c.return=null}catch(z){ut(c,n,z)}}if(n.subtreeFlags&12854)for(n=n.child;n!==null;)Wp(n,e),n=n.sibling}function Wp(e,n){var i=e.alternate,l=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(kn(n,e),An(e),l&4){try{Ri(3,e,e.return),nl(3,e)}catch(fe){ut(e,e.return,fe)}try{Ri(5,e,e.return)}catch(fe){ut(e,e.return,fe)}}break;case 1:kn(n,e),An(e),l&512&&i!==null&&bo(i,i.return);break;case 5:if(kn(n,e),An(e),l&512&&i!==null&&bo(i,i.return),e.flags&32){var c=e.stateNode;try{Qe(c,"")}catch(fe){ut(e,e.return,fe)}}if(l&4&&(c=e.stateNode,c!=null)){var f=e.memoizedProps,g=i!==null?i.memoizedProps:f,R=e.type,I=e.updateQueue;if(e.updateQueue=null,I!==null)try{R==="input"&&f.type==="radio"&&f.name!=null&&wt(c,f),ft(R,g);var z=ft(R,f);for(g=0;g<I.length;g+=2){var Y=I[g],X=I[g+1];Y==="style"?Qo(c,X):Y==="dangerouslySetInnerHTML"?rt(c,X):Y==="children"?Qe(c,X):P(c,Y,X,z)}switch(R){case"input":st(c,f);break;case"textarea":vt(c,f);break;case"select":var q=c._wrapperState.wasMultiple;c._wrapperState.wasMultiple=!!f.multiple;var se=f.value;se!=null?Ve(c,!!f.multiple,se,!1):q!==!!f.multiple&&(f.defaultValue!=null?Ve(c,!!f.multiple,f.defaultValue,!0):Ve(c,!!f.multiple,f.multiple?[]:"",!1))}c[hi]=f}catch(fe){ut(e,e.return,fe)}}break;case 6:if(kn(n,e),An(e),l&4){if(e.stateNode===null)throw Error(o(162));c=e.stateNode,f=e.memoizedProps;try{c.nodeValue=f}catch(fe){ut(e,e.return,fe)}}break;case 3:if(kn(n,e),An(e),l&4&&i!==null&&i.memoizedState.isDehydrated)try{oi(n.containerInfo)}catch(fe){ut(e,e.return,fe)}break;case 4:kn(n,e),An(e);break;case 13:kn(n,e),An(e),c=e.child,c.flags&8192&&(f=c.memoizedState!==null,c.stateNode.isHidden=f,!f||c.alternate!==null&&c.alternate.memoizedState!==null||(Au=pt())),l&4&&Dp(e);break;case 22:if(Y=i!==null&&i.memoizedState!==null,e.mode&1?(_t=(z=_t)||Y,kn(n,e),_t=z):kn(n,e),An(e),l&8192){if(z=e.memoizedState!==null,(e.stateNode.isHidden=z)&&!Y&&e.mode&1)for(ae=e,Y=e.child;Y!==null;){for(X=ae=Y;ae!==null;){switch(q=ae,se=q.child,q.tag){case 0:case 11:case 14:case 15:Ri(4,q,q.return);break;case 1:bo(q,q.return);var ue=q.stateNode;if(typeof ue.componentWillUnmount=="function"){l=q,i=q.return;try{n=l,ue.props=n.memoizedProps,ue.state=n.memoizedState,ue.componentWillUnmount()}catch(fe){ut(l,i,fe)}}break;case 5:bo(q,q.return);break;case 22:if(q.memoizedState!==null){Vp(X);continue}}se!==null?(se.return=q,ae=se):Vp(X)}Y=Y.sibling}e:for(Y=null,X=e;;){if(X.tag===5){if(Y===null){Y=X;try{c=X.stateNode,z?(f=c.style,typeof f.setProperty=="function"?f.setProperty("display","none","important"):f.display="none"):(R=X.stateNode,I=X.memoizedProps.style,g=I!=null&&I.hasOwnProperty("display")?I.display:null,R.style.display=Et("display",g))}catch(fe){ut(e,e.return,fe)}}}else if(X.tag===6){if(Y===null)try{X.stateNode.nodeValue=z?"":X.memoizedProps}catch(fe){ut(e,e.return,fe)}}else if((X.tag!==22&&X.tag!==23||X.memoizedState===null||X===e)&&X.child!==null){X.child.return=X,X=X.child;continue}if(X===e)break e;for(;X.sibling===null;){if(X.return===null||X.return===e)break e;Y===X&&(Y=null),X=X.return}Y===X&&(Y=null),X.sibling.return=X.return,X=X.sibling}}break;case 19:kn(n,e),An(e),l&4&&Dp(e);break;case 21:break;default:kn(n,e),An(e)}}function An(e){var n=e.flags;if(n&2){try{e:{for(var i=e.return;i!==null;){if(zp(i)){var l=i;break e}i=i.return}throw Error(o(160))}switch(l.tag){case 5:var c=l.stateNode;l.flags&32&&(Qe(c,""),l.flags&=-33);var f=Bp(e);Mu(e,f,c);break;case 3:case 4:var g=l.stateNode.containerInfo,R=Bp(e);Iu(e,R,g);break;default:throw Error(o(161))}}catch(I){ut(e,e.return,I)}e.flags&=-3}n&4096&&(e.flags&=-4097)}function Uv(e,n,i){ae=e,Up(e)}function Up(e,n,i){for(var l=(e.mode&1)!==0;ae!==null;){var c=ae,f=c.child;if(c.tag===22&&l){var g=c.memoizedState!==null||tl;if(!g){var R=c.alternate,I=R!==null&&R.memoizedState!==null||_t;R=tl;var z=_t;if(tl=g,(_t=I)&&!z)for(ae=c;ae!==null;)g=ae,I=g.child,g.tag===22&&g.memoizedState!==null?Kp(c):I!==null?(I.return=g,ae=I):Kp(c);for(;f!==null;)ae=f,Up(f),f=f.sibling;ae=c,tl=R,_t=z}Hp(e)}else c.subtreeFlags&8772&&f!==null?(f.return=c,ae=f):Hp(e)}}function Hp(e){for(;ae!==null;){var n=ae;if(n.flags&8772){var i=n.alternate;try{if(n.flags&8772)switch(n.tag){case 0:case 11:case 15:_t||nl(5,n);break;case 1:var l=n.stateNode;if(n.flags&4&&!_t)if(i===null)l.componentDidMount();else{var c=n.elementType===n.type?i.memoizedProps:wn(n.type,i.memoizedProps);l.componentDidUpdate(c,i.memoizedState,l.__reactInternalSnapshotBeforeUpdate)}var f=n.updateQueue;f!==null&&Vf(n,f,l);break;case 3:var g=n.updateQueue;if(g!==null){if(i=null,n.child!==null)switch(n.child.tag){case 5:i=n.child.stateNode;break;case 1:i=n.child.stateNode}Vf(n,g,i)}break;case 5:var R=n.stateNode;if(i===null&&n.flags&4){i=R;var I=n.memoizedProps;switch(n.type){case"button":case"input":case"select":case"textarea":I.autoFocus&&i.focus();break;case"img":I.src&&(i.src=I.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(n.memoizedState===null){var z=n.alternate;if(z!==null){var Y=z.memoizedState;if(Y!==null){var X=Y.dehydrated;X!==null&&oi(X)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(o(163))}_t||n.flags&512&&$u(n)}catch(q){ut(n,n.return,q)}}if(n===e){ae=null;break}if(i=n.sibling,i!==null){i.return=n.return,ae=i;break}ae=n.return}}function Vp(e){for(;ae!==null;){var n=ae;if(n===e){ae=null;break}var i=n.sibling;if(i!==null){i.return=n.return,ae=i;break}ae=n.return}}function Kp(e){for(;ae!==null;){var n=ae;try{switch(n.tag){case 0:case 11:case 15:var i=n.return;try{nl(4,n)}catch(I){ut(n,i,I)}break;case 1:var l=n.stateNode;if(typeof l.componentDidMount=="function"){var c=n.return;try{l.componentDidMount()}catch(I){ut(n,c,I)}}var f=n.return;try{$u(n)}catch(I){ut(n,f,I)}break;case 5:var g=n.return;try{$u(n)}catch(I){ut(n,g,I)}}}catch(I){ut(n,n.return,I)}if(n===e){ae=null;break}var R=n.sibling;if(R!==null){R.return=n.return,ae=R;break}ae=n.return}}var Hv=Math.ceil,rl=$.ReactCurrentDispatcher,Ou=$.ReactCurrentOwner,cn=$.ReactCurrentBatchConfig,je=0,Tt=null,St=null,Mt=0,Jt=0,ko=dr(0),kt=0,Ti=null,Fr=0,ol=0,Nu=0,Pi=null,Vt=null,Au=0,Eo=1/0,Zn=null,il=!1,Lu=null,yr=null,sl=!1,vr=null,ll=0,$i=0,ju=null,al=-1,ul=0;function Dt(){return je&6?pt():al!==-1?al:al=pt()}function xr(e){return e.mode&1?je&2&&Mt!==0?Mt&-Mt:Tv.transition!==null?(ul===0&&(ul=zd()),ul):(e=Ue,e!==0||(e=window.event,e=e===void 0?16:Gd(e.type)),e):1}function En(e,n,i,l){if(50<$i)throw $i=0,ju=null,Error(o(185));Zo(e,i,l),(!(je&2)||e!==Tt)&&(e===Tt&&(!(je&2)&&(ol|=i),kt===4&&Sr(e,Mt)),Kt(e,l),i===1&&je===0&&!(n.mode&1)&&(Eo=pt()+500,_s&&pr()))}function Kt(e,n){var i=e.callbackNode;Ty(e,n);var l=vs(e,e===Tt?Mt:0);if(l===0)i!==null&&Ld(i),e.callbackNode=null,e.callbackPriority=0;else if(n=l&-l,e.callbackPriority!==n){if(i!=null&&Ld(i),n===1)e.tag===0?Rv(Qp.bind(null,e)):Nf(Qp.bind(null,e)),wv(function(){!(je&6)&&pr()}),i=null;else{switch(Bd(l)){case 1:i=ha;break;case 4:i=jd;break;case 16:i=ms;break;case 536870912:i=_d;break;default:i=ms}i=nm(i,Gp.bind(null,e))}e.callbackPriority=n,e.callbackNode=i}}function Gp(e,n){if(al=-1,ul=0,je&6)throw Error(o(327));var i=e.callbackNode;if(Ro()&&e.callbackNode!==i)return null;var l=vs(e,e===Tt?Mt:0);if(l===0)return null;if(l&30||l&e.expiredLanes||n)n=cl(e,l);else{n=l;var c=je;je|=2;var f=Yp();(Tt!==e||Mt!==n)&&(Zn=null,Eo=pt()+500,Wr(e,n));do try{Gv();break}catch(R){qp(e,R)}while(!0);eu(),rl.current=f,je=c,St!==null?n=0:(Tt=null,Mt=0,n=kt)}if(n!==0){if(n===2&&(c=ga(e),c!==0&&(l=c,n=_u(e,c))),n===1)throw i=Ti,Wr(e,0),Sr(e,l),Kt(e,pt()),i;if(n===6)Sr(e,l);else{if(c=e.current.alternate,!(l&30)&&!Vv(c)&&(n=cl(e,l),n===2&&(f=ga(e),f!==0&&(l=f,n=_u(e,f))),n===1))throw i=Ti,Wr(e,0),Sr(e,l),Kt(e,pt()),i;switch(e.finishedWork=c,e.finishedLanes=l,n){case 0:case 1:throw Error(o(345));case 2:Ur(e,Vt,Zn);break;case 3:if(Sr(e,l),(l&130023424)===l&&(n=Au+500-pt(),10<n)){if(vs(e,0)!==0)break;if(c=e.suspendedLanes,(c&l)!==l){Dt(),e.pingedLanes|=e.suspendedLanes&c;break}e.timeoutHandle=Ua(Ur.bind(null,e,Vt,Zn),n);break}Ur(e,Vt,Zn);break;case 4:if(Sr(e,l),(l&4194240)===l)break;for(n=e.eventTimes,c=-1;0<l;){var g=31-xn(l);f=1<<g,g=n[g],g>c&&(c=g),l&=~f}if(l=c,l=pt()-l,l=(120>l?120:480>l?480:1080>l?1080:1920>l?1920:3e3>l?3e3:4320>l?4320:1960*Hv(l/1960))-l,10<l){e.timeoutHandle=Ua(Ur.bind(null,e,Vt,Zn),l);break}Ur(e,Vt,Zn);break;case 5:Ur(e,Vt,Zn);break;default:throw Error(o(329))}}}return Kt(e,pt()),e.callbackNode===i?Gp.bind(null,e):null}function _u(e,n){var i=Pi;return e.current.memoizedState.isDehydrated&&(Wr(e,n).flags|=256),e=cl(e,n),e!==2&&(n=Vt,Vt=i,n!==null&&zu(n)),e}function zu(e){Vt===null?Vt=e:Vt.push.apply(Vt,e)}function Vv(e){for(var n=e;;){if(n.flags&16384){var i=n.updateQueue;if(i!==null&&(i=i.stores,i!==null))for(var l=0;l<i.length;l++){var c=i[l],f=c.getSnapshot;c=c.value;try{if(!Sn(f(),c))return!1}catch{return!1}}}if(i=n.child,n.subtreeFlags&16384&&i!==null)i.return=n,n=i;else{if(n===e)break;for(;n.sibling===null;){if(n.return===null||n.return===e)return!0;n=n.return}n.sibling.return=n.return,n=n.sibling}}return!0}function Sr(e,n){for(n&=~Nu,n&=~ol,e.suspendedLanes|=n,e.pingedLanes&=~n,e=e.expirationTimes;0<n;){var i=31-xn(n),l=1<<i;e[i]=-1,n&=~l}}function Qp(e){if(je&6)throw Error(o(327));Ro();var n=vs(e,0);if(!(n&1))return Kt(e,pt()),null;var i=cl(e,n);if(e.tag!==0&&i===2){var l=ga(e);l!==0&&(n=l,i=_u(e,l))}if(i===1)throw i=Ti,Wr(e,0),Sr(e,n),Kt(e,pt()),i;if(i===6)throw Error(o(345));return e.finishedWork=e.current.alternate,e.finishedLanes=n,Ur(e,Vt,Zn),Kt(e,pt()),null}function Bu(e,n){var i=je;je|=1;try{return e(n)}finally{je=i,je===0&&(Eo=pt()+500,_s&&pr())}}function Dr(e){vr!==null&&vr.tag===0&&!(je&6)&&Ro();var n=je;je|=1;var i=cn.transition,l=Ue;try{if(cn.transition=null,Ue=1,e)return e()}finally{Ue=l,cn.transition=i,je=n,!(je&6)&&pr()}}function Fu(){Jt=ko.current,nt(ko)}function Wr(e,n){e.finishedWork=null,e.finishedLanes=0;var i=e.timeoutHandle;if(i!==-1&&(e.timeoutHandle=-1,Cv(i)),St!==null)for(i=St.return;i!==null;){var l=i;switch(qa(l),l.tag){case 1:l=l.type.childContextTypes,l!=null&&Ls();break;case 3:Co(),nt(Wt),nt(At),au();break;case 5:su(l);break;case 4:Co();break;case 13:nt(lt);break;case 19:nt(lt);break;case 10:tu(l.type._context);break;case 22:case 23:Fu()}i=i.return}if(Tt=e,St=e=Cr(e.current,null),Mt=Jt=n,kt=0,Ti=null,Nu=ol=Fr=0,Vt=Pi=null,_r!==null){for(n=0;n<_r.length;n++)if(i=_r[n],l=i.interleaved,l!==null){i.interleaved=null;var c=l.next,f=i.pending;if(f!==null){var g=f.next;f.next=c,l.next=g}i.pending=l}_r=null}return e}function qp(e,n){do{var i=St;try{if(eu(),Gs.current=Xs,Qs){for(var l=at.memoizedState;l!==null;){var c=l.queue;c!==null&&(c.pending=null),l=l.next}Qs=!1}if(Br=0,Rt=bt=at=null,Ci=!1,wi=0,Ou.current=null,i===null||i.return===null){kt=1,Ti=n,St=null;break}e:{var f=e,g=i.return,R=i,I=n;if(n=Mt,R.flags|=32768,I!==null&&typeof I=="object"&&typeof I.then=="function"){var z=I,Y=R,X=Y.tag;if(!(Y.mode&1)&&(X===0||X===11||X===15)){var q=Y.alternate;q?(Y.updateQueue=q.updateQueue,Y.memoizedState=q.memoizedState,Y.lanes=q.lanes):(Y.updateQueue=null,Y.memoizedState=null)}var se=Sp(g);if(se!==null){se.flags&=-257,Cp(se,g,R,f,n),se.mode&1&&xp(f,z,n),n=se,I=z;var ue=n.updateQueue;if(ue===null){var fe=new Set;fe.add(I),n.updateQueue=fe}else ue.add(I);break e}else{if(!(n&1)){xp(f,z,n),Du();break e}I=Error(o(426))}}else if(ot&&R.mode&1){var mt=Sp(g);if(mt!==null){!(mt.flags&65536)&&(mt.flags|=256),Cp(mt,g,R,f,n),Ja(wo(I,R));break e}}f=I=wo(I,R),kt!==4&&(kt=2),Pi===null?Pi=[f]:Pi.push(f),f=g;do{switch(f.tag){case 3:f.flags|=65536,n&=-n,f.lanes|=n;var L=yp(f,I,n);Hf(f,L);break e;case 1:R=I;var A=f.type,_=f.stateNode;if(!(f.flags&128)&&(typeof A.getDerivedStateFromError=="function"||_!==null&&typeof _.componentDidCatch=="function"&&(yr===null||!yr.has(_)))){f.flags|=65536,n&=-n,f.lanes|=n;var te=vp(f,R,n);Hf(f,te);break e}}f=f.return}while(f!==null)}Jp(i)}catch(pe){n=pe,St===i&&i!==null&&(St=i=i.return);continue}break}while(!0)}function Yp(){var e=rl.current;return rl.current=Xs,e===null?Xs:e}function Du(){(kt===0||kt===3||kt===2)&&(kt=4),Tt===null||!(Fr&268435455)&&!(ol&268435455)||Sr(Tt,Mt)}function cl(e,n){var i=je;je|=2;var l=Yp();(Tt!==e||Mt!==n)&&(Zn=null,Wr(e,n));do try{Kv();break}catch(c){qp(e,c)}while(!0);if(eu(),je=i,rl.current=l,St!==null)throw Error(o(261));return Tt=null,Mt=0,kt}function Kv(){for(;St!==null;)Xp(St)}function Gv(){for(;St!==null&&!vy();)Xp(St)}function Xp(e){var n=tm(e.alternate,e,Jt);e.memoizedProps=e.pendingProps,n===null?Jp(e):St=n,Ou.current=null}function Jp(e){var n=e;do{var i=n.alternate;if(e=n.return,n.flags&32768){if(i=Fv(i,n),i!==null){i.flags&=32767,St=i;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{kt=6,St=null;return}}else if(i=Bv(i,n,Jt),i!==null){St=i;return}if(n=n.sibling,n!==null){St=n;return}St=n=e}while(n!==null);kt===0&&(kt=5)}function Ur(e,n,i){var l=Ue,c=cn.transition;try{cn.transition=null,Ue=1,Qv(e,n,i,l)}finally{cn.transition=c,Ue=l}return null}function Qv(e,n,i,l){do Ro();while(vr!==null);if(je&6)throw Error(o(327));i=e.finishedWork;var c=e.finishedLanes;if(i===null)return null;if(e.finishedWork=null,e.finishedLanes=0,i===e.current)throw Error(o(177));e.callbackNode=null,e.callbackPriority=0;var f=i.lanes|i.childLanes;if(Py(e,f),e===Tt&&(St=Tt=null,Mt=0),!(i.subtreeFlags&2064)&&!(i.flags&2064)||sl||(sl=!0,nm(ms,function(){return Ro(),null})),f=(i.flags&15990)!==0,i.subtreeFlags&15990||f){f=cn.transition,cn.transition=null;var g=Ue;Ue=1;var R=je;je|=4,Ou.current=null,Wv(e,i),Wp(i,e),mv(Da),Cs=!!Fa,Da=Fa=null,e.current=i,Uv(i),xy(),je=R,Ue=g,cn.transition=f}else e.current=i;if(sl&&(sl=!1,vr=e,ll=c),f=e.pendingLanes,f===0&&(yr=null),wy(i.stateNode),Kt(e,pt()),n!==null)for(l=e.onRecoverableError,i=0;i<n.length;i++)c=n[i],l(c.value,{componentStack:c.stack,digest:c.digest});if(il)throw il=!1,e=Lu,Lu=null,e;return ll&1&&e.tag!==0&&Ro(),f=e.pendingLanes,f&1?e===ju?$i++:($i=0,ju=e):$i=0,pr(),null}function Ro(){if(vr!==null){var e=Bd(ll),n=cn.transition,i=Ue;try{if(cn.transition=null,Ue=16>e?16:e,vr===null)var l=!1;else{if(e=vr,vr=null,ll=0,je&6)throw Error(o(331));var c=je;for(je|=4,ae=e.current;ae!==null;){var f=ae,g=f.child;if(ae.flags&16){var R=f.deletions;if(R!==null){for(var I=0;I<R.length;I++){var z=R[I];for(ae=z;ae!==null;){var Y=ae;switch(Y.tag){case 0:case 11:case 15:Ri(8,Y,f)}var X=Y.child;if(X!==null)X.return=Y,ae=X;else for(;ae!==null;){Y=ae;var q=Y.sibling,se=Y.return;if(_p(Y),Y===z){ae=null;break}if(q!==null){q.return=se,ae=q;break}ae=se}}}var ue=f.alternate;if(ue!==null){var fe=ue.child;if(fe!==null){ue.child=null;do{var mt=fe.sibling;fe.sibling=null,fe=mt}while(fe!==null)}}ae=f}}if(f.subtreeFlags&2064&&g!==null)g.return=f,ae=g;else e:for(;ae!==null;){if(f=ae,f.flags&2048)switch(f.tag){case 0:case 11:case 15:Ri(9,f,f.return)}var L=f.sibling;if(L!==null){L.return=f.return,ae=L;break e}ae=f.return}}var A=e.current;for(ae=A;ae!==null;){g=ae;var _=g.child;if(g.subtreeFlags&2064&&_!==null)_.return=g,ae=_;else e:for(g=A;ae!==null;){if(R=ae,R.flags&2048)try{switch(R.tag){case 0:case 11:case 15:nl(9,R)}}catch(pe){ut(R,R.return,pe)}if(R===g){ae=null;break e}var te=R.sibling;if(te!==null){te.return=R.return,ae=te;break e}ae=R.return}}if(je=c,pr(),In&&typeof In.onPostCommitFiberRoot=="function")try{In.onPostCommitFiberRoot(hs,e)}catch{}l=!0}return l}finally{Ue=i,cn.transition=n}}return!1}function Zp(e,n,i){n=wo(i,n),n=yp(e,n,1),e=hr(e,n,1),n=Dt(),e!==null&&(Zo(e,1,n),Kt(e,n))}function ut(e,n,i){if(e.tag===3)Zp(e,e,i);else for(;n!==null;){if(n.tag===3){Zp(n,e,i);break}else if(n.tag===1){var l=n.stateNode;if(typeof n.type.getDerivedStateFromError=="function"||typeof l.componentDidCatch=="function"&&(yr===null||!yr.has(l))){e=wo(i,e),e=vp(n,e,1),n=hr(n,e,1),e=Dt(),n!==null&&(Zo(n,1,e),Kt(n,e));break}}n=n.return}}function qv(e,n,i){var l=e.pingCache;l!==null&&l.delete(n),n=Dt(),e.pingedLanes|=e.suspendedLanes&i,Tt===e&&(Mt&i)===i&&(kt===4||kt===3&&(Mt&130023424)===Mt&&500>pt()-Au?Wr(e,0):Nu|=i),Kt(e,n)}function em(e,n){n===0&&(e.mode&1?(n=ys,ys<<=1,!(ys&130023424)&&(ys=4194304)):n=1);var i=Dt();e=Yn(e,n),e!==null&&(Zo(e,n,i),Kt(e,i))}function Yv(e){var n=e.memoizedState,i=0;n!==null&&(i=n.retryLane),em(e,i)}function Xv(e,n){var i=0;switch(e.tag){case 13:var l=e.stateNode,c=e.memoizedState;c!==null&&(i=c.retryLane);break;case 19:l=e.stateNode;break;default:throw Error(o(314))}l!==null&&l.delete(n),em(e,i)}var tm;tm=function(e,n,i){if(e!==null)if(e.memoizedProps!==n.pendingProps||Wt.current)Ht=!0;else{if(!(e.lanes&i)&&!(n.flags&128))return Ht=!1,zv(e,n,i);Ht=!!(e.flags&131072)}else Ht=!1,ot&&n.flags&1048576&&Af(n,Bs,n.index);switch(n.lanes=0,n.tag){case 2:var l=n.type;el(e,n),e=n.pendingProps;var c=mo(n,At.current);So(n,i),c=du(null,n,l,e,c,i);var f=fu();return n.flags|=1,typeof c=="object"&&c!==null&&typeof c.render=="function"&&c.$$typeof===void 0?(n.tag=1,n.memoizedState=null,n.updateQueue=null,Ut(l)?(f=!0,js(n)):f=!1,n.memoizedState=c.state!==null&&c.state!==void 0?c.state:null,ou(n),c.updater=Js,n.stateNode=c,c._reactInternals=n,vu(n,l,e,i),n=wu(null,n,l,!0,f,i)):(n.tag=0,ot&&f&&Qa(n),Ft(null,n,c,i),n=n.child),n;case 16:l=n.elementType;e:{switch(el(e,n),e=n.pendingProps,c=l._init,l=c(l._payload),n.type=l,c=n.tag=Zv(l),e=wn(l,e),c){case 0:n=Cu(null,n,l,e,i);break e;case 1:n=Tp(null,n,l,e,i);break e;case 11:n=wp(null,n,l,e,i);break e;case 14:n=bp(null,n,l,wn(l.type,e),i);break e}throw Error(o(306,l,""))}return n;case 0:return l=n.type,c=n.pendingProps,c=n.elementType===l?c:wn(l,c),Cu(e,n,l,c,i);case 1:return l=n.type,c=n.pendingProps,c=n.elementType===l?c:wn(l,c),Tp(e,n,l,c,i);case 3:e:{if(Pp(n),e===null)throw Error(o(387));l=n.pendingProps,f=n.memoizedState,c=f.element,Uf(e,n),Vs(n,l,null,i);var g=n.memoizedState;if(l=g.element,f.isDehydrated)if(f={element:l,isDehydrated:!1,cache:g.cache,pendingSuspenseBoundaries:g.pendingSuspenseBoundaries,transitions:g.transitions},n.updateQueue.baseState=f,n.memoizedState=f,n.flags&256){c=wo(Error(o(423)),n),n=$p(e,n,l,i,c);break e}else if(l!==c){c=wo(Error(o(424)),n),n=$p(e,n,l,i,c);break e}else for(Xt=cr(n.stateNode.containerInfo.firstChild),Yt=n,ot=!0,Cn=null,i=Df(n,null,l,i),n.child=i;i;)i.flags=i.flags&-3|4096,i=i.sibling;else{if(yo(),l===c){n=Jn(e,n,i);break e}Ft(e,n,l,i)}n=n.child}return n;case 5:return Kf(n),e===null&&Xa(n),l=n.type,c=n.pendingProps,f=e!==null?e.memoizedProps:null,g=c.children,Wa(l,c)?g=null:f!==null&&Wa(l,f)&&(n.flags|=32),Rp(e,n),Ft(e,n,g,i),n.child;case 6:return e===null&&Xa(n),null;case 13:return Ip(e,n,i);case 4:return iu(n,n.stateNode.containerInfo),l=n.pendingProps,e===null?n.child=vo(n,null,l,i):Ft(e,n,l,i),n.child;case 11:return l=n.type,c=n.pendingProps,c=n.elementType===l?c:wn(l,c),wp(e,n,l,c,i);case 7:return Ft(e,n,n.pendingProps,i),n.child;case 8:return Ft(e,n,n.pendingProps.children,i),n.child;case 12:return Ft(e,n,n.pendingProps.children,i),n.child;case 10:e:{if(l=n.type._context,c=n.pendingProps,f=n.memoizedProps,g=c.value,et(Ws,l._currentValue),l._currentValue=g,f!==null)if(Sn(f.value,g)){if(f.children===c.children&&!Wt.current){n=Jn(e,n,i);break e}}else for(f=n.child,f!==null&&(f.return=n);f!==null;){var R=f.dependencies;if(R!==null){g=f.child;for(var I=R.firstContext;I!==null;){if(I.context===l){if(f.tag===1){I=Xn(-1,i&-i),I.tag=2;var z=f.updateQueue;if(z!==null){z=z.shared;var Y=z.pending;Y===null?I.next=I:(I.next=Y.next,Y.next=I),z.pending=I}}f.lanes|=i,I=f.alternate,I!==null&&(I.lanes|=i),nu(f.return,i,n),R.lanes|=i;break}I=I.next}}else if(f.tag===10)g=f.type===n.type?null:f.child;else if(f.tag===18){if(g=f.return,g===null)throw Error(o(341));g.lanes|=i,R=g.alternate,R!==null&&(R.lanes|=i),nu(g,i,n),g=f.sibling}else g=f.child;if(g!==null)g.return=f;else for(g=f;g!==null;){if(g===n){g=null;break}if(f=g.sibling,f!==null){f.return=g.return,g=f;break}g=g.return}f=g}Ft(e,n,c.children,i),n=n.child}return n;case 9:return c=n.type,l=n.pendingProps.children,So(n,i),c=an(c),l=l(c),n.flags|=1,Ft(e,n,l,i),n.child;case 14:return l=n.type,c=wn(l,n.pendingProps),c=wn(l.type,c),bp(e,n,l,c,i);case 15:return kp(e,n,n.type,n.pendingProps,i);case 17:return l=n.type,c=n.pendingProps,c=n.elementType===l?c:wn(l,c),el(e,n),n.tag=1,Ut(l)?(e=!0,js(n)):e=!1,So(n,i),hp(n,l,c),vu(n,l,c,i),wu(null,n,l,!0,e,i);case 19:return Op(e,n,i);case 22:return Ep(e,n,i)}throw Error(o(156,n.tag))};function nm(e,n){return Ad(e,n)}function Jv(e,n,i,l){this.tag=e,this.key=i,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=n,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=l,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function dn(e,n,i,l){return new Jv(e,n,i,l)}function Wu(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Zv(e){if(typeof e=="function")return Wu(e)?1:0;if(e!=null){if(e=e.$$typeof,e===ee)return 11;if(e===Q)return 14}return 2}function Cr(e,n){var i=e.alternate;return i===null?(i=dn(e.tag,n,e.key,e.mode),i.elementType=e.elementType,i.type=e.type,i.stateNode=e.stateNode,i.alternate=e,e.alternate=i):(i.pendingProps=n,i.type=e.type,i.flags=0,i.subtreeFlags=0,i.deletions=null),i.flags=e.flags&14680064,i.childLanes=e.childLanes,i.lanes=e.lanes,i.child=e.child,i.memoizedProps=e.memoizedProps,i.memoizedState=e.memoizedState,i.updateQueue=e.updateQueue,n=e.dependencies,i.dependencies=n===null?null:{lanes:n.lanes,firstContext:n.firstContext},i.sibling=e.sibling,i.index=e.index,i.ref=e.ref,i}function dl(e,n,i,l,c,f){var g=2;if(l=e,typeof e=="function")Wu(e)&&(g=1);else if(typeof e=="string")g=5;else e:switch(e){case F:return Hr(i.children,c,f,n);case W:g=8,c|=8;break;case V:return e=dn(12,i,n,c|2),e.elementType=V,e.lanes=f,e;case J:return e=dn(13,i,n,c),e.elementType=J,e.lanes=f,e;case re:return e=dn(19,i,n,c),e.elementType=re,e.lanes=f,e;case oe:return fl(i,c,f,n);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case x:g=10;break e;case D:g=9;break e;case ee:g=11;break e;case Q:g=14;break e;case Z:g=16,l=null;break e}throw Error(o(130,e==null?e:typeof e,""))}return n=dn(g,i,n,c),n.elementType=e,n.type=l,n.lanes=f,n}function Hr(e,n,i,l){return e=dn(7,e,l,n),e.lanes=i,e}function fl(e,n,i,l){return e=dn(22,e,l,n),e.elementType=oe,e.lanes=i,e.stateNode={isHidden:!1},e}function Uu(e,n,i){return e=dn(6,e,null,n),e.lanes=i,e}function Hu(e,n,i){return n=dn(4,e.children!==null?e.children:[],e.key,n),n.lanes=i,n.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},n}function e0(e,n,i,l,c){this.tag=n,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=ya(0),this.expirationTimes=ya(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ya(0),this.identifierPrefix=l,this.onRecoverableError=c,this.mutableSourceEagerHydrationData=null}function Vu(e,n,i,l,c,f,g,R,I){return e=new e0(e,n,i,R,I),n===1?(n=1,f===!0&&(n|=8)):n=0,f=dn(3,null,null,n),e.current=f,f.stateNode=e,f.memoizedState={element:l,isDehydrated:i,cache:null,transitions:null,pendingSuspenseBoundaries:null},ou(f),e}function t0(e,n,i){var l=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:B,key:l==null?null:""+l,children:e,containerInfo:n,implementation:i}}function rm(e){if(!e)return fr;e=e._reactInternals;e:{if(Or(e)!==e||e.tag!==1)throw Error(o(170));var n=e;do{switch(n.tag){case 3:n=n.stateNode.context;break e;case 1:if(Ut(n.type)){n=n.stateNode.__reactInternalMemoizedMergedChildContext;break e}}n=n.return}while(n!==null);throw Error(o(171))}if(e.tag===1){var i=e.type;if(Ut(i))return Mf(e,i,n)}return n}function om(e,n,i,l,c,f,g,R,I){return e=Vu(i,l,!0,e,c,f,g,R,I),e.context=rm(null),i=e.current,l=Dt(),c=xr(i),f=Xn(l,c),f.callback=n??null,hr(i,f,c),e.current.lanes=c,Zo(e,c,l),Kt(e,l),e}function pl(e,n,i,l){var c=n.current,f=Dt(),g=xr(c);return i=rm(i),n.context===null?n.context=i:n.pendingContext=i,n=Xn(f,g),n.payload={element:e},l=l===void 0?null:l,l!==null&&(n.callback=l),e=hr(c,n,g),e!==null&&(En(e,c,g,f),Hs(e,c,g)),g}function ml(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:return e.child.stateNode;default:return e.child.stateNode}}function im(e,n){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var i=e.retryLane;e.retryLane=i!==0&&i<n?i:n}}function Ku(e,n){im(e,n),(e=e.alternate)&&im(e,n)}function n0(){return null}var sm=typeof reportError=="function"?reportError:function(e){console.error(e)};function Gu(e){this._internalRoot=e}hl.prototype.render=Gu.prototype.render=function(e){var n=this._internalRoot;if(n===null)throw Error(o(409));pl(e,n,null,null)},hl.prototype.unmount=Gu.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var n=e.containerInfo;Dr(function(){pl(null,e,null,null)}),n[Kn]=null}};function hl(e){this._internalRoot=e}hl.prototype.unstable_scheduleHydration=function(e){if(e){var n=Wd();e={blockedOn:null,target:e,priority:n};for(var i=0;i<lr.length&&n!==0&&n<lr[i].priority;i++);lr.splice(i,0,e),i===0&&Vd(e)}};function Qu(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function gl(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function lm(){}function r0(e,n,i,l,c){if(c){if(typeof l=="function"){var f=l;l=function(){var z=ml(g);f.call(z)}}var g=om(n,l,e,0,null,!1,!1,"",lm);return e._reactRootContainer=g,e[Kn]=g.current,pi(e.nodeType===8?e.parentNode:e),Dr(),g}for(;c=e.lastChild;)e.removeChild(c);if(typeof l=="function"){var R=l;l=function(){var z=ml(I);R.call(z)}}var I=Vu(e,0,!1,null,null,!1,!1,"",lm);return e._reactRootContainer=I,e[Kn]=I.current,pi(e.nodeType===8?e.parentNode:e),Dr(function(){pl(n,I,i,l)}),I}function yl(e,n,i,l,c){var f=i._reactRootContainer;if(f){var g=f;if(typeof c=="function"){var R=c;c=function(){var I=ml(g);R.call(I)}}pl(n,g,e,c)}else g=r0(i,n,e,c,l);return ml(g)}Fd=function(e){switch(e.tag){case 3:var n=e.stateNode;if(n.current.memoizedState.isDehydrated){var i=Jo(n.pendingLanes);i!==0&&(va(n,i|1),Kt(n,pt()),!(je&6)&&(Eo=pt()+500,pr()))}break;case 13:Dr(function(){var l=Yn(e,1);if(l!==null){var c=Dt();En(l,e,1,c)}}),Ku(e,1)}},xa=function(e){if(e.tag===13){var n=Yn(e,134217728);if(n!==null){var i=Dt();En(n,e,134217728,i)}Ku(e,134217728)}},Dd=function(e){if(e.tag===13){var n=xr(e),i=Yn(e,n);if(i!==null){var l=Dt();En(i,e,n,l)}Ku(e,n)}},Wd=function(){return Ue},Ud=function(e,n){var i=Ue;try{return Ue=e,n()}finally{Ue=i}},da=function(e,n,i){switch(n){case"input":if(st(e,i),n=i.name,i.type==="radio"&&n!=null){for(i=e;i.parentNode;)i=i.parentNode;for(i=i.querySelectorAll("input[name="+JSON.stringify(""+n)+'][type="radio"]'),n=0;n<i.length;n++){var l=i[n];if(l!==e&&l.form===e.form){var c=As(l);if(!c)throw Error(o(90));Te(l),st(l,c)}}}break;case"textarea":vt(e,i);break;case"select":n=i.value,n!=null&&Ve(e,!!i.multiple,n,!1)}},Td=Bu,Pd=Dr;var o0={usingClientEntryPoint:!1,Events:[gi,fo,As,Ed,Rd,Bu]},Ii={findFiberByHostInstance:Nr,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},i0={bundleType:Ii.bundleType,version:Ii.version,rendererPackageName:Ii.rendererPackageName,rendererConfig:Ii.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:$.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=Od(e),e===null?null:e.stateNode},findFiberByHostInstance:Ii.findFiberByHostInstance||n0,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var vl=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!vl.isDisabled&&vl.supportsFiber)try{hs=vl.inject(i0),In=vl}catch{}}return Gt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=o0,Gt.createPortal=function(e,n){var i=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Qu(n))throw Error(o(200));return t0(e,n,null,i)},Gt.createRoot=function(e,n){if(!Qu(e))throw Error(o(299));var i=!1,l="",c=sm;return n!=null&&(n.unstable_strictMode===!0&&(i=!0),n.identifierPrefix!==void 0&&(l=n.identifierPrefix),n.onRecoverableError!==void 0&&(c=n.onRecoverableError)),n=Vu(e,1,!1,null,null,i,!1,l,c),e[Kn]=n.current,pi(e.nodeType===8?e.parentNode:e),new Gu(n)},Gt.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var n=e._reactInternals;if(n===void 0)throw typeof e.render=="function"?Error(o(188)):(e=Object.keys(e).join(","),Error(o(268,e)));return e=Od(n),e=e===null?null:e.stateNode,e},Gt.flushSync=function(e){return Dr(e)},Gt.hydrate=function(e,n,i){if(!gl(n))throw Error(o(200));return yl(null,e,n,!0,i)},Gt.hydrateRoot=function(e,n,i){if(!Qu(e))throw Error(o(405));var l=i!=null&&i.hydratedSources||null,c=!1,f="",g=sm;if(i!=null&&(i.unstable_strictMode===!0&&(c=!0),i.identifierPrefix!==void 0&&(f=i.identifierPrefix),i.onRecoverableError!==void 0&&(g=i.onRecoverableError)),n=om(n,null,e,1,i??null,c,!1,f,g),e[Kn]=n.current,pi(e),l)for(e=0;e<l.length;e++)i=l[e],c=i._getVersion,c=c(i._source),n.mutableSourceEagerHydrationData==null?n.mutableSourceEagerHydrationData=[i,c]:n.mutableSourceEagerHydrationData.push(i,c);return new hl(n)},Gt.render=function(e,n,i){if(!gl(n))throw Error(o(200));return yl(null,e,n,!1,i)},Gt.unmountComponentAtNode=function(e){if(!gl(e))throw Error(o(40));return e._reactRootContainer?(Dr(function(){yl(null,null,e,!1,function(){e._reactRootContainer=null,e[Kn]=null})}),!0):!1},Gt.unstable_batchedUpdates=Bu,Gt.unstable_renderSubtreeIntoContainer=function(e,n,i,l){if(!gl(i))throw Error(o(200));if(e==null||e._reactInternals===void 0)throw Error(o(38));return yl(e,n,i,!1,l)},Gt.version="18.3.1-next-f1338f8080-20240426",Gt}var rh;function Fg(){if(rh)return lc.exports;rh=1;function t(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(r){console.error(r)}}return t(),lc.exports=ZS(),lc.exports}var oh;function eC(){if(oh)return bl;oh=1;var t=Fg();return bl.createRoot=t.createRoot,bl.hydrateRoot=t.hydrateRoot,bl}var tC=eC();const nC=jc(tC);var Dg=Fg();const kl=jc(Dg);/**
|
||
* @remix-run/router v1.21.0
|
||
*
|
||
* Copyright (c) Remix Software Inc.
|
||
*
|
||
* This source code is licensed under the MIT license found in the
|
||
* LICENSE.md file in the root directory of this source tree.
|
||
*
|
||
* @license MIT
|
||
*/function Zi(){return Zi=Object.assign?Object.assign.bind():function(t){for(var r=1;r<arguments.length;r++){var o=arguments[r];for(var s in o)Object.prototype.hasOwnProperty.call(o,s)&&(t[s]=o[s])}return t},Zi.apply(this,arguments)}var br;(function(t){t.Pop="POP",t.Push="PUSH",t.Replace="REPLACE"})(br||(br={}));const ih="popstate";function rC(t){t===void 0&&(t={});function r(s,a){let{pathname:u,search:d,hash:p}=s.location;return Ec("",{pathname:u,search:d,hash:p},a.state&&a.state.usr||null,a.state&&a.state.key||"default")}function o(s,a){return typeof a=="string"?a:_l(a)}return iC(r,o,null,t)}function ht(t,r){if(t===!1||t===null||typeof t>"u")throw new Error(r)}function Wg(t,r){if(!t){typeof console<"u"&&console.warn(r);try{throw new Error(r)}catch{}}}function oC(){return Math.random().toString(36).substr(2,8)}function sh(t,r){return{usr:t.state,key:t.key,idx:r}}function Ec(t,r,o,s){return o===void 0&&(o=null),Zi({pathname:typeof t=="string"?t:t.pathname,search:"",hash:""},typeof r=="string"?Ho(r):r,{state:o,key:r&&r.key||s||oC()})}function _l(t){let{pathname:r="/",search:o="",hash:s=""}=t;return o&&o!=="?"&&(r+=o.charAt(0)==="?"?o:"?"+o),s&&s!=="#"&&(r+=s.charAt(0)==="#"?s:"#"+s),r}function Ho(t){let r={};if(t){let o=t.indexOf("#");o>=0&&(r.hash=t.substr(o),t=t.substr(0,o));let s=t.indexOf("?");s>=0&&(r.search=t.substr(s),t=t.substr(0,s)),t&&(r.pathname=t)}return r}function iC(t,r,o,s){s===void 0&&(s={});let{window:a=document.defaultView,v5Compat:u=!1}=s,d=a.history,p=br.Pop,m=null,h=v();h==null&&(h=0,d.replaceState(Zi({},d.state,{idx:h}),""));function v(){return(d.state||{idx:null}).idx}function y(){p=br.Pop;let T=v(),N=T==null?null:T-h;h=T,m&&m({action:p,location:C.location,delta:N})}function w(T,N){p=br.Push;let j=Ec(C.location,T,N);h=v()+1;let P=sh(j,h),$=C.createHref(j);try{d.pushState(P,"",$)}catch(O){if(O instanceof DOMException&&O.name==="DataCloneError")throw O;a.location.assign($)}u&&m&&m({action:p,location:C.location,delta:1})}function E(T,N){p=br.Replace;let j=Ec(C.location,T,N);h=v();let P=sh(j,h),$=C.createHref(j);d.replaceState(P,"",$),u&&m&&m({action:p,location:C.location,delta:0})}function b(T){let N=a.location.origin!=="null"?a.location.origin:a.location.href,j=typeof T=="string"?T:_l(T);return j=j.replace(/ $/,"%20"),ht(N,"No window.location.(origin|href) available to create URL for href: "+j),new URL(j,N)}let C={get action(){return p},get location(){return t(a,d)},listen(T){if(m)throw new Error("A history only accepts one active listener");return a.addEventListener(ih,y),m=T,()=>{a.removeEventListener(ih,y),m=null}},createHref(T){return r(a,T)},createURL:b,encodeLocation(T){let N=b(T);return{pathname:N.pathname,search:N.search,hash:N.hash}},push:w,replace:E,go(T){return d.go(T)}};return C}var lh;(function(t){t.data="data",t.deferred="deferred",t.redirect="redirect",t.error="error"})(lh||(lh={}));function sC(t,r,o){return o===void 0&&(o="/"),lC(t,r,o)}function lC(t,r,o,s){let a=typeof r=="string"?Ho(r):r,u=ld(a.pathname||"/",o);if(u==null)return null;let d=Ug(t);aC(d);let p=null;for(let m=0;p==null&&m<d.length;++m){let h=SC(u);p=yC(d[m],h)}return p}function Ug(t,r,o,s){r===void 0&&(r=[]),o===void 0&&(o=[]),s===void 0&&(s="");let a=(u,d,p)=>{let m={relativePath:p===void 0?u.path||"":p,caseSensitive:u.caseSensitive===!0,childrenIndex:d,route:u};m.relativePath.startsWith("/")&&(ht(m.relativePath.startsWith(s),'Absolute route path "'+m.relativePath+'" nested under path '+('"'+s+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),m.relativePath=m.relativePath.slice(s.length));let h=Rr([s,m.relativePath]),v=o.concat(m);u.children&&u.children.length>0&&(ht(u.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+h+'".')),Ug(u.children,r,v,h)),!(u.path==null&&!u.index)&&r.push({path:h,score:hC(h,u.index),routesMeta:v})};return t.forEach((u,d)=>{var p;if(u.path===""||!((p=u.path)!=null&&p.includes("?")))a(u,d);else for(let m of Hg(u.path))a(u,d,m)}),r}function Hg(t){let r=t.split("/");if(r.length===0)return[];let[o,...s]=r,a=o.endsWith("?"),u=o.replace(/\?$/,"");if(s.length===0)return a?[u,""]:[u];let d=Hg(s.join("/")),p=[];return p.push(...d.map(m=>m===""?u:[u,m].join("/"))),a&&p.push(...d),p.map(m=>t.startsWith("/")&&m===""?"/":m)}function aC(t){t.sort((r,o)=>r.score!==o.score?o.score-r.score:gC(r.routesMeta.map(s=>s.childrenIndex),o.routesMeta.map(s=>s.childrenIndex)))}const uC=/^:[\w-]+$/,cC=3,dC=2,fC=1,pC=10,mC=-2,ah=t=>t==="*";function hC(t,r){let o=t.split("/"),s=o.length;return o.some(ah)&&(s+=mC),r&&(s+=dC),o.filter(a=>!ah(a)).reduce((a,u)=>a+(uC.test(u)?cC:u===""?fC:pC),s)}function gC(t,r){return t.length===r.length&&t.slice(0,-1).every((s,a)=>s===r[a])?t[t.length-1]-r[r.length-1]:0}function yC(t,r,o){let{routesMeta:s}=t,a={},u="/",d=[];for(let p=0;p<s.length;++p){let m=s[p],h=p===s.length-1,v=u==="/"?r:r.slice(u.length)||"/",y=vC({path:m.relativePath,caseSensitive:m.caseSensitive,end:h},v),w=m.route;if(!y)return null;Object.assign(a,y.params),d.push({params:a,pathname:Rr([u,y.pathname]),pathnameBase:kC(Rr([u,y.pathnameBase])),route:w}),y.pathnameBase!=="/"&&(u=Rr([u,y.pathnameBase]))}return d}function vC(t,r){typeof t=="string"&&(t={path:t,caseSensitive:!1,end:!0});let[o,s]=xC(t.path,t.caseSensitive,t.end),a=r.match(o);if(!a)return null;let u=a[0],d=u.replace(/(.)\/+$/,"$1"),p=a.slice(1);return{params:s.reduce((h,v,y)=>{let{paramName:w,isOptional:E}=v;if(w==="*"){let C=p[y]||"";d=u.slice(0,u.length-C.length).replace(/(.)\/+$/,"$1")}const b=p[y];return E&&!b?h[w]=void 0:h[w]=(b||"").replace(/%2F/g,"/"),h},{}),pathname:u,pathnameBase:d,pattern:t}}function xC(t,r,o){r===void 0&&(r=!1),o===void 0&&(o=!0),Wg(t==="*"||!t.endsWith("*")||t.endsWith("/*"),'Route path "'+t+'" will be treated as if it were '+('"'+t.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+t.replace(/\*$/,"/*")+'".'));let s=[],a="^"+t.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(d,p,m)=>(s.push({paramName:p,isOptional:m!=null}),m?"/?([^\\/]+)?":"/([^\\/]+)"));return t.endsWith("*")?(s.push({paramName:"*"}),a+=t==="*"||t==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):o?a+="\\/*$":t!==""&&t!=="/"&&(a+="(?:(?=\\/|$))"),[new RegExp(a,r?void 0:"i"),s]}function SC(t){try{return t.split("/").map(r=>decodeURIComponent(r).replace(/\//g,"%2F")).join("/")}catch(r){return Wg(!1,'The URL path "'+t+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+r+").")),t}}function ld(t,r){if(r==="/")return t;if(!t.toLowerCase().startsWith(r.toLowerCase()))return null;let o=r.endsWith("/")?r.length-1:r.length,s=t.charAt(o);return s&&s!=="/"?null:t.slice(o)||"/"}function CC(t,r){r===void 0&&(r="/");let{pathname:o,search:s="",hash:a=""}=typeof t=="string"?Ho(t):t;return{pathname:o?o.startsWith("/")?o:wC(o,r):r,search:EC(s),hash:RC(a)}}function wC(t,r){let o=r.replace(/\/+$/,"").split("/");return t.split("/").forEach(a=>{a===".."?o.length>1&&o.pop():a!=="."&&o.push(a)}),o.length>1?o.join("/"):"/"}function cc(t,r,o,s){return"Cannot include a '"+t+"' character in a manually specified "+("`to."+r+"` field ["+JSON.stringify(s)+"]. Please separate it out to the ")+("`to."+o+"` field. Alternatively you may provide the full path as ")+'a string in <Link to="..."> and the router will parse it for you.'}function bC(t){return t.filter((r,o)=>o===0||r.route.path&&r.route.path.length>0)}function ad(t,r){let o=bC(t);return r?o.map((s,a)=>a===o.length-1?s.pathname:s.pathnameBase):o.map(s=>s.pathnameBase)}function ud(t,r,o,s){s===void 0&&(s=!1);let a;typeof t=="string"?a=Ho(t):(a=Zi({},t),ht(!a.pathname||!a.pathname.includes("?"),cc("?","pathname","search",a)),ht(!a.pathname||!a.pathname.includes("#"),cc("#","pathname","hash",a)),ht(!a.search||!a.search.includes("#"),cc("#","search","hash",a)));let u=t===""||a.pathname==="",d=u?"/":a.pathname,p;if(d==null)p=o;else{let y=r.length-1;if(!s&&d.startsWith("..")){let w=d.split("/");for(;w[0]==="..";)w.shift(),y-=1;a.pathname=w.join("/")}p=y>=0?r[y]:"/"}let m=CC(a,p),h=d&&d!=="/"&&d.endsWith("/"),v=(u||d===".")&&o.endsWith("/");return!m.pathname.endsWith("/")&&(h||v)&&(m.pathname+="/"),m}const Rr=t=>t.join("/").replace(/\/\/+/g,"/"),kC=t=>t.replace(/\/+$/,"").replace(/^\/*/,"/"),EC=t=>!t||t==="?"?"":t.startsWith("?")?t:"?"+t,RC=t=>!t||t==="#"?"":t.startsWith("#")?t:"#"+t;function TC(t){return t!=null&&typeof t.status=="number"&&typeof t.statusText=="string"&&typeof t.internal=="boolean"&&"data"in t}const Vg=["post","put","patch","delete"];new Set(Vg);const PC=["get",...Vg];new Set(PC);/**
|
||
* React Router v6.28.0
|
||
*
|
||
* Copyright (c) Remix Software Inc.
|
||
*
|
||
* This source code is licensed under the MIT license found in the
|
||
* LICENSE.md file in the root directory of this source tree.
|
||
*
|
||
* @license MIT
|
||
*/function es(){return es=Object.assign?Object.assign.bind():function(t){for(var r=1;r<arguments.length;r++){var o=arguments[r];for(var s in o)Object.prototype.hasOwnProperty.call(o,s)&&(t[s]=o[s])}return t},es.apply(this,arguments)}const cd=S.createContext(null),$C=S.createContext(null),Ir=S.createContext(null),oa=S.createContext(null),Mr=S.createContext({outlet:null,matches:[],isDataRoute:!1}),Kg=S.createContext(null);function IC(t,r){let{relative:o}=r===void 0?{}:r;Vo()||ht(!1);let{basename:s,navigator:a}=S.useContext(Ir),{hash:u,pathname:d,search:p}=Qg(t,{relative:o}),m=d;return s!=="/"&&(m=d==="/"?s:Rr([s,d])),a.createHref({pathname:m,search:p,hash:u})}function Vo(){return S.useContext(oa)!=null}function us(){return Vo()||ht(!1),S.useContext(oa).location}function Gg(t){S.useContext(Ir).static||S.useLayoutEffect(t)}function Zr(){let{isDataRoute:t}=S.useContext(Mr);return t?UC():MC()}function MC(){Vo()||ht(!1);let t=S.useContext(cd),{basename:r,future:o,navigator:s}=S.useContext(Ir),{matches:a}=S.useContext(Mr),{pathname:u}=us(),d=JSON.stringify(ad(a,o.v7_relativeSplatPath)),p=S.useRef(!1);return Gg(()=>{p.current=!0}),S.useCallback(function(h,v){if(v===void 0&&(v={}),!p.current)return;if(typeof h=="number"){s.go(h);return}let y=ud(h,JSON.parse(d),u,v.relative==="path");t==null&&r!=="/"&&(y.pathname=y.pathname==="/"?r:Rr([r,y.pathname])),(v.replace?s.replace:s.push)(y,v.state,v)},[r,s,d,u,t])}function Qg(t,r){let{relative:o}=r===void 0?{}:r,{future:s}=S.useContext(Ir),{matches:a}=S.useContext(Mr),{pathname:u}=us(),d=JSON.stringify(ad(a,s.v7_relativeSplatPath));return S.useMemo(()=>ud(t,JSON.parse(d),u,o==="path"),[t,d,u,o])}function OC(t,r){return NC(t,r)}function NC(t,r,o,s){Vo()||ht(!1);let{navigator:a}=S.useContext(Ir),{matches:u}=S.useContext(Mr),d=u[u.length-1],p=d?d.params:{};d&&d.pathname;let m=d?d.pathnameBase:"/";d&&d.route;let h=us(),v;if(r){var y;let T=typeof r=="string"?Ho(r):r;m==="/"||(y=T.pathname)!=null&&y.startsWith(m)||ht(!1),v=T}else v=h;let w=v.pathname||"/",E=w;if(m!=="/"){let T=m.replace(/^\//,"").split("/");E="/"+w.replace(/^\//,"").split("/").slice(T.length).join("/")}let b=sC(t,{pathname:E}),C=zC(b&&b.map(T=>Object.assign({},T,{params:Object.assign({},p,T.params),pathname:Rr([m,a.encodeLocation?a.encodeLocation(T.pathname).pathname:T.pathname]),pathnameBase:T.pathnameBase==="/"?m:Rr([m,a.encodeLocation?a.encodeLocation(T.pathnameBase).pathname:T.pathnameBase])})),u,o,s);return r&&C?S.createElement(oa.Provider,{value:{location:es({pathname:"/",search:"",hash:"",state:null,key:"default"},v),navigationType:br.Pop}},C):C}function AC(){let t=WC(),r=TC(t)?t.status+" "+t.statusText:t instanceof Error?t.message:JSON.stringify(t),o=t instanceof Error?t.stack:null,a={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return S.createElement(S.Fragment,null,S.createElement("h2",null,"Unexpected Application Error!"),S.createElement("h3",{style:{fontStyle:"italic"}},r),o?S.createElement("pre",{style:a},o):null,null)}const LC=S.createElement(AC,null);class jC extends S.Component{constructor(r){super(r),this.state={location:r.location,revalidation:r.revalidation,error:r.error}}static getDerivedStateFromError(r){return{error:r}}static getDerivedStateFromProps(r,o){return o.location!==r.location||o.revalidation!=="idle"&&r.revalidation==="idle"?{error:r.error,location:r.location,revalidation:r.revalidation}:{error:r.error!==void 0?r.error:o.error,location:o.location,revalidation:r.revalidation||o.revalidation}}componentDidCatch(r,o){console.error("React Router caught the following error during render",r,o)}render(){return this.state.error!==void 0?S.createElement(Mr.Provider,{value:this.props.routeContext},S.createElement(Kg.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function _C(t){let{routeContext:r,match:o,children:s}=t,a=S.useContext(cd);return a&&a.static&&a.staticContext&&(o.route.errorElement||o.route.ErrorBoundary)&&(a.staticContext._deepestRenderedBoundaryId=o.route.id),S.createElement(Mr.Provider,{value:r},s)}function zC(t,r,o,s){var a;if(r===void 0&&(r=[]),o===void 0&&(o=null),s===void 0&&(s=null),t==null){var u;if(!o)return null;if(o.errors)t=o.matches;else if((u=s)!=null&&u.v7_partialHydration&&r.length===0&&!o.initialized&&o.matches.length>0)t=o.matches;else return null}let d=t,p=(a=o)==null?void 0:a.errors;if(p!=null){let v=d.findIndex(y=>y.route.id&&(p==null?void 0:p[y.route.id])!==void 0);v>=0||ht(!1),d=d.slice(0,Math.min(d.length,v+1))}let m=!1,h=-1;if(o&&s&&s.v7_partialHydration)for(let v=0;v<d.length;v++){let y=d[v];if((y.route.HydrateFallback||y.route.hydrateFallbackElement)&&(h=v),y.route.id){let{loaderData:w,errors:E}=o,b=y.route.loader&&w[y.route.id]===void 0&&(!E||E[y.route.id]===void 0);if(y.route.lazy||b){m=!0,h>=0?d=d.slice(0,h+1):d=[d[0]];break}}}return d.reduceRight((v,y,w)=>{let E,b=!1,C=null,T=null;o&&(E=p&&y.route.id?p[y.route.id]:void 0,C=y.route.errorElement||LC,m&&(h<0&&w===0?(HC("route-fallback"),b=!0,T=null):h===w&&(b=!0,T=y.route.hydrateFallbackElement||null)));let N=r.concat(d.slice(0,w+1)),j=()=>{let P;return E?P=C:b?P=T:y.route.Component?P=S.createElement(y.route.Component,null):y.route.element?P=y.route.element:P=v,S.createElement(_C,{match:y,routeContext:{outlet:v,matches:N,isDataRoute:o!=null},children:P})};return o&&(y.route.ErrorBoundary||y.route.errorElement||w===0)?S.createElement(jC,{location:o.location,revalidation:o.revalidation,component:C,error:E,children:j(),routeContext:{outlet:null,matches:N,isDataRoute:!0}}):j()},null)}var qg=function(t){return t.UseBlocker="useBlocker",t.UseRevalidator="useRevalidator",t.UseNavigateStable="useNavigate",t}(qg||{}),Yg=function(t){return t.UseBlocker="useBlocker",t.UseLoaderData="useLoaderData",t.UseActionData="useActionData",t.UseRouteError="useRouteError",t.UseNavigation="useNavigation",t.UseRouteLoaderData="useRouteLoaderData",t.UseMatches="useMatches",t.UseRevalidator="useRevalidator",t.UseNavigateStable="useNavigate",t.UseRouteId="useRouteId",t}(Yg||{});function BC(t){let r=S.useContext(cd);return r||ht(!1),r}function FC(t){let r=S.useContext($C);return r||ht(!1),r}function DC(t){let r=S.useContext(Mr);return r||ht(!1),r}function Xg(t){let r=DC(),o=r.matches[r.matches.length-1];return o.route.id||ht(!1),o.route.id}function WC(){var t;let r=S.useContext(Kg),o=FC(),s=Xg();return r!==void 0?r:(t=o.errors)==null?void 0:t[s]}function UC(){let{router:t}=BC(qg.UseNavigateStable),r=Xg(Yg.UseNavigateStable),o=S.useRef(!1);return Gg(()=>{o.current=!0}),S.useCallback(function(a,u){u===void 0&&(u={}),o.current&&(typeof a=="number"?t.navigate(a):t.navigate(a,es({fromRouteId:r},u)))},[t,r])}const uh={};function HC(t,r,o){uh[t]||(uh[t]=!0)}const ch={};function VC(t,r){ch[r]||(ch[r]=!0,console.warn(r))}const dh=(t,r,o)=>VC(t,"⚠️ React Router Future Flag Warning: "+r+". "+("You can use the `"+t+"` future flag to opt-in early. ")+("For more information, see "+o+"."));function KC(t,r){t!=null&&t.v7_startTransition||dh("v7_startTransition","React Router will begin wrapping state updates in `React.startTransition` in v7","https://reactrouter.com/v6/upgrading/future#v7_starttransition"),t!=null&&t.v7_relativeSplatPath||dh("v7_relativeSplatPath","Relative route resolution within Splat routes is changing in v7","https://reactrouter.com/v6/upgrading/future#v7_relativesplatpath")}function Jg(t){let{to:r,replace:o,state:s,relative:a}=t;Vo()||ht(!1);let{future:u,static:d}=S.useContext(Ir),{matches:p}=S.useContext(Mr),{pathname:m}=us(),h=Zr(),v=ud(r,ad(p,u.v7_relativeSplatPath),m,a==="path"),y=JSON.stringify(v);return S.useEffect(()=>h(JSON.parse(y),{replace:o,state:s,relative:a}),[h,y,a,o,s]),null}function Kr(t){ht(!1)}function GC(t){let{basename:r="/",children:o=null,location:s,navigationType:a=br.Pop,navigator:u,static:d=!1,future:p}=t;Vo()&&ht(!1);let m=r.replace(/^\/*/,"/"),h=S.useMemo(()=>({basename:m,navigator:u,static:d,future:es({v7_relativeSplatPath:!1},p)}),[m,p,u,d]);typeof s=="string"&&(s=Ho(s));let{pathname:v="/",search:y="",hash:w="",state:E=null,key:b="default"}=s,C=S.useMemo(()=>{let T=ld(v,m);return T==null?null:{location:{pathname:T,search:y,hash:w,state:E,key:b},navigationType:a}},[m,v,y,w,E,b,a]);return C==null?null:S.createElement(Ir.Provider,{value:h},S.createElement(oa.Provider,{children:o,value:C}))}function QC(t){let{children:r,location:o}=t;return OC(Rc(r),o)}new Promise(()=>{});function Rc(t,r){r===void 0&&(r=[]);let o=[];return S.Children.forEach(t,(s,a)=>{if(!S.isValidElement(s))return;let u=[...r,a];if(s.type===S.Fragment){o.push.apply(o,Rc(s.props.children,u));return}s.type!==Kr&&ht(!1),!s.props.index||!s.props.children||ht(!1);let d={id:s.props.id||u.join("-"),caseSensitive:s.props.caseSensitive,element:s.props.element,Component:s.props.Component,index:s.props.index,path:s.props.path,loader:s.props.loader,action:s.props.action,errorElement:s.props.errorElement,ErrorBoundary:s.props.ErrorBoundary,hasErrorBoundary:s.props.ErrorBoundary!=null||s.props.errorElement!=null,shouldRevalidate:s.props.shouldRevalidate,handle:s.props.handle,lazy:s.props.lazy};s.props.children&&(d.children=Rc(s.props.children,u)),o.push(d)}),o}/**
|
||
* React Router DOM v6.28.0
|
||
*
|
||
* Copyright (c) Remix Software Inc.
|
||
*
|
||
* This source code is licensed under the MIT license found in the
|
||
* LICENSE.md file in the root directory of this source tree.
|
||
*
|
||
* @license MIT
|
||
*/function Tc(){return Tc=Object.assign?Object.assign.bind():function(t){for(var r=1;r<arguments.length;r++){var o=arguments[r];for(var s in o)Object.prototype.hasOwnProperty.call(o,s)&&(t[s]=o[s])}return t},Tc.apply(this,arguments)}function qC(t,r){if(t==null)return{};var o={},s=Object.keys(t),a,u;for(u=0;u<s.length;u++)a=s[u],!(r.indexOf(a)>=0)&&(o[a]=t[a]);return o}function YC(t){return!!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)}function XC(t,r){return t.button===0&&(!r||r==="_self")&&!YC(t)}const JC=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],ZC="6";try{window.__reactRouterVersion=ZC}catch{}const ew="startTransition",fh=Nl[ew];function tw(t){let{basename:r,children:o,future:s,window:a}=t,u=S.useRef();u.current==null&&(u.current=rC({window:a,v5Compat:!0}));let d=u.current,[p,m]=S.useState({action:d.action,location:d.location}),{v7_startTransition:h}=s||{},v=S.useCallback(y=>{h&&fh?fh(()=>m(y)):m(y)},[m,h]);return S.useLayoutEffect(()=>d.listen(v),[d,v]),S.useEffect(()=>KC(s),[s]),S.createElement(GC,{basename:r,children:o,location:p.location,navigationType:p.action,navigator:d,future:s})}const nw=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",rw=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Zg=S.forwardRef(function(r,o){let{onClick:s,relative:a,reloadDocument:u,replace:d,state:p,target:m,to:h,preventScrollReset:v,viewTransition:y}=r,w=qC(r,JC),{basename:E}=S.useContext(Ir),b,C=!1;if(typeof h=="string"&&rw.test(h)&&(b=h,nw))try{let P=new URL(window.location.href),$=h.startsWith("//")?new URL(P.protocol+h):new URL(h),O=ld($.pathname,E);$.origin===P.origin&&O!=null?h=O+$.search+$.hash:C=!0}catch{}let T=IC(h,{relative:a}),N=ow(h,{replace:d,state:p,target:m,preventScrollReset:v,relative:a,viewTransition:y});function j(P){s&&s(P),P.defaultPrevented||N(P)}return S.createElement("a",Tc({},w,{href:b||T,onClick:C||u?s:j,ref:o,target:m}))});var ph;(function(t){t.UseScrollRestoration="useScrollRestoration",t.UseSubmit="useSubmit",t.UseSubmitFetcher="useSubmitFetcher",t.UseFetcher="useFetcher",t.useViewTransitionState="useViewTransitionState"})(ph||(ph={}));var mh;(function(t){t.UseFetcher="useFetcher",t.UseFetchers="useFetchers",t.UseScrollRestoration="useScrollRestoration"})(mh||(mh={}));function ow(t,r){let{target:o,replace:s,state:a,preventScrollReset:u,relative:d,viewTransition:p}=r===void 0?{}:r,m=Zr(),h=us(),v=Qg(t,{relative:d});return S.useCallback(y=>{if(XC(y,o)){y.preventDefault();let w=s!==void 0?s:_l(h)===_l(v);m(t,{replace:w,state:a,preventScrollReset:u,relative:d,viewTransition:p})}},[h,m,v,s,a,o,t,u,d,p])}const El="wallet_token",dc="wallet_user",$r={getToken:()=>localStorage.getItem(El),setToken:(t,r)=>{localStorage.setItem(El,t),localStorage.setItem(dc,JSON.stringify(r))},getUser:()=>{const t=localStorage.getItem(dc);return t?JSON.parse(t):null},clearAuth:()=>{localStorage.removeItem(El),localStorage.removeItem(dc)},isAuthenticated:()=>!!localStorage.getItem(El)},iw=Pe("MuiBox",["root"]),sw=na(),Tn=mx({themeId:Wn,defaultTheme:sw,defaultClassName:iw.root,generateClassName:pg.generate}),Je=Kx;class zl{constructor(){Mi(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 zl}static use(){const r=Sg(zl.create).current,[o,s]=S.useState(!1);return r.shouldMount=o,r.setShouldMount=s,S.useEffect(r.mountEffect,[o]),r}mount(){return this.mounted||(this.mounted=aw(),this.shouldMount=!0,this.setShouldMount(this.shouldMount)),this.mounted}start(...r){this.mount().then(()=>{var o;return(o=this.ref.current)==null?void 0:o.start(...r)})}stop(...r){this.mount().then(()=>{var o;return(o=this.ref.current)==null?void 0:o.stop(...r)})}pulsate(...r){this.mount().then(()=>{var o;return(o=this.ref.current)==null?void 0:o.pulsate(...r)})}}function lw(){return zl.use()}function aw(){let t,r;const o=new Promise((s,a)=>{t=s,r=a});return o.resolve=t,o.reject=r,o}function ey(t,r){if(t==null)return{};var o={};for(var s in t)if({}.hasOwnProperty.call(t,s)){if(r.indexOf(s)!==-1)continue;o[s]=t[s]}return o}function Pc(t,r){return Pc=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(o,s){return o.__proto__=s,o},Pc(t,r)}function ty(t,r){t.prototype=Object.create(r.prototype),t.prototype.constructor=t,Pc(t,r)}const hh={disabled:!1},Bl=Rn.createContext(null);var uw=function(r){return r.scrollTop},Hi="unmounted",Gr="exited",Qr="entering",Ao="entered",$c="exiting",Vn=function(t){ty(r,t);function r(s,a){var u;u=t.call(this,s,a)||this;var d=a,p=d&&!d.isMounting?s.enter:s.appear,m;return u.appearStatus=null,s.in?p?(m=Gr,u.appearStatus=Qr):m=Ao:s.unmountOnExit||s.mountOnEnter?m=Hi:m=Gr,u.state={status:m},u.nextCallback=null,u}r.getDerivedStateFromProps=function(a,u){var d=a.in;return d&&u.status===Hi?{status:Gr}:null};var o=r.prototype;return o.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},o.componentDidUpdate=function(a){var u=null;if(a!==this.props){var d=this.state.status;this.props.in?d!==Qr&&d!==Ao&&(u=Qr):(d===Qr||d===Ao)&&(u=$c)}this.updateStatus(!1,u)},o.componentWillUnmount=function(){this.cancelNextCallback()},o.getTimeouts=function(){var a=this.props.timeout,u,d,p;return u=d=p=a,a!=null&&typeof a!="number"&&(u=a.exit,d=a.enter,p=a.appear!==void 0?a.appear:d),{exit:u,enter:d,appear:p}},o.updateStatus=function(a,u){if(a===void 0&&(a=!1),u!==null)if(this.cancelNextCallback(),u===Qr){if(this.props.unmountOnExit||this.props.mountOnEnter){var d=this.props.nodeRef?this.props.nodeRef.current:kl.findDOMNode(this);d&&uw(d)}this.performEnter(a)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Gr&&this.setState({status:Hi})},o.performEnter=function(a){var u=this,d=this.props.enter,p=this.context?this.context.isMounting:a,m=this.props.nodeRef?[p]:[kl.findDOMNode(this),p],h=m[0],v=m[1],y=this.getTimeouts(),w=p?y.appear:y.enter;if(!a&&!d||hh.disabled){this.safeSetState({status:Ao},function(){u.props.onEntered(h)});return}this.props.onEnter(h,v),this.safeSetState({status:Qr},function(){u.props.onEntering(h,v),u.onTransitionEnd(w,function(){u.safeSetState({status:Ao},function(){u.props.onEntered(h,v)})})})},o.performExit=function(){var a=this,u=this.props.exit,d=this.getTimeouts(),p=this.props.nodeRef?void 0:kl.findDOMNode(this);if(!u||hh.disabled){this.safeSetState({status:Gr},function(){a.props.onExited(p)});return}this.props.onExit(p),this.safeSetState({status:$c},function(){a.props.onExiting(p),a.onTransitionEnd(d.exit,function(){a.safeSetState({status:Gr},function(){a.props.onExited(p)})})})},o.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},o.safeSetState=function(a,u){u=this.setNextCallback(u),this.setState(a,u)},o.setNextCallback=function(a){var u=this,d=!0;return this.nextCallback=function(p){d&&(d=!1,u.nextCallback=null,a(p))},this.nextCallback.cancel=function(){d=!1},this.nextCallback},o.onTransitionEnd=function(a,u){this.setNextCallback(u);var d=this.props.nodeRef?this.props.nodeRef.current:kl.findDOMNode(this),p=a==null&&!this.props.addEndListener;if(!d||p){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var m=this.props.nodeRef?[this.nextCallback]:[d,this.nextCallback],h=m[0],v=m[1];this.props.addEndListener(h,v)}a!=null&&setTimeout(this.nextCallback,a)},o.render=function(){var a=this.state.status;if(a===Hi)return null;var u=this.props,d=u.children;u.in,u.mountOnEnter,u.unmountOnExit,u.appear,u.enter,u.exit,u.timeout,u.addEndListener,u.onEnter,u.onEntering,u.onEntered,u.onExit,u.onExiting,u.onExited,u.nodeRef;var p=ey(u,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return Rn.createElement(Bl.Provider,{value:null},typeof d=="function"?d(a,p):Rn.cloneElement(Rn.Children.only(d),p))},r}(Rn.Component);Vn.contextType=Bl;Vn.propTypes={};function Oo(){}Vn.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Oo,onEntering:Oo,onEntered:Oo,onExit:Oo,onExiting:Oo,onExited:Oo};Vn.UNMOUNTED=Hi;Vn.EXITED=Gr;Vn.ENTERING=Qr;Vn.ENTERED=Ao;Vn.EXITING=$c;function cw(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function dd(t,r){var o=function(u){return r&&S.isValidElement(u)?r(u):u},s=Object.create(null);return t&&S.Children.map(t,function(a){return a}).forEach(function(a){s[a.key]=o(a)}),s}function dw(t,r){t=t||{},r=r||{};function o(v){return v in r?r[v]:t[v]}var s=Object.create(null),a=[];for(var u in t)u in r?a.length&&(s[u]=a,a=[]):a.push(u);var d,p={};for(var m in r){if(s[m])for(d=0;d<s[m].length;d++){var h=s[m][d];p[s[m][d]]=o(h)}p[m]=o(m)}for(d=0;d<a.length;d++)p[a[d]]=o(a[d]);return p}function Yr(t,r,o){return o[r]!=null?o[r]:t.props[r]}function fw(t,r){return dd(t.children,function(o){return S.cloneElement(o,{onExited:r.bind(null,o),in:!0,appear:Yr(o,"appear",t),enter:Yr(o,"enter",t),exit:Yr(o,"exit",t)})})}function pw(t,r,o){var s=dd(t.children),a=dw(r,s);return Object.keys(a).forEach(function(u){var d=a[u];if(S.isValidElement(d)){var p=u in r,m=u in s,h=r[u],v=S.isValidElement(h)&&!h.props.in;m&&(!p||v)?a[u]=S.cloneElement(d,{onExited:o.bind(null,d),in:!0,exit:Yr(d,"exit",t),enter:Yr(d,"enter",t)}):!m&&p&&!v?a[u]=S.cloneElement(d,{in:!1}):m&&p&&S.isValidElement(h)&&(a[u]=S.cloneElement(d,{onExited:o.bind(null,d),in:h.props.in,exit:Yr(d,"exit",t),enter:Yr(d,"enter",t)}))}}),a}var mw=Object.values||function(t){return Object.keys(t).map(function(r){return t[r]})},hw={component:"div",childFactory:function(r){return r}},fd=function(t){ty(r,t);function r(s,a){var u;u=t.call(this,s,a)||this;var d=u.handleExited.bind(cw(u));return u.state={contextValue:{isMounting:!0},handleExited:d,firstRender:!0},u}var o=r.prototype;return o.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},o.componentWillUnmount=function(){this.mounted=!1},r.getDerivedStateFromProps=function(a,u){var d=u.children,p=u.handleExited,m=u.firstRender;return{children:m?fw(a,p):pw(a,d,p),firstRender:!1}},o.handleExited=function(a,u){var d=dd(this.props.children);a.key in d||(a.props.onExited&&a.props.onExited(u),this.mounted&&this.setState(function(p){var m=Ll({},p.children);return delete m[a.key],{children:m}}))},o.render=function(){var a=this.props,u=a.component,d=a.childFactory,p=ey(a,["component","childFactory"]),m=this.state.contextValue,h=mw(this.state.children).map(d);return delete p.appear,delete p.enter,delete p.exit,u===null?Rn.createElement(Bl.Provider,{value:m},h):Rn.createElement(Bl.Provider,{value:m},Rn.createElement(u,p,h))},r}(Rn.Component);fd.propTypes={};fd.defaultProps=hw;function gw(t){const{className:r,classes:o,pulsate:s=!1,rippleX:a,rippleY:u,rippleSize:d,in:p,onExited:m,timeout:h}=t,[v,y]=S.useState(!1),w=Se(r,o.ripple,o.rippleVisible,s&&o.ripplePulsate),E={width:d,height:d,top:-(d/2)+u,left:-(d/2)+a},b=Se(o.child,v&&o.childLeaving,s&&o.childPulsate);return!p&&!v&&y(!0),S.useEffect(()=>{if(!p&&m!=null){const C=setTimeout(m,h);return()=>{clearTimeout(C)}}},[m,p,h]),k.jsx("span",{className:w,style:E,children:k.jsx("span",{className:b})})}const fn=Pe("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),Ic=550,yw=80,vw=Yc`
|
||
0% {
|
||
transform: scale(0);
|
||
opacity: 0.1;
|
||
}
|
||
|
||
100% {
|
||
transform: scale(1);
|
||
opacity: 0.3;
|
||
}
|
||
`,xw=Yc`
|
||
0% {
|
||
opacity: 1;
|
||
}
|
||
|
||
100% {
|
||
opacity: 0;
|
||
}
|
||
`,Sw=Yc`
|
||
0% {
|
||
transform: scale(1);
|
||
}
|
||
|
||
50% {
|
||
transform: scale(0.92);
|
||
}
|
||
|
||
100% {
|
||
transform: scale(1);
|
||
}
|
||
`,Cw=de("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),ww=de(gw,{name:"MuiTouchRipple",slot:"Ripple"})`
|
||
opacity: 0;
|
||
position: absolute;
|
||
|
||
&.${fn.rippleVisible} {
|
||
opacity: 0.3;
|
||
transform: scale(1);
|
||
animation-name: ${vw};
|
||
animation-duration: ${Ic}ms;
|
||
animation-timing-function: ${({theme:t})=>t.transitions.easing.easeInOut};
|
||
}
|
||
|
||
&.${fn.ripplePulsate} {
|
||
animation-duration: ${({theme:t})=>t.transitions.duration.shorter}ms;
|
||
}
|
||
|
||
& .${fn.child} {
|
||
opacity: 1;
|
||
display: block;
|
||
width: 100%;
|
||
height: 100%;
|
||
border-radius: 50%;
|
||
background-color: currentColor;
|
||
}
|
||
|
||
& .${fn.childLeaving} {
|
||
opacity: 0;
|
||
animation-name: ${xw};
|
||
animation-duration: ${Ic}ms;
|
||
animation-timing-function: ${({theme:t})=>t.transitions.easing.easeInOut};
|
||
}
|
||
|
||
& .${fn.childPulsate} {
|
||
position: absolute;
|
||
/* @noflip */
|
||
left: 0px;
|
||
top: 0;
|
||
animation-name: ${Sw};
|
||
animation-duration: 2500ms;
|
||
animation-timing-function: ${({theme:t})=>t.transitions.easing.easeInOut};
|
||
animation-iteration-count: infinite;
|
||
animation-delay: 200ms;
|
||
}
|
||
`,bw=S.forwardRef(function(r,o){const s=Me({props:r,name:"MuiTouchRipple"}),{center:a=!1,classes:u={},className:d,...p}=s,[m,h]=S.useState([]),v=S.useRef(0),y=S.useRef(null);S.useEffect(()=>{y.current&&(y.current(),y.current=null)},[m]);const w=S.useRef(!1),E=Cg(),b=S.useRef(null),C=S.useRef(null),T=S.useCallback($=>{const{pulsate:O,rippleX:B,rippleY:F,rippleSize:W,cb:V}=$;h(x=>[...x,k.jsx(ww,{classes:{ripple:Se(u.ripple,fn.ripple),rippleVisible:Se(u.rippleVisible,fn.rippleVisible),ripplePulsate:Se(u.ripplePulsate,fn.ripplePulsate),child:Se(u.child,fn.child),childLeaving:Se(u.childLeaving,fn.childLeaving),childPulsate:Se(u.childPulsate,fn.childPulsate)},timeout:Ic,pulsate:O,rippleX:B,rippleY:F,rippleSize:W},v.current)]),v.current+=1,y.current=V},[u]),N=S.useCallback(($={},O={},B=()=>{})=>{const{pulsate:F=!1,center:W=a||O.pulsate,fakeElement:V=!1}=O;if(($==null?void 0:$.type)==="mousedown"&&w.current){w.current=!1;return}($==null?void 0:$.type)==="touchstart"&&(w.current=!0);const x=V?null:C.current,D=x?x.getBoundingClientRect():{width:0,height:0,left:0,top:0};let ee,J,re;if(W||$===void 0||$.clientX===0&&$.clientY===0||!$.clientX&&!$.touches)ee=Math.round(D.width/2),J=Math.round(D.height/2);else{const{clientX:Q,clientY:Z}=$.touches&&$.touches.length>0?$.touches[0]:$;ee=Math.round(Q-D.left),J=Math.round(Z-D.top)}if(W)re=Math.sqrt((2*D.width**2+D.height**2)/3),re%2===0&&(re+=1);else{const Q=Math.max(Math.abs((x?x.clientWidth:0)-ee),ee)*2+2,Z=Math.max(Math.abs((x?x.clientHeight:0)-J),J)*2+2;re=Math.sqrt(Q**2+Z**2)}$!=null&&$.touches?b.current===null&&(b.current=()=>{T({pulsate:F,rippleX:ee,rippleY:J,rippleSize:re,cb:B})},E.start(yw,()=>{b.current&&(b.current(),b.current=null)})):T({pulsate:F,rippleX:ee,rippleY:J,rippleSize:re,cb:B})},[a,T,E]),j=S.useCallback(()=>{N({},{pulsate:!0})},[N]),P=S.useCallback(($,O)=>{if(E.clear(),($==null?void 0:$.type)==="touchend"&&b.current){b.current(),b.current=null,E.start(0,()=>{P($,O)});return}b.current=null,h(B=>B.length>0?B.slice(1):B),y.current=O},[E]);return S.useImperativeHandle(o,()=>({pulsate:j,start:N,stop:P}),[j,N,P]),k.jsx(Cw,{className:Se(fn.root,u.root,d),ref:C,...p,children:k.jsx(fd,{component:null,exit:!0,children:m})})});function kw(t){return Ie("MuiButtonBase",t)}const Ew=Pe("MuiButtonBase",["root","disabled","focusVisible"]),Rw=t=>{const{disabled:r,focusVisible:o,focusVisibleClassName:s,classes:a}=t,d=Ne({root:["root",r&&"disabled",o&&"focusVisible"]},kw,a);return o&&s&&(d.root+=` ${s}`),d},Tw=de("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(t,r)=>r.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"},[`&.${Ew.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),pd=S.forwardRef(function(r,o){const s=Me({props:r,name:"MuiButtonBase"}),{action:a,centerRipple:u=!1,children:d,className:p,component:m="button",disabled:h=!1,disableRipple:v=!1,disableTouchRipple:y=!1,focusRipple:w=!1,focusVisibleClassName:E,LinkComponent:b="a",onBlur:C,onClick:T,onContextMenu:N,onDragLeave:j,onFocus:P,onFocusVisible:$,onKeyDown:O,onKeyUp:B,onMouseDown:F,onMouseLeave:W,onMouseUp:V,onTouchEnd:x,onTouchMove:D,onTouchStart:ee,tabIndex:J=0,TouchRippleProps:re,touchRippleRef:Q,type:Z,...oe}=s,K=S.useRef(null),G=lw(),ne=Nt(G.ref,Q),[M,U]=S.useState(!1);h&&M&&U(!1),S.useImperativeHandle(a,()=>({focusVisible:()=>{U(!0),K.current.focus()}}),[]);const ie=G.shouldMount&&!v&&!h;S.useEffect(()=>{M&&w&&!v&&G.pulsate()},[v,w,M,G]);const le=tr(G,"start",F,y),ce=tr(G,"stop",N,y),ge=tr(G,"stop",j,y),be=tr(G,"stop",V,y),Ee=tr(G,"stop",me=>{M&&me.preventDefault(),W&&W(me)},y),we=tr(G,"start",ee,y),ye=tr(G,"stop",x,y),Ae=tr(G,"stop",D,y),Te=tr(G,"stop",me=>{Bm(me.target)||U(!1),C&&C(me)},!1),He=_o(me=>{K.current||(K.current=me.currentTarget),Bm(me.target)&&(U(!0),$&&$(me)),P&&P(me)}),Re=()=>{const me=K.current;return m&&m!=="button"&&!(me.tagName==="A"&&me.href)},De=_o(me=>{w&&!me.repeat&&M&&me.key===" "&&G.stop(me,()=>{G.start(me)}),me.target===me.currentTarget&&Re()&&me.key===" "&&me.preventDefault(),O&&O(me),me.target===me.currentTarget&&Re()&&me.key==="Enter"&&!h&&(me.preventDefault(),T&&T(me))}),wt=_o(me=>{w&&me.key===" "&&M&&!me.defaultPrevented&&G.stop(me,()=>{G.pulsate(me)}),B&&B(me),T&&me.target===me.currentTarget&&Re()&&me.key===" "&&!me.defaultPrevented&&T(me)});let st=m;st==="button"&&(oe.href||oe.to)&&(st=b);const Le={};st==="button"?(Le.type=Z===void 0?"button":Z,Le.disabled=h):(!oe.href&&!oe.to&&(Le.role="button"),h&&(Le["aria-disabled"]=h));const yt=Nt(o,K),Ze={...s,centerRipple:u,component:m,disabled:h,disableRipple:v,disableTouchRipple:y,focusRipple:w,tabIndex:J,focusVisible:M},Ve=Rw(Ze);return k.jsxs(Tw,{as:st,className:Se(Ve.root,p),ownerState:Ze,onBlur:Te,onClick:T,onContextMenu:ce,onFocus:He,onKeyDown:De,onKeyUp:wt,onMouseDown:le,onMouseLeave:Ee,onMouseUp:be,onDragLeave:ge,onTouchEnd:ye,onTouchMove:Ae,onTouchStart:we,ref:yt,tabIndex:h?-1:J,type:Z,...Le,...oe,children:[d,ie?k.jsx(bw,{ref:ne,center:u,...re}):null]})});function tr(t,r,o,s=!1){return _o(a=>(o&&o(a),s||t[r](a),!0))}function Pw(t){return typeof t.main=="string"}function $w(t,r=[]){if(!Pw(t))return!1;for(const o of r)if(!t.hasOwnProperty(o)||typeof t[o]!="string")return!1;return!0}function mn(t=[]){return([,r])=>r&&$w(r,t)}function Iw(t){return Ie("MuiButton",t)}const No=Pe("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","colorPrimary","colorSecondary","colorSuccess","colorError","colorInfo","colorWarning","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","icon","iconSizeSmall","iconSizeMedium","iconSizeLarge"]),Mw=S.createContext({}),Ow=S.createContext(void 0),Nw=t=>{const{color:r,disableElevation:o,fullWidth:s,size:a,variant:u,classes:d}=t,p={root:["root",u,`${u}${he(r)}`,`size${he(a)}`,`${u}Size${he(a)}`,`color${he(r)}`,o&&"disableElevation",s&&"fullWidth"],label:["label"],startIcon:["icon","startIcon",`iconSize${he(a)}`],endIcon:["icon","endIcon",`iconSize${he(a)}`]},m=Ne(p,Iw,d);return{...d,...m}},ny=[{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}}}],Aw=de(pd,{shouldForwardProp:t=>yn(t)||t==="classes",name:"MuiButton",slot:"Root",overridesResolver:(t,r)=>{const{ownerState:o}=t;return[r.root,r[o.variant],r[`${o.variant}${he(o.color)}`],r[`size${he(o.size)}`],r[`${o.variant}Size${he(o.size)}`],o.color==="inherit"&&r.colorInherit,o.disableElevation&&r.disableElevation,o.fullWidth&&r.fullWidth]}})(Je(({theme:t})=>{const r=t.palette.mode==="light"?t.palette.grey[300]:t.palette.grey[800],o=t.palette.mode==="light"?t.palette.grey.A100:t.palette.grey[700];return{...t.typography.button,minWidth:64,padding:"6px 16px",border:0,borderRadius:(t.vars||t).shape.borderRadius,transition:t.transitions.create(["background-color","box-shadow","border-color","color"],{duration:t.transitions.duration.short}),"&:hover":{textDecoration:"none"},[`&.${No.disabled}`]:{color:(t.vars||t).palette.action.disabled},variants:[{props:{variant:"contained"},style:{color:"var(--variant-containedColor)",backgroundColor:"var(--variant-containedBg)",boxShadow:(t.vars||t).shadows[2],"&:hover":{boxShadow:(t.vars||t).shadows[4],"@media (hover: none)":{boxShadow:(t.vars||t).shadows[2]}},"&:active":{boxShadow:(t.vars||t).shadows[8]},[`&.${No.focusVisible}`]:{boxShadow:(t.vars||t).shadows[6]},[`&.${No.disabled}`]:{color:(t.vars||t).palette.action.disabled,boxShadow:(t.vars||t).shadows[0],backgroundColor:(t.vars||t).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)",[`&.${No.disabled}`]:{border:`1px solid ${(t.vars||t).palette.action.disabledBackground}`}}},{props:{variant:"text"},style:{padding:"6px 8px",color:"var(--variant-textColor)",backgroundColor:"var(--variant-textBg)"}},...Object.entries(t.palette).filter(mn()).map(([s])=>({props:{color:s},style:{"--variant-textColor":(t.vars||t).palette[s].main,"--variant-outlinedColor":(t.vars||t).palette[s].main,"--variant-outlinedBorder":t.vars?`rgba(${t.vars.palette[s].mainChannel} / 0.5)`:$t(t.palette[s].main,.5),"--variant-containedColor":(t.vars||t).palette[s].contrastText,"--variant-containedBg":(t.vars||t).palette[s].main,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":(t.vars||t).palette[s].dark,"--variant-textBg":t.vars?`rgba(${t.vars.palette[s].mainChannel} / ${t.vars.palette.action.hoverOpacity})`:$t(t.palette[s].main,t.palette.action.hoverOpacity),"--variant-outlinedBorder":(t.vars||t).palette[s].main,"--variant-outlinedBg":t.vars?`rgba(${t.vars.palette[s].mainChannel} / ${t.vars.palette.action.hoverOpacity})`:$t(t.palette[s].main,t.palette.action.hoverOpacity)}}}})),{props:{color:"inherit"},style:{color:"inherit",borderColor:"currentColor","--variant-containedBg":t.vars?t.vars.palette.Button.inheritContainedBg:r,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":t.vars?t.vars.palette.Button.inheritContainedHoverBg:o,"--variant-textBg":t.vars?`rgba(${t.vars.palette.text.primaryChannel} / ${t.vars.palette.action.hoverOpacity})`:$t(t.palette.text.primary,t.palette.action.hoverOpacity),"--variant-outlinedBg":t.vars?`rgba(${t.vars.palette.text.primaryChannel} / ${t.vars.palette.action.hoverOpacity})`:$t(t.palette.text.primary,t.palette.action.hoverOpacity)}}}},{props:{size:"small",variant:"text"},style:{padding:"4px 5px",fontSize:t.typography.pxToRem(13)}},{props:{size:"large",variant:"text"},style:{padding:"8px 11px",fontSize:t.typography.pxToRem(15)}},{props:{size:"small",variant:"outlined"},style:{padding:"3px 9px",fontSize:t.typography.pxToRem(13)}},{props:{size:"large",variant:"outlined"},style:{padding:"7px 21px",fontSize:t.typography.pxToRem(15)}},{props:{size:"small",variant:"contained"},style:{padding:"4px 10px",fontSize:t.typography.pxToRem(13)}},{props:{size:"large",variant:"contained"},style:{padding:"8px 22px",fontSize:t.typography.pxToRem(15)}},{props:{disableElevation:!0},style:{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${No.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${No.disabled}`]:{boxShadow:"none"}}},{props:{fullWidth:!0},style:{width:"100%"}}]}})),Lw=de("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(t,r)=>{const{ownerState:o}=t;return[r.startIcon,r[`iconSize${he(o.size)}`]]}})({display:"inherit",marginRight:8,marginLeft:-4,variants:[{props:{size:"small"},style:{marginLeft:-2}},...ny]}),jw=de("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(t,r)=>{const{ownerState:o}=t;return[r.endIcon,r[`iconSize${he(o.size)}`]]}})({display:"inherit",marginRight:-4,marginLeft:8,variants:[{props:{size:"small"},style:{marginRight:-2}},...ny]}),Un=S.forwardRef(function(r,o){const s=S.useContext(Mw),a=S.useContext(Ow),u=Xi(s,r),d=Me({props:u,name:"MuiButton"}),{children:p,color:m="primary",component:h="button",className:v,disabled:y=!1,disableElevation:w=!1,disableFocusRipple:E=!1,endIcon:b,focusVisibleClassName:C,fullWidth:T=!1,size:N="medium",startIcon:j,type:P,variant:$="text",...O}=d,B={...d,color:m,component:h,disabled:y,disableElevation:w,disableFocusRipple:E,fullWidth:T,size:N,type:P,variant:$},F=Nw(B),W=j&&k.jsx(Lw,{className:F.startIcon,ownerState:B,children:j}),V=b&&k.jsx(jw,{className:F.endIcon,ownerState:B,children:b}),x=a||"";return k.jsxs(Aw,{ownerState:B,className:Se(s.className,F.root,v,x),component:h,disabled:y,focusRipple:!E,focusVisibleClassName:Se(F.focusVisible,C),ref:o,type:P,...O,classes:F,children:[W,p,V]})});function _w(t){return Ie("MuiPaper",t)}Pe("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"]);const zw=t=>{const{square:r,elevation:o,variant:s,classes:a}=t,u={root:["root",s,!r&&"rounded",s==="elevation"&&`elevation${o}`]};return Ne(u,_w,a)},Bw=de("div",{name:"MuiPaper",slot:"Root",overridesResolver:(t,r)=>{const{ownerState:o}=t;return[r.root,r[o.variant],!o.square&&r.rounded,o.variant==="elevation"&&r[`elevation${o.elevation}`]]}})(Je(({theme:t})=>({backgroundColor:(t.vars||t).palette.background.paper,color:(t.vars||t).palette.text.primary,transition:t.transitions.create("box-shadow"),variants:[{props:({ownerState:r})=>!r.square,style:{borderRadius:t.shape.borderRadius}},{props:{variant:"outlined"},style:{border:`1px solid ${(t.vars||t).palette.divider}`}},{props:{variant:"elevation"},style:{boxShadow:"var(--Paper-shadow)",backgroundImage:"var(--Paper-overlay)"}}]}))),cs=S.forwardRef(function(r,o){var E;const s=Me({props:r,name:"MuiPaper"}),a=ra(),{className:u,component:d="div",elevation:p=1,square:m=!1,variant:h="elevation",...v}=s,y={...s,component:d,elevation:p,square:m,variant:h},w=zw(y);return k.jsx(Bw,{as:d,ownerState:y,className:Se(w.root,u),ref:o,...v,style:{...h==="elevation"&&{"--Paper-shadow":(a.vars||a).shadows[p],...a.vars&&{"--Paper-overlay":(E=a.vars.overlays)==null?void 0:E[p]},...!a.vars&&a.palette.mode==="dark"&&{"--Paper-overlay":`linear-gradient(${$t("#fff",bc(p))}, ${$t("#fff",bc(p))})`}},...v.style}})});function Fw(t){return Ie("MuiCard",t)}Pe("MuiCard",["root"]);const Dw=t=>{const{classes:r}=t;return Ne({root:["root"]},Fw,r)},Ww=de(cs,{name:"MuiCard",slot:"Root",overridesResolver:(t,r)=>r.root})({overflow:"hidden"}),Xr=S.forwardRef(function(r,o){const s=Me({props:r,name:"MuiCard"}),{className:a,raised:u=!1,...d}=s,p={...s,raised:u},m=Dw(p);return k.jsx(Ww,{className:Se(m.root,a),elevation:u?8:void 0,ref:o,ownerState:p,...d})});function Uw(t){return Ie("MuiCardContent",t)}Pe("MuiCardContent",["root"]);const Hw=t=>{const{classes:r}=t;return Ne({root:["root"]},Uw,r)},Vw=de("div",{name:"MuiCardContent",slot:"Root",overridesResolver:(t,r)=>r.root})({padding:16,"&:last-child":{paddingBottom:24}}),Jr=S.forwardRef(function(r,o){const s=Me({props:r,name:"MuiCardContent"}),{className:a,component:u="div",...d}=s,p={...s,component:u},m=Hw(p);return k.jsx(Vw,{as:u,className:Se(m.root,a),ownerState:p,ref:o,...d})}),ds=cS({createStyledComponent:de("div",{name:"MuiContainer",slot:"Root",overridesResolver:(t,r)=>{const{ownerState:o}=t;return[r.root,r[`maxWidth${he(String(o.maxWidth))}`],o.fixed&&r.fixed,o.disableGutters&&r.disableGutters]}}),useThemeProps:t=>Me({props:t,name:"MuiContainer"})});function Rl(t){return parseInt(t,10)||0}const Kw={shadow:{visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"}};function Gw(t){return t==null||Object.keys(t).length===0||t.outerHeightStyle===0&&!t.overflowing}const Qw=S.forwardRef(function(r,o){const{onChange:s,maxRows:a,minRows:u=1,style:d,value:p,...m}=r,{current:h}=S.useRef(p!=null),v=S.useRef(null),y=Nt(o,v),w=S.useRef(null),E=S.useRef(null),b=S.useCallback(()=>{const N=v.current,P=rr(N).getComputedStyle(N);if(P.width==="0px")return{outerHeightStyle:0,overflowing:!1};const $=E.current;$.style.width=P.width,$.value=N.value||r.placeholder||"x",$.value.slice(-1)===`
|
||
`&&($.value+=" ");const O=P.boxSizing,B=Rl(P.paddingBottom)+Rl(P.paddingTop),F=Rl(P.borderBottomWidth)+Rl(P.borderTopWidth),W=$.scrollHeight;$.value="x";const V=$.scrollHeight;let x=W;u&&(x=Math.max(Number(u)*V,x)),a&&(x=Math.min(Number(a)*V,x)),x=Math.max(x,V);const D=x+(O==="border-box"?B+F:0),ee=Math.abs(x-W)<=1;return{outerHeightStyle:D,overflowing:ee}},[a,u,r.placeholder]),C=S.useCallback(()=>{const N=b();if(Gw(N))return;const j=N.outerHeightStyle,P=v.current;w.current!==j&&(w.current=j,P.style.height=`${j}px`),P.style.overflow=N.overflowing?"hidden":""},[b]);Hn(()=>{const N=()=>{C()};let j;const P=xg(N),$=v.current,O=rr($);O.addEventListener("resize",P);let B;return typeof ResizeObserver<"u"&&(B=new ResizeObserver(N),B.observe($)),()=>{P.clear(),cancelAnimationFrame(j),O.removeEventListener("resize",P),B&&B.disconnect()}},[b,C]),Hn(()=>{C()});const T=N=>{h||C(),s&&s(N)};return k.jsxs(S.Fragment,{children:[k.jsx("textarea",{value:p,onChange:T,ref:y,rows:u,style:d,...m}),k.jsx("textarea",{"aria-hidden":!0,className:r.className,readOnly:!0,ref:E,tabIndex:-1,style:{...Kw.shadow,...d,paddingTop:0,paddingBottom:0}})]})});function Mc(t){return typeof t=="string"}function Ko({props:t,states:r,muiFormControl:o}){return r.reduce((s,a)=>(s[a]=t[a],o&&typeof t[a]>"u"&&(s[a]=o[a]),s),{})}const md=S.createContext(void 0);function Go(){return S.useContext(md)}function gh(t){return t!=null&&!(Array.isArray(t)&&t.length===0)}function Fl(t,r=!1){return t&&(gh(t.value)&&t.value!==""||r&&gh(t.defaultValue)&&t.defaultValue!=="")}function qw(t){return t.startAdornment}function Yw(t){return Ie("MuiInputBase",t)}const Do=Pe("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]);var yh;const ia=(t,r)=>{const{ownerState:o}=t;return[r.root,o.formControl&&r.formControl,o.startAdornment&&r.adornedStart,o.endAdornment&&r.adornedEnd,o.error&&r.error,o.size==="small"&&r.sizeSmall,o.multiline&&r.multiline,o.color&&r[`color${he(o.color)}`],o.fullWidth&&r.fullWidth,o.hiddenLabel&&r.hiddenLabel]},sa=(t,r)=>{const{ownerState:o}=t;return[r.input,o.size==="small"&&r.inputSizeSmall,o.multiline&&r.inputMultiline,o.type==="search"&&r.inputTypeSearch,o.startAdornment&&r.inputAdornedStart,o.endAdornment&&r.inputAdornedEnd,o.hiddenLabel&&r.inputHiddenLabel]},Xw=t=>{const{classes:r,color:o,disabled:s,error:a,endAdornment:u,focused:d,formControl:p,fullWidth:m,hiddenLabel:h,multiline:v,readOnly:y,size:w,startAdornment:E,type:b}=t,C={root:["root",`color${he(o)}`,s&&"disabled",a&&"error",m&&"fullWidth",d&&"focused",p&&"formControl",w&&w!=="medium"&&`size${he(w)}`,v&&"multiline",E&&"adornedStart",u&&"adornedEnd",h&&"hiddenLabel",y&&"readOnly"],input:["input",s&&"disabled",b==="search"&&"inputTypeSearch",v&&"inputMultiline",w==="small"&&"inputSizeSmall",h&&"inputHiddenLabel",E&&"inputAdornedStart",u&&"inputAdornedEnd",y&&"readOnly"]};return Ne(C,Yw,r)},la=de("div",{name:"MuiInputBase",slot:"Root",overridesResolver:ia})(Je(({theme:t})=>({...t.typography.body1,color:(t.vars||t).palette.text.primary,lineHeight:"1.4375em",boxSizing:"border-box",position:"relative",cursor:"text",display:"inline-flex",alignItems:"center",[`&.${Do.disabled}`]:{color:(t.vars||t).palette.text.disabled,cursor:"default"},variants:[{props:({ownerState:r})=>r.multiline,style:{padding:"4px 0 5px"}},{props:({ownerState:r,size:o})=>r.multiline&&o==="small",style:{paddingTop:1}},{props:({ownerState:r})=>r.fullWidth,style:{width:"100%"}}]}))),aa=de("input",{name:"MuiInputBase",slot:"Input",overridesResolver:sa})(Je(({theme:t})=>{const r=t.palette.mode==="light",o={color:"currentColor",...t.vars?{opacity:t.vars.opacity.inputPlaceholder}:{opacity:r?.42:.5},transition:t.transitions.create("opacity",{duration:t.transitions.duration.shorter})},s={opacity:"0 !important"},a=t.vars?{opacity:t.vars.opacity.inputPlaceholder}:{opacity:r?.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] + .${Do.formControl} &`]:{"&::-webkit-input-placeholder":s,"&::-moz-placeholder":s,"&::-ms-input-placeholder":s,"&:focus::-webkit-input-placeholder":a,"&:focus::-moz-placeholder":a,"&:focus::-ms-input-placeholder":a},[`&.${Do.disabled}`]:{opacity:1,WebkitTextFillColor:(t.vars||t).palette.text.disabled},variants:[{props:({ownerState:u})=>!u.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:u})=>u.multiline,style:{height:"auto",resize:"none",padding:0,paddingTop:0}},{props:{type:"search"},style:{MozAppearance:"textfield"}}]}})),vh=sd({"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}),hd=S.forwardRef(function(r,o){const s=Me({props:r,name:"MuiInputBase"}),{"aria-describedby":a,autoComplete:u,autoFocus:d,className:p,color:m,components:h={},componentsProps:v={},defaultValue:y,disabled:w,disableInjectingGlobalStyles:E,endAdornment:b,error:C,fullWidth:T=!1,id:N,inputComponent:j="input",inputProps:P={},inputRef:$,margin:O,maxRows:B,minRows:F,multiline:W=!1,name:V,onBlur:x,onChange:D,onClick:ee,onFocus:J,onKeyDown:re,onKeyUp:Q,placeholder:Z,readOnly:oe,renderSuffix:K,rows:G,size:ne,slotProps:M={},slots:U={},startAdornment:ie,type:le="text",value:ce,...ge}=s,be=P.value!=null?P.value:ce,{current:Ee}=S.useRef(be!=null),we=S.useRef(),ye=S.useCallback(Oe=>{},[]),Ae=Nt(we,$,P.ref,ye),[Te,He]=S.useState(!1),Re=Go(),De=Ko({props:s,muiFormControl:Re,states:["color","disabled","error","hiddenLabel","size","required","filled"]});De.focused=Re?Re.focused:Te,S.useEffect(()=>{!Re&&w&&Te&&(He(!1),x&&x())},[Re,w,Te,x]);const wt=Re&&Re.onFilled,st=Re&&Re.onEmpty,Le=S.useCallback(Oe=>{Fl(Oe)?wt&&wt():st&&st()},[wt,st]);Hn(()=>{Ee&&Le({value:be})},[be,Le,Ee]);const yt=Oe=>{J&&J(Oe),P.onFocus&&P.onFocus(Oe),Re&&Re.onFocus?Re.onFocus(Oe):He(!0)},Ze=Oe=>{x&&x(Oe),P.onBlur&&P.onBlur(Oe),Re&&Re.onBlur?Re.onBlur(Oe):He(!1)},Ve=(Oe,...xt)=>{if(!Ee){const Et=Oe.target||we.current;if(Et==null)throw new Error(nr(1));Le({value:Et.value})}P.onChange&&P.onChange(Oe,...xt),D&&D(Oe,...xt)};S.useEffect(()=>{Le(we.current)},[]);const me=Oe=>{we.current&&Oe.currentTarget===Oe.target&&we.current.focus(),ee&&ee(Oe)};let nn=j,vt=P;W&&nn==="input"&&(G?vt={type:void 0,minRows:G,maxRows:G,...vt}:vt={type:void 0,maxRows:B,minRows:F,...vt},nn=Qw);const rn=Oe=>{Le(Oe.animationName==="mui-auto-fill-cancel"?we.current:{value:"x"})};S.useEffect(()=>{Re&&Re.setAdornedStart(!!ie)},[Re,ie]);const vn={...s,color:De.color||"primary",disabled:De.disabled,endAdornment:b,error:De.error,focused:De.focused,formControl:Re,fullWidth:T,hiddenLabel:De.hiddenLabel,multiline:W,size:De.size,startAdornment:ie,type:le},on=Xw(vn),Ge=U.root||h.Root||la,rt=M.root||v.root||{},Qe=U.input||h.Input||aa;return vt={...vt,...M.input??v.input},k.jsxs(S.Fragment,{children:[!E&&typeof vh=="function"&&(yh||(yh=k.jsx(vh,{}))),k.jsxs(Ge,{...rt,ref:o,onClick:me,...ge,...!Mc(Ge)&&{ownerState:{...vn,...rt.ownerState}},className:Se(on.root,rt.className,p,oe&&"MuiInputBase-readOnly"),children:[ie,k.jsx(md.Provider,{value:null,children:k.jsx(Qe,{"aria-invalid":De.error,"aria-describedby":a,autoComplete:u,autoFocus:d,defaultValue:y,disabled:De.disabled,id:N,onAnimationStart:rn,name:V,placeholder:Z,readOnly:oe,required:De.required,rows:G,value:be,onKeyDown:re,onKeyUp:Q,type:le,...vt,...!Mc(Qe)&&{as:nn,ownerState:{...vn,...vt.ownerState}},ref:Ae,className:Se(on.input,vt.className,oe&&"MuiInputBase-readOnly"),onBlur:Ze,onChange:Ve,onFocus:yt})}),b,K?K({...De,startAdornment:ie}):null]})]})});function Jw(t){return Ie("MuiInput",t)}const Li={...Do,...Pe("MuiInput",["root","underline","input"])},Zw=t=>{const{classes:r,disableUnderline:o}=t,a=Ne({root:["root",!o&&"underline"],input:["input"]},Jw,r);return{...r,...a}},eb=de(la,{shouldForwardProp:t=>yn(t)||t==="classes",name:"MuiInput",slot:"Root",overridesResolver:(t,r)=>{const{ownerState:o}=t;return[...ia(t,r),!o.disableUnderline&&r.underline]}})(Je(({theme:t})=>{let o=t.palette.mode==="light"?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)";return t.vars&&(o=`rgba(${t.vars.palette.common.onBackgroundChannel} / ${t.vars.opacity.inputUnderline})`),{position:"relative",variants:[{props:({ownerState:s})=>s.formControl,style:{"label + &":{marginTop:16}}},{props:({ownerState:s})=>!s.disableUnderline,style:{"&::after":{left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:t.transitions.create("transform",{duration:t.transitions.duration.shorter,easing:t.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${Li.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${Li.error}`]:{"&::before, &::after":{borderBottomColor:(t.vars||t).palette.error.main}},"&::before":{borderBottom:`1px solid ${o}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:t.transitions.create("border-bottom-color",{duration:t.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${Li.disabled}, .${Li.error}):before`]:{borderBottom:`2px solid ${(t.vars||t).palette.text.primary}`,"@media (hover: none)":{borderBottom:`1px solid ${o}`}},[`&.${Li.disabled}:before`]:{borderBottomStyle:"dotted"}}},...Object.entries(t.palette).filter(mn()).map(([s])=>({props:{color:s,disableUnderline:!1},style:{"&::after":{borderBottom:`2px solid ${(t.vars||t).palette[s].main}`}}}))]}})),tb=de(aa,{name:"MuiInput",slot:"Input",overridesResolver:sa})({}),gd=S.forwardRef(function(r,o){const s=Me({props:r,name:"MuiInput"}),{disableUnderline:a=!1,components:u={},componentsProps:d,fullWidth:p=!1,inputComponent:m="input",multiline:h=!1,slotProps:v,slots:y={},type:w="text",...E}=s,b=Zw(s),T={root:{ownerState:{disableUnderline:a}}},N=v??d?Bt(v??d,T):T,j=y.root??u.Root??eb,P=y.input??u.Input??tb;return k.jsx(hd,{slots:{root:j,input:P},slotProps:N,fullWidth:p,inputComponent:m,multiline:h,ref:o,type:w,...E,classes:b})});gd.muiName="Input";function nb(t){return Ie("MuiFilledInput",t)}const Vr={...Do,...Pe("MuiFilledInput",["root","underline","input","adornedStart","adornedEnd","sizeSmall","multiline","hiddenLabel"])};function rb(t){return Ie("MuiSvgIcon",t)}Pe("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const ob=t=>{const{color:r,fontSize:o,classes:s}=t,a={root:["root",r!=="inherit"&&`color${he(r)}`,`fontSize${he(o)}`]};return Ne(a,rb,s)},ib=de("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(t,r)=>{const{ownerState:o}=t;return[r.root,o.color!=="inherit"&&r[`color${he(o.color)}`],r[`fontSize${he(o.fontSize)}`]]}})(Je(({theme:t})=>{var r,o,s,a,u,d,p,m,h,v,y,w,E,b;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",flexShrink:0,transition:(a=(r=t.transitions)==null?void 0:r.create)==null?void 0:a.call(r,"fill",{duration:(s=(o=(t.vars??t).transitions)==null?void 0:o.duration)==null?void 0:s.shorter}),variants:[{props:C=>!C.hasSvgAsChild,style:{fill:"currentColor"}},{props:{fontSize:"inherit"},style:{fontSize:"inherit"}},{props:{fontSize:"small"},style:{fontSize:((d=(u=t.typography)==null?void 0:u.pxToRem)==null?void 0:d.call(u,20))||"1.25rem"}},{props:{fontSize:"medium"},style:{fontSize:((m=(p=t.typography)==null?void 0:p.pxToRem)==null?void 0:m.call(p,24))||"1.5rem"}},{props:{fontSize:"large"},style:{fontSize:((v=(h=t.typography)==null?void 0:h.pxToRem)==null?void 0:v.call(h,35))||"2.1875rem"}},...Object.entries((t.vars??t).palette).filter(([,C])=>C&&C.main).map(([C])=>{var T,N;return{props:{color:C},style:{color:(N=(T=(t.vars??t).palette)==null?void 0:T[C])==null?void 0:N.main}}}),{props:{color:"action"},style:{color:(w=(y=(t.vars??t).palette)==null?void 0:y.action)==null?void 0:w.active}},{props:{color:"disabled"},style:{color:(b=(E=(t.vars??t).palette)==null?void 0:E.action)==null?void 0:b.disabled}},{props:{color:"inherit"},style:{color:void 0}}]}})),Oc=S.forwardRef(function(r,o){const s=Me({props:r,name:"MuiSvgIcon"}),{children:a,className:u,color:d="inherit",component:p="svg",fontSize:m="medium",htmlColor:h,inheritViewBox:v=!1,titleAccess:y,viewBox:w="0 0 24 24",...E}=s,b=S.isValidElement(a)&&a.type==="svg",C={...s,color:d,component:p,fontSize:m,instanceFontSize:r.fontSize,inheritViewBox:v,viewBox:w,hasSvgAsChild:b},T={};v||(T.viewBox=w);const N=ob(C);return k.jsxs(ib,{as:p,className:Se(N.root,u),focusable:"false",color:h,"aria-hidden":y?void 0:!0,role:y?"img":void 0,ref:o,...T,...E,...b&&a.props,ownerState:C,children:[b?a.props.children:a,y?k.jsx("title",{children:y}):null]})});Oc.muiName="SvgIcon";function eo(t,r){function o(s,a){return k.jsx(Oc,{"data-testid":`${r}Icon`,ref:a,...s,children:t})}return o.muiName=Oc.muiName,S.memo(S.forwardRef(o))}const sb=t=>{const{classes:r,disableUnderline:o,startAdornment:s,endAdornment:a,size:u,hiddenLabel:d,multiline:p}=t,m={root:["root",!o&&"underline",s&&"adornedStart",a&&"adornedEnd",u==="small"&&`size${he(u)}`,d&&"hiddenLabel",p&&"multiline"],input:["input"]},h=Ne(m,nb,r);return{...r,...h}},lb=de(la,{shouldForwardProp:t=>yn(t)||t==="classes",name:"MuiFilledInput",slot:"Root",overridesResolver:(t,r)=>{const{ownerState:o}=t;return[...ia(t,r),!o.disableUnderline&&r.underline]}})(Je(({theme:t})=>{const r=t.palette.mode==="light",o=r?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)",s=r?"rgba(0, 0, 0, 0.06)":"rgba(255, 255, 255, 0.09)",a=r?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.13)",u=r?"rgba(0, 0, 0, 0.12)":"rgba(255, 255, 255, 0.12)";return{position:"relative",backgroundColor:t.vars?t.vars.palette.FilledInput.bg:s,borderTopLeftRadius:(t.vars||t).shape.borderRadius,borderTopRightRadius:(t.vars||t).shape.borderRadius,transition:t.transitions.create("background-color",{duration:t.transitions.duration.shorter,easing:t.transitions.easing.easeOut}),"&:hover":{backgroundColor:t.vars?t.vars.palette.FilledInput.hoverBg:a,"@media (hover: none)":{backgroundColor:t.vars?t.vars.palette.FilledInput.bg:s}},[`&.${Vr.focused}`]:{backgroundColor:t.vars?t.vars.palette.FilledInput.bg:s},[`&.${Vr.disabled}`]:{backgroundColor:t.vars?t.vars.palette.FilledInput.disabledBg:u},variants:[{props:({ownerState:d})=>!d.disableUnderline,style:{"&::after":{left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:t.transitions.create("transform",{duration:t.transitions.duration.shorter,easing:t.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${Vr.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${Vr.error}`]:{"&::before, &::after":{borderBottomColor:(t.vars||t).palette.error.main}},"&::before":{borderBottom:`1px solid ${t.vars?`rgba(${t.vars.palette.common.onBackgroundChannel} / ${t.vars.opacity.inputUnderline})`:o}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:t.transitions.create("border-bottom-color",{duration:t.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${Vr.disabled}, .${Vr.error}):before`]:{borderBottom:`1px solid ${(t.vars||t).palette.text.primary}`},[`&.${Vr.disabled}:before`]:{borderBottomStyle:"dotted"}}},...Object.entries(t.palette).filter(mn()).map(([d])=>{var p;return{props:{disableUnderline:!1,color:d},style:{"&::after":{borderBottom:`2px solid ${(p=(t.vars||t).palette[d])==null?void 0:p.main}`}}}}),{props:({ownerState:d})=>d.startAdornment,style:{paddingLeft:12}},{props:({ownerState:d})=>d.endAdornment,style:{paddingRight:12}},{props:({ownerState:d})=>d.multiline,style:{padding:"25px 12px 8px"}},{props:({ownerState:d,size:p})=>d.multiline&&p==="small",style:{paddingTop:21,paddingBottom:4}},{props:({ownerState:d})=>d.multiline&&d.hiddenLabel,style:{paddingTop:16,paddingBottom:17}},{props:({ownerState:d})=>d.multiline&&d.hiddenLabel&&d.size==="small",style:{paddingTop:8,paddingBottom:9}}]}})),ab=de(aa,{name:"MuiFilledInput",slot:"Input",overridesResolver:sa})(Je(({theme:t})=>({paddingTop:25,paddingRight:12,paddingBottom:8,paddingLeft:12,...!t.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:t.palette.mode==="light"?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:t.palette.mode==="light"?null:"#fff",caretColor:t.palette.mode==="light"?null:"#fff",borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"}},...t.vars&&{"&:-webkit-autofill":{borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"},[t.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:r})=>r.hiddenLabel,style:{paddingTop:16,paddingBottom:17}},{props:({ownerState:r})=>r.startAdornment,style:{paddingLeft:0}},{props:({ownerState:r})=>r.endAdornment,style:{paddingRight:0}},{props:({ownerState:r})=>r.hiddenLabel&&r.size==="small",style:{paddingTop:8,paddingBottom:9}},{props:({ownerState:r})=>r.multiline,style:{paddingTop:0,paddingBottom:0,paddingLeft:0,paddingRight:0}}]}))),yd=S.forwardRef(function(r,o){const s=Me({props:r,name:"MuiFilledInput"}),{disableUnderline:a=!1,components:u={},componentsProps:d,fullWidth:p=!1,hiddenLabel:m,inputComponent:h="input",multiline:v=!1,slotProps:y,slots:w={},type:E="text",...b}=s,C={...s,disableUnderline:a,fullWidth:p,inputComponent:h,multiline:v,type:E},T=sb(s),N={root:{ownerState:C},input:{ownerState:C}},j=y??d?Bt(N,y??d):N,P=w.root??u.Root??lb,$=w.input??u.Input??ab;return k.jsx(hd,{slots:{root:P,input:$},slotProps:j,fullWidth:p,inputComponent:h,multiline:v,ref:o,type:E,...b,classes:T})});yd.muiName="Input";var xh;const ub=de("fieldset",{shouldForwardProp:yn})({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%"}),cb=de("legend",{shouldForwardProp:yn})(Je(({theme:t})=>({float:"unset",width:"auto",overflow:"hidden",variants:[{props:({ownerState:r})=>!r.withLabel,style:{padding:0,lineHeight:"11px",transition:t.transitions.create("width",{duration:150,easing:t.transitions.easing.easeOut})}},{props:({ownerState:r})=>r.withLabel,style:{display:"block",padding:0,height:11,fontSize:"0.75em",visibility:"hidden",maxWidth:.01,transition:t.transitions.create("max-width",{duration:50,easing:t.transitions.easing.easeOut}),whiteSpace:"nowrap","& > span":{paddingLeft:5,paddingRight:5,display:"inline-block",opacity:0,visibility:"visible"}}},{props:({ownerState:r})=>r.withLabel&&r.notched,style:{maxWidth:"100%",transition:t.transitions.create("max-width",{duration:100,easing:t.transitions.easing.easeOut,delay:50})}}]})));function db(t){const{children:r,classes:o,className:s,label:a,notched:u,...d}=t,p=a!=null&&a!=="",m={...t,notched:u,withLabel:p};return k.jsx(ub,{"aria-hidden":!0,className:s,ownerState:m,...d,children:k.jsx(cb,{ownerState:m,children:p?k.jsx("span",{children:a}):xh||(xh=k.jsx("span",{className:"notranslate","aria-hidden":!0,children:""}))})})}function fb(t){return Ie("MuiOutlinedInput",t)}const jn={...Do,...Pe("MuiOutlinedInput",["root","notchedOutline","input"])},pb=t=>{const{classes:r}=t,s=Ne({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},fb,r);return{...r,...s}},mb=de(la,{shouldForwardProp:t=>yn(t)||t==="classes",name:"MuiOutlinedInput",slot:"Root",overridesResolver:ia})(Je(({theme:t})=>{const r=t.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{position:"relative",borderRadius:(t.vars||t).shape.borderRadius,[`&:hover .${jn.notchedOutline}`]:{borderColor:(t.vars||t).palette.text.primary},"@media (hover: none)":{[`&:hover .${jn.notchedOutline}`]:{borderColor:t.vars?`rgba(${t.vars.palette.common.onBackgroundChannel} / 0.23)`:r}},[`&.${jn.focused} .${jn.notchedOutline}`]:{borderWidth:2},variants:[...Object.entries(t.palette).filter(mn()).map(([o])=>({props:{color:o},style:{[`&.${jn.focused} .${jn.notchedOutline}`]:{borderColor:(t.vars||t).palette[o].main}}})),{props:{},style:{[`&.${jn.error} .${jn.notchedOutline}`]:{borderColor:(t.vars||t).palette.error.main},[`&.${jn.disabled} .${jn.notchedOutline}`]:{borderColor:(t.vars||t).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:s})=>o.multiline&&s==="small",style:{padding:"8.5px 14px"}}]}})),hb=de(db,{name:"MuiOutlinedInput",slot:"NotchedOutline",overridesResolver:(t,r)=>r.notchedOutline})(Je(({theme:t})=>{const r=t.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{borderColor:t.vars?`rgba(${t.vars.palette.common.onBackgroundChannel} / 0.23)`:r}})),gb=de(aa,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:sa})(Je(({theme:t})=>({padding:"16.5px 14px",...!t.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:t.palette.mode==="light"?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:t.palette.mode==="light"?null:"#fff",caretColor:t.palette.mode==="light"?null:"#fff",borderRadius:"inherit"}},...t.vars&&{"&:-webkit-autofill":{borderRadius:"inherit"},[t.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:r})=>r.multiline,style:{padding:0}},{props:({ownerState:r})=>r.startAdornment,style:{paddingLeft:0}},{props:({ownerState:r})=>r.endAdornment,style:{paddingRight:0}}]}))),vd=S.forwardRef(function(r,o){var s;const a=Me({props:r,name:"MuiOutlinedInput"}),{components:u={},fullWidth:d=!1,inputComponent:p="input",label:m,multiline:h=!1,notched:v,slots:y={},type:w="text",...E}=a,b=pb(a),C=Go(),T=Ko({props:a,muiFormControl:C,states:["color","disabled","error","focused","hiddenLabel","size","required"]}),N={...a,color:T.color||"primary",disabled:T.disabled,error:T.error,focused:T.focused,formControl:C,fullWidth:d,hiddenLabel:T.hiddenLabel,multiline:h,size:T.size,type:w},j=y.root??u.Root??mb,P=y.input??u.Input??gb;return k.jsx(hd,{slots:{root:j,input:P},renderSuffix:$=>k.jsx(hb,{ownerState:N,className:b.notchedOutline,label:m!=null&&m!==""&&T.required?s||(s=k.jsxs(S.Fragment,{children:[m," ","*"]})):m,notched:typeof v<"u"?v:!!($.startAdornment||$.filled||$.focused)}),fullWidth:d,inputComponent:p,multiline:h,ref:o,type:w,...E,classes:{...b,notchedOutline:null}})});vd.muiName="Input";function yb(t){return Ie("MuiFormLabel",t)}const Ki=Pe("MuiFormLabel",["root","colorSecondary","focused","disabled","error","filled","required","asterisk"]),vb=t=>{const{classes:r,color:o,focused:s,disabled:a,error:u,filled:d,required:p}=t,m={root:["root",`color${he(o)}`,a&&"disabled",u&&"error",d&&"filled",s&&"focused",p&&"required"],asterisk:["asterisk",u&&"error"]};return Ne(m,yb,r)},xb=de("label",{name:"MuiFormLabel",slot:"Root",overridesResolver:(t,r)=>{const{ownerState:o}=t;return[r.root,o.color==="secondary"&&r.colorSecondary,o.filled&&r.filled]}})(Je(({theme:t})=>({color:(t.vars||t).palette.text.secondary,...t.typography.body1,lineHeight:"1.4375em",padding:0,position:"relative",variants:[...Object.entries(t.palette).filter(mn()).map(([r])=>({props:{color:r},style:{[`&.${Ki.focused}`]:{color:(t.vars||t).palette[r].main}}})),{props:{},style:{[`&.${Ki.disabled}`]:{color:(t.vars||t).palette.text.disabled},[`&.${Ki.error}`]:{color:(t.vars||t).palette.error.main}}}]}))),Sb=de("span",{name:"MuiFormLabel",slot:"Asterisk",overridesResolver:(t,r)=>r.asterisk})(Je(({theme:t})=>({[`&.${Ki.error}`]:{color:(t.vars||t).palette.error.main}}))),Cb=S.forwardRef(function(r,o){const s=Me({props:r,name:"MuiFormLabel"}),{children:a,className:u,color:d,component:p="label",disabled:m,error:h,filled:v,focused:y,required:w,...E}=s,b=Go(),C=Ko({props:s,muiFormControl:b,states:["color","required","focused","disabled","error","filled"]}),T={...s,color:C.color||"primary",component:p,disabled:C.disabled,error:C.error,filled:C.filled,focused:C.focused,required:C.required},N=vb(T);return k.jsxs(xb,{as:p,ownerState:T,className:Se(N.root,u),ref:o,...E,children:[a,C.required&&k.jsxs(Sb,{ownerState:T,"aria-hidden":!0,className:N.asterisk,children:[" ","*"]})]})});function wb(t){return Ie("MuiInputLabel",t)}Pe("MuiInputLabel",["root","focused","disabled","error","required","asterisk","formControl","sizeSmall","shrink","animated","standard","filled","outlined"]);const bb=t=>{const{classes:r,formControl:o,size:s,shrink:a,disableAnimation:u,variant:d,required:p}=t,m={root:["root",o&&"formControl",!u&&"animated",a&&"shrink",s&&s!=="normal"&&`size${he(s)}`,d],asterisk:[p&&"asterisk"]},h=Ne(m,wb,r);return{...r,...h}},kb=de(Cb,{shouldForwardProp:t=>yn(t)||t==="classes",name:"MuiInputLabel",slot:"Root",overridesResolver:(t,r)=>{const{ownerState:o}=t;return[{[`& .${Ki.asterisk}`]:r.asterisk},r.root,o.formControl&&r.formControl,o.size==="small"&&r.sizeSmall,o.shrink&&r.shrink,!o.disableAnimation&&r.animated,o.focused&&r.focused,r[o.variant]]}})(Je(({theme:t})=>({display:"block",transformOrigin:"top left",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",maxWidth:"100%",variants:[{props:({ownerState:r})=>r.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:r})=>r.shrink,style:{transform:"translate(0, -1.5px) scale(0.75)",transformOrigin:"top left",maxWidth:"133%"}},{props:({ownerState:r})=>!r.disableAnimation,style:{transition:t.transitions.create(["color","transform","max-width"],{duration:t.transitions.duration.shorter,easing:t.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:r,ownerState:o})=>r==="filled"&&o.shrink,style:{userSelect:"none",pointerEvents:"auto",transform:"translate(12px, 7px) scale(0.75)",maxWidth:"calc(133% - 24px)"}},{props:({variant:r,ownerState:o,size:s})=>r==="filled"&&o.shrink&&s==="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:r,ownerState:o})=>r==="outlined"&&o.shrink,style:{userSelect:"none",pointerEvents:"auto",maxWidth:"calc(133% - 32px)",transform:"translate(14px, -9px) scale(0.75)"}}]}))),ry=S.forwardRef(function(r,o){const s=Me({name:"MuiInputLabel",props:r}),{disableAnimation:a=!1,margin:u,shrink:d,variant:p,className:m,...h}=s,v=Go();let y=d;typeof y>"u"&&v&&(y=v.filled||v.focused||v.adornedStart);const w=Ko({props:s,muiFormControl:v,states:["size","variant","required","focused"]}),E={...s,disableAnimation:a,formControl:v,shrink:y,size:w.size,variant:w.variant,required:w.required,focused:w.focused},b=bb(E);return k.jsx(kb,{"data-shrink":y,ref:o,className:Se(b.root,m),...h,ownerState:E,classes:b})});function Eb(t){return Ie("MuiFormControl",t)}Pe("MuiFormControl",["root","marginNone","marginNormal","marginDense","fullWidth","disabled"]);const Rb=t=>{const{classes:r,margin:o,fullWidth:s}=t,a={root:["root",o!=="none"&&`margin${he(o)}`,s&&"fullWidth"]};return Ne(a,Eb,r)},Tb=de("div",{name:"MuiFormControl",slot:"Root",overridesResolver:(t,r)=>{const{ownerState:o}=t;return[r.root,r[`margin${he(o.margin)}`],o.fullWidth&&r.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%"}}]}),oy=S.forwardRef(function(r,o){const s=Me({props:r,name:"MuiFormControl"}),{children:a,className:u,color:d="primary",component:p="div",disabled:m=!1,error:h=!1,focused:v,fullWidth:y=!1,hiddenLabel:w=!1,margin:E="none",required:b=!1,size:C="medium",variant:T="outlined",...N}=s,j={...s,color:d,component:p,disabled:m,error:h,fullWidth:y,hiddenLabel:w,margin:E,required:b,size:C,variant:T},P=Rb(j),[$,O]=S.useState(()=>{let J=!1;return a&&S.Children.forEach(a,re=>{if(!rc(re,["Input","Select"]))return;const Q=rc(re,["Select"])?re.props.input:re;Q&&qw(Q.props)&&(J=!0)}),J}),[B,F]=S.useState(()=>{let J=!1;return a&&S.Children.forEach(a,re=>{rc(re,["Input","Select"])&&(Fl(re.props,!0)||Fl(re.props.inputProps,!0))&&(J=!0)}),J}),[W,V]=S.useState(!1);m&&W&&V(!1);const x=v!==void 0&&!m?v:W;let D;S.useRef(!1);const ee=S.useMemo(()=>({adornedStart:$,setAdornedStart:O,color:d,disabled:m,error:h,filled:B,focused:x,fullWidth:y,hiddenLabel:w,size:C,onBlur:()=>{V(!1)},onEmpty:()=>{F(!1)},onFilled:()=>{F(!0)},onFocus:()=>{V(!0)},registerEffect:D,required:b,variant:T}),[$,d,m,h,B,x,y,w,D,b,C,T]);return k.jsx(md.Provider,{value:ee,children:k.jsx(Tb,{as:p,ownerState:j,className:Se(P.root,u),ref:o,...N,children:a})})});function Pb(t){return Ie("MuiFormHelperText",t)}const Sh=Pe("MuiFormHelperText",["root","error","disabled","sizeSmall","sizeMedium","contained","focused","filled","required"]);var Ch;const $b=t=>{const{classes:r,contained:o,size:s,disabled:a,error:u,filled:d,focused:p,required:m}=t,h={root:["root",a&&"disabled",u&&"error",s&&`size${he(s)}`,o&&"contained",p&&"focused",d&&"filled",m&&"required"]};return Ne(h,Pb,r)},Ib=de("p",{name:"MuiFormHelperText",slot:"Root",overridesResolver:(t,r)=>{const{ownerState:o}=t;return[r.root,o.size&&r[`size${he(o.size)}`],o.contained&&r.contained,o.filled&&r.filled]}})(Je(({theme:t})=>({color:(t.vars||t).palette.text.secondary,...t.typography.caption,textAlign:"left",marginTop:3,marginRight:0,marginBottom:0,marginLeft:0,[`&.${Sh.disabled}`]:{color:(t.vars||t).palette.text.disabled},[`&.${Sh.error}`]:{color:(t.vars||t).palette.error.main},variants:[{props:{size:"small"},style:{marginTop:4}},{props:({ownerState:r})=>r.contained,style:{marginLeft:14,marginRight:14}}]}))),Mb=S.forwardRef(function(r,o){const s=Me({props:r,name:"MuiFormHelperText"}),{children:a,className:u,component:d="p",disabled:p,error:m,filled:h,focused:v,margin:y,required:w,variant:E,...b}=s,C=Go(),T=Ko({props:s,muiFormControl:C,states:["variant","size","disabled","error","filled","focused","required"]}),N={...s,component:d,contained:T.variant==="filled"||T.variant==="outlined",variant:T.variant,size:T.size,disabled:T.disabled,error:T.error,filled:T.filled,focused:T.focused,required:T.required};delete N.ownerState;const j=$b(N);return k.jsx(Ib,{as:d,className:Se(j.root,u),ref:o,...b,ownerState:N,children:a===" "?Ch||(Ch=k.jsx("span",{className:"notranslate","aria-hidden":!0,children:""})):a})}),Nc=S.createContext({});function Ob(t){return Ie("MuiList",t)}Pe("MuiList",["root","padding","dense","subheader"]);const Nb=t=>{const{classes:r,disablePadding:o,dense:s,subheader:a}=t;return Ne({root:["root",!o&&"padding",s&&"dense",a&&"subheader"]},Ob,r)},Ab=de("ul",{name:"MuiList",slot:"Root",overridesResolver:(t,r)=>{const{ownerState:o}=t;return[r.root,!o.disablePadding&&r.padding,o.dense&&r.dense,o.subheader&&r.subheader]}})({listStyle:"none",margin:0,padding:0,position:"relative",variants:[{props:({ownerState:t})=>!t.disablePadding,style:{paddingTop:8,paddingBottom:8}},{props:({ownerState:t})=>t.subheader,style:{paddingTop:0}}]}),Lb=S.forwardRef(function(r,o){const s=Me({props:r,name:"MuiList"}),{children:a,className:u,component:d="ul",dense:p=!1,disablePadding:m=!1,subheader:h,...v}=s,y=S.useMemo(()=>({dense:p}),[p]),w={...s,component:d,dense:p,disablePadding:m},E=Nb(w);return k.jsx(Nc.Provider,{value:y,children:k.jsxs(Ab,{as:d,className:Se(E.root,u),ref:o,ownerState:w,...v,children:[h,a]})})});function fc(t,r,o){return t===r?t.firstChild:r&&r.nextElementSibling?r.nextElementSibling:o?null:t.firstChild}function wh(t,r,o){return t===r?o?t.firstChild:t.lastChild:r&&r.previousElementSibling?r.previousElementSibling:o?null:t.lastChild}function iy(t,r){if(r===void 0)return!0;let o=t.innerText;return o===void 0&&(o=t.textContent),o=o.trim().toLowerCase(),o.length===0?!1:r.repeating?o[0]===r.keys[0]:o.startsWith(r.keys.join(""))}function ji(t,r,o,s,a,u){let d=!1,p=a(t,r,r?o:!1);for(;p;){if(p===t.firstChild){if(d)return!1;d=!0}const m=s?!1:p.disabled||p.getAttribute("aria-disabled")==="true";if(!p.hasAttribute("tabindex")||!iy(p,u)||m)p=a(t,p,o);else return p.focus(),!0}return!1}const jb=S.forwardRef(function(r,o){const{actions:s,autoFocus:a=!1,autoFocusItem:u=!1,children:d,className:p,disabledItemsFocusable:m=!1,disableListWrap:h=!1,onKeyDown:v,variant:y="selectedMenu",...w}=r,E=S.useRef(null),b=S.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});Hn(()=>{a&&E.current.focus()},[a]),S.useImperativeHandle(s,()=>({adjustStyleForScrollbar:(P,{direction:$})=>{const O=!E.current.style.width;if(P.clientHeight<E.current.clientHeight&&O){const B=`${wg(rr(P))}px`;E.current.style[$==="rtl"?"paddingLeft":"paddingRight"]=B,E.current.style.width=`calc(100% + ${B})`}return E.current}}),[]);const C=P=>{const $=E.current,O=P.key;if(P.ctrlKey||P.metaKey||P.altKey){v&&v(P);return}const F=Pn($).activeElement;if(O==="ArrowDown")P.preventDefault(),ji($,F,h,m,fc);else if(O==="ArrowUp")P.preventDefault(),ji($,F,h,m,wh);else if(O==="Home")P.preventDefault(),ji($,null,h,m,fc);else if(O==="End")P.preventDefault(),ji($,null,h,m,wh);else if(O.length===1){const W=b.current,V=O.toLowerCase(),x=performance.now();W.keys.length>0&&(x-W.lastTime>500?(W.keys=[],W.repeating=!0,W.previousKeyMatched=!0):W.repeating&&V!==W.keys[0]&&(W.repeating=!1)),W.lastTime=x,W.keys.push(V);const D=F&&!W.repeating&&iy(F,W);W.previousKeyMatched&&(D||ji($,F,!1,m,fc,W))?P.preventDefault():W.previousKeyMatched=!1}v&&v(P)},T=Nt(E,o);let N=-1;S.Children.forEach(d,(P,$)=>{if(!S.isValidElement(P)){N===$&&(N+=1,N>=d.length&&(N=-1));return}P.props.disabled||(y==="selectedMenu"&&P.props.selected||N===-1)&&(N=$),N===$&&(P.props.disabled||P.props.muiSkipListHighlight||P.type.muiSkipListHighlight)&&(N+=1,N>=d.length&&(N=-1))});const j=S.Children.map(d,(P,$)=>{if($===N){const O={};return u&&(O.autoFocus=!0),P.props.tabIndex===void 0&&y==="selectedMenu"&&(O.tabIndex=0),S.cloneElement(P,O)}return P});return k.jsx(Lb,{role:"menu",ref:T,className:p,onKeyDown:C,tabIndex:a?0:-1,...w,children:j})}),sy=t=>t.scrollTop;function Dl(t,r){const{timeout:o,easing:s,style:a={}}=t;return{duration:a.transitionDuration??(typeof o=="number"?o:o[r.mode]||0),easing:a.transitionTimingFunction??(typeof s=="object"?s[r.mode]:s),delay:a.transitionDelay}}function Ac(t){return`scale(${t}, ${t**2})`}const _b={entering:{opacity:1,transform:Ac(1)},entered:{opacity:1,transform:"none"}},pc=typeof navigator<"u"&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),Lc=S.forwardRef(function(r,o){const{addEndListener:s,appear:a=!0,children:u,easing:d,in:p,onEnter:m,onEntered:h,onEntering:v,onExit:y,onExited:w,onExiting:E,style:b,timeout:C="auto",TransitionComponent:T=Vn,...N}=r,j=Cg(),P=S.useRef(),$=ra(),O=S.useRef(null),B=Nt(O,as(u),o),F=Q=>Z=>{if(Q){const oe=O.current;Z===void 0?Q(oe):Q(oe,Z)}},W=F(v),V=F((Q,Z)=>{sy(Q);const{duration:oe,delay:K,easing:G}=Dl({style:b,timeout:C,easing:d},{mode:"enter"});let ne;C==="auto"?(ne=$.transitions.getAutoHeightDuration(Q.clientHeight),P.current=ne):ne=oe,Q.style.transition=[$.transitions.create("opacity",{duration:ne,delay:K}),$.transitions.create("transform",{duration:pc?ne:ne*.666,delay:K,easing:G})].join(","),m&&m(Q,Z)}),x=F(h),D=F(E),ee=F(Q=>{const{duration:Z,delay:oe,easing:K}=Dl({style:b,timeout:C,easing:d},{mode:"exit"});let G;C==="auto"?(G=$.transitions.getAutoHeightDuration(Q.clientHeight),P.current=G):G=Z,Q.style.transition=[$.transitions.create("opacity",{duration:G,delay:oe}),$.transitions.create("transform",{duration:pc?G:G*.666,delay:pc?oe:oe||G*.333,easing:K})].join(","),Q.style.opacity=0,Q.style.transform=Ac(.75),y&&y(Q)}),J=F(w),re=Q=>{C==="auto"&&j.start(P.current||0,Q),s&&s(O.current,Q)};return k.jsx(T,{appear:a,in:p,nodeRef:O,onEnter:V,onEntered:x,onEntering:W,onExit:ee,onExited:J,onExiting:D,addEndListener:re,timeout:C==="auto"?null:C,...N,children:(Q,{ownerState:Z,...oe})=>S.cloneElement(u,{style:{opacity:0,transform:Ac(.75),visibility:Q==="exited"&&!p?"hidden":void 0,..._b[Q],...b,...u.props.style},ref:B,...oe})})});Lc&&(Lc.muiSupportAuto=!0);function zb(t){const r=Pn(t);return r.body===t?rr(t).innerWidth>r.documentElement.clientWidth:t.scrollHeight>t.clientHeight}function Gi(t,r){r?t.setAttribute("aria-hidden","true"):t.removeAttribute("aria-hidden")}function bh(t){return parseInt(rr(t).getComputedStyle(t).paddingRight,10)||0}function Bb(t){const o=["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].includes(t.tagName),s=t.tagName==="INPUT"&&t.getAttribute("type")==="hidden";return o||s}function kh(t,r,o,s,a){const u=[r,o,...s];[].forEach.call(t.children,d=>{const p=!u.includes(d),m=!Bb(d);p&&m&&Gi(d,a)})}function mc(t,r){let o=-1;return t.some((s,a)=>r(s)?(o=a,!0):!1),o}function Fb(t,r){const o=[],s=t.container;if(!r.disableScrollLock){if(zb(s)){const d=wg(rr(s));o.push({value:s.style.paddingRight,property:"padding-right",el:s}),s.style.paddingRight=`${bh(s)+d}px`;const p=Pn(s).querySelectorAll(".mui-fixed");[].forEach.call(p,m=>{o.push({value:m.style.paddingRight,property:"padding-right",el:m}),m.style.paddingRight=`${bh(m)+d}px`})}let u;if(s.parentNode instanceof DocumentFragment)u=Pn(s).body;else{const d=s.parentElement,p=rr(s);u=(d==null?void 0:d.nodeName)==="HTML"&&p.getComputedStyle(d).overflowY==="scroll"?d:s}o.push({value:u.style.overflow,property:"overflow",el:u},{value:u.style.overflowX,property:"overflow-x",el:u},{value:u.style.overflowY,property:"overflow-y",el:u}),u.style.overflow="hidden"}return()=>{o.forEach(({value:u,el:d,property:p})=>{u?d.style.setProperty(p,u):d.style.removeProperty(p)})}}function Db(t){const r=[];return[].forEach.call(t.children,o=>{o.getAttribute("aria-hidden")==="true"&&r.push(o)}),r}class Wb{constructor(){this.modals=[],this.containers=[]}add(r,o){let s=this.modals.indexOf(r);if(s!==-1)return s;s=this.modals.length,this.modals.push(r),r.modalRef&&Gi(r.modalRef,!1);const a=Db(o);kh(o,r.mount,r.modalRef,a,!0);const u=mc(this.containers,d=>d.container===o);return u!==-1?(this.containers[u].modals.push(r),s):(this.containers.push({modals:[r],container:o,restore:null,hiddenSiblings:a}),s)}mount(r,o){const s=mc(this.containers,u=>u.modals.includes(r)),a=this.containers[s];a.restore||(a.restore=Fb(a,o))}remove(r,o=!0){const s=this.modals.indexOf(r);if(s===-1)return s;const a=mc(this.containers,d=>d.modals.includes(r)),u=this.containers[a];if(u.modals.splice(u.modals.indexOf(r),1),this.modals.splice(s,1),u.modals.length===0)u.restore&&u.restore(),r.modalRef&&Gi(r.modalRef,o),kh(u.container,r.mount,r.modalRef,u.hiddenSiblings,!1),this.containers.splice(a,1);else{const d=u.modals[u.modals.length-1];d.modalRef&&Gi(d.modalRef,!1)}return s}isTopModal(r){return this.modals.length>0&&this.modals[this.modals.length-1]===r}}const Ub=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function Hb(t){const r=parseInt(t.getAttribute("tabindex")||"",10);return Number.isNaN(r)?t.contentEditable==="true"||(t.nodeName==="AUDIO"||t.nodeName==="VIDEO"||t.nodeName==="DETAILS")&&t.getAttribute("tabindex")===null?0:t.tabIndex:r}function Vb(t){if(t.tagName!=="INPUT"||t.type!=="radio"||!t.name)return!1;const r=s=>t.ownerDocument.querySelector(`input[type="radio"]${s}`);let o=r(`[name="${t.name}"]:checked`);return o||(o=r(`[name="${t.name}"]`)),o!==t}function Kb(t){return!(t.disabled||t.tagName==="INPUT"&&t.type==="hidden"||Vb(t))}function Gb(t){const r=[],o=[];return Array.from(t.querySelectorAll(Ub)).forEach((s,a)=>{const u=Hb(s);u===-1||!Kb(s)||(u===0?r.push(s):o.push({documentOrder:a,tabIndex:u,node:s}))}),o.sort((s,a)=>s.tabIndex===a.tabIndex?s.documentOrder-a.documentOrder:s.tabIndex-a.tabIndex).map(s=>s.node).concat(r)}function Qb(){return!0}function qb(t){const{children:r,disableAutoFocus:o=!1,disableEnforceFocus:s=!1,disableRestoreFocus:a=!1,getTabbable:u=Gb,isEnabled:d=Qb,open:p}=t,m=S.useRef(!1),h=S.useRef(null),v=S.useRef(null),y=S.useRef(null),w=S.useRef(null),E=S.useRef(!1),b=S.useRef(null),C=Nt(as(r),b),T=S.useRef(null);S.useEffect(()=>{!p||!b.current||(E.current=!o)},[o,p]),S.useEffect(()=>{if(!p||!b.current)return;const P=Pn(b.current);return b.current.contains(P.activeElement)||(b.current.hasAttribute("tabIndex")||b.current.setAttribute("tabIndex","-1"),E.current&&b.current.focus()),()=>{a||(y.current&&y.current.focus&&(m.current=!0,y.current.focus()),y.current=null)}},[p]),S.useEffect(()=>{if(!p||!b.current)return;const P=Pn(b.current),$=F=>{T.current=F,!(s||!d()||F.key!=="Tab")&&P.activeElement===b.current&&F.shiftKey&&(m.current=!0,v.current&&v.current.focus())},O=()=>{var V,x;const F=b.current;if(F===null)return;if(!P.hasFocus()||!d()||m.current){m.current=!1;return}if(F.contains(P.activeElement)||s&&P.activeElement!==h.current&&P.activeElement!==v.current)return;if(P.activeElement!==w.current)w.current=null;else if(w.current!==null)return;if(!E.current)return;let W=[];if((P.activeElement===h.current||P.activeElement===v.current)&&(W=u(b.current)),W.length>0){const D=!!((V=T.current)!=null&&V.shiftKey&&((x=T.current)==null?void 0:x.key)==="Tab"),ee=W[0],J=W[W.length-1];typeof ee!="string"&&typeof J!="string"&&(D?J.focus():ee.focus())}else F.focus()};P.addEventListener("focusin",O),P.addEventListener("keydown",$,!0);const B=setInterval(()=>{P.activeElement&&P.activeElement.tagName==="BODY"&&O()},50);return()=>{clearInterval(B),P.removeEventListener("focusin",O),P.removeEventListener("keydown",$,!0)}},[o,s,a,d,p,u]);const N=P=>{y.current===null&&(y.current=P.relatedTarget),E.current=!0,w.current=P.target;const $=r.props.onFocus;$&&$(P)},j=P=>{y.current===null&&(y.current=P.relatedTarget),E.current=!0};return k.jsxs(S.Fragment,{children:[k.jsx("div",{tabIndex:p?0:-1,onFocus:j,ref:h,"data-testid":"sentinelStart"}),S.cloneElement(r,{ref:C,onFocus:N}),k.jsx("div",{tabIndex:p?0:-1,onFocus:j,ref:v,"data-testid":"sentinelEnd"})]})}function Yb(t){return typeof t=="function"?t():t}const Xb=S.forwardRef(function(r,o){const{children:s,container:a,disablePortal:u=!1}=r,[d,p]=S.useState(null),m=Nt(S.isValidElement(s)?as(s):null,o);if(Hn(()=>{u||p(Yb(a)||document.body)},[a,u]),Hn(()=>{if(d&&!u)return Am(o,d),()=>{Am(o,null)}},[o,d,u]),u){if(S.isValidElement(s)){const h={ref:m};return S.cloneElement(s,h)}return s}return d&&Dg.createPortal(s,d)});function en(t,r){const{className:o,elementType:s,ownerState:a,externalForwardedProps:u,internalForwardedProps:d,...p}=r,{component:m,slots:h={[t]:void 0},slotProps:v={[t]:void 0},...y}=u,w=h[t]||s,E=Rg(v[t],a),{props:{component:b,...C},internalRef:T}=Eg({className:o,...p,externalForwardedProps:t==="root"?y:void 0,externalSlotProps:E}),N=Nt(T,E==null?void 0:E.ref,r.ref),j=t==="root"?b||m:b,P=bg(w,{...t==="root"&&!m&&!h[t]&&d,...t!=="root"&&!h[t]&&d,...C,...j&&{as:j},ref:N},a);return[w,P]}const Jb={entering:{opacity:1},entered:{opacity:1}},Zb=S.forwardRef(function(r,o){const s=ra(),a={enter:s.transitions.duration.enteringScreen,exit:s.transitions.duration.leavingScreen},{addEndListener:u,appear:d=!0,children:p,easing:m,in:h,onEnter:v,onEntered:y,onEntering:w,onExit:E,onExited:b,onExiting:C,style:T,timeout:N=a,TransitionComponent:j=Vn,...P}=r,$=S.useRef(null),O=Nt($,as(p),o),B=re=>Q=>{if(re){const Z=$.current;Q===void 0?re(Z):re(Z,Q)}},F=B(w),W=B((re,Q)=>{sy(re);const Z=Dl({style:T,timeout:N,easing:m},{mode:"enter"});re.style.webkitTransition=s.transitions.create("opacity",Z),re.style.transition=s.transitions.create("opacity",Z),v&&v(re,Q)}),V=B(y),x=B(C),D=B(re=>{const Q=Dl({style:T,timeout:N,easing:m},{mode:"exit"});re.style.webkitTransition=s.transitions.create("opacity",Q),re.style.transition=s.transitions.create("opacity",Q),E&&E(re)}),ee=B(b),J=re=>{u&&u($.current,re)};return k.jsx(j,{appear:d,in:h,nodeRef:$,onEnter:W,onEntered:V,onEntering:F,onExit:D,onExited:ee,onExiting:x,addEndListener:J,timeout:N,...P,children:(re,{ownerState:Q,...Z})=>S.cloneElement(p,{style:{opacity:0,visibility:re==="exited"&&!h?"hidden":void 0,...Jb[re],...T,...p.props.style},ref:O,...Z})})});function ek(t){return Ie("MuiBackdrop",t)}Pe("MuiBackdrop",["root","invisible"]);const tk=t=>{const{classes:r,invisible:o}=t;return Ne({root:["root",o&&"invisible"]},ek,r)},nk=de("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(t,r)=>{const{ownerState:o}=t;return[r.root,o.invisible&&r.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"}}]}),rk=S.forwardRef(function(r,o){const s=Me({props:r,name:"MuiBackdrop"}),{children:a,className:u,component:d="div",invisible:p=!1,open:m,components:h={},componentsProps:v={},slotProps:y={},slots:w={},TransitionComponent:E,transitionDuration:b,...C}=s,T={...s,component:d,invisible:p},N=tk(T),j={transition:E,root:h.Root,...w},P={...v,...y},$={slots:j,slotProps:P},[O,B]=en("root",{elementType:nk,externalForwardedProps:$,className:Se(N.root,u),ownerState:T}),[F,W]=en("transition",{elementType:Zb,externalForwardedProps:$,ownerState:T});return k.jsx(F,{in:m,timeout:b,...C,...W,children:k.jsx(O,{"aria-hidden":!0,...B,classes:N,ref:o,children:a})})});function ok(t){return typeof t=="function"?t():t}function ik(t){return t?t.props.hasOwnProperty("in"):!1}const Eh=()=>{},Tl=new Wb;function sk(t){const{container:r,disableEscapeKeyDown:o=!1,disableScrollLock:s=!1,closeAfterTransition:a=!1,onTransitionEnter:u,onTransitionExited:d,children:p,onClose:m,open:h,rootRef:v}=t,y=S.useRef({}),w=S.useRef(null),E=S.useRef(null),b=Nt(E,v),[C,T]=S.useState(!h),N=ik(p);let j=!0;(t["aria-hidden"]==="false"||t["aria-hidden"]===!1)&&(j=!1);const P=()=>Pn(w.current),$=()=>(y.current.modalRef=E.current,y.current.mount=w.current,y.current),O=()=>{Tl.mount($(),{disableScrollLock:s}),E.current&&(E.current.scrollTop=0)},B=_o(()=>{const Q=ok(r)||P().body;Tl.add($(),Q),E.current&&O()}),F=()=>Tl.isTopModal($()),W=_o(Q=>{w.current=Q,Q&&(h&&F()?O():E.current&&Gi(E.current,j))}),V=S.useCallback(()=>{Tl.remove($(),j)},[j]);S.useEffect(()=>()=>{V()},[V]),S.useEffect(()=>{h?B():(!N||!a)&&V()},[h,V,N,a,B]);const x=Q=>Z=>{var oe;(oe=Q.onKeyDown)==null||oe.call(Q,Z),!(Z.key!=="Escape"||Z.which===229||!F())&&(o||(Z.stopPropagation(),m&&m(Z,"escapeKeyDown")))},D=Q=>Z=>{var oe;(oe=Q.onClick)==null||oe.call(Q,Z),Z.target===Z.currentTarget&&m&&m(Z,"backdropClick")};return{getRootProps:(Q={})=>{const Z=kg(t);delete Z.onTransitionEnter,delete Z.onTransitionExited;const oe={...Z,...Q};return{role:"presentation",...oe,onKeyDown:x(oe),ref:b}},getBackdropProps:(Q={})=>{const Z=Q;return{"aria-hidden":!0,...Z,onClick:D(Z),open:h}},getTransitionProps:()=>{const Q=()=>{T(!1),u&&u()},Z=()=>{T(!0),d&&d(),a&&V()};return{onEnter:Nm(Q,(p==null?void 0:p.props.onEnter)??Eh),onExited:Nm(Z,(p==null?void 0:p.props.onExited)??Eh)}},rootRef:b,portalRef:W,isTopModal:F,exited:C,hasTransition:N}}function lk(t){return Ie("MuiModal",t)}Pe("MuiModal",["root","hidden","backdrop"]);const ak=t=>{const{open:r,exited:o,classes:s}=t;return Ne({root:["root",!r&&o&&"hidden"],backdrop:["backdrop"]},lk,s)},uk=de("div",{name:"MuiModal",slot:"Root",overridesResolver:(t,r)=>{const{ownerState:o}=t;return[r.root,!o.open&&o.exited&&r.hidden]}})(Je(({theme:t})=>({position:"fixed",zIndex:(t.vars||t).zIndex.modal,right:0,bottom:0,top:0,left:0,variants:[{props:({ownerState:r})=>!r.open&&r.exited,style:{visibility:"hidden"}}]}))),ck=de(rk,{name:"MuiModal",slot:"Backdrop",overridesResolver:(t,r)=>r.backdrop})({zIndex:-1}),dk=S.forwardRef(function(r,o){const s=Me({name:"MuiModal",props:r}),{BackdropComponent:a=ck,BackdropProps:u,classes:d,className:p,closeAfterTransition:m=!1,children:h,container:v,component:y,components:w={},componentsProps:E={},disableAutoFocus:b=!1,disableEnforceFocus:C=!1,disableEscapeKeyDown:T=!1,disablePortal:N=!1,disableRestoreFocus:j=!1,disableScrollLock:P=!1,hideBackdrop:$=!1,keepMounted:O=!1,onBackdropClick:B,onClose:F,onTransitionEnter:W,onTransitionExited:V,open:x,slotProps:D={},slots:ee={},theme:J,...re}=s,Q={...s,closeAfterTransition:m,disableAutoFocus:b,disableEnforceFocus:C,disableEscapeKeyDown:T,disablePortal:N,disableRestoreFocus:j,disableScrollLock:P,hideBackdrop:$,keepMounted:O},{getRootProps:Z,getBackdropProps:oe,getTransitionProps:K,portalRef:G,isTopModal:ne,exited:M,hasTransition:U}=sk({...Q,rootRef:o}),ie={...Q,exited:M},le=ak(ie),ce={};if(h.props.tabIndex===void 0&&(ce.tabIndex="-1"),U){const{onEnter:Te,onExited:He}=K();ce.onEnter=Te,ce.onExited=He}const ge={...re,slots:{root:w.Root,backdrop:w.Backdrop,...ee},slotProps:{...E,...D}},[be,Ee]=en("root",{elementType:uk,externalForwardedProps:ge,getSlotProps:Z,additionalProps:{ref:o,as:y},ownerState:ie,className:Se(p,le==null?void 0:le.root,!ie.open&&ie.exited&&(le==null?void 0:le.hidden))}),[we,ye]=en("backdrop",{elementType:a,externalForwardedProps:ge,additionalProps:u,getSlotProps:Te=>oe({...Te,onClick:He=>{B&&B(He),Te!=null&&Te.onClick&&Te.onClick(He)}}),className:Se(u==null?void 0:u.className,le==null?void 0:le.backdrop),ownerState:ie}),Ae=Nt(u==null?void 0:u.ref,ye.ref);return!O&&!x&&(!U||M)?null:k.jsx(Xb,{ref:G,container:v,disablePortal:N,children:k.jsxs(be,{...Ee,children:[!$&&a?k.jsx(we,{...ye,ref:Ae}):null,k.jsx(qb,{disableEnforceFocus:C,disableAutoFocus:b,disableRestoreFocus:j,isEnabled:ne,open:x,children:S.cloneElement(h,ce)})]})})});function fk(t){return Ie("MuiPopover",t)}Pe("MuiPopover",["root","paper"]);function Rh(t,r){let o=0;return typeof r=="number"?o=r:r==="center"?o=t.height/2:r==="bottom"&&(o=t.height),o}function Th(t,r){let o=0;return typeof r=="number"?o=r:r==="center"?o=t.width/2:r==="right"&&(o=t.width),o}function Ph(t){return[t.horizontal,t.vertical].map(r=>typeof r=="number"?`${r}px`:r).join(" ")}function hc(t){return typeof t=="function"?t():t}const pk=t=>{const{classes:r}=t;return Ne({root:["root"],paper:["paper"]},fk,r)},mk=de(dk,{name:"MuiPopover",slot:"Root",overridesResolver:(t,r)=>r.root})({}),ly=de(cs,{name:"MuiPopover",slot:"Paper",overridesResolver:(t,r)=>r.paper})({position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}),hk=S.forwardRef(function(r,o){const s=Me({props:r,name:"MuiPopover"}),{action:a,anchorEl:u,anchorOrigin:d={vertical:"top",horizontal:"left"},anchorPosition:p,anchorReference:m="anchorEl",children:h,className:v,container:y,elevation:w=8,marginThreshold:E=16,open:b,PaperProps:C={},slots:T={},slotProps:N={},transformOrigin:j={vertical:"top",horizontal:"left"},TransitionComponent:P=Lc,transitionDuration:$="auto",TransitionProps:{onEntering:O,...B}={},disableScrollLock:F=!1,...W}=s,V=(N==null?void 0:N.paper)??C,x=S.useRef(),D={...s,anchorOrigin:d,anchorReference:m,elevation:w,marginThreshold:E,externalPaperSlotProps:V,transformOrigin:j,TransitionComponent:P,transitionDuration:$,TransitionProps:B},ee=pk(D),J=S.useCallback(()=>{if(m==="anchorPosition")return p;const ye=hc(u),Te=(ye&&ye.nodeType===1?ye:Pn(x.current).body).getBoundingClientRect();return{top:Te.top+Rh(Te,d.vertical),left:Te.left+Th(Te,d.horizontal)}},[u,d.horizontal,d.vertical,p,m]),re=S.useCallback(ye=>({vertical:Rh(ye,j.vertical),horizontal:Th(ye,j.horizontal)}),[j.horizontal,j.vertical]),Q=S.useCallback(ye=>{const Ae={width:ye.offsetWidth,height:ye.offsetHeight},Te=re(Ae);if(m==="none")return{top:null,left:null,transformOrigin:Ph(Te)};const He=J();let Re=He.top-Te.vertical,De=He.left-Te.horizontal;const wt=Re+Ae.height,st=De+Ae.width,Le=rr(hc(u)),yt=Le.innerHeight-E,Ze=Le.innerWidth-E;if(E!==null&&Re<E){const Ve=Re-E;Re-=Ve,Te.vertical+=Ve}else if(E!==null&&wt>yt){const Ve=wt-yt;Re-=Ve,Te.vertical+=Ve}if(E!==null&&De<E){const Ve=De-E;De-=Ve,Te.horizontal+=Ve}else if(st>Ze){const Ve=st-Ze;De-=Ve,Te.horizontal+=Ve}return{top:`${Math.round(Re)}px`,left:`${Math.round(De)}px`,transformOrigin:Ph(Te)}},[u,m,J,re,E]),[Z,oe]=S.useState(b),K=S.useCallback(()=>{const ye=x.current;if(!ye)return;const Ae=Q(ye);Ae.top!==null&&ye.style.setProperty("top",Ae.top),Ae.left!==null&&(ye.style.left=Ae.left),ye.style.transformOrigin=Ae.transformOrigin,oe(!0)},[Q]);S.useEffect(()=>(F&&window.addEventListener("scroll",K),()=>window.removeEventListener("scroll",K)),[u,F,K]);const G=(ye,Ae)=>{O&&O(ye,Ae),K()},ne=()=>{oe(!1)};S.useEffect(()=>{b&&K()}),S.useImperativeHandle(a,()=>b?{updatePosition:()=>{K()}}:null,[b,K]),S.useEffect(()=>{if(!b)return;const ye=xg(()=>{K()}),Ae=rr(u);return Ae.addEventListener("resize",ye),()=>{ye.clear(),Ae.removeEventListener("resize",ye)}},[u,b,K]);let M=$;$==="auto"&&!P.muiSupportAuto&&(M=void 0);const U=y||(u?Pn(hc(u)).body:void 0),ie={slots:T,slotProps:{...N,paper:V}},[le,ce]=en("paper",{elementType:ly,externalForwardedProps:ie,additionalProps:{elevation:w,className:Se(ee.paper,V==null?void 0:V.className),style:Z?V.style:{...V.style,opacity:0}},ownerState:D}),[ge,{slotProps:be,...Ee}]=en("root",{elementType:mk,externalForwardedProps:ie,additionalProps:{slotProps:{backdrop:{invisible:!0}},container:U,open:b},ownerState:D,className:Se(ee.root,v)}),we=Nt(x,ce.ref);return k.jsx(ge,{...Ee,...!Mc(ge)&&{slotProps:be,disableScrollLock:F},...W,ref:o,children:k.jsx(P,{appear:!0,in:b,onEntering:G,onExited:ne,timeout:M,...B,children:k.jsx(le,{...ce,ref:we,children:h})})})});function gk(t){return Ie("MuiMenu",t)}Pe("MuiMenu",["root","paper","list"]);const yk={vertical:"top",horizontal:"right"},vk={vertical:"top",horizontal:"left"},xk=t=>{const{classes:r}=t;return Ne({root:["root"],paper:["paper"],list:["list"]},gk,r)},Sk=de(hk,{shouldForwardProp:t=>yn(t)||t==="classes",name:"MuiMenu",slot:"Root",overridesResolver:(t,r)=>r.root})({}),Ck=de(ly,{name:"MuiMenu",slot:"Paper",overridesResolver:(t,r)=>r.paper})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),wk=de(jb,{name:"MuiMenu",slot:"List",overridesResolver:(t,r)=>r.list})({outline:0}),bk=S.forwardRef(function(r,o){const s=Me({props:r,name:"MuiMenu"}),{autoFocus:a=!0,children:u,className:d,disableAutoFocusItem:p=!1,MenuListProps:m={},onClose:h,open:v,PaperProps:y={},PopoverClasses:w,transitionDuration:E="auto",TransitionProps:{onEntering:b,...C}={},variant:T="selectedMenu",slots:N={},slotProps:j={},...P}=s,$=Dx(),O={...s,autoFocus:a,disableAutoFocusItem:p,MenuListProps:m,onEntering:b,PaperProps:y,transitionDuration:E,TransitionProps:C,variant:T},B=xk(O),F=a&&!p&&v,W=S.useRef(null),V=(Z,oe)=>{W.current&&W.current.adjustStyleForScrollbar(Z,{direction:$?"rtl":"ltr"}),b&&b(Z,oe)},x=Z=>{Z.key==="Tab"&&(Z.preventDefault(),h&&h(Z,"tabKeyDown"))};let D=-1;S.Children.map(u,(Z,oe)=>{S.isValidElement(Z)&&(Z.props.disabled||(T==="selectedMenu"&&Z.props.selected||D===-1)&&(D=oe))});const ee=N.paper??Ck,J=j.paper??y,re=Dm({elementType:N.root,externalSlotProps:j.root,ownerState:O,className:[B.root,d]}),Q=Dm({elementType:ee,externalSlotProps:J,ownerState:O,className:B.paper});return k.jsx(Sk,{onClose:h,anchorOrigin:{vertical:"bottom",horizontal:$?"right":"left"},transformOrigin:$?yk:vk,slots:{paper:ee,root:N.root},slotProps:{root:re,paper:Q},open:v,ref:o,transitionDuration:E,TransitionProps:{onEntering:V,...C},ownerState:O,...P,classes:w,children:k.jsx(wk,{onKeyDown:x,actions:W,autoFocus:a&&(D===-1||p),autoFocusItem:F,variant:T,...m,className:Se(B.list,m.className),children:u})})});function kk(t){return Ie("MuiNativeSelect",t)}const xd=Pe("MuiNativeSelect",["root","select","multiple","filled","outlined","standard","disabled","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]),Ek=t=>{const{classes:r,variant:o,disabled:s,multiple:a,open:u,error:d}=t,p={select:["select",o,s&&"disabled",a&&"multiple",d&&"error"],icon:["icon",`icon${he(o)}`,u&&"iconOpen",s&&"disabled"]};return Ne(p,kk,r)},ay=de("select")(({theme:t})=>({MozAppearance:"none",WebkitAppearance:"none",userSelect:"none",borderRadius:0,cursor:"pointer","&:focus":{borderRadius:0},[`&.${xd.disabled}`]:{cursor:"default"},"&[multiple]":{height:"auto"},"&:not([multiple]) option, &:not([multiple]) optgroup":{backgroundColor:(t.vars||t).palette.background.paper},variants:[{props:({ownerState:r})=>r.variant!=="filled"&&r.variant!=="outlined",style:{"&&&":{paddingRight:24,minWidth:16}}},{props:{variant:"filled"},style:{"&&&":{paddingRight:32}}},{props:{variant:"outlined"},style:{borderRadius:(t.vars||t).shape.borderRadius,"&:focus":{borderRadius:(t.vars||t).shape.borderRadius},"&&&":{paddingRight:32}}}]})),Rk=de(ay,{name:"MuiNativeSelect",slot:"Select",shouldForwardProp:yn,overridesResolver:(t,r)=>{const{ownerState:o}=t;return[r.select,r[o.variant],o.error&&r.error,{[`&.${xd.multiple}`]:r.multiple}]}})({}),uy=de("svg")(({theme:t})=>({position:"absolute",right:0,top:"calc(50% - .5em)",pointerEvents:"none",color:(t.vars||t).palette.action.active,[`&.${xd.disabled}`]:{color:(t.vars||t).palette.action.disabled},variants:[{props:({ownerState:r})=>r.open,style:{transform:"rotate(180deg)"}},{props:{variant:"filled"},style:{right:7}},{props:{variant:"outlined"},style:{right:7}}]})),Tk=de(uy,{name:"MuiNativeSelect",slot:"Icon",overridesResolver:(t,r)=>{const{ownerState:o}=t;return[r.icon,o.variant&&r[`icon${he(o.variant)}`],o.open&&r.iconOpen]}})({}),Pk=S.forwardRef(function(r,o){const{className:s,disabled:a,error:u,IconComponent:d,inputRef:p,variant:m="standard",...h}=r,v={...r,disabled:a,variant:m,error:u},y=Ek(v);return k.jsxs(S.Fragment,{children:[k.jsx(Rk,{ownerState:v,className:Se(y.select,s),disabled:a,ref:p||o,...h}),r.multiple?null:k.jsx(Tk,{as:d,ownerState:v,className:y.icon})]})});function $k(t){return Ie("MuiSelect",t)}const _i=Pe("MuiSelect",["root","select","multiple","filled","outlined","standard","disabled","focused","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]);var $h;const Ik=de(ay,{name:"MuiSelect",slot:"Select",overridesResolver:(t,r)=>{const{ownerState:o}=t;return[{[`&.${_i.select}`]:r.select},{[`&.${_i.select}`]:r[o.variant]},{[`&.${_i.error}`]:r.error},{[`&.${_i.multiple}`]:r.multiple}]}})({[`&.${_i.select}`]:{height:"auto",minHeight:"1.4375em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}}),Mk=de(uy,{name:"MuiSelect",slot:"Icon",overridesResolver:(t,r)=>{const{ownerState:o}=t;return[r.icon,o.variant&&r[`icon${he(o.variant)}`],o.open&&r.iconOpen]}})({}),Ok=de("input",{shouldForwardProp:t=>zg(t)&&t!=="classes",name:"MuiSelect",slot:"NativeInput",overridesResolver:(t,r)=>r.nativeInput})({bottom:0,left:0,position:"absolute",opacity:0,pointerEvents:"none",width:"100%",boxSizing:"border-box"});function Ih(t,r){return typeof r=="object"&&r!==null?t===r:String(t)===String(r)}function Nk(t){return t==null||typeof t=="string"&&!t.trim()}const Ak=t=>{const{classes:r,variant:o,disabled:s,multiple:a,open:u,error:d}=t,p={select:["select",o,s&&"disabled",a&&"multiple",d&&"error"],icon:["icon",`icon${he(o)}`,u&&"iconOpen",s&&"disabled"],nativeInput:["nativeInput"]};return Ne(p,$k,r)},Lk=S.forwardRef(function(r,o){var Qo;const{"aria-describedby":s,"aria-label":a,autoFocus:u,autoWidth:d,children:p,className:m,defaultOpen:h,defaultValue:v,disabled:y,displayEmpty:w,error:E=!1,IconComponent:b,inputRef:C,labelId:T,MenuProps:N={},multiple:j,name:P,onBlur:$,onChange:O,onClose:B,onFocus:F,onOpen:W,open:V,readOnly:x,renderValue:D,required:ee,SelectDisplayProps:J={},tabIndex:re,type:Q,value:Z,variant:oe="standard",...K}=r,[G,ne]=_m({controlled:Z,default:v,name:"Select"}),[M,U]=_m({controlled:V,default:h,name:"Select"}),ie=S.useRef(null),le=S.useRef(null),[ce,ge]=S.useState(null),{current:be}=S.useRef(V!=null),[Ee,we]=S.useState(),ye=Nt(o,C),Ae=S.useCallback(Ce=>{le.current=Ce,Ce&&ge(Ce)},[]),Te=ce==null?void 0:ce.parentNode;S.useImperativeHandle(ye,()=>({focus:()=>{le.current.focus()},node:ie.current,value:G}),[G]),S.useEffect(()=>{h&&M&&ce&&!be&&(we(d?null:Te.clientWidth),le.current.focus())},[ce,d]),S.useEffect(()=>{u&&le.current.focus()},[u]),S.useEffect(()=>{if(!T)return;const Ce=Pn(le.current).getElementById(T);if(Ce){const We=()=>{getSelection().isCollapsed&&le.current.focus()};return Ce.addEventListener("click",We),()=>{Ce.removeEventListener("click",We)}}},[T]);const He=(Ce,We)=>{Ce?W&&W(We):B&&B(We),be||(we(d?null:Te.clientWidth),U(Ce))},Re=Ce=>{Ce.button===0&&(Ce.preventDefault(),le.current.focus(),He(!0,Ce))},De=Ce=>{He(!1,Ce)},wt=S.Children.toArray(p),st=Ce=>{const We=wt.find(ft=>ft.props.value===Ce.target.value);We!==void 0&&(ne(We.props.value),O&&O(Ce,We))},Le=Ce=>We=>{let ft;if(We.currentTarget.hasAttribute("tabindex")){if(j){ft=Array.isArray(G)?G.slice():[];const $n=G.indexOf(Ce.props.value);$n===-1?ft.push(Ce.props.value):ft.splice($n,1)}else ft=Ce.props.value;if(Ce.props.onClick&&Ce.props.onClick(We),G!==ft&&(ne(ft),O)){const $n=We.nativeEvent||We,to=new $n.constructor($n.type,$n);Object.defineProperty(to,"target",{writable:!0,value:{value:ft,name:P}}),O(to,Ce)}j||He(!1,We)}},yt=Ce=>{x||[" ","ArrowUp","ArrowDown","Enter"].includes(Ce.key)&&(Ce.preventDefault(),He(!0,Ce))},Ze=ce!==null&&M,Ve=Ce=>{!Ze&&$&&(Object.defineProperty(Ce,"target",{writable:!0,value:{value:G,name:P}}),$(Ce))};delete K["aria-invalid"];let me,nn;const vt=[];let rn=!1;(Fl({value:G})||w)&&(D?me=D(G):rn=!0);const vn=wt.map(Ce=>{if(!S.isValidElement(Ce))return null;let We;if(j){if(!Array.isArray(G))throw new Error(nr(2));We=G.some(ft=>Ih(ft,Ce.props.value)),We&&rn&&vt.push(Ce.props.children)}else We=Ih(G,Ce.props.value),We&&rn&&(nn=Ce.props.children);return S.cloneElement(Ce,{"aria-selected":We?"true":"false",onClick:Le(Ce),onKeyUp:ft=>{ft.key===" "&&ft.preventDefault(),Ce.props.onKeyUp&&Ce.props.onKeyUp(ft)},role:"option",selected:We,value:void 0,"data-value":Ce.props.value})});rn&&(j?vt.length===0?me=null:me=vt.reduce((Ce,We,ft)=>(Ce.push(We),ft<vt.length-1&&Ce.push(", "),Ce),[]):me=nn);let on=Ee;!d&&be&&ce&&(on=Te.clientWidth);let Ge;typeof re<"u"?Ge=re:Ge=y?null:0;const rt=J.id||(P?`mui-component-select-${P}`:void 0),Qe={...r,variant:oe,value:G,open:Ze,error:E},Oe=Ak(Qe),xt={...N.PaperProps,...(Qo=N.slotProps)==null?void 0:Qo.paper},Et=Zc();return k.jsxs(S.Fragment,{children:[k.jsx(Ik,{as:"div",ref:Ae,tabIndex:Ge,role:"combobox","aria-controls":Et,"aria-disabled":y?"true":void 0,"aria-expanded":Ze?"true":"false","aria-haspopup":"listbox","aria-label":a,"aria-labelledby":[T,rt].filter(Boolean).join(" ")||void 0,"aria-describedby":s,"aria-required":ee?"true":void 0,"aria-invalid":E?"true":void 0,onKeyDown:yt,onMouseDown:y||x?null:Re,onBlur:Ve,onFocus:F,...J,ownerState:Qe,className:Se(J.className,Oe.select,m),id:rt,children:Nk(me)?$h||($h=k.jsx("span",{className:"notranslate","aria-hidden":!0,children:""})):me}),k.jsx(Ok,{"aria-invalid":E,value:Array.isArray(G)?G.join(","):G,name:P,ref:ie,"aria-hidden":!0,onChange:st,tabIndex:-1,disabled:y,className:Oe.nativeInput,autoFocus:u,required:ee,...K,ownerState:Qe}),k.jsx(Mk,{as:b,className:Oe.icon,ownerState:Qe}),k.jsx(bk,{id:`menu-${P||""}`,anchorEl:Te,open:Ze,onClose:De,anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"},...N,MenuListProps:{"aria-labelledby":T,role:"listbox","aria-multiselectable":j?"true":void 0,disableListWrap:!0,id:Et,...N.MenuListProps},slotProps:{...N.slotProps,paper:{...xt,style:{minWidth:on,...xt!=null?xt.style:null}}},children:vn})]})}),jk=eo(k.jsx("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown"),_k=t=>{const{classes:r}=t;return r},Sd={name:"MuiSelect",overridesResolver:(t,r)=>r.root,shouldForwardProp:t=>yn(t)&&t!=="variant",slot:"Root"},zk=de(gd,Sd)(""),Bk=de(vd,Sd)(""),Fk=de(yd,Sd)(""),Cd=S.forwardRef(function(r,o){const s=Me({name:"MuiSelect",props:r}),{autoWidth:a=!1,children:u,classes:d={},className:p,defaultOpen:m=!1,displayEmpty:h=!1,IconComponent:v=jk,id:y,input:w,inputProps:E,label:b,labelId:C,MenuProps:T,multiple:N=!1,native:j=!1,onClose:P,onOpen:$,open:O,renderValue:B,SelectDisplayProps:F,variant:W="outlined",...V}=s,x=j?Pk:Lk,D=Go(),ee=Ko({props:s,muiFormControl:D,states:["variant","error"]}),J=ee.variant||W,re={...s,variant:J,classes:d},Q=_k(re),{root:Z,...oe}=Q,K=w||{standard:k.jsx(zk,{ownerState:re}),outlined:k.jsx(Bk,{label:b,ownerState:re}),filled:k.jsx(Fk,{ownerState:re})}[J],G=Nt(o,as(K));return k.jsx(S.Fragment,{children:S.cloneElement(K,{inputComponent:x,inputProps:{children:u,error:ee.error,IconComponent:v,variant:J,type:void 0,multiple:N,...j?{id:y}:{autoWidth:a,defaultOpen:m,displayEmpty:h,labelId:C,MenuProps:T,onClose:P,onOpen:$,open:O,renderValue:B,SelectDisplayProps:{id:y,...F}},...E,classes:E?Bt(oe,E.classes):oe,...w?w.props.inputProps:{}},...(N&&j||h)&&J==="outlined"?{notched:!0}:{},ref:G,className:Se(K.props.className,p,Q.root),...!w&&{variant:J},...V})})});Cd.muiName="Select";function Dk(t){return Ie("MuiTextField",t)}Pe("MuiTextField",["root"]);const Wk={standard:gd,filled:yd,outlined:vd},Uk=t=>{const{classes:r}=t;return Ne({root:["root"]},Dk,r)},Hk=de(oy,{name:"MuiTextField",slot:"Root",overridesResolver:(t,r)=>r.root})({}),kr=S.forwardRef(function(r,o){const s=Me({props:r,name:"MuiTextField"}),{autoComplete:a,autoFocus:u=!1,children:d,className:p,color:m="primary",defaultValue:h,disabled:v=!1,error:y=!1,FormHelperTextProps:w,fullWidth:E=!1,helperText:b,id:C,InputLabelProps:T,inputProps:N,InputProps:j,inputRef:P,label:$,maxRows:O,minRows:B,multiline:F=!1,name:W,onBlur:V,onChange:x,onFocus:D,placeholder:ee,required:J=!1,rows:re,select:Q=!1,SelectProps:Z,slots:oe={},slotProps:K={},type:G,value:ne,variant:M="outlined",...U}=s,ie={...s,autoFocus:u,color:m,disabled:v,error:y,fullWidth:E,multiline:F,required:J,select:Q,variant:M},le=Uk(ie),ce=Zc(C),ge=b&&ce?`${ce}-helper-text`:void 0,be=$&&ce?`${ce}-label`:void 0,Ee=Wk[M],we={slots:oe,slotProps:{input:j,inputLabel:T,htmlInput:N,formHelperText:w,select:Z,...K}},ye={},Ae=we.slotProps.inputLabel;M==="outlined"&&(Ae&&typeof Ae.shrink<"u"&&(ye.notched=Ae.shrink),ye.label=$),Q&&((!Z||!Z.native)&&(ye.id=void 0),ye["aria-describedby"]=void 0);const[Te,He]=en("input",{elementType:Ee,externalForwardedProps:we,additionalProps:ye,ownerState:ie}),[Re,De]=en("inputLabel",{elementType:ry,externalForwardedProps:we,ownerState:ie}),[wt,st]=en("htmlInput",{elementType:"input",externalForwardedProps:we,ownerState:ie}),[Le,yt]=en("formHelperText",{elementType:Mb,externalForwardedProps:we,ownerState:ie}),[Ze,Ve]=en("select",{elementType:Cd,externalForwardedProps:we,ownerState:ie}),me=k.jsx(Te,{"aria-describedby":ge,autoComplete:a,autoFocus:u,defaultValue:h,fullWidth:E,multiline:F,name:W,rows:re,maxRows:O,minRows:B,type:G,value:ne,id:ce,inputRef:P,onBlur:V,onChange:x,onFocus:D,placeholder:ee,inputProps:st,slots:{input:oe.htmlInput?wt:void 0},...He});return k.jsxs(Hk,{className:Se(le.root,p),disabled:v,error:y,fullWidth:E,ref:o,required:J,color:m,variant:M,ownerState:ie,...U,children:[$!=null&&$!==""&&k.jsx(Re,{htmlFor:ce,id:be,...De,children:$}),Q?k.jsx(Ze,{"aria-describedby":ge,id:ce,labelId:be,value:ne,input:me,...Ve,children:d}):me,b&&k.jsx(Le,{id:ge,...yt,children:b})]})});function Vk(t){return Ie("MuiTypography",t)}Pe("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);const Kk={primary:!0,secondary:!0,error:!0,info:!0,success:!0,warning:!0,textPrimary:!0,textSecondary:!0,textDisabled:!0},Gk=WS(),Qk=t=>{const{align:r,gutterBottom:o,noWrap:s,paragraph:a,variant:u,classes:d}=t,p={root:["root",u,t.align!=="inherit"&&`align${he(r)}`,o&&"gutterBottom",s&&"noWrap",a&&"paragraph"]};return Ne(p,Vk,d)},qk=de("span",{name:"MuiTypography",slot:"Root",overridesResolver:(t,r)=>{const{ownerState:o}=t;return[r.root,o.variant&&r[o.variant],o.align!=="inherit"&&r[`align${he(o.align)}`],o.noWrap&&r.noWrap,o.gutterBottom&&r.gutterBottom,o.paragraph&&r.paragraph]}})(Je(({theme:t})=>{var r;return{margin:0,variants:[{props:{variant:"inherit"},style:{font:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}},...Object.entries(t.typography).filter(([o,s])=>o!=="inherit"&&s&&typeof s=="object").map(([o,s])=>({props:{variant:o},style:s})),...Object.entries(t.palette).filter(mn()).map(([o])=>({props:{color:o},style:{color:(t.vars||t).palette[o].main}})),...Object.entries(((r=t.palette)==null?void 0:r.text)||{}).filter(([,o])=>typeof o=="string").map(([o])=>({props:{color:`text${he(o)}`},style:{color:(t.vars||t).palette.text[o]}})),{props:({ownerState:o})=>o.align!=="inherit",style:{textAlign:"var(--Typography-textAlign)"}},{props:({ownerState:o})=>o.noWrap,style:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}},{props:({ownerState:o})=>o.gutterBottom,style:{marginBottom:"0.35em"}},{props:({ownerState:o})=>o.paragraph,style:{marginBottom:16}}]}})),Mh={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},Xe=S.forwardRef(function(r,o){const{color:s,...a}=Me({props:r,name:"MuiTypography"}),u=!Kk[s],d=Gk({...a,...u&&{color:s}}),{align:p="inherit",className:m,component:h,gutterBottom:v=!1,noWrap:y=!1,paragraph:w=!1,variant:E="body1",variantMapping:b=Mh,...C}=d,T={...d,align:p,color:s,className:m,component:h,gutterBottom:v,noWrap:y,paragraph:w,variant:E,variantMapping:b},N=h||(w?"p":b[E]||Mh[E])||"span",j=Qk(T);return k.jsx(qk,{as:N,ref:o,className:Se(j.root,m),...C,ownerState:T,style:{...p!=="inherit"&&{"--Typography-textAlign":p},...C.style}})});function Yk(t){return Ie("MuiAlert",t)}const Oh=Pe("MuiAlert",["root","action","icon","message","filled","colorSuccess","colorInfo","colorWarning","colorError","filledSuccess","filledInfo","filledWarning","filledError","outlined","outlinedSuccess","outlinedInfo","outlinedWarning","outlinedError","standard","standardSuccess","standardInfo","standardWarning","standardError"]);function Xk(t){return Ie("MuiIconButton",t)}const Jk=Pe("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"]),Zk=t=>{const{classes:r,disabled:o,color:s,edge:a,size:u}=t,d={root:["root",o&&"disabled",s!=="default"&&`color${he(s)}`,a&&`edge${he(a)}`,`size${he(u)}`]};return Ne(d,Xk,r)},eE=de(pd,{name:"MuiIconButton",slot:"Root",overridesResolver:(t,r)=>{const{ownerState:o}=t;return[r.root,o.color!=="default"&&r[`color${he(o.color)}`],o.edge&&r[`edge${he(o.edge)}`],r[`size${he(o.size)}`]]}})(Je(({theme:t})=>({textAlign:"center",flex:"0 0 auto",fontSize:t.typography.pxToRem(24),padding:8,borderRadius:"50%",color:(t.vars||t).palette.action.active,transition:t.transitions.create("background-color",{duration:t.transitions.duration.shortest}),variants:[{props:r=>!r.disableRipple,style:{"--IconButton-hoverBg":t.vars?`rgba(${t.vars.palette.action.activeChannel} / ${t.vars.palette.action.hoverOpacity})`:$t(t.palette.action.active,t.palette.action.hoverOpacity),"&:hover":{backgroundColor:"var(--IconButton-hoverBg)","@media (hover: none)":{backgroundColor:"transparent"}}}},{props:{edge:"start"},style:{marginLeft:-12}},{props:{edge:"start",size:"small"},style:{marginLeft:-3}},{props:{edge:"end"},style:{marginRight:-12}},{props:{edge:"end",size:"small"},style:{marginRight:-3}}]})),Je(({theme:t})=>({variants:[{props:{color:"inherit"},style:{color:"inherit"}},...Object.entries(t.palette).filter(mn()).map(([r])=>({props:{color:r},style:{color:(t.vars||t).palette[r].main}})),...Object.entries(t.palette).filter(mn()).map(([r])=>({props:{color:r},style:{"--IconButton-hoverBg":t.vars?`rgba(${(t.vars||t).palette[r].mainChannel} / ${t.vars.palette.action.hoverOpacity})`:$t((t.vars||t).palette[r].main,t.palette.action.hoverOpacity)}})),{props:{size:"small"},style:{padding:5,fontSize:t.typography.pxToRem(18)}},{props:{size:"large"},style:{padding:12,fontSize:t.typography.pxToRem(28)}}],[`&.${Jk.disabled}`]:{backgroundColor:"transparent",color:(t.vars||t).palette.action.disabled}}))),cy=S.forwardRef(function(r,o){const s=Me({props:r,name:"MuiIconButton"}),{edge:a=!1,children:u,className:d,color:p="default",disabled:m=!1,disableFocusRipple:h=!1,size:v="medium",...y}=s,w={...s,edge:a,color:p,disabled:m,disableFocusRipple:h,size:v},E=Zk(w);return k.jsx(eE,{className:Se(E.root,d),centerRipple:!0,focusRipple:!h,disabled:m,ref:o,...y,ownerState:w,children:u})}),tE=eo(k.jsx("path",{d:"M20,12A8,8 0 0,1 12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4C12.76,4 13.5,4.11 14.2, 4.31L15.77,2.74C14.61,2.26 13.34,2 12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0, 0 22,12M7.91,10.08L6.5,11.5L11,16L21,6L19.59,4.58L11,13.17L7.91,10.08Z"}),"SuccessOutlined"),nE=eo(k.jsx("path",{d:"M12 5.99L19.53 19H4.47L12 5.99M12 2L1 21h22L12 2zm1 14h-2v2h2v-2zm0-6h-2v4h2v-4z"}),"ReportProblemOutlined"),rE=eo(k.jsx("path",{d:"M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"ErrorOutline"),oE=eo(k.jsx("path",{d:"M11,9H13V7H11M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20, 12C20,16.41 16.41,20 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10, 10 0 0,0 12,2M11,17H13V11H11V17Z"}),"InfoOutlined"),iE=eo(k.jsx("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close"),sE=t=>{const{variant:r,color:o,severity:s,classes:a}=t,u={root:["root",`color${he(o||s)}`,`${r}${he(o||s)}`,`${r}`],icon:["icon"],message:["message"],action:["action"]};return Ne(u,Yk,a)},lE=de(cs,{name:"MuiAlert",slot:"Root",overridesResolver:(t,r)=>{const{ownerState:o}=t;return[r.root,r[o.variant],r[`${o.variant}${he(o.color||o.severity)}`]]}})(Je(({theme:t})=>{const r=t.palette.mode==="light"?Bo:Fo,o=t.palette.mode==="light"?Fo:Bo;return{...t.typography.body2,backgroundColor:"transparent",display:"flex",padding:"6px 16px",variants:[...Object.entries(t.palette).filter(mn(["light"])).map(([s])=>({props:{colorSeverity:s,variant:"standard"},style:{color:t.vars?t.vars.palette.Alert[`${s}Color`]:r(t.palette[s].light,.6),backgroundColor:t.vars?t.vars.palette.Alert[`${s}StandardBg`]:o(t.palette[s].light,.9),[`& .${Oh.icon}`]:t.vars?{color:t.vars.palette.Alert[`${s}IconColor`]}:{color:t.palette[s].main}}})),...Object.entries(t.palette).filter(mn(["light"])).map(([s])=>({props:{colorSeverity:s,variant:"outlined"},style:{color:t.vars?t.vars.palette.Alert[`${s}Color`]:r(t.palette[s].light,.6),border:`1px solid ${(t.vars||t).palette[s].light}`,[`& .${Oh.icon}`]:t.vars?{color:t.vars.palette.Alert[`${s}IconColor`]}:{color:t.palette[s].main}}})),...Object.entries(t.palette).filter(mn(["dark"])).map(([s])=>({props:{colorSeverity:s,variant:"filled"},style:{fontWeight:t.typography.fontWeightMedium,...t.vars?{color:t.vars.palette.Alert[`${s}FilledColor`],backgroundColor:t.vars.palette.Alert[`${s}FilledBg`]}:{backgroundColor:t.palette.mode==="dark"?t.palette[s].dark:t.palette[s].main,color:t.palette.getContrastText(t.palette[s].main)}}}))]}})),aE=de("div",{name:"MuiAlert",slot:"Icon",overridesResolver:(t,r)=>r.icon})({marginRight:12,padding:"7px 0",display:"flex",fontSize:22,opacity:.9}),uE=de("div",{name:"MuiAlert",slot:"Message",overridesResolver:(t,r)=>r.message})({padding:"8px 0",minWidth:0,overflow:"auto"}),Nh=de("div",{name:"MuiAlert",slot:"Action",overridesResolver:(t,r)=>r.action})({display:"flex",alignItems:"flex-start",padding:"4px 0 0 16px",marginLeft:"auto",marginRight:-8}),Ah={success:k.jsx(tE,{fontSize:"inherit"}),warning:k.jsx(nE,{fontSize:"inherit"}),error:k.jsx(rE,{fontSize:"inherit"}),info:k.jsx(oE,{fontSize:"inherit"})},ua=S.forwardRef(function(r,o){const s=Me({props:r,name:"MuiAlert"}),{action:a,children:u,className:d,closeText:p="Close",color:m,components:h={},componentsProps:v={},icon:y,iconMapping:w=Ah,onClose:E,role:b="alert",severity:C="success",slotProps:T={},slots:N={},variant:j="standard",...P}=s,$={...s,color:m,severity:C,variant:j,colorSeverity:m||C},O=sE($),B={slots:{closeButton:h.CloseButton,closeIcon:h.CloseIcon,...N},slotProps:{...v,...T}},[F,W]=en("closeButton",{elementType:cy,externalForwardedProps:B,ownerState:$}),[V,x]=en("closeIcon",{elementType:iE,externalForwardedProps:B,ownerState:$});return k.jsxs(lE,{role:b,elevation:0,ownerState:$,className:Se(O.root,d),ref:o,...P,children:[y!==!1?k.jsx(aE,{ownerState:$,className:O.icon,children:y||w[C]||Ah[C]}):null,k.jsx(uE,{ownerState:$,className:O.message,children:u}),a!=null?k.jsx(Nh,{ownerState:$,className:O.action,children:a}):null,a==null&&E?k.jsx(Nh,{ownerState:$,className:O.action,children:k.jsx(F,{size:"small","aria-label":p,title:p,color:"inherit",onClick:E,...W,children:k.jsx(V,{fontSize:"small",...x})})}):null]})}),cE="".replace(/\/$/,"");async function zi(t,r,o){const s={};o!==void 0&&(s["Content-Type"]="application/json");const a=$r.getToken();a&&(s.Authorization=`Bearer ${a}`);const u=await fetch(`${cE}${r}`,{method:t,headers:Object.keys(s).length>0?s:void 0,body:o===void 0?void 0:JSON.stringify(o)});if(!u.ok){let p=`${u.status} ${u.statusText}`;try{const m=await u.json();typeof m.detail=="string"&&(p=m.detail)}catch{}throw new Error(p)}return{data:u.status===204?void 0:await u.json(),status:u.status}}const Wo={get:t=>zi("GET",t),post:(t,r)=>zi("POST",t,r??{}),put:(t,r)=>zi("PUT",t,r??{}),patch:(t,r)=>zi("PATCH",t,r??{}),delete:t=>zi("DELETE",t)};function dE(){const[t,r]=S.useState(""),[o,s]=S.useState(""),[a,u]=S.useState(""),[d,p]=S.useState(!1),m=Zr(),h=async v=>{v.preventDefault(),u(""),p(!0);try{const y=await Wo.post("/api/auth/login",{username:t,password:o});$r.setToken(y.data.access_token,y.data.user),m("/dashboard")}catch(y){u(y instanceof Error?y.message:"Login failed")}finally{p(!1)}};return k.jsx(ds,{maxWidth:"sm",sx:{py:8},children:k.jsx(Xr,{children:k.jsxs(Jr,{sx:{p:4},children:[k.jsx(Xe,{variant:"h4",sx:{mb:3,textAlign:"center"},children:"Wallet App"}),k.jsx(Xe,{variant:"body2",sx:{mb:3,textAlign:"center",color:"text.secondary"},children:"Sign in to your account"}),a&&k.jsx(ua,{severity:"error",sx:{mb:2},children:a}),k.jsxs(Tn,{component:"form",onSubmit:h,sx:{display:"flex",flexDirection:"column",gap:2},children:[k.jsx(kr,{label:"Username",value:t,onChange:v=>r(v.target.value),fullWidth:!0,disabled:d,required:!0}),k.jsx(kr,{label:"Password",type:"password",value:o,onChange:v=>s(v.target.value),fullWidth:!0,disabled:d,required:!0}),k.jsx(Un,{type:"submit",variant:"contained",fullWidth:!0,disabled:d,children:d?"Signing in...":"Sign In"})]}),k.jsxs(Xe,{variant:"body2",sx:{mt:3,textAlign:"center"},children:["Don't have an account?"," ",k.jsx(Zg,{to:"/register",style:{color:"inherit",textDecoration:"none",fontWeight:"bold"},children:"Register here"})]})]})})})}function fE(){const[t,r]=S.useState(""),[o,s]=S.useState(""),[a,u]=S.useState(""),[d,p]=S.useState(""),[m,h]=S.useState(""),[v,y]=S.useState(!1),w=Zr(),E=async b=>{if(b.preventDefault(),h(""),a!==d){h("Passwords do not match");return}y(!0);try{const C=await Wo.post("/api/auth/register",{username:t,email:o,password:a});$r.setToken(C.data.access_token,C.data.user),w("/dashboard")}catch(C){h(C instanceof Error?C.message:"Registration failed")}finally{y(!1)}};return k.jsx(ds,{maxWidth:"sm",sx:{py:8},children:k.jsx(Xr,{children:k.jsxs(Jr,{sx:{p:4},children:[k.jsx(Xe,{variant:"h4",sx:{mb:3,textAlign:"center"},children:"Create Account"}),k.jsx(Xe,{variant:"body2",sx:{mb:3,textAlign:"center",color:"text.secondary"},children:"Sign up to get started"}),m&&k.jsx(ua,{severity:"error",sx:{mb:2},children:m}),k.jsxs(Tn,{component:"form",onSubmit:E,sx:{display:"flex",flexDirection:"column",gap:2},children:[k.jsx(kr,{label:"Username",value:t,onChange:b=>r(b.target.value),fullWidth:!0,disabled:v,required:!0}),k.jsx(kr,{label:"Email",type:"email",value:o,onChange:b=>s(b.target.value),fullWidth:!0,disabled:v,required:!0}),k.jsx(kr,{label:"Password",type:"password",value:a,onChange:b=>u(b.target.value),fullWidth:!0,disabled:v,required:!0}),k.jsx(kr,{label:"Confirm Password",type:"password",value:d,onChange:b=>p(b.target.value),fullWidth:!0,disabled:v,required:!0}),k.jsx(Un,{type:"submit",variant:"contained",fullWidth:!0,disabled:v,children:v?"Creating account...":"Sign Up"})]}),k.jsxs(Xe,{variant:"body2",sx:{mt:3,textAlign:"center"},children:["Already have an account?"," ",k.jsx(Zg,{to:"/login",style:{color:"inherit",textDecoration:"none",fontWeight:"bold"},children:"Sign in here"})]})]})})})}const Lh=S.createContext();function pE(t){return Ie("MuiGrid",t)}const mE=[0,1,2,3,4,5,6,7,8,9,10],hE=["column-reverse","column","row-reverse","row"],gE=["nowrap","wrap-reverse","wrap"],Bi=["auto",!0,1,2,3,4,5,6,7,8,9,10,11,12],ts=Pe("MuiGrid",["root","container","item","zeroMinWidth",...mE.map(t=>`spacing-xs-${t}`),...hE.map(t=>`direction-xs-${t}`),...gE.map(t=>`wrap-xs-${t}`),...Bi.map(t=>`grid-xs-${t}`),...Bi.map(t=>`grid-sm-${t}`),...Bi.map(t=>`grid-md-${t}`),...Bi.map(t=>`grid-lg-${t}`),...Bi.map(t=>`grid-xl-${t}`)]);function yE({theme:t,ownerState:r}){let o;return t.breakpoints.keys.reduce((s,a)=>{let u={};if(r[a]&&(o=r[a]),!o)return s;if(o===!0)u={flexBasis:0,flexGrow:1,maxWidth:"100%"};else if(o==="auto")u={flexBasis:"auto",flexGrow:0,flexShrink:0,maxWidth:"none",width:"auto"};else{const d=Ul({values:r.columns,breakpoints:t.breakpoints.values}),p=typeof d=="object"?d[a]:d;if(p==null)return s;const m=`${Math.round(o/p*1e8)/1e6}%`;let h={};if(r.container&&r.item&&r.columnSpacing!==0){const v=t.spacing(r.columnSpacing);if(v!=="0px"){const y=`calc(${m} + ${v})`;h={flexBasis:y,maxWidth:y}}}u={flexBasis:m,flexGrow:0,maxWidth:m,...h}}return t.breakpoints.values[a]===0?Object.assign(s,u):s[t.breakpoints.up(a)]=u,s},{})}function vE({theme:t,ownerState:r}){const o=Ul({values:r.direction,breakpoints:t.breakpoints.values});return hn({theme:t},o,s=>{const a={flexDirection:s};return s.startsWith("column")&&(a[`& > .${ts.item}`]={maxWidth:"none"}),a})}function dy({breakpoints:t,values:r}){let o="";Object.keys(r).forEach(a=>{o===""&&r[a]!==0&&(o=a)});const s=Object.keys(t).sort((a,u)=>t[a]-t[u]);return s.slice(0,s.indexOf(o))}function xE({theme:t,ownerState:r}){const{container:o,rowSpacing:s}=r;let a={};if(o&&s!==0){const u=Ul({values:s,breakpoints:t.breakpoints.values});let d;typeof u=="object"&&(d=dy({breakpoints:t.breakpoints.values,values:u})),a=hn({theme:t},u,(p,m)=>{const h=t.spacing(p);return h!=="0px"?{marginTop:`calc(-1 * ${h})`,[`& > .${ts.item}`]:{paddingTop:h}}:d!=null&&d.includes(m)?{}:{marginTop:0,[`& > .${ts.item}`]:{paddingTop:0}}})}return a}function SE({theme:t,ownerState:r}){const{container:o,columnSpacing:s}=r;let a={};if(o&&s!==0){const u=Ul({values:s,breakpoints:t.breakpoints.values});let d;typeof u=="object"&&(d=dy({breakpoints:t.breakpoints.values,values:u})),a=hn({theme:t},u,(p,m)=>{const h=t.spacing(p);if(h!=="0px"){const v=`calc(-1 * ${h})`;return{width:`calc(100% + ${h})`,marginLeft:v,[`& > .${ts.item}`]:{paddingLeft:h}}}return d!=null&&d.includes(m)?{}:{width:"100%",marginLeft:0,[`& > .${ts.item}`]:{paddingLeft:0}}})}return a}function CE(t,r,o={}){if(!t||t<=0)return[];if(typeof t=="string"&&!Number.isNaN(Number(t))||typeof t=="number")return[o[`spacing-xs-${String(t)}`]];const s=[];return r.forEach(a=>{const u=t[a];Number(u)>0&&s.push(o[`spacing-${a}-${String(u)}`])}),s}const wE=de("div",{name:"MuiGrid",slot:"Root",overridesResolver:(t,r)=>{const{ownerState:o}=t,{container:s,direction:a,item:u,spacing:d,wrap:p,zeroMinWidth:m,breakpoints:h}=o;let v=[];s&&(v=CE(d,h,r));const y=[];return h.forEach(w=>{const E=o[w];E&&y.push(r[`grid-${w}-${String(E)}`])}),[r.root,s&&r.container,u&&r.item,m&&r.zeroMinWidth,...v,a!=="row"&&r[`direction-xs-${String(a)}`],p!=="wrap"&&r[`wrap-xs-${String(p)}`],...y]}})(({ownerState:t})=>({boxSizing:"border-box",...t.container&&{display:"flex",flexWrap:"wrap",width:"100%"},...t.item&&{margin:0},...t.zeroMinWidth&&{minWidth:0},...t.wrap!=="wrap"&&{flexWrap:t.wrap}}),vE,xE,SE,yE);function bE(t,r){if(!t||t<=0)return[];if(typeof t=="string"&&!Number.isNaN(Number(t))||typeof t=="number")return[`spacing-xs-${String(t)}`];const o=[];return r.forEach(s=>{const a=t[s];if(Number(a)>0){const u=`spacing-${s}-${String(a)}`;o.push(u)}}),o}const kE=t=>{const{classes:r,container:o,direction:s,item:a,spacing:u,wrap:d,zeroMinWidth:p,breakpoints:m}=t;let h=[];o&&(h=bE(u,m));const v=[];m.forEach(w=>{const E=t[w];E&&v.push(`grid-${w}-${String(E)}`)});const y={root:["root",o&&"container",a&&"item",p&&"zeroMinWidth",...h,s!=="row"&&`direction-xs-${String(s)}`,d!=="wrap"&&`wrap-xs-${String(d)}`,...v]};return Ne(y,pE,r)},Fi=S.forwardRef(function(r,o){const s=Me({props:r,name:"MuiGrid"}),{breakpoints:a}=ra(),u=Wc(s),{className:d,columns:p,columnSpacing:m,component:h="div",container:v=!1,direction:y="row",item:w=!1,rowSpacing:E,spacing:b=0,wrap:C="wrap",zeroMinWidth:T=!1,...N}=u,j=E||b,P=m||b,$=S.useContext(Lh),O=v?p||12:$,B={},F={...N};a.keys.forEach(x=>{N[x]!=null&&(B[x]=N[x],delete F[x])});const W={...u,columns:O,container:v,direction:y,item:w,rowSpacing:j,columnSpacing:P,wrap:C,zeroMinWidth:T,spacing:b,...B,breakpoints:a.keys},V=kE(W);return k.jsx(Lh.Provider,{value:O,children:k.jsx(wE,{ownerState:W,className:Se(V.root,d),as:h,ref:o,...F})})});function EE(t){return Ie("MuiAppBar",t)}Pe("MuiAppBar",["root","positionFixed","positionAbsolute","positionSticky","positionStatic","positionRelative","colorDefault","colorPrimary","colorSecondary","colorInherit","colorTransparent","colorError","colorInfo","colorSuccess","colorWarning"]);const RE=t=>{const{color:r,position:o,classes:s}=t,a={root:["root",`color${he(r)}`,`position${he(o)}`]};return Ne(a,EE,s)},jh=(t,r)=>t?`${t==null?void 0:t.replace(")","")}, ${r})`:r,TE=de(cs,{name:"MuiAppBar",slot:"Root",overridesResolver:(t,r)=>{const{ownerState:o}=t;return[r.root,r[`position${he(o.position)}`],r[`color${he(o.color)}`]]}})(Je(({theme:t})=>({display:"flex",flexDirection:"column",width:"100%",boxSizing:"border-box",flexShrink:0,variants:[{props:{position:"fixed"},style:{position:"fixed",zIndex:(t.vars||t).zIndex.appBar,top:0,left:"auto",right:0,"@media print":{position:"absolute"}}},{props:{position:"absolute"},style:{position:"absolute",zIndex:(t.vars||t).zIndex.appBar,top:0,left:"auto",right:0}},{props:{position:"sticky"},style:{position:"sticky",zIndex:(t.vars||t).zIndex.appBar,top:0,left:"auto",right:0}},{props:{position:"static"},style:{position:"static"}},{props:{position:"relative"},style:{position:"relative"}},{props:{color:"inherit"},style:{"--AppBar-color":"inherit"}},{props:{color:"default"},style:{"--AppBar-background":t.vars?t.vars.palette.AppBar.defaultBg:t.palette.grey[100],"--AppBar-color":t.vars?t.vars.palette.text.primary:t.palette.getContrastText(t.palette.grey[100]),...t.applyStyles("dark",{"--AppBar-background":t.vars?t.vars.palette.AppBar.defaultBg:t.palette.grey[900],"--AppBar-color":t.vars?t.vars.palette.text.primary:t.palette.getContrastText(t.palette.grey[900])})}},...Object.entries(t.palette).filter(mn(["contrastText"])).map(([r])=>({props:{color:r},style:{"--AppBar-background":(t.vars??t).palette[r].main,"--AppBar-color":(t.vars??t).palette[r].contrastText}})),{props:r=>r.enableColorOnDark===!0&&!["inherit","transparent"].includes(r.color),style:{backgroundColor:"var(--AppBar-background)",color:"var(--AppBar-color)"}},{props:r=>r.enableColorOnDark===!1&&!["inherit","transparent"].includes(r.color),style:{backgroundColor:"var(--AppBar-background)",color:"var(--AppBar-color)",...t.applyStyles("dark",{backgroundColor:t.vars?jh(t.vars.palette.AppBar.darkBg,"var(--AppBar-background)"):null,color:t.vars?jh(t.vars.palette.AppBar.darkColor,"var(--AppBar-color)"):null})}},{props:{color:"transparent"},style:{"--AppBar-background":"transparent","--AppBar-color":"inherit",backgroundColor:"var(--AppBar-background)",color:"var(--AppBar-color)",...t.applyStyles("dark",{backgroundImage:"none"})}}]}))),wd=S.forwardRef(function(r,o){const s=Me({props:r,name:"MuiAppBar"}),{className:a,color:u="primary",enableColorOnDark:d=!1,position:p="fixed",...m}=s,h={...s,color:u,position:p,enableColorOnDark:d},v=RE(h);return k.jsx(TE,{square:!0,component:"header",ownerState:h,elevation:4,className:Se(v.root,a,p==="fixed"&&"mui-fixed"),ref:o,...m})});function PE(t){return Ie("MuiToolbar",t)}Pe("MuiToolbar",["root","gutters","regular","dense"]);const $E=t=>{const{classes:r,disableGutters:o,variant:s}=t;return Ne({root:["root",!o&&"gutters",s]},PE,r)},IE=de("div",{name:"MuiToolbar",slot:"Root",overridesResolver:(t,r)=>{const{ownerState:o}=t;return[r.root,!o.disableGutters&&r.gutters,r[o.variant]]}})(Je(({theme:t})=>({position:"relative",display:"flex",alignItems:"center",variants:[{props:({ownerState:r})=>!r.disableGutters,style:{paddingLeft:t.spacing(2),paddingRight:t.spacing(2),[t.breakpoints.up("sm")]:{paddingLeft:t.spacing(3),paddingRight:t.spacing(3)}}},{props:{variant:"dense"},style:{minHeight:48}},{props:{variant:"regular"},style:t.mixins.toolbar}]}))),bd=S.forwardRef(function(r,o){const s=Me({props:r,name:"MuiToolbar"}),{className:a,component:u="div",disableGutters:d=!1,variant:p="regular",...m}=s,h={...s,component:u,disableGutters:d,variant:p},v=$E(h);return k.jsx(IE,{as:u,className:Se(v.root,a),ref:o,ownerState:h,...m})});function ME(){const[t,r]=S.useState(null),[o,s]=S.useState(!0),[a,u]=S.useState(""),d=Zr(),p=$r.getUser();S.useEffect(()=>{(async()=>{try{const v=await Wo.get("/api/wallet/metrics");r(v.data)}catch(v){u(v instanceof Error?v.message:"Failed to load metrics")}finally{s(!1)}})()},[]);const m=()=>{$r.clearAuth(),d("/login")};return k.jsxs(Tn,{children:[k.jsx(wd,{position:"static",children:k.jsxs(bd,{children:[k.jsx(Xe,{variant:"h6",sx:{flexGrow:1},children:"Wallet App"}),k.jsx(Xe,{variant:"body2",sx:{mr:2},children:p==null?void 0:p.username}),k.jsx(Un,{color:"inherit",onClick:m,children:"Logout"})]})}),k.jsxs(ds,{maxWidth:"lg",sx:{py:4},children:[k.jsxs(Tn,{sx:{mb:4},children:[k.jsx(Xe,{variant:"h4",sx:{mb:3},children:"Dashboard"}),a&&k.jsx(Xe,{color:"error",sx:{mb:2},children:a}),o?k.jsx(Xe,{children:"Loading metrics..."}):t?k.jsxs(Fi,{container:!0,spacing:2,children:[k.jsx(Fi,{item:!0,xs:12,sm:6,md:3,children:k.jsx(Xr,{children:k.jsxs(Jr,{children:[k.jsx(Xe,{color:"textSecondary",gutterBottom:!0,children:"Total Balance"}),k.jsxs(Xe,{variant:"h5",sx:{color:t.total_balance>=0?"success.main":"error.main"},children:["$",t.total_balance.toFixed(2)]})]})})}),k.jsx(Fi,{item:!0,xs:12,sm:6,md:3,children:k.jsx(Xr,{children:k.jsxs(Jr,{children:[k.jsx(Xe,{color:"textSecondary",gutterBottom:!0,children:"Total Income"}),k.jsxs(Xe,{variant:"h5",sx:{color:"success.main"},children:["$",t.total_income.toFixed(2)]})]})})}),k.jsx(Fi,{item:!0,xs:12,sm:6,md:3,children:k.jsx(Xr,{children:k.jsxs(Jr,{children:[k.jsx(Xe,{color:"textSecondary",gutterBottom:!0,children:"Total Expenses"}),k.jsxs(Xe,{variant:"h5",sx:{color:"error.main"},children:["$",t.total_expenses.toFixed(2)]})]})})}),k.jsx(Fi,{item:!0,xs:12,sm:6,md:3,children:k.jsx(Xr,{children:k.jsxs(Jr,{children:[k.jsx(Xe,{color:"textSecondary",gutterBottom:!0,children:"Total Entries"}),k.jsx(Xe,{variant:"h5",children:t.entry_count})]})})})]}):null]}),k.jsxs(Tn,{sx:{display:"flex",gap:2},children:[k.jsx(Un,{variant:"contained",onClick:()=>d("/entries/new"),children:"Add Entry"}),k.jsx(Un,{variant:"outlined",onClick:()=>d("/entries"),children:"View All Entries"})]})]})]})}const _h=Pe("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]),zh=Pe("MuiListItemIcon",["root","alignItemsFlexStart"]),Bh=Pe("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]);function OE(t){return Ie("MuiMenuItem",t)}const Di=Pe("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]),NE=(t,r)=>{const{ownerState:o}=t;return[r.root,o.dense&&r.dense,o.divider&&r.divider,!o.disableGutters&&r.gutters]},AE=t=>{const{disabled:r,dense:o,divider:s,disableGutters:a,selected:u,classes:d}=t,m=Ne({root:["root",o&&"dense",r&&"disabled",!a&&"gutters",s&&"divider",u&&"selected"]},OE,d);return{...d,...m}},LE=de(pd,{shouldForwardProp:t=>yn(t)||t==="classes",name:"MuiMenuItem",slot:"Root",overridesResolver:NE})(Je(({theme:t})=>({...t.typography.body1,display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",whiteSpace:"nowrap","&:hover":{textDecoration:"none",backgroundColor:(t.vars||t).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${Di.selected}`]:{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / ${t.vars.palette.action.selectedOpacity})`:$t(t.palette.primary.main,t.palette.action.selectedOpacity),[`&.${Di.focusVisible}`]:{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.focusOpacity}))`:$t(t.palette.primary.main,t.palette.action.selectedOpacity+t.palette.action.focusOpacity)}},[`&.${Di.selected}:hover`]:{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.hoverOpacity}))`:$t(t.palette.primary.main,t.palette.action.selectedOpacity+t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / ${t.vars.palette.action.selectedOpacity})`:$t(t.palette.primary.main,t.palette.action.selectedOpacity)}},[`&.${Di.focusVisible}`]:{backgroundColor:(t.vars||t).palette.action.focus},[`&.${Di.disabled}`]:{opacity:(t.vars||t).palette.action.disabledOpacity},[`& + .${_h.root}`]:{marginTop:t.spacing(1),marginBottom:t.spacing(1)},[`& + .${_h.inset}`]:{marginLeft:52},[`& .${Bh.root}`]:{marginTop:0,marginBottom:0},[`& .${Bh.inset}`]:{paddingLeft:36},[`& .${zh.root}`]:{minWidth:36},variants:[{props:({ownerState:r})=>!r.disableGutters,style:{paddingLeft:16,paddingRight:16}},{props:({ownerState:r})=>r.divider,style:{borderBottom:`1px solid ${(t.vars||t).palette.divider}`,backgroundClip:"padding-box"}},{props:({ownerState:r})=>!r.dense,style:{[t.breakpoints.up("sm")]:{minHeight:"auto"}}},{props:({ownerState:r})=>r.dense,style:{minHeight:32,paddingTop:4,paddingBottom:4,...t.typography.body2,[`& .${zh.root} svg`]:{fontSize:"1.25rem"}}}]}))),Fh=S.forwardRef(function(r,o){const s=Me({props:r,name:"MuiMenuItem"}),{autoFocus:a=!1,component:u="li",dense:d=!1,divider:p=!1,disableGutters:m=!1,focusVisibleClassName:h,role:v="menuitem",tabIndex:y,className:w,...E}=s,b=S.useContext(Nc),C=S.useMemo(()=>({dense:d||b.dense||!1,disableGutters:m}),[b.dense,d,m]),T=S.useRef(null);Hn(()=>{a&&T.current&&T.current.focus()},[a]);const N={...s,dense:C.dense,divider:p,disableGutters:m},j=AE(s),P=Nt(T,o);let $;return s.disabled||($=y!==void 0?y:-1),k.jsx(Nc.Provider,{value:C,children:k.jsx(LE,{ref:P,role:v,tabIndex:$,component:u,focusVisibleClassName:Se(j.focusVisible,h),className:Se(j.root,w),...E,ownerState:N,classes:j})})});function jE(){const[t,r]=S.useState(""),[o,s]=S.useState("income"),[a,u]=S.useState(""),[d,p]=S.useState(""),[m,h]=S.useState(!1),v=Zr(),y=$r.getUser(),w=async E=>{if(E.preventDefault(),p(""),!t||parseFloat(t)<=0){p("Please enter a valid amount");return}h(!0);try{await Wo.post("/api/wallet/entries",{amount:parseFloat(t),entry_type:o,description:a}),v("/entries")}catch(b){p(b instanceof Error?b.message:"Failed to create entry")}finally{h(!1)}};return k.jsxs(Tn,{children:[k.jsx(wd,{position:"static",children:k.jsxs(bd,{children:[k.jsx(Xe,{variant:"h6",sx:{flexGrow:1},children:"Wallet App"}),k.jsx(Xe,{variant:"body2",sx:{mr:2},children:y==null?void 0:y.username}),k.jsx(Un,{color:"inherit",onClick:()=>v("/dashboard"),children:"Dashboard"})]})}),k.jsx(ds,{maxWidth:"sm",sx:{py:4},children:k.jsx(Xr,{children:k.jsxs(Jr,{sx:{p:4},children:[k.jsx(Xe,{variant:"h4",sx:{mb:3},children:"Add Wallet Entry"}),d&&k.jsx(ua,{severity:"error",sx:{mb:2},children:d}),k.jsxs(Tn,{component:"form",onSubmit:w,sx:{display:"flex",flexDirection:"column",gap:2},children:[k.jsxs(oy,{fullWidth:!0,children:[k.jsx(ry,{children:"Type"}),k.jsxs(Cd,{value:o,label:"Type",onChange:E=>s(E.target.value),disabled:m,children:[k.jsx(Fh,{value:"income",children:"Income"}),k.jsx(Fh,{value:"expense",children:"Expense"})]})]}),k.jsx(kr,{label:"Amount",type:"number",inputProps:{step:"0.01",min:"0"},value:t,onChange:E=>r(E.target.value),fullWidth:!0,disabled:m,required:!0}),k.jsx(kr,{label:"Description",value:a,onChange:E=>u(E.target.value),fullWidth:!0,multiline:!0,rows:3,disabled:m,required:!0}),k.jsxs(Tn,{sx:{display:"flex",gap:2},children:[k.jsx(Un,{type:"submit",variant:"contained",fullWidth:!0,disabled:m,children:m?"Creating...":"Create Entry"}),k.jsx(Un,{variant:"outlined",fullWidth:!0,onClick:()=>v("/entries"),disabled:m,children:"Cancel"})]})]})]})})})]})}const fy=S.createContext();function _E(t){return Ie("MuiTable",t)}Pe("MuiTable",["root","stickyHeader"]);const zE=t=>{const{classes:r,stickyHeader:o}=t;return Ne({root:["root",o&&"stickyHeader"]},_E,r)},BE=de("table",{name:"MuiTable",slot:"Root",overridesResolver:(t,r)=>{const{ownerState:o}=t;return[r.root,o.stickyHeader&&r.stickyHeader]}})(Je(({theme:t})=>({display:"table",width:"100%",borderCollapse:"collapse",borderSpacing:0,"& caption":{...t.typography.body2,padding:t.spacing(2),color:(t.vars||t).palette.text.secondary,textAlign:"left",captionSide:"bottom"},variants:[{props:({ownerState:r})=>r.stickyHeader,style:{borderCollapse:"separate"}}]}))),Dh="table",FE=S.forwardRef(function(r,o){const s=Me({props:r,name:"MuiTable"}),{className:a,component:u=Dh,padding:d="normal",size:p="medium",stickyHeader:m=!1,...h}=s,v={...s,component:u,padding:d,size:p,stickyHeader:m},y=zE(v),w=S.useMemo(()=>({padding:d,size:p,stickyHeader:m}),[d,p,m]);return k.jsx(fy.Provider,{value:w,children:k.jsx(BE,{as:u,role:u===Dh?null:"table",ref:o,className:Se(y.root,a),ownerState:v,...h})})}),ca=S.createContext();function DE(t){return Ie("MuiTableBody",t)}Pe("MuiTableBody",["root"]);const WE=t=>{const{classes:r}=t;return Ne({root:["root"]},DE,r)},UE=de("tbody",{name:"MuiTableBody",slot:"Root",overridesResolver:(t,r)=>r.root})({display:"table-row-group"}),HE={variant:"body"},Wh="tbody",VE=S.forwardRef(function(r,o){const s=Me({props:r,name:"MuiTableBody"}),{className:a,component:u=Wh,...d}=s,p={...s,component:u},m=WE(p);return k.jsx(ca.Provider,{value:HE,children:k.jsx(UE,{className:Se(m.root,a),as:u,ref:o,role:u===Wh?null:"rowgroup",ownerState:p,...d})})});function KE(t){return Ie("MuiTableCell",t)}const GE=Pe("MuiTableCell",["root","head","body","footer","sizeSmall","sizeMedium","paddingCheckbox","paddingNone","alignLeft","alignCenter","alignRight","alignJustify","stickyHeader"]),QE=t=>{const{classes:r,variant:o,align:s,padding:a,size:u,stickyHeader:d}=t,p={root:["root",o,d&&"stickyHeader",s!=="inherit"&&`align${he(s)}`,a!=="normal"&&`padding${he(a)}`,`size${he(u)}`]};return Ne(p,KE,r)},qE=de("td",{name:"MuiTableCell",slot:"Root",overridesResolver:(t,r)=>{const{ownerState:o}=t;return[r.root,r[o.variant],r[`size${he(o.size)}`],o.padding!=="normal"&&r[`padding${he(o.padding)}`],o.align!=="inherit"&&r[`align${he(o.align)}`],o.stickyHeader&&r.stickyHeader]}})(Je(({theme:t})=>({...t.typography.body2,display:"table-cell",verticalAlign:"inherit",borderBottom:t.vars?`1px solid ${t.vars.palette.TableCell.border}`:`1px solid
|
||
${t.palette.mode==="light"?Fo($t(t.palette.divider,1),.88):Bo($t(t.palette.divider,1),.68)}`,textAlign:"left",padding:16,variants:[{props:{variant:"head"},style:{color:(t.vars||t).palette.text.primary,lineHeight:t.typography.pxToRem(24),fontWeight:t.typography.fontWeightMedium}},{props:{variant:"body"},style:{color:(t.vars||t).palette.text.primary}},{props:{variant:"footer"},style:{color:(t.vars||t).palette.text.secondary,lineHeight:t.typography.pxToRem(21),fontSize:t.typography.pxToRem(12)}},{props:{size:"small"},style:{padding:"6px 16px",[`&.${GE.paddingCheckbox}`]:{width:24,padding:"0 12px 0 16px","& > *":{padding:0}}}},{props:{padding:"checkbox"},style:{width:48,padding:"0 0 0 4px"}},{props:{padding:"none"},style:{padding:0}},{props:{align:"left"},style:{textAlign:"left"}},{props:{align:"center"},style:{textAlign:"center"}},{props:{align:"right"},style:{textAlign:"right",flexDirection:"row-reverse"}},{props:{align:"justify"},style:{textAlign:"justify"}},{props:({ownerState:r})=>r.stickyHeader,style:{position:"sticky",top:0,zIndex:2,backgroundColor:(t.vars||t).palette.background.default}}]}))),_n=S.forwardRef(function(r,o){const s=Me({props:r,name:"MuiTableCell"}),{align:a="inherit",className:u,component:d,padding:p,scope:m,size:h,sortDirection:v,variant:y,...w}=s,E=S.useContext(fy),b=S.useContext(ca),C=b&&b.variant==="head";let T;d?T=d:T=C?"th":"td";let N=m;T==="td"?N=void 0:!N&&C&&(N="col");const j=y||b&&b.variant,P={...s,align:a,component:T,padding:p||(E&&E.padding?E.padding:"normal"),size:h||(E&&E.size?E.size:"medium"),sortDirection:v,stickyHeader:j==="head"&&E&&E.stickyHeader,variant:j},$=QE(P);let O=null;return v&&(O=v==="asc"?"ascending":"descending"),k.jsx(qE,{as:T,ref:o,className:Se($.root,u),"aria-sort":O,scope:N,ownerState:P,...w})});function YE(t){return Ie("MuiTableContainer",t)}Pe("MuiTableContainer",["root"]);const XE=t=>{const{classes:r}=t;return Ne({root:["root"]},YE,r)},JE=de("div",{name:"MuiTableContainer",slot:"Root",overridesResolver:(t,r)=>r.root})({width:"100%",overflowX:"auto"}),ZE=S.forwardRef(function(r,o){const s=Me({props:r,name:"MuiTableContainer"}),{className:a,component:u="div",...d}=s,p={...s,component:u},m=XE(p);return k.jsx(JE,{ref:o,as:u,className:Se(m.root,a),ownerState:p,...d})});function e2(t){return Ie("MuiTableHead",t)}Pe("MuiTableHead",["root"]);const t2=t=>{const{classes:r}=t;return Ne({root:["root"]},e2,r)},n2=de("thead",{name:"MuiTableHead",slot:"Root",overridesResolver:(t,r)=>r.root})({display:"table-header-group"}),r2={variant:"head"},Uh="thead",o2=S.forwardRef(function(r,o){const s=Me({props:r,name:"MuiTableHead"}),{className:a,component:u=Uh,...d}=s,p={...s,component:u},m=t2(p);return k.jsx(ca.Provider,{value:r2,children:k.jsx(n2,{as:u,className:Se(m.root,a),ref:o,role:u===Uh?null:"rowgroup",ownerState:p,...d})})});function i2(t){return Ie("MuiTableRow",t)}const Hh=Pe("MuiTableRow",["root","selected","hover","head","footer"]),s2=t=>{const{classes:r,selected:o,hover:s,head:a,footer:u}=t;return Ne({root:["root",o&&"selected",s&&"hover",a&&"head",u&&"footer"]},i2,r)},l2=de("tr",{name:"MuiTableRow",slot:"Root",overridesResolver:(t,r)=>{const{ownerState:o}=t;return[r.root,o.head&&r.head,o.footer&&r.footer]}})(Je(({theme:t})=>({color:"inherit",display:"table-row",verticalAlign:"middle",outline:0,[`&.${Hh.hover}:hover`]:{backgroundColor:(t.vars||t).palette.action.hover},[`&.${Hh.selected}`]:{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / ${t.vars.palette.action.selectedOpacity})`:$t(t.palette.primary.main,t.palette.action.selectedOpacity),"&:hover":{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.hoverOpacity}))`:$t(t.palette.primary.main,t.palette.action.selectedOpacity+t.palette.action.hoverOpacity)}}}))),Vh="tr",Kh=S.forwardRef(function(r,o){const s=Me({props:r,name:"MuiTableRow"}),{className:a,component:u=Vh,hover:d=!1,selected:p=!1,...m}=s,h=S.useContext(ca),v={...s,component:u,hover:d,selected:p,head:h&&h.variant==="head",footer:h&&h.variant==="footer"},y=s2(v);return k.jsx(l2,{as:u,ref:o,className:Se(y.root,a),role:u===Vh?null:"row",ownerState:v,...m})}),a2=eo(k.jsx("path",{d:"M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6zM19 4h-3.5l-1-1h-5l-1 1H5v2h14z"}),"Delete");function u2(){const[t,r]=S.useState([]),[o,s]=S.useState(!0),[a,u]=S.useState(""),d=Zr(),p=$r.getUser();S.useEffect(()=>{m()},[]);const m=async()=>{try{const y=await Wo.get("/api/wallet/entries");r(y.data)}catch(y){u(y instanceof Error?y.message:"Failed to load entries")}finally{s(!1)}},h=async y=>{if(window.confirm("Are you sure you want to delete this entry?"))try{await Wo.delete(`/api/wallet/entries/${y}`),r(t.filter(w=>w.id!==y))}catch(w){u(w instanceof Error?w.message:"Failed to delete entry")}},v=y=>new Date(y).toLocaleDateString();return k.jsxs(Tn,{children:[k.jsx(wd,{position:"static",children:k.jsxs(bd,{children:[k.jsx(Xe,{variant:"h6",sx:{flexGrow:1},children:"Wallet App"}),k.jsx(Xe,{variant:"body2",sx:{mr:2},children:p==null?void 0:p.username}),k.jsx(Un,{color:"inherit",onClick:()=>d("/dashboard"),children:"Dashboard"})]})}),k.jsxs(ds,{maxWidth:"lg",sx:{py:4},children:[k.jsxs(Tn,{sx:{mb:3,display:"flex",justifyContent:"space-between",alignItems:"center"},children:[k.jsx(Xe,{variant:"h4",children:"Wallet Entries"}),k.jsx(Un,{variant:"contained",onClick:()=>d("/entries/new"),children:"Add Entry"})]}),a&&k.jsx(ua,{severity:"error",sx:{mb:2},children:a}),o?k.jsx(Xe,{children:"Loading entries..."}):t.length===0?k.jsx(Xe,{color:"textSecondary",children:"No entries yet. Create your first entry!"}):k.jsx(ZE,{component:cs,children:k.jsxs(FE,{children:[k.jsx(o2,{children:k.jsxs(Kh,{sx:{backgroundColor:"#f5f5f5"},children:[k.jsx(_n,{children:"Date"}),k.jsx(_n,{children:"Type"}),k.jsx(_n,{children:"Description"}),k.jsx(_n,{align:"right",children:"Amount"}),k.jsx(_n,{align:"center",children:"Actions"})]})}),k.jsx(VE,{children:t.map(y=>k.jsxs(Kh,{children:[k.jsx(_n,{children:v(y.created_at)}),k.jsx(_n,{children:k.jsx(Tn,{sx:{display:"inline-block",px:1.5,py:.5,borderRadius:1,backgroundColor:y.entry_type==="income"?"#e8f5e9":"#ffebee",color:y.entry_type==="income"?"#2e7d32":"#c62828",fontSize:"0.875rem",fontWeight:500},children:y.entry_type.charAt(0).toUpperCase()+y.entry_type.slice(1)})}),k.jsx(_n,{children:y.description}),k.jsxs(_n,{align:"right",sx:{color:y.entry_type==="income"?"#2e7d32":"#c62828",fontWeight:500},children:[y.entry_type==="income"?"+":"-","$",y.amount.toFixed(2)]}),k.jsx(_n,{align:"center",children:k.jsx(cy,{size:"small",onClick:()=>h(y.id),sx:{color:"error.main"},children:k.jsx(a2,{fontSize:"small"})})})]},y.id))})]})})]})]})}function gc({children:t}){const[r,o]=S.useState(!1),[s,a]=S.useState(!0);return S.useEffect(()=>{const u=$r.getToken();o(!!u),a(!1)},[]),s?k.jsx("div",{children:"Loading..."}):r?k.jsx(k.Fragment,{children:t}):k.jsx(Jg,{to:"/login",replace:!0})}function c2(){return k.jsxs(QC,{children:[k.jsx(Kr,{path:"/login",element:k.jsx(dE,{})}),k.jsx(Kr,{path:"/register",element:k.jsx(fE,{})}),k.jsx(Kr,{path:"/dashboard",element:k.jsx(gc,{children:k.jsx(ME,{})})}),k.jsx(Kr,{path:"/entries/new",element:k.jsx(gc,{children:k.jsx(jE,{})})}),k.jsx(Kr,{path:"/entries",element:k.jsx(gc,{children:k.jsx(u2,{})})}),k.jsx(Kr,{path:"/",element:k.jsx(Jg,{to:"/dashboard",replace:!0})})]})}const d2=na({palette:{mode:"light",primary:{main:"#2f5fe0",light:"#6b8bf0",dark:"#1f3f9b",contrastText:"#ffffff"},secondary:{main:"#7b4bd8",light:"#a582e8",dark:"#54309b",contrastText:"#ffffff"},success:{main:"#1f8a5b"},warning:{main:"#b8760a"},error:{main:"#c62b3d"},info:{main:"#0d7490"},background:{default:"#f6f7fb",paper:"#ffffff"},text:{primary:"#151a2d",secondary:"#5a6280"},divider:"#e2e5ef"},spacing:8,shape:{borderRadius:10},typography:{fontFamily:'"Inter", "Segoe UI", system-ui, -apple-system, sans-serif',h1:{fontSize:"2.25rem",fontWeight:700,letterSpacing:"-0.02em"},h2:{fontSize:"1.75rem",fontWeight:700,letterSpacing:"-0.015em"},h3:{fontSize:"1.5rem",fontWeight:600},h4:{fontSize:"1.25rem",fontWeight:600},h5:{fontSize:"1.125rem",fontWeight:600},h6:{fontSize:"1rem",fontWeight:600},body1:{fontSize:"0.9375rem",lineHeight:1.6},body2:{fontSize:"0.875rem",lineHeight:1.6},button:{textTransform:"none",fontWeight:600}},components:{MuiButton:{defaultProps:{disableElevation:!0}},MuiPaper:{defaultProps:{elevation:0},styleOverrides:{root:{backgroundImage:"none"}}},MuiCard:{defaultProps:{variant:"outlined"}},MuiTextField:{defaultProps:{size:"small"}}}});nC.createRoot(document.getElementById("root")).render(k.jsx(Rn.StrictMode,{children:k.jsxs(YS,{theme:d2,children:[k.jsx(GS,{}),k.jsx(tw,{basename:"/",children:k.jsx(c2,{})})]})}));
|