diff --git a/jhub_apps/static/js/index.js b/jhub_apps/static/js/index.js index 163b21d1..167bb3ce 100644 --- a/jhub_apps/static/js/index.js +++ b/jhub_apps/static/js/index.js @@ -1,4 +1,4 @@ -var f3=Object.defineProperty;var Jb=e=>{throw TypeError(e)};var d3=(e,t,n)=>t in e?f3(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var xc=(e,t,n)=>d3(e,typeof t!="symbol"?t+"":t,n),_h=(e,t,n)=>t.has(e)||Jb("Cannot "+n);var q=(e,t,n)=>(_h(e,t,"read from private field"),n?n.call(e):t.get(e)),pt=(e,t,n)=>t.has(e)?Jb("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),Je=(e,t,n,r)=>(_h(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),St=(e,t,n)=>(_h(e,t,"access private method"),n);var ld=(e,t,n,r)=>({set _(s){Je(e,t,s,n)},get _(){return q(e,t,r)}});function p3(e,t){for(var n=0;nr[s]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))r(s);new MutationObserver(s=>{for(const a of s)if(a.type==="childList")for(const l of a.addedNodes)l.tagName==="LINK"&&l.rel==="modulepreload"&&r(l)}).observe(document,{childList:!0,subtree:!0});function n(s){const a={};return s.integrity&&(a.integrity=s.integrity),s.referrerPolicy&&(a.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?a.credentials="include":s.crossOrigin==="anonymous"?a.credentials="omit":a.credentials="same-origin",a}function r(s){if(s.ep)return;s.ep=!0;const a=n(s);fetch(s.href,a)}})();function Ap(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var $h={exports:{}},wc={},em={exports:{}},Rt={};/** +var l3=Object.defineProperty;var Jb=e=>{throw TypeError(e)};var c3=(e,t,n)=>t in e?l3(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var xc=(e,t,n)=>c3(e,typeof t!="symbol"?t+"":t,n),Kh=(e,t,n)=>t.has(e)||Jb("Cannot "+n);var G=(e,t,n)=>(Kh(e,t,"read from private field"),n?n.call(e):t.get(e)),vt=(e,t,n)=>t.has(e)?Jb("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),Fe=(e,t,n,r)=>(Kh(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),Ct=(e,t,n)=>(Kh(e,t,"access private method"),n);var ld=(e,t,n,r)=>({set _(s){Fe(e,t,s,n)},get _(){return G(e,t,r)}});function u3(e,t){for(var n=0;nr[s]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))r(s);new MutationObserver(s=>{for(const a of s)if(a.type==="childList")for(const l of a.addedNodes)l.tagName==="LINK"&&l.rel==="modulepreload"&&r(l)}).observe(document,{childList:!0,subtree:!0});function n(s){const a={};return s.integrity&&(a.integrity=s.integrity),s.referrerPolicy&&(a.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?a.credentials="include":s.crossOrigin==="anonymous"?a.credentials="omit":a.credentials="same-origin",a}function r(s){if(s.ep)return;s.ep=!0;const a=n(s);fetch(s.href,a)}})();function gp(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var _h={exports:{}},wc={},$h={exports:{}},Rt={};/** * @license React * react.production.min.js * @@ -6,7 +6,7 @@ var f3=Object.defineProperty;var Jb=e=>{throw TypeError(e)};var d3=(e,t,n)=>t in * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var Fb;function v3(){if(Fb)return Rt;Fb=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),l=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),p=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),m=Symbol.iterator;function x(R){return R===null||typeof R!="object"?null:(R=m&&R[m]||R["@@iterator"],typeof R=="function"?R:null)}var w={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},A=Object.assign,P={};function H(R,G,X){this.props=R,this.context=G,this.refs=P,this.updater=X||w}H.prototype.isReactComponent={},H.prototype.setState=function(R,G){if(typeof R!="object"&&typeof R!="function"&&R!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,R,G,"setState")},H.prototype.forceUpdate=function(R){this.updater.enqueueForceUpdate(this,R,"forceUpdate")};function S(){}S.prototype=H.prototype;function C(R,G,X){this.props=R,this.context=G,this.refs=P,this.updater=X||w}var z=C.prototype=new S;z.constructor=C,A(z,H.prototype),z.isPureReactComponent=!0;var O=Array.isArray,D=Object.prototype.hasOwnProperty,k={current:null},E={key:!0,ref:!0,__self:!0,__source:!0};function M(R,G,X){var ne,re={},ie=null,ue=null;if(G!=null)for(ne in G.ref!==void 0&&(ue=G.ref),G.key!==void 0&&(ie=""+G.key),G)D.call(G,ne)&&!E.hasOwnProperty(ne)&&(re[ne]=G[ne]);var be=arguments.length-2;if(be===1)re.children=X;else if(1{throw TypeError(e)};var d3=(e,t,n)=>t in * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var qb;function h3(){if(qb)return wc;qb=1;var e=Wg(),t=Symbol.for("react.element"),n=Symbol.for("react.fragment"),r=Object.prototype.hasOwnProperty,s=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,a={key:!0,ref:!0,__self:!0,__source:!0};function l(u,f,p){var h,m={},x=null,w=null;p!==void 0&&(x=""+p),f.key!==void 0&&(x=""+f.key),f.ref!==void 0&&(w=f.ref);for(h in f)r.call(f,h)&&!a.hasOwnProperty(h)&&(m[h]=f[h]);if(u&&u.defaultProps)for(h in f=u.defaultProps,f)m[h]===void 0&&(m[h]=f[h]);return{$$typeof:t,type:u,key:x,ref:w,props:m,_owner:s.current}}return wc.Fragment=n,wc.jsx=l,wc.jsxs=l,wc}var Zb;function m3(){return Zb||(Zb=1,$h.exports=h3()),$h.exports}var v=m3();const fu={black:"#000",white:"#fff"},Fa={300:"#e57373",400:"#ef5350",500:"#f44336",700:"#d32f2f",800:"#c62828"},Ya={50:"#f3e5f5",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",700:"#7b1fa2"},qa={50:"#e3f2fd",200:"#90caf9",400:"#42a5f5",700:"#1976d2",800:"#1565c0"},Za={300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",700:"#0288d1",900:"#01579b"},Ga={300:"#81c784",400:"#66bb6a",500:"#4caf50",700:"#388e3c",800:"#2e7d32",900:"#1b5e20"},Hc={300:"#ffb74d",400:"#ffa726",500:"#ff9800",700:"#f57c00",900:"#e65100"},g3={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 Rs(e,...t){const n=new URL(`https://mui.com/production-error/?code=${e}`);return t.forEach(r=>n.searchParams.append("args[]",r)),`Minified MUI error #${e}; visit ${n} for the full message.`}const ko="$$material";function Gd(){return Gd=Object.assign?Object.assign.bind():function(e){for(var t=1;t0?Kn(Rl,--Tr):0,Hl--,Ln===10&&(Hl=1,bp--),Ln}function Jr(){return Ln=Tr2||pu(Ln)>3?"":" "}function T3(e,t){for(;--t&&Jr()&&!(Ln<48||Ln>102||Ln>57&&Ln<65||Ln>70&&Ln<97););return ku(e,Od()+(t<6&&as()==32&&Jr()==32))}function Vm(e){for(;Jr();)switch(Ln){case e:return Tr;case 34:case 39:e!==34&&e!==39&&Vm(Ln);break;case 40:e===41&&Vm(e);break;case 92:Jr();break}return Tr}function k3(e,t){for(;Jr()&&e+Ln!==57;)if(e+Ln===84&&as()===47)break;return"/*"+ku(t,Tr-1)+"*"+Pp(e===47?e:Jr())}function E3(e){for(;!pu(as());)Jr();return ku(e,Tr)}function R3(e){return h0(Td("",null,null,null,[""],e=v0(e),0,[0],e))}function Td(e,t,n,r,s,a,l,u,f){for(var p=0,h=0,m=l,x=0,w=0,A=0,P=1,H=1,S=1,C=0,z="",O=s,D=a,k=r,E=z;H;)switch(A=C,C=Jr()){case 40:if(A!=108&&Kn(E,m-1)==58){Bm(E+=Yt(Dd(C),"&","&\f"),"&\f")!=-1&&(S=-1);break}case 34:case 39:case 91:E+=Dd(C);break;case 9:case 10:case 13:case 32:E+=D3(A);break;case 92:E+=T3(Od()-1,7);continue;case 47:switch(as()){case 42:case 47:cd(M3(k3(Jr(),Od()),t,n),f);break;default:E+="/"}break;case 123*P:u[p++]=ts(E)*S;case 125*P:case 59:case 0:switch(C){case 0:case 125:H=0;case 59+h:S==-1&&(E=Yt(E,/\f/g,"")),w>0&&ts(E)-m&&cd(w>32?Ub(E+";",r,n,m-1):Ub(Yt(E," ","")+";",r,n,m-2),f);break;case 59:E+=";";default:if(cd(k=Gb(E,t,n,p,h,s,u,z,O=[],D=[],m),a),C===123)if(h===0)Td(E,t,k,k,O,a,m,u,D);else switch(x===99&&Kn(E,3)===110?100:x){case 100:case 108:case 109:case 115:Td(e,k,k,r&&cd(Gb(e,k,k,0,0,s,u,z,s,O=[],m),D),s,D,m,u,r?O:D);break;default:Td(E,k,k,k,[""],D,0,u,D)}}p=h=w=0,P=S=1,z=E="",m=l;break;case 58:m=1+ts(E),w=A;default:if(P<1){if(C==123)--P;else if(C==125&&P++==0&&O3()==125)continue}switch(E+=Pp(C),C*P){case 38:S=h>0?1:(E+="\f",-1);break;case 44:u[p++]=(ts(E)-1)*S,S=1;break;case 64:as()===45&&(E+=Dd(Jr())),x=as(),h=m=ts(z=E+=E3(Od())),C++;break;case 45:A===45&&ts(E)==2&&(P=0)}}return a}function Gb(e,t,n,r,s,a,l,u,f,p,h){for(var m=s-1,x=s===0?a:[""],w=Yg(x),A=0,P=0,H=0;A0?x[S]+" "+C:Yt(C,/&\f/g,x[S])))&&(f[H++]=z);return xp(e,t,n,s===0?Jg:u,f,p,h)}function M3(e,t,n){return xp(e,t,n,u0,Pp(C3()),du(e,2,-2),0)}function Ub(e,t,n,r){return xp(e,t,n,Fg,du(e,0,r),du(e,r+1,-1),r)}function al(e,t){for(var n="",r=Yg(e),s=0;s6)switch(Kn(e,t+1)){case 109:if(Kn(e,t+4)!==45)break;case 102:return Yt(e,/(.+:)(.+)-([^]+)/,"$1"+Ft+"$2-$3$1"+Qd+(Kn(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Bm(e,"stretch")?g0(Yt(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(Kn(e,t+1)!==115)break;case 6444:switch(Kn(e,ts(e)-3-(~Bm(e,"!important")&&10))){case 107:return Yt(e,":",":"+Ft)+e;case 101:return Yt(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Ft+(Kn(e,14)===45?"inline-":"")+"box$3$1"+Ft+"$2$3$1"+rr+"$2box$3")+e}break;case 5936:switch(Kn(e,t+11)){case 114:return Ft+e+rr+Yt(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Ft+e+rr+Yt(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Ft+e+rr+Yt(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Ft+e+rr+e+e}return e}var F3=function(t,n,r,s){if(t.length>-1&&!t.return)switch(t.type){case Fg:t.return=g0(t.value,t.length);break;case f0:return al([jc(t,{value:Yt(t.value,"@","@"+Ft)})],s);case Jg:if(t.length)return S3(t.props,function(a){switch(z3(a,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return al([jc(t,{props:[Yt(a,/:(read-\w+)/,":"+Qd+"$1")]})],s);case"::placeholder":return al([jc(t,{props:[Yt(a,/:(plac\w+)/,":"+Ft+"input-$1")]}),jc(t,{props:[Yt(a,/:(plac\w+)/,":"+Qd+"$1")]}),jc(t,{props:[Yt(a,/:(plac\w+)/,rr+"input-$1")]})],s)}return""})}},Y3=[F3],q3=function(t){var n=t.key;if(n==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(P){var H=P.getAttribute("data-emotion");H.indexOf(" ")!==-1&&(document.head.appendChild(P),P.setAttribute("data-s",""))})}var s=t.stylisPlugins||Y3,a={},l,u=[];l=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(P){for(var H=P.getAttribute("data-emotion").split(" "),S=1;Sn.searchParams.append("args[]",r)),`Minified MUI error #${e}; visit ${n} for the full message.`}const To="$$material";function Gd(){return Gd=Object.assign?Object.assign.bind():function(e){for(var t=1;t0?Kn(Rl,--kr):0,Hl--,Ln===10&&(Hl=1,Pp--),Ln}function Jr(){return Ln=kr2||pu(Ln)>3?"":" "}function C3(e,t){for(;--t&&Jr()&&!(Ln<48||Ln>102||Ln>57&&Ln<65||Ln>70&&Ln<97););return Tu(e,Od()+(t<6&&as()==32&&Jr()==32))}function Bm(e){for(;Jr();)switch(Ln){case e:return kr;case 34:case 39:e!==34&&e!==39&&Bm(Ln);break;case 40:e===41&&Bm(e);break;case 92:Jr();break}return kr}function O3(e,t){for(;Jr()&&e+Ln!==57;)if(e+Ln===84&&as()===47)break;return"/*"+Tu(t,kr-1)+"*"+Ap(e===47?e:Jr())}function D3(e){for(;!pu(as());)Jr();return Tu(e,kr)}function k3(e){return f0(kd("",null,null,null,[""],e=u0(e),0,[0],e))}function kd(e,t,n,r,s,a,l,u,f){for(var p=0,h=0,m=l,x=0,w=0,A=0,P=1,H=1,C=1,S=0,z="",O=s,D=a,T=r,R=z;H;)switch(A=S,S=Jr()){case 40:if(A!=108&&Kn(R,m-1)==58){Nm(R+=Yt(Dd(S),"&","&\f"),"&\f")!=-1&&(C=-1);break}case 34:case 39:case 91:R+=Dd(S);break;case 9:case 10:case 13:case 32:R+=S3(A);break;case 92:R+=C3(Od()-1,7);continue;case 47:switch(as()){case 42:case 47:cd(T3(O3(Jr(),Od()),t,n),f);break;default:R+="/"}break;case 123*P:u[p++]=ts(R)*C;case 125*P:case 59:case 0:switch(S){case 0:case 125:H=0;case 59+h:C==-1&&(R=Yt(R,/\f/g,"")),w>0&&ts(R)-m&&cd(w>32?Ub(R+";",r,n,m-1):Ub(Yt(R," ","")+";",r,n,m-2),f);break;case 59:R+=";";default:if(cd(T=Gb(R,t,n,p,h,s,u,z,O=[],D=[],m),a),S===123)if(h===0)kd(R,t,T,T,O,a,m,u,D);else switch(x===99&&Kn(R,3)===110?100:x){case 100:case 108:case 109:case 115:kd(e,T,T,r&&cd(Gb(e,T,T,0,0,s,u,z,s,O=[],m),D),s,D,m,u,r?O:D);break;default:kd(R,T,T,T,[""],D,0,u,D)}}p=h=w=0,P=C=1,z=R="",m=l;break;case 58:m=1+ts(R),w=A;default:if(P<1){if(S==123)--P;else if(S==125&&P++==0&&z3()==125)continue}switch(R+=Ap(S),S*P){case 38:C=h>0?1:(R+="\f",-1);break;case 44:u[p++]=(ts(R)-1)*C,C=1;break;case 64:as()===45&&(R+=Dd(Jr())),x=as(),h=m=ts(z=R+=D3(Od())),S++;break;case 45:A===45&&ts(R)==2&&(P=0)}}return a}function Gb(e,t,n,r,s,a,l,u,f,p,h){for(var m=s-1,x=s===0?a:[""],w=Fy(x),A=0,P=0,H=0;A0?x[C]+" "+S:Yt(S,/&\f/g,x[C])))&&(f[H++]=z);return bp(e,t,n,s===0?Wy:u,f,p,h)}function T3(e,t,n){return bp(e,t,n,i0,Ap(j3()),du(e,2,-2),0)}function Ub(e,t,n,r){return bp(e,t,n,Jy,du(e,0,r),du(e,r+1,-1),r)}function al(e,t){for(var n="",r=Fy(e),s=0;s6)switch(Kn(e,t+1)){case 109:if(Kn(e,t+4)!==45)break;case 102:return Yt(e,/(.+:)(.+)-([^]+)/,"$1"+Ft+"$2-$3$1"+Qd+(Kn(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Nm(e,"stretch")?p0(Yt(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(Kn(e,t+1)!==115)break;case 6444:switch(Kn(e,ts(e)-3-(~Nm(e,"!important")&&10))){case 107:return Yt(e,":",":"+Ft)+e;case 101:return Yt(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Ft+(Kn(e,14)===45?"inline-":"")+"box$3$1"+Ft+"$2$3$1"+rr+"$2box$3")+e}break;case 5936:switch(Kn(e,t+11)){case 114:return Ft+e+rr+Yt(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Ft+e+rr+Yt(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Ft+e+rr+Yt(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Ft+e+rr+e+e}return e}var I3=function(t,n,r,s){if(t.length>-1&&!t.return)switch(t.type){case Jy:t.return=p0(t.value,t.length);break;case a0:return al([jc(t,{value:Yt(t.value,"@","@"+Ft)})],s);case Wy:if(t.length)return H3(t.props,function(a){switch(w3(a,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return al([jc(t,{props:[Yt(a,/:(read-\w+)/,":"+Qd+"$1")]})],s);case"::placeholder":return al([jc(t,{props:[Yt(a,/:(plac\w+)/,":"+Ft+"input-$1")]}),jc(t,{props:[Yt(a,/:(plac\w+)/,":"+Qd+"$1")]}),jc(t,{props:[Yt(a,/:(plac\w+)/,rr+"input-$1")]})],s)}return""})}},W3=[I3],J3=function(t){var n=t.key;if(n==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(P){var H=P.getAttribute("data-emotion");H.indexOf(" ")!==-1&&(document.head.appendChild(P),P.setAttribute("data-s",""))})}var s=t.stylisPlugins||W3,a={},l,u=[];l=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(P){for(var H=P.getAttribute("data-emotion").split(" "),C=1;C=4;++r,s-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(s){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var _3={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},$3=/[A-Z]|^ms/g,e7=/_EMO_([^_]+?)_([^]*?)_EMO_/g,A0=function(t){return t.charCodeAt(1)===45},e8=function(t){return t!=null&&typeof t!="boolean"},rm=m0(function(e){return A0(e)?e:e.replace($3,"-$&").toLowerCase()}),t8=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(e7,function(r,s,a){return ns={name:s,styles:a,next:ns},s})}return _3[t]!==1&&!A0(t)&&typeof n=="number"&&n!==0?n+"px":n};function vu(e,t,n){if(n==null)return"";var r=n;if(r.__emotion_styles!==void 0)return r;switch(typeof n){case"boolean":return"";case"object":{var s=n;if(s.anim===1)return ns={name:s.name,styles:s.styles,next:ns},s.name;var a=n;if(a.styles!==void 0){var l=a.next;if(l!==void 0)for(;l!==void 0;)ns={name:l.name,styles:l.styles,next:ns},l=l.next;var u=a.styles+";";return u}return t7(e,t,n)}case"function":{if(e!==void 0){var f=ns,p=n(e);return ns=f,vu(e,t,p)}break}}var h=n;if(t==null)return h;var m=t[h];return m!==void 0?m:h}function t7(e,t,n){var r="";if(Array.isArray(n))for(var s=0;s96?u7:f7},i8=function(t,n,r){var s;if(n){var a=n.shouldForwardProp;s=t.__emotion_forwardProp&&a?function(l){return t.__emotion_forwardProp(l)&&a(l)}:a}return typeof s!="function"&&r&&(s=t.__emotion_forwardProp),s},d7=function(t){var n=t.cache,r=t.serialized,s=t.isStringTag;return qg(n,r,s),b0(function(){return Zg(n,r,s)}),null},p7=function e(t,n){var r=t.__emotion_real===t,s=r&&t.__emotion_base||t,a,l;n!==void 0&&(a=n.label,l=n.target);var u=i8(t,n,r),f=u||s8(s),p=!f("as");return function(){var h=arguments,m=r&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(a!==void 0&&m.push("label:"+a+";"),h[0]==null||h[0].raw===void 0)m.push.apply(m,h);else{var x=h[0];m.push(x[0]);for(var w=h.length,A=1;At(h7(s)?n:s):t;return v.jsx(a7,{styles:r})}/** - * @mui/styled-engine v6.4.3 + */var Kb;function F3(){if(Kb)return qt;Kb=1;var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,s=e?Symbol.for("react.strict_mode"):60108,a=e?Symbol.for("react.profiler"):60114,l=e?Symbol.for("react.provider"):60109,u=e?Symbol.for("react.context"):60110,f=e?Symbol.for("react.async_mode"):60111,p=e?Symbol.for("react.concurrent_mode"):60111,h=e?Symbol.for("react.forward_ref"):60112,m=e?Symbol.for("react.suspense"):60113,x=e?Symbol.for("react.suspense_list"):60120,w=e?Symbol.for("react.memo"):60115,A=e?Symbol.for("react.lazy"):60116,P=e?Symbol.for("react.block"):60121,H=e?Symbol.for("react.fundamental"):60117,C=e?Symbol.for("react.responder"):60118,S=e?Symbol.for("react.scope"):60119;function z(D){if(typeof D=="object"&&D!==null){var T=D.$$typeof;switch(T){case t:switch(D=D.type,D){case f:case p:case r:case a:case s:case m:return D;default:switch(D=D&&D.$$typeof,D){case u:case h:case A:case w:case l:return D;default:return T}}case n:return T}}}function O(D){return z(D)===p}return qt.AsyncMode=f,qt.ConcurrentMode=p,qt.ContextConsumer=u,qt.ContextProvider=l,qt.Element=t,qt.ForwardRef=h,qt.Fragment=r,qt.Lazy=A,qt.Memo=w,qt.Portal=n,qt.Profiler=a,qt.StrictMode=s,qt.Suspense=m,qt.isAsyncMode=function(D){return O(D)||z(D)===f},qt.isConcurrentMode=O,qt.isContextConsumer=function(D){return z(D)===u},qt.isContextProvider=function(D){return z(D)===l},qt.isElement=function(D){return typeof D=="object"&&D!==null&&D.$$typeof===t},qt.isForwardRef=function(D){return z(D)===h},qt.isFragment=function(D){return z(D)===r},qt.isLazy=function(D){return z(D)===A},qt.isMemo=function(D){return z(D)===w},qt.isPortal=function(D){return z(D)===n},qt.isProfiler=function(D){return z(D)===a},qt.isStrictMode=function(D){return z(D)===s},qt.isSuspense=function(D){return z(D)===m},qt.isValidElementType=function(D){return typeof D=="string"||typeof D=="function"||D===r||D===p||D===a||D===s||D===m||D===x||typeof D=="object"&&D!==null&&(D.$$typeof===A||D.$$typeof===w||D.$$typeof===l||D.$$typeof===u||D.$$typeof===h||D.$$typeof===H||D.$$typeof===C||D.$$typeof===S||D.$$typeof===P)},qt.typeOf=z,qt}var _b;function Y3(){return _b||(_b=1,em.exports=F3()),em.exports}var tm,$b;function q3(){if($b)return tm;$b=1;var e=Y3(),t={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},n={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},r={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},a={};a[e.ForwardRef]=r,a[e.Memo]=s;function l(A){return e.isMemo(A)?s:a[A.$$typeof]||t}var u=Object.defineProperty,f=Object.getOwnPropertyNames,p=Object.getOwnPropertySymbols,h=Object.getOwnPropertyDescriptor,m=Object.getPrototypeOf,x=Object.prototype;function w(A,P,H){if(typeof P!="string"){if(x){var C=m(P);C&&C!==x&&w(A,C,H)}var S=f(P);p&&(S=S.concat(p(P)));for(var z=l(A),O=l(P),D=0;D=4;++r,s-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(s){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var U3={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},Q3=/[A-Z]|^ms/g,K3=/_EMO_([^_]+?)_([^]*?)_EMO_/g,h0=function(t){return t.charCodeAt(1)===45},e8=function(t){return t!=null&&typeof t!="boolean"},nm=d0(function(e){return h0(e)?e:e.replace(Q3,"-$&").toLowerCase()}),t8=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(K3,function(r,s,a){return ns={name:s,styles:a,next:ns},s})}return U3[t]!==1&&!h0(t)&&typeof n=="number"&&n!==0?n+"px":n};function vu(e,t,n){if(n==null)return"";var r=n;if(r.__emotion_styles!==void 0)return r;switch(typeof n){case"boolean":return"";case"object":{var s=n;if(s.anim===1)return ns={name:s.name,styles:s.styles,next:ns},s.name;var a=n;if(a.styles!==void 0){var l=a.next;if(l!==void 0)for(;l!==void 0;)ns={name:l.name,styles:l.styles,next:ns},l=l.next;var u=a.styles+";";return u}return _3(e,t,n)}case"function":{if(e!==void 0){var f=ns,p=n(e);return ns=f,vu(e,t,p)}break}}var h=n;if(t==null)return h;var m=t[h];return m!==void 0?m:h}function _3(e,t,n){var r="";if(Array.isArray(n))for(var s=0;s96?a7:l7},i8=function(t,n,r){var s;if(n){var a=n.shouldForwardProp;s=t.__emotion_forwardProp&&a?function(l){return t.__emotion_forwardProp(l)&&a(l)}:a}return typeof s!="function"&&r&&(s=t.__emotion_forwardProp),s},c7=function(t){var n=t.cache,r=t.serialized,s=t.isStringTag;return Yy(n,r,s),y0(function(){return qy(n,r,s)}),null},u7=function e(t,n){var r=t.__emotion_real===t,s=r&&t.__emotion_base||t,a,l;n!==void 0&&(a=n.label,l=n.target);var u=i8(t,n,r),f=u||s8(s),p=!f("as");return function(){var h=arguments,m=r&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(a!==void 0&&m.push("label:"+a+";"),h[0]==null||h[0].raw===void 0)m.push.apply(m,h);else{var x=h[0];m.push(x[0]);for(var w=h.length,A=1;At(d7(s)?n:s):t;return v.jsx(o7,{styles:r})}/** + * @mui/styled-engine v6.4.6 * * @license MIT * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */function H0(e,t){return Wm(e,t)}function m7(e,t){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}const a8=[];function l8(e){return a8[0]=e,Eu(a8)}var om={exports:{}},_t={};/** + */function P0(e,t){return Im(e,t)}function p7(e,t){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}const a8=[];function l8(e){return a8[0]=e,Eu(a8)}var rm={exports:{}},_t={};/** * @license React * react-is.production.js * @@ -35,7 +35,7 @@ var f3=Object.defineProperty;var Jb=e=>{throw TypeError(e)};var d3=(e,t,n)=>t in * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var c8;function g7(){if(c8)return _t;c8=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),a=Symbol.for("react.consumer"),l=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),p=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),x=Symbol.for("react.offscreen"),w=Symbol.for("react.client.reference");function A(P){if(typeof P=="object"&&P!==null){var H=P.$$typeof;switch(H){case e:switch(P=P.type,P){case n:case s:case r:case f:case p:return P;default:switch(P=P&&P.$$typeof,P){case l:case u:case m:case h:return P;case a:return P;default:return H}}case t:return H}}}return _t.ContextConsumer=a,_t.ContextProvider=l,_t.Element=e,_t.ForwardRef=u,_t.Fragment=n,_t.Lazy=m,_t.Memo=h,_t.Portal=t,_t.Profiler=s,_t.StrictMode=r,_t.Suspense=f,_t.SuspenseList=p,_t.isContextConsumer=function(P){return A(P)===a},_t.isContextProvider=function(P){return A(P)===l},_t.isElement=function(P){return typeof P=="object"&&P!==null&&P.$$typeof===e},_t.isForwardRef=function(P){return A(P)===u},_t.isFragment=function(P){return A(P)===n},_t.isLazy=function(P){return A(P)===m},_t.isMemo=function(P){return A(P)===h},_t.isPortal=function(P){return A(P)===t},_t.isProfiler=function(P){return A(P)===s},_t.isStrictMode=function(P){return A(P)===r},_t.isSuspense=function(P){return A(P)===f},_t.isSuspenseList=function(P){return A(P)===p},_t.isValidElementType=function(P){return typeof P=="string"||typeof P=="function"||P===n||P===s||P===r||P===f||P===p||P===x||typeof P=="object"&&P!==null&&(P.$$typeof===m||P.$$typeof===h||P.$$typeof===l||P.$$typeof===a||P.$$typeof===u||P.$$typeof===w||P.getModuleId!==void 0)},_t.typeOf=A,_t}var u8;function y7(){return u8||(u8=1,om.exports=g7()),om.exports}var j0=y7();function rs(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function z0(e){if(y.isValidElement(e)||j0.isValidElementType(e)||!rs(e))return e;const t={};return Object.keys(e).forEach(n=>{t[n]=z0(e[n])}),t}function qn(e,t,n={clone:!0}){const r=n.clone?{...e}:e;return rs(e)&&rs(t)&&Object.keys(t).forEach(s=>{y.isValidElement(t[s])||j0.isValidElementType(t[s])?r[s]=t[s]:rs(t[s])&&Object.prototype.hasOwnProperty.call(e,s)&&rs(e[s])?r[s]=qn(e[s],t[s],n):n.clone?r[s]=rs(t[s])?z0(t[s]):t[s]:r[s]=t[s]}),r}const A7=e=>{const t=Object.keys(e).map(n=>({key:n,val:e[n]}))||[];return t.sort((n,r)=>n.val-r.val),t.reduce((n,r)=>({...n,[r.key]:r.val}),{})};function P7(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:r=5,...s}=e,a=A7(t),l=Object.keys(a);function u(x){return`@media (min-width:${typeof t[x]=="number"?t[x]:x}${n})`}function f(x){return`@media (max-width:${(typeof t[x]=="number"?t[x]:x)-r/100}${n})`}function p(x,w){const A=l.indexOf(w);return`@media (min-width:${typeof t[x]=="number"?t[x]:x}${n}) and (max-width:${(A!==-1&&typeof t[l[A]]=="number"?t[l[A]]:w)-r/100}${n})`}function h(x){return l.indexOf(x)+1r.startsWith("@container")).sort((r,s)=>{var l,u;const a=/min-width:\s*([0-9.]+)/;return+(((l=r.match(a))==null?void 0:l[1])||0)-+(((u=s.match(a))==null?void 0:u[1])||0)});return n.length?n.reduce((r,s)=>{const a=t[s];return delete r[s],r[s]=a,r},{...t}):t}function x7(e,t){return t==="@"||t.startsWith("@")&&(e.some(n=>t.startsWith(`@${n}`))||!!t.match(/^@\d/))}function w7(e,t){const n=t.match(/^@([^/]+)?\/?(.+)?$/);if(!n)return null;const[,r,s]=n,a=Number.isNaN(+r)?r||0:+r;return e.containerQueries(s).up(a)}function H7(e){const t=(a,l)=>a.replace("@media",l?`@container ${l}`:"@container");function n(a,l){a.up=(...u)=>t(e.breakpoints.up(...u),l),a.down=(...u)=>t(e.breakpoints.down(...u),l),a.between=(...u)=>t(e.breakpoints.between(...u),l),a.only=(...u)=>t(e.breakpoints.only(...u),l),a.not=(...u)=>{const f=t(e.breakpoints.not(...u),l);return f.includes("not all and")?f.replace("not all and ","").replace("min-width:","width<").replace("max-width:","width>").replace("and","or"):f}}const r={},s=a=>(n(r,a),r);return n(s),{...e,containerQueries:s}}const j7={borderRadius:4};function nu(e,t){return t?qn(e,t,{clone:!1}):e}const wp={xs:0,sm:600,md:900,lg:1200,xl:1536},f8={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${wp[e]}px)`},z7={containerQueries:e=>({up:t=>{let n=typeof t=="number"?t:wp[t]||t;return typeof n=="number"&&(n=`${n}px`),e?`@container ${e} (min-width:${n})`:`@container (min-width:${n})`}})};function kr(e,t,n){const r=e.theme||{};if(Array.isArray(t)){const a=r.breakpoints||f8;return t.reduce((l,u,f)=>(l[a.up(a.keys[f])]=n(t[f]),l),{})}if(typeof t=="object"){const a=r.breakpoints||f8;return Object.keys(t).reduce((l,u)=>{if(x7(a.keys,u)){const f=w7(r.containerQueries?r:z7,u);f&&(l[f]=n(t[u],u))}else if(Object.keys(a.values||wp).includes(u)){const f=a.up(u);l[f]=n(t[u],u)}else{const f=u;l[f]=t[f]}return l},{})}return n(t)}function S0(e={}){var n;return((n=e.keys)==null?void 0:n.reduce((r,s)=>{const a=e.up(s);return r[a]={},r},{}))||{}}function C0(e,t){return e.reduce((n,r)=>{const s=n[r];return(!s||Object.keys(s).length===0)&&delete n[r],n},t)}function S7(e,...t){const n=S0(e),r=[n,...t].reduce((s,a)=>qn(s,a),{});return C0(Object.keys(n),r)}function C7(e,t){if(typeof e!="object")return{};const n={},r=Object.keys(t);return Array.isArray(e)?r.forEach((s,a)=>{a{e[s]!=null&&(n[s]=!0)}),n}function sa({values:e,breakpoints:t,base:n}){const r=n||C7(e,t),s=Object.keys(r);if(s.length===0)return e;let a;return s.reduce((l,u,f)=>(Array.isArray(e)?(l[u]=e[f]!=null?e[f]:e[a],a=f):typeof e=="object"?(l[u]=e[u]!=null?e[u]:e[a],a=u):l[u]=e,l),{})}function me(e){if(typeof e!="string")throw new Error(Rs(7));return e.charAt(0).toUpperCase()+e.slice(1)}function yi(e,t,n=!0){if(!t||typeof t!="string")return null;if(e&&e.vars&&n){const r=`vars.${t}`.split(".").reduce((s,a)=>s&&s[a]?s[a]:null,e);if(r!=null)return r}return t.split(".").reduce((r,s)=>r&&r[s]!=null?r[s]:null,e)}function Kd(e,t,n,r=n){let s;return typeof e=="function"?s=e(n):Array.isArray(e)?s=e[n]||r:s=yi(e,n)||r,t&&(s=t(s,r,e)),s}function En(e){const{prop:t,cssProperty:n=e.prop,themeKey:r,transform:s}=e,a=l=>{if(l[t]==null)return null;const u=l[t],f=l.theme,p=yi(f,r)||{};return kr(l,u,m=>{let x=Kd(p,s,m);return m===x&&typeof m=="string"&&(x=Kd(p,s,`${t}${m==="default"?"":me(m)}`,m)),n===!1?x:{[n]:x}})};return a.propTypes={},a.filterProps=[t],a}function O7(e){const t={};return n=>(t[n]===void 0&&(t[n]=e(n)),t[n])}const D7={m:"margin",p:"padding"},T7={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},d8={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},k7=O7(e=>{if(e.length>2)if(d8[e])e=d8[e];else return[e];const[t,n]=e.split(""),r=D7[t],s=T7[n]||"";return Array.isArray(s)?s.map(a=>r+a):[r+s]}),Kg=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],_g=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...Kg,..._g];function Lu(e,t,n,r){const s=yi(e,t,!0)??n;return typeof s=="number"||typeof s=="string"?a=>typeof a=="string"?a:typeof s=="string"?`calc(${a} * ${s})`:s*a:Array.isArray(s)?a=>{if(typeof a=="string")return a;const l=Math.abs(a),u=s[l];return a>=0?u:typeof u=="number"?-u:`-${u}`}:typeof s=="function"?s:()=>{}}function Hp(e){return Lu(e,"spacing",8)}function la(e,t){return typeof t=="string"||t==null?t:e(t)}function E7(e,t){return n=>e.reduce((r,s)=>(r[s]=la(t,n),r),{})}function R7(e,t,n,r){if(!t.includes(n))return null;const s=k7(n),a=E7(s,r),l=e[n];return kr(e,l,a)}function O0(e,t){const n=Hp(e.theme);return Object.keys(e).map(r=>R7(e,t,r,n)).reduce(nu,{})}function Hn(e){return O0(e,Kg)}Hn.propTypes={};Hn.filterProps=Kg;function jn(e){return O0(e,_g)}jn.propTypes={};jn.filterProps=_g;function D0(e=8,t=Hp({spacing:e})){if(e.mui)return e;const n=(...r)=>(r.length===0?[1]:r).map(a=>{const l=t(a);return typeof l=="number"?`${l}px`:l}).join(" ");return n.mui=!0,n}function jp(...e){const t=e.reduce((r,s)=>(s.filterProps.forEach(a=>{r[a]=s}),r),{}),n=r=>Object.keys(r).reduce((s,a)=>t[a]?nu(s,t[a](r)):s,{});return n.propTypes={},n.filterProps=e.reduce((r,s)=>r.concat(s.filterProps),[]),n}function co(e){return typeof e!="number"?e:`${e}px solid`}function vo(e,t){return En({prop:e,themeKey:"borders",transform:t})}const M7=vo("border",co),L7=vo("borderTop",co),X7=vo("borderRight",co),N7=vo("borderBottom",co),B7=vo("borderLeft",co),V7=vo("borderColor"),I7=vo("borderTopColor"),W7=vo("borderRightColor"),J7=vo("borderBottomColor"),F7=vo("borderLeftColor"),Y7=vo("outline",co),q7=vo("outlineColor"),zp=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=Lu(e.theme,"shape.borderRadius",4),n=r=>({borderRadius:la(t,r)});return kr(e,e.borderRadius,n)}return null};zp.propTypes={};zp.filterProps=["borderRadius"];jp(M7,L7,X7,N7,B7,V7,I7,W7,J7,F7,zp,Y7,q7);const Sp=e=>{if(e.gap!==void 0&&e.gap!==null){const t=Lu(e.theme,"spacing",8),n=r=>({gap:la(t,r)});return kr(e,e.gap,n)}return null};Sp.propTypes={};Sp.filterProps=["gap"];const Cp=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=Lu(e.theme,"spacing",8),n=r=>({columnGap:la(t,r)});return kr(e,e.columnGap,n)}return null};Cp.propTypes={};Cp.filterProps=["columnGap"];const Op=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=Lu(e.theme,"spacing",8),n=r=>({rowGap:la(t,r)});return kr(e,e.rowGap,n)}return null};Op.propTypes={};Op.filterProps=["rowGap"];const Z7=En({prop:"gridColumn"}),G7=En({prop:"gridRow"}),U7=En({prop:"gridAutoFlow"}),Q7=En({prop:"gridAutoColumns"}),K7=En({prop:"gridAutoRows"}),_7=En({prop:"gridTemplateColumns"}),$7=En({prop:"gridTemplateRows"}),eH=En({prop:"gridTemplateAreas"}),tH=En({prop:"gridArea"});jp(Sp,Cp,Op,Z7,G7,U7,Q7,K7,_7,$7,eH,tH);function ll(e,t){return t==="grey"?t:e}const nH=En({prop:"color",themeKey:"palette",transform:ll}),rH=En({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:ll}),oH=En({prop:"backgroundColor",themeKey:"palette",transform:ll});jp(nH,rH,oH);function Wr(e){return e<=1&&e!==0?`${e*100}%`:e}const sH=En({prop:"width",transform:Wr}),$g=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=n=>{var s,a,l,u,f;const r=((l=(a=(s=e.theme)==null?void 0:s.breakpoints)==null?void 0:a.values)==null?void 0:l[n])||wp[n];return r?((f=(u=e.theme)==null?void 0:u.breakpoints)==null?void 0:f.unit)!=="px"?{maxWidth:`${r}${e.theme.breakpoints.unit}`}:{maxWidth:r}:{maxWidth:Wr(n)}};return kr(e,e.maxWidth,t)}return null};$g.filterProps=["maxWidth"];const iH=En({prop:"minWidth",transform:Wr}),aH=En({prop:"height",transform:Wr}),lH=En({prop:"maxHeight",transform:Wr}),cH=En({prop:"minHeight",transform:Wr});En({prop:"size",cssProperty:"width",transform:Wr});En({prop:"size",cssProperty:"height",transform:Wr});const uH=En({prop:"boxSizing"});jp(sH,$g,iH,aH,lH,cH,uH);const Xu={border:{themeKey:"borders",transform:co},borderTop:{themeKey:"borders",transform:co},borderRight:{themeKey:"borders",transform:co},borderBottom:{themeKey:"borders",transform:co},borderLeft:{themeKey:"borders",transform:co},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:co},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:zp},color:{themeKey:"palette",transform:ll},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:ll},backgroundColor:{themeKey:"palette",transform:ll},p:{style:jn},pt:{style:jn},pr:{style:jn},pb:{style:jn},pl:{style:jn},px:{style:jn},py:{style:jn},padding:{style:jn},paddingTop:{style:jn},paddingRight:{style:jn},paddingBottom:{style:jn},paddingLeft:{style:jn},paddingX:{style:jn},paddingY:{style:jn},paddingInline:{style:jn},paddingInlineStart:{style:jn},paddingInlineEnd:{style:jn},paddingBlock:{style:jn},paddingBlockStart:{style:jn},paddingBlockEnd:{style:jn},m:{style:Hn},mt:{style:Hn},mr:{style:Hn},mb:{style:Hn},ml:{style:Hn},mx:{style:Hn},my:{style:Hn},margin:{style:Hn},marginTop:{style:Hn},marginRight:{style:Hn},marginBottom:{style:Hn},marginLeft:{style:Hn},marginX:{style:Hn},marginY:{style:Hn},marginInline:{style:Hn},marginInlineStart:{style:Hn},marginInlineEnd:{style:Hn},marginBlock:{style:Hn},marginBlockStart:{style:Hn},marginBlockEnd:{style:Hn},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:Sp},rowGap:{style:Op},columnGap:{style:Cp},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Wr},maxWidth:{style:$g},minWidth:{transform:Wr},height:{transform:Wr},maxHeight:{transform:Wr},minHeight:{transform:Wr},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 fH(...e){const t=e.reduce((r,s)=>r.concat(Object.keys(s)),[]),n=new Set(t);return e.every(r=>n.size===Object.keys(r).length)}function dH(e,t){return typeof e=="function"?e(t):e}function pH(){function e(n,r,s,a){const l={[n]:r,theme:s},u=a[n];if(!u)return{[n]:r};const{cssProperty:f=n,themeKey:p,transform:h,style:m}=u;if(r==null)return null;if(p==="typography"&&r==="inherit")return{[n]:r};const x=yi(s,p)||{};return m?m(l):kr(l,r,A=>{let P=Kd(x,h,A);return A===P&&typeof A=="string"&&(P=Kd(x,h,`${n}${A==="default"?"":me(A)}`,A)),f===!1?P:{[f]:P}})}function t(n){const{sx:r,theme:s={}}=n||{};if(!r)return null;const a=s.unstable_sxConfig??Xu;function l(u){let f=u;if(typeof u=="function")f=u(s);else if(typeof u!="object")return u;if(!f)return null;const p=S0(s.breakpoints),h=Object.keys(p);let m=p;return Object.keys(f).forEach(x=>{const w=dH(f[x],s);if(w!=null)if(typeof w=="object")if(a[x])m=nu(m,e(x,w,s,a));else{const A=kr({theme:s},w,P=>({[x]:P}));fH(A,w)?m[x]=t({sx:w,theme:s}):m=nu(m,A)}else m=nu(m,e(x,w,s,a))}),b7(s,C0(h,m))}return Array.isArray(r)?r.map(l):l(r)}return t}const Pi=pH();Pi.filterProps=["sx"];function vH(e,t){var r;const n=this;if(n.vars){if(!((r=n.colorSchemes)!=null&&r[e])||typeof n.getColorSchemeSelector!="function")return{};let s=n.getColorSchemeSelector(e);return s==="&"?t:((s.includes("data-")||s.includes("."))&&(s=`*:where(${s.replace(/\s*&$/,"")}) &`),{[s]:t})}return n.palette.mode===e?t:{}}function Dp(e={},...t){const{breakpoints:n={},palette:r={},spacing:s,shape:a={},...l}=e,u=P7(n),f=D0(s);let p=qn({breakpoints:u,direction:"ltr",components:{},palette:{mode:"light",...r},spacing:f,shape:{...j7,...a}},l);return p=H7(p),p.applyStyles=vH,p=t.reduce((h,m)=>qn(h,m),p),p.unstable_sxConfig={...Xu,...l==null?void 0:l.unstable_sxConfig},p.unstable_sx=function(m){return Pi({sx:m,theme:this})},p}function hH(e){return Object.keys(e).length===0}function ey(e=null){const t=y.useContext(Ru);return!t||hH(t)?e:t}const mH=Dp();function Tp(e=mH){return ey(e)}function gH({styles:e,themeId:t,defaultTheme:n={}}){const r=Tp(n),s=typeof e=="function"?e(t&&r[t]||r):e;return v.jsx(w0,{styles:s})}const yH=e=>{var r;const t={systemProps:{},otherProps:{}},n=((r=e==null?void 0:e.theme)==null?void 0:r.unstable_sxConfig)??Xu;return Object.keys(e).forEach(s=>{n[s]?t.systemProps[s]=e[s]:t.otherProps[s]=e[s]}),t};function kp(e){const{sx:t,...n}=e,{systemProps:r,otherProps:s}=yH(n);let a;return Array.isArray(t)?a=[r,...t]:typeof t=="function"?a=(...l)=>{const u=t(...l);return rs(u)?{...r,...u}:r}:a={...r,...t},{...s,sx:a}}const p8=e=>e,AH=()=>{let e=p8;return{configure(t){e=t},generate(t){return e(t)},reset(){e=p8}}},T0=AH();function k0(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var s=e.length;for(t=0;tu!=="theme"&&u!=="sx"&&u!=="as"})(Pi);return y.forwardRef(function(f,p){const h=Tp(n),{className:m,component:x="div",...w}=kp(f);return v.jsx(a,{as:x,ref:p,className:Oe(m,s?s(r):r),theme:t&&h[t]||h,...w})})}const bH={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 Ue(e,t,n="Mui"){const r=bH[t];return r?`${n}-${r}`:`${T0.generate(e)}-${t}`}function Qe(e,t,n="Mui"){const r={};return t.forEach(s=>{r[s]=Ue(e,s,n)}),r}function E0(e){const{variants:t,...n}=e,r={variants:t,style:l8(n),isProcessed:!0};return r.style===n||t&&t.forEach(s=>{typeof s.style!="function"&&(s.style=l8(s.style))}),r}const xH=Dp();function sm(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}function wH(e){return e?(t,n)=>n[e]:null}function HH(e,t,n){e.theme=zH(e.theme)?n:e.theme[t]||e.theme}function kd(e,t){const n=typeof t=="function"?t(e):t;if(Array.isArray(n))return n.flatMap(r=>kd(e,r));if(Array.isArray(n==null?void 0:n.variants)){let r;if(n.isProcessed)r=n.style;else{const{variants:s,...a}=n;r=a}return R0(e,n.variants,[r])}return n!=null&&n.isProcessed?n.style:n}function R0(e,t,n=[]){var s;let r;e:for(let a=0;a{m7(u,D=>D.filter(k=>k!==Pi));const{name:p,slot:h,skipVariantsResolver:m,skipSx:x,overridesResolver:w=wH(CH(h)),...A}=f,P=m!==void 0?m:h&&h!=="Root"&&h!=="root"||!1,H=x||!1;let S=sm;h==="Root"||h==="root"?S=r:h?S=s:SH(u)&&(S=void 0);const C=H0(u,{shouldForwardProp:S,label:jH(),...A}),z=D=>{if(typeof D=="function"&&D.__emotion_real!==D)return function(E){return kd(E,D)};if(rs(D)){const k=E0(D);return k.variants?function(M){return kd(M,k)}:k.style}return D},O=(...D)=>{const k=[],E=D.map(z),M=[];if(k.push(a),p&&w&&M.push(function(W){var _,$;const te=($=(_=W.theme.components)==null?void 0:_[p])==null?void 0:$.styleOverrides;if(!te)return null;const J={};for(const Q in te)J[Q]=kd(W,te[Q]);return w(W,J)}),p&&!P&&M.push(function(W){var J,_;const I=W.theme,te=(_=(J=I==null?void 0:I.components)==null?void 0:J[p])==null?void 0:_.variants;return te?R0(W,te):null}),H||M.push(Pi),Array.isArray(E[0])){const N=E.shift(),W=new Array(k.length).fill(""),I=new Array(M.length).fill("");let te;te=[...W,...N,...I],te.raw=[...W,...N.raw,...I],k.unshift(te)}const L=[...k,...E,...M],j=C(...L);return u.muiName&&(j.muiName=u.muiName),j};return C.withConfig&&(O.withConfig=C.withConfig),O}}function jH(e,t){return void 0}function zH(e){for(const t in e)return!1;return!0}function SH(e){return typeof e=="string"&&e.charCodeAt(0)>96}function CH(e){return e&&e.charAt(0).toLowerCase()+e.slice(1)}const OH=M0();function hu(e,t){const n={...t};for(const r in e)if(Object.prototype.hasOwnProperty.call(e,r)){const s=r;if(s==="components"||s==="slots")n[s]={...e[s],...n[s]};else if(s==="componentsProps"||s==="slotProps"){const a=e[s],l=t[s];if(!l)n[s]=a||{};else if(!a)n[s]=l;else{n[s]={...l};for(const u in a)if(Object.prototype.hasOwnProperty.call(a,u)){const f=u;n[s][f]=hu(a[f],l[f])}}}else n[s]===void 0&&(n[s]=e[s])}return n}function L0(e){const{theme:t,name:n,props:r}=e;return!t||!t.components||!t.components[n]||!t.components[n].defaultProps?r:hu(t.components[n].defaultProps,r)}function DH({props:e,name:t,defaultTheme:n,themeId:r}){let s=Tp(n);return r&&(s=s[r]||s),L0({theme:s,name:t,props:e})}const Yr=typeof window<"u"?y.useLayoutEffect:y.useEffect;function TH(e,t,n,r,s){const[a,l]=y.useState(()=>s&&n?n(e).matches:r?r(e).matches:t);return Yr(()=>{if(!n)return;const u=n(e),f=()=>{l(u.matches)};return f(),u.addEventListener("change",f),()=>{u.removeEventListener("change",f)}},[e,n]),a}const kH={...Ud},X0=kH.useSyncExternalStore;function EH(e,t,n,r,s){const a=y.useCallback(()=>t,[t]),l=y.useMemo(()=>{if(s&&n)return()=>n(e).matches;if(r!==null){const{matches:h}=r(e);return()=>h}return a},[a,e,r,s,n]),[u,f]=y.useMemo(()=>{if(n===null)return[a,()=>()=>{}];const h=n(e);return[()=>h.matches,m=>(h.addEventListener("change",m),()=>{h.removeEventListener("change",m)})]},[a,n,e]);return X0(f,u,l)}function N0(e={}){const{themeId:t}=e;return function(r,s={}){let a=ey();a&&t&&(a=a[t]||a);const l=typeof window<"u"&&typeof window.matchMedia<"u",{defaultMatches:u=!1,matchMedia:f=l?window.matchMedia:null,ssrMatchMedia:p=null,noSsr:h=!1}=L0({name:"MuiUseMediaQuery",props:s,theme:a});let m=typeof r=="function"?r(a):r;return m=m.replace(/^@media( ?)/m,""),(X0!==void 0?EH:TH)(m,u,f,p,h)}}N0();function RH(e,t=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,n))}function ty(e,t=0,n=1){return RH(e,t,n)}function MH(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let n=e.match(t);return n&&n[0].length===1&&(n=n.map(r=>r+r)),n?`rgb${n.length===4?"a":""}(${n.map((r,s)=>s<3?parseInt(r,16):Math.round(parseInt(r,16)/255*1e3)/1e3).join(", ")})`:""}function bi(e){if(e.type)return e;if(e.charAt(0)==="#")return bi(MH(e));const t=e.indexOf("("),n=e.substring(0,t);if(!["rgb","rgba","hsl","hsla","color"].includes(n))throw new Error(Rs(9,e));let r=e.substring(t+1,e.length-1),s;if(n==="color"){if(r=r.split(" "),s=r.shift(),r.length===4&&r[3].charAt(0)==="/"&&(r[3]=r[3].slice(1)),!["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].includes(s))throw new Error(Rs(10,s))}else r=r.split(",");return r=r.map(a=>parseFloat(a)),{type:n,values:r,colorSpace:s}}const LH=e=>{const t=bi(e);return t.values.slice(0,3).map((n,r)=>t.type.includes("hsl")&&r!==0?`${n}%`:n).join(" ")},Fc=(e,t)=>{try{return LH(e)}catch{return e}};function Ep(e){const{type:t,colorSpace:n}=e;let{values:r}=e;return t.includes("rgb")?r=r.map((s,a)=>a<3?parseInt(s,10):s):t.includes("hsl")&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),t.includes("color")?r=`${n} ${r.join(" ")}`:r=`${r.join(", ")}`,`${t}(${r})`}function B0(e){e=bi(e);const{values:t}=e,n=t[0],r=t[1]/100,s=t[2]/100,a=r*Math.min(s,1-s),l=(p,h=(p+n/30)%12)=>s-a*Math.max(Math.min(h-3,9-h,1),-1);let u="rgb";const f=[Math.round(l(0)*255),Math.round(l(8)*255),Math.round(l(4)*255)];return e.type==="hsla"&&(u+="a",f.push(t[3])),Ep({type:u,values:f})}function Jm(e){e=bi(e);let t=e.type==="hsl"||e.type==="hsla"?bi(B0(e)).values:e.values;return t=t.map(n=>(e.type!=="color"&&(n/=255),n<=.03928?n/12.92:((n+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function XH(e,t){const n=Jm(e),r=Jm(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function Pt(e,t){return e=bi(e),t=ty(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,Ep(e)}function ud(e,t,n){try{return Pt(e,t)}catch{return e}}function ca(e,t){if(e=bi(e),t=ty(t),e.type.includes("hsl"))e.values[2]*=1-t;else if(e.type.includes("rgb")||e.type.includes("color"))for(let n=0;n<3;n+=1)e.values[n]*=1-t;return Ep(e)}function $t(e,t,n){try{return ca(e,t)}catch{return e}}function ua(e,t){if(e=bi(e),t=ty(t),e.type.includes("hsl"))e.values[2]+=(100-e.values[2])*t;else if(e.type.includes("rgb"))for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(e.type.includes("color"))for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return Ep(e)}function en(e,t,n){try{return ua(e,t)}catch{return e}}function V0(e,t=.15){return Jm(e)>.5?ca(e,t):ua(e,t)}function fd(e,t,n){try{return V0(e,t)}catch{return e}}function Fm(...e){return e.reduce((t,n)=>n==null?t:function(...s){t.apply(this,s),n.apply(this,s)},()=>{})}function ny(e,t=166){let n;function r(...s){const a=()=>{e.apply(this,s)};clearTimeout(n),n=setTimeout(a,t)}return r.clear=()=>{clearTimeout(n)},r}function Ed(e,t){var n,r,s;return y.isValidElement(e)&&t.indexOf(e.type.muiName??((s=(r=(n=e.type)==null?void 0:n._payload)==null?void 0:r.value)==null?void 0:s.muiName))!==-1}function ir(e){return e&&e.ownerDocument||document}function Mo(e){return ir(e).defaultView||window}function _d(e,t){typeof e=="function"?e(t):e&&(e.current=t)}let v8=0;function NH(e){const[t,n]=y.useState(e),r=e||t;return y.useEffect(()=>{t==null&&(v8+=1,n(`mui-${v8}`))},[t]),r}const BH={...Ud},h8=BH.useId;function us(e){if(h8!==void 0){const t=h8();return e??t}return NH(e)}function Ai({controlled:e,default:t,name:n,state:r="value"}){const{current:s}=y.useRef(e!==void 0),[a,l]=y.useState(t),u=s?e:a,f=y.useCallback(p=>{s||l(p)},[]);return[u,f]}function hr(e){const t=y.useRef(e);return Yr(()=>{t.current=e}),y.useRef((...n)=>(0,t.current)(...n)).current}function sn(...e){return y.useMemo(()=>e.every(t=>t==null)?null:t=>{e.forEach(n=>{_d(n,t)})},e)}const m8={};function I0(e,t){const n=y.useRef(m8);return n.current===m8&&(n.current=e(t)),n}const VH=[];function IH(e){y.useEffect(e,VH)}class Rp{constructor(){xc(this,"currentId",null);xc(this,"clear",()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)});xc(this,"disposeEffect",()=>this.clear)}static create(){return new Rp}start(t,n){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,n()},t)}}function Zi(){const e=I0(Rp.create).current;return IH(e.disposeEffect),e}function jl(e){try{return e.matches(":focus-visible")}catch{}return!1}function W0(e=window){const t=e.document.documentElement.clientWidth;return e.innerWidth-t}const WH=e=>{const t=y.useRef({});return y.useEffect(()=>{t.current=e}),t.current};function Ke(e,t,n=void 0){const r={};for(const s in e){const a=e[s];let l="",u=!0;for(let f=0;fr.match(/^on[A-Z]/)&&typeof e[r]=="function"&&!t.includes(r)).forEach(r=>{n[r]=e[r]}),n}function g8(e){if(e===void 0)return{};const t={};return Object.keys(e).filter(n=>!(n.match(/^on[A-Z]/)&&typeof e[n]=="function")).forEach(n=>{t[n]=e[n]}),t}function F0(e){const{getSlotProps:t,additionalProps:n,externalSlotProps:r,externalForwardedProps:s,className:a}=e;if(!t){const w=Oe(n==null?void 0:n.className,a,s==null?void 0:s.className,r==null?void 0:r.className),A={...n==null?void 0:n.style,...s==null?void 0:s.style,...r==null?void 0:r.style},P={...n,...s,...r};return w.length>0&&(P.className=w),Object.keys(A).length>0&&(P.style=A),{props:P,internalRef:void 0}}const l=$d({...s,...r}),u=g8(r),f=g8(s),p=t(l),h=Oe(p==null?void 0:p.className,n==null?void 0:n.className,a,s==null?void 0:s.className,r==null?void 0:r.className),m={...p==null?void 0:p.style,...n==null?void 0:n.style,...s==null?void 0:s.style,...r==null?void 0:r.style},x={...p,...n,...f,...u};return h.length>0&&(x.className=h),Object.keys(m).length>0&&(x.style=m),{props:x,internalRef:p.ref}}function Y0(e,t,n){return typeof e=="function"?e(t,n):e}function ep(e){var m;const{elementType:t,externalSlotProps:n,ownerState:r,skipResolvingSlotProps:s=!1,...a}=e,l=s?{}:Y0(n,r),{props:u,internalRef:f}=F0({...a,externalSlotProps:l}),p=sn(f,l==null?void 0:l.ref,(m=e.additionalProps)==null?void 0:m.ref);return J0(t,{...u,ref:p},r)}function wi(e){var t;return parseInt(y.version,10)>=19?((t=e==null?void 0:e.props)==null?void 0:t.ref)||null:(e==null?void 0:e.ref)||null}const q0=y.createContext(null);function ry(){return y.useContext(q0)}const FH=typeof Symbol=="function"&&Symbol.for,YH=FH?Symbol.for("mui.nested"):"__THEME_NESTED__";function qH(e,t){return typeof t=="function"?t(e):{...e,...t}}function ZH(e){const{children:t,theme:n}=e,r=ry(),s=y.useMemo(()=>{const a=r===null?{...n}:qH(r,n);return a!=null&&(a[YH]=r!==null),a},[n,r]);return v.jsx(q0.Provider,{value:s,children:t})}const Z0=y.createContext();function GH({value:e,...t}){return v.jsx(Z0.Provider,{value:e??!0,...t})}const Nu=()=>y.useContext(Z0)??!1,G0=y.createContext(void 0);function UH({value:e,children:t}){return v.jsx(G0.Provider,{value:e,children:t})}function QH(e){const{theme:t,name:n,props:r}=e;if(!t||!t.components||!t.components[n])return r;const s=t.components[n];return s.defaultProps?hu(s.defaultProps,r):!s.styleOverrides&&!s.variants?hu(s,r):r}function KH({props:e,name:t}){const n=y.useContext(G0);return QH({props:e,name:t,theme:{components:n}})}const y8={};function A8(e,t,n,r=!1){return y.useMemo(()=>{const s=e&&t[e]||t;if(typeof n=="function"){const a=n(s),l=e?{...t,[e]:a}:a;return r?()=>l:l}return e?{...t,[e]:n}:{...t,...n}},[e,t,n,r])}function U0(e){const{children:t,theme:n,themeId:r}=e,s=ey(y8),a=ry()||y8,l=A8(r,s,n),u=A8(r,a,n,!0),f=(r?l[r]:l).direction==="rtl";return v.jsx(ZH,{theme:u,children:v.jsx(Ru.Provider,{value:l,children:v.jsx(GH,{value:f,children:v.jsx(UH,{value:r?l[r].components:l.components,children:t})})})})}const P8={theme:void 0};function _H(e){let t,n;return function(s){let a=t;return(a===void 0||s.theme!==n)&&(P8.theme=s.theme,a=E0(e(P8)),t=a,n=s.theme),a}}const oy="mode",sy="color-scheme",$H="data-color-scheme";function ej(e){const{defaultMode:t="system",defaultLightColorScheme:n="light",defaultDarkColorScheme:r="dark",modeStorageKey:s=oy,colorSchemeStorageKey:a=sy,attribute:l=$H,colorSchemeNode:u="document.documentElement",nonce:f}=e||{};let p="",h=l;if(l==="class"&&(h=".%s"),l==="data"&&(h="[data-%s]"),h.startsWith(".")){const x=h.substring(1);p+=`${u}.classList.remove('${x}'.replace('%s', light), '${x}'.replace('%s', dark)); + */var c8;function v7(){if(c8)return _t;c8=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),a=Symbol.for("react.consumer"),l=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),p=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),x=Symbol.for("react.offscreen"),w=Symbol.for("react.client.reference");function A(P){if(typeof P=="object"&&P!==null){var H=P.$$typeof;switch(H){case e:switch(P=P.type,P){case n:case s:case r:case f:case p:return P;default:switch(P=P&&P.$$typeof,P){case l:case u:case m:case h:return P;case a:return P;default:return H}}case t:return H}}}return _t.ContextConsumer=a,_t.ContextProvider=l,_t.Element=e,_t.ForwardRef=u,_t.Fragment=n,_t.Lazy=m,_t.Memo=h,_t.Portal=t,_t.Profiler=s,_t.StrictMode=r,_t.Suspense=f,_t.SuspenseList=p,_t.isContextConsumer=function(P){return A(P)===a},_t.isContextProvider=function(P){return A(P)===l},_t.isElement=function(P){return typeof P=="object"&&P!==null&&P.$$typeof===e},_t.isForwardRef=function(P){return A(P)===u},_t.isFragment=function(P){return A(P)===n},_t.isLazy=function(P){return A(P)===m},_t.isMemo=function(P){return A(P)===h},_t.isPortal=function(P){return A(P)===t},_t.isProfiler=function(P){return A(P)===s},_t.isStrictMode=function(P){return A(P)===r},_t.isSuspense=function(P){return A(P)===f},_t.isSuspenseList=function(P){return A(P)===p},_t.isValidElementType=function(P){return typeof P=="string"||typeof P=="function"||P===n||P===s||P===r||P===f||P===p||P===x||typeof P=="object"&&P!==null&&(P.$$typeof===m||P.$$typeof===h||P.$$typeof===l||P.$$typeof===a||P.$$typeof===u||P.$$typeof===w||P.getModuleId!==void 0)},_t.typeOf=A,_t}var u8;function h7(){return u8||(u8=1,rm.exports=v7()),rm.exports}var b0=h7();function rs(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function x0(e){if(g.isValidElement(e)||b0.isValidElementType(e)||!rs(e))return e;const t={};return Object.keys(e).forEach(n=>{t[n]=x0(e[n])}),t}function qn(e,t,n={clone:!0}){const r=n.clone?{...e}:e;return rs(e)&&rs(t)&&Object.keys(t).forEach(s=>{g.isValidElement(t[s])||b0.isValidElementType(t[s])?r[s]=t[s]:rs(t[s])&&Object.prototype.hasOwnProperty.call(e,s)&&rs(e[s])?r[s]=qn(e[s],t[s],n):n.clone?r[s]=rs(t[s])?x0(t[s]):t[s]:r[s]=t[s]}),r}const m7=e=>{const t=Object.keys(e).map(n=>({key:n,val:e[n]}))||[];return t.sort((n,r)=>n.val-r.val),t.reduce((n,r)=>({...n,[r.key]:r.val}),{})};function y7(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:r=5,...s}=e,a=m7(t),l=Object.keys(a);function u(x){return`@media (min-width:${typeof t[x]=="number"?t[x]:x}${n})`}function f(x){return`@media (max-width:${(typeof t[x]=="number"?t[x]:x)-r/100}${n})`}function p(x,w){const A=l.indexOf(w);return`@media (min-width:${typeof t[x]=="number"?t[x]:x}${n}) and (max-width:${(A!==-1&&typeof t[l[A]]=="number"?t[l[A]]:w)-r/100}${n})`}function h(x){return l.indexOf(x)+1r.startsWith("@container")).sort((r,s)=>{var l,u;const a=/min-width:\s*([0-9.]+)/;return+(((l=r.match(a))==null?void 0:l[1])||0)-+(((u=s.match(a))==null?void 0:u[1])||0)});return n.length?n.reduce((r,s)=>{const a=t[s];return delete r[s],r[s]=a,r},{...t}):t}function A7(e,t){return t==="@"||t.startsWith("@")&&(e.some(n=>t.startsWith(`@${n}`))||!!t.match(/^@\d/))}function P7(e,t){const n=t.match(/^@([^/]+)?\/?(.+)?$/);if(!n)return null;const[,r,s]=n,a=Number.isNaN(+r)?r||0:+r;return e.containerQueries(s).up(a)}function b7(e){const t=(a,l)=>a.replace("@media",l?`@container ${l}`:"@container");function n(a,l){a.up=(...u)=>t(e.breakpoints.up(...u),l),a.down=(...u)=>t(e.breakpoints.down(...u),l),a.between=(...u)=>t(e.breakpoints.between(...u),l),a.only=(...u)=>t(e.breakpoints.only(...u),l),a.not=(...u)=>{const f=t(e.breakpoints.not(...u),l);return f.includes("not all and")?f.replace("not all and ","").replace("min-width:","width<").replace("max-width:","width>").replace("and","or"):f}}const r={},s=a=>(n(r,a),r);return n(s),{...e,containerQueries:s}}const x7={borderRadius:4};function nu(e,t){return t?qn(e,t,{clone:!1}):e}const xp={xs:0,sm:600,md:900,lg:1200,xl:1536},f8={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${xp[e]}px)`},w7={containerQueries:e=>({up:t=>{let n=typeof t=="number"?t:xp[t]||t;return typeof n=="number"&&(n=`${n}px`),e?`@container ${e} (min-width:${n})`:`@container (min-width:${n})`}})};function Tr(e,t,n){const r=e.theme||{};if(Array.isArray(t)){const a=r.breakpoints||f8;return t.reduce((l,u,f)=>(l[a.up(a.keys[f])]=n(t[f]),l),{})}if(typeof t=="object"){const a=r.breakpoints||f8;return Object.keys(t).reduce((l,u)=>{if(A7(a.keys,u)){const f=P7(r.containerQueries?r:w7,u);f&&(l[f]=n(t[u],u))}else if(Object.keys(a.values||xp).includes(u)){const f=a.up(u);l[f]=n(t[u],u)}else{const f=u;l[f]=t[f]}return l},{})}return n(t)}function w0(e={}){var n;return((n=e.keys)==null?void 0:n.reduce((r,s)=>{const a=e.up(s);return r[a]={},r},{}))||{}}function H0(e,t){return e.reduce((n,r)=>{const s=n[r];return(!s||Object.keys(s).length===0)&&delete n[r],n},t)}function H7(e,...t){const n=w0(e),r=[n,...t].reduce((s,a)=>qn(s,a),{});return H0(Object.keys(n),r)}function j7(e,t){if(typeof e!="object")return{};const n={},r=Object.keys(t);return Array.isArray(e)?r.forEach((s,a)=>{a{e[s]!=null&&(n[s]=!0)}),n}function sa({values:e,breakpoints:t,base:n}){const r=n||j7(e,t),s=Object.keys(r);if(s.length===0)return e;let a;return s.reduce((l,u,f)=>(Array.isArray(e)?(l[u]=e[f]!=null?e[f]:e[a],a=f):typeof e=="object"?(l[u]=e[u]!=null?e[u]:e[a],a=u):l[u]=e,l),{})}function ye(e){if(typeof e!="string")throw new Error(Rs(7));return e.charAt(0).toUpperCase()+e.slice(1)}function gi(e,t,n=!0){if(!t||typeof t!="string")return null;if(e&&e.vars&&n){const r=`vars.${t}`.split(".").reduce((s,a)=>s&&s[a]?s[a]:null,e);if(r!=null)return r}return t.split(".").reduce((r,s)=>r&&r[s]!=null?r[s]:null,e)}function Kd(e,t,n,r=n){let s;return typeof e=="function"?s=e(n):Array.isArray(e)?s=e[n]||r:s=gi(e,n)||r,t&&(s=t(s,r,e)),s}function En(e){const{prop:t,cssProperty:n=e.prop,themeKey:r,transform:s}=e,a=l=>{if(l[t]==null)return null;const u=l[t],f=l.theme,p=gi(f,r)||{};return Tr(l,u,m=>{let x=Kd(p,s,m);return m===x&&typeof m=="string"&&(x=Kd(p,s,`${t}${m==="default"?"":ye(m)}`,m)),n===!1?x:{[n]:x}})};return a.propTypes={},a.filterProps=[t],a}function z7(e){const t={};return n=>(t[n]===void 0&&(t[n]=e(n)),t[n])}const S7={m:"margin",p:"padding"},C7={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},d8={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},O7=z7(e=>{if(e.length>2)if(d8[e])e=d8[e];else return[e];const[t,n]=e.split(""),r=S7[t],s=C7[n]||"";return Array.isArray(s)?s.map(a=>r+a):[r+s]}),Qy=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],Ky=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...Qy,...Ky];function Lu(e,t,n,r){const s=gi(e,t,!0)??n;return typeof s=="number"||typeof s=="string"?a=>typeof a=="string"?a:typeof s=="string"?`calc(${a} * ${s})`:s*a:Array.isArray(s)?a=>{if(typeof a=="string")return a;const l=Math.abs(a),u=s[l];return a>=0?u:typeof u=="number"?-u:`-${u}`}:typeof s=="function"?s:()=>{}}function wp(e){return Lu(e,"spacing",8)}function la(e,t){return typeof t=="string"||t==null?t:e(t)}function D7(e,t){return n=>e.reduce((r,s)=>(r[s]=la(t,n),r),{})}function k7(e,t,n,r){if(!t.includes(n))return null;const s=O7(n),a=D7(s,r),l=e[n];return Tr(e,l,a)}function j0(e,t){const n=wp(e.theme);return Object.keys(e).map(r=>k7(e,t,r,n)).reduce(nu,{})}function Hn(e){return j0(e,Qy)}Hn.propTypes={};Hn.filterProps=Qy;function jn(e){return j0(e,Ky)}jn.propTypes={};jn.filterProps=Ky;function z0(e=8,t=wp({spacing:e})){if(e.mui)return e;const n=(...r)=>(r.length===0?[1]:r).map(a=>{const l=t(a);return typeof l=="number"?`${l}px`:l}).join(" ");return n.mui=!0,n}function Hp(...e){const t=e.reduce((r,s)=>(s.filterProps.forEach(a=>{r[a]=s}),r),{}),n=r=>Object.keys(r).reduce((s,a)=>t[a]?nu(s,t[a](r)):s,{});return n.propTypes={},n.filterProps=e.reduce((r,s)=>r.concat(s.filterProps),[]),n}function co(e){return typeof e!="number"?e:`${e}px solid`}function vo(e,t){return En({prop:e,themeKey:"borders",transform:t})}const T7=vo("border",co),E7=vo("borderTop",co),R7=vo("borderRight",co),M7=vo("borderBottom",co),L7=vo("borderLeft",co),X7=vo("borderColor"),N7=vo("borderTopColor"),B7=vo("borderRightColor"),V7=vo("borderBottomColor"),I7=vo("borderLeftColor"),W7=vo("outline",co),J7=vo("outlineColor"),jp=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=Lu(e.theme,"shape.borderRadius",4),n=r=>({borderRadius:la(t,r)});return Tr(e,e.borderRadius,n)}return null};jp.propTypes={};jp.filterProps=["borderRadius"];Hp(T7,E7,R7,M7,L7,X7,N7,B7,V7,I7,jp,W7,J7);const zp=e=>{if(e.gap!==void 0&&e.gap!==null){const t=Lu(e.theme,"spacing",8),n=r=>({gap:la(t,r)});return Tr(e,e.gap,n)}return null};zp.propTypes={};zp.filterProps=["gap"];const Sp=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=Lu(e.theme,"spacing",8),n=r=>({columnGap:la(t,r)});return Tr(e,e.columnGap,n)}return null};Sp.propTypes={};Sp.filterProps=["columnGap"];const Cp=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=Lu(e.theme,"spacing",8),n=r=>({rowGap:la(t,r)});return Tr(e,e.rowGap,n)}return null};Cp.propTypes={};Cp.filterProps=["rowGap"];const F7=En({prop:"gridColumn"}),Y7=En({prop:"gridRow"}),q7=En({prop:"gridAutoFlow"}),Z7=En({prop:"gridAutoColumns"}),G7=En({prop:"gridAutoRows"}),U7=En({prop:"gridTemplateColumns"}),Q7=En({prop:"gridTemplateRows"}),K7=En({prop:"gridTemplateAreas"}),_7=En({prop:"gridArea"});Hp(zp,Sp,Cp,F7,Y7,q7,Z7,G7,U7,Q7,K7,_7);function ll(e,t){return t==="grey"?t:e}const $7=En({prop:"color",themeKey:"palette",transform:ll}),eH=En({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:ll}),tH=En({prop:"backgroundColor",themeKey:"palette",transform:ll});Hp($7,eH,tH);function Wr(e){return e<=1&&e!==0?`${e*100}%`:e}const nH=En({prop:"width",transform:Wr}),_y=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=n=>{var s,a,l,u,f;const r=((l=(a=(s=e.theme)==null?void 0:s.breakpoints)==null?void 0:a.values)==null?void 0:l[n])||xp[n];return r?((f=(u=e.theme)==null?void 0:u.breakpoints)==null?void 0:f.unit)!=="px"?{maxWidth:`${r}${e.theme.breakpoints.unit}`}:{maxWidth:r}:{maxWidth:Wr(n)}};return Tr(e,e.maxWidth,t)}return null};_y.filterProps=["maxWidth"];const rH=En({prop:"minWidth",transform:Wr}),oH=En({prop:"height",transform:Wr}),sH=En({prop:"maxHeight",transform:Wr}),iH=En({prop:"minHeight",transform:Wr});En({prop:"size",cssProperty:"width",transform:Wr});En({prop:"size",cssProperty:"height",transform:Wr});const aH=En({prop:"boxSizing"});Hp(nH,_y,rH,oH,sH,iH,aH);const Xu={border:{themeKey:"borders",transform:co},borderTop:{themeKey:"borders",transform:co},borderRight:{themeKey:"borders",transform:co},borderBottom:{themeKey:"borders",transform:co},borderLeft:{themeKey:"borders",transform:co},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:co},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:jp},color:{themeKey:"palette",transform:ll},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:ll},backgroundColor:{themeKey:"palette",transform:ll},p:{style:jn},pt:{style:jn},pr:{style:jn},pb:{style:jn},pl:{style:jn},px:{style:jn},py:{style:jn},padding:{style:jn},paddingTop:{style:jn},paddingRight:{style:jn},paddingBottom:{style:jn},paddingLeft:{style:jn},paddingX:{style:jn},paddingY:{style:jn},paddingInline:{style:jn},paddingInlineStart:{style:jn},paddingInlineEnd:{style:jn},paddingBlock:{style:jn},paddingBlockStart:{style:jn},paddingBlockEnd:{style:jn},m:{style:Hn},mt:{style:Hn},mr:{style:Hn},mb:{style:Hn},ml:{style:Hn},mx:{style:Hn},my:{style:Hn},margin:{style:Hn},marginTop:{style:Hn},marginRight:{style:Hn},marginBottom:{style:Hn},marginLeft:{style:Hn},marginX:{style:Hn},marginY:{style:Hn},marginInline:{style:Hn},marginInlineStart:{style:Hn},marginInlineEnd:{style:Hn},marginBlock:{style:Hn},marginBlockStart:{style:Hn},marginBlockEnd:{style:Hn},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:zp},rowGap:{style:Cp},columnGap:{style:Sp},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Wr},maxWidth:{style:_y},minWidth:{transform:Wr},height:{transform:Wr},maxHeight:{transform:Wr},minHeight:{transform:Wr},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 lH(...e){const t=e.reduce((r,s)=>r.concat(Object.keys(s)),[]),n=new Set(t);return e.every(r=>n.size===Object.keys(r).length)}function cH(e,t){return typeof e=="function"?e(t):e}function uH(){function e(n,r,s,a){const l={[n]:r,theme:s},u=a[n];if(!u)return{[n]:r};const{cssProperty:f=n,themeKey:p,transform:h,style:m}=u;if(r==null)return null;if(p==="typography"&&r==="inherit")return{[n]:r};const x=gi(s,p)||{};return m?m(l):Tr(l,r,A=>{let P=Kd(x,h,A);return A===P&&typeof A=="string"&&(P=Kd(x,h,`${n}${A==="default"?"":ye(A)}`,A)),f===!1?P:{[f]:P}})}function t(n){const{sx:r,theme:s={}}=n||{};if(!r)return null;const a=s.unstable_sxConfig??Xu;function l(u){let f=u;if(typeof u=="function")f=u(s);else if(typeof u!="object")return u;if(!f)return null;const p=w0(s.breakpoints),h=Object.keys(p);let m=p;return Object.keys(f).forEach(x=>{const w=cH(f[x],s);if(w!=null)if(typeof w=="object")if(a[x])m=nu(m,e(x,w,s,a));else{const A=Tr({theme:s},w,P=>({[x]:P}));lH(A,w)?m[x]=t({sx:w,theme:s}):m=nu(m,A)}else m=nu(m,e(x,w,s,a))}),g7(s,H0(h,m))}return Array.isArray(r)?r.map(l):l(r)}return t}const Pi=uH();Pi.filterProps=["sx"];function fH(e,t){var r;const n=this;if(n.vars){if(!((r=n.colorSchemes)!=null&&r[e])||typeof n.getColorSchemeSelector!="function")return{};let s=n.getColorSchemeSelector(e);return s==="&"?t:((s.includes("data-")||s.includes("."))&&(s=`*:where(${s.replace(/\s*&$/,"")}) &`),{[s]:t})}return n.palette.mode===e?t:{}}function Op(e={},...t){const{breakpoints:n={},palette:r={},spacing:s,shape:a={},...l}=e,u=y7(n),f=z0(s);let p=qn({breakpoints:u,direction:"ltr",components:{},palette:{mode:"light",...r},spacing:f,shape:{...x7,...a}},l);return p=b7(p),p.applyStyles=fH,p=t.reduce((h,m)=>qn(h,m),p),p.unstable_sxConfig={...Xu,...l==null?void 0:l.unstable_sxConfig},p.unstable_sx=function(m){return Pi({sx:m,theme:this})},p}function dH(e){return Object.keys(e).length===0}function $y(e=null){const t=g.useContext(Ru);return!t||dH(t)?e:t}const pH=Op();function Dp(e=pH){return $y(e)}function vH({styles:e,themeId:t,defaultTheme:n={}}){const r=Dp(n),s=typeof e=="function"?e(t&&r[t]||r):e;return v.jsx(A0,{styles:s})}const hH=e=>{var r;const t={systemProps:{},otherProps:{}},n=((r=e==null?void 0:e.theme)==null?void 0:r.unstable_sxConfig)??Xu;return Object.keys(e).forEach(s=>{n[s]?t.systemProps[s]=e[s]:t.otherProps[s]=e[s]}),t};function kp(e){const{sx:t,...n}=e,{systemProps:r,otherProps:s}=hH(n);let a;return Array.isArray(t)?a=[r,...t]:typeof t=="function"?a=(...l)=>{const u=t(...l);return rs(u)?{...r,...u}:r}:a={...r,...t},{...s,sx:a}}const p8=e=>e,mH=()=>{let e=p8;return{configure(t){e=t},generate(t){return e(t)},reset(){e=p8}}},S0=mH();function C0(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var s=e.length;for(t=0;tu!=="theme"&&u!=="sx"&&u!=="as"})(Pi);return g.forwardRef(function(f,p){const h=Dp(n),{className:m,component:x="div",...w}=kp(f);return v.jsx(a,{as:x,ref:p,className:Oe(m,s?s(r):r),theme:t&&h[t]||h,...w})})}const gH={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 Qe(e,t,n="Mui"){const r=gH[t];return r?`${n}-${r}`:`${S0.generate(e)}-${t}`}function Ke(e,t,n="Mui"){const r={};return t.forEach(s=>{r[s]=Qe(e,s,n)}),r}function O0(e){const{variants:t,...n}=e,r={variants:t,style:l8(n),isProcessed:!0};return r.style===n||t&&t.forEach(s=>{typeof s.style!="function"&&(s.style=l8(s.style))}),r}const AH=Op();function om(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}function PH(e){return e?(t,n)=>n[e]:null}function bH(e,t,n){e.theme=wH(e.theme)?n:e.theme[t]||e.theme}function Td(e,t){const n=typeof t=="function"?t(e):t;if(Array.isArray(n))return n.flatMap(r=>Td(e,r));if(Array.isArray(n==null?void 0:n.variants)){let r;if(n.isProcessed)r=n.style;else{const{variants:s,...a}=n;r=a}return D0(e,n.variants,[r])}return n!=null&&n.isProcessed?n.style:n}function D0(e,t,n=[]){var s;let r;e:for(let a=0;a{p7(u,D=>D.filter(T=>T!==Pi));const{name:p,slot:h,skipVariantsResolver:m,skipSx:x,overridesResolver:w=PH(jH(h)),...A}=f,P=m!==void 0?m:h&&h!=="Root"&&h!=="root"||!1,H=x||!1;let C=om;h==="Root"||h==="root"?C=r:h?C=s:HH(u)&&(C=void 0);const S=P0(u,{shouldForwardProp:C,label:xH(),...A}),z=D=>{if(typeof D=="function"&&D.__emotion_real!==D)return function(R){return Td(R,D)};if(rs(D)){const T=O0(D);return T.variants?function(M){return Td(M,T)}:T.style}return D},O=(...D)=>{const T=[],R=D.map(z),M=[];if(T.push(a),p&&w&&M.push(function(B){var Q,re;const $=(re=(Q=B.theme.components)==null?void 0:Q[p])==null?void 0:re.styleOverrides;if(!$)return null;const J={};for(const _ in $)J[_]=Td(B,$[_]);return w(B,J)}),p&&!P&&M.push(function(B){var J,Q;const W=B.theme,$=(Q=(J=W==null?void 0:W.components)==null?void 0:J[p])==null?void 0:Q.variants;return $?D0(B,$):null}),H||M.push(Pi),Array.isArray(R[0])){const N=R.shift(),B=new Array(T.length).fill(""),W=new Array(M.length).fill("");let $;$=[...B,...N,...W],$.raw=[...B,...N.raw,...W],T.unshift($)}const L=[...T,...R,...M],j=S(...L);return u.muiName&&(j.muiName=u.muiName),j};return S.withConfig&&(O.withConfig=S.withConfig),O}}function xH(e,t){return void 0}function wH(e){for(const t in e)return!1;return!0}function HH(e){return typeof e=="string"&&e.charCodeAt(0)>96}function jH(e){return e&&e.charAt(0).toLowerCase()+e.slice(1)}const zH=k0();function hu(e,t){const n={...t};for(const r in e)if(Object.prototype.hasOwnProperty.call(e,r)){const s=r;if(s==="components"||s==="slots")n[s]={...e[s],...n[s]};else if(s==="componentsProps"||s==="slotProps"){const a=e[s],l=t[s];if(!l)n[s]=a||{};else if(!a)n[s]=l;else{n[s]={...l};for(const u in a)if(Object.prototype.hasOwnProperty.call(a,u)){const f=u;n[s][f]=hu(a[f],l[f])}}}else n[s]===void 0&&(n[s]=e[s])}return n}function T0(e){const{theme:t,name:n,props:r}=e;return!t||!t.components||!t.components[n]||!t.components[n].defaultProps?r:hu(t.components[n].defaultProps,r)}function SH({props:e,name:t,defaultTheme:n,themeId:r}){let s=Dp(n);return r&&(s=s[r]||s),T0({theme:s,name:t,props:e})}const Yr=typeof window<"u"?g.useLayoutEffect:g.useEffect;function CH(e,t,n,r,s){const[a,l]=g.useState(()=>s&&n?n(e).matches:r?r(e).matches:t);return Yr(()=>{if(!n)return;const u=n(e),f=()=>{l(u.matches)};return f(),u.addEventListener("change",f),()=>{u.removeEventListener("change",f)}},[e,n]),a}const OH={...Ud},E0=OH.useSyncExternalStore;function DH(e,t,n,r,s){const a=g.useCallback(()=>t,[t]),l=g.useMemo(()=>{if(s&&n)return()=>n(e).matches;if(r!==null){const{matches:h}=r(e);return()=>h}return a},[a,e,r,s,n]),[u,f]=g.useMemo(()=>{if(n===null)return[a,()=>()=>{}];const h=n(e);return[()=>h.matches,m=>(h.addEventListener("change",m),()=>{h.removeEventListener("change",m)})]},[a,n,e]);return E0(f,u,l)}function R0(e={}){const{themeId:t}=e;return function(r,s={}){let a=$y();a&&t&&(a=a[t]||a);const l=typeof window<"u"&&typeof window.matchMedia<"u",{defaultMatches:u=!1,matchMedia:f=l?window.matchMedia:null,ssrMatchMedia:p=null,noSsr:h=!1}=T0({name:"MuiUseMediaQuery",props:s,theme:a});let m=typeof r=="function"?r(a):r;return m=m.replace(/^@media( ?)/m,""),(E0!==void 0?DH:CH)(m,u,f,p,h)}}R0();function kH(e,t=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,n))}function eg(e,t=0,n=1){return kH(e,t,n)}function TH(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let n=e.match(t);return n&&n[0].length===1&&(n=n.map(r=>r+r)),n?`rgb${n.length===4?"a":""}(${n.map((r,s)=>s<3?parseInt(r,16):Math.round(parseInt(r,16)/255*1e3)/1e3).join(", ")})`:""}function bi(e){if(e.type)return e;if(e.charAt(0)==="#")return bi(TH(e));const t=e.indexOf("("),n=e.substring(0,t);if(!["rgb","rgba","hsl","hsla","color"].includes(n))throw new Error(Rs(9,e));let r=e.substring(t+1,e.length-1),s;if(n==="color"){if(r=r.split(" "),s=r.shift(),r.length===4&&r[3].charAt(0)==="/"&&(r[3]=r[3].slice(1)),!["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].includes(s))throw new Error(Rs(10,s))}else r=r.split(",");return r=r.map(a=>parseFloat(a)),{type:n,values:r,colorSpace:s}}const EH=e=>{const t=bi(e);return t.values.slice(0,3).map((n,r)=>t.type.includes("hsl")&&r!==0?`${n}%`:n).join(" ")},Fc=(e,t)=>{try{return EH(e)}catch{return e}};function Tp(e){const{type:t,colorSpace:n}=e;let{values:r}=e;return t.includes("rgb")?r=r.map((s,a)=>a<3?parseInt(s,10):s):t.includes("hsl")&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),t.includes("color")?r=`${n} ${r.join(" ")}`:r=`${r.join(", ")}`,`${t}(${r})`}function M0(e){e=bi(e);const{values:t}=e,n=t[0],r=t[1]/100,s=t[2]/100,a=r*Math.min(s,1-s),l=(p,h=(p+n/30)%12)=>s-a*Math.max(Math.min(h-3,9-h,1),-1);let u="rgb";const f=[Math.round(l(0)*255),Math.round(l(8)*255),Math.round(l(4)*255)];return e.type==="hsla"&&(u+="a",f.push(t[3])),Tp({type:u,values:f})}function Wm(e){e=bi(e);let t=e.type==="hsl"||e.type==="hsla"?bi(M0(e)).values:e.values;return t=t.map(n=>(e.type!=="color"&&(n/=255),n<=.03928?n/12.92:((n+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function RH(e,t){const n=Wm(e),r=Wm(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function bt(e,t){return e=bi(e),t=eg(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,Tp(e)}function ud(e,t,n){try{return bt(e,t)}catch{return e}}function ca(e,t){if(e=bi(e),t=eg(t),e.type.includes("hsl"))e.values[2]*=1-t;else if(e.type.includes("rgb")||e.type.includes("color"))for(let n=0;n<3;n+=1)e.values[n]*=1-t;return Tp(e)}function $t(e,t,n){try{return ca(e,t)}catch{return e}}function ua(e,t){if(e=bi(e),t=eg(t),e.type.includes("hsl"))e.values[2]+=(100-e.values[2])*t;else if(e.type.includes("rgb"))for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(e.type.includes("color"))for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return Tp(e)}function en(e,t,n){try{return ua(e,t)}catch{return e}}function L0(e,t=.15){return Wm(e)>.5?ca(e,t):ua(e,t)}function fd(e,t,n){try{return L0(e,t)}catch{return e}}function Jm(...e){return e.reduce((t,n)=>n==null?t:function(...s){t.apply(this,s),n.apply(this,s)},()=>{})}function tg(e,t=166){let n;function r(...s){const a=()=>{e.apply(this,s)};clearTimeout(n),n=setTimeout(a,t)}return r.clear=()=>{clearTimeout(n)},r}function Ed(e,t){var n,r,s;return g.isValidElement(e)&&t.indexOf(e.type.muiName??((s=(r=(n=e.type)==null?void 0:n._payload)==null?void 0:r.value)==null?void 0:s.muiName))!==-1}function ir(e){return e&&e.ownerDocument||document}function Mo(e){return ir(e).defaultView||window}function _d(e,t){typeof e=="function"?e(t):e&&(e.current=t)}let v8=0;function MH(e){const[t,n]=g.useState(e),r=e||t;return g.useEffect(()=>{t==null&&(v8+=1,n(`mui-${v8}`))},[t]),r}const LH={...Ud},h8=LH.useId;function us(e){if(h8!==void 0){const t=h8();return e??t}return MH(e)}function Ai({controlled:e,default:t,name:n,state:r="value"}){const{current:s}=g.useRef(e!==void 0),[a,l]=g.useState(t),u=s?e:a,f=g.useCallback(p=>{s||l(p)},[]);return[u,f]}function hr(e){const t=g.useRef(e);return Yr(()=>{t.current=e}),g.useRef((...n)=>(0,t.current)(...n)).current}function pn(...e){return g.useMemo(()=>e.every(t=>t==null)?null:t=>{e.forEach(n=>{_d(n,t)})},e)}const m8={};function X0(e,t){const n=g.useRef(m8);return n.current===m8&&(n.current=e(t)),n}const XH=[];function NH(e){g.useEffect(e,XH)}class Ep{constructor(){xc(this,"currentId",null);xc(this,"clear",()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)});xc(this,"disposeEffect",()=>this.clear)}static create(){return new Ep}start(t,n){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,n()},t)}}function Zi(){const e=X0(Ep.create).current;return NH(e.disposeEffect),e}function jl(e){try{return e.matches(":focus-visible")}catch{}return!1}function N0(e=window){const t=e.document.documentElement.clientWidth;return e.innerWidth-t}const BH=e=>{const t=g.useRef({});return g.useEffect(()=>{t.current=e}),t.current};function _e(e,t,n=void 0){const r={};for(const s in e){const a=e[s];let l="",u=!0;for(let f=0;fr.match(/^on[A-Z]/)&&typeof e[r]=="function"&&!t.includes(r)).forEach(r=>{n[r]=e[r]}),n}function y8(e){if(e===void 0)return{};const t={};return Object.keys(e).filter(n=>!(n.match(/^on[A-Z]/)&&typeof e[n]=="function")).forEach(n=>{t[n]=e[n]}),t}function V0(e){const{getSlotProps:t,additionalProps:n,externalSlotProps:r,externalForwardedProps:s,className:a}=e;if(!t){const w=Oe(n==null?void 0:n.className,a,s==null?void 0:s.className,r==null?void 0:r.className),A={...n==null?void 0:n.style,...s==null?void 0:s.style,...r==null?void 0:r.style},P={...n,...s,...r};return w.length>0&&(P.className=w),Object.keys(A).length>0&&(P.style=A),{props:P,internalRef:void 0}}const l=$d({...s,...r}),u=y8(r),f=y8(s),p=t(l),h=Oe(p==null?void 0:p.className,n==null?void 0:n.className,a,s==null?void 0:s.className,r==null?void 0:r.className),m={...p==null?void 0:p.style,...n==null?void 0:n.style,...s==null?void 0:s.style,...r==null?void 0:r.style},x={...p,...n,...f,...u};return h.length>0&&(x.className=h),Object.keys(m).length>0&&(x.style=m),{props:x,internalRef:p.ref}}function I0(e,t,n){return typeof e=="function"?e(t,n):e}function W0(e){var m;const{elementType:t,externalSlotProps:n,ownerState:r,skipResolvingSlotProps:s=!1,...a}=e,l=s?{}:I0(n,r),{props:u,internalRef:f}=V0({...a,externalSlotProps:l}),p=pn(f,l==null?void 0:l.ref,(m=e.additionalProps)==null?void 0:m.ref);return B0(t,{...u,ref:p},r)}function wi(e){var t;return parseInt(g.version,10)>=19?((t=e==null?void 0:e.props)==null?void 0:t.ref)||null:(e==null?void 0:e.ref)||null}const J0=g.createContext(null);function ng(){return g.useContext(J0)}const IH=typeof Symbol=="function"&&Symbol.for,WH=IH?Symbol.for("mui.nested"):"__THEME_NESTED__";function JH(e,t){return typeof t=="function"?t(e):{...e,...t}}function FH(e){const{children:t,theme:n}=e,r=ng(),s=g.useMemo(()=>{const a=r===null?{...n}:JH(r,n);return a!=null&&(a[WH]=r!==null),a},[n,r]);return v.jsx(J0.Provider,{value:s,children:t})}const F0=g.createContext();function YH({value:e,...t}){return v.jsx(F0.Provider,{value:e??!0,...t})}const Nu=()=>g.useContext(F0)??!1,Y0=g.createContext(void 0);function qH({value:e,children:t}){return v.jsx(Y0.Provider,{value:e,children:t})}function ZH(e){const{theme:t,name:n,props:r}=e;if(!t||!t.components||!t.components[n])return r;const s=t.components[n];return s.defaultProps?hu(s.defaultProps,r):!s.styleOverrides&&!s.variants?hu(s,r):r}function GH({props:e,name:t}){const n=g.useContext(Y0);return ZH({props:e,name:t,theme:{components:n}})}const g8={};function A8(e,t,n,r=!1){return g.useMemo(()=>{const s=e&&t[e]||t;if(typeof n=="function"){const a=n(s),l=e?{...t,[e]:a}:a;return r?()=>l:l}return e?{...t,[e]:n}:{...t,...n}},[e,t,n,r])}function q0(e){const{children:t,theme:n,themeId:r}=e,s=$y(g8),a=ng()||g8,l=A8(r,s,n),u=A8(r,a,n,!0),f=(r?l[r]:l).direction==="rtl";return v.jsx(FH,{theme:u,children:v.jsx(Ru.Provider,{value:l,children:v.jsx(YH,{value:f,children:v.jsx(qH,{value:r?l[r].components:l.components,children:t})})})})}const P8={theme:void 0};function UH(e){let t,n;return function(s){let a=t;return(a===void 0||s.theme!==n)&&(P8.theme=s.theme,a=O0(e(P8)),t=a,n=s.theme),a}}const rg="mode",og="color-scheme",QH="data-color-scheme";function KH(e){const{defaultMode:t="system",defaultLightColorScheme:n="light",defaultDarkColorScheme:r="dark",modeStorageKey:s=rg,colorSchemeStorageKey:a=og,attribute:l=QH,colorSchemeNode:u="document.documentElement",nonce:f}=e||{};let p="",h=l;if(l==="class"&&(h=".%s"),l==="data"&&(h="[data-%s]"),h.startsWith(".")){const x=h.substring(1);p+=`${u}.classList.remove('${x}'.replace('%s', light), '${x}'.replace('%s', dark)); ${u}.classList.add('${x}'.replace('%s', colorScheme));`}const m=h.match(/\[([^\]]+)\]/);if(m){const[x,w]=m[1].split("=");w||(p+=`${u}.removeAttribute('${x}'.replace('%s', light)); ${u}.removeAttribute('${x}'.replace('%s', dark));`),p+=` ${u}.setAttribute('${x}'.replace('%s', colorScheme), ${w?`${w}.replace('%s', colorScheme)`:'""'});`}else p+=`${u}.setAttribute('${h}', colorScheme);`;return v.jsx("script",{suppressHydrationWarning:!0,nonce:typeof window>"u"?f:"",dangerouslySetInnerHTML:{__html:`(function() { @@ -62,14 +62,14 @@ try { if (colorScheme) { ${p} } -} catch(e){}})();`}},"mui-color-scheme-init")}function b8(e){if(typeof window<"u"&&typeof window.matchMedia=="function"&&e==="system")return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}function Q0(e,t){if(e.mode==="light"||e.mode==="system"&&e.systemMode==="light")return t("light");if(e.mode==="dark"||e.mode==="system"&&e.systemMode==="dark")return t("dark")}function tj(e){return Q0(e,t=>{if(t==="light")return e.lightColorScheme;if(t==="dark")return e.darkColorScheme})}function im(e,t){if(typeof window>"u")return;let n;try{n=localStorage.getItem(e)||void 0,n||localStorage.setItem(e,t)}catch{}return n||t}function nj(e){const{defaultMode:t="light",defaultLightColorScheme:n,defaultDarkColorScheme:r,supportedColorSchemes:s=[],modeStorageKey:a=oy,colorSchemeStorageKey:l=sy,storageWindow:u=typeof window>"u"?void 0:window,noSsr:f=!1}=e,p=s.join(","),h=s.length>1,[m,x]=y.useState(()=>{const O=im(a,t),D=im(`${l}-light`,n),k=im(`${l}-dark`,r);return{mode:O,systemMode:b8(O),lightColorScheme:D,darkColorScheme:k}}),[w,A]=y.useState(f||!h);y.useEffect(()=>{A(!0)},[]);const P=tj(m),H=y.useCallback(O=>{x(D=>{if(O===D.mode)return D;const k=O??t;try{localStorage.setItem(a,k)}catch{}return{...D,mode:k,systemMode:b8(k)}})},[a,t]),S=y.useCallback(O=>{O?typeof O=="string"?O&&!p.includes(O)?console.error(`\`${O}\` does not exist in \`theme.colorSchemes\`.`):x(D=>{const k={...D};return Q0(D,E=>{try{localStorage.setItem(`${l}-${E}`,O)}catch{}E==="light"&&(k.lightColorScheme=O),E==="dark"&&(k.darkColorScheme=O)}),k}):x(D=>{const k={...D},E=O.light===null?n:O.light,M=O.dark===null?r:O.dark;if(E)if(!p.includes(E))console.error(`\`${E}\` does not exist in \`theme.colorSchemes\`.`);else{k.lightColorScheme=E;try{localStorage.setItem(`${l}-light`,E)}catch{}}if(M)if(!p.includes(M))console.error(`\`${M}\` does not exist in \`theme.colorSchemes\`.`);else{k.darkColorScheme=M;try{localStorage.setItem(`${l}-dark`,M)}catch{}}return k}):x(D=>{try{localStorage.setItem(`${l}-light`,n),localStorage.setItem(`${l}-dark`,r)}catch{}return{...D,lightColorScheme:n,darkColorScheme:r}})},[p,l,n,r]),C=y.useCallback(O=>{m.mode==="system"&&x(D=>{const k=O!=null&&O.matches?"dark":"light";return D.systemMode===k?D:{...D,systemMode:k}})},[m.mode]),z=y.useRef(C);return z.current=C,y.useEffect(()=>{if(typeof window.matchMedia!="function"||!h)return;const O=(...k)=>z.current(...k),D=window.matchMedia("(prefers-color-scheme: dark)");return D.addListener(O),O(D),()=>{D.removeListener(O)}},[h]),y.useEffect(()=>{if(u&&h){const O=D=>{const k=D.newValue;typeof D.key=="string"&&D.key.startsWith(l)&&(!k||p.match(k))&&(D.key.endsWith("light")&&S({light:k}),D.key.endsWith("dark")&&S({dark:k})),D.key===a&&(!k||["light","dark","system"].includes(k))&&H(k||t)};return u.addEventListener("storage",O),()=>{u.removeEventListener("storage",O)}}},[S,H,a,l,p,t,u,h]),{...m,mode:w?m.mode:void 0,systemMode:w?m.systemMode:void 0,colorScheme:w?P:void 0,setMode:H,setColorScheme:S}}const rj="*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";function oj(e){const{themeId:t,theme:n={},modeStorageKey:r=oy,colorSchemeStorageKey:s=sy,disableTransitionOnChange:a=!1,defaultColorScheme:l,resolveTheme:u}=e,f={allColorSchemes:[],colorScheme:void 0,darkColorScheme:void 0,lightColorScheme:void 0,mode:void 0,setColorScheme:()=>{},setMode:()=>{},systemMode:void 0},p=y.createContext(void 0),h=()=>y.useContext(p)||f,m={},x={};function w(S){var xe,He,Ge,Ht;const{children:C,theme:z,modeStorageKey:O=r,colorSchemeStorageKey:D=s,disableTransitionOnChange:k=a,storageWindow:E=typeof window>"u"?void 0:window,documentNode:M=typeof document>"u"?void 0:document,colorSchemeNode:L=typeof document>"u"?void 0:document.documentElement,disableNestedContext:j=!1,disableStyleSheetGeneration:N=!1,defaultMode:W="system",noSsr:I}=S,te=y.useRef(!1),J=ry(),_=y.useContext(p),$=!!_&&!j,Q=y.useMemo(()=>z||(typeof n=="function"?n():n),[z]),K=Q[t],R=K||Q,{colorSchemes:G=m,components:X=x,cssVarPrefix:ne}=R,re=Object.keys(G).filter(ot=>!!G[ot]).join(","),ie=y.useMemo(()=>re.split(","),[re]),ue=typeof l=="string"?l:l.light,be=typeof l=="string"?l:l.dark,ae=G[ue]&&G[be]?W:((He=(xe=G[R.defaultColorScheme])==null?void 0:xe.palette)==null?void 0:He.mode)||((Ge=R.palette)==null?void 0:Ge.mode),{mode:Se,setMode:Le,systemMode:Ve,lightColorScheme:Pe,darkColorScheme:_e,colorScheme:we,setColorScheme:Fe}=nj({supportedColorSchemes:ie,defaultLightColorScheme:ue,defaultDarkColorScheme:be,modeStorageKey:O,colorSchemeStorageKey:D,defaultMode:ae,storageWindow:E,noSsr:I});let yt=Se,ke=we;$&&(yt=_.mode,ke=_.colorScheme);const V=y.useMemo(()=>{var ft;const ot=ke||R.defaultColorScheme,dt=((ft=R.generateThemeVars)==null?void 0:ft.call(R))||R.vars,gt={...R,components:X,colorSchemes:G,cssVarPrefix:ne,vars:dt};if(typeof gt.generateSpacing=="function"&&(gt.spacing=gt.generateSpacing()),ot){const Be=G[ot];Be&&typeof Be=="object"&&Object.keys(Be).forEach(kt=>{Be[kt]&&typeof Be[kt]=="object"?gt[kt]={...gt[kt],...Be[kt]}:gt[kt]=Be[kt]})}return u?u(gt):gt},[R,ke,X,G,ne]),U=R.colorSchemeSelector;Yr(()=>{if(ke&&L&&U&&U!=="media"){const ot=U;let dt=U;if(ot==="class"&&(dt=".%s"),ot==="data"&&(dt="[data-%s]"),ot!=null&&ot.startsWith("data-")&&!ot.includes("%s")&&(dt=`[${ot}="%s"]`),dt.startsWith("."))L.classList.remove(...ie.map(gt=>dt.substring(1).replace("%s",gt))),L.classList.add(dt.substring(1).replace("%s",ke));else{const gt=dt.replace("%s",ke).match(/\[([^\]]+)\]/);if(gt){const[ft,Be]=gt[1].split("=");Be||ie.forEach(kt=>{L.removeAttribute(ft.replace(ke,kt))}),L.setAttribute(ft,Be?Be.replace(/"|'/g,""):"")}else L.setAttribute(dt,ke)}}},[ke,U,L,ie]),y.useEffect(()=>{let ot;if(k&&te.current&&M){const dt=M.createElement("style");dt.appendChild(M.createTextNode(rj)),M.head.appendChild(dt),window.getComputedStyle(M.body),ot=setTimeout(()=>{M.head.removeChild(dt)},1)}return()=>{clearTimeout(ot)}},[ke,k,M]),y.useEffect(()=>(te.current=!0,()=>{te.current=!1}),[]);const oe=y.useMemo(()=>({allColorSchemes:ie,colorScheme:ke,darkColorScheme:_e,lightColorScheme:Pe,mode:yt,setColorScheme:Fe,setMode:Le,systemMode:Ve}),[ie,ke,_e,Pe,yt,Fe,Le,Ve,V.colorSchemeSelector]);let Ae=!0;(N||R.cssVariables===!1||$&&(J==null?void 0:J.cssVarPrefix)===ne)&&(Ae=!1);const ce=v.jsxs(y.Fragment,{children:[v.jsx(U0,{themeId:K?t:void 0,theme:V,children:C}),Ae&&v.jsx(w0,{styles:((Ht=V.generateStyleSheets)==null?void 0:Ht.call(V))||[]})]});return $?ce:v.jsx(p.Provider,{value:oe,children:ce})}const A=typeof l=="string"?l:l.light,P=typeof l=="string"?l:l.dark;return{CssVarsProvider:w,useColorScheme:h,getInitColorSchemeScript:S=>ej({colorSchemeStorageKey:s,defaultLightColorScheme:A,defaultDarkColorScheme:P,modeStorageKey:r,...S})}}function sj(e=""){function t(...r){if(!r.length)return"";const s=r[0];return typeof s=="string"&&!s.match(/(#|\(|\)|(-?(\d*\.)?\d+)(px|em|%|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc))|^(-?(\d*\.)?\d+)$|(\d+ \d+ \d+)/)?`, var(--${e?`${e}-`:""}${s}${t(...r.slice(1))})`:`, ${s}`}return(r,...s)=>`var(--${e?`${e}-`:""}${r}${t(...s)})`}const x8=(e,t,n,r=[])=>{let s=e;t.forEach((a,l)=>{l===t.length-1?Array.isArray(s)?s[Number(a)]=n:s&&typeof s=="object"&&(s[a]=n):s&&typeof s=="object"&&(s[a]||(s[a]=r.includes(a)?[]:{}),s=s[a])})},ij=(e,t,n)=>{function r(s,a=[],l=[]){Object.entries(s).forEach(([u,f])=>{(!n||n&&!n([...a,u]))&&f!=null&&(typeof f=="object"&&Object.keys(f).length>0?r(f,[...a,u],Array.isArray(f)?[...l,u]:l):t([...a,u],f,l))})}r(e)},aj=(e,t)=>typeof t=="number"?["lineHeight","fontWeight","opacity","zIndex"].some(r=>e.includes(r))||e[e.length-1].toLowerCase().includes("opacity")?t:`${t}px`:t;function am(e,t){const{prefix:n,shouldSkipGeneratingVar:r}=t||{},s={},a={},l={};return ij(e,(u,f,p)=>{if((typeof f=="string"||typeof f=="number")&&(!r||!r(u,f))){const h=`--${n?`${n}-`:""}${u.join("-")}`,m=aj(u,f);Object.assign(s,{[h]:m}),x8(a,u,`var(${h})`,p),x8(l,u,`var(${h}, ${m})`,p)}},u=>u[0]==="vars"),{css:s,vars:a,varsWithDefaults:l}}function lj(e,t={}){const{getSelector:n=H,disableCssColorScheme:r,colorSchemeSelector:s}=t,{colorSchemes:a={},components:l,defaultColorScheme:u="light",...f}=e,{vars:p,css:h,varsWithDefaults:m}=am(f,t);let x=m;const w={},{[u]:A,...P}=a;if(Object.entries(P||{}).forEach(([z,O])=>{const{vars:D,css:k,varsWithDefaults:E}=am(O,t);x=qn(x,E),w[z]={css:k,vars:D}}),A){const{css:z,vars:O,varsWithDefaults:D}=am(A,t);x=qn(x,D),w[u]={css:z,vars:O}}function H(z,O){var k,E;let D=s;if(s==="class"&&(D=".%s"),s==="data"&&(D="[data-%s]"),s!=null&&s.startsWith("data-")&&!s.includes("%s")&&(D=`[${s}="%s"]`),z){if(D==="media")return e.defaultColorScheme===z?":root":{[`@media (prefers-color-scheme: ${((E=(k=a[z])==null?void 0:k.palette)==null?void 0:E.mode)||z})`]:{":root":O}};if(D)return e.defaultColorScheme===z?`:root, ${D.replace("%s",String(z))}`:D.replace("%s",String(z))}return":root"}return{vars:x,generateThemeVars:()=>{let z={...p};return Object.entries(w).forEach(([,{vars:O}])=>{z=qn(z,O)}),z},generateStyleSheets:()=>{var M,L;const z=[],O=e.defaultColorScheme||"light";function D(j,N){Object.keys(N).length&&z.push(typeof j=="string"?{[j]:{...N}}:j)}D(n(void 0,{...h}),h);const{[O]:k,...E}=w;if(k){const{css:j}=k,N=(L=(M=a[O])==null?void 0:M.palette)==null?void 0:L.mode,W=!r&&N?{colorScheme:N,...j}:{...j};D(n(O,{...W}),W)}return Object.entries(E).forEach(([j,{css:N}])=>{var te,J;const W=(J=(te=a[j])==null?void 0:te.palette)==null?void 0:J.mode,I=!r&&W?{colorScheme:W,...N}:{...N};D(n(j,{...I}),I)}),z}}}function cj(e){return function(n){return e==="media"?`@media (prefers-color-scheme: ${n})`:e?e.startsWith("data-")&&!e.includes("%s")?`[${e}="${n}"] &`:e==="class"?`.${n} &`:e==="data"?`[data-${n}] &`:`${e.replace("%s",n)} &`:"&"}}const uj=Dp(),fj=OH("div",{name:"MuiStack",slot:"Root",overridesResolver:(e,t)=>t.root});function dj(e){return DH({props:e,name:"MuiStack",defaultTheme:uj})}function pj(e,t){const n=y.Children.toArray(e).filter(Boolean);return n.reduce((r,s,a)=>(r.push(s),a({row:"Left","row-reverse":"Right",column:"Top","column-reverse":"Bottom"})[e],hj=({ownerState:e,theme:t})=>{let n={display:"flex",flexDirection:"column",...kr({theme:t},sa({values:e.direction,breakpoints:t.breakpoints.values}),r=>({flexDirection:r}))};if(e.spacing){const r=Hp(t),s=Object.keys(t.breakpoints.values).reduce((f,p)=>((typeof e.spacing=="object"&&e.spacing[p]!=null||typeof e.direction=="object"&&e.direction[p]!=null)&&(f[p]=!0),f),{}),a=sa({values:e.direction,base:s}),l=sa({values:e.spacing,base:s});typeof a=="object"&&Object.keys(a).forEach((f,p,h)=>{if(!a[f]){const x=p>0?a[h[p-1]]:"column";a[f]=x}}),n=qn(n,kr({theme:t},l,(f,p)=>e.useFlexGap?{gap:la(r,f)}:{"& > :not(style):not(style)":{margin:0},"& > :not(style) ~ :not(style)":{[`margin${vj(p?a[p]:e.direction)}`]:la(r,f)}}))}return n=S7(t.breakpoints,n),n};function mj(e={}){const{createStyledComponent:t=fj,useThemeProps:n=dj,componentName:r="MuiStack"}=e,s=()=>Ke({root:["root"]},f=>Ue(r,f),{}),a=t(hj);return y.forwardRef(function(f,p){const h=n(f),m=kp(h),{component:x="div",direction:w="column",spacing:A=0,divider:P,children:H,className:S,useFlexGap:C=!1,...z}=m,O={direction:w,spacing:A,useFlexGap:C},D=s();return v.jsx(a,{as:x,ownerState:O,ref:p,className:Oe(D.root,S),...z,children:P?pj(H,P):H})})}function K0(){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:fu.white,default:fu.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 gj=K0();function _0(){return{text:{primary:fu.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:fu.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 w8=_0();function H8(e,t,n,r){const s=r.light||r,a=r.dark||r*1.5;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:t==="light"?e.light=ua(e.main,s):t==="dark"&&(e.dark=ca(e.main,a)))}function yj(e="light"){return e==="dark"?{main:qa[200],light:qa[50],dark:qa[400]}:{main:qa[700],light:qa[400],dark:qa[800]}}function Aj(e="light"){return e==="dark"?{main:Ya[200],light:Ya[50],dark:Ya[400]}:{main:Ya[500],light:Ya[300],dark:Ya[700]}}function Pj(e="light"){return e==="dark"?{main:Fa[500],light:Fa[300],dark:Fa[700]}:{main:Fa[700],light:Fa[400],dark:Fa[800]}}function bj(e="light"){return e==="dark"?{main:Za[400],light:Za[300],dark:Za[700]}:{main:Za[700],light:Za[500],dark:Za[900]}}function xj(e="light"){return e==="dark"?{main:Ga[400],light:Ga[300],dark:Ga[700]}:{main:Ga[800],light:Ga[500],dark:Ga[900]}}function wj(e="light"){return e==="dark"?{main:Hc[400],light:Hc[300],dark:Hc[700]}:{main:"#ed6c02",light:Hc[500],dark:Hc[900]}}function iy(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:r=.2,...s}=e,a=e.primary||yj(t),l=e.secondary||Aj(t),u=e.error||Pj(t),f=e.info||bj(t),p=e.success||xj(t),h=e.warning||wj(t);function m(P){return XH(P,w8.text.primary)>=n?w8.text.primary:gj.text.primary}const x=({color:P,name:H,mainShade:S=500,lightShade:C=300,darkShade:z=700})=>{if(P={...P},!P.main&&P[S]&&(P.main=P[S]),!P.hasOwnProperty("main"))throw new Error(Rs(11,H?` (${H})`:"",S));if(typeof P.main!="string")throw new Error(Rs(12,H?` (${H})`:"",JSON.stringify(P.main)));return H8(P,"light",C,r),H8(P,"dark",z,r),P.contrastText||(P.contrastText=m(P.main)),P};let w;return t==="light"?w=K0():t==="dark"&&(w=_0()),qn({common:{...fu},mode:t,primary:x({color:a,name:"primary"}),secondary:x({color:l,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:x({color:u,name:"error"}),warning:x({color:h,name:"warning"}),info:x({color:f,name:"info"}),success:x({color:p,name:"success"}),grey:g3,contrastThreshold:n,getContrastText:m,augmentColor:x,tonalOffset:r,...w},s)}function Hj(e){const t={};return Object.entries(e).forEach(r=>{const[s,a]=r;typeof a=="object"&&(t[s]=`${a.fontStyle?`${a.fontStyle} `:""}${a.fontVariant?`${a.fontVariant} `:""}${a.fontWeight?`${a.fontWeight} `:""}${a.fontStretch?`${a.fontStretch} `:""}${a.fontSize||""}${a.lineHeight?`/${a.lineHeight} `:""}${a.fontFamily||""}`)}),t}function jj(e,t){return{toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}},...t}}function zj(e){return Math.round(e*1e5)/1e5}const j8={textTransform:"uppercase"},z8='"Roboto", "Helvetica", "Arial", sans-serif';function $0(e,t){const{fontFamily:n=z8,fontSize:r=14,fontWeightLight:s=300,fontWeightRegular:a=400,fontWeightMedium:l=500,fontWeightBold:u=700,htmlFontSize:f=16,allVariants:p,pxToRem:h,...m}=typeof t=="function"?t(e):t,x=r/14,w=h||(H=>`${H/f*x}rem`),A=(H,S,C,z,O)=>({fontFamily:n,fontWeight:H,fontSize:w(S),lineHeight:C,...n===z8?{letterSpacing:`${zj(z/S)}em`}:{},...O,...p}),P={h1:A(s,96,1.167,-1.5),h2:A(s,60,1.2,-.5),h3:A(a,48,1.167,0),h4:A(a,34,1.235,.25),h5:A(a,24,1.334,0),h6:A(l,20,1.6,.15),subtitle1:A(a,16,1.75,.15),subtitle2:A(l,14,1.57,.1),body1:A(a,16,1.5,.15),body2:A(a,14,1.43,.15),button:A(l,14,1.75,.4,j8),caption:A(a,12,1.66,.4),overline:A(a,12,2.66,1,j8),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return qn({htmlFontSize:f,pxToRem:w,fontFamily:n,fontSize:r,fontWeightLight:s,fontWeightRegular:a,fontWeightMedium:l,fontWeightBold:u,...P},m,{clone:!1})}const Sj=.2,Cj=.14,Oj=.12;function dn(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${Sj})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${Cj})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${Oj})`].join(",")}const Dj=["none",dn(0,2,1,-1,0,1,1,0,0,1,3,0),dn(0,3,1,-2,0,2,2,0,0,1,5,0),dn(0,3,3,-2,0,3,4,0,0,1,8,0),dn(0,2,4,-1,0,4,5,0,0,1,10,0),dn(0,3,5,-1,0,5,8,0,0,1,14,0),dn(0,3,5,-1,0,6,10,0,0,1,18,0),dn(0,4,5,-2,0,7,10,1,0,2,16,1),dn(0,5,5,-3,0,8,10,1,0,3,14,2),dn(0,5,6,-3,0,9,12,1,0,3,16,2),dn(0,6,6,-3,0,10,14,1,0,4,18,3),dn(0,6,7,-4,0,11,15,1,0,4,20,3),dn(0,7,8,-4,0,12,17,2,0,5,22,4),dn(0,7,8,-4,0,13,19,2,0,5,24,4),dn(0,7,9,-4,0,14,21,2,0,5,26,4),dn(0,8,9,-5,0,15,22,2,0,6,28,5),dn(0,8,10,-5,0,16,24,2,0,6,30,5),dn(0,8,11,-5,0,17,26,2,0,6,32,5),dn(0,9,11,-5,0,18,28,2,0,7,34,6),dn(0,9,12,-6,0,19,29,2,0,7,36,6),dn(0,10,13,-6,0,20,31,3,0,8,38,7),dn(0,10,13,-6,0,21,33,3,0,8,40,7),dn(0,10,14,-6,0,22,35,3,0,8,42,7),dn(0,11,14,-7,0,23,36,3,0,9,44,8),dn(0,11,15,-7,0,24,38,3,0,9,46,8)],Tj={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)"},kj={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function S8(e){return`${Math.round(e)}ms`}function Ej(e){if(!e)return 0;const t=e/36;return Math.min(Math.round((4+15*t**.25+t/5)*10),3e3)}function Rj(e){const t={...Tj,...e.easing},n={...kj,...e.duration};return{getAutoHeightDuration:Ej,create:(s=["all"],a={})=>{const{duration:l=n.standard,easing:u=t.easeInOut,delay:f=0,...p}=a;return(Array.isArray(s)?s:[s]).map(h=>`${h} ${typeof l=="string"?l:S8(l)} ${u} ${typeof f=="string"?f:S8(f)}`).join(",")},...e,easing:t,duration:n}}const Mj={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function Lj(e){return rs(e)||typeof e>"u"||typeof e=="string"||typeof e=="boolean"||typeof e=="number"||Array.isArray(e)}function e1(e={}){const t={...e};function n(r){const s=Object.entries(r);for(let a=0;a{if(t==="light")return e.lightColorScheme;if(t==="dark")return e.darkColorScheme})}function sm(e,t){if(typeof window>"u")return;let n;try{n=localStorage.getItem(e)||void 0,n||localStorage.setItem(e,t)}catch{}return n||t}function $H(e){const{defaultMode:t="light",defaultLightColorScheme:n,defaultDarkColorScheme:r,supportedColorSchemes:s=[],modeStorageKey:a=rg,colorSchemeStorageKey:l=og,storageWindow:u=typeof window>"u"?void 0:window,noSsr:f=!1}=e,p=s.join(","),h=s.length>1,[m,x]=g.useState(()=>{const O=sm(a,t),D=sm(`${l}-light`,n),T=sm(`${l}-dark`,r);return{mode:O,systemMode:b8(O),lightColorScheme:D,darkColorScheme:T}}),[w,A]=g.useState(f||!h);g.useEffect(()=>{A(!0)},[]);const P=_H(m),H=g.useCallback(O=>{x(D=>{if(O===D.mode)return D;const T=O??t;try{localStorage.setItem(a,T)}catch{}return{...D,mode:T,systemMode:b8(T)}})},[a,t]),C=g.useCallback(O=>{O?typeof O=="string"?O&&!p.includes(O)?console.error(`\`${O}\` does not exist in \`theme.colorSchemes\`.`):x(D=>{const T={...D};return Z0(D,R=>{try{localStorage.setItem(`${l}-${R}`,O)}catch{}R==="light"&&(T.lightColorScheme=O),R==="dark"&&(T.darkColorScheme=O)}),T}):x(D=>{const T={...D},R=O.light===null?n:O.light,M=O.dark===null?r:O.dark;if(R)if(!p.includes(R))console.error(`\`${R}\` does not exist in \`theme.colorSchemes\`.`);else{T.lightColorScheme=R;try{localStorage.setItem(`${l}-light`,R)}catch{}}if(M)if(!p.includes(M))console.error(`\`${M}\` does not exist in \`theme.colorSchemes\`.`);else{T.darkColorScheme=M;try{localStorage.setItem(`${l}-dark`,M)}catch{}}return T}):x(D=>{try{localStorage.setItem(`${l}-light`,n),localStorage.setItem(`${l}-dark`,r)}catch{}return{...D,lightColorScheme:n,darkColorScheme:r}})},[p,l,n,r]),S=g.useCallback(O=>{m.mode==="system"&&x(D=>{const T=O!=null&&O.matches?"dark":"light";return D.systemMode===T?D:{...D,systemMode:T}})},[m.mode]),z=g.useRef(S);return z.current=S,g.useEffect(()=>{if(typeof window.matchMedia!="function"||!h)return;const O=(...T)=>z.current(...T),D=window.matchMedia("(prefers-color-scheme: dark)");return D.addListener(O),O(D),()=>{D.removeListener(O)}},[h]),g.useEffect(()=>{if(u&&h){const O=D=>{const T=D.newValue;typeof D.key=="string"&&D.key.startsWith(l)&&(!T||p.match(T))&&(D.key.endsWith("light")&&C({light:T}),D.key.endsWith("dark")&&C({dark:T})),D.key===a&&(!T||["light","dark","system"].includes(T))&&H(T||t)};return u.addEventListener("storage",O),()=>{u.removeEventListener("storage",O)}}},[C,H,a,l,p,t,u,h]),{...m,mode:w?m.mode:void 0,systemMode:w?m.systemMode:void 0,colorScheme:w?P:void 0,setMode:H,setColorScheme:C}}const ej="*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";function tj(e){const{themeId:t,theme:n={},modeStorageKey:r=rg,colorSchemeStorageKey:s=og,disableTransitionOnChange:a=!1,defaultColorScheme:l,resolveTheme:u}=e,f={allColorSchemes:[],colorScheme:void 0,darkColorScheme:void 0,lightColorScheme:void 0,mode:void 0,setColorScheme:()=>{},setMode:()=>{},systemMode:void 0},p=g.createContext(void 0),h=()=>g.useContext(p)||f,m={},x={};function w(C){var we,He,Ue,jt;const{children:S,theme:z,modeStorageKey:O=r,colorSchemeStorageKey:D=s,disableTransitionOnChange:T=a,storageWindow:R=typeof window>"u"?void 0:window,documentNode:M=typeof document>"u"?void 0:document,colorSchemeNode:L=typeof document>"u"?void 0:document.documentElement,disableNestedContext:j=!1,disableStyleSheetGeneration:N=!1,defaultMode:B="system",noSsr:W}=C,$=g.useRef(!1),J=ng(),Q=g.useContext(p),re=!!Q&&!j,_=g.useMemo(()=>z||(typeof n=="function"?n():n),[z]),q=_[t],E=q||_,{colorSchemes:Z=m,components:X=x,cssVarPrefix:te}=E,ee=Object.keys(Z).filter(ot=>!!Z[ot]).join(","),oe=g.useMemo(()=>ee.split(","),[ee]),ae=typeof l=="string"?l:l.light,ge=typeof l=="string"?l:l.dark,le=Z[ae]&&Z[ge]?B:((He=(we=Z[E.defaultColorScheme])==null?void 0:we.palette)==null?void 0:He.mode)||((Ue=E.palette)==null?void 0:Ue.mode),{mode:ze,setMode:De,systemMode:Ne,lightColorScheme:he,darkColorScheme:Ie,colorScheme:be,setColorScheme:Ye}=$H({supportedColorSchemes:oe,defaultLightColorScheme:ae,defaultDarkColorScheme:ge,modeStorageKey:O,colorSchemeStorageKey:D,defaultMode:le,storageWindow:R,noSsr:W});let At=ze,Ee=be;re&&(At=Q.mode,Ee=Q.colorScheme);const I=g.useMemo(()=>{var ft;const ot=Ee||E.defaultColorScheme,pt=((ft=E.generateThemeVars)==null?void 0:ft.call(E))||E.vars,gt={...E,components:X,colorSchemes:Z,cssVarPrefix:te,vars:pt};if(typeof gt.generateSpacing=="function"&&(gt.spacing=gt.generateSpacing()),ot){const Ve=Z[ot];Ve&&typeof Ve=="object"&&Object.keys(Ve).forEach(Tt=>{Ve[Tt]&&typeof Ve[Tt]=="object"?gt[Tt]={...gt[Tt],...Ve[Tt]}:gt[Tt]=Ve[Tt]})}return u?u(gt):gt},[E,Ee,X,Z,te]),K=E.colorSchemeSelector;Yr(()=>{if(Ee&&L&&K&&K!=="media"){const ot=K;let pt=K;if(ot==="class"&&(pt=".%s"),ot==="data"&&(pt="[data-%s]"),ot!=null&&ot.startsWith("data-")&&!ot.includes("%s")&&(pt=`[${ot}="%s"]`),pt.startsWith("."))L.classList.remove(...oe.map(gt=>pt.substring(1).replace("%s",gt))),L.classList.add(pt.substring(1).replace("%s",Ee));else{const gt=pt.replace("%s",Ee).match(/\[([^\]]+)\]/);if(gt){const[ft,Ve]=gt[1].split("=");Ve||oe.forEach(Tt=>{L.removeAttribute(ft.replace(Ee,Tt))}),L.setAttribute(ft,Ve?Ve.replace(/"|'/g,""):"")}else L.setAttribute(pt,Ee)}}},[Ee,K,L,oe]),g.useEffect(()=>{let ot;if(T&&$.current&&M){const pt=M.createElement("style");pt.appendChild(M.createTextNode(ej)),M.head.appendChild(pt),window.getComputedStyle(M.body),ot=setTimeout(()=>{M.head.removeChild(pt)},1)}return()=>{clearTimeout(ot)}},[Ee,T,M]),g.useEffect(()=>($.current=!0,()=>{$.current=!1}),[]);const se=g.useMemo(()=>({allColorSchemes:oe,colorScheme:Ee,darkColorScheme:Ie,lightColorScheme:he,mode:At,setColorScheme:Ye,setMode:De,systemMode:Ne}),[oe,Ee,Ie,he,At,Ye,De,Ne,I.colorSchemeSelector]);let xe=!0;(N||E.cssVariables===!1||re&&(J==null?void 0:J.cssVarPrefix)===te)&&(xe=!1);const ue=v.jsxs(g.Fragment,{children:[v.jsx(q0,{themeId:q?t:void 0,theme:I,children:S}),xe&&v.jsx(A0,{styles:((jt=I.generateStyleSheets)==null?void 0:jt.call(I))||[]})]});return re?ue:v.jsx(p.Provider,{value:se,children:ue})}const A=typeof l=="string"?l:l.light,P=typeof l=="string"?l:l.dark;return{CssVarsProvider:w,useColorScheme:h,getInitColorSchemeScript:C=>KH({colorSchemeStorageKey:s,defaultLightColorScheme:A,defaultDarkColorScheme:P,modeStorageKey:r,...C})}}function nj(e=""){function t(...r){if(!r.length)return"";const s=r[0];return typeof s=="string"&&!s.match(/(#|\(|\)|(-?(\d*\.)?\d+)(px|em|%|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc))|^(-?(\d*\.)?\d+)$|(\d+ \d+ \d+)/)?`, var(--${e?`${e}-`:""}${s}${t(...r.slice(1))})`:`, ${s}`}return(r,...s)=>`var(--${e?`${e}-`:""}${r}${t(...s)})`}const x8=(e,t,n,r=[])=>{let s=e;t.forEach((a,l)=>{l===t.length-1?Array.isArray(s)?s[Number(a)]=n:s&&typeof s=="object"&&(s[a]=n):s&&typeof s=="object"&&(s[a]||(s[a]=r.includes(a)?[]:{}),s=s[a])})},rj=(e,t,n)=>{function r(s,a=[],l=[]){Object.entries(s).forEach(([u,f])=>{(!n||n&&!n([...a,u]))&&f!=null&&(typeof f=="object"&&Object.keys(f).length>0?r(f,[...a,u],Array.isArray(f)?[...l,u]:l):t([...a,u],f,l))})}r(e)},oj=(e,t)=>typeof t=="number"?["lineHeight","fontWeight","opacity","zIndex"].some(r=>e.includes(r))||e[e.length-1].toLowerCase().includes("opacity")?t:`${t}px`:t;function im(e,t){const{prefix:n,shouldSkipGeneratingVar:r}=t||{},s={},a={},l={};return rj(e,(u,f,p)=>{if((typeof f=="string"||typeof f=="number")&&(!r||!r(u,f))){const h=`--${n?`${n}-`:""}${u.join("-")}`,m=oj(u,f);Object.assign(s,{[h]:m}),x8(a,u,`var(${h})`,p),x8(l,u,`var(${h}, ${m})`,p)}},u=>u[0]==="vars"),{css:s,vars:a,varsWithDefaults:l}}function sj(e,t={}){const{getSelector:n=H,disableCssColorScheme:r,colorSchemeSelector:s}=t,{colorSchemes:a={},components:l,defaultColorScheme:u="light",...f}=e,{vars:p,css:h,varsWithDefaults:m}=im(f,t);let x=m;const w={},{[u]:A,...P}=a;if(Object.entries(P||{}).forEach(([z,O])=>{const{vars:D,css:T,varsWithDefaults:R}=im(O,t);x=qn(x,R),w[z]={css:T,vars:D}}),A){const{css:z,vars:O,varsWithDefaults:D}=im(A,t);x=qn(x,D),w[u]={css:z,vars:O}}function H(z,O){var T,R;let D=s;if(s==="class"&&(D=".%s"),s==="data"&&(D="[data-%s]"),s!=null&&s.startsWith("data-")&&!s.includes("%s")&&(D=`[${s}="%s"]`),z){if(D==="media")return e.defaultColorScheme===z?":root":{[`@media (prefers-color-scheme: ${((R=(T=a[z])==null?void 0:T.palette)==null?void 0:R.mode)||z})`]:{":root":O}};if(D)return e.defaultColorScheme===z?`:root, ${D.replace("%s",String(z))}`:D.replace("%s",String(z))}return":root"}return{vars:x,generateThemeVars:()=>{let z={...p};return Object.entries(w).forEach(([,{vars:O}])=>{z=qn(z,O)}),z},generateStyleSheets:()=>{var M,L;const z=[],O=e.defaultColorScheme||"light";function D(j,N){Object.keys(N).length&&z.push(typeof j=="string"?{[j]:{...N}}:j)}D(n(void 0,{...h}),h);const{[O]:T,...R}=w;if(T){const{css:j}=T,N=(L=(M=a[O])==null?void 0:M.palette)==null?void 0:L.mode,B=!r&&N?{colorScheme:N,...j}:{...j};D(n(O,{...B}),B)}return Object.entries(R).forEach(([j,{css:N}])=>{var $,J;const B=(J=($=a[j])==null?void 0:$.palette)==null?void 0:J.mode,W=!r&&B?{colorScheme:B,...N}:{...N};D(n(j,{...W}),W)}),z}}}function ij(e){return function(n){return e==="media"?`@media (prefers-color-scheme: ${n})`:e?e.startsWith("data-")&&!e.includes("%s")?`[${e}="${n}"] &`:e==="class"?`.${n} &`:e==="data"?`[data-${n}] &`:`${e.replace("%s",n)} &`:"&"}}const aj=Op(),lj=zH("div",{name:"MuiStack",slot:"Root",overridesResolver:(e,t)=>t.root});function cj(e){return SH({props:e,name:"MuiStack",defaultTheme:aj})}function uj(e,t){const n=g.Children.toArray(e).filter(Boolean);return n.reduce((r,s,a)=>(r.push(s),a({row:"Left","row-reverse":"Right",column:"Top","column-reverse":"Bottom"})[e],dj=({ownerState:e,theme:t})=>{let n={display:"flex",flexDirection:"column",...Tr({theme:t},sa({values:e.direction,breakpoints:t.breakpoints.values}),r=>({flexDirection:r}))};if(e.spacing){const r=wp(t),s=Object.keys(t.breakpoints.values).reduce((f,p)=>((typeof e.spacing=="object"&&e.spacing[p]!=null||typeof e.direction=="object"&&e.direction[p]!=null)&&(f[p]=!0),f),{}),a=sa({values:e.direction,base:s}),l=sa({values:e.spacing,base:s});typeof a=="object"&&Object.keys(a).forEach((f,p,h)=>{if(!a[f]){const x=p>0?a[h[p-1]]:"column";a[f]=x}}),n=qn(n,Tr({theme:t},l,(f,p)=>e.useFlexGap?{gap:la(r,f)}:{"& > :not(style):not(style)":{margin:0},"& > :not(style) ~ :not(style)":{[`margin${fj(p?a[p]:e.direction)}`]:la(r,f)}}))}return n=H7(t.breakpoints,n),n};function pj(e={}){const{createStyledComponent:t=lj,useThemeProps:n=cj,componentName:r="MuiStack"}=e,s=()=>_e({root:["root"]},f=>Qe(r,f),{}),a=t(dj);return g.forwardRef(function(f,p){const h=n(f),m=kp(h),{component:x="div",direction:w="column",spacing:A=0,divider:P,children:H,className:C,useFlexGap:S=!1,...z}=m,O={direction:w,spacing:A,useFlexGap:S},D=s();return v.jsx(a,{as:x,ownerState:O,ref:p,className:Oe(D.root,C),...z,children:P?uj(H,P):H})})}function G0(){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:fu.white,default:fu.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 vj=G0();function U0(){return{text:{primary:fu.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:fu.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 w8=U0();function H8(e,t,n,r){const s=r.light||r,a=r.dark||r*1.5;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:t==="light"?e.light=ua(e.main,s):t==="dark"&&(e.dark=ca(e.main,a)))}function hj(e="light"){return e==="dark"?{main:qa[200],light:qa[50],dark:qa[400]}:{main:qa[700],light:qa[400],dark:qa[800]}}function mj(e="light"){return e==="dark"?{main:Ya[200],light:Ya[50],dark:Ya[400]}:{main:Ya[500],light:Ya[300],dark:Ya[700]}}function yj(e="light"){return e==="dark"?{main:Fa[500],light:Fa[300],dark:Fa[700]}:{main:Fa[700],light:Fa[400],dark:Fa[800]}}function gj(e="light"){return e==="dark"?{main:Za[400],light:Za[300],dark:Za[700]}:{main:Za[700],light:Za[500],dark:Za[900]}}function Aj(e="light"){return e==="dark"?{main:Ga[400],light:Ga[300],dark:Ga[700]}:{main:Ga[800],light:Ga[500],dark:Ga[900]}}function Pj(e="light"){return e==="dark"?{main:Hc[400],light:Hc[300],dark:Hc[700]}:{main:"#ed6c02",light:Hc[500],dark:Hc[900]}}function sg(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:r=.2,...s}=e,a=e.primary||hj(t),l=e.secondary||mj(t),u=e.error||yj(t),f=e.info||gj(t),p=e.success||Aj(t),h=e.warning||Pj(t);function m(P){return RH(P,w8.text.primary)>=n?w8.text.primary:vj.text.primary}const x=({color:P,name:H,mainShade:C=500,lightShade:S=300,darkShade:z=700})=>{if(P={...P},!P.main&&P[C]&&(P.main=P[C]),!P.hasOwnProperty("main"))throw new Error(Rs(11,H?` (${H})`:"",C));if(typeof P.main!="string")throw new Error(Rs(12,H?` (${H})`:"",JSON.stringify(P.main)));return H8(P,"light",S,r),H8(P,"dark",z,r),P.contrastText||(P.contrastText=m(P.main)),P};let w;return t==="light"?w=G0():t==="dark"&&(w=U0()),qn({common:{...fu},mode:t,primary:x({color:a,name:"primary"}),secondary:x({color:l,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:x({color:u,name:"error"}),warning:x({color:h,name:"warning"}),info:x({color:f,name:"info"}),success:x({color:p,name:"success"}),grey:v3,contrastThreshold:n,getContrastText:m,augmentColor:x,tonalOffset:r,...w},s)}function bj(e){const t={};return Object.entries(e).forEach(r=>{const[s,a]=r;typeof a=="object"&&(t[s]=`${a.fontStyle?`${a.fontStyle} `:""}${a.fontVariant?`${a.fontVariant} `:""}${a.fontWeight?`${a.fontWeight} `:""}${a.fontStretch?`${a.fontStretch} `:""}${a.fontSize||""}${a.lineHeight?`/${a.lineHeight} `:""}${a.fontFamily||""}`)}),t}function xj(e,t){return{toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}},...t}}function wj(e){return Math.round(e*1e5)/1e5}const j8={textTransform:"uppercase"},z8='"Roboto", "Helvetica", "Arial", sans-serif';function Q0(e,t){const{fontFamily:n=z8,fontSize:r=14,fontWeightLight:s=300,fontWeightRegular:a=400,fontWeightMedium:l=500,fontWeightBold:u=700,htmlFontSize:f=16,allVariants:p,pxToRem:h,...m}=typeof t=="function"?t(e):t,x=r/14,w=h||(H=>`${H/f*x}rem`),A=(H,C,S,z,O)=>({fontFamily:n,fontWeight:H,fontSize:w(C),lineHeight:S,...n===z8?{letterSpacing:`${wj(z/C)}em`}:{},...O,...p}),P={h1:A(s,96,1.167,-1.5),h2:A(s,60,1.2,-.5),h3:A(a,48,1.167,0),h4:A(a,34,1.235,.25),h5:A(a,24,1.334,0),h6:A(l,20,1.6,.15),subtitle1:A(a,16,1.75,.15),subtitle2:A(l,14,1.57,.1),body1:A(a,16,1.5,.15),body2:A(a,14,1.43,.15),button:A(l,14,1.75,.4,j8),caption:A(a,12,1.66,.4),overline:A(a,12,2.66,1,j8),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return qn({htmlFontSize:f,pxToRem:w,fontFamily:n,fontSize:r,fontWeightLight:s,fontWeightRegular:a,fontWeightMedium:l,fontWeightBold:u,...P},m,{clone:!1})}const Hj=.2,jj=.14,zj=.12;function fn(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${Hj})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${jj})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${zj})`].join(",")}const Sj=["none",fn(0,2,1,-1,0,1,1,0,0,1,3,0),fn(0,3,1,-2,0,2,2,0,0,1,5,0),fn(0,3,3,-2,0,3,4,0,0,1,8,0),fn(0,2,4,-1,0,4,5,0,0,1,10,0),fn(0,3,5,-1,0,5,8,0,0,1,14,0),fn(0,3,5,-1,0,6,10,0,0,1,18,0),fn(0,4,5,-2,0,7,10,1,0,2,16,1),fn(0,5,5,-3,0,8,10,1,0,3,14,2),fn(0,5,6,-3,0,9,12,1,0,3,16,2),fn(0,6,6,-3,0,10,14,1,0,4,18,3),fn(0,6,7,-4,0,11,15,1,0,4,20,3),fn(0,7,8,-4,0,12,17,2,0,5,22,4),fn(0,7,8,-4,0,13,19,2,0,5,24,4),fn(0,7,9,-4,0,14,21,2,0,5,26,4),fn(0,8,9,-5,0,15,22,2,0,6,28,5),fn(0,8,10,-5,0,16,24,2,0,6,30,5),fn(0,8,11,-5,0,17,26,2,0,6,32,5),fn(0,9,11,-5,0,18,28,2,0,7,34,6),fn(0,9,12,-6,0,19,29,2,0,7,36,6),fn(0,10,13,-6,0,20,31,3,0,8,38,7),fn(0,10,13,-6,0,21,33,3,0,8,40,7),fn(0,10,14,-6,0,22,35,3,0,8,42,7),fn(0,11,14,-7,0,23,36,3,0,9,44,8),fn(0,11,15,-7,0,24,38,3,0,9,46,8)],Cj={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)"},Oj={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function S8(e){return`${Math.round(e)}ms`}function Dj(e){if(!e)return 0;const t=e/36;return Math.min(Math.round((4+15*t**.25+t/5)*10),3e3)}function kj(e){const t={...Cj,...e.easing},n={...Oj,...e.duration};return{getAutoHeightDuration:Dj,create:(s=["all"],a={})=>{const{duration:l=n.standard,easing:u=t.easeInOut,delay:f=0,...p}=a;return(Array.isArray(s)?s:[s]).map(h=>`${h} ${typeof l=="string"?l:S8(l)} ${u} ${typeof f=="string"?f:S8(f)}`).join(",")},...e,easing:t,duration:n}}const Tj={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function Ej(e){return rs(e)||typeof e>"u"||typeof e=="string"||typeof e=="boolean"||typeof e=="number"||Array.isArray(e)}function K0(e={}){const t={...e};function n(r){const s=Object.entries(r);for(let a=0;aqn(w,A),x),x.unstable_sxConfig={...Xu,...p==null?void 0:p.unstable_sxConfig},x.unstable_sx=function(A){return Pi({sx:A,theme:this})},x.toRuntimeSource=e1,x}function qm(e){let t;return e<1?t=5.11916*e**2:t=4.5*Math.log(e+1)+2,Math.round(t*10)/1e3}const Xj=[...Array(25)].map((e,t)=>{if(t===0)return"none";const n=qm(t);return`linear-gradient(rgba(255 255 255 / ${n}), rgba(255 255 255 / ${n}))`});function t1(e){return{inputPlaceholder:e==="dark"?.5:.42,inputUnderline:e==="dark"?.7:.42,switchTrackDisabled:e==="dark"?.2:.12,switchTrack:e==="dark"?.3:.38}}function n1(e){return e==="dark"?Xj:[]}function Nj(e){const{palette:t={mode:"light"},opacity:n,overlays:r,...s}=e,a=iy(t);return{palette:a,opacity:{...t1(a.mode),...n},overlays:r||n1(a.mode),...s}}function Bj(e){var t;return!!e[0].match(/(cssVarPrefix|colorSchemeSelector|rootSelector|typography|mixins|breakpoints|direction|transitions)/)||!!e[0].match(/sxConfig$/)||e[0]==="palette"&&!!((t=e[1])!=null&&t.match(/(mode|contrastThreshold|tonalOffset)/))}const Vj=e=>[...[...Array(25)].map((t,n)=>`--${e?`${e}-`:""}overlays-${n}`),`--${e?`${e}-`:""}palette-AppBar-darkBg`,`--${e?`${e}-`:""}palette-AppBar-darkColor`],Ij=e=>(t,n)=>{const r=e.rootSelector||":root",s=e.colorSchemeSelector;let a=s;if(s==="class"&&(a=".%s"),s==="data"&&(a="[data-%s]"),s!=null&&s.startsWith("data-")&&!s.includes("%s")&&(a=`[${s}="%s"]`),e.defaultColorScheme===t){if(t==="dark"){const l={};return Vj(e.cssVarPrefix).forEach(u=>{l[u]=n[u],delete n[u]}),a==="media"?{[r]:n,"@media (prefers-color-scheme: dark)":{[r]:l}}:a?{[a.replace("%s",t)]:l,[`${r}, ${a.replace("%s",t)}`]:n}:{[r]:{...n,...l}}}if(a&&a!=="media")return`${r}, ${a.replace("%s",String(t))}`}else if(t){if(a==="media")return{[`@media (prefers-color-scheme: ${String(t)})`]:{[r]:n}};if(a)return a.replace("%s",String(t))}return r};function Wj(e,t){t.forEach(n=>{e[n]||(e[n]={})})}function ye(e,t,n){!e[t]&&n&&(e[t]=n)}function Yc(e){return typeof e!="string"||!e.startsWith("hsl")?e:B0(e)}function ws(e,t){`${t}Channel`in e||(e[`${t}Channel`]=Fc(Yc(e[t])))}function Jj(e){return typeof e=="number"?`${e}px`:typeof e=="string"||typeof e=="function"||Array.isArray(e)?e:"8px"}const Uo=e=>{try{return e()}catch{}},Fj=(e="mui")=>sj(e);function lm(e,t,n,r){if(!t)return;t=t===!0?{}:t;const s=r==="dark"?"dark":"light";if(!n){e[r]=Nj({...t,palette:{mode:s,...t==null?void 0:t.palette}});return}const{palette:a,...l}=Ym({...n,palette:{mode:s,...t==null?void 0:t.palette}});return e[r]={...t,palette:a,opacity:{...t1(s),...t==null?void 0:t.opacity},overlays:(t==null?void 0:t.overlays)||n1(s)},l}function Yj(e={},...t){const{colorSchemes:n={light:!0},defaultColorScheme:r,disableCssColorScheme:s=!1,cssVarPrefix:a="mui",shouldSkipGeneratingVar:l=Bj,colorSchemeSelector:u=n.light&&n.dark?"media":void 0,rootSelector:f=":root",...p}=e,h=Object.keys(n)[0],m=r||(n.light&&h!=="light"?"light":h),x=Fj(a),{[m]:w,light:A,dark:P,...H}=n,S={...H};let C=w;if((m==="dark"&&!("dark"in n)||m==="light"&&!("light"in n))&&(C=!0),!C)throw new Error(Rs(21,m));const z=lm(S,C,p,m);A&&!S.light&&lm(S,A,void 0,"light"),P&&!S.dark&&lm(S,P,void 0,"dark");let O={defaultColorScheme:m,...z,cssVarPrefix:a,colorSchemeSelector:u,rootSelector:f,getCssVar:x,colorSchemes:S,font:{...Hj(z.typography),...z.font},spacing:Jj(p.spacing)};Object.keys(O.colorSchemes).forEach(L=>{const j=O.colorSchemes[L].palette,N=W=>{const I=W.split("-"),te=I[1],J=I[2];return x(W,j[te][J])};if(j.mode==="light"&&(ye(j.common,"background","#fff"),ye(j.common,"onBackground","#000")),j.mode==="dark"&&(ye(j.common,"background","#000"),ye(j.common,"onBackground","#fff")),Wj(j,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"]),j.mode==="light"){ye(j.Alert,"errorColor",$t(j.error.light,.6)),ye(j.Alert,"infoColor",$t(j.info.light,.6)),ye(j.Alert,"successColor",$t(j.success.light,.6)),ye(j.Alert,"warningColor",$t(j.warning.light,.6)),ye(j.Alert,"errorFilledBg",N("palette-error-main")),ye(j.Alert,"infoFilledBg",N("palette-info-main")),ye(j.Alert,"successFilledBg",N("palette-success-main")),ye(j.Alert,"warningFilledBg",N("palette-warning-main")),ye(j.Alert,"errorFilledColor",Uo(()=>j.getContrastText(j.error.main))),ye(j.Alert,"infoFilledColor",Uo(()=>j.getContrastText(j.info.main))),ye(j.Alert,"successFilledColor",Uo(()=>j.getContrastText(j.success.main))),ye(j.Alert,"warningFilledColor",Uo(()=>j.getContrastText(j.warning.main))),ye(j.Alert,"errorStandardBg",en(j.error.light,.9)),ye(j.Alert,"infoStandardBg",en(j.info.light,.9)),ye(j.Alert,"successStandardBg",en(j.success.light,.9)),ye(j.Alert,"warningStandardBg",en(j.warning.light,.9)),ye(j.Alert,"errorIconColor",N("palette-error-main")),ye(j.Alert,"infoIconColor",N("palette-info-main")),ye(j.Alert,"successIconColor",N("palette-success-main")),ye(j.Alert,"warningIconColor",N("palette-warning-main")),ye(j.AppBar,"defaultBg",N("palette-grey-100")),ye(j.Avatar,"defaultBg",N("palette-grey-400")),ye(j.Button,"inheritContainedBg",N("palette-grey-300")),ye(j.Button,"inheritContainedHoverBg",N("palette-grey-A100")),ye(j.Chip,"defaultBorder",N("palette-grey-400")),ye(j.Chip,"defaultAvatarColor",N("palette-grey-700")),ye(j.Chip,"defaultIconColor",N("palette-grey-700")),ye(j.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),ye(j.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),ye(j.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),ye(j.LinearProgress,"primaryBg",en(j.primary.main,.62)),ye(j.LinearProgress,"secondaryBg",en(j.secondary.main,.62)),ye(j.LinearProgress,"errorBg",en(j.error.main,.62)),ye(j.LinearProgress,"infoBg",en(j.info.main,.62)),ye(j.LinearProgress,"successBg",en(j.success.main,.62)),ye(j.LinearProgress,"warningBg",en(j.warning.main,.62)),ye(j.Skeleton,"bg",`rgba(${N("palette-text-primaryChannel")} / 0.11)`),ye(j.Slider,"primaryTrack",en(j.primary.main,.62)),ye(j.Slider,"secondaryTrack",en(j.secondary.main,.62)),ye(j.Slider,"errorTrack",en(j.error.main,.62)),ye(j.Slider,"infoTrack",en(j.info.main,.62)),ye(j.Slider,"successTrack",en(j.success.main,.62)),ye(j.Slider,"warningTrack",en(j.warning.main,.62));const W=fd(j.background.default,.8);ye(j.SnackbarContent,"bg",W),ye(j.SnackbarContent,"color",Uo(()=>j.getContrastText(W))),ye(j.SpeedDialAction,"fabHoverBg",fd(j.background.paper,.15)),ye(j.StepConnector,"border",N("palette-grey-400")),ye(j.StepContent,"border",N("palette-grey-400")),ye(j.Switch,"defaultColor",N("palette-common-white")),ye(j.Switch,"defaultDisabledColor",N("palette-grey-100")),ye(j.Switch,"primaryDisabledColor",en(j.primary.main,.62)),ye(j.Switch,"secondaryDisabledColor",en(j.secondary.main,.62)),ye(j.Switch,"errorDisabledColor",en(j.error.main,.62)),ye(j.Switch,"infoDisabledColor",en(j.info.main,.62)),ye(j.Switch,"successDisabledColor",en(j.success.main,.62)),ye(j.Switch,"warningDisabledColor",en(j.warning.main,.62)),ye(j.TableCell,"border",en(ud(j.divider,1),.88)),ye(j.Tooltip,"bg",ud(j.grey[700],.92))}if(j.mode==="dark"){ye(j.Alert,"errorColor",en(j.error.light,.6)),ye(j.Alert,"infoColor",en(j.info.light,.6)),ye(j.Alert,"successColor",en(j.success.light,.6)),ye(j.Alert,"warningColor",en(j.warning.light,.6)),ye(j.Alert,"errorFilledBg",N("palette-error-dark")),ye(j.Alert,"infoFilledBg",N("palette-info-dark")),ye(j.Alert,"successFilledBg",N("palette-success-dark")),ye(j.Alert,"warningFilledBg",N("palette-warning-dark")),ye(j.Alert,"errorFilledColor",Uo(()=>j.getContrastText(j.error.dark))),ye(j.Alert,"infoFilledColor",Uo(()=>j.getContrastText(j.info.dark))),ye(j.Alert,"successFilledColor",Uo(()=>j.getContrastText(j.success.dark))),ye(j.Alert,"warningFilledColor",Uo(()=>j.getContrastText(j.warning.dark))),ye(j.Alert,"errorStandardBg",$t(j.error.light,.9)),ye(j.Alert,"infoStandardBg",$t(j.info.light,.9)),ye(j.Alert,"successStandardBg",$t(j.success.light,.9)),ye(j.Alert,"warningStandardBg",$t(j.warning.light,.9)),ye(j.Alert,"errorIconColor",N("palette-error-main")),ye(j.Alert,"infoIconColor",N("palette-info-main")),ye(j.Alert,"successIconColor",N("palette-success-main")),ye(j.Alert,"warningIconColor",N("palette-warning-main")),ye(j.AppBar,"defaultBg",N("palette-grey-900")),ye(j.AppBar,"darkBg",N("palette-background-paper")),ye(j.AppBar,"darkColor",N("palette-text-primary")),ye(j.Avatar,"defaultBg",N("palette-grey-600")),ye(j.Button,"inheritContainedBg",N("palette-grey-800")),ye(j.Button,"inheritContainedHoverBg",N("palette-grey-700")),ye(j.Chip,"defaultBorder",N("palette-grey-700")),ye(j.Chip,"defaultAvatarColor",N("palette-grey-300")),ye(j.Chip,"defaultIconColor",N("palette-grey-300")),ye(j.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),ye(j.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),ye(j.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),ye(j.LinearProgress,"primaryBg",$t(j.primary.main,.5)),ye(j.LinearProgress,"secondaryBg",$t(j.secondary.main,.5)),ye(j.LinearProgress,"errorBg",$t(j.error.main,.5)),ye(j.LinearProgress,"infoBg",$t(j.info.main,.5)),ye(j.LinearProgress,"successBg",$t(j.success.main,.5)),ye(j.LinearProgress,"warningBg",$t(j.warning.main,.5)),ye(j.Skeleton,"bg",`rgba(${N("palette-text-primaryChannel")} / 0.13)`),ye(j.Slider,"primaryTrack",$t(j.primary.main,.5)),ye(j.Slider,"secondaryTrack",$t(j.secondary.main,.5)),ye(j.Slider,"errorTrack",$t(j.error.main,.5)),ye(j.Slider,"infoTrack",$t(j.info.main,.5)),ye(j.Slider,"successTrack",$t(j.success.main,.5)),ye(j.Slider,"warningTrack",$t(j.warning.main,.5));const W=fd(j.background.default,.98);ye(j.SnackbarContent,"bg",W),ye(j.SnackbarContent,"color",Uo(()=>j.getContrastText(W))),ye(j.SpeedDialAction,"fabHoverBg",fd(j.background.paper,.15)),ye(j.StepConnector,"border",N("palette-grey-600")),ye(j.StepContent,"border",N("palette-grey-600")),ye(j.Switch,"defaultColor",N("palette-grey-300")),ye(j.Switch,"defaultDisabledColor",N("palette-grey-600")),ye(j.Switch,"primaryDisabledColor",$t(j.primary.main,.55)),ye(j.Switch,"secondaryDisabledColor",$t(j.secondary.main,.55)),ye(j.Switch,"errorDisabledColor",$t(j.error.main,.55)),ye(j.Switch,"infoDisabledColor",$t(j.info.main,.55)),ye(j.Switch,"successDisabledColor",$t(j.success.main,.55)),ye(j.Switch,"warningDisabledColor",$t(j.warning.main,.55)),ye(j.TableCell,"border",$t(ud(j.divider,1),.68)),ye(j.Tooltip,"bg",ud(j.grey[700],.92))}ws(j.background,"default"),ws(j.background,"paper"),ws(j.common,"background"),ws(j.common,"onBackground"),ws(j,"divider"),Object.keys(j).forEach(W=>{const I=j[W];W!=="tonalOffset"&&I&&typeof I=="object"&&(I.main&&ye(j[W],"mainChannel",Fc(Yc(I.main))),I.light&&ye(j[W],"lightChannel",Fc(Yc(I.light))),I.dark&&ye(j[W],"darkChannel",Fc(Yc(I.dark))),I.contrastText&&ye(j[W],"contrastTextChannel",Fc(Yc(I.contrastText))),W==="text"&&(ws(j[W],"primary"),ws(j[W],"secondary")),W==="action"&&(I.active&&ws(j[W],"active"),I.selected&&ws(j[W],"selected")))})}),O=t.reduce((L,j)=>qn(L,j),O);const D={prefix:a,disableCssColorScheme:s,shouldSkipGeneratingVar:l,getSelector:Ij(O)},{vars:k,generateThemeVars:E,generateStyleSheets:M}=lj(O,D);return O.vars=k,Object.entries(O.colorSchemes[O.defaultColorScheme]).forEach(([L,j])=>{O[L]=j}),O.generateThemeVars=E,O.generateStyleSheets=M,O.generateSpacing=function(){return D0(p.spacing,Hp(this))},O.getColorSchemeSelector=cj(u),O.spacing=O.generateSpacing(),O.shouldSkipGeneratingVar=l,O.unstable_sxConfig={...Xu,...p==null?void 0:p.unstable_sxConfig},O.unstable_sx=function(j){return Pi({sx:j,theme:this})},O.toRuntimeSource=e1,O}function C8(e,t,n){e.colorSchemes&&n&&(e.colorSchemes[t]={...n!==!0&&n,palette:iy({...n===!0?{}:n.palette,mode:t})})}function Bu(e={},...t){const{palette:n,cssVariables:r=!1,colorSchemes:s=n?void 0:{light:!0},defaultColorScheme:a=n==null?void 0:n.mode,...l}=e,u=a||"light",f=s==null?void 0:s[u],p={...s,...n?{[u]:{...typeof f!="boolean"&&f,palette:n}}:void 0};if(r===!1){if(!("colorSchemes"in e))return Ym(e,...t);let h=n;"palette"in e||p[u]&&(p[u]!==!0?h=p[u].palette:u==="dark"&&(h={mode:"dark"}));const m=Ym({...e,palette:h},...t);return m.defaultColorScheme=u,m.colorSchemes=p,m.palette.mode==="light"&&(m.colorSchemes.light={...p.light!==!0&&p.light,palette:m.palette},C8(m,"dark",p.dark)),m.palette.mode==="dark"&&(m.colorSchemes.dark={...p.dark!==!0&&p.dark,palette:m.palette},C8(m,"light",p.light)),m}return!n&&!("light"in p)&&u==="light"&&(p.light=!0),Yj({...l,colorSchemes:p,defaultColorScheme:u,...typeof r!="boolean"&&r},...t)}const ay=Bu();function Gr(){const e=Tp(ay);return e[ko]||e}function r1(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const Zn=e=>r1(e)&&e!=="classes",ve=M0({themeId:ko,defaultTheme:ay,rootShouldForwardProp:Zn});function O8({theme:e,...t}){const n=ko in e?e[ko]:void 0;return v.jsx(U0,{...t,themeId:n?ko:void 0,theme:n||e})}const dd={colorSchemeStorageKey:"mui-color-scheme",defaultLightColorScheme:"light",defaultDarkColorScheme:"dark",modeStorageKey:"mui-mode"},{CssVarsProvider:qj}=oj({themeId:ko,theme:()=>Bu({cssVariables:!0}),colorSchemeStorageKey:dd.colorSchemeStorageKey,modeStorageKey:dd.modeStorageKey,defaultColorScheme:{light:dd.defaultLightColorScheme,dark:dd.defaultDarkColorScheme},resolveTheme:e=>{const t={...e,typography:$0(e.palette,e.typography)};return t.unstable_sx=function(r){return Pi({sx:r,theme:this})},t}}),Zj=qj;function Gj({theme:e,...t}){return typeof e=="function"?v.jsx(O8,{theme:e,...t}):"colorSchemes"in(ko in e?e[ko]:e)?v.jsx(Zj,{theme:e,...t}):v.jsx(O8,{theme:e,...t})}function Uj(e){return v.jsx(gH,{...e,defaultTheme:ay,themeId:ko})}function ly(e){return function(n){return v.jsx(Uj,{styles:typeof e=="function"?r=>e({theme:r,...n}):e})}}function Qj(){return kp}const tt=_H;function nt(e){return KH(e)}function Kj(e){return Ue("MuiSvgIcon",e)}Qe("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const _j=e=>{const{color:t,fontSize:n,classes:r}=e,s={root:["root",t!=="inherit"&&`color${me(t)}`,`fontSize${me(n)}`]};return Ke(s,Kj,r)},$j=ve("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color!=="inherit"&&t[`color${me(n.color)}`],t[`fontSize${me(n.fontSize)}`]]}})(tt(({theme:e})=>{var t,n,r,s,a,l,u,f,p,h,m,x,w,A;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",flexShrink:0,transition:(s=(t=e.transitions)==null?void 0:t.create)==null?void 0:s.call(t,"fill",{duration:(r=(n=(e.vars??e).transitions)==null?void 0:n.duration)==null?void 0:r.shorter}),variants:[{props:P=>!P.hasSvgAsChild,style:{fill:"currentColor"}},{props:{fontSize:"inherit"},style:{fontSize:"inherit"}},{props:{fontSize:"small"},style:{fontSize:((l=(a=e.typography)==null?void 0:a.pxToRem)==null?void 0:l.call(a,20))||"1.25rem"}},{props:{fontSize:"medium"},style:{fontSize:((f=(u=e.typography)==null?void 0:u.pxToRem)==null?void 0:f.call(u,24))||"1.5rem"}},{props:{fontSize:"large"},style:{fontSize:((h=(p=e.typography)==null?void 0:p.pxToRem)==null?void 0:h.call(p,35))||"2.1875rem"}},...Object.entries((e.vars??e).palette).filter(([,P])=>P&&P.main).map(([P])=>{var H,S;return{props:{color:P},style:{color:(S=(H=(e.vars??e).palette)==null?void 0:H[P])==null?void 0:S.main}}}),{props:{color:"action"},style:{color:(x=(m=(e.vars??e).palette)==null?void 0:m.action)==null?void 0:x.active}},{props:{color:"disabled"},style:{color:(A=(w=(e.vars??e).palette)==null?void 0:w.action)==null?void 0:A.disabled}},{props:{color:"inherit"},style:{color:void 0}}]}})),tp=y.forwardRef(function(t,n){const r=nt({props:t,name:"MuiSvgIcon"}),{children:s,className:a,color:l="inherit",component:u="svg",fontSize:f="medium",htmlColor:p,inheritViewBox:h=!1,titleAccess:m,viewBox:x="0 0 24 24",...w}=r,A=y.isValidElement(s)&&s.type==="svg",P={...r,color:l,component:u,fontSize:f,instanceFontSize:t.fontSize,inheritViewBox:h,viewBox:x,hasSvgAsChild:A},H={};h||(H.viewBox=x);const S=_j(P);return v.jsxs($j,{as:u,className:Oe(S.root,a),focusable:"false",color:p,"aria-hidden":m?void 0:!0,role:m?"img":void 0,ref:n,...H,...w,...A&&s.props,ownerState:P,children:[A?s.props.children:s,m?v.jsx("title",{children:m}):null]})});tp.muiName="SvgIcon";function At(e,t){function n(r,s){return v.jsx(tp,{"data-testid":`${t}Icon`,ref:s,...r,children:e})}return n.muiName=tp.muiName,y.memo(y.forwardRef(n))}function o1(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.includes(r))continue;n[r]=e[r]}return n}function Zm(e,t){return Zm=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,r){return n.__proto__=r,n},Zm(e,t)}function s1(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Zm(e,t)}var cm={exports:{}},xr={},um={exports:{}},fm={};/** +export default theme;`}function Fm(e={},...t){const{breakpoints:n,mixins:r={},spacing:s,palette:a={},transitions:l={},typography:u={},shape:f,...p}=e;if(e.vars&&e.generateThemeVars===void 0)throw new Error(Rs(20));const h=sg(a),m=Op(e);let x=qn(m,{mixins:xj(m.breakpoints,r),palette:h,shadows:Sj.slice(),typography:Q0(h,u),transitions:kj(l),zIndex:{...Tj}});return x=qn(x,p),x=t.reduce((w,A)=>qn(w,A),x),x.unstable_sxConfig={...Xu,...p==null?void 0:p.unstable_sxConfig},x.unstable_sx=function(A){return Pi({sx:A,theme:this})},x.toRuntimeSource=K0,x}function Ym(e){let t;return e<1?t=5.11916*e**2:t=4.5*Math.log(e+1)+2,Math.round(t*10)/1e3}const Rj=[...Array(25)].map((e,t)=>{if(t===0)return"none";const n=Ym(t);return`linear-gradient(rgba(255 255 255 / ${n}), rgba(255 255 255 / ${n}))`});function _0(e){return{inputPlaceholder:e==="dark"?.5:.42,inputUnderline:e==="dark"?.7:.42,switchTrackDisabled:e==="dark"?.2:.12,switchTrack:e==="dark"?.3:.38}}function $0(e){return e==="dark"?Rj:[]}function Mj(e){const{palette:t={mode:"light"},opacity:n,overlays:r,...s}=e,a=sg(t);return{palette:a,opacity:{..._0(a.mode),...n},overlays:r||$0(a.mode),...s}}function Lj(e){var t;return!!e[0].match(/(cssVarPrefix|colorSchemeSelector|rootSelector|typography|mixins|breakpoints|direction|transitions)/)||!!e[0].match(/sxConfig$/)||e[0]==="palette"&&!!((t=e[1])!=null&&t.match(/(mode|contrastThreshold|tonalOffset)/))}const Xj=e=>[...[...Array(25)].map((t,n)=>`--${e?`${e}-`:""}overlays-${n}`),`--${e?`${e}-`:""}palette-AppBar-darkBg`,`--${e?`${e}-`:""}palette-AppBar-darkColor`],Nj=e=>(t,n)=>{const r=e.rootSelector||":root",s=e.colorSchemeSelector;let a=s;if(s==="class"&&(a=".%s"),s==="data"&&(a="[data-%s]"),s!=null&&s.startsWith("data-")&&!s.includes("%s")&&(a=`[${s}="%s"]`),e.defaultColorScheme===t){if(t==="dark"){const l={};return Xj(e.cssVarPrefix).forEach(u=>{l[u]=n[u],delete n[u]}),a==="media"?{[r]:n,"@media (prefers-color-scheme: dark)":{[r]:l}}:a?{[a.replace("%s",t)]:l,[`${r}, ${a.replace("%s",t)}`]:n}:{[r]:{...n,...l}}}if(a&&a!=="media")return`${r}, ${a.replace("%s",String(t))}`}else if(t){if(a==="media")return{[`@media (prefers-color-scheme: ${String(t)})`]:{[r]:n}};if(a)return a.replace("%s",String(t))}return r};function Bj(e,t){t.forEach(n=>{e[n]||(e[n]={})})}function Pe(e,t,n){!e[t]&&n&&(e[t]=n)}function Yc(e){return typeof e!="string"||!e.startsWith("hsl")?e:M0(e)}function ws(e,t){`${t}Channel`in e||(e[`${t}Channel`]=Fc(Yc(e[t])))}function Vj(e){return typeof e=="number"?`${e}px`:typeof e=="string"||typeof e=="function"||Array.isArray(e)?e:"8px"}const Uo=e=>{try{return e()}catch{}},Ij=(e="mui")=>nj(e);function am(e,t,n,r){if(!t)return;t=t===!0?{}:t;const s=r==="dark"?"dark":"light";if(!n){e[r]=Mj({...t,palette:{mode:s,...t==null?void 0:t.palette}});return}const{palette:a,...l}=Fm({...n,palette:{mode:s,...t==null?void 0:t.palette}});return e[r]={...t,palette:a,opacity:{..._0(s),...t==null?void 0:t.opacity},overlays:(t==null?void 0:t.overlays)||$0(s)},l}function Wj(e={},...t){const{colorSchemes:n={light:!0},defaultColorScheme:r,disableCssColorScheme:s=!1,cssVarPrefix:a="mui",shouldSkipGeneratingVar:l=Lj,colorSchemeSelector:u=n.light&&n.dark?"media":void 0,rootSelector:f=":root",...p}=e,h=Object.keys(n)[0],m=r||(n.light&&h!=="light"?"light":h),x=Ij(a),{[m]:w,light:A,dark:P,...H}=n,C={...H};let S=w;if((m==="dark"&&!("dark"in n)||m==="light"&&!("light"in n))&&(S=!0),!S)throw new Error(Rs(21,m));const z=am(C,S,p,m);A&&!C.light&&am(C,A,void 0,"light"),P&&!C.dark&&am(C,P,void 0,"dark");let O={defaultColorScheme:m,...z,cssVarPrefix:a,colorSchemeSelector:u,rootSelector:f,getCssVar:x,colorSchemes:C,font:{...bj(z.typography),...z.font},spacing:Vj(p.spacing)};Object.keys(O.colorSchemes).forEach(L=>{const j=O.colorSchemes[L].palette,N=B=>{const W=B.split("-"),$=W[1],J=W[2];return x(B,j[$][J])};if(j.mode==="light"&&(Pe(j.common,"background","#fff"),Pe(j.common,"onBackground","#000")),j.mode==="dark"&&(Pe(j.common,"background","#000"),Pe(j.common,"onBackground","#fff")),Bj(j,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"]),j.mode==="light"){Pe(j.Alert,"errorColor",$t(j.error.light,.6)),Pe(j.Alert,"infoColor",$t(j.info.light,.6)),Pe(j.Alert,"successColor",$t(j.success.light,.6)),Pe(j.Alert,"warningColor",$t(j.warning.light,.6)),Pe(j.Alert,"errorFilledBg",N("palette-error-main")),Pe(j.Alert,"infoFilledBg",N("palette-info-main")),Pe(j.Alert,"successFilledBg",N("palette-success-main")),Pe(j.Alert,"warningFilledBg",N("palette-warning-main")),Pe(j.Alert,"errorFilledColor",Uo(()=>j.getContrastText(j.error.main))),Pe(j.Alert,"infoFilledColor",Uo(()=>j.getContrastText(j.info.main))),Pe(j.Alert,"successFilledColor",Uo(()=>j.getContrastText(j.success.main))),Pe(j.Alert,"warningFilledColor",Uo(()=>j.getContrastText(j.warning.main))),Pe(j.Alert,"errorStandardBg",en(j.error.light,.9)),Pe(j.Alert,"infoStandardBg",en(j.info.light,.9)),Pe(j.Alert,"successStandardBg",en(j.success.light,.9)),Pe(j.Alert,"warningStandardBg",en(j.warning.light,.9)),Pe(j.Alert,"errorIconColor",N("palette-error-main")),Pe(j.Alert,"infoIconColor",N("palette-info-main")),Pe(j.Alert,"successIconColor",N("palette-success-main")),Pe(j.Alert,"warningIconColor",N("palette-warning-main")),Pe(j.AppBar,"defaultBg",N("palette-grey-100")),Pe(j.Avatar,"defaultBg",N("palette-grey-400")),Pe(j.Button,"inheritContainedBg",N("palette-grey-300")),Pe(j.Button,"inheritContainedHoverBg",N("palette-grey-A100")),Pe(j.Chip,"defaultBorder",N("palette-grey-400")),Pe(j.Chip,"defaultAvatarColor",N("palette-grey-700")),Pe(j.Chip,"defaultIconColor",N("palette-grey-700")),Pe(j.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),Pe(j.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),Pe(j.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),Pe(j.LinearProgress,"primaryBg",en(j.primary.main,.62)),Pe(j.LinearProgress,"secondaryBg",en(j.secondary.main,.62)),Pe(j.LinearProgress,"errorBg",en(j.error.main,.62)),Pe(j.LinearProgress,"infoBg",en(j.info.main,.62)),Pe(j.LinearProgress,"successBg",en(j.success.main,.62)),Pe(j.LinearProgress,"warningBg",en(j.warning.main,.62)),Pe(j.Skeleton,"bg",`rgba(${N("palette-text-primaryChannel")} / 0.11)`),Pe(j.Slider,"primaryTrack",en(j.primary.main,.62)),Pe(j.Slider,"secondaryTrack",en(j.secondary.main,.62)),Pe(j.Slider,"errorTrack",en(j.error.main,.62)),Pe(j.Slider,"infoTrack",en(j.info.main,.62)),Pe(j.Slider,"successTrack",en(j.success.main,.62)),Pe(j.Slider,"warningTrack",en(j.warning.main,.62));const B=fd(j.background.default,.8);Pe(j.SnackbarContent,"bg",B),Pe(j.SnackbarContent,"color",Uo(()=>j.getContrastText(B))),Pe(j.SpeedDialAction,"fabHoverBg",fd(j.background.paper,.15)),Pe(j.StepConnector,"border",N("palette-grey-400")),Pe(j.StepContent,"border",N("palette-grey-400")),Pe(j.Switch,"defaultColor",N("palette-common-white")),Pe(j.Switch,"defaultDisabledColor",N("palette-grey-100")),Pe(j.Switch,"primaryDisabledColor",en(j.primary.main,.62)),Pe(j.Switch,"secondaryDisabledColor",en(j.secondary.main,.62)),Pe(j.Switch,"errorDisabledColor",en(j.error.main,.62)),Pe(j.Switch,"infoDisabledColor",en(j.info.main,.62)),Pe(j.Switch,"successDisabledColor",en(j.success.main,.62)),Pe(j.Switch,"warningDisabledColor",en(j.warning.main,.62)),Pe(j.TableCell,"border",en(ud(j.divider,1),.88)),Pe(j.Tooltip,"bg",ud(j.grey[700],.92))}if(j.mode==="dark"){Pe(j.Alert,"errorColor",en(j.error.light,.6)),Pe(j.Alert,"infoColor",en(j.info.light,.6)),Pe(j.Alert,"successColor",en(j.success.light,.6)),Pe(j.Alert,"warningColor",en(j.warning.light,.6)),Pe(j.Alert,"errorFilledBg",N("palette-error-dark")),Pe(j.Alert,"infoFilledBg",N("palette-info-dark")),Pe(j.Alert,"successFilledBg",N("palette-success-dark")),Pe(j.Alert,"warningFilledBg",N("palette-warning-dark")),Pe(j.Alert,"errorFilledColor",Uo(()=>j.getContrastText(j.error.dark))),Pe(j.Alert,"infoFilledColor",Uo(()=>j.getContrastText(j.info.dark))),Pe(j.Alert,"successFilledColor",Uo(()=>j.getContrastText(j.success.dark))),Pe(j.Alert,"warningFilledColor",Uo(()=>j.getContrastText(j.warning.dark))),Pe(j.Alert,"errorStandardBg",$t(j.error.light,.9)),Pe(j.Alert,"infoStandardBg",$t(j.info.light,.9)),Pe(j.Alert,"successStandardBg",$t(j.success.light,.9)),Pe(j.Alert,"warningStandardBg",$t(j.warning.light,.9)),Pe(j.Alert,"errorIconColor",N("palette-error-main")),Pe(j.Alert,"infoIconColor",N("palette-info-main")),Pe(j.Alert,"successIconColor",N("palette-success-main")),Pe(j.Alert,"warningIconColor",N("palette-warning-main")),Pe(j.AppBar,"defaultBg",N("palette-grey-900")),Pe(j.AppBar,"darkBg",N("palette-background-paper")),Pe(j.AppBar,"darkColor",N("palette-text-primary")),Pe(j.Avatar,"defaultBg",N("palette-grey-600")),Pe(j.Button,"inheritContainedBg",N("palette-grey-800")),Pe(j.Button,"inheritContainedHoverBg",N("palette-grey-700")),Pe(j.Chip,"defaultBorder",N("palette-grey-700")),Pe(j.Chip,"defaultAvatarColor",N("palette-grey-300")),Pe(j.Chip,"defaultIconColor",N("palette-grey-300")),Pe(j.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),Pe(j.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),Pe(j.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),Pe(j.LinearProgress,"primaryBg",$t(j.primary.main,.5)),Pe(j.LinearProgress,"secondaryBg",$t(j.secondary.main,.5)),Pe(j.LinearProgress,"errorBg",$t(j.error.main,.5)),Pe(j.LinearProgress,"infoBg",$t(j.info.main,.5)),Pe(j.LinearProgress,"successBg",$t(j.success.main,.5)),Pe(j.LinearProgress,"warningBg",$t(j.warning.main,.5)),Pe(j.Skeleton,"bg",`rgba(${N("palette-text-primaryChannel")} / 0.13)`),Pe(j.Slider,"primaryTrack",$t(j.primary.main,.5)),Pe(j.Slider,"secondaryTrack",$t(j.secondary.main,.5)),Pe(j.Slider,"errorTrack",$t(j.error.main,.5)),Pe(j.Slider,"infoTrack",$t(j.info.main,.5)),Pe(j.Slider,"successTrack",$t(j.success.main,.5)),Pe(j.Slider,"warningTrack",$t(j.warning.main,.5));const B=fd(j.background.default,.98);Pe(j.SnackbarContent,"bg",B),Pe(j.SnackbarContent,"color",Uo(()=>j.getContrastText(B))),Pe(j.SpeedDialAction,"fabHoverBg",fd(j.background.paper,.15)),Pe(j.StepConnector,"border",N("palette-grey-600")),Pe(j.StepContent,"border",N("palette-grey-600")),Pe(j.Switch,"defaultColor",N("palette-grey-300")),Pe(j.Switch,"defaultDisabledColor",N("palette-grey-600")),Pe(j.Switch,"primaryDisabledColor",$t(j.primary.main,.55)),Pe(j.Switch,"secondaryDisabledColor",$t(j.secondary.main,.55)),Pe(j.Switch,"errorDisabledColor",$t(j.error.main,.55)),Pe(j.Switch,"infoDisabledColor",$t(j.info.main,.55)),Pe(j.Switch,"successDisabledColor",$t(j.success.main,.55)),Pe(j.Switch,"warningDisabledColor",$t(j.warning.main,.55)),Pe(j.TableCell,"border",$t(ud(j.divider,1),.68)),Pe(j.Tooltip,"bg",ud(j.grey[700],.92))}ws(j.background,"default"),ws(j.background,"paper"),ws(j.common,"background"),ws(j.common,"onBackground"),ws(j,"divider"),Object.keys(j).forEach(B=>{const W=j[B];B!=="tonalOffset"&&W&&typeof W=="object"&&(W.main&&Pe(j[B],"mainChannel",Fc(Yc(W.main))),W.light&&Pe(j[B],"lightChannel",Fc(Yc(W.light))),W.dark&&Pe(j[B],"darkChannel",Fc(Yc(W.dark))),W.contrastText&&Pe(j[B],"contrastTextChannel",Fc(Yc(W.contrastText))),B==="text"&&(ws(j[B],"primary"),ws(j[B],"secondary")),B==="action"&&(W.active&&ws(j[B],"active"),W.selected&&ws(j[B],"selected")))})}),O=t.reduce((L,j)=>qn(L,j),O);const D={prefix:a,disableCssColorScheme:s,shouldSkipGeneratingVar:l,getSelector:Nj(O)},{vars:T,generateThemeVars:R,generateStyleSheets:M}=sj(O,D);return O.vars=T,Object.entries(O.colorSchemes[O.defaultColorScheme]).forEach(([L,j])=>{O[L]=j}),O.generateThemeVars=R,O.generateStyleSheets=M,O.generateSpacing=function(){return z0(p.spacing,wp(this))},O.getColorSchemeSelector=ij(u),O.spacing=O.generateSpacing(),O.shouldSkipGeneratingVar=l,O.unstable_sxConfig={...Xu,...p==null?void 0:p.unstable_sxConfig},O.unstable_sx=function(j){return Pi({sx:j,theme:this})},O.toRuntimeSource=K0,O}function C8(e,t,n){e.colorSchemes&&n&&(e.colorSchemes[t]={...n!==!0&&n,palette:sg({...n===!0?{}:n.palette,mode:t})})}function Bu(e={},...t){const{palette:n,cssVariables:r=!1,colorSchemes:s=n?void 0:{light:!0},defaultColorScheme:a=n==null?void 0:n.mode,...l}=e,u=a||"light",f=s==null?void 0:s[u],p={...s,...n?{[u]:{...typeof f!="boolean"&&f,palette:n}}:void 0};if(r===!1){if(!("colorSchemes"in e))return Fm(e,...t);let h=n;"palette"in e||p[u]&&(p[u]!==!0?h=p[u].palette:u==="dark"&&(h={mode:"dark"}));const m=Fm({...e,palette:h},...t);return m.defaultColorScheme=u,m.colorSchemes=p,m.palette.mode==="light"&&(m.colorSchemes.light={...p.light!==!0&&p.light,palette:m.palette},C8(m,"dark",p.dark)),m.palette.mode==="dark"&&(m.colorSchemes.dark={...p.dark!==!0&&p.dark,palette:m.palette},C8(m,"light",p.light)),m}return!n&&!("light"in p)&&u==="light"&&(p.light=!0),Wj({...l,colorSchemes:p,defaultColorScheme:u,...typeof r!="boolean"&&r},...t)}const ig=Bu();function Gr(){const e=Dp(ig);return e[To]||e}function e1(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const Zn=e=>e1(e)&&e!=="classes",ve=k0({themeId:To,defaultTheme:ig,rootShouldForwardProp:Zn});function O8({theme:e,...t}){const n=To in e?e[To]:void 0;return v.jsx(q0,{...t,themeId:n?To:void 0,theme:n||e})}const dd={colorSchemeStorageKey:"mui-color-scheme",defaultLightColorScheme:"light",defaultDarkColorScheme:"dark",modeStorageKey:"mui-mode"},{CssVarsProvider:Jj}=tj({themeId:To,theme:()=>Bu({cssVariables:!0}),colorSchemeStorageKey:dd.colorSchemeStorageKey,modeStorageKey:dd.modeStorageKey,defaultColorScheme:{light:dd.defaultLightColorScheme,dark:dd.defaultDarkColorScheme},resolveTheme:e=>{const t={...e,typography:Q0(e.palette,e.typography)};return t.unstable_sx=function(r){return Pi({sx:r,theme:this})},t}}),Fj=Jj;function Yj({theme:e,...t}){return typeof e=="function"?v.jsx(O8,{theme:e,...t}):"colorSchemes"in(To in e?e[To]:e)?v.jsx(Fj,{theme:e,...t}):v.jsx(O8,{theme:e,...t})}function qj(e){return v.jsx(vH,{...e,defaultTheme:ig,themeId:To})}function ag(e){return function(n){return v.jsx(qj,{styles:typeof e=="function"?r=>e({theme:r,...n}):e})}}function Zj(){return kp}const tt=UH;function nt(e){return GH(e)}function Gj(e){return Qe("MuiSvgIcon",e)}Ke("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const Uj=e=>{const{color:t,fontSize:n,classes:r}=e,s={root:["root",t!=="inherit"&&`color${ye(t)}`,`fontSize${ye(n)}`]};return _e(s,Gj,r)},Qj=ve("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color!=="inherit"&&t[`color${ye(n.color)}`],t[`fontSize${ye(n.fontSize)}`]]}})(tt(({theme:e})=>{var t,n,r,s,a,l,u,f,p,h,m,x,w,A;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",flexShrink:0,transition:(s=(t=e.transitions)==null?void 0:t.create)==null?void 0:s.call(t,"fill",{duration:(r=(n=(e.vars??e).transitions)==null?void 0:n.duration)==null?void 0:r.shorter}),variants:[{props:P=>!P.hasSvgAsChild,style:{fill:"currentColor"}},{props:{fontSize:"inherit"},style:{fontSize:"inherit"}},{props:{fontSize:"small"},style:{fontSize:((l=(a=e.typography)==null?void 0:a.pxToRem)==null?void 0:l.call(a,20))||"1.25rem"}},{props:{fontSize:"medium"},style:{fontSize:((f=(u=e.typography)==null?void 0:u.pxToRem)==null?void 0:f.call(u,24))||"1.5rem"}},{props:{fontSize:"large"},style:{fontSize:((h=(p=e.typography)==null?void 0:p.pxToRem)==null?void 0:h.call(p,35))||"2.1875rem"}},...Object.entries((e.vars??e).palette).filter(([,P])=>P&&P.main).map(([P])=>{var H,C;return{props:{color:P},style:{color:(C=(H=(e.vars??e).palette)==null?void 0:H[P])==null?void 0:C.main}}}),{props:{color:"action"},style:{color:(x=(m=(e.vars??e).palette)==null?void 0:m.action)==null?void 0:x.active}},{props:{color:"disabled"},style:{color:(A=(w=(e.vars??e).palette)==null?void 0:w.action)==null?void 0:A.disabled}},{props:{color:"inherit"},style:{color:void 0}}]}})),ep=g.forwardRef(function(t,n){const r=nt({props:t,name:"MuiSvgIcon"}),{children:s,className:a,color:l="inherit",component:u="svg",fontSize:f="medium",htmlColor:p,inheritViewBox:h=!1,titleAccess:m,viewBox:x="0 0 24 24",...w}=r,A=g.isValidElement(s)&&s.type==="svg",P={...r,color:l,component:u,fontSize:f,instanceFontSize:t.fontSize,inheritViewBox:h,viewBox:x,hasSvgAsChild:A},H={};h||(H.viewBox=x);const C=Uj(P);return v.jsxs(Qj,{as:u,className:Oe(C.root,a),focusable:"false",color:p,"aria-hidden":m?void 0:!0,role:m?"img":void 0,ref:n,...H,...w,...A&&s.props,ownerState:P,children:[A?s.props.children:s,m?v.jsx("title",{children:m}):null]})});ep.muiName="SvgIcon";function Pt(e,t){function n(r,s){return v.jsx(ep,{"data-testid":`${t}Icon`,ref:s,...r,children:e})}return n.muiName=ep.muiName,g.memo(g.forwardRef(n))}function lg(e,t){if(!e)return t;if(typeof e=="function"||typeof t=="function")return s=>{const a=typeof t=="function"?t(s):t,l=typeof e=="function"?e({...s,...a}):e,u=Oe(s==null?void 0:s.className,a==null?void 0:a.className,l==null?void 0:l.className);return{...a,...l,...!!u&&{className:u},...(a==null?void 0:a.style)&&(l==null?void 0:l.style)&&{style:{...a.style,...l.style}},...(a==null?void 0:a.sx)&&(l==null?void 0:l.sx)&&{sx:[...Array.isArray(a.sx)?a.sx:[a.sx],...Array.isArray(l.sx)?l.sx:[l.sx]]}}};const n=t,r=Oe(n==null?void 0:n.className,e==null?void 0:e.className);return{...t,...e,...!!r&&{className:r},...(n==null?void 0:n.style)&&(e==null?void 0:e.style)&&{style:{...n.style,...e.style}},...(n==null?void 0:n.sx)&&(e==null?void 0:e.sx)&&{sx:[...Array.isArray(n.sx)?n.sx:[n.sx],...Array.isArray(e.sx)?e.sx:[e.sx]]}}}function t1(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.includes(r))continue;n[r]=e[r]}return n}function qm(e,t){return qm=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,r){return n.__proto__=r,n},qm(e,t)}function n1(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,qm(e,t)}var lm={exports:{}},xr={},cm={exports:{}},um={};/** * @license React * scheduler.production.min.js * @@ -77,7 +77,7 @@ export default theme;`}function Ym(e={},...t){const{breakpoints:n,mixins:r={},sp * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var D8;function ez(){return D8||(D8=1,function(e){function t(Q,K){var R=Q.length;Q.push(K);e:for(;0>>1,X=Q[G];if(0>>1;Gs(ie,R))ues(be,ie)?(Q[G]=be,Q[ue]=R,G=ue):(Q[G]=ie,Q[re]=R,G=re);else if(ues(be,R))Q[G]=be,Q[ue]=R,G=ue;else break e}}return K}function s(Q,K){var R=Q.sortIndex-K.sortIndex;return R!==0?R:Q.id-K.id}if(typeof performance=="object"&&typeof performance.now=="function"){var a=performance;e.unstable_now=function(){return a.now()}}else{var l=Date,u=l.now();e.unstable_now=function(){return l.now()-u}}var f=[],p=[],h=1,m=null,x=3,w=!1,A=!1,P=!1,H=typeof setTimeout=="function"?setTimeout:null,S=typeof clearTimeout=="function"?clearTimeout:null,C=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function z(Q){for(var K=n(p);K!==null;){if(K.callback===null)r(p);else if(K.startTime<=Q)r(p),K.sortIndex=K.expirationTime,t(f,K);else break;K=n(p)}}function O(Q){if(P=!1,z(Q),!A)if(n(f)!==null)A=!0,_(D);else{var K=n(p);K!==null&&$(O,K.startTime-Q)}}function D(Q,K){A=!1,P&&(P=!1,S(M),M=-1),w=!0;var R=x;try{for(z(K),m=n(f);m!==null&&(!(m.expirationTime>K)||Q&&!N());){var G=m.callback;if(typeof G=="function"){m.callback=null,x=m.priorityLevel;var X=G(m.expirationTime<=K);K=e.unstable_now(),typeof X=="function"?m.callback=X:m===n(f)&&r(f),z(K)}else r(f);m=n(f)}if(m!==null)var ne=!0;else{var re=n(p);re!==null&&$(O,re.startTime-K),ne=!1}return ne}finally{m=null,x=R,w=!1}}var k=!1,E=null,M=-1,L=5,j=-1;function N(){return!(e.unstable_now()-jQ||125G?(Q.sortIndex=R,t(p,Q),n(f)===null&&Q===n(p)&&(P?(S(M),M=-1):P=!0,$(O,R-G))):(Q.sortIndex=X,t(f,Q),A||w||(A=!0,_(D))),Q},e.unstable_shouldYield=N,e.unstable_wrapCallback=function(Q){var K=x;return function(){var R=x;x=K;try{return Q.apply(this,arguments)}finally{x=R}}}}(fm)),fm}var T8;function tz(){return T8||(T8=1,um.exports=ez()),um.exports}/** + */var D8;function Kj(){return D8||(D8=1,function(e){function t(_,q){var E=_.length;_.push(q);e:for(;0>>1,X=_[Z];if(0>>1;Zs(oe,E))aes(ge,oe)?(_[Z]=ge,_[ae]=E,Z=ae):(_[Z]=oe,_[ee]=E,Z=ee);else if(aes(ge,E))_[Z]=ge,_[ae]=E,Z=ae;else break e}}return q}function s(_,q){var E=_.sortIndex-q.sortIndex;return E!==0?E:_.id-q.id}if(typeof performance=="object"&&typeof performance.now=="function"){var a=performance;e.unstable_now=function(){return a.now()}}else{var l=Date,u=l.now();e.unstable_now=function(){return l.now()-u}}var f=[],p=[],h=1,m=null,x=3,w=!1,A=!1,P=!1,H=typeof setTimeout=="function"?setTimeout:null,C=typeof clearTimeout=="function"?clearTimeout:null,S=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function z(_){for(var q=n(p);q!==null;){if(q.callback===null)r(p);else if(q.startTime<=_)r(p),q.sortIndex=q.expirationTime,t(f,q);else break;q=n(p)}}function O(_){if(P=!1,z(_),!A)if(n(f)!==null)A=!0,Q(D);else{var q=n(p);q!==null&&re(O,q.startTime-_)}}function D(_,q){A=!1,P&&(P=!1,C(M),M=-1),w=!0;var E=x;try{for(z(q),m=n(f);m!==null&&(!(m.expirationTime>q)||_&&!N());){var Z=m.callback;if(typeof Z=="function"){m.callback=null,x=m.priorityLevel;var X=Z(m.expirationTime<=q);q=e.unstable_now(),typeof X=="function"?m.callback=X:m===n(f)&&r(f),z(q)}else r(f);m=n(f)}if(m!==null)var te=!0;else{var ee=n(p);ee!==null&&re(O,ee.startTime-q),te=!1}return te}finally{m=null,x=E,w=!1}}var T=!1,R=null,M=-1,L=5,j=-1;function N(){return!(e.unstable_now()-j_||125<_?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):L=0<_?Math.floor(1e3/_):5},e.unstable_getCurrentPriorityLevel=function(){return x},e.unstable_getFirstCallbackNode=function(){return n(f)},e.unstable_next=function(_){switch(x){case 1:case 2:case 3:var q=3;break;default:q=x}var E=x;x=q;try{return _()}finally{x=E}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(_,q){switch(_){case 1:case 2:case 3:case 4:case 5:break;default:_=3}var E=x;x=_;try{return q()}finally{x=E}},e.unstable_scheduleCallback=function(_,q,E){var Z=e.unstable_now();switch(typeof E=="object"&&E!==null?(E=E.delay,E=typeof E=="number"&&0Z?(_.sortIndex=E,t(p,_),n(f)===null&&_===n(p)&&(P?(C(M),M=-1):P=!0,re(O,E-Z))):(_.sortIndex=X,t(f,_),A||w||(A=!0,Q(D))),_},e.unstable_shouldYield=N,e.unstable_wrapCallback=function(_){var q=x;return function(){var E=x;x=q;try{return _.apply(this,arguments)}finally{x=E}}}}(um)),um}var k8;function _j(){return k8||(k8=1,cm.exports=Kj()),cm.exports}/** * @license React * react-dom.production.min.js * @@ -85,14 +85,14 @@ export default theme;`}function Ym(e={},...t){const{breakpoints:n,mixins:r={},sp * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var k8;function nz(){if(k8)return xr;k8=1;var e=Wg(),t=tz();function n(o){for(var i="https://reactjs.org/docs/error-decoder.html?invariant="+o,c=1;c"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),f=Object.prototype.hasOwnProperty,p=/^[: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]*$/,h={},m={};function x(o){return f.call(m,o)?!0:f.call(h,o)?!1:p.test(o)?m[o]=!0:(h[o]=!0,!1)}function w(o,i,c,d){if(c!==null&&c.type===0)return!1;switch(typeof i){case"function":case"symbol":return!0;case"boolean":return d?!1:c!==null?!c.acceptsBooleans:(o=o.toLowerCase().slice(0,5),o!=="data-"&&o!=="aria-");default:return!1}}function A(o,i,c,d){if(i===null||typeof i>"u"||w(o,i,c,d))return!0;if(d)return!1;if(c!==null)switch(c.type){case 3:return!i;case 4:return i===!1;case 5:return isNaN(i);case 6:return isNaN(i)||1>i}return!1}function P(o,i,c,d,g,b,T){this.acceptsBooleans=i===2||i===3||i===4,this.attributeName=d,this.attributeNamespace=g,this.mustUseProperty=c,this.propertyName=o,this.type=i,this.sanitizeURL=b,this.removeEmptyString=T}var H={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(o){H[o]=new P(o,0,!1,o,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(o){var i=o[0];H[i]=new P(i,1,!1,o[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(o){H[o]=new P(o,2,!1,o.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(o){H[o]=new P(o,2,!1,o,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(o){H[o]=new P(o,3,!1,o.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(o){H[o]=new P(o,3,!0,o,null,!1,!1)}),["capture","download"].forEach(function(o){H[o]=new P(o,4,!1,o,null,!1,!1)}),["cols","rows","size","span"].forEach(function(o){H[o]=new P(o,6,!1,o,null,!1,!1)}),["rowSpan","start"].forEach(function(o){H[o]=new P(o,5,!1,o.toLowerCase(),null,!1,!1)});var S=/[\-:]([a-z])/g;function C(o){return o[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(o){var i=o.replace(S,C);H[i]=new P(i,1,!1,o,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(o){var i=o.replace(S,C);H[i]=new P(i,1,!1,o,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(o){var i=o.replace(S,C);H[i]=new P(i,1,!1,o,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(o){H[o]=new P(o,1,!1,o.toLowerCase(),null,!1,!1)}),H.xlinkHref=new P("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(o){H[o]=new P(o,1,!1,o.toLowerCase(),null,!0,!0)});function z(o,i,c,d){var g=H.hasOwnProperty(i)?H[i]:null;(g!==null?g.type!==0:d||!(2"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),f=Object.prototype.hasOwnProperty,p=/^[: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]*$/,h={},m={};function x(o){return f.call(m,o)?!0:f.call(h,o)?!1:p.test(o)?m[o]=!0:(h[o]=!0,!1)}function w(o,i,c,d){if(c!==null&&c.type===0)return!1;switch(typeof i){case"function":case"symbol":return!0;case"boolean":return d?!1:c!==null?!c.acceptsBooleans:(o=o.toLowerCase().slice(0,5),o!=="data-"&&o!=="aria-");default:return!1}}function A(o,i,c,d){if(i===null||typeof i>"u"||w(o,i,c,d))return!0;if(d)return!1;if(c!==null)switch(c.type){case 3:return!i;case 4:return i===!1;case 5:return isNaN(i);case 6:return isNaN(i)||1>i}return!1}function P(o,i,c,d,y,b,k){this.acceptsBooleans=i===2||i===3||i===4,this.attributeName=d,this.attributeNamespace=y,this.mustUseProperty=c,this.propertyName=o,this.type=i,this.sanitizeURL=b,this.removeEmptyString=k}var H={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(o){H[o]=new P(o,0,!1,o,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(o){var i=o[0];H[i]=new P(i,1,!1,o[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(o){H[o]=new P(o,2,!1,o.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(o){H[o]=new P(o,2,!1,o,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(o){H[o]=new P(o,3,!1,o.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(o){H[o]=new P(o,3,!0,o,null,!1,!1)}),["capture","download"].forEach(function(o){H[o]=new P(o,4,!1,o,null,!1,!1)}),["cols","rows","size","span"].forEach(function(o){H[o]=new P(o,6,!1,o,null,!1,!1)}),["rowSpan","start"].forEach(function(o){H[o]=new P(o,5,!1,o.toLowerCase(),null,!1,!1)});var C=/[\-:]([a-z])/g;function S(o){return o[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(o){var i=o.replace(C,S);H[i]=new P(i,1,!1,o,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(o){var i=o.replace(C,S);H[i]=new P(i,1,!1,o,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(o){var i=o.replace(C,S);H[i]=new P(i,1,!1,o,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(o){H[o]=new P(o,1,!1,o.toLowerCase(),null,!1,!1)}),H.xlinkHref=new P("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(o){H[o]=new P(o,1,!1,o.toLowerCase(),null,!0,!0)});function z(o,i,c,d){var y=H.hasOwnProperty(i)?H[i]:null;(y!==null?y.type!==0:d||!(2B||g[T]!==b[B]){var Z=` -`+g[T].replace(" at new "," at ");return o.displayName&&Z.includes("")&&(Z=Z.replace("",o.displayName)),Z}while(1<=T&&0<=B);break}}}finally{ne=!1,Error.prepareStackTrace=c}return(o=o?o.displayName||o.name:"")?X(o):""}function ie(o){switch(o.tag){case 5:return X(o.type);case 16:return X("Lazy");case 13:return X("Suspense");case 19:return X("SuspenseList");case 0:case 2:case 15:return o=re(o.type,!1),o;case 11:return o=re(o.type.render,!1),o;case 1:return o=re(o.type,!0),o;default:return""}}function ue(o){if(o==null)return null;if(typeof o=="function")return o.displayName||o.name||null;if(typeof o=="string")return o;switch(o){case E:return"Fragment";case k:return"Portal";case L:return"Profiler";case M:return"StrictMode";case I:return"Suspense";case te:return"SuspenseList"}if(typeof o=="object")switch(o.$$typeof){case N:return(o.displayName||"Context")+".Consumer";case j:return(o._context.displayName||"Context")+".Provider";case W:var i=o.render;return o=o.displayName,o||(o=i.displayName||i.name||"",o=o!==""?"ForwardRef("+o+")":"ForwardRef"),o;case J:return i=o.displayName||null,i!==null?i:ue(o.type)||"Memo";case _:i=o._payload,o=o._init;try{return ue(o(i))}catch{}}return null}function be(o){var i=o.type;switch(o.tag){case 24:return"Cache";case 9:return(i.displayName||"Context")+".Consumer";case 10:return(i._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return o=i.render,o=o.displayName||o.name||"",i.displayName||(o!==""?"ForwardRef("+o+")":"ForwardRef");case 7:return"Fragment";case 5:return i;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return ue(i);case 8:return i===M?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof i=="function")return i.displayName||i.name||null;if(typeof i=="string")return i}return null}function ae(o){switch(typeof o){case"boolean":case"number":case"string":case"undefined":return o;case"object":return o;default:return""}}function Se(o){var i=o.type;return(o=o.nodeName)&&o.toLowerCase()==="input"&&(i==="checkbox"||i==="radio")}function Le(o){var i=Se(o)?"checked":"value",c=Object.getOwnPropertyDescriptor(o.constructor.prototype,i),d=""+o[i];if(!o.hasOwnProperty(i)&&typeof c<"u"&&typeof c.get=="function"&&typeof c.set=="function"){var g=c.get,b=c.set;return Object.defineProperty(o,i,{configurable:!0,get:function(){return g.call(this)},set:function(T){d=""+T,b.call(this,T)}}),Object.defineProperty(o,i,{enumerable:c.enumerable}),{getValue:function(){return d},setValue:function(T){d=""+T},stopTracking:function(){o._valueTracker=null,delete o[i]}}}}function Ve(o){o._valueTracker||(o._valueTracker=Le(o))}function Pe(o){if(!o)return!1;var i=o._valueTracker;if(!i)return!0;var c=i.getValue(),d="";return o&&(d=Se(o)?o.checked?"true":"false":o.value),o=d,o!==c?(i.setValue(o),!0):!1}function _e(o){if(o=o||(typeof document<"u"?document:void 0),typeof o>"u")return null;try{return o.activeElement||o.body}catch{return o.body}}function we(o,i){var c=i.checked;return R({},i,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:c??o._wrapperState.initialChecked})}function Fe(o,i){var c=i.defaultValue==null?"":i.defaultValue,d=i.checked!=null?i.checked:i.defaultChecked;c=ae(i.value!=null?i.value:c),o._wrapperState={initialChecked:d,initialValue:c,controlled:i.type==="checkbox"||i.type==="radio"?i.checked!=null:i.value!=null}}function yt(o,i){i=i.checked,i!=null&&z(o,"checked",i,!1)}function ke(o,i){yt(o,i);var c=ae(i.value),d=i.type;if(c!=null)d==="number"?(c===0&&o.value===""||o.value!=c)&&(o.value=""+c):o.value!==""+c&&(o.value=""+c);else if(d==="submit"||d==="reset"){o.removeAttribute("value");return}i.hasOwnProperty("value")?U(o,i.type,c):i.hasOwnProperty("defaultValue")&&U(o,i.type,ae(i.defaultValue)),i.checked==null&&i.defaultChecked!=null&&(o.defaultChecked=!!i.defaultChecked)}function V(o,i,c){if(i.hasOwnProperty("value")||i.hasOwnProperty("defaultValue")){var d=i.type;if(!(d!=="submit"&&d!=="reset"||i.value!==void 0&&i.value!==null))return;i=""+o._wrapperState.initialValue,c||i===o.value||(o.value=i),o.defaultValue=i}c=o.name,c!==""&&(o.name=""),o.defaultChecked=!!o._wrapperState.initialChecked,c!==""&&(o.name=c)}function U(o,i,c){(i!=="number"||_e(o.ownerDocument)!==o)&&(c==null?o.defaultValue=""+o._wrapperState.initialValue:o.defaultValue!==""+c&&(o.defaultValue=""+c))}var oe=Array.isArray;function Ae(o,i,c,d){if(o=o.options,i){i={};for(var g=0;g"+i.valueOf().toString()+"",i=dt.firstChild;o.firstChild;)o.removeChild(o.firstChild);for(;i.firstChild;)o.appendChild(i.firstChild)}});function ft(o,i){if(i){var c=o.firstChild;if(c&&c===o.lastChild&&c.nodeType===3){c.nodeValue=i;return}}o.textContent=i}var Be={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},kt=["Webkit","ms","Moz","O"];Object.keys(Be).forEach(function(o){kt.forEach(function(i){i=i+o.charAt(0).toUpperCase()+o.substring(1),Be[i]=Be[o]})});function Vt(o,i,c){return i==null||typeof i=="boolean"||i===""?"":c||typeof i!="number"||i===0||Be.hasOwnProperty(o)&&Be[o]?(""+i).trim():i+"px"}function Ut(o,i){o=o.style;for(var c in i)if(i.hasOwnProperty(c)){var d=c.indexOf("--")===0,g=Vt(c,i[c],d);c==="float"&&(c="cssFloat"),d?o.setProperty(c,g):o[c]=g}}var Y=R({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function F(o,i){if(i){if(Y[o]&&(i.children!=null||i.dangerouslySetInnerHTML!=null))throw Error(n(137,o));if(i.dangerouslySetInnerHTML!=null){if(i.children!=null)throw Error(n(60));if(typeof i.dangerouslySetInnerHTML!="object"||!("__html"in i.dangerouslySetInnerHTML))throw Error(n(61))}if(i.style!=null&&typeof i.style!="object")throw Error(n(62))}}function ge(o,i){if(o.indexOf("-")===-1)return typeof i.is=="string";switch(o){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 Ce=null;function Re(o){return o=o.target||o.srcElement||window,o.correspondingUseElement&&(o=o.correspondingUseElement),o.nodeType===3?o.parentNode:o}var Ne=null,qe=null,Te=null;function st(o){if(o=ac(o)){if(typeof Ne!="function")throw Error(n(280));var i=o.stateNode;i&&(i=wf(i),Ne(o.stateNode,o.type,i))}}function ut(o){qe?Te?Te.push(o):Te=[o]:qe=o}function Lt(){if(qe){var o=qe,i=Te;if(Te=qe=null,st(o),i)for(o=0;o>>=0,o===0?32:31-(S4(o)/C4|0)|0}var of=64,sf=4194304;function Jl(o){switch(o&-o){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return o&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return o&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return o}}function af(o,i){var c=o.pendingLanes;if(c===0)return 0;var d=0,g=o.suspendedLanes,b=o.pingedLanes,T=c&268435455;if(T!==0){var B=T&~g;B!==0?d=Jl(B):(b&=T,b!==0&&(d=Jl(b)))}else T=c&~g,T!==0?d=Jl(T):b!==0&&(d=Jl(b));if(d===0)return 0;if(i!==0&&i!==d&&!(i&g)&&(g=d&-d,b=i&-i,g>=b||g===16&&(b&4194240)!==0))return i;if(d&4&&(d|=c&16),i=o.entangledLanes,i!==0)for(o=o.entanglements,i&=d;0c;c++)i.push(o);return i}function Fl(o,i,c){o.pendingLanes|=i,i!==536870912&&(o.suspendedLanes=0,o.pingedLanes=0),o=o.eventTimes,i=31-yo(i),o[i]=c}function k4(o,i){var c=o.pendingLanes&~i;o.pendingLanes=i,o.suspendedLanes=0,o.pingedLanes=0,o.expiredLanes&=i,o.mutableReadLanes&=i,o.entangledLanes&=i,i=o.entanglements;var d=o.eventTimes;for(o=o.expirationTimes;0=_l),MA=" ",LA=!1;function XA(o,i){switch(o){case"keyup":return i5.indexOf(i.keyCode)!==-1;case"keydown":return i.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function NA(o){return o=o.detail,typeof o=="object"&&"data"in o?o.data:null}var Ha=!1;function l5(o,i){switch(o){case"compositionend":return NA(i);case"keypress":return i.which!==32?null:(LA=!0,MA);case"textInput":return o=i.data,o===MA&&LA?null:o;default:return null}}function c5(o,i){if(Ha)return o==="compositionend"||!kv&&XA(o,i)?(o=OA(),df=zv=Js=null,Ha=!1,o):null;switch(o){case"paste":return null;case"keypress":if(!(i.ctrlKey||i.altKey||i.metaKey)||i.ctrlKey&&i.altKey){if(i.char&&1=i)return{node:c,offset:i-o};o=d}e:{for(;c;){if(c.nextSibling){c=c.nextSibling;break e}c=c.parentNode}c=void 0}c=YA(c)}}function ZA(o,i){return o&&i?o===i?!0:o&&o.nodeType===3?!1:i&&i.nodeType===3?ZA(o,i.parentNode):"contains"in o?o.contains(i):o.compareDocumentPosition?!!(o.compareDocumentPosition(i)&16):!1:!1}function GA(){for(var o=window,i=_e();i instanceof o.HTMLIFrameElement;){try{var c=typeof i.contentWindow.location.href=="string"}catch{c=!1}if(c)o=i.contentWindow;else break;i=_e(o.document)}return i}function Mv(o){var i=o&&o.nodeName&&o.nodeName.toLowerCase();return i&&(i==="input"&&(o.type==="text"||o.type==="search"||o.type==="tel"||o.type==="url"||o.type==="password")||i==="textarea"||o.contentEditable==="true")}function y5(o){var i=GA(),c=o.focusedElem,d=o.selectionRange;if(i!==c&&c&&c.ownerDocument&&ZA(c.ownerDocument.documentElement,c)){if(d!==null&&Mv(c)){if(i=d.start,o=d.end,o===void 0&&(o=i),"selectionStart"in c)c.selectionStart=i,c.selectionEnd=Math.min(o,c.value.length);else if(o=(i=c.ownerDocument||document)&&i.defaultView||window,o.getSelection){o=o.getSelection();var g=c.textContent.length,b=Math.min(d.start,g);d=d.end===void 0?b:Math.min(d.end,g),!o.extend&&b>d&&(g=d,d=b,b=g),g=qA(c,b);var T=qA(c,d);g&&T&&(o.rangeCount!==1||o.anchorNode!==g.node||o.anchorOffset!==g.offset||o.focusNode!==T.node||o.focusOffset!==T.offset)&&(i=i.createRange(),i.setStart(g.node,g.offset),o.removeAllRanges(),b>d?(o.addRange(i),o.extend(T.node,T.offset)):(i.setEnd(T.node,T.offset),o.addRange(i)))}}for(i=[],o=c;o=o.parentNode;)o.nodeType===1&&i.push({element:o,left:o.scrollLeft,top:o.scrollTop});for(typeof c.focus=="function"&&c.focus(),c=0;c=document.documentMode,ja=null,Lv=null,nc=null,Xv=!1;function UA(o,i,c){var d=c.window===c?c.document:c.nodeType===9?c:c.ownerDocument;Xv||ja==null||ja!==_e(d)||(d=ja,"selectionStart"in d&&Mv(d)?d={start:d.selectionStart,end:d.selectionEnd}:(d=(d.ownerDocument&&d.ownerDocument.defaultView||window).getSelection(),d={anchorNode:d.anchorNode,anchorOffset:d.anchorOffset,focusNode:d.focusNode,focusOffset:d.focusOffset}),nc&&tc(nc,d)||(nc=d,d=Pf(Lv,"onSelect"),0Da||(o.current=Uv[Da],Uv[Da]=null,Da--)}function rn(o,i){Da++,Uv[Da]=o.current,o.current=i}var Zs={},$n=qs(Zs),gr=qs(!1),Di=Zs;function Ta(o,i){var c=o.type.contextTypes;if(!c)return Zs;var d=o.stateNode;if(d&&d.__reactInternalMemoizedUnmaskedChildContext===i)return d.__reactInternalMemoizedMaskedChildContext;var g={},b;for(b in c)g[b]=i[b];return d&&(o=o.stateNode,o.__reactInternalMemoizedUnmaskedChildContext=i,o.__reactInternalMemoizedMaskedChildContext=g),g}function yr(o){return o=o.childContextTypes,o!=null}function Hf(){ln(gr),ln($n)}function uP(o,i,c){if($n.current!==Zs)throw Error(n(168));rn($n,i),rn(gr,c)}function fP(o,i,c){var d=o.stateNode;if(i=i.childContextTypes,typeof d.getChildContext!="function")return c;d=d.getChildContext();for(var g in d)if(!(g in i))throw Error(n(108,be(o)||"Unknown",g));return R({},c,d)}function jf(o){return o=(o=o.stateNode)&&o.__reactInternalMemoizedMergedChildContext||Zs,Di=$n.current,rn($n,o),rn(gr,gr.current),!0}function dP(o,i,c){var d=o.stateNode;if(!d)throw Error(n(169));c?(o=fP(o,i,Di),d.__reactInternalMemoizedMergedChildContext=o,ln(gr),ln($n),rn($n,o)):ln(gr),rn(gr,c)}var ms=null,zf=!1,Qv=!1;function pP(o){ms===null?ms=[o]:ms.push(o)}function D5(o){zf=!0,pP(o)}function Gs(){if(!Qv&&ms!==null){Qv=!0;var o=0,i=Gt;try{var c=ms;for(Gt=1;o>=T,g-=T,gs=1<<32-yo(i)+g|c<bt?(Yn=ht,ht=null):Yn=ht.sibling;var Jt=je(se,ht,le[bt],Xe);if(Jt===null){ht===null&&(ht=Yn);break}o&&ht&&Jt.alternate===null&&i(se,ht),ee=b(Jt,ee,bt),vt===null?ct=Jt:vt.sibling=Jt,vt=Jt,ht=Yn}if(bt===le.length)return c(se,ht),fn&&ki(se,bt),ct;if(ht===null){for(;btbt?(Yn=ht,ht=null):Yn=ht.sibling;var ri=je(se,ht,Jt.value,Xe);if(ri===null){ht===null&&(ht=Yn);break}o&&ht&&ri.alternate===null&&i(se,ht),ee=b(ri,ee,bt),vt===null?ct=ri:vt.sibling=ri,vt=ri,ht=Yn}if(Jt.done)return c(se,ht),fn&&ki(se,bt),ct;if(ht===null){for(;!Jt.done;bt++,Jt=le.next())Jt=De(se,Jt.value,Xe),Jt!==null&&(ee=b(Jt,ee,bt),vt===null?ct=Jt:vt.sibling=Jt,vt=Jt);return fn&&ki(se,bt),ct}for(ht=d(se,ht);!Jt.done;bt++,Jt=le.next())Jt=Ye(ht,se,bt,Jt.value,Xe),Jt!==null&&(o&&Jt.alternate!==null&&ht.delete(Jt.key===null?bt:Jt.key),ee=b(Jt,ee,bt),vt===null?ct=Jt:vt.sibling=Jt,vt=Jt);return o&&ht.forEach(function(u3){return i(se,u3)}),fn&&ki(se,bt),ct}function On(se,ee,le,Xe){if(typeof le=="object"&&le!==null&&le.type===E&&le.key===null&&(le=le.props.children),typeof le=="object"&&le!==null){switch(le.$$typeof){case D:e:{for(var ct=le.key,vt=ee;vt!==null;){if(vt.key===ct){if(ct=le.type,ct===E){if(vt.tag===7){c(se,vt.sibling),ee=g(vt,le.props.children),ee.return=se,se=ee;break e}}else if(vt.elementType===ct||typeof ct=="object"&&ct!==null&&ct.$$typeof===_&&SP(ct)===vt.type){c(se,vt.sibling),ee=g(vt,le.props),ee.ref=lc(se,vt,le),ee.return=se,se=ee;break e}c(se,vt);break}else i(se,vt);vt=vt.sibling}le.type===E?(ee=Vi(le.props.children,se.mode,Xe,le.key),ee.return=se,se=ee):(Xe=ed(le.type,le.key,le.props,null,se.mode,Xe),Xe.ref=lc(se,ee,le),Xe.return=se,se=Xe)}return T(se);case k:e:{for(vt=le.key;ee!==null;){if(ee.key===vt)if(ee.tag===4&&ee.stateNode.containerInfo===le.containerInfo&&ee.stateNode.implementation===le.implementation){c(se,ee.sibling),ee=g(ee,le.children||[]),ee.return=se,se=ee;break e}else{c(se,ee);break}else i(se,ee);ee=ee.sibling}ee=Zh(le,se.mode,Xe),ee.return=se,se=ee}return T(se);case _:return vt=le._init,On(se,ee,vt(le._payload),Xe)}if(oe(le))return it(se,ee,le,Xe);if(K(le))return lt(se,ee,le,Xe);Mf(se,le)}return typeof le=="string"&&le!==""||typeof le=="number"?(le=""+le,ee!==null&&ee.tag===6?(c(se,ee.sibling),ee=g(ee,le),ee.return=se,se=ee):(c(se,ee),ee=qh(le,se.mode,Xe),ee.return=se,se=ee),T(se)):c(se,ee)}return On}var Xa=CP(!0),OP=CP(!1),cc={},qo=qs(cc),uc=qs(cc),fc=qs(cc);function Ri(o){if(o===cc)throw Error(n(174));return o}function uh(o,i){switch(rn(fc,i),rn(uc,o),rn(qo,cc),o=i.nodeType,o){case 9:case 11:i=(i=i.documentElement)?i.namespaceURI:ot(null,"");break;default:o=o===8?i.parentNode:i,i=o.namespaceURI||null,o=o.tagName,i=ot(i,o)}ln(qo),rn(qo,i)}function Na(){ln(qo),ln(uc),ln(fc)}function DP(o){Ri(fc.current);var i=Ri(qo.current),c=ot(i,o.type);i!==c&&(rn(uc,o),rn(qo,c))}function fh(o){uc.current===o&&(ln(qo),ln(uc))}var mn=qs(0);function Lf(o){for(var i=o;i!==null;){if(i.tag===13){var c=i.memoizedState;if(c!==null&&(c=c.dehydrated,c===null||c.data==="$?"||c.data==="$!"))return i}else if(i.tag===19&&i.memoizedProps.revealOrder!==void 0){if(i.flags&128)return i}else if(i.child!==null){i.child.return=i,i=i.child;continue}if(i===o)break;for(;i.sibling===null;){if(i.return===null||i.return===o)return null;i=i.return}i.sibling.return=i.return,i=i.sibling}return null}var dh=[];function ph(){for(var o=0;oc?c:4,o(!0);var d=vh.transition;vh.transition={};try{o(!1),i()}finally{Gt=c,vh.transition=d}}function GP(){return eo().memoizedState}function R5(o,i,c){var d=ei(o);if(c={lane:d,action:c,hasEagerState:!1,eagerState:null,next:null},UP(o))QP(i,c);else if(c=AP(o,i,c,d),c!==null){var g=lr();Ho(c,o,d,g),KP(c,i,d)}}function M5(o,i,c){var d=ei(o),g={lane:d,action:c,hasEagerState:!1,eagerState:null,next:null};if(UP(o))QP(i,g);else{var b=o.alternate;if(o.lanes===0&&(b===null||b.lanes===0)&&(b=i.lastRenderedReducer,b!==null))try{var T=i.lastRenderedState,B=b(T,c);if(g.hasEagerState=!0,g.eagerState=B,Ao(B,T)){var Z=i.interleaved;Z===null?(g.next=g,ih(i)):(g.next=Z.next,Z.next=g),i.interleaved=g;return}}catch{}finally{}c=AP(o,i,g,d),c!==null&&(g=lr(),Ho(c,o,d,g),KP(c,i,d))}}function UP(o){var i=o.alternate;return o===gn||i!==null&&i===gn}function QP(o,i){dc=Nf=!0;var c=o.pending;c===null?i.next=i:(i.next=c.next,c.next=i),o.pending=i}function KP(o,i,c){if(c&4194240){var d=i.lanes;d&=o.pendingLanes,c|=d,i.lanes=c,bv(o,c)}}var If={readContext:$r,useCallback:er,useContext:er,useEffect:er,useImperativeHandle:er,useInsertionEffect:er,useLayoutEffect:er,useMemo:er,useReducer:er,useRef:er,useState:er,useDebugValue:er,useDeferredValue:er,useTransition:er,useMutableSource:er,useSyncExternalStore:er,useId:er,unstable_isNewReconciler:!1},L5={readContext:$r,useCallback:function(o,i){return Zo().memoizedState=[o,i===void 0?null:i],o},useContext:$r,useEffect:VP,useImperativeHandle:function(o,i,c){return c=c!=null?c.concat([o]):null,Bf(4194308,4,JP.bind(null,i,o),c)},useLayoutEffect:function(o,i){return Bf(4194308,4,o,i)},useInsertionEffect:function(o,i){return Bf(4,2,o,i)},useMemo:function(o,i){var c=Zo();return i=i===void 0?null:i,o=o(),c.memoizedState=[o,i],o},useReducer:function(o,i,c){var d=Zo();return i=c!==void 0?c(i):i,d.memoizedState=d.baseState=i,o={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:o,lastRenderedState:i},d.queue=o,o=o.dispatch=R5.bind(null,gn,o),[d.memoizedState,o]},useRef:function(o){var i=Zo();return o={current:o},i.memoizedState=o},useState:NP,useDebugValue:bh,useDeferredValue:function(o){return Zo().memoizedState=o},useTransition:function(){var o=NP(!1),i=o[0];return o=E5.bind(null,o[1]),Zo().memoizedState=o,[i,o]},useMutableSource:function(){},useSyncExternalStore:function(o,i,c){var d=gn,g=Zo();if(fn){if(c===void 0)throw Error(n(407));c=c()}else{if(c=i(),Fn===null)throw Error(n(349));Mi&30||EP(d,i,c)}g.memoizedState=c;var b={value:c,getSnapshot:i};return g.queue=b,VP(MP.bind(null,d,b,o),[o]),d.flags|=2048,hc(9,RP.bind(null,d,b,c,i),void 0,null),c},useId:function(){var o=Zo(),i=Fn.identifierPrefix;if(fn){var c=ys,d=gs;c=(d&~(1<<32-yo(d)-1)).toString(32)+c,i=":"+i+"R"+c,c=pc++,0V||y[k]!==b[V]){var U=` +`+y[k].replace(" at new "," at ");return o.displayName&&U.includes("")&&(U=U.replace("",o.displayName)),U}while(1<=k&&0<=V);break}}}finally{te=!1,Error.prepareStackTrace=c}return(o=o?o.displayName||o.name:"")?X(o):""}function oe(o){switch(o.tag){case 5:return X(o.type);case 16:return X("Lazy");case 13:return X("Suspense");case 19:return X("SuspenseList");case 0:case 2:case 15:return o=ee(o.type,!1),o;case 11:return o=ee(o.type.render,!1),o;case 1:return o=ee(o.type,!0),o;default:return""}}function ae(o){if(o==null)return null;if(typeof o=="function")return o.displayName||o.name||null;if(typeof o=="string")return o;switch(o){case R:return"Fragment";case T:return"Portal";case L:return"Profiler";case M:return"StrictMode";case W:return"Suspense";case $:return"SuspenseList"}if(typeof o=="object")switch(o.$$typeof){case N:return(o.displayName||"Context")+".Consumer";case j:return(o._context.displayName||"Context")+".Provider";case B:var i=o.render;return o=o.displayName,o||(o=i.displayName||i.name||"",o=o!==""?"ForwardRef("+o+")":"ForwardRef"),o;case J:return i=o.displayName||null,i!==null?i:ae(o.type)||"Memo";case Q:i=o._payload,o=o._init;try{return ae(o(i))}catch{}}return null}function ge(o){var i=o.type;switch(o.tag){case 24:return"Cache";case 9:return(i.displayName||"Context")+".Consumer";case 10:return(i._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return o=i.render,o=o.displayName||o.name||"",i.displayName||(o!==""?"ForwardRef("+o+")":"ForwardRef");case 7:return"Fragment";case 5:return i;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return ae(i);case 8:return i===M?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof i=="function")return i.displayName||i.name||null;if(typeof i=="string")return i}return null}function le(o){switch(typeof o){case"boolean":case"number":case"string":case"undefined":return o;case"object":return o;default:return""}}function ze(o){var i=o.type;return(o=o.nodeName)&&o.toLowerCase()==="input"&&(i==="checkbox"||i==="radio")}function De(o){var i=ze(o)?"checked":"value",c=Object.getOwnPropertyDescriptor(o.constructor.prototype,i),d=""+o[i];if(!o.hasOwnProperty(i)&&typeof c<"u"&&typeof c.get=="function"&&typeof c.set=="function"){var y=c.get,b=c.set;return Object.defineProperty(o,i,{configurable:!0,get:function(){return y.call(this)},set:function(k){d=""+k,b.call(this,k)}}),Object.defineProperty(o,i,{enumerable:c.enumerable}),{getValue:function(){return d},setValue:function(k){d=""+k},stopTracking:function(){o._valueTracker=null,delete o[i]}}}}function Ne(o){o._valueTracker||(o._valueTracker=De(o))}function he(o){if(!o)return!1;var i=o._valueTracker;if(!i)return!0;var c=i.getValue(),d="";return o&&(d=ze(o)?o.checked?"true":"false":o.value),o=d,o!==c?(i.setValue(o),!0):!1}function Ie(o){if(o=o||(typeof document<"u"?document:void 0),typeof o>"u")return null;try{return o.activeElement||o.body}catch{return o.body}}function be(o,i){var c=i.checked;return E({},i,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:c??o._wrapperState.initialChecked})}function Ye(o,i){var c=i.defaultValue==null?"":i.defaultValue,d=i.checked!=null?i.checked:i.defaultChecked;c=le(i.value!=null?i.value:c),o._wrapperState={initialChecked:d,initialValue:c,controlled:i.type==="checkbox"||i.type==="radio"?i.checked!=null:i.value!=null}}function At(o,i){i=i.checked,i!=null&&z(o,"checked",i,!1)}function Ee(o,i){At(o,i);var c=le(i.value),d=i.type;if(c!=null)d==="number"?(c===0&&o.value===""||o.value!=c)&&(o.value=""+c):o.value!==""+c&&(o.value=""+c);else if(d==="submit"||d==="reset"){o.removeAttribute("value");return}i.hasOwnProperty("value")?K(o,i.type,c):i.hasOwnProperty("defaultValue")&&K(o,i.type,le(i.defaultValue)),i.checked==null&&i.defaultChecked!=null&&(o.defaultChecked=!!i.defaultChecked)}function I(o,i,c){if(i.hasOwnProperty("value")||i.hasOwnProperty("defaultValue")){var d=i.type;if(!(d!=="submit"&&d!=="reset"||i.value!==void 0&&i.value!==null))return;i=""+o._wrapperState.initialValue,c||i===o.value||(o.value=i),o.defaultValue=i}c=o.name,c!==""&&(o.name=""),o.defaultChecked=!!o._wrapperState.initialChecked,c!==""&&(o.name=c)}function K(o,i,c){(i!=="number"||Ie(o.ownerDocument)!==o)&&(c==null?o.defaultValue=""+o._wrapperState.initialValue:o.defaultValue!==""+c&&(o.defaultValue=""+c))}var se=Array.isArray;function xe(o,i,c,d){if(o=o.options,i){i={};for(var y=0;y"+i.valueOf().toString()+"",i=pt.firstChild;o.firstChild;)o.removeChild(o.firstChild);for(;i.firstChild;)o.appendChild(i.firstChild)}});function ft(o,i){if(i){var c=o.firstChild;if(c&&c===o.lastChild&&c.nodeType===3){c.nodeValue=i;return}}o.textContent=i}var Ve={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Tt=["Webkit","ms","Moz","O"];Object.keys(Ve).forEach(function(o){Tt.forEach(function(i){i=i+o.charAt(0).toUpperCase()+o.substring(1),Ve[i]=Ve[o]})});function Vt(o,i,c){return i==null||typeof i=="boolean"||i===""?"":c||typeof i!="number"||i===0||Ve.hasOwnProperty(o)&&Ve[o]?(""+i).trim():i+"px"}function Ut(o,i){o=o.style;for(var c in i)if(i.hasOwnProperty(c)){var d=c.indexOf("--")===0,y=Vt(c,i[c],d);c==="float"&&(c="cssFloat"),d?o.setProperty(c,y):o[c]=y}}var Y=E({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function F(o,i){if(i){if(Y[o]&&(i.children!=null||i.dangerouslySetInnerHTML!=null))throw Error(n(137,o));if(i.dangerouslySetInnerHTML!=null){if(i.children!=null)throw Error(n(60));if(typeof i.dangerouslySetInnerHTML!="object"||!("__html"in i.dangerouslySetInnerHTML))throw Error(n(61))}if(i.style!=null&&typeof i.style!="object")throw Error(n(62))}}function Ae(o,i){if(o.indexOf("-")===-1)return typeof i.is=="string";switch(o){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 Ce=null;function Me(o){return o=o.target||o.srcElement||window,o.correspondingUseElement&&(o=o.correspondingUseElement),o.nodeType===3?o.parentNode:o}var Be=null,Ze=null,Te=null;function st(o){if(o=ac(o)){if(typeof Be!="function")throw Error(n(280));var i=o.stateNode;i&&(i=wf(i),Be(o.stateNode,o.type,i))}}function ut(o){Ze?Te?Te.push(o):Te=[o]:Ze=o}function Lt(){if(Ze){var o=Ze,i=Te;if(Te=Ze=null,st(o),i)for(o=0;o>>=0,o===0?32:31-(H4(o)/j4|0)|0}var of=64,sf=4194304;function Jl(o){switch(o&-o){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return o&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return o&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return o}}function af(o,i){var c=o.pendingLanes;if(c===0)return 0;var d=0,y=o.suspendedLanes,b=o.pingedLanes,k=c&268435455;if(k!==0){var V=k&~y;V!==0?d=Jl(V):(b&=k,b!==0&&(d=Jl(b)))}else k=c&~y,k!==0?d=Jl(k):b!==0&&(d=Jl(b));if(d===0)return 0;if(i!==0&&i!==d&&!(i&y)&&(y=d&-d,b=i&-i,y>=b||y===16&&(b&4194240)!==0))return i;if(d&4&&(d|=c&16),i=o.entangledLanes,i!==0)for(o=o.entanglements,i&=d;0c;c++)i.push(o);return i}function Fl(o,i,c){o.pendingLanes|=i,i!==536870912&&(o.suspendedLanes=0,o.pingedLanes=0),o=o.eventTimes,i=31-go(i),o[i]=c}function O4(o,i){var c=o.pendingLanes&~i;o.pendingLanes=i,o.suspendedLanes=0,o.pingedLanes=0,o.expiredLanes&=i,o.mutableReadLanes&=i,o.entangledLanes&=i,i=o.entanglements;var d=o.eventTimes;for(o=o.expirationTimes;0=_l),MA=" ",LA=!1;function XA(o,i){switch(o){case"keyup":return r5.indexOf(i.keyCode)!==-1;case"keydown":return i.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function NA(o){return o=o.detail,typeof o=="object"&&"data"in o?o.data:null}var Ha=!1;function s5(o,i){switch(o){case"compositionend":return NA(i);case"keypress":return i.which!==32?null:(LA=!0,MA);case"textInput":return o=i.data,o===MA&&LA?null:o;default:return null}}function i5(o,i){if(Ha)return o==="compositionend"||!kv&&XA(o,i)?(o=OA(),df=jv=Js=null,Ha=!1,o):null;switch(o){case"paste":return null;case"keypress":if(!(i.ctrlKey||i.altKey||i.metaKey)||i.ctrlKey&&i.altKey){if(i.char&&1=i)return{node:c,offset:i-o};o=d}e:{for(;c;){if(c.nextSibling){c=c.nextSibling;break e}c=c.parentNode}c=void 0}c=YA(c)}}function ZA(o,i){return o&&i?o===i?!0:o&&o.nodeType===3?!1:i&&i.nodeType===3?ZA(o,i.parentNode):"contains"in o?o.contains(i):o.compareDocumentPosition?!!(o.compareDocumentPosition(i)&16):!1:!1}function GA(){for(var o=window,i=Ie();i instanceof o.HTMLIFrameElement;){try{var c=typeof i.contentWindow.location.href=="string"}catch{c=!1}if(c)o=i.contentWindow;else break;i=Ie(o.document)}return i}function Rv(o){var i=o&&o.nodeName&&o.nodeName.toLowerCase();return i&&(i==="input"&&(o.type==="text"||o.type==="search"||o.type==="tel"||o.type==="url"||o.type==="password")||i==="textarea"||o.contentEditable==="true")}function h5(o){var i=GA(),c=o.focusedElem,d=o.selectionRange;if(i!==c&&c&&c.ownerDocument&&ZA(c.ownerDocument.documentElement,c)){if(d!==null&&Rv(c)){if(i=d.start,o=d.end,o===void 0&&(o=i),"selectionStart"in c)c.selectionStart=i,c.selectionEnd=Math.min(o,c.value.length);else if(o=(i=c.ownerDocument||document)&&i.defaultView||window,o.getSelection){o=o.getSelection();var y=c.textContent.length,b=Math.min(d.start,y);d=d.end===void 0?b:Math.min(d.end,y),!o.extend&&b>d&&(y=d,d=b,b=y),y=qA(c,b);var k=qA(c,d);y&&k&&(o.rangeCount!==1||o.anchorNode!==y.node||o.anchorOffset!==y.offset||o.focusNode!==k.node||o.focusOffset!==k.offset)&&(i=i.createRange(),i.setStart(y.node,y.offset),o.removeAllRanges(),b>d?(o.addRange(i),o.extend(k.node,k.offset)):(i.setEnd(k.node,k.offset),o.addRange(i)))}}for(i=[],o=c;o=o.parentNode;)o.nodeType===1&&i.push({element:o,left:o.scrollLeft,top:o.scrollTop});for(typeof c.focus=="function"&&c.focus(),c=0;c=document.documentMode,ja=null,Mv=null,nc=null,Lv=!1;function UA(o,i,c){var d=c.window===c?c.document:c.nodeType===9?c:c.ownerDocument;Lv||ja==null||ja!==Ie(d)||(d=ja,"selectionStart"in d&&Rv(d)?d={start:d.selectionStart,end:d.selectionEnd}:(d=(d.ownerDocument&&d.ownerDocument.defaultView||window).getSelection(),d={anchorNode:d.anchorNode,anchorOffset:d.anchorOffset,focusNode:d.focusNode,focusOffset:d.focusOffset}),nc&&tc(nc,d)||(nc=d,d=Pf(Mv,"onSelect"),0Da||(o.current=Gv[Da],Gv[Da]=null,Da--)}function rn(o,i){Da++,Gv[Da]=o.current,o.current=i}var Zs={},$n=qs(Zs),yr=qs(!1),Di=Zs;function ka(o,i){var c=o.type.contextTypes;if(!c)return Zs;var d=o.stateNode;if(d&&d.__reactInternalMemoizedUnmaskedChildContext===i)return d.__reactInternalMemoizedMaskedChildContext;var y={},b;for(b in c)y[b]=i[b];return d&&(o=o.stateNode,o.__reactInternalMemoizedUnmaskedChildContext=i,o.__reactInternalMemoizedMaskedChildContext=y),y}function gr(o){return o=o.childContextTypes,o!=null}function Hf(){an(yr),an($n)}function uP(o,i,c){if($n.current!==Zs)throw Error(n(168));rn($n,i),rn(yr,c)}function fP(o,i,c){var d=o.stateNode;if(i=i.childContextTypes,typeof d.getChildContext!="function")return c;d=d.getChildContext();for(var y in d)if(!(y in i))throw Error(n(108,ge(o)||"Unknown",y));return E({},c,d)}function jf(o){return o=(o=o.stateNode)&&o.__reactInternalMemoizedMergedChildContext||Zs,Di=$n.current,rn($n,o),rn(yr,yr.current),!0}function dP(o,i,c){var d=o.stateNode;if(!d)throw Error(n(169));c?(o=fP(o,i,Di),d.__reactInternalMemoizedMergedChildContext=o,an(yr),an($n),rn($n,o)):an(yr),rn(yr,c)}var ms=null,zf=!1,Uv=!1;function pP(o){ms===null?ms=[o]:ms.push(o)}function S5(o){zf=!0,pP(o)}function Gs(){if(!Uv&&ms!==null){Uv=!0;var o=0,i=Gt;try{var c=ms;for(Gt=1;o>=k,y-=k,ys=1<<32-go(i)+y|c<xt?(Yn=mt,mt=null):Yn=mt.sibling;var Jt=je(ie,mt,ce[xt],Xe);if(Jt===null){mt===null&&(mt=Yn);break}o&&mt&&Jt.alternate===null&&i(ie,mt),ne=b(Jt,ne,xt),ht===null?ct=Jt:ht.sibling=Jt,ht=Jt,mt=Yn}if(xt===ce.length)return c(ie,mt),un&&Ti(ie,xt),ct;if(mt===null){for(;xtxt?(Yn=mt,mt=null):Yn=mt.sibling;var ri=je(ie,mt,Jt.value,Xe);if(ri===null){mt===null&&(mt=Yn);break}o&&mt&&ri.alternate===null&&i(ie,mt),ne=b(ri,ne,xt),ht===null?ct=ri:ht.sibling=ri,ht=ri,mt=Yn}if(Jt.done)return c(ie,mt),un&&Ti(ie,xt),ct;if(mt===null){for(;!Jt.done;xt++,Jt=ce.next())Jt=ke(ie,Jt.value,Xe),Jt!==null&&(ne=b(Jt,ne,xt),ht===null?ct=Jt:ht.sibling=Jt,ht=Jt);return un&&Ti(ie,xt),ct}for(mt=d(ie,mt);!Jt.done;xt++,Jt=ce.next())Jt=qe(mt,ie,xt,Jt.value,Xe),Jt!==null&&(o&&Jt.alternate!==null&&mt.delete(Jt.key===null?xt:Jt.key),ne=b(Jt,ne,xt),ht===null?ct=Jt:ht.sibling=Jt,ht=Jt);return o&&mt.forEach(function(a3){return i(ie,a3)}),un&&Ti(ie,xt),ct}function On(ie,ne,ce,Xe){if(typeof ce=="object"&&ce!==null&&ce.type===R&&ce.key===null&&(ce=ce.props.children),typeof ce=="object"&&ce!==null){switch(ce.$$typeof){case D:e:{for(var ct=ce.key,ht=ne;ht!==null;){if(ht.key===ct){if(ct=ce.type,ct===R){if(ht.tag===7){c(ie,ht.sibling),ne=y(ht,ce.props.children),ne.return=ie,ie=ne;break e}}else if(ht.elementType===ct||typeof ct=="object"&&ct!==null&&ct.$$typeof===Q&&SP(ct)===ht.type){c(ie,ht.sibling),ne=y(ht,ce.props),ne.ref=lc(ie,ht,ce),ne.return=ie,ie=ne;break e}c(ie,ht);break}else i(ie,ht);ht=ht.sibling}ce.type===R?(ne=Vi(ce.props.children,ie.mode,Xe,ce.key),ne.return=ie,ie=ne):(Xe=ed(ce.type,ce.key,ce.props,null,ie.mode,Xe),Xe.ref=lc(ie,ne,ce),Xe.return=ie,ie=Xe)}return k(ie);case T:e:{for(ht=ce.key;ne!==null;){if(ne.key===ht)if(ne.tag===4&&ne.stateNode.containerInfo===ce.containerInfo&&ne.stateNode.implementation===ce.implementation){c(ie,ne.sibling),ne=y(ne,ce.children||[]),ne.return=ie,ie=ne;break e}else{c(ie,ne);break}else i(ie,ne);ne=ne.sibling}ne=qh(ce,ie.mode,Xe),ne.return=ie,ie=ne}return k(ie);case Q:return ht=ce._init,On(ie,ne,ht(ce._payload),Xe)}if(se(ce))return it(ie,ne,ce,Xe);if(q(ce))return lt(ie,ne,ce,Xe);Mf(ie,ce)}return typeof ce=="string"&&ce!==""||typeof ce=="number"?(ce=""+ce,ne!==null&&ne.tag===6?(c(ie,ne.sibling),ne=y(ne,ce),ne.return=ie,ie=ne):(c(ie,ne),ne=Yh(ce,ie.mode,Xe),ne.return=ie,ie=ne),k(ie)):c(ie,ne)}return On}var Xa=CP(!0),OP=CP(!1),cc={},qo=qs(cc),uc=qs(cc),fc=qs(cc);function Ri(o){if(o===cc)throw Error(n(174));return o}function ch(o,i){switch(rn(fc,i),rn(uc,o),rn(qo,cc),o=i.nodeType,o){case 9:case 11:i=(i=i.documentElement)?i.namespaceURI:ot(null,"");break;default:o=o===8?i.parentNode:i,i=o.namespaceURI||null,o=o.tagName,i=ot(i,o)}an(qo),rn(qo,i)}function Na(){an(qo),an(uc),an(fc)}function DP(o){Ri(fc.current);var i=Ri(qo.current),c=ot(i,o.type);i!==c&&(rn(uc,o),rn(qo,c))}function uh(o){uc.current===o&&(an(qo),an(uc))}var mn=qs(0);function Lf(o){for(var i=o;i!==null;){if(i.tag===13){var c=i.memoizedState;if(c!==null&&(c=c.dehydrated,c===null||c.data==="$?"||c.data==="$!"))return i}else if(i.tag===19&&i.memoizedProps.revealOrder!==void 0){if(i.flags&128)return i}else if(i.child!==null){i.child.return=i,i=i.child;continue}if(i===o)break;for(;i.sibling===null;){if(i.return===null||i.return===o)return null;i=i.return}i.sibling.return=i.return,i=i.sibling}return null}var fh=[];function dh(){for(var o=0;oc?c:4,o(!0);var d=ph.transition;ph.transition={};try{o(!1),i()}finally{Gt=c,ph.transition=d}}function GP(){return eo().memoizedState}function k5(o,i,c){var d=ei(o);if(c={lane:d,action:c,hasEagerState:!1,eagerState:null,next:null},UP(o))QP(i,c);else if(c=AP(o,i,c,d),c!==null){var y=lr();Ho(c,o,d,y),KP(c,i,d)}}function T5(o,i,c){var d=ei(o),y={lane:d,action:c,hasEagerState:!1,eagerState:null,next:null};if(UP(o))QP(i,y);else{var b=o.alternate;if(o.lanes===0&&(b===null||b.lanes===0)&&(b=i.lastRenderedReducer,b!==null))try{var k=i.lastRenderedState,V=b(k,c);if(y.hasEagerState=!0,y.eagerState=V,Ao(V,k)){var U=i.interleaved;U===null?(y.next=y,sh(i)):(y.next=U.next,U.next=y),i.interleaved=y;return}}catch{}finally{}c=AP(o,i,y,d),c!==null&&(y=lr(),Ho(c,o,d,y),KP(c,i,d))}}function UP(o){var i=o.alternate;return o===yn||i!==null&&i===yn}function QP(o,i){dc=Nf=!0;var c=o.pending;c===null?i.next=i:(i.next=c.next,c.next=i),o.pending=i}function KP(o,i,c){if(c&4194240){var d=i.lanes;d&=o.pendingLanes,c|=d,i.lanes=c,Pv(o,c)}}var If={readContext:$r,useCallback:er,useContext:er,useEffect:er,useImperativeHandle:er,useInsertionEffect:er,useLayoutEffect:er,useMemo:er,useReducer:er,useRef:er,useState:er,useDebugValue:er,useDeferredValue:er,useTransition:er,useMutableSource:er,useSyncExternalStore:er,useId:er,unstable_isNewReconciler:!1},E5={readContext:$r,useCallback:function(o,i){return Zo().memoizedState=[o,i===void 0?null:i],o},useContext:$r,useEffect:VP,useImperativeHandle:function(o,i,c){return c=c!=null?c.concat([o]):null,Bf(4194308,4,JP.bind(null,i,o),c)},useLayoutEffect:function(o,i){return Bf(4194308,4,o,i)},useInsertionEffect:function(o,i){return Bf(4,2,o,i)},useMemo:function(o,i){var c=Zo();return i=i===void 0?null:i,o=o(),c.memoizedState=[o,i],o},useReducer:function(o,i,c){var d=Zo();return i=c!==void 0?c(i):i,d.memoizedState=d.baseState=i,o={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:o,lastRenderedState:i},d.queue=o,o=o.dispatch=k5.bind(null,yn,o),[d.memoizedState,o]},useRef:function(o){var i=Zo();return o={current:o},i.memoizedState=o},useState:NP,useDebugValue:Ph,useDeferredValue:function(o){return Zo().memoizedState=o},useTransition:function(){var o=NP(!1),i=o[0];return o=D5.bind(null,o[1]),Zo().memoizedState=o,[i,o]},useMutableSource:function(){},useSyncExternalStore:function(o,i,c){var d=yn,y=Zo();if(un){if(c===void 0)throw Error(n(407));c=c()}else{if(c=i(),Fn===null)throw Error(n(349));Mi&30||EP(d,i,c)}y.memoizedState=c;var b={value:c,getSnapshot:i};return y.queue=b,VP(MP.bind(null,d,b,o),[o]),d.flags|=2048,hc(9,RP.bind(null,d,b,c,i),void 0,null),c},useId:function(){var o=Zo(),i=Fn.identifierPrefix;if(un){var c=gs,d=ys;c=(d&~(1<<32-go(d)-1)).toString(32)+c,i=":"+i+"R"+c,c=pc++,0<\/script>",o=o.removeChild(o.firstChild)):typeof d.is=="string"?o=T.createElement(c,{is:d.is}):(o=T.createElement(c),c==="select"&&(T=o,d.multiple?T.multiple=!0:d.size&&(T.size=d.size))):o=T.createElementNS(o,c),o[Yo]=i,o[ic]=d,vb(o,i,!1,!1),i.stateNode=o;e:{switch(T=ge(c,d),c){case"dialog":an("cancel",o),an("close",o),g=d;break;case"iframe":case"object":case"embed":an("load",o),g=d;break;case"video":case"audio":for(g=0;gWa&&(i.flags|=128,d=!0,mc(b,!1),i.lanes=4194304)}else{if(!d)if(o=Lf(T),o!==null){if(i.flags|=128,d=!0,c=o.updateQueue,c!==null&&(i.updateQueue=c,i.flags|=4),mc(b,!0),b.tail===null&&b.tailMode==="hidden"&&!T.alternate&&!fn)return tr(i),null}else 2*nn()-b.renderingStartTime>Wa&&c!==1073741824&&(i.flags|=128,d=!0,mc(b,!1),i.lanes=4194304);b.isBackwards?(T.sibling=i.child,i.child=T):(c=b.last,c!==null?c.sibling=T:i.child=T,b.last=T)}return b.tail!==null?(i=b.tail,b.rendering=i,b.tail=i.sibling,b.renderingStartTime=nn(),i.sibling=null,c=mn.current,rn(mn,d?c&1|2:c&1),i):(tr(i),null);case 22:case 23:return Jh(),d=i.memoizedState!==null,o!==null&&o.memoizedState!==null!==d&&(i.flags|=8192),d&&i.mode&1?Nr&1073741824&&(tr(i),i.subtreeFlags&6&&(i.flags|=8192)):tr(i),null;case 24:return null;case 25:return null}throw Error(n(156,i.tag))}function F5(o,i){switch(_v(i),i.tag){case 1:return yr(i.type)&&Hf(),o=i.flags,o&65536?(i.flags=o&-65537|128,i):null;case 3:return Na(),ln(gr),ln($n),ph(),o=i.flags,o&65536&&!(o&128)?(i.flags=o&-65537|128,i):null;case 5:return fh(i),null;case 13:if(ln(mn),o=i.memoizedState,o!==null&&o.dehydrated!==null){if(i.alternate===null)throw Error(n(340));Ra()}return o=i.flags,o&65536?(i.flags=o&-65537|128,i):null;case 19:return ln(mn),null;case 4:return Na(),null;case 10:return oh(i.type._context),null;case 22:case 23:return Jh(),null;case 24:return null;default:return null}}var Ff=!1,nr=!1,Y5=typeof WeakSet=="function"?WeakSet:Set,et=null;function Va(o,i){var c=o.ref;if(c!==null)if(typeof c=="function")try{c(null)}catch(d){wn(o,i,d)}else c.current=null}function Th(o,i,c){try{c()}catch(d){wn(o,i,d)}}var gb=!1;function q5(o,i){if(Jv=uf,o=GA(),Mv(o)){if("selectionStart"in o)var c={start:o.selectionStart,end:o.selectionEnd};else e:{c=(c=o.ownerDocument)&&c.defaultView||window;var d=c.getSelection&&c.getSelection();if(d&&d.rangeCount!==0){c=d.anchorNode;var g=d.anchorOffset,b=d.focusNode;d=d.focusOffset;try{c.nodeType,b.nodeType}catch{c=null;break e}var T=0,B=-1,Z=-1,pe=0,ze=0,De=o,je=null;t:for(;;){for(var Ye;De!==c||g!==0&&De.nodeType!==3||(B=T+g),De!==b||d!==0&&De.nodeType!==3||(Z=T+d),De.nodeType===3&&(T+=De.nodeValue.length),(Ye=De.firstChild)!==null;)je=De,De=Ye;for(;;){if(De===o)break t;if(je===c&&++pe===g&&(B=T),je===b&&++ze===d&&(Z=T),(Ye=De.nextSibling)!==null)break;De=je,je=De.parentNode}De=Ye}c=B===-1||Z===-1?null:{start:B,end:Z}}else c=null}c=c||{start:0,end:0}}else c=null;for(Fv={focusedElem:o,selectionRange:c},uf=!1,et=i;et!==null;)if(i=et,o=i.child,(i.subtreeFlags&1028)!==0&&o!==null)o.return=i,et=o;else for(;et!==null;){i=et;try{var it=i.alternate;if(i.flags&1024)switch(i.tag){case 0:case 11:case 15:break;case 1:if(it!==null){var lt=it.memoizedProps,On=it.memoizedState,se=i.stateNode,ee=se.getSnapshotBeforeUpdate(i.elementType===i.type?lt:bo(i.type,lt),On);se.__reactInternalSnapshotBeforeUpdate=ee}break;case 3:var le=i.stateNode.containerInfo;le.nodeType===1?le.textContent="":le.nodeType===9&&le.documentElement&&le.removeChild(le.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(n(163))}}catch(Xe){wn(i,i.return,Xe)}if(o=i.sibling,o!==null){o.return=i.return,et=o;break}et=i.return}return it=gb,gb=!1,it}function gc(o,i,c){var d=i.updateQueue;if(d=d!==null?d.lastEffect:null,d!==null){var g=d=d.next;do{if((g.tag&o)===o){var b=g.destroy;g.destroy=void 0,b!==void 0&&Th(i,c,b)}g=g.next}while(g!==d)}}function Yf(o,i){if(i=i.updateQueue,i=i!==null?i.lastEffect:null,i!==null){var c=i=i.next;do{if((c.tag&o)===o){var d=c.create;c.destroy=d()}c=c.next}while(c!==i)}}function kh(o){var i=o.ref;if(i!==null){var c=o.stateNode;switch(o.tag){case 5:o=c;break;default:o=c}typeof i=="function"?i(o):i.current=o}}function yb(o){var i=o.alternate;i!==null&&(o.alternate=null,yb(i)),o.child=null,o.deletions=null,o.sibling=null,o.tag===5&&(i=o.stateNode,i!==null&&(delete i[Yo],delete i[ic],delete i[Gv],delete i[C5],delete i[O5])),o.stateNode=null,o.return=null,o.dependencies=null,o.memoizedProps=null,o.memoizedState=null,o.pendingProps=null,o.stateNode=null,o.updateQueue=null}function Ab(o){return o.tag===5||o.tag===3||o.tag===4}function Pb(o){e:for(;;){for(;o.sibling===null;){if(o.return===null||Ab(o.return))return null;o=o.return}for(o.sibling.return=o.return,o=o.sibling;o.tag!==5&&o.tag!==6&&o.tag!==18;){if(o.flags&2||o.child===null||o.tag===4)continue e;o.child.return=o,o=o.child}if(!(o.flags&2))return o.stateNode}}function Eh(o,i,c){var d=o.tag;if(d===5||d===6)o=o.stateNode,i?c.nodeType===8?c.parentNode.insertBefore(o,i):c.insertBefore(o,i):(c.nodeType===8?(i=c.parentNode,i.insertBefore(o,c)):(i=c,i.appendChild(o)),c=c._reactRootContainer,c!=null||i.onclick!==null||(i.onclick=xf));else if(d!==4&&(o=o.child,o!==null))for(Eh(o,i,c),o=o.sibling;o!==null;)Eh(o,i,c),o=o.sibling}function Rh(o,i,c){var d=o.tag;if(d===5||d===6)o=o.stateNode,i?c.insertBefore(o,i):c.appendChild(o);else if(d!==4&&(o=o.child,o!==null))for(Rh(o,i,c),o=o.sibling;o!==null;)Rh(o,i,c),o=o.sibling}var Un=null,xo=!1;function Ks(o,i,c){for(c=c.child;c!==null;)bb(o,i,c),c=c.sibling}function bb(o,i,c){if(Qr&&typeof Qr.onCommitFiberUnmount=="function")try{Qr.onCommitFiberUnmount(Fo,c)}catch{}switch(c.tag){case 5:nr||Va(c,i);case 6:var d=Un,g=xo;Un=null,Ks(o,i,c),Un=d,xo=g,Un!==null&&(xo?(o=Un,c=c.stateNode,o.nodeType===8?o.parentNode.removeChild(c):o.removeChild(c)):Un.removeChild(c.stateNode));break;case 18:Un!==null&&(xo?(o=Un,c=c.stateNode,o.nodeType===8?Zv(o.parentNode,c):o.nodeType===1&&Zv(o,c),Ul(o)):Zv(Un,c.stateNode));break;case 4:d=Un,g=xo,Un=c.stateNode.containerInfo,xo=!0,Ks(o,i,c),Un=d,xo=g;break;case 0:case 11:case 14:case 15:if(!nr&&(d=c.updateQueue,d!==null&&(d=d.lastEffect,d!==null))){g=d=d.next;do{var b=g,T=b.destroy;b=b.tag,T!==void 0&&(b&2||b&4)&&Th(c,i,T),g=g.next}while(g!==d)}Ks(o,i,c);break;case 1:if(!nr&&(Va(c,i),d=c.stateNode,typeof d.componentWillUnmount=="function"))try{d.props=c.memoizedProps,d.state=c.memoizedState,d.componentWillUnmount()}catch(B){wn(c,i,B)}Ks(o,i,c);break;case 21:Ks(o,i,c);break;case 22:c.mode&1?(nr=(d=nr)||c.memoizedState!==null,Ks(o,i,c),nr=d):Ks(o,i,c);break;default:Ks(o,i,c)}}function xb(o){var i=o.updateQueue;if(i!==null){o.updateQueue=null;var c=o.stateNode;c===null&&(c=o.stateNode=new Y5),i.forEach(function(d){var g=t3.bind(null,o,d);c.has(d)||(c.add(d),d.then(g,g))})}}function wo(o,i){var c=i.deletions;if(c!==null)for(var d=0;dg&&(g=T),d&=~b}if(d=g,d=nn()-d,d=(120>d?120:480>d?480:1080>d?1080:1920>d?1920:3e3>d?3e3:4320>d?4320:1960*G5(d/1960))-d,10o?16:o,$s===null)var d=!1;else{if(o=$s,$s=null,Qf=0,Wt&6)throw Error(n(331));var g=Wt;for(Wt|=4,et=o.current;et!==null;){var b=et,T=b.child;if(et.flags&16){var B=b.deletions;if(B!==null){for(var Z=0;Znn()-Xh?Ni(o,0):Lh|=c),br(o,i)}function Mb(o,i){i===0&&(o.mode&1?(i=sf,sf<<=1,!(sf&130023424)&&(sf=4194304)):i=1);var c=lr();o=As(o,i),o!==null&&(Fl(o,i,c),br(o,c))}function e3(o){var i=o.memoizedState,c=0;i!==null&&(c=i.retryLane),Mb(o,c)}function t3(o,i){var c=0;switch(o.tag){case 13:var d=o.stateNode,g=o.memoizedState;g!==null&&(c=g.retryLane);break;case 19:d=o.stateNode;break;default:throw Error(n(314))}d!==null&&d.delete(i),Mb(o,c)}var Lb;Lb=function(o,i,c){if(o!==null)if(o.memoizedProps!==i.pendingProps||gr.current)Ar=!0;else{if(!(o.lanes&c)&&!(i.flags&128))return Ar=!1,W5(o,i,c);Ar=!!(o.flags&131072)}else Ar=!1,fn&&i.flags&1048576&&vP(i,Cf,i.index);switch(i.lanes=0,i.tag){case 2:var d=i.type;Jf(o,i),o=i.pendingProps;var g=Ta(i,$n.current);La(i,c),g=mh(null,i,d,o,g,c);var b=gh();return i.flags|=1,typeof g=="object"&&g!==null&&typeof g.render=="function"&&g.$$typeof===void 0?(i.tag=1,i.memoizedState=null,i.updateQueue=null,yr(d)?(b=!0,jf(i)):b=!1,i.memoizedState=g.state!==null&&g.state!==void 0?g.state:null,ah(i),g.updater=Rf,i.stateNode=g,g._reactInternals=i,ch(i,d,o,c),i=jh(null,i,d,!0,b,c)):(i.tag=0,fn&&b&&Kv(i),ar(null,i,g,c),i=i.child),i;case 16:d=i.elementType;e:{switch(Jf(o,i),o=i.pendingProps,g=d._init,d=g(d._payload),i.type=d,g=i.tag=r3(d),o=bo(d,o),g){case 0:i=Hh(null,i,d,o,c);break e;case 1:i=lb(null,i,d,o,c);break e;case 11:i=rb(null,i,d,o,c);break e;case 14:i=ob(null,i,d,bo(d.type,o),c);break e}throw Error(n(306,d,""))}return i;case 0:return d=i.type,g=i.pendingProps,g=i.elementType===d?g:bo(d,g),Hh(o,i,d,g,c);case 1:return d=i.type,g=i.pendingProps,g=i.elementType===d?g:bo(d,g),lb(o,i,d,g,c);case 3:e:{if(cb(i),o===null)throw Error(n(387));d=i.pendingProps,b=i.memoizedState,g=b.element,PP(o,i),Ef(i,d,null,c);var T=i.memoizedState;if(d=T.element,b.isDehydrated)if(b={element:d,isDehydrated:!1,cache:T.cache,pendingSuspenseBoundaries:T.pendingSuspenseBoundaries,transitions:T.transitions},i.updateQueue.baseState=b,i.memoizedState=b,i.flags&256){g=Ba(Error(n(423)),i),i=ub(o,i,d,c,g);break e}else if(d!==g){g=Ba(Error(n(424)),i),i=ub(o,i,d,c,g);break e}else for(Xr=Ys(i.stateNode.containerInfo.firstChild),Lr=i,fn=!0,Po=null,c=OP(i,null,d,c),i.child=c;c;)c.flags=c.flags&-3|4096,c=c.sibling;else{if(Ra(),d===g){i=bs(o,i,c);break e}ar(o,i,d,c)}i=i.child}return i;case 5:return DP(i),o===null&&eh(i),d=i.type,g=i.pendingProps,b=o!==null?o.memoizedProps:null,T=g.children,Yv(d,g)?T=null:b!==null&&Yv(d,b)&&(i.flags|=32),ab(o,i),ar(o,i,T,c),i.child;case 6:return o===null&&eh(i),null;case 13:return fb(o,i,c);case 4:return uh(i,i.stateNode.containerInfo),d=i.pendingProps,o===null?i.child=Xa(i,null,d,c):ar(o,i,d,c),i.child;case 11:return d=i.type,g=i.pendingProps,g=i.elementType===d?g:bo(d,g),rb(o,i,d,g,c);case 7:return ar(o,i,i.pendingProps,c),i.child;case 8:return ar(o,i,i.pendingProps.children,c),i.child;case 12:return ar(o,i,i.pendingProps.children,c),i.child;case 10:e:{if(d=i.type._context,g=i.pendingProps,b=i.memoizedProps,T=g.value,rn(Df,d._currentValue),d._currentValue=T,b!==null)if(Ao(b.value,T)){if(b.children===g.children&&!gr.current){i=bs(o,i,c);break e}}else for(b=i.child,b!==null&&(b.return=i);b!==null;){var B=b.dependencies;if(B!==null){T=b.child;for(var Z=B.firstContext;Z!==null;){if(Z.context===d){if(b.tag===1){Z=Ps(-1,c&-c),Z.tag=2;var pe=b.updateQueue;if(pe!==null){pe=pe.shared;var ze=pe.pending;ze===null?Z.next=Z:(Z.next=ze.next,ze.next=Z),pe.pending=Z}}b.lanes|=c,Z=b.alternate,Z!==null&&(Z.lanes|=c),sh(b.return,c,i),B.lanes|=c;break}Z=Z.next}}else if(b.tag===10)T=b.type===i.type?null:b.child;else if(b.tag===18){if(T=b.return,T===null)throw Error(n(341));T.lanes|=c,B=T.alternate,B!==null&&(B.lanes|=c),sh(T,c,i),T=b.sibling}else T=b.child;if(T!==null)T.return=b;else for(T=b;T!==null;){if(T===i){T=null;break}if(b=T.sibling,b!==null){b.return=T.return,T=b;break}T=T.return}b=T}ar(o,i,g.children,c),i=i.child}return i;case 9:return g=i.type,d=i.pendingProps.children,La(i,c),g=$r(g),d=d(g),i.flags|=1,ar(o,i,d,c),i.child;case 14:return d=i.type,g=bo(d,i.pendingProps),g=bo(d.type,g),ob(o,i,d,g,c);case 15:return sb(o,i,i.type,i.pendingProps,c);case 17:return d=i.type,g=i.pendingProps,g=i.elementType===d?g:bo(d,g),Jf(o,i),i.tag=1,yr(d)?(o=!0,jf(i)):o=!1,La(i,c),jP(i,d,g),ch(i,d,g,c),jh(null,i,d,!0,o,c);case 19:return pb(o,i,c);case 22:return ib(o,i,c)}throw Error(n(156,i.tag))};function Xb(o,i){return It(o,i)}function n3(o,i,c,d){this.tag=o,this.key=c,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=i,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=d,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function no(o,i,c,d){return new n3(o,i,c,d)}function Yh(o){return o=o.prototype,!(!o||!o.isReactComponent)}function r3(o){if(typeof o=="function")return Yh(o)?1:0;if(o!=null){if(o=o.$$typeof,o===W)return 11;if(o===J)return 14}return 2}function ni(o,i){var c=o.alternate;return c===null?(c=no(o.tag,i,o.key,o.mode),c.elementType=o.elementType,c.type=o.type,c.stateNode=o.stateNode,c.alternate=o,o.alternate=c):(c.pendingProps=i,c.type=o.type,c.flags=0,c.subtreeFlags=0,c.deletions=null),c.flags=o.flags&14680064,c.childLanes=o.childLanes,c.lanes=o.lanes,c.child=o.child,c.memoizedProps=o.memoizedProps,c.memoizedState=o.memoizedState,c.updateQueue=o.updateQueue,i=o.dependencies,c.dependencies=i===null?null:{lanes:i.lanes,firstContext:i.firstContext},c.sibling=o.sibling,c.index=o.index,c.ref=o.ref,c}function ed(o,i,c,d,g,b){var T=2;if(d=o,typeof o=="function")Yh(o)&&(T=1);else if(typeof o=="string")T=5;else e:switch(o){case E:return Vi(c.children,g,b,i);case M:T=8,g|=8;break;case L:return o=no(12,c,i,g|2),o.elementType=L,o.lanes=b,o;case I:return o=no(13,c,i,g),o.elementType=I,o.lanes=b,o;case te:return o=no(19,c,i,g),o.elementType=te,o.lanes=b,o;case $:return td(c,g,b,i);default:if(typeof o=="object"&&o!==null)switch(o.$$typeof){case j:T=10;break e;case N:T=9;break e;case W:T=11;break e;case J:T=14;break e;case _:T=16,d=null;break e}throw Error(n(130,o==null?o:typeof o,""))}return i=no(T,c,i,g),i.elementType=o,i.type=d,i.lanes=b,i}function Vi(o,i,c,d){return o=no(7,o,d,i),o.lanes=c,o}function td(o,i,c,d){return o=no(22,o,d,i),o.elementType=$,o.lanes=c,o.stateNode={isHidden:!1},o}function qh(o,i,c){return o=no(6,o,null,i),o.lanes=c,o}function Zh(o,i,c){return i=no(4,o.children!==null?o.children:[],o.key,i),i.lanes=c,i.stateNode={containerInfo:o.containerInfo,pendingChildren:null,implementation:o.implementation},i}function o3(o,i,c,d,g){this.tag=i,this.containerInfo=o,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Pv(0),this.expirationTimes=Pv(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Pv(0),this.identifierPrefix=d,this.onRecoverableError=g,this.mutableSourceEagerHydrationData=null}function Gh(o,i,c,d,g,b,T,B,Z){return o=new o3(o,i,c,B,Z),i===1?(i=1,b===!0&&(i|=8)):i=0,b=no(3,null,null,i),o.current=b,b.stateNode=o,b.memoizedState={element:d,isDehydrated:c,cache:null,transitions:null,pendingSuspenseBoundaries:null},ah(b),o}function s3(o,i,c){var d=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return e(),cm.exports=nz(),cm.exports}var a1=i1();const qc=Ap(a1),R8={disabled:!1},np=$e.createContext(null);var rz=function(t){return t.scrollTop},Zc="unmounted",Fi="exited",Yi="entering",el="entered",Gm="exiting",No=function(e){s1(t,e);function t(r,s){var a;a=e.call(this,r,s)||this;var l=s,u=l&&!l.isMounting?r.enter:r.appear,f;return a.appearStatus=null,r.in?u?(f=Fi,a.appearStatus=Yi):f=el:r.unmountOnExit||r.mountOnEnter?f=Zc:f=Fi,a.state={status:f},a.nextCallback=null,a}t.getDerivedStateFromProps=function(s,a){var l=s.in;return l&&a.status===Zc?{status:Fi}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(s){var a=null;if(s!==this.props){var l=this.state.status;this.props.in?l!==Yi&&l!==el&&(a=Yi):(l===Yi||l===el)&&(a=Gm)}this.updateStatus(!1,a)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var s=this.props.timeout,a,l,u;return a=l=u=s,s!=null&&typeof s!="number"&&(a=s.exit,l=s.enter,u=s.appear!==void 0?s.appear:l),{exit:a,enter:l,appear:u}},n.updateStatus=function(s,a){if(s===void 0&&(s=!1),a!==null)if(this.cancelNextCallback(),a===Yi){if(this.props.unmountOnExit||this.props.mountOnEnter){var l=this.props.nodeRef?this.props.nodeRef.current:qc.findDOMNode(this);l&&rz(l)}this.performEnter(s)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Fi&&this.setState({status:Zc})},n.performEnter=function(s){var a=this,l=this.props.enter,u=this.context?this.context.isMounting:s,f=this.props.nodeRef?[u]:[qc.findDOMNode(this),u],p=f[0],h=f[1],m=this.getTimeouts(),x=u?m.appear:m.enter;if(!s&&!l||R8.disabled){this.safeSetState({status:el},function(){a.props.onEntered(p)});return}this.props.onEnter(p,h),this.safeSetState({status:Yi},function(){a.props.onEntering(p,h),a.onTransitionEnd(x,function(){a.safeSetState({status:el},function(){a.props.onEntered(p,h)})})})},n.performExit=function(){var s=this,a=this.props.exit,l=this.getTimeouts(),u=this.props.nodeRef?void 0:qc.findDOMNode(this);if(!a||R8.disabled){this.safeSetState({status:Fi},function(){s.props.onExited(u)});return}this.props.onExit(u),this.safeSetState({status:Gm},function(){s.props.onExiting(u),s.onTransitionEnd(l.exit,function(){s.safeSetState({status:Fi},function(){s.props.onExited(u)})})})},n.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(s,a){a=this.setNextCallback(a),this.setState(s,a)},n.setNextCallback=function(s){var a=this,l=!0;return this.nextCallback=function(u){l&&(l=!1,a.nextCallback=null,s(u))},this.nextCallback.cancel=function(){l=!1},this.nextCallback},n.onTransitionEnd=function(s,a){this.setNextCallback(a);var l=this.props.nodeRef?this.props.nodeRef.current:qc.findDOMNode(this),u=s==null&&!this.props.addEndListener;if(!l||u){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var f=this.props.nodeRef?[this.nextCallback]:[l,this.nextCallback],p=f[0],h=f[1];this.props.addEndListener(p,h)}s!=null&&setTimeout(this.nextCallback,s)},n.render=function(){var s=this.state.status;if(s===Zc)return null;var a=this.props,l=a.children;a.in,a.mountOnEnter,a.unmountOnExit,a.appear,a.enter,a.exit,a.timeout,a.addEndListener,a.onEnter,a.onEntering,a.onEntered,a.onExit,a.onExiting,a.onExited,a.nodeRef;var u=o1(a,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return $e.createElement(np.Provider,{value:null},typeof l=="function"?l(s,u):$e.cloneElement($e.Children.only(l),u))},t}($e.Component);No.contextType=np;No.propTypes={};function Ua(){}No.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Ua,onEntering:Ua,onEntered:Ua,onExit:Ua,onExiting:Ua,onExited:Ua};No.UNMOUNTED=Zc;No.EXITED=Fi;No.ENTERING=Yi;No.ENTERED=el;No.EXITING=Gm;function oz(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cy(e,t){var n=function(a){return t&&y.isValidElement(a)?t(a):a},r=Object.create(null);return e&&y.Children.map(e,function(s){return s}).forEach(function(s){r[s.key]=n(s)}),r}function sz(e,t){e=e||{},t=t||{};function n(h){return h in t?t[h]:e[h]}var r=Object.create(null),s=[];for(var a in e)a in t?s.length&&(r[a]=s,s=[]):s.push(a);var l,u={};for(var f in t){if(r[f])for(l=0;le.scrollTop;function zl(e,t){const{timeout:n,easing:r,style:s={}}=e;return{duration:s.transitionDuration??(typeof n=="number"?n:n[t.mode]||0),easing:s.transitionTimingFunction??(typeof r=="object"?r[t.mode]:r),delay:s.transitionDelay}}function uz(e){return Ue("MuiPaper",e)}Qe("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 fz=e=>{const{square:t,elevation:n,variant:r,classes:s}=e,a={root:["root",r,!t&&"rounded",r==="elevation"&&`elevation${n}`]};return Ke(a,uz,s)},dz=ve("div",{name:"MuiPaper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],!n.square&&t.rounded,n.variant==="elevation"&&t[`elevation${n.elevation}`]]}})(tt(({theme:e})=>({backgroundColor:(e.vars||e).palette.background.paper,color:(e.vars||e).palette.text.primary,transition:e.transitions.create("box-shadow"),variants:[{props:({ownerState:t})=>!t.square,style:{borderRadius:e.shape.borderRadius}},{props:{variant:"outlined"},style:{border:`1px solid ${(e.vars||e).palette.divider}`}},{props:{variant:"elevation"},style:{boxShadow:"var(--Paper-shadow)",backgroundImage:"var(--Paper-overlay)"}}]}))),qr=y.forwardRef(function(t,n){var w;const r=nt({props:t,name:"MuiPaper"}),s=Gr(),{className:a,component:l="div",elevation:u=1,square:f=!1,variant:p="elevation",...h}=r,m={...r,component:l,elevation:u,square:f,variant:p},x=fz(m);return v.jsx(dz,{as:l,ownerState:m,className:Oe(x.root,a),ref:n,...h,style:{...p==="elevation"&&{"--Paper-shadow":(s.vars||s).shadows[u],...s.vars&&{"--Paper-overlay":(w=s.vars.overlays)==null?void 0:w[u]},...!s.vars&&s.palette.mode==="dark"&&{"--Paper-overlay":`linear-gradient(${Pt("#fff",qm(u))}, ${Pt("#fff",qm(u))})`}},...h.style}})});function Tt(e,t){const{className:n,elementType:r,ownerState:s,externalForwardedProps:a,internalForwardedProps:l,shouldForwardComponentProp:u=!1,...f}=t,{component:p,slots:h={[e]:void 0},slotProps:m={[e]:void 0},...x}=a,w=h[e]||r,A=Y0(m[e],s),{props:{component:P,...H},internalRef:S}=F0({className:n,...f,externalForwardedProps:e==="root"?x:void 0,externalSlotProps:A}),C=sn(S,A==null?void 0:A.ref,t.ref),z=e==="root"?P||p:P,O=J0(w,{...e==="root"&&!p&&!h[e]&&l,...e!=="root"&&!h[e]&&l,...H,...z&&!u&&{as:z},...z&&u&&{component:z},ref:C},s);return[w,O]}class rp{constructor(){xc(this,"mountEffect",()=>{this.shouldMount&&!this.didMount&&this.ref.current!==null&&(this.didMount=!0,this.mounted.resolve())});this.ref={current:null},this.mounted=null,this.didMount=!1,this.shouldMount=!1,this.setShouldMount=null}static create(){return new rp}static use(){const t=I0(rp.create).current,[n,r]=y.useState(!1);return t.shouldMount=n,t.setShouldMount=r,y.useEffect(t.mountEffect,[n]),t}mount(){return this.mounted||(this.mounted=vz(),this.shouldMount=!0,this.setShouldMount(this.shouldMount)),this.mounted}start(...t){this.mount().then(()=>{var n;return(n=this.ref.current)==null?void 0:n.start(...t)})}stop(...t){this.mount().then(()=>{var n;return(n=this.ref.current)==null?void 0:n.stop(...t)})}pulsate(...t){this.mount().then(()=>{var n;return(n=this.ref.current)==null?void 0:n.pulsate(...t)})}}function pz(){return rp.use()}function vz(){let e,t;const n=new Promise((r,s)=>{e=r,t=s});return n.resolve=e,n.reject=t,n}function hz(e){const{className:t,classes:n,pulsate:r=!1,rippleX:s,rippleY:a,rippleSize:l,in:u,onExited:f,timeout:p}=e,[h,m]=y.useState(!1),x=Oe(t,n.ripple,n.rippleVisible,r&&n.ripplePulsate),w={width:l,height:l,top:-(l/2)+a,left:-(l/2)+s},A=Oe(n.child,h&&n.childLeaving,r&&n.childPulsate);return!u&&!h&&m(!0),y.useEffect(()=>{if(!u&&f!=null){const P=setTimeout(f,p);return()=>{clearTimeout(P)}}},[f,u,p]),v.jsx("span",{className:x,style:w,children:v.jsx("span",{className:A})})}const io=Qe("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),Um=550,mz=80,gz=Mu` +`+b.stack}return{value:o,source:i,stack:y,digest:null}}function bh(o,i,c){return{value:o,source:null,stack:c??null,digest:i??null}}function xh(o,i){try{console.error(i.value)}catch(c){setTimeout(function(){throw c})}}var L5=typeof WeakMap=="function"?WeakMap:Map;function _P(o,i,c){c=Ps(-1,c),c.tag=3,c.payload={element:null};var d=i.value;return c.callback=function(){Gf||(Gf=!0,Xh=d),xh(o,i)},c}function $P(o,i,c){c=Ps(-1,c),c.tag=3;var d=o.type.getDerivedStateFromError;if(typeof d=="function"){var y=i.value;c.payload=function(){return d(y)},c.callback=function(){xh(o,i)}}var b=o.stateNode;return b!==null&&typeof b.componentDidCatch=="function"&&(c.callback=function(){xh(o,i),typeof d!="function"&&(_s===null?_s=new Set([this]):_s.add(this));var k=i.stack;this.componentDidCatch(i.value,{componentStack:k!==null?k:""})}),c}function eb(o,i,c){var d=o.pingCache;if(d===null){d=o.pingCache=new L5;var y=new Set;d.set(i,y)}else y=d.get(i),y===void 0&&(y=new Set,d.set(i,y));y.has(c)||(y.add(c),o=Q5.bind(null,o,i,c),i.then(o,o))}function tb(o){do{var i;if((i=o.tag===13)&&(i=o.memoizedState,i=i!==null?i.dehydrated!==null:!0),i)return o;o=o.return}while(o!==null);return null}function nb(o,i,c,d,y){return o.mode&1?(o.flags|=65536,o.lanes=y,o):(o===i?o.flags|=65536:(o.flags|=128,c.flags|=131072,c.flags&=-52805,c.tag===1&&(c.alternate===null?c.tag=17:(i=Ps(-1,1),i.tag=2,Qs(c,i,1))),c.lanes|=1),o)}var X5=O.ReactCurrentOwner,Ar=!1;function ar(o,i,c,d){i.child=o===null?OP(i,null,c,d):Xa(i,o.child,c,d)}function rb(o,i,c,d,y){c=c.render;var b=i.ref;return La(i,y),d=hh(o,i,c,d,b,y),c=mh(),o!==null&&!Ar?(i.updateQueue=o.updateQueue,i.flags&=-2053,o.lanes&=~y,bs(o,i,y)):(un&&c&&Qv(i),i.flags|=1,ar(o,i,d,y),i.child)}function ob(o,i,c,d,y){if(o===null){var b=c.type;return typeof b=="function"&&!Fh(b)&&b.defaultProps===void 0&&c.compare===null&&c.defaultProps===void 0?(i.tag=15,i.type=b,sb(o,i,b,d,y)):(o=ed(c.type,null,d,i,i.mode,y),o.ref=i.ref,o.return=i,i.child=o)}if(b=o.child,!(o.lanes&y)){var k=b.memoizedProps;if(c=c.compare,c=c!==null?c:tc,c(k,d)&&o.ref===i.ref)return bs(o,i,y)}return i.flags|=1,o=ni(b,d),o.ref=i.ref,o.return=i,i.child=o}function sb(o,i,c,d,y){if(o!==null){var b=o.memoizedProps;if(tc(b,d)&&o.ref===i.ref)if(Ar=!1,i.pendingProps=d=b,(o.lanes&y)!==0)o.flags&131072&&(Ar=!0);else return i.lanes=o.lanes,bs(o,i,y)}return wh(o,i,c,d,y)}function ib(o,i,c){var d=i.pendingProps,y=d.children,b=o!==null?o.memoizedState:null;if(d.mode==="hidden")if(!(i.mode&1))i.memoizedState={baseLanes:0,cachePool:null,transitions:null},rn(Ia,Nr),Nr|=c;else{if(!(c&1073741824))return o=b!==null?b.baseLanes|c:c,i.lanes=i.childLanes=1073741824,i.memoizedState={baseLanes:o,cachePool:null,transitions:null},i.updateQueue=null,rn(Ia,Nr),Nr|=o,null;i.memoizedState={baseLanes:0,cachePool:null,transitions:null},d=b!==null?b.baseLanes:c,rn(Ia,Nr),Nr|=d}else b!==null?(d=b.baseLanes|c,i.memoizedState=null):d=c,rn(Ia,Nr),Nr|=d;return ar(o,i,y,c),i.child}function ab(o,i){var c=i.ref;(o===null&&c!==null||o!==null&&o.ref!==c)&&(i.flags|=512,i.flags|=2097152)}function wh(o,i,c,d,y){var b=gr(c)?Di:$n.current;return b=ka(i,b),La(i,y),c=hh(o,i,c,d,b,y),d=mh(),o!==null&&!Ar?(i.updateQueue=o.updateQueue,i.flags&=-2053,o.lanes&=~y,bs(o,i,y)):(un&&d&&Qv(i),i.flags|=1,ar(o,i,c,y),i.child)}function lb(o,i,c,d,y){if(gr(c)){var b=!0;jf(i)}else b=!1;if(La(i,y),i.stateNode===null)Jf(o,i),jP(i,c,d),lh(i,c,d,y),d=!0;else if(o===null){var k=i.stateNode,V=i.memoizedProps;k.props=V;var U=k.context,pe=c.contextType;typeof pe=="object"&&pe!==null?pe=$r(pe):(pe=gr(c)?Di:$n.current,pe=ka(i,pe));var Se=c.getDerivedStateFromProps,ke=typeof Se=="function"||typeof k.getSnapshotBeforeUpdate=="function";ke||typeof k.UNSAFE_componentWillReceiveProps!="function"&&typeof k.componentWillReceiveProps!="function"||(V!==d||U!==pe)&&zP(i,k,d,pe),Us=!1;var je=i.memoizedState;k.state=je,Ef(i,d,k,y),U=i.memoizedState,V!==d||je!==U||yr.current||Us?(typeof Se=="function"&&(ah(i,c,Se,d),U=i.memoizedState),(V=Us||HP(i,c,V,d,je,U,pe))?(ke||typeof k.UNSAFE_componentWillMount!="function"&&typeof k.componentWillMount!="function"||(typeof k.componentWillMount=="function"&&k.componentWillMount(),typeof k.UNSAFE_componentWillMount=="function"&&k.UNSAFE_componentWillMount()),typeof k.componentDidMount=="function"&&(i.flags|=4194308)):(typeof k.componentDidMount=="function"&&(i.flags|=4194308),i.memoizedProps=d,i.memoizedState=U),k.props=d,k.state=U,k.context=pe,d=V):(typeof k.componentDidMount=="function"&&(i.flags|=4194308),d=!1)}else{k=i.stateNode,PP(o,i),V=i.memoizedProps,pe=i.type===i.elementType?V:bo(i.type,V),k.props=pe,ke=i.pendingProps,je=k.context,U=c.contextType,typeof U=="object"&&U!==null?U=$r(U):(U=gr(c)?Di:$n.current,U=ka(i,U));var qe=c.getDerivedStateFromProps;(Se=typeof qe=="function"||typeof k.getSnapshotBeforeUpdate=="function")||typeof k.UNSAFE_componentWillReceiveProps!="function"&&typeof k.componentWillReceiveProps!="function"||(V!==ke||je!==U)&&zP(i,k,d,U),Us=!1,je=i.memoizedState,k.state=je,Ef(i,d,k,y);var it=i.memoizedState;V!==ke||je!==it||yr.current||Us?(typeof qe=="function"&&(ah(i,c,qe,d),it=i.memoizedState),(pe=Us||HP(i,c,pe,d,je,it,U)||!1)?(Se||typeof k.UNSAFE_componentWillUpdate!="function"&&typeof k.componentWillUpdate!="function"||(typeof k.componentWillUpdate=="function"&&k.componentWillUpdate(d,it,U),typeof k.UNSAFE_componentWillUpdate=="function"&&k.UNSAFE_componentWillUpdate(d,it,U)),typeof k.componentDidUpdate=="function"&&(i.flags|=4),typeof k.getSnapshotBeforeUpdate=="function"&&(i.flags|=1024)):(typeof k.componentDidUpdate!="function"||V===o.memoizedProps&&je===o.memoizedState||(i.flags|=4),typeof k.getSnapshotBeforeUpdate!="function"||V===o.memoizedProps&&je===o.memoizedState||(i.flags|=1024),i.memoizedProps=d,i.memoizedState=it),k.props=d,k.state=it,k.context=U,d=pe):(typeof k.componentDidUpdate!="function"||V===o.memoizedProps&&je===o.memoizedState||(i.flags|=4),typeof k.getSnapshotBeforeUpdate!="function"||V===o.memoizedProps&&je===o.memoizedState||(i.flags|=1024),d=!1)}return Hh(o,i,c,d,b,y)}function Hh(o,i,c,d,y,b){ab(o,i);var k=(i.flags&128)!==0;if(!d&&!k)return y&&dP(i,c,!1),bs(o,i,b);d=i.stateNode,X5.current=i;var V=k&&typeof c.getDerivedStateFromError!="function"?null:d.render();return i.flags|=1,o!==null&&k?(i.child=Xa(i,o.child,null,b),i.child=Xa(i,null,V,b)):ar(o,i,V,b),i.memoizedState=d.state,y&&dP(i,c,!0),i.child}function cb(o){var i=o.stateNode;i.pendingContext?uP(o,i.pendingContext,i.pendingContext!==i.context):i.context&&uP(o,i.context,!1),ch(o,i.containerInfo)}function ub(o,i,c,d,y){return Ra(),eh(y),i.flags|=256,ar(o,i,c,d),i.child}var jh={dehydrated:null,treeContext:null,retryLane:0};function zh(o){return{baseLanes:o,cachePool:null,transitions:null}}function fb(o,i,c){var d=i.pendingProps,y=mn.current,b=!1,k=(i.flags&128)!==0,V;if((V=k)||(V=o!==null&&o.memoizedState===null?!1:(y&2)!==0),V?(b=!0,i.flags&=-129):(o===null||o.memoizedState!==null)&&(y|=1),rn(mn,y&1),o===null)return $v(i),o=i.memoizedState,o!==null&&(o=o.dehydrated,o!==null)?(i.mode&1?o.data==="$!"?i.lanes=8:i.lanes=1073741824:i.lanes=1,null):(k=d.children,o=d.fallback,b?(d=i.mode,b=i.child,k={mode:"hidden",children:k},!(d&1)&&b!==null?(b.childLanes=0,b.pendingProps=k):b=td(k,d,0,null),o=Vi(o,d,c,null),b.return=i,o.return=i,b.sibling=o,i.child=b,i.child.memoizedState=zh(c),i.memoizedState=jh,o):Sh(i,k));if(y=o.memoizedState,y!==null&&(V=y.dehydrated,V!==null))return N5(o,i,k,d,V,y,c);if(b){b=d.fallback,k=i.mode,y=o.child,V=y.sibling;var U={mode:"hidden",children:d.children};return!(k&1)&&i.child!==y?(d=i.child,d.childLanes=0,d.pendingProps=U,i.deletions=null):(d=ni(y,U),d.subtreeFlags=y.subtreeFlags&14680064),V!==null?b=ni(V,b):(b=Vi(b,k,c,null),b.flags|=2),b.return=i,d.return=i,d.sibling=b,i.child=d,d=b,b=i.child,k=o.child.memoizedState,k=k===null?zh(c):{baseLanes:k.baseLanes|c,cachePool:null,transitions:k.transitions},b.memoizedState=k,b.childLanes=o.childLanes&~c,i.memoizedState=jh,d}return b=o.child,o=b.sibling,d=ni(b,{mode:"visible",children:d.children}),!(i.mode&1)&&(d.lanes=c),d.return=i,d.sibling=null,o!==null&&(c=i.deletions,c===null?(i.deletions=[o],i.flags|=16):c.push(o)),i.child=d,i.memoizedState=null,d}function Sh(o,i){return i=td({mode:"visible",children:i},o.mode,0,null),i.return=o,o.child=i}function Wf(o,i,c,d){return d!==null&&eh(d),Xa(i,o.child,null,c),o=Sh(i,i.pendingProps.children),o.flags|=2,i.memoizedState=null,o}function N5(o,i,c,d,y,b,k){if(c)return i.flags&256?(i.flags&=-257,d=bh(Error(n(422))),Wf(o,i,k,d)):i.memoizedState!==null?(i.child=o.child,i.flags|=128,null):(b=d.fallback,y=i.mode,d=td({mode:"visible",children:d.children},y,0,null),b=Vi(b,y,k,null),b.flags|=2,d.return=i,b.return=i,d.sibling=b,i.child=d,i.mode&1&&Xa(i,o.child,null,k),i.child.memoizedState=zh(k),i.memoizedState=jh,b);if(!(i.mode&1))return Wf(o,i,k,null);if(y.data==="$!"){if(d=y.nextSibling&&y.nextSibling.dataset,d)var V=d.dgst;return d=V,b=Error(n(419)),d=bh(b,d,void 0),Wf(o,i,k,d)}if(V=(k&o.childLanes)!==0,Ar||V){if(d=Fn,d!==null){switch(k&-k){case 4:y=2;break;case 16:y=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:y=32;break;case 536870912:y=268435456;break;default:y=0}y=y&(d.suspendedLanes|k)?0:y,y!==0&&y!==b.retryLane&&(b.retryLane=y,As(o,y),Ho(d,o,y,-1))}return Jh(),d=bh(Error(n(421))),Wf(o,i,k,d)}return y.data==="$?"?(i.flags|=128,i.child=o.child,i=K5.bind(null,o),y._reactRetry=i,null):(o=b.treeContext,Xr=Ys(y.nextSibling),Lr=i,un=!0,Po=null,o!==null&&(Kr[_r++]=ys,Kr[_r++]=gs,Kr[_r++]=ki,ys=o.id,gs=o.overflow,ki=i),i=Sh(i,d.children),i.flags|=4096,i)}function db(o,i,c){o.lanes|=i;var d=o.alternate;d!==null&&(d.lanes|=i),oh(o.return,i,c)}function Ch(o,i,c,d,y){var b=o.memoizedState;b===null?o.memoizedState={isBackwards:i,rendering:null,renderingStartTime:0,last:d,tail:c,tailMode:y}:(b.isBackwards=i,b.rendering=null,b.renderingStartTime=0,b.last=d,b.tail=c,b.tailMode=y)}function pb(o,i,c){var d=i.pendingProps,y=d.revealOrder,b=d.tail;if(ar(o,i,d.children,c),d=mn.current,d&2)d=d&1|2,i.flags|=128;else{if(o!==null&&o.flags&128)e:for(o=i.child;o!==null;){if(o.tag===13)o.memoizedState!==null&&db(o,c,i);else if(o.tag===19)db(o,c,i);else if(o.child!==null){o.child.return=o,o=o.child;continue}if(o===i)break e;for(;o.sibling===null;){if(o.return===null||o.return===i)break e;o=o.return}o.sibling.return=o.return,o=o.sibling}d&=1}if(rn(mn,d),!(i.mode&1))i.memoizedState=null;else switch(y){case"forwards":for(c=i.child,y=null;c!==null;)o=c.alternate,o!==null&&Lf(o)===null&&(y=c),c=c.sibling;c=y,c===null?(y=i.child,i.child=null):(y=c.sibling,c.sibling=null),Ch(i,!1,y,c,b);break;case"backwards":for(c=null,y=i.child,i.child=null;y!==null;){if(o=y.alternate,o!==null&&Lf(o)===null){i.child=y;break}o=y.sibling,y.sibling=c,c=y,y=o}Ch(i,!0,c,null,b);break;case"together":Ch(i,!1,null,null,void 0);break;default:i.memoizedState=null}return i.child}function Jf(o,i){!(i.mode&1)&&o!==null&&(o.alternate=null,i.alternate=null,i.flags|=2)}function bs(o,i,c){if(o!==null&&(i.dependencies=o.dependencies),Li|=i.lanes,!(c&i.childLanes))return null;if(o!==null&&i.child!==o.child)throw Error(n(153));if(i.child!==null){for(o=i.child,c=ni(o,o.pendingProps),i.child=c,c.return=i;o.sibling!==null;)o=o.sibling,c=c.sibling=ni(o,o.pendingProps),c.return=i;c.sibling=null}return i.child}function B5(o,i,c){switch(i.tag){case 3:cb(i),Ra();break;case 5:DP(i);break;case 1:gr(i.type)&&jf(i);break;case 4:ch(i,i.stateNode.containerInfo);break;case 10:var d=i.type._context,y=i.memoizedProps.value;rn(Df,d._currentValue),d._currentValue=y;break;case 13:if(d=i.memoizedState,d!==null)return d.dehydrated!==null?(rn(mn,mn.current&1),i.flags|=128,null):c&i.child.childLanes?fb(o,i,c):(rn(mn,mn.current&1),o=bs(o,i,c),o!==null?o.sibling:null);rn(mn,mn.current&1);break;case 19:if(d=(c&i.childLanes)!==0,o.flags&128){if(d)return pb(o,i,c);i.flags|=128}if(y=i.memoizedState,y!==null&&(y.rendering=null,y.tail=null,y.lastEffect=null),rn(mn,mn.current),d)break;return null;case 22:case 23:return i.lanes=0,ib(o,i,c)}return bs(o,i,c)}var vb,Oh,hb,mb;vb=function(o,i){for(var c=i.child;c!==null;){if(c.tag===5||c.tag===6)o.appendChild(c.stateNode);else if(c.tag!==4&&c.child!==null){c.child.return=c,c=c.child;continue}if(c===i)break;for(;c.sibling===null;){if(c.return===null||c.return===i)return;c=c.return}c.sibling.return=c.return,c=c.sibling}},Oh=function(){},hb=function(o,i,c,d){var y=o.memoizedProps;if(y!==d){o=i.stateNode,Ri(qo.current);var b=null;switch(c){case"input":y=be(o,y),d=be(o,d),b=[];break;case"select":y=E({},y,{value:void 0}),d=E({},d,{value:void 0}),b=[];break;case"textarea":y=ue(o,y),d=ue(o,d),b=[];break;default:typeof y.onClick!="function"&&typeof d.onClick=="function"&&(o.onclick=xf)}F(c,d);var k;c=null;for(pe in y)if(!d.hasOwnProperty(pe)&&y.hasOwnProperty(pe)&&y[pe]!=null)if(pe==="style"){var V=y[pe];for(k in V)V.hasOwnProperty(k)&&(c||(c={}),c[k]="")}else pe!=="dangerouslySetInnerHTML"&&pe!=="children"&&pe!=="suppressContentEditableWarning"&&pe!=="suppressHydrationWarning"&&pe!=="autoFocus"&&(s.hasOwnProperty(pe)?b||(b=[]):(b=b||[]).push(pe,null));for(pe in d){var U=d[pe];if(V=y!=null?y[pe]:void 0,d.hasOwnProperty(pe)&&U!==V&&(U!=null||V!=null))if(pe==="style")if(V){for(k in V)!V.hasOwnProperty(k)||U&&U.hasOwnProperty(k)||(c||(c={}),c[k]="");for(k in U)U.hasOwnProperty(k)&&V[k]!==U[k]&&(c||(c={}),c[k]=U[k])}else c||(b||(b=[]),b.push(pe,c)),c=U;else pe==="dangerouslySetInnerHTML"?(U=U?U.__html:void 0,V=V?V.__html:void 0,U!=null&&V!==U&&(b=b||[]).push(pe,U)):pe==="children"?typeof U!="string"&&typeof U!="number"||(b=b||[]).push(pe,""+U):pe!=="suppressContentEditableWarning"&&pe!=="suppressHydrationWarning"&&(s.hasOwnProperty(pe)?(U!=null&&pe==="onScroll"&&sn("scroll",o),b||V===U||(b=[])):(b=b||[]).push(pe,U))}c&&(b=b||[]).push("style",c);var pe=b;(i.updateQueue=pe)&&(i.flags|=4)}},mb=function(o,i,c,d){c!==d&&(i.flags|=4)};function mc(o,i){if(!un)switch(o.tailMode){case"hidden":i=o.tail;for(var c=null;i!==null;)i.alternate!==null&&(c=i),i=i.sibling;c===null?o.tail=null:c.sibling=null;break;case"collapsed":c=o.tail;for(var d=null;c!==null;)c.alternate!==null&&(d=c),c=c.sibling;d===null?i||o.tail===null?o.tail=null:o.tail.sibling=null:d.sibling=null}}function tr(o){var i=o.alternate!==null&&o.alternate.child===o.child,c=0,d=0;if(i)for(var y=o.child;y!==null;)c|=y.lanes|y.childLanes,d|=y.subtreeFlags&14680064,d|=y.flags&14680064,y.return=o,y=y.sibling;else for(y=o.child;y!==null;)c|=y.lanes|y.childLanes,d|=y.subtreeFlags,d|=y.flags,y.return=o,y=y.sibling;return o.subtreeFlags|=d,o.childLanes=c,i}function V5(o,i,c){var d=i.pendingProps;switch(Kv(i),i.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return tr(i),null;case 1:return gr(i.type)&&Hf(),tr(i),null;case 3:return d=i.stateNode,Na(),an(yr),an($n),dh(),d.pendingContext&&(d.context=d.pendingContext,d.pendingContext=null),(o===null||o.child===null)&&(Of(i)?i.flags|=4:o===null||o.memoizedState.isDehydrated&&!(i.flags&256)||(i.flags|=1024,Po!==null&&(Vh(Po),Po=null))),Oh(o,i),tr(i),null;case 5:uh(i);var y=Ri(fc.current);if(c=i.type,o!==null&&i.stateNode!=null)hb(o,i,c,d,y),o.ref!==i.ref&&(i.flags|=512,i.flags|=2097152);else{if(!d){if(i.stateNode===null)throw Error(n(166));return tr(i),null}if(o=Ri(qo.current),Of(i)){d=i.stateNode,c=i.type;var b=i.memoizedProps;switch(d[Yo]=i,d[ic]=b,o=(i.mode&1)!==0,c){case"dialog":sn("cancel",d),sn("close",d);break;case"iframe":case"object":case"embed":sn("load",d);break;case"video":case"audio":for(y=0;y<\/script>",o=o.removeChild(o.firstChild)):typeof d.is=="string"?o=k.createElement(c,{is:d.is}):(o=k.createElement(c),c==="select"&&(k=o,d.multiple?k.multiple=!0:d.size&&(k.size=d.size))):o=k.createElementNS(o,c),o[Yo]=i,o[ic]=d,vb(o,i,!1,!1),i.stateNode=o;e:{switch(k=Ae(c,d),c){case"dialog":sn("cancel",o),sn("close",o),y=d;break;case"iframe":case"object":case"embed":sn("load",o),y=d;break;case"video":case"audio":for(y=0;yWa&&(i.flags|=128,d=!0,mc(b,!1),i.lanes=4194304)}else{if(!d)if(o=Lf(k),o!==null){if(i.flags|=128,d=!0,c=o.updateQueue,c!==null&&(i.updateQueue=c,i.flags|=4),mc(b,!0),b.tail===null&&b.tailMode==="hidden"&&!k.alternate&&!un)return tr(i),null}else 2*nn()-b.renderingStartTime>Wa&&c!==1073741824&&(i.flags|=128,d=!0,mc(b,!1),i.lanes=4194304);b.isBackwards?(k.sibling=i.child,i.child=k):(c=b.last,c!==null?c.sibling=k:i.child=k,b.last=k)}return b.tail!==null?(i=b.tail,b.rendering=i,b.tail=i.sibling,b.renderingStartTime=nn(),i.sibling=null,c=mn.current,rn(mn,d?c&1|2:c&1),i):(tr(i),null);case 22:case 23:return Wh(),d=i.memoizedState!==null,o!==null&&o.memoizedState!==null!==d&&(i.flags|=8192),d&&i.mode&1?Nr&1073741824&&(tr(i),i.subtreeFlags&6&&(i.flags|=8192)):tr(i),null;case 24:return null;case 25:return null}throw Error(n(156,i.tag))}function I5(o,i){switch(Kv(i),i.tag){case 1:return gr(i.type)&&Hf(),o=i.flags,o&65536?(i.flags=o&-65537|128,i):null;case 3:return Na(),an(yr),an($n),dh(),o=i.flags,o&65536&&!(o&128)?(i.flags=o&-65537|128,i):null;case 5:return uh(i),null;case 13:if(an(mn),o=i.memoizedState,o!==null&&o.dehydrated!==null){if(i.alternate===null)throw Error(n(340));Ra()}return o=i.flags,o&65536?(i.flags=o&-65537|128,i):null;case 19:return an(mn),null;case 4:return Na(),null;case 10:return rh(i.type._context),null;case 22:case 23:return Wh(),null;case 24:return null;default:return null}}var Ff=!1,nr=!1,W5=typeof WeakSet=="function"?WeakSet:Set,et=null;function Va(o,i){var c=o.ref;if(c!==null)if(typeof c=="function")try{c(null)}catch(d){wn(o,i,d)}else c.current=null}function Dh(o,i,c){try{c()}catch(d){wn(o,i,d)}}var yb=!1;function J5(o,i){if(Wv=uf,o=GA(),Rv(o)){if("selectionStart"in o)var c={start:o.selectionStart,end:o.selectionEnd};else e:{c=(c=o.ownerDocument)&&c.defaultView||window;var d=c.getSelection&&c.getSelection();if(d&&d.rangeCount!==0){c=d.anchorNode;var y=d.anchorOffset,b=d.focusNode;d=d.focusOffset;try{c.nodeType,b.nodeType}catch{c=null;break e}var k=0,V=-1,U=-1,pe=0,Se=0,ke=o,je=null;t:for(;;){for(var qe;ke!==c||y!==0&&ke.nodeType!==3||(V=k+y),ke!==b||d!==0&&ke.nodeType!==3||(U=k+d),ke.nodeType===3&&(k+=ke.nodeValue.length),(qe=ke.firstChild)!==null;)je=ke,ke=qe;for(;;){if(ke===o)break t;if(je===c&&++pe===y&&(V=k),je===b&&++Se===d&&(U=k),(qe=ke.nextSibling)!==null)break;ke=je,je=ke.parentNode}ke=qe}c=V===-1||U===-1?null:{start:V,end:U}}else c=null}c=c||{start:0,end:0}}else c=null;for(Jv={focusedElem:o,selectionRange:c},uf=!1,et=i;et!==null;)if(i=et,o=i.child,(i.subtreeFlags&1028)!==0&&o!==null)o.return=i,et=o;else for(;et!==null;){i=et;try{var it=i.alternate;if(i.flags&1024)switch(i.tag){case 0:case 11:case 15:break;case 1:if(it!==null){var lt=it.memoizedProps,On=it.memoizedState,ie=i.stateNode,ne=ie.getSnapshotBeforeUpdate(i.elementType===i.type?lt:bo(i.type,lt),On);ie.__reactInternalSnapshotBeforeUpdate=ne}break;case 3:var ce=i.stateNode.containerInfo;ce.nodeType===1?ce.textContent="":ce.nodeType===9&&ce.documentElement&&ce.removeChild(ce.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(n(163))}}catch(Xe){wn(i,i.return,Xe)}if(o=i.sibling,o!==null){o.return=i.return,et=o;break}et=i.return}return it=yb,yb=!1,it}function yc(o,i,c){var d=i.updateQueue;if(d=d!==null?d.lastEffect:null,d!==null){var y=d=d.next;do{if((y.tag&o)===o){var b=y.destroy;y.destroy=void 0,b!==void 0&&Dh(i,c,b)}y=y.next}while(y!==d)}}function Yf(o,i){if(i=i.updateQueue,i=i!==null?i.lastEffect:null,i!==null){var c=i=i.next;do{if((c.tag&o)===o){var d=c.create;c.destroy=d()}c=c.next}while(c!==i)}}function kh(o){var i=o.ref;if(i!==null){var c=o.stateNode;switch(o.tag){case 5:o=c;break;default:o=c}typeof i=="function"?i(o):i.current=o}}function gb(o){var i=o.alternate;i!==null&&(o.alternate=null,gb(i)),o.child=null,o.deletions=null,o.sibling=null,o.tag===5&&(i=o.stateNode,i!==null&&(delete i[Yo],delete i[ic],delete i[Zv],delete i[j5],delete i[z5])),o.stateNode=null,o.return=null,o.dependencies=null,o.memoizedProps=null,o.memoizedState=null,o.pendingProps=null,o.stateNode=null,o.updateQueue=null}function Ab(o){return o.tag===5||o.tag===3||o.tag===4}function Pb(o){e:for(;;){for(;o.sibling===null;){if(o.return===null||Ab(o.return))return null;o=o.return}for(o.sibling.return=o.return,o=o.sibling;o.tag!==5&&o.tag!==6&&o.tag!==18;){if(o.flags&2||o.child===null||o.tag===4)continue e;o.child.return=o,o=o.child}if(!(o.flags&2))return o.stateNode}}function Th(o,i,c){var d=o.tag;if(d===5||d===6)o=o.stateNode,i?c.nodeType===8?c.parentNode.insertBefore(o,i):c.insertBefore(o,i):(c.nodeType===8?(i=c.parentNode,i.insertBefore(o,c)):(i=c,i.appendChild(o)),c=c._reactRootContainer,c!=null||i.onclick!==null||(i.onclick=xf));else if(d!==4&&(o=o.child,o!==null))for(Th(o,i,c),o=o.sibling;o!==null;)Th(o,i,c),o=o.sibling}function Eh(o,i,c){var d=o.tag;if(d===5||d===6)o=o.stateNode,i?c.insertBefore(o,i):c.appendChild(o);else if(d!==4&&(o=o.child,o!==null))for(Eh(o,i,c),o=o.sibling;o!==null;)Eh(o,i,c),o=o.sibling}var Un=null,xo=!1;function Ks(o,i,c){for(c=c.child;c!==null;)bb(o,i,c),c=c.sibling}function bb(o,i,c){if(Qr&&typeof Qr.onCommitFiberUnmount=="function")try{Qr.onCommitFiberUnmount(Fo,c)}catch{}switch(c.tag){case 5:nr||Va(c,i);case 6:var d=Un,y=xo;Un=null,Ks(o,i,c),Un=d,xo=y,Un!==null&&(xo?(o=Un,c=c.stateNode,o.nodeType===8?o.parentNode.removeChild(c):o.removeChild(c)):Un.removeChild(c.stateNode));break;case 18:Un!==null&&(xo?(o=Un,c=c.stateNode,o.nodeType===8?qv(o.parentNode,c):o.nodeType===1&&qv(o,c),Ul(o)):qv(Un,c.stateNode));break;case 4:d=Un,y=xo,Un=c.stateNode.containerInfo,xo=!0,Ks(o,i,c),Un=d,xo=y;break;case 0:case 11:case 14:case 15:if(!nr&&(d=c.updateQueue,d!==null&&(d=d.lastEffect,d!==null))){y=d=d.next;do{var b=y,k=b.destroy;b=b.tag,k!==void 0&&(b&2||b&4)&&Dh(c,i,k),y=y.next}while(y!==d)}Ks(o,i,c);break;case 1:if(!nr&&(Va(c,i),d=c.stateNode,typeof d.componentWillUnmount=="function"))try{d.props=c.memoizedProps,d.state=c.memoizedState,d.componentWillUnmount()}catch(V){wn(c,i,V)}Ks(o,i,c);break;case 21:Ks(o,i,c);break;case 22:c.mode&1?(nr=(d=nr)||c.memoizedState!==null,Ks(o,i,c),nr=d):Ks(o,i,c);break;default:Ks(o,i,c)}}function xb(o){var i=o.updateQueue;if(i!==null){o.updateQueue=null;var c=o.stateNode;c===null&&(c=o.stateNode=new W5),i.forEach(function(d){var y=_5.bind(null,o,d);c.has(d)||(c.add(d),d.then(y,y))})}}function wo(o,i){var c=i.deletions;if(c!==null)for(var d=0;dy&&(y=k),d&=~b}if(d=y,d=nn()-d,d=(120>d?120:480>d?480:1080>d?1080:1920>d?1920:3e3>d?3e3:4320>d?4320:1960*Y5(d/1960))-d,10o?16:o,$s===null)var d=!1;else{if(o=$s,$s=null,Qf=0,Wt&6)throw Error(n(331));var y=Wt;for(Wt|=4,et=o.current;et!==null;){var b=et,k=b.child;if(et.flags&16){var V=b.deletions;if(V!==null){for(var U=0;Unn()-Lh?Ni(o,0):Mh|=c),br(o,i)}function Mb(o,i){i===0&&(o.mode&1?(i=sf,sf<<=1,!(sf&130023424)&&(sf=4194304)):i=1);var c=lr();o=As(o,i),o!==null&&(Fl(o,i,c),br(o,c))}function K5(o){var i=o.memoizedState,c=0;i!==null&&(c=i.retryLane),Mb(o,c)}function _5(o,i){var c=0;switch(o.tag){case 13:var d=o.stateNode,y=o.memoizedState;y!==null&&(c=y.retryLane);break;case 19:d=o.stateNode;break;default:throw Error(n(314))}d!==null&&d.delete(i),Mb(o,c)}var Lb;Lb=function(o,i,c){if(o!==null)if(o.memoizedProps!==i.pendingProps||yr.current)Ar=!0;else{if(!(o.lanes&c)&&!(i.flags&128))return Ar=!1,B5(o,i,c);Ar=!!(o.flags&131072)}else Ar=!1,un&&i.flags&1048576&&vP(i,Cf,i.index);switch(i.lanes=0,i.tag){case 2:var d=i.type;Jf(o,i),o=i.pendingProps;var y=ka(i,$n.current);La(i,c),y=hh(null,i,d,o,y,c);var b=mh();return i.flags|=1,typeof y=="object"&&y!==null&&typeof y.render=="function"&&y.$$typeof===void 0?(i.tag=1,i.memoizedState=null,i.updateQueue=null,gr(d)?(b=!0,jf(i)):b=!1,i.memoizedState=y.state!==null&&y.state!==void 0?y.state:null,ih(i),y.updater=Rf,i.stateNode=y,y._reactInternals=i,lh(i,d,o,c),i=Hh(null,i,d,!0,b,c)):(i.tag=0,un&&b&&Qv(i),ar(null,i,y,c),i=i.child),i;case 16:d=i.elementType;e:{switch(Jf(o,i),o=i.pendingProps,y=d._init,d=y(d._payload),i.type=d,y=i.tag=e3(d),o=bo(d,o),y){case 0:i=wh(null,i,d,o,c);break e;case 1:i=lb(null,i,d,o,c);break e;case 11:i=rb(null,i,d,o,c);break e;case 14:i=ob(null,i,d,bo(d.type,o),c);break e}throw Error(n(306,d,""))}return i;case 0:return d=i.type,y=i.pendingProps,y=i.elementType===d?y:bo(d,y),wh(o,i,d,y,c);case 1:return d=i.type,y=i.pendingProps,y=i.elementType===d?y:bo(d,y),lb(o,i,d,y,c);case 3:e:{if(cb(i),o===null)throw Error(n(387));d=i.pendingProps,b=i.memoizedState,y=b.element,PP(o,i),Ef(i,d,null,c);var k=i.memoizedState;if(d=k.element,b.isDehydrated)if(b={element:d,isDehydrated:!1,cache:k.cache,pendingSuspenseBoundaries:k.pendingSuspenseBoundaries,transitions:k.transitions},i.updateQueue.baseState=b,i.memoizedState=b,i.flags&256){y=Ba(Error(n(423)),i),i=ub(o,i,d,c,y);break e}else if(d!==y){y=Ba(Error(n(424)),i),i=ub(o,i,d,c,y);break e}else for(Xr=Ys(i.stateNode.containerInfo.firstChild),Lr=i,un=!0,Po=null,c=OP(i,null,d,c),i.child=c;c;)c.flags=c.flags&-3|4096,c=c.sibling;else{if(Ra(),d===y){i=bs(o,i,c);break e}ar(o,i,d,c)}i=i.child}return i;case 5:return DP(i),o===null&&$v(i),d=i.type,y=i.pendingProps,b=o!==null?o.memoizedProps:null,k=y.children,Fv(d,y)?k=null:b!==null&&Fv(d,b)&&(i.flags|=32),ab(o,i),ar(o,i,k,c),i.child;case 6:return o===null&&$v(i),null;case 13:return fb(o,i,c);case 4:return ch(i,i.stateNode.containerInfo),d=i.pendingProps,o===null?i.child=Xa(i,null,d,c):ar(o,i,d,c),i.child;case 11:return d=i.type,y=i.pendingProps,y=i.elementType===d?y:bo(d,y),rb(o,i,d,y,c);case 7:return ar(o,i,i.pendingProps,c),i.child;case 8:return ar(o,i,i.pendingProps.children,c),i.child;case 12:return ar(o,i,i.pendingProps.children,c),i.child;case 10:e:{if(d=i.type._context,y=i.pendingProps,b=i.memoizedProps,k=y.value,rn(Df,d._currentValue),d._currentValue=k,b!==null)if(Ao(b.value,k)){if(b.children===y.children&&!yr.current){i=bs(o,i,c);break e}}else for(b=i.child,b!==null&&(b.return=i);b!==null;){var V=b.dependencies;if(V!==null){k=b.child;for(var U=V.firstContext;U!==null;){if(U.context===d){if(b.tag===1){U=Ps(-1,c&-c),U.tag=2;var pe=b.updateQueue;if(pe!==null){pe=pe.shared;var Se=pe.pending;Se===null?U.next=U:(U.next=Se.next,Se.next=U),pe.pending=U}}b.lanes|=c,U=b.alternate,U!==null&&(U.lanes|=c),oh(b.return,c,i),V.lanes|=c;break}U=U.next}}else if(b.tag===10)k=b.type===i.type?null:b.child;else if(b.tag===18){if(k=b.return,k===null)throw Error(n(341));k.lanes|=c,V=k.alternate,V!==null&&(V.lanes|=c),oh(k,c,i),k=b.sibling}else k=b.child;if(k!==null)k.return=b;else for(k=b;k!==null;){if(k===i){k=null;break}if(b=k.sibling,b!==null){b.return=k.return,k=b;break}k=k.return}b=k}ar(o,i,y.children,c),i=i.child}return i;case 9:return y=i.type,d=i.pendingProps.children,La(i,c),y=$r(y),d=d(y),i.flags|=1,ar(o,i,d,c),i.child;case 14:return d=i.type,y=bo(d,i.pendingProps),y=bo(d.type,y),ob(o,i,d,y,c);case 15:return sb(o,i,i.type,i.pendingProps,c);case 17:return d=i.type,y=i.pendingProps,y=i.elementType===d?y:bo(d,y),Jf(o,i),i.tag=1,gr(d)?(o=!0,jf(i)):o=!1,La(i,c),jP(i,d,y),lh(i,d,y,c),Hh(null,i,d,!0,o,c);case 19:return pb(o,i,c);case 22:return ib(o,i,c)}throw Error(n(156,i.tag))};function Xb(o,i){return It(o,i)}function $5(o,i,c,d){this.tag=o,this.key=c,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=i,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=d,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function no(o,i,c,d){return new $5(o,i,c,d)}function Fh(o){return o=o.prototype,!(!o||!o.isReactComponent)}function e3(o){if(typeof o=="function")return Fh(o)?1:0;if(o!=null){if(o=o.$$typeof,o===B)return 11;if(o===J)return 14}return 2}function ni(o,i){var c=o.alternate;return c===null?(c=no(o.tag,i,o.key,o.mode),c.elementType=o.elementType,c.type=o.type,c.stateNode=o.stateNode,c.alternate=o,o.alternate=c):(c.pendingProps=i,c.type=o.type,c.flags=0,c.subtreeFlags=0,c.deletions=null),c.flags=o.flags&14680064,c.childLanes=o.childLanes,c.lanes=o.lanes,c.child=o.child,c.memoizedProps=o.memoizedProps,c.memoizedState=o.memoizedState,c.updateQueue=o.updateQueue,i=o.dependencies,c.dependencies=i===null?null:{lanes:i.lanes,firstContext:i.firstContext},c.sibling=o.sibling,c.index=o.index,c.ref=o.ref,c}function ed(o,i,c,d,y,b){var k=2;if(d=o,typeof o=="function")Fh(o)&&(k=1);else if(typeof o=="string")k=5;else e:switch(o){case R:return Vi(c.children,y,b,i);case M:k=8,y|=8;break;case L:return o=no(12,c,i,y|2),o.elementType=L,o.lanes=b,o;case W:return o=no(13,c,i,y),o.elementType=W,o.lanes=b,o;case $:return o=no(19,c,i,y),o.elementType=$,o.lanes=b,o;case re:return td(c,y,b,i);default:if(typeof o=="object"&&o!==null)switch(o.$$typeof){case j:k=10;break e;case N:k=9;break e;case B:k=11;break e;case J:k=14;break e;case Q:k=16,d=null;break e}throw Error(n(130,o==null?o:typeof o,""))}return i=no(k,c,i,y),i.elementType=o,i.type=d,i.lanes=b,i}function Vi(o,i,c,d){return o=no(7,o,d,i),o.lanes=c,o}function td(o,i,c,d){return o=no(22,o,d,i),o.elementType=re,o.lanes=c,o.stateNode={isHidden:!1},o}function Yh(o,i,c){return o=no(6,o,null,i),o.lanes=c,o}function qh(o,i,c){return i=no(4,o.children!==null?o.children:[],o.key,i),i.lanes=c,i.stateNode={containerInfo:o.containerInfo,pendingChildren:null,implementation:o.implementation},i}function t3(o,i,c,d,y){this.tag=i,this.containerInfo=o,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Av(0),this.expirationTimes=Av(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Av(0),this.identifierPrefix=d,this.onRecoverableError=y,this.mutableSourceEagerHydrationData=null}function Zh(o,i,c,d,y,b,k,V,U){return o=new t3(o,i,c,V,U),i===1?(i=1,b===!0&&(i|=8)):i=0,b=no(3,null,null,i),o.current=b,b.stateNode=o,b.memoizedState={element:d,isDehydrated:c,cache:null,transitions:null,pendingSuspenseBoundaries:null},ih(b),o}function n3(o,i,c){var d=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return e(),lm.exports=$j(),lm.exports}var o1=r1();const qc=gp(o1),R8={disabled:!1},tp=$e.createContext(null);var ez=function(t){return t.scrollTop},Zc="unmounted",Fi="exited",Yi="entering",el="entered",Zm="exiting",No=function(e){n1(t,e);function t(r,s){var a;a=e.call(this,r,s)||this;var l=s,u=l&&!l.isMounting?r.enter:r.appear,f;return a.appearStatus=null,r.in?u?(f=Fi,a.appearStatus=Yi):f=el:r.unmountOnExit||r.mountOnEnter?f=Zc:f=Fi,a.state={status:f},a.nextCallback=null,a}t.getDerivedStateFromProps=function(s,a){var l=s.in;return l&&a.status===Zc?{status:Fi}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(s){var a=null;if(s!==this.props){var l=this.state.status;this.props.in?l!==Yi&&l!==el&&(a=Yi):(l===Yi||l===el)&&(a=Zm)}this.updateStatus(!1,a)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var s=this.props.timeout,a,l,u;return a=l=u=s,s!=null&&typeof s!="number"&&(a=s.exit,l=s.enter,u=s.appear!==void 0?s.appear:l),{exit:a,enter:l,appear:u}},n.updateStatus=function(s,a){if(s===void 0&&(s=!1),a!==null)if(this.cancelNextCallback(),a===Yi){if(this.props.unmountOnExit||this.props.mountOnEnter){var l=this.props.nodeRef?this.props.nodeRef.current:qc.findDOMNode(this);l&&ez(l)}this.performEnter(s)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Fi&&this.setState({status:Zc})},n.performEnter=function(s){var a=this,l=this.props.enter,u=this.context?this.context.isMounting:s,f=this.props.nodeRef?[u]:[qc.findDOMNode(this),u],p=f[0],h=f[1],m=this.getTimeouts(),x=u?m.appear:m.enter;if(!s&&!l||R8.disabled){this.safeSetState({status:el},function(){a.props.onEntered(p)});return}this.props.onEnter(p,h),this.safeSetState({status:Yi},function(){a.props.onEntering(p,h),a.onTransitionEnd(x,function(){a.safeSetState({status:el},function(){a.props.onEntered(p,h)})})})},n.performExit=function(){var s=this,a=this.props.exit,l=this.getTimeouts(),u=this.props.nodeRef?void 0:qc.findDOMNode(this);if(!a||R8.disabled){this.safeSetState({status:Fi},function(){s.props.onExited(u)});return}this.props.onExit(u),this.safeSetState({status:Zm},function(){s.props.onExiting(u),s.onTransitionEnd(l.exit,function(){s.safeSetState({status:Fi},function(){s.props.onExited(u)})})})},n.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(s,a){a=this.setNextCallback(a),this.setState(s,a)},n.setNextCallback=function(s){var a=this,l=!0;return this.nextCallback=function(u){l&&(l=!1,a.nextCallback=null,s(u))},this.nextCallback.cancel=function(){l=!1},this.nextCallback},n.onTransitionEnd=function(s,a){this.setNextCallback(a);var l=this.props.nodeRef?this.props.nodeRef.current:qc.findDOMNode(this),u=s==null&&!this.props.addEndListener;if(!l||u){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var f=this.props.nodeRef?[this.nextCallback]:[l,this.nextCallback],p=f[0],h=f[1];this.props.addEndListener(p,h)}s!=null&&setTimeout(this.nextCallback,s)},n.render=function(){var s=this.state.status;if(s===Zc)return null;var a=this.props,l=a.children;a.in,a.mountOnEnter,a.unmountOnExit,a.appear,a.enter,a.exit,a.timeout,a.addEndListener,a.onEnter,a.onEntering,a.onEntered,a.onExit,a.onExiting,a.onExited,a.nodeRef;var u=t1(a,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return $e.createElement(tp.Provider,{value:null},typeof l=="function"?l(s,u):$e.cloneElement($e.Children.only(l),u))},t}($e.Component);No.contextType=tp;No.propTypes={};function Ua(){}No.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Ua,onEntering:Ua,onEntered:Ua,onExit:Ua,onExiting:Ua,onExited:Ua};No.UNMOUNTED=Zc;No.EXITED=Fi;No.ENTERING=Yi;No.ENTERED=el;No.EXITING=Zm;function tz(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cg(e,t){var n=function(a){return t&&g.isValidElement(a)?t(a):a},r=Object.create(null);return e&&g.Children.map(e,function(s){return s}).forEach(function(s){r[s.key]=n(s)}),r}function nz(e,t){e=e||{},t=t||{};function n(h){return h in t?t[h]:e[h]}var r=Object.create(null),s=[];for(var a in e)a in t?s.length&&(r[a]=s,s=[]):s.push(a);var l,u={};for(var f in t){if(r[f])for(l=0;le.scrollTop;function zl(e,t){const{timeout:n,easing:r,style:s={}}=e;return{duration:s.transitionDuration??(typeof n=="number"?n:n[t.mode]||0),easing:s.transitionTimingFunction??(typeof r=="object"?r[t.mode]:r),delay:s.transitionDelay}}function az(e){return Qe("MuiPaper",e)}Ke("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 lz=e=>{const{square:t,elevation:n,variant:r,classes:s}=e,a={root:["root",r,!t&&"rounded",r==="elevation"&&`elevation${n}`]};return _e(a,az,s)},cz=ve("div",{name:"MuiPaper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],!n.square&&t.rounded,n.variant==="elevation"&&t[`elevation${n.elevation}`]]}})(tt(({theme:e})=>({backgroundColor:(e.vars||e).palette.background.paper,color:(e.vars||e).palette.text.primary,transition:e.transitions.create("box-shadow"),variants:[{props:({ownerState:t})=>!t.square,style:{borderRadius:e.shape.borderRadius}},{props:{variant:"outlined"},style:{border:`1px solid ${(e.vars||e).palette.divider}`}},{props:{variant:"elevation"},style:{boxShadow:"var(--Paper-shadow)",backgroundImage:"var(--Paper-overlay)"}}]}))),qr=g.forwardRef(function(t,n){var w;const r=nt({props:t,name:"MuiPaper"}),s=Gr(),{className:a,component:l="div",elevation:u=1,square:f=!1,variant:p="elevation",...h}=r,m={...r,component:l,elevation:u,square:f,variant:p},x=lz(m);return v.jsx(cz,{as:l,ownerState:m,className:Oe(x.root,a),ref:n,...h,style:{...p==="elevation"&&{"--Paper-shadow":(s.vars||s).shadows[u],...s.vars&&{"--Paper-overlay":(w=s.vars.overlays)==null?void 0:w[u]},...!s.vars&&s.palette.mode==="dark"&&{"--Paper-overlay":`linear-gradient(${bt("#fff",Ym(u))}, ${bt("#fff",Ym(u))})`}},...h.style}})});function dt(e,t){const{className:n,elementType:r,ownerState:s,externalForwardedProps:a,internalForwardedProps:l,shouldForwardComponentProp:u=!1,...f}=t,{component:p,slots:h={[e]:void 0},slotProps:m={[e]:void 0},...x}=a,w=h[e]||r,A=I0(m[e],s),{props:{component:P,...H},internalRef:C}=V0({className:n,...f,externalForwardedProps:e==="root"?x:void 0,externalSlotProps:A}),S=pn(C,A==null?void 0:A.ref,t.ref),z=e==="root"?P||p:P,O=B0(w,{...e==="root"&&!p&&!h[e]&&l,...e!=="root"&&!h[e]&&l,...H,...z&&!u&&{as:z},...z&&u&&{component:z},ref:S},s);return[w,O]}class np{constructor(){xc(this,"mountEffect",()=>{this.shouldMount&&!this.didMount&&this.ref.current!==null&&(this.didMount=!0,this.mounted.resolve())});this.ref={current:null},this.mounted=null,this.didMount=!1,this.shouldMount=!1,this.setShouldMount=null}static create(){return new np}static use(){const t=X0(np.create).current,[n,r]=g.useState(!1);return t.shouldMount=n,t.setShouldMount=r,g.useEffect(t.mountEffect,[n]),t}mount(){return this.mounted||(this.mounted=fz(),this.shouldMount=!0,this.setShouldMount(this.shouldMount)),this.mounted}start(...t){this.mount().then(()=>{var n;return(n=this.ref.current)==null?void 0:n.start(...t)})}stop(...t){this.mount().then(()=>{var n;return(n=this.ref.current)==null?void 0:n.stop(...t)})}pulsate(...t){this.mount().then(()=>{var n;return(n=this.ref.current)==null?void 0:n.pulsate(...t)})}}function uz(){return np.use()}function fz(){let e,t;const n=new Promise((r,s)=>{e=r,t=s});return n.resolve=e,n.reject=t,n}function dz(e){const{className:t,classes:n,pulsate:r=!1,rippleX:s,rippleY:a,rippleSize:l,in:u,onExited:f,timeout:p}=e,[h,m]=g.useState(!1),x=Oe(t,n.ripple,n.rippleVisible,r&&n.ripplePulsate),w={width:l,height:l,top:-(l/2)+a,left:-(l/2)+s},A=Oe(n.child,h&&n.childLeaving,r&&n.childPulsate);return!u&&!h&&m(!0),g.useEffect(()=>{if(!u&&f!=null){const P=setTimeout(f,p);return()=>{clearTimeout(P)}}},[f,u,p]),v.jsx("span",{className:x,style:w,children:v.jsx("span",{className:A})})}const io=Ke("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),Gm=550,pz=80,vz=Mu` 0% { transform: scale(0); opacity: 0.1; @@ -102,7 +102,7 @@ Error generating stack: `+b.message+` transform: scale(1); opacity: 0.3; } -`,yz=Mu` +`,hz=Mu` 0% { opacity: 1; } @@ -110,7 +110,7 @@ Error generating stack: `+b.message+` 100% { opacity: 0; } -`,Az=Mu` +`,mz=Mu` 0% { transform: scale(1); } @@ -122,15 +122,15 @@ Error generating stack: `+b.message+` 100% { transform: scale(1); } -`,Pz=ve("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),bz=ve(hz,{name:"MuiTouchRipple",slot:"Ripple"})` +`,yz=ve("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),gz=ve(dz,{name:"MuiTouchRipple",slot:"Ripple"})` opacity: 0; position: absolute; &.${io.rippleVisible} { opacity: 0.3; transform: scale(1); - animation-name: ${gz}; - animation-duration: ${Um}ms; + animation-name: ${vz}; + animation-duration: ${Gm}ms; animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut}; } @@ -149,8 +149,8 @@ Error generating stack: `+b.message+` & .${io.childLeaving} { opacity: 0; - animation-name: ${yz}; - animation-duration: ${Um}ms; + animation-name: ${hz}; + animation-duration: ${Gm}ms; animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut}; } @@ -159,13 +159,13 @@ Error generating stack: `+b.message+` /* @noflip */ left: 0px; top: 0; - animation-name: ${Az}; + animation-name: ${mz}; animation-duration: 2500ms; animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut}; animation-iteration-count: infinite; animation-delay: 200ms; } -`,xz=y.forwardRef(function(t,n){const r=nt({props:t,name:"MuiTouchRipple"}),{center:s=!1,classes:a={},className:l,...u}=r,[f,p]=y.useState([]),h=y.useRef(0),m=y.useRef(null);y.useEffect(()=>{m.current&&(m.current(),m.current=null)},[f]);const x=y.useRef(!1),w=Zi(),A=y.useRef(null),P=y.useRef(null),H=y.useCallback(O=>{const{pulsate:D,rippleX:k,rippleY:E,rippleSize:M,cb:L}=O;p(j=>[...j,v.jsx(bz,{classes:{ripple:Oe(a.ripple,io.ripple),rippleVisible:Oe(a.rippleVisible,io.rippleVisible),ripplePulsate:Oe(a.ripplePulsate,io.ripplePulsate),child:Oe(a.child,io.child),childLeaving:Oe(a.childLeaving,io.childLeaving),childPulsate:Oe(a.childPulsate,io.childPulsate)},timeout:Um,pulsate:D,rippleX:k,rippleY:E,rippleSize:M},h.current)]),h.current+=1,m.current=L},[a]),S=y.useCallback((O={},D={},k=()=>{})=>{const{pulsate:E=!1,center:M=s||D.pulsate,fakeElement:L=!1}=D;if((O==null?void 0:O.type)==="mousedown"&&x.current){x.current=!1;return}(O==null?void 0:O.type)==="touchstart"&&(x.current=!0);const j=L?null:P.current,N=j?j.getBoundingClientRect():{width:0,height:0,left:0,top:0};let W,I,te;if(M||O===void 0||O.clientX===0&&O.clientY===0||!O.clientX&&!O.touches)W=Math.round(N.width/2),I=Math.round(N.height/2);else{const{clientX:J,clientY:_}=O.touches&&O.touches.length>0?O.touches[0]:O;W=Math.round(J-N.left),I=Math.round(_-N.top)}if(M)te=Math.sqrt((2*N.width**2+N.height**2)/3),te%2===0&&(te+=1);else{const J=Math.max(Math.abs((j?j.clientWidth:0)-W),W)*2+2,_=Math.max(Math.abs((j?j.clientHeight:0)-I),I)*2+2;te=Math.sqrt(J**2+_**2)}O!=null&&O.touches?A.current===null&&(A.current=()=>{H({pulsate:E,rippleX:W,rippleY:I,rippleSize:te,cb:k})},w.start(mz,()=>{A.current&&(A.current(),A.current=null)})):H({pulsate:E,rippleX:W,rippleY:I,rippleSize:te,cb:k})},[s,H,w]),C=y.useCallback(()=>{S({},{pulsate:!0})},[S]),z=y.useCallback((O,D)=>{if(w.clear(),(O==null?void 0:O.type)==="touchend"&&A.current){A.current(),A.current=null,w.start(0,()=>{z(O,D)});return}A.current=null,p(k=>k.length>0?k.slice(1):k),m.current=D},[w]);return y.useImperativeHandle(n,()=>({pulsate:C,start:S,stop:z}),[C,S,z]),v.jsx(Pz,{className:Oe(io.root,a.root,l),ref:P,...u,children:v.jsx(uy,{component:null,exit:!0,children:f})})});function wz(e){return Ue("MuiButtonBase",e)}const Hz=Qe("MuiButtonBase",["root","disabled","focusVisible"]),jz=e=>{const{disabled:t,focusVisible:n,focusVisibleClassName:r,classes:s}=e,l=Ke({root:["root",t&&"disabled",n&&"focusVisible"]},wz,s);return n&&r&&(l.root+=` ${r}`),l},zz=ve("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(e,t)=>t.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"},[`&.${Hz.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),fa=y.forwardRef(function(t,n){const r=nt({props:t,name:"MuiButtonBase"}),{action:s,centerRipple:a=!1,children:l,className:u,component:f="button",disabled:p=!1,disableRipple:h=!1,disableTouchRipple:m=!1,focusRipple:x=!1,focusVisibleClassName:w,LinkComponent:A="a",onBlur:P,onClick:H,onContextMenu:S,onDragLeave:C,onFocus:z,onFocusVisible:O,onKeyDown:D,onKeyUp:k,onMouseDown:E,onMouseLeave:M,onMouseUp:L,onTouchEnd:j,onTouchMove:N,onTouchStart:W,tabIndex:I=0,TouchRippleProps:te,touchRippleRef:J,type:_,...$}=r,Q=y.useRef(null),K=pz(),R=sn(K.ref,J),[G,X]=y.useState(!1);p&&G&&X(!1),y.useImperativeHandle(s,()=>({focusVisible:()=>{X(!0),Q.current.focus()}}),[]);const ne=K.shouldMount&&!h&&!p;y.useEffect(()=>{G&&x&&!h&&K.pulsate()},[h,x,G,K]);const re=Hs(K,"start",E,m),ie=Hs(K,"stop",S,m),ue=Hs(K,"stop",C,m),be=Hs(K,"stop",L,m),ae=Hs(K,"stop",ce=>{G&&ce.preventDefault(),M&&M(ce)},m),Se=Hs(K,"start",W,m),Le=Hs(K,"stop",j,m),Ve=Hs(K,"stop",N,m),Pe=Hs(K,"stop",ce=>{jl(ce.target)||X(!1),P&&P(ce)},!1),_e=hr(ce=>{Q.current||(Q.current=ce.currentTarget),jl(ce.target)&&(X(!0),O&&O(ce)),z&&z(ce)}),we=()=>{const ce=Q.current;return f&&f!=="button"&&!(ce.tagName==="A"&&ce.href)},Fe=hr(ce=>{x&&!ce.repeat&&G&&ce.key===" "&&K.stop(ce,()=>{K.start(ce)}),ce.target===ce.currentTarget&&we()&&ce.key===" "&&ce.preventDefault(),D&&D(ce),ce.target===ce.currentTarget&&we()&&ce.key==="Enter"&&!p&&(ce.preventDefault(),H&&H(ce))}),yt=hr(ce=>{x&&ce.key===" "&&G&&!ce.defaultPrevented&&K.stop(ce,()=>{K.pulsate(ce)}),k&&k(ce),H&&ce.target===ce.currentTarget&&we()&&ce.key===" "&&!ce.defaultPrevented&&H(ce)});let ke=f;ke==="button"&&($.href||$.to)&&(ke=A);const V={};ke==="button"?(V.type=_===void 0?"button":_,V.disabled=p):(!$.href&&!$.to&&(V.role="button"),p&&(V["aria-disabled"]=p));const U=sn(n,Q),oe={...r,centerRipple:a,component:f,disabled:p,disableRipple:h,disableTouchRipple:m,focusRipple:x,tabIndex:I,focusVisible:G},Ae=jz(oe);return v.jsxs(zz,{as:ke,className:Oe(Ae.root,u),ownerState:oe,onBlur:Pe,onClick:H,onContextMenu:ie,onFocus:_e,onKeyDown:Fe,onKeyUp:yt,onMouseDown:re,onMouseLeave:ae,onMouseUp:be,onDragLeave:ue,onTouchEnd:Le,onTouchMove:Ve,onTouchStart:Se,ref:U,tabIndex:p?-1:I,type:_,...V,...$,children:[l,ne?v.jsx(xz,{ref:R,center:a,...te}):null]})});function Hs(e,t,n,r=!1){return hr(s=>(n&&n(s),r||e[t](s),!0))}function Sz(e){return typeof e.main=="string"}function Cz(e,t=[]){if(!Sz(e))return!1;for(const n of t)if(!e.hasOwnProperty(n)||typeof e[n]!="string")return!1;return!0}function yn(e=[]){return([,t])=>t&&Cz(t,e)}function Oz(e){return Ue("MuiAlert",e)}const M8=Qe("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 Dz(e){return Ue("MuiCircularProgress",e)}Qe("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]);const oi=44,Qm=Mu` +`,Az=g.forwardRef(function(t,n){const r=nt({props:t,name:"MuiTouchRipple"}),{center:s=!1,classes:a={},className:l,...u}=r,[f,p]=g.useState([]),h=g.useRef(0),m=g.useRef(null);g.useEffect(()=>{m.current&&(m.current(),m.current=null)},[f]);const x=g.useRef(!1),w=Zi(),A=g.useRef(null),P=g.useRef(null),H=g.useCallback(O=>{const{pulsate:D,rippleX:T,rippleY:R,rippleSize:M,cb:L}=O;p(j=>[...j,v.jsx(gz,{classes:{ripple:Oe(a.ripple,io.ripple),rippleVisible:Oe(a.rippleVisible,io.rippleVisible),ripplePulsate:Oe(a.ripplePulsate,io.ripplePulsate),child:Oe(a.child,io.child),childLeaving:Oe(a.childLeaving,io.childLeaving),childPulsate:Oe(a.childPulsate,io.childPulsate)},timeout:Gm,pulsate:D,rippleX:T,rippleY:R,rippleSize:M},h.current)]),h.current+=1,m.current=L},[a]),C=g.useCallback((O={},D={},T=()=>{})=>{const{pulsate:R=!1,center:M=s||D.pulsate,fakeElement:L=!1}=D;if((O==null?void 0:O.type)==="mousedown"&&x.current){x.current=!1;return}(O==null?void 0:O.type)==="touchstart"&&(x.current=!0);const j=L?null:P.current,N=j?j.getBoundingClientRect():{width:0,height:0,left:0,top:0};let B,W,$;if(M||O===void 0||O.clientX===0&&O.clientY===0||!O.clientX&&!O.touches)B=Math.round(N.width/2),W=Math.round(N.height/2);else{const{clientX:J,clientY:Q}=O.touches&&O.touches.length>0?O.touches[0]:O;B=Math.round(J-N.left),W=Math.round(Q-N.top)}if(M)$=Math.sqrt((2*N.width**2+N.height**2)/3),$%2===0&&($+=1);else{const J=Math.max(Math.abs((j?j.clientWidth:0)-B),B)*2+2,Q=Math.max(Math.abs((j?j.clientHeight:0)-W),W)*2+2;$=Math.sqrt(J**2+Q**2)}O!=null&&O.touches?A.current===null&&(A.current=()=>{H({pulsate:R,rippleX:B,rippleY:W,rippleSize:$,cb:T})},w.start(pz,()=>{A.current&&(A.current(),A.current=null)})):H({pulsate:R,rippleX:B,rippleY:W,rippleSize:$,cb:T})},[s,H,w]),S=g.useCallback(()=>{C({},{pulsate:!0})},[C]),z=g.useCallback((O,D)=>{if(w.clear(),(O==null?void 0:O.type)==="touchend"&&A.current){A.current(),A.current=null,w.start(0,()=>{z(O,D)});return}A.current=null,p(T=>T.length>0?T.slice(1):T),m.current=D},[w]);return g.useImperativeHandle(n,()=>({pulsate:S,start:C,stop:z}),[S,C,z]),v.jsx(yz,{className:Oe(io.root,a.root,l),ref:P,...u,children:v.jsx(ug,{component:null,exit:!0,children:f})})});function Pz(e){return Qe("MuiButtonBase",e)}const bz=Ke("MuiButtonBase",["root","disabled","focusVisible"]),xz=e=>{const{disabled:t,focusVisible:n,focusVisibleClassName:r,classes:s}=e,l=_e({root:["root",t&&"disabled",n&&"focusVisible"]},Pz,s);return n&&r&&(l.root+=` ${r}`),l},wz=ve("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(e,t)=>t.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"},[`&.${bz.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),fa=g.forwardRef(function(t,n){const r=nt({props:t,name:"MuiButtonBase"}),{action:s,centerRipple:a=!1,children:l,className:u,component:f="button",disabled:p=!1,disableRipple:h=!1,disableTouchRipple:m=!1,focusRipple:x=!1,focusVisibleClassName:w,LinkComponent:A="a",onBlur:P,onClick:H,onContextMenu:C,onDragLeave:S,onFocus:z,onFocusVisible:O,onKeyDown:D,onKeyUp:T,onMouseDown:R,onMouseLeave:M,onMouseUp:L,onTouchEnd:j,onTouchMove:N,onTouchStart:B,tabIndex:W=0,TouchRippleProps:$,touchRippleRef:J,type:Q,...re}=r,_=g.useRef(null),q=uz(),E=pn(q.ref,J),[Z,X]=g.useState(!1);p&&Z&&X(!1),g.useImperativeHandle(s,()=>({focusVisible:()=>{X(!0),_.current.focus()}}),[]);const te=q.shouldMount&&!h&&!p;g.useEffect(()=>{Z&&x&&!h&&q.pulsate()},[h,x,Z,q]);const ee=Hs(q,"start",R,m),oe=Hs(q,"stop",C,m),ae=Hs(q,"stop",S,m),ge=Hs(q,"stop",L,m),le=Hs(q,"stop",ue=>{Z&&ue.preventDefault(),M&&M(ue)},m),ze=Hs(q,"start",B,m),De=Hs(q,"stop",j,m),Ne=Hs(q,"stop",N,m),he=Hs(q,"stop",ue=>{jl(ue.target)||X(!1),P&&P(ue)},!1),Ie=hr(ue=>{_.current||(_.current=ue.currentTarget),jl(ue.target)&&(X(!0),O&&O(ue)),z&&z(ue)}),be=()=>{const ue=_.current;return f&&f!=="button"&&!(ue.tagName==="A"&&ue.href)},Ye=hr(ue=>{x&&!ue.repeat&&Z&&ue.key===" "&&q.stop(ue,()=>{q.start(ue)}),ue.target===ue.currentTarget&&be()&&ue.key===" "&&ue.preventDefault(),D&&D(ue),ue.target===ue.currentTarget&&be()&&ue.key==="Enter"&&!p&&(ue.preventDefault(),H&&H(ue))}),At=hr(ue=>{x&&ue.key===" "&&Z&&!ue.defaultPrevented&&q.stop(ue,()=>{q.pulsate(ue)}),T&&T(ue),H&&ue.target===ue.currentTarget&&be()&&ue.key===" "&&!ue.defaultPrevented&&H(ue)});let Ee=f;Ee==="button"&&(re.href||re.to)&&(Ee=A);const I={};Ee==="button"?(I.type=Q===void 0?"button":Q,I.disabled=p):(!re.href&&!re.to&&(I.role="button"),p&&(I["aria-disabled"]=p));const K=pn(n,_),se={...r,centerRipple:a,component:f,disabled:p,disableRipple:h,disableTouchRipple:m,focusRipple:x,tabIndex:W,focusVisible:Z},xe=xz(se);return v.jsxs(wz,{as:Ee,className:Oe(xe.root,u),ownerState:se,onBlur:he,onClick:H,onContextMenu:oe,onFocus:Ie,onKeyDown:Ye,onKeyUp:At,onMouseDown:ee,onMouseLeave:le,onMouseUp:ge,onDragLeave:ae,onTouchEnd:De,onTouchMove:Ne,onTouchStart:ze,ref:K,tabIndex:p?-1:W,type:Q,...I,...re,children:[l,te?v.jsx(Az,{ref:E,center:a,...$}):null]})});function Hs(e,t,n,r=!1){return hr(s=>(n&&n(s),r||e[t](s),!0))}function Hz(e){return typeof e.main=="string"}function jz(e,t=[]){if(!Hz(e))return!1;for(const n of t)if(!e.hasOwnProperty(n)||typeof e[n]!="string")return!1;return!0}function gn(e=[]){return([,t])=>t&&jz(t,e)}function zz(e){return Qe("MuiAlert",e)}const M8=Ke("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 Sz(e){return Qe("MuiCircularProgress",e)}Ke("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]);const oi=44,Um=Mu` 0% { transform: rotate(0deg); } @@ -173,7 +173,7 @@ Error generating stack: `+b.message+` 100% { transform: rotate(360deg); } -`,Km=Mu` +`,Qm=Mu` 0% { stroke-dasharray: 1px, 200px; stroke-dashoffset: 0; @@ -188,13 +188,13 @@ Error generating stack: `+b.message+` stroke-dasharray: 1px, 200px; stroke-dashoffset: -126px; } -`,Tz=typeof Qm!="string"?Qg` - animation: ${Qm} 1.4s linear infinite; - `:null,kz=typeof Km!="string"?Qg` - animation: ${Km} 1.4s ease-in-out infinite; - `:null,Ez=e=>{const{classes:t,variant:n,color:r,disableShrink:s}=e,a={root:["root",n,`color${me(r)}`],svg:["svg"],circle:["circle",`circle${me(n)}`,s&&"circleDisableShrink"]};return Ke(a,Dz,t)},Rz=ve("span",{name:"MuiCircularProgress",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`color${me(n.color)}`]]}})(tt(({theme:e})=>({display:"inline-block",variants:[{props:{variant:"determinate"},style:{transition:e.transitions.create("transform")}},{props:{variant:"indeterminate"},style:Tz||{animation:`${Qm} 1.4s linear infinite`}},...Object.entries(e.palette).filter(yn()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}}))]}))),Mz=ve("svg",{name:"MuiCircularProgress",slot:"Svg",overridesResolver:(e,t)=>t.svg})({display:"block"}),Lz=ve("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.circle,t[`circle${me(n.variant)}`],n.disableShrink&&t.circleDisableShrink]}})(tt(({theme:e})=>({stroke:"currentColor",variants:[{props:{variant:"determinate"},style:{transition:e.transitions.create("stroke-dashoffset")}},{props:{variant:"indeterminate"},style:{strokeDasharray:"80px, 200px",strokeDashoffset:0}},{props:({ownerState:t})=>t.variant==="indeterminate"&&!t.disableShrink,style:kz||{animation:`${Km} 1.4s ease-in-out infinite`}}]}))),Vu=y.forwardRef(function(t,n){const r=nt({props:t,name:"MuiCircularProgress"}),{className:s,color:a="primary",disableShrink:l=!1,size:u=40,style:f,thickness:p=3.6,value:h=0,variant:m="indeterminate",...x}=r,w={...r,color:a,disableShrink:l,size:u,thickness:p,value:h,variant:m},A=Ez(w),P={},H={},S={};if(m==="determinate"){const C=2*Math.PI*((oi-p)/2);P.strokeDasharray=C.toFixed(3),S["aria-valuenow"]=Math.round(h),P.strokeDashoffset=`${((100-h)/100*C).toFixed(3)}px`,H.transform="rotate(-90deg)"}return v.jsx(Rz,{className:Oe(A.root,s),style:{width:u,height:u,...H,...f},ownerState:w,ref:n,role:"progressbar",...S,...x,children:v.jsx(Mz,{className:A.svg,ownerState:w,viewBox:`${oi/2} ${oi/2} ${oi} ${oi}`,children:v.jsx(Lz,{className:A.circle,style:P,ownerState:w,cx:oi,cy:oi,r:(oi-p)/2,fill:"none",strokeWidth:p})})})});function Xz(e){return Ue("MuiIconButton",e)}const L8=Qe("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge","loading","loadingIndicator","loadingWrapper"]),Nz=e=>{const{classes:t,disabled:n,color:r,edge:s,size:a,loading:l}=e,u={root:["root",l&&"loading",n&&"disabled",r!=="default"&&`color${me(r)}`,s&&`edge${me(s)}`,`size${me(a)}`],loadingIndicator:["loadingIndicator"],loadingWrapper:["loadingWrapper"]};return Ke(u,Xz,t)},Bz=ve(fa,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.loading&&t.loading,n.color!=="default"&&t[`color${me(n.color)}`],n.edge&&t[`edge${me(n.edge)}`],t[`size${me(n.size)}`]]}})(tt(({theme:e})=>({textAlign:"center",flex:"0 0 auto",fontSize:e.typography.pxToRem(24),padding:8,borderRadius:"50%",color:(e.vars||e).palette.action.active,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),variants:[{props:t=>!t.disableRipple,style:{"--IconButton-hoverBg":e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:Pt(e.palette.action.active,e.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}}]})),tt(({theme:e})=>({variants:[{props:{color:"inherit"},style:{color:"inherit"}},...Object.entries(e.palette).filter(yn()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}})),...Object.entries(e.palette).filter(yn()).map(([t])=>({props:{color:t},style:{"--IconButton-hoverBg":e.vars?`rgba(${(e.vars||e).palette[t].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Pt((e.vars||e).palette[t].main,e.palette.action.hoverOpacity)}})),{props:{size:"small"},style:{padding:5,fontSize:e.typography.pxToRem(18)}},{props:{size:"large"},style:{padding:12,fontSize:e.typography.pxToRem(28)}}],[`&.${L8.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled},[`&.${L8.loading}`]:{color:"transparent"}}))),Vz=ve("span",{name:"MuiIconButton",slot:"LoadingIndicator",overridesResolver:(e,t)=>t.loadingIndicator})(({theme:e})=>({display:"none",position:"absolute",visibility:"visible",top:"50%",left:"50%",transform:"translate(-50%, -50%)",color:(e.vars||e).palette.action.disabled,variants:[{props:{loading:!0},style:{display:"flex"}}]})),Sr=y.forwardRef(function(t,n){const r=nt({props:t,name:"MuiIconButton"}),{edge:s=!1,children:a,className:l,color:u="default",disabled:f=!1,disableFocusRipple:p=!1,size:h="medium",id:m,loading:x=null,loadingIndicator:w,...A}=r,P=us(m),H=w??v.jsx(Vu,{"aria-labelledby":P,color:"inherit",size:16}),S={...r,edge:s,color:u,disabled:f,disableFocusRipple:p,loading:x,loadingIndicator:H,size:h},C=Nz(S);return v.jsxs(Bz,{id:x?P:m,className:Oe(C.root,l),centerRipple:!0,focusRipple:!p,disabled:f||x,ref:n,...A,ownerState:S,children:[typeof x=="boolean"&&v.jsx("span",{className:C.loadingWrapper,style:{display:"contents"},children:v.jsx(Vz,{className:C.loadingIndicator,ownerState:S,children:x&&H})}),a]})}),Iz=At(v.jsx("path",{d:"M20,12A8,8 0 0,1 12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4C12.76,4 13.5,4.11 14.2, 4.31L15.77,2.74C14.61,2.26 13.34,2 12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0, 0 22,12M7.91,10.08L6.5,11.5L11,16L21,6L19.59,4.58L11,13.17L7.91,10.08Z"}),"SuccessOutlined"),Wz=At(v.jsx("path",{d:"M12 5.99L19.53 19H4.47L12 5.99M12 2L1 21h22L12 2zm1 14h-2v2h2v-2zm0-6h-2v4h2v-4z"}),"ReportProblemOutlined"),Jz=At(v.jsx("path",{d:"M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"ErrorOutline"),Fz=At(v.jsx("path",{d:"M11,9H13V7H11M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20, 12C20,16.41 16.41,20 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10, 10 0 0,0 12,2M11,17H13V11H11V17Z"}),"InfoOutlined"),l1=At(v.jsx("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close"),Yz=e=>{const{variant:t,color:n,severity:r,classes:s}=e,a={root:["root",`color${me(n||r)}`,`${t}${me(n||r)}`,`${t}`],icon:["icon"],message:["message"],action:["action"]};return Ke(a,Oz,s)},qz=ve(qr,{name:"MuiAlert",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`${n.variant}${me(n.color||n.severity)}`]]}})(tt(({theme:e})=>{const t=e.palette.mode==="light"?ca:ua,n=e.palette.mode==="light"?ua:ca;return{...e.typography.body2,backgroundColor:"transparent",display:"flex",padding:"6px 16px",variants:[...Object.entries(e.palette).filter(yn(["light"])).map(([r])=>({props:{colorSeverity:r,variant:"standard"},style:{color:e.vars?e.vars.palette.Alert[`${r}Color`]:t(e.palette[r].light,.6),backgroundColor:e.vars?e.vars.palette.Alert[`${r}StandardBg`]:n(e.palette[r].light,.9),[`& .${M8.icon}`]:e.vars?{color:e.vars.palette.Alert[`${r}IconColor`]}:{color:e.palette[r].main}}})),...Object.entries(e.palette).filter(yn(["light"])).map(([r])=>({props:{colorSeverity:r,variant:"outlined"},style:{color:e.vars?e.vars.palette.Alert[`${r}Color`]:t(e.palette[r].light,.6),border:`1px solid ${(e.vars||e).palette[r].light}`,[`& .${M8.icon}`]:e.vars?{color:e.vars.palette.Alert[`${r}IconColor`]}:{color:e.palette[r].main}}})),...Object.entries(e.palette).filter(yn(["dark"])).map(([r])=>({props:{colorSeverity:r,variant:"filled"},style:{fontWeight:e.typography.fontWeightMedium,...e.vars?{color:e.vars.palette.Alert[`${r}FilledColor`],backgroundColor:e.vars.palette.Alert[`${r}FilledBg`]}:{backgroundColor:e.palette.mode==="dark"?e.palette[r].dark:e.palette[r].main,color:e.palette.getContrastText(e.palette[r].main)}}}))]}})),Zz=ve("div",{name:"MuiAlert",slot:"Icon",overridesResolver:(e,t)=>t.icon})({marginRight:12,padding:"7px 0",display:"flex",fontSize:22,opacity:.9}),Gz=ve("div",{name:"MuiAlert",slot:"Message",overridesResolver:(e,t)=>t.message})({padding:"8px 0",minWidth:0,overflow:"auto"}),Uz=ve("div",{name:"MuiAlert",slot:"Action",overridesResolver:(e,t)=>t.action})({display:"flex",alignItems:"flex-start",padding:"4px 0 0 16px",marginLeft:"auto",marginRight:-8}),X8={success:v.jsx(Iz,{fontSize:"inherit"}),warning:v.jsx(Wz,{fontSize:"inherit"}),error:v.jsx(Jz,{fontSize:"inherit"}),info:v.jsx(Fz,{fontSize:"inherit"})},dy=y.forwardRef(function(t,n){const r=nt({props:t,name:"MuiAlert"}),{action:s,children:a,className:l,closeText:u="Close",color:f,components:p={},componentsProps:h={},icon:m,iconMapping:x=X8,onClose:w,role:A="alert",severity:P="success",slotProps:H={},slots:S={},variant:C="standard",...z}=r,O={...r,color:f,severity:P,variant:C,colorSeverity:f||P},D=Yz(O),k={slots:{closeButton:p.CloseButton,closeIcon:p.CloseIcon,...S},slotProps:{...h,...H}},[E,M]=Tt("root",{ref:n,shouldForwardComponentProp:!0,className:Oe(D.root,l),elementType:qz,externalForwardedProps:{...k,...z},ownerState:O,additionalProps:{role:A,elevation:0}}),[L,j]=Tt("icon",{className:D.icon,elementType:Zz,externalForwardedProps:k,ownerState:O}),[N,W]=Tt("message",{className:D.message,elementType:Gz,externalForwardedProps:k,ownerState:O}),[I,te]=Tt("action",{className:D.action,elementType:Uz,externalForwardedProps:k,ownerState:O}),[J,_]=Tt("closeButton",{elementType:Sr,externalForwardedProps:k,ownerState:O}),[$,Q]=Tt("closeIcon",{elementType:l1,externalForwardedProps:k,ownerState:O});return v.jsxs(E,{...M,children:[m!==!1?v.jsx(L,{...j,children:m||x[P]||X8[P]}):null,v.jsx(N,{...W,children:a}),s!=null?v.jsx(I,{...te,children:s}):null,s==null&&w?v.jsx(I,{...te,children:v.jsx(J,{size:"small","aria-label":u,title:u,color:"inherit",onClick:w,..._,children:v.jsx($,{fontSize:"small",...Q})})}):null]})});function Qz(e){return Ue("MuiTypography",e)}const N8=Qe("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]),Kz={primary:!0,secondary:!0,error:!0,info:!0,success:!0,warning:!0,textPrimary:!0,textSecondary:!0,textDisabled:!0},_z=Qj(),$z=e=>{const{align:t,gutterBottom:n,noWrap:r,paragraph:s,variant:a,classes:l}=e,u={root:["root",a,e.align!=="inherit"&&`align${me(t)}`,n&&"gutterBottom",r&&"noWrap",s&&"paragraph"]};return Ke(u,Qz,l)},eS=ve("span",{name:"MuiTypography",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.variant&&t[n.variant],n.align!=="inherit"&&t[`align${me(n.align)}`],n.noWrap&&t.noWrap,n.gutterBottom&&t.gutterBottom,n.paragraph&&t.paragraph]}})(tt(({theme:e})=>{var t;return{margin:0,variants:[{props:{variant:"inherit"},style:{font:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}},...Object.entries(e.typography).filter(([n,r])=>n!=="inherit"&&r&&typeof r=="object").map(([n,r])=>({props:{variant:n},style:r})),...Object.entries(e.palette).filter(yn()).map(([n])=>({props:{color:n},style:{color:(e.vars||e).palette[n].main}})),...Object.entries(((t=e.palette)==null?void 0:t.text)||{}).filter(([,n])=>typeof n=="string").map(([n])=>({props:{color:`text${me(n)}`},style:{color:(e.vars||e).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}}]}})),B8={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},wt=y.forwardRef(function(t,n){const{color:r,...s}=nt({props:t,name:"MuiTypography"}),a=!Kz[r],l=_z({...s,...a&&{color:r}}),{align:u="inherit",className:f,component:p,gutterBottom:h=!1,noWrap:m=!1,paragraph:x=!1,variant:w="body1",variantMapping:A=B8,...P}=l,H={...l,align:u,color:r,className:f,component:p,gutterBottom:h,noWrap:m,paragraph:x,variant:w,variantMapping:A},S=p||(x?"p":A[w]||B8[w])||"span",C=$z(H);return v.jsx(eS,{as:S,ref:n,className:Oe(C.root,f),...P,ownerState:H,style:{...u!=="inherit"&&{"--Typography-textAlign":u},...P.style}})});function tS(e){return Ue("MuiAppBar",e)}Qe("MuiAppBar",["root","positionFixed","positionAbsolute","positionSticky","positionStatic","positionRelative","colorDefault","colorPrimary","colorSecondary","colorInherit","colorTransparent","colorError","colorInfo","colorSuccess","colorWarning"]);const nS=e=>{const{color:t,position:n,classes:r}=e,s={root:["root",`color${me(t)}`,`position${me(n)}`]};return Ke(s,tS,r)},V8=(e,t)=>e?`${e==null?void 0:e.replace(")","")}, ${t})`:t,rS=ve(qr,{name:"MuiAppBar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`position${me(n.position)}`],t[`color${me(n.color)}`]]}})(tt(({theme:e})=>({display:"flex",flexDirection:"column",width:"100%",boxSizing:"border-box",flexShrink:0,variants:[{props:{position:"fixed"},style:{position:"fixed",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0,"@media print":{position:"absolute"}}},{props:{position:"absolute"},style:{position:"absolute",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0}},{props:{position:"sticky"},style:{position:"sticky",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0}},{props:{position:"static"},style:{position:"static"}},{props:{position:"relative"},style:{position:"relative"}},{props:{color:"inherit"},style:{"--AppBar-color":"inherit"}},{props:{color:"default"},style:{"--AppBar-background":e.vars?e.vars.palette.AppBar.defaultBg:e.palette.grey[100],"--AppBar-color":e.vars?e.vars.palette.text.primary:e.palette.getContrastText(e.palette.grey[100]),...e.applyStyles("dark",{"--AppBar-background":e.vars?e.vars.palette.AppBar.defaultBg:e.palette.grey[900],"--AppBar-color":e.vars?e.vars.palette.text.primary:e.palette.getContrastText(e.palette.grey[900])})}},...Object.entries(e.palette).filter(yn(["contrastText"])).map(([t])=>({props:{color:t},style:{"--AppBar-background":(e.vars??e).palette[t].main,"--AppBar-color":(e.vars??e).palette[t].contrastText}})),{props:t=>t.enableColorOnDark===!0&&!["inherit","transparent"].includes(t.color),style:{backgroundColor:"var(--AppBar-background)",color:"var(--AppBar-color)"}},{props:t=>t.enableColorOnDark===!1&&!["inherit","transparent"].includes(t.color),style:{backgroundColor:"var(--AppBar-background)",color:"var(--AppBar-color)",...e.applyStyles("dark",{backgroundColor:e.vars?V8(e.vars.palette.AppBar.darkBg,"var(--AppBar-background)"):null,color:e.vars?V8(e.vars.palette.AppBar.darkColor,"var(--AppBar-color)"):null})}},{props:{color:"transparent"},style:{"--AppBar-background":"transparent","--AppBar-color":"inherit",backgroundColor:"var(--AppBar-background)",color:"var(--AppBar-color)",...e.applyStyles("dark",{backgroundImage:"none"})}}]}))),oS=y.forwardRef(function(t,n){const r=nt({props:t,name:"MuiAppBar"}),{className:s,color:a="primary",enableColorOnDark:l=!1,position:u="fixed",...f}=r,p={...r,color:a,position:u,enableColorOnDark:l},h=nS(p);return v.jsx(rS,{square:!0,component:"header",ownerState:p,elevation:4,className:Oe(h.root,s,u==="fixed"&&"mui-fixed"),ref:n,...f})});function I8(e){return e.normalize("NFD").replace(/[\u0300-\u036f]/g,"")}function sS(e={}){const{ignoreAccents:t=!0,ignoreCase:n=!0,limit:r,matchFrom:s="any",stringify:a,trim:l=!1}=e;return(u,{inputValue:f,getOptionLabel:p})=>{let h=l?f.trim():f;n&&(h=h.toLowerCase()),t&&(h=I8(h));const m=h?u.filter(x=>{let w=(a||p)(x);return n&&(w=w.toLowerCase()),t&&(w=I8(w)),s==="start"?w.startsWith(h):w.includes(h)}):u;return typeof r=="number"?m.slice(0,r):m}}const iS=sS(),aS=5,lS=e=>{var t;return e.current!==null&&((t=e.current.parentElement)==null?void 0:t.contains(document.activeElement))},cS=[];function W8(e,t,n){if(t||e==null)return"";const r=n(e);return typeof r=="string"?r:""}function uS(e){const{unstable_isActiveElementInListbox:t=lS,unstable_classNamePrefix:n="Mui",autoComplete:r=!1,autoHighlight:s=!1,autoSelect:a=!1,blurOnSelect:l=!1,clearOnBlur:u=!e.freeSolo,clearOnEscape:f=!1,componentName:p="useAutocomplete",defaultValue:h=e.multiple?cS:null,disableClearable:m=!1,disableCloseOnSelect:x=!1,disabled:w,disabledItemsFocusable:A=!1,disableListWrap:P=!1,filterOptions:H=iS,filterSelectedOptions:S=!1,freeSolo:C=!1,getOptionDisabled:z,getOptionKey:O,getOptionLabel:D=fe=>fe.label??fe,groupBy:k,handleHomeEndKeys:E=!e.freeSolo,id:M,includeInputInList:L=!1,inputValue:j,isOptionEqualToValue:N=(fe,de)=>fe===de,multiple:W=!1,onChange:I,onClose:te,onHighlightChange:J,onInputChange:_,onOpen:$,open:Q,openOnFocus:K=!1,options:R,readOnly:G=!1,selectOnFocus:X=!e.freeSolo,value:ne}=e,re=us(M);let ie=D;ie=fe=>{const de=D(fe);return typeof de!="string"?String(de):de};const ue=y.useRef(!1),be=y.useRef(!0),ae=y.useRef(null),Se=y.useRef(null),[Le,Ve]=y.useState(null),[Pe,_e]=y.useState(-1),we=s?0:-1,Fe=y.useRef(we),yt=y.useRef(W8(h,W,ie)).current,[ke,V]=Ai({controlled:ne,default:h,name:p}),[U,oe]=Ai({controlled:j,default:yt,name:p,state:"inputValue"}),[Ae,ce]=y.useState(!1),xe=y.useCallback((fe,de,Me)=>{if(!(W?ke.length!(S&&(W?ke:[ke]).some(de=>de!==null&&N(fe,de)))),{inputValue:dt&&Ht?"":U,getOptionLabel:ie}):[],Be=WH({filteredOptions:ft,value:ke,inputValue:U});y.useEffect(()=>{const fe=ke!==Be.value;Ae&&!fe||C&&!fe||xe(null,ke,"reset")},[ke,xe,Ae,Be.value,C]);const kt=He&&ft.length>0&&!G,Vt=hr(fe=>{fe===-1?ae.current.focus():Le.querySelector(`[data-tag-index="${fe}"]`).focus()});y.useEffect(()=>{W&&Pe>ke.length-1&&(_e(-1),Vt(-1))},[ke,W,Pe,Vt]);function Ut(fe,de){if(!Se.current||fe<0||fe>=ft.length)return-1;let Me=fe;for(;;){const rt=Se.current.querySelector(`[data-option-index="${Me}"]`),xt=A?!1:!rt||rt.disabled||rt.getAttribute("aria-disabled")==="true";if(rt&&rt.hasAttribute("tabindex")&&!xt)return Me;if(de==="next"?Me=(Me+1)%ft.length:Me=(Me-1+ft.length)%ft.length,Me===fe)return-1}}const Y=hr(({event:fe,index:de,reason:Me="auto"})=>{if(Fe.current=de,de===-1?ae.current.removeAttribute("aria-activedescendant"):ae.current.setAttribute("aria-activedescendant",`${re}-option-${de}`),J&&J(fe,de===-1?null:ft[de],Me),!Se.current)return;const rt=Se.current.querySelector(`[role="option"].${n}-focused`);rt&&(rt.classList.remove(`${n}-focused`),rt.classList.remove(`${n}-focusVisible`));let xt=Se.current;if(Se.current.getAttribute("role")!=="listbox"&&(xt=Se.current.parentElement.querySelector('[role="listbox"]')),!xt)return;if(de===-1){xt.scrollTop=0;return}const It=Se.current.querySelector(`[data-option-index="${de}"]`);if(It&&(It.classList.add(`${n}-focused`),Me==="keyboard"&&It.classList.add(`${n}-focusVisible`),xt.scrollHeight>xt.clientHeight&&Me!=="mouse"&&Me!=="touch")){const Kt=It,Xn=xt.clientHeight+xt.scrollTop,mr=Kt.offsetTop+Kt.offsetHeight;mr>Xn?xt.scrollTop=mr-xt.clientHeight:Kt.offsetTop-Kt.offsetHeight*(k?1.3:0){if(!gt)return;const It=Ut((()=>{const Kt=ft.length-1;if(de==="reset")return we;if(de==="start")return 0;if(de==="end")return Kt;const Xn=Fe.current+de;return Xn<0?Xn===-1&&L?-1:P&&Fe.current!==-1||Math.abs(de)>1?0:Kt:Xn>Kt?Xn===Kt+1&&L?-1:P||Math.abs(de)>1?Kt:0:Xn})(),Me);if(Y({index:It,reason:rt,event:fe}),r&&de!=="reset")if(It===-1)ae.current.value=U;else{const Kt=ie(ft[It]);ae.current.value=Kt,Kt.toLowerCase().indexOf(U.toLowerCase())===0&&U.length>0&&ae.current.setSelectionRange(U.length,Kt.length)}}),ge=()=>{const fe=(de,Me)=>{const rt=de?ie(de):"",xt=Me?ie(Me):"";return rt===xt};if(Fe.current!==-1&&Be.filteredOptions&&Be.filteredOptions.length!==ft.length&&Be.inputValue===U&&(W?ke.length===Be.value.length&&Be.value.every((de,Me)=>ie(ke[Me])===ie(de)):fe(Be.value,ke))){const de=Be.filteredOptions[Fe.current];if(de)return ft.findIndex(Me=>ie(Me)===ie(de))}return-1},Ce=y.useCallback(()=>{if(!gt)return;const fe=ge();if(fe!==-1){Fe.current=fe;return}const de=W?ke[0]:ke;if(ft.length===0||de==null){F({diff:"reset"});return}if(Se.current){if(de!=null){const Me=ft[Fe.current];if(W&&Me&&ke.findIndex(xt=>N(Me,xt))!==-1)return;const rt=ft.findIndex(xt=>N(xt,de));rt===-1?F({diff:"reset"}):Y({index:rt});return}if(Fe.current>=ft.length-1){Y({index:ft.length-1});return}Y({index:Fe.current})}},[ft.length,W?!1:ke,S,F,Y,gt,U,W]),Re=hr(fe=>{_d(Se,fe),fe&&Ce()});y.useEffect(()=>{Ce()},[Ce]);const Ne=fe=>{He||(Ge(!0),ot(!0),$&&$(fe))},qe=(fe,de)=>{He&&(Ge(!1),te&&te(fe,de))},Te=(fe,de,Me,rt)=>{if(W){if(ke.length===de.length&&ke.every((xt,It)=>xt===de[It]))return}else if(ke===de)return;I&&I(fe,de,Me,rt),V(de)},st=y.useRef(!1),ut=(fe,de,Me="selectOption",rt="options")=>{let xt=Me,It=de;if(W){It=Array.isArray(ke)?ke.slice():[];const Kt=It.findIndex(Xn=>N(de,Xn));Kt===-1?It.push(de):rt!=="freeSolo"&&(It.splice(Kt,1),xt="removeOption")}xe(fe,It,xt),Te(fe,It,xt,{option:de}),!x&&(!fe||!fe.ctrlKey&&!fe.metaKey)&&qe(fe,xt),(l===!0||l==="touch"&&st.current||l==="mouse"&&!st.current)&&ae.current.blur()};function Lt(fe,de){if(fe===-1)return-1;let Me=fe;for(;;){if(de==="next"&&Me===ke.length||de==="previous"&&Me===-1)return-1;const rt=Le.querySelector(`[data-tag-index="${Me}"]`);if(!rt||!rt.hasAttribute("tabindex")||rt.disabled||rt.getAttribute("aria-disabled")==="true")Me+=de==="next"?1:-1;else return Me}}const Qt=(fe,de)=>{if(!W)return;U===""&&qe(fe,"toggleInput");let Me=Pe;Pe===-1?U===""&&de==="previous"&&(Me=ke.length-1):(Me+=de==="next"?1:-1,Me<0&&(Me=0),Me===ke.length&&(Me=-1)),Me=Lt(Me,de),_e(Me),Vt(Me)},We=fe=>{ue.current=!0,oe(""),_&&_(fe,"","clear"),Te(fe,W?[]:null,"clear")},Et=fe=>de=>{if(fe.onKeyDown&&fe.onKeyDown(de),!de.defaultMuiPrevented&&(Pe!==-1&&!["ArrowLeft","ArrowRight"].includes(de.key)&&(_e(-1),Vt(-1)),de.which!==229))switch(de.key){case"Home":gt&&E&&(de.preventDefault(),F({diff:"start",direction:"next",reason:"keyboard",event:de}));break;case"End":gt&&E&&(de.preventDefault(),F({diff:"end",direction:"previous",reason:"keyboard",event:de}));break;case"PageUp":de.preventDefault(),F({diff:-5,direction:"previous",reason:"keyboard",event:de}),Ne(de);break;case"PageDown":de.preventDefault(),F({diff:aS,direction:"next",reason:"keyboard",event:de}),Ne(de);break;case"ArrowDown":de.preventDefault(),F({diff:1,direction:"next",reason:"keyboard",event:de}),Ne(de);break;case"ArrowUp":de.preventDefault(),F({diff:-1,direction:"previous",reason:"keyboard",event:de}),Ne(de);break;case"ArrowLeft":Qt(de,"previous");break;case"ArrowRight":Qt(de,"next");break;case"Enter":if(Fe.current!==-1&>){const Me=ft[Fe.current],rt=z?z(Me):!1;if(de.preventDefault(),rt)return;ut(de,Me,"selectOption"),r&&ae.current.setSelectionRange(ae.current.value.length,ae.current.value.length)}else C&&U!==""&&dt===!1&&(W&&de.preventDefault(),ut(de,U,"createOption","freeSolo"));break;case"Escape":gt?(de.preventDefault(),de.stopPropagation(),qe(de,"escape")):f&&(U!==""||W&&ke.length>0)&&(de.preventDefault(),de.stopPropagation(),We(de));break;case"Backspace":if(W&&!G&&U===""&&ke.length>0){const Me=Pe===-1?ke.length-1:Pe,rt=ke.slice();rt.splice(Me,1),Te(de,rt,"removeOption",{option:ke[Me]})}break;case"Delete":if(W&&!G&&U===""&&ke.length>0&&Pe!==-1){const Me=Pe,rt=ke.slice();rt.splice(Me,1),Te(de,rt,"removeOption",{option:ke[Me]})}break}},vn=fe=>{ce(!0),K&&!ue.current&&Ne(fe)},Pn=fe=>{if(t(Se)){ae.current.focus();return}ce(!1),be.current=!0,ue.current=!1,a&&Fe.current!==-1&>?ut(fe,ft[Fe.current],"blur"):a&&C&&U!==""?ut(fe,U,"blur","freeSolo"):u&&xe(fe,ke,"blur"),qe(fe,"blur")},Gn=fe=>{const de=fe.target.value;U!==de&&(oe(de),ot(!1),_&&_(fe,de,"input")),de===""?!m&&!W&&Te(fe,null,"clear"):Ne(fe)},bn=fe=>{const de=Number(fe.currentTarget.getAttribute("data-option-index"));Fe.current!==de&&Y({event:fe,index:de,reason:"mouse"})},Rr=fe=>{Y({event:fe,index:Number(fe.currentTarget.getAttribute("data-option-index")),reason:"touch"}),st.current=!0},ho=fe=>{const de=Number(fe.currentTarget.getAttribute("data-option-index"));ut(fe,ft[de],"selectOption"),st.current=!1},Wo=fe=>de=>{const Me=ke.slice();Me.splice(fe,1),Te(de,Me,"removeOption",{option:ke[fe]})},Jo=fe=>{He?qe(fe,"toggleInput"):Ne(fe)},mo=fe=>{fe.currentTarget.contains(fe.target)&&fe.target.getAttribute("id")!==re&&fe.preventDefault()},xn=fe=>{fe.currentTarget.contains(fe.target)&&(ae.current.focus(),X&&be.current&&ae.current.selectionEnd-ae.current.selectionStart===0&&ae.current.select(),be.current=!1)},hn=fe=>{!w&&(U===""||!He)&&Jo(fe)};let Ee=C&&U.length>0;Ee=Ee||(W?ke.length>0:ke!==null);let Ze=ft;return k&&(Ze=ft.reduce((fe,de,Me)=>{const rt=k(de);return fe.length>0&&fe[fe.length-1].group===rt?fe[fe.length-1].options.push(de):fe.push({key:Me,index:Me,group:rt,options:[de]}),fe},[])),w&&Ae&&Pn(),{getRootProps:(fe={})=>({...fe,onKeyDown:Et(fe),onMouseDown:mo,onClick:xn}),getInputLabelProps:()=>({id:`${re}-label`,htmlFor:re}),getInputProps:()=>({id:re,value:U,onBlur:Pn,onFocus:vn,onChange:Gn,onMouseDown:hn,"aria-activedescendant":gt?"":null,"aria-autocomplete":r?"both":"list","aria-controls":kt?`${re}-listbox`:void 0,"aria-expanded":kt,autoComplete:"off",ref:ae,autoCapitalize:"none",spellCheck:"false",role:"combobox",disabled:w}),getClearProps:()=>({tabIndex:-1,type:"button",onClick:We}),getPopupIndicatorProps:()=>({tabIndex:-1,type:"button",onClick:Jo}),getTagProps:({index:fe})=>({key:fe,"data-tag-index":fe,tabIndex:-1,...!G&&{onDelete:Wo(fe)}}),getListboxProps:()=>({role:"listbox",id:`${re}-listbox`,"aria-labelledby":`${re}-label`,ref:Re,onMouseDown:fe=>{fe.preventDefault()}}),getOptionProps:({index:fe,option:de})=>{const Me=(W?ke:[ke]).some(xt=>xt!=null&&N(de,xt)),rt=z?z(de):!1;return{key:(O==null?void 0:O(de))??ie(de),tabIndex:-1,role:"option",id:`${re}-option-${fe}`,onMouseMove:bn,onClick:ho,onTouchStart:Rr,"data-option-index":fe,"aria-disabled":rt,"aria-selected":Me}},id:re,inputValue:U,value:ke,dirty:Ee,expanded:gt&&Le,popupOpen:gt,focused:Ae||Pe!==-1,anchorEl:Le,setAnchorEl:Ve,focusedTag:Pe,groupedOptions:Ze}}var Cr="top",fo="bottom",po="right",Or="left",py="auto",Iu=[Cr,fo,po,Or],Sl="start",mu="end",fS="clippingParents",c1="viewport",zc="popper",dS="reference",J8=Iu.reduce(function(e,t){return e.concat([t+"-"+Sl,t+"-"+mu])},[]),u1=[].concat(Iu,[py]).reduce(function(e,t){return e.concat([t,t+"-"+Sl,t+"-"+mu])},[]),pS="beforeRead",vS="read",hS="afterRead",mS="beforeMain",gS="main",yS="afterMain",AS="beforeWrite",PS="write",bS="afterWrite",xS=[pS,vS,hS,mS,gS,yS,AS,PS,bS];function fs(e){return e?(e.nodeName||"").toLowerCase():null}function Zr(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function da(e){var t=Zr(e).Element;return e instanceof t||e instanceof Element}function uo(e){var t=Zr(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function vy(e){if(typeof ShadowRoot>"u")return!1;var t=Zr(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function wS(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var r=t.styles[n]||{},s=t.attributes[n]||{},a=t.elements[n];!uo(a)||!fs(a)||(Object.assign(a.style,r),Object.keys(s).forEach(function(l){var u=s[l];u===!1?a.removeAttribute(l):a.setAttribute(l,u===!0?"":u)}))})}function HS(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(r){var s=t.elements[r],a=t.attributes[r]||{},l=Object.keys(t.styles.hasOwnProperty(r)?t.styles[r]:n[r]),u=l.reduce(function(f,p){return f[p]="",f},{});!uo(s)||!fs(s)||(Object.assign(s.style,u),Object.keys(a).forEach(function(f){s.removeAttribute(f)}))})}}const jS={name:"applyStyles",enabled:!0,phase:"write",fn:wS,effect:HS,requires:["computeStyles"]};function ls(e){return e.split("-")[0]}var ia=Math.max,op=Math.min,Cl=Math.round;function _m(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function f1(){return!/^((?!chrome|android).)*safari/i.test(_m())}function Ol(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var r=e.getBoundingClientRect(),s=1,a=1;t&&uo(e)&&(s=e.offsetWidth>0&&Cl(r.width)/e.offsetWidth||1,a=e.offsetHeight>0&&Cl(r.height)/e.offsetHeight||1);var l=da(e)?Zr(e):window,u=l.visualViewport,f=!f1()&&n,p=(r.left+(f&&u?u.offsetLeft:0))/s,h=(r.top+(f&&u?u.offsetTop:0))/a,m=r.width/s,x=r.height/a;return{width:m,height:x,top:h,right:p+m,bottom:h+x,left:p,x:p,y:h}}function hy(e){var t=Ol(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function d1(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&vy(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function Ms(e){return Zr(e).getComputedStyle(e)}function zS(e){return["table","td","th"].indexOf(fs(e))>=0}function Hi(e){return((da(e)?e.ownerDocument:e.document)||window.document).documentElement}function Mp(e){return fs(e)==="html"?e:e.assignedSlot||e.parentNode||(vy(e)?e.host:null)||Hi(e)}function F8(e){return!uo(e)||Ms(e).position==="fixed"?null:e.offsetParent}function SS(e){var t=/firefox/i.test(_m()),n=/Trident/i.test(_m());if(n&&uo(e)){var r=Ms(e);if(r.position==="fixed")return null}var s=Mp(e);for(vy(s)&&(s=s.host);uo(s)&&["html","body"].indexOf(fs(s))<0;){var a=Ms(s);if(a.transform!=="none"||a.perspective!=="none"||a.contain==="paint"||["transform","perspective"].indexOf(a.willChange)!==-1||t&&a.willChange==="filter"||t&&a.filter&&a.filter!=="none")return s;s=s.parentNode}return null}function Wu(e){for(var t=Zr(e),n=F8(e);n&&zS(n)&&Ms(n).position==="static";)n=F8(n);return n&&(fs(n)==="html"||fs(n)==="body"&&Ms(n).position==="static")?t:n||SS(e)||t}function my(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function ru(e,t,n){return ia(e,op(t,n))}function CS(e,t,n){var r=ru(e,t,n);return r>n?n:r}function p1(){return{top:0,right:0,bottom:0,left:0}}function v1(e){return Object.assign({},p1(),e)}function h1(e,t){return t.reduce(function(n,r){return n[r]=e,n},{})}var OS=function(t,n){return t=typeof t=="function"?t(Object.assign({},n.rects,{placement:n.placement})):t,v1(typeof t!="number"?t:h1(t,Iu))};function DS(e){var t,n=e.state,r=e.name,s=e.options,a=n.elements.arrow,l=n.modifiersData.popperOffsets,u=ls(n.placement),f=my(u),p=[Or,po].indexOf(u)>=0,h=p?"height":"width";if(!(!a||!l)){var m=OS(s.padding,n),x=hy(a),w=f==="y"?Cr:Or,A=f==="y"?fo:po,P=n.rects.reference[h]+n.rects.reference[f]-l[f]-n.rects.popper[h],H=l[f]-n.rects.reference[f],S=Wu(a),C=S?f==="y"?S.clientHeight||0:S.clientWidth||0:0,z=P/2-H/2,O=m[w],D=C-x[h]-m[A],k=C/2-x[h]/2+z,E=ru(O,k,D),M=f;n.modifiersData[r]=(t={},t[M]=E,t.centerOffset=E-k,t)}}function TS(e){var t=e.state,n=e.options,r=n.element,s=r===void 0?"[data-popper-arrow]":r;s!=null&&(typeof s=="string"&&(s=t.elements.popper.querySelector(s),!s)||d1(t.elements.popper,s)&&(t.elements.arrow=s))}const kS={name:"arrow",enabled:!0,phase:"main",fn:DS,effect:TS,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Dl(e){return e.split("-")[1]}var ES={top:"auto",right:"auto",bottom:"auto",left:"auto"};function RS(e,t){var n=e.x,r=e.y,s=t.devicePixelRatio||1;return{x:Cl(n*s)/s||0,y:Cl(r*s)/s||0}}function Y8(e){var t,n=e.popper,r=e.popperRect,s=e.placement,a=e.variation,l=e.offsets,u=e.position,f=e.gpuAcceleration,p=e.adaptive,h=e.roundOffsets,m=e.isFixed,x=l.x,w=x===void 0?0:x,A=l.y,P=A===void 0?0:A,H=typeof h=="function"?h({x:w,y:P}):{x:w,y:P};w=H.x,P=H.y;var S=l.hasOwnProperty("x"),C=l.hasOwnProperty("y"),z=Or,O=Cr,D=window;if(p){var k=Wu(n),E="clientHeight",M="clientWidth";if(k===Zr(n)&&(k=Hi(n),Ms(k).position!=="static"&&u==="absolute"&&(E="scrollHeight",M="scrollWidth")),k=k,s===Cr||(s===Or||s===po)&&a===mu){O=fo;var L=m&&k===D&&D.visualViewport?D.visualViewport.height:k[E];P-=L-r.height,P*=f?1:-1}if(s===Or||(s===Cr||s===fo)&&a===mu){z=po;var j=m&&k===D&&D.visualViewport?D.visualViewport.width:k[M];w-=j-r.width,w*=f?1:-1}}var N=Object.assign({position:u},p&&ES),W=h===!0?RS({x:w,y:P},Zr(n)):{x:w,y:P};if(w=W.x,P=W.y,f){var I;return Object.assign({},N,(I={},I[O]=C?"0":"",I[z]=S?"0":"",I.transform=(D.devicePixelRatio||1)<=1?"translate("+w+"px, "+P+"px)":"translate3d("+w+"px, "+P+"px, 0)",I))}return Object.assign({},N,(t={},t[O]=C?P+"px":"",t[z]=S?w+"px":"",t.transform="",t))}function MS(e){var t=e.state,n=e.options,r=n.gpuAcceleration,s=r===void 0?!0:r,a=n.adaptive,l=a===void 0?!0:a,u=n.roundOffsets,f=u===void 0?!0:u,p={placement:ls(t.placement),variation:Dl(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:s,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,Y8(Object.assign({},p,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:l,roundOffsets:f})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,Y8(Object.assign({},p,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:f})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const LS={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:MS,data:{}};var pd={passive:!0};function XS(e){var t=e.state,n=e.instance,r=e.options,s=r.scroll,a=s===void 0?!0:s,l=r.resize,u=l===void 0?!0:l,f=Zr(t.elements.popper),p=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&p.forEach(function(h){h.addEventListener("scroll",n.update,pd)}),u&&f.addEventListener("resize",n.update,pd),function(){a&&p.forEach(function(h){h.removeEventListener("scroll",n.update,pd)}),u&&f.removeEventListener("resize",n.update,pd)}}const NS={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:XS,data:{}};var BS={left:"right",right:"left",bottom:"top",top:"bottom"};function Rd(e){return e.replace(/left|right|bottom|top/g,function(t){return BS[t]})}var VS={start:"end",end:"start"};function q8(e){return e.replace(/start|end/g,function(t){return VS[t]})}function gy(e){var t=Zr(e),n=t.pageXOffset,r=t.pageYOffset;return{scrollLeft:n,scrollTop:r}}function yy(e){return Ol(Hi(e)).left+gy(e).scrollLeft}function IS(e,t){var n=Zr(e),r=Hi(e),s=n.visualViewport,a=r.clientWidth,l=r.clientHeight,u=0,f=0;if(s){a=s.width,l=s.height;var p=f1();(p||!p&&t==="fixed")&&(u=s.offsetLeft,f=s.offsetTop)}return{width:a,height:l,x:u+yy(e),y:f}}function WS(e){var t,n=Hi(e),r=gy(e),s=(t=e.ownerDocument)==null?void 0:t.body,a=ia(n.scrollWidth,n.clientWidth,s?s.scrollWidth:0,s?s.clientWidth:0),l=ia(n.scrollHeight,n.clientHeight,s?s.scrollHeight:0,s?s.clientHeight:0),u=-r.scrollLeft+yy(e),f=-r.scrollTop;return Ms(s||n).direction==="rtl"&&(u+=ia(n.clientWidth,s?s.clientWidth:0)-a),{width:a,height:l,x:u,y:f}}function Ay(e){var t=Ms(e),n=t.overflow,r=t.overflowX,s=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+s+r)}function m1(e){return["html","body","#document"].indexOf(fs(e))>=0?e.ownerDocument.body:uo(e)&&Ay(e)?e:m1(Mp(e))}function ou(e,t){var n;t===void 0&&(t=[]);var r=m1(e),s=r===((n=e.ownerDocument)==null?void 0:n.body),a=Zr(r),l=s?[a].concat(a.visualViewport||[],Ay(r)?r:[]):r,u=t.concat(l);return s?u:u.concat(ou(Mp(l)))}function $m(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function JS(e,t){var n=Ol(e,!1,t==="fixed");return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}function Z8(e,t,n){return t===c1?$m(IS(e,n)):da(t)?JS(t,n):$m(WS(Hi(e)))}function FS(e){var t=ou(Mp(e)),n=["absolute","fixed"].indexOf(Ms(e).position)>=0,r=n&&uo(e)?Wu(e):e;return da(r)?t.filter(function(s){return da(s)&&d1(s,r)&&fs(s)!=="body"}):[]}function YS(e,t,n,r){var s=t==="clippingParents"?FS(e):[].concat(t),a=[].concat(s,[n]),l=a[0],u=a.reduce(function(f,p){var h=Z8(e,p,r);return f.top=ia(h.top,f.top),f.right=op(h.right,f.right),f.bottom=op(h.bottom,f.bottom),f.left=ia(h.left,f.left),f},Z8(e,l,r));return u.width=u.right-u.left,u.height=u.bottom-u.top,u.x=u.left,u.y=u.top,u}function g1(e){var t=e.reference,n=e.element,r=e.placement,s=r?ls(r):null,a=r?Dl(r):null,l=t.x+t.width/2-n.width/2,u=t.y+t.height/2-n.height/2,f;switch(s){case Cr:f={x:l,y:t.y-n.height};break;case fo:f={x:l,y:t.y+t.height};break;case po:f={x:t.x+t.width,y:u};break;case Or:f={x:t.x-n.width,y:u};break;default:f={x:t.x,y:t.y}}var p=s?my(s):null;if(p!=null){var h=p==="y"?"height":"width";switch(a){case Sl:f[p]=f[p]-(t[h]/2-n[h]/2);break;case mu:f[p]=f[p]+(t[h]/2-n[h]/2);break}}return f}function gu(e,t){t===void 0&&(t={});var n=t,r=n.placement,s=r===void 0?e.placement:r,a=n.strategy,l=a===void 0?e.strategy:a,u=n.boundary,f=u===void 0?fS:u,p=n.rootBoundary,h=p===void 0?c1:p,m=n.elementContext,x=m===void 0?zc:m,w=n.altBoundary,A=w===void 0?!1:w,P=n.padding,H=P===void 0?0:P,S=v1(typeof H!="number"?H:h1(H,Iu)),C=x===zc?dS:zc,z=e.rects.popper,O=e.elements[A?C:x],D=YS(da(O)?O:O.contextElement||Hi(e.elements.popper),f,h,l),k=Ol(e.elements.reference),E=g1({reference:k,element:z,placement:s}),M=$m(Object.assign({},z,E)),L=x===zc?M:k,j={top:D.top-L.top+S.top,bottom:L.bottom-D.bottom+S.bottom,left:D.left-L.left+S.left,right:L.right-D.right+S.right},N=e.modifiersData.offset;if(x===zc&&N){var W=N[s];Object.keys(j).forEach(function(I){var te=[po,fo].indexOf(I)>=0?1:-1,J=[Cr,fo].indexOf(I)>=0?"y":"x";j[I]+=W[J]*te})}return j}function qS(e,t){t===void 0&&(t={});var n=t,r=n.placement,s=n.boundary,a=n.rootBoundary,l=n.padding,u=n.flipVariations,f=n.allowedAutoPlacements,p=f===void 0?u1:f,h=Dl(r),m=h?u?J8:J8.filter(function(A){return Dl(A)===h}):Iu,x=m.filter(function(A){return p.indexOf(A)>=0});x.length===0&&(x=m);var w=x.reduce(function(A,P){return A[P]=gu(e,{placement:P,boundary:s,rootBoundary:a,padding:l})[ls(P)],A},{});return Object.keys(w).sort(function(A,P){return w[A]-w[P]})}function ZS(e){if(ls(e)===py)return[];var t=Rd(e);return[q8(e),t,q8(t)]}function GS(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var s=n.mainAxis,a=s===void 0?!0:s,l=n.altAxis,u=l===void 0?!0:l,f=n.fallbackPlacements,p=n.padding,h=n.boundary,m=n.rootBoundary,x=n.altBoundary,w=n.flipVariations,A=w===void 0?!0:w,P=n.allowedAutoPlacements,H=t.options.placement,S=ls(H),C=S===H,z=f||(C||!A?[Rd(H)]:ZS(H)),O=[H].concat(z).reduce(function(re,ie){return re.concat(ls(ie)===py?qS(t,{placement:ie,boundary:h,rootBoundary:m,padding:p,flipVariations:A,allowedAutoPlacements:P}):ie)},[]),D=t.rects.reference,k=t.rects.popper,E=new Map,M=!0,L=O[0],j=0;j=0,J=te?"width":"height",_=gu(t,{placement:N,boundary:h,rootBoundary:m,altBoundary:x,padding:p}),$=te?I?po:Or:I?fo:Cr;D[J]>k[J]&&($=Rd($));var Q=Rd($),K=[];if(a&&K.push(_[W]<=0),u&&K.push(_[$]<=0,_[Q]<=0),K.every(function(re){return re})){L=N,M=!1;break}E.set(N,K)}if(M)for(var R=A?3:1,G=function(ie){var ue=O.find(function(be){var ae=E.get(be);if(ae)return ae.slice(0,ie).every(function(Se){return Se})});if(ue)return L=ue,"break"},X=R;X>0;X--){var ne=G(X);if(ne==="break")break}t.placement!==L&&(t.modifiersData[r]._skip=!0,t.placement=L,t.reset=!0)}}const US={name:"flip",enabled:!0,phase:"main",fn:GS,requiresIfExists:["offset"],data:{_skip:!1}};function G8(e,t,n){return n===void 0&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function U8(e){return[Cr,po,fo,Or].some(function(t){return e[t]>=0})}function QS(e){var t=e.state,n=e.name,r=t.rects.reference,s=t.rects.popper,a=t.modifiersData.preventOverflow,l=gu(t,{elementContext:"reference"}),u=gu(t,{altBoundary:!0}),f=G8(l,r),p=G8(u,s,a),h=U8(f),m=U8(p);t.modifiersData[n]={referenceClippingOffsets:f,popperEscapeOffsets:p,isReferenceHidden:h,hasPopperEscaped:m},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":h,"data-popper-escaped":m})}const KS={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:QS};function _S(e,t,n){var r=ls(e),s=[Or,Cr].indexOf(r)>=0?-1:1,a=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,l=a[0],u=a[1];return l=l||0,u=(u||0)*s,[Or,po].indexOf(r)>=0?{x:u,y:l}:{x:l,y:u}}function $S(e){var t=e.state,n=e.options,r=e.name,s=n.offset,a=s===void 0?[0,0]:s,l=u1.reduce(function(h,m){return h[m]=_S(m,t.rects,a),h},{}),u=l[t.placement],f=u.x,p=u.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=f,t.modifiersData.popperOffsets.y+=p),t.modifiersData[r]=l}const eC={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:$S};function tC(e){var t=e.state,n=e.name;t.modifiersData[n]=g1({reference:t.rects.reference,element:t.rects.popper,placement:t.placement})}const nC={name:"popperOffsets",enabled:!0,phase:"read",fn:tC,data:{}};function rC(e){return e==="x"?"y":"x"}function oC(e){var t=e.state,n=e.options,r=e.name,s=n.mainAxis,a=s===void 0?!0:s,l=n.altAxis,u=l===void 0?!1:l,f=n.boundary,p=n.rootBoundary,h=n.altBoundary,m=n.padding,x=n.tether,w=x===void 0?!0:x,A=n.tetherOffset,P=A===void 0?0:A,H=gu(t,{boundary:f,rootBoundary:p,padding:m,altBoundary:h}),S=ls(t.placement),C=Dl(t.placement),z=!C,O=my(S),D=rC(O),k=t.modifiersData.popperOffsets,E=t.rects.reference,M=t.rects.popper,L=typeof P=="function"?P(Object.assign({},t.rects,{placement:t.placement})):P,j=typeof L=="number"?{mainAxis:L,altAxis:L}:Object.assign({mainAxis:0,altAxis:0},L),N=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,W={x:0,y:0};if(k){if(a){var I,te=O==="y"?Cr:Or,J=O==="y"?fo:po,_=O==="y"?"height":"width",$=k[O],Q=$+H[te],K=$-H[J],R=w?-M[_]/2:0,G=C===Sl?E[_]:M[_],X=C===Sl?-M[_]:-E[_],ne=t.elements.arrow,re=w&&ne?hy(ne):{width:0,height:0},ie=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:p1(),ue=ie[te],be=ie[J],ae=ru(0,E[_],re[_]),Se=z?E[_]/2-R-ae-ue-j.mainAxis:G-ae-ue-j.mainAxis,Le=z?-E[_]/2+R+ae+be+j.mainAxis:X+ae+be+j.mainAxis,Ve=t.elements.arrow&&Wu(t.elements.arrow),Pe=Ve?O==="y"?Ve.clientTop||0:Ve.clientLeft||0:0,_e=(I=N==null?void 0:N[O])!=null?I:0,we=$+Se-_e-Pe,Fe=$+Le-_e,yt=ru(w?op(Q,we):Q,$,w?ia(K,Fe):K);k[O]=yt,W[O]=yt-$}if(u){var ke,V=O==="x"?Cr:Or,U=O==="x"?fo:po,oe=k[D],Ae=D==="y"?"height":"width",ce=oe+H[V],xe=oe-H[U],He=[Cr,Or].indexOf(S)!==-1,Ge=(ke=N==null?void 0:N[D])!=null?ke:0,Ht=He?ce:oe-E[Ae]-M[Ae]-Ge+j.altAxis,ot=He?oe+E[Ae]+M[Ae]-Ge-j.altAxis:xe,dt=w&&He?CS(Ht,oe,ot):ru(w?Ht:ce,oe,w?ot:xe);k[D]=dt,W[D]=dt-oe}t.modifiersData[r]=W}}const sC={name:"preventOverflow",enabled:!0,phase:"main",fn:oC,requiresIfExists:["offset"]};function iC(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function aC(e){return e===Zr(e)||!uo(e)?gy(e):iC(e)}function lC(e){var t=e.getBoundingClientRect(),n=Cl(t.width)/e.offsetWidth||1,r=Cl(t.height)/e.offsetHeight||1;return n!==1||r!==1}function cC(e,t,n){n===void 0&&(n=!1);var r=uo(t),s=uo(t)&&lC(t),a=Hi(t),l=Ol(e,s,n),u={scrollLeft:0,scrollTop:0},f={x:0,y:0};return(r||!r&&!n)&&((fs(t)!=="body"||Ay(a))&&(u=aC(t)),uo(t)?(f=Ol(t,!0),f.x+=t.clientLeft,f.y+=t.clientTop):a&&(f.x=yy(a))),{x:l.left+u.scrollLeft-f.x,y:l.top+u.scrollTop-f.y,width:l.width,height:l.height}}function uC(e){var t=new Map,n=new Set,r=[];e.forEach(function(a){t.set(a.name,a)});function s(a){n.add(a.name);var l=[].concat(a.requires||[],a.requiresIfExists||[]);l.forEach(function(u){if(!n.has(u)){var f=t.get(u);f&&s(f)}}),r.push(a)}return e.forEach(function(a){n.has(a.name)||s(a)}),r}function fC(e){var t=uC(e);return xS.reduce(function(n,r){return n.concat(t.filter(function(s){return s.phase===r}))},[])}function dC(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function pC(e){var t=e.reduce(function(n,r){var s=n[r.name];return n[r.name]=s?Object.assign({},s,r,{options:Object.assign({},s.options,r.options),data:Object.assign({},s.data,r.data)}):r,n},{});return Object.keys(t).map(function(n){return t[n]})}var Q8={placement:"bottom",modifiers:[],strategy:"absolute"};function K8(){for(var e=arguments.length,t=new Array(e),n=0;n{a||u(gC(s)||document.body)},[s,a]),Yr(()=>{if(l&&!a)return _d(n,l),()=>{_d(n,null)}},[n,l,a]),a){if(y.isValidElement(r)){const p={ref:f};return y.cloneElement(r,p)}return r}return l&&a1.createPortal(r,l)});function yC(e){return Ue("MuiPopper",e)}Qe("MuiPopper",["root"]);function AC(e,t){if(t==="ltr")return e;switch(e){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return e}}function eg(e){return typeof e=="function"?e():e}function PC(e){return e.nodeType!==void 0}const bC=e=>{const{classes:t}=e;return Ke({root:["root"]},yC,t)},xC={},wC=y.forwardRef(function(t,n){const{anchorEl:r,children:s,direction:a,disablePortal:l,modifiers:u,open:f,placement:p,popperOptions:h,popperRef:m,slotProps:x={},slots:w={},TransitionProps:A,ownerState:P,...H}=t,S=y.useRef(null),C=sn(S,n),z=y.useRef(null),O=sn(z,m),D=y.useRef(O);Yr(()=>{D.current=O},[O]),y.useImperativeHandle(m,()=>z.current,[]);const k=AC(p,a),[E,M]=y.useState(k),[L,j]=y.useState(eg(r));y.useEffect(()=>{z.current&&z.current.forceUpdate()}),y.useEffect(()=>{r&&j(eg(r))},[r]),Yr(()=>{if(!L||!f)return;const J=Q=>{M(Q.placement)};let _=[{name:"preventOverflow",options:{altBoundary:l}},{name:"flip",options:{altBoundary:l}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:Q})=>{J(Q)}}];u!=null&&(_=_.concat(u)),h&&h.modifiers!=null&&(_=_.concat(h.modifiers));const $=mC(L,S.current,{placement:k,...h,modifiers:_});return D.current($),()=>{$.destroy(),D.current(null)}},[L,l,u,f,h,k]);const N={placement:E};A!==null&&(N.TransitionProps=A);const W=bC(t),I=w.root??"div",te=ep({elementType:I,externalSlotProps:x.root,externalForwardedProps:H,additionalProps:{role:"tooltip",ref:C},ownerState:t,className:W.root});return v.jsx(I,{...te,children:typeof s=="function"?s(N):s})}),HC=y.forwardRef(function(t,n){const{anchorEl:r,children:s,container:a,direction:l="ltr",disablePortal:u=!1,keepMounted:f=!1,modifiers:p,open:h,placement:m="bottom",popperOptions:x=xC,popperRef:w,style:A,transition:P=!1,slotProps:H={},slots:S={},...C}=t,[z,O]=y.useState(!0),D=()=>{O(!1)},k=()=>{O(!0)};if(!f&&!h&&(!P||z))return null;let E;if(a)E=a;else if(r){const j=eg(r);E=j&&PC(j)?ir(j).body:ir(null).body}const M=!h&&f&&(!P||z)?"none":void 0,L=P?{in:h,onEnter:D,onExited:k}:void 0;return v.jsx(y1,{disablePortal:u,container:E,children:v.jsx(wC,{anchorEl:r,direction:l,disablePortal:u,modifiers:p,ref:n,open:P?!z:h,placement:m,popperOptions:x,popperRef:w,slotProps:H,slots:S,...C,style:{position:"fixed",top:0,left:0,display:M,...A},TransitionProps:L,children:s})})}),jC=ve(HC,{name:"MuiPopper",slot:"Root",overridesResolver:(e,t)=>t.root})({}),Lp=y.forwardRef(function(t,n){const r=Nu(),s=nt({props:t,name:"MuiPopper"}),{anchorEl:a,component:l,components:u,componentsProps:f,container:p,disablePortal:h,keepMounted:m,modifiers:x,open:w,placement:A,popperOptions:P,popperRef:H,transition:S,slots:C,slotProps:z,...O}=s,D=(C==null?void 0:C.root)??(u==null?void 0:u.Root),k={anchorEl:a,container:p,disablePortal:h,keepMounted:m,modifiers:x,open:w,placement:A,popperOptions:P,popperRef:H,transition:S,...O};return v.jsx(jC,{as:l,direction:r?"rtl":"ltr",slots:{root:D},slotProps:z??f,...k,ref:n})});function zC(e){return Ue("MuiListSubheader",e)}Qe("MuiListSubheader",["root","colorPrimary","colorInherit","gutters","inset","sticky"]);const SC=e=>{const{classes:t,color:n,disableGutters:r,inset:s,disableSticky:a}=e,l={root:["root",n!=="default"&&`color${me(n)}`,!r&&"gutters",s&&"inset",!a&&"sticky"]};return Ke(l,zC,t)},CC=ve("li",{name:"MuiListSubheader",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color!=="default"&&t[`color${me(n.color)}`],!n.disableGutters&&t.gutters,n.inset&&t.inset,!n.disableSticky&&t.sticky]}})(tt(({theme:e})=>({boxSizing:"border-box",lineHeight:"48px",listStyle:"none",color:(e.vars||e).palette.text.secondary,fontFamily:e.typography.fontFamily,fontWeight:e.typography.fontWeightMedium,fontSize:e.typography.pxToRem(14),variants:[{props:{color:"primary"},style:{color:(e.vars||e).palette.primary.main}},{props:{color:"inherit"},style:{color:"inherit"}},{props:({ownerState:t})=>!t.disableGutters,style:{paddingLeft:16,paddingRight:16}},{props:({ownerState:t})=>t.inset,style:{paddingLeft:72}},{props:({ownerState:t})=>!t.disableSticky,style:{position:"sticky",top:0,zIndex:1,backgroundColor:(e.vars||e).palette.background.paper}}]}))),tg=y.forwardRef(function(t,n){const r=nt({props:t,name:"MuiListSubheader"}),{className:s,color:a="default",component:l="li",disableGutters:u=!1,disableSticky:f=!1,inset:p=!1,...h}=r,m={...r,color:a,component:l,disableGutters:u,disableSticky:f,inset:p},x=SC(m);return v.jsx(CC,{as:l,className:Oe(x.root,s),ref:n,ownerState:m,...h})});tg&&(tg.muiSkipListHighlight=!0);const OC=At(v.jsx("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"}),"Cancel");function DC(e){return Ue("MuiChip",e)}const Mt=Qe("MuiChip",["root","sizeSmall","sizeMedium","colorDefault","colorError","colorInfo","colorPrimary","colorSecondary","colorSuccess","colorWarning","disabled","clickable","clickableColorPrimary","clickableColorSecondary","deletable","deletableColorPrimary","deletableColorSecondary","outlined","filled","outlinedPrimary","outlinedSecondary","filledPrimary","filledSecondary","avatar","avatarSmall","avatarMedium","avatarColorPrimary","avatarColorSecondary","icon","iconSmall","iconMedium","iconColorPrimary","iconColorSecondary","label","labelSmall","labelMedium","deleteIcon","deleteIconSmall","deleteIconMedium","deleteIconColorPrimary","deleteIconColorSecondary","deleteIconOutlinedColorPrimary","deleteIconOutlinedColorSecondary","deleteIconFilledColorPrimary","deleteIconFilledColorSecondary","focusVisible"]),TC=e=>{const{classes:t,disabled:n,size:r,color:s,iconColor:a,onDelete:l,clickable:u,variant:f}=e,p={root:["root",f,n&&"disabled",`size${me(r)}`,`color${me(s)}`,u&&"clickable",u&&`clickableColor${me(s)}`,l&&"deletable",l&&`deletableColor${me(s)}`,`${f}${me(s)}`],label:["label",`label${me(r)}`],avatar:["avatar",`avatar${me(r)}`,`avatarColor${me(s)}`],icon:["icon",`icon${me(r)}`,`iconColor${me(a)}`],deleteIcon:["deleteIcon",`deleteIcon${me(r)}`,`deleteIconColor${me(s)}`,`deleteIcon${me(f)}Color${me(s)}`]};return Ke(p,DC,t)},kC=ve("div",{name:"MuiChip",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e,{color:r,iconColor:s,clickable:a,onDelete:l,size:u,variant:f}=n;return[{[`& .${Mt.avatar}`]:t.avatar},{[`& .${Mt.avatar}`]:t[`avatar${me(u)}`]},{[`& .${Mt.avatar}`]:t[`avatarColor${me(r)}`]},{[`& .${Mt.icon}`]:t.icon},{[`& .${Mt.icon}`]:t[`icon${me(u)}`]},{[`& .${Mt.icon}`]:t[`iconColor${me(s)}`]},{[`& .${Mt.deleteIcon}`]:t.deleteIcon},{[`& .${Mt.deleteIcon}`]:t[`deleteIcon${me(u)}`]},{[`& .${Mt.deleteIcon}`]:t[`deleteIconColor${me(r)}`]},{[`& .${Mt.deleteIcon}`]:t[`deleteIcon${me(f)}Color${me(r)}`]},t.root,t[`size${me(u)}`],t[`color${me(r)}`],a&&t.clickable,a&&r!=="default"&&t[`clickableColor${me(r)})`],l&&t.deletable,l&&r!=="default"&&t[`deletableColor${me(r)}`],t[f],t[`${f}${me(r)}`]]}})(tt(({theme:e})=>{const t=e.palette.mode==="light"?e.palette.grey[700]:e.palette.grey[300];return{maxWidth:"100%",fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(13),display:"inline-flex",alignItems:"center",justifyContent:"center",height:32,color:(e.vars||e).palette.text.primary,backgroundColor:(e.vars||e).palette.action.selected,borderRadius:32/2,whiteSpace:"nowrap",transition:e.transitions.create(["background-color","box-shadow"]),cursor:"unset",outline:0,textDecoration:"none",border:0,padding:0,verticalAlign:"middle",boxSizing:"border-box",[`&.${Mt.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity,pointerEvents:"none"},[`& .${Mt.avatar}`]:{marginLeft:5,marginRight:-6,width:24,height:24,color:e.vars?e.vars.palette.Chip.defaultAvatarColor:t,fontSize:e.typography.pxToRem(12)},[`& .${Mt.avatarColorPrimary}`]:{color:(e.vars||e).palette.primary.contrastText,backgroundColor:(e.vars||e).palette.primary.dark},[`& .${Mt.avatarColorSecondary}`]:{color:(e.vars||e).palette.secondary.contrastText,backgroundColor:(e.vars||e).palette.secondary.dark},[`& .${Mt.avatarSmall}`]:{marginLeft:4,marginRight:-4,width:18,height:18,fontSize:e.typography.pxToRem(10)},[`& .${Mt.icon}`]:{marginLeft:5,marginRight:-6},[`& .${Mt.deleteIcon}`]:{WebkitTapHighlightColor:"transparent",color:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / 0.26)`:Pt(e.palette.text.primary,.26),fontSize:22,cursor:"pointer",margin:"0 5px 0 -6px","&:hover":{color:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / 0.4)`:Pt(e.palette.text.primary,.4)}},variants:[{props:{size:"small"},style:{height:24,[`& .${Mt.icon}`]:{fontSize:18,marginLeft:4,marginRight:-4},[`& .${Mt.deleteIcon}`]:{fontSize:16,marginRight:4,marginLeft:-4}}},...Object.entries(e.palette).filter(yn(["contrastText"])).map(([n])=>({props:{color:n},style:{backgroundColor:(e.vars||e).palette[n].main,color:(e.vars||e).palette[n].contrastText,[`& .${Mt.deleteIcon}`]:{color:e.vars?`rgba(${e.vars.palette[n].contrastTextChannel} / 0.7)`:Pt(e.palette[n].contrastText,.7),"&:hover, &:active":{color:(e.vars||e).palette[n].contrastText}}}})),{props:n=>n.iconColor===n.color,style:{[`& .${Mt.icon}`]:{color:e.vars?e.vars.palette.Chip.defaultIconColor:t}}},{props:n=>n.iconColor===n.color&&n.color!=="default",style:{[`& .${Mt.icon}`]:{color:"inherit"}}},{props:{onDelete:!0},style:{[`&.${Mt.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Pt(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}}},...Object.entries(e.palette).filter(yn(["dark"])).map(([n])=>({props:{color:n,onDelete:!0},style:{[`&.${Mt.focusVisible}`]:{background:(e.vars||e).palette[n].dark}}})),{props:{clickable:!0},style:{userSelect:"none",WebkitTapHighlightColor:"transparent",cursor:"pointer","&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:Pt(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity)},[`&.${Mt.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Pt(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)},"&:active":{boxShadow:(e.vars||e).shadows[1]}}},...Object.entries(e.palette).filter(yn(["dark"])).map(([n])=>({props:{color:n,clickable:!0},style:{[`&:hover, &.${Mt.focusVisible}`]:{backgroundColor:(e.vars||e).palette[n].dark}}})),{props:{variant:"outlined"},style:{backgroundColor:"transparent",border:e.vars?`1px solid ${e.vars.palette.Chip.defaultBorder}`:`1px solid ${e.palette.mode==="light"?e.palette.grey[400]:e.palette.grey[700]}`,[`&.${Mt.clickable}:hover`]:{backgroundColor:(e.vars||e).palette.action.hover},[`&.${Mt.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`& .${Mt.avatar}`]:{marginLeft:4},[`& .${Mt.avatarSmall}`]:{marginLeft:2},[`& .${Mt.icon}`]:{marginLeft:4},[`& .${Mt.iconSmall}`]:{marginLeft:2},[`& .${Mt.deleteIcon}`]:{marginRight:5},[`& .${Mt.deleteIconSmall}`]:{marginRight:3}}},...Object.entries(e.palette).filter(yn()).map(([n])=>({props:{variant:"outlined",color:n},style:{color:(e.vars||e).palette[n].main,border:`1px solid ${e.vars?`rgba(${e.vars.palette[n].mainChannel} / 0.7)`:Pt(e.palette[n].main,.7)}`,[`&.${Mt.clickable}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette[n].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Pt(e.palette[n].main,e.palette.action.hoverOpacity)},[`&.${Mt.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette[n].mainChannel} / ${e.vars.palette.action.focusOpacity})`:Pt(e.palette[n].main,e.palette.action.focusOpacity)},[`& .${Mt.deleteIcon}`]:{color:e.vars?`rgba(${e.vars.palette[n].mainChannel} / 0.7)`:Pt(e.palette[n].main,.7),"&:hover, &:active":{color:(e.vars||e).palette[n].main}}}}))]}})),EC=ve("span",{name:"MuiChip",slot:"Label",overridesResolver:(e,t)=>{const{ownerState:n}=e,{size:r}=n;return[t.label,t[`label${me(r)}`]]}})({overflow:"hidden",textOverflow:"ellipsis",paddingLeft:12,paddingRight:12,whiteSpace:"nowrap",variants:[{props:{variant:"outlined"},style:{paddingLeft:11,paddingRight:11}},{props:{size:"small"},style:{paddingLeft:8,paddingRight:8}},{props:{size:"small",variant:"outlined"},style:{paddingLeft:7,paddingRight:7}}]});function _8(e){return e.key==="Backspace"||e.key==="Delete"}const Ju=y.forwardRef(function(t,n){const r=nt({props:t,name:"MuiChip"}),{avatar:s,className:a,clickable:l,color:u="default",component:f,deleteIcon:p,disabled:h=!1,icon:m,label:x,onClick:w,onDelete:A,onKeyDown:P,onKeyUp:H,size:S="medium",variant:C="filled",tabIndex:z,skipFocusWhenDisabled:O=!1,...D}=r,k=y.useRef(null),E=sn(k,n),M=K=>{K.stopPropagation(),A&&A(K)},L=K=>{K.currentTarget===K.target&&_8(K)&&K.preventDefault(),P&&P(K)},j=K=>{K.currentTarget===K.target&&A&&_8(K)&&A(K),H&&H(K)},N=l!==!1&&w?!0:l,W=N||A?fa:f||"div",I={...r,component:W,disabled:h,size:S,color:u,iconColor:y.isValidElement(m)&&m.props.color||u,onDelete:!!A,clickable:N,variant:C},te=TC(I),J=W===fa?{component:f||"div",focusVisibleClassName:te.focusVisible,...A&&{disableRipple:!0}}:{};let _=null;A&&(_=p&&y.isValidElement(p)?y.cloneElement(p,{className:Oe(p.props.className,te.deleteIcon),onClick:M}):v.jsx(OC,{className:Oe(te.deleteIcon),onClick:M}));let $=null;s&&y.isValidElement(s)&&($=y.cloneElement(s,{className:Oe(te.avatar,s.props.className)}));let Q=null;return m&&y.isValidElement(m)&&(Q=y.cloneElement(m,{className:Oe(te.icon,m.props.className)})),v.jsxs(kC,{as:W,className:Oe(te.root,a),disabled:N&&h?!0:void 0,onClick:w,onKeyDown:L,onKeyUp:j,ref:E,tabIndex:O&&h?-1:z,ownerState:I,...J,...D,children:[$||Q,v.jsx(EC,{className:Oe(te.label),ownerState:I,children:x}),_]})});function vd(e){return parseInt(e,10)||0}const RC={shadow:{visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"}};function MC(e){for(const t in e)return!1;return!0}function LC(e){return MC(e)||e.outerHeightStyle===0&&!e.overflowing}const XC=y.forwardRef(function(t,n){const{onChange:r,maxRows:s,minRows:a=1,style:l,value:u,...f}=t,{current:p}=y.useRef(u!=null),h=y.useRef(null),m=sn(n,h),x=y.useRef(null),w=y.useRef(null),A=y.useCallback(()=>{const C=h.current,z=w.current;if(!C||!z)return;const D=Mo(C).getComputedStyle(C);if(D.width==="0px")return{outerHeightStyle:0,overflowing:!1};z.style.width=D.width,z.value=C.value||t.placeholder||"x",z.value.slice(-1)===` -`&&(z.value+=" ");const k=D.boxSizing,E=vd(D.paddingBottom)+vd(D.paddingTop),M=vd(D.borderBottomWidth)+vd(D.borderTopWidth),L=z.scrollHeight;z.value="x";const j=z.scrollHeight;let N=L;a&&(N=Math.max(Number(a)*j,N)),s&&(N=Math.min(Number(s)*j,N)),N=Math.max(N,j);const W=N+(k==="border-box"?E+M:0),I=Math.abs(N-L)<=1;return{outerHeightStyle:W,overflowing:I}},[s,a,t.placeholder]),P=y.useCallback(()=>{const C=h.current,z=A();if(!C||!z||LC(z))return;const O=z.outerHeightStyle;x.current!==O&&(x.current=O,C.style.height=`${O}px`),C.style.overflow=z.overflowing?"hidden":""},[A]),H=y.useRef(-1);Yr(()=>{const C=ny(()=>P()),z=h==null?void 0:h.current;if(!z)return;const O=Mo(z);O.addEventListener("resize",C);let D;return typeof ResizeObserver<"u"&&(D=new ResizeObserver(()=>{D.unobserve(z),cancelAnimationFrame(H.current),P(),H.current=requestAnimationFrame(()=>{D.observe(z)})}),D.observe(z)),()=>{C.clear(),cancelAnimationFrame(H.current),O.removeEventListener("resize",C),D&&D.disconnect()}},[A,P]),Yr(()=>{P()});const S=C=>{p||P(),r&&r(C)};return v.jsxs(y.Fragment,{children:[v.jsx("textarea",{value:u,onChange:S,ref:m,rows:a,style:l,...f}),v.jsx("textarea",{"aria-hidden":!0,className:t.className,readOnly:!0,ref:w,tabIndex:-1,style:{...RC.shadow,...l,paddingTop:0,paddingBottom:0}})]})});function yu(e){return typeof e=="string"}function ji({props:e,states:t,muiFormControl:n}){return t.reduce((r,s)=>(r[s]=e[s],n&&typeof e[s]>"u"&&(r[s]=n[s]),r),{})}const Xp=y.createContext(void 0);function Bo(){return y.useContext(Xp)}function $8(e){return e!=null&&!(Array.isArray(e)&&e.length===0)}function sp(e,t=!1){return e&&($8(e.value)&&e.value!==""||t&&$8(e.defaultValue)&&e.defaultValue!=="")}function NC(e){return e.startAdornment}function BC(e){return Ue("MuiInputBase",e)}const Vr=Qe("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]);var ex;const Np=(e,t)=>{const{ownerState:n}=e;return[t.root,n.formControl&&t.formControl,n.startAdornment&&t.adornedStart,n.endAdornment&&t.adornedEnd,n.error&&t.error,n.size==="small"&&t.sizeSmall,n.multiline&&t.multiline,n.color&&t[`color${me(n.color)}`],n.fullWidth&&t.fullWidth,n.hiddenLabel&&t.hiddenLabel]},Bp=(e,t)=>{const{ownerState:n}=e;return[t.input,n.size==="small"&&t.inputSizeSmall,n.multiline&&t.inputMultiline,n.type==="search"&&t.inputTypeSearch,n.startAdornment&&t.inputAdornedStart,n.endAdornment&&t.inputAdornedEnd,n.hiddenLabel&&t.inputHiddenLabel]},VC=e=>{const{classes:t,color:n,disabled:r,error:s,endAdornment:a,focused:l,formControl:u,fullWidth:f,hiddenLabel:p,multiline:h,readOnly:m,size:x,startAdornment:w,type:A}=e,P={root:["root",`color${me(n)}`,r&&"disabled",s&&"error",f&&"fullWidth",l&&"focused",u&&"formControl",x&&x!=="medium"&&`size${me(x)}`,h&&"multiline",w&&"adornedStart",a&&"adornedEnd",p&&"hiddenLabel",m&&"readOnly"],input:["input",r&&"disabled",A==="search"&&"inputTypeSearch",h&&"inputMultiline",x==="small"&&"inputSizeSmall",p&&"inputHiddenLabel",w&&"inputAdornedStart",a&&"inputAdornedEnd",m&&"readOnly"]};return Ke(P,BC,t)},Vp=ve("div",{name:"MuiInputBase",slot:"Root",overridesResolver:Np})(tt(({theme:e})=>({...e.typography.body1,color:(e.vars||e).palette.text.primary,lineHeight:"1.4375em",boxSizing:"border-box",position:"relative",cursor:"text",display:"inline-flex",alignItems:"center",[`&.${Vr.disabled}`]:{color:(e.vars||e).palette.text.disabled,cursor:"default"},variants:[{props:({ownerState:t})=>t.multiline,style:{padding:"4px 0 5px"}},{props:({ownerState:t,size:n})=>t.multiline&&n==="small",style:{paddingTop:1}},{props:({ownerState:t})=>t.fullWidth,style:{width:"100%"}}]}))),Ip=ve("input",{name:"MuiInputBase",slot:"Input",overridesResolver:Bp})(tt(({theme:e})=>{const t=e.palette.mode==="light",n={color:"currentColor",...e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:t?.42:.5},transition:e.transitions.create("opacity",{duration:e.transitions.duration.shorter})},r={opacity:"0 !important"},s=e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:t?.42:.5};return{font:"inherit",letterSpacing:"inherit",color:"currentColor",padding:"4px 0 5px",border:0,boxSizing:"content-box",background:"none",height:"1.4375em",margin:0,WebkitTapHighlightColor:"transparent",display:"block",minWidth:0,width:"100%","&::-webkit-input-placeholder":n,"&::-moz-placeholder":n,"&::-ms-input-placeholder":n,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"},[`label[data-shrink=false] + .${Vr.formControl} &`]:{"&::-webkit-input-placeholder":r,"&::-moz-placeholder":r,"&::-ms-input-placeholder":r,"&:focus::-webkit-input-placeholder":s,"&:focus::-moz-placeholder":s,"&:focus::-ms-input-placeholder":s},[`&.${Vr.disabled}`]:{opacity:1,WebkitTextFillColor:(e.vars||e).palette.text.disabled},variants:[{props:({ownerState:a})=>!a.disableInjectingGlobalStyles,style:{animationName:"mui-auto-fill-cancel",animationDuration:"10ms","&:-webkit-autofill":{animationDuration:"5000s",animationName:"mui-auto-fill"}}},{props:{size:"small"},style:{paddingTop:1}},{props:({ownerState:a})=>a.multiline,style:{height:"auto",resize:"none",padding:0,paddingTop:0}},{props:{type:"search"},style:{MozAppearance:"textfield"}}]}})),tx=ly({"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}),Wp=y.forwardRef(function(t,n){const r=nt({props:t,name:"MuiInputBase"}),{"aria-describedby":s,autoComplete:a,autoFocus:l,className:u,color:f,components:p={},componentsProps:h={},defaultValue:m,disabled:x,disableInjectingGlobalStyles:w,endAdornment:A,error:P,fullWidth:H=!1,id:S,inputComponent:C="input",inputProps:z={},inputRef:O,margin:D,maxRows:k,minRows:E,multiline:M=!1,name:L,onBlur:j,onChange:N,onClick:W,onFocus:I,onKeyDown:te,onKeyUp:J,placeholder:_,readOnly:$,renderSuffix:Q,rows:K,size:R,slotProps:G={},slots:X={},startAdornment:ne,type:re="text",value:ie,...ue}=r,be=z.value!=null?z.value:ie,{current:ae}=y.useRef(be!=null),Se=y.useRef(),Le=y.useCallback(Be=>{},[]),Ve=sn(Se,O,z.ref,Le),[Pe,_e]=y.useState(!1),we=Bo(),Fe=ji({props:r,muiFormControl:we,states:["color","disabled","error","hiddenLabel","size","required","filled"]});Fe.focused=we?we.focused:Pe,y.useEffect(()=>{!we&&x&&Pe&&(_e(!1),j&&j())},[we,x,Pe,j]);const yt=we&&we.onFilled,ke=we&&we.onEmpty,V=y.useCallback(Be=>{sp(Be)?yt&&yt():ke&&ke()},[yt,ke]);Yr(()=>{ae&&V({value:be})},[be,V,ae]);const U=Be=>{I&&I(Be),z.onFocus&&z.onFocus(Be),we&&we.onFocus?we.onFocus(Be):_e(!0)},oe=Be=>{j&&j(Be),z.onBlur&&z.onBlur(Be),we&&we.onBlur?we.onBlur(Be):_e(!1)},Ae=(Be,...kt)=>{if(!ae){const Vt=Be.target||Se.current;if(Vt==null)throw new Error(Rs(1));V({value:Vt.value})}z.onChange&&z.onChange(Be,...kt),N&&N(Be,...kt)};y.useEffect(()=>{V(Se.current)},[]);const ce=Be=>{Se.current&&Be.currentTarget===Be.target&&Se.current.focus(),W&&W(Be)};let xe=C,He=z;M&&xe==="input"&&(K?He={type:void 0,minRows:K,maxRows:K,...He}:He={type:void 0,maxRows:k,minRows:E,...He},xe=XC);const Ge=Be=>{V(Be.animationName==="mui-auto-fill-cancel"?Se.current:{value:"x"})};y.useEffect(()=>{we&&we.setAdornedStart(!!ne)},[we,ne]);const Ht={...r,color:Fe.color||"primary",disabled:Fe.disabled,endAdornment:A,error:Fe.error,focused:Fe.focused,formControl:we,fullWidth:H,hiddenLabel:Fe.hiddenLabel,multiline:M,size:Fe.size,startAdornment:ne,type:re},ot=VC(Ht),dt=X.root||p.Root||Vp,gt=G.root||h.root||{},ft=X.input||p.Input||Ip;return He={...He,...G.input??h.input},v.jsxs(y.Fragment,{children:[!w&&typeof tx=="function"&&(ex||(ex=v.jsx(tx,{}))),v.jsxs(dt,{...gt,ref:n,onClick:ce,...ue,...!yu(dt)&&{ownerState:{...Ht,...gt.ownerState}},className:Oe(ot.root,gt.className,u,$&&"MuiInputBase-readOnly"),children:[ne,v.jsx(Xp.Provider,{value:null,children:v.jsx(ft,{"aria-invalid":Fe.error,"aria-describedby":s,autoComplete:a,autoFocus:l,defaultValue:m,disabled:Fe.disabled,id:S,onAnimationStart:Ge,name:L,placeholder:_,readOnly:$,required:Fe.required,rows:K,value:be,onKeyDown:te,onKeyUp:J,type:re,...He,...!yu(ft)&&{as:xe,ownerState:{...Ht,...He.ownerState}},ref:Ve,className:Oe(ot.input,He.className,$&&"MuiInputBase-readOnly"),onBlur:oe,onChange:Ae,onFocus:U})}),A,Q?Q({...Fe,startAdornment:ne}):null]})]})});function IC(e){return Ue("MuiInput",e)}const ai={...Vr,...Qe("MuiInput",["root","underline","input"])};function WC(e){return Ue("MuiOutlinedInput",e)}const ro={...Vr,...Qe("MuiOutlinedInput",["root","notchedOutline","input"])};function JC(e){return Ue("MuiFilledInput",e)}const Ir={...Vr,...Qe("MuiFilledInput",["root","underline","input","adornedStart","adornedEnd","sizeSmall","multiline","hiddenLabel"])},A1=At(v.jsx("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown");function FC(e){return Ue("MuiAutocomplete",e)}const Ct=Qe("MuiAutocomplete",["root","expanded","fullWidth","focused","focusVisible","tag","tagSizeSmall","tagSizeMedium","hasPopupIcon","hasClearIcon","inputRoot","input","inputFocused","endAdornment","clearIndicator","popupIndicator","popupIndicatorOpen","popper","popperDisablePortal","paper","listbox","loading","noOptions","option","groupLabel","groupUl"]);var nx,rx;const YC=e=>{const{classes:t,disablePortal:n,expanded:r,focused:s,fullWidth:a,hasClearIcon:l,hasPopupIcon:u,inputFocused:f,popupOpen:p,size:h}=e,m={root:["root",r&&"expanded",s&&"focused",a&&"fullWidth",l&&"hasClearIcon",u&&"hasPopupIcon"],inputRoot:["inputRoot"],input:["input",f&&"inputFocused"],tag:["tag",`tagSize${me(h)}`],endAdornment:["endAdornment"],clearIndicator:["clearIndicator"],popupIndicator:["popupIndicator",p&&"popupIndicatorOpen"],popper:["popper",n&&"popperDisablePortal"],paper:["paper"],listbox:["listbox"],loading:["loading"],noOptions:["noOptions"],option:["option"],groupLabel:["groupLabel"],groupUl:["groupUl"]};return Ke(m,FC,t)},qC=ve("div",{name:"MuiAutocomplete",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e,{fullWidth:r,hasClearIcon:s,hasPopupIcon:a,inputFocused:l,size:u}=n;return[{[`& .${Ct.tag}`]:t.tag},{[`& .${Ct.tag}`]:t[`tagSize${me(u)}`]},{[`& .${Ct.inputRoot}`]:t.inputRoot},{[`& .${Ct.input}`]:t.input},{[`& .${Ct.input}`]:l&&t.inputFocused},t.root,r&&t.fullWidth,a&&t.hasPopupIcon,s&&t.hasClearIcon]}})({[`&.${Ct.focused} .${Ct.clearIndicator}`]:{visibility:"visible"},"@media (pointer: fine)":{[`&:hover .${Ct.clearIndicator}`]:{visibility:"visible"}},[`& .${Ct.tag}`]:{margin:3,maxWidth:"calc(100% - 6px)"},[`& .${Ct.inputRoot}`]:{[`.${Ct.hasPopupIcon}&, .${Ct.hasClearIcon}&`]:{paddingRight:30},[`.${Ct.hasPopupIcon}.${Ct.hasClearIcon}&`]:{paddingRight:56},[`& .${Ct.input}`]:{width:0,minWidth:30}},[`& .${ai.root}`]:{paddingBottom:1,"& .MuiInput-input":{padding:"4px 4px 4px 0px"}},[`& .${ai.root}.${Vr.sizeSmall}`]:{[`& .${ai.input}`]:{padding:"2px 4px 3px 0"}},[`& .${ro.root}`]:{padding:9,[`.${Ct.hasPopupIcon}&, .${Ct.hasClearIcon}&`]:{paddingRight:39},[`.${Ct.hasPopupIcon}.${Ct.hasClearIcon}&`]:{paddingRight:65},[`& .${Ct.input}`]:{padding:"7.5px 4px 7.5px 5px"},[`& .${Ct.endAdornment}`]:{right:9}},[`& .${ro.root}.${Vr.sizeSmall}`]:{paddingTop:6,paddingBottom:6,paddingLeft:6,[`& .${Ct.input}`]:{padding:"2.5px 4px 2.5px 8px"}},[`& .${Ir.root}`]:{paddingTop:19,paddingLeft:8,[`.${Ct.hasPopupIcon}&, .${Ct.hasClearIcon}&`]:{paddingRight:39},[`.${Ct.hasPopupIcon}.${Ct.hasClearIcon}&`]:{paddingRight:65},[`& .${Ir.input}`]:{padding:"7px 4px"},[`& .${Ct.endAdornment}`]:{right:9}},[`& .${Ir.root}.${Vr.sizeSmall}`]:{paddingBottom:1,[`& .${Ir.input}`]:{padding:"2.5px 4px"}},[`& .${Vr.hiddenLabel}`]:{paddingTop:8},[`& .${Ir.root}.${Vr.hiddenLabel}`]:{paddingTop:0,paddingBottom:0,[`& .${Ct.input}`]:{paddingTop:16,paddingBottom:17}},[`& .${Ir.root}.${Vr.hiddenLabel}.${Vr.sizeSmall}`]:{[`& .${Ct.input}`]:{paddingTop:8,paddingBottom:9}},[`& .${Ct.input}`]:{flexGrow:1,textOverflow:"ellipsis",opacity:0},variants:[{props:{fullWidth:!0},style:{width:"100%"}},{props:{size:"small"},style:{[`& .${Ct.tag}`]:{margin:2,maxWidth:"calc(100% - 4px)"}}},{props:{inputFocused:!0},style:{[`& .${Ct.input}`]:{opacity:1}}},{props:{multiple:!0},style:{[`& .${Ct.inputRoot}`]:{flexWrap:"wrap"}}}]}),ZC=ve("div",{name:"MuiAutocomplete",slot:"EndAdornment",overridesResolver:(e,t)=>t.endAdornment})({position:"absolute",right:0,top:"50%",transform:"translate(0, -50%)"}),GC=ve(Sr,{name:"MuiAutocomplete",slot:"ClearIndicator",overridesResolver:(e,t)=>t.clearIndicator})({marginRight:-2,padding:4,visibility:"hidden"}),UC=ve(Sr,{name:"MuiAutocomplete",slot:"PopupIndicator",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.popupIndicator,n.popupOpen&&t.popupIndicatorOpen]}})({padding:2,marginRight:-2,variants:[{props:{popupOpen:!0},style:{transform:"rotate(180deg)"}}]}),QC=ve(Lp,{name:"MuiAutocomplete",slot:"Popper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${Ct.option}`]:t.option},t.popper,n.disablePortal&&t.popperDisablePortal]}})(tt(({theme:e})=>({zIndex:(e.vars||e).zIndex.modal,variants:[{props:{disablePortal:!0},style:{position:"absolute"}}]}))),KC=ve(qr,{name:"MuiAutocomplete",slot:"Paper",overridesResolver:(e,t)=>t.paper})(tt(({theme:e})=>({...e.typography.body1,overflow:"auto"}))),_C=ve("div",{name:"MuiAutocomplete",slot:"Loading",overridesResolver:(e,t)=>t.loading})(tt(({theme:e})=>({color:(e.vars||e).palette.text.secondary,padding:"14px 16px"}))),$C=ve("div",{name:"MuiAutocomplete",slot:"NoOptions",overridesResolver:(e,t)=>t.noOptions})(tt(({theme:e})=>({color:(e.vars||e).palette.text.secondary,padding:"14px 16px"}))),eO=ve("ul",{name:"MuiAutocomplete",slot:"Listbox",overridesResolver:(e,t)=>t.listbox})(tt(({theme:e})=>({listStyle:"none",margin:0,padding:"8px 0",maxHeight:"40vh",overflow:"auto",position:"relative",[`& .${Ct.option}`]:{minHeight:48,display:"flex",overflow:"hidden",justifyContent:"flex-start",alignItems:"center",cursor:"pointer",paddingTop:6,boxSizing:"border-box",outline:"0",WebkitTapHighlightColor:"transparent",paddingBottom:6,paddingLeft:16,paddingRight:16,[e.breakpoints.up("sm")]:{minHeight:"auto"},[`&.${Ct.focused}`]:{backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},'&[aria-disabled="true"]':{opacity:(e.vars||e).palette.action.disabledOpacity,pointerEvents:"none"},[`&.${Ct.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},'&[aria-selected="true"]':{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Pt(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${Ct.focused}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:Pt(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:(e.vars||e).palette.action.selected}},[`&.${Ct.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Pt(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}}}}))),tO=ve(tg,{name:"MuiAutocomplete",slot:"GroupLabel",overridesResolver:(e,t)=>t.groupLabel})(tt(({theme:e})=>({backgroundColor:(e.vars||e).palette.background.paper,top:-8}))),nO=ve("ul",{name:"MuiAutocomplete",slot:"GroupUl",overridesResolver:(e,t)=>t.groupUl})({padding:0,[`& .${Ct.option}`]:{paddingLeft:24}}),rO=y.forwardRef(function(t,n){const r=nt({props:t,name:"MuiAutocomplete"}),{autoComplete:s=!1,autoHighlight:a=!1,autoSelect:l=!1,blurOnSelect:u=!1,ChipProps:f,className:p,clearIcon:h=nx||(nx=v.jsx(l1,{fontSize:"small"})),clearOnBlur:m=!r.freeSolo,clearOnEscape:x=!1,clearText:w="Clear",closeText:A="Close",componentsProps:P,defaultValue:H=r.multiple?[]:null,disableClearable:S=!1,disableCloseOnSelect:C=!1,disabled:z=!1,disabledItemsFocusable:O=!1,disableListWrap:D=!1,disablePortal:k=!1,filterOptions:E,filterSelectedOptions:M=!1,forcePopupIcon:L="auto",freeSolo:j=!1,fullWidth:N=!1,getLimitTagsText:W=Xt=>`+${Xt}`,getOptionDisabled:I,getOptionKey:te,getOptionLabel:J,isOptionEqualToValue:_,groupBy:$,handleHomeEndKeys:Q=!r.freeSolo,id:K,includeInputInList:R=!1,inputValue:G,limitTags:X=-1,ListboxComponent:ne,ListboxProps:re,loading:ie=!1,loadingText:ue="Loading…",multiple:be=!1,noOptionsText:ae="No options",onChange:Se,onClose:Le,onHighlightChange:Ve,onInputChange:Pe,onOpen:_e,open:we,openOnFocus:Fe=!1,openText:yt="Open",options:ke,PaperComponent:V,PopperComponent:U,popupIcon:oe=rx||(rx=v.jsx(A1,{})),readOnly:Ae=!1,renderGroup:ce,renderInput:xe,renderOption:He,renderTags:Ge,selectOnFocus:Ht=!r.freeSolo,size:ot="medium",slots:dt={},slotProps:gt={},value:ft,...Be}=r,{getRootProps:kt,getInputProps:Vt,getInputLabelProps:Ut,getPopupIndicatorProps:Y,getClearProps:F,getTagProps:ge,getListboxProps:Ce,getOptionProps:Re,value:Ne,dirty:qe,expanded:Te,id:st,popupOpen:ut,focused:Lt,focusedTag:Qt,anchorEl:We,setAnchorEl:Et,inputValue:vn,groupedOptions:Pn}=uS({...r,componentName:"Autocomplete"}),Gn=!S&&!z&&qe&&!Ae,bn=(!j||L===!0)&&L!==!1,{onMouseDown:Rr}=Vt(),{ref:ho,...Wo}=Ce(),mo=J||(Xt=>Xt.label??Xt),xn={...r,disablePortal:k,expanded:Te,focused:Lt,fullWidth:N,getOptionLabel:mo,hasClearIcon:Gn,hasPopupIcon:bn,inputFocused:Qt===-1,popupOpen:ut,size:ot},hn=YC(xn),Ee={slots:{paper:V,popper:U,...dt},slotProps:{chip:f,listbox:re,...P,...gt}},[Ze,fe]=Tt("listbox",{elementType:eO,externalForwardedProps:Ee,ownerState:xn,className:hn.listbox,additionalProps:Wo,ref:ho}),[de,Me]=Tt("paper",{elementType:qr,externalForwardedProps:Ee,ownerState:xn,className:hn.paper}),[rt,xt]=Tt("popper",{elementType:Lp,externalForwardedProps:Ee,ownerState:xn,className:hn.popper,additionalProps:{disablePortal:k,style:{width:We?We.clientWidth:null},role:"presentation",anchorEl:We,open:ut}});let It;if(be&&Ne.length>0){const Xt=Ur=>({className:hn.tag,disabled:z,...ge(Ur)});Ge?It=Ge(Ne,Xt,xn):It=Ne.map((Ur,go)=>{const{key:Fo,...Qr}=Xt({index:go});return v.jsx(Ju,{label:mo(Ur),size:ot,...Qr,...Ee.slotProps.chip},Fo)})}if(X>-1&&Array.isArray(It)){const Xt=It.length-X;!Lt&&Xt>0&&(It=It.splice(0,X),It.push(v.jsx("span",{className:hn.tag,children:W(Xt)},It.length)))}const Xn=ce||(Xt=>v.jsxs("li",{children:[v.jsx(tO,{className:hn.groupLabel,ownerState:xn,component:"div",children:Xt.group}),v.jsx(nO,{className:hn.groupUl,ownerState:xn,children:Xt.children})]},Xt.key)),nn=He||((Xt,Ur)=>{const{key:go,...Fo}=Xt;return v.jsx("li",{...Fo,children:mo(Ur)},go)}),Si=(Xt,Ur)=>{const go=Re({option:Xt,index:Ur});return nn({...go,className:hn.option},Xt,{selected:go["aria-selected"],index:Ur,inputValue:vn},xn)},Ns=Ee.slotProps.clearIndicator,Ci=Ee.slotProps.popupIndicator;return v.jsxs(y.Fragment,{children:[v.jsx(qC,{ref:n,className:Oe(hn.root,p),ownerState:xn,...kt(Be),children:xe({id:st,disabled:z,fullWidth:!0,size:ot==="small"?"small":void 0,InputLabelProps:Ut(),InputProps:{ref:Et,className:hn.inputRoot,startAdornment:It,onMouseDown:Xt=>{Xt.target===Xt.currentTarget&&Rr(Xt)},...(Gn||bn)&&{endAdornment:v.jsxs(ZC,{className:hn.endAdornment,ownerState:xn,children:[Gn?v.jsx(GC,{...F(),"aria-label":w,title:w,ownerState:xn,...Ns,className:Oe(hn.clearIndicator,Ns==null?void 0:Ns.className),children:h}):null,bn?v.jsx(UC,{...Y(),disabled:z,"aria-label":ut?A:yt,title:ut?A:yt,ownerState:xn,...Ci,className:Oe(hn.popupIndicator,Ci==null?void 0:Ci.className),children:oe}):null]})}},inputProps:{className:hn.input,disabled:z,readOnly:Ae,...Vt()}})}),We?v.jsx(QC,{as:rt,...xt,children:v.jsxs(KC,{as:de,...Me,children:[ie&&Pn.length===0?v.jsx(_C,{className:hn.loading,ownerState:xn,children:ue}):null,Pn.length===0&&!j&&!ie?v.jsx($C,{className:hn.noOptions,ownerState:xn,role:"presentation",onMouseDown:Xt=>{Xt.preventDefault()},children:ae}):null,Pn.length>0?v.jsx(Ze,{as:ne,...fe,children:Pn.map((Xt,Ur)=>$?Xn({key:Xt.key,group:Xt.group,children:Xt.options.map((go,Fo)=>Si(go,Xt.index+Fo))}):Si(Xt,Ur))}):null]})}):null]})}),oO={entering:{opacity:1},entered:{opacity:1}},ng=y.forwardRef(function(t,n){const r=Gr(),s={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{addEndListener:a,appear:l=!0,children:u,easing:f,in:p,onEnter:h,onEntered:m,onEntering:x,onExit:w,onExited:A,onExiting:P,style:H,timeout:S=s,TransitionComponent:C=No,...z}=t,O=y.useRef(null),D=sn(O,wi(u),n),k=te=>J=>{if(te){const _=O.current;J===void 0?te(_):te(_,J)}},E=k(x),M=k((te,J)=>{fy(te);const _=zl({style:H,timeout:S,easing:f},{mode:"enter"});te.style.webkitTransition=r.transitions.create("opacity",_),te.style.transition=r.transitions.create("opacity",_),h&&h(te,J)}),L=k(m),j=k(P),N=k(te=>{const J=zl({style:H,timeout:S,easing:f},{mode:"exit"});te.style.webkitTransition=r.transitions.create("opacity",J),te.style.transition=r.transitions.create("opacity",J),w&&w(te)}),W=k(A),I=te=>{a&&a(O.current,te)};return v.jsx(C,{appear:l,in:p,nodeRef:O,onEnter:M,onEntered:L,onEntering:E,onExit:N,onExited:W,onExiting:j,addEndListener:I,timeout:S,...z,children:(te,{ownerState:J,..._})=>y.cloneElement(u,{style:{opacity:0,visibility:te==="exited"&&!p?"hidden":void 0,...oO[te],...H,...u.props.style},ref:D,..._})})});function sO(e){return Ue("MuiBackdrop",e)}Qe("MuiBackdrop",["root","invisible"]);const iO=e=>{const{classes:t,invisible:n}=e;return Ke({root:["root",n&&"invisible"]},sO,t)},aO=ve("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.invisible&&t.invisible]}})({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent",variants:[{props:{invisible:!0},style:{backgroundColor:"transparent"}}]}),P1=y.forwardRef(function(t,n){const r=nt({props:t,name:"MuiBackdrop"}),{children:s,className:a,component:l="div",invisible:u=!1,open:f,components:p={},componentsProps:h={},slotProps:m={},slots:x={},TransitionComponent:w,transitionDuration:A,...P}=r,H={...r,component:l,invisible:u},S=iO(H),C={transition:w,root:p.Root,...x},z={...h,...m},O={slots:C,slotProps:z},[D,k]=Tt("root",{elementType:aO,externalForwardedProps:O,className:Oe(S.root,a),ownerState:H}),[E,M]=Tt("transition",{elementType:ng,externalForwardedProps:O,ownerState:H});return v.jsx(E,{in:f,timeout:A,...P,...M,children:v.jsx(D,{"aria-hidden":!0,...k,classes:S,ref:n,children:s})})}),lO=Qe("MuiBox",["root"]),cO=Bu(),mt=PH({themeId:ko,defaultTheme:cO,defaultClassName:lO.root,generateClassName:T0.generate});function uO(e){return Ue("MuiButton",e)}const Ii=Qe("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"]),fO=y.createContext({}),dO=y.createContext(void 0),pO=e=>{const{color:t,disableElevation:n,fullWidth:r,size:s,variant:a,loading:l,loadingPosition:u,classes:f}=e,p={root:["root",l&&"loading",a,`${a}${me(t)}`,`size${me(s)}`,`${a}Size${me(s)}`,`color${me(t)}`,n&&"disableElevation",r&&"fullWidth",l&&`loadingPosition${me(u)}`],startIcon:["icon","startIcon",`iconSize${me(s)}`],endIcon:["icon","endIcon",`iconSize${me(s)}`],loadingIndicator:["loadingIndicator"],loadingWrapper:["loadingWrapper"]},h=Ke(p,uO,f);return{...f,...h}},b1=[{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}}}],vO=ve(fa,{shouldForwardProp:e=>Zn(e)||e==="classes",name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`${n.variant}${me(n.color)}`],t[`size${me(n.size)}`],t[`${n.variant}Size${me(n.size)}`],n.color==="inherit"&&t.colorInherit,n.disableElevation&&t.disableElevation,n.fullWidth&&t.fullWidth,n.loading&&t.loading]}})(tt(({theme:e})=>{const t=e.palette.mode==="light"?e.palette.grey[300]:e.palette.grey[800],n=e.palette.mode==="light"?e.palette.grey.A100:e.palette.grey[700];return{...e.typography.button,minWidth:64,padding:"6px 16px",border:0,borderRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create(["background-color","box-shadow","border-color","color"],{duration:e.transitions.duration.short}),"&:hover":{textDecoration:"none"},[`&.${Ii.disabled}`]:{color:(e.vars||e).palette.action.disabled},variants:[{props:{variant:"contained"},style:{color:"var(--variant-containedColor)",backgroundColor:"var(--variant-containedBg)",boxShadow:(e.vars||e).shadows[2],"&:hover":{boxShadow:(e.vars||e).shadows[4],"@media (hover: none)":{boxShadow:(e.vars||e).shadows[2]}},"&:active":{boxShadow:(e.vars||e).shadows[8]},[`&.${Ii.focusVisible}`]:{boxShadow:(e.vars||e).shadows[6]},[`&.${Ii.disabled}`]:{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground}}},{props:{variant:"outlined"},style:{padding:"5px 15px",border:"1px solid currentColor",borderColor:"var(--variant-outlinedBorder, currentColor)",backgroundColor:"var(--variant-outlinedBg)",color:"var(--variant-outlinedColor)",[`&.${Ii.disabled}`]:{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`}}},{props:{variant:"text"},style:{padding:"6px 8px",color:"var(--variant-textColor)",backgroundColor:"var(--variant-textBg)"}},...Object.entries(e.palette).filter(yn()).map(([r])=>({props:{color:r},style:{"--variant-textColor":(e.vars||e).palette[r].main,"--variant-outlinedColor":(e.vars||e).palette[r].main,"--variant-outlinedBorder":e.vars?`rgba(${e.vars.palette[r].mainChannel} / 0.5)`:Pt(e.palette[r].main,.5),"--variant-containedColor":(e.vars||e).palette[r].contrastText,"--variant-containedBg":(e.vars||e).palette[r].main,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":(e.vars||e).palette[r].dark,"--variant-textBg":e.vars?`rgba(${e.vars.palette[r].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Pt(e.palette[r].main,e.palette.action.hoverOpacity),"--variant-outlinedBorder":(e.vars||e).palette[r].main,"--variant-outlinedBg":e.vars?`rgba(${e.vars.palette[r].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Pt(e.palette[r].main,e.palette.action.hoverOpacity)}}}})),{props:{color:"inherit"},style:{color:"inherit",borderColor:"currentColor","--variant-containedBg":e.vars?e.vars.palette.Button.inheritContainedBg:t,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":e.vars?e.vars.palette.Button.inheritContainedHoverBg:n,"--variant-textBg":e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:Pt(e.palette.text.primary,e.palette.action.hoverOpacity),"--variant-outlinedBg":e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:Pt(e.palette.text.primary,e.palette.action.hoverOpacity)}}}},{props:{size:"small",variant:"text"},style:{padding:"4px 5px",fontSize:e.typography.pxToRem(13)}},{props:{size:"large",variant:"text"},style:{padding:"8px 11px",fontSize:e.typography.pxToRem(15)}},{props:{size:"small",variant:"outlined"},style:{padding:"3px 9px",fontSize:e.typography.pxToRem(13)}},{props:{size:"large",variant:"outlined"},style:{padding:"7px 21px",fontSize:e.typography.pxToRem(15)}},{props:{size:"small",variant:"contained"},style:{padding:"4px 10px",fontSize:e.typography.pxToRem(13)}},{props:{size:"large",variant:"contained"},style:{padding:"8px 22px",fontSize:e.typography.pxToRem(15)}},{props:{disableElevation:!0},style:{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${Ii.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${Ii.disabled}`]:{boxShadow:"none"}}},{props:{fullWidth:!0},style:{width:"100%"}},{props:{loadingPosition:"center"},style:{transition:e.transitions.create(["background-color","box-shadow","border-color"],{duration:e.transitions.duration.short}),[`&.${Ii.loading}`]:{color:"transparent"}}}]}})),hO=ve("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.startIcon,n.loading&&t.startIconLoadingStart,t[`iconSize${me(n.size)}`]]}})(({theme:e})=>({display:"inherit",marginRight:8,marginLeft:-4,variants:[{props:{size:"small"},style:{marginLeft:-2}},{props:{loadingPosition:"start",loading:!0},style:{transition:e.transitions.create(["opacity"],{duration:e.transitions.duration.short}),opacity:0}},{props:{loadingPosition:"start",loading:!0,fullWidth:!0},style:{marginRight:-8}},...b1]})),mO=ve("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.endIcon,n.loading&&t.endIconLoadingEnd,t[`iconSize${me(n.size)}`]]}})(({theme:e})=>({display:"inherit",marginRight:-4,marginLeft:8,variants:[{props:{size:"small"},style:{marginRight:-2}},{props:{loadingPosition:"end",loading:!0},style:{transition:e.transitions.create(["opacity"],{duration:e.transitions.duration.short}),opacity:0}},{props:{loadingPosition:"end",loading:!0,fullWidth:!0},style:{marginLeft:-8}},...b1]})),gO=ve("span",{name:"MuiButton",slot:"LoadingIndicator",overridesResolver:(e,t)=>t.loadingIndicator})(({theme:e})=>({display:"none",position:"absolute",visibility:"visible",variants:[{props:{loading:!0},style:{display:"flex"}},{props:{loadingPosition:"start"},style:{left:14}},{props:{loadingPosition:"start",size:"small"},style:{left:10}},{props:{variant:"text",loadingPosition:"start"},style:{left:6}},{props:{loadingPosition:"center"},style:{left:"50%",transform:"translate(-50%)",color:(e.vars||e).palette.action.disabled}},{props:{loadingPosition:"end"},style:{right:14}},{props:{loadingPosition:"end",size:"small"},style:{right:10}},{props:{variant:"text",loadingPosition:"end"},style:{right:6}},{props:{loadingPosition:"start",fullWidth:!0},style:{position:"relative",left:-10}},{props:{loadingPosition:"end",fullWidth:!0},style:{position:"relative",right:-10}}]})),ox=ve("span",{name:"MuiButton",slot:"LoadingIconPlaceholder",overridesResolver:(e,t)=>t.loadingIconPlaceholder})({display:"inline-block",width:"1em",height:"1em"}),Nt=y.forwardRef(function(t,n){const r=y.useContext(fO),s=y.useContext(dO),a=hu(r,t),l=nt({props:a,name:"MuiButton"}),{children:u,color:f="primary",component:p="button",className:h,disabled:m=!1,disableElevation:x=!1,disableFocusRipple:w=!1,endIcon:A,focusVisibleClassName:P,fullWidth:H=!1,id:S,loading:C=null,loadingIndicator:z,loadingPosition:O="center",size:D="medium",startIcon:k,type:E,variant:M="text",...L}=l,j=us(S),N=z??v.jsx(Vu,{"aria-labelledby":j,color:"inherit",size:16}),W={...l,color:f,component:p,disabled:m,disableElevation:x,disableFocusRipple:w,fullWidth:H,loading:C,loadingIndicator:N,loadingPosition:O,size:D,type:E,variant:M},I=pO(W),te=(k||C&&O==="start")&&v.jsx(hO,{className:I.startIcon,ownerState:W,children:k||v.jsx(ox,{className:I.loadingIconPlaceholder,ownerState:W})}),J=(A||C&&O==="end")&&v.jsx(mO,{className:I.endIcon,ownerState:W,children:A||v.jsx(ox,{className:I.loadingIconPlaceholder,ownerState:W})}),_=s||"",$=typeof C=="boolean"?v.jsx("span",{className:I.loadingWrapper,style:{display:"contents"},children:C&&v.jsx(gO,{className:I.loadingIndicator,ownerState:W,children:N})}):null;return v.jsxs(vO,{ownerState:W,className:Oe(r.className,I.root,h,_),component:p,disabled:m||C,focusRipple:!w,focusVisibleClassName:Oe(I.focusVisible,P),ref:n,type:E,id:C?j:S,...L,classes:I,children:[te,O!=="end"&&$,u,O==="end"&&$,J]})});function yO(e){return Ue("MuiCard",e)}Qe("MuiCard",["root"]);const AO=e=>{const{classes:t}=e;return Ke({root:["root"]},yO,t)},PO=ve(qr,{name:"MuiCard",slot:"Root",overridesResolver:(e,t)=>t.root})({overflow:"hidden"}),x1=y.forwardRef(function(t,n){const r=nt({props:t,name:"MuiCard"}),{className:s,raised:a=!1,...l}=r,u={...r,raised:a},f=AO(u);return v.jsx(PO,{className:Oe(f.root,s),elevation:a?8:void 0,ref:n,ownerState:u,...l})});function bO(e){return Ue("MuiCardContent",e)}Qe("MuiCardContent",["root"]);const xO=e=>{const{classes:t}=e;return Ke({root:["root"]},bO,t)},wO=ve("div",{name:"MuiCardContent",slot:"Root",overridesResolver:(e,t)=>t.root})({padding:16,"&:last-child":{paddingBottom:24}}),rg=y.forwardRef(function(t,n){const r=nt({props:t,name:"MuiCardContent"}),{className:s,component:a="div",...l}=r,u={...r,component:a},f=xO(u);return v.jsx(wO,{as:a,className:Oe(f.root,s),ownerState:u,ref:n,...l})});function HO(e){return Ue("MuiCardMedia",e)}Qe("MuiCardMedia",["root","media","img"]);const jO=e=>{const{classes:t,isMediaComponent:n,isImageComponent:r}=e;return Ke({root:["root",n&&"media",r&&"img"]},HO,t)},zO=ve("div",{name:"MuiCardMedia",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e,{isMediaComponent:r,isImageComponent:s}=n;return[t.root,r&&t.media,s&&t.img]}})({display:"block",backgroundSize:"cover",backgroundRepeat:"no-repeat",backgroundPosition:"center",variants:[{props:{isMediaComponent:!0},style:{width:"100%"}},{props:{isImageComponent:!0},style:{objectFit:"cover"}}]}),SO=["video","audio","picture","iframe","img"],CO=["picture","img"],OO=y.forwardRef(function(t,n){const r=nt({props:t,name:"MuiCardMedia"}),{children:s,className:a,component:l="div",image:u,src:f,style:p,...h}=r,m=SO.includes(l),x=!m&&u?{backgroundImage:`url("${u}")`,...p}:p,w={...r,component:l,isMediaComponent:m,isImageComponent:CO.includes(l)},A=jO(w);return v.jsx(zO,{className:Oe(A.root,a),as:l,role:!m&&u?"img":void 0,ref:n,style:x,ownerState:w,src:m?u||f:void 0,...h,children:s})});function DO(e){return Ue("PrivateSwitchBase",e)}Qe("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);const TO=e=>{const{classes:t,checked:n,disabled:r,edge:s}=e,a={root:["root",n&&"checked",r&&"disabled",s&&`edge${me(s)}`],input:["input"]};return Ke(a,DO,t)},kO=ve(fa)({padding:9,borderRadius:"50%",variants:[{props:{edge:"start",size:"small"},style:{marginLeft:-3}},{props:({edge:e,ownerState:t})=>e==="start"&&t.size!=="small",style:{marginLeft:-12}},{props:{edge:"end",size:"small"},style:{marginRight:-3}},{props:({edge:e,ownerState:t})=>e==="end"&&t.size!=="small",style:{marginRight:-12}}]}),EO=ve("input",{shouldForwardProp:Zn})({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}),Py=y.forwardRef(function(t,n){const{autoFocus:r,checked:s,checkedIcon:a,className:l,defaultChecked:u,disabled:f,disableFocusRipple:p=!1,edge:h=!1,icon:m,id:x,inputProps:w,inputRef:A,name:P,onBlur:H,onChange:S,onFocus:C,readOnly:z,required:O=!1,tabIndex:D,type:k,value:E,...M}=t,[L,j]=Ai({controlled:s,default:!!u,name:"SwitchBase",state:"checked"}),N=Bo(),W=K=>{C&&C(K),N&&N.onFocus&&N.onFocus(K)},I=K=>{H&&H(K),N&&N.onBlur&&N.onBlur(K)},te=K=>{if(K.nativeEvent.defaultPrevented)return;const R=K.target.checked;j(R),S&&S(K,R)};let J=f;N&&typeof J>"u"&&(J=N.disabled);const _=k==="checkbox"||k==="radio",$={...t,checked:L,disabled:J,disableFocusRipple:p,edge:h},Q=TO($);return v.jsxs(kO,{component:"span",className:Oe(Q.root,l),centerRipple:!0,focusRipple:!p,disabled:J,tabIndex:null,role:void 0,onFocus:W,onBlur:I,ownerState:$,ref:n,...M,children:[v.jsx(EO,{autoFocus:r,checked:s,defaultChecked:u,className:Q.input,disabled:J,id:_?x:void 0,name:P,onChange:te,readOnly:z,ref:A,required:O,ownerState:$,tabIndex:D,type:k,...k==="checkbox"&&E===void 0?{}:{value:E},...w}),L?a:m]})}),RO=At(v.jsx("path",{d:"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"}),"CheckBoxOutlineBlank"),MO=At(v.jsx("path",{d:"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"}),"CheckBox"),LO=At(v.jsx("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z"}),"IndeterminateCheckBox");function XO(e){return Ue("MuiCheckbox",e)}const dm=Qe("MuiCheckbox",["root","checked","disabled","indeterminate","colorPrimary","colorSecondary","sizeSmall","sizeMedium"]),NO=e=>{const{classes:t,indeterminate:n,color:r,size:s}=e,a={root:["root",n&&"indeterminate",`color${me(r)}`,`size${me(s)}`]},l=Ke(a,XO,t);return{...t,...l}},BO=ve(Py,{shouldForwardProp:e=>Zn(e)||e==="classes",name:"MuiCheckbox",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.indeterminate&&t.indeterminate,t[`size${me(n.size)}`],n.color!=="default"&&t[`color${me(n.color)}`]]}})(tt(({theme:e})=>({color:(e.vars||e).palette.text.secondary,variants:[{props:{color:"default",disableRipple:!1},style:{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:Pt(e.palette.action.active,e.palette.action.hoverOpacity)}}},...Object.entries(e.palette).filter(yn()).map(([t])=>({props:{color:t,disableRipple:!1},style:{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette[t].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Pt(e.palette[t].main,e.palette.action.hoverOpacity)}}})),...Object.entries(e.palette).filter(yn()).map(([t])=>({props:{color:t},style:{[`&.${dm.checked}, &.${dm.indeterminate}`]:{color:(e.vars||e).palette[t].main},[`&.${dm.disabled}`]:{color:(e.vars||e).palette.action.disabled}}})),{props:{disableRipple:!1},style:{"&:hover":{"@media (hover: none)":{backgroundColor:"transparent"}}}}]}))),VO=v.jsx(MO,{}),IO=v.jsx(RO,{}),WO=v.jsx(LO,{}),sx=y.forwardRef(function(t,n){const r=nt({props:t,name:"MuiCheckbox"}),{checkedIcon:s=VO,color:a="primary",icon:l=IO,indeterminate:u=!1,indeterminateIcon:f=WO,inputProps:p,size:h="medium",disableRipple:m=!1,className:x,...w}=r,A=u?f:l,P=u?f:s,H={...r,disableRipple:m,color:a,indeterminate:u,size:h},S=NO(H);return v.jsx(BO,{type:"checkbox",inputProps:{"data-indeterminate":u,...p},icon:y.cloneElement(A,{fontSize:A.props.fontSize??h}),checkedIcon:y.cloneElement(P,{fontSize:P.props.fontSize??h}),ownerState:H,ref:n,className:Oe(S.root,x),disableRipple:m,...w,classes:S})});function ix(e){return e.substring(2).toLowerCase()}function JO(e,t){return t.documentElement.clientWidth(setTimeout(()=>{f.current=!0},0),()=>{f.current=!1}),[]);const h=sn(wi(t),u),m=hr(A=>{const P=p.current;p.current=!1;const H=ir(u.current);if(!f.current||!u.current||"clientX"in A&&JO(A,H))return;if(l.current){l.current=!1;return}let S;A.composedPath?S=A.composedPath().includes(u.current):S=!H.documentElement.contains(A.target)||u.current.contains(A.target),!S&&(n||!P)&&s(A)}),x=A=>P=>{p.current=!0;const H=t.props[A];H&&H(P)},w={ref:h};return a!==!1&&(w[a]=x(a)),y.useEffect(()=>{if(a!==!1){const A=ix(a),P=ir(u.current),H=()=>{l.current=!0};return P.addEventListener(A,m),P.addEventListener("touchmove",H),()=>{P.removeEventListener(A,m),P.removeEventListener("touchmove",H)}}},[m,a]),r!==!1&&(w[r]=x(r)),y.useEffect(()=>{if(r!==!1){const A=ix(r),P=ir(u.current);return P.addEventListener(A,m),()=>{P.removeEventListener(A,m)}}},[m,r]),y.cloneElement(t,w)}const og=typeof ly({})=="function",FO=(e,t)=>({WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",boxSizing:"border-box",WebkitTextSizeAdjust:"100%",...t&&!e.vars&&{colorScheme:e.palette.mode}}),YO=e=>({color:(e.vars||e).palette.text.primary,...e.typography.body1,backgroundColor:(e.vars||e).palette.background.default,"@media print":{backgroundColor:(e.vars||e).palette.common.white}}),H1=(e,t=!1)=>{var a,l;const n={};t&&e.colorSchemes&&typeof e.getColorSchemeSelector=="function"&&Object.entries(e.colorSchemes).forEach(([u,f])=>{var h,m;const p=e.getColorSchemeSelector(u);p.startsWith("@")?n[p]={":root":{colorScheme:(h=f.palette)==null?void 0:h.mode}}:n[p.replace(/\s*&/,"")]={colorScheme:(m=f.palette)==null?void 0:m.mode}});let r={html:FO(e,t),"*, *::before, *::after":{boxSizing:"inherit"},"strong, b":{fontWeight:e.typography.fontWeightBold},body:{margin:0,...YO(e),"&::backdrop":{backgroundColor:(e.vars||e).palette.background.default}},...n};const s=(l=(a=e.components)==null?void 0:a.MuiCssBaseline)==null?void 0:l.styleOverrides;return s&&(r=[r,s]),r},Md="mui-ecs",qO=e=>{const t=H1(e,!1),n=Array.isArray(t)?t[0]:t;return!e.vars&&n&&(n.html[`:root:has(${Md})`]={colorScheme:e.palette.mode}),e.colorSchemes&&Object.entries(e.colorSchemes).forEach(([r,s])=>{var l,u;const a=e.getColorSchemeSelector(r);a.startsWith("@")?n[a]={[`:root:not(:has(.${Md}))`]:{colorScheme:(l=s.palette)==null?void 0:l.mode}}:n[a.replace(/\s*&/,"")]={[`&:not(:has(.${Md}))`]:{colorScheme:(u=s.palette)==null?void 0:u.mode}}}),t},ZO=ly(og?({theme:e,enableColorScheme:t})=>H1(e,t):({theme:e})=>qO(e));function GO(e){const t=nt({props:e,name:"MuiCssBaseline"}),{children:n,enableColorScheme:r=!1}=t;return v.jsxs(y.Fragment,{children:[og&&v.jsx(ZO,{enableColorScheme:r}),!og&&!r&&v.jsx("span",{className:Md,style:{display:"none"}}),n]})}function UO(e){const t=ir(e);return t.body===e?Mo(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}function su(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function ax(e){return parseInt(Mo(e).getComputedStyle(e).paddingRight,10)||0}function QO(e){const n=["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].includes(e.tagName),r=e.tagName==="INPUT"&&e.getAttribute("type")==="hidden";return n||r}function lx(e,t,n,r,s){const a=[t,n,...r];[].forEach.call(e.children,l=>{const u=!a.includes(l),f=!QO(l);u&&f&&su(l,s)})}function pm(e,t){let n=-1;return e.some((r,s)=>t(r)?(n=s,!0):!1),n}function KO(e,t){const n=[],r=e.container;if(!t.disableScrollLock){if(UO(r)){const l=W0(Mo(r));n.push({value:r.style.paddingRight,property:"padding-right",el:r}),r.style.paddingRight=`${ax(r)+l}px`;const u=ir(r).querySelectorAll(".mui-fixed");[].forEach.call(u,f=>{n.push({value:f.style.paddingRight,property:"padding-right",el:f}),f.style.paddingRight=`${ax(f)+l}px`})}let a;if(r.parentNode instanceof DocumentFragment)a=ir(r).body;else{const l=r.parentElement,u=Mo(r);a=(l==null?void 0:l.nodeName)==="HTML"&&u.getComputedStyle(l).overflowY==="scroll"?l:r}n.push({value:a.style.overflow,property:"overflow",el:a},{value:a.style.overflowX,property:"overflow-x",el:a},{value:a.style.overflowY,property:"overflow-y",el:a}),a.style.overflow="hidden"}return()=>{n.forEach(({value:a,el:l,property:u})=>{a?l.style.setProperty(u,a):l.style.removeProperty(u)})}}function _O(e){const t=[];return[].forEach.call(e.children,n=>{n.getAttribute("aria-hidden")==="true"&&t.push(n)}),t}class $O{constructor(){this.modals=[],this.containers=[]}add(t,n){let r=this.modals.indexOf(t);if(r!==-1)return r;r=this.modals.length,this.modals.push(t),t.modalRef&&su(t.modalRef,!1);const s=_O(n);lx(n,t.mount,t.modalRef,s,!0);const a=pm(this.containers,l=>l.container===n);return a!==-1?(this.containers[a].modals.push(t),r):(this.containers.push({modals:[t],container:n,restore:null,hiddenSiblings:s}),r)}mount(t,n){const r=pm(this.containers,a=>a.modals.includes(t)),s=this.containers[r];s.restore||(s.restore=KO(s,n))}remove(t,n=!0){const r=this.modals.indexOf(t);if(r===-1)return r;const s=pm(this.containers,l=>l.modals.includes(t)),a=this.containers[s];if(a.modals.splice(a.modals.indexOf(t),1),this.modals.splice(r,1),a.modals.length===0)a.restore&&a.restore(),t.modalRef&&su(t.modalRef,n),lx(a.container,t.mount,t.modalRef,a.hiddenSiblings,!1),this.containers.splice(s,1);else{const l=a.modals[a.modals.length-1];l.modalRef&&su(l.modalRef,!1)}return r}isTopModal(t){return this.modals.length>0&&this.modals[this.modals.length-1]===t}}const eD=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function tD(e){const t=parseInt(e.getAttribute("tabindex")||"",10);return Number.isNaN(t)?e.contentEditable==="true"||(e.nodeName==="AUDIO"||e.nodeName==="VIDEO"||e.nodeName==="DETAILS")&&e.getAttribute("tabindex")===null?0:e.tabIndex:t}function nD(e){if(e.tagName!=="INPUT"||e.type!=="radio"||!e.name)return!1;const t=r=>e.ownerDocument.querySelector(`input[type="radio"]${r}`);let n=t(`[name="${e.name}"]:checked`);return n||(n=t(`[name="${e.name}"]`)),n!==e}function rD(e){return!(e.disabled||e.tagName==="INPUT"&&e.type==="hidden"||nD(e))}function oD(e){const t=[],n=[];return Array.from(e.querySelectorAll(eD)).forEach((r,s)=>{const a=tD(r);a===-1||!rD(r)||(a===0?t.push(r):n.push({documentOrder:s,tabIndex:a,node:r}))}),n.sort((r,s)=>r.tabIndex===s.tabIndex?r.documentOrder-s.documentOrder:r.tabIndex-s.tabIndex).map(r=>r.node).concat(t)}function sD(){return!0}function iD(e){const{children:t,disableAutoFocus:n=!1,disableEnforceFocus:r=!1,disableRestoreFocus:s=!1,getTabbable:a=oD,isEnabled:l=sD,open:u}=e,f=y.useRef(!1),p=y.useRef(null),h=y.useRef(null),m=y.useRef(null),x=y.useRef(null),w=y.useRef(!1),A=y.useRef(null),P=sn(wi(t),A),H=y.useRef(null);y.useEffect(()=>{!u||!A.current||(w.current=!n)},[n,u]),y.useEffect(()=>{if(!u||!A.current)return;const z=ir(A.current);return A.current.contains(z.activeElement)||(A.current.hasAttribute("tabIndex")||A.current.setAttribute("tabIndex","-1"),w.current&&A.current.focus()),()=>{s||(m.current&&m.current.focus&&(f.current=!0,m.current.focus()),m.current=null)}},[u]),y.useEffect(()=>{if(!u||!A.current)return;const z=ir(A.current),O=E=>{H.current=E,!(r||!l()||E.key!=="Tab")&&z.activeElement===A.current&&E.shiftKey&&(f.current=!0,h.current&&h.current.focus())},D=()=>{var L,j;const E=A.current;if(E===null)return;if(!z.hasFocus()||!l()||f.current){f.current=!1;return}if(E.contains(z.activeElement)||r&&z.activeElement!==p.current&&z.activeElement!==h.current)return;if(z.activeElement!==x.current)x.current=null;else if(x.current!==null)return;if(!w.current)return;let M=[];if((z.activeElement===p.current||z.activeElement===h.current)&&(M=a(A.current)),M.length>0){const N=!!((L=H.current)!=null&&L.shiftKey&&((j=H.current)==null?void 0:j.key)==="Tab"),W=M[0],I=M[M.length-1];typeof W!="string"&&typeof I!="string"&&(N?I.focus():W.focus())}else E.focus()};z.addEventListener("focusin",D),z.addEventListener("keydown",O,!0);const k=setInterval(()=>{z.activeElement&&z.activeElement.tagName==="BODY"&&D()},50);return()=>{clearInterval(k),z.removeEventListener("focusin",D),z.removeEventListener("keydown",O,!0)}},[n,r,s,l,u,a]);const S=z=>{m.current===null&&(m.current=z.relatedTarget),w.current=!0,x.current=z.target;const O=t.props.onFocus;O&&O(z)},C=z=>{m.current===null&&(m.current=z.relatedTarget),w.current=!0};return v.jsxs(y.Fragment,{children:[v.jsx("div",{tabIndex:u?0:-1,onFocus:C,ref:p,"data-testid":"sentinelStart"}),y.cloneElement(t,{ref:P,onFocus:S}),v.jsx("div",{tabIndex:u?0:-1,onFocus:C,ref:h,"data-testid":"sentinelEnd"})]})}function aD(e){return typeof e=="function"?e():e}function lD(e){return e?e.props.hasOwnProperty("in"):!1}const cx=()=>{},hd=new $O;function cD(e){const{container:t,disableEscapeKeyDown:n=!1,disableScrollLock:r=!1,closeAfterTransition:s=!1,onTransitionEnter:a,onTransitionExited:l,children:u,onClose:f,open:p,rootRef:h}=e,m=y.useRef({}),x=y.useRef(null),w=y.useRef(null),A=sn(w,h),[P,H]=y.useState(!p),S=lD(u);let C=!0;(e["aria-hidden"]==="false"||e["aria-hidden"]===!1)&&(C=!1);const z=()=>ir(x.current),O=()=>(m.current.modalRef=w.current,m.current.mount=x.current,m.current),D=()=>{hd.mount(O(),{disableScrollLock:r}),w.current&&(w.current.scrollTop=0)},k=hr(()=>{const J=aD(t)||z().body;hd.add(O(),J),w.current&&D()}),E=()=>hd.isTopModal(O()),M=hr(J=>{x.current=J,J&&(p&&E()?D():w.current&&su(w.current,C))}),L=y.useCallback(()=>{hd.remove(O(),C)},[C]);y.useEffect(()=>()=>{L()},[L]),y.useEffect(()=>{p?k():(!S||!s)&&L()},[p,L,S,s,k]);const j=J=>_=>{var $;($=J.onKeyDown)==null||$.call(J,_),!(_.key!=="Escape"||_.which===229||!E())&&(n||(_.stopPropagation(),f&&f(_,"escapeKeyDown")))},N=J=>_=>{var $;($=J.onClick)==null||$.call(J,_),_.target===_.currentTarget&&f&&f(_,"backdropClick")};return{getRootProps:(J={})=>{const _=$d(e);delete _.onTransitionEnter,delete _.onTransitionExited;const $={..._,...J};return{role:"presentation",...$,onKeyDown:j($),ref:A}},getBackdropProps:(J={})=>{const _=J;return{"aria-hidden":!0,..._,onClick:N(_),open:p}},getTransitionProps:()=>{const J=()=>{H(!1),a&&a()},_=()=>{H(!0),l&&l(),s&&L()};return{onEnter:Fm(J,(u==null?void 0:u.props.onEnter)??cx),onExited:Fm(_,(u==null?void 0:u.props.onExited)??cx)}},rootRef:A,portalRef:M,isTopModal:E,exited:P,hasTransition:S}}function uD(e){return Ue("MuiModal",e)}Qe("MuiModal",["root","hidden","backdrop"]);const fD=e=>{const{open:t,exited:n,classes:r}=e;return Ke({root:["root",!t&&n&&"hidden"],backdrop:["backdrop"]},uD,r)},dD=ve("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.open&&n.exited&&t.hidden]}})(tt(({theme:e})=>({position:"fixed",zIndex:(e.vars||e).zIndex.modal,right:0,bottom:0,top:0,left:0,variants:[{props:({ownerState:t})=>!t.open&&t.exited,style:{visibility:"hidden"}}]}))),pD=ve(P1,{name:"MuiModal",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})({zIndex:-1}),by=y.forwardRef(function(t,n){const r=nt({name:"MuiModal",props:t}),{BackdropComponent:s=pD,BackdropProps:a,classes:l,className:u,closeAfterTransition:f=!1,children:p,container:h,component:m,components:x={},componentsProps:w={},disableAutoFocus:A=!1,disableEnforceFocus:P=!1,disableEscapeKeyDown:H=!1,disablePortal:S=!1,disableRestoreFocus:C=!1,disableScrollLock:z=!1,hideBackdrop:O=!1,keepMounted:D=!1,onBackdropClick:k,onClose:E,onTransitionEnter:M,onTransitionExited:L,open:j,slotProps:N={},slots:W={},theme:I,...te}=r,J={...r,closeAfterTransition:f,disableAutoFocus:A,disableEnforceFocus:P,disableEscapeKeyDown:H,disablePortal:S,disableRestoreFocus:C,disableScrollLock:z,hideBackdrop:O,keepMounted:D},{getRootProps:_,getBackdropProps:$,getTransitionProps:Q,portalRef:K,isTopModal:R,exited:G,hasTransition:X}=cD({...J,rootRef:n}),ne={...J,exited:G},re=fD(ne),ie={};if(p.props.tabIndex===void 0&&(ie.tabIndex="-1"),X){const{onEnter:Pe,onExited:_e}=Q();ie.onEnter=Pe,ie.onExited=_e}const ue={...te,slots:{root:x.Root,backdrop:x.Backdrop,...W},slotProps:{...w,...N}},[be,ae]=Tt("root",{elementType:dD,externalForwardedProps:ue,getSlotProps:_,additionalProps:{ref:n,as:m},ownerState:ne,className:Oe(u,re==null?void 0:re.root,!ne.open&&ne.exited&&(re==null?void 0:re.hidden))}),[Se,Le]=Tt("backdrop",{elementType:s,externalForwardedProps:ue,additionalProps:a,getSlotProps:Pe=>$({...Pe,onClick:_e=>{k&&k(_e),Pe!=null&&Pe.onClick&&Pe.onClick(_e)}}),className:Oe(a==null?void 0:a.className,re==null?void 0:re.backdrop),ownerState:ne}),Ve=sn(a==null?void 0:a.ref,Le.ref);return!D&&!j&&(!X||G)?null:v.jsx(y1,{ref:K,container:h,disablePortal:S,children:v.jsxs(be,{...ae,children:[!O&&s?v.jsx(Se,{...Le,ref:Ve}):null,v.jsx(iD,{disableEnforceFocus:P,disableAutoFocus:A,disableRestoreFocus:C,isEnabled:R,open:j,children:y.cloneElement(p,ie)})]})})});function vD(e){return Ue("MuiDialog",e)}const vm=Qe("MuiDialog",["root","scrollPaper","scrollBody","container","paper","paperScrollPaper","paperScrollBody","paperWidthFalse","paperWidthXs","paperWidthSm","paperWidthMd","paperWidthLg","paperWidthXl","paperFullWidth","paperFullScreen"]),j1=y.createContext({}),hD=ve(P1,{name:"MuiDialog",slot:"Backdrop",overrides:(e,t)=>t.backdrop})({zIndex:-1}),mD=e=>{const{classes:t,scroll:n,maxWidth:r,fullWidth:s,fullScreen:a}=e,l={root:["root"],container:["container",`scroll${me(n)}`],paper:["paper",`paperScroll${me(n)}`,`paperWidth${me(String(r))}`,s&&"paperFullWidth",a&&"paperFullScreen"]};return Ke(l,vD,t)},gD=ve(by,{name:"MuiDialog",slot:"Root",overridesResolver:(e,t)=>t.root})({"@media print":{position:"absolute !important"}}),yD=ve("div",{name:"MuiDialog",slot:"Container",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.container,t[`scroll${me(n.scroll)}`]]}})({height:"100%","@media print":{height:"auto"},outline:0,variants:[{props:{scroll:"paper"},style:{display:"flex",justifyContent:"center",alignItems:"center"}},{props:{scroll:"body"},style:{overflowY:"auto",overflowX:"hidden",textAlign:"center","&::after":{content:'""',display:"inline-block",verticalAlign:"middle",height:"100%",width:"0"}}}]}),AD=ve(qr,{name:"MuiDialog",slot:"Paper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.paper,t[`scrollPaper${me(n.scroll)}`],t[`paperWidth${me(String(n.maxWidth))}`],n.fullWidth&&t.paperFullWidth,n.fullScreen&&t.paperFullScreen]}})(tt(({theme:e})=>({margin:32,position:"relative",overflowY:"auto","@media print":{overflowY:"visible",boxShadow:"none"},variants:[{props:{scroll:"paper"},style:{display:"flex",flexDirection:"column",maxHeight:"calc(100% - 64px)"}},{props:{scroll:"body"},style:{display:"inline-block",verticalAlign:"middle",textAlign:"initial"}},{props:({ownerState:t})=>!t.maxWidth,style:{maxWidth:"calc(100% - 64px)"}},{props:{maxWidth:"xs"},style:{maxWidth:e.breakpoints.unit==="px"?Math.max(e.breakpoints.values.xs,444):`max(${e.breakpoints.values.xs}${e.breakpoints.unit}, 444px)`,[`&.${vm.paperScrollBody}`]:{[e.breakpoints.down(Math.max(e.breakpoints.values.xs,444)+32*2)]:{maxWidth:"calc(100% - 64px)"}}}},...Object.keys(e.breakpoints.values).filter(t=>t!=="xs").map(t=>({props:{maxWidth:t},style:{maxWidth:`${e.breakpoints.values[t]}${e.breakpoints.unit}`,[`&.${vm.paperScrollBody}`]:{[e.breakpoints.down(e.breakpoints.values[t]+32*2)]:{maxWidth:"calc(100% - 64px)"}}}})),{props:({ownerState:t})=>t.fullWidth,style:{width:"calc(100% - 64px)"}},{props:({ownerState:t})=>t.fullScreen,style:{margin:0,width:"100%",maxWidth:"100%",height:"100%",maxHeight:"none",borderRadius:0,[`&.${vm.paperScrollBody}`]:{margin:0,maxWidth:"100%"}}}]}))),ol=y.forwardRef(function(t,n){const r=nt({props:t,name:"MuiDialog"}),s=Gr(),a={enter:s.transitions.duration.enteringScreen,exit:s.transitions.duration.leavingScreen},{"aria-describedby":l,"aria-labelledby":u,"aria-modal":f=!0,BackdropComponent:p,BackdropProps:h,children:m,className:x,disableEscapeKeyDown:w=!1,fullScreen:A=!1,fullWidth:P=!1,maxWidth:H="sm",onBackdropClick:S,onClick:C,onClose:z,open:O,PaperComponent:D=qr,PaperProps:k={},scroll:E="paper",slots:M={},slotProps:L={},TransitionComponent:j=ng,transitionDuration:N=a,TransitionProps:W,...I}=r,te={...r,disableEscapeKeyDown:w,fullScreen:A,fullWidth:P,maxWidth:H,scroll:E},J=mD(te),_=y.useRef(),$=we=>{_.current=we.target===we.currentTarget},Q=we=>{C&&C(we),_.current&&(_.current=null,S&&S(we),z&&z(we,"backdropClick"))},K=us(u),R=y.useMemo(()=>({titleId:K}),[K]),G={transition:j,...M},X={transition:W,paper:k,backdrop:h,...L},ne={slots:G,slotProps:X},[re,ie]=Tt("root",{elementType:gD,shouldForwardComponentProp:!0,externalForwardedProps:ne,ownerState:te,className:Oe(J.root,x),ref:n}),[ue,be]=Tt("backdrop",{elementType:hD,shouldForwardComponentProp:!0,externalForwardedProps:ne,ownerState:te}),[ae,Se]=Tt("paper",{elementType:AD,shouldForwardComponentProp:!0,externalForwardedProps:ne,ownerState:te,className:Oe(J.paper,k.className)}),[Le,Ve]=Tt("container",{elementType:yD,externalForwardedProps:ne,ownerState:te,className:Oe(J.container)}),[Pe,_e]=Tt("transition",{elementType:ng,externalForwardedProps:ne,ownerState:te,additionalProps:{appear:!0,in:O,timeout:N,role:"presentation"}});return v.jsx(re,{closeAfterTransition:!0,slots:{backdrop:ue},slotProps:{backdrop:{transitionDuration:N,as:p,...be}},disableEscapeKeyDown:w,onClose:z,open:O,onClick:Q,...ie,...I,children:v.jsx(Pe,{..._e,children:v.jsx(Le,{onMouseDown:$,...Ve,children:v.jsx(ae,{as:D,elevation:24,role:"dialog","aria-describedby":l,"aria-labelledby":K,"aria-modal":f,...Se,children:v.jsx(j1.Provider,{value:R,children:m})})})})})});function PD(e){return Ue("MuiDialogActions",e)}Qe("MuiDialogActions",["root","spacing"]);const bD=e=>{const{classes:t,disableSpacing:n}=e;return Ke({root:["root",!n&&"spacing"]},PD,t)},xD=ve("div",{name:"MuiDialogActions",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disableSpacing&&t.spacing]}})({display:"flex",alignItems:"center",padding:8,justifyContent:"flex-end",flex:"0 0 auto",variants:[{props:({ownerState:e})=>!e.disableSpacing,style:{"& > :not(style) ~ :not(style)":{marginLeft:8}}}]}),wD=y.forwardRef(function(t,n){const r=nt({props:t,name:"MuiDialogActions"}),{className:s,disableSpacing:a=!1,...l}=r,u={...r,disableSpacing:a},f=bD(u);return v.jsx(xD,{className:Oe(f.root,s),ownerState:u,ref:n,...l})});function HD(e){return Ue("MuiDialogContent",e)}Qe("MuiDialogContent",["root","dividers"]);function jD(e){return Ue("MuiDialogTitle",e)}const zD=Qe("MuiDialogTitle",["root"]),SD=e=>{const{classes:t,dividers:n}=e;return Ke({root:["root",n&&"dividers"]},HD,t)},CD=ve("div",{name:"MuiDialogContent",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.dividers&&t.dividers]}})(tt(({theme:e})=>({flex:"1 1 auto",WebkitOverflowScrolling:"touch",overflowY:"auto",padding:"20px 24px",variants:[{props:({ownerState:t})=>t.dividers,style:{padding:"16px 24px",borderTop:`1px solid ${(e.vars||e).palette.divider}`,borderBottom:`1px solid ${(e.vars||e).palette.divider}`}},{props:({ownerState:t})=>!t.dividers,style:{[`.${zD.root} + &`]:{paddingTop:0}}}]}))),Gc=y.forwardRef(function(t,n){const r=nt({props:t,name:"MuiDialogContent"}),{className:s,dividers:a=!1,...l}=r,u={...r,dividers:a},f=SD(u);return v.jsx(CD,{className:Oe(f.root,s),ownerState:u,ref:n,...l})}),OD=e=>{const{classes:t}=e;return Ke({root:["root"]},jD,t)},DD=ve(wt,{name:"MuiDialogTitle",slot:"Root",overridesResolver:(e,t)=>t.root})({padding:"16px 24px",flex:"0 0 auto"}),Uc=y.forwardRef(function(t,n){const r=nt({props:t,name:"MuiDialogTitle"}),{className:s,id:a,...l}=r,u=r,f=OD(u),{titleId:p=a}=y.useContext(j1);return v.jsx(DD,{component:"h2",className:Oe(f.root,s),ownerState:u,ref:n,variant:"h6",id:a??p,...l})});function TD(e){return Ue("MuiDivider",e)}const ux=Qe("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]),kD=e=>{const{absolute:t,children:n,classes:r,flexItem:s,light:a,orientation:l,textAlign:u,variant:f}=e;return Ke({root:["root",t&&"absolute",f,a&&"light",l==="vertical"&&"vertical",s&&"flexItem",n&&"withChildren",n&&l==="vertical"&&"withChildrenVertical",u==="right"&&l!=="vertical"&&"textAlignRight",u==="left"&&l!=="vertical"&&"textAlignLeft"],wrapper:["wrapper",l==="vertical"&&"wrapperVertical"]},TD,r)},ED=ve("div",{name:"MuiDivider",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.absolute&&t.absolute,t[n.variant],n.light&&t.light,n.orientation==="vertical"&&t.vertical,n.flexItem&&t.flexItem,n.children&&t.withChildren,n.children&&n.orientation==="vertical"&&t.withChildrenVertical,n.textAlign==="right"&&n.orientation!=="vertical"&&t.textAlignRight,n.textAlign==="left"&&n.orientation!=="vertical"&&t.textAlignLeft]}})(tt(({theme:e})=>({margin:0,flexShrink:0,borderWidth:0,borderStyle:"solid",borderColor:(e.vars||e).palette.divider,borderBottomWidth:"thin",variants:[{props:{absolute:!0},style:{position:"absolute",bottom:0,left:0,width:"100%"}},{props:{light:!0},style:{borderColor:e.vars?`rgba(${e.vars.palette.dividerChannel} / 0.08)`:Pt(e.palette.divider,.08)}},{props:{variant:"inset"},style:{marginLeft:72}},{props:{variant:"middle",orientation:"horizontal"},style:{marginLeft:e.spacing(2),marginRight:e.spacing(2)}},{props:{variant:"middle",orientation:"vertical"},style:{marginTop:e.spacing(1),marginBottom:e.spacing(1)}},{props:{orientation:"vertical"},style:{height:"100%",borderBottomWidth:0,borderRightWidth:"thin"}},{props:{flexItem:!0},style:{alignSelf:"stretch",height:"auto"}},{props:({ownerState:t})=>!!t.children,style:{display:"flex",textAlign:"center",border:0,borderTopStyle:"solid",borderLeftStyle:"solid","&::before, &::after":{content:'""',alignSelf:"center"}}},{props:({ownerState:t})=>t.children&&t.orientation!=="vertical",style:{"&::before, &::after":{width:"100%",borderTop:`thin solid ${(e.vars||e).palette.divider}`,borderTopStyle:"inherit"}}},{props:({ownerState:t})=>t.orientation==="vertical"&&t.children,style:{flexDirection:"column","&::before, &::after":{height:"100%",borderLeft:`thin solid ${(e.vars||e).palette.divider}`,borderLeftStyle:"inherit"}}},{props:({ownerState:t})=>t.textAlign==="right"&&t.orientation!=="vertical",style:{"&::before":{width:"90%"},"&::after":{width:"10%"}}},{props:({ownerState:t})=>t.textAlign==="left"&&t.orientation!=="vertical",style:{"&::before":{width:"10%"},"&::after":{width:"90%"}}}]}))),RD=ve("span",{name:"MuiDivider",slot:"Wrapper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.wrapper,n.orientation==="vertical"&&t.wrapperVertical]}})(tt(({theme:e})=>({display:"inline-block",paddingLeft:`calc(${e.spacing(1)} * 1.2)`,paddingRight:`calc(${e.spacing(1)} * 1.2)`,whiteSpace:"nowrap",variants:[{props:{orientation:"vertical"},style:{paddingTop:`calc(${e.spacing(1)} * 1.2)`,paddingBottom:`calc(${e.spacing(1)} * 1.2)`}}]}))),pa=y.forwardRef(function(t,n){const r=nt({props:t,name:"MuiDivider"}),{absolute:s=!1,children:a,className:l,orientation:u="horizontal",component:f=a||u==="vertical"?"div":"hr",flexItem:p=!1,light:h=!1,role:m=f!=="hr"?"separator":void 0,textAlign:x="center",variant:w="fullWidth",...A}=r,P={...r,absolute:s,component:f,flexItem:p,light:h,orientation:u,role:m,textAlign:x,variant:w},H=kD(P);return v.jsx(ED,{as:f,className:Oe(H.root,l),role:m,ref:n,ownerState:P,"aria-orientation":m==="separator"&&(f!=="hr"||u==="vertical")?u:void 0,...A,children:a?v.jsx(RD,{className:H.wrapper,ownerState:P,children:a}):null})});pa&&(pa.muiSkipListHighlight=!0);function MD(e,t,n){const r=t.getBoundingClientRect(),s=n&&n.getBoundingClientRect(),a=Mo(t);let l;if(t.fakeTransform)l=t.fakeTransform;else{const p=a.getComputedStyle(t);l=p.getPropertyValue("-webkit-transform")||p.getPropertyValue("transform")}let u=0,f=0;if(l&&l!=="none"&&typeof l=="string"){const p=l.split("(")[1].split(")")[0].split(",");u=parseInt(p[4],10),f=parseInt(p[5],10)}return e==="left"?s?`translateX(${s.right+u-r.left}px)`:`translateX(${a.innerWidth+u-r.left}px)`:e==="right"?s?`translateX(-${r.right-s.left-u}px)`:`translateX(-${r.left+r.width-u}px)`:e==="up"?s?`translateY(${s.bottom+f-r.top}px)`:`translateY(${a.innerHeight+f-r.top}px)`:s?`translateY(-${r.top-s.top+r.height-f}px)`:`translateY(-${r.top+r.height-f}px)`}function LD(e){return typeof e=="function"?e():e}function md(e,t,n){const r=LD(n),s=MD(e,t,r);s&&(t.style.webkitTransform=s,t.style.transform=s)}const XD=y.forwardRef(function(t,n){const r=Gr(),s={enter:r.transitions.easing.easeOut,exit:r.transitions.easing.sharp},a={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{addEndListener:l,appear:u=!0,children:f,container:p,direction:h="down",easing:m=s,in:x,onEnter:w,onEntered:A,onEntering:P,onExit:H,onExited:S,onExiting:C,style:z,timeout:O=a,TransitionComponent:D=No,...k}=t,E=y.useRef(null),M=sn(wi(f),E,n),L=Q=>K=>{Q&&(K===void 0?Q(E.current):Q(E.current,K))},j=L((Q,K)=>{md(h,Q,p),fy(Q),w&&w(Q,K)}),N=L((Q,K)=>{const R=zl({timeout:O,style:z,easing:m},{mode:"enter"});Q.style.webkitTransition=r.transitions.create("-webkit-transform",{...R}),Q.style.transition=r.transitions.create("transform",{...R}),Q.style.webkitTransform="none",Q.style.transform="none",P&&P(Q,K)}),W=L(A),I=L(C),te=L(Q=>{const K=zl({timeout:O,style:z,easing:m},{mode:"exit"});Q.style.webkitTransition=r.transitions.create("-webkit-transform",K),Q.style.transition=r.transitions.create("transform",K),md(h,Q,p),H&&H(Q)}),J=L(Q=>{Q.style.webkitTransition="",Q.style.transition="",S&&S(Q)}),_=Q=>{l&&l(E.current,Q)},$=y.useCallback(()=>{E.current&&md(h,E.current,p)},[h,p]);return y.useEffect(()=>{if(x||h==="down"||h==="right")return;const Q=ny(()=>{E.current&&md(h,E.current,p)}),K=Mo(E.current);return K.addEventListener("resize",Q),()=>{Q.clear(),K.removeEventListener("resize",Q)}},[h,x,p]),y.useEffect(()=>{x||$()},[x,$]),v.jsx(D,{nodeRef:E,onEnter:j,onEntered:W,onEntering:N,onExit:te,onExited:J,onExiting:I,addEndListener:_,appear:u,in:x,timeout:O,...k,children:(Q,{ownerState:K,...R})=>y.cloneElement(f,{ref:M,style:{visibility:Q==="exited"&&!x?"hidden":void 0,...z,...f.props.style},...R})})});function ND(e){return Ue("MuiDrawer",e)}Qe("MuiDrawer",["root","docked","paper","anchorLeft","anchorRight","anchorTop","anchorBottom","paperAnchorLeft","paperAnchorRight","paperAnchorTop","paperAnchorBottom","paperAnchorDockedLeft","paperAnchorDockedRight","paperAnchorDockedTop","paperAnchorDockedBottom","modal"]);const z1=(e,t)=>{const{ownerState:n}=e;return[t.root,(n.variant==="permanent"||n.variant==="persistent")&&t.docked,t.modal]},BD=e=>{const{classes:t,anchor:n,variant:r}=e,s={root:["root",`anchor${me(n)}`],docked:[(r==="permanent"||r==="persistent")&&"docked"],modal:["modal"],paper:["paper",`paperAnchor${me(n)}`,r!=="temporary"&&`paperAnchorDocked${me(n)}`]};return Ke(s,ND,t)},VD=ve(by,{name:"MuiDrawer",slot:"Root",overridesResolver:z1})(tt(({theme:e})=>({zIndex:(e.vars||e).zIndex.drawer}))),fx=ve("div",{shouldForwardProp:Zn,name:"MuiDrawer",slot:"Docked",skipVariantsResolver:!1,overridesResolver:z1})({flex:"0 0 auto"}),ID=ve(qr,{name:"MuiDrawer",slot:"Paper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.paper,t[`paperAnchor${me(n.anchor)}`],n.variant!=="temporary"&&t[`paperAnchorDocked${me(n.anchor)}`]]}})(tt(({theme:e})=>({overflowY:"auto",display:"flex",flexDirection:"column",height:"100%",flex:"1 0 auto",zIndex:(e.vars||e).zIndex.drawer,WebkitOverflowScrolling:"touch",position:"fixed",top:0,outline:0,variants:[{props:{anchor:"left"},style:{left:0}},{props:{anchor:"top"},style:{top:0,left:0,right:0,height:"auto",maxHeight:"100%"}},{props:{anchor:"right"},style:{right:0}},{props:{anchor:"bottom"},style:{top:"auto",left:0,bottom:0,right:0,height:"auto",maxHeight:"100%"}},{props:({ownerState:t})=>t.anchor==="left"&&t.variant!=="temporary",style:{borderRight:`1px solid ${(e.vars||e).palette.divider}`}},{props:({ownerState:t})=>t.anchor==="top"&&t.variant!=="temporary",style:{borderBottom:`1px solid ${(e.vars||e).palette.divider}`}},{props:({ownerState:t})=>t.anchor==="right"&&t.variant!=="temporary",style:{borderLeft:`1px solid ${(e.vars||e).palette.divider}`}},{props:({ownerState:t})=>t.anchor==="bottom"&&t.variant!=="temporary",style:{borderTop:`1px solid ${(e.vars||e).palette.divider}`}}]}))),S1={left:"right",right:"left",top:"down",bottom:"up"};function WD(e){return["left","right"].includes(e)}function JD({direction:e},t){return e==="rtl"&&WD(t)?S1[t]:t}const FD=y.forwardRef(function(t,n){const r=nt({props:t,name:"MuiDrawer"}),s=Gr(),a=Nu(),l={enter:s.transitions.duration.enteringScreen,exit:s.transitions.duration.leavingScreen},{anchor:u="left",BackdropProps:f,children:p,className:h,elevation:m=16,hideBackdrop:x=!1,ModalProps:{BackdropProps:w,...A}={},onClose:P,open:H=!1,PaperProps:S={},SlideProps:C,TransitionComponent:z=XD,transitionDuration:O=l,variant:D="temporary",...k}=r,E=y.useRef(!1);y.useEffect(()=>{E.current=!0},[]);const M=JD({direction:a?"rtl":"ltr"},u),j={...r,anchor:u,elevation:m,open:H,variant:D,...k},N=BD(j),W=v.jsx(ID,{elevation:D==="temporary"?m:0,square:!0,...S,className:Oe(N.paper,S.className),ownerState:j,children:p});if(D==="permanent")return v.jsx(fx,{className:Oe(N.root,N.docked,h),ownerState:j,ref:n,...k,children:W});const I=v.jsx(z,{in:H,direction:S1[M],timeout:O,appear:E.current,...C,children:W});return D==="persistent"?v.jsx(fx,{className:Oe(N.root,N.docked,h),ownerState:j,ref:n,...k,children:I}):v.jsx(VD,{BackdropProps:{...f,...w,transitionDuration:O},className:Oe(N.root,N.modal,h),open:H,ownerState:j,onClose:P,hideBackdrop:x,ref:n,...k,...A,children:I})}),YD=e=>{const{classes:t,disableUnderline:n,startAdornment:r,endAdornment:s,size:a,hiddenLabel:l,multiline:u}=e,f={root:["root",!n&&"underline",r&&"adornedStart",s&&"adornedEnd",a==="small"&&`size${me(a)}`,l&&"hiddenLabel",u&&"multiline"],input:["input"]},p=Ke(f,JC,t);return{...t,...p}},qD=ve(Vp,{shouldForwardProp:e=>Zn(e)||e==="classes",name:"MuiFilledInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[...Np(e,t),!n.disableUnderline&&t.underline]}})(tt(({theme:e})=>{const t=e.palette.mode==="light",n=t?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)",r=t?"rgba(0, 0, 0, 0.06)":"rgba(255, 255, 255, 0.09)",s=t?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.13)",a=t?"rgba(0, 0, 0, 0.12)":"rgba(255, 255, 255, 0.12)";return{position:"relative",backgroundColor:e.vars?e.vars.palette.FilledInput.bg:r,borderTopLeftRadius:(e.vars||e).shape.borderRadius,borderTopRightRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),"&:hover":{backgroundColor:e.vars?e.vars.palette.FilledInput.hoverBg:s,"@media (hover: none)":{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:r}},[`&.${Ir.focused}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:r},[`&.${Ir.disabled}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.disabledBg:a},variants:[{props:({ownerState:l})=>!l.disableUnderline,style:{"&::after":{left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${Ir.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${Ir.error}`]:{"&::before, &::after":{borderBottomColor:(e.vars||e).palette.error.main}},"&::before":{borderBottom:`1px solid ${e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / ${e.vars.opacity.inputUnderline})`:n}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${Ir.disabled}, .${Ir.error}):before`]:{borderBottom:`1px solid ${(e.vars||e).palette.text.primary}`},[`&.${Ir.disabled}:before`]:{borderBottomStyle:"dotted"}}},...Object.entries(e.palette).filter(yn()).map(([l])=>{var u;return{props:{disableUnderline:!1,color:l},style:{"&::after":{borderBottom:`2px solid ${(u=(e.vars||e).palette[l])==null?void 0:u.main}`}}}}),{props:({ownerState:l})=>l.startAdornment,style:{paddingLeft:12}},{props:({ownerState:l})=>l.endAdornment,style:{paddingRight:12}},{props:({ownerState:l})=>l.multiline,style:{padding:"25px 12px 8px"}},{props:({ownerState:l,size:u})=>l.multiline&&u==="small",style:{paddingTop:21,paddingBottom:4}},{props:({ownerState:l})=>l.multiline&&l.hiddenLabel,style:{paddingTop:16,paddingBottom:17}},{props:({ownerState:l})=>l.multiline&&l.hiddenLabel&&l.size==="small",style:{paddingTop:8,paddingBottom:9}}]}})),ZD=ve(Ip,{name:"MuiFilledInput",slot:"Input",overridesResolver:Bp})(tt(({theme:e})=>({paddingTop:25,paddingRight:12,paddingBottom:8,paddingLeft:12,...!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:e.palette.mode==="light"?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:e.palette.mode==="light"?null:"#fff",caretColor:e.palette.mode==="light"?null:"#fff",borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"}},...e.vars&&{"&:-webkit-autofill":{borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},variants:[{props:{size:"small"},style:{paddingTop:21,paddingBottom:4}},{props:({ownerState:t})=>t.hiddenLabel,style:{paddingTop:16,paddingBottom:17}},{props:({ownerState:t})=>t.startAdornment,style:{paddingLeft:0}},{props:({ownerState:t})=>t.endAdornment,style:{paddingRight:0}},{props:({ownerState:t})=>t.hiddenLabel&&t.size==="small",style:{paddingTop:8,paddingBottom:9}},{props:({ownerState:t})=>t.multiline,style:{paddingTop:0,paddingBottom:0,paddingLeft:0,paddingRight:0}}]}))),xy=y.forwardRef(function(t,n){const r=nt({props:t,name:"MuiFilledInput"}),{disableUnderline:s=!1,components:a={},componentsProps:l,fullWidth:u=!1,hiddenLabel:f,inputComponent:p="input",multiline:h=!1,slotProps:m,slots:x={},type:w="text",...A}=r,P={...r,disableUnderline:s,fullWidth:u,inputComponent:p,multiline:h,type:w},H=YD(r),S={root:{ownerState:P},input:{ownerState:P}},C=m??l?qn(S,m??l):S,z=x.root??a.Root??qD,O=x.input??a.Input??ZD;return v.jsx(Wp,{slots:{root:z,input:O},slotProps:C,fullWidth:u,inputComponent:p,multiline:h,ref:n,type:w,...A,classes:H})});xy.muiName="Input";function GD(e){return Ue("MuiFormControl",e)}Qe("MuiFormControl",["root","marginNone","marginNormal","marginDense","fullWidth","disabled"]);const UD=e=>{const{classes:t,margin:n,fullWidth:r}=e,s={root:["root",n!=="none"&&`margin${me(n)}`,r&&"fullWidth"]};return Ke(s,GD,t)},QD=ve("div",{name:"MuiFormControl",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`margin${me(n.margin)}`],n.fullWidth&&t.fullWidth]}})({display:"inline-flex",flexDirection:"column",position:"relative",minWidth:0,padding:0,margin:0,border:0,verticalAlign:"top",variants:[{props:{margin:"normal"},style:{marginTop:16,marginBottom:8}},{props:{margin:"dense"},style:{marginTop:8,marginBottom:4}},{props:{fullWidth:!0},style:{width:"100%"}}]}),cr=y.forwardRef(function(t,n){const r=nt({props:t,name:"MuiFormControl"}),{children:s,className:a,color:l="primary",component:u="div",disabled:f=!1,error:p=!1,focused:h,fullWidth:m=!1,hiddenLabel:x=!1,margin:w="none",required:A=!1,size:P="medium",variant:H="outlined",...S}=r,C={...r,color:l,component:u,disabled:f,error:p,fullWidth:m,hiddenLabel:x,margin:w,required:A,size:P,variant:H},z=UD(C),[O,D]=y.useState(()=>{let J=!1;return s&&y.Children.forEach(s,_=>{if(!Ed(_,["Input","Select"]))return;const $=Ed(_,["Select"])?_.props.input:_;$&&NC($.props)&&(J=!0)}),J}),[k,E]=y.useState(()=>{let J=!1;return s&&y.Children.forEach(s,_=>{Ed(_,["Input","Select"])&&(sp(_.props,!0)||sp(_.props.inputProps,!0))&&(J=!0)}),J}),[M,L]=y.useState(!1);f&&M&&L(!1);const j=h!==void 0&&!f?h:M;let N;y.useRef(!1);const W=y.useCallback(()=>{E(!0)},[]),I=y.useCallback(()=>{E(!1)},[]),te=y.useMemo(()=>({adornedStart:O,setAdornedStart:D,color:l,disabled:f,error:p,filled:k,focused:j,fullWidth:m,hiddenLabel:x,size:P,onBlur:()=>{L(!1)},onFocus:()=>{L(!0)},onEmpty:I,onFilled:W,registerEffect:N,required:A,variant:H}),[O,l,f,p,k,j,m,x,N,I,W,A,P,H]);return v.jsx(Xp.Provider,{value:te,children:v.jsx(QD,{as:u,ownerState:C,className:Oe(z.root,a),ref:n,...S,children:s})})});function KD(e){return Ue("MuiFormControlLabel",e)}const Qc=Qe("MuiFormControlLabel",["root","labelPlacementStart","labelPlacementTop","labelPlacementBottom","disabled","label","error","required","asterisk"]),_D=e=>{const{classes:t,disabled:n,labelPlacement:r,error:s,required:a}=e,l={root:["root",n&&"disabled",`labelPlacement${me(r)}`,s&&"error",a&&"required"],label:["label",n&&"disabled"],asterisk:["asterisk",s&&"error"]};return Ke(l,KD,t)},$D=ve("label",{name:"MuiFormControlLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${Qc.label}`]:t.label},t.root,t[`labelPlacement${me(n.labelPlacement)}`]]}})(tt(({theme:e})=>({display:"inline-flex",alignItems:"center",cursor:"pointer",verticalAlign:"middle",WebkitTapHighlightColor:"transparent",marginLeft:-11,marginRight:16,[`&.${Qc.disabled}`]:{cursor:"default"},[`& .${Qc.label}`]:{[`&.${Qc.disabled}`]:{color:(e.vars||e).palette.text.disabled}},variants:[{props:{labelPlacement:"start"},style:{flexDirection:"row-reverse",marginRight:-11}},{props:{labelPlacement:"top"},style:{flexDirection:"column-reverse"}},{props:{labelPlacement:"bottom"},style:{flexDirection:"column"}},{props:({labelPlacement:t})=>t==="start"||t==="top"||t==="bottom",style:{marginLeft:16}}]}))),eT=ve("span",{name:"MuiFormControlLabel",slot:"Asterisk",overridesResolver:(e,t)=>t.asterisk})(tt(({theme:e})=>({[`&.${Qc.error}`]:{color:(e.vars||e).palette.error.main}}))),Ds=y.forwardRef(function(t,n){const r=nt({props:t,name:"MuiFormControlLabel"}),{checked:s,className:a,componentsProps:l={},control:u,disabled:f,disableTypography:p,inputRef:h,label:m,labelPlacement:x="end",name:w,onChange:A,required:P,slots:H={},slotProps:S={},value:C,...z}=r,O=Bo(),D=f??u.props.disabled??(O==null?void 0:O.disabled),k=P??u.props.required,E={disabled:D,required:k};["checked","name","onChange","value","inputRef"].forEach(J=>{typeof u.props[J]>"u"&&typeof r[J]<"u"&&(E[J]=r[J])});const M=ji({props:r,muiFormControl:O,states:["error"]}),L={...r,disabled:D,labelPlacement:x,required:k,error:M.error},j=_D(L),N={slots:H,slotProps:{...l,...S}},[W,I]=Tt("typography",{elementType:wt,externalForwardedProps:N,ownerState:L});let te=m;return te!=null&&te.type!==wt&&!p&&(te=v.jsx(W,{component:"span",...I,className:Oe(j.label,I==null?void 0:I.className),children:te})),v.jsxs($D,{className:Oe(j.root,a),ownerState:L,ref:n,...z,children:[y.cloneElement(u,E),k?v.jsxs("div",{children:[te,v.jsxs(eT,{ownerState:L,"aria-hidden":!0,className:j.asterisk,children:[" ","*"]})]}):te]})});function tT(e){return Ue("MuiFormGroup",e)}Qe("MuiFormGroup",["root","row","error"]);const nT=e=>{const{classes:t,row:n,error:r}=e;return Ke({root:["root",n&&"row",r&&"error"]},tT,t)},rT=ve("div",{name:"MuiFormGroup",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.row&&t.row]}})({display:"flex",flexDirection:"column",flexWrap:"wrap",variants:[{props:{row:!0},style:{flexDirection:"row"}}]}),oT=y.forwardRef(function(t,n){const r=nt({props:t,name:"MuiFormGroup"}),{className:s,row:a=!1,...l}=r,u=Bo(),f=ji({props:r,muiFormControl:u,states:["error"]}),p={...r,row:a,error:f.error},h=nT(p);return v.jsx(rT,{className:Oe(h.root,s),ownerState:p,ref:n,...l})});function sT(e){return Ue("MuiFormHelperText",e)}const dx=Qe("MuiFormHelperText",["root","error","disabled","sizeSmall","sizeMedium","contained","focused","filled","required"]);var px;const iT=e=>{const{classes:t,contained:n,size:r,disabled:s,error:a,filled:l,focused:u,required:f}=e,p={root:["root",s&&"disabled",a&&"error",r&&`size${me(r)}`,n&&"contained",u&&"focused",l&&"filled",f&&"required"]};return Ke(p,sT,t)},aT=ve("p",{name:"MuiFormHelperText",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.size&&t[`size${me(n.size)}`],n.contained&&t.contained,n.filled&&t.filled]}})(tt(({theme:e})=>({color:(e.vars||e).palette.text.secondary,...e.typography.caption,textAlign:"left",marginTop:3,marginRight:0,marginBottom:0,marginLeft:0,[`&.${dx.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${dx.error}`]:{color:(e.vars||e).palette.error.main},variants:[{props:{size:"small"},style:{marginTop:4}},{props:({ownerState:t})=>t.contained,style:{marginLeft:14,marginRight:14}}]}))),tl=y.forwardRef(function(t,n){const r=nt({props:t,name:"MuiFormHelperText"}),{children:s,className:a,component:l="p",disabled:u,error:f,filled:p,focused:h,margin:m,required:x,variant:w,...A}=r,P=Bo(),H=ji({props:r,muiFormControl:P,states:["variant","size","disabled","error","filled","focused","required"]}),S={...r,component:l,contained:H.variant==="filled"||H.variant==="outlined",variant:H.variant,size:H.size,disabled:H.disabled,error:H.error,filled:H.filled,focused:H.focused,required:H.required};delete S.ownerState;const C=iT(S);return v.jsx(aT,{as:l,className:Oe(C.root,a),ref:n,...A,ownerState:S,children:s===" "?px||(px=v.jsx("span",{className:"notranslate","aria-hidden":!0,children:"​"})):s})});function lT(e){return Ue("MuiFormLabel",e)}const iu=Qe("MuiFormLabel",["root","colorSecondary","focused","disabled","error","filled","required","asterisk"]),cT=e=>{const{classes:t,color:n,focused:r,disabled:s,error:a,filled:l,required:u}=e,f={root:["root",`color${me(n)}`,s&&"disabled",a&&"error",l&&"filled",r&&"focused",u&&"required"],asterisk:["asterisk",a&&"error"]};return Ke(f,lT,t)},uT=ve("label",{name:"MuiFormLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color==="secondary"&&t.colorSecondary,n.filled&&t.filled]}})(tt(({theme:e})=>({color:(e.vars||e).palette.text.secondary,...e.typography.body1,lineHeight:"1.4375em",padding:0,position:"relative",variants:[...Object.entries(e.palette).filter(yn()).map(([t])=>({props:{color:t},style:{[`&.${iu.focused}`]:{color:(e.vars||e).palette[t].main}}})),{props:{},style:{[`&.${iu.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${iu.error}`]:{color:(e.vars||e).palette.error.main}}}]}))),fT=ve("span",{name:"MuiFormLabel",slot:"Asterisk",overridesResolver:(e,t)=>t.asterisk})(tt(({theme:e})=>({[`&.${iu.error}`]:{color:(e.vars||e).palette.error.main}}))),Ld=y.forwardRef(function(t,n){const r=nt({props:t,name:"MuiFormLabel"}),{children:s,className:a,color:l,component:u="label",disabled:f,error:p,filled:h,focused:m,required:x,...w}=r,A=Bo(),P=ji({props:r,muiFormControl:A,states:["color","required","focused","disabled","error","filled"]}),H={...r,color:P.color||"primary",component:u,disabled:P.disabled,error:P.error,filled:P.filled,focused:P.focused,required:P.required},S=cT(H);return v.jsxs(uT,{as:u,ownerState:H,className:Oe(S.root,a),ref:n,...w,children:[s,P.required&&v.jsxs(fT,{ownerState:H,"aria-hidden":!0,className:S.asterisk,children:[" ","*"]})]})}),vx=y.createContext();function dT(e){return Ue("MuiGrid",e)}const pT=[0,1,2,3,4,5,6,7,8,9,10],vT=["column-reverse","column","row-reverse","row"],hT=["nowrap","wrap-reverse","wrap"],Sc=["auto",!0,1,2,3,4,5,6,7,8,9,10,11,12],Au=Qe("MuiGrid",["root","container","item","zeroMinWidth",...pT.map(e=>`spacing-xs-${e}`),...vT.map(e=>`direction-xs-${e}`),...hT.map(e=>`wrap-xs-${e}`),...Sc.map(e=>`grid-xs-${e}`),...Sc.map(e=>`grid-sm-${e}`),...Sc.map(e=>`grid-md-${e}`),...Sc.map(e=>`grid-lg-${e}`),...Sc.map(e=>`grid-xl-${e}`)]);function mT({theme:e,ownerState:t}){let n;return e.breakpoints.keys.reduce((r,s)=>{let a={};if(t[s]&&(n=t[s]),!n)return r;if(n===!0)a={flexBasis:0,flexGrow:1,maxWidth:"100%"};else if(n==="auto")a={flexBasis:"auto",flexGrow:0,flexShrink:0,maxWidth:"none",width:"auto"};else{const l=sa({values:t.columns,breakpoints:e.breakpoints.values}),u=typeof l=="object"?l[s]:l;if(u==null)return r;const f=`${Math.round(n/u*1e8)/1e6}%`;let p={};if(t.container&&t.item&&t.columnSpacing!==0){const h=e.spacing(t.columnSpacing);if(h!=="0px"){const m=`calc(${f} + ${h})`;p={flexBasis:m,maxWidth:m}}}a={flexBasis:f,flexGrow:0,maxWidth:f,...p}}return e.breakpoints.values[s]===0?Object.assign(r,a):r[e.breakpoints.up(s)]=a,r},{})}function gT({theme:e,ownerState:t}){const n=sa({values:t.direction,breakpoints:e.breakpoints.values});return kr({theme:e},n,r=>{const s={flexDirection:r};return r.startsWith("column")&&(s[`& > .${Au.item}`]={maxWidth:"none"}),s})}function C1({breakpoints:e,values:t}){let n="";Object.keys(t).forEach(s=>{n===""&&t[s]!==0&&(n=s)});const r=Object.keys(e).sort((s,a)=>e[s]-e[a]);return r.slice(0,r.indexOf(n))}function yT({theme:e,ownerState:t}){const{container:n,rowSpacing:r}=t;let s={};if(n&&r!==0){const a=sa({values:r,breakpoints:e.breakpoints.values});let l;typeof a=="object"&&(l=C1({breakpoints:e.breakpoints.values,values:a})),s=kr({theme:e},a,(u,f)=>{const p=e.spacing(u);return p!=="0px"?{marginTop:`calc(-1 * ${p})`,[`& > .${Au.item}`]:{paddingTop:p}}:l!=null&&l.includes(f)?{}:{marginTop:0,[`& > .${Au.item}`]:{paddingTop:0}}})}return s}function AT({theme:e,ownerState:t}){const{container:n,columnSpacing:r}=t;let s={};if(n&&r!==0){const a=sa({values:r,breakpoints:e.breakpoints.values});let l;typeof a=="object"&&(l=C1({breakpoints:e.breakpoints.values,values:a})),s=kr({theme:e},a,(u,f)=>{const p=e.spacing(u);if(p!=="0px"){const h=`calc(-1 * ${p})`;return{width:`calc(100% + ${p})`,marginLeft:h,[`& > .${Au.item}`]:{paddingLeft:p}}}return l!=null&&l.includes(f)?{}:{width:"100%",marginLeft:0,[`& > .${Au.item}`]:{paddingLeft:0}}})}return s}function PT(e,t,n={}){if(!e||e<=0)return[];if(typeof e=="string"&&!Number.isNaN(Number(e))||typeof e=="number")return[n[`spacing-xs-${String(e)}`]];const r=[];return t.forEach(s=>{const a=e[s];Number(a)>0&&r.push(n[`spacing-${s}-${String(a)}`])}),r}const bT=ve("div",{name:"MuiGrid",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e,{container:r,direction:s,item:a,spacing:l,wrap:u,zeroMinWidth:f,breakpoints:p}=n;let h=[];r&&(h=PT(l,p,t));const m=[];return p.forEach(x=>{const w=n[x];w&&m.push(t[`grid-${x}-${String(w)}`])}),[t.root,r&&t.container,a&&t.item,f&&t.zeroMinWidth,...h,s!=="row"&&t[`direction-xs-${String(s)}`],u!=="wrap"&&t[`wrap-xs-${String(u)}`],...m]}})(({ownerState:e})=>({boxSizing:"border-box",...e.container&&{display:"flex",flexWrap:"wrap",width:"100%"},...e.item&&{margin:0},...e.zeroMinWidth&&{minWidth:0},...e.wrap!=="wrap"&&{flexWrap:e.wrap}}),gT,yT,AT,mT);function xT(e,t){if(!e||e<=0)return[];if(typeof e=="string"&&!Number.isNaN(Number(e))||typeof e=="number")return[`spacing-xs-${String(e)}`];const n=[];return t.forEach(r=>{const s=e[r];if(Number(s)>0){const a=`spacing-${r}-${String(s)}`;n.push(a)}}),n}const wT=e=>{const{classes:t,container:n,direction:r,item:s,spacing:a,wrap:l,zeroMinWidth:u,breakpoints:f}=e;let p=[];n&&(p=xT(a,f));const h=[];f.forEach(x=>{const w=e[x];w&&h.push(`grid-${x}-${String(w)}`)});const m={root:["root",n&&"container",s&&"item",u&&"zeroMinWidth",...p,r!=="row"&&`direction-xs-${String(r)}`,l!=="wrap"&&`wrap-xs-${String(l)}`,...h]};return Ke(m,dT,t)},cs=y.forwardRef(function(t,n){const r=nt({props:t,name:"MuiGrid"}),{breakpoints:s}=Gr(),a=kp(r),{className:l,columns:u,columnSpacing:f,component:p="div",container:h=!1,direction:m="row",item:x=!1,rowSpacing:w,spacing:A=0,wrap:P="wrap",zeroMinWidth:H=!1,...S}=a,C=w||A,z=f||A,O=y.useContext(vx),D=h?u||12:O,k={},E={...S};s.keys.forEach(j=>{S[j]!=null&&(k[j]=S[j],delete E[j])});const M={...a,columns:D,container:h,direction:m,item:x,rowSpacing:C,columnSpacing:z,wrap:P,zeroMinWidth:H,spacing:A,...k,breakpoints:s.keys},L=wT(M);return v.jsx(vx.Provider,{value:D,children:v.jsx(bT,{ownerState:M,className:Oe(L.root,l),as:p,ref:n,...E})})});function sg(e){return`scale(${e}, ${e**2})`}const HT={entering:{opacity:1,transform:sg(1)},entered:{opacity:1,transform:"none"}},hm=typeof navigator<"u"&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),Pu=y.forwardRef(function(t,n){const{addEndListener:r,appear:s=!0,children:a,easing:l,in:u,onEnter:f,onEntered:p,onEntering:h,onExit:m,onExited:x,onExiting:w,style:A,timeout:P="auto",TransitionComponent:H=No,...S}=t,C=Zi(),z=y.useRef(),O=Gr(),D=y.useRef(null),k=sn(D,wi(a),n),E=J=>_=>{if(J){const $=D.current;_===void 0?J($):J($,_)}},M=E(h),L=E((J,_)=>{fy(J);const{duration:$,delay:Q,easing:K}=zl({style:A,timeout:P,easing:l},{mode:"enter"});let R;P==="auto"?(R=O.transitions.getAutoHeightDuration(J.clientHeight),z.current=R):R=$,J.style.transition=[O.transitions.create("opacity",{duration:R,delay:Q}),O.transitions.create("transform",{duration:hm?R:R*.666,delay:Q,easing:K})].join(","),f&&f(J,_)}),j=E(p),N=E(w),W=E(J=>{const{duration:_,delay:$,easing:Q}=zl({style:A,timeout:P,easing:l},{mode:"exit"});let K;P==="auto"?(K=O.transitions.getAutoHeightDuration(J.clientHeight),z.current=K):K=_,J.style.transition=[O.transitions.create("opacity",{duration:K,delay:$}),O.transitions.create("transform",{duration:hm?K:K*.666,delay:hm?$:$||K*.333,easing:Q})].join(","),J.style.opacity=0,J.style.transform=sg(.75),m&&m(J)}),I=E(x),te=J=>{P==="auto"&&C.start(z.current||0,J),r&&r(D.current,J)};return v.jsx(H,{appear:s,in:u,nodeRef:D,onEnter:L,onEntered:j,onEntering:M,onExit:W,onExited:I,onExiting:N,addEndListener:te,timeout:P==="auto"?null:P,...S,children:(J,{ownerState:_,...$})=>y.cloneElement(a,{style:{opacity:0,transform:sg(.75),visibility:J==="exited"&&!u?"hidden":void 0,...HT[J],...A,...a.props.style},ref:k,...$})})});Pu&&(Pu.muiSupportAuto=!0);const jT=N0({themeId:ko}),zT=e=>{const{classes:t,disableUnderline:n}=e,s=Ke({root:["root",!n&&"underline"],input:["input"]},IC,t);return{...t,...s}},ST=ve(Vp,{shouldForwardProp:e=>Zn(e)||e==="classes",name:"MuiInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[...Np(e,t),!n.disableUnderline&&t.underline]}})(tt(({theme:e})=>{let n=e.palette.mode==="light"?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)";return e.vars&&(n=`rgba(${e.vars.palette.common.onBackgroundChannel} / ${e.vars.opacity.inputUnderline})`),{position:"relative",variants:[{props:({ownerState:r})=>r.formControl,style:{"label + &":{marginTop:16}}},{props:({ownerState:r})=>!r.disableUnderline,style:{"&::after":{left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${ai.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${ai.error}`]:{"&::before, &::after":{borderBottomColor:(e.vars||e).palette.error.main}},"&::before":{borderBottom:`1px solid ${n}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${ai.disabled}, .${ai.error}):before`]:{borderBottom:`2px solid ${(e.vars||e).palette.text.primary}`,"@media (hover: none)":{borderBottom:`1px solid ${n}`}},[`&.${ai.disabled}:before`]:{borderBottomStyle:"dotted"}}},...Object.entries(e.palette).filter(yn()).map(([r])=>({props:{color:r,disableUnderline:!1},style:{"&::after":{borderBottom:`2px solid ${(e.vars||e).palette[r].main}`}}}))]}})),CT=ve(Ip,{name:"MuiInput",slot:"Input",overridesResolver:Bp})({}),wy=y.forwardRef(function(t,n){const r=nt({props:t,name:"MuiInput"}),{disableUnderline:s=!1,components:a={},componentsProps:l,fullWidth:u=!1,inputComponent:f="input",multiline:p=!1,slotProps:h,slots:m={},type:x="text",...w}=r,A=zT(r),H={root:{ownerState:{disableUnderline:s}}},S=h??l?qn(h??l,H):H,C=m.root??a.Root??ST,z=m.input??a.Input??CT;return v.jsx(Wp,{slots:{root:C,input:z},slotProps:S,fullWidth:u,inputComponent:f,multiline:p,ref:n,type:x,...w,classes:A})});wy.muiName="Input";function OT(e){return Ue("MuiInputAdornment",e)}const hx=Qe("MuiInputAdornment",["root","filled","standard","outlined","positionStart","positionEnd","disablePointerEvents","hiddenLabel","sizeSmall"]);var mx;const DT=(e,t)=>{const{ownerState:n}=e;return[t.root,t[`position${me(n.position)}`],n.disablePointerEvents===!0&&t.disablePointerEvents,t[n.variant]]},TT=e=>{const{classes:t,disablePointerEvents:n,hiddenLabel:r,position:s,size:a,variant:l}=e,u={root:["root",n&&"disablePointerEvents",s&&`position${me(s)}`,l,r&&"hiddenLabel",a&&`size${me(a)}`]};return Ke(u,OT,t)},kT=ve("div",{name:"MuiInputAdornment",slot:"Root",overridesResolver:DT})(tt(({theme:e})=>({display:"flex",maxHeight:"2em",alignItems:"center",whiteSpace:"nowrap",color:(e.vars||e).palette.action.active,variants:[{props:{variant:"filled"},style:{[`&.${hx.positionStart}&:not(.${hx.hiddenLabel})`]:{marginTop:16}}},{props:{position:"start"},style:{marginRight:8}},{props:{position:"end"},style:{marginLeft:8}},{props:{disablePointerEvents:!0},style:{pointerEvents:"none"}}]}))),O1=y.forwardRef(function(t,n){const r=nt({props:t,name:"MuiInputAdornment"}),{children:s,className:a,component:l="div",disablePointerEvents:u=!1,disableTypography:f=!1,position:p,variant:h,...m}=r,x=Bo()||{};let w=h;h&&x.variant,x&&!w&&(w=x.variant);const A={...r,hiddenLabel:x.hiddenLabel,size:x.size,disablePointerEvents:u,position:p,variant:w},P=TT(A);return v.jsx(Xp.Provider,{value:null,children:v.jsx(kT,{as:l,ownerState:A,className:Oe(P.root,a),ref:n,...m,children:typeof s=="string"&&!f?v.jsx(wt,{color:"textSecondary",children:s}):v.jsxs(y.Fragment,{children:[p==="start"?mx||(mx=v.jsx("span",{className:"notranslate","aria-hidden":!0,children:"​"})):null,s]})})})});function ET(e){return Ue("MuiInputLabel",e)}Qe("MuiInputLabel",["root","focused","disabled","error","required","asterisk","formControl","sizeSmall","shrink","animated","standard","filled","outlined"]);const RT=e=>{const{classes:t,formControl:n,size:r,shrink:s,disableAnimation:a,variant:l,required:u}=e,f={root:["root",n&&"formControl",!a&&"animated",s&&"shrink",r&&r!=="normal"&&`size${me(r)}`,l],asterisk:[u&&"asterisk"]},p=Ke(f,ET,t);return{...t,...p}},MT=ve(Ld,{shouldForwardProp:e=>Zn(e)||e==="classes",name:"MuiInputLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${iu.asterisk}`]:t.asterisk},t.root,n.formControl&&t.formControl,n.size==="small"&&t.sizeSmall,n.shrink&&t.shrink,!n.disableAnimation&&t.animated,n.focused&&t.focused,t[n.variant]]}})(tt(({theme:e})=>({display:"block",transformOrigin:"top left",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",maxWidth:"100%",variants:[{props:({ownerState:t})=>t.formControl,style:{position:"absolute",left:0,top:0,transform:"translate(0, 20px) scale(1)"}},{props:{size:"small"},style:{transform:"translate(0, 17px) scale(1)"}},{props:({ownerState:t})=>t.shrink,style:{transform:"translate(0, -1.5px) scale(0.75)",transformOrigin:"top left",maxWidth:"133%"}},{props:({ownerState:t})=>!t.disableAnimation,style:{transition:e.transitions.create(["color","transform","max-width"],{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut})}},{props:{variant:"filled"},style:{zIndex:1,pointerEvents:"none",transform:"translate(12px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"}},{props:{variant:"filled",size:"small"},style:{transform:"translate(12px, 13px) scale(1)"}},{props:({variant:t,ownerState:n})=>t==="filled"&&n.shrink,style:{userSelect:"none",pointerEvents:"auto",transform:"translate(12px, 7px) scale(0.75)",maxWidth:"calc(133% - 24px)"}},{props:({variant:t,ownerState:n,size:r})=>t==="filled"&&n.shrink&&r==="small",style:{transform:"translate(12px, 4px) scale(0.75)"}},{props:{variant:"outlined"},style:{zIndex:1,pointerEvents:"none",transform:"translate(14px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"}},{props:{variant:"outlined",size:"small"},style:{transform:"translate(14px, 9px) scale(1)"}},{props:({variant:t,ownerState:n})=>t==="outlined"&&n.shrink,style:{userSelect:"none",pointerEvents:"auto",maxWidth:"calc(133% - 32px)",transform:"translate(14px, -9px) scale(0.75)"}}]}))),Xd=y.forwardRef(function(t,n){const r=nt({name:"MuiInputLabel",props:t}),{disableAnimation:s=!1,margin:a,shrink:l,variant:u,className:f,...p}=r,h=Bo();let m=l;typeof m>"u"&&h&&(m=h.filled||h.focused||h.adornedStart);const x=ji({props:r,muiFormControl:h,states:["size","variant","required","focused"]}),w={...r,disableAnimation:s,formControl:h,shrink:m,size:x.size,variant:x.variant,required:x.required,focused:x.focused},A=RT(w);return v.jsx(MT,{"data-shrink":m,ref:n,className:Oe(A.root,f),...p,ownerState:w,classes:A})});function LT(e){return Ue("MuiLink",e)}const XT=Qe("MuiLink",["root","underlineNone","underlineHover","underlineAlways","button","focusVisible"]),NT=({theme:e,ownerState:t})=>{const n=t.color,r=yi(e,`palette.${n}.main`,!1)||yi(e,`palette.${n}`,!1)||t.color,s=yi(e,`palette.${n}.mainChannel`)||yi(e,`palette.${n}Channel`);return"vars"in e&&s?`rgba(${s} / 0.4)`:Pt(r,.4)},gx={primary:!0,secondary:!0,error:!0,info:!0,success:!0,warning:!0,textPrimary:!0,textSecondary:!0,textDisabled:!0},BT=e=>{const{classes:t,component:n,focusVisible:r,underline:s}=e,a={root:["root",`underline${me(s)}`,n==="button"&&"button",r&&"focusVisible"]};return Ke(a,LT,t)},VT=ve(wt,{name:"MuiLink",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`underline${me(n.underline)}`],n.component==="button"&&t.button]}})(tt(({theme:e})=>({variants:[{props:{underline:"none"},style:{textDecoration:"none"}},{props:{underline:"hover"},style:{textDecoration:"none","&:hover":{textDecoration:"underline"}}},{props:{underline:"always"},style:{textDecoration:"underline","&:hover":{textDecorationColor:"inherit"}}},{props:({underline:t,ownerState:n})=>t==="always"&&n.color!=="inherit",style:{textDecorationColor:"var(--Link-underlineColor)"}},...Object.entries(e.palette).filter(yn()).map(([t])=>({props:{underline:"always",color:t},style:{"--Link-underlineColor":e.vars?`rgba(${e.vars.palette[t].mainChannel} / 0.4)`:Pt(e.palette[t].main,.4)}})),{props:{underline:"always",color:"textPrimary"},style:{"--Link-underlineColor":e.vars?`rgba(${e.vars.palette.text.primaryChannel} / 0.4)`:Pt(e.palette.text.primary,.4)}},{props:{underline:"always",color:"textSecondary"},style:{"--Link-underlineColor":e.vars?`rgba(${e.vars.palette.text.secondaryChannel} / 0.4)`:Pt(e.palette.text.secondary,.4)}},{props:{underline:"always",color:"textDisabled"},style:{"--Link-underlineColor":(e.vars||e).palette.text.disabled}},{props:{component:"button"},style:{position:"relative",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none","&::-moz-focus-inner":{borderStyle:"none"},[`&.${XT.focusVisible}`]:{outline:"auto"}}}]}))),Kc=y.forwardRef(function(t,n){const r=nt({props:t,name:"MuiLink"}),s=Gr(),{className:a,color:l="primary",component:u="a",onBlur:f,onFocus:p,TypographyClasses:h,underline:m="always",variant:x="inherit",sx:w,...A}=r,[P,H]=y.useState(!1),S=D=>{jl(D.target)||H(!1),f&&f(D)},C=D=>{jl(D.target)&&H(!0),p&&p(D)},z={...r,color:l,component:u,focusVisible:P,underline:m,variant:x},O=BT(z);return v.jsx(VT,{color:l,className:Oe(O.root,a),classes:h,component:u,onBlur:S,onFocus:C,ref:n,ownerState:z,variant:x,...A,sx:[...gx[l]===void 0?[{color:l}]:[],...Array.isArray(w)?w:[w]],style:{...A.style,...m==="always"&&l!=="inherit"&&!gx[l]&&{"--Link-underlineColor":NT({theme:s,ownerState:z})}}})}),Eo=y.createContext({});function IT(e){return Ue("MuiList",e)}Qe("MuiList",["root","padding","dense","subheader"]);const WT=e=>{const{classes:t,disablePadding:n,dense:r,subheader:s}=e;return Ke({root:["root",!n&&"padding",r&&"dense",s&&"subheader"]},IT,t)},JT=ve("ul",{name:"MuiList",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disablePadding&&t.padding,n.dense&&t.dense,n.subheader&&t.subheader]}})({listStyle:"none",margin:0,padding:0,position:"relative",variants:[{props:({ownerState:e})=>!e.disablePadding,style:{paddingTop:8,paddingBottom:8}},{props:({ownerState:e})=>e.subheader,style:{paddingTop:0}}]}),ig=y.forwardRef(function(t,n){const r=nt({props:t,name:"MuiList"}),{children:s,className:a,component:l="ul",dense:u=!1,disablePadding:f=!1,subheader:p,...h}=r,m=y.useMemo(()=>({dense:u}),[u]),x={...r,component:l,dense:u,disablePadding:f},w=WT(x);return v.jsx(Eo.Provider,{value:m,children:v.jsxs(JT,{as:l,className:Oe(w.root,a),ref:n,ownerState:x,...h,children:[p,s]})})});function FT(e){return Ue("MuiListItem",e)}Qe("MuiListItem",["root","container","dense","alignItemsFlexStart","divider","gutters","padding","secondaryAction"]);function YT(e){return Ue("MuiListItemButton",e)}const nl=Qe("MuiListItemButton",["root","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","selected"]),qT=(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,n.alignItems==="flex-start"&&t.alignItemsFlexStart,n.divider&&t.divider,!n.disableGutters&&t.gutters]},ZT=e=>{const{alignItems:t,classes:n,dense:r,disabled:s,disableGutters:a,divider:l,selected:u}=e,p=Ke({root:["root",r&&"dense",!a&&"gutters",l&&"divider",s&&"disabled",t==="flex-start"&&"alignItemsFlexStart",u&&"selected"]},YT,n);return{...n,...p}},GT=ve(fa,{shouldForwardProp:e=>Zn(e)||e==="classes",name:"MuiListItemButton",slot:"Root",overridesResolver:qT})(tt(({theme:e})=>({display:"flex",flexGrow:1,justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minWidth:0,boxSizing:"border-box",textAlign:"left",paddingTop:8,paddingBottom:8,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${nl.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Pt(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${nl.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Pt(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${nl.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:Pt(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Pt(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${nl.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${nl.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},variants:[{props:({ownerState:t})=>t.divider,style:{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"}},{props:{alignItems:"flex-start"},style:{alignItems:"flex-start"}},{props:({ownerState:t})=>!t.disableGutters,style:{paddingLeft:16,paddingRight:16}},{props:({ownerState:t})=>t.dense,style:{paddingTop:4,paddingBottom:4}}]}))),D1=y.forwardRef(function(t,n){const r=nt({props:t,name:"MuiListItemButton"}),{alignItems:s="center",autoFocus:a=!1,component:l="div",children:u,dense:f=!1,disableGutters:p=!1,divider:h=!1,focusVisibleClassName:m,selected:x=!1,className:w,...A}=r,P=y.useContext(Eo),H=y.useMemo(()=>({dense:f||P.dense||!1,alignItems:s,disableGutters:p}),[s,P.dense,f,p]),S=y.useRef(null);Yr(()=>{a&&S.current&&S.current.focus()},[a]);const C={...r,alignItems:s,dense:H.dense,disableGutters:p,divider:h,selected:x},z=ZT(C),O=sn(S,n);return v.jsx(Eo.Provider,{value:H,children:v.jsx(GT,{ref:O,href:A.href||A.to,component:(A.href||A.to)&&l==="div"?"button":l,focusVisibleClassName:Oe(z.focusVisible,m),ownerState:C,className:Oe(z.root,w),...A,classes:z,children:u})})});function UT(e){return Ue("MuiListItemSecondaryAction",e)}Qe("MuiListItemSecondaryAction",["root","disableGutters"]);const QT=e=>{const{disableGutters:t,classes:n}=e;return Ke({root:["root",t&&"disableGutters"]},UT,n)},KT=ve("div",{name:"MuiListItemSecondaryAction",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.disableGutters&&t.disableGutters]}})({position:"absolute",right:16,top:"50%",transform:"translateY(-50%)",variants:[{props:({ownerState:e})=>e.disableGutters,style:{right:0}}]}),T1=y.forwardRef(function(t,n){const r=nt({props:t,name:"MuiListItemSecondaryAction"}),{className:s,...a}=r,l=y.useContext(Eo),u={...r,disableGutters:l.disableGutters},f=QT(u);return v.jsx(KT,{className:Oe(f.root,s),ownerState:u,ref:n,...a})});T1.muiName="ListItemSecondaryAction";const _T=(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,n.alignItems==="flex-start"&&t.alignItemsFlexStart,n.divider&&t.divider,!n.disableGutters&&t.gutters,!n.disablePadding&&t.padding,n.hasSecondaryAction&&t.secondaryAction]},$T=e=>{const{alignItems:t,classes:n,dense:r,disableGutters:s,disablePadding:a,divider:l,hasSecondaryAction:u}=e;return Ke({root:["root",r&&"dense",!s&&"gutters",!a&&"padding",l&&"divider",t==="flex-start"&&"alignItemsFlexStart",u&&"secondaryAction"],container:["container"]},FT,n)},ek=ve("div",{name:"MuiListItem",slot:"Root",overridesResolver:_T})(tt(({theme:e})=>({display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",width:"100%",boxSizing:"border-box",textAlign:"left",variants:[{props:({ownerState:t})=>!t.disablePadding,style:{paddingTop:8,paddingBottom:8}},{props:({ownerState:t})=>!t.disablePadding&&t.dense,style:{paddingTop:4,paddingBottom:4}},{props:({ownerState:t})=>!t.disablePadding&&!t.disableGutters,style:{paddingLeft:16,paddingRight:16}},{props:({ownerState:t})=>!t.disablePadding&&!!t.secondaryAction,style:{paddingRight:48}},{props:({ownerState:t})=>!!t.secondaryAction,style:{[`& > .${nl.root}`]:{paddingRight:48}}},{props:{alignItems:"flex-start"},style:{alignItems:"flex-start"}},{props:({ownerState:t})=>t.divider,style:{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"}},{props:({ownerState:t})=>t.button,style:{transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}}}},{props:({ownerState:t})=>t.hasSecondaryAction,style:{paddingRight:48}}]}))),tk=ve("li",{name:"MuiListItem",slot:"Container",overridesResolver:(e,t)=>t.container})({position:"relative"}),Cc=y.forwardRef(function(t,n){const r=nt({props:t,name:"MuiListItem"}),{alignItems:s="center",children:a,className:l,component:u,components:f={},componentsProps:p={},ContainerComponent:h="li",ContainerProps:{className:m,...x}={},dense:w=!1,disableGutters:A=!1,disablePadding:P=!1,divider:H=!1,secondaryAction:S,slotProps:C={},slots:z={},...O}=r,D=y.useContext(Eo),k=y.useMemo(()=>({dense:w||D.dense||!1,alignItems:s,disableGutters:A}),[s,D.dense,w,A]),E=y.useRef(null),M=y.Children.toArray(a),L=M.length&&Ed(M[M.length-1],["ListItemSecondaryAction"]),j={...r,alignItems:s,dense:k.dense,disableGutters:A,disablePadding:P,divider:H,hasSecondaryAction:L},N=$T(j),W=sn(E,n),I=z.root||f.Root||ek,te=C.root||p.root||{},J={className:Oe(N.root,te.className,l),...O};let _=u||"li";return L?(_=!J.component&&!u?"div":_,h==="li"&&(_==="li"?_="div":J.component==="li"&&(J.component="div")),v.jsx(Eo.Provider,{value:k,children:v.jsxs(tk,{as:h,className:Oe(N.container,m),ref:W,ownerState:j,...x,children:[v.jsx(I,{...te,...!yu(I)&&{as:_,ownerState:{...j,...te.ownerState}},...J,children:M}),M.pop()]})})):v.jsx(Eo.Provider,{value:k,children:v.jsxs(I,{...te,as:_,ref:W,...!yu(I)&&{ownerState:{...j,...te.ownerState}},...J,children:[M,S&&v.jsx(T1,{children:S})]})})});function nk(e){return Ue("MuiListItemIcon",e)}const yx=Qe("MuiListItemIcon",["root","alignItemsFlexStart"]),rk=e=>{const{alignItems:t,classes:n}=e;return Ke({root:["root",t==="flex-start"&&"alignItemsFlexStart"]},nk,n)},ok=ve("div",{name:"MuiListItemIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.alignItems==="flex-start"&&t.alignItemsFlexStart]}})(tt(({theme:e})=>({minWidth:56,color:(e.vars||e).palette.action.active,flexShrink:0,display:"inline-flex",variants:[{props:{alignItems:"flex-start"},style:{marginTop:8}}]}))),sk=y.forwardRef(function(t,n){const r=nt({props:t,name:"MuiListItemIcon"}),{className:s,...a}=r,l=y.useContext(Eo),u={...r,alignItems:l.alignItems},f=rk(u);return v.jsx(ok,{className:Oe(f.root,s),ownerState:u,ref:n,...a})});function ik(e){return Ue("MuiListItemText",e)}const sl=Qe("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]),ak=e=>{const{classes:t,inset:n,primary:r,secondary:s,dense:a}=e;return Ke({root:["root",n&&"inset",a&&"dense",r&&s&&"multiline"],primary:["primary"],secondary:["secondary"]},ik,t)},lk=ve("div",{name:"MuiListItemText",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${sl.primary}`]:t.primary},{[`& .${sl.secondary}`]:t.secondary},t.root,n.inset&&t.inset,n.primary&&n.secondary&&t.multiline,n.dense&&t.dense]}})({flex:"1 1 auto",minWidth:0,marginTop:4,marginBottom:4,[`.${N8.root}:where(& .${sl.primary})`]:{display:"block"},[`.${N8.root}:where(& .${sl.secondary})`]:{display:"block"},variants:[{props:({ownerState:e})=>e.primary&&e.secondary,style:{marginTop:6,marginBottom:6}},{props:({ownerState:e})=>e.inset,style:{paddingLeft:56}}]}),il=y.forwardRef(function(t,n){const r=nt({props:t,name:"MuiListItemText"}),{children:s,className:a,disableTypography:l=!1,inset:u=!1,primary:f,primaryTypographyProps:p,secondary:h,secondaryTypographyProps:m,slots:x={},slotProps:w={},...A}=r,{dense:P}=y.useContext(Eo);let H=f??s,S=h;const C={...r,disableTypography:l,inset:u,primary:!!H,secondary:!!S,dense:P},z=ak(C),O={slots:x,slotProps:{primary:p,secondary:m,...w}},[D,k]=Tt("primary",{className:z.primary,elementType:wt,externalForwardedProps:O,ownerState:C}),[E,M]=Tt("secondary",{className:z.secondary,elementType:wt,externalForwardedProps:O,ownerState:C});return H!=null&&H.type!==wt&&!l&&(H=v.jsx(D,{variant:P?"body2":"body1",component:k!=null&&k.variant?void 0:"span",...k,children:H})),S!=null&&S.type!==wt&&!l&&(S=v.jsx(E,{variant:"body2",color:"textSecondary",...M,children:S})),v.jsxs(lk,{className:Oe(z.root,a),ownerState:C,ref:n,...A,children:[H,S]})});function mm(e,t,n){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:n?null:e.firstChild}function Ax(e,t,n){return e===t?n?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:n?null:e.lastChild}function k1(e,t){if(t===void 0)return!0;let n=e.innerText;return n===void 0&&(n=e.textContent),n=n.trim().toLowerCase(),n.length===0?!1:t.repeating?n[0]===t.keys[0]:n.startsWith(t.keys.join(""))}function Oc(e,t,n,r,s,a){let l=!1,u=s(e,t,t?n:!1);for(;u;){if(u===e.firstChild){if(l)return!1;l=!0}const f=r?!1:u.disabled||u.getAttribute("aria-disabled")==="true";if(!u.hasAttribute("tabindex")||!k1(u,a)||f)u=s(e,u,n);else return u.focus(),!0}return!1}const ck=y.forwardRef(function(t,n){const{actions:r,autoFocus:s=!1,autoFocusItem:a=!1,children:l,className:u,disabledItemsFocusable:f=!1,disableListWrap:p=!1,onKeyDown:h,variant:m="selectedMenu",...x}=t,w=y.useRef(null),A=y.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});Yr(()=>{s&&w.current.focus()},[s]),y.useImperativeHandle(r,()=>({adjustStyleForScrollbar:(z,{direction:O})=>{const D=!w.current.style.width;if(z.clientHeight{const O=w.current,D=z.key;if(z.ctrlKey||z.metaKey||z.altKey){h&&h(z);return}const E=ir(O).activeElement;if(D==="ArrowDown")z.preventDefault(),Oc(O,E,p,f,mm);else if(D==="ArrowUp")z.preventDefault(),Oc(O,E,p,f,Ax);else if(D==="Home")z.preventDefault(),Oc(O,null,p,f,mm);else if(D==="End")z.preventDefault(),Oc(O,null,p,f,Ax);else if(D.length===1){const M=A.current,L=D.toLowerCase(),j=performance.now();M.keys.length>0&&(j-M.lastTime>500?(M.keys=[],M.repeating=!0,M.previousKeyMatched=!0):M.repeating&&L!==M.keys[0]&&(M.repeating=!1)),M.lastTime=j,M.keys.push(L);const N=E&&!M.repeating&&k1(E,M);M.previousKeyMatched&&(N||Oc(O,E,!1,f,mm,M))?z.preventDefault():M.previousKeyMatched=!1}h&&h(z)},H=sn(w,n);let S=-1;y.Children.forEach(l,(z,O)=>{if(!y.isValidElement(z)){S===O&&(S+=1,S>=l.length&&(S=-1));return}z.props.disabled||(m==="selectedMenu"&&z.props.selected||S===-1)&&(S=O),S===O&&(z.props.disabled||z.props.muiSkipListHighlight||z.type.muiSkipListHighlight)&&(S+=1,S>=l.length&&(S=-1))});const C=y.Children.map(l,(z,O)=>{if(O===S){const D={};return a&&(D.autoFocus=!0),z.props.tabIndex===void 0&&m==="selectedMenu"&&(D.tabIndex=0),y.cloneElement(z,D)}return z});return v.jsx(ig,{role:"menu",ref:H,className:u,onKeyDown:P,tabIndex:s?0:-1,...x,children:C})});function uk(e){return Ue("MuiPopover",e)}Qe("MuiPopover",["root","paper"]);function Px(e,t){let n=0;return typeof t=="number"?n=t:t==="center"?n=e.height/2:t==="bottom"&&(n=e.height),n}function bx(e,t){let n=0;return typeof t=="number"?n=t:t==="center"?n=e.width/2:t==="right"&&(n=e.width),n}function xx(e){return[e.horizontal,e.vertical].map(t=>typeof t=="number"?`${t}px`:t).join(" ")}function gm(e){return typeof e=="function"?e():e}const fk=e=>{const{classes:t}=e;return Ke({root:["root"],paper:["paper"]},uk,t)},dk=ve(by,{name:"MuiPopover",slot:"Root",overridesResolver:(e,t)=>t.root})({}),E1=ve(qr,{name:"MuiPopover",slot:"Paper",overridesResolver:(e,t)=>t.paper})({position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}),pk=y.forwardRef(function(t,n){const r=nt({props:t,name:"MuiPopover"}),{action:s,anchorEl:a,anchorOrigin:l={vertical:"top",horizontal:"left"},anchorPosition:u,anchorReference:f="anchorEl",children:p,className:h,container:m,elevation:x=8,marginThreshold:w=16,open:A,PaperProps:P={},slots:H={},slotProps:S={},transformOrigin:C={vertical:"top",horizontal:"left"},TransitionComponent:z=Pu,transitionDuration:O="auto",TransitionProps:{onEntering:D,...k}={},disableScrollLock:E=!1,...M}=r,L=(S==null?void 0:S.paper)??P,j=y.useRef(),N={...r,anchorOrigin:l,anchorReference:f,elevation:x,marginThreshold:w,externalPaperSlotProps:L,transformOrigin:C,TransitionComponent:z,transitionDuration:O,TransitionProps:k},W=fk(N),I=y.useCallback(()=>{if(f==="anchorPosition")return u;const Le=gm(a),Pe=(Le&&Le.nodeType===1?Le:ir(j.current).body).getBoundingClientRect();return{top:Pe.top+Px(Pe,l.vertical),left:Pe.left+bx(Pe,l.horizontal)}},[a,l.horizontal,l.vertical,u,f]),te=y.useCallback(Le=>({vertical:Px(Le,C.vertical),horizontal:bx(Le,C.horizontal)}),[C.horizontal,C.vertical]),J=y.useCallback(Le=>{const Ve={width:Le.offsetWidth,height:Le.offsetHeight},Pe=te(Ve);if(f==="none")return{top:null,left:null,transformOrigin:xx(Pe)};const _e=I();let we=_e.top-Pe.vertical,Fe=_e.left-Pe.horizontal;const yt=we+Ve.height,ke=Fe+Ve.width,V=Mo(gm(a)),U=V.innerHeight-w,oe=V.innerWidth-w;if(w!==null&&weU){const Ae=yt-U;we-=Ae,Pe.vertical+=Ae}if(w!==null&&Feoe){const Ae=ke-oe;Fe-=Ae,Pe.horizontal+=Ae}return{top:`${Math.round(we)}px`,left:`${Math.round(Fe)}px`,transformOrigin:xx(Pe)}},[a,f,I,te,w]),[_,$]=y.useState(A),Q=y.useCallback(()=>{const Le=j.current;if(!Le)return;const Ve=J(Le);Ve.top!==null&&Le.style.setProperty("top",Ve.top),Ve.left!==null&&(Le.style.left=Ve.left),Le.style.transformOrigin=Ve.transformOrigin,$(!0)},[J]);y.useEffect(()=>(E&&window.addEventListener("scroll",Q),()=>window.removeEventListener("scroll",Q)),[a,E,Q]);const K=(Le,Ve)=>{D&&D(Le,Ve),Q()},R=()=>{$(!1)};y.useEffect(()=>{A&&Q()}),y.useImperativeHandle(s,()=>A?{updatePosition:()=>{Q()}}:null,[A,Q]),y.useEffect(()=>{if(!A)return;const Le=ny(()=>{Q()}),Ve=Mo(a);return Ve.addEventListener("resize",Le),()=>{Le.clear(),Ve.removeEventListener("resize",Le)}},[a,A,Q]);let G=O;O==="auto"&&!z.muiSupportAuto&&(G=void 0);const X=m||(a?ir(gm(a)).body:void 0),ne={slots:H,slotProps:{...S,paper:L}},[re,ie]=Tt("paper",{elementType:E1,externalForwardedProps:ne,additionalProps:{elevation:x,className:Oe(W.paper,L==null?void 0:L.className),style:_?L.style:{...L.style,opacity:0}},ownerState:N}),[ue,{slotProps:be,...ae}]=Tt("root",{elementType:dk,externalForwardedProps:ne,additionalProps:{slotProps:{backdrop:{invisible:!0}},container:X,open:A},ownerState:N,className:Oe(W.root,h)}),Se=sn(j,ie.ref);return v.jsx(ue,{...ae,...!yu(ue)&&{slotProps:be,disableScrollLock:E},...M,ref:n,children:v.jsx(z,{appear:!0,in:A,onEntering:K,onExited:R,timeout:G,...k,children:v.jsx(re,{...ie,ref:Se,children:p})})})});function vk(e){return Ue("MuiMenu",e)}Qe("MuiMenu",["root","paper","list"]);const hk={vertical:"top",horizontal:"right"},mk={vertical:"top",horizontal:"left"},gk=e=>{const{classes:t}=e;return Ke({root:["root"],paper:["paper"],list:["list"]},vk,t)},yk=ve(pk,{shouldForwardProp:e=>Zn(e)||e==="classes",name:"MuiMenu",slot:"Root",overridesResolver:(e,t)=>t.root})({}),Ak=ve(E1,{name:"MuiMenu",slot:"Paper",overridesResolver:(e,t)=>t.paper})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),Pk=ve(ck,{name:"MuiMenu",slot:"List",overridesResolver:(e,t)=>t.list})({outline:0}),bu=y.forwardRef(function(t,n){const r=nt({props:t,name:"MuiMenu"}),{autoFocus:s=!0,children:a,className:l,disableAutoFocusItem:u=!1,MenuListProps:f={},onClose:p,open:h,PaperProps:m={},PopoverClasses:x,transitionDuration:w="auto",TransitionProps:{onEntering:A,...P}={},variant:H="selectedMenu",slots:S={},slotProps:C={},...z}=r,O=Nu(),D={...r,autoFocus:s,disableAutoFocusItem:u,MenuListProps:f,onEntering:A,PaperProps:m,transitionDuration:w,TransitionProps:P,variant:H},k=gk(D),E=s&&!u&&h,M=y.useRef(null),L=(_,$)=>{M.current&&M.current.adjustStyleForScrollbar(_,{direction:O?"rtl":"ltr"}),A&&A(_,$)},j=_=>{_.key==="Tab"&&(_.preventDefault(),p&&p(_,"tabKeyDown"))};let N=-1;y.Children.map(a,(_,$)=>{y.isValidElement(_)&&(_.props.disabled||(H==="selectedMenu"&&_.props.selected||N===-1)&&(N=$))});const W=S.paper??Ak,I=C.paper??m,te=ep({elementType:S.root,externalSlotProps:C.root,ownerState:D,className:[k.root,l]}),J=ep({elementType:W,externalSlotProps:I,ownerState:D,className:k.paper});return v.jsx(yk,{onClose:p,anchorOrigin:{vertical:"bottom",horizontal:O?"right":"left"},transformOrigin:O?hk:mk,slots:{paper:W,root:S.root},slotProps:{root:te,paper:J},open:h,ref:n,transitionDuration:w,TransitionProps:{onEntering:L,...P},ownerState:D,...z,classes:x,children:v.jsx(Pk,{onKeyDown:j,actions:M,autoFocus:s&&(N===-1||u),autoFocusItem:E,variant:H,...f,className:Oe(k.list,f.className),children:a})})});function bk(e){return Ue("MuiMenuItem",e)}const Dc=Qe("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]),xk=(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,n.divider&&t.divider,!n.disableGutters&&t.gutters]},wk=e=>{const{disabled:t,dense:n,divider:r,disableGutters:s,selected:a,classes:l}=e,f=Ke({root:["root",n&&"dense",t&&"disabled",!s&&"gutters",r&&"divider",a&&"selected"]},bk,l);return{...l,...f}},Hk=ve(fa,{shouldForwardProp:e=>Zn(e)||e==="classes",name:"MuiMenuItem",slot:"Root",overridesResolver:xk})(tt(({theme:e})=>({...e.typography.body1,display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",whiteSpace:"nowrap","&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${Dc.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Pt(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${Dc.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Pt(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${Dc.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:Pt(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Pt(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${Dc.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${Dc.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`& + .${ux.root}`]:{marginTop:e.spacing(1),marginBottom:e.spacing(1)},[`& + .${ux.inset}`]:{marginLeft:52},[`& .${sl.root}`]:{marginTop:0,marginBottom:0},[`& .${sl.inset}`]:{paddingLeft:36},[`& .${yx.root}`]:{minWidth:36},variants:[{props:({ownerState:t})=>!t.disableGutters,style:{paddingLeft:16,paddingRight:16}},{props:({ownerState:t})=>t.divider,style:{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"}},{props:({ownerState:t})=>!t.dense,style:{[e.breakpoints.up("sm")]:{minHeight:"auto"}}},{props:({ownerState:t})=>t.dense,style:{minHeight:32,paddingTop:4,paddingBottom:4,...e.typography.body2,[`& .${yx.root} svg`]:{fontSize:"1.25rem"}}}]}))),ss=y.forwardRef(function(t,n){const r=nt({props:t,name:"MuiMenuItem"}),{autoFocus:s=!1,component:a="li",dense:l=!1,divider:u=!1,disableGutters:f=!1,focusVisibleClassName:p,role:h="menuitem",tabIndex:m,className:x,...w}=r,A=y.useContext(Eo),P=y.useMemo(()=>({dense:l||A.dense||!1,disableGutters:f}),[A.dense,l,f]),H=y.useRef(null);Yr(()=>{s&&H.current&&H.current.focus()},[s]);const S={...r,dense:P.dense,divider:u,disableGutters:f},C=wk(r),z=sn(H,n);let O;return r.disabled||(O=m!==void 0?m:-1),v.jsx(Eo.Provider,{value:P,children:v.jsx(Hk,{ref:z,role:h,tabIndex:O,component:a,focusVisibleClassName:Oe(C.focusVisible,p),className:Oe(C.root,x),...w,ownerState:S,classes:C})})});function jk(e){return Ue("MuiNativeSelect",e)}const Hy=Qe("MuiNativeSelect",["root","select","multiple","filled","outlined","standard","disabled","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]),zk=e=>{const{classes:t,variant:n,disabled:r,multiple:s,open:a,error:l}=e,u={select:["select",n,r&&"disabled",s&&"multiple",l&&"error"],icon:["icon",`icon${me(n)}`,a&&"iconOpen",r&&"disabled"]};return Ke(u,jk,t)},R1=ve("select")(({theme:e})=>({MozAppearance:"none",WebkitAppearance:"none",userSelect:"none",borderRadius:0,cursor:"pointer","&:focus":{borderRadius:0},[`&.${Hy.disabled}`]:{cursor:"default"},"&[multiple]":{height:"auto"},"&:not([multiple]) option, &:not([multiple]) optgroup":{backgroundColor:(e.vars||e).palette.background.paper},variants:[{props:({ownerState:t})=>t.variant!=="filled"&&t.variant!=="outlined",style:{"&&&":{paddingRight:24,minWidth:16}}},{props:{variant:"filled"},style:{"&&&":{paddingRight:32}}},{props:{variant:"outlined"},style:{borderRadius:(e.vars||e).shape.borderRadius,"&:focus":{borderRadius:(e.vars||e).shape.borderRadius},"&&&":{paddingRight:32}}}]})),Sk=ve(R1,{name:"MuiNativeSelect",slot:"Select",shouldForwardProp:Zn,overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.select,t[n.variant],n.error&&t.error,{[`&.${Hy.multiple}`]:t.multiple}]}})({}),M1=ve("svg")(({theme:e})=>({position:"absolute",right:0,top:"calc(50% - .5em)",pointerEvents:"none",color:(e.vars||e).palette.action.active,[`&.${Hy.disabled}`]:{color:(e.vars||e).palette.action.disabled},variants:[{props:({ownerState:t})=>t.open,style:{transform:"rotate(180deg)"}},{props:{variant:"filled"},style:{right:7}},{props:{variant:"outlined"},style:{right:7}}]})),Ck=ve(M1,{name:"MuiNativeSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.icon,n.variant&&t[`icon${me(n.variant)}`],n.open&&t.iconOpen]}})({}),Ok=y.forwardRef(function(t,n){const{className:r,disabled:s,error:a,IconComponent:l,inputRef:u,variant:f="standard",...p}=t,h={...t,disabled:s,variant:f,error:a},m=zk(h);return v.jsxs(y.Fragment,{children:[v.jsx(Sk,{ownerState:h,className:Oe(m.select,r),disabled:s,ref:u||n,...p}),t.multiple?null:v.jsx(Ck,{as:l,ownerState:h,className:m.icon})]})});var wx;const Dk=ve("fieldset",{shouldForwardProp:Zn})({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%"}),Tk=ve("legend",{shouldForwardProp:Zn})(tt(({theme:e})=>({float:"unset",width:"auto",overflow:"hidden",variants:[{props:({ownerState:t})=>!t.withLabel,style:{padding:0,lineHeight:"11px",transition:e.transitions.create("width",{duration:150,easing:e.transitions.easing.easeOut})}},{props:({ownerState:t})=>t.withLabel,style:{display:"block",padding:0,height:11,fontSize:"0.75em",visibility:"hidden",maxWidth:.01,transition:e.transitions.create("max-width",{duration:50,easing:e.transitions.easing.easeOut}),whiteSpace:"nowrap","& > span":{paddingLeft:5,paddingRight:5,display:"inline-block",opacity:0,visibility:"visible"}}},{props:({ownerState:t})=>t.withLabel&&t.notched,style:{maxWidth:"100%",transition:e.transitions.create("max-width",{duration:100,easing:e.transitions.easing.easeOut,delay:50})}}]})));function kk(e){const{children:t,classes:n,className:r,label:s,notched:a,...l}=e,u=s!=null&&s!=="",f={...e,notched:a,withLabel:u};return v.jsx(Dk,{"aria-hidden":!0,className:r,ownerState:f,...l,children:v.jsx(Tk,{ownerState:f,children:u?v.jsx("span",{children:s}):wx||(wx=v.jsx("span",{className:"notranslate","aria-hidden":!0,children:"​"}))})})}const Ek=e=>{const{classes:t}=e,r=Ke({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},WC,t);return{...t,...r}},Rk=ve(Vp,{shouldForwardProp:e=>Zn(e)||e==="classes",name:"MuiOutlinedInput",slot:"Root",overridesResolver:Np})(tt(({theme:e})=>{const t=e.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{position:"relative",borderRadius:(e.vars||e).shape.borderRadius,[`&:hover .${ro.notchedOutline}`]:{borderColor:(e.vars||e).palette.text.primary},"@media (hover: none)":{[`&:hover .${ro.notchedOutline}`]:{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:t}},[`&.${ro.focused} .${ro.notchedOutline}`]:{borderWidth:2},variants:[...Object.entries(e.palette).filter(yn()).map(([n])=>({props:{color:n},style:{[`&.${ro.focused} .${ro.notchedOutline}`]:{borderColor:(e.vars||e).palette[n].main}}})),{props:{},style:{[`&.${ro.error} .${ro.notchedOutline}`]:{borderColor:(e.vars||e).palette.error.main},[`&.${ro.disabled} .${ro.notchedOutline}`]:{borderColor:(e.vars||e).palette.action.disabled}}},{props:({ownerState:n})=>n.startAdornment,style:{paddingLeft:14}},{props:({ownerState:n})=>n.endAdornment,style:{paddingRight:14}},{props:({ownerState:n})=>n.multiline,style:{padding:"16.5px 14px"}},{props:({ownerState:n,size:r})=>n.multiline&&r==="small",style:{padding:"8.5px 14px"}}]}})),Mk=ve(kk,{name:"MuiOutlinedInput",slot:"NotchedOutline",overridesResolver:(e,t)=>t.notchedOutline})(tt(({theme:e})=>{const t=e.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:t}})),Lk=ve(Ip,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:Bp})(tt(({theme:e})=>({padding:"16.5px 14px",...!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:e.palette.mode==="light"?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:e.palette.mode==="light"?null:"#fff",caretColor:e.palette.mode==="light"?null:"#fff",borderRadius:"inherit"}},...e.vars&&{"&:-webkit-autofill":{borderRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},variants:[{props:{size:"small"},style:{padding:"8.5px 14px"}},{props:({ownerState:t})=>t.multiline,style:{padding:0}},{props:({ownerState:t})=>t.startAdornment,style:{paddingLeft:0}},{props:({ownerState:t})=>t.endAdornment,style:{paddingRight:0}}]}))),jy=y.forwardRef(function(t,n){var r;const s=nt({props:t,name:"MuiOutlinedInput"}),{components:a={},fullWidth:l=!1,inputComponent:u="input",label:f,multiline:p=!1,notched:h,slots:m={},type:x="text",...w}=s,A=Ek(s),P=Bo(),H=ji({props:s,muiFormControl:P,states:["color","disabled","error","focused","hiddenLabel","size","required"]}),S={...s,color:H.color||"primary",disabled:H.disabled,error:H.error,focused:H.focused,formControl:P,fullWidth:l,hiddenLabel:H.hiddenLabel,multiline:p,size:H.size,type:x},C=m.root??a.Root??Rk,z=m.input??a.Input??Lk;return v.jsx(Wp,{slots:{root:C,input:z},renderSuffix:O=>v.jsx(Mk,{ownerState:S,className:A.notchedOutline,label:f!=null&&f!==""&&H.required?r||(r=v.jsxs(y.Fragment,{children:[f," ","*"]})):f,notched:typeof h<"u"?h:!!(O.startAdornment||O.filled||O.focused)}),fullWidth:l,inputComponent:u,multiline:p,ref:n,type:x,...w,classes:{...A,notchedOutline:null}})});jy.muiName="Input";const Xk=At(v.jsx("path",{d:"M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"}),"FirstPage"),Nk=At(v.jsx("path",{d:"M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"}),"LastPage"),Bk=At(v.jsx("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"RadioButtonUnchecked"),Vk=At(v.jsx("path",{d:"M8.465 8.465C9.37 7.56 10.62 7 12 7C14.76 7 17 9.24 17 12C17 13.38 16.44 14.63 15.535 15.535C14.63 16.44 13.38 17 12 17C9.24 17 7 14.76 7 12C7 10.62 7.56 9.37 8.465 8.465Z"}),"RadioButtonChecked"),Ik=ve("span",{shouldForwardProp:Zn})({position:"relative",display:"flex"}),Wk=ve(Bk)({transform:"scale(1)"}),Jk=ve(Vk)(tt(({theme:e})=>({left:0,position:"absolute",transform:"scale(0)",transition:e.transitions.create("transform",{easing:e.transitions.easing.easeIn,duration:e.transitions.duration.shortest}),variants:[{props:{checked:!0},style:{transform:"scale(1)",transition:e.transitions.create("transform",{easing:e.transitions.easing.easeOut,duration:e.transitions.duration.shortest})}}]})));function L1(e){const{checked:t=!1,classes:n={},fontSize:r}=e,s={...e,checked:t};return v.jsxs(Ik,{className:n.root,ownerState:s,children:[v.jsx(Wk,{fontSize:r,className:n.background,ownerState:s}),v.jsx(Jk,{fontSize:r,className:n.dot,ownerState:s})]})}const X1=y.createContext(void 0);function Fk(){return y.useContext(X1)}function Yk(e){return Ue("MuiRadio",e)}const Hx=Qe("MuiRadio",["root","checked","disabled","colorPrimary","colorSecondary","sizeSmall"]),qk=e=>{const{classes:t,color:n,size:r}=e,s={root:["root",`color${me(n)}`,r!=="medium"&&`size${me(r)}`]};return{...t,...Ke(s,Yk,t)}},Zk=ve(Py,{shouldForwardProp:e=>Zn(e)||e==="classes",name:"MuiRadio",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.size!=="medium"&&t[`size${me(n.size)}`],t[`color${me(n.color)}`]]}})(tt(({theme:e})=>({color:(e.vars||e).palette.text.secondary,[`&.${Hx.disabled}`]:{color:(e.vars||e).palette.action.disabled},variants:[{props:{color:"default",disabled:!1,disableRipple:!1},style:{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:Pt(e.palette.action.active,e.palette.action.hoverOpacity)}}},...Object.entries(e.palette).filter(yn()).map(([t])=>({props:{color:t,disabled:!1,disableRipple:!1},style:{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette[t].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Pt(e.palette[t].main,e.palette.action.hoverOpacity)}}})),...Object.entries(e.palette).filter(yn()).map(([t])=>({props:{color:t,disabled:!1},style:{[`&.${Hx.checked}`]:{color:(e.vars||e).palette[t].main}}})),{props:{disableRipple:!1},style:{"&:hover":{"@media (hover: none)":{backgroundColor:"transparent"}}}}]})));function Gk(e,t){return typeof t=="object"&&t!==null?e===t:String(e)===String(t)}const jx=v.jsx(L1,{checked:!0}),zx=v.jsx(L1,{}),xu=y.forwardRef(function(t,n){const r=nt({props:t,name:"MuiRadio"}),{checked:s,checkedIcon:a=jx,color:l="primary",icon:u=zx,name:f,onChange:p,size:h="medium",className:m,disabled:x,disableRipple:w=!1,...A}=r,P=Bo();let H=x;P&&typeof H>"u"&&(H=P.disabled),H??(H=!1);const S={...r,disabled:H,disableRipple:w,color:l,size:h},C=qk(S),z=Fk();let O=s;const D=Fm(p,z&&z.onChange);let k=f;return z&&(typeof O>"u"&&(O=Gk(z.value,r.value)),typeof k>"u"&&(k=z.name)),v.jsx(Zk,{type:"radio",icon:y.cloneElement(u,{fontSize:zx.props.fontSize??h}),checkedIcon:y.cloneElement(a,{fontSize:jx.props.fontSize??h}),disabled:H,ownerState:S,classes:C,name:k,checked:O,onChange:D,ref:n,className:Oe(C.root,m),...A})});function Uk(e){return Ue("MuiRadioGroup",e)}Qe("MuiRadioGroup",["root","row","error"]);const Qk=e=>{const{classes:t,row:n,error:r}=e;return Ke({root:["root",n&&"row",r&&"error"]},Uk,t)},ip=y.forwardRef(function(t,n){const{actions:r,children:s,className:a,defaultValue:l,name:u,onChange:f,value:p,...h}=t,m=y.useRef(null),x=Qk(t),[w,A]=Ai({controlled:p,default:l,name:"RadioGroup"});y.useImperativeHandle(r,()=>({focus:()=>{let C=m.current.querySelector("input:not(:disabled):checked");C||(C=m.current.querySelector("input:not(:disabled)")),C&&C.focus()}}),[]);const P=sn(n,m),H=us(u),S=y.useMemo(()=>({name:H,onChange(C){A(C.target.value),f&&f(C,C.target.value)},value:w}),[H,f,A,w]);return v.jsx(X1.Provider,{value:S,children:v.jsx(oT,{role:"radiogroup",ref:P,className:Oe(x.root,a),...h,children:s})})});function N1(e){return Ue("MuiSelect",e)}const Tc=Qe("MuiSelect",["root","select","multiple","filled","outlined","standard","disabled","focused","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]);var Sx;const Kk=ve(R1,{name:"MuiSelect",slot:"Select",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`&.${Tc.select}`]:t.select},{[`&.${Tc.select}`]:t[n.variant]},{[`&.${Tc.error}`]:t.error},{[`&.${Tc.multiple}`]:t.multiple}]}})({[`&.${Tc.select}`]:{height:"auto",minHeight:"1.4375em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}}),_k=ve(M1,{name:"MuiSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.icon,n.variant&&t[`icon${me(n.variant)}`],n.open&&t.iconOpen]}})({}),$k=ve("input",{shouldForwardProp:e=>r1(e)&&e!=="classes",name:"MuiSelect",slot:"NativeInput",overridesResolver:(e,t)=>t.nativeInput})({bottom:0,left:0,position:"absolute",opacity:0,pointerEvents:"none",width:"100%",boxSizing:"border-box"});function Cx(e,t){return typeof t=="object"&&t!==null?e===t:String(e)===String(t)}function eE(e){return e==null||typeof e=="string"&&!e.trim()}const tE=e=>{const{classes:t,variant:n,disabled:r,multiple:s,open:a,error:l}=e,u={select:["select",n,r&&"disabled",s&&"multiple",l&&"error"],icon:["icon",`icon${me(n)}`,a&&"iconOpen",r&&"disabled"],nativeInput:["nativeInput"]};return Ke(u,N1,t)},nE=y.forwardRef(function(t,n){var Ut;const{"aria-describedby":r,"aria-label":s,autoFocus:a,autoWidth:l,children:u,className:f,defaultOpen:p,defaultValue:h,disabled:m,displayEmpty:x,error:w=!1,IconComponent:A,inputRef:P,labelId:H,MenuProps:S={},multiple:C,name:z,onBlur:O,onChange:D,onClose:k,onFocus:E,onOpen:M,open:L,readOnly:j,renderValue:N,required:W,SelectDisplayProps:I={},tabIndex:te,type:J,value:_,variant:$="standard",...Q}=t,[K,R]=Ai({controlled:_,default:h,name:"Select"}),[G,X]=Ai({controlled:L,default:p,name:"Select"}),ne=y.useRef(null),re=y.useRef(null),[ie,ue]=y.useState(null),{current:be}=y.useRef(L!=null),[ae,Se]=y.useState(),Le=sn(n,P),Ve=y.useCallback(Y=>{re.current=Y,Y&&ue(Y)},[]),Pe=ie==null?void 0:ie.parentNode;y.useImperativeHandle(Le,()=>({focus:()=>{re.current.focus()},node:ne.current,value:K}),[K]),y.useEffect(()=>{p&&G&&ie&&!be&&(Se(l?null:Pe.clientWidth),re.current.focus())},[ie,l]),y.useEffect(()=>{a&&re.current.focus()},[a]),y.useEffect(()=>{if(!H)return;const Y=ir(re.current).getElementById(H);if(Y){const F=()=>{getSelection().isCollapsed&&re.current.focus()};return Y.addEventListener("click",F),()=>{Y.removeEventListener("click",F)}}},[H]);const _e=(Y,F)=>{Y?M&&M(F):k&&k(F),be||(Se(l?null:Pe.clientWidth),X(Y))},we=Y=>{Y.button===0&&(Y.preventDefault(),re.current.focus(),_e(!0,Y))},Fe=Y=>{_e(!1,Y)},yt=y.Children.toArray(u),ke=Y=>{const F=yt.find(ge=>ge.props.value===Y.target.value);F!==void 0&&(R(F.props.value),D&&D(Y,F))},V=Y=>F=>{let ge;if(F.currentTarget.hasAttribute("tabindex")){if(C){ge=Array.isArray(K)?K.slice():[];const Ce=K.indexOf(Y.props.value);Ce===-1?ge.push(Y.props.value):ge.splice(Ce,1)}else ge=Y.props.value;if(Y.props.onClick&&Y.props.onClick(F),K!==ge&&(R(ge),D)){const Ce=F.nativeEvent||F,Re=new Ce.constructor(Ce.type,Ce);Object.defineProperty(Re,"target",{writable:!0,value:{value:ge,name:z}}),D(Re,Y)}C||_e(!1,F)}},U=Y=>{j||[" ","ArrowUp","ArrowDown","Enter"].includes(Y.key)&&(Y.preventDefault(),_e(!0,Y))},oe=ie!==null&&G,Ae=Y=>{!oe&&O&&(Object.defineProperty(Y,"target",{writable:!0,value:{value:K,name:z}}),O(Y))};delete Q["aria-invalid"];let ce,xe;const He=[];let Ge=!1;(sp({value:K})||x)&&(N?ce=N(K):Ge=!0);const Ht=yt.map(Y=>{if(!y.isValidElement(Y))return null;let F;if(C){if(!Array.isArray(K))throw new Error(Rs(2));F=K.some(ge=>Cx(ge,Y.props.value)),F&&Ge&&He.push(Y.props.children)}else F=Cx(K,Y.props.value),F&&Ge&&(xe=Y.props.children);return y.cloneElement(Y,{"aria-selected":F?"true":"false",onClick:V(Y),onKeyUp:ge=>{ge.key===" "&&ge.preventDefault(),Y.props.onKeyUp&&Y.props.onKeyUp(ge)},role:"option",selected:F,value:void 0,"data-value":Y.props.value})});Ge&&(C?He.length===0?ce=null:ce=He.reduce((Y,F,ge)=>(Y.push(F),ge{const{classes:t}=e,r=Ke({root:["root"]},N1,t);return{...t,...r}},zy={name:"MuiSelect",overridesResolver:(e,t)=>t.root,shouldForwardProp:e=>Zn(e)&&e!=="variant",slot:"Root"},oE=ve(wy,zy)(""),sE=ve(jy,zy)(""),iE=ve(xy,zy)(""),wu=y.forwardRef(function(t,n){const r=nt({name:"MuiSelect",props:t}),{autoWidth:s=!1,children:a,classes:l={},className:u,defaultOpen:f=!1,displayEmpty:p=!1,IconComponent:h=A1,id:m,input:x,inputProps:w,label:A,labelId:P,MenuProps:H,multiple:S=!1,native:C=!1,onClose:z,onOpen:O,open:D,renderValue:k,SelectDisplayProps:E,variant:M="outlined",...L}=r,j=C?Ok:nE,N=Bo(),W=ji({props:r,muiFormControl:N,states:["variant","error"]}),I=W.variant||M,te={...r,variant:I,classes:l},J=rE(te),{root:_,...$}=J,Q=x||{standard:v.jsx(oE,{ownerState:te}),outlined:v.jsx(sE,{label:A,ownerState:te}),filled:v.jsx(iE,{ownerState:te})}[I],K=sn(n,wi(Q));return v.jsx(y.Fragment,{children:y.cloneElement(Q,{inputComponent:j,inputProps:{children:a,error:W.error,IconComponent:h,variant:I,type:void 0,multiple:S,...C?{id:m}:{autoWidth:s,defaultOpen:f,displayEmpty:p,labelId:P,MenuProps:H,onClose:z,onOpen:O,open:D,renderValue:k,SelectDisplayProps:{id:m,...E}},...w,classes:w?qn($,w.classes):$,...x?x.props.inputProps:{}},...(S&&C||p)&&I==="outlined"?{notched:!0}:{},ref:K,className:Oe(Q.props.className,u,J.root),...!x&&{variant:I},...L})})});wu.muiName="Select";function aE(e={}){const{autoHideDuration:t=null,disableWindowBlurListener:n=!1,onClose:r,open:s,resumeHideDuration:a}=e,l=Zi();y.useEffect(()=>{if(!s)return;function S(C){C.defaultPrevented||C.key==="Escape"&&(r==null||r(C,"escapeKeyDown"))}return document.addEventListener("keydown",S),()=>{document.removeEventListener("keydown",S)}},[s,r]);const u=hr((S,C)=>{r==null||r(S,C)}),f=hr(S=>{!r||S==null||l.start(S,()=>{u(null,"timeout")})});y.useEffect(()=>(s&&f(t),l.clear),[s,t,f,l]);const p=S=>{r==null||r(S,"clickaway")},h=l.clear,m=y.useCallback(()=>{t!=null&&f(a??t*.5)},[t,a,f]),x=S=>C=>{const z=S.onBlur;z==null||z(C),m()},w=S=>C=>{const z=S.onFocus;z==null||z(C),h()},A=S=>C=>{const z=S.onMouseEnter;z==null||z(C),h()},P=S=>C=>{const z=S.onMouseLeave;z==null||z(C),m()};return y.useEffect(()=>{if(!n&&s)return window.addEventListener("focus",m),window.addEventListener("blur",h),()=>{window.removeEventListener("focus",m),window.removeEventListener("blur",h)}},[n,s,m,h]),{getRootProps:(S={})=>{const C={...$d(e),...$d(S)};return{role:"presentation",...S,...C,onBlur:x(C),onFocus:w(C),onMouseEnter:A(C),onMouseLeave:P(C)}},onClickAway:p}}function lE(e){return Ue("MuiSnackbarContent",e)}Qe("MuiSnackbarContent",["root","message","action"]);const cE=e=>{const{classes:t}=e;return Ke({root:["root"],action:["action"],message:["message"]},lE,t)},uE=ve(qr,{name:"MuiSnackbarContent",slot:"Root",overridesResolver:(e,t)=>t.root})(tt(({theme:e})=>{const t=e.palette.mode==="light"?.8:.98,n=V0(e.palette.background.default,t);return{...e.typography.body2,color:e.vars?e.vars.palette.SnackbarContent.color:e.palette.getContrastText(n),backgroundColor:e.vars?e.vars.palette.SnackbarContent.bg:n,display:"flex",alignItems:"center",flexWrap:"wrap",padding:"6px 16px",borderRadius:(e.vars||e).shape.borderRadius,flexGrow:1,[e.breakpoints.up("sm")]:{flexGrow:"initial",minWidth:288}}})),fE=ve("div",{name:"MuiSnackbarContent",slot:"Message",overridesResolver:(e,t)=>t.message})({padding:"8px 0"}),dE=ve("div",{name:"MuiSnackbarContent",slot:"Action",overridesResolver:(e,t)=>t.action})({display:"flex",alignItems:"center",marginLeft:"auto",paddingLeft:16,marginRight:-8}),pE=y.forwardRef(function(t,n){const r=nt({props:t,name:"MuiSnackbarContent"}),{action:s,className:a,message:l,role:u="alert",...f}=r,p=r,h=cE(p);return v.jsxs(uE,{role:u,square:!0,elevation:6,className:Oe(h.root,a),ownerState:p,ref:n,...f,children:[v.jsx(fE,{className:h.message,ownerState:p,children:l}),s?v.jsx(dE,{className:h.action,ownerState:p,children:s}):null]})});function vE(e){return Ue("MuiSnackbar",e)}Qe("MuiSnackbar",["root","anchorOriginTopCenter","anchorOriginBottomCenter","anchorOriginTopRight","anchorOriginBottomRight","anchorOriginTopLeft","anchorOriginBottomLeft"]);const hE=e=>{const{classes:t,anchorOrigin:n}=e,r={root:["root",`anchorOrigin${me(n.vertical)}${me(n.horizontal)}`]};return Ke(r,vE,t)},Ox=ve("div",{name:"MuiSnackbar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`anchorOrigin${me(n.anchorOrigin.vertical)}${me(n.anchorOrigin.horizontal)}`]]}})(tt(({theme:e})=>({zIndex:(e.vars||e).zIndex.snackbar,position:"fixed",display:"flex",left:8,right:8,justifyContent:"center",alignItems:"center",variants:[{props:({ownerState:t})=>t.anchorOrigin.vertical==="top",style:{top:8,[e.breakpoints.up("sm")]:{top:24}}},{props:({ownerState:t})=>t.anchorOrigin.vertical!=="top",style:{bottom:8,[e.breakpoints.up("sm")]:{bottom:24}}},{props:({ownerState:t})=>t.anchorOrigin.horizontal==="left",style:{justifyContent:"flex-start",[e.breakpoints.up("sm")]:{left:24,right:"auto"}}},{props:({ownerState:t})=>t.anchorOrigin.horizontal==="right",style:{justifyContent:"flex-end",[e.breakpoints.up("sm")]:{right:24,left:"auto"}}},{props:({ownerState:t})=>t.anchorOrigin.horizontal==="center",style:{[e.breakpoints.up("sm")]:{left:"50%",right:"auto",transform:"translateX(-50%)"}}}]}))),mE=y.forwardRef(function(t,n){const r=nt({props:t,name:"MuiSnackbar"}),s=Gr(),a={enter:s.transitions.duration.enteringScreen,exit:s.transitions.duration.leavingScreen},{action:l,anchorOrigin:{vertical:u,horizontal:f}={vertical:"bottom",horizontal:"left"},autoHideDuration:p=null,children:h,className:m,ClickAwayListenerProps:x,ContentProps:w,disableWindowBlurListener:A=!1,message:P,onBlur:H,onClose:S,onFocus:C,onMouseEnter:z,onMouseLeave:O,open:D,resumeHideDuration:k,TransitionComponent:E=Pu,transitionDuration:M=a,TransitionProps:{onEnter:L,onExited:j,...N}={},...W}=r,I={...r,anchorOrigin:{vertical:u,horizontal:f},autoHideDuration:p,disableWindowBlurListener:A,TransitionComponent:E,transitionDuration:M},te=hE(I),{getRootProps:J,onClickAway:_}=aE({...I}),[$,Q]=y.useState(!0),K=ep({elementType:Ox,getSlotProps:J,externalForwardedProps:W,ownerState:I,additionalProps:{ref:n},className:[te.root,m]}),R=X=>{Q(!0),j&&j(X)},G=(X,ne)=>{Q(!1),L&&L(X,ne)};return!D&&$?null:v.jsx(w1,{onClickAway:_,...x,children:v.jsx(Ox,{...K,children:v.jsx(E,{appear:!0,in:D,timeout:M,direction:u==="top"?"down":"up",onEnter:G,onExited:R,...N,children:h||v.jsx(pE,{message:P,action:l,...w})})})})});function gE(e){return Ue("MuiTooltip",e)}const Sn=Qe("MuiTooltip",["popper","popperInteractive","popperArrow","popperClose","tooltip","tooltipArrow","touch","tooltipPlacementLeft","tooltipPlacementRight","tooltipPlacementTop","tooltipPlacementBottom","arrow"]);function yE(e){return Math.round(e*1e5)/1e5}const AE=e=>{const{classes:t,disableInteractive:n,arrow:r,touch:s,placement:a}=e,l={popper:["popper",!n&&"popperInteractive",r&&"popperArrow"],tooltip:["tooltip",r&&"tooltipArrow",s&&"touch",`tooltipPlacement${me(a.split("-")[0])}`],arrow:["arrow"]};return Ke(l,gE,t)},PE=ve(Lp,{name:"MuiTooltip",slot:"Popper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.popper,!n.disableInteractive&&t.popperInteractive,n.arrow&&t.popperArrow,!n.open&&t.popperClose]}})(tt(({theme:e})=>({zIndex:(e.vars||e).zIndex.tooltip,pointerEvents:"none",variants:[{props:({ownerState:t})=>!t.disableInteractive,style:{pointerEvents:"auto"}},{props:({open:t})=>!t,style:{pointerEvents:"none"}},{props:({ownerState:t})=>t.arrow,style:{[`&[data-popper-placement*="bottom"] .${Sn.arrow}`]:{top:0,marginTop:"-0.71em","&::before":{transformOrigin:"0 100%"}},[`&[data-popper-placement*="top"] .${Sn.arrow}`]:{bottom:0,marginBottom:"-0.71em","&::before":{transformOrigin:"100% 0"}},[`&[data-popper-placement*="right"] .${Sn.arrow}`]:{height:"1em",width:"0.71em","&::before":{transformOrigin:"100% 100%"}},[`&[data-popper-placement*="left"] .${Sn.arrow}`]:{height:"1em",width:"0.71em","&::before":{transformOrigin:"0 0"}}}},{props:({ownerState:t})=>t.arrow&&!t.isRtl,style:{[`&[data-popper-placement*="right"] .${Sn.arrow}`]:{left:0,marginLeft:"-0.71em"}}},{props:({ownerState:t})=>t.arrow&&!!t.isRtl,style:{[`&[data-popper-placement*="right"] .${Sn.arrow}`]:{right:0,marginRight:"-0.71em"}}},{props:({ownerState:t})=>t.arrow&&!t.isRtl,style:{[`&[data-popper-placement*="left"] .${Sn.arrow}`]:{right:0,marginRight:"-0.71em"}}},{props:({ownerState:t})=>t.arrow&&!!t.isRtl,style:{[`&[data-popper-placement*="left"] .${Sn.arrow}`]:{left:0,marginLeft:"-0.71em"}}}]}))),bE=ve("div",{name:"MuiTooltip",slot:"Tooltip",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.tooltip,n.touch&&t.touch,n.arrow&&t.tooltipArrow,t[`tooltipPlacement${me(n.placement.split("-")[0])}`]]}})(tt(({theme:e})=>({backgroundColor:e.vars?e.vars.palette.Tooltip.bg:Pt(e.palette.grey[700],.92),borderRadius:(e.vars||e).shape.borderRadius,color:(e.vars||e).palette.common.white,fontFamily:e.typography.fontFamily,padding:"4px 8px",fontSize:e.typography.pxToRem(11),maxWidth:300,margin:2,wordWrap:"break-word",fontWeight:e.typography.fontWeightMedium,[`.${Sn.popper}[data-popper-placement*="left"] &`]:{transformOrigin:"right center"},[`.${Sn.popper}[data-popper-placement*="right"] &`]:{transformOrigin:"left center"},[`.${Sn.popper}[data-popper-placement*="top"] &`]:{transformOrigin:"center bottom",marginBottom:"14px"},[`.${Sn.popper}[data-popper-placement*="bottom"] &`]:{transformOrigin:"center top",marginTop:"14px"},variants:[{props:({ownerState:t})=>t.arrow,style:{position:"relative",margin:0}},{props:({ownerState:t})=>t.touch,style:{padding:"8px 16px",fontSize:e.typography.pxToRem(14),lineHeight:`${yE(16/14)}em`,fontWeight:e.typography.fontWeightRegular}},{props:({ownerState:t})=>!t.isRtl,style:{[`.${Sn.popper}[data-popper-placement*="left"] &`]:{marginRight:"14px"},[`.${Sn.popper}[data-popper-placement*="right"] &`]:{marginLeft:"14px"}}},{props:({ownerState:t})=>!t.isRtl&&t.touch,style:{[`.${Sn.popper}[data-popper-placement*="left"] &`]:{marginRight:"24px"},[`.${Sn.popper}[data-popper-placement*="right"] &`]:{marginLeft:"24px"}}},{props:({ownerState:t})=>!!t.isRtl,style:{[`.${Sn.popper}[data-popper-placement*="left"] &`]:{marginLeft:"14px"},[`.${Sn.popper}[data-popper-placement*="right"] &`]:{marginRight:"14px"}}},{props:({ownerState:t})=>!!t.isRtl&&t.touch,style:{[`.${Sn.popper}[data-popper-placement*="left"] &`]:{marginLeft:"24px"},[`.${Sn.popper}[data-popper-placement*="right"] &`]:{marginRight:"24px"}}},{props:({ownerState:t})=>t.touch,style:{[`.${Sn.popper}[data-popper-placement*="top"] &`]:{marginBottom:"24px"}}},{props:({ownerState:t})=>t.touch,style:{[`.${Sn.popper}[data-popper-placement*="bottom"] &`]:{marginTop:"24px"}}}]}))),xE=ve("span",{name:"MuiTooltip",slot:"Arrow",overridesResolver:(e,t)=>t.arrow})(tt(({theme:e})=>({overflow:"hidden",position:"absolute",width:"1em",height:"0.71em",boxSizing:"border-box",color:e.vars?e.vars.palette.Tooltip.bg:Pt(e.palette.grey[700],.9),"&::before":{content:'""',margin:"auto",display:"block",width:"100%",height:"100%",backgroundColor:"currentColor",transform:"rotate(45deg)"}})));let gd=!1;const Dx=new Rp;let kc={x:0,y:0};function yd(e,t){return(n,...r)=>{t&&t(n,...r),e(n,...r)}}const Sy=y.forwardRef(function(t,n){const r=nt({props:t,name:"MuiTooltip"}),{arrow:s=!1,children:a,classes:l,components:u={},componentsProps:f={},describeChild:p=!1,disableFocusListener:h=!1,disableHoverListener:m=!1,disableInteractive:x=!1,disableTouchListener:w=!1,enterDelay:A=100,enterNextDelay:P=0,enterTouchDelay:H=700,followCursor:S=!1,id:C,leaveDelay:z=0,leaveTouchDelay:O=1500,onClose:D,onOpen:k,open:E,placement:M="bottom",PopperComponent:L,PopperProps:j={},slotProps:N={},slots:W={},title:I,TransitionComponent:te,TransitionProps:J,..._}=r,$=y.isValidElement(a)?a:v.jsx("span",{children:a}),Q=Gr(),K=Nu(),[R,G]=y.useState(),[X,ne]=y.useState(null),re=y.useRef(!1),ie=x||S,ue=Zi(),be=Zi(),ae=Zi(),Se=Zi(),[Le,Ve]=Ai({controlled:E,default:!1,name:"Tooltip",state:"open"});let Pe=Le;const _e=us(C),we=y.useRef(),Fe=hr(()=>{we.current!==void 0&&(document.body.style.WebkitUserSelect=we.current,we.current=void 0),Se.clear()});y.useEffect(()=>Fe,[Fe]);const yt=We=>{Dx.clear(),gd=!0,Ve(!0),k&&!Pe&&k(We)},ke=hr(We=>{Dx.start(800+z,()=>{gd=!1}),Ve(!1),D&&Pe&&D(We),ue.start(Q.transitions.duration.shortest,()=>{re.current=!1})}),V=We=>{re.current&&We.type!=="touchstart"||(R&&R.removeAttribute("title"),be.clear(),ae.clear(),A||gd&&P?be.start(gd?P:A,()=>{yt(We)}):yt(We))},U=We=>{be.clear(),ae.start(z,()=>{ke(We)})},[,oe]=y.useState(!1),Ae=We=>{jl(We.target)||(oe(!1),U(We))},ce=We=>{R||G(We.currentTarget),jl(We.target)&&(oe(!0),V(We))},xe=We=>{re.current=!0;const Et=$.props;Et.onTouchStart&&Et.onTouchStart(We)},He=We=>{xe(We),ae.clear(),ue.clear(),Fe(),we.current=document.body.style.WebkitUserSelect,document.body.style.WebkitUserSelect="none",Se.start(H,()=>{document.body.style.WebkitUserSelect=we.current,V(We)})},Ge=We=>{$.props.onTouchEnd&&$.props.onTouchEnd(We),Fe(),ae.start(O,()=>{ke(We)})};y.useEffect(()=>{if(!Pe)return;function We(Et){Et.key==="Escape"&&ke(Et)}return document.addEventListener("keydown",We),()=>{document.removeEventListener("keydown",We)}},[ke,Pe]);const Ht=sn(wi($),G,n);!I&&I!==0&&(Pe=!1);const ot=y.useRef(),dt=We=>{const Et=$.props;Et.onMouseMove&&Et.onMouseMove(We),kc={x:We.clientX,y:We.clientY},ot.current&&ot.current.update()},gt={},ft=typeof I=="string";p?(gt.title=!Pe&&ft&&!m?I:null,gt["aria-describedby"]=Pe?_e:null):(gt["aria-label"]=ft?I:null,gt["aria-labelledby"]=Pe&&!ft?_e:null);const Be={...gt,..._,...$.props,className:Oe(_.className,$.props.className),onTouchStart:xe,ref:Ht,...S?{onMouseMove:dt}:{}},kt={};w||(Be.onTouchStart=He,Be.onTouchEnd=Ge),m||(Be.onMouseOver=yd(V,Be.onMouseOver),Be.onMouseLeave=yd(U,Be.onMouseLeave),ie||(kt.onMouseOver=V,kt.onMouseLeave=U)),h||(Be.onFocus=yd(ce,Be.onFocus),Be.onBlur=yd(Ae,Be.onBlur),ie||(kt.onFocus=ce,kt.onBlur=Ae));const Vt={...r,isRtl:K,arrow:s,disableInteractive:ie,placement:M,PopperComponentProp:L,touch:re.current},Ut=typeof N.popper=="function"?N.popper(Vt):N.popper,Y=y.useMemo(()=>{var Et,vn;let We=[{name:"arrow",enabled:!!X,options:{element:X,padding:4}}];return(Et=j.popperOptions)!=null&&Et.modifiers&&(We=We.concat(j.popperOptions.modifiers)),(vn=Ut==null?void 0:Ut.popperOptions)!=null&&vn.modifiers&&(We=We.concat(Ut.popperOptions.modifiers)),{...j.popperOptions,...Ut==null?void 0:Ut.popperOptions,modifiers:We}},[X,j.popperOptions,Ut==null?void 0:Ut.popperOptions]),F=AE(Vt),ge=typeof N.transition=="function"?N.transition(Vt):N.transition,Ce={slots:{popper:u.Popper,transition:u.Transition??te,tooltip:u.Tooltip,arrow:u.Arrow,...W},slotProps:{arrow:N.arrow??f.arrow,popper:{...j,...Ut??f.popper},tooltip:N.tooltip??f.tooltip,transition:{...J,...ge??f.transition}}},[Re,Ne]=Tt("popper",{elementType:PE,externalForwardedProps:Ce,ownerState:Vt,className:Oe(F.popper,j==null?void 0:j.className)}),[qe,Te]=Tt("transition",{elementType:Pu,externalForwardedProps:Ce,ownerState:Vt}),[st,ut]=Tt("tooltip",{elementType:bE,className:F.tooltip,externalForwardedProps:Ce,ownerState:Vt}),[Lt,Qt]=Tt("arrow",{elementType:xE,className:F.arrow,externalForwardedProps:Ce,ownerState:Vt,ref:ne});return v.jsxs(y.Fragment,{children:[y.cloneElement($,Be),v.jsx(Re,{as:L??Lp,placement:M,anchorEl:S?{getBoundingClientRect:()=>({top:kc.y,left:kc.x,right:kc.x,bottom:kc.y,width:0,height:0})}:R,popperRef:ot,open:R?Pe:!1,id:_e,transition:!0,...kt,...Ne,popperOptions:Y,children:({TransitionProps:We})=>v.jsx(qe,{timeout:Q.transitions.duration.shorter,...We,...Te,children:v.jsxs(st,{...ut,children:[I,s?v.jsx(Lt,{...Qt}):null]})})})]})}),ds=mj({createStyledComponent:ve("div",{name:"MuiStack",slot:"Root",overridesResolver:(e,t)=>t.root}),useThemeProps:e=>nt({props:e,name:"MuiStack"})});function wE(e){return Ue("MuiSwitch",e)}const ur=Qe("MuiSwitch",["root","edgeStart","edgeEnd","switchBase","colorPrimary","colorSecondary","sizeSmall","sizeMedium","checked","disabled","input","thumb","track"]),HE=e=>{const{classes:t,edge:n,size:r,color:s,checked:a,disabled:l}=e,u={root:["root",n&&`edge${me(n)}`,`size${me(r)}`],switchBase:["switchBase",`color${me(s)}`,a&&"checked",l&&"disabled"],thumb:["thumb"],track:["track"],input:["input"]},f=Ke(u,wE,t);return{...t,...f}},jE=ve("span",{name:"MuiSwitch",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.edge&&t[`edge${me(n.edge)}`],t[`size${me(n.size)}`]]}})({display:"inline-flex",width:34+12*2,height:14+12*2,overflow:"hidden",padding:12,boxSizing:"border-box",position:"relative",flexShrink:0,zIndex:0,verticalAlign:"middle","@media print":{colorAdjust:"exact"},variants:[{props:{edge:"start"},style:{marginLeft:-8}},{props:{edge:"end"},style:{marginRight:-8}},{props:{size:"small"},style:{width:40,height:24,padding:7,[`& .${ur.thumb}`]:{width:16,height:16},[`& .${ur.switchBase}`]:{padding:4,[`&.${ur.checked}`]:{transform:"translateX(16px)"}}}}]}),zE=ve(Py,{name:"MuiSwitch",slot:"SwitchBase",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.switchBase,{[`& .${ur.input}`]:t.input},n.color!=="default"&&t[`color${me(n.color)}`]]}})(tt(({theme:e})=>({position:"absolute",top:0,left:0,zIndex:1,color:e.vars?e.vars.palette.Switch.defaultColor:`${e.palette.mode==="light"?e.palette.common.white:e.palette.grey[300]}`,transition:e.transitions.create(["left","transform"],{duration:e.transitions.duration.shortest}),[`&.${ur.checked}`]:{transform:"translateX(20px)"},[`&.${ur.disabled}`]:{color:e.vars?e.vars.palette.Switch.defaultDisabledColor:`${e.palette.mode==="light"?e.palette.grey[100]:e.palette.grey[600]}`},[`&.${ur.checked} + .${ur.track}`]:{opacity:.5},[`&.${ur.disabled} + .${ur.track}`]:{opacity:e.vars?e.vars.opacity.switchTrackDisabled:`${e.palette.mode==="light"?.12:.2}`},[`& .${ur.input}`]:{left:"-100%",width:"300%"}})),tt(({theme:e})=>({"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:Pt(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},variants:[...Object.entries(e.palette).filter(yn(["light"])).map(([t])=>({props:{color:t},style:{[`&.${ur.checked}`]:{color:(e.vars||e).palette[t].main,"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette[t].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Pt(e.palette[t].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${ur.disabled}`]:{color:e.vars?e.vars.palette.Switch[`${t}DisabledColor`]:`${e.palette.mode==="light"?ua(e.palette[t].main,.62):ca(e.palette[t].main,.55)}`}},[`&.${ur.checked} + .${ur.track}`]:{backgroundColor:(e.vars||e).palette[t].main}}}))]}))),SE=ve("span",{name:"MuiSwitch",slot:"Track",overridesResolver:(e,t)=>t.track})(tt(({theme:e})=>({height:"100%",width:"100%",borderRadius:14/2,zIndex:-1,transition:e.transitions.create(["opacity","background-color"],{duration:e.transitions.duration.shortest}),backgroundColor:e.vars?e.vars.palette.common.onBackground:`${e.palette.mode==="light"?e.palette.common.black:e.palette.common.white}`,opacity:e.vars?e.vars.opacity.switchTrack:`${e.palette.mode==="light"?.38:.3}`}))),CE=ve("span",{name:"MuiSwitch",slot:"Thumb",overridesResolver:(e,t)=>t.thumb})(tt(({theme:e})=>({boxShadow:(e.vars||e).shadows[1],backgroundColor:"currentColor",width:20,height:20,borderRadius:"50%"}))),B1=y.forwardRef(function(t,n){const r=nt({props:t,name:"MuiSwitch"}),{className:s,color:a="primary",edge:l=!1,size:u="medium",sx:f,...p}=r,h={...r,color:a,edge:l,size:u},m=HE(h),x=v.jsx(CE,{className:m.thumb,ownerState:h});return v.jsxs(jE,{className:Oe(m.root,s),sx:f,ownerState:h,children:[v.jsx(zE,{type:"checkbox",icon:x,checkedIcon:x,ref:n,ownerState:h,...p,classes:{...m,root:m.switchBase}}),v.jsx(SE,{className:m.track,ownerState:h})]})}),V1=y.createContext();function OE(e){return Ue("MuiTable",e)}Qe("MuiTable",["root","stickyHeader"]);const DE=e=>{const{classes:t,stickyHeader:n}=e;return Ke({root:["root",n&&"stickyHeader"]},OE,t)},TE=ve("table",{name:"MuiTable",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.stickyHeader&&t.stickyHeader]}})(tt(({theme:e})=>({display:"table",width:"100%",borderCollapse:"collapse",borderSpacing:0,"& caption":{...e.typography.body2,padding:e.spacing(2),color:(e.vars||e).palette.text.secondary,textAlign:"left",captionSide:"bottom"},variants:[{props:({ownerState:t})=>t.stickyHeader,style:{borderCollapse:"separate"}}]}))),Tx="table",I1=y.forwardRef(function(t,n){const r=nt({props:t,name:"MuiTable"}),{className:s,component:a=Tx,padding:l="normal",size:u="medium",stickyHeader:f=!1,...p}=r,h={...r,component:a,padding:l,size:u,stickyHeader:f},m=DE(h),x=y.useMemo(()=>({padding:l,size:u,stickyHeader:f}),[l,u,f]);return v.jsx(V1.Provider,{value:x,children:v.jsx(TE,{as:a,role:a===Tx?null:"table",ref:n,className:Oe(m.root,s),ownerState:h,...p})})}),Fu=y.createContext();function kE(e){return Ue("MuiTableBody",e)}Qe("MuiTableBody",["root"]);const EE=e=>{const{classes:t}=e;return Ke({root:["root"]},kE,t)},RE=ve("tbody",{name:"MuiTableBody",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"table-row-group"}),ME={variant:"body"},kx="tbody",W1=y.forwardRef(function(t,n){const r=nt({props:t,name:"MuiTableBody"}),{className:s,component:a=kx,...l}=r,u={...r,component:a},f=EE(u);return v.jsx(Fu.Provider,{value:ME,children:v.jsx(RE,{className:Oe(f.root,s),as:a,ref:n,role:a===kx?null:"rowgroup",ownerState:u,...l})})});function LE(e){return Ue("MuiTableCell",e)}const XE=Qe("MuiTableCell",["root","head","body","footer","sizeSmall","sizeMedium","paddingCheckbox","paddingNone","alignLeft","alignCenter","alignRight","alignJustify","stickyHeader"]),NE=e=>{const{classes:t,variant:n,align:r,padding:s,size:a,stickyHeader:l}=e,u={root:["root",n,l&&"stickyHeader",r!=="inherit"&&`align${me(r)}`,s!=="normal"&&`padding${me(s)}`,`size${me(a)}`]};return Ke(u,LE,t)},BE=ve("td",{name:"MuiTableCell",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`size${me(n.size)}`],n.padding!=="normal"&&t[`padding${me(n.padding)}`],n.align!=="inherit"&&t[`align${me(n.align)}`],n.stickyHeader&&t.stickyHeader]}})(tt(({theme:e})=>({...e.typography.body2,display:"table-cell",verticalAlign:"inherit",borderBottom:e.vars?`1px solid ${e.vars.palette.TableCell.border}`:`1px solid - ${e.palette.mode==="light"?ua(Pt(e.palette.divider,1),.88):ca(Pt(e.palette.divider,1),.68)}`,textAlign:"left",padding:16,variants:[{props:{variant:"head"},style:{color:(e.vars||e).palette.text.primary,lineHeight:e.typography.pxToRem(24),fontWeight:e.typography.fontWeightMedium}},{props:{variant:"body"},style:{color:(e.vars||e).palette.text.primary}},{props:{variant:"footer"},style:{color:(e.vars||e).palette.text.secondary,lineHeight:e.typography.pxToRem(21),fontSize:e.typography.pxToRem(12)}},{props:{size:"small"},style:{padding:"6px 16px",[`&.${XE.paddingCheckbox}`]:{width:24,padding:"0 12px 0 16px","& > *":{padding:0}}}},{props:{padding:"checkbox"},style:{width:48,padding:"0 0 0 4px"}},{props:{padding:"none"},style:{padding:0}},{props:{align:"left"},style:{textAlign:"left"}},{props:{align:"center"},style:{textAlign:"center"}},{props:{align:"right"},style:{textAlign:"right",flexDirection:"row-reverse"}},{props:{align:"justify"},style:{textAlign:"justify"}},{props:({ownerState:t})=>t.stickyHeader,style:{position:"sticky",top:0,zIndex:2,backgroundColor:(e.vars||e).palette.background.default}}]}))),pr=y.forwardRef(function(t,n){const r=nt({props:t,name:"MuiTableCell"}),{align:s="inherit",className:a,component:l,padding:u,scope:f,size:p,sortDirection:h,variant:m,...x}=r,w=y.useContext(V1),A=y.useContext(Fu),P=A&&A.variant==="head";let H;l?H=l:H=P?"th":"td";let S=f;H==="td"?S=void 0:!S&&P&&(S="col");const C=m||A&&A.variant,z={...r,align:s,component:H,padding:u||(w&&w.padding?w.padding:"normal"),size:p||(w&&w.size?w.size:"medium"),sortDirection:h,stickyHeader:C==="head"&&w&&w.stickyHeader,variant:C},O=NE(z);let D=null;return h&&(D=h==="asc"?"ascending":"descending"),v.jsx(BE,{as:H,ref:n,className:Oe(O.root,a),"aria-sort":D,scope:S,ownerState:z,...x})});function VE(e){return Ue("MuiTableContainer",e)}Qe("MuiTableContainer",["root"]);const IE=e=>{const{classes:t}=e;return Ke({root:["root"]},VE,t)},WE=ve("div",{name:"MuiTableContainer",slot:"Root",overridesResolver:(e,t)=>t.root})({width:"100%",overflowX:"auto"}),J1=y.forwardRef(function(t,n){const r=nt({props:t,name:"MuiTableContainer"}),{className:s,component:a="div",...l}=r,u={...r,component:a},f=IE(u);return v.jsx(WE,{ref:n,as:a,className:Oe(f.root,s),ownerState:u,...l})});function JE(e){return Ue("MuiTableFooter",e)}Qe("MuiTableFooter",["root"]);const FE=e=>{const{classes:t}=e;return Ke({root:["root"]},JE,t)},YE=ve("tfoot",{name:"MuiTableFooter",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"table-footer-group"}),qE={variant:"footer"},Ex="tfoot",ZE=y.forwardRef(function(t,n){const r=nt({props:t,name:"MuiTableFooter"}),{className:s,component:a=Ex,...l}=r,u={...r,component:a},f=FE(u);return v.jsx(Fu.Provider,{value:qE,children:v.jsx(YE,{as:a,className:Oe(f.root,s),ref:n,role:a===Ex?null:"rowgroup",ownerState:u,...l})})});function GE(e){return Ue("MuiTableHead",e)}Qe("MuiTableHead",["root"]);const UE=e=>{const{classes:t}=e;return Ke({root:["root"]},GE,t)},QE=ve("thead",{name:"MuiTableHead",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"table-header-group"}),KE={variant:"head"},Rx="thead",_E=y.forwardRef(function(t,n){const r=nt({props:t,name:"MuiTableHead"}),{className:s,component:a=Rx,...l}=r,u={...r,component:a},f=UE(u);return v.jsx(Fu.Provider,{value:KE,children:v.jsx(QE,{as:a,className:Oe(f.root,s),ref:n,role:a===Rx?null:"rowgroup",ownerState:u,...l})})});function $E(e){return Ue("MuiToolbar",e)}Qe("MuiToolbar",["root","gutters","regular","dense"]);const eR=e=>{const{classes:t,disableGutters:n,variant:r}=e;return Ke({root:["root",!n&&"gutters",r]},$E,t)},tR=ve("div",{name:"MuiToolbar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disableGutters&&t.gutters,t[n.variant]]}})(tt(({theme:e})=>({position:"relative",display:"flex",alignItems:"center",variants:[{props:({ownerState:t})=>!t.disableGutters,style:{paddingLeft:e.spacing(2),paddingRight:e.spacing(2),[e.breakpoints.up("sm")]:{paddingLeft:e.spacing(3),paddingRight:e.spacing(3)}}},{props:{variant:"dense"},style:{minHeight:48}},{props:{variant:"regular"},style:e.mixins.toolbar}]}))),F1=y.forwardRef(function(t,n){const r=nt({props:t,name:"MuiToolbar"}),{className:s,component:a="div",disableGutters:l=!1,variant:u="regular",...f}=r,p={...r,component:a,disableGutters:l,variant:u},h=eR(p);return v.jsx(tR,{as:a,className:Oe(h.root,s),ref:n,ownerState:p,...f})}),nR=At(v.jsx("path",{d:"M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"}),"KeyboardArrowLeft"),rR=At(v.jsx("path",{d:"M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"}),"KeyboardArrowRight"),oR=y.forwardRef(function(t,n){const{backIconButtonProps:r,count:s,disabled:a=!1,getItemAriaLabel:l,nextIconButtonProps:u,onPageChange:f,page:p,rowsPerPage:h,showFirstButton:m,showLastButton:x,slots:w={},slotProps:A={},...P}=t,H=Nu(),S=G=>{f(G,0)},C=G=>{f(G,p-1)},z=G=>{f(G,p+1)},O=G=>{f(G,Math.max(0,Math.ceil(s/h)-1))},D=w.firstButton??Sr,k=w.lastButton??Sr,E=w.nextButton??Sr,M=w.previousButton??Sr,L=w.firstButtonIcon??Xk,j=w.lastButtonIcon??Nk,N=w.nextButtonIcon??rR,W=w.previousButtonIcon??nR,I=H?k:D,te=H?E:M,J=H?M:E,_=H?D:k,$=H?A.lastButton:A.firstButton,Q=H?A.nextButton:A.previousButton,K=H?A.previousButton:A.nextButton,R=H?A.firstButton:A.lastButton;return v.jsxs("div",{ref:n,...P,children:[m&&v.jsx(I,{onClick:S,disabled:a||p===0,"aria-label":l("first",p),title:l("first",p),...$,children:H?v.jsx(j,{...A.lastButtonIcon}):v.jsx(L,{...A.firstButtonIcon})}),v.jsx(te,{onClick:C,disabled:a||p===0,color:"inherit","aria-label":l("previous",p),title:l("previous",p),...Q??r,children:H?v.jsx(N,{...A.nextButtonIcon}):v.jsx(W,{...A.previousButtonIcon})}),v.jsx(J,{onClick:z,disabled:a||(s!==-1?p>=Math.ceil(s/h)-1:!1),color:"inherit","aria-label":l("next",p),title:l("next",p),...K??u,children:H?v.jsx(W,{...A.previousButtonIcon}):v.jsx(N,{...A.nextButtonIcon})}),x&&v.jsx(_,{onClick:O,disabled:a||p>=Math.ceil(s/h)-1,"aria-label":l("last",p),title:l("last",p),...R,children:H?v.jsx(L,{...A.firstButtonIcon}):v.jsx(j,{...A.lastButtonIcon})})]})});function sR(e){return Ue("MuiTablePagination",e)}const au=Qe("MuiTablePagination",["root","toolbar","spacer","selectLabel","selectRoot","select","selectIcon","input","menuItem","displayedRows","actions"]);var Mx;const iR=ve(pr,{name:"MuiTablePagination",slot:"Root",overridesResolver:(e,t)=>t.root})(tt(({theme:e})=>({overflow:"auto",color:(e.vars||e).palette.text.primary,fontSize:e.typography.pxToRem(14),"&:last-child":{padding:0}}))),aR=ve(F1,{name:"MuiTablePagination",slot:"Toolbar",overridesResolver:(e,t)=>({[`& .${au.actions}`]:t.actions,...t.toolbar})})(tt(({theme:e})=>({minHeight:52,paddingRight:2,[`${e.breakpoints.up("xs")} and (orientation: landscape)`]:{minHeight:52},[e.breakpoints.up("sm")]:{minHeight:52,paddingRight:2},[`& .${au.actions}`]:{flexShrink:0,marginLeft:20}}))),lR=ve("div",{name:"MuiTablePagination",slot:"Spacer",overridesResolver:(e,t)=>t.spacer})({flex:"1 1 100%"}),cR=ve("p",{name:"MuiTablePagination",slot:"SelectLabel",overridesResolver:(e,t)=>t.selectLabel})(tt(({theme:e})=>({...e.typography.body2,flexShrink:0}))),uR=ve(wu,{name:"MuiTablePagination",slot:"Select",overridesResolver:(e,t)=>({[`& .${au.selectIcon}`]:t.selectIcon,[`& .${au.select}`]:t.select,...t.input,...t.selectRoot})})({color:"inherit",fontSize:"inherit",flexShrink:0,marginRight:32,marginLeft:8,[`& .${au.select}`]:{paddingLeft:8,paddingRight:24,textAlign:"right",textAlignLast:"right"}}),fR=ve(ss,{name:"MuiTablePagination",slot:"MenuItem",overridesResolver:(e,t)=>t.menuItem})({}),dR=ve("p",{name:"MuiTablePagination",slot:"DisplayedRows",overridesResolver:(e,t)=>t.displayedRows})(tt(({theme:e})=>({...e.typography.body2,flexShrink:0})));function pR({from:e,to:t,count:n}){return`${e}–${t} of ${n!==-1?n:`more than ${t}`}`}function vR(e){return`Go to ${e} page`}const hR=e=>{const{classes:t}=e;return Ke({root:["root"],toolbar:["toolbar"],spacer:["spacer"],selectLabel:["selectLabel"],select:["select"],input:["input"],selectIcon:["selectIcon"],menuItem:["menuItem"],displayedRows:["displayedRows"],actions:["actions"]},sR,t)},mR=y.forwardRef(function(t,n){const r=nt({props:t,name:"MuiTablePagination"}),{ActionsComponent:s=oR,backIconButtonProps:a,colSpan:l,component:u=pr,count:f,disabled:p=!1,getItemAriaLabel:h=vR,labelDisplayedRows:m=pR,labelRowsPerPage:x="Rows per page:",nextIconButtonProps:w,onPageChange:A,onRowsPerPageChange:P,page:H,rowsPerPage:S,rowsPerPageOptions:C=[10,25,50,100],SelectProps:z={},showFirstButton:O=!1,showLastButton:D=!1,slotProps:k={},slots:E={},...M}=r,L=r,j=hR(L),N=(k==null?void 0:k.select)??z,W=N.native?"option":fR;let I;(u===pr||u==="td")&&(I=l||1e3);const te=us(N.id),J=us(N.labelId),_=()=>f===-1?(H+1)*S:S===-1?f:Math.min(f,(H+1)*S),$={slots:E,slotProps:k},[Q,K]=Tt("root",{ref:n,className:j.root,elementType:iR,externalForwardedProps:{...$,component:u,...M},ownerState:L,additionalProps:{colSpan:I}}),[R,G]=Tt("toolbar",{className:j.toolbar,elementType:aR,externalForwardedProps:$,ownerState:L}),[X,ne]=Tt("spacer",{className:j.spacer,elementType:lR,externalForwardedProps:$,ownerState:L}),[re,ie]=Tt("selectLabel",{className:j.selectLabel,elementType:cR,externalForwardedProps:$,ownerState:L,additionalProps:{id:J}}),[ue,be]=Tt("select",{className:j.select,elementType:uR,externalForwardedProps:$,ownerState:L}),[ae,Se]=Tt("menuItem",{className:j.menuItem,elementType:W,externalForwardedProps:$,ownerState:L}),[Le,Ve]=Tt("displayedRows",{className:j.displayedRows,elementType:dR,externalForwardedProps:$,ownerState:L});return v.jsx(Q,{...K,children:v.jsxs(R,{...G,children:[v.jsx(X,{...ne}),C.length>1&&v.jsx(re,{...ie,children:x}),C.length>1&&v.jsx(ue,{variant:"standard",...!N.variant&&{input:Mx||(Mx=v.jsx(Wp,{}))},value:S,onChange:P,id:te,labelId:J,...N,classes:{...N.classes,root:Oe(j.input,j.selectRoot,(N.classes||{}).root),select:Oe(j.select,(N.classes||{}).select),icon:Oe(j.selectIcon,(N.classes||{}).icon)},disabled:p,...be,children:C.map(Pe=>y.createElement(ae,{...Se,key:Pe.label?Pe.label:Pe,value:Pe.value?Pe.value:Pe},Pe.label?Pe.label:Pe))}),v.jsx(Le,{...Ve,children:m({from:f===0?0:H*S+1,to:_(),count:f===-1?-1:f,page:H})}),v.jsx(s,{className:j.actions,backIconButtonProps:a,count:f,nextIconButtonProps:w,onPageChange:A,page:H,rowsPerPage:S,showFirstButton:O,showLastButton:D,slotProps:k.actions,slots:E.actions,getItemAriaLabel:h,disabled:p})]})})});function gR(e){return Ue("MuiTableRow",e)}const Lx=Qe("MuiTableRow",["root","selected","hover","head","footer"]),yR=e=>{const{classes:t,selected:n,hover:r,head:s,footer:a}=e;return Ke({root:["root",n&&"selected",r&&"hover",s&&"head",a&&"footer"]},gR,t)},AR=ve("tr",{name:"MuiTableRow",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.head&&t.head,n.footer&&t.footer]}})(tt(({theme:e})=>({color:"inherit",display:"table-row",verticalAlign:"middle",outline:0,[`&.${Lx.hover}:hover`]:{backgroundColor:(e.vars||e).palette.action.hover},[`&.${Lx.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Pt(e.palette.primary.main,e.palette.action.selectedOpacity),"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:Pt(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity)}}}))),Xx="tr",ap=y.forwardRef(function(t,n){const r=nt({props:t,name:"MuiTableRow"}),{className:s,component:a=Xx,hover:l=!1,selected:u=!1,...f}=r,p=y.useContext(Fu),h={...r,component:a,hover:l,selected:u,head:p&&p.variant==="head",footer:p&&p.variant==="footer"},m=yR(h);return v.jsx(AR,{as:a,ref:n,className:Oe(m.root,s),role:a===Xx?null:"row",ownerState:h,...f})});function PR(e){return Ue("MuiTextField",e)}Qe("MuiTextField",["root"]);const bR={standard:wy,filled:xy,outlined:jy},xR=e=>{const{classes:t}=e;return Ke({root:["root"]},PR,t)},wR=ve(cr,{name:"MuiTextField",slot:"Root",overridesResolver:(e,t)=>t.root})({}),ao=y.forwardRef(function(t,n){const r=nt({props:t,name:"MuiTextField"}),{autoComplete:s,autoFocus:a=!1,children:l,className:u,color:f="primary",defaultValue:p,disabled:h=!1,error:m=!1,FormHelperTextProps:x,fullWidth:w=!1,helperText:A,id:P,InputLabelProps:H,inputProps:S,InputProps:C,inputRef:z,label:O,maxRows:D,minRows:k,multiline:E=!1,name:M,onBlur:L,onChange:j,onFocus:N,placeholder:W,required:I=!1,rows:te,select:J=!1,SelectProps:_,slots:$={},slotProps:Q={},type:K,value:R,variant:G="outlined",...X}=r,ne={...r,autoFocus:a,color:f,disabled:h,error:m,fullWidth:w,multiline:E,required:I,select:J,variant:G},re=xR(ne),ie=us(P),ue=A&&ie?`${ie}-helper-text`:void 0,be=O&&ie?`${ie}-label`:void 0,ae=bR[G],Se={slots:$,slotProps:{input:C,inputLabel:H,htmlInput:S,formHelperText:x,select:_,...Q}},Le={},Ve=Se.slotProps.inputLabel;G==="outlined"&&(Ve&&typeof Ve.shrink<"u"&&(Le.notched=Ve.shrink),Le.label=O),J&&((!_||!_.native)&&(Le.id=void 0),Le["aria-describedby"]=void 0);const[Pe,_e]=Tt("input",{elementType:ae,externalForwardedProps:Se,additionalProps:Le,ownerState:ne}),[we,Fe]=Tt("inputLabel",{elementType:Xd,externalForwardedProps:Se,ownerState:ne}),[yt,ke]=Tt("htmlInput",{elementType:"input",externalForwardedProps:Se,ownerState:ne}),[V,U]=Tt("formHelperText",{elementType:tl,externalForwardedProps:Se,ownerState:ne}),[oe,Ae]=Tt("select",{elementType:wu,externalForwardedProps:Se,ownerState:ne}),ce=v.jsx(Pe,{"aria-describedby":ue,autoComplete:s,autoFocus:a,defaultValue:p,fullWidth:w,multiline:E,name:M,rows:te,maxRows:D,minRows:k,type:K,value:R,id:ie,inputRef:z,onBlur:L,onChange:j,onFocus:N,placeholder:W,inputProps:ke,slots:{input:$.htmlInput?yt:void 0},..._e});return v.jsxs(wR,{className:Oe(re.root,u),disabled:h,error:m,fullWidth:w,ref:n,required:I,color:f,variant:G,ownerState:ne,...X,children:[O!=null&&O!==""&&v.jsx(we,{htmlFor:ie,id:be,...Fe,children:O}),J?v.jsx(oe,{"aria-describedby":ue,id:ie,labelId:be,value:R,input:ce,...Ae,children:l}):ce,A&&v.jsx(V,{id:ue,...U,children:A})]})}),Tn="/hub",Jp="/services/japps",Cy=["Environments"],HR=["Any","Owned by me","Shared with me"],jR=["Recently modified","Name: A-Z","Name: Z-A"],zR=["Running","Ready","Pending","Unknown"],Oy="startAppId";var Ml=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},va=typeof window>"u"||"Deno"in globalThis;function so(){}function SR(e,t){return typeof e=="function"?e(t):e}function ag(e){return typeof e=="number"&&e>=0&&e!==1/0}function Y1(e,t){return Math.max(e+(t||0)-Date.now(),0)}function cl(e,t){return typeof e=="function"?e(t):e}function Do(e,t){return typeof e=="function"?e(t):e}function Nx(e,t){const{type:n="all",exact:r,fetchStatus:s,predicate:a,queryKey:l,stale:u}=e;if(l){if(r){if(t.queryHash!==Dy(l,t.options))return!1}else if(!Hu(t.queryKey,l))return!1}if(n!=="all"){const f=t.isActive();if(n==="active"&&!f||n==="inactive"&&f)return!1}return!(typeof u=="boolean"&&t.isStale()!==u||s&&s!==t.state.fetchStatus||a&&!a(t))}function Bx(e,t){const{exact:n,status:r,predicate:s,mutationKey:a}=e;if(a){if(!t.options.mutationKey)return!1;if(n){if(ha(t.options.mutationKey)!==ha(a))return!1}else if(!Hu(t.options.mutationKey,a))return!1}return!(r&&t.state.status!==r||s&&!s(t))}function Dy(e,t){return((t==null?void 0:t.queryKeyHashFn)||ha)(e)}function ha(e){return JSON.stringify(e,(t,n)=>lg(n)?Object.keys(n).sort().reduce((r,s)=>(r[s]=n[s],r),{}):n)}function Hu(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?!Object.keys(t).some(n=>!Hu(e[n],t[n])):!1}function q1(e,t){if(e===t)return e;const n=Vx(e)&&Vx(t);if(n||lg(e)&&lg(t)){const r=n?e:Object.keys(e),s=r.length,a=n?t:Object.keys(t),l=a.length,u=n?[]:{};let f=0;for(let p=0;p{setTimeout(t,e)})}function cg(e,t,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?q1(e,t):t}function OR(e,t,n=0){const r=[...e,t];return n&&r.length>n?r.slice(1):r}function DR(e,t,n=0){const r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var Ty=Symbol();function Z1(e,t){return!e.queryFn&&(t!=null&&t.initialPromise)?()=>t.initialPromise:!e.queryFn||e.queryFn===Ty?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}var Ki,ci,fl,e0,TR=(e0=class extends Ml{constructor(){super();pt(this,Ki);pt(this,ci);pt(this,fl);Je(this,fl,t=>{if(!va&&window.addEventListener){const n=()=>t();return window.addEventListener("visibilitychange",n,!1),()=>{window.removeEventListener("visibilitychange",n)}}})}onSubscribe(){q(this,ci)||this.setEventListener(q(this,fl))}onUnsubscribe(){var t;this.hasListeners()||((t=q(this,ci))==null||t.call(this),Je(this,ci,void 0))}setEventListener(t){var n;Je(this,fl,t),(n=q(this,ci))==null||n.call(this),Je(this,ci,t(r=>{typeof r=="boolean"?this.setFocused(r):this.onFocus()}))}setFocused(t){q(this,Ki)!==t&&(Je(this,Ki,t),this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(n=>{n(t)})}isFocused(){var t;return typeof q(this,Ki)=="boolean"?q(this,Ki):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},Ki=new WeakMap,ci=new WeakMap,fl=new WeakMap,e0),ky=new TR,dl,ui,pl,t0,kR=(t0=class extends Ml{constructor(){super();pt(this,dl,!0);pt(this,ui);pt(this,pl);Je(this,pl,t=>{if(!va&&window.addEventListener){const n=()=>t(!0),r=()=>t(!1);return window.addEventListener("online",n,!1),window.addEventListener("offline",r,!1),()=>{window.removeEventListener("online",n),window.removeEventListener("offline",r)}}})}onSubscribe(){q(this,ui)||this.setEventListener(q(this,pl))}onUnsubscribe(){var t;this.hasListeners()||((t=q(this,ui))==null||t.call(this),Je(this,ui,void 0))}setEventListener(t){var n;Je(this,pl,t),(n=q(this,ui))==null||n.call(this),Je(this,ui,t(this.setOnline.bind(this)))}setOnline(t){q(this,dl)!==t&&(Je(this,dl,t),this.listeners.forEach(r=>{r(t)}))}isOnline(){return q(this,dl)}},dl=new WeakMap,ui=new WeakMap,pl=new WeakMap,t0),cp=new kR;function ug(){let e,t;const n=new Promise((s,a)=>{e=s,t=a});n.status="pending",n.catch(()=>{});function r(s){Object.assign(n,s),delete n.resolve,delete n.reject}return n.resolve=s=>{r({status:"fulfilled",value:s}),e(s)},n.reject=s=>{r({status:"rejected",reason:s}),t(s)},n}function ER(e){return Math.min(1e3*2**e,3e4)}function G1(e){return(e??"online")==="online"?cp.isOnline():!0}var U1=class extends Error{constructor(e){super("CancelledError"),this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent}};function ym(e){return e instanceof U1}function Q1(e){let t=!1,n=0,r=!1,s;const a=ug(),l=P=>{var H;r||(x(new U1(P)),(H=e.abort)==null||H.call(e))},u=()=>{t=!0},f=()=>{t=!1},p=()=>ky.isFocused()&&(e.networkMode==="always"||cp.isOnline())&&e.canRun(),h=()=>G1(e.networkMode)&&e.canRun(),m=P=>{var H;r||(r=!0,(H=e.onSuccess)==null||H.call(e,P),s==null||s(),a.resolve(P))},x=P=>{var H;r||(r=!0,(H=e.onError)==null||H.call(e,P),s==null||s(),a.reject(P))},w=()=>new Promise(P=>{var H;s=S=>{(r||p())&&P(S)},(H=e.onPause)==null||H.call(e)}).then(()=>{var P;s=void 0,r||(P=e.onContinue)==null||P.call(e)}),A=()=>{if(r)return;let P;const H=n===0?e.initialPromise:void 0;try{P=H??e.fn()}catch(S){P=Promise.reject(S)}Promise.resolve(P).then(m).catch(S=>{var k;if(r)return;const C=e.retry??(va?0:3),z=e.retryDelay??ER,O=typeof z=="function"?z(n,S):z,D=C===!0||typeof C=="number"&&np()?void 0:w()).then(()=>{t?x(S):A()})})};return{promise:a,cancel:l,continue:()=>(s==null||s(),a),cancelRetry:u,continueRetry:f,canStart:h,start:()=>(h()?A():w().then(A),a)}}function RR(){let e=[],t=0,n=u=>{u()},r=u=>{u()},s=u=>setTimeout(u,0);const a=u=>{t?e.push(u):s(()=>{n(u)})},l=()=>{const u=e;e=[],u.length&&s(()=>{r(()=>{u.forEach(f=>{n(f)})})})};return{batch:u=>{let f;t++;try{f=u()}finally{t--,t||l()}return f},batchCalls:u=>(...f)=>{a(()=>{u(...f)})},schedule:a,setNotifyFunction:u=>{n=u},setBatchNotifyFunction:u=>{r=u},setScheduler:u=>{s=u}}}var In=RR(),_i,n0,K1=(n0=class{constructor(){pt(this,_i)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),ag(this.gcTime)&&Je(this,_i,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(va?1/0:5*60*1e3))}clearGcTimeout(){q(this,_i)&&(clearTimeout(q(this,_i)),Je(this,_i,void 0))}},_i=new WeakMap,n0),vl,hl,oo,$i,or,Cu,ea,Co,zs,r0,MR=(r0=class extends K1{constructor(t){super();pt(this,Co);pt(this,vl);pt(this,hl);pt(this,oo);pt(this,$i);pt(this,or);pt(this,Cu);pt(this,ea);Je(this,ea,!1),Je(this,Cu,t.defaultOptions),this.setOptions(t.options),this.observers=[],Je(this,$i,t.client),Je(this,oo,q(this,$i).getQueryCache()),this.queryKey=t.queryKey,this.queryHash=t.queryHash,Je(this,vl,LR(this.options)),this.state=t.state??q(this,vl),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var t;return(t=q(this,or))==null?void 0:t.promise}setOptions(t){this.options={...q(this,Cu),...t},this.updateGcTime(this.options.gcTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&q(this,oo).remove(this)}setData(t,n){const r=cg(this.state.data,t,this.options);return St(this,Co,zs).call(this,{data:r,type:"success",dataUpdatedAt:n==null?void 0:n.updatedAt,manual:n==null?void 0:n.manual}),r}setState(t,n){St(this,Co,zs).call(this,{type:"setState",state:t,setStateOptions:n})}cancel(t){var r,s;const n=(r=q(this,or))==null?void 0:r.promise;return(s=q(this,or))==null||s.cancel(t),n?n.then(so).catch(so):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(q(this,vl))}isActive(){return this.observers.some(t=>Do(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===Ty||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStale(){return this.state.isInvalidated?!0:this.getObserversCount()>0?this.observers.some(t=>t.getCurrentResult().isStale):this.state.data===void 0}isStaleByTime(t=0){return this.state.isInvalidated||this.state.data===void 0||!Y1(this.state.dataUpdatedAt,t)}onFocus(){var n;const t=this.observers.find(r=>r.shouldFetchOnWindowFocus());t==null||t.refetch({cancelRefetch:!1}),(n=q(this,or))==null||n.continue()}onOnline(){var n;const t=this.observers.find(r=>r.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(n=q(this,or))==null||n.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),q(this,oo).notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(n=>n!==t),this.observers.length||(q(this,or)&&(q(this,ea)?q(this,or).cancel({revert:!0}):q(this,or).cancelRetry()),this.scheduleGc()),q(this,oo).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||St(this,Co,zs).call(this,{type:"invalidate"})}fetch(t,n){var f,p,h;if(this.state.fetchStatus!=="idle"){if(this.state.data!==void 0&&(n!=null&&n.cancelRefetch))this.cancel({silent:!0});else if(q(this,or))return q(this,or).continueRetry(),q(this,or).promise}if(t&&this.setOptions(t),!this.options.queryFn){const m=this.observers.find(x=>x.options.queryFn);m&&this.setOptions(m.options)}const r=new AbortController,s=m=>{Object.defineProperty(m,"signal",{enumerable:!0,get:()=>(Je(this,ea,!0),r.signal)})},a=()=>{const m=Z1(this.options,n),x={client:q(this,$i),queryKey:this.queryKey,meta:this.meta};return s(x),Je(this,ea,!1),this.options.persister?this.options.persister(m,x,this):m(x)},l={fetchOptions:n,options:this.options,queryKey:this.queryKey,client:q(this,$i),state:this.state,fetchFn:a};s(l),(f=this.options.behavior)==null||f.onFetch(l,this),Je(this,hl,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((p=l.fetchOptions)==null?void 0:p.meta))&&St(this,Co,zs).call(this,{type:"fetch",meta:(h=l.fetchOptions)==null?void 0:h.meta});const u=m=>{var x,w,A,P;ym(m)&&m.silent||St(this,Co,zs).call(this,{type:"error",error:m}),ym(m)||((w=(x=q(this,oo).config).onError)==null||w.call(x,m,this),(P=(A=q(this,oo).config).onSettled)==null||P.call(A,this.state.data,m,this)),this.scheduleGc()};return Je(this,or,Q1({initialPromise:n==null?void 0:n.initialPromise,fn:l.fetchFn,abort:r.abort.bind(r),onSuccess:m=>{var x,w,A,P;if(m===void 0){u(new Error(`${this.queryHash} data is undefined`));return}try{this.setData(m)}catch(H){u(H);return}(w=(x=q(this,oo).config).onSuccess)==null||w.call(x,m,this),(P=(A=q(this,oo).config).onSettled)==null||P.call(A,m,this.state.error,this),this.scheduleGc()},onError:u,onFail:(m,x)=>{St(this,Co,zs).call(this,{type:"failed",failureCount:m,error:x})},onPause:()=>{St(this,Co,zs).call(this,{type:"pause"})},onContinue:()=>{St(this,Co,zs).call(this,{type:"continue"})},retry:l.options.retry,retryDelay:l.options.retryDelay,networkMode:l.options.networkMode,canRun:()=>!0})),q(this,or).start()}},vl=new WeakMap,hl=new WeakMap,oo=new WeakMap,$i=new WeakMap,or=new WeakMap,Cu=new WeakMap,ea=new WeakMap,Co=new WeakSet,zs=function(t){const n=r=>{switch(t.type){case"failed":return{...r,fetchFailureCount:t.failureCount,fetchFailureReason:t.error};case"pause":return{...r,fetchStatus:"paused"};case"continue":return{...r,fetchStatus:"fetching"};case"fetch":return{...r,..._1(r.data,this.options),fetchMeta:t.meta??null};case"success":return{...r,data:t.data,dataUpdateCount:r.dataUpdateCount+1,dataUpdatedAt:t.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const s=t.error;return ym(s)&&s.revert&&q(this,hl)?{...q(this,hl),fetchStatus:"idle"}:{...r,error:s,errorUpdateCount:r.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:r.fetchFailureCount+1,fetchFailureReason:s,fetchStatus:"idle",status:"error"};case"invalidate":return{...r,isInvalidated:!0};case"setState":return{...r,...t.state}}};this.state=n(this.state),In.batch(()=>{this.observers.forEach(r=>{r.onQueryUpdate()}),q(this,oo).notify({query:this,type:"updated",action:t})})},r0);function _1(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:G1(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function LR(e){const t=typeof e.initialData=="function"?e.initialData():e.initialData,n=t!==void 0,r=n?typeof e.initialDataUpdatedAt=="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?r??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"pending",fetchStatus:"idle"}}var Ko,o0,XR=(o0=class extends Ml{constructor(t={}){super();pt(this,Ko);this.config=t,Je(this,Ko,new Map)}build(t,n,r){const s=n.queryKey,a=n.queryHash??Dy(s,n);let l=this.get(a);return l||(l=new MR({client:t,queryKey:s,queryHash:a,options:t.defaultQueryOptions(n),state:r,defaultOptions:t.getQueryDefaults(s)}),this.add(l)),l}add(t){q(this,Ko).has(t.queryHash)||(q(this,Ko).set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const n=q(this,Ko).get(t.queryHash);n&&(t.destroy(),n===t&&q(this,Ko).delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){In.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return q(this,Ko).get(t)}getAll(){return[...q(this,Ko).values()]}find(t){const n={exact:!0,...t};return this.getAll().find(r=>Nx(n,r))}findAll(t={}){const n=this.getAll();return Object.keys(t).length>0?n.filter(r=>Nx(t,r)):n}notify(t){In.batch(()=>{this.listeners.forEach(n=>{n(t)})})}onFocus(){In.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){In.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},Ko=new WeakMap,o0),_o,fr,ta,$o,si,s0,NR=(s0=class extends K1{constructor(t){super();pt(this,$o);pt(this,_o);pt(this,fr);pt(this,ta);this.mutationId=t.mutationId,Je(this,fr,t.mutationCache),Je(this,_o,[]),this.state=t.state||$1(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){q(this,_o).includes(t)||(q(this,_o).push(t),this.clearGcTimeout(),q(this,fr).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){Je(this,_o,q(this,_o).filter(n=>n!==t)),this.scheduleGc(),q(this,fr).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){q(this,_o).length||(this.state.status==="pending"?this.scheduleGc():q(this,fr).remove(this))}continue(){var t;return((t=q(this,ta))==null?void 0:t.continue())??this.execute(this.state.variables)}async execute(t){var s,a,l,u,f,p,h,m,x,w,A,P,H,S,C,z,O,D,k,E;Je(this,ta,Q1({fn:()=>this.options.mutationFn?this.options.mutationFn(t):Promise.reject(new Error("No mutationFn found")),onFail:(M,L)=>{St(this,$o,si).call(this,{type:"failed",failureCount:M,error:L})},onPause:()=>{St(this,$o,si).call(this,{type:"pause"})},onContinue:()=>{St(this,$o,si).call(this,{type:"continue"})},retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>q(this,fr).canRun(this)}));const n=this.state.status==="pending",r=!q(this,ta).canStart();try{if(!n){St(this,$o,si).call(this,{type:"pending",variables:t,isPaused:r}),await((a=(s=q(this,fr).config).onMutate)==null?void 0:a.call(s,t,this));const L=await((u=(l=this.options).onMutate)==null?void 0:u.call(l,t));L!==this.state.context&&St(this,$o,si).call(this,{type:"pending",context:L,variables:t,isPaused:r})}const M=await q(this,ta).start();return await((p=(f=q(this,fr).config).onSuccess)==null?void 0:p.call(f,M,t,this.state.context,this)),await((m=(h=this.options).onSuccess)==null?void 0:m.call(h,M,t,this.state.context)),await((w=(x=q(this,fr).config).onSettled)==null?void 0:w.call(x,M,null,this.state.variables,this.state.context,this)),await((P=(A=this.options).onSettled)==null?void 0:P.call(A,M,null,t,this.state.context)),St(this,$o,si).call(this,{type:"success",data:M}),M}catch(M){try{throw await((S=(H=q(this,fr).config).onError)==null?void 0:S.call(H,M,t,this.state.context,this)),await((z=(C=this.options).onError)==null?void 0:z.call(C,M,t,this.state.context)),await((D=(O=q(this,fr).config).onSettled)==null?void 0:D.call(O,void 0,M,this.state.variables,this.state.context,this)),await((E=(k=this.options).onSettled)==null?void 0:E.call(k,void 0,M,t,this.state.context)),M}finally{St(this,$o,si).call(this,{type:"error",error:M})}}finally{q(this,fr).runNext(this)}}},_o=new WeakMap,fr=new WeakMap,ta=new WeakMap,$o=new WeakSet,si=function(t){const n=r=>{switch(t.type){case"failed":return{...r,failureCount:t.failureCount,failureReason:t.error};case"pause":return{...r,isPaused:!0};case"continue":return{...r,isPaused:!1};case"pending":return{...r,context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:t.isPaused,status:"pending",variables:t.variables,submittedAt:Date.now()};case"success":return{...r,data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...r,data:void 0,error:t.error,failureCount:r.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"}}};this.state=n(this.state),In.batch(()=>{q(this,_o).forEach(r=>{r.onMutationUpdate(t)}),q(this,fr).notify({mutation:this,type:"updated",action:t})})},s0);function $1(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var Cs,Oo,Ou,i0,BR=(i0=class extends Ml{constructor(t={}){super();pt(this,Cs);pt(this,Oo);pt(this,Ou);this.config=t,Je(this,Cs,new Set),Je(this,Oo,new Map),Je(this,Ou,0)}build(t,n,r){const s=new NR({mutationCache:this,mutationId:++ld(this,Ou)._,options:t.defaultMutationOptions(n),state:r});return this.add(s),s}add(t){q(this,Cs).add(t);const n=Ad(t);if(typeof n=="string"){const r=q(this,Oo).get(n);r?r.push(t):q(this,Oo).set(n,[t])}this.notify({type:"added",mutation:t})}remove(t){if(q(this,Cs).delete(t)){const n=Ad(t);if(typeof n=="string"){const r=q(this,Oo).get(n);if(r)if(r.length>1){const s=r.indexOf(t);s!==-1&&r.splice(s,1)}else r[0]===t&&q(this,Oo).delete(n)}}this.notify({type:"removed",mutation:t})}canRun(t){const n=Ad(t);if(typeof n=="string"){const r=q(this,Oo).get(n),s=r==null?void 0:r.find(a=>a.state.status==="pending");return!s||s===t}else return!0}runNext(t){var r;const n=Ad(t);if(typeof n=="string"){const s=(r=q(this,Oo).get(n))==null?void 0:r.find(a=>a!==t&&a.state.isPaused);return(s==null?void 0:s.continue())??Promise.resolve()}else return Promise.resolve()}clear(){In.batch(()=>{q(this,Cs).forEach(t=>{this.notify({type:"removed",mutation:t})}),q(this,Cs).clear(),q(this,Oo).clear()})}getAll(){return Array.from(q(this,Cs))}find(t){const n={exact:!0,...t};return this.getAll().find(r=>Bx(n,r))}findAll(t={}){return this.getAll().filter(n=>Bx(t,n))}notify(t){In.batch(()=>{this.listeners.forEach(n=>{n(t)})})}resumePausedMutations(){const t=this.getAll().filter(n=>n.state.isPaused);return In.batch(()=>Promise.all(t.map(n=>n.continue().catch(so))))}},Cs=new WeakMap,Oo=new WeakMap,Ou=new WeakMap,i0);function Ad(e){var t;return(t=e.options.scope)==null?void 0:t.id}function Wx(e){return{onFetch:(t,n)=>{var h,m,x,w,A;const r=t.options,s=(x=(m=(h=t.fetchOptions)==null?void 0:h.meta)==null?void 0:m.fetchMore)==null?void 0:x.direction,a=((w=t.state.data)==null?void 0:w.pages)||[],l=((A=t.state.data)==null?void 0:A.pageParams)||[];let u={pages:[],pageParams:[]},f=0;const p=async()=>{let P=!1;const H=z=>{Object.defineProperty(z,"signal",{enumerable:!0,get:()=>(t.signal.aborted?P=!0:t.signal.addEventListener("abort",()=>{P=!0}),t.signal)})},S=Z1(t.options,t.fetchOptions),C=async(z,O,D)=>{if(P)return Promise.reject();if(O==null&&z.pages.length)return Promise.resolve(z);const k={client:t.client,queryKey:t.queryKey,pageParam:O,direction:D?"backward":"forward",meta:t.options.meta};H(k);const E=await S(k),{maxPages:M}=t.options,L=D?DR:OR;return{pages:L(z.pages,E,M),pageParams:L(z.pageParams,O,M)}};if(s&&a.length){const z=s==="backward",O=z?VR:Jx,D={pages:a,pageParams:l},k=O(r,D);u=await C(D,k,z)}else{const z=e??a.length;do{const O=f===0?l[0]??r.initialPageParam:Jx(r,u);if(f>0&&O==null)break;u=await C(u,O),f++}while(f{var P,H;return(H=(P=t.options).persister)==null?void 0:H.call(P,p,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n)}:t.fetchFn=p}}}function Jx(e,{pages:t,pageParams:n}){const r=t.length-1;return t.length>0?e.getNextPageParam(t[r],t,n[r],n):void 0}function VR(e,{pages:t,pageParams:n}){var r;return t.length>0?(r=e.getPreviousPageParam)==null?void 0:r.call(e,t[0],t,n[0],n):void 0}var zn,fi,di,ml,gl,pi,yl,Al,a0,IR=(a0=class{constructor(e={}){pt(this,zn);pt(this,fi);pt(this,di);pt(this,ml);pt(this,gl);pt(this,pi);pt(this,yl);pt(this,Al);Je(this,zn,e.queryCache||new XR),Je(this,fi,e.mutationCache||new BR),Je(this,di,e.defaultOptions||{}),Je(this,ml,new Map),Je(this,gl,new Map),Je(this,pi,0)}mount(){ld(this,pi)._++,q(this,pi)===1&&(Je(this,yl,ky.subscribe(async e=>{e&&(await this.resumePausedMutations(),q(this,zn).onFocus())})),Je(this,Al,cp.subscribe(async e=>{e&&(await this.resumePausedMutations(),q(this,zn).onOnline())})))}unmount(){var e,t;ld(this,pi)._--,q(this,pi)===0&&((e=q(this,yl))==null||e.call(this),Je(this,yl,void 0),(t=q(this,Al))==null||t.call(this),Je(this,Al,void 0))}isFetching(e){return q(this,zn).findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return q(this,fi).findAll({...e,status:"pending"}).length}getQueryData(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=q(this,zn).get(t.queryHash))==null?void 0:n.state.data}ensureQueryData(e){const t=this.defaultQueryOptions(e),n=q(this,zn).build(this,t),r=n.state.data;return r===void 0?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime(cl(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(r))}getQueriesData(e){return q(this,zn).findAll(e).map(({queryKey:t,state:n})=>{const r=n.data;return[t,r]})}setQueryData(e,t,n){const r=this.defaultQueryOptions({queryKey:e}),s=q(this,zn).get(r.queryHash),a=s==null?void 0:s.state.data,l=SR(t,a);if(l!==void 0)return q(this,zn).build(this,r).setData(l,{...n,manual:!0})}setQueriesData(e,t,n){return In.batch(()=>q(this,zn).findAll(e).map(({queryKey:r})=>[r,this.setQueryData(r,t,n)]))}getQueryState(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=q(this,zn).get(t.queryHash))==null?void 0:n.state}removeQueries(e){const t=q(this,zn);In.batch(()=>{t.findAll(e).forEach(n=>{t.remove(n)})})}resetQueries(e,t){const n=q(this,zn),r={type:"active",...e};return In.batch(()=>(n.findAll(e).forEach(s=>{s.reset()}),this.refetchQueries(r,t)))}cancelQueries(e,t={}){const n={revert:!0,...t},r=In.batch(()=>q(this,zn).findAll(e).map(s=>s.cancel(n)));return Promise.all(r).then(so).catch(so)}invalidateQueries(e,t={}){return In.batch(()=>{if(q(this,zn).findAll(e).forEach(r=>{r.invalidate()}),(e==null?void 0:e.refetchType)==="none")return Promise.resolve();const n={...e,type:(e==null?void 0:e.refetchType)??(e==null?void 0:e.type)??"active"};return this.refetchQueries(n,t)})}refetchQueries(e,t={}){const n={...t,cancelRefetch:t.cancelRefetch??!0},r=In.batch(()=>q(this,zn).findAll(e).filter(s=>!s.isDisabled()).map(s=>{let a=s.fetch(void 0,n);return n.throwOnError||(a=a.catch(so)),s.state.fetchStatus==="paused"?Promise.resolve():a}));return Promise.all(r).then(so)}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const n=q(this,zn).build(this,t);return n.isStaleByTime(cl(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(so).catch(so)}fetchInfiniteQuery(e){return e.behavior=Wx(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(so).catch(so)}ensureInfiniteQueryData(e){return e.behavior=Wx(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return cp.isOnline()?q(this,fi).resumePausedMutations():Promise.resolve()}getQueryCache(){return q(this,zn)}getMutationCache(){return q(this,fi)}getDefaultOptions(){return q(this,di)}setDefaultOptions(e){Je(this,di,e)}setQueryDefaults(e,t){q(this,ml).set(ha(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...q(this,ml).values()],n={};return t.forEach(r=>{Hu(e,r.queryKey)&&Object.assign(n,r.defaultOptions)}),n}setMutationDefaults(e,t){q(this,gl).set(ha(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...q(this,gl).values()];let n={};return t.forEach(r=>{Hu(e,r.mutationKey)&&(n={...n,...r.defaultOptions})}),n}defaultQueryOptions(e){if(e._defaulted)return e;const t={...q(this,di).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=Dy(t.queryKey,t)),t.refetchOnReconnect===void 0&&(t.refetchOnReconnect=t.networkMode!=="always"),t.throwOnError===void 0&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode="offlineFirst"),t.queryFn===Ty&&(t.enabled=!1),t}defaultMutationOptions(e){return e!=null&&e._defaulted?e:{...q(this,di).mutations,...(e==null?void 0:e.mutationKey)&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){q(this,zn).clear(),q(this,fi).clear()}},zn=new WeakMap,fi=new WeakMap,di=new WeakMap,ml=new WeakMap,gl=new WeakMap,pi=new WeakMap,yl=new WeakMap,Al=new WeakMap,a0),Hr,Bt,Du,dr,na,Pl,vi,es,Tu,bl,xl,ra,oa,hi,wl,Zt,_c,fg,dg,pg,vg,hg,mg,gg,e2,l0,WR=(l0=class extends Ml{constructor(t,n){super();pt(this,Zt);pt(this,Hr);pt(this,Bt);pt(this,Du);pt(this,dr);pt(this,na);pt(this,Pl);pt(this,vi);pt(this,es);pt(this,Tu);pt(this,bl);pt(this,xl);pt(this,ra);pt(this,oa);pt(this,hi);pt(this,wl,new Set);this.options=n,Je(this,Hr,t),Je(this,es,null),Je(this,vi,ug()),this.options.experimental_prefetchInRender||q(this,vi).reject(new Error("experimental_prefetchInRender feature flag is not enabled")),this.bindMethods(),this.setOptions(n)}bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(q(this,Bt).addObserver(this),Fx(q(this,Bt),this.options)?St(this,Zt,_c).call(this):this.updateResult(),St(this,Zt,vg).call(this))}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return yg(q(this,Bt),this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return yg(q(this,Bt),this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,St(this,Zt,hg).call(this),St(this,Zt,mg).call(this),q(this,Bt).removeObserver(this)}setOptions(t,n){const r=this.options,s=q(this,Bt);if(this.options=q(this,Hr).defaultQueryOptions(t),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean"&&typeof this.options.enabled!="function"&&typeof Do(this.options.enabled,q(this,Bt))!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");St(this,Zt,gg).call(this),q(this,Bt).setOptions(this.options),r._defaulted&&!lp(this.options,r)&&q(this,Hr).getQueryCache().notify({type:"observerOptionsUpdated",query:q(this,Bt),observer:this});const a=this.hasListeners();a&&Yx(q(this,Bt),s,this.options,r)&&St(this,Zt,_c).call(this),this.updateResult(n),a&&(q(this,Bt)!==s||Do(this.options.enabled,q(this,Bt))!==Do(r.enabled,q(this,Bt))||cl(this.options.staleTime,q(this,Bt))!==cl(r.staleTime,q(this,Bt)))&&St(this,Zt,fg).call(this);const l=St(this,Zt,dg).call(this);a&&(q(this,Bt)!==s||Do(this.options.enabled,q(this,Bt))!==Do(r.enabled,q(this,Bt))||l!==q(this,hi))&&St(this,Zt,pg).call(this,l)}getOptimisticResult(t){const n=q(this,Hr).getQueryCache().build(q(this,Hr),t),r=this.createResult(n,t);return FR(this,r)&&(Je(this,dr,r),Je(this,Pl,this.options),Je(this,na,q(this,Bt).state)),r}getCurrentResult(){return q(this,dr)}trackResult(t,n){const r={};return Object.keys(t).forEach(s=>{Object.defineProperty(r,s,{configurable:!1,enumerable:!0,get:()=>(this.trackProp(s),n==null||n(s),t[s])})}),r}trackProp(t){q(this,wl).add(t)}getCurrentQuery(){return q(this,Bt)}refetch({...t}={}){return this.fetch({...t})}fetchOptimistic(t){const n=q(this,Hr).defaultQueryOptions(t),r=q(this,Hr).getQueryCache().build(q(this,Hr),n);return r.fetch().then(()=>this.createResult(r,n))}fetch(t){return St(this,Zt,_c).call(this,{...t,cancelRefetch:t.cancelRefetch??!0}).then(()=>(this.updateResult(),q(this,dr)))}createResult(t,n){var M;const r=q(this,Bt),s=this.options,a=q(this,dr),l=q(this,na),u=q(this,Pl),p=t!==r?t.state:q(this,Du),{state:h}=t;let m={...h},x=!1,w;if(n._optimisticResults){const L=this.hasListeners(),j=!L&&Fx(t,n),N=L&&Yx(t,r,n,s);(j||N)&&(m={...m,..._1(h.data,t.options)}),n._optimisticResults==="isRestoring"&&(m.fetchStatus="idle")}let{error:A,errorUpdatedAt:P,status:H}=m;if(n.select&&m.data!==void 0)if(a&&m.data===(l==null?void 0:l.data)&&n.select===q(this,Tu))w=q(this,bl);else try{Je(this,Tu,n.select),w=n.select(m.data),w=cg(a==null?void 0:a.data,w,n),Je(this,bl,w),Je(this,es,null)}catch(L){Je(this,es,L)}else w=m.data;if(n.placeholderData!==void 0&&w===void 0&&H==="pending"){let L;if(a!=null&&a.isPlaceholderData&&n.placeholderData===(u==null?void 0:u.placeholderData))L=a.data;else if(L=typeof n.placeholderData=="function"?n.placeholderData((M=q(this,xl))==null?void 0:M.state.data,q(this,xl)):n.placeholderData,n.select&&L!==void 0)try{L=n.select(L),Je(this,es,null)}catch(j){Je(this,es,j)}L!==void 0&&(H="success",w=cg(a==null?void 0:a.data,L,n),x=!0)}q(this,es)&&(A=q(this,es),w=q(this,bl),P=Date.now(),H="error");const S=m.fetchStatus==="fetching",C=H==="pending",z=H==="error",O=C&&S,D=w!==void 0,E={status:H,fetchStatus:m.fetchStatus,isPending:C,isSuccess:H==="success",isError:z,isInitialLoading:O,isLoading:O,data:w,dataUpdatedAt:m.dataUpdatedAt,error:A,errorUpdatedAt:P,failureCount:m.fetchFailureCount,failureReason:m.fetchFailureReason,errorUpdateCount:m.errorUpdateCount,isFetched:m.dataUpdateCount>0||m.errorUpdateCount>0,isFetchedAfterMount:m.dataUpdateCount>p.dataUpdateCount||m.errorUpdateCount>p.errorUpdateCount,isFetching:S,isRefetching:S&&!C,isLoadingError:z&&!D,isPaused:m.fetchStatus==="paused",isPlaceholderData:x,isRefetchError:z&&D,isStale:Ey(t,n),refetch:this.refetch,promise:q(this,vi)};if(this.options.experimental_prefetchInRender){const L=W=>{E.status==="error"?W.reject(E.error):E.data!==void 0&&W.resolve(E.data)},j=()=>{const W=Je(this,vi,E.promise=ug());L(W)},N=q(this,vi);switch(N.status){case"pending":t.queryHash===r.queryHash&&L(N);break;case"fulfilled":(E.status==="error"||E.data!==N.value)&&j();break;case"rejected":(E.status!=="error"||E.error!==N.reason)&&j();break}}return E}updateResult(t){const n=q(this,dr),r=this.createResult(q(this,Bt),this.options);if(Je(this,na,q(this,Bt).state),Je(this,Pl,this.options),q(this,na).data!==void 0&&Je(this,xl,q(this,Bt)),lp(r,n))return;Je(this,dr,r);const s={},a=()=>{if(!n)return!0;const{notifyOnChangeProps:l}=this.options,u=typeof l=="function"?l():l;if(u==="all"||!u&&!q(this,wl).size)return!0;const f=new Set(u??q(this,wl));return this.options.throwOnError&&f.add("error"),Object.keys(q(this,dr)).some(p=>{const h=p;return q(this,dr)[h]!==n[h]&&f.has(h)})};(t==null?void 0:t.listeners)!==!1&&a()&&(s.listeners=!0),St(this,Zt,e2).call(this,{...s,...t})}onQueryUpdate(){this.updateResult(),this.hasListeners()&&St(this,Zt,vg).call(this)}},Hr=new WeakMap,Bt=new WeakMap,Du=new WeakMap,dr=new WeakMap,na=new WeakMap,Pl=new WeakMap,vi=new WeakMap,es=new WeakMap,Tu=new WeakMap,bl=new WeakMap,xl=new WeakMap,ra=new WeakMap,oa=new WeakMap,hi=new WeakMap,wl=new WeakMap,Zt=new WeakSet,_c=function(t){St(this,Zt,gg).call(this);let n=q(this,Bt).fetch(this.options,t);return t!=null&&t.throwOnError||(n=n.catch(so)),n},fg=function(){St(this,Zt,hg).call(this);const t=cl(this.options.staleTime,q(this,Bt));if(va||q(this,dr).isStale||!ag(t))return;const r=Y1(q(this,dr).dataUpdatedAt,t)+1;Je(this,ra,setTimeout(()=>{q(this,dr).isStale||this.updateResult()},r))},dg=function(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(q(this,Bt)):this.options.refetchInterval)??!1},pg=function(t){St(this,Zt,mg).call(this),Je(this,hi,t),!(va||Do(this.options.enabled,q(this,Bt))===!1||!ag(q(this,hi))||q(this,hi)===0)&&Je(this,oa,setInterval(()=>{(this.options.refetchIntervalInBackground||ky.isFocused())&&St(this,Zt,_c).call(this)},q(this,hi)))},vg=function(){St(this,Zt,fg).call(this),St(this,Zt,pg).call(this,St(this,Zt,dg).call(this))},hg=function(){q(this,ra)&&(clearTimeout(q(this,ra)),Je(this,ra,void 0))},mg=function(){q(this,oa)&&(clearInterval(q(this,oa)),Je(this,oa,void 0))},gg=function(){const t=q(this,Hr).getQueryCache().build(q(this,Hr),this.options);if(t===q(this,Bt))return;const n=q(this,Bt);Je(this,Bt,t),Je(this,Du,t.state),this.hasListeners()&&(n==null||n.removeObserver(this),t.addObserver(this))},e2=function(t){In.batch(()=>{t.listeners&&this.listeners.forEach(n=>{n(q(this,dr))}),q(this,Hr).getQueryCache().notify({query:q(this,Bt),type:"observerResultsUpdated"})})},l0);function JR(e,t){return Do(t.enabled,e)!==!1&&e.state.data===void 0&&!(e.state.status==="error"&&t.retryOnMount===!1)}function Fx(e,t){return JR(e,t)||e.state.data!==void 0&&yg(e,t,t.refetchOnMount)}function yg(e,t,n){if(Do(t.enabled,e)!==!1){const r=typeof n=="function"?n(e):n;return r==="always"||r!==!1&&Ey(e,t)}return!1}function Yx(e,t,n,r){return(e!==t||Do(r.enabled,e)===!1)&&(!n.suspense||e.state.status!=="error")&&Ey(e,n)}function Ey(e,t){return Do(t.enabled,e)!==!1&&e.isStaleByTime(cl(t.staleTime,e))}function FR(e,t){return!lp(e.getCurrentResult(),t)}var mi,gi,jr,Os,Es,Nd,Ag,c0,YR=(c0=class extends Ml{constructor(n,r){super();pt(this,Es);pt(this,mi);pt(this,gi);pt(this,jr);pt(this,Os);Je(this,mi,n),this.setOptions(r),this.bindMethods(),St(this,Es,Nd).call(this)}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(n){var s;const r=this.options;this.options=q(this,mi).defaultMutationOptions(n),lp(this.options,r)||q(this,mi).getMutationCache().notify({type:"observerOptionsUpdated",mutation:q(this,jr),observer:this}),r!=null&&r.mutationKey&&this.options.mutationKey&&ha(r.mutationKey)!==ha(this.options.mutationKey)?this.reset():((s=q(this,jr))==null?void 0:s.state.status)==="pending"&&q(this,jr).setOptions(this.options)}onUnsubscribe(){var n;this.hasListeners()||(n=q(this,jr))==null||n.removeObserver(this)}onMutationUpdate(n){St(this,Es,Nd).call(this),St(this,Es,Ag).call(this,n)}getCurrentResult(){return q(this,gi)}reset(){var n;(n=q(this,jr))==null||n.removeObserver(this),Je(this,jr,void 0),St(this,Es,Nd).call(this),St(this,Es,Ag).call(this)}mutate(n,r){var s;return Je(this,Os,r),(s=q(this,jr))==null||s.removeObserver(this),Je(this,jr,q(this,mi).getMutationCache().build(q(this,mi),this.options)),q(this,jr).addObserver(this),q(this,jr).execute(n)}},mi=new WeakMap,gi=new WeakMap,jr=new WeakMap,Os=new WeakMap,Es=new WeakSet,Nd=function(){var r;const n=((r=q(this,jr))==null?void 0:r.state)??$1();Je(this,gi,{...n,isPending:n.status==="pending",isSuccess:n.status==="success",isError:n.status==="error",isIdle:n.status==="idle",mutate:this.mutate,reset:this.reset})},Ag=function(n){In.batch(()=>{var r,s,a,l,u,f,p,h;if(q(this,Os)&&this.hasListeners()){const m=q(this,gi).variables,x=q(this,gi).context;(n==null?void 0:n.type)==="success"?((s=(r=q(this,Os)).onSuccess)==null||s.call(r,n.data,m,x),(l=(a=q(this,Os)).onSettled)==null||l.call(a,n.data,null,m,x)):(n==null?void 0:n.type)==="error"&&((f=(u=q(this,Os)).onError)==null||f.call(u,n.error,m,x),(h=(p=q(this,Os)).onSettled)==null||h.call(p,void 0,n.error,m,x))}this.listeners.forEach(m=>{m(q(this,gi))})})},c0),t2=y.createContext(void 0),Fp=e=>{const t=y.useContext(t2);if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},qR=({client:e,children:t})=>(y.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),v.jsx(t2.Provider,{value:e,children:t})),n2=y.createContext(!1),ZR=()=>y.useContext(n2);n2.Provider;function GR(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}var UR=y.createContext(GR()),QR=()=>y.useContext(UR);function r2(e,t){return typeof e=="function"?e(...t):!!e}function Pg(){}var KR=(e,t)=>{(e.suspense||e.throwOnError||e.experimental_prefetchInRender)&&(t.isReset()||(e.retryOnMount=!1))},_R=e=>{y.useEffect(()=>{e.clearReset()},[e])},$R=({result:e,errorResetBoundary:t,throwOnError:n,query:r,suspense:s})=>e.isError&&!t.isReset()&&!e.isFetching&&r&&(s&&e.data===void 0||r2(n,[e.error,r])),e6=e=>{const t=e.staleTime;e.suspense&&(e.staleTime=typeof t=="function"?(...n)=>Math.max(t(...n),1e3):Math.max(t??1e3,1e3),typeof e.gcTime=="number"&&(e.gcTime=Math.max(e.gcTime,1e3)))},t6=(e,t)=>e.isLoading&&e.isFetching&&!t,n6=(e,t)=>(e==null?void 0:e.suspense)&&t.isPending,qx=(e,t,n)=>t.fetchOptimistic(e).catch(()=>{n.clearReset()});function r6(e,t,n){var m,x,w,A,P;const r=Fp(),s=ZR(),a=QR(),l=r.defaultQueryOptions(e);(x=(m=r.getDefaultOptions().queries)==null?void 0:m._experimental_beforeQuery)==null||x.call(m,l),l._optimisticResults=s?"isRestoring":"optimistic",e6(l),KR(l,a),_R(a);const u=!r.getQueryCache().get(l.queryHash),[f]=y.useState(()=>new t(r,l)),p=f.getOptimisticResult(l),h=!s&&e.subscribed!==!1;if(y.useSyncExternalStore(y.useCallback(H=>{const S=h?f.subscribe(In.batchCalls(H)):Pg;return f.updateResult(),S},[f,h]),()=>f.getCurrentResult(),()=>f.getCurrentResult()),y.useEffect(()=>{f.setOptions(l,{listeners:!1})},[l,f]),n6(l,p))throw qx(l,f,a);if($R({result:p,errorResetBoundary:a,throwOnError:l.throwOnError,query:r.getQueryCache().get(l.queryHash),suspense:l.suspense}))throw p.error;if((A=(w=r.getDefaultOptions().queries)==null?void 0:w._experimental_afterQuery)==null||A.call(w,l,p),l.experimental_prefetchInRender&&!va&&t6(p,s)){const H=u?qx(l,f,a):(P=r.getQueryCache().get(l.queryHash))==null?void 0:P.promise;H==null||H.catch(Pg).finally(()=>{f.updateResult()})}return l.notifyOnChangeProps?p:f.trackResult(p)}function _n(e,t){return r6(e,WR)}function Tl(e,t){const n=Fp(),[r]=y.useState(()=>new YR(n,e));y.useEffect(()=>{r.setOptions(e)},[r,e]);const s=y.useSyncExternalStore(y.useCallback(l=>r.subscribe(In.batchCalls(l)),[r]),()=>r.getCurrentResult(),()=>r.getCurrentResult()),a=y.useCallback((l,u)=>{r.mutate(l,u).catch(Pg)},[r]);if(s.error&&r2(r.options.throwOnError,[s.error]))throw s.error;return{...s,mutate:a,mutateAsync:s.mutate}}var Pd={},Zx;function o6(){if(Zx)return Pd;Zx=1;var e=i1();return Pd.createRoot=e.createRoot,Pd.hydrateRoot=e.hydrateRoot,Pd}var s6=o6();const i6=Ap(s6);var Ec={},Gx;function a6(){if(Gx)return Ec;Gx=1,Object.defineProperty(Ec,"__esModule",{value:!0}),Ec.parse=l,Ec.serialize=p;const e=/^[\u0021-\u003A\u003C\u003E-\u007E]+$/,t=/^[\u0021-\u003A\u003C-\u007E]*$/,n=/^([.]?[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)([.][a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)*$/i,r=/^[\u0020-\u003A\u003D-\u007E]*$/,s=Object.prototype.toString,a=(()=>{const x=function(){};return x.prototype=Object.create(null),x})();function l(x,w){const A=new a,P=x.length;if(P<2)return A;const H=(w==null?void 0:w.decode)||h;let S=0;do{const C=x.indexOf("=",S);if(C===-1)break;const z=x.indexOf(";",S),O=z===-1?P:z;if(C>O){S=x.lastIndexOf(";",C-1)+1;continue}const D=u(x,S,C),k=f(x,C,D),E=x.slice(D,k);if(A[E]===void 0){let M=u(x,C+1,O),L=f(x,O,M);const j=H(x.slice(M,L));A[E]=j}S=O+1}while(SA;){const P=x.charCodeAt(--w);if(P!==32&&P!==9)return w+1}return A}function p(x,w,A){const P=(A==null?void 0:A.encode)||encodeURIComponent;if(!e.test(x))throw new TypeError(`argument name is invalid: ${x}`);const H=P(w);if(!t.test(H))throw new TypeError(`argument val is invalid: ${w}`);let S=x+"="+H;if(!A)return S;if(A.maxAge!==void 0){if(!Number.isInteger(A.maxAge))throw new TypeError(`option maxAge is invalid: ${A.maxAge}`);S+="; Max-Age="+A.maxAge}if(A.domain){if(!n.test(A.domain))throw new TypeError(`option domain is invalid: ${A.domain}`);S+="; Domain="+A.domain}if(A.path){if(!r.test(A.path))throw new TypeError(`option path is invalid: ${A.path}`);S+="; Path="+A.path}if(A.expires){if(!m(A.expires)||!Number.isFinite(A.expires.valueOf()))throw new TypeError(`option expires is invalid: ${A.expires}`);S+="; Expires="+A.expires.toUTCString()}if(A.httpOnly&&(S+="; HttpOnly"),A.secure&&(S+="; Secure"),A.partitioned&&(S+="; Partitioned"),A.priority)switch(typeof A.priority=="string"?A.priority.toLowerCase():void 0){case"low":S+="; Priority=Low";break;case"medium":S+="; Priority=Medium";break;case"high":S+="; Priority=High";break;default:throw new TypeError(`option priority is invalid: ${A.priority}`)}if(A.sameSite)switch(typeof A.sameSite=="string"?A.sameSite.toLowerCase():A.sameSite){case!0:case"strict":S+="; SameSite=Strict";break;case"lax":S+="; SameSite=Lax";break;case"none":S+="; SameSite=None";break;default:throw new TypeError(`option sameSite is invalid: ${A.sameSite}`)}return S}function h(x){if(x.indexOf("%")===-1)return x;try{return decodeURIComponent(x)}catch{return x}}function m(x){return s.call(x)==="[object Date]"}return Ec}a6();/** +`,Cz=typeof Um!="string"?Uy` + animation: ${Um} 1.4s linear infinite; + `:null,Oz=typeof Qm!="string"?Uy` + animation: ${Qm} 1.4s ease-in-out infinite; + `:null,Dz=e=>{const{classes:t,variant:n,color:r,disableShrink:s}=e,a={root:["root",n,`color${ye(r)}`],svg:["svg"],circle:["circle",`circle${ye(n)}`,s&&"circleDisableShrink"]};return _e(a,Sz,t)},kz=ve("span",{name:"MuiCircularProgress",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`color${ye(n.color)}`]]}})(tt(({theme:e})=>({display:"inline-block",variants:[{props:{variant:"determinate"},style:{transition:e.transitions.create("transform")}},{props:{variant:"indeterminate"},style:Cz||{animation:`${Um} 1.4s linear infinite`}},...Object.entries(e.palette).filter(gn()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}}))]}))),Tz=ve("svg",{name:"MuiCircularProgress",slot:"Svg",overridesResolver:(e,t)=>t.svg})({display:"block"}),Ez=ve("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.circle,t[`circle${ye(n.variant)}`],n.disableShrink&&t.circleDisableShrink]}})(tt(({theme:e})=>({stroke:"currentColor",variants:[{props:{variant:"determinate"},style:{transition:e.transitions.create("stroke-dashoffset")}},{props:{variant:"indeterminate"},style:{strokeDasharray:"80px, 200px",strokeDashoffset:0}},{props:({ownerState:t})=>t.variant==="indeterminate"&&!t.disableShrink,style:Oz||{animation:`${Qm} 1.4s ease-in-out infinite`}}]}))),Vu=g.forwardRef(function(t,n){const r=nt({props:t,name:"MuiCircularProgress"}),{className:s,color:a="primary",disableShrink:l=!1,size:u=40,style:f,thickness:p=3.6,value:h=0,variant:m="indeterminate",...x}=r,w={...r,color:a,disableShrink:l,size:u,thickness:p,value:h,variant:m},A=Dz(w),P={},H={},C={};if(m==="determinate"){const S=2*Math.PI*((oi-p)/2);P.strokeDasharray=S.toFixed(3),C["aria-valuenow"]=Math.round(h),P.strokeDashoffset=`${((100-h)/100*S).toFixed(3)}px`,H.transform="rotate(-90deg)"}return v.jsx(kz,{className:Oe(A.root,s),style:{width:u,height:u,...H,...f},ownerState:w,ref:n,role:"progressbar",...C,...x,children:v.jsx(Tz,{className:A.svg,ownerState:w,viewBox:`${oi/2} ${oi/2} ${oi} ${oi}`,children:v.jsx(Ez,{className:A.circle,style:P,ownerState:w,cx:oi,cy:oi,r:(oi-p)/2,fill:"none",strokeWidth:p})})})});function Rz(e){return Qe("MuiIconButton",e)}const L8=Ke("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge","loading","loadingIndicator","loadingWrapper"]),Mz=e=>{const{classes:t,disabled:n,color:r,edge:s,size:a,loading:l}=e,u={root:["root",l&&"loading",n&&"disabled",r!=="default"&&`color${ye(r)}`,s&&`edge${ye(s)}`,`size${ye(a)}`],loadingIndicator:["loadingIndicator"],loadingWrapper:["loadingWrapper"]};return _e(u,Rz,t)},Lz=ve(fa,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.loading&&t.loading,n.color!=="default"&&t[`color${ye(n.color)}`],n.edge&&t[`edge${ye(n.edge)}`],t[`size${ye(n.size)}`]]}})(tt(({theme:e})=>({textAlign:"center",flex:"0 0 auto",fontSize:e.typography.pxToRem(24),padding:8,borderRadius:"50%",color:(e.vars||e).palette.action.active,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),variants:[{props:t=>!t.disableRipple,style:{"--IconButton-hoverBg":e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:bt(e.palette.action.active,e.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}}]})),tt(({theme:e})=>({variants:[{props:{color:"inherit"},style:{color:"inherit"}},...Object.entries(e.palette).filter(gn()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}})),...Object.entries(e.palette).filter(gn()).map(([t])=>({props:{color:t},style:{"--IconButton-hoverBg":e.vars?`rgba(${(e.vars||e).palette[t].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:bt((e.vars||e).palette[t].main,e.palette.action.hoverOpacity)}})),{props:{size:"small"},style:{padding:5,fontSize:e.typography.pxToRem(18)}},{props:{size:"large"},style:{padding:12,fontSize:e.typography.pxToRem(28)}}],[`&.${L8.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled},[`&.${L8.loading}`]:{color:"transparent"}}))),Xz=ve("span",{name:"MuiIconButton",slot:"LoadingIndicator",overridesResolver:(e,t)=>t.loadingIndicator})(({theme:e})=>({display:"none",position:"absolute",visibility:"visible",top:"50%",left:"50%",transform:"translate(-50%, -50%)",color:(e.vars||e).palette.action.disabled,variants:[{props:{loading:!0},style:{display:"flex"}}]})),Sr=g.forwardRef(function(t,n){const r=nt({props:t,name:"MuiIconButton"}),{edge:s=!1,children:a,className:l,color:u="default",disabled:f=!1,disableFocusRipple:p=!1,size:h="medium",id:m,loading:x=null,loadingIndicator:w,...A}=r,P=us(m),H=w??v.jsx(Vu,{"aria-labelledby":P,color:"inherit",size:16}),C={...r,edge:s,color:u,disabled:f,disableFocusRipple:p,loading:x,loadingIndicator:H,size:h},S=Mz(C);return v.jsxs(Lz,{id:x?P:m,className:Oe(S.root,l),centerRipple:!0,focusRipple:!p,disabled:f||x,ref:n,...A,ownerState:C,children:[typeof x=="boolean"&&v.jsx("span",{className:S.loadingWrapper,style:{display:"contents"},children:v.jsx(Xz,{className:S.loadingIndicator,ownerState:C,children:x&&H})}),a]})}),Nz=Pt(v.jsx("path",{d:"M20,12A8,8 0 0,1 12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4C12.76,4 13.5,4.11 14.2, 4.31L15.77,2.74C14.61,2.26 13.34,2 12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0, 0 22,12M7.91,10.08L6.5,11.5L11,16L21,6L19.59,4.58L11,13.17L7.91,10.08Z"}),"SuccessOutlined"),Bz=Pt(v.jsx("path",{d:"M12 5.99L19.53 19H4.47L12 5.99M12 2L1 21h22L12 2zm1 14h-2v2h2v-2zm0-6h-2v4h2v-4z"}),"ReportProblemOutlined"),Vz=Pt(v.jsx("path",{d:"M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"ErrorOutline"),Iz=Pt(v.jsx("path",{d:"M11,9H13V7H11M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20, 12C20,16.41 16.41,20 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10, 10 0 0,0 12,2M11,17H13V11H11V17Z"}),"InfoOutlined"),s1=Pt(v.jsx("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close"),Wz=e=>{const{variant:t,color:n,severity:r,classes:s}=e,a={root:["root",`color${ye(n||r)}`,`${t}${ye(n||r)}`,`${t}`],icon:["icon"],message:["message"],action:["action"]};return _e(a,zz,s)},Jz=ve(qr,{name:"MuiAlert",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`${n.variant}${ye(n.color||n.severity)}`]]}})(tt(({theme:e})=>{const t=e.palette.mode==="light"?ca:ua,n=e.palette.mode==="light"?ua:ca;return{...e.typography.body2,backgroundColor:"transparent",display:"flex",padding:"6px 16px",variants:[...Object.entries(e.palette).filter(gn(["light"])).map(([r])=>({props:{colorSeverity:r,variant:"standard"},style:{color:e.vars?e.vars.palette.Alert[`${r}Color`]:t(e.palette[r].light,.6),backgroundColor:e.vars?e.vars.palette.Alert[`${r}StandardBg`]:n(e.palette[r].light,.9),[`& .${M8.icon}`]:e.vars?{color:e.vars.palette.Alert[`${r}IconColor`]}:{color:e.palette[r].main}}})),...Object.entries(e.palette).filter(gn(["light"])).map(([r])=>({props:{colorSeverity:r,variant:"outlined"},style:{color:e.vars?e.vars.palette.Alert[`${r}Color`]:t(e.palette[r].light,.6),border:`1px solid ${(e.vars||e).palette[r].light}`,[`& .${M8.icon}`]:e.vars?{color:e.vars.palette.Alert[`${r}IconColor`]}:{color:e.palette[r].main}}})),...Object.entries(e.palette).filter(gn(["dark"])).map(([r])=>({props:{colorSeverity:r,variant:"filled"},style:{fontWeight:e.typography.fontWeightMedium,...e.vars?{color:e.vars.palette.Alert[`${r}FilledColor`],backgroundColor:e.vars.palette.Alert[`${r}FilledBg`]}:{backgroundColor:e.palette.mode==="dark"?e.palette[r].dark:e.palette[r].main,color:e.palette.getContrastText(e.palette[r].main)}}}))]}})),Fz=ve("div",{name:"MuiAlert",slot:"Icon",overridesResolver:(e,t)=>t.icon})({marginRight:12,padding:"7px 0",display:"flex",fontSize:22,opacity:.9}),Yz=ve("div",{name:"MuiAlert",slot:"Message",overridesResolver:(e,t)=>t.message})({padding:"8px 0",minWidth:0,overflow:"auto"}),qz=ve("div",{name:"MuiAlert",slot:"Action",overridesResolver:(e,t)=>t.action})({display:"flex",alignItems:"flex-start",padding:"4px 0 0 16px",marginLeft:"auto",marginRight:-8}),X8={success:v.jsx(Nz,{fontSize:"inherit"}),warning:v.jsx(Bz,{fontSize:"inherit"}),error:v.jsx(Vz,{fontSize:"inherit"}),info:v.jsx(Iz,{fontSize:"inherit"})},dg=g.forwardRef(function(t,n){const r=nt({props:t,name:"MuiAlert"}),{action:s,children:a,className:l,closeText:u="Close",color:f,components:p={},componentsProps:h={},icon:m,iconMapping:x=X8,onClose:w,role:A="alert",severity:P="success",slotProps:H={},slots:C={},variant:S="standard",...z}=r,O={...r,color:f,severity:P,variant:S,colorSeverity:f||P},D=Wz(O),T={slots:{closeButton:p.CloseButton,closeIcon:p.CloseIcon,...C},slotProps:{...h,...H}},[R,M]=dt("root",{ref:n,shouldForwardComponentProp:!0,className:Oe(D.root,l),elementType:Jz,externalForwardedProps:{...T,...z},ownerState:O,additionalProps:{role:A,elevation:0}}),[L,j]=dt("icon",{className:D.icon,elementType:Fz,externalForwardedProps:T,ownerState:O}),[N,B]=dt("message",{className:D.message,elementType:Yz,externalForwardedProps:T,ownerState:O}),[W,$]=dt("action",{className:D.action,elementType:qz,externalForwardedProps:T,ownerState:O}),[J,Q]=dt("closeButton",{elementType:Sr,externalForwardedProps:T,ownerState:O}),[re,_]=dt("closeIcon",{elementType:s1,externalForwardedProps:T,ownerState:O});return v.jsxs(R,{...M,children:[m!==!1?v.jsx(L,{...j,children:m||x[P]||X8[P]}):null,v.jsx(N,{...B,children:a}),s!=null?v.jsx(W,{...$,children:s}):null,s==null&&w?v.jsx(W,{...$,children:v.jsx(J,{size:"small","aria-label":u,title:u,color:"inherit",onClick:w,...Q,children:v.jsx(re,{fontSize:"small",..._})})}):null]})});function Zz(e){return Qe("MuiTypography",e)}const N8=Ke("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]),Gz={primary:!0,secondary:!0,error:!0,info:!0,success:!0,warning:!0,textPrimary:!0,textSecondary:!0,textDisabled:!0},Uz=Zj(),Qz=e=>{const{align:t,gutterBottom:n,noWrap:r,paragraph:s,variant:a,classes:l}=e,u={root:["root",a,e.align!=="inherit"&&`align${ye(t)}`,n&&"gutterBottom",r&&"noWrap",s&&"paragraph"]};return _e(u,Zz,l)},Kz=ve("span",{name:"MuiTypography",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.variant&&t[n.variant],n.align!=="inherit"&&t[`align${ye(n.align)}`],n.noWrap&&t.noWrap,n.gutterBottom&&t.gutterBottom,n.paragraph&&t.paragraph]}})(tt(({theme:e})=>{var t;return{margin:0,variants:[{props:{variant:"inherit"},style:{font:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}},...Object.entries(e.typography).filter(([n,r])=>n!=="inherit"&&r&&typeof r=="object").map(([n,r])=>({props:{variant:n},style:r})),...Object.entries(e.palette).filter(gn()).map(([n])=>({props:{color:n},style:{color:(e.vars||e).palette[n].main}})),...Object.entries(((t=e.palette)==null?void 0:t.text)||{}).filter(([,n])=>typeof n=="string").map(([n])=>({props:{color:`text${ye(n)}`},style:{color:(e.vars||e).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}}]}})),B8={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},Ht=g.forwardRef(function(t,n){const{color:r,...s}=nt({props:t,name:"MuiTypography"}),a=!Gz[r],l=Uz({...s,...a&&{color:r}}),{align:u="inherit",className:f,component:p,gutterBottom:h=!1,noWrap:m=!1,paragraph:x=!1,variant:w="body1",variantMapping:A=B8,...P}=l,H={...l,align:u,color:r,className:f,component:p,gutterBottom:h,noWrap:m,paragraph:x,variant:w,variantMapping:A},C=p||(x?"p":A[w]||B8[w])||"span",S=Qz(H);return v.jsx(Kz,{as:C,ref:n,className:Oe(S.root,f),...P,ownerState:H,style:{...u!=="inherit"&&{"--Typography-textAlign":u},...P.style}})});function _z(e){return Qe("MuiAppBar",e)}Ke("MuiAppBar",["root","positionFixed","positionAbsolute","positionSticky","positionStatic","positionRelative","colorDefault","colorPrimary","colorSecondary","colorInherit","colorTransparent","colorError","colorInfo","colorSuccess","colorWarning"]);const $z=e=>{const{color:t,position:n,classes:r}=e,s={root:["root",`color${ye(t)}`,`position${ye(n)}`]};return _e(s,_z,r)},V8=(e,t)=>e?`${e==null?void 0:e.replace(")","")}, ${t})`:t,eS=ve(qr,{name:"MuiAppBar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`position${ye(n.position)}`],t[`color${ye(n.color)}`]]}})(tt(({theme:e})=>({display:"flex",flexDirection:"column",width:"100%",boxSizing:"border-box",flexShrink:0,variants:[{props:{position:"fixed"},style:{position:"fixed",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0,"@media print":{position:"absolute"}}},{props:{position:"absolute"},style:{position:"absolute",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0}},{props:{position:"sticky"},style:{position:"sticky",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0}},{props:{position:"static"},style:{position:"static"}},{props:{position:"relative"},style:{position:"relative"}},{props:{color:"inherit"},style:{"--AppBar-color":"inherit"}},{props:{color:"default"},style:{"--AppBar-background":e.vars?e.vars.palette.AppBar.defaultBg:e.palette.grey[100],"--AppBar-color":e.vars?e.vars.palette.text.primary:e.palette.getContrastText(e.palette.grey[100]),...e.applyStyles("dark",{"--AppBar-background":e.vars?e.vars.palette.AppBar.defaultBg:e.palette.grey[900],"--AppBar-color":e.vars?e.vars.palette.text.primary:e.palette.getContrastText(e.palette.grey[900])})}},...Object.entries(e.palette).filter(gn(["contrastText"])).map(([t])=>({props:{color:t},style:{"--AppBar-background":(e.vars??e).palette[t].main,"--AppBar-color":(e.vars??e).palette[t].contrastText}})),{props:t=>t.enableColorOnDark===!0&&!["inherit","transparent"].includes(t.color),style:{backgroundColor:"var(--AppBar-background)",color:"var(--AppBar-color)"}},{props:t=>t.enableColorOnDark===!1&&!["inherit","transparent"].includes(t.color),style:{backgroundColor:"var(--AppBar-background)",color:"var(--AppBar-color)",...e.applyStyles("dark",{backgroundColor:e.vars?V8(e.vars.palette.AppBar.darkBg,"var(--AppBar-background)"):null,color:e.vars?V8(e.vars.palette.AppBar.darkColor,"var(--AppBar-color)"):null})}},{props:{color:"transparent"},style:{"--AppBar-background":"transparent","--AppBar-color":"inherit",backgroundColor:"var(--AppBar-background)",color:"var(--AppBar-color)",...e.applyStyles("dark",{backgroundImage:"none"})}}]}))),tS=g.forwardRef(function(t,n){const r=nt({props:t,name:"MuiAppBar"}),{className:s,color:a="primary",enableColorOnDark:l=!1,position:u="fixed",...f}=r,p={...r,color:a,position:u,enableColorOnDark:l},h=$z(p);return v.jsx(eS,{square:!0,component:"header",ownerState:p,elevation:4,className:Oe(h.root,s,u==="fixed"&&"mui-fixed"),ref:n,...f})});function I8(e){return e.normalize("NFD").replace(/[\u0300-\u036f]/g,"")}function nS(e={}){const{ignoreAccents:t=!0,ignoreCase:n=!0,limit:r,matchFrom:s="any",stringify:a,trim:l=!1}=e;return(u,{inputValue:f,getOptionLabel:p})=>{let h=l?f.trim():f;n&&(h=h.toLowerCase()),t&&(h=I8(h));const m=h?u.filter(x=>{let w=(a||p)(x);return n&&(w=w.toLowerCase()),t&&(w=I8(w)),s==="start"?w.startsWith(h):w.includes(h)}):u;return typeof r=="number"?m.slice(0,r):m}}const rS=nS(),oS=5,sS=e=>{var t;return e.current!==null&&((t=e.current.parentElement)==null?void 0:t.contains(document.activeElement))},iS=[];function W8(e,t,n){if(t||e==null)return"";const r=n(e);return typeof r=="string"?r:""}function aS(e){const{unstable_isActiveElementInListbox:t=sS,unstable_classNamePrefix:n="Mui",autoComplete:r=!1,autoHighlight:s=!1,autoSelect:a=!1,blurOnSelect:l=!1,clearOnBlur:u=!e.freeSolo,clearOnEscape:f=!1,componentName:p="useAutocomplete",defaultValue:h=e.multiple?iS:null,disableClearable:m=!1,disableCloseOnSelect:x=!1,disabled:w,disabledItemsFocusable:A=!1,disableListWrap:P=!1,filterOptions:H=rS,filterSelectedOptions:C=!1,freeSolo:S=!1,getOptionDisabled:z,getOptionKey:O,getOptionLabel:D=fe=>fe.label??fe,groupBy:T,handleHomeEndKeys:R=!e.freeSolo,id:M,includeInputInList:L=!1,inputValue:j,isOptionEqualToValue:N=(fe,de)=>fe===de,multiple:B=!1,onChange:W,onClose:$,onHighlightChange:J,onInputChange:Q,onOpen:re,open:_,openOnFocus:q=!1,options:E,readOnly:Z=!1,selectOnFocus:X=!e.freeSolo,value:te}=e,ee=us(M);let oe=D;oe=fe=>{const de=D(fe);return typeof de!="string"?String(de):de};const ae=g.useRef(!1),ge=g.useRef(!0),le=g.useRef(null),ze=g.useRef(null),[De,Ne]=g.useState(null),[he,Ie]=g.useState(-1),be=s?0:-1,Ye=g.useRef(be),At=g.useRef(W8(h,B,oe)).current,[Ee,I]=Ai({controlled:te,default:h,name:p}),[K,se]=Ai({controlled:j,default:At,name:p,state:"inputValue"}),[xe,ue]=g.useState(!1),we=g.useCallback((fe,de,Le)=>{if(!(B?Ee.length!(C&&(B?Ee:[Ee]).some(de=>de!==null&&N(fe,de)))),{inputValue:pt&&jt?"":K,getOptionLabel:oe}):[],Ve=BH({filteredOptions:ft,value:Ee,inputValue:K});g.useEffect(()=>{const fe=Ee!==Ve.value;xe&&!fe||S&&!fe||we(null,Ee,"reset")},[Ee,we,xe,Ve.value,S]);const Tt=He&&ft.length>0&&!Z,Vt=hr(fe=>{fe===-1?le.current.focus():De.querySelector(`[data-tag-index="${fe}"]`).focus()});g.useEffect(()=>{B&&he>Ee.length-1&&(Ie(-1),Vt(-1))},[Ee,B,he,Vt]);function Ut(fe,de){if(!ze.current||fe<0||fe>=ft.length)return-1;let Le=fe;for(;;){const rt=ze.current.querySelector(`[data-option-index="${Le}"]`),wt=A?!1:!rt||rt.disabled||rt.getAttribute("aria-disabled")==="true";if(rt&&rt.hasAttribute("tabindex")&&!wt)return Le;if(de==="next"?Le=(Le+1)%ft.length:Le=(Le-1+ft.length)%ft.length,Le===fe)return-1}}const Y=hr(({event:fe,index:de,reason:Le="auto"})=>{if(Ye.current=de,de===-1?le.current.removeAttribute("aria-activedescendant"):le.current.setAttribute("aria-activedescendant",`${ee}-option-${de}`),J&&J(fe,de===-1?null:ft[de],Le),!ze.current)return;const rt=ze.current.querySelector(`[role="option"].${n}-focused`);rt&&(rt.classList.remove(`${n}-focused`),rt.classList.remove(`${n}-focusVisible`));let wt=ze.current;if(ze.current.getAttribute("role")!=="listbox"&&(wt=ze.current.parentElement.querySelector('[role="listbox"]')),!wt)return;if(de===-1){wt.scrollTop=0;return}const It=ze.current.querySelector(`[data-option-index="${de}"]`);if(It&&(It.classList.add(`${n}-focused`),Le==="keyboard"&&It.classList.add(`${n}-focusVisible`),wt.scrollHeight>wt.clientHeight&&Le!=="mouse"&&Le!=="touch")){const Kt=It,Xn=wt.clientHeight+wt.scrollTop,mr=Kt.offsetTop+Kt.offsetHeight;mr>Xn?wt.scrollTop=mr-wt.clientHeight:Kt.offsetTop-Kt.offsetHeight*(T?1.3:0){if(!gt)return;const It=Ut((()=>{const Kt=ft.length-1;if(de==="reset")return be;if(de==="start")return 0;if(de==="end")return Kt;const Xn=Ye.current+de;return Xn<0?Xn===-1&&L?-1:P&&Ye.current!==-1||Math.abs(de)>1?0:Kt:Xn>Kt?Xn===Kt+1&&L?-1:P||Math.abs(de)>1?Kt:0:Xn})(),Le);if(Y({index:It,reason:rt,event:fe}),r&&de!=="reset")if(It===-1)le.current.value=K;else{const Kt=oe(ft[It]);le.current.value=Kt,Kt.toLowerCase().indexOf(K.toLowerCase())===0&&K.length>0&&le.current.setSelectionRange(K.length,Kt.length)}}),Ae=()=>{const fe=(de,Le)=>{const rt=de?oe(de):"",wt=Le?oe(Le):"";return rt===wt};if(Ye.current!==-1&&Ve.filteredOptions&&Ve.filteredOptions.length!==ft.length&&Ve.inputValue===K&&(B?Ee.length===Ve.value.length&&Ve.value.every((de,Le)=>oe(Ee[Le])===oe(de)):fe(Ve.value,Ee))){const de=Ve.filteredOptions[Ye.current];if(de)return ft.findIndex(Le=>oe(Le)===oe(de))}return-1},Ce=g.useCallback(()=>{if(!gt)return;const fe=Ae();if(fe!==-1){Ye.current=fe;return}const de=B?Ee[0]:Ee;if(ft.length===0||de==null){F({diff:"reset"});return}if(ze.current){if(de!=null){const Le=ft[Ye.current];if(B&&Le&&Ee.findIndex(wt=>N(Le,wt))!==-1)return;const rt=ft.findIndex(wt=>N(wt,de));rt===-1?F({diff:"reset"}):Y({index:rt});return}if(Ye.current>=ft.length-1){Y({index:ft.length-1});return}Y({index:Ye.current})}},[ft.length,B?!1:Ee,C,F,Y,gt,K,B]),Me=hr(fe=>{_d(ze,fe),fe&&Ce()});g.useEffect(()=>{Ce()},[Ce]);const Be=fe=>{He||(Ue(!0),ot(!0),re&&re(fe))},Ze=(fe,de)=>{He&&(Ue(!1),$&&$(fe,de))},Te=(fe,de,Le,rt)=>{if(B){if(Ee.length===de.length&&Ee.every((wt,It)=>wt===de[It]))return}else if(Ee===de)return;W&&W(fe,de,Le,rt),I(de)},st=g.useRef(!1),ut=(fe,de,Le="selectOption",rt="options")=>{let wt=Le,It=de;if(B){It=Array.isArray(Ee)?Ee.slice():[];const Kt=It.findIndex(Xn=>N(de,Xn));Kt===-1?It.push(de):rt!=="freeSolo"&&(It.splice(Kt,1),wt="removeOption")}we(fe,It,wt),Te(fe,It,wt,{option:de}),!x&&(!fe||!fe.ctrlKey&&!fe.metaKey)&&Ze(fe,wt),(l===!0||l==="touch"&&st.current||l==="mouse"&&!st.current)&&le.current.blur()};function Lt(fe,de){if(fe===-1)return-1;let Le=fe;for(;;){if(de==="next"&&Le===Ee.length||de==="previous"&&Le===-1)return-1;const rt=De.querySelector(`[data-tag-index="${Le}"]`);if(!rt||!rt.hasAttribute("tabindex")||rt.disabled||rt.getAttribute("aria-disabled")==="true")Le+=de==="next"?1:-1;else return Le}}const Qt=(fe,de)=>{if(!B)return;K===""&&Ze(fe,"toggleInput");let Le=he;he===-1?K===""&&de==="previous"&&(Le=Ee.length-1):(Le+=de==="next"?1:-1,Le<0&&(Le=0),Le===Ee.length&&(Le=-1)),Le=Lt(Le,de),Ie(Le),Vt(Le)},Je=fe=>{ae.current=!0,se(""),Q&&Q(fe,"","clear"),Te(fe,B?[]:null,"clear")},Et=fe=>de=>{if(fe.onKeyDown&&fe.onKeyDown(de),!de.defaultMuiPrevented&&(he!==-1&&!["ArrowLeft","ArrowRight"].includes(de.key)&&(Ie(-1),Vt(-1)),de.which!==229))switch(de.key){case"Home":gt&&R&&(de.preventDefault(),F({diff:"start",direction:"next",reason:"keyboard",event:de}));break;case"End":gt&&R&&(de.preventDefault(),F({diff:"end",direction:"previous",reason:"keyboard",event:de}));break;case"PageUp":de.preventDefault(),F({diff:-5,direction:"previous",reason:"keyboard",event:de}),Be(de);break;case"PageDown":de.preventDefault(),F({diff:oS,direction:"next",reason:"keyboard",event:de}),Be(de);break;case"ArrowDown":de.preventDefault(),F({diff:1,direction:"next",reason:"keyboard",event:de}),Be(de);break;case"ArrowUp":de.preventDefault(),F({diff:-1,direction:"previous",reason:"keyboard",event:de}),Be(de);break;case"ArrowLeft":Qt(de,"previous");break;case"ArrowRight":Qt(de,"next");break;case"Enter":if(Ye.current!==-1&>){const Le=ft[Ye.current],rt=z?z(Le):!1;if(de.preventDefault(),rt)return;ut(de,Le,"selectOption"),r&&le.current.setSelectionRange(le.current.value.length,le.current.value.length)}else S&&K!==""&&pt===!1&&(B&&de.preventDefault(),ut(de,K,"createOption","freeSolo"));break;case"Escape":gt?(de.preventDefault(),de.stopPropagation(),Ze(de,"escape")):f&&(K!==""||B&&Ee.length>0)&&(de.preventDefault(),de.stopPropagation(),Je(de));break;case"Backspace":if(B&&!Z&&K===""&&Ee.length>0){const Le=he===-1?Ee.length-1:he,rt=Ee.slice();rt.splice(Le,1),Te(de,rt,"removeOption",{option:Ee[Le]})}break;case"Delete":if(B&&!Z&&K===""&&Ee.length>0&&he!==-1){const Le=he,rt=Ee.slice();rt.splice(Le,1),Te(de,rt,"removeOption",{option:Ee[Le]})}break}},vn=fe=>{ue(!0),q&&!ae.current&&Be(fe)},Pn=fe=>{if(t(ze)){le.current.focus();return}ue(!1),ge.current=!0,ae.current=!1,a&&Ye.current!==-1&>?ut(fe,ft[Ye.current],"blur"):a&&S&&K!==""?ut(fe,K,"blur","freeSolo"):u&&we(fe,Ee,"blur"),Ze(fe,"blur")},Gn=fe=>{const de=fe.target.value;K!==de&&(se(de),ot(!1),Q&&Q(fe,de,"input")),de===""?!m&&!B&&Te(fe,null,"clear"):Be(fe)},bn=fe=>{const de=Number(fe.currentTarget.getAttribute("data-option-index"));Ye.current!==de&&Y({event:fe,index:de,reason:"mouse"})},Rr=fe=>{Y({event:fe,index:Number(fe.currentTarget.getAttribute("data-option-index")),reason:"touch"}),st.current=!0},ho=fe=>{const de=Number(fe.currentTarget.getAttribute("data-option-index"));ut(fe,ft[de],"selectOption"),st.current=!1},Wo=fe=>de=>{const Le=Ee.slice();Le.splice(fe,1),Te(de,Le,"removeOption",{option:Ee[fe]})},Jo=fe=>{He?Ze(fe,"toggleInput"):Be(fe)},mo=fe=>{fe.currentTarget.contains(fe.target)&&fe.target.getAttribute("id")!==ee&&fe.preventDefault()},xn=fe=>{fe.currentTarget.contains(fe.target)&&(le.current.focus(),X&&ge.current&&le.current.selectionEnd-le.current.selectionStart===0&&le.current.select(),ge.current=!1)},hn=fe=>{!w&&(K===""||!He)&&Jo(fe)};let Re=S&&K.length>0;Re=Re||(B?Ee.length>0:Ee!==null);let Ge=ft;return T&&(Ge=ft.reduce((fe,de,Le)=>{const rt=T(de);return fe.length>0&&fe[fe.length-1].group===rt?fe[fe.length-1].options.push(de):fe.push({key:Le,index:Le,group:rt,options:[de]}),fe},[])),w&&xe&&Pn(),{getRootProps:(fe={})=>({...fe,onKeyDown:Et(fe),onMouseDown:mo,onClick:xn}),getInputLabelProps:()=>({id:`${ee}-label`,htmlFor:ee}),getInputProps:()=>({id:ee,value:K,onBlur:Pn,onFocus:vn,onChange:Gn,onMouseDown:hn,"aria-activedescendant":gt?"":null,"aria-autocomplete":r?"both":"list","aria-controls":Tt?`${ee}-listbox`:void 0,"aria-expanded":Tt,autoComplete:"off",ref:le,autoCapitalize:"none",spellCheck:"false",role:"combobox",disabled:w}),getClearProps:()=>({tabIndex:-1,type:"button",onClick:Je}),getPopupIndicatorProps:()=>({tabIndex:-1,type:"button",onClick:Jo}),getTagProps:({index:fe})=>({key:fe,"data-tag-index":fe,tabIndex:-1,...!Z&&{onDelete:Wo(fe)}}),getListboxProps:()=>({role:"listbox",id:`${ee}-listbox`,"aria-labelledby":`${ee}-label`,ref:Me,onMouseDown:fe=>{fe.preventDefault()}}),getOptionProps:({index:fe,option:de})=>{const Le=(B?Ee:[Ee]).some(wt=>wt!=null&&N(de,wt)),rt=z?z(de):!1;return{key:(O==null?void 0:O(de))??oe(de),tabIndex:-1,role:"option",id:`${ee}-option-${fe}`,onMouseMove:bn,onClick:ho,onTouchStart:Rr,"data-option-index":fe,"aria-disabled":rt,"aria-selected":Le}},id:ee,inputValue:K,value:Ee,dirty:Re,expanded:gt&&De,popupOpen:gt,focused:xe||he!==-1,anchorEl:De,setAnchorEl:Ne,focusedTag:he,groupedOptions:Ge}}var Cr="top",fo="bottom",po="right",Or="left",pg="auto",Iu=[Cr,fo,po,Or],Sl="start",mu="end",lS="clippingParents",i1="viewport",zc="popper",cS="reference",J8=Iu.reduce(function(e,t){return e.concat([t+"-"+Sl,t+"-"+mu])},[]),a1=[].concat(Iu,[pg]).reduce(function(e,t){return e.concat([t,t+"-"+Sl,t+"-"+mu])},[]),uS="beforeRead",fS="read",dS="afterRead",pS="beforeMain",vS="main",hS="afterMain",mS="beforeWrite",yS="write",gS="afterWrite",AS=[uS,fS,dS,pS,vS,hS,mS,yS,gS];function fs(e){return e?(e.nodeName||"").toLowerCase():null}function Zr(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function da(e){var t=Zr(e).Element;return e instanceof t||e instanceof Element}function uo(e){var t=Zr(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function vg(e){if(typeof ShadowRoot>"u")return!1;var t=Zr(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function PS(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var r=t.styles[n]||{},s=t.attributes[n]||{},a=t.elements[n];!uo(a)||!fs(a)||(Object.assign(a.style,r),Object.keys(s).forEach(function(l){var u=s[l];u===!1?a.removeAttribute(l):a.setAttribute(l,u===!0?"":u)}))})}function bS(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(r){var s=t.elements[r],a=t.attributes[r]||{},l=Object.keys(t.styles.hasOwnProperty(r)?t.styles[r]:n[r]),u=l.reduce(function(f,p){return f[p]="",f},{});!uo(s)||!fs(s)||(Object.assign(s.style,u),Object.keys(a).forEach(function(f){s.removeAttribute(f)}))})}}const xS={name:"applyStyles",enabled:!0,phase:"write",fn:PS,effect:bS,requires:["computeStyles"]};function ls(e){return e.split("-")[0]}var ia=Math.max,rp=Math.min,Cl=Math.round;function Km(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function l1(){return!/^((?!chrome|android).)*safari/i.test(Km())}function Ol(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var r=e.getBoundingClientRect(),s=1,a=1;t&&uo(e)&&(s=e.offsetWidth>0&&Cl(r.width)/e.offsetWidth||1,a=e.offsetHeight>0&&Cl(r.height)/e.offsetHeight||1);var l=da(e)?Zr(e):window,u=l.visualViewport,f=!l1()&&n,p=(r.left+(f&&u?u.offsetLeft:0))/s,h=(r.top+(f&&u?u.offsetTop:0))/a,m=r.width/s,x=r.height/a;return{width:m,height:x,top:h,right:p+m,bottom:h+x,left:p,x:p,y:h}}function hg(e){var t=Ol(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function c1(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&vg(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function Ms(e){return Zr(e).getComputedStyle(e)}function wS(e){return["table","td","th"].indexOf(fs(e))>=0}function Hi(e){return((da(e)?e.ownerDocument:e.document)||window.document).documentElement}function Rp(e){return fs(e)==="html"?e:e.assignedSlot||e.parentNode||(vg(e)?e.host:null)||Hi(e)}function F8(e){return!uo(e)||Ms(e).position==="fixed"?null:e.offsetParent}function HS(e){var t=/firefox/i.test(Km()),n=/Trident/i.test(Km());if(n&&uo(e)){var r=Ms(e);if(r.position==="fixed")return null}var s=Rp(e);for(vg(s)&&(s=s.host);uo(s)&&["html","body"].indexOf(fs(s))<0;){var a=Ms(s);if(a.transform!=="none"||a.perspective!=="none"||a.contain==="paint"||["transform","perspective"].indexOf(a.willChange)!==-1||t&&a.willChange==="filter"||t&&a.filter&&a.filter!=="none")return s;s=s.parentNode}return null}function Wu(e){for(var t=Zr(e),n=F8(e);n&&wS(n)&&Ms(n).position==="static";)n=F8(n);return n&&(fs(n)==="html"||fs(n)==="body"&&Ms(n).position==="static")?t:n||HS(e)||t}function mg(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function ru(e,t,n){return ia(e,rp(t,n))}function jS(e,t,n){var r=ru(e,t,n);return r>n?n:r}function u1(){return{top:0,right:0,bottom:0,left:0}}function f1(e){return Object.assign({},u1(),e)}function d1(e,t){return t.reduce(function(n,r){return n[r]=e,n},{})}var zS=function(t,n){return t=typeof t=="function"?t(Object.assign({},n.rects,{placement:n.placement})):t,f1(typeof t!="number"?t:d1(t,Iu))};function SS(e){var t,n=e.state,r=e.name,s=e.options,a=n.elements.arrow,l=n.modifiersData.popperOffsets,u=ls(n.placement),f=mg(u),p=[Or,po].indexOf(u)>=0,h=p?"height":"width";if(!(!a||!l)){var m=zS(s.padding,n),x=hg(a),w=f==="y"?Cr:Or,A=f==="y"?fo:po,P=n.rects.reference[h]+n.rects.reference[f]-l[f]-n.rects.popper[h],H=l[f]-n.rects.reference[f],C=Wu(a),S=C?f==="y"?C.clientHeight||0:C.clientWidth||0:0,z=P/2-H/2,O=m[w],D=S-x[h]-m[A],T=S/2-x[h]/2+z,R=ru(O,T,D),M=f;n.modifiersData[r]=(t={},t[M]=R,t.centerOffset=R-T,t)}}function CS(e){var t=e.state,n=e.options,r=n.element,s=r===void 0?"[data-popper-arrow]":r;s!=null&&(typeof s=="string"&&(s=t.elements.popper.querySelector(s),!s)||c1(t.elements.popper,s)&&(t.elements.arrow=s))}const OS={name:"arrow",enabled:!0,phase:"main",fn:SS,effect:CS,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Dl(e){return e.split("-")[1]}var DS={top:"auto",right:"auto",bottom:"auto",left:"auto"};function kS(e,t){var n=e.x,r=e.y,s=t.devicePixelRatio||1;return{x:Cl(n*s)/s||0,y:Cl(r*s)/s||0}}function Y8(e){var t,n=e.popper,r=e.popperRect,s=e.placement,a=e.variation,l=e.offsets,u=e.position,f=e.gpuAcceleration,p=e.adaptive,h=e.roundOffsets,m=e.isFixed,x=l.x,w=x===void 0?0:x,A=l.y,P=A===void 0?0:A,H=typeof h=="function"?h({x:w,y:P}):{x:w,y:P};w=H.x,P=H.y;var C=l.hasOwnProperty("x"),S=l.hasOwnProperty("y"),z=Or,O=Cr,D=window;if(p){var T=Wu(n),R="clientHeight",M="clientWidth";if(T===Zr(n)&&(T=Hi(n),Ms(T).position!=="static"&&u==="absolute"&&(R="scrollHeight",M="scrollWidth")),T=T,s===Cr||(s===Or||s===po)&&a===mu){O=fo;var L=m&&T===D&&D.visualViewport?D.visualViewport.height:T[R];P-=L-r.height,P*=f?1:-1}if(s===Or||(s===Cr||s===fo)&&a===mu){z=po;var j=m&&T===D&&D.visualViewport?D.visualViewport.width:T[M];w-=j-r.width,w*=f?1:-1}}var N=Object.assign({position:u},p&&DS),B=h===!0?kS({x:w,y:P},Zr(n)):{x:w,y:P};if(w=B.x,P=B.y,f){var W;return Object.assign({},N,(W={},W[O]=S?"0":"",W[z]=C?"0":"",W.transform=(D.devicePixelRatio||1)<=1?"translate("+w+"px, "+P+"px)":"translate3d("+w+"px, "+P+"px, 0)",W))}return Object.assign({},N,(t={},t[O]=S?P+"px":"",t[z]=C?w+"px":"",t.transform="",t))}function TS(e){var t=e.state,n=e.options,r=n.gpuAcceleration,s=r===void 0?!0:r,a=n.adaptive,l=a===void 0?!0:a,u=n.roundOffsets,f=u===void 0?!0:u,p={placement:ls(t.placement),variation:Dl(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:s,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,Y8(Object.assign({},p,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:l,roundOffsets:f})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,Y8(Object.assign({},p,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:f})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const ES={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:TS,data:{}};var pd={passive:!0};function RS(e){var t=e.state,n=e.instance,r=e.options,s=r.scroll,a=s===void 0?!0:s,l=r.resize,u=l===void 0?!0:l,f=Zr(t.elements.popper),p=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&p.forEach(function(h){h.addEventListener("scroll",n.update,pd)}),u&&f.addEventListener("resize",n.update,pd),function(){a&&p.forEach(function(h){h.removeEventListener("scroll",n.update,pd)}),u&&f.removeEventListener("resize",n.update,pd)}}const MS={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:RS,data:{}};var LS={left:"right",right:"left",bottom:"top",top:"bottom"};function Rd(e){return e.replace(/left|right|bottom|top/g,function(t){return LS[t]})}var XS={start:"end",end:"start"};function q8(e){return e.replace(/start|end/g,function(t){return XS[t]})}function yg(e){var t=Zr(e),n=t.pageXOffset,r=t.pageYOffset;return{scrollLeft:n,scrollTop:r}}function gg(e){return Ol(Hi(e)).left+yg(e).scrollLeft}function NS(e,t){var n=Zr(e),r=Hi(e),s=n.visualViewport,a=r.clientWidth,l=r.clientHeight,u=0,f=0;if(s){a=s.width,l=s.height;var p=l1();(p||!p&&t==="fixed")&&(u=s.offsetLeft,f=s.offsetTop)}return{width:a,height:l,x:u+gg(e),y:f}}function BS(e){var t,n=Hi(e),r=yg(e),s=(t=e.ownerDocument)==null?void 0:t.body,a=ia(n.scrollWidth,n.clientWidth,s?s.scrollWidth:0,s?s.clientWidth:0),l=ia(n.scrollHeight,n.clientHeight,s?s.scrollHeight:0,s?s.clientHeight:0),u=-r.scrollLeft+gg(e),f=-r.scrollTop;return Ms(s||n).direction==="rtl"&&(u+=ia(n.clientWidth,s?s.clientWidth:0)-a),{width:a,height:l,x:u,y:f}}function Ag(e){var t=Ms(e),n=t.overflow,r=t.overflowX,s=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+s+r)}function p1(e){return["html","body","#document"].indexOf(fs(e))>=0?e.ownerDocument.body:uo(e)&&Ag(e)?e:p1(Rp(e))}function ou(e,t){var n;t===void 0&&(t=[]);var r=p1(e),s=r===((n=e.ownerDocument)==null?void 0:n.body),a=Zr(r),l=s?[a].concat(a.visualViewport||[],Ag(r)?r:[]):r,u=t.concat(l);return s?u:u.concat(ou(Rp(l)))}function _m(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function VS(e,t){var n=Ol(e,!1,t==="fixed");return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}function Z8(e,t,n){return t===i1?_m(NS(e,n)):da(t)?VS(t,n):_m(BS(Hi(e)))}function IS(e){var t=ou(Rp(e)),n=["absolute","fixed"].indexOf(Ms(e).position)>=0,r=n&&uo(e)?Wu(e):e;return da(r)?t.filter(function(s){return da(s)&&c1(s,r)&&fs(s)!=="body"}):[]}function WS(e,t,n,r){var s=t==="clippingParents"?IS(e):[].concat(t),a=[].concat(s,[n]),l=a[0],u=a.reduce(function(f,p){var h=Z8(e,p,r);return f.top=ia(h.top,f.top),f.right=rp(h.right,f.right),f.bottom=rp(h.bottom,f.bottom),f.left=ia(h.left,f.left),f},Z8(e,l,r));return u.width=u.right-u.left,u.height=u.bottom-u.top,u.x=u.left,u.y=u.top,u}function v1(e){var t=e.reference,n=e.element,r=e.placement,s=r?ls(r):null,a=r?Dl(r):null,l=t.x+t.width/2-n.width/2,u=t.y+t.height/2-n.height/2,f;switch(s){case Cr:f={x:l,y:t.y-n.height};break;case fo:f={x:l,y:t.y+t.height};break;case po:f={x:t.x+t.width,y:u};break;case Or:f={x:t.x-n.width,y:u};break;default:f={x:t.x,y:t.y}}var p=s?mg(s):null;if(p!=null){var h=p==="y"?"height":"width";switch(a){case Sl:f[p]=f[p]-(t[h]/2-n[h]/2);break;case mu:f[p]=f[p]+(t[h]/2-n[h]/2);break}}return f}function yu(e,t){t===void 0&&(t={});var n=t,r=n.placement,s=r===void 0?e.placement:r,a=n.strategy,l=a===void 0?e.strategy:a,u=n.boundary,f=u===void 0?lS:u,p=n.rootBoundary,h=p===void 0?i1:p,m=n.elementContext,x=m===void 0?zc:m,w=n.altBoundary,A=w===void 0?!1:w,P=n.padding,H=P===void 0?0:P,C=f1(typeof H!="number"?H:d1(H,Iu)),S=x===zc?cS:zc,z=e.rects.popper,O=e.elements[A?S:x],D=WS(da(O)?O:O.contextElement||Hi(e.elements.popper),f,h,l),T=Ol(e.elements.reference),R=v1({reference:T,element:z,placement:s}),M=_m(Object.assign({},z,R)),L=x===zc?M:T,j={top:D.top-L.top+C.top,bottom:L.bottom-D.bottom+C.bottom,left:D.left-L.left+C.left,right:L.right-D.right+C.right},N=e.modifiersData.offset;if(x===zc&&N){var B=N[s];Object.keys(j).forEach(function(W){var $=[po,fo].indexOf(W)>=0?1:-1,J=[Cr,fo].indexOf(W)>=0?"y":"x";j[W]+=B[J]*$})}return j}function JS(e,t){t===void 0&&(t={});var n=t,r=n.placement,s=n.boundary,a=n.rootBoundary,l=n.padding,u=n.flipVariations,f=n.allowedAutoPlacements,p=f===void 0?a1:f,h=Dl(r),m=h?u?J8:J8.filter(function(A){return Dl(A)===h}):Iu,x=m.filter(function(A){return p.indexOf(A)>=0});x.length===0&&(x=m);var w=x.reduce(function(A,P){return A[P]=yu(e,{placement:P,boundary:s,rootBoundary:a,padding:l})[ls(P)],A},{});return Object.keys(w).sort(function(A,P){return w[A]-w[P]})}function FS(e){if(ls(e)===pg)return[];var t=Rd(e);return[q8(e),t,q8(t)]}function YS(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var s=n.mainAxis,a=s===void 0?!0:s,l=n.altAxis,u=l===void 0?!0:l,f=n.fallbackPlacements,p=n.padding,h=n.boundary,m=n.rootBoundary,x=n.altBoundary,w=n.flipVariations,A=w===void 0?!0:w,P=n.allowedAutoPlacements,H=t.options.placement,C=ls(H),S=C===H,z=f||(S||!A?[Rd(H)]:FS(H)),O=[H].concat(z).reduce(function(ee,oe){return ee.concat(ls(oe)===pg?JS(t,{placement:oe,boundary:h,rootBoundary:m,padding:p,flipVariations:A,allowedAutoPlacements:P}):oe)},[]),D=t.rects.reference,T=t.rects.popper,R=new Map,M=!0,L=O[0],j=0;j=0,J=$?"width":"height",Q=yu(t,{placement:N,boundary:h,rootBoundary:m,altBoundary:x,padding:p}),re=$?W?po:Or:W?fo:Cr;D[J]>T[J]&&(re=Rd(re));var _=Rd(re),q=[];if(a&&q.push(Q[B]<=0),u&&q.push(Q[re]<=0,Q[_]<=0),q.every(function(ee){return ee})){L=N,M=!1;break}R.set(N,q)}if(M)for(var E=A?3:1,Z=function(oe){var ae=O.find(function(ge){var le=R.get(ge);if(le)return le.slice(0,oe).every(function(ze){return ze})});if(ae)return L=ae,"break"},X=E;X>0;X--){var te=Z(X);if(te==="break")break}t.placement!==L&&(t.modifiersData[r]._skip=!0,t.placement=L,t.reset=!0)}}const qS={name:"flip",enabled:!0,phase:"main",fn:YS,requiresIfExists:["offset"],data:{_skip:!1}};function G8(e,t,n){return n===void 0&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function U8(e){return[Cr,po,fo,Or].some(function(t){return e[t]>=0})}function ZS(e){var t=e.state,n=e.name,r=t.rects.reference,s=t.rects.popper,a=t.modifiersData.preventOverflow,l=yu(t,{elementContext:"reference"}),u=yu(t,{altBoundary:!0}),f=G8(l,r),p=G8(u,s,a),h=U8(f),m=U8(p);t.modifiersData[n]={referenceClippingOffsets:f,popperEscapeOffsets:p,isReferenceHidden:h,hasPopperEscaped:m},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":h,"data-popper-escaped":m})}const GS={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:ZS};function US(e,t,n){var r=ls(e),s=[Or,Cr].indexOf(r)>=0?-1:1,a=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,l=a[0],u=a[1];return l=l||0,u=(u||0)*s,[Or,po].indexOf(r)>=0?{x:u,y:l}:{x:l,y:u}}function QS(e){var t=e.state,n=e.options,r=e.name,s=n.offset,a=s===void 0?[0,0]:s,l=a1.reduce(function(h,m){return h[m]=US(m,t.rects,a),h},{}),u=l[t.placement],f=u.x,p=u.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=f,t.modifiersData.popperOffsets.y+=p),t.modifiersData[r]=l}const KS={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:QS};function _S(e){var t=e.state,n=e.name;t.modifiersData[n]=v1({reference:t.rects.reference,element:t.rects.popper,placement:t.placement})}const $S={name:"popperOffsets",enabled:!0,phase:"read",fn:_S,data:{}};function eC(e){return e==="x"?"y":"x"}function tC(e){var t=e.state,n=e.options,r=e.name,s=n.mainAxis,a=s===void 0?!0:s,l=n.altAxis,u=l===void 0?!1:l,f=n.boundary,p=n.rootBoundary,h=n.altBoundary,m=n.padding,x=n.tether,w=x===void 0?!0:x,A=n.tetherOffset,P=A===void 0?0:A,H=yu(t,{boundary:f,rootBoundary:p,padding:m,altBoundary:h}),C=ls(t.placement),S=Dl(t.placement),z=!S,O=mg(C),D=eC(O),T=t.modifiersData.popperOffsets,R=t.rects.reference,M=t.rects.popper,L=typeof P=="function"?P(Object.assign({},t.rects,{placement:t.placement})):P,j=typeof L=="number"?{mainAxis:L,altAxis:L}:Object.assign({mainAxis:0,altAxis:0},L),N=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,B={x:0,y:0};if(T){if(a){var W,$=O==="y"?Cr:Or,J=O==="y"?fo:po,Q=O==="y"?"height":"width",re=T[O],_=re+H[$],q=re-H[J],E=w?-M[Q]/2:0,Z=S===Sl?R[Q]:M[Q],X=S===Sl?-M[Q]:-R[Q],te=t.elements.arrow,ee=w&&te?hg(te):{width:0,height:0},oe=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:u1(),ae=oe[$],ge=oe[J],le=ru(0,R[Q],ee[Q]),ze=z?R[Q]/2-E-le-ae-j.mainAxis:Z-le-ae-j.mainAxis,De=z?-R[Q]/2+E+le+ge+j.mainAxis:X+le+ge+j.mainAxis,Ne=t.elements.arrow&&Wu(t.elements.arrow),he=Ne?O==="y"?Ne.clientTop||0:Ne.clientLeft||0:0,Ie=(W=N==null?void 0:N[O])!=null?W:0,be=re+ze-Ie-he,Ye=re+De-Ie,At=ru(w?rp(_,be):_,re,w?ia(q,Ye):q);T[O]=At,B[O]=At-re}if(u){var Ee,I=O==="x"?Cr:Or,K=O==="x"?fo:po,se=T[D],xe=D==="y"?"height":"width",ue=se+H[I],we=se-H[K],He=[Cr,Or].indexOf(C)!==-1,Ue=(Ee=N==null?void 0:N[D])!=null?Ee:0,jt=He?ue:se-R[xe]-M[xe]-Ue+j.altAxis,ot=He?se+R[xe]+M[xe]-Ue-j.altAxis:we,pt=w&&He?jS(jt,se,ot):ru(w?jt:ue,se,w?ot:we);T[D]=pt,B[D]=pt-se}t.modifiersData[r]=B}}const nC={name:"preventOverflow",enabled:!0,phase:"main",fn:tC,requiresIfExists:["offset"]};function rC(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function oC(e){return e===Zr(e)||!uo(e)?yg(e):rC(e)}function sC(e){var t=e.getBoundingClientRect(),n=Cl(t.width)/e.offsetWidth||1,r=Cl(t.height)/e.offsetHeight||1;return n!==1||r!==1}function iC(e,t,n){n===void 0&&(n=!1);var r=uo(t),s=uo(t)&&sC(t),a=Hi(t),l=Ol(e,s,n),u={scrollLeft:0,scrollTop:0},f={x:0,y:0};return(r||!r&&!n)&&((fs(t)!=="body"||Ag(a))&&(u=oC(t)),uo(t)?(f=Ol(t,!0),f.x+=t.clientLeft,f.y+=t.clientTop):a&&(f.x=gg(a))),{x:l.left+u.scrollLeft-f.x,y:l.top+u.scrollTop-f.y,width:l.width,height:l.height}}function aC(e){var t=new Map,n=new Set,r=[];e.forEach(function(a){t.set(a.name,a)});function s(a){n.add(a.name);var l=[].concat(a.requires||[],a.requiresIfExists||[]);l.forEach(function(u){if(!n.has(u)){var f=t.get(u);f&&s(f)}}),r.push(a)}return e.forEach(function(a){n.has(a.name)||s(a)}),r}function lC(e){var t=aC(e);return AS.reduce(function(n,r){return n.concat(t.filter(function(s){return s.phase===r}))},[])}function cC(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function uC(e){var t=e.reduce(function(n,r){var s=n[r.name];return n[r.name]=s?Object.assign({},s,r,{options:Object.assign({},s.options,r.options),data:Object.assign({},s.data,r.data)}):r,n},{});return Object.keys(t).map(function(n){return t[n]})}var Q8={placement:"bottom",modifiers:[],strategy:"absolute"};function K8(){for(var e=arguments.length,t=new Array(e),n=0;n{a||u(vC(s)||document.body)},[s,a]),Yr(()=>{if(l&&!a)return _d(n,l),()=>{_d(n,null)}},[n,l,a]),a){if(g.isValidElement(r)){const p={ref:f};return g.cloneElement(r,p)}return r}return l&&o1.createPortal(r,l)});function hC(e){return Qe("MuiPopper",e)}Ke("MuiPopper",["root"]);function mC(e,t){if(t==="ltr")return e;switch(e){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return e}}function $m(e){return typeof e=="function"?e():e}function yC(e){return e.nodeType!==void 0}const gC=e=>{const{classes:t}=e;return _e({root:["root"]},hC,t)},AC={},PC=g.forwardRef(function(t,n){const{anchorEl:r,children:s,direction:a,disablePortal:l,modifiers:u,open:f,placement:p,popperOptions:h,popperRef:m,slotProps:x={},slots:w={},TransitionProps:A,ownerState:P,...H}=t,C=g.useRef(null),S=pn(C,n),z=g.useRef(null),O=pn(z,m),D=g.useRef(O);Yr(()=>{D.current=O},[O]),g.useImperativeHandle(m,()=>z.current,[]);const T=mC(p,a),[R,M]=g.useState(T),[L,j]=g.useState($m(r));g.useEffect(()=>{z.current&&z.current.forceUpdate()}),g.useEffect(()=>{r&&j($m(r))},[r]),Yr(()=>{if(!L||!f)return;const J=_=>{M(_.placement)};let Q=[{name:"preventOverflow",options:{altBoundary:l}},{name:"flip",options:{altBoundary:l}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:_})=>{J(_)}}];u!=null&&(Q=Q.concat(u)),h&&h.modifiers!=null&&(Q=Q.concat(h.modifiers));const re=pC(L,C.current,{placement:T,...h,modifiers:Q});return D.current(re),()=>{re.destroy(),D.current(null)}},[L,l,u,f,h,T]);const N={placement:R};A!==null&&(N.TransitionProps=A);const B=gC(t),W=w.root??"div",$=W0({elementType:W,externalSlotProps:x.root,externalForwardedProps:H,additionalProps:{role:"tooltip",ref:S},ownerState:t,className:B.root});return v.jsx(W,{...$,children:typeof s=="function"?s(N):s})}),bC=g.forwardRef(function(t,n){const{anchorEl:r,children:s,container:a,direction:l="ltr",disablePortal:u=!1,keepMounted:f=!1,modifiers:p,open:h,placement:m="bottom",popperOptions:x=AC,popperRef:w,style:A,transition:P=!1,slotProps:H={},slots:C={},...S}=t,[z,O]=g.useState(!0),D=()=>{O(!1)},T=()=>{O(!0)};if(!f&&!h&&(!P||z))return null;let R;if(a)R=a;else if(r){const j=$m(r);R=j&&yC(j)?ir(j).body:ir(null).body}const M=!h&&f&&(!P||z)?"none":void 0,L=P?{in:h,onEnter:D,onExited:T}:void 0;return v.jsx(h1,{disablePortal:u,container:R,children:v.jsx(PC,{anchorEl:r,direction:l,disablePortal:u,modifiers:p,ref:n,open:P?!z:h,placement:m,popperOptions:x,popperRef:w,slotProps:H,slots:C,...S,style:{position:"fixed",top:0,left:0,display:M,...A},TransitionProps:L,children:s})})}),xC=ve(bC,{name:"MuiPopper",slot:"Root",overridesResolver:(e,t)=>t.root})({}),Mp=g.forwardRef(function(t,n){const r=Nu(),s=nt({props:t,name:"MuiPopper"}),{anchorEl:a,component:l,components:u,componentsProps:f,container:p,disablePortal:h,keepMounted:m,modifiers:x,open:w,placement:A,popperOptions:P,popperRef:H,transition:C,slots:S,slotProps:z,...O}=s,D=(S==null?void 0:S.root)??(u==null?void 0:u.Root),T={anchorEl:a,container:p,disablePortal:h,keepMounted:m,modifiers:x,open:w,placement:A,popperOptions:P,popperRef:H,transition:C,...O};return v.jsx(xC,{as:l,direction:r?"rtl":"ltr",slots:{root:D},slotProps:z??f,...T,ref:n})});function wC(e){return Qe("MuiListSubheader",e)}Ke("MuiListSubheader",["root","colorPrimary","colorInherit","gutters","inset","sticky"]);const HC=e=>{const{classes:t,color:n,disableGutters:r,inset:s,disableSticky:a}=e,l={root:["root",n!=="default"&&`color${ye(n)}`,!r&&"gutters",s&&"inset",!a&&"sticky"]};return _e(l,wC,t)},jC=ve("li",{name:"MuiListSubheader",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color!=="default"&&t[`color${ye(n.color)}`],!n.disableGutters&&t.gutters,n.inset&&t.inset,!n.disableSticky&&t.sticky]}})(tt(({theme:e})=>({boxSizing:"border-box",lineHeight:"48px",listStyle:"none",color:(e.vars||e).palette.text.secondary,fontFamily:e.typography.fontFamily,fontWeight:e.typography.fontWeightMedium,fontSize:e.typography.pxToRem(14),variants:[{props:{color:"primary"},style:{color:(e.vars||e).palette.primary.main}},{props:{color:"inherit"},style:{color:"inherit"}},{props:({ownerState:t})=>!t.disableGutters,style:{paddingLeft:16,paddingRight:16}},{props:({ownerState:t})=>t.inset,style:{paddingLeft:72}},{props:({ownerState:t})=>!t.disableSticky,style:{position:"sticky",top:0,zIndex:1,backgroundColor:(e.vars||e).palette.background.paper}}]}))),ey=g.forwardRef(function(t,n){const r=nt({props:t,name:"MuiListSubheader"}),{className:s,color:a="default",component:l="li",disableGutters:u=!1,disableSticky:f=!1,inset:p=!1,...h}=r,m={...r,color:a,component:l,disableGutters:u,disableSticky:f,inset:p},x=HC(m);return v.jsx(jC,{as:l,className:Oe(x.root,s),ref:n,ownerState:m,...h})});ey&&(ey.muiSkipListHighlight=!0);const zC=Pt(v.jsx("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"}),"Cancel");function SC(e){return Qe("MuiChip",e)}const Mt=Ke("MuiChip",["root","sizeSmall","sizeMedium","colorDefault","colorError","colorInfo","colorPrimary","colorSecondary","colorSuccess","colorWarning","disabled","clickable","clickableColorPrimary","clickableColorSecondary","deletable","deletableColorPrimary","deletableColorSecondary","outlined","filled","outlinedPrimary","outlinedSecondary","filledPrimary","filledSecondary","avatar","avatarSmall","avatarMedium","avatarColorPrimary","avatarColorSecondary","icon","iconSmall","iconMedium","iconColorPrimary","iconColorSecondary","label","labelSmall","labelMedium","deleteIcon","deleteIconSmall","deleteIconMedium","deleteIconColorPrimary","deleteIconColorSecondary","deleteIconOutlinedColorPrimary","deleteIconOutlinedColorSecondary","deleteIconFilledColorPrimary","deleteIconFilledColorSecondary","focusVisible"]),CC=e=>{const{classes:t,disabled:n,size:r,color:s,iconColor:a,onDelete:l,clickable:u,variant:f}=e,p={root:["root",f,n&&"disabled",`size${ye(r)}`,`color${ye(s)}`,u&&"clickable",u&&`clickableColor${ye(s)}`,l&&"deletable",l&&`deletableColor${ye(s)}`,`${f}${ye(s)}`],label:["label",`label${ye(r)}`],avatar:["avatar",`avatar${ye(r)}`,`avatarColor${ye(s)}`],icon:["icon",`icon${ye(r)}`,`iconColor${ye(a)}`],deleteIcon:["deleteIcon",`deleteIcon${ye(r)}`,`deleteIconColor${ye(s)}`,`deleteIcon${ye(f)}Color${ye(s)}`]};return _e(p,SC,t)},OC=ve("div",{name:"MuiChip",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e,{color:r,iconColor:s,clickable:a,onDelete:l,size:u,variant:f}=n;return[{[`& .${Mt.avatar}`]:t.avatar},{[`& .${Mt.avatar}`]:t[`avatar${ye(u)}`]},{[`& .${Mt.avatar}`]:t[`avatarColor${ye(r)}`]},{[`& .${Mt.icon}`]:t.icon},{[`& .${Mt.icon}`]:t[`icon${ye(u)}`]},{[`& .${Mt.icon}`]:t[`iconColor${ye(s)}`]},{[`& .${Mt.deleteIcon}`]:t.deleteIcon},{[`& .${Mt.deleteIcon}`]:t[`deleteIcon${ye(u)}`]},{[`& .${Mt.deleteIcon}`]:t[`deleteIconColor${ye(r)}`]},{[`& .${Mt.deleteIcon}`]:t[`deleteIcon${ye(f)}Color${ye(r)}`]},t.root,t[`size${ye(u)}`],t[`color${ye(r)}`],a&&t.clickable,a&&r!=="default"&&t[`clickableColor${ye(r)})`],l&&t.deletable,l&&r!=="default"&&t[`deletableColor${ye(r)}`],t[f],t[`${f}${ye(r)}`]]}})(tt(({theme:e})=>{const t=e.palette.mode==="light"?e.palette.grey[700]:e.palette.grey[300];return{maxWidth:"100%",fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(13),display:"inline-flex",alignItems:"center",justifyContent:"center",height:32,color:(e.vars||e).palette.text.primary,backgroundColor:(e.vars||e).palette.action.selected,borderRadius:32/2,whiteSpace:"nowrap",transition:e.transitions.create(["background-color","box-shadow"]),cursor:"unset",outline:0,textDecoration:"none",border:0,padding:0,verticalAlign:"middle",boxSizing:"border-box",[`&.${Mt.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity,pointerEvents:"none"},[`& .${Mt.avatar}`]:{marginLeft:5,marginRight:-6,width:24,height:24,color:e.vars?e.vars.palette.Chip.defaultAvatarColor:t,fontSize:e.typography.pxToRem(12)},[`& .${Mt.avatarColorPrimary}`]:{color:(e.vars||e).palette.primary.contrastText,backgroundColor:(e.vars||e).palette.primary.dark},[`& .${Mt.avatarColorSecondary}`]:{color:(e.vars||e).palette.secondary.contrastText,backgroundColor:(e.vars||e).palette.secondary.dark},[`& .${Mt.avatarSmall}`]:{marginLeft:4,marginRight:-4,width:18,height:18,fontSize:e.typography.pxToRem(10)},[`& .${Mt.icon}`]:{marginLeft:5,marginRight:-6},[`& .${Mt.deleteIcon}`]:{WebkitTapHighlightColor:"transparent",color:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / 0.26)`:bt(e.palette.text.primary,.26),fontSize:22,cursor:"pointer",margin:"0 5px 0 -6px","&:hover":{color:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / 0.4)`:bt(e.palette.text.primary,.4)}},variants:[{props:{size:"small"},style:{height:24,[`& .${Mt.icon}`]:{fontSize:18,marginLeft:4,marginRight:-4},[`& .${Mt.deleteIcon}`]:{fontSize:16,marginRight:4,marginLeft:-4}}},...Object.entries(e.palette).filter(gn(["contrastText"])).map(([n])=>({props:{color:n},style:{backgroundColor:(e.vars||e).palette[n].main,color:(e.vars||e).palette[n].contrastText,[`& .${Mt.deleteIcon}`]:{color:e.vars?`rgba(${e.vars.palette[n].contrastTextChannel} / 0.7)`:bt(e.palette[n].contrastText,.7),"&:hover, &:active":{color:(e.vars||e).palette[n].contrastText}}}})),{props:n=>n.iconColor===n.color,style:{[`& .${Mt.icon}`]:{color:e.vars?e.vars.palette.Chip.defaultIconColor:t}}},{props:n=>n.iconColor===n.color&&n.color!=="default",style:{[`& .${Mt.icon}`]:{color:"inherit"}}},{props:{onDelete:!0},style:{[`&.${Mt.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:bt(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}}},...Object.entries(e.palette).filter(gn(["dark"])).map(([n])=>({props:{color:n,onDelete:!0},style:{[`&.${Mt.focusVisible}`]:{background:(e.vars||e).palette[n].dark}}})),{props:{clickable:!0},style:{userSelect:"none",WebkitTapHighlightColor:"transparent",cursor:"pointer","&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:bt(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity)},[`&.${Mt.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:bt(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)},"&:active":{boxShadow:(e.vars||e).shadows[1]}}},...Object.entries(e.palette).filter(gn(["dark"])).map(([n])=>({props:{color:n,clickable:!0},style:{[`&:hover, &.${Mt.focusVisible}`]:{backgroundColor:(e.vars||e).palette[n].dark}}})),{props:{variant:"outlined"},style:{backgroundColor:"transparent",border:e.vars?`1px solid ${e.vars.palette.Chip.defaultBorder}`:`1px solid ${e.palette.mode==="light"?e.palette.grey[400]:e.palette.grey[700]}`,[`&.${Mt.clickable}:hover`]:{backgroundColor:(e.vars||e).palette.action.hover},[`&.${Mt.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`& .${Mt.avatar}`]:{marginLeft:4},[`& .${Mt.avatarSmall}`]:{marginLeft:2},[`& .${Mt.icon}`]:{marginLeft:4},[`& .${Mt.iconSmall}`]:{marginLeft:2},[`& .${Mt.deleteIcon}`]:{marginRight:5},[`& .${Mt.deleteIconSmall}`]:{marginRight:3}}},...Object.entries(e.palette).filter(gn()).map(([n])=>({props:{variant:"outlined",color:n},style:{color:(e.vars||e).palette[n].main,border:`1px solid ${e.vars?`rgba(${e.vars.palette[n].mainChannel} / 0.7)`:bt(e.palette[n].main,.7)}`,[`&.${Mt.clickable}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette[n].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:bt(e.palette[n].main,e.palette.action.hoverOpacity)},[`&.${Mt.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette[n].mainChannel} / ${e.vars.palette.action.focusOpacity})`:bt(e.palette[n].main,e.palette.action.focusOpacity)},[`& .${Mt.deleteIcon}`]:{color:e.vars?`rgba(${e.vars.palette[n].mainChannel} / 0.7)`:bt(e.palette[n].main,.7),"&:hover, &:active":{color:(e.vars||e).palette[n].main}}}}))]}})),DC=ve("span",{name:"MuiChip",slot:"Label",overridesResolver:(e,t)=>{const{ownerState:n}=e,{size:r}=n;return[t.label,t[`label${ye(r)}`]]}})({overflow:"hidden",textOverflow:"ellipsis",paddingLeft:12,paddingRight:12,whiteSpace:"nowrap",variants:[{props:{variant:"outlined"},style:{paddingLeft:11,paddingRight:11}},{props:{size:"small"},style:{paddingLeft:8,paddingRight:8}},{props:{size:"small",variant:"outlined"},style:{paddingLeft:7,paddingRight:7}}]});function _8(e){return e.key==="Backspace"||e.key==="Delete"}const Ju=g.forwardRef(function(t,n){const r=nt({props:t,name:"MuiChip"}),{avatar:s,className:a,clickable:l,color:u="default",component:f,deleteIcon:p,disabled:h=!1,icon:m,label:x,onClick:w,onDelete:A,onKeyDown:P,onKeyUp:H,size:C="medium",variant:S="filled",tabIndex:z,skipFocusWhenDisabled:O=!1,...D}=r,T=g.useRef(null),R=pn(T,n),M=q=>{q.stopPropagation(),A&&A(q)},L=q=>{q.currentTarget===q.target&&_8(q)&&q.preventDefault(),P&&P(q)},j=q=>{q.currentTarget===q.target&&A&&_8(q)&&A(q),H&&H(q)},N=l!==!1&&w?!0:l,B=N||A?fa:f||"div",W={...r,component:B,disabled:h,size:C,color:u,iconColor:g.isValidElement(m)&&m.props.color||u,onDelete:!!A,clickable:N,variant:S},$=CC(W),J=B===fa?{component:f||"div",focusVisibleClassName:$.focusVisible,...A&&{disableRipple:!0}}:{};let Q=null;A&&(Q=p&&g.isValidElement(p)?g.cloneElement(p,{className:Oe(p.props.className,$.deleteIcon),onClick:M}):v.jsx(zC,{className:Oe($.deleteIcon),onClick:M}));let re=null;s&&g.isValidElement(s)&&(re=g.cloneElement(s,{className:Oe($.avatar,s.props.className)}));let _=null;return m&&g.isValidElement(m)&&(_=g.cloneElement(m,{className:Oe($.icon,m.props.className)})),v.jsxs(OC,{as:B,className:Oe($.root,a),disabled:N&&h?!0:void 0,onClick:w,onKeyDown:L,onKeyUp:j,ref:R,tabIndex:O&&h?-1:z,ownerState:W,...J,...D,children:[re||_,v.jsx(DC,{className:Oe($.label),ownerState:W,children:x}),Q]})});function vd(e){return parseInt(e,10)||0}const kC={shadow:{visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"}};function TC(e){for(const t in e)return!1;return!0}function EC(e){return TC(e)||e.outerHeightStyle===0&&!e.overflowing}const RC=g.forwardRef(function(t,n){const{onChange:r,maxRows:s,minRows:a=1,style:l,value:u,...f}=t,{current:p}=g.useRef(u!=null),h=g.useRef(null),m=pn(n,h),x=g.useRef(null),w=g.useRef(null),A=g.useCallback(()=>{const S=h.current,z=w.current;if(!S||!z)return;const D=Mo(S).getComputedStyle(S);if(D.width==="0px")return{outerHeightStyle:0,overflowing:!1};z.style.width=D.width,z.value=S.value||t.placeholder||"x",z.value.slice(-1)===` +`&&(z.value+=" ");const T=D.boxSizing,R=vd(D.paddingBottom)+vd(D.paddingTop),M=vd(D.borderBottomWidth)+vd(D.borderTopWidth),L=z.scrollHeight;z.value="x";const j=z.scrollHeight;let N=L;a&&(N=Math.max(Number(a)*j,N)),s&&(N=Math.min(Number(s)*j,N)),N=Math.max(N,j);const B=N+(T==="border-box"?R+M:0),W=Math.abs(N-L)<=1;return{outerHeightStyle:B,overflowing:W}},[s,a,t.placeholder]),P=g.useCallback(()=>{const S=h.current,z=A();if(!S||!z||EC(z))return;const O=z.outerHeightStyle;x.current!==O&&(x.current=O,S.style.height=`${O}px`),S.style.overflow=z.overflowing?"hidden":""},[A]),H=g.useRef(-1);Yr(()=>{const S=tg(()=>P()),z=h==null?void 0:h.current;if(!z)return;const O=Mo(z);O.addEventListener("resize",S);let D;return typeof ResizeObserver<"u"&&(D=new ResizeObserver(()=>{D.unobserve(z),cancelAnimationFrame(H.current),P(),H.current=requestAnimationFrame(()=>{D.observe(z)})}),D.observe(z)),()=>{S.clear(),cancelAnimationFrame(H.current),O.removeEventListener("resize",S),D&&D.disconnect()}},[A,P]),Yr(()=>{P()});const C=S=>{p||P(),r&&r(S)};return v.jsxs(g.Fragment,{children:[v.jsx("textarea",{value:u,onChange:C,ref:m,rows:a,style:l,...f}),v.jsx("textarea",{"aria-hidden":!0,className:t.className,readOnly:!0,ref:w,tabIndex:-1,style:{...kC.shadow,...l,paddingTop:0,paddingBottom:0}})]})});function gu(e){return typeof e=="string"}function ji({props:e,states:t,muiFormControl:n}){return t.reduce((r,s)=>(r[s]=e[s],n&&typeof e[s]>"u"&&(r[s]=n[s]),r),{})}const Lp=g.createContext(void 0);function Bo(){return g.useContext(Lp)}function $8(e){return e!=null&&!(Array.isArray(e)&&e.length===0)}function op(e,t=!1){return e&&($8(e.value)&&e.value!==""||t&&$8(e.defaultValue)&&e.defaultValue!=="")}function MC(e){return e.startAdornment}function LC(e){return Qe("MuiInputBase",e)}const Vr=Ke("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]);var ex;const Xp=(e,t)=>{const{ownerState:n}=e;return[t.root,n.formControl&&t.formControl,n.startAdornment&&t.adornedStart,n.endAdornment&&t.adornedEnd,n.error&&t.error,n.size==="small"&&t.sizeSmall,n.multiline&&t.multiline,n.color&&t[`color${ye(n.color)}`],n.fullWidth&&t.fullWidth,n.hiddenLabel&&t.hiddenLabel]},Np=(e,t)=>{const{ownerState:n}=e;return[t.input,n.size==="small"&&t.inputSizeSmall,n.multiline&&t.inputMultiline,n.type==="search"&&t.inputTypeSearch,n.startAdornment&&t.inputAdornedStart,n.endAdornment&&t.inputAdornedEnd,n.hiddenLabel&&t.inputHiddenLabel]},XC=e=>{const{classes:t,color:n,disabled:r,error:s,endAdornment:a,focused:l,formControl:u,fullWidth:f,hiddenLabel:p,multiline:h,readOnly:m,size:x,startAdornment:w,type:A}=e,P={root:["root",`color${ye(n)}`,r&&"disabled",s&&"error",f&&"fullWidth",l&&"focused",u&&"formControl",x&&x!=="medium"&&`size${ye(x)}`,h&&"multiline",w&&"adornedStart",a&&"adornedEnd",p&&"hiddenLabel",m&&"readOnly"],input:["input",r&&"disabled",A==="search"&&"inputTypeSearch",h&&"inputMultiline",x==="small"&&"inputSizeSmall",p&&"inputHiddenLabel",w&&"inputAdornedStart",a&&"inputAdornedEnd",m&&"readOnly"]};return _e(P,LC,t)},Bp=ve("div",{name:"MuiInputBase",slot:"Root",overridesResolver:Xp})(tt(({theme:e})=>({...e.typography.body1,color:(e.vars||e).palette.text.primary,lineHeight:"1.4375em",boxSizing:"border-box",position:"relative",cursor:"text",display:"inline-flex",alignItems:"center",[`&.${Vr.disabled}`]:{color:(e.vars||e).palette.text.disabled,cursor:"default"},variants:[{props:({ownerState:t})=>t.multiline,style:{padding:"4px 0 5px"}},{props:({ownerState:t,size:n})=>t.multiline&&n==="small",style:{paddingTop:1}},{props:({ownerState:t})=>t.fullWidth,style:{width:"100%"}}]}))),Vp=ve("input",{name:"MuiInputBase",slot:"Input",overridesResolver:Np})(tt(({theme:e})=>{const t=e.palette.mode==="light",n={color:"currentColor",...e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:t?.42:.5},transition:e.transitions.create("opacity",{duration:e.transitions.duration.shorter})},r={opacity:"0 !important"},s=e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:t?.42:.5};return{font:"inherit",letterSpacing:"inherit",color:"currentColor",padding:"4px 0 5px",border:0,boxSizing:"content-box",background:"none",height:"1.4375em",margin:0,WebkitTapHighlightColor:"transparent",display:"block",minWidth:0,width:"100%","&::-webkit-input-placeholder":n,"&::-moz-placeholder":n,"&::-ms-input-placeholder":n,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"},[`label[data-shrink=false] + .${Vr.formControl} &`]:{"&::-webkit-input-placeholder":r,"&::-moz-placeholder":r,"&::-ms-input-placeholder":r,"&:focus::-webkit-input-placeholder":s,"&:focus::-moz-placeholder":s,"&:focus::-ms-input-placeholder":s},[`&.${Vr.disabled}`]:{opacity:1,WebkitTextFillColor:(e.vars||e).palette.text.disabled},variants:[{props:({ownerState:a})=>!a.disableInjectingGlobalStyles,style:{animationName:"mui-auto-fill-cancel",animationDuration:"10ms","&:-webkit-autofill":{animationDuration:"5000s",animationName:"mui-auto-fill"}}},{props:{size:"small"},style:{paddingTop:1}},{props:({ownerState:a})=>a.multiline,style:{height:"auto",resize:"none",padding:0,paddingTop:0}},{props:{type:"search"},style:{MozAppearance:"textfield"}}]}})),tx=ag({"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}),Ip=g.forwardRef(function(t,n){const r=nt({props:t,name:"MuiInputBase"}),{"aria-describedby":s,autoComplete:a,autoFocus:l,className:u,color:f,components:p={},componentsProps:h={},defaultValue:m,disabled:x,disableInjectingGlobalStyles:w,endAdornment:A,error:P,fullWidth:H=!1,id:C,inputComponent:S="input",inputProps:z={},inputRef:O,margin:D,maxRows:T,minRows:R,multiline:M=!1,name:L,onBlur:j,onChange:N,onClick:B,onFocus:W,onKeyDown:$,onKeyUp:J,placeholder:Q,readOnly:re,renderSuffix:_,rows:q,size:E,slotProps:Z={},slots:X={},startAdornment:te,type:ee="text",value:oe,...ae}=r,ge=z.value!=null?z.value:oe,{current:le}=g.useRef(ge!=null),ze=g.useRef(),De=g.useCallback(Ve=>{},[]),Ne=pn(ze,O,z.ref,De),[he,Ie]=g.useState(!1),be=Bo(),Ye=ji({props:r,muiFormControl:be,states:["color","disabled","error","hiddenLabel","size","required","filled"]});Ye.focused=be?be.focused:he,g.useEffect(()=>{!be&&x&&he&&(Ie(!1),j&&j())},[be,x,he,j]);const At=be&&be.onFilled,Ee=be&&be.onEmpty,I=g.useCallback(Ve=>{op(Ve)?At&&At():Ee&&Ee()},[At,Ee]);Yr(()=>{le&&I({value:ge})},[ge,I,le]);const K=Ve=>{W&&W(Ve),z.onFocus&&z.onFocus(Ve),be&&be.onFocus?be.onFocus(Ve):Ie(!0)},se=Ve=>{j&&j(Ve),z.onBlur&&z.onBlur(Ve),be&&be.onBlur?be.onBlur(Ve):Ie(!1)},xe=(Ve,...Tt)=>{if(!le){const Vt=Ve.target||ze.current;if(Vt==null)throw new Error(Rs(1));I({value:Vt.value})}z.onChange&&z.onChange(Ve,...Tt),N&&N(Ve,...Tt)};g.useEffect(()=>{I(ze.current)},[]);const ue=Ve=>{ze.current&&Ve.currentTarget===Ve.target&&ze.current.focus(),B&&B(Ve)};let we=S,He=z;M&&we==="input"&&(q?He={type:void 0,minRows:q,maxRows:q,...He}:He={type:void 0,maxRows:T,minRows:R,...He},we=RC);const Ue=Ve=>{I(Ve.animationName==="mui-auto-fill-cancel"?ze.current:{value:"x"})};g.useEffect(()=>{be&&be.setAdornedStart(!!te)},[be,te]);const jt={...r,color:Ye.color||"primary",disabled:Ye.disabled,endAdornment:A,error:Ye.error,focused:Ye.focused,formControl:be,fullWidth:H,hiddenLabel:Ye.hiddenLabel,multiline:M,size:Ye.size,startAdornment:te,type:ee},ot=XC(jt),pt=X.root||p.Root||Bp,gt=Z.root||h.root||{},ft=X.input||p.Input||Vp;return He={...He,...Z.input??h.input},v.jsxs(g.Fragment,{children:[!w&&typeof tx=="function"&&(ex||(ex=v.jsx(tx,{}))),v.jsxs(pt,{...gt,ref:n,onClick:ue,...ae,...!gu(pt)&&{ownerState:{...jt,...gt.ownerState}},className:Oe(ot.root,gt.className,u,re&&"MuiInputBase-readOnly"),children:[te,v.jsx(Lp.Provider,{value:null,children:v.jsx(ft,{"aria-invalid":Ye.error,"aria-describedby":s,autoComplete:a,autoFocus:l,defaultValue:m,disabled:Ye.disabled,id:C,onAnimationStart:Ue,name:L,placeholder:Q,readOnly:re,required:Ye.required,rows:q,value:ge,onKeyDown:$,onKeyUp:J,type:ee,...He,...!gu(ft)&&{as:we,ownerState:{...jt,...He.ownerState}},ref:Ne,className:Oe(ot.input,He.className,re&&"MuiInputBase-readOnly"),onBlur:se,onChange:xe,onFocus:K})}),A,_?_({...Ye,startAdornment:te}):null]})]})});function NC(e){return Qe("MuiInput",e)}const ai={...Vr,...Ke("MuiInput",["root","underline","input"])};function BC(e){return Qe("MuiOutlinedInput",e)}const ro={...Vr,...Ke("MuiOutlinedInput",["root","notchedOutline","input"])};function VC(e){return Qe("MuiFilledInput",e)}const Ir={...Vr,...Ke("MuiFilledInput",["root","underline","input","adornedStart","adornedEnd","sizeSmall","multiline","hiddenLabel"])},m1=Pt(v.jsx("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown");function IC(e){return Qe("MuiAutocomplete",e)}const Ot=Ke("MuiAutocomplete",["root","expanded","fullWidth","focused","focusVisible","tag","tagSizeSmall","tagSizeMedium","hasPopupIcon","hasClearIcon","inputRoot","input","inputFocused","endAdornment","clearIndicator","popupIndicator","popupIndicatorOpen","popper","popperDisablePortal","paper","listbox","loading","noOptions","option","groupLabel","groupUl"]);var nx,rx;const WC=e=>{const{classes:t,disablePortal:n,expanded:r,focused:s,fullWidth:a,hasClearIcon:l,hasPopupIcon:u,inputFocused:f,popupOpen:p,size:h}=e,m={root:["root",r&&"expanded",s&&"focused",a&&"fullWidth",l&&"hasClearIcon",u&&"hasPopupIcon"],inputRoot:["inputRoot"],input:["input",f&&"inputFocused"],tag:["tag",`tagSize${ye(h)}`],endAdornment:["endAdornment"],clearIndicator:["clearIndicator"],popupIndicator:["popupIndicator",p&&"popupIndicatorOpen"],popper:["popper",n&&"popperDisablePortal"],paper:["paper"],listbox:["listbox"],loading:["loading"],noOptions:["noOptions"],option:["option"],groupLabel:["groupLabel"],groupUl:["groupUl"]};return _e(m,IC,t)},JC=ve("div",{name:"MuiAutocomplete",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e,{fullWidth:r,hasClearIcon:s,hasPopupIcon:a,inputFocused:l,size:u}=n;return[{[`& .${Ot.tag}`]:t.tag},{[`& .${Ot.tag}`]:t[`tagSize${ye(u)}`]},{[`& .${Ot.inputRoot}`]:t.inputRoot},{[`& .${Ot.input}`]:t.input},{[`& .${Ot.input}`]:l&&t.inputFocused},t.root,r&&t.fullWidth,a&&t.hasPopupIcon,s&&t.hasClearIcon]}})({[`&.${Ot.focused} .${Ot.clearIndicator}`]:{visibility:"visible"},"@media (pointer: fine)":{[`&:hover .${Ot.clearIndicator}`]:{visibility:"visible"}},[`& .${Ot.tag}`]:{margin:3,maxWidth:"calc(100% - 6px)"},[`& .${Ot.inputRoot}`]:{[`.${Ot.hasPopupIcon}&, .${Ot.hasClearIcon}&`]:{paddingRight:30},[`.${Ot.hasPopupIcon}.${Ot.hasClearIcon}&`]:{paddingRight:56},[`& .${Ot.input}`]:{width:0,minWidth:30}},[`& .${ai.root}`]:{paddingBottom:1,"& .MuiInput-input":{padding:"4px 4px 4px 0px"}},[`& .${ai.root}.${Vr.sizeSmall}`]:{[`& .${ai.input}`]:{padding:"2px 4px 3px 0"}},[`& .${ro.root}`]:{padding:9,[`.${Ot.hasPopupIcon}&, .${Ot.hasClearIcon}&`]:{paddingRight:39},[`.${Ot.hasPopupIcon}.${Ot.hasClearIcon}&`]:{paddingRight:65},[`& .${Ot.input}`]:{padding:"7.5px 4px 7.5px 5px"},[`& .${Ot.endAdornment}`]:{right:9}},[`& .${ro.root}.${Vr.sizeSmall}`]:{paddingTop:6,paddingBottom:6,paddingLeft:6,[`& .${Ot.input}`]:{padding:"2.5px 4px 2.5px 8px"}},[`& .${Ir.root}`]:{paddingTop:19,paddingLeft:8,[`.${Ot.hasPopupIcon}&, .${Ot.hasClearIcon}&`]:{paddingRight:39},[`.${Ot.hasPopupIcon}.${Ot.hasClearIcon}&`]:{paddingRight:65},[`& .${Ir.input}`]:{padding:"7px 4px"},[`& .${Ot.endAdornment}`]:{right:9}},[`& .${Ir.root}.${Vr.sizeSmall}`]:{paddingBottom:1,[`& .${Ir.input}`]:{padding:"2.5px 4px"}},[`& .${Vr.hiddenLabel}`]:{paddingTop:8},[`& .${Ir.root}.${Vr.hiddenLabel}`]:{paddingTop:0,paddingBottom:0,[`& .${Ot.input}`]:{paddingTop:16,paddingBottom:17}},[`& .${Ir.root}.${Vr.hiddenLabel}.${Vr.sizeSmall}`]:{[`& .${Ot.input}`]:{paddingTop:8,paddingBottom:9}},[`& .${Ot.input}`]:{flexGrow:1,textOverflow:"ellipsis",opacity:0},variants:[{props:{fullWidth:!0},style:{width:"100%"}},{props:{size:"small"},style:{[`& .${Ot.tag}`]:{margin:2,maxWidth:"calc(100% - 4px)"}}},{props:{inputFocused:!0},style:{[`& .${Ot.input}`]:{opacity:1}}},{props:{multiple:!0},style:{[`& .${Ot.inputRoot}`]:{flexWrap:"wrap"}}}]}),FC=ve("div",{name:"MuiAutocomplete",slot:"EndAdornment",overridesResolver:(e,t)=>t.endAdornment})({position:"absolute",right:0,top:"50%",transform:"translate(0, -50%)"}),YC=ve(Sr,{name:"MuiAutocomplete",slot:"ClearIndicator",overridesResolver:(e,t)=>t.clearIndicator})({marginRight:-2,padding:4,visibility:"hidden"}),qC=ve(Sr,{name:"MuiAutocomplete",slot:"PopupIndicator",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.popupIndicator,n.popupOpen&&t.popupIndicatorOpen]}})({padding:2,marginRight:-2,variants:[{props:{popupOpen:!0},style:{transform:"rotate(180deg)"}}]}),ZC=ve(Mp,{name:"MuiAutocomplete",slot:"Popper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${Ot.option}`]:t.option},t.popper,n.disablePortal&&t.popperDisablePortal]}})(tt(({theme:e})=>({zIndex:(e.vars||e).zIndex.modal,variants:[{props:{disablePortal:!0},style:{position:"absolute"}}]}))),GC=ve(qr,{name:"MuiAutocomplete",slot:"Paper",overridesResolver:(e,t)=>t.paper})(tt(({theme:e})=>({...e.typography.body1,overflow:"auto"}))),UC=ve("div",{name:"MuiAutocomplete",slot:"Loading",overridesResolver:(e,t)=>t.loading})(tt(({theme:e})=>({color:(e.vars||e).palette.text.secondary,padding:"14px 16px"}))),QC=ve("div",{name:"MuiAutocomplete",slot:"NoOptions",overridesResolver:(e,t)=>t.noOptions})(tt(({theme:e})=>({color:(e.vars||e).palette.text.secondary,padding:"14px 16px"}))),KC=ve("ul",{name:"MuiAutocomplete",slot:"Listbox",overridesResolver:(e,t)=>t.listbox})(tt(({theme:e})=>({listStyle:"none",margin:0,padding:"8px 0",maxHeight:"40vh",overflow:"auto",position:"relative",[`& .${Ot.option}`]:{minHeight:48,display:"flex",overflow:"hidden",justifyContent:"flex-start",alignItems:"center",cursor:"pointer",paddingTop:6,boxSizing:"border-box",outline:"0",WebkitTapHighlightColor:"transparent",paddingBottom:6,paddingLeft:16,paddingRight:16,[e.breakpoints.up("sm")]:{minHeight:"auto"},[`&.${Ot.focused}`]:{backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},'&[aria-disabled="true"]':{opacity:(e.vars||e).palette.action.disabledOpacity,pointerEvents:"none"},[`&.${Ot.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},'&[aria-selected="true"]':{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:bt(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${Ot.focused}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:bt(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:(e.vars||e).palette.action.selected}},[`&.${Ot.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:bt(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}}}}))),_C=ve(ey,{name:"MuiAutocomplete",slot:"GroupLabel",overridesResolver:(e,t)=>t.groupLabel})(tt(({theme:e})=>({backgroundColor:(e.vars||e).palette.background.paper,top:-8}))),$C=ve("ul",{name:"MuiAutocomplete",slot:"GroupUl",overridesResolver:(e,t)=>t.groupUl})({padding:0,[`& .${Ot.option}`]:{paddingLeft:24}}),eO=g.forwardRef(function(t,n){const r=nt({props:t,name:"MuiAutocomplete"}),{autoComplete:s=!1,autoHighlight:a=!1,autoSelect:l=!1,blurOnSelect:u=!1,ChipProps:f,className:p,clearIcon:h=nx||(nx=v.jsx(s1,{fontSize:"small"})),clearOnBlur:m=!r.freeSolo,clearOnEscape:x=!1,clearText:w="Clear",closeText:A="Close",componentsProps:P,defaultValue:H=r.multiple?[]:null,disableClearable:C=!1,disableCloseOnSelect:S=!1,disabled:z=!1,disabledItemsFocusable:O=!1,disableListWrap:D=!1,disablePortal:T=!1,filterOptions:R,filterSelectedOptions:M=!1,forcePopupIcon:L="auto",freeSolo:j=!1,fullWidth:N=!1,getLimitTagsText:B=Xt=>`+${Xt}`,getOptionDisabled:W,getOptionKey:$,getOptionLabel:J,isOptionEqualToValue:Q,groupBy:re,handleHomeEndKeys:_=!r.freeSolo,id:q,includeInputInList:E=!1,inputValue:Z,limitTags:X=-1,ListboxComponent:te,ListboxProps:ee,loading:oe=!1,loadingText:ae="Loading…",multiple:ge=!1,noOptionsText:le="No options",onChange:ze,onClose:De,onHighlightChange:Ne,onInputChange:he,onOpen:Ie,open:be,openOnFocus:Ye=!1,openText:At="Open",options:Ee,PaperComponent:I,PopperComponent:K,popupIcon:se=rx||(rx=v.jsx(m1,{})),readOnly:xe=!1,renderGroup:ue,renderInput:we,renderOption:He,renderTags:Ue,selectOnFocus:jt=!r.freeSolo,size:ot="medium",slots:pt={},slotProps:gt={},value:ft,...Ve}=r,{getRootProps:Tt,getInputProps:Vt,getInputLabelProps:Ut,getPopupIndicatorProps:Y,getClearProps:F,getTagProps:Ae,getListboxProps:Ce,getOptionProps:Me,value:Be,dirty:Ze,expanded:Te,id:st,popupOpen:ut,focused:Lt,focusedTag:Qt,anchorEl:Je,setAnchorEl:Et,inputValue:vn,groupedOptions:Pn}=aS({...r,componentName:"Autocomplete"}),Gn=!C&&!z&&Ze&&!xe,bn=(!j||L===!0)&&L!==!1,{onMouseDown:Rr}=Vt(),{ref:ho,...Wo}=Ce(),mo=J||(Xt=>Xt.label??Xt),xn={...r,disablePortal:T,expanded:Te,focused:Lt,fullWidth:N,getOptionLabel:mo,hasClearIcon:Gn,hasPopupIcon:bn,inputFocused:Qt===-1,popupOpen:ut,size:ot},hn=WC(xn),Re={slots:{paper:I,popper:K,...pt},slotProps:{chip:f,listbox:ee,...P,...gt}},[Ge,fe]=dt("listbox",{elementType:KC,externalForwardedProps:Re,ownerState:xn,className:hn.listbox,additionalProps:Wo,ref:ho}),[de,Le]=dt("paper",{elementType:qr,externalForwardedProps:Re,ownerState:xn,className:hn.paper}),[rt,wt]=dt("popper",{elementType:Mp,externalForwardedProps:Re,ownerState:xn,className:hn.popper,additionalProps:{disablePortal:T,style:{width:Je?Je.clientWidth:null},role:"presentation",anchorEl:Je,open:ut}});let It;if(ge&&Be.length>0){const Xt=Ur=>({className:hn.tag,disabled:z,...Ae(Ur)});Ue?It=Ue(Be,Xt,xn):It=Be.map((Ur,yo)=>{const{key:Fo,...Qr}=Xt({index:yo});return v.jsx(Ju,{label:mo(Ur),size:ot,...Qr,...Re.slotProps.chip},Fo)})}if(X>-1&&Array.isArray(It)){const Xt=It.length-X;!Lt&&Xt>0&&(It=It.splice(0,X),It.push(v.jsx("span",{className:hn.tag,children:B(Xt)},It.length)))}const Xn=ue||(Xt=>v.jsxs("li",{children:[v.jsx(_C,{className:hn.groupLabel,ownerState:xn,component:"div",children:Xt.group}),v.jsx($C,{className:hn.groupUl,ownerState:xn,children:Xt.children})]},Xt.key)),nn=He||((Xt,Ur)=>{const{key:yo,...Fo}=Xt;return v.jsx("li",{...Fo,children:mo(Ur)},yo)}),Si=(Xt,Ur)=>{const yo=Me({option:Xt,index:Ur});return nn({...yo,className:hn.option},Xt,{selected:yo["aria-selected"],index:Ur,inputValue:vn},xn)},Ns=Re.slotProps.clearIndicator,Ci=Re.slotProps.popupIndicator;return v.jsxs(g.Fragment,{children:[v.jsx(JC,{ref:n,className:Oe(hn.root,p),ownerState:xn,...Tt(Ve),children:we({id:st,disabled:z,fullWidth:!0,size:ot==="small"?"small":void 0,InputLabelProps:Ut(),InputProps:{ref:Et,className:hn.inputRoot,startAdornment:It,onMouseDown:Xt=>{Xt.target===Xt.currentTarget&&Rr(Xt)},...(Gn||bn)&&{endAdornment:v.jsxs(FC,{className:hn.endAdornment,ownerState:xn,children:[Gn?v.jsx(YC,{...F(),"aria-label":w,title:w,ownerState:xn,...Ns,className:Oe(hn.clearIndicator,Ns==null?void 0:Ns.className),children:h}):null,bn?v.jsx(qC,{...Y(),disabled:z,"aria-label":ut?A:At,title:ut?A:At,ownerState:xn,...Ci,className:Oe(hn.popupIndicator,Ci==null?void 0:Ci.className),children:se}):null]})}},inputProps:{className:hn.input,disabled:z,readOnly:xe,...Vt()}})}),Je?v.jsx(ZC,{as:rt,...wt,children:v.jsxs(GC,{as:de,...Le,children:[oe&&Pn.length===0?v.jsx(UC,{className:hn.loading,ownerState:xn,children:ae}):null,Pn.length===0&&!j&&!oe?v.jsx(QC,{className:hn.noOptions,ownerState:xn,role:"presentation",onMouseDown:Xt=>{Xt.preventDefault()},children:le}):null,Pn.length>0?v.jsx(Ge,{as:te,...fe,children:Pn.map((Xt,Ur)=>re?Xn({key:Xt.key,group:Xt.group,children:Xt.options.map((yo,Fo)=>Si(yo,Xt.index+Fo))}):Si(Xt,Ur))}):null]})}):null]})}),tO={entering:{opacity:1},entered:{opacity:1}},ty=g.forwardRef(function(t,n){const r=Gr(),s={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{addEndListener:a,appear:l=!0,children:u,easing:f,in:p,onEnter:h,onEntered:m,onEntering:x,onExit:w,onExited:A,onExiting:P,style:H,timeout:C=s,TransitionComponent:S=No,...z}=t,O=g.useRef(null),D=pn(O,wi(u),n),T=$=>J=>{if($){const Q=O.current;J===void 0?$(Q):$(Q,J)}},R=T(x),M=T(($,J)=>{fg($);const Q=zl({style:H,timeout:C,easing:f},{mode:"enter"});$.style.webkitTransition=r.transitions.create("opacity",Q),$.style.transition=r.transitions.create("opacity",Q),h&&h($,J)}),L=T(m),j=T(P),N=T($=>{const J=zl({style:H,timeout:C,easing:f},{mode:"exit"});$.style.webkitTransition=r.transitions.create("opacity",J),$.style.transition=r.transitions.create("opacity",J),w&&w($)}),B=T(A),W=$=>{a&&a(O.current,$)};return v.jsx(S,{appear:l,in:p,nodeRef:O,onEnter:M,onEntered:L,onEntering:R,onExit:N,onExited:B,onExiting:j,addEndListener:W,timeout:C,...z,children:($,{ownerState:J,...Q})=>g.cloneElement(u,{style:{opacity:0,visibility:$==="exited"&&!p?"hidden":void 0,...tO[$],...H,...u.props.style},ref:D,...Q})})});function nO(e){return Qe("MuiBackdrop",e)}Ke("MuiBackdrop",["root","invisible"]);const rO=e=>{const{classes:t,invisible:n}=e;return _e({root:["root",n&&"invisible"]},nO,t)},oO=ve("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.invisible&&t.invisible]}})({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent",variants:[{props:{invisible:!0},style:{backgroundColor:"transparent"}}]}),y1=g.forwardRef(function(t,n){const r=nt({props:t,name:"MuiBackdrop"}),{children:s,className:a,component:l="div",invisible:u=!1,open:f,components:p={},componentsProps:h={},slotProps:m={},slots:x={},TransitionComponent:w,transitionDuration:A,...P}=r,H={...r,component:l,invisible:u},C=rO(H),S={transition:w,root:p.Root,...x},z={...h,...m},O={slots:S,slotProps:z},[D,T]=dt("root",{elementType:oO,externalForwardedProps:O,className:Oe(C.root,a),ownerState:H}),[R,M]=dt("transition",{elementType:ty,externalForwardedProps:O,ownerState:H});return v.jsx(R,{in:f,timeout:A,...P,...M,children:v.jsx(D,{"aria-hidden":!0,...T,classes:C,ref:n,children:s})})}),sO=Ke("MuiBox",["root"]),iO=Bu(),yt=yH({themeId:To,defaultTheme:iO,defaultClassName:sO.root,generateClassName:S0.generate});function aO(e){return Qe("MuiButton",e)}const Ii=Ke("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"]),lO=g.createContext({}),cO=g.createContext(void 0),uO=e=>{const{color:t,disableElevation:n,fullWidth:r,size:s,variant:a,loading:l,loadingPosition:u,classes:f}=e,p={root:["root",l&&"loading",a,`${a}${ye(t)}`,`size${ye(s)}`,`${a}Size${ye(s)}`,`color${ye(t)}`,n&&"disableElevation",r&&"fullWidth",l&&`loadingPosition${ye(u)}`],startIcon:["icon","startIcon",`iconSize${ye(s)}`],endIcon:["icon","endIcon",`iconSize${ye(s)}`],loadingIndicator:["loadingIndicator"],loadingWrapper:["loadingWrapper"]},h=_e(p,aO,f);return{...f,...h}},g1=[{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}}}],fO=ve(fa,{shouldForwardProp:e=>Zn(e)||e==="classes",name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`${n.variant}${ye(n.color)}`],t[`size${ye(n.size)}`],t[`${n.variant}Size${ye(n.size)}`],n.color==="inherit"&&t.colorInherit,n.disableElevation&&t.disableElevation,n.fullWidth&&t.fullWidth,n.loading&&t.loading]}})(tt(({theme:e})=>{const t=e.palette.mode==="light"?e.palette.grey[300]:e.palette.grey[800],n=e.palette.mode==="light"?e.palette.grey.A100:e.palette.grey[700];return{...e.typography.button,minWidth:64,padding:"6px 16px",border:0,borderRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create(["background-color","box-shadow","border-color","color"],{duration:e.transitions.duration.short}),"&:hover":{textDecoration:"none"},[`&.${Ii.disabled}`]:{color:(e.vars||e).palette.action.disabled},variants:[{props:{variant:"contained"},style:{color:"var(--variant-containedColor)",backgroundColor:"var(--variant-containedBg)",boxShadow:(e.vars||e).shadows[2],"&:hover":{boxShadow:(e.vars||e).shadows[4],"@media (hover: none)":{boxShadow:(e.vars||e).shadows[2]}},"&:active":{boxShadow:(e.vars||e).shadows[8]},[`&.${Ii.focusVisible}`]:{boxShadow:(e.vars||e).shadows[6]},[`&.${Ii.disabled}`]:{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground}}},{props:{variant:"outlined"},style:{padding:"5px 15px",border:"1px solid currentColor",borderColor:"var(--variant-outlinedBorder, currentColor)",backgroundColor:"var(--variant-outlinedBg)",color:"var(--variant-outlinedColor)",[`&.${Ii.disabled}`]:{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`}}},{props:{variant:"text"},style:{padding:"6px 8px",color:"var(--variant-textColor)",backgroundColor:"var(--variant-textBg)"}},...Object.entries(e.palette).filter(gn()).map(([r])=>({props:{color:r},style:{"--variant-textColor":(e.vars||e).palette[r].main,"--variant-outlinedColor":(e.vars||e).palette[r].main,"--variant-outlinedBorder":e.vars?`rgba(${e.vars.palette[r].mainChannel} / 0.5)`:bt(e.palette[r].main,.5),"--variant-containedColor":(e.vars||e).palette[r].contrastText,"--variant-containedBg":(e.vars||e).palette[r].main,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":(e.vars||e).palette[r].dark,"--variant-textBg":e.vars?`rgba(${e.vars.palette[r].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:bt(e.palette[r].main,e.palette.action.hoverOpacity),"--variant-outlinedBorder":(e.vars||e).palette[r].main,"--variant-outlinedBg":e.vars?`rgba(${e.vars.palette[r].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:bt(e.palette[r].main,e.palette.action.hoverOpacity)}}}})),{props:{color:"inherit"},style:{color:"inherit",borderColor:"currentColor","--variant-containedBg":e.vars?e.vars.palette.Button.inheritContainedBg:t,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":e.vars?e.vars.palette.Button.inheritContainedHoverBg:n,"--variant-textBg":e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:bt(e.palette.text.primary,e.palette.action.hoverOpacity),"--variant-outlinedBg":e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:bt(e.palette.text.primary,e.palette.action.hoverOpacity)}}}},{props:{size:"small",variant:"text"},style:{padding:"4px 5px",fontSize:e.typography.pxToRem(13)}},{props:{size:"large",variant:"text"},style:{padding:"8px 11px",fontSize:e.typography.pxToRem(15)}},{props:{size:"small",variant:"outlined"},style:{padding:"3px 9px",fontSize:e.typography.pxToRem(13)}},{props:{size:"large",variant:"outlined"},style:{padding:"7px 21px",fontSize:e.typography.pxToRem(15)}},{props:{size:"small",variant:"contained"},style:{padding:"4px 10px",fontSize:e.typography.pxToRem(13)}},{props:{size:"large",variant:"contained"},style:{padding:"8px 22px",fontSize:e.typography.pxToRem(15)}},{props:{disableElevation:!0},style:{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${Ii.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${Ii.disabled}`]:{boxShadow:"none"}}},{props:{fullWidth:!0},style:{width:"100%"}},{props:{loadingPosition:"center"},style:{transition:e.transitions.create(["background-color","box-shadow","border-color"],{duration:e.transitions.duration.short}),[`&.${Ii.loading}`]:{color:"transparent"}}}]}})),dO=ve("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.startIcon,n.loading&&t.startIconLoadingStart,t[`iconSize${ye(n.size)}`]]}})(({theme:e})=>({display:"inherit",marginRight:8,marginLeft:-4,variants:[{props:{size:"small"},style:{marginLeft:-2}},{props:{loadingPosition:"start",loading:!0},style:{transition:e.transitions.create(["opacity"],{duration:e.transitions.duration.short}),opacity:0}},{props:{loadingPosition:"start",loading:!0,fullWidth:!0},style:{marginRight:-8}},...g1]})),pO=ve("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.endIcon,n.loading&&t.endIconLoadingEnd,t[`iconSize${ye(n.size)}`]]}})(({theme:e})=>({display:"inherit",marginRight:-4,marginLeft:8,variants:[{props:{size:"small"},style:{marginRight:-2}},{props:{loadingPosition:"end",loading:!0},style:{transition:e.transitions.create(["opacity"],{duration:e.transitions.duration.short}),opacity:0}},{props:{loadingPosition:"end",loading:!0,fullWidth:!0},style:{marginLeft:-8}},...g1]})),vO=ve("span",{name:"MuiButton",slot:"LoadingIndicator",overridesResolver:(e,t)=>t.loadingIndicator})(({theme:e})=>({display:"none",position:"absolute",visibility:"visible",variants:[{props:{loading:!0},style:{display:"flex"}},{props:{loadingPosition:"start"},style:{left:14}},{props:{loadingPosition:"start",size:"small"},style:{left:10}},{props:{variant:"text",loadingPosition:"start"},style:{left:6}},{props:{loadingPosition:"center"},style:{left:"50%",transform:"translate(-50%)",color:(e.vars||e).palette.action.disabled}},{props:{loadingPosition:"end"},style:{right:14}},{props:{loadingPosition:"end",size:"small"},style:{right:10}},{props:{variant:"text",loadingPosition:"end"},style:{right:6}},{props:{loadingPosition:"start",fullWidth:!0},style:{position:"relative",left:-10}},{props:{loadingPosition:"end",fullWidth:!0},style:{position:"relative",right:-10}}]})),ox=ve("span",{name:"MuiButton",slot:"LoadingIconPlaceholder",overridesResolver:(e,t)=>t.loadingIconPlaceholder})({display:"inline-block",width:"1em",height:"1em"}),Nt=g.forwardRef(function(t,n){const r=g.useContext(lO),s=g.useContext(cO),a=hu(r,t),l=nt({props:a,name:"MuiButton"}),{children:u,color:f="primary",component:p="button",className:h,disabled:m=!1,disableElevation:x=!1,disableFocusRipple:w=!1,endIcon:A,focusVisibleClassName:P,fullWidth:H=!1,id:C,loading:S=null,loadingIndicator:z,loadingPosition:O="center",size:D="medium",startIcon:T,type:R,variant:M="text",...L}=l,j=us(C),N=z??v.jsx(Vu,{"aria-labelledby":j,color:"inherit",size:16}),B={...l,color:f,component:p,disabled:m,disableElevation:x,disableFocusRipple:w,fullWidth:H,loading:S,loadingIndicator:N,loadingPosition:O,size:D,type:R,variant:M},W=uO(B),$=(T||S&&O==="start")&&v.jsx(dO,{className:W.startIcon,ownerState:B,children:T||v.jsx(ox,{className:W.loadingIconPlaceholder,ownerState:B})}),J=(A||S&&O==="end")&&v.jsx(pO,{className:W.endIcon,ownerState:B,children:A||v.jsx(ox,{className:W.loadingIconPlaceholder,ownerState:B})}),Q=s||"",re=typeof S=="boolean"?v.jsx("span",{className:W.loadingWrapper,style:{display:"contents"},children:S&&v.jsx(vO,{className:W.loadingIndicator,ownerState:B,children:N})}):null;return v.jsxs(fO,{ownerState:B,className:Oe(r.className,W.root,h,Q),component:p,disabled:m||S,focusRipple:!w,focusVisibleClassName:Oe(W.focusVisible,P),ref:n,type:R,id:S?j:C,...L,classes:W,children:[$,O!=="end"&&re,u,O==="end"&&re,J]})});function hO(e){return Qe("MuiCard",e)}Ke("MuiCard",["root"]);const mO=e=>{const{classes:t}=e;return _e({root:["root"]},hO,t)},yO=ve(qr,{name:"MuiCard",slot:"Root",overridesResolver:(e,t)=>t.root})({overflow:"hidden"}),A1=g.forwardRef(function(t,n){const r=nt({props:t,name:"MuiCard"}),{className:s,raised:a=!1,...l}=r,u={...r,raised:a},f=mO(u);return v.jsx(yO,{className:Oe(f.root,s),elevation:a?8:void 0,ref:n,ownerState:u,...l})});function gO(e){return Qe("MuiCardContent",e)}Ke("MuiCardContent",["root"]);const AO=e=>{const{classes:t}=e;return _e({root:["root"]},gO,t)},PO=ve("div",{name:"MuiCardContent",slot:"Root",overridesResolver:(e,t)=>t.root})({padding:16,"&:last-child":{paddingBottom:24}}),ny=g.forwardRef(function(t,n){const r=nt({props:t,name:"MuiCardContent"}),{className:s,component:a="div",...l}=r,u={...r,component:a},f=AO(u);return v.jsx(PO,{as:a,className:Oe(f.root,s),ownerState:u,ref:n,...l})});function bO(e){return Qe("MuiCardMedia",e)}Ke("MuiCardMedia",["root","media","img"]);const xO=e=>{const{classes:t,isMediaComponent:n,isImageComponent:r}=e;return _e({root:["root",n&&"media",r&&"img"]},bO,t)},wO=ve("div",{name:"MuiCardMedia",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e,{isMediaComponent:r,isImageComponent:s}=n;return[t.root,r&&t.media,s&&t.img]}})({display:"block",backgroundSize:"cover",backgroundRepeat:"no-repeat",backgroundPosition:"center",variants:[{props:{isMediaComponent:!0},style:{width:"100%"}},{props:{isImageComponent:!0},style:{objectFit:"cover"}}]}),HO=["video","audio","picture","iframe","img"],jO=["picture","img"],zO=g.forwardRef(function(t,n){const r=nt({props:t,name:"MuiCardMedia"}),{children:s,className:a,component:l="div",image:u,src:f,style:p,...h}=r,m=HO.includes(l),x=!m&&u?{backgroundImage:`url("${u}")`,...p}:p,w={...r,component:l,isMediaComponent:m,isImageComponent:jO.includes(l)},A=xO(w);return v.jsx(wO,{className:Oe(A.root,a),as:l,role:!m&&u?"img":void 0,ref:n,style:x,ownerState:w,src:m?u||f:void 0,...h,children:s})});function SO(e){return Qe("PrivateSwitchBase",e)}Ke("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);const CO=e=>{const{classes:t,checked:n,disabled:r,edge:s}=e,a={root:["root",n&&"checked",r&&"disabled",s&&`edge${ye(s)}`],input:["input"]};return _e(a,SO,t)},OO=ve(fa)({padding:9,borderRadius:"50%",variants:[{props:{edge:"start",size:"small"},style:{marginLeft:-3}},{props:({edge:e,ownerState:t})=>e==="start"&&t.size!=="small",style:{marginLeft:-12}},{props:{edge:"end",size:"small"},style:{marginRight:-3}},{props:({edge:e,ownerState:t})=>e==="end"&&t.size!=="small",style:{marginRight:-12}}]}),DO=ve("input",{shouldForwardProp:Zn})({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}),Pg=g.forwardRef(function(t,n){const{autoFocus:r,checked:s,checkedIcon:a,defaultChecked:l,disabled:u,disableFocusRipple:f=!1,edge:p=!1,icon:h,id:m,inputProps:x,inputRef:w,name:A,onBlur:P,onChange:H,onFocus:C,readOnly:S,required:z=!1,tabIndex:O,type:D,value:T,slots:R={},slotProps:M={},...L}=t,[j,N]=Ai({controlled:s,default:!!l,name:"SwitchBase",state:"checked"}),B=Bo(),W=oe=>{C&&C(oe),B&&B.onFocus&&B.onFocus(oe)},$=oe=>{P&&P(oe),B&&B.onBlur&&B.onBlur(oe)},J=oe=>{if(oe.nativeEvent.defaultPrevented)return;const ae=oe.target.checked;N(ae),H&&H(oe,ae)};let Q=u;B&&typeof Q>"u"&&(Q=B.disabled);const re=D==="checkbox"||D==="radio",_={...t,checked:j,disabled:Q,disableFocusRipple:f,edge:p},q=CO(_),E={slots:R,slotProps:{input:x,...M}},[Z,X]=dt("root",{ref:n,elementType:OO,className:q.root,shouldForwardComponentProp:!0,externalForwardedProps:{...E,component:"span",...L},getSlotProps:oe=>({...oe,onFocus:ae=>{var ge;(ge=oe.onFocus)==null||ge.call(oe,ae),W(ae)},onBlur:ae=>{var ge;(ge=oe.onBlur)==null||ge.call(oe,ae),$(ae)}}),ownerState:_,additionalProps:{centerRipple:!0,focusRipple:!f,disabled:Q,role:void 0,tabIndex:null}}),[te,ee]=dt("input",{ref:w,elementType:DO,className:q.input,externalForwardedProps:E,getSlotProps:oe=>({onChange:ae=>{var ge;(ge=oe.onChange)==null||ge.call(oe,ae),J(ae)}}),ownerState:_,additionalProps:{autoFocus:r,checked:s,defaultChecked:l,disabled:Q,id:re?m:void 0,name:A,readOnly:S,required:z,tabIndex:O,type:D,...D==="checkbox"&&T===void 0?{}:{value:T}}});return v.jsxs(Z,{...X,children:[v.jsx(te,{...ee}),j?a:h]})}),kO=Pt(v.jsx("path",{d:"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"}),"CheckBoxOutlineBlank"),TO=Pt(v.jsx("path",{d:"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"}),"CheckBox"),EO=Pt(v.jsx("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z"}),"IndeterminateCheckBox");function RO(e){return Qe("MuiCheckbox",e)}const fm=Ke("MuiCheckbox",["root","checked","disabled","indeterminate","colorPrimary","colorSecondary","sizeSmall","sizeMedium"]),MO=e=>{const{classes:t,indeterminate:n,color:r,size:s}=e,a={root:["root",n&&"indeterminate",`color${ye(r)}`,`size${ye(s)}`]},l=_e(a,RO,t);return{...t,...l}},LO=ve(Pg,{shouldForwardProp:e=>Zn(e)||e==="classes",name:"MuiCheckbox",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.indeterminate&&t.indeterminate,t[`size${ye(n.size)}`],n.color!=="default"&&t[`color${ye(n.color)}`]]}})(tt(({theme:e})=>({color:(e.vars||e).palette.text.secondary,variants:[{props:{color:"default",disableRipple:!1},style:{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:bt(e.palette.action.active,e.palette.action.hoverOpacity)}}},...Object.entries(e.palette).filter(gn()).map(([t])=>({props:{color:t,disableRipple:!1},style:{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette[t].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:bt(e.palette[t].main,e.palette.action.hoverOpacity)}}})),...Object.entries(e.palette).filter(gn()).map(([t])=>({props:{color:t},style:{[`&.${fm.checked}, &.${fm.indeterminate}`]:{color:(e.vars||e).palette[t].main},[`&.${fm.disabled}`]:{color:(e.vars||e).palette.action.disabled}}})),{props:{disableRipple:!1},style:{"&:hover":{"@media (hover: none)":{backgroundColor:"transparent"}}}}]}))),XO=v.jsx(TO,{}),NO=v.jsx(kO,{}),BO=v.jsx(EO,{}),sx=g.forwardRef(function(t,n){const r=nt({props:t,name:"MuiCheckbox"}),{checkedIcon:s=XO,color:a="primary",icon:l=NO,indeterminate:u=!1,indeterminateIcon:f=BO,inputProps:p,size:h="medium",disableRipple:m=!1,className:x,slots:w={},slotProps:A={},...P}=r,H=u?f:l,C=u?f:s,S={...r,disableRipple:m,color:a,indeterminate:u,size:h},z=MO(S),O=A.input??p,[D,T]=dt("root",{ref:n,elementType:LO,className:Oe(z.root,x),shouldForwardComponentProp:!0,externalForwardedProps:{slots:w,slotProps:A,...P},ownerState:S,additionalProps:{type:"checkbox",icon:g.cloneElement(H,{fontSize:H.props.fontSize??h}),checkedIcon:g.cloneElement(C,{fontSize:C.props.fontSize??h}),disableRipple:m,slots:w,slotProps:{input:lg(typeof O=="function"?O(S):O,{"data-indeterminate":u})}}});return v.jsx(D,{...T,classes:z})});function ix(e){return e.substring(2).toLowerCase()}function VO(e,t){return t.documentElement.clientWidth(setTimeout(()=>{f.current=!0},0),()=>{f.current=!1}),[]);const h=pn(wi(t),u),m=hr(A=>{const P=p.current;p.current=!1;const H=ir(u.current);if(!f.current||!u.current||"clientX"in A&&VO(A,H))return;if(l.current){l.current=!1;return}let C;A.composedPath?C=A.composedPath().includes(u.current):C=!H.documentElement.contains(A.target)||u.current.contains(A.target),!C&&(n||!P)&&s(A)}),x=A=>P=>{p.current=!0;const H=t.props[A];H&&H(P)},w={ref:h};return a!==!1&&(w[a]=x(a)),g.useEffect(()=>{if(a!==!1){const A=ix(a),P=ir(u.current),H=()=>{l.current=!0};return P.addEventListener(A,m),P.addEventListener("touchmove",H),()=>{P.removeEventListener(A,m),P.removeEventListener("touchmove",H)}}},[m,a]),r!==!1&&(w[r]=x(r)),g.useEffect(()=>{if(r!==!1){const A=ix(r),P=ir(u.current);return P.addEventListener(A,m),()=>{P.removeEventListener(A,m)}}},[m,r]),g.cloneElement(t,w)}const ry=typeof ag({})=="function",IO=(e,t)=>({WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",boxSizing:"border-box",WebkitTextSizeAdjust:"100%",...t&&!e.vars&&{colorScheme:e.palette.mode}}),WO=e=>({color:(e.vars||e).palette.text.primary,...e.typography.body1,backgroundColor:(e.vars||e).palette.background.default,"@media print":{backgroundColor:(e.vars||e).palette.common.white}}),b1=(e,t=!1)=>{var a,l;const n={};t&&e.colorSchemes&&typeof e.getColorSchemeSelector=="function"&&Object.entries(e.colorSchemes).forEach(([u,f])=>{var h,m;const p=e.getColorSchemeSelector(u);p.startsWith("@")?n[p]={":root":{colorScheme:(h=f.palette)==null?void 0:h.mode}}:n[p.replace(/\s*&/,"")]={colorScheme:(m=f.palette)==null?void 0:m.mode}});let r={html:IO(e,t),"*, *::before, *::after":{boxSizing:"inherit"},"strong, b":{fontWeight:e.typography.fontWeightBold},body:{margin:0,...WO(e),"&::backdrop":{backgroundColor:(e.vars||e).palette.background.default}},...n};const s=(l=(a=e.components)==null?void 0:a.MuiCssBaseline)==null?void 0:l.styleOverrides;return s&&(r=[r,s]),r},Md="mui-ecs",JO=e=>{const t=b1(e,!1),n=Array.isArray(t)?t[0]:t;return!e.vars&&n&&(n.html[`:root:has(${Md})`]={colorScheme:e.palette.mode}),e.colorSchemes&&Object.entries(e.colorSchemes).forEach(([r,s])=>{var l,u;const a=e.getColorSchemeSelector(r);a.startsWith("@")?n[a]={[`:root:not(:has(.${Md}))`]:{colorScheme:(l=s.palette)==null?void 0:l.mode}}:n[a.replace(/\s*&/,"")]={[`&:not(:has(.${Md}))`]:{colorScheme:(u=s.palette)==null?void 0:u.mode}}}),t},FO=ag(ry?({theme:e,enableColorScheme:t})=>b1(e,t):({theme:e})=>JO(e));function YO(e){const t=nt({props:e,name:"MuiCssBaseline"}),{children:n,enableColorScheme:r=!1}=t;return v.jsxs(g.Fragment,{children:[ry&&v.jsx(FO,{enableColorScheme:r}),!ry&&!r&&v.jsx("span",{className:Md,style:{display:"none"}}),n]})}function qO(e){const t=ir(e);return t.body===e?Mo(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}function su(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function ax(e){return parseInt(Mo(e).getComputedStyle(e).paddingRight,10)||0}function ZO(e){const n=["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].includes(e.tagName),r=e.tagName==="INPUT"&&e.getAttribute("type")==="hidden";return n||r}function lx(e,t,n,r,s){const a=[t,n,...r];[].forEach.call(e.children,l=>{const u=!a.includes(l),f=!ZO(l);u&&f&&su(l,s)})}function dm(e,t){let n=-1;return e.some((r,s)=>t(r)?(n=s,!0):!1),n}function GO(e,t){const n=[],r=e.container;if(!t.disableScrollLock){if(qO(r)){const l=N0(Mo(r));n.push({value:r.style.paddingRight,property:"padding-right",el:r}),r.style.paddingRight=`${ax(r)+l}px`;const u=ir(r).querySelectorAll(".mui-fixed");[].forEach.call(u,f=>{n.push({value:f.style.paddingRight,property:"padding-right",el:f}),f.style.paddingRight=`${ax(f)+l}px`})}let a;if(r.parentNode instanceof DocumentFragment)a=ir(r).body;else{const l=r.parentElement,u=Mo(r);a=(l==null?void 0:l.nodeName)==="HTML"&&u.getComputedStyle(l).overflowY==="scroll"?l:r}n.push({value:a.style.overflow,property:"overflow",el:a},{value:a.style.overflowX,property:"overflow-x",el:a},{value:a.style.overflowY,property:"overflow-y",el:a}),a.style.overflow="hidden"}return()=>{n.forEach(({value:a,el:l,property:u})=>{a?l.style.setProperty(u,a):l.style.removeProperty(u)})}}function UO(e){const t=[];return[].forEach.call(e.children,n=>{n.getAttribute("aria-hidden")==="true"&&t.push(n)}),t}class QO{constructor(){this.modals=[],this.containers=[]}add(t,n){let r=this.modals.indexOf(t);if(r!==-1)return r;r=this.modals.length,this.modals.push(t),t.modalRef&&su(t.modalRef,!1);const s=UO(n);lx(n,t.mount,t.modalRef,s,!0);const a=dm(this.containers,l=>l.container===n);return a!==-1?(this.containers[a].modals.push(t),r):(this.containers.push({modals:[t],container:n,restore:null,hiddenSiblings:s}),r)}mount(t,n){const r=dm(this.containers,a=>a.modals.includes(t)),s=this.containers[r];s.restore||(s.restore=GO(s,n))}remove(t,n=!0){const r=this.modals.indexOf(t);if(r===-1)return r;const s=dm(this.containers,l=>l.modals.includes(t)),a=this.containers[s];if(a.modals.splice(a.modals.indexOf(t),1),this.modals.splice(r,1),a.modals.length===0)a.restore&&a.restore(),t.modalRef&&su(t.modalRef,n),lx(a.container,t.mount,t.modalRef,a.hiddenSiblings,!1),this.containers.splice(s,1);else{const l=a.modals[a.modals.length-1];l.modalRef&&su(l.modalRef,!1)}return r}isTopModal(t){return this.modals.length>0&&this.modals[this.modals.length-1]===t}}const KO=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function _O(e){const t=parseInt(e.getAttribute("tabindex")||"",10);return Number.isNaN(t)?e.contentEditable==="true"||(e.nodeName==="AUDIO"||e.nodeName==="VIDEO"||e.nodeName==="DETAILS")&&e.getAttribute("tabindex")===null?0:e.tabIndex:t}function $O(e){if(e.tagName!=="INPUT"||e.type!=="radio"||!e.name)return!1;const t=r=>e.ownerDocument.querySelector(`input[type="radio"]${r}`);let n=t(`[name="${e.name}"]:checked`);return n||(n=t(`[name="${e.name}"]`)),n!==e}function eD(e){return!(e.disabled||e.tagName==="INPUT"&&e.type==="hidden"||$O(e))}function tD(e){const t=[],n=[];return Array.from(e.querySelectorAll(KO)).forEach((r,s)=>{const a=_O(r);a===-1||!eD(r)||(a===0?t.push(r):n.push({documentOrder:s,tabIndex:a,node:r}))}),n.sort((r,s)=>r.tabIndex===s.tabIndex?r.documentOrder-s.documentOrder:r.tabIndex-s.tabIndex).map(r=>r.node).concat(t)}function nD(){return!0}function rD(e){const{children:t,disableAutoFocus:n=!1,disableEnforceFocus:r=!1,disableRestoreFocus:s=!1,getTabbable:a=tD,isEnabled:l=nD,open:u}=e,f=g.useRef(!1),p=g.useRef(null),h=g.useRef(null),m=g.useRef(null),x=g.useRef(null),w=g.useRef(!1),A=g.useRef(null),P=pn(wi(t),A),H=g.useRef(null);g.useEffect(()=>{!u||!A.current||(w.current=!n)},[n,u]),g.useEffect(()=>{if(!u||!A.current)return;const z=ir(A.current);return A.current.contains(z.activeElement)||(A.current.hasAttribute("tabIndex")||A.current.setAttribute("tabIndex","-1"),w.current&&A.current.focus()),()=>{s||(m.current&&m.current.focus&&(f.current=!0,m.current.focus()),m.current=null)}},[u]),g.useEffect(()=>{if(!u||!A.current)return;const z=ir(A.current),O=R=>{H.current=R,!(r||!l()||R.key!=="Tab")&&z.activeElement===A.current&&R.shiftKey&&(f.current=!0,h.current&&h.current.focus())},D=()=>{var L,j;const R=A.current;if(R===null)return;if(!z.hasFocus()||!l()||f.current){f.current=!1;return}if(R.contains(z.activeElement)||r&&z.activeElement!==p.current&&z.activeElement!==h.current)return;if(z.activeElement!==x.current)x.current=null;else if(x.current!==null)return;if(!w.current)return;let M=[];if((z.activeElement===p.current||z.activeElement===h.current)&&(M=a(A.current)),M.length>0){const N=!!((L=H.current)!=null&&L.shiftKey&&((j=H.current)==null?void 0:j.key)==="Tab"),B=M[0],W=M[M.length-1];typeof B!="string"&&typeof W!="string"&&(N?W.focus():B.focus())}else R.focus()};z.addEventListener("focusin",D),z.addEventListener("keydown",O,!0);const T=setInterval(()=>{z.activeElement&&z.activeElement.tagName==="BODY"&&D()},50);return()=>{clearInterval(T),z.removeEventListener("focusin",D),z.removeEventListener("keydown",O,!0)}},[n,r,s,l,u,a]);const C=z=>{m.current===null&&(m.current=z.relatedTarget),w.current=!0,x.current=z.target;const O=t.props.onFocus;O&&O(z)},S=z=>{m.current===null&&(m.current=z.relatedTarget),w.current=!0};return v.jsxs(g.Fragment,{children:[v.jsx("div",{tabIndex:u?0:-1,onFocus:S,ref:p,"data-testid":"sentinelStart"}),g.cloneElement(t,{ref:P,onFocus:C}),v.jsx("div",{tabIndex:u?0:-1,onFocus:S,ref:h,"data-testid":"sentinelEnd"})]})}function oD(e){return typeof e=="function"?e():e}function sD(e){return e?e.props.hasOwnProperty("in"):!1}const cx=()=>{},hd=new QO;function iD(e){const{container:t,disableEscapeKeyDown:n=!1,disableScrollLock:r=!1,closeAfterTransition:s=!1,onTransitionEnter:a,onTransitionExited:l,children:u,onClose:f,open:p,rootRef:h}=e,m=g.useRef({}),x=g.useRef(null),w=g.useRef(null),A=pn(w,h),[P,H]=g.useState(!p),C=sD(u);let S=!0;(e["aria-hidden"]==="false"||e["aria-hidden"]===!1)&&(S=!1);const z=()=>ir(x.current),O=()=>(m.current.modalRef=w.current,m.current.mount=x.current,m.current),D=()=>{hd.mount(O(),{disableScrollLock:r}),w.current&&(w.current.scrollTop=0)},T=hr(()=>{const J=oD(t)||z().body;hd.add(O(),J),w.current&&D()}),R=()=>hd.isTopModal(O()),M=hr(J=>{x.current=J,J&&(p&&R()?D():w.current&&su(w.current,S))}),L=g.useCallback(()=>{hd.remove(O(),S)},[S]);g.useEffect(()=>()=>{L()},[L]),g.useEffect(()=>{p?T():(!C||!s)&&L()},[p,L,C,s,T]);const j=J=>Q=>{var re;(re=J.onKeyDown)==null||re.call(J,Q),!(Q.key!=="Escape"||Q.which===229||!R())&&(n||(Q.stopPropagation(),f&&f(Q,"escapeKeyDown")))},N=J=>Q=>{var re;(re=J.onClick)==null||re.call(J,Q),Q.target===Q.currentTarget&&f&&f(Q,"backdropClick")};return{getRootProps:(J={})=>{const Q=$d(e);delete Q.onTransitionEnter,delete Q.onTransitionExited;const re={...Q,...J};return{role:"presentation",...re,onKeyDown:j(re),ref:A}},getBackdropProps:(J={})=>{const Q=J;return{"aria-hidden":!0,...Q,onClick:N(Q),open:p}},getTransitionProps:()=>{const J=()=>{H(!1),a&&a()},Q=()=>{H(!0),l&&l(),s&&L()};return{onEnter:Jm(J,(u==null?void 0:u.props.onEnter)??cx),onExited:Jm(Q,(u==null?void 0:u.props.onExited)??cx)}},rootRef:A,portalRef:M,isTopModal:R,exited:P,hasTransition:C}}function aD(e){return Qe("MuiModal",e)}Ke("MuiModal",["root","hidden","backdrop"]);const lD=e=>{const{open:t,exited:n,classes:r}=e;return _e({root:["root",!t&&n&&"hidden"],backdrop:["backdrop"]},aD,r)},cD=ve("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.open&&n.exited&&t.hidden]}})(tt(({theme:e})=>({position:"fixed",zIndex:(e.vars||e).zIndex.modal,right:0,bottom:0,top:0,left:0,variants:[{props:({ownerState:t})=>!t.open&&t.exited,style:{visibility:"hidden"}}]}))),uD=ve(y1,{name:"MuiModal",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})({zIndex:-1}),bg=g.forwardRef(function(t,n){const r=nt({name:"MuiModal",props:t}),{BackdropComponent:s=uD,BackdropProps:a,classes:l,className:u,closeAfterTransition:f=!1,children:p,container:h,component:m,components:x={},componentsProps:w={},disableAutoFocus:A=!1,disableEnforceFocus:P=!1,disableEscapeKeyDown:H=!1,disablePortal:C=!1,disableRestoreFocus:S=!1,disableScrollLock:z=!1,hideBackdrop:O=!1,keepMounted:D=!1,onBackdropClick:T,onClose:R,onTransitionEnter:M,onTransitionExited:L,open:j,slotProps:N={},slots:B={},theme:W,...$}=r,J={...r,closeAfterTransition:f,disableAutoFocus:A,disableEnforceFocus:P,disableEscapeKeyDown:H,disablePortal:C,disableRestoreFocus:S,disableScrollLock:z,hideBackdrop:O,keepMounted:D},{getRootProps:Q,getBackdropProps:re,getTransitionProps:_,portalRef:q,isTopModal:E,exited:Z,hasTransition:X}=iD({...J,rootRef:n}),te={...J,exited:Z},ee=lD(te),oe={};if(p.props.tabIndex===void 0&&(oe.tabIndex="-1"),X){const{onEnter:Ne,onExited:he}=_();oe.onEnter=Ne,oe.onExited=he}const ae={slots:{root:x.Root,backdrop:x.Backdrop,...B},slotProps:{...w,...N}},[ge,le]=dt("root",{ref:n,elementType:cD,externalForwardedProps:{...ae,...$,component:m},getSlotProps:Q,ownerState:te,className:Oe(u,ee==null?void 0:ee.root,!te.open&&te.exited&&(ee==null?void 0:ee.hidden))}),[ze,De]=dt("backdrop",{ref:a==null?void 0:a.ref,elementType:s,externalForwardedProps:ae,shouldForwardComponentProp:!0,additionalProps:a,getSlotProps:Ne=>re({...Ne,onClick:he=>{T&&T(he),Ne!=null&&Ne.onClick&&Ne.onClick(he)}}),className:Oe(a==null?void 0:a.className,ee==null?void 0:ee.backdrop),ownerState:te});return!D&&!j&&(!X||Z)?null:v.jsx(h1,{ref:q,container:h,disablePortal:C,children:v.jsxs(ge,{...le,children:[!O&&s?v.jsx(ze,{...De}):null,v.jsx(rD,{disableEnforceFocus:P,disableAutoFocus:A,disableRestoreFocus:S,isEnabled:E,open:j,children:g.cloneElement(p,oe)})]})})});function fD(e){return Qe("MuiDialog",e)}const pm=Ke("MuiDialog",["root","scrollPaper","scrollBody","container","paper","paperScrollPaper","paperScrollBody","paperWidthFalse","paperWidthXs","paperWidthSm","paperWidthMd","paperWidthLg","paperWidthXl","paperFullWidth","paperFullScreen"]),x1=g.createContext({}),dD=ve(y1,{name:"MuiDialog",slot:"Backdrop",overrides:(e,t)=>t.backdrop})({zIndex:-1}),pD=e=>{const{classes:t,scroll:n,maxWidth:r,fullWidth:s,fullScreen:a}=e,l={root:["root"],container:["container",`scroll${ye(n)}`],paper:["paper",`paperScroll${ye(n)}`,`paperWidth${ye(String(r))}`,s&&"paperFullWidth",a&&"paperFullScreen"]};return _e(l,fD,t)},vD=ve(bg,{name:"MuiDialog",slot:"Root",overridesResolver:(e,t)=>t.root})({"@media print":{position:"absolute !important"}}),hD=ve("div",{name:"MuiDialog",slot:"Container",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.container,t[`scroll${ye(n.scroll)}`]]}})({height:"100%","@media print":{height:"auto"},outline:0,variants:[{props:{scroll:"paper"},style:{display:"flex",justifyContent:"center",alignItems:"center"}},{props:{scroll:"body"},style:{overflowY:"auto",overflowX:"hidden",textAlign:"center","&::after":{content:'""',display:"inline-block",verticalAlign:"middle",height:"100%",width:"0"}}}]}),mD=ve(qr,{name:"MuiDialog",slot:"Paper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.paper,t[`scrollPaper${ye(n.scroll)}`],t[`paperWidth${ye(String(n.maxWidth))}`],n.fullWidth&&t.paperFullWidth,n.fullScreen&&t.paperFullScreen]}})(tt(({theme:e})=>({margin:32,position:"relative",overflowY:"auto","@media print":{overflowY:"visible",boxShadow:"none"},variants:[{props:{scroll:"paper"},style:{display:"flex",flexDirection:"column",maxHeight:"calc(100% - 64px)"}},{props:{scroll:"body"},style:{display:"inline-block",verticalAlign:"middle",textAlign:"initial"}},{props:({ownerState:t})=>!t.maxWidth,style:{maxWidth:"calc(100% - 64px)"}},{props:{maxWidth:"xs"},style:{maxWidth:e.breakpoints.unit==="px"?Math.max(e.breakpoints.values.xs,444):`max(${e.breakpoints.values.xs}${e.breakpoints.unit}, 444px)`,[`&.${pm.paperScrollBody}`]:{[e.breakpoints.down(Math.max(e.breakpoints.values.xs,444)+32*2)]:{maxWidth:"calc(100% - 64px)"}}}},...Object.keys(e.breakpoints.values).filter(t=>t!=="xs").map(t=>({props:{maxWidth:t},style:{maxWidth:`${e.breakpoints.values[t]}${e.breakpoints.unit}`,[`&.${pm.paperScrollBody}`]:{[e.breakpoints.down(e.breakpoints.values[t]+32*2)]:{maxWidth:"calc(100% - 64px)"}}}})),{props:({ownerState:t})=>t.fullWidth,style:{width:"calc(100% - 64px)"}},{props:({ownerState:t})=>t.fullScreen,style:{margin:0,width:"100%",maxWidth:"100%",height:"100%",maxHeight:"none",borderRadius:0,[`&.${pm.paperScrollBody}`]:{margin:0,maxWidth:"100%"}}}]}))),ol=g.forwardRef(function(t,n){const r=nt({props:t,name:"MuiDialog"}),s=Gr(),a={enter:s.transitions.duration.enteringScreen,exit:s.transitions.duration.leavingScreen},{"aria-describedby":l,"aria-labelledby":u,"aria-modal":f=!0,BackdropComponent:p,BackdropProps:h,children:m,className:x,disableEscapeKeyDown:w=!1,fullScreen:A=!1,fullWidth:P=!1,maxWidth:H="sm",onBackdropClick:C,onClick:S,onClose:z,open:O,PaperComponent:D=qr,PaperProps:T={},scroll:R="paper",slots:M={},slotProps:L={},TransitionComponent:j=ty,transitionDuration:N=a,TransitionProps:B,...W}=r,$={...r,disableEscapeKeyDown:w,fullScreen:A,fullWidth:P,maxWidth:H,scroll:R},J=pD($),Q=g.useRef(),re=be=>{Q.current=be.target===be.currentTarget},_=be=>{S&&S(be),Q.current&&(Q.current=null,C&&C(be),z&&z(be,"backdropClick"))},q=us(u),E=g.useMemo(()=>({titleId:q}),[q]),Z={transition:j,...M},X={transition:B,paper:T,backdrop:h,...L},te={slots:Z,slotProps:X},[ee,oe]=dt("root",{elementType:vD,shouldForwardComponentProp:!0,externalForwardedProps:te,ownerState:$,className:Oe(J.root,x),ref:n}),[ae,ge]=dt("backdrop",{elementType:dD,shouldForwardComponentProp:!0,externalForwardedProps:te,ownerState:$}),[le,ze]=dt("paper",{elementType:mD,shouldForwardComponentProp:!0,externalForwardedProps:te,ownerState:$,className:Oe(J.paper,T.className)}),[De,Ne]=dt("container",{elementType:hD,externalForwardedProps:te,ownerState:$,className:Oe(J.container)}),[he,Ie]=dt("transition",{elementType:ty,externalForwardedProps:te,ownerState:$,additionalProps:{appear:!0,in:O,timeout:N,role:"presentation"}});return v.jsx(ee,{closeAfterTransition:!0,slots:{backdrop:ae},slotProps:{backdrop:{transitionDuration:N,as:p,...ge}},disableEscapeKeyDown:w,onClose:z,open:O,onClick:_,...oe,...W,children:v.jsx(he,{...Ie,children:v.jsx(De,{onMouseDown:re,...Ne,children:v.jsx(le,{as:D,elevation:24,role:"dialog","aria-describedby":l,"aria-labelledby":q,"aria-modal":f,...ze,children:v.jsx(x1.Provider,{value:E,children:m})})})})})});function yD(e){return Qe("MuiDialogActions",e)}Ke("MuiDialogActions",["root","spacing"]);const gD=e=>{const{classes:t,disableSpacing:n}=e;return _e({root:["root",!n&&"spacing"]},yD,t)},AD=ve("div",{name:"MuiDialogActions",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disableSpacing&&t.spacing]}})({display:"flex",alignItems:"center",padding:8,justifyContent:"flex-end",flex:"0 0 auto",variants:[{props:({ownerState:e})=>!e.disableSpacing,style:{"& > :not(style) ~ :not(style)":{marginLeft:8}}}]}),PD=g.forwardRef(function(t,n){const r=nt({props:t,name:"MuiDialogActions"}),{className:s,disableSpacing:a=!1,...l}=r,u={...r,disableSpacing:a},f=gD(u);return v.jsx(AD,{className:Oe(f.root,s),ownerState:u,ref:n,...l})});function bD(e){return Qe("MuiDialogContent",e)}Ke("MuiDialogContent",["root","dividers"]);function xD(e){return Qe("MuiDialogTitle",e)}const wD=Ke("MuiDialogTitle",["root"]),HD=e=>{const{classes:t,dividers:n}=e;return _e({root:["root",n&&"dividers"]},bD,t)},jD=ve("div",{name:"MuiDialogContent",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.dividers&&t.dividers]}})(tt(({theme:e})=>({flex:"1 1 auto",WebkitOverflowScrolling:"touch",overflowY:"auto",padding:"20px 24px",variants:[{props:({ownerState:t})=>t.dividers,style:{padding:"16px 24px",borderTop:`1px solid ${(e.vars||e).palette.divider}`,borderBottom:`1px solid ${(e.vars||e).palette.divider}`}},{props:({ownerState:t})=>!t.dividers,style:{[`.${wD.root} + &`]:{paddingTop:0}}}]}))),Gc=g.forwardRef(function(t,n){const r=nt({props:t,name:"MuiDialogContent"}),{className:s,dividers:a=!1,...l}=r,u={...r,dividers:a},f=HD(u);return v.jsx(jD,{className:Oe(f.root,s),ownerState:u,ref:n,...l})}),zD=e=>{const{classes:t}=e;return _e({root:["root"]},xD,t)},SD=ve(Ht,{name:"MuiDialogTitle",slot:"Root",overridesResolver:(e,t)=>t.root})({padding:"16px 24px",flex:"0 0 auto"}),Uc=g.forwardRef(function(t,n){const r=nt({props:t,name:"MuiDialogTitle"}),{className:s,id:a,...l}=r,u=r,f=zD(u),{titleId:p=a}=g.useContext(x1);return v.jsx(SD,{component:"h2",className:Oe(f.root,s),ownerState:u,ref:n,variant:"h6",id:a??p,...l})});function CD(e){return Qe("MuiDivider",e)}const ux=Ke("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]),OD=e=>{const{absolute:t,children:n,classes:r,flexItem:s,light:a,orientation:l,textAlign:u,variant:f}=e;return _e({root:["root",t&&"absolute",f,a&&"light",l==="vertical"&&"vertical",s&&"flexItem",n&&"withChildren",n&&l==="vertical"&&"withChildrenVertical",u==="right"&&l!=="vertical"&&"textAlignRight",u==="left"&&l!=="vertical"&&"textAlignLeft"],wrapper:["wrapper",l==="vertical"&&"wrapperVertical"]},CD,r)},DD=ve("div",{name:"MuiDivider",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.absolute&&t.absolute,t[n.variant],n.light&&t.light,n.orientation==="vertical"&&t.vertical,n.flexItem&&t.flexItem,n.children&&t.withChildren,n.children&&n.orientation==="vertical"&&t.withChildrenVertical,n.textAlign==="right"&&n.orientation!=="vertical"&&t.textAlignRight,n.textAlign==="left"&&n.orientation!=="vertical"&&t.textAlignLeft]}})(tt(({theme:e})=>({margin:0,flexShrink:0,borderWidth:0,borderStyle:"solid",borderColor:(e.vars||e).palette.divider,borderBottomWidth:"thin",variants:[{props:{absolute:!0},style:{position:"absolute",bottom:0,left:0,width:"100%"}},{props:{light:!0},style:{borderColor:e.vars?`rgba(${e.vars.palette.dividerChannel} / 0.08)`:bt(e.palette.divider,.08)}},{props:{variant:"inset"},style:{marginLeft:72}},{props:{variant:"middle",orientation:"horizontal"},style:{marginLeft:e.spacing(2),marginRight:e.spacing(2)}},{props:{variant:"middle",orientation:"vertical"},style:{marginTop:e.spacing(1),marginBottom:e.spacing(1)}},{props:{orientation:"vertical"},style:{height:"100%",borderBottomWidth:0,borderRightWidth:"thin"}},{props:{flexItem:!0},style:{alignSelf:"stretch",height:"auto"}},{props:({ownerState:t})=>!!t.children,style:{display:"flex",textAlign:"center",border:0,borderTopStyle:"solid",borderLeftStyle:"solid","&::before, &::after":{content:'""',alignSelf:"center"}}},{props:({ownerState:t})=>t.children&&t.orientation!=="vertical",style:{"&::before, &::after":{width:"100%",borderTop:`thin solid ${(e.vars||e).palette.divider}`,borderTopStyle:"inherit"}}},{props:({ownerState:t})=>t.orientation==="vertical"&&t.children,style:{flexDirection:"column","&::before, &::after":{height:"100%",borderLeft:`thin solid ${(e.vars||e).palette.divider}`,borderLeftStyle:"inherit"}}},{props:({ownerState:t})=>t.textAlign==="right"&&t.orientation!=="vertical",style:{"&::before":{width:"90%"},"&::after":{width:"10%"}}},{props:({ownerState:t})=>t.textAlign==="left"&&t.orientation!=="vertical",style:{"&::before":{width:"10%"},"&::after":{width:"90%"}}}]}))),kD=ve("span",{name:"MuiDivider",slot:"Wrapper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.wrapper,n.orientation==="vertical"&&t.wrapperVertical]}})(tt(({theme:e})=>({display:"inline-block",paddingLeft:`calc(${e.spacing(1)} * 1.2)`,paddingRight:`calc(${e.spacing(1)} * 1.2)`,whiteSpace:"nowrap",variants:[{props:{orientation:"vertical"},style:{paddingTop:`calc(${e.spacing(1)} * 1.2)`,paddingBottom:`calc(${e.spacing(1)} * 1.2)`}}]}))),pa=g.forwardRef(function(t,n){const r=nt({props:t,name:"MuiDivider"}),{absolute:s=!1,children:a,className:l,orientation:u="horizontal",component:f=a||u==="vertical"?"div":"hr",flexItem:p=!1,light:h=!1,role:m=f!=="hr"?"separator":void 0,textAlign:x="center",variant:w="fullWidth",...A}=r,P={...r,absolute:s,component:f,flexItem:p,light:h,orientation:u,role:m,textAlign:x,variant:w},H=OD(P);return v.jsx(DD,{as:f,className:Oe(H.root,l),role:m,ref:n,ownerState:P,"aria-orientation":m==="separator"&&(f!=="hr"||u==="vertical")?u:void 0,...A,children:a?v.jsx(kD,{className:H.wrapper,ownerState:P,children:a}):null})});pa&&(pa.muiSkipListHighlight=!0);function TD(e,t,n){const r=t.getBoundingClientRect(),s=n&&n.getBoundingClientRect(),a=Mo(t);let l;if(t.fakeTransform)l=t.fakeTransform;else{const p=a.getComputedStyle(t);l=p.getPropertyValue("-webkit-transform")||p.getPropertyValue("transform")}let u=0,f=0;if(l&&l!=="none"&&typeof l=="string"){const p=l.split("(")[1].split(")")[0].split(",");u=parseInt(p[4],10),f=parseInt(p[5],10)}return e==="left"?s?`translateX(${s.right+u-r.left}px)`:`translateX(${a.innerWidth+u-r.left}px)`:e==="right"?s?`translateX(-${r.right-s.left-u}px)`:`translateX(-${r.left+r.width-u}px)`:e==="up"?s?`translateY(${s.bottom+f-r.top}px)`:`translateY(${a.innerHeight+f-r.top}px)`:s?`translateY(-${r.top-s.top+r.height-f}px)`:`translateY(-${r.top+r.height-f}px)`}function ED(e){return typeof e=="function"?e():e}function md(e,t,n){const r=ED(n),s=TD(e,t,r);s&&(t.style.webkitTransform=s,t.style.transform=s)}const RD=g.forwardRef(function(t,n){const r=Gr(),s={enter:r.transitions.easing.easeOut,exit:r.transitions.easing.sharp},a={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{addEndListener:l,appear:u=!0,children:f,container:p,direction:h="down",easing:m=s,in:x,onEnter:w,onEntered:A,onEntering:P,onExit:H,onExited:C,onExiting:S,style:z,timeout:O=a,TransitionComponent:D=No,...T}=t,R=g.useRef(null),M=pn(wi(f),R,n),L=_=>q=>{_&&(q===void 0?_(R.current):_(R.current,q))},j=L((_,q)=>{md(h,_,p),fg(_),w&&w(_,q)}),N=L((_,q)=>{const E=zl({timeout:O,style:z,easing:m},{mode:"enter"});_.style.webkitTransition=r.transitions.create("-webkit-transform",{...E}),_.style.transition=r.transitions.create("transform",{...E}),_.style.webkitTransform="none",_.style.transform="none",P&&P(_,q)}),B=L(A),W=L(S),$=L(_=>{const q=zl({timeout:O,style:z,easing:m},{mode:"exit"});_.style.webkitTransition=r.transitions.create("-webkit-transform",q),_.style.transition=r.transitions.create("transform",q),md(h,_,p),H&&H(_)}),J=L(_=>{_.style.webkitTransition="",_.style.transition="",C&&C(_)}),Q=_=>{l&&l(R.current,_)},re=g.useCallback(()=>{R.current&&md(h,R.current,p)},[h,p]);return g.useEffect(()=>{if(x||h==="down"||h==="right")return;const _=tg(()=>{R.current&&md(h,R.current,p)}),q=Mo(R.current);return q.addEventListener("resize",_),()=>{_.clear(),q.removeEventListener("resize",_)}},[h,x,p]),g.useEffect(()=>{x||re()},[x,re]),v.jsx(D,{nodeRef:R,onEnter:j,onEntered:B,onEntering:N,onExit:$,onExited:J,onExiting:W,addEndListener:Q,appear:u,in:x,timeout:O,...T,children:(_,{ownerState:q,...E})=>g.cloneElement(f,{ref:M,style:{visibility:_==="exited"&&!x?"hidden":void 0,...z,...f.props.style},...E})})});function MD(e){return Qe("MuiDrawer",e)}Ke("MuiDrawer",["root","docked","paper","anchorLeft","anchorRight","anchorTop","anchorBottom","paperAnchorLeft","paperAnchorRight","paperAnchorTop","paperAnchorBottom","paperAnchorDockedLeft","paperAnchorDockedRight","paperAnchorDockedTop","paperAnchorDockedBottom","modal"]);const w1=(e,t)=>{const{ownerState:n}=e;return[t.root,(n.variant==="permanent"||n.variant==="persistent")&&t.docked,t.modal]},LD=e=>{const{classes:t,anchor:n,variant:r}=e,s={root:["root",`anchor${ye(n)}`],docked:[(r==="permanent"||r==="persistent")&&"docked"],modal:["modal"],paper:["paper",`paperAnchor${ye(n)}`,r!=="temporary"&&`paperAnchorDocked${ye(n)}`]};return _e(s,MD,t)},XD=ve(bg,{name:"MuiDrawer",slot:"Root",overridesResolver:w1})(tt(({theme:e})=>({zIndex:(e.vars||e).zIndex.drawer}))),ND=ve("div",{shouldForwardProp:Zn,name:"MuiDrawer",slot:"Docked",skipVariantsResolver:!1,overridesResolver:w1})({flex:"0 0 auto"}),BD=ve(qr,{name:"MuiDrawer",slot:"Paper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.paper,t[`paperAnchor${ye(n.anchor)}`],n.variant!=="temporary"&&t[`paperAnchorDocked${ye(n.anchor)}`]]}})(tt(({theme:e})=>({overflowY:"auto",display:"flex",flexDirection:"column",height:"100%",flex:"1 0 auto",zIndex:(e.vars||e).zIndex.drawer,WebkitOverflowScrolling:"touch",position:"fixed",top:0,outline:0,variants:[{props:{anchor:"left"},style:{left:0}},{props:{anchor:"top"},style:{top:0,left:0,right:0,height:"auto",maxHeight:"100%"}},{props:{anchor:"right"},style:{right:0}},{props:{anchor:"bottom"},style:{top:"auto",left:0,bottom:0,right:0,height:"auto",maxHeight:"100%"}},{props:({ownerState:t})=>t.anchor==="left"&&t.variant!=="temporary",style:{borderRight:`1px solid ${(e.vars||e).palette.divider}`}},{props:({ownerState:t})=>t.anchor==="top"&&t.variant!=="temporary",style:{borderBottom:`1px solid ${(e.vars||e).palette.divider}`}},{props:({ownerState:t})=>t.anchor==="right"&&t.variant!=="temporary",style:{borderLeft:`1px solid ${(e.vars||e).palette.divider}`}},{props:({ownerState:t})=>t.anchor==="bottom"&&t.variant!=="temporary",style:{borderTop:`1px solid ${(e.vars||e).palette.divider}`}}]}))),H1={left:"right",right:"left",top:"down",bottom:"up"};function VD(e){return["left","right"].includes(e)}function ID({direction:e},t){return e==="rtl"&&VD(t)?H1[t]:t}const WD=g.forwardRef(function(t,n){const r=nt({props:t,name:"MuiDrawer"}),s=Gr(),a=Nu(),l={enter:s.transitions.duration.enteringScreen,exit:s.transitions.duration.leavingScreen},{anchor:u="left",BackdropProps:f,children:p,className:h,elevation:m=16,hideBackdrop:x=!1,ModalProps:{BackdropProps:w,...A}={},onClose:P,open:H=!1,PaperProps:C={},SlideProps:S,TransitionComponent:z,transitionDuration:O=l,variant:D="temporary",slots:T={},slotProps:R={},...M}=r,L=g.useRef(!1);g.useEffect(()=>{L.current=!0},[]);const j=ID({direction:a?"rtl":"ltr"},u),B={...r,anchor:u,elevation:m,open:H,variant:D,...M},W=LD(B),$={slots:{transition:z,...T},slotProps:{paper:C,transition:S,...R,backdrop:lg(R.backdrop||{...f,...w},{transitionDuration:O})}},[J,Q]=dt("root",{ref:n,elementType:XD,className:Oe(W.root,W.modal,h),shouldForwardComponentProp:!0,ownerState:B,externalForwardedProps:{...$,...M,...A},additionalProps:{open:H,onClose:P,hideBackdrop:x,slots:{backdrop:$.slots.backdrop},slotProps:{backdrop:$.slotProps.backdrop}}}),[re,_]=dt("paper",{elementType:BD,shouldForwardComponentProp:!0,className:Oe(W.paper,C.className),ownerState:B,externalForwardedProps:$,additionalProps:{elevation:D==="temporary"?m:0,square:!0}}),[q,E]=dt("docked",{elementType:ND,ref:n,className:Oe(W.root,W.docked,h),ownerState:B,externalForwardedProps:$,additionalProps:M}),[Z,X]=dt("transition",{elementType:RD,ownerState:B,externalForwardedProps:$,additionalProps:{in:H,direction:H1[j],timeout:O,appear:L.current}}),te=v.jsx(re,{..._,children:p});if(D==="permanent")return v.jsx(q,{...E,children:te});const ee=v.jsx(Z,{...X,children:te});return D==="persistent"?v.jsx(q,{...E,children:ee}):v.jsx(J,{...Q,children:ee})}),JD=e=>{const{classes:t,disableUnderline:n,startAdornment:r,endAdornment:s,size:a,hiddenLabel:l,multiline:u}=e,f={root:["root",!n&&"underline",r&&"adornedStart",s&&"adornedEnd",a==="small"&&`size${ye(a)}`,l&&"hiddenLabel",u&&"multiline"],input:["input"]},p=_e(f,VC,t);return{...t,...p}},FD=ve(Bp,{shouldForwardProp:e=>Zn(e)||e==="classes",name:"MuiFilledInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[...Xp(e,t),!n.disableUnderline&&t.underline]}})(tt(({theme:e})=>{const t=e.palette.mode==="light",n=t?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)",r=t?"rgba(0, 0, 0, 0.06)":"rgba(255, 255, 255, 0.09)",s=t?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.13)",a=t?"rgba(0, 0, 0, 0.12)":"rgba(255, 255, 255, 0.12)";return{position:"relative",backgroundColor:e.vars?e.vars.palette.FilledInput.bg:r,borderTopLeftRadius:(e.vars||e).shape.borderRadius,borderTopRightRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),"&:hover":{backgroundColor:e.vars?e.vars.palette.FilledInput.hoverBg:s,"@media (hover: none)":{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:r}},[`&.${Ir.focused}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:r},[`&.${Ir.disabled}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.disabledBg:a},variants:[{props:({ownerState:l})=>!l.disableUnderline,style:{"&::after":{left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${Ir.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${Ir.error}`]:{"&::before, &::after":{borderBottomColor:(e.vars||e).palette.error.main}},"&::before":{borderBottom:`1px solid ${e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / ${e.vars.opacity.inputUnderline})`:n}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${Ir.disabled}, .${Ir.error}):before`]:{borderBottom:`1px solid ${(e.vars||e).palette.text.primary}`},[`&.${Ir.disabled}:before`]:{borderBottomStyle:"dotted"}}},...Object.entries(e.palette).filter(gn()).map(([l])=>{var u;return{props:{disableUnderline:!1,color:l},style:{"&::after":{borderBottom:`2px solid ${(u=(e.vars||e).palette[l])==null?void 0:u.main}`}}}}),{props:({ownerState:l})=>l.startAdornment,style:{paddingLeft:12}},{props:({ownerState:l})=>l.endAdornment,style:{paddingRight:12}},{props:({ownerState:l})=>l.multiline,style:{padding:"25px 12px 8px"}},{props:({ownerState:l,size:u})=>l.multiline&&u==="small",style:{paddingTop:21,paddingBottom:4}},{props:({ownerState:l})=>l.multiline&&l.hiddenLabel,style:{paddingTop:16,paddingBottom:17}},{props:({ownerState:l})=>l.multiline&&l.hiddenLabel&&l.size==="small",style:{paddingTop:8,paddingBottom:9}}]}})),YD=ve(Vp,{name:"MuiFilledInput",slot:"Input",overridesResolver:Np})(tt(({theme:e})=>({paddingTop:25,paddingRight:12,paddingBottom:8,paddingLeft:12,...!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:e.palette.mode==="light"?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:e.palette.mode==="light"?null:"#fff",caretColor:e.palette.mode==="light"?null:"#fff",borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"}},...e.vars&&{"&:-webkit-autofill":{borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},variants:[{props:{size:"small"},style:{paddingTop:21,paddingBottom:4}},{props:({ownerState:t})=>t.hiddenLabel,style:{paddingTop:16,paddingBottom:17}},{props:({ownerState:t})=>t.startAdornment,style:{paddingLeft:0}},{props:({ownerState:t})=>t.endAdornment,style:{paddingRight:0}},{props:({ownerState:t})=>t.hiddenLabel&&t.size==="small",style:{paddingTop:8,paddingBottom:9}},{props:({ownerState:t})=>t.multiline,style:{paddingTop:0,paddingBottom:0,paddingLeft:0,paddingRight:0}}]}))),xg=g.forwardRef(function(t,n){const r=nt({props:t,name:"MuiFilledInput"}),{disableUnderline:s=!1,components:a={},componentsProps:l,fullWidth:u=!1,hiddenLabel:f,inputComponent:p="input",multiline:h=!1,slotProps:m,slots:x={},type:w="text",...A}=r,P={...r,disableUnderline:s,fullWidth:u,inputComponent:p,multiline:h,type:w},H=JD(r),C={root:{ownerState:P},input:{ownerState:P}},S=m??l?qn(C,m??l):C,z=x.root??a.Root??FD,O=x.input??a.Input??YD;return v.jsx(Ip,{slots:{root:z,input:O},slotProps:S,fullWidth:u,inputComponent:p,multiline:h,ref:n,type:w,...A,classes:H})});xg.muiName="Input";function qD(e){return Qe("MuiFormControl",e)}Ke("MuiFormControl",["root","marginNone","marginNormal","marginDense","fullWidth","disabled"]);const ZD=e=>{const{classes:t,margin:n,fullWidth:r}=e,s={root:["root",n!=="none"&&`margin${ye(n)}`,r&&"fullWidth"]};return _e(s,qD,t)},GD=ve("div",{name:"MuiFormControl",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`margin${ye(n.margin)}`],n.fullWidth&&t.fullWidth]}})({display:"inline-flex",flexDirection:"column",position:"relative",minWidth:0,padding:0,margin:0,border:0,verticalAlign:"top",variants:[{props:{margin:"normal"},style:{marginTop:16,marginBottom:8}},{props:{margin:"dense"},style:{marginTop:8,marginBottom:4}},{props:{fullWidth:!0},style:{width:"100%"}}]}),cr=g.forwardRef(function(t,n){const r=nt({props:t,name:"MuiFormControl"}),{children:s,className:a,color:l="primary",component:u="div",disabled:f=!1,error:p=!1,focused:h,fullWidth:m=!1,hiddenLabel:x=!1,margin:w="none",required:A=!1,size:P="medium",variant:H="outlined",...C}=r,S={...r,color:l,component:u,disabled:f,error:p,fullWidth:m,hiddenLabel:x,margin:w,required:A,size:P,variant:H},z=ZD(S),[O,D]=g.useState(()=>{let J=!1;return s&&g.Children.forEach(s,Q=>{if(!Ed(Q,["Input","Select"]))return;const re=Ed(Q,["Select"])?Q.props.input:Q;re&&MC(re.props)&&(J=!0)}),J}),[T,R]=g.useState(()=>{let J=!1;return s&&g.Children.forEach(s,Q=>{Ed(Q,["Input","Select"])&&(op(Q.props,!0)||op(Q.props.inputProps,!0))&&(J=!0)}),J}),[M,L]=g.useState(!1);f&&M&&L(!1);const j=h!==void 0&&!f?h:M;let N;g.useRef(!1);const B=g.useCallback(()=>{R(!0)},[]),W=g.useCallback(()=>{R(!1)},[]),$=g.useMemo(()=>({adornedStart:O,setAdornedStart:D,color:l,disabled:f,error:p,filled:T,focused:j,fullWidth:m,hiddenLabel:x,size:P,onBlur:()=>{L(!1)},onFocus:()=>{L(!0)},onEmpty:W,onFilled:B,registerEffect:N,required:A,variant:H}),[O,l,f,p,T,j,m,x,N,W,B,A,P,H]);return v.jsx(Lp.Provider,{value:$,children:v.jsx(GD,{as:u,ownerState:S,className:Oe(z.root,a),ref:n,...C,children:s})})});function UD(e){return Qe("MuiFormControlLabel",e)}const Qc=Ke("MuiFormControlLabel",["root","labelPlacementStart","labelPlacementTop","labelPlacementBottom","disabled","label","error","required","asterisk"]),QD=e=>{const{classes:t,disabled:n,labelPlacement:r,error:s,required:a}=e,l={root:["root",n&&"disabled",`labelPlacement${ye(r)}`,s&&"error",a&&"required"],label:["label",n&&"disabled"],asterisk:["asterisk",s&&"error"]};return _e(l,UD,t)},KD=ve("label",{name:"MuiFormControlLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${Qc.label}`]:t.label},t.root,t[`labelPlacement${ye(n.labelPlacement)}`]]}})(tt(({theme:e})=>({display:"inline-flex",alignItems:"center",cursor:"pointer",verticalAlign:"middle",WebkitTapHighlightColor:"transparent",marginLeft:-11,marginRight:16,[`&.${Qc.disabled}`]:{cursor:"default"},[`& .${Qc.label}`]:{[`&.${Qc.disabled}`]:{color:(e.vars||e).palette.text.disabled}},variants:[{props:{labelPlacement:"start"},style:{flexDirection:"row-reverse",marginRight:-11}},{props:{labelPlacement:"top"},style:{flexDirection:"column-reverse"}},{props:{labelPlacement:"bottom"},style:{flexDirection:"column"}},{props:({labelPlacement:t})=>t==="start"||t==="top"||t==="bottom",style:{marginLeft:16}}]}))),_D=ve("span",{name:"MuiFormControlLabel",slot:"Asterisk",overridesResolver:(e,t)=>t.asterisk})(tt(({theme:e})=>({[`&.${Qc.error}`]:{color:(e.vars||e).palette.error.main}}))),Ds=g.forwardRef(function(t,n){const r=nt({props:t,name:"MuiFormControlLabel"}),{checked:s,className:a,componentsProps:l={},control:u,disabled:f,disableTypography:p,inputRef:h,label:m,labelPlacement:x="end",name:w,onChange:A,required:P,slots:H={},slotProps:C={},value:S,...z}=r,O=Bo(),D=f??u.props.disabled??(O==null?void 0:O.disabled),T=P??u.props.required,R={disabled:D,required:T};["checked","name","onChange","value","inputRef"].forEach(J=>{typeof u.props[J]>"u"&&typeof r[J]<"u"&&(R[J]=r[J])});const M=ji({props:r,muiFormControl:O,states:["error"]}),L={...r,disabled:D,labelPlacement:x,required:T,error:M.error},j=QD(L),N={slots:H,slotProps:{...l,...C}},[B,W]=dt("typography",{elementType:Ht,externalForwardedProps:N,ownerState:L});let $=m;return $!=null&&$.type!==Ht&&!p&&($=v.jsx(B,{component:"span",...W,className:Oe(j.label,W==null?void 0:W.className),children:$})),v.jsxs(KD,{className:Oe(j.root,a),ownerState:L,ref:n,...z,children:[g.cloneElement(u,R),T?v.jsxs("div",{children:[$,v.jsxs(_D,{ownerState:L,"aria-hidden":!0,className:j.asterisk,children:[" ","*"]})]}):$]})});function $D(e){return Qe("MuiFormGroup",e)}Ke("MuiFormGroup",["root","row","error"]);const ek=e=>{const{classes:t,row:n,error:r}=e;return _e({root:["root",n&&"row",r&&"error"]},$D,t)},tk=ve("div",{name:"MuiFormGroup",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.row&&t.row]}})({display:"flex",flexDirection:"column",flexWrap:"wrap",variants:[{props:{row:!0},style:{flexDirection:"row"}}]}),nk=g.forwardRef(function(t,n){const r=nt({props:t,name:"MuiFormGroup"}),{className:s,row:a=!1,...l}=r,u=Bo(),f=ji({props:r,muiFormControl:u,states:["error"]}),p={...r,row:a,error:f.error},h=ek(p);return v.jsx(tk,{className:Oe(h.root,s),ownerState:p,ref:n,...l})});function rk(e){return Qe("MuiFormHelperText",e)}const fx=Ke("MuiFormHelperText",["root","error","disabled","sizeSmall","sizeMedium","contained","focused","filled","required"]);var dx;const ok=e=>{const{classes:t,contained:n,size:r,disabled:s,error:a,filled:l,focused:u,required:f}=e,p={root:["root",s&&"disabled",a&&"error",r&&`size${ye(r)}`,n&&"contained",u&&"focused",l&&"filled",f&&"required"]};return _e(p,rk,t)},sk=ve("p",{name:"MuiFormHelperText",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.size&&t[`size${ye(n.size)}`],n.contained&&t.contained,n.filled&&t.filled]}})(tt(({theme:e})=>({color:(e.vars||e).palette.text.secondary,...e.typography.caption,textAlign:"left",marginTop:3,marginRight:0,marginBottom:0,marginLeft:0,[`&.${fx.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${fx.error}`]:{color:(e.vars||e).palette.error.main},variants:[{props:{size:"small"},style:{marginTop:4}},{props:({ownerState:t})=>t.contained,style:{marginLeft:14,marginRight:14}}]}))),tl=g.forwardRef(function(t,n){const r=nt({props:t,name:"MuiFormHelperText"}),{children:s,className:a,component:l="p",disabled:u,error:f,filled:p,focused:h,margin:m,required:x,variant:w,...A}=r,P=Bo(),H=ji({props:r,muiFormControl:P,states:["variant","size","disabled","error","filled","focused","required"]}),C={...r,component:l,contained:H.variant==="filled"||H.variant==="outlined",variant:H.variant,size:H.size,disabled:H.disabled,error:H.error,filled:H.filled,focused:H.focused,required:H.required};delete C.ownerState;const S=ok(C);return v.jsx(sk,{as:l,className:Oe(S.root,a),ref:n,...A,ownerState:C,children:s===" "?dx||(dx=v.jsx("span",{className:"notranslate","aria-hidden":!0,children:"​"})):s})});function ik(e){return Qe("MuiFormLabel",e)}const iu=Ke("MuiFormLabel",["root","colorSecondary","focused","disabled","error","filled","required","asterisk"]),ak=e=>{const{classes:t,color:n,focused:r,disabled:s,error:a,filled:l,required:u}=e,f={root:["root",`color${ye(n)}`,s&&"disabled",a&&"error",l&&"filled",r&&"focused",u&&"required"],asterisk:["asterisk",a&&"error"]};return _e(f,ik,t)},lk=ve("label",{name:"MuiFormLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color==="secondary"&&t.colorSecondary,n.filled&&t.filled]}})(tt(({theme:e})=>({color:(e.vars||e).palette.text.secondary,...e.typography.body1,lineHeight:"1.4375em",padding:0,position:"relative",variants:[...Object.entries(e.palette).filter(gn()).map(([t])=>({props:{color:t},style:{[`&.${iu.focused}`]:{color:(e.vars||e).palette[t].main}}})),{props:{},style:{[`&.${iu.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${iu.error}`]:{color:(e.vars||e).palette.error.main}}}]}))),ck=ve("span",{name:"MuiFormLabel",slot:"Asterisk",overridesResolver:(e,t)=>t.asterisk})(tt(({theme:e})=>({[`&.${iu.error}`]:{color:(e.vars||e).palette.error.main}}))),Ld=g.forwardRef(function(t,n){const r=nt({props:t,name:"MuiFormLabel"}),{children:s,className:a,color:l,component:u="label",disabled:f,error:p,filled:h,focused:m,required:x,...w}=r,A=Bo(),P=ji({props:r,muiFormControl:A,states:["color","required","focused","disabled","error","filled"]}),H={...r,color:P.color||"primary",component:u,disabled:P.disabled,error:P.error,filled:P.filled,focused:P.focused,required:P.required},C=ak(H);return v.jsxs(lk,{as:u,ownerState:H,className:Oe(C.root,a),ref:n,...w,children:[s,P.required&&v.jsxs(ck,{ownerState:H,"aria-hidden":!0,className:C.asterisk,children:[" ","*"]})]})}),px=g.createContext();function uk(e){return Qe("MuiGrid",e)}const fk=[0,1,2,3,4,5,6,7,8,9,10],dk=["column-reverse","column","row-reverse","row"],pk=["nowrap","wrap-reverse","wrap"],Sc=["auto",!0,1,2,3,4,5,6,7,8,9,10,11,12],Au=Ke("MuiGrid",["root","container","item","zeroMinWidth",...fk.map(e=>`spacing-xs-${e}`),...dk.map(e=>`direction-xs-${e}`),...pk.map(e=>`wrap-xs-${e}`),...Sc.map(e=>`grid-xs-${e}`),...Sc.map(e=>`grid-sm-${e}`),...Sc.map(e=>`grid-md-${e}`),...Sc.map(e=>`grid-lg-${e}`),...Sc.map(e=>`grid-xl-${e}`)]);function vk({theme:e,ownerState:t}){let n;return e.breakpoints.keys.reduce((r,s)=>{let a={};if(t[s]&&(n=t[s]),!n)return r;if(n===!0)a={flexBasis:0,flexGrow:1,maxWidth:"100%"};else if(n==="auto")a={flexBasis:"auto",flexGrow:0,flexShrink:0,maxWidth:"none",width:"auto"};else{const l=sa({values:t.columns,breakpoints:e.breakpoints.values}),u=typeof l=="object"?l[s]:l;if(u==null)return r;const f=`${Math.round(n/u*1e8)/1e6}%`;let p={};if(t.container&&t.item&&t.columnSpacing!==0){const h=e.spacing(t.columnSpacing);if(h!=="0px"){const m=`calc(${f} + ${h})`;p={flexBasis:m,maxWidth:m}}}a={flexBasis:f,flexGrow:0,maxWidth:f,...p}}return e.breakpoints.values[s]===0?Object.assign(r,a):r[e.breakpoints.up(s)]=a,r},{})}function hk({theme:e,ownerState:t}){const n=sa({values:t.direction,breakpoints:e.breakpoints.values});return Tr({theme:e},n,r=>{const s={flexDirection:r};return r.startsWith("column")&&(s[`& > .${Au.item}`]={maxWidth:"none"}),s})}function j1({breakpoints:e,values:t}){let n="";Object.keys(t).forEach(s=>{n===""&&t[s]!==0&&(n=s)});const r=Object.keys(e).sort((s,a)=>e[s]-e[a]);return r.slice(0,r.indexOf(n))}function mk({theme:e,ownerState:t}){const{container:n,rowSpacing:r}=t;let s={};if(n&&r!==0){const a=sa({values:r,breakpoints:e.breakpoints.values});let l;typeof a=="object"&&(l=j1({breakpoints:e.breakpoints.values,values:a})),s=Tr({theme:e},a,(u,f)=>{const p=e.spacing(u);return p!=="0px"?{marginTop:`calc(-1 * ${p})`,[`& > .${Au.item}`]:{paddingTop:p}}:l!=null&&l.includes(f)?{}:{marginTop:0,[`& > .${Au.item}`]:{paddingTop:0}}})}return s}function yk({theme:e,ownerState:t}){const{container:n,columnSpacing:r}=t;let s={};if(n&&r!==0){const a=sa({values:r,breakpoints:e.breakpoints.values});let l;typeof a=="object"&&(l=j1({breakpoints:e.breakpoints.values,values:a})),s=Tr({theme:e},a,(u,f)=>{const p=e.spacing(u);if(p!=="0px"){const h=`calc(-1 * ${p})`;return{width:`calc(100% + ${p})`,marginLeft:h,[`& > .${Au.item}`]:{paddingLeft:p}}}return l!=null&&l.includes(f)?{}:{width:"100%",marginLeft:0,[`& > .${Au.item}`]:{paddingLeft:0}}})}return s}function gk(e,t,n={}){if(!e||e<=0)return[];if(typeof e=="string"&&!Number.isNaN(Number(e))||typeof e=="number")return[n[`spacing-xs-${String(e)}`]];const r=[];return t.forEach(s=>{const a=e[s];Number(a)>0&&r.push(n[`spacing-${s}-${String(a)}`])}),r}const Ak=ve("div",{name:"MuiGrid",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e,{container:r,direction:s,item:a,spacing:l,wrap:u,zeroMinWidth:f,breakpoints:p}=n;let h=[];r&&(h=gk(l,p,t));const m=[];return p.forEach(x=>{const w=n[x];w&&m.push(t[`grid-${x}-${String(w)}`])}),[t.root,r&&t.container,a&&t.item,f&&t.zeroMinWidth,...h,s!=="row"&&t[`direction-xs-${String(s)}`],u!=="wrap"&&t[`wrap-xs-${String(u)}`],...m]}})(({ownerState:e})=>({boxSizing:"border-box",...e.container&&{display:"flex",flexWrap:"wrap",width:"100%"},...e.item&&{margin:0},...e.zeroMinWidth&&{minWidth:0},...e.wrap!=="wrap"&&{flexWrap:e.wrap}}),hk,mk,yk,vk);function Pk(e,t){if(!e||e<=0)return[];if(typeof e=="string"&&!Number.isNaN(Number(e))||typeof e=="number")return[`spacing-xs-${String(e)}`];const n=[];return t.forEach(r=>{const s=e[r];if(Number(s)>0){const a=`spacing-${r}-${String(s)}`;n.push(a)}}),n}const bk=e=>{const{classes:t,container:n,direction:r,item:s,spacing:a,wrap:l,zeroMinWidth:u,breakpoints:f}=e;let p=[];n&&(p=Pk(a,f));const h=[];f.forEach(x=>{const w=e[x];w&&h.push(`grid-${x}-${String(w)}`)});const m={root:["root",n&&"container",s&&"item",u&&"zeroMinWidth",...p,r!=="row"&&`direction-xs-${String(r)}`,l!=="wrap"&&`wrap-xs-${String(l)}`,...h]};return _e(m,uk,t)},cs=g.forwardRef(function(t,n){const r=nt({props:t,name:"MuiGrid"}),{breakpoints:s}=Gr(),a=kp(r),{className:l,columns:u,columnSpacing:f,component:p="div",container:h=!1,direction:m="row",item:x=!1,rowSpacing:w,spacing:A=0,wrap:P="wrap",zeroMinWidth:H=!1,...C}=a,S=w||A,z=f||A,O=g.useContext(px),D=h?u||12:O,T={},R={...C};s.keys.forEach(j=>{C[j]!=null&&(T[j]=C[j],delete R[j])});const M={...a,columns:D,container:h,direction:m,item:x,rowSpacing:S,columnSpacing:z,wrap:P,zeroMinWidth:H,spacing:A,...T,breakpoints:s.keys},L=bk(M);return v.jsx(px.Provider,{value:D,children:v.jsx(Ak,{ownerState:M,className:Oe(L.root,l),as:p,ref:n,...R})})});function oy(e){return`scale(${e}, ${e**2})`}const xk={entering:{opacity:1,transform:oy(1)},entered:{opacity:1,transform:"none"}},vm=typeof navigator<"u"&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),Pu=g.forwardRef(function(t,n){const{addEndListener:r,appear:s=!0,children:a,easing:l,in:u,onEnter:f,onEntered:p,onEntering:h,onExit:m,onExited:x,onExiting:w,style:A,timeout:P="auto",TransitionComponent:H=No,...C}=t,S=Zi(),z=g.useRef(),O=Gr(),D=g.useRef(null),T=pn(D,wi(a),n),R=J=>Q=>{if(J){const re=D.current;Q===void 0?J(re):J(re,Q)}},M=R(h),L=R((J,Q)=>{fg(J);const{duration:re,delay:_,easing:q}=zl({style:A,timeout:P,easing:l},{mode:"enter"});let E;P==="auto"?(E=O.transitions.getAutoHeightDuration(J.clientHeight),z.current=E):E=re,J.style.transition=[O.transitions.create("opacity",{duration:E,delay:_}),O.transitions.create("transform",{duration:vm?E:E*.666,delay:_,easing:q})].join(","),f&&f(J,Q)}),j=R(p),N=R(w),B=R(J=>{const{duration:Q,delay:re,easing:_}=zl({style:A,timeout:P,easing:l},{mode:"exit"});let q;P==="auto"?(q=O.transitions.getAutoHeightDuration(J.clientHeight),z.current=q):q=Q,J.style.transition=[O.transitions.create("opacity",{duration:q,delay:re}),O.transitions.create("transform",{duration:vm?q:q*.666,delay:vm?re:re||q*.333,easing:_})].join(","),J.style.opacity=0,J.style.transform=oy(.75),m&&m(J)}),W=R(x),$=J=>{P==="auto"&&S.start(z.current||0,J),r&&r(D.current,J)};return v.jsx(H,{appear:s,in:u,nodeRef:D,onEnter:L,onEntered:j,onEntering:M,onExit:B,onExited:W,onExiting:N,addEndListener:$,timeout:P==="auto"?null:P,...C,children:(J,{ownerState:Q,...re})=>g.cloneElement(a,{style:{opacity:0,transform:oy(.75),visibility:J==="exited"&&!u?"hidden":void 0,...xk[J],...A,...a.props.style},ref:T,...re})})});Pu&&(Pu.muiSupportAuto=!0);const wk=R0({themeId:To}),Hk=e=>{const{classes:t,disableUnderline:n}=e,s=_e({root:["root",!n&&"underline"],input:["input"]},NC,t);return{...t,...s}},jk=ve(Bp,{shouldForwardProp:e=>Zn(e)||e==="classes",name:"MuiInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[...Xp(e,t),!n.disableUnderline&&t.underline]}})(tt(({theme:e})=>{let n=e.palette.mode==="light"?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)";return e.vars&&(n=`rgba(${e.vars.palette.common.onBackgroundChannel} / ${e.vars.opacity.inputUnderline})`),{position:"relative",variants:[{props:({ownerState:r})=>r.formControl,style:{"label + &":{marginTop:16}}},{props:({ownerState:r})=>!r.disableUnderline,style:{"&::after":{left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${ai.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${ai.error}`]:{"&::before, &::after":{borderBottomColor:(e.vars||e).palette.error.main}},"&::before":{borderBottom:`1px solid ${n}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${ai.disabled}, .${ai.error}):before`]:{borderBottom:`2px solid ${(e.vars||e).palette.text.primary}`,"@media (hover: none)":{borderBottom:`1px solid ${n}`}},[`&.${ai.disabled}:before`]:{borderBottomStyle:"dotted"}}},...Object.entries(e.palette).filter(gn()).map(([r])=>({props:{color:r,disableUnderline:!1},style:{"&::after":{borderBottom:`2px solid ${(e.vars||e).palette[r].main}`}}}))]}})),zk=ve(Vp,{name:"MuiInput",slot:"Input",overridesResolver:Np})({}),wg=g.forwardRef(function(t,n){const r=nt({props:t,name:"MuiInput"}),{disableUnderline:s=!1,components:a={},componentsProps:l,fullWidth:u=!1,inputComponent:f="input",multiline:p=!1,slotProps:h,slots:m={},type:x="text",...w}=r,A=Hk(r),H={root:{ownerState:{disableUnderline:s}}},C=h??l?qn(h??l,H):H,S=m.root??a.Root??jk,z=m.input??a.Input??zk;return v.jsx(Ip,{slots:{root:S,input:z},slotProps:C,fullWidth:u,inputComponent:f,multiline:p,ref:n,type:x,...w,classes:A})});wg.muiName="Input";function Sk(e){return Qe("MuiInputAdornment",e)}const vx=Ke("MuiInputAdornment",["root","filled","standard","outlined","positionStart","positionEnd","disablePointerEvents","hiddenLabel","sizeSmall"]);var hx;const Ck=(e,t)=>{const{ownerState:n}=e;return[t.root,t[`position${ye(n.position)}`],n.disablePointerEvents===!0&&t.disablePointerEvents,t[n.variant]]},Ok=e=>{const{classes:t,disablePointerEvents:n,hiddenLabel:r,position:s,size:a,variant:l}=e,u={root:["root",n&&"disablePointerEvents",s&&`position${ye(s)}`,l,r&&"hiddenLabel",a&&`size${ye(a)}`]};return _e(u,Sk,t)},Dk=ve("div",{name:"MuiInputAdornment",slot:"Root",overridesResolver:Ck})(tt(({theme:e})=>({display:"flex",maxHeight:"2em",alignItems:"center",whiteSpace:"nowrap",color:(e.vars||e).palette.action.active,variants:[{props:{variant:"filled"},style:{[`&.${vx.positionStart}&:not(.${vx.hiddenLabel})`]:{marginTop:16}}},{props:{position:"start"},style:{marginRight:8}},{props:{position:"end"},style:{marginLeft:8}},{props:{disablePointerEvents:!0},style:{pointerEvents:"none"}}]}))),z1=g.forwardRef(function(t,n){const r=nt({props:t,name:"MuiInputAdornment"}),{children:s,className:a,component:l="div",disablePointerEvents:u=!1,disableTypography:f=!1,position:p,variant:h,...m}=r,x=Bo()||{};let w=h;h&&x.variant,x&&!w&&(w=x.variant);const A={...r,hiddenLabel:x.hiddenLabel,size:x.size,disablePointerEvents:u,position:p,variant:w},P=Ok(A);return v.jsx(Lp.Provider,{value:null,children:v.jsx(Dk,{as:l,ownerState:A,className:Oe(P.root,a),ref:n,...m,children:typeof s=="string"&&!f?v.jsx(Ht,{color:"textSecondary",children:s}):v.jsxs(g.Fragment,{children:[p==="start"?hx||(hx=v.jsx("span",{className:"notranslate","aria-hidden":!0,children:"​"})):null,s]})})})});function kk(e){return Qe("MuiInputLabel",e)}Ke("MuiInputLabel",["root","focused","disabled","error","required","asterisk","formControl","sizeSmall","shrink","animated","standard","filled","outlined"]);const Tk=e=>{const{classes:t,formControl:n,size:r,shrink:s,disableAnimation:a,variant:l,required:u}=e,f={root:["root",n&&"formControl",!a&&"animated",s&&"shrink",r&&r!=="normal"&&`size${ye(r)}`,l],asterisk:[u&&"asterisk"]},p=_e(f,kk,t);return{...t,...p}},Ek=ve(Ld,{shouldForwardProp:e=>Zn(e)||e==="classes",name:"MuiInputLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${iu.asterisk}`]:t.asterisk},t.root,n.formControl&&t.formControl,n.size==="small"&&t.sizeSmall,n.shrink&&t.shrink,!n.disableAnimation&&t.animated,n.focused&&t.focused,t[n.variant]]}})(tt(({theme:e})=>({display:"block",transformOrigin:"top left",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",maxWidth:"100%",variants:[{props:({ownerState:t})=>t.formControl,style:{position:"absolute",left:0,top:0,transform:"translate(0, 20px) scale(1)"}},{props:{size:"small"},style:{transform:"translate(0, 17px) scale(1)"}},{props:({ownerState:t})=>t.shrink,style:{transform:"translate(0, -1.5px) scale(0.75)",transformOrigin:"top left",maxWidth:"133%"}},{props:({ownerState:t})=>!t.disableAnimation,style:{transition:e.transitions.create(["color","transform","max-width"],{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut})}},{props:{variant:"filled"},style:{zIndex:1,pointerEvents:"none",transform:"translate(12px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"}},{props:{variant:"filled",size:"small"},style:{transform:"translate(12px, 13px) scale(1)"}},{props:({variant:t,ownerState:n})=>t==="filled"&&n.shrink,style:{userSelect:"none",pointerEvents:"auto",transform:"translate(12px, 7px) scale(0.75)",maxWidth:"calc(133% - 24px)"}},{props:({variant:t,ownerState:n,size:r})=>t==="filled"&&n.shrink&&r==="small",style:{transform:"translate(12px, 4px) scale(0.75)"}},{props:{variant:"outlined"},style:{zIndex:1,pointerEvents:"none",transform:"translate(14px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"}},{props:{variant:"outlined",size:"small"},style:{transform:"translate(14px, 9px) scale(1)"}},{props:({variant:t,ownerState:n})=>t==="outlined"&&n.shrink,style:{userSelect:"none",pointerEvents:"auto",maxWidth:"calc(133% - 32px)",transform:"translate(14px, -9px) scale(0.75)"}}]}))),Xd=g.forwardRef(function(t,n){const r=nt({name:"MuiInputLabel",props:t}),{disableAnimation:s=!1,margin:a,shrink:l,variant:u,className:f,...p}=r,h=Bo();let m=l;typeof m>"u"&&h&&(m=h.filled||h.focused||h.adornedStart);const x=ji({props:r,muiFormControl:h,states:["size","variant","required","focused"]}),w={...r,disableAnimation:s,formControl:h,shrink:m,size:x.size,variant:x.variant,required:x.required,focused:x.focused},A=Tk(w);return v.jsx(Ek,{"data-shrink":m,ref:n,className:Oe(A.root,f),...p,ownerState:w,classes:A})});function Rk(e){return Qe("MuiLink",e)}const Mk=Ke("MuiLink",["root","underlineNone","underlineHover","underlineAlways","button","focusVisible"]),Lk=({theme:e,ownerState:t})=>{const n=t.color,r=gi(e,`palette.${n}.main`,!1)||gi(e,`palette.${n}`,!1)||t.color,s=gi(e,`palette.${n}.mainChannel`)||gi(e,`palette.${n}Channel`);return"vars"in e&&s?`rgba(${s} / 0.4)`:bt(r,.4)},mx={primary:!0,secondary:!0,error:!0,info:!0,success:!0,warning:!0,textPrimary:!0,textSecondary:!0,textDisabled:!0},Xk=e=>{const{classes:t,component:n,focusVisible:r,underline:s}=e,a={root:["root",`underline${ye(s)}`,n==="button"&&"button",r&&"focusVisible"]};return _e(a,Rk,t)},Nk=ve(Ht,{name:"MuiLink",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`underline${ye(n.underline)}`],n.component==="button"&&t.button]}})(tt(({theme:e})=>({variants:[{props:{underline:"none"},style:{textDecoration:"none"}},{props:{underline:"hover"},style:{textDecoration:"none","&:hover":{textDecoration:"underline"}}},{props:{underline:"always"},style:{textDecoration:"underline","&:hover":{textDecorationColor:"inherit"}}},{props:({underline:t,ownerState:n})=>t==="always"&&n.color!=="inherit",style:{textDecorationColor:"var(--Link-underlineColor)"}},...Object.entries(e.palette).filter(gn()).map(([t])=>({props:{underline:"always",color:t},style:{"--Link-underlineColor":e.vars?`rgba(${e.vars.palette[t].mainChannel} / 0.4)`:bt(e.palette[t].main,.4)}})),{props:{underline:"always",color:"textPrimary"},style:{"--Link-underlineColor":e.vars?`rgba(${e.vars.palette.text.primaryChannel} / 0.4)`:bt(e.palette.text.primary,.4)}},{props:{underline:"always",color:"textSecondary"},style:{"--Link-underlineColor":e.vars?`rgba(${e.vars.palette.text.secondaryChannel} / 0.4)`:bt(e.palette.text.secondary,.4)}},{props:{underline:"always",color:"textDisabled"},style:{"--Link-underlineColor":(e.vars||e).palette.text.disabled}},{props:{component:"button"},style:{position:"relative",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none","&::-moz-focus-inner":{borderStyle:"none"},[`&.${Mk.focusVisible}`]:{outline:"auto"}}}]}))),Kc=g.forwardRef(function(t,n){const r=nt({props:t,name:"MuiLink"}),s=Gr(),{className:a,color:l="primary",component:u="a",onBlur:f,onFocus:p,TypographyClasses:h,underline:m="always",variant:x="inherit",sx:w,...A}=r,[P,H]=g.useState(!1),C=D=>{jl(D.target)||H(!1),f&&f(D)},S=D=>{jl(D.target)&&H(!0),p&&p(D)},z={...r,color:l,component:u,focusVisible:P,underline:m,variant:x},O=Xk(z);return v.jsx(Nk,{color:l,className:Oe(O.root,a),classes:h,component:u,onBlur:C,onFocus:S,ref:n,ownerState:z,variant:x,...A,sx:[...mx[l]===void 0?[{color:l}]:[],...Array.isArray(w)?w:[w]],style:{...A.style,...m==="always"&&l!=="inherit"&&!mx[l]&&{"--Link-underlineColor":Lk({theme:s,ownerState:z})}}})}),Eo=g.createContext({});function Bk(e){return Qe("MuiList",e)}Ke("MuiList",["root","padding","dense","subheader"]);const Vk=e=>{const{classes:t,disablePadding:n,dense:r,subheader:s}=e;return _e({root:["root",!n&&"padding",r&&"dense",s&&"subheader"]},Bk,t)},Ik=ve("ul",{name:"MuiList",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disablePadding&&t.padding,n.dense&&t.dense,n.subheader&&t.subheader]}})({listStyle:"none",margin:0,padding:0,position:"relative",variants:[{props:({ownerState:e})=>!e.disablePadding,style:{paddingTop:8,paddingBottom:8}},{props:({ownerState:e})=>e.subheader,style:{paddingTop:0}}]}),sy=g.forwardRef(function(t,n){const r=nt({props:t,name:"MuiList"}),{children:s,className:a,component:l="ul",dense:u=!1,disablePadding:f=!1,subheader:p,...h}=r,m=g.useMemo(()=>({dense:u}),[u]),x={...r,component:l,dense:u,disablePadding:f},w=Vk(x);return v.jsx(Eo.Provider,{value:m,children:v.jsxs(Ik,{as:l,className:Oe(w.root,a),ref:n,ownerState:x,...h,children:[p,s]})})});function Wk(e){return Qe("MuiListItem",e)}Ke("MuiListItem",["root","container","dense","alignItemsFlexStart","divider","gutters","padding","secondaryAction"]);function Jk(e){return Qe("MuiListItemButton",e)}const nl=Ke("MuiListItemButton",["root","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","selected"]),Fk=(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,n.alignItems==="flex-start"&&t.alignItemsFlexStart,n.divider&&t.divider,!n.disableGutters&&t.gutters]},Yk=e=>{const{alignItems:t,classes:n,dense:r,disabled:s,disableGutters:a,divider:l,selected:u}=e,p=_e({root:["root",r&&"dense",!a&&"gutters",l&&"divider",s&&"disabled",t==="flex-start"&&"alignItemsFlexStart",u&&"selected"]},Jk,n);return{...n,...p}},qk=ve(fa,{shouldForwardProp:e=>Zn(e)||e==="classes",name:"MuiListItemButton",slot:"Root",overridesResolver:Fk})(tt(({theme:e})=>({display:"flex",flexGrow:1,justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minWidth:0,boxSizing:"border-box",textAlign:"left",paddingTop:8,paddingBottom:8,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${nl.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:bt(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${nl.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:bt(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${nl.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:bt(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:bt(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${nl.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${nl.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},variants:[{props:({ownerState:t})=>t.divider,style:{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"}},{props:{alignItems:"flex-start"},style:{alignItems:"flex-start"}},{props:({ownerState:t})=>!t.disableGutters,style:{paddingLeft:16,paddingRight:16}},{props:({ownerState:t})=>t.dense,style:{paddingTop:4,paddingBottom:4}}]}))),S1=g.forwardRef(function(t,n){const r=nt({props:t,name:"MuiListItemButton"}),{alignItems:s="center",autoFocus:a=!1,component:l="div",children:u,dense:f=!1,disableGutters:p=!1,divider:h=!1,focusVisibleClassName:m,selected:x=!1,className:w,...A}=r,P=g.useContext(Eo),H=g.useMemo(()=>({dense:f||P.dense||!1,alignItems:s,disableGutters:p}),[s,P.dense,f,p]),C=g.useRef(null);Yr(()=>{a&&C.current&&C.current.focus()},[a]);const S={...r,alignItems:s,dense:H.dense,disableGutters:p,divider:h,selected:x},z=Yk(S),O=pn(C,n);return v.jsx(Eo.Provider,{value:H,children:v.jsx(qk,{ref:O,href:A.href||A.to,component:(A.href||A.to)&&l==="div"?"button":l,focusVisibleClassName:Oe(z.focusVisible,m),ownerState:S,className:Oe(z.root,w),...A,classes:z,children:u})})});function Zk(e){return Qe("MuiListItemSecondaryAction",e)}Ke("MuiListItemSecondaryAction",["root","disableGutters"]);const Gk=e=>{const{disableGutters:t,classes:n}=e;return _e({root:["root",t&&"disableGutters"]},Zk,n)},Uk=ve("div",{name:"MuiListItemSecondaryAction",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.disableGutters&&t.disableGutters]}})({position:"absolute",right:16,top:"50%",transform:"translateY(-50%)",variants:[{props:({ownerState:e})=>e.disableGutters,style:{right:0}}]}),C1=g.forwardRef(function(t,n){const r=nt({props:t,name:"MuiListItemSecondaryAction"}),{className:s,...a}=r,l=g.useContext(Eo),u={...r,disableGutters:l.disableGutters},f=Gk(u);return v.jsx(Uk,{className:Oe(f.root,s),ownerState:u,ref:n,...a})});C1.muiName="ListItemSecondaryAction";const Qk=(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,n.alignItems==="flex-start"&&t.alignItemsFlexStart,n.divider&&t.divider,!n.disableGutters&&t.gutters,!n.disablePadding&&t.padding,n.hasSecondaryAction&&t.secondaryAction]},Kk=e=>{const{alignItems:t,classes:n,dense:r,disableGutters:s,disablePadding:a,divider:l,hasSecondaryAction:u}=e;return _e({root:["root",r&&"dense",!s&&"gutters",!a&&"padding",l&&"divider",t==="flex-start"&&"alignItemsFlexStart",u&&"secondaryAction"],container:["container"]},Wk,n)},_k=ve("div",{name:"MuiListItem",slot:"Root",overridesResolver:Qk})(tt(({theme:e})=>({display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",width:"100%",boxSizing:"border-box",textAlign:"left",variants:[{props:({ownerState:t})=>!t.disablePadding,style:{paddingTop:8,paddingBottom:8}},{props:({ownerState:t})=>!t.disablePadding&&t.dense,style:{paddingTop:4,paddingBottom:4}},{props:({ownerState:t})=>!t.disablePadding&&!t.disableGutters,style:{paddingLeft:16,paddingRight:16}},{props:({ownerState:t})=>!t.disablePadding&&!!t.secondaryAction,style:{paddingRight:48}},{props:({ownerState:t})=>!!t.secondaryAction,style:{[`& > .${nl.root}`]:{paddingRight:48}}},{props:{alignItems:"flex-start"},style:{alignItems:"flex-start"}},{props:({ownerState:t})=>t.divider,style:{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"}},{props:({ownerState:t})=>t.button,style:{transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}}}},{props:({ownerState:t})=>t.hasSecondaryAction,style:{paddingRight:48}}]}))),$k=ve("li",{name:"MuiListItem",slot:"Container",overridesResolver:(e,t)=>t.container})({position:"relative"}),Cc=g.forwardRef(function(t,n){const r=nt({props:t,name:"MuiListItem"}),{alignItems:s="center",children:a,className:l,component:u,components:f={},componentsProps:p={},ContainerComponent:h="li",ContainerProps:{className:m,...x}={},dense:w=!1,disableGutters:A=!1,disablePadding:P=!1,divider:H=!1,secondaryAction:C,slotProps:S={},slots:z={},...O}=r,D=g.useContext(Eo),T=g.useMemo(()=>({dense:w||D.dense||!1,alignItems:s,disableGutters:A}),[s,D.dense,w,A]),R=g.useRef(null),M=g.Children.toArray(a),L=M.length&&Ed(M[M.length-1],["ListItemSecondaryAction"]),j={...r,alignItems:s,dense:T.dense,disableGutters:A,disablePadding:P,divider:H,hasSecondaryAction:L},N=Kk(j),B=pn(R,n),W=z.root||f.Root||_k,$=S.root||p.root||{},J={className:Oe(N.root,$.className,l),...O};let Q=u||"li";return L?(Q=!J.component&&!u?"div":Q,h==="li"&&(Q==="li"?Q="div":J.component==="li"&&(J.component="div")),v.jsx(Eo.Provider,{value:T,children:v.jsxs($k,{as:h,className:Oe(N.container,m),ref:B,ownerState:j,...x,children:[v.jsx(W,{...$,...!gu(W)&&{as:Q,ownerState:{...j,...$.ownerState}},...J,children:M}),M.pop()]})})):v.jsx(Eo.Provider,{value:T,children:v.jsxs(W,{...$,as:Q,ref:B,...!gu(W)&&{ownerState:{...j,...$.ownerState}},...J,children:[M,C&&v.jsx(C1,{children:C})]})})});function eT(e){return Qe("MuiListItemIcon",e)}const yx=Ke("MuiListItemIcon",["root","alignItemsFlexStart"]),tT=e=>{const{alignItems:t,classes:n}=e;return _e({root:["root",t==="flex-start"&&"alignItemsFlexStart"]},eT,n)},nT=ve("div",{name:"MuiListItemIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.alignItems==="flex-start"&&t.alignItemsFlexStart]}})(tt(({theme:e})=>({minWidth:56,color:(e.vars||e).palette.action.active,flexShrink:0,display:"inline-flex",variants:[{props:{alignItems:"flex-start"},style:{marginTop:8}}]}))),rT=g.forwardRef(function(t,n){const r=nt({props:t,name:"MuiListItemIcon"}),{className:s,...a}=r,l=g.useContext(Eo),u={...r,alignItems:l.alignItems},f=tT(u);return v.jsx(nT,{className:Oe(f.root,s),ownerState:u,ref:n,...a})});function oT(e){return Qe("MuiListItemText",e)}const sl=Ke("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]),sT=e=>{const{classes:t,inset:n,primary:r,secondary:s,dense:a}=e;return _e({root:["root",n&&"inset",a&&"dense",r&&s&&"multiline"],primary:["primary"],secondary:["secondary"]},oT,t)},iT=ve("div",{name:"MuiListItemText",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${sl.primary}`]:t.primary},{[`& .${sl.secondary}`]:t.secondary},t.root,n.inset&&t.inset,n.primary&&n.secondary&&t.multiline,n.dense&&t.dense]}})({flex:"1 1 auto",minWidth:0,marginTop:4,marginBottom:4,[`.${N8.root}:where(& .${sl.primary})`]:{display:"block"},[`.${N8.root}:where(& .${sl.secondary})`]:{display:"block"},variants:[{props:({ownerState:e})=>e.primary&&e.secondary,style:{marginTop:6,marginBottom:6}},{props:({ownerState:e})=>e.inset,style:{paddingLeft:56}}]}),il=g.forwardRef(function(t,n){const r=nt({props:t,name:"MuiListItemText"}),{children:s,className:a,disableTypography:l=!1,inset:u=!1,primary:f,primaryTypographyProps:p,secondary:h,secondaryTypographyProps:m,slots:x={},slotProps:w={},...A}=r,{dense:P}=g.useContext(Eo);let H=f??s,C=h;const S={...r,disableTypography:l,inset:u,primary:!!H,secondary:!!C,dense:P},z=sT(S),O={slots:x,slotProps:{primary:p,secondary:m,...w}},[D,T]=dt("primary",{className:z.primary,elementType:Ht,externalForwardedProps:O,ownerState:S}),[R,M]=dt("secondary",{className:z.secondary,elementType:Ht,externalForwardedProps:O,ownerState:S});return H!=null&&H.type!==Ht&&!l&&(H=v.jsx(D,{variant:P?"body2":"body1",component:T!=null&&T.variant?void 0:"span",...T,children:H})),C!=null&&C.type!==Ht&&!l&&(C=v.jsx(R,{variant:"body2",color:"textSecondary",...M,children:C})),v.jsxs(iT,{className:Oe(z.root,a),ownerState:S,ref:n,...A,children:[H,C]})});function hm(e,t,n){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:n?null:e.firstChild}function gx(e,t,n){return e===t?n?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:n?null:e.lastChild}function O1(e,t){if(t===void 0)return!0;let n=e.innerText;return n===void 0&&(n=e.textContent),n=n.trim().toLowerCase(),n.length===0?!1:t.repeating?n[0]===t.keys[0]:n.startsWith(t.keys.join(""))}function Oc(e,t,n,r,s,a){let l=!1,u=s(e,t,t?n:!1);for(;u;){if(u===e.firstChild){if(l)return!1;l=!0}const f=r?!1:u.disabled||u.getAttribute("aria-disabled")==="true";if(!u.hasAttribute("tabindex")||!O1(u,a)||f)u=s(e,u,n);else return u.focus(),!0}return!1}const aT=g.forwardRef(function(t,n){const{actions:r,autoFocus:s=!1,autoFocusItem:a=!1,children:l,className:u,disabledItemsFocusable:f=!1,disableListWrap:p=!1,onKeyDown:h,variant:m="selectedMenu",...x}=t,w=g.useRef(null),A=g.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});Yr(()=>{s&&w.current.focus()},[s]),g.useImperativeHandle(r,()=>({adjustStyleForScrollbar:(z,{direction:O})=>{const D=!w.current.style.width;if(z.clientHeight{const O=w.current,D=z.key;if(z.ctrlKey||z.metaKey||z.altKey){h&&h(z);return}const R=ir(O).activeElement;if(D==="ArrowDown")z.preventDefault(),Oc(O,R,p,f,hm);else if(D==="ArrowUp")z.preventDefault(),Oc(O,R,p,f,gx);else if(D==="Home")z.preventDefault(),Oc(O,null,p,f,hm);else if(D==="End")z.preventDefault(),Oc(O,null,p,f,gx);else if(D.length===1){const M=A.current,L=D.toLowerCase(),j=performance.now();M.keys.length>0&&(j-M.lastTime>500?(M.keys=[],M.repeating=!0,M.previousKeyMatched=!0):M.repeating&&L!==M.keys[0]&&(M.repeating=!1)),M.lastTime=j,M.keys.push(L);const N=R&&!M.repeating&&O1(R,M);M.previousKeyMatched&&(N||Oc(O,R,!1,f,hm,M))?z.preventDefault():M.previousKeyMatched=!1}h&&h(z)},H=pn(w,n);let C=-1;g.Children.forEach(l,(z,O)=>{if(!g.isValidElement(z)){C===O&&(C+=1,C>=l.length&&(C=-1));return}z.props.disabled||(m==="selectedMenu"&&z.props.selected||C===-1)&&(C=O),C===O&&(z.props.disabled||z.props.muiSkipListHighlight||z.type.muiSkipListHighlight)&&(C+=1,C>=l.length&&(C=-1))});const S=g.Children.map(l,(z,O)=>{if(O===C){const D={};return a&&(D.autoFocus=!0),z.props.tabIndex===void 0&&m==="selectedMenu"&&(D.tabIndex=0),g.cloneElement(z,D)}return z});return v.jsx(sy,{role:"menu",ref:H,className:u,onKeyDown:P,tabIndex:s?0:-1,...x,children:S})});function lT(e){return Qe("MuiPopover",e)}Ke("MuiPopover",["root","paper"]);function Ax(e,t){let n=0;return typeof t=="number"?n=t:t==="center"?n=e.height/2:t==="bottom"&&(n=e.height),n}function Px(e,t){let n=0;return typeof t=="number"?n=t:t==="center"?n=e.width/2:t==="right"&&(n=e.width),n}function bx(e){return[e.horizontal,e.vertical].map(t=>typeof t=="number"?`${t}px`:t).join(" ")}function mm(e){return typeof e=="function"?e():e}const cT=e=>{const{classes:t}=e;return _e({root:["root"],paper:["paper"]},lT,t)},uT=ve(bg,{name:"MuiPopover",slot:"Root",overridesResolver:(e,t)=>t.root})({}),D1=ve(qr,{name:"MuiPopover",slot:"Paper",overridesResolver:(e,t)=>t.paper})({position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}),fT=g.forwardRef(function(t,n){const r=nt({props:t,name:"MuiPopover"}),{action:s,anchorEl:a,anchorOrigin:l={vertical:"top",horizontal:"left"},anchorPosition:u,anchorReference:f="anchorEl",children:p,className:h,container:m,elevation:x=8,marginThreshold:w=16,open:A,PaperProps:P={},slots:H={},slotProps:C={},transformOrigin:S={vertical:"top",horizontal:"left"},TransitionComponent:z,transitionDuration:O="auto",TransitionProps:D={},disableScrollLock:T=!1,...R}=r,M=g.useRef(),L={...r,anchorOrigin:l,anchorReference:f,elevation:x,marginThreshold:w,transformOrigin:S,TransitionComponent:z,transitionDuration:O,TransitionProps:D},j=cT(L),N=g.useCallback(()=>{if(f==="anchorPosition")return u;const De=mm(a),he=(De&&De.nodeType===1?De:ir(M.current).body).getBoundingClientRect();return{top:he.top+Ax(he,l.vertical),left:he.left+Px(he,l.horizontal)}},[a,l.horizontal,l.vertical,u,f]),B=g.useCallback(De=>({vertical:Ax(De,S.vertical),horizontal:Px(De,S.horizontal)}),[S.horizontal,S.vertical]),W=g.useCallback(De=>{const Ne={width:De.offsetWidth,height:De.offsetHeight},he=B(Ne);if(f==="none")return{top:null,left:null,transformOrigin:bx(he)};const Ie=N();let be=Ie.top-he.vertical,Ye=Ie.left-he.horizontal;const At=be+Ne.height,Ee=Ye+Ne.width,I=Mo(mm(a)),K=I.innerHeight-w,se=I.innerWidth-w;if(w!==null&&beK){const xe=At-K;be-=xe,he.vertical+=xe}if(w!==null&&Yese){const xe=Ee-se;Ye-=xe,he.horizontal+=xe}return{top:`${Math.round(be)}px`,left:`${Math.round(Ye)}px`,transformOrigin:bx(he)}},[a,f,N,B,w]),[$,J]=g.useState(A),Q=g.useCallback(()=>{const De=M.current;if(!De)return;const Ne=W(De);Ne.top!==null&&De.style.setProperty("top",Ne.top),Ne.left!==null&&(De.style.left=Ne.left),De.style.transformOrigin=Ne.transformOrigin,J(!0)},[W]);g.useEffect(()=>(T&&window.addEventListener("scroll",Q),()=>window.removeEventListener("scroll",Q)),[a,T,Q]);const re=()=>{Q()},_=()=>{J(!1)};g.useEffect(()=>{A&&Q()}),g.useImperativeHandle(s,()=>A?{updatePosition:()=>{Q()}}:null,[A,Q]),g.useEffect(()=>{if(!A)return;const De=tg(()=>{Q()}),Ne=Mo(a);return Ne.addEventListener("resize",De),()=>{De.clear(),Ne.removeEventListener("resize",De)}},[a,A,Q]);let q=O;const E={slots:{transition:z,...H},slotProps:{transition:D,paper:P,...C}},[Z,X]=dt("transition",{elementType:Pu,externalForwardedProps:E,ownerState:L,getSlotProps:De=>({...De,onEntering:(Ne,he)=>{var Ie;(Ie=De.onEntering)==null||Ie.call(De,Ne,he),re()},onExited:Ne=>{var he;(he=De.onExited)==null||he.call(De,Ne),_()}}),additionalProps:{appear:!0,in:A}});O==="auto"&&!Z.muiSupportAuto&&(q=void 0);const te=m||(a?ir(mm(a)).body:void 0),[ee,{slots:oe,slotProps:ae,...ge}]=dt("root",{ref:n,elementType:uT,externalForwardedProps:{...E,...R},shouldForwardComponentProp:!0,additionalProps:{slots:{backdrop:H.backdrop},slotProps:{backdrop:lg(typeof C.backdrop=="function"?C.backdrop(L):C.backdrop,{invisible:!0})},container:te,open:A},ownerState:L,className:Oe(j.root,h)}),[le,ze]=dt("paper",{ref:M,className:j.paper,elementType:D1,externalForwardedProps:E,shouldForwardComponentProp:!0,additionalProps:{elevation:x,style:$?void 0:{opacity:0}},ownerState:L});return v.jsx(ee,{...ge,...!gu(ee)&&{slots:oe,slotProps:ae,disableScrollLock:T},children:v.jsx(Z,{...X,timeout:q,children:v.jsx(le,{...ze,children:p})})})});function dT(e){return Qe("MuiMenu",e)}Ke("MuiMenu",["root","paper","list"]);const pT={vertical:"top",horizontal:"right"},vT={vertical:"top",horizontal:"left"},hT=e=>{const{classes:t}=e;return _e({root:["root"],paper:["paper"],list:["list"]},dT,t)},mT=ve(fT,{shouldForwardProp:e=>Zn(e)||e==="classes",name:"MuiMenu",slot:"Root",overridesResolver:(e,t)=>t.root})({}),yT=ve(D1,{name:"MuiMenu",slot:"Paper",overridesResolver:(e,t)=>t.paper})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),gT=ve(aT,{name:"MuiMenu",slot:"List",overridesResolver:(e,t)=>t.list})({outline:0}),bu=g.forwardRef(function(t,n){const r=nt({props:t,name:"MuiMenu"}),{autoFocus:s=!0,children:a,className:l,disableAutoFocusItem:u=!1,MenuListProps:f={},onClose:p,open:h,PaperProps:m={},PopoverClasses:x,transitionDuration:w="auto",TransitionProps:{onEntering:A,...P}={},variant:H="selectedMenu",slots:C={},slotProps:S={},...z}=r,O=Nu(),D={...r,autoFocus:s,disableAutoFocusItem:u,MenuListProps:f,onEntering:A,PaperProps:m,transitionDuration:w,TransitionProps:P,variant:H},T=hT(D),R=s&&!u&&h,M=g.useRef(null),L=(q,E)=>{M.current&&M.current.adjustStyleForScrollbar(q,{direction:O?"rtl":"ltr"}),A&&A(q,E)},j=q=>{q.key==="Tab"&&(q.preventDefault(),p&&p(q,"tabKeyDown"))};let N=-1;g.Children.map(a,(q,E)=>{g.isValidElement(q)&&(q.props.disabled||(H==="selectedMenu"&&q.props.selected||N===-1)&&(N=E))});const B={slots:C,slotProps:{list:f,transition:P,paper:m,...S}},W=W0({elementType:C.root,externalSlotProps:S.root,ownerState:D,className:[T.root,l]}),[$,J]=dt("paper",{className:T.paper,elementType:yT,externalForwardedProps:B,shouldForwardComponentProp:!0,ownerState:D}),[Q,re]=dt("list",{className:Oe(T.list,f.className),elementType:gT,shouldForwardComponentProp:!0,externalForwardedProps:B,getSlotProps:q=>({...q,onKeyDown:E=>{var Z;j(E),(Z=q.onKeyDown)==null||Z.call(q,E)}}),ownerState:D}),_=typeof B.slotProps.transition=="function"?B.slotProps.transition(D):B.slotProps.transition;return v.jsx(mT,{onClose:p,anchorOrigin:{vertical:"bottom",horizontal:O?"right":"left"},transformOrigin:O?pT:vT,slots:{root:C.root,paper:$,backdrop:C.backdrop,...C.transition&&{transition:C.transition}},slotProps:{root:W,paper:J,backdrop:typeof S.backdrop=="function"?S.backdrop(D):S.backdrop,transition:{..._,onEntering:(...q)=>{var E;L(...q),(E=_==null?void 0:_.onEntering)==null||E.call(_,...q)}}},open:h,ref:n,transitionDuration:w,ownerState:D,...z,classes:x,children:v.jsx(Q,{actions:M,autoFocus:s&&(N===-1||u),autoFocusItem:R,variant:H,...re,children:a})})});function AT(e){return Qe("MuiMenuItem",e)}const Dc=Ke("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]),PT=(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,n.divider&&t.divider,!n.disableGutters&&t.gutters]},bT=e=>{const{disabled:t,dense:n,divider:r,disableGutters:s,selected:a,classes:l}=e,f=_e({root:["root",n&&"dense",t&&"disabled",!s&&"gutters",r&&"divider",a&&"selected"]},AT,l);return{...l,...f}},xT=ve(fa,{shouldForwardProp:e=>Zn(e)||e==="classes",name:"MuiMenuItem",slot:"Root",overridesResolver:PT})(tt(({theme:e})=>({...e.typography.body1,display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",whiteSpace:"nowrap","&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${Dc.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:bt(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${Dc.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:bt(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${Dc.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:bt(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:bt(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${Dc.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${Dc.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`& + .${ux.root}`]:{marginTop:e.spacing(1),marginBottom:e.spacing(1)},[`& + .${ux.inset}`]:{marginLeft:52},[`& .${sl.root}`]:{marginTop:0,marginBottom:0},[`& .${sl.inset}`]:{paddingLeft:36},[`& .${yx.root}`]:{minWidth:36},variants:[{props:({ownerState:t})=>!t.disableGutters,style:{paddingLeft:16,paddingRight:16}},{props:({ownerState:t})=>t.divider,style:{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"}},{props:({ownerState:t})=>!t.dense,style:{[e.breakpoints.up("sm")]:{minHeight:"auto"}}},{props:({ownerState:t})=>t.dense,style:{minHeight:32,paddingTop:4,paddingBottom:4,...e.typography.body2,[`& .${yx.root} svg`]:{fontSize:"1.25rem"}}}]}))),ss=g.forwardRef(function(t,n){const r=nt({props:t,name:"MuiMenuItem"}),{autoFocus:s=!1,component:a="li",dense:l=!1,divider:u=!1,disableGutters:f=!1,focusVisibleClassName:p,role:h="menuitem",tabIndex:m,className:x,...w}=r,A=g.useContext(Eo),P=g.useMemo(()=>({dense:l||A.dense||!1,disableGutters:f}),[A.dense,l,f]),H=g.useRef(null);Yr(()=>{s&&H.current&&H.current.focus()},[s]);const C={...r,dense:P.dense,divider:u,disableGutters:f},S=bT(r),z=pn(H,n);let O;return r.disabled||(O=m!==void 0?m:-1),v.jsx(Eo.Provider,{value:P,children:v.jsx(xT,{ref:z,role:h,tabIndex:O,component:a,focusVisibleClassName:Oe(S.focusVisible,p),className:Oe(S.root,x),...w,ownerState:C,classes:S})})});function wT(e){return Qe("MuiNativeSelect",e)}const Hg=Ke("MuiNativeSelect",["root","select","multiple","filled","outlined","standard","disabled","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]),HT=e=>{const{classes:t,variant:n,disabled:r,multiple:s,open:a,error:l}=e,u={select:["select",n,r&&"disabled",s&&"multiple",l&&"error"],icon:["icon",`icon${ye(n)}`,a&&"iconOpen",r&&"disabled"]};return _e(u,wT,t)},k1=ve("select")(({theme:e})=>({MozAppearance:"none",WebkitAppearance:"none",userSelect:"none",borderRadius:0,cursor:"pointer","&:focus":{borderRadius:0},[`&.${Hg.disabled}`]:{cursor:"default"},"&[multiple]":{height:"auto"},"&:not([multiple]) option, &:not([multiple]) optgroup":{backgroundColor:(e.vars||e).palette.background.paper},variants:[{props:({ownerState:t})=>t.variant!=="filled"&&t.variant!=="outlined",style:{"&&&":{paddingRight:24,minWidth:16}}},{props:{variant:"filled"},style:{"&&&":{paddingRight:32}}},{props:{variant:"outlined"},style:{borderRadius:(e.vars||e).shape.borderRadius,"&:focus":{borderRadius:(e.vars||e).shape.borderRadius},"&&&":{paddingRight:32}}}]})),jT=ve(k1,{name:"MuiNativeSelect",slot:"Select",shouldForwardProp:Zn,overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.select,t[n.variant],n.error&&t.error,{[`&.${Hg.multiple}`]:t.multiple}]}})({}),T1=ve("svg")(({theme:e})=>({position:"absolute",right:0,top:"calc(50% - .5em)",pointerEvents:"none",color:(e.vars||e).palette.action.active,[`&.${Hg.disabled}`]:{color:(e.vars||e).palette.action.disabled},variants:[{props:({ownerState:t})=>t.open,style:{transform:"rotate(180deg)"}},{props:{variant:"filled"},style:{right:7}},{props:{variant:"outlined"},style:{right:7}}]})),zT=ve(T1,{name:"MuiNativeSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.icon,n.variant&&t[`icon${ye(n.variant)}`],n.open&&t.iconOpen]}})({}),ST=g.forwardRef(function(t,n){const{className:r,disabled:s,error:a,IconComponent:l,inputRef:u,variant:f="standard",...p}=t,h={...t,disabled:s,variant:f,error:a},m=HT(h);return v.jsxs(g.Fragment,{children:[v.jsx(jT,{ownerState:h,className:Oe(m.select,r),disabled:s,ref:u||n,...p}),t.multiple?null:v.jsx(zT,{as:l,ownerState:h,className:m.icon})]})});var xx;const CT=ve("fieldset",{shouldForwardProp:Zn})({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%"}),OT=ve("legend",{shouldForwardProp:Zn})(tt(({theme:e})=>({float:"unset",width:"auto",overflow:"hidden",variants:[{props:({ownerState:t})=>!t.withLabel,style:{padding:0,lineHeight:"11px",transition:e.transitions.create("width",{duration:150,easing:e.transitions.easing.easeOut})}},{props:({ownerState:t})=>t.withLabel,style:{display:"block",padding:0,height:11,fontSize:"0.75em",visibility:"hidden",maxWidth:.01,transition:e.transitions.create("max-width",{duration:50,easing:e.transitions.easing.easeOut}),whiteSpace:"nowrap","& > span":{paddingLeft:5,paddingRight:5,display:"inline-block",opacity:0,visibility:"visible"}}},{props:({ownerState:t})=>t.withLabel&&t.notched,style:{maxWidth:"100%",transition:e.transitions.create("max-width",{duration:100,easing:e.transitions.easing.easeOut,delay:50})}}]})));function DT(e){const{children:t,classes:n,className:r,label:s,notched:a,...l}=e,u=s!=null&&s!=="",f={...e,notched:a,withLabel:u};return v.jsx(CT,{"aria-hidden":!0,className:r,ownerState:f,...l,children:v.jsx(OT,{ownerState:f,children:u?v.jsx("span",{children:s}):xx||(xx=v.jsx("span",{className:"notranslate","aria-hidden":!0,children:"​"}))})})}const kT=e=>{const{classes:t}=e,r=_e({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},BC,t);return{...t,...r}},TT=ve(Bp,{shouldForwardProp:e=>Zn(e)||e==="classes",name:"MuiOutlinedInput",slot:"Root",overridesResolver:Xp})(tt(({theme:e})=>{const t=e.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{position:"relative",borderRadius:(e.vars||e).shape.borderRadius,[`&:hover .${ro.notchedOutline}`]:{borderColor:(e.vars||e).palette.text.primary},"@media (hover: none)":{[`&:hover .${ro.notchedOutline}`]:{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:t}},[`&.${ro.focused} .${ro.notchedOutline}`]:{borderWidth:2},variants:[...Object.entries(e.palette).filter(gn()).map(([n])=>({props:{color:n},style:{[`&.${ro.focused} .${ro.notchedOutline}`]:{borderColor:(e.vars||e).palette[n].main}}})),{props:{},style:{[`&.${ro.error} .${ro.notchedOutline}`]:{borderColor:(e.vars||e).palette.error.main},[`&.${ro.disabled} .${ro.notchedOutline}`]:{borderColor:(e.vars||e).palette.action.disabled}}},{props:({ownerState:n})=>n.startAdornment,style:{paddingLeft:14}},{props:({ownerState:n})=>n.endAdornment,style:{paddingRight:14}},{props:({ownerState:n})=>n.multiline,style:{padding:"16.5px 14px"}},{props:({ownerState:n,size:r})=>n.multiline&&r==="small",style:{padding:"8.5px 14px"}}]}})),ET=ve(DT,{name:"MuiOutlinedInput",slot:"NotchedOutline",overridesResolver:(e,t)=>t.notchedOutline})(tt(({theme:e})=>{const t=e.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:t}})),RT=ve(Vp,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:Np})(tt(({theme:e})=>({padding:"16.5px 14px",...!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:e.palette.mode==="light"?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:e.palette.mode==="light"?null:"#fff",caretColor:e.palette.mode==="light"?null:"#fff",borderRadius:"inherit"}},...e.vars&&{"&:-webkit-autofill":{borderRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},variants:[{props:{size:"small"},style:{padding:"8.5px 14px"}},{props:({ownerState:t})=>t.multiline,style:{padding:0}},{props:({ownerState:t})=>t.startAdornment,style:{paddingLeft:0}},{props:({ownerState:t})=>t.endAdornment,style:{paddingRight:0}}]}))),jg=g.forwardRef(function(t,n){var r;const s=nt({props:t,name:"MuiOutlinedInput"}),{components:a={},fullWidth:l=!1,inputComponent:u="input",label:f,multiline:p=!1,notched:h,slots:m={},type:x="text",...w}=s,A=kT(s),P=Bo(),H=ji({props:s,muiFormControl:P,states:["color","disabled","error","focused","hiddenLabel","size","required"]}),C={...s,color:H.color||"primary",disabled:H.disabled,error:H.error,focused:H.focused,formControl:P,fullWidth:l,hiddenLabel:H.hiddenLabel,multiline:p,size:H.size,type:x},S=m.root??a.Root??TT,z=m.input??a.Input??RT;return v.jsx(Ip,{slots:{root:S,input:z},renderSuffix:O=>v.jsx(ET,{ownerState:C,className:A.notchedOutline,label:f!=null&&f!==""&&H.required?r||(r=v.jsxs(g.Fragment,{children:[f," ","*"]})):f,notched:typeof h<"u"?h:!!(O.startAdornment||O.filled||O.focused)}),fullWidth:l,inputComponent:u,multiline:p,ref:n,type:x,...w,classes:{...A,notchedOutline:null}})});jg.muiName="Input";const MT=Pt(v.jsx("path",{d:"M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"}),"FirstPage"),LT=Pt(v.jsx("path",{d:"M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"}),"LastPage"),XT=Pt(v.jsx("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"RadioButtonUnchecked"),NT=Pt(v.jsx("path",{d:"M8.465 8.465C9.37 7.56 10.62 7 12 7C14.76 7 17 9.24 17 12C17 13.38 16.44 14.63 15.535 15.535C14.63 16.44 13.38 17 12 17C9.24 17 7 14.76 7 12C7 10.62 7.56 9.37 8.465 8.465Z"}),"RadioButtonChecked"),BT=ve("span",{shouldForwardProp:Zn})({position:"relative",display:"flex"}),VT=ve(XT)({transform:"scale(1)"}),IT=ve(NT)(tt(({theme:e})=>({left:0,position:"absolute",transform:"scale(0)",transition:e.transitions.create("transform",{easing:e.transitions.easing.easeIn,duration:e.transitions.duration.shortest}),variants:[{props:{checked:!0},style:{transform:"scale(1)",transition:e.transitions.create("transform",{easing:e.transitions.easing.easeOut,duration:e.transitions.duration.shortest})}}]})));function E1(e){const{checked:t=!1,classes:n={},fontSize:r}=e,s={...e,checked:t};return v.jsxs(BT,{className:n.root,ownerState:s,children:[v.jsx(VT,{fontSize:r,className:n.background,ownerState:s}),v.jsx(IT,{fontSize:r,className:n.dot,ownerState:s})]})}const R1=g.createContext(void 0);function WT(){return g.useContext(R1)}function JT(e){return Qe("MuiRadio",e)}const wx=Ke("MuiRadio",["root","checked","disabled","colorPrimary","colorSecondary","sizeSmall"]),FT=e=>{const{classes:t,color:n,size:r}=e,s={root:["root",`color${ye(n)}`,r!=="medium"&&`size${ye(r)}`]};return{...t,..._e(s,JT,t)}},YT=ve(Pg,{shouldForwardProp:e=>Zn(e)||e==="classes",name:"MuiRadio",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.size!=="medium"&&t[`size${ye(n.size)}`],t[`color${ye(n.color)}`]]}})(tt(({theme:e})=>({color:(e.vars||e).palette.text.secondary,[`&.${wx.disabled}`]:{color:(e.vars||e).palette.action.disabled},variants:[{props:{color:"default",disabled:!1,disableRipple:!1},style:{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:bt(e.palette.action.active,e.palette.action.hoverOpacity)}}},...Object.entries(e.palette).filter(gn()).map(([t])=>({props:{color:t,disabled:!1,disableRipple:!1},style:{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette[t].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:bt(e.palette[t].main,e.palette.action.hoverOpacity)}}})),...Object.entries(e.palette).filter(gn()).map(([t])=>({props:{color:t,disabled:!1},style:{[`&.${wx.checked}`]:{color:(e.vars||e).palette[t].main}}})),{props:{disableRipple:!1},style:{"&:hover":{"@media (hover: none)":{backgroundColor:"transparent"}}}}]})));function qT(e,t){return typeof t=="object"&&t!==null?e===t:String(e)===String(t)}const ZT=v.jsx(E1,{checked:!0}),GT=v.jsx(E1,{}),xu=g.forwardRef(function(t,n){const r=nt({props:t,name:"MuiRadio"}),{checked:s,checkedIcon:a=ZT,color:l="primary",icon:u=GT,name:f,onChange:p,size:h="medium",className:m,disabled:x,disableRipple:w=!1,slots:A={},slotProps:P={},...H}=r,C=Bo();let S=x;C&&typeof S>"u"&&(S=C.disabled),S??(S=!1);const z={...r,disabled:S,disableRipple:w,color:l,size:h},O=FT(z),D=WT();let T=s;const R=Jm(p,D&&D.onChange);let M=f;D&&(typeof T>"u"&&(T=qT(D.value,r.value)),typeof M>"u"&&(M=D.name));const[L,j]=dt("root",{ref:n,elementType:YT,className:Oe(O.root,m),shouldForwardComponentProp:!0,externalForwardedProps:{slots:A,slotProps:P,...H},getSlotProps:N=>({...N,onChange:(B,...W)=>{var $;($=N.onChange)==null||$.call(N,B,...W),R(B,...W)}}),ownerState:z,additionalProps:{type:"radio",icon:g.cloneElement(u,{fontSize:u.props.fontSize??h}),checkedIcon:g.cloneElement(a,{fontSize:a.props.fontSize??h}),disabled:S,name:M,checked:T,slots:A,slotProps:{input:typeof P.input=="function"?P.input(z):P.input}}});return v.jsx(L,{...j,classes:O})});function UT(e){return Qe("MuiRadioGroup",e)}Ke("MuiRadioGroup",["root","row","error"]);const QT=e=>{const{classes:t,row:n,error:r}=e;return _e({root:["root",n&&"row",r&&"error"]},UT,t)},sp=g.forwardRef(function(t,n){const{actions:r,children:s,className:a,defaultValue:l,name:u,onChange:f,value:p,...h}=t,m=g.useRef(null),x=QT(t),[w,A]=Ai({controlled:p,default:l,name:"RadioGroup"});g.useImperativeHandle(r,()=>({focus:()=>{let S=m.current.querySelector("input:not(:disabled):checked");S||(S=m.current.querySelector("input:not(:disabled)")),S&&S.focus()}}),[]);const P=pn(n,m),H=us(u),C=g.useMemo(()=>({name:H,onChange(S){A(S.target.value),f&&f(S,S.target.value)},value:w}),[H,f,A,w]);return v.jsx(R1.Provider,{value:C,children:v.jsx(nk,{role:"radiogroup",ref:P,className:Oe(x.root,a),...h,children:s})})});function M1(e){return Qe("MuiSelect",e)}const kc=Ke("MuiSelect",["root","select","multiple","filled","outlined","standard","disabled","focused","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]);var Hx;const KT=ve(k1,{name:"MuiSelect",slot:"Select",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`&.${kc.select}`]:t.select},{[`&.${kc.select}`]:t[n.variant]},{[`&.${kc.error}`]:t.error},{[`&.${kc.multiple}`]:t.multiple}]}})({[`&.${kc.select}`]:{height:"auto",minHeight:"1.4375em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}}),_T=ve(T1,{name:"MuiSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.icon,n.variant&&t[`icon${ye(n.variant)}`],n.open&&t.iconOpen]}})({}),$T=ve("input",{shouldForwardProp:e=>e1(e)&&e!=="classes",name:"MuiSelect",slot:"NativeInput",overridesResolver:(e,t)=>t.nativeInput})({bottom:0,left:0,position:"absolute",opacity:0,pointerEvents:"none",width:"100%",boxSizing:"border-box"});function jx(e,t){return typeof t=="object"&&t!==null?e===t:String(e)===String(t)}function eE(e){return e==null||typeof e=="string"&&!e.trim()}const tE=e=>{const{classes:t,variant:n,disabled:r,multiple:s,open:a,error:l}=e,u={select:["select",n,r&&"disabled",s&&"multiple",l&&"error"],icon:["icon",`icon${ye(n)}`,a&&"iconOpen",r&&"disabled"],nativeInput:["nativeInput"]};return _e(u,M1,t)},nE=g.forwardRef(function(t,n){var Ut;const{"aria-describedby":r,"aria-label":s,autoFocus:a,autoWidth:l,children:u,className:f,defaultOpen:p,defaultValue:h,disabled:m,displayEmpty:x,error:w=!1,IconComponent:A,inputRef:P,labelId:H,MenuProps:C={},multiple:S,name:z,onBlur:O,onChange:D,onClose:T,onFocus:R,onOpen:M,open:L,readOnly:j,renderValue:N,required:B,SelectDisplayProps:W={},tabIndex:$,type:J,value:Q,variant:re="standard",..._}=t,[q,E]=Ai({controlled:Q,default:h,name:"Select"}),[Z,X]=Ai({controlled:L,default:p,name:"Select"}),te=g.useRef(null),ee=g.useRef(null),[oe,ae]=g.useState(null),{current:ge}=g.useRef(L!=null),[le,ze]=g.useState(),De=pn(n,P),Ne=g.useCallback(Y=>{ee.current=Y,Y&&ae(Y)},[]),he=oe==null?void 0:oe.parentNode;g.useImperativeHandle(De,()=>({focus:()=>{ee.current.focus()},node:te.current,value:q}),[q]),g.useEffect(()=>{p&&Z&&oe&&!ge&&(ze(l?null:he.clientWidth),ee.current.focus())},[oe,l]),g.useEffect(()=>{a&&ee.current.focus()},[a]),g.useEffect(()=>{if(!H)return;const Y=ir(ee.current).getElementById(H);if(Y){const F=()=>{getSelection().isCollapsed&&ee.current.focus()};return Y.addEventListener("click",F),()=>{Y.removeEventListener("click",F)}}},[H]);const Ie=(Y,F)=>{Y?M&&M(F):T&&T(F),ge||(ze(l?null:he.clientWidth),X(Y))},be=Y=>{Y.button===0&&(Y.preventDefault(),ee.current.focus(),Ie(!0,Y))},Ye=Y=>{Ie(!1,Y)},At=g.Children.toArray(u),Ee=Y=>{const F=At.find(Ae=>Ae.props.value===Y.target.value);F!==void 0&&(E(F.props.value),D&&D(Y,F))},I=Y=>F=>{let Ae;if(F.currentTarget.hasAttribute("tabindex")){if(S){Ae=Array.isArray(q)?q.slice():[];const Ce=q.indexOf(Y.props.value);Ce===-1?Ae.push(Y.props.value):Ae.splice(Ce,1)}else Ae=Y.props.value;if(Y.props.onClick&&Y.props.onClick(F),q!==Ae&&(E(Ae),D)){const Ce=F.nativeEvent||F,Me=new Ce.constructor(Ce.type,Ce);Object.defineProperty(Me,"target",{writable:!0,value:{value:Ae,name:z}}),D(Me,Y)}S||Ie(!1,F)}},K=Y=>{j||[" ","ArrowUp","ArrowDown","Enter"].includes(Y.key)&&(Y.preventDefault(),Ie(!0,Y))},se=oe!==null&&Z,xe=Y=>{!se&&O&&(Object.defineProperty(Y,"target",{writable:!0,value:{value:q,name:z}}),O(Y))};delete _["aria-invalid"];let ue,we;const He=[];let Ue=!1;(op({value:q})||x)&&(N?ue=N(q):Ue=!0);const jt=At.map(Y=>{if(!g.isValidElement(Y))return null;let F;if(S){if(!Array.isArray(q))throw new Error(Rs(2));F=q.some(Ae=>jx(Ae,Y.props.value)),F&&Ue&&He.push(Y.props.children)}else F=jx(q,Y.props.value),F&&Ue&&(we=Y.props.children);return g.cloneElement(Y,{"aria-selected":F?"true":"false",onClick:I(Y),onKeyUp:Ae=>{Ae.key===" "&&Ae.preventDefault(),Y.props.onKeyUp&&Y.props.onKeyUp(Ae)},role:"option",selected:F,value:void 0,"data-value":Y.props.value})});Ue&&(S?He.length===0?ue=null:ue=He.reduce((Y,F,Ae)=>(Y.push(F),Ae{const{classes:t}=e,r=_e({root:["root"]},M1,t);return{...t,...r}},zg={name:"MuiSelect",overridesResolver:(e,t)=>t.root,shouldForwardProp:e=>Zn(e)&&e!=="variant",slot:"Root"},oE=ve(wg,zg)(""),sE=ve(jg,zg)(""),iE=ve(xg,zg)(""),wu=g.forwardRef(function(t,n){const r=nt({name:"MuiSelect",props:t}),{autoWidth:s=!1,children:a,classes:l={},className:u,defaultOpen:f=!1,displayEmpty:p=!1,IconComponent:h=m1,id:m,input:x,inputProps:w,label:A,labelId:P,MenuProps:H,multiple:C=!1,native:S=!1,onClose:z,onOpen:O,open:D,renderValue:T,SelectDisplayProps:R,variant:M="outlined",...L}=r,j=S?ST:nE,N=Bo(),B=ji({props:r,muiFormControl:N,states:["variant","error"]}),W=B.variant||M,$={...r,variant:W,classes:l},J=rE($),{root:Q,...re}=J,_=x||{standard:v.jsx(oE,{ownerState:$}),outlined:v.jsx(sE,{label:A,ownerState:$}),filled:v.jsx(iE,{ownerState:$})}[W],q=pn(n,wi(_));return v.jsx(g.Fragment,{children:g.cloneElement(_,{inputComponent:j,inputProps:{children:a,error:B.error,IconComponent:h,variant:W,type:void 0,multiple:C,...S?{id:m}:{autoWidth:s,defaultOpen:f,displayEmpty:p,labelId:P,MenuProps:H,onClose:z,onOpen:O,open:D,renderValue:T,SelectDisplayProps:{id:m,...R}},...w,classes:w?qn(re,w.classes):re,...x?x.props.inputProps:{}},...(C&&S||p)&&W==="outlined"?{notched:!0}:{},ref:q,className:Oe(_.props.className,u,J.root),...!x&&{variant:W},...L})})});wu.muiName="Select";function aE(e={}){const{autoHideDuration:t=null,disableWindowBlurListener:n=!1,onClose:r,open:s,resumeHideDuration:a}=e,l=Zi();g.useEffect(()=>{if(!s)return;function C(S){S.defaultPrevented||S.key==="Escape"&&(r==null||r(S,"escapeKeyDown"))}return document.addEventListener("keydown",C),()=>{document.removeEventListener("keydown",C)}},[s,r]);const u=hr((C,S)=>{r==null||r(C,S)}),f=hr(C=>{!r||C==null||l.start(C,()=>{u(null,"timeout")})});g.useEffect(()=>(s&&f(t),l.clear),[s,t,f,l]);const p=C=>{r==null||r(C,"clickaway")},h=l.clear,m=g.useCallback(()=>{t!=null&&f(a??t*.5)},[t,a,f]),x=C=>S=>{const z=C.onBlur;z==null||z(S),m()},w=C=>S=>{const z=C.onFocus;z==null||z(S),h()},A=C=>S=>{const z=C.onMouseEnter;z==null||z(S),h()},P=C=>S=>{const z=C.onMouseLeave;z==null||z(S),m()};return g.useEffect(()=>{if(!n&&s)return window.addEventListener("focus",m),window.addEventListener("blur",h),()=>{window.removeEventListener("focus",m),window.removeEventListener("blur",h)}},[n,s,m,h]),{getRootProps:(C={})=>{const S={...$d(e),...$d(C)};return{role:"presentation",...C,...S,onBlur:x(S),onFocus:w(S),onMouseEnter:A(S),onMouseLeave:P(S)}},onClickAway:p}}function lE(e){return Qe("MuiSnackbarContent",e)}Ke("MuiSnackbarContent",["root","message","action"]);const cE=e=>{const{classes:t}=e;return _e({root:["root"],action:["action"],message:["message"]},lE,t)},uE=ve(qr,{name:"MuiSnackbarContent",slot:"Root",overridesResolver:(e,t)=>t.root})(tt(({theme:e})=>{const t=e.palette.mode==="light"?.8:.98,n=L0(e.palette.background.default,t);return{...e.typography.body2,color:e.vars?e.vars.palette.SnackbarContent.color:e.palette.getContrastText(n),backgroundColor:e.vars?e.vars.palette.SnackbarContent.bg:n,display:"flex",alignItems:"center",flexWrap:"wrap",padding:"6px 16px",borderRadius:(e.vars||e).shape.borderRadius,flexGrow:1,[e.breakpoints.up("sm")]:{flexGrow:"initial",minWidth:288}}})),fE=ve("div",{name:"MuiSnackbarContent",slot:"Message",overridesResolver:(e,t)=>t.message})({padding:"8px 0"}),dE=ve("div",{name:"MuiSnackbarContent",slot:"Action",overridesResolver:(e,t)=>t.action})({display:"flex",alignItems:"center",marginLeft:"auto",paddingLeft:16,marginRight:-8}),pE=g.forwardRef(function(t,n){const r=nt({props:t,name:"MuiSnackbarContent"}),{action:s,className:a,message:l,role:u="alert",...f}=r,p=r,h=cE(p);return v.jsxs(uE,{role:u,square:!0,elevation:6,className:Oe(h.root,a),ownerState:p,ref:n,...f,children:[v.jsx(fE,{className:h.message,ownerState:p,children:l}),s?v.jsx(dE,{className:h.action,ownerState:p,children:s}):null]})});function vE(e){return Qe("MuiSnackbar",e)}Ke("MuiSnackbar",["root","anchorOriginTopCenter","anchorOriginBottomCenter","anchorOriginTopRight","anchorOriginBottomRight","anchorOriginTopLeft","anchorOriginBottomLeft"]);const hE=e=>{const{classes:t,anchorOrigin:n}=e,r={root:["root",`anchorOrigin${ye(n.vertical)}${ye(n.horizontal)}`]};return _e(r,vE,t)},mE=ve("div",{name:"MuiSnackbar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`anchorOrigin${ye(n.anchorOrigin.vertical)}${ye(n.anchorOrigin.horizontal)}`]]}})(tt(({theme:e})=>({zIndex:(e.vars||e).zIndex.snackbar,position:"fixed",display:"flex",left:8,right:8,justifyContent:"center",alignItems:"center",variants:[{props:({ownerState:t})=>t.anchorOrigin.vertical==="top",style:{top:8,[e.breakpoints.up("sm")]:{top:24}}},{props:({ownerState:t})=>t.anchorOrigin.vertical!=="top",style:{bottom:8,[e.breakpoints.up("sm")]:{bottom:24}}},{props:({ownerState:t})=>t.anchorOrigin.horizontal==="left",style:{justifyContent:"flex-start",[e.breakpoints.up("sm")]:{left:24,right:"auto"}}},{props:({ownerState:t})=>t.anchorOrigin.horizontal==="right",style:{justifyContent:"flex-end",[e.breakpoints.up("sm")]:{right:24,left:"auto"}}},{props:({ownerState:t})=>t.anchorOrigin.horizontal==="center",style:{[e.breakpoints.up("sm")]:{left:"50%",right:"auto",transform:"translateX(-50%)"}}}]}))),yE=g.forwardRef(function(t,n){const r=nt({props:t,name:"MuiSnackbar"}),s=Gr(),a={enter:s.transitions.duration.enteringScreen,exit:s.transitions.duration.leavingScreen},{action:l,anchorOrigin:{vertical:u,horizontal:f}={vertical:"bottom",horizontal:"left"},autoHideDuration:p=null,children:h,className:m,ClickAwayListenerProps:x,ContentProps:w,disableWindowBlurListener:A=!1,message:P,onBlur:H,onClose:C,onFocus:S,onMouseEnter:z,onMouseLeave:O,open:D,resumeHideDuration:T,slots:R={},slotProps:M={},TransitionComponent:L,transitionDuration:j=a,TransitionProps:{onEnter:N,onExited:B,...W}={},...$}=r,J={...r,anchorOrigin:{vertical:u,horizontal:f},autoHideDuration:p,disableWindowBlurListener:A,TransitionComponent:L,transitionDuration:j},Q=hE(J),{getRootProps:re,onClickAway:_}=aE({...J}),[q,E]=g.useState(!0),Z=he=>{E(!0),B&&B(he)},X=(he,Ie)=>{E(!1),N&&N(he,Ie)},te={slots:{transition:L,...R},slotProps:{content:w,clickAwayListener:x,transition:W,...M}},[ee,oe]=dt("root",{ref:n,className:[Q.root,m],elementType:mE,getSlotProps:re,externalForwardedProps:{...te,...$},ownerState:J}),[ae,ge]=dt("clickAwayListener",{elementType:P1,externalForwardedProps:te,getSlotProps:he=>({onClickAway:(...Ie)=>{var be;(be=he.onClickAway)==null||be.call(he,...Ie),_(...Ie)}}),ownerState:J}),[le,ze]=dt("content",{elementType:pE,shouldForwardComponentProp:!0,externalForwardedProps:te,additionalProps:{message:P,action:l},ownerState:J}),[De,Ne]=dt("transition",{elementType:Pu,externalForwardedProps:te,getSlotProps:he=>({onEnter:(...Ie)=>{var be;(be=he.onEnter)==null||be.call(he,...Ie),X(...Ie)},onExited:(...Ie)=>{var be;(be=he.onExited)==null||be.call(he,...Ie),Z(...Ie)}}),additionalProps:{appear:!0,in:D,timeout:j,direction:u==="top"?"down":"up"},ownerState:J});return!D&&q?null:v.jsx(ae,{...ge,children:v.jsx(ee,{...oe,children:v.jsx(De,{...Ne,children:h||v.jsx(le,{...ze})})})})});function gE(e){return Qe("MuiTooltip",e)}const Sn=Ke("MuiTooltip",["popper","popperInteractive","popperArrow","popperClose","tooltip","tooltipArrow","touch","tooltipPlacementLeft","tooltipPlacementRight","tooltipPlacementTop","tooltipPlacementBottom","arrow"]);function AE(e){return Math.round(e*1e5)/1e5}const PE=e=>{const{classes:t,disableInteractive:n,arrow:r,touch:s,placement:a}=e,l={popper:["popper",!n&&"popperInteractive",r&&"popperArrow"],tooltip:["tooltip",r&&"tooltipArrow",s&&"touch",`tooltipPlacement${ye(a.split("-")[0])}`],arrow:["arrow"]};return _e(l,gE,t)},bE=ve(Mp,{name:"MuiTooltip",slot:"Popper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.popper,!n.disableInteractive&&t.popperInteractive,n.arrow&&t.popperArrow,!n.open&&t.popperClose]}})(tt(({theme:e})=>({zIndex:(e.vars||e).zIndex.tooltip,pointerEvents:"none",variants:[{props:({ownerState:t})=>!t.disableInteractive,style:{pointerEvents:"auto"}},{props:({open:t})=>!t,style:{pointerEvents:"none"}},{props:({ownerState:t})=>t.arrow,style:{[`&[data-popper-placement*="bottom"] .${Sn.arrow}`]:{top:0,marginTop:"-0.71em","&::before":{transformOrigin:"0 100%"}},[`&[data-popper-placement*="top"] .${Sn.arrow}`]:{bottom:0,marginBottom:"-0.71em","&::before":{transformOrigin:"100% 0"}},[`&[data-popper-placement*="right"] .${Sn.arrow}`]:{height:"1em",width:"0.71em","&::before":{transformOrigin:"100% 100%"}},[`&[data-popper-placement*="left"] .${Sn.arrow}`]:{height:"1em",width:"0.71em","&::before":{transformOrigin:"0 0"}}}},{props:({ownerState:t})=>t.arrow&&!t.isRtl,style:{[`&[data-popper-placement*="right"] .${Sn.arrow}`]:{left:0,marginLeft:"-0.71em"}}},{props:({ownerState:t})=>t.arrow&&!!t.isRtl,style:{[`&[data-popper-placement*="right"] .${Sn.arrow}`]:{right:0,marginRight:"-0.71em"}}},{props:({ownerState:t})=>t.arrow&&!t.isRtl,style:{[`&[data-popper-placement*="left"] .${Sn.arrow}`]:{right:0,marginRight:"-0.71em"}}},{props:({ownerState:t})=>t.arrow&&!!t.isRtl,style:{[`&[data-popper-placement*="left"] .${Sn.arrow}`]:{left:0,marginLeft:"-0.71em"}}}]}))),xE=ve("div",{name:"MuiTooltip",slot:"Tooltip",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.tooltip,n.touch&&t.touch,n.arrow&&t.tooltipArrow,t[`tooltipPlacement${ye(n.placement.split("-")[0])}`]]}})(tt(({theme:e})=>({backgroundColor:e.vars?e.vars.palette.Tooltip.bg:bt(e.palette.grey[700],.92),borderRadius:(e.vars||e).shape.borderRadius,color:(e.vars||e).palette.common.white,fontFamily:e.typography.fontFamily,padding:"4px 8px",fontSize:e.typography.pxToRem(11),maxWidth:300,margin:2,wordWrap:"break-word",fontWeight:e.typography.fontWeightMedium,[`.${Sn.popper}[data-popper-placement*="left"] &`]:{transformOrigin:"right center"},[`.${Sn.popper}[data-popper-placement*="right"] &`]:{transformOrigin:"left center"},[`.${Sn.popper}[data-popper-placement*="top"] &`]:{transformOrigin:"center bottom",marginBottom:"14px"},[`.${Sn.popper}[data-popper-placement*="bottom"] &`]:{transformOrigin:"center top",marginTop:"14px"},variants:[{props:({ownerState:t})=>t.arrow,style:{position:"relative",margin:0}},{props:({ownerState:t})=>t.touch,style:{padding:"8px 16px",fontSize:e.typography.pxToRem(14),lineHeight:`${AE(16/14)}em`,fontWeight:e.typography.fontWeightRegular}},{props:({ownerState:t})=>!t.isRtl,style:{[`.${Sn.popper}[data-popper-placement*="left"] &`]:{marginRight:"14px"},[`.${Sn.popper}[data-popper-placement*="right"] &`]:{marginLeft:"14px"}}},{props:({ownerState:t})=>!t.isRtl&&t.touch,style:{[`.${Sn.popper}[data-popper-placement*="left"] &`]:{marginRight:"24px"},[`.${Sn.popper}[data-popper-placement*="right"] &`]:{marginLeft:"24px"}}},{props:({ownerState:t})=>!!t.isRtl,style:{[`.${Sn.popper}[data-popper-placement*="left"] &`]:{marginLeft:"14px"},[`.${Sn.popper}[data-popper-placement*="right"] &`]:{marginRight:"14px"}}},{props:({ownerState:t})=>!!t.isRtl&&t.touch,style:{[`.${Sn.popper}[data-popper-placement*="left"] &`]:{marginLeft:"24px"},[`.${Sn.popper}[data-popper-placement*="right"] &`]:{marginRight:"24px"}}},{props:({ownerState:t})=>t.touch,style:{[`.${Sn.popper}[data-popper-placement*="top"] &`]:{marginBottom:"24px"}}},{props:({ownerState:t})=>t.touch,style:{[`.${Sn.popper}[data-popper-placement*="bottom"] &`]:{marginTop:"24px"}}}]}))),wE=ve("span",{name:"MuiTooltip",slot:"Arrow",overridesResolver:(e,t)=>t.arrow})(tt(({theme:e})=>({overflow:"hidden",position:"absolute",width:"1em",height:"0.71em",boxSizing:"border-box",color:e.vars?e.vars.palette.Tooltip.bg:bt(e.palette.grey[700],.9),"&::before":{content:'""',margin:"auto",display:"block",width:"100%",height:"100%",backgroundColor:"currentColor",transform:"rotate(45deg)"}})));let yd=!1;const zx=new Ep;let Tc={x:0,y:0};function gd(e,t){return(n,...r)=>{t&&t(n,...r),e(n,...r)}}const Sg=g.forwardRef(function(t,n){const r=nt({props:t,name:"MuiTooltip"}),{arrow:s=!1,children:a,classes:l,components:u={},componentsProps:f={},describeChild:p=!1,disableFocusListener:h=!1,disableHoverListener:m=!1,disableInteractive:x=!1,disableTouchListener:w=!1,enterDelay:A=100,enterNextDelay:P=0,enterTouchDelay:H=700,followCursor:C=!1,id:S,leaveDelay:z=0,leaveTouchDelay:O=1500,onClose:D,onOpen:T,open:R,placement:M="bottom",PopperComponent:L,PopperProps:j={},slotProps:N={},slots:B={},title:W,TransitionComponent:$,TransitionProps:J,...Q}=r,re=g.isValidElement(a)?a:v.jsx("span",{children:a}),_=Gr(),q=Nu(),[E,Z]=g.useState(),[X,te]=g.useState(null),ee=g.useRef(!1),oe=x||C,ae=Zi(),ge=Zi(),le=Zi(),ze=Zi(),[De,Ne]=Ai({controlled:R,default:!1,name:"Tooltip",state:"open"});let he=De;const Ie=us(S),be=g.useRef(),Ye=hr(()=>{be.current!==void 0&&(document.body.style.WebkitUserSelect=be.current,be.current=void 0),ze.clear()});g.useEffect(()=>Ye,[Ye]);const At=Je=>{zx.clear(),yd=!0,Ne(!0),T&&!he&&T(Je)},Ee=hr(Je=>{zx.start(800+z,()=>{yd=!1}),Ne(!1),D&&he&&D(Je),ae.start(_.transitions.duration.shortest,()=>{ee.current=!1})}),I=Je=>{ee.current&&Je.type!=="touchstart"||(E&&E.removeAttribute("title"),ge.clear(),le.clear(),A||yd&&P?ge.start(yd?P:A,()=>{At(Je)}):At(Je))},K=Je=>{ge.clear(),le.start(z,()=>{Ee(Je)})},[,se]=g.useState(!1),xe=Je=>{jl(Je.target)||(se(!1),K(Je))},ue=Je=>{E||Z(Je.currentTarget),jl(Je.target)&&(se(!0),I(Je))},we=Je=>{ee.current=!0;const Et=re.props;Et.onTouchStart&&Et.onTouchStart(Je)},He=Je=>{we(Je),le.clear(),ae.clear(),Ye(),be.current=document.body.style.WebkitUserSelect,document.body.style.WebkitUserSelect="none",ze.start(H,()=>{document.body.style.WebkitUserSelect=be.current,I(Je)})},Ue=Je=>{re.props.onTouchEnd&&re.props.onTouchEnd(Je),Ye(),le.start(O,()=>{Ee(Je)})};g.useEffect(()=>{if(!he)return;function Je(Et){Et.key==="Escape"&&Ee(Et)}return document.addEventListener("keydown",Je),()=>{document.removeEventListener("keydown",Je)}},[Ee,he]);const jt=pn(wi(re),Z,n);!W&&W!==0&&(he=!1);const ot=g.useRef(),pt=Je=>{const Et=re.props;Et.onMouseMove&&Et.onMouseMove(Je),Tc={x:Je.clientX,y:Je.clientY},ot.current&&ot.current.update()},gt={},ft=typeof W=="string";p?(gt.title=!he&&ft&&!m?W:null,gt["aria-describedby"]=he?Ie:null):(gt["aria-label"]=ft?W:null,gt["aria-labelledby"]=he&&!ft?Ie:null);const Ve={...gt,...Q,...re.props,className:Oe(Q.className,re.props.className),onTouchStart:we,ref:jt,...C?{onMouseMove:pt}:{}},Tt={};w||(Ve.onTouchStart=He,Ve.onTouchEnd=Ue),m||(Ve.onMouseOver=gd(I,Ve.onMouseOver),Ve.onMouseLeave=gd(K,Ve.onMouseLeave),oe||(Tt.onMouseOver=I,Tt.onMouseLeave=K)),h||(Ve.onFocus=gd(ue,Ve.onFocus),Ve.onBlur=gd(xe,Ve.onBlur),oe||(Tt.onFocus=ue,Tt.onBlur=xe));const Vt={...r,isRtl:q,arrow:s,disableInteractive:oe,placement:M,PopperComponentProp:L,touch:ee.current},Ut=typeof N.popper=="function"?N.popper(Vt):N.popper,Y=g.useMemo(()=>{var Et,vn;let Je=[{name:"arrow",enabled:!!X,options:{element:X,padding:4}}];return(Et=j.popperOptions)!=null&&Et.modifiers&&(Je=Je.concat(j.popperOptions.modifiers)),(vn=Ut==null?void 0:Ut.popperOptions)!=null&&vn.modifiers&&(Je=Je.concat(Ut.popperOptions.modifiers)),{...j.popperOptions,...Ut==null?void 0:Ut.popperOptions,modifiers:Je}},[X,j.popperOptions,Ut==null?void 0:Ut.popperOptions]),F=PE(Vt),Ae=typeof N.transition=="function"?N.transition(Vt):N.transition,Ce={slots:{popper:u.Popper,transition:u.Transition??$,tooltip:u.Tooltip,arrow:u.Arrow,...B},slotProps:{arrow:N.arrow??f.arrow,popper:{...j,...Ut??f.popper},tooltip:N.tooltip??f.tooltip,transition:{...J,...Ae??f.transition}}},[Me,Be]=dt("popper",{elementType:bE,externalForwardedProps:Ce,ownerState:Vt,className:Oe(F.popper,j==null?void 0:j.className)}),[Ze,Te]=dt("transition",{elementType:Pu,externalForwardedProps:Ce,ownerState:Vt}),[st,ut]=dt("tooltip",{elementType:xE,className:F.tooltip,externalForwardedProps:Ce,ownerState:Vt}),[Lt,Qt]=dt("arrow",{elementType:wE,className:F.arrow,externalForwardedProps:Ce,ownerState:Vt,ref:te});return v.jsxs(g.Fragment,{children:[g.cloneElement(re,Ve),v.jsx(Me,{as:L??Mp,placement:M,anchorEl:C?{getBoundingClientRect:()=>({top:Tc.y,left:Tc.x,right:Tc.x,bottom:Tc.y,width:0,height:0})}:E,popperRef:ot,open:E?he:!1,id:Ie,transition:!0,...Tt,...Be,popperOptions:Y,children:({TransitionProps:Je})=>v.jsx(Ze,{timeout:_.transitions.duration.shorter,...Je,...Te,children:v.jsxs(st,{...ut,children:[W,s?v.jsx(Lt,{...Qt}):null]})})})]})}),ds=pj({createStyledComponent:ve("div",{name:"MuiStack",slot:"Root",overridesResolver:(e,t)=>t.root}),useThemeProps:e=>nt({props:e,name:"MuiStack"})});function HE(e){return Qe("MuiSwitch",e)}const ur=Ke("MuiSwitch",["root","edgeStart","edgeEnd","switchBase","colorPrimary","colorSecondary","sizeSmall","sizeMedium","checked","disabled","input","thumb","track"]),jE=e=>{const{classes:t,edge:n,size:r,color:s,checked:a,disabled:l}=e,u={root:["root",n&&`edge${ye(n)}`,`size${ye(r)}`],switchBase:["switchBase",`color${ye(s)}`,a&&"checked",l&&"disabled"],thumb:["thumb"],track:["track"],input:["input"]},f=_e(u,HE,t);return{...t,...f}},zE=ve("span",{name:"MuiSwitch",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.edge&&t[`edge${ye(n.edge)}`],t[`size${ye(n.size)}`]]}})({display:"inline-flex",width:34+12*2,height:14+12*2,overflow:"hidden",padding:12,boxSizing:"border-box",position:"relative",flexShrink:0,zIndex:0,verticalAlign:"middle","@media print":{colorAdjust:"exact"},variants:[{props:{edge:"start"},style:{marginLeft:-8}},{props:{edge:"end"},style:{marginRight:-8}},{props:{size:"small"},style:{width:40,height:24,padding:7,[`& .${ur.thumb}`]:{width:16,height:16},[`& .${ur.switchBase}`]:{padding:4,[`&.${ur.checked}`]:{transform:"translateX(16px)"}}}}]}),SE=ve(Pg,{name:"MuiSwitch",slot:"SwitchBase",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.switchBase,{[`& .${ur.input}`]:t.input},n.color!=="default"&&t[`color${ye(n.color)}`]]}})(tt(({theme:e})=>({position:"absolute",top:0,left:0,zIndex:1,color:e.vars?e.vars.palette.Switch.defaultColor:`${e.palette.mode==="light"?e.palette.common.white:e.palette.grey[300]}`,transition:e.transitions.create(["left","transform"],{duration:e.transitions.duration.shortest}),[`&.${ur.checked}`]:{transform:"translateX(20px)"},[`&.${ur.disabled}`]:{color:e.vars?e.vars.palette.Switch.defaultDisabledColor:`${e.palette.mode==="light"?e.palette.grey[100]:e.palette.grey[600]}`},[`&.${ur.checked} + .${ur.track}`]:{opacity:.5},[`&.${ur.disabled} + .${ur.track}`]:{opacity:e.vars?e.vars.opacity.switchTrackDisabled:`${e.palette.mode==="light"?.12:.2}`},[`& .${ur.input}`]:{left:"-100%",width:"300%"}})),tt(({theme:e})=>({"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:bt(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},variants:[...Object.entries(e.palette).filter(gn(["light"])).map(([t])=>({props:{color:t},style:{[`&.${ur.checked}`]:{color:(e.vars||e).palette[t].main,"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette[t].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:bt(e.palette[t].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${ur.disabled}`]:{color:e.vars?e.vars.palette.Switch[`${t}DisabledColor`]:`${e.palette.mode==="light"?ua(e.palette[t].main,.62):ca(e.palette[t].main,.55)}`}},[`&.${ur.checked} + .${ur.track}`]:{backgroundColor:(e.vars||e).palette[t].main}}}))]}))),CE=ve("span",{name:"MuiSwitch",slot:"Track",overridesResolver:(e,t)=>t.track})(tt(({theme:e})=>({height:"100%",width:"100%",borderRadius:14/2,zIndex:-1,transition:e.transitions.create(["opacity","background-color"],{duration:e.transitions.duration.shortest}),backgroundColor:e.vars?e.vars.palette.common.onBackground:`${e.palette.mode==="light"?e.palette.common.black:e.palette.common.white}`,opacity:e.vars?e.vars.opacity.switchTrack:`${e.palette.mode==="light"?.38:.3}`}))),OE=ve("span",{name:"MuiSwitch",slot:"Thumb",overridesResolver:(e,t)=>t.thumb})(tt(({theme:e})=>({boxShadow:(e.vars||e).shadows[1],backgroundColor:"currentColor",width:20,height:20,borderRadius:"50%"}))),L1=g.forwardRef(function(t,n){const r=nt({props:t,name:"MuiSwitch"}),{className:s,color:a="primary",edge:l=!1,size:u="medium",sx:f,...p}=r,h={...r,color:a,edge:l,size:u},m=jE(h),x=v.jsx(OE,{className:m.thumb,ownerState:h});return v.jsxs(zE,{className:Oe(m.root,s),sx:f,ownerState:h,children:[v.jsx(SE,{type:"checkbox",icon:x,checkedIcon:x,ref:n,ownerState:h,...p,classes:{...m,root:m.switchBase}}),v.jsx(CE,{className:m.track,ownerState:h})]})}),X1=g.createContext();function DE(e){return Qe("MuiTable",e)}Ke("MuiTable",["root","stickyHeader"]);const kE=e=>{const{classes:t,stickyHeader:n}=e;return _e({root:["root",n&&"stickyHeader"]},DE,t)},TE=ve("table",{name:"MuiTable",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.stickyHeader&&t.stickyHeader]}})(tt(({theme:e})=>({display:"table",width:"100%",borderCollapse:"collapse",borderSpacing:0,"& caption":{...e.typography.body2,padding:e.spacing(2),color:(e.vars||e).palette.text.secondary,textAlign:"left",captionSide:"bottom"},variants:[{props:({ownerState:t})=>t.stickyHeader,style:{borderCollapse:"separate"}}]}))),Sx="table",N1=g.forwardRef(function(t,n){const r=nt({props:t,name:"MuiTable"}),{className:s,component:a=Sx,padding:l="normal",size:u="medium",stickyHeader:f=!1,...p}=r,h={...r,component:a,padding:l,size:u,stickyHeader:f},m=kE(h),x=g.useMemo(()=>({padding:l,size:u,stickyHeader:f}),[l,u,f]);return v.jsx(X1.Provider,{value:x,children:v.jsx(TE,{as:a,role:a===Sx?null:"table",ref:n,className:Oe(m.root,s),ownerState:h,...p})})}),Fu=g.createContext();function EE(e){return Qe("MuiTableBody",e)}Ke("MuiTableBody",["root"]);const RE=e=>{const{classes:t}=e;return _e({root:["root"]},EE,t)},ME=ve("tbody",{name:"MuiTableBody",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"table-row-group"}),LE={variant:"body"},Cx="tbody",B1=g.forwardRef(function(t,n){const r=nt({props:t,name:"MuiTableBody"}),{className:s,component:a=Cx,...l}=r,u={...r,component:a},f=RE(u);return v.jsx(Fu.Provider,{value:LE,children:v.jsx(ME,{className:Oe(f.root,s),as:a,ref:n,role:a===Cx?null:"rowgroup",ownerState:u,...l})})});function XE(e){return Qe("MuiTableCell",e)}const NE=Ke("MuiTableCell",["root","head","body","footer","sizeSmall","sizeMedium","paddingCheckbox","paddingNone","alignLeft","alignCenter","alignRight","alignJustify","stickyHeader"]),BE=e=>{const{classes:t,variant:n,align:r,padding:s,size:a,stickyHeader:l}=e,u={root:["root",n,l&&"stickyHeader",r!=="inherit"&&`align${ye(r)}`,s!=="normal"&&`padding${ye(s)}`,`size${ye(a)}`]};return _e(u,XE,t)},VE=ve("td",{name:"MuiTableCell",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`size${ye(n.size)}`],n.padding!=="normal"&&t[`padding${ye(n.padding)}`],n.align!=="inherit"&&t[`align${ye(n.align)}`],n.stickyHeader&&t.stickyHeader]}})(tt(({theme:e})=>({...e.typography.body2,display:"table-cell",verticalAlign:"inherit",borderBottom:e.vars?`1px solid ${e.vars.palette.TableCell.border}`:`1px solid + ${e.palette.mode==="light"?ua(bt(e.palette.divider,1),.88):ca(bt(e.palette.divider,1),.68)}`,textAlign:"left",padding:16,variants:[{props:{variant:"head"},style:{color:(e.vars||e).palette.text.primary,lineHeight:e.typography.pxToRem(24),fontWeight:e.typography.fontWeightMedium}},{props:{variant:"body"},style:{color:(e.vars||e).palette.text.primary}},{props:{variant:"footer"},style:{color:(e.vars||e).palette.text.secondary,lineHeight:e.typography.pxToRem(21),fontSize:e.typography.pxToRem(12)}},{props:{size:"small"},style:{padding:"6px 16px",[`&.${NE.paddingCheckbox}`]:{width:24,padding:"0 12px 0 16px","& > *":{padding:0}}}},{props:{padding:"checkbox"},style:{width:48,padding:"0 0 0 4px"}},{props:{padding:"none"},style:{padding:0}},{props:{align:"left"},style:{textAlign:"left"}},{props:{align:"center"},style:{textAlign:"center"}},{props:{align:"right"},style:{textAlign:"right",flexDirection:"row-reverse"}},{props:{align:"justify"},style:{textAlign:"justify"}},{props:({ownerState:t})=>t.stickyHeader,style:{position:"sticky",top:0,zIndex:2,backgroundColor:(e.vars||e).palette.background.default}}]}))),pr=g.forwardRef(function(t,n){const r=nt({props:t,name:"MuiTableCell"}),{align:s="inherit",className:a,component:l,padding:u,scope:f,size:p,sortDirection:h,variant:m,...x}=r,w=g.useContext(X1),A=g.useContext(Fu),P=A&&A.variant==="head";let H;l?H=l:H=P?"th":"td";let C=f;H==="td"?C=void 0:!C&&P&&(C="col");const S=m||A&&A.variant,z={...r,align:s,component:H,padding:u||(w&&w.padding?w.padding:"normal"),size:p||(w&&w.size?w.size:"medium"),sortDirection:h,stickyHeader:S==="head"&&w&&w.stickyHeader,variant:S},O=BE(z);let D=null;return h&&(D=h==="asc"?"ascending":"descending"),v.jsx(VE,{as:H,ref:n,className:Oe(O.root,a),"aria-sort":D,scope:C,ownerState:z,...x})});function IE(e){return Qe("MuiTableContainer",e)}Ke("MuiTableContainer",["root"]);const WE=e=>{const{classes:t}=e;return _e({root:["root"]},IE,t)},JE=ve("div",{name:"MuiTableContainer",slot:"Root",overridesResolver:(e,t)=>t.root})({width:"100%",overflowX:"auto"}),V1=g.forwardRef(function(t,n){const r=nt({props:t,name:"MuiTableContainer"}),{className:s,component:a="div",...l}=r,u={...r,component:a},f=WE(u);return v.jsx(JE,{ref:n,as:a,className:Oe(f.root,s),ownerState:u,...l})});function FE(e){return Qe("MuiTableFooter",e)}Ke("MuiTableFooter",["root"]);const YE=e=>{const{classes:t}=e;return _e({root:["root"]},FE,t)},qE=ve("tfoot",{name:"MuiTableFooter",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"table-footer-group"}),ZE={variant:"footer"},Ox="tfoot",GE=g.forwardRef(function(t,n){const r=nt({props:t,name:"MuiTableFooter"}),{className:s,component:a=Ox,...l}=r,u={...r,component:a},f=YE(u);return v.jsx(Fu.Provider,{value:ZE,children:v.jsx(qE,{as:a,className:Oe(f.root,s),ref:n,role:a===Ox?null:"rowgroup",ownerState:u,...l})})});function UE(e){return Qe("MuiTableHead",e)}Ke("MuiTableHead",["root"]);const QE=e=>{const{classes:t}=e;return _e({root:["root"]},UE,t)},KE=ve("thead",{name:"MuiTableHead",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"table-header-group"}),_E={variant:"head"},Dx="thead",$E=g.forwardRef(function(t,n){const r=nt({props:t,name:"MuiTableHead"}),{className:s,component:a=Dx,...l}=r,u={...r,component:a},f=QE(u);return v.jsx(Fu.Provider,{value:_E,children:v.jsx(KE,{as:a,className:Oe(f.root,s),ref:n,role:a===Dx?null:"rowgroup",ownerState:u,...l})})});function eR(e){return Qe("MuiToolbar",e)}Ke("MuiToolbar",["root","gutters","regular","dense"]);const tR=e=>{const{classes:t,disableGutters:n,variant:r}=e;return _e({root:["root",!n&&"gutters",r]},eR,t)},nR=ve("div",{name:"MuiToolbar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disableGutters&&t.gutters,t[n.variant]]}})(tt(({theme:e})=>({position:"relative",display:"flex",alignItems:"center",variants:[{props:({ownerState:t})=>!t.disableGutters,style:{paddingLeft:e.spacing(2),paddingRight:e.spacing(2),[e.breakpoints.up("sm")]:{paddingLeft:e.spacing(3),paddingRight:e.spacing(3)}}},{props:{variant:"dense"},style:{minHeight:48}},{props:{variant:"regular"},style:e.mixins.toolbar}]}))),I1=g.forwardRef(function(t,n){const r=nt({props:t,name:"MuiToolbar"}),{className:s,component:a="div",disableGutters:l=!1,variant:u="regular",...f}=r,p={...r,component:a,disableGutters:l,variant:u},h=tR(p);return v.jsx(nR,{as:a,className:Oe(h.root,s),ref:n,ownerState:p,...f})}),rR=Pt(v.jsx("path",{d:"M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"}),"KeyboardArrowLeft"),oR=Pt(v.jsx("path",{d:"M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"}),"KeyboardArrowRight"),sR=g.forwardRef(function(t,n){const{backIconButtonProps:r,count:s,disabled:a=!1,getItemAriaLabel:l,nextIconButtonProps:u,onPageChange:f,page:p,rowsPerPage:h,showFirstButton:m,showLastButton:x,slots:w={},slotProps:A={},...P}=t,H=Nu(),C=Z=>{f(Z,0)},S=Z=>{f(Z,p-1)},z=Z=>{f(Z,p+1)},O=Z=>{f(Z,Math.max(0,Math.ceil(s/h)-1))},D=w.firstButton??Sr,T=w.lastButton??Sr,R=w.nextButton??Sr,M=w.previousButton??Sr,L=w.firstButtonIcon??MT,j=w.lastButtonIcon??LT,N=w.nextButtonIcon??oR,B=w.previousButtonIcon??rR,W=H?T:D,$=H?R:M,J=H?M:R,Q=H?D:T,re=H?A.lastButton:A.firstButton,_=H?A.nextButton:A.previousButton,q=H?A.previousButton:A.nextButton,E=H?A.firstButton:A.lastButton;return v.jsxs("div",{ref:n,...P,children:[m&&v.jsx(W,{onClick:C,disabled:a||p===0,"aria-label":l("first",p),title:l("first",p),...re,children:H?v.jsx(j,{...A.lastButtonIcon}):v.jsx(L,{...A.firstButtonIcon})}),v.jsx($,{onClick:S,disabled:a||p===0,color:"inherit","aria-label":l("previous",p),title:l("previous",p),..._??r,children:H?v.jsx(N,{...A.nextButtonIcon}):v.jsx(B,{...A.previousButtonIcon})}),v.jsx(J,{onClick:z,disabled:a||(s!==-1?p>=Math.ceil(s/h)-1:!1),color:"inherit","aria-label":l("next",p),title:l("next",p),...q??u,children:H?v.jsx(B,{...A.previousButtonIcon}):v.jsx(N,{...A.nextButtonIcon})}),x&&v.jsx(Q,{onClick:O,disabled:a||p>=Math.ceil(s/h)-1,"aria-label":l("last",p),title:l("last",p),...E,children:H?v.jsx(L,{...A.firstButtonIcon}):v.jsx(j,{...A.lastButtonIcon})})]})});function iR(e){return Qe("MuiTablePagination",e)}const au=Ke("MuiTablePagination",["root","toolbar","spacer","selectLabel","selectRoot","select","selectIcon","input","menuItem","displayedRows","actions"]);var kx;const aR=ve(pr,{name:"MuiTablePagination",slot:"Root",overridesResolver:(e,t)=>t.root})(tt(({theme:e})=>({overflow:"auto",color:(e.vars||e).palette.text.primary,fontSize:e.typography.pxToRem(14),"&:last-child":{padding:0}}))),lR=ve(I1,{name:"MuiTablePagination",slot:"Toolbar",overridesResolver:(e,t)=>({[`& .${au.actions}`]:t.actions,...t.toolbar})})(tt(({theme:e})=>({minHeight:52,paddingRight:2,[`${e.breakpoints.up("xs")} and (orientation: landscape)`]:{minHeight:52},[e.breakpoints.up("sm")]:{minHeight:52,paddingRight:2},[`& .${au.actions}`]:{flexShrink:0,marginLeft:20}}))),cR=ve("div",{name:"MuiTablePagination",slot:"Spacer",overridesResolver:(e,t)=>t.spacer})({flex:"1 1 100%"}),uR=ve("p",{name:"MuiTablePagination",slot:"SelectLabel",overridesResolver:(e,t)=>t.selectLabel})(tt(({theme:e})=>({...e.typography.body2,flexShrink:0}))),fR=ve(wu,{name:"MuiTablePagination",slot:"Select",overridesResolver:(e,t)=>({[`& .${au.selectIcon}`]:t.selectIcon,[`& .${au.select}`]:t.select,...t.input,...t.selectRoot})})({color:"inherit",fontSize:"inherit",flexShrink:0,marginRight:32,marginLeft:8,[`& .${au.select}`]:{paddingLeft:8,paddingRight:24,textAlign:"right",textAlignLast:"right"}}),dR=ve(ss,{name:"MuiTablePagination",slot:"MenuItem",overridesResolver:(e,t)=>t.menuItem})({}),pR=ve("p",{name:"MuiTablePagination",slot:"DisplayedRows",overridesResolver:(e,t)=>t.displayedRows})(tt(({theme:e})=>({...e.typography.body2,flexShrink:0})));function vR({from:e,to:t,count:n}){return`${e}–${t} of ${n!==-1?n:`more than ${t}`}`}function hR(e){return`Go to ${e} page`}const mR=e=>{const{classes:t}=e;return _e({root:["root"],toolbar:["toolbar"],spacer:["spacer"],selectLabel:["selectLabel"],select:["select"],input:["input"],selectIcon:["selectIcon"],menuItem:["menuItem"],displayedRows:["displayedRows"],actions:["actions"]},iR,t)},yR=g.forwardRef(function(t,n){const r=nt({props:t,name:"MuiTablePagination"}),{ActionsComponent:s=sR,backIconButtonProps:a,colSpan:l,component:u=pr,count:f,disabled:p=!1,getItemAriaLabel:h=hR,labelDisplayedRows:m=vR,labelRowsPerPage:x="Rows per page:",nextIconButtonProps:w,onPageChange:A,onRowsPerPageChange:P,page:H,rowsPerPage:C,rowsPerPageOptions:S=[10,25,50,100],SelectProps:z={},showFirstButton:O=!1,showLastButton:D=!1,slotProps:T={},slots:R={},...M}=r,L=r,j=mR(L),N=(T==null?void 0:T.select)??z,B=N.native?"option":dR;let W;(u===pr||u==="td")&&(W=l||1e3);const $=us(N.id),J=us(N.labelId),Q=()=>f===-1?(H+1)*C:C===-1?f:Math.min(f,(H+1)*C),re={slots:R,slotProps:T},[_,q]=dt("root",{ref:n,className:j.root,elementType:aR,externalForwardedProps:{...re,component:u,...M},ownerState:L,additionalProps:{colSpan:W}}),[E,Z]=dt("toolbar",{className:j.toolbar,elementType:lR,externalForwardedProps:re,ownerState:L}),[X,te]=dt("spacer",{className:j.spacer,elementType:cR,externalForwardedProps:re,ownerState:L}),[ee,oe]=dt("selectLabel",{className:j.selectLabel,elementType:uR,externalForwardedProps:re,ownerState:L,additionalProps:{id:J}}),[ae,ge]=dt("select",{className:j.select,elementType:fR,externalForwardedProps:re,ownerState:L}),[le,ze]=dt("menuItem",{className:j.menuItem,elementType:B,externalForwardedProps:re,ownerState:L}),[De,Ne]=dt("displayedRows",{className:j.displayedRows,elementType:pR,externalForwardedProps:re,ownerState:L});return v.jsx(_,{...q,children:v.jsxs(E,{...Z,children:[v.jsx(X,{...te}),S.length>1&&v.jsx(ee,{...oe,children:x}),S.length>1&&v.jsx(ae,{variant:"standard",...!N.variant&&{input:kx||(kx=v.jsx(Ip,{}))},value:C,onChange:P,id:$,labelId:J,...N,classes:{...N.classes,root:Oe(j.input,j.selectRoot,(N.classes||{}).root),select:Oe(j.select,(N.classes||{}).select),icon:Oe(j.selectIcon,(N.classes||{}).icon)},disabled:p,...ge,children:S.map(he=>g.createElement(le,{...ze,key:he.label?he.label:he,value:he.value?he.value:he},he.label?he.label:he))}),v.jsx(De,{...Ne,children:m({from:f===0?0:H*C+1,to:Q(),count:f===-1?-1:f,page:H})}),v.jsx(s,{className:j.actions,backIconButtonProps:a,count:f,nextIconButtonProps:w,onPageChange:A,page:H,rowsPerPage:C,showFirstButton:O,showLastButton:D,slotProps:T.actions,slots:R.actions,getItemAriaLabel:h,disabled:p})]})})});function gR(e){return Qe("MuiTableRow",e)}const Tx=Ke("MuiTableRow",["root","selected","hover","head","footer"]),AR=e=>{const{classes:t,selected:n,hover:r,head:s,footer:a}=e;return _e({root:["root",n&&"selected",r&&"hover",s&&"head",a&&"footer"]},gR,t)},PR=ve("tr",{name:"MuiTableRow",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.head&&t.head,n.footer&&t.footer]}})(tt(({theme:e})=>({color:"inherit",display:"table-row",verticalAlign:"middle",outline:0,[`&.${Tx.hover}:hover`]:{backgroundColor:(e.vars||e).palette.action.hover},[`&.${Tx.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:bt(e.palette.primary.main,e.palette.action.selectedOpacity),"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:bt(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity)}}}))),Ex="tr",ip=g.forwardRef(function(t,n){const r=nt({props:t,name:"MuiTableRow"}),{className:s,component:a=Ex,hover:l=!1,selected:u=!1,...f}=r,p=g.useContext(Fu),h={...r,component:a,hover:l,selected:u,head:p&&p.variant==="head",footer:p&&p.variant==="footer"},m=AR(h);return v.jsx(PR,{as:a,ref:n,className:Oe(m.root,s),role:a===Ex?null:"row",ownerState:h,...f})});function bR(e){return Qe("MuiTextField",e)}Ke("MuiTextField",["root"]);const xR={standard:wg,filled:xg,outlined:jg},wR=e=>{const{classes:t}=e;return _e({root:["root"]},bR,t)},HR=ve(cr,{name:"MuiTextField",slot:"Root",overridesResolver:(e,t)=>t.root})({}),ao=g.forwardRef(function(t,n){const r=nt({props:t,name:"MuiTextField"}),{autoComplete:s,autoFocus:a=!1,children:l,className:u,color:f="primary",defaultValue:p,disabled:h=!1,error:m=!1,FormHelperTextProps:x,fullWidth:w=!1,helperText:A,id:P,InputLabelProps:H,inputProps:C,InputProps:S,inputRef:z,label:O,maxRows:D,minRows:T,multiline:R=!1,name:M,onBlur:L,onChange:j,onFocus:N,placeholder:B,required:W=!1,rows:$,select:J=!1,SelectProps:Q,slots:re={},slotProps:_={},type:q,value:E,variant:Z="outlined",...X}=r,te={...r,autoFocus:a,color:f,disabled:h,error:m,fullWidth:w,multiline:R,required:W,select:J,variant:Z},ee=wR(te),oe=us(P),ae=A&&oe?`${oe}-helper-text`:void 0,ge=O&&oe?`${oe}-label`:void 0,le=xR[Z],ze={slots:re,slotProps:{input:S,inputLabel:H,htmlInput:C,formHelperText:x,select:Q,..._}},De={},Ne=ze.slotProps.inputLabel;Z==="outlined"&&(Ne&&typeof Ne.shrink<"u"&&(De.notched=Ne.shrink),De.label=O),J&&((!Q||!Q.native)&&(De.id=void 0),De["aria-describedby"]=void 0);const[he,Ie]=dt("input",{elementType:le,externalForwardedProps:ze,additionalProps:De,ownerState:te}),[be,Ye]=dt("inputLabel",{elementType:Xd,externalForwardedProps:ze,ownerState:te}),[At,Ee]=dt("htmlInput",{elementType:"input",externalForwardedProps:ze,ownerState:te}),[I,K]=dt("formHelperText",{elementType:tl,externalForwardedProps:ze,ownerState:te}),[se,xe]=dt("select",{elementType:wu,externalForwardedProps:ze,ownerState:te}),ue=v.jsx(he,{"aria-describedby":ae,autoComplete:s,autoFocus:a,defaultValue:p,fullWidth:w,multiline:R,name:M,rows:$,maxRows:D,minRows:T,type:q,value:E,id:oe,inputRef:z,onBlur:L,onChange:j,onFocus:N,placeholder:B,inputProps:Ee,slots:{input:re.htmlInput?At:void 0},...Ie});return v.jsxs(HR,{className:Oe(ee.root,u),disabled:h,error:m,fullWidth:w,ref:n,required:W,color:f,variant:Z,ownerState:te,...X,children:[O!=null&&O!==""&&v.jsx(be,{htmlFor:oe,id:ge,...Ye,children:O}),J?v.jsx(se,{"aria-describedby":ae,id:oe,labelId:ge,value:E,input:ue,...xe,children:l}):ue,A&&v.jsx(I,{id:ae,...K,children:A})]})}),kn="/hub",Wp="/services/japps",Cg=["Environments"],jR=["Any","Owned by me","Shared with me"],zR=["Recently modified","Name: A-Z","Name: Z-A"],SR=["Running","Ready","Pending","Unknown"],Og="startAppId";var Ml=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},va=typeof window>"u"||"Deno"in globalThis;function so(){}function CR(e,t){return typeof e=="function"?e(t):e}function iy(e){return typeof e=="number"&&e>=0&&e!==1/0}function W1(e,t){return Math.max(e+(t||0)-Date.now(),0)}function cl(e,t){return typeof e=="function"?e(t):e}function Do(e,t){return typeof e=="function"?e(t):e}function Rx(e,t){const{type:n="all",exact:r,fetchStatus:s,predicate:a,queryKey:l,stale:u}=e;if(l){if(r){if(t.queryHash!==Dg(l,t.options))return!1}else if(!Hu(t.queryKey,l))return!1}if(n!=="all"){const f=t.isActive();if(n==="active"&&!f||n==="inactive"&&f)return!1}return!(typeof u=="boolean"&&t.isStale()!==u||s&&s!==t.state.fetchStatus||a&&!a(t))}function Mx(e,t){const{exact:n,status:r,predicate:s,mutationKey:a}=e;if(a){if(!t.options.mutationKey)return!1;if(n){if(ha(t.options.mutationKey)!==ha(a))return!1}else if(!Hu(t.options.mutationKey,a))return!1}return!(r&&t.state.status!==r||s&&!s(t))}function Dg(e,t){return((t==null?void 0:t.queryKeyHashFn)||ha)(e)}function ha(e){return JSON.stringify(e,(t,n)=>ay(n)?Object.keys(n).sort().reduce((r,s)=>(r[s]=n[s],r),{}):n)}function Hu(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?!Object.keys(t).some(n=>!Hu(e[n],t[n])):!1}function J1(e,t){if(e===t)return e;const n=Lx(e)&&Lx(t);if(n||ay(e)&&ay(t)){const r=n?e:Object.keys(e),s=r.length,a=n?t:Object.keys(t),l=a.length,u=n?[]:{};let f=0;for(let p=0;p{setTimeout(t,e)})}function ly(e,t,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?J1(e,t):t}function DR(e,t,n=0){const r=[...e,t];return n&&r.length>n?r.slice(1):r}function kR(e,t,n=0){const r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var kg=Symbol();function F1(e,t){return!e.queryFn&&(t!=null&&t.initialPromise)?()=>t.initialPromise:!e.queryFn||e.queryFn===kg?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}var Ki,ci,fl,Qw,TR=(Qw=class extends Ml{constructor(){super();vt(this,Ki);vt(this,ci);vt(this,fl);Fe(this,fl,t=>{if(!va&&window.addEventListener){const n=()=>t();return window.addEventListener("visibilitychange",n,!1),()=>{window.removeEventListener("visibilitychange",n)}}})}onSubscribe(){G(this,ci)||this.setEventListener(G(this,fl))}onUnsubscribe(){var t;this.hasListeners()||((t=G(this,ci))==null||t.call(this),Fe(this,ci,void 0))}setEventListener(t){var n;Fe(this,fl,t),(n=G(this,ci))==null||n.call(this),Fe(this,ci,t(r=>{typeof r=="boolean"?this.setFocused(r):this.onFocus()}))}setFocused(t){G(this,Ki)!==t&&(Fe(this,Ki,t),this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(n=>{n(t)})}isFocused(){var t;return typeof G(this,Ki)=="boolean"?G(this,Ki):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},Ki=new WeakMap,ci=new WeakMap,fl=new WeakMap,Qw),Tg=new TR,dl,ui,pl,Kw,ER=(Kw=class extends Ml{constructor(){super();vt(this,dl,!0);vt(this,ui);vt(this,pl);Fe(this,pl,t=>{if(!va&&window.addEventListener){const n=()=>t(!0),r=()=>t(!1);return window.addEventListener("online",n,!1),window.addEventListener("offline",r,!1),()=>{window.removeEventListener("online",n),window.removeEventListener("offline",r)}}})}onSubscribe(){G(this,ui)||this.setEventListener(G(this,pl))}onUnsubscribe(){var t;this.hasListeners()||((t=G(this,ui))==null||t.call(this),Fe(this,ui,void 0))}setEventListener(t){var n;Fe(this,pl,t),(n=G(this,ui))==null||n.call(this),Fe(this,ui,t(this.setOnline.bind(this)))}setOnline(t){G(this,dl)!==t&&(Fe(this,dl,t),this.listeners.forEach(r=>{r(t)}))}isOnline(){return G(this,dl)}},dl=new WeakMap,ui=new WeakMap,pl=new WeakMap,Kw),lp=new ER;function cy(){let e,t;const n=new Promise((s,a)=>{e=s,t=a});n.status="pending",n.catch(()=>{});function r(s){Object.assign(n,s),delete n.resolve,delete n.reject}return n.resolve=s=>{r({status:"fulfilled",value:s}),e(s)},n.reject=s=>{r({status:"rejected",reason:s}),t(s)},n}function RR(e){return Math.min(1e3*2**e,3e4)}function Y1(e){return(e??"online")==="online"?lp.isOnline():!0}var q1=class extends Error{constructor(e){super("CancelledError"),this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent}};function ym(e){return e instanceof q1}function Z1(e){let t=!1,n=0,r=!1,s;const a=cy(),l=P=>{var H;r||(x(new q1(P)),(H=e.abort)==null||H.call(e))},u=()=>{t=!0},f=()=>{t=!1},p=()=>Tg.isFocused()&&(e.networkMode==="always"||lp.isOnline())&&e.canRun(),h=()=>Y1(e.networkMode)&&e.canRun(),m=P=>{var H;r||(r=!0,(H=e.onSuccess)==null||H.call(e,P),s==null||s(),a.resolve(P))},x=P=>{var H;r||(r=!0,(H=e.onError)==null||H.call(e,P),s==null||s(),a.reject(P))},w=()=>new Promise(P=>{var H;s=C=>{(r||p())&&P(C)},(H=e.onPause)==null||H.call(e)}).then(()=>{var P;s=void 0,r||(P=e.onContinue)==null||P.call(e)}),A=()=>{if(r)return;let P;const H=n===0?e.initialPromise:void 0;try{P=H??e.fn()}catch(C){P=Promise.reject(C)}Promise.resolve(P).then(m).catch(C=>{var T;if(r)return;const S=e.retry??(va?0:3),z=e.retryDelay??RR,O=typeof z=="function"?z(n,C):z,D=S===!0||typeof S=="number"&&np()?void 0:w()).then(()=>{t?x(C):A()})})};return{promise:a,cancel:l,continue:()=>(s==null||s(),a),cancelRetry:u,continueRetry:f,canStart:h,start:()=>(h()?A():w().then(A),a)}}function MR(){let e=[],t=0,n=u=>{u()},r=u=>{u()},s=u=>setTimeout(u,0);const a=u=>{t?e.push(u):s(()=>{n(u)})},l=()=>{const u=e;e=[],u.length&&s(()=>{r(()=>{u.forEach(f=>{n(f)})})})};return{batch:u=>{let f;t++;try{f=u()}finally{t--,t||l()}return f},batchCalls:u=>(...f)=>{a(()=>{u(...f)})},schedule:a,setNotifyFunction:u=>{n=u},setBatchNotifyFunction:u=>{r=u},setScheduler:u=>{s=u}}}var In=MR(),_i,_w,G1=(_w=class{constructor(){vt(this,_i)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),iy(this.gcTime)&&Fe(this,_i,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(va?1/0:5*60*1e3))}clearGcTimeout(){G(this,_i)&&(clearTimeout(G(this,_i)),Fe(this,_i,void 0))}},_i=new WeakMap,_w),vl,hl,oo,$i,or,Cu,ea,Co,zs,$w,LR=($w=class extends G1{constructor(t){super();vt(this,Co);vt(this,vl);vt(this,hl);vt(this,oo);vt(this,$i);vt(this,or);vt(this,Cu);vt(this,ea);Fe(this,ea,!1),Fe(this,Cu,t.defaultOptions),this.setOptions(t.options),this.observers=[],Fe(this,$i,t.client),Fe(this,oo,G(this,$i).getQueryCache()),this.queryKey=t.queryKey,this.queryHash=t.queryHash,Fe(this,vl,XR(this.options)),this.state=t.state??G(this,vl),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var t;return(t=G(this,or))==null?void 0:t.promise}setOptions(t){this.options={...G(this,Cu),...t},this.updateGcTime(this.options.gcTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&G(this,oo).remove(this)}setData(t,n){const r=ly(this.state.data,t,this.options);return Ct(this,Co,zs).call(this,{data:r,type:"success",dataUpdatedAt:n==null?void 0:n.updatedAt,manual:n==null?void 0:n.manual}),r}setState(t,n){Ct(this,Co,zs).call(this,{type:"setState",state:t,setStateOptions:n})}cancel(t){var r,s;const n=(r=G(this,or))==null?void 0:r.promise;return(s=G(this,or))==null||s.cancel(t),n?n.then(so).catch(so):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(G(this,vl))}isActive(){return this.observers.some(t=>Do(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===kg||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStale(){return this.state.isInvalidated?!0:this.getObserversCount()>0?this.observers.some(t=>t.getCurrentResult().isStale):this.state.data===void 0}isStaleByTime(t=0){return this.state.isInvalidated||this.state.data===void 0||!W1(this.state.dataUpdatedAt,t)}onFocus(){var n;const t=this.observers.find(r=>r.shouldFetchOnWindowFocus());t==null||t.refetch({cancelRefetch:!1}),(n=G(this,or))==null||n.continue()}onOnline(){var n;const t=this.observers.find(r=>r.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(n=G(this,or))==null||n.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),G(this,oo).notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(n=>n!==t),this.observers.length||(G(this,or)&&(G(this,ea)?G(this,or).cancel({revert:!0}):G(this,or).cancelRetry()),this.scheduleGc()),G(this,oo).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||Ct(this,Co,zs).call(this,{type:"invalidate"})}fetch(t,n){var f,p,h;if(this.state.fetchStatus!=="idle"){if(this.state.data!==void 0&&(n!=null&&n.cancelRefetch))this.cancel({silent:!0});else if(G(this,or))return G(this,or).continueRetry(),G(this,or).promise}if(t&&this.setOptions(t),!this.options.queryFn){const m=this.observers.find(x=>x.options.queryFn);m&&this.setOptions(m.options)}const r=new AbortController,s=m=>{Object.defineProperty(m,"signal",{enumerable:!0,get:()=>(Fe(this,ea,!0),r.signal)})},a=()=>{const m=F1(this.options,n),x={client:G(this,$i),queryKey:this.queryKey,meta:this.meta};return s(x),Fe(this,ea,!1),this.options.persister?this.options.persister(m,x,this):m(x)},l={fetchOptions:n,options:this.options,queryKey:this.queryKey,client:G(this,$i),state:this.state,fetchFn:a};s(l),(f=this.options.behavior)==null||f.onFetch(l,this),Fe(this,hl,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((p=l.fetchOptions)==null?void 0:p.meta))&&Ct(this,Co,zs).call(this,{type:"fetch",meta:(h=l.fetchOptions)==null?void 0:h.meta});const u=m=>{var x,w,A,P;ym(m)&&m.silent||Ct(this,Co,zs).call(this,{type:"error",error:m}),ym(m)||((w=(x=G(this,oo).config).onError)==null||w.call(x,m,this),(P=(A=G(this,oo).config).onSettled)==null||P.call(A,this.state.data,m,this)),this.scheduleGc()};return Fe(this,or,Z1({initialPromise:n==null?void 0:n.initialPromise,fn:l.fetchFn,abort:r.abort.bind(r),onSuccess:m=>{var x,w,A,P;if(m===void 0){u(new Error(`${this.queryHash} data is undefined`));return}try{this.setData(m)}catch(H){u(H);return}(w=(x=G(this,oo).config).onSuccess)==null||w.call(x,m,this),(P=(A=G(this,oo).config).onSettled)==null||P.call(A,m,this.state.error,this),this.scheduleGc()},onError:u,onFail:(m,x)=>{Ct(this,Co,zs).call(this,{type:"failed",failureCount:m,error:x})},onPause:()=>{Ct(this,Co,zs).call(this,{type:"pause"})},onContinue:()=>{Ct(this,Co,zs).call(this,{type:"continue"})},retry:l.options.retry,retryDelay:l.options.retryDelay,networkMode:l.options.networkMode,canRun:()=>!0})),G(this,or).start()}},vl=new WeakMap,hl=new WeakMap,oo=new WeakMap,$i=new WeakMap,or=new WeakMap,Cu=new WeakMap,ea=new WeakMap,Co=new WeakSet,zs=function(t){const n=r=>{switch(t.type){case"failed":return{...r,fetchFailureCount:t.failureCount,fetchFailureReason:t.error};case"pause":return{...r,fetchStatus:"paused"};case"continue":return{...r,fetchStatus:"fetching"};case"fetch":return{...r,...U1(r.data,this.options),fetchMeta:t.meta??null};case"success":return{...r,data:t.data,dataUpdateCount:r.dataUpdateCount+1,dataUpdatedAt:t.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const s=t.error;return ym(s)&&s.revert&&G(this,hl)?{...G(this,hl),fetchStatus:"idle"}:{...r,error:s,errorUpdateCount:r.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:r.fetchFailureCount+1,fetchFailureReason:s,fetchStatus:"idle",status:"error"};case"invalidate":return{...r,isInvalidated:!0};case"setState":return{...r,...t.state}}};this.state=n(this.state),In.batch(()=>{this.observers.forEach(r=>{r.onQueryUpdate()}),G(this,oo).notify({query:this,type:"updated",action:t})})},$w);function U1(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:Y1(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function XR(e){const t=typeof e.initialData=="function"?e.initialData():e.initialData,n=t!==void 0,r=n?typeof e.initialDataUpdatedAt=="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?r??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"pending",fetchStatus:"idle"}}var Ko,e0,NR=(e0=class extends Ml{constructor(t={}){super();vt(this,Ko);this.config=t,Fe(this,Ko,new Map)}build(t,n,r){const s=n.queryKey,a=n.queryHash??Dg(s,n);let l=this.get(a);return l||(l=new LR({client:t,queryKey:s,queryHash:a,options:t.defaultQueryOptions(n),state:r,defaultOptions:t.getQueryDefaults(s)}),this.add(l)),l}add(t){G(this,Ko).has(t.queryHash)||(G(this,Ko).set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const n=G(this,Ko).get(t.queryHash);n&&(t.destroy(),n===t&&G(this,Ko).delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){In.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return G(this,Ko).get(t)}getAll(){return[...G(this,Ko).values()]}find(t){const n={exact:!0,...t};return this.getAll().find(r=>Rx(n,r))}findAll(t={}){const n=this.getAll();return Object.keys(t).length>0?n.filter(r=>Rx(t,r)):n}notify(t){In.batch(()=>{this.listeners.forEach(n=>{n(t)})})}onFocus(){In.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){In.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},Ko=new WeakMap,e0),_o,fr,ta,$o,si,t0,BR=(t0=class extends G1{constructor(t){super();vt(this,$o);vt(this,_o);vt(this,fr);vt(this,ta);this.mutationId=t.mutationId,Fe(this,fr,t.mutationCache),Fe(this,_o,[]),this.state=t.state||Q1(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){G(this,_o).includes(t)||(G(this,_o).push(t),this.clearGcTimeout(),G(this,fr).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){Fe(this,_o,G(this,_o).filter(n=>n!==t)),this.scheduleGc(),G(this,fr).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){G(this,_o).length||(this.state.status==="pending"?this.scheduleGc():G(this,fr).remove(this))}continue(){var t;return((t=G(this,ta))==null?void 0:t.continue())??this.execute(this.state.variables)}async execute(t){var s,a,l,u,f,p,h,m,x,w,A,P,H,C,S,z,O,D,T,R;Fe(this,ta,Z1({fn:()=>this.options.mutationFn?this.options.mutationFn(t):Promise.reject(new Error("No mutationFn found")),onFail:(M,L)=>{Ct(this,$o,si).call(this,{type:"failed",failureCount:M,error:L})},onPause:()=>{Ct(this,$o,si).call(this,{type:"pause"})},onContinue:()=>{Ct(this,$o,si).call(this,{type:"continue"})},retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>G(this,fr).canRun(this)}));const n=this.state.status==="pending",r=!G(this,ta).canStart();try{if(!n){Ct(this,$o,si).call(this,{type:"pending",variables:t,isPaused:r}),await((a=(s=G(this,fr).config).onMutate)==null?void 0:a.call(s,t,this));const L=await((u=(l=this.options).onMutate)==null?void 0:u.call(l,t));L!==this.state.context&&Ct(this,$o,si).call(this,{type:"pending",context:L,variables:t,isPaused:r})}const M=await G(this,ta).start();return await((p=(f=G(this,fr).config).onSuccess)==null?void 0:p.call(f,M,t,this.state.context,this)),await((m=(h=this.options).onSuccess)==null?void 0:m.call(h,M,t,this.state.context)),await((w=(x=G(this,fr).config).onSettled)==null?void 0:w.call(x,M,null,this.state.variables,this.state.context,this)),await((P=(A=this.options).onSettled)==null?void 0:P.call(A,M,null,t,this.state.context)),Ct(this,$o,si).call(this,{type:"success",data:M}),M}catch(M){try{throw await((C=(H=G(this,fr).config).onError)==null?void 0:C.call(H,M,t,this.state.context,this)),await((z=(S=this.options).onError)==null?void 0:z.call(S,M,t,this.state.context)),await((D=(O=G(this,fr).config).onSettled)==null?void 0:D.call(O,void 0,M,this.state.variables,this.state.context,this)),await((R=(T=this.options).onSettled)==null?void 0:R.call(T,void 0,M,t,this.state.context)),M}finally{Ct(this,$o,si).call(this,{type:"error",error:M})}}finally{G(this,fr).runNext(this)}}},_o=new WeakMap,fr=new WeakMap,ta=new WeakMap,$o=new WeakSet,si=function(t){const n=r=>{switch(t.type){case"failed":return{...r,failureCount:t.failureCount,failureReason:t.error};case"pause":return{...r,isPaused:!0};case"continue":return{...r,isPaused:!1};case"pending":return{...r,context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:t.isPaused,status:"pending",variables:t.variables,submittedAt:Date.now()};case"success":return{...r,data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...r,data:void 0,error:t.error,failureCount:r.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"}}};this.state=n(this.state),In.batch(()=>{G(this,_o).forEach(r=>{r.onMutationUpdate(t)}),G(this,fr).notify({mutation:this,type:"updated",action:t})})},t0);function Q1(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var Cs,Oo,Ou,n0,VR=(n0=class extends Ml{constructor(t={}){super();vt(this,Cs);vt(this,Oo);vt(this,Ou);this.config=t,Fe(this,Cs,new Set),Fe(this,Oo,new Map),Fe(this,Ou,0)}build(t,n,r){const s=new BR({mutationCache:this,mutationId:++ld(this,Ou)._,options:t.defaultMutationOptions(n),state:r});return this.add(s),s}add(t){G(this,Cs).add(t);const n=Ad(t);if(typeof n=="string"){const r=G(this,Oo).get(n);r?r.push(t):G(this,Oo).set(n,[t])}this.notify({type:"added",mutation:t})}remove(t){if(G(this,Cs).delete(t)){const n=Ad(t);if(typeof n=="string"){const r=G(this,Oo).get(n);if(r)if(r.length>1){const s=r.indexOf(t);s!==-1&&r.splice(s,1)}else r[0]===t&&G(this,Oo).delete(n)}}this.notify({type:"removed",mutation:t})}canRun(t){const n=Ad(t);if(typeof n=="string"){const r=G(this,Oo).get(n),s=r==null?void 0:r.find(a=>a.state.status==="pending");return!s||s===t}else return!0}runNext(t){var r;const n=Ad(t);if(typeof n=="string"){const s=(r=G(this,Oo).get(n))==null?void 0:r.find(a=>a!==t&&a.state.isPaused);return(s==null?void 0:s.continue())??Promise.resolve()}else return Promise.resolve()}clear(){In.batch(()=>{G(this,Cs).forEach(t=>{this.notify({type:"removed",mutation:t})}),G(this,Cs).clear(),G(this,Oo).clear()})}getAll(){return Array.from(G(this,Cs))}find(t){const n={exact:!0,...t};return this.getAll().find(r=>Mx(n,r))}findAll(t={}){return this.getAll().filter(n=>Mx(t,n))}notify(t){In.batch(()=>{this.listeners.forEach(n=>{n(t)})})}resumePausedMutations(){const t=this.getAll().filter(n=>n.state.isPaused);return In.batch(()=>Promise.all(t.map(n=>n.continue().catch(so))))}},Cs=new WeakMap,Oo=new WeakMap,Ou=new WeakMap,n0);function Ad(e){var t;return(t=e.options.scope)==null?void 0:t.id}function Nx(e){return{onFetch:(t,n)=>{var h,m,x,w,A;const r=t.options,s=(x=(m=(h=t.fetchOptions)==null?void 0:h.meta)==null?void 0:m.fetchMore)==null?void 0:x.direction,a=((w=t.state.data)==null?void 0:w.pages)||[],l=((A=t.state.data)==null?void 0:A.pageParams)||[];let u={pages:[],pageParams:[]},f=0;const p=async()=>{let P=!1;const H=z=>{Object.defineProperty(z,"signal",{enumerable:!0,get:()=>(t.signal.aborted?P=!0:t.signal.addEventListener("abort",()=>{P=!0}),t.signal)})},C=F1(t.options,t.fetchOptions),S=async(z,O,D)=>{if(P)return Promise.reject();if(O==null&&z.pages.length)return Promise.resolve(z);const T={client:t.client,queryKey:t.queryKey,pageParam:O,direction:D?"backward":"forward",meta:t.options.meta};H(T);const R=await C(T),{maxPages:M}=t.options,L=D?kR:DR;return{pages:L(z.pages,R,M),pageParams:L(z.pageParams,O,M)}};if(s&&a.length){const z=s==="backward",O=z?IR:Bx,D={pages:a,pageParams:l},T=O(r,D);u=await S(D,T,z)}else{const z=e??a.length;do{const O=f===0?l[0]??r.initialPageParam:Bx(r,u);if(f>0&&O==null)break;u=await S(u,O),f++}while(f{var P,H;return(H=(P=t.options).persister)==null?void 0:H.call(P,p,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n)}:t.fetchFn=p}}}function Bx(e,{pages:t,pageParams:n}){const r=t.length-1;return t.length>0?e.getNextPageParam(t[r],t,n[r],n):void 0}function IR(e,{pages:t,pageParams:n}){var r;return t.length>0?(r=e.getPreviousPageParam)==null?void 0:r.call(e,t[0],t,n[0],n):void 0}var zn,fi,di,ml,yl,pi,gl,Al,r0,WR=(r0=class{constructor(e={}){vt(this,zn);vt(this,fi);vt(this,di);vt(this,ml);vt(this,yl);vt(this,pi);vt(this,gl);vt(this,Al);Fe(this,zn,e.queryCache||new NR),Fe(this,fi,e.mutationCache||new VR),Fe(this,di,e.defaultOptions||{}),Fe(this,ml,new Map),Fe(this,yl,new Map),Fe(this,pi,0)}mount(){ld(this,pi)._++,G(this,pi)===1&&(Fe(this,gl,Tg.subscribe(async e=>{e&&(await this.resumePausedMutations(),G(this,zn).onFocus())})),Fe(this,Al,lp.subscribe(async e=>{e&&(await this.resumePausedMutations(),G(this,zn).onOnline())})))}unmount(){var e,t;ld(this,pi)._--,G(this,pi)===0&&((e=G(this,gl))==null||e.call(this),Fe(this,gl,void 0),(t=G(this,Al))==null||t.call(this),Fe(this,Al,void 0))}isFetching(e){return G(this,zn).findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return G(this,fi).findAll({...e,status:"pending"}).length}getQueryData(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=G(this,zn).get(t.queryHash))==null?void 0:n.state.data}ensureQueryData(e){const t=this.defaultQueryOptions(e),n=G(this,zn).build(this,t),r=n.state.data;return r===void 0?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime(cl(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(r))}getQueriesData(e){return G(this,zn).findAll(e).map(({queryKey:t,state:n})=>{const r=n.data;return[t,r]})}setQueryData(e,t,n){const r=this.defaultQueryOptions({queryKey:e}),s=G(this,zn).get(r.queryHash),a=s==null?void 0:s.state.data,l=CR(t,a);if(l!==void 0)return G(this,zn).build(this,r).setData(l,{...n,manual:!0})}setQueriesData(e,t,n){return In.batch(()=>G(this,zn).findAll(e).map(({queryKey:r})=>[r,this.setQueryData(r,t,n)]))}getQueryState(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=G(this,zn).get(t.queryHash))==null?void 0:n.state}removeQueries(e){const t=G(this,zn);In.batch(()=>{t.findAll(e).forEach(n=>{t.remove(n)})})}resetQueries(e,t){const n=G(this,zn),r={type:"active",...e};return In.batch(()=>(n.findAll(e).forEach(s=>{s.reset()}),this.refetchQueries(r,t)))}cancelQueries(e,t={}){const n={revert:!0,...t},r=In.batch(()=>G(this,zn).findAll(e).map(s=>s.cancel(n)));return Promise.all(r).then(so).catch(so)}invalidateQueries(e,t={}){return In.batch(()=>{if(G(this,zn).findAll(e).forEach(r=>{r.invalidate()}),(e==null?void 0:e.refetchType)==="none")return Promise.resolve();const n={...e,type:(e==null?void 0:e.refetchType)??(e==null?void 0:e.type)??"active"};return this.refetchQueries(n,t)})}refetchQueries(e,t={}){const n={...t,cancelRefetch:t.cancelRefetch??!0},r=In.batch(()=>G(this,zn).findAll(e).filter(s=>!s.isDisabled()).map(s=>{let a=s.fetch(void 0,n);return n.throwOnError||(a=a.catch(so)),s.state.fetchStatus==="paused"?Promise.resolve():a}));return Promise.all(r).then(so)}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const n=G(this,zn).build(this,t);return n.isStaleByTime(cl(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(so).catch(so)}fetchInfiniteQuery(e){return e.behavior=Nx(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(so).catch(so)}ensureInfiniteQueryData(e){return e.behavior=Nx(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return lp.isOnline()?G(this,fi).resumePausedMutations():Promise.resolve()}getQueryCache(){return G(this,zn)}getMutationCache(){return G(this,fi)}getDefaultOptions(){return G(this,di)}setDefaultOptions(e){Fe(this,di,e)}setQueryDefaults(e,t){G(this,ml).set(ha(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...G(this,ml).values()],n={};return t.forEach(r=>{Hu(e,r.queryKey)&&Object.assign(n,r.defaultOptions)}),n}setMutationDefaults(e,t){G(this,yl).set(ha(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...G(this,yl).values()];let n={};return t.forEach(r=>{Hu(e,r.mutationKey)&&(n={...n,...r.defaultOptions})}),n}defaultQueryOptions(e){if(e._defaulted)return e;const t={...G(this,di).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=Dg(t.queryKey,t)),t.refetchOnReconnect===void 0&&(t.refetchOnReconnect=t.networkMode!=="always"),t.throwOnError===void 0&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode="offlineFirst"),t.queryFn===kg&&(t.enabled=!1),t}defaultMutationOptions(e){return e!=null&&e._defaulted?e:{...G(this,di).mutations,...(e==null?void 0:e.mutationKey)&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){G(this,zn).clear(),G(this,fi).clear()}},zn=new WeakMap,fi=new WeakMap,di=new WeakMap,ml=new WeakMap,yl=new WeakMap,pi=new WeakMap,gl=new WeakMap,Al=new WeakMap,r0),Hr,Bt,Du,dr,na,Pl,vi,es,ku,bl,xl,ra,oa,hi,wl,Zt,_c,uy,fy,dy,py,vy,hy,my,K1,o0,JR=(o0=class extends Ml{constructor(t,n){super();vt(this,Zt);vt(this,Hr);vt(this,Bt);vt(this,Du);vt(this,dr);vt(this,na);vt(this,Pl);vt(this,vi);vt(this,es);vt(this,ku);vt(this,bl);vt(this,xl);vt(this,ra);vt(this,oa);vt(this,hi);vt(this,wl,new Set);this.options=n,Fe(this,Hr,t),Fe(this,es,null),Fe(this,vi,cy()),this.options.experimental_prefetchInRender||G(this,vi).reject(new Error("experimental_prefetchInRender feature flag is not enabled")),this.bindMethods(),this.setOptions(n)}bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(G(this,Bt).addObserver(this),Vx(G(this,Bt),this.options)?Ct(this,Zt,_c).call(this):this.updateResult(),Ct(this,Zt,py).call(this))}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return yy(G(this,Bt),this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return yy(G(this,Bt),this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,Ct(this,Zt,vy).call(this),Ct(this,Zt,hy).call(this),G(this,Bt).removeObserver(this)}setOptions(t,n){const r=this.options,s=G(this,Bt);if(this.options=G(this,Hr).defaultQueryOptions(t),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean"&&typeof this.options.enabled!="function"&&typeof Do(this.options.enabled,G(this,Bt))!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");Ct(this,Zt,my).call(this),G(this,Bt).setOptions(this.options),r._defaulted&&!ap(this.options,r)&&G(this,Hr).getQueryCache().notify({type:"observerOptionsUpdated",query:G(this,Bt),observer:this});const a=this.hasListeners();a&&Ix(G(this,Bt),s,this.options,r)&&Ct(this,Zt,_c).call(this),this.updateResult(n),a&&(G(this,Bt)!==s||Do(this.options.enabled,G(this,Bt))!==Do(r.enabled,G(this,Bt))||cl(this.options.staleTime,G(this,Bt))!==cl(r.staleTime,G(this,Bt)))&&Ct(this,Zt,uy).call(this);const l=Ct(this,Zt,fy).call(this);a&&(G(this,Bt)!==s||Do(this.options.enabled,G(this,Bt))!==Do(r.enabled,G(this,Bt))||l!==G(this,hi))&&Ct(this,Zt,dy).call(this,l)}getOptimisticResult(t){const n=G(this,Hr).getQueryCache().build(G(this,Hr),t),r=this.createResult(n,t);return YR(this,r)&&(Fe(this,dr,r),Fe(this,Pl,this.options),Fe(this,na,G(this,Bt).state)),r}getCurrentResult(){return G(this,dr)}trackResult(t,n){const r={};return Object.keys(t).forEach(s=>{Object.defineProperty(r,s,{configurable:!1,enumerable:!0,get:()=>(this.trackProp(s),n==null||n(s),t[s])})}),r}trackProp(t){G(this,wl).add(t)}getCurrentQuery(){return G(this,Bt)}refetch({...t}={}){return this.fetch({...t})}fetchOptimistic(t){const n=G(this,Hr).defaultQueryOptions(t),r=G(this,Hr).getQueryCache().build(G(this,Hr),n);return r.fetch().then(()=>this.createResult(r,n))}fetch(t){return Ct(this,Zt,_c).call(this,{...t,cancelRefetch:t.cancelRefetch??!0}).then(()=>(this.updateResult(),G(this,dr)))}createResult(t,n){var M;const r=G(this,Bt),s=this.options,a=G(this,dr),l=G(this,na),u=G(this,Pl),p=t!==r?t.state:G(this,Du),{state:h}=t;let m={...h},x=!1,w;if(n._optimisticResults){const L=this.hasListeners(),j=!L&&Vx(t,n),N=L&&Ix(t,r,n,s);(j||N)&&(m={...m,...U1(h.data,t.options)}),n._optimisticResults==="isRestoring"&&(m.fetchStatus="idle")}let{error:A,errorUpdatedAt:P,status:H}=m;if(n.select&&m.data!==void 0)if(a&&m.data===(l==null?void 0:l.data)&&n.select===G(this,ku))w=G(this,bl);else try{Fe(this,ku,n.select),w=n.select(m.data),w=ly(a==null?void 0:a.data,w,n),Fe(this,bl,w),Fe(this,es,null)}catch(L){Fe(this,es,L)}else w=m.data;if(n.placeholderData!==void 0&&w===void 0&&H==="pending"){let L;if(a!=null&&a.isPlaceholderData&&n.placeholderData===(u==null?void 0:u.placeholderData))L=a.data;else if(L=typeof n.placeholderData=="function"?n.placeholderData((M=G(this,xl))==null?void 0:M.state.data,G(this,xl)):n.placeholderData,n.select&&L!==void 0)try{L=n.select(L),Fe(this,es,null)}catch(j){Fe(this,es,j)}L!==void 0&&(H="success",w=ly(a==null?void 0:a.data,L,n),x=!0)}G(this,es)&&(A=G(this,es),w=G(this,bl),P=Date.now(),H="error");const C=m.fetchStatus==="fetching",S=H==="pending",z=H==="error",O=S&&C,D=w!==void 0,R={status:H,fetchStatus:m.fetchStatus,isPending:S,isSuccess:H==="success",isError:z,isInitialLoading:O,isLoading:O,data:w,dataUpdatedAt:m.dataUpdatedAt,error:A,errorUpdatedAt:P,failureCount:m.fetchFailureCount,failureReason:m.fetchFailureReason,errorUpdateCount:m.errorUpdateCount,isFetched:m.dataUpdateCount>0||m.errorUpdateCount>0,isFetchedAfterMount:m.dataUpdateCount>p.dataUpdateCount||m.errorUpdateCount>p.errorUpdateCount,isFetching:C,isRefetching:C&&!S,isLoadingError:z&&!D,isPaused:m.fetchStatus==="paused",isPlaceholderData:x,isRefetchError:z&&D,isStale:Eg(t,n),refetch:this.refetch,promise:G(this,vi)};if(this.options.experimental_prefetchInRender){const L=B=>{R.status==="error"?B.reject(R.error):R.data!==void 0&&B.resolve(R.data)},j=()=>{const B=Fe(this,vi,R.promise=cy());L(B)},N=G(this,vi);switch(N.status){case"pending":t.queryHash===r.queryHash&&L(N);break;case"fulfilled":(R.status==="error"||R.data!==N.value)&&j();break;case"rejected":(R.status!=="error"||R.error!==N.reason)&&j();break}}return R}updateResult(t){const n=G(this,dr),r=this.createResult(G(this,Bt),this.options);if(Fe(this,na,G(this,Bt).state),Fe(this,Pl,this.options),G(this,na).data!==void 0&&Fe(this,xl,G(this,Bt)),ap(r,n))return;Fe(this,dr,r);const s={},a=()=>{if(!n)return!0;const{notifyOnChangeProps:l}=this.options,u=typeof l=="function"?l():l;if(u==="all"||!u&&!G(this,wl).size)return!0;const f=new Set(u??G(this,wl));return this.options.throwOnError&&f.add("error"),Object.keys(G(this,dr)).some(p=>{const h=p;return G(this,dr)[h]!==n[h]&&f.has(h)})};(t==null?void 0:t.listeners)!==!1&&a()&&(s.listeners=!0),Ct(this,Zt,K1).call(this,{...s,...t})}onQueryUpdate(){this.updateResult(),this.hasListeners()&&Ct(this,Zt,py).call(this)}},Hr=new WeakMap,Bt=new WeakMap,Du=new WeakMap,dr=new WeakMap,na=new WeakMap,Pl=new WeakMap,vi=new WeakMap,es=new WeakMap,ku=new WeakMap,bl=new WeakMap,xl=new WeakMap,ra=new WeakMap,oa=new WeakMap,hi=new WeakMap,wl=new WeakMap,Zt=new WeakSet,_c=function(t){Ct(this,Zt,my).call(this);let n=G(this,Bt).fetch(this.options,t);return t!=null&&t.throwOnError||(n=n.catch(so)),n},uy=function(){Ct(this,Zt,vy).call(this);const t=cl(this.options.staleTime,G(this,Bt));if(va||G(this,dr).isStale||!iy(t))return;const r=W1(G(this,dr).dataUpdatedAt,t)+1;Fe(this,ra,setTimeout(()=>{G(this,dr).isStale||this.updateResult()},r))},fy=function(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(G(this,Bt)):this.options.refetchInterval)??!1},dy=function(t){Ct(this,Zt,hy).call(this),Fe(this,hi,t),!(va||Do(this.options.enabled,G(this,Bt))===!1||!iy(G(this,hi))||G(this,hi)===0)&&Fe(this,oa,setInterval(()=>{(this.options.refetchIntervalInBackground||Tg.isFocused())&&Ct(this,Zt,_c).call(this)},G(this,hi)))},py=function(){Ct(this,Zt,uy).call(this),Ct(this,Zt,dy).call(this,Ct(this,Zt,fy).call(this))},vy=function(){G(this,ra)&&(clearTimeout(G(this,ra)),Fe(this,ra,void 0))},hy=function(){G(this,oa)&&(clearInterval(G(this,oa)),Fe(this,oa,void 0))},my=function(){const t=G(this,Hr).getQueryCache().build(G(this,Hr),this.options);if(t===G(this,Bt))return;const n=G(this,Bt);Fe(this,Bt,t),Fe(this,Du,t.state),this.hasListeners()&&(n==null||n.removeObserver(this),t.addObserver(this))},K1=function(t){In.batch(()=>{t.listeners&&this.listeners.forEach(n=>{n(G(this,dr))}),G(this,Hr).getQueryCache().notify({query:G(this,Bt),type:"observerResultsUpdated"})})},o0);function FR(e,t){return Do(t.enabled,e)!==!1&&e.state.data===void 0&&!(e.state.status==="error"&&t.retryOnMount===!1)}function Vx(e,t){return FR(e,t)||e.state.data!==void 0&&yy(e,t,t.refetchOnMount)}function yy(e,t,n){if(Do(t.enabled,e)!==!1){const r=typeof n=="function"?n(e):n;return r==="always"||r!==!1&&Eg(e,t)}return!1}function Ix(e,t,n,r){return(e!==t||Do(r.enabled,e)===!1)&&(!n.suspense||e.state.status!=="error")&&Eg(e,n)}function Eg(e,t){return Do(t.enabled,e)!==!1&&e.isStaleByTime(cl(t.staleTime,e))}function YR(e,t){return!ap(e.getCurrentResult(),t)}var mi,yi,jr,Os,Es,Nd,gy,s0,qR=(s0=class extends Ml{constructor(n,r){super();vt(this,Es);vt(this,mi);vt(this,yi);vt(this,jr);vt(this,Os);Fe(this,mi,n),this.setOptions(r),this.bindMethods(),Ct(this,Es,Nd).call(this)}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(n){var s;const r=this.options;this.options=G(this,mi).defaultMutationOptions(n),ap(this.options,r)||G(this,mi).getMutationCache().notify({type:"observerOptionsUpdated",mutation:G(this,jr),observer:this}),r!=null&&r.mutationKey&&this.options.mutationKey&&ha(r.mutationKey)!==ha(this.options.mutationKey)?this.reset():((s=G(this,jr))==null?void 0:s.state.status)==="pending"&&G(this,jr).setOptions(this.options)}onUnsubscribe(){var n;this.hasListeners()||(n=G(this,jr))==null||n.removeObserver(this)}onMutationUpdate(n){Ct(this,Es,Nd).call(this),Ct(this,Es,gy).call(this,n)}getCurrentResult(){return G(this,yi)}reset(){var n;(n=G(this,jr))==null||n.removeObserver(this),Fe(this,jr,void 0),Ct(this,Es,Nd).call(this),Ct(this,Es,gy).call(this)}mutate(n,r){var s;return Fe(this,Os,r),(s=G(this,jr))==null||s.removeObserver(this),Fe(this,jr,G(this,mi).getMutationCache().build(G(this,mi),this.options)),G(this,jr).addObserver(this),G(this,jr).execute(n)}},mi=new WeakMap,yi=new WeakMap,jr=new WeakMap,Os=new WeakMap,Es=new WeakSet,Nd=function(){var r;const n=((r=G(this,jr))==null?void 0:r.state)??Q1();Fe(this,yi,{...n,isPending:n.status==="pending",isSuccess:n.status==="success",isError:n.status==="error",isIdle:n.status==="idle",mutate:this.mutate,reset:this.reset})},gy=function(n){In.batch(()=>{var r,s,a,l,u,f,p,h;if(G(this,Os)&&this.hasListeners()){const m=G(this,yi).variables,x=G(this,yi).context;(n==null?void 0:n.type)==="success"?((s=(r=G(this,Os)).onSuccess)==null||s.call(r,n.data,m,x),(l=(a=G(this,Os)).onSettled)==null||l.call(a,n.data,null,m,x)):(n==null?void 0:n.type)==="error"&&((f=(u=G(this,Os)).onError)==null||f.call(u,n.error,m,x),(h=(p=G(this,Os)).onSettled)==null||h.call(p,void 0,n.error,m,x))}this.listeners.forEach(m=>{m(G(this,yi))})})},s0),_1=g.createContext(void 0),Jp=e=>{const t=g.useContext(_1);if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},ZR=({client:e,children:t})=>(g.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),v.jsx(_1.Provider,{value:e,children:t})),$1=g.createContext(!1),GR=()=>g.useContext($1);$1.Provider;function UR(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}var QR=g.createContext(UR()),KR=()=>g.useContext(QR);function e2(e,t){return typeof e=="function"?e(...t):!!e}function Ay(){}var _R=(e,t)=>{(e.suspense||e.throwOnError||e.experimental_prefetchInRender)&&(t.isReset()||(e.retryOnMount=!1))},$R=e=>{g.useEffect(()=>{e.clearReset()},[e])},e6=({result:e,errorResetBoundary:t,throwOnError:n,query:r,suspense:s})=>e.isError&&!t.isReset()&&!e.isFetching&&r&&(s&&e.data===void 0||e2(n,[e.error,r])),t6=e=>{const t=e.staleTime;e.suspense&&(e.staleTime=typeof t=="function"?(...n)=>Math.max(t(...n),1e3):Math.max(t??1e3,1e3),typeof e.gcTime=="number"&&(e.gcTime=Math.max(e.gcTime,1e3)))},n6=(e,t)=>e.isLoading&&e.isFetching&&!t,r6=(e,t)=>(e==null?void 0:e.suspense)&&t.isPending,Wx=(e,t,n)=>t.fetchOptimistic(e).catch(()=>{n.clearReset()});function o6(e,t,n){var m,x,w,A,P;const r=Jp(),s=GR(),a=KR(),l=r.defaultQueryOptions(e);(x=(m=r.getDefaultOptions().queries)==null?void 0:m._experimental_beforeQuery)==null||x.call(m,l),l._optimisticResults=s?"isRestoring":"optimistic",t6(l),_R(l,a),$R(a);const u=!r.getQueryCache().get(l.queryHash),[f]=g.useState(()=>new t(r,l)),p=f.getOptimisticResult(l),h=!s&&e.subscribed!==!1;if(g.useSyncExternalStore(g.useCallback(H=>{const C=h?f.subscribe(In.batchCalls(H)):Ay;return f.updateResult(),C},[f,h]),()=>f.getCurrentResult(),()=>f.getCurrentResult()),g.useEffect(()=>{f.setOptions(l,{listeners:!1})},[l,f]),r6(l,p))throw Wx(l,f,a);if(e6({result:p,errorResetBoundary:a,throwOnError:l.throwOnError,query:r.getQueryCache().get(l.queryHash),suspense:l.suspense}))throw p.error;if((A=(w=r.getDefaultOptions().queries)==null?void 0:w._experimental_afterQuery)==null||A.call(w,l,p),l.experimental_prefetchInRender&&!va&&n6(p,s)){const H=u?Wx(l,f,a):(P=r.getQueryCache().get(l.queryHash))==null?void 0:P.promise;H==null||H.catch(Ay).finally(()=>{f.updateResult()})}return l.notifyOnChangeProps?p:f.trackResult(p)}function _n(e,t){return o6(e,JR)}function kl(e,t){const n=Jp(),[r]=g.useState(()=>new qR(n,e));g.useEffect(()=>{r.setOptions(e)},[r,e]);const s=g.useSyncExternalStore(g.useCallback(l=>r.subscribe(In.batchCalls(l)),[r]),()=>r.getCurrentResult(),()=>r.getCurrentResult()),a=g.useCallback((l,u)=>{r.mutate(l,u).catch(Ay)},[r]);if(s.error&&e2(r.options.throwOnError,[s.error]))throw s.error;return{...s,mutate:a,mutateAsync:s.mutate}}var Pd={},Jx;function s6(){if(Jx)return Pd;Jx=1;var e=r1();return Pd.createRoot=e.createRoot,Pd.hydrateRoot=e.hydrateRoot,Pd}var i6=s6();const a6=gp(i6);var Ec={},Fx;function l6(){if(Fx)return Ec;Fx=1,Object.defineProperty(Ec,"__esModule",{value:!0}),Ec.parse=l,Ec.serialize=p;const e=/^[\u0021-\u003A\u003C\u003E-\u007E]+$/,t=/^[\u0021-\u003A\u003C-\u007E]*$/,n=/^([.]?[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)([.][a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)*$/i,r=/^[\u0020-\u003A\u003D-\u007E]*$/,s=Object.prototype.toString,a=(()=>{const x=function(){};return x.prototype=Object.create(null),x})();function l(x,w){const A=new a,P=x.length;if(P<2)return A;const H=(w==null?void 0:w.decode)||h;let C=0;do{const S=x.indexOf("=",C);if(S===-1)break;const z=x.indexOf(";",C),O=z===-1?P:z;if(S>O){C=x.lastIndexOf(";",S-1)+1;continue}const D=u(x,C,S),T=f(x,S,D),R=x.slice(D,T);if(A[R]===void 0){let M=u(x,S+1,O),L=f(x,O,M);const j=H(x.slice(M,L));A[R]=j}C=O+1}while(CA;){const P=x.charCodeAt(--w);if(P!==32&&P!==9)return w+1}return A}function p(x,w,A){const P=(A==null?void 0:A.encode)||encodeURIComponent;if(!e.test(x))throw new TypeError(`argument name is invalid: ${x}`);const H=P(w);if(!t.test(H))throw new TypeError(`argument val is invalid: ${w}`);let C=x+"="+H;if(!A)return C;if(A.maxAge!==void 0){if(!Number.isInteger(A.maxAge))throw new TypeError(`option maxAge is invalid: ${A.maxAge}`);C+="; Max-Age="+A.maxAge}if(A.domain){if(!n.test(A.domain))throw new TypeError(`option domain is invalid: ${A.domain}`);C+="; Domain="+A.domain}if(A.path){if(!r.test(A.path))throw new TypeError(`option path is invalid: ${A.path}`);C+="; Path="+A.path}if(A.expires){if(!m(A.expires)||!Number.isFinite(A.expires.valueOf()))throw new TypeError(`option expires is invalid: ${A.expires}`);C+="; Expires="+A.expires.toUTCString()}if(A.httpOnly&&(C+="; HttpOnly"),A.secure&&(C+="; Secure"),A.partitioned&&(C+="; Partitioned"),A.priority)switch(typeof A.priority=="string"?A.priority.toLowerCase():void 0){case"low":C+="; Priority=Low";break;case"medium":C+="; Priority=Medium";break;case"high":C+="; Priority=High";break;default:throw new TypeError(`option priority is invalid: ${A.priority}`)}if(A.sameSite)switch(typeof A.sameSite=="string"?A.sameSite.toLowerCase():A.sameSite){case!0:case"strict":C+="; SameSite=Strict";break;case"lax":C+="; SameSite=Lax";break;case"none":C+="; SameSite=None";break;default:throw new TypeError(`option sameSite is invalid: ${A.sameSite}`)}return C}function h(x){if(x.indexOf("%")===-1)return x;try{return decodeURIComponent(x)}catch{return x}}function m(x){return s.call(x)==="[object Date]"}return Ec}l6();/** * react-router v7.2.0 * * Copyright (c) Remix Software Inc. @@ -203,18 +203,18 @@ Error generating stack: `+b.message+` * LICENSE.md file in the root directory of this source tree. * * @license MIT - */var Ux="popstate";function l6(e={}){function t(r,s){let{pathname:a,search:l,hash:u}=r.location;return bg("",{pathname:a,search:l,hash:u},s.state&&s.state.usr||null,s.state&&s.state.key||"default")}function n(r,s){return typeof s=="string"?s:ju(s)}return u6(t,n,null,e)}function An(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function Lo(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function c6(){return Math.random().toString(36).substring(2,10)}function Qx(e,t){return{usr:e.state,key:e.key,idx:t}}function bg(e,t,n=null,r){return{pathname:typeof e=="string"?e:e.pathname,search:"",hash:"",...typeof t=="string"?Ll(t):t,state:n,key:t&&t.key||r||c6()}}function ju({pathname:e="/",search:t="",hash:n=""}){return t&&t!=="?"&&(e+=t.charAt(0)==="?"?t:"?"+t),n&&n!=="#"&&(e+=n.charAt(0)==="#"?n:"#"+n),e}function Ll(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substring(n),e=e.substring(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substring(r),e=e.substring(0,r)),e&&(t.pathname=e)}return t}function u6(e,t,n,r={}){let{window:s=document.defaultView,v5Compat:a=!1}=r,l=s.history,u="POP",f=null,p=h();p==null&&(p=0,l.replaceState({...l.state,idx:p},""));function h(){return(l.state||{idx:null}).idx}function m(){u="POP";let H=h(),S=H==null?null:H-p;p=H,f&&f({action:u,location:P.location,delta:S})}function x(H,S){u="PUSH";let C=bg(P.location,H,S);p=h()+1;let z=Qx(C,p),O=P.createHref(C);try{l.pushState(z,"",O)}catch(D){if(D instanceof DOMException&&D.name==="DataCloneError")throw D;s.location.assign(O)}a&&f&&f({action:u,location:P.location,delta:1})}function w(H,S){u="REPLACE";let C=bg(P.location,H,S);p=h();let z=Qx(C,p),O=P.createHref(C);l.replaceState(z,"",O),a&&f&&f({action:u,location:P.location,delta:0})}function A(H){let S=s.location.origin!=="null"?s.location.origin:s.location.href,C=typeof H=="string"?H:ju(H);return C=C.replace(/ $/,"%20"),An(S,`No window.location.(origin|href) available to create URL for href: ${C}`),new URL(C,S)}let P={get action(){return u},get location(){return e(s,l)},listen(H){if(f)throw new Error("A history only accepts one active listener");return s.addEventListener(Ux,m),f=H,()=>{s.removeEventListener(Ux,m),f=null}},createHref(H){return t(s,H)},createURL:A,encodeLocation(H){let S=A(H);return{pathname:S.pathname,search:S.search,hash:S.hash}},push:x,replace:w,go(H){return l.go(H)}};return P}function o2(e,t,n="/"){return f6(e,t,n,!1)}function f6(e,t,n,r){let s=typeof t=="string"?Ll(t):t,a=xi(s.pathname||"/",n);if(a==null)return null;let l=s2(e);d6(l);let u=null;for(let f=0;u==null&&f{let f={relativePath:u===void 0?a.path||"":u,caseSensitive:a.caseSensitive===!0,childrenIndex:l,route:a};f.relativePath.startsWith("/")&&(An(f.relativePath.startsWith(r),`Absolute route path "${f.relativePath}" nested under path "${r}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),f.relativePath=f.relativePath.slice(r.length));let p=ks([r,f.relativePath]),h=n.concat(f);a.children&&a.children.length>0&&(An(a.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${p}".`),s2(a.children,t,h,p)),!(a.path==null&&!a.index)&&t.push({path:p,score:A6(p,a.index),routesMeta:h})};return e.forEach((a,l)=>{var u;if(a.path===""||!((u=a.path)!=null&&u.includes("?")))s(a,l);else for(let f of i2(a.path))s(a,l,f)}),t}function i2(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,s=n.endsWith("?"),a=n.replace(/\?$/,"");if(r.length===0)return s?[a,""]:[a];let l=i2(r.join("/")),u=[];return u.push(...l.map(f=>f===""?a:[a,f].join("/"))),s&&u.push(...l),u.map(f=>e.startsWith("/")&&f===""?"/":f)}function d6(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:P6(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}var p6=/^:[\w-]+$/,v6=3,h6=2,m6=1,g6=10,y6=-2,Kx=e=>e==="*";function A6(e,t){let n=e.split("/"),r=n.length;return n.some(Kx)&&(r+=y6),t&&(r+=h6),n.filter(s=>!Kx(s)).reduce((s,a)=>s+(p6.test(a)?v6:a===""?m6:g6),r)}function P6(e,t){return e.length===t.length&&e.slice(0,-1).every((r,s)=>r===t[s])?e[e.length-1]-t[t.length-1]:0}function b6(e,t,n=!1){let{routesMeta:r}=e,s={},a="/",l=[];for(let u=0;u{if(h==="*"){let A=u[x]||"";l=a.slice(0,a.length-A.length).replace(/(.)\/+$/,"$1")}const w=u[x];return m&&!w?p[h]=void 0:p[h]=(w||"").replace(/%2F/g,"/"),p},{}),pathname:a,pathnameBase:l,pattern:e}}function x6(e,t=!1,n=!0){Lo(e==="*"||!e.endsWith("*")||e.endsWith("/*"),`Route path "${e}" will be treated as if it were "${e.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${e.replace(/\*$/,"/*")}".`);let r=[],s="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(l,u,f)=>(r.push({paramName:u,isOptional:f!=null}),f?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),s+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?s+="\\/*$":e!==""&&e!=="/"&&(s+="(?:(?=\\/|$))"),[new RegExp(s,t?void 0:"i"),r]}function w6(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return Lo(!1,`The URL path "${e}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${t}).`),e}}function xi(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}function H6(e,t="/"){let{pathname:n,search:r="",hash:s=""}=typeof e=="string"?Ll(e):e;return{pathname:n?n.startsWith("/")?n:j6(n,t):t,search:C6(r),hash:O6(s)}}function j6(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(s=>{s===".."?n.length>1&&n.pop():s!=="."&&n.push(s)}),n.length>1?n.join("/"):"/"}function Am(e,t,n,r){return`Cannot include a '${e}' character in a manually specified \`to.${t}\` field [${JSON.stringify(r)}]. Please separate it out to the \`to.${n}\` field. Alternatively you may provide the full path as a string in and the router will parse it for you.`}function z6(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function a2(e){let t=z6(e);return t.map((n,r)=>r===t.length-1?n.pathname:n.pathnameBase)}function l2(e,t,n,r=!1){let s;typeof e=="string"?s=Ll(e):(s={...e},An(!s.pathname||!s.pathname.includes("?"),Am("?","pathname","search",s)),An(!s.pathname||!s.pathname.includes("#"),Am("#","pathname","hash",s)),An(!s.search||!s.search.includes("#"),Am("#","search","hash",s)));let a=e===""||s.pathname==="",l=a?"/":s.pathname,u;if(l==null)u=n;else{let m=t.length-1;if(!r&&l.startsWith("..")){let x=l.split("/");for(;x[0]==="..";)x.shift(),m-=1;s.pathname=x.join("/")}u=m>=0?t[m]:"/"}let f=H6(s,u),p=l&&l!=="/"&&l.endsWith("/"),h=(a||l===".")&&n.endsWith("/");return!f.pathname.endsWith("/")&&(p||h)&&(f.pathname+="/"),f}var ks=e=>e.join("/").replace(/\/\/+/g,"/"),S6=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),C6=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,O6=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function D6(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}var c2=["POST","PUT","PATCH","DELETE"];new Set(c2);var T6=["GET",...c2];new Set(T6);var Xl=y.createContext(null);Xl.displayName="DataRouter";var Yp=y.createContext(null);Yp.displayName="DataRouterState";var u2=y.createContext({isTransitioning:!1});u2.displayName="ViewTransition";var k6=y.createContext(new Map);k6.displayName="Fetchers";var E6=y.createContext(null);E6.displayName="Await";var ps=y.createContext(null);ps.displayName="Navigation";var Yu=y.createContext(null);Yu.displayName="Location";var Ls=y.createContext({outlet:null,matches:[],isDataRoute:!1});Ls.displayName="Route";var Ry=y.createContext(null);Ry.displayName="RouteError";function R6(e,{relative:t}={}){An(qu(),"useHref() may be used only in the context of a component.");let{basename:n,navigator:r}=y.useContext(ps),{hash:s,pathname:a,search:l}=Zu(e,{relative:t}),u=a;return n!=="/"&&(u=a==="/"?n:ks([n,a])),r.createHref({pathname:u,search:l,hash:s})}function qu(){return y.useContext(Yu)!=null}function zi(){return An(qu(),"useLocation() may be used only in the context of a component."),y.useContext(Yu).location}var f2="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function d2(e){y.useContext(ps).static||y.useLayoutEffect(e)}function qp(){let{isDataRoute:e}=y.useContext(Ls);return e?Z6():M6()}function M6(){An(qu(),"useNavigate() may be used only in the context of a component.");let e=y.useContext(Xl),{basename:t,navigator:n}=y.useContext(ps),{matches:r}=y.useContext(Ls),{pathname:s}=zi(),a=JSON.stringify(a2(r)),l=y.useRef(!1);return d2(()=>{l.current=!0}),y.useCallback((f,p={})=>{if(Lo(l.current,f2),!l.current)return;if(typeof f=="number"){n.go(f);return}let h=l2(f,JSON.parse(a),s,p.relative==="path");e==null&&t!=="/"&&(h.pathname=h.pathname==="/"?t:ks([t,h.pathname])),(p.replace?n.replace:n.push)(h,p.state,p)},[t,n,a,s,e])}y.createContext(null);function Zu(e,{relative:t}={}){let{matches:n}=y.useContext(Ls),{pathname:r}=zi(),s=JSON.stringify(a2(n));return y.useMemo(()=>l2(e,JSON.parse(s),r,t==="path"),[e,s,r,t])}function L6(e,t){return p2(e,t)}function p2(e,t,n,r){var C;An(qu(),"useRoutes() may be used only in the context of a component.");let{navigator:s,static:a}=y.useContext(ps),{matches:l}=y.useContext(Ls),u=l[l.length-1],f=u?u.params:{},p=u?u.pathname:"/",h=u?u.pathnameBase:"/",m=u&&u.route;{let z=m&&m.path||"";v2(p,!m||z.endsWith("*")||z.endsWith("*?"),`You rendered descendant (or called \`useRoutes()\`) at "${p}" (under ) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render. + */var Yx="popstate";function c6(e={}){function t(r,s){let{pathname:a,search:l,hash:u}=r.location;return Py("",{pathname:a,search:l,hash:u},s.state&&s.state.usr||null,s.state&&s.state.key||"default")}function n(r,s){return typeof s=="string"?s:ju(s)}return f6(t,n,null,e)}function An(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function Lo(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function u6(){return Math.random().toString(36).substring(2,10)}function qx(e,t){return{usr:e.state,key:e.key,idx:t}}function Py(e,t,n=null,r){return{pathname:typeof e=="string"?e:e.pathname,search:"",hash:"",...typeof t=="string"?Ll(t):t,state:n,key:t&&t.key||r||u6()}}function ju({pathname:e="/",search:t="",hash:n=""}){return t&&t!=="?"&&(e+=t.charAt(0)==="?"?t:"?"+t),n&&n!=="#"&&(e+=n.charAt(0)==="#"?n:"#"+n),e}function Ll(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substring(n),e=e.substring(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substring(r),e=e.substring(0,r)),e&&(t.pathname=e)}return t}function f6(e,t,n,r={}){let{window:s=document.defaultView,v5Compat:a=!1}=r,l=s.history,u="POP",f=null,p=h();p==null&&(p=0,l.replaceState({...l.state,idx:p},""));function h(){return(l.state||{idx:null}).idx}function m(){u="POP";let H=h(),C=H==null?null:H-p;p=H,f&&f({action:u,location:P.location,delta:C})}function x(H,C){u="PUSH";let S=Py(P.location,H,C);p=h()+1;let z=qx(S,p),O=P.createHref(S);try{l.pushState(z,"",O)}catch(D){if(D instanceof DOMException&&D.name==="DataCloneError")throw D;s.location.assign(O)}a&&f&&f({action:u,location:P.location,delta:1})}function w(H,C){u="REPLACE";let S=Py(P.location,H,C);p=h();let z=qx(S,p),O=P.createHref(S);l.replaceState(z,"",O),a&&f&&f({action:u,location:P.location,delta:0})}function A(H){let C=s.location.origin!=="null"?s.location.origin:s.location.href,S=typeof H=="string"?H:ju(H);return S=S.replace(/ $/,"%20"),An(C,`No window.location.(origin|href) available to create URL for href: ${S}`),new URL(S,C)}let P={get action(){return u},get location(){return e(s,l)},listen(H){if(f)throw new Error("A history only accepts one active listener");return s.addEventListener(Yx,m),f=H,()=>{s.removeEventListener(Yx,m),f=null}},createHref(H){return t(s,H)},createURL:A,encodeLocation(H){let C=A(H);return{pathname:C.pathname,search:C.search,hash:C.hash}},push:x,replace:w,go(H){return l.go(H)}};return P}function t2(e,t,n="/"){return d6(e,t,n,!1)}function d6(e,t,n,r){let s=typeof t=="string"?Ll(t):t,a=xi(s.pathname||"/",n);if(a==null)return null;let l=n2(e);p6(l);let u=null;for(let f=0;u==null&&f{let f={relativePath:u===void 0?a.path||"":u,caseSensitive:a.caseSensitive===!0,childrenIndex:l,route:a};f.relativePath.startsWith("/")&&(An(f.relativePath.startsWith(r),`Absolute route path "${f.relativePath}" nested under path "${r}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),f.relativePath=f.relativePath.slice(r.length));let p=Ts([r,f.relativePath]),h=n.concat(f);a.children&&a.children.length>0&&(An(a.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${p}".`),n2(a.children,t,h,p)),!(a.path==null&&!a.index)&&t.push({path:p,score:P6(p,a.index),routesMeta:h})};return e.forEach((a,l)=>{var u;if(a.path===""||!((u=a.path)!=null&&u.includes("?")))s(a,l);else for(let f of r2(a.path))s(a,l,f)}),t}function r2(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,s=n.endsWith("?"),a=n.replace(/\?$/,"");if(r.length===0)return s?[a,""]:[a];let l=r2(r.join("/")),u=[];return u.push(...l.map(f=>f===""?a:[a,f].join("/"))),s&&u.push(...l),u.map(f=>e.startsWith("/")&&f===""?"/":f)}function p6(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:b6(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}var v6=/^:[\w-]+$/,h6=3,m6=2,y6=1,g6=10,A6=-2,Zx=e=>e==="*";function P6(e,t){let n=e.split("/"),r=n.length;return n.some(Zx)&&(r+=A6),t&&(r+=m6),n.filter(s=>!Zx(s)).reduce((s,a)=>s+(v6.test(a)?h6:a===""?y6:g6),r)}function b6(e,t){return e.length===t.length&&e.slice(0,-1).every((r,s)=>r===t[s])?e[e.length-1]-t[t.length-1]:0}function x6(e,t,n=!1){let{routesMeta:r}=e,s={},a="/",l=[];for(let u=0;u{if(h==="*"){let A=u[x]||"";l=a.slice(0,a.length-A.length).replace(/(.)\/+$/,"$1")}const w=u[x];return m&&!w?p[h]=void 0:p[h]=(w||"").replace(/%2F/g,"/"),p},{}),pathname:a,pathnameBase:l,pattern:e}}function w6(e,t=!1,n=!0){Lo(e==="*"||!e.endsWith("*")||e.endsWith("/*"),`Route path "${e}" will be treated as if it were "${e.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${e.replace(/\*$/,"/*")}".`);let r=[],s="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(l,u,f)=>(r.push({paramName:u,isOptional:f!=null}),f?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),s+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?s+="\\/*$":e!==""&&e!=="/"&&(s+="(?:(?=\\/|$))"),[new RegExp(s,t?void 0:"i"),r]}function H6(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return Lo(!1,`The URL path "${e}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${t}).`),e}}function xi(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}function j6(e,t="/"){let{pathname:n,search:r="",hash:s=""}=typeof e=="string"?Ll(e):e;return{pathname:n?n.startsWith("/")?n:z6(n,t):t,search:O6(r),hash:D6(s)}}function z6(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(s=>{s===".."?n.length>1&&n.pop():s!=="."&&n.push(s)}),n.length>1?n.join("/"):"/"}function gm(e,t,n,r){return`Cannot include a '${e}' character in a manually specified \`to.${t}\` field [${JSON.stringify(r)}]. Please separate it out to the \`to.${n}\` field. Alternatively you may provide the full path as a string in and the router will parse it for you.`}function S6(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function o2(e){let t=S6(e);return t.map((n,r)=>r===t.length-1?n.pathname:n.pathnameBase)}function s2(e,t,n,r=!1){let s;typeof e=="string"?s=Ll(e):(s={...e},An(!s.pathname||!s.pathname.includes("?"),gm("?","pathname","search",s)),An(!s.pathname||!s.pathname.includes("#"),gm("#","pathname","hash",s)),An(!s.search||!s.search.includes("#"),gm("#","search","hash",s)));let a=e===""||s.pathname==="",l=a?"/":s.pathname,u;if(l==null)u=n;else{let m=t.length-1;if(!r&&l.startsWith("..")){let x=l.split("/");for(;x[0]==="..";)x.shift(),m-=1;s.pathname=x.join("/")}u=m>=0?t[m]:"/"}let f=j6(s,u),p=l&&l!=="/"&&l.endsWith("/"),h=(a||l===".")&&n.endsWith("/");return!f.pathname.endsWith("/")&&(p||h)&&(f.pathname+="/"),f}var Ts=e=>e.join("/").replace(/\/\/+/g,"/"),C6=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),O6=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,D6=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function k6(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}var i2=["POST","PUT","PATCH","DELETE"];new Set(i2);var T6=["GET",...i2];new Set(T6);var Xl=g.createContext(null);Xl.displayName="DataRouter";var Fp=g.createContext(null);Fp.displayName="DataRouterState";var a2=g.createContext({isTransitioning:!1});a2.displayName="ViewTransition";var E6=g.createContext(new Map);E6.displayName="Fetchers";var R6=g.createContext(null);R6.displayName="Await";var ps=g.createContext(null);ps.displayName="Navigation";var Yu=g.createContext(null);Yu.displayName="Location";var Ls=g.createContext({outlet:null,matches:[],isDataRoute:!1});Ls.displayName="Route";var Rg=g.createContext(null);Rg.displayName="RouteError";function M6(e,{relative:t}={}){An(qu(),"useHref() may be used only in the context of a component.");let{basename:n,navigator:r}=g.useContext(ps),{hash:s,pathname:a,search:l}=Zu(e,{relative:t}),u=a;return n!=="/"&&(u=a==="/"?n:Ts([n,a])),r.createHref({pathname:u,search:l,hash:s})}function qu(){return g.useContext(Yu)!=null}function zi(){return An(qu(),"useLocation() may be used only in the context of a component."),g.useContext(Yu).location}var l2="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function c2(e){g.useContext(ps).static||g.useLayoutEffect(e)}function Yp(){let{isDataRoute:e}=g.useContext(Ls);return e?G6():L6()}function L6(){An(qu(),"useNavigate() may be used only in the context of a component.");let e=g.useContext(Xl),{basename:t,navigator:n}=g.useContext(ps),{matches:r}=g.useContext(Ls),{pathname:s}=zi(),a=JSON.stringify(o2(r)),l=g.useRef(!1);return c2(()=>{l.current=!0}),g.useCallback((f,p={})=>{if(Lo(l.current,l2),!l.current)return;if(typeof f=="number"){n.go(f);return}let h=s2(f,JSON.parse(a),s,p.relative==="path");e==null&&t!=="/"&&(h.pathname=h.pathname==="/"?t:Ts([t,h.pathname])),(p.replace?n.replace:n.push)(h,p.state,p)},[t,n,a,s,e])}g.createContext(null);function Zu(e,{relative:t}={}){let{matches:n}=g.useContext(Ls),{pathname:r}=zi(),s=JSON.stringify(o2(n));return g.useMemo(()=>s2(e,JSON.parse(s),r,t==="path"),[e,s,r,t])}function X6(e,t){return u2(e,t)}function u2(e,t,n,r){var S;An(qu(),"useRoutes() may be used only in the context of a component.");let{navigator:s,static:a}=g.useContext(ps),{matches:l}=g.useContext(Ls),u=l[l.length-1],f=u?u.params:{},p=u?u.pathname:"/",h=u?u.pathnameBase:"/",m=u&&u.route;{let z=m&&m.path||"";f2(p,!m||z.endsWith("*")||z.endsWith("*?"),`You rendered descendant (or called \`useRoutes()\`) at "${p}" (under ) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render. -Please change the parent to .`)}let x=zi(),w;if(t){let z=typeof t=="string"?Ll(t):t;An(h==="/"||((C=z.pathname)==null?void 0:C.startsWith(h)),`When overriding the location using \`\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${h}" but pathname "${z.pathname}" was given in the \`location\` prop.`),w=z}else w=x;let A=w.pathname||"/",P=A;if(h!=="/"){let z=h.replace(/^\//,"").split("/");P="/"+A.replace(/^\//,"").split("/").slice(z.length).join("/")}let H=!a&&n&&n.matches&&n.matches.length>0?n.matches:o2(e,{pathname:P});Lo(m||H!=null,`No routes matched location "${w.pathname}${w.search}${w.hash}" `),Lo(H==null||H[H.length-1].route.element!==void 0||H[H.length-1].route.Component!==void 0||H[H.length-1].route.lazy!==void 0,`Matched leaf route at location "${w.pathname}${w.search}${w.hash}" does not have an element or Component. This means it will render an with a null value by default resulting in an "empty" page.`);let S=I6(H&&H.map(z=>Object.assign({},z,{params:Object.assign({},f,z.params),pathname:ks([h,s.encodeLocation?s.encodeLocation(z.pathname).pathname:z.pathname]),pathnameBase:z.pathnameBase==="/"?h:ks([h,s.encodeLocation?s.encodeLocation(z.pathnameBase).pathname:z.pathnameBase])})),l,n,r);return t&&S?y.createElement(Yu.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",...w},navigationType:"POP"}},S):S}function X6(){let e=q6(),t=D6(e)?`${e.status} ${e.statusText}`:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,r="rgba(200,200,200, 0.5)",s={padding:"0.5rem",backgroundColor:r},a={padding:"2px 4px",backgroundColor:r},l=null;return console.error("Error handled by React Router default ErrorBoundary:",e),l=y.createElement(y.Fragment,null,y.createElement("p",null,"💿 Hey developer 👋"),y.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",y.createElement("code",{style:a},"ErrorBoundary")," or"," ",y.createElement("code",{style:a},"errorElement")," prop on your route.")),y.createElement(y.Fragment,null,y.createElement("h2",null,"Unexpected Application Error!"),y.createElement("h3",{style:{fontStyle:"italic"}},t),n?y.createElement("pre",{style:s},n):null,l)}var N6=y.createElement(X6,null),B6=class extends y.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||t.revalidation!=="idle"&&e.revalidation==="idle"?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error!==void 0?e.error:t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){console.error("React Router caught the following error during render",e,t)}render(){return this.state.error!==void 0?y.createElement(Ls.Provider,{value:this.props.routeContext},y.createElement(Ry.Provider,{value:this.state.error,children:this.props.component})):this.props.children}};function V6({routeContext:e,match:t,children:n}){let r=y.useContext(Xl);return r&&r.static&&r.staticContext&&(t.route.errorElement||t.route.ErrorBoundary)&&(r.staticContext._deepestRenderedBoundaryId=t.route.id),y.createElement(Ls.Provider,{value:e},n)}function I6(e,t=[],n=null,r=null){if(e==null){if(!n)return null;if(n.errors)e=n.matches;else if(t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let s=e,a=n==null?void 0:n.errors;if(a!=null){let f=s.findIndex(p=>p.route.id&&(a==null?void 0:a[p.route.id])!==void 0);An(f>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(a).join(",")}`),s=s.slice(0,Math.min(s.length,f+1))}let l=!1,u=-1;if(n)for(let f=0;f=0?s=s.slice(0,u+1):s=[s[0]];break}}}return s.reduceRight((f,p,h)=>{let m,x=!1,w=null,A=null;n&&(m=a&&p.route.id?a[p.route.id]:void 0,w=p.route.errorElement||N6,l&&(u<0&&h===0?(v2("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),x=!0,A=null):u===h&&(x=!0,A=p.route.hydrateFallbackElement||null)));let P=t.concat(s.slice(0,h+1)),H=()=>{let S;return m?S=w:x?S=A:p.route.Component?S=y.createElement(p.route.Component,null):p.route.element?S=p.route.element:S=f,y.createElement(V6,{match:p,routeContext:{outlet:f,matches:P,isDataRoute:n!=null},children:S})};return n&&(p.route.ErrorBoundary||p.route.errorElement||h===0)?y.createElement(B6,{location:n.location,revalidation:n.revalidation,component:w,error:m,children:H(),routeContext:{outlet:null,matches:P,isDataRoute:!0}}):H()},null)}function My(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function W6(e){let t=y.useContext(Xl);return An(t,My(e)),t}function J6(e){let t=y.useContext(Yp);return An(t,My(e)),t}function F6(e){let t=y.useContext(Ls);return An(t,My(e)),t}function Ly(e){let t=F6(e),n=t.matches[t.matches.length-1];return An(n.route.id,`${e} can only be used on routes that contain a unique "id"`),n.route.id}function Y6(){return Ly("useRouteId")}function q6(){var r;let e=y.useContext(Ry),t=J6("useRouteError"),n=Ly("useRouteError");return e!==void 0?e:(r=t.errors)==null?void 0:r[n]}function Z6(){let{router:e}=W6("useNavigate"),t=Ly("useNavigate"),n=y.useRef(!1);return d2(()=>{n.current=!0}),y.useCallback(async(s,a={})=>{Lo(n.current,f2),n.current&&(typeof s=="number"?e.navigate(s):await e.navigate(s,{fromRouteId:t,...a}))},[e,t])}var _x={};function v2(e,t,n){!t&&!_x[e]&&(_x[e]=!0,Lo(!1,n))}y.memo(G6);function G6({routes:e,future:t,state:n}){return p2(e,void 0,n,t)}function Ss(e){An(!1,"A is only ever to be used as the child of element, never rendered directly. Please wrap your in a .")}function U6({basename:e="/",children:t=null,location:n,navigationType:r="POP",navigator:s,static:a=!1}){An(!qu(),"You cannot render a inside another . You should never have more than one in your app.");let l=e.replace(/^\/*/,"/"),u=y.useMemo(()=>({basename:l,navigator:s,static:a,future:{}}),[l,s,a]);typeof n=="string"&&(n=Ll(n));let{pathname:f="/",search:p="",hash:h="",state:m=null,key:x="default"}=n,w=y.useMemo(()=>{let A=xi(f,l);return A==null?null:{location:{pathname:A,search:p,hash:h,state:m,key:x},navigationType:r}},[l,f,p,h,m,x,r]);return Lo(w!=null,` is not able to match the URL "${f}${p}${h}" because it does not start with the basename, so the won't render anything.`),w==null?null:y.createElement(ps.Provider,{value:u},y.createElement(Yu.Provider,{children:t,value:w}))}function Q6({children:e,location:t}){return L6(xg(e),t)}function xg(e,t=[]){let n=[];return y.Children.forEach(e,(r,s)=>{if(!y.isValidElement(r))return;let a=[...t,s];if(r.type===y.Fragment){n.push.apply(n,xg(r.props.children,a));return}An(r.type===Ss,`[${typeof r.type=="string"?r.type:r.type.name}] is not a component. All component children of must be a or `),An(!r.props.index||!r.props.children,"An index route cannot have child routes.");let l={id:r.props.id||a.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,hydrateFallbackElement:r.props.hydrateFallbackElement,HydrateFallback:r.props.HydrateFallback,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.hasErrorBoundary===!0||r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(l.children=xg(r.props.children,a)),n.push(l)}),n}var Bd="get",Vd="application/x-www-form-urlencoded";function Zp(e){return e!=null&&typeof e.tagName=="string"}function K6(e){return Zp(e)&&e.tagName.toLowerCase()==="button"}function _6(e){return Zp(e)&&e.tagName.toLowerCase()==="form"}function $6(e){return Zp(e)&&e.tagName.toLowerCase()==="input"}function eM(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function tM(e,t){return e.button===0&&(!t||t==="_self")&&!eM(e)}function wg(e=""){return new URLSearchParams(typeof e=="string"||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce((t,n)=>{let r=e[n];return t.concat(Array.isArray(r)?r.map(s=>[n,s]):[[n,r]])},[]))}function nM(e,t){let n=wg(e);return t&&t.forEach((r,s)=>{n.has(s)||t.getAll(s).forEach(a=>{n.append(s,a)})}),n}var bd=null;function rM(){if(bd===null)try{new FormData(document.createElement("form"),0),bd=!1}catch{bd=!0}return bd}var oM=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function Pm(e){return e!=null&&!oM.has(e)?(Lo(!1,`"${e}" is not a valid \`encType\` for \`
\`/\`\` and will default to "${Vd}"`),null):e}function sM(e,t){let n,r,s,a,l;if(_6(e)){let u=e.getAttribute("action");r=u?xi(u,t):null,n=e.getAttribute("method")||Bd,s=Pm(e.getAttribute("enctype"))||Vd,a=new FormData(e)}else if(K6(e)||$6(e)&&(e.type==="submit"||e.type==="image")){let u=e.form;if(u==null)throw new Error('Cannot submit a