From 76280df226c3cdc6f85b99ad10eddd7a9a39e34d Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 9 Dec 2024 07:15:18 -0500 Subject: [PATCH] Bump the minors group in /ui with 2 updates (#551) Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- jhub_apps/static/js/index.js | 42 ++++++++++++++++++------------------ ui/package-lock.json | 16 +++++++------- ui/package.json | 4 ++-- 3 files changed, 31 insertions(+), 31 deletions(-) diff --git a/jhub_apps/static/js/index.js b/jhub_apps/static/js/index.js index cba74613..3a2daa24 100644 --- a/jhub_apps/static/js/index.js +++ b/jhub_apps/static/js/index.js @@ -14,7 +14,7 @@ var E3=Object.defineProperty;var $b=e=>{throw TypeError(e)};var M3=(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 n8;function N3(){if(n8)return Dc;n8=1;var e=sy(),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={},y=null,H=null;p!==void 0&&(y=""+p),f.key!==void 0&&(y=""+f.key),f.ref!==void 0&&(H=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:y,ref:H,props:m,_owner:s.current}}return Dc.Fragment=n,Dc.jsx=l,Dc.jsxs=l,Dc}var r8;function B3(){return r8||(r8=1,mm.exports=N3()),mm.exports}var v=B3();const Pu={black:"#000",white:"#fff"},Fa={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},Ya={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},qa={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},Za={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},Ga={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"},Tc={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},V3={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 ks(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 Ro="$$material";function $d(){return $d=Object.assign?Object.assign.bind():function(e){for(var t=1;t0?Kn(Il,--kr):0,jl--,Mn===10&&(jl=1,Dp--),Mn}function qr(){return Mn=kr2||xu(Mn)>3?"":" "}function r7(e,t){for(;--t&&qr()&&!(Mn<48||Mn>102||Mn>57&&Mn<65||Mn>70&&Mn<97););return Bu(e,Ed()+(t<6&&rs()==32&&qr()==32))}function rg(e){for(;qr();)switch(Mn){case e:return kr;case 34:case 39:e!==34&&e!==39&&rg(Mn);break;case 40:e===41&&rg(e);break;case 92:qr();break}return kr}function o7(e,t){for(;qr()&&e+Mn!==57;)if(e+Mn===84&&rs()===47)break;return"/*"+Bu(t,kr-1)+"*"+Cp(e===47?e:qr())}function s7(e){for(;!xu(rs());)qr();return Bu(e,kr)}function i7(e){return x0(Ld("",null,null,null,[""],e=b0(e),0,[0],e))}function Ld(e,t,n,r,s,a,l,u,f){for(var p=0,h=0,m=l,y=0,H=0,A=0,w=1,x=1,S=1,z=0,O="",C=s,D=a,k=r,R=O;x;)switch(A=z,z=qr()){case 40:if(A!=108&&Kn(R,m-1)==58){ng(R+=Yt(Md(z),"&","&\f"),"&\f")!=-1&&(S=-1);break}case 34:case 39:case 91:R+=Md(z);break;case 9:case 10:case 13:case 32:R+=n7(A);break;case 92:R+=r7(Ed()-1,7);continue;case 47:switch(rs()){case 42:case 47:vd(a7(o7(qr(),Ed()),t,n),f);break;default:R+="/"}break;case 123*w:u[p++]=Ko(R)*S;case 125*w:case 59:case 0:switch(z){case 0:case 125:x=0;case 59+h:S==-1&&(R=Yt(R,/\f/g,"")),H>0&&Ko(R)-m&&vd(H>32?s8(R+";",r,n,m-1):s8(Yt(R," ","")+";",r,n,m-2),f);break;case 59:R+=";";default:if(vd(k=o8(R,t,n,p,h,s,u,O,C=[],D=[],m),a),z===123)if(h===0)Ld(R,t,k,k,C,a,m,u,D);else switch(y===99&&Kn(R,3)===110?100:y){case 100:case 108:case 109:case 115:Ld(e,k,k,r&&vd(o8(e,k,k,0,0,s,u,O,s,C=[],m),D),s,D,m,u,r?C:D);break;default:Ld(R,k,k,k,[""],D,0,u,D)}}p=h=H=0,w=S=1,O=R="",m=l;break;case 58:m=1+Ko(R),H=A;default:if(w<1){if(z==123)--w;else if(z==125&&w++==0&&t7()==125)continue}switch(R+=Cp(z),z*w){case 38:S=h>0?1:(R+="\f",-1);break;case 44:u[p++]=(Ko(R)-1)*S,S=1;break;case 64:rs()===45&&(R+=Md(qr())),y=rs(),h=m=Ko(O=R+=s7(Ed())),z++;break;case 45:A===45&&Ko(R)==2&&(w=0)}}return a}function o8(e,t,n,r,s,a,l,u,f,p,h){for(var m=s-1,y=s===0?a:[""],H=ly(y),A=0,w=0,x=0;A0?y[S]+" "+z:Yt(z,/&\f/g,y[S])))&&(f[x++]=O);return Tp(e,t,n,s===0?iy:u,f,p,h)}function a7(e,t,n){return Tp(e,t,n,g0,Cp(e7()),bu(e,2,-2),0)}function s8(e,t,n,r){return Tp(e,t,n,ay,bu(e,0,r),bu(e,r+1,-1),r)}function ll(e,t){for(var n="",r=ly(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"+tp+(Kn(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~ng(e,"stretch")?w0(Yt(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(Kn(e,t+1)!==115)break;case 6444:switch(Kn(e,Ko(e)-3-(~ng(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 m7=function(t,n,r,s){if(t.length>-1&&!t.return)switch(t.type){case ay:t.return=w0(t.value,t.length);break;case y0:return ll([kc(t,{value:Yt(t.value,"@","@"+Ft)})],s);case iy:if(t.length)return $3(t.props,function(a){switch(_3(a,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return ll([kc(t,{props:[Yt(a,/:(read-\w+)/,":"+tp+"$1")]})],s);case"::placeholder":return ll([kc(t,{props:[Yt(a,/:(plac\w+)/,":"+Ft+"input-$1")]}),kc(t,{props:[Yt(a,/:(plac\w+)/,":"+tp+"$1")]}),kc(t,{props:[Yt(a,/:(plac\w+)/,rr+"input-$1")]})],s)}return""})}},g7=[m7],y7=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(w){var x=w.getAttribute("data-emotion");x.indexOf(" ")!==-1&&(document.head.appendChild(w),w.setAttribute("data-s",""))})}var s=t.stylisPlugins||g7,a={},l,u=[];l=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(w){for(var x=w.getAttribute("data-emotion").split(" "),S=1;Sn.searchParams.append("args[]",r)),`Minified MUI error #${e}; visit ${n} for the full message.`}const Ro="$$material";function $d(){return $d=Object.assign?Object.assign.bind():function(e){for(var t=1;t0?Kn(Il,--kr):0,jl--,Mn===10&&(jl=1,Dp--),Mn}function Zr(){return Mn=kr2||xu(Mn)>3?"":" "}function r7(e,t){for(;--t&&Zr()&&!(Mn<48||Mn>102||Mn>57&&Mn<65||Mn>70&&Mn<97););return Bu(e,Ed()+(t<6&&rs()==32&&Zr()==32))}function rg(e){for(;Zr();)switch(Mn){case e:return kr;case 34:case 39:e!==34&&e!==39&&rg(Mn);break;case 40:e===41&&rg(e);break;case 92:Zr();break}return kr}function o7(e,t){for(;Zr()&&e+Mn!==57;)if(e+Mn===84&&rs()===47)break;return"/*"+Bu(t,kr-1)+"*"+Cp(e===47?e:Zr())}function s7(e){for(;!xu(rs());)Zr();return Bu(e,kr)}function i7(e){return x0(Ld("",null,null,null,[""],e=b0(e),0,[0],e))}function Ld(e,t,n,r,s,a,l,u,f){for(var p=0,h=0,m=l,y=0,H=0,A=0,w=1,x=1,S=1,z=0,O="",C=s,D=a,k=r,R=O;x;)switch(A=z,z=Zr()){case 40:if(A!=108&&Kn(R,m-1)==58){ng(R+=Yt(Md(z),"&","&\f"),"&\f")!=-1&&(S=-1);break}case 34:case 39:case 91:R+=Md(z);break;case 9:case 10:case 13:case 32:R+=n7(A);break;case 92:R+=r7(Ed()-1,7);continue;case 47:switch(rs()){case 42:case 47:vd(a7(o7(Zr(),Ed()),t,n),f);break;default:R+="/"}break;case 123*w:u[p++]=Ko(R)*S;case 125*w:case 59:case 0:switch(z){case 0:case 125:x=0;case 59+h:S==-1&&(R=Yt(R,/\f/g,"")),H>0&&Ko(R)-m&&vd(H>32?s8(R+";",r,n,m-1):s8(Yt(R," ","")+";",r,n,m-2),f);break;case 59:R+=";";default:if(vd(k=o8(R,t,n,p,h,s,u,O,C=[],D=[],m),a),z===123)if(h===0)Ld(R,t,k,k,C,a,m,u,D);else switch(y===99&&Kn(R,3)===110?100:y){case 100:case 108:case 109:case 115:Ld(e,k,k,r&&vd(o8(e,k,k,0,0,s,u,O,s,C=[],m),D),s,D,m,u,r?C:D);break;default:Ld(R,k,k,k,[""],D,0,u,D)}}p=h=H=0,w=S=1,O=R="",m=l;break;case 58:m=1+Ko(R),H=A;default:if(w<1){if(z==123)--w;else if(z==125&&w++==0&&t7()==125)continue}switch(R+=Cp(z),z*w){case 38:S=h>0?1:(R+="\f",-1);break;case 44:u[p++]=(Ko(R)-1)*S,S=1;break;case 64:rs()===45&&(R+=Md(Zr())),y=rs(),h=m=Ko(O=R+=s7(Ed())),z++;break;case 45:A===45&&Ko(R)==2&&(w=0)}}return a}function o8(e,t,n,r,s,a,l,u,f,p,h){for(var m=s-1,y=s===0?a:[""],H=ly(y),A=0,w=0,x=0;A0?y[S]+" "+z:Yt(z,/&\f/g,y[S])))&&(f[x++]=O);return Tp(e,t,n,s===0?iy:u,f,p,h)}function a7(e,t,n){return Tp(e,t,n,g0,Cp(e7()),bu(e,2,-2),0)}function s8(e,t,n,r){return Tp(e,t,n,ay,bu(e,0,r),bu(e,r+1,-1),r)}function ll(e,t){for(var n="",r=ly(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"+tp+(Kn(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~ng(e,"stretch")?w0(Yt(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(Kn(e,t+1)!==115)break;case 6444:switch(Kn(e,Ko(e)-3-(~ng(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 m7=function(t,n,r,s){if(t.length>-1&&!t.return)switch(t.type){case ay:t.return=w0(t.value,t.length);break;case y0:return ll([kc(t,{value:Yt(t.value,"@","@"+Ft)})],s);case iy:if(t.length)return $3(t.props,function(a){switch(_3(a,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return ll([kc(t,{props:[Yt(a,/:(read-\w+)/,":"+tp+"$1")]})],s);case"::placeholder":return ll([kc(t,{props:[Yt(a,/:(plac\w+)/,":"+Ft+"input-$1")]}),kc(t,{props:[Yt(a,/:(plac\w+)/,":"+tp+"$1")]}),kc(t,{props:[Yt(a,/:(plac\w+)/,rr+"input-$1")]})],s)}return""})}},g7=[m7],y7=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(w){var x=w.getAttribute("data-emotion");x.indexOf(" ")!==-1&&(document.head.appendChild(w),w.setAttribute("data-s",""))})}var s=t.stylisPlugins||g7,a={},l,u=[];l=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(w){for(var x=w.getAttribute("data-emotion").split(" "),S=1;S{throw TypeError(e)};var M3=(e,t,n)=>t in * @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 T0(e,t){return og(e,t)}function I7(e,t){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}const m8=[];function g8(e){return m8[0]=e,kp(m8)}function $o(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 k0(e){if(P.isValidElement(e)||!$o(e))return e;const t={};return Object.keys(e).forEach(n=>{t[n]=k0(e[n])}),t}function qn(e,t,n={clone:!0}){const r=n.clone?{...e}:e;return $o(e)&&$o(t)&&Object.keys(t).forEach(s=>{P.isValidElement(t[s])?r[s]=t[s]:$o(t[s])&&Object.prototype.hasOwnProperty.call(e,s)&&$o(e[s])?r[s]=qn(e[s],t[s],n):n.clone?r[s]=$o(t[s])?k0(t[s]):t[s]:r[s]=t[s]}),r}const W7=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 J7(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:r=5,...s}=e,a=W7(t),l=Object.keys(a);function u(y){return`@media (min-width:${typeof t[y]=="number"?t[y]:y}${n})`}function f(y){return`@media (max-width:${(typeof t[y]=="number"?t[y]:y)-r/100}${n})`}function p(y,H){const A=l.indexOf(H);return`@media (min-width:${typeof t[y]=="number"?t[y]:y}${n}) and (max-width:${(A!==-1&&typeof t[l[A]]=="number"?t[l[A]]:H)-r/100}${n})`}function h(y){return l.indexOf(y)+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 Y7(e,t){return t==="@"||t.startsWith("@")&&(e.some(n=>t.startsWith(`@${n}`))||!!t.match(/^@\d/))}function q7(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 Z7(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 G7={borderRadius:4};function cu(e,t){return t?qn(e,t,{clone:!1}):e}const Ep={xs:0,sm:600,md:900,lg:1200,xl:1536},y8={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${Ep[e]}px)`},U7={containerQueries:e=>({up:t=>{let n=typeof t=="number"?t:Ep[t]||t;return typeof n=="number"&&(n=`${n}px`),e?`@container ${e} (min-width:${n})`:`@container (min-width:${n})`}})};function Rr(e,t,n){const r=e.theme||{};if(Array.isArray(t)){const a=r.breakpoints||y8;return t.reduce((l,u,f)=>(l[a.up(a.keys[f])]=n(t[f]),l),{})}if(typeof t=="object"){const a=r.breakpoints||y8;return Object.keys(t).reduce((l,u)=>{if(Y7(a.keys,u)){const f=q7(r.containerQueries?r:U7,u);f&&(l[f]=n(t[u],u))}else if(Object.keys(a.values||Ep).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 R0(e={}){var n;return((n=e.keys)==null?void 0:n.reduce((r,s)=>{const a=e.up(s);return r[a]={},r},{}))||{}}function E0(e,t){return e.reduce((n,r)=>{const s=n[r];return(!s||Object.keys(s).length===0)&&delete n[r],n},t)}function Q7(e,...t){const n=R0(e),r=[n,...t].reduce((s,a)=>qn(s,a),{});return E0(Object.keys(n),r)}function K7(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||K7(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(ks(7));return e.charAt(0).toUpperCase()+e.slice(1)}function Sl(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 np(e,t,n,r=n){let s;return typeof e=="function"?s=e(n):Array.isArray(e)?s=e[n]||r:s=Sl(e,n)||r,t&&(s=t(s,r,e)),s}function kn(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=Sl(f,r)||{};return Rr(l,u,m=>{let y=np(p,s,m);return m===y&&typeof m=="string"&&(y=np(p,s,`${t}${m==="default"?"":me(m)}`,m)),n===!1?y:{[n]:y}})};return a.propTypes={},a.filterProps=[t],a}function _7(e){const t={};return n=>(t[n]===void 0&&(t[n]=e(n)),t[n])}const $7={m:"margin",p:"padding"},eH={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},A8={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},tH=_7(e=>{if(e.length>2)if(A8[e])e=A8[e];else return[e];const[t,n]=e.split(""),r=$7[t],s=eH[n]||"";return Array.isArray(s)?s.map(a=>r+a):[r+s]}),uy=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],fy=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...uy,...fy];function Iu(e,t,n,r){const s=Sl(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 Mp(e){return Iu(e,"spacing",8)}function la(e,t){return typeof t=="string"||t==null?t:e(t)}function nH(e,t){return n=>e.reduce((r,s)=>(r[s]=la(t,n),r),{})}function rH(e,t,n,r){if(!t.includes(n))return null;const s=tH(n),a=nH(s,r),l=e[n];return Rr(e,l,a)}function M0(e,t){const n=Mp(e.theme);return Object.keys(e).map(r=>rH(e,t,r,n)).reduce(cu,{})}function bn(e){return M0(e,uy)}bn.propTypes={};bn.filterProps=uy;function xn(e){return M0(e,fy)}xn.propTypes={};xn.filterProps=fy;function L0(e=8,t=Mp({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 Lp(...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]?cu(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 ho(e,t){return kn({prop:e,themeKey:"borders",transform:t})}const oH=ho("border",co),sH=ho("borderTop",co),iH=ho("borderRight",co),aH=ho("borderBottom",co),lH=ho("borderLeft",co),cH=ho("borderColor"),uH=ho("borderTopColor"),fH=ho("borderRightColor"),dH=ho("borderBottomColor"),pH=ho("borderLeftColor"),vH=ho("outline",co),hH=ho("outlineColor"),Xp=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=Iu(e.theme,"shape.borderRadius",4),n=r=>({borderRadius:la(t,r)});return Rr(e,e.borderRadius,n)}return null};Xp.propTypes={};Xp.filterProps=["borderRadius"];Lp(oH,sH,iH,aH,lH,cH,uH,fH,dH,pH,Xp,vH,hH);const Np=e=>{if(e.gap!==void 0&&e.gap!==null){const t=Iu(e.theme,"spacing",8),n=r=>({gap:la(t,r)});return Rr(e,e.gap,n)}return null};Np.propTypes={};Np.filterProps=["gap"];const Bp=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=Iu(e.theme,"spacing",8),n=r=>({columnGap:la(t,r)});return Rr(e,e.columnGap,n)}return null};Bp.propTypes={};Bp.filterProps=["columnGap"];const Vp=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=Iu(e.theme,"spacing",8),n=r=>({rowGap:la(t,r)});return Rr(e,e.rowGap,n)}return null};Vp.propTypes={};Vp.filterProps=["rowGap"];const mH=kn({prop:"gridColumn"}),gH=kn({prop:"gridRow"}),yH=kn({prop:"gridAutoFlow"}),AH=kn({prop:"gridAutoColumns"}),PH=kn({prop:"gridAutoRows"}),bH=kn({prop:"gridTemplateColumns"}),xH=kn({prop:"gridTemplateRows"}),wH=kn({prop:"gridTemplateAreas"}),HH=kn({prop:"gridArea"});Lp(Np,Bp,Vp,mH,gH,yH,AH,PH,bH,xH,wH,HH);function cl(e,t){return t==="grey"?t:e}const jH=kn({prop:"color",themeKey:"palette",transform:cl}),SH=kn({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:cl}),zH=kn({prop:"backgroundColor",themeKey:"palette",transform:cl});Lp(jH,SH,zH);function Yr(e){return e<=1&&e!==0?`${e*100}%`:e}const OH=kn({prop:"width",transform:Yr}),dy=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])||Ep[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:Yr(n)}};return Rr(e,e.maxWidth,t)}return null};dy.filterProps=["maxWidth"];const CH=kn({prop:"minWidth",transform:Yr}),DH=kn({prop:"height",transform:Yr}),TH=kn({prop:"maxHeight",transform:Yr}),kH=kn({prop:"minHeight",transform:Yr});kn({prop:"size",cssProperty:"width",transform:Yr});kn({prop:"size",cssProperty:"height",transform:Yr});const RH=kn({prop:"boxSizing"});Lp(OH,dy,CH,DH,TH,kH,RH);const Wu={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:Xp},color:{themeKey:"palette",transform:cl},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:cl},backgroundColor:{themeKey:"palette",transform:cl},p:{style:xn},pt:{style:xn},pr:{style:xn},pb:{style:xn},pl:{style:xn},px:{style:xn},py:{style:xn},padding:{style:xn},paddingTop:{style:xn},paddingRight:{style:xn},paddingBottom:{style:xn},paddingLeft:{style:xn},paddingX:{style:xn},paddingY:{style:xn},paddingInline:{style:xn},paddingInlineStart:{style:xn},paddingInlineEnd:{style:xn},paddingBlock:{style:xn},paddingBlockStart:{style:xn},paddingBlockEnd:{style:xn},m:{style:bn},mt:{style:bn},mr:{style:bn},mb:{style:bn},ml:{style:bn},mx:{style:bn},my:{style:bn},margin:{style:bn},marginTop:{style:bn},marginRight:{style:bn},marginBottom:{style:bn},marginLeft:{style:bn},marginX:{style:bn},marginY:{style:bn},marginInline:{style:bn},marginInlineStart:{style:bn},marginInlineEnd:{style:bn},marginBlock:{style:bn},marginBlockStart:{style:bn},marginBlockEnd:{style:bn},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:Np},rowGap:{style:Vp},columnGap:{style:Bp},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Yr},maxWidth:{style:dy},minWidth:{transform:Yr},height:{transform:Yr},maxHeight:{transform:Yr},minHeight:{transform:Yr},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 EH(...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 MH(e,t){return typeof e=="function"?e(t):e}function LH(){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 y=Sl(s,p)||{};return m?m(l):Rr(l,r,A=>{let w=np(y,h,A);return A===w&&typeof A=="string"&&(w=np(y,h,`${n}${A==="default"?"":me(A)}`,A)),f===!1?w:{[f]:w}})}function t(n){const{sx:r,theme:s={}}=n||{};if(!r)return null;const a=s.unstable_sxConfig??Wu;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=R0(s.breakpoints),h=Object.keys(p);let m=p;return Object.keys(f).forEach(y=>{const H=MH(f[y],s);if(H!=null)if(typeof H=="object")if(a[y])m=cu(m,e(y,H,s,a));else{const A=Rr({theme:s},H,w=>({[y]:w}));EH(A,H)?m[y]=t({sx:H,theme:s}):m=cu(m,A)}else m=cu(m,e(y,H,s,a))}),F7(s,E0(h,m))}return Array.isArray(r)?r.map(l):l(r)}return t}const Ai=LH();Ai.filterProps=["sx"];function XH(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 Ip(e={},...t){const{breakpoints:n={},palette:r={},spacing:s,shape:a={},...l}=e,u=J7(n),f=L0(s);let p=qn({breakpoints:u,direction:"ltr",components:{},palette:{mode:"light",...r},spacing:f,shape:{...G7,...a}},l);return p=Z7(p),p.applyStyles=XH,p=t.reduce((h,m)=>qn(h,m),p),p.unstable_sxConfig={...Wu,...l==null?void 0:l.unstable_sxConfig},p.unstable_sx=function(m){return Ai({sx:m,theme:this})},p}function NH(e){return Object.keys(e).length===0}function py(e=null){const t=P.useContext(Rp);return!t||NH(t)?e:t}const BH=Ip();function Wp(e=BH){return py(e)}function VH({styles:e,themeId:t,defaultTheme:n={}}){const r=Wp(n),s=typeof e=="function"?e(t&&r[t]||r):e;return v.jsx(D0,{styles:s})}const IH=e=>{var r;const t={systemProps:{},otherProps:{}},n=((r=e==null?void 0:e.theme)==null?void 0:r.unstable_sxConfig)??Wu;return Object.keys(e).forEach(s=>{n[s]?t.systemProps[s]=e[s]:t.otherProps[s]=e[s]}),t};function Jp(e){const{sx:t,...n}=e,{systemProps:r,otherProps:s}=IH(n);let a;return Array.isArray(t)?a=[r,...t]:typeof t=="function"?a=(...l)=>{const u=t(...l);return $o(u)?{...r,...u}:r}:a={...r,...t},{...s,sx:a}}const P8=e=>e,WH=()=>{let e=P8;return{configure(t){e=t},generate(t){return e(t)},reset(){e=P8}}},X0=WH();function N0(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"})(Ai);return P.forwardRef(function(f,p){const h=Wp(n),{className:m,component:y="div",...H}=Jp(f);return v.jsx(a,{as:y,ref:p,className:Oe(m,s?s(r):r),theme:t&&h[t]||h,...H})})}const FH={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 Ze(e,t,n="Mui"){const r=FH[t];return r?`${n}-${r}`:`${X0.generate(e)}-${t}`}function Ge(e,t,n="Mui"){const r={};return t.forEach(s=>{r[s]=Ze(e,s,n)}),r}function B0(e){const{variants:t,...n}=e,r={variants:t,style:g8(n),isProcessed:!0};return r.style===n||t&&t.forEach(s=>{typeof s.style!="function"&&(s.style=g8(s.style))}),r}const YH=Ip();function bm(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}function qH(e){return e?(t,n)=>n[e]:null}function ZH(e,t,n){e.theme=UH(e.theme)?n:e.theme[t]||e.theme}function Xd(e,t){const n=typeof t=="function"?t(e):t;if(Array.isArray(n))return n.flatMap(r=>Xd(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 V0(e,n.variants,[r])}return n!=null&&n.isProcessed?n.style:n}function V0(e,t,n=[]){var s;let r;e:for(let a=0;a{I7(u,D=>D.filter(k=>k!==Ai));const{name:p,slot:h,skipVariantsResolver:m,skipSx:y,overridesResolver:H=qH(KH(h)),...A}=f,w=m!==void 0?m:h&&h!=="Root"&&h!=="root"||!1,x=y||!1;let S=bm;h==="Root"||h==="root"?S=r:h?S=s:QH(u)&&(S=void 0);const z=T0(u,{shouldForwardProp:S,label:GH(),...A}),O=D=>{if(typeof D=="function"&&D.__emotion_real!==D)return function(R){return Xd(R,D)};if($o(D)){const k=B0(D);return k.variants?function(M){return Xd(M,k)}:k.style}return D},C=(...D)=>{const k=[],R=D.map(O),M=[];if(k.push(a),p&&H&&M.push(function(I){var ne,re;const K=(re=(ne=I.theme.components)==null?void 0:ne[p])==null?void 0:re.styleOverrides;if(!K)return null;const W={};for(const F in K)W[F]=Xd(I,K[F]);return H(I,W)}),p&&!w&&M.push(function(I){var W,ne;const J=I.theme,K=(ne=(W=J==null?void 0:J.components)==null?void 0:W[p])==null?void 0:ne.variants;return K?V0(I,K):null}),x||M.push(Ai),Array.isArray(R[0])){const B=R.shift(),I=new Array(k.length).fill(""),J=new Array(M.length).fill("");let K;K=[...I,...B,...J],K.raw=[...I,...B.raw,...J],k.unshift(K)}const L=[...k,...R,...M],j=z(...L);return u.muiName&&(j.muiName=u.muiName),j};return z.withConfig&&(C.withConfig=z.withConfig),C}}function GH(e,t){return void 0}function UH(e){for(const t in e)return!1;return!0}function QH(e){return typeof e=="string"&&e.charCodeAt(0)>96}function KH(e){return e&&e.charAt(0).toLowerCase()+e.slice(1)}const _H=I0();function zl(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]=zl(a[f],l[f])}}}else n[s]===void 0&&(n[s]=e[s])}return n}function W0(e){const{theme:t,name:n,props:r}=e;return!t||!t.components||!t.components[n]||!t.components[n].defaultProps?r:zl(t.components[n].defaultProps,r)}function $H({props:e,name:t,defaultTheme:n,themeId:r}){let s=Wp(n);return r&&(s=s[r]||s),W0({theme:s,name:t,props:e})}const fo=typeof window<"u"?P.useLayoutEffect:P.useEffect;function ej(e,t,n,r,s){const[a,l]=P.useState(()=>s&&n?n(e).matches:r?r(e).matches:t);return fo(()=>{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 tj={...ep},J0=tj.useSyncExternalStore;function nj(e,t,n,r,s){const a=P.useCallback(()=>t,[t]),l=P.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]=P.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 J0(f,u,l)}function rj(e={}){const{themeId:t}=e;return function(r,s={}){let a=py();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}=W0({name:"MuiUseMediaQuery",props:s,theme:a});let m=typeof r=="function"?r(a):r;return m=m.replace(/^@media( ?)/m,""),(J0!==void 0?nj:ej)(m,u,f,p,h)}}function oj(e,t=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,n))}function vy(e,t=0,n=1){return oj(e,t,n)}function sj(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 Pi(e){if(e.type)return e;if(e.charAt(0)==="#")return Pi(sj(e));const t=e.indexOf("("),n=e.substring(0,t);if(!["rgb","rgba","hsl","hsla","color"].includes(n))throw new Error(ks(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(ks(10,s))}else r=r.split(",");return r=r.map(a=>parseFloat(a)),{type:n,values:r,colorSpace:s}}const ij=e=>{const t=Pi(e);return t.values.slice(0,3).map((n,r)=>t.type.includes("hsl")&&r!==0?`${n}%`:n).join(" ")},Kc=(e,t)=>{try{return ij(e)}catch{return e}};function Fp(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 F0(e){e=Pi(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])),Fp({type:u,values:f})}function sg(e){e=Pi(e);let t=e.type==="hsl"||e.type==="hsla"?Pi(F0(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 aj(e,t){const n=sg(e),r=sg(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function Pt(e,t){return e=Pi(e),t=vy(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,Fp(e)}function hd(e,t,n){try{return Pt(e,t)}catch{return e}}function ca(e,t){if(e=Pi(e),t=vy(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 Fp(e)}function Kt(e,t,n){try{return ca(e,t)}catch{return e}}function ua(e,t){if(e=Pi(e),t=vy(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 Fp(e)}function _t(e,t,n){try{return ua(e,t)}catch{return e}}function Y0(e,t=.15){return sg(e)>.5?ca(e,t):ua(e,t)}function md(e,t,n){try{return Y0(e,t)}catch{return e}}function ig(...e){return e.reduce((t,n)=>n==null?t:function(...s){t.apply(this,s),n.apply(this,s)},()=>{})}function hy(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 Nd(e,t){var n,r,s;return P.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 rp(e,t){typeof e=="function"?e(t):e&&(e.current=t)}let b8=0;function lj(e){const[t,n]=P.useState(e),r=e||t;return P.useEffect(()=>{t==null&&(b8+=1,n(`mui-${b8}`))},[t]),r}const cj={...ep},x8=cj.useId;function Rs(e){if(x8!==void 0){const t=x8();return e??t}return lj(e)}function yi({controlled:e,default:t,name:n,state:r="value"}){const{current:s}=P.useRef(e!==void 0),[a,l]=P.useState(t),u=s?e:a,f=P.useCallback(p=>{s||l(p)},[]);return[u,f]}function mr(e){const t=P.useRef(e);return fo(()=>{t.current=e}),P.useRef((...n)=>(0,t.current)(...n)).current}function rn(...e){return P.useMemo(()=>e.every(t=>t==null)?null:t=>{e.forEach(n=>{rp(n,t)})},e)}const w8={};function q0(e,t){const n=P.useRef(w8);return n.current===w8&&(n.current=e(t)),n}const uj=[];function fj(e){P.useEffect(e,uj)}class Yp{constructor(){Cc(this,"currentId",null);Cc(this,"clear",()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)});Cc(this,"disposeEffect",()=>this.clear)}static create(){return new Yp}start(t,n){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,n()},t)}}function Gi(){const e=q0(Yp.create).current;return fj(e.disposeEffect),e}function Ol(e){try{return e.matches(":focus-visible")}catch{}return!1}function Z0(e=window){const t=e.document.documentElement.clientWidth;return e.innerWidth-t}const dj=e=>{const t=P.useRef({});return P.useEffect(()=>{t.current=e}),t.current};function Qe(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 H8(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 U0(e){const{getSlotProps:t,additionalProps:n,externalSlotProps:r,externalForwardedProps:s,className:a}=e;if(!t){const H=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},w={...n,...s,...r};return H.length>0&&(w.className=H),Object.keys(A).length>0&&(w.style=A),{props:w,internalRef:void 0}}const l=op({...s,...r}),u=H8(r),f=H8(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},y={...p,...n,...f,...u};return h.length>0&&(y.className=h),Object.keys(m).length>0&&(y.style=m),{props:y,internalRef:p.ref}}function Q0(e,t,n){return typeof e=="function"?e(t,n):e}function sp(e){var m;const{elementType:t,externalSlotProps:n,ownerState:r,skipResolvingSlotProps:s=!1,...a}=e,l=s?{}:Q0(n,r),{props:u,internalRef:f}=U0({...a,externalSlotProps:l}),p=rn(f,l==null?void 0:l.ref,(m=e.additionalProps)==null?void 0:m.ref);return G0(t,{...u,ref:p},r)}function xi(e){var t;return parseInt(P.version,10)>=19?((t=e==null?void 0:e.props)==null?void 0:t.ref)||null:(e==null?void 0:e.ref)||null}const K0=P.createContext(null);function my(){return P.useContext(K0)}const vj=typeof Symbol=="function"&&Symbol.for,hj=vj?Symbol.for("mui.nested"):"__THEME_NESTED__";function mj(e,t){return typeof t=="function"?t(e):{...e,...t}}function gj(e){const{children:t,theme:n}=e,r=my(),s=P.useMemo(()=>{const a=r===null?{...n}:mj(r,n);return a!=null&&(a[hj]=r!==null),a},[n,r]);return v.jsx(K0.Provider,{value:s,children:t})}const _0=P.createContext();function yj({value:e,...t}){return v.jsx(_0.Provider,{value:e??!0,...t})}const Ju=()=>P.useContext(_0)??!1,$0=P.createContext(void 0);function Aj({value:e,children:t}){return v.jsx($0.Provider,{value:e,children:t})}function Pj(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?zl(s.defaultProps,r):!s.styleOverrides&&!s.variants?zl(s,r):r}function bj({props:e,name:t}){const n=P.useContext($0);return Pj({props:e,name:t,theme:{components:n}})}const j8={};function S8(e,t,n,r=!1){return P.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 e1(e){const{children:t,theme:n,themeId:r}=e,s=py(j8),a=my()||j8,l=S8(r,s,n),u=S8(r,a,n,!0),f=(r?l[r]:l).direction==="rtl";return v.jsx(gj,{theme:u,children:v.jsx(Rp.Provider,{value:l,children:v.jsx(yj,{value:f,children:v.jsx(Aj,{value:r?l[r].components:l.components,children:t})})})})}const z8={theme:void 0};function xj(e){let t,n;return function(s){let a=t;return(a===void 0||s.theme!==n)&&(z8.theme=s.theme,a=B0(e(z8)),t=a,n=s.theme),a}}const gy="mode",yy="color-scheme",wj="data-color-scheme";function Hj(e){const{defaultMode:t="system",defaultLightColorScheme:n="light",defaultDarkColorScheme:r="dark",modeStorageKey:s=gy,colorSchemeStorageKey:a=yy,attribute:l=wj,colorSchemeNode:u="document.documentElement",nonce:f}=e||{};let p="",h=l;if(l==="class"&&(h=".%s"),l==="data"&&(h="[data-%s]"),h.startsWith(".")){const y=h.substring(1);p+=`${u}.classList.remove('${y}'.replace('%s', light), '${y}'.replace('%s', dark)); + */function T0(e,t){return og(e,t)}function I7(e,t){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}const m8=[];function g8(e){return m8[0]=e,kp(m8)}function $o(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 k0(e){if(P.isValidElement(e)||!$o(e))return e;const t={};return Object.keys(e).forEach(n=>{t[n]=k0(e[n])}),t}function qn(e,t,n={clone:!0}){const r=n.clone?{...e}:e;return $o(e)&&$o(t)&&Object.keys(t).forEach(s=>{P.isValidElement(t[s])?r[s]=t[s]:$o(t[s])&&Object.prototype.hasOwnProperty.call(e,s)&&$o(e[s])?r[s]=qn(e[s],t[s],n):n.clone?r[s]=$o(t[s])?k0(t[s]):t[s]:r[s]=t[s]}),r}const W7=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 J7(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:r=5,...s}=e,a=W7(t),l=Object.keys(a);function u(y){return`@media (min-width:${typeof t[y]=="number"?t[y]:y}${n})`}function f(y){return`@media (max-width:${(typeof t[y]=="number"?t[y]:y)-r/100}${n})`}function p(y,H){const A=l.indexOf(H);return`@media (min-width:${typeof t[y]=="number"?t[y]:y}${n}) and (max-width:${(A!==-1&&typeof t[l[A]]=="number"?t[l[A]]:H)-r/100}${n})`}function h(y){return l.indexOf(y)+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 Y7(e,t){return t==="@"||t.startsWith("@")&&(e.some(n=>t.startsWith(`@${n}`))||!!t.match(/^@\d/))}function q7(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 Z7(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 G7={borderRadius:4};function cu(e,t){return t?qn(e,t,{clone:!1}):e}const Ep={xs:0,sm:600,md:900,lg:1200,xl:1536},y8={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${Ep[e]}px)`},U7={containerQueries:e=>({up:t=>{let n=typeof t=="number"?t:Ep[t]||t;return typeof n=="number"&&(n=`${n}px`),e?`@container ${e} (min-width:${n})`:`@container (min-width:${n})`}})};function Rr(e,t,n){const r=e.theme||{};if(Array.isArray(t)){const a=r.breakpoints||y8;return t.reduce((l,u,f)=>(l[a.up(a.keys[f])]=n(t[f]),l),{})}if(typeof t=="object"){const a=r.breakpoints||y8;return Object.keys(t).reduce((l,u)=>{if(Y7(a.keys,u)){const f=q7(r.containerQueries?r:U7,u);f&&(l[f]=n(t[u],u))}else if(Object.keys(a.values||Ep).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 R0(e={}){var n;return((n=e.keys)==null?void 0:n.reduce((r,s)=>{const a=e.up(s);return r[a]={},r},{}))||{}}function E0(e,t){return e.reduce((n,r)=>{const s=n[r];return(!s||Object.keys(s).length===0)&&delete n[r],n},t)}function Q7(e,...t){const n=R0(e),r=[n,...t].reduce((s,a)=>qn(s,a),{});return E0(Object.keys(n),r)}function K7(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||K7(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(ks(7));return e.charAt(0).toUpperCase()+e.slice(1)}function Sl(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 np(e,t,n,r=n){let s;return typeof e=="function"?s=e(n):Array.isArray(e)?s=e[n]||r:s=Sl(e,n)||r,t&&(s=t(s,r,e)),s}function kn(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=Sl(f,r)||{};return Rr(l,u,m=>{let y=np(p,s,m);return m===y&&typeof m=="string"&&(y=np(p,s,`${t}${m==="default"?"":me(m)}`,m)),n===!1?y:{[n]:y}})};return a.propTypes={},a.filterProps=[t],a}function _7(e){const t={};return n=>(t[n]===void 0&&(t[n]=e(n)),t[n])}const $7={m:"margin",p:"padding"},eH={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},A8={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},tH=_7(e=>{if(e.length>2)if(A8[e])e=A8[e];else return[e];const[t,n]=e.split(""),r=$7[t],s=eH[n]||"";return Array.isArray(s)?s.map(a=>r+a):[r+s]}),uy=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],fy=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...uy,...fy];function Iu(e,t,n,r){const s=Sl(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 Mp(e){return Iu(e,"spacing",8)}function la(e,t){return typeof t=="string"||t==null?t:e(t)}function nH(e,t){return n=>e.reduce((r,s)=>(r[s]=la(t,n),r),{})}function rH(e,t,n,r){if(!t.includes(n))return null;const s=tH(n),a=nH(s,r),l=e[n];return Rr(e,l,a)}function M0(e,t){const n=Mp(e.theme);return Object.keys(e).map(r=>rH(e,t,r,n)).reduce(cu,{})}function xn(e){return M0(e,uy)}xn.propTypes={};xn.filterProps=uy;function wn(e){return M0(e,fy)}wn.propTypes={};wn.filterProps=fy;function L0(e=8,t=Mp({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 Lp(...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]?cu(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 ho(e,t){return kn({prop:e,themeKey:"borders",transform:t})}const oH=ho("border",co),sH=ho("borderTop",co),iH=ho("borderRight",co),aH=ho("borderBottom",co),lH=ho("borderLeft",co),cH=ho("borderColor"),uH=ho("borderTopColor"),fH=ho("borderRightColor"),dH=ho("borderBottomColor"),pH=ho("borderLeftColor"),vH=ho("outline",co),hH=ho("outlineColor"),Xp=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=Iu(e.theme,"shape.borderRadius",4),n=r=>({borderRadius:la(t,r)});return Rr(e,e.borderRadius,n)}return null};Xp.propTypes={};Xp.filterProps=["borderRadius"];Lp(oH,sH,iH,aH,lH,cH,uH,fH,dH,pH,Xp,vH,hH);const Np=e=>{if(e.gap!==void 0&&e.gap!==null){const t=Iu(e.theme,"spacing",8),n=r=>({gap:la(t,r)});return Rr(e,e.gap,n)}return null};Np.propTypes={};Np.filterProps=["gap"];const Bp=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=Iu(e.theme,"spacing",8),n=r=>({columnGap:la(t,r)});return Rr(e,e.columnGap,n)}return null};Bp.propTypes={};Bp.filterProps=["columnGap"];const Vp=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=Iu(e.theme,"spacing",8),n=r=>({rowGap:la(t,r)});return Rr(e,e.rowGap,n)}return null};Vp.propTypes={};Vp.filterProps=["rowGap"];const mH=kn({prop:"gridColumn"}),gH=kn({prop:"gridRow"}),yH=kn({prop:"gridAutoFlow"}),AH=kn({prop:"gridAutoColumns"}),PH=kn({prop:"gridAutoRows"}),bH=kn({prop:"gridTemplateColumns"}),xH=kn({prop:"gridTemplateRows"}),wH=kn({prop:"gridTemplateAreas"}),HH=kn({prop:"gridArea"});Lp(Np,Bp,Vp,mH,gH,yH,AH,PH,bH,xH,wH,HH);function cl(e,t){return t==="grey"?t:e}const jH=kn({prop:"color",themeKey:"palette",transform:cl}),SH=kn({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:cl}),zH=kn({prop:"backgroundColor",themeKey:"palette",transform:cl});Lp(jH,SH,zH);function qr(e){return e<=1&&e!==0?`${e*100}%`:e}const OH=kn({prop:"width",transform:qr}),dy=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])||Ep[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:qr(n)}};return Rr(e,e.maxWidth,t)}return null};dy.filterProps=["maxWidth"];const CH=kn({prop:"minWidth",transform:qr}),DH=kn({prop:"height",transform:qr}),TH=kn({prop:"maxHeight",transform:qr}),kH=kn({prop:"minHeight",transform:qr});kn({prop:"size",cssProperty:"width",transform:qr});kn({prop:"size",cssProperty:"height",transform:qr});const RH=kn({prop:"boxSizing"});Lp(OH,dy,CH,DH,TH,kH,RH);const Wu={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:Xp},color:{themeKey:"palette",transform:cl},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:cl},backgroundColor:{themeKey:"palette",transform:cl},p:{style:wn},pt:{style:wn},pr:{style:wn},pb:{style:wn},pl:{style:wn},px:{style:wn},py:{style:wn},padding:{style:wn},paddingTop:{style:wn},paddingRight:{style:wn},paddingBottom:{style:wn},paddingLeft:{style:wn},paddingX:{style:wn},paddingY:{style:wn},paddingInline:{style:wn},paddingInlineStart:{style:wn},paddingInlineEnd:{style:wn},paddingBlock:{style:wn},paddingBlockStart:{style:wn},paddingBlockEnd:{style:wn},m:{style:xn},mt:{style:xn},mr:{style:xn},mb:{style:xn},ml:{style:xn},mx:{style:xn},my:{style:xn},margin:{style:xn},marginTop:{style:xn},marginRight:{style:xn},marginBottom:{style:xn},marginLeft:{style:xn},marginX:{style:xn},marginY:{style:xn},marginInline:{style:xn},marginInlineStart:{style:xn},marginInlineEnd:{style:xn},marginBlock:{style:xn},marginBlockStart:{style:xn},marginBlockEnd:{style:xn},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:Np},rowGap:{style:Vp},columnGap:{style:Bp},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:qr},maxWidth:{style:dy},minWidth:{transform:qr},height:{transform:qr},maxHeight:{transform:qr},minHeight:{transform:qr},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 EH(...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 MH(e,t){return typeof e=="function"?e(t):e}function LH(){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 y=Sl(s,p)||{};return m?m(l):Rr(l,r,A=>{let w=np(y,h,A);return A===w&&typeof A=="string"&&(w=np(y,h,`${n}${A==="default"?"":me(A)}`,A)),f===!1?w:{[f]:w}})}function t(n){const{sx:r,theme:s={}}=n||{};if(!r)return null;const a=s.unstable_sxConfig??Wu;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=R0(s.breakpoints),h=Object.keys(p);let m=p;return Object.keys(f).forEach(y=>{const H=MH(f[y],s);if(H!=null)if(typeof H=="object")if(a[y])m=cu(m,e(y,H,s,a));else{const A=Rr({theme:s},H,w=>({[y]:w}));EH(A,H)?m[y]=t({sx:H,theme:s}):m=cu(m,A)}else m=cu(m,e(y,H,s,a))}),F7(s,E0(h,m))}return Array.isArray(r)?r.map(l):l(r)}return t}const Ai=LH();Ai.filterProps=["sx"];function XH(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 Ip(e={},...t){const{breakpoints:n={},palette:r={},spacing:s,shape:a={},...l}=e,u=J7(n),f=L0(s);let p=qn({breakpoints:u,direction:"ltr",components:{},palette:{mode:"light",...r},spacing:f,shape:{...G7,...a}},l);return p=Z7(p),p.applyStyles=XH,p=t.reduce((h,m)=>qn(h,m),p),p.unstable_sxConfig={...Wu,...l==null?void 0:l.unstable_sxConfig},p.unstable_sx=function(m){return Ai({sx:m,theme:this})},p}function NH(e){return Object.keys(e).length===0}function py(e=null){const t=P.useContext(Rp);return!t||NH(t)?e:t}const BH=Ip();function Wp(e=BH){return py(e)}function VH({styles:e,themeId:t,defaultTheme:n={}}){const r=Wp(n),s=typeof e=="function"?e(t&&r[t]||r):e;return v.jsx(D0,{styles:s})}const IH=e=>{var r;const t={systemProps:{},otherProps:{}},n=((r=e==null?void 0:e.theme)==null?void 0:r.unstable_sxConfig)??Wu;return Object.keys(e).forEach(s=>{n[s]?t.systemProps[s]=e[s]:t.otherProps[s]=e[s]}),t};function Jp(e){const{sx:t,...n}=e,{systemProps:r,otherProps:s}=IH(n);let a;return Array.isArray(t)?a=[r,...t]:typeof t=="function"?a=(...l)=>{const u=t(...l);return $o(u)?{...r,...u}:r}:a={...r,...t},{...s,sx:a}}const P8=e=>e,WH=()=>{let e=P8;return{configure(t){e=t},generate(t){return e(t)},reset(){e=P8}}},X0=WH();function N0(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"})(Ai);return P.forwardRef(function(f,p){const h=Wp(n),{className:m,component:y="div",...H}=Jp(f);return v.jsx(a,{as:y,ref:p,className:Oe(m,s?s(r):r),theme:t&&h[t]||h,...H})})}const FH={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 Ge(e,t,n="Mui"){const r=FH[t];return r?`${n}-${r}`:`${X0.generate(e)}-${t}`}function Ue(e,t,n="Mui"){const r={};return t.forEach(s=>{r[s]=Ge(e,s,n)}),r}function B0(e){const{variants:t,...n}=e,r={variants:t,style:g8(n),isProcessed:!0};return r.style===n||t&&t.forEach(s=>{typeof s.style!="function"&&(s.style=g8(s.style))}),r}const YH=Ip();function bm(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}function qH(e){return e?(t,n)=>n[e]:null}function ZH(e,t,n){e.theme=UH(e.theme)?n:e.theme[t]||e.theme}function Xd(e,t){const n=typeof t=="function"?t(e):t;if(Array.isArray(n))return n.flatMap(r=>Xd(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 V0(e,n.variants,[r])}return n!=null&&n.isProcessed?n.style:n}function V0(e,t,n=[]){var s;let r;e:for(let a=0;a{I7(u,D=>D.filter(k=>k!==Ai));const{name:p,slot:h,skipVariantsResolver:m,skipSx:y,overridesResolver:H=qH(KH(h)),...A}=f,w=m!==void 0?m:h&&h!=="Root"&&h!=="root"||!1,x=y||!1;let S=bm;h==="Root"||h==="root"?S=r:h?S=s:QH(u)&&(S=void 0);const z=T0(u,{shouldForwardProp:S,label:GH(),...A}),O=D=>{if(typeof D=="function"&&D.__emotion_real!==D)return function(R){return Xd(R,D)};if($o(D)){const k=B0(D);return k.variants?function(M){return Xd(M,k)}:k.style}return D},C=(...D)=>{const k=[],R=D.map(O),M=[];if(k.push(a),p&&H&&M.push(function(I){var ne,re;const K=(re=(ne=I.theme.components)==null?void 0:ne[p])==null?void 0:re.styleOverrides;if(!K)return null;const W={};for(const F in K)W[F]=Xd(I,K[F]);return H(I,W)}),p&&!w&&M.push(function(I){var W,ne;const J=I.theme,K=(ne=(W=J==null?void 0:J.components)==null?void 0:W[p])==null?void 0:ne.variants;return K?V0(I,K):null}),x||M.push(Ai),Array.isArray(R[0])){const B=R.shift(),I=new Array(k.length).fill(""),J=new Array(M.length).fill("");let K;K=[...I,...B,...J],K.raw=[...I,...B.raw,...J],k.unshift(K)}const L=[...k,...R,...M],j=z(...L);return u.muiName&&(j.muiName=u.muiName),j};return z.withConfig&&(C.withConfig=z.withConfig),C}}function GH(e,t){return void 0}function UH(e){for(const t in e)return!1;return!0}function QH(e){return typeof e=="string"&&e.charCodeAt(0)>96}function KH(e){return e&&e.charAt(0).toLowerCase()+e.slice(1)}const _H=I0();function zl(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]=zl(a[f],l[f])}}}else n[s]===void 0&&(n[s]=e[s])}return n}function W0(e){const{theme:t,name:n,props:r}=e;return!t||!t.components||!t.components[n]||!t.components[n].defaultProps?r:zl(t.components[n].defaultProps,r)}function $H({props:e,name:t,defaultTheme:n,themeId:r}){let s=Wp(n);return r&&(s=s[r]||s),W0({theme:s,name:t,props:e})}const fo=typeof window<"u"?P.useLayoutEffect:P.useEffect;function ej(e,t,n,r,s){const[a,l]=P.useState(()=>s&&n?n(e).matches:r?r(e).matches:t);return fo(()=>{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 tj={...ep},J0=tj.useSyncExternalStore;function nj(e,t,n,r,s){const a=P.useCallback(()=>t,[t]),l=P.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]=P.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 J0(f,u,l)}function rj(e={}){const{themeId:t}=e;return function(r,s={}){let a=py();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}=W0({name:"MuiUseMediaQuery",props:s,theme:a});let m=typeof r=="function"?r(a):r;return m=m.replace(/^@media( ?)/m,""),(J0!==void 0?nj:ej)(m,u,f,p,h)}}function oj(e,t=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,n))}function vy(e,t=0,n=1){return oj(e,t,n)}function sj(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 Pi(e){if(e.type)return e;if(e.charAt(0)==="#")return Pi(sj(e));const t=e.indexOf("("),n=e.substring(0,t);if(!["rgb","rgba","hsl","hsla","color"].includes(n))throw new Error(ks(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(ks(10,s))}else r=r.split(",");return r=r.map(a=>parseFloat(a)),{type:n,values:r,colorSpace:s}}const ij=e=>{const t=Pi(e);return t.values.slice(0,3).map((n,r)=>t.type.includes("hsl")&&r!==0?`${n}%`:n).join(" ")},Kc=(e,t)=>{try{return ij(e)}catch{return e}};function Fp(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 F0(e){e=Pi(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])),Fp({type:u,values:f})}function sg(e){e=Pi(e);let t=e.type==="hsl"||e.type==="hsla"?Pi(F0(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 aj(e,t){const n=sg(e),r=sg(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function Pt(e,t){return e=Pi(e),t=vy(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,Fp(e)}function hd(e,t,n){try{return Pt(e,t)}catch{return e}}function ca(e,t){if(e=Pi(e),t=vy(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 Fp(e)}function Kt(e,t,n){try{return ca(e,t)}catch{return e}}function ua(e,t){if(e=Pi(e),t=vy(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 Fp(e)}function _t(e,t,n){try{return ua(e,t)}catch{return e}}function Y0(e,t=.15){return sg(e)>.5?ca(e,t):ua(e,t)}function md(e,t,n){try{return Y0(e,t)}catch{return e}}function ig(...e){return e.reduce((t,n)=>n==null?t:function(...s){t.apply(this,s),n.apply(this,s)},()=>{})}function hy(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 Nd(e,t){var n,r,s;return P.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 rp(e,t){typeof e=="function"?e(t):e&&(e.current=t)}let b8=0;function lj(e){const[t,n]=P.useState(e),r=e||t;return P.useEffect(()=>{t==null&&(b8+=1,n(`mui-${b8}`))},[t]),r}const cj={...ep},x8=cj.useId;function Rs(e){if(x8!==void 0){const t=x8();return e??t}return lj(e)}function yi({controlled:e,default:t,name:n,state:r="value"}){const{current:s}=P.useRef(e!==void 0),[a,l]=P.useState(t),u=s?e:a,f=P.useCallback(p=>{s||l(p)},[]);return[u,f]}function mr(e){const t=P.useRef(e);return fo(()=>{t.current=e}),P.useRef((...n)=>(0,t.current)(...n)).current}function rn(...e){return P.useMemo(()=>e.every(t=>t==null)?null:t=>{e.forEach(n=>{rp(n,t)})},e)}const w8={};function q0(e,t){const n=P.useRef(w8);return n.current===w8&&(n.current=e(t)),n}const uj=[];function fj(e){P.useEffect(e,uj)}class Yp{constructor(){Cc(this,"currentId",null);Cc(this,"clear",()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)});Cc(this,"disposeEffect",()=>this.clear)}static create(){return new Yp}start(t,n){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,n()},t)}}function Gi(){const e=q0(Yp.create).current;return fj(e.disposeEffect),e}function Ol(e){try{return e.matches(":focus-visible")}catch{}return!1}function Z0(e=window){const t=e.document.documentElement.clientWidth;return e.innerWidth-t}const dj=e=>{const t=P.useRef({});return P.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 H8(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 U0(e){const{getSlotProps:t,additionalProps:n,externalSlotProps:r,externalForwardedProps:s,className:a}=e;if(!t){const H=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},w={...n,...s,...r};return H.length>0&&(w.className=H),Object.keys(A).length>0&&(w.style=A),{props:w,internalRef:void 0}}const l=op({...s,...r}),u=H8(r),f=H8(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},y={...p,...n,...f,...u};return h.length>0&&(y.className=h),Object.keys(m).length>0&&(y.style=m),{props:y,internalRef:p.ref}}function Q0(e,t,n){return typeof e=="function"?e(t,n):e}function sp(e){var m;const{elementType:t,externalSlotProps:n,ownerState:r,skipResolvingSlotProps:s=!1,...a}=e,l=s?{}:Q0(n,r),{props:u,internalRef:f}=U0({...a,externalSlotProps:l}),p=rn(f,l==null?void 0:l.ref,(m=e.additionalProps)==null?void 0:m.ref);return G0(t,{...u,ref:p},r)}function xi(e){var t;return parseInt(P.version,10)>=19?((t=e==null?void 0:e.props)==null?void 0:t.ref)||null:(e==null?void 0:e.ref)||null}const K0=P.createContext(null);function my(){return P.useContext(K0)}const vj=typeof Symbol=="function"&&Symbol.for,hj=vj?Symbol.for("mui.nested"):"__THEME_NESTED__";function mj(e,t){return typeof t=="function"?t(e):{...e,...t}}function gj(e){const{children:t,theme:n}=e,r=my(),s=P.useMemo(()=>{const a=r===null?{...n}:mj(r,n);return a!=null&&(a[hj]=r!==null),a},[n,r]);return v.jsx(K0.Provider,{value:s,children:t})}const _0=P.createContext();function yj({value:e,...t}){return v.jsx(_0.Provider,{value:e??!0,...t})}const Ju=()=>P.useContext(_0)??!1,$0=P.createContext(void 0);function Aj({value:e,children:t}){return v.jsx($0.Provider,{value:e,children:t})}function Pj(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?zl(s.defaultProps,r):!s.styleOverrides&&!s.variants?zl(s,r):r}function bj({props:e,name:t}){const n=P.useContext($0);return Pj({props:e,name:t,theme:{components:n}})}const j8={};function S8(e,t,n,r=!1){return P.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 e1(e){const{children:t,theme:n,themeId:r}=e,s=py(j8),a=my()||j8,l=S8(r,s,n),u=S8(r,a,n,!0),f=(r?l[r]:l).direction==="rtl";return v.jsx(gj,{theme:u,children:v.jsx(Rp.Provider,{value:l,children:v.jsx(yj,{value:f,children:v.jsx(Aj,{value:r?l[r].components:l.components,children:t})})})})}const z8={theme:void 0};function xj(e){let t,n;return function(s){let a=t;return(a===void 0||s.theme!==n)&&(z8.theme=s.theme,a=B0(e(z8)),t=a,n=s.theme),a}}const gy="mode",yy="color-scheme",wj="data-color-scheme";function Hj(e){const{defaultMode:t="system",defaultLightColorScheme:n="light",defaultDarkColorScheme:r="dark",modeStorageKey:s=gy,colorSchemeStorageKey:a=yy,attribute:l=wj,colorSchemeNode:u="document.documentElement",nonce:f}=e||{};let p="",h=l;if(l==="class"&&(h=".%s"),l==="data"&&(h="[data-%s]"),h.startsWith(".")){const y=h.substring(1);p+=`${u}.classList.remove('${y}'.replace('%s', light), '${y}'.replace('%s', dark)); ${u}.classList.add('${y}'.replace('%s', colorScheme));`}const m=h.match(/\[([^\]]+)\]/);if(m){const[y,H]=m[1].split("=");H||(p+=`${u}.removeAttribute('${y}'.replace('%s', light)); ${u}.removeAttribute('${y}'.replace('%s', dark));`),p+=` ${u}.setAttribute('${y}'.replace('%s', colorScheme), ${H?`${H}.replace('%s', colorScheme)`:'""'});`}else p+=`${u}.setAttribute('${h}', colorScheme);`;return v.jsx("script",{suppressHydrationWarning:!0,nonce:typeof window>"u"?f:"",dangerouslySetInnerHTML:{__html:`(function() { @@ -54,7 +54,7 @@ try { if (colorScheme) { ${p} } -} catch(e){}})();`}},"mui-color-scheme-init")}function O8(e){if(typeof window<"u"&&typeof window.matchMedia=="function"&&e==="system")return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}function t1(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 jj(e){return t1(e,t=>{if(t==="light")return e.lightColorScheme;if(t==="dark")return e.darkColorScheme})}function xm(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 Sj(e){const{defaultMode:t="light",defaultLightColorScheme:n,defaultDarkColorScheme:r,supportedColorSchemes:s=[],modeStorageKey:a=gy,colorSchemeStorageKey:l=yy,storageWindow:u=typeof window>"u"?void 0:window,noSsr:f=!1}=e,p=s.join(","),h=s.length>1,[m,y]=P.useState(()=>{const C=xm(a,t),D=xm(`${l}-light`,n),k=xm(`${l}-dark`,r);return{mode:C,systemMode:O8(C),lightColorScheme:D,darkColorScheme:k}}),[H,A]=P.useState(f||!h);P.useEffect(()=>{A(!0)},[]);const w=jj(m),x=P.useCallback(C=>{y(D=>{if(C===D.mode)return D;const k=C??t;try{localStorage.setItem(a,k)}catch{}return{...D,mode:k,systemMode:O8(k)}})},[a,t]),S=P.useCallback(C=>{C?typeof C=="string"?C&&!p.includes(C)?console.error(`\`${C}\` does not exist in \`theme.colorSchemes\`.`):y(D=>{const k={...D};return t1(D,R=>{try{localStorage.setItem(`${l}-${R}`,C)}catch{}R==="light"&&(k.lightColorScheme=C),R==="dark"&&(k.darkColorScheme=C)}),k}):y(D=>{const k={...D},R=C.light===null?n:C.light,M=C.dark===null?r:C.dark;if(R)if(!p.includes(R))console.error(`\`${R}\` does not exist in \`theme.colorSchemes\`.`);else{k.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{k.darkColorScheme=M;try{localStorage.setItem(`${l}-dark`,M)}catch{}}return k}):y(D=>{try{localStorage.setItem(`${l}-light`,n),localStorage.setItem(`${l}-dark`,r)}catch{}return{...D,lightColorScheme:n,darkColorScheme:r}})},[p,l,n,r]),z=P.useCallback(C=>{m.mode==="system"&&y(D=>{const k=C!=null&&C.matches?"dark":"light";return D.systemMode===k?D:{...D,systemMode:k}})},[m.mode]),O=P.useRef(z);return O.current=z,P.useEffect(()=>{if(typeof window.matchMedia!="function"||!h)return;const C=(...k)=>O.current(...k),D=window.matchMedia("(prefers-color-scheme: dark)");return D.addListener(C),C(D),()=>{D.removeListener(C)}},[h]),P.useEffect(()=>{if(u&&h){const C=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))&&x(k||t)};return u.addEventListener("storage",C),()=>{u.removeEventListener("storage",C)}}},[S,x,a,l,p,t,u,h]),{...m,mode:H?m.mode:void 0,systemMode:H?m.systemMode:void 0,colorScheme:H?w:void 0,setMode:x,setColorScheme:S}}const zj="*{-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=gy,colorSchemeStorageKey:s=yy,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=P.createContext(void 0),h=()=>P.useContext(p)||f,m={},y={};function H(S){var Ae,je,st,wt;const{children:z,theme:O,modeStorageKey:C=r,colorSchemeStorageKey:D=s,disableTransitionOnChange:k=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:B=!1,defaultMode:I="system",noSsr:J}=S,K=P.useRef(!1),W=my(),ne=P.useContext(p),re=!!ne&&!j,F=P.useMemo(()=>O||(typeof n=="function"?n():n),[O]),_=F[t],E=_||F,{colorSchemes:G=m,components:X=y,cssVarPrefix:ee}=E,te=Object.keys(G).filter(nt=>!!G[nt]).join(","),ue=P.useMemo(()=>te.split(","),[te]),de=typeof l=="string"?l:l.light,xe=typeof l=="string"?l:l.dark,ve=G[de]&&G[xe]?I:((je=(Ae=G[E.defaultColorScheme])==null?void 0:Ae.palette)==null?void 0:je.mode)||((st=E.palette)==null?void 0:st.mode),{mode:be,setMode:Xe,systemMode:Ie,lightColorScheme:He,darkColorScheme:Ke,colorScheme:we,setColorScheme:tt}=Sj({supportedColorSchemes:ue,defaultLightColorScheme:de,defaultDarkColorScheme:xe,modeStorageKey:C,colorSchemeStorageKey:D,defaultMode:ve,storageWindow:R,noSsr:J});let Le=be,dt=we;re&&(Le=ne.mode,dt=ne.colorScheme);const N=P.useMemo(()=>{var Ht;const nt=dt||E.defaultColorScheme,ft=((Ht=E.generateThemeVars)==null?void 0:Ht.call(E))||E.vars,ct={...E,components:X,colorSchemes:G,cssVarPrefix:ee,vars:ft};if(typeof ct.generateSpacing=="function"&&(ct.spacing=ct.generateSpacing()),nt){const We=G[nt];We&&typeof We=="object"&&Object.keys(We).forEach(Dt=>{We[Dt]&&typeof We[Dt]=="object"?ct[Dt]={...ct[Dt],...We[Dt]}:ct[Dt]=We[Dt]})}return u?u(ct):ct},[E,dt,X,G,ee]),$=E.colorSchemeSelector;P.useEffect(()=>{if(dt&&L&&$&&$!=="media"){const nt=$;let ft=$;if(nt==="class"&&(ft=".%s"),nt==="data"&&(ft="[data-%s]"),nt!=null&&nt.startsWith("data-")&&!nt.includes("%s")&&(ft=`[${nt}="%s"]`),ft.startsWith("."))L.classList.remove(...ue.map(ct=>ft.substring(1).replace("%s",ct))),L.classList.add(ft.substring(1).replace("%s",dt));else{const ct=ft.replace("%s",dt).match(/\[([^\]]+)\]/);if(ct){const[Ht,We]=ct[1].split("=");We||ue.forEach(Dt=>{L.removeAttribute(Ht.replace(dt,Dt))}),L.setAttribute(Ht,We?We.replace(/"|'/g,""):"")}else L.setAttribute(ft,dt)}}},[dt,$,L,ue]),P.useEffect(()=>{let nt;if(k&&K.current&&M){const ft=M.createElement("style");ft.appendChild(M.createTextNode(zj)),M.head.appendChild(ft),window.getComputedStyle(M.body),nt=setTimeout(()=>{M.head.removeChild(ft)},1)}return()=>{clearTimeout(nt)}},[dt,k,M]),P.useEffect(()=>(K.current=!0,()=>{K.current=!1}),[]);const se=P.useMemo(()=>({allColorSchemes:ue,colorScheme:dt,darkColorScheme:Ke,lightColorScheme:He,mode:Le,setColorScheme:tt,setMode:Xe,systemMode:Ie}),[ue,dt,Ke,He,Le,tt,Xe,Ie,N.colorSchemeSelector]);let ye=!0;(B||E.cssVariables===!1||re&&(W==null?void 0:W.cssVarPrefix)===ee)&&(ye=!1);const ce=v.jsxs(P.Fragment,{children:[v.jsx(e1,{themeId:_?t:void 0,theme:N,children:z}),ye&&v.jsx(D0,{styles:((wt=N.generateStyleSheets)==null?void 0:wt.call(N))||[]})]});return re?ce:v.jsx(p.Provider,{value:se,children:ce})}const A=typeof l=="string"?l:l.light,w=typeof l=="string"?l:l.dark;return{CssVarsProvider:H,useColorScheme:h,getInitColorSchemeScript:S=>Hj({colorSchemeStorageKey:s,defaultLightColorScheme:A,defaultDarkColorScheme:w,modeStorageKey:r,...S})}}function Cj(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 C8=(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])})},Dj=(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)},Tj=(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 wm(e,t){const{prefix:n,shouldSkipGeneratingVar:r}=t||{},s={},a={},l={};return Dj(e,(u,f,p)=>{if((typeof f=="string"||typeof f=="number")&&(!r||!r(u,f))){const h=`--${n?`${n}-`:""}${u.join("-")}`,m=Tj(u,f);Object.assign(s,{[h]:m}),C8(a,u,`var(${h})`,p),C8(l,u,`var(${h}, ${m})`,p)}},u=>u[0]==="vars"),{css:s,vars:a,varsWithDefaults:l}}function kj(e,t={}){const{getSelector:n=x,disableCssColorScheme:r,colorSchemeSelector:s}=t,{colorSchemes:a={},components:l,defaultColorScheme:u="light",...f}=e,{vars:p,css:h,varsWithDefaults:m}=wm(f,t);let y=m;const H={},{[u]:A,...w}=a;if(Object.entries(w||{}).forEach(([O,C])=>{const{vars:D,css:k,varsWithDefaults:R}=wm(C,t);y=qn(y,R),H[O]={css:k,vars:D}}),A){const{css:O,vars:C,varsWithDefaults:D}=wm(A,t);y=qn(y,D),H[u]={css:O,vars:C}}function x(O,C){var k,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"]`),O){if(D==="media")return e.defaultColorScheme===O?":root":{[`@media (prefers-color-scheme: ${((R=(k=a[O])==null?void 0:k.palette)==null?void 0:R.mode)||O})`]:{":root":C}};if(D)return e.defaultColorScheme===O?`:root, ${D.replace("%s",String(O))}`:D.replace("%s",String(O))}return":root"}return{vars:y,generateThemeVars:()=>{let O={...p};return Object.entries(H).forEach(([,{vars:C}])=>{O=qn(O,C)}),O},generateStyleSheets:()=>{var M,L;const O=[],C=e.defaultColorScheme||"light";function D(j,B){Object.keys(B).length&&O.push(typeof j=="string"?{[j]:{...B}}:j)}D(n(void 0,{...h}),h);const{[C]:k,...R}=H;if(k){const{css:j}=k,B=(L=(M=a[C])==null?void 0:M.palette)==null?void 0:L.mode,I=!r&&B?{colorScheme:B,...j}:{...j};D(n(C,{...I}),I)}return Object.entries(R).forEach(([j,{css:B}])=>{var K,W;const I=(W=(K=a[j])==null?void 0:K.palette)==null?void 0:W.mode,J=!r&&I?{colorScheme:I,...B}:{...B};D(n(j,{...J}),J)}),O}}}function Rj(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 Ej=Ip(),Mj=_H("div",{name:"MuiStack",slot:"Root",overridesResolver:(e,t)=>t.root});function Lj(e){return $H({props:e,name:"MuiStack",defaultTheme:Ej})}function Xj(e,t){const n=P.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],Bj=({ownerState:e,theme:t})=>{let n={display:"flex",flexDirection:"column",...Rr({theme:t},sa({values:e.direction,breakpoints:t.breakpoints.values}),r=>({flexDirection:r}))};if(e.spacing){const r=Mp(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 y=p>0?a[h[p-1]]:"column";a[f]=y}}),n=qn(n,Rr({theme:t},l,(f,p)=>e.useFlexGap?{gap:la(r,f)}:{"& > :not(style):not(style)":{margin:0},"& > :not(style) ~ :not(style)":{[`margin${Nj(p?a[p]:e.direction)}`]:la(r,f)}}))}return n=Q7(t.breakpoints,n),n};function Vj(e={}){const{createStyledComponent:t=Mj,useThemeProps:n=Lj,componentName:r="MuiStack"}=e,s=()=>Qe({root:["root"]},f=>Ze(r,f),{}),a=t(Bj);return P.forwardRef(function(f,p){const h=n(f),m=Jp(h),{component:y="div",direction:H="column",spacing:A=0,divider:w,children:x,className:S,useFlexGap:z=!1,...O}=m,C={direction:H,spacing:A,useFlexGap:z},D=s();return v.jsx(a,{as:y,ownerState:C,ref:p,className:Oe(D.root,S),...O,children:w?Xj(x,w):x})})}function n1(){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:Pu.white,default:Pu.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 Ij=n1();function r1(){return{text:{primary:Pu.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:Pu.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 D8=r1();function T8(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 Wj(e="light"){return e==="dark"?{main:qa[200],light:qa[50],dark:qa[400]}:{main:qa[700],light:qa[400],dark:qa[800]}}function Jj(e="light"){return e==="dark"?{main:Ya[200],light:Ya[50],dark:Ya[400]}:{main:Ya[500],light:Ya[300],dark:Ya[700]}}function Fj(e="light"){return e==="dark"?{main:Fa[500],light:Fa[300],dark:Fa[700]}:{main:Fa[700],light:Fa[400],dark:Fa[800]}}function Yj(e="light"){return e==="dark"?{main:Za[400],light:Za[300],dark:Za[700]}:{main:Za[700],light:Za[500],dark:Za[900]}}function qj(e="light"){return e==="dark"?{main:Ga[400],light:Ga[300],dark:Ga[700]}:{main:Ga[800],light:Ga[500],dark:Ga[900]}}function Zj(e="light"){return e==="dark"?{main:Tc[400],light:Tc[300],dark:Tc[700]}:{main:"#ed6c02",light:Tc[500],dark:Tc[900]}}function Ay(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:r=.2,...s}=e,a=e.primary||Wj(t),l=e.secondary||Jj(t),u=e.error||Fj(t),f=e.info||Yj(t),p=e.success||qj(t),h=e.warning||Zj(t);function m(w){return aj(w,D8.text.primary)>=n?D8.text.primary:Ij.text.primary}const y=({color:w,name:x,mainShade:S=500,lightShade:z=300,darkShade:O=700})=>{if(w={...w},!w.main&&w[S]&&(w.main=w[S]),!w.hasOwnProperty("main"))throw new Error(ks(11,x?` (${x})`:"",S));if(typeof w.main!="string")throw new Error(ks(12,x?` (${x})`:"",JSON.stringify(w.main)));return T8(w,"light",z,r),T8(w,"dark",O,r),w.contrastText||(w.contrastText=m(w.main)),w};let H;return t==="light"?H=n1():t==="dark"&&(H=r1()),qn({common:{...Pu},mode:t,primary:y({color:a,name:"primary"}),secondary:y({color:l,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:y({color:u,name:"error"}),warning:y({color:h,name:"warning"}),info:y({color:f,name:"info"}),success:y({color:p,name:"success"}),grey:V3,contrastThreshold:n,getContrastText:m,augmentColor:y,tonalOffset:r,...H},s)}function Gj(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 Uj(e,t){return{toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}},...t}}function Qj(e){return Math.round(e*1e5)/1e5}const k8={textTransform:"uppercase"},R8='"Roboto", "Helvetica", "Arial", sans-serif';function o1(e,t){const{fontFamily:n=R8,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,y=r/14,H=h||(x=>`${x/f*y}rem`),A=(x,S,z,O,C)=>({fontFamily:n,fontWeight:x,fontSize:H(S),lineHeight:z,...n===R8?{letterSpacing:`${Qj(O/S)}em`}:{},...C,...p}),w={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,k8),caption:A(a,12,1.66,.4),overline:A(a,12,2.66,1,k8),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return qn({htmlFontSize:f,pxToRem:H,fontFamily:n,fontSize:r,fontWeightLight:s,fontWeightRegular:a,fontWeightMedium:l,fontWeightBold:u,...w},m,{clone:!1})}const Kj=.2,_j=.14,$j=.12;function dn(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${Kj})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${_j})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${$j})`].join(",")}const eS=["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)],tS={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)"},nS={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function E8(e){return`${Math.round(e)}ms`}function rS(e){if(!e)return 0;const t=e/36;return Math.min(Math.round((4+15*t**.25+t/5)*10),3e3)}function oS(e){const t={...tS,...e.easing},n={...nS,...e.duration};return{getAutoHeightDuration:rS,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:E8(l)} ${u} ${typeof f=="string"?f:E8(f)}`).join(",")},...e,easing:t,duration:n}}const sS={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function iS(e){return $o(e)||typeof e>"u"||typeof e=="string"||typeof e=="boolean"||typeof e=="number"||Array.isArray(e)}function s1(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 xm(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 Sj(e){const{defaultMode:t="light",defaultLightColorScheme:n,defaultDarkColorScheme:r,supportedColorSchemes:s=[],modeStorageKey:a=gy,colorSchemeStorageKey:l=yy,storageWindow:u=typeof window>"u"?void 0:window,noSsr:f=!1}=e,p=s.join(","),h=s.length>1,[m,y]=P.useState(()=>{const C=xm(a,t),D=xm(`${l}-light`,n),k=xm(`${l}-dark`,r);return{mode:C,systemMode:O8(C),lightColorScheme:D,darkColorScheme:k}}),[H,A]=P.useState(f||!h);P.useEffect(()=>{A(!0)},[]);const w=jj(m),x=P.useCallback(C=>{y(D=>{if(C===D.mode)return D;const k=C??t;try{localStorage.setItem(a,k)}catch{}return{...D,mode:k,systemMode:O8(k)}})},[a,t]),S=P.useCallback(C=>{C?typeof C=="string"?C&&!p.includes(C)?console.error(`\`${C}\` does not exist in \`theme.colorSchemes\`.`):y(D=>{const k={...D};return t1(D,R=>{try{localStorage.setItem(`${l}-${R}`,C)}catch{}R==="light"&&(k.lightColorScheme=C),R==="dark"&&(k.darkColorScheme=C)}),k}):y(D=>{const k={...D},R=C.light===null?n:C.light,M=C.dark===null?r:C.dark;if(R)if(!p.includes(R))console.error(`\`${R}\` does not exist in \`theme.colorSchemes\`.`);else{k.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{k.darkColorScheme=M;try{localStorage.setItem(`${l}-dark`,M)}catch{}}return k}):y(D=>{try{localStorage.setItem(`${l}-light`,n),localStorage.setItem(`${l}-dark`,r)}catch{}return{...D,lightColorScheme:n,darkColorScheme:r}})},[p,l,n,r]),z=P.useCallback(C=>{m.mode==="system"&&y(D=>{const k=C!=null&&C.matches?"dark":"light";return D.systemMode===k?D:{...D,systemMode:k}})},[m.mode]),O=P.useRef(z);return O.current=z,P.useEffect(()=>{if(typeof window.matchMedia!="function"||!h)return;const C=(...k)=>O.current(...k),D=window.matchMedia("(prefers-color-scheme: dark)");return D.addListener(C),C(D),()=>{D.removeListener(C)}},[h]),P.useEffect(()=>{if(u&&h){const C=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))&&x(k||t)};return u.addEventListener("storage",C),()=>{u.removeEventListener("storage",C)}}},[S,x,a,l,p,t,u,h]),{...m,mode:H?m.mode:void 0,systemMode:H?m.systemMode:void 0,colorScheme:H?w:void 0,setMode:x,setColorScheme:S}}const zj="*{-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=gy,colorSchemeStorageKey:s=yy,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=P.createContext(void 0),h=()=>P.useContext(p)||f,m={},y={};function H(S){var Ae,je,st,wt;const{children:z,theme:O,modeStorageKey:C=r,colorSchemeStorageKey:D=s,disableTransitionOnChange:k=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:B=!1,defaultMode:I="system",noSsr:J}=S,K=P.useRef(!1),W=my(),ne=P.useContext(p),re=!!ne&&!j,F=P.useMemo(()=>O||(typeof n=="function"?n():n),[O]),_=F[t],E=_||F,{colorSchemes:G=m,components:X=y,cssVarPrefix:ee}=E,te=Object.keys(G).filter(nt=>!!G[nt]).join(","),ue=P.useMemo(()=>te.split(","),[te]),de=typeof l=="string"?l:l.light,xe=typeof l=="string"?l:l.dark,ve=G[de]&&G[xe]?I:((je=(Ae=G[E.defaultColorScheme])==null?void 0:Ae.palette)==null?void 0:je.mode)||((st=E.palette)==null?void 0:st.mode),{mode:be,setMode:Xe,systemMode:Ie,lightColorScheme:He,darkColorScheme:_e,colorScheme:we,setColorScheme:tt}=Sj({supportedColorSchemes:ue,defaultLightColorScheme:de,defaultDarkColorScheme:xe,modeStorageKey:C,colorSchemeStorageKey:D,defaultMode:ve,storageWindow:R,noSsr:J});let Le=be,dt=we;re&&(Le=ne.mode,dt=ne.colorScheme);const N=P.useMemo(()=>{var Ht;const nt=dt||E.defaultColorScheme,ft=((Ht=E.generateThemeVars)==null?void 0:Ht.call(E))||E.vars,ct={...E,components:X,colorSchemes:G,cssVarPrefix:ee,vars:ft};if(typeof ct.generateSpacing=="function"&&(ct.spacing=ct.generateSpacing()),nt){const We=G[nt];We&&typeof We=="object"&&Object.keys(We).forEach(Dt=>{We[Dt]&&typeof We[Dt]=="object"?ct[Dt]={...ct[Dt],...We[Dt]}:ct[Dt]=We[Dt]})}return u?u(ct):ct},[E,dt,X,G,ee]),$=E.colorSchemeSelector;P.useEffect(()=>{if(dt&&L&&$&&$!=="media"){const nt=$;let ft=$;if(nt==="class"&&(ft=".%s"),nt==="data"&&(ft="[data-%s]"),nt!=null&&nt.startsWith("data-")&&!nt.includes("%s")&&(ft=`[${nt}="%s"]`),ft.startsWith("."))L.classList.remove(...ue.map(ct=>ft.substring(1).replace("%s",ct))),L.classList.add(ft.substring(1).replace("%s",dt));else{const ct=ft.replace("%s",dt).match(/\[([^\]]+)\]/);if(ct){const[Ht,We]=ct[1].split("=");We||ue.forEach(Dt=>{L.removeAttribute(Ht.replace(dt,Dt))}),L.setAttribute(Ht,We?We.replace(/"|'/g,""):"")}else L.setAttribute(ft,dt)}}},[dt,$,L,ue]),P.useEffect(()=>{let nt;if(k&&K.current&&M){const ft=M.createElement("style");ft.appendChild(M.createTextNode(zj)),M.head.appendChild(ft),window.getComputedStyle(M.body),nt=setTimeout(()=>{M.head.removeChild(ft)},1)}return()=>{clearTimeout(nt)}},[dt,k,M]),P.useEffect(()=>(K.current=!0,()=>{K.current=!1}),[]);const se=P.useMemo(()=>({allColorSchemes:ue,colorScheme:dt,darkColorScheme:_e,lightColorScheme:He,mode:Le,setColorScheme:tt,setMode:Xe,systemMode:Ie}),[ue,dt,_e,He,Le,tt,Xe,Ie,N.colorSchemeSelector]);let ye=!0;(B||E.cssVariables===!1||re&&(W==null?void 0:W.cssVarPrefix)===ee)&&(ye=!1);const ce=v.jsxs(P.Fragment,{children:[v.jsx(e1,{themeId:_?t:void 0,theme:N,children:z}),ye&&v.jsx(D0,{styles:((wt=N.generateStyleSheets)==null?void 0:wt.call(N))||[]})]});return re?ce:v.jsx(p.Provider,{value:se,children:ce})}const A=typeof l=="string"?l:l.light,w=typeof l=="string"?l:l.dark;return{CssVarsProvider:H,useColorScheme:h,getInitColorSchemeScript:S=>Hj({colorSchemeStorageKey:s,defaultLightColorScheme:A,defaultDarkColorScheme:w,modeStorageKey:r,...S})}}function Cj(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 C8=(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])})},Dj=(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)},Tj=(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 wm(e,t){const{prefix:n,shouldSkipGeneratingVar:r}=t||{},s={},a={},l={};return Dj(e,(u,f,p)=>{if((typeof f=="string"||typeof f=="number")&&(!r||!r(u,f))){const h=`--${n?`${n}-`:""}${u.join("-")}`,m=Tj(u,f);Object.assign(s,{[h]:m}),C8(a,u,`var(${h})`,p),C8(l,u,`var(${h}, ${m})`,p)}},u=>u[0]==="vars"),{css:s,vars:a,varsWithDefaults:l}}function kj(e,t={}){const{getSelector:n=x,disableCssColorScheme:r,colorSchemeSelector:s}=t,{colorSchemes:a={},components:l,defaultColorScheme:u="light",...f}=e,{vars:p,css:h,varsWithDefaults:m}=wm(f,t);let y=m;const H={},{[u]:A,...w}=a;if(Object.entries(w||{}).forEach(([O,C])=>{const{vars:D,css:k,varsWithDefaults:R}=wm(C,t);y=qn(y,R),H[O]={css:k,vars:D}}),A){const{css:O,vars:C,varsWithDefaults:D}=wm(A,t);y=qn(y,D),H[u]={css:O,vars:C}}function x(O,C){var k,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"]`),O){if(D==="media")return e.defaultColorScheme===O?":root":{[`@media (prefers-color-scheme: ${((R=(k=a[O])==null?void 0:k.palette)==null?void 0:R.mode)||O})`]:{":root":C}};if(D)return e.defaultColorScheme===O?`:root, ${D.replace("%s",String(O))}`:D.replace("%s",String(O))}return":root"}return{vars:y,generateThemeVars:()=>{let O={...p};return Object.entries(H).forEach(([,{vars:C}])=>{O=qn(O,C)}),O},generateStyleSheets:()=>{var M,L;const O=[],C=e.defaultColorScheme||"light";function D(j,B){Object.keys(B).length&&O.push(typeof j=="string"?{[j]:{...B}}:j)}D(n(void 0,{...h}),h);const{[C]:k,...R}=H;if(k){const{css:j}=k,B=(L=(M=a[C])==null?void 0:M.palette)==null?void 0:L.mode,I=!r&&B?{colorScheme:B,...j}:{...j};D(n(C,{...I}),I)}return Object.entries(R).forEach(([j,{css:B}])=>{var K,W;const I=(W=(K=a[j])==null?void 0:K.palette)==null?void 0:W.mode,J=!r&&I?{colorScheme:I,...B}:{...B};D(n(j,{...J}),J)}),O}}}function Rj(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 Ej=Ip(),Mj=_H("div",{name:"MuiStack",slot:"Root",overridesResolver:(e,t)=>t.root});function Lj(e){return $H({props:e,name:"MuiStack",defaultTheme:Ej})}function Xj(e,t){const n=P.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],Bj=({ownerState:e,theme:t})=>{let n={display:"flex",flexDirection:"column",...Rr({theme:t},sa({values:e.direction,breakpoints:t.breakpoints.values}),r=>({flexDirection:r}))};if(e.spacing){const r=Mp(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 y=p>0?a[h[p-1]]:"column";a[f]=y}}),n=qn(n,Rr({theme:t},l,(f,p)=>e.useFlexGap?{gap:la(r,f)}:{"& > :not(style):not(style)":{margin:0},"& > :not(style) ~ :not(style)":{[`margin${Nj(p?a[p]:e.direction)}`]:la(r,f)}}))}return n=Q7(t.breakpoints,n),n};function Vj(e={}){const{createStyledComponent:t=Mj,useThemeProps:n=Lj,componentName:r="MuiStack"}=e,s=()=>Ke({root:["root"]},f=>Ge(r,f),{}),a=t(Bj);return P.forwardRef(function(f,p){const h=n(f),m=Jp(h),{component:y="div",direction:H="column",spacing:A=0,divider:w,children:x,className:S,useFlexGap:z=!1,...O}=m,C={direction:H,spacing:A,useFlexGap:z},D=s();return v.jsx(a,{as:y,ownerState:C,ref:p,className:Oe(D.root,S),...O,children:w?Xj(x,w):x})})}function n1(){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:Pu.white,default:Pu.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 Ij=n1();function r1(){return{text:{primary:Pu.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:Pu.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 D8=r1();function T8(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 Wj(e="light"){return e==="dark"?{main:qa[200],light:qa[50],dark:qa[400]}:{main:qa[700],light:qa[400],dark:qa[800]}}function Jj(e="light"){return e==="dark"?{main:Ya[200],light:Ya[50],dark:Ya[400]}:{main:Ya[500],light:Ya[300],dark:Ya[700]}}function Fj(e="light"){return e==="dark"?{main:Fa[500],light:Fa[300],dark:Fa[700]}:{main:Fa[700],light:Fa[400],dark:Fa[800]}}function Yj(e="light"){return e==="dark"?{main:Za[400],light:Za[300],dark:Za[700]}:{main:Za[700],light:Za[500],dark:Za[900]}}function qj(e="light"){return e==="dark"?{main:Ga[400],light:Ga[300],dark:Ga[700]}:{main:Ga[800],light:Ga[500],dark:Ga[900]}}function Zj(e="light"){return e==="dark"?{main:Tc[400],light:Tc[300],dark:Tc[700]}:{main:"#ed6c02",light:Tc[500],dark:Tc[900]}}function Ay(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:r=.2,...s}=e,a=e.primary||Wj(t),l=e.secondary||Jj(t),u=e.error||Fj(t),f=e.info||Yj(t),p=e.success||qj(t),h=e.warning||Zj(t);function m(w){return aj(w,D8.text.primary)>=n?D8.text.primary:Ij.text.primary}const y=({color:w,name:x,mainShade:S=500,lightShade:z=300,darkShade:O=700})=>{if(w={...w},!w.main&&w[S]&&(w.main=w[S]),!w.hasOwnProperty("main"))throw new Error(ks(11,x?` (${x})`:"",S));if(typeof w.main!="string")throw new Error(ks(12,x?` (${x})`:"",JSON.stringify(w.main)));return T8(w,"light",z,r),T8(w,"dark",O,r),w.contrastText||(w.contrastText=m(w.main)),w};let H;return t==="light"?H=n1():t==="dark"&&(H=r1()),qn({common:{...Pu},mode:t,primary:y({color:a,name:"primary"}),secondary:y({color:l,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:y({color:u,name:"error"}),warning:y({color:h,name:"warning"}),info:y({color:f,name:"info"}),success:y({color:p,name:"success"}),grey:V3,contrastThreshold:n,getContrastText:m,augmentColor:y,tonalOffset:r,...H},s)}function Gj(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 Uj(e,t){return{toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}},...t}}function Qj(e){return Math.round(e*1e5)/1e5}const k8={textTransform:"uppercase"},R8='"Roboto", "Helvetica", "Arial", sans-serif';function o1(e,t){const{fontFamily:n=R8,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,y=r/14,H=h||(x=>`${x/f*y}rem`),A=(x,S,z,O,C)=>({fontFamily:n,fontWeight:x,fontSize:H(S),lineHeight:z,...n===R8?{letterSpacing:`${Qj(O/S)}em`}:{},...C,...p}),w={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,k8),caption:A(a,12,1.66,.4),overline:A(a,12,2.66,1,k8),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return qn({htmlFontSize:f,pxToRem:H,fontFamily:n,fontSize:r,fontWeightLight:s,fontWeightRegular:a,fontWeightMedium:l,fontWeightBold:u,...w},m,{clone:!1})}const Kj=.2,_j=.14,$j=.12;function dn(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${Kj})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${_j})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${$j})`].join(",")}const eS=["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)],tS={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)"},nS={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function E8(e){return`${Math.round(e)}ms`}function rS(e){if(!e)return 0;const t=e/36;return Math.min(Math.round((4+15*t**.25+t/5)*10),3e3)}function oS(e){const t={...tS,...e.easing},n={...nS,...e.duration};return{getAutoHeightDuration:rS,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:E8(l)} ${u} ${typeof f=="string"?f:E8(f)}`).join(",")},...e,easing:t,duration:n}}const sS={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function iS(e){return $o(e)||typeof e>"u"||typeof e=="string"||typeof e=="boolean"||typeof e=="number"||Array.isArray(e)}function s1(e={}){const t={...e};function n(r){const s=Object.entries(r);for(let a=0;aqn(H,A),y),y.unstable_sxConfig={...Wu,...p==null?void 0:p.unstable_sxConfig},y.unstable_sx=function(A){return Ai({sx:A,theme:this})},y.toRuntimeSource=s1,y}function lg(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 aS=[...Array(25)].map((e,t)=>{if(t===0)return"none";const n=lg(t);return`linear-gradient(rgba(255 255 255 / ${n}), rgba(255 255 255 / ${n}))`});function i1(e){return{inputPlaceholder:e==="dark"?.5:.42,inputUnderline:e==="dark"?.7:.42,switchTrackDisabled:e==="dark"?.2:.12,switchTrack:e==="dark"?.3:.38}}function a1(e){return e==="dark"?aS:[]}function lS(e){const{palette:t={mode:"light"},opacity:n,overlays:r,...s}=e,a=Ay(t);return{palette:a,opacity:{...i1(a.mode),...n},overlays:r||a1(a.mode),...s}}function cS(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 uS=e=>[...[...Array(25)].map((t,n)=>`--${e?`${e}-`:""}overlays-${n}`),`--${e?`${e}-`:""}palette-AppBar-darkBg`,`--${e?`${e}-`:""}palette-AppBar-darkColor`],fS=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 uS(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 dS(e,t){t.forEach(n=>{e[n]||(e[n]={})})}function ge(e,t,n){!e[t]&&n&&(e[t]=n)}function _c(e){return typeof e!="string"||!e.startsWith("hsl")?e:F0(e)}function bs(e,t){`${t}Channel`in e||(e[`${t}Channel`]=Kc(_c(e[t]),`MUI: Can't create \`palette.${t}Channel\` because \`palette.${t}\` is not one of these formats: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color(). -To suppress this warning, you need to explicitly provide the \`palette.${t}Channel\` as a string (in rgb format, for example "12 12 12") or undefined if you want to remove the channel token.`))}function pS(e){return typeof e=="number"?`${e}px`:typeof e=="string"||typeof e=="function"||Array.isArray(e)?e:"8px"}const Yo=e=>{try{return e()}catch{}},vS=(e="mui")=>Cj(e);function Hm(e,t,n,r){if(!t)return;t=t===!0?{}:t;const s=r==="dark"?"dark":"light";if(!n){e[r]=lS({...t,palette:{mode:s,...t==null?void 0:t.palette}});return}const{palette:a,...l}=ag({...n,palette:{mode:s,...t==null?void 0:t.palette}});return e[r]={...t,palette:a,opacity:{...i1(s),...t==null?void 0:t.opacity},overlays:(t==null?void 0:t.overlays)||a1(s)},l}function hS(e={},...t){const{colorSchemes:n={light:!0},defaultColorScheme:r,disableCssColorScheme:s=!1,cssVarPrefix:a="mui",shouldSkipGeneratingVar:l=cS,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),y=vS(a),{[m]:H,light:A,dark:w,...x}=n,S={...x};let z=H;if((m==="dark"&&!("dark"in n)||m==="light"&&!("light"in n))&&(z=!0),!z)throw new Error(ks(21,m));const O=Hm(S,z,p,m);A&&!S.light&&Hm(S,A,void 0,"light"),w&&!S.dark&&Hm(S,w,void 0,"dark");let C={defaultColorScheme:m,...O,cssVarPrefix:a,colorSchemeSelector:u,rootSelector:f,getCssVar:y,colorSchemes:S,font:{...Gj(O.typography),...O.font},spacing:pS(p.spacing)};Object.keys(C.colorSchemes).forEach(L=>{const j=C.colorSchemes[L].palette,B=I=>{const J=I.split("-"),K=J[1],W=J[2];return y(I,j[K][W])};if(j.mode==="light"&&(ge(j.common,"background","#fff"),ge(j.common,"onBackground","#000")),j.mode==="dark"&&(ge(j.common,"background","#000"),ge(j.common,"onBackground","#fff")),dS(j,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"]),j.mode==="light"){ge(j.Alert,"errorColor",Kt(j.error.light,.6)),ge(j.Alert,"infoColor",Kt(j.info.light,.6)),ge(j.Alert,"successColor",Kt(j.success.light,.6)),ge(j.Alert,"warningColor",Kt(j.warning.light,.6)),ge(j.Alert,"errorFilledBg",B("palette-error-main")),ge(j.Alert,"infoFilledBg",B("palette-info-main")),ge(j.Alert,"successFilledBg",B("palette-success-main")),ge(j.Alert,"warningFilledBg",B("palette-warning-main")),ge(j.Alert,"errorFilledColor",Yo(()=>j.getContrastText(j.error.main))),ge(j.Alert,"infoFilledColor",Yo(()=>j.getContrastText(j.info.main))),ge(j.Alert,"successFilledColor",Yo(()=>j.getContrastText(j.success.main))),ge(j.Alert,"warningFilledColor",Yo(()=>j.getContrastText(j.warning.main))),ge(j.Alert,"errorStandardBg",_t(j.error.light,.9)),ge(j.Alert,"infoStandardBg",_t(j.info.light,.9)),ge(j.Alert,"successStandardBg",_t(j.success.light,.9)),ge(j.Alert,"warningStandardBg",_t(j.warning.light,.9)),ge(j.Alert,"errorIconColor",B("palette-error-main")),ge(j.Alert,"infoIconColor",B("palette-info-main")),ge(j.Alert,"successIconColor",B("palette-success-main")),ge(j.Alert,"warningIconColor",B("palette-warning-main")),ge(j.AppBar,"defaultBg",B("palette-grey-100")),ge(j.Avatar,"defaultBg",B("palette-grey-400")),ge(j.Button,"inheritContainedBg",B("palette-grey-300")),ge(j.Button,"inheritContainedHoverBg",B("palette-grey-A100")),ge(j.Chip,"defaultBorder",B("palette-grey-400")),ge(j.Chip,"defaultAvatarColor",B("palette-grey-700")),ge(j.Chip,"defaultIconColor",B("palette-grey-700")),ge(j.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),ge(j.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),ge(j.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),ge(j.LinearProgress,"primaryBg",_t(j.primary.main,.62)),ge(j.LinearProgress,"secondaryBg",_t(j.secondary.main,.62)),ge(j.LinearProgress,"errorBg",_t(j.error.main,.62)),ge(j.LinearProgress,"infoBg",_t(j.info.main,.62)),ge(j.LinearProgress,"successBg",_t(j.success.main,.62)),ge(j.LinearProgress,"warningBg",_t(j.warning.main,.62)),ge(j.Skeleton,"bg",`rgba(${B("palette-text-primaryChannel")} / 0.11)`),ge(j.Slider,"primaryTrack",_t(j.primary.main,.62)),ge(j.Slider,"secondaryTrack",_t(j.secondary.main,.62)),ge(j.Slider,"errorTrack",_t(j.error.main,.62)),ge(j.Slider,"infoTrack",_t(j.info.main,.62)),ge(j.Slider,"successTrack",_t(j.success.main,.62)),ge(j.Slider,"warningTrack",_t(j.warning.main,.62));const I=md(j.background.default,.8);ge(j.SnackbarContent,"bg",I),ge(j.SnackbarContent,"color",Yo(()=>j.getContrastText(I))),ge(j.SpeedDialAction,"fabHoverBg",md(j.background.paper,.15)),ge(j.StepConnector,"border",B("palette-grey-400")),ge(j.StepContent,"border",B("palette-grey-400")),ge(j.Switch,"defaultColor",B("palette-common-white")),ge(j.Switch,"defaultDisabledColor",B("palette-grey-100")),ge(j.Switch,"primaryDisabledColor",_t(j.primary.main,.62)),ge(j.Switch,"secondaryDisabledColor",_t(j.secondary.main,.62)),ge(j.Switch,"errorDisabledColor",_t(j.error.main,.62)),ge(j.Switch,"infoDisabledColor",_t(j.info.main,.62)),ge(j.Switch,"successDisabledColor",_t(j.success.main,.62)),ge(j.Switch,"warningDisabledColor",_t(j.warning.main,.62)),ge(j.TableCell,"border",_t(hd(j.divider,1),.88)),ge(j.Tooltip,"bg",hd(j.grey[700],.92))}if(j.mode==="dark"){ge(j.Alert,"errorColor",_t(j.error.light,.6)),ge(j.Alert,"infoColor",_t(j.info.light,.6)),ge(j.Alert,"successColor",_t(j.success.light,.6)),ge(j.Alert,"warningColor",_t(j.warning.light,.6)),ge(j.Alert,"errorFilledBg",B("palette-error-dark")),ge(j.Alert,"infoFilledBg",B("palette-info-dark")),ge(j.Alert,"successFilledBg",B("palette-success-dark")),ge(j.Alert,"warningFilledBg",B("palette-warning-dark")),ge(j.Alert,"errorFilledColor",Yo(()=>j.getContrastText(j.error.dark))),ge(j.Alert,"infoFilledColor",Yo(()=>j.getContrastText(j.info.dark))),ge(j.Alert,"successFilledColor",Yo(()=>j.getContrastText(j.success.dark))),ge(j.Alert,"warningFilledColor",Yo(()=>j.getContrastText(j.warning.dark))),ge(j.Alert,"errorStandardBg",Kt(j.error.light,.9)),ge(j.Alert,"infoStandardBg",Kt(j.info.light,.9)),ge(j.Alert,"successStandardBg",Kt(j.success.light,.9)),ge(j.Alert,"warningStandardBg",Kt(j.warning.light,.9)),ge(j.Alert,"errorIconColor",B("palette-error-main")),ge(j.Alert,"infoIconColor",B("palette-info-main")),ge(j.Alert,"successIconColor",B("palette-success-main")),ge(j.Alert,"warningIconColor",B("palette-warning-main")),ge(j.AppBar,"defaultBg",B("palette-grey-900")),ge(j.AppBar,"darkBg",B("palette-background-paper")),ge(j.AppBar,"darkColor",B("palette-text-primary")),ge(j.Avatar,"defaultBg",B("palette-grey-600")),ge(j.Button,"inheritContainedBg",B("palette-grey-800")),ge(j.Button,"inheritContainedHoverBg",B("palette-grey-700")),ge(j.Chip,"defaultBorder",B("palette-grey-700")),ge(j.Chip,"defaultAvatarColor",B("palette-grey-300")),ge(j.Chip,"defaultIconColor",B("palette-grey-300")),ge(j.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),ge(j.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),ge(j.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),ge(j.LinearProgress,"primaryBg",Kt(j.primary.main,.5)),ge(j.LinearProgress,"secondaryBg",Kt(j.secondary.main,.5)),ge(j.LinearProgress,"errorBg",Kt(j.error.main,.5)),ge(j.LinearProgress,"infoBg",Kt(j.info.main,.5)),ge(j.LinearProgress,"successBg",Kt(j.success.main,.5)),ge(j.LinearProgress,"warningBg",Kt(j.warning.main,.5)),ge(j.Skeleton,"bg",`rgba(${B("palette-text-primaryChannel")} / 0.13)`),ge(j.Slider,"primaryTrack",Kt(j.primary.main,.5)),ge(j.Slider,"secondaryTrack",Kt(j.secondary.main,.5)),ge(j.Slider,"errorTrack",Kt(j.error.main,.5)),ge(j.Slider,"infoTrack",Kt(j.info.main,.5)),ge(j.Slider,"successTrack",Kt(j.success.main,.5)),ge(j.Slider,"warningTrack",Kt(j.warning.main,.5));const I=md(j.background.default,.98);ge(j.SnackbarContent,"bg",I),ge(j.SnackbarContent,"color",Yo(()=>j.getContrastText(I))),ge(j.SpeedDialAction,"fabHoverBg",md(j.background.paper,.15)),ge(j.StepConnector,"border",B("palette-grey-600")),ge(j.StepContent,"border",B("palette-grey-600")),ge(j.Switch,"defaultColor",B("palette-grey-300")),ge(j.Switch,"defaultDisabledColor",B("palette-grey-600")),ge(j.Switch,"primaryDisabledColor",Kt(j.primary.main,.55)),ge(j.Switch,"secondaryDisabledColor",Kt(j.secondary.main,.55)),ge(j.Switch,"errorDisabledColor",Kt(j.error.main,.55)),ge(j.Switch,"infoDisabledColor",Kt(j.info.main,.55)),ge(j.Switch,"successDisabledColor",Kt(j.success.main,.55)),ge(j.Switch,"warningDisabledColor",Kt(j.warning.main,.55)),ge(j.TableCell,"border",Kt(hd(j.divider,1),.68)),ge(j.Tooltip,"bg",hd(j.grey[700],.92))}bs(j.background,"default"),bs(j.background,"paper"),bs(j.common,"background"),bs(j.common,"onBackground"),bs(j,"divider"),Object.keys(j).forEach(I=>{const J=j[I];I!=="tonalOffset"&&J&&typeof J=="object"&&(J.main&&ge(j[I],"mainChannel",Kc(_c(J.main))),J.light&&ge(j[I],"lightChannel",Kc(_c(J.light))),J.dark&&ge(j[I],"darkChannel",Kc(_c(J.dark))),J.contrastText&&ge(j[I],"contrastTextChannel",Kc(_c(J.contrastText))),I==="text"&&(bs(j[I],"primary"),bs(j[I],"secondary")),I==="action"&&(J.active&&bs(j[I],"active"),J.selected&&bs(j[I],"selected")))})}),C=t.reduce((L,j)=>qn(L,j),C);const D={prefix:a,disableCssColorScheme:s,shouldSkipGeneratingVar:l,getSelector:fS(C)},{vars:k,generateThemeVars:R,generateStyleSheets:M}=kj(C,D);return C.vars=k,Object.entries(C.colorSchemes[C.defaultColorScheme]).forEach(([L,j])=>{C[L]=j}),C.generateThemeVars=R,C.generateStyleSheets=M,C.generateSpacing=function(){return L0(p.spacing,Mp(this))},C.getColorSchemeSelector=Rj(u),C.spacing=C.generateSpacing(),C.shouldSkipGeneratingVar=l,C.unstable_sxConfig={...Wu,...p==null?void 0:p.unstable_sxConfig},C.unstable_sx=function(j){return Ai({sx:j,theme:this})},C.toRuntimeSource=s1,C}function M8(e,t,n){e.colorSchemes&&n&&(e.colorSchemes[t]={...n!==!0&&n,palette:Ay({...n===!0?{}:n.palette,mode:t})})}function Fu(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 ag(e,...t);let h=n;"palette"in e||p[u]&&(p[u]!==!0?h=p[u].palette:u==="dark"&&(h={mode:"dark"}));const m=ag({...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},M8(m,"dark",p.dark)),m.palette.mode==="dark"&&(m.colorSchemes.dark={...p.dark!==!0&&p.dark,palette:m.palette},M8(m,"light",p.light)),m}return!n&&!("light"in p)&&u==="light"&&(p.light=!0),hS({...l,colorSchemes:p,defaultColorScheme:u,...typeof r!="boolean"&&r},...t)}const Py=Fu();function Qr(){const e=Wp(Py);return e[Ro]||e}function l1(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const Zn=e=>l1(e)&&e!=="classes",pe=I0({themeId:Ro,defaultTheme:Py,rootShouldForwardProp:Zn});function L8({theme:e,...t}){const n=Ro in e?e[Ro]:void 0;return v.jsx(e1,{...t,themeId:n?Ro:void 0,theme:n||e})}const gd={attribute:"data-mui-color-scheme",colorSchemeStorageKey:"mui-color-scheme",defaultLightColorScheme:"light",defaultDarkColorScheme:"dark",modeStorageKey:"mui-mode"},{CssVarsProvider:mS,useColorScheme:dq,getInitColorSchemeScript:pq}=Oj({themeId:Ro,theme:()=>Fu({cssVariables:!0}),colorSchemeStorageKey:gd.colorSchemeStorageKey,modeStorageKey:gd.modeStorageKey,defaultColorScheme:{light:gd.defaultLightColorScheme,dark:gd.defaultDarkColorScheme},resolveTheme:e=>{const t={...e,typography:o1(e.palette,e.typography)};return t.unstable_sx=function(r){return Ai({sx:r,theme:this})},t}}),gS=mS;function yS({theme:e,...t}){return typeof e=="function"?v.jsx(L8,{theme:e,...t}):"colorSchemes"in(Ro in e?e[Ro]:e)?v.jsx(gS,{theme:e,...t}):v.jsx(L8,{theme:e,...t})}function AS(e){return v.jsx(VH,{...e,defaultTheme:Py,themeId:Ro})}function by(e){return function(n){return v.jsx(AS,{styles:typeof e=="function"?r=>e({theme:r,...n}):e})}}function PS(){return Jp}const Ue=xj;function $e(e){return bj(e)}function bS(e){return Ze("MuiSvgIcon",e)}Ge("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const xS=e=>{const{color:t,fontSize:n,classes:r}=e,s={root:["root",t!=="inherit"&&`color${me(t)}`,`fontSize${me(n)}`]};return Qe(s,bS,r)},wS=pe("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)}`]]}})(Ue(({theme:e})=>{var t,n,r,s,a,l,u,f,p,h,m,y,H,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:w=>!w.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(([,w])=>w&&w.main).map(([w])=>{var x,S;return{props:{color:w},style:{color:(S=(x=(e.vars??e).palette)==null?void 0:x[w])==null?void 0:S.main}}}),{props:{color:"action"},style:{color:(y=(m=(e.vars??e).palette)==null?void 0:m.action)==null?void 0:y.active}},{props:{color:"disabled"},style:{color:(A=(H=(e.vars??e).palette)==null?void 0:H.action)==null?void 0:A.disabled}},{props:{color:"inherit"},style:{color:void 0}}]}})),Hu=P.forwardRef(function(t,n){const r=$e({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:y="0 0 24 24",...H}=r,A=P.isValidElement(s)&&s.type==="svg",w={...r,color:l,component:u,fontSize:f,instanceFontSize:t.fontSize,inheritViewBox:h,viewBox:y,hasSvgAsChild:A},x={};h||(x.viewBox=y);const S=xS(w);return v.jsxs(wS,{as:u,className:Oe(S.root,a),focusable:"false",color:p,"aria-hidden":m?void 0:!0,role:m?"img":void 0,ref:n,...x,...H,...A&&s.props,ownerState:w,children:[A?s.props.children:s,m?v.jsx("title",{children:m}):null]})});Hu&&(Hu.muiName="SvgIcon");function At(e,t){function n(r,s){return v.jsx(Hu,{"data-testid":`${t}Icon`,ref:s,...r,children:e})}return n.muiName=Hu.muiName,P.memo(P.forwardRef(n))}var jm={exports:{}},Zt={};/** +To suppress this warning, you need to explicitly provide the \`palette.${t}Channel\` as a string (in rgb format, for example "12 12 12") or undefined if you want to remove the channel token.`))}function pS(e){return typeof e=="number"?`${e}px`:typeof e=="string"||typeof e=="function"||Array.isArray(e)?e:"8px"}const Yo=e=>{try{return e()}catch{}},vS=(e="mui")=>Cj(e);function Hm(e,t,n,r){if(!t)return;t=t===!0?{}:t;const s=r==="dark"?"dark":"light";if(!n){e[r]=lS({...t,palette:{mode:s,...t==null?void 0:t.palette}});return}const{palette:a,...l}=ag({...n,palette:{mode:s,...t==null?void 0:t.palette}});return e[r]={...t,palette:a,opacity:{...i1(s),...t==null?void 0:t.opacity},overlays:(t==null?void 0:t.overlays)||a1(s)},l}function hS(e={},...t){const{colorSchemes:n={light:!0},defaultColorScheme:r,disableCssColorScheme:s=!1,cssVarPrefix:a="mui",shouldSkipGeneratingVar:l=cS,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),y=vS(a),{[m]:H,light:A,dark:w,...x}=n,S={...x};let z=H;if((m==="dark"&&!("dark"in n)||m==="light"&&!("light"in n))&&(z=!0),!z)throw new Error(ks(21,m));const O=Hm(S,z,p,m);A&&!S.light&&Hm(S,A,void 0,"light"),w&&!S.dark&&Hm(S,w,void 0,"dark");let C={defaultColorScheme:m,...O,cssVarPrefix:a,colorSchemeSelector:u,rootSelector:f,getCssVar:y,colorSchemes:S,font:{...Gj(O.typography),...O.font},spacing:pS(p.spacing)};Object.keys(C.colorSchemes).forEach(L=>{const j=C.colorSchemes[L].palette,B=I=>{const J=I.split("-"),K=J[1],W=J[2];return y(I,j[K][W])};if(j.mode==="light"&&(ge(j.common,"background","#fff"),ge(j.common,"onBackground","#000")),j.mode==="dark"&&(ge(j.common,"background","#000"),ge(j.common,"onBackground","#fff")),dS(j,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"]),j.mode==="light"){ge(j.Alert,"errorColor",Kt(j.error.light,.6)),ge(j.Alert,"infoColor",Kt(j.info.light,.6)),ge(j.Alert,"successColor",Kt(j.success.light,.6)),ge(j.Alert,"warningColor",Kt(j.warning.light,.6)),ge(j.Alert,"errorFilledBg",B("palette-error-main")),ge(j.Alert,"infoFilledBg",B("palette-info-main")),ge(j.Alert,"successFilledBg",B("palette-success-main")),ge(j.Alert,"warningFilledBg",B("palette-warning-main")),ge(j.Alert,"errorFilledColor",Yo(()=>j.getContrastText(j.error.main))),ge(j.Alert,"infoFilledColor",Yo(()=>j.getContrastText(j.info.main))),ge(j.Alert,"successFilledColor",Yo(()=>j.getContrastText(j.success.main))),ge(j.Alert,"warningFilledColor",Yo(()=>j.getContrastText(j.warning.main))),ge(j.Alert,"errorStandardBg",_t(j.error.light,.9)),ge(j.Alert,"infoStandardBg",_t(j.info.light,.9)),ge(j.Alert,"successStandardBg",_t(j.success.light,.9)),ge(j.Alert,"warningStandardBg",_t(j.warning.light,.9)),ge(j.Alert,"errorIconColor",B("palette-error-main")),ge(j.Alert,"infoIconColor",B("palette-info-main")),ge(j.Alert,"successIconColor",B("palette-success-main")),ge(j.Alert,"warningIconColor",B("palette-warning-main")),ge(j.AppBar,"defaultBg",B("palette-grey-100")),ge(j.Avatar,"defaultBg",B("palette-grey-400")),ge(j.Button,"inheritContainedBg",B("palette-grey-300")),ge(j.Button,"inheritContainedHoverBg",B("palette-grey-A100")),ge(j.Chip,"defaultBorder",B("palette-grey-400")),ge(j.Chip,"defaultAvatarColor",B("palette-grey-700")),ge(j.Chip,"defaultIconColor",B("palette-grey-700")),ge(j.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),ge(j.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),ge(j.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),ge(j.LinearProgress,"primaryBg",_t(j.primary.main,.62)),ge(j.LinearProgress,"secondaryBg",_t(j.secondary.main,.62)),ge(j.LinearProgress,"errorBg",_t(j.error.main,.62)),ge(j.LinearProgress,"infoBg",_t(j.info.main,.62)),ge(j.LinearProgress,"successBg",_t(j.success.main,.62)),ge(j.LinearProgress,"warningBg",_t(j.warning.main,.62)),ge(j.Skeleton,"bg",`rgba(${B("palette-text-primaryChannel")} / 0.11)`),ge(j.Slider,"primaryTrack",_t(j.primary.main,.62)),ge(j.Slider,"secondaryTrack",_t(j.secondary.main,.62)),ge(j.Slider,"errorTrack",_t(j.error.main,.62)),ge(j.Slider,"infoTrack",_t(j.info.main,.62)),ge(j.Slider,"successTrack",_t(j.success.main,.62)),ge(j.Slider,"warningTrack",_t(j.warning.main,.62));const I=md(j.background.default,.8);ge(j.SnackbarContent,"bg",I),ge(j.SnackbarContent,"color",Yo(()=>j.getContrastText(I))),ge(j.SpeedDialAction,"fabHoverBg",md(j.background.paper,.15)),ge(j.StepConnector,"border",B("palette-grey-400")),ge(j.StepContent,"border",B("palette-grey-400")),ge(j.Switch,"defaultColor",B("palette-common-white")),ge(j.Switch,"defaultDisabledColor",B("palette-grey-100")),ge(j.Switch,"primaryDisabledColor",_t(j.primary.main,.62)),ge(j.Switch,"secondaryDisabledColor",_t(j.secondary.main,.62)),ge(j.Switch,"errorDisabledColor",_t(j.error.main,.62)),ge(j.Switch,"infoDisabledColor",_t(j.info.main,.62)),ge(j.Switch,"successDisabledColor",_t(j.success.main,.62)),ge(j.Switch,"warningDisabledColor",_t(j.warning.main,.62)),ge(j.TableCell,"border",_t(hd(j.divider,1),.88)),ge(j.Tooltip,"bg",hd(j.grey[700],.92))}if(j.mode==="dark"){ge(j.Alert,"errorColor",_t(j.error.light,.6)),ge(j.Alert,"infoColor",_t(j.info.light,.6)),ge(j.Alert,"successColor",_t(j.success.light,.6)),ge(j.Alert,"warningColor",_t(j.warning.light,.6)),ge(j.Alert,"errorFilledBg",B("palette-error-dark")),ge(j.Alert,"infoFilledBg",B("palette-info-dark")),ge(j.Alert,"successFilledBg",B("palette-success-dark")),ge(j.Alert,"warningFilledBg",B("palette-warning-dark")),ge(j.Alert,"errorFilledColor",Yo(()=>j.getContrastText(j.error.dark))),ge(j.Alert,"infoFilledColor",Yo(()=>j.getContrastText(j.info.dark))),ge(j.Alert,"successFilledColor",Yo(()=>j.getContrastText(j.success.dark))),ge(j.Alert,"warningFilledColor",Yo(()=>j.getContrastText(j.warning.dark))),ge(j.Alert,"errorStandardBg",Kt(j.error.light,.9)),ge(j.Alert,"infoStandardBg",Kt(j.info.light,.9)),ge(j.Alert,"successStandardBg",Kt(j.success.light,.9)),ge(j.Alert,"warningStandardBg",Kt(j.warning.light,.9)),ge(j.Alert,"errorIconColor",B("palette-error-main")),ge(j.Alert,"infoIconColor",B("palette-info-main")),ge(j.Alert,"successIconColor",B("palette-success-main")),ge(j.Alert,"warningIconColor",B("palette-warning-main")),ge(j.AppBar,"defaultBg",B("palette-grey-900")),ge(j.AppBar,"darkBg",B("palette-background-paper")),ge(j.AppBar,"darkColor",B("palette-text-primary")),ge(j.Avatar,"defaultBg",B("palette-grey-600")),ge(j.Button,"inheritContainedBg",B("palette-grey-800")),ge(j.Button,"inheritContainedHoverBg",B("palette-grey-700")),ge(j.Chip,"defaultBorder",B("palette-grey-700")),ge(j.Chip,"defaultAvatarColor",B("palette-grey-300")),ge(j.Chip,"defaultIconColor",B("palette-grey-300")),ge(j.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),ge(j.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),ge(j.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),ge(j.LinearProgress,"primaryBg",Kt(j.primary.main,.5)),ge(j.LinearProgress,"secondaryBg",Kt(j.secondary.main,.5)),ge(j.LinearProgress,"errorBg",Kt(j.error.main,.5)),ge(j.LinearProgress,"infoBg",Kt(j.info.main,.5)),ge(j.LinearProgress,"successBg",Kt(j.success.main,.5)),ge(j.LinearProgress,"warningBg",Kt(j.warning.main,.5)),ge(j.Skeleton,"bg",`rgba(${B("palette-text-primaryChannel")} / 0.13)`),ge(j.Slider,"primaryTrack",Kt(j.primary.main,.5)),ge(j.Slider,"secondaryTrack",Kt(j.secondary.main,.5)),ge(j.Slider,"errorTrack",Kt(j.error.main,.5)),ge(j.Slider,"infoTrack",Kt(j.info.main,.5)),ge(j.Slider,"successTrack",Kt(j.success.main,.5)),ge(j.Slider,"warningTrack",Kt(j.warning.main,.5));const I=md(j.background.default,.98);ge(j.SnackbarContent,"bg",I),ge(j.SnackbarContent,"color",Yo(()=>j.getContrastText(I))),ge(j.SpeedDialAction,"fabHoverBg",md(j.background.paper,.15)),ge(j.StepConnector,"border",B("palette-grey-600")),ge(j.StepContent,"border",B("palette-grey-600")),ge(j.Switch,"defaultColor",B("palette-grey-300")),ge(j.Switch,"defaultDisabledColor",B("palette-grey-600")),ge(j.Switch,"primaryDisabledColor",Kt(j.primary.main,.55)),ge(j.Switch,"secondaryDisabledColor",Kt(j.secondary.main,.55)),ge(j.Switch,"errorDisabledColor",Kt(j.error.main,.55)),ge(j.Switch,"infoDisabledColor",Kt(j.info.main,.55)),ge(j.Switch,"successDisabledColor",Kt(j.success.main,.55)),ge(j.Switch,"warningDisabledColor",Kt(j.warning.main,.55)),ge(j.TableCell,"border",Kt(hd(j.divider,1),.68)),ge(j.Tooltip,"bg",hd(j.grey[700],.92))}bs(j.background,"default"),bs(j.background,"paper"),bs(j.common,"background"),bs(j.common,"onBackground"),bs(j,"divider"),Object.keys(j).forEach(I=>{const J=j[I];I!=="tonalOffset"&&J&&typeof J=="object"&&(J.main&&ge(j[I],"mainChannel",Kc(_c(J.main))),J.light&&ge(j[I],"lightChannel",Kc(_c(J.light))),J.dark&&ge(j[I],"darkChannel",Kc(_c(J.dark))),J.contrastText&&ge(j[I],"contrastTextChannel",Kc(_c(J.contrastText))),I==="text"&&(bs(j[I],"primary"),bs(j[I],"secondary")),I==="action"&&(J.active&&bs(j[I],"active"),J.selected&&bs(j[I],"selected")))})}),C=t.reduce((L,j)=>qn(L,j),C);const D={prefix:a,disableCssColorScheme:s,shouldSkipGeneratingVar:l,getSelector:fS(C)},{vars:k,generateThemeVars:R,generateStyleSheets:M}=kj(C,D);return C.vars=k,Object.entries(C.colorSchemes[C.defaultColorScheme]).forEach(([L,j])=>{C[L]=j}),C.generateThemeVars=R,C.generateStyleSheets=M,C.generateSpacing=function(){return L0(p.spacing,Mp(this))},C.getColorSchemeSelector=Rj(u),C.spacing=C.generateSpacing(),C.shouldSkipGeneratingVar=l,C.unstable_sxConfig={...Wu,...p==null?void 0:p.unstable_sxConfig},C.unstable_sx=function(j){return Ai({sx:j,theme:this})},C.toRuntimeSource=s1,C}function M8(e,t,n){e.colorSchemes&&n&&(e.colorSchemes[t]={...n!==!0&&n,palette:Ay({...n===!0?{}:n.palette,mode:t})})}function Fu(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 ag(e,...t);let h=n;"palette"in e||p[u]&&(p[u]!==!0?h=p[u].palette:u==="dark"&&(h={mode:"dark"}));const m=ag({...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},M8(m,"dark",p.dark)),m.palette.mode==="dark"&&(m.colorSchemes.dark={...p.dark!==!0&&p.dark,palette:m.palette},M8(m,"light",p.light)),m}return!n&&!("light"in p)&&u==="light"&&(p.light=!0),hS({...l,colorSchemes:p,defaultColorScheme:u,...typeof r!="boolean"&&r},...t)}const Py=Fu();function Kr(){const e=Wp(Py);return e[Ro]||e}function l1(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const Zn=e=>l1(e)&&e!=="classes",pe=I0({themeId:Ro,defaultTheme:Py,rootShouldForwardProp:Zn});function L8({theme:e,...t}){const n=Ro in e?e[Ro]:void 0;return v.jsx(e1,{...t,themeId:n?Ro:void 0,theme:n||e})}const gd={attribute:"data-mui-color-scheme",colorSchemeStorageKey:"mui-color-scheme",defaultLightColorScheme:"light",defaultDarkColorScheme:"dark",modeStorageKey:"mui-mode"},{CssVarsProvider:mS,useColorScheme:dq,getInitColorSchemeScript:pq}=Oj({themeId:Ro,theme:()=>Fu({cssVariables:!0}),colorSchemeStorageKey:gd.colorSchemeStorageKey,modeStorageKey:gd.modeStorageKey,defaultColorScheme:{light:gd.defaultLightColorScheme,dark:gd.defaultDarkColorScheme},resolveTheme:e=>{const t={...e,typography:o1(e.palette,e.typography)};return t.unstable_sx=function(r){return Ai({sx:r,theme:this})},t}}),gS=mS;function yS({theme:e,...t}){return typeof e=="function"?v.jsx(L8,{theme:e,...t}):"colorSchemes"in(Ro in e?e[Ro]:e)?v.jsx(gS,{theme:e,...t}):v.jsx(L8,{theme:e,...t})}function AS(e){return v.jsx(VH,{...e,defaultTheme:Py,themeId:Ro})}function by(e){return function(n){return v.jsx(AS,{styles:typeof e=="function"?r=>e({theme:r,...n}):e})}}function PS(){return Jp}const Qe=xj;function $e(e){return bj(e)}function bS(e){return Ge("MuiSvgIcon",e)}Ue("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const xS=e=>{const{color:t,fontSize:n,classes:r}=e,s={root:["root",t!=="inherit"&&`color${me(t)}`,`fontSize${me(n)}`]};return Ke(s,bS,r)},wS=pe("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)}`]]}})(Qe(({theme:e})=>{var t,n,r,s,a,l,u,f,p,h,m,y,H,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:w=>!w.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(([,w])=>w&&w.main).map(([w])=>{var x,S;return{props:{color:w},style:{color:(S=(x=(e.vars??e).palette)==null?void 0:x[w])==null?void 0:S.main}}}),{props:{color:"action"},style:{color:(y=(m=(e.vars??e).palette)==null?void 0:m.action)==null?void 0:y.active}},{props:{color:"disabled"},style:{color:(A=(H=(e.vars??e).palette)==null?void 0:H.action)==null?void 0:A.disabled}},{props:{color:"inherit"},style:{color:void 0}}]}})),Hu=P.forwardRef(function(t,n){const r=$e({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:y="0 0 24 24",...H}=r,A=P.isValidElement(s)&&s.type==="svg",w={...r,color:l,component:u,fontSize:f,instanceFontSize:t.fontSize,inheritViewBox:h,viewBox:y,hasSvgAsChild:A},x={};h||(x.viewBox=y);const S=xS(w);return v.jsxs(wS,{as:u,className:Oe(S.root,a),focusable:"false",color:p,"aria-hidden":m?void 0:!0,role:m?"img":void 0,ref:n,...x,...H,...A&&s.props,ownerState:w,children:[A?s.props.children:s,m?v.jsx("title",{children:m}):null]})});Hu&&(Hu.muiName="SvgIcon");function At(e,t){function n(r,s){return v.jsx(Hu,{"data-testid":`${t}Icon`,ref:s,...r,children:e})}return n.muiName=Hu.muiName,P.memo(P.forwardRef(n))}var jm={exports:{}},Zt={};/** * @license React * react-is.production.min.js * @@ -90,10 +90,10 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann `+G+o}var ee=!1;function te(o,i){if(!o||ee)return"";ee=!0;var c=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(i)if(i=function(){throw Error()},Object.defineProperty(i.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(i,[])}catch(fe){var d=fe}Reflect.construct(o,[],i)}else{try{i.call()}catch(fe){d=fe}o.call(i.prototype)}else{try{throw Error()}catch(fe){d=fe}o()}}catch(fe){if(fe&&d&&typeof fe.stack=="string"){for(var g=fe.stack.split(` `),b=d.stack.split(` `),T=g.length-1,V=b.length-1;1<=T&&0<=V&&g[T]!==b[V];)V--;for(;1<=T&&0<=V;T--,V--)if(g[T]!==b[V]){if(T!==1||V!==1)do if(T--,V--,0>V||g[T]!==b[V]){var q=` -`+g[T].replace(" at new "," at ");return o.displayName&&q.includes("")&&(q=q.replace("",o.displayName)),q}while(1<=T&&0<=V);break}}}finally{ee=!1,Error.prepareStackTrace=c}return(o=o?o.displayName||o.name:"")?X(o):""}function ue(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=te(o.type,!1),o;case 11:return o=te(o.type.render,!1),o;case 1:return o=te(o.type,!0),o;default:return""}}function de(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 k:return"Portal";case L:return"Profiler";case M:return"StrictMode";case J:return"Suspense";case K:return"SuspenseList"}if(typeof o=="object")switch(o.$$typeof){case B:return(o.displayName||"Context")+".Consumer";case j:return(o._context.displayName||"Context")+".Provider";case I:var i=o.render;return o=o.displayName,o||(o=i.displayName||i.name||"",o=o!==""?"ForwardRef("+o+")":"ForwardRef"),o;case W:return i=o.displayName||null,i!==null?i:de(o.type)||"Memo";case ne:i=o._payload,o=o._init;try{return de(o(i))}catch{}}return null}function xe(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 de(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 ve(o){switch(typeof o){case"boolean":case"number":case"string":case"undefined":return o;case"object":return o;default:return""}}function be(o){var i=o.type;return(o=o.nodeName)&&o.toLowerCase()==="input"&&(i==="checkbox"||i==="radio")}function Xe(o){var i=be(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 Ie(o){o._valueTracker||(o._valueTracker=Xe(o))}function He(o){if(!o)return!1;var i=o._valueTracker;if(!i)return!0;var c=i.getValue(),d="";return o&&(d=be(o)?o.checked?"true":"false":o.value),o=d,o!==c?(i.setValue(o),!0):!1}function Ke(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 E({},i,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:c??o._wrapperState.initialChecked})}function tt(o,i){var c=i.defaultValue==null?"":i.defaultValue,d=i.checked!=null?i.checked:i.defaultChecked;c=ve(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 Le(o,i){i=i.checked,i!=null&&O(o,"checked",i,!1)}function dt(o,i){Le(o,i);var c=ve(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")?$(o,i.type,c):i.hasOwnProperty("defaultValue")&&$(o,i.type,ve(i.defaultValue)),i.checked==null&&i.defaultChecked!=null&&(o.defaultChecked=!!i.defaultChecked)}function N(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 $(o,i,c){(i!=="number"||Ke(o.ownerDocument)!==o)&&(c==null?o.defaultValue=""+o._wrapperState.initialValue:o.defaultValue!==""+c&&(o.defaultValue=""+c))}var se=Array.isArray;function ye(o,i,c,d){if(o=o.options,i){i={};for(var g=0;g"+i.valueOf().toString()+"",i=ft.firstChild;o.firstChild;)o.removeChild(o.firstChild);for(;i.firstChild;)o.appendChild(i.firstChild)}});function Ht(o,i){if(i){var c=o.firstChild;if(c&&c===o.lastChild&&c.nodeType===3){c.nodeValue=i;return}}o.textContent=i}var We={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},Dt=["Webkit","ms","Moz","O"];Object.keys(We).forEach(function(o){Dt.forEach(function(i){i=i+o.charAt(0).toUpperCase()+o.substring(1),We[i]=We[o]})});function Jt(o,i,c){return i==null||typeof i=="boolean"||i===""?"":c||typeof i!="number"||i===0||We.hasOwnProperty(o)&&We[o]?(""+i).trim():i+"px"}function Be(o,i){o=o.style;for(var c in i)if(i.hasOwnProperty(c)){var d=c.indexOf("--")===0,g=Jt(c,i[c],d);c==="float"&&(c="cssFloat"),d?o.setProperty(c,g):o[c]=g}}var U=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 Y(o,i){if(i){if(U[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 Pe(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 De=null;function Te(o){return o=o.target||o.srcElement||window,o.correspondingUseElement&&(o=o.correspondingUseElement),o.nodeType===3?o.parentNode:o}var Ne=null,Je=null,ke=null;function rt(o){if(o=vc(o)){if(typeof Ne!="function")throw Error(n(280));var i=o.stateNode;i&&(i=Of(i),Ne(o.stateNode,o.type,i))}}function vt(o){Je?ke?ke.push(o):ke=[o]:Je=o}function kt(){if(Je){var o=Je,i=ke;if(ke=Je=null,rt(o),i)for(o=0;o>>=0,o===0?32:31-(Q4(o)/K4|0)|0}var uf=64,ff=4194304;function Ql(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 df(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 V=T&~g;V!==0?d=Ql(V):(b&=T,b!==0&&(d=Ql(b)))}else T=c&~g,T!==0?d=Ql(T):b!==0&&(d=Ql(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 Kl(o,i,c){o.pendingLanes|=i,i!==536870912&&(o.suspendedLanes=0,o.pingedLanes=0),o=o.eventTimes,i=31-Lr(i),o[i]=c}function t5(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=sc),YA=" ",qA=!1;function ZA(o,i){switch(o){case"keyup":return C5.indexOf(i.keyCode)!==-1;case"keydown":return i.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function GA(o){return o=o.detail,typeof o=="object"&&"data"in o?o.data:null}var Ha=!1;function T5(o,i){switch(o){case"compositionend":return GA(i);case"keypress":return i.which!==32?null:(qA=!0,YA);case"textInput":return o=i.data,o===YA&&qA?null:o;default:return null}}function k5(o,i){if(Ha)return o==="compositionend"||!Uv&&ZA(o,i)?(o=BA(),gf=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=tP(c)}}function rP(o,i){return o&&i?o===i?!0:o&&o.nodeType===3?!1:i&&i.nodeType===3?rP(o,i.parentNode):"contains"in o?o.contains(i):o.compareDocumentPosition?!!(o.compareDocumentPosition(i)&16):!1:!1}function oP(){for(var o=window,i=Ke();i instanceof o.HTMLIFrameElement;){try{var c=typeof i.contentWindow.location.href=="string"}catch{c=!1}if(c)o=i.contentWindow;else break;i=Ke(o.document)}return i}function _v(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 I5(o){var i=oP(),c=o.focusedElem,d=o.selectionRange;if(i!==c&&c&&c.ownerDocument&&rP(c.ownerDocument.documentElement,c)){if(d!==null&&_v(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=nP(c,b);var T=nP(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,$v=null,cc=null,eh=!1;function sP(o,i,c){var d=c.window===c?c.document:c.nodeType===9?c:c.ownerDocument;eh||ja==null||ja!==Ke(d)||(d=ja,"selectionStart"in d&&_v(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}),cc&&lc(cc,d)||(cc=d,d=jf($v,"onSelect"),0Da||(o.current=dh[Da],dh[Da]=null,Da--)}function nn(o,i){Da++,dh[Da]=o.current,o.current=i}var Zs={},$n=qs(Zs),gr=qs(!1),ki=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 Cf(){an(gr),an($n)}function PP(o,i,c){if($n.current!==Zs)throw Error(n(168));nn($n,i),nn(gr,c)}function bP(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,xe(o)||"Unknown",g));return E({},c,d)}function Df(o){return o=(o=o.stateNode)&&o.__reactInternalMemoizedMergedChildContext||Zs,ki=$n.current,nn($n,o),nn(gr,gr.current),!0}function xP(o,i,c){var d=o.stateNode;if(!d)throw Error(n(169));c?(o=bP(o,i,ki),d.__reactInternalMemoizedMergedChildContext=o,an(gr),an($n),nn($n,o)):an(gr),nn(gr,c)}var vs=null,Tf=!1,ph=!1;function wP(o){vs===null?vs=[o]:vs.push(o)}function $5(o){Tf=!0,wP(o)}function Gs(){if(!ph&&vs!==null){ph=!0;var o=0,i=Ut;try{var c=vs;for(Ut=1;o>=T,g-=T,hs=1<<32-Lr(i)+g|c<bt?(Yn=mt,mt=null):Yn=mt.sibling;var Wt=Se(ie,mt,ae[bt],Me);if(Wt===null){mt===null&&(mt=Yn);break}o&&mt&&Wt.alternate===null&&i(ie,mt),Q=b(Wt,Q,bt),ht===null?pt=Wt:ht.sibling=Wt,ht=Wt,mt=Yn}if(bt===ae.length)return c(ie,mt),fn&&Ei(ie,bt),pt;if(mt===null){for(;btbt?(Yn=mt,mt=null):Yn=mt.sibling;var ri=Se(ie,mt,Wt.value,Me);if(ri===null){mt===null&&(mt=Yn);break}o&&mt&&ri.alternate===null&&i(ie,mt),Q=b(ri,Q,bt),ht===null?pt=ri:ht.sibling=ri,ht=ri,mt=Yn}if(Wt.done)return c(ie,mt),fn&&Ei(ie,bt),pt;if(mt===null){for(;!Wt.done;bt++,Wt=ae.next())Wt=Ce(ie,Wt.value,Me),Wt!==null&&(Q=b(Wt,Q,bt),ht===null?pt=Wt:ht.sibling=Wt,ht=Wt);return fn&&Ei(ie,bt),pt}for(mt=d(ie,mt);!Wt.done;bt++,Wt=ae.next())Wt=Ye(mt,ie,bt,Wt.value,Me),Wt!==null&&(o&&Wt.alternate!==null&&mt.delete(Wt.key===null?bt:Wt.key),Q=b(Wt,Q,bt),ht===null?pt=Wt:ht.sibling=Wt,ht=Wt);return o&&mt.forEach(function(R3){return i(ie,R3)}),fn&&Ei(ie,bt),pt}function On(ie,Q,ae,Me){if(typeof ae=="object"&&ae!==null&&ae.type===R&&ae.key===null&&(ae=ae.props.children),typeof ae=="object"&&ae!==null){switch(ae.$$typeof){case D:e:{for(var pt=ae.key,ht=Q;ht!==null;){if(ht.key===pt){if(pt=ae.type,pt===R){if(ht.tag===7){c(ie,ht.sibling),Q=g(ht,ae.props.children),Q.return=ie,ie=Q;break e}}else if(ht.elementType===pt||typeof pt=="object"&&pt!==null&&pt.$$typeof===ne&&XP(pt)===ht.type){c(ie,ht.sibling),Q=g(ht,ae.props),Q.ref=hc(ie,ht,ae),Q.return=ie,ie=Q;break e}c(ie,ht);break}else i(ie,ht);ht=ht.sibling}ae.type===R?(Q=Wi(ae.props.children,ie.mode,Me,ae.key),Q.return=ie,ie=Q):(Me=sd(ae.type,ae.key,ae.props,null,ie.mode,Me),Me.ref=hc(ie,Q,ae),Me.return=ie,ie=Me)}return T(ie);case k:e:{for(ht=ae.key;Q!==null;){if(Q.key===ht)if(Q.tag===4&&Q.stateNode.containerInfo===ae.containerInfo&&Q.stateNode.implementation===ae.implementation){c(ie,Q.sibling),Q=g(Q,ae.children||[]),Q.return=ie,ie=Q;break e}else{c(ie,Q);break}else i(ie,Q);Q=Q.sibling}Q=um(ae,ie.mode,Me),Q.return=ie,ie=Q}return T(ie);case ne:return ht=ae._init,On(ie,Q,ht(ae._payload),Me)}if(se(ae))return it(ie,Q,ae,Me);if(_(ae))return ut(ie,Q,ae,Me);Vf(ie,ae)}return typeof ae=="string"&&ae!==""||typeof ae=="number"?(ae=""+ae,Q!==null&&Q.tag===6?(c(ie,Q.sibling),Q=g(Q,ae),Q.return=ie,ie=Q):(c(ie,Q),Q=cm(ae,ie.mode,Me),Q.return=ie,ie=Q),T(ie)):c(ie,Q)}return On}var Xa=NP(!0),BP=NP(!1),mc={},Wo=qs(mc),gc=qs(mc),yc=qs(mc);function Li(o){if(o===mc)throw Error(n(174));return o}function zh(o,i){switch(nn(yc,i),nn(gc,o),nn(Wo,mc),o=i.nodeType,o){case 9:case 11:i=(i=i.documentElement)?i.namespaceURI:nt(null,"");break;default:o=o===8?i.parentNode:i,i=o.namespaceURI||null,o=o.tagName,i=nt(i,o)}an(Wo),nn(Wo,i)}function Na(){an(Wo),an(gc),an(yc)}function VP(o){Li(yc.current);var i=Li(Wo.current),c=nt(i,o.type);i!==c&&(nn(gc,o),nn(Wo,c))}function Oh(o){gc.current===o&&(an(Wo),an(gc))}var vn=qs(0);function If(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 Ch=[];function Dh(){for(var o=0;oc?c:4,o(!0);var d=Th.transition;Th.transition={};try{o(!1),i()}finally{Ut=c,Th.transition=d}}function ob(){return eo().memoizedState}function r3(o,i,c){var d=ei(o);if(c={lane:d,action:c,hasEagerState:!1,eagerState:null,next:null},sb(o))ib(i,c);else if(c=CP(o,i,c,d),c!==null){var g=cr();So(c,o,d,g),ab(c,i,d)}}function o3(o,i,c){var d=ei(o),g={lane:d,action:c,hasEagerState:!1,eagerState:null,next:null};if(sb(o))ib(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,V=b(T,c);if(g.hasEagerState=!0,g.eagerState=V,bo(V,T)){var q=i.interleaved;q===null?(g.next=g,wh(i)):(g.next=q.next,q.next=g),i.interleaved=g;return}}catch{}finally{}c=CP(o,i,g,d),c!==null&&(g=cr(),So(c,o,d,g),ab(c,i,d))}}function sb(o){var i=o.alternate;return o===hn||i!==null&&i===hn}function ib(o,i){Ac=Jf=!0;var c=o.pending;c===null?i.next=i:(i.next=c.next,c.next=i),o.pending=i}function ab(o,i,c){if(c&4194240){var d=i.lanes;d&=o.pendingLanes,c|=d,i.lanes=c,Nv(o,c)}}var qf={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},s3={readContext:$r,useCallback:function(o,i){return Jo().memoizedState=[o,i===void 0?null:i],o},useContext:$r,useEffect:QP,useImperativeHandle:function(o,i,c){return c=c!=null?c.concat([o]):null,Ff(4194308,4,$P.bind(null,i,o),c)},useLayoutEffect:function(o,i){return Ff(4194308,4,o,i)},useInsertionEffect:function(o,i){return Ff(4,2,o,i)},useMemo:function(o,i){var c=Jo();return i=i===void 0?null:i,o=o(),c.memoizedState=[o,i],o},useReducer:function(o,i,c){var d=Jo();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=r3.bind(null,hn,o),[d.memoizedState,o]},useRef:function(o){var i=Jo();return o={current:o},i.memoizedState=o},useState:GP,useDebugValue:Nh,useDeferredValue:function(o){return Jo().memoizedState=o},useTransition:function(){var o=GP(!1),i=o[0];return o=n3.bind(null,o[1]),Jo().memoizedState=o,[i,o]},useMutableSource:function(){},useSyncExternalStore:function(o,i,c){var d=hn,g=Jo();if(fn){if(c===void 0)throw Error(n(407));c=c()}else{if(c=i(),Fn===null)throw Error(n(349));Xi&30||JP(d,i,c)}g.memoizedState=c;var b={value:c,getSnapshot:i};return g.queue=b,QP(YP.bind(null,d,b,o),[o]),d.flags|=2048,xc(9,FP.bind(null,d,b,c,i),void 0,null),c},useId:function(){var o=Jo(),i=Fn.identifierPrefix;if(fn){var c=ms,d=hs;c=(d&~(1<<32-Lr(d)-1)).toString(32)+c,i=":"+i+"R"+c,c=Pc++,0")&&(q=q.replace("",o.displayName)),q}while(1<=T&&0<=V);break}}}finally{ee=!1,Error.prepareStackTrace=c}return(o=o?o.displayName||o.name:"")?X(o):""}function ue(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=te(o.type,!1),o;case 11:return o=te(o.type.render,!1),o;case 1:return o=te(o.type,!0),o;default:return""}}function de(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 k:return"Portal";case L:return"Profiler";case M:return"StrictMode";case J:return"Suspense";case K:return"SuspenseList"}if(typeof o=="object")switch(o.$$typeof){case B:return(o.displayName||"Context")+".Consumer";case j:return(o._context.displayName||"Context")+".Provider";case I:var i=o.render;return o=o.displayName,o||(o=i.displayName||i.name||"",o=o!==""?"ForwardRef("+o+")":"ForwardRef"),o;case W:return i=o.displayName||null,i!==null?i:de(o.type)||"Memo";case ne:i=o._payload,o=o._init;try{return de(o(i))}catch{}}return null}function xe(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 de(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 ve(o){switch(typeof o){case"boolean":case"number":case"string":case"undefined":return o;case"object":return o;default:return""}}function be(o){var i=o.type;return(o=o.nodeName)&&o.toLowerCase()==="input"&&(i==="checkbox"||i==="radio")}function Xe(o){var i=be(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 Ie(o){o._valueTracker||(o._valueTracker=Xe(o))}function He(o){if(!o)return!1;var i=o._valueTracker;if(!i)return!0;var c=i.getValue(),d="";return o&&(d=be(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 E({},i,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:c??o._wrapperState.initialChecked})}function tt(o,i){var c=i.defaultValue==null?"":i.defaultValue,d=i.checked!=null?i.checked:i.defaultChecked;c=ve(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 Le(o,i){i=i.checked,i!=null&&O(o,"checked",i,!1)}function dt(o,i){Le(o,i);var c=ve(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")?$(o,i.type,c):i.hasOwnProperty("defaultValue")&&$(o,i.type,ve(i.defaultValue)),i.checked==null&&i.defaultChecked!=null&&(o.defaultChecked=!!i.defaultChecked)}function N(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 $(o,i,c){(i!=="number"||_e(o.ownerDocument)!==o)&&(c==null?o.defaultValue=""+o._wrapperState.initialValue:o.defaultValue!==""+c&&(o.defaultValue=""+c))}var se=Array.isArray;function ye(o,i,c,d){if(o=o.options,i){i={};for(var g=0;g"+i.valueOf().toString()+"",i=ft.firstChild;o.firstChild;)o.removeChild(o.firstChild);for(;i.firstChild;)o.appendChild(i.firstChild)}});function Ht(o,i){if(i){var c=o.firstChild;if(c&&c===o.lastChild&&c.nodeType===3){c.nodeValue=i;return}}o.textContent=i}var We={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},Dt=["Webkit","ms","Moz","O"];Object.keys(We).forEach(function(o){Dt.forEach(function(i){i=i+o.charAt(0).toUpperCase()+o.substring(1),We[i]=We[o]})});function Jt(o,i,c){return i==null||typeof i=="boolean"||i===""?"":c||typeof i!="number"||i===0||We.hasOwnProperty(o)&&We[o]?(""+i).trim():i+"px"}function Be(o,i){o=o.style;for(var c in i)if(i.hasOwnProperty(c)){var d=c.indexOf("--")===0,g=Jt(c,i[c],d);c==="float"&&(c="cssFloat"),d?o.setProperty(c,g):o[c]=g}}var U=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 Y(o,i){if(i){if(U[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 Pe(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 De=null;function Te(o){return o=o.target||o.srcElement||window,o.correspondingUseElement&&(o=o.correspondingUseElement),o.nodeType===3?o.parentNode:o}var Ne=null,Je=null,ke=null;function rt(o){if(o=vc(o)){if(typeof Ne!="function")throw Error(n(280));var i=o.stateNode;i&&(i=Of(i),Ne(o.stateNode,o.type,i))}}function vt(o){Je?ke?ke.push(o):ke=[o]:Je=o}function kt(){if(Je){var o=Je,i=ke;if(ke=Je=null,rt(o),i)for(o=0;o>>=0,o===0?32:31-(Q4(o)/K4|0)|0}var uf=64,ff=4194304;function Ql(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 df(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 V=T&~g;V!==0?d=Ql(V):(b&=T,b!==0&&(d=Ql(b)))}else T=c&~g,T!==0?d=Ql(T):b!==0&&(d=Ql(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 Kl(o,i,c){o.pendingLanes|=i,i!==536870912&&(o.suspendedLanes=0,o.pingedLanes=0),o=o.eventTimes,i=31-Lr(i),o[i]=c}function t5(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=sc),YA=" ",qA=!1;function ZA(o,i){switch(o){case"keyup":return C5.indexOf(i.keyCode)!==-1;case"keydown":return i.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function GA(o){return o=o.detail,typeof o=="object"&&"data"in o?o.data:null}var Ha=!1;function T5(o,i){switch(o){case"compositionend":return GA(i);case"keypress":return i.which!==32?null:(qA=!0,YA);case"textInput":return o=i.data,o===YA&&qA?null:o;default:return null}}function k5(o,i){if(Ha)return o==="compositionend"||!Uv&&ZA(o,i)?(o=BA(),gf=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=tP(c)}}function rP(o,i){return o&&i?o===i?!0:o&&o.nodeType===3?!1:i&&i.nodeType===3?rP(o,i.parentNode):"contains"in o?o.contains(i):o.compareDocumentPosition?!!(o.compareDocumentPosition(i)&16):!1:!1}function oP(){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 _v(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 I5(o){var i=oP(),c=o.focusedElem,d=o.selectionRange;if(i!==c&&c&&c.ownerDocument&&rP(c.ownerDocument.documentElement,c)){if(d!==null&&_v(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=nP(c,b);var T=nP(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,$v=null,cc=null,eh=!1;function sP(o,i,c){var d=c.window===c?c.document:c.nodeType===9?c:c.ownerDocument;eh||ja==null||ja!==_e(d)||(d=ja,"selectionStart"in d&&_v(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}),cc&&lc(cc,d)||(cc=d,d=jf($v,"onSelect"),0Da||(o.current=dh[Da],dh[Da]=null,Da--)}function nn(o,i){Da++,dh[Da]=o.current,o.current=i}var Zs={},$n=qs(Zs),gr=qs(!1),ki=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 Cf(){an(gr),an($n)}function PP(o,i,c){if($n.current!==Zs)throw Error(n(168));nn($n,i),nn(gr,c)}function bP(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,xe(o)||"Unknown",g));return E({},c,d)}function Df(o){return o=(o=o.stateNode)&&o.__reactInternalMemoizedMergedChildContext||Zs,ki=$n.current,nn($n,o),nn(gr,gr.current),!0}function xP(o,i,c){var d=o.stateNode;if(!d)throw Error(n(169));c?(o=bP(o,i,ki),d.__reactInternalMemoizedMergedChildContext=o,an(gr),an($n),nn($n,o)):an(gr),nn(gr,c)}var vs=null,Tf=!1,ph=!1;function wP(o){vs===null?vs=[o]:vs.push(o)}function $5(o){Tf=!0,wP(o)}function Gs(){if(!ph&&vs!==null){ph=!0;var o=0,i=Ut;try{var c=vs;for(Ut=1;o>=T,g-=T,hs=1<<32-Lr(i)+g|c<bt?(Yn=mt,mt=null):Yn=mt.sibling;var Wt=Se(ie,mt,ae[bt],Me);if(Wt===null){mt===null&&(mt=Yn);break}o&&mt&&Wt.alternate===null&&i(ie,mt),Q=b(Wt,Q,bt),ht===null?pt=Wt:ht.sibling=Wt,ht=Wt,mt=Yn}if(bt===ae.length)return c(ie,mt),fn&&Ei(ie,bt),pt;if(mt===null){for(;btbt?(Yn=mt,mt=null):Yn=mt.sibling;var ri=Se(ie,mt,Wt.value,Me);if(ri===null){mt===null&&(mt=Yn);break}o&&mt&&ri.alternate===null&&i(ie,mt),Q=b(ri,Q,bt),ht===null?pt=ri:ht.sibling=ri,ht=ri,mt=Yn}if(Wt.done)return c(ie,mt),fn&&Ei(ie,bt),pt;if(mt===null){for(;!Wt.done;bt++,Wt=ae.next())Wt=Ce(ie,Wt.value,Me),Wt!==null&&(Q=b(Wt,Q,bt),ht===null?pt=Wt:ht.sibling=Wt,ht=Wt);return fn&&Ei(ie,bt),pt}for(mt=d(ie,mt);!Wt.done;bt++,Wt=ae.next())Wt=Ye(mt,ie,bt,Wt.value,Me),Wt!==null&&(o&&Wt.alternate!==null&&mt.delete(Wt.key===null?bt:Wt.key),Q=b(Wt,Q,bt),ht===null?pt=Wt:ht.sibling=Wt,ht=Wt);return o&&mt.forEach(function(R3){return i(ie,R3)}),fn&&Ei(ie,bt),pt}function On(ie,Q,ae,Me){if(typeof ae=="object"&&ae!==null&&ae.type===R&&ae.key===null&&(ae=ae.props.children),typeof ae=="object"&&ae!==null){switch(ae.$$typeof){case D:e:{for(var pt=ae.key,ht=Q;ht!==null;){if(ht.key===pt){if(pt=ae.type,pt===R){if(ht.tag===7){c(ie,ht.sibling),Q=g(ht,ae.props.children),Q.return=ie,ie=Q;break e}}else if(ht.elementType===pt||typeof pt=="object"&&pt!==null&&pt.$$typeof===ne&&XP(pt)===ht.type){c(ie,ht.sibling),Q=g(ht,ae.props),Q.ref=hc(ie,ht,ae),Q.return=ie,ie=Q;break e}c(ie,ht);break}else i(ie,ht);ht=ht.sibling}ae.type===R?(Q=Wi(ae.props.children,ie.mode,Me,ae.key),Q.return=ie,ie=Q):(Me=sd(ae.type,ae.key,ae.props,null,ie.mode,Me),Me.ref=hc(ie,Q,ae),Me.return=ie,ie=Me)}return T(ie);case k:e:{for(ht=ae.key;Q!==null;){if(Q.key===ht)if(Q.tag===4&&Q.stateNode.containerInfo===ae.containerInfo&&Q.stateNode.implementation===ae.implementation){c(ie,Q.sibling),Q=g(Q,ae.children||[]),Q.return=ie,ie=Q;break e}else{c(ie,Q);break}else i(ie,Q);Q=Q.sibling}Q=um(ae,ie.mode,Me),Q.return=ie,ie=Q}return T(ie);case ne:return ht=ae._init,On(ie,Q,ht(ae._payload),Me)}if(se(ae))return it(ie,Q,ae,Me);if(_(ae))return ut(ie,Q,ae,Me);Vf(ie,ae)}return typeof ae=="string"&&ae!==""||typeof ae=="number"?(ae=""+ae,Q!==null&&Q.tag===6?(c(ie,Q.sibling),Q=g(Q,ae),Q.return=ie,ie=Q):(c(ie,Q),Q=cm(ae,ie.mode,Me),Q.return=ie,ie=Q),T(ie)):c(ie,Q)}return On}var Xa=NP(!0),BP=NP(!1),mc={},Wo=qs(mc),gc=qs(mc),yc=qs(mc);function Li(o){if(o===mc)throw Error(n(174));return o}function zh(o,i){switch(nn(yc,i),nn(gc,o),nn(Wo,mc),o=i.nodeType,o){case 9:case 11:i=(i=i.documentElement)?i.namespaceURI:nt(null,"");break;default:o=o===8?i.parentNode:i,i=o.namespaceURI||null,o=o.tagName,i=nt(i,o)}an(Wo),nn(Wo,i)}function Na(){an(Wo),an(gc),an(yc)}function VP(o){Li(yc.current);var i=Li(Wo.current),c=nt(i,o.type);i!==c&&(nn(gc,o),nn(Wo,c))}function Oh(o){gc.current===o&&(an(Wo),an(gc))}var vn=qs(0);function If(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 Ch=[];function Dh(){for(var o=0;oc?c:4,o(!0);var d=Th.transition;Th.transition={};try{o(!1),i()}finally{Ut=c,Th.transition=d}}function ob(){return to().memoizedState}function r3(o,i,c){var d=ei(o);if(c={lane:d,action:c,hasEagerState:!1,eagerState:null,next:null},sb(o))ib(i,c);else if(c=CP(o,i,c,d),c!==null){var g=cr();So(c,o,d,g),ab(c,i,d)}}function o3(o,i,c){var d=ei(o),g={lane:d,action:c,hasEagerState:!1,eagerState:null,next:null};if(sb(o))ib(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,V=b(T,c);if(g.hasEagerState=!0,g.eagerState=V,bo(V,T)){var q=i.interleaved;q===null?(g.next=g,wh(i)):(g.next=q.next,q.next=g),i.interleaved=g;return}}catch{}finally{}c=CP(o,i,g,d),c!==null&&(g=cr(),So(c,o,d,g),ab(c,i,d))}}function sb(o){var i=o.alternate;return o===hn||i!==null&&i===hn}function ib(o,i){Ac=Jf=!0;var c=o.pending;c===null?i.next=i:(i.next=c.next,c.next=i),o.pending=i}function ab(o,i,c){if(c&4194240){var d=i.lanes;d&=o.pendingLanes,c|=d,i.lanes=c,Nv(o,c)}}var qf={readContext:eo,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},s3={readContext:eo,useCallback:function(o,i){return Jo().memoizedState=[o,i===void 0?null:i],o},useContext:eo,useEffect:QP,useImperativeHandle:function(o,i,c){return c=c!=null?c.concat([o]):null,Ff(4194308,4,$P.bind(null,i,o),c)},useLayoutEffect:function(o,i){return Ff(4194308,4,o,i)},useInsertionEffect:function(o,i){return Ff(4,2,o,i)},useMemo:function(o,i){var c=Jo();return i=i===void 0?null:i,o=o(),c.memoizedState=[o,i],o},useReducer:function(o,i,c){var d=Jo();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=r3.bind(null,hn,o),[d.memoizedState,o]},useRef:function(o){var i=Jo();return o={current:o},i.memoizedState=o},useState:GP,useDebugValue:Nh,useDeferredValue:function(o){return Jo().memoizedState=o},useTransition:function(){var o=GP(!1),i=o[0];return o=n3.bind(null,o[1]),Jo().memoizedState=o,[i,o]},useMutableSource:function(){},useSyncExternalStore:function(o,i,c){var d=hn,g=Jo();if(fn){if(c===void 0)throw Error(n(407));c=c()}else{if(c=i(),Fn===null)throw Error(n(349));Xi&30||JP(d,i,c)}g.memoizedState=c;var b={value:c,getSnapshot:i};return g.queue=b,QP(YP.bind(null,d,b,o),[o]),d.flags|=2048,xc(9,FP.bind(null,d,b,c,i),void 0,null),c},useId:function(){var o=Jo(),i=Fn.identifierPrefix;if(fn){var c=ms,d=hs;c=(d&~(1<<32-Lr(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[Io]=i,o[pc]=d,Hb(o,i,!1,!1),i.stateNode=o;e:{switch(T=Pe(c,d),c){case"dialog":sn("cancel",o),sn("close",o),g=d;break;case"iframe":case"object":case"embed":sn("load",o),g=d;break;case"video":case"audio":for(g=0;gWa&&(i.flags|=128,d=!0,wc(b,!1),i.lanes=4194304)}else{if(!d)if(o=If(T),o!==null){if(i.flags|=128,d=!0,c=o.updateQueue,c!==null&&(i.updateQueue=c,i.flags|=4),wc(b,!0),b.tail===null&&b.tailMode==="hidden"&&!T.alternate&&!fn)return tr(i),null}else 2*tn()-b.renderingStartTime>Wa&&c!==1073741824&&(i.flags|=128,d=!0,wc(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=tn(),i.sibling=null,c=vn.current,nn(vn,d?c&1|2:c&1),i):(tr(i),null);case 22:case 23:return im(),d=i.memoizedState!==null,o!==null&&o.memoizedState!==null!==d&&(i.flags|=8192),d&&i.mode&1?Vr&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 p3(o,i){switch(hh(i),i.tag){case 1:return yr(i.type)&&Cf(),o=i.flags,o&65536?(i.flags=o&-65537|128,i):null;case 3:return Na(),an(gr),an($n),Dh(),o=i.flags,o&65536&&!(o&128)?(i.flags=o&-65537|128,i):null;case 5:return Oh(i),null;case 13:if(an(vn),o=i.memoizedState,o!==null&&o.dehydrated!==null){if(i.alternate===null)throw Error(n(340));Ea()}return o=i.flags,o&65536?(i.flags=o&-65537|128,i):null;case 19:return an(vn),null;case 4:return Na(),null;case 10:return bh(i.type._context),null;case 22:case 23:return im(),null;case 24:return null;default:return null}}var Uf=!1,nr=!1,v3=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){Pn(o,i,d)}else c.current=null}function Gh(o,i,c){try{c()}catch(d){Pn(o,i,d)}}var zb=!1;function h3(o,i){if(ih=hf,o=oP(),_v(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,V=-1,q=-1,fe=0,ze=0,Ce=o,Se=null;t:for(;;){for(var Ye;Ce!==c||g!==0&&Ce.nodeType!==3||(V=T+g),Ce!==b||d!==0&&Ce.nodeType!==3||(q=T+d),Ce.nodeType===3&&(T+=Ce.nodeValue.length),(Ye=Ce.firstChild)!==null;)Se=Ce,Ce=Ye;for(;;){if(Ce===o)break t;if(Se===c&&++fe===g&&(V=T),Se===b&&++ze===d&&(q=T),(Ye=Ce.nextSibling)!==null)break;Ce=Se,Se=Ce.parentNode}Ce=Ye}c=V===-1||q===-1?null:{start:V,end:q}}else c=null}c=c||{start:0,end:0}}else c=null;for(ah={focusedElem:o,selectionRange:c},hf=!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 ut=it.memoizedProps,On=it.memoizedState,ie=i.stateNode,Q=ie.getSnapshotBeforeUpdate(i.elementType===i.type?ut:wo(i.type,ut),On);ie.__reactInternalSnapshotBeforeUpdate=Q}break;case 3:var ae=i.stateNode.containerInfo;ae.nodeType===1?ae.textContent="":ae.nodeType===9&&ae.documentElement&&ae.removeChild(ae.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(n(163))}}catch(Me){Pn(i,i.return,Me)}if(o=i.sibling,o!==null){o.return=i.return,et=o;break}et=i.return}return it=zb,zb=!1,it}function Hc(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&&Gh(i,c,b)}g=g.next}while(g!==d)}}function Qf(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 Uh(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 Ob(o){var i=o.alternate;i!==null&&(o.alternate=null,Ob(i)),o.child=null,o.deletions=null,o.sibling=null,o.tag===5&&(i=o.stateNode,i!==null&&(delete i[Io],delete i[pc],delete i[fh],delete i[K5],delete i[_5])),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 Cb(o){return o.tag===5||o.tag===3||o.tag===4}function Db(o){e:for(;;){for(;o.sibling===null;){if(o.return===null||Cb(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 Qh(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=zf));else if(d!==4&&(o=o.child,o!==null))for(Qh(o,i,c),o=o.sibling;o!==null;)Qh(o,i,c),o=o.sibling}function Kh(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(Kh(o,i,c),o=o.sibling;o!==null;)Kh(o,i,c),o=o.sibling}var Un=null,Ho=!1;function Ks(o,i,c){for(c=c.child;c!==null;)Tb(o,i,c),c=c.sibling}function Tb(o,i,c){if(Xn&&typeof Xn.onCommitFiberUnmount=="function")try{Xn.onCommitFiberUnmount(ar,c)}catch{}switch(c.tag){case 5:nr||Va(c,i);case 6:var d=Un,g=Ho;Un=null,Ks(o,i,c),Un=d,Ho=g,Un!==null&&(Ho?(o=Un,c=c.stateNode,o.nodeType===8?o.parentNode.removeChild(c):o.removeChild(c)):Un.removeChild(c.stateNode));break;case 18:Un!==null&&(Ho?(o=Un,c=c.stateNode,o.nodeType===8?uh(o.parentNode,c):o.nodeType===1&&uh(o,c),nc(o)):uh(Un,c.stateNode));break;case 4:d=Un,g=Ho,Un=c.stateNode.containerInfo,Ho=!0,Ks(o,i,c),Un=d,Ho=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)&&Gh(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(V){Pn(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 kb(o){var i=o.updateQueue;if(i!==null){o.updateQueue=null;var c=o.stateNode;c===null&&(c=o.stateNode=new v3),i.forEach(function(d){var g=H3.bind(null,o,d);c.has(d)||(c.add(d),d.then(g,g))})}}function jo(o,i){var c=i.deletions;if(c!==null)for(var d=0;dg&&(g=T),d&=~b}if(d=g,d=tn()-d,d=(120>d?120:480>d?480:1080>d?1080:1920>d?1920:3e3>d?3e3:4320>d?4320:1960*g3(d/1960))-d,10o?16:o,$s===null)var d=!1;else{if(o=$s,$s=null,td=0,Vt&6)throw Error(n(331));var g=Vt;for(Vt|=4,et=o.current;et!==null;){var b=et,T=b.child;if(et.flags&16){var V=b.deletions;if(V!==null){for(var q=0;qtn()-em?Vi(o,0):$h|=c),br(o,i)}function Yb(o,i){i===0&&(o.mode&1?(i=ff,ff<<=1,!(ff&130023424)&&(ff=4194304)):i=1);var c=cr();o=gs(o,i),o!==null&&(Kl(o,i,c),br(o,c))}function w3(o){var i=o.memoizedState,c=0;i!==null&&(c=i.retryLane),Yb(o,c)}function H3(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),Yb(o,c)}var qb;qb=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,f3(o,i,c);Ar=!!(o.flags&131072)}else Ar=!1,fn&&i.flags&1048576&&HP(i,Rf,i.index);switch(i.lanes=0,i.tag){case 2:var d=i.type;Gf(o,i),o=i.pendingProps;var g=Ta(i,$n.current);La(i,c),g=Rh(null,i,d,o,g,c);var b=Eh();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,Df(i)):b=!1,i.memoizedState=g.state!==null&&g.state!==void 0?g.state:null,Hh(i),g.updater=Bf,i.stateNode=g,g._reactInternals=i,Sh(i,d,o,c),i=Wh(null,i,d,!0,b,c)):(i.tag=0,fn&&b&&vh(i),lr(null,i,g,c),i=i.child),i;case 16:d=i.elementType;e:{switch(Gf(o,i),o=i.pendingProps,g=d._init,d=g(d._payload),i.type=d,g=i.tag=S3(d),o=wo(d,o),g){case 0:i=Ih(null,i,d,o,c);break e;case 1:i=yb(null,i,d,o,c);break e;case 11:i=pb(null,i,d,o,c);break e;case 14:i=vb(null,i,d,wo(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:wo(d,g),Ih(o,i,d,g,c);case 1:return d=i.type,g=i.pendingProps,g=i.elementType===d?g:wo(d,g),yb(o,i,d,g,c);case 3:e:{if(Ab(i),o===null)throw Error(n(387));d=i.pendingProps,b=i.memoizedState,g=b.element,DP(o,i),Nf(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=Pb(o,i,d,c,g);break e}else if(d!==g){g=Ba(Error(n(424)),i),i=Pb(o,i,d,c,g);break e}else for(Br=Ys(i.stateNode.containerInfo.firstChild),Nr=i,fn=!0,xo=null,c=BP(i,null,d,c),i.child=c;c;)c.flags=c.flags&-3|4096,c=c.sibling;else{if(Ea(),d===g){i=As(o,i,c);break e}lr(o,i,d,c)}i=i.child}return i;case 5:return VP(i),o===null&&gh(i),d=i.type,g=i.pendingProps,b=o!==null?o.memoizedProps:null,T=g.children,lh(d,g)?T=null:b!==null&&lh(d,b)&&(i.flags|=32),gb(o,i),lr(o,i,T,c),i.child;case 6:return o===null&&gh(i),null;case 13:return bb(o,i,c);case 4:return zh(i,i.stateNode.containerInfo),d=i.pendingProps,o===null?i.child=Xa(i,null,d,c):lr(o,i,d,c),i.child;case 11:return d=i.type,g=i.pendingProps,g=i.elementType===d?g:wo(d,g),pb(o,i,d,g,c);case 7:return lr(o,i,i.pendingProps,c),i.child;case 8:return lr(o,i,i.pendingProps.children,c),i.child;case 12:return lr(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,nn(Mf,d._currentValue),d._currentValue=T,b!==null)if(bo(b.value,T)){if(b.children===g.children&&!gr.current){i=As(o,i,c);break e}}else for(b=i.child,b!==null&&(b.return=i);b!==null;){var V=b.dependencies;if(V!==null){T=b.child;for(var q=V.firstContext;q!==null;){if(q.context===d){if(b.tag===1){q=ys(-1,c&-c),q.tag=2;var fe=b.updateQueue;if(fe!==null){fe=fe.shared;var ze=fe.pending;ze===null?q.next=q:(q.next=ze.next,ze.next=q),fe.pending=q}}b.lanes|=c,q=b.alternate,q!==null&&(q.lanes|=c),xh(b.return,c,i),V.lanes|=c;break}q=q.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,V=T.alternate,V!==null&&(V.lanes|=c),xh(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}lr(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,lr(o,i,d,c),i.child;case 14:return d=i.type,g=wo(d,i.pendingProps),g=wo(d.type,g),vb(o,i,d,g,c);case 15:return hb(o,i,i.type,i.pendingProps,c);case 17:return d=i.type,g=i.pendingProps,g=i.elementType===d?g:wo(d,g),Gf(o,i),i.tag=1,yr(d)?(o=!0,Df(i)):o=!1,La(i,c),MP(i,d,g),Sh(i,d,g,c),Wh(null,i,d,!0,o,c);case 19:return wb(o,i,c);case 22:return mb(o,i,c)}throw Error(n(156,i.tag))};function Zb(o,i){return Nt(o,i)}function j3(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 j3(o,i,c,d)}function lm(o){return o=o.prototype,!(!o||!o.isReactComponent)}function S3(o){if(typeof o=="function")return lm(o)?1:0;if(o!=null){if(o=o.$$typeof,o===I)return 11;if(o===W)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 sd(o,i,c,d,g,b){var T=2;if(d=o,typeof o=="function")lm(o)&&(T=1);else if(typeof o=="string")T=5;else e:switch(o){case R:return Wi(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 J:return o=no(13,c,i,g),o.elementType=J,o.lanes=b,o;case K:return o=no(19,c,i,g),o.elementType=K,o.lanes=b,o;case re:return id(c,g,b,i);default:if(typeof o=="object"&&o!==null)switch(o.$$typeof){case j:T=10;break e;case B:T=9;break e;case I:T=11;break e;case W:T=14;break e;case ne: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 Wi(o,i,c,d){return o=no(7,o,d,i),o.lanes=c,o}function id(o,i,c,d){return o=no(22,o,d,i),o.elementType=re,o.lanes=c,o.stateNode={isHidden:!1},o}function cm(o,i,c){return o=no(6,o,null,i),o.lanes=c,o}function um(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 z3(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=Xv(0),this.expirationTimes=Xv(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Xv(0),this.identifierPrefix=d,this.onRecoverableError=g,this.mutableSourceEagerHydrationData=null}function fm(o,i,c,d,g,b,T,V,q){return o=new z3(o,i,c,V,q),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},Hh(b),o}function O3(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(),Sm.exports=OS(),Sm.exports}var d1=f1();const $c=Op(d1),J8={disabled:!1},ip=_e.createContext(null);var CS=function(t){return t.scrollTop},eu="unmounted",Yi="exited",qi="entering",tl="entered",ug="exiting",No=function(e){u1(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=Yi,a.appearStatus=qi):f=tl:r.unmountOnExit||r.mountOnEnter?f=eu:f=Yi,a.state={status:f},a.nextCallback=null,a}t.getDerivedStateFromProps=function(s,a){var l=s.in;return l&&a.status===eu?{status:Yi}: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!==qi&&l!==tl&&(a=qi):(l===qi||l===tl)&&(a=ug)}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===qi){if(this.props.unmountOnExit||this.props.mountOnEnter){var l=this.props.nodeRef?this.props.nodeRef.current:$c.findDOMNode(this);l&&CS(l)}this.performEnter(s)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Yi&&this.setState({status:eu})},n.performEnter=function(s){var a=this,l=this.props.enter,u=this.context?this.context.isMounting:s,f=this.props.nodeRef?[u]:[$c.findDOMNode(this),u],p=f[0],h=f[1],m=this.getTimeouts(),y=u?m.appear:m.enter;if(!s&&!l||J8.disabled){this.safeSetState({status:tl},function(){a.props.onEntered(p)});return}this.props.onEnter(p,h),this.safeSetState({status:qi},function(){a.props.onEntering(p,h),a.onTransitionEnd(y,function(){a.safeSetState({status:tl},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:$c.findDOMNode(this);if(!a||J8.disabled){this.safeSetState({status:Yi},function(){s.props.onExited(u)});return}this.props.onExit(u),this.safeSetState({status:ug},function(){s.props.onExiting(u),s.onTransitionEnd(l.exit,function(){s.safeSetState({status:Yi},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:$c.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===eu)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=c1(a,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return _e.createElement(ip.Provider,{value:null},typeof l=="function"?l(s,u):_e.cloneElement(_e.Children.only(l),u))},t}(_e.Component);No.contextType=ip;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=eu;No.EXITED=Yi;No.ENTERING=qi;No.ENTERED=tl;No.EXITING=ug;function DS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xy(e,t){var n=function(a){return t&&P.isValidElement(a)?t(a):a},r=Object.create(null);return e&&P.Children.map(e,function(s){return s}).forEach(function(s){r[s.key]=n(s)}),r}function TS(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 Cl(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 LS(e){return Ze("MuiPaper",e)}Ge("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 XS=e=>{const{square:t,elevation:n,variant:r,classes:s}=e,a={root:["root",r,!t&&"rounded",r==="elevation"&&`elevation${n}`]};return Qe(a,LS,s)},NS=pe("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}`]]}})(Ue(({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)"}}]}))),Gr=P.forwardRef(function(t,n){var H;const r=$e({props:t,name:"MuiPaper"}),s=Qr(),{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},y=XS(m);return v.jsx(NS,{as:l,ownerState:m,className:Oe(y.root,a),ref:n,...h,style:{...p==="elevation"&&{"--Paper-shadow":(s.vars||s).shadows[u],...s.vars&&{"--Paper-overlay":(H=s.vars.overlays)==null?void 0:H[u]},...!s.vars&&s.palette.mode==="dark"&&{"--Paper-overlay":`linear-gradient(${Pt("#fff",lg(u))}, ${Pt("#fff",lg(u))})`}},...h.style}})});function Cn(e,t){const{className:n,elementType:r,ownerState:s,externalForwardedProps:a,internalForwardedProps:l,...u}=t,{component:f,slots:p={[e]:void 0},slotProps:h={[e]:void 0},...m}=a,y=p[e]||r,H=Q0(h[e],s),{props:{component:A,...w},internalRef:x}=U0({className:n,...u,externalForwardedProps:e==="root"?m:void 0,externalSlotProps:H}),S=rn(x,H==null?void 0:H.ref,t.ref),z=e==="root"?A||f:A,O=G0(y,{...e==="root"&&!f&&!p[e]&&l,...e!=="root"&&!p[e]&&l,...w,...z&&{as:z},ref:S},s);return[y,O]}class ap{constructor(){Cc(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 ap}static use(){const t=q0(ap.create).current,[n,r]=P.useState(!1);return t.shouldMount=n,t.setShouldMount=r,P.useEffect(t.mountEffect,[n]),t}mount(){return this.mounted||(this.mounted=VS(),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 BS(){return ap.use()}function VS(){let e,t;const n=new Promise((r,s)=>{e=r,t=s});return n.resolve=e,n.reject=t,n}function IS(e){const{className:t,classes:n,pulsate:r=!1,rippleX:s,rippleY:a,rippleSize:l,in:u,onExited:f,timeout:p}=e,[h,m]=P.useState(!1),y=Oe(t,n.ripple,n.rippleVisible,r&&n.ripplePulsate),H={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),P.useEffect(()=>{if(!u&&f!=null){const w=setTimeout(f,p);return()=>{clearTimeout(w)}}},[f,u,p]),v.jsx("span",{className:y,style:H,children:v.jsx("span",{className:A})})}const io=Ge("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),fg=550,WS=80,JS=Vu` +`+b.stack}return{value:o,source:i,stack:g,digest:null}}function Bh(o,i,c){return{value:o,source:null,stack:c??null,digest:i??null}}function Vh(o,i){try{console.error(i.value)}catch(c){setTimeout(function(){throw c})}}var l3=typeof WeakMap=="function"?WeakMap:Map;function lb(o,i,c){c=ys(-1,c),c.tag=3,c.payload={element:null};var d=i.value;return c.callback=function(){$f||($f=!0,tm=d),Vh(o,i)},c}function cb(o,i,c){c=ys(-1,c),c.tag=3;var d=o.type.getDerivedStateFromError;if(typeof d=="function"){var g=i.value;c.payload=function(){return d(g)},c.callback=function(){Vh(o,i)}}var b=o.stateNode;return b!==null&&typeof b.componentDidCatch=="function"&&(c.callback=function(){Vh(o,i),typeof d!="function"&&(_s===null?_s=new Set([this]):_s.add(this));var T=i.stack;this.componentDidCatch(i.value,{componentStack:T!==null?T:""})}),c}function ub(o,i,c){var d=o.pingCache;if(d===null){d=o.pingCache=new l3;var g=new Set;d.set(i,g)}else g=d.get(i),g===void 0&&(g=new Set,d.set(i,g));g.has(c)||(g.add(c),o=x3.bind(null,o,i,c),i.then(o,o))}function fb(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 db(o,i,c,d,g){return o.mode&1?(o.flags|=65536,o.lanes=g,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=ys(-1,1),i.tag=2,Qs(c,i,1))),c.lanes|=1),o)}var c3=C.ReactCurrentOwner,Ar=!1;function lr(o,i,c,d){i.child=o===null?BP(i,null,c,d):Xa(i,o.child,c,d)}function pb(o,i,c,d,g){c=c.render;var b=i.ref;return La(i,g),d=Rh(o,i,c,d,b,g),c=Eh(),o!==null&&!Ar?(i.updateQueue=o.updateQueue,i.flags&=-2053,o.lanes&=~g,As(o,i,g)):(fn&&c&&vh(i),i.flags|=1,lr(o,i,d,g),i.child)}function vb(o,i,c,d,g){if(o===null){var b=c.type;return typeof b=="function"&&!lm(b)&&b.defaultProps===void 0&&c.compare===null&&c.defaultProps===void 0?(i.tag=15,i.type=b,hb(o,i,b,d,g)):(o=sd(c.type,null,d,i,i.mode,g),o.ref=i.ref,o.return=i,i.child=o)}if(b=o.child,!(o.lanes&g)){var T=b.memoizedProps;if(c=c.compare,c=c!==null?c:lc,c(T,d)&&o.ref===i.ref)return As(o,i,g)}return i.flags|=1,o=ni(b,d),o.ref=i.ref,o.return=i,i.child=o}function hb(o,i,c,d,g){if(o!==null){var b=o.memoizedProps;if(lc(b,d)&&o.ref===i.ref)if(Ar=!1,i.pendingProps=d=b,(o.lanes&g)!==0)o.flags&131072&&(Ar=!0);else return i.lanes=o.lanes,As(o,i,g)}return Ih(o,i,c,d,g)}function mb(o,i,c){var d=i.pendingProps,g=d.children,b=o!==null?o.memoizedState:null;if(d.mode==="hidden")if(!(i.mode&1))i.memoizedState={baseLanes:0,cachePool:null,transitions:null},nn(Ia,Vr),Vr|=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,nn(Ia,Vr),Vr|=o,null;i.memoizedState={baseLanes:0,cachePool:null,transitions:null},d=b!==null?b.baseLanes:c,nn(Ia,Vr),Vr|=d}else b!==null?(d=b.baseLanes|c,i.memoizedState=null):d=c,nn(Ia,Vr),Vr|=d;return lr(o,i,g,c),i.child}function gb(o,i){var c=i.ref;(o===null&&c!==null||o!==null&&o.ref!==c)&&(i.flags|=512,i.flags|=2097152)}function Ih(o,i,c,d,g){var b=yr(c)?ki:$n.current;return b=Ta(i,b),La(i,g),c=Rh(o,i,c,d,b,g),d=Eh(),o!==null&&!Ar?(i.updateQueue=o.updateQueue,i.flags&=-2053,o.lanes&=~g,As(o,i,g)):(fn&&d&&vh(i),i.flags|=1,lr(o,i,c,g),i.child)}function yb(o,i,c,d,g){if(yr(c)){var b=!0;Df(i)}else b=!1;if(La(i,g),i.stateNode===null)Gf(o,i),MP(i,c,d),Sh(i,c,d,g),d=!0;else if(o===null){var T=i.stateNode,V=i.memoizedProps;T.props=V;var q=T.context,fe=c.contextType;typeof fe=="object"&&fe!==null?fe=eo(fe):(fe=yr(c)?ki:$n.current,fe=Ta(i,fe));var ze=c.getDerivedStateFromProps,Ce=typeof ze=="function"||typeof T.getSnapshotBeforeUpdate=="function";Ce||typeof T.UNSAFE_componentWillReceiveProps!="function"&&typeof T.componentWillReceiveProps!="function"||(V!==d||q!==fe)&&LP(i,T,d,fe),Us=!1;var Se=i.memoizedState;T.state=Se,Nf(i,d,T,g),q=i.memoizedState,V!==d||Se!==q||gr.current||Us?(typeof ze=="function"&&(jh(i,c,ze,d),q=i.memoizedState),(V=Us||EP(i,c,V,d,Se,q,fe))?(Ce||typeof T.UNSAFE_componentWillMount!="function"&&typeof T.componentWillMount!="function"||(typeof T.componentWillMount=="function"&&T.componentWillMount(),typeof T.UNSAFE_componentWillMount=="function"&&T.UNSAFE_componentWillMount()),typeof T.componentDidMount=="function"&&(i.flags|=4194308)):(typeof T.componentDidMount=="function"&&(i.flags|=4194308),i.memoizedProps=d,i.memoizedState=q),T.props=d,T.state=q,T.context=fe,d=V):(typeof T.componentDidMount=="function"&&(i.flags|=4194308),d=!1)}else{T=i.stateNode,DP(o,i),V=i.memoizedProps,fe=i.type===i.elementType?V:wo(i.type,V),T.props=fe,Ce=i.pendingProps,Se=T.context,q=c.contextType,typeof q=="object"&&q!==null?q=eo(q):(q=yr(c)?ki:$n.current,q=Ta(i,q));var Ye=c.getDerivedStateFromProps;(ze=typeof Ye=="function"||typeof T.getSnapshotBeforeUpdate=="function")||typeof T.UNSAFE_componentWillReceiveProps!="function"&&typeof T.componentWillReceiveProps!="function"||(V!==Ce||Se!==q)&&LP(i,T,d,q),Us=!1,Se=i.memoizedState,T.state=Se,Nf(i,d,T,g);var it=i.memoizedState;V!==Ce||Se!==it||gr.current||Us?(typeof Ye=="function"&&(jh(i,c,Ye,d),it=i.memoizedState),(fe=Us||EP(i,c,fe,d,Se,it,q)||!1)?(ze||typeof T.UNSAFE_componentWillUpdate!="function"&&typeof T.componentWillUpdate!="function"||(typeof T.componentWillUpdate=="function"&&T.componentWillUpdate(d,it,q),typeof T.UNSAFE_componentWillUpdate=="function"&&T.UNSAFE_componentWillUpdate(d,it,q)),typeof T.componentDidUpdate=="function"&&(i.flags|=4),typeof T.getSnapshotBeforeUpdate=="function"&&(i.flags|=1024)):(typeof T.componentDidUpdate!="function"||V===o.memoizedProps&&Se===o.memoizedState||(i.flags|=4),typeof T.getSnapshotBeforeUpdate!="function"||V===o.memoizedProps&&Se===o.memoizedState||(i.flags|=1024),i.memoizedProps=d,i.memoizedState=it),T.props=d,T.state=it,T.context=q,d=fe):(typeof T.componentDidUpdate!="function"||V===o.memoizedProps&&Se===o.memoizedState||(i.flags|=4),typeof T.getSnapshotBeforeUpdate!="function"||V===o.memoizedProps&&Se===o.memoizedState||(i.flags|=1024),d=!1)}return Wh(o,i,c,d,b,g)}function Wh(o,i,c,d,g,b){gb(o,i);var T=(i.flags&128)!==0;if(!d&&!T)return g&&xP(i,c,!1),As(o,i,b);d=i.stateNode,c3.current=i;var V=T&&typeof c.getDerivedStateFromError!="function"?null:d.render();return i.flags|=1,o!==null&&T?(i.child=Xa(i,o.child,null,b),i.child=Xa(i,null,V,b)):lr(o,i,V,b),i.memoizedState=d.state,g&&xP(i,c,!0),i.child}function Ab(o){var i=o.stateNode;i.pendingContext?PP(o,i.pendingContext,i.pendingContext!==i.context):i.context&&PP(o,i.context,!1),zh(o,i.containerInfo)}function Pb(o,i,c,d,g){return Ea(),yh(g),i.flags|=256,lr(o,i,c,d),i.child}var Jh={dehydrated:null,treeContext:null,retryLane:0};function Fh(o){return{baseLanes:o,cachePool:null,transitions:null}}function bb(o,i,c){var d=i.pendingProps,g=vn.current,b=!1,T=(i.flags&128)!==0,V;if((V=T)||(V=o!==null&&o.memoizedState===null?!1:(g&2)!==0),V?(b=!0,i.flags&=-129):(o===null||o.memoizedState!==null)&&(g|=1),nn(vn,g&1),o===null)return gh(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):(T=d.children,o=d.fallback,b?(d=i.mode,b=i.child,T={mode:"hidden",children:T},!(d&1)&&b!==null?(b.childLanes=0,b.pendingProps=T):b=id(T,d,0,null),o=Wi(o,d,c,null),b.return=i,o.return=i,b.sibling=o,i.child=b,i.child.memoizedState=Fh(c),i.memoizedState=Jh,o):Yh(i,T));if(g=o.memoizedState,g!==null&&(V=g.dehydrated,V!==null))return u3(o,i,T,d,V,g,c);if(b){b=d.fallback,T=i.mode,g=o.child,V=g.sibling;var q={mode:"hidden",children:d.children};return!(T&1)&&i.child!==g?(d=i.child,d.childLanes=0,d.pendingProps=q,i.deletions=null):(d=ni(g,q),d.subtreeFlags=g.subtreeFlags&14680064),V!==null?b=ni(V,b):(b=Wi(b,T,c,null),b.flags|=2),b.return=i,d.return=i,d.sibling=b,i.child=d,d=b,b=i.child,T=o.child.memoizedState,T=T===null?Fh(c):{baseLanes:T.baseLanes|c,cachePool:null,transitions:T.transitions},b.memoizedState=T,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 Yh(o,i){return i=id({mode:"visible",children:i},o.mode,0,null),i.return=o,o.child=i}function Zf(o,i,c,d){return d!==null&&yh(d),Xa(i,o.child,null,c),o=Yh(i,i.pendingProps.children),o.flags|=2,i.memoizedState=null,o}function u3(o,i,c,d,g,b,T){if(c)return i.flags&256?(i.flags&=-257,d=Bh(Error(n(422))),Zf(o,i,T,d)):i.memoizedState!==null?(i.child=o.child,i.flags|=128,null):(b=d.fallback,g=i.mode,d=id({mode:"visible",children:d.children},g,0,null),b=Wi(b,g,T,null),b.flags|=2,d.return=i,b.return=i,d.sibling=b,i.child=d,i.mode&1&&Xa(i,o.child,null,T),i.child.memoizedState=Fh(T),i.memoizedState=Jh,b);if(!(i.mode&1))return Zf(o,i,T,null);if(g.data==="$!"){if(d=g.nextSibling&&g.nextSibling.dataset,d)var V=d.dgst;return d=V,b=Error(n(419)),d=Bh(b,d,void 0),Zf(o,i,T,d)}if(V=(T&o.childLanes)!==0,Ar||V){if(d=Fn,d!==null){switch(T&-T){case 4:g=2;break;case 16:g=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:g=32;break;case 536870912:g=268435456;break;default:g=0}g=g&(d.suspendedLanes|T)?0:g,g!==0&&g!==b.retryLane&&(b.retryLane=g,gs(o,g),So(d,o,g,-1))}return am(),d=Bh(Error(n(421))),Zf(o,i,T,d)}return g.data==="$?"?(i.flags|=128,i.child=o.child,i=w3.bind(null,o),g._reactRetry=i,null):(o=b.treeContext,Br=Ys(g.nextSibling),Nr=i,fn=!0,xo=null,o!==null&&(_r[$r++]=hs,_r[$r++]=ms,_r[$r++]=Ri,hs=o.id,ms=o.overflow,Ri=i),i=Yh(i,d.children),i.flags|=4096,i)}function xb(o,i,c){o.lanes|=i;var d=o.alternate;d!==null&&(d.lanes|=i),xh(o.return,i,c)}function qh(o,i,c,d,g){var b=o.memoizedState;b===null?o.memoizedState={isBackwards:i,rendering:null,renderingStartTime:0,last:d,tail:c,tailMode:g}:(b.isBackwards=i,b.rendering=null,b.renderingStartTime=0,b.last=d,b.tail=c,b.tailMode=g)}function wb(o,i,c){var d=i.pendingProps,g=d.revealOrder,b=d.tail;if(lr(o,i,d.children,c),d=vn.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&&xb(o,c,i);else if(o.tag===19)xb(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(nn(vn,d),!(i.mode&1))i.memoizedState=null;else switch(g){case"forwards":for(c=i.child,g=null;c!==null;)o=c.alternate,o!==null&&If(o)===null&&(g=c),c=c.sibling;c=g,c===null?(g=i.child,i.child=null):(g=c.sibling,c.sibling=null),qh(i,!1,g,c,b);break;case"backwards":for(c=null,g=i.child,i.child=null;g!==null;){if(o=g.alternate,o!==null&&If(o)===null){i.child=g;break}o=g.sibling,g.sibling=c,c=g,g=o}qh(i,!0,c,null,b);break;case"together":qh(i,!1,null,null,void 0);break;default:i.memoizedState=null}return i.child}function Gf(o,i){!(i.mode&1)&&o!==null&&(o.alternate=null,i.alternate=null,i.flags|=2)}function As(o,i,c){if(o!==null&&(i.dependencies=o.dependencies),Ni|=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 f3(o,i,c){switch(i.tag){case 3:Ab(i),Ea();break;case 5:VP(i);break;case 1:yr(i.type)&&Df(i);break;case 4:zh(i,i.stateNode.containerInfo);break;case 10:var d=i.type._context,g=i.memoizedProps.value;nn(Mf,d._currentValue),d._currentValue=g;break;case 13:if(d=i.memoizedState,d!==null)return d.dehydrated!==null?(nn(vn,vn.current&1),i.flags|=128,null):c&i.child.childLanes?bb(o,i,c):(nn(vn,vn.current&1),o=As(o,i,c),o!==null?o.sibling:null);nn(vn,vn.current&1);break;case 19:if(d=(c&i.childLanes)!==0,o.flags&128){if(d)return wb(o,i,c);i.flags|=128}if(g=i.memoizedState,g!==null&&(g.rendering=null,g.tail=null,g.lastEffect=null),nn(vn,vn.current),d)break;return null;case 22:case 23:return i.lanes=0,mb(o,i,c)}return As(o,i,c)}var Hb,Zh,jb,Sb;Hb=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}},Zh=function(){},jb=function(o,i,c,d){var g=o.memoizedProps;if(g!==d){o=i.stateNode,Li(Wo.current);var b=null;switch(c){case"input":g=we(o,g),d=we(o,d),b=[];break;case"select":g=E({},g,{value:void 0}),d=E({},d,{value:void 0}),b=[];break;case"textarea":g=ce(o,g),d=ce(o,d),b=[];break;default:typeof g.onClick!="function"&&typeof d.onClick=="function"&&(o.onclick=zf)}Y(c,d);var T;c=null;for(fe in g)if(!d.hasOwnProperty(fe)&&g.hasOwnProperty(fe)&&g[fe]!=null)if(fe==="style"){var V=g[fe];for(T in V)V.hasOwnProperty(T)&&(c||(c={}),c[T]="")}else fe!=="dangerouslySetInnerHTML"&&fe!=="children"&&fe!=="suppressContentEditableWarning"&&fe!=="suppressHydrationWarning"&&fe!=="autoFocus"&&(s.hasOwnProperty(fe)?b||(b=[]):(b=b||[]).push(fe,null));for(fe in d){var q=d[fe];if(V=g!=null?g[fe]:void 0,d.hasOwnProperty(fe)&&q!==V&&(q!=null||V!=null))if(fe==="style")if(V){for(T in V)!V.hasOwnProperty(T)||q&&q.hasOwnProperty(T)||(c||(c={}),c[T]="");for(T in q)q.hasOwnProperty(T)&&V[T]!==q[T]&&(c||(c={}),c[T]=q[T])}else c||(b||(b=[]),b.push(fe,c)),c=q;else fe==="dangerouslySetInnerHTML"?(q=q?q.__html:void 0,V=V?V.__html:void 0,q!=null&&V!==q&&(b=b||[]).push(fe,q)):fe==="children"?typeof q!="string"&&typeof q!="number"||(b=b||[]).push(fe,""+q):fe!=="suppressContentEditableWarning"&&fe!=="suppressHydrationWarning"&&(s.hasOwnProperty(fe)?(q!=null&&fe==="onScroll"&&sn("scroll",o),b||V===q||(b=[])):(b=b||[]).push(fe,q))}c&&(b=b||[]).push("style",c);var fe=b;(i.updateQueue=fe)&&(i.flags|=4)}},Sb=function(o,i,c,d){c!==d&&(i.flags|=4)};function wc(o,i){if(!fn)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 g=o.child;g!==null;)c|=g.lanes|g.childLanes,d|=g.subtreeFlags&14680064,d|=g.flags&14680064,g.return=o,g=g.sibling;else for(g=o.child;g!==null;)c|=g.lanes|g.childLanes,d|=g.subtreeFlags,d|=g.flags,g.return=o,g=g.sibling;return o.subtreeFlags|=d,o.childLanes=c,i}function d3(o,i,c){var d=i.pendingProps;switch(hh(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 yr(i.type)&&Cf(),tr(i),null;case 3:return d=i.stateNode,Na(),an(gr),an($n),Dh(),d.pendingContext&&(d.context=d.pendingContext,d.pendingContext=null),(o===null||o.child===null)&&(Ef(i)?i.flags|=4:o===null||o.memoizedState.isDehydrated&&!(i.flags&256)||(i.flags|=1024,xo!==null&&(om(xo),xo=null))),Zh(o,i),tr(i),null;case 5:Oh(i);var g=Li(yc.current);if(c=i.type,o!==null&&i.stateNode!=null)jb(o,i,c,d,g),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=Li(Wo.current),Ef(i)){d=i.stateNode,c=i.type;var b=i.memoizedProps;switch(d[Io]=i,d[pc]=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(g=0;g<\/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[Io]=i,o[pc]=d,Hb(o,i,!1,!1),i.stateNode=o;e:{switch(T=Pe(c,d),c){case"dialog":sn("cancel",o),sn("close",o),g=d;break;case"iframe":case"object":case"embed":sn("load",o),g=d;break;case"video":case"audio":for(g=0;gWa&&(i.flags|=128,d=!0,wc(b,!1),i.lanes=4194304)}else{if(!d)if(o=If(T),o!==null){if(i.flags|=128,d=!0,c=o.updateQueue,c!==null&&(i.updateQueue=c,i.flags|=4),wc(b,!0),b.tail===null&&b.tailMode==="hidden"&&!T.alternate&&!fn)return tr(i),null}else 2*tn()-b.renderingStartTime>Wa&&c!==1073741824&&(i.flags|=128,d=!0,wc(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=tn(),i.sibling=null,c=vn.current,nn(vn,d?c&1|2:c&1),i):(tr(i),null);case 22:case 23:return im(),d=i.memoizedState!==null,o!==null&&o.memoizedState!==null!==d&&(i.flags|=8192),d&&i.mode&1?Vr&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 p3(o,i){switch(hh(i),i.tag){case 1:return yr(i.type)&&Cf(),o=i.flags,o&65536?(i.flags=o&-65537|128,i):null;case 3:return Na(),an(gr),an($n),Dh(),o=i.flags,o&65536&&!(o&128)?(i.flags=o&-65537|128,i):null;case 5:return Oh(i),null;case 13:if(an(vn),o=i.memoizedState,o!==null&&o.dehydrated!==null){if(i.alternate===null)throw Error(n(340));Ea()}return o=i.flags,o&65536?(i.flags=o&-65537|128,i):null;case 19:return an(vn),null;case 4:return Na(),null;case 10:return bh(i.type._context),null;case 22:case 23:return im(),null;case 24:return null;default:return null}}var Uf=!1,nr=!1,v3=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){bn(o,i,d)}else c.current=null}function Gh(o,i,c){try{c()}catch(d){bn(o,i,d)}}var zb=!1;function h3(o,i){if(ih=hf,o=oP(),_v(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,V=-1,q=-1,fe=0,ze=0,Ce=o,Se=null;t:for(;;){for(var Ye;Ce!==c||g!==0&&Ce.nodeType!==3||(V=T+g),Ce!==b||d!==0&&Ce.nodeType!==3||(q=T+d),Ce.nodeType===3&&(T+=Ce.nodeValue.length),(Ye=Ce.firstChild)!==null;)Se=Ce,Ce=Ye;for(;;){if(Ce===o)break t;if(Se===c&&++fe===g&&(V=T),Se===b&&++ze===d&&(q=T),(Ye=Ce.nextSibling)!==null)break;Ce=Se,Se=Ce.parentNode}Ce=Ye}c=V===-1||q===-1?null:{start:V,end:q}}else c=null}c=c||{start:0,end:0}}else c=null;for(ah={focusedElem:o,selectionRange:c},hf=!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 ut=it.memoizedProps,On=it.memoizedState,ie=i.stateNode,Q=ie.getSnapshotBeforeUpdate(i.elementType===i.type?ut:wo(i.type,ut),On);ie.__reactInternalSnapshotBeforeUpdate=Q}break;case 3:var ae=i.stateNode.containerInfo;ae.nodeType===1?ae.textContent="":ae.nodeType===9&&ae.documentElement&&ae.removeChild(ae.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(n(163))}}catch(Me){bn(i,i.return,Me)}if(o=i.sibling,o!==null){o.return=i.return,et=o;break}et=i.return}return it=zb,zb=!1,it}function Hc(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&&Gh(i,c,b)}g=g.next}while(g!==d)}}function Qf(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 Uh(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 Ob(o){var i=o.alternate;i!==null&&(o.alternate=null,Ob(i)),o.child=null,o.deletions=null,o.sibling=null,o.tag===5&&(i=o.stateNode,i!==null&&(delete i[Io],delete i[pc],delete i[fh],delete i[K5],delete i[_5])),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 Cb(o){return o.tag===5||o.tag===3||o.tag===4}function Db(o){e:for(;;){for(;o.sibling===null;){if(o.return===null||Cb(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 Qh(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=zf));else if(d!==4&&(o=o.child,o!==null))for(Qh(o,i,c),o=o.sibling;o!==null;)Qh(o,i,c),o=o.sibling}function Kh(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(Kh(o,i,c),o=o.sibling;o!==null;)Kh(o,i,c),o=o.sibling}var Un=null,Ho=!1;function Ks(o,i,c){for(c=c.child;c!==null;)Tb(o,i,c),c=c.sibling}function Tb(o,i,c){if(Xn&&typeof Xn.onCommitFiberUnmount=="function")try{Xn.onCommitFiberUnmount(ar,c)}catch{}switch(c.tag){case 5:nr||Va(c,i);case 6:var d=Un,g=Ho;Un=null,Ks(o,i,c),Un=d,Ho=g,Un!==null&&(Ho?(o=Un,c=c.stateNode,o.nodeType===8?o.parentNode.removeChild(c):o.removeChild(c)):Un.removeChild(c.stateNode));break;case 18:Un!==null&&(Ho?(o=Un,c=c.stateNode,o.nodeType===8?uh(o.parentNode,c):o.nodeType===1&&uh(o,c),nc(o)):uh(Un,c.stateNode));break;case 4:d=Un,g=Ho,Un=c.stateNode.containerInfo,Ho=!0,Ks(o,i,c),Un=d,Ho=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)&&Gh(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(V){bn(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 kb(o){var i=o.updateQueue;if(i!==null){o.updateQueue=null;var c=o.stateNode;c===null&&(c=o.stateNode=new v3),i.forEach(function(d){var g=H3.bind(null,o,d);c.has(d)||(c.add(d),d.then(g,g))})}}function jo(o,i){var c=i.deletions;if(c!==null)for(var d=0;dg&&(g=T),d&=~b}if(d=g,d=tn()-d,d=(120>d?120:480>d?480:1080>d?1080:1920>d?1920:3e3>d?3e3:4320>d?4320:1960*g3(d/1960))-d,10o?16:o,$s===null)var d=!1;else{if(o=$s,$s=null,td=0,Vt&6)throw Error(n(331));var g=Vt;for(Vt|=4,et=o.current;et!==null;){var b=et,T=b.child;if(et.flags&16){var V=b.deletions;if(V!==null){for(var q=0;qtn()-em?Vi(o,0):$h|=c),br(o,i)}function Yb(o,i){i===0&&(o.mode&1?(i=ff,ff<<=1,!(ff&130023424)&&(ff=4194304)):i=1);var c=cr();o=gs(o,i),o!==null&&(Kl(o,i,c),br(o,c))}function w3(o){var i=o.memoizedState,c=0;i!==null&&(c=i.retryLane),Yb(o,c)}function H3(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),Yb(o,c)}var qb;qb=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,f3(o,i,c);Ar=!!(o.flags&131072)}else Ar=!1,fn&&i.flags&1048576&&HP(i,Rf,i.index);switch(i.lanes=0,i.tag){case 2:var d=i.type;Gf(o,i),o=i.pendingProps;var g=Ta(i,$n.current);La(i,c),g=Rh(null,i,d,o,g,c);var b=Eh();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,Df(i)):b=!1,i.memoizedState=g.state!==null&&g.state!==void 0?g.state:null,Hh(i),g.updater=Bf,i.stateNode=g,g._reactInternals=i,Sh(i,d,o,c),i=Wh(null,i,d,!0,b,c)):(i.tag=0,fn&&b&&vh(i),lr(null,i,g,c),i=i.child),i;case 16:d=i.elementType;e:{switch(Gf(o,i),o=i.pendingProps,g=d._init,d=g(d._payload),i.type=d,g=i.tag=S3(d),o=wo(d,o),g){case 0:i=Ih(null,i,d,o,c);break e;case 1:i=yb(null,i,d,o,c);break e;case 11:i=pb(null,i,d,o,c);break e;case 14:i=vb(null,i,d,wo(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:wo(d,g),Ih(o,i,d,g,c);case 1:return d=i.type,g=i.pendingProps,g=i.elementType===d?g:wo(d,g),yb(o,i,d,g,c);case 3:e:{if(Ab(i),o===null)throw Error(n(387));d=i.pendingProps,b=i.memoizedState,g=b.element,DP(o,i),Nf(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=Pb(o,i,d,c,g);break e}else if(d!==g){g=Ba(Error(n(424)),i),i=Pb(o,i,d,c,g);break e}else for(Br=Ys(i.stateNode.containerInfo.firstChild),Nr=i,fn=!0,xo=null,c=BP(i,null,d,c),i.child=c;c;)c.flags=c.flags&-3|4096,c=c.sibling;else{if(Ea(),d===g){i=As(o,i,c);break e}lr(o,i,d,c)}i=i.child}return i;case 5:return VP(i),o===null&&gh(i),d=i.type,g=i.pendingProps,b=o!==null?o.memoizedProps:null,T=g.children,lh(d,g)?T=null:b!==null&&lh(d,b)&&(i.flags|=32),gb(o,i),lr(o,i,T,c),i.child;case 6:return o===null&&gh(i),null;case 13:return bb(o,i,c);case 4:return zh(i,i.stateNode.containerInfo),d=i.pendingProps,o===null?i.child=Xa(i,null,d,c):lr(o,i,d,c),i.child;case 11:return d=i.type,g=i.pendingProps,g=i.elementType===d?g:wo(d,g),pb(o,i,d,g,c);case 7:return lr(o,i,i.pendingProps,c),i.child;case 8:return lr(o,i,i.pendingProps.children,c),i.child;case 12:return lr(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,nn(Mf,d._currentValue),d._currentValue=T,b!==null)if(bo(b.value,T)){if(b.children===g.children&&!gr.current){i=As(o,i,c);break e}}else for(b=i.child,b!==null&&(b.return=i);b!==null;){var V=b.dependencies;if(V!==null){T=b.child;for(var q=V.firstContext;q!==null;){if(q.context===d){if(b.tag===1){q=ys(-1,c&-c),q.tag=2;var fe=b.updateQueue;if(fe!==null){fe=fe.shared;var ze=fe.pending;ze===null?q.next=q:(q.next=ze.next,ze.next=q),fe.pending=q}}b.lanes|=c,q=b.alternate,q!==null&&(q.lanes|=c),xh(b.return,c,i),V.lanes|=c;break}q=q.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,V=T.alternate,V!==null&&(V.lanes|=c),xh(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}lr(o,i,g.children,c),i=i.child}return i;case 9:return g=i.type,d=i.pendingProps.children,La(i,c),g=eo(g),d=d(g),i.flags|=1,lr(o,i,d,c),i.child;case 14:return d=i.type,g=wo(d,i.pendingProps),g=wo(d.type,g),vb(o,i,d,g,c);case 15:return hb(o,i,i.type,i.pendingProps,c);case 17:return d=i.type,g=i.pendingProps,g=i.elementType===d?g:wo(d,g),Gf(o,i),i.tag=1,yr(d)?(o=!0,Df(i)):o=!1,La(i,c),MP(i,d,g),Sh(i,d,g,c),Wh(null,i,d,!0,o,c);case 19:return wb(o,i,c);case 22:return mb(o,i,c)}throw Error(n(156,i.tag))};function Zb(o,i){return Nt(o,i)}function j3(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 ro(o,i,c,d){return new j3(o,i,c,d)}function lm(o){return o=o.prototype,!(!o||!o.isReactComponent)}function S3(o){if(typeof o=="function")return lm(o)?1:0;if(o!=null){if(o=o.$$typeof,o===I)return 11;if(o===W)return 14}return 2}function ni(o,i){var c=o.alternate;return c===null?(c=ro(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 sd(o,i,c,d,g,b){var T=2;if(d=o,typeof o=="function")lm(o)&&(T=1);else if(typeof o=="string")T=5;else e:switch(o){case R:return Wi(c.children,g,b,i);case M:T=8,g|=8;break;case L:return o=ro(12,c,i,g|2),o.elementType=L,o.lanes=b,o;case J:return o=ro(13,c,i,g),o.elementType=J,o.lanes=b,o;case K:return o=ro(19,c,i,g),o.elementType=K,o.lanes=b,o;case re:return id(c,g,b,i);default:if(typeof o=="object"&&o!==null)switch(o.$$typeof){case j:T=10;break e;case B:T=9;break e;case I:T=11;break e;case W:T=14;break e;case ne:T=16,d=null;break e}throw Error(n(130,o==null?o:typeof o,""))}return i=ro(T,c,i,g),i.elementType=o,i.type=d,i.lanes=b,i}function Wi(o,i,c,d){return o=ro(7,o,d,i),o.lanes=c,o}function id(o,i,c,d){return o=ro(22,o,d,i),o.elementType=re,o.lanes=c,o.stateNode={isHidden:!1},o}function cm(o,i,c){return o=ro(6,o,null,i),o.lanes=c,o}function um(o,i,c){return i=ro(4,o.children!==null?o.children:[],o.key,i),i.lanes=c,i.stateNode={containerInfo:o.containerInfo,pendingChildren:null,implementation:o.implementation},i}function z3(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=Xv(0),this.expirationTimes=Xv(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Xv(0),this.identifierPrefix=d,this.onRecoverableError=g,this.mutableSourceEagerHydrationData=null}function fm(o,i,c,d,g,b,T,V,q){return o=new z3(o,i,c,V,q),i===1?(i=1,b===!0&&(i|=8)):i=0,b=ro(3,null,null,i),o.current=b,b.stateNode=o,b.memoizedState={element:d,isDehydrated:c,cache:null,transitions:null,pendingSuspenseBoundaries:null},Hh(b),o}function O3(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(),Sm.exports=OS(),Sm.exports}var d1=f1();const $c=Op(d1),J8={disabled:!1},ip=Ze.createContext(null);var CS=function(t){return t.scrollTop},eu="unmounted",Yi="exited",qi="entering",tl="entered",ug="exiting",No=function(e){u1(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=Yi,a.appearStatus=qi):f=tl:r.unmountOnExit||r.mountOnEnter?f=eu:f=Yi,a.state={status:f},a.nextCallback=null,a}t.getDerivedStateFromProps=function(s,a){var l=s.in;return l&&a.status===eu?{status:Yi}: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!==qi&&l!==tl&&(a=qi):(l===qi||l===tl)&&(a=ug)}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===qi){if(this.props.unmountOnExit||this.props.mountOnEnter){var l=this.props.nodeRef?this.props.nodeRef.current:$c.findDOMNode(this);l&&CS(l)}this.performEnter(s)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Yi&&this.setState({status:eu})},n.performEnter=function(s){var a=this,l=this.props.enter,u=this.context?this.context.isMounting:s,f=this.props.nodeRef?[u]:[$c.findDOMNode(this),u],p=f[0],h=f[1],m=this.getTimeouts(),y=u?m.appear:m.enter;if(!s&&!l||J8.disabled){this.safeSetState({status:tl},function(){a.props.onEntered(p)});return}this.props.onEnter(p,h),this.safeSetState({status:qi},function(){a.props.onEntering(p,h),a.onTransitionEnd(y,function(){a.safeSetState({status:tl},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:$c.findDOMNode(this);if(!a||J8.disabled){this.safeSetState({status:Yi},function(){s.props.onExited(u)});return}this.props.onExit(u),this.safeSetState({status:ug},function(){s.props.onExiting(u),s.onTransitionEnd(l.exit,function(){s.safeSetState({status:Yi},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:$c.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===eu)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=c1(a,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return Ze.createElement(ip.Provider,{value:null},typeof l=="function"?l(s,u):Ze.cloneElement(Ze.Children.only(l),u))},t}(Ze.Component);No.contextType=ip;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=eu;No.EXITED=Yi;No.ENTERING=qi;No.ENTERED=tl;No.EXITING=ug;function DS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xy(e,t){var n=function(a){return t&&P.isValidElement(a)?t(a):a},r=Object.create(null);return e&&P.Children.map(e,function(s){return s}).forEach(function(s){r[s.key]=n(s)}),r}function TS(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 Cl(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 LS(e){return Ge("MuiPaper",e)}Ue("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 XS=e=>{const{square:t,elevation:n,variant:r,classes:s}=e,a={root:["root",r,!t&&"rounded",r==="elevation"&&`elevation${n}`]};return Ke(a,LS,s)},NS=pe("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}`]]}})(Qe(({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)"}}]}))),Ur=P.forwardRef(function(t,n){var H;const r=$e({props:t,name:"MuiPaper"}),s=Kr(),{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},y=XS(m);return v.jsx(NS,{as:l,ownerState:m,className:Oe(y.root,a),ref:n,...h,style:{...p==="elevation"&&{"--Paper-shadow":(s.vars||s).shadows[u],...s.vars&&{"--Paper-overlay":(H=s.vars.overlays)==null?void 0:H[u]},...!s.vars&&s.palette.mode==="dark"&&{"--Paper-overlay":`linear-gradient(${Pt("#fff",lg(u))}, ${Pt("#fff",lg(u))})`}},...h.style}})});function Cn(e,t){const{className:n,elementType:r,ownerState:s,externalForwardedProps:a,internalForwardedProps:l,...u}=t,{component:f,slots:p={[e]:void 0},slotProps:h={[e]:void 0},...m}=a,y=p[e]||r,H=Q0(h[e],s),{props:{component:A,...w},internalRef:x}=U0({className:n,...u,externalForwardedProps:e==="root"?m:void 0,externalSlotProps:H}),S=rn(x,H==null?void 0:H.ref,t.ref),z=e==="root"?A||f:A,O=G0(y,{...e==="root"&&!f&&!p[e]&&l,...e!=="root"&&!p[e]&&l,...w,...z&&{as:z},ref:S},s);return[y,O]}class ap{constructor(){Cc(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 ap}static use(){const t=q0(ap.create).current,[n,r]=P.useState(!1);return t.shouldMount=n,t.setShouldMount=r,P.useEffect(t.mountEffect,[n]),t}mount(){return this.mounted||(this.mounted=VS(),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 BS(){return ap.use()}function VS(){let e,t;const n=new Promise((r,s)=>{e=r,t=s});return n.resolve=e,n.reject=t,n}function IS(e){const{className:t,classes:n,pulsate:r=!1,rippleX:s,rippleY:a,rippleSize:l,in:u,onExited:f,timeout:p}=e,[h,m]=P.useState(!1),y=Oe(t,n.ripple,n.rippleVisible,r&&n.ripplePulsate),H={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),P.useEffect(()=>{if(!u&&f!=null){const w=setTimeout(f,p);return()=>{clearTimeout(w)}}},[f,u,p]),v.jsx("span",{className:y,style:H,children:v.jsx("span",{className:A})})}const ao=Ue("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),fg=550,WS=80,JS=Vu` 0% { transform: scale(0); opacity: 0.1; @@ -127,7 +127,7 @@ Error generating stack: `+b.message+` opacity: 0; position: absolute; - &.${io.rippleVisible} { + &.${ao.rippleVisible} { opacity: 0.3; transform: scale(1); animation-name: ${JS}; @@ -135,11 +135,11 @@ Error generating stack: `+b.message+` animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut}; } - &.${io.ripplePulsate} { + &.${ao.ripplePulsate} { animation-duration: ${({theme:e})=>e.transitions.duration.shorter}ms; } - & .${io.child} { + & .${ao.child} { opacity: 1; display: block; width: 100%; @@ -148,14 +148,14 @@ Error generating stack: `+b.message+` background-color: currentColor; } - & .${io.childLeaving} { + & .${ao.childLeaving} { opacity: 0; animation-name: ${FS}; animation-duration: ${fg}ms; animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut}; } - & .${io.childPulsate} { + & .${ao.childPulsate} { position: absolute; /* @noflip */ left: 0px; @@ -166,8 +166,8 @@ Error generating stack: `+b.message+` animation-iteration-count: infinite; animation-delay: 200ms; } -`,GS=P.forwardRef(function(t,n){const r=$e({props:t,name:"MuiTouchRipple"}),{center:s=!1,classes:a={},className:l,...u}=r,[f,p]=P.useState([]),h=P.useRef(0),m=P.useRef(null);P.useEffect(()=>{m.current&&(m.current(),m.current=null)},[f]);const y=P.useRef(!1),H=Gi(),A=P.useRef(null),w=P.useRef(null),x=P.useCallback(C=>{const{pulsate:D,rippleX:k,rippleY:R,rippleSize:M,cb:L}=C;p(j=>[...j,v.jsx(ZS,{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:fg,pulsate:D,rippleX:k,rippleY:R,rippleSize:M},h.current)]),h.current+=1,m.current=L},[a]),S=P.useCallback((C={},D={},k=()=>{})=>{const{pulsate:R=!1,center:M=s||D.pulsate,fakeElement:L=!1}=D;if((C==null?void 0:C.type)==="mousedown"&&y.current){y.current=!1;return}(C==null?void 0:C.type)==="touchstart"&&(y.current=!0);const j=L?null:w.current,B=j?j.getBoundingClientRect():{width:0,height:0,left:0,top:0};let I,J,K;if(M||C===void 0||C.clientX===0&&C.clientY===0||!C.clientX&&!C.touches)I=Math.round(B.width/2),J=Math.round(B.height/2);else{const{clientX:W,clientY:ne}=C.touches&&C.touches.length>0?C.touches[0]:C;I=Math.round(W-B.left),J=Math.round(ne-B.top)}if(M)K=Math.sqrt((2*B.width**2+B.height**2)/3),K%2===0&&(K+=1);else{const W=Math.max(Math.abs((j?j.clientWidth:0)-I),I)*2+2,ne=Math.max(Math.abs((j?j.clientHeight:0)-J),J)*2+2;K=Math.sqrt(W**2+ne**2)}C!=null&&C.touches?A.current===null&&(A.current=()=>{x({pulsate:R,rippleX:I,rippleY:J,rippleSize:K,cb:k})},H.start(WS,()=>{A.current&&(A.current(),A.current=null)})):x({pulsate:R,rippleX:I,rippleY:J,rippleSize:K,cb:k})},[s,x,H]),z=P.useCallback(()=>{S({},{pulsate:!0})},[S]),O=P.useCallback((C,D)=>{if(H.clear(),(C==null?void 0:C.type)==="touchend"&&A.current){A.current(),A.current=null,H.start(0,()=>{O(C,D)});return}A.current=null,p(k=>k.length>0?k.slice(1):k),m.current=D},[H]);return P.useImperativeHandle(n,()=>({pulsate:z,start:S,stop:O}),[z,S,O]),v.jsx(qS,{className:Oe(io.root,a.root,l),ref:w,...u,children:v.jsx(wy,{component:null,exit:!0,children:f})})});function US(e){return Ze("MuiButtonBase",e)}const QS=Ge("MuiButtonBase",["root","disabled","focusVisible"]),KS=e=>{const{disabled:t,focusVisible:n,focusVisibleClassName:r,classes:s}=e,l=Qe({root:["root",t&&"disabled",n&&"focusVisible"]},US,s);return n&&r&&(l.root+=` ${r}`),l},_S=pe("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"},[`&.${QS.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),fa=P.forwardRef(function(t,n){const r=$e({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:y=!1,focusVisibleClassName:H,LinkComponent:A="a",onBlur:w,onClick:x,onContextMenu:S,onDragLeave:z,onFocus:O,onFocusVisible:C,onKeyDown:D,onKeyUp:k,onMouseDown:R,onMouseLeave:M,onMouseUp:L,onTouchEnd:j,onTouchMove:B,onTouchStart:I,tabIndex:J=0,TouchRippleProps:K,touchRippleRef:W,type:ne,...re}=r,F=P.useRef(null),_=BS(),E=rn(_.ref,W),[G,X]=P.useState(!1);p&&G&&X(!1),P.useImperativeHandle(s,()=>({focusVisible:()=>{X(!0),F.current.focus()}}),[]);const ee=_.shouldMount&&!h&&!p;P.useEffect(()=>{G&&y&&!h&&_.pulsate()},[h,y,G,_]);const te=xs(_,"start",R,m),ue=xs(_,"stop",S,m),de=xs(_,"stop",z,m),xe=xs(_,"stop",L,m),ve=xs(_,"stop",ce=>{G&&ce.preventDefault(),M&&M(ce)},m),be=xs(_,"start",I,m),Xe=xs(_,"stop",j,m),Ie=xs(_,"stop",B,m),He=xs(_,"stop",ce=>{Ol(ce.target)||X(!1),w&&w(ce)},!1),Ke=mr(ce=>{F.current||(F.current=ce.currentTarget),Ol(ce.target)&&(X(!0),C&&C(ce)),O&&O(ce)}),we=()=>{const ce=F.current;return f&&f!=="button"&&!(ce.tagName==="A"&&ce.href)},tt=mr(ce=>{y&&!ce.repeat&&G&&ce.key===" "&&_.stop(ce,()=>{_.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(),x&&x(ce))}),Le=mr(ce=>{y&&ce.key===" "&&G&&!ce.defaultPrevented&&_.stop(ce,()=>{_.pulsate(ce)}),k&&k(ce),x&&ce.target===ce.currentTarget&&we()&&ce.key===" "&&!ce.defaultPrevented&&x(ce)});let dt=f;dt==="button"&&(re.href||re.to)&&(dt=A);const N={};dt==="button"?(N.type=ne===void 0?"button":ne,N.disabled=p):(!re.href&&!re.to&&(N.role="button"),p&&(N["aria-disabled"]=p));const $=rn(n,F),se={...r,centerRipple:a,component:f,disabled:p,disableRipple:h,disableTouchRipple:m,focusRipple:y,tabIndex:J,focusVisible:G},ye=KS(se);return v.jsxs(_S,{as:dt,className:Oe(ye.root,u),ownerState:se,onBlur:He,onClick:x,onContextMenu:ue,onFocus:Ke,onKeyDown:tt,onKeyUp:Le,onMouseDown:te,onMouseLeave:ve,onMouseUp:xe,onDragLeave:de,onTouchEnd:Xe,onTouchMove:Ie,onTouchStart:be,ref:$,tabIndex:p?-1:J,type:ne,...N,...re,children:[l,ee?v.jsx(GS,{ref:E,center:a,...K}):null]})});function xs(e,t,n,r=!1){return mr(s=>(n&&n(s),r||e[t](s),!0))}function $S(e){return typeof e.main=="string"}function ez(e,t=[]){if(!$S(e))return!1;for(const n of t)if(!e.hasOwnProperty(n)||typeof e[n]!="string")return!1;return!0}function mn(e=[]){return([,t])=>t&&ez(t,e)}function tz(e){return Ze("MuiAlert",e)}const F8=Ge("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 nz(e){return Ze("MuiIconButton",e)}const rz=Ge("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"]),oz=e=>{const{classes:t,disabled:n,color:r,edge:s,size:a}=e,l={root:["root",n&&"disabled",r!=="default"&&`color${me(r)}`,s&&`edge${me(s)}`,`size${me(a)}`]};return Qe(l,nz,t)},sz=pe(fa,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color!=="default"&&t[`color${me(n.color)}`],n.edge&&t[`edge${me(n.edge)}`],t[`size${me(n.size)}`]]}})(Ue(({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}}]})),Ue(({theme:e})=>({variants:[{props:{color:"inherit"},style:{color:"inherit"}},...Object.entries(e.palette).filter(mn()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}})),...Object.entries(e.palette).filter(mn()).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)}}],[`&.${rz.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled}}))),zr=P.forwardRef(function(t,n){const r=$e({props:t,name:"MuiIconButton"}),{edge:s=!1,children:a,className:l,color:u="default",disabled:f=!1,disableFocusRipple:p=!1,size:h="medium",...m}=r,y={...r,edge:s,color:u,disabled:f,disableFocusRipple:p,size:h},H=oz(y);return v.jsx(sz,{className:Oe(H.root,l),centerRipple:!0,focusRipple:!p,disabled:f,ref:n,...m,ownerState:y,children: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"),az=At(v.jsx("path",{d:"M12 5.99L19.53 19H4.47L12 5.99M12 2L1 21h22L12 2zm1 14h-2v2h2v-2zm0-6h-2v4h2v-4z"}),"ReportProblemOutlined"),lz=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"),cz=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"),p1=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"),uz=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 Qe(a,tz,s)},fz=pe(Gr,{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)}`]]}})(Ue(({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(mn(["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),[`& .${F8.icon}`]:e.vars?{color:e.vars.palette.Alert[`${r}IconColor`]}:{color:e.palette[r].main}}})),...Object.entries(e.palette).filter(mn(["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}`,[`& .${F8.icon}`]:e.vars?{color:e.vars.palette.Alert[`${r}IconColor`]}:{color:e.palette[r].main}}})),...Object.entries(e.palette).filter(mn(["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)}}}))]}})),dz=pe("div",{name:"MuiAlert",slot:"Icon",overridesResolver:(e,t)=>t.icon})({marginRight:12,padding:"7px 0",display:"flex",fontSize:22,opacity:.9}),pz=pe("div",{name:"MuiAlert",slot:"Message",overridesResolver:(e,t)=>t.message})({padding:"8px 0",minWidth:0,overflow:"auto"}),Y8=pe("div",{name:"MuiAlert",slot:"Action",overridesResolver:(e,t)=>t.action})({display:"flex",alignItems:"flex-start",padding:"4px 0 0 16px",marginLeft:"auto",marginRight:-8}),q8={success:v.jsx(iz,{fontSize:"inherit"}),warning:v.jsx(az,{fontSize:"inherit"}),error:v.jsx(lz,{fontSize:"inherit"}),info:v.jsx(cz,{fontSize:"inherit"})},jy=P.forwardRef(function(t,n){const r=$e({props:t,name:"MuiAlert"}),{action:s,children:a,className:l,closeText:u="Close",color:f,components:p={},componentsProps:h={},icon:m,iconMapping:y=q8,onClose:H,role:A="alert",severity:w="success",slotProps:x={},slots:S={},variant:z="standard",...O}=r,C={...r,color:f,severity:w,variant:z,colorSeverity:f||w},D=uz(C),k={slots:{closeButton:p.CloseButton,closeIcon:p.CloseIcon,...S},slotProps:{...h,...x}},[R,M]=Cn("closeButton",{elementType:zr,externalForwardedProps:k,ownerState:C}),[L,j]=Cn("closeIcon",{elementType:p1,externalForwardedProps:k,ownerState:C});return v.jsxs(fz,{role:A,elevation:0,ownerState:C,className:Oe(D.root,l),ref:n,...O,children:[m!==!1?v.jsx(dz,{ownerState:C,className:D.icon,children:m||y[w]||q8[w]}):null,v.jsx(pz,{ownerState:C,className:D.message,children:a}),s!=null?v.jsx(Y8,{ownerState:C,className:D.action,children:s}):null,s==null&&H?v.jsx(Y8,{ownerState:C,className:D.action,children:v.jsx(R,{size:"small","aria-label":u,title:u,color:"inherit",onClick:H,...M,children:v.jsx(L,{fontSize:"small",...j})})}):null]})});function vz(e){return Ze("MuiTypography",e)}const Z8=Ge("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]),hz={primary:!0,secondary:!0,error:!0,info:!0,success:!0,warning:!0,textPrimary:!0,textSecondary:!0,textDisabled:!0},mz=PS(),gz=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 Qe(u,vz,l)},yz=pe("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]}})(Ue(({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(mn()).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}}]}})),G8={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},xt=P.forwardRef(function(t,n){const{color:r,...s}=$e({props:t,name:"MuiTypography"}),a=!hz[r],l=mz({...s,...a&&{color:r}}),{align:u="inherit",className:f,component:p,gutterBottom:h=!1,noWrap:m=!1,paragraph:y=!1,variant:H="body1",variantMapping:A=G8,...w}=l,x={...l,align:u,color:r,className:f,component:p,gutterBottom:h,noWrap:m,paragraph:y,variant:H,variantMapping:A},S=p||(y?"p":A[H]||G8[H])||"span",z=gz(x);return v.jsx(yz,{as:S,ref:n,className:Oe(z.root,f),...w,ownerState:x,style:{...u!=="inherit"&&{"--Typography-textAlign":u},...w.style}})});function Az(e){return Ze("MuiAppBar",e)}Ge("MuiAppBar",["root","positionFixed","positionAbsolute","positionSticky","positionStatic","positionRelative","colorDefault","colorPrimary","colorSecondary","colorInherit","colorTransparent","colorError","colorInfo","colorSuccess","colorWarning"]);const Pz=e=>{const{color:t,position:n,classes:r}=e,s={root:["root",`color${me(t)}`,`position${me(n)}`]};return Qe(s,Az,r)},U8=(e,t)=>e?`${e==null?void 0:e.replace(")","")}, ${t})`:t,bz=pe(Gr,{name:"MuiAppBar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`position${me(n.position)}`],t[`color${me(n.color)}`]]}})(Ue(({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(mn(["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?U8(e.vars.palette.AppBar.darkBg,"var(--AppBar-background)"):null,color:e.vars?U8(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"})}}]}))),xz=P.forwardRef(function(t,n){const r=$e({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=Pz(p);return v.jsx(bz,{square:!0,component:"header",ownerState:p,elevation:4,className:Oe(h.root,s,u==="fixed"&&"mui-fixed"),ref:n,...f})});function Q8(e){return e.normalize("NFD").replace(/[\u0300-\u036f]/g,"")}function wz(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=Q8(h));const m=h?u.filter(y=>{let H=(a||p)(y);return n&&(H=H.toLowerCase()),t&&(H=Q8(H)),s==="start"?H.startsWith(h):H.includes(h)}):u;return typeof r=="number"?m.slice(0,r):m}}const Hz=wz(),K8=5,jz=e=>{var t;return e.current!==null&&((t=e.current.parentElement)==null?void 0:t.contains(document.activeElement))},Sz=[];function zz(e){const{unstable_isActiveElementInListbox:t=jz,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?Sz:null,disableClearable:m=!1,disableCloseOnSelect:y=!1,disabled:H,disabledItemsFocusable:A=!1,disableListWrap:w=!1,filterOptions:x=Hz,filterSelectedOptions:S=!1,freeSolo:z=!1,getOptionDisabled:O,getOptionKey:C,getOptionLabel:D=oe=>oe.label??oe,groupBy:k,handleHomeEndKeys:R=!e.freeSolo,id:M,includeInputInList:L=!1,inputValue:j,isOptionEqualToValue:B=(oe,le)=>oe===le,multiple:I=!1,onChange:J,onClose:K,onHighlightChange:W,onInputChange:ne,onOpen:re,open:F,openOnFocus:_=!1,options:E,readOnly:G=!1,selectOnFocus:X=!e.freeSolo,value:ee}=e,te=Rs(M);let ue=D;ue=oe=>{const le=D(oe);return typeof le!="string"?String(le):le};const de=P.useRef(!1),xe=P.useRef(!0),ve=P.useRef(null),be=P.useRef(null),[Xe,Ie]=P.useState(null),[He,Ke]=P.useState(-1),we=s?0:-1,tt=P.useRef(we),[Le,dt]=yi({controlled:ee,default:h,name:p}),[N,$]=yi({controlled:j,default:"",name:p,state:"inputValue"}),[se,ye]=P.useState(!1),ce=P.useCallback((oe,le,Ee)=>{if(!(I?Le.length!(S&&(I?Le:[Le]).some(le=>le!==null&&B(oe,le)))),{inputValue:nt&&st?"":N,getOptionLabel:ue}):[],Ht=dj({filteredOptions:ct,value:Le,inputValue:N});P.useEffect(()=>{const oe=Le!==Ht.value;se&&!oe||z&&!oe||ce(null,Le,"reset")},[Le,ce,se,Ht.value,z]);const We=Ae&&ct.length>0&&!G,Dt=mr(oe=>{oe===-1?ve.current.focus():Xe.querySelector(`[data-tag-index="${oe}"]`).focus()});P.useEffect(()=>{I&&He>Le.length-1&&(Ke(-1),Dt(-1))},[Le,I,He,Dt]);function Jt(oe,le){if(!be.current||oe<0||oe>=ct.length)return-1;let Ee=oe;for(;;){const ot=be.current.querySelector(`[data-option-index="${Ee}"]`),lt=A?!1:!ot||ot.disabled||ot.getAttribute("aria-disabled")==="true";if(ot&&ot.hasAttribute("tabindex")&&!lt)return Ee;if(le==="next"?Ee=(Ee+1)%ct.length:Ee=(Ee-1+ct.length)%ct.length,Ee===oe)return-1}}const Be=mr(({event:oe,index:le,reason:Ee="auto"})=>{if(tt.current=le,le===-1?ve.current.removeAttribute("aria-activedescendant"):ve.current.setAttribute("aria-activedescendant",`${te}-option-${le}`),W&&W(oe,le===-1?null:ct[le],Ee),!be.current)return;const ot=be.current.querySelector(`[role="option"].${n}-focused`);ot&&(ot.classList.remove(`${n}-focused`),ot.classList.remove(`${n}-focusVisible`));let lt=be.current;if(be.current.getAttribute("role")!=="listbox"&&(lt=be.current.parentElement.querySelector('[role="listbox"]')),!lt)return;if(le===-1){lt.scrollTop=0;return}const It=be.current.querySelector(`[data-option-index="${le}"]`);if(It&&(It.classList.add(`${n}-focused`),Ee==="keyboard"&&It.classList.add(`${n}-focusVisible`),lt.scrollHeight>lt.clientHeight&&Ee!=="mouse"&&Ee!=="touch")){const Nt=It,Ln=lt.clientHeight+lt.scrollTop,Ao=Nt.offsetTop+Nt.offsetHeight;Ao>Ln?lt.scrollTop=Ao-lt.clientHeight:Nt.offsetTop-Nt.offsetHeight*(k?1.3:0){if(!ft)return;const It=Jt((()=>{const Nt=ct.length-1;if(le==="reset")return we;if(le==="start")return 0;if(le==="end")return Nt;const Ln=tt.current+le;return Ln<0?Ln===-1&&L?-1:w&&tt.current!==-1||Math.abs(le)>1?0:Nt:Ln>Nt?Ln===Nt+1&&L?-1:w||Math.abs(le)>1?Nt:0:Ln})(),Ee);if(Be({index:It,reason:ot,event:oe}),r&&le!=="reset")if(It===-1)ve.current.value=N;else{const Nt=ue(ct[It]);ve.current.value=Nt,Nt.toLowerCase().indexOf(N.toLowerCase())===0&&N.length>0&&ve.current.setSelectionRange(N.length,Nt.length)}}),Y=()=>{const oe=(le,Ee)=>{const ot=le?ue(le):"",lt=Ee?ue(Ee):"";return ot===lt};if(tt.current!==-1&&Ht.filteredOptions&&Ht.filteredOptions.length!==ct.length&&Ht.inputValue===N&&(I?Le.length===Ht.value.length&&Ht.value.every((le,Ee)=>ue(Le[Ee])===ue(le)):oe(Ht.value,Le))){const le=Ht.filteredOptions[tt.current];if(le)return ct.findIndex(Ee=>ue(Ee)===ue(le))}return-1},Pe=P.useCallback(()=>{if(!ft)return;const oe=Y();if(oe!==-1){tt.current=oe;return}const le=I?Le[0]:Le;if(ct.length===0||le==null){U({diff:"reset"});return}if(be.current){if(le!=null){const Ee=ct[tt.current];if(I&&Ee&&Le.findIndex(lt=>B(Ee,lt))!==-1)return;const ot=ct.findIndex(lt=>B(lt,le));ot===-1?U({diff:"reset"}):Be({index:ot});return}if(tt.current>=ct.length-1){Be({index:ct.length-1});return}Be({index:tt.current})}},[ct.length,I?!1:Le,S,U,Be,ft,N,I]),De=mr(oe=>{rp(be,oe),oe&&Pe()});P.useEffect(()=>{Pe()},[Pe]);const Te=oe=>{Ae||(je(!0),wt(!0),re&&re(oe))},Ne=(oe,le)=>{Ae&&(je(!1),K&&K(oe,le))},Je=(oe,le,Ee,ot)=>{if(I){if(Le.length===le.length&&Le.every((lt,It)=>lt===le[It]))return}else if(Le===le)return;J&&J(oe,le,Ee,ot),dt(le)},ke=P.useRef(!1),rt=(oe,le,Ee="selectOption",ot="options")=>{let lt=Ee,It=le;if(I){It=Array.isArray(Le)?Le.slice():[];const Nt=It.findIndex(Ln=>B(le,Ln));Nt===-1?It.push(le):ot!=="freeSolo"&&(It.splice(Nt,1),lt="removeOption")}ce(oe,It,lt),Je(oe,It,lt,{option:le}),!y&&(!oe||!oe.ctrlKey&&!oe.metaKey)&&Ne(oe,lt),(l===!0||l==="touch"&&ke.current||l==="mouse"&&!ke.current)&&ve.current.blur()};function vt(oe,le){if(oe===-1)return-1;let Ee=oe;for(;;){if(le==="next"&&Ee===Le.length||le==="previous"&&Ee===-1)return-1;const ot=Xe.querySelector(`[data-tag-index="${Ee}"]`);if(!ot||!ot.hasAttribute("tabindex")||ot.disabled||ot.getAttribute("aria-disabled")==="true")Ee+=le==="next"?1:-1;else return Ee}}const kt=(oe,le)=>{if(!I)return;N===""&&Ne(oe,"toggleInput");let Ee=He;He===-1?N===""&&le==="previous"&&(Ee=Le.length-1):(Ee+=le==="next"?1:-1,Ee<0&&(Ee=0),Ee===Le.length&&(Ee=-1)),Ee=vt(Ee,le),Ke(Ee),Dt(Ee)},Qt=oe=>{de.current=!0,$(""),ne&&ne(oe,"","clear"),Je(oe,I?[]:null,"clear")},Fe=oe=>le=>{if(oe.onKeyDown&&oe.onKeyDown(le),!le.defaultMuiPrevented&&(He!==-1&&!["ArrowLeft","ArrowRight"].includes(le.key)&&(Ke(-1),Dt(-1)),le.which!==229))switch(le.key){case"Home":ft&&R&&(le.preventDefault(),U({diff:"start",direction:"next",reason:"keyboard",event:le}));break;case"End":ft&&R&&(le.preventDefault(),U({diff:"end",direction:"previous",reason:"keyboard",event:le}));break;case"PageUp":le.preventDefault(),U({diff:-K8,direction:"previous",reason:"keyboard",event:le}),Te(le);break;case"PageDown":le.preventDefault(),U({diff:K8,direction:"next",reason:"keyboard",event:le}),Te(le);break;case"ArrowDown":le.preventDefault(),U({diff:1,direction:"next",reason:"keyboard",event:le}),Te(le);break;case"ArrowUp":le.preventDefault(),U({diff:-1,direction:"previous",reason:"keyboard",event:le}),Te(le);break;case"ArrowLeft":kt(le,"previous");break;case"ArrowRight":kt(le,"next");break;case"Enter":if(tt.current!==-1&&ft){const Ee=ct[tt.current],ot=O?O(Ee):!1;if(le.preventDefault(),ot)return;rt(le,Ee,"selectOption"),r&&ve.current.setSelectionRange(ve.current.value.length,ve.current.value.length)}else z&&N!==""&&nt===!1&&(I&&le.preventDefault(),rt(le,N,"createOption","freeSolo"));break;case"Escape":ft?(le.preventDefault(),le.stopPropagation(),Ne(le,"escape")):f&&(N!==""||I&&Le.length>0)&&(le.preventDefault(),le.stopPropagation(),Qt(le));break;case"Backspace":if(I&&!G&&N===""&&Le.length>0){const Ee=He===-1?Le.length-1:He,ot=Le.slice();ot.splice(Ee,1),Je(le,ot,"removeOption",{option:Le[Ee]})}break;case"Delete":if(I&&!G&&N===""&&Le.length>0&&He!==-1){const Ee=He,ot=Le.slice();ot.splice(Ee,1),Je(le,ot,"removeOption",{option:Le[Ee]})}break}},Rt=oe=>{ye(!0),_&&!de.current&&Te(oe)},un=oe=>{if(t(be)){ve.current.focus();return}ye(!1),xe.current=!0,de.current=!1,a&&tt.current!==-1&&ft?rt(oe,ct[tt.current],"blur"):a&&z&&N!==""?rt(oe,N,"blur","freeSolo"):u&&ce(oe,Le,"blur"),Ne(oe,"blur")},zn=oe=>{const le=oe.target.value;N!==le&&($(le),wt(!1),ne&&ne(oe,le,"input")),le===""?!m&&!I&&Je(oe,null,"clear"):Te(oe)},Gn=oe=>{const le=Number(oe.currentTarget.getAttribute("data-option-index"));tt.current!==le&&Be({event:oe,index:le,reason:"mouse"})},yn=oe=>{Be({event:oe,index:Number(oe.currentTarget.getAttribute("data-option-index")),reason:"touch"}),ke.current=!0},Mr=oe=>{const le=Number(oe.currentTarget.getAttribute("data-option-index"));rt(oe,ct[le],"selectOption"),ke.current=!1},mo=oe=>le=>{const Ee=Le.slice();Ee.splice(oe,1),Je(le,Ee,"removeOption",{option:Le[oe]})},go=oe=>{Ae?Ne(oe,"toggleInput"):Te(oe)},ds=oe=>{oe.currentTarget.contains(oe.target)&&oe.target.getAttribute("id")!==te&&oe.preventDefault()},yo=oe=>{oe.currentTarget.contains(oe.target)&&(ve.current.focus(),X&&xe.current&&ve.current.selectionEnd-ve.current.selectionStart===0&&ve.current.select(),xe.current=!1)},An=oe=>{!H&&(N===""||!Ae)&&go(oe)};let on=z&&N.length>0;on=on||(I?Le.length>0:Le!==null);let Re=ct;return k&&(Re=ct.reduce((oe,le,Ee)=>{const ot=k(le);return oe.length>0&&oe[oe.length-1].group===ot?oe[oe.length-1].options.push(le):oe.push({key:Ee,index:Ee,group:ot,options:[le]}),oe},[])),H&&se&&un(),{getRootProps:(oe={})=>({"aria-owns":We?`${te}-listbox`:null,...oe,onKeyDown:Fe(oe),onMouseDown:ds,onClick:yo}),getInputLabelProps:()=>({id:`${te}-label`,htmlFor:te}),getInputProps:()=>({id:te,value:N,onBlur:un,onFocus:Rt,onChange:zn,onMouseDown:An,"aria-activedescendant":ft?"":null,"aria-autocomplete":r?"both":"list","aria-controls":We?`${te}-listbox`:void 0,"aria-expanded":We,autoComplete:"off",ref:ve,autoCapitalize:"none",spellCheck:"false",role:"combobox",disabled:H}),getClearProps:()=>({tabIndex:-1,type:"button",onClick:Qt}),getPopupIndicatorProps:()=>({tabIndex:-1,type:"button",onClick:go}),getTagProps:({index:oe})=>({key:oe,"data-tag-index":oe,tabIndex:-1,...!G&&{onDelete:mo(oe)}}),getListboxProps:()=>({role:"listbox",id:`${te}-listbox`,"aria-labelledby":`${te}-label`,ref:De,onMouseDown:oe=>{oe.preventDefault()}}),getOptionProps:({index:oe,option:le})=>{const Ee=(I?Le:[Le]).some(lt=>lt!=null&&B(le,lt)),ot=O?O(le):!1;return{key:(C==null?void 0:C(le))??ue(le),tabIndex:-1,role:"option",id:`${te}-option-${oe}`,onMouseMove:Gn,onClick:Mr,onTouchStart:yn,"data-option-index":oe,"aria-disabled":ot,"aria-selected":Ee}},id:te,inputValue:N,value:Le,dirty:on,expanded:ft&&Xe,popupOpen:ft,focused:se||He!==-1,anchorEl:Xe,setAnchorEl:Ie,focusedTag:He,groupedOptions:Re}}var Or="top",po="bottom",vo="right",Cr="left",Sy="auto",Yu=[Or,po,vo,Cr],Dl="start",ju="end",Oz="clippingParents",v1="viewport",Rc="popper",Cz="reference",_8=Yu.reduce(function(e,t){return e.concat([t+"-"+Dl,t+"-"+ju])},[]),h1=[].concat(Yu,[Sy]).reduce(function(e,t){return e.concat([t,t+"-"+Dl,t+"-"+ju])},[]),Dz="beforeRead",Tz="read",kz="afterRead",Rz="beforeMain",Ez="main",Mz="afterMain",Lz="beforeWrite",Xz="write",Nz="afterWrite",Bz=[Dz,Tz,kz,Rz,Ez,Mz,Lz,Xz,Nz];function is(e){return e?(e.nodeName||"").toLowerCase():null}function Ur(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=Ur(e).Element;return e instanceof t||e instanceof Element}function uo(e){var t=Ur(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function zy(e){if(typeof ShadowRoot>"u")return!1;var t=Ur(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function Vz(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)||!is(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 Iz(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)||!is(s)||(Object.assign(s.style,u),Object.keys(a).forEach(function(f){s.removeAttribute(f)}))})}}const Wz={name:"applyStyles",enabled:!0,phase:"write",fn:Vz,effect:Iz,requires:["computeStyles"]};function os(e){return e.split("-")[0]}var ia=Math.max,lp=Math.min,Tl=Math.round;function dg(){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 m1(){return!/^((?!chrome|android).)*safari/i.test(dg())}function kl(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&&Tl(r.width)/e.offsetWidth||1,a=e.offsetHeight>0&&Tl(r.height)/e.offsetHeight||1);var l=da(e)?Ur(e):window,u=l.visualViewport,f=!m1()&&n,p=(r.left+(f&&u?u.offsetLeft:0))/s,h=(r.top+(f&&u?u.offsetTop:0))/a,m=r.width/s,y=r.height/a;return{width:m,height:y,top:h,right:p+m,bottom:h+y,left:p,x:p,y:h}}function Oy(e){var t=kl(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 g1(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&zy(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function Es(e){return Ur(e).getComputedStyle(e)}function Jz(e){return["table","td","th"].indexOf(is(e))>=0}function wi(e){return((da(e)?e.ownerDocument:e.document)||window.document).documentElement}function qp(e){return is(e)==="html"?e:e.assignedSlot||e.parentNode||(zy(e)?e.host:null)||wi(e)}function $8(e){return!uo(e)||Es(e).position==="fixed"?null:e.offsetParent}function Fz(e){var t=/firefox/i.test(dg()),n=/Trident/i.test(dg());if(n&&uo(e)){var r=Es(e);if(r.position==="fixed")return null}var s=qp(e);for(zy(s)&&(s=s.host);uo(s)&&["html","body"].indexOf(is(s))<0;){var a=Es(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 qu(e){for(var t=Ur(e),n=$8(e);n&&Jz(n)&&Es(n).position==="static";)n=$8(n);return n&&(is(n)==="html"||is(n)==="body"&&Es(n).position==="static")?t:n||Fz(e)||t}function Cy(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function uu(e,t,n){return ia(e,lp(t,n))}function Yz(e,t,n){var r=uu(e,t,n);return r>n?n:r}function y1(){return{top:0,right:0,bottom:0,left:0}}function A1(e){return Object.assign({},y1(),e)}function P1(e,t){return t.reduce(function(n,r){return n[r]=e,n},{})}var qz=function(t,n){return t=typeof t=="function"?t(Object.assign({},n.rects,{placement:n.placement})):t,A1(typeof t!="number"?t:P1(t,Yu))};function Zz(e){var t,n=e.state,r=e.name,s=e.options,a=n.elements.arrow,l=n.modifiersData.popperOffsets,u=os(n.placement),f=Cy(u),p=[Cr,vo].indexOf(u)>=0,h=p?"height":"width";if(!(!a||!l)){var m=qz(s.padding,n),y=Oy(a),H=f==="y"?Or:Cr,A=f==="y"?po:vo,w=n.rects.reference[h]+n.rects.reference[f]-l[f]-n.rects.popper[h],x=l[f]-n.rects.reference[f],S=qu(a),z=S?f==="y"?S.clientHeight||0:S.clientWidth||0:0,O=w/2-x/2,C=m[H],D=z-y[h]-m[A],k=z/2-y[h]/2+O,R=uu(C,k,D),M=f;n.modifiersData[r]=(t={},t[M]=R,t.centerOffset=R-k,t)}}function Gz(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)||g1(t.elements.popper,s)&&(t.elements.arrow=s))}const Uz={name:"arrow",enabled:!0,phase:"main",fn:Zz,effect:Gz,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Rl(e){return e.split("-")[1]}var Qz={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Kz(e,t){var n=e.x,r=e.y,s=t.devicePixelRatio||1;return{x:Tl(n*s)/s||0,y:Tl(r*s)/s||0}}function ex(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,y=l.x,H=y===void 0?0:y,A=l.y,w=A===void 0?0:A,x=typeof h=="function"?h({x:H,y:w}):{x:H,y:w};H=x.x,w=x.y;var S=l.hasOwnProperty("x"),z=l.hasOwnProperty("y"),O=Cr,C=Or,D=window;if(p){var k=qu(n),R="clientHeight",M="clientWidth";if(k===Ur(n)&&(k=wi(n),Es(k).position!=="static"&&u==="absolute"&&(R="scrollHeight",M="scrollWidth")),k=k,s===Or||(s===Cr||s===vo)&&a===ju){C=po;var L=m&&k===D&&D.visualViewport?D.visualViewport.height:k[R];w-=L-r.height,w*=f?1:-1}if(s===Cr||(s===Or||s===po)&&a===ju){O=vo;var j=m&&k===D&&D.visualViewport?D.visualViewport.width:k[M];H-=j-r.width,H*=f?1:-1}}var B=Object.assign({position:u},p&&Qz),I=h===!0?Kz({x:H,y:w},Ur(n)):{x:H,y:w};if(H=I.x,w=I.y,f){var J;return Object.assign({},B,(J={},J[C]=z?"0":"",J[O]=S?"0":"",J.transform=(D.devicePixelRatio||1)<=1?"translate("+H+"px, "+w+"px)":"translate3d("+H+"px, "+w+"px, 0)",J))}return Object.assign({},B,(t={},t[C]=z?w+"px":"",t[O]=S?H+"px":"",t.transform="",t))}function _z(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:os(t.placement),variation:Rl(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,ex(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,ex(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 $z={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:_z,data:{}};var yd={passive:!0};function eO(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=Ur(t.elements.popper),p=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&p.forEach(function(h){h.addEventListener("scroll",n.update,yd)}),u&&f.addEventListener("resize",n.update,yd),function(){a&&p.forEach(function(h){h.removeEventListener("scroll",n.update,yd)}),u&&f.removeEventListener("resize",n.update,yd)}}const tO={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:eO,data:{}};var nO={left:"right",right:"left",bottom:"top",top:"bottom"};function Bd(e){return e.replace(/left|right|bottom|top/g,function(t){return nO[t]})}var rO={start:"end",end:"start"};function tx(e){return e.replace(/start|end/g,function(t){return rO[t]})}function Dy(e){var t=Ur(e),n=t.pageXOffset,r=t.pageYOffset;return{scrollLeft:n,scrollTop:r}}function Ty(e){return kl(wi(e)).left+Dy(e).scrollLeft}function oO(e,t){var n=Ur(e),r=wi(e),s=n.visualViewport,a=r.clientWidth,l=r.clientHeight,u=0,f=0;if(s){a=s.width,l=s.height;var p=m1();(p||!p&&t==="fixed")&&(u=s.offsetLeft,f=s.offsetTop)}return{width:a,height:l,x:u+Ty(e),y:f}}function sO(e){var t,n=wi(e),r=Dy(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+Ty(e),f=-r.scrollTop;return Es(s||n).direction==="rtl"&&(u+=ia(n.clientWidth,s?s.clientWidth:0)-a),{width:a,height:l,x:u,y:f}}function ky(e){var t=Es(e),n=t.overflow,r=t.overflowX,s=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+s+r)}function b1(e){return["html","body","#document"].indexOf(is(e))>=0?e.ownerDocument.body:uo(e)&&ky(e)?e:b1(qp(e))}function fu(e,t){var n;t===void 0&&(t=[]);var r=b1(e),s=r===((n=e.ownerDocument)==null?void 0:n.body),a=Ur(r),l=s?[a].concat(a.visualViewport||[],ky(r)?r:[]):r,u=t.concat(l);return s?u:u.concat(fu(qp(l)))}function pg(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function iO(e,t){var n=kl(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 nx(e,t,n){return t===v1?pg(oO(e,n)):da(t)?iO(t,n):pg(sO(wi(e)))}function aO(e){var t=fu(qp(e)),n=["absolute","fixed"].indexOf(Es(e).position)>=0,r=n&&uo(e)?qu(e):e;return da(r)?t.filter(function(s){return da(s)&&g1(s,r)&&is(s)!=="body"}):[]}function lO(e,t,n,r){var s=t==="clippingParents"?aO(e):[].concat(t),a=[].concat(s,[n]),l=a[0],u=a.reduce(function(f,p){var h=nx(e,p,r);return f.top=ia(h.top,f.top),f.right=lp(h.right,f.right),f.bottom=lp(h.bottom,f.bottom),f.left=ia(h.left,f.left),f},nx(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 x1(e){var t=e.reference,n=e.element,r=e.placement,s=r?os(r):null,a=r?Rl(r):null,l=t.x+t.width/2-n.width/2,u=t.y+t.height/2-n.height/2,f;switch(s){case Or:f={x:l,y:t.y-n.height};break;case po:f={x:l,y:t.y+t.height};break;case vo:f={x:t.x+t.width,y:u};break;case Cr:f={x:t.x-n.width,y:u};break;default:f={x:t.x,y:t.y}}var p=s?Cy(s):null;if(p!=null){var h=p==="y"?"height":"width";switch(a){case Dl:f[p]=f[p]-(t[h]/2-n[h]/2);break;case ju:f[p]=f[p]+(t[h]/2-n[h]/2);break}}return f}function Su(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?Oz:u,p=n.rootBoundary,h=p===void 0?v1:p,m=n.elementContext,y=m===void 0?Rc:m,H=n.altBoundary,A=H===void 0?!1:H,w=n.padding,x=w===void 0?0:w,S=A1(typeof x!="number"?x:P1(x,Yu)),z=y===Rc?Cz:Rc,O=e.rects.popper,C=e.elements[A?z:y],D=lO(da(C)?C:C.contextElement||wi(e.elements.popper),f,h,l),k=kl(e.elements.reference),R=x1({reference:k,element:O,strategy:"absolute",placement:s}),M=pg(Object.assign({},O,R)),L=y===Rc?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},B=e.modifiersData.offset;if(y===Rc&&B){var I=B[s];Object.keys(j).forEach(function(J){var K=[vo,po].indexOf(J)>=0?1:-1,W=[Or,po].indexOf(J)>=0?"y":"x";j[J]+=I[W]*K})}return j}function cO(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?h1:f,h=Rl(r),m=h?u?_8:_8.filter(function(A){return Rl(A)===h}):Yu,y=m.filter(function(A){return p.indexOf(A)>=0});y.length===0&&(y=m);var H=y.reduce(function(A,w){return A[w]=Su(e,{placement:w,boundary:s,rootBoundary:a,padding:l})[os(w)],A},{});return Object.keys(H).sort(function(A,w){return H[A]-H[w]})}function uO(e){if(os(e)===Sy)return[];var t=Bd(e);return[tx(e),t,tx(t)]}function fO(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,y=n.altBoundary,H=n.flipVariations,A=H===void 0?!0:H,w=n.allowedAutoPlacements,x=t.options.placement,S=os(x),z=S===x,O=f||(z||!A?[Bd(x)]:uO(x)),C=[x].concat(O).reduce(function(te,ue){return te.concat(os(ue)===Sy?cO(t,{placement:ue,boundary:h,rootBoundary:m,padding:p,flipVariations:A,allowedAutoPlacements:w}):ue)},[]),D=t.rects.reference,k=t.rects.popper,R=new Map,M=!0,L=C[0],j=0;j=0,W=K?"width":"height",ne=Su(t,{placement:B,boundary:h,rootBoundary:m,altBoundary:y,padding:p}),re=K?J?vo:Cr:J?po:Or;D[W]>k[W]&&(re=Bd(re));var F=Bd(re),_=[];if(a&&_.push(ne[I]<=0),u&&_.push(ne[re]<=0,ne[F]<=0),_.every(function(te){return te})){L=B,M=!1;break}R.set(B,_)}if(M)for(var E=A?3:1,G=function(ue){var de=C.find(function(xe){var ve=R.get(xe);if(ve)return ve.slice(0,ue).every(function(be){return be})});if(de)return L=de,"break"},X=E;X>0;X--){var ee=G(X);if(ee==="break")break}t.placement!==L&&(t.modifiersData[r]._skip=!0,t.placement=L,t.reset=!0)}}const dO={name:"flip",enabled:!0,phase:"main",fn:fO,requiresIfExists:["offset"],data:{_skip:!1}};function rx(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 ox(e){return[Or,vo,po,Cr].some(function(t){return e[t]>=0})}function pO(e){var t=e.state,n=e.name,r=t.rects.reference,s=t.rects.popper,a=t.modifiersData.preventOverflow,l=Su(t,{elementContext:"reference"}),u=Su(t,{altBoundary:!0}),f=rx(l,r),p=rx(u,s,a),h=ox(f),m=ox(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 vO={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:pO};function hO(e,t,n){var r=os(e),s=[Cr,Or].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,[Cr,vo].indexOf(r)>=0?{x:u,y:l}:{x:l,y:u}}function mO(e){var t=e.state,n=e.options,r=e.name,s=n.offset,a=s===void 0?[0,0]:s,l=h1.reduce(function(h,m){return h[m]=hO(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 gO={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:mO};function yO(e){var t=e.state,n=e.name;t.modifiersData[n]=x1({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}const AO={name:"popperOffsets",enabled:!0,phase:"read",fn:yO,data:{}};function PO(e){return e==="x"?"y":"x"}function bO(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,y=n.tether,H=y===void 0?!0:y,A=n.tetherOffset,w=A===void 0?0:A,x=Su(t,{boundary:f,rootBoundary:p,padding:m,altBoundary:h}),S=os(t.placement),z=Rl(t.placement),O=!z,C=Cy(S),D=PO(C),k=t.modifiersData.popperOffsets,R=t.rects.reference,M=t.rects.popper,L=typeof w=="function"?w(Object.assign({},t.rects,{placement:t.placement})):w,j=typeof L=="number"?{mainAxis:L,altAxis:L}:Object.assign({mainAxis:0,altAxis:0},L),B=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,I={x:0,y:0};if(k){if(a){var J,K=C==="y"?Or:Cr,W=C==="y"?po:vo,ne=C==="y"?"height":"width",re=k[C],F=re+x[K],_=re-x[W],E=H?-M[ne]/2:0,G=z===Dl?R[ne]:M[ne],X=z===Dl?-M[ne]:-R[ne],ee=t.elements.arrow,te=H&&ee?Oy(ee):{width:0,height:0},ue=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:y1(),de=ue[K],xe=ue[W],ve=uu(0,R[ne],te[ne]),be=O?R[ne]/2-E-ve-de-j.mainAxis:G-ve-de-j.mainAxis,Xe=O?-R[ne]/2+E+ve+xe+j.mainAxis:X+ve+xe+j.mainAxis,Ie=t.elements.arrow&&qu(t.elements.arrow),He=Ie?C==="y"?Ie.clientTop||0:Ie.clientLeft||0:0,Ke=(J=B==null?void 0:B[C])!=null?J:0,we=re+be-Ke-He,tt=re+Xe-Ke,Le=uu(H?lp(F,we):F,re,H?ia(_,tt):_);k[C]=Le,I[C]=Le-re}if(u){var dt,N=C==="x"?Or:Cr,$=C==="x"?po:vo,se=k[D],ye=D==="y"?"height":"width",ce=se+x[N],Ae=se-x[$],je=[Or,Cr].indexOf(S)!==-1,st=(dt=B==null?void 0:B[D])!=null?dt:0,wt=je?ce:se-R[ye]-M[ye]-st+j.altAxis,nt=je?se+R[ye]+M[ye]-st-j.altAxis:Ae,ft=H&&je?Yz(wt,se,nt):uu(H?wt:ce,se,H?nt:Ae);k[D]=ft,I[D]=ft-se}t.modifiersData[r]=I}}const xO={name:"preventOverflow",enabled:!0,phase:"main",fn:bO,requiresIfExists:["offset"]};function wO(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function HO(e){return e===Ur(e)||!uo(e)?Dy(e):wO(e)}function jO(e){var t=e.getBoundingClientRect(),n=Tl(t.width)/e.offsetWidth||1,r=Tl(t.height)/e.offsetHeight||1;return n!==1||r!==1}function SO(e,t,n){n===void 0&&(n=!1);var r=uo(t),s=uo(t)&&jO(t),a=wi(t),l=kl(e,s,n),u={scrollLeft:0,scrollTop:0},f={x:0,y:0};return(r||!r&&!n)&&((is(t)!=="body"||ky(a))&&(u=HO(t)),uo(t)?(f=kl(t,!0),f.x+=t.clientLeft,f.y+=t.clientTop):a&&(f.x=Ty(a))),{x:l.left+u.scrollLeft-f.x,y:l.top+u.scrollTop-f.y,width:l.width,height:l.height}}function zO(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 OO(e){var t=zO(e);return Bz.reduce(function(n,r){return n.concat(t.filter(function(s){return s.phase===r}))},[])}function CO(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function DO(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 sx={placement:"bottom",modifiers:[],strategy:"absolute"};function ix(){for(var e=arguments.length,t=new Array(e),n=0;n{a||u(EO(s)||document.body)},[s,a]),fo(()=>{if(l&&!a)return rp(n,l),()=>{rp(n,null)}},[n,l,a]),a){if(P.isValidElement(r)){const p={ref:f};return P.cloneElement(r,p)}return r}return l&&d1.createPortal(r,l)});function MO(e){return Ze("MuiPopper",e)}Ge("MuiPopper",["root"]);function LO(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 vg(e){return typeof e=="function"?e():e}function XO(e){return e.nodeType!==void 0}const NO=e=>{const{classes:t}=e;return Qe({root:["root"]},MO,t)},BO={},VO=P.forwardRef(function(t,n){const{anchorEl:r,children:s,direction:a,disablePortal:l,modifiers:u,open:f,placement:p,popperOptions:h,popperRef:m,slotProps:y={},slots:H={},TransitionProps:A,ownerState:w,...x}=t,S=P.useRef(null),z=rn(S,n),O=P.useRef(null),C=rn(O,m),D=P.useRef(C);fo(()=>{D.current=C},[C]),P.useImperativeHandle(m,()=>O.current,[]);const k=LO(p,a),[R,M]=P.useState(k),[L,j]=P.useState(vg(r));P.useEffect(()=>{O.current&&O.current.forceUpdate()}),P.useEffect(()=>{r&&j(vg(r))},[r]),fo(()=>{if(!L||!f)return;const W=F=>{M(F.placement)};let ne=[{name:"preventOverflow",options:{altBoundary:l}},{name:"flip",options:{altBoundary:l}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:F})=>{W(F)}}];u!=null&&(ne=ne.concat(u)),h&&h.modifiers!=null&&(ne=ne.concat(h.modifiers));const re=RO(L,S.current,{placement:k,...h,modifiers:ne});return D.current(re),()=>{re.destroy(),D.current(null)}},[L,l,u,f,h,k]);const B={placement:R};A!==null&&(B.TransitionProps=A);const I=NO(t),J=H.root??"div",K=sp({elementType:J,externalSlotProps:y.root,externalForwardedProps:x,additionalProps:{role:"tooltip",ref:z},ownerState:t,className:I.root});return v.jsx(J,{...K,children:typeof s=="function"?s(B):s})}),IO=P.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:y=BO,popperRef:H,style:A,transition:w=!1,slotProps:x={},slots:S={},...z}=t,[O,C]=P.useState(!0),D=()=>{C(!1)},k=()=>{C(!0)};if(!f&&!h&&(!w||O))return null;let R;if(a)R=a;else if(r){const j=vg(r);R=j&&XO(j)?ir(j).body:ir(null).body}const M=!h&&f&&(!w||O)?"none":void 0,L=w?{in:h,onEnter:D,onExited:k}:void 0;return v.jsx(w1,{disablePortal:u,container:R,children:v.jsx(VO,{anchorEl:r,direction:l,disablePortal:u,modifiers:p,ref:n,open:w?!O:h,placement:m,popperOptions:y,popperRef:H,slotProps:x,slots:S,...z,style:{position:"fixed",top:0,left:0,display:M,...A},TransitionProps:L,children:s})})}),WO=pe(IO,{name:"MuiPopper",slot:"Root",overridesResolver:(e,t)=>t.root})({}),Zp=P.forwardRef(function(t,n){const r=Ju(),s=$e({props:t,name:"MuiPopper"}),{anchorEl:a,component:l,components:u,componentsProps:f,container:p,disablePortal:h,keepMounted:m,modifiers:y,open:H,placement:A,popperOptions:w,popperRef:x,transition:S,slots:z,slotProps:O,...C}=s,D=(z==null?void 0:z.root)??(u==null?void 0:u.Root),k={anchorEl:a,container:p,disablePortal:h,keepMounted:m,modifiers:y,open:H,placement:A,popperOptions:w,popperRef:x,transition:S,...C};return v.jsx(WO,{as:l,direction:r?"rtl":"ltr",slots:{root:D},slotProps:O??f,...k,ref:n})});function JO(e){return Ze("MuiListSubheader",e)}Ge("MuiListSubheader",["root","colorPrimary","colorInherit","gutters","inset","sticky"]);const FO=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 Qe(l,JO,t)},YO=pe("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]}})(Ue(({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}}]}))),hg=P.forwardRef(function(t,n){const r=$e({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},y=FO(m);return v.jsx(YO,{as:l,className:Oe(y.root,s),ref:n,ownerState:m,...h})});hg&&(hg.muiSkipListHighlight=!0);const qO=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 ZO(e){return Ze("MuiChip",e)}const Mt=Ge("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"]),GO=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 Qe(p,ZO,t)},UO=pe("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)}`]]}})(Ue(({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(mn(["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(mn(["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(mn(["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(mn()).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}}}}))]}})),QO=pe("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 ax(e){return e.key==="Backspace"||e.key==="Delete"}const Zu=P.forwardRef(function(t,n){const r=$e({props:t,name:"MuiChip"}),{avatar:s,className:a,clickable:l,color:u="default",component:f,deleteIcon:p,disabled:h=!1,icon:m,label:y,onClick:H,onDelete:A,onKeyDown:w,onKeyUp:x,size:S="medium",variant:z="filled",tabIndex:O,skipFocusWhenDisabled:C=!1,...D}=r,k=P.useRef(null),R=rn(k,n),M=_=>{_.stopPropagation(),A&&A(_)},L=_=>{_.currentTarget===_.target&&ax(_)&&_.preventDefault(),w&&w(_)},j=_=>{_.currentTarget===_.target&&A&&ax(_)&&A(_),x&&x(_)},B=l!==!1&&H?!0:l,I=B||A?fa:f||"div",J={...r,component:I,disabled:h,size:S,color:u,iconColor:P.isValidElement(m)&&m.props.color||u,onDelete:!!A,clickable:B,variant:z},K=GO(J),W=I===fa?{component:f||"div",focusVisibleClassName:K.focusVisible,...A&&{disableRipple:!0}}:{};let ne=null;A&&(ne=p&&P.isValidElement(p)?P.cloneElement(p,{className:Oe(p.props.className,K.deleteIcon),onClick:M}):v.jsx(qO,{className:Oe(K.deleteIcon),onClick:M}));let re=null;s&&P.isValidElement(s)&&(re=P.cloneElement(s,{className:Oe(K.avatar,s.props.className)}));let F=null;return m&&P.isValidElement(m)&&(F=P.cloneElement(m,{className:Oe(K.icon,m.props.className)})),v.jsxs(UO,{as:I,className:Oe(K.root,a),disabled:B&&h?!0:void 0,onClick:H,onKeyDown:L,onKeyUp:j,ref:R,tabIndex:C&&h?-1:O,ownerState:J,...W,...D,children:[re||F,v.jsx(QO,{className:Oe(K.label),ownerState:J,children:y}),ne]})});function Ad(e){return parseInt(e,10)||0}const KO={shadow:{visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"}};function _O(e){return e==null||Object.keys(e).length===0||e.outerHeightStyle===0&&!e.overflowing}const $O=P.forwardRef(function(t,n){const{onChange:r,maxRows:s,minRows:a=1,style:l,value:u,...f}=t,{current:p}=P.useRef(u!=null),h=P.useRef(null),m=rn(n,h),y=P.useRef(null),H=P.useRef(null),A=P.useCallback(()=>{const S=h.current,O=Mo(S).getComputedStyle(S);if(O.width==="0px")return{outerHeightStyle:0,overflowing:!1};const C=H.current;C.style.width=O.width,C.value=S.value||t.placeholder||"x",C.value.slice(-1)===` -`&&(C.value+=" ");const D=O.boxSizing,k=Ad(O.paddingBottom)+Ad(O.paddingTop),R=Ad(O.borderBottomWidth)+Ad(O.borderTopWidth),M=C.scrollHeight;C.value="x";const L=C.scrollHeight;let j=M;a&&(j=Math.max(Number(a)*L,j)),s&&(j=Math.min(Number(s)*L,j)),j=Math.max(j,L);const B=j+(D==="border-box"?k+R:0),I=Math.abs(j-M)<=1;return{outerHeightStyle:B,overflowing:I}},[s,a,t.placeholder]),w=P.useCallback(()=>{const S=A();if(_O(S))return;const z=S.outerHeightStyle,O=h.current;y.current!==z&&(y.current=z,O.style.height=`${z}px`),O.style.overflow=S.overflowing?"hidden":""},[A]);fo(()=>{const S=()=>{w()};let z;const O=hy(S),C=h.current,D=Mo(C);D.addEventListener("resize",O);let k;return typeof ResizeObserver<"u"&&(k=new ResizeObserver(S),k.observe(C)),()=>{O.clear(),cancelAnimationFrame(z),D.removeEventListener("resize",O),k&&k.disconnect()}},[A,w]),fo(()=>{w()});const x=S=>{p||w(),r&&r(S)};return v.jsxs(P.Fragment,{children:[v.jsx("textarea",{value:u,onChange:x,ref:m,rows:a,style:l,...f}),v.jsx("textarea",{"aria-hidden":!0,className:t.className,readOnly:!0,ref:H,tabIndex:-1,style:{...KO.shadow,...l,paddingTop:0,paddingBottom:0}})]})});function El(e){return typeof e=="string"}function Hi({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 Gp=P.createContext(void 0);function Bo(){return P.useContext(Gp)}function lx(e){return e!=null&&!(Array.isArray(e)&&e.length===0)}function cp(e,t=!1){return e&&(lx(e.value)&&e.value!==""||t&&lx(e.defaultValue)&&e.defaultValue!=="")}function eC(e){return e.startAdornment}function tC(e){return Ze("MuiInputBase",e)}const Jr=Ge("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]);var cx;const Up=(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]},Qp=(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]},nC=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:y,startAdornment:H,type:A}=e,w={root:["root",`color${me(n)}`,r&&"disabled",s&&"error",f&&"fullWidth",l&&"focused",u&&"formControl",y&&y!=="medium"&&`size${me(y)}`,h&&"multiline",H&&"adornedStart",a&&"adornedEnd",p&&"hiddenLabel",m&&"readOnly"],input:["input",r&&"disabled",A==="search"&&"inputTypeSearch",h&&"inputMultiline",y==="small"&&"inputSizeSmall",p&&"inputHiddenLabel",H&&"inputAdornedStart",a&&"inputAdornedEnd",m&&"readOnly"]};return Qe(w,tC,t)},Kp=pe("div",{name:"MuiInputBase",slot:"Root",overridesResolver:Up})(Ue(({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",[`&.${Jr.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%"}}]}))),_p=pe("input",{name:"MuiInputBase",slot:"Input",overridesResolver:Qp})(Ue(({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] + .${Jr.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},[`&.${Jr.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"}}]}})),ux=by({"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}),$p=P.forwardRef(function(t,n){const r=$e({props:t,name:"MuiInputBase"}),{"aria-describedby":s,autoComplete:a,autoFocus:l,className:u,color:f,components:p={},componentsProps:h={},defaultValue:m,disabled:y,disableInjectingGlobalStyles:H,endAdornment:A,error:w,fullWidth:x=!1,id:S,inputComponent:z="input",inputProps:O={},inputRef:C,margin:D,maxRows:k,minRows:R,multiline:M=!1,name:L,onBlur:j,onChange:B,onClick:I,onFocus:J,onKeyDown:K,onKeyUp:W,placeholder:ne,readOnly:re,renderSuffix:F,rows:_,size:E,slotProps:G={},slots:X={},startAdornment:ee,type:te="text",value:ue,...de}=r,xe=O.value!=null?O.value:ue,{current:ve}=P.useRef(xe!=null),be=P.useRef(),Xe=P.useCallback(We=>{},[]),Ie=rn(be,C,O.ref,Xe),[He,Ke]=P.useState(!1),we=Bo(),tt=Hi({props:r,muiFormControl:we,states:["color","disabled","error","hiddenLabel","size","required","filled"]});tt.focused=we?we.focused:He,P.useEffect(()=>{!we&&y&&He&&(Ke(!1),j&&j())},[we,y,He,j]);const Le=we&&we.onFilled,dt=we&&we.onEmpty,N=P.useCallback(We=>{cp(We)?Le&&Le():dt&&dt()},[Le,dt]);fo(()=>{ve&&N({value:xe})},[xe,N,ve]);const $=We=>{J&&J(We),O.onFocus&&O.onFocus(We),we&&we.onFocus?we.onFocus(We):Ke(!0)},se=We=>{j&&j(We),O.onBlur&&O.onBlur(We),we&&we.onBlur?we.onBlur(We):Ke(!1)},ye=(We,...Dt)=>{if(!ve){const Jt=We.target||be.current;if(Jt==null)throw new Error(ks(1));N({value:Jt.value})}O.onChange&&O.onChange(We,...Dt),B&&B(We,...Dt)};P.useEffect(()=>{N(be.current)},[]);const ce=We=>{be.current&&We.currentTarget===We.target&&be.current.focus(),I&&I(We)};let Ae=z,je=O;M&&Ae==="input"&&(_?je={type:void 0,minRows:_,maxRows:_,...je}:je={type:void 0,maxRows:k,minRows:R,...je},Ae=$O);const st=We=>{N(We.animationName==="mui-auto-fill-cancel"?be.current:{value:"x"})};P.useEffect(()=>{we&&we.setAdornedStart(!!ee)},[we,ee]);const wt={...r,color:tt.color||"primary",disabled:tt.disabled,endAdornment:A,error:tt.error,focused:tt.focused,formControl:we,fullWidth:x,hiddenLabel:tt.hiddenLabel,multiline:M,size:tt.size,startAdornment:ee,type:te},nt=nC(wt),ft=X.root||p.Root||Kp,ct=G.root||h.root||{},Ht=X.input||p.Input||_p;return je={...je,...G.input??h.input},v.jsxs(P.Fragment,{children:[!H&&typeof ux=="function"&&(cx||(cx=v.jsx(ux,{}))),v.jsxs(ft,{...ct,ref:n,onClick:ce,...de,...!El(ft)&&{ownerState:{...wt,...ct.ownerState}},className:Oe(nt.root,ct.className,u,re&&"MuiInputBase-readOnly"),children:[ee,v.jsx(Gp.Provider,{value:null,children:v.jsx(Ht,{"aria-invalid":tt.error,"aria-describedby":s,autoComplete:a,autoFocus:l,defaultValue:m,disabled:tt.disabled,id:S,onAnimationStart:st,name:L,placeholder:ne,readOnly:re,required:tt.required,rows:_,value:xe,onKeyDown:K,onKeyUp:W,type:te,...je,...!El(Ht)&&{as:Ae,ownerState:{...wt,...je.ownerState}},ref:Ie,className:Oe(nt.input,je.className,re&&"MuiInputBase-readOnly"),onBlur:se,onChange:ye,onFocus:$})}),A,F?F({...tt,startAdornment:ee}):null]})]})});function rC(e){return Ze("MuiInput",e)}const ai={...Jr,...Ge("MuiInput",["root","underline","input"])};function oC(e){return Ze("MuiOutlinedInput",e)}const ro={...Jr,...Ge("MuiOutlinedInput",["root","notchedOutline","input"])};function sC(e){return Ze("MuiFilledInput",e)}const Fr={...Jr,...Ge("MuiFilledInput",["root","underline","input","adornedStart","adornedEnd","sizeSmall","multiline","hiddenLabel"])},H1=At(v.jsx("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown");function iC(e){return Ze("MuiAutocomplete",e)}const Ot=Ge("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 fx,dx;const aC=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 Qe(m,iC,t)},lC=pe("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${me(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}.${Jr.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}.${Jr.sizeSmall}`]:{paddingTop:6,paddingBottom:6,paddingLeft:6,[`& .${Ot.input}`]:{padding:"2.5px 4px 2.5px 8px"}},[`& .${Fr.root}`]:{paddingTop:19,paddingLeft:8,[`.${Ot.hasPopupIcon}&, .${Ot.hasClearIcon}&`]:{paddingRight:39},[`.${Ot.hasPopupIcon}.${Ot.hasClearIcon}&`]:{paddingRight:65},[`& .${Fr.input}`]:{padding:"7px 4px"},[`& .${Ot.endAdornment}`]:{right:9}},[`& .${Fr.root}.${Jr.sizeSmall}`]:{paddingBottom:1,[`& .${Fr.input}`]:{padding:"2.5px 4px"}},[`& .${Jr.hiddenLabel}`]:{paddingTop:8},[`& .${Fr.root}.${Jr.hiddenLabel}`]:{paddingTop:0,paddingBottom:0,[`& .${Ot.input}`]:{paddingTop:16,paddingBottom:17}},[`& .${Fr.root}.${Jr.hiddenLabel}.${Jr.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"}}}]}),cC=pe("div",{name:"MuiAutocomplete",slot:"EndAdornment",overridesResolver:(e,t)=>t.endAdornment})({position:"absolute",right:0,top:"50%",transform:"translate(0, -50%)"}),uC=pe(zr,{name:"MuiAutocomplete",slot:"ClearIndicator",overridesResolver:(e,t)=>t.clearIndicator})({marginRight:-2,padding:4,visibility:"hidden"}),fC=pe(zr,{name:"MuiAutocomplete",slot:"PopupIndicator",overridesResolver:({ownerState:e},t)=>({...t.popupIndicator,...e.popupOpen&&t.popupIndicatorOpen})})({padding:2,marginRight:-2,variants:[{props:{popupOpen:!0},style:{transform:"rotate(180deg)"}}]}),dC=pe(Zp,{name:"MuiAutocomplete",slot:"Popper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${Ot.option}`]:t.option},t.popper,n.disablePortal&&t.popperDisablePortal]}})(Ue(({theme:e})=>({zIndex:(e.vars||e).zIndex.modal,variants:[{props:{disablePortal:!0},style:{position:"absolute"}}]}))),pC=pe(Gr,{name:"MuiAutocomplete",slot:"Paper",overridesResolver:(e,t)=>t.paper})(Ue(({theme:e})=>({...e.typography.body1,overflow:"auto"}))),vC=pe("div",{name:"MuiAutocomplete",slot:"Loading",overridesResolver:(e,t)=>t.loading})(Ue(({theme:e})=>({color:(e.vars||e).palette.text.secondary,padding:"14px 16px"}))),hC=pe("div",{name:"MuiAutocomplete",slot:"NoOptions",overridesResolver:(e,t)=>t.noOptions})(Ue(({theme:e})=>({color:(e.vars||e).palette.text.secondary,padding:"14px 16px"}))),mC=pe("ul",{name:"MuiAutocomplete",slot:"Listbox",overridesResolver:(e,t)=>t.listbox})(Ue(({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})`:Pt(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}))`:Pt(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}))`:Pt(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}}}}))),gC=pe(hg,{name:"MuiAutocomplete",slot:"GroupLabel",overridesResolver:(e,t)=>t.groupLabel})(Ue(({theme:e})=>({backgroundColor:(e.vars||e).palette.background.paper,top:-8}))),yC=pe("ul",{name:"MuiAutocomplete",slot:"GroupUl",overridesResolver:(e,t)=>t.groupUl})({padding:0,[`& .${Ot.option}`]:{paddingLeft:24}}),AC=P.forwardRef(function(t,n){const r=$e({props:t,name:"MuiAutocomplete"}),{autoComplete:s=!1,autoHighlight:a=!1,autoSelect:l=!1,blurOnSelect:u=!1,ChipProps:f,className:p,clearIcon:h=fx||(fx=v.jsx(p1,{fontSize:"small"})),clearOnBlur:m=!r.freeSolo,clearOnEscape:y=!1,clearText:H="Clear",closeText:A="Close",componentsProps:w,defaultValue:x=r.multiple?[]:null,disableClearable:S=!1,disableCloseOnSelect:z=!1,disabled:O=!1,disabledItemsFocusable:C=!1,disableListWrap:D=!1,disablePortal:k=!1,filterOptions:R,filterSelectedOptions:M=!1,forcePopupIcon:L="auto",freeSolo:j=!1,fullWidth:B=!1,getLimitTagsText:I=Lt=>`+${Lt}`,getOptionDisabled:J,getOptionKey:K,getOptionLabel:W,isOptionEqualToValue:ne,groupBy:re,handleHomeEndKeys:F=!r.freeSolo,id:_,includeInputInList:E=!1,inputValue:G,limitTags:X=-1,ListboxComponent:ee,ListboxProps:te,loading:ue=!1,loadingText:de="Loading…",multiple:xe=!1,noOptionsText:ve="No options",onChange:be,onClose:Xe,onHighlightChange:Ie,onInputChange:He,onOpen:Ke,open:we,openOnFocus:tt=!1,openText:Le="Open",options:dt,PaperComponent:N,PopperComponent:$,popupIcon:se=dx||(dx=v.jsx(H1,{})),readOnly:ye=!1,renderGroup:ce,renderInput:Ae,renderOption:je,renderTags:st,selectOnFocus:wt=!r.freeSolo,size:nt="medium",slots:ft={},slotProps:ct={},value:Ht,...We}=r,{getRootProps:Dt,getInputProps:Jt,getInputLabelProps:Be,getPopupIndicatorProps:U,getClearProps:Y,getTagProps:Pe,getListboxProps:De,getOptionProps:Te,value:Ne,dirty:Je,expanded:ke,id:rt,popupOpen:vt,focused:kt,focusedTag:Qt,anchorEl:Fe,setAnchorEl:Rt,inputValue:un,groupedOptions:zn}=zz({...r,componentName:"Autocomplete"}),Gn=!S&&!O&&Je&&!ye,yn=(!j||L===!0)&&L!==!1,{onMouseDown:Mr}=Jt(),{ref:mo,...go}=De(),yo=W||(Lt=>Lt.label??Lt),An={...r,disablePortal:k,expanded:ke,focused:kt,fullWidth:B,getOptionLabel:yo,hasClearIcon:Gn,hasPopupIcon:yn,inputFocused:Qt===-1,popupOpen:vt,size:nt},on=aC(An),Re={slots:{paper:N,popper:$,...ft},slotProps:{chip:f,listbox:te,...w,...ct}},[oe,le]=Cn("listbox",{elementType:mC,externalForwardedProps:Re,ownerState:An,className:on.listbox,additionalProps:go,ref:mo}),[Ee,ot]=Cn("paper",{elementType:Gr,externalForwardedProps:Re,ownerState:An,className:on.paper}),[lt,It]=Cn("popper",{elementType:Zp,externalForwardedProps:Re,ownerState:An,className:on.popper,additionalProps:{disablePortal:k,style:{width:Fe?Fe.clientWidth:null},role:"presentation",anchorEl:Fe,open:vt}});let Nt;if(xe&&Ne.length>0){const Lt=ar=>({className:on.tag,disabled:O,...Pe(ar)});st?Nt=st(Ne,Lt,An):Nt=Ne.map((ar,Xn)=>{const{key:Di,...Lr}=Lt({index:Xn});return v.jsx(Zu,{label:yo(ar),size:nt,...Lr,...Re.slotProps.chip},Di)})}if(X>-1&&Array.isArray(Nt)){const Lt=Nt.length-X;!kt&&Lt>0&&(Nt=Nt.splice(0,X),Nt.push(v.jsx("span",{className:on.tag,children:I(Lt)},Nt.length)))}const Ao=ce||(Lt=>v.jsxs("li",{children:[v.jsx(gC,{className:on.groupLabel,ownerState:An,component:"div",children:Lt.group}),v.jsx(yC,{className:on.groupUl,ownerState:An,children:Lt.children})]},Lt.key)),tn=je||((Lt,ar)=>{const{key:Xn,...Di}=Lt;return v.jsx("li",{...Di,children:yo(ar)},Xn)}),Oi=(Lt,ar)=>{const Xn=Te({option:Lt,index:ar});return tn({...Xn,className:on.option},Lt,{selected:Xn["aria-selected"],index:ar,inputValue:un},An)},Xs=Re.slotProps.clearIndicator,Ci=Re.slotProps.popupIndicator,Ns=Lt=>v.jsx(dC,{as:lt,...It,children:v.jsx(pC,{as:Ee,...ot,children:Lt})});let ba=null;return zn.length>0?ba=Ns(v.jsx(oe,{as:ee,...le,children:zn.map((Lt,ar)=>re?Ao({key:Lt.key,group:Lt.group,children:Lt.options.map((Xn,Di)=>Oi(Xn,Lt.index+Di))}):Oi(Lt,ar))})):ue&&zn.length===0?ba=Ns(v.jsx(vC,{className:on.loading,ownerState:An,children:de})):zn.length===0&&!j&&!ue&&(ba=Ns(v.jsx(hC,{className:on.noOptions,ownerState:An,role:"presentation",onMouseDown:Lt=>{Lt.preventDefault()},children:ve}))),v.jsxs(P.Fragment,{children:[v.jsx(lC,{ref:n,className:Oe(on.root,p),ownerState:An,...Dt(We),children:Ae({id:rt,disabled:O,fullWidth:!0,size:nt==="small"?"small":void 0,InputLabelProps:Be(),InputProps:{ref:Rt,className:on.inputRoot,startAdornment:Nt,onMouseDown:Lt=>{Lt.target===Lt.currentTarget&&Mr(Lt)},...(Gn||yn)&&{endAdornment:v.jsxs(cC,{className:on.endAdornment,ownerState:An,children:[Gn?v.jsx(uC,{...Y(),"aria-label":H,title:H,ownerState:An,...Xs,className:Oe(on.clearIndicator,Xs==null?void 0:Xs.className),children:h}):null,yn?v.jsx(fC,{...U(),disabled:O,"aria-label":vt?A:Le,title:vt?A:Le,ownerState:An,...Ci,className:Oe(on.popupIndicator,Ci==null?void 0:Ci.className),children:se}):null]})}},inputProps:{className:on.input,disabled:O,readOnly:ye,...Jt()}})}),Fe?ba:null]})}),PC={entering:{opacity:1},entered:{opacity:1}},j1=P.forwardRef(function(t,n){const r=Qr(),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:y,onExit:H,onExited:A,onExiting:w,style:x,timeout:S=s,TransitionComponent:z=No,...O}=t,C=P.useRef(null),D=rn(C,xi(u),n),k=K=>W=>{if(K){const ne=C.current;W===void 0?K(ne):K(ne,W)}},R=k(y),M=k((K,W)=>{Hy(K);const ne=Cl({style:x,timeout:S,easing:f},{mode:"enter"});K.style.webkitTransition=r.transitions.create("opacity",ne),K.style.transition=r.transitions.create("opacity",ne),h&&h(K,W)}),L=k(m),j=k(w),B=k(K=>{const W=Cl({style:x,timeout:S,easing:f},{mode:"exit"});K.style.webkitTransition=r.transitions.create("opacity",W),K.style.transition=r.transitions.create("opacity",W),H&&H(K)}),I=k(A),J=K=>{a&&a(C.current,K)};return v.jsx(z,{appear:l,in:p,nodeRef:C,onEnter:M,onEntered:L,onEntering:R,onExit:B,onExited:I,onExiting:j,addEndListener:J,timeout:S,...O,children:(K,W)=>P.cloneElement(u,{style:{opacity:0,visibility:K==="exited"&&!p?"hidden":void 0,...PC[K],...x,...u.props.style},ref:D,...W})})});function bC(e){return Ze("MuiBackdrop",e)}Ge("MuiBackdrop",["root","invisible"]);const xC=e=>{const{ownerState:t,...n}=e;return n},wC=e=>{const{classes:t,invisible:n}=e;return Qe({root:["root",n&&"invisible"]},bC,t)},HC=pe("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"}}]}),S1=P.forwardRef(function(t,n){const r=$e({props:t,name:"MuiBackdrop"}),{children:s,className:a,component:l="div",invisible:u=!1,open:f,components:p={},componentsProps:h={},slotProps:m={},slots:y={},TransitionComponent:H,transitionDuration:A,...w}=r,x={...r,component:l,invisible:u},S=wC(x),z={transition:H,root:p.Root,...y},O={...h,...m},C={slots:z,slotProps:O},[D,k]=Cn("root",{elementType:HC,externalForwardedProps:C,className:Oe(S.root,a),ownerState:x}),[R,M]=Cn("transition",{elementType:j1,externalForwardedProps:C,ownerState:x}),L=xC(M);return v.jsx(R,{in:f,timeout:A,...w,...L,children:v.jsx(D,{"aria-hidden":!0,...k,classes:S,ref:n,children:s})})}),jC=Ge("MuiBox",["root"]),SC=Fu(),yt=JH({themeId:Ro,defaultTheme:SC,defaultClassName:jC.root,generateClassName:X0.generate});function zC(e){return Ze("MuiButton",e)}const Qa=Ge("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"]),z1=P.createContext({}),OC=P.createContext(void 0),CC=e=>{const{color:t,disableElevation:n,fullWidth:r,size:s,variant:a,classes:l}=e,u={root:["root",a,`${a}${me(t)}`,`size${me(s)}`,`${a}Size${me(s)}`,`color${me(t)}`,n&&"disableElevation",r&&"fullWidth"],label:["label"],startIcon:["icon","startIcon",`iconSize${me(s)}`],endIcon:["icon","endIcon",`iconSize${me(s)}`]},f=Qe(u,zC,l);return{...l,...f}},O1=[{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}}}],DC=pe(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]}})(Ue(({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"},[`&.${Qa.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]},[`&.${Qa.focusVisible}`]:{boxShadow:(e.vars||e).shadows[6]},[`&.${Qa.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)",[`&.${Qa.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(mn()).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"},[`&.${Qa.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${Qa.disabled}`]:{boxShadow:"none"}}},{props:{fullWidth:!0},style:{width:"100%"}}]}})),TC=pe("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.startIcon,t[`iconSize${me(n.size)}`]]}})({display:"inherit",marginRight:8,marginLeft:-4,variants:[{props:{size:"small"},style:{marginLeft:-2}},...O1]}),kC=pe("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.endIcon,t[`iconSize${me(n.size)}`]]}})({display:"inherit",marginRight:-4,marginLeft:8,variants:[{props:{size:"small"},style:{marginRight:-2}},...O1]}),Xt=P.forwardRef(function(t,n){const r=P.useContext(z1),s=P.useContext(OC),a=zl(r,t),l=$e({props:a,name:"MuiButton"}),{children:u,color:f="primary",component:p="button",className:h,disabled:m=!1,disableElevation:y=!1,disableFocusRipple:H=!1,endIcon:A,focusVisibleClassName:w,fullWidth:x=!1,size:S="medium",startIcon:z,type:O,variant:C="text",...D}=l,k={...l,color:f,component:p,disabled:m,disableElevation:y,disableFocusRipple:H,fullWidth:x,size:S,type:O,variant:C},R=CC(k),M=z&&v.jsx(TC,{className:R.startIcon,ownerState:k,children:z}),L=A&&v.jsx(kC,{className:R.endIcon,ownerState:k,children:A}),j=s||"";return v.jsxs(DC,{ownerState:k,className:Oe(r.className,R.root,h,j),component:p,disabled:m,focusRipple:!H,focusVisibleClassName:Oe(R.focusVisible,w),ref:n,type:O,...D,classes:R,children:[M,u,L]})});function RC(e){return Ze("MuiCard",e)}Ge("MuiCard",["root"]);const EC=e=>{const{classes:t}=e;return Qe({root:["root"]},RC,t)},MC=pe(Gr,{name:"MuiCard",slot:"Root",overridesResolver:(e,t)=>t.root})({overflow:"hidden"}),C1=P.forwardRef(function(t,n){const r=$e({props:t,name:"MuiCard"}),{className:s,raised:a=!1,...l}=r,u={...r,raised:a},f=EC(u);return v.jsx(MC,{className:Oe(f.root,s),elevation:a?8:void 0,ref:n,ownerState:u,...l})});function LC(e){return Ze("MuiCardContent",e)}Ge("MuiCardContent",["root"]);const XC=e=>{const{classes:t}=e;return Qe({root:["root"]},LC,t)},NC=pe("div",{name:"MuiCardContent",slot:"Root",overridesResolver:(e,t)=>t.root})({padding:16,"&:last-child":{paddingBottom:24}}),mg=P.forwardRef(function(t,n){const r=$e({props:t,name:"MuiCardContent"}),{className:s,component:a="div",...l}=r,u={...r,component:a},f=XC(u);return v.jsx(NC,{as:a,className:Oe(f.root,s),ownerState:u,ref:n,...l})});function BC(e){return Ze("MuiCardMedia",e)}Ge("MuiCardMedia",["root","media","img"]);const VC=e=>{const{classes:t,isMediaComponent:n,isImageComponent:r}=e;return Qe({root:["root",n&&"media",r&&"img"]},BC,t)},IC=pe("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"}}]}),WC=["video","audio","picture","iframe","img"],JC=["picture","img"],FC=P.forwardRef(function(t,n){const r=$e({props:t,name:"MuiCardMedia"}),{children:s,className:a,component:l="div",image:u,src:f,style:p,...h}=r,m=WC.includes(l),y=!m&&u?{backgroundImage:`url("${u}")`,...p}:p,H={...r,component:l,isMediaComponent:m,isImageComponent:JC.includes(l)},A=VC(H);return v.jsx(IC,{className:Oe(A.root,a),as:l,role:!m&&u?"img":void 0,ref:n,style:y,ownerState:H,src:m?u||f:void 0,...h,children:s})});function YC(e){return Ze("PrivateSwitchBase",e)}Ge("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);const qC=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 Qe(a,YC,t)},ZC=pe(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}}]}),GC=pe("input",{shouldForwardProp:Zn})({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}),Ry=P.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:y,inputProps:H,inputRef:A,name:w,onBlur:x,onChange:S,onFocus:z,readOnly:O,required:C=!1,tabIndex:D,type:k,value:R,...M}=t,[L,j]=yi({controlled:s,default:!!u,name:"SwitchBase",state:"checked"}),B=Bo(),I=_=>{z&&z(_),B&&B.onFocus&&B.onFocus(_)},J=_=>{x&&x(_),B&&B.onBlur&&B.onBlur(_)},K=_=>{if(_.nativeEvent.defaultPrevented)return;const E=_.target.checked;j(E),S&&S(_,E)};let W=f;B&&typeof W>"u"&&(W=B.disabled);const ne=k==="checkbox"||k==="radio",re={...t,checked:L,disabled:W,disableFocusRipple:p,edge:h},F=qC(re);return v.jsxs(ZC,{component:"span",className:Oe(F.root,l),centerRipple:!0,focusRipple:!p,disabled:W,tabIndex:null,role:void 0,onFocus:I,onBlur:J,ownerState:re,ref:n,...M,children:[v.jsx(GC,{autoFocus:r,checked:s,defaultChecked:u,className:F.input,disabled:W,id:ne?y:void 0,name:w,onChange:K,readOnly:O,ref:A,required:C,ownerState:re,tabIndex:D,type:k,...k==="checkbox"&&R===void 0?{}:{value:R},...H}),L?a:m]})}),UC=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"),QC=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"),KC=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 _C(e){return Ze("MuiCheckbox",e)}const Cm=Ge("MuiCheckbox",["root","checked","disabled","indeterminate","colorPrimary","colorSecondary","sizeSmall","sizeMedium"]),$C=e=>{const{classes:t,indeterminate:n,color:r,size:s}=e,a={root:["root",n&&"indeterminate",`color${me(r)}`,`size${me(s)}`]},l=Qe(a,_C,t);return{...t,...l}},eD=pe(Ry,{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)}`]]}})(Ue(({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(mn()).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(mn()).map(([t])=>({props:{color:t},style:{[`&.${Cm.checked}, &.${Cm.indeterminate}`]:{color:(e.vars||e).palette[t].main},[`&.${Cm.disabled}`]:{color:(e.vars||e).palette.action.disabled}}})),{props:{disableRipple:!1},style:{"&:hover":{"@media (hover: none)":{backgroundColor:"transparent"}}}}]}))),tD=v.jsx(QC,{}),nD=v.jsx(UC,{}),rD=v.jsx(KC,{}),px=P.forwardRef(function(t,n){const r=$e({props:t,name:"MuiCheckbox"}),{checkedIcon:s=tD,color:a="primary",icon:l=nD,indeterminate:u=!1,indeterminateIcon:f=rD,inputProps:p,size:h="medium",disableRipple:m=!1,className:y,...H}=r,A=u?f:l,w=u?f:s,x={...r,disableRipple:m,color:a,indeterminate:u,size:h},S=$C(x);return v.jsx(eD,{type:"checkbox",inputProps:{"data-indeterminate":u,...p},icon:P.cloneElement(A,{fontSize:A.props.fontSize??h}),checkedIcon:P.cloneElement(w,{fontSize:w.props.fontSize??h}),ownerState:x,ref:n,className:Oe(S.root,y),disableRipple:m,...H,classes:S})});function oD(e){return Ze("MuiCircularProgress",e)}Ge("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]);const oi=44,gg=Vu` +`,GS=P.forwardRef(function(t,n){const r=$e({props:t,name:"MuiTouchRipple"}),{center:s=!1,classes:a={},className:l,...u}=r,[f,p]=P.useState([]),h=P.useRef(0),m=P.useRef(null);P.useEffect(()=>{m.current&&(m.current(),m.current=null)},[f]);const y=P.useRef(!1),H=Gi(),A=P.useRef(null),w=P.useRef(null),x=P.useCallback(C=>{const{pulsate:D,rippleX:k,rippleY:R,rippleSize:M,cb:L}=C;p(j=>[...j,v.jsx(ZS,{classes:{ripple:Oe(a.ripple,ao.ripple),rippleVisible:Oe(a.rippleVisible,ao.rippleVisible),ripplePulsate:Oe(a.ripplePulsate,ao.ripplePulsate),child:Oe(a.child,ao.child),childLeaving:Oe(a.childLeaving,ao.childLeaving),childPulsate:Oe(a.childPulsate,ao.childPulsate)},timeout:fg,pulsate:D,rippleX:k,rippleY:R,rippleSize:M},h.current)]),h.current+=1,m.current=L},[a]),S=P.useCallback((C={},D={},k=()=>{})=>{const{pulsate:R=!1,center:M=s||D.pulsate,fakeElement:L=!1}=D;if((C==null?void 0:C.type)==="mousedown"&&y.current){y.current=!1;return}(C==null?void 0:C.type)==="touchstart"&&(y.current=!0);const j=L?null:w.current,B=j?j.getBoundingClientRect():{width:0,height:0,left:0,top:0};let I,J,K;if(M||C===void 0||C.clientX===0&&C.clientY===0||!C.clientX&&!C.touches)I=Math.round(B.width/2),J=Math.round(B.height/2);else{const{clientX:W,clientY:ne}=C.touches&&C.touches.length>0?C.touches[0]:C;I=Math.round(W-B.left),J=Math.round(ne-B.top)}if(M)K=Math.sqrt((2*B.width**2+B.height**2)/3),K%2===0&&(K+=1);else{const W=Math.max(Math.abs((j?j.clientWidth:0)-I),I)*2+2,ne=Math.max(Math.abs((j?j.clientHeight:0)-J),J)*2+2;K=Math.sqrt(W**2+ne**2)}C!=null&&C.touches?A.current===null&&(A.current=()=>{x({pulsate:R,rippleX:I,rippleY:J,rippleSize:K,cb:k})},H.start(WS,()=>{A.current&&(A.current(),A.current=null)})):x({pulsate:R,rippleX:I,rippleY:J,rippleSize:K,cb:k})},[s,x,H]),z=P.useCallback(()=>{S({},{pulsate:!0})},[S]),O=P.useCallback((C,D)=>{if(H.clear(),(C==null?void 0:C.type)==="touchend"&&A.current){A.current(),A.current=null,H.start(0,()=>{O(C,D)});return}A.current=null,p(k=>k.length>0?k.slice(1):k),m.current=D},[H]);return P.useImperativeHandle(n,()=>({pulsate:z,start:S,stop:O}),[z,S,O]),v.jsx(qS,{className:Oe(ao.root,a.root,l),ref:w,...u,children:v.jsx(wy,{component:null,exit:!0,children:f})})});function US(e){return Ge("MuiButtonBase",e)}const QS=Ue("MuiButtonBase",["root","disabled","focusVisible"]),KS=e=>{const{disabled:t,focusVisible:n,focusVisibleClassName:r,classes:s}=e,l=Ke({root:["root",t&&"disabled",n&&"focusVisible"]},US,s);return n&&r&&(l.root+=` ${r}`),l},_S=pe("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"},[`&.${QS.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),fa=P.forwardRef(function(t,n){const r=$e({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:y=!1,focusVisibleClassName:H,LinkComponent:A="a",onBlur:w,onClick:x,onContextMenu:S,onDragLeave:z,onFocus:O,onFocusVisible:C,onKeyDown:D,onKeyUp:k,onMouseDown:R,onMouseLeave:M,onMouseUp:L,onTouchEnd:j,onTouchMove:B,onTouchStart:I,tabIndex:J=0,TouchRippleProps:K,touchRippleRef:W,type:ne,...re}=r,F=P.useRef(null),_=BS(),E=rn(_.ref,W),[G,X]=P.useState(!1);p&&G&&X(!1),P.useImperativeHandle(s,()=>({focusVisible:()=>{X(!0),F.current.focus()}}),[]);const ee=_.shouldMount&&!h&&!p;P.useEffect(()=>{G&&y&&!h&&_.pulsate()},[h,y,G,_]);const te=xs(_,"start",R,m),ue=xs(_,"stop",S,m),de=xs(_,"stop",z,m),xe=xs(_,"stop",L,m),ve=xs(_,"stop",ce=>{G&&ce.preventDefault(),M&&M(ce)},m),be=xs(_,"start",I,m),Xe=xs(_,"stop",j,m),Ie=xs(_,"stop",B,m),He=xs(_,"stop",ce=>{Ol(ce.target)||X(!1),w&&w(ce)},!1),_e=mr(ce=>{F.current||(F.current=ce.currentTarget),Ol(ce.target)&&(X(!0),C&&C(ce)),O&&O(ce)}),we=()=>{const ce=F.current;return f&&f!=="button"&&!(ce.tagName==="A"&&ce.href)},tt=mr(ce=>{y&&!ce.repeat&&G&&ce.key===" "&&_.stop(ce,()=>{_.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(),x&&x(ce))}),Le=mr(ce=>{y&&ce.key===" "&&G&&!ce.defaultPrevented&&_.stop(ce,()=>{_.pulsate(ce)}),k&&k(ce),x&&ce.target===ce.currentTarget&&we()&&ce.key===" "&&!ce.defaultPrevented&&x(ce)});let dt=f;dt==="button"&&(re.href||re.to)&&(dt=A);const N={};dt==="button"?(N.type=ne===void 0?"button":ne,N.disabled=p):(!re.href&&!re.to&&(N.role="button"),p&&(N["aria-disabled"]=p));const $=rn(n,F),se={...r,centerRipple:a,component:f,disabled:p,disableRipple:h,disableTouchRipple:m,focusRipple:y,tabIndex:J,focusVisible:G},ye=KS(se);return v.jsxs(_S,{as:dt,className:Oe(ye.root,u),ownerState:se,onBlur:He,onClick:x,onContextMenu:ue,onFocus:_e,onKeyDown:tt,onKeyUp:Le,onMouseDown:te,onMouseLeave:ve,onMouseUp:xe,onDragLeave:de,onTouchEnd:Xe,onTouchMove:Ie,onTouchStart:be,ref:$,tabIndex:p?-1:J,type:ne,...N,...re,children:[l,ee?v.jsx(GS,{ref:E,center:a,...K}):null]})});function xs(e,t,n,r=!1){return mr(s=>(n&&n(s),r||e[t](s),!0))}function $S(e){return typeof e.main=="string"}function ez(e,t=[]){if(!$S(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&&ez(t,e)}function tz(e){return Ge("MuiAlert",e)}const F8=Ue("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 nz(e){return Ge("MuiIconButton",e)}const rz=Ue("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"]),oz=e=>{const{classes:t,disabled:n,color:r,edge:s,size:a}=e,l={root:["root",n&&"disabled",r!=="default"&&`color${me(r)}`,s&&`edge${me(s)}`,`size${me(a)}`]};return Ke(l,nz,t)},sz=pe(fa,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color!=="default"&&t[`color${me(n.color)}`],n.edge&&t[`edge${me(n.edge)}`],t[`size${me(n.size)}`]]}})(Qe(({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}}]})),Qe(({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})`: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)}}],[`&.${rz.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled}}))),zr=P.forwardRef(function(t,n){const r=$e({props:t,name:"MuiIconButton"}),{edge:s=!1,children:a,className:l,color:u="default",disabled:f=!1,disableFocusRipple:p=!1,size:h="medium",...m}=r,y={...r,edge:s,color:u,disabled:f,disableFocusRipple:p,size:h},H=oz(y);return v.jsx(sz,{className:Oe(H.root,l),centerRipple:!0,focusRipple:!p,disabled:f,ref:n,...m,ownerState:y,children: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"),az=At(v.jsx("path",{d:"M12 5.99L19.53 19H4.47L12 5.99M12 2L1 21h22L12 2zm1 14h-2v2h2v-2zm0-6h-2v4h2v-4z"}),"ReportProblemOutlined"),lz=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"),cz=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"),p1=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"),uz=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,tz,s)},fz=pe(Ur,{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)}`]]}})(Qe(({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),[`& .${F8.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}`,[`& .${F8.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)}}}))]}})),dz=pe("div",{name:"MuiAlert",slot:"Icon",overridesResolver:(e,t)=>t.icon})({marginRight:12,padding:"7px 0",display:"flex",fontSize:22,opacity:.9}),pz=pe("div",{name:"MuiAlert",slot:"Message",overridesResolver:(e,t)=>t.message})({padding:"8px 0",minWidth:0,overflow:"auto"}),Y8=pe("div",{name:"MuiAlert",slot:"Action",overridesResolver:(e,t)=>t.action})({display:"flex",alignItems:"flex-start",padding:"4px 0 0 16px",marginLeft:"auto",marginRight:-8}),q8={success:v.jsx(iz,{fontSize:"inherit"}),warning:v.jsx(az,{fontSize:"inherit"}),error:v.jsx(lz,{fontSize:"inherit"}),info:v.jsx(cz,{fontSize:"inherit"})},jy=P.forwardRef(function(t,n){const r=$e({props:t,name:"MuiAlert"}),{action:s,children:a,className:l,closeText:u="Close",color:f,components:p={},componentsProps:h={},icon:m,iconMapping:y=q8,onClose:H,role:A="alert",severity:w="success",slotProps:x={},slots:S={},variant:z="standard",...O}=r,C={...r,color:f,severity:w,variant:z,colorSeverity:f||w},D=uz(C),k={slots:{closeButton:p.CloseButton,closeIcon:p.CloseIcon,...S},slotProps:{...h,...x}},[R,M]=Cn("closeButton",{elementType:zr,externalForwardedProps:k,ownerState:C}),[L,j]=Cn("closeIcon",{elementType:p1,externalForwardedProps:k,ownerState:C});return v.jsxs(fz,{role:A,elevation:0,ownerState:C,className:Oe(D.root,l),ref:n,...O,children:[m!==!1?v.jsx(dz,{ownerState:C,className:D.icon,children:m||y[w]||q8[w]}):null,v.jsx(pz,{ownerState:C,className:D.message,children:a}),s!=null?v.jsx(Y8,{ownerState:C,className:D.action,children:s}):null,s==null&&H?v.jsx(Y8,{ownerState:C,className:D.action,children:v.jsx(R,{size:"small","aria-label":u,title:u,color:"inherit",onClick:H,...M,children:v.jsx(L,{fontSize:"small",...j})})}):null]})});function vz(e){return Ge("MuiTypography",e)}const Z8=Ue("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]),hz={primary:!0,secondary:!0,error:!0,info:!0,success:!0,warning:!0,textPrimary:!0,textSecondary:!0,textDisabled:!0},mz=PS(),gz=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,vz,l)},yz=pe("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]}})(Qe(({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${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}}]}})),G8={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},xt=P.forwardRef(function(t,n){const{color:r,...s}=$e({props:t,name:"MuiTypography"}),a=!hz[r],l=mz({...s,...a&&{color:r}}),{align:u="inherit",className:f,component:p,gutterBottom:h=!1,noWrap:m=!1,paragraph:y=!1,variant:H="body1",variantMapping:A=G8,...w}=l,x={...l,align:u,color:r,className:f,component:p,gutterBottom:h,noWrap:m,paragraph:y,variant:H,variantMapping:A},S=p||(y?"p":A[H]||G8[H])||"span",z=gz(x);return v.jsx(yz,{as:S,ref:n,className:Oe(z.root,f),...w,ownerState:x,style:{...u!=="inherit"&&{"--Typography-textAlign":u},...w.style}})});function Az(e){return Ge("MuiAppBar",e)}Ue("MuiAppBar",["root","positionFixed","positionAbsolute","positionSticky","positionStatic","positionRelative","colorDefault","colorPrimary","colorSecondary","colorInherit","colorTransparent","colorError","colorInfo","colorSuccess","colorWarning"]);const Pz=e=>{const{color:t,position:n,classes:r}=e,s={root:["root",`color${me(t)}`,`position${me(n)}`]};return Ke(s,Az,r)},U8=(e,t)=>e?`${e==null?void 0:e.replace(")","")}, ${t})`:t,bz=pe(Ur,{name:"MuiAppBar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`position${me(n.position)}`],t[`color${me(n.color)}`]]}})(Qe(({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?U8(e.vars.palette.AppBar.darkBg,"var(--AppBar-background)"):null,color:e.vars?U8(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"})}}]}))),xz=P.forwardRef(function(t,n){const r=$e({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=Pz(p);return v.jsx(bz,{square:!0,component:"header",ownerState:p,elevation:4,className:Oe(h.root,s,u==="fixed"&&"mui-fixed"),ref:n,...f})});function Q8(e){return e.normalize("NFD").replace(/[\u0300-\u036f]/g,"")}function wz(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=Q8(h));const m=h?u.filter(y=>{let H=(a||p)(y);return n&&(H=H.toLowerCase()),t&&(H=Q8(H)),s==="start"?H.startsWith(h):H.includes(h)}):u;return typeof r=="number"?m.slice(0,r):m}}const Hz=wz(),K8=5,jz=e=>{var t;return e.current!==null&&((t=e.current.parentElement)==null?void 0:t.contains(document.activeElement))},Sz=[];function zz(e){const{unstable_isActiveElementInListbox:t=jz,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?Sz:null,disableClearable:m=!1,disableCloseOnSelect:y=!1,disabled:H,disabledItemsFocusable:A=!1,disableListWrap:w=!1,filterOptions:x=Hz,filterSelectedOptions:S=!1,freeSolo:z=!1,getOptionDisabled:O,getOptionKey:C,getOptionLabel:D=oe=>oe.label??oe,groupBy:k,handleHomeEndKeys:R=!e.freeSolo,id:M,includeInputInList:L=!1,inputValue:j,isOptionEqualToValue:B=(oe,le)=>oe===le,multiple:I=!1,onChange:J,onClose:K,onHighlightChange:W,onInputChange:ne,onOpen:re,open:F,openOnFocus:_=!1,options:E,readOnly:G=!1,selectOnFocus:X=!e.freeSolo,value:ee}=e,te=Rs(M);let ue=D;ue=oe=>{const le=D(oe);return typeof le!="string"?String(le):le};const de=P.useRef(!1),xe=P.useRef(!0),ve=P.useRef(null),be=P.useRef(null),[Xe,Ie]=P.useState(null),[He,_e]=P.useState(-1),we=s?0:-1,tt=P.useRef(we),[Le,dt]=yi({controlled:ee,default:h,name:p}),[N,$]=yi({controlled:j,default:"",name:p,state:"inputValue"}),[se,ye]=P.useState(!1),ce=P.useCallback((oe,le,Ee)=>{if(!(I?Le.length!(S&&(I?Le:[Le]).some(le=>le!==null&&B(oe,le)))),{inputValue:nt&&st?"":N,getOptionLabel:ue}):[],Ht=dj({filteredOptions:ct,value:Le,inputValue:N});P.useEffect(()=>{const oe=Le!==Ht.value;se&&!oe||z&&!oe||ce(null,Le,"reset")},[Le,ce,se,Ht.value,z]);const We=Ae&&ct.length>0&&!G,Dt=mr(oe=>{oe===-1?ve.current.focus():Xe.querySelector(`[data-tag-index="${oe}"]`).focus()});P.useEffect(()=>{I&&He>Le.length-1&&(_e(-1),Dt(-1))},[Le,I,He,Dt]);function Jt(oe,le){if(!be.current||oe<0||oe>=ct.length)return-1;let Ee=oe;for(;;){const ot=be.current.querySelector(`[data-option-index="${Ee}"]`),lt=A?!1:!ot||ot.disabled||ot.getAttribute("aria-disabled")==="true";if(ot&&ot.hasAttribute("tabindex")&&!lt)return Ee;if(le==="next"?Ee=(Ee+1)%ct.length:Ee=(Ee-1+ct.length)%ct.length,Ee===oe)return-1}}const Be=mr(({event:oe,index:le,reason:Ee="auto"})=>{if(tt.current=le,le===-1?ve.current.removeAttribute("aria-activedescendant"):ve.current.setAttribute("aria-activedescendant",`${te}-option-${le}`),W&&W(oe,le===-1?null:ct[le],Ee),!be.current)return;const ot=be.current.querySelector(`[role="option"].${n}-focused`);ot&&(ot.classList.remove(`${n}-focused`),ot.classList.remove(`${n}-focusVisible`));let lt=be.current;if(be.current.getAttribute("role")!=="listbox"&&(lt=be.current.parentElement.querySelector('[role="listbox"]')),!lt)return;if(le===-1){lt.scrollTop=0;return}const It=be.current.querySelector(`[data-option-index="${le}"]`);if(It&&(It.classList.add(`${n}-focused`),Ee==="keyboard"&&It.classList.add(`${n}-focusVisible`),lt.scrollHeight>lt.clientHeight&&Ee!=="mouse"&&Ee!=="touch")){const Nt=It,Ln=lt.clientHeight+lt.scrollTop,Ao=Nt.offsetTop+Nt.offsetHeight;Ao>Ln?lt.scrollTop=Ao-lt.clientHeight:Nt.offsetTop-Nt.offsetHeight*(k?1.3:0){if(!ft)return;const It=Jt((()=>{const Nt=ct.length-1;if(le==="reset")return we;if(le==="start")return 0;if(le==="end")return Nt;const Ln=tt.current+le;return Ln<0?Ln===-1&&L?-1:w&&tt.current!==-1||Math.abs(le)>1?0:Nt:Ln>Nt?Ln===Nt+1&&L?-1:w||Math.abs(le)>1?Nt:0:Ln})(),Ee);if(Be({index:It,reason:ot,event:oe}),r&&le!=="reset")if(It===-1)ve.current.value=N;else{const Nt=ue(ct[It]);ve.current.value=Nt,Nt.toLowerCase().indexOf(N.toLowerCase())===0&&N.length>0&&ve.current.setSelectionRange(N.length,Nt.length)}}),Y=()=>{const oe=(le,Ee)=>{const ot=le?ue(le):"",lt=Ee?ue(Ee):"";return ot===lt};if(tt.current!==-1&&Ht.filteredOptions&&Ht.filteredOptions.length!==ct.length&&Ht.inputValue===N&&(I?Le.length===Ht.value.length&&Ht.value.every((le,Ee)=>ue(Le[Ee])===ue(le)):oe(Ht.value,Le))){const le=Ht.filteredOptions[tt.current];if(le)return ct.findIndex(Ee=>ue(Ee)===ue(le))}return-1},Pe=P.useCallback(()=>{if(!ft)return;const oe=Y();if(oe!==-1){tt.current=oe;return}const le=I?Le[0]:Le;if(ct.length===0||le==null){U({diff:"reset"});return}if(be.current){if(le!=null){const Ee=ct[tt.current];if(I&&Ee&&Le.findIndex(lt=>B(Ee,lt))!==-1)return;const ot=ct.findIndex(lt=>B(lt,le));ot===-1?U({diff:"reset"}):Be({index:ot});return}if(tt.current>=ct.length-1){Be({index:ct.length-1});return}Be({index:tt.current})}},[ct.length,I?!1:Le,S,U,Be,ft,N,I]),De=mr(oe=>{rp(be,oe),oe&&Pe()});P.useEffect(()=>{Pe()},[Pe]);const Te=oe=>{Ae||(je(!0),wt(!0),re&&re(oe))},Ne=(oe,le)=>{Ae&&(je(!1),K&&K(oe,le))},Je=(oe,le,Ee,ot)=>{if(I){if(Le.length===le.length&&Le.every((lt,It)=>lt===le[It]))return}else if(Le===le)return;J&&J(oe,le,Ee,ot),dt(le)},ke=P.useRef(!1),rt=(oe,le,Ee="selectOption",ot="options")=>{let lt=Ee,It=le;if(I){It=Array.isArray(Le)?Le.slice():[];const Nt=It.findIndex(Ln=>B(le,Ln));Nt===-1?It.push(le):ot!=="freeSolo"&&(It.splice(Nt,1),lt="removeOption")}ce(oe,It,lt),Je(oe,It,lt,{option:le}),!y&&(!oe||!oe.ctrlKey&&!oe.metaKey)&&Ne(oe,lt),(l===!0||l==="touch"&&ke.current||l==="mouse"&&!ke.current)&&ve.current.blur()};function vt(oe,le){if(oe===-1)return-1;let Ee=oe;for(;;){if(le==="next"&&Ee===Le.length||le==="previous"&&Ee===-1)return-1;const ot=Xe.querySelector(`[data-tag-index="${Ee}"]`);if(!ot||!ot.hasAttribute("tabindex")||ot.disabled||ot.getAttribute("aria-disabled")==="true")Ee+=le==="next"?1:-1;else return Ee}}const kt=(oe,le)=>{if(!I)return;N===""&&Ne(oe,"toggleInput");let Ee=He;He===-1?N===""&&le==="previous"&&(Ee=Le.length-1):(Ee+=le==="next"?1:-1,Ee<0&&(Ee=0),Ee===Le.length&&(Ee=-1)),Ee=vt(Ee,le),_e(Ee),Dt(Ee)},Qt=oe=>{de.current=!0,$(""),ne&&ne(oe,"","clear"),Je(oe,I?[]:null,"clear")},Fe=oe=>le=>{if(oe.onKeyDown&&oe.onKeyDown(le),!le.defaultMuiPrevented&&(He!==-1&&!["ArrowLeft","ArrowRight"].includes(le.key)&&(_e(-1),Dt(-1)),le.which!==229))switch(le.key){case"Home":ft&&R&&(le.preventDefault(),U({diff:"start",direction:"next",reason:"keyboard",event:le}));break;case"End":ft&&R&&(le.preventDefault(),U({diff:"end",direction:"previous",reason:"keyboard",event:le}));break;case"PageUp":le.preventDefault(),U({diff:-K8,direction:"previous",reason:"keyboard",event:le}),Te(le);break;case"PageDown":le.preventDefault(),U({diff:K8,direction:"next",reason:"keyboard",event:le}),Te(le);break;case"ArrowDown":le.preventDefault(),U({diff:1,direction:"next",reason:"keyboard",event:le}),Te(le);break;case"ArrowUp":le.preventDefault(),U({diff:-1,direction:"previous",reason:"keyboard",event:le}),Te(le);break;case"ArrowLeft":kt(le,"previous");break;case"ArrowRight":kt(le,"next");break;case"Enter":if(tt.current!==-1&&ft){const Ee=ct[tt.current],ot=O?O(Ee):!1;if(le.preventDefault(),ot)return;rt(le,Ee,"selectOption"),r&&ve.current.setSelectionRange(ve.current.value.length,ve.current.value.length)}else z&&N!==""&&nt===!1&&(I&&le.preventDefault(),rt(le,N,"createOption","freeSolo"));break;case"Escape":ft?(le.preventDefault(),le.stopPropagation(),Ne(le,"escape")):f&&(N!==""||I&&Le.length>0)&&(le.preventDefault(),le.stopPropagation(),Qt(le));break;case"Backspace":if(I&&!G&&N===""&&Le.length>0){const Ee=He===-1?Le.length-1:He,ot=Le.slice();ot.splice(Ee,1),Je(le,ot,"removeOption",{option:Le[Ee]})}break;case"Delete":if(I&&!G&&N===""&&Le.length>0&&He!==-1){const Ee=He,ot=Le.slice();ot.splice(Ee,1),Je(le,ot,"removeOption",{option:Le[Ee]})}break}},Rt=oe=>{ye(!0),_&&!de.current&&Te(oe)},un=oe=>{if(t(be)){ve.current.focus();return}ye(!1),xe.current=!0,de.current=!1,a&&tt.current!==-1&&ft?rt(oe,ct[tt.current],"blur"):a&&z&&N!==""?rt(oe,N,"blur","freeSolo"):u&&ce(oe,Le,"blur"),Ne(oe,"blur")},zn=oe=>{const le=oe.target.value;N!==le&&($(le),wt(!1),ne&&ne(oe,le,"input")),le===""?!m&&!I&&Je(oe,null,"clear"):Te(oe)},Gn=oe=>{const le=Number(oe.currentTarget.getAttribute("data-option-index"));tt.current!==le&&Be({event:oe,index:le,reason:"mouse"})},An=oe=>{Be({event:oe,index:Number(oe.currentTarget.getAttribute("data-option-index")),reason:"touch"}),ke.current=!0},Mr=oe=>{const le=Number(oe.currentTarget.getAttribute("data-option-index"));rt(oe,ct[le],"selectOption"),ke.current=!1},mo=oe=>le=>{const Ee=Le.slice();Ee.splice(oe,1),Je(le,Ee,"removeOption",{option:Le[oe]})},go=oe=>{Ae?Ne(oe,"toggleInput"):Te(oe)},ds=oe=>{oe.currentTarget.contains(oe.target)&&oe.target.getAttribute("id")!==te&&oe.preventDefault()},yo=oe=>{oe.currentTarget.contains(oe.target)&&(ve.current.focus(),X&&xe.current&&ve.current.selectionEnd-ve.current.selectionStart===0&&ve.current.select(),xe.current=!1)},Pn=oe=>{!H&&(N===""||!Ae)&&go(oe)};let on=z&&N.length>0;on=on||(I?Le.length>0:Le!==null);let Re=ct;return k&&(Re=ct.reduce((oe,le,Ee)=>{const ot=k(le);return oe.length>0&&oe[oe.length-1].group===ot?oe[oe.length-1].options.push(le):oe.push({key:Ee,index:Ee,group:ot,options:[le]}),oe},[])),H&&se&&un(),{getRootProps:(oe={})=>({"aria-owns":We?`${te}-listbox`:null,...oe,onKeyDown:Fe(oe),onMouseDown:ds,onClick:yo}),getInputLabelProps:()=>({id:`${te}-label`,htmlFor:te}),getInputProps:()=>({id:te,value:N,onBlur:un,onFocus:Rt,onChange:zn,onMouseDown:Pn,"aria-activedescendant":ft?"":null,"aria-autocomplete":r?"both":"list","aria-controls":We?`${te}-listbox`:void 0,"aria-expanded":We,autoComplete:"off",ref:ve,autoCapitalize:"none",spellCheck:"false",role:"combobox",disabled:H}),getClearProps:()=>({tabIndex:-1,type:"button",onClick:Qt}),getPopupIndicatorProps:()=>({tabIndex:-1,type:"button",onClick:go}),getTagProps:({index:oe})=>({key:oe,"data-tag-index":oe,tabIndex:-1,...!G&&{onDelete:mo(oe)}}),getListboxProps:()=>({role:"listbox",id:`${te}-listbox`,"aria-labelledby":`${te}-label`,ref:De,onMouseDown:oe=>{oe.preventDefault()}}),getOptionProps:({index:oe,option:le})=>{const Ee=(I?Le:[Le]).some(lt=>lt!=null&&B(le,lt)),ot=O?O(le):!1;return{key:(C==null?void 0:C(le))??ue(le),tabIndex:-1,role:"option",id:`${te}-option-${oe}`,onMouseMove:Gn,onClick:Mr,onTouchStart:An,"data-option-index":oe,"aria-disabled":ot,"aria-selected":Ee}},id:te,inputValue:N,value:Le,dirty:on,expanded:ft&&Xe,popupOpen:ft,focused:se||He!==-1,anchorEl:Xe,setAnchorEl:Ie,focusedTag:He,groupedOptions:Re}}var Or="top",po="bottom",vo="right",Cr="left",Sy="auto",Yu=[Or,po,vo,Cr],Dl="start",ju="end",Oz="clippingParents",v1="viewport",Rc="popper",Cz="reference",_8=Yu.reduce(function(e,t){return e.concat([t+"-"+Dl,t+"-"+ju])},[]),h1=[].concat(Yu,[Sy]).reduce(function(e,t){return e.concat([t,t+"-"+Dl,t+"-"+ju])},[]),Dz="beforeRead",Tz="read",kz="afterRead",Rz="beforeMain",Ez="main",Mz="afterMain",Lz="beforeWrite",Xz="write",Nz="afterWrite",Bz=[Dz,Tz,kz,Rz,Ez,Mz,Lz,Xz,Nz];function is(e){return e?(e.nodeName||"").toLowerCase():null}function Qr(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=Qr(e).Element;return e instanceof t||e instanceof Element}function uo(e){var t=Qr(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function zy(e){if(typeof ShadowRoot>"u")return!1;var t=Qr(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function Vz(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)||!is(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 Iz(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)||!is(s)||(Object.assign(s.style,u),Object.keys(a).forEach(function(f){s.removeAttribute(f)}))})}}const Wz={name:"applyStyles",enabled:!0,phase:"write",fn:Vz,effect:Iz,requires:["computeStyles"]};function os(e){return e.split("-")[0]}var ia=Math.max,lp=Math.min,Tl=Math.round;function dg(){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 m1(){return!/^((?!chrome|android).)*safari/i.test(dg())}function kl(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&&Tl(r.width)/e.offsetWidth||1,a=e.offsetHeight>0&&Tl(r.height)/e.offsetHeight||1);var l=da(e)?Qr(e):window,u=l.visualViewport,f=!m1()&&n,p=(r.left+(f&&u?u.offsetLeft:0))/s,h=(r.top+(f&&u?u.offsetTop:0))/a,m=r.width/s,y=r.height/a;return{width:m,height:y,top:h,right:p+m,bottom:h+y,left:p,x:p,y:h}}function Oy(e){var t=kl(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 g1(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&zy(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function Es(e){return Qr(e).getComputedStyle(e)}function Jz(e){return["table","td","th"].indexOf(is(e))>=0}function wi(e){return((da(e)?e.ownerDocument:e.document)||window.document).documentElement}function qp(e){return is(e)==="html"?e:e.assignedSlot||e.parentNode||(zy(e)?e.host:null)||wi(e)}function $8(e){return!uo(e)||Es(e).position==="fixed"?null:e.offsetParent}function Fz(e){var t=/firefox/i.test(dg()),n=/Trident/i.test(dg());if(n&&uo(e)){var r=Es(e);if(r.position==="fixed")return null}var s=qp(e);for(zy(s)&&(s=s.host);uo(s)&&["html","body"].indexOf(is(s))<0;){var a=Es(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 qu(e){for(var t=Qr(e),n=$8(e);n&&Jz(n)&&Es(n).position==="static";)n=$8(n);return n&&(is(n)==="html"||is(n)==="body"&&Es(n).position==="static")?t:n||Fz(e)||t}function Cy(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function uu(e,t,n){return ia(e,lp(t,n))}function Yz(e,t,n){var r=uu(e,t,n);return r>n?n:r}function y1(){return{top:0,right:0,bottom:0,left:0}}function A1(e){return Object.assign({},y1(),e)}function P1(e,t){return t.reduce(function(n,r){return n[r]=e,n},{})}var qz=function(t,n){return t=typeof t=="function"?t(Object.assign({},n.rects,{placement:n.placement})):t,A1(typeof t!="number"?t:P1(t,Yu))};function Zz(e){var t,n=e.state,r=e.name,s=e.options,a=n.elements.arrow,l=n.modifiersData.popperOffsets,u=os(n.placement),f=Cy(u),p=[Cr,vo].indexOf(u)>=0,h=p?"height":"width";if(!(!a||!l)){var m=qz(s.padding,n),y=Oy(a),H=f==="y"?Or:Cr,A=f==="y"?po:vo,w=n.rects.reference[h]+n.rects.reference[f]-l[f]-n.rects.popper[h],x=l[f]-n.rects.reference[f],S=qu(a),z=S?f==="y"?S.clientHeight||0:S.clientWidth||0:0,O=w/2-x/2,C=m[H],D=z-y[h]-m[A],k=z/2-y[h]/2+O,R=uu(C,k,D),M=f;n.modifiersData[r]=(t={},t[M]=R,t.centerOffset=R-k,t)}}function Gz(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)||g1(t.elements.popper,s)&&(t.elements.arrow=s))}const Uz={name:"arrow",enabled:!0,phase:"main",fn:Zz,effect:Gz,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Rl(e){return e.split("-")[1]}var Qz={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Kz(e,t){var n=e.x,r=e.y,s=t.devicePixelRatio||1;return{x:Tl(n*s)/s||0,y:Tl(r*s)/s||0}}function ex(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,y=l.x,H=y===void 0?0:y,A=l.y,w=A===void 0?0:A,x=typeof h=="function"?h({x:H,y:w}):{x:H,y:w};H=x.x,w=x.y;var S=l.hasOwnProperty("x"),z=l.hasOwnProperty("y"),O=Cr,C=Or,D=window;if(p){var k=qu(n),R="clientHeight",M="clientWidth";if(k===Qr(n)&&(k=wi(n),Es(k).position!=="static"&&u==="absolute"&&(R="scrollHeight",M="scrollWidth")),k=k,s===Or||(s===Cr||s===vo)&&a===ju){C=po;var L=m&&k===D&&D.visualViewport?D.visualViewport.height:k[R];w-=L-r.height,w*=f?1:-1}if(s===Cr||(s===Or||s===po)&&a===ju){O=vo;var j=m&&k===D&&D.visualViewport?D.visualViewport.width:k[M];H-=j-r.width,H*=f?1:-1}}var B=Object.assign({position:u},p&&Qz),I=h===!0?Kz({x:H,y:w},Qr(n)):{x:H,y:w};if(H=I.x,w=I.y,f){var J;return Object.assign({},B,(J={},J[C]=z?"0":"",J[O]=S?"0":"",J.transform=(D.devicePixelRatio||1)<=1?"translate("+H+"px, "+w+"px)":"translate3d("+H+"px, "+w+"px, 0)",J))}return Object.assign({},B,(t={},t[C]=z?w+"px":"",t[O]=S?H+"px":"",t.transform="",t))}function _z(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:os(t.placement),variation:Rl(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,ex(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,ex(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 $z={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:_z,data:{}};var yd={passive:!0};function eO(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=Qr(t.elements.popper),p=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&p.forEach(function(h){h.addEventListener("scroll",n.update,yd)}),u&&f.addEventListener("resize",n.update,yd),function(){a&&p.forEach(function(h){h.removeEventListener("scroll",n.update,yd)}),u&&f.removeEventListener("resize",n.update,yd)}}const tO={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:eO,data:{}};var nO={left:"right",right:"left",bottom:"top",top:"bottom"};function Bd(e){return e.replace(/left|right|bottom|top/g,function(t){return nO[t]})}var rO={start:"end",end:"start"};function tx(e){return e.replace(/start|end/g,function(t){return rO[t]})}function Dy(e){var t=Qr(e),n=t.pageXOffset,r=t.pageYOffset;return{scrollLeft:n,scrollTop:r}}function Ty(e){return kl(wi(e)).left+Dy(e).scrollLeft}function oO(e,t){var n=Qr(e),r=wi(e),s=n.visualViewport,a=r.clientWidth,l=r.clientHeight,u=0,f=0;if(s){a=s.width,l=s.height;var p=m1();(p||!p&&t==="fixed")&&(u=s.offsetLeft,f=s.offsetTop)}return{width:a,height:l,x:u+Ty(e),y:f}}function sO(e){var t,n=wi(e),r=Dy(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+Ty(e),f=-r.scrollTop;return Es(s||n).direction==="rtl"&&(u+=ia(n.clientWidth,s?s.clientWidth:0)-a),{width:a,height:l,x:u,y:f}}function ky(e){var t=Es(e),n=t.overflow,r=t.overflowX,s=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+s+r)}function b1(e){return["html","body","#document"].indexOf(is(e))>=0?e.ownerDocument.body:uo(e)&&ky(e)?e:b1(qp(e))}function fu(e,t){var n;t===void 0&&(t=[]);var r=b1(e),s=r===((n=e.ownerDocument)==null?void 0:n.body),a=Qr(r),l=s?[a].concat(a.visualViewport||[],ky(r)?r:[]):r,u=t.concat(l);return s?u:u.concat(fu(qp(l)))}function pg(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function iO(e,t){var n=kl(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 nx(e,t,n){return t===v1?pg(oO(e,n)):da(t)?iO(t,n):pg(sO(wi(e)))}function aO(e){var t=fu(qp(e)),n=["absolute","fixed"].indexOf(Es(e).position)>=0,r=n&&uo(e)?qu(e):e;return da(r)?t.filter(function(s){return da(s)&&g1(s,r)&&is(s)!=="body"}):[]}function lO(e,t,n,r){var s=t==="clippingParents"?aO(e):[].concat(t),a=[].concat(s,[n]),l=a[0],u=a.reduce(function(f,p){var h=nx(e,p,r);return f.top=ia(h.top,f.top),f.right=lp(h.right,f.right),f.bottom=lp(h.bottom,f.bottom),f.left=ia(h.left,f.left),f},nx(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 x1(e){var t=e.reference,n=e.element,r=e.placement,s=r?os(r):null,a=r?Rl(r):null,l=t.x+t.width/2-n.width/2,u=t.y+t.height/2-n.height/2,f;switch(s){case Or:f={x:l,y:t.y-n.height};break;case po:f={x:l,y:t.y+t.height};break;case vo:f={x:t.x+t.width,y:u};break;case Cr:f={x:t.x-n.width,y:u};break;default:f={x:t.x,y:t.y}}var p=s?Cy(s):null;if(p!=null){var h=p==="y"?"height":"width";switch(a){case Dl:f[p]=f[p]-(t[h]/2-n[h]/2);break;case ju:f[p]=f[p]+(t[h]/2-n[h]/2);break}}return f}function Su(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?Oz:u,p=n.rootBoundary,h=p===void 0?v1:p,m=n.elementContext,y=m===void 0?Rc:m,H=n.altBoundary,A=H===void 0?!1:H,w=n.padding,x=w===void 0?0:w,S=A1(typeof x!="number"?x:P1(x,Yu)),z=y===Rc?Cz:Rc,O=e.rects.popper,C=e.elements[A?z:y],D=lO(da(C)?C:C.contextElement||wi(e.elements.popper),f,h,l),k=kl(e.elements.reference),R=x1({reference:k,element:O,strategy:"absolute",placement:s}),M=pg(Object.assign({},O,R)),L=y===Rc?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},B=e.modifiersData.offset;if(y===Rc&&B){var I=B[s];Object.keys(j).forEach(function(J){var K=[vo,po].indexOf(J)>=0?1:-1,W=[Or,po].indexOf(J)>=0?"y":"x";j[J]+=I[W]*K})}return j}function cO(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?h1:f,h=Rl(r),m=h?u?_8:_8.filter(function(A){return Rl(A)===h}):Yu,y=m.filter(function(A){return p.indexOf(A)>=0});y.length===0&&(y=m);var H=y.reduce(function(A,w){return A[w]=Su(e,{placement:w,boundary:s,rootBoundary:a,padding:l})[os(w)],A},{});return Object.keys(H).sort(function(A,w){return H[A]-H[w]})}function uO(e){if(os(e)===Sy)return[];var t=Bd(e);return[tx(e),t,tx(t)]}function fO(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,y=n.altBoundary,H=n.flipVariations,A=H===void 0?!0:H,w=n.allowedAutoPlacements,x=t.options.placement,S=os(x),z=S===x,O=f||(z||!A?[Bd(x)]:uO(x)),C=[x].concat(O).reduce(function(te,ue){return te.concat(os(ue)===Sy?cO(t,{placement:ue,boundary:h,rootBoundary:m,padding:p,flipVariations:A,allowedAutoPlacements:w}):ue)},[]),D=t.rects.reference,k=t.rects.popper,R=new Map,M=!0,L=C[0],j=0;j=0,W=K?"width":"height",ne=Su(t,{placement:B,boundary:h,rootBoundary:m,altBoundary:y,padding:p}),re=K?J?vo:Cr:J?po:Or;D[W]>k[W]&&(re=Bd(re));var F=Bd(re),_=[];if(a&&_.push(ne[I]<=0),u&&_.push(ne[re]<=0,ne[F]<=0),_.every(function(te){return te})){L=B,M=!1;break}R.set(B,_)}if(M)for(var E=A?3:1,G=function(ue){var de=C.find(function(xe){var ve=R.get(xe);if(ve)return ve.slice(0,ue).every(function(be){return be})});if(de)return L=de,"break"},X=E;X>0;X--){var ee=G(X);if(ee==="break")break}t.placement!==L&&(t.modifiersData[r]._skip=!0,t.placement=L,t.reset=!0)}}const dO={name:"flip",enabled:!0,phase:"main",fn:fO,requiresIfExists:["offset"],data:{_skip:!1}};function rx(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 ox(e){return[Or,vo,po,Cr].some(function(t){return e[t]>=0})}function pO(e){var t=e.state,n=e.name,r=t.rects.reference,s=t.rects.popper,a=t.modifiersData.preventOverflow,l=Su(t,{elementContext:"reference"}),u=Su(t,{altBoundary:!0}),f=rx(l,r),p=rx(u,s,a),h=ox(f),m=ox(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 vO={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:pO};function hO(e,t,n){var r=os(e),s=[Cr,Or].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,[Cr,vo].indexOf(r)>=0?{x:u,y:l}:{x:l,y:u}}function mO(e){var t=e.state,n=e.options,r=e.name,s=n.offset,a=s===void 0?[0,0]:s,l=h1.reduce(function(h,m){return h[m]=hO(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 gO={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:mO};function yO(e){var t=e.state,n=e.name;t.modifiersData[n]=x1({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}const AO={name:"popperOffsets",enabled:!0,phase:"read",fn:yO,data:{}};function PO(e){return e==="x"?"y":"x"}function bO(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,y=n.tether,H=y===void 0?!0:y,A=n.tetherOffset,w=A===void 0?0:A,x=Su(t,{boundary:f,rootBoundary:p,padding:m,altBoundary:h}),S=os(t.placement),z=Rl(t.placement),O=!z,C=Cy(S),D=PO(C),k=t.modifiersData.popperOffsets,R=t.rects.reference,M=t.rects.popper,L=typeof w=="function"?w(Object.assign({},t.rects,{placement:t.placement})):w,j=typeof L=="number"?{mainAxis:L,altAxis:L}:Object.assign({mainAxis:0,altAxis:0},L),B=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,I={x:0,y:0};if(k){if(a){var J,K=C==="y"?Or:Cr,W=C==="y"?po:vo,ne=C==="y"?"height":"width",re=k[C],F=re+x[K],_=re-x[W],E=H?-M[ne]/2:0,G=z===Dl?R[ne]:M[ne],X=z===Dl?-M[ne]:-R[ne],ee=t.elements.arrow,te=H&&ee?Oy(ee):{width:0,height:0},ue=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:y1(),de=ue[K],xe=ue[W],ve=uu(0,R[ne],te[ne]),be=O?R[ne]/2-E-ve-de-j.mainAxis:G-ve-de-j.mainAxis,Xe=O?-R[ne]/2+E+ve+xe+j.mainAxis:X+ve+xe+j.mainAxis,Ie=t.elements.arrow&&qu(t.elements.arrow),He=Ie?C==="y"?Ie.clientTop||0:Ie.clientLeft||0:0,_e=(J=B==null?void 0:B[C])!=null?J:0,we=re+be-_e-He,tt=re+Xe-_e,Le=uu(H?lp(F,we):F,re,H?ia(_,tt):_);k[C]=Le,I[C]=Le-re}if(u){var dt,N=C==="x"?Or:Cr,$=C==="x"?po:vo,se=k[D],ye=D==="y"?"height":"width",ce=se+x[N],Ae=se-x[$],je=[Or,Cr].indexOf(S)!==-1,st=(dt=B==null?void 0:B[D])!=null?dt:0,wt=je?ce:se-R[ye]-M[ye]-st+j.altAxis,nt=je?se+R[ye]+M[ye]-st-j.altAxis:Ae,ft=H&&je?Yz(wt,se,nt):uu(H?wt:ce,se,H?nt:Ae);k[D]=ft,I[D]=ft-se}t.modifiersData[r]=I}}const xO={name:"preventOverflow",enabled:!0,phase:"main",fn:bO,requiresIfExists:["offset"]};function wO(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function HO(e){return e===Qr(e)||!uo(e)?Dy(e):wO(e)}function jO(e){var t=e.getBoundingClientRect(),n=Tl(t.width)/e.offsetWidth||1,r=Tl(t.height)/e.offsetHeight||1;return n!==1||r!==1}function SO(e,t,n){n===void 0&&(n=!1);var r=uo(t),s=uo(t)&&jO(t),a=wi(t),l=kl(e,s,n),u={scrollLeft:0,scrollTop:0},f={x:0,y:0};return(r||!r&&!n)&&((is(t)!=="body"||ky(a))&&(u=HO(t)),uo(t)?(f=kl(t,!0),f.x+=t.clientLeft,f.y+=t.clientTop):a&&(f.x=Ty(a))),{x:l.left+u.scrollLeft-f.x,y:l.top+u.scrollTop-f.y,width:l.width,height:l.height}}function zO(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 OO(e){var t=zO(e);return Bz.reduce(function(n,r){return n.concat(t.filter(function(s){return s.phase===r}))},[])}function CO(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function DO(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 sx={placement:"bottom",modifiers:[],strategy:"absolute"};function ix(){for(var e=arguments.length,t=new Array(e),n=0;n{a||u(EO(s)||document.body)},[s,a]),fo(()=>{if(l&&!a)return rp(n,l),()=>{rp(n,null)}},[n,l,a]),a){if(P.isValidElement(r)){const p={ref:f};return P.cloneElement(r,p)}return r}return l&&d1.createPortal(r,l)});function MO(e){return Ge("MuiPopper",e)}Ue("MuiPopper",["root"]);function LO(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 vg(e){return typeof e=="function"?e():e}function XO(e){return e.nodeType!==void 0}const NO=e=>{const{classes:t}=e;return Ke({root:["root"]},MO,t)},BO={},VO=P.forwardRef(function(t,n){const{anchorEl:r,children:s,direction:a,disablePortal:l,modifiers:u,open:f,placement:p,popperOptions:h,popperRef:m,slotProps:y={},slots:H={},TransitionProps:A,ownerState:w,...x}=t,S=P.useRef(null),z=rn(S,n),O=P.useRef(null),C=rn(O,m),D=P.useRef(C);fo(()=>{D.current=C},[C]),P.useImperativeHandle(m,()=>O.current,[]);const k=LO(p,a),[R,M]=P.useState(k),[L,j]=P.useState(vg(r));P.useEffect(()=>{O.current&&O.current.forceUpdate()}),P.useEffect(()=>{r&&j(vg(r))},[r]),fo(()=>{if(!L||!f)return;const W=F=>{M(F.placement)};let ne=[{name:"preventOverflow",options:{altBoundary:l}},{name:"flip",options:{altBoundary:l}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:F})=>{W(F)}}];u!=null&&(ne=ne.concat(u)),h&&h.modifiers!=null&&(ne=ne.concat(h.modifiers));const re=RO(L,S.current,{placement:k,...h,modifiers:ne});return D.current(re),()=>{re.destroy(),D.current(null)}},[L,l,u,f,h,k]);const B={placement:R};A!==null&&(B.TransitionProps=A);const I=NO(t),J=H.root??"div",K=sp({elementType:J,externalSlotProps:y.root,externalForwardedProps:x,additionalProps:{role:"tooltip",ref:z},ownerState:t,className:I.root});return v.jsx(J,{...K,children:typeof s=="function"?s(B):s})}),IO=P.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:y=BO,popperRef:H,style:A,transition:w=!1,slotProps:x={},slots:S={},...z}=t,[O,C]=P.useState(!0),D=()=>{C(!1)},k=()=>{C(!0)};if(!f&&!h&&(!w||O))return null;let R;if(a)R=a;else if(r){const j=vg(r);R=j&&XO(j)?ir(j).body:ir(null).body}const M=!h&&f&&(!w||O)?"none":void 0,L=w?{in:h,onEnter:D,onExited:k}:void 0;return v.jsx(w1,{disablePortal:u,container:R,children:v.jsx(VO,{anchorEl:r,direction:l,disablePortal:u,modifiers:p,ref:n,open:w?!O:h,placement:m,popperOptions:y,popperRef:H,slotProps:x,slots:S,...z,style:{position:"fixed",top:0,left:0,display:M,...A},TransitionProps:L,children:s})})}),WO=pe(IO,{name:"MuiPopper",slot:"Root",overridesResolver:(e,t)=>t.root})({}),Zp=P.forwardRef(function(t,n){const r=Ju(),s=$e({props:t,name:"MuiPopper"}),{anchorEl:a,component:l,components:u,componentsProps:f,container:p,disablePortal:h,keepMounted:m,modifiers:y,open:H,placement:A,popperOptions:w,popperRef:x,transition:S,slots:z,slotProps:O,...C}=s,D=(z==null?void 0:z.root)??(u==null?void 0:u.Root),k={anchorEl:a,container:p,disablePortal:h,keepMounted:m,modifiers:y,open:H,placement:A,popperOptions:w,popperRef:x,transition:S,...C};return v.jsx(WO,{as:l,direction:r?"rtl":"ltr",slots:{root:D},slotProps:O??f,...k,ref:n})});function JO(e){return Ge("MuiListSubheader",e)}Ue("MuiListSubheader",["root","colorPrimary","colorInherit","gutters","inset","sticky"]);const FO=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,JO,t)},YO=pe("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]}})(Qe(({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}}]}))),hg=P.forwardRef(function(t,n){const r=$e({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},y=FO(m);return v.jsx(YO,{as:l,className:Oe(y.root,s),ref:n,ownerState:m,...h})});hg&&(hg.muiSkipListHighlight=!0);const qO=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 ZO(e){return Ge("MuiChip",e)}const Mt=Ue("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"]),GO=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,ZO,t)},UO=pe("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)}`]]}})(Qe(({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(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)`: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(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}))`: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(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)`: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}}}}))]}})),QO=pe("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 ax(e){return e.key==="Backspace"||e.key==="Delete"}const Zu=P.forwardRef(function(t,n){const r=$e({props:t,name:"MuiChip"}),{avatar:s,className:a,clickable:l,color:u="default",component:f,deleteIcon:p,disabled:h=!1,icon:m,label:y,onClick:H,onDelete:A,onKeyDown:w,onKeyUp:x,size:S="medium",variant:z="filled",tabIndex:O,skipFocusWhenDisabled:C=!1,...D}=r,k=P.useRef(null),R=rn(k,n),M=_=>{_.stopPropagation(),A&&A(_)},L=_=>{_.currentTarget===_.target&&ax(_)&&_.preventDefault(),w&&w(_)},j=_=>{_.currentTarget===_.target&&A&&ax(_)&&A(_),x&&x(_)},B=l!==!1&&H?!0:l,I=B||A?fa:f||"div",J={...r,component:I,disabled:h,size:S,color:u,iconColor:P.isValidElement(m)&&m.props.color||u,onDelete:!!A,clickable:B,variant:z},K=GO(J),W=I===fa?{component:f||"div",focusVisibleClassName:K.focusVisible,...A&&{disableRipple:!0}}:{};let ne=null;A&&(ne=p&&P.isValidElement(p)?P.cloneElement(p,{className:Oe(p.props.className,K.deleteIcon),onClick:M}):v.jsx(qO,{className:Oe(K.deleteIcon),onClick:M}));let re=null;s&&P.isValidElement(s)&&(re=P.cloneElement(s,{className:Oe(K.avatar,s.props.className)}));let F=null;return m&&P.isValidElement(m)&&(F=P.cloneElement(m,{className:Oe(K.icon,m.props.className)})),v.jsxs(UO,{as:I,className:Oe(K.root,a),disabled:B&&h?!0:void 0,onClick:H,onKeyDown:L,onKeyUp:j,ref:R,tabIndex:C&&h?-1:O,ownerState:J,...W,...D,children:[re||F,v.jsx(QO,{className:Oe(K.label),ownerState:J,children:y}),ne]})});function Ad(e){return parseInt(e,10)||0}const KO={shadow:{visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"}};function _O(e){return e==null||Object.keys(e).length===0||e.outerHeightStyle===0&&!e.overflowing}const $O=P.forwardRef(function(t,n){const{onChange:r,maxRows:s,minRows:a=1,style:l,value:u,...f}=t,{current:p}=P.useRef(u!=null),h=P.useRef(null),m=rn(n,h),y=P.useRef(null),H=P.useRef(null),A=P.useCallback(()=>{const S=h.current,O=Mo(S).getComputedStyle(S);if(O.width==="0px")return{outerHeightStyle:0,overflowing:!1};const C=H.current;C.style.width=O.width,C.value=S.value||t.placeholder||"x",C.value.slice(-1)===` +`&&(C.value+=" ");const D=O.boxSizing,k=Ad(O.paddingBottom)+Ad(O.paddingTop),R=Ad(O.borderBottomWidth)+Ad(O.borderTopWidth),M=C.scrollHeight;C.value="x";const L=C.scrollHeight;let j=M;a&&(j=Math.max(Number(a)*L,j)),s&&(j=Math.min(Number(s)*L,j)),j=Math.max(j,L);const B=j+(D==="border-box"?k+R:0),I=Math.abs(j-M)<=1;return{outerHeightStyle:B,overflowing:I}},[s,a,t.placeholder]),w=P.useCallback(()=>{const S=A();if(_O(S))return;const z=S.outerHeightStyle,O=h.current;y.current!==z&&(y.current=z,O.style.height=`${z}px`),O.style.overflow=S.overflowing?"hidden":""},[A]);fo(()=>{const S=()=>{w()};let z;const O=hy(S),C=h.current,D=Mo(C);D.addEventListener("resize",O);let k;return typeof ResizeObserver<"u"&&(k=new ResizeObserver(S),k.observe(C)),()=>{O.clear(),cancelAnimationFrame(z),D.removeEventListener("resize",O),k&&k.disconnect()}},[A,w]),fo(()=>{w()});const x=S=>{p||w(),r&&r(S)};return v.jsxs(P.Fragment,{children:[v.jsx("textarea",{value:u,onChange:x,ref:m,rows:a,style:l,...f}),v.jsx("textarea",{"aria-hidden":!0,className:t.className,readOnly:!0,ref:H,tabIndex:-1,style:{...KO.shadow,...l,paddingTop:0,paddingBottom:0}})]})});function El(e){return typeof e=="string"}function Hi({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 Gp=P.createContext(void 0);function Bo(){return P.useContext(Gp)}function lx(e){return e!=null&&!(Array.isArray(e)&&e.length===0)}function cp(e,t=!1){return e&&(lx(e.value)&&e.value!==""||t&&lx(e.defaultValue)&&e.defaultValue!=="")}function eC(e){return e.startAdornment}function tC(e){return Ge("MuiInputBase",e)}const Jr=Ue("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]);var cx;const Up=(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]},Qp=(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]},nC=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:y,startAdornment:H,type:A}=e,w={root:["root",`color${me(n)}`,r&&"disabled",s&&"error",f&&"fullWidth",l&&"focused",u&&"formControl",y&&y!=="medium"&&`size${me(y)}`,h&&"multiline",H&&"adornedStart",a&&"adornedEnd",p&&"hiddenLabel",m&&"readOnly"],input:["input",r&&"disabled",A==="search"&&"inputTypeSearch",h&&"inputMultiline",y==="small"&&"inputSizeSmall",p&&"inputHiddenLabel",H&&"inputAdornedStart",a&&"inputAdornedEnd",m&&"readOnly"]};return Ke(w,tC,t)},Kp=pe("div",{name:"MuiInputBase",slot:"Root",overridesResolver:Up})(Qe(({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",[`&.${Jr.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%"}}]}))),_p=pe("input",{name:"MuiInputBase",slot:"Input",overridesResolver:Qp})(Qe(({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] + .${Jr.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},[`&.${Jr.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"}}]}})),ux=by({"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}),$p=P.forwardRef(function(t,n){const r=$e({props:t,name:"MuiInputBase"}),{"aria-describedby":s,autoComplete:a,autoFocus:l,className:u,color:f,components:p={},componentsProps:h={},defaultValue:m,disabled:y,disableInjectingGlobalStyles:H,endAdornment:A,error:w,fullWidth:x=!1,id:S,inputComponent:z="input",inputProps:O={},inputRef:C,margin:D,maxRows:k,minRows:R,multiline:M=!1,name:L,onBlur:j,onChange:B,onClick:I,onFocus:J,onKeyDown:K,onKeyUp:W,placeholder:ne,readOnly:re,renderSuffix:F,rows:_,size:E,slotProps:G={},slots:X={},startAdornment:ee,type:te="text",value:ue,...de}=r,xe=O.value!=null?O.value:ue,{current:ve}=P.useRef(xe!=null),be=P.useRef(),Xe=P.useCallback(We=>{},[]),Ie=rn(be,C,O.ref,Xe),[He,_e]=P.useState(!1),we=Bo(),tt=Hi({props:r,muiFormControl:we,states:["color","disabled","error","hiddenLabel","size","required","filled"]});tt.focused=we?we.focused:He,P.useEffect(()=>{!we&&y&&He&&(_e(!1),j&&j())},[we,y,He,j]);const Le=we&&we.onFilled,dt=we&&we.onEmpty,N=P.useCallback(We=>{cp(We)?Le&&Le():dt&&dt()},[Le,dt]);fo(()=>{ve&&N({value:xe})},[xe,N,ve]);const $=We=>{J&&J(We),O.onFocus&&O.onFocus(We),we&&we.onFocus?we.onFocus(We):_e(!0)},se=We=>{j&&j(We),O.onBlur&&O.onBlur(We),we&&we.onBlur?we.onBlur(We):_e(!1)},ye=(We,...Dt)=>{if(!ve){const Jt=We.target||be.current;if(Jt==null)throw new Error(ks(1));N({value:Jt.value})}O.onChange&&O.onChange(We,...Dt),B&&B(We,...Dt)};P.useEffect(()=>{N(be.current)},[]);const ce=We=>{be.current&&We.currentTarget===We.target&&be.current.focus(),I&&I(We)};let Ae=z,je=O;M&&Ae==="input"&&(_?je={type:void 0,minRows:_,maxRows:_,...je}:je={type:void 0,maxRows:k,minRows:R,...je},Ae=$O);const st=We=>{N(We.animationName==="mui-auto-fill-cancel"?be.current:{value:"x"})};P.useEffect(()=>{we&&we.setAdornedStart(!!ee)},[we,ee]);const wt={...r,color:tt.color||"primary",disabled:tt.disabled,endAdornment:A,error:tt.error,focused:tt.focused,formControl:we,fullWidth:x,hiddenLabel:tt.hiddenLabel,multiline:M,size:tt.size,startAdornment:ee,type:te},nt=nC(wt),ft=X.root||p.Root||Kp,ct=G.root||h.root||{},Ht=X.input||p.Input||_p;return je={...je,...G.input??h.input},v.jsxs(P.Fragment,{children:[!H&&typeof ux=="function"&&(cx||(cx=v.jsx(ux,{}))),v.jsxs(ft,{...ct,ref:n,onClick:ce,...de,...!El(ft)&&{ownerState:{...wt,...ct.ownerState}},className:Oe(nt.root,ct.className,u,re&&"MuiInputBase-readOnly"),children:[ee,v.jsx(Gp.Provider,{value:null,children:v.jsx(Ht,{"aria-invalid":tt.error,"aria-describedby":s,autoComplete:a,autoFocus:l,defaultValue:m,disabled:tt.disabled,id:S,onAnimationStart:st,name:L,placeholder:ne,readOnly:re,required:tt.required,rows:_,value:xe,onKeyDown:K,onKeyUp:W,type:te,...je,...!El(Ht)&&{as:Ae,ownerState:{...wt,...je.ownerState}},ref:Ie,className:Oe(nt.input,je.className,re&&"MuiInputBase-readOnly"),onBlur:se,onChange:ye,onFocus:$})}),A,F?F({...tt,startAdornment:ee}):null]})]})});function rC(e){return Ge("MuiInput",e)}const ai={...Jr,...Ue("MuiInput",["root","underline","input"])};function oC(e){return Ge("MuiOutlinedInput",e)}const oo={...Jr,...Ue("MuiOutlinedInput",["root","notchedOutline","input"])};function sC(e){return Ge("MuiFilledInput",e)}const Fr={...Jr,...Ue("MuiFilledInput",["root","underline","input","adornedStart","adornedEnd","sizeSmall","multiline","hiddenLabel"])},H1=At(v.jsx("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown");function iC(e){return Ge("MuiAutocomplete",e)}const Ot=Ue("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 fx,dx;const aC=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,iC,t)},lC=pe("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${me(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}.${Jr.sizeSmall}`]:{[`& .${ai.input}`]:{padding:"2px 4px 3px 0"}},[`& .${oo.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}},[`& .${oo.root}.${Jr.sizeSmall}`]:{paddingTop:6,paddingBottom:6,paddingLeft:6,[`& .${Ot.input}`]:{padding:"2.5px 4px 2.5px 8px"}},[`& .${Fr.root}`]:{paddingTop:19,paddingLeft:8,[`.${Ot.hasPopupIcon}&, .${Ot.hasClearIcon}&`]:{paddingRight:39},[`.${Ot.hasPopupIcon}.${Ot.hasClearIcon}&`]:{paddingRight:65},[`& .${Fr.input}`]:{padding:"7px 4px"},[`& .${Ot.endAdornment}`]:{right:9}},[`& .${Fr.root}.${Jr.sizeSmall}`]:{paddingBottom:1,[`& .${Fr.input}`]:{padding:"2.5px 4px"}},[`& .${Jr.hiddenLabel}`]:{paddingTop:8},[`& .${Fr.root}.${Jr.hiddenLabel}`]:{paddingTop:0,paddingBottom:0,[`& .${Ot.input}`]:{paddingTop:16,paddingBottom:17}},[`& .${Fr.root}.${Jr.hiddenLabel}.${Jr.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"}}}]}),cC=pe("div",{name:"MuiAutocomplete",slot:"EndAdornment",overridesResolver:(e,t)=>t.endAdornment})({position:"absolute",right:0,top:"50%",transform:"translate(0, -50%)"}),uC=pe(zr,{name:"MuiAutocomplete",slot:"ClearIndicator",overridesResolver:(e,t)=>t.clearIndicator})({marginRight:-2,padding:4,visibility:"hidden"}),fC=pe(zr,{name:"MuiAutocomplete",slot:"PopupIndicator",overridesResolver:({ownerState:e},t)=>({...t.popupIndicator,...e.popupOpen&&t.popupIndicatorOpen})})({padding:2,marginRight:-2,variants:[{props:{popupOpen:!0},style:{transform:"rotate(180deg)"}}]}),dC=pe(Zp,{name:"MuiAutocomplete",slot:"Popper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${Ot.option}`]:t.option},t.popper,n.disablePortal&&t.popperDisablePortal]}})(Qe(({theme:e})=>({zIndex:(e.vars||e).zIndex.modal,variants:[{props:{disablePortal:!0},style:{position:"absolute"}}]}))),pC=pe(Ur,{name:"MuiAutocomplete",slot:"Paper",overridesResolver:(e,t)=>t.paper})(Qe(({theme:e})=>({...e.typography.body1,overflow:"auto"}))),vC=pe("div",{name:"MuiAutocomplete",slot:"Loading",overridesResolver:(e,t)=>t.loading})(Qe(({theme:e})=>({color:(e.vars||e).palette.text.secondary,padding:"14px 16px"}))),hC=pe("div",{name:"MuiAutocomplete",slot:"NoOptions",overridesResolver:(e,t)=>t.noOptions})(Qe(({theme:e})=>({color:(e.vars||e).palette.text.secondary,padding:"14px 16px"}))),mC=pe("ul",{name:"MuiAutocomplete",slot:"Listbox",overridesResolver:(e,t)=>t.listbox})(Qe(({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})`:Pt(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}))`:Pt(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}))`:Pt(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}}}}))),gC=pe(hg,{name:"MuiAutocomplete",slot:"GroupLabel",overridesResolver:(e,t)=>t.groupLabel})(Qe(({theme:e})=>({backgroundColor:(e.vars||e).palette.background.paper,top:-8}))),yC=pe("ul",{name:"MuiAutocomplete",slot:"GroupUl",overridesResolver:(e,t)=>t.groupUl})({padding:0,[`& .${Ot.option}`]:{paddingLeft:24}}),AC=P.forwardRef(function(t,n){const r=$e({props:t,name:"MuiAutocomplete"}),{autoComplete:s=!1,autoHighlight:a=!1,autoSelect:l=!1,blurOnSelect:u=!1,ChipProps:f,className:p,clearIcon:h=fx||(fx=v.jsx(p1,{fontSize:"small"})),clearOnBlur:m=!r.freeSolo,clearOnEscape:y=!1,clearText:H="Clear",closeText:A="Close",componentsProps:w,defaultValue:x=r.multiple?[]:null,disableClearable:S=!1,disableCloseOnSelect:z=!1,disabled:O=!1,disabledItemsFocusable:C=!1,disableListWrap:D=!1,disablePortal:k=!1,filterOptions:R,filterSelectedOptions:M=!1,forcePopupIcon:L="auto",freeSolo:j=!1,fullWidth:B=!1,getLimitTagsText:I=Lt=>`+${Lt}`,getOptionDisabled:J,getOptionKey:K,getOptionLabel:W,isOptionEqualToValue:ne,groupBy:re,handleHomeEndKeys:F=!r.freeSolo,id:_,includeInputInList:E=!1,inputValue:G,limitTags:X=-1,ListboxComponent:ee,ListboxProps:te,loading:ue=!1,loadingText:de="Loading…",multiple:xe=!1,noOptionsText:ve="No options",onChange:be,onClose:Xe,onHighlightChange:Ie,onInputChange:He,onOpen:_e,open:we,openOnFocus:tt=!1,openText:Le="Open",options:dt,PaperComponent:N,PopperComponent:$,popupIcon:se=dx||(dx=v.jsx(H1,{})),readOnly:ye=!1,renderGroup:ce,renderInput:Ae,renderOption:je,renderTags:st,selectOnFocus:wt=!r.freeSolo,size:nt="medium",slots:ft={},slotProps:ct={},value:Ht,...We}=r,{getRootProps:Dt,getInputProps:Jt,getInputLabelProps:Be,getPopupIndicatorProps:U,getClearProps:Y,getTagProps:Pe,getListboxProps:De,getOptionProps:Te,value:Ne,dirty:Je,expanded:ke,id:rt,popupOpen:vt,focused:kt,focusedTag:Qt,anchorEl:Fe,setAnchorEl:Rt,inputValue:un,groupedOptions:zn}=zz({...r,componentName:"Autocomplete"}),Gn=!S&&!O&&Je&&!ye,An=(!j||L===!0)&&L!==!1,{onMouseDown:Mr}=Jt(),{ref:mo,...go}=De(),yo=W||(Lt=>Lt.label??Lt),Pn={...r,disablePortal:k,expanded:ke,focused:kt,fullWidth:B,getOptionLabel:yo,hasClearIcon:Gn,hasPopupIcon:An,inputFocused:Qt===-1,popupOpen:vt,size:nt},on=aC(Pn),Re={slots:{paper:N,popper:$,...ft},slotProps:{chip:f,listbox:te,...w,...ct}},[oe,le]=Cn("listbox",{elementType:mC,externalForwardedProps:Re,ownerState:Pn,className:on.listbox,additionalProps:go,ref:mo}),[Ee,ot]=Cn("paper",{elementType:Ur,externalForwardedProps:Re,ownerState:Pn,className:on.paper}),[lt,It]=Cn("popper",{elementType:Zp,externalForwardedProps:Re,ownerState:Pn,className:on.popper,additionalProps:{disablePortal:k,style:{width:Fe?Fe.clientWidth:null},role:"presentation",anchorEl:Fe,open:vt}});let Nt;if(xe&&Ne.length>0){const Lt=ar=>({className:on.tag,disabled:O,...Pe(ar)});st?Nt=st(Ne,Lt,Pn):Nt=Ne.map((ar,Xn)=>{const{key:Di,...Lr}=Lt({index:Xn});return v.jsx(Zu,{label:yo(ar),size:nt,...Lr,...Re.slotProps.chip},Di)})}if(X>-1&&Array.isArray(Nt)){const Lt=Nt.length-X;!kt&&Lt>0&&(Nt=Nt.splice(0,X),Nt.push(v.jsx("span",{className:on.tag,children:I(Lt)},Nt.length)))}const Ao=ce||(Lt=>v.jsxs("li",{children:[v.jsx(gC,{className:on.groupLabel,ownerState:Pn,component:"div",children:Lt.group}),v.jsx(yC,{className:on.groupUl,ownerState:Pn,children:Lt.children})]},Lt.key)),tn=je||((Lt,ar)=>{const{key:Xn,...Di}=Lt;return v.jsx("li",{...Di,children:yo(ar)},Xn)}),Oi=(Lt,ar)=>{const Xn=Te({option:Lt,index:ar});return tn({...Xn,className:on.option},Lt,{selected:Xn["aria-selected"],index:ar,inputValue:un},Pn)},Xs=Re.slotProps.clearIndicator,Ci=Re.slotProps.popupIndicator,Ns=Lt=>v.jsx(dC,{as:lt,...It,children:v.jsx(pC,{as:Ee,...ot,children:Lt})});let ba=null;return zn.length>0?ba=Ns(v.jsx(oe,{as:ee,...le,children:zn.map((Lt,ar)=>re?Ao({key:Lt.key,group:Lt.group,children:Lt.options.map((Xn,Di)=>Oi(Xn,Lt.index+Di))}):Oi(Lt,ar))})):ue&&zn.length===0?ba=Ns(v.jsx(vC,{className:on.loading,ownerState:Pn,children:de})):zn.length===0&&!j&&!ue&&(ba=Ns(v.jsx(hC,{className:on.noOptions,ownerState:Pn,role:"presentation",onMouseDown:Lt=>{Lt.preventDefault()},children:ve}))),v.jsxs(P.Fragment,{children:[v.jsx(lC,{ref:n,className:Oe(on.root,p),ownerState:Pn,...Dt(We),children:Ae({id:rt,disabled:O,fullWidth:!0,size:nt==="small"?"small":void 0,InputLabelProps:Be(),InputProps:{ref:Rt,className:on.inputRoot,startAdornment:Nt,onMouseDown:Lt=>{Lt.target===Lt.currentTarget&&Mr(Lt)},...(Gn||An)&&{endAdornment:v.jsxs(cC,{className:on.endAdornment,ownerState:Pn,children:[Gn?v.jsx(uC,{...Y(),"aria-label":H,title:H,ownerState:Pn,...Xs,className:Oe(on.clearIndicator,Xs==null?void 0:Xs.className),children:h}):null,An?v.jsx(fC,{...U(),disabled:O,"aria-label":vt?A:Le,title:vt?A:Le,ownerState:Pn,...Ci,className:Oe(on.popupIndicator,Ci==null?void 0:Ci.className),children:se}):null]})}},inputProps:{className:on.input,disabled:O,readOnly:ye,...Jt()}})}),Fe?ba:null]})}),PC={entering:{opacity:1},entered:{opacity:1}},j1=P.forwardRef(function(t,n){const r=Kr(),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:y,onExit:H,onExited:A,onExiting:w,style:x,timeout:S=s,TransitionComponent:z=No,...O}=t,C=P.useRef(null),D=rn(C,xi(u),n),k=K=>W=>{if(K){const ne=C.current;W===void 0?K(ne):K(ne,W)}},R=k(y),M=k((K,W)=>{Hy(K);const ne=Cl({style:x,timeout:S,easing:f},{mode:"enter"});K.style.webkitTransition=r.transitions.create("opacity",ne),K.style.transition=r.transitions.create("opacity",ne),h&&h(K,W)}),L=k(m),j=k(w),B=k(K=>{const W=Cl({style:x,timeout:S,easing:f},{mode:"exit"});K.style.webkitTransition=r.transitions.create("opacity",W),K.style.transition=r.transitions.create("opacity",W),H&&H(K)}),I=k(A),J=K=>{a&&a(C.current,K)};return v.jsx(z,{appear:l,in:p,nodeRef:C,onEnter:M,onEntered:L,onEntering:R,onExit:B,onExited:I,onExiting:j,addEndListener:J,timeout:S,...O,children:(K,W)=>P.cloneElement(u,{style:{opacity:0,visibility:K==="exited"&&!p?"hidden":void 0,...PC[K],...x,...u.props.style},ref:D,...W})})});function bC(e){return Ge("MuiBackdrop",e)}Ue("MuiBackdrop",["root","invisible"]);const xC=e=>{const{ownerState:t,...n}=e;return n},wC=e=>{const{classes:t,invisible:n}=e;return Ke({root:["root",n&&"invisible"]},bC,t)},HC=pe("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"}}]}),S1=P.forwardRef(function(t,n){const r=$e({props:t,name:"MuiBackdrop"}),{children:s,className:a,component:l="div",invisible:u=!1,open:f,components:p={},componentsProps:h={},slotProps:m={},slots:y={},TransitionComponent:H,transitionDuration:A,...w}=r,x={...r,component:l,invisible:u},S=wC(x),z={transition:H,root:p.Root,...y},O={...h,...m},C={slots:z,slotProps:O},[D,k]=Cn("root",{elementType:HC,externalForwardedProps:C,className:Oe(S.root,a),ownerState:x}),[R,M]=Cn("transition",{elementType:j1,externalForwardedProps:C,ownerState:x}),L=xC(M);return v.jsx(R,{in:f,timeout:A,...w,...L,children:v.jsx(D,{"aria-hidden":!0,...k,classes:S,ref:n,children:s})})}),jC=Ue("MuiBox",["root"]),SC=Fu(),yt=JH({themeId:Ro,defaultTheme:SC,defaultClassName:jC.root,generateClassName:X0.generate});function zC(e){return Ge("MuiButton",e)}const Qa=Ue("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"]),z1=P.createContext({}),OC=P.createContext(void 0),CC=e=>{const{color:t,disableElevation:n,fullWidth:r,size:s,variant:a,classes:l}=e,u={root:["root",a,`${a}${me(t)}`,`size${me(s)}`,`${a}Size${me(s)}`,`color${me(t)}`,n&&"disableElevation",r&&"fullWidth"],label:["label"],startIcon:["icon","startIcon",`iconSize${me(s)}`],endIcon:["icon","endIcon",`iconSize${me(s)}`]},f=Ke(u,zC,l);return{...l,...f}},O1=[{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}}}],DC=pe(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]}})(Qe(({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"},[`&.${Qa.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]},[`&.${Qa.focusVisible}`]:{boxShadow:(e.vars||e).shadows[6]},[`&.${Qa.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)",[`&.${Qa.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)`: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"},[`&.${Qa.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${Qa.disabled}`]:{boxShadow:"none"}}},{props:{fullWidth:!0},style:{width:"100%"}}]}})),TC=pe("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.startIcon,t[`iconSize${me(n.size)}`]]}})({display:"inherit",marginRight:8,marginLeft:-4,variants:[{props:{size:"small"},style:{marginLeft:-2}},...O1]}),kC=pe("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.endIcon,t[`iconSize${me(n.size)}`]]}})({display:"inherit",marginRight:-4,marginLeft:8,variants:[{props:{size:"small"},style:{marginRight:-2}},...O1]}),Xt=P.forwardRef(function(t,n){const r=P.useContext(z1),s=P.useContext(OC),a=zl(r,t),l=$e({props:a,name:"MuiButton"}),{children:u,color:f="primary",component:p="button",className:h,disabled:m=!1,disableElevation:y=!1,disableFocusRipple:H=!1,endIcon:A,focusVisibleClassName:w,fullWidth:x=!1,size:S="medium",startIcon:z,type:O,variant:C="text",...D}=l,k={...l,color:f,component:p,disabled:m,disableElevation:y,disableFocusRipple:H,fullWidth:x,size:S,type:O,variant:C},R=CC(k),M=z&&v.jsx(TC,{className:R.startIcon,ownerState:k,children:z}),L=A&&v.jsx(kC,{className:R.endIcon,ownerState:k,children:A}),j=s||"";return v.jsxs(DC,{ownerState:k,className:Oe(r.className,R.root,h,j),component:p,disabled:m,focusRipple:!H,focusVisibleClassName:Oe(R.focusVisible,w),ref:n,type:O,...D,classes:R,children:[M,u,L]})});function RC(e){return Ge("MuiCard",e)}Ue("MuiCard",["root"]);const EC=e=>{const{classes:t}=e;return Ke({root:["root"]},RC,t)},MC=pe(Ur,{name:"MuiCard",slot:"Root",overridesResolver:(e,t)=>t.root})({overflow:"hidden"}),C1=P.forwardRef(function(t,n){const r=$e({props:t,name:"MuiCard"}),{className:s,raised:a=!1,...l}=r,u={...r,raised:a},f=EC(u);return v.jsx(MC,{className:Oe(f.root,s),elevation:a?8:void 0,ref:n,ownerState:u,...l})});function LC(e){return Ge("MuiCardContent",e)}Ue("MuiCardContent",["root"]);const XC=e=>{const{classes:t}=e;return Ke({root:["root"]},LC,t)},NC=pe("div",{name:"MuiCardContent",slot:"Root",overridesResolver:(e,t)=>t.root})({padding:16,"&:last-child":{paddingBottom:24}}),mg=P.forwardRef(function(t,n){const r=$e({props:t,name:"MuiCardContent"}),{className:s,component:a="div",...l}=r,u={...r,component:a},f=XC(u);return v.jsx(NC,{as:a,className:Oe(f.root,s),ownerState:u,ref:n,...l})});function BC(e){return Ge("MuiCardMedia",e)}Ue("MuiCardMedia",["root","media","img"]);const VC=e=>{const{classes:t,isMediaComponent:n,isImageComponent:r}=e;return Ke({root:["root",n&&"media",r&&"img"]},BC,t)},IC=pe("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"}}]}),WC=["video","audio","picture","iframe","img"],JC=["picture","img"],FC=P.forwardRef(function(t,n){const r=$e({props:t,name:"MuiCardMedia"}),{children:s,className:a,component:l="div",image:u,src:f,style:p,...h}=r,m=WC.includes(l),y=!m&&u?{backgroundImage:`url("${u}")`,...p}:p,H={...r,component:l,isMediaComponent:m,isImageComponent:JC.includes(l)},A=VC(H);return v.jsx(IC,{className:Oe(A.root,a),as:l,role:!m&&u?"img":void 0,ref:n,style:y,ownerState:H,src:m?u||f:void 0,...h,children:s})});function YC(e){return Ge("PrivateSwitchBase",e)}Ue("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);const qC=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,YC,t)},ZC=pe(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}}]}),GC=pe("input",{shouldForwardProp:Zn})({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}),Ry=P.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:y,inputProps:H,inputRef:A,name:w,onBlur:x,onChange:S,onFocus:z,readOnly:O,required:C=!1,tabIndex:D,type:k,value:R,...M}=t,[L,j]=yi({controlled:s,default:!!u,name:"SwitchBase",state:"checked"}),B=Bo(),I=_=>{z&&z(_),B&&B.onFocus&&B.onFocus(_)},J=_=>{x&&x(_),B&&B.onBlur&&B.onBlur(_)},K=_=>{if(_.nativeEvent.defaultPrevented)return;const E=_.target.checked;j(E),S&&S(_,E)};let W=f;B&&typeof W>"u"&&(W=B.disabled);const ne=k==="checkbox"||k==="radio",re={...t,checked:L,disabled:W,disableFocusRipple:p,edge:h},F=qC(re);return v.jsxs(ZC,{component:"span",className:Oe(F.root,l),centerRipple:!0,focusRipple:!p,disabled:W,tabIndex:null,role:void 0,onFocus:I,onBlur:J,ownerState:re,ref:n,...M,children:[v.jsx(GC,{autoFocus:r,checked:s,defaultChecked:u,className:F.input,disabled:W,id:ne?y:void 0,name:w,onChange:K,readOnly:O,ref:A,required:C,ownerState:re,tabIndex:D,type:k,...k==="checkbox"&&R===void 0?{}:{value:R},...H}),L?a:m]})}),UC=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"),QC=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"),KC=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 _C(e){return Ge("MuiCheckbox",e)}const Cm=Ue("MuiCheckbox",["root","checked","disabled","indeterminate","colorPrimary","colorSecondary","sizeSmall","sizeMedium"]),$C=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,_C,t);return{...t,...l}},eD=pe(Ry,{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)}`]]}})(Qe(({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(gn()).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(gn()).map(([t])=>({props:{color:t},style:{[`&.${Cm.checked}, &.${Cm.indeterminate}`]:{color:(e.vars||e).palette[t].main},[`&.${Cm.disabled}`]:{color:(e.vars||e).palette.action.disabled}}})),{props:{disableRipple:!1},style:{"&:hover":{"@media (hover: none)":{backgroundColor:"transparent"}}}}]}))),tD=v.jsx(QC,{}),nD=v.jsx(UC,{}),rD=v.jsx(KC,{}),px=P.forwardRef(function(t,n){const r=$e({props:t,name:"MuiCheckbox"}),{checkedIcon:s=tD,color:a="primary",icon:l=nD,indeterminate:u=!1,indeterminateIcon:f=rD,inputProps:p,size:h="medium",disableRipple:m=!1,className:y,...H}=r,A=u?f:l,w=u?f:s,x={...r,disableRipple:m,color:a,indeterminate:u,size:h},S=$C(x);return v.jsx(eD,{type:"checkbox",inputProps:{"data-indeterminate":u,...p},icon:P.cloneElement(A,{fontSize:A.props.fontSize??h}),checkedIcon:P.cloneElement(w,{fontSize:w.props.fontSize??h}),ownerState:x,ref:n,className:Oe(S.root,y),disableRipple:m,...H,classes:S})});function oD(e){return Ge("MuiCircularProgress",e)}Ue("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]);const oi=44,gg=Vu` 0% { transform: rotate(0deg); } @@ -194,8 +194,8 @@ Error generating stack: `+b.message+` animation: ${gg} 1.4s linear infinite; `:null,iD=typeof yg!="string"?cy` animation: ${yg} 1.4s ease-in-out infinite; - `:null,aD=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 Qe(a,oD,t)},lD=pe("span",{name:"MuiCircularProgress",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`color${me(n.color)}`]]}})(Ue(({theme:e})=>({display:"inline-block",variants:[{props:{variant:"determinate"},style:{transition:e.transitions.create("transform")}},{props:{variant:"indeterminate"},style:sD||{animation:`${gg} 1.4s linear infinite`}},...Object.entries(e.palette).filter(mn()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}}))]}))),cD=pe("svg",{name:"MuiCircularProgress",slot:"Svg",overridesResolver:(e,t)=>t.svg})({display:"block"}),uD=pe("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.circle,t[`circle${me(n.variant)}`],n.disableShrink&&t.circleDisableShrink]}})(Ue(({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:iD||{animation:`${yg} 1.4s ease-in-out infinite`}}]}))),ev=P.forwardRef(function(t,n){const r=$e({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",...y}=r,H={...r,color:a,disableShrink:l,size:u,thickness:p,value:h,variant:m},A=aD(H),w={},x={},S={};if(m==="determinate"){const z=2*Math.PI*((oi-p)/2);w.strokeDasharray=z.toFixed(3),S["aria-valuenow"]=Math.round(h),w.strokeDashoffset=`${((100-h)/100*z).toFixed(3)}px`,x.transform="rotate(-90deg)"}return v.jsx(lD,{className:Oe(A.root,s),style:{width:u,height:u,...x,...f},ownerState:H,ref:n,role:"progressbar",...S,...y,children:v.jsx(cD,{className:A.svg,ownerState:H,viewBox:`${oi/2} ${oi/2} ${oi} ${oi}`,children:v.jsx(uD,{className:A.circle,style:w,ownerState:H,cx:oi,cy:oi,r:(oi-p)/2,fill:"none",strokeWidth:p})})})});function vx(e){return e.substring(2).toLowerCase()}function fD(e,t){return t.documentElement.clientWidth(setTimeout(()=>{f.current=!0},0),()=>{f.current=!1}),[]);const h=rn(xi(t),u),m=mr(A=>{const w=p.current;p.current=!1;const x=ir(u.current);if(!f.current||!u.current||"clientX"in A&&fD(A,x))return;if(l.current){l.current=!1;return}let S;A.composedPath?S=A.composedPath().includes(u.current):S=!x.documentElement.contains(A.target)||u.current.contains(A.target),!S&&(n||!w)&&s(A)}),y=A=>w=>{p.current=!0;const x=t.props[A];x&&x(w)},H={ref:h};return a!==!1&&(H[a]=y(a)),P.useEffect(()=>{if(a!==!1){const A=vx(a),w=ir(u.current),x=()=>{l.current=!0};return w.addEventListener(A,m),w.addEventListener("touchmove",x),()=>{w.removeEventListener(A,m),w.removeEventListener("touchmove",x)}}},[m,a]),r!==!1&&(H[r]=y(r)),P.useEffect(()=>{if(r!==!1){const A=vx(r),w=ir(u.current);return w.addEventListener(A,m),()=>{w.removeEventListener(A,m)}}},[m,r]),P.cloneElement(t,H)}const Ag=typeof by({})=="function",dD=(e,t)=>({WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",boxSizing:"border-box",WebkitTextSizeAdjust:"100%",...t&&!e.vars&&{colorScheme:e.palette.mode}}),pD=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}}),T1=(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:dD(e,t),"*, *::before, *::after":{boxSizing:"inherit"},"strong, b":{fontWeight:e.typography.fontWeightBold},body:{margin:0,...pD(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},Vd="mui-ecs",vD=e=>{const t=T1(e,!1),n=Array.isArray(t)?t[0]:t;return!e.vars&&n&&(n.html[`:root:has(${Vd})`]={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(.${Vd}))`]:{colorScheme:(l=s.palette)==null?void 0:l.mode}}:n[a.replace(/\s*&/,"")]={[`&:not(:has(.${Vd}))`]:{colorScheme:(u=s.palette)==null?void 0:u.mode}}}),t},hD=by(Ag?({theme:e,enableColorScheme:t})=>T1(e,t):({theme:e})=>vD(e));function mD(e){const t=$e({props:e,name:"MuiCssBaseline"}),{children:n,enableColorScheme:r=!1}=t;return v.jsxs(P.Fragment,{children:[Ag&&v.jsx(hD,{enableColorScheme:r}),!Ag&&!r&&v.jsx("span",{className:Vd,style:{display:"none"}}),n]})}function gD(e){const t=ir(e);return t.body===e?Mo(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}function du(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function hx(e){return parseInt(Mo(e).getComputedStyle(e).paddingRight,10)||0}function yD(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 mx(e,t,n,r,s){const a=[t,n,...r];[].forEach.call(e.children,l=>{const u=!a.includes(l),f=!yD(l);u&&f&&du(l,s)})}function Dm(e,t){let n=-1;return e.some((r,s)=>t(r)?(n=s,!0):!1),n}function AD(e,t){const n=[],r=e.container;if(!t.disableScrollLock){if(gD(r)){const l=Z0(Mo(r));n.push({value:r.style.paddingRight,property:"padding-right",el:r}),r.style.paddingRight=`${hx(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=`${hx(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 PD(e){const t=[];return[].forEach.call(e.children,n=>{n.getAttribute("aria-hidden")==="true"&&t.push(n)}),t}class bD{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&&du(t.modalRef,!1);const s=PD(n);mx(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=AD(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&&du(t.modalRef,n),mx(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&&du(l.modalRef,!1)}return r}isTopModal(t){return this.modals.length>0&&this.modals[this.modals.length-1]===t}}const xD=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function wD(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 HD(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 jD(e){return!(e.disabled||e.tagName==="INPUT"&&e.type==="hidden"||HD(e))}function SD(e){const t=[],n=[];return Array.from(e.querySelectorAll(xD)).forEach((r,s)=>{const a=wD(r);a===-1||!jD(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 zD(){return!0}function OD(e){const{children:t,disableAutoFocus:n=!1,disableEnforceFocus:r=!1,disableRestoreFocus:s=!1,getTabbable:a=SD,isEnabled:l=zD,open:u}=e,f=P.useRef(!1),p=P.useRef(null),h=P.useRef(null),m=P.useRef(null),y=P.useRef(null),H=P.useRef(!1),A=P.useRef(null),w=rn(xi(t),A),x=P.useRef(null);P.useEffect(()=>{!u||!A.current||(H.current=!n)},[n,u]),P.useEffect(()=>{if(!u||!A.current)return;const O=ir(A.current);return A.current.contains(O.activeElement)||(A.current.hasAttribute("tabIndex")||A.current.setAttribute("tabIndex","-1"),H.current&&A.current.focus()),()=>{s||(m.current&&m.current.focus&&(f.current=!0,m.current.focus()),m.current=null)}},[u]),P.useEffect(()=>{if(!u||!A.current)return;const O=ir(A.current),C=R=>{x.current=R,!(r||!l()||R.key!=="Tab")&&O.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(!O.hasFocus()||!l()||f.current){f.current=!1;return}if(R.contains(O.activeElement)||r&&O.activeElement!==p.current&&O.activeElement!==h.current)return;if(O.activeElement!==y.current)y.current=null;else if(y.current!==null)return;if(!H.current)return;let M=[];if((O.activeElement===p.current||O.activeElement===h.current)&&(M=a(A.current)),M.length>0){const B=!!((L=x.current)!=null&&L.shiftKey&&((j=x.current)==null?void 0:j.key)==="Tab"),I=M[0],J=M[M.length-1];typeof I!="string"&&typeof J!="string"&&(B?J.focus():I.focus())}else R.focus()};O.addEventListener("focusin",D),O.addEventListener("keydown",C,!0);const k=setInterval(()=>{O.activeElement&&O.activeElement.tagName==="BODY"&&D()},50);return()=>{clearInterval(k),O.removeEventListener("focusin",D),O.removeEventListener("keydown",C,!0)}},[n,r,s,l,u,a]);const S=O=>{m.current===null&&(m.current=O.relatedTarget),H.current=!0,y.current=O.target;const C=t.props.onFocus;C&&C(O)},z=O=>{m.current===null&&(m.current=O.relatedTarget),H.current=!0};return v.jsxs(P.Fragment,{children:[v.jsx("div",{tabIndex:u?0:-1,onFocus:z,ref:p,"data-testid":"sentinelStart"}),P.cloneElement(t,{ref:w,onFocus:S}),v.jsx("div",{tabIndex:u?0:-1,onFocus:z,ref:h,"data-testid":"sentinelEnd"})]})}function CD(e){return typeof e=="function"?e():e}function DD(e){return e?e.props.hasOwnProperty("in"):!1}const gx=()=>{},Pd=new bD;function TD(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=P.useRef({}),y=P.useRef(null),H=P.useRef(null),A=rn(H,h),[w,x]=P.useState(!p),S=DD(u);let z=!0;(e["aria-hidden"]==="false"||e["aria-hidden"]===!1)&&(z=!1);const O=()=>ir(y.current),C=()=>(m.current.modalRef=H.current,m.current.mount=y.current,m.current),D=()=>{Pd.mount(C(),{disableScrollLock:r}),H.current&&(H.current.scrollTop=0)},k=mr(()=>{const W=CD(t)||O().body;Pd.add(C(),W),H.current&&D()}),R=()=>Pd.isTopModal(C()),M=mr(W=>{y.current=W,W&&(p&&R()?D():H.current&&du(H.current,z))}),L=P.useCallback(()=>{Pd.remove(C(),z)},[z]);P.useEffect(()=>()=>{L()},[L]),P.useEffect(()=>{p?k():(!S||!s)&&L()},[p,L,S,s,k]);const j=W=>ne=>{var re;(re=W.onKeyDown)==null||re.call(W,ne),!(ne.key!=="Escape"||ne.which===229||!R())&&(n||(ne.stopPropagation(),f&&f(ne,"escapeKeyDown")))},B=W=>ne=>{var re;(re=W.onClick)==null||re.call(W,ne),ne.target===ne.currentTarget&&f&&f(ne,"backdropClick")};return{getRootProps:(W={})=>{const ne=op(e);delete ne.onTransitionEnter,delete ne.onTransitionExited;const re={...ne,...W};return{role:"presentation",...re,onKeyDown:j(re),ref:A}},getBackdropProps:(W={})=>{const ne=W;return{"aria-hidden":!0,...ne,onClick:B(ne),open:p}},getTransitionProps:()=>{const W=()=>{x(!1),a&&a()},ne=()=>{x(!0),l&&l(),s&&L()};return{onEnter:ig(W,(u==null?void 0:u.props.onEnter)??gx),onExited:ig(ne,(u==null?void 0:u.props.onExited)??gx)}},rootRef:A,portalRef:M,isTopModal:R,exited:w,hasTransition:S}}function kD(e){return Ze("MuiModal",e)}Ge("MuiModal",["root","hidden","backdrop"]);const RD=e=>{const{open:t,exited:n,classes:r}=e;return Qe({root:["root",!t&&n&&"hidden"],backdrop:["backdrop"]},kD,r)},ED=pe("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.open&&n.exited&&t.hidden]}})(Ue(({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"}}]}))),MD=pe(S1,{name:"MuiModal",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})({zIndex:-1}),Ey=P.forwardRef(function(t,n){const r=$e({name:"MuiModal",props:t}),{BackdropComponent:s=MD,BackdropProps:a,classes:l,className:u,closeAfterTransition:f=!1,children:p,container:h,component:m,components:y={},componentsProps:H={},disableAutoFocus:A=!1,disableEnforceFocus:w=!1,disableEscapeKeyDown:x=!1,disablePortal:S=!1,disableRestoreFocus:z=!1,disableScrollLock:O=!1,hideBackdrop:C=!1,keepMounted:D=!1,onBackdropClick:k,onClose:R,onTransitionEnter:M,onTransitionExited:L,open:j,slotProps:B={},slots:I={},theme:J,...K}=r,W={...r,closeAfterTransition:f,disableAutoFocus:A,disableEnforceFocus:w,disableEscapeKeyDown:x,disablePortal:S,disableRestoreFocus:z,disableScrollLock:O,hideBackdrop:C,keepMounted:D},{getRootProps:ne,getBackdropProps:re,getTransitionProps:F,portalRef:_,isTopModal:E,exited:G,hasTransition:X}=TD({...W,rootRef:n}),ee={...W,exited:G},te=RD(ee),ue={};if(p.props.tabIndex===void 0&&(ue.tabIndex="-1"),X){const{onEnter:He,onExited:Ke}=F();ue.onEnter=He,ue.onExited=Ke}const de={...K,slots:{root:y.Root,backdrop:y.Backdrop,...I},slotProps:{...H,...B}},[xe,ve]=Cn("root",{elementType:ED,externalForwardedProps:de,getSlotProps:ne,additionalProps:{ref:n,as:m},ownerState:ee,className:Oe(u,te==null?void 0:te.root,!ee.open&&ee.exited&&(te==null?void 0:te.hidden))}),[be,Xe]=Cn("backdrop",{elementType:s,externalForwardedProps:de,additionalProps:a,getSlotProps:He=>re({...He,onClick:Ke=>{k&&k(Ke),He!=null&&He.onClick&&He.onClick(Ke)}}),className:Oe(a==null?void 0:a.className,te==null?void 0:te.backdrop),ownerState:ee}),Ie=rn(a==null?void 0:a.ref,Xe.ref);return!D&&!j&&(!X||G)?null:v.jsx(w1,{ref:_,container:h,disablePortal:S,children:v.jsxs(xe,{...ve,children:[!C&&s?v.jsx(be,{...Xe,ref:Ie}):null,v.jsx(OD,{disableEnforceFocus:w,disableAutoFocus:A,disableRestoreFocus:z,isEnabled:E,open:j,children:P.cloneElement(p,ue)})]})})});function LD(e){return Ze("MuiDialog",e)}const Tm=Ge("MuiDialog",["root","scrollPaper","scrollBody","container","paper","paperScrollPaper","paperScrollBody","paperWidthFalse","paperWidthXs","paperWidthSm","paperWidthMd","paperWidthLg","paperWidthXl","paperFullWidth","paperFullScreen"]),k1=P.createContext({}),XD=pe(S1,{name:"MuiDialog",slot:"Backdrop",overrides:(e,t)=>t.backdrop})({zIndex:-1}),ND=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 Qe(l,LD,t)},BD=pe(Ey,{name:"MuiDialog",slot:"Root",overridesResolver:(e,t)=>t.root})({"@media print":{position:"absolute !important"}}),VD=pe("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"}}}]}),ID=pe(Gr,{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]}})(Ue(({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)`,[`&.${Tm.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}`,[`&.${Tm.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,[`&.${Tm.paperScrollBody}`]:{margin:0,maxWidth:"100%"}}}]}))),sl=P.forwardRef(function(t,n){const r=$e({props:t,name:"MuiDialog"}),s=Qr(),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:y,disableEscapeKeyDown:H=!1,fullScreen:A=!1,fullWidth:w=!1,maxWidth:x="sm",onBackdropClick:S,onClick:z,onClose:O,open:C,PaperComponent:D=Gr,PaperProps:k={},scroll:R="paper",TransitionComponent:M=j1,transitionDuration:L=a,TransitionProps:j,...B}=r,I={...r,disableEscapeKeyDown:H,fullScreen:A,fullWidth:w,maxWidth:x,scroll:R},J=ND(I),K=P.useRef(),W=_=>{K.current=_.target===_.currentTarget},ne=_=>{z&&z(_),K.current&&(K.current=null,S&&S(_),O&&O(_,"backdropClick"))},re=Rs(u),F=P.useMemo(()=>({titleId:re}),[re]);return v.jsx(BD,{className:Oe(J.root,y),closeAfterTransition:!0,components:{Backdrop:XD},componentsProps:{backdrop:{transitionDuration:L,as:p,...h}},disableEscapeKeyDown:H,onClose:O,open:C,ref:n,onClick:ne,ownerState:I,...B,children:v.jsx(M,{appear:!0,in:C,timeout:L,role:"presentation",...j,children:v.jsx(VD,{className:Oe(J.container),onMouseDown:W,ownerState:I,children:v.jsx(ID,{as:D,elevation:24,role:"dialog","aria-describedby":l,"aria-labelledby":re,"aria-modal":f,...k,className:Oe(J.paper,k.className),ownerState:I,children:v.jsx(k1.Provider,{value:F,children:m})})})})})});function WD(e){return Ze("MuiDialogActions",e)}Ge("MuiDialogActions",["root","spacing"]);const JD=e=>{const{classes:t,disableSpacing:n}=e;return Qe({root:["root",!n&&"spacing"]},WD,t)},FD=pe("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}}}]}),YD=P.forwardRef(function(t,n){const r=$e({props:t,name:"MuiDialogActions"}),{className:s,disableSpacing:a=!1,...l}=r,u={...r,disableSpacing:a},f=JD(u);return v.jsx(FD,{className:Oe(f.root,s),ownerState:u,ref:n,...l})});function qD(e){return Ze("MuiDialogContent",e)}Ge("MuiDialogContent",["root","dividers"]);function ZD(e){return Ze("MuiDialogTitle",e)}const GD=Ge("MuiDialogTitle",["root"]),UD=e=>{const{classes:t,dividers:n}=e;return Qe({root:["root",n&&"dividers"]},qD,t)},QD=pe("div",{name:"MuiDialogContent",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.dividers&&t.dividers]}})(Ue(({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:{[`.${GD.root} + &`]:{paddingTop:0}}}]}))),tu=P.forwardRef(function(t,n){const r=$e({props:t,name:"MuiDialogContent"}),{className:s,dividers:a=!1,...l}=r,u={...r,dividers:a},f=UD(u);return v.jsx(QD,{className:Oe(f.root,s),ownerState:u,ref:n,...l})}),KD=e=>{const{classes:t}=e;return Qe({root:["root"]},ZD,t)},_D=pe(xt,{name:"MuiDialogTitle",slot:"Root",overridesResolver:(e,t)=>t.root})({padding:"16px 24px",flex:"0 0 auto"}),nu=P.forwardRef(function(t,n){const r=$e({props:t,name:"MuiDialogTitle"}),{className:s,id:a,...l}=r,u=r,f=KD(u),{titleId:p=a}=P.useContext(k1);return v.jsx(_D,{component:"h2",className:Oe(f.root,s),ownerState:u,ref:n,variant:"h6",id:a??p,...l})});function $D(e){return Ze("MuiDivider",e)}const yx=Ge("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]),eT=e=>{const{absolute:t,children:n,classes:r,flexItem:s,light:a,orientation:l,textAlign:u,variant:f}=e;return Qe({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"]},$D,r)},tT=pe("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]}})(Ue(({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%"}}}]}))),nT=pe("span",{name:"MuiDivider",slot:"Wrapper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.wrapper,n.orientation==="vertical"&&t.wrapperVertical]}})(Ue(({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=P.forwardRef(function(t,n){const r=$e({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:y="center",variant:H="fullWidth",...A}=r,w={...r,absolute:s,component:f,flexItem:p,light:h,orientation:u,role:m,textAlign:y,variant:H},x=eT(w);return v.jsx(tT,{as:f,className:Oe(x.root,l),role:m,ref:n,ownerState:w,"aria-orientation":m==="separator"&&(f!=="hr"||u==="vertical")?u:void 0,...A,children:a?v.jsx(nT,{className:x.wrapper,ownerState:w,children:a}):null})});pa&&(pa.muiSkipListHighlight=!0);function rT(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 oT(e){return typeof e=="function"?e():e}function bd(e,t,n){const r=oT(n),s=rT(e,t,r);s&&(t.style.webkitTransform=s,t.style.transform=s)}const sT=P.forwardRef(function(t,n){const r=Qr(),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:y,onEnter:H,onEntered:A,onEntering:w,onExit:x,onExited:S,onExiting:z,style:O,timeout:C=a,TransitionComponent:D=No,...k}=t,R=P.useRef(null),M=rn(xi(f),R,n),L=F=>_=>{F&&(_===void 0?F(R.current):F(R.current,_))},j=L((F,_)=>{bd(h,F,p),Hy(F),H&&H(F,_)}),B=L((F,_)=>{const E=Cl({timeout:C,style:O,easing:m},{mode:"enter"});F.style.webkitTransition=r.transitions.create("-webkit-transform",{...E}),F.style.transition=r.transitions.create("transform",{...E}),F.style.webkitTransform="none",F.style.transform="none",w&&w(F,_)}),I=L(A),J=L(z),K=L(F=>{const _=Cl({timeout:C,style:O,easing:m},{mode:"exit"});F.style.webkitTransition=r.transitions.create("-webkit-transform",_),F.style.transition=r.transitions.create("transform",_),bd(h,F,p),x&&x(F)}),W=L(F=>{F.style.webkitTransition="",F.style.transition="",S&&S(F)}),ne=F=>{l&&l(R.current,F)},re=P.useCallback(()=>{R.current&&bd(h,R.current,p)},[h,p]);return P.useEffect(()=>{if(y||h==="down"||h==="right")return;const F=hy(()=>{R.current&&bd(h,R.current,p)}),_=Mo(R.current);return _.addEventListener("resize",F),()=>{F.clear(),_.removeEventListener("resize",F)}},[h,y,p]),P.useEffect(()=>{y||re()},[y,re]),v.jsx(D,{nodeRef:R,onEnter:j,onEntered:I,onEntering:B,onExit:K,onExited:W,onExiting:J,addEndListener:ne,appear:u,in:y,timeout:C,...k,children:(F,_)=>P.cloneElement(f,{ref:M,style:{visibility:F==="exited"&&!y?"hidden":void 0,...O,...f.props.style},..._})})});function iT(e){return Ze("MuiDrawer",e)}Ge("MuiDrawer",["root","docked","paper","paperAnchorLeft","paperAnchorRight","paperAnchorTop","paperAnchorBottom","paperAnchorDockedLeft","paperAnchorDockedRight","paperAnchorDockedTop","paperAnchorDockedBottom","modal"]);const R1=(e,t)=>{const{ownerState:n}=e;return[t.root,(n.variant==="permanent"||n.variant==="persistent")&&t.docked,t.modal]},aT=e=>{const{classes:t,anchor:n,variant:r}=e,s={root:["root"],docked:[(r==="permanent"||r==="persistent")&&"docked"],modal:["modal"],paper:["paper",`paperAnchor${me(n)}`,r!=="temporary"&&`paperAnchorDocked${me(n)}`]};return Qe(s,iT,t)},lT=pe(Ey,{name:"MuiDrawer",slot:"Root",overridesResolver:R1})(Ue(({theme:e})=>({zIndex:(e.vars||e).zIndex.drawer}))),Ax=pe("div",{shouldForwardProp:Zn,name:"MuiDrawer",slot:"Docked",skipVariantsResolver:!1,overridesResolver:R1})({flex:"0 0 auto"}),cT=pe(Gr,{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)}`]]}})(Ue(({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}`}}]}))),E1={left:"right",right:"left",top:"down",bottom:"up"};function uT(e){return["left","right"].includes(e)}function fT({direction:e},t){return e==="rtl"&&uT(t)?E1[t]:t}const dT=P.forwardRef(function(t,n){const r=$e({props:t,name:"MuiDrawer"}),s=Qr(),a=Ju(),l={enter:s.transitions.duration.enteringScreen,exit:s.transitions.duration.leavingScreen},{anchor:u="left",BackdropProps:f,children:p,className:h,elevation:m=16,hideBackdrop:y=!1,ModalProps:{BackdropProps:H,...A}={},onClose:w,open:x=!1,PaperProps:S={},SlideProps:z,TransitionComponent:O=sT,transitionDuration:C=l,variant:D="temporary",...k}=r,R=P.useRef(!1);P.useEffect(()=>{R.current=!0},[]);const M=fT({direction:a?"rtl":"ltr"},u),j={...r,anchor:u,elevation:m,open:x,variant:D,...k},B=aT(j),I=v.jsx(cT,{elevation:D==="temporary"?m:0,square:!0,...S,className:Oe(B.paper,S.className),ownerState:j,children:p});if(D==="permanent")return v.jsx(Ax,{className:Oe(B.root,B.docked,h),ownerState:j,ref:n,...k,children:I});const J=v.jsx(O,{in:x,direction:E1[M],timeout:C,appear:R.current,...z,children:I});return D==="persistent"?v.jsx(Ax,{className:Oe(B.root,B.docked,h),ownerState:j,ref:n,...k,children:J}):v.jsx(lT,{BackdropProps:{...f,...H,transitionDuration:C},className:Oe(B.root,B.modal,h),open:x,ownerState:j,onClose:w,hideBackdrop:y,ref:n,...k,...A,children:J})}),pT=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=Qe(f,sC,t);return{...t,...p}},vT=pe(Kp,{shouldForwardProp:e=>Zn(e)||e==="classes",name:"MuiFilledInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[...Up(e,t),!n.disableUnderline&&t.underline]}})(Ue(({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}},[`&.${Fr.focused}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:r},[`&.${Fr.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"},[`&.${Fr.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${Fr.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(.${Fr.disabled}, .${Fr.error}):before`]:{borderBottom:`1px solid ${(e.vars||e).palette.text.primary}`},[`&.${Fr.disabled}:before`]:{borderBottomStyle:"dotted"}}},...Object.entries(e.palette).filter(mn()).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}}]}})),hT=pe(_p,{name:"MuiFilledInput",slot:"Input",overridesResolver:Qp})(Ue(({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}}]}))),up=P.forwardRef(function(t,n){const r=$e({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:y={},type:H="text",...A}=r,w={...r,disableUnderline:s,fullWidth:u,inputComponent:p,multiline:h,type:H},x=pT(r),S={root:{ownerState:w},input:{ownerState:w}},z=m??l?qn(S,m??l):S,O=y.root??a.Root??vT,C=y.input??a.Input??hT;return v.jsx($p,{slots:{root:O,input:C},slotProps:z,fullWidth:u,inputComponent:p,multiline:h,ref:n,type:H,...A,classes:x})});up&&(up.muiName="Input");function mT(e){return Ze("MuiFormControl",e)}Ge("MuiFormControl",["root","marginNone","marginNormal","marginDense","fullWidth","disabled"]);const gT=e=>{const{classes:t,margin:n,fullWidth:r}=e,s={root:["root",n!=="none"&&`margin${me(n)}`,r&&"fullWidth"]};return Qe(s,mT,t)},yT=pe("div",{name:"MuiFormControl",slot:"Root",overridesResolver:({ownerState:e},t)=>({...t.root,...t[`margin${me(e.margin)}`],...e.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%"}}]}),ur=P.forwardRef(function(t,n){const r=$e({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:y=!1,margin:H="none",required:A=!1,size:w="medium",variant:x="outlined",...S}=r,z={...r,color:l,component:u,disabled:f,error:p,fullWidth:m,hiddenLabel:y,margin:H,required:A,size:w,variant:x},O=gT(z),[C,D]=P.useState(()=>{let J=!1;return s&&P.Children.forEach(s,K=>{if(!Nd(K,["Input","Select"]))return;const W=Nd(K,["Select"])?K.props.input:K;W&&eC(W.props)&&(J=!0)}),J}),[k,R]=P.useState(()=>{let J=!1;return s&&P.Children.forEach(s,K=>{Nd(K,["Input","Select"])&&(cp(K.props,!0)||cp(K.props.inputProps,!0))&&(J=!0)}),J}),[M,L]=P.useState(!1);f&&M&&L(!1);const j=h!==void 0&&!f?h:M;let B;P.useRef(!1);const I=P.useMemo(()=>({adornedStart:C,setAdornedStart:D,color:l,disabled:f,error:p,filled:k,focused:j,fullWidth:m,hiddenLabel:y,size:w,onBlur:()=>{L(!1)},onEmpty:()=>{R(!1)},onFilled:()=>{R(!0)},onFocus:()=>{L(!0)},registerEffect:B,required:A,variant:x}),[C,l,f,p,k,j,m,y,B,A,w,x]);return v.jsx(Gp.Provider,{value:I,children:v.jsx(yT,{as:u,ownerState:z,className:Oe(O.root,a),ref:n,...S,children:s})})});function AT(e){return Ze("MuiFormControlLabel",e)}const ru=Ge("MuiFormControlLabel",["root","labelPlacementStart","labelPlacementTop","labelPlacementBottom","disabled","label","error","required","asterisk"]),PT=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 Qe(l,AT,t)},bT=pe("label",{name:"MuiFormControlLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${ru.label}`]:t.label},t.root,t[`labelPlacement${me(n.labelPlacement)}`]]}})(Ue(({theme:e})=>({display:"inline-flex",alignItems:"center",cursor:"pointer",verticalAlign:"middle",WebkitTapHighlightColor:"transparent",marginLeft:-11,marginRight:16,[`&.${ru.disabled}`]:{cursor:"default"},[`& .${ru.label}`]:{[`&.${ru.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}}]}))),xT=pe("span",{name:"MuiFormControlLabel",slot:"Asterisk",overridesResolver:(e,t)=>t.asterisk})(Ue(({theme:e})=>({[`&.${ru.error}`]:{color:(e.vars||e).palette.error.main}}))),Os=P.forwardRef(function(t,n){const r=$e({props:t,name:"MuiFormControlLabel"}),{checked:s,className:a,componentsProps:l={},control:u,disabled:f,disableTypography:p,inputRef:h,label:m,labelPlacement:y="end",name:H,onChange:A,required:w,slots:x={},slotProps:S={},value:z,...O}=r,C=Bo(),D=f??u.props.disabled??(C==null?void 0:C.disabled),k=w??u.props.required,R={disabled:D,required:k};["checked","name","onChange","value","inputRef"].forEach(W=>{typeof u.props[W]>"u"&&typeof r[W]<"u"&&(R[W]=r[W])});const M=Hi({props:r,muiFormControl:C,states:["error"]}),L={...r,disabled:D,labelPlacement:y,required:k,error:M.error},j=PT(L),B={slots:x,slotProps:{...l,...S}},[I,J]=Cn("typography",{elementType:xt,externalForwardedProps:B,ownerState:L});let K=m;return K!=null&&K.type!==xt&&!p&&(K=v.jsx(I,{component:"span",...J,className:Oe(j.label,J==null?void 0:J.className),children:K})),v.jsxs(bT,{className:Oe(j.root,a),ownerState:L,ref:n,...O,children:[P.cloneElement(u,R),k?v.jsxs("div",{children:[K,v.jsxs(xT,{ownerState:L,"aria-hidden":!0,className:j.asterisk,children:[" ","*"]})]}):K]})});function wT(e){return Ze("MuiFormGroup",e)}Ge("MuiFormGroup",["root","row","error"]);const HT=e=>{const{classes:t,row:n,error:r}=e;return Qe({root:["root",n&&"row",r&&"error"]},wT,t)},jT=pe("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"}}]}),ST=P.forwardRef(function(t,n){const r=$e({props:t,name:"MuiFormGroup"}),{className:s,row:a=!1,...l}=r,u=Bo(),f=Hi({props:r,muiFormControl:u,states:["error"]}),p={...r,row:a,error:f.error},h=HT(p);return v.jsx(jT,{className:Oe(h.root,s),ownerState:p,ref:n,...l})});function zT(e){return Ze("MuiFormHelperText",e)}const Px=Ge("MuiFormHelperText",["root","error","disabled","sizeSmall","sizeMedium","contained","focused","filled","required"]);var bx;const OT=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 Qe(p,zT,t)},CT=pe("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]}})(Ue(({theme:e})=>({color:(e.vars||e).palette.text.secondary,...e.typography.caption,textAlign:"left",marginTop:3,marginRight:0,marginBottom:0,marginLeft:0,[`&.${Px.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${Px.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}}]}))),nl=P.forwardRef(function(t,n){const r=$e({props:t,name:"MuiFormHelperText"}),{children:s,className:a,component:l="p",disabled:u,error:f,filled:p,focused:h,margin:m,required:y,variant:H,...A}=r,w=Bo(),x=Hi({props:r,muiFormControl:w,states:["variant","size","disabled","error","filled","focused","required"]}),S={...r,component:l,contained:x.variant==="filled"||x.variant==="outlined",variant:x.variant,size:x.size,disabled:x.disabled,error:x.error,filled:x.filled,focused:x.focused,required:x.required};delete S.ownerState;const z=OT(S);return v.jsx(CT,{as:l,className:Oe(z.root,a),ref:n,...A,ownerState:S,children:s===" "?bx||(bx=v.jsx("span",{className:"notranslate","aria-hidden":!0,children:"​"})):s})});function DT(e){return Ze("MuiFormLabel",e)}const pu=Ge("MuiFormLabel",["root","colorSecondary","focused","disabled","error","filled","required","asterisk"]),TT=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 Qe(f,DT,t)},kT=pe("label",{name:"MuiFormLabel",slot:"Root",overridesResolver:({ownerState:e},t)=>({...t.root,...e.color==="secondary"&&t.colorSecondary,...e.filled&&t.filled})})(Ue(({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(mn()).map(([t])=>({props:{color:t},style:{[`&.${pu.focused}`]:{color:(e.vars||e).palette[t].main}}})),{props:{},style:{[`&.${pu.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${pu.error}`]:{color:(e.vars||e).palette.error.main}}}]}))),RT=pe("span",{name:"MuiFormLabel",slot:"Asterisk",overridesResolver:(e,t)=>t.asterisk})(Ue(({theme:e})=>({[`&.${pu.error}`]:{color:(e.vars||e).palette.error.main}}))),Id=P.forwardRef(function(t,n){const r=$e({props:t,name:"MuiFormLabel"}),{children:s,className:a,color:l,component:u="label",disabled:f,error:p,filled:h,focused:m,required:y,...H}=r,A=Bo(),w=Hi({props:r,muiFormControl:A,states:["color","required","focused","disabled","error","filled"]}),x={...r,color:w.color||"primary",component:u,disabled:w.disabled,error:w.error,filled:w.filled,focused:w.focused,required:w.required},S=TT(x);return v.jsxs(kT,{as:u,ownerState:x,className:Oe(S.root,a),ref:n,...H,children:[s,w.required&&v.jsxs(RT,{ownerState:x,"aria-hidden":!0,className:S.asterisk,children:[" ","*"]})]})}),xx=P.createContext();function ET(e){return Ze("MuiGrid",e)}const MT=[0,1,2,3,4,5,6,7,8,9,10],LT=["column-reverse","column","row-reverse","row"],XT=["nowrap","wrap-reverse","wrap"],Ec=["auto",!0,1,2,3,4,5,6,7,8,9,10,11,12],zu=Ge("MuiGrid",["root","container","item","zeroMinWidth",...MT.map(e=>`spacing-xs-${e}`),...LT.map(e=>`direction-xs-${e}`),...XT.map(e=>`wrap-xs-${e}`),...Ec.map(e=>`grid-xs-${e}`),...Ec.map(e=>`grid-sm-${e}`),...Ec.map(e=>`grid-md-${e}`),...Ec.map(e=>`grid-lg-${e}`),...Ec.map(e=>`grid-xl-${e}`)]);function NT({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 BT({theme:e,ownerState:t}){const n=sa({values:t.direction,breakpoints:e.breakpoints.values});return Rr({theme:e},n,r=>{const s={flexDirection:r};return r.startsWith("column")&&(s[`& > .${zu.item}`]={maxWidth:"none"}),s})}function M1({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 VT({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=M1({breakpoints:e.breakpoints.values,values:a})),s=Rr({theme:e},a,(u,f)=>{const p=e.spacing(u);return p!=="0px"?{marginTop:`-${p}`,[`& > .${zu.item}`]:{paddingTop:p}}:l!=null&&l.includes(f)?{}:{marginTop:0,[`& > .${zu.item}`]:{paddingTop:0}}})}return s}function IT({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=M1({breakpoints:e.breakpoints.values,values:a})),s=Rr({theme:e},a,(u,f)=>{const p=e.spacing(u);if(p!=="0px"){const h=`-${p}`;return{width:`calc(100% + ${p})`,marginLeft:h,[`& > .${zu.item}`]:{paddingLeft:p}}}return l!=null&&l.includes(f)?{}:{width:"100%",marginLeft:0,[`& > .${zu.item}`]:{paddingLeft:0}}})}return s}function WT(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 JT=pe("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=WT(l,p,t));const m=[];return p.forEach(y=>{const H=n[y];H&&m.push(t[`grid-${y}-${String(H)}`])}),[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}}),BT,VT,IT,NT);function FT(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 YT=e=>{const{classes:t,container:n,direction:r,item:s,spacing:a,wrap:l,zeroMinWidth:u,breakpoints:f}=e;let p=[];n&&(p=FT(a,f));const h=[];f.forEach(y=>{const H=e[y];H&&h.push(`grid-${y}-${String(H)}`)});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 Qe(m,ET,t)},ss=P.forwardRef(function(t,n){const r=$e({props:t,name:"MuiGrid"}),{breakpoints:s}=Qr(),a=Jp(r),{className:l,columns:u,columnSpacing:f,component:p="div",container:h=!1,direction:m="row",item:y=!1,rowSpacing:H,spacing:A=0,wrap:w="wrap",zeroMinWidth:x=!1,...S}=a,z=H||A,O=f||A,C=P.useContext(xx),D=h?u||12:C,k={},R={...S};s.keys.forEach(j=>{S[j]!=null&&(k[j]=S[j],delete R[j])});const M={...a,columns:D,container:h,direction:m,item:y,rowSpacing:z,columnSpacing:O,wrap:w,zeroMinWidth:x,spacing:A,...k,breakpoints:s.keys},L=YT(M);return v.jsx(xx.Provider,{value:D,children:v.jsx(JT,{ownerState:M,className:Oe(L.root,l),as:p,ref:n,...R})})});function Pg(e){return`scale(${e}, ${e**2})`}const qT={entering:{opacity:1,transform:Pg(1)},entered:{opacity:1,transform:"none"}},km=typeof navigator<"u"&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),Ou=P.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:y,onExiting:H,style:A,timeout:w="auto",TransitionComponent:x=No,...S}=t,z=Gi(),O=P.useRef(),C=Qr(),D=P.useRef(null),k=rn(D,xi(a),n),R=W=>ne=>{if(W){const re=D.current;ne===void 0?W(re):W(re,ne)}},M=R(h),L=R((W,ne)=>{Hy(W);const{duration:re,delay:F,easing:_}=Cl({style:A,timeout:w,easing:l},{mode:"enter"});let E;w==="auto"?(E=C.transitions.getAutoHeightDuration(W.clientHeight),O.current=E):E=re,W.style.transition=[C.transitions.create("opacity",{duration:E,delay:F}),C.transitions.create("transform",{duration:km?E:E*.666,delay:F,easing:_})].join(","),f&&f(W,ne)}),j=R(p),B=R(H),I=R(W=>{const{duration:ne,delay:re,easing:F}=Cl({style:A,timeout:w,easing:l},{mode:"exit"});let _;w==="auto"?(_=C.transitions.getAutoHeightDuration(W.clientHeight),O.current=_):_=ne,W.style.transition=[C.transitions.create("opacity",{duration:_,delay:re}),C.transitions.create("transform",{duration:km?_:_*.666,delay:km?re:re||_*.333,easing:F})].join(","),W.style.opacity=0,W.style.transform=Pg(.75),m&&m(W)}),J=R(y),K=W=>{w==="auto"&&z.start(O.current||0,W),r&&r(D.current,W)};return v.jsx(x,{appear:s,in:u,nodeRef:D,onEnter:L,onEntered:j,onEntering:M,onExit:I,onExited:J,onExiting:B,addEndListener:K,timeout:w==="auto"?null:w,...S,children:(W,ne)=>P.cloneElement(a,{style:{opacity:0,transform:Pg(.75),visibility:W==="exited"&&!u?"hidden":void 0,...qT[W],...A,...a.props.style},ref:k,...ne})})});Ou&&(Ou.muiSupportAuto=!0);const ZT=rj({themeId:Ro}),GT=e=>{const{classes:t,disableUnderline:n}=e,s=Qe({root:["root",!n&&"underline"],input:["input"]},rC,t);return{...t,...s}},UT=pe(Kp,{shouldForwardProp:e=>Zn(e)||e==="classes",name:"MuiInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[...Up(e,t),!n.disableUnderline&&t.underline]}})(Ue(({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(mn()).map(([r])=>({props:{color:r,disableUnderline:!1},style:{"&::after":{borderBottom:`2px solid ${(e.vars||e).palette[r].main}`}}}))]}})),QT=pe(_p,{name:"MuiInput",slot:"Input",overridesResolver:Qp})({}),fp=P.forwardRef(function(t,n){const r=$e({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:y="text",...H}=r,A=GT(r),x={root:{ownerState:{disableUnderline:s}}},S=h??l?qn(h??l,x):x,z=m.root??a.Root??UT,O=m.input??a.Input??QT;return v.jsx($p,{slots:{root:z,input:O},slotProps:S,fullWidth:u,inputComponent:f,multiline:p,ref:n,type:y,...H,classes:A})});fp&&(fp.muiName="Input");function KT(e){return Ze("MuiInputAdornment",e)}const wx=Ge("MuiInputAdornment",["root","filled","standard","outlined","positionStart","positionEnd","disablePointerEvents","hiddenLabel","sizeSmall"]);var Hx;const _T=(e,t)=>{const{ownerState:n}=e;return[t.root,t[`position${me(n.position)}`],n.disablePointerEvents===!0&&t.disablePointerEvents,t[n.variant]]},$T=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 Qe(u,KT,t)},ek=pe("div",{name:"MuiInputAdornment",slot:"Root",overridesResolver:_T})(Ue(({theme:e})=>({display:"flex",maxHeight:"2em",alignItems:"center",whiteSpace:"nowrap",color:(e.vars||e).palette.action.active,variants:[{props:{variant:"filled"},style:{[`&.${wx.positionStart}&:not(.${wx.hiddenLabel})`]:{marginTop:16}}},{props:{position:"start"},style:{marginRight:8}},{props:{position:"end"},style:{marginLeft:8}},{props:{disablePointerEvents:!0},style:{pointerEvents:"none"}}]}))),L1=P.forwardRef(function(t,n){const r=$e({props:t,name:"MuiInputAdornment"}),{children:s,className:a,component:l="div",disablePointerEvents:u=!1,disableTypography:f=!1,position:p,variant:h,...m}=r,y=Bo()||{};let H=h;h&&y.variant,y&&!H&&(H=y.variant);const A={...r,hiddenLabel:y.hiddenLabel,size:y.size,disablePointerEvents:u,position:p,variant:H},w=$T(A);return v.jsx(Gp.Provider,{value:null,children:v.jsx(ek,{as:l,ownerState:A,className:Oe(w.root,a),ref:n,...m,children:typeof s=="string"&&!f?v.jsx(xt,{color:"textSecondary",children:s}):v.jsxs(P.Fragment,{children:[p==="start"?Hx||(Hx=v.jsx("span",{className:"notranslate","aria-hidden":!0,children:"​"})):null,s]})})})});function tk(e){return Ze("MuiInputLabel",e)}Ge("MuiInputLabel",["root","focused","disabled","error","required","asterisk","formControl","sizeSmall","shrink","animated","standard","filled","outlined"]);const nk=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=Qe(f,tk,t);return{...t,...p}},rk=pe(Id,{shouldForwardProp:e=>Zn(e)||e==="classes",name:"MuiInputLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${pu.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]]}})(Ue(({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)"}}]}))),Wd=P.forwardRef(function(t,n){const r=$e({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 y=Hi({props:r,muiFormControl:h,states:["size","variant","required","focused"]}),H={...r,disableAnimation:s,formControl:h,shrink:m,size:y.size,variant:y.variant,required:y.required,focused:y.focused},A=nk(H);return v.jsx(rk,{"data-shrink":m,ref:n,className:Oe(A.root,f),...p,ownerState:H,classes:A})});function ok(e){return Ze("MuiLink",e)}const sk=Ge("MuiLink",["root","underlineNone","underlineHover","underlineAlways","button","focusVisible"]),ik=({theme:e,ownerState:t})=>{const n=t.color,r=Sl(e,`palette.${n}`,!1)||t.color,s=Sl(e,`palette.${n}Channel`);return"vars"in e&&s?`rgba(${s} / 0.4)`:Pt(r,.4)},jx={primary:!0,secondary:!0,error:!0,info:!0,success:!0,warning:!0,textPrimary:!0,textSecondary:!0,textDisabled:!0},ak=e=>{const{classes:t,component:n,focusVisible:r,underline:s}=e,a={root:["root",`underline${me(s)}`,n==="button"&&"button",r&&"focusVisible"]};return Qe(a,ok,t)},lk=pe(xt,{name:"MuiLink",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`underline${me(n.underline)}`],n.component==="button"&&t.button]}})(Ue(({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(mn()).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"},[`&.${sk.focusVisible}`]:{outline:"auto"}}}]}))),ou=P.forwardRef(function(t,n){const r=$e({props:t,name:"MuiLink"}),s=Qr(),{className:a,color:l="primary",component:u="a",onBlur:f,onFocus:p,TypographyClasses:h,underline:m="always",variant:y="inherit",sx:H,...A}=r,[w,x]=P.useState(!1),S=D=>{Ol(D.target)||x(!1),f&&f(D)},z=D=>{Ol(D.target)&&x(!0),p&&p(D)},O={...r,color:l,component:u,focusVisible:w,underline:m,variant:y},C=ak(O);return v.jsx(lk,{color:l,className:Oe(C.root,a),classes:h,component:u,onBlur:S,onFocus:z,ref:n,ownerState:O,variant:y,...A,sx:[...jx[l]===void 0?[{color:l}]:[],...Array.isArray(H)?H:[H]],style:{...A.style,...m==="always"&&l!=="inherit"&&!jx[l]&&{"--Link-underlineColor":ik({theme:s,ownerState:O})}}})}),Eo=P.createContext({});function ck(e){return Ze("MuiList",e)}Ge("MuiList",["root","padding","dense","subheader"]);const uk=e=>{const{classes:t,disablePadding:n,dense:r,subheader:s}=e;return Qe({root:["root",!n&&"padding",r&&"dense",s&&"subheader"]},ck,t)},fk=pe("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}}]}),bg=P.forwardRef(function(t,n){const r=$e({props:t,name:"MuiList"}),{children:s,className:a,component:l="ul",dense:u=!1,disablePadding:f=!1,subheader:p,...h}=r,m=P.useMemo(()=>({dense:u}),[u]),y={...r,component:l,dense:u,disablePadding:f},H=uk(y);return v.jsx(Eo.Provider,{value:m,children:v.jsxs(fk,{as:l,className:Oe(H.root,a),ref:n,ownerState:y,...h,children:[p,s]})})});function dk(e){return Ze("MuiListItem",e)}Ge("MuiListItem",["root","container","dense","alignItemsFlexStart","divider","gutters","padding","secondaryAction"]);function pk(e){return Ze("MuiListItemButton",e)}const rl=Ge("MuiListItemButton",["root","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","selected"]),vk=(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]},hk=e=>{const{alignItems:t,classes:n,dense:r,disabled:s,disableGutters:a,divider:l,selected:u}=e,p=Qe({root:["root",r&&"dense",!a&&"gutters",l&&"divider",s&&"disabled",t==="flex-start"&&"alignItemsFlexStart",u&&"selected"]},pk,n);return{...n,...p}},mk=pe(fa,{shouldForwardProp:e=>Zn(e)||e==="classes",name:"MuiListItemButton",slot:"Root",overridesResolver:vk})(Ue(({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"}},[`&.${rl.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Pt(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${rl.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)}},[`&.${rl.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)}},[`&.${rl.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${rl.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}}]}))),X1=P.forwardRef(function(t,n){const r=$e({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:y=!1,className:H,...A}=r,w=P.useContext(Eo),x=P.useMemo(()=>({dense:f||w.dense||!1,alignItems:s,disableGutters:p}),[s,w.dense,f,p]),S=P.useRef(null);fo(()=>{a&&S.current&&S.current.focus()},[a]);const z={...r,alignItems:s,dense:x.dense,disableGutters:p,divider:h,selected:y},O=hk(z),C=rn(S,n);return v.jsx(Eo.Provider,{value:x,children:v.jsx(mk,{ref:C,href:A.href||A.to,component:(A.href||A.to)&&l==="div"?"button":l,focusVisibleClassName:Oe(O.focusVisible,m),ownerState:z,className:Oe(O.root,H),...A,classes:O,children:u})})});function gk(e){return Ze("MuiListItemSecondaryAction",e)}Ge("MuiListItemSecondaryAction",["root","disableGutters"]);const yk=e=>{const{disableGutters:t,classes:n}=e;return Qe({root:["root",t&&"disableGutters"]},gk,n)},Ak=pe("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}}]}),N1=P.forwardRef(function(t,n){const r=$e({props:t,name:"MuiListItemSecondaryAction"}),{className:s,...a}=r,l=P.useContext(Eo),u={...r,disableGutters:l.disableGutters},f=yk(u);return v.jsx(Ak,{className:Oe(f.root,s),ownerState:u,ref:n,...a})});N1.muiName="ListItemSecondaryAction";const Pk=(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]},bk=e=>{const{alignItems:t,classes:n,dense:r,disableGutters:s,disablePadding:a,divider:l,hasSecondaryAction:u}=e;return Qe({root:["root",r&&"dense",!s&&"gutters",!a&&"padding",l&&"divider",t==="flex-start"&&"alignItemsFlexStart",u&&"secondaryAction"],container:["container"]},dk,n)},xk=pe("div",{name:"MuiListItem",slot:"Root",overridesResolver:Pk})(Ue(({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:{[`& > .${rl.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}}]}))),wk=pe("li",{name:"MuiListItem",slot:"Container",overridesResolver:(e,t)=>t.container})({position:"relative"}),Mc=P.forwardRef(function(t,n){const r=$e({props:t,name:"MuiListItem"}),{alignItems:s="center",children:a,className:l,component:u,components:f={},componentsProps:p={},ContainerComponent:h="li",ContainerProps:{className:m,...y}={},dense:H=!1,disableGutters:A=!1,disablePadding:w=!1,divider:x=!1,secondaryAction:S,slotProps:z={},slots:O={},...C}=r,D=P.useContext(Eo),k=P.useMemo(()=>({dense:H||D.dense||!1,alignItems:s,disableGutters:A}),[s,D.dense,H,A]),R=P.useRef(null),M=P.Children.toArray(a),L=M.length&&Nd(M[M.length-1],["ListItemSecondaryAction"]),j={...r,alignItems:s,dense:k.dense,disableGutters:A,disablePadding:w,divider:x,hasSecondaryAction:L},B=bk(j),I=rn(R,n),J=O.root||f.Root||xk,K=z.root||p.root||{},W={className:Oe(B.root,K.className,l),...C};let ne=u||"li";return L?(ne=!W.component&&!u?"div":ne,h==="li"&&(ne==="li"?ne="div":W.component==="li"&&(W.component="div")),v.jsx(Eo.Provider,{value:k,children:v.jsxs(wk,{as:h,className:Oe(B.container,m),ref:I,ownerState:j,...y,children:[v.jsx(J,{...K,...!El(J)&&{as:ne,ownerState:{...j,...K.ownerState}},...W,children:M}),M.pop()]})})):v.jsx(Eo.Provider,{value:k,children:v.jsxs(J,{...K,as:ne,ref:I,...!El(J)&&{ownerState:{...j,...K.ownerState}},...W,children:[M,S&&v.jsx(N1,{children:S})]})})});function Hk(e){return Ze("MuiListItemIcon",e)}const Sx=Ge("MuiListItemIcon",["root","alignItemsFlexStart"]),jk=e=>{const{alignItems:t,classes:n}=e;return Qe({root:["root",t==="flex-start"&&"alignItemsFlexStart"]},Hk,n)},Sk=pe("div",{name:"MuiListItemIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.alignItems==="flex-start"&&t.alignItemsFlexStart]}})(Ue(({theme:e})=>({minWidth:56,color:(e.vars||e).palette.action.active,flexShrink:0,display:"inline-flex",variants:[{props:{alignItems:"flex-start"},style:{marginTop:8}}]}))),zk=P.forwardRef(function(t,n){const r=$e({props:t,name:"MuiListItemIcon"}),{className:s,...a}=r,l=P.useContext(Eo),u={...r,alignItems:l.alignItems},f=jk(u);return v.jsx(Sk,{className:Oe(f.root,s),ownerState:u,ref:n,...a})});function Ok(e){return Ze("MuiListItemText",e)}const il=Ge("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]),Ck=e=>{const{classes:t,inset:n,primary:r,secondary:s,dense:a}=e;return Qe({root:["root",n&&"inset",a&&"dense",r&&s&&"multiline"],primary:["primary"],secondary:["secondary"]},Ok,t)},Dk=pe("div",{name:"MuiListItemText",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${il.primary}`]:t.primary},{[`& .${il.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,[`.${Z8.root}:where(& .${il.primary})`]:{display:"block"},[`.${Z8.root}:where(& .${il.secondary})`]:{display:"block"},variants:[{props:({ownerState:e})=>e.primary&&e.secondary,style:{marginTop:6,marginBottom:6}},{props:({ownerState:e})=>e.inset,style:{paddingLeft:56}}]}),al=P.forwardRef(function(t,n){const r=$e({props:t,name:"MuiListItemText"}),{children:s,className:a,disableTypography:l=!1,inset:u=!1,primary:f,primaryTypographyProps:p,secondary:h,secondaryTypographyProps:m,...y}=r,{dense:H}=P.useContext(Eo);let A=f??s,w=h;const x={...r,disableTypography:l,inset:u,primary:!!A,secondary:!!w,dense:H},S=Ck(x);return A!=null&&A.type!==xt&&!l&&(A=v.jsx(xt,{variant:H?"body2":"body1",className:S.primary,component:p!=null&&p.variant?void 0:"span",...p,children:A})),w!=null&&w.type!==xt&&!l&&(w=v.jsx(xt,{variant:"body2",className:S.secondary,color:"textSecondary",...m,children:w})),v.jsxs(Dk,{className:Oe(S.root,a),ownerState:x,ref:n,...y,children:[A,w]})});function Rm(e,t,n){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:n?null:e.firstChild}function zx(e,t,n){return e===t?n?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:n?null:e.lastChild}function B1(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 Lc(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")||!B1(u,a)||f)u=s(e,u,n);else return u.focus(),!0}return!1}const Tk=P.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",...y}=t,H=P.useRef(null),A=P.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});fo(()=>{s&&H.current.focus()},[s]),P.useImperativeHandle(r,()=>({adjustStyleForScrollbar:(O,{direction:C})=>{const D=!H.current.style.width;if(O.clientHeight{const C=H.current,D=O.key;if(O.ctrlKey||O.metaKey||O.altKey){h&&h(O);return}const R=ir(C).activeElement;if(D==="ArrowDown")O.preventDefault(),Lc(C,R,p,f,Rm);else if(D==="ArrowUp")O.preventDefault(),Lc(C,R,p,f,zx);else if(D==="Home")O.preventDefault(),Lc(C,null,p,f,Rm);else if(D==="End")O.preventDefault(),Lc(C,null,p,f,zx);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 B=R&&!M.repeating&&B1(R,M);M.previousKeyMatched&&(B||Lc(C,R,!1,f,Rm,M))?O.preventDefault():M.previousKeyMatched=!1}h&&h(O)},x=rn(H,n);let S=-1;P.Children.forEach(l,(O,C)=>{if(!P.isValidElement(O)){S===C&&(S+=1,S>=l.length&&(S=-1));return}O.props.disabled||(m==="selectedMenu"&&O.props.selected||S===-1)&&(S=C),S===C&&(O.props.disabled||O.props.muiSkipListHighlight||O.type.muiSkipListHighlight)&&(S+=1,S>=l.length&&(S=-1))});const z=P.Children.map(l,(O,C)=>{if(C===S){const D={};return a&&(D.autoFocus=!0),O.props.tabIndex===void 0&&m==="selectedMenu"&&(D.tabIndex=0),P.cloneElement(O,D)}return O});return v.jsx(bg,{role:"menu",ref:x,className:u,onKeyDown:w,tabIndex:s?0:-1,...y,children:z})});function kk(e){return Ze("MuiPopover",e)}Ge("MuiPopover",["root","paper"]);function Ox(e,t){let n=0;return typeof t=="number"?n=t:t==="center"?n=e.height/2:t==="bottom"&&(n=e.height),n}function Cx(e,t){let n=0;return typeof t=="number"?n=t:t==="center"?n=e.width/2:t==="right"&&(n=e.width),n}function Dx(e){return[e.horizontal,e.vertical].map(t=>typeof t=="number"?`${t}px`:t).join(" ")}function Em(e){return typeof e=="function"?e():e}const Rk=e=>{const{classes:t}=e;return Qe({root:["root"],paper:["paper"]},kk,t)},Ek=pe(Ey,{name:"MuiPopover",slot:"Root",overridesResolver:(e,t)=>t.root})({}),V1=pe(Gr,{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}),Mk=P.forwardRef(function(t,n){const r=$e({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:y=8,marginThreshold:H=16,open:A,PaperProps:w={},slots:x={},slotProps:S={},transformOrigin:z={vertical:"top",horizontal:"left"},TransitionComponent:O=Ou,transitionDuration:C="auto",TransitionProps:{onEntering:D,...k}={},disableScrollLock:R=!1,...M}=r,L=(S==null?void 0:S.paper)??w,j=P.useRef(),B={...r,anchorOrigin:l,anchorReference:f,elevation:y,marginThreshold:H,externalPaperSlotProps:L,transformOrigin:z,TransitionComponent:O,transitionDuration:C,TransitionProps:k},I=Rk(B),J=P.useCallback(()=>{if(f==="anchorPosition")return u;const Xe=Em(a),He=(Xe&&Xe.nodeType===1?Xe:ir(j.current).body).getBoundingClientRect();return{top:He.top+Ox(He,l.vertical),left:He.left+Cx(He,l.horizontal)}},[a,l.horizontal,l.vertical,u,f]),K=P.useCallback(Xe=>({vertical:Ox(Xe,z.vertical),horizontal:Cx(Xe,z.horizontal)}),[z.horizontal,z.vertical]),W=P.useCallback(Xe=>{const Ie={width:Xe.offsetWidth,height:Xe.offsetHeight},He=K(Ie);if(f==="none")return{top:null,left:null,transformOrigin:Dx(He)};const Ke=J();let we=Ke.top-He.vertical,tt=Ke.left-He.horizontal;const Le=we+Ie.height,dt=tt+Ie.width,N=Mo(Em(a)),$=N.innerHeight-H,se=N.innerWidth-H;if(H!==null&&we$){const ye=Le-$;we-=ye,He.vertical+=ye}if(H!==null&&ttse){const ye=dt-se;tt-=ye,He.horizontal+=ye}return{top:`${Math.round(we)}px`,left:`${Math.round(tt)}px`,transformOrigin:Dx(He)}},[a,f,J,K,H]),[ne,re]=P.useState(A),F=P.useCallback(()=>{const Xe=j.current;if(!Xe)return;const Ie=W(Xe);Ie.top!==null&&Xe.style.setProperty("top",Ie.top),Ie.left!==null&&(Xe.style.left=Ie.left),Xe.style.transformOrigin=Ie.transformOrigin,re(!0)},[W]);P.useEffect(()=>(R&&window.addEventListener("scroll",F),()=>window.removeEventListener("scroll",F)),[a,R,F]);const _=(Xe,Ie)=>{D&&D(Xe,Ie),F()},E=()=>{re(!1)};P.useEffect(()=>{A&&F()}),P.useImperativeHandle(s,()=>A?{updatePosition:()=>{F()}}:null,[A,F]),P.useEffect(()=>{if(!A)return;const Xe=hy(()=>{F()}),Ie=Mo(a);return Ie.addEventListener("resize",Xe),()=>{Xe.clear(),Ie.removeEventListener("resize",Xe)}},[a,A,F]);let G=C;C==="auto"&&!O.muiSupportAuto&&(G=void 0);const X=m||(a?ir(Em(a)).body:void 0),ee={slots:x,slotProps:{...S,paper:L}},[te,ue]=Cn("paper",{elementType:V1,externalForwardedProps:ee,additionalProps:{elevation:y,className:Oe(I.paper,L==null?void 0:L.className),style:ne?L.style:{...L.style,opacity:0}},ownerState:B}),[de,{slotProps:xe,...ve}]=Cn("root",{elementType:Ek,externalForwardedProps:ee,additionalProps:{slotProps:{backdrop:{invisible:!0}},container:X,open:A},ownerState:B,className:Oe(I.root,h)}),be=rn(j,ue.ref);return v.jsx(de,{...ve,...!El(de)&&{slotProps:xe,disableScrollLock:R},...M,ref:n,children:v.jsx(O,{appear:!0,in:A,onEntering:_,onExited:E,timeout:G,...k,children:v.jsx(te,{...ue,ref:be,children:p})})})});function Lk(e){return Ze("MuiMenu",e)}Ge("MuiMenu",["root","paper","list"]);const Xk={vertical:"top",horizontal:"right"},Nk={vertical:"top",horizontal:"left"},Bk=e=>{const{classes:t}=e;return Qe({root:["root"],paper:["paper"],list:["list"]},Lk,t)},Vk=pe(Mk,{shouldForwardProp:e=>Zn(e)||e==="classes",name:"MuiMenu",slot:"Root",overridesResolver:(e,t)=>t.root})({}),Ik=pe(V1,{name:"MuiMenu",slot:"Paper",overridesResolver:(e,t)=>t.paper})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),Wk=pe(Tk,{name:"MuiMenu",slot:"List",overridesResolver:(e,t)=>t.list})({outline:0}),Cu=P.forwardRef(function(t,n){const r=$e({props:t,name:"MuiMenu"}),{autoFocus:s=!0,children:a,className:l,disableAutoFocusItem:u=!1,MenuListProps:f={},onClose:p,open:h,PaperProps:m={},PopoverClasses:y,transitionDuration:H="auto",TransitionProps:{onEntering:A,...w}={},variant:x="selectedMenu",slots:S={},slotProps:z={},...O}=r,C=Ju(),D={...r,autoFocus:s,disableAutoFocusItem:u,MenuListProps:f,onEntering:A,PaperProps:m,transitionDuration:H,TransitionProps:w,variant:x},k=Bk(D),R=s&&!u&&h,M=P.useRef(null),L=(ne,re)=>{M.current&&M.current.adjustStyleForScrollbar(ne,{direction:C?"rtl":"ltr"}),A&&A(ne,re)},j=ne=>{ne.key==="Tab"&&(ne.preventDefault(),p&&p(ne,"tabKeyDown"))};let B=-1;P.Children.map(a,(ne,re)=>{P.isValidElement(ne)&&(ne.props.disabled||(x==="selectedMenu"&&ne.props.selected||B===-1)&&(B=re))});const I=S.paper??Ik,J=z.paper??m,K=sp({elementType:S.root,externalSlotProps:z.root,ownerState:D,className:[k.root,l]}),W=sp({elementType:I,externalSlotProps:J,ownerState:D,className:k.paper});return v.jsx(Vk,{onClose:p,anchorOrigin:{vertical:"bottom",horizontal:C?"right":"left"},transformOrigin:C?Xk:Nk,slots:{paper:I,root:S.root},slotProps:{root:K,paper:W},open:h,ref:n,transitionDuration:H,TransitionProps:{onEntering:L,...w},ownerState:D,...O,classes:y,children:v.jsx(Wk,{onKeyDown:j,actions:M,autoFocus:s&&(B===-1||u),autoFocusItem:R,variant:x,...f,className:Oe(k.list,f.className),children:a})})});function Jk(e){return Ze("MuiMenuItem",e)}const Xc=Ge("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]),Fk=(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,n.divider&&t.divider,!n.disableGutters&&t.gutters]},Yk=e=>{const{disabled:t,dense:n,divider:r,disableGutters:s,selected:a,classes:l}=e,f=Qe({root:["root",n&&"dense",t&&"disabled",!s&&"gutters",r&&"divider",a&&"selected"]},Jk,l);return{...l,...f}},qk=pe(fa,{shouldForwardProp:e=>Zn(e)||e==="classes",name:"MuiMenuItem",slot:"Root",overridesResolver:Fk})(Ue(({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"}},[`&.${Xc.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Pt(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${Xc.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)}},[`&.${Xc.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)}},[`&.${Xc.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${Xc.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`& + .${yx.root}`]:{marginTop:e.spacing(1),marginBottom:e.spacing(1)},[`& + .${yx.inset}`]:{marginLeft:52},[`& .${il.root}`]:{marginTop:0,marginBottom:0},[`& .${il.inset}`]:{paddingLeft:36},[`& .${Sx.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,[`& .${Sx.root} svg`]:{fontSize:"1.25rem"}}}]}))),ts=P.forwardRef(function(t,n){const r=$e({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:y,...H}=r,A=P.useContext(Eo),w=P.useMemo(()=>({dense:l||A.dense||!1,disableGutters:f}),[A.dense,l,f]),x=P.useRef(null);fo(()=>{s&&x.current&&x.current.focus()},[s]);const S={...r,dense:w.dense,divider:u,disableGutters:f},z=Yk(r),O=rn(x,n);let C;return r.disabled||(C=m!==void 0?m:-1),v.jsx(Eo.Provider,{value:w,children:v.jsx(qk,{ref:O,role:h,tabIndex:C,component:a,focusVisibleClassName:Oe(z.focusVisible,p),className:Oe(z.root,y),...H,ownerState:S,classes:z})})});function Zk(e){return Ze("MuiNativeSelect",e)}const My=Ge("MuiNativeSelect",["root","select","multiple","filled","outlined","standard","disabled","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]),Gk=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 Qe(u,Zk,t)},I1=pe("select")(({theme:e})=>({MozAppearance:"none",WebkitAppearance:"none",userSelect:"none",borderRadius:0,cursor:"pointer","&:focus":{borderRadius:0},[`&.${My.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}}}]})),Uk=pe(I1,{name:"MuiNativeSelect",slot:"Select",shouldForwardProp:Zn,overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.select,t[n.variant],n.error&&t.error,{[`&.${My.multiple}`]:t.multiple}]}})({}),W1=pe("svg")(({theme:e})=>({position:"absolute",right:0,top:"calc(50% - .5em)",pointerEvents:"none",color:(e.vars||e).palette.action.active,[`&.${My.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}}]})),Qk=pe(W1,{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]}})({}),Kk=P.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=Gk(h);return v.jsxs(P.Fragment,{children:[v.jsx(Uk,{ownerState:h,className:Oe(m.select,r),disabled:s,ref:u||n,...p}),t.multiple?null:v.jsx(Qk,{as:l,ownerState:h,className:m.icon})]})});var Tx;const _k=pe("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%"}),$k=pe("legend",{shouldForwardProp:Zn})(Ue(({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 eR(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(_k,{"aria-hidden":!0,className:r,ownerState:f,...l,children:v.jsx($k,{ownerState:f,children:u?v.jsx("span",{children:s}):Tx||(Tx=v.jsx("span",{className:"notranslate","aria-hidden":!0,children:"​"}))})})}const tR=e=>{const{classes:t}=e,r=Qe({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},oC,t);return{...t,...r}},nR=pe(Kp,{shouldForwardProp:e=>Zn(e)||e==="classes",name:"MuiOutlinedInput",slot:"Root",overridesResolver:Up})(Ue(({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(mn()).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"}}]}})),rR=pe(eR,{name:"MuiOutlinedInput",slot:"NotchedOutline",overridesResolver:(e,t)=>t.notchedOutline})(Ue(({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}})),oR=pe(_p,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:Qp})(Ue(({theme:e})=>({padding:"16.5px 14px",...!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:e.palette.mode==="light"?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:e.palette.mode==="light"?null:"#fff",caretColor:e.palette.mode==="light"?null:"#fff",borderRadius:"inherit"}},...e.vars&&{"&:-webkit-autofill":{borderRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},variants:[{props:{size:"small"},style:{padding:"8.5px 14px"}},{props:({ownerState:t})=>t.multiline,style:{padding:0}},{props:({ownerState:t})=>t.startAdornment,style:{paddingLeft:0}},{props:({ownerState:t})=>t.endAdornment,style:{paddingRight:0}}]}))),dp=P.forwardRef(function(t,n){var r;const s=$e({props:t,name:"MuiOutlinedInput"}),{components:a={},fullWidth:l=!1,inputComponent:u="input",label:f,multiline:p=!1,notched:h,slots:m={},type:y="text",...H}=s,A=tR(s),w=Bo(),x=Hi({props:s,muiFormControl:w,states:["color","disabled","error","focused","hiddenLabel","size","required"]}),S={...s,color:x.color||"primary",disabled:x.disabled,error:x.error,focused:x.focused,formControl:w,fullWidth:l,hiddenLabel:x.hiddenLabel,multiline:p,size:x.size,type:y},z=m.root??a.Root??nR,O=m.input??a.Input??oR;return v.jsx($p,{slots:{root:z,input:O},renderSuffix:C=>v.jsx(rR,{ownerState:S,className:A.notchedOutline,label:f!=null&&f!==""&&x.required?r||(r=v.jsxs(P.Fragment,{children:[f," ","*"]})):f,notched:typeof h<"u"?h:!!(C.startAdornment||C.filled||C.focused)}),fullWidth:l,inputComponent:u,multiline:p,ref:n,type:y,...H,classes:{...A,notchedOutline:null}})});dp&&(dp.muiName="Input");const sR=At(v.jsx("path",{d:"M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"}),"FirstPage"),iR=At(v.jsx("path",{d:"M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"}),"LastPage"),aR=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"),lR=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"),cR=pe("span",{shouldForwardProp:Zn})({position:"relative",display:"flex"}),uR=pe(aR)({transform:"scale(1)"}),fR=pe(lR)(Ue(({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 J1(e){const{checked:t=!1,classes:n={},fontSize:r}=e,s={...e,checked:t};return v.jsxs(cR,{className:n.root,ownerState:s,children:[v.jsx(uR,{fontSize:r,className:n.background,ownerState:s}),v.jsx(fR,{fontSize:r,className:n.dot,ownerState:s})]})}const F1=P.createContext(void 0);function dR(){return P.useContext(F1)}function pR(e){return Ze("MuiRadio",e)}const kx=Ge("MuiRadio",["root","checked","disabled","colorPrimary","colorSecondary","sizeSmall"]),vR=e=>{const{classes:t,color:n,size:r}=e,s={root:["root",`color${me(n)}`,r!=="medium"&&`size${me(r)}`]};return{...t,...Qe(s,pR,t)}},hR=pe(Ry,{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)}`]]}})(Ue(({theme:e})=>({color:(e.vars||e).palette.text.secondary,[`&.${kx.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(mn()).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(mn()).map(([t])=>({props:{color:t,disabled:!1},style:{[`&.${kx.checked}`]:{color:(e.vars||e).palette[t].main}}})),{props:{disableRipple:!1},style:{"&:hover":{"@media (hover: none)":{backgroundColor:"transparent"}}}}]})));function mR(e,t){return typeof t=="object"&&t!==null?e===t:String(e)===String(t)}const Rx=v.jsx(J1,{checked:!0}),Ex=v.jsx(J1,{}),Du=P.forwardRef(function(t,n){const r=$e({props:t,name:"MuiRadio"}),{checked:s,checkedIcon:a=Rx,color:l="primary",icon:u=Ex,name:f,onChange:p,size:h="medium",className:m,disabled:y,disableRipple:H=!1,...A}=r,w=Bo();let x=y;w&&typeof x>"u"&&(x=w.disabled),x??(x=!1);const S={...r,disabled:x,disableRipple:H,color:l,size:h},z=vR(S),O=dR();let C=s;const D=ig(p,O&&O.onChange);let k=f;return O&&(typeof C>"u"&&(C=mR(O.value,r.value)),typeof k>"u"&&(k=O.name)),v.jsx(hR,{type:"radio",icon:P.cloneElement(u,{fontSize:Ex.props.fontSize??h}),checkedIcon:P.cloneElement(a,{fontSize:Rx.props.fontSize??h}),disabled:x,ownerState:S,classes:z,name:k,checked:C,onChange:D,ref:n,className:Oe(z.root,m),...A})});function gR(e){return Ze("MuiRadioGroup",e)}Ge("MuiRadioGroup",["root","row","error"]);const yR=e=>{const{classes:t,row:n,error:r}=e;return Qe({root:["root",n&&"row",r&&"error"]},gR,t)},pp=P.forwardRef(function(t,n){const{actions:r,children:s,className:a,defaultValue:l,name:u,onChange:f,value:p,...h}=t,m=P.useRef(null),y=yR(t),[H,A]=yi({controlled:p,default:l,name:"RadioGroup"});P.useImperativeHandle(r,()=>({focus:()=>{let z=m.current.querySelector("input:not(:disabled):checked");z||(z=m.current.querySelector("input:not(:disabled)")),z&&z.focus()}}),[]);const w=rn(n,m),x=Rs(u),S=P.useMemo(()=>({name:x,onChange(z){A(z.target.value),f&&f(z,z.target.value)},value:H}),[x,f,A,H]);return v.jsx(F1.Provider,{value:S,children:v.jsx(ST,{role:"radiogroup",ref:w,className:Oe(y.root,a),...h,children:s})})});function AR(e){return Ze("MuiSelect",e)}const Nc=Ge("MuiSelect",["root","select","multiple","filled","outlined","standard","disabled","focused","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]);var Mx;const PR=pe(I1,{name:"MuiSelect",slot:"Select",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`&.${Nc.select}`]:t.select},{[`&.${Nc.select}`]:t[n.variant]},{[`&.${Nc.error}`]:t.error},{[`&.${Nc.multiple}`]:t.multiple}]}})({[`&.${Nc.select}`]:{height:"auto",minHeight:"1.4375em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}}),bR=pe(W1,{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]}})({}),xR=pe("input",{shouldForwardProp:e=>l1(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 Lx(e,t){return typeof t=="object"&&t!==null?e===t:String(e)===String(t)}function wR(e){return e==null||typeof e=="string"&&!e.trim()}const HR=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 Qe(u,AR,t)},jR=P.forwardRef(function(t,n){var Jt;const{"aria-describedby":r,"aria-label":s,autoFocus:a,autoWidth:l,children:u,className:f,defaultOpen:p,defaultValue:h,disabled:m,displayEmpty:y,error:H=!1,IconComponent:A,inputRef:w,labelId:x,MenuProps:S={},multiple:z,name:O,onBlur:C,onChange:D,onClose:k,onFocus:R,onOpen:M,open:L,readOnly:j,renderValue:B,SelectDisplayProps:I={},tabIndex:J,type:K,value:W,variant:ne="standard",...re}=t,[F,_]=yi({controlled:W,default:h,name:"Select"}),[E,G]=yi({controlled:L,default:p,name:"Select"}),X=P.useRef(null),ee=P.useRef(null),[te,ue]=P.useState(null),{current:de}=P.useRef(L!=null),[xe,ve]=P.useState(),be=rn(n,w),Xe=P.useCallback(Be=>{ee.current=Be,Be&&ue(Be)},[]),Ie=te==null?void 0:te.parentNode;P.useImperativeHandle(be,()=>({focus:()=>{ee.current.focus()},node:X.current,value:F}),[F]),P.useEffect(()=>{p&&E&&te&&!de&&(ve(l?null:Ie.clientWidth),ee.current.focus())},[te,l]),P.useEffect(()=>{a&&ee.current.focus()},[a]),P.useEffect(()=>{if(!x)return;const Be=ir(ee.current).getElementById(x);if(Be){const U=()=>{getSelection().isCollapsed&&ee.current.focus()};return Be.addEventListener("click",U),()=>{Be.removeEventListener("click",U)}}},[x]);const He=(Be,U)=>{Be?M&&M(U):k&&k(U),de||(ve(l?null:Ie.clientWidth),G(Be))},Ke=Be=>{Be.button===0&&(Be.preventDefault(),ee.current.focus(),He(!0,Be))},we=Be=>{He(!1,Be)},tt=P.Children.toArray(u),Le=Be=>{const U=tt.find(Y=>Y.props.value===Be.target.value);U!==void 0&&(_(U.props.value),D&&D(Be,U))},dt=Be=>U=>{let Y;if(U.currentTarget.hasAttribute("tabindex")){if(z){Y=Array.isArray(F)?F.slice():[];const Pe=F.indexOf(Be.props.value);Pe===-1?Y.push(Be.props.value):Y.splice(Pe,1)}else Y=Be.props.value;if(Be.props.onClick&&Be.props.onClick(U),F!==Y&&(_(Y),D)){const Pe=U.nativeEvent||U,De=new Pe.constructor(Pe.type,Pe);Object.defineProperty(De,"target",{writable:!0,value:{value:Y,name:O}}),D(De,Be)}z||He(!1,U)}},N=Be=>{j||[" ","ArrowUp","ArrowDown","Enter"].includes(Be.key)&&(Be.preventDefault(),He(!0,Be))},$=te!==null&&E,se=Be=>{!$&&C&&(Object.defineProperty(Be,"target",{writable:!0,value:{value:F,name:O}}),C(Be))};delete re["aria-invalid"];let ye,ce;const Ae=[];let je=!1;(cp({value:F})||y)&&(B?ye=B(F):je=!0);const st=tt.map(Be=>{if(!P.isValidElement(Be))return null;let U;if(z){if(!Array.isArray(F))throw new Error(ks(2));U=F.some(Y=>Lx(Y,Be.props.value)),U&&je&&Ae.push(Be.props.children)}else U=Lx(F,Be.props.value),U&&je&&(ce=Be.props.children);return P.cloneElement(Be,{"aria-selected":U?"true":"false",onClick:dt(Be),onKeyUp:Y=>{Y.key===" "&&Y.preventDefault(),Be.props.onKeyUp&&Be.props.onKeyUp(Y)},role:"option",selected:U,value:void 0,"data-value":Be.props.value})});je&&(z?Ae.length===0?ye=null:ye=Ae.reduce((Be,U,Y)=>(Be.push(U),Y{const{classes:t}=e;return t},Ly={name:"MuiSelect",overridesResolver:(e,t)=>t.root,shouldForwardProp:e=>Zn(e)&&e!=="variant",slot:"Root"},zR=pe(fp,Ly)(""),OR=pe(dp,Ly)(""),CR=pe(up,Ly)(""),Tu=P.forwardRef(function(t,n){const r=$e({name:"MuiSelect",props:t}),{autoWidth:s=!1,children:a,classes:l={},className:u,defaultOpen:f=!1,displayEmpty:p=!1,IconComponent:h=H1,id:m,input:y,inputProps:H,label:A,labelId:w,MenuProps:x,multiple:S=!1,native:z=!1,onClose:O,onOpen:C,open:D,renderValue:k,SelectDisplayProps:R,variant:M="outlined",...L}=r,j=z?Kk:jR,B=Bo(),I=Hi({props:r,muiFormControl:B,states:["variant","error"]}),J=I.variant||M,K={...r,variant:J,classes:l},W=SR(K),{root:ne,...re}=W,F=y||{standard:v.jsx(zR,{ownerState:K}),outlined:v.jsx(OR,{label:A,ownerState:K}),filled:v.jsx(CR,{ownerState:K})}[J],_=rn(n,xi(F));return v.jsx(P.Fragment,{children:P.cloneElement(F,{inputComponent:j,inputProps:{children:a,error:I.error,IconComponent:h,variant:J,type:void 0,multiple:S,...z?{id:m}:{autoWidth:s,defaultOpen:f,displayEmpty:p,labelId:w,MenuProps:x,onClose:O,onOpen:C,open:D,renderValue:k,SelectDisplayProps:{id:m,...R}},...H,classes:H?qn(re,H.classes):re,...y?y.props.inputProps:{}},...(S&&z||p)&&J==="outlined"?{notched:!0}:{},ref:_,className:Oe(F.props.className,u,W.root),...!y&&{variant:J},...L})})});Tu.muiName="Select";function DR(e={}){const{autoHideDuration:t=null,disableWindowBlurListener:n=!1,onClose:r,open:s,resumeHideDuration:a}=e,l=Gi();P.useEffect(()=>{if(!s)return;function S(z){z.defaultPrevented||z.key==="Escape"&&(r==null||r(z,"escapeKeyDown"))}return document.addEventListener("keydown",S),()=>{document.removeEventListener("keydown",S)}},[s,r]);const u=mr((S,z)=>{r==null||r(S,z)}),f=mr(S=>{!r||S==null||l.start(S,()=>{u(null,"timeout")})});P.useEffect(()=>(s&&f(t),l.clear),[s,t,f,l]);const p=S=>{r==null||r(S,"clickaway")},h=l.clear,m=P.useCallback(()=>{t!=null&&f(a??t*.5)},[t,a,f]),y=S=>z=>{const O=S.onBlur;O==null||O(z),m()},H=S=>z=>{const O=S.onFocus;O==null||O(z),h()},A=S=>z=>{const O=S.onMouseEnter;O==null||O(z),h()},w=S=>z=>{const O=S.onMouseLeave;O==null||O(z),m()};return P.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 z={...op(e),...op(S)};return{role:"presentation",...S,...z,onBlur:y(z),onFocus:H(z),onMouseEnter:A(z),onMouseLeave:w(z)}},onClickAway:p}}function TR(e){return Ze("MuiSnackbarContent",e)}Ge("MuiSnackbarContent",["root","message","action"]);const kR=e=>{const{classes:t}=e;return Qe({root:["root"],action:["action"],message:["message"]},TR,t)},RR=pe(Gr,{name:"MuiSnackbarContent",slot:"Root",overridesResolver:(e,t)=>t.root})(Ue(({theme:e})=>{const t=e.palette.mode==="light"?.8:.98,n=Y0(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}}})),ER=pe("div",{name:"MuiSnackbarContent",slot:"Message",overridesResolver:(e,t)=>t.message})({padding:"8px 0"}),MR=pe("div",{name:"MuiSnackbarContent",slot:"Action",overridesResolver:(e,t)=>t.action})({display:"flex",alignItems:"center",marginLeft:"auto",paddingLeft:16,marginRight:-8}),LR=P.forwardRef(function(t,n){const r=$e({props:t,name:"MuiSnackbarContent"}),{action:s,className:a,message:l,role:u="alert",...f}=r,p=r,h=kR(p);return v.jsxs(RR,{role:u,square:!0,elevation:6,className:Oe(h.root,a),ownerState:p,ref:n,...f,children:[v.jsx(ER,{className:h.message,ownerState:p,children:l}),s?v.jsx(MR,{className:h.action,ownerState:p,children:s}):null]})});function XR(e){return Ze("MuiSnackbar",e)}Ge("MuiSnackbar",["root","anchorOriginTopCenter","anchorOriginBottomCenter","anchorOriginTopRight","anchorOriginBottomRight","anchorOriginTopLeft","anchorOriginBottomLeft"]);const NR=e=>{const{classes:t,anchorOrigin:n}=e,r={root:["root",`anchorOrigin${me(n.vertical)}${me(n.horizontal)}`]};return Qe(r,XR,t)},Xx=pe("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)}`]]}})(Ue(({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%)"}}}]}))),BR=P.forwardRef(function(t,n){const r=$e({props:t,name:"MuiSnackbar"}),s=Qr(),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:y,ContentProps:H,disableWindowBlurListener:A=!1,message:w,onBlur:x,onClose:S,onFocus:z,onMouseEnter:O,onMouseLeave:C,open:D,resumeHideDuration:k,TransitionComponent:R=Ou,transitionDuration:M=a,TransitionProps:{onEnter:L,onExited:j,...B}={},...I}=r,J={...r,anchorOrigin:{vertical:u,horizontal:f},autoHideDuration:p,disableWindowBlurListener:A,TransitionComponent:R,transitionDuration:M},K=NR(J),{getRootProps:W,onClickAway:ne}=DR({...J}),[re,F]=P.useState(!0),_=sp({elementType:Xx,getSlotProps:W,externalForwardedProps:I,ownerState:J,additionalProps:{ref:n},className:[K.root,m]}),E=X=>{F(!0),j&&j(X)},G=(X,ee)=>{F(!1),L&&L(X,ee)};return!D&&re?null:v.jsx(D1,{onClickAway:ne,...y,children:v.jsx(Xx,{..._,children:v.jsx(R,{appear:!0,in:D,timeout:M,direction:u==="top"?"down":"up",onEnter:G,onExited:E,...B,children:h||v.jsx(LR,{message:w,action:l,...H})})})})});function VR(e){return Ze("MuiTooltip",e)}const Hn=Ge("MuiTooltip",["popper","popperInteractive","popperArrow","popperClose","tooltip","tooltipArrow","touch","tooltipPlacementLeft","tooltipPlacementRight","tooltipPlacementTop","tooltipPlacementBottom","arrow"]);function IR(e){return Math.round(e*1e5)/1e5}const WR=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 Qe(l,VR,t)},JR=pe(Zp,{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]}})(Ue(({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"] .${Hn.arrow}`]:{top:0,marginTop:"-0.71em","&::before":{transformOrigin:"0 100%"}},[`&[data-popper-placement*="top"] .${Hn.arrow}`]:{bottom:0,marginBottom:"-0.71em","&::before":{transformOrigin:"100% 0"}},[`&[data-popper-placement*="right"] .${Hn.arrow}`]:{height:"1em",width:"0.71em","&::before":{transformOrigin:"100% 100%"}},[`&[data-popper-placement*="left"] .${Hn.arrow}`]:{height:"1em",width:"0.71em","&::before":{transformOrigin:"0 0"}}}},{props:({ownerState:t})=>t.arrow&&!t.isRtl,style:{[`&[data-popper-placement*="right"] .${Hn.arrow}`]:{left:0,marginLeft:"-0.71em"}}},{props:({ownerState:t})=>t.arrow&&!!t.isRtl,style:{[`&[data-popper-placement*="right"] .${Hn.arrow}`]:{right:0,marginRight:"-0.71em"}}},{props:({ownerState:t})=>t.arrow&&!t.isRtl,style:{[`&[data-popper-placement*="left"] .${Hn.arrow}`]:{right:0,marginRight:"-0.71em"}}},{props:({ownerState:t})=>t.arrow&&!!t.isRtl,style:{[`&[data-popper-placement*="left"] .${Hn.arrow}`]:{left:0,marginLeft:"-0.71em"}}}]}))),FR=pe("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])}`]]}})(Ue(({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,[`.${Hn.popper}[data-popper-placement*="left"] &`]:{transformOrigin:"right center"},[`.${Hn.popper}[data-popper-placement*="right"] &`]:{transformOrigin:"left center"},[`.${Hn.popper}[data-popper-placement*="top"] &`]:{transformOrigin:"center bottom",marginBottom:"14px"},[`.${Hn.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:`${IR(16/14)}em`,fontWeight:e.typography.fontWeightRegular}},{props:({ownerState:t})=>!t.isRtl,style:{[`.${Hn.popper}[data-popper-placement*="left"] &`]:{marginRight:"14px"},[`.${Hn.popper}[data-popper-placement*="right"] &`]:{marginLeft:"14px"}}},{props:({ownerState:t})=>!t.isRtl&&t.touch,style:{[`.${Hn.popper}[data-popper-placement*="left"] &`]:{marginRight:"24px"},[`.${Hn.popper}[data-popper-placement*="right"] &`]:{marginLeft:"24px"}}},{props:({ownerState:t})=>!!t.isRtl,style:{[`.${Hn.popper}[data-popper-placement*="left"] &`]:{marginLeft:"14px"},[`.${Hn.popper}[data-popper-placement*="right"] &`]:{marginRight:"14px"}}},{props:({ownerState:t})=>!!t.isRtl&&t.touch,style:{[`.${Hn.popper}[data-popper-placement*="left"] &`]:{marginLeft:"24px"},[`.${Hn.popper}[data-popper-placement*="right"] &`]:{marginRight:"24px"}}},{props:({ownerState:t})=>t.touch,style:{[`.${Hn.popper}[data-popper-placement*="top"] &`]:{marginBottom:"24px"}}},{props:({ownerState:t})=>t.touch,style:{[`.${Hn.popper}[data-popper-placement*="bottom"] &`]:{marginTop:"24px"}}}]}))),YR=pe("span",{name:"MuiTooltip",slot:"Arrow",overridesResolver:(e,t)=>t.arrow})(Ue(({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 xd=!1;const Nx=new Yp;let Bc={x:0,y:0};function wd(e,t){return(n,...r)=>{t&&t(n,...r),e(n,...r)}}const Xy=P.forwardRef(function(t,n){const r=$e({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:y=!1,disableTouchListener:H=!1,enterDelay:A=100,enterNextDelay:w=0,enterTouchDelay:x=700,followCursor:S=!1,id:z,leaveDelay:O=0,leaveTouchDelay:C=1500,onClose:D,onOpen:k,open:R,placement:M="bottom",PopperComponent:L,PopperProps:j={},slotProps:B={},slots:I={},title:J,TransitionComponent:K,TransitionProps:W,...ne}=r,re=P.isValidElement(a)?a:v.jsx("span",{children:a}),F=Qr(),_=Ju(),[E,G]=P.useState(),[X,ee]=P.useState(null),te=P.useRef(!1),ue=y||S,de=Gi(),xe=Gi(),ve=Gi(),be=Gi(),[Xe,Ie]=yi({controlled:R,default:!1,name:"Tooltip",state:"open"});let He=Xe;const Ke=Rs(z),we=P.useRef(),tt=mr(()=>{we.current!==void 0&&(document.body.style.WebkitUserSelect=we.current,we.current=void 0),be.clear()});P.useEffect(()=>tt,[tt]);const Le=Fe=>{Nx.clear(),xd=!0,Ie(!0),k&&!He&&k(Fe)},dt=mr(Fe=>{Nx.start(800+O,()=>{xd=!1}),Ie(!1),D&&He&&D(Fe),de.start(F.transitions.duration.shortest,()=>{te.current=!1})}),N=Fe=>{te.current&&Fe.type!=="touchstart"||(E&&E.removeAttribute("title"),xe.clear(),ve.clear(),A||xd&&w?xe.start(xd?w:A,()=>{Le(Fe)}):Le(Fe))},$=Fe=>{xe.clear(),ve.start(O,()=>{dt(Fe)})},[,se]=P.useState(!1),ye=Fe=>{Ol(Fe.target)||(se(!1),$(Fe))},ce=Fe=>{E||G(Fe.currentTarget),Ol(Fe.target)&&(se(!0),N(Fe))},Ae=Fe=>{te.current=!0;const Rt=re.props;Rt.onTouchStart&&Rt.onTouchStart(Fe)},je=Fe=>{Ae(Fe),ve.clear(),de.clear(),tt(),we.current=document.body.style.WebkitUserSelect,document.body.style.WebkitUserSelect="none",be.start(x,()=>{document.body.style.WebkitUserSelect=we.current,N(Fe)})},st=Fe=>{re.props.onTouchEnd&&re.props.onTouchEnd(Fe),tt(),ve.start(C,()=>{dt(Fe)})};P.useEffect(()=>{if(!He)return;function Fe(Rt){Rt.key==="Escape"&&dt(Rt)}return document.addEventListener("keydown",Fe),()=>{document.removeEventListener("keydown",Fe)}},[dt,He]);const wt=rn(xi(re),G,n);!J&&J!==0&&(He=!1);const nt=P.useRef(),ft=Fe=>{const Rt=re.props;Rt.onMouseMove&&Rt.onMouseMove(Fe),Bc={x:Fe.clientX,y:Fe.clientY},nt.current&&nt.current.update()},ct={},Ht=typeof J=="string";p?(ct.title=!He&&Ht&&!m?J:null,ct["aria-describedby"]=He?Ke:null):(ct["aria-label"]=Ht?J:null,ct["aria-labelledby"]=He&&!Ht?Ke:null);const We={...ct,...ne,...re.props,className:Oe(ne.className,re.props.className),onTouchStart:Ae,ref:wt,...S?{onMouseMove:ft}:{}},Dt={};H||(We.onTouchStart=je,We.onTouchEnd=st),m||(We.onMouseOver=wd(N,We.onMouseOver),We.onMouseLeave=wd($,We.onMouseLeave),ue||(Dt.onMouseOver=N,Dt.onMouseLeave=$)),h||(We.onFocus=wd(ce,We.onFocus),We.onBlur=wd(ye,We.onBlur),ue||(Dt.onFocus=ce,Dt.onBlur=ye));const Jt={...r,isRtl:_,arrow:s,disableInteractive:ue,placement:M,PopperComponentProp:L,touch:te.current},Be=typeof B.popper=="function"?B.popper(Jt):B.popper,U=P.useMemo(()=>{var Rt,un;let Fe=[{name:"arrow",enabled:!!X,options:{element:X,padding:4}}];return(Rt=j.popperOptions)!=null&&Rt.modifiers&&(Fe=Fe.concat(j.popperOptions.modifiers)),(un=Be==null?void 0:Be.popperOptions)!=null&&un.modifiers&&(Fe=Fe.concat(Be.popperOptions.modifiers)),{...j.popperOptions,...Be==null?void 0:Be.popperOptions,modifiers:Fe}},[X,j.popperOptions,Be==null?void 0:Be.popperOptions]),Y=WR(Jt),Pe=typeof B.transition=="function"?B.transition(Jt):B.transition,De={slots:{popper:u.Popper,transition:u.Transition??K,tooltip:u.Tooltip,arrow:u.Arrow,...I},slotProps:{arrow:B.arrow??f.arrow,popper:{...j,...Be??f.popper},tooltip:B.tooltip??f.tooltip,transition:{...W,...Pe??f.transition}}},[Te,Ne]=Cn("popper",{elementType:JR,externalForwardedProps:De,ownerState:Jt,className:Oe(Y.popper,j==null?void 0:j.className)}),[Je,ke]=Cn("transition",{elementType:Ou,externalForwardedProps:De,ownerState:Jt}),[rt,vt]=Cn("tooltip",{elementType:FR,className:Y.tooltip,externalForwardedProps:De,ownerState:Jt}),[kt,Qt]=Cn("arrow",{elementType:YR,className:Y.arrow,externalForwardedProps:De,ownerState:Jt,ref:ee});return v.jsxs(P.Fragment,{children:[P.cloneElement(re,We),v.jsx(Te,{as:L??Zp,placement:M,anchorEl:S?{getBoundingClientRect:()=>({top:Bc.y,left:Bc.x,right:Bc.x,bottom:Bc.y,width:0,height:0})}:E,popperRef:nt,open:E?He:!1,id:Ke,transition:!0,...Dt,...Ne,popperOptions:U,children:({TransitionProps:Fe})=>v.jsx(Je,{timeout:F.transitions.duration.shorter,...Fe,...ke,children:v.jsxs(rt,{...vt,children:[J,s?v.jsx(kt,{...Qt}):null]})})})]})}),as=Vj({createStyledComponent:pe("div",{name:"MuiStack",slot:"Root",overridesResolver:(e,t)=>t.root}),useThemeProps:e=>$e({props:e,name:"MuiStack"})});function qR(e){return Ze("MuiSwitch",e)}const fr=Ge("MuiSwitch",["root","edgeStart","edgeEnd","switchBase","colorPrimary","colorSecondary","sizeSmall","sizeMedium","checked","disabled","input","thumb","track"]),ZR=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=Qe(u,qR,t);return{...t,...f}},GR=pe("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,[`& .${fr.thumb}`]:{width:16,height:16},[`& .${fr.switchBase}`]:{padding:4,[`&.${fr.checked}`]:{transform:"translateX(16px)"}}}}]}),UR=pe(Ry,{name:"MuiSwitch",slot:"SwitchBase",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.switchBase,{[`& .${fr.input}`]:t.input},n.color!=="default"&&t[`color${me(n.color)}`]]}})(Ue(({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}),[`&.${fr.checked}`]:{transform:"translateX(20px)"},[`&.${fr.disabled}`]:{color:e.vars?e.vars.palette.Switch.defaultDisabledColor:`${e.palette.mode==="light"?e.palette.grey[100]:e.palette.grey[600]}`},[`&.${fr.checked} + .${fr.track}`]:{opacity:.5},[`&.${fr.disabled} + .${fr.track}`]:{opacity:e.vars?e.vars.opacity.switchTrackDisabled:`${e.palette.mode==="light"?.12:.2}`},[`& .${fr.input}`]:{left:"-100%",width:"300%"}})),Ue(({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(mn(["light"])).map(([t])=>({props:{color:t},style:{[`&.${fr.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"}},[`&.${fr.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)}`}},[`&.${fr.checked} + .${fr.track}`]:{backgroundColor:(e.vars||e).palette[t].main}}}))]}))),QR=pe("span",{name:"MuiSwitch",slot:"Track",overridesResolver:(e,t)=>t.track})(Ue(({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}`}))),KR=pe("span",{name:"MuiSwitch",slot:"Thumb",overridesResolver:(e,t)=>t.thumb})(Ue(({theme:e})=>({boxShadow:(e.vars||e).shadows[1],backgroundColor:"currentColor",width:20,height:20,borderRadius:"50%"}))),Y1=P.forwardRef(function(t,n){const r=$e({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=ZR(h),y=v.jsx(KR,{className:m.thumb,ownerState:h});return v.jsxs(GR,{className:Oe(m.root,s),sx:f,ownerState:h,children:[v.jsx(UR,{type:"checkbox",icon:y,checkedIcon:y,ref:n,ownerState:h,...p,classes:{...m,root:m.switchBase}}),v.jsx(QR,{className:m.track,ownerState:h})]})}),q1=P.createContext();function _R(e){return Ze("MuiTable",e)}Ge("MuiTable",["root","stickyHeader"]);const $R=e=>{const{classes:t,stickyHeader:n}=e;return Qe({root:["root",n&&"stickyHeader"]},_R,t)},eE=pe("table",{name:"MuiTable",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.stickyHeader&&t.stickyHeader]}})(Ue(({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"}}]}))),Bx="table",Z1=P.forwardRef(function(t,n){const r=$e({props:t,name:"MuiTable"}),{className:s,component:a=Bx,padding:l="normal",size:u="medium",stickyHeader:f=!1,...p}=r,h={...r,component:a,padding:l,size:u,stickyHeader:f},m=$R(h),y=P.useMemo(()=>({padding:l,size:u,stickyHeader:f}),[l,u,f]);return v.jsx(q1.Provider,{value:y,children:v.jsx(eE,{as:a,role:a===Bx?null:"table",ref:n,className:Oe(m.root,s),ownerState:h,...p})})}),Gu=P.createContext();function tE(e){return Ze("MuiTableBody",e)}Ge("MuiTableBody",["root"]);const nE=e=>{const{classes:t}=e;return Qe({root:["root"]},tE,t)},rE=pe("tbody",{name:"MuiTableBody",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"table-row-group"}),oE={variant:"body"},Vx="tbody",G1=P.forwardRef(function(t,n){const r=$e({props:t,name:"MuiTableBody"}),{className:s,component:a=Vx,...l}=r,u={...r,component:a},f=nE(u);return v.jsx(Gu.Provider,{value:oE,children:v.jsx(rE,{className:Oe(f.root,s),as:a,ref:n,role:a===Vx?null:"rowgroup",ownerState:u,...l})})});function sE(e){return Ze("MuiTableCell",e)}const iE=Ge("MuiTableCell",["root","head","body","footer","sizeSmall","sizeMedium","paddingCheckbox","paddingNone","alignLeft","alignCenter","alignRight","alignJustify","stickyHeader"]),aE=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 Qe(u,sE,t)},lE=pe("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]}})(Ue(({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",[`&.${iE.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}}]}))),vr=P.forwardRef(function(t,n){const r=$e({props:t,name:"MuiTableCell"}),{align:s="inherit",className:a,component:l,padding:u,scope:f,size:p,sortDirection:h,variant:m,...y}=r,H=P.useContext(q1),A=P.useContext(Gu),w=A&&A.variant==="head";let x;l?x=l:x=w?"th":"td";let S=f;x==="td"?S=void 0:!S&&w&&(S="col");const z=m||A&&A.variant,O={...r,align:s,component:x,padding:u||(H&&H.padding?H.padding:"normal"),size:p||(H&&H.size?H.size:"medium"),sortDirection:h,stickyHeader:z==="head"&&H&&H.stickyHeader,variant:z},C=aE(O);let D=null;return h&&(D=h==="asc"?"ascending":"descending"),v.jsx(lE,{as:x,ref:n,className:Oe(C.root,a),"aria-sort":D,scope:S,ownerState:O,...y})});function cE(e){return Ze("MuiTableContainer",e)}Ge("MuiTableContainer",["root"]);const uE=e=>{const{classes:t}=e;return Qe({root:["root"]},cE,t)},fE=pe("div",{name:"MuiTableContainer",slot:"Root",overridesResolver:(e,t)=>t.root})({width:"100%",overflowX:"auto"}),U1=P.forwardRef(function(t,n){const r=$e({props:t,name:"MuiTableContainer"}),{className:s,component:a="div",...l}=r,u={...r,component:a},f=uE(u);return v.jsx(fE,{ref:n,as:a,className:Oe(f.root,s),ownerState:u,...l})});function dE(e){return Ze("MuiTableFooter",e)}Ge("MuiTableFooter",["root"]);const pE=e=>{const{classes:t}=e;return Qe({root:["root"]},dE,t)},vE=pe("tfoot",{name:"MuiTableFooter",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"table-footer-group"}),hE={variant:"footer"},Ix="tfoot",mE=P.forwardRef(function(t,n){const r=$e({props:t,name:"MuiTableFooter"}),{className:s,component:a=Ix,...l}=r,u={...r,component:a},f=pE(u);return v.jsx(Gu.Provider,{value:hE,children:v.jsx(vE,{as:a,className:Oe(f.root,s),ref:n,role:a===Ix?null:"rowgroup",ownerState:u,...l})})});function gE(e){return Ze("MuiTableHead",e)}Ge("MuiTableHead",["root"]);const yE=e=>{const{classes:t}=e;return Qe({root:["root"]},gE,t)},AE=pe("thead",{name:"MuiTableHead",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"table-header-group"}),PE={variant:"head"},Wx="thead",bE=P.forwardRef(function(t,n){const r=$e({props:t,name:"MuiTableHead"}),{className:s,component:a=Wx,...l}=r,u={...r,component:a},f=yE(u);return v.jsx(Gu.Provider,{value:PE,children:v.jsx(AE,{as:a,className:Oe(f.root,s),ref:n,role:a===Wx?null:"rowgroup",ownerState:u,...l})})});function xE(e){return Ze("MuiToolbar",e)}Ge("MuiToolbar",["root","gutters","regular","dense"]);const wE=e=>{const{classes:t,disableGutters:n,variant:r}=e;return Qe({root:["root",!n&&"gutters",r]},xE,t)},HE=pe("div",{name:"MuiToolbar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disableGutters&&t.gutters,t[n.variant]]}})(Ue(({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}]}))),Q1=P.forwardRef(function(t,n){const r=$e({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=wE(p);return v.jsx(HE,{as:a,className:Oe(h.root,s),ref:n,ownerState:p,...f})}),jE=At(v.jsx("path",{d:"M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"}),"KeyboardArrowLeft"),SE=At(v.jsx("path",{d:"M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"}),"KeyboardArrowRight"),zE=P.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:y,slots:H={},slotProps:A={},...w}=t,x=Ju(),S=G=>{f(G,0)},z=G=>{f(G,p-1)},O=G=>{f(G,p+1)},C=G=>{f(G,Math.max(0,Math.ceil(s/h)-1))},D=H.firstButton??zr,k=H.lastButton??zr,R=H.nextButton??zr,M=H.previousButton??zr,L=H.firstButtonIcon??sR,j=H.lastButtonIcon??iR,B=H.nextButtonIcon??SE,I=H.previousButtonIcon??jE,J=x?k:D,K=x?R:M,W=x?M:R,ne=x?D:k,re=x?A.lastButton:A.firstButton,F=x?A.nextButton:A.previousButton,_=x?A.previousButton:A.nextButton,E=x?A.firstButton:A.lastButton;return v.jsxs("div",{ref:n,...w,children:[m&&v.jsx(J,{onClick:S,disabled:a||p===0,"aria-label":l("first",p),title:l("first",p),...re,children:x?v.jsx(j,{...A.lastButtonIcon}):v.jsx(L,{...A.firstButtonIcon})}),v.jsx(K,{onClick:z,disabled:a||p===0,color:"inherit","aria-label":l("previous",p),title:l("previous",p),...F??r,children:x?v.jsx(B,{...A.nextButtonIcon}):v.jsx(I,{...A.previousButtonIcon})}),v.jsx(W,{onClick:O,disabled:a||(s!==-1?p>=Math.ceil(s/h)-1:!1),color:"inherit","aria-label":l("next",p),title:l("next",p),..._??u,children:x?v.jsx(I,{...A.previousButtonIcon}):v.jsx(B,{...A.nextButtonIcon})}),y&&v.jsx(ne,{onClick:C,disabled:a||p>=Math.ceil(s/h)-1,"aria-label":l("last",p),title:l("last",p),...E,children:x?v.jsx(L,{...A.firstButtonIcon}):v.jsx(j,{...A.lastButtonIcon})})]})});function OE(e){return Ze("MuiTablePagination",e)}const vu=Ge("MuiTablePagination",["root","toolbar","spacer","selectLabel","selectRoot","select","selectIcon","input","menuItem","displayedRows","actions"]);var Jx;const CE=pe(vr,{name:"MuiTablePagination",slot:"Root",overridesResolver:(e,t)=>t.root})(Ue(({theme:e})=>({overflow:"auto",color:(e.vars||e).palette.text.primary,fontSize:e.typography.pxToRem(14),"&:last-child":{padding:0}}))),DE=pe(Q1,{name:"MuiTablePagination",slot:"Toolbar",overridesResolver:(e,t)=>({[`& .${vu.actions}`]:t.actions,...t.toolbar})})(Ue(({theme:e})=>({minHeight:52,paddingRight:2,[`${e.breakpoints.up("xs")} and (orientation: landscape)`]:{minHeight:52},[e.breakpoints.up("sm")]:{minHeight:52,paddingRight:2},[`& .${vu.actions}`]:{flexShrink:0,marginLeft:20}}))),TE=pe("div",{name:"MuiTablePagination",slot:"Spacer",overridesResolver:(e,t)=>t.spacer})({flex:"1 1 100%"}),kE=pe("p",{name:"MuiTablePagination",slot:"SelectLabel",overridesResolver:(e,t)=>t.selectLabel})(Ue(({theme:e})=>({...e.typography.body2,flexShrink:0}))),RE=pe(Tu,{name:"MuiTablePagination",slot:"Select",overridesResolver:(e,t)=>({[`& .${vu.selectIcon}`]:t.selectIcon,[`& .${vu.select}`]:t.select,...t.input,...t.selectRoot})})({color:"inherit",fontSize:"inherit",flexShrink:0,marginRight:32,marginLeft:8,[`& .${vu.select}`]:{paddingLeft:8,paddingRight:24,textAlign:"right",textAlignLast:"right"}}),EE=pe(ts,{name:"MuiTablePagination",slot:"MenuItem",overridesResolver:(e,t)=>t.menuItem})({}),ME=pe("p",{name:"MuiTablePagination",slot:"DisplayedRows",overridesResolver:(e,t)=>t.displayedRows})(Ue(({theme:e})=>({...e.typography.body2,flexShrink:0})));function LE({from:e,to:t,count:n}){return`${e}–${t} of ${n!==-1?n:`more than ${t}`}`}function XE(e){return`Go to ${e} page`}const NE=e=>{const{classes:t}=e;return Qe({root:["root"],toolbar:["toolbar"],spacer:["spacer"],selectLabel:["selectLabel"],select:["select"],input:["input"],selectIcon:["selectIcon"],menuItem:["menuItem"],displayedRows:["displayedRows"],actions:["actions"]},OE,t)},BE=P.forwardRef(function(t,n){const r=$e({props:t,name:"MuiTablePagination"}),{ActionsComponent:s=zE,backIconButtonProps:a,className:l,colSpan:u,component:f=vr,count:p,disabled:h=!1,getItemAriaLabel:m=XE,labelDisplayedRows:y=LE,labelRowsPerPage:H="Rows per page:",nextIconButtonProps:A,onPageChange:w,onRowsPerPageChange:x,page:S,rowsPerPage:z,rowsPerPageOptions:O=[10,25,50,100],SelectProps:C={},showFirstButton:D=!1,showLastButton:k=!1,slotProps:R={},slots:M={},...L}=r,j=r,B=NE(j),I=(R==null?void 0:R.select)??C,J=I.native?"option":EE;let K;(f===vr||f==="td")&&(K=u||1e3);const W=Rs(I.id),ne=Rs(I.labelId),re=()=>p===-1?(S+1)*z:z===-1?p:Math.min(p,(S+1)*z);return v.jsx(CE,{colSpan:K,ref:n,as:f,ownerState:j,className:Oe(B.root,l),...L,children:v.jsxs(DE,{className:B.toolbar,children:[v.jsx(TE,{className:B.spacer}),O.length>1&&v.jsx(kE,{className:B.selectLabel,id:ne,children:H}),O.length>1&&v.jsx(RE,{variant:"standard",...!I.variant&&{input:Jx||(Jx=v.jsx($p,{}))},value:z,onChange:x,id:W,labelId:ne,...I,classes:{...I.classes,root:Oe(B.input,B.selectRoot,(I.classes||{}).root),select:Oe(B.select,(I.classes||{}).select),icon:Oe(B.selectIcon,(I.classes||{}).icon)},disabled:h,children:O.map(F=>P.createElement(J,{...!El(J)&&{ownerState:j},className:B.menuItem,key:F.label?F.label:F,value:F.value?F.value:F},F.label?F.label:F))}),v.jsx(ME,{className:B.displayedRows,children:y({from:p===0?0:S*z+1,to:re(),count:p===-1?-1:p,page:S})}),v.jsx(s,{className:B.actions,backIconButtonProps:a,count:p,nextIconButtonProps:A,onPageChange:w,page:S,rowsPerPage:z,showFirstButton:D,showLastButton:k,slotProps:R.actions,slots:M.actions,getItemAriaLabel:m,disabled:h})]})})});function VE(e){return Ze("MuiTableRow",e)}const Fx=Ge("MuiTableRow",["root","selected","hover","head","footer"]),IE=e=>{const{classes:t,selected:n,hover:r,head:s,footer:a}=e;return Qe({root:["root",n&&"selected",r&&"hover",s&&"head",a&&"footer"]},VE,t)},WE=pe("tr",{name:"MuiTableRow",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.head&&t.head,n.footer&&t.footer]}})(Ue(({theme:e})=>({color:"inherit",display:"table-row",verticalAlign:"middle",outline:0,[`&.${Fx.hover}:hover`]:{backgroundColor:(e.vars||e).palette.action.hover},[`&.${Fx.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)}}}))),Yx="tr",vp=P.forwardRef(function(t,n){const r=$e({props:t,name:"MuiTableRow"}),{className:s,component:a=Yx,hover:l=!1,selected:u=!1,...f}=r,p=P.useContext(Gu),h={...r,component:a,hover:l,selected:u,head:p&&p.variant==="head",footer:p&&p.variant==="footer"},m=IE(h);return v.jsx(WE,{as:a,ref:n,className:Oe(m.root,s),role:a===Yx?null:"row",ownerState:h,...f})});function JE(e){return Ze("MuiTextField",e)}Ge("MuiTextField",["root"]);const FE={standard:fp,filled:up,outlined:dp},YE=e=>{const{classes:t}=e;return Qe({root:["root"]},JE,t)},qE=pe(ur,{name:"MuiTextField",slot:"Root",overridesResolver:(e,t)=>t.root})({}),ao=P.forwardRef(function(t,n){const r=$e({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:y,fullWidth:H=!1,helperText:A,id:w,InputLabelProps:x,inputProps:S,InputProps:z,inputRef:O,label:C,maxRows:D,minRows:k,multiline:R=!1,name:M,onBlur:L,onChange:j,onFocus:B,placeholder:I,required:J=!1,rows:K,select:W=!1,SelectProps:ne,slots:re={},slotProps:F={},type:_,value:E,variant:G="outlined",...X}=r,ee={...r,autoFocus:a,color:f,disabled:h,error:m,fullWidth:H,multiline:R,required:J,select:W,variant:G},te=YE(ee),ue=Rs(w),de=A&&ue?`${ue}-helper-text`:void 0,xe=C&&ue?`${ue}-label`:void 0,ve=FE[G],be={slots:re,slotProps:{input:z,inputLabel:x,htmlInput:S,formHelperText:y,select:ne,...F}},Xe={},Ie=be.slotProps.inputLabel;G==="outlined"&&(Ie&&typeof Ie.shrink<"u"&&(Xe.notched=Ie.shrink),Xe.label=C),W&&((!ne||!ne.native)&&(Xe.id=void 0),Xe["aria-describedby"]=void 0);const[He,Ke]=Cn("input",{elementType:ve,externalForwardedProps:be,additionalProps:Xe,ownerState:ee}),[we,tt]=Cn("inputLabel",{elementType:Wd,externalForwardedProps:be,ownerState:ee}),[Le,dt]=Cn("htmlInput",{elementType:"input",externalForwardedProps:be,ownerState:ee}),[N,$]=Cn("formHelperText",{elementType:nl,externalForwardedProps:be,ownerState:ee}),[se,ye]=Cn("select",{elementType:Tu,externalForwardedProps:be,ownerState:ee}),ce=v.jsx(He,{"aria-describedby":de,autoComplete:s,autoFocus:a,defaultValue:p,fullWidth:H,multiline:R,name:M,rows:K,maxRows:D,minRows:k,type:_,value:E,id:ue,inputRef:O,onBlur:L,onChange:j,onFocus:B,placeholder:I,inputProps:dt,slots:{input:re.htmlInput?Le:void 0},...Ke});return v.jsxs(qE,{className:Oe(te.root,u),disabled:h,error:m,fullWidth:H,ref:n,required:J,color:f,variant:G,ownerState:ee,...X,children:[C!=null&&C!==""&&v.jsx(we,{htmlFor:ue,id:xe,...tt,children:C}),W?v.jsx(se,{"aria-describedby":de,id:ue,labelId:xe,value:E,input:ce,...ye,children:l}):ce,A&&v.jsx(N,{id:de,...$,children:A})]})}),Dn="/hub",tv="/services/japps",Ny=["Environments"],ZE=["Any","Owned by me","Shared with me"],GE=["Recently modified","Name: A-Z","Name: Z-A"],UE=["Running","Ready","Pending","Unknown"],By="startAppId";var Wl=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 QE(e,t){return typeof e=="function"?e(t):e}function xg(e){return typeof e=="number"&&e>=0&&e!==1/0}function K1(e,t){return Math.max(e+(t||0)-Date.now(),0)}function ul(e,t){return typeof e=="function"?e(t):e}function To(e,t){return typeof e=="function"?e(t):e}function qx(e,t){const{type:n="all",exact:r,fetchStatus:s,predicate:a,queryKey:l,stale:u}=e;if(l){if(r){if(t.queryHash!==Vy(l,t.options))return!1}else if(!ku(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 Zx(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(!ku(t.options.mutationKey,a))return!1}return!(r&&t.state.status!==r||s&&!s(t))}function Vy(e,t){return((t==null?void 0:t.queryKeyHashFn)||ha)(e)}function ha(e){return JSON.stringify(e,(t,n)=>wg(n)?Object.keys(n).sort().reduce((r,s)=>(r[s]=n[s],r),{}):n)}function ku(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?!Object.keys(t).some(n=>!ku(e[n],t[n])):!1}function _1(e,t){if(e===t)return e;const n=Gx(e)&&Gx(t);if(n||wg(e)&&wg(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 Hg(e,t,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?_1(e,t):t}function _E(e,t,n=0){const r=[...e,t];return n&&r.length>n?r.slice(1):r}function $E(e,t,n=0){const r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var Iy=Symbol();function $1(e,t){return!e.queryFn&&(t!=null&&t.initialPromise)?()=>t.initialPromise:!e.queryFn||e.queryFn===Iy?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}var _i,ci,dl,i0,e6=(i0=class extends Wl{constructor(){super();gt(this,_i);gt(this,ci);gt(this,dl);qe(this,dl,t=>{if(!va&&window.addEventListener){const n=()=>t();return window.addEventListener("visibilitychange",n,!1),()=>{window.removeEventListener("visibilitychange",n)}}})}onSubscribe(){Z(this,ci)||this.setEventListener(Z(this,dl))}onUnsubscribe(){var t;this.hasListeners()||((t=Z(this,ci))==null||t.call(this),qe(this,ci,void 0))}setEventListener(t){var n;qe(this,dl,t),(n=Z(this,ci))==null||n.call(this),qe(this,ci,t(r=>{typeof r=="boolean"?this.setFocused(r):this.onFocus()}))}setFocused(t){Z(this,_i)!==t&&(qe(this,_i,t),this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(n=>{n(t)})}isFocused(){var t;return typeof Z(this,_i)=="boolean"?Z(this,_i):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},_i=new WeakMap,ci=new WeakMap,dl=new WeakMap,i0),Wy=new e6,pl,ui,vl,a0,t6=(a0=class extends Wl{constructor(){super();gt(this,pl,!0);gt(this,ui);gt(this,vl);qe(this,vl,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(){Z(this,ui)||this.setEventListener(Z(this,vl))}onUnsubscribe(){var t;this.hasListeners()||((t=Z(this,ui))==null||t.call(this),qe(this,ui,void 0))}setEventListener(t){var n;qe(this,vl,t),(n=Z(this,ui))==null||n.call(this),qe(this,ui,t(this.setOnline.bind(this)))}setOnline(t){Z(this,pl)!==t&&(qe(this,pl,t),this.listeners.forEach(r=>{r(t)}))}isOnline(){return Z(this,pl)}},pl=new WeakMap,ui=new WeakMap,vl=new WeakMap,a0),mp=new t6;function jg(){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 n6(e){return Math.min(1e3*2**e,3e4)}function e2(e){return(e??"online")==="online"?mp.isOnline():!0}var t2=class extends Error{constructor(e){super("CancelledError"),this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent}};function Mm(e){return e instanceof t2}function n2(e){let t=!1,n=0,r=!1,s;const a=jg(),l=w=>{var x;r||(y(new t2(w)),(x=e.abort)==null||x.call(e))},u=()=>{t=!0},f=()=>{t=!1},p=()=>Wy.isFocused()&&(e.networkMode==="always"||mp.isOnline())&&e.canRun(),h=()=>e2(e.networkMode)&&e.canRun(),m=w=>{var x;r||(r=!0,(x=e.onSuccess)==null||x.call(e,w),s==null||s(),a.resolve(w))},y=w=>{var x;r||(r=!0,(x=e.onError)==null||x.call(e,w),s==null||s(),a.reject(w))},H=()=>new Promise(w=>{var x;s=S=>{(r||p())&&w(S)},(x=e.onPause)==null||x.call(e)}).then(()=>{var w;s=void 0,r||(w=e.onContinue)==null||w.call(e)}),A=()=>{if(r)return;let w;const x=n===0?e.initialPromise:void 0;try{w=x??e.fn()}catch(S){w=Promise.reject(S)}Promise.resolve(w).then(m).catch(S=>{var k;if(r)return;const z=e.retry??(va?0:3),O=e.retryDelay??n6,C=typeof O=="function"?O(n,S):O,D=z===!0||typeof z=="number"&&np()?void 0:H()).then(()=>{t?y(S):A()})})};return{promise:a,cancel:l,continue:()=>(s==null||s(),a),cancelRetry:u,continueRetry:f,canStart:h,start:()=>(h()?A():H().then(A),a)}}function r6(){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=r6(),$i,l0,r2=(l0=class{constructor(){gt(this,$i)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),xg(this.gcTime)&&qe(this,$i,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(va?1/0:5*60*1e3))}clearGcTimeout(){Z(this,$i)&&(clearTimeout(Z(this,$i)),qe(this,$i,void 0))}},$i=new WeakMap,l0),hl,ml,oo,or,Mu,ea,Do,js,c0,o6=(c0=class extends r2{constructor(t){super();gt(this,Do);gt(this,hl);gt(this,ml);gt(this,oo);gt(this,or);gt(this,Mu);gt(this,ea);qe(this,ea,!1),qe(this,Mu,t.defaultOptions),this.setOptions(t.options),this.observers=[],qe(this,oo,t.cache),this.queryKey=t.queryKey,this.queryHash=t.queryHash,qe(this,hl,s6(this.options)),this.state=t.state??Z(this,hl),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var t;return(t=Z(this,or))==null?void 0:t.promise}setOptions(t){this.options={...Z(this,Mu),...t},this.updateGcTime(this.options.gcTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&Z(this,oo).remove(this)}setData(t,n){const r=Hg(this.state.data,t,this.options);return zt(this,Do,js).call(this,{data:r,type:"success",dataUpdatedAt:n==null?void 0:n.updatedAt,manual:n==null?void 0:n.manual}),r}setState(t,n){zt(this,Do,js).call(this,{type:"setState",state:t,setStateOptions:n})}cancel(t){var r,s;const n=(r=Z(this,or))==null?void 0:r.promise;return(s=Z(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(Z(this,hl))}isActive(){return this.observers.some(t=>To(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===Iy||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||!K1(this.state.dataUpdatedAt,t)}onFocus(){var n;const t=this.observers.find(r=>r.shouldFetchOnWindowFocus());t==null||t.refetch({cancelRefetch:!1}),(n=Z(this,or))==null||n.continue()}onOnline(){var n;const t=this.observers.find(r=>r.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(n=Z(this,or))==null||n.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),Z(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||(Z(this,or)&&(Z(this,ea)?Z(this,or).cancel({revert:!0}):Z(this,or).cancelRetry()),this.scheduleGc()),Z(this,oo).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||zt(this,Do,js).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(Z(this,or))return Z(this,or).continueRetry(),Z(this,or).promise}if(t&&this.setOptions(t),!this.options.queryFn){const m=this.observers.find(y=>y.options.queryFn);m&&this.setOptions(m.options)}const r=new AbortController,s=m=>{Object.defineProperty(m,"signal",{enumerable:!0,get:()=>(qe(this,ea,!0),r.signal)})},a=()=>{const m=$1(this.options,n),y={queryKey:this.queryKey,meta:this.meta};return s(y),qe(this,ea,!1),this.options.persister?this.options.persister(m,y,this):m(y)},l={fetchOptions:n,options:this.options,queryKey:this.queryKey,state:this.state,fetchFn:a};s(l),(f=this.options.behavior)==null||f.onFetch(l,this),qe(this,ml,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((p=l.fetchOptions)==null?void 0:p.meta))&&zt(this,Do,js).call(this,{type:"fetch",meta:(h=l.fetchOptions)==null?void 0:h.meta});const u=m=>{var y,H,A,w;Mm(m)&&m.silent||zt(this,Do,js).call(this,{type:"error",error:m}),Mm(m)||((H=(y=Z(this,oo).config).onError)==null||H.call(y,m,this),(w=(A=Z(this,oo).config).onSettled)==null||w.call(A,this.state.data,m,this)),this.scheduleGc()};return qe(this,or,n2({initialPromise:n==null?void 0:n.initialPromise,fn:l.fetchFn,abort:r.abort.bind(r),onSuccess:m=>{var y,H,A,w;if(m===void 0){u(new Error(`${this.queryHash} data is undefined`));return}try{this.setData(m)}catch(x){u(x);return}(H=(y=Z(this,oo).config).onSuccess)==null||H.call(y,m,this),(w=(A=Z(this,oo).config).onSettled)==null||w.call(A,m,this.state.error,this),this.scheduleGc()},onError:u,onFail:(m,y)=>{zt(this,Do,js).call(this,{type:"failed",failureCount:m,error:y})},onPause:()=>{zt(this,Do,js).call(this,{type:"pause"})},onContinue:()=>{zt(this,Do,js).call(this,{type:"continue"})},retry:l.options.retry,retryDelay:l.options.retryDelay,networkMode:l.options.networkMode,canRun:()=>!0})),Z(this,or).start()}},hl=new WeakMap,ml=new WeakMap,oo=new WeakMap,or=new WeakMap,Mu=new WeakMap,ea=new WeakMap,Do=new WeakSet,js=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,...o2(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 Mm(s)&&s.revert&&Z(this,ml)?{...Z(this,ml),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()}),Z(this,oo).notify({query:this,type:"updated",action:t})})},c0);function o2(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:e2(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function s6(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 Zo,u0,i6=(u0=class extends Wl{constructor(t={}){super();gt(this,Zo);this.config=t,qe(this,Zo,new Map)}build(t,n,r){const s=n.queryKey,a=n.queryHash??Vy(s,n);let l=this.get(a);return l||(l=new o6({cache:this,queryKey:s,queryHash:a,options:t.defaultQueryOptions(n),state:r,defaultOptions:t.getQueryDefaults(s)}),this.add(l)),l}add(t){Z(this,Zo).has(t.queryHash)||(Z(this,Zo).set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const n=Z(this,Zo).get(t.queryHash);n&&(t.destroy(),n===t&&Z(this,Zo).delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){In.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return Z(this,Zo).get(t)}getAll(){return[...Z(this,Zo).values()]}find(t){const n={exact:!0,...t};return this.getAll().find(r=>qx(n,r))}findAll(t={}){const n=this.getAll();return Object.keys(t).length>0?n.filter(r=>qx(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()})})}},Zo=new WeakMap,u0),Go,dr,ta,Uo,si,f0,a6=(f0=class extends r2{constructor(t){super();gt(this,Uo);gt(this,Go);gt(this,dr);gt(this,ta);this.mutationId=t.mutationId,qe(this,dr,t.mutationCache),qe(this,Go,[]),this.state=t.state||s2(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){Z(this,Go).includes(t)||(Z(this,Go).push(t),this.clearGcTimeout(),Z(this,dr).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){qe(this,Go,Z(this,Go).filter(n=>n!==t)),this.scheduleGc(),Z(this,dr).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){Z(this,Go).length||(this.state.status==="pending"?this.scheduleGc():Z(this,dr).remove(this))}continue(){var t;return((t=Z(this,ta))==null?void 0:t.continue())??this.execute(this.state.variables)}async execute(t){var s,a,l,u,f,p,h,m,y,H,A,w,x,S,z,O,C,D,k,R;qe(this,ta,n2({fn:()=>this.options.mutationFn?this.options.mutationFn(t):Promise.reject(new Error("No mutationFn found")),onFail:(M,L)=>{zt(this,Uo,si).call(this,{type:"failed",failureCount:M,error:L})},onPause:()=>{zt(this,Uo,si).call(this,{type:"pause"})},onContinue:()=>{zt(this,Uo,si).call(this,{type:"continue"})},retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>Z(this,dr).canRun(this)}));const n=this.state.status==="pending",r=!Z(this,ta).canStart();try{if(!n){zt(this,Uo,si).call(this,{type:"pending",variables:t,isPaused:r}),await((a=(s=Z(this,dr).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&&zt(this,Uo,si).call(this,{type:"pending",context:L,variables:t,isPaused:r})}const M=await Z(this,ta).start();return await((p=(f=Z(this,dr).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((H=(y=Z(this,dr).config).onSettled)==null?void 0:H.call(y,M,null,this.state.variables,this.state.context,this)),await((w=(A=this.options).onSettled)==null?void 0:w.call(A,M,null,t,this.state.context)),zt(this,Uo,si).call(this,{type:"success",data:M}),M}catch(M){try{throw await((S=(x=Z(this,dr).config).onError)==null?void 0:S.call(x,M,t,this.state.context,this)),await((O=(z=this.options).onError)==null?void 0:O.call(z,M,t,this.state.context)),await((D=(C=Z(this,dr).config).onSettled)==null?void 0:D.call(C,void 0,M,this.state.variables,this.state.context,this)),await((R=(k=this.options).onSettled)==null?void 0:R.call(k,void 0,M,t,this.state.context)),M}finally{zt(this,Uo,si).call(this,{type:"error",error:M})}}finally{Z(this,dr).runNext(this)}}},Go=new WeakMap,dr=new WeakMap,ta=new WeakMap,Uo=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(()=>{Z(this,Go).forEach(r=>{r.onMutationUpdate(t)}),Z(this,dr).notify({mutation:this,type:"updated",action:t})})},f0);function s2(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var Wr,Lu,d0,l6=(d0=class extends Wl{constructor(t={}){super();gt(this,Wr);gt(this,Lu);this.config=t,qe(this,Wr,new Map),qe(this,Lu,Date.now())}build(t,n,r){const s=new a6({mutationCache:this,mutationId:++pd(this,Lu)._,options:t.defaultMutationOptions(n),state:r});return this.add(s),s}add(t){const n=Hd(t),r=Z(this,Wr).get(n)??[];r.push(t),Z(this,Wr).set(n,r),this.notify({type:"added",mutation:t})}remove(t){var r;const n=Hd(t);if(Z(this,Wr).has(n)){const s=(r=Z(this,Wr).get(n))==null?void 0:r.filter(a=>a!==t);s&&(s.length===0?Z(this,Wr).delete(n):Z(this,Wr).set(n,s))}this.notify({type:"removed",mutation:t})}canRun(t){var r;const n=(r=Z(this,Wr).get(Hd(t)))==null?void 0:r.find(s=>s.state.status==="pending");return!n||n===t}runNext(t){var r;const n=(r=Z(this,Wr).get(Hd(t)))==null?void 0:r.find(s=>s!==t&&s.state.isPaused);return(n==null?void 0:n.continue())??Promise.resolve()}clear(){In.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}getAll(){return[...Z(this,Wr).values()].flat()}find(t){const n={exact:!0,...t};return this.getAll().find(r=>Zx(n,r))}findAll(t={}){return this.getAll().filter(n=>Zx(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))))}},Wr=new WeakMap,Lu=new WeakMap,d0);function Hd(e){var t;return((t=e.options.scope)==null?void 0:t.id)??String(e.mutationId)}function Qx(e){return{onFetch:(t,n)=>{var h,m,y,H,A;const r=t.options,s=(y=(m=(h=t.fetchOptions)==null?void 0:h.meta)==null?void 0:m.fetchMore)==null?void 0:y.direction,a=((H=t.state.data)==null?void 0:H.pages)||[],l=((A=t.state.data)==null?void 0:A.pageParams)||[];let u={pages:[],pageParams:[]},f=0;const p=async()=>{let w=!1;const x=O=>{Object.defineProperty(O,"signal",{enumerable:!0,get:()=>(t.signal.aborted?w=!0:t.signal.addEventListener("abort",()=>{w=!0}),t.signal)})},S=$1(t.options,t.fetchOptions),z=async(O,C,D)=>{if(w)return Promise.reject();if(C==null&&O.pages.length)return Promise.resolve(O);const k={queryKey:t.queryKey,pageParam:C,direction:D?"backward":"forward",meta:t.options.meta};x(k);const R=await S(k),{maxPages:M}=t.options,L=D?$E:_E;return{pages:L(O.pages,R,M),pageParams:L(O.pageParams,C,M)}};if(s&&a.length){const O=s==="backward",C=O?c6:Kx,D={pages:a,pageParams:l},k=C(r,D);u=await z(D,k,O)}else{const O=e??a.length;do{const C=f===0?l[0]??r.initialPageParam:Kx(r,u);if(f>0&&C==null)break;u=await z(u,C),f++}while(f{var w,x;return(x=(w=t.options).persister)==null?void 0:x.call(w,p,{queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n)}:t.fetchFn=p}}}function Kx(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 c6(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 wn,fi,di,gl,yl,pi,Al,Pl,p0,u6=(p0=class{constructor(e={}){gt(this,wn);gt(this,fi);gt(this,di);gt(this,gl);gt(this,yl);gt(this,pi);gt(this,Al);gt(this,Pl);qe(this,wn,e.queryCache||new i6),qe(this,fi,e.mutationCache||new l6),qe(this,di,e.defaultOptions||{}),qe(this,gl,new Map),qe(this,yl,new Map),qe(this,pi,0)}mount(){pd(this,pi)._++,Z(this,pi)===1&&(qe(this,Al,Wy.subscribe(async e=>{e&&(await this.resumePausedMutations(),Z(this,wn).onFocus())})),qe(this,Pl,mp.subscribe(async e=>{e&&(await this.resumePausedMutations(),Z(this,wn).onOnline())})))}unmount(){var e,t;pd(this,pi)._--,Z(this,pi)===0&&((e=Z(this,Al))==null||e.call(this),qe(this,Al,void 0),(t=Z(this,Pl))==null||t.call(this),qe(this,Pl,void 0))}isFetching(e){return Z(this,wn).findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return Z(this,fi).findAll({...e,status:"pending"}).length}getQueryData(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=Z(this,wn).get(t.queryHash))==null?void 0:n.state.data}ensureQueryData(e){const t=this.getQueryData(e.queryKey);if(t===void 0)return this.fetchQuery(e);{const n=this.defaultQueryOptions(e),r=Z(this,wn).build(this,n);return e.revalidateIfStale&&r.isStaleByTime(ul(n.staleTime,r))&&this.prefetchQuery(n),Promise.resolve(t)}}getQueriesData(e){return Z(this,wn).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=Z(this,wn).get(r.queryHash),a=s==null?void 0:s.state.data,l=QE(t,a);if(l!==void 0)return Z(this,wn).build(this,r).setData(l,{...n,manual:!0})}setQueriesData(e,t,n){return In.batch(()=>Z(this,wn).findAll(e).map(({queryKey:r})=>[r,this.setQueryData(r,t,n)]))}getQueryState(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=Z(this,wn).get(t.queryHash))==null?void 0:n.state}removeQueries(e){const t=Z(this,wn);In.batch(()=>{t.findAll(e).forEach(n=>{t.remove(n)})})}resetQueries(e,t){const n=Z(this,wn),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(()=>Z(this,wn).findAll(e).map(s=>s.cancel(n)));return Promise.all(r).then(so).catch(so)}invalidateQueries(e,t={}){return In.batch(()=>{if(Z(this,wn).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(()=>Z(this,wn).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=Z(this,wn).build(this,t);return n.isStaleByTime(ul(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=Qx(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(so).catch(so)}ensureInfiniteQueryData(e){return e.behavior=Qx(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return mp.isOnline()?Z(this,fi).resumePausedMutations():Promise.resolve()}getQueryCache(){return Z(this,wn)}getMutationCache(){return Z(this,fi)}getDefaultOptions(){return Z(this,di)}setDefaultOptions(e){qe(this,di,e)}setQueryDefaults(e,t){Z(this,gl).set(ha(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...Z(this,gl).values()],n={};return t.forEach(r=>{ku(e,r.queryKey)&&Object.assign(n,r.defaultOptions)}),n}setMutationDefaults(e,t){Z(this,yl).set(ha(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...Z(this,yl).values()];let n={};return t.forEach(r=>{ku(e,r.mutationKey)&&(n={...n,...r.defaultOptions})}),n}defaultQueryOptions(e){if(e._defaulted)return e;const t={...Z(this,di).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=Vy(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===Iy&&(t.enabled=!1),t}defaultMutationOptions(e){return e!=null&&e._defaulted?e:{...Z(this,di).mutations,...(e==null?void 0:e.mutationKey)&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){Z(this,wn).clear(),Z(this,fi).clear()}},wn=new WeakMap,fi=new WeakMap,di=new WeakMap,gl=new WeakMap,yl=new WeakMap,pi=new WeakMap,Al=new WeakMap,Pl=new WeakMap,p0),Hr,Bt,Xu,pr,na,bl,vi,Qo,Nu,xl,wl,ra,oa,hi,Hl,Gt,su,Sg,zg,Og,Cg,Dg,Tg,kg,i2,v0,f6=(v0=class extends Wl{constructor(t,n){super();gt(this,Gt);gt(this,Hr);gt(this,Bt);gt(this,Xu);gt(this,pr);gt(this,na);gt(this,bl);gt(this,vi);gt(this,Qo);gt(this,Nu);gt(this,xl);gt(this,wl);gt(this,ra);gt(this,oa);gt(this,hi);gt(this,Hl,new Set);this.options=n,qe(this,Hr,t),qe(this,Qo,null),qe(this,vi,jg()),this.options.experimental_prefetchInRender||Z(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&&(Z(this,Bt).addObserver(this),_x(Z(this,Bt),this.options)?zt(this,Gt,su).call(this):this.updateResult(),zt(this,Gt,Cg).call(this))}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return Rg(Z(this,Bt),this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return Rg(Z(this,Bt),this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,zt(this,Gt,Dg).call(this),zt(this,Gt,Tg).call(this),Z(this,Bt).removeObserver(this)}setOptions(t,n){const r=this.options,s=Z(this,Bt);if(this.options=Z(this,Hr).defaultQueryOptions(t),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean"&&typeof this.options.enabled!="function"&&typeof To(this.options.enabled,Z(this,Bt))!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");zt(this,Gt,kg).call(this),Z(this,Bt).setOptions(this.options),r._defaulted&&!hp(this.options,r)&&Z(this,Hr).getQueryCache().notify({type:"observerOptionsUpdated",query:Z(this,Bt),observer:this});const a=this.hasListeners();a&&$x(Z(this,Bt),s,this.options,r)&&zt(this,Gt,su).call(this),this.updateResult(n),a&&(Z(this,Bt)!==s||To(this.options.enabled,Z(this,Bt))!==To(r.enabled,Z(this,Bt))||ul(this.options.staleTime,Z(this,Bt))!==ul(r.staleTime,Z(this,Bt)))&&zt(this,Gt,Sg).call(this);const l=zt(this,Gt,zg).call(this);a&&(Z(this,Bt)!==s||To(this.options.enabled,Z(this,Bt))!==To(r.enabled,Z(this,Bt))||l!==Z(this,hi))&&zt(this,Gt,Og).call(this,l)}getOptimisticResult(t){const n=Z(this,Hr).getQueryCache().build(Z(this,Hr),t),r=this.createResult(n,t);return p6(this,r)&&(qe(this,pr,r),qe(this,bl,this.options),qe(this,na,Z(this,Bt).state)),r}getCurrentResult(){return Z(this,pr)}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){Z(this,Hl).add(t)}getCurrentQuery(){return Z(this,Bt)}refetch({...t}={}){return this.fetch({...t})}fetchOptimistic(t){const n=Z(this,Hr).defaultQueryOptions(t),r=Z(this,Hr).getQueryCache().build(Z(this,Hr),n);return r.fetch().then(()=>this.createResult(r,n))}fetch(t){return zt(this,Gt,su).call(this,{...t,cancelRefetch:t.cancelRefetch??!0}).then(()=>(this.updateResult(),Z(this,pr)))}createResult(t,n){var M;const r=Z(this,Bt),s=this.options,a=Z(this,pr),l=Z(this,na),u=Z(this,bl),p=t!==r?t.state:Z(this,Xu),{state:h}=t;let m={...h},y=!1,H;if(n._optimisticResults){const L=this.hasListeners(),j=!L&&_x(t,n),B=L&&$x(t,r,n,s);(j||B)&&(m={...m,...o2(h.data,t.options)}),n._optimisticResults==="isRestoring"&&(m.fetchStatus="idle")}let{error:A,errorUpdatedAt:w,status:x}=m;if(n.select&&m.data!==void 0)if(a&&m.data===(l==null?void 0:l.data)&&n.select===Z(this,Nu))H=Z(this,xl);else try{qe(this,Nu,n.select),H=n.select(m.data),H=Hg(a==null?void 0:a.data,H,n),qe(this,xl,H),qe(this,Qo,null)}catch(L){qe(this,Qo,L)}else H=m.data;if(n.placeholderData!==void 0&&H===void 0&&x==="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=Z(this,wl))==null?void 0:M.state.data,Z(this,wl)):n.placeholderData,n.select&&L!==void 0)try{L=n.select(L),qe(this,Qo,null)}catch(j){qe(this,Qo,j)}L!==void 0&&(x="success",H=Hg(a==null?void 0:a.data,L,n),y=!0)}Z(this,Qo)&&(A=Z(this,Qo),H=Z(this,xl),w=Date.now(),x="error");const S=m.fetchStatus==="fetching",z=x==="pending",O=x==="error",C=z&&S,D=H!==void 0,R={status:x,fetchStatus:m.fetchStatus,isPending:z,isSuccess:x==="success",isError:O,isInitialLoading:C,isLoading:C,data:H,dataUpdatedAt:m.dataUpdatedAt,error:A,errorUpdatedAt:w,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&&!z,isLoadingError:O&&!D,isPaused:m.fetchStatus==="paused",isPlaceholderData:y,isRefetchError:O&&D,isStale:Jy(t,n),refetch:this.refetch,promise:Z(this,vi)};if(this.options.experimental_prefetchInRender){const L=I=>{R.status==="error"?I.reject(R.error):R.data!==void 0&&I.resolve(R.data)},j=()=>{const I=qe(this,vi,R.promise=jg());L(I)},B=Z(this,vi);switch(B.status){case"pending":t.queryHash===r.queryHash&&L(B);break;case"fulfilled":(R.status==="error"||R.data!==B.value)&&j();break;case"rejected":(R.status!=="error"||R.error!==B.reason)&&j();break}}return R}updateResult(t){const n=Z(this,pr),r=this.createResult(Z(this,Bt),this.options);if(qe(this,na,Z(this,Bt).state),qe(this,bl,this.options),Z(this,na).data!==void 0&&qe(this,wl,Z(this,Bt)),hp(r,n))return;qe(this,pr,r);const s={},a=()=>{if(!n)return!0;const{notifyOnChangeProps:l}=this.options,u=typeof l=="function"?l():l;if(u==="all"||!u&&!Z(this,Hl).size)return!0;const f=new Set(u??Z(this,Hl));return this.options.throwOnError&&f.add("error"),Object.keys(Z(this,pr)).some(p=>{const h=p;return Z(this,pr)[h]!==n[h]&&f.has(h)})};(t==null?void 0:t.listeners)!==!1&&a()&&(s.listeners=!0),zt(this,Gt,i2).call(this,{...s,...t})}onQueryUpdate(){this.updateResult(),this.hasListeners()&&zt(this,Gt,Cg).call(this)}},Hr=new WeakMap,Bt=new WeakMap,Xu=new WeakMap,pr=new WeakMap,na=new WeakMap,bl=new WeakMap,vi=new WeakMap,Qo=new WeakMap,Nu=new WeakMap,xl=new WeakMap,wl=new WeakMap,ra=new WeakMap,oa=new WeakMap,hi=new WeakMap,Hl=new WeakMap,Gt=new WeakSet,su=function(t){zt(this,Gt,kg).call(this);let n=Z(this,Bt).fetch(this.options,t);return t!=null&&t.throwOnError||(n=n.catch(so)),n},Sg=function(){zt(this,Gt,Dg).call(this);const t=ul(this.options.staleTime,Z(this,Bt));if(va||Z(this,pr).isStale||!xg(t))return;const r=K1(Z(this,pr).dataUpdatedAt,t)+1;qe(this,ra,setTimeout(()=>{Z(this,pr).isStale||this.updateResult()},r))},zg=function(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(Z(this,Bt)):this.options.refetchInterval)??!1},Og=function(t){zt(this,Gt,Tg).call(this),qe(this,hi,t),!(va||To(this.options.enabled,Z(this,Bt))===!1||!xg(Z(this,hi))||Z(this,hi)===0)&&qe(this,oa,setInterval(()=>{(this.options.refetchIntervalInBackground||Wy.isFocused())&&zt(this,Gt,su).call(this)},Z(this,hi)))},Cg=function(){zt(this,Gt,Sg).call(this),zt(this,Gt,Og).call(this,zt(this,Gt,zg).call(this))},Dg=function(){Z(this,ra)&&(clearTimeout(Z(this,ra)),qe(this,ra,void 0))},Tg=function(){Z(this,oa)&&(clearInterval(Z(this,oa)),qe(this,oa,void 0))},kg=function(){const t=Z(this,Hr).getQueryCache().build(Z(this,Hr),this.options);if(t===Z(this,Bt))return;const n=Z(this,Bt);qe(this,Bt,t),qe(this,Xu,t.state),this.hasListeners()&&(n==null||n.removeObserver(this),t.addObserver(this))},i2=function(t){In.batch(()=>{t.listeners&&this.listeners.forEach(n=>{n(Z(this,pr))}),Z(this,Hr).getQueryCache().notify({query:Z(this,Bt),type:"observerResultsUpdated"})})},v0);function d6(e,t){return To(t.enabled,e)!==!1&&e.state.data===void 0&&!(e.state.status==="error"&&t.retryOnMount===!1)}function _x(e,t){return d6(e,t)||e.state.data!==void 0&&Rg(e,t,t.refetchOnMount)}function Rg(e,t,n){if(To(t.enabled,e)!==!1){const r=typeof n=="function"?n(e):n;return r==="always"||r!==!1&&Jy(e,t)}return!1}function $x(e,t,n,r){return(e!==t||To(r.enabled,e)===!1)&&(!n.suspense||e.state.status!=="error")&&Jy(e,n)}function Jy(e,t){return To(t.enabled,e)!==!1&&e.isStaleByTime(ul(t.staleTime,e))}function p6(e,t){return!hp(e.getCurrentResult(),t)}var mi,gi,jr,zs,Ts,Jd,Eg,h0,v6=(h0=class extends Wl{constructor(n,r){super();gt(this,Ts);gt(this,mi);gt(this,gi);gt(this,jr);gt(this,zs);qe(this,mi,n),this.setOptions(r),this.bindMethods(),zt(this,Ts,Jd).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=Z(this,mi).defaultMutationOptions(n),hp(this.options,r)||Z(this,mi).getMutationCache().notify({type:"observerOptionsUpdated",mutation:Z(this,jr),observer:this}),r!=null&&r.mutationKey&&this.options.mutationKey&&ha(r.mutationKey)!==ha(this.options.mutationKey)?this.reset():((s=Z(this,jr))==null?void 0:s.state.status)==="pending"&&Z(this,jr).setOptions(this.options)}onUnsubscribe(){var n;this.hasListeners()||(n=Z(this,jr))==null||n.removeObserver(this)}onMutationUpdate(n){zt(this,Ts,Jd).call(this),zt(this,Ts,Eg).call(this,n)}getCurrentResult(){return Z(this,gi)}reset(){var n;(n=Z(this,jr))==null||n.removeObserver(this),qe(this,jr,void 0),zt(this,Ts,Jd).call(this),zt(this,Ts,Eg).call(this)}mutate(n,r){var s;return qe(this,zs,r),(s=Z(this,jr))==null||s.removeObserver(this),qe(this,jr,Z(this,mi).getMutationCache().build(Z(this,mi),this.options)),Z(this,jr).addObserver(this),Z(this,jr).execute(n)}},mi=new WeakMap,gi=new WeakMap,jr=new WeakMap,zs=new WeakMap,Ts=new WeakSet,Jd=function(){var r;const n=((r=Z(this,jr))==null?void 0:r.state)??s2();qe(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})},Eg=function(n){In.batch(()=>{var r,s,a,l,u,f,p,h;if(Z(this,zs)&&this.hasListeners()){const m=Z(this,gi).variables,y=Z(this,gi).context;(n==null?void 0:n.type)==="success"?((s=(r=Z(this,zs)).onSuccess)==null||s.call(r,n.data,m,y),(l=(a=Z(this,zs)).onSettled)==null||l.call(a,n.data,null,m,y)):(n==null?void 0:n.type)==="error"&&((f=(u=Z(this,zs)).onError)==null||f.call(u,n.error,m,y),(h=(p=Z(this,zs)).onSettled)==null||h.call(p,void 0,n.error,m,y))}this.listeners.forEach(m=>{m(Z(this,gi))})})},h0),a2=P.createContext(void 0),nv=e=>{const t=P.useContext(a2);if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},h6=({client:e,children:t})=>(P.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),v.jsx(a2.Provider,{value:e,children:t})),l2=P.createContext(!1),m6=()=>P.useContext(l2);l2.Provider;function g6(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}var y6=P.createContext(g6()),A6=()=>P.useContext(y6);function c2(e,t){return typeof e=="function"?e(...t):!!e}function Mg(){}var P6=(e,t)=>{(e.suspense||e.throwOnError||e.experimental_prefetchInRender)&&(t.isReset()||(e.retryOnMount=!1))},b6=e=>{P.useEffect(()=>{e.clearReset()},[e])},x6=({result:e,errorResetBoundary:t,throwOnError:n,query:r})=>e.isError&&!t.isReset()&&!e.isFetching&&r&&c2(n,[e.error,r]),w6=e=>{e.suspense&&(e.staleTime===void 0&&(e.staleTime=1e3),typeof e.gcTime=="number"&&(e.gcTime=Math.max(e.gcTime,1e3)))},H6=(e,t)=>e.isLoading&&e.isFetching&&!t,j6=(e,t)=>(e==null?void 0:e.suspense)&&t.isPending,ew=(e,t,n)=>t.fetchOptimistic(e).catch(()=>{n.clearReset()});function S6(e,t,n){var h,m,y,H,A;const r=nv(),s=m6(),a=A6(),l=r.defaultQueryOptions(e);(m=(h=r.getDefaultOptions().queries)==null?void 0:h._experimental_beforeQuery)==null||m.call(h,l),l._optimisticResults=s?"isRestoring":"optimistic",w6(l),P6(l,a),b6(a);const u=!r.getQueryCache().get(l.queryHash),[f]=P.useState(()=>new t(r,l)),p=f.getOptimisticResult(l);if(P.useSyncExternalStore(P.useCallback(w=>{const x=s?Mg:f.subscribe(In.batchCalls(w));return f.updateResult(),x},[f,s]),()=>f.getCurrentResult(),()=>f.getCurrentResult()),P.useEffect(()=>{f.setOptions(l,{listeners:!1})},[l,f]),j6(l,p))throw ew(l,f,a);if(x6({result:p,errorResetBoundary:a,throwOnError:l.throwOnError,query:r.getQueryCache().get(l.queryHash)}))throw p.error;if((H=(y=r.getDefaultOptions().queries)==null?void 0:y._experimental_afterQuery)==null||H.call(y,l,p),l.experimental_prefetchInRender&&!va&&H6(p,s)){const w=u?ew(l,f,a):(A=r.getQueryCache().get(l.queryHash))==null?void 0:A.promise;w==null||w.catch(Mg).finally(()=>{f.updateResult()})}return l.notifyOnChangeProps?p:f.trackResult(p)}function _n(e,t){return S6(e,f6)}function Ml(e,t){const n=nv(),[r]=P.useState(()=>new v6(n,e));P.useEffect(()=>{r.setOptions(e)},[r,e]);const s=P.useSyncExternalStore(P.useCallback(l=>r.subscribe(In.batchCalls(l)),[r]),()=>r.getCurrentResult(),()=>r.getCurrentResult()),a=P.useCallback((l,u)=>{r.mutate(l,u).catch(Mg)},[r]);if(s.error&&c2(r.options.throwOnError,[s.error]))throw s.error;return{...s,mutate:a,mutateAsync:s.mutate}}var jd={},tw;function z6(){if(tw)return jd;tw=1;var e=f1();return jd.createRoot=e.createRoot,jd.hydrateRoot=e.hydrateRoot,jd}var O6=z6();const C6=Op(O6);var Vc={},nw;function D6(){if(nw)return Vc;nw=1,Object.defineProperty(Vc,"__esModule",{value:!0}),Vc.parse=l,Vc.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 y=function(){};return y.prototype=Object.create(null),y})();function l(y,H){const A=new a,w=y.length;if(w<2)return A;const x=(H==null?void 0:H.decode)||h;let S=0;do{const z=y.indexOf("=",S);if(z===-1)break;const O=y.indexOf(";",S),C=O===-1?w:O;if(z>C){S=y.lastIndexOf(";",z-1)+1;continue}const D=u(y,S,z),k=f(y,z,D),R=y.slice(D,k);if(A[R]===void 0){let M=u(y,z+1,C),L=f(y,C,M);const j=x(y.slice(M,L));A[R]=j}S=C+1}while(SA;){const w=y.charCodeAt(--H);if(w!==32&&w!==9)return H+1}return A}function p(y,H,A){const w=(A==null?void 0:A.encode)||encodeURIComponent;if(!e.test(y))throw new TypeError(`argument name is invalid: ${y}`);const x=w(H);if(!t.test(x))throw new TypeError(`argument val is invalid: ${H}`);let S=y+"="+x;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(y){if(y.indexOf("%")===-1)return y;try{return decodeURIComponent(y)}catch{return y}}function m(y){return s.call(y)==="[object Date]"}return Vc}D6();/** + `:null,aD=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,oD,t)},lD=pe("span",{name:"MuiCircularProgress",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`color${me(n.color)}`]]}})(Qe(({theme:e})=>({display:"inline-block",variants:[{props:{variant:"determinate"},style:{transition:e.transitions.create("transform")}},{props:{variant:"indeterminate"},style:sD||{animation:`${gg} 1.4s linear infinite`}},...Object.entries(e.palette).filter(gn()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}}))]}))),cD=pe("svg",{name:"MuiCircularProgress",slot:"Svg",overridesResolver:(e,t)=>t.svg})({display:"block"}),uD=pe("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.circle,t[`circle${me(n.variant)}`],n.disableShrink&&t.circleDisableShrink]}})(Qe(({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:iD||{animation:`${yg} 1.4s ease-in-out infinite`}}]}))),ev=P.forwardRef(function(t,n){const r=$e({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",...y}=r,H={...r,color:a,disableShrink:l,size:u,thickness:p,value:h,variant:m},A=aD(H),w={},x={},S={};if(m==="determinate"){const z=2*Math.PI*((oi-p)/2);w.strokeDasharray=z.toFixed(3),S["aria-valuenow"]=Math.round(h),w.strokeDashoffset=`${((100-h)/100*z).toFixed(3)}px`,x.transform="rotate(-90deg)"}return v.jsx(lD,{className:Oe(A.root,s),style:{width:u,height:u,...x,...f},ownerState:H,ref:n,role:"progressbar",...S,...y,children:v.jsx(cD,{className:A.svg,ownerState:H,viewBox:`${oi/2} ${oi/2} ${oi} ${oi}`,children:v.jsx(uD,{className:A.circle,style:w,ownerState:H,cx:oi,cy:oi,r:(oi-p)/2,fill:"none",strokeWidth:p})})})});function vx(e){return e.substring(2).toLowerCase()}function fD(e,t){return t.documentElement.clientWidth(setTimeout(()=>{f.current=!0},0),()=>{f.current=!1}),[]);const h=rn(xi(t),u),m=mr(A=>{const w=p.current;p.current=!1;const x=ir(u.current);if(!f.current||!u.current||"clientX"in A&&fD(A,x))return;if(l.current){l.current=!1;return}let S;A.composedPath?S=A.composedPath().includes(u.current):S=!x.documentElement.contains(A.target)||u.current.contains(A.target),!S&&(n||!w)&&s(A)}),y=A=>w=>{p.current=!0;const x=t.props[A];x&&x(w)},H={ref:h};return a!==!1&&(H[a]=y(a)),P.useEffect(()=>{if(a!==!1){const A=vx(a),w=ir(u.current),x=()=>{l.current=!0};return w.addEventListener(A,m),w.addEventListener("touchmove",x),()=>{w.removeEventListener(A,m),w.removeEventListener("touchmove",x)}}},[m,a]),r!==!1&&(H[r]=y(r)),P.useEffect(()=>{if(r!==!1){const A=vx(r),w=ir(u.current);return w.addEventListener(A,m),()=>{w.removeEventListener(A,m)}}},[m,r]),P.cloneElement(t,H)}const Ag=typeof by({})=="function",dD=(e,t)=>({WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",boxSizing:"border-box",WebkitTextSizeAdjust:"100%",...t&&!e.vars&&{colorScheme:e.palette.mode}}),pD=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}}),T1=(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:dD(e,t),"*, *::before, *::after":{boxSizing:"inherit"},"strong, b":{fontWeight:e.typography.fontWeightBold},body:{margin:0,...pD(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},Vd="mui-ecs",vD=e=>{const t=T1(e,!1),n=Array.isArray(t)?t[0]:t;return!e.vars&&n&&(n.html[`:root:has(${Vd})`]={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(.${Vd}))`]:{colorScheme:(l=s.palette)==null?void 0:l.mode}}:n[a.replace(/\s*&/,"")]={[`&:not(:has(.${Vd}))`]:{colorScheme:(u=s.palette)==null?void 0:u.mode}}}),t},hD=by(Ag?({theme:e,enableColorScheme:t})=>T1(e,t):({theme:e})=>vD(e));function mD(e){const t=$e({props:e,name:"MuiCssBaseline"}),{children:n,enableColorScheme:r=!1}=t;return v.jsxs(P.Fragment,{children:[Ag&&v.jsx(hD,{enableColorScheme:r}),!Ag&&!r&&v.jsx("span",{className:Vd,style:{display:"none"}}),n]})}function gD(e){const t=ir(e);return t.body===e?Mo(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}function du(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function hx(e){return parseInt(Mo(e).getComputedStyle(e).paddingRight,10)||0}function yD(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 mx(e,t,n,r,s){const a=[t,n,...r];[].forEach.call(e.children,l=>{const u=!a.includes(l),f=!yD(l);u&&f&&du(l,s)})}function Dm(e,t){let n=-1;return e.some((r,s)=>t(r)?(n=s,!0):!1),n}function AD(e,t){const n=[],r=e.container;if(!t.disableScrollLock){if(gD(r)){const l=Z0(Mo(r));n.push({value:r.style.paddingRight,property:"padding-right",el:r}),r.style.paddingRight=`${hx(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=`${hx(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 PD(e){const t=[];return[].forEach.call(e.children,n=>{n.getAttribute("aria-hidden")==="true"&&t.push(n)}),t}class bD{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&&du(t.modalRef,!1);const s=PD(n);mx(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=AD(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&&du(t.modalRef,n),mx(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&&du(l.modalRef,!1)}return r}isTopModal(t){return this.modals.length>0&&this.modals[this.modals.length-1]===t}}const xD=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function wD(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 HD(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 jD(e){return!(e.disabled||e.tagName==="INPUT"&&e.type==="hidden"||HD(e))}function SD(e){const t=[],n=[];return Array.from(e.querySelectorAll(xD)).forEach((r,s)=>{const a=wD(r);a===-1||!jD(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 zD(){return!0}function OD(e){const{children:t,disableAutoFocus:n=!1,disableEnforceFocus:r=!1,disableRestoreFocus:s=!1,getTabbable:a=SD,isEnabled:l=zD,open:u}=e,f=P.useRef(!1),p=P.useRef(null),h=P.useRef(null),m=P.useRef(null),y=P.useRef(null),H=P.useRef(!1),A=P.useRef(null),w=rn(xi(t),A),x=P.useRef(null);P.useEffect(()=>{!u||!A.current||(H.current=!n)},[n,u]),P.useEffect(()=>{if(!u||!A.current)return;const O=ir(A.current);return A.current.contains(O.activeElement)||(A.current.hasAttribute("tabIndex")||A.current.setAttribute("tabIndex","-1"),H.current&&A.current.focus()),()=>{s||(m.current&&m.current.focus&&(f.current=!0,m.current.focus()),m.current=null)}},[u]),P.useEffect(()=>{if(!u||!A.current)return;const O=ir(A.current),C=R=>{x.current=R,!(r||!l()||R.key!=="Tab")&&O.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(!O.hasFocus()||!l()||f.current){f.current=!1;return}if(R.contains(O.activeElement)||r&&O.activeElement!==p.current&&O.activeElement!==h.current)return;if(O.activeElement!==y.current)y.current=null;else if(y.current!==null)return;if(!H.current)return;let M=[];if((O.activeElement===p.current||O.activeElement===h.current)&&(M=a(A.current)),M.length>0){const B=!!((L=x.current)!=null&&L.shiftKey&&((j=x.current)==null?void 0:j.key)==="Tab"),I=M[0],J=M[M.length-1];typeof I!="string"&&typeof J!="string"&&(B?J.focus():I.focus())}else R.focus()};O.addEventListener("focusin",D),O.addEventListener("keydown",C,!0);const k=setInterval(()=>{O.activeElement&&O.activeElement.tagName==="BODY"&&D()},50);return()=>{clearInterval(k),O.removeEventListener("focusin",D),O.removeEventListener("keydown",C,!0)}},[n,r,s,l,u,a]);const S=O=>{m.current===null&&(m.current=O.relatedTarget),H.current=!0,y.current=O.target;const C=t.props.onFocus;C&&C(O)},z=O=>{m.current===null&&(m.current=O.relatedTarget),H.current=!0};return v.jsxs(P.Fragment,{children:[v.jsx("div",{tabIndex:u?0:-1,onFocus:z,ref:p,"data-testid":"sentinelStart"}),P.cloneElement(t,{ref:w,onFocus:S}),v.jsx("div",{tabIndex:u?0:-1,onFocus:z,ref:h,"data-testid":"sentinelEnd"})]})}function CD(e){return typeof e=="function"?e():e}function DD(e){return e?e.props.hasOwnProperty("in"):!1}const gx=()=>{},Pd=new bD;function TD(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=P.useRef({}),y=P.useRef(null),H=P.useRef(null),A=rn(H,h),[w,x]=P.useState(!p),S=DD(u);let z=!0;(e["aria-hidden"]==="false"||e["aria-hidden"]===!1)&&(z=!1);const O=()=>ir(y.current),C=()=>(m.current.modalRef=H.current,m.current.mount=y.current,m.current),D=()=>{Pd.mount(C(),{disableScrollLock:r}),H.current&&(H.current.scrollTop=0)},k=mr(()=>{const W=CD(t)||O().body;Pd.add(C(),W),H.current&&D()}),R=()=>Pd.isTopModal(C()),M=mr(W=>{y.current=W,W&&(p&&R()?D():H.current&&du(H.current,z))}),L=P.useCallback(()=>{Pd.remove(C(),z)},[z]);P.useEffect(()=>()=>{L()},[L]),P.useEffect(()=>{p?k():(!S||!s)&&L()},[p,L,S,s,k]);const j=W=>ne=>{var re;(re=W.onKeyDown)==null||re.call(W,ne),!(ne.key!=="Escape"||ne.which===229||!R())&&(n||(ne.stopPropagation(),f&&f(ne,"escapeKeyDown")))},B=W=>ne=>{var re;(re=W.onClick)==null||re.call(W,ne),ne.target===ne.currentTarget&&f&&f(ne,"backdropClick")};return{getRootProps:(W={})=>{const ne=op(e);delete ne.onTransitionEnter,delete ne.onTransitionExited;const re={...ne,...W};return{role:"presentation",...re,onKeyDown:j(re),ref:A}},getBackdropProps:(W={})=>{const ne=W;return{"aria-hidden":!0,...ne,onClick:B(ne),open:p}},getTransitionProps:()=>{const W=()=>{x(!1),a&&a()},ne=()=>{x(!0),l&&l(),s&&L()};return{onEnter:ig(W,(u==null?void 0:u.props.onEnter)??gx),onExited:ig(ne,(u==null?void 0:u.props.onExited)??gx)}},rootRef:A,portalRef:M,isTopModal:R,exited:w,hasTransition:S}}function kD(e){return Ge("MuiModal",e)}Ue("MuiModal",["root","hidden","backdrop"]);const RD=e=>{const{open:t,exited:n,classes:r}=e;return Ke({root:["root",!t&&n&&"hidden"],backdrop:["backdrop"]},kD,r)},ED=pe("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.open&&n.exited&&t.hidden]}})(Qe(({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"}}]}))),MD=pe(S1,{name:"MuiModal",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})({zIndex:-1}),Ey=P.forwardRef(function(t,n){const r=$e({name:"MuiModal",props:t}),{BackdropComponent:s=MD,BackdropProps:a,classes:l,className:u,closeAfterTransition:f=!1,children:p,container:h,component:m,components:y={},componentsProps:H={},disableAutoFocus:A=!1,disableEnforceFocus:w=!1,disableEscapeKeyDown:x=!1,disablePortal:S=!1,disableRestoreFocus:z=!1,disableScrollLock:O=!1,hideBackdrop:C=!1,keepMounted:D=!1,onBackdropClick:k,onClose:R,onTransitionEnter:M,onTransitionExited:L,open:j,slotProps:B={},slots:I={},theme:J,...K}=r,W={...r,closeAfterTransition:f,disableAutoFocus:A,disableEnforceFocus:w,disableEscapeKeyDown:x,disablePortal:S,disableRestoreFocus:z,disableScrollLock:O,hideBackdrop:C,keepMounted:D},{getRootProps:ne,getBackdropProps:re,getTransitionProps:F,portalRef:_,isTopModal:E,exited:G,hasTransition:X}=TD({...W,rootRef:n}),ee={...W,exited:G},te=RD(ee),ue={};if(p.props.tabIndex===void 0&&(ue.tabIndex="-1"),X){const{onEnter:He,onExited:_e}=F();ue.onEnter=He,ue.onExited=_e}const de={...K,slots:{root:y.Root,backdrop:y.Backdrop,...I},slotProps:{...H,...B}},[xe,ve]=Cn("root",{elementType:ED,externalForwardedProps:de,getSlotProps:ne,additionalProps:{ref:n,as:m},ownerState:ee,className:Oe(u,te==null?void 0:te.root,!ee.open&&ee.exited&&(te==null?void 0:te.hidden))}),[be,Xe]=Cn("backdrop",{elementType:s,externalForwardedProps:de,additionalProps:a,getSlotProps:He=>re({...He,onClick:_e=>{k&&k(_e),He!=null&&He.onClick&&He.onClick(_e)}}),className:Oe(a==null?void 0:a.className,te==null?void 0:te.backdrop),ownerState:ee}),Ie=rn(a==null?void 0:a.ref,Xe.ref);return!D&&!j&&(!X||G)?null:v.jsx(w1,{ref:_,container:h,disablePortal:S,children:v.jsxs(xe,{...ve,children:[!C&&s?v.jsx(be,{...Xe,ref:Ie}):null,v.jsx(OD,{disableEnforceFocus:w,disableAutoFocus:A,disableRestoreFocus:z,isEnabled:E,open:j,children:P.cloneElement(p,ue)})]})})});function LD(e){return Ge("MuiDialog",e)}const Tm=Ue("MuiDialog",["root","scrollPaper","scrollBody","container","paper","paperScrollPaper","paperScrollBody","paperWidthFalse","paperWidthXs","paperWidthSm","paperWidthMd","paperWidthLg","paperWidthXl","paperFullWidth","paperFullScreen"]),k1=P.createContext({}),XD=pe(S1,{name:"MuiDialog",slot:"Backdrop",overrides:(e,t)=>t.backdrop})({zIndex:-1}),ND=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,LD,t)},BD=pe(Ey,{name:"MuiDialog",slot:"Root",overridesResolver:(e,t)=>t.root})({"@media print":{position:"absolute !important"}}),VD=pe("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"}}}]}),ID=pe(Ur,{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]}})(Qe(({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)`,[`&.${Tm.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}`,[`&.${Tm.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,[`&.${Tm.paperScrollBody}`]:{margin:0,maxWidth:"100%"}}}]}))),sl=P.forwardRef(function(t,n){const r=$e({props:t,name:"MuiDialog"}),s=Kr(),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:y,disableEscapeKeyDown:H=!1,fullScreen:A=!1,fullWidth:w=!1,maxWidth:x="sm",onBackdropClick:S,onClick:z,onClose:O,open:C,PaperComponent:D=Ur,PaperProps:k={},scroll:R="paper",TransitionComponent:M=j1,transitionDuration:L=a,TransitionProps:j,...B}=r,I={...r,disableEscapeKeyDown:H,fullScreen:A,fullWidth:w,maxWidth:x,scroll:R},J=ND(I),K=P.useRef(),W=_=>{K.current=_.target===_.currentTarget},ne=_=>{z&&z(_),K.current&&(K.current=null,S&&S(_),O&&O(_,"backdropClick"))},re=Rs(u),F=P.useMemo(()=>({titleId:re}),[re]);return v.jsx(BD,{className:Oe(J.root,y),closeAfterTransition:!0,components:{Backdrop:XD},componentsProps:{backdrop:{transitionDuration:L,as:p,...h}},disableEscapeKeyDown:H,onClose:O,open:C,ref:n,onClick:ne,ownerState:I,...B,children:v.jsx(M,{appear:!0,in:C,timeout:L,role:"presentation",...j,children:v.jsx(VD,{className:Oe(J.container),onMouseDown:W,ownerState:I,children:v.jsx(ID,{as:D,elevation:24,role:"dialog","aria-describedby":l,"aria-labelledby":re,"aria-modal":f,...k,className:Oe(J.paper,k.className),ownerState:I,children:v.jsx(k1.Provider,{value:F,children:m})})})})})});function WD(e){return Ge("MuiDialogActions",e)}Ue("MuiDialogActions",["root","spacing"]);const JD=e=>{const{classes:t,disableSpacing:n}=e;return Ke({root:["root",!n&&"spacing"]},WD,t)},FD=pe("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}}}]}),YD=P.forwardRef(function(t,n){const r=$e({props:t,name:"MuiDialogActions"}),{className:s,disableSpacing:a=!1,...l}=r,u={...r,disableSpacing:a},f=JD(u);return v.jsx(FD,{className:Oe(f.root,s),ownerState:u,ref:n,...l})});function qD(e){return Ge("MuiDialogContent",e)}Ue("MuiDialogContent",["root","dividers"]);function ZD(e){return Ge("MuiDialogTitle",e)}const GD=Ue("MuiDialogTitle",["root"]),UD=e=>{const{classes:t,dividers:n}=e;return Ke({root:["root",n&&"dividers"]},qD,t)},QD=pe("div",{name:"MuiDialogContent",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.dividers&&t.dividers]}})(Qe(({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:{[`.${GD.root} + &`]:{paddingTop:0}}}]}))),tu=P.forwardRef(function(t,n){const r=$e({props:t,name:"MuiDialogContent"}),{className:s,dividers:a=!1,...l}=r,u={...r,dividers:a},f=UD(u);return v.jsx(QD,{className:Oe(f.root,s),ownerState:u,ref:n,...l})}),KD=e=>{const{classes:t}=e;return Ke({root:["root"]},ZD,t)},_D=pe(xt,{name:"MuiDialogTitle",slot:"Root",overridesResolver:(e,t)=>t.root})({padding:"16px 24px",flex:"0 0 auto"}),nu=P.forwardRef(function(t,n){const r=$e({props:t,name:"MuiDialogTitle"}),{className:s,id:a,...l}=r,u=r,f=KD(u),{titleId:p=a}=P.useContext(k1);return v.jsx(_D,{component:"h2",className:Oe(f.root,s),ownerState:u,ref:n,variant:"h6",id:a??p,...l})});function $D(e){return Ge("MuiDivider",e)}const yx=Ue("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]),eT=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"]},$D,r)},tT=pe("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]}})(Qe(({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%"}}}]}))),nT=pe("span",{name:"MuiDivider",slot:"Wrapper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.wrapper,n.orientation==="vertical"&&t.wrapperVertical]}})(Qe(({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=P.forwardRef(function(t,n){const r=$e({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:y="center",variant:H="fullWidth",...A}=r,w={...r,absolute:s,component:f,flexItem:p,light:h,orientation:u,role:m,textAlign:y,variant:H},x=eT(w);return v.jsx(tT,{as:f,className:Oe(x.root,l),role:m,ref:n,ownerState:w,"aria-orientation":m==="separator"&&(f!=="hr"||u==="vertical")?u:void 0,...A,children:a?v.jsx(nT,{className:x.wrapper,ownerState:w,children:a}):null})});pa&&(pa.muiSkipListHighlight=!0);function rT(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 oT(e){return typeof e=="function"?e():e}function bd(e,t,n){const r=oT(n),s=rT(e,t,r);s&&(t.style.webkitTransform=s,t.style.transform=s)}const sT=P.forwardRef(function(t,n){const r=Kr(),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:y,onEnter:H,onEntered:A,onEntering:w,onExit:x,onExited:S,onExiting:z,style:O,timeout:C=a,TransitionComponent:D=No,...k}=t,R=P.useRef(null),M=rn(xi(f),R,n),L=F=>_=>{F&&(_===void 0?F(R.current):F(R.current,_))},j=L((F,_)=>{bd(h,F,p),Hy(F),H&&H(F,_)}),B=L((F,_)=>{const E=Cl({timeout:C,style:O,easing:m},{mode:"enter"});F.style.webkitTransition=r.transitions.create("-webkit-transform",{...E}),F.style.transition=r.transitions.create("transform",{...E}),F.style.webkitTransform="none",F.style.transform="none",w&&w(F,_)}),I=L(A),J=L(z),K=L(F=>{const _=Cl({timeout:C,style:O,easing:m},{mode:"exit"});F.style.webkitTransition=r.transitions.create("-webkit-transform",_),F.style.transition=r.transitions.create("transform",_),bd(h,F,p),x&&x(F)}),W=L(F=>{F.style.webkitTransition="",F.style.transition="",S&&S(F)}),ne=F=>{l&&l(R.current,F)},re=P.useCallback(()=>{R.current&&bd(h,R.current,p)},[h,p]);return P.useEffect(()=>{if(y||h==="down"||h==="right")return;const F=hy(()=>{R.current&&bd(h,R.current,p)}),_=Mo(R.current);return _.addEventListener("resize",F),()=>{F.clear(),_.removeEventListener("resize",F)}},[h,y,p]),P.useEffect(()=>{y||re()},[y,re]),v.jsx(D,{nodeRef:R,onEnter:j,onEntered:I,onEntering:B,onExit:K,onExited:W,onExiting:J,addEndListener:ne,appear:u,in:y,timeout:C,...k,children:(F,_)=>P.cloneElement(f,{ref:M,style:{visibility:F==="exited"&&!y?"hidden":void 0,...O,...f.props.style},..._})})});function iT(e){return Ge("MuiDrawer",e)}Ue("MuiDrawer",["root","docked","paper","paperAnchorLeft","paperAnchorRight","paperAnchorTop","paperAnchorBottom","paperAnchorDockedLeft","paperAnchorDockedRight","paperAnchorDockedTop","paperAnchorDockedBottom","modal"]);const R1=(e,t)=>{const{ownerState:n}=e;return[t.root,(n.variant==="permanent"||n.variant==="persistent")&&t.docked,t.modal]},aT=e=>{const{classes:t,anchor:n,variant:r}=e,s={root:["root"],docked:[(r==="permanent"||r==="persistent")&&"docked"],modal:["modal"],paper:["paper",`paperAnchor${me(n)}`,r!=="temporary"&&`paperAnchorDocked${me(n)}`]};return Ke(s,iT,t)},lT=pe(Ey,{name:"MuiDrawer",slot:"Root",overridesResolver:R1})(Qe(({theme:e})=>({zIndex:(e.vars||e).zIndex.drawer}))),Ax=pe("div",{shouldForwardProp:Zn,name:"MuiDrawer",slot:"Docked",skipVariantsResolver:!1,overridesResolver:R1})({flex:"0 0 auto"}),cT=pe(Ur,{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)}`]]}})(Qe(({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}`}}]}))),E1={left:"right",right:"left",top:"down",bottom:"up"};function uT(e){return["left","right"].includes(e)}function fT({direction:e},t){return e==="rtl"&&uT(t)?E1[t]:t}const dT=P.forwardRef(function(t,n){const r=$e({props:t,name:"MuiDrawer"}),s=Kr(),a=Ju(),l={enter:s.transitions.duration.enteringScreen,exit:s.transitions.duration.leavingScreen},{anchor:u="left",BackdropProps:f,children:p,className:h,elevation:m=16,hideBackdrop:y=!1,ModalProps:{BackdropProps:H,...A}={},onClose:w,open:x=!1,PaperProps:S={},SlideProps:z,TransitionComponent:O=sT,transitionDuration:C=l,variant:D="temporary",...k}=r,R=P.useRef(!1);P.useEffect(()=>{R.current=!0},[]);const M=fT({direction:a?"rtl":"ltr"},u),j={...r,anchor:u,elevation:m,open:x,variant:D,...k},B=aT(j),I=v.jsx(cT,{elevation:D==="temporary"?m:0,square:!0,...S,className:Oe(B.paper,S.className),ownerState:j,children:p});if(D==="permanent")return v.jsx(Ax,{className:Oe(B.root,B.docked,h),ownerState:j,ref:n,...k,children:I});const J=v.jsx(O,{in:x,direction:E1[M],timeout:C,appear:R.current,...z,children:I});return D==="persistent"?v.jsx(Ax,{className:Oe(B.root,B.docked,h),ownerState:j,ref:n,...k,children:J}):v.jsx(lT,{BackdropProps:{...f,...H,transitionDuration:C},className:Oe(B.root,B.modal,h),open:x,ownerState:j,onClose:w,hideBackdrop:y,ref:n,...k,...A,children:J})}),pT=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,sC,t);return{...t,...p}},vT=pe(Kp,{shouldForwardProp:e=>Zn(e)||e==="classes",name:"MuiFilledInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[...Up(e,t),!n.disableUnderline&&t.underline]}})(Qe(({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}},[`&.${Fr.focused}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:r},[`&.${Fr.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"},[`&.${Fr.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${Fr.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(.${Fr.disabled}, .${Fr.error}):before`]:{borderBottom:`1px solid ${(e.vars||e).palette.text.primary}`},[`&.${Fr.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}}]}})),hT=pe(_p,{name:"MuiFilledInput",slot:"Input",overridesResolver:Qp})(Qe(({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}}]}))),up=P.forwardRef(function(t,n){const r=$e({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:y={},type:H="text",...A}=r,w={...r,disableUnderline:s,fullWidth:u,inputComponent:p,multiline:h,type:H},x=pT(r),S={root:{ownerState:w},input:{ownerState:w}},z=m??l?qn(S,m??l):S,O=y.root??a.Root??vT,C=y.input??a.Input??hT;return v.jsx($p,{slots:{root:O,input:C},slotProps:z,fullWidth:u,inputComponent:p,multiline:h,ref:n,type:H,...A,classes:x})});up&&(up.muiName="Input");function mT(e){return Ge("MuiFormControl",e)}Ue("MuiFormControl",["root","marginNone","marginNormal","marginDense","fullWidth","disabled"]);const gT=e=>{const{classes:t,margin:n,fullWidth:r}=e,s={root:["root",n!=="none"&&`margin${me(n)}`,r&&"fullWidth"]};return Ke(s,mT,t)},yT=pe("div",{name:"MuiFormControl",slot:"Root",overridesResolver:({ownerState:e},t)=>({...t.root,...t[`margin${me(e.margin)}`],...e.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%"}}]}),ur=P.forwardRef(function(t,n){const r=$e({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:y=!1,margin:H="none",required:A=!1,size:w="medium",variant:x="outlined",...S}=r,z={...r,color:l,component:u,disabled:f,error:p,fullWidth:m,hiddenLabel:y,margin:H,required:A,size:w,variant:x},O=gT(z),[C,D]=P.useState(()=>{let J=!1;return s&&P.Children.forEach(s,K=>{if(!Nd(K,["Input","Select"]))return;const W=Nd(K,["Select"])?K.props.input:K;W&&eC(W.props)&&(J=!0)}),J}),[k,R]=P.useState(()=>{let J=!1;return s&&P.Children.forEach(s,K=>{Nd(K,["Input","Select"])&&(cp(K.props,!0)||cp(K.props.inputProps,!0))&&(J=!0)}),J}),[M,L]=P.useState(!1);f&&M&&L(!1);const j=h!==void 0&&!f?h:M;let B;P.useRef(!1);const I=P.useMemo(()=>({adornedStart:C,setAdornedStart:D,color:l,disabled:f,error:p,filled:k,focused:j,fullWidth:m,hiddenLabel:y,size:w,onBlur:()=>{L(!1)},onEmpty:()=>{R(!1)},onFilled:()=>{R(!0)},onFocus:()=>{L(!0)},registerEffect:B,required:A,variant:x}),[C,l,f,p,k,j,m,y,B,A,w,x]);return v.jsx(Gp.Provider,{value:I,children:v.jsx(yT,{as:u,ownerState:z,className:Oe(O.root,a),ref:n,...S,children:s})})});function AT(e){return Ge("MuiFormControlLabel",e)}const ru=Ue("MuiFormControlLabel",["root","labelPlacementStart","labelPlacementTop","labelPlacementBottom","disabled","label","error","required","asterisk"]),PT=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,AT,t)},bT=pe("label",{name:"MuiFormControlLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${ru.label}`]:t.label},t.root,t[`labelPlacement${me(n.labelPlacement)}`]]}})(Qe(({theme:e})=>({display:"inline-flex",alignItems:"center",cursor:"pointer",verticalAlign:"middle",WebkitTapHighlightColor:"transparent",marginLeft:-11,marginRight:16,[`&.${ru.disabled}`]:{cursor:"default"},[`& .${ru.label}`]:{[`&.${ru.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}}]}))),xT=pe("span",{name:"MuiFormControlLabel",slot:"Asterisk",overridesResolver:(e,t)=>t.asterisk})(Qe(({theme:e})=>({[`&.${ru.error}`]:{color:(e.vars||e).palette.error.main}}))),Os=P.forwardRef(function(t,n){const r=$e({props:t,name:"MuiFormControlLabel"}),{checked:s,className:a,componentsProps:l={},control:u,disabled:f,disableTypography:p,inputRef:h,label:m,labelPlacement:y="end",name:H,onChange:A,required:w,slots:x={},slotProps:S={},value:z,...O}=r,C=Bo(),D=f??u.props.disabled??(C==null?void 0:C.disabled),k=w??u.props.required,R={disabled:D,required:k};["checked","name","onChange","value","inputRef"].forEach(W=>{typeof u.props[W]>"u"&&typeof r[W]<"u"&&(R[W]=r[W])});const M=Hi({props:r,muiFormControl:C,states:["error"]}),L={...r,disabled:D,labelPlacement:y,required:k,error:M.error},j=PT(L),B={slots:x,slotProps:{...l,...S}},[I,J]=Cn("typography",{elementType:xt,externalForwardedProps:B,ownerState:L});let K=m;return K!=null&&K.type!==xt&&!p&&(K=v.jsx(I,{component:"span",...J,className:Oe(j.label,J==null?void 0:J.className),children:K})),v.jsxs(bT,{className:Oe(j.root,a),ownerState:L,ref:n,...O,children:[P.cloneElement(u,R),k?v.jsxs("div",{children:[K,v.jsxs(xT,{ownerState:L,"aria-hidden":!0,className:j.asterisk,children:[" ","*"]})]}):K]})});function wT(e){return Ge("MuiFormGroup",e)}Ue("MuiFormGroup",["root","row","error"]);const HT=e=>{const{classes:t,row:n,error:r}=e;return Ke({root:["root",n&&"row",r&&"error"]},wT,t)},jT=pe("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"}}]}),ST=P.forwardRef(function(t,n){const r=$e({props:t,name:"MuiFormGroup"}),{className:s,row:a=!1,...l}=r,u=Bo(),f=Hi({props:r,muiFormControl:u,states:["error"]}),p={...r,row:a,error:f.error},h=HT(p);return v.jsx(jT,{className:Oe(h.root,s),ownerState:p,ref:n,...l})});function zT(e){return Ge("MuiFormHelperText",e)}const Px=Ue("MuiFormHelperText",["root","error","disabled","sizeSmall","sizeMedium","contained","focused","filled","required"]);var bx;const OT=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,zT,t)},CT=pe("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]}})(Qe(({theme:e})=>({color:(e.vars||e).palette.text.secondary,...e.typography.caption,textAlign:"left",marginTop:3,marginRight:0,marginBottom:0,marginLeft:0,[`&.${Px.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${Px.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}}]}))),nl=P.forwardRef(function(t,n){const r=$e({props:t,name:"MuiFormHelperText"}),{children:s,className:a,component:l="p",disabled:u,error:f,filled:p,focused:h,margin:m,required:y,variant:H,...A}=r,w=Bo(),x=Hi({props:r,muiFormControl:w,states:["variant","size","disabled","error","filled","focused","required"]}),S={...r,component:l,contained:x.variant==="filled"||x.variant==="outlined",variant:x.variant,size:x.size,disabled:x.disabled,error:x.error,filled:x.filled,focused:x.focused,required:x.required};delete S.ownerState;const z=OT(S);return v.jsx(CT,{as:l,className:Oe(z.root,a),ref:n,...A,ownerState:S,children:s===" "?bx||(bx=v.jsx("span",{className:"notranslate","aria-hidden":!0,children:"​"})):s})});function DT(e){return Ge("MuiFormLabel",e)}const pu=Ue("MuiFormLabel",["root","colorSecondary","focused","disabled","error","filled","required","asterisk"]),TT=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,DT,t)},kT=pe("label",{name:"MuiFormLabel",slot:"Root",overridesResolver:({ownerState:e},t)=>({...t.root,...e.color==="secondary"&&t.colorSecondary,...e.filled&&t.filled})})(Qe(({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:{[`&.${pu.focused}`]:{color:(e.vars||e).palette[t].main}}})),{props:{},style:{[`&.${pu.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${pu.error}`]:{color:(e.vars||e).palette.error.main}}}]}))),RT=pe("span",{name:"MuiFormLabel",slot:"Asterisk",overridesResolver:(e,t)=>t.asterisk})(Qe(({theme:e})=>({[`&.${pu.error}`]:{color:(e.vars||e).palette.error.main}}))),Id=P.forwardRef(function(t,n){const r=$e({props:t,name:"MuiFormLabel"}),{children:s,className:a,color:l,component:u="label",disabled:f,error:p,filled:h,focused:m,required:y,...H}=r,A=Bo(),w=Hi({props:r,muiFormControl:A,states:["color","required","focused","disabled","error","filled"]}),x={...r,color:w.color||"primary",component:u,disabled:w.disabled,error:w.error,filled:w.filled,focused:w.focused,required:w.required},S=TT(x);return v.jsxs(kT,{as:u,ownerState:x,className:Oe(S.root,a),ref:n,...H,children:[s,w.required&&v.jsxs(RT,{ownerState:x,"aria-hidden":!0,className:S.asterisk,children:[" ","*"]})]})}),xx=P.createContext();function ET(e){return Ge("MuiGrid",e)}const MT=[0,1,2,3,4,5,6,7,8,9,10],LT=["column-reverse","column","row-reverse","row"],XT=["nowrap","wrap-reverse","wrap"],Ec=["auto",!0,1,2,3,4,5,6,7,8,9,10,11,12],zu=Ue("MuiGrid",["root","container","item","zeroMinWidth",...MT.map(e=>`spacing-xs-${e}`),...LT.map(e=>`direction-xs-${e}`),...XT.map(e=>`wrap-xs-${e}`),...Ec.map(e=>`grid-xs-${e}`),...Ec.map(e=>`grid-sm-${e}`),...Ec.map(e=>`grid-md-${e}`),...Ec.map(e=>`grid-lg-${e}`),...Ec.map(e=>`grid-xl-${e}`)]);function NT({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 BT({theme:e,ownerState:t}){const n=sa({values:t.direction,breakpoints:e.breakpoints.values});return Rr({theme:e},n,r=>{const s={flexDirection:r};return r.startsWith("column")&&(s[`& > .${zu.item}`]={maxWidth:"none"}),s})}function M1({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 VT({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=M1({breakpoints:e.breakpoints.values,values:a})),s=Rr({theme:e},a,(u,f)=>{const p=e.spacing(u);return p!=="0px"?{marginTop:`-${p}`,[`& > .${zu.item}`]:{paddingTop:p}}:l!=null&&l.includes(f)?{}:{marginTop:0,[`& > .${zu.item}`]:{paddingTop:0}}})}return s}function IT({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=M1({breakpoints:e.breakpoints.values,values:a})),s=Rr({theme:e},a,(u,f)=>{const p=e.spacing(u);if(p!=="0px"){const h=`-${p}`;return{width:`calc(100% + ${p})`,marginLeft:h,[`& > .${zu.item}`]:{paddingLeft:p}}}return l!=null&&l.includes(f)?{}:{width:"100%",marginLeft:0,[`& > .${zu.item}`]:{paddingLeft:0}}})}return s}function WT(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 JT=pe("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=WT(l,p,t));const m=[];return p.forEach(y=>{const H=n[y];H&&m.push(t[`grid-${y}-${String(H)}`])}),[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}}),BT,VT,IT,NT);function FT(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 YT=e=>{const{classes:t,container:n,direction:r,item:s,spacing:a,wrap:l,zeroMinWidth:u,breakpoints:f}=e;let p=[];n&&(p=FT(a,f));const h=[];f.forEach(y=>{const H=e[y];H&&h.push(`grid-${y}-${String(H)}`)});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,ET,t)},ss=P.forwardRef(function(t,n){const r=$e({props:t,name:"MuiGrid"}),{breakpoints:s}=Kr(),a=Jp(r),{className:l,columns:u,columnSpacing:f,component:p="div",container:h=!1,direction:m="row",item:y=!1,rowSpacing:H,spacing:A=0,wrap:w="wrap",zeroMinWidth:x=!1,...S}=a,z=H||A,O=f||A,C=P.useContext(xx),D=h?u||12:C,k={},R={...S};s.keys.forEach(j=>{S[j]!=null&&(k[j]=S[j],delete R[j])});const M={...a,columns:D,container:h,direction:m,item:y,rowSpacing:z,columnSpacing:O,wrap:w,zeroMinWidth:x,spacing:A,...k,breakpoints:s.keys},L=YT(M);return v.jsx(xx.Provider,{value:D,children:v.jsx(JT,{ownerState:M,className:Oe(L.root,l),as:p,ref:n,...R})})});function Pg(e){return`scale(${e}, ${e**2})`}const qT={entering:{opacity:1,transform:Pg(1)},entered:{opacity:1,transform:"none"}},km=typeof navigator<"u"&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),Ou=P.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:y,onExiting:H,style:A,timeout:w="auto",TransitionComponent:x=No,...S}=t,z=Gi(),O=P.useRef(),C=Kr(),D=P.useRef(null),k=rn(D,xi(a),n),R=W=>ne=>{if(W){const re=D.current;ne===void 0?W(re):W(re,ne)}},M=R(h),L=R((W,ne)=>{Hy(W);const{duration:re,delay:F,easing:_}=Cl({style:A,timeout:w,easing:l},{mode:"enter"});let E;w==="auto"?(E=C.transitions.getAutoHeightDuration(W.clientHeight),O.current=E):E=re,W.style.transition=[C.transitions.create("opacity",{duration:E,delay:F}),C.transitions.create("transform",{duration:km?E:E*.666,delay:F,easing:_})].join(","),f&&f(W,ne)}),j=R(p),B=R(H),I=R(W=>{const{duration:ne,delay:re,easing:F}=Cl({style:A,timeout:w,easing:l},{mode:"exit"});let _;w==="auto"?(_=C.transitions.getAutoHeightDuration(W.clientHeight),O.current=_):_=ne,W.style.transition=[C.transitions.create("opacity",{duration:_,delay:re}),C.transitions.create("transform",{duration:km?_:_*.666,delay:km?re:re||_*.333,easing:F})].join(","),W.style.opacity=0,W.style.transform=Pg(.75),m&&m(W)}),J=R(y),K=W=>{w==="auto"&&z.start(O.current||0,W),r&&r(D.current,W)};return v.jsx(x,{appear:s,in:u,nodeRef:D,onEnter:L,onEntered:j,onEntering:M,onExit:I,onExited:J,onExiting:B,addEndListener:K,timeout:w==="auto"?null:w,...S,children:(W,ne)=>P.cloneElement(a,{style:{opacity:0,transform:Pg(.75),visibility:W==="exited"&&!u?"hidden":void 0,...qT[W],...A,...a.props.style},ref:k,...ne})})});Ou&&(Ou.muiSupportAuto=!0);const ZT=rj({themeId:Ro}),GT=e=>{const{classes:t,disableUnderline:n}=e,s=Ke({root:["root",!n&&"underline"],input:["input"]},rC,t);return{...t,...s}},UT=pe(Kp,{shouldForwardProp:e=>Zn(e)||e==="classes",name:"MuiInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[...Up(e,t),!n.disableUnderline&&t.underline]}})(Qe(({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}`}}}))]}})),QT=pe(_p,{name:"MuiInput",slot:"Input",overridesResolver:Qp})({}),fp=P.forwardRef(function(t,n){const r=$e({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:y="text",...H}=r,A=GT(r),x={root:{ownerState:{disableUnderline:s}}},S=h??l?qn(h??l,x):x,z=m.root??a.Root??UT,O=m.input??a.Input??QT;return v.jsx($p,{slots:{root:z,input:O},slotProps:S,fullWidth:u,inputComponent:f,multiline:p,ref:n,type:y,...H,classes:A})});fp&&(fp.muiName="Input");function KT(e){return Ge("MuiInputAdornment",e)}const wx=Ue("MuiInputAdornment",["root","filled","standard","outlined","positionStart","positionEnd","disablePointerEvents","hiddenLabel","sizeSmall"]);var Hx;const _T=(e,t)=>{const{ownerState:n}=e;return[t.root,t[`position${me(n.position)}`],n.disablePointerEvents===!0&&t.disablePointerEvents,t[n.variant]]},$T=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,KT,t)},ek=pe("div",{name:"MuiInputAdornment",slot:"Root",overridesResolver:_T})(Qe(({theme:e})=>({display:"flex",maxHeight:"2em",alignItems:"center",whiteSpace:"nowrap",color:(e.vars||e).palette.action.active,variants:[{props:{variant:"filled"},style:{[`&.${wx.positionStart}&:not(.${wx.hiddenLabel})`]:{marginTop:16}}},{props:{position:"start"},style:{marginRight:8}},{props:{position:"end"},style:{marginLeft:8}},{props:{disablePointerEvents:!0},style:{pointerEvents:"none"}}]}))),L1=P.forwardRef(function(t,n){const r=$e({props:t,name:"MuiInputAdornment"}),{children:s,className:a,component:l="div",disablePointerEvents:u=!1,disableTypography:f=!1,position:p,variant:h,...m}=r,y=Bo()||{};let H=h;h&&y.variant,y&&!H&&(H=y.variant);const A={...r,hiddenLabel:y.hiddenLabel,size:y.size,disablePointerEvents:u,position:p,variant:H},w=$T(A);return v.jsx(Gp.Provider,{value:null,children:v.jsx(ek,{as:l,ownerState:A,className:Oe(w.root,a),ref:n,...m,children:typeof s=="string"&&!f?v.jsx(xt,{color:"textSecondary",children:s}):v.jsxs(P.Fragment,{children:[p==="start"?Hx||(Hx=v.jsx("span",{className:"notranslate","aria-hidden":!0,children:"​"})):null,s]})})})});function tk(e){return Ge("MuiInputLabel",e)}Ue("MuiInputLabel",["root","focused","disabled","error","required","asterisk","formControl","sizeSmall","shrink","animated","standard","filled","outlined"]);const nk=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,tk,t);return{...t,...p}},rk=pe(Id,{shouldForwardProp:e=>Zn(e)||e==="classes",name:"MuiInputLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${pu.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]]}})(Qe(({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)"}}]}))),Wd=P.forwardRef(function(t,n){const r=$e({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 y=Hi({props:r,muiFormControl:h,states:["size","variant","required","focused"]}),H={...r,disableAnimation:s,formControl:h,shrink:m,size:y.size,variant:y.variant,required:y.required,focused:y.focused},A=nk(H);return v.jsx(rk,{"data-shrink":m,ref:n,className:Oe(A.root,f),...p,ownerState:H,classes:A})});function ok(e){return Ge("MuiLink",e)}const sk=Ue("MuiLink",["root","underlineNone","underlineHover","underlineAlways","button","focusVisible"]),ik=({theme:e,ownerState:t})=>{const n=t.color,r=Sl(e,`palette.${n}`,!1)||t.color,s=Sl(e,`palette.${n}Channel`);return"vars"in e&&s?`rgba(${s} / 0.4)`:Pt(r,.4)},jx={primary:!0,secondary:!0,error:!0,info:!0,success:!0,warning:!0,textPrimary:!0,textSecondary:!0,textDisabled:!0},ak=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,ok,t)},lk=pe(xt,{name:"MuiLink",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`underline${me(n.underline)}`],n.component==="button"&&t.button]}})(Qe(({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)`: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"},[`&.${sk.focusVisible}`]:{outline:"auto"}}}]}))),ou=P.forwardRef(function(t,n){const r=$e({props:t,name:"MuiLink"}),s=Kr(),{className:a,color:l="primary",component:u="a",onBlur:f,onFocus:p,TypographyClasses:h,underline:m="always",variant:y="inherit",sx:H,...A}=r,[w,x]=P.useState(!1),S=D=>{Ol(D.target)||x(!1),f&&f(D)},z=D=>{Ol(D.target)&&x(!0),p&&p(D)},O={...r,color:l,component:u,focusVisible:w,underline:m,variant:y},C=ak(O);return v.jsx(lk,{color:l,className:Oe(C.root,a),classes:h,component:u,onBlur:S,onFocus:z,ref:n,ownerState:O,variant:y,...A,sx:[...jx[l]===void 0?[{color:l}]:[],...Array.isArray(H)?H:[H]],style:{...A.style,...m==="always"&&l!=="inherit"&&!jx[l]&&{"--Link-underlineColor":ik({theme:s,ownerState:O})}}})}),Eo=P.createContext({});function ck(e){return Ge("MuiList",e)}Ue("MuiList",["root","padding","dense","subheader"]);const uk=e=>{const{classes:t,disablePadding:n,dense:r,subheader:s}=e;return Ke({root:["root",!n&&"padding",r&&"dense",s&&"subheader"]},ck,t)},fk=pe("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}}]}),bg=P.forwardRef(function(t,n){const r=$e({props:t,name:"MuiList"}),{children:s,className:a,component:l="ul",dense:u=!1,disablePadding:f=!1,subheader:p,...h}=r,m=P.useMemo(()=>({dense:u}),[u]),y={...r,component:l,dense:u,disablePadding:f},H=uk(y);return v.jsx(Eo.Provider,{value:m,children:v.jsxs(fk,{as:l,className:Oe(H.root,a),ref:n,ownerState:y,...h,children:[p,s]})})});function dk(e){return Ge("MuiListItem",e)}Ue("MuiListItem",["root","container","dense","alignItemsFlexStart","divider","gutters","padding","secondaryAction"]);function pk(e){return Ge("MuiListItemButton",e)}const rl=Ue("MuiListItemButton",["root","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","selected"]),vk=(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]},hk=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"]},pk,n);return{...n,...p}},mk=pe(fa,{shouldForwardProp:e=>Zn(e)||e==="classes",name:"MuiListItemButton",slot:"Root",overridesResolver:vk})(Qe(({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"}},[`&.${rl.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Pt(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${rl.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)}},[`&.${rl.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)}},[`&.${rl.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${rl.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}}]}))),X1=P.forwardRef(function(t,n){const r=$e({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:y=!1,className:H,...A}=r,w=P.useContext(Eo),x=P.useMemo(()=>({dense:f||w.dense||!1,alignItems:s,disableGutters:p}),[s,w.dense,f,p]),S=P.useRef(null);fo(()=>{a&&S.current&&S.current.focus()},[a]);const z={...r,alignItems:s,dense:x.dense,disableGutters:p,divider:h,selected:y},O=hk(z),C=rn(S,n);return v.jsx(Eo.Provider,{value:x,children:v.jsx(mk,{ref:C,href:A.href||A.to,component:(A.href||A.to)&&l==="div"?"button":l,focusVisibleClassName:Oe(O.focusVisible,m),ownerState:z,className:Oe(O.root,H),...A,classes:O,children:u})})});function gk(e){return Ge("MuiListItemSecondaryAction",e)}Ue("MuiListItemSecondaryAction",["root","disableGutters"]);const yk=e=>{const{disableGutters:t,classes:n}=e;return Ke({root:["root",t&&"disableGutters"]},gk,n)},Ak=pe("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}}]}),N1=P.forwardRef(function(t,n){const r=$e({props:t,name:"MuiListItemSecondaryAction"}),{className:s,...a}=r,l=P.useContext(Eo),u={...r,disableGutters:l.disableGutters},f=yk(u);return v.jsx(Ak,{className:Oe(f.root,s),ownerState:u,ref:n,...a})});N1.muiName="ListItemSecondaryAction";const Pk=(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]},bk=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"]},dk,n)},xk=pe("div",{name:"MuiListItem",slot:"Root",overridesResolver:Pk})(Qe(({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:{[`& > .${rl.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}}]}))),wk=pe("li",{name:"MuiListItem",slot:"Container",overridesResolver:(e,t)=>t.container})({position:"relative"}),Mc=P.forwardRef(function(t,n){const r=$e({props:t,name:"MuiListItem"}),{alignItems:s="center",children:a,className:l,component:u,components:f={},componentsProps:p={},ContainerComponent:h="li",ContainerProps:{className:m,...y}={},dense:H=!1,disableGutters:A=!1,disablePadding:w=!1,divider:x=!1,secondaryAction:S,slotProps:z={},slots:O={},...C}=r,D=P.useContext(Eo),k=P.useMemo(()=>({dense:H||D.dense||!1,alignItems:s,disableGutters:A}),[s,D.dense,H,A]),R=P.useRef(null),M=P.Children.toArray(a),L=M.length&&Nd(M[M.length-1],["ListItemSecondaryAction"]),j={...r,alignItems:s,dense:k.dense,disableGutters:A,disablePadding:w,divider:x,hasSecondaryAction:L},B=bk(j),I=rn(R,n),J=O.root||f.Root||xk,K=z.root||p.root||{},W={className:Oe(B.root,K.className,l),...C};let ne=u||"li";return L?(ne=!W.component&&!u?"div":ne,h==="li"&&(ne==="li"?ne="div":W.component==="li"&&(W.component="div")),v.jsx(Eo.Provider,{value:k,children:v.jsxs(wk,{as:h,className:Oe(B.container,m),ref:I,ownerState:j,...y,children:[v.jsx(J,{...K,...!El(J)&&{as:ne,ownerState:{...j,...K.ownerState}},...W,children:M}),M.pop()]})})):v.jsx(Eo.Provider,{value:k,children:v.jsxs(J,{...K,as:ne,ref:I,...!El(J)&&{ownerState:{...j,...K.ownerState}},...W,children:[M,S&&v.jsx(N1,{children:S})]})})});function Hk(e){return Ge("MuiListItemIcon",e)}const Sx=Ue("MuiListItemIcon",["root","alignItemsFlexStart"]),jk=e=>{const{alignItems:t,classes:n}=e;return Ke({root:["root",t==="flex-start"&&"alignItemsFlexStart"]},Hk,n)},Sk=pe("div",{name:"MuiListItemIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.alignItems==="flex-start"&&t.alignItemsFlexStart]}})(Qe(({theme:e})=>({minWidth:56,color:(e.vars||e).palette.action.active,flexShrink:0,display:"inline-flex",variants:[{props:{alignItems:"flex-start"},style:{marginTop:8}}]}))),zk=P.forwardRef(function(t,n){const r=$e({props:t,name:"MuiListItemIcon"}),{className:s,...a}=r,l=P.useContext(Eo),u={...r,alignItems:l.alignItems},f=jk(u);return v.jsx(Sk,{className:Oe(f.root,s),ownerState:u,ref:n,...a})});function Ok(e){return Ge("MuiListItemText",e)}const il=Ue("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]),Ck=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"]},Ok,t)},Dk=pe("div",{name:"MuiListItemText",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${il.primary}`]:t.primary},{[`& .${il.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,[`.${Z8.root}:where(& .${il.primary})`]:{display:"block"},[`.${Z8.root}:where(& .${il.secondary})`]:{display:"block"},variants:[{props:({ownerState:e})=>e.primary&&e.secondary,style:{marginTop:6,marginBottom:6}},{props:({ownerState:e})=>e.inset,style:{paddingLeft:56}}]}),al=P.forwardRef(function(t,n){const r=$e({props:t,name:"MuiListItemText"}),{children:s,className:a,disableTypography:l=!1,inset:u=!1,primary:f,primaryTypographyProps:p,secondary:h,secondaryTypographyProps:m,...y}=r,{dense:H}=P.useContext(Eo);let A=f??s,w=h;const x={...r,disableTypography:l,inset:u,primary:!!A,secondary:!!w,dense:H},S=Ck(x);return A!=null&&A.type!==xt&&!l&&(A=v.jsx(xt,{variant:H?"body2":"body1",className:S.primary,component:p!=null&&p.variant?void 0:"span",...p,children:A})),w!=null&&w.type!==xt&&!l&&(w=v.jsx(xt,{variant:"body2",className:S.secondary,color:"textSecondary",...m,children:w})),v.jsxs(Dk,{className:Oe(S.root,a),ownerState:x,ref:n,...y,children:[A,w]})});function Rm(e,t,n){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:n?null:e.firstChild}function zx(e,t,n){return e===t?n?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:n?null:e.lastChild}function B1(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 Lc(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")||!B1(u,a)||f)u=s(e,u,n);else return u.focus(),!0}return!1}const Tk=P.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",...y}=t,H=P.useRef(null),A=P.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});fo(()=>{s&&H.current.focus()},[s]),P.useImperativeHandle(r,()=>({adjustStyleForScrollbar:(O,{direction:C})=>{const D=!H.current.style.width;if(O.clientHeight{const C=H.current,D=O.key;if(O.ctrlKey||O.metaKey||O.altKey){h&&h(O);return}const R=ir(C).activeElement;if(D==="ArrowDown")O.preventDefault(),Lc(C,R,p,f,Rm);else if(D==="ArrowUp")O.preventDefault(),Lc(C,R,p,f,zx);else if(D==="Home")O.preventDefault(),Lc(C,null,p,f,Rm);else if(D==="End")O.preventDefault(),Lc(C,null,p,f,zx);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 B=R&&!M.repeating&&B1(R,M);M.previousKeyMatched&&(B||Lc(C,R,!1,f,Rm,M))?O.preventDefault():M.previousKeyMatched=!1}h&&h(O)},x=rn(H,n);let S=-1;P.Children.forEach(l,(O,C)=>{if(!P.isValidElement(O)){S===C&&(S+=1,S>=l.length&&(S=-1));return}O.props.disabled||(m==="selectedMenu"&&O.props.selected||S===-1)&&(S=C),S===C&&(O.props.disabled||O.props.muiSkipListHighlight||O.type.muiSkipListHighlight)&&(S+=1,S>=l.length&&(S=-1))});const z=P.Children.map(l,(O,C)=>{if(C===S){const D={};return a&&(D.autoFocus=!0),O.props.tabIndex===void 0&&m==="selectedMenu"&&(D.tabIndex=0),P.cloneElement(O,D)}return O});return v.jsx(bg,{role:"menu",ref:x,className:u,onKeyDown:w,tabIndex:s?0:-1,...y,children:z})});function kk(e){return Ge("MuiPopover",e)}Ue("MuiPopover",["root","paper"]);function Ox(e,t){let n=0;return typeof t=="number"?n=t:t==="center"?n=e.height/2:t==="bottom"&&(n=e.height),n}function Cx(e,t){let n=0;return typeof t=="number"?n=t:t==="center"?n=e.width/2:t==="right"&&(n=e.width),n}function Dx(e){return[e.horizontal,e.vertical].map(t=>typeof t=="number"?`${t}px`:t).join(" ")}function Em(e){return typeof e=="function"?e():e}const Rk=e=>{const{classes:t}=e;return Ke({root:["root"],paper:["paper"]},kk,t)},Ek=pe(Ey,{name:"MuiPopover",slot:"Root",overridesResolver:(e,t)=>t.root})({}),V1=pe(Ur,{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}),Mk=P.forwardRef(function(t,n){const r=$e({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:y=8,marginThreshold:H=16,open:A,PaperProps:w={},slots:x={},slotProps:S={},transformOrigin:z={vertical:"top",horizontal:"left"},TransitionComponent:O=Ou,transitionDuration:C="auto",TransitionProps:{onEntering:D,...k}={},disableScrollLock:R=!1,...M}=r,L=(S==null?void 0:S.paper)??w,j=P.useRef(),B={...r,anchorOrigin:l,anchorReference:f,elevation:y,marginThreshold:H,externalPaperSlotProps:L,transformOrigin:z,TransitionComponent:O,transitionDuration:C,TransitionProps:k},I=Rk(B),J=P.useCallback(()=>{if(f==="anchorPosition")return u;const Xe=Em(a),He=(Xe&&Xe.nodeType===1?Xe:ir(j.current).body).getBoundingClientRect();return{top:He.top+Ox(He,l.vertical),left:He.left+Cx(He,l.horizontal)}},[a,l.horizontal,l.vertical,u,f]),K=P.useCallback(Xe=>({vertical:Ox(Xe,z.vertical),horizontal:Cx(Xe,z.horizontal)}),[z.horizontal,z.vertical]),W=P.useCallback(Xe=>{const Ie={width:Xe.offsetWidth,height:Xe.offsetHeight},He=K(Ie);if(f==="none")return{top:null,left:null,transformOrigin:Dx(He)};const _e=J();let we=_e.top-He.vertical,tt=_e.left-He.horizontal;const Le=we+Ie.height,dt=tt+Ie.width,N=Mo(Em(a)),$=N.innerHeight-H,se=N.innerWidth-H;if(H!==null&&we$){const ye=Le-$;we-=ye,He.vertical+=ye}if(H!==null&&ttse){const ye=dt-se;tt-=ye,He.horizontal+=ye}return{top:`${Math.round(we)}px`,left:`${Math.round(tt)}px`,transformOrigin:Dx(He)}},[a,f,J,K,H]),[ne,re]=P.useState(A),F=P.useCallback(()=>{const Xe=j.current;if(!Xe)return;const Ie=W(Xe);Ie.top!==null&&Xe.style.setProperty("top",Ie.top),Ie.left!==null&&(Xe.style.left=Ie.left),Xe.style.transformOrigin=Ie.transformOrigin,re(!0)},[W]);P.useEffect(()=>(R&&window.addEventListener("scroll",F),()=>window.removeEventListener("scroll",F)),[a,R,F]);const _=(Xe,Ie)=>{D&&D(Xe,Ie),F()},E=()=>{re(!1)};P.useEffect(()=>{A&&F()}),P.useImperativeHandle(s,()=>A?{updatePosition:()=>{F()}}:null,[A,F]),P.useEffect(()=>{if(!A)return;const Xe=hy(()=>{F()}),Ie=Mo(a);return Ie.addEventListener("resize",Xe),()=>{Xe.clear(),Ie.removeEventListener("resize",Xe)}},[a,A,F]);let G=C;C==="auto"&&!O.muiSupportAuto&&(G=void 0);const X=m||(a?ir(Em(a)).body:void 0),ee={slots:x,slotProps:{...S,paper:L}},[te,ue]=Cn("paper",{elementType:V1,externalForwardedProps:ee,additionalProps:{elevation:y,className:Oe(I.paper,L==null?void 0:L.className),style:ne?L.style:{...L.style,opacity:0}},ownerState:B}),[de,{slotProps:xe,...ve}]=Cn("root",{elementType:Ek,externalForwardedProps:ee,additionalProps:{slotProps:{backdrop:{invisible:!0}},container:X,open:A},ownerState:B,className:Oe(I.root,h)}),be=rn(j,ue.ref);return v.jsx(de,{...ve,...!El(de)&&{slotProps:xe,disableScrollLock:R},...M,ref:n,children:v.jsx(O,{appear:!0,in:A,onEntering:_,onExited:E,timeout:G,...k,children:v.jsx(te,{...ue,ref:be,children:p})})})});function Lk(e){return Ge("MuiMenu",e)}Ue("MuiMenu",["root","paper","list"]);const Xk={vertical:"top",horizontal:"right"},Nk={vertical:"top",horizontal:"left"},Bk=e=>{const{classes:t}=e;return Ke({root:["root"],paper:["paper"],list:["list"]},Lk,t)},Vk=pe(Mk,{shouldForwardProp:e=>Zn(e)||e==="classes",name:"MuiMenu",slot:"Root",overridesResolver:(e,t)=>t.root})({}),Ik=pe(V1,{name:"MuiMenu",slot:"Paper",overridesResolver:(e,t)=>t.paper})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),Wk=pe(Tk,{name:"MuiMenu",slot:"List",overridesResolver:(e,t)=>t.list})({outline:0}),Cu=P.forwardRef(function(t,n){const r=$e({props:t,name:"MuiMenu"}),{autoFocus:s=!0,children:a,className:l,disableAutoFocusItem:u=!1,MenuListProps:f={},onClose:p,open:h,PaperProps:m={},PopoverClasses:y,transitionDuration:H="auto",TransitionProps:{onEntering:A,...w}={},variant:x="selectedMenu",slots:S={},slotProps:z={},...O}=r,C=Ju(),D={...r,autoFocus:s,disableAutoFocusItem:u,MenuListProps:f,onEntering:A,PaperProps:m,transitionDuration:H,TransitionProps:w,variant:x},k=Bk(D),R=s&&!u&&h,M=P.useRef(null),L=(ne,re)=>{M.current&&M.current.adjustStyleForScrollbar(ne,{direction:C?"rtl":"ltr"}),A&&A(ne,re)},j=ne=>{ne.key==="Tab"&&(ne.preventDefault(),p&&p(ne,"tabKeyDown"))};let B=-1;P.Children.map(a,(ne,re)=>{P.isValidElement(ne)&&(ne.props.disabled||(x==="selectedMenu"&&ne.props.selected||B===-1)&&(B=re))});const I=S.paper??Ik,J=z.paper??m,K=sp({elementType:S.root,externalSlotProps:z.root,ownerState:D,className:[k.root,l]}),W=sp({elementType:I,externalSlotProps:J,ownerState:D,className:k.paper});return v.jsx(Vk,{onClose:p,anchorOrigin:{vertical:"bottom",horizontal:C?"right":"left"},transformOrigin:C?Xk:Nk,slots:{paper:I,root:S.root},slotProps:{root:K,paper:W},open:h,ref:n,transitionDuration:H,TransitionProps:{onEntering:L,...w},ownerState:D,...O,classes:y,children:v.jsx(Wk,{onKeyDown:j,actions:M,autoFocus:s&&(B===-1||u),autoFocusItem:R,variant:x,...f,className:Oe(k.list,f.className),children:a})})});function Jk(e){return Ge("MuiMenuItem",e)}const Xc=Ue("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]),Fk=(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,n.divider&&t.divider,!n.disableGutters&&t.gutters]},Yk=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"]},Jk,l);return{...l,...f}},qk=pe(fa,{shouldForwardProp:e=>Zn(e)||e==="classes",name:"MuiMenuItem",slot:"Root",overridesResolver:Fk})(Qe(({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"}},[`&.${Xc.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Pt(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${Xc.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)}},[`&.${Xc.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)}},[`&.${Xc.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${Xc.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`& + .${yx.root}`]:{marginTop:e.spacing(1),marginBottom:e.spacing(1)},[`& + .${yx.inset}`]:{marginLeft:52},[`& .${il.root}`]:{marginTop:0,marginBottom:0},[`& .${il.inset}`]:{paddingLeft:36},[`& .${Sx.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,[`& .${Sx.root} svg`]:{fontSize:"1.25rem"}}}]}))),ts=P.forwardRef(function(t,n){const r=$e({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:y,...H}=r,A=P.useContext(Eo),w=P.useMemo(()=>({dense:l||A.dense||!1,disableGutters:f}),[A.dense,l,f]),x=P.useRef(null);fo(()=>{s&&x.current&&x.current.focus()},[s]);const S={...r,dense:w.dense,divider:u,disableGutters:f},z=Yk(r),O=rn(x,n);let C;return r.disabled||(C=m!==void 0?m:-1),v.jsx(Eo.Provider,{value:w,children:v.jsx(qk,{ref:O,role:h,tabIndex:C,component:a,focusVisibleClassName:Oe(z.focusVisible,p),className:Oe(z.root,y),...H,ownerState:S,classes:z})})});function Zk(e){return Ge("MuiNativeSelect",e)}const My=Ue("MuiNativeSelect",["root","select","multiple","filled","outlined","standard","disabled","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]),Gk=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,Zk,t)},I1=pe("select")(({theme:e})=>({MozAppearance:"none",WebkitAppearance:"none",userSelect:"none",borderRadius:0,cursor:"pointer","&:focus":{borderRadius:0},[`&.${My.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}}}]})),Uk=pe(I1,{name:"MuiNativeSelect",slot:"Select",shouldForwardProp:Zn,overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.select,t[n.variant],n.error&&t.error,{[`&.${My.multiple}`]:t.multiple}]}})({}),W1=pe("svg")(({theme:e})=>({position:"absolute",right:0,top:"calc(50% - .5em)",pointerEvents:"none",color:(e.vars||e).palette.action.active,[`&.${My.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}}]})),Qk=pe(W1,{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]}})({}),Kk=P.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=Gk(h);return v.jsxs(P.Fragment,{children:[v.jsx(Uk,{ownerState:h,className:Oe(m.select,r),disabled:s,ref:u||n,...p}),t.multiple?null:v.jsx(Qk,{as:l,ownerState:h,className:m.icon})]})});var Tx;const _k=pe("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%"}),$k=pe("legend",{shouldForwardProp:Zn})(Qe(({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 eR(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(_k,{"aria-hidden":!0,className:r,ownerState:f,...l,children:v.jsx($k,{ownerState:f,children:u?v.jsx("span",{children:s}):Tx||(Tx=v.jsx("span",{className:"notranslate","aria-hidden":!0,children:"​"}))})})}const tR=e=>{const{classes:t}=e,r=Ke({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},oC,t);return{...t,...r}},nR=pe(Kp,{shouldForwardProp:e=>Zn(e)||e==="classes",name:"MuiOutlinedInput",slot:"Root",overridesResolver:Up})(Qe(({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 .${oo.notchedOutline}`]:{borderColor:(e.vars||e).palette.text.primary},"@media (hover: none)":{[`&:hover .${oo.notchedOutline}`]:{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:t}},[`&.${oo.focused} .${oo.notchedOutline}`]:{borderWidth:2},variants:[...Object.entries(e.palette).filter(gn()).map(([n])=>({props:{color:n},style:{[`&.${oo.focused} .${oo.notchedOutline}`]:{borderColor:(e.vars||e).palette[n].main}}})),{props:{},style:{[`&.${oo.error} .${oo.notchedOutline}`]:{borderColor:(e.vars||e).palette.error.main},[`&.${oo.disabled} .${oo.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"}}]}})),rR=pe(eR,{name:"MuiOutlinedInput",slot:"NotchedOutline",overridesResolver:(e,t)=>t.notchedOutline})(Qe(({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}})),oR=pe(_p,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:Qp})(Qe(({theme:e})=>({padding:"16.5px 14px",...!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:e.palette.mode==="light"?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:e.palette.mode==="light"?null:"#fff",caretColor:e.palette.mode==="light"?null:"#fff",borderRadius:"inherit"}},...e.vars&&{"&:-webkit-autofill":{borderRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},variants:[{props:{size:"small"},style:{padding:"8.5px 14px"}},{props:({ownerState:t})=>t.multiline,style:{padding:0}},{props:({ownerState:t})=>t.startAdornment,style:{paddingLeft:0}},{props:({ownerState:t})=>t.endAdornment,style:{paddingRight:0}}]}))),dp=P.forwardRef(function(t,n){var r;const s=$e({props:t,name:"MuiOutlinedInput"}),{components:a={},fullWidth:l=!1,inputComponent:u="input",label:f,multiline:p=!1,notched:h,slots:m={},type:y="text",...H}=s,A=tR(s),w=Bo(),x=Hi({props:s,muiFormControl:w,states:["color","disabled","error","focused","hiddenLabel","size","required"]}),S={...s,color:x.color||"primary",disabled:x.disabled,error:x.error,focused:x.focused,formControl:w,fullWidth:l,hiddenLabel:x.hiddenLabel,multiline:p,size:x.size,type:y},z=m.root??a.Root??nR,O=m.input??a.Input??oR;return v.jsx($p,{slots:{root:z,input:O},renderSuffix:C=>v.jsx(rR,{ownerState:S,className:A.notchedOutline,label:f!=null&&f!==""&&x.required?r||(r=v.jsxs(P.Fragment,{children:[f," ","*"]})):f,notched:typeof h<"u"?h:!!(C.startAdornment||C.filled||C.focused)}),fullWidth:l,inputComponent:u,multiline:p,ref:n,type:y,...H,classes:{...A,notchedOutline:null}})});dp&&(dp.muiName="Input");const sR=At(v.jsx("path",{d:"M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"}),"FirstPage"),iR=At(v.jsx("path",{d:"M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"}),"LastPage"),aR=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"),lR=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"),cR=pe("span",{shouldForwardProp:Zn})({position:"relative",display:"flex"}),uR=pe(aR)({transform:"scale(1)"}),fR=pe(lR)(Qe(({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 J1(e){const{checked:t=!1,classes:n={},fontSize:r}=e,s={...e,checked:t};return v.jsxs(cR,{className:n.root,ownerState:s,children:[v.jsx(uR,{fontSize:r,className:n.background,ownerState:s}),v.jsx(fR,{fontSize:r,className:n.dot,ownerState:s})]})}const F1=P.createContext(void 0);function dR(){return P.useContext(F1)}function pR(e){return Ge("MuiRadio",e)}const kx=Ue("MuiRadio",["root","checked","disabled","colorPrimary","colorSecondary","sizeSmall"]),vR=e=>{const{classes:t,color:n,size:r}=e,s={root:["root",`color${me(n)}`,r!=="medium"&&`size${me(r)}`]};return{...t,...Ke(s,pR,t)}},hR=pe(Ry,{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)}`]]}})(Qe(({theme:e})=>({color:(e.vars||e).palette.text.secondary,[`&.${kx.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(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})`:Pt(e.palette[t].main,e.palette.action.hoverOpacity)}}})),...Object.entries(e.palette).filter(gn()).map(([t])=>({props:{color:t,disabled:!1},style:{[`&.${kx.checked}`]:{color:(e.vars||e).palette[t].main}}})),{props:{disableRipple:!1},style:{"&:hover":{"@media (hover: none)":{backgroundColor:"transparent"}}}}]})));function mR(e,t){return typeof t=="object"&&t!==null?e===t:String(e)===String(t)}const Rx=v.jsx(J1,{checked:!0}),Ex=v.jsx(J1,{}),Du=P.forwardRef(function(t,n){const r=$e({props:t,name:"MuiRadio"}),{checked:s,checkedIcon:a=Rx,color:l="primary",icon:u=Ex,name:f,onChange:p,size:h="medium",className:m,disabled:y,disableRipple:H=!1,...A}=r,w=Bo();let x=y;w&&typeof x>"u"&&(x=w.disabled),x??(x=!1);const S={...r,disabled:x,disableRipple:H,color:l,size:h},z=vR(S),O=dR();let C=s;const D=ig(p,O&&O.onChange);let k=f;return O&&(typeof C>"u"&&(C=mR(O.value,r.value)),typeof k>"u"&&(k=O.name)),v.jsx(hR,{type:"radio",icon:P.cloneElement(u,{fontSize:Ex.props.fontSize??h}),checkedIcon:P.cloneElement(a,{fontSize:Rx.props.fontSize??h}),disabled:x,ownerState:S,classes:z,name:k,checked:C,onChange:D,ref:n,className:Oe(z.root,m),...A})});function gR(e){return Ge("MuiRadioGroup",e)}Ue("MuiRadioGroup",["root","row","error"]);const yR=e=>{const{classes:t,row:n,error:r}=e;return Ke({root:["root",n&&"row",r&&"error"]},gR,t)},pp=P.forwardRef(function(t,n){const{actions:r,children:s,className:a,defaultValue:l,name:u,onChange:f,value:p,...h}=t,m=P.useRef(null),y=yR(t),[H,A]=yi({controlled:p,default:l,name:"RadioGroup"});P.useImperativeHandle(r,()=>({focus:()=>{let z=m.current.querySelector("input:not(:disabled):checked");z||(z=m.current.querySelector("input:not(:disabled)")),z&&z.focus()}}),[]);const w=rn(n,m),x=Rs(u),S=P.useMemo(()=>({name:x,onChange(z){A(z.target.value),f&&f(z,z.target.value)},value:H}),[x,f,A,H]);return v.jsx(F1.Provider,{value:S,children:v.jsx(ST,{role:"radiogroup",ref:w,className:Oe(y.root,a),...h,children:s})})});function AR(e){return Ge("MuiSelect",e)}const Nc=Ue("MuiSelect",["root","select","multiple","filled","outlined","standard","disabled","focused","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]);var Mx;const PR=pe(I1,{name:"MuiSelect",slot:"Select",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`&.${Nc.select}`]:t.select},{[`&.${Nc.select}`]:t[n.variant]},{[`&.${Nc.error}`]:t.error},{[`&.${Nc.multiple}`]:t.multiple}]}})({[`&.${Nc.select}`]:{height:"auto",minHeight:"1.4375em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}}),bR=pe(W1,{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]}})({}),xR=pe("input",{shouldForwardProp:e=>l1(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 Lx(e,t){return typeof t=="object"&&t!==null?e===t:String(e)===String(t)}function wR(e){return e==null||typeof e=="string"&&!e.trim()}const HR=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,AR,t)},jR=P.forwardRef(function(t,n){var Jt;const{"aria-describedby":r,"aria-label":s,autoFocus:a,autoWidth:l,children:u,className:f,defaultOpen:p,defaultValue:h,disabled:m,displayEmpty:y,error:H=!1,IconComponent:A,inputRef:w,labelId:x,MenuProps:S={},multiple:z,name:O,onBlur:C,onChange:D,onClose:k,onFocus:R,onOpen:M,open:L,readOnly:j,renderValue:B,SelectDisplayProps:I={},tabIndex:J,type:K,value:W,variant:ne="standard",...re}=t,[F,_]=yi({controlled:W,default:h,name:"Select"}),[E,G]=yi({controlled:L,default:p,name:"Select"}),X=P.useRef(null),ee=P.useRef(null),[te,ue]=P.useState(null),{current:de}=P.useRef(L!=null),[xe,ve]=P.useState(),be=rn(n,w),Xe=P.useCallback(Be=>{ee.current=Be,Be&&ue(Be)},[]),Ie=te==null?void 0:te.parentNode;P.useImperativeHandle(be,()=>({focus:()=>{ee.current.focus()},node:X.current,value:F}),[F]),P.useEffect(()=>{p&&E&&te&&!de&&(ve(l?null:Ie.clientWidth),ee.current.focus())},[te,l]),P.useEffect(()=>{a&&ee.current.focus()},[a]),P.useEffect(()=>{if(!x)return;const Be=ir(ee.current).getElementById(x);if(Be){const U=()=>{getSelection().isCollapsed&&ee.current.focus()};return Be.addEventListener("click",U),()=>{Be.removeEventListener("click",U)}}},[x]);const He=(Be,U)=>{Be?M&&M(U):k&&k(U),de||(ve(l?null:Ie.clientWidth),G(Be))},_e=Be=>{Be.button===0&&(Be.preventDefault(),ee.current.focus(),He(!0,Be))},we=Be=>{He(!1,Be)},tt=P.Children.toArray(u),Le=Be=>{const U=tt.find(Y=>Y.props.value===Be.target.value);U!==void 0&&(_(U.props.value),D&&D(Be,U))},dt=Be=>U=>{let Y;if(U.currentTarget.hasAttribute("tabindex")){if(z){Y=Array.isArray(F)?F.slice():[];const Pe=F.indexOf(Be.props.value);Pe===-1?Y.push(Be.props.value):Y.splice(Pe,1)}else Y=Be.props.value;if(Be.props.onClick&&Be.props.onClick(U),F!==Y&&(_(Y),D)){const Pe=U.nativeEvent||U,De=new Pe.constructor(Pe.type,Pe);Object.defineProperty(De,"target",{writable:!0,value:{value:Y,name:O}}),D(De,Be)}z||He(!1,U)}},N=Be=>{j||[" ","ArrowUp","ArrowDown","Enter"].includes(Be.key)&&(Be.preventDefault(),He(!0,Be))},$=te!==null&&E,se=Be=>{!$&&C&&(Object.defineProperty(Be,"target",{writable:!0,value:{value:F,name:O}}),C(Be))};delete re["aria-invalid"];let ye,ce;const Ae=[];let je=!1;(cp({value:F})||y)&&(B?ye=B(F):je=!0);const st=tt.map(Be=>{if(!P.isValidElement(Be))return null;let U;if(z){if(!Array.isArray(F))throw new Error(ks(2));U=F.some(Y=>Lx(Y,Be.props.value)),U&&je&&Ae.push(Be.props.children)}else U=Lx(F,Be.props.value),U&&je&&(ce=Be.props.children);return P.cloneElement(Be,{"aria-selected":U?"true":"false",onClick:dt(Be),onKeyUp:Y=>{Y.key===" "&&Y.preventDefault(),Be.props.onKeyUp&&Be.props.onKeyUp(Y)},role:"option",selected:U,value:void 0,"data-value":Be.props.value})});je&&(z?Ae.length===0?ye=null:ye=Ae.reduce((Be,U,Y)=>(Be.push(U),Y{const{classes:t}=e;return t},Ly={name:"MuiSelect",overridesResolver:(e,t)=>t.root,shouldForwardProp:e=>Zn(e)&&e!=="variant",slot:"Root"},zR=pe(fp,Ly)(""),OR=pe(dp,Ly)(""),CR=pe(up,Ly)(""),Tu=P.forwardRef(function(t,n){const r=$e({name:"MuiSelect",props:t}),{autoWidth:s=!1,children:a,classes:l={},className:u,defaultOpen:f=!1,displayEmpty:p=!1,IconComponent:h=H1,id:m,input:y,inputProps:H,label:A,labelId:w,MenuProps:x,multiple:S=!1,native:z=!1,onClose:O,onOpen:C,open:D,renderValue:k,SelectDisplayProps:R,variant:M="outlined",...L}=r,j=z?Kk:jR,B=Bo(),I=Hi({props:r,muiFormControl:B,states:["variant","error"]}),J=I.variant||M,K={...r,variant:J,classes:l},W=SR(K),{root:ne,...re}=W,F=y||{standard:v.jsx(zR,{ownerState:K}),outlined:v.jsx(OR,{label:A,ownerState:K}),filled:v.jsx(CR,{ownerState:K})}[J],_=rn(n,xi(F));return v.jsx(P.Fragment,{children:P.cloneElement(F,{inputComponent:j,inputProps:{children:a,error:I.error,IconComponent:h,variant:J,type:void 0,multiple:S,...z?{id:m}:{autoWidth:s,defaultOpen:f,displayEmpty:p,labelId:w,MenuProps:x,onClose:O,onOpen:C,open:D,renderValue:k,SelectDisplayProps:{id:m,...R}},...H,classes:H?qn(re,H.classes):re,...y?y.props.inputProps:{}},...(S&&z||p)&&J==="outlined"?{notched:!0}:{},ref:_,className:Oe(F.props.className,u,W.root),...!y&&{variant:J},...L})})});Tu.muiName="Select";function DR(e={}){const{autoHideDuration:t=null,disableWindowBlurListener:n=!1,onClose:r,open:s,resumeHideDuration:a}=e,l=Gi();P.useEffect(()=>{if(!s)return;function S(z){z.defaultPrevented||z.key==="Escape"&&(r==null||r(z,"escapeKeyDown"))}return document.addEventListener("keydown",S),()=>{document.removeEventListener("keydown",S)}},[s,r]);const u=mr((S,z)=>{r==null||r(S,z)}),f=mr(S=>{!r||S==null||l.start(S,()=>{u(null,"timeout")})});P.useEffect(()=>(s&&f(t),l.clear),[s,t,f,l]);const p=S=>{r==null||r(S,"clickaway")},h=l.clear,m=P.useCallback(()=>{t!=null&&f(a??t*.5)},[t,a,f]),y=S=>z=>{const O=S.onBlur;O==null||O(z),m()},H=S=>z=>{const O=S.onFocus;O==null||O(z),h()},A=S=>z=>{const O=S.onMouseEnter;O==null||O(z),h()},w=S=>z=>{const O=S.onMouseLeave;O==null||O(z),m()};return P.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 z={...op(e),...op(S)};return{role:"presentation",...S,...z,onBlur:y(z),onFocus:H(z),onMouseEnter:A(z),onMouseLeave:w(z)}},onClickAway:p}}function TR(e){return Ge("MuiSnackbarContent",e)}Ue("MuiSnackbarContent",["root","message","action"]);const kR=e=>{const{classes:t}=e;return Ke({root:["root"],action:["action"],message:["message"]},TR,t)},RR=pe(Ur,{name:"MuiSnackbarContent",slot:"Root",overridesResolver:(e,t)=>t.root})(Qe(({theme:e})=>{const t=e.palette.mode==="light"?.8:.98,n=Y0(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}}})),ER=pe("div",{name:"MuiSnackbarContent",slot:"Message",overridesResolver:(e,t)=>t.message})({padding:"8px 0"}),MR=pe("div",{name:"MuiSnackbarContent",slot:"Action",overridesResolver:(e,t)=>t.action})({display:"flex",alignItems:"center",marginLeft:"auto",paddingLeft:16,marginRight:-8}),LR=P.forwardRef(function(t,n){const r=$e({props:t,name:"MuiSnackbarContent"}),{action:s,className:a,message:l,role:u="alert",...f}=r,p=r,h=kR(p);return v.jsxs(RR,{role:u,square:!0,elevation:6,className:Oe(h.root,a),ownerState:p,ref:n,...f,children:[v.jsx(ER,{className:h.message,ownerState:p,children:l}),s?v.jsx(MR,{className:h.action,ownerState:p,children:s}):null]})});function XR(e){return Ge("MuiSnackbar",e)}Ue("MuiSnackbar",["root","anchorOriginTopCenter","anchorOriginBottomCenter","anchorOriginTopRight","anchorOriginBottomRight","anchorOriginTopLeft","anchorOriginBottomLeft"]);const NR=e=>{const{classes:t,anchorOrigin:n}=e,r={root:["root",`anchorOrigin${me(n.vertical)}${me(n.horizontal)}`]};return Ke(r,XR,t)},Xx=pe("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)}`]]}})(Qe(({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%)"}}}]}))),BR=P.forwardRef(function(t,n){const r=$e({props:t,name:"MuiSnackbar"}),s=Kr(),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:y,ContentProps:H,disableWindowBlurListener:A=!1,message:w,onBlur:x,onClose:S,onFocus:z,onMouseEnter:O,onMouseLeave:C,open:D,resumeHideDuration:k,TransitionComponent:R=Ou,transitionDuration:M=a,TransitionProps:{onEnter:L,onExited:j,...B}={},...I}=r,J={...r,anchorOrigin:{vertical:u,horizontal:f},autoHideDuration:p,disableWindowBlurListener:A,TransitionComponent:R,transitionDuration:M},K=NR(J),{getRootProps:W,onClickAway:ne}=DR({...J}),[re,F]=P.useState(!0),_=sp({elementType:Xx,getSlotProps:W,externalForwardedProps:I,ownerState:J,additionalProps:{ref:n},className:[K.root,m]}),E=X=>{F(!0),j&&j(X)},G=(X,ee)=>{F(!1),L&&L(X,ee)};return!D&&re?null:v.jsx(D1,{onClickAway:ne,...y,children:v.jsx(Xx,{..._,children:v.jsx(R,{appear:!0,in:D,timeout:M,direction:u==="top"?"down":"up",onEnter:G,onExited:E,...B,children:h||v.jsx(LR,{message:w,action:l,...H})})})})});function VR(e){return Ge("MuiTooltip",e)}const jn=Ue("MuiTooltip",["popper","popperInteractive","popperArrow","popperClose","tooltip","tooltipArrow","touch","tooltipPlacementLeft","tooltipPlacementRight","tooltipPlacementTop","tooltipPlacementBottom","arrow"]);function IR(e){return Math.round(e*1e5)/1e5}const WR=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,VR,t)},JR=pe(Zp,{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]}})(Qe(({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"] .${jn.arrow}`]:{top:0,marginTop:"-0.71em","&::before":{transformOrigin:"0 100%"}},[`&[data-popper-placement*="top"] .${jn.arrow}`]:{bottom:0,marginBottom:"-0.71em","&::before":{transformOrigin:"100% 0"}},[`&[data-popper-placement*="right"] .${jn.arrow}`]:{height:"1em",width:"0.71em","&::before":{transformOrigin:"100% 100%"}},[`&[data-popper-placement*="left"] .${jn.arrow}`]:{height:"1em",width:"0.71em","&::before":{transformOrigin:"0 0"}}}},{props:({ownerState:t})=>t.arrow&&!t.isRtl,style:{[`&[data-popper-placement*="right"] .${jn.arrow}`]:{left:0,marginLeft:"-0.71em"}}},{props:({ownerState:t})=>t.arrow&&!!t.isRtl,style:{[`&[data-popper-placement*="right"] .${jn.arrow}`]:{right:0,marginRight:"-0.71em"}}},{props:({ownerState:t})=>t.arrow&&!t.isRtl,style:{[`&[data-popper-placement*="left"] .${jn.arrow}`]:{right:0,marginRight:"-0.71em"}}},{props:({ownerState:t})=>t.arrow&&!!t.isRtl,style:{[`&[data-popper-placement*="left"] .${jn.arrow}`]:{left:0,marginLeft:"-0.71em"}}}]}))),FR=pe("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])}`]]}})(Qe(({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,[`.${jn.popper}[data-popper-placement*="left"] &`]:{transformOrigin:"right center"},[`.${jn.popper}[data-popper-placement*="right"] &`]:{transformOrigin:"left center"},[`.${jn.popper}[data-popper-placement*="top"] &`]:{transformOrigin:"center bottom",marginBottom:"14px"},[`.${jn.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:`${IR(16/14)}em`,fontWeight:e.typography.fontWeightRegular}},{props:({ownerState:t})=>!t.isRtl,style:{[`.${jn.popper}[data-popper-placement*="left"] &`]:{marginRight:"14px"},[`.${jn.popper}[data-popper-placement*="right"] &`]:{marginLeft:"14px"}}},{props:({ownerState:t})=>!t.isRtl&&t.touch,style:{[`.${jn.popper}[data-popper-placement*="left"] &`]:{marginRight:"24px"},[`.${jn.popper}[data-popper-placement*="right"] &`]:{marginLeft:"24px"}}},{props:({ownerState:t})=>!!t.isRtl,style:{[`.${jn.popper}[data-popper-placement*="left"] &`]:{marginLeft:"14px"},[`.${jn.popper}[data-popper-placement*="right"] &`]:{marginRight:"14px"}}},{props:({ownerState:t})=>!!t.isRtl&&t.touch,style:{[`.${jn.popper}[data-popper-placement*="left"] &`]:{marginLeft:"24px"},[`.${jn.popper}[data-popper-placement*="right"] &`]:{marginRight:"24px"}}},{props:({ownerState:t})=>t.touch,style:{[`.${jn.popper}[data-popper-placement*="top"] &`]:{marginBottom:"24px"}}},{props:({ownerState:t})=>t.touch,style:{[`.${jn.popper}[data-popper-placement*="bottom"] &`]:{marginTop:"24px"}}}]}))),YR=pe("span",{name:"MuiTooltip",slot:"Arrow",overridesResolver:(e,t)=>t.arrow})(Qe(({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 xd=!1;const Nx=new Yp;let Bc={x:0,y:0};function wd(e,t){return(n,...r)=>{t&&t(n,...r),e(n,...r)}}const Xy=P.forwardRef(function(t,n){const r=$e({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:y=!1,disableTouchListener:H=!1,enterDelay:A=100,enterNextDelay:w=0,enterTouchDelay:x=700,followCursor:S=!1,id:z,leaveDelay:O=0,leaveTouchDelay:C=1500,onClose:D,onOpen:k,open:R,placement:M="bottom",PopperComponent:L,PopperProps:j={},slotProps:B={},slots:I={},title:J,TransitionComponent:K,TransitionProps:W,...ne}=r,re=P.isValidElement(a)?a:v.jsx("span",{children:a}),F=Kr(),_=Ju(),[E,G]=P.useState(),[X,ee]=P.useState(null),te=P.useRef(!1),ue=y||S,de=Gi(),xe=Gi(),ve=Gi(),be=Gi(),[Xe,Ie]=yi({controlled:R,default:!1,name:"Tooltip",state:"open"});let He=Xe;const _e=Rs(z),we=P.useRef(),tt=mr(()=>{we.current!==void 0&&(document.body.style.WebkitUserSelect=we.current,we.current=void 0),be.clear()});P.useEffect(()=>tt,[tt]);const Le=Fe=>{Nx.clear(),xd=!0,Ie(!0),k&&!He&&k(Fe)},dt=mr(Fe=>{Nx.start(800+O,()=>{xd=!1}),Ie(!1),D&&He&&D(Fe),de.start(F.transitions.duration.shortest,()=>{te.current=!1})}),N=Fe=>{te.current&&Fe.type!=="touchstart"||(E&&E.removeAttribute("title"),xe.clear(),ve.clear(),A||xd&&w?xe.start(xd?w:A,()=>{Le(Fe)}):Le(Fe))},$=Fe=>{xe.clear(),ve.start(O,()=>{dt(Fe)})},[,se]=P.useState(!1),ye=Fe=>{Ol(Fe.target)||(se(!1),$(Fe))},ce=Fe=>{E||G(Fe.currentTarget),Ol(Fe.target)&&(se(!0),N(Fe))},Ae=Fe=>{te.current=!0;const Rt=re.props;Rt.onTouchStart&&Rt.onTouchStart(Fe)},je=Fe=>{Ae(Fe),ve.clear(),de.clear(),tt(),we.current=document.body.style.WebkitUserSelect,document.body.style.WebkitUserSelect="none",be.start(x,()=>{document.body.style.WebkitUserSelect=we.current,N(Fe)})},st=Fe=>{re.props.onTouchEnd&&re.props.onTouchEnd(Fe),tt(),ve.start(C,()=>{dt(Fe)})};P.useEffect(()=>{if(!He)return;function Fe(Rt){Rt.key==="Escape"&&dt(Rt)}return document.addEventListener("keydown",Fe),()=>{document.removeEventListener("keydown",Fe)}},[dt,He]);const wt=rn(xi(re),G,n);!J&&J!==0&&(He=!1);const nt=P.useRef(),ft=Fe=>{const Rt=re.props;Rt.onMouseMove&&Rt.onMouseMove(Fe),Bc={x:Fe.clientX,y:Fe.clientY},nt.current&&nt.current.update()},ct={},Ht=typeof J=="string";p?(ct.title=!He&&Ht&&!m?J:null,ct["aria-describedby"]=He?_e:null):(ct["aria-label"]=Ht?J:null,ct["aria-labelledby"]=He&&!Ht?_e:null);const We={...ct,...ne,...re.props,className:Oe(ne.className,re.props.className),onTouchStart:Ae,ref:wt,...S?{onMouseMove:ft}:{}},Dt={};H||(We.onTouchStart=je,We.onTouchEnd=st),m||(We.onMouseOver=wd(N,We.onMouseOver),We.onMouseLeave=wd($,We.onMouseLeave),ue||(Dt.onMouseOver=N,Dt.onMouseLeave=$)),h||(We.onFocus=wd(ce,We.onFocus),We.onBlur=wd(ye,We.onBlur),ue||(Dt.onFocus=ce,Dt.onBlur=ye));const Jt={...r,isRtl:_,arrow:s,disableInteractive:ue,placement:M,PopperComponentProp:L,touch:te.current},Be=typeof B.popper=="function"?B.popper(Jt):B.popper,U=P.useMemo(()=>{var Rt,un;let Fe=[{name:"arrow",enabled:!!X,options:{element:X,padding:4}}];return(Rt=j.popperOptions)!=null&&Rt.modifiers&&(Fe=Fe.concat(j.popperOptions.modifiers)),(un=Be==null?void 0:Be.popperOptions)!=null&&un.modifiers&&(Fe=Fe.concat(Be.popperOptions.modifiers)),{...j.popperOptions,...Be==null?void 0:Be.popperOptions,modifiers:Fe}},[X,j.popperOptions,Be==null?void 0:Be.popperOptions]),Y=WR(Jt),Pe=typeof B.transition=="function"?B.transition(Jt):B.transition,De={slots:{popper:u.Popper,transition:u.Transition??K,tooltip:u.Tooltip,arrow:u.Arrow,...I},slotProps:{arrow:B.arrow??f.arrow,popper:{...j,...Be??f.popper},tooltip:B.tooltip??f.tooltip,transition:{...W,...Pe??f.transition}}},[Te,Ne]=Cn("popper",{elementType:JR,externalForwardedProps:De,ownerState:Jt,className:Oe(Y.popper,j==null?void 0:j.className)}),[Je,ke]=Cn("transition",{elementType:Ou,externalForwardedProps:De,ownerState:Jt}),[rt,vt]=Cn("tooltip",{elementType:FR,className:Y.tooltip,externalForwardedProps:De,ownerState:Jt}),[kt,Qt]=Cn("arrow",{elementType:YR,className:Y.arrow,externalForwardedProps:De,ownerState:Jt,ref:ee});return v.jsxs(P.Fragment,{children:[P.cloneElement(re,We),v.jsx(Te,{as:L??Zp,placement:M,anchorEl:S?{getBoundingClientRect:()=>({top:Bc.y,left:Bc.x,right:Bc.x,bottom:Bc.y,width:0,height:0})}:E,popperRef:nt,open:E?He:!1,id:_e,transition:!0,...Dt,...Ne,popperOptions:U,children:({TransitionProps:Fe})=>v.jsx(Je,{timeout:F.transitions.duration.shorter,...Fe,...ke,children:v.jsxs(rt,{...vt,children:[J,s?v.jsx(kt,{...Qt}):null]})})})]})}),as=Vj({createStyledComponent:pe("div",{name:"MuiStack",slot:"Root",overridesResolver:(e,t)=>t.root}),useThemeProps:e=>$e({props:e,name:"MuiStack"})});function qR(e){return Ge("MuiSwitch",e)}const fr=Ue("MuiSwitch",["root","edgeStart","edgeEnd","switchBase","colorPrimary","colorSecondary","sizeSmall","sizeMedium","checked","disabled","input","thumb","track"]),ZR=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,qR,t);return{...t,...f}},GR=pe("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,[`& .${fr.thumb}`]:{width:16,height:16},[`& .${fr.switchBase}`]:{padding:4,[`&.${fr.checked}`]:{transform:"translateX(16px)"}}}}]}),UR=pe(Ry,{name:"MuiSwitch",slot:"SwitchBase",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.switchBase,{[`& .${fr.input}`]:t.input},n.color!=="default"&&t[`color${me(n.color)}`]]}})(Qe(({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}),[`&.${fr.checked}`]:{transform:"translateX(20px)"},[`&.${fr.disabled}`]:{color:e.vars?e.vars.palette.Switch.defaultDisabledColor:`${e.palette.mode==="light"?e.palette.grey[100]:e.palette.grey[600]}`},[`&.${fr.checked} + .${fr.track}`]:{opacity:.5},[`&.${fr.disabled} + .${fr.track}`]:{opacity:e.vars?e.vars.opacity.switchTrackDisabled:`${e.palette.mode==="light"?.12:.2}`},[`& .${fr.input}`]:{left:"-100%",width:"300%"}})),Qe(({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(gn(["light"])).map(([t])=>({props:{color:t},style:{[`&.${fr.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"}},[`&.${fr.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)}`}},[`&.${fr.checked} + .${fr.track}`]:{backgroundColor:(e.vars||e).palette[t].main}}}))]}))),QR=pe("span",{name:"MuiSwitch",slot:"Track",overridesResolver:(e,t)=>t.track})(Qe(({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}`}))),KR=pe("span",{name:"MuiSwitch",slot:"Thumb",overridesResolver:(e,t)=>t.thumb})(Qe(({theme:e})=>({boxShadow:(e.vars||e).shadows[1],backgroundColor:"currentColor",width:20,height:20,borderRadius:"50%"}))),Y1=P.forwardRef(function(t,n){const r=$e({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=ZR(h),y=v.jsx(KR,{className:m.thumb,ownerState:h});return v.jsxs(GR,{className:Oe(m.root,s),sx:f,ownerState:h,children:[v.jsx(UR,{type:"checkbox",icon:y,checkedIcon:y,ref:n,ownerState:h,...p,classes:{...m,root:m.switchBase}}),v.jsx(QR,{className:m.track,ownerState:h})]})}),q1=P.createContext();function _R(e){return Ge("MuiTable",e)}Ue("MuiTable",["root","stickyHeader"]);const $R=e=>{const{classes:t,stickyHeader:n}=e;return Ke({root:["root",n&&"stickyHeader"]},_R,t)},eE=pe("table",{name:"MuiTable",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.stickyHeader&&t.stickyHeader]}})(Qe(({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"}}]}))),Bx="table",Z1=P.forwardRef(function(t,n){const r=$e({props:t,name:"MuiTable"}),{className:s,component:a=Bx,padding:l="normal",size:u="medium",stickyHeader:f=!1,...p}=r,h={...r,component:a,padding:l,size:u,stickyHeader:f},m=$R(h),y=P.useMemo(()=>({padding:l,size:u,stickyHeader:f}),[l,u,f]);return v.jsx(q1.Provider,{value:y,children:v.jsx(eE,{as:a,role:a===Bx?null:"table",ref:n,className:Oe(m.root,s),ownerState:h,...p})})}),Gu=P.createContext();function tE(e){return Ge("MuiTableBody",e)}Ue("MuiTableBody",["root"]);const nE=e=>{const{classes:t}=e;return Ke({root:["root"]},tE,t)},rE=pe("tbody",{name:"MuiTableBody",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"table-row-group"}),oE={variant:"body"},Vx="tbody",G1=P.forwardRef(function(t,n){const r=$e({props:t,name:"MuiTableBody"}),{className:s,component:a=Vx,...l}=r,u={...r,component:a},f=nE(u);return v.jsx(Gu.Provider,{value:oE,children:v.jsx(rE,{className:Oe(f.root,s),as:a,ref:n,role:a===Vx?null:"rowgroup",ownerState:u,...l})})});function sE(e){return Ge("MuiTableCell",e)}const iE=Ue("MuiTableCell",["root","head","body","footer","sizeSmall","sizeMedium","paddingCheckbox","paddingNone","alignLeft","alignCenter","alignRight","alignJustify","stickyHeader"]),aE=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,sE,t)},lE=pe("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]}})(Qe(({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",[`&.${iE.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}}]}))),vr=P.forwardRef(function(t,n){const r=$e({props:t,name:"MuiTableCell"}),{align:s="inherit",className:a,component:l,padding:u,scope:f,size:p,sortDirection:h,variant:m,...y}=r,H=P.useContext(q1),A=P.useContext(Gu),w=A&&A.variant==="head";let x;l?x=l:x=w?"th":"td";let S=f;x==="td"?S=void 0:!S&&w&&(S="col");const z=m||A&&A.variant,O={...r,align:s,component:x,padding:u||(H&&H.padding?H.padding:"normal"),size:p||(H&&H.size?H.size:"medium"),sortDirection:h,stickyHeader:z==="head"&&H&&H.stickyHeader,variant:z},C=aE(O);let D=null;return h&&(D=h==="asc"?"ascending":"descending"),v.jsx(lE,{as:x,ref:n,className:Oe(C.root,a),"aria-sort":D,scope:S,ownerState:O,...y})});function cE(e){return Ge("MuiTableContainer",e)}Ue("MuiTableContainer",["root"]);const uE=e=>{const{classes:t}=e;return Ke({root:["root"]},cE,t)},fE=pe("div",{name:"MuiTableContainer",slot:"Root",overridesResolver:(e,t)=>t.root})({width:"100%",overflowX:"auto"}),U1=P.forwardRef(function(t,n){const r=$e({props:t,name:"MuiTableContainer"}),{className:s,component:a="div",...l}=r,u={...r,component:a},f=uE(u);return v.jsx(fE,{ref:n,as:a,className:Oe(f.root,s),ownerState:u,...l})});function dE(e){return Ge("MuiTableFooter",e)}Ue("MuiTableFooter",["root"]);const pE=e=>{const{classes:t}=e;return Ke({root:["root"]},dE,t)},vE=pe("tfoot",{name:"MuiTableFooter",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"table-footer-group"}),hE={variant:"footer"},Ix="tfoot",mE=P.forwardRef(function(t,n){const r=$e({props:t,name:"MuiTableFooter"}),{className:s,component:a=Ix,...l}=r,u={...r,component:a},f=pE(u);return v.jsx(Gu.Provider,{value:hE,children:v.jsx(vE,{as:a,className:Oe(f.root,s),ref:n,role:a===Ix?null:"rowgroup",ownerState:u,...l})})});function gE(e){return Ge("MuiTableHead",e)}Ue("MuiTableHead",["root"]);const yE=e=>{const{classes:t}=e;return Ke({root:["root"]},gE,t)},AE=pe("thead",{name:"MuiTableHead",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"table-header-group"}),PE={variant:"head"},Wx="thead",bE=P.forwardRef(function(t,n){const r=$e({props:t,name:"MuiTableHead"}),{className:s,component:a=Wx,...l}=r,u={...r,component:a},f=yE(u);return v.jsx(Gu.Provider,{value:PE,children:v.jsx(AE,{as:a,className:Oe(f.root,s),ref:n,role:a===Wx?null:"rowgroup",ownerState:u,...l})})});function xE(e){return Ge("MuiToolbar",e)}Ue("MuiToolbar",["root","gutters","regular","dense"]);const wE=e=>{const{classes:t,disableGutters:n,variant:r}=e;return Ke({root:["root",!n&&"gutters",r]},xE,t)},HE=pe("div",{name:"MuiToolbar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disableGutters&&t.gutters,t[n.variant]]}})(Qe(({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}]}))),Q1=P.forwardRef(function(t,n){const r=$e({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=wE(p);return v.jsx(HE,{as:a,className:Oe(h.root,s),ref:n,ownerState:p,...f})}),jE=At(v.jsx("path",{d:"M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"}),"KeyboardArrowLeft"),SE=At(v.jsx("path",{d:"M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"}),"KeyboardArrowRight"),zE=P.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:y,slots:H={},slotProps:A={},...w}=t,x=Ju(),S=G=>{f(G,0)},z=G=>{f(G,p-1)},O=G=>{f(G,p+1)},C=G=>{f(G,Math.max(0,Math.ceil(s/h)-1))},D=H.firstButton??zr,k=H.lastButton??zr,R=H.nextButton??zr,M=H.previousButton??zr,L=H.firstButtonIcon??sR,j=H.lastButtonIcon??iR,B=H.nextButtonIcon??SE,I=H.previousButtonIcon??jE,J=x?k:D,K=x?R:M,W=x?M:R,ne=x?D:k,re=x?A.lastButton:A.firstButton,F=x?A.nextButton:A.previousButton,_=x?A.previousButton:A.nextButton,E=x?A.firstButton:A.lastButton;return v.jsxs("div",{ref:n,...w,children:[m&&v.jsx(J,{onClick:S,disabled:a||p===0,"aria-label":l("first",p),title:l("first",p),...re,children:x?v.jsx(j,{...A.lastButtonIcon}):v.jsx(L,{...A.firstButtonIcon})}),v.jsx(K,{onClick:z,disabled:a||p===0,color:"inherit","aria-label":l("previous",p),title:l("previous",p),...F??r,children:x?v.jsx(B,{...A.nextButtonIcon}):v.jsx(I,{...A.previousButtonIcon})}),v.jsx(W,{onClick:O,disabled:a||(s!==-1?p>=Math.ceil(s/h)-1:!1),color:"inherit","aria-label":l("next",p),title:l("next",p),..._??u,children:x?v.jsx(I,{...A.previousButtonIcon}):v.jsx(B,{...A.nextButtonIcon})}),y&&v.jsx(ne,{onClick:C,disabled:a||p>=Math.ceil(s/h)-1,"aria-label":l("last",p),title:l("last",p),...E,children:x?v.jsx(L,{...A.firstButtonIcon}):v.jsx(j,{...A.lastButtonIcon})})]})});function OE(e){return Ge("MuiTablePagination",e)}const vu=Ue("MuiTablePagination",["root","toolbar","spacer","selectLabel","selectRoot","select","selectIcon","input","menuItem","displayedRows","actions"]);var Jx;const CE=pe(vr,{name:"MuiTablePagination",slot:"Root",overridesResolver:(e,t)=>t.root})(Qe(({theme:e})=>({overflow:"auto",color:(e.vars||e).palette.text.primary,fontSize:e.typography.pxToRem(14),"&:last-child":{padding:0}}))),DE=pe(Q1,{name:"MuiTablePagination",slot:"Toolbar",overridesResolver:(e,t)=>({[`& .${vu.actions}`]:t.actions,...t.toolbar})})(Qe(({theme:e})=>({minHeight:52,paddingRight:2,[`${e.breakpoints.up("xs")} and (orientation: landscape)`]:{minHeight:52},[e.breakpoints.up("sm")]:{minHeight:52,paddingRight:2},[`& .${vu.actions}`]:{flexShrink:0,marginLeft:20}}))),TE=pe("div",{name:"MuiTablePagination",slot:"Spacer",overridesResolver:(e,t)=>t.spacer})({flex:"1 1 100%"}),kE=pe("p",{name:"MuiTablePagination",slot:"SelectLabel",overridesResolver:(e,t)=>t.selectLabel})(Qe(({theme:e})=>({...e.typography.body2,flexShrink:0}))),RE=pe(Tu,{name:"MuiTablePagination",slot:"Select",overridesResolver:(e,t)=>({[`& .${vu.selectIcon}`]:t.selectIcon,[`& .${vu.select}`]:t.select,...t.input,...t.selectRoot})})({color:"inherit",fontSize:"inherit",flexShrink:0,marginRight:32,marginLeft:8,[`& .${vu.select}`]:{paddingLeft:8,paddingRight:24,textAlign:"right",textAlignLast:"right"}}),EE=pe(ts,{name:"MuiTablePagination",slot:"MenuItem",overridesResolver:(e,t)=>t.menuItem})({}),ME=pe("p",{name:"MuiTablePagination",slot:"DisplayedRows",overridesResolver:(e,t)=>t.displayedRows})(Qe(({theme:e})=>({...e.typography.body2,flexShrink:0})));function LE({from:e,to:t,count:n}){return`${e}–${t} of ${n!==-1?n:`more than ${t}`}`}function XE(e){return`Go to ${e} page`}const NE=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"]},OE,t)},BE=P.forwardRef(function(t,n){const r=$e({props:t,name:"MuiTablePagination"}),{ActionsComponent:s=zE,backIconButtonProps:a,className:l,colSpan:u,component:f=vr,count:p,disabled:h=!1,getItemAriaLabel:m=XE,labelDisplayedRows:y=LE,labelRowsPerPage:H="Rows per page:",nextIconButtonProps:A,onPageChange:w,onRowsPerPageChange:x,page:S,rowsPerPage:z,rowsPerPageOptions:O=[10,25,50,100],SelectProps:C={},showFirstButton:D=!1,showLastButton:k=!1,slotProps:R={},slots:M={},...L}=r,j=r,B=NE(j),I=(R==null?void 0:R.select)??C,J=I.native?"option":EE;let K;(f===vr||f==="td")&&(K=u||1e3);const W=Rs(I.id),ne=Rs(I.labelId),re=()=>p===-1?(S+1)*z:z===-1?p:Math.min(p,(S+1)*z);return v.jsx(CE,{colSpan:K,ref:n,as:f,ownerState:j,className:Oe(B.root,l),...L,children:v.jsxs(DE,{className:B.toolbar,children:[v.jsx(TE,{className:B.spacer}),O.length>1&&v.jsx(kE,{className:B.selectLabel,id:ne,children:H}),O.length>1&&v.jsx(RE,{variant:"standard",...!I.variant&&{input:Jx||(Jx=v.jsx($p,{}))},value:z,onChange:x,id:W,labelId:ne,...I,classes:{...I.classes,root:Oe(B.input,B.selectRoot,(I.classes||{}).root),select:Oe(B.select,(I.classes||{}).select),icon:Oe(B.selectIcon,(I.classes||{}).icon)},disabled:h,children:O.map(F=>P.createElement(J,{...!El(J)&&{ownerState:j},className:B.menuItem,key:F.label?F.label:F,value:F.value?F.value:F},F.label?F.label:F))}),v.jsx(ME,{className:B.displayedRows,children:y({from:p===0?0:S*z+1,to:re(),count:p===-1?-1:p,page:S})}),v.jsx(s,{className:B.actions,backIconButtonProps:a,count:p,nextIconButtonProps:A,onPageChange:w,page:S,rowsPerPage:z,showFirstButton:D,showLastButton:k,slotProps:R.actions,slots:M.actions,getItemAriaLabel:m,disabled:h})]})})});function VE(e){return Ge("MuiTableRow",e)}const Fx=Ue("MuiTableRow",["root","selected","hover","head","footer"]),IE=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"]},VE,t)},WE=pe("tr",{name:"MuiTableRow",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.head&&t.head,n.footer&&t.footer]}})(Qe(({theme:e})=>({color:"inherit",display:"table-row",verticalAlign:"middle",outline:0,[`&.${Fx.hover}:hover`]:{backgroundColor:(e.vars||e).palette.action.hover},[`&.${Fx.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)}}}))),Yx="tr",vp=P.forwardRef(function(t,n){const r=$e({props:t,name:"MuiTableRow"}),{className:s,component:a=Yx,hover:l=!1,selected:u=!1,...f}=r,p=P.useContext(Gu),h={...r,component:a,hover:l,selected:u,head:p&&p.variant==="head",footer:p&&p.variant==="footer"},m=IE(h);return v.jsx(WE,{as:a,ref:n,className:Oe(m.root,s),role:a===Yx?null:"row",ownerState:h,...f})});function JE(e){return Ge("MuiTextField",e)}Ue("MuiTextField",["root"]);const FE={standard:fp,filled:up,outlined:dp},YE=e=>{const{classes:t}=e;return Ke({root:["root"]},JE,t)},qE=pe(ur,{name:"MuiTextField",slot:"Root",overridesResolver:(e,t)=>t.root})({}),lo=P.forwardRef(function(t,n){const r=$e({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:y,fullWidth:H=!1,helperText:A,id:w,InputLabelProps:x,inputProps:S,InputProps:z,inputRef:O,label:C,maxRows:D,minRows:k,multiline:R=!1,name:M,onBlur:L,onChange:j,onFocus:B,placeholder:I,required:J=!1,rows:K,select:W=!1,SelectProps:ne,slots:re={},slotProps:F={},type:_,value:E,variant:G="outlined",...X}=r,ee={...r,autoFocus:a,color:f,disabled:h,error:m,fullWidth:H,multiline:R,required:J,select:W,variant:G},te=YE(ee),ue=Rs(w),de=A&&ue?`${ue}-helper-text`:void 0,xe=C&&ue?`${ue}-label`:void 0,ve=FE[G],be={slots:re,slotProps:{input:z,inputLabel:x,htmlInput:S,formHelperText:y,select:ne,...F}},Xe={},Ie=be.slotProps.inputLabel;G==="outlined"&&(Ie&&typeof Ie.shrink<"u"&&(Xe.notched=Ie.shrink),Xe.label=C),W&&((!ne||!ne.native)&&(Xe.id=void 0),Xe["aria-describedby"]=void 0);const[He,_e]=Cn("input",{elementType:ve,externalForwardedProps:be,additionalProps:Xe,ownerState:ee}),[we,tt]=Cn("inputLabel",{elementType:Wd,externalForwardedProps:be,ownerState:ee}),[Le,dt]=Cn("htmlInput",{elementType:"input",externalForwardedProps:be,ownerState:ee}),[N,$]=Cn("formHelperText",{elementType:nl,externalForwardedProps:be,ownerState:ee}),[se,ye]=Cn("select",{elementType:Tu,externalForwardedProps:be,ownerState:ee}),ce=v.jsx(He,{"aria-describedby":de,autoComplete:s,autoFocus:a,defaultValue:p,fullWidth:H,multiline:R,name:M,rows:K,maxRows:D,minRows:k,type:_,value:E,id:ue,inputRef:O,onBlur:L,onChange:j,onFocus:B,placeholder:I,inputProps:dt,slots:{input:re.htmlInput?Le:void 0},..._e});return v.jsxs(qE,{className:Oe(te.root,u),disabled:h,error:m,fullWidth:H,ref:n,required:J,color:f,variant:G,ownerState:ee,...X,children:[C!=null&&C!==""&&v.jsx(we,{htmlFor:ue,id:xe,...tt,children:C}),W?v.jsx(se,{"aria-describedby":de,id:ue,labelId:xe,value:E,input:ce,...ye,children:l}):ce,A&&v.jsx(N,{id:de,...$,children:A})]})}),Dn="/hub",tv="/services/japps",Ny=["Environments"],ZE=["Any","Owned by me","Shared with me"],GE=["Recently modified","Name: A-Z","Name: Z-A"],UE=["Running","Ready","Pending","Unknown"],By="startAppId";var Wl=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 io(){}function QE(e,t){return typeof e=="function"?e(t):e}function xg(e){return typeof e=="number"&&e>=0&&e!==1/0}function K1(e,t){return Math.max(e+(t||0)-Date.now(),0)}function ul(e,t){return typeof e=="function"?e(t):e}function To(e,t){return typeof e=="function"?e(t):e}function qx(e,t){const{type:n="all",exact:r,fetchStatus:s,predicate:a,queryKey:l,stale:u}=e;if(l){if(r){if(t.queryHash!==Vy(l,t.options))return!1}else if(!ku(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 Zx(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(!ku(t.options.mutationKey,a))return!1}return!(r&&t.state.status!==r||s&&!s(t))}function Vy(e,t){return((t==null?void 0:t.queryKeyHashFn)||ha)(e)}function ha(e){return JSON.stringify(e,(t,n)=>wg(n)?Object.keys(n).sort().reduce((r,s)=>(r[s]=n[s],r),{}):n)}function ku(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?!Object.keys(t).some(n=>!ku(e[n],t[n])):!1}function _1(e,t){if(e===t)return e;const n=Gx(e)&&Gx(t);if(n||wg(e)&&wg(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 Hg(e,t,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?_1(e,t):t}function _E(e,t,n=0){const r=[...e,t];return n&&r.length>n?r.slice(1):r}function $E(e,t,n=0){const r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var Iy=Symbol();function $1(e,t){return!e.queryFn&&(t!=null&&t.initialPromise)?()=>t.initialPromise:!e.queryFn||e.queryFn===Iy?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}var _i,ci,dl,i0,e6=(i0=class extends Wl{constructor(){super();gt(this,_i);gt(this,ci);gt(this,dl);qe(this,dl,t=>{if(!va&&window.addEventListener){const n=()=>t();return window.addEventListener("visibilitychange",n,!1),()=>{window.removeEventListener("visibilitychange",n)}}})}onSubscribe(){Z(this,ci)||this.setEventListener(Z(this,dl))}onUnsubscribe(){var t;this.hasListeners()||((t=Z(this,ci))==null||t.call(this),qe(this,ci,void 0))}setEventListener(t){var n;qe(this,dl,t),(n=Z(this,ci))==null||n.call(this),qe(this,ci,t(r=>{typeof r=="boolean"?this.setFocused(r):this.onFocus()}))}setFocused(t){Z(this,_i)!==t&&(qe(this,_i,t),this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(n=>{n(t)})}isFocused(){var t;return typeof Z(this,_i)=="boolean"?Z(this,_i):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},_i=new WeakMap,ci=new WeakMap,dl=new WeakMap,i0),Wy=new e6,pl,ui,vl,a0,t6=(a0=class extends Wl{constructor(){super();gt(this,pl,!0);gt(this,ui);gt(this,vl);qe(this,vl,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(){Z(this,ui)||this.setEventListener(Z(this,vl))}onUnsubscribe(){var t;this.hasListeners()||((t=Z(this,ui))==null||t.call(this),qe(this,ui,void 0))}setEventListener(t){var n;qe(this,vl,t),(n=Z(this,ui))==null||n.call(this),qe(this,ui,t(this.setOnline.bind(this)))}setOnline(t){Z(this,pl)!==t&&(qe(this,pl,t),this.listeners.forEach(r=>{r(t)}))}isOnline(){return Z(this,pl)}},pl=new WeakMap,ui=new WeakMap,vl=new WeakMap,a0),mp=new t6;function jg(){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 n6(e){return Math.min(1e3*2**e,3e4)}function e2(e){return(e??"online")==="online"?mp.isOnline():!0}var t2=class extends Error{constructor(e){super("CancelledError"),this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent}};function Mm(e){return e instanceof t2}function n2(e){let t=!1,n=0,r=!1,s;const a=jg(),l=w=>{var x;r||(y(new t2(w)),(x=e.abort)==null||x.call(e))},u=()=>{t=!0},f=()=>{t=!1},p=()=>Wy.isFocused()&&(e.networkMode==="always"||mp.isOnline())&&e.canRun(),h=()=>e2(e.networkMode)&&e.canRun(),m=w=>{var x;r||(r=!0,(x=e.onSuccess)==null||x.call(e,w),s==null||s(),a.resolve(w))},y=w=>{var x;r||(r=!0,(x=e.onError)==null||x.call(e,w),s==null||s(),a.reject(w))},H=()=>new Promise(w=>{var x;s=S=>{(r||p())&&w(S)},(x=e.onPause)==null||x.call(e)}).then(()=>{var w;s=void 0,r||(w=e.onContinue)==null||w.call(e)}),A=()=>{if(r)return;let w;const x=n===0?e.initialPromise:void 0;try{w=x??e.fn()}catch(S){w=Promise.reject(S)}Promise.resolve(w).then(m).catch(S=>{var k;if(r)return;const z=e.retry??(va?0:3),O=e.retryDelay??n6,C=typeof O=="function"?O(n,S):O,D=z===!0||typeof z=="number"&&np()?void 0:H()).then(()=>{t?y(S):A()})})};return{promise:a,cancel:l,continue:()=>(s==null||s(),a),cancelRetry:u,continueRetry:f,canStart:h,start:()=>(h()?A():H().then(A),a)}}function r6(){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=r6(),$i,l0,r2=(l0=class{constructor(){gt(this,$i)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),xg(this.gcTime)&&qe(this,$i,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(va?1/0:5*60*1e3))}clearGcTimeout(){Z(this,$i)&&(clearTimeout(Z(this,$i)),qe(this,$i,void 0))}},$i=new WeakMap,l0),hl,ml,so,or,Mu,ea,Do,js,c0,o6=(c0=class extends r2{constructor(t){super();gt(this,Do);gt(this,hl);gt(this,ml);gt(this,so);gt(this,or);gt(this,Mu);gt(this,ea);qe(this,ea,!1),qe(this,Mu,t.defaultOptions),this.setOptions(t.options),this.observers=[],qe(this,so,t.cache),this.queryKey=t.queryKey,this.queryHash=t.queryHash,qe(this,hl,s6(this.options)),this.state=t.state??Z(this,hl),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var t;return(t=Z(this,or))==null?void 0:t.promise}setOptions(t){this.options={...Z(this,Mu),...t},this.updateGcTime(this.options.gcTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&Z(this,so).remove(this)}setData(t,n){const r=Hg(this.state.data,t,this.options);return zt(this,Do,js).call(this,{data:r,type:"success",dataUpdatedAt:n==null?void 0:n.updatedAt,manual:n==null?void 0:n.manual}),r}setState(t,n){zt(this,Do,js).call(this,{type:"setState",state:t,setStateOptions:n})}cancel(t){var r,s;const n=(r=Z(this,or))==null?void 0:r.promise;return(s=Z(this,or))==null||s.cancel(t),n?n.then(io).catch(io):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(Z(this,hl))}isActive(){return this.observers.some(t=>To(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===Iy||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||!K1(this.state.dataUpdatedAt,t)}onFocus(){var n;const t=this.observers.find(r=>r.shouldFetchOnWindowFocus());t==null||t.refetch({cancelRefetch:!1}),(n=Z(this,or))==null||n.continue()}onOnline(){var n;const t=this.observers.find(r=>r.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(n=Z(this,or))==null||n.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),Z(this,so).notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(n=>n!==t),this.observers.length||(Z(this,or)&&(Z(this,ea)?Z(this,or).cancel({revert:!0}):Z(this,or).cancelRetry()),this.scheduleGc()),Z(this,so).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||zt(this,Do,js).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(Z(this,or))return Z(this,or).continueRetry(),Z(this,or).promise}if(t&&this.setOptions(t),!this.options.queryFn){const m=this.observers.find(y=>y.options.queryFn);m&&this.setOptions(m.options)}const r=new AbortController,s=m=>{Object.defineProperty(m,"signal",{enumerable:!0,get:()=>(qe(this,ea,!0),r.signal)})},a=()=>{const m=$1(this.options,n),y={queryKey:this.queryKey,meta:this.meta};return s(y),qe(this,ea,!1),this.options.persister?this.options.persister(m,y,this):m(y)},l={fetchOptions:n,options:this.options,queryKey:this.queryKey,state:this.state,fetchFn:a};s(l),(f=this.options.behavior)==null||f.onFetch(l,this),qe(this,ml,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((p=l.fetchOptions)==null?void 0:p.meta))&&zt(this,Do,js).call(this,{type:"fetch",meta:(h=l.fetchOptions)==null?void 0:h.meta});const u=m=>{var y,H,A,w;Mm(m)&&m.silent||zt(this,Do,js).call(this,{type:"error",error:m}),Mm(m)||((H=(y=Z(this,so).config).onError)==null||H.call(y,m,this),(w=(A=Z(this,so).config).onSettled)==null||w.call(A,this.state.data,m,this)),this.scheduleGc()};return qe(this,or,n2({initialPromise:n==null?void 0:n.initialPromise,fn:l.fetchFn,abort:r.abort.bind(r),onSuccess:m=>{var y,H,A,w;if(m===void 0){u(new Error(`${this.queryHash} data is undefined`));return}try{this.setData(m)}catch(x){u(x);return}(H=(y=Z(this,so).config).onSuccess)==null||H.call(y,m,this),(w=(A=Z(this,so).config).onSettled)==null||w.call(A,m,this.state.error,this),this.scheduleGc()},onError:u,onFail:(m,y)=>{zt(this,Do,js).call(this,{type:"failed",failureCount:m,error:y})},onPause:()=>{zt(this,Do,js).call(this,{type:"pause"})},onContinue:()=>{zt(this,Do,js).call(this,{type:"continue"})},retry:l.options.retry,retryDelay:l.options.retryDelay,networkMode:l.options.networkMode,canRun:()=>!0})),Z(this,or).start()}},hl=new WeakMap,ml=new WeakMap,so=new WeakMap,or=new WeakMap,Mu=new WeakMap,ea=new WeakMap,Do=new WeakSet,js=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,...o2(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 Mm(s)&&s.revert&&Z(this,ml)?{...Z(this,ml),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()}),Z(this,so).notify({query:this,type:"updated",action:t})})},c0);function o2(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:e2(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function s6(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 Zo,u0,i6=(u0=class extends Wl{constructor(t={}){super();gt(this,Zo);this.config=t,qe(this,Zo,new Map)}build(t,n,r){const s=n.queryKey,a=n.queryHash??Vy(s,n);let l=this.get(a);return l||(l=new o6({cache:this,queryKey:s,queryHash:a,options:t.defaultQueryOptions(n),state:r,defaultOptions:t.getQueryDefaults(s)}),this.add(l)),l}add(t){Z(this,Zo).has(t.queryHash)||(Z(this,Zo).set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const n=Z(this,Zo).get(t.queryHash);n&&(t.destroy(),n===t&&Z(this,Zo).delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){In.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return Z(this,Zo).get(t)}getAll(){return[...Z(this,Zo).values()]}find(t){const n={exact:!0,...t};return this.getAll().find(r=>qx(n,r))}findAll(t={}){const n=this.getAll();return Object.keys(t).length>0?n.filter(r=>qx(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()})})}},Zo=new WeakMap,u0),Go,dr,ta,Uo,si,f0,a6=(f0=class extends r2{constructor(t){super();gt(this,Uo);gt(this,Go);gt(this,dr);gt(this,ta);this.mutationId=t.mutationId,qe(this,dr,t.mutationCache),qe(this,Go,[]),this.state=t.state||s2(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){Z(this,Go).includes(t)||(Z(this,Go).push(t),this.clearGcTimeout(),Z(this,dr).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){qe(this,Go,Z(this,Go).filter(n=>n!==t)),this.scheduleGc(),Z(this,dr).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){Z(this,Go).length||(this.state.status==="pending"?this.scheduleGc():Z(this,dr).remove(this))}continue(){var t;return((t=Z(this,ta))==null?void 0:t.continue())??this.execute(this.state.variables)}async execute(t){var s,a,l,u,f,p,h,m,y,H,A,w,x,S,z,O,C,D,k,R;qe(this,ta,n2({fn:()=>this.options.mutationFn?this.options.mutationFn(t):Promise.reject(new Error("No mutationFn found")),onFail:(M,L)=>{zt(this,Uo,si).call(this,{type:"failed",failureCount:M,error:L})},onPause:()=>{zt(this,Uo,si).call(this,{type:"pause"})},onContinue:()=>{zt(this,Uo,si).call(this,{type:"continue"})},retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>Z(this,dr).canRun(this)}));const n=this.state.status==="pending",r=!Z(this,ta).canStart();try{if(!n){zt(this,Uo,si).call(this,{type:"pending",variables:t,isPaused:r}),await((a=(s=Z(this,dr).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&&zt(this,Uo,si).call(this,{type:"pending",context:L,variables:t,isPaused:r})}const M=await Z(this,ta).start();return await((p=(f=Z(this,dr).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((H=(y=Z(this,dr).config).onSettled)==null?void 0:H.call(y,M,null,this.state.variables,this.state.context,this)),await((w=(A=this.options).onSettled)==null?void 0:w.call(A,M,null,t,this.state.context)),zt(this,Uo,si).call(this,{type:"success",data:M}),M}catch(M){try{throw await((S=(x=Z(this,dr).config).onError)==null?void 0:S.call(x,M,t,this.state.context,this)),await((O=(z=this.options).onError)==null?void 0:O.call(z,M,t,this.state.context)),await((D=(C=Z(this,dr).config).onSettled)==null?void 0:D.call(C,void 0,M,this.state.variables,this.state.context,this)),await((R=(k=this.options).onSettled)==null?void 0:R.call(k,void 0,M,t,this.state.context)),M}finally{zt(this,Uo,si).call(this,{type:"error",error:M})}}finally{Z(this,dr).runNext(this)}}},Go=new WeakMap,dr=new WeakMap,ta=new WeakMap,Uo=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(()=>{Z(this,Go).forEach(r=>{r.onMutationUpdate(t)}),Z(this,dr).notify({mutation:this,type:"updated",action:t})})},f0);function s2(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var Wr,Lu,d0,l6=(d0=class extends Wl{constructor(t={}){super();gt(this,Wr);gt(this,Lu);this.config=t,qe(this,Wr,new Map),qe(this,Lu,Date.now())}build(t,n,r){const s=new a6({mutationCache:this,mutationId:++pd(this,Lu)._,options:t.defaultMutationOptions(n),state:r});return this.add(s),s}add(t){const n=Hd(t),r=Z(this,Wr).get(n)??[];r.push(t),Z(this,Wr).set(n,r),this.notify({type:"added",mutation:t})}remove(t){var r;const n=Hd(t);if(Z(this,Wr).has(n)){const s=(r=Z(this,Wr).get(n))==null?void 0:r.filter(a=>a!==t);s&&(s.length===0?Z(this,Wr).delete(n):Z(this,Wr).set(n,s))}this.notify({type:"removed",mutation:t})}canRun(t){var r;const n=(r=Z(this,Wr).get(Hd(t)))==null?void 0:r.find(s=>s.state.status==="pending");return!n||n===t}runNext(t){var r;const n=(r=Z(this,Wr).get(Hd(t)))==null?void 0:r.find(s=>s!==t&&s.state.isPaused);return(n==null?void 0:n.continue())??Promise.resolve()}clear(){In.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}getAll(){return[...Z(this,Wr).values()].flat()}find(t){const n={exact:!0,...t};return this.getAll().find(r=>Zx(n,r))}findAll(t={}){return this.getAll().filter(n=>Zx(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(io))))}},Wr=new WeakMap,Lu=new WeakMap,d0);function Hd(e){var t;return((t=e.options.scope)==null?void 0:t.id)??String(e.mutationId)}function Qx(e){return{onFetch:(t,n)=>{var h,m,y,H,A;const r=t.options,s=(y=(m=(h=t.fetchOptions)==null?void 0:h.meta)==null?void 0:m.fetchMore)==null?void 0:y.direction,a=((H=t.state.data)==null?void 0:H.pages)||[],l=((A=t.state.data)==null?void 0:A.pageParams)||[];let u={pages:[],pageParams:[]},f=0;const p=async()=>{let w=!1;const x=O=>{Object.defineProperty(O,"signal",{enumerable:!0,get:()=>(t.signal.aborted?w=!0:t.signal.addEventListener("abort",()=>{w=!0}),t.signal)})},S=$1(t.options,t.fetchOptions),z=async(O,C,D)=>{if(w)return Promise.reject();if(C==null&&O.pages.length)return Promise.resolve(O);const k={queryKey:t.queryKey,pageParam:C,direction:D?"backward":"forward",meta:t.options.meta};x(k);const R=await S(k),{maxPages:M}=t.options,L=D?$E:_E;return{pages:L(O.pages,R,M),pageParams:L(O.pageParams,C,M)}};if(s&&a.length){const O=s==="backward",C=O?c6:Kx,D={pages:a,pageParams:l},k=C(r,D);u=await z(D,k,O)}else{const O=e??a.length;do{const C=f===0?l[0]??r.initialPageParam:Kx(r,u);if(f>0&&C==null)break;u=await z(u,C),f++}while(f{var w,x;return(x=(w=t.options).persister)==null?void 0:x.call(w,p,{queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n)}:t.fetchFn=p}}}function Kx(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 c6(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 Hn,fi,di,gl,yl,pi,Al,Pl,p0,u6=(p0=class{constructor(e={}){gt(this,Hn);gt(this,fi);gt(this,di);gt(this,gl);gt(this,yl);gt(this,pi);gt(this,Al);gt(this,Pl);qe(this,Hn,e.queryCache||new i6),qe(this,fi,e.mutationCache||new l6),qe(this,di,e.defaultOptions||{}),qe(this,gl,new Map),qe(this,yl,new Map),qe(this,pi,0)}mount(){pd(this,pi)._++,Z(this,pi)===1&&(qe(this,Al,Wy.subscribe(async e=>{e&&(await this.resumePausedMutations(),Z(this,Hn).onFocus())})),qe(this,Pl,mp.subscribe(async e=>{e&&(await this.resumePausedMutations(),Z(this,Hn).onOnline())})))}unmount(){var e,t;pd(this,pi)._--,Z(this,pi)===0&&((e=Z(this,Al))==null||e.call(this),qe(this,Al,void 0),(t=Z(this,Pl))==null||t.call(this),qe(this,Pl,void 0))}isFetching(e){return Z(this,Hn).findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return Z(this,fi).findAll({...e,status:"pending"}).length}getQueryData(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=Z(this,Hn).get(t.queryHash))==null?void 0:n.state.data}ensureQueryData(e){const t=this.getQueryData(e.queryKey);if(t===void 0)return this.fetchQuery(e);{const n=this.defaultQueryOptions(e),r=Z(this,Hn).build(this,n);return e.revalidateIfStale&&r.isStaleByTime(ul(n.staleTime,r))&&this.prefetchQuery(n),Promise.resolve(t)}}getQueriesData(e){return Z(this,Hn).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=Z(this,Hn).get(r.queryHash),a=s==null?void 0:s.state.data,l=QE(t,a);if(l!==void 0)return Z(this,Hn).build(this,r).setData(l,{...n,manual:!0})}setQueriesData(e,t,n){return In.batch(()=>Z(this,Hn).findAll(e).map(({queryKey:r})=>[r,this.setQueryData(r,t,n)]))}getQueryState(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=Z(this,Hn).get(t.queryHash))==null?void 0:n.state}removeQueries(e){const t=Z(this,Hn);In.batch(()=>{t.findAll(e).forEach(n=>{t.remove(n)})})}resetQueries(e,t){const n=Z(this,Hn),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(()=>Z(this,Hn).findAll(e).map(s=>s.cancel(n)));return Promise.all(r).then(io).catch(io)}invalidateQueries(e,t={}){return In.batch(()=>{if(Z(this,Hn).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(()=>Z(this,Hn).findAll(e).filter(s=>!s.isDisabled()).map(s=>{let a=s.fetch(void 0,n);return n.throwOnError||(a=a.catch(io)),s.state.fetchStatus==="paused"?Promise.resolve():a}));return Promise.all(r).then(io)}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const n=Z(this,Hn).build(this,t);return n.isStaleByTime(ul(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(io).catch(io)}fetchInfiniteQuery(e){return e.behavior=Qx(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(io).catch(io)}ensureInfiniteQueryData(e){return e.behavior=Qx(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return mp.isOnline()?Z(this,fi).resumePausedMutations():Promise.resolve()}getQueryCache(){return Z(this,Hn)}getMutationCache(){return Z(this,fi)}getDefaultOptions(){return Z(this,di)}setDefaultOptions(e){qe(this,di,e)}setQueryDefaults(e,t){Z(this,gl).set(ha(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...Z(this,gl).values()],n={};return t.forEach(r=>{ku(e,r.queryKey)&&Object.assign(n,r.defaultOptions)}),n}setMutationDefaults(e,t){Z(this,yl).set(ha(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...Z(this,yl).values()];let n={};return t.forEach(r=>{ku(e,r.mutationKey)&&(n={...n,...r.defaultOptions})}),n}defaultQueryOptions(e){if(e._defaulted)return e;const t={...Z(this,di).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=Vy(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===Iy&&(t.enabled=!1),t}defaultMutationOptions(e){return e!=null&&e._defaulted?e:{...Z(this,di).mutations,...(e==null?void 0:e.mutationKey)&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){Z(this,Hn).clear(),Z(this,fi).clear()}},Hn=new WeakMap,fi=new WeakMap,di=new WeakMap,gl=new WeakMap,yl=new WeakMap,pi=new WeakMap,Al=new WeakMap,Pl=new WeakMap,p0),Hr,Bt,Xu,pr,na,bl,vi,Qo,Nu,xl,wl,ra,oa,hi,Hl,Gt,su,Sg,zg,Og,Cg,Dg,Tg,kg,i2,v0,f6=(v0=class extends Wl{constructor(t,n){super();gt(this,Gt);gt(this,Hr);gt(this,Bt);gt(this,Xu);gt(this,pr);gt(this,na);gt(this,bl);gt(this,vi);gt(this,Qo);gt(this,Nu);gt(this,xl);gt(this,wl);gt(this,ra);gt(this,oa);gt(this,hi);gt(this,Hl,new Set);this.options=n,qe(this,Hr,t),qe(this,Qo,null),qe(this,vi,jg()),this.options.experimental_prefetchInRender||Z(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&&(Z(this,Bt).addObserver(this),_x(Z(this,Bt),this.options)?zt(this,Gt,su).call(this):this.updateResult(),zt(this,Gt,Cg).call(this))}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return Rg(Z(this,Bt),this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return Rg(Z(this,Bt),this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,zt(this,Gt,Dg).call(this),zt(this,Gt,Tg).call(this),Z(this,Bt).removeObserver(this)}setOptions(t,n){const r=this.options,s=Z(this,Bt);if(this.options=Z(this,Hr).defaultQueryOptions(t),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean"&&typeof this.options.enabled!="function"&&typeof To(this.options.enabled,Z(this,Bt))!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");zt(this,Gt,kg).call(this),Z(this,Bt).setOptions(this.options),r._defaulted&&!hp(this.options,r)&&Z(this,Hr).getQueryCache().notify({type:"observerOptionsUpdated",query:Z(this,Bt),observer:this});const a=this.hasListeners();a&&$x(Z(this,Bt),s,this.options,r)&&zt(this,Gt,su).call(this),this.updateResult(n),a&&(Z(this,Bt)!==s||To(this.options.enabled,Z(this,Bt))!==To(r.enabled,Z(this,Bt))||ul(this.options.staleTime,Z(this,Bt))!==ul(r.staleTime,Z(this,Bt)))&&zt(this,Gt,Sg).call(this);const l=zt(this,Gt,zg).call(this);a&&(Z(this,Bt)!==s||To(this.options.enabled,Z(this,Bt))!==To(r.enabled,Z(this,Bt))||l!==Z(this,hi))&&zt(this,Gt,Og).call(this,l)}getOptimisticResult(t){const n=Z(this,Hr).getQueryCache().build(Z(this,Hr),t),r=this.createResult(n,t);return p6(this,r)&&(qe(this,pr,r),qe(this,bl,this.options),qe(this,na,Z(this,Bt).state)),r}getCurrentResult(){return Z(this,pr)}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){Z(this,Hl).add(t)}getCurrentQuery(){return Z(this,Bt)}refetch({...t}={}){return this.fetch({...t})}fetchOptimistic(t){const n=Z(this,Hr).defaultQueryOptions(t),r=Z(this,Hr).getQueryCache().build(Z(this,Hr),n);return r.fetch().then(()=>this.createResult(r,n))}fetch(t){return zt(this,Gt,su).call(this,{...t,cancelRefetch:t.cancelRefetch??!0}).then(()=>(this.updateResult(),Z(this,pr)))}createResult(t,n){var M;const r=Z(this,Bt),s=this.options,a=Z(this,pr),l=Z(this,na),u=Z(this,bl),p=t!==r?t.state:Z(this,Xu),{state:h}=t;let m={...h},y=!1,H;if(n._optimisticResults){const L=this.hasListeners(),j=!L&&_x(t,n),B=L&&$x(t,r,n,s);(j||B)&&(m={...m,...o2(h.data,t.options)}),n._optimisticResults==="isRestoring"&&(m.fetchStatus="idle")}let{error:A,errorUpdatedAt:w,status:x}=m;if(n.select&&m.data!==void 0)if(a&&m.data===(l==null?void 0:l.data)&&n.select===Z(this,Nu))H=Z(this,xl);else try{qe(this,Nu,n.select),H=n.select(m.data),H=Hg(a==null?void 0:a.data,H,n),qe(this,xl,H),qe(this,Qo,null)}catch(L){qe(this,Qo,L)}else H=m.data;if(n.placeholderData!==void 0&&H===void 0&&x==="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=Z(this,wl))==null?void 0:M.state.data,Z(this,wl)):n.placeholderData,n.select&&L!==void 0)try{L=n.select(L),qe(this,Qo,null)}catch(j){qe(this,Qo,j)}L!==void 0&&(x="success",H=Hg(a==null?void 0:a.data,L,n),y=!0)}Z(this,Qo)&&(A=Z(this,Qo),H=Z(this,xl),w=Date.now(),x="error");const S=m.fetchStatus==="fetching",z=x==="pending",O=x==="error",C=z&&S,D=H!==void 0,R={status:x,fetchStatus:m.fetchStatus,isPending:z,isSuccess:x==="success",isError:O,isInitialLoading:C,isLoading:C,data:H,dataUpdatedAt:m.dataUpdatedAt,error:A,errorUpdatedAt:w,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&&!z,isLoadingError:O&&!D,isPaused:m.fetchStatus==="paused",isPlaceholderData:y,isRefetchError:O&&D,isStale:Jy(t,n),refetch:this.refetch,promise:Z(this,vi)};if(this.options.experimental_prefetchInRender){const L=I=>{R.status==="error"?I.reject(R.error):R.data!==void 0&&I.resolve(R.data)},j=()=>{const I=qe(this,vi,R.promise=jg());L(I)},B=Z(this,vi);switch(B.status){case"pending":t.queryHash===r.queryHash&&L(B);break;case"fulfilled":(R.status==="error"||R.data!==B.value)&&j();break;case"rejected":(R.status!=="error"||R.error!==B.reason)&&j();break}}return R}updateResult(t){const n=Z(this,pr),r=this.createResult(Z(this,Bt),this.options);if(qe(this,na,Z(this,Bt).state),qe(this,bl,this.options),Z(this,na).data!==void 0&&qe(this,wl,Z(this,Bt)),hp(r,n))return;qe(this,pr,r);const s={},a=()=>{if(!n)return!0;const{notifyOnChangeProps:l}=this.options,u=typeof l=="function"?l():l;if(u==="all"||!u&&!Z(this,Hl).size)return!0;const f=new Set(u??Z(this,Hl));return this.options.throwOnError&&f.add("error"),Object.keys(Z(this,pr)).some(p=>{const h=p;return Z(this,pr)[h]!==n[h]&&f.has(h)})};(t==null?void 0:t.listeners)!==!1&&a()&&(s.listeners=!0),zt(this,Gt,i2).call(this,{...s,...t})}onQueryUpdate(){this.updateResult(),this.hasListeners()&&zt(this,Gt,Cg).call(this)}},Hr=new WeakMap,Bt=new WeakMap,Xu=new WeakMap,pr=new WeakMap,na=new WeakMap,bl=new WeakMap,vi=new WeakMap,Qo=new WeakMap,Nu=new WeakMap,xl=new WeakMap,wl=new WeakMap,ra=new WeakMap,oa=new WeakMap,hi=new WeakMap,Hl=new WeakMap,Gt=new WeakSet,su=function(t){zt(this,Gt,kg).call(this);let n=Z(this,Bt).fetch(this.options,t);return t!=null&&t.throwOnError||(n=n.catch(io)),n},Sg=function(){zt(this,Gt,Dg).call(this);const t=ul(this.options.staleTime,Z(this,Bt));if(va||Z(this,pr).isStale||!xg(t))return;const r=K1(Z(this,pr).dataUpdatedAt,t)+1;qe(this,ra,setTimeout(()=>{Z(this,pr).isStale||this.updateResult()},r))},zg=function(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(Z(this,Bt)):this.options.refetchInterval)??!1},Og=function(t){zt(this,Gt,Tg).call(this),qe(this,hi,t),!(va||To(this.options.enabled,Z(this,Bt))===!1||!xg(Z(this,hi))||Z(this,hi)===0)&&qe(this,oa,setInterval(()=>{(this.options.refetchIntervalInBackground||Wy.isFocused())&&zt(this,Gt,su).call(this)},Z(this,hi)))},Cg=function(){zt(this,Gt,Sg).call(this),zt(this,Gt,Og).call(this,zt(this,Gt,zg).call(this))},Dg=function(){Z(this,ra)&&(clearTimeout(Z(this,ra)),qe(this,ra,void 0))},Tg=function(){Z(this,oa)&&(clearInterval(Z(this,oa)),qe(this,oa,void 0))},kg=function(){const t=Z(this,Hr).getQueryCache().build(Z(this,Hr),this.options);if(t===Z(this,Bt))return;const n=Z(this,Bt);qe(this,Bt,t),qe(this,Xu,t.state),this.hasListeners()&&(n==null||n.removeObserver(this),t.addObserver(this))},i2=function(t){In.batch(()=>{t.listeners&&this.listeners.forEach(n=>{n(Z(this,pr))}),Z(this,Hr).getQueryCache().notify({query:Z(this,Bt),type:"observerResultsUpdated"})})},v0);function d6(e,t){return To(t.enabled,e)!==!1&&e.state.data===void 0&&!(e.state.status==="error"&&t.retryOnMount===!1)}function _x(e,t){return d6(e,t)||e.state.data!==void 0&&Rg(e,t,t.refetchOnMount)}function Rg(e,t,n){if(To(t.enabled,e)!==!1){const r=typeof n=="function"?n(e):n;return r==="always"||r!==!1&&Jy(e,t)}return!1}function $x(e,t,n,r){return(e!==t||To(r.enabled,e)===!1)&&(!n.suspense||e.state.status!=="error")&&Jy(e,n)}function Jy(e,t){return To(t.enabled,e)!==!1&&e.isStaleByTime(ul(t.staleTime,e))}function p6(e,t){return!hp(e.getCurrentResult(),t)}var mi,gi,jr,zs,Ts,Jd,Eg,h0,v6=(h0=class extends Wl{constructor(n,r){super();gt(this,Ts);gt(this,mi);gt(this,gi);gt(this,jr);gt(this,zs);qe(this,mi,n),this.setOptions(r),this.bindMethods(),zt(this,Ts,Jd).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=Z(this,mi).defaultMutationOptions(n),hp(this.options,r)||Z(this,mi).getMutationCache().notify({type:"observerOptionsUpdated",mutation:Z(this,jr),observer:this}),r!=null&&r.mutationKey&&this.options.mutationKey&&ha(r.mutationKey)!==ha(this.options.mutationKey)?this.reset():((s=Z(this,jr))==null?void 0:s.state.status)==="pending"&&Z(this,jr).setOptions(this.options)}onUnsubscribe(){var n;this.hasListeners()||(n=Z(this,jr))==null||n.removeObserver(this)}onMutationUpdate(n){zt(this,Ts,Jd).call(this),zt(this,Ts,Eg).call(this,n)}getCurrentResult(){return Z(this,gi)}reset(){var n;(n=Z(this,jr))==null||n.removeObserver(this),qe(this,jr,void 0),zt(this,Ts,Jd).call(this),zt(this,Ts,Eg).call(this)}mutate(n,r){var s;return qe(this,zs,r),(s=Z(this,jr))==null||s.removeObserver(this),qe(this,jr,Z(this,mi).getMutationCache().build(Z(this,mi),this.options)),Z(this,jr).addObserver(this),Z(this,jr).execute(n)}},mi=new WeakMap,gi=new WeakMap,jr=new WeakMap,zs=new WeakMap,Ts=new WeakSet,Jd=function(){var r;const n=((r=Z(this,jr))==null?void 0:r.state)??s2();qe(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})},Eg=function(n){In.batch(()=>{var r,s,a,l,u,f,p,h;if(Z(this,zs)&&this.hasListeners()){const m=Z(this,gi).variables,y=Z(this,gi).context;(n==null?void 0:n.type)==="success"?((s=(r=Z(this,zs)).onSuccess)==null||s.call(r,n.data,m,y),(l=(a=Z(this,zs)).onSettled)==null||l.call(a,n.data,null,m,y)):(n==null?void 0:n.type)==="error"&&((f=(u=Z(this,zs)).onError)==null||f.call(u,n.error,m,y),(h=(p=Z(this,zs)).onSettled)==null||h.call(p,void 0,n.error,m,y))}this.listeners.forEach(m=>{m(Z(this,gi))})})},h0),a2=P.createContext(void 0),nv=e=>{const t=P.useContext(a2);if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},h6=({client:e,children:t})=>(P.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),v.jsx(a2.Provider,{value:e,children:t})),l2=P.createContext(!1),m6=()=>P.useContext(l2);l2.Provider;function g6(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}var y6=P.createContext(g6()),A6=()=>P.useContext(y6);function c2(e,t){return typeof e=="function"?e(...t):!!e}function Mg(){}var P6=(e,t)=>{(e.suspense||e.throwOnError||e.experimental_prefetchInRender)&&(t.isReset()||(e.retryOnMount=!1))},b6=e=>{P.useEffect(()=>{e.clearReset()},[e])},x6=({result:e,errorResetBoundary:t,throwOnError:n,query:r})=>e.isError&&!t.isReset()&&!e.isFetching&&r&&c2(n,[e.error,r]),w6=e=>{e.suspense&&(e.staleTime===void 0&&(e.staleTime=1e3),typeof e.gcTime=="number"&&(e.gcTime=Math.max(e.gcTime,1e3)))},H6=(e,t)=>e.isLoading&&e.isFetching&&!t,j6=(e,t)=>(e==null?void 0:e.suspense)&&t.isPending,ew=(e,t,n)=>t.fetchOptimistic(e).catch(()=>{n.clearReset()});function S6(e,t,n){var h,m,y,H,A;const r=nv(),s=m6(),a=A6(),l=r.defaultQueryOptions(e);(m=(h=r.getDefaultOptions().queries)==null?void 0:h._experimental_beforeQuery)==null||m.call(h,l),l._optimisticResults=s?"isRestoring":"optimistic",w6(l),P6(l,a),b6(a);const u=!r.getQueryCache().get(l.queryHash),[f]=P.useState(()=>new t(r,l)),p=f.getOptimisticResult(l);if(P.useSyncExternalStore(P.useCallback(w=>{const x=s?Mg:f.subscribe(In.batchCalls(w));return f.updateResult(),x},[f,s]),()=>f.getCurrentResult(),()=>f.getCurrentResult()),P.useEffect(()=>{f.setOptions(l,{listeners:!1})},[l,f]),j6(l,p))throw ew(l,f,a);if(x6({result:p,errorResetBoundary:a,throwOnError:l.throwOnError,query:r.getQueryCache().get(l.queryHash)}))throw p.error;if((H=(y=r.getDefaultOptions().queries)==null?void 0:y._experimental_afterQuery)==null||H.call(y,l,p),l.experimental_prefetchInRender&&!va&&H6(p,s)){const w=u?ew(l,f,a):(A=r.getQueryCache().get(l.queryHash))==null?void 0:A.promise;w==null||w.catch(Mg).finally(()=>{f.updateResult()})}return l.notifyOnChangeProps?p:f.trackResult(p)}function _n(e,t){return S6(e,f6)}function Ml(e,t){const n=nv(),[r]=P.useState(()=>new v6(n,e));P.useEffect(()=>{r.setOptions(e)},[r,e]);const s=P.useSyncExternalStore(P.useCallback(l=>r.subscribe(In.batchCalls(l)),[r]),()=>r.getCurrentResult(),()=>r.getCurrentResult()),a=P.useCallback((l,u)=>{r.mutate(l,u).catch(Mg)},[r]);if(s.error&&c2(r.options.throwOnError,[s.error]))throw s.error;return{...s,mutate:a,mutateAsync:s.mutate}}var jd={},tw;function z6(){if(tw)return jd;tw=1;var e=f1();return jd.createRoot=e.createRoot,jd.hydrateRoot=e.hydrateRoot,jd}var O6=z6();const C6=Op(O6);var Vc={},nw;function D6(){if(nw)return Vc;nw=1,Object.defineProperty(Vc,"__esModule",{value:!0}),Vc.parse=l,Vc.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 y=function(){};return y.prototype=Object.create(null),y})();function l(y,H){const A=new a,w=y.length;if(w<2)return A;const x=(H==null?void 0:H.decode)||h;let S=0;do{const z=y.indexOf("=",S);if(z===-1)break;const O=y.indexOf(";",S),C=O===-1?w:O;if(z>C){S=y.lastIndexOf(";",z-1)+1;continue}const D=u(y,S,z),k=f(y,z,D),R=y.slice(D,k);if(A[R]===void 0){let M=u(y,z+1,C),L=f(y,C,M);const j=x(y.slice(M,L));A[R]=j}S=C+1}while(SA;){const w=y.charCodeAt(--H);if(w!==32&&w!==9)return H+1}return A}function p(y,H,A){const w=(A==null?void 0:A.encode)||encodeURIComponent;if(!e.test(y))throw new TypeError(`argument name is invalid: ${y}`);const x=w(H);if(!t.test(x))throw new TypeError(`argument val is invalid: ${H}`);let S=y+"="+x;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(y){if(y.indexOf("%")===-1)return y;try{return decodeURIComponent(y)}catch{return y}}function m(y){return s.call(y)==="[object Date]"}return Vc}D6();/** * react-router v7.0.2 * * Copyright (c) Remix Software Inc. @@ -204,17 +204,17 @@ Error generating stack: `+b.message+` * LICENSE.md file in the root directory of this source tree. * * @license MIT - */var rw="popstate";function T6(e={}){function t(r,s){let{pathname:a,search:l,hash:u}=r.location;return Lg("",{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:Ru(s)}return R6(t,n,null,e)}function gn(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 k6(){return Math.random().toString(36).substring(2,10)}function ow(e,t){return{usr:e.state,key:e.key,idx:t}}function Lg(e,t,n=null,r){return{pathname:typeof e=="string"?e:e.pathname,search:"",hash:"",...typeof t=="string"?Jl(t):t,state:n,key:t&&t.key||r||k6()}}function Ru({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 Jl(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 R6(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 x=h(),S=x==null?null:x-p;p=x,f&&f({action:u,location:w.location,delta:S})}function y(x,S){u="PUSH";let z=Lg(w.location,x,S);p=h()+1;let O=ow(z,p),C=w.createHref(z);try{l.pushState(O,"",C)}catch(D){if(D instanceof DOMException&&D.name==="DataCloneError")throw D;s.location.assign(C)}a&&f&&f({action:u,location:w.location,delta:1})}function H(x,S){u="REPLACE";let z=Lg(w.location,x,S);p=h();let O=ow(z,p),C=w.createHref(z);l.replaceState(O,"",C),a&&f&&f({action:u,location:w.location,delta:0})}function A(x){let S=s.location.origin!=="null"?s.location.origin:s.location.href,z=typeof x=="string"?x:Ru(x);return z=z.replace(/ $/,"%20"),gn(S,`No window.location.(origin|href) available to create URL for href: ${z}`),new URL(z,S)}let w={get action(){return u},get location(){return e(s,l)},listen(x){if(f)throw new Error("A history only accepts one active listener");return s.addEventListener(rw,m),f=x,()=>{s.removeEventListener(rw,m),f=null}},createHref(x){return t(s,x)},createURL:A,encodeLocation(x){let S=A(x);return{pathname:S.pathname,search:S.search,hash:S.hash}},push:y,replace:H,go(x){return l.go(x)}};return w}function u2(e,t,n="/"){return E6(e,t,n,!1)}function E6(e,t,n,r){let s=typeof t=="string"?Jl(t):t,a=bi(s.pathname||"/",n);if(a==null)return null;let l=f2(e);M6(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("/")&&(gn(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=Ds([r,f.relativePath]),h=n.concat(f);a.children&&a.children.length>0&&(gn(a.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${p}".`),f2(a.children,t,h,p)),!(a.path==null&&!a.index)&&t.push({path:p,score:W6(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 d2(a.path))s(a,l,f)}),t}function d2(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=d2(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 M6(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:J6(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}var L6=/^:[\w-]+$/,X6=3,N6=2,B6=1,V6=10,I6=-2,sw=e=>e==="*";function W6(e,t){let n=e.split("/"),r=n.length;return n.some(sw)&&(r+=I6),t&&(r+=N6),n.filter(s=>!sw(s)).reduce((s,a)=>s+(L6.test(a)?X6:a===""?B6:V6),r)}function J6(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 F6(e,t,n=!1){let{routesMeta:r}=e,s={},a="/",l=[];for(let u=0;u{if(h==="*"){let A=u[y]||"";l=a.slice(0,a.length-A.length).replace(/(.)\/+$/,"$1")}const H=u[y];return m&&!H?p[h]=void 0:p[h]=(H||"").replace(/%2F/g,"/"),p},{}),pathname:a,pathnameBase:l,pattern:e}}function Y6(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 q6(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 is a malformed URL segment. This is probably due to a bad percent encoding (${t}).`),e}}function bi(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 Z6(e,t="/"){let{pathname:n,search:r="",hash:s=""}=typeof e=="string"?Jl(e):e;return{pathname:n?n.startsWith("/")?n:G6(n,t):t,search:K6(r),hash:_6(s)}}function G6(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 Lm(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 U6(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function p2(e){let t=U6(e);return t.map((n,r)=>r===t.length-1?n.pathname:n.pathnameBase)}function v2(e,t,n,r=!1){let s;typeof e=="string"?s=Jl(e):(s={...e},gn(!s.pathname||!s.pathname.includes("?"),Lm("?","pathname","search",s)),gn(!s.pathname||!s.pathname.includes("#"),Lm("#","pathname","hash",s)),gn(!s.search||!s.search.includes("#"),Lm("#","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 y=l.split("/");for(;y[0]==="..";)y.shift(),m-=1;s.pathname=y.join("/")}u=m>=0?t[m]:"/"}let f=Z6(s,u),p=l&&l!=="/"&&l.endsWith("/"),h=(a||l===".")&&n.endsWith("/");return!f.pathname.endsWith("/")&&(p||h)&&(f.pathname+="/"),f}var Ds=e=>e.join("/").replace(/\/\/+/g,"/"),Q6=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),K6=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,_6=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function $6(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}var h2=["POST","PUT","PATCH","DELETE"];new Set(h2);var eM=["GET",...h2];new Set(eM);var Fl=P.createContext(null);Fl.displayName="DataRouter";var rv=P.createContext(null);rv.displayName="DataRouterState";var m2=P.createContext({isTransitioning:!1});m2.displayName="ViewTransition";var tM=P.createContext(new Map);tM.displayName="Fetchers";var nM=P.createContext(null);nM.displayName="Await";var ls=P.createContext(null);ls.displayName="Navigation";var Uu=P.createContext(null);Uu.displayName="Location";var Ms=P.createContext({outlet:null,matches:[],isDataRoute:!1});Ms.displayName="Route";var Fy=P.createContext(null);Fy.displayName="RouteError";function rM(e,{relative:t}={}){gn(Qu(),"useHref() may be used only in the context of a component.");let{basename:n,navigator:r}=P.useContext(ls),{hash:s,pathname:a,search:l}=Ku(e,{relative:t}),u=a;return n!=="/"&&(u=a==="/"?n:Ds([n,a])),r.createHref({pathname:u,search:l,hash:s})}function Qu(){return P.useContext(Uu)!=null}function ji(){return gn(Qu(),"useLocation() may be used only in the context of a component."),P.useContext(Uu).location}var g2="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function y2(e){P.useContext(ls).static||P.useLayoutEffect(e)}function ov(){let{isDataRoute:e}=P.useContext(Ms);return e?mM():oM()}function oM(){gn(Qu(),"useNavigate() may be used only in the context of a component.");let e=P.useContext(Fl),{basename:t,navigator:n}=P.useContext(ls),{matches:r}=P.useContext(Ms),{pathname:s}=ji(),a=JSON.stringify(p2(r)),l=P.useRef(!1);return y2(()=>{l.current=!0}),P.useCallback((f,p={})=>{if(Lo(l.current,g2),!l.current)return;if(typeof f=="number"){n.go(f);return}let h=v2(f,JSON.parse(a),s,p.relative==="path");e==null&&t!=="/"&&(h.pathname=h.pathname==="/"?t:Ds([t,h.pathname])),(p.replace?n.replace:n.push)(h,p.state,p)},[t,n,a,s,e])}P.createContext(null);function Ku(e,{relative:t}={}){let{matches:n}=P.useContext(Ms),{pathname:r}=ji(),s=JSON.stringify(p2(n));return P.useMemo(()=>v2(e,JSON.parse(s),r,t==="path"),[e,s,r,t])}function sM(e,t){return A2(e,t)}function A2(e,t,n,r){var S;gn(Qu(),"useRoutes() may be used only in the context of a component.");let{navigator:s}=P.useContext(ls),{matches:a}=P.useContext(Ms),l=a[a.length-1],u=l?l.params:{},f=l?l.pathname:"/",p=l?l.pathnameBase:"/",h=l&&l.route;{let z=h&&h.path||"";P2(f,!h||z.endsWith("*")||z.endsWith("*?"),`You rendered descendant (or called \`useRoutes()\`) at "${f}" (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 rw="popstate";function T6(e={}){function t(r,s){let{pathname:a,search:l,hash:u}=r.location;return Lg("",{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:Ru(s)}return R6(t,n,null,e)}function yn(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 k6(){return Math.random().toString(36).substring(2,10)}function ow(e,t){return{usr:e.state,key:e.key,idx:t}}function Lg(e,t,n=null,r){return{pathname:typeof e=="string"?e:e.pathname,search:"",hash:"",...typeof t=="string"?Jl(t):t,state:n,key:t&&t.key||r||k6()}}function Ru({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 Jl(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 R6(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 x=h(),S=x==null?null:x-p;p=x,f&&f({action:u,location:w.location,delta:S})}function y(x,S){u="PUSH";let z=Lg(w.location,x,S);p=h()+1;let O=ow(z,p),C=w.createHref(z);try{l.pushState(O,"",C)}catch(D){if(D instanceof DOMException&&D.name==="DataCloneError")throw D;s.location.assign(C)}a&&f&&f({action:u,location:w.location,delta:1})}function H(x,S){u="REPLACE";let z=Lg(w.location,x,S);p=h();let O=ow(z,p),C=w.createHref(z);l.replaceState(O,"",C),a&&f&&f({action:u,location:w.location,delta:0})}function A(x){let S=s.location.origin!=="null"?s.location.origin:s.location.href,z=typeof x=="string"?x:Ru(x);return z=z.replace(/ $/,"%20"),yn(S,`No window.location.(origin|href) available to create URL for href: ${z}`),new URL(z,S)}let w={get action(){return u},get location(){return e(s,l)},listen(x){if(f)throw new Error("A history only accepts one active listener");return s.addEventListener(rw,m),f=x,()=>{s.removeEventListener(rw,m),f=null}},createHref(x){return t(s,x)},createURL:A,encodeLocation(x){let S=A(x);return{pathname:S.pathname,search:S.search,hash:S.hash}},push:y,replace:H,go(x){return l.go(x)}};return w}function u2(e,t,n="/"){return E6(e,t,n,!1)}function E6(e,t,n,r){let s=typeof t=="string"?Jl(t):t,a=bi(s.pathname||"/",n);if(a==null)return null;let l=f2(e);M6(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("/")&&(yn(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=Ds([r,f.relativePath]),h=n.concat(f);a.children&&a.children.length>0&&(yn(a.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${p}".`),f2(a.children,t,h,p)),!(a.path==null&&!a.index)&&t.push({path:p,score:W6(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 d2(a.path))s(a,l,f)}),t}function d2(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=d2(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 M6(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:J6(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}var L6=/^:[\w-]+$/,X6=3,N6=2,B6=1,V6=10,I6=-2,sw=e=>e==="*";function W6(e,t){let n=e.split("/"),r=n.length;return n.some(sw)&&(r+=I6),t&&(r+=N6),n.filter(s=>!sw(s)).reduce((s,a)=>s+(L6.test(a)?X6:a===""?B6:V6),r)}function J6(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 F6(e,t,n=!1){let{routesMeta:r}=e,s={},a="/",l=[];for(let u=0;u{if(h==="*"){let A=u[y]||"";l=a.slice(0,a.length-A.length).replace(/(.)\/+$/,"$1")}const H=u[y];return m&&!H?p[h]=void 0:p[h]=(H||"").replace(/%2F/g,"/"),p},{}),pathname:a,pathnameBase:l,pattern:e}}function Y6(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 q6(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 is a malformed URL segment. This is probably due to a bad percent encoding (${t}).`),e}}function bi(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 Z6(e,t="/"){let{pathname:n,search:r="",hash:s=""}=typeof e=="string"?Jl(e):e;return{pathname:n?n.startsWith("/")?n:G6(n,t):t,search:K6(r),hash:_6(s)}}function G6(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 Lm(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 U6(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function p2(e){let t=U6(e);return t.map((n,r)=>r===t.length-1?n.pathname:n.pathnameBase)}function v2(e,t,n,r=!1){let s;typeof e=="string"?s=Jl(e):(s={...e},yn(!s.pathname||!s.pathname.includes("?"),Lm("?","pathname","search",s)),yn(!s.pathname||!s.pathname.includes("#"),Lm("#","pathname","hash",s)),yn(!s.search||!s.search.includes("#"),Lm("#","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 y=l.split("/");for(;y[0]==="..";)y.shift(),m-=1;s.pathname=y.join("/")}u=m>=0?t[m]:"/"}let f=Z6(s,u),p=l&&l!=="/"&&l.endsWith("/"),h=(a||l===".")&&n.endsWith("/");return!f.pathname.endsWith("/")&&(p||h)&&(f.pathname+="/"),f}var Ds=e=>e.join("/").replace(/\/\/+/g,"/"),Q6=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),K6=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,_6=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function $6(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}var h2=["POST","PUT","PATCH","DELETE"];new Set(h2);var eM=["GET",...h2];new Set(eM);var Fl=P.createContext(null);Fl.displayName="DataRouter";var rv=P.createContext(null);rv.displayName="DataRouterState";var m2=P.createContext({isTransitioning:!1});m2.displayName="ViewTransition";var tM=P.createContext(new Map);tM.displayName="Fetchers";var nM=P.createContext(null);nM.displayName="Await";var ls=P.createContext(null);ls.displayName="Navigation";var Uu=P.createContext(null);Uu.displayName="Location";var Ms=P.createContext({outlet:null,matches:[],isDataRoute:!1});Ms.displayName="Route";var Fy=P.createContext(null);Fy.displayName="RouteError";function rM(e,{relative:t}={}){yn(Qu(),"useHref() may be used only in the context of a component.");let{basename:n,navigator:r}=P.useContext(ls),{hash:s,pathname:a,search:l}=Ku(e,{relative:t}),u=a;return n!=="/"&&(u=a==="/"?n:Ds([n,a])),r.createHref({pathname:u,search:l,hash:s})}function Qu(){return P.useContext(Uu)!=null}function ji(){return yn(Qu(),"useLocation() may be used only in the context of a component."),P.useContext(Uu).location}var g2="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function y2(e){P.useContext(ls).static||P.useLayoutEffect(e)}function ov(){let{isDataRoute:e}=P.useContext(Ms);return e?mM():oM()}function oM(){yn(Qu(),"useNavigate() may be used only in the context of a component.");let e=P.useContext(Fl),{basename:t,navigator:n}=P.useContext(ls),{matches:r}=P.useContext(Ms),{pathname:s}=ji(),a=JSON.stringify(p2(r)),l=P.useRef(!1);return y2(()=>{l.current=!0}),P.useCallback((f,p={})=>{if(Lo(l.current,g2),!l.current)return;if(typeof f=="number"){n.go(f);return}let h=v2(f,JSON.parse(a),s,p.relative==="path");e==null&&t!=="/"&&(h.pathname=h.pathname==="/"?t:Ds([t,h.pathname])),(p.replace?n.replace:n.push)(h,p.state,p)},[t,n,a,s,e])}P.createContext(null);function Ku(e,{relative:t}={}){let{matches:n}=P.useContext(Ms),{pathname:r}=ji(),s=JSON.stringify(p2(n));return P.useMemo(()=>v2(e,JSON.parse(s),r,t==="path"),[e,s,r,t])}function sM(e,t){return A2(e,t)}function A2(e,t,n,r){var S;yn(Qu(),"useRoutes() may be used only in the context of a component.");let{navigator:s}=P.useContext(ls),{matches:a}=P.useContext(Ms),l=a[a.length-1],u=l?l.params:{},f=l?l.pathname:"/",p=l?l.pathnameBase:"/",h=l&&l.route;{let z=h&&h.path||"";P2(f,!h||z.endsWith("*")||z.endsWith("*?"),`You rendered descendant (or called \`useRoutes()\`) at "${f}" (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 m=ji(),y;if(t){let z=typeof t=="string"?Jl(t):t;gn(p==="/"||((S=z.pathname)==null?void 0:S.startsWith(p)),`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 "${p}" but pathname "${z.pathname}" was given in the \`location\` prop.`),y=z}else y=m;let H=y.pathname||"/",A=H;if(p!=="/"){let z=p.replace(/^\//,"").split("/");A="/"+H.replace(/^\//,"").split("/").slice(z.length).join("/")}let w=u2(e,{pathname:A});Lo(h||w!=null,`No routes matched location "${y.pathname}${y.search}${y.hash}" `),Lo(w==null||w[w.length-1].route.element!==void 0||w[w.length-1].route.Component!==void 0||w[w.length-1].route.lazy!==void 0,`Matched leaf route at location "${y.pathname}${y.search}${y.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 x=uM(w&&w.map(z=>Object.assign({},z,{params:Object.assign({},u,z.params),pathname:Ds([p,s.encodeLocation?s.encodeLocation(z.pathname).pathname:z.pathname]),pathnameBase:z.pathnameBase==="/"?p:Ds([p,s.encodeLocation?s.encodeLocation(z.pathnameBase).pathname:z.pathnameBase])})),a,n,r);return t&&x?P.createElement(Uu.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",...y},navigationType:"POP"}},x):x}function iM(){let e=hM(),t=$6(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=P.createElement(P.Fragment,null,P.createElement("p",null,"💿 Hey developer 👋"),P.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",P.createElement("code",{style:a},"ErrorBoundary")," or"," ",P.createElement("code",{style:a},"errorElement")," prop on your route.")),P.createElement(P.Fragment,null,P.createElement("h2",null,"Unexpected Application Error!"),P.createElement("h3",{style:{fontStyle:"italic"}},t),n?P.createElement("pre",{style:s},n):null,l)}var aM=P.createElement(iM,null),lM=class extends P.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?P.createElement(Ms.Provider,{value:this.props.routeContext},P.createElement(Fy.Provider,{value:this.state.error,children:this.props.component})):this.props.children}};function cM({routeContext:e,match:t,children:n}){let r=P.useContext(Fl);return r&&r.static&&r.staticContext&&(t.route.errorElement||t.route.ErrorBoundary)&&(r.staticContext._deepestRenderedBoundaryId=t.route.id),P.createElement(Ms.Provider,{value:e},n)}function uM(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);gn(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,y=!1,H=null,A=null;n&&(m=a&&p.route.id?a[p.route.id]:void 0,H=p.route.errorElement||aM,l&&(u<0&&h===0?(P2("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),y=!0,A=null):u===h&&(y=!0,A=p.route.hydrateFallbackElement||null)));let w=t.concat(s.slice(0,h+1)),x=()=>{let S;return m?S=H:y?S=A:p.route.Component?S=P.createElement(p.route.Component,null):p.route.element?S=p.route.element:S=f,P.createElement(cM,{match:p,routeContext:{outlet:f,matches:w,isDataRoute:n!=null},children:S})};return n&&(p.route.ErrorBoundary||p.route.errorElement||h===0)?P.createElement(lM,{location:n.location,revalidation:n.revalidation,component:H,error:m,children:x(),routeContext:{outlet:null,matches:w,isDataRoute:!0}}):x()},null)}function Yy(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function fM(e){let t=P.useContext(Fl);return gn(t,Yy(e)),t}function dM(e){let t=P.useContext(rv);return gn(t,Yy(e)),t}function pM(e){let t=P.useContext(Ms);return gn(t,Yy(e)),t}function qy(e){let t=pM(e),n=t.matches[t.matches.length-1];return gn(n.route.id,`${e} can only be used on routes that contain a unique "id"`),n.route.id}function vM(){return qy("useRouteId")}function hM(){var r;let e=P.useContext(Fy),t=dM("useRouteError"),n=qy("useRouteError");return e!==void 0?e:(r=t.errors)==null?void 0:r[n]}function mM(){let{router:e}=fM("useNavigate"),t=qy("useNavigate"),n=P.useRef(!1);return y2(()=>{n.current=!0}),P.useCallback(async(s,a={})=>{Lo(n.current,g2),n.current&&(typeof s=="number"?e.navigate(s):await e.navigate(s,{fromRouteId:t,...a}))},[e,t])}var iw={};function P2(e,t,n){!t&&!iw[e]&&(iw[e]=!0,Lo(!1,n))}P.memo(gM);function gM({routes:e,future:t,state:n}){return A2(e,void 0,n,t)}function Ss(e){gn(!1,"A is only ever to be used as the child of element, never rendered directly. Please wrap your in a .")}function yM({basename:e="/",children:t=null,location:n,navigationType:r="POP",navigator:s,static:a=!1}){gn(!Qu(),"You cannot render a inside another . You should never have more than one in your app.");let l=e.replace(/^\/*/,"/"),u=P.useMemo(()=>({basename:l,navigator:s,static:a,future:{}}),[l,s,a]);typeof n=="string"&&(n=Jl(n));let{pathname:f="/",search:p="",hash:h="",state:m=null,key:y="default"}=n,H=P.useMemo(()=>{let A=bi(f,l);return A==null?null:{location:{pathname:A,search:p,hash:h,state:m,key:y},navigationType:r}},[l,f,p,h,m,y,r]);return Lo(H!=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.`),H==null?null:P.createElement(ls.Provider,{value:u},P.createElement(Uu.Provider,{children:t,value:H}))}function AM({children:e,location:t}){return sM(Xg(e),t)}function Xg(e,t=[]){let n=[];return P.Children.forEach(e,(r,s)=>{if(!P.isValidElement(r))return;let a=[...t,s];if(r.type===P.Fragment){n.push.apply(n,Xg(r.props.children,a));return}gn(r.type===Ss,`[${typeof r.type=="string"?r.type:r.type.name}] is not a component. All component children of must be a or `),gn(!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 Fd="get",Yd="application/x-www-form-urlencoded";function sv(e){return e!=null&&typeof e.tagName=="string"}function PM(e){return sv(e)&&e.tagName.toLowerCase()==="button"}function bM(e){return sv(e)&&e.tagName.toLowerCase()==="form"}function xM(e){return sv(e)&&e.tagName.toLowerCase()==="input"}function wM(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function HM(e,t){return e.button===0&&(!t||t==="_self")&&!wM(e)}function Ng(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 jM(e,t){let n=Ng(e);return t&&t.forEach((r,s)=>{n.has(s)||t.getAll(s).forEach(a=>{n.append(s,a)})}),n}var Sd=null;function SM(){if(Sd===null)try{new FormData(document.createElement("form"),0),Sd=!1}catch{Sd=!0}return Sd}var zM=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function Xm(e){return e!=null&&!zM.has(e)?(Lo(!1,`"${e}" is not a valid \`encType\` for \`
\`/\`\` and will default to "${Yd}"`),null):e}function OM(e,t){let n,r,s,a,l;if(bM(e)){let u=e.getAttribute("action");r=u?bi(u,t):null,n=e.getAttribute("method")||Fd,s=Xm(e.getAttribute("enctype"))||Yd,a=new FormData(e)}else if(PM(e)||xM(e)&&(e.type==="submit"||e.type==="image")){let u=e.form;if(u==null)throw new Error('Cannot submit a