var xc=Object.defineProperty;var Sc=(e,t,r)=>t in e?xc(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var uo=(e,t,r)=>Sc(e,typeof t!="symbol"?t+"":t,r);import{r as p,m as Ki,K as vi,j as C,R as dr,t as Yo,i as Cc,n as wc,z as Zo}from"./index-B1SopS7p.js";import{c as X}from"./clsx-B-dksMZM.js";import{S as kc}from"./trash-CBTUDu6I.js";import{S as ti}from"./help-C01WnYKy.js";const Rs=e=>p.createElement("svg",{className:"size-6       ",width:"1em",height:"1em",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},p.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.04289 16.5418C5.65237 16.9323 5.65237 17.5655 6.04289 17.956C6.43342 18.3465 7.06658 18.3465 7.45711 17.956L11.9987 13.4144L16.5408 17.9565C16.9313 18.347 17.5645 18.347 17.955 17.9565C18.3455 17.566 18.3455 16.9328 17.955 16.5423L13.4129 12.0002L17.955 7.45808C18.3455 7.06756 18.3455 6.43439 17.955 6.04387C17.5645 5.65335 16.9313 5.65335 16.5408 6.04387L11.9987 10.586L7.45711 6.04439C7.06658 5.65386 6.43342 5.65386 6.04289 6.04439C5.65237 6.43491 5.65237 7.06808 6.04289 7.4586L10.5845 12.0002L6.04289 16.5418Z",fill:"currentColor"}));/**
 * @license lucide-react v0.544.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Rc=[["rect",{width:"7",height:"7",x:"3",y:"3",rx:"1",key:"1g98yp"}],["rect",{width:"7",height:"7",x:"14",y:"3",rx:"1",key:"6d4xhi"}],["rect",{width:"7",height:"7",x:"14",y:"14",rx:"1",key:"nxv5o0"}],["rect",{width:"7",height:"7",x:"3",y:"14",rx:"1",key:"1bb6yr"}]],Gv=Ki("layout-grid",Rc);/**
 * @license lucide-react v0.544.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Pc=[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}]],Xv=Ki("rotate-ccw",Pc);/**
 * @license lucide-react v0.544.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const $c=[["path",{d:"M12 3v18",key:"108xh3"}],["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M3 9h18",key:"1pudct"}],["path",{d:"M3 15h18",key:"5xshup"}]],Yv=Ki("table",$c),Eo={black:"#000",white:"#fff"},jr={300:"#e57373",400:"#ef5350",500:"#f44336",700:"#d32f2f",800:"#c62828"},zr={50:"#f3e5f5",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",700:"#7b1fa2"},Dr={50:"#e3f2fd",200:"#90caf9",400:"#42a5f5",700:"#1976d2",800:"#1565c0"},Wr={300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",700:"#0288d1",900:"#01579b"},Hr={300:"#81c784",400:"#66bb6a",500:"#4caf50",700:"#388e3c",800:"#2e7d32",900:"#1b5e20"},po={300:"#ffb74d",400:"#ffa726",500:"#ff9800",700:"#f57c00",900:"#e65100"},Tc={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 pr(e,...t){const r=new URL(`https://mui.com/production-error/?code=${e}`);return t.forEach(o=>r.searchParams.append("args[]",o)),`Minified MUI error #${e}; visit ${r} for the full message.`}const Pn="$$material";function gn(){return gn=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)({}).hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},gn.apply(null,arguments)}function Ic(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}function Ec(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),e.nonce!==void 0&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}var Ac=(function(){function e(r){var o=this;this._insertTag=function(n){var i;o.tags.length===0?o.insertionPoint?i=o.insertionPoint.nextSibling:o.prepend?i=o.container.firstChild:i=o.before:i=o.tags[o.tags.length-1].nextSibling,o.container.insertBefore(n,i),o.tags.push(n)},this.isSpeedy=r.speedy===void 0?!0:r.speedy,this.tags=[],this.ctr=0,this.nonce=r.nonce,this.key=r.key,this.container=r.container,this.prepend=r.prepend,this.insertionPoint=r.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(o){o.forEach(this._insertTag)},t.insert=function(o){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(Ec(this));var n=this.tags[this.tags.length-1];if(this.isSpeedy){var i=Ic(n);try{i.insertRule(o,i.cssRules.length)}catch(s){}}else n.appendChild(document.createTextNode(o));this.ctr++},t.flush=function(){this.tags.forEach(function(o){var n;return(n=o.parentNode)==null?void 0:n.removeChild(o)}),this.tags=[],this.ctr=0},e})(),mt="-ms-",mn="-moz-",Le="-webkit-",cl="comm",qi="rule",Gi="decl",Mc="@import",ul="@keyframes",Oc="@layer",Bc=Math.abs,$n=String.fromCharCode,Lc=Object.assign;function Nc(e,t){return ft(e,0)^45?(((t<<2^ft(e,0))<<2^ft(e,1))<<2^ft(e,2))<<2^ft(e,3):0}function dl(e){return e.trim()}function Fc(e,t){return(e=t.exec(e))?e[0]:e}function Ne(e,t,r){return e.replace(t,r)}function xi(e,t){return e.indexOf(t)}function ft(e,t){return e.charCodeAt(t)|0}function Ao(e,t,r){return e.slice(t,r)}function Jt(e){return e.length}function Xi(e){return e.length}function Qo(e,t){return t.push(e),e}function jc(e,t){return e.map(t).join("")}var Tn=1,Xr=1,pl=0,wt=0,ot=0,to="";function In(e,t,r,o,n,i,s){return{value:e,root:t,parent:r,type:o,props:n,children:i,line:Tn,column:Xr,length:s,return:""}}function fo(e,t){return Lc(In("",null,null,"",null,null,0),e,{length:-e.length},t)}function zc(){return ot}function Dc(){return ot=wt>0?ft(to,--wt):0,Xr--,ot===10&&(Xr=1,Tn--),ot}function Mt(){return ot=wt<pl?ft(to,wt++):0,Xr++,ot===10&&(Xr=1,Tn++),ot}function rr(){return ft(to,wt)}function ln(){return wt}function Fo(e,t){return Ao(to,e,t)}function Mo(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function fl(e){return Tn=Xr=1,pl=Jt(to=e),wt=0,[]}function gl(e){return to="",e}function cn(e){return dl(Fo(wt-1,Si(e===91?e+2:e===40?e+1:e)))}function Wc(e){for(;(ot=rr())&&ot<33;)Mt();return Mo(e)>2||Mo(ot)>3?"":" "}function Hc(e,t){for(;--t&&Mt()&&!(ot<48||ot>102||ot>57&&ot<65||ot>70&&ot<97););return Fo(e,ln()+(t<6&&rr()==32&&Mt()==32))}function Si(e){for(;Mt();)switch(ot){case e:return wt;case 34:case 39:e!==34&&e!==39&&Si(ot);break;case 40:e===41&&Si(e);break;case 92:Mt();break}return wt}function Uc(e,t){for(;Mt()&&e+ot!==57;)if(e+ot===84&&rr()===47)break;return"/*"+Fo(t,wt-1)+"*"+$n(e===47?e:Mt())}function _c(e){for(;!Mo(rr());)Mt();return Fo(e,wt)}function Vc(e){return gl(un("",null,null,null,[""],e=fl(e),0,[0],e))}function un(e,t,r,o,n,i,s,a,l){for(var c=0,u=0,f=s,b=0,m=0,h=0,g=1,x=1,w=1,R=0,v="",y=n,S=i,k=o,T=v;x;)switch(h=R,R=Mt()){case 40:if(h!=108&&ft(T,f-1)==58){xi(T+=Ne(cn(R),"&","&\f"),"&\f")!=-1&&(w=-1);break}case 34:case 39:case 91:T+=cn(R);break;case 9:case 10:case 13:case 32:T+=Wc(h);break;case 92:T+=Hc(ln()-1,7);continue;case 47:switch(rr()){case 42:case 47:Qo(Kc(Uc(Mt(),ln()),t,r),l);break;default:T+="/"}break;case 123*g:a[c++]=Jt(T)*w;case 125*g:case 59:case 0:switch(R){case 0:case 125:x=0;case 59+u:w==-1&&(T=Ne(T,/\f/g,"")),m>0&&Jt(T)-f&&Qo(m>32?$s(T+";",o,r,f-1):$s(Ne(T," ","")+";",o,r,f-2),l);break;case 59:T+=";";default:if(Qo(k=Ps(T,t,r,c,u,n,a,v,y=[],S=[],f),i),R===123)if(u===0)un(T,t,k,k,y,i,f,a,S);else switch(b===99&&ft(T,3)===110?100:b){case 100:case 108:case 109:case 115:un(e,k,k,o&&Qo(Ps(e,k,k,0,0,n,a,v,n,y=[],f),S),n,S,f,a,o?y:S);break;default:un(T,k,k,k,[""],S,0,a,S)}}c=u=m=0,g=w=1,v=T="",f=s;break;case 58:f=1+Jt(T),m=h;default:if(g<1){if(R==123)--g;else if(R==125&&g++==0&&Dc()==125)continue}switch(T+=$n(R),R*g){case 38:w=u>0?1:(T+="\f",-1);break;case 44:a[c++]=(Jt(T)-1)*w,w=1;break;case 64:rr()===45&&(T+=cn(Mt())),b=rr(),u=f=Jt(v=T+=_c(ln())),R++;break;case 45:h===45&&Jt(T)==2&&(g=0)}}return i}function Ps(e,t,r,o,n,i,s,a,l,c,u){for(var f=n-1,b=n===0?i:[""],m=Xi(b),h=0,g=0,x=0;h<o;++h)for(var w=0,R=Ao(e,f+1,f=Bc(g=s[h])),v=e;w<m;++w)(v=dl(g>0?b[w]+" "+R:Ne(R,/&\f/g,b[w])))&&(l[x++]=v);return In(e,t,r,n===0?qi:a,l,c,u)}function Kc(e,t,r){return In(e,t,r,cl,$n(zc()),Ao(e,2,-2),0)}function $s(e,t,r,o){return In(e,t,r,Gi,Ao(e,0,o),Ao(e,o+1,-1),o)}function Kr(e,t){for(var r="",o=Xi(e),n=0;n<o;n++)r+=t(e[n],n,e,t)||"";return r}function qc(e,t,r,o){switch(e.type){case Oc:if(e.children.length)break;case Mc:case Gi:return e.return=e.return||e.value;case cl:return"";case ul:return e.return=e.value+"{"+Kr(e.children,o)+"}";case qi:e.value=e.props.join(",")}return Jt(r=Kr(e.children,o))?e.return=e.value+"{"+r+"}":""}function Gc(e){var t=Xi(e);return function(r,o,n,i){for(var s="",a=0;a<t;a++)s+=e[a](r,o,n,i)||"";return s}}function Xc(e){return function(t){t.root||(t=t.return)&&e(t)}}function ml(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var Yc=function(t,r,o){for(var n=0,i=0;n=i,i=rr(),n===38&&i===12&&(r[o]=1),!Mo(i);)Mt();return Fo(t,wt)},Zc=function(t,r){var o=-1,n=44;do switch(Mo(n)){case 0:n===38&&rr()===12&&(r[o]=1),t[o]+=Yc(wt-1,r,o);break;case 2:t[o]+=cn(n);break;case 4:if(n===44){t[++o]=rr()===58?"&\f":"",r[o]=t[o].length;break}default:t[o]+=$n(n)}while(n=Mt());return t},Qc=function(t,r){return gl(Zc(fl(t),r))},Ts=new WeakMap,Jc=function(t){if(!(t.type!=="rule"||!t.parent||t.length<1)){for(var r=t.value,o=t.parent,n=t.column===o.column&&t.line===o.line;o.type!=="rule";)if(o=o.parent,!o)return;if(!(t.props.length===1&&r.charCodeAt(0)!==58&&!Ts.get(o))&&!n){Ts.set(t,!0);for(var i=[],s=Qc(r,i),a=o.props,l=0,c=0;l<s.length;l++)for(var u=0;u<a.length;u++,c++)t.props[c]=i[l]?s[l].replace(/&\f/g,a[u]):a[u]+" "+s[l]}}},eu=function(t){if(t.type==="decl"){var r=t.value;r.charCodeAt(0)===108&&r.charCodeAt(2)===98&&(t.return="",t.value="")}};function hl(e,t){switch(Nc(e,t)){case 5103:return Le+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return Le+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Le+e+mn+e+mt+e+e;case 6828:case 4268:return Le+e+mt+e+e;case 6165:return Le+e+mt+"flex-"+e+e;case 5187:return Le+e+Ne(e,/(\w+).+(:[^]+)/,Le+"box-$1$2"+mt+"flex-$1$2")+e;case 5443:return Le+e+mt+"flex-item-"+Ne(e,/flex-|-self/,"")+e;case 4675:return Le+e+mt+"flex-line-pack"+Ne(e,/align-content|flex-|-self/,"")+e;case 5548:return Le+e+mt+Ne(e,"shrink","negative")+e;case 5292:return Le+e+mt+Ne(e,"basis","preferred-size")+e;case 6060:return Le+"box-"+Ne(e,"-grow","")+Le+e+mt+Ne(e,"grow","positive")+e;case 4554:return Le+Ne(e,/([^-])(transform)/g,"$1"+Le+"$2")+e;case 6187:return Ne(Ne(Ne(e,/(zoom-|grab)/,Le+"$1"),/(image-set)/,Le+"$1"),e,"")+e;case 5495:case 3959:return Ne(e,/(image-set\([^]*)/,Le+"$1$`$1");case 4968:return Ne(Ne(e,/(.+:)(flex-)?(.*)/,Le+"box-pack:$3"+mt+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Le+e+e;case 4095:case 3583:case 4068:case 2532:return Ne(e,/(.+)-inline(.+)/,Le+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Jt(e)-1-t>6)switch(ft(e,t+1)){case 109:if(ft(e,t+4)!==45)break;case 102:return Ne(e,/(.+:)(.+)-([^]+)/,"$1"+Le+"$2-$3$1"+mn+(ft(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~xi(e,"stretch")?hl(Ne(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(ft(e,t+1)!==115)break;case 6444:switch(ft(e,Jt(e)-3-(~xi(e,"!important")&&10))){case 107:return Ne(e,":",":"+Le)+e;case 101:return Ne(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Le+(ft(e,14)===45?"inline-":"")+"box$3$1"+Le+"$2$3$1"+mt+"$2box$3")+e}break;case 5936:switch(ft(e,t+11)){case 114:return Le+e+mt+Ne(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Le+e+mt+Ne(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Le+e+mt+Ne(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Le+e+mt+e+e}return e}var tu=function(t,r,o,n){if(t.length>-1&&!t.return)switch(t.type){case Gi:t.return=hl(t.value,t.length);break;case ul:return Kr([fo(t,{value:Ne(t.value,"@","@"+Le)})],n);case qi:if(t.length)return jc(t.props,function(i){switch(Fc(i,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Kr([fo(t,{props:[Ne(i,/:(read-\w+)/,":"+mn+"$1")]})],n);case"::placeholder":return Kr([fo(t,{props:[Ne(i,/:(plac\w+)/,":"+Le+"input-$1")]}),fo(t,{props:[Ne(i,/:(plac\w+)/,":"+mn+"$1")]}),fo(t,{props:[Ne(i,/:(plac\w+)/,mt+"input-$1")]})],n)}return""})}},ru=[tu],ou=function(t){var r=t.key;if(r==="css"){var o=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(o,function(g){var x=g.getAttribute("data-emotion");x.indexOf(" ")!==-1&&(document.head.appendChild(g),g.setAttribute("data-s",""))})}var n=t.stylisPlugins||ru,i={},s,a=[];s=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+r+' "]'),function(g){for(var x=g.getAttribute("data-emotion").split(" "),w=1;w<x.length;w++)i[x[w]]=!0;a.push(g)});var l,c=[Jc,eu];{var u,f=[qc,Xc(function(g){u.insert(g)})],b=Gc(c.concat(n,f)),m=function(x){return Kr(Vc(x),b)};l=function(x,w,R,v){u=R,m(x?x+"{"+w.styles+"}":w.styles),v&&(h.inserted[w.name]=!0)}}var h={key:r,sheet:new Ac({key:r,container:s,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:i,registered:{},insert:l};return h.sheet.hydrate(a),h},ri={exports:{}},je={};/** @license React v16.13.1
 * react-is.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var Is;function nu(){if(Is)return je;Is=1;var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,o=e?Symbol.for("react.fragment"):60107,n=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,s=e?Symbol.for("react.provider"):60109,a=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,u=e?Symbol.for("react.forward_ref"):60112,f=e?Symbol.for("react.suspense"):60113,b=e?Symbol.for("react.suspense_list"):60120,m=e?Symbol.for("react.memo"):60115,h=e?Symbol.for("react.lazy"):60116,g=e?Symbol.for("react.block"):60121,x=e?Symbol.for("react.fundamental"):60117,w=e?Symbol.for("react.responder"):60118,R=e?Symbol.for("react.scope"):60119;function v(S){if(typeof S=="object"&&S!==null){var k=S.$$typeof;switch(k){case t:switch(S=S.type,S){case l:case c:case o:case i:case n:case f:return S;default:switch(S=S&&S.$$typeof,S){case a:case u:case h:case m:case s:return S;default:return k}}case r:return k}}}function y(S){return v(S)===c}return je.AsyncMode=l,je.ConcurrentMode=c,je.ContextConsumer=a,je.ContextProvider=s,je.Element=t,je.ForwardRef=u,je.Fragment=o,je.Lazy=h,je.Memo=m,je.Portal=r,je.Profiler=i,je.StrictMode=n,je.Suspense=f,je.isAsyncMode=function(S){return y(S)||v(S)===l},je.isConcurrentMode=y,je.isContextConsumer=function(S){return v(S)===a},je.isContextProvider=function(S){return v(S)===s},je.isElement=function(S){return typeof S=="object"&&S!==null&&S.$$typeof===t},je.isForwardRef=function(S){return v(S)===u},je.isFragment=function(S){return v(S)===o},je.isLazy=function(S){return v(S)===h},je.isMemo=function(S){return v(S)===m},je.isPortal=function(S){return v(S)===r},je.isProfiler=function(S){return v(S)===i},je.isStrictMode=function(S){return v(S)===n},je.isSuspense=function(S){return v(S)===f},je.isValidElementType=function(S){return typeof S=="string"||typeof S=="function"||S===o||S===c||S===i||S===n||S===f||S===b||typeof S=="object"&&S!==null&&(S.$$typeof===h||S.$$typeof===m||S.$$typeof===s||S.$$typeof===a||S.$$typeof===u||S.$$typeof===x||S.$$typeof===w||S.$$typeof===R||S.$$typeof===g)},je.typeOf=v,je}var Es;function iu(){return Es||(Es=1,ri.exports=nu()),ri.exports}var oi,As;function su(){if(As)return oi;As=1;var e=iu(),t={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},r={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},o={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},n={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},i={};i[e.ForwardRef]=o,i[e.Memo]=n;function s(h){return e.isMemo(h)?n:i[h.$$typeof]||t}var a=Object.defineProperty,l=Object.getOwnPropertyNames,c=Object.getOwnPropertySymbols,u=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,b=Object.prototype;function m(h,g,x){if(typeof g!="string"){if(b){var w=f(g);w&&w!==b&&m(h,w,x)}var R=l(g);c&&(R=R.concat(c(g)));for(var v=s(h),y=s(g),S=0;S<R.length;++S){var k=R[S];if(!r[k]&&!(x&&x[k])&&!(y&&y[k])&&!(v&&v[k])){var T=u(g,k);try{a(h,k,T)}catch(M){}}}}return h}return oi=m,oi}su();var au=!0;function bl(e,t,r){var o="";return r.split(" ").forEach(function(n){e[n]!==void 0?t.push(e[n]+";"):n&&(o+=n+" ")}),o}var Yi=function(t,r,o){var n=t.key+"-"+r.name;(o===!1||au===!1)&&t.registered[n]===void 0&&(t.registered[n]=r.styles)},Zi=function(t,r,o){Yi(t,r,o);var n=t.key+"-"+r.name;if(t.inserted[r.name]===void 0){var i=r;do t.insert(r===i?"."+n:"",i,t.sheet,!0),i=i.next;while(i!==void 0)}};function lu(e){for(var t=0,r,o=0,n=e.length;n>=4;++o,n-=4)r=e.charCodeAt(o)&255|(e.charCodeAt(++o)&255)<<8|(e.charCodeAt(++o)&255)<<16|(e.charCodeAt(++o)&255)<<24,r=(r&65535)*1540483477+((r>>>16)*59797<<16),r^=r>>>24,t=(r&65535)*1540483477+((r>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(n){case 3:t^=(e.charCodeAt(o+2)&255)<<16;case 2:t^=(e.charCodeAt(o+1)&255)<<8;case 1:t^=e.charCodeAt(o)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var cu={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},uu=/[A-Z]|^ms/g,du=/_EMO_([^_]+?)_([^]*?)_EMO_/g,yl=function(t){return t.charCodeAt(1)===45},Ms=function(t){return t!=null&&typeof t!="boolean"},ni=ml(function(e){return yl(e)?e:e.replace(uu,"-$&").toLowerCase()}),Os=function(t,r){switch(t){case"animation":case"animationName":if(typeof r=="string")return r.replace(du,function(o,n,i){return er={name:n,styles:i,next:er},n})}return cu[t]!==1&&!yl(t)&&typeof r=="number"&&r!==0?r+"px":r};function Oo(e,t,r){if(r==null)return"";var o=r;if(o.__emotion_styles!==void 0)return o;switch(typeof r){case"boolean":return"";case"object":{var n=r;if(n.anim===1)return er={name:n.name,styles:n.styles,next:er},n.name;var i=r;if(i.styles!==void 0){var s=i.next;if(s!==void 0)for(;s!==void 0;)er={name:s.name,styles:s.styles,next:er},s=s.next;var a=i.styles+";";return a}return pu(e,t,r)}case"function":{if(e!==void 0){var l=er,c=r(e);return er=l,Oo(e,t,c)}break}}var u=r;if(t==null)return u;var f=t[u];return f!==void 0?f:u}function pu(e,t,r){var o="";if(Array.isArray(r))for(var n=0;n<r.length;n++)o+=Oo(e,t,r[n])+";";else for(var i in r){var s=r[i];if(typeof s!="object"){var a=s;t!=null&&t[a]!==void 0?o+=i+"{"+t[a]+"}":Ms(a)&&(o+=ni(i)+":"+Os(i,a)+";")}else if(Array.isArray(s)&&typeof s[0]=="string"&&(t==null||t[s[0]]===void 0))for(var l=0;l<s.length;l++)Ms(s[l])&&(o+=ni(i)+":"+Os(i,s[l])+";");else{var c=Oo(e,t,s);switch(i){case"animation":case"animationName":{o+=ni(i)+":"+c+";";break}default:o+=i+"{"+c+"}"}}}return o}var Bs=/label:\s*([^\s;{]+)\s*(;|$)/g,er;function jo(e,t,r){if(e.length===1&&typeof e[0]=="object"&&e[0]!==null&&e[0].styles!==void 0)return e[0];var o=!0,n="";er=void 0;var i=e[0];if(i==null||i.raw===void 0)o=!1,n+=Oo(r,t,i);else{var s=i;n+=s[0]}for(var a=1;a<e.length;a++)if(n+=Oo(r,t,e[a]),o){var l=i;n+=l[a]}Bs.lastIndex=0;for(var c="",u;(u=Bs.exec(n))!==null;)c+="-"+u[1];var f=lu(n)+c;return{name:f,styles:n,next:er}}var fu=function(t){return t()},vl=vi.useInsertionEffect?vi.useInsertionEffect:!1,xl=vl||fu,Ls=vl||p.useLayoutEffect,Sl=p.createContext(typeof HTMLElement!="undefined"?ou({key:"css"}):null);Sl.Provider;var Qi=function(t){return p.forwardRef(function(r,o){var n=p.useContext(Sl);return t(r,n,o)})},En=p.createContext({}),Ji={}.hasOwnProperty,Ci="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",gu=function(t,r){var o={};for(var n in r)Ji.call(r,n)&&(o[n]=r[n]);return o[Ci]=t,o},mu=function(t){var r=t.cache,o=t.serialized,n=t.isStringTag;return Yi(r,o,n),xl(function(){return Zi(r,o,n)}),null},hu=Qi(function(e,t,r){var o=e.css;typeof o=="string"&&t.registered[o]!==void 0&&(o=t.registered[o]);var n=e[Ci],i=[o],s="";typeof e.className=="string"?s=bl(t.registered,i,e.className):e.className!=null&&(s=e.className+" ");var a=jo(i,void 0,p.useContext(En));s+=t.key+"-"+a.name;var l={};for(var c in e)Ji.call(e,c)&&c!=="css"&&c!==Ci&&(l[c]=e[c]);return l.className=s,r&&(l.ref=r),p.createElement(p.Fragment,null,p.createElement(mu,{cache:t,serialized:a,isStringTag:typeof n=="string"}),p.createElement(n,l))}),bu=hu,Ns=function(t,r){var o=arguments;if(r==null||!Ji.call(r,"css"))return p.createElement.apply(void 0,o);var n=o.length,i=new Array(n);i[0]=bu,i[1]=gu(t,r);for(var s=2;s<n;s++)i[s]=o[s];return p.createElement.apply(null,i)};(function(e){var t;t||(t=e.JSX||(e.JSX={}))})(Ns||(Ns={}));var yu=Qi(function(e,t){var r=e.styles,o=jo([r],void 0,p.useContext(En)),n=p.useRef();return Ls(function(){var i=t.key+"-global",s=new t.sheet.constructor({key:i,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),a=!1,l=document.querySelector('style[data-emotion="'+i+" "+o.name+'"]');return t.sheet.tags.length&&(s.before=t.sheet.tags[0]),l!==null&&(a=!0,l.setAttribute("data-emotion",i),s.hydrate([l])),n.current=[s,a],function(){s.flush()}},[t]),Ls(function(){var i=n.current,s=i[0],a=i[1];if(a){i[1]=!1;return}if(o.next!==void 0&&Zi(t,o.next,!0),s.tags.length){var l=s.tags[s.tags.length-1].nextElementSibling;s.before=l,s.flush()}t.insert("",o,s,!1)},[t,o.name]),null});function es(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return jo(t)}function zo(){var e=es.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}var vu=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|popover|popoverTarget|popoverTargetAction|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,xu=ml(function(e){return vu.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),Su=xu,Cu=function(t){return t!=="theme"},Fs=function(t){return typeof t=="string"&&t.charCodeAt(0)>96?Su:Cu},js=function(t,r,o){var n;if(r){var i=r.shouldForwardProp;n=t.__emotion_forwardProp&&i?function(s){return t.__emotion_forwardProp(s)&&i(s)}:i}return typeof n!="function"&&o&&(n=t.__emotion_forwardProp),n},wu=function(t){var r=t.cache,o=t.serialized,n=t.isStringTag;return Yi(r,o,n),xl(function(){return Zi(r,o,n)}),null},ku=function e(t,r){var o=t.__emotion_real===t,n=o&&t.__emotion_base||t,i,s;r!==void 0&&(i=r.label,s=r.target);var a=js(t,r,o),l=a||Fs(n),c=!l("as");return function(){var u=arguments,f=o&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(i!==void 0&&f.push("label:"+i+";"),u[0]==null||u[0].raw===void 0)f.push.apply(f,u);else{var b=u[0];f.push(b[0]);for(var m=u.length,h=1;h<m;h++)f.push(u[h],b[h])}var g=Qi(function(x,w,R){var v=c&&x.as||n,y="",S=[],k=x;if(x.theme==null){k={};for(var T in x)k[T]=x[T];k.theme=p.useContext(En)}typeof x.className=="string"?y=bl(w.registered,S,x.className):x.className!=null&&(y=x.className+" ");var M=jo(f.concat(S),w.registered,k);y+=w.key+"-"+M.name,s!==void 0&&(y+=" "+s);var B=c&&a===void 0?Fs(v):l,A={};for(var O in x)c&&O==="as"||B(O)&&(A[O]=x[O]);return A.className=y,R&&(A.ref=R),p.createElement(p.Fragment,null,p.createElement(wu,{cache:w,serialized:M,isStringTag:typeof v=="string"}),p.createElement(v,A))});return g.displayName=i!==void 0?i:"Styled("+(typeof n=="string"?n:n.displayName||n.name||"Component")+")",g.defaultProps=t.defaultProps,g.__emotion_real=g,g.__emotion_base=n,g.__emotion_styles=f,g.__emotion_forwardProp=a,Object.defineProperty(g,"toString",{value:function(){return"."+s}}),g.withComponent=function(x,w){var R=e(x,gn({},r,w,{shouldForwardProp:js(g,w,!0)}));return R.apply(void 0,f)},g}},Ru=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],wi=ku.bind(null);Ru.forEach(function(e){wi[e]=wi(e)});function Pu(e){return e==null||Object.keys(e).length===0}function $u(e){const{styles:t,defaultTheme:r={}}=e,o=typeof t=="function"?n=>t(Pu(n)?r:n):t;return C.jsx(yu,{styles:o})}function Cl(e,t){return wi(e,t)}function Tu(e,t){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}const zs=[];function xr(e){return zs[0]=e,jo(zs)}var ii={exports:{}},Ue={};/**
 * @license React
 * react-is.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var Ds;function Iu(){if(Ds)return Ue;Ds=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),n=Symbol.for("react.profiler"),i=Symbol.for("react.consumer"),s=Symbol.for("react.context"),a=Symbol.for("react.forward_ref"),l=Symbol.for("react.suspense"),c=Symbol.for("react.suspense_list"),u=Symbol.for("react.memo"),f=Symbol.for("react.lazy"),b=Symbol.for("react.view_transition"),m=Symbol.for("react.client.reference");function h(g){if(typeof g=="object"&&g!==null){var x=g.$$typeof;switch(x){case e:switch(g=g.type,g){case r:case n:case o:case l:case c:case b:return g;default:switch(g=g&&g.$$typeof,g){case s:case a:case f:case u:return g;case i:return g;default:return x}}case t:return x}}}return Ue.ContextConsumer=i,Ue.ContextProvider=s,Ue.Element=e,Ue.ForwardRef=a,Ue.Fragment=r,Ue.Lazy=f,Ue.Memo=u,Ue.Portal=t,Ue.Profiler=n,Ue.StrictMode=o,Ue.Suspense=l,Ue.SuspenseList=c,Ue.isContextConsumer=function(g){return h(g)===i},Ue.isContextProvider=function(g){return h(g)===s},Ue.isElement=function(g){return typeof g=="object"&&g!==null&&g.$$typeof===e},Ue.isForwardRef=function(g){return h(g)===a},Ue.isFragment=function(g){return h(g)===r},Ue.isLazy=function(g){return h(g)===f},Ue.isMemo=function(g){return h(g)===u},Ue.isPortal=function(g){return h(g)===t},Ue.isProfiler=function(g){return h(g)===n},Ue.isStrictMode=function(g){return h(g)===o},Ue.isSuspense=function(g){return h(g)===l},Ue.isSuspenseList=function(g){return h(g)===c},Ue.isValidElementType=function(g){return typeof g=="string"||typeof g=="function"||g===r||g===n||g===o||g===l||g===c||typeof g=="object"&&g!==null&&(g.$$typeof===f||g.$$typeof===u||g.$$typeof===s||g.$$typeof===i||g.$$typeof===a||g.$$typeof===m||g.getModuleId!==void 0)},Ue.typeOf=h,Ue}var Ws;function Eu(){return Ws||(Ws=1,ii.exports=Iu()),ii.exports}var wl=Eu();function tr(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 kl(e){if(p.isValidElement(e)||wl.isValidElementType(e)||!tr(e))return e;const t={};return Object.keys(e).forEach(r=>{t[r]=kl(e[r])}),t}function dt(e,t,r={clone:!0}){const o=r.clone?{...e}:e;return tr(e)&&tr(t)&&Object.keys(t).forEach(n=>{p.isValidElement(t[n])||wl.isValidElementType(t[n])?o[n]=t[n]:tr(t[n])&&Object.prototype.hasOwnProperty.call(e,n)&&tr(e[n])?o[n]=dt(e[n],t[n],r):r.clone?o[n]=tr(t[n])?kl(t[n]):t[n]:o[n]=t[n]}),o}const Au=e=>{const t=Object.keys(e).map(r=>({key:r,val:e[r]}))||[];return t.sort((r,o)=>r.val-o.val),t.reduce((r,o)=>({...r,[o.key]:o.val}),{})};function Mu(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:r="px",step:o=5,...n}=e,i=Au(t),s=Object.keys(i);function a(b){return`@media (min-width:${typeof t[b]=="number"?t[b]:b}${r})`}function l(b){return`@media (max-width:${(typeof t[b]=="number"?t[b]:b)-o/100}${r})`}function c(b,m){const h=s.indexOf(m);return`@media (min-width:${typeof t[b]=="number"?t[b]:b}${r}) and (max-width:${(h!==-1&&typeof t[s[h]]=="number"?t[s[h]]:m)-o/100}${r})`}function u(b){return s.indexOf(b)+1<s.length?c(b,s[s.indexOf(b)+1]):a(b)}function f(b){const m=s.indexOf(b);return m===0?a(s[1]):m===s.length-1?l(s[m]):c(b,s[s.indexOf(b)+1]).replace("@media","@media not all and")}return{keys:s,values:i,up:a,down:l,between:c,only:u,not:f,unit:r,...n}}function Hs(e,t){if(!e.containerQueries)return t;const r=Object.keys(t).filter(o=>o.startsWith("@container")).sort((o,n)=>{var s,a;const i=/min-width:\s*([0-9.]+)/;return+(((s=o.match(i))==null?void 0:s[1])||0)-+(((a=n.match(i))==null?void 0:a[1])||0)});return r.length?r.reduce((o,n)=>{const i=t[n];return delete o[n],o[n]=i,o},{...t}):t}function Ou(e,t){return t==="@"||t.startsWith("@")&&(e.some(r=>t.startsWith(`@${r}`))||!!t.match(/^@\d/))}function Bu(e,t){const r=t.match(/^@([^/]+)?\/?(.+)?$/);if(!r)return null;const[,o,n]=r,i=Number.isNaN(+o)?o||0:+o;return e.containerQueries(n).up(i)}function Lu(e){const t=(i,s)=>i.replace("@media",s?`@container ${s}`:"@container");function r(i,s){i.up=(...a)=>t(e.breakpoints.up(...a),s),i.down=(...a)=>t(e.breakpoints.down(...a),s),i.between=(...a)=>t(e.breakpoints.between(...a),s),i.only=(...a)=>t(e.breakpoints.only(...a),s),i.not=(...a)=>{const l=t(e.breakpoints.not(...a),s);return l.includes("not all and")?l.replace("not all and ","").replace("min-width:","width<").replace("max-width:","width>").replace("and","or"):l}}const o={},n=i=>(r(o,i),o);return r(n),{...e,containerQueries:n}}const Nu={borderRadius:4};function wo(e,t){return t?dt(e,t,{clone:!1}):e}const An={xs:0,sm:600,md:900,lg:1200,xl:1536},Us={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${An[e]}px)`},Fu={containerQueries:e=>({up:t=>{let r=typeof t=="number"?t:An[t]||t;return typeof r=="number"&&(r=`${r}px`),e?`@container ${e} (min-width:${r})`:`@container (min-width:${r})`}})};function Xt(e,t,r){const o=e.theme||{};if(Array.isArray(t)){const i=o.breakpoints||Us;return t.reduce((s,a,l)=>(s[i.up(i.keys[l])]=r(t[l]),s),{})}if(typeof t=="object"){const i=o.breakpoints||Us;return Object.keys(t).reduce((s,a)=>{if(Ou(i.keys,a)){const l=Bu(o.containerQueries?o:Fu,a);l&&(s[l]=r(t[a],a))}else if(Object.keys(i.values||An).includes(a)){const l=i.up(a);s[l]=r(t[a],a)}else{const l=a;s[l]=t[l]}return s},{})}return r(t)}function Rl(e={}){var r;return((r=e.keys)==null?void 0:r.reduce((o,n)=>{const i=e.up(n);return o[i]={},o},{}))||{}}function ki(e,t){return e.reduce((r,o)=>{const n=r[o];return(!n||Object.keys(n).length===0)&&delete r[o],r},t)}function ju(e,...t){const r=Rl(e),o=[r,...t].reduce((n,i)=>dt(n,i),{});return ki(Object.keys(r),o)}function zu(e,t){if(typeof e!="object")return{};const r={},o=Object.keys(t);return Array.isArray(e)?o.forEach((n,i)=>{i<e.length&&(r[n]=!0)}):o.forEach(n=>{e[n]!=null&&(r[n]=!0)}),r}function si({values:e,breakpoints:t,base:r}){const o=r||zu(e,t),n=Object.keys(o);if(n.length===0)return e;let i;return n.reduce((s,a,l)=>(Array.isArray(e)?(s[a]=e[l]!=null?e[l]:e[i],i=l):typeof e=="object"?(s[a]=e[a]!=null?e[a]:e[i],i=a):s[a]=e,s),{})}function D(e){if(typeof e!="string")throw new Error(pr(7));return e.charAt(0).toUpperCase()+e.slice(1)}function Mn(e,t,r=!0){if(!t||typeof t!="string")return null;if(e&&e.vars&&r){const o=`vars.${t}`.split(".").reduce((n,i)=>n&&n[i]?n[i]:null,e);if(o!=null)return o}return t.split(".").reduce((o,n)=>o&&o[n]!=null?o[n]:null,e)}function hn(e,t,r,o=r){let n;return typeof e=="function"?n=e(r):Array.isArray(e)?n=e[r]||o:n=Mn(e,r)||o,t&&(n=t(n,o,e)),n}function et(e){const{prop:t,cssProperty:r=e.prop,themeKey:o,transform:n}=e,i=s=>{if(s[t]==null)return null;const a=s[t],l=s.theme,c=Mn(l,o)||{};return Xt(s,a,f=>{let b=hn(c,n,f);return f===b&&typeof f=="string"&&(b=hn(c,n,`${t}${f==="default"?"":D(f)}`,f)),r===!1?b:{[r]:b}})};return i.propTypes={},i.filterProps=[t],i}function Du(e){const t={};return r=>(t[r]===void 0&&(t[r]=e(r)),t[r])}const Wu={m:"margin",p:"padding"},Hu={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},_s={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},Uu=Du(e=>{if(e.length>2)if(_s[e])e=_s[e];else return[e];const[t,r]=e.split(""),o=Wu[t],n=Hu[r]||"";return Array.isArray(n)?n.map(i=>o+i):[o+n]}),ts=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],rs=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...ts,...rs];function Do(e,t,r,o){var i;const n=(i=Mn(e,t,!0))!=null?i:r;return typeof n=="number"||typeof n=="string"?s=>typeof s=="string"?s:typeof n=="string"?n.startsWith("var(")&&s===0?0:n.startsWith("var(")&&s===1?n:`calc(${s} * ${n})`:n*s:Array.isArray(n)?s=>{if(typeof s=="string")return s;const a=Math.abs(s),l=n[a];return s>=0?l:typeof l=="number"?-l:typeof l=="string"&&l.startsWith("var(")?`calc(-1 * ${l})`:`-${l}`}:typeof n=="function"?n:()=>{}}function On(e){return Do(e,"spacing",8)}function Mr(e,t){return typeof t=="string"||t==null?t:e(t)}function _u(e,t){return r=>e.reduce((o,n)=>(o[n]=Mr(t,r),o),{})}function Vu(e,t,r,o){if(!t.includes(r))return null;const n=Uu(r),i=_u(n,o),s=e[r];return Xt(e,s,i)}function Pl(e,t){const r=On(e.theme);return Object.keys(e).map(o=>Vu(e,t,o,r)).reduce(wo,{})}function Xe(e){return Pl(e,ts)}Xe.propTypes={};Xe.filterProps=ts;function Ye(e){return Pl(e,rs)}Ye.propTypes={};Ye.filterProps=rs;function $l(e=8,t=On({spacing:e})){if(e.mui)return e;const r=(...o)=>(o.length===0?[1]:o).map(i=>{const s=t(i);return typeof s=="number"?`${s}px`:s}).join(" ");return r.mui=!0,r}function Bn(...e){const t=e.reduce((o,n)=>(n.filterProps.forEach(i=>{o[i]=n}),o),{}),r=o=>Object.keys(o).reduce((n,i)=>t[i]?wo(n,t[i](o)):n,{});return r.propTypes={},r.filterProps=e.reduce((o,n)=>o.concat(n.filterProps),[]),r}function Dt(e){return typeof e!="number"?e:`${e}px solid`}function _t(e,t){return et({prop:e,themeKey:"borders",transform:t})}const Ku=_t("border",Dt),qu=_t("borderTop",Dt),Gu=_t("borderRight",Dt),Xu=_t("borderBottom",Dt),Yu=_t("borderLeft",Dt),Zu=_t("borderColor"),Qu=_t("borderTopColor"),Ju=_t("borderRightColor"),ed=_t("borderBottomColor"),td=_t("borderLeftColor"),rd=_t("outline",Dt),od=_t("outlineColor"),Ln=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=Do(e.theme,"shape.borderRadius",4),r=o=>({borderRadius:Mr(t,o)});return Xt(e,e.borderRadius,r)}return null};Ln.propTypes={};Ln.filterProps=["borderRadius"];Bn(Ku,qu,Gu,Xu,Yu,Zu,Qu,Ju,ed,td,Ln,rd,od);const Nn=e=>{if(e.gap!==void 0&&e.gap!==null){const t=Do(e.theme,"spacing",8),r=o=>({gap:Mr(t,o)});return Xt(e,e.gap,r)}return null};Nn.propTypes={};Nn.filterProps=["gap"];const Fn=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=Do(e.theme,"spacing",8),r=o=>({columnGap:Mr(t,o)});return Xt(e,e.columnGap,r)}return null};Fn.propTypes={};Fn.filterProps=["columnGap"];const jn=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=Do(e.theme,"spacing",8),r=o=>({rowGap:Mr(t,o)});return Xt(e,e.rowGap,r)}return null};jn.propTypes={};jn.filterProps=["rowGap"];const nd=et({prop:"gridColumn"}),id=et({prop:"gridRow"}),sd=et({prop:"gridAutoFlow"}),ad=et({prop:"gridAutoColumns"}),ld=et({prop:"gridAutoRows"}),cd=et({prop:"gridTemplateColumns"}),ud=et({prop:"gridTemplateRows"}),dd=et({prop:"gridTemplateAreas"}),pd=et({prop:"gridArea"});Bn(Nn,Fn,jn,nd,id,sd,ad,ld,cd,ud,dd,pd);function qr(e,t){return t==="grey"?t:e}const fd=et({prop:"color",themeKey:"palette",transform:qr}),gd=et({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:qr}),md=et({prop:"backgroundColor",themeKey:"palette",transform:qr});Bn(fd,gd,md);function Et(e){return e<=1&&e!==0?`${e*100}%`:e}const hd=et({prop:"width",transform:Et}),os=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=r=>{var n,i,s,a,l;const o=((s=(i=(n=e.theme)==null?void 0:n.breakpoints)==null?void 0:i.values)==null?void 0:s[r])||An[r];return o?((l=(a=e.theme)==null?void 0:a.breakpoints)==null?void 0:l.unit)!=="px"?{maxWidth:`${o}${e.theme.breakpoints.unit}`}:{maxWidth:o}:{maxWidth:Et(r)}};return Xt(e,e.maxWidth,t)}return null};os.filterProps=["maxWidth"];const bd=et({prop:"minWidth",transform:Et}),yd=et({prop:"height",transform:Et}),vd=et({prop:"maxHeight",transform:Et}),xd=et({prop:"minHeight",transform:Et});et({prop:"size",cssProperty:"width",transform:Et});et({prop:"size",cssProperty:"height",transform:Et});const Sd=et({prop:"boxSizing"});Bn(hd,os,bd,yd,vd,xd,Sd);const Wo={border:{themeKey:"borders",transform:Dt},borderTop:{themeKey:"borders",transform:Dt},borderRight:{themeKey:"borders",transform:Dt},borderBottom:{themeKey:"borders",transform:Dt},borderLeft:{themeKey:"borders",transform:Dt},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:Dt},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:Ln},color:{themeKey:"palette",transform:qr},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:qr},backgroundColor:{themeKey:"palette",transform:qr},p:{style:Ye},pt:{style:Ye},pr:{style:Ye},pb:{style:Ye},pl:{style:Ye},px:{style:Ye},py:{style:Ye},padding:{style:Ye},paddingTop:{style:Ye},paddingRight:{style:Ye},paddingBottom:{style:Ye},paddingLeft:{style:Ye},paddingX:{style:Ye},paddingY:{style:Ye},paddingInline:{style:Ye},paddingInlineStart:{style:Ye},paddingInlineEnd:{style:Ye},paddingBlock:{style:Ye},paddingBlockStart:{style:Ye},paddingBlockEnd:{style:Ye},m:{style:Xe},mt:{style:Xe},mr:{style:Xe},mb:{style:Xe},ml:{style:Xe},mx:{style:Xe},my:{style:Xe},margin:{style:Xe},marginTop:{style:Xe},marginRight:{style:Xe},marginBottom:{style:Xe},marginLeft:{style:Xe},marginX:{style:Xe},marginY:{style:Xe},marginInline:{style:Xe},marginInlineStart:{style:Xe},marginInlineEnd:{style:Xe},marginBlock:{style:Xe},marginBlockStart:{style:Xe},marginBlockEnd:{style:Xe},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:Nn},rowGap:{style:jn},columnGap:{style:Fn},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Et},maxWidth:{style:os},minWidth:{transform:Et},height:{transform:Et},maxHeight:{transform:Et},minHeight:{transform:Et},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 Cd(...e){const t=e.reduce((o,n)=>o.concat(Object.keys(n)),[]),r=new Set(t);return e.every(o=>r.size===Object.keys(o).length)}function wd(e,t){return typeof e=="function"?e(t):e}function kd(){function e(r,o,n,i){const s={[r]:o,theme:n},a=i[r];if(!a)return{[r]:o};const{cssProperty:l=r,themeKey:c,transform:u,style:f}=a;if(o==null)return null;if(c==="typography"&&o==="inherit")return{[r]:o};const b=Mn(n,c)||{};return f?f(s):Xt(s,o,h=>{let g=hn(b,u,h);return h===g&&typeof h=="string"&&(g=hn(b,u,`${r}${h==="default"?"":D(h)}`,h)),l===!1?g:{[l]:g}})}function t(r){var l;const{sx:o,theme:n={},nested:i}=r||{};if(!o)return null;const s=(l=n.unstable_sxConfig)!=null?l:Wo;function a(c){let u=c;if(typeof c=="function")u=c(n);else if(typeof c!="object")return c;if(!u)return null;const f=Rl(n.breakpoints),b=Object.keys(f);let m=f;return Object.keys(u).forEach(h=>{const g=wd(u[h],n);if(g!=null)if(typeof g=="object")if(s[h])m=wo(m,e(h,g,n,s));else{const x=Xt({theme:n},g,w=>({[h]:w}));Cd(x,g)?m[h]=t({sx:g,theme:n,nested:!0}):m=wo(m,x)}else m=wo(m,e(h,g,n,s))}),!i&&n.modularCssLayers?{"@layer sx":Hs(n,ki(b,m))}:Hs(n,ki(b,m))}return Array.isArray(o)?o.map(a):a(o)}return t}const Or=kd();Or.filterProps=["sx"];function Rd(e,t){var o;const r=this;if(r.vars){if(!((o=r.colorSchemes)!=null&&o[e])||typeof r.getColorSchemeSelector!="function")return{};let n=r.getColorSchemeSelector(e);return n==="&"?t:((n.includes("data-")||n.includes("."))&&(n=`*:where(${n.replace(/\s*&$/,"")}) &`),{[n]:t})}return r.palette.mode===e?t:{}}function zn(e={},...t){const{breakpoints:r={},palette:o={},spacing:n,shape:i={},...s}=e,a=Mu(r),l=$l(n);let c=dt({breakpoints:a,direction:"ltr",components:{},palette:{mode:"light",...o},spacing:l,shape:{...Nu,...i}},s);return c=Lu(c),c.applyStyles=Rd,c=t.reduce((u,f)=>dt(u,f),c),c.unstable_sxConfig={...Wo,...s==null?void 0:s.unstable_sxConfig},c.unstable_sx=function(f){return Or({sx:f,theme:this})},c}function Pd(e){return Object.keys(e).length===0}function $d(e=null){const t=p.useContext(En);return!t||Pd(t)?e:t}const Td=zn();function Dn(e=Td){return $d(e)}function ai(e){const t=xr(e);return e!==t&&t.styles?(t.styles.match(/^@layer\s+[^{]*$/)||(t.styles=`@layer global{${t.styles}}`),t):e}function Id({styles:e,themeId:t,defaultTheme:r={}}){const o=Dn(r),n=t&&o[t]||o;let i=typeof e=="function"?e(n):e;return n.modularCssLayers&&(Array.isArray(i)?i=i.map(s=>ai(typeof s=="function"?s(n):s)):i=ai(i)),C.jsx($u,{styles:i})}const Ed=e=>{var o,n;const t={systemProps:{},otherProps:{}},r=(n=(o=e==null?void 0:e.theme)==null?void 0:o.unstable_sxConfig)!=null?n:Wo;return Object.keys(e).forEach(i=>{r[i]?t.systemProps[i]=e[i]:t.otherProps[i]=e[i]}),t};function ns(e){const{sx:t,...r}=e,{systemProps:o,otherProps:n}=Ed(r);let i;return Array.isArray(t)?i=[o,...t]:typeof t=="function"?i=(...s)=>{const a=t(...s);return tr(a)?{...o,...a}:o}:i={...o,...t},{...n,sx:i}}const Vs=e=>e,Ad=()=>{let e=Vs;return{configure(t){e=t},generate(t){return e(t)},reset(){e=Vs}}},Tl=Ad();function Md(e={}){const{themeId:t,defaultTheme:r,defaultClassName:o="MuiBox-root",generateClassName:n}=e,i=Cl("div",{shouldForwardProp:a=>a!=="theme"&&a!=="sx"&&a!=="as"})(Or);return p.forwardRef(function(l,c){const u=Dn(r),{className:f,component:b="div",...m}=ns(l);return C.jsx(i,{as:b,ref:c,className:X(f,n?n(o):o),theme:t&&u[t]||u,...m})})}const Od={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 le(e,t,r="Mui"){const o=Od[t];return o?`${r}-${o}`:`${Tl.generate(e)}-${t}`}function ce(e,t,r="Mui"){const o={};return t.forEach(n=>{o[n]=le(e,n,r)}),o}function Il(e){const{variants:t,...r}=e,o={variants:t,style:xr(r),isProcessed:!0};return o.style===r||t&&t.forEach(n=>{typeof n.style!="function"&&(n.style=xr(n.style))}),o}const Bd=zn();function li(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}function Tr(e,t){return t&&e&&typeof e=="object"&&e.styles&&!e.styles.startsWith("@layer")&&(e.styles=`@layer ${t}{${String(e.styles)}}`),e}function Ld(e){return e?(t,r)=>r[e]:null}function Nd(e,t,r){e.theme=jd(e.theme)?r:e.theme[t]||e.theme}function dn(e,t,r){const o=typeof t=="function"?t(e):t;if(Array.isArray(o))return o.flatMap(n=>dn(e,n,r));if(Array.isArray(o==null?void 0:o.variants)){let n;if(o.isProcessed)n=r?Tr(o.style,r):o.style;else{const{variants:i,...s}=o;n=r?Tr(xr(s),r):s}return El(e,o.variants,[n],r)}return o!=null&&o.isProcessed?r?Tr(xr(o.style),r):o.style:r?Tr(xr(o),r):o}function El(e,t,r=[],o=void 0){var i;let n;e:for(let s=0;s<t.length;s+=1){const a=t[s];if(typeof a.props=="function"){if(n!=null||(n={...e,...e.ownerState,ownerState:e.ownerState}),!a.props(n))continue}else for(const l in a.props)if(e[l]!==a.props[l]&&((i=e.ownerState)==null?void 0:i[l])!==a.props[l])continue e;typeof a.style=="function"?(n!=null||(n={...e,...e.ownerState,ownerState:e.ownerState}),r.push(o?Tr(xr(a.style(n)),o):a.style(n))):r.push(o?Tr(xr(a.style),o):a.style)}return r}function Al(e={}){const{themeId:t,defaultTheme:r=Bd,rootShouldForwardProp:o=li,slotShouldForwardProp:n=li}=e;function i(a){Nd(a,t,r)}return(a,l={})=>{Tu(a,k=>k.filter(T=>T!==Or));const{name:c,slot:u,skipVariantsResolver:f,skipSx:b,overridesResolver:m=Ld(Dd(u)),...h}=l,g=c&&c.startsWith("Mui")||u?"components":"custom",x=f!==void 0?f:u&&u!=="Root"&&u!=="root"||!1,w=b||!1;let R=li;u==="Root"||u==="root"?R=o:u?R=n:zd(a)&&(R=void 0);const v=Cl(a,{shouldForwardProp:R,label:Fd(),...h}),y=k=>{if(k.__emotion_real===k)return k;if(typeof k=="function")return function(M){return dn(M,k,M.theme.modularCssLayers?g:void 0)};if(tr(k)){const T=Il(k);return function(B){return T.variants?dn(B,T,B.theme.modularCssLayers?g:void 0):B.theme.modularCssLayers?Tr(T.style,g):T.style}}return k},S=(...k)=>{const T=[],M=k.map(y),B=[];if(T.push(i),c&&m&&B.push(function(P){var z,q;const E=(q=(z=P.theme.components)==null?void 0:z[c])==null?void 0:q.styleOverrides;if(!E)return null;const I={};for(const j in E)I[j]=dn(P,E[j],P.theme.modularCssLayers?"theme":void 0);return m(P,I)}),c&&!x&&B.push(function(P){var I,z;const $=P.theme,E=(z=(I=$==null?void 0:$.components)==null?void 0:I[c])==null?void 0:z.variants;return E?El(P,E,[],P.theme.modularCssLayers?"theme":void 0):null}),w||B.push(Or),Array.isArray(M[0])){const d=M.shift(),P=new Array(T.length).fill(""),$=new Array(B.length).fill("");let E;E=[...P,...d,...$],E.raw=[...P,...d.raw,...$],T.unshift(E)}const A=[...T,...M,...B],O=v(...A);return a.muiName&&(O.muiName=a.muiName),O};return v.withConfig&&(S.withConfig=v.withConfig),S}}function Fd(e,t){return void 0}function jd(e){for(const t in e)return!1;return!0}function zd(e){return typeof e=="string"&&e.charCodeAt(0)>96}function Dd(e){return e&&e.charAt(0).toLowerCase()+e.slice(1)}const Wd=Al();function Bo(e,t,r=!1){const o={...t};for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)){const i=n;if(i==="components"||i==="slots")o[i]={...e[i],...o[i]};else if(i==="componentsProps"||i==="slotProps"){const s=e[i],a=t[i];if(!a)o[i]=s||{};else if(!s)o[i]=a;else{o[i]={...a};for(const l in s)if(Object.prototype.hasOwnProperty.call(s,l)){const c=l;o[i][c]=Bo(s[c],a[c],r)}}}else i==="className"&&r&&t.className?o.className=X(e==null?void 0:e.className,t==null?void 0:t.className):i==="style"&&r&&t.style?o.style={...e==null?void 0:e.style,...t==null?void 0:t.style}:o[i]===void 0&&(o[i]=e[i])}return o}function Hd(e){const{theme:t,name:r,props:o}=e;return!t||!t.components||!t.components[r]||!t.components[r].defaultProps?o:Bo(t.components[r].defaultProps,o)}function Ud({props:e,name:t,defaultTheme:r,themeId:o}){let n=Dn(r);return o&&(n=n[o]||n),Hd({theme:n,name:t,props:e})}const Yt=typeof window!="undefined"?p.useLayoutEffect:p.useEffect;function _d(e,t=Number.MIN_SAFE_INTEGER,r=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,r))}function is(e,t=0,r=1){return _d(e,t,r)}function Vd(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let r=e.match(t);return r&&r[0].length===1&&(r=r.map(o=>o+o)),r?`rgb${r.length===4?"a":""}(${r.map((o,n)=>n<3?parseInt(o,16):Math.round(parseInt(o,16)/255*1e3)/1e3).join(", ")})`:""}function Sr(e){if(e.type)return e;if(e.charAt(0)==="#")return Sr(Vd(e));const t=e.indexOf("("),r=e.substring(0,t);if(!["rgb","rgba","hsl","hsla","color"].includes(r))throw new Error(pr(9,e));let o=e.substring(t+1,e.length-1),n;if(r==="color"){if(o=o.split(" "),n=o.shift(),o.length===4&&o[3].charAt(0)==="/"&&(o[3]=o[3].slice(1)),!["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].includes(n))throw new Error(pr(10,n))}else o=o.split(",");return o=o.map(i=>parseFloat(i)),{type:r,values:o,colorSpace:n}}const Kd=e=>{const t=Sr(e);return t.values.slice(0,3).map((r,o)=>t.type.includes("hsl")&&o!==0?`${r}%`:r).join(" ")},vo=(e,t)=>{try{return Kd(e)}catch(r){return e}};function Wn(e){const{type:t,colorSpace:r}=e;let{values:o}=e;return t.includes("rgb")?o=o.map((n,i)=>i<3?parseInt(n,10):n):t.includes("hsl")&&(o[1]=`${o[1]}%`,o[2]=`${o[2]}%`),t.includes("color")?o=`${r} ${o.join(" ")}`:o=`${o.join(", ")}`,`${t}(${o})`}function Ml(e){e=Sr(e);const{values:t}=e,r=t[0],o=t[1]/100,n=t[2]/100,i=o*Math.min(n,1-n),s=(c,u=(c+r/30)%12)=>n-i*Math.max(Math.min(u-3,9-u,1),-1);let a="rgb";const l=[Math.round(s(0)*255),Math.round(s(8)*255),Math.round(s(4)*255)];return e.type==="hsla"&&(a+="a",l.push(t[3])),Wn({type:a,values:l})}function Ri(e){e=Sr(e);let t=e.type==="hsl"||e.type==="hsla"?Sr(Ml(e)).values:e.values;return t=t.map(r=>(e.type!=="color"&&(r/=255),r<=.03928?r/12.92:((r+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function qd(e,t){const r=Ri(e),o=Ri(t);return(Math.max(r,o)+.05)/(Math.min(r,o)+.05)}function bn(e,t){return e=Sr(e),t=is(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,Wn(e)}function kr(e,t,r){try{return bn(e,t)}catch(o){return e}}function Hn(e,t){if(e=Sr(e),t=is(t),e.type.includes("hsl"))e.values[2]*=1-t;else if(e.type.includes("rgb")||e.type.includes("color"))for(let r=0;r<3;r+=1)e.values[r]*=1-t;return Wn(e)}function De(e,t,r){try{return Hn(e,t)}catch(o){return e}}function Un(e,t){if(e=Sr(e),t=is(t),e.type.includes("hsl"))e.values[2]+=(100-e.values[2])*t;else if(e.type.includes("rgb"))for(let r=0;r<3;r+=1)e.values[r]+=(255-e.values[r])*t;else if(e.type.includes("color"))for(let r=0;r<3;r+=1)e.values[r]+=(1-e.values[r])*t;return Wn(e)}function We(e,t,r){try{return Un(e,t)}catch(o){return e}}function Gd(e,t=.15){return Ri(e)>.5?Hn(e,t):Un(e,t)}function Jo(e,t,r){try{return Gd(e,t)}catch(o){return e}}const Xd=p.createContext(),Ho=()=>{const e=p.useContext(Xd);return e!=null?e:!1},Yd=p.createContext(void 0);function Zd(e){const{theme:t,name:r,props:o}=e;if(!t||!t.components||!t.components[r])return o;const n=t.components[r];return n.defaultProps?Bo(n.defaultProps,o,t.components.mergeClassNameAndStyle):!n.styleOverrides&&!n.variants?Bo(n,o,t.components.mergeClassNameAndStyle):o}function Qd({props:e,name:t}){const r=p.useContext(Yd);return Zd({props:e,name:t,theme:{components:r}})}let Ks=0;function Jd(e){const[t,r]=p.useState(e),o=e||t;return p.useEffect(()=>{t==null&&(Ks+=1,r(`mui-${Ks}`))},[t]),o}const ep={...vi},qs=ep.useId;function Lr(e){if(qs!==void 0){const t=qs();return e!=null?e:t}return Jd(e)}const Gs={theme:void 0};function tp(e){let t,r;return function(n){let i=t;return(i===void 0||n.theme!==r)&&(Gs.theme=n.theme,i=Il(e(Gs)),t=i,r=n.theme),i}}function rp(e=""){function t(...o){if(!o.length)return"";const n=o[0];return typeof n=="string"&&!n.match(/(#|\(|\)|(-?(\d*\.)?\d+)(px|em|%|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc))|^(-?(\d*\.)?\d+)$|(\d+ \d+ \d+)/)?`, var(--${e?`${e}-`:""}${n}${t(...o.slice(1))})`:`, ${n}`}return(o,...n)=>`var(--${e?`${e}-`:""}${o}${t(...n)})`}const Xs=(e,t,r,o=[])=>{let n=e;t.forEach((i,s)=>{s===t.length-1?Array.isArray(n)?n[Number(i)]=r:n&&typeof n=="object"&&(n[i]=r):n&&typeof n=="object"&&(n[i]||(n[i]=o.includes(i)?[]:{}),n=n[i])})},op=(e,t,r)=>{function o(n,i=[],s=[]){Object.entries(n).forEach(([a,l])=>{(!r||r&&!r([...i,a]))&&l!=null&&(typeof l=="object"&&Object.keys(l).length>0?o(l,[...i,a],Array.isArray(l)?[...s,a]:s):t([...i,a],l,s))})}o(e)},np=(e,t)=>typeof t=="number"?["lineHeight","fontWeight","opacity","zIndex"].some(o=>e.includes(o))||e[e.length-1].toLowerCase().includes("opacity")?t:`${t}px`:t;function ci(e,t){const{prefix:r,shouldSkipGeneratingVar:o}=t||{},n={},i={},s={};return op(e,(a,l,c)=>{if((typeof l=="string"||typeof l=="number")&&(!o||!o(a,l))){const u=`--${r?`${r}-`:""}${a.join("-")}`,f=np(a,l);Object.assign(n,{[u]:f}),Xs(i,a,`var(${u})`,c),Xs(s,a,`var(${u}, ${f})`,c)}},a=>a[0]==="vars"),{css:n,vars:i,varsWithDefaults:s}}function ip(e,t={}){const{getSelector:r=w,disableCssColorScheme:o,colorSchemeSelector:n,enableContrastVars:i}=t,{colorSchemes:s={},components:a,defaultColorScheme:l="light",...c}=e,{vars:u,css:f,varsWithDefaults:b}=ci(c,t);let m=b;const h={},{[l]:g,...x}=s;if(Object.entries(x||{}).forEach(([y,S])=>{const{vars:k,css:T,varsWithDefaults:M}=ci(S,t);m=dt(m,M),h[y]={css:T,vars:k}}),g){const{css:y,vars:S,varsWithDefaults:k}=ci(g,t);m=dt(m,k),h[l]={css:y,vars:S}}function w(y,S){var T,M;let k=n;if(n==="class"&&(k=".%s"),n==="data"&&(k="[data-%s]"),n!=null&&n.startsWith("data-")&&!n.includes("%s")&&(k=`[${n}="%s"]`),y){if(k==="media")return e.defaultColorScheme===y?":root":{[`@media (prefers-color-scheme: ${((M=(T=s[y])==null?void 0:T.palette)==null?void 0:M.mode)||y})`]:{":root":S}};if(k)return e.defaultColorScheme===y?`:root, ${k.replace("%s",String(y))}`:k.replace("%s",String(y))}return":root"}return{vars:m,generateThemeVars:()=>{let y={...u};return Object.entries(h).forEach(([,{vars:S}])=>{y=dt(y,S)}),y},generateStyleSheets:()=>{var B,A;const y=[],S=e.defaultColorScheme||"light";function k(O,d){Object.keys(d).length&&y.push(typeof O=="string"?{[O]:{...d}}:O)}k(r(void 0,{...f}),f);const{[S]:T,...M}=h;if(T){const{css:O}=T,d=(A=(B=s[S])==null?void 0:B.palette)==null?void 0:A.mode,P=!o&&d?{colorScheme:d,...O}:{...O};k(r(S,{...P}),P)}return Object.entries(M).forEach(([O,{css:d}])=>{var E,I;const P=(I=(E=s[O])==null?void 0:E.palette)==null?void 0:I.mode,$=!o&&P?{colorScheme:P,...d}:{...d};k(r(O,{...$}),$)}),i&&y.push({":root":{"--__l-threshold":"0.7","--__l":"clamp(0, (l / var(--__l-threshold) - 1) * -infinity, 1)","--__a":"clamp(0.87, (l / var(--__l-threshold) - 1) * -infinity, 1)"}}),y}}}function sp(e){return function(r){return e==="media"?`@media (prefers-color-scheme: ${r})`:e?e.startsWith("data-")&&!e.includes("%s")?`[${e}="${r}"] &`:e==="class"?`.${r} &`:e==="data"?`[data-${r}] &`:`${e.replace("%s",r)} &`:"&"}}function ge(e,t,r=void 0){const o={};for(const n in e){const i=e[n];let s="",a=!0;for(let l=0;l<i.length;l+=1){const c=i[l];c&&(s+=(a===!0?"":" ")+t(c),a=!1,r&&r[c]&&(s+=" "+r[c]))}o[n]=s}return o}function ui(e,t){var r,o,n,i;return p.isValidElement(e)&&t.indexOf((i=e.type.muiName)!=null?i:(n=(o=(r=e.type)==null?void 0:r._payload)==null?void 0:o.value)==null?void 0:n.muiName)!==-1}const ap=zn(),lp=Wd("div",{name:"MuiStack",slot:"Root"});function cp(e){return Ud({props:e,name:"MuiStack",defaultTheme:ap})}function up(e,t){const r=p.Children.toArray(e).filter(Boolean);return r.reduce((o,n,i)=>(o.push(n),i<r.length-1&&o.push(p.cloneElement(t,{key:`separator-${i}`})),o),[])}const dp=e=>({row:"Left","row-reverse":"Right",column:"Top","column-reverse":"Bottom"})[e],pp=({ownerState:e,theme:t})=>{let r={display:"flex",flexDirection:"column",...Xt({theme:t},si({values:e.direction,breakpoints:t.breakpoints.values}),o=>({flexDirection:o}))};if(e.spacing){const o=On(t),n=Object.keys(t.breakpoints.values).reduce((l,c)=>((typeof e.spacing=="object"&&e.spacing[c]!=null||typeof e.direction=="object"&&e.direction[c]!=null)&&(l[c]=!0),l),{}),i=si({values:e.direction,base:n}),s=si({values:e.spacing,base:n});typeof i=="object"&&Object.keys(i).forEach((l,c,u)=>{if(!i[l]){const b=c>0?i[u[c-1]]:"column";i[l]=b}}),r=dt(r,Xt({theme:t},s,(l,c)=>e.useFlexGap?{gap:Mr(o,l)}:{"& > :not(style):not(style)":{margin:0},"& > :not(style) ~ :not(style)":{[`margin${dp(c?i[c]:e.direction)}`]:Mr(o,l)}}))}return r=ju(t.breakpoints,r),r};function fp(e={}){const{createStyledComponent:t=lp,useThemeProps:r=cp,componentName:o="MuiStack"}=e,n=()=>ge({root:["root"]},l=>le(o,l),{}),i=t(pp);return p.forwardRef(function(l,c){const u=r(l),f=ns(u),{component:b="div",direction:m="column",spacing:h=0,divider:g,children:x,className:w,useFlexGap:R=!1,...v}=f,y={direction:m,spacing:h,useFlexGap:R},S=n();return C.jsx(i,{as:b,ownerState:y,ref:c,className:X(S.root,w),...v,children:g?up(x,g):x})})}function Ol(){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:Eo.white,default:Eo.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 Bl=Ol();function Ll(){return{text:{primary:Eo.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:Eo.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 Pi=Ll();function Ys(e,t,r,o){const n=o.light||o,i=o.dark||o*1.5;e[t]||(e.hasOwnProperty(r)?e[t]=e[r]:t==="light"?e.light=Un(e.main,n):t==="dark"&&(e.dark=Hn(e.main,i)))}function Zs(e,t,r,o,n){const i=n.light||n,s=n.dark||n*1.5;t[r]||(t.hasOwnProperty(o)?t[r]=t[o]:r==="light"?t.light=`color-mix(in ${e}, ${t.main}, #fff ${(i*100).toFixed(0)}%)`:r==="dark"&&(t.dark=`color-mix(in ${e}, ${t.main}, #000 ${(s*100).toFixed(0)}%)`))}function gp(e="light"){return e==="dark"?{main:Dr[200],light:Dr[50],dark:Dr[400]}:{main:Dr[700],light:Dr[400],dark:Dr[800]}}function mp(e="light"){return e==="dark"?{main:zr[200],light:zr[50],dark:zr[400]}:{main:zr[500],light:zr[300],dark:zr[700]}}function hp(e="light"){return e==="dark"?{main:jr[500],light:jr[300],dark:jr[700]}:{main:jr[700],light:jr[400],dark:jr[800]}}function bp(e="light"){return e==="dark"?{main:Wr[400],light:Wr[300],dark:Wr[700]}:{main:Wr[700],light:Wr[500],dark:Wr[900]}}function yp(e="light"){return e==="dark"?{main:Hr[400],light:Hr[300],dark:Hr[700]}:{main:Hr[800],light:Hr[500],dark:Hr[900]}}function vp(e="light"){return e==="dark"?{main:po[400],light:po[300],dark:po[700]}:{main:"#ed6c02",light:po[500],dark:po[900]}}function xp(e){return`oklch(from ${e} var(--__l) 0 h / var(--__a))`}function ss(e){const{mode:t="light",contrastThreshold:r=3,tonalOffset:o=.2,colorSpace:n,...i}=e,s=e.primary||gp(t),a=e.secondary||mp(t),l=e.error||hp(t),c=e.info||bp(t),u=e.success||yp(t),f=e.warning||vp(t);function b(x){return n?xp(x):qd(x,Pi.text.primary)>=r?Pi.text.primary:Bl.text.primary}const m=({color:x,name:w,mainShade:R=500,lightShade:v=300,darkShade:y=700})=>{if(x={...x},!x.main&&x[R]&&(x.main=x[R]),!x.hasOwnProperty("main"))throw new Error(pr(11,w?` (${w})`:"",R));if(typeof x.main!="string")throw new Error(pr(12,w?` (${w})`:"",JSON.stringify(x.main)));return n?(Zs(n,x,"light",v,o),Zs(n,x,"dark",y,o)):(Ys(x,"light",v,o),Ys(x,"dark",y,o)),x.contrastText||(x.contrastText=b(x.main)),x};let h;return t==="light"?h=Ol():t==="dark"&&(h=Ll()),dt({common:{...Eo},mode:t,primary:m({color:s,name:"primary"}),secondary:m({color:a,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:m({color:l,name:"error"}),warning:m({color:f,name:"warning"}),info:m({color:c,name:"info"}),success:m({color:u,name:"success"}),grey:Tc,contrastThreshold:r,getContrastText:b,augmentColor:m,tonalOffset:o,...h},i)}function Sp(e){const t={};return Object.entries(e).forEach(o=>{const[n,i]=o;typeof i=="object"&&(t[n]=`${i.fontStyle?`${i.fontStyle} `:""}${i.fontVariant?`${i.fontVariant} `:""}${i.fontWeight?`${i.fontWeight} `:""}${i.fontStretch?`${i.fontStretch} `:""}${i.fontSize||""}${i.lineHeight?`/${i.lineHeight} `:""}${i.fontFamily||""}`)}),t}function Cp(e,t){return{toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}},...t}}function wp(e){return Math.round(e*1e5)/1e5}const Qs={textTransform:"uppercase"},Js='"Roboto", "Helvetica", "Arial", sans-serif';function kp(e,t){const{fontFamily:r=Js,fontSize:o=14,fontWeightLight:n=300,fontWeightRegular:i=400,fontWeightMedium:s=500,fontWeightBold:a=700,htmlFontSize:l=16,allVariants:c,pxToRem:u,...f}=typeof t=="function"?t(e):t,b=o/14,m=u||(x=>`${x/l*b}rem`),h=(x,w,R,v,y)=>({fontFamily:r,fontWeight:x,fontSize:m(w),lineHeight:R,...r===Js?{letterSpacing:`${wp(v/w)}em`}:{},...y,...c}),g={h1:h(n,96,1.167,-1.5),h2:h(n,60,1.2,-.5),h3:h(i,48,1.167,0),h4:h(i,34,1.235,.25),h5:h(i,24,1.334,0),h6:h(s,20,1.6,.15),subtitle1:h(i,16,1.75,.15),subtitle2:h(s,14,1.57,.1),body1:h(i,16,1.5,.15),body2:h(i,14,1.43,.15),button:h(s,14,1.75,.4,Qs),caption:h(i,12,1.66,.4),overline:h(i,12,2.66,1,Qs),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return dt({htmlFontSize:l,pxToRem:m,fontFamily:r,fontSize:o,fontWeightLight:n,fontWeightRegular:i,fontWeightMedium:s,fontWeightBold:a,...g},f,{clone:!1})}const Rp=.2,Pp=.14,$p=.12;function _e(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${Rp})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${Pp})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${$p})`].join(",")}const Tp=["none",_e(0,2,1,-1,0,1,1,0,0,1,3,0),_e(0,3,1,-2,0,2,2,0,0,1,5,0),_e(0,3,3,-2,0,3,4,0,0,1,8,0),_e(0,2,4,-1,0,4,5,0,0,1,10,0),_e(0,3,5,-1,0,5,8,0,0,1,14,0),_e(0,3,5,-1,0,6,10,0,0,1,18,0),_e(0,4,5,-2,0,7,10,1,0,2,16,1),_e(0,5,5,-3,0,8,10,1,0,3,14,2),_e(0,5,6,-3,0,9,12,1,0,3,16,2),_e(0,6,6,-3,0,10,14,1,0,4,18,3),_e(0,6,7,-4,0,11,15,1,0,4,20,3),_e(0,7,8,-4,0,12,17,2,0,5,22,4),_e(0,7,8,-4,0,13,19,2,0,5,24,4),_e(0,7,9,-4,0,14,21,2,0,5,26,4),_e(0,8,9,-5,0,15,22,2,0,6,28,5),_e(0,8,10,-5,0,16,24,2,0,6,30,5),_e(0,8,11,-5,0,17,26,2,0,6,32,5),_e(0,9,11,-5,0,18,28,2,0,7,34,6),_e(0,9,12,-6,0,19,29,2,0,7,36,6),_e(0,10,13,-6,0,20,31,3,0,8,38,7),_e(0,10,13,-6,0,21,33,3,0,8,40,7),_e(0,10,14,-6,0,22,35,3,0,8,42,7),_e(0,11,14,-7,0,23,36,3,0,9,44,8),_e(0,11,15,-7,0,24,38,3,0,9,46,8)],Ip={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)"},Ep={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function ea(e){return`${Math.round(e)}ms`}function Ap(e){if(!e)return 0;const t=e/36;return Math.min(Math.round((4+15*t**.25+t/5)*10),3e3)}function Mp(e){const t={...Ip,...e.easing},r={...Ep,...e.duration};return{getAutoHeightDuration:Ap,create:(n=["all"],i={})=>{const{duration:s=r.standard,easing:a=t.easeInOut,delay:l=0,...c}=i;return(Array.isArray(n)?n:[n]).map(u=>`${u} ${typeof s=="string"?s:ea(s)} ${a} ${typeof l=="string"?l:ea(l)}`).join(",")},...e,easing:t,duration:r}}const Op={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function Bp(e){return tr(e)||typeof e=="undefined"||typeof e=="string"||typeof e=="boolean"||typeof e=="number"||Array.isArray(e)}function Nl(e={}){const t={...e};function r(o){const n=Object.entries(o);for(let i=0;i<n.length;i++){const[s,a]=n[i];!Bp(a)||s.startsWith("unstable_")?delete o[s]:tr(a)&&(o[s]={...a},r(o[s]))}}return r(t),`import { unstable_createBreakpoints as createBreakpoints, createTransitions } from '@mui/material/styles';

const theme = ${JSON.stringify(t,null,2)};

theme.breakpoints = createBreakpoints(theme.breakpoints || {});
theme.transitions = createTransitions(theme.transitions || {});

export default theme;`}function ta(e){return typeof e=="number"?`${(e*100).toFixed(0)}%`:`calc((${e}) * 100%)`}const Lp=e=>{if(!Number.isNaN(+e))return+e;const t=e.match(/\d*\.?\d+/g);if(!t)return 0;let r=0;for(let o=0;o<t.length;o+=1)r+=+t[o];return r};function Np(e){Object.assign(e,{alpha(t,r){const o=this||e;return o.colorSpace?`oklch(from ${t} l c h / ${typeof r=="string"?`calc(${r})`:r})`:o.vars?`rgba(${t.replace(/var\(--([^,\s)]+)(?:,[^)]+)?\)+/g,"var(--$1Channel)")} / ${typeof r=="string"?`calc(${r})`:r})`:bn(t,Lp(r))},lighten(t,r){const o=this||e;return o.colorSpace?`color-mix(in ${o.colorSpace}, ${t}, #fff ${ta(r)})`:Un(t,r)},darken(t,r){const o=this||e;return o.colorSpace?`color-mix(in ${o.colorSpace}, ${t}, #000 ${ta(r)})`:Hn(t,r)}})}function $i(e={},...t){const{breakpoints:r,mixins:o={},spacing:n,palette:i={},transitions:s={},typography:a={},shape:l,colorSpace:c,...u}=e;if(e.vars&&e.generateThemeVars===void 0)throw new Error(pr(20));const f=ss({...i,colorSpace:c}),b=zn(e);let m=dt(b,{mixins:Cp(b.breakpoints,o),palette:f,shadows:Tp.slice(),typography:kp(f,a),transitions:Mp(s),zIndex:{...Op}});return m=dt(m,u),m=t.reduce((h,g)=>dt(h,g),m),m.unstable_sxConfig={...Wo,...u==null?void 0:u.unstable_sxConfig},m.unstable_sx=function(g){return Or({sx:g,theme:this})},m.toRuntimeSource=Nl,Np(m),m}function Ti(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 Fp=[...Array(25)].map((e,t)=>{if(t===0)return"none";const r=Ti(t);return`linear-gradient(rgba(255 255 255 / ${r}), rgba(255 255 255 / ${r}))`});function Fl(e){return{inputPlaceholder:e==="dark"?.5:.42,inputUnderline:e==="dark"?.7:.42,switchTrackDisabled:e==="dark"?.2:.12,switchTrack:e==="dark"?.3:.38}}function jl(e){return e==="dark"?Fp:[]}function jp(e){const{palette:t={mode:"light"},opacity:r,overlays:o,colorSpace:n,...i}=e,s=ss({...t,colorSpace:n});return{palette:s,opacity:{...Fl(s.mode),...r},overlays:o||jl(s.mode),...i}}function zp(e){var t;return!!e[0].match(/(cssVarPrefix|colorSchemeSelector|modularCssLayers|rootSelector|typography|mixins|breakpoints|direction|transitions)/)||!!e[0].match(/sxConfig$/)||e[0]==="palette"&&!!((t=e[1])!=null&&t.match(/(mode|contrastThreshold|tonalOffset)/))}const Dp=e=>[...[...Array(25)].map((t,r)=>`--${e?`${e}-`:""}overlays-${r}`),`--${e?`${e}-`:""}palette-AppBar-darkBg`,`--${e?`${e}-`:""}palette-AppBar-darkColor`],Wp=e=>(t,r)=>{const o=e.rootSelector||":root",n=e.colorSchemeSelector;let i=n;if(n==="class"&&(i=".%s"),n==="data"&&(i="[data-%s]"),n!=null&&n.startsWith("data-")&&!n.includes("%s")&&(i=`[${n}="%s"]`),e.defaultColorScheme===t){if(t==="dark"){const s={};return Dp(e.cssVarPrefix).forEach(a=>{s[a]=r[a],delete r[a]}),i==="media"?{[o]:r,"@media (prefers-color-scheme: dark)":{[o]:s}}:i?{[i.replace("%s",t)]:s,[`${o}, ${i.replace("%s",t)}`]:r}:{[o]:{...r,...s}}}if(i&&i!=="media")return`${o}, ${i.replace("%s",String(t))}`}else if(t){if(i==="media")return{[`@media (prefers-color-scheme: ${String(t)})`]:{[o]:r}};if(i)return i.replace("%s",String(t))}return o};function Hp(e,t){t.forEach(r=>{e[r]||(e[r]={})})}function N(e,t,r){!e[t]&&r&&(e[t]=r)}function xo(e){return typeof e!="string"||!e.startsWith("hsl")?e:Ml(e)}function lr(e,t){`${t}Channel`in e||(e[`${t}Channel`]=vo(xo(e[t])))}function Up(e){return typeof e=="number"?`${e}px`:typeof e=="string"||typeof e=="function"||Array.isArray(e)?e:"8px"}const Qt=e=>{try{return e()}catch(t){}},_p=(e="mui")=>rp(e);function di(e,t,r,o,n){if(!r)return;r=r===!0?{}:r;const i=n==="dark"?"dark":"light";if(!o){t[n]=jp({...r,palette:{mode:i,...r==null?void 0:r.palette},colorSpace:e});return}const{palette:s,...a}=$i({...o,palette:{mode:i,...r==null?void 0:r.palette},colorSpace:e});return t[n]={...r,palette:s,opacity:{...Fl(i),...r==null?void 0:r.opacity},overlays:(r==null?void 0:r.overlays)||jl(i)},a}function Vp(e={},...t){const{colorSchemes:r={light:!0},defaultColorScheme:o,disableCssColorScheme:n=!1,cssVarPrefix:i="mui",nativeColor:s=!1,shouldSkipGeneratingVar:a=zp,colorSchemeSelector:l=r.light&&r.dark?"media":void 0,rootSelector:c=":root",...u}=e,f=Object.keys(r)[0],b=o||(r.light&&f!=="light"?"light":f),m=_p(i),{[b]:h,light:g,dark:x,...w}=r,R={...w};let v=h;if((b==="dark"&&!("dark"in r)||b==="light"&&!("light"in r))&&(v=!0),!v)throw new Error(pr(21,b));let y;s&&(y="oklch");const S=di(y,R,v,u,b);g&&!R.light&&di(y,R,g,void 0,"light"),x&&!R.dark&&di(y,R,x,void 0,"dark");let k={defaultColorScheme:b,...S,cssVarPrefix:i,colorSchemeSelector:l,rootSelector:c,getCssVar:m,colorSchemes:R,font:{...Sp(S.typography),...S.font},spacing:Up(u.spacing)};Object.keys(k.colorSchemes).forEach(O=>{const d=k.colorSchemes[O].palette,P=E=>{const I=E.split("-"),z=I[1],q=I[2];return m(E,d[z][q])};d.mode==="light"&&(N(d.common,"background","#fff"),N(d.common,"onBackground","#000")),d.mode==="dark"&&(N(d.common,"background","#000"),N(d.common,"onBackground","#fff"));function $(E,I,z){if(y){let q;return E===kr&&(q=`transparent ${((1-z)*100).toFixed(0)}%`),E===De&&(q=`#000 ${(z*100).toFixed(0)}%`),E===We&&(q=`#fff ${(z*100).toFixed(0)}%`),`color-mix(in ${y}, ${I}, ${q})`}return E(I,z)}if(Hp(d,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"]),d.mode==="light"){N(d.Alert,"errorColor",$(De,d.error.light,.6)),N(d.Alert,"infoColor",$(De,d.info.light,.6)),N(d.Alert,"successColor",$(De,d.success.light,.6)),N(d.Alert,"warningColor",$(De,d.warning.light,.6)),N(d.Alert,"errorFilledBg",P("palette-error-main")),N(d.Alert,"infoFilledBg",P("palette-info-main")),N(d.Alert,"successFilledBg",P("palette-success-main")),N(d.Alert,"warningFilledBg",P("palette-warning-main")),N(d.Alert,"errorFilledColor",Qt(()=>d.getContrastText(d.error.main))),N(d.Alert,"infoFilledColor",Qt(()=>d.getContrastText(d.info.main))),N(d.Alert,"successFilledColor",Qt(()=>d.getContrastText(d.success.main))),N(d.Alert,"warningFilledColor",Qt(()=>d.getContrastText(d.warning.main))),N(d.Alert,"errorStandardBg",$(We,d.error.light,.9)),N(d.Alert,"infoStandardBg",$(We,d.info.light,.9)),N(d.Alert,"successStandardBg",$(We,d.success.light,.9)),N(d.Alert,"warningStandardBg",$(We,d.warning.light,.9)),N(d.Alert,"errorIconColor",P("palette-error-main")),N(d.Alert,"infoIconColor",P("palette-info-main")),N(d.Alert,"successIconColor",P("palette-success-main")),N(d.Alert,"warningIconColor",P("palette-warning-main")),N(d.AppBar,"defaultBg",P("palette-grey-100")),N(d.Avatar,"defaultBg",P("palette-grey-400")),N(d.Button,"inheritContainedBg",P("palette-grey-300")),N(d.Button,"inheritContainedHoverBg",P("palette-grey-A100")),N(d.Chip,"defaultBorder",P("palette-grey-400")),N(d.Chip,"defaultAvatarColor",P("palette-grey-700")),N(d.Chip,"defaultIconColor",P("palette-grey-700")),N(d.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),N(d.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),N(d.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),N(d.LinearProgress,"primaryBg",$(We,d.primary.main,.62)),N(d.LinearProgress,"secondaryBg",$(We,d.secondary.main,.62)),N(d.LinearProgress,"errorBg",$(We,d.error.main,.62)),N(d.LinearProgress,"infoBg",$(We,d.info.main,.62)),N(d.LinearProgress,"successBg",$(We,d.success.main,.62)),N(d.LinearProgress,"warningBg",$(We,d.warning.main,.62)),N(d.Skeleton,"bg",y?$(kr,d.text.primary,.11):`rgba(${P("palette-text-primaryChannel")} / 0.11)`),N(d.Slider,"primaryTrack",$(We,d.primary.main,.62)),N(d.Slider,"secondaryTrack",$(We,d.secondary.main,.62)),N(d.Slider,"errorTrack",$(We,d.error.main,.62)),N(d.Slider,"infoTrack",$(We,d.info.main,.62)),N(d.Slider,"successTrack",$(We,d.success.main,.62)),N(d.Slider,"warningTrack",$(We,d.warning.main,.62));const E=y?$(De,d.background.default,.6825):Jo(d.background.default,.8);N(d.SnackbarContent,"bg",E),N(d.SnackbarContent,"color",Qt(()=>y?Pi.text.primary:d.getContrastText(E))),N(d.SpeedDialAction,"fabHoverBg",Jo(d.background.paper,.15)),N(d.StepConnector,"border",P("palette-grey-400")),N(d.StepContent,"border",P("palette-grey-400")),N(d.Switch,"defaultColor",P("palette-common-white")),N(d.Switch,"defaultDisabledColor",P("palette-grey-100")),N(d.Switch,"primaryDisabledColor",$(We,d.primary.main,.62)),N(d.Switch,"secondaryDisabledColor",$(We,d.secondary.main,.62)),N(d.Switch,"errorDisabledColor",$(We,d.error.main,.62)),N(d.Switch,"infoDisabledColor",$(We,d.info.main,.62)),N(d.Switch,"successDisabledColor",$(We,d.success.main,.62)),N(d.Switch,"warningDisabledColor",$(We,d.warning.main,.62)),N(d.TableCell,"border",$(We,$(kr,d.divider,1),.88)),N(d.Tooltip,"bg",$(kr,d.grey[700],.92))}if(d.mode==="dark"){N(d.Alert,"errorColor",$(We,d.error.light,.6)),N(d.Alert,"infoColor",$(We,d.info.light,.6)),N(d.Alert,"successColor",$(We,d.success.light,.6)),N(d.Alert,"warningColor",$(We,d.warning.light,.6)),N(d.Alert,"errorFilledBg",P("palette-error-dark")),N(d.Alert,"infoFilledBg",P("palette-info-dark")),N(d.Alert,"successFilledBg",P("palette-success-dark")),N(d.Alert,"warningFilledBg",P("palette-warning-dark")),N(d.Alert,"errorFilledColor",Qt(()=>d.getContrastText(d.error.dark))),N(d.Alert,"infoFilledColor",Qt(()=>d.getContrastText(d.info.dark))),N(d.Alert,"successFilledColor",Qt(()=>d.getContrastText(d.success.dark))),N(d.Alert,"warningFilledColor",Qt(()=>d.getContrastText(d.warning.dark))),N(d.Alert,"errorStandardBg",$(De,d.error.light,.9)),N(d.Alert,"infoStandardBg",$(De,d.info.light,.9)),N(d.Alert,"successStandardBg",$(De,d.success.light,.9)),N(d.Alert,"warningStandardBg",$(De,d.warning.light,.9)),N(d.Alert,"errorIconColor",P("palette-error-main")),N(d.Alert,"infoIconColor",P("palette-info-main")),N(d.Alert,"successIconColor",P("palette-success-main")),N(d.Alert,"warningIconColor",P("palette-warning-main")),N(d.AppBar,"defaultBg",P("palette-grey-900")),N(d.AppBar,"darkBg",P("palette-background-paper")),N(d.AppBar,"darkColor",P("palette-text-primary")),N(d.Avatar,"defaultBg",P("palette-grey-600")),N(d.Button,"inheritContainedBg",P("palette-grey-800")),N(d.Button,"inheritContainedHoverBg",P("palette-grey-700")),N(d.Chip,"defaultBorder",P("palette-grey-700")),N(d.Chip,"defaultAvatarColor",P("palette-grey-300")),N(d.Chip,"defaultIconColor",P("palette-grey-300")),N(d.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),N(d.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),N(d.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),N(d.LinearProgress,"primaryBg",$(De,d.primary.main,.5)),N(d.LinearProgress,"secondaryBg",$(De,d.secondary.main,.5)),N(d.LinearProgress,"errorBg",$(De,d.error.main,.5)),N(d.LinearProgress,"infoBg",$(De,d.info.main,.5)),N(d.LinearProgress,"successBg",$(De,d.success.main,.5)),N(d.LinearProgress,"warningBg",$(De,d.warning.main,.5)),N(d.Skeleton,"bg",y?$(kr,d.text.primary,.13):`rgba(${P("palette-text-primaryChannel")} / 0.13)`),N(d.Slider,"primaryTrack",$(De,d.primary.main,.5)),N(d.Slider,"secondaryTrack",$(De,d.secondary.main,.5)),N(d.Slider,"errorTrack",$(De,d.error.main,.5)),N(d.Slider,"infoTrack",$(De,d.info.main,.5)),N(d.Slider,"successTrack",$(De,d.success.main,.5)),N(d.Slider,"warningTrack",$(De,d.warning.main,.5));const E=y?$(We,d.background.default,.985):Jo(d.background.default,.98);N(d.SnackbarContent,"bg",E),N(d.SnackbarContent,"color",Qt(()=>y?Bl.text.primary:d.getContrastText(E))),N(d.SpeedDialAction,"fabHoverBg",Jo(d.background.paper,.15)),N(d.StepConnector,"border",P("palette-grey-600")),N(d.StepContent,"border",P("palette-grey-600")),N(d.Switch,"defaultColor",P("palette-grey-300")),N(d.Switch,"defaultDisabledColor",P("palette-grey-600")),N(d.Switch,"primaryDisabledColor",$(De,d.primary.main,.55)),N(d.Switch,"secondaryDisabledColor",$(De,d.secondary.main,.55)),N(d.Switch,"errorDisabledColor",$(De,d.error.main,.55)),N(d.Switch,"infoDisabledColor",$(De,d.info.main,.55)),N(d.Switch,"successDisabledColor",$(De,d.success.main,.55)),N(d.Switch,"warningDisabledColor",$(De,d.warning.main,.55)),N(d.TableCell,"border",$(De,$(kr,d.divider,1),.68)),N(d.Tooltip,"bg",$(kr,d.grey[700],.92))}lr(d.background,"default"),lr(d.background,"paper"),lr(d.common,"background"),lr(d.common,"onBackground"),lr(d,"divider"),Object.keys(d).forEach(E=>{const I=d[E];E!=="tonalOffset"&&I&&typeof I=="object"&&(I.main&&N(d[E],"mainChannel",vo(xo(I.main))),I.light&&N(d[E],"lightChannel",vo(xo(I.light))),I.dark&&N(d[E],"darkChannel",vo(xo(I.dark))),I.contrastText&&N(d[E],"contrastTextChannel",vo(xo(I.contrastText))),E==="text"&&(lr(d[E],"primary"),lr(d[E],"secondary")),E==="action"&&(I.active&&lr(d[E],"active"),I.selected&&lr(d[E],"selected")))})}),k=t.reduce((O,d)=>dt(O,d),k);const T={prefix:i,disableCssColorScheme:n,shouldSkipGeneratingVar:a,getSelector:Wp(k),enableContrastVars:s},{vars:M,generateThemeVars:B,generateStyleSheets:A}=ip(k,T);return k.vars=M,Object.entries(k.colorSchemes[k.defaultColorScheme]).forEach(([O,d])=>{k[O]=d}),k.generateThemeVars=B,k.generateStyleSheets=A,k.generateSpacing=function(){return $l(u.spacing,On(this))},k.getColorSchemeSelector=sp(l),k.spacing=k.generateSpacing(),k.shouldSkipGeneratingVar=a,k.unstable_sxConfig={...Wo,...u==null?void 0:u.unstable_sxConfig},k.unstable_sx=function(d){return Or({sx:d,theme:this})},k.toRuntimeSource=Nl,k}function ra(e,t,r){e.colorSchemes&&r&&(e.colorSchemes[t]={...r!==!0&&r,palette:ss({...r===!0?{}:r.palette,mode:t})})}function zl(e={},...t){const{palette:r,cssVariables:o=!1,colorSchemes:n=r?void 0:{light:!0},defaultColorScheme:i=r==null?void 0:r.mode,...s}=e,a=i||"light",l=n==null?void 0:n[a],c={...n,...r?{[a]:{...typeof l!="boolean"&&l,palette:r}}:void 0};if(o===!1){if(!("colorSchemes"in e))return $i(e,...t);let u=r;"palette"in e||c[a]&&(c[a]!==!0?u=c[a].palette:a==="dark"&&(u={mode:"dark"}));const f=$i({...e,palette:u},...t);return f.defaultColorScheme=a,f.colorSchemes=c,f.palette.mode==="light"&&(f.colorSchemes.light={...c.light!==!0&&c.light,palette:f.palette},ra(f,"dark",c.dark)),f.palette.mode==="dark"&&(f.colorSchemes.dark={...c.dark!==!0&&c.dark,palette:f.palette},ra(f,"light",c.light)),f}return!r&&!("light"in c)&&a==="light"&&(c.light=!0),Vp({...s,colorSchemes:c,defaultColorScheme:a,...typeof o!="boolean"&&o},...t)}const as=zl();function ro(){const e=Dn(as);return e[Pn]||e}function Dl(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const Bt=e=>Dl(e)&&e!=="classes",W=Al({themeId:Pn,defaultTheme:as,rootShouldForwardProp:Bt});function oa(...e){return e.reduce((t,r)=>r==null?t:function(...n){t.apply(this,n),r.apply(this,n)},()=>{})}function Kp(e){return C.jsx(Id,{...e,defaultTheme:as,themeId:Pn})}function qp(e){return function(r){return C.jsx(Kp,{styles:typeof e=="function"?o=>e({theme:o,...r}):e})}}function Gp(){return ns}const ae=tp;function ye(e){return Qd(e)}function Xp(e){return le("MuiSvgIcon",e)}ce("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const Yp=e=>{const{color:t,fontSize:r,classes:o}=e,n={root:["root",t!=="inherit"&&`color${D(t)}`,`fontSize${D(r)}`]};return ge(n,Xp,o)},Zp=W("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.color!=="inherit"&&t[`color${D(r.color)}`],t[`fontSize${D(r.fontSize)}`]]}})(ae(({theme:e})=>{var t,r,o,n,i,s,a,l,c,u,f,b,m,h,g,x,w,R;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",flexShrink:0,transition:(i=(t=e.transitions)==null?void 0:t.create)==null?void 0:i.call(t,"fill",{duration:(n=(o=((r=e.vars)!=null?r:e).transitions)==null?void 0:o.duration)==null?void 0:n.shorter}),variants:[{props:v=>!v.hasSvgAsChild,style:{fill:"currentColor"}},{props:{fontSize:"inherit"},style:{fontSize:"inherit"}},{props:{fontSize:"small"},style:{fontSize:((a=(s=e.typography)==null?void 0:s.pxToRem)==null?void 0:a.call(s,20))||"1.25rem"}},{props:{fontSize:"medium"},style:{fontSize:((c=(l=e.typography)==null?void 0:l.pxToRem)==null?void 0:c.call(l,24))||"1.5rem"}},{props:{fontSize:"large"},style:{fontSize:((f=(u=e.typography)==null?void 0:u.pxToRem)==null?void 0:f.call(u,35))||"2.1875rem"}},...Object.entries(((b=e.vars)!=null?b:e).palette).filter(([,v])=>v&&v.main).map(([v])=>{var y,S,k;return{props:{color:v},style:{color:(k=(S=((y=e.vars)!=null?y:e).palette)==null?void 0:S[v])==null?void 0:k.main}}}),{props:{color:"action"},style:{color:(g=(h=((m=e.vars)!=null?m:e).palette)==null?void 0:h.action)==null?void 0:g.active}},{props:{color:"disabled"},style:{color:(R=(w=((x=e.vars)!=null?x:e).palette)==null?void 0:w.action)==null?void 0:R.disabled}},{props:{color:"inherit"},style:{color:void 0}}]}})),Ii=p.forwardRef(function(t,r){const o=ye({props:t,name:"MuiSvgIcon"}),{children:n,className:i,color:s="inherit",component:a="svg",fontSize:l="medium",htmlColor:c,inheritViewBox:u=!1,titleAccess:f,viewBox:b="0 0 24 24",...m}=o,h=p.isValidElement(n)&&n.type==="svg",g={...o,color:s,component:a,fontSize:l,instanceFontSize:t.fontSize,inheritViewBox:u,viewBox:b,hasSvgAsChild:h},x={};u||(x.viewBox=b);const w=Yp(g);return C.jsxs(Zp,{as:a,className:X(w.root,i),focusable:"false",color:c,"aria-hidden":f?void 0:!0,role:f?"img":void 0,ref:r,...x,...m,...h&&n.props,ownerState:g,children:[h?n.props.children:n,f?C.jsx("title",{children:f}):null]})});Ii.muiName="SvgIcon";function gr(e,t){function r(o,n){return C.jsx(Ii,{"data-testid":void 0,ref:n,...o,children:e})}return r.muiName=Ii.muiName,p.memo(p.forwardRef(r))}function _n(e,t=166){let r;function o(...n){const i=()=>{e.apply(this,n)};clearTimeout(r),r=setTimeout(i,t)}return o.clear=()=>{clearTimeout(r)},o}function kt(e){return e&&e.ownerDocument||document}function Zt(e){return kt(e).defaultView||window}function Ei(e,t){typeof e=="function"?e(t):e&&(e.current=t)}function Er(e){const{controlled:t,default:r,name:o,state:n="value"}=e,{current:i}=p.useRef(t!==void 0),[s,a]=p.useState(r),l=i?t:s,c=p.useCallback(u=>{i||a(u)},[]);return[l,c]}function ht(e){const t=p.useRef(e);return Yt(()=>{t.current=e}),p.useRef((...r)=>(0,t.current)(...r)).current}function lt(...e){const t=p.useRef(void 0),r=p.useCallback(o=>{const n=e.map(i=>{if(i==null)return null;if(typeof i=="function"){const s=i,a=s(o);return typeof a=="function"?a:()=>{s(null)}}return i.current=o,()=>{i.current=null}});return()=>{n.forEach(i=>i==null?void 0:i())}},e);return p.useMemo(()=>e.every(o=>o==null)?null:o=>{t.current&&(t.current(),t.current=void 0),o!=null&&(t.current=r(o))},e)}function Qp(e,t){const r=e.charCodeAt(2);return e[0]==="o"&&e[1]==="n"&&r>=65&&r<=90&&typeof t=="function"}function Jp(e,t){if(!e)return t;function r(s,a){const l={};return Object.keys(a).forEach(c=>{Qp(c,a[c])&&typeof s[c]=="function"&&(l[c]=(...u)=>{s[c](...u),a[c](...u)})}),l}if(typeof e=="function"||typeof t=="function")return s=>{const a=typeof t=="function"?t(s):t,l=typeof e=="function"?e({...s,...a}):e,c=X(s==null?void 0:s.className,a==null?void 0:a.className,l==null?void 0:l.className),u=r(l,a);return{...a,...l,...u,...!!c&&{className:c},...(a==null?void 0:a.style)&&(l==null?void 0:l.style)&&{style:{...a.style,...l.style}},...(a==null?void 0:a.sx)&&(l==null?void 0:l.sx)&&{sx:[...Array.isArray(a.sx)?a.sx:[a.sx],...Array.isArray(l.sx)?l.sx:[l.sx]]}}};const o=t,n=r(e,o),i=X(o==null?void 0:o.className,e==null?void 0:e.className);return{...t,...e,...n,...!!i&&{className:i},...(o==null?void 0:o.style)&&(e==null?void 0:e.style)&&{style:{...o.style,...e.style}},...(o==null?void 0:o.sx)&&(e==null?void 0:e.sx)&&{sx:[...Array.isArray(o.sx)?o.sx:[o.sx],...Array.isArray(e.sx)?e.sx:[e.sx]]}}}function Wl(e,t){if(e==null)return{};var r={};for(var o in e)if({}.hasOwnProperty.call(e,o)){if(t.indexOf(o)!==-1)continue;r[o]=e[o]}return r}function Ai(e,t){return Ai=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,o){return r.__proto__=o,r},Ai(e,t)}function Hl(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Ai(e,t)}const na={disabled:!1},yn=dr.createContext(null);var ef=function(t){return t.scrollTop},So="unmounted",Pr="exited",$r="entering",_r="entered",Mi="exiting",ir=(function(e){Hl(t,e);function t(o,n){var i;i=e.call(this,o,n)||this;var s=n,a=s&&!s.isMounting?o.enter:o.appear,l;return i.appearStatus=null,o.in?a?(l=Pr,i.appearStatus=$r):l=_r:o.unmountOnExit||o.mountOnEnter?l=So:l=Pr,i.state={status:l},i.nextCallback=null,i}t.getDerivedStateFromProps=function(n,i){var s=n.in;return s&&i.status===So?{status:Pr}:null};var r=t.prototype;return r.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},r.componentDidUpdate=function(n){var i=null;if(n!==this.props){var s=this.state.status;this.props.in?s!==$r&&s!==_r&&(i=$r):(s===$r||s===_r)&&(i=Mi)}this.updateStatus(!1,i)},r.componentWillUnmount=function(){this.cancelNextCallback()},r.getTimeouts=function(){var n=this.props.timeout,i,s,a;return i=s=a=n,n!=null&&typeof n!="number"&&(i=n.exit,s=n.enter,a=n.appear!==void 0?n.appear:s),{exit:i,enter:s,appear:a}},r.updateStatus=function(n,i){if(n===void 0&&(n=!1),i!==null)if(this.cancelNextCallback(),i===$r){if(this.props.unmountOnExit||this.props.mountOnEnter){var s=this.props.nodeRef?this.props.nodeRef.current:Yo.findDOMNode(this);s&&ef(s)}this.performEnter(n)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Pr&&this.setState({status:So})},r.performEnter=function(n){var i=this,s=this.props.enter,a=this.context?this.context.isMounting:n,l=this.props.nodeRef?[a]:[Yo.findDOMNode(this),a],c=l[0],u=l[1],f=this.getTimeouts(),b=a?f.appear:f.enter;if(!n&&!s||na.disabled){this.safeSetState({status:_r},function(){i.props.onEntered(c)});return}this.props.onEnter(c,u),this.safeSetState({status:$r},function(){i.props.onEntering(c,u),i.onTransitionEnd(b,function(){i.safeSetState({status:_r},function(){i.props.onEntered(c,u)})})})},r.performExit=function(){var n=this,i=this.props.exit,s=this.getTimeouts(),a=this.props.nodeRef?void 0:Yo.findDOMNode(this);if(!i||na.disabled){this.safeSetState({status:Pr},function(){n.props.onExited(a)});return}this.props.onExit(a),this.safeSetState({status:Mi},function(){n.props.onExiting(a),n.onTransitionEnd(s.exit,function(){n.safeSetState({status:Pr},function(){n.props.onExited(a)})})})},r.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},r.safeSetState=function(n,i){i=this.setNextCallback(i),this.setState(n,i)},r.setNextCallback=function(n){var i=this,s=!0;return this.nextCallback=function(a){s&&(s=!1,i.nextCallback=null,n(a))},this.nextCallback.cancel=function(){s=!1},this.nextCallback},r.onTransitionEnd=function(n,i){this.setNextCallback(i);var s=this.props.nodeRef?this.props.nodeRef.current:Yo.findDOMNode(this),a=n==null&&!this.props.addEndListener;if(!s||a){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var l=this.props.nodeRef?[this.nextCallback]:[s,this.nextCallback],c=l[0],u=l[1];this.props.addEndListener(c,u)}n!=null&&setTimeout(this.nextCallback,n)},r.render=function(){var n=this.state.status;if(n===So)return null;var i=this.props,s=i.children;i.in,i.mountOnEnter,i.unmountOnExit,i.appear,i.enter,i.exit,i.timeout,i.addEndListener,i.onEnter,i.onEntering,i.onEntered,i.onExit,i.onExiting,i.onExited,i.nodeRef;var a=Wl(i,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return dr.createElement(yn.Provider,{value:null},typeof s=="function"?s(n,a):dr.cloneElement(dr.Children.only(s),a))},t})(dr.Component);ir.contextType=yn;ir.propTypes={};function Ur(){}ir.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Ur,onEntering:Ur,onEntered:Ur,onExit:Ur,onExiting:Ur,onExited:Ur};ir.UNMOUNTED=So;ir.EXITED=Pr;ir.ENTERING=$r;ir.ENTERED=_r;ir.EXITING=Mi;function tf(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ls(e,t){var r=function(i){return t&&p.isValidElement(i)?t(i):i},o=Object.create(null);return e&&p.Children.map(e,function(n){return n}).forEach(function(n){o[n.key]=r(n)}),o}function rf(e,t){e=e||{},t=t||{};function r(u){return u in t?t[u]:e[u]}var o=Object.create(null),n=[];for(var i in e)i in t?n.length&&(o[i]=n,n=[]):n.push(i);var s,a={};for(var l in t){if(o[l])for(s=0;s<o[l].length;s++){var c=o[l][s];a[o[l][s]]=r(c)}a[l]=r(l)}for(s=0;s<n.length;s++)a[n[s]]=r(n[s]);return a}function Ir(e,t,r){return r[t]!=null?r[t]:e.props[t]}function of(e,t){return ls(e.children,function(r){return p.cloneElement(r,{onExited:t.bind(null,r),in:!0,appear:Ir(r,"appear",e),enter:Ir(r,"enter",e),exit:Ir(r,"exit",e)})})}function nf(e,t,r){var o=ls(e.children),n=rf(t,o);return Object.keys(n).forEach(function(i){var s=n[i];if(p.isValidElement(s)){var a=i in t,l=i in o,c=t[i],u=p.isValidElement(c)&&!c.props.in;l&&(!a||u)?n[i]=p.cloneElement(s,{onExited:r.bind(null,s),in:!0,exit:Ir(s,"exit",e),enter:Ir(s,"enter",e)}):!l&&a&&!u?n[i]=p.cloneElement(s,{in:!1}):l&&a&&p.isValidElement(c)&&(n[i]=p.cloneElement(s,{onExited:r.bind(null,s),in:c.props.in,exit:Ir(s,"exit",e),enter:Ir(s,"enter",e)}))}}),n}var sf=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})},af={component:"div",childFactory:function(t){return t}},cs=(function(e){Hl(t,e);function t(o,n){var i;i=e.call(this,o,n)||this;var s=i.handleExited.bind(tf(i));return i.state={contextValue:{isMounting:!0},handleExited:s,firstRender:!0},i}var r=t.prototype;return r.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},r.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(n,i){var s=i.children,a=i.handleExited,l=i.firstRender;return{children:l?of(n,a):nf(n,s,a),firstRender:!1}},r.handleExited=function(n,i){var s=ls(this.props.children);n.key in s||(n.props.onExited&&n.props.onExited(i),this.mounted&&this.setState(function(a){var l=gn({},a.children);return delete l[n.key],{children:l}}))},r.render=function(){var n=this.props,i=n.component,s=n.childFactory,a=Wl(n,["component","childFactory"]),l=this.state.contextValue,c=sf(this.state.children).map(s);return delete a.appear,delete a.enter,delete a.exit,i===null?dr.createElement(yn.Provider,{value:l},c):dr.createElement(yn.Provider,{value:l},dr.createElement(i,a,c))},t})(dr.Component);cs.propTypes={};cs.defaultProps=af;const ia={};function Ul(e,t){const r=p.useRef(ia);return r.current===ia&&(r.current=e(t)),r}const lf=[];function cf(e){p.useEffect(e,lf)}class Vn{constructor(){uo(this,"currentId",null);uo(this,"clear",()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)});uo(this,"disposeEffect",()=>this.clear)}static create(){return new Vn}start(t,r){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,r()},t)}}function Vr(){const e=Ul(Vn.create).current;return cf(e.disposeEffect),e}const _l=e=>e.scrollTop;function vn(e,t){var i,s;const{timeout:r,easing:o,style:n={}}=e;return{duration:(i=n.transitionDuration)!=null?i:typeof r=="number"?r:r[t.mode]||0,easing:(s=n.transitionTimingFunction)!=null?s:typeof o=="object"?o[t.mode]:o,delay:n.transitionDelay}}function xn(e){return typeof e=="string"}function Vl(e,t,r){return e===void 0||xn(e)?t:{...t,ownerState:{...t.ownerState,...r}}}function Kl(e,t,r){return typeof e=="function"?e(t,r):e}function ql(e,t=[]){if(e===void 0)return{};const r={};return Object.keys(e).filter(o=>o.match(/^on[A-Z]/)&&typeof e[o]=="function"&&!t.includes(o)).forEach(o=>{r[o]=e[o]}),r}function sa(e){if(e===void 0)return{};const t={};return Object.keys(e).filter(r=>!(r.match(/^on[A-Z]/)&&typeof e[r]=="function")).forEach(r=>{t[r]=e[r]}),t}function Gl(e){const{getSlotProps:t,additionalProps:r,externalSlotProps:o,externalForwardedProps:n,className:i}=e;if(!t){const m=X(r==null?void 0:r.className,i,n==null?void 0:n.className,o==null?void 0:o.className),h={...r==null?void 0:r.style,...n==null?void 0:n.style,...o==null?void 0:o.style},g={...r,...n,...o};return m.length>0&&(g.className=m),Object.keys(h).length>0&&(g.style=h),{props:g,internalRef:void 0}}const s=ql({...n,...o}),a=sa(o),l=sa(n),c=t(s),u=X(c==null?void 0:c.className,r==null?void 0:r.className,i,n==null?void 0:n.className,o==null?void 0:o.className),f={...c==null?void 0:c.style,...r==null?void 0:r.style,...n==null?void 0:n.style,...o==null?void 0:o.style},b={...c,...r,...l,...a};return u.length>0&&(b.className=u),Object.keys(f).length>0&&(b.style=f),{props:b,internalRef:c.ref}}function be(e,t){const{className:r,elementType:o,ownerState:n,externalForwardedProps:i,internalForwardedProps:s,shouldForwardComponentProp:a=!1,...l}=t,{component:c,slots:u={[e]:void 0},slotProps:f={[e]:void 0},...b}=i,m=u[e]||o,h=Kl(f[e],n),{props:{component:g,...x},internalRef:w}=Gl({className:r,...l,externalForwardedProps:e==="root"?b:void 0,externalSlotProps:h}),R=lt(w,h==null?void 0:h.ref,t.ref),v=e==="root"?g||c:g,y=Vl(m,{...e==="root"&&!c&&!u[e]&&s,...e!=="root"&&!u[e]&&s,...x,...v&&!a&&{as:v},...v&&a&&{component:v},ref:R},n);return[m,y]}function uf(e){return le("MuiPaper",e)}ce("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 df=e=>{const{square:t,elevation:r,variant:o,classes:n}=e,i={root:["root",o,!t&&"rounded",o==="elevation"&&`elevation${r}`]};return ge(i,uf,n)},pf=W("div",{name:"MuiPaper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],!r.square&&t.rounded,r.variant==="elevation"&&t[`elevation${r.elevation}`]]}})(ae(({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)"}}]}))),oo=p.forwardRef(function(t,r){var m;const o=ye({props:t,name:"MuiPaper"}),n=ro(),{className:i,component:s="div",elevation:a=1,square:l=!1,variant:c="elevation",...u}=o,f={...o,component:s,elevation:a,square:l,variant:c},b=df(f);return C.jsx(pf,{as:s,ownerState:f,className:X(b.root,i),ref:r,...u,style:{...c==="elevation"&&{"--Paper-shadow":(n.vars||n).shadows[a],...n.vars&&{"--Paper-overlay":(m=n.vars.overlays)==null?void 0:m[a]},...!n.vars&&n.palette.mode==="dark"&&{"--Paper-overlay":`linear-gradient(${bn("#fff",Ti(a))}, ${bn("#fff",Ti(a))})`}},...u.style}})});function Sn(e){try{return e.matches(":focus-visible")}catch(t){}return!1}class Cn{constructor(){uo(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 Cn}static use(){const t=Ul(Cn.create).current,[r,o]=p.useState(!1);return t.shouldMount=r,t.setShouldMount=o,p.useEffect(t.mountEffect,[r]),t}mount(){return this.mounted||(this.mounted=gf(),this.shouldMount=!0,this.setShouldMount(this.shouldMount)),this.mounted}start(...t){this.mount().then(()=>{var r;return(r=this.ref.current)==null?void 0:r.start(...t)})}stop(...t){this.mount().then(()=>{var r;return(r=this.ref.current)==null?void 0:r.stop(...t)})}pulsate(...t){this.mount().then(()=>{var r;return(r=this.ref.current)==null?void 0:r.pulsate(...t)})}}function ff(){return Cn.use()}function gf(){let e,t;const r=new Promise((o,n)=>{e=o,t=n});return r.resolve=e,r.reject=t,r}function mf(e){const{className:t,classes:r,pulsate:o=!1,rippleX:n,rippleY:i,rippleSize:s,in:a,onExited:l,timeout:c}=e,[u,f]=p.useState(!1),b=X(t,r.ripple,r.rippleVisible,o&&r.ripplePulsate),m={width:s,height:s,top:-(s/2)+i,left:-(s/2)+n},h=X(r.child,u&&r.childLeaving,o&&r.childPulsate);return!a&&!u&&f(!0),p.useEffect(()=>{if(!a&&l!=null){const g=setTimeout(l,c);return()=>{clearTimeout(g)}}},[l,a,c]),C.jsx("span",{className:b,style:m,children:C.jsx("span",{className:h})})}const zt=ce("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),Oi=550,hf=80,bf=zo`
  0% {
    transform: scale(0);
    opacity: 0.1;
  }

  100% {
    transform: scale(1);
    opacity: 0.3;
  }
`,yf=zo`
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
`,vf=zo`
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(0.92);
  }

  100% {
    transform: scale(1);
  }
`,xf=W("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),Sf=W(mf,{name:"MuiTouchRipple",slot:"Ripple"})`
  opacity: 0;
  position: absolute;

  &.${zt.rippleVisible} {
    opacity: 0.3;
    transform: scale(1);
    animation-name: ${bf};
    animation-duration: ${Oi}ms;
    animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut};
  }

  &.${zt.ripplePulsate} {
    animation-duration: ${({theme:e})=>e.transitions.duration.shorter}ms;
  }

  & .${zt.child} {
    opacity: 1;
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: currentColor;
  }

  & .${zt.childLeaving} {
    opacity: 0;
    animation-name: ${yf};
    animation-duration: ${Oi}ms;
    animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut};
  }

  & .${zt.childPulsate} {
    position: absolute;
    /* @noflip */
    left: 0px;
    top: 0;
    animation-name: ${vf};
    animation-duration: 2500ms;
    animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut};
    animation-iteration-count: infinite;
    animation-delay: 200ms;
  }
`,Cf=p.forwardRef(function(t,r){const o=ye({props:t,name:"MuiTouchRipple"}),{center:n=!1,classes:i={},className:s,...a}=o,[l,c]=p.useState([]),u=p.useRef(0),f=p.useRef(null);p.useEffect(()=>{f.current&&(f.current(),f.current=null)},[l]);const b=p.useRef(!1),m=Vr(),h=p.useRef(null),g=p.useRef(null),x=p.useCallback(y=>{const{pulsate:S,rippleX:k,rippleY:T,rippleSize:M,cb:B}=y;c(A=>[...A,C.jsx(Sf,{classes:{ripple:X(i.ripple,zt.ripple),rippleVisible:X(i.rippleVisible,zt.rippleVisible),ripplePulsate:X(i.ripplePulsate,zt.ripplePulsate),child:X(i.child,zt.child),childLeaving:X(i.childLeaving,zt.childLeaving),childPulsate:X(i.childPulsate,zt.childPulsate)},timeout:Oi,pulsate:S,rippleX:k,rippleY:T,rippleSize:M},u.current)]),u.current+=1,f.current=B},[i]),w=p.useCallback((y={},S={},k=()=>{})=>{const{pulsate:T=!1,center:M=n||S.pulsate,fakeElement:B=!1}=S;if((y==null?void 0:y.type)==="mousedown"&&b.current){b.current=!1;return}(y==null?void 0:y.type)==="touchstart"&&(b.current=!0);const A=B?null:g.current,O=A?A.getBoundingClientRect():{width:0,height:0,left:0,top:0};let d,P,$;if(M||y===void 0||y.clientX===0&&y.clientY===0||!y.clientX&&!y.touches)d=Math.round(O.width/2),P=Math.round(O.height/2);else{const{clientX:E,clientY:I}=y.touches&&y.touches.length>0?y.touches[0]:y;d=Math.round(E-O.left),P=Math.round(I-O.top)}if(M)$=Math.sqrt((2*O.width**2+O.height**2)/3),$%2===0&&($+=1);else{const E=Math.max(Math.abs((A?A.clientWidth:0)-d),d)*2+2,I=Math.max(Math.abs((A?A.clientHeight:0)-P),P)*2+2;$=Math.sqrt(E**2+I**2)}y!=null&&y.touches?h.current===null&&(h.current=()=>{x({pulsate:T,rippleX:d,rippleY:P,rippleSize:$,cb:k})},m.start(hf,()=>{h.current&&(h.current(),h.current=null)})):x({pulsate:T,rippleX:d,rippleY:P,rippleSize:$,cb:k})},[n,x,m]),R=p.useCallback(()=>{w({},{pulsate:!0})},[w]),v=p.useCallback((y,S)=>{if(m.clear(),(y==null?void 0:y.type)==="touchend"&&h.current){h.current(),h.current=null,m.start(0,()=>{v(y,S)});return}h.current=null,c(k=>k.length>0?k.slice(1):k),f.current=S},[m]);return p.useImperativeHandle(r,()=>({pulsate:R,start:w,stop:v}),[R,w,v]),C.jsx(xf,{className:X(zt.root,i.root,s),ref:g,...a,children:C.jsx(cs,{component:null,exit:!0,children:l})})});function wf(e){return le("MuiButtonBase",e)}const kf=ce("MuiButtonBase",["root","disabled","focusVisible"]),Rf=e=>{const{disabled:t,focusVisible:r,focusVisibleClassName:o,classes:n}=e,s=ge({root:["root",t&&"disabled",r&&"focusVisible"]},wf,n);return r&&o&&(s.root+=` ${o}`),s},Pf=W("button",{name:"MuiButtonBase",slot:"Root"})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${kf.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),Cr=p.forwardRef(function(t,r){const o=ye({props:t,name:"MuiButtonBase"}),{action:n,centerRipple:i=!1,children:s,className:a,component:l="button",disabled:c=!1,disableRipple:u=!1,disableTouchRipple:f=!1,focusRipple:b=!1,focusVisibleClassName:m,LinkComponent:h="a",onBlur:g,onClick:x,onContextMenu:w,onDragLeave:R,onFocus:v,onFocusVisible:y,onKeyDown:S,onKeyUp:k,onMouseDown:T,onMouseLeave:M,onMouseUp:B,onTouchEnd:A,onTouchMove:O,onTouchStart:d,tabIndex:P=0,TouchRippleProps:$,touchRippleRef:E,type:I,...z}=o,q=p.useRef(null),j=ff(),Q=lt(j.ref,E),[te,ne]=p.useState(!1);c&&te&&ne(!1),p.useImperativeHandle(n,()=>({focusVisible:()=>{ne(!0),q.current.focus()}}),[]);const V=j.shouldMount&&!u&&!c;p.useEffect(()=>{te&&b&&!u&&j.pulsate()},[u,b,te,j]);const G=cr(j,"start",T,f),H=cr(j,"stop",w,f),U=cr(j,"stop",R,f),re=cr(j,"stop",B,f),ue=cr(j,"stop",J=>{te&&J.preventDefault(),M&&M(J)},f),se=cr(j,"start",d,f),Z=cr(j,"stop",A,f),me=cr(j,"stop",O,f),de=cr(j,"stop",J=>{Sn(J.target)||ne(!1),g&&g(J)},!1),ve=ht(J=>{q.current||(q.current=J.currentTarget),Sn(J.target)&&(ne(!0),y&&y(J)),v&&v(J)}),fe=()=>{const J=q.current;return l&&l!=="button"&&!(J.tagName==="A"&&J.href)},$e=ht(J=>{b&&!J.repeat&&te&&J.key===" "&&j.stop(J,()=>{j.start(J)}),J.target===J.currentTarget&&fe()&&J.key===" "&&J.preventDefault(),S&&S(J),J.target===J.currentTarget&&fe()&&J.key==="Enter"&&!c&&(J.preventDefault(),x&&x(J))}),Re=ht(J=>{b&&J.key===" "&&te&&!J.defaultPrevented&&j.stop(J,()=>{j.pulsate(J)}),k&&k(J),x&&J.target===J.currentTarget&&fe()&&J.key===" "&&!J.defaultPrevented&&x(J)});let Ie=l;Ie==="button"&&(z.href||z.to)&&(Ie=h);const K={};Ie==="button"?(K.type=I===void 0?"button":I,K.disabled=c):(!z.href&&!z.to&&(K.role="button"),c&&(K["aria-disabled"]=c));const ze=lt(r,q),ie={...o,centerRipple:i,component:l,disabled:c,disableRipple:u,disableTouchRipple:f,focusRipple:b,tabIndex:P,focusVisible:te},we=Rf(ie);return C.jsxs(Pf,{as:Ie,className:X(we.root,a),ownerState:ie,onBlur:de,onClick:x,onContextMenu:H,onFocus:ve,onKeyDown:$e,onKeyUp:Re,onMouseDown:G,onMouseLeave:ue,onMouseUp:re,onDragLeave:U,onTouchEnd:Z,onTouchMove:me,onTouchStart:se,ref:ze,tabIndex:c?-1:P,type:I,...K,...z,children:[s,V?C.jsx(Cf,{ref:Q,center:i,...$}):null]})});function cr(e,t,r,o=!1){return ht(n=>(r&&r(n),o||e[t](n),!0))}function $f(e){return typeof e.main=="string"}function Tf(e,t=[]){if(!$f(e))return!1;for(const r of t)if(!e.hasOwnProperty(r)||typeof e[r]!="string")return!1;return!0}function gt(e=[]){return([,t])=>t&&Tf(t,e)}function If(e){return le("MuiAlert",e)}const aa=ce("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 Ef(e){return le("MuiCircularProgress",e)}ce("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","track","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]);const Gt=44,Bi=zo`
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
`,Li=zo`
  0% {
    stroke-dasharray: 1px, 200px;
    stroke-dashoffset: 0;
  }

  50% {
    stroke-dasharray: 100px, 200px;
    stroke-dashoffset: -15px;
  }

  100% {
    stroke-dasharray: 1px, 200px;
    stroke-dashoffset: -126px;
  }
`,Af=typeof Bi!="string"?es`
        animation: ${Bi} 1.4s linear infinite;
      `:null,Mf=typeof Li!="string"?es`
        animation: ${Li} 1.4s ease-in-out infinite;
      `:null,Of=e=>{const{classes:t,variant:r,color:o,disableShrink:n}=e,i={root:["root",r,`color${D(o)}`],svg:["svg"],track:["track"],circle:["circle",`circle${D(r)}`,n&&"circleDisableShrink"]};return ge(i,Ef,t)},Bf=W("span",{name:"MuiCircularProgress",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],t[`color${D(r.color)}`]]}})(ae(({theme:e})=>({display:"inline-block",variants:[{props:{variant:"determinate"},style:{transition:e.transitions.create("transform")}},{props:{variant:"indeterminate"},style:Af||{animation:`${Bi} 1.4s linear infinite`}},...Object.entries(e.palette).filter(gt()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}}))]}))),Lf=W("svg",{name:"MuiCircularProgress",slot:"Svg"})({display:"block"}),Nf=W("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.circle,t[`circle${D(r.variant)}`],r.disableShrink&&t.circleDisableShrink]}})(ae(({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:Mf||{animation:`${Li} 1.4s ease-in-out infinite`}}]}))),Ff=W("circle",{name:"MuiCircularProgress",slot:"Track"})(ae(({theme:e})=>({stroke:"currentColor",opacity:(e.vars||e).palette.action.activatedOpacity}))),us=p.forwardRef(function(t,r){const o=ye({props:t,name:"MuiCircularProgress"}),{className:n,color:i="primary",disableShrink:s=!1,enableTrackSlot:a=!1,size:l=40,style:c,thickness:u=3.6,value:f=0,variant:b="indeterminate",...m}=o,h={...o,color:i,disableShrink:s,size:l,thickness:u,value:f,variant:b,enableTrackSlot:a},g=Of(h),x={},w={},R={};if(b==="determinate"){const v=2*Math.PI*((Gt-u)/2);x.strokeDasharray=v.toFixed(3),R["aria-valuenow"]=Math.round(f),x.strokeDashoffset=`${((100-f)/100*v).toFixed(3)}px`,w.transform="rotate(-90deg)"}return C.jsx(Bf,{className:X(g.root,n),style:{width:l,height:l,...w,...c},ownerState:h,ref:r,role:"progressbar",...R,...m,children:C.jsxs(Lf,{className:g.svg,ownerState:h,viewBox:`${Gt/2} ${Gt/2} ${Gt} ${Gt}`,children:[a?C.jsx(Ff,{className:g.track,ownerState:h,cx:Gt,cy:Gt,r:(Gt-u)/2,fill:"none",strokeWidth:u,"aria-hidden":"true"}):null,C.jsx(Nf,{className:g.circle,style:x,ownerState:h,cx:Gt,cy:Gt,r:(Gt-u)/2,fill:"none",strokeWidth:u})]})})});function jf(e){return le("MuiIconButton",e)}const la=ce("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge","loading","loadingIndicator","loadingWrapper"]),zf=e=>{const{classes:t,disabled:r,color:o,edge:n,size:i,loading:s}=e,a={root:["root",s&&"loading",r&&"disabled",o!=="default"&&`color${D(o)}`,n&&`edge${D(n)}`,`size${D(i)}`],loadingIndicator:["loadingIndicator"],loadingWrapper:["loadingWrapper"]};return ge(a,jf,t)},Df=W(Cr,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.loading&&t.loading,r.color!=="default"&&t[`color${D(r.color)}`],r.edge&&t[`edge${D(r.edge)}`],t[`size${D(r.size)}`]]}})(ae(({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.alpha((e.vars||e).palette.action.active,(e.vars||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}}]})),ae(({theme:e})=>({variants:[{props:{color:"inherit"},style:{color:"inherit"}},...Object.entries(e.palette).filter(gt()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}})),...Object.entries(e.palette).filter(gt()).map(([t])=>({props:{color:t},style:{"--IconButton-hoverBg":e.alpha((e.vars||e).palette[t].main,(e.vars||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)}}],[`&.${la.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled},[`&.${la.loading}`]:{color:"transparent"}}))),Wf=W("span",{name:"MuiIconButton",slot:"LoadingIndicator"})(({theme:e})=>({display:"none",position:"absolute",visibility:"visible",top:"50%",left:"50%",transform:"translate(-50%, -50%)",color:(e.vars||e).palette.action.disabled,variants:[{props:{loading:!0},style:{display:"flex"}}]})),ur=p.forwardRef(function(t,r){const o=ye({props:t,name:"MuiIconButton"}),{edge:n=!1,children:i,className:s,color:a="default",disabled:l=!1,disableFocusRipple:c=!1,size:u="medium",id:f,loading:b=null,loadingIndicator:m,...h}=o,g=Lr(f),x=m!=null?m:C.jsx(us,{"aria-labelledby":g,color:"inherit",size:16}),w={...o,edge:n,color:a,disabled:l,disableFocusRipple:c,loading:b,loadingIndicator:x,size:u},R=zf(w);return C.jsxs(Df,{id:b?g:f,className:X(R.root,s),centerRipple:!0,focusRipple:!c,disabled:l||b,ref:r,...h,ownerState:w,children:[typeof b=="boolean"&&C.jsx("span",{className:R.loadingWrapper,style:{display:"contents"},children:C.jsx(Wf,{className:R.loadingIndicator,ownerState:w,children:b&&x})}),i]})}),Hf=gr(C.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"})),Uf=gr(C.jsx("path",{d:"M12 5.99L19.53 19H4.47L12 5.99M12 2L1 21h22L12 2zm1 14h-2v2h2v-2zm0-6h-2v4h2v-4z"})),_f=gr(C.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"})),Vf=gr(C.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"})),Xl=gr(C.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"})),Kf=e=>{const{variant:t,color:r,severity:o,classes:n}=e,i={root:["root",`color${D(r||o)}`,`${t}${D(r||o)}`,`${t}`],icon:["icon"],message:["message"],action:["action"]};return ge(i,If,n)},qf=W(oo,{name:"MuiAlert",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],t[`${r.variant}${D(r.color||r.severity)}`]]}})(ae(({theme:e})=>{const t=e.palette.mode==="light"?e.darken:e.lighten,r=e.palette.mode==="light"?e.lighten:e.darken;return{...e.typography.body2,backgroundColor:"transparent",display:"flex",padding:"6px 16px",variants:[...Object.entries(e.palette).filter(gt(["light"])).map(([o])=>({props:{colorSeverity:o,variant:"standard"},style:{color:e.vars?e.vars.palette.Alert[`${o}Color`]:t(e.palette[o].light,.6),backgroundColor:e.vars?e.vars.palette.Alert[`${o}StandardBg`]:r(e.palette[o].light,.9),[`& .${aa.icon}`]:e.vars?{color:e.vars.palette.Alert[`${o}IconColor`]}:{color:e.palette[o].main}}})),...Object.entries(e.palette).filter(gt(["light"])).map(([o])=>({props:{colorSeverity:o,variant:"outlined"},style:{color:e.vars?e.vars.palette.Alert[`${o}Color`]:t(e.palette[o].light,.6),border:`1px solid ${(e.vars||e).palette[o].light}`,[`& .${aa.icon}`]:e.vars?{color:e.vars.palette.Alert[`${o}IconColor`]}:{color:e.palette[o].main}}})),...Object.entries(e.palette).filter(gt(["dark"])).map(([o])=>({props:{colorSeverity:o,variant:"filled"},style:{fontWeight:e.typography.fontWeightMedium,...e.vars?{color:e.vars.palette.Alert[`${o}FilledColor`],backgroundColor:e.vars.palette.Alert[`${o}FilledBg`]}:{backgroundColor:e.palette.mode==="dark"?e.palette[o].dark:e.palette[o].main,color:e.palette.getContrastText(e.palette[o].main)}}}))]}})),Gf=W("div",{name:"MuiAlert",slot:"Icon"})({marginRight:12,padding:"7px 0",display:"flex",fontSize:22,opacity:.9}),Xf=W("div",{name:"MuiAlert",slot:"Message"})({padding:"8px 0",minWidth:0,overflow:"auto"}),Yf=W("div",{name:"MuiAlert",slot:"Action"})({display:"flex",alignItems:"flex-start",padding:"4px 0 0 16px",marginLeft:"auto",marginRight:-8}),ca={success:C.jsx(Hf,{fontSize:"inherit"}),warning:C.jsx(Uf,{fontSize:"inherit"}),error:C.jsx(_f,{fontSize:"inherit"}),info:C.jsx(Vf,{fontSize:"inherit"})},Zv=p.forwardRef(function(t,r){const o=ye({props:t,name:"MuiAlert"}),{action:n,children:i,className:s,closeText:a="Close",color:l,components:c={},componentsProps:u={},icon:f,iconMapping:b=ca,onClose:m,role:h="alert",severity:g="success",slotProps:x={},slots:w={},variant:R="standard",...v}=o,y={...o,color:l,severity:g,variant:R,colorSeverity:l||g},S=Kf(y),k={slots:{closeButton:c.CloseButton,closeIcon:c.CloseIcon,...w},slotProps:{...u,...x}},[T,M]=be("root",{ref:r,shouldForwardComponentProp:!0,className:X(S.root,s),elementType:qf,externalForwardedProps:{...k,...v},ownerState:y,additionalProps:{role:h,elevation:0}}),[B,A]=be("icon",{className:S.icon,elementType:Gf,externalForwardedProps:k,ownerState:y}),[O,d]=be("message",{className:S.message,elementType:Xf,externalForwardedProps:k,ownerState:y}),[P,$]=be("action",{className:S.action,elementType:Yf,externalForwardedProps:k,ownerState:y}),[E,I]=be("closeButton",{elementType:ur,externalForwardedProps:k,ownerState:y}),[z,q]=be("closeIcon",{elementType:Xl,externalForwardedProps:k,ownerState:y});return C.jsxs(T,{...M,children:[f!==!1?C.jsx(B,{...A,children:f||b[g]||ca[g]}):null,C.jsx(O,{...d,children:i}),n!=null?C.jsx(P,{...$,children:n}):null,n==null&&m?C.jsx(P,{...$,children:C.jsx(E,{size:"small","aria-label":a,title:a,color:"inherit",onClick:m,...I,children:C.jsx(z,{fontSize:"small",...q})})}):null]})});function Zf(e){return le("MuiTypography",e)}const Qv=ce("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]),Qf={primary:!0,secondary:!0,error:!0,info:!0,success:!0,warning:!0,textPrimary:!0,textSecondary:!0,textDisabled:!0},Jf=Gp(),eg=e=>{const{align:t,gutterBottom:r,noWrap:o,paragraph:n,variant:i,classes:s}=e,a={root:["root",i,e.align!=="inherit"&&`align${D(t)}`,r&&"gutterBottom",o&&"noWrap",n&&"paragraph"]};return ge(a,Zf,s)},tg=W("span",{name:"MuiTypography",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.variant&&t[r.variant],r.align!=="inherit"&&t[`align${D(r.align)}`],r.noWrap&&t.noWrap,r.gutterBottom&&t.gutterBottom,r.paragraph&&t.paragraph]}})(ae(({theme:e})=>{var t;return{margin:0,variants:[{props:{variant:"inherit"},style:{font:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}},...Object.entries(e.typography).filter(([r,o])=>r!=="inherit"&&o&&typeof o=="object").map(([r,o])=>({props:{variant:r},style:o})),...Object.entries(e.palette).filter(gt()).map(([r])=>({props:{color:r},style:{color:(e.vars||e).palette[r].main}})),...Object.entries(((t=e.palette)==null?void 0:t.text)||{}).filter(([,r])=>typeof r=="string").map(([r])=>({props:{color:`text${D(r)}`},style:{color:(e.vars||e).palette.text[r]}})),{props:({ownerState:r})=>r.align!=="inherit",style:{textAlign:"var(--Typography-textAlign)"}},{props:({ownerState:r})=>r.noWrap,style:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}},{props:({ownerState:r})=>r.gutterBottom,style:{marginBottom:"0.35em"}},{props:({ownerState:r})=>r.paragraph,style:{marginBottom:16}}]}})),ua={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},At=p.forwardRef(function(t,r){const{color:o,...n}=ye({props:t,name:"MuiTypography"}),i=!Qf[o],s=Jf({...n,...i&&{color:o}}),{align:a="inherit",className:l,component:c,gutterBottom:u=!1,noWrap:f=!1,paragraph:b=!1,variant:m="body1",variantMapping:h=ua,...g}=s,x={...s,align:a,color:o,className:l,component:c,gutterBottom:u,noWrap:f,paragraph:b,variant:m,variantMapping:h},w=c||(b?"p":h[m]||ua[m])||"span",R=eg(x);return C.jsx(tg,{as:w,ref:r,className:X(R.root,l),...g,ownerState:x,style:{...a!=="inherit"&&{"--Typography-textAlign":a},...g.style}})});function rg(e){const t=p.useRef({});return p.useEffect(()=>{t.current=e}),t.current}function da({array1:e,array2:t,parser:r=o=>o}){return e&&t&&e.length===t.length&&e.every((o,n)=>r(o)===r(t[n]))}function pa(e){return e.normalize("NFD").replace(/[\u0300-\u036f]/g,"")}function og(e={}){const{ignoreAccents:t=!0,ignoreCase:r=!0,limit:o,matchFrom:n="any",stringify:i,trim:s=!1}=e;return(a,{inputValue:l,getOptionLabel:c})=>{let u=s?l.trim():l;r&&(u=u.toLowerCase()),t&&(u=pa(u));const f=u?a.filter(b=>{let m=(i||c)(b);return r&&(m=m.toLowerCase()),t&&(m=pa(m)),n==="start"?m.startsWith(u):m.includes(u)}):a;return typeof o=="number"?f.slice(0,o):f}}const ng=og(),fa=5,ig=e=>{var t;return e.current!==null&&((t=e.current.parentElement)==null?void 0:t.contains(document.activeElement))},sg=[];function ga(e,t,r,o){if(t||e==null||o)return"";const n=r(e);return typeof n=="string"?n:""}function ag(e){const{unstable_isActiveElementInListbox:t=ig,unstable_classNamePrefix:r="Mui",autoComplete:o=!1,autoHighlight:n=!1,autoSelect:i=!1,blurOnSelect:s=!1,clearOnBlur:a=!e.freeSolo,clearOnEscape:l=!1,componentName:c="useAutocomplete",defaultValue:u=e.multiple?sg:null,disableClearable:f=!1,disableCloseOnSelect:b=!1,disabled:m,disabledItemsFocusable:h=!1,disableListWrap:g=!1,filterOptions:x=ng,filterSelectedOptions:w=!1,freeSolo:R=!1,getOptionDisabled:v,getOptionKey:y,getOptionLabel:S=F=>{var L;return(L=F.label)!=null?L:F},groupBy:k,handleHomeEndKeys:T=!e.freeSolo,id:M,includeInputInList:B=!1,inputValue:A,isOptionEqualToValue:O=(F,L)=>F===L,multiple:d=!1,onChange:P,onClose:$,onHighlightChange:E,onInputChange:I,onOpen:z,open:q,openOnFocus:j=!1,options:Q,readOnly:te=!1,renderValue:ne,selectOnFocus:V=!e.freeSolo,value:G}=e,H=Lr(M);let U=S;U=F=>{const L=S(F);return typeof L!="string"?String(L):L};const re=p.useRef(!1),ue=p.useRef(!0),se=p.useRef(null),Z=p.useRef(null),[me,de]=p.useState(null),[ve,fe]=p.useState(-1),$e=n?0:-1,Re=p.useRef($e),Ie=p.useRef(ga(u!=null?u:G,d,U)).current,[K,ze]=Er({controlled:G,default:u,name:c}),[ie,we]=Er({controlled:A,default:Ie,name:c,state:"inputValue"}),[J,qe]=p.useState(!1),Me=p.useCallback((F,L,ee)=>{if(!(d?K.length<L.length:L!==null)&&!a)return;const Ce=ga(L,d,U,ne);ie!==Ce&&(we(Ce),I&&I(F,Ce,ee))},[U,ie,d,I,we,a,K,ne]),[Ve,tt]=Er({controlled:q,default:!1,name:c,state:"open"}),[pt,Ke]=p.useState(!0),nt=!d&&K!=null&&ie===U(K),Oe=Ve&&!te,xe=Oe?x(Q.filter(F=>!(w&&(d?K:[K]).some(L=>L!==null&&O(F,L)))),{inputValue:nt&&pt?"":ie,getOptionLabel:U}):[],Se=rg({filteredOptions:xe,value:K,inputValue:ie});p.useEffect(()=>{const F=K!==Se.value;J&&!F||R&&!F||Me(null,K,"reset")},[K,Me,J,Se.value,R]);const it=Ve&&xe.length>0&&!te,Ae=ht(F=>{if(F===-1)se.current.focus();else{const L=ne?"data-item-index":"data-tag-index";me.querySelector(`[${L}="${F}"]`).focus()}});p.useEffect(()=>{d&&ve>K.length-1&&(fe(-1),Ae(-1))},[K,d,ve,Ae]);function Rt(F,L){if(!Z.current||F<0||F>=xe.length)return-1;let ee=F;for(;;){const he=Z.current.querySelector(`[data-option-index="${ee}"]`),Ce=h?!1:!he||he.disabled||he.getAttribute("aria-disabled")==="true";if(he&&he.hasAttribute("tabindex")&&!Ce)return ee;if(L==="next"?ee=(ee+1)%xe.length:ee=(ee-1+xe.length)%xe.length,ee===F)return-1}}const ct=ht(({event:F,index:L,reason:ee})=>{if(Re.current=L,L===-1?se.current.removeAttribute("aria-activedescendant"):se.current.setAttribute("aria-activedescendant",`${H}-option-${L}`),E&&["mouse","keyboard","touch"].includes(ee)&&E(F,L===-1?null:xe[L],ee),!Z.current)return;const he=Z.current.querySelector(`[role="option"].${r}-focused`);he&&(he.classList.remove(`${r}-focused`),he.classList.remove(`${r}-focusVisible`));let Ce=Z.current;if(Z.current.getAttribute("role")!=="listbox"&&(Ce=Z.current.parentElement.querySelector('[role="listbox"]')),!Ce)return;if(L===-1){Ce.scrollTop=0;return}const Qe=Z.current.querySelector(`[data-option-index="${L}"]`);if(Qe&&(Qe.classList.add(`${r}-focused`),ee==="keyboard"&&Qe.classList.add(`${r}-focusVisible`),Ce.scrollHeight>Ce.clientHeight&&ee!=="mouse"&&ee!=="touch")){const Je=Qe,Kt=Ce.clientHeight+Ce.scrollTop,qo=Je.offsetTop+Je.offsetHeight;qo>Kt?Ce.scrollTop=qo-Ce.clientHeight:Je.offsetTop-Je.offsetHeight*(k?1.3:0)<Ce.scrollTop&&(Ce.scrollTop=Je.offsetTop-Je.offsetHeight*(k?1.3:0))}}),rt=ht(({event:F,diff:L,direction:ee="next",reason:he})=>{if(!Oe)return;const Qe=Rt((()=>{const Je=xe.length-1;if(L==="reset")return $e;if(L==="start")return 0;if(L==="end")return Je;const Kt=Re.current+L;return Kt<0?Kt===-1&&B?-1:g&&Re.current!==-1||Math.abs(L)>1?0:Je:Kt>Je?Kt===Je+1&&B?-1:g||Math.abs(L)>1?Je:0:Kt})(),ee);if(ct({index:Qe,reason:he,event:F}),o&&L!=="reset")if(Qe===-1)se.current.value=ie;else{const Je=U(xe[Qe]);se.current.value=Je,Je.toLowerCase().indexOf(ie.toLowerCase())===0&&ie.length>0&&se.current.setSelectionRange(ie.length,Je.length)}}),bt=!da({array1:Se.filteredOptions,array2:xe,parser:U}),oe=()=>{const F=(L,ee)=>{const he=L?U(L):"",Ce=ee?U(ee):"";return he===Ce};if(Re.current!==-1&&!da({array1:Se.filteredOptions,array2:xe,parser:U})&&Se.inputValue===ie&&(d?K.length===Se.value.length&&Se.value.every((L,ee)=>U(K[ee])===U(L)):F(Se.value,K))){const L=Se.filteredOptions[Re.current];if(L)return xe.findIndex(ee=>U(ee)===U(L))}return-1},Ee=p.useCallback(()=>{if(!Oe)return;const F=oe();if(F!==-1){Re.current=F;return}const L=d?K[0]:K;if(xe.length===0||L==null){rt({diff:"reset"});return}if(Z.current){if(L!=null){const ee=xe[Re.current];if(d&&ee&&K.findIndex(Ce=>O(ee,Ce))!==-1)return;const he=xe.findIndex(Ce=>O(Ce,L));he===-1?rt({diff:"reset"}):ct({index:he});return}if(Re.current>=xe.length-1){ct({index:xe.length-1});return}ct({index:Re.current})}},[xe.length,d?!1:K,w,rt,ct,Oe,ie,d]),Fe=ht(F=>{Ei(Z,F),F&&Ee()});p.useEffect(()=>{(bt||Oe)&&Ee()},[Ee,bt,Oe]);const Ge=F=>{Ve||(tt(!0),Ke(!0),z&&z(F))},vt=(F,L)=>{Ve&&(tt(!1),$&&$(F,L))},Pt=(F,L,ee,he)=>{if(d){if(K.length===L.length&&K.every((Ce,Qe)=>Ce===L[Qe]))return}else if(K===L)return;P&&P(F,L,ee,he),ze(L)},$t=p.useRef(!1),Lt=(F,L,ee="selectOption",he="options")=>{let Ce=ee,Qe=L;if(d){Qe=Array.isArray(K)?K.slice():[];const Je=Qe.findIndex(Kt=>O(L,Kt));Je===-1?Qe.push(L):he!=="freeSolo"&&(Qe.splice(Je,1),Ce="removeOption")}Me(F,Qe,Ce),Pt(F,Qe,Ce,{option:L}),!b&&(!F||!F.ctrlKey&&!F.metaKey)&&vt(F,Ce),(s===!0||s==="touch"&&$t.current||s==="mouse"&&!$t.current)&&se.current.blur()};function hr(F,L){if(F===-1)return-1;let ee=F;for(;;){if(L==="next"&&ee===K.length||L==="previous"&&ee===-1)return-1;const he=ne?"data-item-index":"data-tag-index",Ce=me.querySelector(`[${he}="${ee}"]`);if(!Ce||!Ce.hasAttribute("tabindex")||Ce.disabled||Ce.getAttribute("aria-disabled")==="true")ee+=L==="next"?1:-1;else return ee}}const Nt=(F,L)=>{if(!d)return;ie===""&&vt(F,"toggleInput");let ee=ve;ve===-1?ie===""&&L==="previous"&&(ee=K.length-1):(ee+=L==="next"?1:-1,ee<0&&(ee=0),ee===K.length&&(ee=-1)),ee=hr(ee,L),fe(ee),Ae(ee)},Y=F=>{re.current=!0,we(""),I&&I(F,"","clear"),Pt(F,d?[]:null,"clear")},_=F=>L=>{if(F.onKeyDown&&F.onKeyDown(L),!L.defaultMuiPrevented&&(ve!==-1&&!["ArrowLeft","ArrowRight"].includes(L.key)&&(fe(-1),Ae(-1)),L.which!==229))switch(L.key){case"Home":Oe&&T&&(L.preventDefault(),rt({diff:"start",direction:"next",reason:"keyboard",event:L}));break;case"End":Oe&&T&&(L.preventDefault(),rt({diff:"end",direction:"previous",reason:"keyboard",event:L}));break;case"PageUp":L.preventDefault(),rt({diff:-fa,direction:"previous",reason:"keyboard",event:L}),Ge(L);break;case"PageDown":L.preventDefault(),rt({diff:fa,direction:"next",reason:"keyboard",event:L}),Ge(L);break;case"ArrowDown":L.preventDefault(),rt({diff:1,direction:"next",reason:"keyboard",event:L}),Ge(L);break;case"ArrowUp":L.preventDefault(),rt({diff:-1,direction:"previous",reason:"keyboard",event:L}),Ge(L);break;case"ArrowLeft":!d&&ne?Ae(0):Nt(L,"previous");break;case"ArrowRight":!d&&ne?Ae(-1):Nt(L,"next");break;case"Enter":if(Re.current!==-1&&Oe){const ee=xe[Re.current],he=v?v(ee):!1;if(L.preventDefault(),he)return;Lt(L,ee,"selectOption"),o&&se.current.setSelectionRange(se.current.value.length,se.current.value.length)}else R&&ie!==""&&nt===!1&&(d&&L.preventDefault(),Lt(L,ie,"createOption","freeSolo"));break;case"Escape":Oe?(L.preventDefault(),L.stopPropagation(),vt(L,"escape")):l&&(ie!==""||d&&K.length>0||ne)&&(L.preventDefault(),L.stopPropagation(),Y(L));break;case"Backspace":if(d&&!te&&ie===""&&K.length>0){const ee=ve===-1?K.length-1:ve,he=K.slice();he.splice(ee,1),Pt(L,he,"removeOption",{option:K[ee]})}!d&&ne&&!te&&(ze(null),Ae(-1));break;case"Delete":if(d&&!te&&ie===""&&K.length>0&&ve!==-1){const ee=ve,he=K.slice();he.splice(ee,1),Pt(L,he,"removeOption",{option:K[ee]})}!d&&ne&&!te&&(ze(null),Ae(-1));break}},pe=F=>{qe(!0),j&&!re.current&&Ge(F)},ke=F=>{if(t(Z)){se.current.focus();return}qe(!1),ue.current=!0,re.current=!1,i&&Re.current!==-1&&Oe?Lt(F,xe[Re.current],"blur"):i&&R&&ie!==""?Lt(F,ie,"blur","freeSolo"):a&&Me(F,K,"blur"),vt(F,"blur")},He=F=>{const L=F.target.value;ie!==L&&(we(L),Ke(!1),I&&I(F,L,"input")),L===""?!f&&!d&&Pt(F,null,"clear"):Ge(F)},xt=F=>{const L=Number(F.currentTarget.getAttribute("data-option-index"));Re.current!==L&&ct({event:F,index:L,reason:"mouse"})},Vt=F=>{ct({event:F,index:Number(F.currentTarget.getAttribute("data-option-index")),reason:"touch"}),$t.current=!0},sr=F=>{const L=Number(F.currentTarget.getAttribute("data-option-index"));Lt(F,xe[L],"selectOption"),$t.current=!1},Fr=F=>L=>{const ee=K.slice();ee.splice(F,1),Pt(L,ee,"removeOption",{option:K[F]})},ar=F=>{Pt(F,null,"removeOption",{option:K})},st=F=>{Ve?vt(F,"toggleInput"):Ge(F)},ut=F=>{F.currentTarget.contains(F.target)&&F.target.getAttribute("id")!==H&&F.preventDefault()},br=F=>{F.currentTarget.contains(F.target)&&(se.current.focus(),V&&ue.current&&se.current.selectionEnd-se.current.selectionStart===0&&se.current.select(),ue.current=!1)},ei=F=>{!m&&(ie===""||!Ve)&&st(F)};let lo=R&&ie.length>0;lo=lo||(d?K.length>0:K!==null);let Ko=xe;return k&&(Ko=xe.reduce((F,L,ee)=>{const he=k(L);return F.length>0&&F[F.length-1].group===he?F[F.length-1].options.push(L):F.push({key:ee,index:ee,group:he,options:[L]}),F},[])),m&&J&&ke(),{getRootProps:(F={})=>({...F,onKeyDown:_(F),onMouseDown:ut,onClick:br}),getInputLabelProps:()=>({id:`${H}-label`,htmlFor:H}),getInputProps:()=>({id:H,value:ie,onBlur:ke,onFocus:pe,onChange:He,onMouseDown:ei,"aria-activedescendant":Oe?"":null,"aria-autocomplete":o?"both":"list","aria-controls":it?`${H}-listbox`:void 0,"aria-expanded":it,autoComplete:"off",ref:se,autoCapitalize:"none",spellCheck:"false",role:"combobox",disabled:m}),getClearProps:()=>({tabIndex:-1,type:"button",onClick:Y}),getItemProps:({index:F=0}={})=>({...d&&{key:F},...ne?{"data-item-index":F}:{"data-tag-index":F},tabIndex:-1,...!te&&{onDelete:d?Fr(F):ar}}),getPopupIndicatorProps:()=>({tabIndex:-1,type:"button",onClick:st}),getTagProps:({index:F})=>({key:F,"data-tag-index":F,tabIndex:-1,...!te&&{onDelete:Fr(F)}}),getListboxProps:()=>({role:"listbox",id:`${H}-listbox`,"aria-labelledby":`${H}-label`,ref:Fe,onMouseDown:F=>{F.preventDefault()}}),getOptionProps:({index:F,option:L})=>{var Ce;const ee=(d?K:[K]).some(Qe=>Qe!=null&&O(L,Qe)),he=v?v(L):!1;return{key:(Ce=y==null?void 0:y(L))!=null?Ce:U(L),tabIndex:-1,role:"option",id:`${H}-option-${F}`,onMouseMove:xt,onClick:sr,onTouchStart:Vt,"data-option-index":F,"aria-disabled":he,"aria-selected":ee}},id:H,inputValue:ie,value:K,dirty:lo,expanded:Oe&&me,popupOpen:Oe,focused:J||ve!==-1,anchorEl:me,setAnchorEl:de,focusedItem:ve,focusedTag:ve,groupedOptions:Ko}}var St="top",Ht="bottom",Ut="right",Ct="left",ds="auto",Uo=[St,Ht,Ut,Ct],Yr="start",Lo="end",lg="clippingParents",Yl="viewport",go="popper",cg="reference",ma=Uo.reduce(function(e,t){return e.concat([t+"-"+Yr,t+"-"+Lo])},[]),Zl=[].concat(Uo,[ds]).reduce(function(e,t){return e.concat([t,t+"-"+Yr,t+"-"+Lo])},[]),ug="beforeRead",dg="read",pg="afterRead",fg="beforeMain",gg="main",mg="afterMain",hg="beforeWrite",bg="write",yg="afterWrite",vg=[ug,dg,pg,fg,gg,mg,hg,bg,yg];function nr(e){return e?(e.nodeName||"").toLowerCase():null}function Ot(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Br(e){var t=Ot(e).Element;return e instanceof t||e instanceof Element}function Wt(e){var t=Ot(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function ps(e){if(typeof ShadowRoot=="undefined")return!1;var t=Ot(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function xg(e){var t=e.state;Object.keys(t.elements).forEach(function(r){var o=t.styles[r]||{},n=t.attributes[r]||{},i=t.elements[r];!Wt(i)||!nr(i)||(Object.assign(i.style,o),Object.keys(n).forEach(function(s){var a=n[s];a===!1?i.removeAttribute(s):i.setAttribute(s,a===!0?"":a)}))})}function Sg(e){var t=e.state,r={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,r.popper),t.styles=r,t.elements.arrow&&Object.assign(t.elements.arrow.style,r.arrow),function(){Object.keys(t.elements).forEach(function(o){var n=t.elements[o],i=t.attributes[o]||{},s=Object.keys(t.styles.hasOwnProperty(o)?t.styles[o]:r[o]),a=s.reduce(function(l,c){return l[c]="",l},{});!Wt(n)||!nr(n)||(Object.assign(n.style,a),Object.keys(i).forEach(function(l){n.removeAttribute(l)}))})}}const Cg={name:"applyStyles",enabled:!0,phase:"write",fn:xg,effect:Sg,requires:["computeStyles"]};function or(e){return e.split("-")[0]}var Ar=Math.max,wn=Math.min,Zr=Math.round;function Ni(){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 Ql(){return!/^((?!chrome|android).)*safari/i.test(Ni())}function Qr(e,t,r){t===void 0&&(t=!1),r===void 0&&(r=!1);var o=e.getBoundingClientRect(),n=1,i=1;t&&Wt(e)&&(n=e.offsetWidth>0&&Zr(o.width)/e.offsetWidth||1,i=e.offsetHeight>0&&Zr(o.height)/e.offsetHeight||1);var s=Br(e)?Ot(e):window,a=s.visualViewport,l=!Ql()&&r,c=(o.left+(l&&a?a.offsetLeft:0))/n,u=(o.top+(l&&a?a.offsetTop:0))/i,f=o.width/n,b=o.height/i;return{width:f,height:b,top:u,right:c+f,bottom:u+b,left:c,x:c,y:u}}function fs(e){var t=Qr(e),r=e.offsetWidth,o=e.offsetHeight;return Math.abs(t.width-r)<=1&&(r=t.width),Math.abs(t.height-o)<=1&&(o=t.height),{x:e.offsetLeft,y:e.offsetTop,width:r,height:o}}function Jl(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(r&&ps(r)){var o=t;do{if(o&&e.isSameNode(o))return!0;o=o.parentNode||o.host}while(o)}return!1}function fr(e){return Ot(e).getComputedStyle(e)}function wg(e){return["table","td","th"].indexOf(nr(e))>=0}function wr(e){return((Br(e)?e.ownerDocument:e.document)||window.document).documentElement}function Kn(e){return nr(e)==="html"?e:e.assignedSlot||e.parentNode||(ps(e)?e.host:null)||wr(e)}function ha(e){return!Wt(e)||fr(e).position==="fixed"?null:e.offsetParent}function kg(e){var t=/firefox/i.test(Ni()),r=/Trident/i.test(Ni());if(r&&Wt(e)){var o=fr(e);if(o.position==="fixed")return null}var n=Kn(e);for(ps(n)&&(n=n.host);Wt(n)&&["html","body"].indexOf(nr(n))<0;){var i=fr(n);if(i.transform!=="none"||i.perspective!=="none"||i.contain==="paint"||["transform","perspective"].indexOf(i.willChange)!==-1||t&&i.willChange==="filter"||t&&i.filter&&i.filter!=="none")return n;n=n.parentNode}return null}function _o(e){for(var t=Ot(e),r=ha(e);r&&wg(r)&&fr(r).position==="static";)r=ha(r);return r&&(nr(r)==="html"||nr(r)==="body"&&fr(r).position==="static")?t:r||kg(e)||t}function gs(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function ko(e,t,r){return Ar(e,wn(t,r))}function Rg(e,t,r){var o=ko(e,t,r);return o>r?r:o}function ec(){return{top:0,right:0,bottom:0,left:0}}function tc(e){return Object.assign({},ec(),e)}function rc(e,t){return t.reduce(function(r,o){return r[o]=e,r},{})}var Pg=function(t,r){return t=typeof t=="function"?t(Object.assign({},r.rects,{placement:r.placement})):t,tc(typeof t!="number"?t:rc(t,Uo))};function $g(e){var t,r=e.state,o=e.name,n=e.options,i=r.elements.arrow,s=r.modifiersData.popperOffsets,a=or(r.placement),l=gs(a),c=[Ct,Ut].indexOf(a)>=0,u=c?"height":"width";if(!(!i||!s)){var f=Pg(n.padding,r),b=fs(i),m=l==="y"?St:Ct,h=l==="y"?Ht:Ut,g=r.rects.reference[u]+r.rects.reference[l]-s[l]-r.rects.popper[u],x=s[l]-r.rects.reference[l],w=_o(i),R=w?l==="y"?w.clientHeight||0:w.clientWidth||0:0,v=g/2-x/2,y=f[m],S=R-b[u]-f[h],k=R/2-b[u]/2+v,T=ko(y,k,S),M=l;r.modifiersData[o]=(t={},t[M]=T,t.centerOffset=T-k,t)}}function Tg(e){var t=e.state,r=e.options,o=r.element,n=o===void 0?"[data-popper-arrow]":o;n!=null&&(typeof n=="string"&&(n=t.elements.popper.querySelector(n),!n)||Jl(t.elements.popper,n)&&(t.elements.arrow=n))}const Ig={name:"arrow",enabled:!0,phase:"main",fn:$g,effect:Tg,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Jr(e){return e.split("-")[1]}var Eg={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Ag(e,t){var r=e.x,o=e.y,n=t.devicePixelRatio||1;return{x:Zr(r*n)/n||0,y:Zr(o*n)/n||0}}function ba(e){var t,r=e.popper,o=e.popperRect,n=e.placement,i=e.variation,s=e.offsets,a=e.position,l=e.gpuAcceleration,c=e.adaptive,u=e.roundOffsets,f=e.isFixed,b=s.x,m=b===void 0?0:b,h=s.y,g=h===void 0?0:h,x=typeof u=="function"?u({x:m,y:g}):{x:m,y:g};m=x.x,g=x.y;var w=s.hasOwnProperty("x"),R=s.hasOwnProperty("y"),v=Ct,y=St,S=window;if(c){var k=_o(r),T="clientHeight",M="clientWidth";if(k===Ot(r)&&(k=wr(r),fr(k).position!=="static"&&a==="absolute"&&(T="scrollHeight",M="scrollWidth")),k=k,n===St||(n===Ct||n===Ut)&&i===Lo){y=Ht;var B=f&&k===S&&S.visualViewport?S.visualViewport.height:k[T];g-=B-o.height,g*=l?1:-1}if(n===Ct||(n===St||n===Ht)&&i===Lo){v=Ut;var A=f&&k===S&&S.visualViewport?S.visualViewport.width:k[M];m-=A-o.width,m*=l?1:-1}}var O=Object.assign({position:a},c&&Eg),d=u===!0?Ag({x:m,y:g},Ot(r)):{x:m,y:g};if(m=d.x,g=d.y,l){var P;return Object.assign({},O,(P={},P[y]=R?"0":"",P[v]=w?"0":"",P.transform=(S.devicePixelRatio||1)<=1?"translate("+m+"px, "+g+"px)":"translate3d("+m+"px, "+g+"px, 0)",P))}return Object.assign({},O,(t={},t[y]=R?g+"px":"",t[v]=w?m+"px":"",t.transform="",t))}function Mg(e){var t=e.state,r=e.options,o=r.gpuAcceleration,n=o===void 0?!0:o,i=r.adaptive,s=i===void 0?!0:i,a=r.roundOffsets,l=a===void 0?!0:a,c={placement:or(t.placement),variation:Jr(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:n,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,ba(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:s,roundOffsets:l})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,ba(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const Og={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Mg,data:{}};var en={passive:!0};function Bg(e){var t=e.state,r=e.instance,o=e.options,n=o.scroll,i=n===void 0?!0:n,s=o.resize,a=s===void 0?!0:s,l=Ot(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&c.forEach(function(u){u.addEventListener("scroll",r.update,en)}),a&&l.addEventListener("resize",r.update,en),function(){i&&c.forEach(function(u){u.removeEventListener("scroll",r.update,en)}),a&&l.removeEventListener("resize",r.update,en)}}const Lg={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:Bg,data:{}};var Ng={left:"right",right:"left",bottom:"top",top:"bottom"};function pn(e){return e.replace(/left|right|bottom|top/g,function(t){return Ng[t]})}var Fg={start:"end",end:"start"};function ya(e){return e.replace(/start|end/g,function(t){return Fg[t]})}function ms(e){var t=Ot(e),r=t.pageXOffset,o=t.pageYOffset;return{scrollLeft:r,scrollTop:o}}function hs(e){return Qr(wr(e)).left+ms(e).scrollLeft}function jg(e,t){var r=Ot(e),o=wr(e),n=r.visualViewport,i=o.clientWidth,s=o.clientHeight,a=0,l=0;if(n){i=n.width,s=n.height;var c=Ql();(c||!c&&t==="fixed")&&(a=n.offsetLeft,l=n.offsetTop)}return{width:i,height:s,x:a+hs(e),y:l}}function zg(e){var t,r=wr(e),o=ms(e),n=(t=e.ownerDocument)==null?void 0:t.body,i=Ar(r.scrollWidth,r.clientWidth,n?n.scrollWidth:0,n?n.clientWidth:0),s=Ar(r.scrollHeight,r.clientHeight,n?n.scrollHeight:0,n?n.clientHeight:0),a=-o.scrollLeft+hs(e),l=-o.scrollTop;return fr(n||r).direction==="rtl"&&(a+=Ar(r.clientWidth,n?n.clientWidth:0)-i),{width:i,height:s,x:a,y:l}}function bs(e){var t=fr(e),r=t.overflow,o=t.overflowX,n=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+n+o)}function oc(e){return["html","body","#document"].indexOf(nr(e))>=0?e.ownerDocument.body:Wt(e)&&bs(e)?e:oc(Kn(e))}function Ro(e,t){var r;t===void 0&&(t=[]);var o=oc(e),n=o===((r=e.ownerDocument)==null?void 0:r.body),i=Ot(o),s=n?[i].concat(i.visualViewport||[],bs(o)?o:[]):o,a=t.concat(s);return n?a:a.concat(Ro(Kn(s)))}function Fi(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Dg(e,t){var r=Qr(e,!1,t==="fixed");return r.top=r.top+e.clientTop,r.left=r.left+e.clientLeft,r.bottom=r.top+e.clientHeight,r.right=r.left+e.clientWidth,r.width=e.clientWidth,r.height=e.clientHeight,r.x=r.left,r.y=r.top,r}function va(e,t,r){return t===Yl?Fi(jg(e,r)):Br(t)?Dg(t,r):Fi(zg(wr(e)))}function Wg(e){var t=Ro(Kn(e)),r=["absolute","fixed"].indexOf(fr(e).position)>=0,o=r&&Wt(e)?_o(e):e;return Br(o)?t.filter(function(n){return Br(n)&&Jl(n,o)&&nr(n)!=="body"}):[]}function Hg(e,t,r,o){var n=t==="clippingParents"?Wg(e):[].concat(t),i=[].concat(n,[r]),s=i[0],a=i.reduce(function(l,c){var u=va(e,c,o);return l.top=Ar(u.top,l.top),l.right=wn(u.right,l.right),l.bottom=wn(u.bottom,l.bottom),l.left=Ar(u.left,l.left),l},va(e,s,o));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function nc(e){var t=e.reference,r=e.element,o=e.placement,n=o?or(o):null,i=o?Jr(o):null,s=t.x+t.width/2-r.width/2,a=t.y+t.height/2-r.height/2,l;switch(n){case St:l={x:s,y:t.y-r.height};break;case Ht:l={x:s,y:t.y+t.height};break;case Ut:l={x:t.x+t.width,y:a};break;case Ct:l={x:t.x-r.width,y:a};break;default:l={x:t.x,y:t.y}}var c=n?gs(n):null;if(c!=null){var u=c==="y"?"height":"width";switch(i){case Yr:l[c]=l[c]-(t[u]/2-r[u]/2);break;case Lo:l[c]=l[c]+(t[u]/2-r[u]/2);break}}return l}function No(e,t){t===void 0&&(t={});var r=t,o=r.placement,n=o===void 0?e.placement:o,i=r.strategy,s=i===void 0?e.strategy:i,a=r.boundary,l=a===void 0?lg:a,c=r.rootBoundary,u=c===void 0?Yl:c,f=r.elementContext,b=f===void 0?go:f,m=r.altBoundary,h=m===void 0?!1:m,g=r.padding,x=g===void 0?0:g,w=tc(typeof x!="number"?x:rc(x,Uo)),R=b===go?cg:go,v=e.rects.popper,y=e.elements[h?R:b],S=Hg(Br(y)?y:y.contextElement||wr(e.elements.popper),l,u,s),k=Qr(e.elements.reference),T=nc({reference:k,element:v,placement:n}),M=Fi(Object.assign({},v,T)),B=b===go?M:k,A={top:S.top-B.top+w.top,bottom:B.bottom-S.bottom+w.bottom,left:S.left-B.left+w.left,right:B.right-S.right+w.right},O=e.modifiersData.offset;if(b===go&&O){var d=O[n];Object.keys(A).forEach(function(P){var $=[Ut,Ht].indexOf(P)>=0?1:-1,E=[St,Ht].indexOf(P)>=0?"y":"x";A[P]+=d[E]*$})}return A}function Ug(e,t){t===void 0&&(t={});var r=t,o=r.placement,n=r.boundary,i=r.rootBoundary,s=r.padding,a=r.flipVariations,l=r.allowedAutoPlacements,c=l===void 0?Zl:l,u=Jr(o),f=u?a?ma:ma.filter(function(h){return Jr(h)===u}):Uo,b=f.filter(function(h){return c.indexOf(h)>=0});b.length===0&&(b=f);var m=b.reduce(function(h,g){return h[g]=No(e,{placement:g,boundary:n,rootBoundary:i,padding:s})[or(g)],h},{});return Object.keys(m).sort(function(h,g){return m[h]-m[g]})}function _g(e){if(or(e)===ds)return[];var t=pn(e);return[ya(e),t,ya(t)]}function Vg(e){var t=e.state,r=e.options,o=e.name;if(!t.modifiersData[o]._skip){for(var n=r.mainAxis,i=n===void 0?!0:n,s=r.altAxis,a=s===void 0?!0:s,l=r.fallbackPlacements,c=r.padding,u=r.boundary,f=r.rootBoundary,b=r.altBoundary,m=r.flipVariations,h=m===void 0?!0:m,g=r.allowedAutoPlacements,x=t.options.placement,w=or(x),R=w===x,v=l||(R||!h?[pn(x)]:_g(x)),y=[x].concat(v).reduce(function(G,H){return G.concat(or(H)===ds?Ug(t,{placement:H,boundary:u,rootBoundary:f,padding:c,flipVariations:h,allowedAutoPlacements:g}):H)},[]),S=t.rects.reference,k=t.rects.popper,T=new Map,M=!0,B=y[0],A=0;A<y.length;A++){var O=y[A],d=or(O),P=Jr(O)===Yr,$=[St,Ht].indexOf(d)>=0,E=$?"width":"height",I=No(t,{placement:O,boundary:u,rootBoundary:f,altBoundary:b,padding:c}),z=$?P?Ut:Ct:P?Ht:St;S[E]>k[E]&&(z=pn(z));var q=pn(z),j=[];if(i&&j.push(I[d]<=0),a&&j.push(I[z]<=0,I[q]<=0),j.every(function(G){return G})){B=O,M=!1;break}T.set(O,j)}if(M)for(var Q=h?3:1,te=function(H){var U=y.find(function(re){var ue=T.get(re);if(ue)return ue.slice(0,H).every(function(se){return se})});if(U)return B=U,"break"},ne=Q;ne>0;ne--){var V=te(ne);if(V==="break")break}t.placement!==B&&(t.modifiersData[o]._skip=!0,t.placement=B,t.reset=!0)}}const Kg={name:"flip",enabled:!0,phase:"main",fn:Vg,requiresIfExists:["offset"],data:{_skip:!1}};function xa(e,t,r){return r===void 0&&(r={x:0,y:0}),{top:e.top-t.height-r.y,right:e.right-t.width+r.x,bottom:e.bottom-t.height+r.y,left:e.left-t.width-r.x}}function Sa(e){return[St,Ut,Ht,Ct].some(function(t){return e[t]>=0})}function qg(e){var t=e.state,r=e.name,o=t.rects.reference,n=t.rects.popper,i=t.modifiersData.preventOverflow,s=No(t,{elementContext:"reference"}),a=No(t,{altBoundary:!0}),l=xa(s,o),c=xa(a,n,i),u=Sa(l),f=Sa(c);t.modifiersData[r]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:f},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":f})}const Gg={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:qg};function Xg(e,t,r){var o=or(e),n=[Ct,St].indexOf(o)>=0?-1:1,i=typeof r=="function"?r(Object.assign({},t,{placement:e})):r,s=i[0],a=i[1];return s=s||0,a=(a||0)*n,[Ct,Ut].indexOf(o)>=0?{x:a,y:s}:{x:s,y:a}}function Yg(e){var t=e.state,r=e.options,o=e.name,n=r.offset,i=n===void 0?[0,0]:n,s=Zl.reduce(function(u,f){return u[f]=Xg(f,t.rects,i),u},{}),a=s[t.placement],l=a.x,c=a.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=c),t.modifiersData[o]=s}const Zg={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:Yg};function Qg(e){var t=e.state,r=e.name;t.modifiersData[r]=nc({reference:t.rects.reference,element:t.rects.popper,placement:t.placement})}const Jg={name:"popperOffsets",enabled:!0,phase:"read",fn:Qg,data:{}};function em(e){return e==="x"?"y":"x"}function tm(e){var t=e.state,r=e.options,o=e.name,n=r.mainAxis,i=n===void 0?!0:n,s=r.altAxis,a=s===void 0?!1:s,l=r.boundary,c=r.rootBoundary,u=r.altBoundary,f=r.padding,b=r.tether,m=b===void 0?!0:b,h=r.tetherOffset,g=h===void 0?0:h,x=No(t,{boundary:l,rootBoundary:c,padding:f,altBoundary:u}),w=or(t.placement),R=Jr(t.placement),v=!R,y=gs(w),S=em(y),k=t.modifiersData.popperOffsets,T=t.rects.reference,M=t.rects.popper,B=typeof g=="function"?g(Object.assign({},t.rects,{placement:t.placement})):g,A=typeof B=="number"?{mainAxis:B,altAxis:B}:Object.assign({mainAxis:0,altAxis:0},B),O=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,d={x:0,y:0};if(k){if(i){var P,$=y==="y"?St:Ct,E=y==="y"?Ht:Ut,I=y==="y"?"height":"width",z=k[y],q=z+x[$],j=z-x[E],Q=m?-M[I]/2:0,te=R===Yr?T[I]:M[I],ne=R===Yr?-M[I]:-T[I],V=t.elements.arrow,G=m&&V?fs(V):{width:0,height:0},H=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:ec(),U=H[$],re=H[E],ue=ko(0,T[I],G[I]),se=v?T[I]/2-Q-ue-U-A.mainAxis:te-ue-U-A.mainAxis,Z=v?-T[I]/2+Q+ue+re+A.mainAxis:ne+ue+re+A.mainAxis,me=t.elements.arrow&&_o(t.elements.arrow),de=me?y==="y"?me.clientTop||0:me.clientLeft||0:0,ve=(P=O==null?void 0:O[y])!=null?P:0,fe=z+se-ve-de,$e=z+Z-ve,Re=ko(m?wn(q,fe):q,z,m?Ar(j,$e):j);k[y]=Re,d[y]=Re-z}if(a){var Ie,K=y==="x"?St:Ct,ze=y==="x"?Ht:Ut,ie=k[S],we=S==="y"?"height":"width",J=ie+x[K],qe=ie-x[ze],Me=[St,Ct].indexOf(w)!==-1,Ve=(Ie=O==null?void 0:O[S])!=null?Ie:0,tt=Me?J:ie-T[we]-M[we]-Ve+A.altAxis,pt=Me?ie+T[we]+M[we]-Ve-A.altAxis:qe,Ke=m&&Me?Rg(tt,ie,pt):ko(m?tt:J,ie,m?pt:qe);k[S]=Ke,d[S]=Ke-ie}t.modifiersData[o]=d}}const rm={name:"preventOverflow",enabled:!0,phase:"main",fn:tm,requiresIfExists:["offset"]};function om(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function nm(e){return e===Ot(e)||!Wt(e)?ms(e):om(e)}function im(e){var t=e.getBoundingClientRect(),r=Zr(t.width)/e.offsetWidth||1,o=Zr(t.height)/e.offsetHeight||1;return r!==1||o!==1}function sm(e,t,r){r===void 0&&(r=!1);var o=Wt(t),n=Wt(t)&&im(t),i=wr(t),s=Qr(e,n,r),a={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(o||!o&&!r)&&((nr(t)!=="body"||bs(i))&&(a=nm(t)),Wt(t)?(l=Qr(t,!0),l.x+=t.clientLeft,l.y+=t.clientTop):i&&(l.x=hs(i))),{x:s.left+a.scrollLeft-l.x,y:s.top+a.scrollTop-l.y,width:s.width,height:s.height}}function am(e){var t=new Map,r=new Set,o=[];e.forEach(function(i){t.set(i.name,i)});function n(i){r.add(i.name);var s=[].concat(i.requires||[],i.requiresIfExists||[]);s.forEach(function(a){if(!r.has(a)){var l=t.get(a);l&&n(l)}}),o.push(i)}return e.forEach(function(i){r.has(i.name)||n(i)}),o}function lm(e){var t=am(e);return vg.reduce(function(r,o){return r.concat(t.filter(function(n){return n.phase===o}))},[])}function cm(e){var t;return function(){return t||(t=new Promise(function(r){Promise.resolve().then(function(){t=void 0,r(e())})})),t}}function um(e){var t=e.reduce(function(r,o){var n=r[o.name];return r[o.name]=n?Object.assign({},n,o,{options:Object.assign({},n.options,o.options),data:Object.assign({},n.data,o.data)}):o,r},{});return Object.keys(t).map(function(r){return t[r]})}var Ca={placement:"bottom",modifiers:[],strategy:"absolute"};function wa(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return!t.some(function(o){return!(o&&typeof o.getBoundingClientRect=="function")})}function dm(e){e===void 0&&(e={});var t=e,r=t.defaultModifiers,o=r===void 0?[]:r,n=t.defaultOptions,i=n===void 0?Ca:n;return function(a,l,c){c===void 0&&(c=i);var u={placement:"bottom",orderedModifiers:[],options:Object.assign({},Ca,i),modifiersData:{},elements:{reference:a,popper:l},attributes:{},styles:{}},f=[],b=!1,m={state:u,setOptions:function(w){var R=typeof w=="function"?w(u.options):w;g(),u.options=Object.assign({},i,u.options,R),u.scrollParents={reference:Br(a)?Ro(a):a.contextElement?Ro(a.contextElement):[],popper:Ro(l)};var v=lm(um([].concat(o,u.options.modifiers)));return u.orderedModifiers=v.filter(function(y){return y.enabled}),h(),m.update()},forceUpdate:function(){if(!b){var w=u.elements,R=w.reference,v=w.popper;if(wa(R,v)){u.rects={reference:sm(R,_o(v),u.options.strategy==="fixed"),popper:fs(v)},u.reset=!1,u.placement=u.options.placement,u.orderedModifiers.forEach(function(A){return u.modifiersData[A.name]=Object.assign({},A.data)});for(var y=0;y<u.orderedModifiers.length;y++){if(u.reset===!0){u.reset=!1,y=-1;continue}var S=u.orderedModifiers[y],k=S.fn,T=S.options,M=T===void 0?{}:T,B=S.name;typeof k=="function"&&(u=k({state:u,options:M,name:B,instance:m})||u)}}}},update:cm(function(){return new Promise(function(x){m.forceUpdate(),x(u)})}),destroy:function(){g(),b=!0}};if(!wa(a,l))return m;m.setOptions(c).then(function(x){!b&&c.onFirstUpdate&&c.onFirstUpdate(x)});function h(){u.orderedModifiers.forEach(function(x){var w=x.name,R=x.options,v=R===void 0?{}:R,y=x.effect;if(typeof y=="function"){var S=y({state:u,name:w,instance:m,options:v}),k=function(){};f.push(S||k)}})}function g(){f.forEach(function(x){return x()}),f=[]}return m}}var pm=[Lg,Jg,Og,Cg,Zg,Kg,rm,Ig,Gg],fm=dm({defaultModifiers:pm});function eo(e){var f;const{elementType:t,externalSlotProps:r,ownerState:o,skipResolvingSlotProps:n=!1,...i}=e,s=n?{}:Kl(r,o),{props:a,internalRef:l}=Gl({...i,externalSlotProps:s}),c=lt(l,s==null?void 0:s.ref,(f=e.additionalProps)==null?void 0:f.ref);return Vl(t,{...a,ref:c},o)}function no(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}function gm(e){return typeof e=="function"?e():e}const ic=p.forwardRef(function(t,r){const{children:o,container:n,disablePortal:i=!1}=t,[s,a]=p.useState(null),l=lt(p.isValidElement(o)?no(o):null,r);if(Yt(()=>{i||a(gm(n)||document.body)},[n,i]),Yt(()=>{if(s&&!i)return Ei(r,s),()=>{Ei(r,null)}},[r,s,i]),i){if(p.isValidElement(o)){const c={ref:l};return p.cloneElement(o,c)}return o}return s&&Cc.createPortal(o,s)});function mm(e){return le("MuiPopper",e)}ce("MuiPopper",["root"]);function hm(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 ji(e){return typeof e=="function"?e():e}function bm(e){return e.nodeType!==void 0}const ym=e=>{const{classes:t}=e;return ge({root:["root"]},mm,t)},vm={},xm=p.forwardRef(function(t,r){var E;const{anchorEl:o,children:n,direction:i,disablePortal:s,modifiers:a,open:l,placement:c,popperOptions:u,popperRef:f,slotProps:b={},slots:m={},TransitionProps:h,ownerState:g,...x}=t,w=p.useRef(null),R=lt(w,r),v=p.useRef(null),y=lt(v,f),S=p.useRef(y);Yt(()=>{S.current=y},[y]),p.useImperativeHandle(f,()=>v.current,[]);const k=hm(c,i),[T,M]=p.useState(k),[B,A]=p.useState(ji(o));p.useEffect(()=>{v.current&&v.current.forceUpdate()}),p.useEffect(()=>{o&&A(ji(o))},[o]),Yt(()=>{if(!B||!l)return;const I=j=>{M(j.placement)};let z=[{name:"preventOverflow",options:{altBoundary:s}},{name:"flip",options:{altBoundary:s}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:j})=>{I(j)}}];a!=null&&(z=z.concat(a)),u&&u.modifiers!=null&&(z=z.concat(u.modifiers));const q=fm(B,w.current,{placement:k,...u,modifiers:z});return S.current(q),()=>{q.destroy(),S.current(null)}},[B,s,a,l,u,k]);const O={placement:T};h!==null&&(O.TransitionProps=h);const d=ym(t),P=(E=m.root)!=null?E:"div",$=eo({elementType:P,externalSlotProps:b.root,externalForwardedProps:x,additionalProps:{role:"tooltip",ref:R},ownerState:t,className:d.root});return C.jsx(P,{...$,children:typeof n=="function"?n(O):n})}),Sm=p.forwardRef(function(t,r){const{anchorEl:o,children:n,container:i,direction:s="ltr",disablePortal:a=!1,keepMounted:l=!1,modifiers:c,open:u,placement:f="bottom",popperOptions:b=vm,popperRef:m,style:h,transition:g=!1,slotProps:x={},slots:w={},...R}=t,[v,y]=p.useState(!0),S=()=>{y(!1)},k=()=>{y(!0)};if(!l&&!u&&(!g||v))return null;let T;if(i)T=i;else if(o){const A=ji(o);T=A&&bm(A)?kt(A).body:kt(null).body}const M=!u&&l&&(!g||v)?"none":void 0,B=g?{in:u,onEnter:S,onExited:k}:void 0;return C.jsx(ic,{disablePortal:a,container:T,children:C.jsx(xm,{anchorEl:o,direction:s,disablePortal:a,modifiers:c,ref:r,open:g?!v:u,placement:f,popperOptions:b,popperRef:m,slotProps:x,slots:w,...R,style:{position:"fixed",top:0,left:0,display:M,...h},TransitionProps:B,children:n})})}),Cm=W(Sm,{name:"MuiPopper",slot:"Root"})({}),qn=p.forwardRef(function(t,r){var T;const o=Ho(),n=ye({props:t,name:"MuiPopper"}),{anchorEl:i,component:s,components:a,componentsProps:l,container:c,disablePortal:u,keepMounted:f,modifiers:b,open:m,placement:h,popperOptions:g,popperRef:x,transition:w,slots:R,slotProps:v,...y}=n,S=(T=R==null?void 0:R.root)!=null?T:a==null?void 0:a.Root,k={anchorEl:i,container:c,disablePortal:u,keepMounted:f,modifiers:b,open:m,placement:h,popperOptions:g,popperRef:x,transition:w,...y};return C.jsx(Cm,{as:s,direction:o?"rtl":"ltr",slots:{root:S},slotProps:v!=null?v:l,...k,ref:r})});function wm(e){return le("MuiListSubheader",e)}ce("MuiListSubheader",["root","colorPrimary","colorInherit","gutters","inset","sticky"]);const km=e=>{const{classes:t,color:r,disableGutters:o,inset:n,disableSticky:i}=e,s={root:["root",r!=="default"&&`color${D(r)}`,!o&&"gutters",n&&"inset",!i&&"sticky"]};return ge(s,wm,t)},Rm=W("li",{name:"MuiListSubheader",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.color!=="default"&&t[`color${D(r.color)}`],!r.disableGutters&&t.gutters,r.inset&&t.inset,!r.disableSticky&&t.sticky]}})(ae(({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}}]}))),zi=p.forwardRef(function(t,r){const o=ye({props:t,name:"MuiListSubheader"}),{className:n,color:i="default",component:s="li",disableGutters:a=!1,disableSticky:l=!1,inset:c=!1,...u}=o,f={...o,color:i,component:s,disableGutters:a,disableSticky:l,inset:c},b=km(f);return C.jsx(Rm,{as:s,className:X(b.root,n),ref:r,ownerState:f,...u})});zi&&(zi.muiSkipListHighlight=!0);const Pm=gr(C.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"}));function $m(e){return le("MuiChip",e)}const Te=ce("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"]),Tm=e=>{const{classes:t,disabled:r,size:o,color:n,iconColor:i,onDelete:s,clickable:a,variant:l}=e,c={root:["root",l,r&&"disabled",`size${D(o)}`,`color${D(n)}`,a&&"clickable",a&&`clickableColor${D(n)}`,s&&"deletable",s&&`deletableColor${D(n)}`,`${l}${D(n)}`],label:["label",`label${D(o)}`],avatar:["avatar",`avatar${D(o)}`,`avatarColor${D(n)}`],icon:["icon",`icon${D(o)}`,`iconColor${D(i)}`],deleteIcon:["deleteIcon",`deleteIcon${D(o)}`,`deleteIconColor${D(n)}`,`deleteIcon${D(l)}Color${D(n)}`]};return ge(c,$m,t)},Im=W("div",{name:"MuiChip",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e,{color:o,iconColor:n,clickable:i,onDelete:s,size:a,variant:l}=r;return[{[`& .${Te.avatar}`]:t.avatar},{[`& .${Te.avatar}`]:t[`avatar${D(a)}`]},{[`& .${Te.avatar}`]:t[`avatarColor${D(o)}`]},{[`& .${Te.icon}`]:t.icon},{[`& .${Te.icon}`]:t[`icon${D(a)}`]},{[`& .${Te.icon}`]:t[`iconColor${D(n)}`]},{[`& .${Te.deleteIcon}`]:t.deleteIcon},{[`& .${Te.deleteIcon}`]:t[`deleteIcon${D(a)}`]},{[`& .${Te.deleteIcon}`]:t[`deleteIconColor${D(o)}`]},{[`& .${Te.deleteIcon}`]:t[`deleteIcon${D(l)}Color${D(o)}`]},t.root,t[`size${D(a)}`],t[`color${D(o)}`],i&&t.clickable,i&&o!=="default"&&t[`clickableColor${D(o)})`],s&&t.deletable,s&&o!=="default"&&t[`deletableColor${D(o)}`],t[l],t[`${l}${D(o)}`]]}})(ae(({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,lineHeight:1.5,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",[`&.${Te.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity,pointerEvents:"none"},[`& .${Te.avatar}`]:{marginLeft:5,marginRight:-6,width:24,height:24,color:e.vars?e.vars.palette.Chip.defaultAvatarColor:t,fontSize:e.typography.pxToRem(12)},[`& .${Te.avatarColorPrimary}`]:{color:(e.vars||e).palette.primary.contrastText,backgroundColor:(e.vars||e).palette.primary.dark},[`& .${Te.avatarColorSecondary}`]:{color:(e.vars||e).palette.secondary.contrastText,backgroundColor:(e.vars||e).palette.secondary.dark},[`& .${Te.avatarSmall}`]:{marginLeft:4,marginRight:-4,width:18,height:18,fontSize:e.typography.pxToRem(10)},[`& .${Te.icon}`]:{marginLeft:5,marginRight:-6},[`& .${Te.deleteIcon}`]:{WebkitTapHighlightColor:"transparent",color:e.alpha((e.vars||e).palette.text.primary,.26),fontSize:22,cursor:"pointer",margin:"0 5px 0 -6px","&:hover":{color:e.alpha((e.vars||e).palette.text.primary,.4)}},variants:[{props:{size:"small"},style:{height:24,[`& .${Te.icon}`]:{fontSize:18,marginLeft:4,marginRight:-4},[`& .${Te.deleteIcon}`]:{fontSize:16,marginRight:4,marginLeft:-4}}},...Object.entries(e.palette).filter(gt(["contrastText"])).map(([r])=>({props:{color:r},style:{backgroundColor:(e.vars||e).palette[r].main,color:(e.vars||e).palette[r].contrastText,[`& .${Te.deleteIcon}`]:{color:e.alpha((e.vars||e).palette[r].contrastText,.7),"&:hover, &:active":{color:(e.vars||e).palette[r].contrastText}}}})),{props:r=>r.iconColor===r.color,style:{[`& .${Te.icon}`]:{color:e.vars?e.vars.palette.Chip.defaultIconColor:t}}},{props:r=>r.iconColor===r.color&&r.color!=="default",style:{[`& .${Te.icon}`]:{color:"inherit"}}},{props:{onDelete:!0},style:{[`&.${Te.focusVisible}`]:{backgroundColor:e.alpha((e.vars||e).palette.action.selected,`${(e.vars||e).palette.action.selectedOpacity} + ${(e.vars||e).palette.action.focusOpacity}`)}}},...Object.entries(e.palette).filter(gt(["dark"])).map(([r])=>({props:{color:r,onDelete:!0},style:{[`&.${Te.focusVisible}`]:{background:(e.vars||e).palette[r].dark}}})),{props:{clickable:!0},style:{userSelect:"none",WebkitTapHighlightColor:"transparent",cursor:"pointer","&:hover":{backgroundColor:e.alpha((e.vars||e).palette.action.selected,`${(e.vars||e).palette.action.selectedOpacity} + ${(e.vars||e).palette.action.hoverOpacity}`)},[`&.${Te.focusVisible}`]:{backgroundColor:e.alpha((e.vars||e).palette.action.selected,`${(e.vars||e).palette.action.selectedOpacity} + ${(e.vars||e).palette.action.focusOpacity}`)},"&:active":{boxShadow:(e.vars||e).shadows[1]}}},...Object.entries(e.palette).filter(gt(["dark"])).map(([r])=>({props:{color:r,clickable:!0},style:{[`&:hover, &.${Te.focusVisible}`]:{backgroundColor:(e.vars||e).palette[r].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]}`,[`&.${Te.clickable}:hover`]:{backgroundColor:(e.vars||e).palette.action.hover},[`&.${Te.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`& .${Te.avatar}`]:{marginLeft:4},[`& .${Te.avatarSmall}`]:{marginLeft:2},[`& .${Te.icon}`]:{marginLeft:4},[`& .${Te.iconSmall}`]:{marginLeft:2},[`& .${Te.deleteIcon}`]:{marginRight:5},[`& .${Te.deleteIconSmall}`]:{marginRight:3}}},...Object.entries(e.palette).filter(gt()).map(([r])=>({props:{variant:"outlined",color:r},style:{color:(e.vars||e).palette[r].main,border:`1px solid ${e.alpha((e.vars||e).palette[r].main,.7)}`,[`&.${Te.clickable}:hover`]:{backgroundColor:e.alpha((e.vars||e).palette[r].main,(e.vars||e).palette.action.hoverOpacity)},[`&.${Te.focusVisible}`]:{backgroundColor:e.alpha((e.vars||e).palette[r].main,(e.vars||e).palette.action.focusOpacity)},[`& .${Te.deleteIcon}`]:{color:e.alpha((e.vars||e).palette[r].main,.7),"&:hover, &:active":{color:(e.vars||e).palette[r].main}}}}))]}})),Em=W("span",{name:"MuiChip",slot:"Label",overridesResolver:(e,t)=>{const{ownerState:r}=e,{size:o}=r;return[t.label,t[`label${D(o)}`]]}})({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 ka(e){return e.key==="Backspace"||e.key==="Delete"}const Am=p.forwardRef(function(t,r){const o=ye({props:t,name:"MuiChip"}),{avatar:n,className:i,clickable:s,color:a="default",component:l,deleteIcon:c,disabled:u=!1,icon:f,label:b,onClick:m,onDelete:h,onKeyDown:g,onKeyUp:x,size:w="medium",variant:R="filled",tabIndex:v,skipFocusWhenDisabled:y=!1,slots:S={},slotProps:k={},...T}=o,M=p.useRef(null),B=lt(M,r),A=U=>{U.stopPropagation(),h&&h(U)},O=U=>{U.currentTarget===U.target&&ka(U)&&U.preventDefault(),g&&g(U)},d=U=>{U.currentTarget===U.target&&h&&ka(U)&&h(U),x&&x(U)},P=s!==!1&&m?!0:s,$=P||h?Cr:l||"div",E={...o,component:$,disabled:u,size:w,color:a,iconColor:p.isValidElement(f)&&f.props.color||a,onDelete:!!h,clickable:P,variant:R},I=Tm(E),z=$===Cr?{component:l||"div",focusVisibleClassName:I.focusVisible,...h&&{disableRipple:!0}}:{};let q=null;h&&(q=c&&p.isValidElement(c)?p.cloneElement(c,{className:X(c.props.className,I.deleteIcon),onClick:A}):C.jsx(Pm,{className:I.deleteIcon,onClick:A}));let j=null;n&&p.isValidElement(n)&&(j=p.cloneElement(n,{className:X(I.avatar,n.props.className)}));let Q=null;f&&p.isValidElement(f)&&(Q=p.cloneElement(f,{className:X(I.icon,f.props.className)}));const te={slots:S,slotProps:k},[ne,V]=be("root",{elementType:Im,externalForwardedProps:{...te,...T},ownerState:E,shouldForwardComponentProp:!0,ref:B,className:X(I.root,i),additionalProps:{disabled:P&&u?!0:void 0,tabIndex:y&&u?-1:v,...z},getSlotProps:U=>({...U,onClick:re=>{var ue;(ue=U.onClick)==null||ue.call(U,re),m==null||m(re)},onKeyDown:re=>{var ue;(ue=U.onKeyDown)==null||ue.call(U,re),O(re)},onKeyUp:re=>{var ue;(ue=U.onKeyUp)==null||ue.call(U,re),d(re)}})}),[G,H]=be("label",{elementType:Em,externalForwardedProps:te,ownerState:E,className:I.label});return C.jsxs(ne,{as:$,...V,children:[j||Q,C.jsx(G,{...H,children:b}),q]})});function tn(e){return parseInt(e,10)||0}const Mm={shadow:{visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"}};function Om(e){for(const t in e)return!1;return!0}function Ra(e){return Om(e)||e.outerHeightStyle===0&&!e.overflowing}const Bm=p.forwardRef(function(t,r){const{onChange:o,maxRows:n,minRows:i=1,style:s,value:a,...l}=t,{current:c}=p.useRef(a!=null),u=p.useRef(null),f=lt(r,u),b=p.useRef(null),m=p.useRef(null),h=p.useCallback(()=>{const v=u.current,y=m.current;if(!v||!y)return;const k=Zt(v).getComputedStyle(v);if(k.width==="0px")return{outerHeightStyle:0,overflowing:!1};y.style.width=k.width,y.value=v.value||t.placeholder||"x",y.value.slice(-1)===`
`&&(y.value+=" ");const T=k.boxSizing,M=tn(k.paddingBottom)+tn(k.paddingTop),B=tn(k.borderBottomWidth)+tn(k.borderTopWidth),A=y.scrollHeight;y.value="x";const O=y.scrollHeight;let d=A;i&&(d=Math.max(Number(i)*O,d)),n&&(d=Math.min(Number(n)*O,d)),d=Math.max(d,O);const P=d+(T==="border-box"?M+B:0),$=Math.abs(d-A)<=1;return{outerHeightStyle:P,overflowing:$}},[n,i,t.placeholder]),g=ht(()=>{const v=u.current,y=h();if(!v||!y||Ra(y))return!1;const S=y.outerHeightStyle;return b.current!=null&&b.current!==S}),x=p.useCallback(()=>{const v=u.current,y=h();if(!v||!y||Ra(y))return;const S=y.outerHeightStyle;b.current!==S&&(b.current=S,v.style.height=`${S}px`),v.style.overflow=y.overflowing?"hidden":""},[h]),w=p.useRef(-1);Yt(()=>{const v=_n(x),y=u==null?void 0:u.current;if(!y)return;const S=Zt(y);S.addEventListener("resize",v);let k;return typeof ResizeObserver!="undefined"&&(k=new ResizeObserver(()=>{g()&&(k.unobserve(y),cancelAnimationFrame(w.current),x(),w.current=requestAnimationFrame(()=>{k.observe(y)}))}),k.observe(y)),()=>{v.clear(),cancelAnimationFrame(w.current),S.removeEventListener("resize",v),k&&k.disconnect()}},[h,x,g]),Yt(()=>{x()});const R=v=>{c||x();const y=v.target,S=y.value.length,k=y.value.endsWith(`
`),T=y.selectionStart===S;k&&T&&y.setSelectionRange(S,S),o&&o(v)};return C.jsxs(p.Fragment,{children:[C.jsx("textarea",{value:a,onChange:R,ref:f,rows:i,style:s,...l}),C.jsx("textarea",{"aria-hidden":!0,className:t.className,readOnly:!0,ref:m,tabIndex:-1,style:{...Mm.shadow,...s,paddingTop:0,paddingBottom:0}})]})});function Nr({props:e,states:t,muiFormControl:r}){return t.reduce((o,n)=>(o[n]=e[n],r&&typeof e[n]=="undefined"&&(o[n]=r[n]),o),{})}const Gn=p.createContext(void 0);function mr(){return p.useContext(Gn)}function Pa(e){return e!=null&&!(Array.isArray(e)&&e.length===0)}function kn(e,t=!1){return e&&(Pa(e.value)&&e.value!==""||t&&Pa(e.defaultValue)&&e.defaultValue!=="")}function Lm(e){return e.startAdornment}function Nm(e){return le("MuiInputBase",e)}const Tt=ce("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]);var $a;const Xn=(e,t)=>{const{ownerState:r}=e;return[t.root,r.formControl&&t.formControl,r.startAdornment&&t.adornedStart,r.endAdornment&&t.adornedEnd,r.error&&t.error,r.size==="small"&&t.sizeSmall,r.multiline&&t.multiline,r.color&&t[`color${D(r.color)}`],r.fullWidth&&t.fullWidth,r.hiddenLabel&&t.hiddenLabel]},Yn=(e,t)=>{const{ownerState:r}=e;return[t.input,r.size==="small"&&t.inputSizeSmall,r.multiline&&t.inputMultiline,r.type==="search"&&t.inputTypeSearch,r.startAdornment&&t.inputAdornedStart,r.endAdornment&&t.inputAdornedEnd,r.hiddenLabel&&t.inputHiddenLabel]},Fm=e=>{const{classes:t,color:r,disabled:o,error:n,endAdornment:i,focused:s,formControl:a,fullWidth:l,hiddenLabel:c,multiline:u,readOnly:f,size:b,startAdornment:m,type:h}=e,g={root:["root",`color${D(r)}`,o&&"disabled",n&&"error",l&&"fullWidth",s&&"focused",a&&"formControl",b&&b!=="medium"&&`size${D(b)}`,u&&"multiline",m&&"adornedStart",i&&"adornedEnd",c&&"hiddenLabel",f&&"readOnly"],input:["input",o&&"disabled",h==="search"&&"inputTypeSearch",u&&"inputMultiline",b==="small"&&"inputSizeSmall",c&&"inputHiddenLabel",m&&"inputAdornedStart",i&&"inputAdornedEnd",f&&"readOnly"]};return ge(g,Nm,t)},Zn=W("div",{name:"MuiInputBase",slot:"Root",overridesResolver:Xn})(ae(({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",[`&.${Tt.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:r})=>t.multiline&&r==="small",style:{paddingTop:1}},{props:({ownerState:t})=>t.fullWidth,style:{width:"100%"}}]}))),Qn=W("input",{name:"MuiInputBase",slot:"Input",overridesResolver:Yn})(ae(({theme:e})=>{const t=e.palette.mode==="light",r={color:"currentColor",...e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:t?.42:.5},transition:e.transitions.create("opacity",{duration:e.transitions.duration.shorter})},o={opacity:"0 !important"},n=e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:t?.42:.5};return{font:"inherit",letterSpacing:"inherit",color:"currentColor",padding:"4px 0 5px",border:0,boxSizing:"content-box",background:"none",height:"1.4375em",margin:0,WebkitTapHighlightColor:"transparent",display:"block",minWidth:0,width:"100%","&::-webkit-input-placeholder":r,"&::-moz-placeholder":r,"&::-ms-input-placeholder":r,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"},[`label[data-shrink=false] + .${Tt.formControl} &`]:{"&::-webkit-input-placeholder":o,"&::-moz-placeholder":o,"&::-ms-input-placeholder":o,"&:focus::-webkit-input-placeholder":n,"&:focus::-moz-placeholder":n,"&:focus::-ms-input-placeholder":n},[`&.${Tt.disabled}`]:{opacity:1,WebkitTextFillColor:(e.vars||e).palette.text.disabled},variants:[{props:({ownerState:i})=>!i.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:i})=>i.multiline,style:{height:"auto",resize:"none",padding:0,paddingTop:0}},{props:{type:"search"},style:{MozAppearance:"textfield"}}]}})),Ta=qp({"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}),ys=p.forwardRef(function(t,r){var xe;const o=ye({props:t,name:"MuiInputBase"}),{"aria-describedby":n,autoComplete:i,autoFocus:s,className:a,color:l,components:c={},componentsProps:u={},defaultValue:f,disabled:b,disableInjectingGlobalStyles:m,endAdornment:h,error:g,fullWidth:x=!1,id:w,inputComponent:R="input",inputProps:v={},inputRef:y,margin:S,maxRows:k,minRows:T,multiline:M=!1,name:B,onBlur:A,onChange:O,onClick:d,onFocus:P,onKeyDown:$,onKeyUp:E,placeholder:I,readOnly:z,renderSuffix:q,rows:j,size:Q,slotProps:te={},slots:ne={},startAdornment:V,type:G="text",value:H,...U}=o,re=v.value!=null?v.value:H,{current:ue}=p.useRef(re!=null),se=p.useRef(),Z=p.useCallback(Se=>{},[]),me=lt(se,y,v.ref,Z),[de,ve]=p.useState(!1),fe=mr(),$e=Nr({props:o,muiFormControl:fe,states:["color","disabled","error","hiddenLabel","size","required","filled"]});$e.focused=fe?fe.focused:de,p.useEffect(()=>{!fe&&b&&de&&(ve(!1),A&&A())},[fe,b,de,A]);const Re=fe&&fe.onFilled,Ie=fe&&fe.onEmpty,K=p.useCallback(Se=>{kn(Se)?Re&&Re():Ie&&Ie()},[Re,Ie]);Yt(()=>{ue&&K({value:re})},[re,K,ue]);const ze=Se=>{P&&P(Se),v.onFocus&&v.onFocus(Se),fe&&fe.onFocus?fe.onFocus(Se):ve(!0)},ie=Se=>{A&&A(Se),v.onBlur&&v.onBlur(Se),fe&&fe.onBlur?fe.onBlur(Se):ve(!1)},we=(Se,...it)=>{if(!ue){const Ae=Se.target||se.current;if(Ae==null)throw new Error(pr(1));K({value:Ae.value})}v.onChange&&v.onChange(Se,...it),O&&O(Se,...it)};p.useEffect(()=>{K(se.current)},[]);const J=Se=>{se.current&&Se.currentTarget===Se.target&&se.current.focus(),d&&d(Se)};let qe=R,Me=v;M&&qe==="input"&&(j?Me={type:void 0,minRows:j,maxRows:j,...Me}:Me={type:void 0,maxRows:k,minRows:T,...Me},qe=Bm);const Ve=Se=>{K(Se.animationName==="mui-auto-fill-cancel"?se.current:{value:"x"})};p.useEffect(()=>{fe&&fe.setAdornedStart(!!V)},[fe,V]);const tt={...o,color:$e.color||"primary",disabled:$e.disabled,endAdornment:h,error:$e.error,focused:$e.focused,formControl:fe,fullWidth:x,hiddenLabel:$e.hiddenLabel,multiline:M,size:$e.size,startAdornment:V,type:G},pt=Fm(tt),Ke=ne.root||c.Root||Zn,nt=te.root||u.root||{},Oe=ne.input||c.Input||Qn;return Me={...Me,...(xe=te.input)!=null?xe:u.input},C.jsxs(p.Fragment,{children:[!m&&typeof Ta=="function"&&($a||($a=C.jsx(Ta,{}))),C.jsxs(Ke,{...nt,ref:r,onClick:J,...U,...!xn(Ke)&&{ownerState:{...tt,...nt.ownerState}},className:X(pt.root,nt.className,a,z&&"MuiInputBase-readOnly"),children:[V,C.jsx(Gn.Provider,{value:null,children:C.jsx(Oe,{"aria-invalid":$e.error,"aria-describedby":n,autoComplete:i,autoFocus:s,defaultValue:f,disabled:$e.disabled,id:w,onAnimationStart:Ve,name:B,placeholder:I,readOnly:z,required:$e.required,rows:j,value:re,onKeyDown:$,onKeyUp:E,type:G,...Me,...!xn(Oe)&&{as:qe,ownerState:{...tt,...Me.ownerState}},ref:me,className:X(pt.input,Me.className,z&&"MuiInputBase-readOnly"),onBlur:ie,onChange:we,onFocus:ze})}),h,q?q({...$e,startAdornment:V}):null]})]})});function jm(e){return le("MuiInput",e)}const vr={...Tt,...ce("MuiInput",["root","underline","input"])};function zm(e){return le("MuiOutlinedInput",e)}const jt={...Tt,...ce("MuiOutlinedInput",["root","notchedOutline","input"])};function Dm(e){return le("MuiFilledInput",e)}const It={...Tt,...ce("MuiFilledInput",["root","underline","input","adornedStart","adornedEnd","sizeSmall","multiline","hiddenLabel"])},sc=gr(C.jsx("path",{d:"M7 10l5 5 5-5z"}));function Wm(e){return le("MuiAutocomplete",e)}const Pe=ce("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 Ia,Ea;const Hm=e=>{const{classes:t,disablePortal:r,expanded:o,focused:n,fullWidth:i,hasClearIcon:s,hasPopupIcon:a,inputFocused:l,popupOpen:c,size:u}=e,f={root:["root",o&&"expanded",n&&"focused",i&&"fullWidth",s&&"hasClearIcon",a&&"hasPopupIcon"],inputRoot:["inputRoot"],input:["input",l&&"inputFocused"],tag:["tag",`tagSize${D(u)}`],endAdornment:["endAdornment"],clearIndicator:["clearIndicator"],popupIndicator:["popupIndicator",c&&"popupIndicatorOpen"],popper:["popper",r&&"popperDisablePortal"],paper:["paper"],listbox:["listbox"],loading:["loading"],noOptions:["noOptions"],option:["option"],groupLabel:["groupLabel"],groupUl:["groupUl"]};return ge(f,Wm,t)},Um=W("div",{name:"MuiAutocomplete",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e,{fullWidth:o,hasClearIcon:n,hasPopupIcon:i,inputFocused:s,size:a}=r;return[{[`& .${Pe.tag}`]:t.tag},{[`& .${Pe.tag}`]:t[`tagSize${D(a)}`]},{[`& .${Pe.inputRoot}`]:t.inputRoot},{[`& .${Pe.input}`]:t.input},{[`& .${Pe.input}`]:s&&t.inputFocused},t.root,o&&t.fullWidth,i&&t.hasPopupIcon,n&&t.hasClearIcon]}})({[`&.${Pe.focused} .${Pe.clearIndicator}`]:{visibility:"visible"},"@media (pointer: fine)":{[`&:hover .${Pe.clearIndicator}`]:{visibility:"visible"}},[`& .${Pe.tag}`]:{margin:3,maxWidth:"calc(100% - 6px)"},[`& .${Pe.inputRoot}`]:{[`.${Pe.hasPopupIcon}&, .${Pe.hasClearIcon}&`]:{paddingRight:30},[`.${Pe.hasPopupIcon}.${Pe.hasClearIcon}&`]:{paddingRight:56},[`& .${Pe.input}`]:{width:0,minWidth:30}},[`& .${vr.root}`]:{paddingBottom:1,"& .MuiInput-input":{padding:"4px 4px 4px 0px"}},[`& .${vr.root}.${Tt.sizeSmall}`]:{[`& .${vr.input}`]:{padding:"2px 4px 3px 0"}},[`& .${jt.root}`]:{padding:9,[`.${Pe.hasPopupIcon}&, .${Pe.hasClearIcon}&`]:{paddingRight:39},[`.${Pe.hasPopupIcon}.${Pe.hasClearIcon}&`]:{paddingRight:65},[`& .${Pe.input}`]:{padding:"7.5px 4px 7.5px 5px"},[`& .${Pe.endAdornment}`]:{right:9}},[`& .${jt.root}.${Tt.sizeSmall}`]:{paddingTop:6,paddingBottom:6,paddingLeft:6,[`& .${Pe.input}`]:{padding:"2.5px 4px 2.5px 8px"}},[`& .${It.root}`]:{paddingTop:19,paddingLeft:8,[`.${Pe.hasPopupIcon}&, .${Pe.hasClearIcon}&`]:{paddingRight:39},[`.${Pe.hasPopupIcon}.${Pe.hasClearIcon}&`]:{paddingRight:65},[`& .${It.input}`]:{padding:"7px 4px"},[`& .${Pe.endAdornment}`]:{right:9}},[`& .${It.root}.${Tt.sizeSmall}`]:{paddingBottom:1,[`& .${It.input}`]:{padding:"2.5px 4px"}},[`& .${Tt.hiddenLabel}`]:{paddingTop:8},[`& .${It.root}.${Tt.hiddenLabel}`]:{paddingTop:0,paddingBottom:0,[`& .${Pe.input}`]:{paddingTop:16,paddingBottom:17}},[`& .${It.root}.${Tt.hiddenLabel}.${Tt.sizeSmall}`]:{[`& .${Pe.input}`]:{paddingTop:8,paddingBottom:9}},[`& .${Pe.input}`]:{flexGrow:1,textOverflow:"ellipsis",opacity:0},variants:[{props:{fullWidth:!0},style:{width:"100%"}},{props:{size:"small"},style:{[`& .${Pe.tag}`]:{margin:2,maxWidth:"calc(100% - 4px)"}}},{props:{inputFocused:!0},style:{[`& .${Pe.input}`]:{opacity:1}}},{props:{multiple:!0},style:{[`& .${Pe.inputRoot}`]:{flexWrap:"wrap"}}}]}),_m=W("div",{name:"MuiAutocomplete",slot:"EndAdornment"})({position:"absolute",right:0,top:"50%",transform:"translate(0, -50%)"}),Vm=W(ur,{name:"MuiAutocomplete",slot:"ClearIndicator"})({marginRight:-2,padding:4,visibility:"hidden"}),Km=W(ur,{name:"MuiAutocomplete",slot:"PopupIndicator",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.popupIndicator,r.popupOpen&&t.popupIndicatorOpen]}})({padding:2,marginRight:-2,variants:[{props:{popupOpen:!0},style:{transform:"rotate(180deg)"}}]}),qm=W(qn,{name:"MuiAutocomplete",slot:"Popper",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[{[`& .${Pe.option}`]:t.option},t.popper,r.disablePortal&&t.popperDisablePortal]}})(ae(({theme:e})=>({zIndex:(e.vars||e).zIndex.modal,variants:[{props:{disablePortal:!0},style:{position:"absolute"}}]}))),Gm=W(oo,{name:"MuiAutocomplete",slot:"Paper"})(ae(({theme:e})=>({...e.typography.body1,overflow:"auto"}))),Xm=W("div",{name:"MuiAutocomplete",slot:"Loading"})(ae(({theme:e})=>({color:(e.vars||e).palette.text.secondary,padding:"14px 16px"}))),Ym=W("div",{name:"MuiAutocomplete",slot:"NoOptions"})(ae(({theme:e})=>({color:(e.vars||e).palette.text.secondary,padding:"14px 16px"}))),Zm=W("ul",{name:"MuiAutocomplete",slot:"Listbox"})(ae(({theme:e})=>({listStyle:"none",margin:0,padding:"8px 0",maxHeight:"40vh",overflow:"auto",position:"relative",[`& .${Pe.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"},[`&.${Pe.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"},[`&.${Pe.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},'&[aria-selected="true"]':{backgroundColor:e.alpha((e.vars||e).palette.primary.main,(e.vars||e).palette.action.selectedOpacity),[`&.${Pe.focused}`]:{backgroundColor:e.alpha((e.vars||e).palette.primary.main,`${(e.vars||e).palette.action.selectedOpacity} + ${(e.vars||e).palette.action.hoverOpacity}`),"@media (hover: none)":{backgroundColor:(e.vars||e).palette.action.selected}},[`&.${Pe.focusVisible}`]:{backgroundColor:e.alpha((e.vars||e).palette.primary.main,`${(e.vars||e).palette.action.selectedOpacity} + ${(e.vars||e).palette.action.focusOpacity}`)}}}}))),Qm=W(zi,{name:"MuiAutocomplete",slot:"GroupLabel"})(ae(({theme:e})=>({backgroundColor:(e.vars||e).palette.background.paper,top:-8}))),Jm=W("ul",{name:"MuiAutocomplete",slot:"GroupUl"})({padding:0,[`& .${Pe.option}`]:{paddingLeft:24}}),Jv=p.forwardRef(function(t,r){const o=ye({props:t,name:"MuiAutocomplete"}),{autoComplete:n=!1,autoHighlight:i=!1,autoSelect:s=!1,blurOnSelect:a=!1,ChipProps:l,className:c,clearIcon:u=Ia||(Ia=C.jsx(Xl,{fontSize:"small"})),clearOnBlur:f=!o.freeSolo,clearOnEscape:b=!1,clearText:m="Clear",closeText:h="Close",componentsProps:g,defaultValue:x=o.multiple?[]:null,disableClearable:w=!1,disableCloseOnSelect:R=!1,disabled:v=!1,disabledItemsFocusable:y=!1,disableListWrap:S=!1,disablePortal:k=!1,filterOptions:T,filterSelectedOptions:M=!1,forcePopupIcon:B="auto",freeSolo:A=!1,fullWidth:O=!1,getLimitTagsText:d=Be=>`+${Be}`,getOptionDisabled:P,getOptionKey:$,getOptionLabel:E,isOptionEqualToValue:I,groupBy:z,handleHomeEndKeys:q=!o.freeSolo,id:j,includeInputInList:Q=!1,inputValue:te,limitTags:ne=-1,ListboxComponent:V,ListboxProps:G,loading:H=!1,loadingText:U="Loading…",multiple:re=!1,noOptionsText:ue="No options",onChange:se,onClose:Z,onHighlightChange:me,onInputChange:de,onOpen:ve,open:fe,openOnFocus:$e=!1,openText:Re="Open",options:Ie,PaperComponent:K,PopperComponent:ze,popupIcon:ie=Ea||(Ea=C.jsx(sc,{})),readOnly:we=!1,renderGroup:J,renderInput:qe,renderOption:Me,renderTags:Ve,renderValue:tt,selectOnFocus:pt=!o.freeSolo,size:Ke="medium",slots:nt={},slotProps:Oe={},value:xe,...Se}=o,{getRootProps:it,getInputProps:Ae,getInputLabelProps:Rt,getPopupIndicatorProps:ct,getClearProps:rt,getItemProps:bt,getListboxProps:oe,getOptionProps:Ee,value:Fe,dirty:Ge,expanded:vt,id:Pt,popupOpen:$t,focused:Lt,focusedItem:hr,anchorEl:Nt,setAnchorEl:Y,inputValue:_,groupedOptions:pe}=ag({...o,componentName:"Autocomplete"}),ke=!w&&!v&&Ge&&!we,He=(!A||B===!0)&&B!==!1,{onMouseDown:xt}=Ae(),{ref:Vt,...sr}=oe(),ar=E||(Be=>{var qt;return(qt=Be.label)!=null?qt:Be}),st={...o,disablePortal:k,expanded:vt,focused:Lt,fullWidth:O,getOptionLabel:ar,hasClearIcon:ke,hasPopupIcon:He,inputFocused:hr===-1,popupOpen:$t,size:Ke},ut=Hm(st),br={slots:{paper:K,popper:ze,...nt},slotProps:{chip:l,listbox:G,...g,...Oe}},[ei,lo]=be("listbox",{elementType:Zm,externalForwardedProps:br,ownerState:st,className:ut.listbox,additionalProps:sr,ref:Vt}),[Ko,F]=be("paper",{elementType:oo,externalForwardedProps:br,ownerState:st,className:ut.paper}),[L,ee]=be("popper",{elementType:qn,externalForwardedProps:br,ownerState:st,className:ut.popper,additionalProps:{disablePortal:k,style:{width:Nt?Nt.clientWidth:null},role:"presentation",anchorEl:Nt,open:$t}});let he;const Ce=Be=>({className:ut.tag,disabled:v,...bt(Be)});if(re?Fe.length>0&&(Ve?he=Ve(Fe,Ce,st):tt?he=tt(Fe,Ce,st):he=Fe.map((Be,qt)=>{const{key:yr,...co}=Ce({index:qt});return C.jsx(Am,{label:ar(Be),size:Ke,...co,...br.slotProps.chip},yr)})):tt&&Fe!=null&&(he=tt(Fe,Ce,st)),ne>-1&&Array.isArray(he)){const Be=he.length-ne;!Lt&&Be>0&&(he=he.splice(0,ne),he.push(C.jsx("span",{className:ut.tag,children:d(Be)},he.length)))}const Je=J||(Be=>C.jsxs("li",{children:[C.jsx(Qm,{className:ut.groupLabel,ownerState:st,component:"div",children:Be.group}),C.jsx(Jm,{className:ut.groupUl,ownerState:st,children:Be.children})]},Be.key)),qo=Me||((Be,qt)=>{const{key:yr,...co}=Be;return C.jsx("li",{...co,children:ar(qt)},yr)}),ks=(Be,qt)=>{const yr=Ee({option:Be,index:qt});return qo({...yr,className:ut.option},Be,{selected:yr["aria-selected"],index:qt,inputValue:_},st)},Go=br.slotProps.clearIndicator,Xo=br.slotProps.popupIndicator;return C.jsxs(p.Fragment,{children:[C.jsx(Um,{ref:r,className:X(ut.root,c),ownerState:st,...it(Se),children:qe({id:Pt,disabled:v,fullWidth:!0,size:Ke==="small"?"small":void 0,InputLabelProps:Rt(),InputProps:{ref:Y,className:ut.inputRoot,startAdornment:he,onMouseDown:Be=>{Be.target===Be.currentTarget&&xt(Be)},...(ke||He)&&{endAdornment:C.jsxs(_m,{className:ut.endAdornment,ownerState:st,children:[ke?C.jsx(Vm,{...rt(),"aria-label":m,title:m,ownerState:st,...Go,className:X(ut.clearIndicator,Go==null?void 0:Go.className),children:u}):null,He?C.jsx(Km,{...ct(),disabled:v,"aria-label":$t?h:Re,title:$t?h:Re,ownerState:st,...Xo,className:X(ut.popupIndicator,Xo==null?void 0:Xo.className),children:ie}):null]})}},inputProps:{className:ut.input,disabled:v,readOnly:we,...Ae()}})}),Nt?C.jsx(qm,{as:L,...ee,children:C.jsxs(Gm,{as:Ko,...F,children:[H&&pe.length===0?C.jsx(Xm,{className:ut.loading,ownerState:st,children:U}):null,pe.length===0&&!A&&!H?C.jsx(Ym,{className:ut.noOptions,ownerState:st,role:"presentation",onMouseDown:Be=>{Be.preventDefault()},children:ue}):null,pe.length>0?C.jsx(ei,{as:V,...lo,children:pe.map((Be,qt)=>z?Je({key:Be.key,group:Be.group,children:Be.options.map((yr,co)=>ks(yr,Be.index+co))}):ks(Be,qt))}):null]})}):null]})}),eh={entering:{opacity:1},entered:{opacity:1}},Di=p.forwardRef(function(t,r){const o=ro(),n={enter:o.transitions.duration.enteringScreen,exit:o.transitions.duration.leavingScreen},{addEndListener:i,appear:s=!0,children:a,easing:l,in:c,onEnter:u,onEntered:f,onEntering:b,onExit:m,onExited:h,onExiting:g,style:x,timeout:w=n,TransitionComponent:R=ir,...v}=t,y=p.useRef(null),S=lt(y,no(a),r),k=$=>E=>{if($){const I=y.current;E===void 0?$(I):$(I,E)}},T=k(b),M=k(($,E)=>{_l($);const I=vn({style:x,timeout:w,easing:l},{mode:"enter"});$.style.webkitTransition=o.transitions.create("opacity",I),$.style.transition=o.transitions.create("opacity",I),u&&u($,E)}),B=k(f),A=k(g),O=k($=>{const E=vn({style:x,timeout:w,easing:l},{mode:"exit"});$.style.webkitTransition=o.transitions.create("opacity",E),$.style.transition=o.transitions.create("opacity",E),m&&m($)}),d=k(h),P=$=>{i&&i(y.current,$)};return C.jsx(R,{appear:s,in:c,nodeRef:y,onEnter:M,onEntered:B,onEntering:T,onExit:O,onExited:d,onExiting:A,addEndListener:P,timeout:w,...v,children:($,{ownerState:E,...I})=>p.cloneElement(a,{style:{opacity:0,visibility:$==="exited"&&!c?"hidden":void 0,...eh[$],...x,...a.props.style},ref:S,...I})})});function th(e){return le("MuiBackdrop",e)}ce("MuiBackdrop",["root","invisible"]);const rh=e=>{const{classes:t,invisible:r}=e;return ge({root:["root",r&&"invisible"]},th,t)},oh=W("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.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"}}]}),ac=p.forwardRef(function(t,r){const o=ye({props:t,name:"MuiBackdrop"}),{children:n,className:i,component:s="div",invisible:a=!1,open:l,components:c={},componentsProps:u={},slotProps:f={},slots:b={},TransitionComponent:m,transitionDuration:h,...g}=o,x={...o,component:s,invisible:a},w=rh(x),R={transition:m,root:c.Root,...b},v={...u,...f},y={component:s,slots:R,slotProps:v},[S,k]=be("root",{elementType:oh,externalForwardedProps:y,className:X(w.root,i),ownerState:x}),[T,M]=be("transition",{elementType:Di,externalForwardedProps:y,ownerState:x});return C.jsx(T,{in:l,timeout:h,...g,...M,children:C.jsx(S,{"aria-hidden":!0,...k,classes:w,ref:r,children:n})})}),nh=ce("MuiBox",["root"]),ih=zl(),at=Md({themeId:Pn,defaultTheme:ih,defaultClassName:nh.root,generateClassName:Tl.generate});function sh(e){return le("MuiButton",e)}const Rr=ce("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","colorPrimary","colorSecondary","colorSuccess","colorError","colorInfo","colorWarning","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","icon","iconSizeSmall","iconSizeMedium","iconSizeLarge","loading","loadingWrapper","loadingIconPlaceholder","loadingIndicator","loadingPositionCenter","loadingPositionStart","loadingPositionEnd"]),ah=p.createContext({}),lh=p.createContext(void 0),ch=e=>{const{color:t,disableElevation:r,fullWidth:o,size:n,variant:i,loading:s,loadingPosition:a,classes:l}=e,c={root:["root",s&&"loading",i,`${i}${D(t)}`,`size${D(n)}`,`${i}Size${D(n)}`,`color${D(t)}`,r&&"disableElevation",o&&"fullWidth",s&&`loadingPosition${D(a)}`],startIcon:["icon","startIcon",`iconSize${D(n)}`],endIcon:["icon","endIcon",`iconSize${D(n)}`],loadingIndicator:["loadingIndicator"],loadingWrapper:["loadingWrapper"]},u=ge(c,sh,l);return{...l,...u}},lc=[{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}}}],uh=W(Cr,{shouldForwardProp:e=>Bt(e)||e==="classes",name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],t[`${r.variant}${D(r.color)}`],t[`size${D(r.size)}`],t[`${r.variant}Size${D(r.size)}`],r.color==="inherit"&&t.colorInherit,r.disableElevation&&t.disableElevation,r.fullWidth&&t.fullWidth,r.loading&&t.loading]}})(ae(({theme:e})=>{const t=e.palette.mode==="light"?e.palette.grey[300]:e.palette.grey[800],r=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"},[`&.${Rr.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]},[`&.${Rr.focusVisible}`]:{boxShadow:(e.vars||e).shadows[6]},[`&.${Rr.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)",[`&.${Rr.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(gt()).map(([o])=>({props:{color:o},style:{"--variant-textColor":(e.vars||e).palette[o].main,"--variant-outlinedColor":(e.vars||e).palette[o].main,"--variant-outlinedBorder":e.alpha((e.vars||e).palette[o].main,.5),"--variant-containedColor":(e.vars||e).palette[o].contrastText,"--variant-containedBg":(e.vars||e).palette[o].main,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":(e.vars||e).palette[o].dark,"--variant-textBg":e.alpha((e.vars||e).palette[o].main,(e.vars||e).palette.action.hoverOpacity),"--variant-outlinedBorder":(e.vars||e).palette[o].main,"--variant-outlinedBg":e.alpha((e.vars||e).palette[o].main,(e.vars||e).palette.action.hoverOpacity)}}}})),{props:{color:"inherit"},style:{color:"inherit",borderColor:"currentColor","--variant-containedBg":e.vars?e.vars.palette.Button.inheritContainedBg:t,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":e.vars?e.vars.palette.Button.inheritContainedHoverBg:r,"--variant-textBg":e.alpha((e.vars||e).palette.text.primary,(e.vars||e).palette.action.hoverOpacity),"--variant-outlinedBg":e.alpha((e.vars||e).palette.text.primary,(e.vars||e).palette.action.hoverOpacity)}}}},{props:{size:"small",variant:"text"},style:{padding:"4px 5px",fontSize:e.typography.pxToRem(13)}},{props:{size:"large",variant:"text"},style:{padding:"8px 11px",fontSize:e.typography.pxToRem(15)}},{props:{size:"small",variant:"outlined"},style:{padding:"3px 9px",fontSize:e.typography.pxToRem(13)}},{props:{size:"large",variant:"outlined"},style:{padding:"7px 21px",fontSize:e.typography.pxToRem(15)}},{props:{size:"small",variant:"contained"},style:{padding:"4px 10px",fontSize:e.typography.pxToRem(13)}},{props:{size:"large",variant:"contained"},style:{padding:"8px 22px",fontSize:e.typography.pxToRem(15)}},{props:{disableElevation:!0},style:{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${Rr.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${Rr.disabled}`]:{boxShadow:"none"}}},{props:{fullWidth:!0},style:{width:"100%"}},{props:{loadingPosition:"center"},style:{transition:e.transitions.create(["background-color","box-shadow","border-color"],{duration:e.transitions.duration.short}),[`&.${Rr.loading}`]:{color:"transparent"}}}]}})),dh=W("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.startIcon,r.loading&&t.startIconLoadingStart,t[`iconSize${D(r.size)}`]]}})(({theme:e})=>({display:"inherit",marginRight:8,marginLeft:-4,variants:[{props:{size:"small"},style:{marginLeft:-2}},{props:{loadingPosition:"start",loading:!0},style:{transition:e.transitions.create(["opacity"],{duration:e.transitions.duration.short}),opacity:0}},{props:{loadingPosition:"start",loading:!0,fullWidth:!0},style:{marginRight:-8}},...lc]})),ph=W("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.endIcon,r.loading&&t.endIconLoadingEnd,t[`iconSize${D(r.size)}`]]}})(({theme:e})=>({display:"inherit",marginRight:-4,marginLeft:8,variants:[{props:{size:"small"},style:{marginRight:-2}},{props:{loadingPosition:"end",loading:!0},style:{transition:e.transitions.create(["opacity"],{duration:e.transitions.duration.short}),opacity:0}},{props:{loadingPosition:"end",loading:!0,fullWidth:!0},style:{marginLeft:-8}},...lc]})),fh=W("span",{name:"MuiButton",slot:"LoadingIndicator"})(({theme:e})=>({display:"none",position:"absolute",visibility:"visible",variants:[{props:{loading:!0},style:{display:"flex"}},{props:{loadingPosition:"start"},style:{left:14}},{props:{loadingPosition:"start",size:"small"},style:{left:10}},{props:{variant:"text",loadingPosition:"start"},style:{left:6}},{props:{loadingPosition:"center"},style:{left:"50%",transform:"translate(-50%)",color:(e.vars||e).palette.action.disabled}},{props:{loadingPosition:"end"},style:{right:14}},{props:{loadingPosition:"end",size:"small"},style:{right:10}},{props:{variant:"text",loadingPosition:"end"},style:{right:6}},{props:{loadingPosition:"start",fullWidth:!0},style:{position:"relative",left:-10}},{props:{loadingPosition:"end",fullWidth:!0},style:{position:"relative",right:-10}}]})),Aa=W("span",{name:"MuiButton",slot:"LoadingIconPlaceholder"})({display:"inline-block",width:"1em",height:"1em"}),Po=p.forwardRef(function(t,r){const o=p.useContext(ah),n=p.useContext(lh),i=Bo(o,t),s=ye({props:i,name:"MuiButton"}),{children:a,color:l="primary",component:c="button",className:u,disabled:f=!1,disableElevation:b=!1,disableFocusRipple:m=!1,endIcon:h,focusVisibleClassName:g,fullWidth:x=!1,id:w,loading:R=null,loadingIndicator:v,loadingPosition:y="center",size:S="medium",startIcon:k,type:T,variant:M="text",...B}=s,A=Lr(w),O=v!=null?v:C.jsx(us,{"aria-labelledby":A,color:"inherit",size:16}),d={...s,color:l,component:c,disabled:f,disableElevation:b,disableFocusRipple:m,fullWidth:x,loading:R,loadingIndicator:O,loadingPosition:y,size:S,type:T,variant:M},P=ch(d),$=(k||R&&y==="start")&&C.jsx(dh,{className:P.startIcon,ownerState:d,children:k||C.jsx(Aa,{className:P.loadingIconPlaceholder,ownerState:d})}),E=(h||R&&y==="end")&&C.jsx(ph,{className:P.endIcon,ownerState:d,children:h||C.jsx(Aa,{className:P.loadingIconPlaceholder,ownerState:d})}),I=n||"",z=typeof R=="boolean"?C.jsx("span",{className:P.loadingWrapper,style:{display:"contents"},children:R&&C.jsx(fh,{className:P.loadingIndicator,ownerState:d,children:O})}):null;return C.jsxs(uh,{ownerState:d,className:X(o.className,P.root,u,I),component:c,disabled:f||R,focusRipple:!m,focusVisibleClassName:X(P.focusVisible,g),ref:r,type:T,id:R?A:w,...B,classes:P,children:[$,y!=="end"&&z,a,y==="end"&&z,E]})});function gh(e){return le("PrivateSwitchBase",e)}ce("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);const mh=e=>{const{classes:t,checked:r,disabled:o,edge:n}=e,i={root:["root",r&&"checked",o&&"disabled",n&&`edge${D(n)}`],input:["input"]};return ge(i,gh,t)},hh=W(Cr,{name:"MuiSwitchBase"})({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}}]}),bh=W("input",{name:"MuiSwitchBase",shouldForwardProp:Bt})({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}),yh=p.forwardRef(function(t,r){const{autoFocus:o,checked:n,checkedIcon:i,defaultChecked:s,disabled:a,disableFocusRipple:l=!1,edge:c=!1,icon:u,id:f,inputProps:b,inputRef:m,name:h,onBlur:g,onChange:x,onFocus:w,readOnly:R,required:v=!1,tabIndex:y,type:S,value:k,slots:T={},slotProps:M={},...B}=t,[A,O]=Er({controlled:n,default:!!s,name:"SwitchBase",state:"checked"}),d=mr(),P=H=>{w&&w(H),d&&d.onFocus&&d.onFocus(H)},$=H=>{g&&g(H),d&&d.onBlur&&d.onBlur(H)},E=H=>{if(H.nativeEvent.defaultPrevented)return;const U=H.target.checked;O(U),x&&x(H,U)};let I=a;d&&typeof I=="undefined"&&(I=d.disabled);const z=S==="checkbox"||S==="radio",q={...t,checked:A,disabled:I,disableFocusRipple:l,edge:c},j=mh(q),Q={slots:T,slotProps:{input:b,...M}},[te,ne]=be("root",{ref:r,elementType:hh,className:j.root,shouldForwardComponentProp:!0,externalForwardedProps:{...Q,component:"span",...B},getSlotProps:H=>({...H,onFocus:U=>{var re;(re=H.onFocus)==null||re.call(H,U),P(U)},onBlur:U=>{var re;(re=H.onBlur)==null||re.call(H,U),$(U)}}),ownerState:q,additionalProps:{centerRipple:!0,focusRipple:!l,disabled:I,role:void 0,tabIndex:null}}),[V,G]=be("input",{ref:m,elementType:bh,className:j.input,externalForwardedProps:Q,getSlotProps:H=>({...H,onChange:U=>{var re;(re=H.onChange)==null||re.call(H,U),E(U)}}),ownerState:q,additionalProps:{autoFocus:o,checked:n,defaultChecked:s,disabled:I,id:z?f:void 0,name:h,readOnly:R,required:v,tabIndex:y,type:S,...S==="checkbox"&&k===void 0?{}:{value:k}}});return C.jsxs(te,{...ne,children:[C.jsx(V,{...G}),A?i:u]})});function cc(e=window){const t=e.document.documentElement.clientWidth;return e.innerWidth-t}function vh(e){const t=kt(e);return t.body===e?Zt(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}function $o(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function Ma(e){return parseInt(Zt(e).getComputedStyle(e).paddingRight,10)||0}function xh(e){const r=["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].includes(e.tagName),o=e.tagName==="INPUT"&&e.getAttribute("type")==="hidden";return r||o}function Oa(e,t,r,o,n){const i=[t,r,...o];[].forEach.call(e.children,s=>{const a=!i.includes(s),l=!xh(s);a&&l&&$o(s,n)})}function pi(e,t){let r=-1;return e.some((o,n)=>t(o)?(r=n,!0):!1),r}function Sh(e,t){const r=[],o=e.container;if(!t.disableScrollLock){if(vh(o)){const s=cc(Zt(o));r.push({value:o.style.paddingRight,property:"padding-right",el:o}),o.style.paddingRight=`${Ma(o)+s}px`;const a=kt(o).querySelectorAll(".mui-fixed");[].forEach.call(a,l=>{r.push({value:l.style.paddingRight,property:"padding-right",el:l}),l.style.paddingRight=`${Ma(l)+s}px`})}let i;if(o.parentNode instanceof DocumentFragment)i=kt(o).body;else{const s=o.parentElement,a=Zt(o);i=(s==null?void 0:s.nodeName)==="HTML"&&a.getComputedStyle(s).overflowY==="scroll"?s:o}r.push({value:i.style.overflow,property:"overflow",el:i},{value:i.style.overflowX,property:"overflow-x",el:i},{value:i.style.overflowY,property:"overflow-y",el:i}),i.style.overflow="hidden"}return()=>{r.forEach(({value:i,el:s,property:a})=>{i?s.style.setProperty(a,i):s.style.removeProperty(a)})}}function Ch(e){const t=[];return[].forEach.call(e.children,r=>{r.getAttribute("aria-hidden")==="true"&&t.push(r)}),t}class wh{constructor(){this.modals=[],this.containers=[]}add(t,r){let o=this.modals.indexOf(t);if(o!==-1)return o;o=this.modals.length,this.modals.push(t),t.modalRef&&$o(t.modalRef,!1);const n=Ch(r);Oa(r,t.mount,t.modalRef,n,!0);const i=pi(this.containers,s=>s.container===r);return i!==-1?(this.containers[i].modals.push(t),o):(this.containers.push({modals:[t],container:r,restore:null,hiddenSiblings:n}),o)}mount(t,r){const o=pi(this.containers,i=>i.modals.includes(t)),n=this.containers[o];n.restore||(n.restore=Sh(n,r))}remove(t,r=!0){const o=this.modals.indexOf(t);if(o===-1)return o;const n=pi(this.containers,s=>s.modals.includes(t)),i=this.containers[n];if(i.modals.splice(i.modals.indexOf(t),1),this.modals.splice(o,1),i.modals.length===0)i.restore&&i.restore(),t.modalRef&&$o(t.modalRef,r),Oa(i.container,t.mount,t.modalRef,i.hiddenSiblings,!1),this.containers.splice(n,1);else{const s=i.modals[i.modals.length-1];s.modalRef&&$o(s.modalRef,!1)}return o}isTopModal(t){return this.modals.length>0&&this.modals[this.modals.length-1]===t}}const kh=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function Rh(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 Ph(e){if(e.tagName!=="INPUT"||e.type!=="radio"||!e.name)return!1;const t=o=>e.ownerDocument.querySelector(`input[type="radio"]${o}`);let r=t(`[name="${e.name}"]:checked`);return r||(r=t(`[name="${e.name}"]`)),r!==e}function $h(e){return!(e.disabled||e.tagName==="INPUT"&&e.type==="hidden"||Ph(e))}function Th(e){const t=[],r=[];return Array.from(e.querySelectorAll(kh)).forEach((o,n)=>{const i=Rh(o);i===-1||!$h(o)||(i===0?t.push(o):r.push({documentOrder:n,tabIndex:i,node:o}))}),r.sort((o,n)=>o.tabIndex===n.tabIndex?o.documentOrder-n.documentOrder:o.tabIndex-n.tabIndex).map(o=>o.node).concat(t)}function Ih(){return!0}function Eh(e){const{children:t,disableAutoFocus:r=!1,disableEnforceFocus:o=!1,disableRestoreFocus:n=!1,getTabbable:i=Th,isEnabled:s=Ih,open:a}=e,l=p.useRef(!1),c=p.useRef(null),u=p.useRef(null),f=p.useRef(null),b=p.useRef(null),m=p.useRef(!1),h=p.useRef(null),g=lt(no(t),h),x=p.useRef(null);p.useEffect(()=>{!a||!h.current||(m.current=!r)},[r,a]),p.useEffect(()=>{if(!a||!h.current)return;const v=kt(h.current);return h.current.contains(v.activeElement)||(h.current.hasAttribute("tabIndex")||h.current.setAttribute("tabIndex","-1"),m.current&&h.current.focus()),()=>{n||(f.current&&f.current.focus&&(l.current=!0,f.current.focus()),f.current=null)}},[a]),p.useEffect(()=>{if(!a||!h.current)return;const v=kt(h.current),y=T=>{x.current=T,!(o||!s()||T.key!=="Tab")&&v.activeElement===h.current&&T.shiftKey&&(l.current=!0,u.current&&u.current.focus())},S=()=>{var B,A;const T=h.current;if(T===null)return;if(!v.hasFocus()||!s()||l.current){l.current=!1;return}if(T.contains(v.activeElement)||o&&v.activeElement!==c.current&&v.activeElement!==u.current)return;if(v.activeElement!==b.current)b.current=null;else if(b.current!==null)return;if(!m.current)return;let M=[];if((v.activeElement===c.current||v.activeElement===u.current)&&(M=i(h.current)),M.length>0){const O=!!((B=x.current)!=null&&B.shiftKey&&((A=x.current)==null?void 0:A.key)==="Tab"),d=M[0],P=M[M.length-1];typeof d!="string"&&typeof P!="string"&&(O?P.focus():d.focus())}else T.focus()};v.addEventListener("focusin",S),v.addEventListener("keydown",y,!0);const k=setInterval(()=>{v.activeElement&&v.activeElement.tagName==="BODY"&&S()},50);return()=>{clearInterval(k),v.removeEventListener("focusin",S),v.removeEventListener("keydown",y,!0)}},[r,o,n,s,a,i]);const w=v=>{f.current===null&&(f.current=v.relatedTarget),m.current=!0,b.current=v.target;const y=t.props.onFocus;y&&y(v)},R=v=>{f.current===null&&(f.current=v.relatedTarget),m.current=!0};return C.jsxs(p.Fragment,{children:[C.jsx("div",{tabIndex:a?0:-1,onFocus:R,ref:c,"data-testid":"sentinelStart"}),p.cloneElement(t,{ref:g,onFocus:w}),C.jsx("div",{tabIndex:a?0:-1,onFocus:R,ref:u,"data-testid":"sentinelEnd"})]})}function Ah(e){return typeof e=="function"?e():e}function Mh(e){return e?e.props.hasOwnProperty("in"):!1}const Ba=()=>{},rn=new wh;function Oh(e){const{container:t,disableEscapeKeyDown:r=!1,disableScrollLock:o=!1,closeAfterTransition:n=!1,onTransitionEnter:i,onTransitionExited:s,children:a,onClose:l,open:c,rootRef:u}=e,f=p.useRef({}),b=p.useRef(null),m=p.useRef(null),h=lt(m,u),[g,x]=p.useState(!c),w=Mh(a);let R=!0;(e["aria-hidden"]==="false"||e["aria-hidden"]===!1)&&(R=!1);const v=()=>kt(b.current),y=()=>(f.current.modalRef=m.current,f.current.mount=b.current,f.current),S=()=>{rn.mount(y(),{disableScrollLock:o}),m.current&&(m.current.scrollTop=0)},k=ht(()=>{const E=Ah(t)||v().body;rn.add(y(),E),m.current&&S()}),T=()=>rn.isTopModal(y()),M=ht(E=>{b.current=E,E&&(c&&T()?S():m.current&&$o(m.current,R))}),B=p.useCallback(()=>{rn.remove(y(),R)},[R]);p.useEffect(()=>()=>{B()},[B]),p.useEffect(()=>{c?k():(!w||!n)&&B()},[c,B,w,n,k]);const A=E=>I=>{var z;(z=E.onKeyDown)==null||z.call(E,I),!(I.key!=="Escape"||I.which===229||!T())&&(r||(I.stopPropagation(),l&&l(I,"escapeKeyDown")))},O=E=>I=>{var z;(z=E.onClick)==null||z.call(E,I),I.target===I.currentTarget&&l&&l(I,"backdropClick")};return{getRootProps:(E={})=>{const I=ql(e);delete I.onTransitionEnter,delete I.onTransitionExited;const z={...I,...E};return{role:"presentation",...z,onKeyDown:A(z),ref:h}},getBackdropProps:(E={})=>{const I=E;return{"aria-hidden":!0,...I,onClick:O(I),open:c}},getTransitionProps:()=>{var z,q;const E=()=>{x(!1),i&&i()},I=()=>{x(!0),s&&s(),n&&B()};return{onEnter:oa(E,(z=a==null?void 0:a.props.onEnter)!=null?z:Ba),onExited:oa(I,(q=a==null?void 0:a.props.onExited)!=null?q:Ba)}},rootRef:h,portalRef:M,isTopModal:T,exited:g,hasTransition:w}}function Bh(e){return le("MuiModal",e)}ce("MuiModal",["root","hidden","backdrop"]);const Lh=e=>{const{open:t,exited:r,classes:o}=e;return ge({root:["root",!t&&r&&"hidden"],backdrop:["backdrop"]},Bh,o)},Nh=W("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,!r.open&&r.exited&&t.hidden]}})(ae(({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"}}]}))),Fh=W(ac,{name:"MuiModal",slot:"Backdrop"})({zIndex:-1}),uc=p.forwardRef(function(t,r){const o=ye({name:"MuiModal",props:t}),{BackdropComponent:n=Fh,BackdropProps:i,classes:s,className:a,closeAfterTransition:l=!1,children:c,container:u,component:f,components:b={},componentsProps:m={},disableAutoFocus:h=!1,disableEnforceFocus:g=!1,disableEscapeKeyDown:x=!1,disablePortal:w=!1,disableRestoreFocus:R=!1,disableScrollLock:v=!1,hideBackdrop:y=!1,keepMounted:S=!1,onClose:k,onTransitionEnter:T,onTransitionExited:M,open:B,slotProps:A={},slots:O={},theme:d,...P}=o,$={...o,closeAfterTransition:l,disableAutoFocus:h,disableEnforceFocus:g,disableEscapeKeyDown:x,disablePortal:w,disableRestoreFocus:R,disableScrollLock:v,hideBackdrop:y,keepMounted:S},{getRootProps:E,getBackdropProps:I,getTransitionProps:z,portalRef:q,isTopModal:j,exited:Q,hasTransition:te}=Oh({...$,rootRef:r}),ne={...$,exited:Q},V=Lh(ne),G={};if(c.props.tabIndex===void 0&&(G.tabIndex="-1"),te){const{onEnter:Z,onExited:me}=z();G.onEnter=Z,G.onExited=me}const H={slots:{root:b.Root,backdrop:b.Backdrop,...O},slotProps:{...m,...A}},[U,re]=be("root",{ref:r,elementType:Nh,externalForwardedProps:{...H,...P,component:f},getSlotProps:E,ownerState:ne,className:X(a,V==null?void 0:V.root,!ne.open&&ne.exited&&(V==null?void 0:V.hidden))}),[ue,se]=be("backdrop",{ref:i==null?void 0:i.ref,elementType:n,externalForwardedProps:H,shouldForwardComponentProp:!0,additionalProps:i,getSlotProps:Z=>I({...Z,onClick:me=>{Z!=null&&Z.onClick&&Z.onClick(me)}}),className:X(i==null?void 0:i.className,V==null?void 0:V.backdrop),ownerState:ne});return!S&&!B&&(!te||Q)?null:C.jsx(ic,{ref:q,container:u,disablePortal:w,children:C.jsxs(U,{...re,children:[!y&&n?C.jsx(ue,{...se}):null,C.jsx(Eh,{disableEnforceFocus:g,disableAutoFocus:h,disableRestoreFocus:R,isEnabled:j,open:B,children:p.cloneElement(c,G)})]})})});function jh(e){return le("MuiDialog",e)}const fi=ce("MuiDialog",["root","scrollPaper","scrollBody","container","paper","paperScrollPaper","paperScrollBody","paperWidthFalse","paperWidthXs","paperWidthSm","paperWidthMd","paperWidthLg","paperWidthXl","paperFullWidth","paperFullScreen"]),dc=p.createContext({}),zh=W(ac,{name:"MuiDialog",slot:"Backdrop",overrides:(e,t)=>t.backdrop})({zIndex:-1}),Dh=e=>{const{classes:t,scroll:r,maxWidth:o,fullWidth:n,fullScreen:i}=e,s={root:["root"],container:["container",`scroll${D(r)}`],paper:["paper",`paperScroll${D(r)}`,`paperWidth${D(String(o))}`,n&&"paperFullWidth",i&&"paperFullScreen"]};return ge(s,jh,t)},Wh=W(uc,{name:"MuiDialog",slot:"Root"})({"@media print":{position:"absolute !important"}}),Hh=W("div",{name:"MuiDialog",slot:"Container",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.container,t[`scroll${D(r.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"}}}]}),Uh=W(oo,{name:"MuiDialog",slot:"Paper",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.paper,t[`scrollPaper${D(r.scroll)}`],t[`paperWidth${D(String(r.maxWidth))}`],r.fullWidth&&t.paperFullWidth,r.fullScreen&&t.paperFullScreen]}})(ae(({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)`,[`&.${fi.paperScrollBody}`]:{[e.breakpoints.down(Math.max(e.breakpoints.values.xs,444)+64)]:{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}`,[`&.${fi.paperScrollBody}`]:{[e.breakpoints.down(e.breakpoints.values[t]+64)]:{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,[`&.${fi.paperScrollBody}`]:{margin:0,maxWidth:"100%"}}}]}))),La=p.forwardRef(function(t,r){const o=ye({props:t,name:"MuiDialog"}),n=ro(),i={enter:n.transitions.duration.enteringScreen,exit:n.transitions.duration.leavingScreen},{"aria-describedby":s,"aria-labelledby":a,"aria-modal":l=!0,BackdropComponent:c,BackdropProps:u,children:f,className:b,disableEscapeKeyDown:m=!1,fullScreen:h=!1,fullWidth:g=!1,maxWidth:x="sm",onClick:w,onClose:R,open:v,PaperComponent:y=oo,PaperProps:S={},scroll:k="paper",slots:T={},slotProps:M={},TransitionComponent:B=Di,transitionDuration:A=i,TransitionProps:O,...d}=o,P={...o,disableEscapeKeyDown:m,fullScreen:h,fullWidth:g,maxWidth:x,scroll:k},$=Dh(P),E=p.useRef(),I=ve=>{E.current=ve.target===ve.currentTarget},z=ve=>{w&&w(ve),E.current&&(E.current=null,R&&R(ve,"backdropClick"))},q=Lr(a),j=p.useMemo(()=>({titleId:q}),[q]),Q={transition:B,...T},te={transition:O,paper:S,backdrop:u,...M},ne={slots:Q,slotProps:te},[V,G]=be("root",{elementType:Wh,shouldForwardComponentProp:!0,externalForwardedProps:ne,ownerState:P,className:X($.root,b),ref:r}),[H,U]=be("backdrop",{elementType:zh,shouldForwardComponentProp:!0,externalForwardedProps:ne,ownerState:P}),[re,ue]=be("paper",{elementType:Uh,shouldForwardComponentProp:!0,externalForwardedProps:ne,ownerState:P,className:X($.paper,S.className)}),[se,Z]=be("container",{elementType:Hh,externalForwardedProps:ne,ownerState:P,className:$.container}),[me,de]=be("transition",{elementType:Di,externalForwardedProps:ne,ownerState:P,additionalProps:{appear:!0,in:v,timeout:A,role:"presentation"}});return C.jsx(V,{closeAfterTransition:!0,slots:{backdrop:H},slotProps:{backdrop:{transitionDuration:A,as:c,...U}},disableEscapeKeyDown:m,onClose:R,open:v,onClick:z,...G,...d,children:C.jsx(me,{...de,children:C.jsx(se,{onMouseDown:I,...Z,children:C.jsx(re,{as:y,elevation:24,role:"dialog","aria-describedby":s,"aria-labelledby":q,"aria-modal":l,...ue,children:C.jsx(dc.Provider,{value:j,children:f})})})})})});function _h(e){return le("MuiDialogActions",e)}ce("MuiDialogActions",["root","spacing"]);const Vh=e=>{const{classes:t,disableSpacing:r}=e;return ge({root:["root",!r&&"spacing"]},_h,t)},Kh=W("div",{name:"MuiDialogActions",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,!r.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}}}]}),Na=p.forwardRef(function(t,r){const o=ye({props:t,name:"MuiDialogActions"}),{className:n,disableSpacing:i=!1,...s}=o,a={...o,disableSpacing:i},l=Vh(a);return C.jsx(Kh,{className:X(l.root,n),ownerState:a,ref:r,...s})});function qh(e){return le("MuiDialogContent",e)}ce("MuiDialogContent",["root","dividers"]);function Gh(e){return le("MuiDialogTitle",e)}const Xh=ce("MuiDialogTitle",["root"]),Yh=e=>{const{classes:t,dividers:r}=e;return ge({root:["root",r&&"dividers"]},qh,t)},Zh=W("div",{name:"MuiDialogContent",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.dividers&&t.dividers]}})(ae(({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:{[`.${Xh.root} + &`]:{paddingTop:0}}}]}))),Fa=p.forwardRef(function(t,r){const o=ye({props:t,name:"MuiDialogContent"}),{className:n,dividers:i=!1,...s}=o,a={...o,dividers:i},l=Yh(a);return C.jsx(Zh,{className:X(l.root,n),ownerState:a,ref:r,...s})}),Qh=e=>{const{classes:t}=e;return ge({root:["root"]},Gh,t)},Jh=W(At,{name:"MuiDialogTitle",slot:"Root"})({padding:"16px 24px",flex:"0 0 auto"}),ja=p.forwardRef(function(t,r){const o=ye({props:t,name:"MuiDialogTitle"}),{className:n,id:i,...s}=o,a=o,l=Qh(a),{titleId:c=i}=p.useContext(dc);return C.jsx(Jh,{component:"h2",className:X(l.root,n),ownerState:a,ref:r,variant:"h6",id:i!=null?i:c,...s})});function eb(e){return le("MuiDivider",e)}const za=ce("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]),tb=e=>{const{absolute:t,children:r,classes:o,flexItem:n,light:i,orientation:s,textAlign:a,variant:l}=e;return ge({root:["root",t&&"absolute",l,i&&"light",s==="vertical"&&"vertical",n&&"flexItem",r&&"withChildren",r&&s==="vertical"&&"withChildrenVertical",a==="right"&&s!=="vertical"&&"textAlignRight",a==="left"&&s!=="vertical"&&"textAlignLeft"],wrapper:["wrapper",s==="vertical"&&"wrapperVertical"]},eb,o)},rb=W("div",{name:"MuiDivider",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.absolute&&t.absolute,t[r.variant],r.light&&t.light,r.orientation==="vertical"&&t.vertical,r.flexItem&&t.flexItem,r.children&&t.withChildren,r.children&&r.orientation==="vertical"&&t.withChildrenVertical,r.textAlign==="right"&&r.orientation!=="vertical"&&t.textAlignRight,r.textAlign==="left"&&r.orientation!=="vertical"&&t.textAlignLeft]}})(ae(({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.alpha((e.vars||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%"}}}]}))),ob=W("span",{name:"MuiDivider",slot:"Wrapper",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.wrapper,r.orientation==="vertical"&&t.wrapperVertical]}})(ae(({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)`}}]}))),Wi=p.forwardRef(function(t,r){const o=ye({props:t,name:"MuiDivider"}),{absolute:n=!1,children:i,className:s,orientation:a="horizontal",component:l=i||a==="vertical"?"div":"hr",flexItem:c=!1,light:u=!1,role:f=l!=="hr"?"separator":void 0,textAlign:b="center",variant:m="fullWidth",...h}=o,g={...o,absolute:n,component:l,flexItem:c,light:u,orientation:a,role:f,textAlign:b,variant:m},x=tb(g);return C.jsx(rb,{as:l,className:X(x.root,s),role:f,ref:r,ownerState:g,"aria-orientation":f==="separator"&&(l!=="hr"||a==="vertical")?a:void 0,...h,children:i?C.jsx(ob,{className:x.wrapper,ownerState:g,children:i}):null})});Wi&&(Wi.muiSkipListHighlight=!0);const nb=e=>{const{classes:t,disableUnderline:r,startAdornment:o,endAdornment:n,size:i,hiddenLabel:s,multiline:a}=e,l={root:["root",!r&&"underline",o&&"adornedStart",n&&"adornedEnd",i==="small"&&`size${D(i)}`,s&&"hiddenLabel",a&&"multiline"],input:["input"]},c=ge(l,Dm,t);return{...t,...c}},ib=W(Zn,{shouldForwardProp:e=>Bt(e)||e==="classes",name:"MuiFilledInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[...Xn(e,t),!r.disableUnderline&&t.underline]}})(ae(({theme:e})=>{const t=e.palette.mode==="light",r=t?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)",o=t?"rgba(0, 0, 0, 0.06)":"rgba(255, 255, 255, 0.09)",n=t?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.13)",i=t?"rgba(0, 0, 0, 0.12)":"rgba(255, 255, 255, 0.12)";return{position:"relative",backgroundColor:e.vars?e.vars.palette.FilledInput.bg:o,borderTopLeftRadius:(e.vars||e).shape.borderRadius,borderTopRightRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),"&:hover":{backgroundColor:e.vars?e.vars.palette.FilledInput.hoverBg:n,"@media (hover: none)":{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:o}},[`&.${It.focused}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:o},[`&.${It.disabled}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.disabledBg:i},variants:[{props:({ownerState:s})=>!s.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"},[`&.${It.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${It.error}`]:{"&::before, &::after":{borderBottomColor:(e.vars||e).palette.error.main}},"&::before":{borderBottom:`1px solid ${e.vars?e.alpha(e.vars.palette.common.onBackground,e.vars.opacity.inputUnderline):r}`,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(.${It.disabled}, .${It.error}):before`]:{borderBottom:`1px solid ${(e.vars||e).palette.text.primary}`},[`&.${It.disabled}:before`]:{borderBottomStyle:"dotted"}}},...Object.entries(e.palette).filter(gt()).map(([s])=>{var a;return{props:{disableUnderline:!1,color:s},style:{"&::after":{borderBottom:`2px solid ${(a=(e.vars||e).palette[s])==null?void 0:a.main}`}}}}),{props:({ownerState:s})=>s.startAdornment,style:{paddingLeft:12}},{props:({ownerState:s})=>s.endAdornment,style:{paddingRight:12}},{props:({ownerState:s})=>s.multiline,style:{padding:"25px 12px 8px"}},{props:({ownerState:s,size:a})=>s.multiline&&a==="small",style:{paddingTop:21,paddingBottom:4}},{props:({ownerState:s})=>s.multiline&&s.hiddenLabel,style:{paddingTop:16,paddingBottom:17}},{props:({ownerState:s})=>s.multiline&&s.hiddenLabel&&s.size==="small",style:{paddingTop:8,paddingBottom:9}}]}})),sb=W(Qn,{name:"MuiFilledInput",slot:"Input",overridesResolver:Yn})(ae(({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}}]}))),vs=p.forwardRef(function(t,r){var S,k,T,M;const o=ye({props:t,name:"MuiFilledInput"}),{disableUnderline:n=!1,components:i={},componentsProps:s,fullWidth:a=!1,hiddenLabel:l,inputComponent:c="input",multiline:u=!1,slotProps:f,slots:b={},type:m="text",...h}=o,g={...o,disableUnderline:n,fullWidth:a,inputComponent:c,multiline:u,type:m},x=nb(o),w={root:{ownerState:g},input:{ownerState:g}},R=(f!=null?f:s)?dt(w,f!=null?f:s):w,v=(k=(S=b.root)!=null?S:i.Root)!=null?k:ib,y=(M=(T=b.input)!=null?T:i.Input)!=null?M:sb;return C.jsx(ys,{slots:{root:v,input:y},slotProps:R,fullWidth:a,inputComponent:c,multiline:u,ref:r,type:m,...h,classes:x})});vs.muiName="Input";function ab(e){return le("MuiFormControl",e)}ce("MuiFormControl",["root","marginNone","marginNormal","marginDense","fullWidth","disabled"]);const lb=e=>{const{classes:t,margin:r,fullWidth:o}=e,n={root:["root",r!=="none"&&`margin${D(r)}`,o&&"fullWidth"]};return ge(n,ab,t)},cb=W("div",{name:"MuiFormControl",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[`margin${D(r.margin)}`],r.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%"}}]}),ub=p.forwardRef(function(t,r){const o=ye({props:t,name:"MuiFormControl"}),{children:n,className:i,color:s="primary",component:a="div",disabled:l=!1,error:c=!1,focused:u,fullWidth:f=!1,hiddenLabel:b=!1,margin:m="none",required:h=!1,size:g="medium",variant:x="outlined",...w}=o,R={...o,color:s,component:a,disabled:l,error:c,fullWidth:f,hiddenLabel:b,margin:m,required:h,size:g,variant:x},v=lb(R),[y,S]=p.useState(()=>{let E=!1;return n&&p.Children.forEach(n,I=>{if(!ui(I,["Input","Select"]))return;const z=ui(I,["Select"])?I.props.input:I;z&&Lm(z.props)&&(E=!0)}),E}),[k,T]=p.useState(()=>{let E=!1;return n&&p.Children.forEach(n,I=>{ui(I,["Input","Select"])&&(kn(I.props,!0)||kn(I.props.inputProps,!0))&&(E=!0)}),E}),[M,B]=p.useState(!1);l&&M&&B(!1);const A=u!==void 0&&!l?u:M;let O;p.useRef(!1);const d=p.useCallback(()=>{T(!0)},[]),P=p.useCallback(()=>{T(!1)},[]),$=p.useMemo(()=>({adornedStart:y,setAdornedStart:S,color:s,disabled:l,error:c,filled:k,focused:A,fullWidth:f,hiddenLabel:b,size:g,onBlur:()=>{B(!1)},onFocus:()=>{B(!0)},onEmpty:P,onFilled:d,registerEffect:O,required:h,variant:x}),[y,s,l,c,k,A,f,b,O,P,d,h,g,x]);return C.jsx(Gn.Provider,{value:$,children:C.jsx(cb,{as:a,ownerState:R,className:X(v.root,i),ref:r,...w,children:n})})});function db(e){return le("MuiFormControlLabel",e)}const Co=ce("MuiFormControlLabel",["root","labelPlacementStart","labelPlacementTop","labelPlacementBottom","disabled","label","error","required","asterisk"]),pb=e=>{const{classes:t,disabled:r,labelPlacement:o,error:n,required:i}=e,s={root:["root",r&&"disabled",`labelPlacement${D(o)}`,n&&"error",i&&"required"],label:["label",r&&"disabled"],asterisk:["asterisk",n&&"error"]};return ge(s,db,t)},fb=W("label",{name:"MuiFormControlLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[{[`& .${Co.label}`]:t.label},t.root,t[`labelPlacement${D(r.labelPlacement)}`]]}})(ae(({theme:e})=>({display:"inline-flex",alignItems:"center",cursor:"pointer",verticalAlign:"middle",WebkitTapHighlightColor:"transparent",marginLeft:-11,marginRight:16,[`&.${Co.disabled}`]:{cursor:"default"},[`& .${Co.label}`]:{[`&.${Co.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}}]}))),gb=W("span",{name:"MuiFormControlLabel",slot:"Asterisk"})(ae(({theme:e})=>({[`&.${Co.error}`]:{color:(e.vars||e).palette.error.main}}))),e0=p.forwardRef(function(t,r){var E;const o=ye({props:t,name:"MuiFormControlLabel"}),{checked:n,className:i,componentsProps:s={},control:a,disabled:l,disableTypography:c,inputRef:u,label:f,labelPlacement:b="end",name:m,onChange:h,required:g,slots:x={},slotProps:w={},value:R,...v}=o,y=mr(),S=(E=l!=null?l:a.props.disabled)!=null?E:y==null?void 0:y.disabled,k=g!=null?g:a.props.required,T={disabled:S,required:k};["checked","name","onChange","value","inputRef"].forEach(I=>{typeof a.props[I]=="undefined"&&typeof o[I]!="undefined"&&(T[I]=o[I])});const M=Nr({props:o,muiFormControl:y,states:["error"]}),B={...o,disabled:S,labelPlacement:b,required:k,error:M.error},A=pb(B),O={slots:x,slotProps:{...s,...w}},[d,P]=be("typography",{elementType:At,externalForwardedProps:O,ownerState:B});let $=f;return $!=null&&$.type!==At&&!c&&($=C.jsx(d,{component:"span",...P,className:X(A.label,P==null?void 0:P.className),children:$})),C.jsxs(fb,{className:X(A.root,i),ownerState:B,ref:r,...v,children:[p.cloneElement(a,T),k?C.jsxs("div",{children:[$,C.jsxs(gb,{ownerState:B,"aria-hidden":!0,className:A.asterisk,children:[" ","*"]})]}):$]})});function mb(e){return le("MuiFormHelperText",e)}const Da=ce("MuiFormHelperText",["root","error","disabled","sizeSmall","sizeMedium","contained","focused","filled","required"]);var Wa;const hb=e=>{const{classes:t,contained:r,size:o,disabled:n,error:i,filled:s,focused:a,required:l}=e,c={root:["root",n&&"disabled",i&&"error",o&&`size${D(o)}`,r&&"contained",a&&"focused",s&&"filled",l&&"required"]};return ge(c,mb,t)},bb=W("p",{name:"MuiFormHelperText",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.size&&t[`size${D(r.size)}`],r.contained&&t.contained,r.filled&&t.filled]}})(ae(({theme:e})=>({color:(e.vars||e).palette.text.secondary,...e.typography.caption,textAlign:"left",marginTop:3,marginRight:0,marginBottom:0,marginLeft:0,[`&.${Da.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${Da.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}}]}))),yb=p.forwardRef(function(t,r){const o=ye({props:t,name:"MuiFormHelperText"}),{children:n,className:i,component:s="p",disabled:a,error:l,filled:c,focused:u,margin:f,required:b,variant:m,...h}=o,g=mr(),x=Nr({props:o,muiFormControl:g,states:["variant","size","disabled","error","filled","focused","required"]}),w={...o,component:s,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 w.ownerState;const R=hb(w);return C.jsx(bb,{as:s,className:X(R.root,i),ref:r,...h,ownerState:w,children:n===" "?Wa||(Wa=C.jsx("span",{className:"notranslate","aria-hidden":!0,children:"​"})):n})});function vb(e){return le("MuiFormLabel",e)}const To=ce("MuiFormLabel",["root","colorSecondary","focused","disabled","error","filled","required","asterisk"]),xb=e=>{const{classes:t,color:r,focused:o,disabled:n,error:i,filled:s,required:a}=e,l={root:["root",`color${D(r)}`,n&&"disabled",i&&"error",s&&"filled",o&&"focused",a&&"required"],asterisk:["asterisk",i&&"error"]};return ge(l,vb,t)},Sb=W("label",{name:"MuiFormLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.color==="secondary"&&t.colorSecondary,r.filled&&t.filled]}})(ae(({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(gt()).map(([t])=>({props:{color:t},style:{[`&.${To.focused}`]:{color:(e.vars||e).palette[t].main}}})),{props:{},style:{[`&.${To.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${To.error}`]:{color:(e.vars||e).palette.error.main}}}]}))),Cb=W("span",{name:"MuiFormLabel",slot:"Asterisk"})(ae(({theme:e})=>({[`&.${To.error}`]:{color:(e.vars||e).palette.error.main}}))),wb=p.forwardRef(function(t,r){const o=ye({props:t,name:"MuiFormLabel"}),{children:n,className:i,color:s,component:a="label",disabled:l,error:c,filled:u,focused:f,required:b,...m}=o,h=mr(),g=Nr({props:o,muiFormControl:h,states:["color","required","focused","disabled","error","filled"]}),x={...o,color:g.color||"primary",component:a,disabled:g.disabled,error:g.error,filled:g.filled,focused:g.focused,required:g.required},w=xb(x);return C.jsxs(Sb,{as:a,ownerState:x,className:X(w.root,i),ref:r,...m,children:[n,g.required&&C.jsxs(Cb,{ownerState:x,"aria-hidden":!0,className:w.asterisk,children:[" ","*"]})]})});function Hi(e){return`scale(${e}, ${e**2})`}const kb={entering:{opacity:1,transform:Hi(1)},entered:{opacity:1,transform:"none"}},gi=typeof navigator!="undefined"&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),Rn=p.forwardRef(function(t,r){const{addEndListener:o,appear:n=!0,children:i,easing:s,in:a,onEnter:l,onEntered:c,onEntering:u,onExit:f,onExited:b,onExiting:m,style:h,timeout:g="auto",TransitionComponent:x=ir,...w}=t,R=Vr(),v=p.useRef(),y=ro(),S=p.useRef(null),k=lt(S,no(i),r),T=E=>I=>{if(E){const z=S.current;I===void 0?E(z):E(z,I)}},M=T(u),B=T((E,I)=>{_l(E);const{duration:z,delay:q,easing:j}=vn({style:h,timeout:g,easing:s},{mode:"enter"});let Q;g==="auto"?(Q=y.transitions.getAutoHeightDuration(E.clientHeight),v.current=Q):Q=z,E.style.transition=[y.transitions.create("opacity",{duration:Q,delay:q}),y.transitions.create("transform",{duration:gi?Q:Q*.666,delay:q,easing:j})].join(","),l&&l(E,I)}),A=T(c),O=T(m),d=T(E=>{const{duration:I,delay:z,easing:q}=vn({style:h,timeout:g,easing:s},{mode:"exit"});let j;g==="auto"?(j=y.transitions.getAutoHeightDuration(E.clientHeight),v.current=j):j=I,E.style.transition=[y.transitions.create("opacity",{duration:j,delay:z}),y.transitions.create("transform",{duration:gi?j:j*.666,delay:gi?z:z||j*.333,easing:q})].join(","),E.style.opacity=0,E.style.transform=Hi(.75),f&&f(E)}),P=T(b),$=E=>{g==="auto"&&R.start(v.current||0,E),o&&o(S.current,E)};return C.jsx(x,{appear:n,in:a,nodeRef:S,onEnter:B,onEntered:A,onEntering:M,onExit:d,onExited:P,onExiting:O,addEndListener:$,timeout:g==="auto"?null:g,...w,children:(E,{ownerState:I,...z})=>p.cloneElement(i,{style:{opacity:0,transform:Hi(.75),visibility:E==="exited"&&!a?"hidden":void 0,...kb[E],...h,...i.props.style},ref:k,...z})})});Rn&&(Rn.muiSupportAuto=!0);const Rb=e=>{const{classes:t,disableUnderline:r}=e,n=ge({root:["root",!r&&"underline"],input:["input"]},jm,t);return{...t,...n}},Pb=W(Zn,{shouldForwardProp:e=>Bt(e)||e==="classes",name:"MuiInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[...Xn(e,t),!r.disableUnderline&&t.underline]}})(ae(({theme:e})=>{let r=e.palette.mode==="light"?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)";return e.vars&&(r=e.alpha(e.vars.palette.common.onBackground,e.vars.opacity.inputUnderline)),{position:"relative",variants:[{props:({ownerState:o})=>o.formControl,style:{"label + &":{marginTop:16}}},{props:({ownerState:o})=>!o.disableUnderline,style:{"&::after":{left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${vr.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${vr.error}`]:{"&::before, &::after":{borderBottomColor:(e.vars||e).palette.error.main}},"&::before":{borderBottom:`1px solid ${r}`,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(.${vr.disabled}, .${vr.error}):before`]:{borderBottom:`2px solid ${(e.vars||e).palette.text.primary}`,"@media (hover: none)":{borderBottom:`1px solid ${r}`}},[`&.${vr.disabled}:before`]:{borderBottomStyle:"dotted"}}},...Object.entries(e.palette).filter(gt()).map(([o])=>({props:{color:o,disableUnderline:!1},style:{"&::after":{borderBottom:`2px solid ${(e.vars||e).palette[o].main}`}}}))]}})),$b=W(Qn,{name:"MuiInput",slot:"Input",overridesResolver:Yn})({}),xs=p.forwardRef(function(t,r){var y,S,k,T;const o=ye({props:t,name:"MuiInput"}),{disableUnderline:n=!1,components:i={},componentsProps:s,fullWidth:a=!1,inputComponent:l="input",multiline:c=!1,slotProps:u,slots:f={},type:b="text",...m}=o,h=Rb(o),x={root:{ownerState:{disableUnderline:n}}},w=(u!=null?u:s)?dt(u!=null?u:s,x):x,R=(S=(y=f.root)!=null?y:i.Root)!=null?S:Pb,v=(T=(k=f.input)!=null?k:i.Input)!=null?T:$b;return C.jsx(ys,{slots:{root:R,input:v},slotProps:w,fullWidth:a,inputComponent:l,multiline:c,ref:r,type:b,...m,classes:h})});xs.muiName="Input";function Tb(e){return le("MuiInputAdornment",e)}const Ha=ce("MuiInputAdornment",["root","filled","standard","outlined","positionStart","positionEnd","disablePointerEvents","hiddenLabel","sizeSmall"]);var Ua;const Ib=(e,t)=>{const{ownerState:r}=e;return[t.root,t[`position${D(r.position)}`],r.disablePointerEvents===!0&&t.disablePointerEvents,t[r.variant]]},Eb=e=>{const{classes:t,disablePointerEvents:r,hiddenLabel:o,position:n,size:i,variant:s}=e,a={root:["root",r&&"disablePointerEvents",n&&`position${D(n)}`,s,o&&"hiddenLabel",i&&`size${D(i)}`]};return ge(a,Tb,t)},Ab=W("div",{name:"MuiInputAdornment",slot:"Root",overridesResolver:Ib})(ae(({theme:e})=>({display:"flex",maxHeight:"2em",alignItems:"center",whiteSpace:"nowrap",color:(e.vars||e).palette.action.active,variants:[{props:{variant:"filled"},style:{[`&.${Ha.positionStart}&:not(.${Ha.hiddenLabel})`]:{marginTop:16}}},{props:{position:"start"},style:{marginRight:8}},{props:{position:"end"},style:{marginLeft:8}},{props:{disablePointerEvents:!0},style:{pointerEvents:"none"}}]}))),t0=p.forwardRef(function(t,r){const o=ye({props:t,name:"MuiInputAdornment"}),{children:n,className:i,component:s="div",disablePointerEvents:a=!1,disableTypography:l=!1,position:c,variant:u,...f}=o,b=mr()||{};let m=u;u&&b.variant,b&&!m&&(m=b.variant);const h={...o,hiddenLabel:b.hiddenLabel,size:b.size,disablePointerEvents:a,position:c,variant:m},g=Eb(h);return C.jsx(Gn.Provider,{value:null,children:C.jsx(Ab,{as:s,ownerState:h,className:X(g.root,i),ref:r,...f,children:typeof n=="string"&&!l?C.jsx(At,{color:"textSecondary",children:n}):C.jsxs(p.Fragment,{children:[c==="start"?Ua||(Ua=C.jsx("span",{className:"notranslate","aria-hidden":!0,children:"​"})):null,n]})})})});function Mb(e){return le("MuiInputLabel",e)}ce("MuiInputLabel",["root","focused","disabled","error","required","asterisk","formControl","sizeSmall","shrink","animated","standard","filled","outlined"]);const Ob=e=>{const{classes:t,formControl:r,size:o,shrink:n,disableAnimation:i,variant:s,required:a}=e,l={root:["root",r&&"formControl",!i&&"animated",n&&"shrink",o&&o!=="medium"&&`size${D(o)}`,s],asterisk:[a&&"asterisk"]},c=ge(l,Mb,t);return{...t,...c}},Bb=W(wb,{shouldForwardProp:e=>Bt(e)||e==="classes",name:"MuiInputLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[{[`& .${To.asterisk}`]:t.asterisk},t.root,r.formControl&&t.formControl,r.size==="small"&&t.sizeSmall,r.shrink&&t.shrink,!r.disableAnimation&&t.animated,r.focused&&t.focused,t[r.variant]]}})(ae(({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:r})=>t==="filled"&&r.shrink,style:{userSelect:"none",pointerEvents:"auto",transform:"translate(12px, 7px) scale(0.75)",maxWidth:"calc(133% - 24px)"}},{props:({variant:t,ownerState:r,size:o})=>t==="filled"&&r.shrink&&o==="small",style:{transform:"translate(12px, 4px) scale(0.75)"}},{props:{variant:"outlined"},style:{zIndex:1,pointerEvents:"none",transform:"translate(14px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"}},{props:{variant:"outlined",size:"small"},style:{transform:"translate(14px, 9px) scale(1)"}},{props:({variant:t,ownerState:r})=>t==="outlined"&&r.shrink,style:{userSelect:"none",pointerEvents:"auto",maxWidth:"calc(133% - 32px)",transform:"translate(14px, -9px) scale(0.75)"}}]}))),Lb=p.forwardRef(function(t,r){const o=ye({name:"MuiInputLabel",props:t}),{disableAnimation:n=!1,margin:i,shrink:s,variant:a,className:l,...c}=o,u=mr();let f=s;typeof f=="undefined"&&u&&(f=u.filled||u.focused||u.adornedStart);const b=Nr({props:o,muiFormControl:u,states:["size","variant","required","focused"]}),m={...o,disableAnimation:n,formControl:u,shrink:f,size:b.size,variant:b.variant,required:b.required,focused:b.focused},h=Ob(m);return C.jsx(Bb,{"data-shrink":f,ref:r,className:X(h.root,l),...c,ownerState:m,classes:h})}),Ui=p.createContext({});function Nb(e){return le("MuiList",e)}ce("MuiList",["root","padding","dense","subheader"]);const Fb=e=>{const{classes:t,disablePadding:r,dense:o,subheader:n}=e;return ge({root:["root",!r&&"padding",o&&"dense",n&&"subheader"]},Nb,t)},jb=W("ul",{name:"MuiList",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,!r.disablePadding&&t.padding,r.dense&&t.dense,r.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}}]}),zb=p.forwardRef(function(t,r){const o=ye({props:t,name:"MuiList"}),{children:n,className:i,component:s="ul",dense:a=!1,disablePadding:l=!1,subheader:c,...u}=o,f=p.useMemo(()=>({dense:a}),[a]),b={...o,component:s,dense:a,disablePadding:l},m=Fb(b);return C.jsx(Ui.Provider,{value:f,children:C.jsxs(jb,{as:s,className:X(m.root,i),ref:r,ownerState:b,...u,children:[c,n]})})});function r0(e){return le("MuiListItemIcon",e)}const _a=ce("MuiListItemIcon",["root","alignItemsFlexStart"]);function o0(e){return le("MuiListItemText",e)}const Va=ce("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]);function mi(e,t,r){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:r?null:e.firstChild}function Ka(e,t,r){return e===t?r?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:r?null:e.lastChild}function pc(e,t){if(t===void 0)return!0;let r=e.innerText;return r===void 0&&(r=e.textContent),r=r.trim().toLowerCase(),r.length===0?!1:t.repeating?r[0]===t.keys[0]:r.startsWith(t.keys.join(""))}function mo(e,t,r,o,n,i){let s=!1,a=n(e,t,t?r:!1);for(;a;){if(a===e.firstChild){if(s)return!1;s=!0}const l=o?!1:a.disabled||a.getAttribute("aria-disabled")==="true";if(!a.hasAttribute("tabindex")||!pc(a,i)||l)a=n(e,a,r);else return a.focus(),!0}return!1}const Db=p.forwardRef(function(t,r){const{actions:o,autoFocus:n=!1,autoFocusItem:i=!1,children:s,className:a,disabledItemsFocusable:l=!1,disableListWrap:c=!1,onKeyDown:u,variant:f="selectedMenu",...b}=t,m=p.useRef(null),h=p.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});Yt(()=>{n&&m.current.focus()},[n]),p.useImperativeHandle(o,()=>({adjustStyleForScrollbar:(v,{direction:y})=>{const S=!m.current.style.width;if(v.clientHeight<m.current.clientHeight&&S){const k=`${cc(Zt(v))}px`;m.current.style[y==="rtl"?"paddingLeft":"paddingRight"]=k,m.current.style.width=`calc(100% + ${k})`}return m.current}}),[]);const g=v=>{const y=m.current,S=v.key;if(v.ctrlKey||v.metaKey||v.altKey){u&&u(v);return}const T=kt(y).activeElement;if(S==="ArrowDown")v.preventDefault(),mo(y,T,c,l,mi);else if(S==="ArrowUp")v.preventDefault(),mo(y,T,c,l,Ka);else if(S==="Home")v.preventDefault(),mo(y,null,c,l,mi);else if(S==="End")v.preventDefault(),mo(y,null,c,l,Ka);else if(S.length===1){const M=h.current,B=S.toLowerCase(),A=performance.now();M.keys.length>0&&(A-M.lastTime>500?(M.keys=[],M.repeating=!0,M.previousKeyMatched=!0):M.repeating&&B!==M.keys[0]&&(M.repeating=!1)),M.lastTime=A,M.keys.push(B);const O=T&&!M.repeating&&pc(T,M);M.previousKeyMatched&&(O||mo(y,T,!1,l,mi,M))?v.preventDefault():M.previousKeyMatched=!1}u&&u(v)},x=lt(m,r);let w=-1;p.Children.forEach(s,(v,y)=>{if(!p.isValidElement(v)){w===y&&(w+=1,w>=s.length&&(w=-1));return}v.props.disabled||(f==="selectedMenu"&&v.props.selected||w===-1)&&(w=y),w===y&&(v.props.disabled||v.props.muiSkipListHighlight||v.type.muiSkipListHighlight)&&(w+=1,w>=s.length&&(w=-1))});const R=p.Children.map(s,(v,y)=>{if(y===w){const S={};return i&&(S.autoFocus=!0),v.props.tabIndex===void 0&&f==="selectedMenu"&&(S.tabIndex=0),p.cloneElement(v,S)}return v});return C.jsx(zb,{role:"menu",ref:x,className:a,onKeyDown:g,tabIndex:n?0:-1,...b,children:R})});function Wb(e){return le("MuiPopover",e)}ce("MuiPopover",["root","paper"]);function qa(e,t){let r=0;return typeof t=="number"?r=t:t==="center"?r=e.height/2:t==="bottom"&&(r=e.height),r}function Ga(e,t){let r=0;return typeof t=="number"?r=t:t==="center"?r=e.width/2:t==="right"&&(r=e.width),r}function Xa(e){return[e.horizontal,e.vertical].map(t=>typeof t=="number"?`${t}px`:t).join(" ")}function on(e){return typeof e=="function"?e():e}const Hb=e=>{const{classes:t}=e;return ge({root:["root"],paper:["paper"]},Wb,t)},Ub=W(uc,{name:"MuiPopover",slot:"Root"})({}),fc=W(oo,{name:"MuiPopover",slot:"Paper"})({position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}),_b=p.forwardRef(function(t,r){const o=ye({props:t,name:"MuiPopover"}),{action:n,anchorEl:i,anchorOrigin:s={vertical:"top",horizontal:"left"},anchorPosition:a,anchorReference:l="anchorEl",children:c,className:u,container:f,elevation:b=8,marginThreshold:m=16,open:h,PaperProps:g={},slots:x={},slotProps:w={},transformOrigin:R={vertical:"top",horizontal:"left"},TransitionComponent:v,transitionDuration:y="auto",TransitionProps:S={},disableScrollLock:k=!1,...T}=o,M=p.useRef(),B={...o,anchorOrigin:s,anchorReference:l,elevation:b,marginThreshold:m,transformOrigin:R,TransitionComponent:v,transitionDuration:y,TransitionProps:S},A=Hb(B),O=p.useCallback(()=>{if(l==="anchorPosition")return a;const Z=on(i),de=(Z&&Z.nodeType===1?Z:kt(M.current).body).getBoundingClientRect();return{top:de.top+qa(de,s.vertical),left:de.left+Ga(de,s.horizontal)}},[i,s.horizontal,s.vertical,a,l]),d=p.useCallback(Z=>({vertical:qa(Z,R.vertical),horizontal:Ga(Z,R.horizontal)}),[R.horizontal,R.vertical]),P=p.useCallback(Z=>{const me={width:Z.offsetWidth,height:Z.offsetHeight},de=d(me);if(l==="none")return{top:null,left:null,transformOrigin:Xa(de)};const ve=O();let fe=ve.top-de.vertical,$e=ve.left-de.horizontal;const Re=fe+me.height,Ie=$e+me.width,K=Zt(on(i)),ze=K.innerHeight-m,ie=K.innerWidth-m;if(m!==null&&fe<m){const we=fe-m;fe-=we,de.vertical+=we}else if(m!==null&&Re>ze){const we=Re-ze;fe-=we,de.vertical+=we}if(m!==null&&$e<m){const we=$e-m;$e-=we,de.horizontal+=we}else if(Ie>ie){const we=Ie-ie;$e-=we,de.horizontal+=we}return{top:`${Math.round(fe)}px`,left:`${Math.round($e)}px`,transformOrigin:Xa(de)}},[i,l,O,d,m]),[$,E]=p.useState(h),I=p.useCallback(()=>{const Z=M.current;if(!Z)return;const me=P(Z);me.top!==null&&Z.style.setProperty("top",me.top),me.left!==null&&(Z.style.left=me.left),Z.style.transformOrigin=me.transformOrigin,E(!0)},[P]);p.useEffect(()=>(k&&window.addEventListener("scroll",I),()=>window.removeEventListener("scroll",I)),[i,k,I]);const z=()=>{I()},q=()=>{E(!1)};p.useEffect(()=>{h&&I()}),p.useImperativeHandle(n,()=>h?{updatePosition:()=>{I()}}:null,[h,I]),p.useEffect(()=>{if(!h)return;const Z=_n(()=>{I()}),me=Zt(on(i));return me.addEventListener("resize",Z),()=>{Z.clear(),me.removeEventListener("resize",Z)}},[i,h,I]);let j=y;const Q={slots:{transition:v,...x},slotProps:{transition:S,paper:g,...w}},[te,ne]=be("transition",{elementType:Rn,externalForwardedProps:Q,ownerState:B,getSlotProps:Z=>({...Z,onEntering:(me,de)=>{var ve;(ve=Z.onEntering)==null||ve.call(Z,me,de),z()},onExited:me=>{var de;(de=Z.onExited)==null||de.call(Z,me),q()}}),additionalProps:{appear:!0,in:h}});y==="auto"&&!te.muiSupportAuto&&(j=void 0);const V=f||(i?kt(on(i)).body:void 0),[G,{slots:H,slotProps:U,...re}]=be("root",{ref:r,elementType:Ub,externalForwardedProps:{...Q,...T},shouldForwardComponentProp:!0,additionalProps:{slots:{backdrop:x.backdrop},slotProps:{backdrop:Jp(typeof w.backdrop=="function"?w.backdrop(B):w.backdrop,{invisible:!0})},container:V,open:h},ownerState:B,className:X(A.root,u)}),[ue,se]=be("paper",{ref:M,className:A.paper,elementType:fc,externalForwardedProps:Q,shouldForwardComponentProp:!0,additionalProps:{elevation:b,style:$?void 0:{opacity:0}},ownerState:B});return C.jsx(G,{...re,...!xn(G)&&{slots:H,slotProps:U,disableScrollLock:k},children:C.jsx(te,{...ne,timeout:j,children:C.jsx(ue,{...se,children:c})})})});function Vb(e){return le("MuiMenu",e)}ce("MuiMenu",["root","paper","list"]);const Kb={vertical:"top",horizontal:"right"},qb={vertical:"top",horizontal:"left"},Gb=e=>{const{classes:t}=e;return ge({root:["root"],paper:["paper"],list:["list"]},Vb,t)},Xb=W(_b,{shouldForwardProp:e=>Bt(e)||e==="classes",name:"MuiMenu",slot:"Root"})({}),Yb=W(fc,{name:"MuiMenu",slot:"Paper"})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),Zb=W(Db,{name:"MuiMenu",slot:"List"})({outline:0}),Qb=p.forwardRef(function(t,r){const o=ye({props:t,name:"MuiMenu"}),{autoFocus:n=!0,children:i,className:s,disableAutoFocusItem:a=!1,MenuListProps:l={},onClose:c,open:u,PaperProps:f={},PopoverClasses:b,transitionDuration:m="auto",TransitionProps:{onEntering:h,...g}={},variant:x="selectedMenu",slots:w={},slotProps:R={},...v}=o,y=Ho(),S={...o,autoFocus:n,disableAutoFocusItem:a,MenuListProps:l,onEntering:h,PaperProps:f,transitionDuration:m,TransitionProps:g,variant:x},k=Gb(S),T=n&&!a&&u,M=p.useRef(null),B=(j,Q)=>{M.current&&M.current.adjustStyleForScrollbar(j,{direction:y?"rtl":"ltr"}),h&&h(j,Q)},A=j=>{j.key==="Tab"&&(j.preventDefault(),c&&c(j,"tabKeyDown"))};let O=-1;p.Children.map(i,(j,Q)=>{p.isValidElement(j)&&(j.props.disabled||(x==="selectedMenu"&&j.props.selected||O===-1)&&(O=Q))});const d={slots:w,slotProps:{list:l,transition:g,paper:f,...R}},P=eo({elementType:w.root,externalSlotProps:R.root,ownerState:S,className:[k.root,s]}),[$,E]=be("paper",{className:k.paper,elementType:Yb,externalForwardedProps:d,shouldForwardComponentProp:!0,ownerState:S}),[I,z]=be("list",{className:X(k.list,l.className),elementType:Zb,shouldForwardComponentProp:!0,externalForwardedProps:d,getSlotProps:j=>({...j,onKeyDown:Q=>{var te;A(Q),(te=j.onKeyDown)==null||te.call(j,Q)}}),ownerState:S}),q=typeof d.slotProps.transition=="function"?d.slotProps.transition(S):d.slotProps.transition;return C.jsx(Xb,{onClose:c,anchorOrigin:{vertical:"bottom",horizontal:y?"right":"left"},transformOrigin:y?Kb:qb,slots:{root:w.root,paper:$,backdrop:w.backdrop,...w.transition&&{transition:w.transition}},slotProps:{root:P,paper:E,backdrop:typeof R.backdrop=="function"?R.backdrop(S):R.backdrop,transition:{...q,onEntering:(...j)=>{var Q;B(...j),(Q=q==null?void 0:q.onEntering)==null||Q.call(q,...j)}}},open:u,ref:r,transitionDuration:m,ownerState:S,...v,classes:b,children:C.jsx(I,{actions:M,autoFocus:n&&(O===-1||a),autoFocusItem:T,variant:x,...z,children:i})})});function Jb(e){return le("MuiMenuItem",e)}const ho=ce("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]),ey=(e,t)=>{const{ownerState:r}=e;return[t.root,r.dense&&t.dense,r.divider&&t.divider,!r.disableGutters&&t.gutters]},ty=e=>{const{disabled:t,dense:r,divider:o,disableGutters:n,selected:i,classes:s}=e,l=ge({root:["root",r&&"dense",t&&"disabled",!n&&"gutters",o&&"divider",i&&"selected"]},Jb,s);return{...s,...l}},ry=W(Cr,{shouldForwardProp:e=>Bt(e)||e==="classes",name:"MuiMenuItem",slot:"Root",overridesResolver:ey})(ae(({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"}},[`&.${ho.selected}`]:{backgroundColor:e.alpha((e.vars||e).palette.primary.main,(e.vars||e).palette.action.selectedOpacity),[`&.${ho.focusVisible}`]:{backgroundColor:e.alpha((e.vars||e).palette.primary.main,`${(e.vars||e).palette.action.selectedOpacity} + ${(e.vars||e).palette.action.focusOpacity}`)}},[`&.${ho.selected}:hover`]:{backgroundColor:e.alpha((e.vars||e).palette.primary.main,`${(e.vars||e).palette.action.selectedOpacity} + ${(e.vars||e).palette.action.hoverOpacity}`),"@media (hover: none)":{backgroundColor:e.alpha((e.vars||e).palette.primary.main,(e.vars||e).palette.action.selectedOpacity)}},[`&.${ho.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${ho.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`& + .${za.root}`]:{marginTop:e.spacing(1),marginBottom:e.spacing(1)},[`& + .${za.inset}`]:{marginLeft:52},[`& .${Va.root}`]:{marginTop:0,marginBottom:0},[`& .${Va.inset}`]:{paddingLeft:36},[`& .${_a.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,[`& .${_a.root} svg`]:{fontSize:"1.25rem"}}}]}))),n0=p.forwardRef(function(t,r){const o=ye({props:t,name:"MuiMenuItem"}),{autoFocus:n=!1,component:i="li",dense:s=!1,divider:a=!1,disableGutters:l=!1,focusVisibleClassName:c,role:u="menuitem",tabIndex:f,className:b,...m}=o,h=p.useContext(Ui),g=p.useMemo(()=>({dense:s||h.dense||!1,disableGutters:l}),[h.dense,s,l]),x=p.useRef(null);Yt(()=>{n&&x.current&&x.current.focus()},[n]);const w={...o,dense:g.dense,divider:a,disableGutters:l},R=ty(o),v=lt(x,r);let y;return o.disabled||(y=f!==void 0?f:-1),C.jsx(Ui.Provider,{value:g,children:C.jsx(ry,{ref:v,role:u,tabIndex:y,component:i,focusVisibleClassName:X(R.focusVisible,c),className:X(R.root,b),...m,ownerState:w,classes:R})})});function oy(e){return le("MuiNativeSelect",e)}const Ss=ce("MuiNativeSelect",["root","select","multiple","filled","outlined","standard","disabled","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]),ny=e=>{const{classes:t,variant:r,disabled:o,multiple:n,open:i,error:s}=e,a={select:["select",r,o&&"disabled",n&&"multiple",s&&"error"],icon:["icon",`icon${D(r)}`,i&&"iconOpen",o&&"disabled"]};return ge(a,oy,t)},gc=W("select",{name:"MuiNativeSelect"})(({theme:e})=>({MozAppearance:"none",WebkitAppearance:"none",userSelect:"none",borderRadius:0,cursor:"pointer","&:focus":{borderRadius:0},[`&.${Ss.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}}}]})),iy=W(gc,{name:"MuiNativeSelect",slot:"Select",shouldForwardProp:Bt,overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.select,t[r.variant],r.error&&t.error,{[`&.${Ss.multiple}`]:t.multiple}]}})({}),mc=W("svg",{name:"MuiNativeSelect"})(({theme:e})=>({position:"absolute",right:0,top:"calc(50% - .5em)",pointerEvents:"none",color:(e.vars||e).palette.action.active,[`&.${Ss.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}}]})),sy=W(mc,{name:"MuiNativeSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.icon,r.variant&&t[`icon${D(r.variant)}`],r.open&&t.iconOpen]}})({}),ay=p.forwardRef(function(t,r){const{className:o,disabled:n,error:i,IconComponent:s,inputRef:a,variant:l="standard",...c}=t,u={...t,disabled:n,variant:l,error:i},f=ny(u);return C.jsxs(p.Fragment,{children:[C.jsx(iy,{ownerState:u,className:X(f.select,o),disabled:n,ref:a||r,...c}),t.multiple?null:C.jsx(sy,{as:s,ownerState:u,className:f.icon})]})});var Ya;const ly=W("fieldset",{name:"MuiNotchedOutlined",shouldForwardProp:Bt})({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%"}),cy=W("legend",{name:"MuiNotchedOutlined",shouldForwardProp:Bt})(ae(({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 uy(e){const{children:t,classes:r,className:o,label:n,notched:i,...s}=e,a=n!=null&&n!=="",l={...e,notched:i,withLabel:a};return C.jsx(ly,{"aria-hidden":!0,className:o,ownerState:l,...s,children:C.jsx(cy,{ownerState:l,children:a?C.jsx("span",{children:n}):Ya||(Ya=C.jsx("span",{className:"notranslate","aria-hidden":!0,children:"​"}))})})}const dy=e=>{const{classes:t}=e,o=ge({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},zm,t);return{...t,...o}},py=W(Zn,{shouldForwardProp:e=>Bt(e)||e==="classes",name:"MuiOutlinedInput",slot:"Root",overridesResolver:Xn})(ae(({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 .${jt.notchedOutline}`]:{borderColor:(e.vars||e).palette.text.primary},"@media (hover: none)":{[`&:hover .${jt.notchedOutline}`]:{borderColor:e.vars?e.alpha(e.vars.palette.common.onBackground,.23):t}},[`&.${jt.focused} .${jt.notchedOutline}`]:{borderWidth:2},variants:[...Object.entries(e.palette).filter(gt()).map(([r])=>({props:{color:r},style:{[`&.${jt.focused} .${jt.notchedOutline}`]:{borderColor:(e.vars||e).palette[r].main}}})),{props:{},style:{[`&.${jt.error} .${jt.notchedOutline}`]:{borderColor:(e.vars||e).palette.error.main},[`&.${jt.disabled} .${jt.notchedOutline}`]:{borderColor:(e.vars||e).palette.action.disabled}}},{props:({ownerState:r})=>r.startAdornment,style:{paddingLeft:14}},{props:({ownerState:r})=>r.endAdornment,style:{paddingRight:14}},{props:({ownerState:r})=>r.multiline,style:{padding:"16.5px 14px"}},{props:({ownerState:r,size:o})=>r.multiline&&o==="small",style:{padding:"8.5px 14px"}}]}})),fy=W(uy,{name:"MuiOutlinedInput",slot:"NotchedOutline"})(ae(({theme:e})=>{const t=e.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{borderColor:e.vars?e.alpha(e.vars.palette.common.onBackground,.23):t}})),gy=W(Qn,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:Yn})(ae(({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}}]}))),Cs=p.forwardRef(function(t,r){var k,T,M,B;const o=ye({props:t,name:"MuiOutlinedInput"}),{components:n={},fullWidth:i=!1,inputComponent:s="input",label:a,multiline:l=!1,notched:c,slots:u={},slotProps:f={},type:b="text",...m}=o,h=dy(o),g=mr(),x=Nr({props:o,muiFormControl:g,states:["color","disabled","error","focused","hiddenLabel","size","required"]}),w={...o,color:x.color||"primary",disabled:x.disabled,error:x.error,focused:x.focused,formControl:g,fullWidth:i,hiddenLabel:x.hiddenLabel,multiline:l,size:x.size,type:b},R=(T=(k=u.root)!=null?k:n.Root)!=null?T:py,v=(B=(M=u.input)!=null?M:n.Input)!=null?B:gy,[y,S]=be("notchedOutline",{elementType:fy,className:h.notchedOutline,shouldForwardComponentProp:!0,ownerState:w,externalForwardedProps:{slots:u,slotProps:f},additionalProps:{label:a!=null&&a!==""&&x.required?C.jsxs(p.Fragment,{children:[a," ","*"]}):a}});return C.jsx(ys,{slots:{root:R,input:v},slotProps:f,renderSuffix:A=>C.jsx(y,{...S,notched:typeof c!="undefined"?c:!!(A.startAdornment||A.filled||A.focused)}),fullWidth:i,inputComponent:s,multiline:l,ref:r,type:b,...m,classes:{...h,notchedOutline:null}})});Cs.muiName="Input";function hc(e){return le("MuiSelect",e)}const bo=ce("MuiSelect",["root","select","multiple","filled","outlined","standard","disabled","focused","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]);var Za;const my=W(gc,{name:"MuiSelect",slot:"Select",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[{[`&.${bo.select}`]:t.select},{[`&.${bo.select}`]:t[r.variant]},{[`&.${bo.error}`]:t.error},{[`&.${bo.multiple}`]:t.multiple}]}})({[`&.${bo.select}`]:{height:"auto",minHeight:"1.4375em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}}),hy=W(mc,{name:"MuiSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.icon,r.variant&&t[`icon${D(r.variant)}`],r.open&&t.iconOpen]}})({}),by=W("input",{shouldForwardProp:e=>Dl(e)&&e!=="classes",name:"MuiSelect",slot:"NativeInput"})({bottom:0,left:0,position:"absolute",opacity:0,pointerEvents:"none",width:"100%",boxSizing:"border-box"});function Qa(e,t){return typeof t=="object"&&t!==null?e===t:String(e)===String(t)}function yy(e){return e==null||typeof e=="string"&&!e.trim()}const vy=e=>{const{classes:t,variant:r,disabled:o,multiple:n,open:i,error:s}=e,a={select:["select",r,o&&"disabled",n&&"multiple",s&&"error"],icon:["icon",`icon${D(r)}`,i&&"iconOpen",o&&"disabled"],nativeInput:["nativeInput"]};return ge(a,hc,t)},xy=p.forwardRef(function(t,r){var Rt,ct,rt,bt;const{"aria-describedby":o,"aria-label":n,autoFocus:i,autoWidth:s,children:a,className:l,defaultOpen:c,defaultValue:u,disabled:f,displayEmpty:b,error:m=!1,IconComponent:h,inputRef:g,labelId:x,MenuProps:w={},multiple:R,name:v,onBlur:y,onChange:S,onClose:k,onFocus:T,onOpen:M,open:B,readOnly:A,renderValue:O,required:d,SelectDisplayProps:P={},tabIndex:$,type:E,value:I,variant:z="standard",...q}=t,[j,Q]=Er({controlled:I,default:u,name:"Select"}),[te,ne]=Er({controlled:B,default:c,name:"Select"}),V=p.useRef(null),G=p.useRef(null),[H,U]=p.useState(null),{current:re}=p.useRef(B!=null),[ue,se]=p.useState(),Z=lt(r,g),me=p.useCallback(oe=>{G.current=oe,oe&&U(oe)},[]),de=H==null?void 0:H.parentNode;p.useImperativeHandle(Z,()=>({focus:()=>{G.current.focus()},node:V.current,value:j}),[j]),p.useEffect(()=>{c&&te&&H&&!re&&(se(s?null:de.clientWidth),G.current.focus())},[H,s]),p.useEffect(()=>{i&&G.current.focus()},[i]),p.useEffect(()=>{if(!x)return;const oe=kt(G.current).getElementById(x);if(oe){const Ee=()=>{getSelection().isCollapsed&&G.current.focus()};return oe.addEventListener("click",Ee),()=>{oe.removeEventListener("click",Ee)}}},[x]);const ve=(oe,Ee)=>{oe?M&&M(Ee):k&&k(Ee),re||(se(s?null:de.clientWidth),ne(oe))},fe=oe=>{oe.button===0&&(oe.preventDefault(),G.current.focus(),ve(!0,oe))},$e=oe=>{ve(!1,oe)},Re=p.Children.toArray(a),Ie=oe=>{const Ee=Re.find(Fe=>Fe.props.value===oe.target.value);Ee!==void 0&&(Q(Ee.props.value),S&&S(oe,Ee))},K=oe=>Ee=>{let Fe;if(Ee.currentTarget.hasAttribute("tabindex")){if(R){Fe=Array.isArray(j)?j.slice():[];const Ge=j.indexOf(oe.props.value);Ge===-1?Fe.push(oe.props.value):Fe.splice(Ge,1)}else Fe=oe.props.value;if(oe.props.onClick&&oe.props.onClick(Ee),j!==Fe&&(Q(Fe),S)){const Ge=Ee.nativeEvent||Ee,vt=new Ge.constructor(Ge.type,Ge);Object.defineProperty(vt,"target",{writable:!0,value:{value:Fe,name:v}}),S(vt,oe)}R||ve(!1,Ee)}},ze=oe=>{A||[" ","ArrowUp","ArrowDown","Enter"].includes(oe.key)&&(oe.preventDefault(),ve(!0,oe))},ie=H!==null&&te,we=oe=>{!ie&&y&&(Object.defineProperty(oe,"target",{writable:!0,value:{value:j,name:v}}),y(oe))};delete q["aria-invalid"];let J,qe;const Me=[];let Ve=!1;(kn({value:j})||b)&&(O?J=O(j):Ve=!0);const tt=Re.map(oe=>{if(!p.isValidElement(oe))return null;let Ee;if(R){if(!Array.isArray(j))throw new Error(pr(2));Ee=j.some(Fe=>Qa(Fe,oe.props.value)),Ee&&Ve&&Me.push(oe.props.children)}else Ee=Qa(j,oe.props.value),Ee&&Ve&&(qe=oe.props.children);return p.cloneElement(oe,{"aria-selected":Ee?"true":"false",onClick:K(oe),onKeyUp:Fe=>{Fe.key===" "&&Fe.preventDefault(),oe.props.onKeyUp&&oe.props.onKeyUp(Fe)},role:"option",selected:Ee,value:void 0,"data-value":oe.props.value})});Ve&&(R?Me.length===0?J=null:J=Me.reduce((oe,Ee,Fe)=>(oe.push(Ee),Fe<Me.length-1&&oe.push(", "),oe),[]):J=qe);let pt=ue;!s&&re&&H&&(pt=de.clientWidth);let Ke;typeof $!="undefined"?Ke=$:Ke=f?null:0;const nt=P.id||(v?`mui-component-select-${v}`:void 0),Oe={...t,variant:z,value:j,open:ie,error:m},xe=vy(Oe),Se={...w.PaperProps,...typeof((Rt=w.slotProps)==null?void 0:Rt.paper)=="function"?w.slotProps.paper(Oe):(ct=w.slotProps)==null?void 0:ct.paper},it={...w.MenuListProps,...typeof((rt=w.slotProps)==null?void 0:rt.list)=="function"?w.slotProps.list(Oe):(bt=w.slotProps)==null?void 0:bt.list},Ae=Lr();return C.jsxs(p.Fragment,{children:[C.jsx(my,{as:"div",ref:me,tabIndex:Ke,role:"combobox","aria-controls":ie?Ae:void 0,"aria-disabled":f?"true":void 0,"aria-expanded":ie?"true":"false","aria-haspopup":"listbox","aria-label":n,"aria-labelledby":[x,nt].filter(Boolean).join(" ")||void 0,"aria-describedby":o,"aria-required":d?"true":void 0,"aria-invalid":m?"true":void 0,onKeyDown:ze,onMouseDown:f||A?null:fe,onBlur:we,onFocus:T,...P,ownerState:Oe,className:X(P.className,xe.select,l),id:nt,children:yy(J)?Za||(Za=C.jsx("span",{className:"notranslate","aria-hidden":!0,children:"​"})):J}),C.jsx(by,{"aria-invalid":m,value:Array.isArray(j)?j.join(","):j,name:v,ref:V,"aria-hidden":!0,onChange:Ie,tabIndex:-1,disabled:f,className:xe.nativeInput,autoFocus:i,required:d,...q,ownerState:Oe}),C.jsx(hy,{as:h,className:xe.icon,ownerState:Oe}),C.jsx(Qb,{id:`menu-${v||""}`,anchorEl:de,open:ie,onClose:$e,anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"},...w,slotProps:{...w.slotProps,list:{"aria-labelledby":x,role:"listbox","aria-multiselectable":R?"true":void 0,disableListWrap:!0,id:Ae,...it},paper:{...Se,style:{minWidth:pt,...Se!=null?Se.style:null}}},children:tt})]})}),Sy=e=>{const{classes:t}=e,o=ge({root:["root"]},hc,t);return{...t,...o}},ws={name:"MuiSelect",slot:"Root",shouldForwardProp:e=>Bt(e)&&e!=="variant"},Cy=W(xs,ws)(""),wy=W(Cs,ws)(""),ky=W(vs,ws)(""),bc=p.forwardRef(function(t,r){const o=ye({name:"MuiSelect",props:t}),{autoWidth:n=!1,children:i,classes:s={},className:a,defaultOpen:l=!1,displayEmpty:c=!1,IconComponent:u=sc,id:f,input:b,inputProps:m,label:h,labelId:g,MenuProps:x,multiple:w=!1,native:R=!1,onClose:v,onOpen:y,open:S,renderValue:k,SelectDisplayProps:T,variant:M="outlined",...B}=o,A=R?ay:xy,O=mr(),d=Nr({props:o,muiFormControl:O,states:["variant","error"]}),P=d.variant||M,$={...o,variant:P,classes:s},E=Sy($),{root:I,...z}=E,q=b||{standard:C.jsx(Cy,{ownerState:$}),outlined:C.jsx(wy,{label:h,ownerState:$}),filled:C.jsx(ky,{ownerState:$})}[P],j=lt(r,no(q));return C.jsx(p.Fragment,{children:p.cloneElement(q,{inputComponent:A,inputProps:{children:i,error:d.error,IconComponent:u,variant:P,type:void 0,multiple:w,...R?{id:f}:{autoWidth:n,defaultOpen:l,displayEmpty:c,labelId:g,MenuProps:x,onClose:v,onOpen:y,open:S,renderValue:k,SelectDisplayProps:{id:f,...T}},...m,classes:m?dt(z,m.classes):z,...b?b.props.inputProps:{}},...(w&&R||c)&&P==="outlined"?{notched:!0}:{},ref:j,className:X(q.props.className,a,E.root),...!b&&{variant:P},...B})})});bc.muiName="Select";function Ry(e){return le("MuiTooltip",e)}const Ze=ce("MuiTooltip",["popper","popperInteractive","popperArrow","popperClose","tooltip","tooltipArrow","touch","tooltipPlacementLeft","tooltipPlacementRight","tooltipPlacementTop","tooltipPlacementBottom","arrow"]);function Py(e){return Math.round(e*1e5)/1e5}const $y=e=>{const{classes:t,disableInteractive:r,arrow:o,touch:n,placement:i}=e,s={popper:["popper",!r&&"popperInteractive",o&&"popperArrow"],tooltip:["tooltip",o&&"tooltipArrow",n&&"touch",`tooltipPlacement${D(i.split("-")[0])}`],arrow:["arrow"]};return ge(s,Ry,t)},Ty=W(qn,{name:"MuiTooltip",slot:"Popper",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.popper,!r.disableInteractive&&t.popperInteractive,r.arrow&&t.popperArrow,!r.open&&t.popperClose]}})(ae(({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"] .${Ze.arrow}`]:{top:0,marginTop:"-0.71em","&::before":{transformOrigin:"0 100%"}},[`&[data-popper-placement*="top"] .${Ze.arrow}`]:{bottom:0,marginBottom:"-0.71em","&::before":{transformOrigin:"100% 0"}},[`&[data-popper-placement*="right"] .${Ze.arrow}`]:{height:"1em",width:"0.71em","&::before":{transformOrigin:"100% 100%"}},[`&[data-popper-placement*="left"] .${Ze.arrow}`]:{height:"1em",width:"0.71em","&::before":{transformOrigin:"0 0"}}}},{props:({ownerState:t})=>t.arrow&&!t.isRtl,style:{[`&[data-popper-placement*="right"] .${Ze.arrow}`]:{left:0,marginLeft:"-0.71em"}}},{props:({ownerState:t})=>t.arrow&&!!t.isRtl,style:{[`&[data-popper-placement*="right"] .${Ze.arrow}`]:{right:0,marginRight:"-0.71em"}}},{props:({ownerState:t})=>t.arrow&&!t.isRtl,style:{[`&[data-popper-placement*="left"] .${Ze.arrow}`]:{right:0,marginRight:"-0.71em"}}},{props:({ownerState:t})=>t.arrow&&!!t.isRtl,style:{[`&[data-popper-placement*="left"] .${Ze.arrow}`]:{left:0,marginLeft:"-0.71em"}}}]}))),Iy=W("div",{name:"MuiTooltip",slot:"Tooltip",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.tooltip,r.touch&&t.touch,r.arrow&&t.tooltipArrow,t[`tooltipPlacement${D(r.placement.split("-")[0])}`]]}})(ae(({theme:e})=>({backgroundColor:e.vars?e.vars.palette.Tooltip.bg:e.alpha(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,[`.${Ze.popper}[data-popper-placement*="left"] &`]:{transformOrigin:"right center"},[`.${Ze.popper}[data-popper-placement*="right"] &`]:{transformOrigin:"left center"},[`.${Ze.popper}[data-popper-placement*="top"] &`]:{transformOrigin:"center bottom",marginBottom:"14px"},[`.${Ze.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:`${Py(16/14)}em`,fontWeight:e.typography.fontWeightRegular}},{props:({ownerState:t})=>!t.isRtl,style:{[`.${Ze.popper}[data-popper-placement*="left"] &`]:{marginRight:"14px"},[`.${Ze.popper}[data-popper-placement*="right"] &`]:{marginLeft:"14px"}}},{props:({ownerState:t})=>!t.isRtl&&t.touch,style:{[`.${Ze.popper}[data-popper-placement*="left"] &`]:{marginRight:"24px"},[`.${Ze.popper}[data-popper-placement*="right"] &`]:{marginLeft:"24px"}}},{props:({ownerState:t})=>!!t.isRtl,style:{[`.${Ze.popper}[data-popper-placement*="left"] &`]:{marginLeft:"14px"},[`.${Ze.popper}[data-popper-placement*="right"] &`]:{marginRight:"14px"}}},{props:({ownerState:t})=>!!t.isRtl&&t.touch,style:{[`.${Ze.popper}[data-popper-placement*="left"] &`]:{marginLeft:"24px"},[`.${Ze.popper}[data-popper-placement*="right"] &`]:{marginRight:"24px"}}},{props:({ownerState:t})=>t.touch,style:{[`.${Ze.popper}[data-popper-placement*="top"] &`]:{marginBottom:"24px"}}},{props:({ownerState:t})=>t.touch,style:{[`.${Ze.popper}[data-popper-placement*="bottom"] &`]:{marginTop:"24px"}}}]}))),Ey=W("span",{name:"MuiTooltip",slot:"Arrow"})(ae(({theme:e})=>({overflow:"hidden",position:"absolute",width:"1em",height:"0.71em",boxSizing:"border-box",color:e.vars?e.vars.palette.Tooltip.bg:e.alpha(e.palette.grey[700],.9),"&::before":{content:'""',margin:"auto",display:"block",width:"100%",height:"100%",backgroundColor:"currentColor",transform:"rotate(45deg)"}})));let nn=!1;const Ja=new Vn;let yo={x:0,y:0};function sn(e,t){return(r,...o)=>{t&&t(r,...o),e(r,...o)}}const fn=p.forwardRef(function(t,r){var hr,Nt,Y;const o=ye({props:t,name:"MuiTooltip"}),{arrow:n=!1,children:i,classes:s,components:a={},componentsProps:l={},describeChild:c=!1,disableFocusListener:u=!1,disableHoverListener:f=!1,disableInteractive:b=!1,disableTouchListener:m=!1,enterDelay:h=100,enterNextDelay:g=0,enterTouchDelay:x=700,followCursor:w=!1,id:R,leaveDelay:v=0,leaveTouchDelay:y=1500,onClose:S,onOpen:k,open:T,placement:M="bottom",PopperComponent:B,PopperProps:A={},slotProps:O={},slots:d={},title:P,TransitionComponent:$,TransitionProps:E,...I}=o,z=p.isValidElement(i)?i:C.jsx("span",{children:i}),q=ro(),j=Ho(),[Q,te]=p.useState(),[ne,V]=p.useState(null),G=p.useRef(!1),H=b||w,U=Vr(),re=Vr(),ue=Vr(),se=Vr(),[Z,me]=Er({controlled:T,default:!1,name:"Tooltip",state:"open"});let de=Z;const ve=Lr(R),fe=p.useRef(),$e=ht(()=>{fe.current!==void 0&&(document.body.style.WebkitUserSelect=fe.current,fe.current=void 0),se.clear()});p.useEffect(()=>$e,[$e]);const Re=_=>{Ja.clear(),nn=!0,me(!0),k&&!de&&k(_)},Ie=ht(_=>{Ja.start(800+v,()=>{nn=!1}),me(!1),S&&de&&S(_),U.start(q.transitions.duration.shortest,()=>{G.current=!1})}),K=_=>{G.current&&_.type!=="touchstart"||(Q&&Q.removeAttribute("title"),re.clear(),ue.clear(),h||nn&&g?re.start(nn?g:h,()=>{Re(_)}):Re(_))},ze=_=>{re.clear(),ue.start(v,()=>{Ie(_)})},[,ie]=p.useState(!1),we=_=>{Sn(_.target)||(ie(!1),ze(_))},J=_=>{Q||te(_.currentTarget),Sn(_.target)&&(ie(!0),K(_))},qe=_=>{G.current=!0;const pe=z.props;pe.onTouchStart&&pe.onTouchStart(_)},Me=_=>{qe(_),ue.clear(),U.clear(),$e(),fe.current=document.body.style.WebkitUserSelect,document.body.style.WebkitUserSelect="none",se.start(x,()=>{document.body.style.WebkitUserSelect=fe.current,K(_)})},Ve=_=>{z.props.onTouchEnd&&z.props.onTouchEnd(_),$e(),ue.start(y,()=>{Ie(_)})};p.useEffect(()=>{if(!de)return;function _(pe){pe.key==="Escape"&&Ie(pe)}return document.addEventListener("keydown",_),()=>{document.removeEventListener("keydown",_)}},[Ie,de]);const tt=lt(no(z),te,r);!P&&P!==0&&(de=!1);const pt=p.useRef(),Ke=_=>{const pe=z.props;pe.onMouseMove&&pe.onMouseMove(_),yo={x:_.clientX,y:_.clientY},pt.current&&pt.current.update()},nt={},Oe=typeof P=="string";c?(nt.title=!de&&Oe&&!f?P:null,nt["aria-describedby"]=de?ve:null):(nt["aria-label"]=Oe?P:null,nt["aria-labelledby"]=de&&!Oe?ve:null);const xe={...nt,...I,...z.props,className:X(I.className,z.props.className),onTouchStart:qe,ref:tt,...w?{onMouseMove:Ke}:{}},Se={};m||(xe.onTouchStart=Me,xe.onTouchEnd=Ve),f||(xe.onMouseOver=sn(K,xe.onMouseOver),xe.onMouseLeave=sn(ze,xe.onMouseLeave),H||(Se.onMouseOver=K,Se.onMouseLeave=ze)),u||(xe.onFocus=sn(J,xe.onFocus),xe.onBlur=sn(we,xe.onBlur),H||(Se.onFocus=J,Se.onBlur=we));const it={...o,isRtl:j,arrow:n,disableInteractive:H,placement:M,PopperComponentProp:B,touch:G.current},Ae=typeof O.popper=="function"?O.popper(it):O.popper,Rt=p.useMemo(()=>{var pe,ke;let _=[{name:"arrow",enabled:!!ne,options:{element:ne,padding:4}}];return(pe=A.popperOptions)!=null&&pe.modifiers&&(_=_.concat(A.popperOptions.modifiers)),(ke=Ae==null?void 0:Ae.popperOptions)!=null&&ke.modifiers&&(_=_.concat(Ae.popperOptions.modifiers)),{...A.popperOptions,...Ae==null?void 0:Ae.popperOptions,modifiers:_}},[ne,A.popperOptions,Ae==null?void 0:Ae.popperOptions]),ct=$y(it),rt=typeof O.transition=="function"?O.transition(it):O.transition,bt={slots:{popper:a.Popper,transition:(hr=a.Transition)!=null?hr:$,tooltip:a.Tooltip,arrow:a.Arrow,...d},slotProps:{arrow:(Nt=O.arrow)!=null?Nt:l.arrow,popper:{...A,...Ae!=null?Ae:l.popper},tooltip:(Y=O.tooltip)!=null?Y:l.tooltip,transition:{...E,...rt!=null?rt:l.transition}}},[oe,Ee]=be("popper",{elementType:Ty,externalForwardedProps:bt,ownerState:it,className:X(ct.popper,A==null?void 0:A.className)}),[Fe,Ge]=be("transition",{elementType:Rn,externalForwardedProps:bt,ownerState:it}),[vt,Pt]=be("tooltip",{elementType:Iy,className:ct.tooltip,externalForwardedProps:bt,ownerState:it}),[$t,Lt]=be("arrow",{elementType:Ey,className:ct.arrow,externalForwardedProps:bt,ownerState:it,ref:V});return C.jsxs(p.Fragment,{children:[p.cloneElement(z,xe),C.jsx(oe,{as:B!=null?B:qn,placement:M,anchorEl:w?{getBoundingClientRect:()=>({top:yo.y,left:yo.x,right:yo.x,bottom:yo.y,width:0,height:0})}:Q,popperRef:pt,open:Q?de:!1,id:ve,transition:!0,...Se,...Ee,popperOptions:Rt,children:({TransitionProps:_})=>C.jsx(Fe,{timeout:q.transitions.duration.shorter,..._,...Ge,children:C.jsxs(vt,{...Pt,children:[P,n?C.jsx($t,{...Lt}):null]})})})]})}),i0=fp({createStyledComponent:W("div",{name:"MuiStack",slot:"Root"}),useThemeProps:e=>ye({props:e,name:"MuiStack"})});function Ay(e){return le("MuiSwitch",e)}const yt=ce("MuiSwitch",["root","edgeStart","edgeEnd","switchBase","colorPrimary","colorSecondary","sizeSmall","sizeMedium","checked","disabled","input","thumb","track"]),My=e=>{const{classes:t,edge:r,size:o,color:n,checked:i,disabled:s}=e,a={root:["root",r&&`edge${D(r)}`,`size${D(o)}`],switchBase:["switchBase",`color${D(n)}`,i&&"checked",s&&"disabled"],thumb:["thumb"],track:["track"],input:["input"]},l=ge(a,Ay,t);return{...t,...l}},Oy=W("span",{name:"MuiSwitch",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.edge&&t[`edge${D(r.edge)}`],t[`size${D(r.size)}`]]}})({display:"inline-flex",width:58,height:38,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,[`& .${yt.thumb}`]:{width:16,height:16},[`& .${yt.switchBase}`]:{padding:4,[`&.${yt.checked}`]:{transform:"translateX(16px)"}}}}]}),By=W(yh,{name:"MuiSwitch",slot:"SwitchBase",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.switchBase,{[`& .${yt.input}`]:t.input},r.color!=="default"&&t[`color${D(r.color)}`]]}})(ae(({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}),[`&.${yt.checked}`]:{transform:"translateX(20px)"},[`&.${yt.disabled}`]:{color:e.vars?e.vars.palette.Switch.defaultDisabledColor:`${e.palette.mode==="light"?e.palette.grey[100]:e.palette.grey[600]}`},[`&.${yt.checked} + .${yt.track}`]:{opacity:.5},[`&.${yt.disabled} + .${yt.track}`]:{opacity:e.vars?e.vars.opacity.switchTrackDisabled:`${e.palette.mode==="light"?.12:.2}`},[`& .${yt.input}`]:{left:"-100%",width:"300%"}})),ae(({theme:e})=>({"&:hover":{backgroundColor:e.alpha((e.vars||e).palette.action.active,(e.vars||e).palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},variants:[...Object.entries(e.palette).filter(gt(["light"])).map(([t])=>({props:{color:t},style:{[`&.${yt.checked}`]:{color:(e.vars||e).palette[t].main,"&:hover":{backgroundColor:e.alpha((e.vars||e).palette[t].main,(e.vars||e).palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${yt.disabled}`]:{color:e.vars?e.vars.palette.Switch[`${t}DisabledColor`]:`${e.palette.mode==="light"?e.lighten(e.palette[t].main,.62):e.darken(e.palette[t].main,.55)}`}},[`&.${yt.checked} + .${yt.track}`]:{backgroundColor:(e.vars||e).palette[t].main}}}))]}))),Ly=W("span",{name:"MuiSwitch",slot:"Track"})(ae(({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}`}))),Ny=W("span",{name:"MuiSwitch",slot:"Thumb"})(ae(({theme:e})=>({boxShadow:(e.vars||e).shadows[1],backgroundColor:"currentColor",width:20,height:20,borderRadius:"50%"}))),s0=p.forwardRef(function(t,r){const o=ye({props:t,name:"MuiSwitch"}),{className:n,color:i="primary",edge:s=!1,size:a="medium",sx:l,slots:c={},slotProps:u={},...f}=o,b={...o,color:i,edge:s,size:a},m=My(b),h={slots:c,slotProps:u},[g,x]=be("root",{className:X(m.root,n),elementType:Oy,externalForwardedProps:h,ownerState:b,additionalProps:{sx:l}}),[w,R]=be("thumb",{className:m.thumb,elementType:Ny,externalForwardedProps:h,ownerState:b}),v=C.jsx(w,{...R}),[y,S]=be("track",{className:m.track,elementType:Ly,externalForwardedProps:h,ownerState:b});return C.jsxs(g,{...x,children:[C.jsx(By,{type:"checkbox",icon:v,checkedIcon:v,ref:r,ownerState:b,...f,classes:{...m,root:m.switchBase},slots:{...c.switchBase&&{root:c.switchBase},...c.input&&{input:c.input}},slotProps:{...u.switchBase&&{root:typeof u.switchBase=="function"?u.switchBase(b):u.switchBase},input:{role:"switch"},...u.input&&{input:typeof u.input=="function"?u.input(b):u.input}}}),C.jsx(y,{...S})]})});function Fy(e){return le("MuiTab",e)}const Ft=ce("MuiTab",["root","labelIcon","textColorInherit","textColorPrimary","textColorSecondary","selected","disabled","fullWidth","wrapped","iconWrapper","icon"]),jy=e=>{const{classes:t,textColor:r,fullWidth:o,wrapped:n,icon:i,label:s,selected:a,disabled:l}=e,c={root:["root",i&&s&&"labelIcon",`textColor${D(r)}`,o&&"fullWidth",n&&"wrapped",a&&"selected",l&&"disabled"],icon:["iconWrapper","icon"]};return ge(c,Fy,t)},zy=W(Cr,{name:"MuiTab",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.label&&r.icon&&t.labelIcon,t[`textColor${D(r.textColor)}`],r.fullWidth&&t.fullWidth,r.wrapped&&t.wrapped,{[`& .${Ft.iconWrapper}`]:t.iconWrapper},{[`& .${Ft.icon}`]:t.icon}]}})(ae(({theme:e})=>({...e.typography.button,maxWidth:360,minWidth:90,position:"relative",minHeight:48,flexShrink:0,padding:"12px 16px",overflow:"hidden",whiteSpace:"normal",textAlign:"center",lineHeight:1.25,variants:[{props:({ownerState:t})=>t.label&&(t.iconPosition==="top"||t.iconPosition==="bottom"),style:{flexDirection:"column"}},{props:({ownerState:t})=>t.label&&t.iconPosition!=="top"&&t.iconPosition!=="bottom",style:{flexDirection:"row"}},{props:({ownerState:t})=>t.icon&&t.label,style:{minHeight:72,paddingTop:9,paddingBottom:9}},{props:({ownerState:t,iconPosition:r})=>t.icon&&t.label&&r==="top",style:{[`& > .${Ft.icon}`]:{marginBottom:6}}},{props:({ownerState:t,iconPosition:r})=>t.icon&&t.label&&r==="bottom",style:{[`& > .${Ft.icon}`]:{marginTop:6}}},{props:({ownerState:t,iconPosition:r})=>t.icon&&t.label&&r==="start",style:{[`& > .${Ft.icon}`]:{marginRight:e.spacing(1)}}},{props:({ownerState:t,iconPosition:r})=>t.icon&&t.label&&r==="end",style:{[`& > .${Ft.icon}`]:{marginLeft:e.spacing(1)}}},{props:{textColor:"inherit"},style:{color:"inherit",opacity:.6,[`&.${Ft.selected}`]:{opacity:1},[`&.${Ft.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity}}},{props:{textColor:"primary"},style:{color:(e.vars||e).palette.text.secondary,[`&.${Ft.selected}`]:{color:(e.vars||e).palette.primary.main},[`&.${Ft.disabled}`]:{color:(e.vars||e).palette.text.disabled}}},{props:{textColor:"secondary"},style:{color:(e.vars||e).palette.text.secondary,[`&.${Ft.selected}`]:{color:(e.vars||e).palette.secondary.main},[`&.${Ft.disabled}`]:{color:(e.vars||e).palette.text.disabled}}},{props:({ownerState:t})=>t.fullWidth,style:{flexShrink:1,flexGrow:1,flexBasis:0,maxWidth:"none"}},{props:({ownerState:t})=>t.wrapped,style:{fontSize:e.typography.pxToRem(12)}}]}))),a0=p.forwardRef(function(t,r){const o=ye({props:t,name:"MuiTab"}),{className:n,disabled:i=!1,disableFocusRipple:s=!1,fullWidth:a,icon:l,iconPosition:c="top",indicator:u,label:f,onChange:b,onClick:m,onFocus:h,selected:g,selectionFollowsFocus:x,textColor:w="inherit",value:R,wrapped:v=!1,...y}=o,S={...o,disabled:i,disableFocusRipple:s,selected:g,icon:!!l,iconPosition:c,label:!!f,fullWidth:a,textColor:w,wrapped:v},k=jy(S),T=l&&f&&p.isValidElement(l)?p.cloneElement(l,{className:X(k.icon,l.props.className)}):l,M=A=>{!g&&b&&b(A,R),m&&m(A)},B=A=>{x&&!g&&b&&b(A,R),h&&h(A)};return C.jsxs(zy,{focusRipple:!s,className:X(k.root,n),ref:r,role:"tab","aria-selected":g,disabled:i,onClick:M,onFocus:B,ownerState:S,tabIndex:g?0:-1,...y,children:[c==="top"||c==="start"?C.jsxs(p.Fragment,{children:[T,f]}):C.jsxs(p.Fragment,{children:[f,T]}),u]})}),yc=p.createContext();function Dy(e){return le("MuiTable",e)}ce("MuiTable",["root","stickyHeader"]);const Wy=e=>{const{classes:t,stickyHeader:r}=e;return ge({root:["root",r&&"stickyHeader"]},Dy,t)},Hy=W("table",{name:"MuiTable",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.stickyHeader&&t.stickyHeader]}})(ae(({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"}}]}))),el="table",l0=p.forwardRef(function(t,r){const o=ye({props:t,name:"MuiTable"}),{className:n,component:i=el,padding:s="normal",size:a="medium",stickyHeader:l=!1,...c}=o,u={...o,component:i,padding:s,size:a,stickyHeader:l},f=Wy(u),b=p.useMemo(()=>({padding:s,size:a,stickyHeader:l}),[s,a,l]);return C.jsx(yc.Provider,{value:b,children:C.jsx(Hy,{as:i,role:i===el?null:"table",ref:r,className:X(f.root,n),ownerState:u,...c})})}),Jn=p.createContext();function Uy(e){return le("MuiTableBody",e)}ce("MuiTableBody",["root"]);const _y=e=>{const{classes:t}=e;return ge({root:["root"]},Uy,t)},Vy=W("tbody",{name:"MuiTableBody",slot:"Root"})({display:"table-row-group"}),Ky={variant:"body"},tl="tbody",c0=p.forwardRef(function(t,r){const o=ye({props:t,name:"MuiTableBody"}),{className:n,component:i=tl,...s}=o,a={...o,component:i},l=_y(a);return C.jsx(Jn.Provider,{value:Ky,children:C.jsx(Vy,{className:X(l.root,n),as:i,ref:r,role:i===tl?null:"rowgroup",ownerState:a,...s})})});function qy(e){return le("MuiTableCell",e)}const Gy=ce("MuiTableCell",["root","head","body","footer","sizeSmall","sizeMedium","paddingCheckbox","paddingNone","alignLeft","alignCenter","alignRight","alignJustify","stickyHeader"]),Xy=e=>{const{classes:t,variant:r,align:o,padding:n,size:i,stickyHeader:s}=e,a={root:["root",r,s&&"stickyHeader",o!=="inherit"&&`align${D(o)}`,n!=="normal"&&`padding${D(n)}`,`size${D(i)}`]};return ge(a,qy,t)},Yy=W("td",{name:"MuiTableCell",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],t[`size${D(r.size)}`],r.padding!=="normal"&&t[`padding${D(r.padding)}`],r.align!=="inherit"&&t[`align${D(r.align)}`],r.stickyHeader&&t.stickyHeader]}})(ae(({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"?e.lighten(e.alpha(e.palette.divider,1),.88):e.darken(e.alpha(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",[`&.${Gy.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}}]}))),u0=p.forwardRef(function(t,r){const o=ye({props:t,name:"MuiTableCell"}),{align:n="inherit",className:i,component:s,padding:a,scope:l,size:c,sortDirection:u,variant:f,...b}=o,m=p.useContext(yc),h=p.useContext(Jn),g=h&&h.variant==="head";let x;s?x=s:x=g?"th":"td";let w=l;x==="td"?w=void 0:!w&&g&&(w="col");const R=f||h&&h.variant,v={...o,align:n,component:x,padding:a||(m&&m.padding?m.padding:"normal"),size:c||(m&&m.size?m.size:"medium"),sortDirection:u,stickyHeader:R==="head"&&m&&m.stickyHeader,variant:R},y=Xy(v);let S=null;return u&&(S=u==="asc"?"ascending":"descending"),C.jsx(Yy,{as:x,ref:r,className:X(y.root,i),"aria-sort":S,scope:w,ownerState:v,...b})});function Zy(e){return le("MuiTableContainer",e)}ce("MuiTableContainer",["root"]);const Qy=e=>{const{classes:t}=e;return ge({root:["root"]},Zy,t)},Jy=W("div",{name:"MuiTableContainer",slot:"Root"})({width:"100%",overflowX:"auto"}),d0=p.forwardRef(function(t,r){const o=ye({props:t,name:"MuiTableContainer"}),{className:n,component:i="div",...s}=o,a={...o,component:i},l=Qy(a);return C.jsx(Jy,{ref:r,as:i,className:X(l.root,n),ownerState:a,...s})});function ev(e){return le("MuiTableHead",e)}ce("MuiTableHead",["root"]);const tv=e=>{const{classes:t}=e;return ge({root:["root"]},ev,t)},rv=W("thead",{name:"MuiTableHead",slot:"Root"})({display:"table-header-group"}),ov={variant:"head"},rl="thead",p0=p.forwardRef(function(t,r){const o=ye({props:t,name:"MuiTableHead"}),{className:n,component:i=rl,...s}=o,a={...o,component:i},l=tv(a);return C.jsx(Jn.Provider,{value:ov,children:C.jsx(rv,{as:i,className:X(l.root,n),ref:r,role:i===rl?null:"rowgroup",ownerState:a,...s})})}),nv=gr(C.jsx("path",{d:"M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"})),iv=gr(C.jsx("path",{d:"M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"}));function sv(e){return le("MuiTableRow",e)}const ol=ce("MuiTableRow",["root","selected","hover","head","footer"]),av=e=>{const{classes:t,selected:r,hover:o,head:n,footer:i}=e;return ge({root:["root",r&&"selected",o&&"hover",n&&"head",i&&"footer"]},sv,t)},lv=W("tr",{name:"MuiTableRow",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.head&&t.head,r.footer&&t.footer]}})(ae(({theme:e})=>({color:"inherit",display:"table-row",verticalAlign:"middle",outline:0,[`&.${ol.hover}:hover`]:{backgroundColor:(e.vars||e).palette.action.hover},[`&.${ol.selected}`]:{backgroundColor:e.alpha((e.vars||e).palette.primary.main,(e.vars||e).palette.action.selectedOpacity),"&:hover":{backgroundColor:e.alpha((e.vars||e).palette.primary.main,`${(e.vars||e).palette.action.selectedOpacity} + ${(e.vars||e).palette.action.hoverOpacity}`)}}}))),nl="tr",f0=p.forwardRef(function(t,r){const o=ye({props:t,name:"MuiTableRow"}),{className:n,component:i=nl,hover:s=!1,selected:a=!1,...l}=o,c=p.useContext(Jn),u={...o,component:i,hover:s,selected:a,head:c&&c.variant==="head",footer:c&&c.variant==="footer"},f=av(u);return C.jsx(lv,{as:i,ref:r,className:X(f.root,n),role:i===nl?null:"row",ownerState:u,...l})});function cv(e){return(1+Math.sin(Math.PI*e-Math.PI/2))/2}function uv(e,t,r,o={},n=()=>{}){const{ease:i=cv,duration:s=300}=o;let a=null;const l=t[e];let c=!1;const u=()=>{c=!0},f=b=>{if(c){n(new Error("Animation cancelled"));return}a===null&&(a=b);const m=Math.min(1,(b-a)/s);if(t[e]=i(m)*(r-l)+l,m>=1){requestAnimationFrame(()=>{n(null)});return}requestAnimationFrame(f)};return l===r?(n(new Error("Element already at target position")),u):(requestAnimationFrame(f),u)}const dv={width:99,height:99,position:"absolute",top:-9999,overflow:"scroll"};function pv(e){const{onChange:t,...r}=e,o=p.useRef(),n=p.useRef(null),i=()=>{o.current=n.current.offsetHeight-n.current.clientHeight};return Yt(()=>{const s=_n(()=>{const l=o.current;i(),l!==o.current&&t(o.current)}),a=Zt(n.current);return a.addEventListener("resize",s),()=>{s.clear(),a.removeEventListener("resize",s)}},[t]),p.useEffect(()=>{i(),t(o.current)},[t]),C.jsx("div",{style:dv,...r,ref:n})}function fv(e){return le("MuiTabScrollButton",e)}const gv=ce("MuiTabScrollButton",["root","vertical","horizontal","disabled"]),mv=e=>{const{classes:t,orientation:r,disabled:o}=e;return ge({root:["root",r,o&&"disabled"]},fv,t)},hv=W(Cr,{name:"MuiTabScrollButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.orientation&&t[r.orientation]]}})({width:40,flexShrink:0,opacity:.8,[`&.${gv.disabled}`]:{opacity:0},variants:[{props:{orientation:"vertical"},style:{width:"100%",height:40,"& svg":{transform:"var(--TabScrollButton-svgRotate)"}}}]}),bv=p.forwardRef(function(t,r){var R,v;const o=ye({props:t,name:"MuiTabScrollButton"}),{className:n,slots:i={},slotProps:s={},direction:a,orientation:l,disabled:c,...u}=o,f=Ho(),b={isRtl:f,...o},m=mv(b),h=(R=i.StartScrollButtonIcon)!=null?R:nv,g=(v=i.EndScrollButtonIcon)!=null?v:iv,x=eo({elementType:h,externalSlotProps:s.startScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:b}),w=eo({elementType:g,externalSlotProps:s.endScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:b});return C.jsx(hv,{component:"div",className:X(m.root,n),ref:r,role:null,ownerState:b,tabIndex:null,...u,style:{...u.style,...l==="vertical"&&{"--TabScrollButton-svgRotate":`rotate(${f?-90:90}deg)`}},children:a==="left"?C.jsx(h,{...x}):C.jsx(g,{...w})})});function yv(e){return le("MuiTabs",e)}const hi=ce("MuiTabs",["root","vertical","list","flexContainer","flexContainerVertical","centered","scroller","fixed","scrollableX","scrollableY","hideScrollbar","scrollButtons","scrollButtonsHideMobile","indicator"]),il=(e,t)=>e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:e.firstChild,sl=(e,t)=>e===t?e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:e.lastChild,an=(e,t,r)=>{let o=!1,n=r(e,t);for(;n;){if(n===e.firstChild){if(o)return;o=!0}const i=n.disabled||n.getAttribute("aria-disabled")==="true";if(!n.hasAttribute("tabindex")||i)n=r(e,n);else{n.focus();return}}},vv=e=>{const{vertical:t,fixed:r,hideScrollbar:o,scrollableX:n,scrollableY:i,centered:s,scrollButtonsHideMobile:a,classes:l}=e;return ge({root:["root",t&&"vertical"],scroller:["scroller",r&&"fixed",o&&"hideScrollbar",n&&"scrollableX",i&&"scrollableY"],list:["list","flexContainer",t&&"flexContainerVertical",t&&"vertical",s&&"centered"],indicator:["indicator"],scrollButtons:["scrollButtons",a&&"scrollButtonsHideMobile"],scrollableX:[n&&"scrollableX"],hideScrollbar:[o&&"hideScrollbar"]},yv,l)},xv=W("div",{name:"MuiTabs",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[{[`& .${hi.scrollButtons}`]:t.scrollButtons},{[`& .${hi.scrollButtons}`]:r.scrollButtonsHideMobile&&t.scrollButtonsHideMobile},t.root,r.vertical&&t.vertical]}})(ae(({theme:e})=>({overflow:"hidden",minHeight:48,WebkitOverflowScrolling:"touch",display:"flex",variants:[{props:({ownerState:t})=>t.vertical,style:{flexDirection:"column"}},{props:({ownerState:t})=>t.scrollButtonsHideMobile,style:{[`& .${hi.scrollButtons}`]:{[e.breakpoints.down("sm")]:{display:"none"}}}}]}))),Sv=W("div",{name:"MuiTabs",slot:"Scroller",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.scroller,r.fixed&&t.fixed,r.hideScrollbar&&t.hideScrollbar,r.scrollableX&&t.scrollableX,r.scrollableY&&t.scrollableY]}})({position:"relative",display:"inline-block",flex:"1 1 auto",whiteSpace:"nowrap",variants:[{props:({ownerState:e})=>e.fixed,style:{overflowX:"hidden",width:"100%"}},{props:({ownerState:e})=>e.hideScrollbar,style:{scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}}},{props:({ownerState:e})=>e.scrollableX,style:{overflowX:"auto",overflowY:"hidden"}},{props:({ownerState:e})=>e.scrollableY,style:{overflowY:"auto",overflowX:"hidden"}}]}),Cv=W("div",{name:"MuiTabs",slot:"List",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.list,t.flexContainer,r.vertical&&t.flexContainerVertical,r.centered&&t.centered]}})({display:"flex",variants:[{props:({ownerState:e})=>e.vertical,style:{flexDirection:"column"}},{props:({ownerState:e})=>e.centered,style:{justifyContent:"center"}}]}),wv=W("span",{name:"MuiTabs",slot:"Indicator"})(ae(({theme:e})=>({position:"absolute",height:2,bottom:0,width:"100%",transition:e.transitions.create(),variants:[{props:{indicatorColor:"primary"},style:{backgroundColor:(e.vars||e).palette.primary.main}},{props:{indicatorColor:"secondary"},style:{backgroundColor:(e.vars||e).palette.secondary.main}},{props:({ownerState:t})=>t.vertical,style:{height:"100%",width:2,right:0}}]}))),kv=W(pv)({overflowX:"auto",overflowY:"hidden",scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}}),al={},g0=p.forwardRef(function(t,r){const o=ye({props:t,name:"MuiTabs"}),n=ro(),i=Ho(),{"aria-label":s,"aria-labelledby":a,action:l,centered:c=!1,children:u,className:f,component:b="div",allowScrollButtonsMobile:m=!1,indicatorColor:h="primary",onChange:g,orientation:x="horizontal",ScrollButtonComponent:w,scrollButtons:R="auto",selectionFollowsFocus:v,slots:y={},slotProps:S={},TabIndicatorProps:k={},TabScrollButtonProps:T={},textColor:M="primary",value:B,variant:A="standard",visibleScrollbar:O=!1,...d}=o,P=A==="scrollable",$=x==="vertical",E=$?"scrollTop":"scrollLeft",I=$?"top":"left",z=$?"bottom":"right",q=$?"clientHeight":"clientWidth",j=$?"height":"width",Q={...o,component:b,allowScrollButtonsMobile:m,indicatorColor:h,orientation:x,vertical:$,scrollButtons:R,textColor:M,variant:A,visibleScrollbar:O,fixed:!P,hideScrollbar:P&&!O,scrollableX:P&&!$,scrollableY:P&&$,centered:c&&!P,scrollButtonsHideMobile:!m},te=vv(Q),ne=eo({elementType:y.StartScrollButtonIcon,externalSlotProps:S.startScrollButtonIcon,ownerState:Q}),V=eo({elementType:y.EndScrollButtonIcon,externalSlotProps:S.endScrollButtonIcon,ownerState:Q}),[G,H]=p.useState(!1),[U,re]=p.useState(al),[ue,se]=p.useState(!1),[Z,me]=p.useState(!1),[de,ve]=p.useState(!1),[fe,$e]=p.useState({overflow:"hidden",scrollbarWidth:0}),Re=new Map,Ie=p.useRef(null),K=p.useRef(null),ze={slots:y,slotProps:{indicator:k,scrollButton:T,...S}},ie=()=>{const Y=Ie.current;let _;if(Y){const ke=Y.getBoundingClientRect();_={clientWidth:Y.clientWidth,scrollLeft:Y.scrollLeft,scrollTop:Y.scrollTop,scrollWidth:Y.scrollWidth,top:ke.top,bottom:ke.bottom,left:ke.left,right:ke.right}}let pe;if(Y&&B!==!1){const ke=K.current.children;if(ke.length>0){const He=ke[Re.get(B)];pe=He?He.getBoundingClientRect():null}}return{tabsMeta:_,tabMeta:pe}},we=ht(()=>{const{tabsMeta:Y,tabMeta:_}=ie();let pe=0,ke;$?(ke="top",_&&Y&&(pe=_.top-Y.top+Y.scrollTop)):(ke=i?"right":"left",_&&Y&&(pe=(i?-1:1)*(_[ke]-Y[ke]+Y.scrollLeft)));const He={[ke]:pe,[j]:_?_[j]:0};if(typeof U[ke]!="number"||typeof U[j]!="number")re(He);else{const xt=Math.abs(U[ke]-He[ke]),Vt=Math.abs(U[j]-He[j]);(xt>=1||Vt>=1)&&re(He)}}),J=(Y,{animation:_=!0}={})=>{_?uv(E,Ie.current,Y,{duration:n.transitions.duration.standard}):Ie.current[E]=Y},qe=Y=>{let _=Ie.current[E];$?_+=Y:_+=Y*(i?-1:1),J(_)},Me=()=>{const Y=Ie.current[q];let _=0;const pe=Array.from(K.current.children);for(let ke=0;ke<pe.length;ke+=1){const He=pe[ke];if(_+He[q]>Y){ke===0&&(_=Y);break}_+=He[q]}return _},Ve=()=>{qe(-1*Me())},tt=()=>{qe(Me())},[pt,{onChange:Ke,...nt}]=be("scrollbar",{className:X(te.scrollableX,te.hideScrollbar),elementType:kv,shouldForwardComponentProp:!0,externalForwardedProps:ze,ownerState:Q}),Oe=p.useCallback(Y=>{Ke==null||Ke(Y),$e({overflow:null,scrollbarWidth:Y})},[Ke]),[xe,Se]=be("scrollButtons",{className:X(te.scrollButtons,T.className),elementType:bv,externalForwardedProps:ze,ownerState:Q,additionalProps:{orientation:x,slots:{StartScrollButtonIcon:y.startScrollButtonIcon||y.StartScrollButtonIcon,EndScrollButtonIcon:y.endScrollButtonIcon||y.EndScrollButtonIcon},slotProps:{startScrollButtonIcon:ne,endScrollButtonIcon:V}}}),it=()=>{const Y={};Y.scrollbarSizeListener=P?C.jsx(pt,{...nt,onChange:Oe}):null;const pe=P&&(R==="auto"&&(ue||Z)||R===!0);return Y.scrollButtonStart=pe?C.jsx(xe,{direction:i?"right":"left",onClick:Ve,disabled:!ue,...Se}):null,Y.scrollButtonEnd=pe?C.jsx(xe,{direction:i?"left":"right",onClick:tt,disabled:!Z,...Se}):null,Y},Ae=ht(Y=>{const{tabsMeta:_,tabMeta:pe}=ie();if(!(!pe||!_)){if(pe[I]<_[I]){const ke=_[E]+(pe[I]-_[I]);J(ke,{animation:Y})}else if(pe[z]>_[z]){const ke=_[E]+(pe[z]-_[z]);J(ke,{animation:Y})}}}),Rt=ht(()=>{P&&R!==!1&&ve(!de)});p.useEffect(()=>{const Y=_n(()=>{Ie.current&&we()});let _;const pe=xt=>{xt.forEach(Vt=>{Vt.removedNodes.forEach(sr=>{_==null||_.unobserve(sr)}),Vt.addedNodes.forEach(sr=>{_==null||_.observe(sr)})}),Y(),Rt()},ke=Zt(Ie.current);ke.addEventListener("resize",Y);let He;return typeof ResizeObserver!="undefined"&&(_=new ResizeObserver(Y),Array.from(K.current.children).forEach(xt=>{_.observe(xt)})),typeof MutationObserver!="undefined"&&(He=new MutationObserver(pe),He.observe(K.current,{childList:!0})),()=>{Y.clear(),ke.removeEventListener("resize",Y),He==null||He.disconnect(),_==null||_.disconnect()}},[we,Rt]),p.useEffect(()=>{const Y=Array.from(K.current.children),_=Y.length;if(typeof IntersectionObserver!="undefined"&&_>0&&P&&R!==!1){const pe=Y[0],ke=Y[_-1],He={root:Ie.current,threshold:.99},xt=ar=>{se(!ar[0].isIntersecting)},Vt=new IntersectionObserver(xt,He);Vt.observe(pe);const sr=ar=>{me(!ar[0].isIntersecting)},Fr=new IntersectionObserver(sr,He);return Fr.observe(ke),()=>{Vt.disconnect(),Fr.disconnect()}}},[P,R,de,u==null?void 0:u.length]),p.useEffect(()=>{H(!0)},[]),p.useEffect(()=>{we()}),p.useEffect(()=>{Ae(al!==U)},[Ae,U]),p.useImperativeHandle(l,()=>({updateIndicator:we,updateScrollButtons:Rt}),[we,Rt]);const[ct,rt]=be("indicator",{className:X(te.indicator,k.className),elementType:wv,externalForwardedProps:ze,ownerState:Q,additionalProps:{style:U}}),bt=C.jsx(ct,{...rt});let oe=0;const Ee=p.Children.map(u,Y=>{if(!p.isValidElement(Y))return null;const _=Y.props.value===void 0?oe:Y.props.value;Re.set(_,oe);const pe=_===B;return oe+=1,p.cloneElement(Y,{fullWidth:A==="fullWidth",indicator:pe&&!G&&bt,selected:pe,selectionFollowsFocus:v,onChange:g,textColor:M,value:_,...oe===1&&B===!1&&!Y.props.tabIndex?{tabIndex:0}:{}})}),Fe=Y=>{if(Y.altKey||Y.shiftKey||Y.ctrlKey||Y.metaKey)return;const _=K.current,pe=kt(_).activeElement;if(pe.getAttribute("role")!=="tab")return;let He=x==="horizontal"?"ArrowLeft":"ArrowUp",xt=x==="horizontal"?"ArrowRight":"ArrowDown";switch(x==="horizontal"&&i&&(He="ArrowRight",xt="ArrowLeft"),Y.key){case He:Y.preventDefault(),an(_,pe,sl);break;case xt:Y.preventDefault(),an(_,pe,il);break;case"Home":Y.preventDefault(),an(_,null,il);break;case"End":Y.preventDefault(),an(_,null,sl);break}},Ge=it(),[vt,Pt]=be("root",{ref:r,className:X(te.root,f),elementType:xv,externalForwardedProps:{...ze,...d,component:b},ownerState:Q}),[$t,Lt]=be("scroller",{ref:Ie,className:te.scroller,elementType:Sv,externalForwardedProps:ze,ownerState:Q,additionalProps:{style:{overflow:fe.overflow,[$?`margin${i?"Left":"Right"}`:"marginBottom"]:O?void 0:-fe.scrollbarWidth}}}),[hr,Nt]=be("list",{ref:K,className:X(te.list,te.flexContainer),elementType:Cv,externalForwardedProps:ze,ownerState:Q,getSlotProps:Y=>({...Y,onKeyDown:_=>{var pe;Fe(_),(pe=Y.onKeyDown)==null||pe.call(Y,_)}})});return C.jsxs(vt,{...Pt,children:[Ge.scrollButtonStart,Ge.scrollbarSizeListener,C.jsxs($t,{...Lt,children:[C.jsx(hr,{"aria-label":s,"aria-labelledby":a,"aria-orientation":x==="vertical"?"vertical":null,role:"tablist",...Nt,children:Ee}),G&&bt]}),Ge.scrollButtonEnd]})});function Rv(e){return le("MuiTextField",e)}ce("MuiTextField",["root"]);const Pv={standard:xs,filled:vs,outlined:Cs},$v=e=>{const{classes:t}=e;return ge({root:["root"]},Rv,t)},Tv=W(ub,{name:"MuiTextField",slot:"Root"})({}),bi=p.forwardRef(function(t,r){const o=ye({props:t,name:"MuiTextField"}),{autoComplete:n,autoFocus:i=!1,children:s,className:a,color:l="primary",defaultValue:c,disabled:u=!1,error:f=!1,FormHelperTextProps:b,fullWidth:m=!1,helperText:h,id:g,InputLabelProps:x,inputProps:w,InputProps:R,inputRef:v,label:y,maxRows:S,minRows:k,multiline:T=!1,name:M,onBlur:B,onChange:A,onFocus:O,placeholder:d,required:P=!1,rows:$,select:E=!1,SelectProps:I,slots:z={},slotProps:q={},type:j,value:Q,variant:te="outlined",...ne}=o,V={...o,autoFocus:i,color:l,disabled:u,error:f,fullWidth:m,multiline:T,required:P,select:E,variant:te},G=$v(V),H=Lr(g),U=h&&H?`${H}-helper-text`:void 0,re=y&&H?`${H}-label`:void 0,ue=Pv[te],se={slots:z,slotProps:{input:R,inputLabel:x,htmlInput:w,formHelperText:b,select:I,...q}},Z={},me=se.slotProps.inputLabel;te==="outlined"&&(me&&typeof me.shrink!="undefined"&&(Z.notched=me.shrink),Z.label=y),E&&((!I||!I.native)&&(Z.id=void 0),Z["aria-describedby"]=void 0);const[de,ve]=be("root",{elementType:Tv,shouldForwardComponentProp:!0,externalForwardedProps:{...se,...ne},ownerState:V,className:X(G.root,a),ref:r,additionalProps:{disabled:u,error:f,fullWidth:m,required:P,color:l,variant:te}}),[fe,$e]=be("input",{elementType:ue,externalForwardedProps:se,additionalProps:Z,ownerState:V}),[Re,Ie]=be("inputLabel",{elementType:Lb,externalForwardedProps:se,ownerState:V}),[K,ze]=be("htmlInput",{elementType:"input",externalForwardedProps:se,ownerState:V}),[ie,we]=be("formHelperText",{elementType:yb,externalForwardedProps:se,ownerState:V}),[J,qe]=be("select",{elementType:bc,externalForwardedProps:se,ownerState:V}),Me=C.jsx(fe,{"aria-describedby":U,autoComplete:n,autoFocus:i,defaultValue:c,fullWidth:m,multiline:T,name:M,rows:$,maxRows:S,minRows:k,type:j,value:Q,id:H,inputRef:v,onBlur:B,onChange:A,onFocus:O,placeholder:d,inputProps:ze,slots:{input:z.htmlInput?K:void 0},...$e});return C.jsxs(de,{...ve,children:[y!=null&&y!==""&&C.jsx(Re,{htmlFor:H,id:re,...Ie,children:y}),E?C.jsx(J,{"aria-describedby":U,id:H,labelId:re,value:Q,input:Me,...qe,children:s}):Me,h&&C.jsx(ie,{id:U,...we,children:h})]})});function io(e){const t=[],r=new Set;for(const o of e!=null?e:[]){const n=String(o!=null?o:"").trim();n&&(r.has(n)||(r.add(n),t.push(n)))}return t}function so(e){return new Map((e!=null?e:[]).map(t=>[String(t.id),t]))}function Vo(e,t){const r=so(e),o={};for(const[n,i]of Object.entries(t!=null?t:{})){const s={};for(const[a,l]of Object.entries(i!=null?i:{})){const c=io(l).filter(u=>r.has(String(u)));c.length>0&&(s[a]=c)}Object.keys(s).length>0&&(o[n]=s)}return o}let Gr={version:2,updatedAt:0,tags:[],assignments:{}};const _i=new Set;function Iv(){for(const e of _i)e();typeof window!="undefined"&&window.dispatchEvent(new Event("scipionTagsChanged"))}function ao(e){const t=e(Gr);t!==Gr&&(Gr=t,Iv())}function ll(){return Gr}function Ev(e){return _i.add(e),()=>{_i.delete(e)}}function Av(e){ao(t=>{var a,l;const r=Array.isArray(e)?e:[],o=((a=t.tags)!=null?a:[]).length===0,n=r.length===0,i=Object.keys((l=t.assignments)!=null?l:{}).length===0;if(n&&o&&i)return t;const s=Vo(r,t.assignments);return{...t,updatedAt:Date.now(),tags:r,assignments:s}})}function Mv(e){const t=String(e);ao(r=>{var i;const o=((i=r.tags)!=null?i:[]).filter(s=>String(s.id)!==t),n=Vo(o,r.assignments);return{...r,updatedAt:Date.now(),tags:o,assignments:n}})}function vc(e,t,r){const o=String(e!=null?e:"global"),n=String(t!=null?t:"");n&&ao(i=>{var u,f;const s=so(i.tags),a=io(r).filter(b=>s.has(String(b))),l={...(u=i.assignments)!=null?u:{}},c={...(f=l[o])!=null?f:{}};return a.length===0?delete c[n]:c[n]=a,Object.keys(c).length===0?delete l[o]:l[o]=c,{...i,updatedAt:Date.now(),assignments:l}})}function Ov(e,t){var s,a,l;const r=String(e!=null?e:"global"),o=String(t!=null?t:"");if(!o)return[];const n=(l=(a=(s=Gr.assignments)==null?void 0:s[r])==null?void 0:a[o])!=null?l:[],i=so(Gr.tags);return io(n).filter(c=>i.has(String(c)))}function Bv(e,t){const r=String(e!=null?e:"");!r||r==="null"||r==="undefined"||ao(o=>{var l;const n=so(o.tags),i={};for(const[c,u]of Object.entries(t!=null?t:{})){const f=String(c!=null?c:"").trim();if(!f)continue;const b=io(u!=null?u:[]).filter(m=>n.has(String(m)));b.length>0&&(i[f]=b)}const s={...(l=o.assignments)!=null?l:{}};Object.keys(i).length===0?delete s[r]:s[r]=i;const a=Vo(o.tags,s);return{...o,updatedAt:Date.now(),assignments:a}})}function Lv(e,t){const r=String(e!=null?e:"");!r||r==="null"||r==="undefined"||ao(o=>{var c,u;const n=so(o.tags),i=(c=o.assignments)!=null?c:{},s={...(u=i[r])!=null?u:{}};for(const[f,b]of Object.entries(t!=null?t:{})){const m=String(f!=null?f:"").trim();if(!m)continue;const h=io(b!=null?b:[]).filter(g=>n.has(String(g)));h.length===0?delete s[m]:s[m]=h}const a={...i};Object.keys(s).length===0?delete a[r]:a[r]=s;const l=Vo(o.tags,a);return{...o,updatedAt:Date.now(),assignments:l}})}function Nv(e){const t=String(e!=null?e:"");!t||t==="null"||t==="undefined"||ao(r=>{var i;const o={...(i=r.assignments)!=null?i:{}};delete o[t];const n=Vo(r.tags,o);return{...r,updatedAt:Date.now(),assignments:n}})}function Fv(e,t,r){const o=Ov(e,t),n=String(r),s=o.some(a=>String(a)===n)?o.filter(a=>String(a)!==n):[n,...o];return vc(e,t,s),s}function jv(){const e=p.useSyncExternalStore(Ev,ll,ll);return p.useMemo(()=>{const t=so(e.tags),r=(o,n)=>{var l,c,u;const i=String(o!=null?o:"global"),s=String(n!=null?n:"");if(!s)return[];const a=(u=(c=(l=e.assignments)==null?void 0:l[i])==null?void 0:c[s])!=null?u:[];return io(a).filter(f=>t.has(String(f)))};return{tags:e.tags,assignments:e.assignments,tagsById:t,setTags:Av,deleteTag:Mv,getAssignedTagIds:r,setAssignedTagIds:vc,setProjectAssignments:Bv,mergeProjectAssignments:Lv,clearProjectAssignments:Nv,toggleAssignedTagId:Fv}},[e.tags,e.assignments])}const zv=["#ef4444","#f97316","#f59e0b","#84cc16","#22c55e","#06b6d4","#3b82f6","#6366f1","#a855f7","#ec4899","#64748b","#111827"];function Dv(){return typeof crypto!="undefined"&&typeof crypto.randomUUID=="function"?crypto.randomUUID():`tag_${Date.now()}_${Math.random().toString(16).slice(2)}`}function Io(e){return typeof e=="string"&&e.trim().length>0}function yi(e,t){var o,n,i;const r=typeof((o=e==null?void 0:e.data)==null?void 0:o.detail)=="string"&&e.data.detail||typeof((i=(n=e==null?void 0:e.response)==null?void 0:n.data)==null?void 0:i.detail)=="string"&&e.response.data.detail||typeof(e==null?void 0:e.message)=="string"&&e.message||String(e!=null?e:"");return r.trim()?r:t}function Vi(e){var r,o;const t=typeof(e==null?void 0:e.description)=="string"&&e.description.trim()?e.description:void 0;return{id:String((r=e==null?void 0:e.id)!=null?r:""),title:String((o=e==null?void 0:e.title)!=null?o:""),description:t,color:typeof(e==null?void 0:e.color)=="string"&&e.color.trim()?e.color:"#3b82f6"}}function Wv(e){return Array.isArray(e)?e.map(t=>Vi(t)).filter(t=>typeof t.title=="string"&&t.title.trim().length>0):[]}function Hv({open:e,mode:t,draft:r,onChange:o,onClose:n,onSave:i,isSaving:s,titleHelpText:a,descriptionHelpText:l,colorHelpText:c,validationError:u}){const[f,b]=p.useState(null),m=t==="create"?"Create tag":"Edit tag",h=p.useMemo(()=>f==="title"?a!=null?a:"":f==="description"?l!=null?l:"":f==="color"&&c!=null?c:"",[f,a,l,c]),g=Io(a),x=Io(l),w=Io(c),R={borderRadius:4,overflow:"hidden",border:"1px solid",borderColor:"divider",boxShadow:"0 18px 50px rgba(0,0,0,0.35)"};return C.jsxs(C.Fragment,{children:[C.jsxs(La,{open:e,onClose:s?void 0:n,maxWidth:"sm",fullWidth:!0,slotProps:{backdrop:{sx:{backgroundColor:"transparent"}}},PaperProps:{sx:R},children:[C.jsxs(ja,{sx:{display:"flex",alignItems:"center",justifyContent:"space-between",backgroundColor:"#333d49",color:"white",px:2,py:1.5,boxSizing:"border-box",m:0},children:[C.jsx(at,{sx:{minWidth:0,pr:1},children:C.jsx(At,{sx:{fontWeight:700,fontSize:16,lineHeight:1.2},children:m})}),C.jsx(ur,{onClick:n,"aria-label":"Close",size:"small",disabled:!!s,sx:{color:"white",borderRadius:"50%",backgroundColor:"rgba(206, 170, 170, 0.1)",width:32,height:32,"&:hover":{backgroundColor:"rgba(253, 253, 253, 0.1)"},"&:focus-visible":{outline:"2px solid rgba(255,255,255,0.55)",outlineOffset:2}},children:C.jsx(Rs,{fontSize:"small"})})]}),C.jsx(Fa,{sx:{px:2,py:1.5,overflow:"visible"},children:C.jsxs(at,{sx:{display:"flex",flexDirection:"column",gap:2,pt:.5},children:[C.jsxs(at,{sx:{display:"flex",alignItems:"flex-start",gap:1},children:[C.jsx(bi,{label:"Title",value:r.title,onChange:v=>o({title:v.target.value}),fullWidth:!0,size:"small",required:!0,margin:"dense",disabled:!!s}),g?C.jsx(fn,{title:"Help",children:C.jsx(ur,{size:"small",onClick:()=>b("title"),sx:{mt:.75},disabled:!!s,children:C.jsx(ti,{fontSize:"1.1rem"})})}):null]}),C.jsxs(at,{sx:{display:"flex",alignItems:"flex-start",gap:1},children:[C.jsx(bi,{label:"Description (optional)",value:r.description,onChange:v=>o({description:v.target.value}),fullWidth:!0,size:"small",multiline:!0,minRows:3,margin:"dense",disabled:!!s}),x?C.jsx(fn,{title:"Help",children:C.jsx(ur,{size:"small",onClick:()=>b("description"),sx:{mt:.75},disabled:!!s,children:C.jsx(ti,{fontSize:"1.1rem"})})}):null]}),C.jsxs(at,{sx:{display:"flex",alignItems:"flex-start",gap:1},children:[C.jsxs(at,{sx:{flex:1,minWidth:0},children:[C.jsx(At,{sx:{fontSize:12,fontWeight:600,mb:.75},children:"Color"}),C.jsxs(at,{sx:{display:"flex",alignItems:"center",gap:1,flexWrap:"wrap"},children:[zv.map(v=>{const y=v.toLowerCase()===String(r.color).toLowerCase();return C.jsx("button",{type:"button",onClick:()=>o({color:v}),disabled:!!s,style:{width:22,height:22,borderRadius:"50%",border:y?"2px solid #111827":"1px solid rgba(0,0,0,0.2)",background:v,cursor:s?"default":"pointer",opacity:s?.65:1},"aria-label":`Pick color ${v}`},v)}),C.jsxs(at,{sx:{display:"flex",alignItems:"center",gap:1},children:[C.jsx(bi,{size:"small",value:r.color,onChange:v=>o({color:v.target.value}),sx:{width:140},inputProps:{"aria-label":"Custom color"},margin:"dense",disabled:!!s}),C.jsx("input",{type:"color",value:r.color,onChange:v=>o({color:v.target.value}),disabled:!!s,style:{width:34,height:34,border:"1px solid rgba(0,0,0,0.25)",background:"transparent",padding:0,cursor:s?"default":"pointer",opacity:s?.65:1},"aria-label":"Pick custom color"})]})]})]}),w?C.jsx(fn,{title:"Help",children:C.jsx(ur,{size:"small",onClick:()=>b("color"),sx:{mt:.75},disabled:!!s,children:C.jsx(ti,{fontSize:"1.1rem"})})}):null]}),u?C.jsx(At,{sx:{color:"#dc2626",fontSize:12,whiteSpace:"pre-wrap"},children:u}):null]})}),C.jsxs(Na,{sx:{justifyContent:"center",px:2,py:1.5,borderTop:"1px solid",borderColor:"divider",backgroundColor:"background.paper"},children:[C.jsx(Po,{variant:"outlined",onClick:n,disabled:!!s,sx:{textTransform:"none",minWidth:112,borderRadius:2},children:"Cancel"}),C.jsx(Po,{variant:"contained",onClick:()=>void i(),disabled:!!s,sx:{textTransform:"none",minWidth:112,borderRadius:2},children:s?"Saving...":"Save"})]})]}),C.jsxs(La,{open:f!==null,onClose:()=>b(null),maxWidth:"sm",fullWidth:!0,slotProps:{backdrop:{sx:{backgroundColor:"transparent"}}},PaperProps:{sx:R},children:[C.jsxs(ja,{sx:{display:"flex",alignItems:"center",justifyContent:"space-between",backgroundColor:"#333d49",color:"white",px:2,py:1.5,boxSizing:"border-box",m:0},children:[C.jsx(At,{sx:{fontWeight:700,fontSize:16,lineHeight:1.2},children:"Help"}),C.jsx(ur,{onClick:()=>b(null),"aria-label":"Close",size:"small",sx:{color:"white",borderRadius:"50%",backgroundColor:"rgba(206, 170, 170, 0.1)",width:32,height:32,"&:hover":{backgroundColor:"rgba(253, 253, 253, 0.1)"},"&:focus-visible":{outline:"2px solid rgba(255,255,255,0.55)",outlineOffset:2}},children:C.jsx(Rs,{fontSize:"small"})})]}),C.jsx(Fa,{sx:{px:2,py:1.5,marginTop:2.25},children:C.jsx(at,{sx:{maxHeight:"60vh",overflow:"auto",pr:.5},children:C.jsx(At,{sx:{fontSize:13,lineHeight:1.6,whiteSpace:"pre-wrap"},children:h||"No help available."})})}),C.jsx(Na,{sx:{justifyContent:"center",px:2,py:1.5,borderTop:"1px solid",borderColor:"divider",backgroundColor:"background.paper"},children:C.jsx(Po,{variant:"outlined",onClick:()=>b(null),sx:{textTransform:"none",minWidth:112},children:"Close"})})]})]})}const m0=p.memo(function({title:t,projectId:r,open:o=!0,tags:n,onTagsChange:i,initialTags:s}){const a=wc(),l=p.useRef(a);p.useEffect(()=>{l.current=a},[a]);const c=p.useMemo(()=>{const V=String(r!=null?r:"").trim();return!V||V==="null"||V==="undefined"?null:r},[r]),u=c!=null,f=!u&&Array.isArray(n)&&typeof i=="function",[b,m]=p.useState([]),{tags:h,setTags:g,deleteTag:x}=jv(),w=p.useMemo(()=>u?Array.isArray(b)?b:[]:f?Array.isArray(n)?n:[]:Array.isArray(h)?h:[],[u,b,f,n,h]),R=p.useCallback(V=>{const G=Array.isArray(V)?V:[];u&&m(G),g(G),i==null||i(G)},[u,i,g]),[v,y]=p.useState(!1),[S,k]=p.useState(!1),[T,M]=p.useState({});p.useEffect(()=>{r!=null&&console.debug("TagManager projectId:",r)},[r]),p.useEffect(()=>{u||Array.isArray(n)&&g(n)},[u,n,g]),p.useEffect(()=>{},[c]),p.useEffect(()=>{u||f||!Array.isArray(s)||s.length===0||Array.isArray(h)&&h.length>0||g(s)},[u,f,s,g,h]),p.useEffect(()=>{if(!u||!o||!String(c!=null?c:"").trim())return;let G=!1;return y(!0),(async()=>{try{const U=await l.current.listProjectTags(c);if(G)return;const re=Wv(U);R(re)}catch(U){if(G)return;Zo.error(yi(U,"Failed to load tags"))}finally{if(G)return;y(!1)}})(),()=>{G=!0}},[u,c,o,R]);const[B,A]=p.useState(!1),[O,d]=p.useState("create"),[P,$]=p.useState({title:"",description:"",color:"#3b82f6"}),[E,I]=p.useState(null),z=()=>{I(null),d("create"),$({title:"",description:"",color:"#3b82f6"}),A(!0)},q=V=>{var G,H;I(null),d("edit"),$({id:V.id,title:V.title,description:(G=V.description)!=null?G:"",color:(H=V.color)!=null?H:"#3b82f6"}),A(!0)},j=()=>{S||A(!1)},Q=()=>{if(!Io(P.title))return"Title is required.";const V=P.title.trim().toLowerCase();return(w!=null?w:[]).some(H=>O==="edit"&&P.id&&String(H.id)===String(P.id)?!1:String(H.title).trim().toLowerCase()===V)?"A tag with the same title already exists.":Io(P.color)?null:"Color is required."},te=async()=>{const V=Q();if(V){I(V);return}k(!0),I(null);try{if(O==="create"){if(u){const U=await l.current.createProjectTag(c,{title:P.title.trim(),description:P.description.trim()?P.description.trim():null,color:P.color}),re=Vi(U),ue=(w!=null?w:[]).filter(se=>String(se.id)!==String(re.id));R([re,...ue]),A(!1);return}const H={id:Dv(),title:P.title.trim(),description:P.description.trim()?P.description.trim():void 0,color:P.color};R([H,...w!=null?w:[]]),A(!1);return}if(!P.id){I("Missing tag id.");return}if(u){const H=await l.current.updateProjectTag(c,String(P.id),{title:P.title.trim(),description:P.description.trim()?P.description.trim():null,color:P.color}),U=Vi(H),re=(w!=null?w:[]).map(ue=>String(ue.id)===String(P.id)?U:ue);R(re),A(!1);return}const G=(w!=null?w:[]).map(H=>String(H.id)!==String(P.id)?H:{...H,title:P.title.trim(),description:P.description.trim()?P.description.trim():void 0,color:P.color});R(G),A(!1)}catch(G){Zo.error(yi(G,"Failed to save tag"))}finally{k(!1)}},ne=async V=>{const G=String(V);if(!u){f?R((w!=null?w:[]).filter(H=>String(H.id)!==G)):x(G);return}M(H=>({...H,[G]:!0}));try{const H=await l.current.deleteProjectTag(c,G);if(H&&H.success===!1){Zo.error("Delete failed");return}R((w!=null?w:[]).filter(U=>String(U.id)!==G))}catch(H){Zo.error(yi(H,"Failed to delete tag"))}finally{M(H=>{const U={...H};return delete U[G],U})}};return C.jsxs(at,{sx:{border:"1px solid #e5e7eb",borderRadius:2,backgroundColor:"#fff",overflow:"hidden"},children:[C.jsxs(at,{sx:{px:1.5,py:1.25,backgroundColor:"#333d49",color:"white",display:"flex",alignItems:"center",justifyContent:"space-between",gap:1},children:[C.jsxs(at,{sx:{display:"inline-flex",alignItems:"center",gap:1},children:[C.jsx(At,{sx:{fontWeight:700,fontSize:14},children:t!=null?t:"Tags"}),v?C.jsx(us,{size:14}):null]}),C.jsx(Po,{variant:"contained",onClick:z,disabled:v,sx:{textTransform:"none",backgroundColor:"#25991a",borderRadius:2,"&:hover":{backgroundColor:"#176d0f"}},children:"New tag"})]}),C.jsx(at,{sx:{p:1.5},children:(w!=null?w:[]).length===0?C.jsx(At,{sx:{fontSize:12,color:"#6b7280"},children:"No tags yet."}):C.jsx(at,{sx:{display:"flex",flexDirection:"column",gap:1},children:(w!=null?w:[]).map(V=>{const G=!!T[String(V.id)];return C.jsxs(at,{sx:{display:"grid",gridTemplateColumns:"minmax(0,1fr) auto",alignItems:"center",gap:1,border:"1px solid #e5e7eb",borderRadius:2,px:1.25,py:1,opacity:G?.65:1},children:[C.jsxs(at,{sx:{minWidth:0},children:[C.jsxs(at,{sx:{display:"flex",alignItems:"center",gap:1,minWidth:0},children:[C.jsx(at,{sx:{width:10,height:10,borderRadius:"50%",backgroundColor:V.color,border:"1px solid rgba(0,0,0,0.15)",flex:"0 0 auto"}}),C.jsx(At,{sx:{fontWeight:700,fontSize:13,color:"#111827",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},title:V.title,children:V.title})]}),V.description?C.jsx(At,{sx:{fontSize:12,color:"#4b5563",mt:.25,whiteSpace:"pre-wrap",wordBreak:"break-word"},children:V.description}):null]}),C.jsxs(at,{sx:{display:"inline-flex",alignItems:"center",gap:.25},children:[C.jsx(Po,{size:"small",variant:"outlined",onClick:()=>q(V),disabled:G||v,sx:{textTransform:"none",borderRadius:2,backgroundColor:"#2b5ac0",color:"white","&:hover":{backgroundColor:"#1a43b3"}},children:"Edit"}),C.jsx(fn,{title:"Delete",children:C.jsx("span",{children:C.jsx(ur,{size:"small",onClick:()=>void ne(String(V.id)),disabled:G||v,children:C.jsx(kc,{fontSize:"1.2rem"})})})})]})]},V.id)})})}),C.jsx(Wi,{}),C.jsx(Hv,{open:B,mode:O,draft:P,onChange:V=>$(G=>({...G,...V})),onClose:j,onSave:te,isSaving:S,validationError:E,titleHelpText:"Tag title used to identify and filter protocols.",descriptionHelpText:"Optional. You can add a short explanation for the tag.",colorHelpText:"Pick a color to quickly recognize the tag in chips and lists."})]})});export{oo as $,oa as A,ah as B,Er as C,Lr as D,_d as E,ht as F,kt as G,ql as H,xn as I,Ho as J,eo as K,Ui as L,Dl as M,Bo as N,La as O,ja as P,i0 as Q,at as R,yh as S,At as T,Am as U,ur as V,Wi as W,Fa as X,bi as Y,t0 as Z,d0 as _,le as a,l0 as a0,p0 as a1,f0 as a2,u0 as a3,c0 as a4,fn as a5,Na as a6,Po as a7,Rs as a8,us as a9,zn as aA,Ep as aB,ir as aC,Vr as aD,vn as aE,es as aF,zo as aG,Qb as aa,n0 as ab,g0 as ac,a0 as ad,wl as ae,ub as af,Lb as ag,bc as ah,e0 as ai,Yv as aj,Gv as ak,zb as al,_b as am,s0 as an,Zv as ao,jv as ap,Xv as aq,Jv as ar,qn as as,xs as at,m0 as au,Wd as av,Dn as aw,ns as ax,ui as ay,Ud as az,lh as b,D as c,ge as d,gt as e,gr as f,ce as g,be as h,Jp as i,mr as j,Nr as k,Mn as l,ae as m,bn as n,ro as o,Sn as p,Yt as q,Bt as r,W as s,lt as t,ye as u,Cr as v,r0 as w,o0 as x,Va as y,Qv as z};
