@crownpeak/dqm-react-component 1.0.0 โ†’ 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (40) hide show
  1. package/CHANGELOG.md +31 -0
  2. package/DEVELOPMENT.md +36 -1
  3. package/EXAMPLES.md +187 -0
  4. package/QUICKSTART.md +7 -0
  5. package/README.md +75 -1
  6. package/dist/DQMSidebar.d.ts.map +1 -1
  7. package/dist/auth-ui/assets/index-CczTRrba.js +158 -0
  8. package/dist/auth-ui/index.html +1 -1
  9. package/dist/components/renderers/BrowserViewRenderer.d.ts +1 -0
  10. package/dist/components/renderers/BrowserViewRenderer.d.ts.map +1 -1
  11. package/dist/components/sidebar/CloseButton.d.ts +6 -0
  12. package/dist/components/sidebar/CloseButton.d.ts.map +1 -0
  13. package/dist/components/sidebar/SidebarContent.d.ts.map +1 -1
  14. package/dist/components/sidebar/SidebarFooter.d.ts.map +1 -1
  15. package/dist/components/sidebar/SidebarHeader.d.ts.map +1 -1
  16. package/dist/components/sidebar/SidebarSkeleton.d.ts.map +1 -1
  17. package/dist/components/sidebar/StyledDrawer.d.ts +6 -1
  18. package/dist/components/sidebar/StyledDrawer.d.ts.map +1 -1
  19. package/dist/components/sidebar/StyledFab.d.ts +4 -1
  20. package/dist/components/sidebar/StyledFab.d.ts.map +1 -1
  21. package/dist/dqm-widget.d.ts +107 -0
  22. package/dist/dqm-widget.esm.js +386 -0
  23. package/dist/dqm-widget.iife.js +132 -0
  24. package/dist/html-pages/DQMWidget.d.ts +36 -0
  25. package/dist/html-pages/DQMWidget.d.ts.map +1 -0
  26. package/dist/html-pages/index.d.ts +32 -0
  27. package/dist/html-pages/index.d.ts.map +1 -0
  28. package/dist/index.cjs +27 -27
  29. package/dist/index.cjs.map +1 -1
  30. package/dist/index.d.ts +3 -1
  31. package/dist/index.d.ts.map +1 -1
  32. package/dist/index.html +498 -0
  33. package/dist/index.js +4665 -4424
  34. package/dist/index.js.map +1 -1
  35. package/dist/types.d.ts +83 -0
  36. package/dist/types.d.ts.map +1 -1
  37. package/dist/utils/useDomPresence.d.ts +210 -0
  38. package/dist/utils/useDomPresence.d.ts.map +1 -0
  39. package/package.json +26 -17
  40. package/dist/auth-ui/assets/index-CehNKFGj.js +0 -158
@@ -1,158 +0,0 @@
1
- function gA(t,n){for(var r=0;r<n.length;r++){const o=n[r];if(typeof o!="string"&&!Array.isArray(o)){for(const l in o)if(l!=="default"&&!(l in t)){const u=Object.getOwnPropertyDescriptor(o,l);u&&Object.defineProperty(t,l,u.get?u:{enumerable:!0,get:()=>o[l]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}(function(){const n=document.createElement("link").relList;if(n&&n.supports&&n.supports("modulepreload"))return;for(const l of document.querySelectorAll('link[rel="modulepreload"]'))o(l);new MutationObserver(l=>{for(const u of l)if(u.type==="childList")for(const c of u.addedNodes)c.tagName==="LINK"&&c.rel==="modulepreload"&&o(c)}).observe(document,{childList:!0,subtree:!0});function r(l){const u={};return l.integrity&&(u.integrity=l.integrity),l.referrerPolicy&&(u.referrerPolicy=l.referrerPolicy),l.crossOrigin==="use-credentials"?u.credentials="include":l.crossOrigin==="anonymous"?u.credentials="omit":u.credentials="same-origin",u}function o(l){if(l.ep)return;l.ep=!0;const u=r(l);fetch(l.href,u)}})();function jh(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var rp={exports:{}},vs={};var Kv;function yA(){if(Kv)return vs;Kv=1;var t=Symbol.for("react.transitional.element"),n=Symbol.for("react.fragment");function r(o,l,u){var c=null;if(u!==void 0&&(c=""+u),l.key!==void 0&&(c=""+l.key),"key"in l){u={};for(var d in l)d!=="key"&&(u[d]=l[d])}else u=l;return l=u.ref,{$$typeof:t,type:o,key:c,ref:l!==void 0?l:null,props:u}}return vs.Fragment=n,vs.jsx=r,vs.jsxs=r,vs}var Xv;function vA(){return Xv||(Xv=1,rp.exports=yA()),rp.exports}var z=vA(),ap={exports:{}},Et={};var Wv;function bA(){if(Wv)return Et;Wv=1;var t=Symbol.for("react.transitional.element"),n=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),l=Symbol.for("react.profiler"),u=Symbol.for("react.consumer"),c=Symbol.for("react.context"),d=Symbol.for("react.forward_ref"),h=Symbol.for("react.suspense"),m=Symbol.for("react.memo"),g=Symbol.for("react.lazy"),y=Symbol.for("react.activity"),b=Symbol.iterator;function C(j){return j===null||typeof j!="object"?null:(j=b&&j[b]||j["@@iterator"],typeof j=="function"?j:null)}var S={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},x=Object.assign,A={};function M(j,I,ot){this.props=j,this.context=I,this.refs=A,this.updater=ot||S}M.prototype.isReactComponent={},M.prototype.setState=function(j,I){if(typeof j!="object"&&typeof j!="function"&&j!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,j,I,"setState")},M.prototype.forceUpdate=function(j){this.updater.enqueueForceUpdate(this,j,"forceUpdate")};function N(){}N.prototype=M.prototype;function w(j,I,ot){this.props=j,this.context=I,this.refs=A,this.updater=ot||S}var O=w.prototype=new N;O.constructor=w,x(O,M.prototype),O.isPureReactComponent=!0;var D=Array.isArray;function _(){}var k={H:null,A:null,T:null,S:null},V=Object.prototype.hasOwnProperty;function K(j,I,ot){var st=ot.ref;return{$$typeof:t,type:j,key:I,ref:st!==void 0?st:null,props:ot}}function Z(j,I){return K(j.type,I,j.props)}function et(j){return typeof j=="object"&&j!==null&&j.$$typeof===t}function E(j){var I={"=":"=0",":":"=2"};return"$"+j.replace(/[=:]/g,function(ot){return I[ot]})}var Q=/\/+/g;function G(j,I){return typeof j=="object"&&j!==null&&j.key!=null?E(""+j.key):I.toString(36)}function W(j){switch(j.status){case"fulfilled":return j.value;case"rejected":throw j.reason;default:switch(typeof j.status=="string"?j.then(_,_):(j.status="pending",j.then(function(I){j.status==="pending"&&(j.status="fulfilled",j.value=I)},function(I){j.status==="pending"&&(j.status="rejected",j.reason=I)})),j.status){case"fulfilled":return j.value;case"rejected":throw j.reason}}throw j}function B(j,I,ot,st,lt){var yt=typeof j;(yt==="undefined"||yt==="boolean")&&(j=null);var mt=!1;if(j===null)mt=!0;else switch(yt){case"bigint":case"string":case"number":mt=!0;break;case"object":switch(j.$$typeof){case t:case n:mt=!0;break;case g:return mt=j._init,B(mt(j._payload),I,ot,st,lt)}}if(mt)return lt=lt(j),mt=st===""?"."+G(j,0):st,D(lt)?(ot="",mt!=null&&(ot=mt.replace(Q,"$&/")+"/"),B(lt,I,ot,"",function(St){return St})):lt!=null&&(et(lt)&&(lt=Z(lt,ot+(lt.key==null||j&&j.key===lt.key?"":(""+lt.key).replace(Q,"$&/")+"/")+mt)),I.push(lt)),1;mt=0;var Pt=st===""?".":st+":";if(D(j))for(var xt=0;xt<j.length;xt++)st=j[xt],yt=Pt+G(st,xt),mt+=B(st,I,ot,yt,lt);else if(xt=C(j),typeof xt=="function")for(j=xt.call(j),xt=0;!(st=j.next()).done;)st=st.value,yt=Pt+G(st,xt++),mt+=B(st,I,ot,yt,lt);else if(yt==="object"){if(typeof j.then=="function")return B(W(j),I,ot,st,lt);throw I=String(j),Error("Objects are not valid as a React child (found: "+(I==="[object Object]"?"object with keys {"+Object.keys(j).join(", ")+"}":I)+"). If you meant to render a collection of children, use an array instead.")}return mt}function F(j,I,ot){if(j==null)return j;var st=[],lt=0;return B(j,st,"","",function(yt){return I.call(ot,yt,lt++)}),st}function at(j){if(j._status===-1){var I=j._result;I=I(),I.then(function(ot){(j._status===0||j._status===-1)&&(j._status=1,j._result=ot)},function(ot){(j._status===0||j._status===-1)&&(j._status=2,j._result=ot)}),j._status===-1&&(j._status=0,j._result=I)}if(j._status===1)return j._result.default;throw j._result}var nt=typeof reportError=="function"?reportError:function(j){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var I=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof j=="object"&&j!==null&&typeof j.message=="string"?String(j.message):String(j),error:j});if(!window.dispatchEvent(I))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",j);return}console.error(j)},ut={map:F,forEach:function(j,I,ot){F(j,function(){I.apply(this,arguments)},ot)},count:function(j){var I=0;return F(j,function(){I++}),I},toArray:function(j){return F(j,function(I){return I})||[]},only:function(j){if(!et(j))throw Error("React.Children.only expected to receive a single React element child.");return j}};return Et.Activity=y,Et.Children=ut,Et.Component=M,Et.Fragment=r,Et.Profiler=l,Et.PureComponent=w,Et.StrictMode=o,Et.Suspense=h,Et.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=k,Et.__COMPILER_RUNTIME={__proto__:null,c:function(j){return k.H.useMemoCache(j)}},Et.cache=function(j){return function(){return j.apply(null,arguments)}},Et.cacheSignal=function(){return null},Et.cloneElement=function(j,I,ot){if(j==null)throw Error("The argument must be a React element, but you passed "+j+".");var st=x({},j.props),lt=j.key;if(I!=null)for(yt in I.key!==void 0&&(lt=""+I.key),I)!V.call(I,yt)||yt==="key"||yt==="__self"||yt==="__source"||yt==="ref"&&I.ref===void 0||(st[yt]=I[yt]);var yt=arguments.length-2;if(yt===1)st.children=ot;else if(1<yt){for(var mt=Array(yt),Pt=0;Pt<yt;Pt++)mt[Pt]=arguments[Pt+2];st.children=mt}return K(j.type,lt,st)},Et.createContext=function(j){return j={$$typeof:c,_currentValue:j,_currentValue2:j,_threadCount:0,Provider:null,Consumer:null},j.Provider=j,j.Consumer={$$typeof:u,_context:j},j},Et.createElement=function(j,I,ot){var st,lt={},yt=null;if(I!=null)for(st in I.key!==void 0&&(yt=""+I.key),I)V.call(I,st)&&st!=="key"&&st!=="__self"&&st!=="__source"&&(lt[st]=I[st]);var mt=arguments.length-2;if(mt===1)lt.children=ot;else if(1<mt){for(var Pt=Array(mt),xt=0;xt<mt;xt++)Pt[xt]=arguments[xt+2];lt.children=Pt}if(j&&j.defaultProps)for(st in mt=j.defaultProps,mt)lt[st]===void 0&&(lt[st]=mt[st]);return K(j,yt,lt)},Et.createRef=function(){return{current:null}},Et.forwardRef=function(j){return{$$typeof:d,render:j}},Et.isValidElement=et,Et.lazy=function(j){return{$$typeof:g,_payload:{_status:-1,_result:j},_init:at}},Et.memo=function(j,I){return{$$typeof:m,type:j,compare:I===void 0?null:I}},Et.startTransition=function(j){var I=k.T,ot={};k.T=ot;try{var st=j(),lt=k.S;lt!==null&&lt(ot,st),typeof st=="object"&&st!==null&&typeof st.then=="function"&&st.then(_,nt)}catch(yt){nt(yt)}finally{I!==null&&ot.types!==null&&(I.types=ot.types),k.T=I}},Et.unstable_useCacheRefresh=function(){return k.H.useCacheRefresh()},Et.use=function(j){return k.H.use(j)},Et.useActionState=function(j,I,ot){return k.H.useActionState(j,I,ot)},Et.useCallback=function(j,I){return k.H.useCallback(j,I)},Et.useContext=function(j){return k.H.useContext(j)},Et.useDebugValue=function(){},Et.useDeferredValue=function(j,I){return k.H.useDeferredValue(j,I)},Et.useEffect=function(j,I){return k.H.useEffect(j,I)},Et.useEffectEvent=function(j){return k.H.useEffectEvent(j)},Et.useId=function(){return k.H.useId()},Et.useImperativeHandle=function(j,I,ot){return k.H.useImperativeHandle(j,I,ot)},Et.useInsertionEffect=function(j,I){return k.H.useInsertionEffect(j,I)},Et.useLayoutEffect=function(j,I){return k.H.useLayoutEffect(j,I)},Et.useMemo=function(j,I){return k.H.useMemo(j,I)},Et.useOptimistic=function(j,I){return k.H.useOptimistic(j,I)},Et.useReducer=function(j,I,ot){return k.H.useReducer(j,I,ot)},Et.useRef=function(j){return k.H.useRef(j)},Et.useState=function(j){return k.H.useState(j)},Et.useSyncExternalStore=function(j,I,ot){return k.H.useSyncExternalStore(j,I,ot)},Et.useTransition=function(){return k.H.useTransition()},Et.version="19.2.0",Et}var Qv;function Lh(){return Qv||(Qv=1,ap.exports=bA()),ap.exports}var R=Lh();const ri=jh(R),Hp=gA({__proto__:null,default:ri},[R]);var op={exports:{}},bs={},sp={exports:{}},lp={};var Zv;function SA(){return Zv||(Zv=1,(function(t){function n(B,F){var at=B.length;B.push(F);t:for(;0<at;){var nt=at-1>>>1,ut=B[nt];if(0<l(ut,F))B[nt]=F,B[at]=ut,at=nt;else break t}}function r(B){return B.length===0?null:B[0]}function o(B){if(B.length===0)return null;var F=B[0],at=B.pop();if(at!==F){B[0]=at;t:for(var nt=0,ut=B.length,j=ut>>>1;nt<j;){var I=2*(nt+1)-1,ot=B[I],st=I+1,lt=B[st];if(0>l(ot,at))st<ut&&0>l(lt,ot)?(B[nt]=lt,B[st]=at,nt=st):(B[nt]=ot,B[I]=at,nt=I);else if(st<ut&&0>l(lt,at))B[nt]=lt,B[st]=at,nt=st;else break t}}return F}function l(B,F){var at=B.sortIndex-F.sortIndex;return at!==0?at:B.id-F.id}if(t.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var u=performance;t.unstable_now=function(){return u.now()}}else{var c=Date,d=c.now();t.unstable_now=function(){return c.now()-d}}var h=[],m=[],g=1,y=null,b=3,C=!1,S=!1,x=!1,A=!1,M=typeof setTimeout=="function"?setTimeout:null,N=typeof clearTimeout=="function"?clearTimeout:null,w=typeof setImmediate<"u"?setImmediate:null;function O(B){for(var F=r(m);F!==null;){if(F.callback===null)o(m);else if(F.startTime<=B)o(m),F.sortIndex=F.expirationTime,n(h,F);else break;F=r(m)}}function D(B){if(x=!1,O(B),!S)if(r(h)!==null)S=!0,_||(_=!0,E());else{var F=r(m);F!==null&&W(D,F.startTime-B)}}var _=!1,k=-1,V=5,K=-1;function Z(){return A?!0:!(t.unstable_now()-K<V)}function et(){if(A=!1,_){var B=t.unstable_now();K=B;var F=!0;try{t:{S=!1,x&&(x=!1,N(k),k=-1),C=!0;var at=b;try{e:{for(O(B),y=r(h);y!==null&&!(y.expirationTime>B&&Z());){var nt=y.callback;if(typeof nt=="function"){y.callback=null,b=y.priorityLevel;var ut=nt(y.expirationTime<=B);if(B=t.unstable_now(),typeof ut=="function"){y.callback=ut,O(B),F=!0;break e}y===r(h)&&o(h),O(B)}else o(h);y=r(h)}if(y!==null)F=!0;else{var j=r(m);j!==null&&W(D,j.startTime-B),F=!1}}break t}finally{y=null,b=at,C=!1}F=void 0}}finally{F?E():_=!1}}}var E;if(typeof w=="function")E=function(){w(et)};else if(typeof MessageChannel<"u"){var Q=new MessageChannel,G=Q.port2;Q.port1.onmessage=et,E=function(){G.postMessage(null)}}else E=function(){M(et,0)};function W(B,F){k=M(function(){B(t.unstable_now())},F)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(B){B.callback=null},t.unstable_forceFrameRate=function(B){0>B||125<B?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):V=0<B?Math.floor(1e3/B):5},t.unstable_getCurrentPriorityLevel=function(){return b},t.unstable_next=function(B){switch(b){case 1:case 2:case 3:var F=3;break;default:F=b}var at=b;b=F;try{return B()}finally{b=at}},t.unstable_requestPaint=function(){A=!0},t.unstable_runWithPriority=function(B,F){switch(B){case 1:case 2:case 3:case 4:case 5:break;default:B=3}var at=b;b=B;try{return F()}finally{b=at}},t.unstable_scheduleCallback=function(B,F,at){var nt=t.unstable_now();switch(typeof at=="object"&&at!==null?(at=at.delay,at=typeof at=="number"&&0<at?nt+at:nt):at=nt,B){case 1:var ut=-1;break;case 2:ut=250;break;case 5:ut=1073741823;break;case 4:ut=1e4;break;default:ut=5e3}return ut=at+ut,B={id:g++,callback:F,priorityLevel:B,startTime:at,expirationTime:ut,sortIndex:-1},at>nt?(B.sortIndex=at,n(m,B),r(h)===null&&B===r(m)&&(x?(N(k),k=-1):x=!0,W(D,at-nt))):(B.sortIndex=ut,n(h,B),S||C||(S=!0,_||(_=!0,E()))),B},t.unstable_shouldYield=Z,t.unstable_wrapCallback=function(B){var F=b;return function(){var at=b;b=F;try{return B.apply(this,arguments)}finally{b=at}}}})(lp)),lp}var Jv;function xA(){return Jv||(Jv=1,sp.exports=SA()),sp.exports}var up={exports:{}},rn={};var tb;function TA(){if(tb)return rn;tb=1;var t=Lh();function n(h){var m="https://react.dev/errors/"+h;if(1<arguments.length){m+="?args[]="+encodeURIComponent(arguments[1]);for(var g=2;g<arguments.length;g++)m+="&args[]="+encodeURIComponent(arguments[g])}return"Minified React error #"+h+"; visit "+m+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function r(){}var o={d:{f:r,r:function(){throw Error(n(522))},D:r,C:r,L:r,m:r,X:r,S:r,M:r},p:0,findDOMNode:null},l=Symbol.for("react.portal");function u(h,m,g){var y=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:l,key:y==null?null:""+y,children:h,containerInfo:m,implementation:g}}var c=t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function d(h,m){if(h==="font")return"";if(typeof m=="string")return m==="use-credentials"?m:""}return rn.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=o,rn.createPortal=function(h,m){var g=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!m||m.nodeType!==1&&m.nodeType!==9&&m.nodeType!==11)throw Error(n(299));return u(h,m,null,g)},rn.flushSync=function(h){var m=c.T,g=o.p;try{if(c.T=null,o.p=2,h)return h()}finally{c.T=m,o.p=g,o.d.f()}},rn.preconnect=function(h,m){typeof h=="string"&&(m?(m=m.crossOrigin,m=typeof m=="string"?m==="use-credentials"?m:"":void 0):m=null,o.d.C(h,m))},rn.prefetchDNS=function(h){typeof h=="string"&&o.d.D(h)},rn.preinit=function(h,m){if(typeof h=="string"&&m&&typeof m.as=="string"){var g=m.as,y=d(g,m.crossOrigin),b=typeof m.integrity=="string"?m.integrity:void 0,C=typeof m.fetchPriority=="string"?m.fetchPriority:void 0;g==="style"?o.d.S(h,typeof m.precedence=="string"?m.precedence:void 0,{crossOrigin:y,integrity:b,fetchPriority:C}):g==="script"&&o.d.X(h,{crossOrigin:y,integrity:b,fetchPriority:C,nonce:typeof m.nonce=="string"?m.nonce:void 0})}},rn.preinitModule=function(h,m){if(typeof h=="string")if(typeof m=="object"&&m!==null){if(m.as==null||m.as==="script"){var g=d(m.as,m.crossOrigin);o.d.M(h,{crossOrigin:g,integrity:typeof m.integrity=="string"?m.integrity:void 0,nonce:typeof m.nonce=="string"?m.nonce:void 0})}}else m==null&&o.d.M(h)},rn.preload=function(h,m){if(typeof h=="string"&&typeof m=="object"&&m!==null&&typeof m.as=="string"){var g=m.as,y=d(g,m.crossOrigin);o.d.L(h,g,{crossOrigin:y,integrity:typeof m.integrity=="string"?m.integrity:void 0,nonce:typeof m.nonce=="string"?m.nonce:void 0,type:typeof m.type=="string"?m.type:void 0,fetchPriority:typeof m.fetchPriority=="string"?m.fetchPriority:void 0,referrerPolicy:typeof m.referrerPolicy=="string"?m.referrerPolicy:void 0,imageSrcSet:typeof m.imageSrcSet=="string"?m.imageSrcSet:void 0,imageSizes:typeof m.imageSizes=="string"?m.imageSizes:void 0,media:typeof m.media=="string"?m.media:void 0})}},rn.preloadModule=function(h,m){if(typeof h=="string")if(m){var g=d(m.as,m.crossOrigin);o.d.m(h,{as:typeof m.as=="string"&&m.as!=="script"?m.as:void 0,crossOrigin:g,integrity:typeof m.integrity=="string"?m.integrity:void 0})}else o.d.m(h)},rn.requestFormReset=function(h){o.d.r(h)},rn.unstable_batchedUpdates=function(h,m){return h(m)},rn.useFormState=function(h,m,g){return c.H.useFormState(h,m,g)},rn.useFormStatus=function(){return c.H.useHostTransitionStatus()},rn.version="19.2.0",rn}var eb;function q1(){if(eb)return up.exports;eb=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(n){console.error(n)}}return t(),up.exports=TA(),up.exports}var nb;function CA(){if(nb)return bs;nb=1;var t=xA(),n=Lh(),r=q1();function o(e){var i="https://react.dev/errors/"+e;if(1<arguments.length){i+="?args[]="+encodeURIComponent(arguments[1]);for(var a=2;a<arguments.length;a++)i+="&args[]="+encodeURIComponent(arguments[a])}return"Minified React error #"+e+"; visit "+i+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function l(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function u(e){var i=e,a=e;if(e.alternate)for(;i.return;)i=i.return;else{e=i;do i=e,(i.flags&4098)!==0&&(a=i.return),e=i.return;while(e)}return i.tag===3?a:null}function c(e){if(e.tag===13){var i=e.memoizedState;if(i===null&&(e=e.alternate,e!==null&&(i=e.memoizedState)),i!==null)return i.dehydrated}return null}function d(e){if(e.tag===31){var i=e.memoizedState;if(i===null&&(e=e.alternate,e!==null&&(i=e.memoizedState)),i!==null)return i.dehydrated}return null}function h(e){if(u(e)!==e)throw Error(o(188))}function m(e){var i=e.alternate;if(!i){if(i=u(e),i===null)throw Error(o(188));return i!==e?null:e}for(var a=e,s=i;;){var f=a.return;if(f===null)break;var p=f.alternate;if(p===null){if(s=f.return,s!==null){a=s;continue}break}if(f.child===p.child){for(p=f.child;p;){if(p===a)return h(f),e;if(p===s)return h(f),i;p=p.sibling}throw Error(o(188))}if(a.return!==s.return)a=f,s=p;else{for(var v=!1,T=f.child;T;){if(T===a){v=!0,a=f,s=p;break}if(T===s){v=!0,s=f,a=p;break}T=T.sibling}if(!v){for(T=p.child;T;){if(T===a){v=!0,a=p,s=f;break}if(T===s){v=!0,s=p,a=f;break}T=T.sibling}if(!v)throw Error(o(189))}}if(a.alternate!==s)throw Error(o(190))}if(a.tag!==3)throw Error(o(188));return a.stateNode.current===a?e:i}function g(e){var i=e.tag;if(i===5||i===26||i===27||i===6)return e;for(e=e.child;e!==null;){if(i=g(e),i!==null)return i;e=e.sibling}return null}var y=Object.assign,b=Symbol.for("react.element"),C=Symbol.for("react.transitional.element"),S=Symbol.for("react.portal"),x=Symbol.for("react.fragment"),A=Symbol.for("react.strict_mode"),M=Symbol.for("react.profiler"),N=Symbol.for("react.consumer"),w=Symbol.for("react.context"),O=Symbol.for("react.forward_ref"),D=Symbol.for("react.suspense"),_=Symbol.for("react.suspense_list"),k=Symbol.for("react.memo"),V=Symbol.for("react.lazy"),K=Symbol.for("react.activity"),Z=Symbol.for("react.memo_cache_sentinel"),et=Symbol.iterator;function E(e){return e===null||typeof e!="object"?null:(e=et&&e[et]||e["@@iterator"],typeof e=="function"?e:null)}var Q=Symbol.for("react.client.reference");function G(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===Q?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case x:return"Fragment";case M:return"Profiler";case A:return"StrictMode";case D:return"Suspense";case _:return"SuspenseList";case K:return"Activity"}if(typeof e=="object")switch(e.$$typeof){case S:return"Portal";case w:return e.displayName||"Context";case N:return(e._context.displayName||"Context")+".Consumer";case O:var i=e.render;return e=e.displayName,e||(e=i.displayName||i.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case k:return i=e.displayName||null,i!==null?i:G(e.type)||"Memo";case V:i=e._payload,e=e._init;try{return G(e(i))}catch{}}return null}var W=Array.isArray,B=n.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,F=r.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,at={pending:!1,data:null,method:null,action:null},nt=[],ut=-1;function j(e){return{current:e}}function I(e){0>ut||(e.current=nt[ut],nt[ut]=null,ut--)}function ot(e,i){ut++,nt[ut]=e.current,e.current=i}var st=j(null),lt=j(null),yt=j(null),mt=j(null);function Pt(e,i){switch(ot(yt,i),ot(lt,e),ot(st,null),i.nodeType){case 9:case 11:e=(e=i.documentElement)&&(e=e.namespaceURI)?yv(e):0;break;default:if(e=i.tagName,i=i.namespaceURI)i=yv(i),e=vv(i,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}I(st),ot(st,e)}function xt(){I(st),I(lt),I(yt)}function St(e){e.memoizedState!==null&&ot(mt,e);var i=st.current,a=vv(i,e.type);i!==a&&(ot(lt,e),ot(st,a))}function Dt(e){lt.current===e&&(I(st),I(lt)),mt.current===e&&(I(mt),hs._currentValue=at)}var jt,we;function Ct(e){if(jt===void 0)try{throw Error()}catch(a){var i=a.stack.trim().match(/\n( *(at )?)/);jt=i&&i[1]||"",we=-1<a.stack.indexOf(`
2
- at`)?" (<anonymous>)":-1<a.stack.indexOf("@")?"@unknown:0:0":""}return`
3
- `+jt+e+we}var $t=!1;function $e(e,i){if(!e||$t)return"";$t=!0;var a=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var s={DetermineComponentFrameRoot:function(){try{if(i){var rt=function(){throw Error()};if(Object.defineProperty(rt.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(rt,[])}catch(X){var q=X}Reflect.construct(e,[],rt)}else{try{rt.call()}catch(X){q=X}e.call(rt.prototype)}}else{try{throw Error()}catch(X){q=X}(rt=e())&&typeof rt.catch=="function"&&rt.catch(function(){})}}catch(X){if(X&&q&&typeof X.stack=="string")return[X.stack,q.stack]}return[null,null]}};s.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var f=Object.getOwnPropertyDescriptor(s.DetermineComponentFrameRoot,"name");f&&f.configurable&&Object.defineProperty(s.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var p=s.DetermineComponentFrameRoot(),v=p[0],T=p[1];if(v&&T){var L=v.split(`
4
- `),H=T.split(`
5
- `);for(f=s=0;s<L.length&&!L[s].includes("DetermineComponentFrameRoot");)s++;for(;f<H.length&&!H[f].includes("DetermineComponentFrameRoot");)f++;if(s===L.length||f===H.length)for(s=L.length-1,f=H.length-1;1<=s&&0<=f&&L[s]!==H[f];)f--;for(;1<=s&&0<=f;s--,f--)if(L[s]!==H[f]){if(s!==1||f!==1)do if(s--,f--,0>f||L[s]!==H[f]){var J=`
6
- `+L[s].replace(" at new "," at ");return e.displayName&&J.includes("<anonymous>")&&(J=J.replace("<anonymous>",e.displayName)),J}while(1<=s&&0<=f);break}}}finally{$t=!1,Error.prepareStackTrace=a}return(a=e?e.displayName||e.name:"")?Ct(a):""}function _e(e,i){switch(e.tag){case 26:case 27:case 5:return Ct(e.type);case 16:return Ct("Lazy");case 13:return e.child!==i&&i!==null?Ct("Suspense Fallback"):Ct("Suspense");case 19:return Ct("SuspenseList");case 0:case 15:return $e(e.type,!1);case 11:return $e(e.type.render,!1);case 1:return $e(e.type,!0);case 31:return Ct("Activity");default:return""}}function ue(e){try{var i="",a=null;do i+=_e(e,a),a=e,e=e.return;while(e);return i}catch(s){return`
7
- Error generating stack: `+s.message+`
8
- `+s.stack}}var le=Object.prototype.hasOwnProperty,de=t.unstable_scheduleCallback,oe=t.unstable_cancelCallback,pt=t.unstable_shouldYield,Nn=t.unstable_requestPaint,kt=t.unstable_now,Zn=t.unstable_getCurrentPriorityLevel,Me=t.unstable_ImmediatePriority,It=t.unstable_UserBlockingPriority,pe=t.unstable_NormalPriority,He=t.unstable_LowPriority,en=t.unstable_IdlePriority,te=t.log,Wi=t.unstable_setDisableYieldValue,ui=null,nn=null;function ht(e){if(typeof te=="function"&&Wi(e),nn&&typeof nn.setStrictMode=="function")try{nn.setStrictMode(ui,e)}catch{}}var Ot=Math.clz32?Math.clz32:hl,Fe=Math.log,Qi=Math.LN2;function hl(e){return e>>>=0,e===0?32:31-(Fe(e)/Qi|0)|0}var ml=256,gl=262144,yl=4194304;function Or(e){var i=e&42;if(i!==0)return i;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return e&261888;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function vl(e,i,a){var s=e.pendingLanes;if(s===0)return 0;var f=0,p=e.suspendedLanes,v=e.pingedLanes;e=e.warmLanes;var T=s&134217727;return T!==0?(s=T&~p,s!==0?f=Or(s):(v&=T,v!==0?f=Or(v):a||(a=T&~e,a!==0&&(f=Or(a))))):(T=s&~p,T!==0?f=Or(T):v!==0?f=Or(v):a||(a=s&~e,a!==0&&(f=Or(a)))),f===0?0:i!==0&&i!==f&&(i&p)===0&&(p=f&-f,a=i&-i,p>=a||p===32&&(a&4194048)!==0)?i:f}function wo(e,i){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&i)===0}function i2(e,i){switch(e){case 1:case 2:case 4:case 8:case 64:return i+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return i+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Zm(){var e=yl;return yl<<=1,(yl&62914560)===0&&(yl=4194304),e}function Ic(e){for(var i=[],a=0;31>a;a++)i.push(e);return i}function Mo(e,i){e.pendingLanes|=i,i!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function r2(e,i,a,s,f,p){var v=e.pendingLanes;e.pendingLanes=a,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=a,e.entangledLanes&=a,e.errorRecoveryDisabledLanes&=a,e.shellSuspendCounter=0;var T=e.entanglements,L=e.expirationTimes,H=e.hiddenUpdates;for(a=v&~a;0<a;){var J=31-Ot(a),rt=1<<J;T[J]=0,L[J]=-1;var q=H[J];if(q!==null)for(H[J]=null,J=0;J<q.length;J++){var X=q[J];X!==null&&(X.lane&=-536870913)}a&=~rt}s!==0&&Jm(e,s,0),p!==0&&f===0&&e.tag!==0&&(e.suspendedLanes|=p&~(v&~i))}function Jm(e,i,a){e.pendingLanes|=i,e.suspendedLanes&=~i;var s=31-Ot(i);e.entangledLanes|=i,e.entanglements[s]=e.entanglements[s]|1073741824|a&261930}function tg(e,i){var a=e.entangledLanes|=i;for(e=e.entanglements;a;){var s=31-Ot(a),f=1<<s;f&i|e[s]&i&&(e[s]|=i),a&=~f}}function eg(e,i){var a=i&-i;return a=(a&42)!==0?1:Gc(a),(a&(e.suspendedLanes|i))!==0?0:a}function Gc(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function Yc(e){return e&=-e,2<e?8<e?(e&134217727)!==0?32:268435456:8:2}function ng(){var e=F.p;return e!==0?e:(e=window.event,e===void 0?32:$v(e.type))}function ig(e,i){var a=F.p;try{return F.p=e,i()}finally{F.p=a}}var Zi=Math.random().toString(36).slice(2),Ke="__reactFiber$"+Zi,fn="__reactProps$"+Zi,da="__reactContainer$"+Zi,Kc="__reactEvents$"+Zi,a2="__reactListeners$"+Zi,o2="__reactHandles$"+Zi,rg="__reactResources$"+Zi,Oo="__reactMarker$"+Zi;function Xc(e){delete e[Ke],delete e[fn],delete e[Kc],delete e[a2],delete e[o2]}function pa(e){var i=e[Ke];if(i)return i;for(var a=e.parentNode;a;){if(i=a[da]||a[Ke]){if(a=i.alternate,i.child!==null||a!==null&&a.child!==null)for(e=Av(e);e!==null;){if(a=e[Ke])return a;e=Av(e)}return i}e=a,a=e.parentNode}return null}function ha(e){if(e=e[Ke]||e[da]){var i=e.tag;if(i===5||i===6||i===13||i===31||i===26||i===27||i===3)return e}return null}function Do(e){var i=e.tag;if(i===5||i===26||i===27||i===6)return e.stateNode;throw Error(o(33))}function ma(e){var i=e[rg];return i||(i=e[rg]={hoistableStyles:new Map,hoistableScripts:new Map}),i}function Ie(e){e[Oo]=!0}var ag=new Set,og={};function Dr(e,i){ga(e,i),ga(e+"Capture",i)}function ga(e,i){for(og[e]=i,e=0;e<i.length;e++)ag.add(i[e])}var s2=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),sg={},lg={};function l2(e){return le.call(lg,e)?!0:le.call(sg,e)?!1:s2.test(e)?lg[e]=!0:(sg[e]=!0,!1)}function bl(e,i,a){if(l2(i))if(a===null)e.removeAttribute(i);else{switch(typeof a){case"undefined":case"function":case"symbol":e.removeAttribute(i);return;case"boolean":var s=i.toLowerCase().slice(0,5);if(s!=="data-"&&s!=="aria-"){e.removeAttribute(i);return}}e.setAttribute(i,""+a)}}function Sl(e,i,a){if(a===null)e.removeAttribute(i);else{switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(i);return}e.setAttribute(i,""+a)}}function Ai(e,i,a,s){if(s===null)e.removeAttribute(a);else{switch(typeof s){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(a);return}e.setAttributeNS(i,a,""+s)}}function _n(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function ug(e){var i=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(i==="checkbox"||i==="radio")}function u2(e,i,a){var s=Object.getOwnPropertyDescriptor(e.constructor.prototype,i);if(!e.hasOwnProperty(i)&&typeof s<"u"&&typeof s.get=="function"&&typeof s.set=="function"){var f=s.get,p=s.set;return Object.defineProperty(e,i,{configurable:!0,get:function(){return f.call(this)},set:function(v){a=""+v,p.call(this,v)}}),Object.defineProperty(e,i,{enumerable:s.enumerable}),{getValue:function(){return a},setValue:function(v){a=""+v},stopTracking:function(){e._valueTracker=null,delete e[i]}}}}function Wc(e){if(!e._valueTracker){var i=ug(e)?"checked":"value";e._valueTracker=u2(e,i,""+e[i])}}function cg(e){if(!e)return!1;var i=e._valueTracker;if(!i)return!0;var a=i.getValue(),s="";return e&&(s=ug(e)?e.checked?"true":"false":e.value),e=s,e!==a?(i.setValue(e),!0):!1}function xl(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}var c2=/[\n"\\]/g;function jn(e){return e.replace(c2,function(i){return"\\"+i.charCodeAt(0).toString(16)+" "})}function Qc(e,i,a,s,f,p,v,T){e.name="",v!=null&&typeof v!="function"&&typeof v!="symbol"&&typeof v!="boolean"?e.type=v:e.removeAttribute("type"),i!=null?v==="number"?(i===0&&e.value===""||e.value!=i)&&(e.value=""+_n(i)):e.value!==""+_n(i)&&(e.value=""+_n(i)):v!=="submit"&&v!=="reset"||e.removeAttribute("value"),i!=null?Zc(e,v,_n(i)):a!=null?Zc(e,v,_n(a)):s!=null&&e.removeAttribute("value"),f==null&&p!=null&&(e.defaultChecked=!!p),f!=null&&(e.checked=f&&typeof f!="function"&&typeof f!="symbol"),T!=null&&typeof T!="function"&&typeof T!="symbol"&&typeof T!="boolean"?e.name=""+_n(T):e.removeAttribute("name")}function fg(e,i,a,s,f,p,v,T){if(p!=null&&typeof p!="function"&&typeof p!="symbol"&&typeof p!="boolean"&&(e.type=p),i!=null||a!=null){if(!(p!=="submit"&&p!=="reset"||i!=null)){Wc(e);return}a=a!=null?""+_n(a):"",i=i!=null?""+_n(i):a,T||i===e.value||(e.value=i),e.defaultValue=i}s=s??f,s=typeof s!="function"&&typeof s!="symbol"&&!!s,e.checked=T?e.checked:!!s,e.defaultChecked=!!s,v!=null&&typeof v!="function"&&typeof v!="symbol"&&typeof v!="boolean"&&(e.name=v),Wc(e)}function Zc(e,i,a){i==="number"&&xl(e.ownerDocument)===e||e.defaultValue===""+a||(e.defaultValue=""+a)}function ya(e,i,a,s){if(e=e.options,i){i={};for(var f=0;f<a.length;f++)i["$"+a[f]]=!0;for(a=0;a<e.length;a++)f=i.hasOwnProperty("$"+e[a].value),e[a].selected!==f&&(e[a].selected=f),f&&s&&(e[a].defaultSelected=!0)}else{for(a=""+_n(a),i=null,f=0;f<e.length;f++){if(e[f].value===a){e[f].selected=!0,s&&(e[f].defaultSelected=!0);return}i!==null||e[f].disabled||(i=e[f])}i!==null&&(i.selected=!0)}}function dg(e,i,a){if(i!=null&&(i=""+_n(i),i!==e.value&&(e.value=i),a==null)){e.defaultValue!==i&&(e.defaultValue=i);return}e.defaultValue=a!=null?""+_n(a):""}function pg(e,i,a,s){if(i==null){if(s!=null){if(a!=null)throw Error(o(92));if(W(s)){if(1<s.length)throw Error(o(93));s=s[0]}a=s}a==null&&(a=""),i=a}a=_n(i),e.defaultValue=a,s=e.textContent,s===a&&s!==""&&s!==null&&(e.value=s),Wc(e)}function va(e,i){if(i){var a=e.firstChild;if(a&&a===e.lastChild&&a.nodeType===3){a.nodeValue=i;return}}e.textContent=i}var f2=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function hg(e,i,a){var s=i.indexOf("--")===0;a==null||typeof a=="boolean"||a===""?s?e.setProperty(i,""):i==="float"?e.cssFloat="":e[i]="":s?e.setProperty(i,a):typeof a!="number"||a===0||f2.has(i)?i==="float"?e.cssFloat=a:e[i]=(""+a).trim():e[i]=a+"px"}function mg(e,i,a){if(i!=null&&typeof i!="object")throw Error(o(62));if(e=e.style,a!=null){for(var s in a)!a.hasOwnProperty(s)||i!=null&&i.hasOwnProperty(s)||(s.indexOf("--")===0?e.setProperty(s,""):s==="float"?e.cssFloat="":e[s]="");for(var f in i)s=i[f],i.hasOwnProperty(f)&&a[f]!==s&&hg(e,f,s)}else for(var p in i)i.hasOwnProperty(p)&&hg(e,p,i[p])}function Jc(e){if(e.indexOf("-")===-1)return!1;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var d2=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),p2=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function Tl(e){return p2.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function Ri(){}var tf=null;function ef(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var ba=null,Sa=null;function gg(e){var i=ha(e);if(i&&(e=i.stateNode)){var a=e[fn]||null;t:switch(e=i.stateNode,i.type){case"input":if(Qc(e,a.value,a.defaultValue,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name),i=a.name,a.type==="radio"&&i!=null){for(a=e;a.parentNode;)a=a.parentNode;for(a=a.querySelectorAll('input[name="'+jn(""+i)+'"][type="radio"]'),i=0;i<a.length;i++){var s=a[i];if(s!==e&&s.form===e.form){var f=s[fn]||null;if(!f)throw Error(o(90));Qc(s,f.value,f.defaultValue,f.defaultValue,f.checked,f.defaultChecked,f.type,f.name)}}for(i=0;i<a.length;i++)s=a[i],s.form===e.form&&cg(s)}break t;case"textarea":dg(e,a.value,a.defaultValue);break t;case"select":i=a.value,i!=null&&ya(e,!!a.multiple,i,!1)}}}var nf=!1;function yg(e,i,a){if(nf)return e(i,a);nf=!0;try{var s=e(i);return s}finally{if(nf=!1,(ba!==null||Sa!==null)&&(uu(),ba&&(i=ba,e=Sa,Sa=ba=null,gg(i),e)))for(i=0;i<e.length;i++)gg(e[i])}}function zo(e,i){var a=e.stateNode;if(a===null)return null;var s=a[fn]||null;if(s===null)return null;a=s[i];t:switch(i){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(s=!s.disabled)||(e=e.type,s=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!s;break t;default:e=!1}if(e)return null;if(a&&typeof a!="function")throw Error(o(231,i,typeof a));return a}var wi=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),rf=!1;if(wi)try{var Bo={};Object.defineProperty(Bo,"passive",{get:function(){rf=!0}}),window.addEventListener("test",Bo,Bo),window.removeEventListener("test",Bo,Bo)}catch{rf=!1}var Ji=null,af=null,Cl=null;function vg(){if(Cl)return Cl;var e,i=af,a=i.length,s,f="value"in Ji?Ji.value:Ji.textContent,p=f.length;for(e=0;e<a&&i[e]===f[e];e++);var v=a-e;for(s=1;s<=v&&i[a-s]===f[p-s];s++);return Cl=f.slice(e,1<s?1-s:void 0)}function El(e){var i=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&i===13&&(e=13)):e=i,e===10&&(e=13),32<=e||e===13?e:0}function Al(){return!0}function bg(){return!1}function dn(e){function i(a,s,f,p,v){this._reactName=a,this._targetInst=f,this.type=s,this.nativeEvent=p,this.target=v,this.currentTarget=null;for(var T in e)e.hasOwnProperty(T)&&(a=e[T],this[T]=a?a(p):p[T]);return this.isDefaultPrevented=(p.defaultPrevented!=null?p.defaultPrevented:p.returnValue===!1)?Al:bg,this.isPropagationStopped=bg,this}return y(i.prototype,{preventDefault:function(){this.defaultPrevented=!0;var a=this.nativeEvent;a&&(a.preventDefault?a.preventDefault():typeof a.returnValue!="unknown"&&(a.returnValue=!1),this.isDefaultPrevented=Al)},stopPropagation:function(){var a=this.nativeEvent;a&&(a.stopPropagation?a.stopPropagation():typeof a.cancelBubble!="unknown"&&(a.cancelBubble=!0),this.isPropagationStopped=Al)},persist:function(){},isPersistent:Al}),i}var zr={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Rl=dn(zr),No=y({},zr,{view:0,detail:0}),h2=dn(No),of,sf,_o,wl=y({},No,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:uf,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!==_o&&(_o&&e.type==="mousemove"?(of=e.screenX-_o.screenX,sf=e.screenY-_o.screenY):sf=of=0,_o=e),of)},movementY:function(e){return"movementY"in e?e.movementY:sf}}),Sg=dn(wl),m2=y({},wl,{dataTransfer:0}),g2=dn(m2),y2=y({},No,{relatedTarget:0}),lf=dn(y2),v2=y({},zr,{animationName:0,elapsedTime:0,pseudoElement:0}),b2=dn(v2),S2=y({},zr,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),x2=dn(S2),T2=y({},zr,{data:0}),xg=dn(T2),C2={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},E2={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},A2={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function R2(e){var i=this.nativeEvent;return i.getModifierState?i.getModifierState(e):(e=A2[e])?!!i[e]:!1}function uf(){return R2}var w2=y({},No,{key:function(e){if(e.key){var i=C2[e.key]||e.key;if(i!=="Unidentified")return i}return e.type==="keypress"?(e=El(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?E2[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:uf,charCode:function(e){return e.type==="keypress"?El(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?El(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),M2=dn(w2),O2=y({},wl,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Tg=dn(O2),D2=y({},No,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:uf}),z2=dn(D2),B2=y({},zr,{propertyName:0,elapsedTime:0,pseudoElement:0}),N2=dn(B2),_2=y({},wl,{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}),j2=dn(_2),L2=y({},zr,{newState:0,oldState:0}),k2=dn(L2),P2=[9,13,27,32],cf=wi&&"CompositionEvent"in window,jo=null;wi&&"documentMode"in document&&(jo=document.documentMode);var U2=wi&&"TextEvent"in window&&!jo,Cg=wi&&(!cf||jo&&8<jo&&11>=jo),Eg=" ",Ag=!1;function Rg(e,i){switch(e){case"keyup":return P2.indexOf(i.keyCode)!==-1;case"keydown":return i.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function wg(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var xa=!1;function V2(e,i){switch(e){case"compositionend":return wg(i);case"keypress":return i.which!==32?null:(Ag=!0,Eg);case"textInput":return e=i.data,e===Eg&&Ag?null:e;default:return null}}function $2(e,i){if(xa)return e==="compositionend"||!cf&&Rg(e,i)?(e=vg(),Cl=af=Ji=null,xa=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(i.ctrlKey||i.altKey||i.metaKey)||i.ctrlKey&&i.altKey){if(i.char&&1<i.char.length)return i.char;if(i.which)return String.fromCharCode(i.which)}return null;case"compositionend":return Cg&&i.locale!=="ko"?null:i.data;default:return null}}var H2={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 Mg(e){var i=e&&e.nodeName&&e.nodeName.toLowerCase();return i==="input"?!!H2[e.type]:i==="textarea"}function Og(e,i,a,s){ba?Sa?Sa.push(s):Sa=[s]:ba=s,i=gu(i,"onChange"),0<i.length&&(a=new Rl("onChange","change",null,a,s),e.push({event:a,listeners:i}))}var Lo=null,ko=null;function F2(e){fv(e,0)}function Ml(e){var i=Do(e);if(cg(i))return e}function Dg(e,i){if(e==="change")return i}var zg=!1;if(wi){var ff;if(wi){var df="oninput"in document;if(!df){var Bg=document.createElement("div");Bg.setAttribute("oninput","return;"),df=typeof Bg.oninput=="function"}ff=df}else ff=!1;zg=ff&&(!document.documentMode||9<document.documentMode)}function Ng(){Lo&&(Lo.detachEvent("onpropertychange",_g),ko=Lo=null)}function _g(e){if(e.propertyName==="value"&&Ml(ko)){var i=[];Og(i,ko,e,ef(e)),yg(F2,i)}}function q2(e,i,a){e==="focusin"?(Ng(),Lo=i,ko=a,Lo.attachEvent("onpropertychange",_g)):e==="focusout"&&Ng()}function I2(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Ml(ko)}function G2(e,i){if(e==="click")return Ml(i)}function Y2(e,i){if(e==="input"||e==="change")return Ml(i)}function K2(e,i){return e===i&&(e!==0||1/e===1/i)||e!==e&&i!==i}var En=typeof Object.is=="function"?Object.is:K2;function Po(e,i){if(En(e,i))return!0;if(typeof e!="object"||e===null||typeof i!="object"||i===null)return!1;var a=Object.keys(e),s=Object.keys(i);if(a.length!==s.length)return!1;for(s=0;s<a.length;s++){var f=a[s];if(!le.call(i,f)||!En(e[f],i[f]))return!1}return!0}function jg(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Lg(e,i){var a=jg(e);e=0;for(var s;a;){if(a.nodeType===3){if(s=e+a.textContent.length,e<=i&&s>=i)return{node:a,offset:i-e};e=s}t:{for(;a;){if(a.nextSibling){a=a.nextSibling;break t}a=a.parentNode}a=void 0}a=jg(a)}}function kg(e,i){return e&&i?e===i?!0:e&&e.nodeType===3?!1:i&&i.nodeType===3?kg(e,i.parentNode):"contains"in e?e.contains(i):e.compareDocumentPosition?!!(e.compareDocumentPosition(i)&16):!1:!1}function Pg(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var i=xl(e.document);i instanceof e.HTMLIFrameElement;){try{var a=typeof i.contentWindow.location.href=="string"}catch{a=!1}if(a)e=i.contentWindow;else break;i=xl(e.document)}return i}function pf(e){var i=e&&e.nodeName&&e.nodeName.toLowerCase();return i&&(i==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||i==="textarea"||e.contentEditable==="true")}var X2=wi&&"documentMode"in document&&11>=document.documentMode,Ta=null,hf=null,Uo=null,mf=!1;function Ug(e,i,a){var s=a.window===a?a.document:a.nodeType===9?a:a.ownerDocument;mf||Ta==null||Ta!==xl(s)||(s=Ta,"selectionStart"in s&&pf(s)?s={start:s.selectionStart,end:s.selectionEnd}:(s=(s.ownerDocument&&s.ownerDocument.defaultView||window).getSelection(),s={anchorNode:s.anchorNode,anchorOffset:s.anchorOffset,focusNode:s.focusNode,focusOffset:s.focusOffset}),Uo&&Po(Uo,s)||(Uo=s,s=gu(hf,"onSelect"),0<s.length&&(i=new Rl("onSelect","select",null,i,a),e.push({event:i,listeners:s}),i.target=Ta)))}function Br(e,i){var a={};return a[e.toLowerCase()]=i.toLowerCase(),a["Webkit"+e]="webkit"+i,a["Moz"+e]="moz"+i,a}var Ca={animationend:Br("Animation","AnimationEnd"),animationiteration:Br("Animation","AnimationIteration"),animationstart:Br("Animation","AnimationStart"),transitionrun:Br("Transition","TransitionRun"),transitionstart:Br("Transition","TransitionStart"),transitioncancel:Br("Transition","TransitionCancel"),transitionend:Br("Transition","TransitionEnd")},gf={},Vg={};wi&&(Vg=document.createElement("div").style,"AnimationEvent"in window||(delete Ca.animationend.animation,delete Ca.animationiteration.animation,delete Ca.animationstart.animation),"TransitionEvent"in window||delete Ca.transitionend.transition);function Nr(e){if(gf[e])return gf[e];if(!Ca[e])return e;var i=Ca[e],a;for(a in i)if(i.hasOwnProperty(a)&&a in Vg)return gf[e]=i[a];return e}var $g=Nr("animationend"),Hg=Nr("animationiteration"),Fg=Nr("animationstart"),W2=Nr("transitionrun"),Q2=Nr("transitionstart"),Z2=Nr("transitioncancel"),qg=Nr("transitionend"),Ig=new Map,yf="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");yf.push("scrollEnd");function Jn(e,i){Ig.set(e,i),Dr(i,[e])}var Ol=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var i=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(i))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)},Ln=[],Ea=0,vf=0;function Dl(){for(var e=Ea,i=vf=Ea=0;i<e;){var a=Ln[i];Ln[i++]=null;var s=Ln[i];Ln[i++]=null;var f=Ln[i];Ln[i++]=null;var p=Ln[i];if(Ln[i++]=null,s!==null&&f!==null){var v=s.pending;v===null?f.next=f:(f.next=v.next,v.next=f),s.pending=f}p!==0&&Gg(a,f,p)}}function zl(e,i,a,s){Ln[Ea++]=e,Ln[Ea++]=i,Ln[Ea++]=a,Ln[Ea++]=s,vf|=s,e.lanes|=s,e=e.alternate,e!==null&&(e.lanes|=s)}function bf(e,i,a,s){return zl(e,i,a,s),Bl(e)}function _r(e,i){return zl(e,null,null,i),Bl(e)}function Gg(e,i,a){e.lanes|=a;var s=e.alternate;s!==null&&(s.lanes|=a);for(var f=!1,p=e.return;p!==null;)p.childLanes|=a,s=p.alternate,s!==null&&(s.childLanes|=a),p.tag===22&&(e=p.stateNode,e===null||e._visibility&1||(f=!0)),e=p,p=p.return;return e.tag===3?(p=e.stateNode,f&&i!==null&&(f=31-Ot(a),e=p.hiddenUpdates,s=e[f],s===null?e[f]=[i]:s.push(i),i.lane=a|536870912),p):null}function Bl(e){if(50<ss)throw ss=0,Md=null,Error(o(185));for(var i=e.return;i!==null;)e=i,i=e.return;return e.tag===3?e.stateNode:null}var Aa={};function J2(e,i,a,s){this.tag=e,this.key=a,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=i,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=s,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function An(e,i,a,s){return new J2(e,i,a,s)}function Sf(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Mi(e,i){var a=e.alternate;return a===null?(a=An(e.tag,i,e.key,e.mode),a.elementType=e.elementType,a.type=e.type,a.stateNode=e.stateNode,a.alternate=e,e.alternate=a):(a.pendingProps=i,a.type=e.type,a.flags=0,a.subtreeFlags=0,a.deletions=null),a.flags=e.flags&65011712,a.childLanes=e.childLanes,a.lanes=e.lanes,a.child=e.child,a.memoizedProps=e.memoizedProps,a.memoizedState=e.memoizedState,a.updateQueue=e.updateQueue,i=e.dependencies,a.dependencies=i===null?null:{lanes:i.lanes,firstContext:i.firstContext},a.sibling=e.sibling,a.index=e.index,a.ref=e.ref,a.refCleanup=e.refCleanup,a}function Yg(e,i){e.flags&=65011714;var a=e.alternate;return a===null?(e.childLanes=0,e.lanes=i,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=a.childLanes,e.lanes=a.lanes,e.child=a.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=a.memoizedProps,e.memoizedState=a.memoizedState,e.updateQueue=a.updateQueue,e.type=a.type,i=a.dependencies,e.dependencies=i===null?null:{lanes:i.lanes,firstContext:i.firstContext}),e}function Nl(e,i,a,s,f,p){var v=0;if(s=e,typeof e=="function")Sf(e)&&(v=1);else if(typeof e=="string")v=rA(e,a,st.current)?26:e==="html"||e==="head"||e==="body"?27:5;else t:switch(e){case K:return e=An(31,a,i,f),e.elementType=K,e.lanes=p,e;case x:return jr(a.children,f,p,i);case A:v=8,f|=24;break;case M:return e=An(12,a,i,f|2),e.elementType=M,e.lanes=p,e;case D:return e=An(13,a,i,f),e.elementType=D,e.lanes=p,e;case _:return e=An(19,a,i,f),e.elementType=_,e.lanes=p,e;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case w:v=10;break t;case N:v=9;break t;case O:v=11;break t;case k:v=14;break t;case V:v=16,s=null;break t}v=29,a=Error(o(130,e===null?"null":typeof e,"")),s=null}return i=An(v,a,i,f),i.elementType=e,i.type=s,i.lanes=p,i}function jr(e,i,a,s){return e=An(7,e,s,i),e.lanes=a,e}function xf(e,i,a){return e=An(6,e,null,i),e.lanes=a,e}function Kg(e){var i=An(18,null,null,0);return i.stateNode=e,i}function Tf(e,i,a){return i=An(4,e.children!==null?e.children:[],e.key,i),i.lanes=a,i.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},i}var Xg=new WeakMap;function kn(e,i){if(typeof e=="object"&&e!==null){var a=Xg.get(e);return a!==void 0?a:(i={value:e,source:i,stack:ue(i)},Xg.set(e,i),i)}return{value:e,source:i,stack:ue(i)}}var Ra=[],wa=0,_l=null,Vo=0,Pn=[],Un=0,tr=null,ci=1,fi="";function Oi(e,i){Ra[wa++]=Vo,Ra[wa++]=_l,_l=e,Vo=i}function Wg(e,i,a){Pn[Un++]=ci,Pn[Un++]=fi,Pn[Un++]=tr,tr=e;var s=ci;e=fi;var f=32-Ot(s)-1;s&=~(1<<f),a+=1;var p=32-Ot(i)+f;if(30<p){var v=f-f%5;p=(s&(1<<v)-1).toString(32),s>>=v,f-=v,ci=1<<32-Ot(i)+f|a<<f|s,fi=p+e}else ci=1<<p|a<<f|s,fi=e}function Cf(e){e.return!==null&&(Oi(e,1),Wg(e,1,0))}function Ef(e){for(;e===_l;)_l=Ra[--wa],Ra[wa]=null,Vo=Ra[--wa],Ra[wa]=null;for(;e===tr;)tr=Pn[--Un],Pn[Un]=null,fi=Pn[--Un],Pn[Un]=null,ci=Pn[--Un],Pn[Un]=null}function Qg(e,i){Pn[Un++]=ci,Pn[Un++]=fi,Pn[Un++]=tr,ci=i.id,fi=i.overflow,tr=e}var Xe=null,ce=null,Lt=!1,er=null,Vn=!1,Af=Error(o(519));function nr(e){var i=Error(o(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw $o(kn(i,e)),Af}function Zg(e){var i=e.stateNode,a=e.type,s=e.memoizedProps;switch(i[Ke]=e,i[fn]=s,a){case"dialog":Bt("cancel",i),Bt("close",i);break;case"iframe":case"object":case"embed":Bt("load",i);break;case"video":case"audio":for(a=0;a<us.length;a++)Bt(us[a],i);break;case"source":Bt("error",i);break;case"img":case"image":case"link":Bt("error",i),Bt("load",i);break;case"details":Bt("toggle",i);break;case"input":Bt("invalid",i),fg(i,s.value,s.defaultValue,s.checked,s.defaultChecked,s.type,s.name,!0);break;case"select":Bt("invalid",i);break;case"textarea":Bt("invalid",i),pg(i,s.value,s.defaultValue,s.children)}a=s.children,typeof a!="string"&&typeof a!="number"&&typeof a!="bigint"||i.textContent===""+a||s.suppressHydrationWarning===!0||mv(i.textContent,a)?(s.popover!=null&&(Bt("beforetoggle",i),Bt("toggle",i)),s.onScroll!=null&&Bt("scroll",i),s.onScrollEnd!=null&&Bt("scrollend",i),s.onClick!=null&&(i.onclick=Ri),i=!0):i=!1,i||nr(e,!0)}function Jg(e){for(Xe=e.return;Xe;)switch(Xe.tag){case 5:case 31:case 13:Vn=!1;return;case 27:case 3:Vn=!0;return;default:Xe=Xe.return}}function Ma(e){if(e!==Xe)return!1;if(!Lt)return Jg(e),Lt=!0,!1;var i=e.tag,a;if((a=i!==3&&i!==27)&&((a=i===5)&&(a=e.type,a=!(a!=="form"&&a!=="button")||Fd(e.type,e.memoizedProps)),a=!a),a&&ce&&nr(e),Jg(e),i===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(o(317));ce=Ev(e)}else if(i===31){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(o(317));ce=Ev(e)}else i===27?(i=ce,gr(e.type)?(e=Kd,Kd=null,ce=e):ce=i):ce=Xe?Hn(e.stateNode.nextSibling):null;return!0}function Lr(){ce=Xe=null,Lt=!1}function Rf(){var e=er;return e!==null&&(gn===null?gn=e:gn.push.apply(gn,e),er=null),e}function $o(e){er===null?er=[e]:er.push(e)}var wf=j(null),kr=null,Di=null;function ir(e,i,a){ot(wf,i._currentValue),i._currentValue=a}function zi(e){e._currentValue=wf.current,I(wf)}function Mf(e,i,a){for(;e!==null;){var s=e.alternate;if((e.childLanes&i)!==i?(e.childLanes|=i,s!==null&&(s.childLanes|=i)):s!==null&&(s.childLanes&i)!==i&&(s.childLanes|=i),e===a)break;e=e.return}}function Of(e,i,a,s){var f=e.child;for(f!==null&&(f.return=e);f!==null;){var p=f.dependencies;if(p!==null){var v=f.child;p=p.firstContext;t:for(;p!==null;){var T=p;p=f;for(var L=0;L<i.length;L++)if(T.context===i[L]){p.lanes|=a,T=p.alternate,T!==null&&(T.lanes|=a),Mf(p.return,a,e),s||(v=null);break t}p=T.next}}else if(f.tag===18){if(v=f.return,v===null)throw Error(o(341));v.lanes|=a,p=v.alternate,p!==null&&(p.lanes|=a),Mf(v,a,e),v=null}else v=f.child;if(v!==null)v.return=f;else for(v=f;v!==null;){if(v===e){v=null;break}if(f=v.sibling,f!==null){f.return=v.return,v=f;break}v=v.return}f=v}}function Oa(e,i,a,s){e=null;for(var f=i,p=!1;f!==null;){if(!p){if((f.flags&524288)!==0)p=!0;else if((f.flags&262144)!==0)break}if(f.tag===10){var v=f.alternate;if(v===null)throw Error(o(387));if(v=v.memoizedProps,v!==null){var T=f.type;En(f.pendingProps.value,v.value)||(e!==null?e.push(T):e=[T])}}else if(f===mt.current){if(v=f.alternate,v===null)throw Error(o(387));v.memoizedState.memoizedState!==f.memoizedState.memoizedState&&(e!==null?e.push(hs):e=[hs])}f=f.return}e!==null&&Of(i,e,a,s),i.flags|=262144}function jl(e){for(e=e.firstContext;e!==null;){if(!En(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function Pr(e){kr=e,Di=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function We(e){return ty(kr,e)}function Ll(e,i){return kr===null&&Pr(e),ty(e,i)}function ty(e,i){var a=i._currentValue;if(i={context:i,memoizedValue:a,next:null},Di===null){if(e===null)throw Error(o(308));Di=i,e.dependencies={lanes:0,firstContext:i},e.flags|=524288}else Di=Di.next=i;return a}var tE=typeof AbortController<"u"?AbortController:function(){var e=[],i=this.signal={aborted:!1,addEventListener:function(a,s){e.push(s)}};this.abort=function(){i.aborted=!0,e.forEach(function(a){return a()})}},eE=t.unstable_scheduleCallback,nE=t.unstable_NormalPriority,je={$$typeof:w,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Df(){return{controller:new tE,data:new Map,refCount:0}}function Ho(e){e.refCount--,e.refCount===0&&eE(nE,function(){e.controller.abort()})}var Fo=null,zf=0,Da=0,za=null;function iE(e,i){if(Fo===null){var a=Fo=[];zf=0,Da=_d(),za={status:"pending",value:void 0,then:function(s){a.push(s)}}}return zf++,i.then(ey,ey),i}function ey(){if(--zf===0&&Fo!==null){za!==null&&(za.status="fulfilled");var e=Fo;Fo=null,Da=0,za=null;for(var i=0;i<e.length;i++)(0,e[i])()}}function rE(e,i){var a=[],s={status:"pending",value:null,reason:null,then:function(f){a.push(f)}};return e.then(function(){s.status="fulfilled",s.value=i;for(var f=0;f<a.length;f++)(0,a[f])(i)},function(f){for(s.status="rejected",s.reason=f,f=0;f<a.length;f++)(0,a[f])(void 0)}),s}var ny=B.S;B.S=function(e,i){U0=kt(),typeof i=="object"&&i!==null&&typeof i.then=="function"&&iE(e,i),ny!==null&&ny(e,i)};var Ur=j(null);function Bf(){var e=Ur.current;return e!==null?e:se.pooledCache}function kl(e,i){i===null?ot(Ur,Ur.current):ot(Ur,i.pool)}function iy(){var e=Bf();return e===null?null:{parent:je._currentValue,pool:e}}var Ba=Error(o(460)),Nf=Error(o(474)),Pl=Error(o(542)),Ul={then:function(){}};function ry(e){return e=e.status,e==="fulfilled"||e==="rejected"}function ay(e,i,a){switch(a=e[a],a===void 0?e.push(i):a!==i&&(i.then(Ri,Ri),i=a),i.status){case"fulfilled":return i.value;case"rejected":throw e=i.reason,sy(e),e;default:if(typeof i.status=="string")i.then(Ri,Ri);else{if(e=se,e!==null&&100<e.shellSuspendCounter)throw Error(o(482));e=i,e.status="pending",e.then(function(s){if(i.status==="pending"){var f=i;f.status="fulfilled",f.value=s}},function(s){if(i.status==="pending"){var f=i;f.status="rejected",f.reason=s}})}switch(i.status){case"fulfilled":return i.value;case"rejected":throw e=i.reason,sy(e),e}throw $r=i,Ba}}function Vr(e){try{var i=e._init;return i(e._payload)}catch(a){throw a!==null&&typeof a=="object"&&typeof a.then=="function"?($r=a,Ba):a}}var $r=null;function oy(){if($r===null)throw Error(o(459));var e=$r;return $r=null,e}function sy(e){if(e===Ba||e===Pl)throw Error(o(483))}var Na=null,qo=0;function Vl(e){var i=qo;return qo+=1,Na===null&&(Na=[]),ay(Na,e,i)}function Io(e,i){i=i.props.ref,e.ref=i!==void 0?i:null}function $l(e,i){throw i.$$typeof===b?Error(o(525)):(e=Object.prototype.toString.call(i),Error(o(31,e==="[object Object]"?"object with keys {"+Object.keys(i).join(", ")+"}":e)))}function ly(e){function i(U,P){if(e){var $=U.deletions;$===null?(U.deletions=[P],U.flags|=16):$.push(P)}}function a(U,P){if(!e)return null;for(;P!==null;)i(U,P),P=P.sibling;return null}function s(U){for(var P=new Map;U!==null;)U.key!==null?P.set(U.key,U):P.set(U.index,U),U=U.sibling;return P}function f(U,P){return U=Mi(U,P),U.index=0,U.sibling=null,U}function p(U,P,$){return U.index=$,e?($=U.alternate,$!==null?($=$.index,$<P?(U.flags|=67108866,P):$):(U.flags|=67108866,P)):(U.flags|=1048576,P)}function v(U){return e&&U.alternate===null&&(U.flags|=67108866),U}function T(U,P,$,it){return P===null||P.tag!==6?(P=xf($,U.mode,it),P.return=U,P):(P=f(P,$),P.return=U,P)}function L(U,P,$,it){var gt=$.type;return gt===x?J(U,P,$.props.children,it,$.key):P!==null&&(P.elementType===gt||typeof gt=="object"&&gt!==null&&gt.$$typeof===V&&Vr(gt)===P.type)?(P=f(P,$.props),Io(P,$),P.return=U,P):(P=Nl($.type,$.key,$.props,null,U.mode,it),Io(P,$),P.return=U,P)}function H(U,P,$,it){return P===null||P.tag!==4||P.stateNode.containerInfo!==$.containerInfo||P.stateNode.implementation!==$.implementation?(P=Tf($,U.mode,it),P.return=U,P):(P=f(P,$.children||[]),P.return=U,P)}function J(U,P,$,it,gt){return P===null||P.tag!==7?(P=jr($,U.mode,it,gt),P.return=U,P):(P=f(P,$),P.return=U,P)}function rt(U,P,$){if(typeof P=="string"&&P!==""||typeof P=="number"||typeof P=="bigint")return P=xf(""+P,U.mode,$),P.return=U,P;if(typeof P=="object"&&P!==null){switch(P.$$typeof){case C:return $=Nl(P.type,P.key,P.props,null,U.mode,$),Io($,P),$.return=U,$;case S:return P=Tf(P,U.mode,$),P.return=U,P;case V:return P=Vr(P),rt(U,P,$)}if(W(P)||E(P))return P=jr(P,U.mode,$,null),P.return=U,P;if(typeof P.then=="function")return rt(U,Vl(P),$);if(P.$$typeof===w)return rt(U,Ll(U,P),$);$l(U,P)}return null}function q(U,P,$,it){var gt=P!==null?P.key:null;if(typeof $=="string"&&$!==""||typeof $=="number"||typeof $=="bigint")return gt!==null?null:T(U,P,""+$,it);if(typeof $=="object"&&$!==null){switch($.$$typeof){case C:return $.key===gt?L(U,P,$,it):null;case S:return $.key===gt?H(U,P,$,it):null;case V:return $=Vr($),q(U,P,$,it)}if(W($)||E($))return gt!==null?null:J(U,P,$,it,null);if(typeof $.then=="function")return q(U,P,Vl($),it);if($.$$typeof===w)return q(U,P,Ll(U,$),it);$l(U,$)}return null}function X(U,P,$,it,gt){if(typeof it=="string"&&it!==""||typeof it=="number"||typeof it=="bigint")return U=U.get($)||null,T(P,U,""+it,gt);if(typeof it=="object"&&it!==null){switch(it.$$typeof){case C:return U=U.get(it.key===null?$:it.key)||null,L(P,U,it,gt);case S:return U=U.get(it.key===null?$:it.key)||null,H(P,U,it,gt);case V:return it=Vr(it),X(U,P,$,it,gt)}if(W(it)||E(it))return U=U.get($)||null,J(P,U,it,gt,null);if(typeof it.then=="function")return X(U,P,$,Vl(it),gt);if(it.$$typeof===w)return X(U,P,$,Ll(P,it),gt);$l(P,it)}return null}function ct(U,P,$,it){for(var gt=null,Ut=null,ft=P,Mt=P=0,_t=null;ft!==null&&Mt<$.length;Mt++){ft.index>Mt?(_t=ft,ft=null):_t=ft.sibling;var Vt=q(U,ft,$[Mt],it);if(Vt===null){ft===null&&(ft=_t);break}e&&ft&&Vt.alternate===null&&i(U,ft),P=p(Vt,P,Mt),Ut===null?gt=Vt:Ut.sibling=Vt,Ut=Vt,ft=_t}if(Mt===$.length)return a(U,ft),Lt&&Oi(U,Mt),gt;if(ft===null){for(;Mt<$.length;Mt++)ft=rt(U,$[Mt],it),ft!==null&&(P=p(ft,P,Mt),Ut===null?gt=ft:Ut.sibling=ft,Ut=ft);return Lt&&Oi(U,Mt),gt}for(ft=s(ft);Mt<$.length;Mt++)_t=X(ft,U,Mt,$[Mt],it),_t!==null&&(e&&_t.alternate!==null&&ft.delete(_t.key===null?Mt:_t.key),P=p(_t,P,Mt),Ut===null?gt=_t:Ut.sibling=_t,Ut=_t);return e&&ft.forEach(function(xr){return i(U,xr)}),Lt&&Oi(U,Mt),gt}function vt(U,P,$,it){if($==null)throw Error(o(151));for(var gt=null,Ut=null,ft=P,Mt=P=0,_t=null,Vt=$.next();ft!==null&&!Vt.done;Mt++,Vt=$.next()){ft.index>Mt?(_t=ft,ft=null):_t=ft.sibling;var xr=q(U,ft,Vt.value,it);if(xr===null){ft===null&&(ft=_t);break}e&&ft&&xr.alternate===null&&i(U,ft),P=p(xr,P,Mt),Ut===null?gt=xr:Ut.sibling=xr,Ut=xr,ft=_t}if(Vt.done)return a(U,ft),Lt&&Oi(U,Mt),gt;if(ft===null){for(;!Vt.done;Mt++,Vt=$.next())Vt=rt(U,Vt.value,it),Vt!==null&&(P=p(Vt,P,Mt),Ut===null?gt=Vt:Ut.sibling=Vt,Ut=Vt);return Lt&&Oi(U,Mt),gt}for(ft=s(ft);!Vt.done;Mt++,Vt=$.next())Vt=X(ft,U,Mt,Vt.value,it),Vt!==null&&(e&&Vt.alternate!==null&&ft.delete(Vt.key===null?Mt:Vt.key),P=p(Vt,P,Mt),Ut===null?gt=Vt:Ut.sibling=Vt,Ut=Vt);return e&&ft.forEach(function(mA){return i(U,mA)}),Lt&&Oi(U,Mt),gt}function ie(U,P,$,it){if(typeof $=="object"&&$!==null&&$.type===x&&$.key===null&&($=$.props.children),typeof $=="object"&&$!==null){switch($.$$typeof){case C:t:{for(var gt=$.key;P!==null;){if(P.key===gt){if(gt=$.type,gt===x){if(P.tag===7){a(U,P.sibling),it=f(P,$.props.children),it.return=U,U=it;break t}}else if(P.elementType===gt||typeof gt=="object"&&gt!==null&&gt.$$typeof===V&&Vr(gt)===P.type){a(U,P.sibling),it=f(P,$.props),Io(it,$),it.return=U,U=it;break t}a(U,P);break}else i(U,P);P=P.sibling}$.type===x?(it=jr($.props.children,U.mode,it,$.key),it.return=U,U=it):(it=Nl($.type,$.key,$.props,null,U.mode,it),Io(it,$),it.return=U,U=it)}return v(U);case S:t:{for(gt=$.key;P!==null;){if(P.key===gt)if(P.tag===4&&P.stateNode.containerInfo===$.containerInfo&&P.stateNode.implementation===$.implementation){a(U,P.sibling),it=f(P,$.children||[]),it.return=U,U=it;break t}else{a(U,P);break}else i(U,P);P=P.sibling}it=Tf($,U.mode,it),it.return=U,U=it}return v(U);case V:return $=Vr($),ie(U,P,$,it)}if(W($))return ct(U,P,$,it);if(E($)){if(gt=E($),typeof gt!="function")throw Error(o(150));return $=gt.call($),vt(U,P,$,it)}if(typeof $.then=="function")return ie(U,P,Vl($),it);if($.$$typeof===w)return ie(U,P,Ll(U,$),it);$l(U,$)}return typeof $=="string"&&$!==""||typeof $=="number"||typeof $=="bigint"?($=""+$,P!==null&&P.tag===6?(a(U,P.sibling),it=f(P,$),it.return=U,U=it):(a(U,P),it=xf($,U.mode,it),it.return=U,U=it),v(U)):a(U,P)}return function(U,P,$,it){try{qo=0;var gt=ie(U,P,$,it);return Na=null,gt}catch(ft){if(ft===Ba||ft===Pl)throw ft;var Ut=An(29,ft,null,U.mode);return Ut.lanes=it,Ut.return=U,Ut}finally{}}}var Hr=ly(!0),uy=ly(!1),rr=!1;function _f(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function jf(e,i){e=e.updateQueue,i.updateQueue===e&&(i.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function ar(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function or(e,i,a){var s=e.updateQueue;if(s===null)return null;if(s=s.shared,(Ht&2)!==0){var f=s.pending;return f===null?i.next=i:(i.next=f.next,f.next=i),s.pending=i,i=Bl(e),Gg(e,null,a),i}return zl(e,s,i,a),Bl(e)}function Go(e,i,a){if(i=i.updateQueue,i!==null&&(i=i.shared,(a&4194048)!==0)){var s=i.lanes;s&=e.pendingLanes,a|=s,i.lanes=a,tg(e,a)}}function Lf(e,i){var a=e.updateQueue,s=e.alternate;if(s!==null&&(s=s.updateQueue,a===s)){var f=null,p=null;if(a=a.firstBaseUpdate,a!==null){do{var v={lane:a.lane,tag:a.tag,payload:a.payload,callback:null,next:null};p===null?f=p=v:p=p.next=v,a=a.next}while(a!==null);p===null?f=p=i:p=p.next=i}else f=p=i;a={baseState:s.baseState,firstBaseUpdate:f,lastBaseUpdate:p,shared:s.shared,callbacks:s.callbacks},e.updateQueue=a;return}e=a.lastBaseUpdate,e===null?a.firstBaseUpdate=i:e.next=i,a.lastBaseUpdate=i}var kf=!1;function Yo(){if(kf){var e=za;if(e!==null)throw e}}function Ko(e,i,a,s){kf=!1;var f=e.updateQueue;rr=!1;var p=f.firstBaseUpdate,v=f.lastBaseUpdate,T=f.shared.pending;if(T!==null){f.shared.pending=null;var L=T,H=L.next;L.next=null,v===null?p=H:v.next=H,v=L;var J=e.alternate;J!==null&&(J=J.updateQueue,T=J.lastBaseUpdate,T!==v&&(T===null?J.firstBaseUpdate=H:T.next=H,J.lastBaseUpdate=L))}if(p!==null){var rt=f.baseState;v=0,J=H=L=null,T=p;do{var q=T.lane&-536870913,X=q!==T.lane;if(X?(Nt&q)===q:(s&q)===q){q!==0&&q===Da&&(kf=!0),J!==null&&(J=J.next={lane:0,tag:T.tag,payload:T.payload,callback:null,next:null});t:{var ct=e,vt=T;q=i;var ie=a;switch(vt.tag){case 1:if(ct=vt.payload,typeof ct=="function"){rt=ct.call(ie,rt,q);break t}rt=ct;break t;case 3:ct.flags=ct.flags&-65537|128;case 0:if(ct=vt.payload,q=typeof ct=="function"?ct.call(ie,rt,q):ct,q==null)break t;rt=y({},rt,q);break t;case 2:rr=!0}}q=T.callback,q!==null&&(e.flags|=64,X&&(e.flags|=8192),X=f.callbacks,X===null?f.callbacks=[q]:X.push(q))}else X={lane:q,tag:T.tag,payload:T.payload,callback:T.callback,next:null},J===null?(H=J=X,L=rt):J=J.next=X,v|=q;if(T=T.next,T===null){if(T=f.shared.pending,T===null)break;X=T,T=X.next,X.next=null,f.lastBaseUpdate=X,f.shared.pending=null}}while(!0);J===null&&(L=rt),f.baseState=L,f.firstBaseUpdate=H,f.lastBaseUpdate=J,p===null&&(f.shared.lanes=0),fr|=v,e.lanes=v,e.memoizedState=rt}}function cy(e,i){if(typeof e!="function")throw Error(o(191,e));e.call(i)}function fy(e,i){var a=e.callbacks;if(a!==null)for(e.callbacks=null,e=0;e<a.length;e++)cy(a[e],i)}var _a=j(null),Hl=j(0);function dy(e,i){e=Vi,ot(Hl,e),ot(_a,i),Vi=e|i.baseLanes}function Pf(){ot(Hl,Vi),ot(_a,_a.current)}function Uf(){Vi=Hl.current,I(_a),I(Hl)}var Rn=j(null),$n=null;function sr(e){var i=e.alternate;ot(Oe,Oe.current&1),ot(Rn,e),$n===null&&(i===null||_a.current!==null||i.memoizedState!==null)&&($n=e)}function Vf(e){ot(Oe,Oe.current),ot(Rn,e),$n===null&&($n=e)}function py(e){e.tag===22?(ot(Oe,Oe.current),ot(Rn,e),$n===null&&($n=e)):lr()}function lr(){ot(Oe,Oe.current),ot(Rn,Rn.current)}function wn(e){I(Rn),$n===e&&($n=null),I(Oe)}var Oe=j(0);function Fl(e){for(var i=e;i!==null;){if(i.tag===13){var a=i.memoizedState;if(a!==null&&(a=a.dehydrated,a===null||Gd(a)||Yd(a)))return i}else if(i.tag===19&&(i.memoizedProps.revealOrder==="forwards"||i.memoizedProps.revealOrder==="backwards"||i.memoizedProps.revealOrder==="unstable_legacy-backwards"||i.memoizedProps.revealOrder==="together")){if((i.flags&128)!==0)return i}else if(i.child!==null){i.child.return=i,i=i.child;continue}if(i===e)break;for(;i.sibling===null;){if(i.return===null||i.return===e)return null;i=i.return}i.sibling.return=i.return,i=i.sibling}return null}var Bi=0,Rt=null,ee=null,Le=null,ql=!1,ja=!1,Fr=!1,Il=0,Xo=0,La=null,aE=0;function Se(){throw Error(o(321))}function $f(e,i){if(i===null)return!1;for(var a=0;a<i.length&&a<e.length;a++)if(!En(e[a],i[a]))return!1;return!0}function Hf(e,i,a,s,f,p){return Bi=p,Rt=i,i.memoizedState=null,i.updateQueue=null,i.lanes=0,B.H=e===null||e.memoizedState===null?Wy:id,Fr=!1,p=a(s,f),Fr=!1,ja&&(p=my(i,a,s,f)),hy(e),p}function hy(e){B.H=Zo;var i=ee!==null&&ee.next!==null;if(Bi=0,Le=ee=Rt=null,ql=!1,Xo=0,La=null,i)throw Error(o(300));e===null||ke||(e=e.dependencies,e!==null&&jl(e)&&(ke=!0))}function my(e,i,a,s){Rt=e;var f=0;do{if(ja&&(La=null),Xo=0,ja=!1,25<=f)throw Error(o(301));if(f+=1,Le=ee=null,e.updateQueue!=null){var p=e.updateQueue;p.lastEffect=null,p.events=null,p.stores=null,p.memoCache!=null&&(p.memoCache.index=0)}B.H=Qy,p=i(a,s)}while(ja);return p}function oE(){var e=B.H,i=e.useState()[0];return i=typeof i.then=="function"?Wo(i):i,e=e.useState()[0],(ee!==null?ee.memoizedState:null)!==e&&(Rt.flags|=1024),i}function Ff(){var e=Il!==0;return Il=0,e}function qf(e,i,a){i.updateQueue=e.updateQueue,i.flags&=-2053,e.lanes&=~a}function If(e){if(ql){for(e=e.memoizedState;e!==null;){var i=e.queue;i!==null&&(i.pending=null),e=e.next}ql=!1}Bi=0,Le=ee=Rt=null,ja=!1,Xo=Il=0,La=null}function un(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Le===null?Rt.memoizedState=Le=e:Le=Le.next=e,Le}function De(){if(ee===null){var e=Rt.alternate;e=e!==null?e.memoizedState:null}else e=ee.next;var i=Le===null?Rt.memoizedState:Le.next;if(i!==null)Le=i,ee=e;else{if(e===null)throw Rt.alternate===null?Error(o(467)):Error(o(310));ee=e,e={memoizedState:ee.memoizedState,baseState:ee.baseState,baseQueue:ee.baseQueue,queue:ee.queue,next:null},Le===null?Rt.memoizedState=Le=e:Le=Le.next=e}return Le}function Gl(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Wo(e){var i=Xo;return Xo+=1,La===null&&(La=[]),e=ay(La,e,i),i=Rt,(Le===null?i.memoizedState:Le.next)===null&&(i=i.alternate,B.H=i===null||i.memoizedState===null?Wy:id),e}function Yl(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return Wo(e);if(e.$$typeof===w)return We(e)}throw Error(o(438,String(e)))}function Gf(e){var i=null,a=Rt.updateQueue;if(a!==null&&(i=a.memoCache),i==null){var s=Rt.alternate;s!==null&&(s=s.updateQueue,s!==null&&(s=s.memoCache,s!=null&&(i={data:s.data.map(function(f){return f.slice()}),index:0})))}if(i==null&&(i={data:[],index:0}),a===null&&(a=Gl(),Rt.updateQueue=a),a.memoCache=i,a=i.data[i.index],a===void 0)for(a=i.data[i.index]=Array(e),s=0;s<e;s++)a[s]=Z;return i.index++,a}function Ni(e,i){return typeof i=="function"?i(e):i}function Kl(e){var i=De();return Yf(i,ee,e)}function Yf(e,i,a){var s=e.queue;if(s===null)throw Error(o(311));s.lastRenderedReducer=a;var f=e.baseQueue,p=s.pending;if(p!==null){if(f!==null){var v=f.next;f.next=p.next,p.next=v}i.baseQueue=f=p,s.pending=null}if(p=e.baseState,f===null)e.memoizedState=p;else{i=f.next;var T=v=null,L=null,H=i,J=!1;do{var rt=H.lane&-536870913;if(rt!==H.lane?(Nt&rt)===rt:(Bi&rt)===rt){var q=H.revertLane;if(q===0)L!==null&&(L=L.next={lane:0,revertLane:0,gesture:null,action:H.action,hasEagerState:H.hasEagerState,eagerState:H.eagerState,next:null}),rt===Da&&(J=!0);else if((Bi&q)===q){H=H.next,q===Da&&(J=!0);continue}else rt={lane:0,revertLane:H.revertLane,gesture:null,action:H.action,hasEagerState:H.hasEagerState,eagerState:H.eagerState,next:null},L===null?(T=L=rt,v=p):L=L.next=rt,Rt.lanes|=q,fr|=q;rt=H.action,Fr&&a(p,rt),p=H.hasEagerState?H.eagerState:a(p,rt)}else q={lane:rt,revertLane:H.revertLane,gesture:H.gesture,action:H.action,hasEagerState:H.hasEagerState,eagerState:H.eagerState,next:null},L===null?(T=L=q,v=p):L=L.next=q,Rt.lanes|=rt,fr|=rt;H=H.next}while(H!==null&&H!==i);if(L===null?v=p:L.next=T,!En(p,e.memoizedState)&&(ke=!0,J&&(a=za,a!==null)))throw a;e.memoizedState=p,e.baseState=v,e.baseQueue=L,s.lastRenderedState=p}return f===null&&(s.lanes=0),[e.memoizedState,s.dispatch]}function Kf(e){var i=De(),a=i.queue;if(a===null)throw Error(o(311));a.lastRenderedReducer=e;var s=a.dispatch,f=a.pending,p=i.memoizedState;if(f!==null){a.pending=null;var v=f=f.next;do p=e(p,v.action),v=v.next;while(v!==f);En(p,i.memoizedState)||(ke=!0),i.memoizedState=p,i.baseQueue===null&&(i.baseState=p),a.lastRenderedState=p}return[p,s]}function gy(e,i,a){var s=Rt,f=De(),p=Lt;if(p){if(a===void 0)throw Error(o(407));a=a()}else a=i();var v=!En((ee||f).memoizedState,a);if(v&&(f.memoizedState=a,ke=!0),f=f.queue,Qf(by.bind(null,s,f,e),[e]),f.getSnapshot!==i||v||Le!==null&&Le.memoizedState.tag&1){if(s.flags|=2048,ka(9,{destroy:void 0},vy.bind(null,s,f,a,i),null),se===null)throw Error(o(349));p||(Bi&127)!==0||yy(s,i,a)}return a}function yy(e,i,a){e.flags|=16384,e={getSnapshot:i,value:a},i=Rt.updateQueue,i===null?(i=Gl(),Rt.updateQueue=i,i.stores=[e]):(a=i.stores,a===null?i.stores=[e]:a.push(e))}function vy(e,i,a,s){i.value=a,i.getSnapshot=s,Sy(i)&&xy(e)}function by(e,i,a){return a(function(){Sy(i)&&xy(e)})}function Sy(e){var i=e.getSnapshot;e=e.value;try{var a=i();return!En(e,a)}catch{return!0}}function xy(e){var i=_r(e,2);i!==null&&yn(i,e,2)}function Xf(e){var i=un();if(typeof e=="function"){var a=e;if(e=a(),Fr){ht(!0);try{a()}finally{ht(!1)}}}return i.memoizedState=i.baseState=e,i.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ni,lastRenderedState:e},i}function Ty(e,i,a,s){return e.baseState=a,Yf(e,ee,typeof s=="function"?s:Ni)}function sE(e,i,a,s,f){if(Ql(e))throw Error(o(485));if(e=i.action,e!==null){var p={payload:f,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(v){p.listeners.push(v)}};B.T!==null?a(!0):p.isTransition=!1,s(p),a=i.pending,a===null?(p.next=i.pending=p,Cy(i,p)):(p.next=a.next,i.pending=a.next=p)}}function Cy(e,i){var a=i.action,s=i.payload,f=e.state;if(i.isTransition){var p=B.T,v={};B.T=v;try{var T=a(f,s),L=B.S;L!==null&&L(v,T),Ey(e,i,T)}catch(H){Wf(e,i,H)}finally{p!==null&&v.types!==null&&(p.types=v.types),B.T=p}}else try{p=a(f,s),Ey(e,i,p)}catch(H){Wf(e,i,H)}}function Ey(e,i,a){a!==null&&typeof a=="object"&&typeof a.then=="function"?a.then(function(s){Ay(e,i,s)},function(s){return Wf(e,i,s)}):Ay(e,i,a)}function Ay(e,i,a){i.status="fulfilled",i.value=a,Ry(i),e.state=a,i=e.pending,i!==null&&(a=i.next,a===i?e.pending=null:(a=a.next,i.next=a,Cy(e,a)))}function Wf(e,i,a){var s=e.pending;if(e.pending=null,s!==null){s=s.next;do i.status="rejected",i.reason=a,Ry(i),i=i.next;while(i!==s)}e.action=null}function Ry(e){e=e.listeners;for(var i=0;i<e.length;i++)(0,e[i])()}function wy(e,i){return i}function My(e,i){if(Lt){var a=se.formState;if(a!==null){t:{var s=Rt;if(Lt){if(ce){e:{for(var f=ce,p=Vn;f.nodeType!==8;){if(!p){f=null;break e}if(f=Hn(f.nextSibling),f===null){f=null;break e}}p=f.data,f=p==="F!"||p==="F"?f:null}if(f){ce=Hn(f.nextSibling),s=f.data==="F!";break t}}nr(s)}s=!1}s&&(i=a[0])}}return a=un(),a.memoizedState=a.baseState=i,s={pending:null,lanes:0,dispatch:null,lastRenderedReducer:wy,lastRenderedState:i},a.queue=s,a=Yy.bind(null,Rt,s),s.dispatch=a,s=Xf(!1),p=nd.bind(null,Rt,!1,s.queue),s=un(),f={state:i,dispatch:null,action:e,pending:null},s.queue=f,a=sE.bind(null,Rt,f,p,a),f.dispatch=a,s.memoizedState=e,[i,a,!1]}function Oy(e){var i=De();return Dy(i,ee,e)}function Dy(e,i,a){if(i=Yf(e,i,wy)[0],e=Kl(Ni)[0],typeof i=="object"&&i!==null&&typeof i.then=="function")try{var s=Wo(i)}catch(v){throw v===Ba?Pl:v}else s=i;i=De();var f=i.queue,p=f.dispatch;return a!==i.memoizedState&&(Rt.flags|=2048,ka(9,{destroy:void 0},lE.bind(null,f,a),null)),[s,p,e]}function lE(e,i){e.action=i}function zy(e){var i=De(),a=ee;if(a!==null)return Dy(i,a,e);De(),i=i.memoizedState,a=De();var s=a.queue.dispatch;return a.memoizedState=e,[i,s,!1]}function ka(e,i,a,s){return e={tag:e,create:a,deps:s,inst:i,next:null},i=Rt.updateQueue,i===null&&(i=Gl(),Rt.updateQueue=i),a=i.lastEffect,a===null?i.lastEffect=e.next=e:(s=a.next,a.next=e,e.next=s,i.lastEffect=e),e}function By(){return De().memoizedState}function Xl(e,i,a,s){var f=un();Rt.flags|=e,f.memoizedState=ka(1|i,{destroy:void 0},a,s===void 0?null:s)}function Wl(e,i,a,s){var f=De();s=s===void 0?null:s;var p=f.memoizedState.inst;ee!==null&&s!==null&&$f(s,ee.memoizedState.deps)?f.memoizedState=ka(i,p,a,s):(Rt.flags|=e,f.memoizedState=ka(1|i,p,a,s))}function Ny(e,i){Xl(8390656,8,e,i)}function Qf(e,i){Wl(2048,8,e,i)}function uE(e){Rt.flags|=4;var i=Rt.updateQueue;if(i===null)i=Gl(),Rt.updateQueue=i,i.events=[e];else{var a=i.events;a===null?i.events=[e]:a.push(e)}}function _y(e){var i=De().memoizedState;return uE({ref:i,nextImpl:e}),function(){if((Ht&2)!==0)throw Error(o(440));return i.impl.apply(void 0,arguments)}}function jy(e,i){return Wl(4,2,e,i)}function Ly(e,i){return Wl(4,4,e,i)}function ky(e,i){if(typeof i=="function"){e=e();var a=i(e);return function(){typeof a=="function"?a():i(null)}}if(i!=null)return e=e(),i.current=e,function(){i.current=null}}function Py(e,i,a){a=a!=null?a.concat([e]):null,Wl(4,4,ky.bind(null,i,e),a)}function Zf(){}function Uy(e,i){var a=De();i=i===void 0?null:i;var s=a.memoizedState;return i!==null&&$f(i,s[1])?s[0]:(a.memoizedState=[e,i],e)}function Vy(e,i){var a=De();i=i===void 0?null:i;var s=a.memoizedState;if(i!==null&&$f(i,s[1]))return s[0];if(s=e(),Fr){ht(!0);try{e()}finally{ht(!1)}}return a.memoizedState=[s,i],s}function Jf(e,i,a){return a===void 0||(Bi&1073741824)!==0&&(Nt&261930)===0?e.memoizedState=i:(e.memoizedState=a,e=$0(),Rt.lanes|=e,fr|=e,a)}function $y(e,i,a,s){return En(a,i)?a:_a.current!==null?(e=Jf(e,a,s),En(e,i)||(ke=!0),e):(Bi&42)===0||(Bi&1073741824)!==0&&(Nt&261930)===0?(ke=!0,e.memoizedState=a):(e=$0(),Rt.lanes|=e,fr|=e,i)}function Hy(e,i,a,s,f){var p=F.p;F.p=p!==0&&8>p?p:8;var v=B.T,T={};B.T=T,nd(e,!1,i,a);try{var L=f(),H=B.S;if(H!==null&&H(T,L),L!==null&&typeof L=="object"&&typeof L.then=="function"){var J=rE(L,s);Qo(e,i,J,Dn(e))}else Qo(e,i,s,Dn(e))}catch(rt){Qo(e,i,{then:function(){},status:"rejected",reason:rt},Dn())}finally{F.p=p,v!==null&&T.types!==null&&(v.types=T.types),B.T=v}}function cE(){}function td(e,i,a,s){if(e.tag!==5)throw Error(o(476));var f=Fy(e).queue;Hy(e,f,i,at,a===null?cE:function(){return qy(e),a(s)})}function Fy(e){var i=e.memoizedState;if(i!==null)return i;i={memoizedState:at,baseState:at,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ni,lastRenderedState:at},next:null};var a={};return i.next={memoizedState:a,baseState:a,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ni,lastRenderedState:a},next:null},e.memoizedState=i,e=e.alternate,e!==null&&(e.memoizedState=i),i}function qy(e){var i=Fy(e);i.next===null&&(i=e.alternate.memoizedState),Qo(e,i.next.queue,{},Dn())}function ed(){return We(hs)}function Iy(){return De().memoizedState}function Gy(){return De().memoizedState}function fE(e){for(var i=e.return;i!==null;){switch(i.tag){case 24:case 3:var a=Dn();e=ar(a);var s=or(i,e,a);s!==null&&(yn(s,i,a),Go(s,i,a)),i={cache:Df()},e.payload=i;return}i=i.return}}function dE(e,i,a){var s=Dn();a={lane:s,revertLane:0,gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null},Ql(e)?Ky(i,a):(a=bf(e,i,a,s),a!==null&&(yn(a,e,s),Xy(a,i,s)))}function Yy(e,i,a){var s=Dn();Qo(e,i,a,s)}function Qo(e,i,a,s){var f={lane:s,revertLane:0,gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null};if(Ql(e))Ky(i,f);else{var p=e.alternate;if(e.lanes===0&&(p===null||p.lanes===0)&&(p=i.lastRenderedReducer,p!==null))try{var v=i.lastRenderedState,T=p(v,a);if(f.hasEagerState=!0,f.eagerState=T,En(T,v))return zl(e,i,f,0),se===null&&Dl(),!1}catch{}finally{}if(a=bf(e,i,f,s),a!==null)return yn(a,e,s),Xy(a,i,s),!0}return!1}function nd(e,i,a,s){if(s={lane:2,revertLane:_d(),gesture:null,action:s,hasEagerState:!1,eagerState:null,next:null},Ql(e)){if(i)throw Error(o(479))}else i=bf(e,a,s,2),i!==null&&yn(i,e,2)}function Ql(e){var i=e.alternate;return e===Rt||i!==null&&i===Rt}function Ky(e,i){ja=ql=!0;var a=e.pending;a===null?i.next=i:(i.next=a.next,a.next=i),e.pending=i}function Xy(e,i,a){if((a&4194048)!==0){var s=i.lanes;s&=e.pendingLanes,a|=s,i.lanes=a,tg(e,a)}}var Zo={readContext:We,use:Yl,useCallback:Se,useContext:Se,useEffect:Se,useImperativeHandle:Se,useLayoutEffect:Se,useInsertionEffect:Se,useMemo:Se,useReducer:Se,useRef:Se,useState:Se,useDebugValue:Se,useDeferredValue:Se,useTransition:Se,useSyncExternalStore:Se,useId:Se,useHostTransitionStatus:Se,useFormState:Se,useActionState:Se,useOptimistic:Se,useMemoCache:Se,useCacheRefresh:Se};Zo.useEffectEvent=Se;var Wy={readContext:We,use:Yl,useCallback:function(e,i){return un().memoizedState=[e,i===void 0?null:i],e},useContext:We,useEffect:Ny,useImperativeHandle:function(e,i,a){a=a!=null?a.concat([e]):null,Xl(4194308,4,ky.bind(null,i,e),a)},useLayoutEffect:function(e,i){return Xl(4194308,4,e,i)},useInsertionEffect:function(e,i){Xl(4,2,e,i)},useMemo:function(e,i){var a=un();i=i===void 0?null:i;var s=e();if(Fr){ht(!0);try{e()}finally{ht(!1)}}return a.memoizedState=[s,i],s},useReducer:function(e,i,a){var s=un();if(a!==void 0){var f=a(i);if(Fr){ht(!0);try{a(i)}finally{ht(!1)}}}else f=i;return s.memoizedState=s.baseState=f,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:f},s.queue=e,e=e.dispatch=dE.bind(null,Rt,e),[s.memoizedState,e]},useRef:function(e){var i=un();return e={current:e},i.memoizedState=e},useState:function(e){e=Xf(e);var i=e.queue,a=Yy.bind(null,Rt,i);return i.dispatch=a,[e.memoizedState,a]},useDebugValue:Zf,useDeferredValue:function(e,i){var a=un();return Jf(a,e,i)},useTransition:function(){var e=Xf(!1);return e=Hy.bind(null,Rt,e.queue,!0,!1),un().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,i,a){var s=Rt,f=un();if(Lt){if(a===void 0)throw Error(o(407));a=a()}else{if(a=i(),se===null)throw Error(o(349));(Nt&127)!==0||yy(s,i,a)}f.memoizedState=a;var p={value:a,getSnapshot:i};return f.queue=p,Ny(by.bind(null,s,p,e),[e]),s.flags|=2048,ka(9,{destroy:void 0},vy.bind(null,s,p,a,i),null),a},useId:function(){var e=un(),i=se.identifierPrefix;if(Lt){var a=fi,s=ci;a=(s&~(1<<32-Ot(s)-1)).toString(32)+a,i="_"+i+"R_"+a,a=Il++,0<a&&(i+="H"+a.toString(32)),i+="_"}else a=aE++,i="_"+i+"r_"+a.toString(32)+"_";return e.memoizedState=i},useHostTransitionStatus:ed,useFormState:My,useActionState:My,useOptimistic:function(e){var i=un();i.memoizedState=i.baseState=e;var a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return i.queue=a,i=nd.bind(null,Rt,!0,a),a.dispatch=i,[e,i]},useMemoCache:Gf,useCacheRefresh:function(){return un().memoizedState=fE.bind(null,Rt)},useEffectEvent:function(e){var i=un(),a={impl:e};return i.memoizedState=a,function(){if((Ht&2)!==0)throw Error(o(440));return a.impl.apply(void 0,arguments)}}},id={readContext:We,use:Yl,useCallback:Uy,useContext:We,useEffect:Qf,useImperativeHandle:Py,useInsertionEffect:jy,useLayoutEffect:Ly,useMemo:Vy,useReducer:Kl,useRef:By,useState:function(){return Kl(Ni)},useDebugValue:Zf,useDeferredValue:function(e,i){var a=De();return $y(a,ee.memoizedState,e,i)},useTransition:function(){var e=Kl(Ni)[0],i=De().memoizedState;return[typeof e=="boolean"?e:Wo(e),i]},useSyncExternalStore:gy,useId:Iy,useHostTransitionStatus:ed,useFormState:Oy,useActionState:Oy,useOptimistic:function(e,i){var a=De();return Ty(a,ee,e,i)},useMemoCache:Gf,useCacheRefresh:Gy};id.useEffectEvent=_y;var Qy={readContext:We,use:Yl,useCallback:Uy,useContext:We,useEffect:Qf,useImperativeHandle:Py,useInsertionEffect:jy,useLayoutEffect:Ly,useMemo:Vy,useReducer:Kf,useRef:By,useState:function(){return Kf(Ni)},useDebugValue:Zf,useDeferredValue:function(e,i){var a=De();return ee===null?Jf(a,e,i):$y(a,ee.memoizedState,e,i)},useTransition:function(){var e=Kf(Ni)[0],i=De().memoizedState;return[typeof e=="boolean"?e:Wo(e),i]},useSyncExternalStore:gy,useId:Iy,useHostTransitionStatus:ed,useFormState:zy,useActionState:zy,useOptimistic:function(e,i){var a=De();return ee!==null?Ty(a,ee,e,i):(a.baseState=e,[e,a.queue.dispatch])},useMemoCache:Gf,useCacheRefresh:Gy};Qy.useEffectEvent=_y;function rd(e,i,a,s){i=e.memoizedState,a=a(s,i),a=a==null?i:y({},i,a),e.memoizedState=a,e.lanes===0&&(e.updateQueue.baseState=a)}var ad={enqueueSetState:function(e,i,a){e=e._reactInternals;var s=Dn(),f=ar(s);f.payload=i,a!=null&&(f.callback=a),i=or(e,f,s),i!==null&&(yn(i,e,s),Go(i,e,s))},enqueueReplaceState:function(e,i,a){e=e._reactInternals;var s=Dn(),f=ar(s);f.tag=1,f.payload=i,a!=null&&(f.callback=a),i=or(e,f,s),i!==null&&(yn(i,e,s),Go(i,e,s))},enqueueForceUpdate:function(e,i){e=e._reactInternals;var a=Dn(),s=ar(a);s.tag=2,i!=null&&(s.callback=i),i=or(e,s,a),i!==null&&(yn(i,e,a),Go(i,e,a))}};function Zy(e,i,a,s,f,p,v){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(s,p,v):i.prototype&&i.prototype.isPureReactComponent?!Po(a,s)||!Po(f,p):!0}function Jy(e,i,a,s){e=i.state,typeof i.componentWillReceiveProps=="function"&&i.componentWillReceiveProps(a,s),typeof i.UNSAFE_componentWillReceiveProps=="function"&&i.UNSAFE_componentWillReceiveProps(a,s),i.state!==e&&ad.enqueueReplaceState(i,i.state,null)}function qr(e,i){var a=i;if("ref"in i){a={};for(var s in i)s!=="ref"&&(a[s]=i[s])}if(e=e.defaultProps){a===i&&(a=y({},a));for(var f in e)a[f]===void 0&&(a[f]=e[f])}return a}function t0(e){Ol(e)}function e0(e){console.error(e)}function n0(e){Ol(e)}function Zl(e,i){try{var a=e.onUncaughtError;a(i.value,{componentStack:i.stack})}catch(s){setTimeout(function(){throw s})}}function i0(e,i,a){try{var s=e.onCaughtError;s(a.value,{componentStack:a.stack,errorBoundary:i.tag===1?i.stateNode:null})}catch(f){setTimeout(function(){throw f})}}function od(e,i,a){return a=ar(a),a.tag=3,a.payload={element:null},a.callback=function(){Zl(e,i)},a}function r0(e){return e=ar(e),e.tag=3,e}function a0(e,i,a,s){var f=a.type.getDerivedStateFromError;if(typeof f=="function"){var p=s.value;e.payload=function(){return f(p)},e.callback=function(){i0(i,a,s)}}var v=a.stateNode;v!==null&&typeof v.componentDidCatch=="function"&&(e.callback=function(){i0(i,a,s),typeof f!="function"&&(dr===null?dr=new Set([this]):dr.add(this));var T=s.stack;this.componentDidCatch(s.value,{componentStack:T!==null?T:""})})}function pE(e,i,a,s,f){if(a.flags|=32768,s!==null&&typeof s=="object"&&typeof s.then=="function"){if(i=a.alternate,i!==null&&Oa(i,a,f,!0),a=Rn.current,a!==null){switch(a.tag){case 31:case 13:return $n===null?cu():a.alternate===null&&xe===0&&(xe=3),a.flags&=-257,a.flags|=65536,a.lanes=f,s===Ul?a.flags|=16384:(i=a.updateQueue,i===null?a.updateQueue=new Set([s]):i.add(s),zd(e,s,f)),!1;case 22:return a.flags|=65536,s===Ul?a.flags|=16384:(i=a.updateQueue,i===null?(i={transitions:null,markerInstances:null,retryQueue:new Set([s])},a.updateQueue=i):(a=i.retryQueue,a===null?i.retryQueue=new Set([s]):a.add(s)),zd(e,s,f)),!1}throw Error(o(435,a.tag))}return zd(e,s,f),cu(),!1}if(Lt)return i=Rn.current,i!==null?((i.flags&65536)===0&&(i.flags|=256),i.flags|=65536,i.lanes=f,s!==Af&&(e=Error(o(422),{cause:s}),$o(kn(e,a)))):(s!==Af&&(i=Error(o(423),{cause:s}),$o(kn(i,a))),e=e.current.alternate,e.flags|=65536,f&=-f,e.lanes|=f,s=kn(s,a),f=od(e.stateNode,s,f),Lf(e,f),xe!==4&&(xe=2)),!1;var p=Error(o(520),{cause:s});if(p=kn(p,a),os===null?os=[p]:os.push(p),xe!==4&&(xe=2),i===null)return!0;s=kn(s,a),a=i;do{switch(a.tag){case 3:return a.flags|=65536,e=f&-f,a.lanes|=e,e=od(a.stateNode,s,e),Lf(a,e),!1;case 1:if(i=a.type,p=a.stateNode,(a.flags&128)===0&&(typeof i.getDerivedStateFromError=="function"||p!==null&&typeof p.componentDidCatch=="function"&&(dr===null||!dr.has(p))))return a.flags|=65536,f&=-f,a.lanes|=f,f=r0(f),a0(f,e,a,s),Lf(a,f),!1}a=a.return}while(a!==null);return!1}var sd=Error(o(461)),ke=!1;function Qe(e,i,a,s){i.child=e===null?uy(i,null,a,s):Hr(i,e.child,a,s)}function o0(e,i,a,s,f){a=a.render;var p=i.ref;if("ref"in s){var v={};for(var T in s)T!=="ref"&&(v[T]=s[T])}else v=s;return Pr(i),s=Hf(e,i,a,v,p,f),T=Ff(),e!==null&&!ke?(qf(e,i,f),_i(e,i,f)):(Lt&&T&&Cf(i),i.flags|=1,Qe(e,i,s,f),i.child)}function s0(e,i,a,s,f){if(e===null){var p=a.type;return typeof p=="function"&&!Sf(p)&&p.defaultProps===void 0&&a.compare===null?(i.tag=15,i.type=p,l0(e,i,p,s,f)):(e=Nl(a.type,null,s,i,i.mode,f),e.ref=i.ref,e.return=i,i.child=e)}if(p=e.child,!md(e,f)){var v=p.memoizedProps;if(a=a.compare,a=a!==null?a:Po,a(v,s)&&e.ref===i.ref)return _i(e,i,f)}return i.flags|=1,e=Mi(p,s),e.ref=i.ref,e.return=i,i.child=e}function l0(e,i,a,s,f){if(e!==null){var p=e.memoizedProps;if(Po(p,s)&&e.ref===i.ref)if(ke=!1,i.pendingProps=s=p,md(e,f))(e.flags&131072)!==0&&(ke=!0);else return i.lanes=e.lanes,_i(e,i,f)}return ld(e,i,a,s,f)}function u0(e,i,a,s){var f=s.children,p=e!==null?e.memoizedState:null;if(e===null&&i.stateNode===null&&(i.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),s.mode==="hidden"){if((i.flags&128)!==0){if(p=p!==null?p.baseLanes|a:a,e!==null){for(s=i.child=e.child,f=0;s!==null;)f=f|s.lanes|s.childLanes,s=s.sibling;s=f&~p}else s=0,i.child=null;return c0(e,i,p,a,s)}if((a&536870912)!==0)i.memoizedState={baseLanes:0,cachePool:null},e!==null&&kl(i,p!==null?p.cachePool:null),p!==null?dy(i,p):Pf(),py(i);else return s=i.lanes=536870912,c0(e,i,p!==null?p.baseLanes|a:a,a,s)}else p!==null?(kl(i,p.cachePool),dy(i,p),lr(),i.memoizedState=null):(e!==null&&kl(i,null),Pf(),lr());return Qe(e,i,f,a),i.child}function Jo(e,i){return e!==null&&e.tag===22||i.stateNode!==null||(i.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),i.sibling}function c0(e,i,a,s,f){var p=Bf();return p=p===null?null:{parent:je._currentValue,pool:p},i.memoizedState={baseLanes:a,cachePool:p},e!==null&&kl(i,null),Pf(),py(i),e!==null&&Oa(e,i,s,!0),i.childLanes=f,null}function Jl(e,i){return i=eu({mode:i.mode,children:i.children},e.mode),i.ref=e.ref,e.child=i,i.return=e,i}function f0(e,i,a){return Hr(i,e.child,null,a),e=Jl(i,i.pendingProps),e.flags|=2,wn(i),i.memoizedState=null,e}function hE(e,i,a){var s=i.pendingProps,f=(i.flags&128)!==0;if(i.flags&=-129,e===null){if(Lt){if(s.mode==="hidden")return e=Jl(i,s),i.lanes=536870912,Jo(null,e);if(Vf(i),(e=ce)?(e=Cv(e,Vn),e=e!==null&&e.data==="&"?e:null,e!==null&&(i.memoizedState={dehydrated:e,treeContext:tr!==null?{id:ci,overflow:fi}:null,retryLane:536870912,hydrationErrors:null},a=Kg(e),a.return=i,i.child=a,Xe=i,ce=null)):e=null,e===null)throw nr(i);return i.lanes=536870912,null}return Jl(i,s)}var p=e.memoizedState;if(p!==null){var v=p.dehydrated;if(Vf(i),f)if(i.flags&256)i.flags&=-257,i=f0(e,i,a);else if(i.memoizedState!==null)i.child=e.child,i.flags|=128,i=null;else throw Error(o(558));else if(ke||Oa(e,i,a,!1),f=(a&e.childLanes)!==0,ke||f){if(s=se,s!==null&&(v=eg(s,a),v!==0&&v!==p.retryLane))throw p.retryLane=v,_r(e,v),yn(s,e,v),sd;cu(),i=f0(e,i,a)}else e=p.treeContext,ce=Hn(v.nextSibling),Xe=i,Lt=!0,er=null,Vn=!1,e!==null&&Qg(i,e),i=Jl(i,s),i.flags|=4096;return i}return e=Mi(e.child,{mode:s.mode,children:s.children}),e.ref=i.ref,i.child=e,e.return=i,e}function tu(e,i){var a=i.ref;if(a===null)e!==null&&e.ref!==null&&(i.flags|=4194816);else{if(typeof a!="function"&&typeof a!="object")throw Error(o(284));(e===null||e.ref!==a)&&(i.flags|=4194816)}}function ld(e,i,a,s,f){return Pr(i),a=Hf(e,i,a,s,void 0,f),s=Ff(),e!==null&&!ke?(qf(e,i,f),_i(e,i,f)):(Lt&&s&&Cf(i),i.flags|=1,Qe(e,i,a,f),i.child)}function d0(e,i,a,s,f,p){return Pr(i),i.updateQueue=null,a=my(i,s,a,f),hy(e),s=Ff(),e!==null&&!ke?(qf(e,i,p),_i(e,i,p)):(Lt&&s&&Cf(i),i.flags|=1,Qe(e,i,a,p),i.child)}function p0(e,i,a,s,f){if(Pr(i),i.stateNode===null){var p=Aa,v=a.contextType;typeof v=="object"&&v!==null&&(p=We(v)),p=new a(s,p),i.memoizedState=p.state!==null&&p.state!==void 0?p.state:null,p.updater=ad,i.stateNode=p,p._reactInternals=i,p=i.stateNode,p.props=s,p.state=i.memoizedState,p.refs={},_f(i),v=a.contextType,p.context=typeof v=="object"&&v!==null?We(v):Aa,p.state=i.memoizedState,v=a.getDerivedStateFromProps,typeof v=="function"&&(rd(i,a,v,s),p.state=i.memoizedState),typeof a.getDerivedStateFromProps=="function"||typeof p.getSnapshotBeforeUpdate=="function"||typeof p.UNSAFE_componentWillMount!="function"&&typeof p.componentWillMount!="function"||(v=p.state,typeof p.componentWillMount=="function"&&p.componentWillMount(),typeof p.UNSAFE_componentWillMount=="function"&&p.UNSAFE_componentWillMount(),v!==p.state&&ad.enqueueReplaceState(p,p.state,null),Ko(i,s,p,f),Yo(),p.state=i.memoizedState),typeof p.componentDidMount=="function"&&(i.flags|=4194308),s=!0}else if(e===null){p=i.stateNode;var T=i.memoizedProps,L=qr(a,T);p.props=L;var H=p.context,J=a.contextType;v=Aa,typeof J=="object"&&J!==null&&(v=We(J));var rt=a.getDerivedStateFromProps;J=typeof rt=="function"||typeof p.getSnapshotBeforeUpdate=="function",T=i.pendingProps!==T,J||typeof p.UNSAFE_componentWillReceiveProps!="function"&&typeof p.componentWillReceiveProps!="function"||(T||H!==v)&&Jy(i,p,s,v),rr=!1;var q=i.memoizedState;p.state=q,Ko(i,s,p,f),Yo(),H=i.memoizedState,T||q!==H||rr?(typeof rt=="function"&&(rd(i,a,rt,s),H=i.memoizedState),(L=rr||Zy(i,a,L,s,q,H,v))?(J||typeof p.UNSAFE_componentWillMount!="function"&&typeof p.componentWillMount!="function"||(typeof p.componentWillMount=="function"&&p.componentWillMount(),typeof p.UNSAFE_componentWillMount=="function"&&p.UNSAFE_componentWillMount()),typeof p.componentDidMount=="function"&&(i.flags|=4194308)):(typeof p.componentDidMount=="function"&&(i.flags|=4194308),i.memoizedProps=s,i.memoizedState=H),p.props=s,p.state=H,p.context=v,s=L):(typeof p.componentDidMount=="function"&&(i.flags|=4194308),s=!1)}else{p=i.stateNode,jf(e,i),v=i.memoizedProps,J=qr(a,v),p.props=J,rt=i.pendingProps,q=p.context,H=a.contextType,L=Aa,typeof H=="object"&&H!==null&&(L=We(H)),T=a.getDerivedStateFromProps,(H=typeof T=="function"||typeof p.getSnapshotBeforeUpdate=="function")||typeof p.UNSAFE_componentWillReceiveProps!="function"&&typeof p.componentWillReceiveProps!="function"||(v!==rt||q!==L)&&Jy(i,p,s,L),rr=!1,q=i.memoizedState,p.state=q,Ko(i,s,p,f),Yo();var X=i.memoizedState;v!==rt||q!==X||rr||e!==null&&e.dependencies!==null&&jl(e.dependencies)?(typeof T=="function"&&(rd(i,a,T,s),X=i.memoizedState),(J=rr||Zy(i,a,J,s,q,X,L)||e!==null&&e.dependencies!==null&&jl(e.dependencies))?(H||typeof p.UNSAFE_componentWillUpdate!="function"&&typeof p.componentWillUpdate!="function"||(typeof p.componentWillUpdate=="function"&&p.componentWillUpdate(s,X,L),typeof p.UNSAFE_componentWillUpdate=="function"&&p.UNSAFE_componentWillUpdate(s,X,L)),typeof p.componentDidUpdate=="function"&&(i.flags|=4),typeof p.getSnapshotBeforeUpdate=="function"&&(i.flags|=1024)):(typeof p.componentDidUpdate!="function"||v===e.memoizedProps&&q===e.memoizedState||(i.flags|=4),typeof p.getSnapshotBeforeUpdate!="function"||v===e.memoizedProps&&q===e.memoizedState||(i.flags|=1024),i.memoizedProps=s,i.memoizedState=X),p.props=s,p.state=X,p.context=L,s=J):(typeof p.componentDidUpdate!="function"||v===e.memoizedProps&&q===e.memoizedState||(i.flags|=4),typeof p.getSnapshotBeforeUpdate!="function"||v===e.memoizedProps&&q===e.memoizedState||(i.flags|=1024),s=!1)}return p=s,tu(e,i),s=(i.flags&128)!==0,p||s?(p=i.stateNode,a=s&&typeof a.getDerivedStateFromError!="function"?null:p.render(),i.flags|=1,e!==null&&s?(i.child=Hr(i,e.child,null,f),i.child=Hr(i,null,a,f)):Qe(e,i,a,f),i.memoizedState=p.state,e=i.child):e=_i(e,i,f),e}function h0(e,i,a,s){return Lr(),i.flags|=256,Qe(e,i,a,s),i.child}var ud={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function cd(e){return{baseLanes:e,cachePool:iy()}}function fd(e,i,a){return e=e!==null?e.childLanes&~a:0,i&&(e|=On),e}function m0(e,i,a){var s=i.pendingProps,f=!1,p=(i.flags&128)!==0,v;if((v=p)||(v=e!==null&&e.memoizedState===null?!1:(Oe.current&2)!==0),v&&(f=!0,i.flags&=-129),v=(i.flags&32)!==0,i.flags&=-33,e===null){if(Lt){if(f?sr(i):lr(),(e=ce)?(e=Cv(e,Vn),e=e!==null&&e.data!=="&"?e:null,e!==null&&(i.memoizedState={dehydrated:e,treeContext:tr!==null?{id:ci,overflow:fi}:null,retryLane:536870912,hydrationErrors:null},a=Kg(e),a.return=i,i.child=a,Xe=i,ce=null)):e=null,e===null)throw nr(i);return Yd(e)?i.lanes=32:i.lanes=536870912,null}var T=s.children;return s=s.fallback,f?(lr(),f=i.mode,T=eu({mode:"hidden",children:T},f),s=jr(s,f,a,null),T.return=i,s.return=i,T.sibling=s,i.child=T,s=i.child,s.memoizedState=cd(a),s.childLanes=fd(e,v,a),i.memoizedState=ud,Jo(null,s)):(sr(i),dd(i,T))}var L=e.memoizedState;if(L!==null&&(T=L.dehydrated,T!==null)){if(p)i.flags&256?(sr(i),i.flags&=-257,i=pd(e,i,a)):i.memoizedState!==null?(lr(),i.child=e.child,i.flags|=128,i=null):(lr(),T=s.fallback,f=i.mode,s=eu({mode:"visible",children:s.children},f),T=jr(T,f,a,null),T.flags|=2,s.return=i,T.return=i,s.sibling=T,i.child=s,Hr(i,e.child,null,a),s=i.child,s.memoizedState=cd(a),s.childLanes=fd(e,v,a),i.memoizedState=ud,i=Jo(null,s));else if(sr(i),Yd(T)){if(v=T.nextSibling&&T.nextSibling.dataset,v)var H=v.dgst;v=H,s=Error(o(419)),s.stack="",s.digest=v,$o({value:s,source:null,stack:null}),i=pd(e,i,a)}else if(ke||Oa(e,i,a,!1),v=(a&e.childLanes)!==0,ke||v){if(v=se,v!==null&&(s=eg(v,a),s!==0&&s!==L.retryLane))throw L.retryLane=s,_r(e,s),yn(v,e,s),sd;Gd(T)||cu(),i=pd(e,i,a)}else Gd(T)?(i.flags|=192,i.child=e.child,i=null):(e=L.treeContext,ce=Hn(T.nextSibling),Xe=i,Lt=!0,er=null,Vn=!1,e!==null&&Qg(i,e),i=dd(i,s.children),i.flags|=4096);return i}return f?(lr(),T=s.fallback,f=i.mode,L=e.child,H=L.sibling,s=Mi(L,{mode:"hidden",children:s.children}),s.subtreeFlags=L.subtreeFlags&65011712,H!==null?T=Mi(H,T):(T=jr(T,f,a,null),T.flags|=2),T.return=i,s.return=i,s.sibling=T,i.child=s,Jo(null,s),s=i.child,T=e.child.memoizedState,T===null?T=cd(a):(f=T.cachePool,f!==null?(L=je._currentValue,f=f.parent!==L?{parent:L,pool:L}:f):f=iy(),T={baseLanes:T.baseLanes|a,cachePool:f}),s.memoizedState=T,s.childLanes=fd(e,v,a),i.memoizedState=ud,Jo(e.child,s)):(sr(i),a=e.child,e=a.sibling,a=Mi(a,{mode:"visible",children:s.children}),a.return=i,a.sibling=null,e!==null&&(v=i.deletions,v===null?(i.deletions=[e],i.flags|=16):v.push(e)),i.child=a,i.memoizedState=null,a)}function dd(e,i){return i=eu({mode:"visible",children:i},e.mode),i.return=e,e.child=i}function eu(e,i){return e=An(22,e,null,i),e.lanes=0,e}function pd(e,i,a){return Hr(i,e.child,null,a),e=dd(i,i.pendingProps.children),e.flags|=2,i.memoizedState=null,e}function g0(e,i,a){e.lanes|=i;var s=e.alternate;s!==null&&(s.lanes|=i),Mf(e.return,i,a)}function hd(e,i,a,s,f,p){var v=e.memoizedState;v===null?e.memoizedState={isBackwards:i,rendering:null,renderingStartTime:0,last:s,tail:a,tailMode:f,treeForkCount:p}:(v.isBackwards=i,v.rendering=null,v.renderingStartTime=0,v.last=s,v.tail=a,v.tailMode=f,v.treeForkCount=p)}function y0(e,i,a){var s=i.pendingProps,f=s.revealOrder,p=s.tail;s=s.children;var v=Oe.current,T=(v&2)!==0;if(T?(v=v&1|2,i.flags|=128):v&=1,ot(Oe,v),Qe(e,i,s,a),s=Lt?Vo:0,!T&&e!==null&&(e.flags&128)!==0)t:for(e=i.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&g0(e,a,i);else if(e.tag===19)g0(e,a,i);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===i)break t;for(;e.sibling===null;){if(e.return===null||e.return===i)break t;e=e.return}e.sibling.return=e.return,e=e.sibling}switch(f){case"forwards":for(a=i.child,f=null;a!==null;)e=a.alternate,e!==null&&Fl(e)===null&&(f=a),a=a.sibling;a=f,a===null?(f=i.child,i.child=null):(f=a.sibling,a.sibling=null),hd(i,!1,f,a,p,s);break;case"backwards":case"unstable_legacy-backwards":for(a=null,f=i.child,i.child=null;f!==null;){if(e=f.alternate,e!==null&&Fl(e)===null){i.child=f;break}e=f.sibling,f.sibling=a,a=f,f=e}hd(i,!0,a,null,p,s);break;case"together":hd(i,!1,null,null,void 0,s);break;default:i.memoizedState=null}return i.child}function _i(e,i,a){if(e!==null&&(i.dependencies=e.dependencies),fr|=i.lanes,(a&i.childLanes)===0)if(e!==null){if(Oa(e,i,a,!1),(a&i.childLanes)===0)return null}else return null;if(e!==null&&i.child!==e.child)throw Error(o(153));if(i.child!==null){for(e=i.child,a=Mi(e,e.pendingProps),i.child=a,a.return=i;e.sibling!==null;)e=e.sibling,a=a.sibling=Mi(e,e.pendingProps),a.return=i;a.sibling=null}return i.child}function md(e,i){return(e.lanes&i)!==0?!0:(e=e.dependencies,!!(e!==null&&jl(e)))}function mE(e,i,a){switch(i.tag){case 3:Pt(i,i.stateNode.containerInfo),ir(i,je,e.memoizedState.cache),Lr();break;case 27:case 5:St(i);break;case 4:Pt(i,i.stateNode.containerInfo);break;case 10:ir(i,i.type,i.memoizedProps.value);break;case 31:if(i.memoizedState!==null)return i.flags|=128,Vf(i),null;break;case 13:var s=i.memoizedState;if(s!==null)return s.dehydrated!==null?(sr(i),i.flags|=128,null):(a&i.child.childLanes)!==0?m0(e,i,a):(sr(i),e=_i(e,i,a),e!==null?e.sibling:null);sr(i);break;case 19:var f=(e.flags&128)!==0;if(s=(a&i.childLanes)!==0,s||(Oa(e,i,a,!1),s=(a&i.childLanes)!==0),f){if(s)return y0(e,i,a);i.flags|=128}if(f=i.memoizedState,f!==null&&(f.rendering=null,f.tail=null,f.lastEffect=null),ot(Oe,Oe.current),s)break;return null;case 22:return i.lanes=0,u0(e,i,a,i.pendingProps);case 24:ir(i,je,e.memoizedState.cache)}return _i(e,i,a)}function v0(e,i,a){if(e!==null)if(e.memoizedProps!==i.pendingProps)ke=!0;else{if(!md(e,a)&&(i.flags&128)===0)return ke=!1,mE(e,i,a);ke=(e.flags&131072)!==0}else ke=!1,Lt&&(i.flags&1048576)!==0&&Wg(i,Vo,i.index);switch(i.lanes=0,i.tag){case 16:t:{var s=i.pendingProps;if(e=Vr(i.elementType),i.type=e,typeof e=="function")Sf(e)?(s=qr(e,s),i.tag=1,i=p0(null,i,e,s,a)):(i.tag=0,i=ld(null,i,e,s,a));else{if(e!=null){var f=e.$$typeof;if(f===O){i.tag=11,i=o0(null,i,e,s,a);break t}else if(f===k){i.tag=14,i=s0(null,i,e,s,a);break t}}throw i=G(e)||e,Error(o(306,i,""))}}return i;case 0:return ld(e,i,i.type,i.pendingProps,a);case 1:return s=i.type,f=qr(s,i.pendingProps),p0(e,i,s,f,a);case 3:t:{if(Pt(i,i.stateNode.containerInfo),e===null)throw Error(o(387));s=i.pendingProps;var p=i.memoizedState;f=p.element,jf(e,i),Ko(i,s,null,a);var v=i.memoizedState;if(s=v.cache,ir(i,je,s),s!==p.cache&&Of(i,[je],a,!0),Yo(),s=v.element,p.isDehydrated)if(p={element:s,isDehydrated:!1,cache:v.cache},i.updateQueue.baseState=p,i.memoizedState=p,i.flags&256){i=h0(e,i,s,a);break t}else if(s!==f){f=kn(Error(o(424)),i),$o(f),i=h0(e,i,s,a);break t}else{switch(e=i.stateNode.containerInfo,e.nodeType){case 9:e=e.body;break;default:e=e.nodeName==="HTML"?e.ownerDocument.body:e}for(ce=Hn(e.firstChild),Xe=i,Lt=!0,er=null,Vn=!0,a=uy(i,null,s,a),i.child=a;a;)a.flags=a.flags&-3|4096,a=a.sibling}else{if(Lr(),s===f){i=_i(e,i,a);break t}Qe(e,i,s,a)}i=i.child}return i;case 26:return tu(e,i),e===null?(a=Ov(i.type,null,i.pendingProps,null))?i.memoizedState=a:Lt||(a=i.type,e=i.pendingProps,s=yu(yt.current).createElement(a),s[Ke]=i,s[fn]=e,Ze(s,a,e),Ie(s),i.stateNode=s):i.memoizedState=Ov(i.type,e.memoizedProps,i.pendingProps,e.memoizedState),null;case 27:return St(i),e===null&&Lt&&(s=i.stateNode=Rv(i.type,i.pendingProps,yt.current),Xe=i,Vn=!0,f=ce,gr(i.type)?(Kd=f,ce=Hn(s.firstChild)):ce=f),Qe(e,i,i.pendingProps.children,a),tu(e,i),e===null&&(i.flags|=4194304),i.child;case 5:return e===null&&Lt&&((f=s=ce)&&(s=IE(s,i.type,i.pendingProps,Vn),s!==null?(i.stateNode=s,Xe=i,ce=Hn(s.firstChild),Vn=!1,f=!0):f=!1),f||nr(i)),St(i),f=i.type,p=i.pendingProps,v=e!==null?e.memoizedProps:null,s=p.children,Fd(f,p)?s=null:v!==null&&Fd(f,v)&&(i.flags|=32),i.memoizedState!==null&&(f=Hf(e,i,oE,null,null,a),hs._currentValue=f),tu(e,i),Qe(e,i,s,a),i.child;case 6:return e===null&&Lt&&((e=a=ce)&&(a=GE(a,i.pendingProps,Vn),a!==null?(i.stateNode=a,Xe=i,ce=null,e=!0):e=!1),e||nr(i)),null;case 13:return m0(e,i,a);case 4:return Pt(i,i.stateNode.containerInfo),s=i.pendingProps,e===null?i.child=Hr(i,null,s,a):Qe(e,i,s,a),i.child;case 11:return o0(e,i,i.type,i.pendingProps,a);case 7:return Qe(e,i,i.pendingProps,a),i.child;case 8:return Qe(e,i,i.pendingProps.children,a),i.child;case 12:return Qe(e,i,i.pendingProps.children,a),i.child;case 10:return s=i.pendingProps,ir(i,i.type,s.value),Qe(e,i,s.children,a),i.child;case 9:return f=i.type._context,s=i.pendingProps.children,Pr(i),f=We(f),s=s(f),i.flags|=1,Qe(e,i,s,a),i.child;case 14:return s0(e,i,i.type,i.pendingProps,a);case 15:return l0(e,i,i.type,i.pendingProps,a);case 19:return y0(e,i,a);case 31:return hE(e,i,a);case 22:return u0(e,i,a,i.pendingProps);case 24:return Pr(i),s=We(je),e===null?(f=Bf(),f===null&&(f=se,p=Df(),f.pooledCache=p,p.refCount++,p!==null&&(f.pooledCacheLanes|=a),f=p),i.memoizedState={parent:s,cache:f},_f(i),ir(i,je,f)):((e.lanes&a)!==0&&(jf(e,i),Ko(i,null,null,a),Yo()),f=e.memoizedState,p=i.memoizedState,f.parent!==s?(f={parent:s,cache:s},i.memoizedState=f,i.lanes===0&&(i.memoizedState=i.updateQueue.baseState=f),ir(i,je,s)):(s=p.cache,ir(i,je,s),s!==f.cache&&Of(i,[je],a,!0))),Qe(e,i,i.pendingProps.children,a),i.child;case 29:throw i.pendingProps}throw Error(o(156,i.tag))}function ji(e){e.flags|=4}function gd(e,i,a,s,f){if((i=(e.mode&32)!==0)&&(i=!1),i){if(e.flags|=16777216,(f&335544128)===f)if(e.stateNode.complete)e.flags|=8192;else if(I0())e.flags|=8192;else throw $r=Ul,Nf}else e.flags&=-16777217}function b0(e,i){if(i.type!=="stylesheet"||(i.state.loading&4)!==0)e.flags&=-16777217;else if(e.flags|=16777216,!_v(i))if(I0())e.flags|=8192;else throw $r=Ul,Nf}function nu(e,i){i!==null&&(e.flags|=4),e.flags&16384&&(i=e.tag!==22?Zm():536870912,e.lanes|=i,$a|=i)}function ts(e,i){if(!Lt)switch(e.tailMode){case"hidden":i=e.tail;for(var a=null;i!==null;)i.alternate!==null&&(a=i),i=i.sibling;a===null?e.tail=null:a.sibling=null;break;case"collapsed":a=e.tail;for(var s=null;a!==null;)a.alternate!==null&&(s=a),a=a.sibling;s===null?i||e.tail===null?e.tail=null:e.tail.sibling=null:s.sibling=null}}function fe(e){var i=e.alternate!==null&&e.alternate.child===e.child,a=0,s=0;if(i)for(var f=e.child;f!==null;)a|=f.lanes|f.childLanes,s|=f.subtreeFlags&65011712,s|=f.flags&65011712,f.return=e,f=f.sibling;else for(f=e.child;f!==null;)a|=f.lanes|f.childLanes,s|=f.subtreeFlags,s|=f.flags,f.return=e,f=f.sibling;return e.subtreeFlags|=s,e.childLanes=a,i}function gE(e,i,a){var s=i.pendingProps;switch(Ef(i),i.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return fe(i),null;case 1:return fe(i),null;case 3:return a=i.stateNode,s=null,e!==null&&(s=e.memoizedState.cache),i.memoizedState.cache!==s&&(i.flags|=2048),zi(je),xt(),a.pendingContext&&(a.context=a.pendingContext,a.pendingContext=null),(e===null||e.child===null)&&(Ma(i)?ji(i):e===null||e.memoizedState.isDehydrated&&(i.flags&256)===0||(i.flags|=1024,Rf())),fe(i),null;case 26:var f=i.type,p=i.memoizedState;return e===null?(ji(i),p!==null?(fe(i),b0(i,p)):(fe(i),gd(i,f,null,s,a))):p?p!==e.memoizedState?(ji(i),fe(i),b0(i,p)):(fe(i),i.flags&=-16777217):(e=e.memoizedProps,e!==s&&ji(i),fe(i),gd(i,f,e,s,a)),null;case 27:if(Dt(i),a=yt.current,f=i.type,e!==null&&i.stateNode!=null)e.memoizedProps!==s&&ji(i);else{if(!s){if(i.stateNode===null)throw Error(o(166));return fe(i),null}e=st.current,Ma(i)?Zg(i):(e=Rv(f,s,a),i.stateNode=e,ji(i))}return fe(i),null;case 5:if(Dt(i),f=i.type,e!==null&&i.stateNode!=null)e.memoizedProps!==s&&ji(i);else{if(!s){if(i.stateNode===null)throw Error(o(166));return fe(i),null}if(p=st.current,Ma(i))Zg(i);else{var v=yu(yt.current);switch(p){case 1:p=v.createElementNS("http://www.w3.org/2000/svg",f);break;case 2:p=v.createElementNS("http://www.w3.org/1998/Math/MathML",f);break;default:switch(f){case"svg":p=v.createElementNS("http://www.w3.org/2000/svg",f);break;case"math":p=v.createElementNS("http://www.w3.org/1998/Math/MathML",f);break;case"script":p=v.createElement("div"),p.innerHTML="<script><\/script>",p=p.removeChild(p.firstChild);break;case"select":p=typeof s.is=="string"?v.createElement("select",{is:s.is}):v.createElement("select"),s.multiple?p.multiple=!0:s.size&&(p.size=s.size);break;default:p=typeof s.is=="string"?v.createElement(f,{is:s.is}):v.createElement(f)}}p[Ke]=i,p[fn]=s;t:for(v=i.child;v!==null;){if(v.tag===5||v.tag===6)p.appendChild(v.stateNode);else if(v.tag!==4&&v.tag!==27&&v.child!==null){v.child.return=v,v=v.child;continue}if(v===i)break t;for(;v.sibling===null;){if(v.return===null||v.return===i)break t;v=v.return}v.sibling.return=v.return,v=v.sibling}i.stateNode=p;t:switch(Ze(p,f,s),f){case"button":case"input":case"select":case"textarea":s=!!s.autoFocus;break t;case"img":s=!0;break t;default:s=!1}s&&ji(i)}}return fe(i),gd(i,i.type,e===null?null:e.memoizedProps,i.pendingProps,a),null;case 6:if(e&&i.stateNode!=null)e.memoizedProps!==s&&ji(i);else{if(typeof s!="string"&&i.stateNode===null)throw Error(o(166));if(e=yt.current,Ma(i)){if(e=i.stateNode,a=i.memoizedProps,s=null,f=Xe,f!==null)switch(f.tag){case 27:case 5:s=f.memoizedProps}e[Ke]=i,e=!!(e.nodeValue===a||s!==null&&s.suppressHydrationWarning===!0||mv(e.nodeValue,a)),e||nr(i,!0)}else e=yu(e).createTextNode(s),e[Ke]=i,i.stateNode=e}return fe(i),null;case 31:if(a=i.memoizedState,e===null||e.memoizedState!==null){if(s=Ma(i),a!==null){if(e===null){if(!s)throw Error(o(318));if(e=i.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(o(557));e[Ke]=i}else Lr(),(i.flags&128)===0&&(i.memoizedState=null),i.flags|=4;fe(i),e=!1}else a=Rf(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=a),e=!0;if(!e)return i.flags&256?(wn(i),i):(wn(i),null);if((i.flags&128)!==0)throw Error(o(558))}return fe(i),null;case 13:if(s=i.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(f=Ma(i),s!==null&&s.dehydrated!==null){if(e===null){if(!f)throw Error(o(318));if(f=i.memoizedState,f=f!==null?f.dehydrated:null,!f)throw Error(o(317));f[Ke]=i}else Lr(),(i.flags&128)===0&&(i.memoizedState=null),i.flags|=4;fe(i),f=!1}else f=Rf(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=f),f=!0;if(!f)return i.flags&256?(wn(i),i):(wn(i),null)}return wn(i),(i.flags&128)!==0?(i.lanes=a,i):(a=s!==null,e=e!==null&&e.memoizedState!==null,a&&(s=i.child,f=null,s.alternate!==null&&s.alternate.memoizedState!==null&&s.alternate.memoizedState.cachePool!==null&&(f=s.alternate.memoizedState.cachePool.pool),p=null,s.memoizedState!==null&&s.memoizedState.cachePool!==null&&(p=s.memoizedState.cachePool.pool),p!==f&&(s.flags|=2048)),a!==e&&a&&(i.child.flags|=8192),nu(i,i.updateQueue),fe(i),null);case 4:return xt(),e===null&&Pd(i.stateNode.containerInfo),fe(i),null;case 10:return zi(i.type),fe(i),null;case 19:if(I(Oe),s=i.memoizedState,s===null)return fe(i),null;if(f=(i.flags&128)!==0,p=s.rendering,p===null)if(f)ts(s,!1);else{if(xe!==0||e!==null&&(e.flags&128)!==0)for(e=i.child;e!==null;){if(p=Fl(e),p!==null){for(i.flags|=128,ts(s,!1),e=p.updateQueue,i.updateQueue=e,nu(i,e),i.subtreeFlags=0,e=a,a=i.child;a!==null;)Yg(a,e),a=a.sibling;return ot(Oe,Oe.current&1|2),Lt&&Oi(i,s.treeForkCount),i.child}e=e.sibling}s.tail!==null&&kt()>su&&(i.flags|=128,f=!0,ts(s,!1),i.lanes=4194304)}else{if(!f)if(e=Fl(p),e!==null){if(i.flags|=128,f=!0,e=e.updateQueue,i.updateQueue=e,nu(i,e),ts(s,!0),s.tail===null&&s.tailMode==="hidden"&&!p.alternate&&!Lt)return fe(i),null}else 2*kt()-s.renderingStartTime>su&&a!==536870912&&(i.flags|=128,f=!0,ts(s,!1),i.lanes=4194304);s.isBackwards?(p.sibling=i.child,i.child=p):(e=s.last,e!==null?e.sibling=p:i.child=p,s.last=p)}return s.tail!==null?(e=s.tail,s.rendering=e,s.tail=e.sibling,s.renderingStartTime=kt(),e.sibling=null,a=Oe.current,ot(Oe,f?a&1|2:a&1),Lt&&Oi(i,s.treeForkCount),e):(fe(i),null);case 22:case 23:return wn(i),Uf(),s=i.memoizedState!==null,e!==null?e.memoizedState!==null!==s&&(i.flags|=8192):s&&(i.flags|=8192),s?(a&536870912)!==0&&(i.flags&128)===0&&(fe(i),i.subtreeFlags&6&&(i.flags|=8192)):fe(i),a=i.updateQueue,a!==null&&nu(i,a.retryQueue),a=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(a=e.memoizedState.cachePool.pool),s=null,i.memoizedState!==null&&i.memoizedState.cachePool!==null&&(s=i.memoizedState.cachePool.pool),s!==a&&(i.flags|=2048),e!==null&&I(Ur),null;case 24:return a=null,e!==null&&(a=e.memoizedState.cache),i.memoizedState.cache!==a&&(i.flags|=2048),zi(je),fe(i),null;case 25:return null;case 30:return null}throw Error(o(156,i.tag))}function yE(e,i){switch(Ef(i),i.tag){case 1:return e=i.flags,e&65536?(i.flags=e&-65537|128,i):null;case 3:return zi(je),xt(),e=i.flags,(e&65536)!==0&&(e&128)===0?(i.flags=e&-65537|128,i):null;case 26:case 27:case 5:return Dt(i),null;case 31:if(i.memoizedState!==null){if(wn(i),i.alternate===null)throw Error(o(340));Lr()}return e=i.flags,e&65536?(i.flags=e&-65537|128,i):null;case 13:if(wn(i),e=i.memoizedState,e!==null&&e.dehydrated!==null){if(i.alternate===null)throw Error(o(340));Lr()}return e=i.flags,e&65536?(i.flags=e&-65537|128,i):null;case 19:return I(Oe),null;case 4:return xt(),null;case 10:return zi(i.type),null;case 22:case 23:return wn(i),Uf(),e!==null&&I(Ur),e=i.flags,e&65536?(i.flags=e&-65537|128,i):null;case 24:return zi(je),null;case 25:return null;default:return null}}function S0(e,i){switch(Ef(i),i.tag){case 3:zi(je),xt();break;case 26:case 27:case 5:Dt(i);break;case 4:xt();break;case 31:i.memoizedState!==null&&wn(i);break;case 13:wn(i);break;case 19:I(Oe);break;case 10:zi(i.type);break;case 22:case 23:wn(i),Uf(),e!==null&&I(Ur);break;case 24:zi(je)}}function es(e,i){try{var a=i.updateQueue,s=a!==null?a.lastEffect:null;if(s!==null){var f=s.next;a=f;do{if((a.tag&e)===e){s=void 0;var p=a.create,v=a.inst;s=p(),v.destroy=s}a=a.next}while(a!==f)}}catch(T){Kt(i,i.return,T)}}function ur(e,i,a){try{var s=i.updateQueue,f=s!==null?s.lastEffect:null;if(f!==null){var p=f.next;s=p;do{if((s.tag&e)===e){var v=s.inst,T=v.destroy;if(T!==void 0){v.destroy=void 0,f=i;var L=a,H=T;try{H()}catch(J){Kt(f,L,J)}}}s=s.next}while(s!==p)}}catch(J){Kt(i,i.return,J)}}function x0(e){var i=e.updateQueue;if(i!==null){var a=e.stateNode;try{fy(i,a)}catch(s){Kt(e,e.return,s)}}}function T0(e,i,a){a.props=qr(e.type,e.memoizedProps),a.state=e.memoizedState;try{a.componentWillUnmount()}catch(s){Kt(e,i,s)}}function ns(e,i){try{var a=e.ref;if(a!==null){switch(e.tag){case 26:case 27:case 5:var s=e.stateNode;break;case 30:s=e.stateNode;break;default:s=e.stateNode}typeof a=="function"?e.refCleanup=a(s):a.current=s}}catch(f){Kt(e,i,f)}}function di(e,i){var a=e.ref,s=e.refCleanup;if(a!==null)if(typeof s=="function")try{s()}catch(f){Kt(e,i,f)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof a=="function")try{a(null)}catch(f){Kt(e,i,f)}else a.current=null}function C0(e){var i=e.type,a=e.memoizedProps,s=e.stateNode;try{t:switch(i){case"button":case"input":case"select":case"textarea":a.autoFocus&&s.focus();break t;case"img":a.src?s.src=a.src:a.srcSet&&(s.srcset=a.srcSet)}}catch(f){Kt(e,e.return,f)}}function yd(e,i,a){try{var s=e.stateNode;UE(s,e.type,a,i),s[fn]=i}catch(f){Kt(e,e.return,f)}}function E0(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&gr(e.type)||e.tag===4}function vd(e){t:for(;;){for(;e.sibling===null;){if(e.return===null||E0(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.tag===27&&gr(e.type)||e.flags&2||e.child===null||e.tag===4)continue t;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function bd(e,i,a){var s=e.tag;if(s===5||s===6)e=e.stateNode,i?(a.nodeType===9?a.body:a.nodeName==="HTML"?a.ownerDocument.body:a).insertBefore(e,i):(i=a.nodeType===9?a.body:a.nodeName==="HTML"?a.ownerDocument.body:a,i.appendChild(e),a=a._reactRootContainer,a!=null||i.onclick!==null||(i.onclick=Ri));else if(s!==4&&(s===27&&gr(e.type)&&(a=e.stateNode,i=null),e=e.child,e!==null))for(bd(e,i,a),e=e.sibling;e!==null;)bd(e,i,a),e=e.sibling}function iu(e,i,a){var s=e.tag;if(s===5||s===6)e=e.stateNode,i?a.insertBefore(e,i):a.appendChild(e);else if(s!==4&&(s===27&&gr(e.type)&&(a=e.stateNode),e=e.child,e!==null))for(iu(e,i,a),e=e.sibling;e!==null;)iu(e,i,a),e=e.sibling}function A0(e){var i=e.stateNode,a=e.memoizedProps;try{for(var s=e.type,f=i.attributes;f.length;)i.removeAttributeNode(f[0]);Ze(i,s,a),i[Ke]=e,i[fn]=a}catch(p){Kt(e,e.return,p)}}var Li=!1,Pe=!1,Sd=!1,R0=typeof WeakSet=="function"?WeakSet:Set,Ge=null;function vE(e,i){if(e=e.containerInfo,$d=Eu,e=Pg(e),pf(e)){if("selectionStart"in e)var a={start:e.selectionStart,end:e.selectionEnd};else t:{a=(a=e.ownerDocument)&&a.defaultView||window;var s=a.getSelection&&a.getSelection();if(s&&s.rangeCount!==0){a=s.anchorNode;var f=s.anchorOffset,p=s.focusNode;s=s.focusOffset;try{a.nodeType,p.nodeType}catch{a=null;break t}var v=0,T=-1,L=-1,H=0,J=0,rt=e,q=null;e:for(;;){for(var X;rt!==a||f!==0&&rt.nodeType!==3||(T=v+f),rt!==p||s!==0&&rt.nodeType!==3||(L=v+s),rt.nodeType===3&&(v+=rt.nodeValue.length),(X=rt.firstChild)!==null;)q=rt,rt=X;for(;;){if(rt===e)break e;if(q===a&&++H===f&&(T=v),q===p&&++J===s&&(L=v),(X=rt.nextSibling)!==null)break;rt=q,q=rt.parentNode}rt=X}a=T===-1||L===-1?null:{start:T,end:L}}else a=null}a=a||{start:0,end:0}}else a=null;for(Hd={focusedElem:e,selectionRange:a},Eu=!1,Ge=i;Ge!==null;)if(i=Ge,e=i.child,(i.subtreeFlags&1028)!==0&&e!==null)e.return=i,Ge=e;else for(;Ge!==null;){switch(i=Ge,p=i.alternate,e=i.flags,i.tag){case 0:if((e&4)!==0&&(e=i.updateQueue,e=e!==null?e.events:null,e!==null))for(a=0;a<e.length;a++)f=e[a],f.ref.impl=f.nextImpl;break;case 11:case 15:break;case 1:if((e&1024)!==0&&p!==null){e=void 0,a=i,f=p.memoizedProps,p=p.memoizedState,s=a.stateNode;try{var ct=qr(a.type,f);e=s.getSnapshotBeforeUpdate(ct,p),s.__reactInternalSnapshotBeforeUpdate=e}catch(vt){Kt(a,a.return,vt)}}break;case 3:if((e&1024)!==0){if(e=i.stateNode.containerInfo,a=e.nodeType,a===9)Id(e);else if(a===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":Id(e);break;default:e.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((e&1024)!==0)throw Error(o(163))}if(e=i.sibling,e!==null){e.return=i.return,Ge=e;break}Ge=i.return}}function w0(e,i,a){var s=a.flags;switch(a.tag){case 0:case 11:case 15:Pi(e,a),s&4&&es(5,a);break;case 1:if(Pi(e,a),s&4)if(e=a.stateNode,i===null)try{e.componentDidMount()}catch(v){Kt(a,a.return,v)}else{var f=qr(a.type,i.memoizedProps);i=i.memoizedState;try{e.componentDidUpdate(f,i,e.__reactInternalSnapshotBeforeUpdate)}catch(v){Kt(a,a.return,v)}}s&64&&x0(a),s&512&&ns(a,a.return);break;case 3:if(Pi(e,a),s&64&&(e=a.updateQueue,e!==null)){if(i=null,a.child!==null)switch(a.child.tag){case 27:case 5:i=a.child.stateNode;break;case 1:i=a.child.stateNode}try{fy(e,i)}catch(v){Kt(a,a.return,v)}}break;case 27:i===null&&s&4&&A0(a);case 26:case 5:Pi(e,a),i===null&&s&4&&C0(a),s&512&&ns(a,a.return);break;case 12:Pi(e,a);break;case 31:Pi(e,a),s&4&&D0(e,a);break;case 13:Pi(e,a),s&4&&z0(e,a),s&64&&(e=a.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(a=wE.bind(null,a),YE(e,a))));break;case 22:if(s=a.memoizedState!==null||Li,!s){i=i!==null&&i.memoizedState!==null||Pe,f=Li;var p=Pe;Li=s,(Pe=i)&&!p?Ui(e,a,(a.subtreeFlags&8772)!==0):Pi(e,a),Li=f,Pe=p}break;case 30:break;default:Pi(e,a)}}function M0(e){var i=e.alternate;i!==null&&(e.alternate=null,M0(i)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(i=e.stateNode,i!==null&&Xc(i)),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}var he=null,pn=!1;function ki(e,i,a){for(a=a.child;a!==null;)O0(e,i,a),a=a.sibling}function O0(e,i,a){if(nn&&typeof nn.onCommitFiberUnmount=="function")try{nn.onCommitFiberUnmount(ui,a)}catch{}switch(a.tag){case 26:Pe||di(a,i),ki(e,i,a),a.memoizedState?a.memoizedState.count--:a.stateNode&&(a=a.stateNode,a.parentNode.removeChild(a));break;case 27:Pe||di(a,i);var s=he,f=pn;gr(a.type)&&(he=a.stateNode,pn=!1),ki(e,i,a),fs(a.stateNode),he=s,pn=f;break;case 5:Pe||di(a,i);case 6:if(s=he,f=pn,he=null,ki(e,i,a),he=s,pn=f,he!==null)if(pn)try{(he.nodeType===9?he.body:he.nodeName==="HTML"?he.ownerDocument.body:he).removeChild(a.stateNode)}catch(p){Kt(a,i,p)}else try{he.removeChild(a.stateNode)}catch(p){Kt(a,i,p)}break;case 18:he!==null&&(pn?(e=he,xv(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,a.stateNode),Xa(e)):xv(he,a.stateNode));break;case 4:s=he,f=pn,he=a.stateNode.containerInfo,pn=!0,ki(e,i,a),he=s,pn=f;break;case 0:case 11:case 14:case 15:ur(2,a,i),Pe||ur(4,a,i),ki(e,i,a);break;case 1:Pe||(di(a,i),s=a.stateNode,typeof s.componentWillUnmount=="function"&&T0(a,i,s)),ki(e,i,a);break;case 21:ki(e,i,a);break;case 22:Pe=(s=Pe)||a.memoizedState!==null,ki(e,i,a),Pe=s;break;default:ki(e,i,a)}}function D0(e,i){if(i.memoizedState===null&&(e=i.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{Xa(e)}catch(a){Kt(i,i.return,a)}}}function z0(e,i){if(i.memoizedState===null&&(e=i.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{Xa(e)}catch(a){Kt(i,i.return,a)}}function bE(e){switch(e.tag){case 31:case 13:case 19:var i=e.stateNode;return i===null&&(i=e.stateNode=new R0),i;case 22:return e=e.stateNode,i=e._retryCache,i===null&&(i=e._retryCache=new R0),i;default:throw Error(o(435,e.tag))}}function ru(e,i){var a=bE(e);i.forEach(function(s){if(!a.has(s)){a.add(s);var f=ME.bind(null,e,s);s.then(f,f)}})}function hn(e,i){var a=i.deletions;if(a!==null)for(var s=0;s<a.length;s++){var f=a[s],p=e,v=i,T=v;t:for(;T!==null;){switch(T.tag){case 27:if(gr(T.type)){he=T.stateNode,pn=!1;break t}break;case 5:he=T.stateNode,pn=!1;break t;case 3:case 4:he=T.stateNode.containerInfo,pn=!0;break t}T=T.return}if(he===null)throw Error(o(160));O0(p,v,f),he=null,pn=!1,p=f.alternate,p!==null&&(p.return=null),f.return=null}if(i.subtreeFlags&13886)for(i=i.child;i!==null;)B0(i,e),i=i.sibling}var ti=null;function B0(e,i){var a=e.alternate,s=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:hn(i,e),mn(e),s&4&&(ur(3,e,e.return),es(3,e),ur(5,e,e.return));break;case 1:hn(i,e),mn(e),s&512&&(Pe||a===null||di(a,a.return)),s&64&&Li&&(e=e.updateQueue,e!==null&&(s=e.callbacks,s!==null&&(a=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=a===null?s:a.concat(s))));break;case 26:var f=ti;if(hn(i,e),mn(e),s&512&&(Pe||a===null||di(a,a.return)),s&4){var p=a!==null?a.memoizedState:null;if(s=e.memoizedState,a===null)if(s===null)if(e.stateNode===null){t:{s=e.type,a=e.memoizedProps,f=f.ownerDocument||f;e:switch(s){case"title":p=f.getElementsByTagName("title")[0],(!p||p[Oo]||p[Ke]||p.namespaceURI==="http://www.w3.org/2000/svg"||p.hasAttribute("itemprop"))&&(p=f.createElement(s),f.head.insertBefore(p,f.querySelector("head > title"))),Ze(p,s,a),p[Ke]=e,Ie(p),s=p;break t;case"link":var v=Bv("link","href",f).get(s+(a.href||""));if(v){for(var T=0;T<v.length;T++)if(p=v[T],p.getAttribute("href")===(a.href==null||a.href===""?null:a.href)&&p.getAttribute("rel")===(a.rel==null?null:a.rel)&&p.getAttribute("title")===(a.title==null?null:a.title)&&p.getAttribute("crossorigin")===(a.crossOrigin==null?null:a.crossOrigin)){v.splice(T,1);break e}}p=f.createElement(s),Ze(p,s,a),f.head.appendChild(p);break;case"meta":if(v=Bv("meta","content",f).get(s+(a.content||""))){for(T=0;T<v.length;T++)if(p=v[T],p.getAttribute("content")===(a.content==null?null:""+a.content)&&p.getAttribute("name")===(a.name==null?null:a.name)&&p.getAttribute("property")===(a.property==null?null:a.property)&&p.getAttribute("http-equiv")===(a.httpEquiv==null?null:a.httpEquiv)&&p.getAttribute("charset")===(a.charSet==null?null:a.charSet)){v.splice(T,1);break e}}p=f.createElement(s),Ze(p,s,a),f.head.appendChild(p);break;default:throw Error(o(468,s))}p[Ke]=e,Ie(p),s=p}e.stateNode=s}else Nv(f,e.type,e.stateNode);else e.stateNode=zv(f,s,e.memoizedProps);else p!==s?(p===null?a.stateNode!==null&&(a=a.stateNode,a.parentNode.removeChild(a)):p.count--,s===null?Nv(f,e.type,e.stateNode):zv(f,s,e.memoizedProps)):s===null&&e.stateNode!==null&&yd(e,e.memoizedProps,a.memoizedProps)}break;case 27:hn(i,e),mn(e),s&512&&(Pe||a===null||di(a,a.return)),a!==null&&s&4&&yd(e,e.memoizedProps,a.memoizedProps);break;case 5:if(hn(i,e),mn(e),s&512&&(Pe||a===null||di(a,a.return)),e.flags&32){f=e.stateNode;try{va(f,"")}catch(ct){Kt(e,e.return,ct)}}s&4&&e.stateNode!=null&&(f=e.memoizedProps,yd(e,f,a!==null?a.memoizedProps:f)),s&1024&&(Sd=!0);break;case 6:if(hn(i,e),mn(e),s&4){if(e.stateNode===null)throw Error(o(162));s=e.memoizedProps,a=e.stateNode;try{a.nodeValue=s}catch(ct){Kt(e,e.return,ct)}}break;case 3:if(Su=null,f=ti,ti=vu(i.containerInfo),hn(i,e),ti=f,mn(e),s&4&&a!==null&&a.memoizedState.isDehydrated)try{Xa(i.containerInfo)}catch(ct){Kt(e,e.return,ct)}Sd&&(Sd=!1,N0(e));break;case 4:s=ti,ti=vu(e.stateNode.containerInfo),hn(i,e),mn(e),ti=s;break;case 12:hn(i,e),mn(e);break;case 31:hn(i,e),mn(e),s&4&&(s=e.updateQueue,s!==null&&(e.updateQueue=null,ru(e,s)));break;case 13:hn(i,e),mn(e),e.child.flags&8192&&e.memoizedState!==null!=(a!==null&&a.memoizedState!==null)&&(ou=kt()),s&4&&(s=e.updateQueue,s!==null&&(e.updateQueue=null,ru(e,s)));break;case 22:f=e.memoizedState!==null;var L=a!==null&&a.memoizedState!==null,H=Li,J=Pe;if(Li=H||f,Pe=J||L,hn(i,e),Pe=J,Li=H,mn(e),s&8192)t:for(i=e.stateNode,i._visibility=f?i._visibility&-2:i._visibility|1,f&&(a===null||L||Li||Pe||Ir(e)),a=null,i=e;;){if(i.tag===5||i.tag===26){if(a===null){L=a=i;try{if(p=L.stateNode,f)v=p.style,typeof v.setProperty=="function"?v.setProperty("display","none","important"):v.display="none";else{T=L.stateNode;var rt=L.memoizedProps.style,q=rt!=null&&rt.hasOwnProperty("display")?rt.display:null;T.style.display=q==null||typeof q=="boolean"?"":(""+q).trim()}}catch(ct){Kt(L,L.return,ct)}}}else if(i.tag===6){if(a===null){L=i;try{L.stateNode.nodeValue=f?"":L.memoizedProps}catch(ct){Kt(L,L.return,ct)}}}else if(i.tag===18){if(a===null){L=i;try{var X=L.stateNode;f?Tv(X,!0):Tv(L.stateNode,!1)}catch(ct){Kt(L,L.return,ct)}}}else if((i.tag!==22&&i.tag!==23||i.memoizedState===null||i===e)&&i.child!==null){i.child.return=i,i=i.child;continue}if(i===e)break t;for(;i.sibling===null;){if(i.return===null||i.return===e)break t;a===i&&(a=null),i=i.return}a===i&&(a=null),i.sibling.return=i.return,i=i.sibling}s&4&&(s=e.updateQueue,s!==null&&(a=s.retryQueue,a!==null&&(s.retryQueue=null,ru(e,a))));break;case 19:hn(i,e),mn(e),s&4&&(s=e.updateQueue,s!==null&&(e.updateQueue=null,ru(e,s)));break;case 30:break;case 21:break;default:hn(i,e),mn(e)}}function mn(e){var i=e.flags;if(i&2){try{for(var a,s=e.return;s!==null;){if(E0(s)){a=s;break}s=s.return}if(a==null)throw Error(o(160));switch(a.tag){case 27:var f=a.stateNode,p=vd(e);iu(e,p,f);break;case 5:var v=a.stateNode;a.flags&32&&(va(v,""),a.flags&=-33);var T=vd(e);iu(e,T,v);break;case 3:case 4:var L=a.stateNode.containerInfo,H=vd(e);bd(e,H,L);break;default:throw Error(o(161))}}catch(J){Kt(e,e.return,J)}e.flags&=-3}i&4096&&(e.flags&=-4097)}function N0(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var i=e;N0(i),i.tag===5&&i.flags&1024&&i.stateNode.reset(),e=e.sibling}}function Pi(e,i){if(i.subtreeFlags&8772)for(i=i.child;i!==null;)w0(e,i.alternate,i),i=i.sibling}function Ir(e){for(e=e.child;e!==null;){var i=e;switch(i.tag){case 0:case 11:case 14:case 15:ur(4,i,i.return),Ir(i);break;case 1:di(i,i.return);var a=i.stateNode;typeof a.componentWillUnmount=="function"&&T0(i,i.return,a),Ir(i);break;case 27:fs(i.stateNode);case 26:case 5:di(i,i.return),Ir(i);break;case 22:i.memoizedState===null&&Ir(i);break;case 30:Ir(i);break;default:Ir(i)}e=e.sibling}}function Ui(e,i,a){for(a=a&&(i.subtreeFlags&8772)!==0,i=i.child;i!==null;){var s=i.alternate,f=e,p=i,v=p.flags;switch(p.tag){case 0:case 11:case 15:Ui(f,p,a),es(4,p);break;case 1:if(Ui(f,p,a),s=p,f=s.stateNode,typeof f.componentDidMount=="function")try{f.componentDidMount()}catch(H){Kt(s,s.return,H)}if(s=p,f=s.updateQueue,f!==null){var T=s.stateNode;try{var L=f.shared.hiddenCallbacks;if(L!==null)for(f.shared.hiddenCallbacks=null,f=0;f<L.length;f++)cy(L[f],T)}catch(H){Kt(s,s.return,H)}}a&&v&64&&x0(p),ns(p,p.return);break;case 27:A0(p);case 26:case 5:Ui(f,p,a),a&&s===null&&v&4&&C0(p),ns(p,p.return);break;case 12:Ui(f,p,a);break;case 31:Ui(f,p,a),a&&v&4&&D0(f,p);break;case 13:Ui(f,p,a),a&&v&4&&z0(f,p);break;case 22:p.memoizedState===null&&Ui(f,p,a),ns(p,p.return);break;case 30:break;default:Ui(f,p,a)}i=i.sibling}}function xd(e,i){var a=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(a=e.memoizedState.cachePool.pool),e=null,i.memoizedState!==null&&i.memoizedState.cachePool!==null&&(e=i.memoizedState.cachePool.pool),e!==a&&(e!=null&&e.refCount++,a!=null&&Ho(a))}function Td(e,i){e=null,i.alternate!==null&&(e=i.alternate.memoizedState.cache),i=i.memoizedState.cache,i!==e&&(i.refCount++,e!=null&&Ho(e))}function ei(e,i,a,s){if(i.subtreeFlags&10256)for(i=i.child;i!==null;)_0(e,i,a,s),i=i.sibling}function _0(e,i,a,s){var f=i.flags;switch(i.tag){case 0:case 11:case 15:ei(e,i,a,s),f&2048&&es(9,i);break;case 1:ei(e,i,a,s);break;case 3:ei(e,i,a,s),f&2048&&(e=null,i.alternate!==null&&(e=i.alternate.memoizedState.cache),i=i.memoizedState.cache,i!==e&&(i.refCount++,e!=null&&Ho(e)));break;case 12:if(f&2048){ei(e,i,a,s),e=i.stateNode;try{var p=i.memoizedProps,v=p.id,T=p.onPostCommit;typeof T=="function"&&T(v,i.alternate===null?"mount":"update",e.passiveEffectDuration,-0)}catch(L){Kt(i,i.return,L)}}else ei(e,i,a,s);break;case 31:ei(e,i,a,s);break;case 13:ei(e,i,a,s);break;case 23:break;case 22:p=i.stateNode,v=i.alternate,i.memoizedState!==null?p._visibility&2?ei(e,i,a,s):is(e,i):p._visibility&2?ei(e,i,a,s):(p._visibility|=2,Pa(e,i,a,s,(i.subtreeFlags&10256)!==0||!1)),f&2048&&xd(v,i);break;case 24:ei(e,i,a,s),f&2048&&Td(i.alternate,i);break;default:ei(e,i,a,s)}}function Pa(e,i,a,s,f){for(f=f&&((i.subtreeFlags&10256)!==0||!1),i=i.child;i!==null;){var p=e,v=i,T=a,L=s,H=v.flags;switch(v.tag){case 0:case 11:case 15:Pa(p,v,T,L,f),es(8,v);break;case 23:break;case 22:var J=v.stateNode;v.memoizedState!==null?J._visibility&2?Pa(p,v,T,L,f):is(p,v):(J._visibility|=2,Pa(p,v,T,L,f)),f&&H&2048&&xd(v.alternate,v);break;case 24:Pa(p,v,T,L,f),f&&H&2048&&Td(v.alternate,v);break;default:Pa(p,v,T,L,f)}i=i.sibling}}function is(e,i){if(i.subtreeFlags&10256)for(i=i.child;i!==null;){var a=e,s=i,f=s.flags;switch(s.tag){case 22:is(a,s),f&2048&&xd(s.alternate,s);break;case 24:is(a,s),f&2048&&Td(s.alternate,s);break;default:is(a,s)}i=i.sibling}}var rs=8192;function Ua(e,i,a){if(e.subtreeFlags&rs)for(e=e.child;e!==null;)j0(e,i,a),e=e.sibling}function j0(e,i,a){switch(e.tag){case 26:Ua(e,i,a),e.flags&rs&&e.memoizedState!==null&&aA(a,ti,e.memoizedState,e.memoizedProps);break;case 5:Ua(e,i,a);break;case 3:case 4:var s=ti;ti=vu(e.stateNode.containerInfo),Ua(e,i,a),ti=s;break;case 22:e.memoizedState===null&&(s=e.alternate,s!==null&&s.memoizedState!==null?(s=rs,rs=16777216,Ua(e,i,a),rs=s):Ua(e,i,a));break;default:Ua(e,i,a)}}function L0(e){var i=e.alternate;if(i!==null&&(e=i.child,e!==null)){i.child=null;do i=e.sibling,e.sibling=null,e=i;while(e!==null)}}function as(e){var i=e.deletions;if((e.flags&16)!==0){if(i!==null)for(var a=0;a<i.length;a++){var s=i[a];Ge=s,P0(s,e)}L0(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)k0(e),e=e.sibling}function k0(e){switch(e.tag){case 0:case 11:case 15:as(e),e.flags&2048&&ur(9,e,e.return);break;case 3:as(e);break;case 12:as(e);break;case 22:var i=e.stateNode;e.memoizedState!==null&&i._visibility&2&&(e.return===null||e.return.tag!==13)?(i._visibility&=-3,au(e)):as(e);break;default:as(e)}}function au(e){var i=e.deletions;if((e.flags&16)!==0){if(i!==null)for(var a=0;a<i.length;a++){var s=i[a];Ge=s,P0(s,e)}L0(e)}for(e=e.child;e!==null;){switch(i=e,i.tag){case 0:case 11:case 15:ur(8,i,i.return),au(i);break;case 22:a=i.stateNode,a._visibility&2&&(a._visibility&=-3,au(i));break;default:au(i)}e=e.sibling}}function P0(e,i){for(;Ge!==null;){var a=Ge;switch(a.tag){case 0:case 11:case 15:ur(8,a,i);break;case 23:case 22:if(a.memoizedState!==null&&a.memoizedState.cachePool!==null){var s=a.memoizedState.cachePool.pool;s!=null&&s.refCount++}break;case 24:Ho(a.memoizedState.cache)}if(s=a.child,s!==null)s.return=a,Ge=s;else t:for(a=e;Ge!==null;){s=Ge;var f=s.sibling,p=s.return;if(M0(s),s===a){Ge=null;break t}if(f!==null){f.return=p,Ge=f;break t}Ge=p}}}var SE={getCacheForType:function(e){var i=We(je),a=i.data.get(e);return a===void 0&&(a=e(),i.data.set(e,a)),a},cacheSignal:function(){return We(je).controller.signal}},xE=typeof WeakMap=="function"?WeakMap:Map,Ht=0,se=null,zt=null,Nt=0,Yt=0,Mn=null,cr=!1,Va=!1,Cd=!1,Vi=0,xe=0,fr=0,Gr=0,Ed=0,On=0,$a=0,os=null,gn=null,Ad=!1,ou=0,U0=0,su=1/0,lu=null,dr=null,qe=0,pr=null,Ha=null,$i=0,Rd=0,wd=null,V0=null,ss=0,Md=null;function Dn(){return(Ht&2)!==0&&Nt!==0?Nt&-Nt:B.T!==null?_d():ng()}function $0(){if(On===0)if((Nt&536870912)===0||Lt){var e=gl;gl<<=1,(gl&3932160)===0&&(gl=262144),On=e}else On=536870912;return e=Rn.current,e!==null&&(e.flags|=32),On}function yn(e,i,a){(e===se&&(Yt===2||Yt===9)||e.cancelPendingCommit!==null)&&(Fa(e,0),hr(e,Nt,On,!1)),Mo(e,a),((Ht&2)===0||e!==se)&&(e===se&&((Ht&2)===0&&(Gr|=a),xe===4&&hr(e,Nt,On,!1)),pi(e))}function H0(e,i,a){if((Ht&6)!==0)throw Error(o(327));var s=!a&&(i&127)===0&&(i&e.expiredLanes)===0||wo(e,i),f=s?EE(e,i):Dd(e,i,!0),p=s;do{if(f===0){Va&&!s&&hr(e,i,0,!1);break}else{if(a=e.current.alternate,p&&!TE(a)){f=Dd(e,i,!1),p=!1;continue}if(f===2){if(p=i,e.errorRecoveryDisabledLanes&p)var v=0;else v=e.pendingLanes&-536870913,v=v!==0?v:v&536870912?536870912:0;if(v!==0){i=v;t:{var T=e;f=os;var L=T.current.memoizedState.isDehydrated;if(L&&(Fa(T,v).flags|=256),v=Dd(T,v,!1),v!==2){if(Cd&&!L){T.errorRecoveryDisabledLanes|=p,Gr|=p,f=4;break t}p=gn,gn=f,p!==null&&(gn===null?gn=p:gn.push.apply(gn,p))}f=v}if(p=!1,f!==2)continue}}if(f===1){Fa(e,0),hr(e,i,0,!0);break}t:{switch(s=e,p=f,p){case 0:case 1:throw Error(o(345));case 4:if((i&4194048)!==i)break;case 6:hr(s,i,On,!cr);break t;case 2:gn=null;break;case 3:case 5:break;default:throw Error(o(329))}if((i&62914560)===i&&(f=ou+300-kt(),10<f)){if(hr(s,i,On,!cr),vl(s,0,!0)!==0)break t;$i=i,s.timeoutHandle=bv(F0.bind(null,s,a,gn,lu,Ad,i,On,Gr,$a,cr,p,"Throttled",-0,0),f);break t}F0(s,a,gn,lu,Ad,i,On,Gr,$a,cr,p,null,-0,0)}}break}while(!0);pi(e)}function F0(e,i,a,s,f,p,v,T,L,H,J,rt,q,X){if(e.timeoutHandle=-1,rt=i.subtreeFlags,rt&8192||(rt&16785408)===16785408){rt={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:Ri},j0(i,p,rt);var ct=(p&62914560)===p?ou-kt():(p&4194048)===p?U0-kt():0;if(ct=oA(rt,ct),ct!==null){$i=p,e.cancelPendingCommit=ct(Q0.bind(null,e,i,p,a,s,f,v,T,L,J,rt,null,q,X)),hr(e,p,v,!H);return}}Q0(e,i,p,a,s,f,v,T,L)}function TE(e){for(var i=e;;){var a=i.tag;if((a===0||a===11||a===15)&&i.flags&16384&&(a=i.updateQueue,a!==null&&(a=a.stores,a!==null)))for(var s=0;s<a.length;s++){var f=a[s],p=f.getSnapshot;f=f.value;try{if(!En(p(),f))return!1}catch{return!1}}if(a=i.child,i.subtreeFlags&16384&&a!==null)a.return=i,i=a;else{if(i===e)break;for(;i.sibling===null;){if(i.return===null||i.return===e)return!0;i=i.return}i.sibling.return=i.return,i=i.sibling}}return!0}function hr(e,i,a,s){i&=~Ed,i&=~Gr,e.suspendedLanes|=i,e.pingedLanes&=~i,s&&(e.warmLanes|=i),s=e.expirationTimes;for(var f=i;0<f;){var p=31-Ot(f),v=1<<p;s[p]=-1,f&=~v}a!==0&&Jm(e,a,i)}function uu(){return(Ht&6)===0?(ls(0),!1):!0}function Od(){if(zt!==null){if(Yt===0)var e=zt.return;else e=zt,Di=kr=null,If(e),Na=null,qo=0,e=zt;for(;e!==null;)S0(e.alternate,e),e=e.return;zt=null}}function Fa(e,i){var a=e.timeoutHandle;a!==-1&&(e.timeoutHandle=-1,HE(a)),a=e.cancelPendingCommit,a!==null&&(e.cancelPendingCommit=null,a()),$i=0,Od(),se=e,zt=a=Mi(e.current,null),Nt=i,Yt=0,Mn=null,cr=!1,Va=wo(e,i),Cd=!1,$a=On=Ed=Gr=fr=xe=0,gn=os=null,Ad=!1,(i&8)!==0&&(i|=i&32);var s=e.entangledLanes;if(s!==0)for(e=e.entanglements,s&=i;0<s;){var f=31-Ot(s),p=1<<f;i|=e[f],s&=~p}return Vi=i,Dl(),a}function q0(e,i){Rt=null,B.H=Zo,i===Ba||i===Pl?(i=oy(),Yt=3):i===Nf?(i=oy(),Yt=4):Yt=i===sd?8:i!==null&&typeof i=="object"&&typeof i.then=="function"?6:1,Mn=i,zt===null&&(xe=1,Zl(e,kn(i,e.current)))}function I0(){var e=Rn.current;return e===null?!0:(Nt&4194048)===Nt?$n===null:(Nt&62914560)===Nt||(Nt&536870912)!==0?e===$n:!1}function G0(){var e=B.H;return B.H=Zo,e===null?Zo:e}function Y0(){var e=B.A;return B.A=SE,e}function cu(){xe=4,cr||(Nt&4194048)!==Nt&&Rn.current!==null||(Va=!0),(fr&134217727)===0&&(Gr&134217727)===0||se===null||hr(se,Nt,On,!1)}function Dd(e,i,a){var s=Ht;Ht|=2;var f=G0(),p=Y0();(se!==e||Nt!==i)&&(lu=null,Fa(e,i)),i=!1;var v=xe;t:do try{if(Yt!==0&&zt!==null){var T=zt,L=Mn;switch(Yt){case 8:Od(),v=6;break t;case 3:case 2:case 9:case 6:Rn.current===null&&(i=!0);var H=Yt;if(Yt=0,Mn=null,qa(e,T,L,H),a&&Va){v=0;break t}break;default:H=Yt,Yt=0,Mn=null,qa(e,T,L,H)}}CE(),v=xe;break}catch(J){q0(e,J)}while(!0);return i&&e.shellSuspendCounter++,Di=kr=null,Ht=s,B.H=f,B.A=p,zt===null&&(se=null,Nt=0,Dl()),v}function CE(){for(;zt!==null;)K0(zt)}function EE(e,i){var a=Ht;Ht|=2;var s=G0(),f=Y0();se!==e||Nt!==i?(lu=null,su=kt()+500,Fa(e,i)):Va=wo(e,i);t:do try{if(Yt!==0&&zt!==null){i=zt;var p=Mn;e:switch(Yt){case 1:Yt=0,Mn=null,qa(e,i,p,1);break;case 2:case 9:if(ry(p)){Yt=0,Mn=null,X0(i);break}i=function(){Yt!==2&&Yt!==9||se!==e||(Yt=7),pi(e)},p.then(i,i);break t;case 3:Yt=7;break t;case 4:Yt=5;break t;case 7:ry(p)?(Yt=0,Mn=null,X0(i)):(Yt=0,Mn=null,qa(e,i,p,7));break;case 5:var v=null;switch(zt.tag){case 26:v=zt.memoizedState;case 5:case 27:var T=zt;if(v?_v(v):T.stateNode.complete){Yt=0,Mn=null;var L=T.sibling;if(L!==null)zt=L;else{var H=T.return;H!==null?(zt=H,fu(H)):zt=null}break e}}Yt=0,Mn=null,qa(e,i,p,5);break;case 6:Yt=0,Mn=null,qa(e,i,p,6);break;case 8:Od(),xe=6;break t;default:throw Error(o(462))}}AE();break}catch(J){q0(e,J)}while(!0);return Di=kr=null,B.H=s,B.A=f,Ht=a,zt!==null?0:(se=null,Nt=0,Dl(),xe)}function AE(){for(;zt!==null&&!pt();)K0(zt)}function K0(e){var i=v0(e.alternate,e,Vi);e.memoizedProps=e.pendingProps,i===null?fu(e):zt=i}function X0(e){var i=e,a=i.alternate;switch(i.tag){case 15:case 0:i=d0(a,i,i.pendingProps,i.type,void 0,Nt);break;case 11:i=d0(a,i,i.pendingProps,i.type.render,i.ref,Nt);break;case 5:If(i);default:S0(a,i),i=zt=Yg(i,Vi),i=v0(a,i,Vi)}e.memoizedProps=e.pendingProps,i===null?fu(e):zt=i}function qa(e,i,a,s){Di=kr=null,If(i),Na=null,qo=0;var f=i.return;try{if(pE(e,f,i,a,Nt)){xe=1,Zl(e,kn(a,e.current)),zt=null;return}}catch(p){if(f!==null)throw zt=f,p;xe=1,Zl(e,kn(a,e.current)),zt=null;return}i.flags&32768?(Lt||s===1?e=!0:Va||(Nt&536870912)!==0?e=!1:(cr=e=!0,(s===2||s===9||s===3||s===6)&&(s=Rn.current,s!==null&&s.tag===13&&(s.flags|=16384))),W0(i,e)):fu(i)}function fu(e){var i=e;do{if((i.flags&32768)!==0){W0(i,cr);return}e=i.return;var a=gE(i.alternate,i,Vi);if(a!==null){zt=a;return}if(i=i.sibling,i!==null){zt=i;return}zt=i=e}while(i!==null);xe===0&&(xe=5)}function W0(e,i){do{var a=yE(e.alternate,e);if(a!==null){a.flags&=32767,zt=a;return}if(a=e.return,a!==null&&(a.flags|=32768,a.subtreeFlags=0,a.deletions=null),!i&&(e=e.sibling,e!==null)){zt=e;return}zt=e=a}while(e!==null);xe=6,zt=null}function Q0(e,i,a,s,f,p,v,T,L){e.cancelPendingCommit=null;do du();while(qe!==0);if((Ht&6)!==0)throw Error(o(327));if(i!==null){if(i===e.current)throw Error(o(177));if(p=i.lanes|i.childLanes,p|=vf,r2(e,a,p,v,T,L),e===se&&(zt=se=null,Nt=0),Ha=i,pr=e,$i=a,Rd=p,wd=f,V0=s,(i.subtreeFlags&10256)!==0||(i.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,OE(pe,function(){return nv(),null})):(e.callbackNode=null,e.callbackPriority=0),s=(i.flags&13878)!==0,(i.subtreeFlags&13878)!==0||s){s=B.T,B.T=null,f=F.p,F.p=2,v=Ht,Ht|=4;try{vE(e,i,a)}finally{Ht=v,F.p=f,B.T=s}}qe=1,Z0(),J0(),tv()}}function Z0(){if(qe===1){qe=0;var e=pr,i=Ha,a=(i.flags&13878)!==0;if((i.subtreeFlags&13878)!==0||a){a=B.T,B.T=null;var s=F.p;F.p=2;var f=Ht;Ht|=4;try{B0(i,e);var p=Hd,v=Pg(e.containerInfo),T=p.focusedElem,L=p.selectionRange;if(v!==T&&T&&T.ownerDocument&&kg(T.ownerDocument.documentElement,T)){if(L!==null&&pf(T)){var H=L.start,J=L.end;if(J===void 0&&(J=H),"selectionStart"in T)T.selectionStart=H,T.selectionEnd=Math.min(J,T.value.length);else{var rt=T.ownerDocument||document,q=rt&&rt.defaultView||window;if(q.getSelection){var X=q.getSelection(),ct=T.textContent.length,vt=Math.min(L.start,ct),ie=L.end===void 0?vt:Math.min(L.end,ct);!X.extend&&vt>ie&&(v=ie,ie=vt,vt=v);var U=Lg(T,vt),P=Lg(T,ie);if(U&&P&&(X.rangeCount!==1||X.anchorNode!==U.node||X.anchorOffset!==U.offset||X.focusNode!==P.node||X.focusOffset!==P.offset)){var $=rt.createRange();$.setStart(U.node,U.offset),X.removeAllRanges(),vt>ie?(X.addRange($),X.extend(P.node,P.offset)):($.setEnd(P.node,P.offset),X.addRange($))}}}}for(rt=[],X=T;X=X.parentNode;)X.nodeType===1&&rt.push({element:X,left:X.scrollLeft,top:X.scrollTop});for(typeof T.focus=="function"&&T.focus(),T=0;T<rt.length;T++){var it=rt[T];it.element.scrollLeft=it.left,it.element.scrollTop=it.top}}Eu=!!$d,Hd=$d=null}finally{Ht=f,F.p=s,B.T=a}}e.current=i,qe=2}}function J0(){if(qe===2){qe=0;var e=pr,i=Ha,a=(i.flags&8772)!==0;if((i.subtreeFlags&8772)!==0||a){a=B.T,B.T=null;var s=F.p;F.p=2;var f=Ht;Ht|=4;try{w0(e,i.alternate,i)}finally{Ht=f,F.p=s,B.T=a}}qe=3}}function tv(){if(qe===4||qe===3){qe=0,Nn();var e=pr,i=Ha,a=$i,s=V0;(i.subtreeFlags&10256)!==0||(i.flags&10256)!==0?qe=5:(qe=0,Ha=pr=null,ev(e,e.pendingLanes));var f=e.pendingLanes;if(f===0&&(dr=null),Yc(a),i=i.stateNode,nn&&typeof nn.onCommitFiberRoot=="function")try{nn.onCommitFiberRoot(ui,i,void 0,(i.current.flags&128)===128)}catch{}if(s!==null){i=B.T,f=F.p,F.p=2,B.T=null;try{for(var p=e.onRecoverableError,v=0;v<s.length;v++){var T=s[v];p(T.value,{componentStack:T.stack})}}finally{B.T=i,F.p=f}}($i&3)!==0&&du(),pi(e),f=e.pendingLanes,(a&261930)!==0&&(f&42)!==0?e===Md?ss++:(ss=0,Md=e):ss=0,ls(0)}}function ev(e,i){(e.pooledCacheLanes&=i)===0&&(i=e.pooledCache,i!=null&&(e.pooledCache=null,Ho(i)))}function du(){return Z0(),J0(),tv(),nv()}function nv(){if(qe!==5)return!1;var e=pr,i=Rd;Rd=0;var a=Yc($i),s=B.T,f=F.p;try{F.p=32>a?32:a,B.T=null,a=wd,wd=null;var p=pr,v=$i;if(qe=0,Ha=pr=null,$i=0,(Ht&6)!==0)throw Error(o(331));var T=Ht;if(Ht|=4,k0(p.current),_0(p,p.current,v,a),Ht=T,ls(0,!1),nn&&typeof nn.onPostCommitFiberRoot=="function")try{nn.onPostCommitFiberRoot(ui,p)}catch{}return!0}finally{F.p=f,B.T=s,ev(e,i)}}function iv(e,i,a){i=kn(a,i),i=od(e.stateNode,i,2),e=or(e,i,2),e!==null&&(Mo(e,2),pi(e))}function Kt(e,i,a){if(e.tag===3)iv(e,e,a);else for(;i!==null;){if(i.tag===3){iv(i,e,a);break}else if(i.tag===1){var s=i.stateNode;if(typeof i.type.getDerivedStateFromError=="function"||typeof s.componentDidCatch=="function"&&(dr===null||!dr.has(s))){e=kn(a,e),a=r0(2),s=or(i,a,2),s!==null&&(a0(a,s,i,e),Mo(s,2),pi(s));break}}i=i.return}}function zd(e,i,a){var s=e.pingCache;if(s===null){s=e.pingCache=new xE;var f=new Set;s.set(i,f)}else f=s.get(i),f===void 0&&(f=new Set,s.set(i,f));f.has(a)||(Cd=!0,f.add(a),e=RE.bind(null,e,i,a),i.then(e,e))}function RE(e,i,a){var s=e.pingCache;s!==null&&s.delete(i),e.pingedLanes|=e.suspendedLanes&a,e.warmLanes&=~a,se===e&&(Nt&a)===a&&(xe===4||xe===3&&(Nt&62914560)===Nt&&300>kt()-ou?(Ht&2)===0&&Fa(e,0):Ed|=a,$a===Nt&&($a=0)),pi(e)}function rv(e,i){i===0&&(i=Zm()),e=_r(e,i),e!==null&&(Mo(e,i),pi(e))}function wE(e){var i=e.memoizedState,a=0;i!==null&&(a=i.retryLane),rv(e,a)}function ME(e,i){var a=0;switch(e.tag){case 31:case 13:var s=e.stateNode,f=e.memoizedState;f!==null&&(a=f.retryLane);break;case 19:s=e.stateNode;break;case 22:s=e.stateNode._retryCache;break;default:throw Error(o(314))}s!==null&&s.delete(i),rv(e,a)}function OE(e,i){return de(e,i)}var pu=null,Ia=null,Bd=!1,hu=!1,Nd=!1,mr=0;function pi(e){e!==Ia&&e.next===null&&(Ia===null?pu=Ia=e:Ia=Ia.next=e),hu=!0,Bd||(Bd=!0,zE())}function ls(e,i){if(!Nd&&hu){Nd=!0;do for(var a=!1,s=pu;s!==null;){if(e!==0){var f=s.pendingLanes;if(f===0)var p=0;else{var v=s.suspendedLanes,T=s.pingedLanes;p=(1<<31-Ot(42|e)+1)-1,p&=f&~(v&~T),p=p&201326741?p&201326741|1:p?p|2:0}p!==0&&(a=!0,lv(s,p))}else p=Nt,p=vl(s,s===se?p:0,s.cancelPendingCommit!==null||s.timeoutHandle!==-1),(p&3)===0||wo(s,p)||(a=!0,lv(s,p));s=s.next}while(a);Nd=!1}}function DE(){av()}function av(){hu=Bd=!1;var e=0;mr!==0&&$E()&&(e=mr);for(var i=kt(),a=null,s=pu;s!==null;){var f=s.next,p=ov(s,i);p===0?(s.next=null,a===null?pu=f:a.next=f,f===null&&(Ia=a)):(a=s,(e!==0||(p&3)!==0)&&(hu=!0)),s=f}qe!==0&&qe!==5||ls(e),mr!==0&&(mr=0)}function ov(e,i){for(var a=e.suspendedLanes,s=e.pingedLanes,f=e.expirationTimes,p=e.pendingLanes&-62914561;0<p;){var v=31-Ot(p),T=1<<v,L=f[v];L===-1?((T&a)===0||(T&s)!==0)&&(f[v]=i2(T,i)):L<=i&&(e.expiredLanes|=T),p&=~T}if(i=se,a=Nt,a=vl(e,e===i?a:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),s=e.callbackNode,a===0||e===i&&(Yt===2||Yt===9)||e.cancelPendingCommit!==null)return s!==null&&s!==null&&oe(s),e.callbackNode=null,e.callbackPriority=0;if((a&3)===0||wo(e,a)){if(i=a&-a,i===e.callbackPriority)return i;switch(s!==null&&oe(s),Yc(a)){case 2:case 8:a=It;break;case 32:a=pe;break;case 268435456:a=en;break;default:a=pe}return s=sv.bind(null,e),a=de(a,s),e.callbackPriority=i,e.callbackNode=a,i}return s!==null&&s!==null&&oe(s),e.callbackPriority=2,e.callbackNode=null,2}function sv(e,i){if(qe!==0&&qe!==5)return e.callbackNode=null,e.callbackPriority=0,null;var a=e.callbackNode;if(du()&&e.callbackNode!==a)return null;var s=Nt;return s=vl(e,e===se?s:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),s===0?null:(H0(e,s,i),ov(e,kt()),e.callbackNode!=null&&e.callbackNode===a?sv.bind(null,e):null)}function lv(e,i){if(du())return null;H0(e,i,!0)}function zE(){FE(function(){(Ht&6)!==0?de(Me,DE):av()})}function _d(){if(mr===0){var e=Da;e===0&&(e=ml,ml<<=1,(ml&261888)===0&&(ml=256)),mr=e}return mr}function uv(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:Tl(""+e)}function cv(e,i){var a=i.ownerDocument.createElement("input");return a.name=i.name,a.value=i.value,e.id&&a.setAttribute("form",e.id),i.parentNode.insertBefore(a,i),e=new FormData(e),a.parentNode.removeChild(a),e}function BE(e,i,a,s,f){if(i==="submit"&&a&&a.stateNode===f){var p=uv((f[fn]||null).action),v=s.submitter;v&&(i=(i=v[fn]||null)?uv(i.formAction):v.getAttribute("formAction"),i!==null&&(p=i,v=null));var T=new Rl("action","action",null,s,f);e.push({event:T,listeners:[{instance:null,listener:function(){if(s.defaultPrevented){if(mr!==0){var L=v?cv(f,v):new FormData(f);td(a,{pending:!0,data:L,method:f.method,action:p},null,L)}}else typeof p=="function"&&(T.preventDefault(),L=v?cv(f,v):new FormData(f),td(a,{pending:!0,data:L,method:f.method,action:p},p,L))},currentTarget:f}]})}}for(var jd=0;jd<yf.length;jd++){var Ld=yf[jd],NE=Ld.toLowerCase(),_E=Ld[0].toUpperCase()+Ld.slice(1);Jn(NE,"on"+_E)}Jn($g,"onAnimationEnd"),Jn(Hg,"onAnimationIteration"),Jn(Fg,"onAnimationStart"),Jn("dblclick","onDoubleClick"),Jn("focusin","onFocus"),Jn("focusout","onBlur"),Jn(W2,"onTransitionRun"),Jn(Q2,"onTransitionStart"),Jn(Z2,"onTransitionCancel"),Jn(qg,"onTransitionEnd"),ga("onMouseEnter",["mouseout","mouseover"]),ga("onMouseLeave",["mouseout","mouseover"]),ga("onPointerEnter",["pointerout","pointerover"]),ga("onPointerLeave",["pointerout","pointerover"]),Dr("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Dr("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Dr("onBeforeInput",["compositionend","keypress","textInput","paste"]),Dr("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Dr("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Dr("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var us="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(" "),jE=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(us));function fv(e,i){i=(i&4)!==0;for(var a=0;a<e.length;a++){var s=e[a],f=s.event;s=s.listeners;t:{var p=void 0;if(i)for(var v=s.length-1;0<=v;v--){var T=s[v],L=T.instance,H=T.currentTarget;if(T=T.listener,L!==p&&f.isPropagationStopped())break t;p=T,f.currentTarget=H;try{p(f)}catch(J){Ol(J)}f.currentTarget=null,p=L}else for(v=0;v<s.length;v++){if(T=s[v],L=T.instance,H=T.currentTarget,T=T.listener,L!==p&&f.isPropagationStopped())break t;p=T,f.currentTarget=H;try{p(f)}catch(J){Ol(J)}f.currentTarget=null,p=L}}}}function Bt(e,i){var a=i[Kc];a===void 0&&(a=i[Kc]=new Set);var s=e+"__bubble";a.has(s)||(dv(i,e,2,!1),a.add(s))}function kd(e,i,a){var s=0;i&&(s|=4),dv(a,e,s,i)}var mu="_reactListening"+Math.random().toString(36).slice(2);function Pd(e){if(!e[mu]){e[mu]=!0,ag.forEach(function(a){a!=="selectionchange"&&(jE.has(a)||kd(a,!1,e),kd(a,!0,e))});var i=e.nodeType===9?e:e.ownerDocument;i===null||i[mu]||(i[mu]=!0,kd("selectionchange",!1,i))}}function dv(e,i,a,s){switch($v(i)){case 2:var f=uA;break;case 8:f=cA;break;default:f=Jd}a=f.bind(null,i,a,e),f=void 0,!rf||i!=="touchstart"&&i!=="touchmove"&&i!=="wheel"||(f=!0),s?f!==void 0?e.addEventListener(i,a,{capture:!0,passive:f}):e.addEventListener(i,a,!0):f!==void 0?e.addEventListener(i,a,{passive:f}):e.addEventListener(i,a,!1)}function Ud(e,i,a,s,f){var p=s;if((i&1)===0&&(i&2)===0&&s!==null)t:for(;;){if(s===null)return;var v=s.tag;if(v===3||v===4){var T=s.stateNode.containerInfo;if(T===f)break;if(v===4)for(v=s.return;v!==null;){var L=v.tag;if((L===3||L===4)&&v.stateNode.containerInfo===f)return;v=v.return}for(;T!==null;){if(v=pa(T),v===null)return;if(L=v.tag,L===5||L===6||L===26||L===27){s=p=v;continue t}T=T.parentNode}}s=s.return}yg(function(){var H=p,J=ef(a),rt=[];t:{var q=Ig.get(e);if(q!==void 0){var X=Rl,ct=e;switch(e){case"keypress":if(El(a)===0)break t;case"keydown":case"keyup":X=M2;break;case"focusin":ct="focus",X=lf;break;case"focusout":ct="blur",X=lf;break;case"beforeblur":case"afterblur":X=lf;break;case"click":if(a.button===2)break t;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":X=Sg;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":X=g2;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":X=z2;break;case $g:case Hg:case Fg:X=b2;break;case qg:X=N2;break;case"scroll":case"scrollend":X=h2;break;case"wheel":X=j2;break;case"copy":case"cut":case"paste":X=x2;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":X=Tg;break;case"toggle":case"beforetoggle":X=k2}var vt=(i&4)!==0,ie=!vt&&(e==="scroll"||e==="scrollend"),U=vt?q!==null?q+"Capture":null:q;vt=[];for(var P=H,$;P!==null;){var it=P;if($=it.stateNode,it=it.tag,it!==5&&it!==26&&it!==27||$===null||U===null||(it=zo(P,U),it!=null&&vt.push(cs(P,it,$))),ie)break;P=P.return}0<vt.length&&(q=new X(q,ct,null,a,J),rt.push({event:q,listeners:vt}))}}if((i&7)===0){t:{if(q=e==="mouseover"||e==="pointerover",X=e==="mouseout"||e==="pointerout",q&&a!==tf&&(ct=a.relatedTarget||a.fromElement)&&(pa(ct)||ct[da]))break t;if((X||q)&&(q=J.window===J?J:(q=J.ownerDocument)?q.defaultView||q.parentWindow:window,X?(ct=a.relatedTarget||a.toElement,X=H,ct=ct?pa(ct):null,ct!==null&&(ie=u(ct),vt=ct.tag,ct!==ie||vt!==5&&vt!==27&&vt!==6)&&(ct=null)):(X=null,ct=H),X!==ct)){if(vt=Sg,it="onMouseLeave",U="onMouseEnter",P="mouse",(e==="pointerout"||e==="pointerover")&&(vt=Tg,it="onPointerLeave",U="onPointerEnter",P="pointer"),ie=X==null?q:Do(X),$=ct==null?q:Do(ct),q=new vt(it,P+"leave",X,a,J),q.target=ie,q.relatedTarget=$,it=null,pa(J)===H&&(vt=new vt(U,P+"enter",ct,a,J),vt.target=$,vt.relatedTarget=ie,it=vt),ie=it,X&&ct)e:{for(vt=LE,U=X,P=ct,$=0,it=U;it;it=vt(it))$++;it=0;for(var gt=P;gt;gt=vt(gt))it++;for(;0<$-it;)U=vt(U),$--;for(;0<it-$;)P=vt(P),it--;for(;$--;){if(U===P||P!==null&&U===P.alternate){vt=U;break e}U=vt(U),P=vt(P)}vt=null}else vt=null;X!==null&&pv(rt,q,X,vt,!1),ct!==null&&ie!==null&&pv(rt,ie,ct,vt,!0)}}t:{if(q=H?Do(H):window,X=q.nodeName&&q.nodeName.toLowerCase(),X==="select"||X==="input"&&q.type==="file")var Ut=Dg;else if(Mg(q))if(zg)Ut=Y2;else{Ut=I2;var ft=q2}else X=q.nodeName,!X||X.toLowerCase()!=="input"||q.type!=="checkbox"&&q.type!=="radio"?H&&Jc(H.elementType)&&(Ut=Dg):Ut=G2;if(Ut&&(Ut=Ut(e,H))){Og(rt,Ut,a,J);break t}ft&&ft(e,q,H),e==="focusout"&&H&&q.type==="number"&&H.memoizedProps.value!=null&&Zc(q,"number",q.value)}switch(ft=H?Do(H):window,e){case"focusin":(Mg(ft)||ft.contentEditable==="true")&&(Ta=ft,hf=H,Uo=null);break;case"focusout":Uo=hf=Ta=null;break;case"mousedown":mf=!0;break;case"contextmenu":case"mouseup":case"dragend":mf=!1,Ug(rt,a,J);break;case"selectionchange":if(X2)break;case"keydown":case"keyup":Ug(rt,a,J)}var Mt;if(cf)t:{switch(e){case"compositionstart":var _t="onCompositionStart";break t;case"compositionend":_t="onCompositionEnd";break t;case"compositionupdate":_t="onCompositionUpdate";break t}_t=void 0}else xa?Rg(e,a)&&(_t="onCompositionEnd"):e==="keydown"&&a.keyCode===229&&(_t="onCompositionStart");_t&&(Cg&&a.locale!=="ko"&&(xa||_t!=="onCompositionStart"?_t==="onCompositionEnd"&&xa&&(Mt=vg()):(Ji=J,af="value"in Ji?Ji.value:Ji.textContent,xa=!0)),ft=gu(H,_t),0<ft.length&&(_t=new xg(_t,e,null,a,J),rt.push({event:_t,listeners:ft}),Mt?_t.data=Mt:(Mt=wg(a),Mt!==null&&(_t.data=Mt)))),(Mt=U2?V2(e,a):$2(e,a))&&(_t=gu(H,"onBeforeInput"),0<_t.length&&(ft=new xg("onBeforeInput","beforeinput",null,a,J),rt.push({event:ft,listeners:_t}),ft.data=Mt)),BE(rt,e,H,a,J)}fv(rt,i)})}function cs(e,i,a){return{instance:e,listener:i,currentTarget:a}}function gu(e,i){for(var a=i+"Capture",s=[];e!==null;){var f=e,p=f.stateNode;if(f=f.tag,f!==5&&f!==26&&f!==27||p===null||(f=zo(e,a),f!=null&&s.unshift(cs(e,f,p)),f=zo(e,i),f!=null&&s.push(cs(e,f,p))),e.tag===3)return s;e=e.return}return[]}function LE(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function pv(e,i,a,s,f){for(var p=i._reactName,v=[];a!==null&&a!==s;){var T=a,L=T.alternate,H=T.stateNode;if(T=T.tag,L!==null&&L===s)break;T!==5&&T!==26&&T!==27||H===null||(L=H,f?(H=zo(a,p),H!=null&&v.unshift(cs(a,H,L))):f||(H=zo(a,p),H!=null&&v.push(cs(a,H,L)))),a=a.return}v.length!==0&&e.push({event:i,listeners:v})}var kE=/\r\n?/g,PE=/\u0000|\uFFFD/g;function hv(e){return(typeof e=="string"?e:""+e).replace(kE,`
9
- `).replace(PE,"")}function mv(e,i){return i=hv(i),hv(e)===i}function ne(e,i,a,s,f,p){switch(a){case"children":typeof s=="string"?i==="body"||i==="textarea"&&s===""||va(e,s):(typeof s=="number"||typeof s=="bigint")&&i!=="body"&&va(e,""+s);break;case"className":Sl(e,"class",s);break;case"tabIndex":Sl(e,"tabindex",s);break;case"dir":case"role":case"viewBox":case"width":case"height":Sl(e,a,s);break;case"style":mg(e,s,p);break;case"data":if(i!=="object"){Sl(e,"data",s);break}case"src":case"href":if(s===""&&(i!=="a"||a!=="href")){e.removeAttribute(a);break}if(s==null||typeof s=="function"||typeof s=="symbol"||typeof s=="boolean"){e.removeAttribute(a);break}s=Tl(""+s),e.setAttribute(a,s);break;case"action":case"formAction":if(typeof s=="function"){e.setAttribute(a,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof p=="function"&&(a==="formAction"?(i!=="input"&&ne(e,i,"name",f.name,f,null),ne(e,i,"formEncType",f.formEncType,f,null),ne(e,i,"formMethod",f.formMethod,f,null),ne(e,i,"formTarget",f.formTarget,f,null)):(ne(e,i,"encType",f.encType,f,null),ne(e,i,"method",f.method,f,null),ne(e,i,"target",f.target,f,null)));if(s==null||typeof s=="symbol"||typeof s=="boolean"){e.removeAttribute(a);break}s=Tl(""+s),e.setAttribute(a,s);break;case"onClick":s!=null&&(e.onclick=Ri);break;case"onScroll":s!=null&&Bt("scroll",e);break;case"onScrollEnd":s!=null&&Bt("scrollend",e);break;case"dangerouslySetInnerHTML":if(s!=null){if(typeof s!="object"||!("__html"in s))throw Error(o(61));if(a=s.__html,a!=null){if(f.children!=null)throw Error(o(60));e.innerHTML=a}}break;case"multiple":e.multiple=s&&typeof s!="function"&&typeof s!="symbol";break;case"muted":e.muted=s&&typeof s!="function"&&typeof s!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(s==null||typeof s=="function"||typeof s=="boolean"||typeof s=="symbol"){e.removeAttribute("xlink:href");break}a=Tl(""+s),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",a);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":s!=null&&typeof s!="function"&&typeof s!="symbol"?e.setAttribute(a,""+s):e.removeAttribute(a);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":s&&typeof s!="function"&&typeof s!="symbol"?e.setAttribute(a,""):e.removeAttribute(a);break;case"capture":case"download":s===!0?e.setAttribute(a,""):s!==!1&&s!=null&&typeof s!="function"&&typeof s!="symbol"?e.setAttribute(a,s):e.removeAttribute(a);break;case"cols":case"rows":case"size":case"span":s!=null&&typeof s!="function"&&typeof s!="symbol"&&!isNaN(s)&&1<=s?e.setAttribute(a,s):e.removeAttribute(a);break;case"rowSpan":case"start":s==null||typeof s=="function"||typeof s=="symbol"||isNaN(s)?e.removeAttribute(a):e.setAttribute(a,s);break;case"popover":Bt("beforetoggle",e),Bt("toggle",e),bl(e,"popover",s);break;case"xlinkActuate":Ai(e,"http://www.w3.org/1999/xlink","xlink:actuate",s);break;case"xlinkArcrole":Ai(e,"http://www.w3.org/1999/xlink","xlink:arcrole",s);break;case"xlinkRole":Ai(e,"http://www.w3.org/1999/xlink","xlink:role",s);break;case"xlinkShow":Ai(e,"http://www.w3.org/1999/xlink","xlink:show",s);break;case"xlinkTitle":Ai(e,"http://www.w3.org/1999/xlink","xlink:title",s);break;case"xlinkType":Ai(e,"http://www.w3.org/1999/xlink","xlink:type",s);break;case"xmlBase":Ai(e,"http://www.w3.org/XML/1998/namespace","xml:base",s);break;case"xmlLang":Ai(e,"http://www.w3.org/XML/1998/namespace","xml:lang",s);break;case"xmlSpace":Ai(e,"http://www.w3.org/XML/1998/namespace","xml:space",s);break;case"is":bl(e,"is",s);break;case"innerText":case"textContent":break;default:(!(2<a.length)||a[0]!=="o"&&a[0]!=="O"||a[1]!=="n"&&a[1]!=="N")&&(a=d2.get(a)||a,bl(e,a,s))}}function Vd(e,i,a,s,f,p){switch(a){case"style":mg(e,s,p);break;case"dangerouslySetInnerHTML":if(s!=null){if(typeof s!="object"||!("__html"in s))throw Error(o(61));if(a=s.__html,a!=null){if(f.children!=null)throw Error(o(60));e.innerHTML=a}}break;case"children":typeof s=="string"?va(e,s):(typeof s=="number"||typeof s=="bigint")&&va(e,""+s);break;case"onScroll":s!=null&&Bt("scroll",e);break;case"onScrollEnd":s!=null&&Bt("scrollend",e);break;case"onClick":s!=null&&(e.onclick=Ri);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!og.hasOwnProperty(a))t:{if(a[0]==="o"&&a[1]==="n"&&(f=a.endsWith("Capture"),i=a.slice(2,f?a.length-7:void 0),p=e[fn]||null,p=p!=null?p[a]:null,typeof p=="function"&&e.removeEventListener(i,p,f),typeof s=="function")){typeof p!="function"&&p!==null&&(a in e?e[a]=null:e.hasAttribute(a)&&e.removeAttribute(a)),e.addEventListener(i,s,f);break t}a in e?e[a]=s:s===!0?e.setAttribute(a,""):bl(e,a,s)}}}function Ze(e,i,a){switch(i){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Bt("error",e),Bt("load",e);var s=!1,f=!1,p;for(p in a)if(a.hasOwnProperty(p)){var v=a[p];if(v!=null)switch(p){case"src":s=!0;break;case"srcSet":f=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(o(137,i));default:ne(e,i,p,v,a,null)}}f&&ne(e,i,"srcSet",a.srcSet,a,null),s&&ne(e,i,"src",a.src,a,null);return;case"input":Bt("invalid",e);var T=p=v=f=null,L=null,H=null;for(s in a)if(a.hasOwnProperty(s)){var J=a[s];if(J!=null)switch(s){case"name":f=J;break;case"type":v=J;break;case"checked":L=J;break;case"defaultChecked":H=J;break;case"value":p=J;break;case"defaultValue":T=J;break;case"children":case"dangerouslySetInnerHTML":if(J!=null)throw Error(o(137,i));break;default:ne(e,i,s,J,a,null)}}fg(e,p,T,L,H,v,f,!1);return;case"select":Bt("invalid",e),s=v=p=null;for(f in a)if(a.hasOwnProperty(f)&&(T=a[f],T!=null))switch(f){case"value":p=T;break;case"defaultValue":v=T;break;case"multiple":s=T;default:ne(e,i,f,T,a,null)}i=p,a=v,e.multiple=!!s,i!=null?ya(e,!!s,i,!1):a!=null&&ya(e,!!s,a,!0);return;case"textarea":Bt("invalid",e),p=f=s=null;for(v in a)if(a.hasOwnProperty(v)&&(T=a[v],T!=null))switch(v){case"value":s=T;break;case"defaultValue":f=T;break;case"children":p=T;break;case"dangerouslySetInnerHTML":if(T!=null)throw Error(o(91));break;default:ne(e,i,v,T,a,null)}pg(e,s,f,p);return;case"option":for(L in a)if(a.hasOwnProperty(L)&&(s=a[L],s!=null))switch(L){case"selected":e.selected=s&&typeof s!="function"&&typeof s!="symbol";break;default:ne(e,i,L,s,a,null)}return;case"dialog":Bt("beforetoggle",e),Bt("toggle",e),Bt("cancel",e),Bt("close",e);break;case"iframe":case"object":Bt("load",e);break;case"video":case"audio":for(s=0;s<us.length;s++)Bt(us[s],e);break;case"image":Bt("error",e),Bt("load",e);break;case"details":Bt("toggle",e);break;case"embed":case"source":case"link":Bt("error",e),Bt("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(H in a)if(a.hasOwnProperty(H)&&(s=a[H],s!=null))switch(H){case"children":case"dangerouslySetInnerHTML":throw Error(o(137,i));default:ne(e,i,H,s,a,null)}return;default:if(Jc(i)){for(J in a)a.hasOwnProperty(J)&&(s=a[J],s!==void 0&&Vd(e,i,J,s,a,void 0));return}}for(T in a)a.hasOwnProperty(T)&&(s=a[T],s!=null&&ne(e,i,T,s,a,null))}function UE(e,i,a,s){switch(i){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var f=null,p=null,v=null,T=null,L=null,H=null,J=null;for(X in a){var rt=a[X];if(a.hasOwnProperty(X)&&rt!=null)switch(X){case"checked":break;case"value":break;case"defaultValue":L=rt;default:s.hasOwnProperty(X)||ne(e,i,X,null,s,rt)}}for(var q in s){var X=s[q];if(rt=a[q],s.hasOwnProperty(q)&&(X!=null||rt!=null))switch(q){case"type":p=X;break;case"name":f=X;break;case"checked":H=X;break;case"defaultChecked":J=X;break;case"value":v=X;break;case"defaultValue":T=X;break;case"children":case"dangerouslySetInnerHTML":if(X!=null)throw Error(o(137,i));break;default:X!==rt&&ne(e,i,q,X,s,rt)}}Qc(e,v,T,L,H,J,p,f);return;case"select":X=v=T=q=null;for(p in a)if(L=a[p],a.hasOwnProperty(p)&&L!=null)switch(p){case"value":break;case"multiple":X=L;default:s.hasOwnProperty(p)||ne(e,i,p,null,s,L)}for(f in s)if(p=s[f],L=a[f],s.hasOwnProperty(f)&&(p!=null||L!=null))switch(f){case"value":q=p;break;case"defaultValue":T=p;break;case"multiple":v=p;default:p!==L&&ne(e,i,f,p,s,L)}i=T,a=v,s=X,q!=null?ya(e,!!a,q,!1):!!s!=!!a&&(i!=null?ya(e,!!a,i,!0):ya(e,!!a,a?[]:"",!1));return;case"textarea":X=q=null;for(T in a)if(f=a[T],a.hasOwnProperty(T)&&f!=null&&!s.hasOwnProperty(T))switch(T){case"value":break;case"children":break;default:ne(e,i,T,null,s,f)}for(v in s)if(f=s[v],p=a[v],s.hasOwnProperty(v)&&(f!=null||p!=null))switch(v){case"value":q=f;break;case"defaultValue":X=f;break;case"children":break;case"dangerouslySetInnerHTML":if(f!=null)throw Error(o(91));break;default:f!==p&&ne(e,i,v,f,s,p)}dg(e,q,X);return;case"option":for(var ct in a)if(q=a[ct],a.hasOwnProperty(ct)&&q!=null&&!s.hasOwnProperty(ct))switch(ct){case"selected":e.selected=!1;break;default:ne(e,i,ct,null,s,q)}for(L in s)if(q=s[L],X=a[L],s.hasOwnProperty(L)&&q!==X&&(q!=null||X!=null))switch(L){case"selected":e.selected=q&&typeof q!="function"&&typeof q!="symbol";break;default:ne(e,i,L,q,s,X)}return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var vt in a)q=a[vt],a.hasOwnProperty(vt)&&q!=null&&!s.hasOwnProperty(vt)&&ne(e,i,vt,null,s,q);for(H in s)if(q=s[H],X=a[H],s.hasOwnProperty(H)&&q!==X&&(q!=null||X!=null))switch(H){case"children":case"dangerouslySetInnerHTML":if(q!=null)throw Error(o(137,i));break;default:ne(e,i,H,q,s,X)}return;default:if(Jc(i)){for(var ie in a)q=a[ie],a.hasOwnProperty(ie)&&q!==void 0&&!s.hasOwnProperty(ie)&&Vd(e,i,ie,void 0,s,q);for(J in s)q=s[J],X=a[J],!s.hasOwnProperty(J)||q===X||q===void 0&&X===void 0||Vd(e,i,J,q,s,X);return}}for(var U in a)q=a[U],a.hasOwnProperty(U)&&q!=null&&!s.hasOwnProperty(U)&&ne(e,i,U,null,s,q);for(rt in s)q=s[rt],X=a[rt],!s.hasOwnProperty(rt)||q===X||q==null&&X==null||ne(e,i,rt,q,s,X)}function gv(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function VE(){if(typeof performance.getEntriesByType=="function"){for(var e=0,i=0,a=performance.getEntriesByType("resource"),s=0;s<a.length;s++){var f=a[s],p=f.transferSize,v=f.initiatorType,T=f.duration;if(p&&T&&gv(v)){for(v=0,T=f.responseEnd,s+=1;s<a.length;s++){var L=a[s],H=L.startTime;if(H>T)break;var J=L.transferSize,rt=L.initiatorType;J&&gv(rt)&&(L=L.responseEnd,v+=J*(L<T?1:(T-H)/(L-H)))}if(--s,i+=8*(p+v)/(f.duration/1e3),e++,10<e)break}}if(0<e)return i/e/1e6}return navigator.connection&&(e=navigator.connection.downlink,typeof e=="number")?e:5}var $d=null,Hd=null;function yu(e){return e.nodeType===9?e:e.ownerDocument}function yv(e){switch(e){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function vv(e,i){if(e===0)switch(i){case"svg":return 1;case"math":return 2;default:return 0}return e===1&&i==="foreignObject"?0:e}function Fd(e,i){return e==="textarea"||e==="noscript"||typeof i.children=="string"||typeof i.children=="number"||typeof i.children=="bigint"||typeof i.dangerouslySetInnerHTML=="object"&&i.dangerouslySetInnerHTML!==null&&i.dangerouslySetInnerHTML.__html!=null}var qd=null;function $E(){var e=window.event;return e&&e.type==="popstate"?e===qd?!1:(qd=e,!0):(qd=null,!1)}var bv=typeof setTimeout=="function"?setTimeout:void 0,HE=typeof clearTimeout=="function"?clearTimeout:void 0,Sv=typeof Promise=="function"?Promise:void 0,FE=typeof queueMicrotask=="function"?queueMicrotask:typeof Sv<"u"?function(e){return Sv.resolve(null).then(e).catch(qE)}:bv;function qE(e){setTimeout(function(){throw e})}function gr(e){return e==="head"}function xv(e,i){var a=i,s=0;do{var f=a.nextSibling;if(e.removeChild(a),f&&f.nodeType===8)if(a=f.data,a==="/$"||a==="/&"){if(s===0){e.removeChild(f),Xa(i);return}s--}else if(a==="$"||a==="$?"||a==="$~"||a==="$!"||a==="&")s++;else if(a==="html")fs(e.ownerDocument.documentElement);else if(a==="head"){a=e.ownerDocument.head,fs(a);for(var p=a.firstChild;p;){var v=p.nextSibling,T=p.nodeName;p[Oo]||T==="SCRIPT"||T==="STYLE"||T==="LINK"&&p.rel.toLowerCase()==="stylesheet"||a.removeChild(p),p=v}}else a==="body"&&fs(e.ownerDocument.body);a=f}while(a);Xa(i)}function Tv(e,i){var a=e;e=0;do{var s=a.nextSibling;if(a.nodeType===1?i?(a._stashedDisplay=a.style.display,a.style.display="none"):(a.style.display=a._stashedDisplay||"",a.getAttribute("style")===""&&a.removeAttribute("style")):a.nodeType===3&&(i?(a._stashedText=a.nodeValue,a.nodeValue=""):a.nodeValue=a._stashedText||""),s&&s.nodeType===8)if(a=s.data,a==="/$"){if(e===0)break;e--}else a!=="$"&&a!=="$?"&&a!=="$~"&&a!=="$!"||e++;a=s}while(a)}function Id(e){var i=e.firstChild;for(i&&i.nodeType===10&&(i=i.nextSibling);i;){var a=i;switch(i=i.nextSibling,a.nodeName){case"HTML":case"HEAD":case"BODY":Id(a),Xc(a);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(a.rel.toLowerCase()==="stylesheet")continue}e.removeChild(a)}}function IE(e,i,a,s){for(;e.nodeType===1;){var f=a;if(e.nodeName.toLowerCase()!==i.toLowerCase()){if(!s&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(s){if(!e[Oo])switch(i){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(p=e.getAttribute("rel"),p==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(p!==f.rel||e.getAttribute("href")!==(f.href==null||f.href===""?null:f.href)||e.getAttribute("crossorigin")!==(f.crossOrigin==null?null:f.crossOrigin)||e.getAttribute("title")!==(f.title==null?null:f.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(p=e.getAttribute("src"),(p!==(f.src==null?null:f.src)||e.getAttribute("type")!==(f.type==null?null:f.type)||e.getAttribute("crossorigin")!==(f.crossOrigin==null?null:f.crossOrigin))&&p&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(i==="input"&&e.type==="hidden"){var p=f.name==null?null:""+f.name;if(f.type==="hidden"&&e.getAttribute("name")===p)return e}else return e;if(e=Hn(e.nextSibling),e===null)break}return null}function GE(e,i,a){if(i==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!a||(e=Hn(e.nextSibling),e===null))return null;return e}function Cv(e,i){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!i||(e=Hn(e.nextSibling),e===null))return null;return e}function Gd(e){return e.data==="$?"||e.data==="$~"}function Yd(e){return e.data==="$!"||e.data==="$?"&&e.ownerDocument.readyState!=="loading"}function YE(e,i){var a=e.ownerDocument;if(e.data==="$~")e._reactRetry=i;else if(e.data!=="$?"||a.readyState!=="loading")i();else{var s=function(){i(),a.removeEventListener("DOMContentLoaded",s)};a.addEventListener("DOMContentLoaded",s),e._reactRetry=s}}function Hn(e){for(;e!=null;e=e.nextSibling){var i=e.nodeType;if(i===1||i===3)break;if(i===8){if(i=e.data,i==="$"||i==="$!"||i==="$?"||i==="$~"||i==="&"||i==="F!"||i==="F")break;if(i==="/$"||i==="/&")return null}}return e}var Kd=null;function Ev(e){e=e.nextSibling;for(var i=0;e;){if(e.nodeType===8){var a=e.data;if(a==="/$"||a==="/&"){if(i===0)return Hn(e.nextSibling);i--}else a!=="$"&&a!=="$!"&&a!=="$?"&&a!=="$~"&&a!=="&"||i++}e=e.nextSibling}return null}function Av(e){e=e.previousSibling;for(var i=0;e;){if(e.nodeType===8){var a=e.data;if(a==="$"||a==="$!"||a==="$?"||a==="$~"||a==="&"){if(i===0)return e;i--}else a!=="/$"&&a!=="/&"||i++}e=e.previousSibling}return null}function Rv(e,i,a){switch(i=yu(a),e){case"html":if(e=i.documentElement,!e)throw Error(o(452));return e;case"head":if(e=i.head,!e)throw Error(o(453));return e;case"body":if(e=i.body,!e)throw Error(o(454));return e;default:throw Error(o(451))}}function fs(e){for(var i=e.attributes;i.length;)e.removeAttributeNode(i[0]);Xc(e)}var Fn=new Map,wv=new Set;function vu(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}var Hi=F.d;F.d={f:KE,r:XE,D:WE,C:QE,L:ZE,m:JE,X:eA,S:tA,M:nA};function KE(){var e=Hi.f(),i=uu();return e||i}function XE(e){var i=ha(e);i!==null&&i.tag===5&&i.type==="form"?qy(i):Hi.r(e)}var Ga=typeof document>"u"?null:document;function Mv(e,i,a){var s=Ga;if(s&&typeof i=="string"&&i){var f=jn(i);f='link[rel="'+e+'"][href="'+f+'"]',typeof a=="string"&&(f+='[crossorigin="'+a+'"]'),wv.has(f)||(wv.add(f),e={rel:e,crossOrigin:a,href:i},s.querySelector(f)===null&&(i=s.createElement("link"),Ze(i,"link",e),Ie(i),s.head.appendChild(i)))}}function WE(e){Hi.D(e),Mv("dns-prefetch",e,null)}function QE(e,i){Hi.C(e,i),Mv("preconnect",e,i)}function ZE(e,i,a){Hi.L(e,i,a);var s=Ga;if(s&&e&&i){var f='link[rel="preload"][as="'+jn(i)+'"]';i==="image"&&a&&a.imageSrcSet?(f+='[imagesrcset="'+jn(a.imageSrcSet)+'"]',typeof a.imageSizes=="string"&&(f+='[imagesizes="'+jn(a.imageSizes)+'"]')):f+='[href="'+jn(e)+'"]';var p=f;switch(i){case"style":p=Ya(e);break;case"script":p=Ka(e)}Fn.has(p)||(e=y({rel:"preload",href:i==="image"&&a&&a.imageSrcSet?void 0:e,as:i},a),Fn.set(p,e),s.querySelector(f)!==null||i==="style"&&s.querySelector(ds(p))||i==="script"&&s.querySelector(ps(p))||(i=s.createElement("link"),Ze(i,"link",e),Ie(i),s.head.appendChild(i)))}}function JE(e,i){Hi.m(e,i);var a=Ga;if(a&&e){var s=i&&typeof i.as=="string"?i.as:"script",f='link[rel="modulepreload"][as="'+jn(s)+'"][href="'+jn(e)+'"]',p=f;switch(s){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":p=Ka(e)}if(!Fn.has(p)&&(e=y({rel:"modulepreload",href:e},i),Fn.set(p,e),a.querySelector(f)===null)){switch(s){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(a.querySelector(ps(p)))return}s=a.createElement("link"),Ze(s,"link",e),Ie(s),a.head.appendChild(s)}}}function tA(e,i,a){Hi.S(e,i,a);var s=Ga;if(s&&e){var f=ma(s).hoistableStyles,p=Ya(e);i=i||"default";var v=f.get(p);if(!v){var T={loading:0,preload:null};if(v=s.querySelector(ds(p)))T.loading=5;else{e=y({rel:"stylesheet",href:e,"data-precedence":i},a),(a=Fn.get(p))&&Xd(e,a);var L=v=s.createElement("link");Ie(L),Ze(L,"link",e),L._p=new Promise(function(H,J){L.onload=H,L.onerror=J}),L.addEventListener("load",function(){T.loading|=1}),L.addEventListener("error",function(){T.loading|=2}),T.loading|=4,bu(v,i,s)}v={type:"stylesheet",instance:v,count:1,state:T},f.set(p,v)}}}function eA(e,i){Hi.X(e,i);var a=Ga;if(a&&e){var s=ma(a).hoistableScripts,f=Ka(e),p=s.get(f);p||(p=a.querySelector(ps(f)),p||(e=y({src:e,async:!0},i),(i=Fn.get(f))&&Wd(e,i),p=a.createElement("script"),Ie(p),Ze(p,"link",e),a.head.appendChild(p)),p={type:"script",instance:p,count:1,state:null},s.set(f,p))}}function nA(e,i){Hi.M(e,i);var a=Ga;if(a&&e){var s=ma(a).hoistableScripts,f=Ka(e),p=s.get(f);p||(p=a.querySelector(ps(f)),p||(e=y({src:e,async:!0,type:"module"},i),(i=Fn.get(f))&&Wd(e,i),p=a.createElement("script"),Ie(p),Ze(p,"link",e),a.head.appendChild(p)),p={type:"script",instance:p,count:1,state:null},s.set(f,p))}}function Ov(e,i,a,s){var f=(f=yt.current)?vu(f):null;if(!f)throw Error(o(446));switch(e){case"meta":case"title":return null;case"style":return typeof a.precedence=="string"&&typeof a.href=="string"?(i=Ya(a.href),a=ma(f).hoistableStyles,s=a.get(i),s||(s={type:"style",instance:null,count:0,state:null},a.set(i,s)),s):{type:"void",instance:null,count:0,state:null};case"link":if(a.rel==="stylesheet"&&typeof a.href=="string"&&typeof a.precedence=="string"){e=Ya(a.href);var p=ma(f).hoistableStyles,v=p.get(e);if(v||(f=f.ownerDocument||f,v={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},p.set(e,v),(p=f.querySelector(ds(e)))&&!p._p&&(v.instance=p,v.state.loading=5),Fn.has(e)||(a={rel:"preload",as:"style",href:a.href,crossOrigin:a.crossOrigin,integrity:a.integrity,media:a.media,hrefLang:a.hrefLang,referrerPolicy:a.referrerPolicy},Fn.set(e,a),p||iA(f,e,a,v.state))),i&&s===null)throw Error(o(528,""));return v}if(i&&s!==null)throw Error(o(529,""));return null;case"script":return i=a.async,a=a.src,typeof a=="string"&&i&&typeof i!="function"&&typeof i!="symbol"?(i=Ka(a),a=ma(f).hoistableScripts,s=a.get(i),s||(s={type:"script",instance:null,count:0,state:null},a.set(i,s)),s):{type:"void",instance:null,count:0,state:null};default:throw Error(o(444,e))}}function Ya(e){return'href="'+jn(e)+'"'}function ds(e){return'link[rel="stylesheet"]['+e+"]"}function Dv(e){return y({},e,{"data-precedence":e.precedence,precedence:null})}function iA(e,i,a,s){e.querySelector('link[rel="preload"][as="style"]['+i+"]")?s.loading=1:(i=e.createElement("link"),s.preload=i,i.addEventListener("load",function(){return s.loading|=1}),i.addEventListener("error",function(){return s.loading|=2}),Ze(i,"link",a),Ie(i),e.head.appendChild(i))}function Ka(e){return'[src="'+jn(e)+'"]'}function ps(e){return"script[async]"+e}function zv(e,i,a){if(i.count++,i.instance===null)switch(i.type){case"style":var s=e.querySelector('style[data-href~="'+jn(a.href)+'"]');if(s)return i.instance=s,Ie(s),s;var f=y({},a,{"data-href":a.href,"data-precedence":a.precedence,href:null,precedence:null});return s=(e.ownerDocument||e).createElement("style"),Ie(s),Ze(s,"style",f),bu(s,a.precedence,e),i.instance=s;case"stylesheet":f=Ya(a.href);var p=e.querySelector(ds(f));if(p)return i.state.loading|=4,i.instance=p,Ie(p),p;s=Dv(a),(f=Fn.get(f))&&Xd(s,f),p=(e.ownerDocument||e).createElement("link"),Ie(p);var v=p;return v._p=new Promise(function(T,L){v.onload=T,v.onerror=L}),Ze(p,"link",s),i.state.loading|=4,bu(p,a.precedence,e),i.instance=p;case"script":return p=Ka(a.src),(f=e.querySelector(ps(p)))?(i.instance=f,Ie(f),f):(s=a,(f=Fn.get(p))&&(s=y({},a),Wd(s,f)),e=e.ownerDocument||e,f=e.createElement("script"),Ie(f),Ze(f,"link",s),e.head.appendChild(f),i.instance=f);case"void":return null;default:throw Error(o(443,i.type))}else i.type==="stylesheet"&&(i.state.loading&4)===0&&(s=i.instance,i.state.loading|=4,bu(s,a.precedence,e));return i.instance}function bu(e,i,a){for(var s=a.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),f=s.length?s[s.length-1]:null,p=f,v=0;v<s.length;v++){var T=s[v];if(T.dataset.precedence===i)p=T;else if(p!==f)break}p?p.parentNode.insertBefore(e,p.nextSibling):(i=a.nodeType===9?a.head:a,i.insertBefore(e,i.firstChild))}function Xd(e,i){e.crossOrigin==null&&(e.crossOrigin=i.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=i.referrerPolicy),e.title==null&&(e.title=i.title)}function Wd(e,i){e.crossOrigin==null&&(e.crossOrigin=i.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=i.referrerPolicy),e.integrity==null&&(e.integrity=i.integrity)}var Su=null;function Bv(e,i,a){if(Su===null){var s=new Map,f=Su=new Map;f.set(a,s)}else f=Su,s=f.get(a),s||(s=new Map,f.set(a,s));if(s.has(e))return s;for(s.set(e,null),a=a.getElementsByTagName(e),f=0;f<a.length;f++){var p=a[f];if(!(p[Oo]||p[Ke]||e==="link"&&p.getAttribute("rel")==="stylesheet")&&p.namespaceURI!=="http://www.w3.org/2000/svg"){var v=p.getAttribute(i)||"";v=e+v;var T=s.get(v);T?T.push(p):s.set(v,[p])}}return s}function Nv(e,i,a){e=e.ownerDocument||e,e.head.insertBefore(a,i==="title"?e.querySelector("head > title"):null)}function rA(e,i,a){if(a===1||i.itemProp!=null)return!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof i.precedence!="string"||typeof i.href!="string"||i.href==="")break;return!0;case"link":if(typeof i.rel!="string"||typeof i.href!="string"||i.href===""||i.onLoad||i.onError)break;switch(i.rel){case"stylesheet":return e=i.disabled,typeof i.precedence=="string"&&e==null;default:return!0}case"script":if(i.async&&typeof i.async!="function"&&typeof i.async!="symbol"&&!i.onLoad&&!i.onError&&i.src&&typeof i.src=="string")return!0}return!1}function _v(e){return!(e.type==="stylesheet"&&(e.state.loading&3)===0)}function aA(e,i,a,s){if(a.type==="stylesheet"&&(typeof s.media!="string"||matchMedia(s.media).matches!==!1)&&(a.state.loading&4)===0){if(a.instance===null){var f=Ya(s.href),p=i.querySelector(ds(f));if(p){i=p._p,i!==null&&typeof i=="object"&&typeof i.then=="function"&&(e.count++,e=xu.bind(e),i.then(e,e)),a.state.loading|=4,a.instance=p,Ie(p);return}p=i.ownerDocument||i,s=Dv(s),(f=Fn.get(f))&&Xd(s,f),p=p.createElement("link"),Ie(p);var v=p;v._p=new Promise(function(T,L){v.onload=T,v.onerror=L}),Ze(p,"link",s),a.instance=p}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(a,i),(i=a.state.preload)&&(a.state.loading&3)===0&&(e.count++,a=xu.bind(e),i.addEventListener("load",a),i.addEventListener("error",a))}}var Qd=0;function oA(e,i){return e.stylesheets&&e.count===0&&Cu(e,e.stylesheets),0<e.count||0<e.imgCount?function(a){var s=setTimeout(function(){if(e.stylesheets&&Cu(e,e.stylesheets),e.unsuspend){var p=e.unsuspend;e.unsuspend=null,p()}},6e4+i);0<e.imgBytes&&Qd===0&&(Qd=62500*VE());var f=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&Cu(e,e.stylesheets),e.unsuspend)){var p=e.unsuspend;e.unsuspend=null,p()}},(e.imgBytes>Qd?50:800)+i);return e.unsuspend=a,function(){e.unsuspend=null,clearTimeout(s),clearTimeout(f)}}:null}function xu(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Cu(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var Tu=null;function Cu(e,i){e.stylesheets=null,e.unsuspend!==null&&(e.count++,Tu=new Map,i.forEach(sA,e),Tu=null,xu.call(e))}function sA(e,i){if(!(i.state.loading&4)){var a=Tu.get(e);if(a)var s=a.get(null);else{a=new Map,Tu.set(e,a);for(var f=e.querySelectorAll("link[data-precedence],style[data-precedence]"),p=0;p<f.length;p++){var v=f[p];(v.nodeName==="LINK"||v.getAttribute("media")!=="not all")&&(a.set(v.dataset.precedence,v),s=v)}s&&a.set(null,s)}f=i.instance,v=f.getAttribute("data-precedence"),p=a.get(v)||s,p===s&&a.set(null,f),a.set(v,f),this.count++,s=xu.bind(this),f.addEventListener("load",s),f.addEventListener("error",s),p?p.parentNode.insertBefore(f,p.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(f,e.firstChild)),i.state.loading|=4}}var hs={$$typeof:w,Provider:null,Consumer:null,_currentValue:at,_currentValue2:at,_threadCount:0};function lA(e,i,a,s,f,p,v,T,L){this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=Ic(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Ic(0),this.hiddenUpdates=Ic(null),this.identifierPrefix=s,this.onUncaughtError=f,this.onCaughtError=p,this.onRecoverableError=v,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=L,this.incompleteTransitions=new Map}function jv(e,i,a,s,f,p,v,T,L,H,J,rt){return e=new lA(e,i,a,v,L,H,J,rt,T),i=1,p===!0&&(i|=24),p=An(3,null,null,i),e.current=p,p.stateNode=e,i=Df(),i.refCount++,e.pooledCache=i,i.refCount++,p.memoizedState={element:s,isDehydrated:a,cache:i},_f(p),e}function Lv(e){return e?(e=Aa,e):Aa}function kv(e,i,a,s,f,p){f=Lv(f),s.context===null?s.context=f:s.pendingContext=f,s=ar(i),s.payload={element:a},p=p===void 0?null:p,p!==null&&(s.callback=p),a=or(e,s,i),a!==null&&(yn(a,e,i),Go(a,e,i))}function Pv(e,i){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var a=e.retryLane;e.retryLane=a!==0&&a<i?a:i}}function Zd(e,i){Pv(e,i),(e=e.alternate)&&Pv(e,i)}function Uv(e){if(e.tag===13||e.tag===31){var i=_r(e,67108864);i!==null&&yn(i,e,67108864),Zd(e,67108864)}}function Vv(e){if(e.tag===13||e.tag===31){var i=Dn();i=Gc(i);var a=_r(e,i);a!==null&&yn(a,e,i),Zd(e,i)}}var Eu=!0;function uA(e,i,a,s){var f=B.T;B.T=null;var p=F.p;try{F.p=2,Jd(e,i,a,s)}finally{F.p=p,B.T=f}}function cA(e,i,a,s){var f=B.T;B.T=null;var p=F.p;try{F.p=8,Jd(e,i,a,s)}finally{F.p=p,B.T=f}}function Jd(e,i,a,s){if(Eu){var f=tp(s);if(f===null)Ud(e,i,s,Au,a),Hv(e,s);else if(dA(f,e,i,a,s))s.stopPropagation();else if(Hv(e,s),i&4&&-1<fA.indexOf(e)){for(;f!==null;){var p=ha(f);if(p!==null)switch(p.tag){case 3:if(p=p.stateNode,p.current.memoizedState.isDehydrated){var v=Or(p.pendingLanes);if(v!==0){var T=p;for(T.pendingLanes|=2,T.entangledLanes|=2;v;){var L=1<<31-Ot(v);T.entanglements[1]|=L,v&=~L}pi(p),(Ht&6)===0&&(su=kt()+500,ls(0))}}break;case 31:case 13:T=_r(p,2),T!==null&&yn(T,p,2),uu(),Zd(p,2)}if(p=tp(s),p===null&&Ud(e,i,s,Au,a),p===f)break;f=p}f!==null&&s.stopPropagation()}else Ud(e,i,s,null,a)}}function tp(e){return e=ef(e),ep(e)}var Au=null;function ep(e){if(Au=null,e=pa(e),e!==null){var i=u(e);if(i===null)e=null;else{var a=i.tag;if(a===13){if(e=c(i),e!==null)return e;e=null}else if(a===31){if(e=d(i),e!==null)return e;e=null}else if(a===3){if(i.stateNode.current.memoizedState.isDehydrated)return i.tag===3?i.stateNode.containerInfo:null;e=null}else i!==e&&(e=null)}}return Au=e,null}function $v(e){switch(e){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(Zn()){case Me:return 2;case It:return 8;case pe:case He:return 32;case en:return 268435456;default:return 32}default:return 32}}var np=!1,yr=null,vr=null,br=null,ms=new Map,gs=new Map,Sr=[],fA="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");function Hv(e,i){switch(e){case"focusin":case"focusout":yr=null;break;case"dragenter":case"dragleave":vr=null;break;case"mouseover":case"mouseout":br=null;break;case"pointerover":case"pointerout":ms.delete(i.pointerId);break;case"gotpointercapture":case"lostpointercapture":gs.delete(i.pointerId)}}function ys(e,i,a,s,f,p){return e===null||e.nativeEvent!==p?(e={blockedOn:i,domEventName:a,eventSystemFlags:s,nativeEvent:p,targetContainers:[f]},i!==null&&(i=ha(i),i!==null&&Uv(i)),e):(e.eventSystemFlags|=s,i=e.targetContainers,f!==null&&i.indexOf(f)===-1&&i.push(f),e)}function dA(e,i,a,s,f){switch(i){case"focusin":return yr=ys(yr,e,i,a,s,f),!0;case"dragenter":return vr=ys(vr,e,i,a,s,f),!0;case"mouseover":return br=ys(br,e,i,a,s,f),!0;case"pointerover":var p=f.pointerId;return ms.set(p,ys(ms.get(p)||null,e,i,a,s,f)),!0;case"gotpointercapture":return p=f.pointerId,gs.set(p,ys(gs.get(p)||null,e,i,a,s,f)),!0}return!1}function Fv(e){var i=pa(e.target);if(i!==null){var a=u(i);if(a!==null){if(i=a.tag,i===13){if(i=c(a),i!==null){e.blockedOn=i,ig(e.priority,function(){Vv(a)});return}}else if(i===31){if(i=d(a),i!==null){e.blockedOn=i,ig(e.priority,function(){Vv(a)});return}}else if(i===3&&a.stateNode.current.memoizedState.isDehydrated){e.blockedOn=a.tag===3?a.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Ru(e){if(e.blockedOn!==null)return!1;for(var i=e.targetContainers;0<i.length;){var a=tp(e.nativeEvent);if(a===null){a=e.nativeEvent;var s=new a.constructor(a.type,a);tf=s,a.target.dispatchEvent(s),tf=null}else return i=ha(a),i!==null&&Uv(i),e.blockedOn=a,!1;i.shift()}return!0}function qv(e,i,a){Ru(e)&&a.delete(i)}function pA(){np=!1,yr!==null&&Ru(yr)&&(yr=null),vr!==null&&Ru(vr)&&(vr=null),br!==null&&Ru(br)&&(br=null),ms.forEach(qv),gs.forEach(qv)}function wu(e,i){e.blockedOn===i&&(e.blockedOn=null,np||(np=!0,t.unstable_scheduleCallback(t.unstable_NormalPriority,pA)))}var Mu=null;function Iv(e){Mu!==e&&(Mu=e,t.unstable_scheduleCallback(t.unstable_NormalPriority,function(){Mu===e&&(Mu=null);for(var i=0;i<e.length;i+=3){var a=e[i],s=e[i+1],f=e[i+2];if(typeof s!="function"){if(ep(s||a)===null)continue;break}var p=ha(a);p!==null&&(e.splice(i,3),i-=3,td(p,{pending:!0,data:f,method:a.method,action:s},s,f))}}))}function Xa(e){function i(L){return wu(L,e)}yr!==null&&wu(yr,e),vr!==null&&wu(vr,e),br!==null&&wu(br,e),ms.forEach(i),gs.forEach(i);for(var a=0;a<Sr.length;a++){var s=Sr[a];s.blockedOn===e&&(s.blockedOn=null)}for(;0<Sr.length&&(a=Sr[0],a.blockedOn===null);)Fv(a),a.blockedOn===null&&Sr.shift();if(a=(e.ownerDocument||e).$$reactFormReplay,a!=null)for(s=0;s<a.length;s+=3){var f=a[s],p=a[s+1],v=f[fn]||null;if(typeof p=="function")v||Iv(a);else if(v){var T=null;if(p&&p.hasAttribute("formAction")){if(f=p,v=p[fn]||null)T=v.formAction;else if(ep(f)!==null)continue}else T=v.action;typeof T=="function"?a[s+1]=T:(a.splice(s,3),s-=3),Iv(a)}}}function Gv(){function e(p){p.canIntercept&&p.info==="react-transition"&&p.intercept({handler:function(){return new Promise(function(v){return f=v})},focusReset:"manual",scroll:"manual"})}function i(){f!==null&&(f(),f=null),s||setTimeout(a,20)}function a(){if(!s&&!navigation.transition){var p=navigation.currentEntry;p&&p.url!=null&&navigation.navigate(p.url,{state:p.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var s=!1,f=null;return navigation.addEventListener("navigate",e),navigation.addEventListener("navigatesuccess",i),navigation.addEventListener("navigateerror",i),setTimeout(a,100),function(){s=!0,navigation.removeEventListener("navigate",e),navigation.removeEventListener("navigatesuccess",i),navigation.removeEventListener("navigateerror",i),f!==null&&(f(),f=null)}}}function ip(e){this._internalRoot=e}Ou.prototype.render=ip.prototype.render=function(e){var i=this._internalRoot;if(i===null)throw Error(o(409));var a=i.current,s=Dn();kv(a,s,e,i,null,null)},Ou.prototype.unmount=ip.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var i=e.containerInfo;kv(e.current,2,null,e,null,null),uu(),i[da]=null}};function Ou(e){this._internalRoot=e}Ou.prototype.unstable_scheduleHydration=function(e){if(e){var i=ng();e={blockedOn:null,target:e,priority:i};for(var a=0;a<Sr.length&&i!==0&&i<Sr[a].priority;a++);Sr.splice(a,0,e),a===0&&Fv(e)}};var Yv=n.version;if(Yv!=="19.2.0")throw Error(o(527,Yv,"19.2.0"));F.findDOMNode=function(e){var i=e._reactInternals;if(i===void 0)throw typeof e.render=="function"?Error(o(188)):(e=Object.keys(e).join(","),Error(o(268,e)));return e=m(i),e=e!==null?g(e):null,e=e===null?null:e.stateNode,e};var hA={bundleType:0,version:"19.2.0",rendererPackageName:"react-dom",currentDispatcherRef:B,reconcilerVersion:"19.2.0"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Du=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Du.isDisabled&&Du.supportsFiber)try{ui=Du.inject(hA),nn=Du}catch{}}return bs.createRoot=function(e,i){if(!l(e))throw Error(o(299));var a=!1,s="",f=t0,p=e0,v=n0;return i!=null&&(i.unstable_strictMode===!0&&(a=!0),i.identifierPrefix!==void 0&&(s=i.identifierPrefix),i.onUncaughtError!==void 0&&(f=i.onUncaughtError),i.onCaughtError!==void 0&&(p=i.onCaughtError),i.onRecoverableError!==void 0&&(v=i.onRecoverableError)),i=jv(e,1,!1,null,null,a,s,null,f,p,v,Gv),e[da]=i.current,Pd(e),new ip(i)},bs.hydrateRoot=function(e,i,a){if(!l(e))throw Error(o(299));var s=!1,f="",p=t0,v=e0,T=n0,L=null;return a!=null&&(a.unstable_strictMode===!0&&(s=!0),a.identifierPrefix!==void 0&&(f=a.identifierPrefix),a.onUncaughtError!==void 0&&(p=a.onUncaughtError),a.onCaughtError!==void 0&&(v=a.onCaughtError),a.onRecoverableError!==void 0&&(T=a.onRecoverableError),a.formState!==void 0&&(L=a.formState)),i=jv(e,1,!0,i,a??null,s,f,L,p,v,T,Gv),i.context=Lv(null),a=i.current,s=Dn(),s=Gc(s),f=ar(s),f.callback=null,or(a,f,s),a=s,i.current.lanes=a,Mo(i,a),pi(i),e[da]=i.current,Pd(e),new Ou(i)},bs.version="19.2.0",bs}var ib;function EA(){if(ib)return op.exports;ib=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(n){console.error(n)}}return t(),op.exports=CA(),op.exports}var AA=EA();const RA=jh(AA),Us={black:"#000",white:"#fff"},Wa={300:"#e57373",400:"#ef5350",500:"#f44336",700:"#d32f2f",800:"#c62828"},Qa={50:"#f3e5f5",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",700:"#7b1fa2"},Za={50:"#e3f2fd",200:"#90caf9",400:"#42a5f5",700:"#1976d2",800:"#1565c0"},Ja={300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",700:"#0288d1",900:"#01579b"},to={300:"#81c784",400:"#66bb6a",500:"#4caf50",700:"#388e3c",800:"#2e7d32",900:"#1b5e20"},Ss={300:"#ffb74d",400:"#ffa726",500:"#ff9800",700:"#f57c00",900:"#e65100"},wA={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"};function Ii(t,...n){const r=new URL(`https://mui.com/production-error/?code=${t}`);return n.forEach(o=>r.searchParams.append("args[]",o)),`Minified MUI error #${t}; visit ${r} for the full message.`}const Si="$$material";function nc(){return nc=Object.assign?Object.assign.bind():function(t){for(var n=1;n<arguments.length;n++){var r=arguments[n];for(var o in r)({}).hasOwnProperty.call(r,o)&&(t[o]=r[o])}return t},nc.apply(null,arguments)}function MA(t){if(t.sheet)return t.sheet;for(var n=0;n<document.styleSheets.length;n++)if(document.styleSheets[n].ownerNode===t)return document.styleSheets[n]}function OA(t){var n=document.createElement("style");return n.setAttribute("data-emotion",t.key),t.nonce!==void 0&&n.setAttribute("nonce",t.nonce),n.appendChild(document.createTextNode("")),n.setAttribute("data-s",""),n}var DA=(function(){function t(r){var o=this;this._insertTag=function(l){var u;o.tags.length===0?o.insertionPoint?u=o.insertionPoint.nextSibling:o.prepend?u=o.container.firstChild:u=o.before:u=o.tags[o.tags.length-1].nextSibling,o.container.insertBefore(l,u),o.tags.push(l)},this.isSpeedy=r.speedy===void 0?!0:r.speedy,this.tags=[],this.ctr=0,this.nonce=r.nonce,this.key=r.key,this.container=r.container,this.prepend=r.prepend,this.insertionPoint=r.insertionPoint,this.before=null}var n=t.prototype;return n.hydrate=function(o){o.forEach(this._insertTag)},n.insert=function(o){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(OA(this));var l=this.tags[this.tags.length-1];if(this.isSpeedy){var u=MA(l);try{u.insertRule(o,u.cssRules.length)}catch{}}else l.appendChild(document.createTextNode(o));this.ctr++},n.flush=function(){this.tags.forEach(function(o){var l;return(l=o.parentNode)==null?void 0:l.removeChild(o)}),this.tags=[],this.ctr=0},t})(),an="-ms-",ic="-moz-",Ft="-webkit-",I1="comm",kh="rule",Ph="decl",zA="@import",G1="@keyframes",BA="@layer",NA=Math.abs,gc=String.fromCharCode,_A=Object.assign;function jA(t,n){return tn(t,0)^45?(((n<<2^tn(t,0))<<2^tn(t,1))<<2^tn(t,2))<<2^tn(t,3):0}function Y1(t){return t.trim()}function LA(t,n){return(t=n.exec(t))?t[0]:t}function qt(t,n,r){return t.replace(n,r)}function Fp(t,n){return t.indexOf(n)}function tn(t,n){return t.charCodeAt(n)|0}function Vs(t,n,r){return t.slice(n,r)}function yi(t){return t.length}function Uh(t){return t.length}function zu(t,n){return n.push(t),t}function kA(t,n){return t.map(n).join("")}var yc=1,ho=1,K1=0,xn=0,Ve=0,bo="";function vc(t,n,r,o,l,u,c){return{value:t,root:n,parent:r,type:o,props:l,children:u,line:yc,column:ho,length:c,return:""}}function xs(t,n){return _A(vc("",null,null,"",null,null,0),t,{length:-t.length},n)}function PA(){return Ve}function UA(){return Ve=xn>0?tn(bo,--xn):0,ho--,Ve===10&&(ho=1,yc--),Ve}function Bn(){return Ve=xn<K1?tn(bo,xn++):0,ho++,Ve===10&&(ho=1,yc++),Ve}function xi(){return tn(bo,xn)}function qu(){return xn}function Ws(t,n){return Vs(bo,t,n)}function $s(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 X1(t){return yc=ho=1,K1=yi(bo=t),xn=0,[]}function W1(t){return bo="",t}function Iu(t){return Y1(Ws(xn-1,qp(t===91?t+2:t===40?t+1:t)))}function VA(t){for(;(Ve=xi())&&Ve<33;)Bn();return $s(t)>2||$s(Ve)>3?"":" "}function $A(t,n){for(;--n&&Bn()&&!(Ve<48||Ve>102||Ve>57&&Ve<65||Ve>70&&Ve<97););return Ws(t,qu()+(n<6&&xi()==32&&Bn()==32))}function qp(t){for(;Bn();)switch(Ve){case t:return xn;case 34:case 39:t!==34&&t!==39&&qp(Ve);break;case 40:t===41&&qp(t);break;case 92:Bn();break}return xn}function HA(t,n){for(;Bn()&&t+Ve!==57;)if(t+Ve===84&&xi()===47)break;return"/*"+Ws(n,xn-1)+"*"+gc(t===47?t:Bn())}function FA(t){for(;!$s(xi());)Bn();return Ws(t,xn)}function qA(t){return W1(Gu("",null,null,null,[""],t=X1(t),0,[0],t))}function Gu(t,n,r,o,l,u,c,d,h){for(var m=0,g=0,y=c,b=0,C=0,S=0,x=1,A=1,M=1,N=0,w="",O=l,D=u,_=o,k=w;A;)switch(S=N,N=Bn()){case 40:if(S!=108&&tn(k,y-1)==58){Fp(k+=qt(Iu(N),"&","&\f"),"&\f")!=-1&&(M=-1);break}case 34:case 39:case 91:k+=Iu(N);break;case 9:case 10:case 13:case 32:k+=VA(S);break;case 92:k+=$A(qu()-1,7);continue;case 47:switch(xi()){case 42:case 47:zu(IA(HA(Bn(),qu()),n,r),h);break;default:k+="/"}break;case 123*x:d[m++]=yi(k)*M;case 125*x:case 59:case 0:switch(N){case 0:case 125:A=0;case 59+g:M==-1&&(k=qt(k,/\f/g,"")),C>0&&yi(k)-y&&zu(C>32?ab(k+";",o,r,y-1):ab(qt(k," ","")+";",o,r,y-2),h);break;case 59:k+=";";default:if(zu(_=rb(k,n,r,m,g,l,d,w,O=[],D=[],y),u),N===123)if(g===0)Gu(k,n,_,_,O,u,y,d,D);else switch(b===99&&tn(k,3)===110?100:b){case 100:case 108:case 109:case 115:Gu(t,_,_,o&&zu(rb(t,_,_,0,0,l,d,w,l,O=[],y),D),l,D,y,d,o?O:D);break;default:Gu(k,_,_,_,[""],D,0,d,D)}}m=g=C=0,x=M=1,w=k="",y=c;break;case 58:y=1+yi(k),C=S;default:if(x<1){if(N==123)--x;else if(N==125&&x++==0&&UA()==125)continue}switch(k+=gc(N),N*x){case 38:M=g>0?1:(k+="\f",-1);break;case 44:d[m++]=(yi(k)-1)*M,M=1;break;case 64:xi()===45&&(k+=Iu(Bn())),b=xi(),g=y=yi(w=k+=FA(qu())),N++;break;case 45:S===45&&yi(k)==2&&(x=0)}}return u}function rb(t,n,r,o,l,u,c,d,h,m,g){for(var y=l-1,b=l===0?u:[""],C=Uh(b),S=0,x=0,A=0;S<o;++S)for(var M=0,N=Vs(t,y+1,y=NA(x=c[S])),w=t;M<C;++M)(w=Y1(x>0?b[M]+" "+N:qt(N,/&\f/g,b[M])))&&(h[A++]=w);return vc(t,n,r,l===0?kh:d,h,m,g)}function IA(t,n,r){return vc(t,n,r,I1,gc(PA()),Vs(t,2,-2),0)}function ab(t,n,r,o){return vc(t,n,r,Ph,Vs(t,0,o),Vs(t,o+1,-1),o)}function uo(t,n){for(var r="",o=Uh(t),l=0;l<o;l++)r+=n(t[l],l,t,n)||"";return r}function GA(t,n,r,o){switch(t.type){case BA:if(t.children.length)break;case zA:case Ph:return t.return=t.return||t.value;case I1:return"";case G1:return t.return=t.value+"{"+uo(t.children,o)+"}";case kh:t.value=t.props.join(",")}return yi(r=uo(t.children,o))?t.return=t.value+"{"+r+"}":""}function YA(t){var n=Uh(t);return function(r,o,l,u){for(var c="",d=0;d<n;d++)c+=t[d](r,o,l,u)||"";return c}}function KA(t){return function(n){n.root||(n=n.return)&&t(n)}}function Q1(t){var n=Object.create(null);return function(r){return n[r]===void 0&&(n[r]=t(r)),n[r]}}var XA=function(n,r,o){for(var l=0,u=0;l=u,u=xi(),l===38&&u===12&&(r[o]=1),!$s(u);)Bn();return Ws(n,xn)},WA=function(n,r){var o=-1,l=44;do switch($s(l)){case 0:l===38&&xi()===12&&(r[o]=1),n[o]+=XA(xn-1,r,o);break;case 2:n[o]+=Iu(l);break;case 4:if(l===44){n[++o]=xi()===58?"&\f":"",r[o]=n[o].length;break}default:n[o]+=gc(l)}while(l=Bn());return n},QA=function(n,r){return W1(WA(X1(n),r))},ob=new WeakMap,ZA=function(n){if(!(n.type!=="rule"||!n.parent||n.length<1)){for(var r=n.value,o=n.parent,l=n.column===o.column&&n.line===o.line;o.type!=="rule";)if(o=o.parent,!o)return;if(!(n.props.length===1&&r.charCodeAt(0)!==58&&!ob.get(o))&&!l){ob.set(n,!0);for(var u=[],c=QA(r,u),d=o.props,h=0,m=0;h<c.length;h++)for(var g=0;g<d.length;g++,m++)n.props[m]=u[h]?c[h].replace(/&\f/g,d[g]):d[g]+" "+c[h]}}},JA=function(n){if(n.type==="decl"){var r=n.value;r.charCodeAt(0)===108&&r.charCodeAt(2)===98&&(n.return="",n.value="")}};function Z1(t,n){switch(jA(t,n)){case 5103:return Ft+"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 Ft+t+t;case 5349:case 4246:case 4810:case 6968:case 2756:return Ft+t+ic+t+an+t+t;case 6828:case 4268:return Ft+t+an+t+t;case 6165:return Ft+t+an+"flex-"+t+t;case 5187:return Ft+t+qt(t,/(\w+).+(:[^]+)/,Ft+"box-$1$2"+an+"flex-$1$2")+t;case 5443:return Ft+t+an+"flex-item-"+qt(t,/flex-|-self/,"")+t;case 4675:return Ft+t+an+"flex-line-pack"+qt(t,/align-content|flex-|-self/,"")+t;case 5548:return Ft+t+an+qt(t,"shrink","negative")+t;case 5292:return Ft+t+an+qt(t,"basis","preferred-size")+t;case 6060:return Ft+"box-"+qt(t,"-grow","")+Ft+t+an+qt(t,"grow","positive")+t;case 4554:return Ft+qt(t,/([^-])(transform)/g,"$1"+Ft+"$2")+t;case 6187:return qt(qt(qt(t,/(zoom-|grab)/,Ft+"$1"),/(image-set)/,Ft+"$1"),t,"")+t;case 5495:case 3959:return qt(t,/(image-set\([^]*)/,Ft+"$1$`$1");case 4968:return qt(qt(t,/(.+:)(flex-)?(.*)/,Ft+"box-pack:$3"+an+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Ft+t+t;case 4095:case 3583:case 4068:case 2532:return qt(t,/(.+)-inline(.+)/,Ft+"$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(yi(t)-1-n>6)switch(tn(t,n+1)){case 109:if(tn(t,n+4)!==45)break;case 102:return qt(t,/(.+:)(.+)-([^]+)/,"$1"+Ft+"$2-$3$1"+ic+(tn(t,n+3)==108?"$3":"$2-$3"))+t;case 115:return~Fp(t,"stretch")?Z1(qt(t,"stretch","fill-available"),n)+t:t}break;case 4949:if(tn(t,n+1)!==115)break;case 6444:switch(tn(t,yi(t)-3-(~Fp(t,"!important")&&10))){case 107:return qt(t,":",":"+Ft)+t;case 101:return qt(t,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Ft+(tn(t,14)===45?"inline-":"")+"box$3$1"+Ft+"$2$3$1"+an+"$2box$3")+t}break;case 5936:switch(tn(t,n+11)){case 114:return Ft+t+an+qt(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return Ft+t+an+qt(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return Ft+t+an+qt(t,/[svh]\w+-[tblr]{2}/,"lr")+t}return Ft+t+an+t+t}return t}var tR=function(n,r,o,l){if(n.length>-1&&!n.return)switch(n.type){case Ph:n.return=Z1(n.value,n.length);break;case G1:return uo([xs(n,{value:qt(n.value,"@","@"+Ft)})],l);case kh:if(n.length)return kA(n.props,function(u){switch(LA(u,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return uo([xs(n,{props:[qt(u,/:(read-\w+)/,":"+ic+"$1")]})],l);case"::placeholder":return uo([xs(n,{props:[qt(u,/:(plac\w+)/,":"+Ft+"input-$1")]}),xs(n,{props:[qt(u,/:(plac\w+)/,":"+ic+"$1")]}),xs(n,{props:[qt(u,/:(plac\w+)/,an+"input-$1")]})],l)}return""})}},eR=[tR],nR=function(n){var r=n.key;if(r==="css"){var o=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(o,function(x){var A=x.getAttribute("data-emotion");A.indexOf(" ")!==-1&&(document.head.appendChild(x),x.setAttribute("data-s",""))})}var l=n.stylisPlugins||eR,u={},c,d=[];c=n.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+r+' "]'),function(x){for(var A=x.getAttribute("data-emotion").split(" "),M=1;M<A.length;M++)u[A[M]]=!0;d.push(x)});var h,m=[ZA,JA];{var g,y=[GA,KA(function(x){g.insert(x)})],b=YA(m.concat(l,y)),C=function(A){return uo(qA(A),b)};h=function(A,M,N,w){g=N,C(A?A+"{"+M.styles+"}":M.styles),w&&(S.inserted[M.name]=!0)}}var S={key:r,sheet:new DA({key:r,container:c,nonce:n.nonce,speedy:n.speedy,prepend:n.prepend,insertionPoint:n.insertionPoint}),nonce:n.nonce,inserted:u,registered:{},insert:h};return S.sheet.hydrate(d),S},cp={exports:{}},Gt={};var sb;function iR(){if(sb)return Gt;sb=1;var t=typeof Symbol=="function"&&Symbol.for,n=t?Symbol.for("react.element"):60103,r=t?Symbol.for("react.portal"):60106,o=t?Symbol.for("react.fragment"):60107,l=t?Symbol.for("react.strict_mode"):60108,u=t?Symbol.for("react.profiler"):60114,c=t?Symbol.for("react.provider"):60109,d=t?Symbol.for("react.context"):60110,h=t?Symbol.for("react.async_mode"):60111,m=t?Symbol.for("react.concurrent_mode"):60111,g=t?Symbol.for("react.forward_ref"):60112,y=t?Symbol.for("react.suspense"):60113,b=t?Symbol.for("react.suspense_list"):60120,C=t?Symbol.for("react.memo"):60115,S=t?Symbol.for("react.lazy"):60116,x=t?Symbol.for("react.block"):60121,A=t?Symbol.for("react.fundamental"):60117,M=t?Symbol.for("react.responder"):60118,N=t?Symbol.for("react.scope"):60119;function w(D){if(typeof D=="object"&&D!==null){var _=D.$$typeof;switch(_){case n:switch(D=D.type,D){case h:case m:case o:case u:case l:case y:return D;default:switch(D=D&&D.$$typeof,D){case d:case g:case S:case C:case c:return D;default:return _}}case r:return _}}}function O(D){return w(D)===m}return Gt.AsyncMode=h,Gt.ConcurrentMode=m,Gt.ContextConsumer=d,Gt.ContextProvider=c,Gt.Element=n,Gt.ForwardRef=g,Gt.Fragment=o,Gt.Lazy=S,Gt.Memo=C,Gt.Portal=r,Gt.Profiler=u,Gt.StrictMode=l,Gt.Suspense=y,Gt.isAsyncMode=function(D){return O(D)||w(D)===h},Gt.isConcurrentMode=O,Gt.isContextConsumer=function(D){return w(D)===d},Gt.isContextProvider=function(D){return w(D)===c},Gt.isElement=function(D){return typeof D=="object"&&D!==null&&D.$$typeof===n},Gt.isForwardRef=function(D){return w(D)===g},Gt.isFragment=function(D){return w(D)===o},Gt.isLazy=function(D){return w(D)===S},Gt.isMemo=function(D){return w(D)===C},Gt.isPortal=function(D){return w(D)===r},Gt.isProfiler=function(D){return w(D)===u},Gt.isStrictMode=function(D){return w(D)===l},Gt.isSuspense=function(D){return w(D)===y},Gt.isValidElementType=function(D){return typeof D=="string"||typeof D=="function"||D===o||D===m||D===u||D===l||D===y||D===b||typeof D=="object"&&D!==null&&(D.$$typeof===S||D.$$typeof===C||D.$$typeof===c||D.$$typeof===d||D.$$typeof===g||D.$$typeof===A||D.$$typeof===M||D.$$typeof===N||D.$$typeof===x)},Gt.typeOf=w,Gt}var lb;function rR(){return lb||(lb=1,cp.exports=iR()),cp.exports}var fp,ub;function aR(){if(ub)return fp;ub=1;var t=rR(),n={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},r={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},o={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},l={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},u={};u[t.ForwardRef]=o,u[t.Memo]=l;function c(S){return t.isMemo(S)?l:u[S.$$typeof]||n}var d=Object.defineProperty,h=Object.getOwnPropertyNames,m=Object.getOwnPropertySymbols,g=Object.getOwnPropertyDescriptor,y=Object.getPrototypeOf,b=Object.prototype;function C(S,x,A){if(typeof x!="string"){if(b){var M=y(x);M&&M!==b&&C(S,M,A)}var N=h(x);m&&(N=N.concat(m(x)));for(var w=c(S),O=c(x),D=0;D<N.length;++D){var _=N[D];if(!r[_]&&!(A&&A[_])&&!(O&&O[_])&&!(w&&w[_])){var k=g(x,_);try{d(S,_,k)}catch{}}}}return S}return fp=C,fp}aR();var oR=!0;function J1(t,n,r){var o="";return r.split(" ").forEach(function(l){t[l]!==void 0?n.push(t[l]+";"):l&&(o+=l+" ")}),o}var Vh=function(n,r,o){var l=n.key+"-"+r.name;(o===!1||oR===!1)&&n.registered[l]===void 0&&(n.registered[l]=r.styles)},$h=function(n,r,o){Vh(n,r,o);var l=n.key+"-"+r.name;if(n.inserted[r.name]===void 0){var u=r;do n.insert(r===u?"."+l:"",u,n.sheet,!0),u=u.next;while(u!==void 0)}};function sR(t){for(var n=0,r,o=0,l=t.length;l>=4;++o,l-=4)r=t.charCodeAt(o)&255|(t.charCodeAt(++o)&255)<<8|(t.charCodeAt(++o)&255)<<16|(t.charCodeAt(++o)&255)<<24,r=(r&65535)*1540483477+((r>>>16)*59797<<16),r^=r>>>24,n=(r&65535)*1540483477+((r>>>16)*59797<<16)^(n&65535)*1540483477+((n>>>16)*59797<<16);switch(l){case 3:n^=(t.charCodeAt(o+2)&255)<<16;case 2:n^=(t.charCodeAt(o+1)&255)<<8;case 1:n^=t.charCodeAt(o)&255,n=(n&65535)*1540483477+((n>>>16)*59797<<16)}return n^=n>>>13,n=(n&65535)*1540483477+((n>>>16)*59797<<16),((n^n>>>15)>>>0).toString(36)}var lR={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},uR=/[A-Z]|^ms/g,cR=/_EMO_([^_]+?)_([^]*?)_EMO_/g,tx=function(n){return n.charCodeAt(1)===45},cb=function(n){return n!=null&&typeof n!="boolean"},dp=Q1(function(t){return tx(t)?t:t.replace(uR,"-$&").toLowerCase()}),fb=function(n,r){switch(n){case"animation":case"animationName":if(typeof r=="string")return r.replace(cR,function(o,l,u){return vi={name:l,styles:u,next:vi},l})}return lR[n]!==1&&!tx(n)&&typeof r=="number"&&r!==0?r+"px":r};function Hs(t,n,r){if(r==null)return"";var o=r;if(o.__emotion_styles!==void 0)return o;switch(typeof r){case"boolean":return"";case"object":{var l=r;if(l.anim===1)return vi={name:l.name,styles:l.styles,next:vi},l.name;var u=r;if(u.styles!==void 0){var c=u.next;if(c!==void 0)for(;c!==void 0;)vi={name:c.name,styles:c.styles,next:vi},c=c.next;var d=u.styles+";";return d}return fR(t,n,r)}case"function":{if(t!==void 0){var h=vi,m=r(t);return vi=h,Hs(t,n,m)}break}}var g=r;if(n==null)return g;var y=n[g];return y!==void 0?y:g}function fR(t,n,r){var o="";if(Array.isArray(r))for(var l=0;l<r.length;l++)o+=Hs(t,n,r[l])+";";else for(var u in r){var c=r[u];if(typeof c!="object"){var d=c;n!=null&&n[d]!==void 0?o+=u+"{"+n[d]+"}":cb(d)&&(o+=dp(u)+":"+fb(u,d)+";")}else if(Array.isArray(c)&&typeof c[0]=="string"&&(n==null||n[c[0]]===void 0))for(var h=0;h<c.length;h++)cb(c[h])&&(o+=dp(u)+":"+fb(u,c[h])+";");else{var m=Hs(t,n,c);switch(u){case"animation":case"animationName":{o+=dp(u)+":"+m+";";break}default:o+=u+"{"+m+"}"}}}return o}var db=/label:\s*([^\s;{]+)\s*(;|$)/g,vi;function Qs(t,n,r){if(t.length===1&&typeof t[0]=="object"&&t[0]!==null&&t[0].styles!==void 0)return t[0];var o=!0,l="";vi=void 0;var u=t[0];if(u==null||u.raw===void 0)o=!1,l+=Hs(r,n,u);else{var c=u;l+=c[0]}for(var d=1;d<t.length;d++)if(l+=Hs(r,n,t[d]),o){var h=u;l+=h[d]}db.lastIndex=0;for(var m="",g;(g=db.exec(l))!==null;)m+="-"+g[1];var y=sR(l)+m;return{name:y,styles:l,next:vi}}var dR=function(n){return n()},ex=Hp.useInsertionEffect?Hp.useInsertionEffect:!1,nx=ex||dR,pb=ex||R.useLayoutEffect,ix=R.createContext(typeof HTMLElement<"u"?nR({key:"css"}):null);ix.Provider;var Hh=function(n){return R.forwardRef(function(r,o){var l=R.useContext(ix);return n(r,l,o)})},Zs=R.createContext({}),Fh={}.hasOwnProperty,Ip="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",pR=function(n,r){var o={};for(var l in r)Fh.call(r,l)&&(o[l]=r[l]);return o[Ip]=n,o},hR=function(n){var r=n.cache,o=n.serialized,l=n.isStringTag;return Vh(r,o,l),nx(function(){return $h(r,o,l)}),null},mR=Hh(function(t,n,r){var o=t.css;typeof o=="string"&&n.registered[o]!==void 0&&(o=n.registered[o]);var l=t[Ip],u=[o],c="";typeof t.className=="string"?c=J1(n.registered,u,t.className):t.className!=null&&(c=t.className+" ");var d=Qs(u,void 0,R.useContext(Zs));c+=n.key+"-"+d.name;var h={};for(var m in t)Fh.call(t,m)&&m!=="css"&&m!==Ip&&(h[m]=t[m]);return h.className=c,r&&(h.ref=r),R.createElement(R.Fragment,null,R.createElement(hR,{cache:n,serialized:d,isStringTag:typeof l=="string"}),R.createElement(l,h))}),gR=mR,hb=function(n,r){var o=arguments;if(r==null||!Fh.call(r,"css"))return R.createElement.apply(void 0,o);var l=o.length,u=new Array(l);u[0]=gR,u[1]=pR(n,r);for(var c=2;c<l;c++)u[c]=o[c];return R.createElement.apply(null,u)};(function(t){var n;n||(n=t.JSX||(t.JSX={}))})(hb||(hb={}));var yR=Hh(function(t,n){var r=t.styles,o=Qs([r],void 0,R.useContext(Zs)),l=R.useRef();return pb(function(){var u=n.key+"-global",c=new n.sheet.constructor({key:u,nonce:n.sheet.nonce,container:n.sheet.container,speedy:n.sheet.isSpeedy}),d=!1,h=document.querySelector('style[data-emotion="'+u+" "+o.name+'"]');return n.sheet.tags.length&&(c.before=n.sheet.tags[0]),h!==null&&(d=!0,h.setAttribute("data-emotion",u),c.hydrate([h])),l.current=[c,d],function(){c.flush()}},[n]),pb(function(){var u=l.current,c=u[0],d=u[1];if(d){u[1]=!1;return}if(o.next!==void 0&&$h(n,o.next,!0),c.tags.length){var h=c.tags[c.tags.length-1].nextElementSibling;c.before=h,c.flush()}n.insert("",o,c,!1)},[n,o.name]),null});function qh(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return Qs(n)}function Js(){var t=qh.apply(void 0,arguments),n="animation-"+t.name;return{name:n,styles:"@keyframes "+n+"{"+t.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}var vR=/^((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)-.*))$/,bR=Q1(function(t){return vR.test(t)||t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&t.charCodeAt(2)<91}),SR=bR,xR=function(n){return n!=="theme"},mb=function(n){return typeof n=="string"&&n.charCodeAt(0)>96?SR:xR},gb=function(n,r,o){var l;if(r){var u=r.shouldForwardProp;l=n.__emotion_forwardProp&&u?function(c){return n.__emotion_forwardProp(c)&&u(c)}:u}return typeof l!="function"&&o&&(l=n.__emotion_forwardProp),l},TR=function(n){var r=n.cache,o=n.serialized,l=n.isStringTag;return Vh(r,o,l),nx(function(){return $h(r,o,l)}),null},CR=function t(n,r){var o=n.__emotion_real===n,l=o&&n.__emotion_base||n,u,c;r!==void 0&&(u=r.label,c=r.target);var d=gb(n,r,o),h=d||mb(l),m=!h("as");return function(){var g=arguments,y=o&&n.__emotion_styles!==void 0?n.__emotion_styles.slice(0):[];if(u!==void 0&&y.push("label:"+u+";"),g[0]==null||g[0].raw===void 0)y.push.apply(y,g);else{var b=g[0];y.push(b[0]);for(var C=g.length,S=1;S<C;S++)y.push(g[S],b[S])}var x=Hh(function(A,M,N){var w=m&&A.as||l,O="",D=[],_=A;if(A.theme==null){_={};for(var k in A)_[k]=A[k];_.theme=R.useContext(Zs)}typeof A.className=="string"?O=J1(M.registered,D,A.className):A.className!=null&&(O=A.className+" ");var V=Qs(y.concat(D),M.registered,_);O+=M.key+"-"+V.name,c!==void 0&&(O+=" "+c);var K=m&&d===void 0?mb(w):h,Z={};for(var et in A)m&&et==="as"||K(et)&&(Z[et]=A[et]);return Z.className=O,N&&(Z.ref=N),R.createElement(R.Fragment,null,R.createElement(TR,{cache:M,serialized:V,isStringTag:typeof w=="string"}),R.createElement(w,Z))});return x.displayName=u!==void 0?u:"Styled("+(typeof l=="string"?l:l.displayName||l.name||"Component")+")",x.defaultProps=n.defaultProps,x.__emotion_real=x,x.__emotion_base=l,x.__emotion_styles=y,x.__emotion_forwardProp=d,Object.defineProperty(x,"toString",{value:function(){return"."+c}}),x.withComponent=function(A,M){var N=t(A,nc({},r,M,{shouldForwardProp:gb(x,M,!0)}));return N.apply(void 0,y)},x}},ER=["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"],Gp=CR.bind(null);ER.forEach(function(t){Gp[t]=Gp(t)});function AR(t){return t==null||Object.keys(t).length===0}function rx(t){const{styles:n,defaultTheme:r={}}=t,o=typeof n=="function"?l=>n(AR(l)?r:l):n;return z.jsx(yR,{styles:o})}function ax(t,n){return Gp(t,n)}function RR(t,n){Array.isArray(t.__emotion_styles)&&(t.__emotion_styles=n(t.__emotion_styles))}const yb=[];function Cr(t){return yb[0]=t,Qs(yb)}var pp={exports:{}},re={};var vb;function wR(){if(vb)return re;vb=1;var t=Symbol.for("react.transitional.element"),n=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),l=Symbol.for("react.profiler"),u=Symbol.for("react.consumer"),c=Symbol.for("react.context"),d=Symbol.for("react.forward_ref"),h=Symbol.for("react.suspense"),m=Symbol.for("react.suspense_list"),g=Symbol.for("react.memo"),y=Symbol.for("react.lazy"),b=Symbol.for("react.view_transition"),C=Symbol.for("react.client.reference");function S(x){if(typeof x=="object"&&x!==null){var A=x.$$typeof;switch(A){case t:switch(x=x.type,x){case r:case l:case o:case h:case m:case b:return x;default:switch(x=x&&x.$$typeof,x){case c:case d:case y:case g:return x;case u:return x;default:return A}}case n:return A}}}return re.ContextConsumer=u,re.ContextProvider=c,re.Element=t,re.ForwardRef=d,re.Fragment=r,re.Lazy=y,re.Memo=g,re.Portal=n,re.Profiler=l,re.StrictMode=o,re.Suspense=h,re.SuspenseList=m,re.isContextConsumer=function(x){return S(x)===u},re.isContextProvider=function(x){return S(x)===c},re.isElement=function(x){return typeof x=="object"&&x!==null&&x.$$typeof===t},re.isForwardRef=function(x){return S(x)===d},re.isFragment=function(x){return S(x)===r},re.isLazy=function(x){return S(x)===y},re.isMemo=function(x){return S(x)===g},re.isPortal=function(x){return S(x)===n},re.isProfiler=function(x){return S(x)===l},re.isStrictMode=function(x){return S(x)===o},re.isSuspense=function(x){return S(x)===h},re.isSuspenseList=function(x){return S(x)===m},re.isValidElementType=function(x){return typeof x=="string"||typeof x=="function"||x===r||x===l||x===o||x===h||x===m||typeof x=="object"&&x!==null&&(x.$$typeof===y||x.$$typeof===g||x.$$typeof===c||x.$$typeof===u||x.$$typeof===d||x.$$typeof===C||x.getModuleId!==void 0)},re.typeOf=S,re}var bb;function MR(){return bb||(bb=1,pp.exports=wR()),pp.exports}var ox=MR();function bi(t){if(typeof t!="object"||t===null)return!1;const n=Object.getPrototypeOf(t);return(n===null||n===Object.prototype||Object.getPrototypeOf(n)===null)&&!(Symbol.toStringTag in t)&&!(Symbol.iterator in t)}function sx(t){if(R.isValidElement(t)||ox.isValidElementType(t)||!bi(t))return t;const n={};return Object.keys(t).forEach(r=>{n[r]=sx(t[r])}),n}function Ye(t,n,r={clone:!0}){const o=r.clone?{...t}:t;return bi(t)&&bi(n)&&Object.keys(n).forEach(l=>{R.isValidElement(n[l])||ox.isValidElementType(n[l])?o[l]=n[l]:bi(n[l])&&Object.prototype.hasOwnProperty.call(t,l)&&bi(t[l])?o[l]=Ye(t[l],n[l],r):r.clone?o[l]=bi(n[l])?sx(n[l]):n[l]:o[l]=n[l]}),o}const OR=t=>{const n=Object.keys(t).map(r=>({key:r,val:t[r]}))||[];return n.sort((r,o)=>r.val-o.val),n.reduce((r,o)=>({...r,[o.key]:o.val}),{})};function DR(t){const{values:n={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:r="px",step:o=5,...l}=t,u=OR(n),c=Object.keys(u);function d(b){return`@media (min-width:${typeof n[b]=="number"?n[b]:b}${r})`}function h(b){return`@media (max-width:${(typeof n[b]=="number"?n[b]:b)-o/100}${r})`}function m(b,C){const S=c.indexOf(C);return`@media (min-width:${typeof n[b]=="number"?n[b]:b}${r}) and (max-width:${(S!==-1&&typeof n[c[S]]=="number"?n[c[S]]:C)-o/100}${r})`}function g(b){return c.indexOf(b)+1<c.length?m(b,c[c.indexOf(b)+1]):d(b)}function y(b){const C=c.indexOf(b);return C===0?d(c[1]):C===c.length-1?h(c[C]):m(b,c[c.indexOf(b)+1]).replace("@media","@media not all and")}return{keys:c,values:u,up:d,down:h,between:m,only:g,not:y,unit:r,...l}}function Sb(t,n){if(!t.containerQueries)return n;const r=Object.keys(n).filter(o=>o.startsWith("@container")).sort((o,l)=>{const u=/min-width:\s*([0-9.]+)/;return+(o.match(u)?.[1]||0)-+(l.match(u)?.[1]||0)});return r.length?r.reduce((o,l)=>{const u=n[l];return delete o[l],o[l]=u,o},{...n}):n}function zR(t,n){return n==="@"||n.startsWith("@")&&(t.some(r=>n.startsWith(`@${r}`))||!!n.match(/^@\d/))}function BR(t,n){const r=n.match(/^@([^/]+)?\/?(.+)?$/);if(!r)return null;const[,o,l]=r,u=Number.isNaN(+o)?o||0:+o;return t.containerQueries(l).up(u)}function NR(t){const n=(u,c)=>u.replace("@media",c?`@container ${c}`:"@container");function r(u,c){u.up=(...d)=>n(t.breakpoints.up(...d),c),u.down=(...d)=>n(t.breakpoints.down(...d),c),u.between=(...d)=>n(t.breakpoints.between(...d),c),u.only=(...d)=>n(t.breakpoints.only(...d),c),u.not=(...d)=>{const h=n(t.breakpoints.not(...d),c);return h.includes("not all and")?h.replace("not all and ","").replace("min-width:","width<").replace("max-width:","width>").replace("and","or"):h}}const o={},l=u=>(r(o,u),o);return r(l),{...t,containerQueries:l}}const _R={borderRadius:4};function zs(t,n){return n?Ye(t,n,{clone:!1}):t}const bc={xs:0,sm:600,md:900,lg:1200,xl:1536},xb={keys:["xs","sm","md","lg","xl"],up:t=>`@media (min-width:${bc[t]}px)`},jR={containerQueries:t=>({up:n=>{let r=typeof n=="number"?n:bc[n]||n;return typeof r=="number"&&(r=`${r}px`),t?`@container ${t} (min-width:${r})`:`@container (min-width:${r})`}})};function ai(t,n,r){const o=t.theme||{};if(Array.isArray(n)){const u=o.breakpoints||xb;return n.reduce((c,d,h)=>(c[u.up(u.keys[h])]=r(n[h]),c),{})}if(typeof n=="object"){const u=o.breakpoints||xb;return Object.keys(n).reduce((c,d)=>{if(zR(u.keys,d)){const h=BR(o.containerQueries?o:jR,d);h&&(c[h]=r(n[d],d))}else if(Object.keys(u.values||bc).includes(d)){const h=u.up(d);c[h]=r(n[d],d)}else{const h=d;c[h]=n[h]}return c},{})}return r(n)}function lx(t={}){return t.keys?.reduce((r,o)=>{const l=t.up(o);return r[l]={},r},{})||{}}function Yp(t,n){return t.reduce((r,o)=>{const l=r[o];return(!l||Object.keys(l).length===0)&&delete r[o],r},n)}function LR(t,...n){const r=lx(t),o=[r,...n].reduce((l,u)=>Ye(l,u),{});return Yp(Object.keys(r),o)}function kR(t,n){if(typeof t!="object")return{};const r={},o=Object.keys(n);return Array.isArray(t)?o.forEach((l,u)=>{u<t.length&&(r[l]=!0)}):o.forEach(l=>{t[l]!=null&&(r[l]=!0)}),r}function hp({values:t,breakpoints:n,base:r}){const o=r||kR(t,n),l=Object.keys(o);if(l.length===0)return t;let u;return l.reduce((c,d,h)=>(Array.isArray(t)?(c[d]=t[h]!=null?t[h]:t[u],u=h):typeof t=="object"?(c[d]=t[d]!=null?t[d]:t[u],u=d):c[d]=t,c),{})}function bt(t){if(typeof t!="string")throw new Error(Ii(7));return t.charAt(0).toUpperCase()+t.slice(1)}function Sc(t,n,r=!0){if(!n||typeof n!="string")return null;if(t&&t.vars&&r){const o=`vars.${n}`.split(".").reduce((l,u)=>l&&l[u]?l[u]:null,t);if(o!=null)return o}return n.split(".").reduce((o,l)=>o&&o[l]!=null?o[l]:null,t)}function rc(t,n,r,o=r){let l;return typeof t=="function"?l=t(r):Array.isArray(t)?l=t[r]||o:l=Sc(t,r)||o,n&&(l=n(l,o,t)),l}function Ne(t){const{prop:n,cssProperty:r=t.prop,themeKey:o,transform:l}=t,u=c=>{if(c[n]==null)return null;const d=c[n],h=c.theme,m=Sc(h,o)||{};return ai(c,d,y=>{let b=rc(m,l,y);return y===b&&typeof y=="string"&&(b=rc(m,l,`${n}${y==="default"?"":bt(y)}`,y)),r===!1?b:{[r]:b}})};return u.propTypes={},u.filterProps=[n],u}function PR(t){const n={};return r=>(n[r]===void 0&&(n[r]=t(r)),n[r])}const UR={m:"margin",p:"padding"},VR={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},Tb={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},$R=PR(t=>{if(t.length>2)if(Tb[t])t=Tb[t];else return[t];const[n,r]=t.split(""),o=UR[n],l=VR[r]||"";return Array.isArray(l)?l.map(u=>o+u):[o+l]}),Ih=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],Gh=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...Ih,...Gh];function tl(t,n,r,o){const l=Sc(t,n,!0)??r;return typeof l=="number"||typeof l=="string"?u=>typeof u=="string"?u:typeof l=="string"?l.startsWith("var(")&&u===0?0:l.startsWith("var(")&&u===1?l:`calc(${u} * ${l})`:l*u:Array.isArray(l)?u=>{if(typeof u=="string")return u;const c=Math.abs(u),d=l[c];return u>=0?d:typeof d=="number"?-d:typeof d=="string"&&d.startsWith("var(")?`calc(-1 * ${d})`:`-${d}`}:typeof l=="function"?l:()=>{}}function xc(t){return tl(t,"spacing",8)}function ca(t,n){return typeof n=="string"||n==null?n:t(n)}function HR(t,n){return r=>t.reduce((o,l)=>(o[l]=ca(n,r),o),{})}function FR(t,n,r,o){if(!n.includes(r))return null;const l=$R(r),u=HR(l,o),c=t[r];return ai(t,c,u)}function ux(t,n){const r=xc(t.theme);return Object.keys(t).map(o=>FR(t,n,o,r)).reduce(zs,{})}function Te(t){return ux(t,Ih)}Te.propTypes={};Te.filterProps=Ih;function Ce(t){return ux(t,Gh)}Ce.propTypes={};Ce.filterProps=Gh;function cx(t=8,n=xc({spacing:t})){if(t.mui)return t;const r=(...o)=>(o.length===0?[1]:o).map(u=>{const c=n(u);return typeof c=="number"?`${c}px`:c}).join(" ");return r.mui=!0,r}function Tc(...t){const n=t.reduce((o,l)=>(l.filterProps.forEach(u=>{o[u]=l}),o),{}),r=o=>Object.keys(o).reduce((l,u)=>n[u]?zs(l,n[u](o)):l,{});return r.propTypes={},r.filterProps=t.reduce((o,l)=>o.concat(l.filterProps),[]),r}function Yn(t){return typeof t!="number"?t:`${t}px solid`}function Qn(t,n){return Ne({prop:t,themeKey:"borders",transform:n})}const qR=Qn("border",Yn),IR=Qn("borderTop",Yn),GR=Qn("borderRight",Yn),YR=Qn("borderBottom",Yn),KR=Qn("borderLeft",Yn),XR=Qn("borderColor"),WR=Qn("borderTopColor"),QR=Qn("borderRightColor"),ZR=Qn("borderBottomColor"),JR=Qn("borderLeftColor"),tw=Qn("outline",Yn),ew=Qn("outlineColor"),Cc=t=>{if(t.borderRadius!==void 0&&t.borderRadius!==null){const n=tl(t.theme,"shape.borderRadius",4),r=o=>({borderRadius:ca(n,o)});return ai(t,t.borderRadius,r)}return null};Cc.propTypes={};Cc.filterProps=["borderRadius"];Tc(qR,IR,GR,YR,KR,XR,WR,QR,ZR,JR,Cc,tw,ew);const Ec=t=>{if(t.gap!==void 0&&t.gap!==null){const n=tl(t.theme,"spacing",8),r=o=>({gap:ca(n,o)});return ai(t,t.gap,r)}return null};Ec.propTypes={};Ec.filterProps=["gap"];const Ac=t=>{if(t.columnGap!==void 0&&t.columnGap!==null){const n=tl(t.theme,"spacing",8),r=o=>({columnGap:ca(n,o)});return ai(t,t.columnGap,r)}return null};Ac.propTypes={};Ac.filterProps=["columnGap"];const Rc=t=>{if(t.rowGap!==void 0&&t.rowGap!==null){const n=tl(t.theme,"spacing",8),r=o=>({rowGap:ca(n,o)});return ai(t,t.rowGap,r)}return null};Rc.propTypes={};Rc.filterProps=["rowGap"];const nw=Ne({prop:"gridColumn"}),iw=Ne({prop:"gridRow"}),rw=Ne({prop:"gridAutoFlow"}),aw=Ne({prop:"gridAutoColumns"}),ow=Ne({prop:"gridAutoRows"}),sw=Ne({prop:"gridTemplateColumns"}),lw=Ne({prop:"gridTemplateRows"}),uw=Ne({prop:"gridTemplateAreas"}),cw=Ne({prop:"gridArea"});Tc(Ec,Ac,Rc,nw,iw,rw,aw,ow,sw,lw,uw,cw);function co(t,n){return n==="grey"?n:t}const fw=Ne({prop:"color",themeKey:"palette",transform:co}),dw=Ne({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:co}),pw=Ne({prop:"backgroundColor",themeKey:"palette",transform:co});Tc(fw,dw,pw);function zn(t){return t<=1&&t!==0?`${t*100}%`:t}const hw=Ne({prop:"width",transform:zn}),Yh=t=>{if(t.maxWidth!==void 0&&t.maxWidth!==null){const n=r=>{const o=t.theme?.breakpoints?.values?.[r]||bc[r];return o?t.theme?.breakpoints?.unit!=="px"?{maxWidth:`${o}${t.theme.breakpoints.unit}`}:{maxWidth:o}:{maxWidth:zn(r)}};return ai(t,t.maxWidth,n)}return null};Yh.filterProps=["maxWidth"];const mw=Ne({prop:"minWidth",transform:zn}),gw=Ne({prop:"height",transform:zn}),yw=Ne({prop:"maxHeight",transform:zn}),vw=Ne({prop:"minHeight",transform:zn});Ne({prop:"size",cssProperty:"width",transform:zn});Ne({prop:"size",cssProperty:"height",transform:zn});const bw=Ne({prop:"boxSizing"});Tc(hw,Yh,mw,gw,yw,vw,bw);const el={border:{themeKey:"borders",transform:Yn},borderTop:{themeKey:"borders",transform:Yn},borderRight:{themeKey:"borders",transform:Yn},borderBottom:{themeKey:"borders",transform:Yn},borderLeft:{themeKey:"borders",transform:Yn},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:Yn},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:Cc},color:{themeKey:"palette",transform:co},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:co},backgroundColor:{themeKey:"palette",transform:co},p:{style:Ce},pt:{style:Ce},pr:{style:Ce},pb:{style:Ce},pl:{style:Ce},px:{style:Ce},py:{style:Ce},padding:{style:Ce},paddingTop:{style:Ce},paddingRight:{style:Ce},paddingBottom:{style:Ce},paddingLeft:{style:Ce},paddingX:{style:Ce},paddingY:{style:Ce},paddingInline:{style:Ce},paddingInlineStart:{style:Ce},paddingInlineEnd:{style:Ce},paddingBlock:{style:Ce},paddingBlockStart:{style:Ce},paddingBlockEnd:{style:Ce},m:{style:Te},mt:{style:Te},mr:{style:Te},mb:{style:Te},ml:{style:Te},mx:{style:Te},my:{style:Te},margin:{style:Te},marginTop:{style:Te},marginRight:{style:Te},marginBottom:{style:Te},marginLeft:{style:Te},marginX:{style:Te},marginY:{style:Te},marginInline:{style:Te},marginInlineStart:{style:Te},marginInlineEnd:{style:Te},marginBlock:{style:Te},marginBlockStart:{style:Te},marginBlockEnd:{style:Te},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:Ec},rowGap:{style:Rc},columnGap:{style:Ac},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:zn},maxWidth:{style:Yh},minWidth:{transform:zn},height:{transform:zn},maxHeight:{transform:zn},minHeight:{transform:zn},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 Sw(...t){const n=t.reduce((o,l)=>o.concat(Object.keys(l)),[]),r=new Set(n);return t.every(o=>r.size===Object.keys(o).length)}function xw(t,n){return typeof t=="function"?t(n):t}function Tw(){function t(r,o,l,u){const c={[r]:o,theme:l},d=u[r];if(!d)return{[r]:o};const{cssProperty:h=r,themeKey:m,transform:g,style:y}=d;if(o==null)return null;if(m==="typography"&&o==="inherit")return{[r]:o};const b=Sc(l,m)||{};return y?y(c):ai(c,o,S=>{let x=rc(b,g,S);return S===x&&typeof S=="string"&&(x=rc(b,g,`${r}${S==="default"?"":bt(S)}`,S)),h===!1?x:{[h]:x}})}function n(r){const{sx:o,theme:l={},nested:u}=r||{};if(!o)return null;const c=l.unstable_sxConfig??el;function d(h){let m=h;if(typeof h=="function")m=h(l);else if(typeof h!="object")return h;if(!m)return null;const g=lx(l.breakpoints),y=Object.keys(g);let b=g;return Object.keys(m).forEach(C=>{const S=xw(m[C],l);if(S!=null)if(typeof S=="object")if(c[C])b=zs(b,t(C,S,l,c));else{const x=ai({theme:l},S,A=>({[C]:A}));Sw(x,S)?b[C]=n({sx:S,theme:l,nested:!0}):b=zs(b,x)}else b=zs(b,t(C,S,l,c))}),!u&&l.modularCssLayers?{"@layer sx":Sb(l,Yp(y,b))}:Sb(l,Yp(y,b))}return Array.isArray(o)?o.map(d):d(o)}return n}const Er=Tw();Er.filterProps=["sx"];function Cw(t,n){const r=this;if(r.vars){if(!r.colorSchemes?.[t]||typeof r.getColorSchemeSelector!="function")return{};let o=r.getColorSchemeSelector(t);return o==="&"?n:((o.includes("data-")||o.includes("."))&&(o=`*:where(${o.replace(/\s*&$/,"")}) &`),{[o]:n})}return r.palette.mode===t?n:{}}function nl(t={},...n){const{breakpoints:r={},palette:o={},spacing:l,shape:u={},...c}=t,d=DR(r),h=cx(l);let m=Ye({breakpoints:d,direction:"ltr",components:{},palette:{mode:"light",...o},spacing:h,shape:{..._R,...u}},c);return m=NR(m),m.applyStyles=Cw,m=n.reduce((g,y)=>Ye(g,y),m),m.unstable_sxConfig={...el,...c?.unstable_sxConfig},m.unstable_sx=function(y){return Er({sx:y,theme:this})},m}function Ew(t){return Object.keys(t).length===0}function Kh(t=null){const n=R.useContext(Zs);return!n||Ew(n)?t:n}const Aw=nl();function wc(t=Aw){return Kh(t)}function mp(t){const n=Cr(t);return t!==n&&n.styles?(n.styles.match(/^@layer\s+[^{]*$/)||(n.styles=`@layer global{${n.styles}}`),n):t}function fx({styles:t,themeId:n,defaultTheme:r={}}){const o=wc(r),l=n&&o[n]||o;let u=typeof t=="function"?t(l):t;return l.modularCssLayers&&(Array.isArray(u)?u=u.map(c=>mp(typeof c=="function"?c(l):c)):u=mp(u)),z.jsx(rx,{styles:u})}const Rw=t=>{const n={systemProps:{},otherProps:{}},r=t?.theme?.unstable_sxConfig??el;return Object.keys(t).forEach(o=>{r[o]?n.systemProps[o]=t[o]:n.otherProps[o]=t[o]}),n};function Xh(t){const{sx:n,...r}=t,{systemProps:o,otherProps:l}=Rw(r);let u;return Array.isArray(n)?u=[o,...n]:typeof n=="function"?u=(...c)=>{const d=n(...c);return bi(d)?{...o,...d}:o}:u={...o,...n},{...l,sx:u}}const Cb=t=>t,ww=()=>{let t=Cb;return{configure(n){t=n},generate(n){return t(n)},reset(){t=Cb}}},dx=ww();function px(t){var n,r,o="";if(typeof t=="string"||typeof t=="number")o+=t;else if(typeof t=="object")if(Array.isArray(t)){var l=t.length;for(n=0;n<l;n++)t[n]&&(r=px(t[n]))&&(o&&(o+=" "),o+=r)}else for(r in t)t[r]&&(o&&(o+=" "),o+=r);return o}function At(){for(var t,n,r=0,o="",l=arguments.length;r<l;r++)(t=arguments[r])&&(n=px(t))&&(o&&(o+=" "),o+=n);return o}function Mw(t={}){const{themeId:n,defaultTheme:r,defaultClassName:o="MuiBox-root",generateClassName:l}=t,u=ax("div",{shouldForwardProp:d=>d!=="theme"&&d!=="sx"&&d!=="as"})(Er);return R.forwardRef(function(h,m){const g=wc(r),{className:y,component:b="div",...C}=Xh(h);return z.jsx(u,{as:b,ref:m,className:At(y,l?l(o):o),theme:n&&g[n]||g,...C})})}const Ow={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 Qt(t,n,r="Mui"){const o=Ow[n];return o?`${r}-${o}`:`${dx.generate(t)}-${n}`}function ae(t,n,r="Mui"){const o={};return n.forEach(l=>{o[l]=Qt(t,l,r)}),o}function hx(t){const{variants:n,...r}=t,o={variants:n,style:Cr(r),isProcessed:!0};return o.style===r||n&&n.forEach(l=>{typeof l.style!="function"&&(l.style=Cr(l.style))}),o}const Dw=nl();function gp(t){return t!=="ownerState"&&t!=="theme"&&t!=="sx"&&t!=="as"}function ea(t,n){return n&&t&&typeof t=="object"&&t.styles&&!t.styles.startsWith("@layer")&&(t.styles=`@layer ${n}{${String(t.styles)}}`),t}function zw(t){return t?(n,r)=>r[t]:null}function Bw(t,n,r){t.theme=_w(t.theme)?r:t.theme[n]||t.theme}function Yu(t,n,r){const o=typeof n=="function"?n(t):n;if(Array.isArray(o))return o.flatMap(l=>Yu(t,l,r));if(Array.isArray(o?.variants)){let l;if(o.isProcessed)l=r?ea(o.style,r):o.style;else{const{variants:u,...c}=o;l=r?ea(Cr(c),r):c}return mx(t,o.variants,[l],r)}return o?.isProcessed?r?ea(Cr(o.style),r):o.style:r?ea(Cr(o),r):o}function mx(t,n,r=[],o=void 0){let l;t:for(let u=0;u<n.length;u+=1){const c=n[u];if(typeof c.props=="function"){if(l??={...t,...t.ownerState,ownerState:t.ownerState},!c.props(l))continue}else for(const d in c.props)if(t[d]!==c.props[d]&&t.ownerState?.[d]!==c.props[d])continue t;typeof c.style=="function"?(l??={...t,...t.ownerState,ownerState:t.ownerState},r.push(o?ea(Cr(c.style(l)),o):c.style(l))):r.push(o?ea(Cr(c.style),o):c.style)}return r}function gx(t={}){const{themeId:n,defaultTheme:r=Dw,rootShouldForwardProp:o=gp,slotShouldForwardProp:l=gp}=t;function u(d){Bw(d,n,r)}return(d,h={})=>{RR(d,_=>_.filter(k=>k!==Er));const{name:m,slot:g,skipVariantsResolver:y,skipSx:b,overridesResolver:C=zw(Lw(g)),...S}=h,x=m&&m.startsWith("Mui")||g?"components":"custom",A=y!==void 0?y:g&&g!=="Root"&&g!=="root"||!1,M=b||!1;let N=gp;g==="Root"||g==="root"?N=o:g?N=l:jw(d)&&(N=void 0);const w=ax(d,{shouldForwardProp:N,label:Nw(),...S}),O=_=>{if(_.__emotion_real===_)return _;if(typeof _=="function")return function(V){return Yu(V,_,V.theme.modularCssLayers?x:void 0)};if(bi(_)){const k=hx(_);return function(K){return k.variants?Yu(K,k,K.theme.modularCssLayers?x:void 0):K.theme.modularCssLayers?ea(k.style,x):k.style}}return _},D=(..._)=>{const k=[],V=_.map(O),K=[];if(k.push(u),m&&C&&K.push(function(Q){const W=Q.theme.components?.[m]?.styleOverrides;if(!W)return null;const B={};for(const F in W)B[F]=Yu(Q,W[F],Q.theme.modularCssLayers?"theme":void 0);return C(Q,B)}),m&&!A&&K.push(function(Q){const W=Q.theme?.components?.[m]?.variants;return W?mx(Q,W,[],Q.theme.modularCssLayers?"theme":void 0):null}),M||K.push(Er),Array.isArray(V[0])){const E=V.shift(),Q=new Array(k.length).fill(""),G=new Array(K.length).fill("");let W;W=[...Q,...E,...G],W.raw=[...Q,...E.raw,...G],k.unshift(W)}const Z=[...k,...V,...K],et=w(...Z);return d.muiName&&(et.muiName=d.muiName),et};return w.withConfig&&(D.withConfig=w.withConfig),D}}function Nw(t,n){return void 0}function _w(t){for(const n in t)return!1;return!0}function jw(t){return typeof t=="string"&&t.charCodeAt(0)>96}function Lw(t){return t&&t.charAt(0).toLowerCase()+t.slice(1)}const yx=gx();function Fs(t,n,r=!1){const o={...n};for(const l in t)if(Object.prototype.hasOwnProperty.call(t,l)){const u=l;if(u==="components"||u==="slots")o[u]={...t[u],...o[u]};else if(u==="componentsProps"||u==="slotProps"){const c=t[u],d=n[u];if(!d)o[u]=c||{};else if(!c)o[u]=d;else{o[u]={...d};for(const h in c)if(Object.prototype.hasOwnProperty.call(c,h)){const m=h;o[u][m]=Fs(c[m],d[m],r)}}}else u==="className"&&r&&n.className?o.className=At(t?.className,n?.className):u==="style"&&r&&n.style?o.style={...t?.style,...n?.style}:o[u]===void 0&&(o[u]=t[u])}return o}function kw(t){const{theme:n,name:r,props:o}=t;return!n||!n.components||!n.components[r]||!n.components[r].defaultProps?o:Fs(n.components[r].defaultProps,o)}function vx({props:t,name:n,defaultTheme:r,themeId:o}){let l=wc(r);return o&&(l=l[o]||l),kw({theme:l,name:n,props:t})}const Gi=typeof window<"u"?R.useLayoutEffect:R.useEffect;function Pw(t,n=Number.MIN_SAFE_INTEGER,r=Number.MAX_SAFE_INTEGER){return Math.max(n,Math.min(t,r))}function Wh(t,n=0,r=1){return Pw(t,n,r)}function Uw(t){t=t.slice(1);const n=new RegExp(`.{1,${t.length>=6?2:1}}`,"g");let r=t.match(n);return r&&r[0].length===1&&(r=r.map(o=>o+o)),r?`rgb${r.length===4?"a":""}(${r.map((o,l)=>l<3?parseInt(o,16):Math.round(parseInt(o,16)/255*1e3)/1e3).join(", ")})`:""}function Ar(t){if(t.type)return t;if(t.charAt(0)==="#")return Ar(Uw(t));const n=t.indexOf("("),r=t.substring(0,n);if(!["rgb","rgba","hsl","hsla","color"].includes(r))throw new Error(Ii(9,t));let o=t.substring(n+1,t.length-1),l;if(r==="color"){if(o=o.split(" "),l=o.shift(),o.length===4&&o[3].charAt(0)==="/"&&(o[3]=o[3].slice(1)),!["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].includes(l))throw new Error(Ii(10,l))}else o=o.split(",");return o=o.map(u=>parseFloat(u)),{type:r,values:o,colorSpace:l}}const Vw=t=>{const n=Ar(t);return n.values.slice(0,3).map((r,o)=>n.type.includes("hsl")&&o!==0?`${r}%`:r).join(" ")},ws=(t,n)=>{try{return Vw(t)}catch{return t}};function Mc(t){const{type:n,colorSpace:r}=t;let{values:o}=t;return n.includes("rgb")?o=o.map((l,u)=>u<3?parseInt(l,10):l):n.includes("hsl")&&(o[1]=`${o[1]}%`,o[2]=`${o[2]}%`),n.includes("color")?o=`${r} ${o.join(" ")}`:o=`${o.join(", ")}`,`${n}(${o})`}function bx(t){t=Ar(t);const{values:n}=t,r=n[0],o=n[1]/100,l=n[2]/100,u=o*Math.min(l,1-l),c=(m,g=(m+r/30)%12)=>l-u*Math.max(Math.min(g-3,9-g,1),-1);let d="rgb";const h=[Math.round(c(0)*255),Math.round(c(8)*255),Math.round(c(4)*255)];return t.type==="hsla"&&(d+="a",h.push(n[3])),Mc({type:d,values:h})}function Kp(t){t=Ar(t);let n=t.type==="hsl"||t.type==="hsla"?Ar(bx(t)).values:t.values;return n=n.map(r=>(t.type!=="color"&&(r/=255),r<=.03928?r/12.92:((r+.055)/1.055)**2.4)),Number((.2126*n[0]+.7152*n[1]+.0722*n[2]).toFixed(3))}function $w(t,n){const r=Kp(t),o=Kp(n);return(Math.max(r,o)+.05)/(Math.min(r,o)+.05)}function ve(t,n){return t=Ar(t),n=Wh(n),(t.type==="rgb"||t.type==="hsl")&&(t.type+="a"),t.type==="color"?t.values[3]=`/${n}`:t.values[3]=n,Mc(t)}function Yr(t,n,r){try{return ve(t,n)}catch{return t}}function Oc(t,n){if(t=Ar(t),n=Wh(n),t.type.includes("hsl"))t.values[2]*=1-n;else if(t.type.includes("rgb")||t.type.includes("color"))for(let r=0;r<3;r+=1)t.values[r]*=1-n;return Mc(t)}function Xt(t,n,r){try{return Oc(t,n)}catch{return t}}function Dc(t,n){if(t=Ar(t),n=Wh(n),t.type.includes("hsl"))t.values[2]+=(100-t.values[2])*n;else if(t.type.includes("rgb"))for(let r=0;r<3;r+=1)t.values[r]+=(255-t.values[r])*n;else if(t.type.includes("color"))for(let r=0;r<3;r+=1)t.values[r]+=(1-t.values[r])*n;return Mc(t)}function Wt(t,n,r){try{return Dc(t,n)}catch{return t}}function Hw(t,n=.15){return Kp(t)>.5?Oc(t,n):Dc(t,n)}function Bu(t,n,r){try{return Hw(t,n)}catch{return t}}const Sx=R.createContext(null);function Qh(){return R.useContext(Sx)}const Fw=typeof Symbol=="function"&&Symbol.for,qw=Fw?Symbol.for("mui.nested"):"__THEME_NESTED__";function Iw(t,n){return typeof n=="function"?n(t):{...t,...n}}function Gw(t){const{children:n,theme:r}=t,o=Qh(),l=R.useMemo(()=>{const u=o===null?{...r}:Iw(o,r);return u!=null&&(u[qw]=o!==null),u},[r,o]);return z.jsx(Sx.Provider,{value:l,children:n})}const xx=R.createContext();function Yw({value:t,...n}){return z.jsx(xx.Provider,{value:t??!0,...n})}const Kw=()=>R.useContext(xx)??!1,Tx=R.createContext(void 0);function Xw({value:t,children:n}){return z.jsx(Tx.Provider,{value:t,children:n})}function Ww(t){const{theme:n,name:r,props:o}=t;if(!n||!n.components||!n.components[r])return o;const l=n.components[r];return l.defaultProps?Fs(l.defaultProps,o,n.components.mergeClassNameAndStyle):!l.styleOverrides&&!l.variants?Fs(l,o,n.components.mergeClassNameAndStyle):o}function Qw({props:t,name:n}){const r=R.useContext(Tx);return Ww({props:t,name:n,theme:{components:r}})}let Eb=0;function Zw(t){const[n,r]=R.useState(t),o=t||n;return R.useEffect(()=>{n==null&&(Eb+=1,r(`mui-${Eb}`))},[n]),o}const Jw={...Hp},Ab=Jw.useId;function il(t){if(Ab!==void 0){const n=Ab();return t??n}return Zw(t)}function tM(t){const n=Kh(),r=il()||"",{modularCssLayers:o}=t;let l="mui.global, mui.components, mui.theme, mui.custom, mui.sx";return!o||n!==null?l="":typeof o=="string"?l=o.replace(/mui(?!\.)/g,l):l=`@layer ${l};`,Gi(()=>{const u=document.querySelector("head");if(!u)return;const c=u.firstChild;if(l){if(c&&c.hasAttribute?.("data-mui-layer-order")&&c.getAttribute("data-mui-layer-order")===r)return;const d=document.createElement("style");d.setAttribute("data-mui-layer-order",r),d.textContent=l,u.prepend(d)}else u.querySelector(`style[data-mui-layer-order="${r}"]`)?.remove()},[l,r]),l?z.jsx(fx,{styles:l}):null}const Rb={};function wb(t,n,r,o=!1){return R.useMemo(()=>{const l=t&&n[t]||n;if(typeof r=="function"){const u=r(l),c=t?{...n,[t]:u}:u;return o?()=>c:c}return t?{...n,[t]:r}:{...n,...r}},[t,n,r,o])}function Cx(t){const{children:n,theme:r,themeId:o}=t,l=Kh(Rb),u=Qh()||Rb,c=wb(o,l,r),d=wb(o,u,r,!0),h=(o?c[o]:c).direction==="rtl",m=tM(c);return z.jsx(Gw,{theme:d,children:z.jsx(Zs.Provider,{value:c,children:z.jsx(Yw,{value:h,children:z.jsxs(Xw,{value:o?c[o].components:c.components,children:[m,n]})})})})}const Mb={theme:void 0};function eM(t){let n,r;return function(l){let u=n;return(u===void 0||l.theme!==r)&&(Mb.theme=l.theme,u=hx(t(Mb)),n=u,r=l.theme),u}}const Zh="mode",Jh="color-scheme",nM="data-color-scheme";function iM(t){const{defaultMode:n="system",defaultLightColorScheme:r="light",defaultDarkColorScheme:o="dark",modeStorageKey:l=Zh,colorSchemeStorageKey:u=Jh,attribute:c=nM,colorSchemeNode:d="document.documentElement",nonce:h}=t||{};let m="",g=c;if(c==="class"&&(g=".%s"),c==="data"&&(g="[data-%s]"),g.startsWith(".")){const b=g.substring(1);m+=`${d}.classList.remove('${b}'.replace('%s', light), '${b}'.replace('%s', dark));
10
- ${d}.classList.add('${b}'.replace('%s', colorScheme));`}const y=g.match(/\[([^[\]]+)\]/);if(y){const[b,C]=y[1].split("=");C||(m+=`${d}.removeAttribute('${b}'.replace('%s', light));
11
- ${d}.removeAttribute('${b}'.replace('%s', dark));`),m+=`
12
- ${d}.setAttribute('${b}'.replace('%s', colorScheme), ${C?`${C}.replace('%s', colorScheme)`:'""'});`}else m+=`${d}.setAttribute('${g}', colorScheme);`;return z.jsx("script",{suppressHydrationWarning:!0,nonce:typeof window>"u"?h:"",dangerouslySetInnerHTML:{__html:`(function() {
13
- try {
14
- let colorScheme = '';
15
- const mode = localStorage.getItem('${l}') || '${n}';
16
- const dark = localStorage.getItem('${u}-dark') || '${o}';
17
- const light = localStorage.getItem('${u}-light') || '${r}';
18
- if (mode === 'system') {
19
- // handle system mode
20
- const mql = window.matchMedia('(prefers-color-scheme: dark)');
21
- if (mql.matches) {
22
- colorScheme = dark
23
- } else {
24
- colorScheme = light
25
- }
26
- }
27
- if (mode === 'light') {
28
- colorScheme = light;
29
- }
30
- if (mode === 'dark') {
31
- colorScheme = dark;
32
- }
33
- if (colorScheme) {
34
- ${m}
35
- }
36
- } catch(e){}})();`}},"mui-color-scheme-init")}function rM(){}const aM=({key:t,storageWindow:n})=>(!n&&typeof window<"u"&&(n=window),{get(r){if(typeof window>"u")return;if(!n)return r;let o;try{o=n.localStorage.getItem(t)}catch{}return o||r},set:r=>{if(n)try{n.localStorage.setItem(t,r)}catch{}},subscribe:r=>{if(!n)return rM;const o=l=>{const u=l.newValue;l.key===t&&r(u)};return n.addEventListener("storage",o),()=>{n.removeEventListener("storage",o)}}});function yp(){}function Ob(t){if(typeof window<"u"&&typeof window.matchMedia=="function"&&t==="system")return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}function Ex(t,n){if(t.mode==="light"||t.mode==="system"&&t.systemMode==="light")return n("light");if(t.mode==="dark"||t.mode==="system"&&t.systemMode==="dark")return n("dark")}function oM(t){return Ex(t,n=>{if(n==="light")return t.lightColorScheme;if(n==="dark")return t.darkColorScheme})}function sM(t){const{defaultMode:n="light",defaultLightColorScheme:r,defaultDarkColorScheme:o,supportedColorSchemes:l=[],modeStorageKey:u=Zh,colorSchemeStorageKey:c=Jh,storageWindow:d=typeof window>"u"?void 0:window,storageManager:h=aM,noSsr:m=!1}=t,g=l.join(","),y=l.length>1,b=R.useMemo(()=>h?.({key:u,storageWindow:d}),[h,u,d]),C=R.useMemo(()=>h?.({key:`${c}-light`,storageWindow:d}),[h,c,d]),S=R.useMemo(()=>h?.({key:`${c}-dark`,storageWindow:d}),[h,c,d]),[x,A]=R.useState(()=>{const V=b?.get(n)||n,K=C?.get(r)||r,Z=S?.get(o)||o;return{mode:V,systemMode:Ob(V),lightColorScheme:K,darkColorScheme:Z}}),[M,N]=R.useState(m||!y);R.useEffect(()=>{N(!0)},[]);const w=oM(x),O=R.useCallback(V=>{A(K=>{if(V===K.mode)return K;const Z=V??n;return b?.set(Z),{...K,mode:Z,systemMode:Ob(Z)}})},[b,n]),D=R.useCallback(V=>{V?typeof V=="string"?V&&!g.includes(V)?console.error(`\`${V}\` does not exist in \`theme.colorSchemes\`.`):A(K=>{const Z={...K};return Ex(K,et=>{et==="light"&&(C?.set(V),Z.lightColorScheme=V),et==="dark"&&(S?.set(V),Z.darkColorScheme=V)}),Z}):A(K=>{const Z={...K},et=V.light===null?r:V.light,E=V.dark===null?o:V.dark;return et&&(g.includes(et)?(Z.lightColorScheme=et,C?.set(et)):console.error(`\`${et}\` does not exist in \`theme.colorSchemes\`.`)),E&&(g.includes(E)?(Z.darkColorScheme=E,S?.set(E)):console.error(`\`${E}\` does not exist in \`theme.colorSchemes\`.`)),Z}):A(K=>(C?.set(r),S?.set(o),{...K,lightColorScheme:r,darkColorScheme:o}))},[g,C,S,r,o]),_=R.useCallback(V=>{x.mode==="system"&&A(K=>{const Z=V?.matches?"dark":"light";return K.systemMode===Z?K:{...K,systemMode:Z}})},[x.mode]),k=R.useRef(_);return k.current=_,R.useEffect(()=>{if(typeof window.matchMedia!="function"||!y)return;const V=(...Z)=>k.current(...Z),K=window.matchMedia("(prefers-color-scheme: dark)");return K.addListener(V),V(K),()=>{K.removeListener(V)}},[y]),R.useEffect(()=>{if(y){const V=b?.subscribe(et=>{(!et||["light","dark","system"].includes(et))&&O(et||n)})||yp,K=C?.subscribe(et=>{(!et||g.match(et))&&D({light:et})})||yp,Z=S?.subscribe(et=>{(!et||g.match(et))&&D({dark:et})})||yp;return()=>{V(),K(),Z()}}},[D,O,g,n,d,y,b,C,S]),{...x,mode:M?x.mode:void 0,systemMode:M?x.systemMode:void 0,colorScheme:M?w:void 0,setMode:O,setColorScheme:D}}const lM="*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";function uM(t){const{themeId:n,theme:r={},modeStorageKey:o=Zh,colorSchemeStorageKey:l=Jh,disableTransitionOnChange:u=!1,defaultColorScheme:c,resolveTheme:d}=t,h={allColorSchemes:[],colorScheme:void 0,darkColorScheme:void 0,lightColorScheme:void 0,mode:void 0,setColorScheme:()=>{},setMode:()=>{},systemMode:void 0},m=R.createContext(void 0),g=()=>R.useContext(m)||h,y={},b={};function C(M){const{children:N,theme:w,modeStorageKey:O=o,colorSchemeStorageKey:D=l,disableTransitionOnChange:_=u,storageManager:k,storageWindow:V=typeof window>"u"?void 0:window,documentNode:K=typeof document>"u"?void 0:document,colorSchemeNode:Z=typeof document>"u"?void 0:document.documentElement,disableNestedContext:et=!1,disableStyleSheetGeneration:E=!1,defaultMode:Q="system",forceThemeRerender:G=!1,noSsr:W}=M,B=R.useRef(!1),F=Qh(),at=R.useContext(m),nt=!!at&&!et,ut=R.useMemo(()=>w||(typeof r=="function"?r():r),[w]),j=ut[n],I=j||ut,{colorSchemes:ot=y,components:st=b,cssVarPrefix:lt}=I,yt=Object.keys(ot).filter(Me=>!!ot[Me]).join(","),mt=R.useMemo(()=>yt.split(","),[yt]),Pt=typeof c=="string"?c:c.light,xt=typeof c=="string"?c:c.dark,St=ot[Pt]&&ot[xt]?Q:ot[I.defaultColorScheme]?.palette?.mode||I.palette?.mode,{mode:Dt,setMode:jt,systemMode:we,lightColorScheme:Ct,darkColorScheme:$t,colorScheme:$e,setColorScheme:_e}=sM({supportedColorSchemes:mt,defaultLightColorScheme:Pt,defaultDarkColorScheme:xt,modeStorageKey:O,colorSchemeStorageKey:D,defaultMode:St,storageManager:k,storageWindow:V,noSsr:W});let ue=Dt,le=$e;nt&&(ue=at.mode,le=at.colorScheme);let de=le||I.defaultColorScheme;I.vars&&!G&&(de=I.defaultColorScheme);const oe=R.useMemo(()=>{const Me=I.generateThemeVars?.()||I.vars,It={...I,components:st,colorSchemes:ot,cssVarPrefix:lt,vars:Me};if(typeof It.generateSpacing=="function"&&(It.spacing=It.generateSpacing()),de){const pe=ot[de];pe&&typeof pe=="object"&&Object.keys(pe).forEach(He=>{pe[He]&&typeof pe[He]=="object"?It[He]={...It[He],...pe[He]}:It[He]=pe[He]})}return d?d(It):It},[I,de,st,ot,lt]),pt=I.colorSchemeSelector;Gi(()=>{if(le&&Z&&pt&&pt!=="media"){const Me=pt;let It=pt;if(Me==="class"&&(It=".%s"),Me==="data"&&(It="[data-%s]"),Me?.startsWith("data-")&&!Me.includes("%s")&&(It=`[${Me}="%s"]`),It.startsWith("."))Z.classList.remove(...mt.map(pe=>It.substring(1).replace("%s",pe))),Z.classList.add(It.substring(1).replace("%s",le));else{const pe=It.replace("%s",le).match(/\[([^\]]+)\]/);if(pe){const[He,en]=pe[1].split("=");en||mt.forEach(te=>{Z.removeAttribute(He.replace(le,te))}),Z.setAttribute(He,en?en.replace(/"|'/g,""):"")}else Z.setAttribute(It,le)}}},[le,pt,Z,mt]),R.useEffect(()=>{let Me;if(_&&B.current&&K){const It=K.createElement("style");It.appendChild(K.createTextNode(lM)),K.head.appendChild(It),window.getComputedStyle(K.body),Me=setTimeout(()=>{K.head.removeChild(It)},1)}return()=>{clearTimeout(Me)}},[le,_,K]),R.useEffect(()=>(B.current=!0,()=>{B.current=!1}),[]);const Nn=R.useMemo(()=>({allColorSchemes:mt,colorScheme:le,darkColorScheme:$t,lightColorScheme:Ct,mode:ue,setColorScheme:_e,setMode:jt,systemMode:we}),[mt,le,$t,Ct,ue,_e,jt,we,oe.colorSchemeSelector]);let kt=!0;(E||I.cssVariables===!1||nt&&F?.cssVarPrefix===lt)&&(kt=!1);const Zn=z.jsxs(R.Fragment,{children:[z.jsx(Cx,{themeId:j?n:void 0,theme:oe,children:N}),kt&&z.jsx(rx,{styles:oe.generateStyleSheets?.()||[]})]});return nt?Zn:z.jsx(m.Provider,{value:Nn,children:Zn})}const S=typeof c=="string"?c:c.light,x=typeof c=="string"?c:c.dark;return{CssVarsProvider:C,useColorScheme:g,getInitColorSchemeScript:M=>iM({colorSchemeStorageKey:l,defaultLightColorScheme:S,defaultDarkColorScheme:x,modeStorageKey:o,...M})}}function cM(t=""){function n(...o){if(!o.length)return"";const l=o[0];return typeof l=="string"&&!l.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}-`:""}${l}${n(...o.slice(1))})`:`, ${l}`}return(o,...l)=>`var(--${t?`${t}-`:""}${o}${n(...l)})`}const Db=(t,n,r,o=[])=>{let l=t;n.forEach((u,c)=>{c===n.length-1?Array.isArray(l)?l[Number(u)]=r:l&&typeof l=="object"&&(l[u]=r):l&&typeof l=="object"&&(l[u]||(l[u]=o.includes(u)?[]:{}),l=l[u])})},fM=(t,n,r)=>{function o(l,u=[],c=[]){Object.entries(l).forEach(([d,h])=>{(!r||r&&!r([...u,d]))&&h!=null&&(typeof h=="object"&&Object.keys(h).length>0?o(h,[...u,d],Array.isArray(h)?[...c,d]:c):n([...u,d],h,c))})}o(t)},dM=(t,n)=>typeof n=="number"?["lineHeight","fontWeight","opacity","zIndex"].some(o=>t.includes(o))||t[t.length-1].toLowerCase().includes("opacity")?n:`${n}px`:n;function vp(t,n){const{prefix:r,shouldSkipGeneratingVar:o}=n||{},l={},u={},c={};return fM(t,(d,h,m)=>{if((typeof h=="string"||typeof h=="number")&&(!o||!o(d,h))){const g=`--${r?`${r}-`:""}${d.join("-")}`,y=dM(d,h);Object.assign(l,{[g]:y}),Db(u,d,`var(${g})`,m),Db(c,d,`var(${g}, ${y})`,m)}},d=>d[0]==="vars"),{css:l,vars:u,varsWithDefaults:c}}function pM(t,n={}){const{getSelector:r=M,disableCssColorScheme:o,colorSchemeSelector:l,enableContrastVars:u}=n,{colorSchemes:c={},components:d,defaultColorScheme:h="light",...m}=t,{vars:g,css:y,varsWithDefaults:b}=vp(m,n);let C=b;const S={},{[h]:x,...A}=c;if(Object.entries(A||{}).forEach(([O,D])=>{const{vars:_,css:k,varsWithDefaults:V}=vp(D,n);C=Ye(C,V),S[O]={css:k,vars:_}}),x){const{css:O,vars:D,varsWithDefaults:_}=vp(x,n);C=Ye(C,_),S[h]={css:O,vars:D}}function M(O,D){let _=l;if(l==="class"&&(_=".%s"),l==="data"&&(_="[data-%s]"),l?.startsWith("data-")&&!l.includes("%s")&&(_=`[${l}="%s"]`),O){if(_==="media")return t.defaultColorScheme===O?":root":{[`@media (prefers-color-scheme: ${c[O]?.palette?.mode||O})`]:{":root":D}};if(_)return t.defaultColorScheme===O?`:root, ${_.replace("%s",String(O))}`:_.replace("%s",String(O))}return":root"}return{vars:C,generateThemeVars:()=>{let O={...g};return Object.entries(S).forEach(([,{vars:D}])=>{O=Ye(O,D)}),O},generateStyleSheets:()=>{const O=[],D=t.defaultColorScheme||"light";function _(K,Z){Object.keys(Z).length&&O.push(typeof K=="string"?{[K]:{...Z}}:K)}_(r(void 0,{...y}),y);const{[D]:k,...V}=S;if(k){const{css:K}=k,Z=c[D]?.palette?.mode,et=!o&&Z?{colorScheme:Z,...K}:{...K};_(r(D,{...et}),et)}return Object.entries(V).forEach(([K,{css:Z}])=>{const et=c[K]?.palette?.mode,E=!o&&et?{colorScheme:et,...Z}:{...Z};_(r(K,{...E}),E)}),u&&O.push({":root":{"--__l-threshold":"0.7","--__l":"clamp(0, (l / var(--__l-threshold) - 1) * -infinity, 1)","--__a":"clamp(0.87, (l / var(--__l-threshold) - 1) * -infinity, 1)"}}),O}}}function hM(t){return function(r){return t==="media"?`@media (prefers-color-scheme: ${r})`:t?t.startsWith("data-")&&!t.includes("%s")?`[${t}="${r}"] &`:t==="class"?`.${r} &`:t==="data"?`[data-${r}] &`:`${t.replace("%s",r)} &`:"&"}}function Zt(t,n,r=void 0){const o={};for(const l in t){const u=t[l];let c="",d=!0;for(let h=0;h<u.length;h+=1){const m=u[h];m&&(c+=(d===!0?"":" ")+n(m),d=!1,r&&r[m]&&(c+=" "+r[m]))}o[l]=c}return o}const mM=nl(),gM=yx("div",{name:"MuiContainer",slot:"Root",overridesResolver:(t,n)=>{const{ownerState:r}=t;return[n.root,n[`maxWidth${bt(String(r.maxWidth))}`],r.fixed&&n.fixed,r.disableGutters&&n.disableGutters]}}),yM=t=>vx({props:t,name:"MuiContainer",defaultTheme:mM}),vM=(t,n)=>{const r=h=>Qt(n,h),{classes:o,fixed:l,disableGutters:u,maxWidth:c}=t,d={root:["root",c&&`maxWidth${bt(String(c))}`,l&&"fixed",u&&"disableGutters"]};return Zt(d,r,o)};function bM(t={}){const{createStyledComponent:n=gM,useThemeProps:r=yM,componentName:o="MuiContainer"}=t,l=n(({theme:c,ownerState:d})=>({width:"100%",marginLeft:"auto",boxSizing:"border-box",marginRight:"auto",...!d.disableGutters&&{paddingLeft:c.spacing(2),paddingRight:c.spacing(2),[c.breakpoints.up("sm")]:{paddingLeft:c.spacing(3),paddingRight:c.spacing(3)}}}),({theme:c,ownerState:d})=>d.fixed&&Object.keys(c.breakpoints.values).reduce((h,m)=>{const g=m,y=c.breakpoints.values[g];return y!==0&&(h[c.breakpoints.up(g)]={maxWidth:`${y}${c.breakpoints.unit}`}),h},{}),({theme:c,ownerState:d})=>({...d.maxWidth==="xs"&&{[c.breakpoints.up("xs")]:{maxWidth:Math.max(c.breakpoints.values.xs,444)}},...d.maxWidth&&d.maxWidth!=="xs"&&{[c.breakpoints.up(d.maxWidth)]:{maxWidth:`${c.breakpoints.values[d.maxWidth]}${c.breakpoints.unit}`}}}));return R.forwardRef(function(d,h){const m=r(d),{className:g,component:y="div",disableGutters:b=!1,fixed:C=!1,maxWidth:S="lg",classes:x,...A}=m,M={...m,component:y,disableGutters:b,fixed:C,maxWidth:S},N=vM(M,o);return z.jsx(l,{as:y,ownerState:M,className:At(N.root,g),ref:h,...A})})}function bp(t,n){return R.isValidElement(t)&&n.indexOf(t.type.muiName??t.type?._payload?.value?.muiName)!==-1}const SM=nl(),xM=yx("div",{name:"MuiStack",slot:"Root"});function TM(t){return vx({props:t,name:"MuiStack",defaultTheme:SM})}function CM(t,n){const r=R.Children.toArray(t).filter(Boolean);return r.reduce((o,l,u)=>(o.push(l),u<r.length-1&&o.push(R.cloneElement(n,{key:`separator-${u}`})),o),[])}const EM=t=>({row:"Left","row-reverse":"Right",column:"Top","column-reverse":"Bottom"})[t],AM=({ownerState:t,theme:n})=>{let r={display:"flex",flexDirection:"column",...ai({theme:n},hp({values:t.direction,breakpoints:n.breakpoints.values}),o=>({flexDirection:o}))};if(t.spacing){const o=xc(n),l=Object.keys(n.breakpoints.values).reduce((h,m)=>((typeof t.spacing=="object"&&t.spacing[m]!=null||typeof t.direction=="object"&&t.direction[m]!=null)&&(h[m]=!0),h),{}),u=hp({values:t.direction,base:l}),c=hp({values:t.spacing,base:l});typeof u=="object"&&Object.keys(u).forEach((h,m,g)=>{if(!u[h]){const b=m>0?u[g[m-1]]:"column";u[h]=b}}),r=Ye(r,ai({theme:n},c,(h,m)=>t.useFlexGap?{gap:ca(o,h)}:{"& > :not(style):not(style)":{margin:0},"& > :not(style) ~ :not(style)":{[`margin${EM(m?u[m]:t.direction)}`]:ca(o,h)}}))}return r=LR(n.breakpoints,r),r};function RM(t={}){const{createStyledComponent:n=xM,useThemeProps:r=TM,componentName:o="MuiStack"}=t,l=()=>Zt({root:["root"]},h=>Qt(o,h),{}),u=n(AM);return R.forwardRef(function(h,m){const g=r(h),y=Xh(g),{component:b="div",direction:C="column",spacing:S=0,divider:x,children:A,className:M,useFlexGap:N=!1,...w}=y,O={direction:C,spacing:S,useFlexGap:N},D=l();return z.jsx(u,{as:b,ownerState:O,ref:m,className:At(D.root,M),...w,children:x?CM(A,x):A})})}function Ax(){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:Us.white,default:Us.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 Rx=Ax();function wx(){return{text:{primary:Us.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:Us.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 Xp=wx();function zb(t,n,r,o){const l=o.light||o,u=o.dark||o*1.5;t[n]||(t.hasOwnProperty(r)?t[n]=t[r]:n==="light"?t.light=Dc(t.main,l):n==="dark"&&(t.dark=Oc(t.main,u)))}function Bb(t,n,r,o,l){const u=l.light||l,c=l.dark||l*1.5;n[r]||(n.hasOwnProperty(o)?n[r]=n[o]:r==="light"?n.light=`color-mix(in ${t}, ${n.main}, #fff ${(u*100).toFixed(0)}%)`:r==="dark"&&(n.dark=`color-mix(in ${t}, ${n.main}, #000 ${(c*100).toFixed(0)}%)`))}function wM(t="light"){return t==="dark"?{main:Za[200],light:Za[50],dark:Za[400]}:{main:Za[700],light:Za[400],dark:Za[800]}}function MM(t="light"){return t==="dark"?{main:Qa[200],light:Qa[50],dark:Qa[400]}:{main:Qa[500],light:Qa[300],dark:Qa[700]}}function OM(t="light"){return t==="dark"?{main:Wa[500],light:Wa[300],dark:Wa[700]}:{main:Wa[700],light:Wa[400],dark:Wa[800]}}function DM(t="light"){return t==="dark"?{main:Ja[400],light:Ja[300],dark:Ja[700]}:{main:Ja[700],light:Ja[500],dark:Ja[900]}}function zM(t="light"){return t==="dark"?{main:to[400],light:to[300],dark:to[700]}:{main:to[800],light:to[500],dark:to[900]}}function BM(t="light"){return t==="dark"?{main:Ss[400],light:Ss[300],dark:Ss[700]}:{main:"#ed6c02",light:Ss[500],dark:Ss[900]}}function NM(t){return`oklch(from ${t} var(--__l) 0 h / var(--__a))`}function tm(t){const{mode:n="light",contrastThreshold:r=3,tonalOffset:o=.2,colorSpace:l,...u}=t,c=t.primary||wM(n),d=t.secondary||MM(n),h=t.error||OM(n),m=t.info||DM(n),g=t.success||zM(n),y=t.warning||BM(n);function b(A){return l?NM(A):$w(A,Xp.text.primary)>=r?Xp.text.primary:Rx.text.primary}const C=({color:A,name:M,mainShade:N=500,lightShade:w=300,darkShade:O=700})=>{if(A={...A},!A.main&&A[N]&&(A.main=A[N]),!A.hasOwnProperty("main"))throw new Error(Ii(11,M?` (${M})`:"",N));if(typeof A.main!="string")throw new Error(Ii(12,M?` (${M})`:"",JSON.stringify(A.main)));return l?(Bb(l,A,"light",w,o),Bb(l,A,"dark",O,o)):(zb(A,"light",w,o),zb(A,"dark",O,o)),A.contrastText||(A.contrastText=b(A.main)),A};let S;return n==="light"?S=Ax():n==="dark"&&(S=wx()),Ye({common:{...Us},mode:n,primary:C({color:c,name:"primary"}),secondary:C({color:d,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:C({color:h,name:"error"}),warning:C({color:y,name:"warning"}),info:C({color:m,name:"info"}),success:C({color:g,name:"success"}),grey:wA,contrastThreshold:r,getContrastText:b,augmentColor:C,tonalOffset:o,...S},u)}function _M(t){const n={};return Object.entries(t).forEach(o=>{const[l,u]=o;typeof u=="object"&&(n[l]=`${u.fontStyle?`${u.fontStyle} `:""}${u.fontVariant?`${u.fontVariant} `:""}${u.fontWeight?`${u.fontWeight} `:""}${u.fontStretch?`${u.fontStretch} `:""}${u.fontSize||""}${u.lineHeight?`/${u.lineHeight} `:""}${u.fontFamily||""}`)}),n}function jM(t,n){return{toolbar:{minHeight:56,[t.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[t.up("sm")]:{minHeight:64}},...n}}function LM(t){return Math.round(t*1e5)/1e5}const Nb={textTransform:"uppercase"},_b='"Roboto", "Helvetica", "Arial", sans-serif';function Mx(t,n){const{fontFamily:r=_b,fontSize:o=14,fontWeightLight:l=300,fontWeightRegular:u=400,fontWeightMedium:c=500,fontWeightBold:d=700,htmlFontSize:h=16,allVariants:m,pxToRem:g,...y}=typeof n=="function"?n(t):n,b=o/14,C=g||(A=>`${A/h*b}rem`),S=(A,M,N,w,O)=>({fontFamily:r,fontWeight:A,fontSize:C(M),lineHeight:N,...r===_b?{letterSpacing:`${LM(w/M)}em`}:{},...O,...m}),x={h1:S(l,96,1.167,-1.5),h2:S(l,60,1.2,-.5),h3:S(u,48,1.167,0),h4:S(u,34,1.235,.25),h5:S(u,24,1.334,0),h6:S(c,20,1.6,.15),subtitle1:S(u,16,1.75,.15),subtitle2:S(c,14,1.57,.1),body1:S(u,16,1.5,.15),body2:S(u,14,1.43,.15),button:S(c,14,1.75,.4,Nb),caption:S(u,12,1.66,.4),overline:S(u,12,2.66,1,Nb),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return Ye({htmlFontSize:h,pxToRem:C,fontFamily:r,fontSize:o,fontWeightLight:l,fontWeightRegular:u,fontWeightMedium:c,fontWeightBold:d,...x},y,{clone:!1})}const kM=.2,PM=.14,UM=.12;function me(...t){return[`${t[0]}px ${t[1]}px ${t[2]}px ${t[3]}px rgba(0,0,0,${kM})`,`${t[4]}px ${t[5]}px ${t[6]}px ${t[7]}px rgba(0,0,0,${PM})`,`${t[8]}px ${t[9]}px ${t[10]}px ${t[11]}px rgba(0,0,0,${UM})`].join(",")}const VM=["none",me(0,2,1,-1,0,1,1,0,0,1,3,0),me(0,3,1,-2,0,2,2,0,0,1,5,0),me(0,3,3,-2,0,3,4,0,0,1,8,0),me(0,2,4,-1,0,4,5,0,0,1,10,0),me(0,3,5,-1,0,5,8,0,0,1,14,0),me(0,3,5,-1,0,6,10,0,0,1,18,0),me(0,4,5,-2,0,7,10,1,0,2,16,1),me(0,5,5,-3,0,8,10,1,0,3,14,2),me(0,5,6,-3,0,9,12,1,0,3,16,2),me(0,6,6,-3,0,10,14,1,0,4,18,3),me(0,6,7,-4,0,11,15,1,0,4,20,3),me(0,7,8,-4,0,12,17,2,0,5,22,4),me(0,7,8,-4,0,13,19,2,0,5,24,4),me(0,7,9,-4,0,14,21,2,0,5,26,4),me(0,8,9,-5,0,15,22,2,0,6,28,5),me(0,8,10,-5,0,16,24,2,0,6,30,5),me(0,8,11,-5,0,17,26,2,0,6,32,5),me(0,9,11,-5,0,18,28,2,0,7,34,6),me(0,9,12,-6,0,19,29,2,0,7,36,6),me(0,10,13,-6,0,20,31,3,0,8,38,7),me(0,10,13,-6,0,21,33,3,0,8,40,7),me(0,10,14,-6,0,22,35,3,0,8,42,7),me(0,11,14,-7,0,23,36,3,0,9,44,8),me(0,11,15,-7,0,24,38,3,0,9,46,8)],$M={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)"},HM={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function jb(t){return`${Math.round(t)}ms`}function FM(t){if(!t)return 0;const n=t/36;return Math.min(Math.round((4+15*n**.25+n/5)*10),3e3)}function qM(t){const n={...$M,...t.easing},r={...HM,...t.duration};return{getAutoHeightDuration:FM,create:(l=["all"],u={})=>{const{duration:c=r.standard,easing:d=n.easeInOut,delay:h=0,...m}=u;return(Array.isArray(l)?l:[l]).map(g=>`${g} ${typeof c=="string"?c:jb(c)} ${d} ${typeof h=="string"?h:jb(h)}`).join(",")},...t,easing:n,duration:r}}const IM={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function GM(t){return bi(t)||typeof t>"u"||typeof t=="string"||typeof t=="boolean"||typeof t=="number"||Array.isArray(t)}function Ox(t={}){const n={...t};function r(o){const l=Object.entries(o);for(let u=0;u<l.length;u++){const[c,d]=l[u];!GM(d)||c.startsWith("unstable_")?delete o[c]:bi(d)&&(o[c]={...d},r(o[c]))}}return r(n),`import { unstable_createBreakpoints as createBreakpoints, createTransitions } from '@mui/material/styles';
37
-
38
- const theme = ${JSON.stringify(n,null,2)};
39
-
40
- theme.breakpoints = createBreakpoints(theme.breakpoints || {});
41
- theme.transitions = createTransitions(theme.transitions || {});
42
-
43
- export default theme;`}function Lb(t){return typeof t=="number"?`${(t*100).toFixed(0)}%`:`calc((${t}) * 100%)`}const YM=t=>{if(!Number.isNaN(+t))return+t;const n=t.match(/\d*\.?\d+/g);if(!n)return 0;let r=0;for(let o=0;o<n.length;o+=1)r+=+n[o];return r};function KM(t){Object.assign(t,{alpha(n,r){const o=this||t;return o.colorSpace?`oklch(from ${n} l c h / ${typeof r=="string"?`calc(${r})`:r})`:o.vars?`rgba(${n.replace(/var\(--([^,\s)]+)(?:,[^)]+)?\)+/g,"var(--$1Channel)")} / ${typeof r=="string"?`calc(${r})`:r})`:ve(n,YM(r))},lighten(n,r){const o=this||t;return o.colorSpace?`color-mix(in ${o.colorSpace}, ${n}, #fff ${Lb(r)})`:Dc(n,r)},darken(n,r){const o=this||t;return o.colorSpace?`color-mix(in ${o.colorSpace}, ${n}, #000 ${Lb(r)})`:Oc(n,r)}})}function Wp(t={},...n){const{breakpoints:r,mixins:o={},spacing:l,palette:u={},transitions:c={},typography:d={},shape:h,colorSpace:m,...g}=t;if(t.vars&&t.generateThemeVars===void 0)throw new Error(Ii(20));const y=tm({...u,colorSpace:m}),b=nl(t);let C=Ye(b,{mixins:jM(b.breakpoints,o),palette:y,shadows:VM.slice(),typography:Mx(y,d),transitions:qM(c),zIndex:{...IM}});return C=Ye(C,g),C=n.reduce((S,x)=>Ye(S,x),C),C.unstable_sxConfig={...el,...g?.unstable_sxConfig},C.unstable_sx=function(x){return Er({sx:x,theme:this})},C.toRuntimeSource=Ox,KM(C),C}function Qp(t){let n;return t<1?n=5.11916*t**2:n=4.5*Math.log(t+1)+2,Math.round(n*10)/1e3}const XM=[...Array(25)].map((t,n)=>{if(n===0)return"none";const r=Qp(n);return`linear-gradient(rgba(255 255 255 / ${r}), rgba(255 255 255 / ${r}))`});function Dx(t){return{inputPlaceholder:t==="dark"?.5:.42,inputUnderline:t==="dark"?.7:.42,switchTrackDisabled:t==="dark"?.2:.12,switchTrack:t==="dark"?.3:.38}}function zx(t){return t==="dark"?XM:[]}function WM(t){const{palette:n={mode:"light"},opacity:r,overlays:o,colorSpace:l,...u}=t,c=tm({...n,colorSpace:l});return{palette:c,opacity:{...Dx(c.mode),...r},overlays:o||zx(c.mode),...u}}function QM(t){return!!t[0].match(/(cssVarPrefix|colorSchemeSelector|modularCssLayers|rootSelector|typography|mixins|breakpoints|direction|transitions)/)||!!t[0].match(/sxConfig$/)||t[0]==="palette"&&!!t[1]?.match(/(mode|contrastThreshold|tonalOffset)/)}const ZM=t=>[...[...Array(25)].map((n,r)=>`--${t?`${t}-`:""}overlays-${r}`),`--${t?`${t}-`:""}palette-AppBar-darkBg`,`--${t?`${t}-`:""}palette-AppBar-darkColor`],JM=t=>(n,r)=>{const o=t.rootSelector||":root",l=t.colorSchemeSelector;let u=l;if(l==="class"&&(u=".%s"),l==="data"&&(u="[data-%s]"),l?.startsWith("data-")&&!l.includes("%s")&&(u=`[${l}="%s"]`),t.defaultColorScheme===n){if(n==="dark"){const c={};return ZM(t.cssVarPrefix).forEach(d=>{c[d]=r[d],delete r[d]}),u==="media"?{[o]:r,"@media (prefers-color-scheme: dark)":{[o]:c}}:u?{[u.replace("%s",n)]:c,[`${o}, ${u.replace("%s",n)}`]:r}:{[o]:{...r,...c}}}if(u&&u!=="media")return`${o}, ${u.replace("%s",String(n))}`}else if(n){if(u==="media")return{[`@media (prefers-color-scheme: ${String(n)})`]:{[o]:r}};if(u)return u.replace("%s",String(n))}return o};function tO(t,n){n.forEach(r=>{t[r]||(t[r]={})})}function tt(t,n,r){!t[n]&&r&&(t[n]=r)}function Ms(t){return typeof t!="string"||!t.startsWith("hsl")?t:bx(t)}function Fi(t,n){`${n}Channel`in t||(t[`${n}Channel`]=ws(Ms(t[n])))}function eO(t){return typeof t=="number"?`${t}px`:typeof t=="string"||typeof t=="function"||Array.isArray(t)?t:"8px"}const hi=t=>{try{return t()}catch{}},nO=(t="mui")=>cM(t);function Sp(t,n,r,o,l){if(!r)return;r=r===!0?{}:r;const u=l==="dark"?"dark":"light";if(!o){n[l]=WM({...r,palette:{mode:u,...r?.palette},colorSpace:t});return}const{palette:c,...d}=Wp({...o,palette:{mode:u,...r?.palette},colorSpace:t});return n[l]={...r,palette:c,opacity:{...Dx(u),...r?.opacity},overlays:r?.overlays||zx(u)},d}function iO(t={},...n){const{colorSchemes:r={light:!0},defaultColorScheme:o,disableCssColorScheme:l=!1,cssVarPrefix:u="mui",nativeColor:c=!1,shouldSkipGeneratingVar:d=QM,colorSchemeSelector:h=r.light&&r.dark?"media":void 0,rootSelector:m=":root",...g}=t,y=Object.keys(r)[0],b=o||(r.light&&y!=="light"?"light":y),C=nO(u),{[b]:S,light:x,dark:A,...M}=r,N={...M};let w=S;if((b==="dark"&&!("dark"in r)||b==="light"&&!("light"in r))&&(w=!0),!w)throw new Error(Ii(21,b));let O;c&&(O="oklch");const D=Sp(O,N,w,g,b);x&&!N.light&&Sp(O,N,x,void 0,"light"),A&&!N.dark&&Sp(O,N,A,void 0,"dark");let _={defaultColorScheme:b,...D,cssVarPrefix:u,colorSchemeSelector:h,rootSelector:m,getCssVar:C,colorSchemes:N,font:{..._M(D.typography),...D.font},spacing:eO(g.spacing)};Object.keys(_.colorSchemes).forEach(et=>{const E=_.colorSchemes[et].palette,Q=W=>{const B=W.split("-"),F=B[1],at=B[2];return C(W,E[F][at])};E.mode==="light"&&(tt(E.common,"background","#fff"),tt(E.common,"onBackground","#000")),E.mode==="dark"&&(tt(E.common,"background","#000"),tt(E.common,"onBackground","#fff"));function G(W,B,F){if(O){let at;return W===Yr&&(at=`transparent ${((1-F)*100).toFixed(0)}%`),W===Xt&&(at=`#000 ${(F*100).toFixed(0)}%`),W===Wt&&(at=`#fff ${(F*100).toFixed(0)}%`),`color-mix(in ${O}, ${B}, ${at})`}return W(B,F)}if(tO(E,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"]),E.mode==="light"){tt(E.Alert,"errorColor",G(Xt,E.error.light,.6)),tt(E.Alert,"infoColor",G(Xt,E.info.light,.6)),tt(E.Alert,"successColor",G(Xt,E.success.light,.6)),tt(E.Alert,"warningColor",G(Xt,E.warning.light,.6)),tt(E.Alert,"errorFilledBg",Q("palette-error-main")),tt(E.Alert,"infoFilledBg",Q("palette-info-main")),tt(E.Alert,"successFilledBg",Q("palette-success-main")),tt(E.Alert,"warningFilledBg",Q("palette-warning-main")),tt(E.Alert,"errorFilledColor",hi(()=>E.getContrastText(E.error.main))),tt(E.Alert,"infoFilledColor",hi(()=>E.getContrastText(E.info.main))),tt(E.Alert,"successFilledColor",hi(()=>E.getContrastText(E.success.main))),tt(E.Alert,"warningFilledColor",hi(()=>E.getContrastText(E.warning.main))),tt(E.Alert,"errorStandardBg",G(Wt,E.error.light,.9)),tt(E.Alert,"infoStandardBg",G(Wt,E.info.light,.9)),tt(E.Alert,"successStandardBg",G(Wt,E.success.light,.9)),tt(E.Alert,"warningStandardBg",G(Wt,E.warning.light,.9)),tt(E.Alert,"errorIconColor",Q("palette-error-main")),tt(E.Alert,"infoIconColor",Q("palette-info-main")),tt(E.Alert,"successIconColor",Q("palette-success-main")),tt(E.Alert,"warningIconColor",Q("palette-warning-main")),tt(E.AppBar,"defaultBg",Q("palette-grey-100")),tt(E.Avatar,"defaultBg",Q("palette-grey-400")),tt(E.Button,"inheritContainedBg",Q("palette-grey-300")),tt(E.Button,"inheritContainedHoverBg",Q("palette-grey-A100")),tt(E.Chip,"defaultBorder",Q("palette-grey-400")),tt(E.Chip,"defaultAvatarColor",Q("palette-grey-700")),tt(E.Chip,"defaultIconColor",Q("palette-grey-700")),tt(E.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),tt(E.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),tt(E.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),tt(E.LinearProgress,"primaryBg",G(Wt,E.primary.main,.62)),tt(E.LinearProgress,"secondaryBg",G(Wt,E.secondary.main,.62)),tt(E.LinearProgress,"errorBg",G(Wt,E.error.main,.62)),tt(E.LinearProgress,"infoBg",G(Wt,E.info.main,.62)),tt(E.LinearProgress,"successBg",G(Wt,E.success.main,.62)),tt(E.LinearProgress,"warningBg",G(Wt,E.warning.main,.62)),tt(E.Skeleton,"bg",O?G(Yr,E.text.primary,.11):`rgba(${Q("palette-text-primaryChannel")} / 0.11)`),tt(E.Slider,"primaryTrack",G(Wt,E.primary.main,.62)),tt(E.Slider,"secondaryTrack",G(Wt,E.secondary.main,.62)),tt(E.Slider,"errorTrack",G(Wt,E.error.main,.62)),tt(E.Slider,"infoTrack",G(Wt,E.info.main,.62)),tt(E.Slider,"successTrack",G(Wt,E.success.main,.62)),tt(E.Slider,"warningTrack",G(Wt,E.warning.main,.62));const W=O?G(Xt,E.background.default,.6825):Bu(E.background.default,.8);tt(E.SnackbarContent,"bg",W),tt(E.SnackbarContent,"color",hi(()=>O?Xp.text.primary:E.getContrastText(W))),tt(E.SpeedDialAction,"fabHoverBg",Bu(E.background.paper,.15)),tt(E.StepConnector,"border",Q("palette-grey-400")),tt(E.StepContent,"border",Q("palette-grey-400")),tt(E.Switch,"defaultColor",Q("palette-common-white")),tt(E.Switch,"defaultDisabledColor",Q("palette-grey-100")),tt(E.Switch,"primaryDisabledColor",G(Wt,E.primary.main,.62)),tt(E.Switch,"secondaryDisabledColor",G(Wt,E.secondary.main,.62)),tt(E.Switch,"errorDisabledColor",G(Wt,E.error.main,.62)),tt(E.Switch,"infoDisabledColor",G(Wt,E.info.main,.62)),tt(E.Switch,"successDisabledColor",G(Wt,E.success.main,.62)),tt(E.Switch,"warningDisabledColor",G(Wt,E.warning.main,.62)),tt(E.TableCell,"border",G(Wt,G(Yr,E.divider,1),.88)),tt(E.Tooltip,"bg",G(Yr,E.grey[700],.92))}if(E.mode==="dark"){tt(E.Alert,"errorColor",G(Wt,E.error.light,.6)),tt(E.Alert,"infoColor",G(Wt,E.info.light,.6)),tt(E.Alert,"successColor",G(Wt,E.success.light,.6)),tt(E.Alert,"warningColor",G(Wt,E.warning.light,.6)),tt(E.Alert,"errorFilledBg",Q("palette-error-dark")),tt(E.Alert,"infoFilledBg",Q("palette-info-dark")),tt(E.Alert,"successFilledBg",Q("palette-success-dark")),tt(E.Alert,"warningFilledBg",Q("palette-warning-dark")),tt(E.Alert,"errorFilledColor",hi(()=>E.getContrastText(E.error.dark))),tt(E.Alert,"infoFilledColor",hi(()=>E.getContrastText(E.info.dark))),tt(E.Alert,"successFilledColor",hi(()=>E.getContrastText(E.success.dark))),tt(E.Alert,"warningFilledColor",hi(()=>E.getContrastText(E.warning.dark))),tt(E.Alert,"errorStandardBg",G(Xt,E.error.light,.9)),tt(E.Alert,"infoStandardBg",G(Xt,E.info.light,.9)),tt(E.Alert,"successStandardBg",G(Xt,E.success.light,.9)),tt(E.Alert,"warningStandardBg",G(Xt,E.warning.light,.9)),tt(E.Alert,"errorIconColor",Q("palette-error-main")),tt(E.Alert,"infoIconColor",Q("palette-info-main")),tt(E.Alert,"successIconColor",Q("palette-success-main")),tt(E.Alert,"warningIconColor",Q("palette-warning-main")),tt(E.AppBar,"defaultBg",Q("palette-grey-900")),tt(E.AppBar,"darkBg",Q("palette-background-paper")),tt(E.AppBar,"darkColor",Q("palette-text-primary")),tt(E.Avatar,"defaultBg",Q("palette-grey-600")),tt(E.Button,"inheritContainedBg",Q("palette-grey-800")),tt(E.Button,"inheritContainedHoverBg",Q("palette-grey-700")),tt(E.Chip,"defaultBorder",Q("palette-grey-700")),tt(E.Chip,"defaultAvatarColor",Q("palette-grey-300")),tt(E.Chip,"defaultIconColor",Q("palette-grey-300")),tt(E.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),tt(E.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),tt(E.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),tt(E.LinearProgress,"primaryBg",G(Xt,E.primary.main,.5)),tt(E.LinearProgress,"secondaryBg",G(Xt,E.secondary.main,.5)),tt(E.LinearProgress,"errorBg",G(Xt,E.error.main,.5)),tt(E.LinearProgress,"infoBg",G(Xt,E.info.main,.5)),tt(E.LinearProgress,"successBg",G(Xt,E.success.main,.5)),tt(E.LinearProgress,"warningBg",G(Xt,E.warning.main,.5)),tt(E.Skeleton,"bg",O?G(Yr,E.text.primary,.13):`rgba(${Q("palette-text-primaryChannel")} / 0.13)`),tt(E.Slider,"primaryTrack",G(Xt,E.primary.main,.5)),tt(E.Slider,"secondaryTrack",G(Xt,E.secondary.main,.5)),tt(E.Slider,"errorTrack",G(Xt,E.error.main,.5)),tt(E.Slider,"infoTrack",G(Xt,E.info.main,.5)),tt(E.Slider,"successTrack",G(Xt,E.success.main,.5)),tt(E.Slider,"warningTrack",G(Xt,E.warning.main,.5));const W=O?G(Wt,E.background.default,.985):Bu(E.background.default,.98);tt(E.SnackbarContent,"bg",W),tt(E.SnackbarContent,"color",hi(()=>O?Rx.text.primary:E.getContrastText(W))),tt(E.SpeedDialAction,"fabHoverBg",Bu(E.background.paper,.15)),tt(E.StepConnector,"border",Q("palette-grey-600")),tt(E.StepContent,"border",Q("palette-grey-600")),tt(E.Switch,"defaultColor",Q("palette-grey-300")),tt(E.Switch,"defaultDisabledColor",Q("palette-grey-600")),tt(E.Switch,"primaryDisabledColor",G(Xt,E.primary.main,.55)),tt(E.Switch,"secondaryDisabledColor",G(Xt,E.secondary.main,.55)),tt(E.Switch,"errorDisabledColor",G(Xt,E.error.main,.55)),tt(E.Switch,"infoDisabledColor",G(Xt,E.info.main,.55)),tt(E.Switch,"successDisabledColor",G(Xt,E.success.main,.55)),tt(E.Switch,"warningDisabledColor",G(Xt,E.warning.main,.55)),tt(E.TableCell,"border",G(Xt,G(Yr,E.divider,1),.68)),tt(E.Tooltip,"bg",G(Yr,E.grey[700],.92))}Fi(E.background,"default"),Fi(E.background,"paper"),Fi(E.common,"background"),Fi(E.common,"onBackground"),Fi(E,"divider"),Object.keys(E).forEach(W=>{const B=E[W];W!=="tonalOffset"&&B&&typeof B=="object"&&(B.main&&tt(E[W],"mainChannel",ws(Ms(B.main))),B.light&&tt(E[W],"lightChannel",ws(Ms(B.light))),B.dark&&tt(E[W],"darkChannel",ws(Ms(B.dark))),B.contrastText&&tt(E[W],"contrastTextChannel",ws(Ms(B.contrastText))),W==="text"&&(Fi(E[W],"primary"),Fi(E[W],"secondary")),W==="action"&&(B.active&&Fi(E[W],"active"),B.selected&&Fi(E[W],"selected")))})}),_=n.reduce((et,E)=>Ye(et,E),_);const k={prefix:u,disableCssColorScheme:l,shouldSkipGeneratingVar:d,getSelector:JM(_),enableContrastVars:c},{vars:V,generateThemeVars:K,generateStyleSheets:Z}=pM(_,k);return _.vars=V,Object.entries(_.colorSchemes[_.defaultColorScheme]).forEach(([et,E])=>{_[et]=E}),_.generateThemeVars=K,_.generateStyleSheets=Z,_.generateSpacing=function(){return cx(g.spacing,xc(this))},_.getColorSchemeSelector=hM(h),_.spacing=_.generateSpacing(),_.shouldSkipGeneratingVar=d,_.unstable_sxConfig={...el,...g?.unstable_sxConfig},_.unstable_sx=function(E){return Er({sx:E,theme:this})},_.toRuntimeSource=Ox,_}function kb(t,n,r){t.colorSchemes&&r&&(t.colorSchemes[n]={...r!==!0&&r,palette:tm({...r===!0?{}:r.palette,mode:n})})}function zc(t={},...n){const{palette:r,cssVariables:o=!1,colorSchemes:l=r?void 0:{light:!0},defaultColorScheme:u=r?.mode,...c}=t,d=u||"light",h=l?.[d],m={...l,...r?{[d]:{...typeof h!="boolean"&&h,palette:r}}:void 0};if(o===!1){if(!("colorSchemes"in t))return Wp(t,...n);let g=r;"palette"in t||m[d]&&(m[d]!==!0?g=m[d].palette:d==="dark"&&(g={mode:"dark"}));const y=Wp({...t,palette:g},...n);return y.defaultColorScheme=d,y.colorSchemes=m,y.palette.mode==="light"&&(y.colorSchemes.light={...m.light!==!0&&m.light,palette:y.palette},kb(y,"dark",m.dark)),y.palette.mode==="dark"&&(y.colorSchemes.dark={...m.dark!==!0&&m.dark,palette:y.palette},kb(y,"light",m.light)),y}return!r&&!("light"in m)&&d==="light"&&(m.light=!0),iO({...c,colorSchemes:m,defaultColorScheme:d,...typeof o!="boolean"&&o},...n)}const em=zc();function rl(){const t=wc(em);return t[Si]||t}function Bx(t){return t!=="ownerState"&&t!=="theme"&&t!=="sx"&&t!=="as"}const si=t=>Bx(t)&&t!=="classes",dt=gx({themeId:Si,defaultTheme:em,rootShouldForwardProp:si});function rO({theme:t,...n}){const r=Si in t?t[Si]:void 0;return z.jsx(Cx,{...n,themeId:r?Si:void 0,theme:r||t})}const Nu={colorSchemeStorageKey:"mui-color-scheme",defaultLightColorScheme:"light",defaultDarkColorScheme:"dark",modeStorageKey:"mui-mode"},{CssVarsProvider:aO}=uM({themeId:Si,theme:()=>zc({cssVariables:!0}),colorSchemeStorageKey:Nu.colorSchemeStorageKey,modeStorageKey:Nu.modeStorageKey,defaultColorScheme:{light:Nu.defaultLightColorScheme,dark:Nu.defaultDarkColorScheme},resolveTheme:t=>{const n={...t,typography:Mx(t.palette,t.typography)};return n.unstable_sx=function(o){return Er({sx:o,theme:this})},n}}),oO=aO;function sO({theme:t,...n}){const r=R.useMemo(()=>{if(typeof t=="function")return t;const o=Si in t?t[Si]:t;return"colorSchemes"in o?null:"vars"in o?t:{...t,vars:null}},[t]);return r?z.jsx(rO,{theme:r,...n}):z.jsx(oO,{theme:t,...n})}function Pb(...t){return t.reduce((n,r)=>r==null?n:function(...l){n.apply(this,l),r.apply(this,l)},()=>{})}function lO(t){return z.jsx(fx,{...t,defaultTheme:em,themeId:Si})}function nm(t){return function(r){return z.jsx(lO,{styles:typeof t=="function"?o=>t({theme:o,...r}):t})}}function uO(){return Xh}const ye=eM;function Jt(t){return Qw(t)}function cO(t){return Qt("MuiSvgIcon",t)}ae("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const fO=t=>{const{color:n,fontSize:r,classes:o}=t,l={root:["root",n!=="inherit"&&`color${bt(n)}`,`fontSize${bt(r)}`]};return Zt(l,cO,o)},dO=dt("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(t,n)=>{const{ownerState:r}=t;return[n.root,r.color!=="inherit"&&n[`color${bt(r.color)}`],n[`fontSize${bt(r.fontSize)}`]]}})(ye(({theme:t})=>({userSelect:"none",width:"1em",height:"1em",display:"inline-block",flexShrink:0,transition:t.transitions?.create?.("fill",{duration:(t.vars??t).transitions?.duration?.shorter}),variants:[{props:n=>!n.hasSvgAsChild,style:{fill:"currentColor"}},{props:{fontSize:"inherit"},style:{fontSize:"inherit"}},{props:{fontSize:"small"},style:{fontSize:t.typography?.pxToRem?.(20)||"1.25rem"}},{props:{fontSize:"medium"},style:{fontSize:t.typography?.pxToRem?.(24)||"1.5rem"}},{props:{fontSize:"large"},style:{fontSize:t.typography?.pxToRem?.(35)||"2.1875rem"}},...Object.entries((t.vars??t).palette).filter(([,n])=>n&&n.main).map(([n])=>({props:{color:n},style:{color:(t.vars??t).palette?.[n]?.main}})),{props:{color:"action"},style:{color:(t.vars??t).palette?.action?.active}},{props:{color:"disabled"},style:{color:(t.vars??t).palette?.action?.disabled}},{props:{color:"inherit"},style:{color:void 0}}]}))),Zp=R.forwardRef(function(n,r){const o=Jt({props:n,name:"MuiSvgIcon"}),{children:l,className:u,color:c="inherit",component:d="svg",fontSize:h="medium",htmlColor:m,inheritViewBox:g=!1,titleAccess:y,viewBox:b="0 0 24 24",...C}=o,S=R.isValidElement(l)&&l.type==="svg",x={...o,color:c,component:d,fontSize:h,instanceFontSize:n.fontSize,inheritViewBox:g,viewBox:b,hasSvgAsChild:S},A={};g||(A.viewBox=b);const M=fO(x);return z.jsxs(dO,{as:d,className:At(M.root,u),focusable:"false",color:m,"aria-hidden":y?void 0:!0,role:y?"img":void 0,ref:r,...A,...C,...S&&l.props,ownerState:x,children:[S?l.props.children:l,y?z.jsx("title",{children:y}):null]})});Zp.muiName="SvgIcon";function Cn(t,n){function r(o,l){return z.jsx(Zp,{"data-testid":void 0,ref:l,...o,children:t})}return r.muiName=Zp.muiName,R.memo(R.forwardRef(r))}function Nx(t,n=166){let r;function o(...l){const u=()=>{t.apply(this,l)};clearTimeout(r),r=setTimeout(u,n)}return o.clear=()=>{clearTimeout(r)},o}function oi(t){return t&&t.ownerDocument||document}function Yi(t){return oi(t).defaultView||window}function Ub(t,n){typeof t=="function"?t(n):t&&(t.current=n)}function Vb(t){const{controlled:n,default:r,name:o,state:l="value"}=t,{current:u}=R.useRef(n!==void 0),[c,d]=R.useState(r),h=u?n:c,m=R.useCallback(g=>{u||d(g)},[]);return[h,m]}function oa(t){const n=R.useRef(t);return Gi(()=>{n.current=t}),R.useRef((...r)=>(0,n.current)(...r)).current}function Tn(...t){const n=R.useRef(void 0),r=R.useCallback(o=>{const l=t.map(u=>{if(u==null)return null;if(typeof u=="function"){const c=u,d=c(o);return typeof d=="function"?d:()=>{c(null)}}return u.current=o,()=>{u.current=null}});return()=>{l.forEach(u=>u?.())}},t);return R.useMemo(()=>t.every(o=>o==null)?null:o=>{n.current&&(n.current(),n.current=void 0),o!=null&&(n.current=r(o))},t)}function pO(t,n){const r=t.charCodeAt(2);return t[0]==="o"&&t[1]==="n"&&r>=65&&r<=90&&typeof n=="function"}function hO(t,n){if(!t)return n;function r(c,d){const h={};return Object.keys(d).forEach(m=>{pO(m,d[m])&&typeof c[m]=="function"&&(h[m]=(...g)=>{c[m](...g),d[m](...g)})}),h}if(typeof t=="function"||typeof n=="function")return c=>{const d=typeof n=="function"?n(c):n,h=typeof t=="function"?t({...c,...d}):t,m=At(c?.className,d?.className,h?.className),g=r(h,d);return{...d,...h,...g,...!!m&&{className:m},...d?.style&&h?.style&&{style:{...d.style,...h.style}},...d?.sx&&h?.sx&&{sx:[...Array.isArray(d.sx)?d.sx:[d.sx],...Array.isArray(h.sx)?h.sx:[h.sx]]}}};const o=n,l=r(t,o),u=At(o?.className,t?.className);return{...n,...t,...l,...!!u&&{className:u},...o?.style&&t?.style&&{style:{...o.style,...t.style}},...o?.sx&&t?.sx&&{sx:[...Array.isArray(o.sx)?o.sx:[o.sx],...Array.isArray(t.sx)?t.sx:[t.sx]]}}}function _x(t,n){if(t==null)return{};var r={};for(var o in t)if({}.hasOwnProperty.call(t,o)){if(n.indexOf(o)!==-1)continue;r[o]=t[o]}return r}function Jp(t,n){return Jp=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,o){return r.__proto__=o,r},Jp(t,n)}function jx(t,n){t.prototype=Object.create(n.prototype),t.prototype.constructor=t,Jp(t,n)}var Lx=q1();const _u=jh(Lx),$b={disabled:!1},ac=ri.createContext(null);var mO=function(n){return n.scrollTop},Os="unmounted",Qr="exited",Zr="entering",io="entered",th="exiting",Ei=(function(t){jx(n,t);function n(o,l){var u;u=t.call(this,o,l)||this;var c=l,d=c&&!c.isMounting?o.enter:o.appear,h;return u.appearStatus=null,o.in?d?(h=Qr,u.appearStatus=Zr):h=io:o.unmountOnExit||o.mountOnEnter?h=Os:h=Qr,u.state={status:h},u.nextCallback=null,u}n.getDerivedStateFromProps=function(l,u){var c=l.in;return c&&u.status===Os?{status:Qr}:null};var r=n.prototype;return r.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},r.componentDidUpdate=function(l){var u=null;if(l!==this.props){var c=this.state.status;this.props.in?c!==Zr&&c!==io&&(u=Zr):(c===Zr||c===io)&&(u=th)}this.updateStatus(!1,u)},r.componentWillUnmount=function(){this.cancelNextCallback()},r.getTimeouts=function(){var l=this.props.timeout,u,c,d;return u=c=d=l,l!=null&&typeof l!="number"&&(u=l.exit,c=l.enter,d=l.appear!==void 0?l.appear:c),{exit:u,enter:c,appear:d}},r.updateStatus=function(l,u){if(l===void 0&&(l=!1),u!==null)if(this.cancelNextCallback(),u===Zr){if(this.props.unmountOnExit||this.props.mountOnEnter){var c=this.props.nodeRef?this.props.nodeRef.current:_u.findDOMNode(this);c&&mO(c)}this.performEnter(l)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Qr&&this.setState({status:Os})},r.performEnter=function(l){var u=this,c=this.props.enter,d=this.context?this.context.isMounting:l,h=this.props.nodeRef?[d]:[_u.findDOMNode(this),d],m=h[0],g=h[1],y=this.getTimeouts(),b=d?y.appear:y.enter;if(!l&&!c||$b.disabled){this.safeSetState({status:io},function(){u.props.onEntered(m)});return}this.props.onEnter(m,g),this.safeSetState({status:Zr},function(){u.props.onEntering(m,g),u.onTransitionEnd(b,function(){u.safeSetState({status:io},function(){u.props.onEntered(m,g)})})})},r.performExit=function(){var l=this,u=this.props.exit,c=this.getTimeouts(),d=this.props.nodeRef?void 0:_u.findDOMNode(this);if(!u||$b.disabled){this.safeSetState({status:Qr},function(){l.props.onExited(d)});return}this.props.onExit(d),this.safeSetState({status:th},function(){l.props.onExiting(d),l.onTransitionEnd(c.exit,function(){l.safeSetState({status:Qr},function(){l.props.onExited(d)})})})},r.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},r.safeSetState=function(l,u){u=this.setNextCallback(u),this.setState(l,u)},r.setNextCallback=function(l){var u=this,c=!0;return this.nextCallback=function(d){c&&(c=!1,u.nextCallback=null,l(d))},this.nextCallback.cancel=function(){c=!1},this.nextCallback},r.onTransitionEnd=function(l,u){this.setNextCallback(u);var c=this.props.nodeRef?this.props.nodeRef.current:_u.findDOMNode(this),d=l==null&&!this.props.addEndListener;if(!c||d){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var h=this.props.nodeRef?[this.nextCallback]:[c,this.nextCallback],m=h[0],g=h[1];this.props.addEndListener(m,g)}l!=null&&setTimeout(this.nextCallback,l)},r.render=function(){var l=this.state.status;if(l===Os)return null;var u=this.props,c=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 d=_x(u,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return ri.createElement(ac.Provider,{value:null},typeof c=="function"?c(l,d):ri.cloneElement(ri.Children.only(c),d))},n})(ri.Component);Ei.contextType=ac;Ei.propTypes={};function eo(){}Ei.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:eo,onEntering:eo,onEntered:eo,onExit:eo,onExiting:eo,onExited:eo};Ei.UNMOUNTED=Os;Ei.EXITED=Qr;Ei.ENTERING=Zr;Ei.ENTERED=io;Ei.EXITING=th;function gO(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function im(t,n){var r=function(u){return n&&R.isValidElement(u)?n(u):u},o=Object.create(null);return t&&R.Children.map(t,function(l){return l}).forEach(function(l){o[l.key]=r(l)}),o}function yO(t,n){t=t||{},n=n||{};function r(g){return g in n?n[g]:t[g]}var o=Object.create(null),l=[];for(var u in t)u in n?l.length&&(o[u]=l,l=[]):l.push(u);var c,d={};for(var h in n){if(o[h])for(c=0;c<o[h].length;c++){var m=o[h][c];d[o[h][c]]=r(m)}d[h]=r(h)}for(c=0;c<l.length;c++)d[l[c]]=r(l[c]);return d}function na(t,n,r){return r[n]!=null?r[n]:t.props[n]}function vO(t,n){return im(t.children,function(r){return R.cloneElement(r,{onExited:n.bind(null,r),in:!0,appear:na(r,"appear",t),enter:na(r,"enter",t),exit:na(r,"exit",t)})})}function bO(t,n,r){var o=im(t.children),l=yO(n,o);return Object.keys(l).forEach(function(u){var c=l[u];if(R.isValidElement(c)){var d=u in n,h=u in o,m=n[u],g=R.isValidElement(m)&&!m.props.in;h&&(!d||g)?l[u]=R.cloneElement(c,{onExited:r.bind(null,c),in:!0,exit:na(c,"exit",t),enter:na(c,"enter",t)}):!h&&d&&!g?l[u]=R.cloneElement(c,{in:!1}):h&&d&&R.isValidElement(m)&&(l[u]=R.cloneElement(c,{onExited:r.bind(null,c),in:m.props.in,exit:na(c,"exit",t),enter:na(c,"enter",t)}))}}),l}var SO=Object.values||function(t){return Object.keys(t).map(function(n){return t[n]})},xO={component:"div",childFactory:function(n){return n}},rm=(function(t){jx(n,t);function n(o,l){var u;u=t.call(this,o,l)||this;var c=u.handleExited.bind(gO(u));return u.state={contextValue:{isMounting:!0},handleExited:c,firstRender:!0},u}var r=n.prototype;return r.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},r.componentWillUnmount=function(){this.mounted=!1},n.getDerivedStateFromProps=function(l,u){var c=u.children,d=u.handleExited,h=u.firstRender;return{children:h?vO(l,d):bO(l,c,d),firstRender:!1}},r.handleExited=function(l,u){var c=im(this.props.children);l.key in c||(l.props.onExited&&l.props.onExited(u),this.mounted&&this.setState(function(d){var h=nc({},d.children);return delete h[l.key],{children:h}}))},r.render=function(){var l=this.props,u=l.component,c=l.childFactory,d=_x(l,["component","childFactory"]),h=this.state.contextValue,m=SO(this.state.children).map(c);return delete d.appear,delete d.enter,delete d.exit,u===null?ri.createElement(ac.Provider,{value:h},m):ri.createElement(ac.Provider,{value:h},ri.createElement(u,d,m))},n})(ri.Component);rm.propTypes={};rm.defaultProps=xO;const Hb={};function kx(t,n){const r=R.useRef(Hb);return r.current===Hb&&(r.current=t(n)),r}const TO=[];function CO(t){R.useEffect(t,TO)}class am{static create(){return new am}currentId=null;start(n,r){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,r()},n)}clear=()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)};disposeEffect=()=>this.clear}function Px(){const t=kx(am.create).current;return CO(t.disposeEffect),t}const Ux=t=>t.scrollTop;function oc(t,n){const{timeout:r,easing:o,style:l={}}=t;return{duration:l.transitionDuration??(typeof r=="number"?r:r[n.mode]||0),easing:l.transitionTimingFunction??(typeof o=="object"?o[n.mode]:o),delay:l.transitionDelay}}function sc(t){return typeof t=="string"}function Vx(t,n,r){return t===void 0||sc(t)?n:{...n,ownerState:{...n.ownerState,...r}}}function $x(t,n,r){return typeof t=="function"?t(n,r):t}function Hx(t,n=[]){if(t===void 0)return{};const r={};return Object.keys(t).filter(o=>o.match(/^on[A-Z]/)&&typeof t[o]=="function"&&!n.includes(o)).forEach(o=>{r[o]=t[o]}),r}function Fb(t){if(t===void 0)return{};const n={};return Object.keys(t).filter(r=>!(r.match(/^on[A-Z]/)&&typeof t[r]=="function")).forEach(r=>{n[r]=t[r]}),n}function Fx(t){const{getSlotProps:n,additionalProps:r,externalSlotProps:o,externalForwardedProps:l,className:u}=t;if(!n){const C=At(r?.className,u,l?.className,o?.className),S={...r?.style,...l?.style,...o?.style},x={...r,...l,...o};return C.length>0&&(x.className=C),Object.keys(S).length>0&&(x.style=S),{props:x,internalRef:void 0}}const c=Hx({...l,...o}),d=Fb(o),h=Fb(l),m=n(c),g=At(m?.className,r?.className,u,l?.className,o?.className),y={...m?.style,...r?.style,...l?.style,...o?.style},b={...m,...r,...h,...d};return g.length>0&&(b.className=g),Object.keys(y).length>0&&(b.style=y),{props:b,internalRef:m.ref}}function Ae(t,n){const{className:r,elementType:o,ownerState:l,externalForwardedProps:u,internalForwardedProps:c,shouldForwardComponentProp:d=!1,...h}=n,{component:m,slots:g={[t]:void 0},slotProps:y={[t]:void 0},...b}=u,C=g[t]||o,S=$x(y[t],l),{props:{component:x,...A},internalRef:M}=Fx({className:r,...h,externalForwardedProps:t==="root"?b:void 0,externalSlotProps:S}),N=Tn(M,S?.ref,n.ref),w=t==="root"?x||m:x,O=Vx(C,{...t==="root"&&!m&&!g[t]&&c,...t!=="root"&&!g[t]&&c,...A,...w&&!d&&{as:w},...w&&d&&{component:w},ref:N},l);return[C,O]}function EO(t){return Qt("MuiPaper",t)}ae("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 AO=t=>{const{square:n,elevation:r,variant:o,classes:l}=t,u={root:["root",o,!n&&"rounded",o==="elevation"&&`elevation${r}`]};return Zt(u,EO,l)},RO=dt("div",{name:"MuiPaper",slot:"Root",overridesResolver:(t,n)=>{const{ownerState:r}=t;return[n.root,n[r.variant],!r.square&&n.rounded,r.variant==="elevation"&&n[`elevation${r.elevation}`]]}})(ye(({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:n})=>!n.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)"}}]}))),om=R.forwardRef(function(n,r){const o=Jt({props:n,name:"MuiPaper"}),l=rl(),{className:u,component:c="div",elevation:d=1,square:h=!1,variant:m="elevation",...g}=o,y={...o,component:c,elevation:d,square:h,variant:m},b=AO(y);return z.jsx(RO,{as:c,ownerState:y,className:At(b.root,u),ref:r,...g,style:{...m==="elevation"&&{"--Paper-shadow":(l.vars||l).shadows[d],...l.vars&&{"--Paper-overlay":l.vars.overlays?.[d]},...!l.vars&&l.palette.mode==="dark"&&{"--Paper-overlay":`linear-gradient(${ve("#fff",Qp(d))}, ${ve("#fff",Qp(d))})`}},...g.style}})});function qb(t){try{return t.matches(":focus-visible")}catch{}return!1}class lc{static create(){return new lc}static use(){const n=kx(lc.create).current,[r,o]=R.useState(!1);return n.shouldMount=r,n.setShouldMount=o,R.useEffect(n.mountEffect,[r]),n}constructor(){this.ref={current:null},this.mounted=null,this.didMount=!1,this.shouldMount=!1,this.setShouldMount=null}mount(){return this.mounted||(this.mounted=MO(),this.shouldMount=!0,this.setShouldMount(this.shouldMount)),this.mounted}mountEffect=()=>{this.shouldMount&&!this.didMount&&this.ref.current!==null&&(this.didMount=!0,this.mounted.resolve())};start(...n){this.mount().then(()=>this.ref.current?.start(...n))}stop(...n){this.mount().then(()=>this.ref.current?.stop(...n))}pulsate(...n){this.mount().then(()=>this.ref.current?.pulsate(...n))}}function wO(){return lc.use()}function MO(){let t,n;const r=new Promise((o,l)=>{t=o,n=l});return r.resolve=t,r.reject=n,r}function OO(t){const{className:n,classes:r,pulsate:o=!1,rippleX:l,rippleY:u,rippleSize:c,in:d,onExited:h,timeout:m}=t,[g,y]=R.useState(!1),b=At(n,r.ripple,r.rippleVisible,o&&r.ripplePulsate),C={width:c,height:c,top:-(c/2)+u,left:-(c/2)+l},S=At(r.child,g&&r.childLeaving,o&&r.childPulsate);return!d&&!g&&y(!0),R.useEffect(()=>{if(!d&&h!=null){const x=setTimeout(h,m);return()=>{clearTimeout(x)}}},[h,d,m]),z.jsx("span",{className:b,style:C,children:z.jsx("span",{className:S})})}const Gn=ae("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),eh=550,DO=80,zO=Js`
44
- 0% {
45
- transform: scale(0);
46
- opacity: 0.1;
47
- }
48
-
49
- 100% {
50
- transform: scale(1);
51
- opacity: 0.3;
52
- }
53
- `,BO=Js`
54
- 0% {
55
- opacity: 1;
56
- }
57
-
58
- 100% {
59
- opacity: 0;
60
- }
61
- `,NO=Js`
62
- 0% {
63
- transform: scale(1);
64
- }
65
-
66
- 50% {
67
- transform: scale(0.92);
68
- }
69
-
70
- 100% {
71
- transform: scale(1);
72
- }
73
- `,_O=dt("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),jO=dt(OO,{name:"MuiTouchRipple",slot:"Ripple"})`
74
- opacity: 0;
75
- position: absolute;
76
-
77
- &.${Gn.rippleVisible} {
78
- opacity: 0.3;
79
- transform: scale(1);
80
- animation-name: ${zO};
81
- animation-duration: ${eh}ms;
82
- animation-timing-function: ${({theme:t})=>t.transitions.easing.easeInOut};
83
- }
84
-
85
- &.${Gn.ripplePulsate} {
86
- animation-duration: ${({theme:t})=>t.transitions.duration.shorter}ms;
87
- }
88
-
89
- & .${Gn.child} {
90
- opacity: 1;
91
- display: block;
92
- width: 100%;
93
- height: 100%;
94
- border-radius: 50%;
95
- background-color: currentColor;
96
- }
97
-
98
- & .${Gn.childLeaving} {
99
- opacity: 0;
100
- animation-name: ${BO};
101
- animation-duration: ${eh}ms;
102
- animation-timing-function: ${({theme:t})=>t.transitions.easing.easeInOut};
103
- }
104
-
105
- & .${Gn.childPulsate} {
106
- position: absolute;
107
- /* @noflip */
108
- left: 0px;
109
- top: 0;
110
- animation-name: ${NO};
111
- animation-duration: 2500ms;
112
- animation-timing-function: ${({theme:t})=>t.transitions.easing.easeInOut};
113
- animation-iteration-count: infinite;
114
- animation-delay: 200ms;
115
- }
116
- `,LO=R.forwardRef(function(n,r){const o=Jt({props:n,name:"MuiTouchRipple"}),{center:l=!1,classes:u={},className:c,...d}=o,[h,m]=R.useState([]),g=R.useRef(0),y=R.useRef(null);R.useEffect(()=>{y.current&&(y.current(),y.current=null)},[h]);const b=R.useRef(!1),C=Px(),S=R.useRef(null),x=R.useRef(null),A=R.useCallback(O=>{const{pulsate:D,rippleX:_,rippleY:k,rippleSize:V,cb:K}=O;m(Z=>[...Z,z.jsx(jO,{classes:{ripple:At(u.ripple,Gn.ripple),rippleVisible:At(u.rippleVisible,Gn.rippleVisible),ripplePulsate:At(u.ripplePulsate,Gn.ripplePulsate),child:At(u.child,Gn.child),childLeaving:At(u.childLeaving,Gn.childLeaving),childPulsate:At(u.childPulsate,Gn.childPulsate)},timeout:eh,pulsate:D,rippleX:_,rippleY:k,rippleSize:V},g.current)]),g.current+=1,y.current=K},[u]),M=R.useCallback((O={},D={},_=()=>{})=>{const{pulsate:k=!1,center:V=l||D.pulsate,fakeElement:K=!1}=D;if(O?.type==="mousedown"&&b.current){b.current=!1;return}O?.type==="touchstart"&&(b.current=!0);const Z=K?null:x.current,et=Z?Z.getBoundingClientRect():{width:0,height:0,left:0,top:0};let E,Q,G;if(V||O===void 0||O.clientX===0&&O.clientY===0||!O.clientX&&!O.touches)E=Math.round(et.width/2),Q=Math.round(et.height/2);else{const{clientX:W,clientY:B}=O.touches&&O.touches.length>0?O.touches[0]:O;E=Math.round(W-et.left),Q=Math.round(B-et.top)}if(V)G=Math.sqrt((2*et.width**2+et.height**2)/3),G%2===0&&(G+=1);else{const W=Math.max(Math.abs((Z?Z.clientWidth:0)-E),E)*2+2,B=Math.max(Math.abs((Z?Z.clientHeight:0)-Q),Q)*2+2;G=Math.sqrt(W**2+B**2)}O?.touches?S.current===null&&(S.current=()=>{A({pulsate:k,rippleX:E,rippleY:Q,rippleSize:G,cb:_})},C.start(DO,()=>{S.current&&(S.current(),S.current=null)})):A({pulsate:k,rippleX:E,rippleY:Q,rippleSize:G,cb:_})},[l,A,C]),N=R.useCallback(()=>{M({},{pulsate:!0})},[M]),w=R.useCallback((O,D)=>{if(C.clear(),O?.type==="touchend"&&S.current){S.current(),S.current=null,C.start(0,()=>{w(O,D)});return}S.current=null,m(_=>_.length>0?_.slice(1):_),y.current=D},[C]);return R.useImperativeHandle(r,()=>({pulsate:N,start:M,stop:w}),[N,M,w]),z.jsx(_O,{className:At(Gn.root,u.root,c),ref:x,...d,children:z.jsx(rm,{component:null,exit:!0,children:h})})});function kO(t){return Qt("MuiButtonBase",t)}const PO=ae("MuiButtonBase",["root","disabled","focusVisible"]),UO=t=>{const{disabled:n,focusVisible:r,focusVisibleClassName:o,classes:l}=t,c=Zt({root:["root",n&&"disabled",r&&"focusVisible"]},kO,l);return r&&o&&(c.root+=` ${o}`),c},VO=dt("button",{name:"MuiButtonBase",slot:"Root"})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${PO.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),qx=R.forwardRef(function(n,r){const o=Jt({props:n,name:"MuiButtonBase"}),{action:l,centerRipple:u=!1,children:c,className:d,component:h="button",disabled:m=!1,disableRipple:g=!1,disableTouchRipple:y=!1,focusRipple:b=!1,focusVisibleClassName:C,LinkComponent:S="a",onBlur:x,onClick:A,onContextMenu:M,onDragLeave:N,onFocus:w,onFocusVisible:O,onKeyDown:D,onKeyUp:_,onMouseDown:k,onMouseLeave:V,onMouseUp:K,onTouchEnd:Z,onTouchMove:et,onTouchStart:E,tabIndex:Q=0,TouchRippleProps:G,touchRippleRef:W,type:B,...F}=o,at=R.useRef(null),nt=wO(),ut=Tn(nt.ref,W),[j,I]=R.useState(!1);m&&j&&I(!1),R.useImperativeHandle(l,()=>({focusVisible:()=>{I(!0),at.current.focus()}}),[]);const ot=nt.shouldMount&&!g&&!m;R.useEffect(()=>{j&&b&&!g&&nt.pulsate()},[g,b,j,nt]);const st=qi(nt,"start",k,y),lt=qi(nt,"stop",M,y),yt=qi(nt,"stop",N,y),mt=qi(nt,"stop",K,y),Pt=qi(nt,"stop",pt=>{j&&pt.preventDefault(),V&&V(pt)},y),xt=qi(nt,"start",E,y),St=qi(nt,"stop",Z,y),Dt=qi(nt,"stop",et,y),jt=qi(nt,"stop",pt=>{qb(pt.target)||I(!1),x&&x(pt)},!1),we=oa(pt=>{at.current||(at.current=pt.currentTarget),qb(pt.target)&&(I(!0),O&&O(pt)),w&&w(pt)}),Ct=()=>{const pt=at.current;return h&&h!=="button"&&!(pt.tagName==="A"&&pt.href)},$t=oa(pt=>{b&&!pt.repeat&&j&&pt.key===" "&&nt.stop(pt,()=>{nt.start(pt)}),pt.target===pt.currentTarget&&Ct()&&pt.key===" "&&pt.preventDefault(),D&&D(pt),pt.target===pt.currentTarget&&Ct()&&pt.key==="Enter"&&!m&&(pt.preventDefault(),A&&A(pt))}),$e=oa(pt=>{b&&pt.key===" "&&j&&!pt.defaultPrevented&&nt.stop(pt,()=>{nt.pulsate(pt)}),_&&_(pt),A&&pt.target===pt.currentTarget&&Ct()&&pt.key===" "&&!pt.defaultPrevented&&A(pt)});let _e=h;_e==="button"&&(F.href||F.to)&&(_e=S);const ue={};_e==="button"?(ue.type=B===void 0?"button":B,ue.disabled=m):(!F.href&&!F.to&&(ue.role="button"),m&&(ue["aria-disabled"]=m));const le=Tn(r,at),de={...o,centerRipple:u,component:h,disabled:m,disableRipple:g,disableTouchRipple:y,focusRipple:b,tabIndex:Q,focusVisible:j},oe=UO(de);return z.jsxs(VO,{as:_e,className:At(oe.root,d),ownerState:de,onBlur:jt,onClick:A,onContextMenu:lt,onFocus:we,onKeyDown:$t,onKeyUp:$e,onMouseDown:st,onMouseLeave:Pt,onMouseUp:mt,onDragLeave:yt,onTouchEnd:St,onTouchMove:Dt,onTouchStart:xt,ref:le,tabIndex:m?-1:Q,type:B,...ue,...F,children:[c,ot?z.jsx(LO,{ref:ut,center:u,...G}):null]})});function qi(t,n,r,o=!1){return oa(l=>(r&&r(l),o||t[n](l),!0))}function $O(t){return typeof t.main=="string"}function HO(t,n=[]){if(!$O(t))return!1;for(const r of n)if(!t.hasOwnProperty(r)||typeof t[r]!="string")return!1;return!0}function Xn(t=[]){return([,n])=>n&&HO(n,t)}function FO(t){return Qt("MuiAlert",t)}const Ib=ae("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 qO(t){return Qt("MuiCircularProgress",t)}ae("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","track","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]);const ni=44,nh=Js`
117
- 0% {
118
- transform: rotate(0deg);
119
- }
120
-
121
- 100% {
122
- transform: rotate(360deg);
123
- }
124
- `,ih=Js`
125
- 0% {
126
- stroke-dasharray: 1px, 200px;
127
- stroke-dashoffset: 0;
128
- }
129
-
130
- 50% {
131
- stroke-dasharray: 100px, 200px;
132
- stroke-dashoffset: -15px;
133
- }
134
-
135
- 100% {
136
- stroke-dasharray: 1px, 200px;
137
- stroke-dashoffset: -126px;
138
- }
139
- `,IO=typeof nh!="string"?qh`
140
- animation: ${nh} 1.4s linear infinite;
141
- `:null,GO=typeof ih!="string"?qh`
142
- animation: ${ih} 1.4s ease-in-out infinite;
143
- `:null,YO=t=>{const{classes:n,variant:r,color:o,disableShrink:l}=t,u={root:["root",r,`color${bt(o)}`],svg:["svg"],track:["track"],circle:["circle",`circle${bt(r)}`,l&&"circleDisableShrink"]};return Zt(u,qO,n)},KO=dt("span",{name:"MuiCircularProgress",slot:"Root",overridesResolver:(t,n)=>{const{ownerState:r}=t;return[n.root,n[r.variant],n[`color${bt(r.color)}`]]}})(ye(({theme:t})=>({display:"inline-block",variants:[{props:{variant:"determinate"},style:{transition:t.transitions.create("transform")}},{props:{variant:"indeterminate"},style:IO||{animation:`${nh} 1.4s linear infinite`}},...Object.entries(t.palette).filter(Xn()).map(([n])=>({props:{color:n},style:{color:(t.vars||t).palette[n].main}}))]}))),XO=dt("svg",{name:"MuiCircularProgress",slot:"Svg"})({display:"block"}),WO=dt("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:(t,n)=>{const{ownerState:r}=t;return[n.circle,n[`circle${bt(r.variant)}`],r.disableShrink&&n.circleDisableShrink]}})(ye(({theme:t})=>({stroke:"currentColor",variants:[{props:{variant:"determinate"},style:{transition:t.transitions.create("stroke-dashoffset")}},{props:{variant:"indeterminate"},style:{strokeDasharray:"80px, 200px",strokeDashoffset:0}},{props:({ownerState:n})=>n.variant==="indeterminate"&&!n.disableShrink,style:GO||{animation:`${ih} 1.4s ease-in-out infinite`}}]}))),QO=dt("circle",{name:"MuiCircularProgress",slot:"Track"})(ye(({theme:t})=>({stroke:"currentColor",opacity:(t.vars||t).palette.action.activatedOpacity}))),fo=R.forwardRef(function(n,r){const o=Jt({props:n,name:"MuiCircularProgress"}),{className:l,color:u="primary",disableShrink:c=!1,enableTrackSlot:d=!1,size:h=40,style:m,thickness:g=3.6,value:y=0,variant:b="indeterminate",...C}=o,S={...o,color:u,disableShrink:c,size:h,thickness:g,value:y,variant:b,enableTrackSlot:d},x=YO(S),A={},M={},N={};if(b==="determinate"){const w=2*Math.PI*((ni-g)/2);A.strokeDasharray=w.toFixed(3),N["aria-valuenow"]=Math.round(y),A.strokeDashoffset=`${((100-y)/100*w).toFixed(3)}px`,M.transform="rotate(-90deg)"}return z.jsx(KO,{className:At(x.root,l),style:{width:h,height:h,...M,...m},ownerState:S,ref:r,role:"progressbar",...N,...C,children:z.jsxs(XO,{className:x.svg,ownerState:S,viewBox:`${ni/2} ${ni/2} ${ni} ${ni}`,children:[d?z.jsx(QO,{className:x.track,ownerState:S,cx:ni,cy:ni,r:(ni-g)/2,fill:"none",strokeWidth:g,"aria-hidden":"true"}):null,z.jsx(WO,{className:x.circle,style:A,ownerState:S,cx:ni,cy:ni,r:(ni-g)/2,fill:"none",strokeWidth:g})]})})});function ZO(t){return Qt("MuiIconButton",t)}const Gb=ae("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge","loading","loadingIndicator","loadingWrapper"]),JO=t=>{const{classes:n,disabled:r,color:o,edge:l,size:u,loading:c}=t,d={root:["root",c&&"loading",r&&"disabled",o!=="default"&&`color${bt(o)}`,l&&`edge${bt(l)}`,`size${bt(u)}`],loadingIndicator:["loadingIndicator"],loadingWrapper:["loadingWrapper"]};return Zt(d,ZO,n)},t5=dt(qx,{name:"MuiIconButton",slot:"Root",overridesResolver:(t,n)=>{const{ownerState:r}=t;return[n.root,r.loading&&n.loading,r.color!=="default"&&n[`color${bt(r.color)}`],r.edge&&n[`edge${bt(r.edge)}`],n[`size${bt(r.size)}`]]}})(ye(({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:n=>!n.disableRipple,style:{"--IconButton-hoverBg":t.alpha((t.vars||t).palette.action.active,(t.vars||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}}]})),ye(({theme:t})=>({variants:[{props:{color:"inherit"},style:{color:"inherit"}},...Object.entries(t.palette).filter(Xn()).map(([n])=>({props:{color:n},style:{color:(t.vars||t).palette[n].main}})),...Object.entries(t.palette).filter(Xn()).map(([n])=>({props:{color:n},style:{"--IconButton-hoverBg":t.alpha((t.vars||t).palette[n].main,(t.vars||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)}}],[`&.${Gb.disabled}`]:{backgroundColor:"transparent",color:(t.vars||t).palette.action.disabled},[`&.${Gb.loading}`]:{color:"transparent"}}))),e5=dt("span",{name:"MuiIconButton",slot:"LoadingIndicator"})(({theme:t})=>({display:"none",position:"absolute",visibility:"visible",top:"50%",left:"50%",transform:"translate(-50%, -50%)",color:(t.vars||t).palette.action.disabled,variants:[{props:{loading:!0},style:{display:"flex"}}]})),n5=R.forwardRef(function(n,r){const o=Jt({props:n,name:"MuiIconButton"}),{edge:l=!1,children:u,className:c,color:d="default",disabled:h=!1,disableFocusRipple:m=!1,size:g="medium",id:y,loading:b=null,loadingIndicator:C,...S}=o,x=il(y),A=C??z.jsx(fo,{"aria-labelledby":x,color:"inherit",size:16}),M={...o,edge:l,color:d,disabled:h,disableFocusRipple:m,loading:b,loadingIndicator:A,size:g},N=JO(M);return z.jsxs(t5,{id:b?x:y,className:At(N.root,c),centerRipple:!0,focusRipple:!m,disabled:h||b,ref:r,...S,ownerState:M,children:[typeof b=="boolean"&&z.jsx("span",{className:N.loadingWrapper,style:{display:"contents"},children:z.jsx(e5,{className:N.loadingIndicator,ownerState:M,children:b&&A})}),u]})}),i5=Cn(z.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"})),r5=Cn(z.jsx("path",{d:"M12 5.99L19.53 19H4.47L12 5.99M12 2L1 21h22L12 2zm1 14h-2v2h2v-2zm0-6h-2v4h2v-4z"})),a5=Cn(z.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"})),o5=Cn(z.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"})),s5=Cn(z.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"})),l5=t=>{const{variant:n,color:r,severity:o,classes:l}=t,u={root:["root",`color${bt(r||o)}`,`${n}${bt(r||o)}`,`${n}`],icon:["icon"],message:["message"],action:["action"]};return Zt(u,FO,l)},u5=dt(om,{name:"MuiAlert",slot:"Root",overridesResolver:(t,n)=>{const{ownerState:r}=t;return[n.root,n[r.variant],n[`${r.variant}${bt(r.color||r.severity)}`]]}})(ye(({theme:t})=>{const n=t.palette.mode==="light"?t.darken:t.lighten,r=t.palette.mode==="light"?t.lighten:t.darken;return{...t.typography.body2,backgroundColor:"transparent",display:"flex",padding:"6px 16px",variants:[...Object.entries(t.palette).filter(Xn(["light"])).map(([o])=>({props:{colorSeverity:o,variant:"standard"},style:{color:t.vars?t.vars.palette.Alert[`${o}Color`]:n(t.palette[o].light,.6),backgroundColor:t.vars?t.vars.palette.Alert[`${o}StandardBg`]:r(t.palette[o].light,.9),[`& .${Ib.icon}`]:t.vars?{color:t.vars.palette.Alert[`${o}IconColor`]}:{color:t.palette[o].main}}})),...Object.entries(t.palette).filter(Xn(["light"])).map(([o])=>({props:{colorSeverity:o,variant:"outlined"},style:{color:t.vars?t.vars.palette.Alert[`${o}Color`]:n(t.palette[o].light,.6),border:`1px solid ${(t.vars||t).palette[o].light}`,[`& .${Ib.icon}`]:t.vars?{color:t.vars.palette.Alert[`${o}IconColor`]}:{color:t.palette[o].main}}})),...Object.entries(t.palette).filter(Xn(["dark"])).map(([o])=>({props:{colorSeverity:o,variant:"filled"},style:{fontWeight:t.typography.fontWeightMedium,...t.vars?{color:t.vars.palette.Alert[`${o}FilledColor`],backgroundColor:t.vars.palette.Alert[`${o}FilledBg`]}:{backgroundColor:t.palette.mode==="dark"?t.palette[o].dark:t.palette[o].main,color:t.palette.getContrastText(t.palette[o].main)}}}))]}})),c5=dt("div",{name:"MuiAlert",slot:"Icon"})({marginRight:12,padding:"7px 0",display:"flex",fontSize:22,opacity:.9}),f5=dt("div",{name:"MuiAlert",slot:"Message"})({padding:"8px 0",minWidth:0,overflow:"auto"}),d5=dt("div",{name:"MuiAlert",slot:"Action"})({display:"flex",alignItems:"flex-start",padding:"4px 0 0 16px",marginLeft:"auto",marginRight:-8}),Yb={success:z.jsx(i5,{fontSize:"inherit"}),warning:z.jsx(r5,{fontSize:"inherit"}),error:z.jsx(a5,{fontSize:"inherit"}),info:z.jsx(o5,{fontSize:"inherit"})},Ix=R.forwardRef(function(n,r){const o=Jt({props:n,name:"MuiAlert"}),{action:l,children:u,className:c,closeText:d="Close",color:h,components:m={},componentsProps:g={},icon:y,iconMapping:b=Yb,onClose:C,role:S="alert",severity:x="success",slotProps:A={},slots:M={},variant:N="standard",...w}=o,O={...o,color:h,severity:x,variant:N,colorSeverity:h||x},D=l5(O),_={slots:{closeButton:m.CloseButton,closeIcon:m.CloseIcon,...M},slotProps:{...g,...A}},[k,V]=Ae("root",{ref:r,shouldForwardComponentProp:!0,className:At(D.root,c),elementType:u5,externalForwardedProps:{..._,...w},ownerState:O,additionalProps:{role:S,elevation:0}}),[K,Z]=Ae("icon",{className:D.icon,elementType:c5,externalForwardedProps:_,ownerState:O}),[et,E]=Ae("message",{className:D.message,elementType:f5,externalForwardedProps:_,ownerState:O}),[Q,G]=Ae("action",{className:D.action,elementType:d5,externalForwardedProps:_,ownerState:O}),[W,B]=Ae("closeButton",{elementType:n5,externalForwardedProps:_,ownerState:O}),[F,at]=Ae("closeIcon",{elementType:s5,externalForwardedProps:_,ownerState:O});return z.jsxs(k,{...V,children:[y!==!1?z.jsx(K,{...Z,children:y||b[x]||Yb[x]}):null,z.jsx(et,{...E,children:u}),l!=null?z.jsx(Q,{...G,children:l}):null,l==null&&C?z.jsx(Q,{...G,children:z.jsx(W,{size:"small","aria-label":d,title:d,color:"inherit",onClick:C,...B,children:z.jsx(F,{fontSize:"small",...at})})}):null]})});function p5(t){return Qt("MuiTypography",t)}ae("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);const h5={primary:!0,secondary:!0,error:!0,info:!0,success:!0,warning:!0,textPrimary:!0,textSecondary:!0,textDisabled:!0},m5=uO(),g5=t=>{const{align:n,gutterBottom:r,noWrap:o,paragraph:l,variant:u,classes:c}=t,d={root:["root",u,t.align!=="inherit"&&`align${bt(n)}`,r&&"gutterBottom",o&&"noWrap",l&&"paragraph"]};return Zt(d,p5,c)},y5=dt("span",{name:"MuiTypography",slot:"Root",overridesResolver:(t,n)=>{const{ownerState:r}=t;return[n.root,r.variant&&n[r.variant],r.align!=="inherit"&&n[`align${bt(r.align)}`],r.noWrap&&n.noWrap,r.gutterBottom&&n.gutterBottom,r.paragraph&&n.paragraph]}})(ye(({theme:t})=>({margin:0,variants:[{props:{variant:"inherit"},style:{font:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}},...Object.entries(t.typography).filter(([n,r])=>n!=="inherit"&&r&&typeof r=="object").map(([n,r])=>({props:{variant:n},style:r})),...Object.entries(t.palette).filter(Xn()).map(([n])=>({props:{color:n},style:{color:(t.vars||t).palette[n].main}})),...Object.entries(t.palette?.text||{}).filter(([,n])=>typeof n=="string").map(([n])=>({props:{color:`text${bt(n)}`},style:{color:(t.vars||t).palette.text[n]}})),{props:({ownerState:n})=>n.align!=="inherit",style:{textAlign:"var(--Typography-textAlign)"}},{props:({ownerState:n})=>n.noWrap,style:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}},{props:({ownerState:n})=>n.gutterBottom,style:{marginBottom:"0.35em"}},{props:({ownerState:n})=>n.paragraph,style:{marginBottom:16}}]}))),Kb={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},Be=R.forwardRef(function(n,r){const{color:o,...l}=Jt({props:n,name:"MuiTypography"}),u=!h5[o],c=m5({...l,...u&&{color:o}}),{align:d="inherit",className:h,component:m,gutterBottom:g=!1,noWrap:y=!1,paragraph:b=!1,variant:C="body1",variantMapping:S=Kb,...x}=c,A={...c,align:d,color:o,className:h,component:m,gutterBottom:g,noWrap:y,paragraph:b,variant:C,variantMapping:S},M=m||(b?"p":S[C]||Kb[C])||"span",N=g5(A);return z.jsx(y5,{as:M,ref:r,className:At(N.root,h),...x,ownerState:A,style:{...d!=="inherit"&&{"--Typography-textAlign":d},...x.style}})});function v5(t){const{elementType:n,externalSlotProps:r,ownerState:o,skipResolvingSlotProps:l=!1,...u}=t,c=l?{}:$x(r,o),{props:d,internalRef:h}=Fx({...u,externalSlotProps:c}),m=Tn(h,c?.ref,t.additionalProps?.ref);return Vx(n,{...d,ref:m},o)}function al(t){return parseInt(R.version,10)>=19?t?.props?.ref||null:t?.ref||null}function b5(t){return typeof t=="function"?t():t}const S5=R.forwardRef(function(n,r){const{children:o,container:l,disablePortal:u=!1}=n,[c,d]=R.useState(null),h=Tn(R.isValidElement(o)?al(o):null,r);if(Gi(()=>{u||d(b5(l)||document.body)},[l,u]),Gi(()=>{if(c&&!u)return Ub(r,c),()=>{Ub(r,null)}},[r,c,u]),u){if(R.isValidElement(o)){const m={ref:h};return R.cloneElement(o,m)}return o}return c&&Lx.createPortal(o,c)});function ju(t){return parseInt(t,10)||0}const x5={shadow:{visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"}};function T5(t){for(const n in t)return!1;return!0}function Xb(t){return T5(t)||t.outerHeightStyle===0&&!t.overflowing}const C5=R.forwardRef(function(n,r){const{onChange:o,maxRows:l,minRows:u=1,style:c,value:d,...h}=n,{current:m}=R.useRef(d!=null),g=R.useRef(null),y=Tn(r,g),b=R.useRef(null),C=R.useRef(null),S=R.useCallback(()=>{const w=g.current,O=C.current;if(!w||!O)return;const _=Yi(w).getComputedStyle(w);if(_.width==="0px")return{outerHeightStyle:0,overflowing:!1};O.style.width=_.width,O.value=w.value||n.placeholder||"x",O.value.slice(-1)===`
144
- `&&(O.value+=" ");const k=_.boxSizing,V=ju(_.paddingBottom)+ju(_.paddingTop),K=ju(_.borderBottomWidth)+ju(_.borderTopWidth),Z=O.scrollHeight;O.value="x";const et=O.scrollHeight;let E=Z;u&&(E=Math.max(Number(u)*et,E)),l&&(E=Math.min(Number(l)*et,E)),E=Math.max(E,et);const Q=E+(k==="border-box"?V+K:0),G=Math.abs(E-Z)<=1;return{outerHeightStyle:Q,overflowing:G}},[l,u,n.placeholder]),x=oa(()=>{const w=g.current,O=S();if(!w||!O||Xb(O))return!1;const D=O.outerHeightStyle;return b.current!=null&&b.current!==D}),A=R.useCallback(()=>{const w=g.current,O=S();if(!w||!O||Xb(O))return;const D=O.outerHeightStyle;b.current!==D&&(b.current=D,w.style.height=`${D}px`),w.style.overflow=O.overflowing?"hidden":""},[S]),M=R.useRef(-1);Gi(()=>{const w=Nx(A),O=g?.current;if(!O)return;const D=Yi(O);D.addEventListener("resize",w);let _;return typeof ResizeObserver<"u"&&(_=new ResizeObserver(()=>{x()&&(_.unobserve(O),cancelAnimationFrame(M.current),A(),M.current=requestAnimationFrame(()=>{_.observe(O)}))}),_.observe(O)),()=>{w.clear(),cancelAnimationFrame(M.current),D.removeEventListener("resize",w),_&&_.disconnect()}},[S,A,x]),Gi(()=>{A()});const N=w=>{m||A();const O=w.target,D=O.value.length,_=O.value.endsWith(`
145
- `),k=O.selectionStart===D;_&&k&&O.setSelectionRange(D,D),o&&o(w)};return z.jsxs(R.Fragment,{children:[z.jsx("textarea",{value:d,onChange:N,ref:y,rows:u,style:c,...h}),z.jsx("textarea",{"aria-hidden":!0,className:n.className,readOnly:!0,ref:C,tabIndex:-1,style:{...x5.shadow,...c,paddingTop:0,paddingBottom:0}})]})});function So({props:t,states:n,muiFormControl:r}){return n.reduce((o,l)=>(o[l]=t[l],r&&typeof t[l]>"u"&&(o[l]=r[l]),o),{})}const sm=R.createContext(void 0);function xo(){return R.useContext(sm)}function Wb(t){return t!=null&&!(Array.isArray(t)&&t.length===0)}function uc(t,n=!1){return t&&(Wb(t.value)&&t.value!==""||n&&Wb(t.defaultValue)&&t.defaultValue!=="")}function E5(t){return t.startAdornment}function A5(t){return Qt("MuiInputBase",t)}const mo=ae("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]);var Qb;const Bc=(t,n)=>{const{ownerState:r}=t;return[n.root,r.formControl&&n.formControl,r.startAdornment&&n.adornedStart,r.endAdornment&&n.adornedEnd,r.error&&n.error,r.size==="small"&&n.sizeSmall,r.multiline&&n.multiline,r.color&&n[`color${bt(r.color)}`],r.fullWidth&&n.fullWidth,r.hiddenLabel&&n.hiddenLabel]},Nc=(t,n)=>{const{ownerState:r}=t;return[n.input,r.size==="small"&&n.inputSizeSmall,r.multiline&&n.inputMultiline,r.type==="search"&&n.inputTypeSearch,r.startAdornment&&n.inputAdornedStart,r.endAdornment&&n.inputAdornedEnd,r.hiddenLabel&&n.inputHiddenLabel]},R5=t=>{const{classes:n,color:r,disabled:o,error:l,endAdornment:u,focused:c,formControl:d,fullWidth:h,hiddenLabel:m,multiline:g,readOnly:y,size:b,startAdornment:C,type:S}=t,x={root:["root",`color${bt(r)}`,o&&"disabled",l&&"error",h&&"fullWidth",c&&"focused",d&&"formControl",b&&b!=="medium"&&`size${bt(b)}`,g&&"multiline",C&&"adornedStart",u&&"adornedEnd",m&&"hiddenLabel",y&&"readOnly"],input:["input",o&&"disabled",S==="search"&&"inputTypeSearch",g&&"inputMultiline",b==="small"&&"inputSizeSmall",m&&"inputHiddenLabel",C&&"inputAdornedStart",u&&"inputAdornedEnd",y&&"readOnly"]};return Zt(x,A5,n)},_c=dt("div",{name:"MuiInputBase",slot:"Root",overridesResolver:Bc})(ye(({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",[`&.${mo.disabled}`]:{color:(t.vars||t).palette.text.disabled,cursor:"default"},variants:[{props:({ownerState:n})=>n.multiline,style:{padding:"4px 0 5px"}},{props:({ownerState:n,size:r})=>n.multiline&&r==="small",style:{paddingTop:1}},{props:({ownerState:n})=>n.fullWidth,style:{width:"100%"}}]}))),jc=dt("input",{name:"MuiInputBase",slot:"Input",overridesResolver:Nc})(ye(({theme:t})=>{const n=t.palette.mode==="light",r={color:"currentColor",...t.vars?{opacity:t.vars.opacity.inputPlaceholder}:{opacity:n?.42:.5},transition:t.transitions.create("opacity",{duration:t.transitions.duration.shorter})},o={opacity:"0 !important"},l=t.vars?{opacity:t.vars.opacity.inputPlaceholder}:{opacity:n?.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":r,"&::-moz-placeholder":r,"&::-ms-input-placeholder":r,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"},[`label[data-shrink=false] + .${mo.formControl} &`]:{"&::-webkit-input-placeholder":o,"&::-moz-placeholder":o,"&::-ms-input-placeholder":o,"&:focus::-webkit-input-placeholder":l,"&:focus::-moz-placeholder":l,"&:focus::-ms-input-placeholder":l},[`&.${mo.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"}}]}})),Zb=nm({"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}),lm=R.forwardRef(function(n,r){const o=Jt({props:n,name:"MuiInputBase"}),{"aria-describedby":l,autoComplete:u,autoFocus:c,className:d,color:h,components:m={},componentsProps:g={},defaultValue:y,disabled:b,disableInjectingGlobalStyles:C,endAdornment:S,error:x,fullWidth:A=!1,id:M,inputComponent:N="input",inputProps:w={},inputRef:O,margin:D,maxRows:_,minRows:k,multiline:V=!1,name:K,onBlur:Z,onChange:et,onClick:E,onFocus:Q,onKeyDown:G,onKeyUp:W,placeholder:B,readOnly:F,renderSuffix:at,rows:nt,size:ut,slotProps:j={},slots:I={},startAdornment:ot,type:st="text",value:lt,...yt}=o,mt=w.value!=null?w.value:lt,{current:Pt}=R.useRef(mt!=null),xt=R.useRef(),St=R.useCallback(te=>{},[]),Dt=Tn(xt,O,w.ref,St),[jt,we]=R.useState(!1),Ct=xo(),$t=So({props:o,muiFormControl:Ct,states:["color","disabled","error","hiddenLabel","size","required","filled"]});$t.focused=Ct?Ct.focused:jt,R.useEffect(()=>{!Ct&&b&&jt&&(we(!1),Z&&Z())},[Ct,b,jt,Z]);const $e=Ct&&Ct.onFilled,_e=Ct&&Ct.onEmpty,ue=R.useCallback(te=>{uc(te)?$e&&$e():_e&&_e()},[$e,_e]);Gi(()=>{Pt&&ue({value:mt})},[mt,ue,Pt]);const le=te=>{Q&&Q(te),w.onFocus&&w.onFocus(te),Ct&&Ct.onFocus?Ct.onFocus(te):we(!0)},de=te=>{Z&&Z(te),w.onBlur&&w.onBlur(te),Ct&&Ct.onBlur?Ct.onBlur(te):we(!1)},oe=(te,...Wi)=>{if(!Pt){const ui=te.target||xt.current;if(ui==null)throw new Error(Ii(1));ue({value:ui.value})}w.onChange&&w.onChange(te,...Wi),et&&et(te,...Wi)};R.useEffect(()=>{ue(xt.current)},[]);const pt=te=>{xt.current&&te.currentTarget===te.target&&xt.current.focus(),E&&E(te)};let Nn=N,kt=w;V&&Nn==="input"&&(nt?kt={type:void 0,minRows:nt,maxRows:nt,...kt}:kt={type:void 0,maxRows:_,minRows:k,...kt},Nn=C5);const Zn=te=>{ue(te.animationName==="mui-auto-fill-cancel"?xt.current:{value:"x"})};R.useEffect(()=>{Ct&&Ct.setAdornedStart(!!ot)},[Ct,ot]);const Me={...o,color:$t.color||"primary",disabled:$t.disabled,endAdornment:S,error:$t.error,focused:$t.focused,formControl:Ct,fullWidth:A,hiddenLabel:$t.hiddenLabel,multiline:V,size:$t.size,startAdornment:ot,type:st},It=R5(Me),pe=I.root||m.Root||_c,He=j.root||g.root||{},en=I.input||m.Input||jc;return kt={...kt,...j.input??g.input},z.jsxs(R.Fragment,{children:[!C&&typeof Zb=="function"&&(Qb||(Qb=z.jsx(Zb,{}))),z.jsxs(pe,{...He,ref:r,onClick:pt,...yt,...!sc(pe)&&{ownerState:{...Me,...He.ownerState}},className:At(It.root,He.className,d,F&&"MuiInputBase-readOnly"),children:[ot,z.jsx(sm.Provider,{value:null,children:z.jsx(en,{"aria-invalid":$t.error,"aria-describedby":l,autoComplete:u,autoFocus:c,defaultValue:y,disabled:$t.disabled,id:M,onAnimationStart:Zn,name:K,placeholder:B,readOnly:F,required:$t.required,rows:nt,value:mt,onKeyDown:G,onKeyUp:W,type:st,...kt,...!sc(en)&&{as:Nn,ownerState:{...Me,...kt.ownerState}},ref:Dt,className:At(It.input,kt.className,F&&"MuiInputBase-readOnly"),onBlur:de,onChange:oe,onFocus:le})}),S,at?at({...$t,startAdornment:ot}):null]})]})});function w5(t){return Qt("MuiInput",t)}const Ts={...mo,...ae("MuiInput",["root","underline","input"])};function M5(t){return Qt("MuiOutlinedInput",t)}const mi={...mo,...ae("MuiOutlinedInput",["root","notchedOutline","input"])};function O5(t){return Qt("MuiFilledInput",t)}const Kr={...mo,...ae("MuiFilledInput",["root","underline","input","adornedStart","adornedEnd","sizeSmall","multiline","hiddenLabel"])},D5=Cn(z.jsx("path",{d:"M7 10l5 5 5-5z"})),z5={entering:{opacity:1},entered:{opacity:1}},B5=R.forwardRef(function(n,r){const o=rl(),l={enter:o.transitions.duration.enteringScreen,exit:o.transitions.duration.leavingScreen},{addEndListener:u,appear:c=!0,children:d,easing:h,in:m,onEnter:g,onEntered:y,onEntering:b,onExit:C,onExited:S,onExiting:x,style:A,timeout:M=l,TransitionComponent:N=Ei,...w}=n,O=R.useRef(null),D=Tn(O,al(d),r),_=G=>W=>{if(G){const B=O.current;W===void 0?G(B):G(B,W)}},k=_(b),V=_((G,W)=>{Ux(G);const B=oc({style:A,timeout:M,easing:h},{mode:"enter"});G.style.webkitTransition=o.transitions.create("opacity",B),G.style.transition=o.transitions.create("opacity",B),g&&g(G,W)}),K=_(y),Z=_(x),et=_(G=>{const W=oc({style:A,timeout:M,easing:h},{mode:"exit"});G.style.webkitTransition=o.transitions.create("opacity",W),G.style.transition=o.transitions.create("opacity",W),C&&C(G)}),E=_(S),Q=G=>{u&&u(O.current,G)};return z.jsx(N,{appear:c,in:m,nodeRef:O,onEnter:V,onEntered:K,onEntering:k,onExit:et,onExited:E,onExiting:Z,addEndListener:Q,timeout:M,...w,children:(G,{ownerState:W,...B})=>R.cloneElement(d,{style:{opacity:0,visibility:G==="exited"&&!m?"hidden":void 0,...z5[G],...A,...d.props.style},ref:D,...B})})});function N5(t){return Qt("MuiBackdrop",t)}ae("MuiBackdrop",["root","invisible"]);const _5=t=>{const{classes:n,invisible:r}=t;return Zt({root:["root",r&&"invisible"]},N5,n)},j5=dt("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(t,n)=>{const{ownerState:r}=t;return[n.root,r.invisible&&n.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"}}]}),L5=R.forwardRef(function(n,r){const o=Jt({props:n,name:"MuiBackdrop"}),{children:l,className:u,component:c="div",invisible:d=!1,open:h,components:m={},componentsProps:g={},slotProps:y={},slots:b={},TransitionComponent:C,transitionDuration:S,...x}=o,A={...o,component:c,invisible:d},M=_5(A),N={transition:C,root:m.Root,...b},w={...g,...y},O={component:c,slots:N,slotProps:w},[D,_]=Ae("root",{elementType:j5,externalForwardedProps:O,className:At(M.root,u),ownerState:A}),[k,V]=Ae("transition",{elementType:B5,externalForwardedProps:O,ownerState:A});return z.jsx(k,{in:h,timeout:S,...x,...V,children:z.jsx(D,{"aria-hidden":!0,..._,classes:M,ref:r,children:l})})}),k5=ae("MuiBox",["root"]),P5=zc(),on=Mw({themeId:Si,defaultTheme:P5,defaultClassName:k5.root,generateClassName:dx.generate});function U5(t){return Qt("MuiButton",t)}const Xr=ae("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","loading","loadingWrapper","loadingIconPlaceholder","loadingIndicator","loadingPositionCenter","loadingPositionStart","loadingPositionEnd"]),V5=R.createContext({}),$5=R.createContext(void 0),H5=t=>{const{color:n,disableElevation:r,fullWidth:o,size:l,variant:u,loading:c,loadingPosition:d,classes:h}=t,m={root:["root",c&&"loading",u,`${u}${bt(n)}`,`size${bt(l)}`,`${u}Size${bt(l)}`,`color${bt(n)}`,r&&"disableElevation",o&&"fullWidth",c&&`loadingPosition${bt(d)}`],startIcon:["icon","startIcon",`iconSize${bt(l)}`],endIcon:["icon","endIcon",`iconSize${bt(l)}`],loadingIndicator:["loadingIndicator"],loadingWrapper:["loadingWrapper"]},g=Zt(m,U5,h);return{...h,...g}},Gx=[{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}}}],F5=dt(qx,{shouldForwardProp:t=>si(t)||t==="classes",name:"MuiButton",slot:"Root",overridesResolver:(t,n)=>{const{ownerState:r}=t;return[n.root,n[r.variant],n[`${r.variant}${bt(r.color)}`],n[`size${bt(r.size)}`],n[`${r.variant}Size${bt(r.size)}`],r.color==="inherit"&&n.colorInherit,r.disableElevation&&n.disableElevation,r.fullWidth&&n.fullWidth,r.loading&&n.loading]}})(ye(({theme:t})=>{const n=t.palette.mode==="light"?t.palette.grey[300]:t.palette.grey[800],r=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"},[`&.${Xr.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]},[`&.${Xr.focusVisible}`]:{boxShadow:(t.vars||t).shadows[6]},[`&.${Xr.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)",[`&.${Xr.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(Xn()).map(([o])=>({props:{color:o},style:{"--variant-textColor":(t.vars||t).palette[o].main,"--variant-outlinedColor":(t.vars||t).palette[o].main,"--variant-outlinedBorder":t.alpha((t.vars||t).palette[o].main,.5),"--variant-containedColor":(t.vars||t).palette[o].contrastText,"--variant-containedBg":(t.vars||t).palette[o].main,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":(t.vars||t).palette[o].dark,"--variant-textBg":t.alpha((t.vars||t).palette[o].main,(t.vars||t).palette.action.hoverOpacity),"--variant-outlinedBorder":(t.vars||t).palette[o].main,"--variant-outlinedBg":t.alpha((t.vars||t).palette[o].main,(t.vars||t).palette.action.hoverOpacity)}}}})),{props:{color:"inherit"},style:{color:"inherit",borderColor:"currentColor","--variant-containedBg":t.vars?t.vars.palette.Button.inheritContainedBg:n,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":t.vars?t.vars.palette.Button.inheritContainedHoverBg:r,"--variant-textBg":t.alpha((t.vars||t).palette.text.primary,(t.vars||t).palette.action.hoverOpacity),"--variant-outlinedBg":t.alpha((t.vars||t).palette.text.primary,(t.vars||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"},[`&.${Xr.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${Xr.disabled}`]:{boxShadow:"none"}}},{props:{fullWidth:!0},style:{width:"100%"}},{props:{loadingPosition:"center"},style:{transition:t.transitions.create(["background-color","box-shadow","border-color"],{duration:t.transitions.duration.short}),[`&.${Xr.loading}`]:{color:"transparent"}}}]}})),q5=dt("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(t,n)=>{const{ownerState:r}=t;return[n.startIcon,r.loading&&n.startIconLoadingStart,n[`iconSize${bt(r.size)}`]]}})(({theme:t})=>({display:"inherit",marginRight:8,marginLeft:-4,variants:[{props:{size:"small"},style:{marginLeft:-2}},{props:{loadingPosition:"start",loading:!0},style:{transition:t.transitions.create(["opacity"],{duration:t.transitions.duration.short}),opacity:0}},{props:{loadingPosition:"start",loading:!0,fullWidth:!0},style:{marginRight:-8}},...Gx]})),I5=dt("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(t,n)=>{const{ownerState:r}=t;return[n.endIcon,r.loading&&n.endIconLoadingEnd,n[`iconSize${bt(r.size)}`]]}})(({theme:t})=>({display:"inherit",marginRight:-4,marginLeft:8,variants:[{props:{size:"small"},style:{marginRight:-2}},{props:{loadingPosition:"end",loading:!0},style:{transition:t.transitions.create(["opacity"],{duration:t.transitions.duration.short}),opacity:0}},{props:{loadingPosition:"end",loading:!0,fullWidth:!0},style:{marginLeft:-8}},...Gx]})),G5=dt("span",{name:"MuiButton",slot:"LoadingIndicator"})(({theme:t})=>({display:"none",position:"absolute",visibility:"visible",variants:[{props:{loading:!0},style:{display:"flex"}},{props:{loadingPosition:"start"},style:{left:14}},{props:{loadingPosition:"start",size:"small"},style:{left:10}},{props:{variant:"text",loadingPosition:"start"},style:{left:6}},{props:{loadingPosition:"center"},style:{left:"50%",transform:"translate(-50%)",color:(t.vars||t).palette.action.disabled}},{props:{loadingPosition:"end"},style:{right:14}},{props:{loadingPosition:"end",size:"small"},style:{right:10}},{props:{variant:"text",loadingPosition:"end"},style:{right:6}},{props:{loadingPosition:"start",fullWidth:!0},style:{position:"relative",left:-10}},{props:{loadingPosition:"end",fullWidth:!0},style:{position:"relative",right:-10}}]})),Jb=dt("span",{name:"MuiButton",slot:"LoadingIconPlaceholder"})({display:"inline-block",width:"1em",height:"1em"}),Lu=R.forwardRef(function(n,r){const o=R.useContext(V5),l=R.useContext($5),u=Fs(o,n),c=Jt({props:u,name:"MuiButton"}),{children:d,color:h="primary",component:m="button",className:g,disabled:y=!1,disableElevation:b=!1,disableFocusRipple:C=!1,endIcon:S,focusVisibleClassName:x,fullWidth:A=!1,id:M,loading:N=null,loadingIndicator:w,loadingPosition:O="center",size:D="medium",startIcon:_,type:k,variant:V="text",...K}=c,Z=il(M),et=w??z.jsx(fo,{"aria-labelledby":Z,color:"inherit",size:16}),E={...c,color:h,component:m,disabled:y,disableElevation:b,disableFocusRipple:C,fullWidth:A,loading:N,loadingIndicator:et,loadingPosition:O,size:D,type:k,variant:V},Q=H5(E),G=(_||N&&O==="start")&&z.jsx(q5,{className:Q.startIcon,ownerState:E,children:_||z.jsx(Jb,{className:Q.loadingIconPlaceholder,ownerState:E})}),W=(S||N&&O==="end")&&z.jsx(I5,{className:Q.endIcon,ownerState:E,children:S||z.jsx(Jb,{className:Q.loadingIconPlaceholder,ownerState:E})}),B=l||"",F=typeof N=="boolean"?z.jsx("span",{className:Q.loadingWrapper,style:{display:"contents"},children:N&&z.jsx(G5,{className:Q.loadingIndicator,ownerState:E,children:et})}):null;return z.jsxs(F5,{ownerState:E,className:At(o.className,Q.root,g,B),component:m,disabled:y||N,focusRipple:!C,focusVisibleClassName:At(Q.focusVisible,x),ref:r,type:k,id:N?Z:M,...K,classes:Q,children:[G,O!=="end"&&F,d,O==="end"&&F,W]})});function Y5(t){return Qt("MuiCard",t)}ae("MuiCard",["root"]);const K5=t=>{const{classes:n}=t;return Zt({root:["root"]},Y5,n)},X5=dt(om,{name:"MuiCard",slot:"Root"})({overflow:"hidden"}),rh=R.forwardRef(function(n,r){const o=Jt({props:n,name:"MuiCard"}),{className:l,raised:u=!1,...c}=o,d={...o,raised:u},h=K5(d);return z.jsx(X5,{className:At(h.root,l),elevation:u?8:void 0,ref:r,ownerState:d,...c})});function W5(t){return Qt("MuiCardContent",t)}ae("MuiCardContent",["root"]);const Q5=t=>{const{classes:n}=t;return Zt({root:["root"]},W5,n)},Z5=dt("div",{name:"MuiCardContent",slot:"Root"})({padding:16,"&:last-child":{paddingBottom:24}}),ah=R.forwardRef(function(n,r){const o=Jt({props:n,name:"MuiCardContent"}),{className:l,component:u="div",...c}=o,d={...o,component:u},h=Q5(d);return z.jsx(Z5,{as:u,className:At(h.root,l),ownerState:d,ref:r,...c})}),oh=bM({createStyledComponent:dt("div",{name:"MuiContainer",slot:"Root",overridesResolver:(t,n)=>{const{ownerState:r}=t;return[n.root,n[`maxWidth${bt(String(r.maxWidth))}`],r.fixed&&n.fixed,r.disableGutters&&n.disableGutters]}}),useThemeProps:t=>Jt({props:t,name:"MuiContainer"})}),sh=typeof nm({})=="function",J5=(t,n)=>({WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",boxSizing:"border-box",WebkitTextSizeAdjust:"100%",...n&&!t.vars&&{colorScheme:t.palette.mode}}),t3=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}}),Yx=(t,n=!1)=>{const r={};n&&t.colorSchemes&&typeof t.getColorSchemeSelector=="function"&&Object.entries(t.colorSchemes).forEach(([u,c])=>{const d=t.getColorSchemeSelector(u);d.startsWith("@")?r[d]={":root":{colorScheme:c.palette?.mode}}:r[d.replace(/\s*&/,"")]={colorScheme:c.palette?.mode}});let o={html:J5(t,n),"*, *::before, *::after":{boxSizing:"inherit"},"strong, b":{fontWeight:t.typography.fontWeightBold},body:{margin:0,...t3(t),"&::backdrop":{backgroundColor:(t.vars||t).palette.background.default}},...r};const l=t.components?.MuiCssBaseline?.styleOverrides;return l&&(o=[o,l]),o},Ku="mui-ecs",e3=t=>{const n=Yx(t,!1),r=Array.isArray(n)?n[0]:n;return!t.vars&&r&&(r.html[`:root:has(${Ku})`]={colorScheme:t.palette.mode}),t.colorSchemes&&Object.entries(t.colorSchemes).forEach(([o,l])=>{const u=t.getColorSchemeSelector(o);u.startsWith("@")?r[u]={[`:root:not(:has(.${Ku}))`]:{colorScheme:l.palette?.mode}}:r[u.replace(/\s*&/,"")]={[`&:not(:has(.${Ku}))`]:{colorScheme:l.palette?.mode}}}),n},n3=nm(sh?({theme:t,enableColorScheme:n})=>Yx(t,n):({theme:t})=>e3(t));function i3(t){const n=Jt({props:t,name:"MuiCssBaseline"}),{children:r,enableColorScheme:o=!1}=n;return z.jsxs(R.Fragment,{children:[sh&&z.jsx(n3,{enableColorScheme:o}),!sh&&!o&&z.jsx("span",{className:Ku,style:{display:"none"}}),r]})}function Kx(t=window){const n=t.document.documentElement.clientWidth;return t.innerWidth-n}function r3(t){const n=oi(t);return n.body===t?Yi(t).innerWidth>n.documentElement.clientWidth:t.scrollHeight>t.clientHeight}function Bs(t,n){n?t.setAttribute("aria-hidden","true"):t.removeAttribute("aria-hidden")}function tS(t){return parseInt(Yi(t).getComputedStyle(t).paddingRight,10)||0}function a3(t){const r=["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].includes(t.tagName),o=t.tagName==="INPUT"&&t.getAttribute("type")==="hidden";return r||o}function eS(t,n,r,o,l){const u=[n,r,...o];[].forEach.call(t.children,c=>{const d=!u.includes(c),h=!a3(c);d&&h&&Bs(c,l)})}function xp(t,n){let r=-1;return t.some((o,l)=>n(o)?(r=l,!0):!1),r}function o3(t,n){const r=[],o=t.container;if(!n.disableScrollLock){if(r3(o)){const c=Kx(Yi(o));r.push({value:o.style.paddingRight,property:"padding-right",el:o}),o.style.paddingRight=`${tS(o)+c}px`;const d=oi(o).querySelectorAll(".mui-fixed");[].forEach.call(d,h=>{r.push({value:h.style.paddingRight,property:"padding-right",el:h}),h.style.paddingRight=`${tS(h)+c}px`})}let u;if(o.parentNode instanceof DocumentFragment)u=oi(o).body;else{const c=o.parentElement,d=Yi(o);u=c?.nodeName==="HTML"&&d.getComputedStyle(c).overflowY==="scroll"?c:o}r.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()=>{r.forEach(({value:u,el:c,property:d})=>{u?c.style.setProperty(d,u):c.style.removeProperty(d)})}}function s3(t){const n=[];return[].forEach.call(t.children,r=>{r.getAttribute("aria-hidden")==="true"&&n.push(r)}),n}class l3{constructor(){this.modals=[],this.containers=[]}add(n,r){let o=this.modals.indexOf(n);if(o!==-1)return o;o=this.modals.length,this.modals.push(n),n.modalRef&&Bs(n.modalRef,!1);const l=s3(r);eS(r,n.mount,n.modalRef,l,!0);const u=xp(this.containers,c=>c.container===r);return u!==-1?(this.containers[u].modals.push(n),o):(this.containers.push({modals:[n],container:r,restore:null,hiddenSiblings:l}),o)}mount(n,r){const o=xp(this.containers,u=>u.modals.includes(n)),l=this.containers[o];l.restore||(l.restore=o3(l,r))}remove(n,r=!0){const o=this.modals.indexOf(n);if(o===-1)return o;const l=xp(this.containers,c=>c.modals.includes(n)),u=this.containers[l];if(u.modals.splice(u.modals.indexOf(n),1),this.modals.splice(o,1),u.modals.length===0)u.restore&&u.restore(),n.modalRef&&Bs(n.modalRef,r),eS(u.container,n.mount,n.modalRef,u.hiddenSiblings,!1),this.containers.splice(l,1);else{const c=u.modals[u.modals.length-1];c.modalRef&&Bs(c.modalRef,!1)}return o}isTopModal(n){return this.modals.length>0&&this.modals[this.modals.length-1]===n}}const u3=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function c3(t){const n=parseInt(t.getAttribute("tabindex")||"",10);return Number.isNaN(n)?t.contentEditable==="true"||(t.nodeName==="AUDIO"||t.nodeName==="VIDEO"||t.nodeName==="DETAILS")&&t.getAttribute("tabindex")===null?0:t.tabIndex:n}function f3(t){if(t.tagName!=="INPUT"||t.type!=="radio"||!t.name)return!1;const n=o=>t.ownerDocument.querySelector(`input[type="radio"]${o}`);let r=n(`[name="${t.name}"]:checked`);return r||(r=n(`[name="${t.name}"]`)),r!==t}function d3(t){return!(t.disabled||t.tagName==="INPUT"&&t.type==="hidden"||f3(t))}function p3(t){const n=[],r=[];return Array.from(t.querySelectorAll(u3)).forEach((o,l)=>{const u=c3(o);u===-1||!d3(o)||(u===0?n.push(o):r.push({documentOrder:l,tabIndex:u,node:o}))}),r.sort((o,l)=>o.tabIndex===l.tabIndex?o.documentOrder-l.documentOrder:o.tabIndex-l.tabIndex).map(o=>o.node).concat(n)}function h3(){return!0}function m3(t){const{children:n,disableAutoFocus:r=!1,disableEnforceFocus:o=!1,disableRestoreFocus:l=!1,getTabbable:u=p3,isEnabled:c=h3,open:d}=t,h=R.useRef(!1),m=R.useRef(null),g=R.useRef(null),y=R.useRef(null),b=R.useRef(null),C=R.useRef(!1),S=R.useRef(null),x=Tn(al(n),S),A=R.useRef(null);R.useEffect(()=>{!d||!S.current||(C.current=!r)},[r,d]),R.useEffect(()=>{if(!d||!S.current)return;const w=oi(S.current);return S.current.contains(w.activeElement)||(S.current.hasAttribute("tabIndex")||S.current.setAttribute("tabIndex","-1"),C.current&&S.current.focus()),()=>{l||(y.current&&y.current.focus&&(h.current=!0,y.current.focus()),y.current=null)}},[d]),R.useEffect(()=>{if(!d||!S.current)return;const w=oi(S.current),O=k=>{A.current=k,!(o||!c()||k.key!=="Tab")&&w.activeElement===S.current&&k.shiftKey&&(h.current=!0,g.current&&g.current.focus())},D=()=>{const k=S.current;if(k===null)return;if(!w.hasFocus()||!c()||h.current){h.current=!1;return}if(k.contains(w.activeElement)||o&&w.activeElement!==m.current&&w.activeElement!==g.current)return;if(w.activeElement!==b.current)b.current=null;else if(b.current!==null)return;if(!C.current)return;let V=[];if((w.activeElement===m.current||w.activeElement===g.current)&&(V=u(S.current)),V.length>0){const K=!!(A.current?.shiftKey&&A.current?.key==="Tab"),Z=V[0],et=V[V.length-1];typeof Z!="string"&&typeof et!="string"&&(K?et.focus():Z.focus())}else k.focus()};w.addEventListener("focusin",D),w.addEventListener("keydown",O,!0);const _=setInterval(()=>{w.activeElement&&w.activeElement.tagName==="BODY"&&D()},50);return()=>{clearInterval(_),w.removeEventListener("focusin",D),w.removeEventListener("keydown",O,!0)}},[r,o,l,c,d,u]);const M=w=>{y.current===null&&(y.current=w.relatedTarget),C.current=!0,b.current=w.target;const O=n.props.onFocus;O&&O(w)},N=w=>{y.current===null&&(y.current=w.relatedTarget),C.current=!0};return z.jsxs(R.Fragment,{children:[z.jsx("div",{tabIndex:d?0:-1,onFocus:N,ref:m,"data-testid":"sentinelStart"}),R.cloneElement(n,{ref:x,onFocus:M}),z.jsx("div",{tabIndex:d?0:-1,onFocus:N,ref:g,"data-testid":"sentinelEnd"})]})}function g3(t){return typeof t=="function"?t():t}function y3(t){return t?t.props.hasOwnProperty("in"):!1}const nS=()=>{},ku=new l3;function v3(t){const{container:n,disableEscapeKeyDown:r=!1,disableScrollLock:o=!1,closeAfterTransition:l=!1,onTransitionEnter:u,onTransitionExited:c,children:d,onClose:h,open:m,rootRef:g}=t,y=R.useRef({}),b=R.useRef(null),C=R.useRef(null),S=Tn(C,g),[x,A]=R.useState(!m),M=y3(d);let N=!0;(t["aria-hidden"]==="false"||t["aria-hidden"]===!1)&&(N=!1);const w=()=>oi(b.current),O=()=>(y.current.modalRef=C.current,y.current.mount=b.current,y.current),D=()=>{ku.mount(O(),{disableScrollLock:o}),C.current&&(C.current.scrollTop=0)},_=oa(()=>{const W=g3(n)||w().body;ku.add(O(),W),C.current&&D()}),k=()=>ku.isTopModal(O()),V=oa(W=>{b.current=W,W&&(m&&k()?D():C.current&&Bs(C.current,N))}),K=R.useCallback(()=>{ku.remove(O(),N)},[N]);R.useEffect(()=>()=>{K()},[K]),R.useEffect(()=>{m?_():(!M||!l)&&K()},[m,K,M,l,_]);const Z=W=>B=>{W.onKeyDown?.(B),!(B.key!=="Escape"||B.which===229||!k())&&(r||(B.stopPropagation(),h&&h(B,"escapeKeyDown")))},et=W=>B=>{W.onClick?.(B),B.target===B.currentTarget&&h&&h(B,"backdropClick")};return{getRootProps:(W={})=>{const B=Hx(t);delete B.onTransitionEnter,delete B.onTransitionExited;const F={...B,...W};return{role:"presentation",...F,onKeyDown:Z(F),ref:S}},getBackdropProps:(W={})=>{const B=W;return{"aria-hidden":!0,...B,onClick:et(B),open:m}},getTransitionProps:()=>{const W=()=>{A(!1),u&&u()},B=()=>{A(!0),c&&c(),l&&K()};return{onEnter:Pb(W,d?.props.onEnter??nS),onExited:Pb(B,d?.props.onExited??nS)}},rootRef:S,portalRef:V,isTopModal:k,exited:x,hasTransition:M}}function b3(t){return Qt("MuiModal",t)}ae("MuiModal",["root","hidden","backdrop"]);const S3=t=>{const{open:n,exited:r,classes:o}=t;return Zt({root:["root",!n&&r&&"hidden"],backdrop:["backdrop"]},b3,o)},x3=dt("div",{name:"MuiModal",slot:"Root",overridesResolver:(t,n)=>{const{ownerState:r}=t;return[n.root,!r.open&&r.exited&&n.hidden]}})(ye(({theme:t})=>({position:"fixed",zIndex:(t.vars||t).zIndex.modal,right:0,bottom:0,top:0,left:0,variants:[{props:({ownerState:n})=>!n.open&&n.exited,style:{visibility:"hidden"}}]}))),T3=dt(L5,{name:"MuiModal",slot:"Backdrop"})({zIndex:-1}),C3=R.forwardRef(function(n,r){const o=Jt({name:"MuiModal",props:n}),{BackdropComponent:l=T3,BackdropProps:u,classes:c,className:d,closeAfterTransition:h=!1,children:m,container:g,component:y,components:b={},componentsProps:C={},disableAutoFocus:S=!1,disableEnforceFocus:x=!1,disableEscapeKeyDown:A=!1,disablePortal:M=!1,disableRestoreFocus:N=!1,disableScrollLock:w=!1,hideBackdrop:O=!1,keepMounted:D=!1,onClose:_,onTransitionEnter:k,onTransitionExited:V,open:K,slotProps:Z={},slots:et={},theme:E,...Q}=o,G={...o,closeAfterTransition:h,disableAutoFocus:S,disableEnforceFocus:x,disableEscapeKeyDown:A,disablePortal:M,disableRestoreFocus:N,disableScrollLock:w,hideBackdrop:O,keepMounted:D},{getRootProps:W,getBackdropProps:B,getTransitionProps:F,portalRef:at,isTopModal:nt,exited:ut,hasTransition:j}=v3({...G,rootRef:r}),I={...G,exited:ut},ot=S3(I),st={};if(m.props.tabIndex===void 0&&(st.tabIndex="-1"),j){const{onEnter:St,onExited:Dt}=F();st.onEnter=St,st.onExited=Dt}const lt={slots:{root:b.Root,backdrop:b.Backdrop,...et},slotProps:{...C,...Z}},[yt,mt]=Ae("root",{ref:r,elementType:x3,externalForwardedProps:{...lt,...Q,component:y},getSlotProps:W,ownerState:I,className:At(d,ot?.root,!I.open&&I.exited&&ot?.hidden)}),[Pt,xt]=Ae("backdrop",{ref:u?.ref,elementType:l,externalForwardedProps:lt,shouldForwardComponentProp:!0,additionalProps:u,getSlotProps:St=>B({...St,onClick:Dt=>{St?.onClick&&St.onClick(Dt)}}),className:At(u?.className,ot?.backdrop),ownerState:I});return!D&&!K&&(!j||ut)?null:z.jsx(S5,{ref:at,container:g,disablePortal:M,children:z.jsxs(yt,{...mt,children:[!O&&l?z.jsx(Pt,{...xt}):null,z.jsx(m3,{disableEnforceFocus:x,disableAutoFocus:S,disableRestoreFocus:N,isEnabled:nt,open:K,children:R.cloneElement(m,st)})]})})}),E3=t=>{const{classes:n,disableUnderline:r,startAdornment:o,endAdornment:l,size:u,hiddenLabel:c,multiline:d}=t,h={root:["root",!r&&"underline",o&&"adornedStart",l&&"adornedEnd",u==="small"&&`size${bt(u)}`,c&&"hiddenLabel",d&&"multiline"],input:["input"]},m=Zt(h,O5,n);return{...n,...m}},A3=dt(_c,{shouldForwardProp:t=>si(t)||t==="classes",name:"MuiFilledInput",slot:"Root",overridesResolver:(t,n)=>{const{ownerState:r}=t;return[...Bc(t,n),!r.disableUnderline&&n.underline]}})(ye(({theme:t})=>{const n=t.palette.mode==="light",r=n?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)",o=n?"rgba(0, 0, 0, 0.06)":"rgba(255, 255, 255, 0.09)",l=n?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.13)",u=n?"rgba(0, 0, 0, 0.12)":"rgba(255, 255, 255, 0.12)";return{position:"relative",backgroundColor:t.vars?t.vars.palette.FilledInput.bg:o,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:l,"@media (hover: none)":{backgroundColor:t.vars?t.vars.palette.FilledInput.bg:o}},[`&.${Kr.focused}`]:{backgroundColor:t.vars?t.vars.palette.FilledInput.bg:o},[`&.${Kr.disabled}`]:{backgroundColor:t.vars?t.vars.palette.FilledInput.disabledBg:u},variants:[{props:({ownerState:c})=>!c.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"},[`&.${Kr.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${Kr.error}`]:{"&::before, &::after":{borderBottomColor:(t.vars||t).palette.error.main}},"&::before":{borderBottom:`1px solid ${t.vars?t.alpha(t.vars.palette.common.onBackground,t.vars.opacity.inputUnderline):r}`,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(.${Kr.disabled}, .${Kr.error}):before`]:{borderBottom:`1px solid ${(t.vars||t).palette.text.primary}`},[`&.${Kr.disabled}:before`]:{borderBottomStyle:"dotted"}}},...Object.entries(t.palette).filter(Xn()).map(([c])=>({props:{disableUnderline:!1,color:c},style:{"&::after":{borderBottom:`2px solid ${(t.vars||t).palette[c]?.main}`}}})),{props:({ownerState:c})=>c.startAdornment,style:{paddingLeft:12}},{props:({ownerState:c})=>c.endAdornment,style:{paddingRight:12}},{props:({ownerState:c})=>c.multiline,style:{padding:"25px 12px 8px"}},{props:({ownerState:c,size:d})=>c.multiline&&d==="small",style:{paddingTop:21,paddingBottom:4}},{props:({ownerState:c})=>c.multiline&&c.hiddenLabel,style:{paddingTop:16,paddingBottom:17}},{props:({ownerState:c})=>c.multiline&&c.hiddenLabel&&c.size==="small",style:{paddingTop:8,paddingBottom:9}}]}})),R3=dt(jc,{name:"MuiFilledInput",slot:"Input",overridesResolver:Nc})(ye(({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:n})=>n.hiddenLabel,style:{paddingTop:16,paddingBottom:17}},{props:({ownerState:n})=>n.startAdornment,style:{paddingLeft:0}},{props:({ownerState:n})=>n.endAdornment,style:{paddingRight:0}},{props:({ownerState:n})=>n.hiddenLabel&&n.size==="small",style:{paddingTop:8,paddingBottom:9}},{props:({ownerState:n})=>n.multiline,style:{paddingTop:0,paddingBottom:0,paddingLeft:0,paddingRight:0}}]}))),um=R.forwardRef(function(n,r){const o=Jt({props:n,name:"MuiFilledInput"}),{disableUnderline:l=!1,components:u={},componentsProps:c,fullWidth:d=!1,hiddenLabel:h,inputComponent:m="input",multiline:g=!1,slotProps:y,slots:b={},type:C="text",...S}=o,x={...o,disableUnderline:l,fullWidth:d,inputComponent:m,multiline:g,type:C},A=E3(o),M={root:{ownerState:x},input:{ownerState:x}},N=y??c?Ye(M,y??c):M,w=b.root??u.Root??A3,O=b.input??u.Input??R3;return z.jsx(lm,{slots:{root:w,input:O},slotProps:N,fullWidth:d,inputComponent:m,multiline:g,ref:r,type:C,...S,classes:A})});um.muiName="Input";function w3(t){return Qt("MuiFormControl",t)}ae("MuiFormControl",["root","marginNone","marginNormal","marginDense","fullWidth","disabled"]);const M3=t=>{const{classes:n,margin:r,fullWidth:o}=t,l={root:["root",r!=="none"&&`margin${bt(r)}`,o&&"fullWidth"]};return Zt(l,w3,n)},O3=dt("div",{name:"MuiFormControl",slot:"Root",overridesResolver:(t,n)=>{const{ownerState:r}=t;return[n.root,n[`margin${bt(r.margin)}`],r.fullWidth&&n.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%"}}]}),D3=R.forwardRef(function(n,r){const o=Jt({props:n,name:"MuiFormControl"}),{children:l,className:u,color:c="primary",component:d="div",disabled:h=!1,error:m=!1,focused:g,fullWidth:y=!1,hiddenLabel:b=!1,margin:C="none",required:S=!1,size:x="medium",variant:A="outlined",...M}=o,N={...o,color:c,component:d,disabled:h,error:m,fullWidth:y,hiddenLabel:b,margin:C,required:S,size:x,variant:A},w=M3(N),[O,D]=R.useState(()=>{let W=!1;return l&&R.Children.forEach(l,B=>{if(!bp(B,["Input","Select"]))return;const F=bp(B,["Select"])?B.props.input:B;F&&E5(F.props)&&(W=!0)}),W}),[_,k]=R.useState(()=>{let W=!1;return l&&R.Children.forEach(l,B=>{bp(B,["Input","Select"])&&(uc(B.props,!0)||uc(B.props.inputProps,!0))&&(W=!0)}),W}),[V,K]=R.useState(!1);h&&V&&K(!1);const Z=g!==void 0&&!h?g:V;let et;R.useRef(!1);const E=R.useCallback(()=>{k(!0)},[]),Q=R.useCallback(()=>{k(!1)},[]),G=R.useMemo(()=>({adornedStart:O,setAdornedStart:D,color:c,disabled:h,error:m,filled:_,focused:Z,fullWidth:y,hiddenLabel:b,size:x,onBlur:()=>{K(!1)},onFocus:()=>{K(!0)},onEmpty:Q,onFilled:E,registerEffect:et,required:S,variant:A}),[O,c,h,m,_,Z,y,b,et,Q,E,S,x,A]);return z.jsx(sm.Provider,{value:G,children:z.jsx(O3,{as:d,ownerState:N,className:At(w.root,u),ref:r,...M,children:l})})});function z3(t){return Qt("MuiFormHelperText",t)}const iS=ae("MuiFormHelperText",["root","error","disabled","sizeSmall","sizeMedium","contained","focused","filled","required"]);var rS;const B3=t=>{const{classes:n,contained:r,size:o,disabled:l,error:u,filled:c,focused:d,required:h}=t,m={root:["root",l&&"disabled",u&&"error",o&&`size${bt(o)}`,r&&"contained",d&&"focused",c&&"filled",h&&"required"]};return Zt(m,z3,n)},N3=dt("p",{name:"MuiFormHelperText",slot:"Root",overridesResolver:(t,n)=>{const{ownerState:r}=t;return[n.root,r.size&&n[`size${bt(r.size)}`],r.contained&&n.contained,r.filled&&n.filled]}})(ye(({theme:t})=>({color:(t.vars||t).palette.text.secondary,...t.typography.caption,textAlign:"left",marginTop:3,marginRight:0,marginBottom:0,marginLeft:0,[`&.${iS.disabled}`]:{color:(t.vars||t).palette.text.disabled},[`&.${iS.error}`]:{color:(t.vars||t).palette.error.main},variants:[{props:{size:"small"},style:{marginTop:4}},{props:({ownerState:n})=>n.contained,style:{marginLeft:14,marginRight:14}}]}))),_3=R.forwardRef(function(n,r){const o=Jt({props:n,name:"MuiFormHelperText"}),{children:l,className:u,component:c="p",disabled:d,error:h,filled:m,focused:g,margin:y,required:b,variant:C,...S}=o,x=xo(),A=So({props:o,muiFormControl:x,states:["variant","size","disabled","error","filled","focused","required"]}),M={...o,component:c,contained:A.variant==="filled"||A.variant==="outlined",variant:A.variant,size:A.size,disabled:A.disabled,error:A.error,filled:A.filled,focused:A.focused,required:A.required};delete M.ownerState;const N=B3(M);return z.jsx(N3,{as:c,className:At(N.root,u),ref:r,...S,ownerState:M,children:l===" "?rS||(rS=z.jsx("span",{className:"notranslate","aria-hidden":!0,children:"โ€‹"})):l})});function j3(t){return Qt("MuiFormLabel",t)}const Ns=ae("MuiFormLabel",["root","colorSecondary","focused","disabled","error","filled","required","asterisk"]),L3=t=>{const{classes:n,color:r,focused:o,disabled:l,error:u,filled:c,required:d}=t,h={root:["root",`color${bt(r)}`,l&&"disabled",u&&"error",c&&"filled",o&&"focused",d&&"required"],asterisk:["asterisk",u&&"error"]};return Zt(h,j3,n)},k3=dt("label",{name:"MuiFormLabel",slot:"Root",overridesResolver:(t,n)=>{const{ownerState:r}=t;return[n.root,r.color==="secondary"&&n.colorSecondary,r.filled&&n.filled]}})(ye(({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(Xn()).map(([n])=>({props:{color:n},style:{[`&.${Ns.focused}`]:{color:(t.vars||t).palette[n].main}}})),{props:{},style:{[`&.${Ns.disabled}`]:{color:(t.vars||t).palette.text.disabled},[`&.${Ns.error}`]:{color:(t.vars||t).palette.error.main}}}]}))),P3=dt("span",{name:"MuiFormLabel",slot:"Asterisk"})(ye(({theme:t})=>({[`&.${Ns.error}`]:{color:(t.vars||t).palette.error.main}}))),U3=R.forwardRef(function(n,r){const o=Jt({props:n,name:"MuiFormLabel"}),{children:l,className:u,color:c,component:d="label",disabled:h,error:m,filled:g,focused:y,required:b,...C}=o,S=xo(),x=So({props:o,muiFormControl:S,states:["color","required","focused","disabled","error","filled"]}),A={...o,color:x.color||"primary",component:d,disabled:x.disabled,error:x.error,filled:x.filled,focused:x.focused,required:x.required},M=L3(A);return z.jsxs(k3,{as:d,ownerState:A,className:At(M.root,u),ref:r,...C,children:[l,x.required&&z.jsxs(P3,{ownerState:A,"aria-hidden":!0,className:M.asterisk,children:["โ€‰","*"]})]})});function lh(t){return`scale(${t}, ${t**2})`}const V3={entering:{opacity:1,transform:lh(1)},entered:{opacity:1,transform:"none"}},Tp=typeof navigator<"u"&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),uh=R.forwardRef(function(n,r){const{addEndListener:o,appear:l=!0,children:u,easing:c,in:d,onEnter:h,onEntered:m,onEntering:g,onExit:y,onExited:b,onExiting:C,style:S,timeout:x="auto",TransitionComponent:A=Ei,...M}=n,N=Px(),w=R.useRef(),O=rl(),D=R.useRef(null),_=Tn(D,al(u),r),k=W=>B=>{if(W){const F=D.current;B===void 0?W(F):W(F,B)}},V=k(g),K=k((W,B)=>{Ux(W);const{duration:F,delay:at,easing:nt}=oc({style:S,timeout:x,easing:c},{mode:"enter"});let ut;x==="auto"?(ut=O.transitions.getAutoHeightDuration(W.clientHeight),w.current=ut):ut=F,W.style.transition=[O.transitions.create("opacity",{duration:ut,delay:at}),O.transitions.create("transform",{duration:Tp?ut:ut*.666,delay:at,easing:nt})].join(","),h&&h(W,B)}),Z=k(m),et=k(C),E=k(W=>{const{duration:B,delay:F,easing:at}=oc({style:S,timeout:x,easing:c},{mode:"exit"});let nt;x==="auto"?(nt=O.transitions.getAutoHeightDuration(W.clientHeight),w.current=nt):nt=B,W.style.transition=[O.transitions.create("opacity",{duration:nt,delay:F}),O.transitions.create("transform",{duration:Tp?nt:nt*.666,delay:Tp?F:F||nt*.333,easing:at})].join(","),W.style.opacity=0,W.style.transform=lh(.75),y&&y(W)}),Q=k(b),G=W=>{x==="auto"&&N.start(w.current||0,W),o&&o(D.current,W)};return z.jsx(A,{appear:l,in:d,nodeRef:D,onEnter:K,onEntered:Z,onEntering:V,onExit:E,onExited:Q,onExiting:et,addEndListener:G,timeout:x==="auto"?null:x,...M,children:(W,{ownerState:B,...F})=>R.cloneElement(u,{style:{opacity:0,transform:lh(.75),visibility:W==="exited"&&!d?"hidden":void 0,...V3[W],...S,...u.props.style},ref:_,...F})})});uh&&(uh.muiSupportAuto=!0);const $3=t=>{const{classes:n,disableUnderline:r}=t,l=Zt({root:["root",!r&&"underline"],input:["input"]},w5,n);return{...n,...l}},H3=dt(_c,{shouldForwardProp:t=>si(t)||t==="classes",name:"MuiInput",slot:"Root",overridesResolver:(t,n)=>{const{ownerState:r}=t;return[...Bc(t,n),!r.disableUnderline&&n.underline]}})(ye(({theme:t})=>{let r=t.palette.mode==="light"?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)";return t.vars&&(r=t.alpha(t.vars.palette.common.onBackground,t.vars.opacity.inputUnderline)),{position:"relative",variants:[{props:({ownerState:o})=>o.formControl,style:{"label + &":{marginTop:16}}},{props:({ownerState:o})=>!o.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"},[`&.${Ts.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${Ts.error}`]:{"&::before, &::after":{borderBottomColor:(t.vars||t).palette.error.main}},"&::before":{borderBottom:`1px solid ${r}`,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(.${Ts.disabled}, .${Ts.error}):before`]:{borderBottom:`2px solid ${(t.vars||t).palette.text.primary}`,"@media (hover: none)":{borderBottom:`1px solid ${r}`}},[`&.${Ts.disabled}:before`]:{borderBottomStyle:"dotted"}}},...Object.entries(t.palette).filter(Xn()).map(([o])=>({props:{color:o,disableUnderline:!1},style:{"&::after":{borderBottom:`2px solid ${(t.vars||t).palette[o].main}`}}}))]}})),F3=dt(jc,{name:"MuiInput",slot:"Input",overridesResolver:Nc})({}),cm=R.forwardRef(function(n,r){const o=Jt({props:n,name:"MuiInput"}),{disableUnderline:l=!1,components:u={},componentsProps:c,fullWidth:d=!1,inputComponent:h="input",multiline:m=!1,slotProps:g,slots:y={},type:b="text",...C}=o,S=$3(o),A={root:{ownerState:{disableUnderline:l}}},M=g??c?Ye(g??c,A):A,N=y.root??u.Root??H3,w=y.input??u.Input??F3;return z.jsx(lm,{slots:{root:N,input:w},slotProps:M,fullWidth:d,inputComponent:h,multiline:m,ref:r,type:b,...C,classes:S})});cm.muiName="Input";function q3(t){return Qt("MuiInputLabel",t)}ae("MuiInputLabel",["root","focused","disabled","error","required","asterisk","formControl","sizeSmall","shrink","animated","standard","filled","outlined"]);const I3=t=>{const{classes:n,formControl:r,size:o,shrink:l,disableAnimation:u,variant:c,required:d}=t,h={root:["root",r&&"formControl",!u&&"animated",l&&"shrink",o&&o!=="medium"&&`size${bt(o)}`,c],asterisk:[d&&"asterisk"]},m=Zt(h,q3,n);return{...n,...m}},G3=dt(U3,{shouldForwardProp:t=>si(t)||t==="classes",name:"MuiInputLabel",slot:"Root",overridesResolver:(t,n)=>{const{ownerState:r}=t;return[{[`& .${Ns.asterisk}`]:n.asterisk},n.root,r.formControl&&n.formControl,r.size==="small"&&n.sizeSmall,r.shrink&&n.shrink,!r.disableAnimation&&n.animated,r.focused&&n.focused,n[r.variant]]}})(ye(({theme:t})=>({display:"block",transformOrigin:"top left",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",maxWidth:"100%",variants:[{props:({ownerState:n})=>n.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:n})=>n.shrink,style:{transform:"translate(0, -1.5px) scale(0.75)",transformOrigin:"top left",maxWidth:"133%"}},{props:({ownerState:n})=>!n.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:n,ownerState:r})=>n==="filled"&&r.shrink,style:{userSelect:"none",pointerEvents:"auto",transform:"translate(12px, 7px) scale(0.75)",maxWidth:"calc(133% - 24px)"}},{props:({variant:n,ownerState:r,size:o})=>n==="filled"&&r.shrink&&o==="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:n,ownerState:r})=>n==="outlined"&&r.shrink,style:{userSelect:"none",pointerEvents:"auto",maxWidth:"calc(133% - 32px)",transform:"translate(14px, -9px) scale(0.75)"}}]}))),Y3=R.forwardRef(function(n,r){const o=Jt({name:"MuiInputLabel",props:n}),{disableAnimation:l=!1,margin:u,shrink:c,variant:d,className:h,...m}=o,g=xo();let y=c;typeof y>"u"&&g&&(y=g.filled||g.focused||g.adornedStart);const b=So({props:o,muiFormControl:g,states:["size","variant","required","focused"]}),C={...o,disableAnimation:l,formControl:g,shrink:y,size:b.size,variant:b.variant,required:b.required,focused:b.focused},S=I3(C);return z.jsx(G3,{"data-shrink":y,ref:r,className:At(S.root,h),...m,ownerState:C,classes:S})}),K3=R.createContext({});function X3(t){return Qt("MuiList",t)}ae("MuiList",["root","padding","dense","subheader"]);const W3=t=>{const{classes:n,disablePadding:r,dense:o,subheader:l}=t;return Zt({root:["root",!r&&"padding",o&&"dense",l&&"subheader"]},X3,n)},Q3=dt("ul",{name:"MuiList",slot:"Root",overridesResolver:(t,n)=>{const{ownerState:r}=t;return[n.root,!r.disablePadding&&n.padding,r.dense&&n.dense,r.subheader&&n.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}}]}),Z3=R.forwardRef(function(n,r){const o=Jt({props:n,name:"MuiList"}),{children:l,className:u,component:c="ul",dense:d=!1,disablePadding:h=!1,subheader:m,...g}=o,y=R.useMemo(()=>({dense:d}),[d]),b={...o,component:c,dense:d,disablePadding:h},C=W3(b);return z.jsx(K3.Provider,{value:y,children:z.jsxs(Q3,{as:c,className:At(C.root,u),ref:r,ownerState:b,...g,children:[m,l]})})});function Cp(t,n,r){return t===n?t.firstChild:n&&n.nextElementSibling?n.nextElementSibling:r?null:t.firstChild}function aS(t,n,r){return t===n?r?t.firstChild:t.lastChild:n&&n.previousElementSibling?n.previousElementSibling:r?null:t.lastChild}function Xx(t,n){if(n===void 0)return!0;let r=t.innerText;return r===void 0&&(r=t.textContent),r=r.trim().toLowerCase(),r.length===0?!1:n.repeating?r[0]===n.keys[0]:r.startsWith(n.keys.join(""))}function Cs(t,n,r,o,l,u){let c=!1,d=l(t,n,n?r:!1);for(;d;){if(d===t.firstChild){if(c)return!1;c=!0}const h=o?!1:d.disabled||d.getAttribute("aria-disabled")==="true";if(!d.hasAttribute("tabindex")||!Xx(d,u)||h)d=l(t,d,r);else return d.focus(),!0}return!1}const J3=R.forwardRef(function(n,r){const{actions:o,autoFocus:l=!1,autoFocusItem:u=!1,children:c,className:d,disabledItemsFocusable:h=!1,disableListWrap:m=!1,onKeyDown:g,variant:y="selectedMenu",...b}=n,C=R.useRef(null),S=R.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});Gi(()=>{l&&C.current.focus()},[l]),R.useImperativeHandle(o,()=>({adjustStyleForScrollbar:(w,{direction:O})=>{const D=!C.current.style.width;if(w.clientHeight<C.current.clientHeight&&D){const _=`${Kx(Yi(w))}px`;C.current.style[O==="rtl"?"paddingLeft":"paddingRight"]=_,C.current.style.width=`calc(100% + ${_})`}return C.current}}),[]);const x=w=>{const O=C.current,D=w.key;if(w.ctrlKey||w.metaKey||w.altKey){g&&g(w);return}const k=oi(O).activeElement;if(D==="ArrowDown")w.preventDefault(),Cs(O,k,m,h,Cp);else if(D==="ArrowUp")w.preventDefault(),Cs(O,k,m,h,aS);else if(D==="Home")w.preventDefault(),Cs(O,null,m,h,Cp);else if(D==="End")w.preventDefault(),Cs(O,null,m,h,aS);else if(D.length===1){const V=S.current,K=D.toLowerCase(),Z=performance.now();V.keys.length>0&&(Z-V.lastTime>500?(V.keys=[],V.repeating=!0,V.previousKeyMatched=!0):V.repeating&&K!==V.keys[0]&&(V.repeating=!1)),V.lastTime=Z,V.keys.push(K);const et=k&&!V.repeating&&Xx(k,V);V.previousKeyMatched&&(et||Cs(O,k,!1,h,Cp,V))?w.preventDefault():V.previousKeyMatched=!1}g&&g(w)},A=Tn(C,r);let M=-1;R.Children.forEach(c,(w,O)=>{if(!R.isValidElement(w)){M===O&&(M+=1,M>=c.length&&(M=-1));return}w.props.disabled||(y==="selectedMenu"&&w.props.selected||M===-1)&&(M=O),M===O&&(w.props.disabled||w.props.muiSkipListHighlight||w.type.muiSkipListHighlight)&&(M+=1,M>=c.length&&(M=-1))});const N=R.Children.map(c,(w,O)=>{if(O===M){const D={};return u&&(D.autoFocus=!0),w.props.tabIndex===void 0&&y==="selectedMenu"&&(D.tabIndex=0),R.cloneElement(w,D)}return w});return z.jsx(Z3,{role:"menu",ref:A,className:d,onKeyDown:x,tabIndex:l?0:-1,...b,children:N})});function tD(t){return Qt("MuiPopover",t)}ae("MuiPopover",["root","paper"]);function oS(t,n){let r=0;return typeof n=="number"?r=n:n==="center"?r=t.height/2:n==="bottom"&&(r=t.height),r}function sS(t,n){let r=0;return typeof n=="number"?r=n:n==="center"?r=t.width/2:n==="right"&&(r=t.width),r}function lS(t){return[t.horizontal,t.vertical].map(n=>typeof n=="number"?`${n}px`:n).join(" ")}function Pu(t){return typeof t=="function"?t():t}const eD=t=>{const{classes:n}=t;return Zt({root:["root"],paper:["paper"]},tD,n)},nD=dt(C3,{name:"MuiPopover",slot:"Root"})({}),Wx=dt(om,{name:"MuiPopover",slot:"Paper"})({position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}),iD=R.forwardRef(function(n,r){const o=Jt({props:n,name:"MuiPopover"}),{action:l,anchorEl:u,anchorOrigin:c={vertical:"top",horizontal:"left"},anchorPosition:d,anchorReference:h="anchorEl",children:m,className:g,container:y,elevation:b=8,marginThreshold:C=16,open:S,PaperProps:x={},slots:A={},slotProps:M={},transformOrigin:N={vertical:"top",horizontal:"left"},TransitionComponent:w,transitionDuration:O="auto",TransitionProps:D={},disableScrollLock:_=!1,...k}=o,V=R.useRef(),K={...o,anchorOrigin:c,anchorReference:h,elevation:b,marginThreshold:C,transformOrigin:N,TransitionComponent:w,transitionDuration:O,TransitionProps:D},Z=eD(K),et=R.useCallback(()=>{if(h==="anchorPosition")return d;const St=Pu(u),jt=(St&&St.nodeType===1?St:oi(V.current).body).getBoundingClientRect();return{top:jt.top+oS(jt,c.vertical),left:jt.left+sS(jt,c.horizontal)}},[u,c.horizontal,c.vertical,d,h]),E=R.useCallback(St=>({vertical:oS(St,N.vertical),horizontal:sS(St,N.horizontal)}),[N.horizontal,N.vertical]),Q=R.useCallback(St=>{const Dt={width:St.offsetWidth,height:St.offsetHeight},jt=E(Dt);if(h==="none")return{top:null,left:null,transformOrigin:lS(jt)};const we=et();let Ct=we.top-jt.vertical,$t=we.left-jt.horizontal;const $e=Ct+Dt.height,_e=$t+Dt.width,ue=Yi(Pu(u)),le=ue.innerHeight-C,de=ue.innerWidth-C;if(C!==null&&Ct<C){const oe=Ct-C;Ct-=oe,jt.vertical+=oe}else if(C!==null&&$e>le){const oe=$e-le;Ct-=oe,jt.vertical+=oe}if(C!==null&&$t<C){const oe=$t-C;$t-=oe,jt.horizontal+=oe}else if(_e>de){const oe=_e-de;$t-=oe,jt.horizontal+=oe}return{top:`${Math.round(Ct)}px`,left:`${Math.round($t)}px`,transformOrigin:lS(jt)}},[u,h,et,E,C]),[G,W]=R.useState(S),B=R.useCallback(()=>{const St=V.current;if(!St)return;const Dt=Q(St);Dt.top!==null&&St.style.setProperty("top",Dt.top),Dt.left!==null&&(St.style.left=Dt.left),St.style.transformOrigin=Dt.transformOrigin,W(!0)},[Q]);R.useEffect(()=>(_&&window.addEventListener("scroll",B),()=>window.removeEventListener("scroll",B)),[u,_,B]);const F=()=>{B()},at=()=>{W(!1)};R.useEffect(()=>{S&&B()}),R.useImperativeHandle(l,()=>S?{updatePosition:()=>{B()}}:null,[S,B]),R.useEffect(()=>{if(!S)return;const St=Nx(()=>{B()}),Dt=Yi(Pu(u));return Dt.addEventListener("resize",St),()=>{St.clear(),Dt.removeEventListener("resize",St)}},[u,S,B]);let nt=O;const ut={slots:{transition:w,...A},slotProps:{transition:D,paper:x,...M}},[j,I]=Ae("transition",{elementType:uh,externalForwardedProps:ut,ownerState:K,getSlotProps:St=>({...St,onEntering:(Dt,jt)=>{St.onEntering?.(Dt,jt),F()},onExited:Dt=>{St.onExited?.(Dt),at()}}),additionalProps:{appear:!0,in:S}});O==="auto"&&!j.muiSupportAuto&&(nt=void 0);const ot=y||(u?oi(Pu(u)).body:void 0),[st,{slots:lt,slotProps:yt,...mt}]=Ae("root",{ref:r,elementType:nD,externalForwardedProps:{...ut,...k},shouldForwardComponentProp:!0,additionalProps:{slots:{backdrop:A.backdrop},slotProps:{backdrop:hO(typeof M.backdrop=="function"?M.backdrop(K):M.backdrop,{invisible:!0})},container:ot,open:S},ownerState:K,className:At(Z.root,g)}),[Pt,xt]=Ae("paper",{ref:V,className:Z.paper,elementType:Wx,externalForwardedProps:ut,shouldForwardComponentProp:!0,additionalProps:{elevation:b,style:G?void 0:{opacity:0}},ownerState:K});return z.jsx(st,{...mt,...!sc(st)&&{slots:lt,slotProps:yt,disableScrollLock:_},children:z.jsx(j,{...I,timeout:nt,children:z.jsx(Pt,{...xt,children:m})})})});function rD(t){return Qt("MuiMenu",t)}ae("MuiMenu",["root","paper","list"]);const aD={vertical:"top",horizontal:"right"},oD={vertical:"top",horizontal:"left"},sD=t=>{const{classes:n}=t;return Zt({root:["root"],paper:["paper"],list:["list"]},rD,n)},lD=dt(iD,{shouldForwardProp:t=>si(t)||t==="classes",name:"MuiMenu",slot:"Root"})({}),uD=dt(Wx,{name:"MuiMenu",slot:"Paper"})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),cD=dt(J3,{name:"MuiMenu",slot:"List"})({outline:0}),fD=R.forwardRef(function(n,r){const o=Jt({props:n,name:"MuiMenu"}),{autoFocus:l=!0,children:u,className:c,disableAutoFocusItem:d=!1,MenuListProps:h={},onClose:m,open:g,PaperProps:y={},PopoverClasses:b,transitionDuration:C="auto",TransitionProps:{onEntering:S,...x}={},variant:A="selectedMenu",slots:M={},slotProps:N={},...w}=o,O=Kw(),D={...o,autoFocus:l,disableAutoFocusItem:d,MenuListProps:h,onEntering:S,PaperProps:y,transitionDuration:C,TransitionProps:x,variant:A},_=sD(D),k=l&&!d&&g,V=R.useRef(null),K=(nt,ut)=>{V.current&&V.current.adjustStyleForScrollbar(nt,{direction:O?"rtl":"ltr"}),S&&S(nt,ut)},Z=nt=>{nt.key==="Tab"&&(nt.preventDefault(),m&&m(nt,"tabKeyDown"))};let et=-1;R.Children.map(u,(nt,ut)=>{R.isValidElement(nt)&&(nt.props.disabled||(A==="selectedMenu"&&nt.props.selected||et===-1)&&(et=ut))});const E={slots:M,slotProps:{list:h,transition:x,paper:y,...N}},Q=v5({elementType:M.root,externalSlotProps:N.root,ownerState:D,className:[_.root,c]}),[G,W]=Ae("paper",{className:_.paper,elementType:uD,externalForwardedProps:E,shouldForwardComponentProp:!0,ownerState:D}),[B,F]=Ae("list",{className:At(_.list,h.className),elementType:cD,shouldForwardComponentProp:!0,externalForwardedProps:E,getSlotProps:nt=>({...nt,onKeyDown:ut=>{Z(ut),nt.onKeyDown?.(ut)}}),ownerState:D}),at=typeof E.slotProps.transition=="function"?E.slotProps.transition(D):E.slotProps.transition;return z.jsx(lD,{onClose:m,anchorOrigin:{vertical:"bottom",horizontal:O?"right":"left"},transformOrigin:O?aD:oD,slots:{root:M.root,paper:G,backdrop:M.backdrop,...M.transition&&{transition:M.transition}},slotProps:{root:Q,paper:W,backdrop:typeof N.backdrop=="function"?N.backdrop(D):N.backdrop,transition:{...at,onEntering:(...nt)=>{K(...nt),at?.onEntering?.(...nt)}}},open:g,ref:r,transitionDuration:C,ownerState:D,...w,classes:b,children:z.jsx(B,{actions:V,autoFocus:l&&(et===-1||d),autoFocusItem:k,variant:A,...F,children:u})})});function dD(t){return Qt("MuiNativeSelect",t)}const fm=ae("MuiNativeSelect",["root","select","multiple","filled","outlined","standard","disabled","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]),pD=t=>{const{classes:n,variant:r,disabled:o,multiple:l,open:u,error:c}=t,d={select:["select",r,o&&"disabled",l&&"multiple",c&&"error"],icon:["icon",`icon${bt(r)}`,u&&"iconOpen",o&&"disabled"]};return Zt(d,dD,n)},Qx=dt("select",{name:"MuiNativeSelect"})(({theme:t})=>({MozAppearance:"none",WebkitAppearance:"none",userSelect:"none",borderRadius:0,cursor:"pointer","&:focus":{borderRadius:0},[`&.${fm.disabled}`]:{cursor:"default"},"&[multiple]":{height:"auto"},"&:not([multiple]) option, &:not([multiple]) optgroup":{backgroundColor:(t.vars||t).palette.background.paper},variants:[{props:({ownerState:n})=>n.variant!=="filled"&&n.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}}}]})),hD=dt(Qx,{name:"MuiNativeSelect",slot:"Select",shouldForwardProp:si,overridesResolver:(t,n)=>{const{ownerState:r}=t;return[n.select,n[r.variant],r.error&&n.error,{[`&.${fm.multiple}`]:n.multiple}]}})({}),Zx=dt("svg",{name:"MuiNativeSelect"})(({theme:t})=>({position:"absolute",right:0,top:"calc(50% - .5em)",pointerEvents:"none",color:(t.vars||t).palette.action.active,[`&.${fm.disabled}`]:{color:(t.vars||t).palette.action.disabled},variants:[{props:({ownerState:n})=>n.open,style:{transform:"rotate(180deg)"}},{props:{variant:"filled"},style:{right:7}},{props:{variant:"outlined"},style:{right:7}}]})),mD=dt(Zx,{name:"MuiNativeSelect",slot:"Icon",overridesResolver:(t,n)=>{const{ownerState:r}=t;return[n.icon,r.variant&&n[`icon${bt(r.variant)}`],r.open&&n.iconOpen]}})({}),gD=R.forwardRef(function(n,r){const{className:o,disabled:l,error:u,IconComponent:c,inputRef:d,variant:h="standard",...m}=n,g={...n,disabled:l,variant:h,error:u},y=pD(g);return z.jsxs(R.Fragment,{children:[z.jsx(hD,{ownerState:g,className:At(y.select,o),disabled:l,ref:d||r,...m}),n.multiple?null:z.jsx(mD,{as:c,ownerState:g,className:y.icon})]})});var uS;const yD=dt("fieldset",{name:"MuiNotchedOutlined",shouldForwardProp:si})({textAlign:"left",position:"absolute",bottom:0,right:0,top:-5,left:0,margin:0,padding:"0 8px",pointerEvents:"none",borderRadius:"inherit",borderStyle:"solid",borderWidth:1,overflow:"hidden",minWidth:"0%"}),vD=dt("legend",{name:"MuiNotchedOutlined",shouldForwardProp:si})(ye(({theme:t})=>({float:"unset",width:"auto",overflow:"hidden",variants:[{props:({ownerState:n})=>!n.withLabel,style:{padding:0,lineHeight:"11px",transition:t.transitions.create("width",{duration:150,easing:t.transitions.easing.easeOut})}},{props:({ownerState:n})=>n.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:n})=>n.withLabel&&n.notched,style:{maxWidth:"100%",transition:t.transitions.create("max-width",{duration:100,easing:t.transitions.easing.easeOut,delay:50})}}]})));function bD(t){const{children:n,classes:r,className:o,label:l,notched:u,...c}=t,d=l!=null&&l!=="",h={...t,notched:u,withLabel:d};return z.jsx(yD,{"aria-hidden":!0,className:o,ownerState:h,...c,children:z.jsx(vD,{ownerState:h,children:d?z.jsx("span",{children:l}):uS||(uS=z.jsx("span",{className:"notranslate","aria-hidden":!0,children:"โ€‹"}))})})}const SD=t=>{const{classes:n}=t,o=Zt({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},M5,n);return{...n,...o}},xD=dt(_c,{shouldForwardProp:t=>si(t)||t==="classes",name:"MuiOutlinedInput",slot:"Root",overridesResolver:Bc})(ye(({theme:t})=>{const n=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 .${mi.notchedOutline}`]:{borderColor:(t.vars||t).palette.text.primary},"@media (hover: none)":{[`&:hover .${mi.notchedOutline}`]:{borderColor:t.vars?t.alpha(t.vars.palette.common.onBackground,.23):n}},[`&.${mi.focused} .${mi.notchedOutline}`]:{borderWidth:2},variants:[...Object.entries(t.palette).filter(Xn()).map(([r])=>({props:{color:r},style:{[`&.${mi.focused} .${mi.notchedOutline}`]:{borderColor:(t.vars||t).palette[r].main}}})),{props:{},style:{[`&.${mi.error} .${mi.notchedOutline}`]:{borderColor:(t.vars||t).palette.error.main},[`&.${mi.disabled} .${mi.notchedOutline}`]:{borderColor:(t.vars||t).palette.action.disabled}}},{props:({ownerState:r})=>r.startAdornment,style:{paddingLeft:14}},{props:({ownerState:r})=>r.endAdornment,style:{paddingRight:14}},{props:({ownerState:r})=>r.multiline,style:{padding:"16.5px 14px"}},{props:({ownerState:r,size:o})=>r.multiline&&o==="small",style:{padding:"8.5px 14px"}}]}})),TD=dt(bD,{name:"MuiOutlinedInput",slot:"NotchedOutline"})(ye(({theme:t})=>{const n=t.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{borderColor:t.vars?t.alpha(t.vars.palette.common.onBackground,.23):n}})),CD=dt(jc,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:Nc})(ye(({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:n})=>n.multiline,style:{padding:0}},{props:({ownerState:n})=>n.startAdornment,style:{paddingLeft:0}},{props:({ownerState:n})=>n.endAdornment,style:{paddingRight:0}}]}))),dm=R.forwardRef(function(n,r){const o=Jt({props:n,name:"MuiOutlinedInput"}),{components:l={},fullWidth:u=!1,inputComponent:c="input",label:d,multiline:h=!1,notched:m,slots:g={},slotProps:y={},type:b="text",...C}=o,S=SD(o),x=xo(),A=So({props:o,muiFormControl:x,states:["color","disabled","error","focused","hiddenLabel","size","required"]}),M={...o,color:A.color||"primary",disabled:A.disabled,error:A.error,focused:A.focused,formControl:x,fullWidth:u,hiddenLabel:A.hiddenLabel,multiline:h,size:A.size,type:b},N=g.root??l.Root??xD,w=g.input??l.Input??CD,[O,D]=Ae("notchedOutline",{elementType:TD,className:S.notchedOutline,shouldForwardComponentProp:!0,ownerState:M,externalForwardedProps:{slots:g,slotProps:y},additionalProps:{label:d!=null&&d!==""&&A.required?z.jsxs(R.Fragment,{children:[d,"โ€‰","*"]}):d}});return z.jsx(lm,{slots:{root:N,input:w},slotProps:y,renderSuffix:_=>z.jsx(O,{...D,notched:typeof m<"u"?m:!!(_.startAdornment||_.filled||_.focused)}),fullWidth:u,inputComponent:c,multiline:h,ref:r,type:b,...C,classes:{...S,notchedOutline:null}})});dm.muiName="Input";function Jx(t){return Qt("MuiSelect",t)}const Es=ae("MuiSelect",["root","select","multiple","filled","outlined","standard","disabled","focused","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]);var cS;const ED=dt(Qx,{name:"MuiSelect",slot:"Select",overridesResolver:(t,n)=>{const{ownerState:r}=t;return[{[`&.${Es.select}`]:n.select},{[`&.${Es.select}`]:n[r.variant]},{[`&.${Es.error}`]:n.error},{[`&.${Es.multiple}`]:n.multiple}]}})({[`&.${Es.select}`]:{height:"auto",minHeight:"1.4375em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}}),AD=dt(Zx,{name:"MuiSelect",slot:"Icon",overridesResolver:(t,n)=>{const{ownerState:r}=t;return[n.icon,r.variant&&n[`icon${bt(r.variant)}`],r.open&&n.iconOpen]}})({}),RD=dt("input",{shouldForwardProp:t=>Bx(t)&&t!=="classes",name:"MuiSelect",slot:"NativeInput"})({bottom:0,left:0,position:"absolute",opacity:0,pointerEvents:"none",width:"100%",boxSizing:"border-box"});function fS(t,n){return typeof n=="object"&&n!==null?t===n:String(t)===String(n)}function wD(t){return t==null||typeof t=="string"&&!t.trim()}const MD=t=>{const{classes:n,variant:r,disabled:o,multiple:l,open:u,error:c}=t,d={select:["select",r,o&&"disabled",l&&"multiple",c&&"error"],icon:["icon",`icon${bt(r)}`,u&&"iconOpen",o&&"disabled"],nativeInput:["nativeInput"]};return Zt(d,Jx,n)},OD=R.forwardRef(function(n,r){const{"aria-describedby":o,"aria-label":l,autoFocus:u,autoWidth:c,children:d,className:h,defaultOpen:m,defaultValue:g,disabled:y,displayEmpty:b,error:C=!1,IconComponent:S,inputRef:x,labelId:A,MenuProps:M={},multiple:N,name:w,onBlur:O,onChange:D,onClose:_,onFocus:k,onOpen:V,open:K,readOnly:Z,renderValue:et,required:E,SelectDisplayProps:Q={},tabIndex:G,type:W,value:B,variant:F="standard",...at}=n,[nt,ut]=Vb({controlled:B,default:g,name:"Select"}),[j,I]=Vb({controlled:K,default:m,name:"Select"}),ot=R.useRef(null),st=R.useRef(null),[lt,yt]=R.useState(null),{current:mt}=R.useRef(K!=null),[Pt,xt]=R.useState(),St=Tn(r,x),Dt=R.useCallback(ht=>{st.current=ht,ht&&yt(ht)},[]),jt=lt?.parentNode;R.useImperativeHandle(St,()=>({focus:()=>{st.current.focus()},node:ot.current,value:nt}),[nt]),R.useEffect(()=>{m&&j&&lt&&!mt&&(xt(c?null:jt.clientWidth),st.current.focus())},[lt,c]),R.useEffect(()=>{u&&st.current.focus()},[u]),R.useEffect(()=>{if(!A)return;const ht=oi(st.current).getElementById(A);if(ht){const Ot=()=>{getSelection().isCollapsed&&st.current.focus()};return ht.addEventListener("click",Ot),()=>{ht.removeEventListener("click",Ot)}}},[A]);const we=(ht,Ot)=>{ht?V&&V(Ot):_&&_(Ot),mt||(xt(c?null:jt.clientWidth),I(ht))},Ct=ht=>{ht.button===0&&(ht.preventDefault(),st.current.focus(),we(!0,ht))},$t=ht=>{we(!1,ht)},$e=R.Children.toArray(d),_e=ht=>{const Ot=$e.find(Fe=>Fe.props.value===ht.target.value);Ot!==void 0&&(ut(Ot.props.value),D&&D(ht,Ot))},ue=ht=>Ot=>{let Fe;if(Ot.currentTarget.hasAttribute("tabindex")){if(N){Fe=Array.isArray(nt)?nt.slice():[];const Qi=nt.indexOf(ht.props.value);Qi===-1?Fe.push(ht.props.value):Fe.splice(Qi,1)}else Fe=ht.props.value;if(ht.props.onClick&&ht.props.onClick(Ot),nt!==Fe&&(ut(Fe),D)){const Qi=Ot.nativeEvent||Ot,hl=new Qi.constructor(Qi.type,Qi);Object.defineProperty(hl,"target",{writable:!0,value:{value:Fe,name:w}}),D(hl,ht)}N||we(!1,Ot)}},le=ht=>{Z||[" ","ArrowUp","ArrowDown","Enter"].includes(ht.key)&&(ht.preventDefault(),we(!0,ht))},de=lt!==null&&j,oe=ht=>{!de&&O&&(Object.defineProperty(ht,"target",{writable:!0,value:{value:nt,name:w}}),O(ht))};delete at["aria-invalid"];let pt,Nn;const kt=[];let Zn=!1;(uc({value:nt})||b)&&(et?pt=et(nt):Zn=!0);const Me=$e.map(ht=>{if(!R.isValidElement(ht))return null;let Ot;if(N){if(!Array.isArray(nt))throw new Error(Ii(2));Ot=nt.some(Fe=>fS(Fe,ht.props.value)),Ot&&Zn&&kt.push(ht.props.children)}else Ot=fS(nt,ht.props.value),Ot&&Zn&&(Nn=ht.props.children);return R.cloneElement(ht,{"aria-selected":Ot?"true":"false",onClick:ue(ht),onKeyUp:Fe=>{Fe.key===" "&&Fe.preventDefault(),ht.props.onKeyUp&&ht.props.onKeyUp(Fe)},role:"option",selected:Ot,value:void 0,"data-value":ht.props.value})});Zn&&(N?kt.length===0?pt=null:pt=kt.reduce((ht,Ot,Fe)=>(ht.push(Ot),Fe<kt.length-1&&ht.push(", "),ht),[]):pt=Nn);let It=Pt;!c&&mt&&lt&&(It=jt.clientWidth);let pe;typeof G<"u"?pe=G:pe=y?null:0;const He=Q.id||(w?`mui-component-select-${w}`:void 0),en={...n,variant:F,value:nt,open:de,error:C},te=MD(en),Wi={...M.PaperProps,...typeof M.slotProps?.paper=="function"?M.slotProps.paper(en):M.slotProps?.paper},ui={...M.MenuListProps,...typeof M.slotProps?.list=="function"?M.slotProps.list(en):M.slotProps?.list},nn=il();return z.jsxs(R.Fragment,{children:[z.jsx(ED,{as:"div",ref:Dt,tabIndex:pe,role:"combobox","aria-controls":de?nn:void 0,"aria-disabled":y?"true":void 0,"aria-expanded":de?"true":"false","aria-haspopup":"listbox","aria-label":l,"aria-labelledby":[A,He].filter(Boolean).join(" ")||void 0,"aria-describedby":o,"aria-required":E?"true":void 0,"aria-invalid":C?"true":void 0,onKeyDown:le,onMouseDown:y||Z?null:Ct,onBlur:oe,onFocus:k,...Q,ownerState:en,className:At(Q.className,te.select,h),id:He,children:wD(pt)?cS||(cS=z.jsx("span",{className:"notranslate","aria-hidden":!0,children:"โ€‹"})):pt}),z.jsx(RD,{"aria-invalid":C,value:Array.isArray(nt)?nt.join(","):nt,name:w,ref:ot,"aria-hidden":!0,onChange:_e,tabIndex:-1,disabled:y,className:te.nativeInput,autoFocus:u,required:E,...at,ownerState:en}),z.jsx(AD,{as:S,className:te.icon,ownerState:en}),z.jsx(fD,{id:`menu-${w||""}`,anchorEl:jt,open:de,onClose:$t,anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"},...M,slotProps:{...M.slotProps,list:{"aria-labelledby":A,role:"listbox","aria-multiselectable":N?"true":void 0,disableListWrap:!0,id:nn,...ui},paper:{...Wi,style:{minWidth:It,...Wi!=null?Wi.style:null}}},children:Me})]})}),DD=t=>{const{classes:n}=t,o=Zt({root:["root"]},Jx,n);return{...n,...o}},pm={name:"MuiSelect",slot:"Root",shouldForwardProp:t=>si(t)&&t!=="variant"},zD=dt(cm,pm)(""),BD=dt(dm,pm)(""),ND=dt(um,pm)(""),tT=R.forwardRef(function(n,r){const o=Jt({name:"MuiSelect",props:n}),{autoWidth:l=!1,children:u,classes:c={},className:d,defaultOpen:h=!1,displayEmpty:m=!1,IconComponent:g=D5,id:y,input:b,inputProps:C,label:S,labelId:x,MenuProps:A,multiple:M=!1,native:N=!1,onClose:w,onOpen:O,open:D,renderValue:_,SelectDisplayProps:k,variant:V="outlined",...K}=o,Z=N?gD:OD,et=xo(),E=So({props:o,muiFormControl:et,states:["variant","error"]}),Q=E.variant||V,G={...o,variant:Q,classes:c},W=DD(G),{root:B,...F}=W,at=b||{standard:z.jsx(zD,{ownerState:G}),outlined:z.jsx(BD,{label:S,ownerState:G}),filled:z.jsx(ND,{ownerState:G})}[Q],nt=Tn(r,al(at));return z.jsx(R.Fragment,{children:R.cloneElement(at,{inputComponent:Z,inputProps:{children:u,error:E.error,IconComponent:g,variant:Q,type:void 0,multiple:M,...N?{id:y}:{autoWidth:l,defaultOpen:h,displayEmpty:m,labelId:x,MenuProps:A,onClose:w,onOpen:O,open:D,renderValue:_,SelectDisplayProps:{id:y,...k}},...C,classes:C?Ye(F,C.classes):F,...b?b.props.inputProps:{}},...(M&&N||m)&&Q==="outlined"?{notched:!0}:{},ref:nt,className:At(at.props.className,d,W.root),...!b&&{variant:Q},...K})})});tT.muiName="Select";const Jr=RM({createStyledComponent:dt("div",{name:"MuiStack",slot:"Root"}),useThemeProps:t=>Jt({props:t,name:"MuiStack"})});function _D(t){return Qt("MuiTextField",t)}ae("MuiTextField",["root"]);const jD={standard:cm,filled:um,outlined:dm},LD=t=>{const{classes:n}=t;return Zt({root:["root"]},_D,n)},kD=dt(D3,{name:"MuiTextField",slot:"Root"})({}),dS=R.forwardRef(function(n,r){const o=Jt({props:n,name:"MuiTextField"}),{autoComplete:l,autoFocus:u=!1,children:c,className:d,color:h="primary",defaultValue:m,disabled:g=!1,error:y=!1,FormHelperTextProps:b,fullWidth:C=!1,helperText:S,id:x,InputLabelProps:A,inputProps:M,InputProps:N,inputRef:w,label:O,maxRows:D,minRows:_,multiline:k=!1,name:V,onBlur:K,onChange:Z,onFocus:et,placeholder:E,required:Q=!1,rows:G,select:W=!1,SelectProps:B,slots:F={},slotProps:at={},type:nt,value:ut,variant:j="outlined",...I}=o,ot={...o,autoFocus:u,color:h,disabled:g,error:y,fullWidth:C,multiline:k,required:Q,select:W,variant:j},st=LD(ot),lt=il(x),yt=S&&lt?`${lt}-helper-text`:void 0,mt=O&&lt?`${lt}-label`:void 0,Pt=jD[j],xt={slots:F,slotProps:{input:N,inputLabel:A,htmlInput:M,formHelperText:b,select:B,...at}},St={},Dt=xt.slotProps.inputLabel;j==="outlined"&&(Dt&&typeof Dt.shrink<"u"&&(St.notched=Dt.shrink),St.label=O),W&&((!B||!B.native)&&(St.id=void 0),St["aria-describedby"]=void 0);const[jt,we]=Ae("root",{elementType:kD,shouldForwardComponentProp:!0,externalForwardedProps:{...xt,...I},ownerState:ot,className:At(st.root,d),ref:r,additionalProps:{disabled:g,error:y,fullWidth:C,required:Q,color:h,variant:j}}),[Ct,$t]=Ae("input",{elementType:Pt,externalForwardedProps:xt,additionalProps:St,ownerState:ot}),[$e,_e]=Ae("inputLabel",{elementType:Y3,externalForwardedProps:xt,ownerState:ot}),[ue,le]=Ae("htmlInput",{elementType:"input",externalForwardedProps:xt,ownerState:ot}),[de,oe]=Ae("formHelperText",{elementType:_3,externalForwardedProps:xt,ownerState:ot}),[pt,Nn]=Ae("select",{elementType:tT,externalForwardedProps:xt,ownerState:ot}),kt=z.jsx(Ct,{"aria-describedby":yt,autoComplete:l,autoFocus:u,defaultValue:m,fullWidth:C,multiline:k,name:V,rows:G,maxRows:D,minRows:_,type:nt,value:ut,id:lt,inputRef:w,onBlur:K,onChange:Z,onFocus:et,placeholder:E,inputProps:le,slots:{input:F.htmlInput?ue:void 0},...$t});return z.jsxs(jt,{...we,children:[O!=null&&O!==""&&z.jsx($e,{htmlFor:lt,id:mt,..._e,children:O}),W?z.jsx(pt,{"aria-describedby":yt,id:lt,labelId:mt,value:ut,input:kt,...Nn,children:c}):kt,S&&z.jsx(de,{id:yt,...oe,children:S})]})});function eT(t,n){return function(){return t.apply(n,arguments)}}const{toString:PD}=Object.prototype,{getPrototypeOf:hm}=Object,{iterator:Lc,toStringTag:nT}=Symbol,kc=(t=>n=>{const r=PD.call(n);return t[r]||(t[r]=r.slice(8,-1).toLowerCase())})(Object.create(null)),li=t=>(t=t.toLowerCase(),n=>kc(n)===t),Pc=t=>n=>typeof n===t,{isArray:To}=Array,go=Pc("undefined");function ol(t){return t!==null&&!go(t)&&t.constructor!==null&&!go(t.constructor)&&bn(t.constructor.isBuffer)&&t.constructor.isBuffer(t)}const iT=li("ArrayBuffer");function UD(t){let n;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?n=ArrayBuffer.isView(t):n=t&&t.buffer&&iT(t.buffer),n}const VD=Pc("string"),bn=Pc("function"),rT=Pc("number"),sl=t=>t!==null&&typeof t=="object",$D=t=>t===!0||t===!1,Xu=t=>{if(kc(t)!=="object")return!1;const n=hm(t);return(n===null||n===Object.prototype||Object.getPrototypeOf(n)===null)&&!(nT in t)&&!(Lc in t)},HD=t=>{if(!sl(t)||ol(t))return!1;try{return Object.keys(t).length===0&&Object.getPrototypeOf(t)===Object.prototype}catch{return!1}},FD=li("Date"),qD=li("File"),ID=li("Blob"),GD=li("FileList"),YD=t=>sl(t)&&bn(t.pipe),KD=t=>{let n;return t&&(typeof FormData=="function"&&t instanceof FormData||bn(t.append)&&((n=kc(t))==="formdata"||n==="object"&&bn(t.toString)&&t.toString()==="[object FormData]"))},XD=li("URLSearchParams"),[WD,QD,ZD,JD]=["ReadableStream","Request","Response","Headers"].map(li),t4=t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function ll(t,n,{allOwnKeys:r=!1}={}){if(t===null||typeof t>"u")return;let o,l;if(typeof t!="object"&&(t=[t]),To(t))for(o=0,l=t.length;o<l;o++)n.call(null,t[o],o,t);else{if(ol(t))return;const u=r?Object.getOwnPropertyNames(t):Object.keys(t),c=u.length;let d;for(o=0;o<c;o++)d=u[o],n.call(null,t[d],d,t)}}function aT(t,n){if(ol(t))return null;n=n.toLowerCase();const r=Object.keys(t);let o=r.length,l;for(;o-- >0;)if(l=r[o],n===l.toLowerCase())return l;return null}const ia=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,oT=t=>!go(t)&&t!==ia;function ch(){const{caseless:t,skipUndefined:n}=oT(this)&&this||{},r={},o=(l,u)=>{const c=t&&aT(r,u)||u;Xu(r[c])&&Xu(l)?r[c]=ch(r[c],l):Xu(l)?r[c]=ch({},l):To(l)?r[c]=l.slice():(!n||!go(l))&&(r[c]=l)};for(let l=0,u=arguments.length;l<u;l++)arguments[l]&&ll(arguments[l],o);return r}const e4=(t,n,r,{allOwnKeys:o}={})=>(ll(n,(l,u)=>{r&&bn(l)?t[u]=eT(l,r):t[u]=l},{allOwnKeys:o}),t),n4=t=>(t.charCodeAt(0)===65279&&(t=t.slice(1)),t),i4=(t,n,r,o)=>{t.prototype=Object.create(n.prototype,o),t.prototype.constructor=t,Object.defineProperty(t,"super",{value:n.prototype}),r&&Object.assign(t.prototype,r)},r4=(t,n,r,o)=>{let l,u,c;const d={};if(n=n||{},t==null)return n;do{for(l=Object.getOwnPropertyNames(t),u=l.length;u-- >0;)c=l[u],(!o||o(c,t,n))&&!d[c]&&(n[c]=t[c],d[c]=!0);t=r!==!1&&hm(t)}while(t&&(!r||r(t,n))&&t!==Object.prototype);return n},a4=(t,n,r)=>{t=String(t),(r===void 0||r>t.length)&&(r=t.length),r-=n.length;const o=t.indexOf(n,r);return o!==-1&&o===r},o4=t=>{if(!t)return null;if(To(t))return t;let n=t.length;if(!rT(n))return null;const r=new Array(n);for(;n-- >0;)r[n]=t[n];return r},s4=(t=>n=>t&&n instanceof t)(typeof Uint8Array<"u"&&hm(Uint8Array)),l4=(t,n)=>{const o=(t&&t[Lc]).call(t);let l;for(;(l=o.next())&&!l.done;){const u=l.value;n.call(t,u[0],u[1])}},u4=(t,n)=>{let r;const o=[];for(;(r=t.exec(n))!==null;)o.push(r);return o},c4=li("HTMLFormElement"),f4=t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(r,o,l){return o.toUpperCase()+l}),pS=(({hasOwnProperty:t})=>(n,r)=>t.call(n,r))(Object.prototype),d4=li("RegExp"),sT=(t,n)=>{const r=Object.getOwnPropertyDescriptors(t),o={};ll(r,(l,u)=>{let c;(c=n(l,u,t))!==!1&&(o[u]=c||l)}),Object.defineProperties(t,o)},p4=t=>{sT(t,(n,r)=>{if(bn(t)&&["arguments","caller","callee"].indexOf(r)!==-1)return!1;const o=t[r];if(bn(o)){if(n.enumerable=!1,"writable"in n){n.writable=!1;return}n.set||(n.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")})}})},h4=(t,n)=>{const r={},o=l=>{l.forEach(u=>{r[u]=!0})};return To(t)?o(t):o(String(t).split(n)),r},m4=()=>{},g4=(t,n)=>t!=null&&Number.isFinite(t=+t)?t:n;function y4(t){return!!(t&&bn(t.append)&&t[nT]==="FormData"&&t[Lc])}const v4=t=>{const n=new Array(10),r=(o,l)=>{if(sl(o)){if(n.indexOf(o)>=0)return;if(ol(o))return o;if(!("toJSON"in o)){n[l]=o;const u=To(o)?[]:{};return ll(o,(c,d)=>{const h=r(c,l+1);!go(h)&&(u[d]=h)}),n[l]=void 0,u}}return o};return r(t,0)},b4=li("AsyncFunction"),S4=t=>t&&(sl(t)||bn(t))&&bn(t.then)&&bn(t.catch),lT=((t,n)=>t?setImmediate:n?((r,o)=>(ia.addEventListener("message",({source:l,data:u})=>{l===ia&&u===r&&o.length&&o.shift()()},!1),l=>{o.push(l),ia.postMessage(r,"*")}))(`axios@${Math.random()}`,[]):r=>setTimeout(r))(typeof setImmediate=="function",bn(ia.postMessage)),x4=typeof queueMicrotask<"u"?queueMicrotask.bind(ia):typeof process<"u"&&process.nextTick||lT,T4=t=>t!=null&&bn(t[Lc]),Y={isArray:To,isArrayBuffer:iT,isBuffer:ol,isFormData:KD,isArrayBufferView:UD,isString:VD,isNumber:rT,isBoolean:$D,isObject:sl,isPlainObject:Xu,isEmptyObject:HD,isReadableStream:WD,isRequest:QD,isResponse:ZD,isHeaders:JD,isUndefined:go,isDate:FD,isFile:qD,isBlob:ID,isRegExp:d4,isFunction:bn,isStream:YD,isURLSearchParams:XD,isTypedArray:s4,isFileList:GD,forEach:ll,merge:ch,extend:e4,trim:t4,stripBOM:n4,inherits:i4,toFlatObject:r4,kindOf:kc,kindOfTest:li,endsWith:a4,toArray:o4,forEachEntry:l4,matchAll:u4,isHTMLForm:c4,hasOwnProperty:pS,hasOwnProp:pS,reduceDescriptors:sT,freezeMethods:p4,toObjectSet:h4,toCamelCase:f4,noop:m4,toFiniteNumber:g4,findKey:aT,global:ia,isContextDefined:oT,isSpecCompliantForm:y4,toJSONObject:v4,isAsyncFn:b4,isThenable:S4,setImmediate:lT,asap:x4,isIterable:T4};function wt(t,n,r,o,l){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=t,this.name="AxiosError",n&&(this.code=n),r&&(this.config=r),o&&(this.request=o),l&&(this.response=l,this.status=l.status?l.status:null)}Y.inherits(wt,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:Y.toJSONObject(this.config),code:this.code,status:this.status}}});const uT=wt.prototype,cT={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(t=>{cT[t]={value:t}});Object.defineProperties(wt,cT);Object.defineProperty(uT,"isAxiosError",{value:!0});wt.from=(t,n,r,o,l,u)=>{const c=Object.create(uT);Y.toFlatObject(t,c,function(g){return g!==Error.prototype},m=>m!=="isAxiosError");const d=t&&t.message?t.message:"Error",h=n==null&&t?t.code:n;return wt.call(c,d,h,r,o,l),t&&c.cause==null&&Object.defineProperty(c,"cause",{value:t,configurable:!0}),c.name=t&&t.name||"Error",u&&Object.assign(c,u),c};const C4=null;function fh(t){return Y.isPlainObject(t)||Y.isArray(t)}function fT(t){return Y.endsWith(t,"[]")?t.slice(0,-2):t}function hS(t,n,r){return t?t.concat(n).map(function(l,u){return l=fT(l),!r&&u?"["+l+"]":l}).join(r?".":""):n}function E4(t){return Y.isArray(t)&&!t.some(fh)}const A4=Y.toFlatObject(Y,{},null,function(n){return/^is[A-Z]/.test(n)});function Uc(t,n,r){if(!Y.isObject(t))throw new TypeError("target must be an object");n=n||new FormData,r=Y.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,function(x,A){return!Y.isUndefined(A[x])});const o=r.metaTokens,l=r.visitor||g,u=r.dots,c=r.indexes,h=(r.Blob||typeof Blob<"u"&&Blob)&&Y.isSpecCompliantForm(n);if(!Y.isFunction(l))throw new TypeError("visitor must be a function");function m(S){if(S===null)return"";if(Y.isDate(S))return S.toISOString();if(Y.isBoolean(S))return S.toString();if(!h&&Y.isBlob(S))throw new wt("Blob is not supported. Use a Buffer instead.");return Y.isArrayBuffer(S)||Y.isTypedArray(S)?h&&typeof Blob=="function"?new Blob([S]):Buffer.from(S):S}function g(S,x,A){let M=S;if(S&&!A&&typeof S=="object"){if(Y.endsWith(x,"{}"))x=o?x:x.slice(0,-2),S=JSON.stringify(S);else if(Y.isArray(S)&&E4(S)||(Y.isFileList(S)||Y.endsWith(x,"[]"))&&(M=Y.toArray(S)))return x=fT(x),M.forEach(function(w,O){!(Y.isUndefined(w)||w===null)&&n.append(c===!0?hS([x],O,u):c===null?x:x+"[]",m(w))}),!1}return fh(S)?!0:(n.append(hS(A,x,u),m(S)),!1)}const y=[],b=Object.assign(A4,{defaultVisitor:g,convertValue:m,isVisitable:fh});function C(S,x){if(!Y.isUndefined(S)){if(y.indexOf(S)!==-1)throw Error("Circular reference detected in "+x.join("."));y.push(S),Y.forEach(S,function(M,N){(!(Y.isUndefined(M)||M===null)&&l.call(n,M,Y.isString(N)?N.trim():N,x,b))===!0&&C(M,x?x.concat(N):[N])}),y.pop()}}if(!Y.isObject(t))throw new TypeError("data must be an object");return C(t),n}function mS(t){const n={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,function(o){return n[o]})}function mm(t,n){this._pairs=[],t&&Uc(t,this,n)}const dT=mm.prototype;dT.append=function(n,r){this._pairs.push([n,r])};dT.toString=function(n){const r=n?function(o){return n.call(this,o,mS)}:mS;return this._pairs.map(function(l){return r(l[0])+"="+r(l[1])},"").join("&")};function R4(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function pT(t,n,r){if(!n)return t;const o=r&&r.encode||R4;Y.isFunction(r)&&(r={serialize:r});const l=r&&r.serialize;let u;if(l?u=l(n,r):u=Y.isURLSearchParams(n)?n.toString():new mm(n,r).toString(o),u){const c=t.indexOf("#");c!==-1&&(t=t.slice(0,c)),t+=(t.indexOf("?")===-1?"?":"&")+u}return t}class gS{constructor(){this.handlers=[]}use(n,r,o){return this.handlers.push({fulfilled:n,rejected:r,synchronous:o?o.synchronous:!1,runWhen:o?o.runWhen:null}),this.handlers.length-1}eject(n){this.handlers[n]&&(this.handlers[n]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(n){Y.forEach(this.handlers,function(o){o!==null&&n(o)})}}const hT={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},w4=typeof URLSearchParams<"u"?URLSearchParams:mm,M4=typeof FormData<"u"?FormData:null,O4=typeof Blob<"u"?Blob:null,D4={isBrowser:!0,classes:{URLSearchParams:w4,FormData:M4,Blob:O4},protocols:["http","https","file","blob","url","data"]},gm=typeof window<"u"&&typeof document<"u",dh=typeof navigator=="object"&&navigator||void 0,z4=gm&&(!dh||["ReactNative","NativeScript","NS"].indexOf(dh.product)<0),B4=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",N4=gm&&window.location.href||"http://localhost",_4=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:gm,hasStandardBrowserEnv:z4,hasStandardBrowserWebWorkerEnv:B4,navigator:dh,origin:N4},Symbol.toStringTag,{value:"Module"})),sn={..._4,...D4};function j4(t,n){return Uc(t,new sn.classes.URLSearchParams,{visitor:function(r,o,l,u){return sn.isNode&&Y.isBuffer(r)?(this.append(o,r.toString("base64")),!1):u.defaultVisitor.apply(this,arguments)},...n})}function L4(t){return Y.matchAll(/\w+|\[(\w*)]/g,t).map(n=>n[0]==="[]"?"":n[1]||n[0])}function k4(t){const n={},r=Object.keys(t);let o;const l=r.length;let u;for(o=0;o<l;o++)u=r[o],n[u]=t[u];return n}function mT(t){function n(r,o,l,u){let c=r[u++];if(c==="__proto__")return!0;const d=Number.isFinite(+c),h=u>=r.length;return c=!c&&Y.isArray(l)?l.length:c,h?(Y.hasOwnProp(l,c)?l[c]=[l[c],o]:l[c]=o,!d):((!l[c]||!Y.isObject(l[c]))&&(l[c]=[]),n(r,o,l[c],u)&&Y.isArray(l[c])&&(l[c]=k4(l[c])),!d)}if(Y.isFormData(t)&&Y.isFunction(t.entries)){const r={};return Y.forEachEntry(t,(o,l)=>{n(L4(o),l,r,0)}),r}return null}function P4(t,n,r){if(Y.isString(t))try{return(n||JSON.parse)(t),Y.trim(t)}catch(o){if(o.name!=="SyntaxError")throw o}return(r||JSON.stringify)(t)}const ul={transitional:hT,adapter:["xhr","http","fetch"],transformRequest:[function(n,r){const o=r.getContentType()||"",l=o.indexOf("application/json")>-1,u=Y.isObject(n);if(u&&Y.isHTMLForm(n)&&(n=new FormData(n)),Y.isFormData(n))return l?JSON.stringify(mT(n)):n;if(Y.isArrayBuffer(n)||Y.isBuffer(n)||Y.isStream(n)||Y.isFile(n)||Y.isBlob(n)||Y.isReadableStream(n))return n;if(Y.isArrayBufferView(n))return n.buffer;if(Y.isURLSearchParams(n))return r.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),n.toString();let d;if(u){if(o.indexOf("application/x-www-form-urlencoded")>-1)return j4(n,this.formSerializer).toString();if((d=Y.isFileList(n))||o.indexOf("multipart/form-data")>-1){const h=this.env&&this.env.FormData;return Uc(d?{"files[]":n}:n,h&&new h,this.formSerializer)}}return u||l?(r.setContentType("application/json",!1),P4(n)):n}],transformResponse:[function(n){const r=this.transitional||ul.transitional,o=r&&r.forcedJSONParsing,l=this.responseType==="json";if(Y.isResponse(n)||Y.isReadableStream(n))return n;if(n&&Y.isString(n)&&(o&&!this.responseType||l)){const c=!(r&&r.silentJSONParsing)&&l;try{return JSON.parse(n,this.parseReviver)}catch(d){if(c)throw d.name==="SyntaxError"?wt.from(d,wt.ERR_BAD_RESPONSE,this,null,this.response):d}}return n}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:sn.classes.FormData,Blob:sn.classes.Blob},validateStatus:function(n){return n>=200&&n<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};Y.forEach(["delete","get","head","post","put","patch"],t=>{ul.headers[t]={}});const U4=Y.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),V4=t=>{const n={};let r,o,l;return t&&t.split(`
146
- `).forEach(function(c){l=c.indexOf(":"),r=c.substring(0,l).trim().toLowerCase(),o=c.substring(l+1).trim(),!(!r||n[r]&&U4[r])&&(r==="set-cookie"?n[r]?n[r].push(o):n[r]=[o]:n[r]=n[r]?n[r]+", "+o:o)}),n},yS=Symbol("internals");function As(t){return t&&String(t).trim().toLowerCase()}function Wu(t){return t===!1||t==null?t:Y.isArray(t)?t.map(Wu):String(t)}function $4(t){const n=Object.create(null),r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let o;for(;o=r.exec(t);)n[o[1]]=o[2];return n}const H4=t=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim());function Ep(t,n,r,o,l){if(Y.isFunction(o))return o.call(this,n,r);if(l&&(n=r),!!Y.isString(n)){if(Y.isString(o))return n.indexOf(o)!==-1;if(Y.isRegExp(o))return o.test(n)}}function F4(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(n,r,o)=>r.toUpperCase()+o)}function q4(t,n){const r=Y.toCamelCase(" "+n);["get","set","has"].forEach(o=>{Object.defineProperty(t,o+r,{value:function(l,u,c){return this[o].call(this,n,l,u,c)},configurable:!0})})}let Sn=class{constructor(n){n&&this.set(n)}set(n,r,o){const l=this;function u(d,h,m){const g=As(h);if(!g)throw new Error("header name must be a non-empty string");const y=Y.findKey(l,g);(!y||l[y]===void 0||m===!0||m===void 0&&l[y]!==!1)&&(l[y||h]=Wu(d))}const c=(d,h)=>Y.forEach(d,(m,g)=>u(m,g,h));if(Y.isPlainObject(n)||n instanceof this.constructor)c(n,r);else if(Y.isString(n)&&(n=n.trim())&&!H4(n))c(V4(n),r);else if(Y.isObject(n)&&Y.isIterable(n)){let d={},h,m;for(const g of n){if(!Y.isArray(g))throw TypeError("Object iterator must return a key-value pair");d[m=g[0]]=(h=d[m])?Y.isArray(h)?[...h,g[1]]:[h,g[1]]:g[1]}c(d,r)}else n!=null&&u(r,n,o);return this}get(n,r){if(n=As(n),n){const o=Y.findKey(this,n);if(o){const l=this[o];if(!r)return l;if(r===!0)return $4(l);if(Y.isFunction(r))return r.call(this,l,o);if(Y.isRegExp(r))return r.exec(l);throw new TypeError("parser must be boolean|regexp|function")}}}has(n,r){if(n=As(n),n){const o=Y.findKey(this,n);return!!(o&&this[o]!==void 0&&(!r||Ep(this,this[o],o,r)))}return!1}delete(n,r){const o=this;let l=!1;function u(c){if(c=As(c),c){const d=Y.findKey(o,c);d&&(!r||Ep(o,o[d],d,r))&&(delete o[d],l=!0)}}return Y.isArray(n)?n.forEach(u):u(n),l}clear(n){const r=Object.keys(this);let o=r.length,l=!1;for(;o--;){const u=r[o];(!n||Ep(this,this[u],u,n,!0))&&(delete this[u],l=!0)}return l}normalize(n){const r=this,o={};return Y.forEach(this,(l,u)=>{const c=Y.findKey(o,u);if(c){r[c]=Wu(l),delete r[u];return}const d=n?F4(u):String(u).trim();d!==u&&delete r[u],r[d]=Wu(l),o[d]=!0}),this}concat(...n){return this.constructor.concat(this,...n)}toJSON(n){const r=Object.create(null);return Y.forEach(this,(o,l)=>{o!=null&&o!==!1&&(r[l]=n&&Y.isArray(o)?o.join(", "):o)}),r}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([n,r])=>n+": "+r).join(`
147
- `)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(n){return n instanceof this?n:new this(n)}static concat(n,...r){const o=new this(n);return r.forEach(l=>o.set(l)),o}static accessor(n){const o=(this[yS]=this[yS]={accessors:{}}).accessors,l=this.prototype;function u(c){const d=As(c);o[d]||(q4(l,c),o[d]=!0)}return Y.isArray(n)?n.forEach(u):u(n),this}};Sn.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);Y.reduceDescriptors(Sn.prototype,({value:t},n)=>{let r=n[0].toUpperCase()+n.slice(1);return{get:()=>t,set(o){this[r]=o}}});Y.freezeMethods(Sn);function Ap(t,n){const r=this||ul,o=n||r,l=Sn.from(o.headers);let u=o.data;return Y.forEach(t,function(d){u=d.call(r,u,l.normalize(),n?n.status:void 0)}),l.normalize(),u}function gT(t){return!!(t&&t.__CANCEL__)}function Co(t,n,r){wt.call(this,t??"canceled",wt.ERR_CANCELED,n,r),this.name="CanceledError"}Y.inherits(Co,wt,{__CANCEL__:!0});function yT(t,n,r){const o=r.config.validateStatus;!r.status||!o||o(r.status)?t(r):n(new wt("Request failed with status code "+r.status,[wt.ERR_BAD_REQUEST,wt.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r))}function I4(t){const n=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return n&&n[1]||""}function G4(t,n){t=t||10;const r=new Array(t),o=new Array(t);let l=0,u=0,c;return n=n!==void 0?n:1e3,function(h){const m=Date.now(),g=o[u];c||(c=m),r[l]=h,o[l]=m;let y=u,b=0;for(;y!==l;)b+=r[y++],y=y%t;if(l=(l+1)%t,l===u&&(u=(u+1)%t),m-c<n)return;const C=g&&m-g;return C?Math.round(b*1e3/C):void 0}}function Y4(t,n){let r=0,o=1e3/n,l,u;const c=(m,g=Date.now())=>{r=g,l=null,u&&(clearTimeout(u),u=null),t(...m)};return[(...m)=>{const g=Date.now(),y=g-r;y>=o?c(m,g):(l=m,u||(u=setTimeout(()=>{u=null,c(l)},o-y)))},()=>l&&c(l)]}const cc=(t,n,r=3)=>{let o=0;const l=G4(50,250);return Y4(u=>{const c=u.loaded,d=u.lengthComputable?u.total:void 0,h=c-o,m=l(h),g=c<=d;o=c;const y={loaded:c,total:d,progress:d?c/d:void 0,bytes:h,rate:m||void 0,estimated:m&&d&&g?(d-c)/m:void 0,event:u,lengthComputable:d!=null,[n?"download":"upload"]:!0};t(y)},r)},vS=(t,n)=>{const r=t!=null;return[o=>n[0]({lengthComputable:r,total:t,loaded:o}),n[1]]},bS=t=>(...n)=>Y.asap(()=>t(...n)),K4=sn.hasStandardBrowserEnv?((t,n)=>r=>(r=new URL(r,sn.origin),t.protocol===r.protocol&&t.host===r.host&&(n||t.port===r.port)))(new URL(sn.origin),sn.navigator&&/(msie|trident)/i.test(sn.navigator.userAgent)):()=>!0,X4=sn.hasStandardBrowserEnv?{write(t,n,r,o,l,u,c){if(typeof document>"u")return;const d=[`${t}=${encodeURIComponent(n)}`];Y.isNumber(r)&&d.push(`expires=${new Date(r).toUTCString()}`),Y.isString(o)&&d.push(`path=${o}`),Y.isString(l)&&d.push(`domain=${l}`),u===!0&&d.push("secure"),Y.isString(c)&&d.push(`SameSite=${c}`),document.cookie=d.join("; ")},read(t){if(typeof document>"u")return null;const n=document.cookie.match(new RegExp("(?:^|; )"+t+"=([^;]*)"));return n?decodeURIComponent(n[1]):null},remove(t){this.write(t,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}};function W4(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}function Q4(t,n){return n?t.replace(/\/?\/$/,"")+"/"+n.replace(/^\/+/,""):t}function vT(t,n,r){let o=!W4(n);return t&&(o||r==!1)?Q4(t,n):n}const SS=t=>t instanceof Sn?{...t}:t;function fa(t,n){n=n||{};const r={};function o(m,g,y,b){return Y.isPlainObject(m)&&Y.isPlainObject(g)?Y.merge.call({caseless:b},m,g):Y.isPlainObject(g)?Y.merge({},g):Y.isArray(g)?g.slice():g}function l(m,g,y,b){if(Y.isUndefined(g)){if(!Y.isUndefined(m))return o(void 0,m,y,b)}else return o(m,g,y,b)}function u(m,g){if(!Y.isUndefined(g))return o(void 0,g)}function c(m,g){if(Y.isUndefined(g)){if(!Y.isUndefined(m))return o(void 0,m)}else return o(void 0,g)}function d(m,g,y){if(y in n)return o(m,g);if(y in t)return o(void 0,m)}const h={url:u,method:u,data:u,baseURL:c,transformRequest:c,transformResponse:c,paramsSerializer:c,timeout:c,timeoutMessage:c,withCredentials:c,withXSRFToken:c,adapter:c,responseType:c,xsrfCookieName:c,xsrfHeaderName:c,onUploadProgress:c,onDownloadProgress:c,decompress:c,maxContentLength:c,maxBodyLength:c,beforeRedirect:c,transport:c,httpAgent:c,httpsAgent:c,cancelToken:c,socketPath:c,responseEncoding:c,validateStatus:d,headers:(m,g,y)=>l(SS(m),SS(g),y,!0)};return Y.forEach(Object.keys({...t,...n}),function(g){const y=h[g]||l,b=y(t[g],n[g],g);Y.isUndefined(b)&&y!==d||(r[g]=b)}),r}const bT=t=>{const n=fa({},t);let{data:r,withXSRFToken:o,xsrfHeaderName:l,xsrfCookieName:u,headers:c,auth:d}=n;if(n.headers=c=Sn.from(c),n.url=pT(vT(n.baseURL,n.url,n.allowAbsoluteUrls),t.params,t.paramsSerializer),d&&c.set("Authorization","Basic "+btoa((d.username||"")+":"+(d.password?unescape(encodeURIComponent(d.password)):""))),Y.isFormData(r)){if(sn.hasStandardBrowserEnv||sn.hasStandardBrowserWebWorkerEnv)c.setContentType(void 0);else if(Y.isFunction(r.getHeaders)){const h=r.getHeaders(),m=["content-type","content-length"];Object.entries(h).forEach(([g,y])=>{m.includes(g.toLowerCase())&&c.set(g,y)})}}if(sn.hasStandardBrowserEnv&&(o&&Y.isFunction(o)&&(o=o(n)),o||o!==!1&&K4(n.url))){const h=l&&u&&X4.read(u);h&&c.set(l,h)}return n},Z4=typeof XMLHttpRequest<"u",J4=Z4&&function(t){return new Promise(function(r,o){const l=bT(t);let u=l.data;const c=Sn.from(l.headers).normalize();let{responseType:d,onUploadProgress:h,onDownloadProgress:m}=l,g,y,b,C,S;function x(){C&&C(),S&&S(),l.cancelToken&&l.cancelToken.unsubscribe(g),l.signal&&l.signal.removeEventListener("abort",g)}let A=new XMLHttpRequest;A.open(l.method.toUpperCase(),l.url,!0),A.timeout=l.timeout;function M(){if(!A)return;const w=Sn.from("getAllResponseHeaders"in A&&A.getAllResponseHeaders()),D={data:!d||d==="text"||d==="json"?A.responseText:A.response,status:A.status,statusText:A.statusText,headers:w,config:t,request:A};yT(function(k){r(k),x()},function(k){o(k),x()},D),A=null}"onloadend"in A?A.onloadend=M:A.onreadystatechange=function(){!A||A.readyState!==4||A.status===0&&!(A.responseURL&&A.responseURL.indexOf("file:")===0)||setTimeout(M)},A.onabort=function(){A&&(o(new wt("Request aborted",wt.ECONNABORTED,t,A)),A=null)},A.onerror=function(O){const D=O&&O.message?O.message:"Network Error",_=new wt(D,wt.ERR_NETWORK,t,A);_.event=O||null,o(_),A=null},A.ontimeout=function(){let O=l.timeout?"timeout of "+l.timeout+"ms exceeded":"timeout exceeded";const D=l.transitional||hT;l.timeoutErrorMessage&&(O=l.timeoutErrorMessage),o(new wt(O,D.clarifyTimeoutError?wt.ETIMEDOUT:wt.ECONNABORTED,t,A)),A=null},u===void 0&&c.setContentType(null),"setRequestHeader"in A&&Y.forEach(c.toJSON(),function(O,D){A.setRequestHeader(D,O)}),Y.isUndefined(l.withCredentials)||(A.withCredentials=!!l.withCredentials),d&&d!=="json"&&(A.responseType=l.responseType),m&&([b,S]=cc(m,!0),A.addEventListener("progress",b)),h&&A.upload&&([y,C]=cc(h),A.upload.addEventListener("progress",y),A.upload.addEventListener("loadend",C)),(l.cancelToken||l.signal)&&(g=w=>{A&&(o(!w||w.type?new Co(null,t,A):w),A.abort(),A=null)},l.cancelToken&&l.cancelToken.subscribe(g),l.signal&&(l.signal.aborted?g():l.signal.addEventListener("abort",g)));const N=I4(l.url);if(N&&sn.protocols.indexOf(N)===-1){o(new wt("Unsupported protocol "+N+":",wt.ERR_BAD_REQUEST,t));return}A.send(u||null)})},tz=(t,n)=>{const{length:r}=t=t?t.filter(Boolean):[];if(n||r){let o=new AbortController,l;const u=function(m){if(!l){l=!0,d();const g=m instanceof Error?m:this.reason;o.abort(g instanceof wt?g:new Co(g instanceof Error?g.message:g))}};let c=n&&setTimeout(()=>{c=null,u(new wt(`timeout ${n} of ms exceeded`,wt.ETIMEDOUT))},n);const d=()=>{t&&(c&&clearTimeout(c),c=null,t.forEach(m=>{m.unsubscribe?m.unsubscribe(u):m.removeEventListener("abort",u)}),t=null)};t.forEach(m=>m.addEventListener("abort",u));const{signal:h}=o;return h.unsubscribe=()=>Y.asap(d),h}},ez=function*(t,n){let r=t.byteLength;if(r<n){yield t;return}let o=0,l;for(;o<r;)l=o+n,yield t.slice(o,l),o=l},nz=async function*(t,n){for await(const r of iz(t))yield*ez(r,n)},iz=async function*(t){if(t[Symbol.asyncIterator]){yield*t;return}const n=t.getReader();try{for(;;){const{done:r,value:o}=await n.read();if(r)break;yield o}}finally{await n.cancel()}},xS=(t,n,r,o)=>{const l=nz(t,n);let u=0,c,d=h=>{c||(c=!0,o&&o(h))};return new ReadableStream({async pull(h){try{const{done:m,value:g}=await l.next();if(m){d(),h.close();return}let y=g.byteLength;if(r){let b=u+=y;r(b)}h.enqueue(new Uint8Array(g))}catch(m){throw d(m),m}},cancel(h){return d(h),l.return()}},{highWaterMark:2})},TS=64*1024,{isFunction:Uu}=Y,rz=(({Request:t,Response:n})=>({Request:t,Response:n}))(Y.global),{ReadableStream:CS,TextEncoder:ES}=Y.global,AS=(t,...n)=>{try{return!!t(...n)}catch{return!1}},az=t=>{t=Y.merge.call({skipUndefined:!0},rz,t);const{fetch:n,Request:r,Response:o}=t,l=n?Uu(n):typeof fetch=="function",u=Uu(r),c=Uu(o);if(!l)return!1;const d=l&&Uu(CS),h=l&&(typeof ES=="function"?(S=>x=>S.encode(x))(new ES):async S=>new Uint8Array(await new r(S).arrayBuffer())),m=u&&d&&AS(()=>{let S=!1;const x=new r(sn.origin,{body:new CS,method:"POST",get duplex(){return S=!0,"half"}}).headers.has("Content-Type");return S&&!x}),g=c&&d&&AS(()=>Y.isReadableStream(new o("").body)),y={stream:g&&(S=>S.body)};l&&["text","arrayBuffer","blob","formData","stream"].forEach(S=>{!y[S]&&(y[S]=(x,A)=>{let M=x&&x[S];if(M)return M.call(x);throw new wt(`Response type '${S}' is not supported`,wt.ERR_NOT_SUPPORT,A)})});const b=async S=>{if(S==null)return 0;if(Y.isBlob(S))return S.size;if(Y.isSpecCompliantForm(S))return(await new r(sn.origin,{method:"POST",body:S}).arrayBuffer()).byteLength;if(Y.isArrayBufferView(S)||Y.isArrayBuffer(S))return S.byteLength;if(Y.isURLSearchParams(S)&&(S=S+""),Y.isString(S))return(await h(S)).byteLength},C=async(S,x)=>{const A=Y.toFiniteNumber(S.getContentLength());return A??b(x)};return async S=>{let{url:x,method:A,data:M,signal:N,cancelToken:w,timeout:O,onDownloadProgress:D,onUploadProgress:_,responseType:k,headers:V,withCredentials:K="same-origin",fetchOptions:Z}=bT(S),et=n||fetch;k=k?(k+"").toLowerCase():"text";let E=tz([N,w&&w.toAbortSignal()],O),Q=null;const G=E&&E.unsubscribe&&(()=>{E.unsubscribe()});let W;try{if(_&&m&&A!=="get"&&A!=="head"&&(W=await C(V,M))!==0){let j=new r(x,{method:"POST",body:M,duplex:"half"}),I;if(Y.isFormData(M)&&(I=j.headers.get("content-type"))&&V.setContentType(I),j.body){const[ot,st]=vS(W,cc(bS(_)));M=xS(j.body,TS,ot,st)}}Y.isString(K)||(K=K?"include":"omit");const B=u&&"credentials"in r.prototype,F={...Z,signal:E,method:A.toUpperCase(),headers:V.normalize().toJSON(),body:M,duplex:"half",credentials:B?K:void 0};Q=u&&new r(x,F);let at=await(u?et(Q,Z):et(x,F));const nt=g&&(k==="stream"||k==="response");if(g&&(D||nt&&G)){const j={};["status","statusText","headers"].forEach(lt=>{j[lt]=at[lt]});const I=Y.toFiniteNumber(at.headers.get("content-length")),[ot,st]=D&&vS(I,cc(bS(D),!0))||[];at=new o(xS(at.body,TS,ot,()=>{st&&st(),G&&G()}),j)}k=k||"text";let ut=await y[Y.findKey(y,k)||"text"](at,S);return!nt&&G&&G(),await new Promise((j,I)=>{yT(j,I,{data:ut,headers:Sn.from(at.headers),status:at.status,statusText:at.statusText,config:S,request:Q})})}catch(B){throw G&&G(),B&&B.name==="TypeError"&&/Load failed|fetch/i.test(B.message)?Object.assign(new wt("Network Error",wt.ERR_NETWORK,S,Q),{cause:B.cause||B}):wt.from(B,B&&B.code,S,Q)}}},oz=new Map,ST=t=>{let n=t&&t.env||{};const{fetch:r,Request:o,Response:l}=n,u=[o,l,r];let c=u.length,d=c,h,m,g=oz;for(;d--;)h=u[d],m=g.get(h),m===void 0&&g.set(h,m=d?new Map:az(n)),g=m;return m};ST();const ym={http:C4,xhr:J4,fetch:{get:ST}};Y.forEach(ym,(t,n)=>{if(t){try{Object.defineProperty(t,"name",{value:n})}catch{}Object.defineProperty(t,"adapterName",{value:n})}});const RS=t=>`- ${t}`,sz=t=>Y.isFunction(t)||t===null||t===!1;function lz(t,n){t=Y.isArray(t)?t:[t];const{length:r}=t;let o,l;const u={};for(let c=0;c<r;c++){o=t[c];let d;if(l=o,!sz(o)&&(l=ym[(d=String(o)).toLowerCase()],l===void 0))throw new wt(`Unknown adapter '${d}'`);if(l&&(Y.isFunction(l)||(l=l.get(n))))break;u[d||"#"+c]=l}if(!l){const c=Object.entries(u).map(([h,m])=>`adapter ${h} `+(m===!1?"is not supported by the environment":"is not available in the build"));let d=r?c.length>1?`since :
148
- `+c.map(RS).join(`
149
- `):" "+RS(c[0]):"as no adapter specified";throw new wt("There is no suitable adapter to dispatch the request "+d,"ERR_NOT_SUPPORT")}return l}const xT={getAdapter:lz,adapters:ym};function Rp(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new Co(null,t)}function wS(t){return Rp(t),t.headers=Sn.from(t.headers),t.data=Ap.call(t,t.transformRequest),["post","put","patch"].indexOf(t.method)!==-1&&t.headers.setContentType("application/x-www-form-urlencoded",!1),xT.getAdapter(t.adapter||ul.adapter,t)(t).then(function(o){return Rp(t),o.data=Ap.call(t,t.transformResponse,o),o.headers=Sn.from(o.headers),o},function(o){return gT(o)||(Rp(t),o&&o.response&&(o.response.data=Ap.call(t,t.transformResponse,o.response),o.response.headers=Sn.from(o.response.headers))),Promise.reject(o)})}const TT="1.13.2",Vc={};["object","boolean","number","function","string","symbol"].forEach((t,n)=>{Vc[t]=function(o){return typeof o===t||"a"+(n<1?"n ":" ")+t}});const MS={};Vc.transitional=function(n,r,o){function l(u,c){return"[Axios v"+TT+"] Transitional option '"+u+"'"+c+(o?". "+o:"")}return(u,c,d)=>{if(n===!1)throw new wt(l(c," has been removed"+(r?" in "+r:"")),wt.ERR_DEPRECATED);return r&&!MS[c]&&(MS[c]=!0,console.warn(l(c," has been deprecated since v"+r+" and will be removed in the near future"))),n?n(u,c,d):!0}};Vc.spelling=function(n){return(r,o)=>(console.warn(`${o} is likely a misspelling of ${n}`),!0)};function uz(t,n,r){if(typeof t!="object")throw new wt("options must be an object",wt.ERR_BAD_OPTION_VALUE);const o=Object.keys(t);let l=o.length;for(;l-- >0;){const u=o[l],c=n[u];if(c){const d=t[u],h=d===void 0||c(d,u,t);if(h!==!0)throw new wt("option "+u+" must be "+h,wt.ERR_BAD_OPTION_VALUE);continue}if(r!==!0)throw new wt("Unknown option "+u,wt.ERR_BAD_OPTION)}}const Qu={assertOptions:uz,validators:Vc},gi=Qu.validators;let sa=class{constructor(n){this.defaults=n||{},this.interceptors={request:new gS,response:new gS}}async request(n,r){try{return await this._request(n,r)}catch(o){if(o instanceof Error){let l={};Error.captureStackTrace?Error.captureStackTrace(l):l=new Error;const u=l.stack?l.stack.replace(/^.+\n/,""):"";try{o.stack?u&&!String(o.stack).endsWith(u.replace(/^.+\n.+\n/,""))&&(o.stack+=`
150
- `+u):o.stack=u}catch{}}throw o}}_request(n,r){typeof n=="string"?(r=r||{},r.url=n):r=n||{},r=fa(this.defaults,r);const{transitional:o,paramsSerializer:l,headers:u}=r;o!==void 0&&Qu.assertOptions(o,{silentJSONParsing:gi.transitional(gi.boolean),forcedJSONParsing:gi.transitional(gi.boolean),clarifyTimeoutError:gi.transitional(gi.boolean)},!1),l!=null&&(Y.isFunction(l)?r.paramsSerializer={serialize:l}:Qu.assertOptions(l,{encode:gi.function,serialize:gi.function},!0)),r.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?r.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:r.allowAbsoluteUrls=!0),Qu.assertOptions(r,{baseUrl:gi.spelling("baseURL"),withXsrfToken:gi.spelling("withXSRFToken")},!0),r.method=(r.method||this.defaults.method||"get").toLowerCase();let c=u&&Y.merge(u.common,u[r.method]);u&&Y.forEach(["delete","get","head","post","put","patch","common"],S=>{delete u[S]}),r.headers=Sn.concat(c,u);const d=[];let h=!0;this.interceptors.request.forEach(function(x){typeof x.runWhen=="function"&&x.runWhen(r)===!1||(h=h&&x.synchronous,d.unshift(x.fulfilled,x.rejected))});const m=[];this.interceptors.response.forEach(function(x){m.push(x.fulfilled,x.rejected)});let g,y=0,b;if(!h){const S=[wS.bind(this),void 0];for(S.unshift(...d),S.push(...m),b=S.length,g=Promise.resolve(r);y<b;)g=g.then(S[y++],S[y++]);return g}b=d.length;let C=r;for(;y<b;){const S=d[y++],x=d[y++];try{C=S(C)}catch(A){x.call(this,A);break}}try{g=wS.call(this,C)}catch(S){return Promise.reject(S)}for(y=0,b=m.length;y<b;)g=g.then(m[y++],m[y++]);return g}getUri(n){n=fa(this.defaults,n);const r=vT(n.baseURL,n.url,n.allowAbsoluteUrls);return pT(r,n.params,n.paramsSerializer)}};Y.forEach(["delete","get","head","options"],function(n){sa.prototype[n]=function(r,o){return this.request(fa(o||{},{method:n,url:r,data:(o||{}).data}))}});Y.forEach(["post","put","patch"],function(n){function r(o){return function(u,c,d){return this.request(fa(d||{},{method:n,headers:o?{"Content-Type":"multipart/form-data"}:{},url:u,data:c}))}}sa.prototype[n]=r(),sa.prototype[n+"Form"]=r(!0)});let cz=class CT{constructor(n){if(typeof n!="function")throw new TypeError("executor must be a function.");let r;this.promise=new Promise(function(u){r=u});const o=this;this.promise.then(l=>{if(!o._listeners)return;let u=o._listeners.length;for(;u-- >0;)o._listeners[u](l);o._listeners=null}),this.promise.then=l=>{let u;const c=new Promise(d=>{o.subscribe(d),u=d}).then(l);return c.cancel=function(){o.unsubscribe(u)},c},n(function(u,c,d){o.reason||(o.reason=new Co(u,c,d),r(o.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(n){if(this.reason){n(this.reason);return}this._listeners?this._listeners.push(n):this._listeners=[n]}unsubscribe(n){if(!this._listeners)return;const r=this._listeners.indexOf(n);r!==-1&&this._listeners.splice(r,1)}toAbortSignal(){const n=new AbortController,r=o=>{n.abort(o)};return this.subscribe(r),n.signal.unsubscribe=()=>this.unsubscribe(r),n.signal}static source(){let n;return{token:new CT(function(l){n=l}),cancel:n}}};function fz(t){return function(r){return t.apply(null,r)}}function dz(t){return Y.isObject(t)&&t.isAxiosError===!0}const ph={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(ph).forEach(([t,n])=>{ph[n]=t});function ET(t){const n=new sa(t),r=eT(sa.prototype.request,n);return Y.extend(r,sa.prototype,n,{allOwnKeys:!0}),Y.extend(r,n,null,{allOwnKeys:!0}),r.create=function(l){return ET(fa(t,l))},r}const Re=ET(ul);Re.Axios=sa;Re.CanceledError=Co;Re.CancelToken=cz;Re.isCancel=gT;Re.VERSION=TT;Re.toFormData=Uc;Re.AxiosError=wt;Re.Cancel=Re.CanceledError;Re.all=function(n){return Promise.all(n)};Re.spread=fz;Re.isAxiosError=dz;Re.mergeConfig=fa;Re.AxiosHeaders=Sn;Re.formToJSON=t=>mT(Y.isHTMLForm(t)?new FormData(t):t);Re.getAdapter=xT.getAdapter;Re.HttpStatusCode=ph;Re.default=Re;const{Axios:oj,AxiosError:sj,CanceledError:lj,isCancel:uj,CancelToken:cj,VERSION:fj,all:dj,Cancel:pj,isAxiosError:hj,spread:mj,toFormData:gj,AxiosHeaders:yj,HttpStatusCode:vj,formToJSON:bj,getAdapter:Sj,mergeConfig:xj}=Re,vm=R.createContext({});function bm(t){const n=R.useRef(null);return n.current===null&&(n.current=t()),n.current}const Sm=typeof window<"u",AT=Sm?R.useLayoutEffect:R.useEffect,$c=R.createContext(null);function xm(t,n){t.indexOf(n)===-1&&t.push(n)}function Tm(t,n){const r=t.indexOf(n);r>-1&&t.splice(r,1)}const Ki=(t,n,r)=>r>n?n:r<t?t:r;let Cm=()=>{};const Xi={},RT=t=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t);function wT(t){return typeof t=="object"&&t!==null}const MT=t=>/^0[^.\s]+$/u.test(t);function Em(t){let n;return()=>(n===void 0&&(n=t()),n)}const Wn=t=>t,pz=(t,n)=>r=>n(t(r)),cl=(...t)=>t.reduce(pz),qs=(t,n,r)=>{const o=n-t;return o===0?1:(r-t)/o};class Am{constructor(){this.subscriptions=[]}add(n){return xm(this.subscriptions,n),()=>Tm(this.subscriptions,n)}notify(n,r,o){const l=this.subscriptions.length;if(l)if(l===1)this.subscriptions[0](n,r,o);else for(let u=0;u<l;u++){const c=this.subscriptions[u];c&&c(n,r,o)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const Ti=t=>t*1e3,Kn=t=>t/1e3;function OT(t,n){return n?t*(1e3/n):0}const DT=(t,n,r)=>(((1-3*r+3*n)*t+(3*r-6*n))*t+3*n)*t,hz=1e-7,mz=12;function gz(t,n,r,o,l){let u,c,d=0;do c=n+(r-n)/2,u=DT(c,o,l)-t,u>0?r=c:n=c;while(Math.abs(u)>hz&&++d<mz);return c}function fl(t,n,r,o){if(t===n&&r===o)return Wn;const l=u=>gz(u,0,1,t,r);return u=>u===0||u===1?u:DT(l(u),n,o)}const zT=t=>n=>n<=.5?t(2*n)/2:(2-t(2*(1-n)))/2,BT=t=>n=>1-t(1-n),NT=fl(.33,1.53,.69,.99),Rm=BT(NT),_T=zT(Rm),jT=t=>(t*=2)<1?.5*Rm(t):.5*(2-Math.pow(2,-10*(t-1))),wm=t=>1-Math.sin(Math.acos(t)),LT=BT(wm),kT=zT(wm),yz=fl(.42,0,1,1),vz=fl(0,0,.58,1),PT=fl(.42,0,.58,1),bz=t=>Array.isArray(t)&&typeof t[0]!="number",UT=t=>Array.isArray(t)&&typeof t[0]=="number",Sz={linear:Wn,easeIn:yz,easeInOut:PT,easeOut:vz,circIn:wm,circInOut:kT,circOut:LT,backIn:Rm,backInOut:_T,backOut:NT,anticipate:jT},xz=t=>typeof t=="string",OS=t=>{if(UT(t)){Cm(t.length===4);const[n,r,o,l]=t;return fl(n,r,o,l)}else if(xz(t))return Sz[t];return t},Vu=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function Tz(t,n){let r=new Set,o=new Set,l=!1,u=!1;const c=new WeakSet;let d={delta:0,timestamp:0,isProcessing:!1};function h(g){c.has(g)&&(m.schedule(g),t()),g(d)}const m={schedule:(g,y=!1,b=!1)=>{const S=b&&l?r:o;return y&&c.add(g),S.has(g)||S.add(g),g},cancel:g=>{o.delete(g),c.delete(g)},process:g=>{if(d=g,l){u=!0;return}l=!0,[r,o]=[o,r],r.forEach(h),r.clear(),l=!1,u&&(u=!1,m.process(g))}};return m}const Cz=40;function VT(t,n){let r=!1,o=!0;const l={delta:0,timestamp:0,isProcessing:!1},u=()=>r=!0,c=Vu.reduce((w,O)=>(w[O]=Tz(u),w),{}),{setup:d,read:h,resolveKeyframes:m,preUpdate:g,update:y,preRender:b,render:C,postRender:S}=c,x=()=>{const w=Xi.useManualTiming?l.timestamp:performance.now();r=!1,Xi.useManualTiming||(l.delta=o?1e3/60:Math.max(Math.min(w-l.timestamp,Cz),1)),l.timestamp=w,l.isProcessing=!0,d.process(l),h.process(l),m.process(l),g.process(l),y.process(l),b.process(l),C.process(l),S.process(l),l.isProcessing=!1,r&&n&&(o=!1,t(x))},A=()=>{r=!0,o=!0,l.isProcessing||t(x)};return{schedule:Vu.reduce((w,O)=>{const D=c[O];return w[O]=(_,k=!1,V=!1)=>(r||A(),D.schedule(_,k,V)),w},{}),cancel:w=>{for(let O=0;O<Vu.length;O++)c[Vu[O]].cancel(w)},state:l,steps:c}}const{schedule:ge,cancel:Rr,state:Je,steps:wp}=VT(typeof requestAnimationFrame<"u"?requestAnimationFrame:Wn,!0);let Zu;function Ez(){Zu=void 0}const vn={now:()=>(Zu===void 0&&vn.set(Je.isProcessing||Xi.useManualTiming?Je.timestamp:performance.now()),Zu),set:t=>{Zu=t,queueMicrotask(Ez)}},$T=t=>n=>typeof n=="string"&&n.startsWith(t),Mm=$T("--"),Az=$T("var(--"),Om=t=>Az(t)?Rz.test(t.split("/*")[0].trim()):!1,Rz=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,Eo={test:t=>typeof t=="number",parse:parseFloat,transform:t=>t},Is={...Eo,transform:t=>Ki(0,1,t)},$u={...Eo,default:1},_s=t=>Math.round(t*1e5)/1e5,Dm=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function wz(t){return t==null}const Mz=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,zm=(t,n)=>r=>!!(typeof r=="string"&&Mz.test(r)&&r.startsWith(t)||n&&!wz(r)&&Object.prototype.hasOwnProperty.call(r,n)),HT=(t,n,r)=>o=>{if(typeof o!="string")return o;const[l,u,c,d]=o.match(Dm);return{[t]:parseFloat(l),[n]:parseFloat(u),[r]:parseFloat(c),alpha:d!==void 0?parseFloat(d):1}},Oz=t=>Ki(0,255,t),Mp={...Eo,transform:t=>Math.round(Oz(t))},ra={test:zm("rgb","red"),parse:HT("red","green","blue"),transform:({red:t,green:n,blue:r,alpha:o=1})=>"rgba("+Mp.transform(t)+", "+Mp.transform(n)+", "+Mp.transform(r)+", "+_s(Is.transform(o))+")"};function Dz(t){let n="",r="",o="",l="";return t.length>5?(n=t.substring(1,3),r=t.substring(3,5),o=t.substring(5,7),l=t.substring(7,9)):(n=t.substring(1,2),r=t.substring(2,3),o=t.substring(3,4),l=t.substring(4,5),n+=n,r+=r,o+=o,l+=l),{red:parseInt(n,16),green:parseInt(r,16),blue:parseInt(o,16),alpha:l?parseInt(l,16)/255:1}}const hh={test:zm("#"),parse:Dz,transform:ra.transform},dl=t=>({test:n=>typeof n=="string"&&n.endsWith(t)&&n.split(" ").length===1,parse:parseFloat,transform:n=>`${n}${t}`}),Tr=dl("deg"),Ci=dl("%"),Tt=dl("px"),zz=dl("vh"),Bz=dl("vw"),DS={...Ci,parse:t=>Ci.parse(t)/100,transform:t=>Ci.transform(t*100)},ro={test:zm("hsl","hue"),parse:HT("hue","saturation","lightness"),transform:({hue:t,saturation:n,lightness:r,alpha:o=1})=>"hsla("+Math.round(t)+", "+Ci.transform(_s(n))+", "+Ci.transform(_s(r))+", "+_s(Is.transform(o))+")"},Ue={test:t=>ra.test(t)||hh.test(t)||ro.test(t),parse:t=>ra.test(t)?ra.parse(t):ro.test(t)?ro.parse(t):hh.parse(t),transform:t=>typeof t=="string"?t:t.hasOwnProperty("red")?ra.transform(t):ro.transform(t),getAnimatableNone:t=>{const n=Ue.parse(t);return n.alpha=0,Ue.transform(n)}},Nz=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function _z(t){return isNaN(t)&&typeof t=="string"&&(t.match(Dm)?.length||0)+(t.match(Nz)?.length||0)>0}const FT="number",qT="color",jz="var",Lz="var(",zS="${}",kz=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function Gs(t){const n=t.toString(),r=[],o={color:[],number:[],var:[]},l=[];let u=0;const d=n.replace(kz,h=>(Ue.test(h)?(o.color.push(u),l.push(qT),r.push(Ue.parse(h))):h.startsWith(Lz)?(o.var.push(u),l.push(jz),r.push(h)):(o.number.push(u),l.push(FT),r.push(parseFloat(h))),++u,zS)).split(zS);return{values:r,split:d,indexes:o,types:l}}function IT(t){return Gs(t).values}function GT(t){const{split:n,types:r}=Gs(t),o=n.length;return l=>{let u="";for(let c=0;c<o;c++)if(u+=n[c],l[c]!==void 0){const d=r[c];d===FT?u+=_s(l[c]):d===qT?u+=Ue.transform(l[c]):u+=l[c]}return u}}const Pz=t=>typeof t=="number"?0:Ue.test(t)?Ue.getAnimatableNone(t):t;function Uz(t){const n=IT(t);return GT(t)(n.map(Pz))}const wr={test:_z,parse:IT,createTransformer:GT,getAnimatableNone:Uz};function Op(t,n,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?t+(n-t)*6*r:r<1/2?n:r<2/3?t+(n-t)*(2/3-r)*6:t}function Vz({hue:t,saturation:n,lightness:r,alpha:o}){t/=360,n/=100,r/=100;let l=0,u=0,c=0;if(!n)l=u=c=r;else{const d=r<.5?r*(1+n):r+n-r*n,h=2*r-d;l=Op(h,d,t+1/3),u=Op(h,d,t),c=Op(h,d,t-1/3)}return{red:Math.round(l*255),green:Math.round(u*255),blue:Math.round(c*255),alpha:o}}function fc(t,n){return r=>r>0?n:t}const be=(t,n,r)=>t+(n-t)*r,Dp=(t,n,r)=>{const o=t*t,l=r*(n*n-o)+o;return l<0?0:Math.sqrt(l)},$z=[hh,ra,ro],Hz=t=>$z.find(n=>n.test(t));function BS(t){const n=Hz(t);if(!n)return!1;let r=n.parse(t);return n===ro&&(r=Vz(r)),r}const NS=(t,n)=>{const r=BS(t),o=BS(n);if(!r||!o)return fc(t,n);const l={...r};return u=>(l.red=Dp(r.red,o.red,u),l.green=Dp(r.green,o.green,u),l.blue=Dp(r.blue,o.blue,u),l.alpha=be(r.alpha,o.alpha,u),ra.transform(l))},mh=new Set(["none","hidden"]);function Fz(t,n){return mh.has(t)?r=>r<=0?t:n:r=>r>=1?n:t}function qz(t,n){return r=>be(t,n,r)}function Bm(t){return typeof t=="number"?qz:typeof t=="string"?Om(t)?fc:Ue.test(t)?NS:Yz:Array.isArray(t)?YT:typeof t=="object"?Ue.test(t)?NS:Iz:fc}function YT(t,n){const r=[...t],o=r.length,l=t.map((u,c)=>Bm(u)(u,n[c]));return u=>{for(let c=0;c<o;c++)r[c]=l[c](u);return r}}function Iz(t,n){const r={...t,...n},o={};for(const l in r)t[l]!==void 0&&n[l]!==void 0&&(o[l]=Bm(t[l])(t[l],n[l]));return l=>{for(const u in o)r[u]=o[u](l);return r}}function Gz(t,n){const r=[],o={color:0,var:0,number:0};for(let l=0;l<n.values.length;l++){const u=n.types[l],c=t.indexes[u][o[u]],d=t.values[c]??0;r[l]=d,o[u]++}return r}const Yz=(t,n)=>{const r=wr.createTransformer(n),o=Gs(t),l=Gs(n);return o.indexes.var.length===l.indexes.var.length&&o.indexes.color.length===l.indexes.color.length&&o.indexes.number.length>=l.indexes.number.length?mh.has(t)&&!l.values.length||mh.has(n)&&!o.values.length?Fz(t,n):cl(YT(Gz(o,l),l.values),r):fc(t,n)};function KT(t,n,r){return typeof t=="number"&&typeof n=="number"&&typeof r=="number"?be(t,n,r):Bm(t)(t,n)}const Kz=t=>{const n=({timestamp:r})=>t(r);return{start:(r=!0)=>ge.update(n,r),stop:()=>Rr(n),now:()=>Je.isProcessing?Je.timestamp:vn.now()}},XT=(t,n,r=10)=>{let o="";const l=Math.max(Math.round(n/r),2);for(let u=0;u<l;u++)o+=Math.round(t(u/(l-1))*1e4)/1e4+", ";return`linear(${o.substring(0,o.length-2)})`},dc=2e4;function Nm(t){let n=0;const r=50;let o=t.next(n);for(;!o.done&&n<dc;)n+=r,o=t.next(n);return n>=dc?1/0:n}function Xz(t,n=100,r){const o=r({...t,keyframes:[0,n]}),l=Math.min(Nm(o),dc);return{type:"keyframes",ease:u=>o.next(l*u).value/n,duration:Kn(l)}}const Wz=5;function WT(t,n,r){const o=Math.max(n-Wz,0);return OT(r-t(o),n-o)}const Ee={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1},zp=.001;function Qz({duration:t=Ee.duration,bounce:n=Ee.bounce,velocity:r=Ee.velocity,mass:o=Ee.mass}){let l,u,c=1-n;c=Ki(Ee.minDamping,Ee.maxDamping,c),t=Ki(Ee.minDuration,Ee.maxDuration,Kn(t)),c<1?(l=m=>{const g=m*c,y=g*t,b=g-r,C=gh(m,c),S=Math.exp(-y);return zp-b/C*S},u=m=>{const y=m*c*t,b=y*r+r,C=Math.pow(c,2)*Math.pow(m,2)*t,S=Math.exp(-y),x=gh(Math.pow(m,2),c);return(-l(m)+zp>0?-1:1)*((b-C)*S)/x}):(l=m=>{const g=Math.exp(-m*t),y=(m-r)*t+1;return-zp+g*y},u=m=>{const g=Math.exp(-m*t),y=(r-m)*(t*t);return g*y});const d=5/t,h=Jz(l,u,d);if(t=Ti(t),isNaN(h))return{stiffness:Ee.stiffness,damping:Ee.damping,duration:t};{const m=Math.pow(h,2)*o;return{stiffness:m,damping:c*2*Math.sqrt(o*m),duration:t}}}const Zz=12;function Jz(t,n,r){let o=r;for(let l=1;l<Zz;l++)o=o-t(o)/n(o);return o}function gh(t,n){return t*Math.sqrt(1-n*n)}const t6=["duration","bounce"],e6=["stiffness","damping","mass"];function _S(t,n){return n.some(r=>t[r]!==void 0)}function n6(t){let n={velocity:Ee.velocity,stiffness:Ee.stiffness,damping:Ee.damping,mass:Ee.mass,isResolvedFromDuration:!1,...t};if(!_S(t,e6)&&_S(t,t6))if(t.visualDuration){const r=t.visualDuration,o=2*Math.PI/(r*1.2),l=o*o,u=2*Ki(.05,1,1-(t.bounce||0))*Math.sqrt(l);n={...n,mass:Ee.mass,stiffness:l,damping:u}}else{const r=Qz(t);n={...n,...r,mass:Ee.mass},n.isResolvedFromDuration=!0}return n}function pc(t=Ee.visualDuration,n=Ee.bounce){const r=typeof t!="object"?{visualDuration:t,keyframes:[0,1],bounce:n}:t;let{restSpeed:o,restDelta:l}=r;const u=r.keyframes[0],c=r.keyframes[r.keyframes.length-1],d={done:!1,value:u},{stiffness:h,damping:m,mass:g,duration:y,velocity:b,isResolvedFromDuration:C}=n6({...r,velocity:-Kn(r.velocity||0)}),S=b||0,x=m/(2*Math.sqrt(h*g)),A=c-u,M=Kn(Math.sqrt(h/g)),N=Math.abs(A)<5;o||(o=N?Ee.restSpeed.granular:Ee.restSpeed.default),l||(l=N?Ee.restDelta.granular:Ee.restDelta.default);let w;if(x<1){const D=gh(M,x);w=_=>{const k=Math.exp(-x*M*_);return c-k*((S+x*M*A)/D*Math.sin(D*_)+A*Math.cos(D*_))}}else if(x===1)w=D=>c-Math.exp(-M*D)*(A+(S+M*A)*D);else{const D=M*Math.sqrt(x*x-1);w=_=>{const k=Math.exp(-x*M*_),V=Math.min(D*_,300);return c-k*((S+x*M*A)*Math.sinh(V)+D*A*Math.cosh(V))/D}}const O={calculatedDuration:C&&y||null,next:D=>{const _=w(D);if(C)d.done=D>=y;else{let k=D===0?S:0;x<1&&(k=D===0?Ti(S):WT(w,D,_));const V=Math.abs(k)<=o,K=Math.abs(c-_)<=l;d.done=V&&K}return d.value=d.done?c:_,d},toString:()=>{const D=Math.min(Nm(O),dc),_=XT(k=>O.next(D*k).value,D,30);return D+"ms "+_},toTransition:()=>{}};return O}pc.applyToOptions=t=>{const n=Xz(t,100,pc);return t.ease=n.ease,t.duration=Ti(n.duration),t.type="keyframes",t};function yh({keyframes:t,velocity:n=0,power:r=.8,timeConstant:o=325,bounceDamping:l=10,bounceStiffness:u=500,modifyTarget:c,min:d,max:h,restDelta:m=.5,restSpeed:g}){const y=t[0],b={done:!1,value:y},C=V=>d!==void 0&&V<d||h!==void 0&&V>h,S=V=>d===void 0?h:h===void 0||Math.abs(d-V)<Math.abs(h-V)?d:h;let x=r*n;const A=y+x,M=c===void 0?A:c(A);M!==A&&(x=M-y);const N=V=>-x*Math.exp(-V/o),w=V=>M+N(V),O=V=>{const K=N(V),Z=w(V);b.done=Math.abs(K)<=m,b.value=b.done?M:Z};let D,_;const k=V=>{C(b.value)&&(D=V,_=pc({keyframes:[b.value,S(b.value)],velocity:WT(w,V,b.value),damping:l,stiffness:u,restDelta:m,restSpeed:g}))};return k(0),{calculatedDuration:null,next:V=>{let K=!1;return!_&&D===void 0&&(K=!0,O(V),k(V)),D!==void 0&&V>=D?_.next(V-D):(!K&&O(V),b)}}}function i6(t,n,r){const o=[],l=r||Xi.mix||KT,u=t.length-1;for(let c=0;c<u;c++){let d=l(t[c],t[c+1]);if(n){const h=Array.isArray(n)?n[c]||Wn:n;d=cl(h,d)}o.push(d)}return o}function r6(t,n,{clamp:r=!0,ease:o,mixer:l}={}){const u=t.length;if(Cm(u===n.length),u===1)return()=>n[0];if(u===2&&n[0]===n[1])return()=>n[1];const c=t[0]===t[1];t[0]>t[u-1]&&(t=[...t].reverse(),n=[...n].reverse());const d=i6(n,o,l),h=d.length,m=g=>{if(c&&g<t[0])return n[0];let y=0;if(h>1)for(;y<t.length-2&&!(g<t[y+1]);y++);const b=qs(t[y],t[y+1],g);return d[y](b)};return r?g=>m(Ki(t[0],t[u-1],g)):m}function a6(t,n){const r=t[t.length-1];for(let o=1;o<=n;o++){const l=qs(0,n,o);t.push(be(r,1,l))}}function o6(t){const n=[0];return a6(n,t.length-1),n}function s6(t,n){return t.map(r=>r*n)}function l6(t,n){return t.map(()=>n||PT).splice(0,t.length-1)}function js({duration:t=300,keyframes:n,times:r,ease:o="easeInOut"}){const l=bz(o)?o.map(OS):OS(o),u={done:!1,value:n[0]},c=s6(r&&r.length===n.length?r:o6(n),t),d=r6(c,n,{ease:Array.isArray(l)?l:l6(n,l)});return{calculatedDuration:t,next:h=>(u.value=d(h),u.done=h>=t,u)}}const u6=t=>t!==null;function _m(t,{repeat:n,repeatType:r="loop"},o,l=1){const u=t.filter(u6),d=l<0||n&&r!=="loop"&&n%2===1?0:u.length-1;return!d||o===void 0?u[d]:o}const c6={decay:yh,inertia:yh,tween:js,keyframes:js,spring:pc};function QT(t){typeof t.type=="string"&&(t.type=c6[t.type])}class jm{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(n=>{this.resolve=n})}notifyFinished(){this.resolve()}then(n,r){return this.finished.then(n,r)}}const f6=t=>t/100;class Lm extends jm{constructor(n){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{const{motionValue:r}=this.options;r&&r.updatedAt!==vn.now()&&this.tick(vn.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),this.options.onStop?.())},this.options=n,this.initAnimation(),this.play(),n.autoplay===!1&&this.pause()}initAnimation(){const{options:n}=this;QT(n);const{type:r=js,repeat:o=0,repeatDelay:l=0,repeatType:u,velocity:c=0}=n;let{keyframes:d}=n;const h=r||js;h!==js&&typeof d[0]!="number"&&(this.mixKeyframes=cl(f6,KT(d[0],d[1])),d=[0,100]);const m=h({...n,keyframes:d});u==="mirror"&&(this.mirroredGenerator=h({...n,keyframes:[...d].reverse(),velocity:-c})),m.calculatedDuration===null&&(m.calculatedDuration=Nm(m));const{calculatedDuration:g}=m;this.calculatedDuration=g,this.resolvedDuration=g+l,this.totalDuration=this.resolvedDuration*(o+1)-l,this.generator=m}updateTime(n){const r=Math.round(n-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=r}tick(n,r=!1){const{generator:o,totalDuration:l,mixKeyframes:u,mirroredGenerator:c,resolvedDuration:d,calculatedDuration:h}=this;if(this.startTime===null)return o.next(0);const{delay:m=0,keyframes:g,repeat:y,repeatType:b,repeatDelay:C,type:S,onUpdate:x,finalKeyframe:A}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,n):this.speed<0&&(this.startTime=Math.min(n-l/this.speed,this.startTime)),r?this.currentTime=n:this.updateTime(n);const M=this.currentTime-m*(this.playbackSpeed>=0?1:-1),N=this.playbackSpeed>=0?M<0:M>l;this.currentTime=Math.max(M,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=l);let w=this.currentTime,O=o;if(y){const V=Math.min(this.currentTime,l)/d;let K=Math.floor(V),Z=V%1;!Z&&V>=1&&(Z=1),Z===1&&K--,K=Math.min(K,y+1),!!(K%2)&&(b==="reverse"?(Z=1-Z,C&&(Z-=C/d)):b==="mirror"&&(O=c)),w=Ki(0,1,Z)*d}const D=N?{done:!1,value:g[0]}:O.next(w);u&&(D.value=u(D.value));let{done:_}=D;!N&&h!==null&&(_=this.playbackSpeed>=0?this.currentTime>=l:this.currentTime<=0);const k=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&_);return k&&S!==yh&&(D.value=_m(g,this.options,A,this.speed)),x&&x(D.value),k&&this.finish(),D}then(n,r){return this.finished.then(n,r)}get duration(){return Kn(this.calculatedDuration)}get iterationDuration(){const{delay:n=0}=this.options||{};return this.duration+Kn(n)}get time(){return Kn(this.currentTime)}set time(n){n=Ti(n),this.currentTime=n,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=n:this.driver&&(this.startTime=this.driver.now()-n/this.playbackSpeed),this.driver?.start(!1)}get speed(){return this.playbackSpeed}set speed(n){this.updateTime(vn.now());const r=this.playbackSpeed!==n;this.playbackSpeed=n,r&&(this.time=Kn(this.currentTime))}play(){if(this.isStopped)return;const{driver:n=Kz,startTime:r}=this.options;this.driver||(this.driver=n(l=>this.tick(l))),this.options.onPlay?.();const o=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=o):this.holdTime!==null?this.startTime=o-this.holdTime:this.startTime||(this.startTime=r??o),this.state==="finished"&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(vn.now()),this.holdTime=this.currentTime}complete(){this.state!=="running"&&this.play(),this.state="finished",this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state="finished",this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(n){return this.startTime=0,this.tick(n,!0)}attachTimeline(n){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),n.observe(this)}}function d6(t){for(let n=1;n<t.length;n++)t[n]??(t[n]=t[n-1])}const aa=t=>t*180/Math.PI,vh=t=>{const n=aa(Math.atan2(t[1],t[0]));return bh(n)},p6={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:t=>(Math.abs(t[0])+Math.abs(t[3]))/2,rotate:vh,rotateZ:vh,skewX:t=>aa(Math.atan(t[1])),skewY:t=>aa(Math.atan(t[2])),skew:t=>(Math.abs(t[1])+Math.abs(t[2]))/2},bh=t=>(t=t%360,t<0&&(t+=360),t),jS=vh,LS=t=>Math.sqrt(t[0]*t[0]+t[1]*t[1]),kS=t=>Math.sqrt(t[4]*t[4]+t[5]*t[5]),h6={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:LS,scaleY:kS,scale:t=>(LS(t)+kS(t))/2,rotateX:t=>bh(aa(Math.atan2(t[6],t[5]))),rotateY:t=>bh(aa(Math.atan2(-t[2],t[0]))),rotateZ:jS,rotate:jS,skewX:t=>aa(Math.atan(t[4])),skewY:t=>aa(Math.atan(t[1])),skew:t=>(Math.abs(t[1])+Math.abs(t[4]))/2};function Sh(t){return t.includes("scale")?1:0}function xh(t,n){if(!t||t==="none")return Sh(n);const r=t.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let o,l;if(r)o=h6,l=r;else{const d=t.match(/^matrix\(([-\d.e\s,]+)\)$/u);o=p6,l=d}if(!l)return Sh(n);const u=o[n],c=l[1].split(",").map(g6);return typeof u=="function"?u(c):c[u]}const m6=(t,n)=>{const{transform:r="none"}=getComputedStyle(t);return xh(r,n)};function g6(t){return parseFloat(t.trim())}const Ao=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Ro=new Set(Ao),PS=t=>t===Eo||t===Tt,y6=new Set(["x","y","z"]),v6=Ao.filter(t=>!y6.has(t));function b6(t){const n=[];return v6.forEach(r=>{const o=t.getValue(r);o!==void 0&&(n.push([r,o.get()]),o.set(r.startsWith("scale")?1:0))}),n}const la={width:({x:t},{paddingLeft:n="0",paddingRight:r="0"})=>t.max-t.min-parseFloat(n)-parseFloat(r),height:({y:t},{paddingTop:n="0",paddingBottom:r="0"})=>t.max-t.min-parseFloat(n)-parseFloat(r),top:(t,{top:n})=>parseFloat(n),left:(t,{left:n})=>parseFloat(n),bottom:({y:t},{top:n})=>parseFloat(n)+(t.max-t.min),right:({x:t},{left:n})=>parseFloat(n)+(t.max-t.min),x:(t,{transform:n})=>xh(n,"x"),y:(t,{transform:n})=>xh(n,"y")};la.translateX=la.x;la.translateY=la.y;const ua=new Set;let Th=!1,Ch=!1,Eh=!1;function ZT(){if(Ch){const t=Array.from(ua).filter(o=>o.needsMeasurement),n=new Set(t.map(o=>o.element)),r=new Map;n.forEach(o=>{const l=b6(o);l.length&&(r.set(o,l),o.render())}),t.forEach(o=>o.measureInitialState()),n.forEach(o=>{o.render();const l=r.get(o);l&&l.forEach(([u,c])=>{o.getValue(u)?.set(c)})}),t.forEach(o=>o.measureEndState()),t.forEach(o=>{o.suspendedScrollY!==void 0&&window.scrollTo(0,o.suspendedScrollY)})}Ch=!1,Th=!1,ua.forEach(t=>t.complete(Eh)),ua.clear()}function JT(){ua.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(Ch=!0)})}function S6(){Eh=!0,JT(),ZT(),Eh=!1}class km{constructor(n,r,o,l,u,c=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...n],this.onComplete=r,this.name=o,this.motionValue=l,this.element=u,this.isAsync=c}scheduleResolve(){this.state="scheduled",this.isAsync?(ua.add(this),Th||(Th=!0,ge.read(JT),ge.resolveKeyframes(ZT))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:n,name:r,element:o,motionValue:l}=this;if(n[0]===null){const u=l?.get(),c=n[n.length-1];if(u!==void 0)n[0]=u;else if(o&&r){const d=o.readValue(r,c);d!=null&&(n[0]=d)}n[0]===void 0&&(n[0]=c),l&&u===void 0&&l.set(n[0])}d6(n)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(n=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,n),ua.delete(this)}cancel(){this.state==="scheduled"&&(ua.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const x6=t=>t.startsWith("--");function T6(t,n,r){x6(n)?t.style.setProperty(n,r):t.style[n]=r}const C6=Em(()=>window.ScrollTimeline!==void 0),E6={};function A6(t,n){const r=Em(t);return()=>E6[n]??r()}const tC=A6(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),Ds=([t,n,r,o])=>`cubic-bezier(${t}, ${n}, ${r}, ${o})`,US={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Ds([0,.65,.55,1]),circOut:Ds([.55,0,1,.45]),backIn:Ds([.31,.01,.66,-.59]),backOut:Ds([.33,1.53,.69,.99])};function eC(t,n){if(t)return typeof t=="function"?tC()?XT(t,n):"ease-out":UT(t)?Ds(t):Array.isArray(t)?t.map(r=>eC(r,n)||US.easeOut):US[t]}function R6(t,n,r,{delay:o=0,duration:l=300,repeat:u=0,repeatType:c="loop",ease:d="easeOut",times:h}={},m=void 0){const g={[n]:r};h&&(g.offset=h);const y=eC(d,l);Array.isArray(y)&&(g.easing=y);const b={delay:o,duration:l,easing:Array.isArray(y)?"linear":y,fill:"both",iterations:u+1,direction:c==="reverse"?"alternate":"normal"};return m&&(b.pseudoElement=m),t.animate(g,b)}function nC(t){return typeof t=="function"&&"applyToOptions"in t}function w6({type:t,...n}){return nC(t)&&tC()?t.applyToOptions(n):(n.duration??(n.duration=300),n.ease??(n.ease="easeOut"),n)}class M6 extends jm{constructor(n){if(super(),this.finishedTime=null,this.isStopped=!1,!n)return;const{element:r,name:o,keyframes:l,pseudoElement:u,allowFlatten:c=!1,finalKeyframe:d,onComplete:h}=n;this.isPseudoElement=!!u,this.allowFlatten=c,this.options=n,Cm(typeof n.type!="string");const m=w6(n);this.animation=R6(r,o,l,m,u),m.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!u){const g=_m(l,this.options,d,this.speed);this.updateMotionValue?this.updateMotionValue(g):T6(r,o,g),this.animation.cancel()}h?.(),this.notifyFinished()}}play(){this.isStopped||(this.animation.play(),this.state==="finished"&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:n}=this;n==="idle"||n==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){this.isPseudoElement||this.animation.commitStyles?.()}get duration(){const n=this.animation.effect?.getComputedTiming?.().duration||0;return Kn(Number(n))}get iterationDuration(){const{delay:n=0}=this.options||{};return this.duration+Kn(n)}get time(){return Kn(Number(this.animation.currentTime)||0)}set time(n){this.finishedTime=null,this.animation.currentTime=Ti(n)}get speed(){return this.animation.playbackRate}set speed(n){n<0&&(this.finishedTime=null),this.animation.playbackRate=n}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return Number(this.animation.startTime)}set startTime(n){this.animation.startTime=n}attachTimeline({timeline:n,observe:r}){return this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,n&&C6()?(this.animation.timeline=n,Wn):r(this)}}const iC={anticipate:jT,backInOut:_T,circInOut:kT};function O6(t){return t in iC}function D6(t){typeof t.ease=="string"&&O6(t.ease)&&(t.ease=iC[t.ease])}const VS=10;class z6 extends M6{constructor(n){D6(n),QT(n),super(n),n.startTime&&(this.startTime=n.startTime),this.options=n}updateMotionValue(n){const{motionValue:r,onUpdate:o,onComplete:l,element:u,...c}=this.options;if(!r)return;if(n!==void 0){r.set(n);return}const d=new Lm({...c,autoplay:!1}),h=Ti(this.finishedTime??this.time);r.setWithVelocity(d.sample(h-VS).value,d.sample(h).value,VS),d.stop()}}const $S=(t,n)=>n==="zIndex"?!1:!!(typeof t=="number"||Array.isArray(t)||typeof t=="string"&&(wr.test(t)||t==="0")&&!t.startsWith("url("));function B6(t){const n=t[0];if(t.length===1)return!0;for(let r=0;r<t.length;r++)if(t[r]!==n)return!0}function N6(t,n,r,o){const l=t[0];if(l===null)return!1;if(n==="display"||n==="visibility")return!0;const u=t[t.length-1],c=$S(l,n),d=$S(u,n);return!c||!d?!1:B6(t)||(r==="spring"||nC(r))&&o}function Ah(t){t.duration=0,t.type="keyframes"}const _6=new Set(["opacity","clipPath","filter","transform"]),j6=Em(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function L6(t){const{motionValue:n,name:r,repeatDelay:o,repeatType:l,damping:u,type:c}=t;if(!(n?.owner?.current instanceof HTMLElement))return!1;const{onUpdate:h,transformTemplate:m}=n.owner.getProps();return j6()&&r&&_6.has(r)&&(r!=="transform"||!m)&&!h&&!o&&l!=="mirror"&&u!==0&&c!=="inertia"}const k6=40;class P6 extends jm{constructor({autoplay:n=!0,delay:r=0,type:o="keyframes",repeat:l=0,repeatDelay:u=0,repeatType:c="loop",keyframes:d,name:h,motionValue:m,element:g,...y}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=vn.now();const b={autoplay:n,delay:r,type:o,repeat:l,repeatDelay:u,repeatType:c,name:h,motionValue:m,element:g,...y},C=g?.KeyframeResolver||km;this.keyframeResolver=new C(d,(S,x,A)=>this.onKeyframesResolved(S,x,b,!A),h,m,g),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(n,r,o,l){this.keyframeResolver=void 0;const{name:u,type:c,velocity:d,delay:h,isHandoff:m,onUpdate:g}=o;this.resolvedAt=vn.now(),N6(n,u,c,d)||((Xi.instantAnimations||!h)&&g?.(_m(n,o,r)),n[0]=n[n.length-1],Ah(o),o.repeat=0);const b={startTime:l?this.resolvedAt?this.resolvedAt-this.createdAt>k6?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:r,...o,keyframes:n},C=!m&&L6(b)?new z6({...b,element:b.motionValue.owner.current}):new Lm(b);C.finished.then(()=>this.notifyFinished()).catch(Wn),this.pendingTimeline&&(this.stopTimeline=C.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=C}get finished(){return this._animation?this.animation.finished:this._finished}then(n,r){return this.finished.finally(n).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),S6()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(n){this.animation.time=n}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(n){this.animation.speed=n}get startTime(){return this.animation.startTime}attachTimeline(n){return this._animation?this.stopTimeline=this.animation.attachTimeline(n):this.pendingTimeline=n,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}const U6=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function V6(t){const n=U6.exec(t);if(!n)return[,];const[,r,o,l]=n;return[`--${r??o}`,l]}function rC(t,n,r=1){const[o,l]=V6(t);if(!o)return;const u=window.getComputedStyle(n).getPropertyValue(o);if(u){const c=u.trim();return RT(c)?parseFloat(c):c}return Om(l)?rC(l,n,r+1):l}function Pm(t,n){return t?.[n]??t?.default??t}const aC=new Set(["width","height","top","left","right","bottom",...Ao]),$6={test:t=>t==="auto",parse:t=>t},oC=t=>n=>n.test(t),sC=[Eo,Tt,Ci,Tr,Bz,zz,$6],HS=t=>sC.find(oC(t));function H6(t){return typeof t=="number"?t===0:t!==null?t==="none"||t==="0"||MT(t):!0}const F6=new Set(["brightness","contrast","saturate","opacity"]);function q6(t){const[n,r]=t.slice(0,-1).split("(");if(n==="drop-shadow")return t;const[o]=r.match(Dm)||[];if(!o)return t;const l=r.replace(o,"");let u=F6.has(n)?1:0;return o!==r&&(u*=100),n+"("+u+l+")"}const I6=/\b([a-z-]*)\(.*?\)/gu,Rh={...wr,getAnimatableNone:t=>{const n=t.match(I6);return n?n.map(q6).join(" "):t}},FS={...Eo,transform:Math.round},G6={rotate:Tr,rotateX:Tr,rotateY:Tr,rotateZ:Tr,scale:$u,scaleX:$u,scaleY:$u,scaleZ:$u,skew:Tr,skewX:Tr,skewY:Tr,distance:Tt,translateX:Tt,translateY:Tt,translateZ:Tt,x:Tt,y:Tt,z:Tt,perspective:Tt,transformPerspective:Tt,opacity:Is,originX:DS,originY:DS,originZ:Tt},Um={borderWidth:Tt,borderTopWidth:Tt,borderRightWidth:Tt,borderBottomWidth:Tt,borderLeftWidth:Tt,borderRadius:Tt,radius:Tt,borderTopLeftRadius:Tt,borderTopRightRadius:Tt,borderBottomRightRadius:Tt,borderBottomLeftRadius:Tt,width:Tt,maxWidth:Tt,height:Tt,maxHeight:Tt,top:Tt,right:Tt,bottom:Tt,left:Tt,padding:Tt,paddingTop:Tt,paddingRight:Tt,paddingBottom:Tt,paddingLeft:Tt,margin:Tt,marginTop:Tt,marginRight:Tt,marginBottom:Tt,marginLeft:Tt,backgroundPositionX:Tt,backgroundPositionY:Tt,...G6,zIndex:FS,fillOpacity:Is,strokeOpacity:Is,numOctaves:FS},Y6={...Um,color:Ue,backgroundColor:Ue,outlineColor:Ue,fill:Ue,stroke:Ue,borderColor:Ue,borderTopColor:Ue,borderRightColor:Ue,borderBottomColor:Ue,borderLeftColor:Ue,filter:Rh,WebkitFilter:Rh},lC=t=>Y6[t];function uC(t,n){let r=lC(t);return r!==Rh&&(r=wr),r.getAnimatableNone?r.getAnimatableNone(n):void 0}const K6=new Set(["auto","none","0"]);function X6(t,n,r){let o=0,l;for(;o<t.length&&!l;){const u=t[o];typeof u=="string"&&!K6.has(u)&&Gs(u).values.length&&(l=t[o]),o++}if(l&&r)for(const u of n)t[u]=uC(r,l)}class W6 extends km{constructor(n,r,o,l,u){super(n,r,o,l,u,!0)}readKeyframes(){const{unresolvedKeyframes:n,element:r,name:o}=this;if(!r||!r.current)return;super.readKeyframes();for(let h=0;h<n.length;h++){let m=n[h];if(typeof m=="string"&&(m=m.trim(),Om(m))){const g=rC(m,r.current);g!==void 0&&(n[h]=g),h===n.length-1&&(this.finalKeyframe=m)}}if(this.resolveNoneKeyframes(),!aC.has(o)||n.length!==2)return;const[l,u]=n,c=HS(l),d=HS(u);if(c!==d)if(PS(c)&&PS(d))for(let h=0;h<n.length;h++){const m=n[h];typeof m=="string"&&(n[h]=parseFloat(m))}else la[o]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:n,name:r}=this,o=[];for(let l=0;l<n.length;l++)(n[l]===null||H6(n[l]))&&o.push(l);o.length&&X6(n,o,r)}measureInitialState(){const{element:n,unresolvedKeyframes:r,name:o}=this;if(!n||!n.current)return;o==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=la[o](n.measureViewportBox(),window.getComputedStyle(n.current)),r[0]=this.measuredOrigin;const l=r[r.length-1];l!==void 0&&n.getValue(o,l).jump(l,!1)}measureEndState(){const{element:n,name:r,unresolvedKeyframes:o}=this;if(!n||!n.current)return;const l=n.getValue(r);l&&l.jump(this.measuredOrigin,!1);const u=o.length-1,c=o[u];o[u]=la[r](n.measureViewportBox(),window.getComputedStyle(n.current)),c!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=c),this.removedTransforms?.length&&this.removedTransforms.forEach(([d,h])=>{n.getValue(d).set(h)}),this.resolveNoneKeyframes()}}function Q6(t,n,r){if(t instanceof EventTarget)return[t];if(typeof t=="string"){let o=document;const l=r?.[t]??o.querySelectorAll(t);return l?Array.from(l):[]}return Array.from(t)}const cC=(t,n)=>n&&typeof t=="number"?n.transform(t):t;function fC(t){return wT(t)&&"offsetHeight"in t}const qS=30,Z6=t=>!isNaN(parseFloat(t));class J6{constructor(n,r={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=o=>{const l=vn.now();if(this.updatedAt!==l&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(o),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(const u of this.dependents)u.dirty()},this.hasAnimated=!1,this.setCurrent(n),this.owner=r.owner}setCurrent(n){this.current=n,this.updatedAt=vn.now(),this.canTrackVelocity===null&&n!==void 0&&(this.canTrackVelocity=Z6(this.current))}setPrevFrameValue(n=this.current){this.prevFrameValue=n,this.prevUpdatedAt=this.updatedAt}onChange(n){return this.on("change",n)}on(n,r){this.events[n]||(this.events[n]=new Am);const o=this.events[n].add(r);return n==="change"?()=>{o(),ge.read(()=>{this.events.change.getSize()||this.stop()})}:o}clearListeners(){for(const n in this.events)this.events[n].clear()}attach(n,r){this.passiveEffect=n,this.stopPassiveEffect=r}set(n){this.passiveEffect?this.passiveEffect(n,this.updateAndNotify):this.updateAndNotify(n)}setWithVelocity(n,r,o){this.set(r),this.prev=void 0,this.prevFrameValue=n,this.prevUpdatedAt=this.updatedAt-o}jump(n,r=!0){this.updateAndNotify(n),this.prev=n,this.prevUpdatedAt=this.prevFrameValue=void 0,r&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(n){this.dependents||(this.dependents=new Set),this.dependents.add(n)}removeDependent(n){this.dependents&&this.dependents.delete(n)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const n=vn.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||n-this.updatedAt>qS)return 0;const r=Math.min(this.updatedAt-this.prevUpdatedAt,qS);return OT(parseFloat(this.current)-parseFloat(this.prevFrameValue),r)}start(n){return this.stop(),new Promise(r=>{this.hasAnimated=!0,this.animation=n(r),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function yo(t,n){return new J6(t,n)}const{schedule:Vm}=VT(queueMicrotask,!1),ii={x:!1,y:!1};function dC(){return ii.x||ii.y}function tB(t){return t==="x"||t==="y"?ii[t]?null:(ii[t]=!0,()=>{ii[t]=!1}):ii.x||ii.y?null:(ii.x=ii.y=!0,()=>{ii.x=ii.y=!1})}function pC(t,n){const r=Q6(t),o=new AbortController,l={passive:!0,...n,signal:o.signal};return[r,l,()=>o.abort()]}function IS(t){return!(t.pointerType==="touch"||dC())}function eB(t,n,r={}){const[o,l,u]=pC(t,r),c=d=>{if(!IS(d))return;const{target:h}=d,m=n(h,d);if(typeof m!="function"||!h)return;const g=y=>{IS(y)&&(m(y),h.removeEventListener("pointerleave",g))};h.addEventListener("pointerleave",g,l)};return o.forEach(d=>{d.addEventListener("pointerenter",c,l)}),u}const hC=(t,n)=>n?t===n?!0:hC(t,n.parentElement):!1,$m=t=>t.pointerType==="mouse"?typeof t.button!="number"||t.button<=0:t.isPrimary!==!1,nB=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function iB(t){return nB.has(t.tagName)||t.tabIndex!==-1}const Ju=new WeakSet;function GS(t){return n=>{n.key==="Enter"&&t(n)}}function Bp(t,n){t.dispatchEvent(new PointerEvent("pointer"+n,{isPrimary:!0,bubbles:!0}))}const rB=(t,n)=>{const r=t.currentTarget;if(!r)return;const o=GS(()=>{if(Ju.has(r))return;Bp(r,"down");const l=GS(()=>{Bp(r,"up")}),u=()=>Bp(r,"cancel");r.addEventListener("keyup",l,n),r.addEventListener("blur",u,n)});r.addEventListener("keydown",o,n),r.addEventListener("blur",()=>r.removeEventListener("keydown",o),n)};function YS(t){return $m(t)&&!dC()}function aB(t,n,r={}){const[o,l,u]=pC(t,r),c=d=>{const h=d.currentTarget;if(!YS(d))return;Ju.add(h);const m=n(h,d),g=(C,S)=>{window.removeEventListener("pointerup",y),window.removeEventListener("pointercancel",b),Ju.has(h)&&Ju.delete(h),YS(C)&&typeof m=="function"&&m(C,{success:S})},y=C=>{g(C,h===window||h===document||r.useGlobalTarget||hC(h,C.target))},b=C=>{g(C,!1)};window.addEventListener("pointerup",y,l),window.addEventListener("pointercancel",b,l)};return o.forEach(d=>{(r.useGlobalTarget?window:d).addEventListener("pointerdown",c,l),fC(d)&&(d.addEventListener("focus",m=>rB(m,l)),!iB(d)&&!d.hasAttribute("tabindex")&&(d.tabIndex=0))}),u}function mC(t){return wT(t)&&"ownerSVGElement"in t}function oB(t){return mC(t)&&t.tagName==="svg"}const ln=t=>!!(t&&t.getVelocity),sB=[...sC,Ue,wr],lB=t=>sB.find(oC(t)),Hm=R.createContext({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"});function KS(t,n){if(typeof t=="function")return t(n);t!=null&&(t.current=n)}function uB(...t){return n=>{let r=!1;const o=t.map(l=>{const u=KS(l,n);return!r&&typeof u=="function"&&(r=!0),u});if(r)return()=>{for(let l=0;l<o.length;l++){const u=o[l];typeof u=="function"?u():KS(t[l],null)}}}}function cB(...t){return R.useCallback(uB(...t),t)}class fB extends R.Component{getSnapshotBeforeUpdate(n){const r=this.props.childRef.current;if(r&&n.isPresent&&!this.props.isPresent){const o=r.offsetParent,l=fC(o)&&o.offsetWidth||0,u=this.props.sizeRef.current;u.height=r.offsetHeight||0,u.width=r.offsetWidth||0,u.top=r.offsetTop,u.left=r.offsetLeft,u.right=l-u.width-u.left}return null}componentDidUpdate(){}render(){return this.props.children}}function dB({children:t,isPresent:n,anchorX:r,root:o}){const l=R.useId(),u=R.useRef(null),c=R.useRef({width:0,height:0,top:0,left:0,right:0}),{nonce:d}=R.useContext(Hm),h=cB(u,t?.ref);return R.useInsertionEffect(()=>{const{width:m,height:g,top:y,left:b,right:C}=c.current;if(n||!u.current||!m||!g)return;const S=r==="left"?`left: ${b}`:`right: ${C}`;u.current.dataset.motionPopId=l;const x=document.createElement("style");d&&(x.nonce=d);const A=o??document.head;return A.appendChild(x),x.sheet&&x.sheet.insertRule(`
151
- [data-motion-pop-id="${l}"] {
152
- position: absolute !important;
153
- width: ${m}px !important;
154
- height: ${g}px !important;
155
- ${S}px !important;
156
- top: ${y}px !important;
157
- }
158
- `),()=>{A.contains(x)&&A.removeChild(x)}},[n]),z.jsx(fB,{isPresent:n,childRef:u,sizeRef:c,children:R.cloneElement(t,{ref:h})})}const pB=({children:t,initial:n,isPresent:r,onExitComplete:o,custom:l,presenceAffectsLayout:u,mode:c,anchorX:d,root:h})=>{const m=bm(hB),g=R.useId();let y=!0,b=R.useMemo(()=>(y=!1,{id:g,initial:n,isPresent:r,custom:l,onExitComplete:C=>{m.set(C,!0);for(const S of m.values())if(!S)return;o&&o()},register:C=>(m.set(C,!1),()=>m.delete(C))}),[r,m,o]);return u&&y&&(b={...b}),R.useMemo(()=>{m.forEach((C,S)=>m.set(S,!1))},[r]),R.useEffect(()=>{!r&&!m.size&&o&&o()},[r]),c==="popLayout"&&(t=z.jsx(dB,{isPresent:r,anchorX:d,root:h,children:t})),z.jsx($c.Provider,{value:b,children:t})};function hB(){return new Map}function gC(t=!0){const n=R.useContext($c);if(n===null)return[!0,null];const{isPresent:r,onExitComplete:o,register:l}=n,u=R.useId();R.useEffect(()=>{if(t)return l(u)},[t]);const c=R.useCallback(()=>t&&o&&o(u),[u,o,t]);return!r&&o?[!1,c]:[!0]}const Hu=t=>t.key||"";function XS(t){const n=[];return R.Children.forEach(t,r=>{R.isValidElement(r)&&n.push(r)}),n}const mB=({children:t,custom:n,initial:r=!0,onExitComplete:o,presenceAffectsLayout:l=!0,mode:u="sync",propagate:c=!1,anchorX:d="left",root:h})=>{const[m,g]=gC(c),y=R.useMemo(()=>XS(t),[t]),b=c&&!m?[]:y.map(Hu),C=R.useRef(!0),S=R.useRef(y),x=bm(()=>new Map),[A,M]=R.useState(y),[N,w]=R.useState(y);AT(()=>{C.current=!1,S.current=y;for(let _=0;_<N.length;_++){const k=Hu(N[_]);b.includes(k)?x.delete(k):x.get(k)!==!0&&x.set(k,!1)}},[N,b.length,b.join("-")]);const O=[];if(y!==A){let _=[...y];for(let k=0;k<N.length;k++){const V=N[k],K=Hu(V);b.includes(K)||(_.splice(k,0,V),O.push(V))}return u==="wait"&&O.length&&(_=O),w(XS(_)),M(y),null}const{forceRender:D}=R.useContext(vm);return z.jsx(z.Fragment,{children:N.map(_=>{const k=Hu(_),V=c&&!m?!1:y===N||b.includes(k),K=()=>{if(x.has(k))x.set(k,!0);else return;let Z=!0;x.forEach(et=>{et||(Z=!1)}),Z&&(D?.(),w(S.current),c&&g?.(),o&&o())};return z.jsx(pB,{isPresent:V,initial:!C.current||r?void 0:!1,custom:n,presenceAffectsLayout:l,mode:u,root:h,onExitComplete:V?void 0:K,anchorX:d,children:_},k)})})},yC=R.createContext({strict:!1}),WS={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},vo={};for(const t in WS)vo[t]={isEnabled:n=>WS[t].some(r=>!!n[r])};function gB(t){for(const n in t)vo[n]={...vo[n],...t[n]}}const yB=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function hc(t){return t.startsWith("while")||t.startsWith("drag")&&t!=="draggable"||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||yB.has(t)}let vC=t=>!hc(t);function vB(t){typeof t=="function"&&(vC=n=>n.startsWith("on")?!hc(n):t(n))}try{vB(require("@emotion/is-prop-valid").default)}catch{}function bB(t,n,r){const o={};for(const l in t)l==="values"&&typeof t.values=="object"||(vC(l)||r===!0&&hc(l)||!n&&!hc(l)||t.draggable&&l.startsWith("onDrag"))&&(o[l]=t[l]);return o}const Hc=R.createContext({});function Fc(t){return t!==null&&typeof t=="object"&&typeof t.start=="function"}function Ys(t){return typeof t=="string"||Array.isArray(t)}const Fm=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],qm=["initial",...Fm];function qc(t){return Fc(t.animate)||qm.some(n=>Ys(t[n]))}function bC(t){return!!(qc(t)||t.variants)}function SB(t,n){if(qc(t)){const{initial:r,animate:o}=t;return{initial:r===!1||Ys(r)?r:void 0,animate:Ys(o)?o:void 0}}return t.inherit!==!1?n:{}}function xB(t){const{initial:n,animate:r}=SB(t,R.useContext(Hc));return R.useMemo(()=>({initial:n,animate:r}),[QS(n),QS(r)])}function QS(t){return Array.isArray(t)?t.join(" "):t}const Ks={};function TB(t){for(const n in t)Ks[n]=t[n],Mm(n)&&(Ks[n].isCSSVariable=!0)}function SC(t,{layout:n,layoutId:r}){return Ro.has(t)||t.startsWith("origin")||(n||r!==void 0)&&(!!Ks[t]||t==="opacity")}const CB={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},EB=Ao.length;function AB(t,n,r){let o="",l=!0;for(let u=0;u<EB;u++){const c=Ao[u],d=t[c];if(d===void 0)continue;let h=!0;if(typeof d=="number"?h=d===(c.startsWith("scale")?1:0):h=parseFloat(d)===0,!h||r){const m=cC(d,Um[c]);if(!h){l=!1;const g=CB[c]||c;o+=`${g}(${m}) `}r&&(n[c]=m)}}return o=o.trim(),r?o=r(n,l?"":o):l&&(o="none"),o}function Im(t,n,r){const{style:o,vars:l,transformOrigin:u}=t;let c=!1,d=!1;for(const h in n){const m=n[h];if(Ro.has(h)){c=!0;continue}else if(Mm(h)){l[h]=m;continue}else{const g=cC(m,Um[h]);h.startsWith("origin")?(d=!0,u[h]=g):o[h]=g}}if(n.transform||(c||r?o.transform=AB(n,t.transform,r):o.transform&&(o.transform="none")),d){const{originX:h="50%",originY:m="50%",originZ:g=0}=u;o.transformOrigin=`${h} ${m} ${g}`}}const Gm=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function xC(t,n,r){for(const o in n)!ln(n[o])&&!SC(o,r)&&(t[o]=n[o])}function RB({transformTemplate:t},n){return R.useMemo(()=>{const r=Gm();return Im(r,n,t),Object.assign({},r.vars,r.style)},[n])}function wB(t,n){const r=t.style||{},o={};return xC(o,r,t),Object.assign(o,RB(t,n)),o}function MB(t,n){const r={},o=wB(t,n);return t.drag&&t.dragListener!==!1&&(r.draggable=!1,o.userSelect=o.WebkitUserSelect=o.WebkitTouchCallout="none",o.touchAction=t.drag===!0?"none":`pan-${t.drag==="x"?"y":"x"}`),t.tabIndex===void 0&&(t.onTap||t.onTapStart||t.whileTap)&&(r.tabIndex=0),r.style=o,r}const OB={offset:"stroke-dashoffset",array:"stroke-dasharray"},DB={offset:"strokeDashoffset",array:"strokeDasharray"};function zB(t,n,r=1,o=0,l=!0){t.pathLength=1;const u=l?OB:DB;t[u.offset]=Tt.transform(-o);const c=Tt.transform(n),d=Tt.transform(r);t[u.array]=`${c} ${d}`}function TC(t,{attrX:n,attrY:r,attrScale:o,pathLength:l,pathSpacing:u=1,pathOffset:c=0,...d},h,m,g){if(Im(t,d,m),h){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};const{attrs:y,style:b}=t;y.transform&&(b.transform=y.transform,delete y.transform),(b.transform||y.transformOrigin)&&(b.transformOrigin=y.transformOrigin??"50% 50%",delete y.transformOrigin),b.transform&&(b.transformBox=g?.transformBox??"fill-box",delete y.transformBox),n!==void 0&&(y.x=n),r!==void 0&&(y.y=r),o!==void 0&&(y.scale=o),l!==void 0&&zB(y,l,u,c,!1)}const CC=()=>({...Gm(),attrs:{}}),EC=t=>typeof t=="string"&&t.toLowerCase()==="svg";function BB(t,n,r,o){const l=R.useMemo(()=>{const u=CC();return TC(u,n,EC(o),t.transformTemplate,t.style),{...u.attrs,style:{...u.style}}},[n]);if(t.style){const u={};xC(u,t.style,t),l.style={...u,...l.style}}return l}const NB=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function Ym(t){return typeof t!="string"||t.includes("-")?!1:!!(NB.indexOf(t)>-1||/[A-Z]/u.test(t))}function _B(t,n,r,{latestValues:o},l,u=!1){const d=(Ym(t)?BB:MB)(n,o,l,t),h=bB(n,typeof t=="string",u),m=t!==R.Fragment?{...h,...d,ref:r}:{},{children:g}=n,y=R.useMemo(()=>ln(g)?g.get():g,[g]);return R.createElement(t,{...m,children:y})}function ZS(t){const n=[{},{}];return t?.values.forEach((r,o)=>{n[0][o]=r.get(),n[1][o]=r.getVelocity()}),n}function Km(t,n,r,o){if(typeof n=="function"){const[l,u]=ZS(o);n=n(r!==void 0?r:t.custom,l,u)}if(typeof n=="string"&&(n=t.variants&&t.variants[n]),typeof n=="function"){const[l,u]=ZS(o);n=n(r!==void 0?r:t.custom,l,u)}return n}function tc(t){return ln(t)?t.get():t}function jB({scrapeMotionValuesFromProps:t,createRenderState:n},r,o,l){return{latestValues:LB(r,o,l,t),renderState:n()}}function LB(t,n,r,o){const l={},u=o(t,{});for(const b in u)l[b]=tc(u[b]);let{initial:c,animate:d}=t;const h=qc(t),m=bC(t);n&&m&&!h&&t.inherit!==!1&&(c===void 0&&(c=n.initial),d===void 0&&(d=n.animate));let g=r?r.initial===!1:!1;g=g||c===!1;const y=g?d:c;if(y&&typeof y!="boolean"&&!Fc(y)){const b=Array.isArray(y)?y:[y];for(let C=0;C<b.length;C++){const S=Km(t,b[C]);if(S){const{transitionEnd:x,transition:A,...M}=S;for(const N in M){let w=M[N];if(Array.isArray(w)){const O=g?w.length-1:0;w=w[O]}w!==null&&(l[N]=w)}for(const N in x)l[N]=x[N]}}}return l}const AC=t=>(n,r)=>{const o=R.useContext(Hc),l=R.useContext($c),u=()=>jB(t,n,o,l);return r?u():bm(u)};function Xm(t,n,r){const{style:o}=t,l={};for(const u in o)(ln(o[u])||n.style&&ln(n.style[u])||SC(u,t)||r?.getValue(u)?.liveStyle!==void 0)&&(l[u]=o[u]);return l}const kB=AC({scrapeMotionValuesFromProps:Xm,createRenderState:Gm});function RC(t,n,r){const o=Xm(t,n,r);for(const l in t)if(ln(t[l])||ln(n[l])){const u=Ao.indexOf(l)!==-1?"attr"+l.charAt(0).toUpperCase()+l.substring(1):l;o[u]=t[l]}return o}const PB=AC({scrapeMotionValuesFromProps:RC,createRenderState:CC}),UB=Symbol.for("motionComponentSymbol");function ao(t){return t&&typeof t=="object"&&Object.prototype.hasOwnProperty.call(t,"current")}function VB(t,n,r){return R.useCallback(o=>{o&&t.onMount&&t.onMount(o),n&&(o?n.mount(o):n.unmount()),r&&(typeof r=="function"?r(o):ao(r)&&(r.current=o))},[n])}const Wm=t=>t.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),$B="framerAppearId",wC="data-"+Wm($B),MC=R.createContext({});function HB(t,n,r,o,l){const{visualElement:u}=R.useContext(Hc),c=R.useContext(yC),d=R.useContext($c),h=R.useContext(Hm).reducedMotion,m=R.useRef(null);o=o||c.renderer,!m.current&&o&&(m.current=o(t,{visualState:n,parent:u,props:r,presenceContext:d,blockInitialAnimation:d?d.initial===!1:!1,reducedMotionConfig:h}));const g=m.current,y=R.useContext(MC);g&&!g.projection&&l&&(g.type==="html"||g.type==="svg")&&FB(m.current,r,l,y);const b=R.useRef(!1);R.useInsertionEffect(()=>{g&&b.current&&g.update(r,d)});const C=r[wC],S=R.useRef(!!C&&!window.MotionHandoffIsComplete?.(C)&&window.MotionHasOptimisedAnimation?.(C));return AT(()=>{g&&(b.current=!0,window.MotionIsMounted=!0,g.updateFeatures(),g.scheduleRenderMicrotask(),S.current&&g.animationState&&g.animationState.animateChanges())}),R.useEffect(()=>{g&&(!S.current&&g.animationState&&g.animationState.animateChanges(),S.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(C)}),S.current=!1),g.enteringChildren=void 0)}),g}function FB(t,n,r,o){const{layoutId:l,layout:u,drag:c,dragConstraints:d,layoutScroll:h,layoutRoot:m,layoutCrossfade:g}=n;t.projection=new r(t.latestValues,n["data-framer-portal-id"]?void 0:OC(t.parent)),t.projection.setOptions({layoutId:l,layout:u,alwaysMeasureLayout:!!c||d&&ao(d),visualElement:t,animationType:typeof u=="string"?u:"both",initialPromotionConfig:o,crossfade:g,layoutScroll:h,layoutRoot:m})}function OC(t){if(t)return t.options.allowProjection!==!1?t.projection:OC(t.parent)}function Np(t,{forwardMotionProps:n=!1}={},r,o){r&&gB(r);const l=Ym(t)?PB:kB;function u(d,h){let m;const g={...R.useContext(Hm),...d,layoutId:qB(d)},{isStatic:y}=g,b=xB(d),C=l(d,y);if(!y&&Sm){IB();const S=GB(g);m=S.MeasureLayout,b.visualElement=HB(t,C,g,o,S.ProjectionNode)}return z.jsxs(Hc.Provider,{value:b,children:[m&&b.visualElement?z.jsx(m,{visualElement:b.visualElement,...g}):null,_B(t,d,VB(C,b.visualElement,h),C,y,n)]})}u.displayName=`motion.${typeof t=="string"?t:`create(${t.displayName??t.name??""})`}`;const c=R.forwardRef(u);return c[UB]=t,c}function qB({layoutId:t}){const n=R.useContext(vm).id;return n&&t!==void 0?n+"-"+t:t}function IB(t,n){R.useContext(yC).strict}function GB(t){const{drag:n,layout:r}=vo;if(!n&&!r)return{};const o={...n,...r};return{MeasureLayout:n?.isEnabled(t)||r?.isEnabled(t)?o.MeasureLayout:void 0,ProjectionNode:o.ProjectionNode}}function YB(t,n){if(typeof Proxy>"u")return Np;const r=new Map,o=(u,c)=>Np(u,c,t,n),l=(u,c)=>o(u,c);return new Proxy(l,{get:(u,c)=>c==="create"?o:(r.has(c)||r.set(c,Np(c,void 0,t,n)),r.get(c))})}function DC({top:t,left:n,right:r,bottom:o}){return{x:{min:n,max:r},y:{min:t,max:o}}}function KB({x:t,y:n}){return{top:n.min,right:t.max,bottom:n.max,left:t.min}}function XB(t,n){if(!n)return t;const r=n({x:t.left,y:t.top}),o=n({x:t.right,y:t.bottom});return{top:r.y,left:r.x,bottom:o.y,right:o.x}}function _p(t){return t===void 0||t===1}function wh({scale:t,scaleX:n,scaleY:r}){return!_p(t)||!_p(n)||!_p(r)}function ta(t){return wh(t)||zC(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function zC(t){return JS(t.x)||JS(t.y)}function JS(t){return t&&t!=="0%"}function mc(t,n,r){const o=t-r,l=n*o;return r+l}function t1(t,n,r,o,l){return l!==void 0&&(t=mc(t,l,o)),mc(t,r,o)+n}function Mh(t,n=0,r=1,o,l){t.min=t1(t.min,n,r,o,l),t.max=t1(t.max,n,r,o,l)}function BC(t,{x:n,y:r}){Mh(t.x,n.translate,n.scale,n.originPoint),Mh(t.y,r.translate,r.scale,r.originPoint)}const e1=.999999999999,n1=1.0000000000001;function WB(t,n,r,o=!1){const l=r.length;if(!l)return;n.x=n.y=1;let u,c;for(let d=0;d<l;d++){u=r[d],c=u.projectionDelta;const{visualElement:h}=u.options;h&&h.props.style&&h.props.style.display==="contents"||(o&&u.options.layoutScroll&&u.scroll&&u!==u.root&&so(t,{x:-u.scroll.offset.x,y:-u.scroll.offset.y}),c&&(n.x*=c.x.scale,n.y*=c.y.scale,BC(t,c)),o&&ta(u.latestValues)&&so(t,u.latestValues))}n.x<n1&&n.x>e1&&(n.x=1),n.y<n1&&n.y>e1&&(n.y=1)}function oo(t,n){t.min=t.min+n,t.max=t.max+n}function i1(t,n,r,o,l=.5){const u=be(t.min,t.max,l);Mh(t,n,r,u,o)}function so(t,n){i1(t.x,n.x,n.scaleX,n.scale,n.originX),i1(t.y,n.y,n.scaleY,n.scale,n.originY)}function NC(t,n){return DC(XB(t.getBoundingClientRect(),n))}function QB(t,n,r){const o=NC(t,r),{scroll:l}=n;return l&&(oo(o.x,l.offset.x),oo(o.y,l.offset.y)),o}const r1=()=>({translate:0,scale:1,origin:0,originPoint:0}),lo=()=>({x:r1(),y:r1()}),a1=()=>({min:0,max:0}),ze=()=>({x:a1(),y:a1()}),Oh={current:null},_C={current:!1};function ZB(){if(_C.current=!0,!!Sm)if(window.matchMedia){const t=window.matchMedia("(prefers-reduced-motion)"),n=()=>Oh.current=t.matches;t.addEventListener("change",n),n()}else Oh.current=!1}const JB=new WeakMap;function tN(t,n,r){for(const o in n){const l=n[o],u=r[o];if(ln(l))t.addValue(o,l);else if(ln(u))t.addValue(o,yo(l,{owner:t}));else if(u!==l)if(t.hasValue(o)){const c=t.getValue(o);c.liveStyle===!0?c.jump(l):c.hasAnimated||c.set(l)}else{const c=t.getStaticValue(o);t.addValue(o,yo(c!==void 0?c:l,{owner:t}))}}for(const o in r)n[o]===void 0&&t.removeValue(o);return n}const o1=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class eN{scrapeMotionValuesFromProps(n,r,o){return{}}constructor({parent:n,props:r,presenceContext:o,reducedMotionConfig:l,blockInitialAnimation:u,visualState:c},d={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=km,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const b=vn.now();this.renderScheduledAt<b&&(this.renderScheduledAt=b,ge.render(this.render,!1,!0))};const{latestValues:h,renderState:m}=c;this.latestValues=h,this.baseTarget={...h},this.initialValues=r.initial?{...h}:{},this.renderState=m,this.parent=n,this.props=r,this.presenceContext=o,this.depth=n?n.depth+1:0,this.reducedMotionConfig=l,this.options=d,this.blockInitialAnimation=!!u,this.isControllingVariants=qc(r),this.isVariantNode=bC(r),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(n&&n.current);const{willChange:g,...y}=this.scrapeMotionValuesFromProps(r,{},this);for(const b in y){const C=y[b];h[b]!==void 0&&ln(C)&&C.set(h[b])}}mount(n){this.current=n,JB.set(n,this),this.projection&&!this.projection.instance&&this.projection.mount(n),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((r,o)=>this.bindToMotionValue(o,r)),_C.current||ZB(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:Oh.current,this.parent?.addChild(this),this.update(this.props,this.presenceContext)}unmount(){this.projection&&this.projection.unmount(),Rr(this.notifyUpdate),Rr(this.render),this.valueSubscriptions.forEach(n=>n()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this);for(const n in this.events)this.events[n].clear();for(const n in this.features){const r=this.features[n];r&&(r.unmount(),r.isMounted=!1)}this.current=null}addChild(n){this.children.add(n),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(n)}removeChild(n){this.children.delete(n),this.enteringChildren&&this.enteringChildren.delete(n)}bindToMotionValue(n,r){this.valueSubscriptions.has(n)&&this.valueSubscriptions.get(n)();const o=Ro.has(n);o&&this.onBindTransform&&this.onBindTransform();const l=r.on("change",c=>{this.latestValues[n]=c,this.props.onUpdate&&ge.preRender(this.notifyUpdate),o&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let u;window.MotionCheckAppearSync&&(u=window.MotionCheckAppearSync(this,n,r)),this.valueSubscriptions.set(n,()=>{l(),u&&u(),r.owner&&r.stop()})}sortNodePosition(n){return!this.current||!this.sortInstanceNodePosition||this.type!==n.type?0:this.sortInstanceNodePosition(this.current,n.current)}updateFeatures(){let n="animation";for(n in vo){const r=vo[n];if(!r)continue;const{isEnabled:o,Feature:l}=r;if(!this.features[n]&&l&&o(this.props)&&(this.features[n]=new l(this)),this.features[n]){const u=this.features[n];u.isMounted?u.update():(u.mount(),u.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):ze()}getStaticValue(n){return this.latestValues[n]}setStaticValue(n,r){this.latestValues[n]=r}update(n,r){(n.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=n,this.prevPresenceContext=this.presenceContext,this.presenceContext=r;for(let o=0;o<o1.length;o++){const l=o1[o];this.propEventSubscriptions[l]&&(this.propEventSubscriptions[l](),delete this.propEventSubscriptions[l]);const u="on"+l,c=n[u];c&&(this.propEventSubscriptions[l]=this.on(l,c))}this.prevMotionValues=tN(this,this.scrapeMotionValuesFromProps(n,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(n){return this.props.variants?this.props.variants[n]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(n){const r=this.getClosestVariantNode();if(r)return r.variantChildren&&r.variantChildren.add(n),()=>r.variantChildren.delete(n)}addValue(n,r){const o=this.values.get(n);r!==o&&(o&&this.removeValue(n),this.bindToMotionValue(n,r),this.values.set(n,r),this.latestValues[n]=r.get())}removeValue(n){this.values.delete(n);const r=this.valueSubscriptions.get(n);r&&(r(),this.valueSubscriptions.delete(n)),delete this.latestValues[n],this.removeValueFromRenderState(n,this.renderState)}hasValue(n){return this.values.has(n)}getValue(n,r){if(this.props.values&&this.props.values[n])return this.props.values[n];let o=this.values.get(n);return o===void 0&&r!==void 0&&(o=yo(r===null?void 0:r,{owner:this}),this.addValue(n,o)),o}readValue(n,r){let o=this.latestValues[n]!==void 0||!this.current?this.latestValues[n]:this.getBaseTargetFromProps(this.props,n)??this.readValueFromInstance(this.current,n,this.options);return o!=null&&(typeof o=="string"&&(RT(o)||MT(o))?o=parseFloat(o):!lB(o)&&wr.test(r)&&(o=uC(n,r)),this.setBaseTarget(n,ln(o)?o.get():o)),ln(o)?o.get():o}setBaseTarget(n,r){this.baseTarget[n]=r}getBaseTarget(n){const{initial:r}=this.props;let o;if(typeof r=="string"||typeof r=="object"){const u=Km(this.props,r,this.presenceContext?.custom);u&&(o=u[n])}if(r&&o!==void 0)return o;const l=this.getBaseTargetFromProps(this.props,n);return l!==void 0&&!ln(l)?l:this.initialValues[n]!==void 0&&o===void 0?void 0:this.baseTarget[n]}on(n,r){return this.events[n]||(this.events[n]=new Am),this.events[n].add(r)}notify(n,...r){this.events[n]&&this.events[n].notify(...r)}scheduleRenderMicrotask(){Vm.render(this.render)}}class jC extends eN{constructor(){super(...arguments),this.KeyframeResolver=W6}sortInstanceNodePosition(n,r){return n.compareDocumentPosition(r)&2?1:-1}getBaseTargetFromProps(n,r){return n.style?n.style[r]:void 0}removeValueFromRenderState(n,{vars:r,style:o}){delete r[n],delete o[n]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:n}=this.props;ln(n)&&(this.childSubscription=n.on("change",r=>{this.current&&(this.current.textContent=`${r}`)}))}}function LC(t,{style:n,vars:r},o,l){const u=t.style;let c;for(c in n)u[c]=n[c];l?.applyProjectionStyles(u,o);for(c in r)u.setProperty(c,r[c])}function nN(t){return window.getComputedStyle(t)}class iN extends jC{constructor(){super(...arguments),this.type="html",this.renderInstance=LC}readValueFromInstance(n,r){if(Ro.has(r))return this.projection?.isProjecting?Sh(r):m6(n,r);{const o=nN(n),l=(Mm(r)?o.getPropertyValue(r):o[r])||0;return typeof l=="string"?l.trim():l}}measureInstanceViewportBox(n,{transformPagePoint:r}){return NC(n,r)}build(n,r,o){Im(n,r,o.transformTemplate)}scrapeMotionValuesFromProps(n,r,o){return Xm(n,r,o)}}const kC=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function rN(t,n,r,o){LC(t,n,void 0,o);for(const l in n.attrs)t.setAttribute(kC.has(l)?l:Wm(l),n.attrs[l])}class aN extends jC{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=ze}getBaseTargetFromProps(n,r){return n[r]}readValueFromInstance(n,r){if(Ro.has(r)){const o=lC(r);return o&&o.default||0}return r=kC.has(r)?r:Wm(r),n.getAttribute(r)}scrapeMotionValuesFromProps(n,r,o){return RC(n,r,o)}build(n,r,o){TC(n,r,this.isSVGTag,o.transformTemplate,o.style)}renderInstance(n,r,o,l){rN(n,r,o,l)}mount(n){this.isSVGTag=EC(n.tagName),super.mount(n)}}const oN=(t,n)=>Ym(t)?new aN(n):new iN(n,{allowProjection:t!==R.Fragment});function po(t,n,r){const o=t.getProps();return Km(o,n,r!==void 0?r:o.custom,t)}const Dh=t=>Array.isArray(t);function sN(t,n,r){t.hasValue(n)?t.getValue(n).set(r):t.addValue(n,yo(r))}function lN(t){return Dh(t)?t[t.length-1]||0:t}function uN(t,n){const r=po(t,n);let{transitionEnd:o={},transition:l={},...u}=r||{};u={...u,...o};for(const c in u){const d=lN(u[c]);sN(t,c,d)}}function cN(t){return!!(ln(t)&&t.add)}function zh(t,n){const r=t.getValue("willChange");if(cN(r))return r.add(n);if(!r&&Xi.WillChange){const o=new Xi.WillChange("auto");t.addValue("willChange",o),o.add(n)}}function PC(t){return t.props[wC]}const fN=t=>t!==null;function dN(t,{repeat:n,repeatType:r="loop"},o){const l=t.filter(fN),u=n&&r!=="loop"&&n%2===1?0:l.length-1;return l[u]}const pN={type:"spring",stiffness:500,damping:25,restSpeed:10},hN=t=>({type:"spring",stiffness:550,damping:t===0?2*Math.sqrt(550):30,restSpeed:10}),mN={type:"keyframes",duration:.8},gN={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},yN=(t,{keyframes:n})=>n.length>2?mN:Ro.has(t)?t.startsWith("scale")?hN(n[1]):pN:gN;function vN({when:t,delay:n,delayChildren:r,staggerChildren:o,staggerDirection:l,repeat:u,repeatType:c,repeatDelay:d,from:h,elapsed:m,...g}){return!!Object.keys(g).length}const Qm=(t,n,r,o={},l,u)=>c=>{const d=Pm(o,t)||{},h=d.delay||o.delay||0;let{elapsed:m=0}=o;m=m-Ti(h);const g={keyframes:Array.isArray(r)?r:[null,r],ease:"easeOut",velocity:n.getVelocity(),...d,delay:-m,onUpdate:b=>{n.set(b),d.onUpdate&&d.onUpdate(b)},onComplete:()=>{c(),d.onComplete&&d.onComplete()},name:t,motionValue:n,element:u?void 0:l};vN(d)||Object.assign(g,yN(t,g)),g.duration&&(g.duration=Ti(g.duration)),g.repeatDelay&&(g.repeatDelay=Ti(g.repeatDelay)),g.from!==void 0&&(g.keyframes[0]=g.from);let y=!1;if((g.type===!1||g.duration===0&&!g.repeatDelay)&&(Ah(g),g.delay===0&&(y=!0)),(Xi.instantAnimations||Xi.skipAnimations)&&(y=!0,Ah(g),g.delay=0),g.allowFlatten=!d.type&&!d.ease,y&&!u&&n.get()!==void 0){const b=dN(g.keyframes,d);if(b!==void 0){ge.update(()=>{g.onUpdate(b),g.onComplete()});return}}return d.isSync?new Lm(g):new P6(g)};function bN({protectedKeys:t,needsAnimating:n},r){const o=t.hasOwnProperty(r)&&n[r]!==!0;return n[r]=!1,o}function UC(t,n,{delay:r=0,transitionOverride:o,type:l}={}){let{transition:u=t.getDefaultTransition(),transitionEnd:c,...d}=n;o&&(u=o);const h=[],m=l&&t.animationState&&t.animationState.getState()[l];for(const g in d){const y=t.getValue(g,t.latestValues[g]??null),b=d[g];if(b===void 0||m&&bN(m,g))continue;const C={delay:r,...Pm(u||{},g)},S=y.get();if(S!==void 0&&!y.isAnimating&&!Array.isArray(b)&&b===S&&!C.velocity)continue;let x=!1;if(window.MotionHandoffAnimation){const M=PC(t);if(M){const N=window.MotionHandoffAnimation(M,g,ge);N!==null&&(C.startTime=N,x=!0)}}zh(t,g),y.start(Qm(g,y,b,t.shouldReduceMotion&&aC.has(g)?{type:!1}:C,t,x));const A=y.animation;A&&h.push(A)}return c&&Promise.all(h).then(()=>{ge.update(()=>{c&&uN(t,c)})}),h}function VC(t,n,r,o=0,l=1){const u=Array.from(t).sort((m,g)=>m.sortNodePosition(g)).indexOf(n),c=t.size,d=(c-1)*o;return typeof r=="function"?r(u,c):l===1?u*o:d-u*o}function Bh(t,n,r={}){const o=po(t,n,r.type==="exit"?t.presenceContext?.custom:void 0);let{transition:l=t.getDefaultTransition()||{}}=o||{};r.transitionOverride&&(l=r.transitionOverride);const u=o?()=>Promise.all(UC(t,o,r)):()=>Promise.resolve(),c=t.variantChildren&&t.variantChildren.size?(h=0)=>{const{delayChildren:m=0,staggerChildren:g,staggerDirection:y}=l;return SN(t,n,h,m,g,y,r)}:()=>Promise.resolve(),{when:d}=l;if(d){const[h,m]=d==="beforeChildren"?[u,c]:[c,u];return h().then(()=>m())}else return Promise.all([u(),c(r.delay)])}function SN(t,n,r=0,o=0,l=0,u=1,c){const d=[];for(const h of t.variantChildren)h.notify("AnimationStart",n),d.push(Bh(h,n,{...c,delay:r+(typeof o=="function"?0:o)+VC(t.variantChildren,h,o,l,u)}).then(()=>h.notify("AnimationComplete",n)));return Promise.all(d)}function xN(t,n,r={}){t.notify("AnimationStart",n);let o;if(Array.isArray(n)){const l=n.map(u=>Bh(t,u,r));o=Promise.all(l)}else if(typeof n=="string")o=Bh(t,n,r);else{const l=typeof n=="function"?po(t,n,r.custom):n;o=Promise.all(UC(t,l,r))}return o.then(()=>{t.notify("AnimationComplete",n)})}function $C(t,n){if(!Array.isArray(n))return!1;const r=n.length;if(r!==t.length)return!1;for(let o=0;o<r;o++)if(n[o]!==t[o])return!1;return!0}const TN=qm.length;function HC(t){if(!t)return;if(!t.isControllingVariants){const r=t.parent?HC(t.parent)||{}:{};return t.props.initial!==void 0&&(r.initial=t.props.initial),r}const n={};for(let r=0;r<TN;r++){const o=qm[r],l=t.props[o];(Ys(l)||l===!1)&&(n[o]=l)}return n}const CN=[...Fm].reverse(),EN=Fm.length;function AN(t){return n=>Promise.all(n.map(({animation:r,options:o})=>xN(t,r,o)))}function RN(t){let n=AN(t),r=s1(),o=!0;const l=h=>(m,g)=>{const y=po(t,g,h==="exit"?t.presenceContext?.custom:void 0);if(y){const{transition:b,transitionEnd:C,...S}=y;m={...m,...S,...C}}return m};function u(h){n=h(t)}function c(h){const{props:m}=t,g=HC(t.parent)||{},y=[],b=new Set;let C={},S=1/0;for(let A=0;A<EN;A++){const M=CN[A],N=r[M],w=m[M]!==void 0?m[M]:g[M],O=Ys(w),D=M===h?N.isActive:null;D===!1&&(S=A);let _=w===g[M]&&w!==m[M]&&O;if(_&&o&&t.manuallyAnimateOnMount&&(_=!1),N.protectedKeys={...C},!N.isActive&&D===null||!w&&!N.prevProp||Fc(w)||typeof w=="boolean")continue;const k=wN(N.prevProp,w);let V=k||M===h&&N.isActive&&!_&&O||A>S&&O,K=!1;const Z=Array.isArray(w)?w:[w];let et=Z.reduce(l(M),{});D===!1&&(et={});const{prevResolvedValues:E={}}=N,Q={...E,...et},G=F=>{V=!0,b.has(F)&&(K=!0,b.delete(F)),N.needsAnimating[F]=!0;const at=t.getValue(F);at&&(at.liveStyle=!1)};for(const F in Q){const at=et[F],nt=E[F];if(C.hasOwnProperty(F))continue;let ut=!1;Dh(at)&&Dh(nt)?ut=!$C(at,nt):ut=at!==nt,ut?at!=null?G(F):b.add(F):at!==void 0&&b.has(F)?G(F):N.protectedKeys[F]=!0}N.prevProp=w,N.prevResolvedValues=et,N.isActive&&(C={...C,...et}),o&&t.blockInitialAnimation&&(V=!1);const W=_&&k;V&&(!W||K)&&y.push(...Z.map(F=>{const at={type:M};if(typeof F=="string"&&o&&!W&&t.manuallyAnimateOnMount&&t.parent){const{parent:nt}=t,ut=po(nt,F);if(nt.enteringChildren&&ut){const{delayChildren:j}=ut.transition||{};at.delay=VC(nt.enteringChildren,t,j)}}return{animation:F,options:at}}))}if(b.size){const A={};if(typeof m.initial!="boolean"){const M=po(t,Array.isArray(m.initial)?m.initial[0]:m.initial);M&&M.transition&&(A.transition=M.transition)}b.forEach(M=>{const N=t.getBaseTarget(M),w=t.getValue(M);w&&(w.liveStyle=!0),A[M]=N??null}),y.push({animation:A})}let x=!!y.length;return o&&(m.initial===!1||m.initial===m.animate)&&!t.manuallyAnimateOnMount&&(x=!1),o=!1,x?n(y):Promise.resolve()}function d(h,m){if(r[h].isActive===m)return Promise.resolve();t.variantChildren?.forEach(y=>y.animationState?.setActive(h,m)),r[h].isActive=m;const g=c(h);for(const y in r)r[y].protectedKeys={};return g}return{animateChanges:c,setActive:d,setAnimateFunction:u,getState:()=>r,reset:()=>{r=s1()}}}function wN(t,n){return typeof n=="string"?n!==t:Array.isArray(n)?!$C(n,t):!1}function Wr(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function s1(){return{animate:Wr(!0),whileInView:Wr(),whileHover:Wr(),whileTap:Wr(),whileDrag:Wr(),whileFocus:Wr(),exit:Wr()}}class Mr{constructor(n){this.isMounted=!1,this.node=n}update(){}}class MN extends Mr{constructor(n){super(n),n.animationState||(n.animationState=RN(n))}updateAnimationControlsSubscription(){const{animate:n}=this.node.getProps();Fc(n)&&(this.unmountControls=n.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:n}=this.node.getProps(),{animate:r}=this.node.prevProps||{};n!==r&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}let ON=0;class DN extends Mr{constructor(){super(...arguments),this.id=ON++}update(){if(!this.node.presenceContext)return;const{isPresent:n,onExitComplete:r}=this.node.presenceContext,{isPresent:o}=this.node.prevPresenceContext||{};if(!this.node.animationState||n===o)return;const l=this.node.animationState.setActive("exit",!n);r&&!n&&l.then(()=>{r(this.id)})}mount(){const{register:n,onExitComplete:r}=this.node.presenceContext||{};r&&r(this.id),n&&(this.unmount=n(this.id))}unmount(){}}const zN={animation:{Feature:MN},exit:{Feature:DN}};function Xs(t,n,r,o={passive:!0}){return t.addEventListener(n,r,o),()=>t.removeEventListener(n,r)}function pl(t){return{point:{x:t.pageX,y:t.pageY}}}const BN=t=>n=>$m(n)&&t(n,pl(n));function Ls(t,n,r,o){return Xs(t,n,BN(r),o)}const FC=1e-4,NN=1-FC,_N=1+FC,qC=.01,jN=0-qC,LN=0+qC;function cn(t){return t.max-t.min}function kN(t,n,r){return Math.abs(t-n)<=r}function l1(t,n,r,o=.5){t.origin=o,t.originPoint=be(n.min,n.max,t.origin),t.scale=cn(r)/cn(n),t.translate=be(r.min,r.max,t.origin)-t.originPoint,(t.scale>=NN&&t.scale<=_N||isNaN(t.scale))&&(t.scale=1),(t.translate>=jN&&t.translate<=LN||isNaN(t.translate))&&(t.translate=0)}function ks(t,n,r,o){l1(t.x,n.x,r.x,o?o.originX:void 0),l1(t.y,n.y,r.y,o?o.originY:void 0)}function u1(t,n,r){t.min=r.min+n.min,t.max=t.min+cn(n)}function PN(t,n,r){u1(t.x,n.x,r.x),u1(t.y,n.y,r.y)}function c1(t,n,r){t.min=n.min-r.min,t.max=t.min+cn(n)}function Ps(t,n,r){c1(t.x,n.x,r.x),c1(t.y,n.y,r.y)}function In(t){return[t("x"),t("y")]}const IC=({current:t})=>t?t.ownerDocument.defaultView:null,f1=(t,n)=>Math.abs(t-n);function UN(t,n){const r=f1(t.x,n.x),o=f1(t.y,n.y);return Math.sqrt(r**2+o**2)}class GC{constructor(n,r,{transformPagePoint:o,contextWindow:l=window,dragSnapToOrigin:u=!1,distanceThreshold:c=3}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const b=Lp(this.lastMoveEventInfo,this.history),C=this.startEvent!==null,S=UN(b.offset,{x:0,y:0})>=this.distanceThreshold;if(!C&&!S)return;const{point:x}=b,{timestamp:A}=Je;this.history.push({...x,timestamp:A});const{onStart:M,onMove:N}=this.handlers;C||(M&&M(this.lastMoveEvent,b),this.startEvent=this.lastMoveEvent),N&&N(this.lastMoveEvent,b)},this.handlePointerMove=(b,C)=>{this.lastMoveEvent=b,this.lastMoveEventInfo=jp(C,this.transformPagePoint),ge.update(this.updatePoint,!0)},this.handlePointerUp=(b,C)=>{this.end();const{onEnd:S,onSessionEnd:x,resumeAnimation:A}=this.handlers;if(this.dragSnapToOrigin&&A&&A(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const M=Lp(b.type==="pointercancel"?this.lastMoveEventInfo:jp(C,this.transformPagePoint),this.history);this.startEvent&&S&&S(b,M),x&&x(b,M)},!$m(n))return;this.dragSnapToOrigin=u,this.handlers=r,this.transformPagePoint=o,this.distanceThreshold=c,this.contextWindow=l||window;const d=pl(n),h=jp(d,this.transformPagePoint),{point:m}=h,{timestamp:g}=Je;this.history=[{...m,timestamp:g}];const{onSessionStart:y}=r;y&&y(n,Lp(h,this.history)),this.removeListeners=cl(Ls(this.contextWindow,"pointermove",this.handlePointerMove),Ls(this.contextWindow,"pointerup",this.handlePointerUp),Ls(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(n){this.handlers=n}end(){this.removeListeners&&this.removeListeners(),Rr(this.updatePoint)}}function jp(t,n){return n?{point:n(t.point)}:t}function d1(t,n){return{x:t.x-n.x,y:t.y-n.y}}function Lp({point:t},n){return{point:t,delta:d1(t,YC(n)),offset:d1(t,VN(n)),velocity:$N(n,.1)}}function VN(t){return t[0]}function YC(t){return t[t.length-1]}function $N(t,n){if(t.length<2)return{x:0,y:0};let r=t.length-1,o=null;const l=YC(t);for(;r>=0&&(o=t[r],!(l.timestamp-o.timestamp>Ti(n)));)r--;if(!o)return{x:0,y:0};const u=Kn(l.timestamp-o.timestamp);if(u===0)return{x:0,y:0};const c={x:(l.x-o.x)/u,y:(l.y-o.y)/u};return c.x===1/0&&(c.x=0),c.y===1/0&&(c.y=0),c}function HN(t,{min:n,max:r},o){return n!==void 0&&t<n?t=o?be(n,t,o.min):Math.max(t,n):r!==void 0&&t>r&&(t=o?be(r,t,o.max):Math.min(t,r)),t}function p1(t,n,r){return{min:n!==void 0?t.min+n:void 0,max:r!==void 0?t.max+r-(t.max-t.min):void 0}}function FN(t,{top:n,left:r,bottom:o,right:l}){return{x:p1(t.x,r,l),y:p1(t.y,n,o)}}function h1(t,n){let r=n.min-t.min,o=n.max-t.max;return n.max-n.min<t.max-t.min&&([r,o]=[o,r]),{min:r,max:o}}function qN(t,n){return{x:h1(t.x,n.x),y:h1(t.y,n.y)}}function IN(t,n){let r=.5;const o=cn(t),l=cn(n);return l>o?r=qs(n.min,n.max-o,t.min):o>l&&(r=qs(t.min,t.max-l,n.min)),Ki(0,1,r)}function GN(t,n){const r={};return n.min!==void 0&&(r.min=n.min-t.min),n.max!==void 0&&(r.max=n.max-t.min),r}const Nh=.35;function YN(t=Nh){return t===!1?t=0:t===!0&&(t=Nh),{x:m1(t,"left","right"),y:m1(t,"top","bottom")}}function m1(t,n,r){return{min:g1(t,n),max:g1(t,r)}}function g1(t,n){return typeof t=="number"?t:t[n]||0}const KN=new WeakMap;class XN{constructor(n){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=ze(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=n}start(n,{snapToCursor:r=!1,distanceThreshold:o}={}){const{presenceContext:l}=this.visualElement;if(l&&l.isPresent===!1)return;const u=y=>{const{dragSnapToOrigin:b}=this.getProps();b?this.pauseAnimation():this.stopAnimation(),r&&this.snapToCursor(pl(y).point)},c=(y,b)=>{const{drag:C,dragPropagation:S,onDragStart:x}=this.getProps();if(C&&!S&&(this.openDragLock&&this.openDragLock(),this.openDragLock=tB(C),!this.openDragLock))return;this.latestPointerEvent=y,this.latestPanInfo=b,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),In(M=>{let N=this.getAxisMotionValue(M).get()||0;if(Ci.test(N)){const{projection:w}=this.visualElement;if(w&&w.layout){const O=w.layout.layoutBox[M];O&&(N=cn(O)*(parseFloat(N)/100))}}this.originPoint[M]=N}),x&&ge.postRender(()=>x(y,b)),zh(this.visualElement,"transform");const{animationState:A}=this.visualElement;A&&A.setActive("whileDrag",!0)},d=(y,b)=>{this.latestPointerEvent=y,this.latestPanInfo=b;const{dragPropagation:C,dragDirectionLock:S,onDirectionLock:x,onDrag:A}=this.getProps();if(!C&&!this.openDragLock)return;const{offset:M}=b;if(S&&this.currentDirection===null){this.currentDirection=WN(M),this.currentDirection!==null&&x&&x(this.currentDirection);return}this.updateAxis("x",b.point,M),this.updateAxis("y",b.point,M),this.visualElement.render(),A&&A(y,b)},h=(y,b)=>{this.latestPointerEvent=y,this.latestPanInfo=b,this.stop(y,b),this.latestPointerEvent=null,this.latestPanInfo=null},m=()=>In(y=>this.getAnimationState(y)==="paused"&&this.getAxisMotionValue(y).animation?.play()),{dragSnapToOrigin:g}=this.getProps();this.panSession=new GC(n,{onSessionStart:u,onStart:c,onMove:d,onSessionEnd:h,resumeAnimation:m},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:g,distanceThreshold:o,contextWindow:IC(this.visualElement)})}stop(n,r){const o=n||this.latestPointerEvent,l=r||this.latestPanInfo,u=this.isDragging;if(this.cancel(),!u||!l||!o)return;const{velocity:c}=l;this.startAnimation(c);const{onDragEnd:d}=this.getProps();d&&ge.postRender(()=>d(o,l))}cancel(){this.isDragging=!1;const{projection:n,animationState:r}=this.visualElement;n&&(n.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:o}=this.getProps();!o&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),r&&r.setActive("whileDrag",!1)}updateAxis(n,r,o){const{drag:l}=this.getProps();if(!o||!Fu(n,l,this.currentDirection))return;const u=this.getAxisMotionValue(n);let c=this.originPoint[n]+o[n];this.constraints&&this.constraints[n]&&(c=HN(c,this.constraints[n],this.elastic[n])),u.set(c)}resolveConstraints(){const{dragConstraints:n,dragElastic:r}=this.getProps(),o=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,l=this.constraints;n&&ao(n)?this.constraints||(this.constraints=this.resolveRefConstraints()):n&&o?this.constraints=FN(o.layoutBox,n):this.constraints=!1,this.elastic=YN(r),l!==this.constraints&&o&&this.constraints&&!this.hasMutatedConstraints&&In(u=>{this.constraints!==!1&&this.getAxisMotionValue(u)&&(this.constraints[u]=GN(o.layoutBox[u],this.constraints[u]))})}resolveRefConstraints(){const{dragConstraints:n,onMeasureDragConstraints:r}=this.getProps();if(!n||!ao(n))return!1;const o=n.current,{projection:l}=this.visualElement;if(!l||!l.layout)return!1;const u=QB(o,l.root,this.visualElement.getTransformPagePoint());let c=qN(l.layout.layoutBox,u);if(r){const d=r(KB(c));this.hasMutatedConstraints=!!d,d&&(c=DC(d))}return c}startAnimation(n){const{drag:r,dragMomentum:o,dragElastic:l,dragTransition:u,dragSnapToOrigin:c,onDragTransitionEnd:d}=this.getProps(),h=this.constraints||{},m=In(g=>{if(!Fu(g,r,this.currentDirection))return;let y=h&&h[g]||{};c&&(y={min:0,max:0});const b=l?200:1e6,C=l?40:1e7,S={type:"inertia",velocity:o?n[g]:0,bounceStiffness:b,bounceDamping:C,timeConstant:750,restDelta:1,restSpeed:10,...u,...y};return this.startAxisValueAnimation(g,S)});return Promise.all(m).then(d)}startAxisValueAnimation(n,r){const o=this.getAxisMotionValue(n);return zh(this.visualElement,n),o.start(Qm(n,o,0,r,this.visualElement,!1))}stopAnimation(){In(n=>this.getAxisMotionValue(n).stop())}pauseAnimation(){In(n=>this.getAxisMotionValue(n).animation?.pause())}getAnimationState(n){return this.getAxisMotionValue(n).animation?.state}getAxisMotionValue(n){const r=`_drag${n.toUpperCase()}`,o=this.visualElement.getProps(),l=o[r];return l||this.visualElement.getValue(n,(o.initial?o.initial[n]:void 0)||0)}snapToCursor(n){In(r=>{const{drag:o}=this.getProps();if(!Fu(r,o,this.currentDirection))return;const{projection:l}=this.visualElement,u=this.getAxisMotionValue(r);if(l&&l.layout){const{min:c,max:d}=l.layout.layoutBox[r];u.set(n[r]-be(c,d,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:n,dragConstraints:r}=this.getProps(),{projection:o}=this.visualElement;if(!ao(r)||!o||!this.constraints)return;this.stopAnimation();const l={x:0,y:0};In(c=>{const d=this.getAxisMotionValue(c);if(d&&this.constraints!==!1){const h=d.get();l[c]=IN({min:h,max:h},this.constraints[c])}});const{transformTemplate:u}=this.visualElement.getProps();this.visualElement.current.style.transform=u?u({},""):"none",o.root&&o.root.updateScroll(),o.updateLayout(),this.resolveConstraints(),In(c=>{if(!Fu(c,n,null))return;const d=this.getAxisMotionValue(c),{min:h,max:m}=this.constraints[c];d.set(be(h,m,l[c]))})}addListeners(){if(!this.visualElement.current)return;KN.set(this.visualElement,this);const n=this.visualElement.current,r=Ls(n,"pointerdown",h=>{const{drag:m,dragListener:g=!0}=this.getProps();m&&g&&this.start(h)}),o=()=>{const{dragConstraints:h}=this.getProps();ao(h)&&h.current&&(this.constraints=this.resolveRefConstraints())},{projection:l}=this.visualElement,u=l.addEventListener("measure",o);l&&!l.layout&&(l.root&&l.root.updateScroll(),l.updateLayout()),ge.read(o);const c=Xs(window,"resize",()=>this.scalePositionWithinConstraints()),d=l.addEventListener("didUpdate",(({delta:h,hasLayoutChanged:m})=>{this.isDragging&&m&&(In(g=>{const y=this.getAxisMotionValue(g);y&&(this.originPoint[g]+=h[g].translate,y.set(y.get()+h[g].translate))}),this.visualElement.render())}));return()=>{c(),r(),u(),d&&d()}}getProps(){const n=this.visualElement.getProps(),{drag:r=!1,dragDirectionLock:o=!1,dragPropagation:l=!1,dragConstraints:u=!1,dragElastic:c=Nh,dragMomentum:d=!0}=n;return{...n,drag:r,dragDirectionLock:o,dragPropagation:l,dragConstraints:u,dragElastic:c,dragMomentum:d}}}function Fu(t,n,r){return(n===!0||n===t)&&(r===null||r===t)}function WN(t,n=10){let r=null;return Math.abs(t.y)>n?r="y":Math.abs(t.x)>n&&(r="x"),r}class QN extends Mr{constructor(n){super(n),this.removeGroupControls=Wn,this.removeListeners=Wn,this.controls=new XN(n)}mount(){const{dragControls:n}=this.node.getProps();n&&(this.removeGroupControls=n.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Wn}unmount(){this.removeGroupControls(),this.removeListeners()}}const y1=t=>(n,r)=>{t&&ge.postRender(()=>t(n,r))};class ZN extends Mr{constructor(){super(...arguments),this.removePointerDownListener=Wn}onPointerDown(n){this.session=new GC(n,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:IC(this.node)})}createPanHandlers(){const{onPanSessionStart:n,onPanStart:r,onPan:o,onPanEnd:l}=this.node.getProps();return{onSessionStart:y1(n),onStart:y1(r),onMove:o,onEnd:(u,c)=>{delete this.session,l&&ge.postRender(()=>l(u,c))}}}mount(){this.removePointerDownListener=Ls(this.node.current,"pointerdown",n=>this.onPointerDown(n))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}const ec={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function v1(t,n){return n.max===n.min?0:t/(n.max-n.min)*100}const Rs={correct:(t,n)=>{if(!n.target)return t;if(typeof t=="string")if(Tt.test(t))t=parseFloat(t);else return t;const r=v1(t,n.target.x),o=v1(t,n.target.y);return`${r}% ${o}%`}},JN={correct:(t,{treeScale:n,projectionDelta:r})=>{const o=t,l=wr.parse(t);if(l.length>5)return o;const u=wr.createTransformer(t),c=typeof l[0]!="number"?1:0,d=r.x.scale*n.x,h=r.y.scale*n.y;l[0+c]/=d,l[1+c]/=h;const m=be(d,h,.5);return typeof l[2+c]=="number"&&(l[2+c]/=m),typeof l[3+c]=="number"&&(l[3+c]/=m),u(l)}};let kp=!1;class t_ extends R.Component{componentDidMount(){const{visualElement:n,layoutGroup:r,switchLayoutGroup:o,layoutId:l}=this.props,{projection:u}=n;TB(e_),u&&(r.group&&r.group.add(u),o&&o.register&&l&&o.register(u),kp&&u.root.didUpdate(),u.addEventListener("animationComplete",()=>{this.safeToRemove()}),u.setOptions({...u.options,onExitComplete:()=>this.safeToRemove()})),ec.hasEverUpdated=!0}getSnapshotBeforeUpdate(n){const{layoutDependency:r,visualElement:o,drag:l,isPresent:u}=this.props,{projection:c}=o;return c&&(c.isPresent=u,kp=!0,l||n.layoutDependency!==r||r===void 0||n.isPresent!==u?c.willUpdate():this.safeToRemove(),n.isPresent!==u&&(u?c.promote():c.relegate()||ge.postRender(()=>{const d=c.getStack();(!d||!d.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:n}=this.props.visualElement;n&&(n.root.didUpdate(),Vm.postRender(()=>{!n.currentAnimation&&n.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:n,layoutGroup:r,switchLayoutGroup:o}=this.props,{projection:l}=n;kp=!0,l&&(l.scheduleCheckAfterUnmount(),r&&r.group&&r.group.remove(l),o&&o.deregister&&o.deregister(l))}safeToRemove(){const{safeToRemove:n}=this.props;n&&n()}render(){return null}}function KC(t){const[n,r]=gC(),o=R.useContext(vm);return z.jsx(t_,{...t,layoutGroup:o,switchLayoutGroup:R.useContext(MC),isPresent:n,safeToRemove:r})}const e_={borderRadius:{...Rs,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Rs,borderTopRightRadius:Rs,borderBottomLeftRadius:Rs,borderBottomRightRadius:Rs,boxShadow:JN};function n_(t,n,r){const o=ln(t)?t:yo(t);return o.start(Qm("",o,n,r)),o.animation}const i_=(t,n)=>t.depth-n.depth;class r_{constructor(){this.children=[],this.isDirty=!1}add(n){xm(this.children,n),this.isDirty=!0}remove(n){Tm(this.children,n),this.isDirty=!0}forEach(n){this.isDirty&&this.children.sort(i_),this.isDirty=!1,this.children.forEach(n)}}function a_(t,n){const r=vn.now(),o=({timestamp:l})=>{const u=l-r;u>=n&&(Rr(o),t(u-n))};return ge.setup(o,!0),()=>Rr(o)}const XC=["TopLeft","TopRight","BottomLeft","BottomRight"],o_=XC.length,b1=t=>typeof t=="string"?parseFloat(t):t,S1=t=>typeof t=="number"||Tt.test(t);function s_(t,n,r,o,l,u){l?(t.opacity=be(0,r.opacity??1,l_(o)),t.opacityExit=be(n.opacity??1,0,u_(o))):u&&(t.opacity=be(n.opacity??1,r.opacity??1,o));for(let c=0;c<o_;c++){const d=`border${XC[c]}Radius`;let h=x1(n,d),m=x1(r,d);if(h===void 0&&m===void 0)continue;h||(h=0),m||(m=0),h===0||m===0||S1(h)===S1(m)?(t[d]=Math.max(be(b1(h),b1(m),o),0),(Ci.test(m)||Ci.test(h))&&(t[d]+="%")):t[d]=m}(n.rotate||r.rotate)&&(t.rotate=be(n.rotate||0,r.rotate||0,o))}function x1(t,n){return t[n]!==void 0?t[n]:t.borderRadius}const l_=WC(0,.5,LT),u_=WC(.5,.95,Wn);function WC(t,n,r){return o=>o<t?0:o>n?1:r(qs(t,n,o))}function T1(t,n){t.min=n.min,t.max=n.max}function qn(t,n){T1(t.x,n.x),T1(t.y,n.y)}function C1(t,n){t.translate=n.translate,t.scale=n.scale,t.originPoint=n.originPoint,t.origin=n.origin}function E1(t,n,r,o,l){return t-=n,t=mc(t,1/r,o),l!==void 0&&(t=mc(t,1/l,o)),t}function c_(t,n=0,r=1,o=.5,l,u=t,c=t){if(Ci.test(n)&&(n=parseFloat(n),n=be(c.min,c.max,n/100)-c.min),typeof n!="number")return;let d=be(u.min,u.max,o);t===u&&(d-=n),t.min=E1(t.min,n,r,d,l),t.max=E1(t.max,n,r,d,l)}function A1(t,n,[r,o,l],u,c){c_(t,n[r],n[o],n[l],n.scale,u,c)}const f_=["x","scaleX","originX"],d_=["y","scaleY","originY"];function R1(t,n,r,o){A1(t.x,n,f_,r?r.x:void 0,o?o.x:void 0),A1(t.y,n,d_,r?r.y:void 0,o?o.y:void 0)}function w1(t){return t.translate===0&&t.scale===1}function QC(t){return w1(t.x)&&w1(t.y)}function M1(t,n){return t.min===n.min&&t.max===n.max}function p_(t,n){return M1(t.x,n.x)&&M1(t.y,n.y)}function O1(t,n){return Math.round(t.min)===Math.round(n.min)&&Math.round(t.max)===Math.round(n.max)}function ZC(t,n){return O1(t.x,n.x)&&O1(t.y,n.y)}function D1(t){return cn(t.x)/cn(t.y)}function z1(t,n){return t.translate===n.translate&&t.scale===n.scale&&t.originPoint===n.originPoint}class h_{constructor(){this.members=[]}add(n){xm(this.members,n),n.scheduleRender()}remove(n){if(Tm(this.members,n),n===this.prevLead&&(this.prevLead=void 0),n===this.lead){const r=this.members[this.members.length-1];r&&this.promote(r)}}relegate(n){const r=this.members.findIndex(l=>n===l);if(r===0)return!1;let o;for(let l=r;l>=0;l--){const u=this.members[l];if(u.isPresent!==!1){o=u;break}}return o?(this.promote(o),!0):!1}promote(n,r){const o=this.lead;if(n!==o&&(this.prevLead=o,this.lead=n,n.show(),o)){o.instance&&o.scheduleRender(),n.scheduleRender(),n.resumeFrom=o,r&&(n.resumeFrom.preserveOpacity=!0),o.snapshot&&(n.snapshot=o.snapshot,n.snapshot.latestValues=o.animationValues||o.latestValues),n.root&&n.root.isUpdating&&(n.isLayoutDirty=!0);const{crossfade:l}=n.options;l===!1&&o.hide()}}exitAnimationComplete(){this.members.forEach(n=>{const{options:r,resumingFrom:o}=n;r.onExitComplete&&r.onExitComplete(),o&&o.options.onExitComplete&&o.options.onExitComplete()})}scheduleRender(){this.members.forEach(n=>{n.instance&&n.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function m_(t,n,r){let o="";const l=t.x.translate/n.x,u=t.y.translate/n.y,c=r?.z||0;if((l||u||c)&&(o=`translate3d(${l}px, ${u}px, ${c}px) `),(n.x!==1||n.y!==1)&&(o+=`scale(${1/n.x}, ${1/n.y}) `),r){const{transformPerspective:m,rotate:g,rotateX:y,rotateY:b,skewX:C,skewY:S}=r;m&&(o=`perspective(${m}px) ${o}`),g&&(o+=`rotate(${g}deg) `),y&&(o+=`rotateX(${y}deg) `),b&&(o+=`rotateY(${b}deg) `),C&&(o+=`skewX(${C}deg) `),S&&(o+=`skewY(${S}deg) `)}const d=t.x.scale*n.x,h=t.y.scale*n.y;return(d!==1||h!==1)&&(o+=`scale(${d}, ${h})`),o||"none"}const Pp=["","X","Y","Z"],g_=1e3;let y_=0;function Up(t,n,r,o){const{latestValues:l}=n;l[t]&&(r[t]=l[t],n.setStaticValue(t,0),o&&(o[t]=0))}function JC(t){if(t.hasCheckedOptimisedAppear=!0,t.root===t)return;const{visualElement:n}=t.options;if(!n)return;const r=PC(n);if(window.MotionHasOptimisedAnimation(r,"transform")){const{layout:l,layoutId:u}=t.options;window.MotionCancelOptimisedAnimation(r,"transform",ge,!(l||u))}const{parent:o}=t;o&&!o.hasCheckedOptimisedAppear&&JC(o)}function t2({attachResizeListener:t,defaultParent:n,measureScroll:r,checkIsScrollRoot:o,resetTransform:l}){return class{constructor(c={},d=n?.()){this.id=y_++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,this.nodes.forEach(S_),this.nodes.forEach(E_),this.nodes.forEach(A_),this.nodes.forEach(x_)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=c,this.root=d?d.root||d:this,this.path=d?[...d.path,d]:[],this.parent=d,this.depth=d?d.depth+1:0;for(let h=0;h<this.path.length;h++)this.path[h].shouldResetTransform=!0;this.root===this&&(this.nodes=new r_)}addEventListener(c,d){return this.eventHandlers.has(c)||this.eventHandlers.set(c,new Am),this.eventHandlers.get(c).add(d)}notifyListeners(c,...d){const h=this.eventHandlers.get(c);h&&h.notify(...d)}hasListeners(c){return this.eventHandlers.has(c)}mount(c){if(this.instance)return;this.isSVG=mC(c)&&!oB(c),this.instance=c;const{layoutId:d,layout:h,visualElement:m}=this.options;if(m&&!m.current&&m.mount(c),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(h||d)&&(this.isLayoutDirty=!0),t){let g,y=0;const b=()=>this.root.updateBlockedByResize=!1;ge.read(()=>{y=window.innerWidth}),t(c,()=>{const C=window.innerWidth;C!==y&&(y=C,this.root.updateBlockedByResize=!0,g&&g(),g=a_(b,250),ec.hasAnimatedSinceResize&&(ec.hasAnimatedSinceResize=!1,this.nodes.forEach(_1)))})}d&&this.root.registerSharedNode(d,this),this.options.animate!==!1&&m&&(d||h)&&this.addEventListener("didUpdate",({delta:g,hasLayoutChanged:y,hasRelativeLayoutChanged:b,layout:C})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const S=this.options.transition||m.getDefaultTransition()||D_,{onLayoutAnimationStart:x,onLayoutAnimationComplete:A}=m.getProps(),M=!this.targetLayout||!ZC(this.targetLayout,C),N=!y&&b;if(this.options.layoutRoot||this.resumeFrom||N||y&&(M||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const w={...Pm(S,"layout"),onPlay:x,onComplete:A};(m.shouldReduceMotion||this.options.layoutRoot)&&(w.delay=0,w.type=!1),this.startAnimation(w),this.setAnimationOrigin(g,N)}else y||_1(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=C})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const c=this.getStack();c&&c.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),Rr(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(R_),this.animationId++)}getTransformTemplate(){const{visualElement:c}=this.options;return c&&c.getProps().transformTemplate}willUpdate(c=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&JC(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let g=0;g<this.path.length;g++){const y=this.path[g];y.shouldResetTransform=!0,y.updateScroll("snapshot"),y.options.layoutRoot&&y.willUpdate(!1)}const{layoutId:d,layout:h}=this.options;if(d===void 0&&!h)return;const m=this.getTransformTemplate();this.prevTransformTemplateValue=m?m(this.latestValues,""):void 0,this.updateSnapshot(),c&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(B1);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(N1);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(C_),this.nodes.forEach(v_),this.nodes.forEach(b_)):this.nodes.forEach(N1),this.clearAllSnapshots();const d=vn.now();Je.delta=Ki(0,1e3/60,d-Je.timestamp),Je.timestamp=d,Je.isProcessing=!0,wp.update.process(Je),wp.preRender.process(Je),wp.render.process(Je),Je.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,Vm.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(T_),this.sharedNodes.forEach(w_)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,ge.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){ge.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!cn(this.snapshot.measuredBox.x)&&!cn(this.snapshot.measuredBox.y)&&(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let h=0;h<this.path.length;h++)this.path[h].updateScroll();const c=this.layout;this.layout=this.measure(!1),this.layoutCorrected=ze(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:d}=this.options;d&&d.notify("LayoutMeasure",this.layout.layoutBox,c?c.layoutBox:void 0)}updateScroll(c="measure"){let d=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===c&&(d=!1),d&&this.instance){const h=o(this.instance);this.scroll={animationId:this.root.animationId,phase:c,isRoot:h,offset:r(this.instance),wasRoot:this.scroll?this.scroll.isRoot:h}}}resetTransform(){if(!l)return;const c=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,d=this.projectionDelta&&!QC(this.projectionDelta),h=this.getTransformTemplate(),m=h?h(this.latestValues,""):void 0,g=m!==this.prevTransformTemplateValue;c&&this.instance&&(d||ta(this.latestValues)||g)&&(l(this.instance,m),this.shouldResetTransform=!1,this.scheduleRender())}measure(c=!0){const d=this.measurePageBox();let h=this.removeElementScroll(d);return c&&(h=this.removeTransform(h)),z_(h),{animationId:this.root.animationId,measuredBox:d,layoutBox:h,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:c}=this.options;if(!c)return ze();const d=c.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(B_))){const{scroll:m}=this.root;m&&(oo(d.x,m.offset.x),oo(d.y,m.offset.y))}return d}removeElementScroll(c){const d=ze();if(qn(d,c),this.scroll?.wasRoot)return d;for(let h=0;h<this.path.length;h++){const m=this.path[h],{scroll:g,options:y}=m;m!==this.root&&g&&y.layoutScroll&&(g.wasRoot&&qn(d,c),oo(d.x,g.offset.x),oo(d.y,g.offset.y))}return d}applyTransform(c,d=!1){const h=ze();qn(h,c);for(let m=0;m<this.path.length;m++){const g=this.path[m];!d&&g.options.layoutScroll&&g.scroll&&g!==g.root&&so(h,{x:-g.scroll.offset.x,y:-g.scroll.offset.y}),ta(g.latestValues)&&so(h,g.latestValues)}return ta(this.latestValues)&&so(h,this.latestValues),h}removeTransform(c){const d=ze();qn(d,c);for(let h=0;h<this.path.length;h++){const m=this.path[h];if(!m.instance||!ta(m.latestValues))continue;wh(m.latestValues)&&m.updateSnapshot();const g=ze(),y=m.measurePageBox();qn(g,y),R1(d,m.latestValues,m.snapshot?m.snapshot.layoutBox:void 0,g)}return ta(this.latestValues)&&R1(d,this.latestValues),d}setTargetDelta(c){this.targetDelta=c,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(c){this.options={...this.options,...c,crossfade:c.crossfade!==void 0?c.crossfade:!0}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==Je.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(c=!1){const d=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=d.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=d.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=d.isSharedProjectionDirty);const h=!!this.resumingFrom||this!==d;if(!(c||h&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:g,layoutId:y}=this.options;if(!(!this.layout||!(g||y))){if(this.resolvedRelativeTargetAt=Je.timestamp,!this.targetDelta&&!this.relativeTarget){const b=this.getClosestProjectingParent();b&&b.layout&&this.animationProgress!==1?(this.relativeParent=b,this.forceRelativeParentToResolveTarget(),this.relativeTarget=ze(),this.relativeTargetOrigin=ze(),Ps(this.relativeTargetOrigin,this.layout.layoutBox,b.layout.layoutBox),qn(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=ze(),this.targetWithTransforms=ze()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),PN(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):qn(this.target,this.layout.layoutBox),BC(this.target,this.targetDelta)):qn(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget)){this.attemptToResolveRelativeTarget=!1;const b=this.getClosestProjectingParent();b&&!!b.resumingFrom==!!this.resumingFrom&&!b.options.layoutScroll&&b.target&&this.animationProgress!==1?(this.relativeParent=b,this.forceRelativeParentToResolveTarget(),this.relativeTarget=ze(),this.relativeTargetOrigin=ze(),Ps(this.relativeTargetOrigin,this.target,b.target),qn(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}}}getClosestProjectingParent(){if(!(!this.parent||wh(this.parent.latestValues)||zC(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){const c=this.getLead(),d=!!this.resumingFrom||this!==c;let h=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(h=!1),d&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(h=!1),this.resolvedRelativeTargetAt===Je.timestamp&&(h=!1),h)return;const{layout:m,layoutId:g}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(m||g))return;qn(this.layoutCorrected,this.layout.layoutBox);const y=this.treeScale.x,b=this.treeScale.y;WB(this.layoutCorrected,this.treeScale,this.path,d),c.layout&&!c.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(c.target=c.layout.layoutBox,c.targetWithTransforms=ze());const{target:C}=c;if(!C){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(C1(this.prevProjectionDelta.x,this.projectionDelta.x),C1(this.prevProjectionDelta.y,this.projectionDelta.y)),ks(this.projectionDelta,this.layoutCorrected,C,this.latestValues),(this.treeScale.x!==y||this.treeScale.y!==b||!z1(this.projectionDelta.x,this.prevProjectionDelta.x)||!z1(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",C))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(c=!0){if(this.options.visualElement?.scheduleRender(),c){const d=this.getStack();d&&d.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=lo(),this.projectionDelta=lo(),this.projectionDeltaWithTransform=lo()}setAnimationOrigin(c,d=!1){const h=this.snapshot,m=h?h.latestValues:{},g={...this.latestValues},y=lo();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!d;const b=ze(),C=h?h.source:void 0,S=this.layout?this.layout.source:void 0,x=C!==S,A=this.getStack(),M=!A||A.members.length<=1,N=!!(x&&!M&&this.options.crossfade===!0&&!this.path.some(O_));this.animationProgress=0;let w;this.mixTargetDelta=O=>{const D=O/1e3;j1(y.x,c.x,D),j1(y.y,c.y,D),this.setTargetDelta(y),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Ps(b,this.layout.layoutBox,this.relativeParent.layout.layoutBox),M_(this.relativeTarget,this.relativeTargetOrigin,b,D),w&&p_(this.relativeTarget,w)&&(this.isProjectionDirty=!1),w||(w=ze()),qn(w,this.relativeTarget)),x&&(this.animationValues=g,s_(g,m,this.latestValues,D,N,M)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=D},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(c){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&(Rr(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=ge.update(()=>{ec.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=yo(0)),this.currentAnimation=n_(this.motionValue,[0,1e3],{...c,velocity:0,isSync:!0,onUpdate:d=>{this.mixTargetDelta(d),c.onUpdate&&c.onUpdate(d)},onStop:()=>{},onComplete:()=>{c.onComplete&&c.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const c=this.getStack();c&&c.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(g_),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const c=this.getLead();let{targetWithTransforms:d,target:h,layout:m,latestValues:g}=c;if(!(!d||!h||!m)){if(this!==c&&this.layout&&m&&e2(this.options.animationType,this.layout.layoutBox,m.layoutBox)){h=this.target||ze();const y=cn(this.layout.layoutBox.x);h.x.min=c.target.x.min,h.x.max=h.x.min+y;const b=cn(this.layout.layoutBox.y);h.y.min=c.target.y.min,h.y.max=h.y.min+b}qn(d,h),so(d,g),ks(this.projectionDeltaWithTransform,this.layoutCorrected,d,g)}}registerSharedNode(c,d){this.sharedNodes.has(c)||this.sharedNodes.set(c,new h_),this.sharedNodes.get(c).add(d);const m=d.options.initialPromotionConfig;d.promote({transition:m?m.transition:void 0,preserveFollowOpacity:m&&m.shouldPreserveFollowOpacity?m.shouldPreserveFollowOpacity(d):void 0})}isLead(){const c=this.getStack();return c?c.lead===this:!0}getLead(){const{layoutId:c}=this.options;return c?this.getStack()?.lead||this:this}getPrevLead(){const{layoutId:c}=this.options;return c?this.getStack()?.prevLead:void 0}getStack(){const{layoutId:c}=this.options;if(c)return this.root.sharedNodes.get(c)}promote({needsReset:c,transition:d,preserveFollowOpacity:h}={}){const m=this.getStack();m&&m.promote(this,h),c&&(this.projectionDelta=void 0,this.needsReset=!0),d&&this.setOptions({transition:d})}relegate(){const c=this.getStack();return c?c.relegate(this):!1}resetSkewAndRotation(){const{visualElement:c}=this.options;if(!c)return;let d=!1;const{latestValues:h}=c;if((h.z||h.rotate||h.rotateX||h.rotateY||h.rotateZ||h.skewX||h.skewY)&&(d=!0),!d)return;const m={};h.z&&Up("z",c,m,this.animationValues);for(let g=0;g<Pp.length;g++)Up(`rotate${Pp[g]}`,c,m,this.animationValues),Up(`skew${Pp[g]}`,c,m,this.animationValues);c.render();for(const g in m)c.setStaticValue(g,m[g]),this.animationValues&&(this.animationValues[g]=m[g]);c.scheduleRender()}applyProjectionStyles(c,d){if(!this.instance||this.isSVG)return;if(!this.isVisible){c.visibility="hidden";return}const h=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,c.visibility="",c.opacity="",c.pointerEvents=tc(d?.pointerEvents)||"",c.transform=h?h(this.latestValues,""):"none";return}const m=this.getLead();if(!this.projectionDelta||!this.layout||!m.target){this.options.layoutId&&(c.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,c.pointerEvents=tc(d?.pointerEvents)||""),this.hasProjected&&!ta(this.latestValues)&&(c.transform=h?h({},""):"none",this.hasProjected=!1);return}c.visibility="";const g=m.animationValues||m.latestValues;this.applyTransformsToTarget();let y=m_(this.projectionDeltaWithTransform,this.treeScale,g);h&&(y=h(g,y)),c.transform=y;const{x:b,y:C}=this.projectionDelta;c.transformOrigin=`${b.origin*100}% ${C.origin*100}% 0`,m.animationValues?c.opacity=m===this?g.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:g.opacityExit:c.opacity=m===this?g.opacity!==void 0?g.opacity:"":g.opacityExit!==void 0?g.opacityExit:0;for(const S in Ks){if(g[S]===void 0)continue;const{correct:x,applyTo:A,isCSSVariable:M}=Ks[S],N=y==="none"?g[S]:x(g[S],m);if(A){const w=A.length;for(let O=0;O<w;O++)c[A[O]]=N}else M?this.options.visualElement.renderState.vars[S]=N:c[S]=N}this.options.layoutId&&(c.pointerEvents=m===this?tc(d?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(c=>c.currentAnimation?.stop()),this.root.nodes.forEach(B1),this.root.sharedNodes.clear()}}}function v_(t){t.updateLayout()}function b_(t){const n=t.resumeFrom?.snapshot||t.snapshot;if(t.isLead()&&t.layout&&n&&t.hasListeners("didUpdate")){const{layoutBox:r,measuredBox:o}=t.layout,{animationType:l}=t.options,u=n.source!==t.layout.source;l==="size"?In(g=>{const y=u?n.measuredBox[g]:n.layoutBox[g],b=cn(y);y.min=r[g].min,y.max=y.min+b}):e2(l,n.layoutBox,r)&&In(g=>{const y=u?n.measuredBox[g]:n.layoutBox[g],b=cn(r[g]);y.max=y.min+b,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[g].max=t.relativeTarget[g].min+b)});const c=lo();ks(c,r,n.layoutBox);const d=lo();u?ks(d,t.applyTransform(o,!0),n.measuredBox):ks(d,r,n.layoutBox);const h=!QC(c);let m=!1;if(!t.resumeFrom){const g=t.getClosestProjectingParent();if(g&&!g.resumeFrom){const{snapshot:y,layout:b}=g;if(y&&b){const C=ze();Ps(C,n.layoutBox,y.layoutBox);const S=ze();Ps(S,r,b.layoutBox),ZC(C,S)||(m=!0),g.options.layoutRoot&&(t.relativeTarget=S,t.relativeTargetOrigin=C,t.relativeParent=g)}}}t.notifyListeners("didUpdate",{layout:r,snapshot:n,delta:d,layoutDelta:c,hasLayoutChanged:h,hasRelativeLayoutChanged:m})}else if(t.isLead()){const{onExitComplete:r}=t.options;r&&r()}t.options.transition=void 0}function S_(t){t.parent&&(t.isProjecting()||(t.isProjectionDirty=t.parent.isProjectionDirty),t.isSharedProjectionDirty||(t.isSharedProjectionDirty=!!(t.isProjectionDirty||t.parent.isProjectionDirty||t.parent.isSharedProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=t.parent.isTransformDirty))}function x_(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function T_(t){t.clearSnapshot()}function B1(t){t.clearMeasurements()}function N1(t){t.isLayoutDirty=!1}function C_(t){const{visualElement:n}=t.options;n&&n.getProps().onBeforeLayoutMeasure&&n.notify("BeforeLayoutMeasure"),t.resetTransform()}function _1(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function E_(t){t.resolveTargetDelta()}function A_(t){t.calcProjection()}function R_(t){t.resetSkewAndRotation()}function w_(t){t.removeLeadSnapshot()}function j1(t,n,r){t.translate=be(n.translate,0,r),t.scale=be(n.scale,1,r),t.origin=n.origin,t.originPoint=n.originPoint}function L1(t,n,r,o){t.min=be(n.min,r.min,o),t.max=be(n.max,r.max,o)}function M_(t,n,r,o){L1(t.x,n.x,r.x,o),L1(t.y,n.y,r.y,o)}function O_(t){return t.animationValues&&t.animationValues.opacityExit!==void 0}const D_={duration:.45,ease:[.4,0,.1,1]},k1=t=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),P1=k1("applewebkit/")&&!k1("chrome/")?Math.round:Wn;function U1(t){t.min=P1(t.min),t.max=P1(t.max)}function z_(t){U1(t.x),U1(t.y)}function e2(t,n,r){return t==="position"||t==="preserve-aspect"&&!kN(D1(n),D1(r),.2)}function B_(t){return t!==t.root&&t.scroll?.wasRoot}const N_=t2({attachResizeListener:(t,n)=>Xs(t,"resize",n),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),Vp={current:void 0},n2=t2({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!Vp.current){const t=new N_({});t.mount(window),t.setOptions({layoutScroll:!0}),Vp.current=t}return Vp.current},resetTransform:(t,n)=>{t.style.transform=n!==void 0?n:"none"},checkIsScrollRoot:t=>window.getComputedStyle(t).position==="fixed"}),__={pan:{Feature:ZN},drag:{Feature:QN,ProjectionNode:n2,MeasureLayout:KC}};function V1(t,n,r){const{props:o}=t;t.animationState&&o.whileHover&&t.animationState.setActive("whileHover",r==="Start");const l="onHover"+r,u=o[l];u&&ge.postRender(()=>u(n,pl(n)))}class j_ extends Mr{mount(){const{current:n}=this.node;n&&(this.unmount=eB(n,(r,o)=>(V1(this.node,o,"Start"),l=>V1(this.node,l,"End"))))}unmount(){}}class L_ extends Mr{constructor(){super(...arguments),this.isActive=!1}onFocus(){let n=!1;try{n=this.node.current.matches(":focus-visible")}catch{n=!0}!n||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=cl(Xs(this.node.current,"focus",()=>this.onFocus()),Xs(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function $1(t,n,r){const{props:o}=t;if(t.current instanceof HTMLButtonElement&&t.current.disabled)return;t.animationState&&o.whileTap&&t.animationState.setActive("whileTap",r==="Start");const l="onTap"+(r==="End"?"":r),u=o[l];u&&ge.postRender(()=>u(n,pl(n)))}class k_ extends Mr{mount(){const{current:n}=this.node;n&&(this.unmount=aB(n,(r,o)=>($1(this.node,o,"Start"),(l,{success:u})=>$1(this.node,l,u?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}const _h=new WeakMap,$p=new WeakMap,P_=t=>{const n=_h.get(t.target);n&&n(t)},U_=t=>{t.forEach(P_)};function V_({root:t,...n}){const r=t||document;$p.has(r)||$p.set(r,{});const o=$p.get(r),l=JSON.stringify(n);return o[l]||(o[l]=new IntersectionObserver(U_,{root:t,...n})),o[l]}function $_(t,n,r){const o=V_(n);return _h.set(t,r),o.observe(t),()=>{_h.delete(t),o.unobserve(t)}}const H_={some:0,all:1};class F_ extends Mr{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:n={}}=this.node.getProps(),{root:r,margin:o,amount:l="some",once:u}=n,c={root:r?r.current:void 0,rootMargin:o,threshold:typeof l=="number"?l:H_[l]},d=h=>{const{isIntersecting:m}=h;if(this.isInView===m||(this.isInView=m,u&&!m&&this.hasEnteredView))return;m&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",m);const{onViewportEnter:g,onViewportLeave:y}=this.node.getProps(),b=m?g:y;b&&b(h)};return $_(this.node.current,c,d)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:n,prevProps:r}=this.node;["amount","margin","root"].some(q_(n,r))&&this.startObserver()}unmount(){}}function q_({viewport:t={}},{viewport:n={}}={}){return r=>t[r]!==n[r]}const I_={inView:{Feature:F_},tap:{Feature:k_},focus:{Feature:L_},hover:{Feature:j_}},G_={layout:{ProjectionNode:n2,MeasureLayout:KC}},Y_={...zN,...I_,...__,...G_},no=YB(Y_,oN),K_=Cn(z.jsx("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m-2 15-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8z"})),H1=Cn(z.jsx("path",{d:"M19.35 10.04C18.67 6.59 15.64 4 12 4 9.11 4 6.6 5.64 5.35 8.04 2.34 8.36 0 10.91 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96M19 18H6c-2.21 0-4-1.79-4-4s1.79-4 4-4h.71C7.37 7.69 9.48 6 12 6c3.04 0 5.5 2.46 5.5 5.5v.5H19c1.66 0 3 1.34 3 3s-1.34 3-3 3"})),X_=Cn(z.jsx("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m1 15h-2v-2h2zm0-4h-2V7h2z"})),W_=Cn(z.jsx("path",{d:"M12 8V4l8 8-8 8v-4H4V8z"})),F1=Cn(z.jsx("path",{d:"M11 7 9.6 8.4l2.6 2.6H2v2h10.2l-2.6 2.6L11 17l5-5zm9 12h-8v2h8c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2h-8v2h8z"})),Q_=Cn(z.jsx("path",{d:"M6 19h4V5H6zm8-14v14h4V5z"})),Z_=Cn(z.jsx("path",{d:"M8 5v14l11-7z"})),J_=Cn(z.jsx("path",{d:"M12.65 10C11.83 7.67 9.61 6 7 6c-3.31 0-6 2.69-6 6s2.69 6 6 6c2.61 0 4.83-1.67 5.65-4H17v4h4v-4h2v-4zM7 14c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2"})),tj=()=>{const t=rl(),[n,r]=R.useState(!1),[o,l]=R.useState(null),[u,c]=R.useState(""),[d,h]=R.useState(""),[m,g]=R.useState(!0),[y,b]=R.useState(null);R.useEffect(()=>{if(!y||y.paused)return;if(y.countdown===0){const w=new URLSearchParams(window.location.search).get("returnUrl")||"http://localhost:5173",O=new URL(w);O.searchParams.set("sessionToken",y.token),O.searchParams.set("websiteId",y.websiteId),O.searchParams.set("dqm","true"),window.location.href=O.toString();return}const M=setTimeout(()=>{b(N=>N?{...N,countdown:N.countdown-1}:null)},1e3);return()=>clearTimeout(M)},[y]);const C=()=>{b(M=>M?{...M,paused:!M.paused}:null)},S=()=>{localStorage.removeItem("dqm_stored_session_token"),localStorage.removeItem("dqm_stored_website_id"),b(null),g(!1)},x=()=>{if(!y)return;const N=new URLSearchParams(window.location.search).get("returnUrl")||"http://localhost:5173",w=new URL(N);w.searchParams.set("sessionToken",y.token),w.searchParams.set("websiteId",y.websiteId),w.searchParams.set("dqm","true"),window.location.href=w.toString()};R.useEffect(()=>{(async()=>{try{const N=localStorage.getItem("dqm_stored_session_token"),w=localStorage.getItem("dqm_stored_website_id");if(N&&w)if(console.log("[LoginPage] ๐Ÿ” Found stored session, validating..."),(await Re.post("/auth/token/validate",{sessionToken:N})).data.valid){console.log("[LoginPage] โœ… Stored session is valid, showing auto-redirect screen..."),b({websiteId:w,token:N,countdown:5,paused:!1}),g(!1);return}else console.log("[LoginPage] โš ๏ธ Stored session expired, need new login"),localStorage.removeItem("dqm_stored_session_token"),localStorage.removeItem("dqm_stored_website_id")}catch(N){console.error("[LoginPage] Error checking session:",N),localStorage.removeItem("dqm_stored_session_token"),localStorage.removeItem("dqm_stored_website_id")}finally{g(!1)}})()},[]);const A=async M=>{M.preventDefault(),r(!0),l(null);try{const w=(await Re.post("/auth/login",{apiKey:u,websiteId:d})).data;console.log("[LoginPage] โœ… Login successful"),console.log("[LoginPage] Session token:",w.sessionToken?.substring(0,20)+"..."),localStorage.setItem("dqm_stored_session_token",w.sessionToken),localStorage.setItem("dqm_stored_website_id",w.websiteId),console.log("[LoginPage] ๐Ÿ’พ Session stored for SSO");const D=new URLSearchParams(window.location.search).get("returnUrl")||localStorage.getItem("dqm_return_url")||"http://localhost:5173";console.log("[LoginPage] ๐Ÿ”„ Redirecting back to:",D);const _=new URL(D);_.searchParams.set("sessionToken",w.sessionToken),_.searchParams.set("websiteId",w.websiteId),_.searchParams.set("dqm","true"),window.location.href=_.toString()}catch(N){const w=N.response?.data?.message||N.message||"Login failed";l(w),console.error("[LoginPage] โŒ Login error:",w)}finally{r(!1)}};return m?z.jsx(on,{sx:{minHeight:"100vh",display:"flex",alignItems:"center",justifyContent:"center",background:`linear-gradient(135deg, ${ve(t.palette.primary.main,.1)} 0%, ${ve(t.palette.secondary.main,.1)} 100%)`},children:z.jsxs(Jr,{alignItems:"center",spacing:2,children:[z.jsx(fo,{size:60}),z.jsx(Be,{variant:"h6",color:"text.secondary",children:"Checking existing session..."})]})}):y?z.jsxs(on,{sx:{minHeight:"100vh",display:"flex",background:`linear-gradient(135deg, ${ve(t.palette.primary.main,.1)} 0%, ${ve(t.palette.secondary.main,.1)} 100%)`,position:"relative",overflow:"hidden"},children:[z.jsx(on,{sx:{position:"absolute",top:0,left:0,right:0,bottom:0,backgroundImage:"url(https://images.unsplash.com/photo-1551434678-e076c223a692?auto=format&fit=crop&q=80&w=2070)",backgroundSize:"cover",backgroundPosition:"center",opacity:.15,zIndex:0}}),z.jsx(oh,{maxWidth:"sm",sx:{position:"relative",zIndex:1,display:"flex",alignItems:"center",py:4},children:z.jsx(no.div,{initial:{opacity:0,scale:.9,y:20},animate:{opacity:1,scale:1,y:0},transition:{duration:.5,ease:"easeOut"},style:{width:"100%"},children:z.jsx(rh,{elevation:24,sx:{width:"100%",backdropFilter:"blur(20px)",backgroundColor:ve(t.palette.background.paper,.95),borderRadius:4,overflow:"hidden"},children:z.jsx(ah,{sx:{p:4},children:z.jsxs(Jr,{spacing:4,alignItems:"center",children:[z.jsx(no.div,{initial:{scale:0,rotate:-180},animate:{scale:1,rotate:0},transition:{duration:.6,delay:.2,type:"spring",stiffness:200,damping:15},children:z.jsxs(on,{sx:{position:"relative",display:"flex",alignItems:"center",justifyContent:"center"},children:[z.jsx(fo,{variant:"determinate",value:(100-(5-y.countdown)/5)*100,size:120,thickness:2,sx:{color:t.palette.success.main,position:"absolute",transition:"all 0.8s ease-in-out"}}),z.jsx(on,{sx:{width:100,height:100,borderRadius:"50%",background:`linear-gradient(135deg, ${t.palette.success.main} 0%, ${t.palette.success.dark} 100%)`,display:"flex",alignItems:"center",justifyContent:"center",boxShadow:`0 0 30px ${ve(t.palette.success.main,.4)}`},children:z.jsx(F1,{sx:{fontSize:50,color:"white"}})})]})}),z.jsxs(no.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.5,delay:.3},style:{textAlign:"center"},children:[z.jsx(Be,{variant:"h4",gutterBottom:!0,fontWeight:700,color:"success.main",children:"Already Logged In! โœ“"}),z.jsx(Be,{variant:"body1",color:"text.secondary",children:"You're already authenticated with DQM"})]}),z.jsx(no.div,{initial:{opacity:0,x:-20},animate:{opacity:1,x:0},transition:{duration:.5,delay:.4},style:{width:"100%"},children:z.jsx(on,{sx:{width:"100%",p:2,borderRadius:2,backgroundColor:ve(t.palette.info.main,.05),border:`1px solid ${ve(t.palette.info.main,.2)}`},children:z.jsxs(Jr,{spacing:1,children:[z.jsxs(on,{sx:{display:"flex",justifyContent:"space-between"},children:[z.jsx(Be,{variant:"body2",color:"text.secondary",children:"Website ID:"}),z.jsxs(Be,{variant:"body2",fontWeight:600,children:[y.websiteId.substring(0,20),"..."]})]}),z.jsxs(on,{sx:{display:"flex",justifyContent:"space-between"},children:[z.jsx(Be,{variant:"body2",color:"text.secondary",children:"Session:"}),z.jsx(Be,{variant:"body2",fontWeight:600,color:"success.main",children:"Active"})]})]})})}),z.jsxs(on,{sx:{textAlign:"center",minHeight:120},children:[z.jsx(mB,{mode:"wait",children:z.jsx(no.div,{initial:{scale:1.5,opacity:0,y:-20},animate:{scale:1,opacity:1,y:0},exit:{scale:.5,opacity:0,y:20},transition:{duration:.4,type:"spring",stiffness:300,damping:20},children:z.jsx(Be,{variant:"h1",fontWeight:700,color:"primary.main",sx:{fontSize:"6rem",lineHeight:1,textShadow:`0 0 20px ${ve(t.palette.primary.main,.3)}`},children:y.countdown})},y.countdown)}),z.jsxs(Be,{variant:"body2",color:"text.secondary",sx:{mt:2},children:["Redirecting in ",y.countdown," second",y.countdown!==1?"s":"","..."]})]}),z.jsx(no.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.5,delay:.5},style:{width:"100%"},children:z.jsxs(Jr,{spacing:2,sx:{width:"100%"},children:[z.jsxs(Jr,{direction:"row",spacing:2,children:[z.jsx(Lu,{fullWidth:!0,variant:"contained",color:y.paused?"success":"warning",onClick:C,startIcon:y.paused?z.jsx(Z_,{}):z.jsx(Q_,{}),sx:{background:y.paused?`linear-gradient(135deg, ${t.palette.success.main} 0%, ${t.palette.success.dark} 100%)`:`linear-gradient(135deg, ${t.palette.warning.main} 0%, ${t.palette.warning.dark} 100%)`,"&:hover":{transform:"translateY(-2px)",boxShadow:y.paused?`0 8px 20px ${ve(t.palette.success.main,.4)}`:`0 8px 20px ${ve(t.palette.warning.main,.4)}`},transition:"all 0.3s ease"},children:y.paused?"Resume Countdown":"Wait / Pause"}),z.jsx(Lu,{fullWidth:!0,variant:"contained",color:"primary",onClick:x,startIcon:z.jsx(W_,{}),sx:{background:`linear-gradient(135deg, ${t.palette.primary.main} 0%, ${t.palette.primary.dark} 100%)`,"&:hover":{background:`linear-gradient(135deg, ${t.palette.primary.dark} 0%, ${t.palette.primary.main} 100%)`,transform:"translateY(-2px)",boxShadow:`0 8px 20px ${ve(t.palette.primary.main,.4)}`},transition:"all 0.3s ease"},children:"Skip & Continue"})]}),z.jsx(Lu,{fullWidth:!0,variant:"outlined",color:"error",onClick:S,startIcon:z.jsx(H1,{}),children:"Logout & Use Different Account"})]})})]})})})})})]}):z.jsxs(on,{sx:{minHeight:"100vh",display:"flex",background:`linear-gradient(135deg, ${ve(t.palette.primary.main,.1)} 0%, ${ve(t.palette.secondary.main,.1)} 100%)`,position:"relative",overflow:"hidden"},children:[z.jsx(on,{sx:{position:"absolute",top:0,left:0,right:0,bottom:0,backgroundImage:"url(https://images.unsplash.com/photo-1551434678-e076c223a692?auto=format&fit=crop&q=80&w=2070)",backgroundSize:"cover",backgroundPosition:"center",opacity:.15,zIndex:0}}),z.jsx(oh,{maxWidth:"sm",sx:{position:"relative",zIndex:1,display:"flex",alignItems:"center",py:4},children:z.jsxs(rh,{elevation:24,sx:{width:"100%",backdropFilter:"blur(20px)",backgroundColor:ve(t.palette.background.paper,.95),borderRadius:4,overflow:"hidden"},children:[z.jsxs(on,{sx:{background:`linear-gradient(135deg, ${t.palette.primary.main} 0%, ${t.palette.primary.dark} 100%)`,color:"white",p:4,textAlign:"center"},children:[z.jsx(H1,{sx:{fontSize:64,mb:2,opacity:.9}}),z.jsx(Be,{variant:"h4",fontWeight:"bold",gutterBottom:!0,children:"Crownpeak DQM"}),z.jsx(Be,{variant:"body2",sx:{opacity:.9},children:"Digital Quality Management Platform"})]}),z.jsxs(ah,{sx:{p:4},children:[o&&z.jsx(Ix,{severity:"error",sx:{mb:3},children:o}),z.jsx("form",{onSubmit:A,children:z.jsxs(Jr,{spacing:3,children:[z.jsxs(on,{textAlign:"center",children:[z.jsx(Be,{variant:"h6",gutterBottom:!0,children:"Sign in to DQM"}),z.jsx(Be,{variant:"body2",color:"text.secondary",children:"Enter your Crownpeak DQM credentials to continue"})]}),z.jsx(dS,{autoComplete:"username",label:"Website ID",fullWidth:!0,type:"text",required:!0,value:d,onChange:M=>h(M.target.value),disabled:n,placeholder:"Enter your website ID"}),z.jsx(dS,{label:"API Key",type:"password",fullWidth:!0,required:!0,value:u,onChange:M=>c(M.target.value),disabled:n,placeholder:"Enter your DQM API key",InputProps:{startAdornment:z.jsx(J_,{sx:{mr:1,color:"text.secondary"}})}}),z.jsx(Lu,{type:"submit",variant:"contained",size:"large",fullWidth:!0,disabled:n||!u||!d,startIcon:n?z.jsx(fo,{size:20}):z.jsx(F1,{}),sx:{py:1.5,textTransform:"none",fontSize:"1rem",fontWeight:600,boxShadow:t.shadows[4],"&:hover":{boxShadow:t.shadows[8]}},children:n?"Signing in...":"Sign In"}),z.jsx(on,{textAlign:"center",mt:2,children:z.jsx(Be,{variant:"caption",color:"text.secondary",children:"Your credentials will be stored securely for future sessions"})})]})})]}),z.jsx(on,{sx:{p:2,textAlign:"center",borderTop:1,borderColor:"divider",backgroundColor:ve(t.palette.background.default,.5)},children:z.jsx(Be,{variant:"caption",color:"text.secondary",children:"ยฉ 2025 Crownpeak Technology GmbH ยท Powered by Crownpeak DQM"})})]})})]})},ej=()=>{const t=rl(),[n,r]=R.useState("loading"),[o,l]=R.useState("Processing authentication...");return R.useEffect(()=>{(async()=>{try{const c=new URLSearchParams(window.location.search),d=c.get("code"),h=c.get("state"),m=c.get("error");if(m)throw new Error(c.get("error_description")||m);if(!d||!h)throw new Error("Missing authorization code or state parameter");const g=sessionStorage.getItem("oauth_state");if(h!==g)throw new Error("Invalid state parameter - possible CSRF attack");const y=await fetch("/auth/oauth2/callback",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({code:d,redirectUri:window.location.origin+"/auth/callback"})});if(!y.ok){const C=await y.json();throw new Error(C.message||"Token exchange failed")}const b=await y.json();localStorage.setItem("dqm_sessionToken",b.sessionToken),sessionStorage.removeItem("oauth_state"),(window.opener||window.parent!==window)&&(window.opener||window.parent).postMessage({type:"DQM_AUTH_SUCCESS",sessionToken:b.sessionToken,websiteId:b.websiteId},"*"),r("success"),l("Authentication successful! You can close this window."),window.opener&&setTimeout(()=>{window.close()},2e3)}catch(c){console.error("[OAuth Callback] Error:",c),r("error"),l(c instanceof Error?c.message:"Authentication failed")}})()},[]),z.jsx(on,{sx:{minHeight:"100vh",display:"flex",alignItems:"center",justifyContent:"center",background:`linear-gradient(135deg, ${ve(t.palette.primary.main,.1)} 0%, ${ve(t.palette.secondary.main,.1)} 100%)`},children:z.jsx(oh,{maxWidth:"sm",children:z.jsx(rh,{elevation:8,sx:{backdropFilter:"blur(20px)",backgroundColor:ve(t.palette.background.paper,.95),borderRadius:4},children:z.jsx(ah,{sx:{p:6},children:z.jsxs(Jr,{spacing:4,alignItems:"center",textAlign:"center",children:[n==="loading"&&z.jsxs(z.Fragment,{children:[z.jsx(fo,{size:64,thickness:4}),z.jsx(Be,{variant:"h5",fontWeight:"600",children:"Authenticating..."}),z.jsx(Be,{variant:"body2",color:"text.secondary",children:"Please wait while we complete your sign-in"})]}),n==="success"&&z.jsxs(z.Fragment,{children:[z.jsx(K_,{sx:{fontSize:80,color:t.palette.success.main}}),z.jsx(Be,{variant:"h5",fontWeight:"600",color:"success.main",children:"Success!"}),z.jsx(Be,{variant:"body1",color:"text.secondary",children:o})]}),n==="error"&&z.jsxs(z.Fragment,{children:[z.jsx(X_,{sx:{fontSize:80,color:t.palette.error.main}}),z.jsx(Be,{variant:"h5",fontWeight:"600",color:"error.main",children:"Authentication Failed"}),z.jsx(Ix,{severity:"error",sx:{width:"100%"},children:o}),z.jsx(Be,{variant:"body2",color:"text.secondary",children:"Please close this window and try again"})]})]})})})})})},nj=zc({palette:{mode:"light",primary:{main:"#1976d2",dark:"#115293"},secondary:{main:"#dc004e"}},typography:{fontFamily:'"Inter", "Roboto", "Helvetica", "Arial", sans-serif'},shape:{borderRadius:12},components:{MuiButton:{styleOverrides:{root:{borderRadius:8}}},MuiCard:{styleOverrides:{root:{borderRadius:16}}}}}),ij=()=>window.location.pathname==="/auth/callback"?z.jsx(ej,{}):z.jsx(tj,{});RA.createRoot(document.getElementById("root")).render(z.jsx(ri.StrictMode,{children:z.jsxs(sO,{theme:nj,children:[z.jsx(i3,{}),z.jsx(ij,{})]})}));