From 4e06683773a3e025fbd7775036e79c1fd0d44fc3 Mon Sep 17 00:00:00 2001 From: Johnny Bouder <61591423+jbouder@users.noreply.github.com> Date: Fri, 6 Dec 2024 10:47:07 -0500 Subject: [PATCH] Upgrade MUI to v6 (#548) * Upgrade mui packages to latest. * Remove dependabot mui ignores. --- .github/dependabot.yml | 2 - jhub_apps/static/js/index.js | 133 +++++++++------ ui/package-lock.json | 305 ++++++++++++++++------------------- ui/package.json | 6 +- 4 files changed, 233 insertions(+), 213 deletions(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index e21246fa..555e5845 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -27,7 +27,5 @@ updates: - dependency-name: "@types/react-dom" versions: - ">=18.2.0" - - dependency-name: "@mui/material" - - dependency-name: "@mui/icons-material" - dependency-name: "@rollup/rollup-linux-x64-gnu" - dependency-name: "@esbuild/linux-x64" diff --git a/jhub_apps/static/js/index.js b/jhub_apps/static/js/index.js index 7302778c..3359c5d2 100644 --- a/jhub_apps/static/js/index.js +++ b/jhub_apps/static/js/index.js @@ -1,4 +1,4 @@ -var mx=e=>{throw TypeError(e)};var km=(e,t,n)=>t.has(e)||mx("Cannot "+n);var Y=(e,t,n)=>(km(e,t,"read from private field"),n?n.call(e):t.get(e)),vt=(e,t,n)=>t.has(e)?mx("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),Ge=(e,t,n,o)=>(km(e,t,"write to private field"),o?o.call(e,n):t.set(e,n),n),zt=(e,t,n)=>(km(e,t,"access private method"),n);var kd=(e,t,n,o)=>({set _(i){Ge(e,t,i,n)},get _(){return Y(e,t,o)}});function p7(e,t){for(var n=0;no[i]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))o(i);new MutationObserver(i=>{for(const a of i)if(a.type==="childList")for(const c of a.addedNodes)c.tagName==="LINK"&&c.rel==="modulepreload"&&o(c)}).observe(document,{childList:!0,subtree:!0});function n(i){const a={};return i.integrity&&(a.integrity=i.integrity),i.referrerPolicy&&(a.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?a.credentials="include":i.crossOrigin==="anonymous"?a.credentials="omit":a.credentials="same-origin",a}function o(i){if(i.ep)return;i.ep=!0;const a=n(i);fetch(i.href,a)}})();function Tt(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function v7(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function o(){return this instanceof o?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(o){var i=Object.getOwnPropertyDescriptor(e,o);Object.defineProperty(n,o,i.get?i:{enumerable:!0,get:function(){return e[o]}})}),n}var Mm={exports:{}},hc={},Lm={exports:{}},Dt={};/** +var R3=Object.defineProperty;var $b=e=>{throw TypeError(e)};var E3=(e,t,n)=>t in e?R3(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var Cc=(e,t,n)=>E3(e,typeof t!="symbol"?t+"":t,n),hm=(e,t,n)=>t.has(e)||$b("Cannot "+n);var Z=(e,t,n)=>(hm(e,t,"read from private field"),n?n.call(e):t.get(e)),gt=(e,t,n)=>t.has(e)?$b("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),qe=(e,t,n,r)=>(hm(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),zt=(e,t,n)=>(hm(e,t,"access private method"),n);var pd=(e,t,n,r)=>({set _(s){qe(e,t,s,n)},get _(){return Z(e,t,r)}});function M3(e,t){for(var n=0;nr[s]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))r(s);new MutationObserver(s=>{for(const a of s)if(a.type==="childList")for(const l of a.addedNodes)l.tagName==="LINK"&&l.rel==="modulepreload"&&r(l)}).observe(document,{childList:!0,subtree:!0});function n(s){const a={};return s.integrity&&(a.integrity=s.integrity),s.referrerPolicy&&(a.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?a.credentials="include":s.crossOrigin==="anonymous"?a.credentials="omit":a.credentials="same-origin",a}function r(s){if(s.ep)return;s.ep=!0;const a=n(s);fetch(s.href,a)}})();function Op(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var mm={exports:{}},Dc={},gm={exports:{}},Et={};/** * @license React * react.production.min.js * @@ -6,7 +6,7 @@ var mx=e=>{throw TypeError(e)};var km=(e,t,n)=>t.has(e)||mx("Cannot "+n);var Y=( * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var Ax;function h7(){if(Ax)return Dt;Ax=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),c=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),p=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),m=Symbol.iterator;function P(k){return k===null||typeof k!="object"?null:(k=m&&k[m]||k["@@iterator"],typeof k=="function"?k:null)}var H={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},g=Object.assign,w={};function x(k,ne,X){this.props=k,this.context=ne,this.refs=w,this.updater=X||H}x.prototype.isReactComponent={},x.prototype.setState=function(k,ne){if(typeof k!="object"&&typeof k!="function"&&k!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,k,ne,"setState")},x.prototype.forceUpdate=function(k){this.updater.enqueueForceUpdate(this,k,"forceUpdate")};function z(){}z.prototype=x.prototype;function O(k,ne,X){this.props=k,this.context=ne,this.refs=w,this.updater=X||H}var C=O.prototype=new z;C.constructor=O,g(C,x.prototype),C.isPureReactComponent=!0;var D=Array.isArray,R=Object.prototype.hasOwnProperty,E={current:null},T={key:!0,ref:!0,__self:!0,__source:!0};function L(k,ne,X){var se,_={},de=null,ue=null;if(ne!=null)for(se in ne.ref!==void 0&&(ue=ne.ref),ne.key!==void 0&&(de=""+ne.key),ne)R.call(ne,se)&&!T.hasOwnProperty(se)&&(_[se]=ne[se]);var we=arguments.length-2;if(we===1)_.children=X;else if(1{throw TypeError(e)};var km=(e,t,n)=>t.has(e)||mx("Cannot "+n);var Y=( * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var gx;function m7(){if(gx)return hc;gx=1;var e=yP(),t=Symbol.for("react.element"),n=Symbol.for("react.fragment"),o=Object.prototype.hasOwnProperty,i=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,a={key:!0,ref:!0,__self:!0,__source:!0};function c(u,f,p){var h,m={},P=null,H=null;p!==void 0&&(P=""+p),f.key!==void 0&&(P=""+f.key),f.ref!==void 0&&(H=f.ref);for(h in f)o.call(f,h)&&!a.hasOwnProperty(h)&&(m[h]=f[h]);if(u&&u.defaultProps)for(h in f=u.defaultProps,f)m[h]===void 0&&(m[h]=f[h]);return{$$typeof:t,type:u,key:P,ref:H,props:m,_owner:i.current}}return hc.Fragment=n,hc.jsx=c,hc.jsxs=c,hc}var yx;function Xt(){return yx||(yx=1,Mm.exports=m7()),Mm.exports}var v=Xt();const Bu={black:"#000",white:"#fff"},Da={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},Sa={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},Ta={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},Ea={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},ka={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"},mc={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},A7={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 ui(e){let t="https://mui.com/production-error/?code="+e;for(let n=1;n=0)&&(n[i]=e[i]);return n}var y=yP();const Qe=Tt(y),xA=p7({__proto__:null,default:Qe},[y]);function u1(e){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var P7=/^((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|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|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)-.*))$/,g7=u1(function(e){return P7.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),y7=!1;function b7(e){if(e.sheet)return e.sheet;for(var t=0;t0?Un(Ol,--Er):0,fl--,kn===10&&(fl=1,Wp--),kn}function qr(){return kn=Er2||Iu(kn)>3?"":" "}function k7(e,t){for(;--t&&qr()&&!(kn<48||kn>102||kn>57&&kn<65||kn>70&&kn<97););return of(e,ep()+(t<6&&Qo()==32&&qr()==32))}function HA(e){for(;qr();)switch(kn){case e:return Er;case 34:case 39:e!==34&&e!==39&&HA(kn);break;case 40:e===41&&HA(e);break;case 92:qr();break}return Er}function M7(e,t){for(;qr()&&e+kn!==57;)if(e+kn===84&&Qo()===47)break;return"/*"+of(t,Er-1)+"*"+Ip(e===47?e:qr())}function L7(e){for(;!Iu(Qo());)qr();return of(e,Er)}function X7(e){return m1(np("",null,null,null,[""],e=h1(e),0,[0],e))}function np(e,t,n,o,i,a,c,u,f){for(var p=0,h=0,m=c,P=0,H=0,g=0,w=1,x=1,z=1,O=0,C="",D=i,R=a,E=o,T=C;x;)switch(g=O,O=qr()){case 40:if(g!=108&&Un(T,m-1)==58){wA(T+=qt(tp(O),"&","&\f"),"&\f")!=-1&&(z=-1);break}case 34:case 39:case 91:T+=tp(O);break;case 9:case 10:case 13:case 32:T+=E7(g);break;case 92:T+=k7(ep()-1,7);continue;case 47:switch(Qo()){case 42:case 47:Md(N7(M7(qr(),ep()),t,n),f);break;default:T+="/"}break;case 123*w:u[p++]=Yo(T)*z;case 125*w:case 59:case 0:switch(O){case 0:case 125:x=0;case 59+h:z==-1&&(T=qt(T,/\f/g,"")),H>0&&Yo(T)-m&&Md(H>32?xx(T+";",o,n,m-1):xx(qt(T," ","")+";",o,n,m-2),f);break;case 59:T+=";";default:if(Md(E=bx(T,t,n,p,h,i,u,C,D=[],R=[],m),a),O===123)if(h===0)np(T,t,E,E,D,a,m,u,R);else switch(P===99&&Un(T,3)===110?100:P){case 100:case 108:case 109:case 115:np(e,E,E,o&&Md(bx(e,E,E,0,0,i,u,C,i,D=[],m),R),i,R,m,u,o?D:R);break;default:np(T,E,E,E,[""],R,0,u,R)}}p=h=H=0,w=z=1,C=T="",m=c;break;case 58:m=1+Yo(T),H=g;default:if(w<1){if(O==123)--w;else if(O==125&&w++==0&&T7()==125)continue}switch(T+=Ip(O),O*w){case 38:z=h>0?1:(T+="\f",-1);break;case 44:u[p++]=(Yo(T)-1)*z,z=1;break;case 64:Qo()===45&&(T+=tp(qr())),P=Qo(),h=m=Yo(C=T+=L7(ep())),O++;break;case 45:g===45&&Yo(T)==2&&(w=0)}}return a}function bx(e,t,n,o,i,a,c,u,f,p,h){for(var m=i-1,P=i===0?a:[""],H=wP(P),g=0,w=0,x=0;g0?P[z]+" "+O:qt(O,/&\f/g,P[z])))&&(f[x++]=C);return Jp(e,t,n,i===0?bP:u,f,p,h)}function N7(e,t,n){return Jp(e,t,n,f1,Ip(S7()),Vu(e,2,-2),0)}function xx(e,t,n,o){return Jp(e,t,n,xP,Vu(e,0,o),Vu(e,o+1,-1),o)}function Za(e,t){for(var n="",o=wP(e),i=0;i6)switch(Un(e,t+1)){case 109:if(Un(e,t+4)!==45)break;case 102:return qt(e,/(.+:)(.+)-([^]+)/,"$1"+Yt+"$2-$3$1"+Ap+(Un(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~wA(e,"stretch")?A1(qt(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(Un(e,t+1)!==115)break;case 6444:switch(Un(e,Yo(e)-3-(~wA(e,"!important")&&10))){case 107:return qt(e,":",":"+Yt)+e;case 101:return qt(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Yt+(Un(e,14)===45?"inline-":"")+"box$3$1"+Yt+"$2$3$1"+or+"$2box$3")+e}break;case 5936:switch(Un(e,t+11)){case 114:return Yt+e+or+qt(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Yt+e+or+qt(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Yt+e+or+qt(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Yt+e+or+e+e}return e}var Z7=function(t,n,o,i){if(t.length>-1&&!t.return)switch(t.type){case xP:t.return=A1(t.value,t.length);break;case d1:return Za([Ac(t,{value:qt(t.value,"@","@"+Yt)})],i);case bP:if(t.length)return D7(t.props,function(a){switch(R7(a,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Za([Ac(t,{props:[qt(a,/:(read-\w+)/,":"+Ap+"$1")]})],i);case"::placeholder":return Za([Ac(t,{props:[qt(a,/:(plac\w+)/,":"+Yt+"input-$1")]}),Ac(t,{props:[qt(a,/:(plac\w+)/,":"+Ap+"$1")]}),Ac(t,{props:[qt(a,/:(plac\w+)/,or+"input-$1")]})],i)}return""})}},G7=[Z7],U7=function(t){var n=t.key;if(n==="css"){var o=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(o,function(w){var x=w.getAttribute("data-emotion");x.indexOf(" ")!==-1&&(document.head.appendChild(w),w.setAttribute("data-s",""))})}var i=t.stylisPlugins||G7,a={},c,u=[];c=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(w){for(var x=w.getAttribute("data-emotion").split(" "),z=1;zn.searchParams.append("args[]",r)),`Minified MUI error #${e}; visit ${n} for the full message.`}const Ro="$$material";function $d(){return $d=Object.assign?Object.assign.bind():function(e){for(var t=1;t0?Kn(Il,--kr):0,jl--,Mn===10&&(jl=1,Dp--),Mn}function qr(){return Mn=kr2||xu(Mn)>3?"":" "}function n7(e,t){for(;--t&&qr()&&!(Mn<48||Mn>102||Mn>57&&Mn<65||Mn>70&&Mn<97););return Bu(e,Ed()+(t<6&&ns()==32&&qr()==32))}function rg(e){for(;qr();)switch(Mn){case e:return kr;case 34:case 39:e!==34&&e!==39&&rg(Mn);break;case 40:e===41&&rg(e);break;case 92:qr();break}return kr}function r7(e,t){for(;qr()&&e+Mn!==57;)if(e+Mn===84&&ns()===47)break;return"/*"+Bu(t,kr-1)+"*"+Cp(e===47?e:qr())}function o7(e){for(;!xu(ns());)qr();return Bu(e,kr)}function s7(e){return x0(Ld("",null,null,null,[""],e=b0(e),0,[0],e))}function Ld(e,t,n,r,s,a,l,u,f){for(var p=0,h=0,m=l,A=0,H=0,y=0,w=1,x=1,S=1,C=0,z="",O=s,D=a,k=r,R=z;x;)switch(y=C,C=qr()){case 40:if(y!=108&&Kn(R,m-1)==58){ng(R+=Yt(Md(C),"&","&\f"),"&\f")!=-1&&(S=-1);break}case 34:case 39:case 91:R+=Md(C);break;case 9:case 10:case 13:case 32:R+=t7(y);break;case 92:R+=n7(Ed()-1,7);continue;case 47:switch(ns()){case 42:case 47:vd(i7(r7(qr(),Ed()),t,n),f);break;default:R+="/"}break;case 123*w:u[p++]=Qo(R)*S;case 125*w:case 59:case 0:switch(C){case 0:case 125:x=0;case 59+h:S==-1&&(R=Yt(R,/\f/g,"")),H>0&&Qo(R)-m&&vd(H>32?s8(R+";",r,n,m-1):s8(Yt(R," ","")+";",r,n,m-2),f);break;case 59:R+=";";default:if(vd(k=o8(R,t,n,p,h,s,u,z,O=[],D=[],m),a),C===123)if(h===0)Ld(R,t,k,k,O,a,m,u,D);else switch(A===99&&Kn(R,3)===110?100:A){case 100:case 108:case 109:case 115:Ld(e,k,k,r&&vd(o8(e,k,k,0,0,s,u,z,s,O=[],m),D),s,D,m,u,r?O:D);break;default:Ld(R,k,k,k,[""],D,0,u,D)}}p=h=H=0,w=S=1,z=R="",m=l;break;case 58:m=1+Qo(R),H=y;default:if(w<1){if(C==123)--w;else if(C==125&&w++==0&&e7()==125)continue}switch(R+=Cp(C),C*w){case 38:S=h>0?1:(R+="\f",-1);break;case 44:u[p++]=(Qo(R)-1)*S,S=1;break;case 64:ns()===45&&(R+=Md(qr())),A=ns(),h=m=Qo(z=R+=o7(Ed())),C++;break;case 45:y===45&&Qo(R)==2&&(w=0)}}return a}function o8(e,t,n,r,s,a,l,u,f,p,h){for(var m=s-1,A=s===0?a:[""],H=ly(A),y=0,w=0,x=0;y0?A[S]+" "+C:Yt(C,/&\f/g,A[S])))&&(f[x++]=z);return Tp(e,t,n,s===0?iy:u,f,p,h)}function i7(e,t,n){return Tp(e,t,n,g0,Cp($3()),bu(e,2,-2),0)}function s8(e,t,n,r){return Tp(e,t,n,ay,bu(e,0,r),bu(e,r+1,-1),r)}function ll(e,t){for(var n="",r=ly(e),s=0;s6)switch(Kn(e,t+1)){case 109:if(Kn(e,t+4)!==45)break;case 102:return Yt(e,/(.+:)(.+)-([^]+)/,"$1"+Ft+"$2-$3$1"+tp+(Kn(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~ng(e,"stretch")?w0(Yt(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(Kn(e,t+1)!==115)break;case 6444:switch(Kn(e,Qo(e)-3-(~ng(e,"!important")&&10))){case 107:return Yt(e,":",":"+Ft)+e;case 101:return Yt(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Ft+(Kn(e,14)===45?"inline-":"")+"box$3$1"+Ft+"$2$3$1"+rr+"$2box$3")+e}break;case 5936:switch(Kn(e,t+11)){case 114:return Ft+e+rr+Yt(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Ft+e+rr+Yt(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Ft+e+rr+Yt(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Ft+e+rr+e+e}return e}var h7=function(t,n,r,s){if(t.length>-1&&!t.return)switch(t.type){case ay:t.return=w0(t.value,t.length);break;case y0:return ll([kc(t,{value:Yt(t.value,"@","@"+Ft)})],s);case iy:if(t.length)return _3(t.props,function(a){switch(K3(a,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return ll([kc(t,{props:[Yt(a,/:(read-\w+)/,":"+tp+"$1")]})],s);case"::placeholder":return ll([kc(t,{props:[Yt(a,/:(plac\w+)/,":"+Ft+"input-$1")]}),kc(t,{props:[Yt(a,/:(plac\w+)/,":"+tp+"$1")]}),kc(t,{props:[Yt(a,/:(plac\w+)/,rr+"input-$1")]})],s)}return""})}},m7=[h7],g7=function(t){var n=t.key;if(n==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(w){var x=w.getAttribute("data-emotion");x.indexOf(" ")!==-1&&(document.head.appendChild(w),w.setAttribute("data-s",""))})}var s=t.stylisPlugins||m7,a={},l,u=[];l=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(w){for(var x=w.getAttribute("data-emotion").split(" "),S=1;S=4;++o,i-=4)n=e.charCodeAt(o)&255|(e.charCodeAt(++o)&255)<<8|(e.charCodeAt(++o)&255)<<16|(e.charCodeAt(++o)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(i){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 nH={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},rH=!1,oH=/[A-Z]|^ms/g,sH=/_EMO_([^_]+?)_([^]*?)_EMO_/g,y1=function(t){return t.charCodeAt(1)===45},Ox=function(t){return t!=null&&typeof t!="boolean"},Bm=u1(function(e){return y1(e)?e:e.replace(oH,"-$&").toLowerCase()}),Cx=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(sH,function(o,i,a){return qo={name:i,styles:a,next:qo},i})}return nH[t]!==1&&!y1(t)&&typeof n=="number"&&n!==0?n+"px":n},iH="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function Wu(e,t,n){if(n==null)return"";var o=n;if(o.__emotion_styles!==void 0)return o;switch(typeof n){case"boolean":return"";case"object":{var i=n;if(i.anim===1)return qo={name:i.name,styles:i.styles,next:qo},i.name;var a=n;if(a.styles!==void 0){var c=a.next;if(c!==void 0)for(;c!==void 0;)qo={name:c.name,styles:c.styles,next:qo},c=c.next;var u=a.styles+";";return u}return aH(e,t,n)}case"function":{if(e!==void 0){var f=qo,p=n(e);return qo=f,Wu(e,t,p)}break}}var h=n;if(t==null)return h;var m=t[h];return m!==void 0?m:h}function aH(e,t,n){var o="";if(Array.isArray(n))for(var i=0;i96?fH:dH},Tx=function(t,n,o){var i;if(n){var a=n.shouldForwardProp;i=t.__emotion_forwardProp&&a?function(c){return t.__emotion_forwardProp(c)&&a(c)}:a}return typeof i!="function"&&o&&(i=t.__emotion_forwardProp),i},pH=!1,vH=function(t){var n=t.cache,o=t.serialized,i=t.isStringTag;return P1(n,o,i),cH(function(){return g1(n,o,i)}),null},hH=function e(t,n){var o=t.__emotion_real===t,i=o&&t.__emotion_base||t,a,c;n!==void 0&&(a=n.label,c=n.target);var u=Tx(t,n,o),f=u||Sx(i),p=!f("as");return function(){var h=arguments,m=o&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(a!==void 0&&m.push("label:"+a+";"),h[0]==null||h[0].raw===void 0)m.push.apply(m,h);else{m.push(h[0][0]);for(var P=h.length,H=1;Ht(AH(i)?n:i):t;return v.jsx(uH,{styles:o})}function H1(e,t){return jA(e,t)}const gH=(e,t)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))};function Ks(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 j1(e){if(!Ks(e))return e;const t={};return Object.keys(e).forEach(n=>{t[n]=j1(e[n])}),t}function Cr(e,t,n={clone:!0}){const o=n.clone?j({},e):e;return Ks(e)&&Ks(t)&&Object.keys(t).forEach(i=>{i!=="__proto__"&&(Ks(t[i])&&i in e&&Ks(e[i])?o[i]=Cr(e[i],t[i],n):n.clone?o[i]=Ks(t[i])?j1(t[i]):t[i]:o[i]=t[i])}),o}const yH=["values","unit","step"],bH=e=>{const t=Object.keys(e).map(n=>({key:n,val:e[n]}))||[];return t.sort((n,o)=>n.val-o.val),t.reduce((n,o)=>j({},n,{[o.key]:o.val}),{})};function xH(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:o=5}=e,i=Oe(e,yH),a=bH(t),c=Object.keys(a);function u(P){return`@media (min-width:${typeof t[P]=="number"?t[P]:P}${n})`}function f(P){return`@media (max-width:${(typeof t[P]=="number"?t[P]:P)-o/100}${n})`}function p(P,H){const g=c.indexOf(H);return`@media (min-width:${typeof t[P]=="number"?t[P]:P}${n}) and (max-width:${(g!==-1&&typeof t[c[g]]=="number"?t[c[g]]:H)-o/100}${n})`}function h(P){return c.indexOf(P)+1`@media (min-width:${zP[e]}px)`};function kr(e,t,n){const o=e.theme||{};if(Array.isArray(t)){const a=o.breakpoints||Ex;return t.reduce((c,u,f)=>(c[a.up(a.keys[f])]=n(t[f]),c),{})}if(typeof t=="object"){const a=o.breakpoints||Ex;return Object.keys(t).reduce((c,u)=>{if(Object.keys(a.values||zP).indexOf(u)!==-1){const f=a.up(u);c[f]=n(t[u],u)}else{const f=u;c[f]=t[f]}return c},{})}return n(t)}function z1(e={}){var t;return((t=e.keys)==null?void 0:t.reduce((o,i)=>{const a=e.up(i);return o[a]={},o},{}))||{}}function O1(e,t){return e.reduce((n,o)=>{const i=n[o];return(!i||Object.keys(i).length===0)&&delete n[o],n},t)}function HH(e,...t){const n=z1(e),o=[n,...t].reduce((i,a)=>Cr(i,a),{});return O1(Object.keys(n),o)}function jH(e,t){if(typeof e!="object")return{};const n={},o=Object.keys(t);return Array.isArray(e)?o.forEach((i,a)=>{a{e[i]!=null&&(n[i]=!0)}),n}function Zi({values:e,breakpoints:t,base:n}){const o=n||jH(e,t),i=Object.keys(o);if(i.length===0)return e;let a;return i.reduce((c,u,f)=>(Array.isArray(e)?(c[u]=e[f]!=null?e[f]:e[a],a=f):typeof e=="object"?(c[u]=e[u]!=null?e[u]:e[a],a=u):c[u]=e,c),{})}function Ae(e){if(typeof e!="string")throw new Error(ui(7));return e.charAt(0).toUpperCase()+e.slice(1)}function dl(e,t,n=!0){if(!t||typeof t!="string")return null;if(e&&e.vars&&n){const o=`vars.${t}`.split(".").reduce((i,a)=>i&&i[a]?i[a]:null,e);if(o!=null)return o}return t.split(".").reduce((o,i)=>o&&o[i]!=null?o[i]:null,e)}function Pp(e,t,n,o=n){let i;return typeof e=="function"?i=e(n):Array.isArray(e)?i=e[n]||o:i=dl(e,n)||o,t&&(i=t(i,o,e)),i}function Sn(e){const{prop:t,cssProperty:n=e.prop,themeKey:o,transform:i}=e,a=c=>{if(c[t]==null)return null;const u=c[t],f=c.theme,p=dl(f,o)||{};return kr(c,u,m=>{let P=Pp(p,i,m);return m===P&&typeof m=="string"&&(P=Pp(p,i,`${t}${m==="default"?"":Ae(m)}`,m)),n===!1?P:{[n]:P}})};return a.propTypes={},a.filterProps=[t],a}function zH(e){const t={};return n=>(t[n]===void 0&&(t[n]=e(n)),t[n])}const OH={m:"margin",p:"padding"},CH={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},kx={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},RH=zH(e=>{if(e.length>2)if(kx[e])e=kx[e];else return[e];const[t,n]=e.split(""),o=OH[t],i=CH[n]||"";return Array.isArray(i)?i.map(a=>o+a):[o+i]}),OP=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],CP=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...OP,...CP];function af(e,t,n,o){var i;const a=(i=dl(e,t,!1))!=null?i:n;return typeof a=="number"?c=>typeof c=="string"?c:a*c:Array.isArray(a)?c=>typeof c=="string"?c:a[c]:typeof a=="function"?a:()=>{}}function RP(e){return af(e,"spacing",8)}function Ki(e,t){if(typeof t=="string"||t==null)return t;const n=Math.abs(t),o=e(n);return t>=0?o:typeof o=="number"?-o:`-${o}`}function DH(e,t){return n=>e.reduce((o,i)=>(o[i]=Ki(t,n),o),{})}function SH(e,t,n,o){if(t.indexOf(n)===-1)return null;const i=RH(n),a=DH(i,o),c=e[n];return kr(e,c,a)}function C1(e,t){const n=RP(e.theme);return Object.keys(e).map(o=>SH(e,t,o,n)).reduce(zu,{})}function wn(e){return C1(e,OP)}wn.propTypes={};wn.filterProps=OP;function Hn(e){return C1(e,CP)}Hn.propTypes={};Hn.filterProps=CP;function TH(e=8){if(e.mui)return e;const t=RP({spacing:e}),n=(...o)=>(o.length===0?[1]:o).map(a=>{const c=t(a);return typeof c=="number"?`${c}px`:c}).join(" ");return n.mui=!0,n}function Yp(...e){const t=e.reduce((o,i)=>(i.filterProps.forEach(a=>{o[a]=i}),o),{}),n=o=>Object.keys(o).reduce((i,a)=>t[a]?zu(i,t[a](o)):i,{});return n.propTypes={},n.filterProps=e.reduce((o,i)=>o.concat(i.filterProps),[]),n}function co(e){return typeof e!="number"?e:`${e}px solid`}function vo(e,t){return Sn({prop:e,themeKey:"borders",transform:t})}const EH=vo("border",co),kH=vo("borderTop",co),MH=vo("borderRight",co),LH=vo("borderBottom",co),XH=vo("borderLeft",co),NH=vo("borderColor"),BH=vo("borderTopColor"),VH=vo("borderRightColor"),IH=vo("borderBottomColor"),WH=vo("borderLeftColor"),JH=vo("outline",co),FH=vo("outlineColor"),qp=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=af(e.theme,"shape.borderRadius",4),n=o=>({borderRadius:Ki(t,o)});return kr(e,e.borderRadius,n)}return null};qp.propTypes={};qp.filterProps=["borderRadius"];Yp(EH,kH,MH,LH,XH,NH,BH,VH,IH,WH,qp,JH,FH);const Zp=e=>{if(e.gap!==void 0&&e.gap!==null){const t=af(e.theme,"spacing",8),n=o=>({gap:Ki(t,o)});return kr(e,e.gap,n)}return null};Zp.propTypes={};Zp.filterProps=["gap"];const Gp=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=af(e.theme,"spacing",8),n=o=>({columnGap:Ki(t,o)});return kr(e,e.columnGap,n)}return null};Gp.propTypes={};Gp.filterProps=["columnGap"];const Up=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=af(e.theme,"spacing",8),n=o=>({rowGap:Ki(t,o)});return kr(e,e.rowGap,n)}return null};Up.propTypes={};Up.filterProps=["rowGap"];const YH=Sn({prop:"gridColumn"}),qH=Sn({prop:"gridRow"}),ZH=Sn({prop:"gridAutoFlow"}),GH=Sn({prop:"gridAutoColumns"}),UH=Sn({prop:"gridAutoRows"}),QH=Sn({prop:"gridTemplateColumns"}),KH=Sn({prop:"gridTemplateRows"}),_H=Sn({prop:"gridTemplateAreas"}),$H=Sn({prop:"gridArea"});Yp(Zp,Gp,Up,YH,qH,ZH,GH,UH,QH,KH,_H,$H);function Ga(e,t){return t==="grey"?t:e}const ej=Sn({prop:"color",themeKey:"palette",transform:Ga}),tj=Sn({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Ga}),nj=Sn({prop:"backgroundColor",themeKey:"palette",transform:Ga});Yp(ej,tj,nj);function Yr(e){return e<=1&&e!==0?`${e*100}%`:e}const rj=Sn({prop:"width",transform:Yr}),DP=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=n=>{var o,i;const a=((o=e.theme)==null||(o=o.breakpoints)==null||(o=o.values)==null?void 0:o[n])||zP[n];return a?((i=e.theme)==null||(i=i.breakpoints)==null?void 0:i.unit)!=="px"?{maxWidth:`${a}${e.theme.breakpoints.unit}`}:{maxWidth:a}:{maxWidth:Yr(n)}};return kr(e,e.maxWidth,t)}return null};DP.filterProps=["maxWidth"];const oj=Sn({prop:"minWidth",transform:Yr}),sj=Sn({prop:"height",transform:Yr}),ij=Sn({prop:"maxHeight",transform:Yr}),aj=Sn({prop:"minHeight",transform:Yr});Sn({prop:"size",cssProperty:"width",transform:Yr});Sn({prop:"size",cssProperty:"height",transform:Yr});const lj=Sn({prop:"boxSizing"});Yp(rj,DP,oj,sj,ij,aj,lj);const Qp={border:{themeKey:"borders",transform:co},borderTop:{themeKey:"borders",transform:co},borderRight:{themeKey:"borders",transform:co},borderBottom:{themeKey:"borders",transform:co},borderLeft:{themeKey:"borders",transform:co},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:co},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:qp},color:{themeKey:"palette",transform:Ga},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Ga},backgroundColor:{themeKey:"palette",transform:Ga},p:{style:Hn},pt:{style:Hn},pr:{style:Hn},pb:{style:Hn},pl:{style:Hn},px:{style:Hn},py:{style:Hn},padding:{style:Hn},paddingTop:{style:Hn},paddingRight:{style:Hn},paddingBottom:{style:Hn},paddingLeft:{style:Hn},paddingX:{style:Hn},paddingY:{style:Hn},paddingInline:{style:Hn},paddingInlineStart:{style:Hn},paddingInlineEnd:{style:Hn},paddingBlock:{style:Hn},paddingBlockStart:{style:Hn},paddingBlockEnd:{style:Hn},m:{style:wn},mt:{style:wn},mr:{style:wn},mb:{style:wn},ml:{style:wn},mx:{style:wn},my:{style:wn},margin:{style:wn},marginTop:{style:wn},marginRight:{style:wn},marginBottom:{style:wn},marginLeft:{style:wn},marginX:{style:wn},marginY:{style:wn},marginInline:{style:wn},marginInlineStart:{style:wn},marginInlineEnd:{style:wn},marginBlock:{style:wn},marginBlockStart:{style:wn},marginBlockEnd:{style:wn},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:Zp},rowGap:{style:Up},columnGap:{style:Gp},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Yr},maxWidth:{style:DP},minWidth:{transform:Yr},height:{transform:Yr},maxHeight:{transform:Yr},minHeight:{transform:Yr},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function cj(...e){const t=e.reduce((o,i)=>o.concat(Object.keys(i)),[]),n=new Set(t);return e.every(o=>n.size===Object.keys(o).length)}function uj(e,t){return typeof e=="function"?e(t):e}function fj(){function e(n,o,i,a){const c={[n]:o,theme:i},u=a[n];if(!u)return{[n]:o};const{cssProperty:f=n,themeKey:p,transform:h,style:m}=u;if(o==null)return null;if(p==="typography"&&o==="inherit")return{[n]:o};const P=dl(i,p)||{};return m?m(c):kr(c,o,g=>{let w=Pp(P,h,g);return g===w&&typeof g=="string"&&(w=Pp(P,h,`${n}${g==="default"?"":Ae(g)}`,g)),f===!1?w:{[f]:w}})}function t(n){var o;const{sx:i,theme:a={}}=n||{};if(!i)return null;const c=(o=a.unstable_sxConfig)!=null?o:Qp;function u(f){let p=f;if(typeof f=="function")p=f(a);else if(typeof f!="object")return f;if(!p)return null;const h=z1(a.breakpoints),m=Object.keys(h);let P=h;return Object.keys(p).forEach(H=>{const g=uj(p[H],a);if(g!=null)if(typeof g=="object")if(c[H])P=zu(P,e(H,g,a,c));else{const w=kr({theme:a},g,x=>({[H]:x}));cj(w,g)?P[H]=t({sx:g,theme:a}):P=zu(P,w)}else P=zu(P,e(H,g,a,c))}),O1(m,P)}return Array.isArray(i)?i.map(u):u(i)}return t}const lf=fj();lf.filterProps=["sx"];function dj(e,t){const n=this;return n.vars&&typeof n.getColorSchemeSelector=="function"?{[n.getColorSchemeSelector(e).replace(/(\[[^\]]+\])/,"*:where($1)")]:t}:n.palette.mode===e?t:{}}const pj=["breakpoints","palette","spacing","shape"];function Kp(e={},...t){const{breakpoints:n={},palette:o={},spacing:i,shape:a={}}=e,c=Oe(e,pj),u=xH(n),f=TH(i);let p=Cr({breakpoints:u,direction:"ltr",components:{},palette:j({mode:"light"},o),spacing:f,shape:j({},wH,a)},c);return p.applyStyles=dj,p=t.reduce((h,m)=>Cr(h,m),p),p.unstable_sxConfig=j({},Qp,c==null?void 0:c.unstable_sxConfig),p.unstable_sx=function(m){return lf({sx:m,theme:this})},p}function vj(e){return Object.keys(e).length===0}function _p(e=null){const t=y.useContext(Fp);return!t||vj(t)?e:t}const hj=Kp();function $p(e=hj){return _p(e)}function mj({styles:e,themeId:t,defaultTheme:n={}}){const o=$p(n),i=typeof e=="function"?e(t&&o[t]||o):e;return v.jsx(PH,{styles:i})}const Aj=["sx"],Pj=e=>{var t,n;const o={systemProps:{},otherProps:{}},i=(t=e==null||(n=e.theme)==null?void 0:n.unstable_sxConfig)!=null?t:Qp;return Object.keys(e).forEach(a=>{i[a]?o.systemProps[a]=e[a]:o.otherProps[a]=e[a]}),o};function ev(e){const{sx:t}=e,n=Oe(e,Aj),{systemProps:o,otherProps:i}=Pj(n);let a;return Array.isArray(t)?a=[o,...t]:typeof t=="function"?a=(...c)=>{const u=t(...c);return Ks(u)?j({},o,u):o}:a=j({},o,t),j({},i,{sx:a})}const Mx=e=>e,gj=()=>{let e=Mx;return{configure(t){e=t},generate(t){return e(t)},reset(){e=Mx}}},SP=gj();function R1(e){var t,n,o="";if(typeof e=="string"||typeof e=="number")o+=e;else if(typeof e=="object")if(Array.isArray(e)){var i=e.length;for(t=0;tu!=="theme"&&u!=="sx"&&u!=="as"})(lf);return y.forwardRef(function(f,p){const h=$p(n),m=ev(f),{className:P,component:H="div"}=m,g=Oe(m,yj);return v.jsx(a,j({as:H,ref:p,className:ze(P,i?i(o):o),theme:t&&h[t]||h},g))})}const D1={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 Ke(e,t,n="Mui"){const o=D1[t];return o?`${n}-${o}`:`${SP.generate(e)}-${t}`}function _e(e,t,n="Mui"){const o={};return t.forEach(i=>{o[i]=Ke(e,i,n)}),o}const xj=["ownerState"],wj=["variants"],Hj=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function jj(e){return Object.keys(e).length===0}function zj(e){return typeof e=="string"&&e.charCodeAt(0)>96}function Ou(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const Oj=Kp(),Cj=e=>e&&e.charAt(0).toLowerCase()+e.slice(1);function Ld({defaultTheme:e,theme:t,themeId:n}){return jj(t)?e:t[n]||t}function Rj(e){return e?(t,n)=>n[e]:null}function rp(e,t){let{ownerState:n}=t,o=Oe(t,xj);const i=typeof e=="function"?e(j({ownerState:n},o)):e;if(Array.isArray(i))return i.flatMap(a=>rp(a,j({ownerState:n},o)));if(i&&typeof i=="object"&&Array.isArray(i.variants)){const{variants:a=[]}=i;let u=Oe(i,wj);return a.forEach(f=>{let p=!0;typeof f.props=="function"?p=f.props(j({ownerState:n},o,n)):Object.keys(f.props).forEach(h=>{(n==null?void 0:n[h])!==f.props[h]&&o[h]!==f.props[h]&&(p=!1)}),p&&(Array.isArray(u)||(u=[u]),u.push(typeof f.style=="function"?f.style(j({ownerState:n},o,n)):f.style))}),u}return i}function S1(e={}){const{themeId:t,defaultTheme:n=Oj,rootShouldForwardProp:o=Ou,slotShouldForwardProp:i=Ou}=e,a=c=>lf(j({},c,{theme:Ld(j({},c,{defaultTheme:n,themeId:t}))}));return a.__mui_systemSx=!0,(c,u={})=>{gH(c,R=>R.filter(E=>!(E!=null&&E.__mui_systemSx)));const{name:f,slot:p,skipVariantsResolver:h,skipSx:m,overridesResolver:P=Rj(Cj(p))}=u,H=Oe(u,Hj),g=h!==void 0?h:p&&p!=="Root"&&p!=="root"||!1,w=m||!1;let x,z=Ou;p==="Root"||p==="root"?z=o:p?z=i:zj(c)&&(z=void 0);const O=H1(c,j({shouldForwardProp:z,label:x},H)),C=R=>typeof R=="function"&&R.__emotion_real!==R||Ks(R)?E=>rp(R,j({},E,{theme:Ld({theme:E.theme,defaultTheme:n,themeId:t})})):R,D=(R,...E)=>{let T=C(R);const L=E?E.map(C):[];f&&P&&L.push(U=>{const I=Ld(j({},U,{defaultTheme:n,themeId:t}));if(!I.components||!I.components[f]||!I.components[f].styleOverrides)return null;const W=I.components[f].styleOverrides,oe={};return Object.entries(W).forEach(([q,ie])=>{oe[q]=rp(ie,j({},U,{theme:I}))}),P(U,oe)}),f&&!g&&L.push(U=>{var I;const W=Ld(j({},U,{defaultTheme:n,themeId:t})),oe=W==null||(I=W.components)==null||(I=I[f])==null?void 0:I.variants;return rp({variants:oe},j({},U,{theme:W}))}),w||L.push(a);const N=L.length-E.length;if(Array.isArray(R)&&N>0){const U=new Array(N).fill("");T=[...R,...U],T.raw=[...R.raw,...U]}const M=O(T,...L);return c.muiName&&(M.muiName=c.muiName),M};return O.withConfig&&(D.withConfig=O.withConfig),D}}const Dj=S1();function tv(e,t){const n=j({},t);return Object.keys(e).forEach(o=>{if(o.toString().match(/^(components|slots)$/))n[o]=j({},e[o],n[o]);else if(o.toString().match(/^(componentsProps|slotProps)$/)){const i=e[o]||{},a=t[o];n[o]={},!a||!Object.keys(a)?n[o]=i:!i||!Object.keys(i)?n[o]=a:(n[o]=j({},a),Object.keys(i).forEach(c=>{n[o][c]=tv(i[c],a[c])}))}else n[o]===void 0&&(n[o]=e[o])}),n}function T1(e){const{theme:t,name:n,props:o}=e;return!t||!t.components||!t.components[n]||!t.components[n].defaultProps?o:tv(t.components[n].defaultProps,o)}function E1({props:e,name:t,defaultTheme:n,themeId:o}){let i=$p(n);return o&&(i=i[o]||i),T1({theme:i,name:t,props:e})}const Mr=typeof window<"u"?y.useLayoutEffect:y.useEffect;function Sj(e,t=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,n))}function TP(e,t=0,n=1){return Sj(e,t,n)}function Tj(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let n=e.match(t);return n&&n[0].length===1&&(n=n.map(o=>o+o)),n?`rgb${n.length===4?"a":""}(${n.map((o,i)=>i<3?parseInt(o,16):Math.round(parseInt(o,16)/255*1e3)/1e3).join(", ")})`:""}function _i(e){if(e.type)return e;if(e.charAt(0)==="#")return _i(Tj(e));const t=e.indexOf("("),n=e.substring(0,t);if(["rgb","rgba","hsl","hsla","color"].indexOf(n)===-1)throw new Error(ui(9,e));let o=e.substring(t+1,e.length-1),i;if(n==="color"){if(o=o.split(" "),i=o.shift(),o.length===4&&o[3].charAt(0)==="/"&&(o[3]=o[3].slice(1)),["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(i)===-1)throw new Error(ui(10,i))}else o=o.split(",");return o=o.map(a=>parseFloat(a)),{type:n,values:o,colorSpace:i}}function nv(e){const{type:t,colorSpace:n}=e;let{values:o}=e;return t.indexOf("rgb")!==-1?o=o.map((i,a)=>a<3?parseInt(i,10):i):t.indexOf("hsl")!==-1&&(o[1]=`${o[1]}%`,o[2]=`${o[2]}%`),t.indexOf("color")!==-1?o=`${n} ${o.join(" ")}`:o=`${o.join(", ")}`,`${t}(${o})`}function Ej(e){e=_i(e);const{values:t}=e,n=t[0],o=t[1]/100,i=t[2]/100,a=o*Math.min(i,1-i),c=(p,h=(p+n/30)%12)=>i-a*Math.max(Math.min(h-3,9-h,1),-1);let u="rgb";const f=[Math.round(c(0)*255),Math.round(c(8)*255),Math.round(c(4)*255)];return e.type==="hsla"&&(u+="a",f.push(t[3])),nv({type:u,values:f})}function zA(e){e=_i(e);let t=e.type==="hsl"||e.type==="hsla"?_i(Ej(e)).values:e.values;return t=t.map(n=>(e.type!=="color"&&(n/=255),n<=.03928?n/12.92:((n+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function kj(e,t){const n=zA(e),o=zA(t);return(Math.max(n,o)+.05)/(Math.min(n,o)+.05)}function xt(e,t){return e=_i(e),t=TP(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,nv(e)}function pl(e,t){if(e=_i(e),t=TP(t),e.type.indexOf("hsl")!==-1)e.values[2]*=1-t;else if(e.type.indexOf("rgb")!==-1||e.type.indexOf("color")!==-1)for(let n=0;n<3;n+=1)e.values[n]*=1-t;return nv(e)}function vl(e,t){if(e=_i(e),t=TP(t),e.type.indexOf("hsl")!==-1)e.values[2]+=(100-e.values[2])*t;else if(e.type.indexOf("rgb")!==-1)for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(e.type.indexOf("color")!==-1)for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return nv(e)}function Mj(e,t=.15){return zA(e)>.5?pl(e,t):vl(e,t)}function gp(...e){return e.reduce((t,n)=>n==null?t:function(...i){t.apply(this,i),n.apply(this,i)},()=>{})}function rv(e,t=166){let n;function o(...i){const a=()=>{e.apply(this,i)};clearTimeout(n),n=setTimeout(a,t)}return o.clear=()=>{clearTimeout(n)},o}function Lj(e,t){return()=>null}function Cu(e,t){var n,o;return y.isValidElement(e)&&t.indexOf((n=e.type.muiName)!=null?n:(o=e.type)==null||(o=o._payload)==null||(o=o.value)==null?void 0:o.muiName)!==-1}function Bn(e){return e&&e.ownerDocument||document}function $o(e){return Bn(e).defaultView||window}function Xj(e,t){return()=>null}function Ju(e,t){typeof e=="function"?e(t):e&&(e.current=t)}let Lx=0;function Nj(e){const[t,n]=y.useState(e),o=e||t;return y.useEffect(()=>{t==null&&(Lx+=1,n(`mui-${Lx}`))},[t]),o}const Xx=xA.useId;function es(e){if(Xx!==void 0){const t=Xx();return e??t}return Nj(e)}function Bj(e,t,n,o,i){return null}function xs({controlled:e,default:t,name:n,state:o="value"}){const{current:i}=y.useRef(e!==void 0),[a,c]=y.useState(t),u=i?e:a,f=y.useCallback(p=>{i||c(p)},[]);return[u,f]}function ar(e){const t=y.useRef(e);return Mr(()=>{t.current=e}),y.useRef((...n)=>(0,t.current)(...n)).current}function on(...e){return y.useMemo(()=>e.every(t=>t==null)?null:t=>{e.forEach(n=>{Ju(n,t)})},e)}const Nx={};function Vj(e,t){const n=y.useRef(Nx);return n.current===Nx&&(n.current=e(t)),n}const Ij=[];function Wj(e){y.useEffect(e,Ij)}class cf{constructor(){this.currentId=null,this.clear=()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)},this.disposeEffect=()=>this.clear}static create(){return new cf}start(t,n){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,n()},t)}}function Li(){const e=Vj(cf.create).current;return Wj(e.disposeEffect),e}let ov=!0,OA=!1;const Jj=new cf,Fj={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function Yj(e){const{type:t,tagName:n}=e;return!!(n==="INPUT"&&Fj[t]&&!e.readOnly||n==="TEXTAREA"&&!e.readOnly||e.isContentEditable)}function qj(e){e.metaKey||e.altKey||e.ctrlKey||(ov=!0)}function Vm(){ov=!1}function Zj(){this.visibilityState==="hidden"&&OA&&(ov=!0)}function Gj(e){e.addEventListener("keydown",qj,!0),e.addEventListener("mousedown",Vm,!0),e.addEventListener("pointerdown",Vm,!0),e.addEventListener("touchstart",Vm,!0),e.addEventListener("visibilitychange",Zj,!0)}function Uj(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch{}return ov||Yj(t)}function sv(){const e=y.useCallback(i=>{i!=null&&Gj(i.ownerDocument)},[]),t=y.useRef(!1);function n(){return t.current?(OA=!0,Jj.start(100,()=>{OA=!1}),t.current=!1,!0):!1}function o(i){return Uj(i)?(t.current=!0,!0):!1}return{isFocusVisibleRef:t,onFocus:o,onBlur:n,ref:e}}function k1(e){const t=e.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}const Qj=e=>{const t=y.useRef({});return y.useEffect(()=>{t.current=e}),t.current};function $e(e,t,n=void 0){const o={};return Object.keys(e).forEach(i=>{o[i]=e[i].reduce((a,c)=>{if(c){const u=t(c);u!==""&&a.push(u),n&&n[c]&&a.push(n[c])}return a},[]).join(" ")}),o}const M1=y.createContext(null);function L1(){return y.useContext(M1)}const Kj=typeof Symbol=="function"&&Symbol.for,_j=Kj?Symbol.for("mui.nested"):"__THEME_NESTED__";function $j(e,t){return typeof t=="function"?t(e):j({},e,t)}function ez(e){const{children:t,theme:n}=e,o=L1(),i=y.useMemo(()=>{const a=o===null?n:$j(o,n);return a!=null&&(a[_j]=o!==null),a},[n,o]);return v.jsx(M1.Provider,{value:i,children:t})}const tz=["value"],nz=y.createContext();function rz(e){let{value:t}=e,n=Oe(e,tz);return v.jsx(nz.Provider,j({value:t??!0},n))}const Bx={};function Vx(e,t,n,o=!1){return y.useMemo(()=>{const i=e&&t[e]||t;if(typeof n=="function"){const a=n(i),c=e?j({},t,{[e]:a}):a;return o?()=>c:c}return e?j({},t,{[e]:n}):j({},t,n)},[e,t,n,o])}function oz(e){const{children:t,theme:n,themeId:o}=e,i=_p(Bx),a=L1()||Bx,c=Vx(o,i,n),u=Vx(o,a,n,!0),f=c.direction==="rtl";return v.jsx(ez,{theme:u,children:v.jsx(Fp.Provider,{value:c,children:v.jsx(rz,{value:f,children:t})})})}const sz=["component","direction","spacing","divider","children","className","useFlexGap"],iz=Kp(),az=Dj("div",{name:"MuiStack",slot:"Root",overridesResolver:(e,t)=>t.root});function lz(e){return E1({props:e,name:"MuiStack",defaultTheme:iz})}function cz(e,t){const n=y.Children.toArray(e).filter(Boolean);return n.reduce((o,i,a)=>(o.push(i),a({row:"Left","row-reverse":"Right",column:"Top","column-reverse":"Bottom"})[e],fz=({ownerState:e,theme:t})=>{let n=j({display:"flex",flexDirection:"column"},kr({theme:t},Zi({values:e.direction,breakpoints:t.breakpoints.values}),o=>({flexDirection:o})));if(e.spacing){const o=RP(t),i=Object.keys(t.breakpoints.values).reduce((f,p)=>((typeof e.spacing=="object"&&e.spacing[p]!=null||typeof e.direction=="object"&&e.direction[p]!=null)&&(f[p]=!0),f),{}),a=Zi({values:e.direction,base:i}),c=Zi({values:e.spacing,base:i});typeof a=="object"&&Object.keys(a).forEach((f,p,h)=>{if(!a[f]){const P=p>0?a[h[p-1]]:"column";a[f]=P}}),n=Cr(n,kr({theme:t},c,(f,p)=>e.useFlexGap?{gap:Ki(o,f)}:{"& > :not(style):not(style)":{margin:0},"& > :not(style) ~ :not(style)":{[`margin${uz(p?a[p]:e.direction)}`]:Ki(o,f)}}))}return n=HH(t.breakpoints,n),n};function dz(e={}){const{createStyledComponent:t=az,useThemeProps:n=lz,componentName:o="MuiStack"}=e,i=()=>$e({root:["root"]},f=>Ke(o,f),{}),a=t(fz);return y.forwardRef(function(f,p){const h=n(f),m=ev(h),{component:P="div",direction:H="column",spacing:g=0,divider:w,children:x,className:z,useFlexGap:O=!1}=m,C=Oe(m,sz),D={direction:H,spacing:g,useFlexGap:O},R=i();return v.jsx(a,j({as:P,ownerState:D,ref:p,className:ze(R.root,z)},C,{children:w?cz(x,w):x}))})}function pz(e,t){return j({toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}}},t)}const vz=["mode","contrastThreshold","tonalOffset"],Ix={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:Bu.white,default:Bu.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}},Im={text:{primary:Bu.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:Bu.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}};function Wx(e,t,n,o){const i=o.light||o,a=o.dark||o*1.5;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:t==="light"?e.light=vl(e.main,i):t==="dark"&&(e.dark=pl(e.main,a)))}function hz(e="light"){return e==="dark"?{main:Ta[200],light:Ta[50],dark:Ta[400]}:{main:Ta[700],light:Ta[400],dark:Ta[800]}}function mz(e="light"){return e==="dark"?{main:Sa[200],light:Sa[50],dark:Sa[400]}:{main:Sa[500],light:Sa[300],dark:Sa[700]}}function Az(e="light"){return e==="dark"?{main:Da[500],light:Da[300],dark:Da[700]}:{main:Da[700],light:Da[400],dark:Da[800]}}function Pz(e="light"){return e==="dark"?{main:Ea[400],light:Ea[300],dark:Ea[700]}:{main:Ea[700],light:Ea[500],dark:Ea[900]}}function gz(e="light"){return e==="dark"?{main:ka[400],light:ka[300],dark:ka[700]}:{main:ka[800],light:ka[500],dark:ka[900]}}function yz(e="light"){return e==="dark"?{main:mc[400],light:mc[300],dark:mc[700]}:{main:"#ed6c02",light:mc[500],dark:mc[900]}}function bz(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:o=.2}=e,i=Oe(e,vz),a=e.primary||hz(t),c=e.secondary||mz(t),u=e.error||Az(t),f=e.info||Pz(t),p=e.success||gz(t),h=e.warning||yz(t);function m(w){return kj(w,Im.text.primary)>=n?Im.text.primary:Ix.text.primary}const P=({color:w,name:x,mainShade:z=500,lightShade:O=300,darkShade:C=700})=>{if(w=j({},w),!w.main&&w[z]&&(w.main=w[z]),!w.hasOwnProperty("main"))throw new Error(ui(11,x?` (${x})`:"",z));if(typeof w.main!="string")throw new Error(ui(12,x?` (${x})`:"",JSON.stringify(w.main)));return Wx(w,"light",O,o),Wx(w,"dark",C,o),w.contrastText||(w.contrastText=m(w.main)),w},H={dark:Im,light:Ix};return Cr(j({common:j({},Bu),mode:t,primary:P({color:a,name:"primary"}),secondary:P({color:c,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:P({color:u,name:"error"}),warning:P({color:h,name:"warning"}),info:P({color:f,name:"info"}),success:P({color:p,name:"success"}),grey:A7,contrastThreshold:n,getContrastText:m,augmentColor:P,tonalOffset:o},H[t]),i)}const xz=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];function wz(e){return Math.round(e*1e5)/1e5}const Jx={textTransform:"uppercase"},Fx='"Roboto", "Helvetica", "Arial", sans-serif';function Hz(e,t){const n=typeof t=="function"?t(e):t,{fontFamily:o=Fx,fontSize:i=14,fontWeightLight:a=300,fontWeightRegular:c=400,fontWeightMedium:u=500,fontWeightBold:f=700,htmlFontSize:p=16,allVariants:h,pxToRem:m}=n,P=Oe(n,xz),H=i/14,g=m||(z=>`${z/p*H}rem`),w=(z,O,C,D,R)=>j({fontFamily:o,fontWeight:z,fontSize:g(O),lineHeight:C},o===Fx?{letterSpacing:`${wz(D/O)}em`}:{},R,h),x={h1:w(a,96,1.167,-1.5),h2:w(a,60,1.2,-.5),h3:w(c,48,1.167,0),h4:w(c,34,1.235,.25),h5:w(c,24,1.334,0),h6:w(u,20,1.6,.15),subtitle1:w(c,16,1.75,.15),subtitle2:w(u,14,1.57,.1),body1:w(c,16,1.5,.15),body2:w(c,14,1.43,.15),button:w(u,14,1.75,.4,Jx),caption:w(c,12,1.66,.4),overline:w(c,12,2.66,1,Jx),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return Cr(j({htmlFontSize:p,pxToRem:g,fontFamily:o,fontSize:i,fontWeightLight:a,fontWeightRegular:c,fontWeightMedium:u,fontWeightBold:f},x),P,{clone:!1})}const jz=.2,zz=.14,Oz=.12;function hn(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${jz})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${zz})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${Oz})`].join(",")}const Cz=["none",hn(0,2,1,-1,0,1,1,0,0,1,3,0),hn(0,3,1,-2,0,2,2,0,0,1,5,0),hn(0,3,3,-2,0,3,4,0,0,1,8,0),hn(0,2,4,-1,0,4,5,0,0,1,10,0),hn(0,3,5,-1,0,5,8,0,0,1,14,0),hn(0,3,5,-1,0,6,10,0,0,1,18,0),hn(0,4,5,-2,0,7,10,1,0,2,16,1),hn(0,5,5,-3,0,8,10,1,0,3,14,2),hn(0,5,6,-3,0,9,12,1,0,3,16,2),hn(0,6,6,-3,0,10,14,1,0,4,18,3),hn(0,6,7,-4,0,11,15,1,0,4,20,3),hn(0,7,8,-4,0,12,17,2,0,5,22,4),hn(0,7,8,-4,0,13,19,2,0,5,24,4),hn(0,7,9,-4,0,14,21,2,0,5,26,4),hn(0,8,9,-5,0,15,22,2,0,6,28,5),hn(0,8,10,-5,0,16,24,2,0,6,30,5),hn(0,8,11,-5,0,17,26,2,0,6,32,5),hn(0,9,11,-5,0,18,28,2,0,7,34,6),hn(0,9,12,-6,0,19,29,2,0,7,36,6),hn(0,10,13,-6,0,20,31,3,0,8,38,7),hn(0,10,13,-6,0,21,33,3,0,8,40,7),hn(0,10,14,-6,0,22,35,3,0,8,42,7),hn(0,11,14,-7,0,23,36,3,0,9,44,8),hn(0,11,15,-7,0,24,38,3,0,9,46,8)],Rz=["duration","easing","delay"],Dz={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)"},Sz={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function Yx(e){return`${Math.round(e)}ms`}function Tz(e){if(!e)return 0;const t=e/36;return Math.round((4+15*t**.25+t/5)*10)}function Ez(e){const t=j({},Dz,e.easing),n=j({},Sz,e.duration);return j({getAutoHeightDuration:Tz,create:(i=["all"],a={})=>{const{duration:c=n.standard,easing:u=t.easeInOut,delay:f=0}=a;return Oe(a,Rz),(Array.isArray(i)?i:[i]).map(p=>`${p} ${typeof c=="string"?c:Yx(c)} ${u} ${typeof f=="string"?f:Yx(f)}`).join(",")}},e,{easing:t,duration:n})}const kz={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},Mz=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function iv(e={},...t){const{mixins:n={},palette:o={},transitions:i={},typography:a={}}=e,c=Oe(e,Mz);if(e.vars)throw new Error(ui(18));const u=bz(o),f=Kp(e);let p=Cr(f,{mixins:pz(f.breakpoints,n),palette:u,shadows:Cz.slice(),typography:Hz(u,a),transitions:Ez(i),zIndex:j({},kz)});return p=Cr(p,c),p=t.reduce((h,m)=>Cr(h,m),p),p.unstable_sxConfig=j({},Qp,c==null?void 0:c.unstable_sxConfig),p.unstable_sx=function(m){return lf({sx:m,theme:this})},p}const av=iv();function Qr(){const e=$p(av);return e[Qi]||e}function et({props:e,name:t}){return E1({props:e,name:t,defaultTheme:av,themeId:Qi})}const Yn=e=>Ou(e)&&e!=="classes",Lz=Ou,ve=S1({themeId:Qi,defaultTheme:av,rootShouldForwardProp:Yn}),Xz=["theme"];function Nz(e){let{theme:t}=e,n=Oe(e,Xz);const o=t[Qi];return v.jsx(oz,j({},n,{themeId:o?Qi:void 0,theme:o||t}))}const qx=e=>{let t;return e<1?t=5.11916*e**2:t=4.5*Math.log(e+1)+2,(t/100).toFixed(2)};function Bz(e){return Ke("MuiSvgIcon",e)}_e("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const Vz=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],Iz=e=>{const{color:t,fontSize:n,classes:o}=e,i={root:["root",t!=="inherit"&&`color${Ae(t)}`,`fontSize${Ae(n)}`]};return $e(i,Bz,o)},Wz=ve("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color!=="inherit"&&t[`color${Ae(n.color)}`],t[`fontSize${Ae(n.fontSize)}`]]}})(({theme:e,ownerState:t})=>{var n,o,i,a,c,u,f,p,h,m,P,H,g;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:t.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:(n=e.transitions)==null||(o=n.create)==null?void 0:o.call(n,"fill",{duration:(i=e.transitions)==null||(i=i.duration)==null?void 0:i.shorter}),fontSize:{inherit:"inherit",small:((a=e.typography)==null||(c=a.pxToRem)==null?void 0:c.call(a,20))||"1.25rem",medium:((u=e.typography)==null||(f=u.pxToRem)==null?void 0:f.call(u,24))||"1.5rem",large:((p=e.typography)==null||(h=p.pxToRem)==null?void 0:h.call(p,35))||"2.1875rem"}[t.fontSize],color:(m=(P=(e.vars||e).palette)==null||(P=P[t.color])==null?void 0:P.main)!=null?m:{action:(H=(e.vars||e).palette)==null||(H=H.action)==null?void 0:H.active,disabled:(g=(e.vars||e).palette)==null||(g=g.action)==null?void 0:g.disabled,inherit:void 0}[t.color]}}),yp=y.forwardRef(function(t,n){const o=et({props:t,name:"MuiSvgIcon"}),{children:i,className:a,color:c="inherit",component:u="svg",fontSize:f="medium",htmlColor:p,inheritViewBox:h=!1,titleAccess:m,viewBox:P="0 0 24 24"}=o,H=Oe(o,Vz),g=y.isValidElement(i)&&i.type==="svg",w=j({},o,{color:c,component:u,fontSize:f,instanceFontSize:t.fontSize,inheritViewBox:h,viewBox:P,hasSvgAsChild:g}),x={};h||(x.viewBox=P);const z=Iz(w);return v.jsxs(Wz,j({as:u,className:ze(z.root,a),focusable:"false",color:p,"aria-hidden":m?void 0:!0,role:m?"img":void 0,ref:n},x,H,g&&i.props,{ownerState:w,children:[g?i.props.children:i,m?v.jsx("title",{children:m}):null]}))});yp.muiName="SvgIcon";function Kn(e,t){function n(o,i){return v.jsx(yp,j({"data-testid":`${t}Icon`,ref:i},o,{children:e}))}return n.muiName=yp.muiName,y.memo(y.forwardRef(n))}const Jz={configure:e=>{SP.configure(e)}},Fz=Object.freeze(Object.defineProperty({__proto__:null,capitalize:Ae,createChainedFunction:gp,createSvgIcon:Kn,debounce:rv,deprecatedPropType:Lj,isMuiElement:Cu,ownerDocument:Bn,ownerWindow:$o,requirePropFactory:Xj,setRef:Ju,unstable_ClassNameGenerator:Jz,unstable_useEnhancedEffect:Mr,unstable_useId:es,unsupportedProp:Bj,useControlled:xs,useEventCallback:ar,useForkRef:on,useIsFocusVisible:sv},Symbol.toStringTag,{value:"Module"}));var Wm={exports:{}},Qt={};/** + */var a8;function y7(){if(a8)return qt;a8=1;var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,s=e?Symbol.for("react.strict_mode"):60108,a=e?Symbol.for("react.profiler"):60114,l=e?Symbol.for("react.provider"):60109,u=e?Symbol.for("react.context"):60110,f=e?Symbol.for("react.async_mode"):60111,p=e?Symbol.for("react.concurrent_mode"):60111,h=e?Symbol.for("react.forward_ref"):60112,m=e?Symbol.for("react.suspense"):60113,A=e?Symbol.for("react.suspense_list"):60120,H=e?Symbol.for("react.memo"):60115,y=e?Symbol.for("react.lazy"):60116,w=e?Symbol.for("react.block"):60121,x=e?Symbol.for("react.fundamental"):60117,S=e?Symbol.for("react.responder"):60118,C=e?Symbol.for("react.scope"):60119;function z(D){if(typeof D=="object"&&D!==null){var k=D.$$typeof;switch(k){case t:switch(D=D.type,D){case f:case p:case r:case a:case s:case m:return D;default:switch(D=D&&D.$$typeof,D){case u:case h:case y:case H:case l:return D;default:return k}}case n:return k}}}function O(D){return z(D)===p}return qt.AsyncMode=f,qt.ConcurrentMode=p,qt.ContextConsumer=u,qt.ContextProvider=l,qt.Element=t,qt.ForwardRef=h,qt.Fragment=r,qt.Lazy=y,qt.Memo=H,qt.Portal=n,qt.Profiler=a,qt.StrictMode=s,qt.Suspense=m,qt.isAsyncMode=function(D){return O(D)||z(D)===f},qt.isConcurrentMode=O,qt.isContextConsumer=function(D){return z(D)===u},qt.isContextProvider=function(D){return z(D)===l},qt.isElement=function(D){return typeof D=="object"&&D!==null&&D.$$typeof===t},qt.isForwardRef=function(D){return z(D)===h},qt.isFragment=function(D){return z(D)===r},qt.isLazy=function(D){return z(D)===y},qt.isMemo=function(D){return z(D)===H},qt.isPortal=function(D){return z(D)===n},qt.isProfiler=function(D){return z(D)===a},qt.isStrictMode=function(D){return z(D)===s},qt.isSuspense=function(D){return z(D)===m},qt.isValidElementType=function(D){return typeof D=="string"||typeof D=="function"||D===r||D===p||D===a||D===s||D===m||D===A||typeof D=="object"&&D!==null&&(D.$$typeof===y||D.$$typeof===H||D.$$typeof===l||D.$$typeof===u||D.$$typeof===h||D.$$typeof===x||D.$$typeof===S||D.$$typeof===C||D.$$typeof===w)},qt.typeOf=z,qt}var l8;function A7(){return l8||(l8=1,ym.exports=y7()),ym.exports}var Am,c8;function P7(){if(c8)return Am;c8=1;var e=A7(),t={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},n={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},r={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},a={};a[e.ForwardRef]=r,a[e.Memo]=s;function l(y){return e.isMemo(y)?s:a[y.$$typeof]||t}var u=Object.defineProperty,f=Object.getOwnPropertyNames,p=Object.getOwnPropertySymbols,h=Object.getOwnPropertyDescriptor,m=Object.getPrototypeOf,A=Object.prototype;function H(y,w,x){if(typeof w!="string"){if(A){var S=m(w);S&&S!==A&&H(y,S,x)}var C=f(w);p&&(C=C.concat(p(w)));for(var z=l(y),O=l(w),D=0;D=4;++r,s-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(s){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var H7={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},j7=!1,S7=/[A-Z]|^ms/g,z7=/_EMO_([^_]+?)_([^]*?)_EMO_/g,S0=function(t){return t.charCodeAt(1)===45},u8=function(t){return t!=null&&typeof t!="boolean"},Pm=m0(function(e){return S0(e)?e:e.replace(S7,"-$&").toLowerCase()}),f8=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(z7,function(r,s,a){return Ko={name:s,styles:a,next:Ko},s})}return H7[t]!==1&&!S0(t)&&typeof n=="number"&&n!==0?n+"px":n},O7="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function wu(e,t,n){if(n==null)return"";var r=n;if(r.__emotion_styles!==void 0)return r;switch(typeof n){case"boolean":return"";case"object":{var s=n;if(s.anim===1)return Ko={name:s.name,styles:s.styles,next:Ko},s.name;var a=n;if(a.styles!==void 0){var l=a.next;if(l!==void 0)for(;l!==void 0;)Ko={name:l.name,styles:l.styles,next:Ko},l=l.next;var u=a.styles+";";return u}return C7(e,t,n)}case"function":{if(e!==void 0){var f=Ko,p=n(e);return Ko=f,wu(e,t,p)}break}}var h=n;if(t==null)return h;var m=t[h];return m!==void 0?m:h}function C7(e,t,n){var r="";if(Array.isArray(n))for(var s=0;s96?R7:E7},h8=function(t,n,r){var s;if(n){var a=n.shouldForwardProp;s=t.__emotion_forwardProp&&a?function(l){return t.__emotion_forwardProp(l)&&a(l)}:a}return typeof s!="function"&&r&&(s=t.__emotion_forwardProp),s},M7=!1,L7=function(t){var n=t.cache,r=t.serialized,s=t.isStringTag;return H0(n,r,s),T7(function(){return j0(n,r,s)}),null},X7=function e(t,n){var r=t.__emotion_real===t,s=r&&t.__emotion_base||t,a,l;n!==void 0&&(a=n.label,l=n.target);var u=h8(t,n,r),f=u||v8(s),p=!f("as");return function(){var h=arguments,m=r&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(a!==void 0&&m.push("label:"+a+";"),h[0]==null||h[0].raw===void 0)m.push.apply(m,h);else{m.push(h[0][0]);for(var A=h.length,H=1;Ht(B7(s)?n:s):t;return v.jsx(k7,{styles:r})}/** + * @mui/styled-engine v6.1.10 + * + * @license MIT + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */function T0(e,t){return og(e,t)}function V7(e,t){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}const m8=[];function g8(e){return m8[0]=e,kp(m8)}function _o(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function k0(e){if(P.isValidElement(e)||!_o(e))return e;const t={};return Object.keys(e).forEach(n=>{t[n]=k0(e[n])}),t}function qn(e,t,n={clone:!0}){const r=n.clone?{...e}:e;return _o(e)&&_o(t)&&Object.keys(t).forEach(s=>{P.isValidElement(t[s])?r[s]=t[s]:_o(t[s])&&Object.prototype.hasOwnProperty.call(e,s)&&_o(e[s])?r[s]=qn(e[s],t[s],n):n.clone?r[s]=_o(t[s])?k0(t[s]):t[s]:r[s]=t[s]}),r}const I7=e=>{const t=Object.keys(e).map(n=>({key:n,val:e[n]}))||[];return t.sort((n,r)=>n.val-r.val),t.reduce((n,r)=>({...n,[r.key]:r.val}),{})};function W7(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:r=5,...s}=e,a=I7(t),l=Object.keys(a);function u(A){return`@media (min-width:${typeof t[A]=="number"?t[A]:A}${n})`}function f(A){return`@media (max-width:${(typeof t[A]=="number"?t[A]:A)-r/100}${n})`}function p(A,H){const y=l.indexOf(H);return`@media (min-width:${typeof t[A]=="number"?t[A]:A}${n}) and (max-width:${(y!==-1&&typeof t[l[y]]=="number"?t[l[y]]:H)-r/100}${n})`}function h(A){return l.indexOf(A)+1r.startsWith("@container")).sort((r,s)=>{var l,u;const a=/min-width:\s*([0-9.]+)/;return+(((l=r.match(a))==null?void 0:l[1])||0)-+(((u=s.match(a))==null?void 0:u[1])||0)});return n.length?n.reduce((r,s)=>{const a=t[s];return delete r[s],r[s]=a,r},{...t}):t}function F7(e,t){return t==="@"||t.startsWith("@")&&(e.some(n=>t.startsWith(`@${n}`))||!!t.match(/^@\d/))}function Y7(e,t){const n=t.match(/^@([^/]+)?\/?(.+)?$/);if(!n)return null;const[,r,s]=n,a=Number.isNaN(+r)?r||0:+r;return e.containerQueries(s).up(a)}function q7(e){const t=(a,l)=>a.replace("@media",l?`@container ${l}`:"@container");function n(a,l){a.up=(...u)=>t(e.breakpoints.up(...u),l),a.down=(...u)=>t(e.breakpoints.down(...u),l),a.between=(...u)=>t(e.breakpoints.between(...u),l),a.only=(...u)=>t(e.breakpoints.only(...u),l),a.not=(...u)=>{const f=t(e.breakpoints.not(...u),l);return f.includes("not all and")?f.replace("not all and ","").replace("min-width:","width<").replace("max-width:","width>").replace("and","or"):f}}const r={},s=a=>(n(r,a),r);return n(s),{...e,containerQueries:s}}const Z7={borderRadius:4};function cu(e,t){return t?qn(e,t,{clone:!1}):e}const Ep={xs:0,sm:600,md:900,lg:1200,xl:1536},y8={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${Ep[e]}px)`},G7={containerQueries:e=>({up:t=>{let n=typeof t=="number"?t:Ep[t]||t;return typeof n=="number"&&(n=`${n}px`),e?`@container ${e} (min-width:${n})`:`@container (min-width:${n})`}})};function Rr(e,t,n){const r=e.theme||{};if(Array.isArray(t)){const a=r.breakpoints||y8;return t.reduce((l,u,f)=>(l[a.up(a.keys[f])]=n(t[f]),l),{})}if(typeof t=="object"){const a=r.breakpoints||y8;return Object.keys(t).reduce((l,u)=>{if(F7(a.keys,u)){const f=Y7(r.containerQueries?r:G7,u);f&&(l[f]=n(t[u],u))}else if(Object.keys(a.values||Ep).includes(u)){const f=a.up(u);l[f]=n(t[u],u)}else{const f=u;l[f]=t[f]}return l},{})}return n(t)}function R0(e={}){var n;return((n=e.keys)==null?void 0:n.reduce((r,s)=>{const a=e.up(s);return r[a]={},r},{}))||{}}function E0(e,t){return e.reduce((n,r)=>{const s=n[r];return(!s||Object.keys(s).length===0)&&delete n[r],n},t)}function U7(e,...t){const n=R0(e),r=[n,...t].reduce((s,a)=>qn(s,a),{});return E0(Object.keys(n),r)}function Q7(e,t){if(typeof e!="object")return{};const n={},r=Object.keys(t);return Array.isArray(e)?r.forEach((s,a)=>{a{e[s]!=null&&(n[s]=!0)}),n}function sa({values:e,breakpoints:t,base:n}){const r=n||Q7(e,t),s=Object.keys(r);if(s.length===0)return e;let a;return s.reduce((l,u,f)=>(Array.isArray(e)?(l[u]=e[f]!=null?e[f]:e[a],a=f):typeof e=="object"?(l[u]=e[u]!=null?e[u]:e[a],a=u):l[u]=e,l),{})}function me(e){if(typeof e!="string")throw new Error(Ts(7));return e.charAt(0).toUpperCase()+e.slice(1)}function Sl(e,t,n=!0){if(!t||typeof t!="string")return null;if(e&&e.vars&&n){const r=`vars.${t}`.split(".").reduce((s,a)=>s&&s[a]?s[a]:null,e);if(r!=null)return r}return t.split(".").reduce((r,s)=>r&&r[s]!=null?r[s]:null,e)}function np(e,t,n,r=n){let s;return typeof e=="function"?s=e(n):Array.isArray(e)?s=e[n]||r:s=Sl(e,n)||r,t&&(s=t(s,r,e)),s}function kn(e){const{prop:t,cssProperty:n=e.prop,themeKey:r,transform:s}=e,a=l=>{if(l[t]==null)return null;const u=l[t],f=l.theme,p=Sl(f,r)||{};return Rr(l,u,m=>{let A=np(p,s,m);return m===A&&typeof m=="string"&&(A=np(p,s,`${t}${m==="default"?"":me(m)}`,m)),n===!1?A:{[n]:A}})};return a.propTypes={},a.filterProps=[t],a}function K7(e){const t={};return n=>(t[n]===void 0&&(t[n]=e(n)),t[n])}const _7={m:"margin",p:"padding"},$7={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},A8={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},eH=K7(e=>{if(e.length>2)if(A8[e])e=A8[e];else return[e];const[t,n]=e.split(""),r=_7[t],s=$7[n]||"";return Array.isArray(s)?s.map(a=>r+a):[r+s]}),uy=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],fy=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...uy,...fy];function Iu(e,t,n,r){const s=Sl(e,t,!0)??n;return typeof s=="number"||typeof s=="string"?a=>typeof a=="string"?a:typeof s=="string"?`calc(${a} * ${s})`:s*a:Array.isArray(s)?a=>{if(typeof a=="string")return a;const l=Math.abs(a),u=s[l];return a>=0?u:typeof u=="number"?-u:`-${u}`}:typeof s=="function"?s:()=>{}}function Mp(e){return Iu(e,"spacing",8)}function la(e,t){return typeof t=="string"||t==null?t:e(t)}function tH(e,t){return n=>e.reduce((r,s)=>(r[s]=la(t,n),r),{})}function nH(e,t,n,r){if(!t.includes(n))return null;const s=eH(n),a=tH(s,r),l=e[n];return Rr(e,l,a)}function M0(e,t){const n=Mp(e.theme);return Object.keys(e).map(r=>nH(e,t,r,n)).reduce(cu,{})}function bn(e){return M0(e,uy)}bn.propTypes={};bn.filterProps=uy;function xn(e){return M0(e,fy)}xn.propTypes={};xn.filterProps=fy;function L0(e=8,t=Mp({spacing:e})){if(e.mui)return e;const n=(...r)=>(r.length===0?[1]:r).map(a=>{const l=t(a);return typeof l=="number"?`${l}px`:l}).join(" ");return n.mui=!0,n}function Lp(...e){const t=e.reduce((r,s)=>(s.filterProps.forEach(a=>{r[a]=s}),r),{}),n=r=>Object.keys(r).reduce((s,a)=>t[a]?cu(s,t[a](r)):s,{});return n.propTypes={},n.filterProps=e.reduce((r,s)=>r.concat(s.filterProps),[]),n}function co(e){return typeof e!="number"?e:`${e}px solid`}function ho(e,t){return kn({prop:e,themeKey:"borders",transform:t})}const rH=ho("border",co),oH=ho("borderTop",co),sH=ho("borderRight",co),iH=ho("borderBottom",co),aH=ho("borderLeft",co),lH=ho("borderColor"),cH=ho("borderTopColor"),uH=ho("borderRightColor"),fH=ho("borderBottomColor"),dH=ho("borderLeftColor"),pH=ho("outline",co),vH=ho("outlineColor"),Xp=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=Iu(e.theme,"shape.borderRadius",4),n=r=>({borderRadius:la(t,r)});return Rr(e,e.borderRadius,n)}return null};Xp.propTypes={};Xp.filterProps=["borderRadius"];Lp(rH,oH,sH,iH,aH,lH,cH,uH,fH,dH,Xp,pH,vH);const Np=e=>{if(e.gap!==void 0&&e.gap!==null){const t=Iu(e.theme,"spacing",8),n=r=>({gap:la(t,r)});return Rr(e,e.gap,n)}return null};Np.propTypes={};Np.filterProps=["gap"];const Bp=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=Iu(e.theme,"spacing",8),n=r=>({columnGap:la(t,r)});return Rr(e,e.columnGap,n)}return null};Bp.propTypes={};Bp.filterProps=["columnGap"];const Vp=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=Iu(e.theme,"spacing",8),n=r=>({rowGap:la(t,r)});return Rr(e,e.rowGap,n)}return null};Vp.propTypes={};Vp.filterProps=["rowGap"];const hH=kn({prop:"gridColumn"}),mH=kn({prop:"gridRow"}),gH=kn({prop:"gridAutoFlow"}),yH=kn({prop:"gridAutoColumns"}),AH=kn({prop:"gridAutoRows"}),PH=kn({prop:"gridTemplateColumns"}),bH=kn({prop:"gridTemplateRows"}),xH=kn({prop:"gridTemplateAreas"}),wH=kn({prop:"gridArea"});Lp(Np,Bp,Vp,hH,mH,gH,yH,AH,PH,bH,xH,wH);function cl(e,t){return t==="grey"?t:e}const HH=kn({prop:"color",themeKey:"palette",transform:cl}),jH=kn({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:cl}),SH=kn({prop:"backgroundColor",themeKey:"palette",transform:cl});Lp(HH,jH,SH);function Yr(e){return e<=1&&e!==0?`${e*100}%`:e}const zH=kn({prop:"width",transform:Yr}),dy=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=n=>{var s,a,l,u,f;const r=((l=(a=(s=e.theme)==null?void 0:s.breakpoints)==null?void 0:a.values)==null?void 0:l[n])||Ep[n];return r?((f=(u=e.theme)==null?void 0:u.breakpoints)==null?void 0:f.unit)!=="px"?{maxWidth:`${r}${e.theme.breakpoints.unit}`}:{maxWidth:r}:{maxWidth:Yr(n)}};return Rr(e,e.maxWidth,t)}return null};dy.filterProps=["maxWidth"];const OH=kn({prop:"minWidth",transform:Yr}),CH=kn({prop:"height",transform:Yr}),DH=kn({prop:"maxHeight",transform:Yr}),TH=kn({prop:"minHeight",transform:Yr});kn({prop:"size",cssProperty:"width",transform:Yr});kn({prop:"size",cssProperty:"height",transform:Yr});const kH=kn({prop:"boxSizing"});Lp(zH,dy,OH,CH,DH,TH,kH);const Wu={border:{themeKey:"borders",transform:co},borderTop:{themeKey:"borders",transform:co},borderRight:{themeKey:"borders",transform:co},borderBottom:{themeKey:"borders",transform:co},borderLeft:{themeKey:"borders",transform:co},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:co},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:Xp},color:{themeKey:"palette",transform:cl},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:cl},backgroundColor:{themeKey:"palette",transform:cl},p:{style:xn},pt:{style:xn},pr:{style:xn},pb:{style:xn},pl:{style:xn},px:{style:xn},py:{style:xn},padding:{style:xn},paddingTop:{style:xn},paddingRight:{style:xn},paddingBottom:{style:xn},paddingLeft:{style:xn},paddingX:{style:xn},paddingY:{style:xn},paddingInline:{style:xn},paddingInlineStart:{style:xn},paddingInlineEnd:{style:xn},paddingBlock:{style:xn},paddingBlockStart:{style:xn},paddingBlockEnd:{style:xn},m:{style:bn},mt:{style:bn},mr:{style:bn},mb:{style:bn},ml:{style:bn},mx:{style:bn},my:{style:bn},margin:{style:bn},marginTop:{style:bn},marginRight:{style:bn},marginBottom:{style:bn},marginLeft:{style:bn},marginX:{style:bn},marginY:{style:bn},marginInline:{style:bn},marginInlineStart:{style:bn},marginInlineEnd:{style:bn},marginBlock:{style:bn},marginBlockStart:{style:bn},marginBlockEnd:{style:bn},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:Np},rowGap:{style:Vp},columnGap:{style:Bp},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Yr},maxWidth:{style:dy},minWidth:{transform:Yr},height:{transform:Yr},maxHeight:{transform:Yr},minHeight:{transform:Yr},boxSizing:{},font:{themeKey:"font"},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function RH(...e){const t=e.reduce((r,s)=>r.concat(Object.keys(s)),[]),n=new Set(t);return e.every(r=>n.size===Object.keys(r).length)}function EH(e,t){return typeof e=="function"?e(t):e}function MH(){function e(n,r,s,a){const l={[n]:r,theme:s},u=a[n];if(!u)return{[n]:r};const{cssProperty:f=n,themeKey:p,transform:h,style:m}=u;if(r==null)return null;if(p==="typography"&&r==="inherit")return{[n]:r};const A=Sl(s,p)||{};return m?m(l):Rr(l,r,y=>{let w=np(A,h,y);return y===w&&typeof y=="string"&&(w=np(A,h,`${n}${y==="default"?"":me(y)}`,y)),f===!1?w:{[f]:w}})}function t(n){const{sx:r,theme:s={}}=n||{};if(!r)return null;const a=s.unstable_sxConfig??Wu;function l(u){let f=u;if(typeof u=="function")f=u(s);else if(typeof u!="object")return u;if(!f)return null;const p=R0(s.breakpoints),h=Object.keys(p);let m=p;return Object.keys(f).forEach(A=>{const H=EH(f[A],s);if(H!=null)if(typeof H=="object")if(a[A])m=cu(m,e(A,H,s,a));else{const y=Rr({theme:s},H,w=>({[A]:w}));RH(y,H)?m[A]=t({sx:H,theme:s}):m=cu(m,y)}else m=cu(m,e(A,H,s,a))}),J7(s,E0(h,m))}return Array.isArray(r)?r.map(l):l(r)}return t}const Ai=MH();Ai.filterProps=["sx"];function LH(e,t){var r;const n=this;if(n.vars){if(!((r=n.colorSchemes)!=null&&r[e])||typeof n.getColorSchemeSelector!="function")return{};let s=n.getColorSchemeSelector(e);return s==="&"?t:((s.includes("data-")||s.includes("."))&&(s=`*:where(${s.replace(/\s*&$/,"")}) &`),{[s]:t})}return n.palette.mode===e?t:{}}function Ip(e={},...t){const{breakpoints:n={},palette:r={},spacing:s,shape:a={},...l}=e,u=W7(n),f=L0(s);let p=qn({breakpoints:u,direction:"ltr",components:{},palette:{mode:"light",...r},spacing:f,shape:{...Z7,...a}},l);return p=q7(p),p.applyStyles=LH,p=t.reduce((h,m)=>qn(h,m),p),p.unstable_sxConfig={...Wu,...l==null?void 0:l.unstable_sxConfig},p.unstable_sx=function(m){return Ai({sx:m,theme:this})},p}function XH(e){return Object.keys(e).length===0}function py(e=null){const t=P.useContext(Rp);return!t||XH(t)?e:t}const NH=Ip();function Wp(e=NH){return py(e)}function BH({styles:e,themeId:t,defaultTheme:n={}}){const r=Wp(n),s=typeof e=="function"?e(t&&r[t]||r):e;return v.jsx(D0,{styles:s})}const VH=e=>{var r;const t={systemProps:{},otherProps:{}},n=((r=e==null?void 0:e.theme)==null?void 0:r.unstable_sxConfig)??Wu;return Object.keys(e).forEach(s=>{n[s]?t.systemProps[s]=e[s]:t.otherProps[s]=e[s]}),t};function Jp(e){const{sx:t,...n}=e,{systemProps:r,otherProps:s}=VH(n);let a;return Array.isArray(t)?a=[r,...t]:typeof t=="function"?a=(...l)=>{const u=t(...l);return _o(u)?{...r,...u}:r}:a={...r,...t},{...s,sx:a}}const P8=e=>e,IH=()=>{let e=P8;return{configure(t){e=t},generate(t){return e(t)},reset(){e=P8}}},X0=IH();function N0(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var s=e.length;for(t=0;tu!=="theme"&&u!=="sx"&&u!=="as"})(Ai);return P.forwardRef(function(f,p){const h=Wp(n),{className:m,component:A="div",...H}=Jp(f);return v.jsx(a,{as:A,ref:p,className:Oe(m,s?s(r):r),theme:t&&h[t]||h,...H})})}const JH={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function Ze(e,t,n="Mui"){const r=JH[t];return r?`${n}-${r}`:`${X0.generate(e)}-${t}`}function Ge(e,t,n="Mui"){const r={};return t.forEach(s=>{r[s]=Ze(e,s,n)}),r}function B0(e){const{variants:t,...n}=e,r={variants:t,style:g8(n),isProcessed:!0};return r.style===n||t&&t.forEach(s=>{typeof s.style!="function"&&(s.style=g8(s.style))}),r}const FH=Ip();function bm(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}function YH(e){return e?(t,n)=>n[e]:null}function qH(e,t,n){e.theme=GH(e.theme)?n:e.theme[t]||e.theme}function Xd(e,t){const n=typeof t=="function"?t(e):t;if(Array.isArray(n))return n.flatMap(r=>Xd(e,r));if(Array.isArray(n==null?void 0:n.variants)){let r;if(n.isProcessed)r=n.style;else{const{variants:s,...a}=n;r=a}return V0(e,n.variants,[r])}return n!=null&&n.isProcessed?n.style:n}function V0(e,t,n=[]){var s;let r;e:for(let a=0;a{V7(u,D=>D.filter(k=>k!==Ai));const{name:p,slot:h,skipVariantsResolver:m,skipSx:A,overridesResolver:H=YH(QH(h)),...y}=f,w=m!==void 0?m:h&&h!=="Root"&&h!=="root"||!1,x=A||!1;let S=bm;h==="Root"||h==="root"?S=r:h?S=s:UH(u)&&(S=void 0);const C=T0(u,{shouldForwardProp:S,label:ZH(),...y}),z=D=>{if(typeof D=="function"&&D.__emotion_real!==D)return function(R){return Xd(R,D)};if(_o(D)){const k=B0(D);return k.variants?function(M){return Xd(M,k)}:k.style}return D},O=(...D)=>{const k=[],R=D.map(z),M=[];if(k.push(a),p&&H&&M.push(function(I){var ne,re;const K=(re=(ne=I.theme.components)==null?void 0:ne[p])==null?void 0:re.styleOverrides;if(!K)return null;const W={};for(const F in K)W[F]=Xd(I,K[F]);return H(I,W)}),p&&!w&&M.push(function(I){var W,ne;const J=I.theme,K=(ne=(W=J==null?void 0:J.components)==null?void 0:W[p])==null?void 0:ne.variants;return K?V0(I,K):null}),x||M.push(Ai),Array.isArray(R[0])){const B=R.shift(),I=new Array(k.length).fill(""),J=new Array(M.length).fill("");let K;K=[...I,...B,...J],K.raw=[...I,...B.raw,...J],k.unshift(K)}const L=[...k,...R,...M],j=C(...L);return u.muiName&&(j.muiName=u.muiName),j};return C.withConfig&&(O.withConfig=C.withConfig),O}}function ZH(e,t){return void 0}function GH(e){for(const t in e)return!1;return!0}function UH(e){return typeof e=="string"&&e.charCodeAt(0)>96}function QH(e){return e&&e.charAt(0).toLowerCase()+e.slice(1)}const KH=I0();function zl(e,t){const n={...t};for(const r in e)if(Object.prototype.hasOwnProperty.call(e,r)){const s=r;if(s==="components"||s==="slots")n[s]={...e[s],...n[s]};else if(s==="componentsProps"||s==="slotProps"){const a=e[s],l=t[s];if(!l)n[s]=a||{};else if(!a)n[s]=l;else{n[s]={...l};for(const u in a)if(Object.prototype.hasOwnProperty.call(a,u)){const f=u;n[s][f]=zl(a[f],l[f])}}}else n[s]===void 0&&(n[s]=e[s])}return n}function W0(e){const{theme:t,name:n,props:r}=e;return!t||!t.components||!t.components[n]||!t.components[n].defaultProps?r:zl(t.components[n].defaultProps,r)}function _H({props:e,name:t,defaultTheme:n,themeId:r}){let s=Wp(n);return r&&(s=s[r]||s),W0({theme:s,name:t,props:e})}const fo=typeof window<"u"?P.useLayoutEffect:P.useEffect;function $H(e,t,n,r,s){const[a,l]=P.useState(()=>s&&n?n(e).matches:r?r(e).matches:t);return fo(()=>{if(!n)return;const u=n(e),f=()=>{l(u.matches)};return f(),u.addEventListener("change",f),()=>{u.removeEventListener("change",f)}},[e,n]),a}const ej={...ep},J0=ej.useSyncExternalStore;function tj(e,t,n,r,s){const a=P.useCallback(()=>t,[t]),l=P.useMemo(()=>{if(s&&n)return()=>n(e).matches;if(r!==null){const{matches:h}=r(e);return()=>h}return a},[a,e,r,s,n]),[u,f]=P.useMemo(()=>{if(n===null)return[a,()=>()=>{}];const h=n(e);return[()=>h.matches,m=>(h.addEventListener("change",m),()=>{h.removeEventListener("change",m)})]},[a,n,e]);return J0(f,u,l)}function nj(e={}){const{themeId:t}=e;return function(r,s={}){let a=py();a&&t&&(a=a[t]||a);const l=typeof window<"u"&&typeof window.matchMedia<"u",{defaultMatches:u=!1,matchMedia:f=l?window.matchMedia:null,ssrMatchMedia:p=null,noSsr:h=!1}=W0({name:"MuiUseMediaQuery",props:s,theme:a});let m=typeof r=="function"?r(a):r;return m=m.replace(/^@media( ?)/m,""),(J0!==void 0?tj:$H)(m,u,f,p,h)}}function rj(e,t=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,n))}function vy(e,t=0,n=1){return rj(e,t,n)}function oj(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let n=e.match(t);return n&&n[0].length===1&&(n=n.map(r=>r+r)),n?`rgb${n.length===4?"a":""}(${n.map((r,s)=>s<3?parseInt(r,16):Math.round(parseInt(r,16)/255*1e3)/1e3).join(", ")})`:""}function Pi(e){if(e.type)return e;if(e.charAt(0)==="#")return Pi(oj(e));const t=e.indexOf("("),n=e.substring(0,t);if(!["rgb","rgba","hsl","hsla","color"].includes(n))throw new Error(Ts(9,e));let r=e.substring(t+1,e.length-1),s;if(n==="color"){if(r=r.split(" "),s=r.shift(),r.length===4&&r[3].charAt(0)==="/"&&(r[3]=r[3].slice(1)),!["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].includes(s))throw new Error(Ts(10,s))}else r=r.split(",");return r=r.map(a=>parseFloat(a)),{type:n,values:r,colorSpace:s}}const sj=e=>{const t=Pi(e);return t.values.slice(0,3).map((n,r)=>t.type.includes("hsl")&&r!==0?`${n}%`:n).join(" ")},Kc=(e,t)=>{try{return sj(e)}catch{return e}};function Fp(e){const{type:t,colorSpace:n}=e;let{values:r}=e;return t.includes("rgb")?r=r.map((s,a)=>a<3?parseInt(s,10):s):t.includes("hsl")&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),t.includes("color")?r=`${n} ${r.join(" ")}`:r=`${r.join(", ")}`,`${t}(${r})`}function F0(e){e=Pi(e);const{values:t}=e,n=t[0],r=t[1]/100,s=t[2]/100,a=r*Math.min(s,1-s),l=(p,h=(p+n/30)%12)=>s-a*Math.max(Math.min(h-3,9-h,1),-1);let u="rgb";const f=[Math.round(l(0)*255),Math.round(l(8)*255),Math.round(l(4)*255)];return e.type==="hsla"&&(u+="a",f.push(t[3])),Fp({type:u,values:f})}function sg(e){e=Pi(e);let t=e.type==="hsl"||e.type==="hsla"?Pi(F0(e)).values:e.values;return t=t.map(n=>(e.type!=="color"&&(n/=255),n<=.03928?n/12.92:((n+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function ij(e,t){const n=sg(e),r=sg(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function Pt(e,t){return e=Pi(e),t=vy(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,Fp(e)}function hd(e,t,n){try{return Pt(e,t)}catch{return e}}function ca(e,t){if(e=Pi(e),t=vy(t),e.type.includes("hsl"))e.values[2]*=1-t;else if(e.type.includes("rgb")||e.type.includes("color"))for(let n=0;n<3;n+=1)e.values[n]*=1-t;return Fp(e)}function Kt(e,t,n){try{return ca(e,t)}catch{return e}}function ua(e,t){if(e=Pi(e),t=vy(t),e.type.includes("hsl"))e.values[2]+=(100-e.values[2])*t;else if(e.type.includes("rgb"))for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(e.type.includes("color"))for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return Fp(e)}function _t(e,t,n){try{return ua(e,t)}catch{return e}}function Y0(e,t=.15){return sg(e)>.5?ca(e,t):ua(e,t)}function md(e,t,n){try{return Y0(e,t)}catch{return e}}function ig(...e){return e.reduce((t,n)=>n==null?t:function(...s){t.apply(this,s),n.apply(this,s)},()=>{})}function hy(e,t=166){let n;function r(...s){const a=()=>{e.apply(this,s)};clearTimeout(n),n=setTimeout(a,t)}return r.clear=()=>{clearTimeout(n)},r}function Nd(e,t){var n,r,s;return P.isValidElement(e)&&t.indexOf(e.type.muiName??((s=(r=(n=e.type)==null?void 0:n._payload)==null?void 0:r.value)==null?void 0:s.muiName))!==-1}function ir(e){return e&&e.ownerDocument||document}function Mo(e){return ir(e).defaultView||window}function rp(e,t){typeof e=="function"?e(t):e&&(e.current=t)}let b8=0;function aj(e){const[t,n]=P.useState(e),r=e||t;return P.useEffect(()=>{t==null&&(b8+=1,n(`mui-${b8}`))},[t]),r}const lj={...ep},x8=lj.useId;function ks(e){if(x8!==void 0){const t=x8();return e??t}return aj(e)}function yi({controlled:e,default:t,name:n,state:r="value"}){const{current:s}=P.useRef(e!==void 0),[a,l]=P.useState(t),u=s?e:a,f=P.useCallback(p=>{s||l(p)},[]);return[u,f]}function mr(e){const t=P.useRef(e);return fo(()=>{t.current=e}),P.useRef((...n)=>(0,t.current)(...n)).current}function rn(...e){return P.useMemo(()=>e.every(t=>t==null)?null:t=>{e.forEach(n=>{rp(n,t)})},e)}const w8={};function q0(e,t){const n=P.useRef(w8);return n.current===w8&&(n.current=e(t)),n}const cj=[];function uj(e){P.useEffect(e,cj)}class Yp{constructor(){Cc(this,"currentId",null);Cc(this,"clear",()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)});Cc(this,"disposeEffect",()=>this.clear)}static create(){return new Yp}start(t,n){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,n()},t)}}function Gi(){const e=q0(Yp.create).current;return uj(e.disposeEffect),e}function Ol(e){try{return e.matches(":focus-visible")}catch{}return!1}function Z0(e=window){const t=e.document.documentElement.clientWidth;return e.innerWidth-t}const fj=e=>{const t=P.useRef({});return P.useEffect(()=>{t.current=e}),t.current};function Qe(e,t,n=void 0){const r={};for(const s in e){const a=e[s];let l="",u=!0;for(let f=0;fr.match(/^on[A-Z]/)&&typeof e[r]=="function"&&!t.includes(r)).forEach(r=>{n[r]=e[r]}),n}function H8(e){if(e===void 0)return{};const t={};return Object.keys(e).filter(n=>!(n.match(/^on[A-Z]/)&&typeof e[n]=="function")).forEach(n=>{t[n]=e[n]}),t}function U0(e){const{getSlotProps:t,additionalProps:n,externalSlotProps:r,externalForwardedProps:s,className:a}=e;if(!t){const H=Oe(n==null?void 0:n.className,a,s==null?void 0:s.className,r==null?void 0:r.className),y={...n==null?void 0:n.style,...s==null?void 0:s.style,...r==null?void 0:r.style},w={...n,...s,...r};return H.length>0&&(w.className=H),Object.keys(y).length>0&&(w.style=y),{props:w,internalRef:void 0}}const l=op({...s,...r}),u=H8(r),f=H8(s),p=t(l),h=Oe(p==null?void 0:p.className,n==null?void 0:n.className,a,s==null?void 0:s.className,r==null?void 0:r.className),m={...p==null?void 0:p.style,...n==null?void 0:n.style,...s==null?void 0:s.style,...r==null?void 0:r.style},A={...p,...n,...f,...u};return h.length>0&&(A.className=h),Object.keys(m).length>0&&(A.style=m),{props:A,internalRef:p.ref}}function Q0(e,t,n){return typeof e=="function"?e(t,n):e}function sp(e){var m;const{elementType:t,externalSlotProps:n,ownerState:r,skipResolvingSlotProps:s=!1,...a}=e,l=s?{}:Q0(n,r),{props:u,internalRef:f}=U0({...a,externalSlotProps:l}),p=rn(f,l==null?void 0:l.ref,(m=e.additionalProps)==null?void 0:m.ref);return G0(t,{...u,ref:p},r)}function xi(e){var t;return parseInt(P.version,10)>=19?((t=e==null?void 0:e.props)==null?void 0:t.ref)||null:(e==null?void 0:e.ref)||null}const K0=P.createContext(null);function my(){return P.useContext(K0)}const pj=typeof Symbol=="function"&&Symbol.for,vj=pj?Symbol.for("mui.nested"):"__THEME_NESTED__";function hj(e,t){return typeof t=="function"?t(e):{...e,...t}}function mj(e){const{children:t,theme:n}=e,r=my(),s=P.useMemo(()=>{const a=r===null?{...n}:hj(r,n);return a!=null&&(a[vj]=r!==null),a},[n,r]);return v.jsx(K0.Provider,{value:s,children:t})}const _0=P.createContext();function gj({value:e,...t}){return v.jsx(_0.Provider,{value:e??!0,...t})}const Ju=()=>P.useContext(_0)??!1,$0=P.createContext(void 0);function yj({value:e,children:t}){return v.jsx($0.Provider,{value:e,children:t})}function Aj(e){const{theme:t,name:n,props:r}=e;if(!t||!t.components||!t.components[n])return r;const s=t.components[n];return s.defaultProps?zl(s.defaultProps,r):!s.styleOverrides&&!s.variants?zl(s,r):r}function Pj({props:e,name:t}){const n=P.useContext($0);return Aj({props:e,name:t,theme:{components:n}})}const j8={};function S8(e,t,n,r=!1){return P.useMemo(()=>{const s=e&&t[e]||t;if(typeof n=="function"){const a=n(s),l=e?{...t,[e]:a}:a;return r?()=>l:l}return e?{...t,[e]:n}:{...t,...n}},[e,t,n,r])}function e1(e){const{children:t,theme:n,themeId:r}=e,s=py(j8),a=my()||j8,l=S8(r,s,n),u=S8(r,a,n,!0),f=(r?l[r]:l).direction==="rtl";return v.jsx(mj,{theme:u,children:v.jsx(Rp.Provider,{value:l,children:v.jsx(gj,{value:f,children:v.jsx(yj,{value:r?l[r].components:l.components,children:t})})})})}const z8={theme:void 0};function bj(e){let t,n;return function(s){let a=t;return(a===void 0||s.theme!==n)&&(z8.theme=s.theme,a=B0(e(z8)),t=a,n=s.theme),a}}const gy="mode",yy="color-scheme",xj="data-color-scheme";function wj(e){const{defaultMode:t="system",defaultLightColorScheme:n="light",defaultDarkColorScheme:r="dark",modeStorageKey:s=gy,colorSchemeStorageKey:a=yy,attribute:l=xj,colorSchemeNode:u="document.documentElement",nonce:f}=e||{};let p="",h=l;if(l==="class"&&(h=".%s"),l==="data"&&(h="[data-%s]"),h.startsWith(".")){const A=h.substring(1);p+=`${u}.classList.remove('${A}'.replace('%s', light), '${A}'.replace('%s', dark)); + ${u}.classList.add('${A}'.replace('%s', colorScheme));`}const m=h.match(/\[([^\]]+)\]/);if(m){const[A,H]=m[1].split("=");H||(p+=`${u}.removeAttribute('${A}'.replace('%s', light)); + ${u}.removeAttribute('${A}'.replace('%s', dark));`),p+=` + ${u}.setAttribute('${A}'.replace('%s', colorScheme), ${H?`${H}.replace('%s', colorScheme)`:'""'});`}else p+=`${u}.setAttribute('${h}', colorScheme);`;return v.jsx("script",{suppressHydrationWarning:!0,nonce:typeof window>"u"?f:"",dangerouslySetInnerHTML:{__html:`(function() { +try { + let colorScheme = ''; + const mode = localStorage.getItem('${s}') || '${t}'; + const dark = localStorage.getItem('${a}-dark') || '${r}'; + const light = localStorage.getItem('${a}-light') || '${n}'; + if (mode === 'system') { + // handle system mode + const mql = window.matchMedia('(prefers-color-scheme: dark)'); + if (mql.matches) { + colorScheme = dark + } else { + colorScheme = light + } + } + if (mode === 'light') { + colorScheme = light; + } + if (mode === 'dark') { + colorScheme = dark; + } + if (colorScheme) { + ${p} + } +} catch(e){}})();`}},"mui-color-scheme-init")}function O8(e){if(typeof window<"u"&&typeof window.matchMedia=="function"&&e==="system")return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}function t1(e,t){if(e.mode==="light"||e.mode==="system"&&e.systemMode==="light")return t("light");if(e.mode==="dark"||e.mode==="system"&&e.systemMode==="dark")return t("dark")}function Hj(e){return t1(e,t=>{if(t==="light")return e.lightColorScheme;if(t==="dark")return e.darkColorScheme})}function xm(e,t){if(typeof window>"u")return;let n;try{n=localStorage.getItem(e)||void 0,n||localStorage.setItem(e,t)}catch{}return n||t}function jj(e){const{defaultMode:t="light",defaultLightColorScheme:n,defaultDarkColorScheme:r,supportedColorSchemes:s=[],modeStorageKey:a=gy,colorSchemeStorageKey:l=yy,storageWindow:u=typeof window>"u"?void 0:window,noSsr:f=!1}=e,p=s.join(","),h=s.length>1,[m,A]=P.useState(()=>{const O=xm(a,t),D=xm(`${l}-light`,n),k=xm(`${l}-dark`,r);return{mode:O,systemMode:O8(O),lightColorScheme:D,darkColorScheme:k}}),[H,y]=P.useState(f||!h);P.useEffect(()=>{y(!0)},[]);const w=Hj(m),x=P.useCallback(O=>{A(D=>{if(O===D.mode)return D;const k=O??t;try{localStorage.setItem(a,k)}catch{}return{...D,mode:k,systemMode:O8(k)}})},[a,t]),S=P.useCallback(O=>{O?typeof O=="string"?O&&!p.includes(O)?console.error(`\`${O}\` does not exist in \`theme.colorSchemes\`.`):A(D=>{const k={...D};return t1(D,R=>{try{localStorage.setItem(`${l}-${R}`,O)}catch{}R==="light"&&(k.lightColorScheme=O),R==="dark"&&(k.darkColorScheme=O)}),k}):A(D=>{const k={...D},R=O.light===null?n:O.light,M=O.dark===null?r:O.dark;if(R)if(!p.includes(R))console.error(`\`${R}\` does not exist in \`theme.colorSchemes\`.`);else{k.lightColorScheme=R;try{localStorage.setItem(`${l}-light`,R)}catch{}}if(M)if(!p.includes(M))console.error(`\`${M}\` does not exist in \`theme.colorSchemes\`.`);else{k.darkColorScheme=M;try{localStorage.setItem(`${l}-dark`,M)}catch{}}return k}):A(D=>{try{localStorage.setItem(`${l}-light`,n),localStorage.setItem(`${l}-dark`,r)}catch{}return{...D,lightColorScheme:n,darkColorScheme:r}})},[p,l,n,r]),C=P.useCallback(O=>{m.mode==="system"&&A(D=>{const k=O!=null&&O.matches?"dark":"light";return D.systemMode===k?D:{...D,systemMode:k}})},[m.mode]),z=P.useRef(C);return z.current=C,P.useEffect(()=>{if(typeof window.matchMedia!="function"||!h)return;const O=(...k)=>z.current(...k),D=window.matchMedia("(prefers-color-scheme: dark)");return D.addListener(O),O(D),()=>{D.removeListener(O)}},[h]),P.useEffect(()=>{if(u&&h){const O=D=>{const k=D.newValue;typeof D.key=="string"&&D.key.startsWith(l)&&(!k||p.match(k))&&(D.key.endsWith("light")&&S({light:k}),D.key.endsWith("dark")&&S({dark:k})),D.key===a&&(!k||["light","dark","system"].includes(k))&&x(k||t)};return u.addEventListener("storage",O),()=>{u.removeEventListener("storage",O)}}},[S,x,a,l,p,t,u,h]),{...m,mode:H?m.mode:void 0,systemMode:H?m.systemMode:void 0,colorScheme:H?w:void 0,setMode:x,setColorScheme:S}}const Sj="*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";function zj(e){const{themeId:t,theme:n={},modeStorageKey:r=gy,colorSchemeStorageKey:s=yy,disableTransitionOnChange:a=!1,defaultColorScheme:l,resolveTheme:u}=e,f={allColorSchemes:[],colorScheme:void 0,darkColorScheme:void 0,lightColorScheme:void 0,mode:void 0,setColorScheme:()=>{},setMode:()=>{},systemMode:void 0},p=P.createContext(void 0),h=()=>P.useContext(p)||f,m={},A={};function H(S){var Ae,je,st,wt;const{children:C,theme:z,modeStorageKey:O=r,colorSchemeStorageKey:D=s,disableTransitionOnChange:k=a,storageWindow:R=typeof window>"u"?void 0:window,documentNode:M=typeof document>"u"?void 0:document,colorSchemeNode:L=typeof document>"u"?void 0:document.documentElement,disableNestedContext:j=!1,disableStyleSheetGeneration:B=!1,defaultMode:I="system",noSsr:J}=S,K=P.useRef(!1),W=my(),ne=P.useContext(p),re=!!ne&&!j,F=P.useMemo(()=>z||(typeof n=="function"?n():n),[z]),_=F[t],E=_||F,{colorSchemes:G=m,components:X=A,cssVarPrefix:ee}=E,te=Object.keys(G).filter(nt=>!!G[nt]).join(","),ue=P.useMemo(()=>te.split(","),[te]),de=typeof l=="string"?l:l.light,xe=typeof l=="string"?l:l.dark,ve=G[de]&&G[xe]?I:((je=(Ae=G[E.defaultColorScheme])==null?void 0:Ae.palette)==null?void 0:je.mode)||((st=E.palette)==null?void 0:st.mode),{mode:be,setMode:Xe,systemMode:Ie,lightColorScheme:He,darkColorScheme:Ke,colorScheme:we,setColorScheme:tt}=jj({supportedColorSchemes:ue,defaultLightColorScheme:de,defaultDarkColorScheme:xe,modeStorageKey:O,colorSchemeStorageKey:D,defaultMode:ve,storageWindow:R,noSsr:J});let Le=be,dt=we;re&&(Le=ne.mode,dt=ne.colorScheme);const N=P.useMemo(()=>{var Ht;const nt=dt||E.defaultColorScheme,ft=((Ht=E.generateThemeVars)==null?void 0:Ht.call(E))||E.vars,ct={...E,components:X,colorSchemes:G,cssVarPrefix:ee,vars:ft};if(typeof ct.generateSpacing=="function"&&(ct.spacing=ct.generateSpacing()),nt){const We=G[nt];We&&typeof We=="object"&&Object.keys(We).forEach(Dt=>{We[Dt]&&typeof We[Dt]=="object"?ct[Dt]={...ct[Dt],...We[Dt]}:ct[Dt]=We[Dt]})}return u?u(ct):ct},[E,dt,X,G,ee]),$=E.colorSchemeSelector;P.useEffect(()=>{if(dt&&L&&$&&$!=="media"){const nt=$;let ft=$;if(nt==="class"&&(ft=".%s"),nt==="data"&&(ft="[data-%s]"),nt!=null&&nt.startsWith("data-")&&!nt.includes("%s")&&(ft=`[${nt}="%s"]`),ft.startsWith("."))L.classList.remove(...ue.map(ct=>ft.substring(1).replace("%s",ct))),L.classList.add(ft.substring(1).replace("%s",dt));else{const ct=ft.replace("%s",dt).match(/\[([^\]]+)\]/);if(ct){const[Ht,We]=ct[1].split("=");We||ue.forEach(Dt=>{L.removeAttribute(Ht.replace(dt,Dt))}),L.setAttribute(Ht,We?We.replace(/"|'/g,""):"")}else L.setAttribute(ft,dt)}}},[dt,$,L,ue]),P.useEffect(()=>{let nt;if(k&&K.current&&M){const ft=M.createElement("style");ft.appendChild(M.createTextNode(Sj)),M.head.appendChild(ft),window.getComputedStyle(M.body),nt=setTimeout(()=>{M.head.removeChild(ft)},1)}return()=>{clearTimeout(nt)}},[dt,k,M]),P.useEffect(()=>(K.current=!0,()=>{K.current=!1}),[]);const se=P.useMemo(()=>({allColorSchemes:ue,colorScheme:dt,darkColorScheme:Ke,lightColorScheme:He,mode:Le,setColorScheme:tt,setMode:Xe,systemMode:Ie}),[ue,dt,Ke,He,Le,tt,Xe,Ie,N.colorSchemeSelector]);let ye=!0;(B||E.cssVariables===!1||re&&(W==null?void 0:W.cssVarPrefix)===ee)&&(ye=!1);const ce=v.jsxs(P.Fragment,{children:[v.jsx(e1,{themeId:_?t:void 0,theme:N,children:C}),ye&&v.jsx(D0,{styles:((wt=N.generateStyleSheets)==null?void 0:wt.call(N))||[]})]});return re?ce:v.jsx(p.Provider,{value:se,children:ce})}const y=typeof l=="string"?l:l.light,w=typeof l=="string"?l:l.dark;return{CssVarsProvider:H,useColorScheme:h,getInitColorSchemeScript:S=>wj({colorSchemeStorageKey:s,defaultLightColorScheme:y,defaultDarkColorScheme:w,modeStorageKey:r,...S})}}function Oj(e=""){function t(...r){if(!r.length)return"";const s=r[0];return typeof s=="string"&&!s.match(/(#|\(|\)|(-?(\d*\.)?\d+)(px|em|%|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc))|^(-?(\d*\.)?\d+)$|(\d+ \d+ \d+)/)?`, var(--${e?`${e}-`:""}${s}${t(...r.slice(1))})`:`, ${s}`}return(r,...s)=>`var(--${e?`${e}-`:""}${r}${t(...s)})`}const C8=(e,t,n,r=[])=>{let s=e;t.forEach((a,l)=>{l===t.length-1?Array.isArray(s)?s[Number(a)]=n:s&&typeof s=="object"&&(s[a]=n):s&&typeof s=="object"&&(s[a]||(s[a]=r.includes(a)?[]:{}),s=s[a])})},Cj=(e,t,n)=>{function r(s,a=[],l=[]){Object.entries(s).forEach(([u,f])=>{(!n||n&&!n([...a,u]))&&f!=null&&(typeof f=="object"&&Object.keys(f).length>0?r(f,[...a,u],Array.isArray(f)?[...l,u]:l):t([...a,u],f,l))})}r(e)},Dj=(e,t)=>typeof t=="number"?["lineHeight","fontWeight","opacity","zIndex"].some(r=>e.includes(r))||e[e.length-1].toLowerCase().includes("opacity")?t:`${t}px`:t;function wm(e,t){const{prefix:n,shouldSkipGeneratingVar:r}=t||{},s={},a={},l={};return Cj(e,(u,f,p)=>{if((typeof f=="string"||typeof f=="number")&&(!r||!r(u,f))){const h=`--${n?`${n}-`:""}${u.join("-")}`,m=Dj(u,f);Object.assign(s,{[h]:m}),C8(a,u,`var(${h})`,p),C8(l,u,`var(${h}, ${m})`,p)}},u=>u[0]==="vars"),{css:s,vars:a,varsWithDefaults:l}}function Tj(e,t={}){const{getSelector:n=x,disableCssColorScheme:r,colorSchemeSelector:s}=t,{colorSchemes:a={},components:l,defaultColorScheme:u="light",...f}=e,{vars:p,css:h,varsWithDefaults:m}=wm(f,t);let A=m;const H={},{[u]:y,...w}=a;if(Object.entries(w||{}).forEach(([z,O])=>{const{vars:D,css:k,varsWithDefaults:R}=wm(O,t);A=qn(A,R),H[z]={css:k,vars:D}}),y){const{css:z,vars:O,varsWithDefaults:D}=wm(y,t);A=qn(A,D),H[u]={css:z,vars:O}}function x(z,O){var k,R;let D=s;if(s==="class"&&(D=".%s"),s==="data"&&(D="[data-%s]"),s!=null&&s.startsWith("data-")&&!s.includes("%s")&&(D=`[${s}="%s"]`),z){if(D==="media")return e.defaultColorScheme===z?":root":{[`@media (prefers-color-scheme: ${((R=(k=a[z])==null?void 0:k.palette)==null?void 0:R.mode)||z})`]:{":root":O}};if(D)return e.defaultColorScheme===z?`:root, ${D.replace("%s",String(z))}`:D.replace("%s",String(z))}return":root"}return{vars:A,generateThemeVars:()=>{let z={...p};return Object.entries(H).forEach(([,{vars:O}])=>{z=qn(z,O)}),z},generateStyleSheets:()=>{var M,L;const z=[],O=e.defaultColorScheme||"light";function D(j,B){Object.keys(B).length&&z.push(typeof j=="string"?{[j]:{...B}}:j)}D(n(void 0,{...h}),h);const{[O]:k,...R}=H;if(k){const{css:j}=k,B=(L=(M=a[O])==null?void 0:M.palette)==null?void 0:L.mode,I=!r&&B?{colorScheme:B,...j}:{...j};D(n(O,{...I}),I)}return Object.entries(R).forEach(([j,{css:B}])=>{var K,W;const I=(W=(K=a[j])==null?void 0:K.palette)==null?void 0:W.mode,J=!r&&I?{colorScheme:I,...B}:{...B};D(n(j,{...J}),J)}),z}}}function kj(e){return function(n){return e==="media"?`@media (prefers-color-scheme: ${n})`:e?e.startsWith("data-")&&!e.includes("%s")?`[${e}="${n}"] &`:e==="class"?`.${n} &`:e==="data"?`[data-${n}] &`:`${e.replace("%s",n)} &`:"&"}}const Rj=Ip(),Ej=KH("div",{name:"MuiStack",slot:"Root",overridesResolver:(e,t)=>t.root});function Mj(e){return _H({props:e,name:"MuiStack",defaultTheme:Rj})}function Lj(e,t){const n=P.Children.toArray(e).filter(Boolean);return n.reduce((r,s,a)=>(r.push(s),a({row:"Left","row-reverse":"Right",column:"Top","column-reverse":"Bottom"})[e],Nj=({ownerState:e,theme:t})=>{let n={display:"flex",flexDirection:"column",...Rr({theme:t},sa({values:e.direction,breakpoints:t.breakpoints.values}),r=>({flexDirection:r}))};if(e.spacing){const r=Mp(t),s=Object.keys(t.breakpoints.values).reduce((f,p)=>((typeof e.spacing=="object"&&e.spacing[p]!=null||typeof e.direction=="object"&&e.direction[p]!=null)&&(f[p]=!0),f),{}),a=sa({values:e.direction,base:s}),l=sa({values:e.spacing,base:s});typeof a=="object"&&Object.keys(a).forEach((f,p,h)=>{if(!a[f]){const A=p>0?a[h[p-1]]:"column";a[f]=A}}),n=qn(n,Rr({theme:t},l,(f,p)=>e.useFlexGap?{gap:la(r,f)}:{"& > :not(style):not(style)":{margin:0},"& > :not(style) ~ :not(style)":{[`margin${Xj(p?a[p]:e.direction)}`]:la(r,f)}}))}return n=U7(t.breakpoints,n),n};function Bj(e={}){const{createStyledComponent:t=Ej,useThemeProps:n=Mj,componentName:r="MuiStack"}=e,s=()=>Qe({root:["root"]},f=>Ze(r,f),{}),a=t(Nj);return P.forwardRef(function(f,p){const h=n(f),m=Jp(h),{component:A="div",direction:H="column",spacing:y=0,divider:w,children:x,className:S,useFlexGap:C=!1,...z}=m,O={direction:H,spacing:y,useFlexGap:C},D=s();return v.jsx(a,{as:A,ownerState:O,ref:p,className:Oe(D.root,S),...z,children:w?Lj(x,w):x})})}function n1(){return{text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:Pu.white,default:Pu.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}}}const Vj=n1();function r1(){return{text:{primary:Pu.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:Pu.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}}}const D8=r1();function T8(e,t,n,r){const s=r.light||r,a=r.dark||r*1.5;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:t==="light"?e.light=ua(e.main,s):t==="dark"&&(e.dark=ca(e.main,a)))}function Ij(e="light"){return e==="dark"?{main:qa[200],light:qa[50],dark:qa[400]}:{main:qa[700],light:qa[400],dark:qa[800]}}function Wj(e="light"){return e==="dark"?{main:Ya[200],light:Ya[50],dark:Ya[400]}:{main:Ya[500],light:Ya[300],dark:Ya[700]}}function Jj(e="light"){return e==="dark"?{main:Fa[500],light:Fa[300],dark:Fa[700]}:{main:Fa[700],light:Fa[400],dark:Fa[800]}}function Fj(e="light"){return e==="dark"?{main:Za[400],light:Za[300],dark:Za[700]}:{main:Za[700],light:Za[500],dark:Za[900]}}function Yj(e="light"){return e==="dark"?{main:Ga[400],light:Ga[300],dark:Ga[700]}:{main:Ga[800],light:Ga[500],dark:Ga[900]}}function qj(e="light"){return e==="dark"?{main:Tc[400],light:Tc[300],dark:Tc[700]}:{main:"#ed6c02",light:Tc[500],dark:Tc[900]}}function Ay(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:r=.2,...s}=e,a=e.primary||Ij(t),l=e.secondary||Wj(t),u=e.error||Jj(t),f=e.info||Fj(t),p=e.success||Yj(t),h=e.warning||qj(t);function m(w){return ij(w,D8.text.primary)>=n?D8.text.primary:Vj.text.primary}const A=({color:w,name:x,mainShade:S=500,lightShade:C=300,darkShade:z=700})=>{if(w={...w},!w.main&&w[S]&&(w.main=w[S]),!w.hasOwnProperty("main"))throw new Error(Ts(11,x?` (${x})`:"",S));if(typeof w.main!="string")throw new Error(Ts(12,x?` (${x})`:"",JSON.stringify(w.main)));return T8(w,"light",C,r),T8(w,"dark",z,r),w.contrastText||(w.contrastText=m(w.main)),w};let H;return t==="light"?H=n1():t==="dark"&&(H=r1()),qn({common:{...Pu},mode:t,primary:A({color:a,name:"primary"}),secondary:A({color:l,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:A({color:u,name:"error"}),warning:A({color:h,name:"warning"}),info:A({color:f,name:"info"}),success:A({color:p,name:"success"}),grey:B3,contrastThreshold:n,getContrastText:m,augmentColor:A,tonalOffset:r,...H},s)}function Zj(e){const t={};return Object.entries(e).forEach(r=>{const[s,a]=r;typeof a=="object"&&(t[s]=`${a.fontStyle?`${a.fontStyle} `:""}${a.fontVariant?`${a.fontVariant} `:""}${a.fontWeight?`${a.fontWeight} `:""}${a.fontStretch?`${a.fontStretch} `:""}${a.fontSize||""}${a.lineHeight?`/${a.lineHeight} `:""}${a.fontFamily||""}`)}),t}function Gj(e,t){return{toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}},...t}}function Uj(e){return Math.round(e*1e5)/1e5}const k8={textTransform:"uppercase"},R8='"Roboto", "Helvetica", "Arial", sans-serif';function o1(e,t){const{fontFamily:n=R8,fontSize:r=14,fontWeightLight:s=300,fontWeightRegular:a=400,fontWeightMedium:l=500,fontWeightBold:u=700,htmlFontSize:f=16,allVariants:p,pxToRem:h,...m}=typeof t=="function"?t(e):t,A=r/14,H=h||(x=>`${x/f*A}rem`),y=(x,S,C,z,O)=>({fontFamily:n,fontWeight:x,fontSize:H(S),lineHeight:C,...n===R8?{letterSpacing:`${Uj(z/S)}em`}:{},...O,...p}),w={h1:y(s,96,1.167,-1.5),h2:y(s,60,1.2,-.5),h3:y(a,48,1.167,0),h4:y(a,34,1.235,.25),h5:y(a,24,1.334,0),h6:y(l,20,1.6,.15),subtitle1:y(a,16,1.75,.15),subtitle2:y(l,14,1.57,.1),body1:y(a,16,1.5,.15),body2:y(a,14,1.43,.15),button:y(l,14,1.75,.4,k8),caption:y(a,12,1.66,.4),overline:y(a,12,2.66,1,k8),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return qn({htmlFontSize:f,pxToRem:H,fontFamily:n,fontSize:r,fontWeightLight:s,fontWeightRegular:a,fontWeightMedium:l,fontWeightBold:u,...w},m,{clone:!1})}const Qj=.2,Kj=.14,_j=.12;function dn(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${Qj})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${Kj})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${_j})`].join(",")}const $j=["none",dn(0,2,1,-1,0,1,1,0,0,1,3,0),dn(0,3,1,-2,0,2,2,0,0,1,5,0),dn(0,3,3,-2,0,3,4,0,0,1,8,0),dn(0,2,4,-1,0,4,5,0,0,1,10,0),dn(0,3,5,-1,0,5,8,0,0,1,14,0),dn(0,3,5,-1,0,6,10,0,0,1,18,0),dn(0,4,5,-2,0,7,10,1,0,2,16,1),dn(0,5,5,-3,0,8,10,1,0,3,14,2),dn(0,5,6,-3,0,9,12,1,0,3,16,2),dn(0,6,6,-3,0,10,14,1,0,4,18,3),dn(0,6,7,-4,0,11,15,1,0,4,20,3),dn(0,7,8,-4,0,12,17,2,0,5,22,4),dn(0,7,8,-4,0,13,19,2,0,5,24,4),dn(0,7,9,-4,0,14,21,2,0,5,26,4),dn(0,8,9,-5,0,15,22,2,0,6,28,5),dn(0,8,10,-5,0,16,24,2,0,6,30,5),dn(0,8,11,-5,0,17,26,2,0,6,32,5),dn(0,9,11,-5,0,18,28,2,0,7,34,6),dn(0,9,12,-6,0,19,29,2,0,7,36,6),dn(0,10,13,-6,0,20,31,3,0,8,38,7),dn(0,10,13,-6,0,21,33,3,0,8,40,7),dn(0,10,14,-6,0,22,35,3,0,8,42,7),dn(0,11,14,-7,0,23,36,3,0,9,44,8),dn(0,11,15,-7,0,24,38,3,0,9,46,8)],eS={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},tS={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function E8(e){return`${Math.round(e)}ms`}function nS(e){if(!e)return 0;const t=e/36;return Math.min(Math.round((4+15*t**.25+t/5)*10),3e3)}function rS(e){const t={...eS,...e.easing},n={...tS,...e.duration};return{getAutoHeightDuration:nS,create:(s=["all"],a={})=>{const{duration:l=n.standard,easing:u=t.easeInOut,delay:f=0,...p}=a;return(Array.isArray(s)?s:[s]).map(h=>`${h} ${typeof l=="string"?l:E8(l)} ${u} ${typeof f=="string"?f:E8(f)}`).join(",")},...e,easing:t,duration:n}}const oS={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function sS(e){return _o(e)||typeof e>"u"||typeof e=="string"||typeof e=="boolean"||typeof e=="number"||Array.isArray(e)}function s1(e={}){const t={...e};function n(r){const s=Object.entries(r);for(let a=0;aqn(H,y),A),A.unstable_sxConfig={...Wu,...p==null?void 0:p.unstable_sxConfig},A.unstable_sx=function(y){return Ai({sx:y,theme:this})},A.toRuntimeSource=s1,A}function lg(e){let t;return e<1?t=5.11916*e**2:t=4.5*Math.log(e+1)+2,Math.round(t*10)/1e3}const iS=[...Array(25)].map((e,t)=>{if(t===0)return"none";const n=lg(t);return`linear-gradient(rgba(255 255 255 / ${n}), rgba(255 255 255 / ${n}))`});function i1(e){return{inputPlaceholder:e==="dark"?.5:.42,inputUnderline:e==="dark"?.7:.42,switchTrackDisabled:e==="dark"?.2:.12,switchTrack:e==="dark"?.3:.38}}function a1(e){return e==="dark"?iS:[]}function aS(e){const{palette:t={mode:"light"},opacity:n,overlays:r,...s}=e,a=Ay(t);return{palette:a,opacity:{...i1(a.mode),...n},overlays:r||a1(a.mode),...s}}function lS(e){var t;return!!e[0].match(/(cssVarPrefix|colorSchemeSelector|rootSelector|typography|mixins|breakpoints|direction|transitions)/)||!!e[0].match(/sxConfig$/)||e[0]==="palette"&&!!((t=e[1])!=null&&t.match(/(mode|contrastThreshold|tonalOffset)/))}const cS=e=>[...[...Array(25)].map((t,n)=>`--${e?`${e}-`:""}overlays-${n}`),`--${e?`${e}-`:""}palette-AppBar-darkBg`,`--${e?`${e}-`:""}palette-AppBar-darkColor`],uS=e=>(t,n)=>{const r=e.rootSelector||":root",s=e.colorSchemeSelector;let a=s;if(s==="class"&&(a=".%s"),s==="data"&&(a="[data-%s]"),s!=null&&s.startsWith("data-")&&!s.includes("%s")&&(a=`[${s}="%s"]`),e.defaultColorScheme===t){if(t==="dark"){const l={};return cS(e.cssVarPrefix).forEach(u=>{l[u]=n[u],delete n[u]}),a==="media"?{[r]:n,"@media (prefers-color-scheme: dark)":{[r]:l}}:a?{[a.replace("%s",t)]:l,[`${r}, ${a.replace("%s",t)}`]:n}:{[r]:{...n,...l}}}if(a&&a!=="media")return`${r}, ${a.replace("%s",String(t))}`}else if(t){if(a==="media")return{[`@media (prefers-color-scheme: ${String(t)})`]:{[r]:n}};if(a)return a.replace("%s",String(t))}return r};function fS(e,t){t.forEach(n=>{e[n]||(e[n]={})})}function ge(e,t,n){!e[t]&&n&&(e[t]=n)}function _c(e){return typeof e!="string"||!e.startsWith("hsl")?e:F0(e)}function Ps(e,t){`${t}Channel`in e||(e[`${t}Channel`]=Kc(_c(e[t]),`MUI: Can't create \`palette.${t}Channel\` because \`palette.${t}\` is not one of these formats: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color(). +To suppress this warning, you need to explicitly provide the \`palette.${t}Channel\` as a string (in rgb format, for example "12 12 12") or undefined if you want to remove the channel token.`))}function dS(e){return typeof e=="number"?`${e}px`:typeof e=="string"||typeof e=="function"||Array.isArray(e)?e:"8px"}const Fo=e=>{try{return e()}catch{}},pS=(e="mui")=>Oj(e);function Hm(e,t,n,r){if(!t)return;t=t===!0?{}:t;const s=r==="dark"?"dark":"light";if(!n){e[r]=aS({...t,palette:{mode:s,...t==null?void 0:t.palette}});return}const{palette:a,...l}=ag({...n,palette:{mode:s,...t==null?void 0:t.palette}});return e[r]={...t,palette:a,opacity:{...i1(s),...t==null?void 0:t.opacity},overlays:(t==null?void 0:t.overlays)||a1(s)},l}function vS(e={},...t){const{colorSchemes:n={light:!0},defaultColorScheme:r,disableCssColorScheme:s=!1,cssVarPrefix:a="mui",shouldSkipGeneratingVar:l=lS,colorSchemeSelector:u=n.light&&n.dark?"media":void 0,rootSelector:f=":root",...p}=e,h=Object.keys(n)[0],m=r||(n.light&&h!=="light"?"light":h),A=pS(a),{[m]:H,light:y,dark:w,...x}=n,S={...x};let C=H;if((m==="dark"&&!("dark"in n)||m==="light"&&!("light"in n))&&(C=!0),!C)throw new Error(Ts(21,m));const z=Hm(S,C,p,m);y&&!S.light&&Hm(S,y,void 0,"light"),w&&!S.dark&&Hm(S,w,void 0,"dark");let O={defaultColorScheme:m,...z,cssVarPrefix:a,colorSchemeSelector:u,rootSelector:f,getCssVar:A,colorSchemes:S,font:{...Zj(z.typography),...z.font},spacing:dS(p.spacing)};Object.keys(O.colorSchemes).forEach(L=>{const j=O.colorSchemes[L].palette,B=I=>{const J=I.split("-"),K=J[1],W=J[2];return A(I,j[K][W])};if(j.mode==="light"&&(ge(j.common,"background","#fff"),ge(j.common,"onBackground","#000")),j.mode==="dark"&&(ge(j.common,"background","#000"),ge(j.common,"onBackground","#fff")),fS(j,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"]),j.mode==="light"){ge(j.Alert,"errorColor",Kt(j.error.light,.6)),ge(j.Alert,"infoColor",Kt(j.info.light,.6)),ge(j.Alert,"successColor",Kt(j.success.light,.6)),ge(j.Alert,"warningColor",Kt(j.warning.light,.6)),ge(j.Alert,"errorFilledBg",B("palette-error-main")),ge(j.Alert,"infoFilledBg",B("palette-info-main")),ge(j.Alert,"successFilledBg",B("palette-success-main")),ge(j.Alert,"warningFilledBg",B("palette-warning-main")),ge(j.Alert,"errorFilledColor",Fo(()=>j.getContrastText(j.error.main))),ge(j.Alert,"infoFilledColor",Fo(()=>j.getContrastText(j.info.main))),ge(j.Alert,"successFilledColor",Fo(()=>j.getContrastText(j.success.main))),ge(j.Alert,"warningFilledColor",Fo(()=>j.getContrastText(j.warning.main))),ge(j.Alert,"errorStandardBg",_t(j.error.light,.9)),ge(j.Alert,"infoStandardBg",_t(j.info.light,.9)),ge(j.Alert,"successStandardBg",_t(j.success.light,.9)),ge(j.Alert,"warningStandardBg",_t(j.warning.light,.9)),ge(j.Alert,"errorIconColor",B("palette-error-main")),ge(j.Alert,"infoIconColor",B("palette-info-main")),ge(j.Alert,"successIconColor",B("palette-success-main")),ge(j.Alert,"warningIconColor",B("palette-warning-main")),ge(j.AppBar,"defaultBg",B("palette-grey-100")),ge(j.Avatar,"defaultBg",B("palette-grey-400")),ge(j.Button,"inheritContainedBg",B("palette-grey-300")),ge(j.Button,"inheritContainedHoverBg",B("palette-grey-A100")),ge(j.Chip,"defaultBorder",B("palette-grey-400")),ge(j.Chip,"defaultAvatarColor",B("palette-grey-700")),ge(j.Chip,"defaultIconColor",B("palette-grey-700")),ge(j.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),ge(j.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),ge(j.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),ge(j.LinearProgress,"primaryBg",_t(j.primary.main,.62)),ge(j.LinearProgress,"secondaryBg",_t(j.secondary.main,.62)),ge(j.LinearProgress,"errorBg",_t(j.error.main,.62)),ge(j.LinearProgress,"infoBg",_t(j.info.main,.62)),ge(j.LinearProgress,"successBg",_t(j.success.main,.62)),ge(j.LinearProgress,"warningBg",_t(j.warning.main,.62)),ge(j.Skeleton,"bg",`rgba(${B("palette-text-primaryChannel")} / 0.11)`),ge(j.Slider,"primaryTrack",_t(j.primary.main,.62)),ge(j.Slider,"secondaryTrack",_t(j.secondary.main,.62)),ge(j.Slider,"errorTrack",_t(j.error.main,.62)),ge(j.Slider,"infoTrack",_t(j.info.main,.62)),ge(j.Slider,"successTrack",_t(j.success.main,.62)),ge(j.Slider,"warningTrack",_t(j.warning.main,.62));const I=md(j.background.default,.8);ge(j.SnackbarContent,"bg",I),ge(j.SnackbarContent,"color",Fo(()=>j.getContrastText(I))),ge(j.SpeedDialAction,"fabHoverBg",md(j.background.paper,.15)),ge(j.StepConnector,"border",B("palette-grey-400")),ge(j.StepContent,"border",B("palette-grey-400")),ge(j.Switch,"defaultColor",B("palette-common-white")),ge(j.Switch,"defaultDisabledColor",B("palette-grey-100")),ge(j.Switch,"primaryDisabledColor",_t(j.primary.main,.62)),ge(j.Switch,"secondaryDisabledColor",_t(j.secondary.main,.62)),ge(j.Switch,"errorDisabledColor",_t(j.error.main,.62)),ge(j.Switch,"infoDisabledColor",_t(j.info.main,.62)),ge(j.Switch,"successDisabledColor",_t(j.success.main,.62)),ge(j.Switch,"warningDisabledColor",_t(j.warning.main,.62)),ge(j.TableCell,"border",_t(hd(j.divider,1),.88)),ge(j.Tooltip,"bg",hd(j.grey[700],.92))}if(j.mode==="dark"){ge(j.Alert,"errorColor",_t(j.error.light,.6)),ge(j.Alert,"infoColor",_t(j.info.light,.6)),ge(j.Alert,"successColor",_t(j.success.light,.6)),ge(j.Alert,"warningColor",_t(j.warning.light,.6)),ge(j.Alert,"errorFilledBg",B("palette-error-dark")),ge(j.Alert,"infoFilledBg",B("palette-info-dark")),ge(j.Alert,"successFilledBg",B("palette-success-dark")),ge(j.Alert,"warningFilledBg",B("palette-warning-dark")),ge(j.Alert,"errorFilledColor",Fo(()=>j.getContrastText(j.error.dark))),ge(j.Alert,"infoFilledColor",Fo(()=>j.getContrastText(j.info.dark))),ge(j.Alert,"successFilledColor",Fo(()=>j.getContrastText(j.success.dark))),ge(j.Alert,"warningFilledColor",Fo(()=>j.getContrastText(j.warning.dark))),ge(j.Alert,"errorStandardBg",Kt(j.error.light,.9)),ge(j.Alert,"infoStandardBg",Kt(j.info.light,.9)),ge(j.Alert,"successStandardBg",Kt(j.success.light,.9)),ge(j.Alert,"warningStandardBg",Kt(j.warning.light,.9)),ge(j.Alert,"errorIconColor",B("palette-error-main")),ge(j.Alert,"infoIconColor",B("palette-info-main")),ge(j.Alert,"successIconColor",B("palette-success-main")),ge(j.Alert,"warningIconColor",B("palette-warning-main")),ge(j.AppBar,"defaultBg",B("palette-grey-900")),ge(j.AppBar,"darkBg",B("palette-background-paper")),ge(j.AppBar,"darkColor",B("palette-text-primary")),ge(j.Avatar,"defaultBg",B("palette-grey-600")),ge(j.Button,"inheritContainedBg",B("palette-grey-800")),ge(j.Button,"inheritContainedHoverBg",B("palette-grey-700")),ge(j.Chip,"defaultBorder",B("palette-grey-700")),ge(j.Chip,"defaultAvatarColor",B("palette-grey-300")),ge(j.Chip,"defaultIconColor",B("palette-grey-300")),ge(j.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),ge(j.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),ge(j.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),ge(j.LinearProgress,"primaryBg",Kt(j.primary.main,.5)),ge(j.LinearProgress,"secondaryBg",Kt(j.secondary.main,.5)),ge(j.LinearProgress,"errorBg",Kt(j.error.main,.5)),ge(j.LinearProgress,"infoBg",Kt(j.info.main,.5)),ge(j.LinearProgress,"successBg",Kt(j.success.main,.5)),ge(j.LinearProgress,"warningBg",Kt(j.warning.main,.5)),ge(j.Skeleton,"bg",`rgba(${B("palette-text-primaryChannel")} / 0.13)`),ge(j.Slider,"primaryTrack",Kt(j.primary.main,.5)),ge(j.Slider,"secondaryTrack",Kt(j.secondary.main,.5)),ge(j.Slider,"errorTrack",Kt(j.error.main,.5)),ge(j.Slider,"infoTrack",Kt(j.info.main,.5)),ge(j.Slider,"successTrack",Kt(j.success.main,.5)),ge(j.Slider,"warningTrack",Kt(j.warning.main,.5));const I=md(j.background.default,.98);ge(j.SnackbarContent,"bg",I),ge(j.SnackbarContent,"color",Fo(()=>j.getContrastText(I))),ge(j.SpeedDialAction,"fabHoverBg",md(j.background.paper,.15)),ge(j.StepConnector,"border",B("palette-grey-600")),ge(j.StepContent,"border",B("palette-grey-600")),ge(j.Switch,"defaultColor",B("palette-grey-300")),ge(j.Switch,"defaultDisabledColor",B("palette-grey-600")),ge(j.Switch,"primaryDisabledColor",Kt(j.primary.main,.55)),ge(j.Switch,"secondaryDisabledColor",Kt(j.secondary.main,.55)),ge(j.Switch,"errorDisabledColor",Kt(j.error.main,.55)),ge(j.Switch,"infoDisabledColor",Kt(j.info.main,.55)),ge(j.Switch,"successDisabledColor",Kt(j.success.main,.55)),ge(j.Switch,"warningDisabledColor",Kt(j.warning.main,.55)),ge(j.TableCell,"border",Kt(hd(j.divider,1),.68)),ge(j.Tooltip,"bg",hd(j.grey[700],.92))}Ps(j.background,"default"),Ps(j.background,"paper"),Ps(j.common,"background"),Ps(j.common,"onBackground"),Ps(j,"divider"),Object.keys(j).forEach(I=>{const J=j[I];I!=="tonalOffset"&&J&&typeof J=="object"&&(J.main&&ge(j[I],"mainChannel",Kc(_c(J.main))),J.light&&ge(j[I],"lightChannel",Kc(_c(J.light))),J.dark&&ge(j[I],"darkChannel",Kc(_c(J.dark))),J.contrastText&&ge(j[I],"contrastTextChannel",Kc(_c(J.contrastText))),I==="text"&&(Ps(j[I],"primary"),Ps(j[I],"secondary")),I==="action"&&(J.active&&Ps(j[I],"active"),J.selected&&Ps(j[I],"selected")))})}),O=t.reduce((L,j)=>qn(L,j),O);const D={prefix:a,disableCssColorScheme:s,shouldSkipGeneratingVar:l,getSelector:uS(O)},{vars:k,generateThemeVars:R,generateStyleSheets:M}=Tj(O,D);return O.vars=k,Object.entries(O.colorSchemes[O.defaultColorScheme]).forEach(([L,j])=>{O[L]=j}),O.generateThemeVars=R,O.generateStyleSheets=M,O.generateSpacing=function(){return L0(p.spacing,Mp(this))},O.getColorSchemeSelector=kj(u),O.spacing=O.generateSpacing(),O.shouldSkipGeneratingVar=l,O.unstable_sxConfig={...Wu,...p==null?void 0:p.unstable_sxConfig},O.unstable_sx=function(j){return Ai({sx:j,theme:this})},O.toRuntimeSource=s1,O}function M8(e,t,n){e.colorSchemes&&n&&(e.colorSchemes[t]={...n!==!0&&n,palette:Ay({...n===!0?{}:n.palette,mode:t})})}function Fu(e={},...t){const{palette:n,cssVariables:r=!1,colorSchemes:s=n?void 0:{light:!0},defaultColorScheme:a=n==null?void 0:n.mode,...l}=e,u=a||"light",f=s==null?void 0:s[u],p={...s,...n?{[u]:{...typeof f!="boolean"&&f,palette:n}}:void 0};if(r===!1){if(!("colorSchemes"in e))return ag(e,...t);let h=n;"palette"in e||p[u]&&(p[u]!==!0?h=p[u].palette:u==="dark"&&(h={mode:"dark"}));const m=ag({...e,palette:h},...t);return m.defaultColorScheme=u,m.colorSchemes=p,m.palette.mode==="light"&&(m.colorSchemes.light={...p.light!==!0&&p.light,palette:m.palette},M8(m,"dark",p.dark)),m.palette.mode==="dark"&&(m.colorSchemes.dark={...p.dark!==!0&&p.dark,palette:m.palette},M8(m,"light",p.light)),m}return!n&&!("light"in p)&&u==="light"&&(p.light=!0),vS({...l,colorSchemes:p,defaultColorScheme:u,...typeof r!="boolean"&&r},...t)}const Py=Fu();function Qr(){const e=Wp(Py);return e[Ro]||e}function l1(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const Zn=e=>l1(e)&&e!=="classes",pe=I0({themeId:Ro,defaultTheme:Py,rootShouldForwardProp:Zn});function L8({theme:e,...t}){const n=Ro in e?e[Ro]:void 0;return v.jsx(e1,{...t,themeId:n?Ro:void 0,theme:n||e})}const gd={attribute:"data-mui-color-scheme",colorSchemeStorageKey:"mui-color-scheme",defaultLightColorScheme:"light",defaultDarkColorScheme:"dark",modeStorageKey:"mui-mode"},{CssVarsProvider:hS,useColorScheme:dq,getInitColorSchemeScript:pq}=zj({themeId:Ro,theme:()=>Fu({cssVariables:!0}),colorSchemeStorageKey:gd.colorSchemeStorageKey,modeStorageKey:gd.modeStorageKey,defaultColorScheme:{light:gd.defaultLightColorScheme,dark:gd.defaultDarkColorScheme},resolveTheme:e=>{const t={...e,typography:o1(e.palette,e.typography)};return t.unstable_sx=function(r){return Ai({sx:r,theme:this})},t}}),mS=hS;function gS({theme:e,...t}){return typeof e=="function"?v.jsx(L8,{theme:e,...t}):"colorSchemes"in(Ro in e?e[Ro]:e)?v.jsx(mS,{theme:e,...t}):v.jsx(L8,{theme:e,...t})}function yS(e){return v.jsx(BH,{...e,defaultTheme:Py,themeId:Ro})}function by(e){return function(n){return v.jsx(yS,{styles:typeof e=="function"?r=>e({theme:r,...n}):e})}}function AS(){return Jp}const Ue=bj;function $e(e){return Pj(e)}function PS(e){return Ze("MuiSvgIcon",e)}Ge("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const bS=e=>{const{color:t,fontSize:n,classes:r}=e,s={root:["root",t!=="inherit"&&`color${me(t)}`,`fontSize${me(n)}`]};return Qe(s,PS,r)},xS=pe("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color!=="inherit"&&t[`color${me(n.color)}`],t[`fontSize${me(n.fontSize)}`]]}})(Ue(({theme:e})=>{var t,n,r,s,a,l,u,f,p,h,m,A,H,y;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",flexShrink:0,transition:(s=(t=e.transitions)==null?void 0:t.create)==null?void 0:s.call(t,"fill",{duration:(r=(n=(e.vars??e).transitions)==null?void 0:n.duration)==null?void 0:r.shorter}),variants:[{props:w=>!w.hasSvgAsChild,style:{fill:"currentColor"}},{props:{fontSize:"inherit"},style:{fontSize:"inherit"}},{props:{fontSize:"small"},style:{fontSize:((l=(a=e.typography)==null?void 0:a.pxToRem)==null?void 0:l.call(a,20))||"1.25rem"}},{props:{fontSize:"medium"},style:{fontSize:((f=(u=e.typography)==null?void 0:u.pxToRem)==null?void 0:f.call(u,24))||"1.5rem"}},{props:{fontSize:"large"},style:{fontSize:((h=(p=e.typography)==null?void 0:p.pxToRem)==null?void 0:h.call(p,35))||"2.1875rem"}},...Object.entries((e.vars??e).palette).filter(([,w])=>w&&w.main).map(([w])=>{var x,S;return{props:{color:w},style:{color:(S=(x=(e.vars??e).palette)==null?void 0:x[w])==null?void 0:S.main}}}),{props:{color:"action"},style:{color:(A=(m=(e.vars??e).palette)==null?void 0:m.action)==null?void 0:A.active}},{props:{color:"disabled"},style:{color:(y=(H=(e.vars??e).palette)==null?void 0:H.action)==null?void 0:y.disabled}},{props:{color:"inherit"},style:{color:void 0}}]}})),Hu=P.forwardRef(function(t,n){const r=$e({props:t,name:"MuiSvgIcon"}),{children:s,className:a,color:l="inherit",component:u="svg",fontSize:f="medium",htmlColor:p,inheritViewBox:h=!1,titleAccess:m,viewBox:A="0 0 24 24",...H}=r,y=P.isValidElement(s)&&s.type==="svg",w={...r,color:l,component:u,fontSize:f,instanceFontSize:t.fontSize,inheritViewBox:h,viewBox:A,hasSvgAsChild:y},x={};h||(x.viewBox=A);const S=bS(w);return v.jsxs(xS,{as:u,className:Oe(S.root,a),focusable:"false",color:p,"aria-hidden":m?void 0:!0,role:m?"img":void 0,ref:n,...x,...H,...y&&s.props,ownerState:w,children:[y?s.props.children:s,m?v.jsx("title",{children:m}):null]})});Hu&&(Hu.muiName="SvgIcon");function At(e,t){function n(r,s){return v.jsx(Hu,{"data-testid":`${t}Icon`,ref:s,...r,children:e})}return n.muiName=Hu.muiName,P.memo(P.forwardRef(n))}var jm={exports:{}},Zt={};/** * @license React * react-is.production.min.js * @@ -29,7 +70,7 @@ var mx=e=>{throw TypeError(e)};var km=(e,t,n)=>t.has(e)||mx("Cannot "+n);var Y=( * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var Zx;function Yz(){if(Zx)return Qt;Zx=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),c=Symbol.for("react.context"),u=Symbol.for("react.server_context"),f=Symbol.for("react.forward_ref"),p=Symbol.for("react.suspense"),h=Symbol.for("react.suspense_list"),m=Symbol.for("react.memo"),P=Symbol.for("react.lazy"),H=Symbol.for("react.offscreen"),g;g=Symbol.for("react.module.reference");function w(x){if(typeof x=="object"&&x!==null){var z=x.$$typeof;switch(z){case e:switch(x=x.type,x){case n:case i:case o:case p:case h:return x;default:switch(x=x&&x.$$typeof,x){case u:case c:case f:case P:case m:case a:return x;default:return z}}case t:return z}}}return Qt.ContextConsumer=c,Qt.ContextProvider=a,Qt.Element=e,Qt.ForwardRef=f,Qt.Fragment=n,Qt.Lazy=P,Qt.Memo=m,Qt.Portal=t,Qt.Profiler=i,Qt.StrictMode=o,Qt.Suspense=p,Qt.SuspenseList=h,Qt.isAsyncMode=function(){return!1},Qt.isConcurrentMode=function(){return!1},Qt.isContextConsumer=function(x){return w(x)===c},Qt.isContextProvider=function(x){return w(x)===a},Qt.isElement=function(x){return typeof x=="object"&&x!==null&&x.$$typeof===e},Qt.isForwardRef=function(x){return w(x)===f},Qt.isFragment=function(x){return w(x)===n},Qt.isLazy=function(x){return w(x)===P},Qt.isMemo=function(x){return w(x)===m},Qt.isPortal=function(x){return w(x)===t},Qt.isProfiler=function(x){return w(x)===i},Qt.isStrictMode=function(x){return w(x)===o},Qt.isSuspense=function(x){return w(x)===p},Qt.isSuspenseList=function(x){return w(x)===h},Qt.isValidElementType=function(x){return typeof x=="string"||typeof x=="function"||x===n||x===i||x===o||x===p||x===h||x===H||typeof x=="object"&&x!==null&&(x.$$typeof===P||x.$$typeof===m||x.$$typeof===a||x.$$typeof===c||x.$$typeof===f||x.$$typeof===g||x.getModuleId!==void 0)},Qt.typeOf=w,Qt}var Gx;function qz(){return Gx||(Gx=1,Wm.exports=Yz()),Wm.exports}qz();function CA(e,t){return CA=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(o,i){return o.__proto__=i,o},CA(e,t)}function X1(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,CA(e,t)}var Jm={exports:{}},xr={},Fm={exports:{}},Ym={};/** + */var X8;function wS(){if(X8)return Zt;X8=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),l=Symbol.for("react.context"),u=Symbol.for("react.server_context"),f=Symbol.for("react.forward_ref"),p=Symbol.for("react.suspense"),h=Symbol.for("react.suspense_list"),m=Symbol.for("react.memo"),A=Symbol.for("react.lazy"),H=Symbol.for("react.offscreen"),y;y=Symbol.for("react.module.reference");function w(x){if(typeof x=="object"&&x!==null){var S=x.$$typeof;switch(S){case e:switch(x=x.type,x){case n:case s:case r:case p:case h:return x;default:switch(x=x&&x.$$typeof,x){case u:case l:case f:case A:case m:case a:return x;default:return S}}case t:return S}}}return Zt.ContextConsumer=l,Zt.ContextProvider=a,Zt.Element=e,Zt.ForwardRef=f,Zt.Fragment=n,Zt.Lazy=A,Zt.Memo=m,Zt.Portal=t,Zt.Profiler=s,Zt.StrictMode=r,Zt.Suspense=p,Zt.SuspenseList=h,Zt.isAsyncMode=function(){return!1},Zt.isConcurrentMode=function(){return!1},Zt.isContextConsumer=function(x){return w(x)===l},Zt.isContextProvider=function(x){return w(x)===a},Zt.isElement=function(x){return typeof x=="object"&&x!==null&&x.$$typeof===e},Zt.isForwardRef=function(x){return w(x)===f},Zt.isFragment=function(x){return w(x)===n},Zt.isLazy=function(x){return w(x)===A},Zt.isMemo=function(x){return w(x)===m},Zt.isPortal=function(x){return w(x)===t},Zt.isProfiler=function(x){return w(x)===s},Zt.isStrictMode=function(x){return w(x)===r},Zt.isSuspense=function(x){return w(x)===p},Zt.isSuspenseList=function(x){return w(x)===h},Zt.isValidElementType=function(x){return typeof x=="string"||typeof x=="function"||x===n||x===s||x===r||x===p||x===h||x===H||typeof x=="object"&&x!==null&&(x.$$typeof===A||x.$$typeof===m||x.$$typeof===a||x.$$typeof===l||x.$$typeof===f||x.$$typeof===y||x.getModuleId!==void 0)},Zt.typeOf=w,Zt}var N8;function HS(){return N8||(N8=1,jm.exports=wS()),jm.exports}HS();function c1(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.includes(r))continue;n[r]=e[r]}return n}function cg(e,t){return cg=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,r){return n.__proto__=r,n},cg(e,t)}function u1(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,cg(e,t)}var Sm={exports:{}},xr={},zm={exports:{}},Om={};/** * @license React * scheduler.production.min.js * @@ -37,7 +78,7 @@ var mx=e=>{throw TypeError(e)};var km=(e,t,n)=>t.has(e)||mx("Cannot "+n);var Y=( * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var Ux;function Zz(){return Ux||(Ux=1,function(e){function t(J,K){var k=J.length;J.push(K);e:for(;0>>1,X=J[ne];if(0>>1;nei(de,k))uei(we,de)?(J[ne]=we,J[ue]=k,ne=ue):(J[ne]=de,J[_]=k,ne=_);else if(uei(we,k))J[ne]=we,J[ue]=k,ne=ue;else break e}}return K}function i(J,K){var k=J.sortIndex-K.sortIndex;return k!==0?k:J.id-K.id}if(typeof performance=="object"&&typeof performance.now=="function"){var a=performance;e.unstable_now=function(){return a.now()}}else{var c=Date,u=c.now();e.unstable_now=function(){return c.now()-u}}var f=[],p=[],h=1,m=null,P=3,H=!1,g=!1,w=!1,x=typeof setTimeout=="function"?setTimeout:null,z=typeof clearTimeout=="function"?clearTimeout:null,O=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function C(J){for(var K=n(p);K!==null;){if(K.callback===null)o(p);else if(K.startTime<=J)o(p),K.sortIndex=K.expirationTime,t(f,K);else break;K=n(p)}}function D(J){if(w=!1,C(J),!g)if(n(f)!==null)g=!0,ie(R);else{var K=n(p);K!==null&&te(D,K.startTime-J)}}function R(J,K){g=!1,w&&(w=!1,z(L),L=-1),H=!0;var k=P;try{for(C(K),m=n(f);m!==null&&(!(m.expirationTime>K)||J&&!U());){var ne=m.callback;if(typeof ne=="function"){m.callback=null,P=m.priorityLevel;var X=ne(m.expirationTime<=K);K=e.unstable_now(),typeof X=="function"?m.callback=X:m===n(f)&&o(f),C(K)}else o(f);m=n(f)}if(m!==null)var se=!0;else{var _=n(p);_!==null&&te(D,_.startTime-K),se=!1}return se}finally{m=null,P=k,H=!1}}var E=!1,T=null,L=-1,N=5,M=-1;function U(){return!(e.unstable_now()-MJ||125ne?(J.sortIndex=k,t(p,J),n(f)===null&&J===n(p)&&(w?(z(L),L=-1):w=!0,te(D,k-ne))):(J.sortIndex=X,t(f,J),g||H||(g=!0,ie(R))),J},e.unstable_shouldYield=U,e.unstable_wrapCallback=function(J){var K=P;return function(){var k=P;P=K;try{return J.apply(this,arguments)}finally{P=k}}}}(Ym)),Ym}var Qx;function Gz(){return Qx||(Qx=1,Fm.exports=Zz()),Fm.exports}/** + */var B8;function jS(){return B8||(B8=1,function(e){function t(F,_){var E=F.length;F.push(_);e:for(;0>>1,X=F[G];if(0>>1;Gs(ue,E))des(xe,ue)?(F[G]=xe,F[de]=E,G=de):(F[G]=ue,F[te]=E,G=te);else if(des(xe,E))F[G]=xe,F[de]=E,G=de;else break e}}return _}function s(F,_){var E=F.sortIndex-_.sortIndex;return E!==0?E:F.id-_.id}if(typeof performance=="object"&&typeof performance.now=="function"){var a=performance;e.unstable_now=function(){return a.now()}}else{var l=Date,u=l.now();e.unstable_now=function(){return l.now()-u}}var f=[],p=[],h=1,m=null,A=3,H=!1,y=!1,w=!1,x=typeof setTimeout=="function"?setTimeout:null,S=typeof clearTimeout=="function"?clearTimeout:null,C=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function z(F){for(var _=n(p);_!==null;){if(_.callback===null)r(p);else if(_.startTime<=F)r(p),_.sortIndex=_.expirationTime,t(f,_);else break;_=n(p)}}function O(F){if(w=!1,z(F),!y)if(n(f)!==null)y=!0,ne(D);else{var _=n(p);_!==null&&re(O,_.startTime-F)}}function D(F,_){y=!1,w&&(w=!1,S(M),M=-1),H=!0;var E=A;try{for(z(_),m=n(f);m!==null&&(!(m.expirationTime>_)||F&&!B());){var G=m.callback;if(typeof G=="function"){m.callback=null,A=m.priorityLevel;var X=G(m.expirationTime<=_);_=e.unstable_now(),typeof X=="function"?m.callback=X:m===n(f)&&r(f),z(_)}else r(f);m=n(f)}if(m!==null)var ee=!0;else{var te=n(p);te!==null&&re(O,te.startTime-_),ee=!1}return ee}finally{m=null,A=E,H=!1}}var k=!1,R=null,M=-1,L=5,j=-1;function B(){return!(e.unstable_now()-jF||125G?(F.sortIndex=E,t(p,F),n(f)===null&&F===n(p)&&(w?(S(M),M=-1):w=!0,re(O,E-G))):(F.sortIndex=X,t(f,F),y||H||(y=!0,ne(D))),F},e.unstable_shouldYield=B,e.unstable_wrapCallback=function(F){var _=A;return function(){var E=A;A=_;try{return F.apply(this,arguments)}finally{A=E}}}}(Om)),Om}var V8;function SS(){return V8||(V8=1,zm.exports=jS()),zm.exports}/** * @license React * react-dom.production.min.js * @@ -45,14 +86,14 @@ var mx=e=>{throw TypeError(e)};var km=(e,t,n)=>t.has(e)||mx("Cannot "+n);var Y=( * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var Kx;function Uz(){if(Kx)return xr;Kx=1;var e=yP(),t=Gz();function n(r){for(var s="https://reactjs.org/docs/error-decoder.html?invariant="+r,l=1;l"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),f=Object.prototype.hasOwnProperty,p=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,h={},m={};function P(r){return f.call(m,r)?!0:f.call(h,r)?!1:p.test(r)?m[r]=!0:(h[r]=!0,!1)}function H(r,s,l,d){if(l!==null&&l.type===0)return!1;switch(typeof s){case"function":case"symbol":return!0;case"boolean":return d?!1:l!==null?!l.acceptsBooleans:(r=r.toLowerCase().slice(0,5),r!=="data-"&&r!=="aria-");default:return!1}}function g(r,s,l,d){if(s===null||typeof s>"u"||H(r,s,l,d))return!0;if(d)return!1;if(l!==null)switch(l.type){case 3:return!s;case 4:return s===!1;case 5:return isNaN(s);case 6:return isNaN(s)||1>s}return!1}function w(r,s,l,d,A,b,S){this.acceptsBooleans=s===2||s===3||s===4,this.attributeName=d,this.attributeNamespace=A,this.mustUseProperty=l,this.propertyName=r,this.type=s,this.sanitizeURL=b,this.removeEmptyString=S}var x={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(r){x[r]=new w(r,0,!1,r,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(r){var s=r[0];x[s]=new w(s,1,!1,r[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(r){x[r]=new w(r,2,!1,r.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(r){x[r]=new w(r,2,!1,r,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(r){x[r]=new w(r,3,!1,r.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(r){x[r]=new w(r,3,!0,r,null,!1,!1)}),["capture","download"].forEach(function(r){x[r]=new w(r,4,!1,r,null,!1,!1)}),["cols","rows","size","span"].forEach(function(r){x[r]=new w(r,6,!1,r,null,!1,!1)}),["rowSpan","start"].forEach(function(r){x[r]=new w(r,5,!1,r.toLowerCase(),null,!1,!1)});var z=/[\-:]([a-z])/g;function O(r){return r[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(r){var s=r.replace(z,O);x[s]=new w(s,1,!1,r,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(r){var s=r.replace(z,O);x[s]=new w(s,1,!1,r,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(r){var s=r.replace(z,O);x[s]=new w(s,1,!1,r,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(r){x[r]=new w(r,1,!1,r.toLowerCase(),null,!1,!1)}),x.xlinkHref=new w("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(r){x[r]=new w(r,1,!1,r.toLowerCase(),null,!0,!0)});function C(r,s,l,d){var A=x.hasOwnProperty(s)?x[s]:null;(A!==null?A.type!==0:d||!(2"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),f=Object.prototype.hasOwnProperty,p=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,h={},m={};function A(o){return f.call(m,o)?!0:f.call(h,o)?!1:p.test(o)?m[o]=!0:(h[o]=!0,!1)}function H(o,i,c,d){if(c!==null&&c.type===0)return!1;switch(typeof i){case"function":case"symbol":return!0;case"boolean":return d?!1:c!==null?!c.acceptsBooleans:(o=o.toLowerCase().slice(0,5),o!=="data-"&&o!=="aria-");default:return!1}}function y(o,i,c,d){if(i===null||typeof i>"u"||H(o,i,c,d))return!0;if(d)return!1;if(c!==null)switch(c.type){case 3:return!i;case 4:return i===!1;case 5:return isNaN(i);case 6:return isNaN(i)||1>i}return!1}function w(o,i,c,d,g,b,T){this.acceptsBooleans=i===2||i===3||i===4,this.attributeName=d,this.attributeNamespace=g,this.mustUseProperty=c,this.propertyName=o,this.type=i,this.sanitizeURL=b,this.removeEmptyString=T}var x={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(o){x[o]=new w(o,0,!1,o,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(o){var i=o[0];x[i]=new w(i,1,!1,o[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(o){x[o]=new w(o,2,!1,o.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(o){x[o]=new w(o,2,!1,o,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(o){x[o]=new w(o,3,!1,o.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(o){x[o]=new w(o,3,!0,o,null,!1,!1)}),["capture","download"].forEach(function(o){x[o]=new w(o,4,!1,o,null,!1,!1)}),["cols","rows","size","span"].forEach(function(o){x[o]=new w(o,6,!1,o,null,!1,!1)}),["rowSpan","start"].forEach(function(o){x[o]=new w(o,5,!1,o.toLowerCase(),null,!1,!1)});var S=/[\-:]([a-z])/g;function C(o){return o[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(o){var i=o.replace(S,C);x[i]=new w(i,1,!1,o,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(o){var i=o.replace(S,C);x[i]=new w(i,1,!1,o,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(o){var i=o.replace(S,C);x[i]=new w(i,1,!1,o,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(o){x[o]=new w(o,1,!1,o.toLowerCase(),null,!1,!1)}),x.xlinkHref=new w("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(o){x[o]=new w(o,1,!1,o.toLowerCase(),null,!0,!0)});function z(o,i,c,d){var g=x.hasOwnProperty(i)?x[i]:null;(g!==null?g.type!==0:d||!(2V||A[S]!==b[V]){var F=` -`+A[S].replace(" at new "," at ");return r.displayName&&F.includes("")&&(F=F.replace("",r.displayName)),F}while(1<=S&&0<=V);break}}}finally{se=!1,Error.prepareStackTrace=l}return(r=r?r.displayName||r.name:"")?X(r):""}function de(r){switch(r.tag){case 5:return X(r.type);case 16:return X("Lazy");case 13:return X("Suspense");case 19:return X("SuspenseList");case 0:case 2:case 15:return r=_(r.type,!1),r;case 11:return r=_(r.type.render,!1),r;case 1:return r=_(r.type,!0),r;default:return""}}function ue(r){if(r==null)return null;if(typeof r=="function")return r.displayName||r.name||null;if(typeof r=="string")return r;switch(r){case T:return"Fragment";case E:return"Portal";case N:return"Profiler";case L:return"StrictMode";case W:return"Suspense";case oe:return"SuspenseList"}if(typeof r=="object")switch(r.$$typeof){case U:return(r.displayName||"Context")+".Consumer";case M:return(r._context.displayName||"Context")+".Provider";case I:var s=r.render;return r=r.displayName,r||(r=s.displayName||s.name||"",r=r!==""?"ForwardRef("+r+")":"ForwardRef"),r;case q:return s=r.displayName||null,s!==null?s:ue(r.type)||"Memo";case ie:s=r._payload,r=r._init;try{return ue(r(s))}catch{}}return null}function we(r){var s=r.type;switch(r.tag){case 24:return"Cache";case 9:return(s.displayName||"Context")+".Consumer";case 10:return(s._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return r=s.render,r=r.displayName||r.name||"",s.displayName||(r!==""?"ForwardRef("+r+")":"ForwardRef");case 7:return"Fragment";case 5:return s;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return ue(s);case 8:return s===L?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof s=="function")return s.displayName||s.name||null;if(typeof s=="string")return s}return null}function pe(r){switch(typeof r){case"boolean":case"number":case"string":case"undefined":return r;case"object":return r;default:return""}}function me(r){var s=r.type;return(r=r.nodeName)&&r.toLowerCase()==="input"&&(s==="checkbox"||s==="radio")}function it(r){var s=me(r)?"checked":"value",l=Object.getOwnPropertyDescriptor(r.constructor.prototype,s),d=""+r[s];if(!r.hasOwnProperty(s)&&typeof l<"u"&&typeof l.get=="function"&&typeof l.set=="function"){var A=l.get,b=l.set;return Object.defineProperty(r,s,{configurable:!0,get:function(){return A.call(this)},set:function(S){d=""+S,b.call(this,S)}}),Object.defineProperty(r,s,{enumerable:l.enumerable}),{getValue:function(){return d},setValue:function(S){d=""+S},stopTracking:function(){r._valueTracker=null,delete r[s]}}}}function We(r){r._valueTracker||(r._valueTracker=it(r))}function Xe(r){if(!r)return!1;var s=r._valueTracker;if(!s)return!0;var l=s.getValue(),d="";return r&&(d=me(r)?r.checked?"true":"false":r.value),r=d,r!==l?(s.setValue(r),!0):!1}function Be(r){if(r=r||(typeof document<"u"?document:void 0),typeof r>"u")return null;try{return r.activeElement||r.body}catch{return r.body}}function Re(r,s){var l=s.checked;return k({},s,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:l??r._wrapperState.initialChecked})}function rt(r,s){var l=s.defaultValue==null?"":s.defaultValue,d=s.checked!=null?s.checked:s.defaultChecked;l=pe(s.value!=null?s.value:l),r._wrapperState={initialChecked:d,initialValue:l,controlled:s.type==="checkbox"||s.type==="radio"?s.checked!=null:s.value!=null}}function Ve(r,s){s=s.checked,s!=null&&C(r,"checked",s,!1)}function jt(r,s){Ve(r,s);var l=pe(s.value),d=s.type;if(l!=null)d==="number"?(l===0&&r.value===""||r.value!=l)&&(r.value=""+l):r.value!==""+l&&(r.value=""+l);else if(d==="submit"||d==="reset"){r.removeAttribute("value");return}s.hasOwnProperty("value")?re(r,s.type,l):s.hasOwnProperty("defaultValue")&&re(r,s.type,pe(s.defaultValue)),s.checked==null&&s.defaultChecked!=null&&(r.defaultChecked=!!s.defaultChecked)}function B(r,s,l){if(s.hasOwnProperty("value")||s.hasOwnProperty("defaultValue")){var d=s.type;if(!(d!=="submit"&&d!=="reset"||s.value!==void 0&&s.value!==null))return;s=""+r._wrapperState.initialValue,l||s===r.value||(r.value=s),r.defaultValue=s}l=r.name,l!==""&&(r.name=""),r.defaultChecked=!!r._wrapperState.initialChecked,l!==""&&(r.name=l)}function re(r,s,l){(s!=="number"||Be(r.ownerDocument)!==r)&&(l==null?r.defaultValue=""+r._wrapperState.initialValue:r.defaultValue!==""+l&&(r.defaultValue=""+l))}var ae=Array.isArray;function ge(r,s,l,d){if(r=r.options,s){s={};for(var A=0;A"+s.valueOf().toString()+"",s=Ue.firstChild;r.firstChild;)r.removeChild(r.firstChild);for(;s.firstChild;)r.appendChild(s.firstChild)}});function gt(r,s){if(s){var l=r.firstChild;if(l&&l===r.lastChild&&l.nodeType===3){l.nodeValue=s;return}}r.textContent=s}var Mt={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},_t=["Webkit","ms","Moz","O"];Object.keys(Mt).forEach(function(r){_t.forEach(function(s){s=s+r.charAt(0).toUpperCase()+r.substring(1),Mt[s]=Mt[r]})});function Fe(r,s,l){return s==null||typeof s=="boolean"||s===""?"":l||typeof s!="number"||s===0||Mt.hasOwnProperty(r)&&Mt[r]?(""+s).trim():s+"px"}function At(r,s){r=r.style;for(var l in s)if(s.hasOwnProperty(l)){var d=l.indexOf("--")===0,A=Fe(l,s[l],d);l==="float"&&(l="cssFloat"),d?r.setProperty(l,A):r[l]=A}}var G=k({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Z(r,s){if(s){if(G[r]&&(s.children!=null||s.dangerouslySetInnerHTML!=null))throw Error(n(137,r));if(s.dangerouslySetInnerHTML!=null){if(s.children!=null)throw Error(n(60));if(typeof s.dangerouslySetInnerHTML!="object"||!("__html"in s.dangerouslySetInnerHTML))throw Error(n(61))}if(s.style!=null&&typeof s.style!="object")throw Error(n(62))}}function be(r,s){if(r.indexOf("-")===-1)return typeof s.is=="string";switch(r){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var ke=null;function De(r){return r=r.target||r.srcElement||window,r.correspondingUseElement&&(r=r.correspondingUseElement),r.nodeType===3?r.parentNode:r}var Ne=null,Ye=null,Te=null;function tt(r){if(r=ec(r)){if(typeof Ne!="function")throw Error(n(280));var s=r.stateNode;s&&(s=Uf(s),Ne(r.stateNode,r.type,s))}}function ft(r){Ye?Te?Te.push(r):Te=[r]:Ye=r}function Rt(){if(Ye){var r=Ye,s=Te;if(Te=Ye=null,tt(r),s)for(r=0;r>>=0,r===0?32:31-(R5(r)/D5|0)|0}var Sf=64,Tf=4194304;function Ll(r){switch(r&-r){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return r&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return r&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return r}}function Ef(r,s){var l=r.pendingLanes;if(l===0)return 0;var d=0,A=r.suspendedLanes,b=r.pingedLanes,S=l&268435455;if(S!==0){var V=S&~A;V!==0?d=Ll(V):(b&=S,b!==0&&(d=Ll(b)))}else S=l&~A,S!==0?d=Ll(S):b!==0&&(d=Ll(b));if(d===0)return 0;if(s!==0&&s!==d&&!(s&A)&&(A=d&-d,b=s&-s,A>=b||A===16&&(b&4194240)!==0))return s;if(d&4&&(d|=l&16),s=r.entangledLanes,s!==0)for(r=r.entanglements,s&=d;0l;l++)s.push(r);return s}function Xl(r,s,l){r.pendingLanes|=s,s!==536870912&&(r.suspendedLanes=0,r.pingedLanes=0),r=r.eventTimes,s=31-ho(s),r[s]=l}function k5(r,s){var l=r.pendingLanes&~s;r.pendingLanes=s,r.suspendedLanes=0,r.pingedLanes=0,r.expiredLanes&=s,r.mutableReadLanes&=s,r.entangledLanes&=s,s=r.entanglements;var d=r.eventTimes;for(r=r.expirationTimes;0=Yl),ly=" ",cy=!1;function uy(r,s){switch(r){case"keyup":return l3.indexOf(s.keyCode)!==-1;case"keydown":return s.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function fy(r){return r=r.detail,typeof r=="object"&&"data"in r?r.data:null}var ua=!1;function u3(r,s){switch(r){case"compositionend":return fy(s);case"keypress":return s.which!==32?null:(cy=!0,ly);case"textInput":return r=s.data,r===ly&&cy?null:r;default:return null}}function f3(r,s){if(ua)return r==="compositionend"||!vh&&uy(r,s)?(r=ny(),Nf=lh=Es=null,ua=!1,r):null;switch(r){case"paste":return null;case"keypress":if(!(s.ctrlKey||s.altKey||s.metaKey)||s.ctrlKey&&s.altKey){if(s.char&&1=s)return{node:l,offset:s-r};r=d}e:{for(;l;){if(l.nextSibling){l=l.nextSibling;break e}l=l.parentNode}l=void 0}l=Py(l)}}function yy(r,s){return r&&s?r===s?!0:r&&r.nodeType===3?!1:s&&s.nodeType===3?yy(r,s.parentNode):"contains"in r?r.contains(s):r.compareDocumentPosition?!!(r.compareDocumentPosition(s)&16):!1:!1}function by(){for(var r=window,s=Be();s instanceof r.HTMLIFrameElement;){try{var l=typeof s.contentWindow.location.href=="string"}catch{l=!1}if(l)r=s.contentWindow;else break;s=Be(r.document)}return s}function Ah(r){var s=r&&r.nodeName&&r.nodeName.toLowerCase();return s&&(s==="input"&&(r.type==="text"||r.type==="search"||r.type==="tel"||r.type==="url"||r.type==="password")||s==="textarea"||r.contentEditable==="true")}function y3(r){var s=by(),l=r.focusedElem,d=r.selectionRange;if(s!==l&&l&&l.ownerDocument&&yy(l.ownerDocument.documentElement,l)){if(d!==null&&Ah(l)){if(s=d.start,r=d.end,r===void 0&&(r=s),"selectionStart"in l)l.selectionStart=s,l.selectionEnd=Math.min(r,l.value.length);else if(r=(s=l.ownerDocument||document)&&s.defaultView||window,r.getSelection){r=r.getSelection();var A=l.textContent.length,b=Math.min(d.start,A);d=d.end===void 0?b:Math.min(d.end,A),!r.extend&&b>d&&(A=d,d=b,b=A),A=gy(l,b);var S=gy(l,d);A&&S&&(r.rangeCount!==1||r.anchorNode!==A.node||r.anchorOffset!==A.offset||r.focusNode!==S.node||r.focusOffset!==S.offset)&&(s=s.createRange(),s.setStart(A.node,A.offset),r.removeAllRanges(),b>d?(r.addRange(s),r.extend(S.node,S.offset)):(s.setEnd(S.node,S.offset),r.addRange(s)))}}for(s=[],r=l;r=r.parentNode;)r.nodeType===1&&s.push({element:r,left:r.scrollLeft,top:r.scrollTop});for(typeof l.focus=="function"&&l.focus(),l=0;l=document.documentMode,fa=null,Ph=null,Ul=null,gh=!1;function xy(r,s,l){var d=l.window===l?l.document:l.nodeType===9?l:l.ownerDocument;gh||fa==null||fa!==Be(d)||(d=fa,"selectionStart"in d&&Ah(d)?d={start:d.selectionStart,end:d.selectionEnd}:(d=(d.ownerDocument&&d.ownerDocument.defaultView||window).getSelection(),d={anchorNode:d.anchorNode,anchorOffset:d.anchorOffset,focusNode:d.focusNode,focusOffset:d.focusOffset}),Ul&&Gl(Ul,d)||(Ul=d,d=qf(Ph,"onSelect"),0ma||(r.current=Sh[ma],Sh[ma]=null,ma--)}function an(r,s){ma++,Sh[ma]=r.current,r.current=s}var Xs={},er=Ls(Xs),Ar=Ls(!1),yi=Xs;function Aa(r,s){var l=r.type.contextTypes;if(!l)return Xs;var d=r.stateNode;if(d&&d.__reactInternalMemoizedUnmaskedChildContext===s)return d.__reactInternalMemoizedMaskedChildContext;var A={},b;for(b in l)A[b]=s[b];return d&&(r=r.stateNode,r.__reactInternalMemoizedUnmaskedChildContext=s,r.__reactInternalMemoizedMaskedChildContext=A),A}function Pr(r){return r=r.childContextTypes,r!=null}function Qf(){un(Ar),un(er)}function Xy(r,s,l){if(er.current!==Xs)throw Error(n(168));an(er,s),an(Ar,l)}function Ny(r,s,l){var d=r.stateNode;if(s=s.childContextTypes,typeof d.getChildContext!="function")return l;d=d.getChildContext();for(var A in d)if(!(A in s))throw Error(n(108,we(r)||"Unknown",A));return k({},l,d)}function Kf(r){return r=(r=r.stateNode)&&r.__reactInternalMemoizedMergedChildContext||Xs,yi=er.current,an(er,r),an(Ar,Ar.current),!0}function By(r,s,l){var d=r.stateNode;if(!d)throw Error(n(169));l?(r=Ny(r,s,yi),d.__reactInternalMemoizedMergedChildContext=r,un(Ar),un(er),an(er,r)):un(Ar),an(Ar,l)}var ls=null,_f=!1,Th=!1;function Vy(r){ls===null?ls=[r]:ls.push(r)}function T3(r){_f=!0,Vy(r)}function Ns(){if(!Th&&ls!==null){Th=!0;var r=0,s=en;try{var l=ls;for(en=1;r>=S,A-=S,cs=1<<32-ho(s)+A|l<yt?(Fn=pt,pt=null):Fn=pt.sibling;var Jt=je(le,pt,ce[yt],Me);if(Jt===null){pt===null&&(pt=Fn);break}r&&pt&&Jt.alternate===null&&s(le,pt),Q=b(Jt,Q,yt),dt===null?lt=Jt:dt.sibling=Jt,dt=Jt,pt=Fn}if(yt===ce.length)return l(le,pt),vn&&xi(le,yt),lt;if(pt===null){for(;ytyt?(Fn=pt,pt=null):Fn=pt.sibling;var Zs=je(le,pt,Jt.value,Me);if(Zs===null){pt===null&&(pt=Fn);break}r&&pt&&Zs.alternate===null&&s(le,pt),Q=b(Zs,Q,yt),dt===null?lt=Zs:dt.sibling=Zs,dt=Zs,pt=Fn}if(Jt.done)return l(le,pt),vn&&xi(le,yt),lt;if(pt===null){for(;!Jt.done;yt++,Jt=ce.next())Jt=Se(le,Jt.value,Me),Jt!==null&&(Q=b(Jt,Q,yt),dt===null?lt=Jt:dt.sibling=Jt,dt=Jt);return vn&&xi(le,yt),lt}for(pt=d(le,pt);!Jt.done;yt++,Jt=ce.next())Jt=qe(pt,le,yt,Jt.value,Me),Jt!==null&&(r&&Jt.alternate!==null&&pt.delete(Jt.key===null?yt:Jt.key),Q=b(Jt,Q,yt),dt===null?lt=Jt:dt.sibling=Jt,dt=Jt);return r&&pt.forEach(function(d7){return s(le,d7)}),vn&&xi(le,yt),lt}function Cn(le,Q,ce,Me){if(typeof ce=="object"&&ce!==null&&ce.type===T&&ce.key===null&&(ce=ce.props.children),typeof ce=="object"&&ce!==null){switch(ce.$$typeof){case R:e:{for(var lt=ce.key,dt=Q;dt!==null;){if(dt.key===lt){if(lt=ce.type,lt===T){if(dt.tag===7){l(le,dt.sibling),Q=A(dt,ce.props.children),Q.return=le,le=Q;break e}}else if(dt.elementType===lt||typeof lt=="object"&<!==null&<.$$typeof===ie&&eb(lt)===dt.type){l(le,dt.sibling),Q=A(dt,ce.props),Q.ref=tc(le,dt,ce),Q.return=le,le=Q;break e}l(le,dt);break}else s(le,dt);dt=dt.sibling}ce.type===T?(Q=Di(ce.props.children,le.mode,Me,ce.key),Q.return=le,le=Q):(Me=zd(ce.type,ce.key,ce.props,null,le.mode,Me),Me.ref=tc(le,Q,ce),Me.return=le,le=Me)}return S(le);case E:e:{for(dt=ce.key;Q!==null;){if(Q.key===dt)if(Q.tag===4&&Q.stateNode.containerInfo===ce.containerInfo&&Q.stateNode.implementation===ce.implementation){l(le,Q.sibling),Q=A(Q,ce.children||[]),Q.return=le,le=Q;break e}else{l(le,Q);break}else s(le,Q);Q=Q.sibling}Q=Rm(ce,le.mode,Me),Q.return=le,le=Q}return S(le);case ie:return dt=ce._init,Cn(le,Q,dt(ce._payload),Me)}if(ae(ce))return ot(le,Q,ce,Me);if(K(ce))return at(le,Q,ce,Me);ad(le,ce)}return typeof ce=="string"&&ce!==""||typeof ce=="number"?(ce=""+ce,Q!==null&&Q.tag===6?(l(le,Q.sibling),Q=A(Q,ce),Q.return=le,le=Q):(l(le,Q),Q=Cm(ce,le.mode,Me),Q.return=le,le=Q),S(le)):l(le,Q)}return Cn}var wa=tb(!0),nb=tb(!1),nc={},Lo=Ls(nc),rc=Ls(nc),oc=Ls(nc);function Hi(r){if(r===nc)throw Error(n(174));return r}function qh(r,s){switch(an(oc,s),an(rc,r),an(Lo,nc),r=s.nodeType,r){case 9:case 11:s=(s=s.documentElement)?s.namespaceURI:mt(null,"");break;default:r=r===8?s.parentNode:s,s=r.namespaceURI||null,r=r.tagName,s=mt(s,r)}un(Lo),an(Lo,s)}function Ha(){un(Lo),un(rc),un(oc)}function rb(r){Hi(oc.current);var s=Hi(Lo.current),l=mt(s,r.type);s!==l&&(an(rc,r),an(Lo,l))}function Zh(r){rc.current===r&&(un(Lo),un(rc))}var Pn=Ls(0);function ld(r){for(var s=r;s!==null;){if(s.tag===13){var l=s.memoizedState;if(l!==null&&(l=l.dehydrated,l===null||l.data==="$?"||l.data==="$!"))return s}else if(s.tag===19&&s.memoizedProps.revealOrder!==void 0){if(s.flags&128)return s}else if(s.child!==null){s.child.return=s,s=s.child;continue}if(s===r)break;for(;s.sibling===null;){if(s.return===null||s.return===r)return null;s=s.return}s.sibling.return=s.return,s=s.sibling}return null}var Gh=[];function Uh(){for(var r=0;rl?l:4,r(!0);var d=Qh.transition;Qh.transition={};try{r(!1),s()}finally{en=l,Qh.transition=d}}function bb(){return to().memoizedState}function L3(r,s,l){var d=Fs(r);if(l={lane:d,action:l,hasEagerState:!1,eagerState:null,next:null},xb(r))wb(s,l);else if(l=qy(r,s,l,d),l!==null){var A=ur();bo(l,r,d,A),Hb(l,s,d)}}function X3(r,s,l){var d=Fs(r),A={lane:d,action:l,hasEagerState:!1,eagerState:null,next:null};if(xb(r))wb(s,A);else{var b=r.alternate;if(r.lanes===0&&(b===null||b.lanes===0)&&(b=s.lastRenderedReducer,b!==null))try{var S=s.lastRenderedState,V=b(S,l);if(A.hasEagerState=!0,A.eagerState=V,mo(V,S)){var F=s.interleaved;F===null?(A.next=A,Wh(s)):(A.next=F.next,F.next=A),s.interleaved=A;return}}catch{}finally{}l=qy(r,s,A,d),l!==null&&(A=ur(),bo(l,r,d,A),Hb(l,s,d))}}function xb(r){var s=r.alternate;return r===gn||s!==null&&s===gn}function wb(r,s){sc=ud=!0;var l=r.pending;l===null?s.next=s:(s.next=l.next,l.next=s),r.pending=s}function Hb(r,s,l){if(l&4194240){var d=s.lanes;d&=r.pendingLanes,l|=d,s.lanes=l,rh(r,l)}}var pd={readContext:eo,useCallback:tr,useContext:tr,useEffect:tr,useImperativeHandle:tr,useInsertionEffect:tr,useLayoutEffect:tr,useMemo:tr,useReducer:tr,useRef:tr,useState:tr,useDebugValue:tr,useDeferredValue:tr,useTransition:tr,useMutableSource:tr,useSyncExternalStore:tr,useId:tr,unstable_isNewReconciler:!1},N3={readContext:eo,useCallback:function(r,s){return Xo().memoizedState=[r,s===void 0?null:s],r},useContext:eo,useEffect:pb,useImperativeHandle:function(r,s,l){return l=l!=null?l.concat([r]):null,fd(4194308,4,mb.bind(null,s,r),l)},useLayoutEffect:function(r,s){return fd(4194308,4,r,s)},useInsertionEffect:function(r,s){return fd(4,2,r,s)},useMemo:function(r,s){var l=Xo();return s=s===void 0?null:s,r=r(),l.memoizedState=[r,s],r},useReducer:function(r,s,l){var d=Xo();return s=l!==void 0?l(s):s,d.memoizedState=d.baseState=s,r={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:r,lastRenderedState:s},d.queue=r,r=r.dispatch=L3.bind(null,gn,r),[d.memoizedState,r]},useRef:function(r){var s=Xo();return r={current:r},s.memoizedState=r},useState:fb,useDebugValue:rm,useDeferredValue:function(r){return Xo().memoizedState=r},useTransition:function(){var r=fb(!1),s=r[0];return r=M3.bind(null,r[1]),Xo().memoizedState=r,[s,r]},useMutableSource:function(){},useSyncExternalStore:function(r,s,l){var d=gn,A=Xo();if(vn){if(l===void 0)throw Error(n(407));l=l()}else{if(l=s(),Jn===null)throw Error(n(349));ji&30||ib(d,s,l)}A.memoizedState=l;var b={value:l,getSnapshot:s};return A.queue=b,pb(lb.bind(null,d,b,r),[r]),d.flags|=2048,lc(9,ab.bind(null,d,b,l,s),void 0,null),l},useId:function(){var r=Xo(),s=Jn.identifierPrefix;if(vn){var l=us,d=cs;l=(d&~(1<<32-ho(d)-1)).toString(32)+l,s=":"+s+"R"+l,l=ic++,0V||g[T]!==b[V]){var q=` +`+g[T].replace(" at new "," at ");return o.displayName&&q.includes("")&&(q=q.replace("",o.displayName)),q}while(1<=T&&0<=V);break}}}finally{ee=!1,Error.prepareStackTrace=c}return(o=o?o.displayName||o.name:"")?X(o):""}function ue(o){switch(o.tag){case 5:return X(o.type);case 16:return X("Lazy");case 13:return X("Suspense");case 19:return X("SuspenseList");case 0:case 2:case 15:return o=te(o.type,!1),o;case 11:return o=te(o.type.render,!1),o;case 1:return o=te(o.type,!0),o;default:return""}}function de(o){if(o==null)return null;if(typeof o=="function")return o.displayName||o.name||null;if(typeof o=="string")return o;switch(o){case R:return"Fragment";case k:return"Portal";case L:return"Profiler";case M:return"StrictMode";case J:return"Suspense";case K:return"SuspenseList"}if(typeof o=="object")switch(o.$$typeof){case B:return(o.displayName||"Context")+".Consumer";case j:return(o._context.displayName||"Context")+".Provider";case I:var i=o.render;return o=o.displayName,o||(o=i.displayName||i.name||"",o=o!==""?"ForwardRef("+o+")":"ForwardRef"),o;case W:return i=o.displayName||null,i!==null?i:de(o.type)||"Memo";case ne:i=o._payload,o=o._init;try{return de(o(i))}catch{}}return null}function xe(o){var i=o.type;switch(o.tag){case 24:return"Cache";case 9:return(i.displayName||"Context")+".Consumer";case 10:return(i._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return o=i.render,o=o.displayName||o.name||"",i.displayName||(o!==""?"ForwardRef("+o+")":"ForwardRef");case 7:return"Fragment";case 5:return i;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return de(i);case 8:return i===M?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof i=="function")return i.displayName||i.name||null;if(typeof i=="string")return i}return null}function ve(o){switch(typeof o){case"boolean":case"number":case"string":case"undefined":return o;case"object":return o;default:return""}}function be(o){var i=o.type;return(o=o.nodeName)&&o.toLowerCase()==="input"&&(i==="checkbox"||i==="radio")}function Xe(o){var i=be(o)?"checked":"value",c=Object.getOwnPropertyDescriptor(o.constructor.prototype,i),d=""+o[i];if(!o.hasOwnProperty(i)&&typeof c<"u"&&typeof c.get=="function"&&typeof c.set=="function"){var g=c.get,b=c.set;return Object.defineProperty(o,i,{configurable:!0,get:function(){return g.call(this)},set:function(T){d=""+T,b.call(this,T)}}),Object.defineProperty(o,i,{enumerable:c.enumerable}),{getValue:function(){return d},setValue:function(T){d=""+T},stopTracking:function(){o._valueTracker=null,delete o[i]}}}}function Ie(o){o._valueTracker||(o._valueTracker=Xe(o))}function He(o){if(!o)return!1;var i=o._valueTracker;if(!i)return!0;var c=i.getValue(),d="";return o&&(d=be(o)?o.checked?"true":"false":o.value),o=d,o!==c?(i.setValue(o),!0):!1}function Ke(o){if(o=o||(typeof document<"u"?document:void 0),typeof o>"u")return null;try{return o.activeElement||o.body}catch{return o.body}}function we(o,i){var c=i.checked;return E({},i,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:c??o._wrapperState.initialChecked})}function tt(o,i){var c=i.defaultValue==null?"":i.defaultValue,d=i.checked!=null?i.checked:i.defaultChecked;c=ve(i.value!=null?i.value:c),o._wrapperState={initialChecked:d,initialValue:c,controlled:i.type==="checkbox"||i.type==="radio"?i.checked!=null:i.value!=null}}function Le(o,i){i=i.checked,i!=null&&z(o,"checked",i,!1)}function dt(o,i){Le(o,i);var c=ve(i.value),d=i.type;if(c!=null)d==="number"?(c===0&&o.value===""||o.value!=c)&&(o.value=""+c):o.value!==""+c&&(o.value=""+c);else if(d==="submit"||d==="reset"){o.removeAttribute("value");return}i.hasOwnProperty("value")?$(o,i.type,c):i.hasOwnProperty("defaultValue")&&$(o,i.type,ve(i.defaultValue)),i.checked==null&&i.defaultChecked!=null&&(o.defaultChecked=!!i.defaultChecked)}function N(o,i,c){if(i.hasOwnProperty("value")||i.hasOwnProperty("defaultValue")){var d=i.type;if(!(d!=="submit"&&d!=="reset"||i.value!==void 0&&i.value!==null))return;i=""+o._wrapperState.initialValue,c||i===o.value||(o.value=i),o.defaultValue=i}c=o.name,c!==""&&(o.name=""),o.defaultChecked=!!o._wrapperState.initialChecked,c!==""&&(o.name=c)}function $(o,i,c){(i!=="number"||Ke(o.ownerDocument)!==o)&&(c==null?o.defaultValue=""+o._wrapperState.initialValue:o.defaultValue!==""+c&&(o.defaultValue=""+c))}var se=Array.isArray;function ye(o,i,c,d){if(o=o.options,i){i={};for(var g=0;g"+i.valueOf().toString()+"",i=ft.firstChild;o.firstChild;)o.removeChild(o.firstChild);for(;i.firstChild;)o.appendChild(i.firstChild)}});function Ht(o,i){if(i){var c=o.firstChild;if(c&&c===o.lastChild&&c.nodeType===3){c.nodeValue=i;return}}o.textContent=i}var We={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Dt=["Webkit","ms","Moz","O"];Object.keys(We).forEach(function(o){Dt.forEach(function(i){i=i+o.charAt(0).toUpperCase()+o.substring(1),We[i]=We[o]})});function Jt(o,i,c){return i==null||typeof i=="boolean"||i===""?"":c||typeof i!="number"||i===0||We.hasOwnProperty(o)&&We[o]?(""+i).trim():i+"px"}function Be(o,i){o=o.style;for(var c in i)if(i.hasOwnProperty(c)){var d=c.indexOf("--")===0,g=Jt(c,i[c],d);c==="float"&&(c="cssFloat"),d?o.setProperty(c,g):o[c]=g}}var U=E({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Y(o,i){if(i){if(U[o]&&(i.children!=null||i.dangerouslySetInnerHTML!=null))throw Error(n(137,o));if(i.dangerouslySetInnerHTML!=null){if(i.children!=null)throw Error(n(60));if(typeof i.dangerouslySetInnerHTML!="object"||!("__html"in i.dangerouslySetInnerHTML))throw Error(n(61))}if(i.style!=null&&typeof i.style!="object")throw Error(n(62))}}function Pe(o,i){if(o.indexOf("-")===-1)return typeof i.is=="string";switch(o){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var De=null;function Te(o){return o=o.target||o.srcElement||window,o.correspondingUseElement&&(o=o.correspondingUseElement),o.nodeType===3?o.parentNode:o}var Ne=null,Je=null,ke=null;function rt(o){if(o=vc(o)){if(typeof Ne!="function")throw Error(n(280));var i=o.stateNode;i&&(i=Of(i),Ne(o.stateNode,o.type,i))}}function vt(o){Je?ke?ke.push(o):ke=[o]:Je=o}function kt(){if(Je){var o=Je,i=ke;if(ke=Je=null,rt(o),i)for(o=0;o>>=0,o===0?32:31-(U4(o)/Q4|0)|0}var uf=64,ff=4194304;function Ql(o){switch(o&-o){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return o&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return o&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return o}}function df(o,i){var c=o.pendingLanes;if(c===0)return 0;var d=0,g=o.suspendedLanes,b=o.pingedLanes,T=c&268435455;if(T!==0){var V=T&~g;V!==0?d=Ql(V):(b&=T,b!==0&&(d=Ql(b)))}else T=c&~g,T!==0?d=Ql(T):b!==0&&(d=Ql(b));if(d===0)return 0;if(i!==0&&i!==d&&!(i&g)&&(g=d&-d,b=i&-i,g>=b||g===16&&(b&4194240)!==0))return i;if(d&4&&(d|=c&16),i=o.entangledLanes,i!==0)for(o=o.entanglements,i&=d;0c;c++)i.push(o);return i}function Kl(o,i,c){o.pendingLanes|=i,i!==536870912&&(o.suspendedLanes=0,o.pingedLanes=0),o=o.eventTimes,i=31-Lr(i),o[i]=c}function e5(o,i){var c=o.pendingLanes&~i;o.pendingLanes=i,o.suspendedLanes=0,o.pingedLanes=0,o.expiredLanes&=i,o.mutableReadLanes&=i,o.entangledLanes&=i,i=o.entanglements;var d=o.eventTimes;for(o=o.expirationTimes;0=sc),YA=" ",qA=!1;function ZA(o,i){switch(o){case"keyup":return O5.indexOf(i.keyCode)!==-1;case"keydown":return i.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function GA(o){return o=o.detail,typeof o=="object"&&"data"in o?o.data:null}var Ha=!1;function D5(o,i){switch(o){case"compositionend":return GA(i);case"keypress":return i.which!==32?null:(qA=!0,YA);case"textInput":return o=i.data,o===YA&&qA?null:o;default:return null}}function T5(o,i){if(Ha)return o==="compositionend"||!Uv&&ZA(o,i)?(o=BA(),gf=Jv=Js=null,Ha=!1,o):null;switch(o){case"paste":return null;case"keypress":if(!(i.ctrlKey||i.altKey||i.metaKey)||i.ctrlKey&&i.altKey){if(i.char&&1=i)return{node:c,offset:i-o};o=d}e:{for(;c;){if(c.nextSibling){c=c.nextSibling;break e}c=c.parentNode}c=void 0}c=tP(c)}}function rP(o,i){return o&&i?o===i?!0:o&&o.nodeType===3?!1:i&&i.nodeType===3?rP(o,i.parentNode):"contains"in o?o.contains(i):o.compareDocumentPosition?!!(o.compareDocumentPosition(i)&16):!1:!1}function oP(){for(var o=window,i=Ke();i instanceof o.HTMLIFrameElement;){try{var c=typeof i.contentWindow.location.href=="string"}catch{c=!1}if(c)o=i.contentWindow;else break;i=Ke(o.document)}return i}function _v(o){var i=o&&o.nodeName&&o.nodeName.toLowerCase();return i&&(i==="input"&&(o.type==="text"||o.type==="search"||o.type==="tel"||o.type==="url"||o.type==="password")||i==="textarea"||o.contentEditable==="true")}function V5(o){var i=oP(),c=o.focusedElem,d=o.selectionRange;if(i!==c&&c&&c.ownerDocument&&rP(c.ownerDocument.documentElement,c)){if(d!==null&&_v(c)){if(i=d.start,o=d.end,o===void 0&&(o=i),"selectionStart"in c)c.selectionStart=i,c.selectionEnd=Math.min(o,c.value.length);else if(o=(i=c.ownerDocument||document)&&i.defaultView||window,o.getSelection){o=o.getSelection();var g=c.textContent.length,b=Math.min(d.start,g);d=d.end===void 0?b:Math.min(d.end,g),!o.extend&&b>d&&(g=d,d=b,b=g),g=nP(c,b);var T=nP(c,d);g&&T&&(o.rangeCount!==1||o.anchorNode!==g.node||o.anchorOffset!==g.offset||o.focusNode!==T.node||o.focusOffset!==T.offset)&&(i=i.createRange(),i.setStart(g.node,g.offset),o.removeAllRanges(),b>d?(o.addRange(i),o.extend(T.node,T.offset)):(i.setEnd(T.node,T.offset),o.addRange(i)))}}for(i=[],o=c;o=o.parentNode;)o.nodeType===1&&i.push({element:o,left:o.scrollLeft,top:o.scrollTop});for(typeof c.focus=="function"&&c.focus(),c=0;c=document.documentMode,ja=null,$v=null,cc=null,eh=!1;function sP(o,i,c){var d=c.window===c?c.document:c.nodeType===9?c:c.ownerDocument;eh||ja==null||ja!==Ke(d)||(d=ja,"selectionStart"in d&&_v(d)?d={start:d.selectionStart,end:d.selectionEnd}:(d=(d.ownerDocument&&d.ownerDocument.defaultView||window).getSelection(),d={anchorNode:d.anchorNode,anchorOffset:d.anchorOffset,focusNode:d.focusNode,focusOffset:d.focusOffset}),cc&&lc(cc,d)||(cc=d,d=jf($v,"onSelect"),0Da||(o.current=dh[Da],dh[Da]=null,Da--)}function nn(o,i){Da++,dh[Da]=o.current,o.current=i}var Zs={},$n=qs(Zs),gr=qs(!1),ki=Zs;function Ta(o,i){var c=o.type.contextTypes;if(!c)return Zs;var d=o.stateNode;if(d&&d.__reactInternalMemoizedUnmaskedChildContext===i)return d.__reactInternalMemoizedMaskedChildContext;var g={},b;for(b in c)g[b]=i[b];return d&&(o=o.stateNode,o.__reactInternalMemoizedUnmaskedChildContext=i,o.__reactInternalMemoizedMaskedChildContext=g),g}function yr(o){return o=o.childContextTypes,o!=null}function Cf(){an(gr),an($n)}function PP(o,i,c){if($n.current!==Zs)throw Error(n(168));nn($n,i),nn(gr,c)}function bP(o,i,c){var d=o.stateNode;if(i=i.childContextTypes,typeof d.getChildContext!="function")return c;d=d.getChildContext();for(var g in d)if(!(g in i))throw Error(n(108,xe(o)||"Unknown",g));return E({},c,d)}function Df(o){return o=(o=o.stateNode)&&o.__reactInternalMemoizedMergedChildContext||Zs,ki=$n.current,nn($n,o),nn(gr,gr.current),!0}function xP(o,i,c){var d=o.stateNode;if(!d)throw Error(n(169));c?(o=bP(o,i,ki),d.__reactInternalMemoizedMergedChildContext=o,an(gr),an($n),nn($n,o)):an(gr),nn(gr,c)}var ps=null,Tf=!1,ph=!1;function wP(o){ps===null?ps=[o]:ps.push(o)}function _5(o){Tf=!0,wP(o)}function Gs(){if(!ph&&ps!==null){ph=!0;var o=0,i=Ut;try{var c=ps;for(Ut=1;o>=T,g-=T,vs=1<<32-Lr(i)+g|c<bt?(Yn=mt,mt=null):Yn=mt.sibling;var Wt=Se(ie,mt,ae[bt],Me);if(Wt===null){mt===null&&(mt=Yn);break}o&&mt&&Wt.alternate===null&&i(ie,mt),Q=b(Wt,Q,bt),ht===null?pt=Wt:ht.sibling=Wt,ht=Wt,mt=Yn}if(bt===ae.length)return c(ie,mt),fn&&Ei(ie,bt),pt;if(mt===null){for(;btbt?(Yn=mt,mt=null):Yn=mt.sibling;var ri=Se(ie,mt,Wt.value,Me);if(ri===null){mt===null&&(mt=Yn);break}o&&mt&&ri.alternate===null&&i(ie,mt),Q=b(ri,Q,bt),ht===null?pt=ri:ht.sibling=ri,ht=ri,mt=Yn}if(Wt.done)return c(ie,mt),fn&&Ei(ie,bt),pt;if(mt===null){for(;!Wt.done;bt++,Wt=ae.next())Wt=Ce(ie,Wt.value,Me),Wt!==null&&(Q=b(Wt,Q,bt),ht===null?pt=Wt:ht.sibling=Wt,ht=Wt);return fn&&Ei(ie,bt),pt}for(mt=d(ie,mt);!Wt.done;bt++,Wt=ae.next())Wt=Ye(mt,ie,bt,Wt.value,Me),Wt!==null&&(o&&Wt.alternate!==null&&mt.delete(Wt.key===null?bt:Wt.key),Q=b(Wt,Q,bt),ht===null?pt=Wt:ht.sibling=Wt,ht=Wt);return o&&mt.forEach(function(k3){return i(ie,k3)}),fn&&Ei(ie,bt),pt}function On(ie,Q,ae,Me){if(typeof ae=="object"&&ae!==null&&ae.type===R&&ae.key===null&&(ae=ae.props.children),typeof ae=="object"&&ae!==null){switch(ae.$$typeof){case D:e:{for(var pt=ae.key,ht=Q;ht!==null;){if(ht.key===pt){if(pt=ae.type,pt===R){if(ht.tag===7){c(ie,ht.sibling),Q=g(ht,ae.props.children),Q.return=ie,ie=Q;break e}}else if(ht.elementType===pt||typeof pt=="object"&&pt!==null&&pt.$$typeof===ne&&XP(pt)===ht.type){c(ie,ht.sibling),Q=g(ht,ae.props),Q.ref=hc(ie,ht,ae),Q.return=ie,ie=Q;break e}c(ie,ht);break}else i(ie,ht);ht=ht.sibling}ae.type===R?(Q=Wi(ae.props.children,ie.mode,Me,ae.key),Q.return=ie,ie=Q):(Me=sd(ae.type,ae.key,ae.props,null,ie.mode,Me),Me.ref=hc(ie,Q,ae),Me.return=ie,ie=Me)}return T(ie);case k:e:{for(ht=ae.key;Q!==null;){if(Q.key===ht)if(Q.tag===4&&Q.stateNode.containerInfo===ae.containerInfo&&Q.stateNode.implementation===ae.implementation){c(ie,Q.sibling),Q=g(Q,ae.children||[]),Q.return=ie,ie=Q;break e}else{c(ie,Q);break}else i(ie,Q);Q=Q.sibling}Q=um(ae,ie.mode,Me),Q.return=ie,ie=Q}return T(ie);case ne:return ht=ae._init,On(ie,Q,ht(ae._payload),Me)}if(se(ae))return it(ie,Q,ae,Me);if(_(ae))return ut(ie,Q,ae,Me);Vf(ie,ae)}return typeof ae=="string"&&ae!==""||typeof ae=="number"?(ae=""+ae,Q!==null&&Q.tag===6?(c(ie,Q.sibling),Q=g(Q,ae),Q.return=ie,ie=Q):(c(ie,Q),Q=cm(ae,ie.mode,Me),Q.return=ie,ie=Q),T(ie)):c(ie,Q)}return On}var Xa=NP(!0),BP=NP(!1),mc={},Io=qs(mc),gc=qs(mc),yc=qs(mc);function Li(o){if(o===mc)throw Error(n(174));return o}function zh(o,i){switch(nn(yc,i),nn(gc,o),nn(Io,mc),o=i.nodeType,o){case 9:case 11:i=(i=i.documentElement)?i.namespaceURI:nt(null,"");break;default:o=o===8?i.parentNode:i,i=o.namespaceURI||null,o=o.tagName,i=nt(i,o)}an(Io),nn(Io,i)}function Na(){an(Io),an(gc),an(yc)}function VP(o){Li(yc.current);var i=Li(Io.current),c=nt(i,o.type);i!==c&&(nn(gc,o),nn(Io,c))}function Oh(o){gc.current===o&&(an(Io),an(gc))}var vn=qs(0);function If(o){for(var i=o;i!==null;){if(i.tag===13){var c=i.memoizedState;if(c!==null&&(c=c.dehydrated,c===null||c.data==="$?"||c.data==="$!"))return i}else if(i.tag===19&&i.memoizedProps.revealOrder!==void 0){if(i.flags&128)return i}else if(i.child!==null){i.child.return=i,i=i.child;continue}if(i===o)break;for(;i.sibling===null;){if(i.return===null||i.return===o)return null;i=i.return}i.sibling.return=i.return,i=i.sibling}return null}var Ch=[];function Dh(){for(var o=0;oc?c:4,o(!0);var d=Th.transition;Th.transition={};try{o(!1),i()}finally{Ut=c,Th.transition=d}}function ob(){return eo().memoizedState}function n3(o,i,c){var d=ei(o);if(c={lane:d,action:c,hasEagerState:!1,eagerState:null,next:null},sb(o))ib(i,c);else if(c=CP(o,i,c,d),c!==null){var g=cr();So(c,o,d,g),ab(c,i,d)}}function r3(o,i,c){var d=ei(o),g={lane:d,action:c,hasEagerState:!1,eagerState:null,next:null};if(sb(o))ib(i,g);else{var b=o.alternate;if(o.lanes===0&&(b===null||b.lanes===0)&&(b=i.lastRenderedReducer,b!==null))try{var T=i.lastRenderedState,V=b(T,c);if(g.hasEagerState=!0,g.eagerState=V,bo(V,T)){var q=i.interleaved;q===null?(g.next=g,wh(i)):(g.next=q.next,q.next=g),i.interleaved=g;return}}catch{}finally{}c=CP(o,i,g,d),c!==null&&(g=cr(),So(c,o,d,g),ab(c,i,d))}}function sb(o){var i=o.alternate;return o===hn||i!==null&&i===hn}function ib(o,i){Ac=Jf=!0;var c=o.pending;c===null?i.next=i:(i.next=c.next,c.next=i),o.pending=i}function ab(o,i,c){if(c&4194240){var d=i.lanes;d&=o.pendingLanes,c|=d,i.lanes=c,Nv(o,c)}}var qf={readContext:$r,useCallback:er,useContext:er,useEffect:er,useImperativeHandle:er,useInsertionEffect:er,useLayoutEffect:er,useMemo:er,useReducer:er,useRef:er,useState:er,useDebugValue:er,useDeferredValue:er,useTransition:er,useMutableSource:er,useSyncExternalStore:er,useId:er,unstable_isNewReconciler:!1},o3={readContext:$r,useCallback:function(o,i){return Wo().memoizedState=[o,i===void 0?null:i],o},useContext:$r,useEffect:QP,useImperativeHandle:function(o,i,c){return c=c!=null?c.concat([o]):null,Ff(4194308,4,$P.bind(null,i,o),c)},useLayoutEffect:function(o,i){return Ff(4194308,4,o,i)},useInsertionEffect:function(o,i){return Ff(4,2,o,i)},useMemo:function(o,i){var c=Wo();return i=i===void 0?null:i,o=o(),c.memoizedState=[o,i],o},useReducer:function(o,i,c){var d=Wo();return i=c!==void 0?c(i):i,d.memoizedState=d.baseState=i,o={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:o,lastRenderedState:i},d.queue=o,o=o.dispatch=n3.bind(null,hn,o),[d.memoizedState,o]},useRef:function(o){var i=Wo();return o={current:o},i.memoizedState=o},useState:GP,useDebugValue:Nh,useDeferredValue:function(o){return Wo().memoizedState=o},useTransition:function(){var o=GP(!1),i=o[0];return o=t3.bind(null,o[1]),Wo().memoizedState=o,[i,o]},useMutableSource:function(){},useSyncExternalStore:function(o,i,c){var d=hn,g=Wo();if(fn){if(c===void 0)throw Error(n(407));c=c()}else{if(c=i(),Fn===null)throw Error(n(349));Xi&30||JP(d,i,c)}g.memoizedState=c;var b={value:c,getSnapshot:i};return g.queue=b,QP(YP.bind(null,d,b,o),[o]),d.flags|=2048,xc(9,FP.bind(null,d,b,c,i),void 0,null),c},useId:function(){var o=Wo(),i=Fn.identifierPrefix;if(fn){var c=hs,d=vs;c=(d&~(1<<32-Lr(d)-1)).toString(32)+c,i=":"+i+"R"+c,c=Pc++,0<\/script>",r=r.removeChild(r.firstChild)):typeof d.is=="string"?r=S.createElement(l,{is:d.is}):(r=S.createElement(l),l==="select"&&(S=r,d.multiple?S.multiple=!0:d.size&&(S.size=d.size))):r=S.createElementNS(r,l),r[Mo]=s,r[$l]=d,Ib(r,s,!1,!1),s.stateNode=r;e:{switch(S=be(l,d),l){case"dialog":cn("cancel",r),cn("close",r),A=d;break;case"iframe":case"object":case"embed":cn("load",r),A=d;break;case"video":case"audio":for(A=0;ACa&&(s.flags|=128,d=!0,cc(b,!1),s.lanes=4194304)}else{if(!d)if(r=ld(S),r!==null){if(s.flags|=128,d=!0,l=r.updateQueue,l!==null&&(s.updateQueue=l,s.flags|=4),cc(b,!0),b.tail===null&&b.tailMode==="hidden"&&!S.alternate&&!vn)return nr(s),null}else 2*pn()-b.renderingStartTime>Ca&&l!==1073741824&&(s.flags|=128,d=!0,cc(b,!1),s.lanes=4194304);b.isBackwards?(S.sibling=s.child,s.child=S):(l=b.last,l!==null?l.sibling=S:s.child=S,b.last=S)}return b.tail!==null?(s=b.tail,b.rendering=s,b.tail=s.sibling,b.renderingStartTime=pn(),s.sibling=null,l=Pn.current,an(Pn,d?l&1|2:l&1),s):(nr(s),null);case 22:case 23:return jm(),d=s.memoizedState!==null,r!==null&&r.memoizedState!==null!==d&&(s.flags|=8192),d&&s.mode&1?Vr&1073741824&&(nr(s),s.subtreeFlags&6&&(s.flags|=8192)):nr(s),null;case 24:return null;case 25:return null}throw Error(n(156,s.tag))}function q3(r,s){switch(kh(s),s.tag){case 1:return Pr(s.type)&&Qf(),r=s.flags,r&65536?(s.flags=r&-65537|128,s):null;case 3:return Ha(),un(Ar),un(er),Uh(),r=s.flags,r&65536&&!(r&128)?(s.flags=r&-65537|128,s):null;case 5:return Zh(s),null;case 13:if(un(Pn),r=s.memoizedState,r!==null&&r.dehydrated!==null){if(s.alternate===null)throw Error(n(340));ya()}return r=s.flags,r&65536?(s.flags=r&-65537|128,s):null;case 19:return un(Pn),null;case 4:return Ha(),null;case 10:return Vh(s.type._context),null;case 22:case 23:return jm(),null;case 24:return null;default:return null}}var md=!1,rr=!1,Z3=typeof WeakSet=="function"?WeakSet:Set,nt=null;function za(r,s){var l=r.ref;if(l!==null)if(typeof l=="function")try{l(null)}catch(d){xn(r,s,d)}else l.current=null}function pm(r,s,l){try{l()}catch(d){xn(r,s,d)}}var Fb=!1;function G3(r,s){if(jh=Lf,r=by(),Ah(r)){if("selectionStart"in r)var l={start:r.selectionStart,end:r.selectionEnd};else e:{l=(l=r.ownerDocument)&&l.defaultView||window;var d=l.getSelection&&l.getSelection();if(d&&d.rangeCount!==0){l=d.anchorNode;var A=d.anchorOffset,b=d.focusNode;d=d.focusOffset;try{l.nodeType,b.nodeType}catch{l=null;break e}var S=0,V=-1,F=-1,fe=0,Ce=0,Se=r,je=null;t:for(;;){for(var qe;Se!==l||A!==0&&Se.nodeType!==3||(V=S+A),Se!==b||d!==0&&Se.nodeType!==3||(F=S+d),Se.nodeType===3&&(S+=Se.nodeValue.length),(qe=Se.firstChild)!==null;)je=Se,Se=qe;for(;;){if(Se===r)break t;if(je===l&&++fe===A&&(V=S),je===b&&++Ce===d&&(F=S),(qe=Se.nextSibling)!==null)break;Se=je,je=Se.parentNode}Se=qe}l=V===-1||F===-1?null:{start:V,end:F}}else l=null}l=l||{start:0,end:0}}else l=null;for(zh={focusedElem:r,selectionRange:l},Lf=!1,nt=s;nt!==null;)if(s=nt,r=s.child,(s.subtreeFlags&1028)!==0&&r!==null)r.return=s,nt=r;else for(;nt!==null;){s=nt;try{var ot=s.alternate;if(s.flags&1024)switch(s.tag){case 0:case 11:case 15:break;case 1:if(ot!==null){var at=ot.memoizedProps,Cn=ot.memoizedState,le=s.stateNode,Q=le.getSnapshotBeforeUpdate(s.elementType===s.type?at:Po(s.type,at),Cn);le.__reactInternalSnapshotBeforeUpdate=Q}break;case 3:var ce=s.stateNode.containerInfo;ce.nodeType===1?ce.textContent="":ce.nodeType===9&&ce.documentElement&&ce.removeChild(ce.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(n(163))}}catch(Me){xn(s,s.return,Me)}if(r=s.sibling,r!==null){r.return=s.return,nt=r;break}nt=s.return}return ot=Fb,Fb=!1,ot}function uc(r,s,l){var d=s.updateQueue;if(d=d!==null?d.lastEffect:null,d!==null){var A=d=d.next;do{if((A.tag&r)===r){var b=A.destroy;A.destroy=void 0,b!==void 0&&pm(s,l,b)}A=A.next}while(A!==d)}}function Ad(r,s){if(s=s.updateQueue,s=s!==null?s.lastEffect:null,s!==null){var l=s=s.next;do{if((l.tag&r)===r){var d=l.create;l.destroy=d()}l=l.next}while(l!==s)}}function vm(r){var s=r.ref;if(s!==null){var l=r.stateNode;switch(r.tag){case 5:r=l;break;default:r=l}typeof s=="function"?s(r):s.current=r}}function Yb(r){var s=r.alternate;s!==null&&(r.alternate=null,Yb(s)),r.child=null,r.deletions=null,r.sibling=null,r.tag===5&&(s=r.stateNode,s!==null&&(delete s[Mo],delete s[$l],delete s[Dh],delete s[D3],delete s[S3])),r.stateNode=null,r.return=null,r.dependencies=null,r.memoizedProps=null,r.memoizedState=null,r.pendingProps=null,r.stateNode=null,r.updateQueue=null}function qb(r){return r.tag===5||r.tag===3||r.tag===4}function Zb(r){e:for(;;){for(;r.sibling===null;){if(r.return===null||qb(r.return))return null;r=r.return}for(r.sibling.return=r.return,r=r.sibling;r.tag!==5&&r.tag!==6&&r.tag!==18;){if(r.flags&2||r.child===null||r.tag===4)continue e;r.child.return=r,r=r.child}if(!(r.flags&2))return r.stateNode}}function hm(r,s,l){var d=r.tag;if(d===5||d===6)r=r.stateNode,s?l.nodeType===8?l.parentNode.insertBefore(r,s):l.insertBefore(r,s):(l.nodeType===8?(s=l.parentNode,s.insertBefore(r,l)):(s=l,s.appendChild(r)),l=l._reactRootContainer,l!=null||s.onclick!==null||(s.onclick=Gf));else if(d!==4&&(r=r.child,r!==null))for(hm(r,s,l),r=r.sibling;r!==null;)hm(r,s,l),r=r.sibling}function mm(r,s,l){var d=r.tag;if(d===5||d===6)r=r.stateNode,s?l.insertBefore(r,s):l.appendChild(r);else if(d!==4&&(r=r.child,r!==null))for(mm(r,s,l),r=r.sibling;r!==null;)mm(r,s,l),r=r.sibling}var Zn=null,go=!1;function Is(r,s,l){for(l=l.child;l!==null;)Gb(r,s,l),l=l.sibling}function Gb(r,s,l){if(ko&&typeof ko.onCommitFiberUnmount=="function")try{ko.onCommitFiberUnmount(Df,l)}catch{}switch(l.tag){case 5:rr||za(l,s);case 6:var d=Zn,A=go;Zn=null,Is(r,s,l),Zn=d,go=A,Zn!==null&&(go?(r=Zn,l=l.stateNode,r.nodeType===8?r.parentNode.removeChild(l):r.removeChild(l)):Zn.removeChild(l.stateNode));break;case 18:Zn!==null&&(go?(r=Zn,l=l.stateNode,r.nodeType===8?Rh(r.parentNode,l):r.nodeType===1&&Rh(r,l),Wl(r)):Rh(Zn,l.stateNode));break;case 4:d=Zn,A=go,Zn=l.stateNode.containerInfo,go=!0,Is(r,s,l),Zn=d,go=A;break;case 0:case 11:case 14:case 15:if(!rr&&(d=l.updateQueue,d!==null&&(d=d.lastEffect,d!==null))){A=d=d.next;do{var b=A,S=b.destroy;b=b.tag,S!==void 0&&(b&2||b&4)&&pm(l,s,S),A=A.next}while(A!==d)}Is(r,s,l);break;case 1:if(!rr&&(za(l,s),d=l.stateNode,typeof d.componentWillUnmount=="function"))try{d.props=l.memoizedProps,d.state=l.memoizedState,d.componentWillUnmount()}catch(V){xn(l,s,V)}Is(r,s,l);break;case 21:Is(r,s,l);break;case 22:l.mode&1?(rr=(d=rr)||l.memoizedState!==null,Is(r,s,l),rr=d):Is(r,s,l);break;default:Is(r,s,l)}}function Ub(r){var s=r.updateQueue;if(s!==null){r.updateQueue=null;var l=r.stateNode;l===null&&(l=r.stateNode=new Z3),s.forEach(function(d){var A=r7.bind(null,r,d);l.has(d)||(l.add(d),d.then(A,A))})}}function yo(r,s){var l=s.deletions;if(l!==null)for(var d=0;dA&&(A=S),d&=~b}if(d=A,d=pn()-d,d=(120>d?120:480>d?480:1080>d?1080:1920>d?1920:3e3>d?3e3:4320>d?4320:1960*Q3(d/1960))-d,10r?16:r,Js===null)var d=!1;else{if(r=Js,Js=null,xd=0,Bt&6)throw Error(n(331));var A=Bt;for(Bt|=4,nt=r.current;nt!==null;){var b=nt,S=b.child;if(nt.flags&16){var V=b.deletions;if(V!==null){for(var F=0;Fpn()-gm?Ci(r,0):Pm|=l),br(r,s)}function lx(r,s){s===0&&(r.mode&1?(s=Tf,Tf<<=1,!(Tf&130023424)&&(Tf=4194304)):s=1);var l=ur();r=fs(r,s),r!==null&&(Xl(r,s,l),br(r,l))}function n7(r){var s=r.memoizedState,l=0;s!==null&&(l=s.retryLane),lx(r,l)}function r7(r,s){var l=0;switch(r.tag){case 13:var d=r.stateNode,A=r.memoizedState;A!==null&&(l=A.retryLane);break;case 19:d=r.stateNode;break;default:throw Error(n(314))}d!==null&&d.delete(s),lx(r,l)}var cx;cx=function(r,s,l){if(r!==null)if(r.memoizedProps!==s.pendingProps||Ar.current)gr=!0;else{if(!(r.lanes&l)&&!(s.flags&128))return gr=!1,F3(r,s,l);gr=!!(r.flags&131072)}else gr=!1,vn&&s.flags&1048576&&Iy(s,ed,s.index);switch(s.lanes=0,s.tag){case 2:var d=s.type;hd(r,s),r=s.pendingProps;var A=Aa(s,er.current);xa(s,l),A=_h(null,s,d,r,A,l);var b=$h();return s.flags|=1,typeof A=="object"&&A!==null&&typeof A.render=="function"&&A.$$typeof===void 0?(s.tag=1,s.memoizedState=null,s.updateQueue=null,Pr(d)?(b=!0,Kf(s)):b=!1,s.memoizedState=A.state!==null&&A.state!==void 0?A.state:null,Jh(s),A.updater=id,s.stateNode=A,A._reactInternals=s,Yh(s,d,r,l),s=am(null,s,d,!0,b,l)):(s.tag=0,vn&&b&&Eh(s),cr(null,s,A,l),s=s.child),s;case 16:d=s.elementType;e:{switch(hd(r,s),r=s.pendingProps,A=d._init,d=A(d._payload),s.type=d,A=s.tag=s7(d),r=Po(d,r),A){case 0:s=im(null,s,d,r,l);break e;case 1:s=Mb(null,s,d,r,l);break e;case 11:s=Db(null,s,d,r,l);break e;case 14:s=Sb(null,s,d,Po(d.type,r),l);break e}throw Error(n(306,d,""))}return s;case 0:return d=s.type,A=s.pendingProps,A=s.elementType===d?A:Po(d,A),im(r,s,d,A,l);case 1:return d=s.type,A=s.pendingProps,A=s.elementType===d?A:Po(d,A),Mb(r,s,d,A,l);case 3:e:{if(Lb(s),r===null)throw Error(n(387));d=s.pendingProps,b=s.memoizedState,A=b.element,Zy(r,s),sd(s,d,null,l);var S=s.memoizedState;if(d=S.element,b.isDehydrated)if(b={element:d,isDehydrated:!1,cache:S.cache,pendingSuspenseBoundaries:S.pendingSuspenseBoundaries,transitions:S.transitions},s.updateQueue.baseState=b,s.memoizedState=b,s.flags&256){A=ja(Error(n(423)),s),s=Xb(r,s,d,l,A);break e}else if(d!==A){A=ja(Error(n(424)),s),s=Xb(r,s,d,l,A);break e}else for(Br=Ms(s.stateNode.containerInfo.firstChild),Nr=s,vn=!0,Ao=null,l=nb(s,null,d,l),s.child=l;l;)l.flags=l.flags&-3|4096,l=l.sibling;else{if(ya(),d===A){s=ps(r,s,l);break e}cr(r,s,d,l)}s=s.child}return s;case 5:return rb(s),r===null&&Lh(s),d=s.type,A=s.pendingProps,b=r!==null?r.memoizedProps:null,S=A.children,Oh(d,A)?S=null:b!==null&&Oh(d,b)&&(s.flags|=32),kb(r,s),cr(r,s,S,l),s.child;case 6:return r===null&&Lh(s),null;case 13:return Nb(r,s,l);case 4:return qh(s,s.stateNode.containerInfo),d=s.pendingProps,r===null?s.child=wa(s,null,d,l):cr(r,s,d,l),s.child;case 11:return d=s.type,A=s.pendingProps,A=s.elementType===d?A:Po(d,A),Db(r,s,d,A,l);case 7:return cr(r,s,s.pendingProps,l),s.child;case 8:return cr(r,s,s.pendingProps.children,l),s.child;case 12:return cr(r,s,s.pendingProps.children,l),s.child;case 10:e:{if(d=s.type._context,A=s.pendingProps,b=s.memoizedProps,S=A.value,an(nd,d._currentValue),d._currentValue=S,b!==null)if(mo(b.value,S)){if(b.children===A.children&&!Ar.current){s=ps(r,s,l);break e}}else for(b=s.child,b!==null&&(b.return=s);b!==null;){var V=b.dependencies;if(V!==null){S=b.child;for(var F=V.firstContext;F!==null;){if(F.context===d){if(b.tag===1){F=ds(-1,l&-l),F.tag=2;var fe=b.updateQueue;if(fe!==null){fe=fe.shared;var Ce=fe.pending;Ce===null?F.next=F:(F.next=Ce.next,Ce.next=F),fe.pending=F}}b.lanes|=l,F=b.alternate,F!==null&&(F.lanes|=l),Ih(b.return,l,s),V.lanes|=l;break}F=F.next}}else if(b.tag===10)S=b.type===s.type?null:b.child;else if(b.tag===18){if(S=b.return,S===null)throw Error(n(341));S.lanes|=l,V=S.alternate,V!==null&&(V.lanes|=l),Ih(S,l,s),S=b.sibling}else S=b.child;if(S!==null)S.return=b;else for(S=b;S!==null;){if(S===s){S=null;break}if(b=S.sibling,b!==null){b.return=S.return,S=b;break}S=S.return}b=S}cr(r,s,A.children,l),s=s.child}return s;case 9:return A=s.type,d=s.pendingProps.children,xa(s,l),A=eo(A),d=d(A),s.flags|=1,cr(r,s,d,l),s.child;case 14:return d=s.type,A=Po(d,s.pendingProps),A=Po(d.type,A),Sb(r,s,d,A,l);case 15:return Tb(r,s,s.type,s.pendingProps,l);case 17:return d=s.type,A=s.pendingProps,A=s.elementType===d?A:Po(d,A),hd(r,s),s.tag=1,Pr(d)?(r=!0,Kf(s)):r=!1,xa(s,l),_y(s,d,A),Yh(s,d,A,l),am(null,s,d,!0,r,l);case 19:return Vb(r,s,l);case 22:return Eb(r,s,l)}throw Error(n(156,s.tag))};function ux(r,s){return tn(r,s)}function o7(r,s,l,d){this.tag=r,this.key=l,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=s,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=d,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function ro(r,s,l,d){return new o7(r,s,l,d)}function Om(r){return r=r.prototype,!(!r||!r.isReactComponent)}function s7(r){if(typeof r=="function")return Om(r)?1:0;if(r!=null){if(r=r.$$typeof,r===I)return 11;if(r===q)return 14}return 2}function qs(r,s){var l=r.alternate;return l===null?(l=ro(r.tag,s,r.key,r.mode),l.elementType=r.elementType,l.type=r.type,l.stateNode=r.stateNode,l.alternate=r,r.alternate=l):(l.pendingProps=s,l.type=r.type,l.flags=0,l.subtreeFlags=0,l.deletions=null),l.flags=r.flags&14680064,l.childLanes=r.childLanes,l.lanes=r.lanes,l.child=r.child,l.memoizedProps=r.memoizedProps,l.memoizedState=r.memoizedState,l.updateQueue=r.updateQueue,s=r.dependencies,l.dependencies=s===null?null:{lanes:s.lanes,firstContext:s.firstContext},l.sibling=r.sibling,l.index=r.index,l.ref=r.ref,l}function zd(r,s,l,d,A,b){var S=2;if(d=r,typeof r=="function")Om(r)&&(S=1);else if(typeof r=="string")S=5;else e:switch(r){case T:return Di(l.children,A,b,s);case L:S=8,A|=8;break;case N:return r=ro(12,l,s,A|2),r.elementType=N,r.lanes=b,r;case W:return r=ro(13,l,s,A),r.elementType=W,r.lanes=b,r;case oe:return r=ro(19,l,s,A),r.elementType=oe,r.lanes=b,r;case te:return Od(l,A,b,s);default:if(typeof r=="object"&&r!==null)switch(r.$$typeof){case M:S=10;break e;case U:S=9;break e;case I:S=11;break e;case q:S=14;break e;case ie:S=16,d=null;break e}throw Error(n(130,r==null?r:typeof r,""))}return s=ro(S,l,s,A),s.elementType=r,s.type=d,s.lanes=b,s}function Di(r,s,l,d){return r=ro(7,r,d,s),r.lanes=l,r}function Od(r,s,l,d){return r=ro(22,r,d,s),r.elementType=te,r.lanes=l,r.stateNode={isHidden:!1},r}function Cm(r,s,l){return r=ro(6,r,null,s),r.lanes=l,r}function Rm(r,s,l){return s=ro(4,r.children!==null?r.children:[],r.key,s),s.lanes=l,s.stateNode={containerInfo:r.containerInfo,pendingChildren:null,implementation:r.implementation},s}function i7(r,s,l,d,A){this.tag=s,this.containerInfo=r,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=nh(0),this.expirationTimes=nh(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=nh(0),this.identifierPrefix=d,this.onRecoverableError=A,this.mutableSourceEagerHydrationData=null}function Dm(r,s,l,d,A,b,S,V,F){return r=new i7(r,s,l,V,F),s===1?(s=1,b===!0&&(s|=8)):s=0,b=ro(3,null,null,s),r.current=b,b.stateNode=r,b.memoizedState={element:d,isDehydrated:l,cache:null,transitions:null,pendingSuspenseBoundaries:null},Jh(b),r}function a7(r,s,l){var d=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return e(),Jm.exports=Uz(),Jm.exports}var EP=N1();const hu=Tt(EP),$x={disabled:!1},bp=Qe.createContext(null);var Qz=function(t){return t.scrollTop},mu="unmounted",Ei="exited",ki="entering",Va="entered",RA="exiting",So=function(e){X1(t,e);function t(o,i){var a;a=e.call(this,o,i)||this;var c=i,u=c&&!c.isMounting?o.enter:o.appear,f;return a.appearStatus=null,o.in?u?(f=Ei,a.appearStatus=ki):f=Va:o.unmountOnExit||o.mountOnEnter?f=mu:f=Ei,a.state={status:f},a.nextCallback=null,a}t.getDerivedStateFromProps=function(i,a){var c=i.in;return c&&a.status===mu?{status:Ei}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(i){var a=null;if(i!==this.props){var c=this.state.status;this.props.in?c!==ki&&c!==Va&&(a=ki):(c===ki||c===Va)&&(a=RA)}this.updateStatus(!1,a)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var i=this.props.timeout,a,c,u;return a=c=u=i,i!=null&&typeof i!="number"&&(a=i.exit,c=i.enter,u=i.appear!==void 0?i.appear:c),{exit:a,enter:c,appear:u}},n.updateStatus=function(i,a){if(i===void 0&&(i=!1),a!==null)if(this.cancelNextCallback(),a===ki){if(this.props.unmountOnExit||this.props.mountOnEnter){var c=this.props.nodeRef?this.props.nodeRef.current:hu.findDOMNode(this);c&&Qz(c)}this.performEnter(i)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Ei&&this.setState({status:mu})},n.performEnter=function(i){var a=this,c=this.props.enter,u=this.context?this.context.isMounting:i,f=this.props.nodeRef?[u]:[hu.findDOMNode(this),u],p=f[0],h=f[1],m=this.getTimeouts(),P=u?m.appear:m.enter;if(!i&&!c||$x.disabled){this.safeSetState({status:Va},function(){a.props.onEntered(p)});return}this.props.onEnter(p,h),this.safeSetState({status:ki},function(){a.props.onEntering(p,h),a.onTransitionEnd(P,function(){a.safeSetState({status:Va},function(){a.props.onEntered(p,h)})})})},n.performExit=function(){var i=this,a=this.props.exit,c=this.getTimeouts(),u=this.props.nodeRef?void 0:hu.findDOMNode(this);if(!a||$x.disabled){this.safeSetState({status:Ei},function(){i.props.onExited(u)});return}this.props.onExit(u),this.safeSetState({status:RA},function(){i.props.onExiting(u),i.onTransitionEnd(c.exit,function(){i.safeSetState({status:Ei},function(){i.props.onExited(u)})})})},n.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(i,a){a=this.setNextCallback(a),this.setState(i,a)},n.setNextCallback=function(i){var a=this,c=!0;return this.nextCallback=function(u){c&&(c=!1,a.nextCallback=null,i(u))},this.nextCallback.cancel=function(){c=!1},this.nextCallback},n.onTransitionEnd=function(i,a){this.setNextCallback(a);var c=this.props.nodeRef?this.props.nodeRef.current:hu.findDOMNode(this),u=i==null&&!this.props.addEndListener;if(!c||u){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var f=this.props.nodeRef?[this.nextCallback]:[c,this.nextCallback],p=f[0],h=f[1];this.props.addEndListener(p,h)}i!=null&&setTimeout(this.nextCallback,i)},n.render=function(){var i=this.state.status;if(i===mu)return null;var a=this.props,c=a.children;a.in,a.mountOnEnter,a.unmountOnExit,a.appear,a.enter,a.exit,a.timeout,a.addEndListener,a.onEnter,a.onEntering,a.onEntered,a.onExit,a.onExiting,a.onExited,a.nodeRef;var u=Oe(a,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return Qe.createElement(bp.Provider,{value:null},typeof c=="function"?c(i,u):Qe.cloneElement(Qe.Children.only(c),u))},t}(Qe.Component);So.contextType=bp;So.propTypes={};function Ma(){}So.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Ma,onEntering:Ma,onEntered:Ma,onExit:Ma,onExiting:Ma,onExited:Ma};So.UNMOUNTED=mu;So.EXITED=Ei;So.ENTERING=ki;So.ENTERED=Va;So.EXITING=RA;function Kz(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kP(e,t){var n=function(a){return t&&y.isValidElement(a)?t(a):a},o=Object.create(null);return e&&y.Children.map(e,function(i){return i}).forEach(function(i){o[i.key]=n(i)}),o}function _z(e,t){e=e||{},t=t||{};function n(h){return h in t?t[h]:e[h]}var o=Object.create(null),i=[];for(var a in e)a in t?i.length&&(o[a]=i,i=[]):i.push(a);var c,u={};for(var f in t){if(o[f])for(c=0;ce.scrollTop;function hl(e,t){var n,o;const{timeout:i,easing:a,style:c={}}=e;return{duration:(n=c.transitionDuration)!=null?n:typeof i=="number"?i:i[t.mode]||0,easing:(o=c.transitionTimingFunction)!=null?o:typeof a=="object"?a[t.mode]:a,delay:c.transitionDelay}}function rO(e){return Ke("MuiPaper",e)}_e("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 oO=["className","component","elevation","square","variant"],sO=e=>{const{square:t,elevation:n,variant:o,classes:i}=e,a={root:["root",o,!t&&"rounded",o==="elevation"&&`elevation${n}`]};return $e(a,rO,i)},iO=ve("div",{name:"MuiPaper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],!n.square&&t.rounded,n.variant==="elevation"&&t[`elevation${n.elevation}`]]}})(({theme:e,ownerState:t})=>{var n;return j({backgroundColor:(e.vars||e).palette.background.paper,color:(e.vars||e).palette.text.primary,transition:e.transitions.create("box-shadow")},!t.square&&{borderRadius:e.shape.borderRadius},t.variant==="outlined"&&{border:`1px solid ${(e.vars||e).palette.divider}`},t.variant==="elevation"&&j({boxShadow:(e.vars||e).shadows[t.elevation]},!e.vars&&e.palette.mode==="dark"&&{backgroundImage:`linear-gradient(${xt("#fff",qx(t.elevation))}, ${xt("#fff",qx(t.elevation))})`},e.vars&&{backgroundImage:(n=e.vars.overlays)==null?void 0:n[t.elevation]}))}),Gr=y.forwardRef(function(t,n){const o=et({props:t,name:"MuiPaper"}),{className:i,component:a="div",elevation:c=1,square:u=!1,variant:f="elevation"}=o,p=Oe(o,oO),h=j({},o,{component:a,elevation:c,square:u,variant:f}),m=sO(h);return v.jsx(iO,j({as:a,ownerState:h,className:ze(m.root,i),ref:n},p))});function $i(e){return typeof e=="string"}function Au(e,t,n){return e===void 0||$i(e)?t:j({},t,{ownerState:j({},t.ownerState,n)})}const aO={disableDefaultClasses:!1},lO=y.createContext(aO);function cO(e){const{disableDefaultClasses:t}=y.useContext(lO);return n=>t?"":e(n)}function xp(e,t=[]){if(e===void 0)return{};const n={};return Object.keys(e).filter(o=>o.match(/^on[A-Z]/)&&typeof e[o]=="function"&&!t.includes(o)).forEach(o=>{n[o]=e[o]}),n}function uO(e,t,n){return typeof e=="function"?e(t,n):e}function e8(e){if(e===void 0)return{};const t={};return Object.keys(e).filter(n=>!(n.match(/^on[A-Z]/)&&typeof e[n]=="function")).forEach(n=>{t[n]=e[n]}),t}function fO(e){const{getSlotProps:t,additionalProps:n,externalSlotProps:o,externalForwardedProps:i,className:a}=e;if(!t){const H=ze(n==null?void 0:n.className,a,i==null?void 0:i.className,o==null?void 0:o.className),g=j({},n==null?void 0:n.style,i==null?void 0:i.style,o==null?void 0:o.style),w=j({},n,i,o);return H.length>0&&(w.className=H),Object.keys(g).length>0&&(w.style=g),{props:w,internalRef:void 0}}const c=xp(j({},i,o)),u=e8(o),f=e8(i),p=t(c),h=ze(p==null?void 0:p.className,n==null?void 0:n.className,a,i==null?void 0:i.className,o==null?void 0:o.className),m=j({},p==null?void 0:p.style,n==null?void 0:n.style,i==null?void 0:i.style,o==null?void 0:o.style),P=j({},p,n,f,u);return h.length>0&&(P.className=h),Object.keys(m).length>0&&(P.style=m),{props:P,internalRef:p.ref}}const dO=["elementType","externalSlotProps","ownerState","skipResolvingSlotProps"];function fi(e){var t;const{elementType:n,externalSlotProps:o,ownerState:i,skipResolvingSlotProps:a=!1}=e,c=Oe(e,dO),u=a?{}:uO(o,i),{props:f,internalRef:p}=fO(j({},c,{externalSlotProps:u})),h=on(p,u==null?void 0:u.ref,(t=e.additionalProps)==null?void 0:t.ref);return Au(n,j({},f,{ref:h}),i)}function pO(e){const{className:t,classes:n,pulsate:o=!1,rippleX:i,rippleY:a,rippleSize:c,in:u,onExited:f,timeout:p}=e,[h,m]=y.useState(!1),P=ze(t,n.ripple,n.rippleVisible,o&&n.ripplePulsate),H={width:c,height:c,top:-(c/2)+a,left:-(c/2)+i},g=ze(n.child,h&&n.childLeaving,o&&n.childPulsate);return!u&&!h&&m(!0),y.useEffect(()=>{if(!u&&f!=null){const w=setTimeout(f,p);return()=>{clearTimeout(w)}}},[f,u,p]),v.jsx("span",{className:P,style:H,children:v.jsx("span",{className:g})})}const io=_e("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),vO=["center","classes","className"];let lv=e=>e,t8,n8,r8,o8;const DA=550,hO=80,mO=sf(t8||(t8=lv` +`+b.stack}return{value:o,source:i,stack:g,digest:null}}function Bh(o,i,c){return{value:o,source:null,stack:c??null,digest:i??null}}function Vh(o,i){try{console.error(i.value)}catch(c){setTimeout(function(){throw c})}}var a3=typeof WeakMap=="function"?WeakMap:Map;function lb(o,i,c){c=gs(-1,c),c.tag=3,c.payload={element:null};var d=i.value;return c.callback=function(){$f||($f=!0,tm=d),Vh(o,i)},c}function cb(o,i,c){c=gs(-1,c),c.tag=3;var d=o.type.getDerivedStateFromError;if(typeof d=="function"){var g=i.value;c.payload=function(){return d(g)},c.callback=function(){Vh(o,i)}}var b=o.stateNode;return b!==null&&typeof b.componentDidCatch=="function"&&(c.callback=function(){Vh(o,i),typeof d!="function"&&(_s===null?_s=new Set([this]):_s.add(this));var T=i.stack;this.componentDidCatch(i.value,{componentStack:T!==null?T:""})}),c}function ub(o,i,c){var d=o.pingCache;if(d===null){d=o.pingCache=new a3;var g=new Set;d.set(i,g)}else g=d.get(i),g===void 0&&(g=new Set,d.set(i,g));g.has(c)||(g.add(c),o=b3.bind(null,o,i,c),i.then(o,o))}function fb(o){do{var i;if((i=o.tag===13)&&(i=o.memoizedState,i=i!==null?i.dehydrated!==null:!0),i)return o;o=o.return}while(o!==null);return null}function db(o,i,c,d,g){return o.mode&1?(o.flags|=65536,o.lanes=g,o):(o===i?o.flags|=65536:(o.flags|=128,c.flags|=131072,c.flags&=-52805,c.tag===1&&(c.alternate===null?c.tag=17:(i=gs(-1,1),i.tag=2,Qs(c,i,1))),c.lanes|=1),o)}var l3=O.ReactCurrentOwner,Ar=!1;function lr(o,i,c,d){i.child=o===null?BP(i,null,c,d):Xa(i,o.child,c,d)}function pb(o,i,c,d,g){c=c.render;var b=i.ref;return La(i,g),d=Rh(o,i,c,d,b,g),c=Eh(),o!==null&&!Ar?(i.updateQueue=o.updateQueue,i.flags&=-2053,o.lanes&=~g,ys(o,i,g)):(fn&&c&&vh(i),i.flags|=1,lr(o,i,d,g),i.child)}function vb(o,i,c,d,g){if(o===null){var b=c.type;return typeof b=="function"&&!lm(b)&&b.defaultProps===void 0&&c.compare===null&&c.defaultProps===void 0?(i.tag=15,i.type=b,hb(o,i,b,d,g)):(o=sd(c.type,null,d,i,i.mode,g),o.ref=i.ref,o.return=i,i.child=o)}if(b=o.child,!(o.lanes&g)){var T=b.memoizedProps;if(c=c.compare,c=c!==null?c:lc,c(T,d)&&o.ref===i.ref)return ys(o,i,g)}return i.flags|=1,o=ni(b,d),o.ref=i.ref,o.return=i,i.child=o}function hb(o,i,c,d,g){if(o!==null){var b=o.memoizedProps;if(lc(b,d)&&o.ref===i.ref)if(Ar=!1,i.pendingProps=d=b,(o.lanes&g)!==0)o.flags&131072&&(Ar=!0);else return i.lanes=o.lanes,ys(o,i,g)}return Ih(o,i,c,d,g)}function mb(o,i,c){var d=i.pendingProps,g=d.children,b=o!==null?o.memoizedState:null;if(d.mode==="hidden")if(!(i.mode&1))i.memoizedState={baseLanes:0,cachePool:null,transitions:null},nn(Ia,Vr),Vr|=c;else{if(!(c&1073741824))return o=b!==null?b.baseLanes|c:c,i.lanes=i.childLanes=1073741824,i.memoizedState={baseLanes:o,cachePool:null,transitions:null},i.updateQueue=null,nn(Ia,Vr),Vr|=o,null;i.memoizedState={baseLanes:0,cachePool:null,transitions:null},d=b!==null?b.baseLanes:c,nn(Ia,Vr),Vr|=d}else b!==null?(d=b.baseLanes|c,i.memoizedState=null):d=c,nn(Ia,Vr),Vr|=d;return lr(o,i,g,c),i.child}function gb(o,i){var c=i.ref;(o===null&&c!==null||o!==null&&o.ref!==c)&&(i.flags|=512,i.flags|=2097152)}function Ih(o,i,c,d,g){var b=yr(c)?ki:$n.current;return b=Ta(i,b),La(i,g),c=Rh(o,i,c,d,b,g),d=Eh(),o!==null&&!Ar?(i.updateQueue=o.updateQueue,i.flags&=-2053,o.lanes&=~g,ys(o,i,g)):(fn&&d&&vh(i),i.flags|=1,lr(o,i,c,g),i.child)}function yb(o,i,c,d,g){if(yr(c)){var b=!0;Df(i)}else b=!1;if(La(i,g),i.stateNode===null)Gf(o,i),MP(i,c,d),Sh(i,c,d,g),d=!0;else if(o===null){var T=i.stateNode,V=i.memoizedProps;T.props=V;var q=T.context,fe=c.contextType;typeof fe=="object"&&fe!==null?fe=$r(fe):(fe=yr(c)?ki:$n.current,fe=Ta(i,fe));var ze=c.getDerivedStateFromProps,Ce=typeof ze=="function"||typeof T.getSnapshotBeforeUpdate=="function";Ce||typeof T.UNSAFE_componentWillReceiveProps!="function"&&typeof T.componentWillReceiveProps!="function"||(V!==d||q!==fe)&&LP(i,T,d,fe),Us=!1;var Se=i.memoizedState;T.state=Se,Nf(i,d,T,g),q=i.memoizedState,V!==d||Se!==q||gr.current||Us?(typeof ze=="function"&&(jh(i,c,ze,d),q=i.memoizedState),(V=Us||EP(i,c,V,d,Se,q,fe))?(Ce||typeof T.UNSAFE_componentWillMount!="function"&&typeof T.componentWillMount!="function"||(typeof T.componentWillMount=="function"&&T.componentWillMount(),typeof T.UNSAFE_componentWillMount=="function"&&T.UNSAFE_componentWillMount()),typeof T.componentDidMount=="function"&&(i.flags|=4194308)):(typeof T.componentDidMount=="function"&&(i.flags|=4194308),i.memoizedProps=d,i.memoizedState=q),T.props=d,T.state=q,T.context=fe,d=V):(typeof T.componentDidMount=="function"&&(i.flags|=4194308),d=!1)}else{T=i.stateNode,DP(o,i),V=i.memoizedProps,fe=i.type===i.elementType?V:wo(i.type,V),T.props=fe,Ce=i.pendingProps,Se=T.context,q=c.contextType,typeof q=="object"&&q!==null?q=$r(q):(q=yr(c)?ki:$n.current,q=Ta(i,q));var Ye=c.getDerivedStateFromProps;(ze=typeof Ye=="function"||typeof T.getSnapshotBeforeUpdate=="function")||typeof T.UNSAFE_componentWillReceiveProps!="function"&&typeof T.componentWillReceiveProps!="function"||(V!==Ce||Se!==q)&&LP(i,T,d,q),Us=!1,Se=i.memoizedState,T.state=Se,Nf(i,d,T,g);var it=i.memoizedState;V!==Ce||Se!==it||gr.current||Us?(typeof Ye=="function"&&(jh(i,c,Ye,d),it=i.memoizedState),(fe=Us||EP(i,c,fe,d,Se,it,q)||!1)?(ze||typeof T.UNSAFE_componentWillUpdate!="function"&&typeof T.componentWillUpdate!="function"||(typeof T.componentWillUpdate=="function"&&T.componentWillUpdate(d,it,q),typeof T.UNSAFE_componentWillUpdate=="function"&&T.UNSAFE_componentWillUpdate(d,it,q)),typeof T.componentDidUpdate=="function"&&(i.flags|=4),typeof T.getSnapshotBeforeUpdate=="function"&&(i.flags|=1024)):(typeof T.componentDidUpdate!="function"||V===o.memoizedProps&&Se===o.memoizedState||(i.flags|=4),typeof T.getSnapshotBeforeUpdate!="function"||V===o.memoizedProps&&Se===o.memoizedState||(i.flags|=1024),i.memoizedProps=d,i.memoizedState=it),T.props=d,T.state=it,T.context=q,d=fe):(typeof T.componentDidUpdate!="function"||V===o.memoizedProps&&Se===o.memoizedState||(i.flags|=4),typeof T.getSnapshotBeforeUpdate!="function"||V===o.memoizedProps&&Se===o.memoizedState||(i.flags|=1024),d=!1)}return Wh(o,i,c,d,b,g)}function Wh(o,i,c,d,g,b){gb(o,i);var T=(i.flags&128)!==0;if(!d&&!T)return g&&xP(i,c,!1),ys(o,i,b);d=i.stateNode,l3.current=i;var V=T&&typeof c.getDerivedStateFromError!="function"?null:d.render();return i.flags|=1,o!==null&&T?(i.child=Xa(i,o.child,null,b),i.child=Xa(i,null,V,b)):lr(o,i,V,b),i.memoizedState=d.state,g&&xP(i,c,!0),i.child}function Ab(o){var i=o.stateNode;i.pendingContext?PP(o,i.pendingContext,i.pendingContext!==i.context):i.context&&PP(o,i.context,!1),zh(o,i.containerInfo)}function Pb(o,i,c,d,g){return Ea(),yh(g),i.flags|=256,lr(o,i,c,d),i.child}var Jh={dehydrated:null,treeContext:null,retryLane:0};function Fh(o){return{baseLanes:o,cachePool:null,transitions:null}}function bb(o,i,c){var d=i.pendingProps,g=vn.current,b=!1,T=(i.flags&128)!==0,V;if((V=T)||(V=o!==null&&o.memoizedState===null?!1:(g&2)!==0),V?(b=!0,i.flags&=-129):(o===null||o.memoizedState!==null)&&(g|=1),nn(vn,g&1),o===null)return gh(i),o=i.memoizedState,o!==null&&(o=o.dehydrated,o!==null)?(i.mode&1?o.data==="$!"?i.lanes=8:i.lanes=1073741824:i.lanes=1,null):(T=d.children,o=d.fallback,b?(d=i.mode,b=i.child,T={mode:"hidden",children:T},!(d&1)&&b!==null?(b.childLanes=0,b.pendingProps=T):b=id(T,d,0,null),o=Wi(o,d,c,null),b.return=i,o.return=i,b.sibling=o,i.child=b,i.child.memoizedState=Fh(c),i.memoizedState=Jh,o):Yh(i,T));if(g=o.memoizedState,g!==null&&(V=g.dehydrated,V!==null))return c3(o,i,T,d,V,g,c);if(b){b=d.fallback,T=i.mode,g=o.child,V=g.sibling;var q={mode:"hidden",children:d.children};return!(T&1)&&i.child!==g?(d=i.child,d.childLanes=0,d.pendingProps=q,i.deletions=null):(d=ni(g,q),d.subtreeFlags=g.subtreeFlags&14680064),V!==null?b=ni(V,b):(b=Wi(b,T,c,null),b.flags|=2),b.return=i,d.return=i,d.sibling=b,i.child=d,d=b,b=i.child,T=o.child.memoizedState,T=T===null?Fh(c):{baseLanes:T.baseLanes|c,cachePool:null,transitions:T.transitions},b.memoizedState=T,b.childLanes=o.childLanes&~c,i.memoizedState=Jh,d}return b=o.child,o=b.sibling,d=ni(b,{mode:"visible",children:d.children}),!(i.mode&1)&&(d.lanes=c),d.return=i,d.sibling=null,o!==null&&(c=i.deletions,c===null?(i.deletions=[o],i.flags|=16):c.push(o)),i.child=d,i.memoizedState=null,d}function Yh(o,i){return i=id({mode:"visible",children:i},o.mode,0,null),i.return=o,o.child=i}function Zf(o,i,c,d){return d!==null&&yh(d),Xa(i,o.child,null,c),o=Yh(i,i.pendingProps.children),o.flags|=2,i.memoizedState=null,o}function c3(o,i,c,d,g,b,T){if(c)return i.flags&256?(i.flags&=-257,d=Bh(Error(n(422))),Zf(o,i,T,d)):i.memoizedState!==null?(i.child=o.child,i.flags|=128,null):(b=d.fallback,g=i.mode,d=id({mode:"visible",children:d.children},g,0,null),b=Wi(b,g,T,null),b.flags|=2,d.return=i,b.return=i,d.sibling=b,i.child=d,i.mode&1&&Xa(i,o.child,null,T),i.child.memoizedState=Fh(T),i.memoizedState=Jh,b);if(!(i.mode&1))return Zf(o,i,T,null);if(g.data==="$!"){if(d=g.nextSibling&&g.nextSibling.dataset,d)var V=d.dgst;return d=V,b=Error(n(419)),d=Bh(b,d,void 0),Zf(o,i,T,d)}if(V=(T&o.childLanes)!==0,Ar||V){if(d=Fn,d!==null){switch(T&-T){case 4:g=2;break;case 16:g=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:g=32;break;case 536870912:g=268435456;break;default:g=0}g=g&(d.suspendedLanes|T)?0:g,g!==0&&g!==b.retryLane&&(b.retryLane=g,ms(o,g),So(d,o,g,-1))}return am(),d=Bh(Error(n(421))),Zf(o,i,T,d)}return g.data==="$?"?(i.flags|=128,i.child=o.child,i=x3.bind(null,o),g._reactRetry=i,null):(o=b.treeContext,Br=Ys(g.nextSibling),Nr=i,fn=!0,xo=null,o!==null&&(Kr[_r++]=vs,Kr[_r++]=hs,Kr[_r++]=Ri,vs=o.id,hs=o.overflow,Ri=i),i=Yh(i,d.children),i.flags|=4096,i)}function xb(o,i,c){o.lanes|=i;var d=o.alternate;d!==null&&(d.lanes|=i),xh(o.return,i,c)}function qh(o,i,c,d,g){var b=o.memoizedState;b===null?o.memoizedState={isBackwards:i,rendering:null,renderingStartTime:0,last:d,tail:c,tailMode:g}:(b.isBackwards=i,b.rendering=null,b.renderingStartTime=0,b.last=d,b.tail=c,b.tailMode=g)}function wb(o,i,c){var d=i.pendingProps,g=d.revealOrder,b=d.tail;if(lr(o,i,d.children,c),d=vn.current,d&2)d=d&1|2,i.flags|=128;else{if(o!==null&&o.flags&128)e:for(o=i.child;o!==null;){if(o.tag===13)o.memoizedState!==null&&xb(o,c,i);else if(o.tag===19)xb(o,c,i);else if(o.child!==null){o.child.return=o,o=o.child;continue}if(o===i)break e;for(;o.sibling===null;){if(o.return===null||o.return===i)break e;o=o.return}o.sibling.return=o.return,o=o.sibling}d&=1}if(nn(vn,d),!(i.mode&1))i.memoizedState=null;else switch(g){case"forwards":for(c=i.child,g=null;c!==null;)o=c.alternate,o!==null&&If(o)===null&&(g=c),c=c.sibling;c=g,c===null?(g=i.child,i.child=null):(g=c.sibling,c.sibling=null),qh(i,!1,g,c,b);break;case"backwards":for(c=null,g=i.child,i.child=null;g!==null;){if(o=g.alternate,o!==null&&If(o)===null){i.child=g;break}o=g.sibling,g.sibling=c,c=g,g=o}qh(i,!0,c,null,b);break;case"together":qh(i,!1,null,null,void 0);break;default:i.memoizedState=null}return i.child}function Gf(o,i){!(i.mode&1)&&o!==null&&(o.alternate=null,i.alternate=null,i.flags|=2)}function ys(o,i,c){if(o!==null&&(i.dependencies=o.dependencies),Ni|=i.lanes,!(c&i.childLanes))return null;if(o!==null&&i.child!==o.child)throw Error(n(153));if(i.child!==null){for(o=i.child,c=ni(o,o.pendingProps),i.child=c,c.return=i;o.sibling!==null;)o=o.sibling,c=c.sibling=ni(o,o.pendingProps),c.return=i;c.sibling=null}return i.child}function u3(o,i,c){switch(i.tag){case 3:Ab(i),Ea();break;case 5:VP(i);break;case 1:yr(i.type)&&Df(i);break;case 4:zh(i,i.stateNode.containerInfo);break;case 10:var d=i.type._context,g=i.memoizedProps.value;nn(Mf,d._currentValue),d._currentValue=g;break;case 13:if(d=i.memoizedState,d!==null)return d.dehydrated!==null?(nn(vn,vn.current&1),i.flags|=128,null):c&i.child.childLanes?bb(o,i,c):(nn(vn,vn.current&1),o=ys(o,i,c),o!==null?o.sibling:null);nn(vn,vn.current&1);break;case 19:if(d=(c&i.childLanes)!==0,o.flags&128){if(d)return wb(o,i,c);i.flags|=128}if(g=i.memoizedState,g!==null&&(g.rendering=null,g.tail=null,g.lastEffect=null),nn(vn,vn.current),d)break;return null;case 22:case 23:return i.lanes=0,mb(o,i,c)}return ys(o,i,c)}var Hb,Zh,jb,Sb;Hb=function(o,i){for(var c=i.child;c!==null;){if(c.tag===5||c.tag===6)o.appendChild(c.stateNode);else if(c.tag!==4&&c.child!==null){c.child.return=c,c=c.child;continue}if(c===i)break;for(;c.sibling===null;){if(c.return===null||c.return===i)return;c=c.return}c.sibling.return=c.return,c=c.sibling}},Zh=function(){},jb=function(o,i,c,d){var g=o.memoizedProps;if(g!==d){o=i.stateNode,Li(Io.current);var b=null;switch(c){case"input":g=we(o,g),d=we(o,d),b=[];break;case"select":g=E({},g,{value:void 0}),d=E({},d,{value:void 0}),b=[];break;case"textarea":g=ce(o,g),d=ce(o,d),b=[];break;default:typeof g.onClick!="function"&&typeof d.onClick=="function"&&(o.onclick=zf)}Y(c,d);var T;c=null;for(fe in g)if(!d.hasOwnProperty(fe)&&g.hasOwnProperty(fe)&&g[fe]!=null)if(fe==="style"){var V=g[fe];for(T in V)V.hasOwnProperty(T)&&(c||(c={}),c[T]="")}else fe!=="dangerouslySetInnerHTML"&&fe!=="children"&&fe!=="suppressContentEditableWarning"&&fe!=="suppressHydrationWarning"&&fe!=="autoFocus"&&(s.hasOwnProperty(fe)?b||(b=[]):(b=b||[]).push(fe,null));for(fe in d){var q=d[fe];if(V=g!=null?g[fe]:void 0,d.hasOwnProperty(fe)&&q!==V&&(q!=null||V!=null))if(fe==="style")if(V){for(T in V)!V.hasOwnProperty(T)||q&&q.hasOwnProperty(T)||(c||(c={}),c[T]="");for(T in q)q.hasOwnProperty(T)&&V[T]!==q[T]&&(c||(c={}),c[T]=q[T])}else c||(b||(b=[]),b.push(fe,c)),c=q;else fe==="dangerouslySetInnerHTML"?(q=q?q.__html:void 0,V=V?V.__html:void 0,q!=null&&V!==q&&(b=b||[]).push(fe,q)):fe==="children"?typeof q!="string"&&typeof q!="number"||(b=b||[]).push(fe,""+q):fe!=="suppressContentEditableWarning"&&fe!=="suppressHydrationWarning"&&(s.hasOwnProperty(fe)?(q!=null&&fe==="onScroll"&&sn("scroll",o),b||V===q||(b=[])):(b=b||[]).push(fe,q))}c&&(b=b||[]).push("style",c);var fe=b;(i.updateQueue=fe)&&(i.flags|=4)}},Sb=function(o,i,c,d){c!==d&&(i.flags|=4)};function wc(o,i){if(!fn)switch(o.tailMode){case"hidden":i=o.tail;for(var c=null;i!==null;)i.alternate!==null&&(c=i),i=i.sibling;c===null?o.tail=null:c.sibling=null;break;case"collapsed":c=o.tail;for(var d=null;c!==null;)c.alternate!==null&&(d=c),c=c.sibling;d===null?i||o.tail===null?o.tail=null:o.tail.sibling=null:d.sibling=null}}function tr(o){var i=o.alternate!==null&&o.alternate.child===o.child,c=0,d=0;if(i)for(var g=o.child;g!==null;)c|=g.lanes|g.childLanes,d|=g.subtreeFlags&14680064,d|=g.flags&14680064,g.return=o,g=g.sibling;else for(g=o.child;g!==null;)c|=g.lanes|g.childLanes,d|=g.subtreeFlags,d|=g.flags,g.return=o,g=g.sibling;return o.subtreeFlags|=d,o.childLanes=c,i}function f3(o,i,c){var d=i.pendingProps;switch(hh(i),i.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return tr(i),null;case 1:return yr(i.type)&&Cf(),tr(i),null;case 3:return d=i.stateNode,Na(),an(gr),an($n),Dh(),d.pendingContext&&(d.context=d.pendingContext,d.pendingContext=null),(o===null||o.child===null)&&(Ef(i)?i.flags|=4:o===null||o.memoizedState.isDehydrated&&!(i.flags&256)||(i.flags|=1024,xo!==null&&(om(xo),xo=null))),Zh(o,i),tr(i),null;case 5:Oh(i);var g=Li(yc.current);if(c=i.type,o!==null&&i.stateNode!=null)jb(o,i,c,d,g),o.ref!==i.ref&&(i.flags|=512,i.flags|=2097152);else{if(!d){if(i.stateNode===null)throw Error(n(166));return tr(i),null}if(o=Li(Io.current),Ef(i)){d=i.stateNode,c=i.type;var b=i.memoizedProps;switch(d[Vo]=i,d[pc]=b,o=(i.mode&1)!==0,c){case"dialog":sn("cancel",d),sn("close",d);break;case"iframe":case"object":case"embed":sn("load",d);break;case"video":case"audio":for(g=0;g<\/script>",o=o.removeChild(o.firstChild)):typeof d.is=="string"?o=T.createElement(c,{is:d.is}):(o=T.createElement(c),c==="select"&&(T=o,d.multiple?T.multiple=!0:d.size&&(T.size=d.size))):o=T.createElementNS(o,c),o[Vo]=i,o[pc]=d,Hb(o,i,!1,!1),i.stateNode=o;e:{switch(T=Pe(c,d),c){case"dialog":sn("cancel",o),sn("close",o),g=d;break;case"iframe":case"object":case"embed":sn("load",o),g=d;break;case"video":case"audio":for(g=0;gWa&&(i.flags|=128,d=!0,wc(b,!1),i.lanes=4194304)}else{if(!d)if(o=If(T),o!==null){if(i.flags|=128,d=!0,c=o.updateQueue,c!==null&&(i.updateQueue=c,i.flags|=4),wc(b,!0),b.tail===null&&b.tailMode==="hidden"&&!T.alternate&&!fn)return tr(i),null}else 2*tn()-b.renderingStartTime>Wa&&c!==1073741824&&(i.flags|=128,d=!0,wc(b,!1),i.lanes=4194304);b.isBackwards?(T.sibling=i.child,i.child=T):(c=b.last,c!==null?c.sibling=T:i.child=T,b.last=T)}return b.tail!==null?(i=b.tail,b.rendering=i,b.tail=i.sibling,b.renderingStartTime=tn(),i.sibling=null,c=vn.current,nn(vn,d?c&1|2:c&1),i):(tr(i),null);case 22:case 23:return im(),d=i.memoizedState!==null,o!==null&&o.memoizedState!==null!==d&&(i.flags|=8192),d&&i.mode&1?Vr&1073741824&&(tr(i),i.subtreeFlags&6&&(i.flags|=8192)):tr(i),null;case 24:return null;case 25:return null}throw Error(n(156,i.tag))}function d3(o,i){switch(hh(i),i.tag){case 1:return yr(i.type)&&Cf(),o=i.flags,o&65536?(i.flags=o&-65537|128,i):null;case 3:return Na(),an(gr),an($n),Dh(),o=i.flags,o&65536&&!(o&128)?(i.flags=o&-65537|128,i):null;case 5:return Oh(i),null;case 13:if(an(vn),o=i.memoizedState,o!==null&&o.dehydrated!==null){if(i.alternate===null)throw Error(n(340));Ea()}return o=i.flags,o&65536?(i.flags=o&-65537|128,i):null;case 19:return an(vn),null;case 4:return Na(),null;case 10:return bh(i.type._context),null;case 22:case 23:return im(),null;case 24:return null;default:return null}}var Uf=!1,nr=!1,p3=typeof WeakSet=="function"?WeakSet:Set,et=null;function Va(o,i){var c=o.ref;if(c!==null)if(typeof c=="function")try{c(null)}catch(d){Pn(o,i,d)}else c.current=null}function Gh(o,i,c){try{c()}catch(d){Pn(o,i,d)}}var zb=!1;function v3(o,i){if(ih=hf,o=oP(),_v(o)){if("selectionStart"in o)var c={start:o.selectionStart,end:o.selectionEnd};else e:{c=(c=o.ownerDocument)&&c.defaultView||window;var d=c.getSelection&&c.getSelection();if(d&&d.rangeCount!==0){c=d.anchorNode;var g=d.anchorOffset,b=d.focusNode;d=d.focusOffset;try{c.nodeType,b.nodeType}catch{c=null;break e}var T=0,V=-1,q=-1,fe=0,ze=0,Ce=o,Se=null;t:for(;;){for(var Ye;Ce!==c||g!==0&&Ce.nodeType!==3||(V=T+g),Ce!==b||d!==0&&Ce.nodeType!==3||(q=T+d),Ce.nodeType===3&&(T+=Ce.nodeValue.length),(Ye=Ce.firstChild)!==null;)Se=Ce,Ce=Ye;for(;;){if(Ce===o)break t;if(Se===c&&++fe===g&&(V=T),Se===b&&++ze===d&&(q=T),(Ye=Ce.nextSibling)!==null)break;Ce=Se,Se=Ce.parentNode}Ce=Ye}c=V===-1||q===-1?null:{start:V,end:q}}else c=null}c=c||{start:0,end:0}}else c=null;for(ah={focusedElem:o,selectionRange:c},hf=!1,et=i;et!==null;)if(i=et,o=i.child,(i.subtreeFlags&1028)!==0&&o!==null)o.return=i,et=o;else for(;et!==null;){i=et;try{var it=i.alternate;if(i.flags&1024)switch(i.tag){case 0:case 11:case 15:break;case 1:if(it!==null){var ut=it.memoizedProps,On=it.memoizedState,ie=i.stateNode,Q=ie.getSnapshotBeforeUpdate(i.elementType===i.type?ut:wo(i.type,ut),On);ie.__reactInternalSnapshotBeforeUpdate=Q}break;case 3:var ae=i.stateNode.containerInfo;ae.nodeType===1?ae.textContent="":ae.nodeType===9&&ae.documentElement&&ae.removeChild(ae.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(n(163))}}catch(Me){Pn(i,i.return,Me)}if(o=i.sibling,o!==null){o.return=i.return,et=o;break}et=i.return}return it=zb,zb=!1,it}function Hc(o,i,c){var d=i.updateQueue;if(d=d!==null?d.lastEffect:null,d!==null){var g=d=d.next;do{if((g.tag&o)===o){var b=g.destroy;g.destroy=void 0,b!==void 0&&Gh(i,c,b)}g=g.next}while(g!==d)}}function Qf(o,i){if(i=i.updateQueue,i=i!==null?i.lastEffect:null,i!==null){var c=i=i.next;do{if((c.tag&o)===o){var d=c.create;c.destroy=d()}c=c.next}while(c!==i)}}function Uh(o){var i=o.ref;if(i!==null){var c=o.stateNode;switch(o.tag){case 5:o=c;break;default:o=c}typeof i=="function"?i(o):i.current=o}}function Ob(o){var i=o.alternate;i!==null&&(o.alternate=null,Ob(i)),o.child=null,o.deletions=null,o.sibling=null,o.tag===5&&(i=o.stateNode,i!==null&&(delete i[Vo],delete i[pc],delete i[fh],delete i[Q5],delete i[K5])),o.stateNode=null,o.return=null,o.dependencies=null,o.memoizedProps=null,o.memoizedState=null,o.pendingProps=null,o.stateNode=null,o.updateQueue=null}function Cb(o){return o.tag===5||o.tag===3||o.tag===4}function Db(o){e:for(;;){for(;o.sibling===null;){if(o.return===null||Cb(o.return))return null;o=o.return}for(o.sibling.return=o.return,o=o.sibling;o.tag!==5&&o.tag!==6&&o.tag!==18;){if(o.flags&2||o.child===null||o.tag===4)continue e;o.child.return=o,o=o.child}if(!(o.flags&2))return o.stateNode}}function Qh(o,i,c){var d=o.tag;if(d===5||d===6)o=o.stateNode,i?c.nodeType===8?c.parentNode.insertBefore(o,i):c.insertBefore(o,i):(c.nodeType===8?(i=c.parentNode,i.insertBefore(o,c)):(i=c,i.appendChild(o)),c=c._reactRootContainer,c!=null||i.onclick!==null||(i.onclick=zf));else if(d!==4&&(o=o.child,o!==null))for(Qh(o,i,c),o=o.sibling;o!==null;)Qh(o,i,c),o=o.sibling}function Kh(o,i,c){var d=o.tag;if(d===5||d===6)o=o.stateNode,i?c.insertBefore(o,i):c.appendChild(o);else if(d!==4&&(o=o.child,o!==null))for(Kh(o,i,c),o=o.sibling;o!==null;)Kh(o,i,c),o=o.sibling}var Un=null,Ho=!1;function Ks(o,i,c){for(c=c.child;c!==null;)Tb(o,i,c),c=c.sibling}function Tb(o,i,c){if(Xn&&typeof Xn.onCommitFiberUnmount=="function")try{Xn.onCommitFiberUnmount(ar,c)}catch{}switch(c.tag){case 5:nr||Va(c,i);case 6:var d=Un,g=Ho;Un=null,Ks(o,i,c),Un=d,Ho=g,Un!==null&&(Ho?(o=Un,c=c.stateNode,o.nodeType===8?o.parentNode.removeChild(c):o.removeChild(c)):Un.removeChild(c.stateNode));break;case 18:Un!==null&&(Ho?(o=Un,c=c.stateNode,o.nodeType===8?uh(o.parentNode,c):o.nodeType===1&&uh(o,c),nc(o)):uh(Un,c.stateNode));break;case 4:d=Un,g=Ho,Un=c.stateNode.containerInfo,Ho=!0,Ks(o,i,c),Un=d,Ho=g;break;case 0:case 11:case 14:case 15:if(!nr&&(d=c.updateQueue,d!==null&&(d=d.lastEffect,d!==null))){g=d=d.next;do{var b=g,T=b.destroy;b=b.tag,T!==void 0&&(b&2||b&4)&&Gh(c,i,T),g=g.next}while(g!==d)}Ks(o,i,c);break;case 1:if(!nr&&(Va(c,i),d=c.stateNode,typeof d.componentWillUnmount=="function"))try{d.props=c.memoizedProps,d.state=c.memoizedState,d.componentWillUnmount()}catch(V){Pn(c,i,V)}Ks(o,i,c);break;case 21:Ks(o,i,c);break;case 22:c.mode&1?(nr=(d=nr)||c.memoizedState!==null,Ks(o,i,c),nr=d):Ks(o,i,c);break;default:Ks(o,i,c)}}function kb(o){var i=o.updateQueue;if(i!==null){o.updateQueue=null;var c=o.stateNode;c===null&&(c=o.stateNode=new p3),i.forEach(function(d){var g=w3.bind(null,o,d);c.has(d)||(c.add(d),d.then(g,g))})}}function jo(o,i){var c=i.deletions;if(c!==null)for(var d=0;dg&&(g=T),d&=~b}if(d=g,d=tn()-d,d=(120>d?120:480>d?480:1080>d?1080:1920>d?1920:3e3>d?3e3:4320>d?4320:1960*m3(d/1960))-d,10o?16:o,$s===null)var d=!1;else{if(o=$s,$s=null,td=0,Vt&6)throw Error(n(331));var g=Vt;for(Vt|=4,et=o.current;et!==null;){var b=et,T=b.child;if(et.flags&16){var V=b.deletions;if(V!==null){for(var q=0;qtn()-em?Vi(o,0):$h|=c),br(o,i)}function Yb(o,i){i===0&&(o.mode&1?(i=ff,ff<<=1,!(ff&130023424)&&(ff=4194304)):i=1);var c=cr();o=ms(o,i),o!==null&&(Kl(o,i,c),br(o,c))}function x3(o){var i=o.memoizedState,c=0;i!==null&&(c=i.retryLane),Yb(o,c)}function w3(o,i){var c=0;switch(o.tag){case 13:var d=o.stateNode,g=o.memoizedState;g!==null&&(c=g.retryLane);break;case 19:d=o.stateNode;break;default:throw Error(n(314))}d!==null&&d.delete(i),Yb(o,c)}var qb;qb=function(o,i,c){if(o!==null)if(o.memoizedProps!==i.pendingProps||gr.current)Ar=!0;else{if(!(o.lanes&c)&&!(i.flags&128))return Ar=!1,u3(o,i,c);Ar=!!(o.flags&131072)}else Ar=!1,fn&&i.flags&1048576&&HP(i,Rf,i.index);switch(i.lanes=0,i.tag){case 2:var d=i.type;Gf(o,i),o=i.pendingProps;var g=Ta(i,$n.current);La(i,c),g=Rh(null,i,d,o,g,c);var b=Eh();return i.flags|=1,typeof g=="object"&&g!==null&&typeof g.render=="function"&&g.$$typeof===void 0?(i.tag=1,i.memoizedState=null,i.updateQueue=null,yr(d)?(b=!0,Df(i)):b=!1,i.memoizedState=g.state!==null&&g.state!==void 0?g.state:null,Hh(i),g.updater=Bf,i.stateNode=g,g._reactInternals=i,Sh(i,d,o,c),i=Wh(null,i,d,!0,b,c)):(i.tag=0,fn&&b&&vh(i),lr(null,i,g,c),i=i.child),i;case 16:d=i.elementType;e:{switch(Gf(o,i),o=i.pendingProps,g=d._init,d=g(d._payload),i.type=d,g=i.tag=j3(d),o=wo(d,o),g){case 0:i=Ih(null,i,d,o,c);break e;case 1:i=yb(null,i,d,o,c);break e;case 11:i=pb(null,i,d,o,c);break e;case 14:i=vb(null,i,d,wo(d.type,o),c);break e}throw Error(n(306,d,""))}return i;case 0:return d=i.type,g=i.pendingProps,g=i.elementType===d?g:wo(d,g),Ih(o,i,d,g,c);case 1:return d=i.type,g=i.pendingProps,g=i.elementType===d?g:wo(d,g),yb(o,i,d,g,c);case 3:e:{if(Ab(i),o===null)throw Error(n(387));d=i.pendingProps,b=i.memoizedState,g=b.element,DP(o,i),Nf(i,d,null,c);var T=i.memoizedState;if(d=T.element,b.isDehydrated)if(b={element:d,isDehydrated:!1,cache:T.cache,pendingSuspenseBoundaries:T.pendingSuspenseBoundaries,transitions:T.transitions},i.updateQueue.baseState=b,i.memoizedState=b,i.flags&256){g=Ba(Error(n(423)),i),i=Pb(o,i,d,c,g);break e}else if(d!==g){g=Ba(Error(n(424)),i),i=Pb(o,i,d,c,g);break e}else for(Br=Ys(i.stateNode.containerInfo.firstChild),Nr=i,fn=!0,xo=null,c=BP(i,null,d,c),i.child=c;c;)c.flags=c.flags&-3|4096,c=c.sibling;else{if(Ea(),d===g){i=ys(o,i,c);break e}lr(o,i,d,c)}i=i.child}return i;case 5:return VP(i),o===null&&gh(i),d=i.type,g=i.pendingProps,b=o!==null?o.memoizedProps:null,T=g.children,lh(d,g)?T=null:b!==null&&lh(d,b)&&(i.flags|=32),gb(o,i),lr(o,i,T,c),i.child;case 6:return o===null&&gh(i),null;case 13:return bb(o,i,c);case 4:return zh(i,i.stateNode.containerInfo),d=i.pendingProps,o===null?i.child=Xa(i,null,d,c):lr(o,i,d,c),i.child;case 11:return d=i.type,g=i.pendingProps,g=i.elementType===d?g:wo(d,g),pb(o,i,d,g,c);case 7:return lr(o,i,i.pendingProps,c),i.child;case 8:return lr(o,i,i.pendingProps.children,c),i.child;case 12:return lr(o,i,i.pendingProps.children,c),i.child;case 10:e:{if(d=i.type._context,g=i.pendingProps,b=i.memoizedProps,T=g.value,nn(Mf,d._currentValue),d._currentValue=T,b!==null)if(bo(b.value,T)){if(b.children===g.children&&!gr.current){i=ys(o,i,c);break e}}else for(b=i.child,b!==null&&(b.return=i);b!==null;){var V=b.dependencies;if(V!==null){T=b.child;for(var q=V.firstContext;q!==null;){if(q.context===d){if(b.tag===1){q=gs(-1,c&-c),q.tag=2;var fe=b.updateQueue;if(fe!==null){fe=fe.shared;var ze=fe.pending;ze===null?q.next=q:(q.next=ze.next,ze.next=q),fe.pending=q}}b.lanes|=c,q=b.alternate,q!==null&&(q.lanes|=c),xh(b.return,c,i),V.lanes|=c;break}q=q.next}}else if(b.tag===10)T=b.type===i.type?null:b.child;else if(b.tag===18){if(T=b.return,T===null)throw Error(n(341));T.lanes|=c,V=T.alternate,V!==null&&(V.lanes|=c),xh(T,c,i),T=b.sibling}else T=b.child;if(T!==null)T.return=b;else for(T=b;T!==null;){if(T===i){T=null;break}if(b=T.sibling,b!==null){b.return=T.return,T=b;break}T=T.return}b=T}lr(o,i,g.children,c),i=i.child}return i;case 9:return g=i.type,d=i.pendingProps.children,La(i,c),g=$r(g),d=d(g),i.flags|=1,lr(o,i,d,c),i.child;case 14:return d=i.type,g=wo(d,i.pendingProps),g=wo(d.type,g),vb(o,i,d,g,c);case 15:return hb(o,i,i.type,i.pendingProps,c);case 17:return d=i.type,g=i.pendingProps,g=i.elementType===d?g:wo(d,g),Gf(o,i),i.tag=1,yr(d)?(o=!0,Df(i)):o=!1,La(i,c),MP(i,d,g),Sh(i,d,g,c),Wh(null,i,d,!0,o,c);case 19:return wb(o,i,c);case 22:return mb(o,i,c)}throw Error(n(156,i.tag))};function Zb(o,i){return Nt(o,i)}function H3(o,i,c,d){this.tag=o,this.key=c,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=i,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=d,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function no(o,i,c,d){return new H3(o,i,c,d)}function lm(o){return o=o.prototype,!(!o||!o.isReactComponent)}function j3(o){if(typeof o=="function")return lm(o)?1:0;if(o!=null){if(o=o.$$typeof,o===I)return 11;if(o===W)return 14}return 2}function ni(o,i){var c=o.alternate;return c===null?(c=no(o.tag,i,o.key,o.mode),c.elementType=o.elementType,c.type=o.type,c.stateNode=o.stateNode,c.alternate=o,o.alternate=c):(c.pendingProps=i,c.type=o.type,c.flags=0,c.subtreeFlags=0,c.deletions=null),c.flags=o.flags&14680064,c.childLanes=o.childLanes,c.lanes=o.lanes,c.child=o.child,c.memoizedProps=o.memoizedProps,c.memoizedState=o.memoizedState,c.updateQueue=o.updateQueue,i=o.dependencies,c.dependencies=i===null?null:{lanes:i.lanes,firstContext:i.firstContext},c.sibling=o.sibling,c.index=o.index,c.ref=o.ref,c}function sd(o,i,c,d,g,b){var T=2;if(d=o,typeof o=="function")lm(o)&&(T=1);else if(typeof o=="string")T=5;else e:switch(o){case R:return Wi(c.children,g,b,i);case M:T=8,g|=8;break;case L:return o=no(12,c,i,g|2),o.elementType=L,o.lanes=b,o;case J:return o=no(13,c,i,g),o.elementType=J,o.lanes=b,o;case K:return o=no(19,c,i,g),o.elementType=K,o.lanes=b,o;case re:return id(c,g,b,i);default:if(typeof o=="object"&&o!==null)switch(o.$$typeof){case j:T=10;break e;case B:T=9;break e;case I:T=11;break e;case W:T=14;break e;case ne:T=16,d=null;break e}throw Error(n(130,o==null?o:typeof o,""))}return i=no(T,c,i,g),i.elementType=o,i.type=d,i.lanes=b,i}function Wi(o,i,c,d){return o=no(7,o,d,i),o.lanes=c,o}function id(o,i,c,d){return o=no(22,o,d,i),o.elementType=re,o.lanes=c,o.stateNode={isHidden:!1},o}function cm(o,i,c){return o=no(6,o,null,i),o.lanes=c,o}function um(o,i,c){return i=no(4,o.children!==null?o.children:[],o.key,i),i.lanes=c,i.stateNode={containerInfo:o.containerInfo,pendingChildren:null,implementation:o.implementation},i}function S3(o,i,c,d,g){this.tag=i,this.containerInfo=o,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Xv(0),this.expirationTimes=Xv(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Xv(0),this.identifierPrefix=d,this.onRecoverableError=g,this.mutableSourceEagerHydrationData=null}function fm(o,i,c,d,g,b,T,V,q){return o=new S3(o,i,c,V,q),i===1?(i=1,b===!0&&(i|=8)):i=0,b=no(3,null,null,i),o.current=b,b.stateNode=o,b.memoizedState={element:d,isDehydrated:c,cache:null,transitions:null,pendingSuspenseBoundaries:null},Hh(b),o}function z3(o,i,c){var d=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return e(),Sm.exports=zS(),Sm.exports}var d1=f1();const $c=Op(d1),J8={disabled:!1},ip=_e.createContext(null);var OS=function(t){return t.scrollTop},eu="unmounted",Yi="exited",qi="entering",tl="entered",ug="exiting",Xo=function(e){u1(t,e);function t(r,s){var a;a=e.call(this,r,s)||this;var l=s,u=l&&!l.isMounting?r.enter:r.appear,f;return a.appearStatus=null,r.in?u?(f=Yi,a.appearStatus=qi):f=tl:r.unmountOnExit||r.mountOnEnter?f=eu:f=Yi,a.state={status:f},a.nextCallback=null,a}t.getDerivedStateFromProps=function(s,a){var l=s.in;return l&&a.status===eu?{status:Yi}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(s){var a=null;if(s!==this.props){var l=this.state.status;this.props.in?l!==qi&&l!==tl&&(a=qi):(l===qi||l===tl)&&(a=ug)}this.updateStatus(!1,a)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var s=this.props.timeout,a,l,u;return a=l=u=s,s!=null&&typeof s!="number"&&(a=s.exit,l=s.enter,u=s.appear!==void 0?s.appear:l),{exit:a,enter:l,appear:u}},n.updateStatus=function(s,a){if(s===void 0&&(s=!1),a!==null)if(this.cancelNextCallback(),a===qi){if(this.props.unmountOnExit||this.props.mountOnEnter){var l=this.props.nodeRef?this.props.nodeRef.current:$c.findDOMNode(this);l&&OS(l)}this.performEnter(s)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Yi&&this.setState({status:eu})},n.performEnter=function(s){var a=this,l=this.props.enter,u=this.context?this.context.isMounting:s,f=this.props.nodeRef?[u]:[$c.findDOMNode(this),u],p=f[0],h=f[1],m=this.getTimeouts(),A=u?m.appear:m.enter;if(!s&&!l||J8.disabled){this.safeSetState({status:tl},function(){a.props.onEntered(p)});return}this.props.onEnter(p,h),this.safeSetState({status:qi},function(){a.props.onEntering(p,h),a.onTransitionEnd(A,function(){a.safeSetState({status:tl},function(){a.props.onEntered(p,h)})})})},n.performExit=function(){var s=this,a=this.props.exit,l=this.getTimeouts(),u=this.props.nodeRef?void 0:$c.findDOMNode(this);if(!a||J8.disabled){this.safeSetState({status:Yi},function(){s.props.onExited(u)});return}this.props.onExit(u),this.safeSetState({status:ug},function(){s.props.onExiting(u),s.onTransitionEnd(l.exit,function(){s.safeSetState({status:Yi},function(){s.props.onExited(u)})})})},n.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(s,a){a=this.setNextCallback(a),this.setState(s,a)},n.setNextCallback=function(s){var a=this,l=!0;return this.nextCallback=function(u){l&&(l=!1,a.nextCallback=null,s(u))},this.nextCallback.cancel=function(){l=!1},this.nextCallback},n.onTransitionEnd=function(s,a){this.setNextCallback(a);var l=this.props.nodeRef?this.props.nodeRef.current:$c.findDOMNode(this),u=s==null&&!this.props.addEndListener;if(!l||u){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var f=this.props.nodeRef?[this.nextCallback]:[l,this.nextCallback],p=f[0],h=f[1];this.props.addEndListener(p,h)}s!=null&&setTimeout(this.nextCallback,s)},n.render=function(){var s=this.state.status;if(s===eu)return null;var a=this.props,l=a.children;a.in,a.mountOnEnter,a.unmountOnExit,a.appear,a.enter,a.exit,a.timeout,a.addEndListener,a.onEnter,a.onEntering,a.onEntered,a.onExit,a.onExiting,a.onExited,a.nodeRef;var u=c1(a,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return _e.createElement(ip.Provider,{value:null},typeof l=="function"?l(s,u):_e.cloneElement(_e.Children.only(l),u))},t}(_e.Component);Xo.contextType=ip;Xo.propTypes={};function Ua(){}Xo.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Ua,onEntering:Ua,onEntered:Ua,onExit:Ua,onExiting:Ua,onExited:Ua};Xo.UNMOUNTED=eu;Xo.EXITED=Yi;Xo.ENTERING=qi;Xo.ENTERED=tl;Xo.EXITING=ug;function CS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xy(e,t){var n=function(a){return t&&P.isValidElement(a)?t(a):a},r=Object.create(null);return e&&P.Children.map(e,function(s){return s}).forEach(function(s){r[s.key]=n(s)}),r}function DS(e,t){e=e||{},t=t||{};function n(h){return h in t?t[h]:e[h]}var r=Object.create(null),s=[];for(var a in e)a in t?s.length&&(r[a]=s,s=[]):s.push(a);var l,u={};for(var f in t){if(r[f])for(l=0;le.scrollTop;function Cl(e,t){const{timeout:n,easing:r,style:s={}}=e;return{duration:s.transitionDuration??(typeof n=="number"?n:n[t.mode]||0),easing:s.transitionTimingFunction??(typeof r=="object"?r[t.mode]:r),delay:s.transitionDelay}}function MS(e){return Ze("MuiPaper",e)}Ge("MuiPaper",["root","rounded","outlined","elevation","elevation0","elevation1","elevation2","elevation3","elevation4","elevation5","elevation6","elevation7","elevation8","elevation9","elevation10","elevation11","elevation12","elevation13","elevation14","elevation15","elevation16","elevation17","elevation18","elevation19","elevation20","elevation21","elevation22","elevation23","elevation24"]);const LS=e=>{const{square:t,elevation:n,variant:r,classes:s}=e,a={root:["root",r,!t&&"rounded",r==="elevation"&&`elevation${n}`]};return Qe(a,MS,s)},XS=pe("div",{name:"MuiPaper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],!n.square&&t.rounded,n.variant==="elevation"&&t[`elevation${n.elevation}`]]}})(Ue(({theme:e})=>({backgroundColor:(e.vars||e).palette.background.paper,color:(e.vars||e).palette.text.primary,transition:e.transitions.create("box-shadow"),variants:[{props:({ownerState:t})=>!t.square,style:{borderRadius:e.shape.borderRadius}},{props:{variant:"outlined"},style:{border:`1px solid ${(e.vars||e).palette.divider}`}},{props:{variant:"elevation"},style:{boxShadow:"var(--Paper-shadow)",backgroundImage:"var(--Paper-overlay)"}}]}))),Gr=P.forwardRef(function(t,n){var H;const r=$e({props:t,name:"MuiPaper"}),s=Qr(),{className:a,component:l="div",elevation:u=1,square:f=!1,variant:p="elevation",...h}=r,m={...r,component:l,elevation:u,square:f,variant:p},A=LS(m);return v.jsx(XS,{as:l,ownerState:m,className:Oe(A.root,a),ref:n,...h,style:{...p==="elevation"&&{"--Paper-shadow":(s.vars||s).shadows[u],...s.vars&&{"--Paper-overlay":(H=s.vars.overlays)==null?void 0:H[u]},...!s.vars&&s.palette.mode==="dark"&&{"--Paper-overlay":`linear-gradient(${Pt("#fff",lg(u))}, ${Pt("#fff",lg(u))})`}},...h.style}})});function Cn(e,t){const{className:n,elementType:r,ownerState:s,externalForwardedProps:a,internalForwardedProps:l,...u}=t,{component:f,slots:p={[e]:void 0},slotProps:h={[e]:void 0},...m}=a,A=p[e]||r,H=Q0(h[e],s),{props:{component:y,...w},internalRef:x}=U0({className:n,...u,externalForwardedProps:e==="root"?m:void 0,externalSlotProps:H}),S=rn(x,H==null?void 0:H.ref,t.ref),C=e==="root"?y||f:y,z=G0(A,{...e==="root"&&!f&&!p[e]&&l,...e!=="root"&&!p[e]&&l,...w,...C&&{as:C},ref:S},s);return[A,z]}class ap{constructor(){Cc(this,"mountEffect",()=>{this.shouldMount&&!this.didMount&&this.ref.current!==null&&(this.didMount=!0,this.mounted.resolve())});this.ref={current:null},this.mounted=null,this.didMount=!1,this.shouldMount=!1,this.setShouldMount=null}static create(){return new ap}static use(){const t=q0(ap.create).current,[n,r]=P.useState(!1);return t.shouldMount=n,t.setShouldMount=r,P.useEffect(t.mountEffect,[n]),t}mount(){return this.mounted||(this.mounted=BS(),this.shouldMount=!0,this.setShouldMount(this.shouldMount)),this.mounted}start(...t){this.mount().then(()=>{var n;return(n=this.ref.current)==null?void 0:n.start(...t)})}stop(...t){this.mount().then(()=>{var n;return(n=this.ref.current)==null?void 0:n.stop(...t)})}pulsate(...t){this.mount().then(()=>{var n;return(n=this.ref.current)==null?void 0:n.pulsate(...t)})}}function NS(){return ap.use()}function BS(){let e,t;const n=new Promise((r,s)=>{e=r,t=s});return n.resolve=e,n.reject=t,n}function VS(e){const{className:t,classes:n,pulsate:r=!1,rippleX:s,rippleY:a,rippleSize:l,in:u,onExited:f,timeout:p}=e,[h,m]=P.useState(!1),A=Oe(t,n.ripple,n.rippleVisible,r&&n.ripplePulsate),H={width:l,height:l,top:-(l/2)+a,left:-(l/2)+s},y=Oe(n.child,h&&n.childLeaving,r&&n.childPulsate);return!u&&!h&&m(!0),P.useEffect(()=>{if(!u&&f!=null){const w=setTimeout(f,p);return()=>{clearTimeout(w)}}},[f,u,p]),v.jsx("span",{className:A,style:H,children:v.jsx("span",{className:y})})}const io=Ge("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),fg=550,IS=80,WS=Vu` 0% { transform: scale(0); opacity: 0.1; @@ -62,7 +103,7 @@ Error generating stack: `+b.message+` transform: scale(1); opacity: 0.3; } -`)),AO=sf(n8||(n8=lv` +`,JS=Vu` 0% { opacity: 1; } @@ -70,7 +111,7 @@ Error generating stack: `+b.message+` 100% { opacity: 0; } -`)),PO=sf(r8||(r8=lv` +`,FS=Vu` 0% { transform: scale(1); } @@ -82,23 +123,23 @@ Error generating stack: `+b.message+` 100% { transform: scale(1); } -`)),gO=ve("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),yO=ve(pO,{name:"MuiTouchRipple",slot:"Ripple"})(o8||(o8=lv` +`,YS=pe("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),qS=pe(VS,{name:"MuiTouchRipple",slot:"Ripple"})` opacity: 0; position: absolute; - &.${0} { + &.${io.rippleVisible} { opacity: 0.3; transform: scale(1); - animation-name: ${0}; - animation-duration: ${0}ms; - animation-timing-function: ${0}; + animation-name: ${WS}; + animation-duration: ${fg}ms; + animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut}; } - &.${0} { - animation-duration: ${0}ms; + &.${io.ripplePulsate} { + animation-duration: ${({theme:e})=>e.transitions.duration.shorter}ms; } - & .${0} { + & .${io.child} { opacity: 1; display: block; width: 100%; @@ -107,26 +148,26 @@ Error generating stack: `+b.message+` background-color: currentColor; } - & .${0} { + & .${io.childLeaving} { opacity: 0; - animation-name: ${0}; - animation-duration: ${0}ms; - animation-timing-function: ${0}; + animation-name: ${JS}; + animation-duration: ${fg}ms; + animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut}; } - & .${0} { + & .${io.childPulsate} { position: absolute; /* @noflip */ left: 0px; top: 0; - animation-name: ${0}; + animation-name: ${FS}; animation-duration: 2500ms; - animation-timing-function: ${0}; + animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut}; animation-iteration-count: infinite; animation-delay: 200ms; } -`),io.rippleVisible,mO,DA,({theme:e})=>e.transitions.easing.easeInOut,io.ripplePulsate,({theme:e})=>e.transitions.duration.shorter,io.child,io.childLeaving,AO,DA,({theme:e})=>e.transitions.easing.easeInOut,io.childPulsate,PO,({theme:e})=>e.transitions.easing.easeInOut),bO=y.forwardRef(function(t,n){const o=et({props:t,name:"MuiTouchRipple"}),{center:i=!1,classes:a={},className:c}=o,u=Oe(o,vO),[f,p]=y.useState([]),h=y.useRef(0),m=y.useRef(null);y.useEffect(()=>{m.current&&(m.current(),m.current=null)},[f]);const P=y.useRef(!1),H=Li(),g=y.useRef(null),w=y.useRef(null),x=y.useCallback(D=>{const{pulsate:R,rippleX:E,rippleY:T,rippleSize:L,cb:N}=D;p(M=>[...M,v.jsx(yO,{classes:{ripple:ze(a.ripple,io.ripple),rippleVisible:ze(a.rippleVisible,io.rippleVisible),ripplePulsate:ze(a.ripplePulsate,io.ripplePulsate),child:ze(a.child,io.child),childLeaving:ze(a.childLeaving,io.childLeaving),childPulsate:ze(a.childPulsate,io.childPulsate)},timeout:DA,pulsate:R,rippleX:E,rippleY:T,rippleSize:L},h.current)]),h.current+=1,m.current=N},[a]),z=y.useCallback((D={},R={},E=()=>{})=>{const{pulsate:T=!1,center:L=i||R.pulsate,fakeElement:N=!1}=R;if((D==null?void 0:D.type)==="mousedown"&&P.current){P.current=!1;return}(D==null?void 0:D.type)==="touchstart"&&(P.current=!0);const M=N?null:w.current,U=M?M.getBoundingClientRect():{width:0,height:0,left:0,top:0};let I,W,oe;if(L||D===void 0||D.clientX===0&&D.clientY===0||!D.clientX&&!D.touches)I=Math.round(U.width/2),W=Math.round(U.height/2);else{const{clientX:q,clientY:ie}=D.touches&&D.touches.length>0?D.touches[0]:D;I=Math.round(q-U.left),W=Math.round(ie-U.top)}if(L)oe=Math.sqrt((2*U.width**2+U.height**2)/3),oe%2===0&&(oe+=1);else{const q=Math.max(Math.abs((M?M.clientWidth:0)-I),I)*2+2,ie=Math.max(Math.abs((M?M.clientHeight:0)-W),W)*2+2;oe=Math.sqrt(q**2+ie**2)}D!=null&&D.touches?g.current===null&&(g.current=()=>{x({pulsate:T,rippleX:I,rippleY:W,rippleSize:oe,cb:E})},H.start(hO,()=>{g.current&&(g.current(),g.current=null)})):x({pulsate:T,rippleX:I,rippleY:W,rippleSize:oe,cb:E})},[i,x,H]),O=y.useCallback(()=>{z({},{pulsate:!0})},[z]),C=y.useCallback((D,R)=>{if(H.clear(),(D==null?void 0:D.type)==="touchend"&&g.current){g.current(),g.current=null,H.start(0,()=>{C(D,R)});return}g.current=null,p(E=>E.length>0?E.slice(1):E),m.current=R},[H]);return y.useImperativeHandle(n,()=>({pulsate:O,start:z,stop:C}),[O,z,C]),v.jsx(gO,j({className:ze(io.root,a.root,c),ref:w},u,{children:v.jsx(MP,{component:null,exit:!0,children:f})}))});function xO(e){return Ke("MuiButtonBase",e)}const wO=_e("MuiButtonBase",["root","disabled","focusVisible"]),HO=["action","centerRipple","children","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","LinkComponent","onBlur","onClick","onContextMenu","onDragLeave","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","tabIndex","TouchRippleProps","touchRippleRef","type"],jO=e=>{const{disabled:t,focusVisible:n,focusVisibleClassName:o,classes:i}=e,c=$e({root:["root",t&&"disabled",n&&"focusVisible"]},xO,i);return n&&o&&(c.root+=` ${o}`),c},zO=ve("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${wO.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),di=y.forwardRef(function(t,n){const o=et({props:t,name:"MuiButtonBase"}),{action:i,centerRipple:a=!1,children:c,className:u,component:f="button",disabled:p=!1,disableRipple:h=!1,disableTouchRipple:m=!1,focusRipple:P=!1,LinkComponent:H="a",onBlur:g,onClick:w,onContextMenu:x,onDragLeave:z,onFocus:O,onFocusVisible:C,onKeyDown:D,onKeyUp:R,onMouseDown:E,onMouseLeave:T,onMouseUp:L,onTouchEnd:N,onTouchMove:M,onTouchStart:U,tabIndex:I=0,TouchRippleProps:W,touchRippleRef:oe,type:q}=o,ie=Oe(o,HO),te=y.useRef(null),J=y.useRef(null),K=on(J,oe),{isFocusVisibleRef:k,onFocus:ne,onBlur:X,ref:se}=sv(),[_,de]=y.useState(!1);p&&_&&de(!1),y.useImperativeHandle(i,()=>({focusVisible:()=>{de(!0),te.current.focus()}}),[]);const[ue,we]=y.useState(!1);y.useEffect(()=>{we(!0)},[]);const pe=ue&&!h&&!p;y.useEffect(()=>{_&&P&&!h&&ue&&J.current.pulsate()},[h,P,_,ue]);function me(Le,gt,Mt=m){return ar(_t=>(gt&>(_t),!Mt&&J.current&&J.current[Le](_t),!0))}const it=me("start",E),We=me("stop",x),Xe=me("stop",z),Be=me("stop",L),Re=me("stop",Le=>{_&&Le.preventDefault(),T&&T(Le)}),rt=me("start",U),Ve=me("stop",N),jt=me("stop",M),B=me("stop",Le=>{X(Le),k.current===!1&&de(!1),g&&g(Le)},!1),re=ar(Le=>{te.current||(te.current=Le.currentTarget),ne(Le),k.current===!0&&(de(!0),C&&C(Le)),O&&O(Le)}),ae=()=>{const Le=te.current;return f&&f!=="button"&&!(Le.tagName==="A"&&Le.href)},ge=y.useRef(!1),ye=ar(Le=>{P&&!ge.current&&_&&J.current&&Le.key===" "&&(ge.current=!0,J.current.stop(Le,()=>{J.current.start(Le)})),Le.target===Le.currentTarget&&ae()&&Le.key===" "&&Le.preventDefault(),D&&D(Le),Le.target===Le.currentTarget&&ae()&&Le.key==="Enter"&&!p&&(Le.preventDefault(),w&&w(Le))}),Pe=ar(Le=>{P&&Le.key===" "&&J.current&&_&&!Le.defaultPrevented&&(ge.current=!1,J.current.stop(Le,()=>{J.current.pulsate(Le)})),R&&R(Le),w&&Le.target===Le.currentTarget&&ae()&&Le.key===" "&&!Le.defaultPrevented&&w(Le)});let xe=f;xe==="button"&&(ie.href||ie.to)&&(xe=H);const Ze={};xe==="button"?(Ze.type=q===void 0?"button":q,Ze.disabled=p):(!ie.href&&!ie.to&&(Ze.role="button"),p&&(Ze["aria-disabled"]=p));const Pt=on(n,se,te),mt=j({},o,{centerRipple:a,component:f,disabled:p,disableRipple:h,disableTouchRipple:m,focusRipple:P,tabIndex:I,focusVisible:_}),Ue=jO(mt);return v.jsxs(zO,j({as:xe,className:ze(Ue.root,u),ownerState:mt,onBlur:B,onClick:w,onContextMenu:We,onFocus:re,onKeyDown:ye,onKeyUp:Pe,onMouseDown:it,onMouseLeave:Re,onMouseUp:Be,onDragLeave:Xe,onTouchEnd:Ve,onTouchMove:jt,onTouchStart:rt,ref:Pt,tabIndex:p?-1:I,type:q},Ze,ie,{children:[c,pe?v.jsx(bO,j({ref:K,center:a},W)):null]}))});function OO(e){return Ke("MuiAlert",e)}const s8=_e("MuiAlert",["root","action","icon","message","filled","filledSuccess","filledInfo","filledWarning","filledError","outlined","outlinedSuccess","outlinedInfo","outlinedWarning","outlinedError","standard","standardSuccess","standardInfo","standardWarning","standardError"]);function CO(e){return Ke("MuiIconButton",e)}const RO=_e("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"]),DO=["edge","children","className","color","disabled","disableFocusRipple","size"],SO=e=>{const{classes:t,disabled:n,color:o,edge:i,size:a}=e,c={root:["root",n&&"disabled",o!=="default"&&`color${Ae(o)}`,i&&`edge${Ae(i)}`,`size${Ae(a)}`]};return $e(c,CO,t)},TO=ve(di,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color!=="default"&&t[`color${Ae(n.color)}`],n.edge&&t[`edge${Ae(n.edge)}`],t[`size${Ae(n.size)}`]]}})(({theme:e,ownerState:t})=>j({textAlign:"center",flex:"0 0 auto",fontSize:e.typography.pxToRem(24),padding:8,borderRadius:"50%",overflow:"visible",color:(e.vars||e).palette.action.active,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest})},!t.disableRipple&&{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:xt(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},t.edge==="start"&&{marginLeft:t.size==="small"?-3:-12},t.edge==="end"&&{marginRight:t.size==="small"?-3:-12}),({theme:e,ownerState:t})=>{var n;const o=(n=(e.vars||e).palette)==null?void 0:n[t.color];return j({},t.color==="inherit"&&{color:"inherit"},t.color!=="inherit"&&t.color!=="default"&&j({color:o==null?void 0:o.main},!t.disableRipple&&{"&:hover":j({},o&&{backgroundColor:e.vars?`rgba(${o.mainChannel} / ${e.vars.palette.action.hoverOpacity})`:xt(o.main,e.palette.action.hoverOpacity)},{"@media (hover: none)":{backgroundColor:"transparent"}})}),t.size==="small"&&{padding:5,fontSize:e.typography.pxToRem(18)},t.size==="large"&&{padding:12,fontSize:e.typography.pxToRem(28)},{[`&.${RO.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled}})}),Or=y.forwardRef(function(t,n){const o=et({props:t,name:"MuiIconButton"}),{edge:i=!1,children:a,className:c,color:u="default",disabled:f=!1,disableFocusRipple:p=!1,size:h="medium"}=o,m=Oe(o,DO),P=j({},o,{edge:i,color:u,disabled:f,disableFocusRipple:p,size:h}),H=SO(P);return v.jsx(TO,j({className:ze(H.root,c),centerRipple:!0,focusRipple:!p,disabled:f,ref:n,ownerState:P},m,{children:a}))}),EO=Kn(v.jsx("path",{d:"M20,12A8,8 0 0,1 12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4C12.76,4 13.5,4.11 14.2, 4.31L15.77,2.74C14.61,2.26 13.34,2 12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0, 0 22,12M7.91,10.08L6.5,11.5L11,16L21,6L19.59,4.58L11,13.17L7.91,10.08Z"}),"SuccessOutlined"),kO=Kn(v.jsx("path",{d:"M12 5.99L19.53 19H4.47L12 5.99M12 2L1 21h22L12 2zm1 14h-2v2h2v-2zm0-6h-2v4h2v-4z"}),"ReportProblemOutlined"),MO=Kn(v.jsx("path",{d:"M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"ErrorOutline"),LO=Kn(v.jsx("path",{d:"M11,9H13V7H11M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20, 12C20,16.41 16.41,20 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10, 10 0 0,0 12,2M11,17H13V11H11V17Z"}),"InfoOutlined"),B1=Kn(v.jsx("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close"),XO=["action","children","className","closeText","color","components","componentsProps","icon","iconMapping","onClose","role","severity","slotProps","slots","variant"],NO=e=>{const{variant:t,color:n,severity:o,classes:i}=e,a={root:["root",`${t}${Ae(n||o)}`,`${t}`],icon:["icon"],message:["message"],action:["action"]};return $e(a,OO,i)},BO=ve(Gr,{name:"MuiAlert",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`${n.variant}${Ae(n.color||n.severity)}`]]}})(({theme:e,ownerState:t})=>{const n=e.palette.mode==="light"?pl:vl,o=e.palette.mode==="light"?vl:pl,i=t.color||t.severity;return j({},e.typography.body2,{backgroundColor:"transparent",display:"flex",padding:"6px 16px"},i&&t.variant==="standard"&&{color:e.vars?e.vars.palette.Alert[`${i}Color`]:n(e.palette[i].light,.6),backgroundColor:e.vars?e.vars.palette.Alert[`${i}StandardBg`]:o(e.palette[i].light,.9),[`& .${s8.icon}`]:e.vars?{color:e.vars.palette.Alert[`${i}IconColor`]}:{color:e.palette[i].main}},i&&t.variant==="outlined"&&{color:e.vars?e.vars.palette.Alert[`${i}Color`]:n(e.palette[i].light,.6),border:`1px solid ${(e.vars||e).palette[i].light}`,[`& .${s8.icon}`]:e.vars?{color:e.vars.palette.Alert[`${i}IconColor`]}:{color:e.palette[i].main}},i&&t.variant==="filled"&&j({fontWeight:e.typography.fontWeightMedium},e.vars?{color:e.vars.palette.Alert[`${i}FilledColor`],backgroundColor:e.vars.palette.Alert[`${i}FilledBg`]}:{backgroundColor:e.palette.mode==="dark"?e.palette[i].dark:e.palette[i].main,color:e.palette.getContrastText(e.palette[i].main)}))}),VO=ve("div",{name:"MuiAlert",slot:"Icon",overridesResolver:(e,t)=>t.icon})({marginRight:12,padding:"7px 0",display:"flex",fontSize:22,opacity:.9}),IO=ve("div",{name:"MuiAlert",slot:"Message",overridesResolver:(e,t)=>t.message})({padding:"8px 0",minWidth:0,overflow:"auto"}),i8=ve("div",{name:"MuiAlert",slot:"Action",overridesResolver:(e,t)=>t.action})({display:"flex",alignItems:"flex-start",padding:"4px 0 0 16px",marginLeft:"auto",marginRight:-8}),a8={success:v.jsx(EO,{fontSize:"inherit"}),warning:v.jsx(kO,{fontSize:"inherit"}),error:v.jsx(MO,{fontSize:"inherit"}),info:v.jsx(LO,{fontSize:"inherit"})},XP=y.forwardRef(function(t,n){var o,i,a,c,u,f;const p=et({props:t,name:"MuiAlert"}),{action:h,children:m,className:P,closeText:H="Close",color:g,components:w={},componentsProps:x={},icon:z,iconMapping:O=a8,onClose:C,role:D="alert",severity:R="success",slotProps:E={},slots:T={},variant:L="standard"}=p,N=Oe(p,XO),M=j({},p,{color:g,severity:R,variant:L}),U=NO(M),I=(o=(i=T.closeButton)!=null?i:w.CloseButton)!=null?o:Or,W=(a=(c=T.closeIcon)!=null?c:w.CloseIcon)!=null?a:B1,oe=(u=E.closeButton)!=null?u:x.closeButton,q=(f=E.closeIcon)!=null?f:x.closeIcon;return v.jsxs(BO,j({role:D,elevation:0,ownerState:M,className:ze(U.root,P),ref:n},N,{children:[z!==!1?v.jsx(VO,{ownerState:M,className:U.icon,children:z||O[R]||a8[R]}):null,v.jsx(IO,{ownerState:M,className:U.message,children:m}),h!=null?v.jsx(i8,{ownerState:M,className:U.action,children:h}):null,h==null&&C?v.jsx(i8,{ownerState:M,className:U.action,children:v.jsx(I,j({size:"small","aria-label":H,title:H,color:"inherit",onClick:C},oe,{children:v.jsx(W,j({fontSize:"small"},q))}))}):null]}))});function WO(e){return Ke("MuiTypography",e)}_e("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);const JO=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],FO=e=>{const{align:t,gutterBottom:n,noWrap:o,paragraph:i,variant:a,classes:c}=e,u={root:["root",a,e.align!=="inherit"&&`align${Ae(t)}`,n&&"gutterBottom",o&&"noWrap",i&&"paragraph"]};return $e(u,WO,c)},YO=ve("span",{name:"MuiTypography",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.variant&&t[n.variant],n.align!=="inherit"&&t[`align${Ae(n.align)}`],n.noWrap&&t.noWrap,n.gutterBottom&&t.gutterBottom,n.paragraph&&t.paragraph]}})(({theme:e,ownerState:t})=>j({margin:0},t.variant==="inherit"&&{font:"inherit"},t.variant!=="inherit"&&e.typography[t.variant],t.align!=="inherit"&&{textAlign:t.align},t.noWrap&&{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},t.gutterBottom&&{marginBottom:"0.35em"},t.paragraph&&{marginBottom:16})),l8={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},qO={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},ZO=e=>qO[e]||e,bt=y.forwardRef(function(t,n){const o=et({props:t,name:"MuiTypography"}),i=ZO(o.color),a=ev(j({},o,{color:i})),{align:c="inherit",className:u,component:f,gutterBottom:p=!1,noWrap:h=!1,paragraph:m=!1,variant:P="body1",variantMapping:H=l8}=a,g=Oe(a,JO),w=j({},a,{align:c,color:i,className:u,component:f,gutterBottom:p,noWrap:h,paragraph:m,variant:P,variantMapping:H}),x=f||(m?"p":H[P]||l8[P])||"span",z=FO(w);return v.jsx(YO,j({as:x,ref:n,ownerState:w,className:ze(z.root,u)},g))});function GO(e){return Ke("MuiAppBar",e)}_e("MuiAppBar",["root","positionFixed","positionAbsolute","positionSticky","positionStatic","positionRelative","colorDefault","colorPrimary","colorSecondary","colorInherit","colorTransparent","colorError","colorInfo","colorSuccess","colorWarning"]);const UO=["className","color","enableColorOnDark","position"],QO=e=>{const{color:t,position:n,classes:o}=e,i={root:["root",`color${Ae(t)}`,`position${Ae(n)}`]};return $e(i,GO,o)},Xd=(e,t)=>e?`${e==null?void 0:e.replace(")","")}, ${t})`:t,KO=ve(Gr,{name:"MuiAppBar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`position${Ae(n.position)}`],t[`color${Ae(n.color)}`]]}})(({theme:e,ownerState:t})=>{const n=e.palette.mode==="light"?e.palette.grey[100]:e.palette.grey[900];return j({display:"flex",flexDirection:"column",width:"100%",boxSizing:"border-box",flexShrink:0},t.position==="fixed"&&{position:"fixed",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0,"@media print":{position:"absolute"}},t.position==="absolute"&&{position:"absolute",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0},t.position==="sticky"&&{position:"sticky",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0},t.position==="static"&&{position:"static"},t.position==="relative"&&{position:"relative"},!e.vars&&j({},t.color==="default"&&{backgroundColor:n,color:e.palette.getContrastText(n)},t.color&&t.color!=="default"&&t.color!=="inherit"&&t.color!=="transparent"&&{backgroundColor:e.palette[t.color].main,color:e.palette[t.color].contrastText},t.color==="inherit"&&{color:"inherit"},e.palette.mode==="dark"&&!t.enableColorOnDark&&{backgroundColor:null,color:null},t.color==="transparent"&&j({backgroundColor:"transparent",color:"inherit"},e.palette.mode==="dark"&&{backgroundImage:"none"})),e.vars&&j({},t.color==="default"&&{"--AppBar-background":t.enableColorOnDark?e.vars.palette.AppBar.defaultBg:Xd(e.vars.palette.AppBar.darkBg,e.vars.palette.AppBar.defaultBg),"--AppBar-color":t.enableColorOnDark?e.vars.palette.text.primary:Xd(e.vars.palette.AppBar.darkColor,e.vars.palette.text.primary)},t.color&&!t.color.match(/^(default|inherit|transparent)$/)&&{"--AppBar-background":t.enableColorOnDark?e.vars.palette[t.color].main:Xd(e.vars.palette.AppBar.darkBg,e.vars.palette[t.color].main),"--AppBar-color":t.enableColorOnDark?e.vars.palette[t.color].contrastText:Xd(e.vars.palette.AppBar.darkColor,e.vars.palette[t.color].contrastText)},{backgroundColor:"var(--AppBar-background)",color:t.color==="inherit"?"inherit":"var(--AppBar-color)"},t.color==="transparent"&&{backgroundImage:"none",backgroundColor:"transparent",color:"inherit"}))}),_O=y.forwardRef(function(t,n){const o=et({props:t,name:"MuiAppBar"}),{className:i,color:a="primary",enableColorOnDark:c=!1,position:u="fixed"}=o,f=Oe(o,UO),p=j({},o,{color:a,position:u,enableColorOnDark:c}),h=QO(p);return v.jsx(KO,j({square:!0,component:"header",ownerState:p,elevation:4,className:ze(h.root,i,u==="fixed"&&"mui-fixed"),ref:n},f))}),V1="base";function $O(e){return`${V1}--${e}`}function eC(e,t){return`${V1}-${e}-${t}`}function I1(e,t){const n=D1[t];return n?$O(n):eC(e,t)}function tC(e,t){const n={};return t.forEach(o=>{n[o]=I1(e,o)}),n}function c8(e){return e.substring(2).toLowerCase()}function nC(e,t){return t.documentElement.clientWidth(setTimeout(()=>{f.current=!0},0),()=>{f.current=!1}),[]);const h=on(t.ref,u),m=ar(g=>{const w=p.current;p.current=!1;const x=Bn(u.current);if(!f.current||!u.current||"clientX"in g&&nC(g,x))return;if(c.current){c.current=!1;return}let z;g.composedPath?z=g.composedPath().indexOf(u.current)>-1:z=!x.documentElement.contains(g.target)||u.current.contains(g.target),!z&&(n||!w)&&i(g)}),P=g=>w=>{p.current=!0;const x=t.props[g];x&&x(w)},H={ref:h};return a!==!1&&(H[a]=P(a)),y.useEffect(()=>{if(a!==!1){const g=c8(a),w=Bn(u.current),x=()=>{c.current=!0};return w.addEventListener(g,m),w.addEventListener("touchmove",x),()=>{w.removeEventListener(g,m),w.removeEventListener("touchmove",x)}}},[m,a]),o!==!1&&(H[o]=P(o)),y.useEffect(()=>{if(o!==!1){const g=c8(o),w=Bn(u.current);return w.addEventListener(g,m),()=>{w.removeEventListener(g,m)}}},[m,o]),v.jsx(y.Fragment,{children:y.cloneElement(t,H)})}const rC=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function oC(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 sC(e){if(e.tagName!=="INPUT"||e.type!=="radio"||!e.name)return!1;const t=o=>e.ownerDocument.querySelector(`input[type="radio"]${o}`);let n=t(`[name="${e.name}"]:checked`);return n||(n=t(`[name="${e.name}"]`)),n!==e}function iC(e){return!(e.disabled||e.tagName==="INPUT"&&e.type==="hidden"||sC(e))}function aC(e){const t=[],n=[];return Array.from(e.querySelectorAll(rC)).forEach((o,i)=>{const a=oC(o);a===-1||!iC(o)||(a===0?t.push(o):n.push({documentOrder:i,tabIndex:a,node:o}))}),n.sort((o,i)=>o.tabIndex===i.tabIndex?o.documentOrder-i.documentOrder:o.tabIndex-i.tabIndex).map(o=>o.node).concat(t)}function lC(){return!0}function cC(e){const{children:t,disableAutoFocus:n=!1,disableEnforceFocus:o=!1,disableRestoreFocus:i=!1,getTabbable:a=aC,isEnabled:c=lC,open:u}=e,f=y.useRef(!1),p=y.useRef(null),h=y.useRef(null),m=y.useRef(null),P=y.useRef(null),H=y.useRef(!1),g=y.useRef(null),w=on(t.ref,g),x=y.useRef(null);y.useEffect(()=>{!u||!g.current||(H.current=!n)},[n,u]),y.useEffect(()=>{if(!u||!g.current)return;const C=Bn(g.current);return g.current.contains(C.activeElement)||(g.current.hasAttribute("tabIndex")||g.current.setAttribute("tabIndex","-1"),H.current&&g.current.focus()),()=>{i||(m.current&&m.current.focus&&(f.current=!0,m.current.focus()),m.current=null)}},[u]),y.useEffect(()=>{if(!u||!g.current)return;const C=Bn(g.current),D=T=>{x.current=T,!(o||!c()||T.key!=="Tab")&&C.activeElement===g.current&&T.shiftKey&&(f.current=!0,h.current&&h.current.focus())},R=()=>{const T=g.current;if(T===null)return;if(!C.hasFocus()||!c()||f.current){f.current=!1;return}if(T.contains(C.activeElement)||o&&C.activeElement!==p.current&&C.activeElement!==h.current)return;if(C.activeElement!==P.current)P.current=null;else if(P.current!==null)return;if(!H.current)return;let L=[];if((C.activeElement===p.current||C.activeElement===h.current)&&(L=a(g.current)),L.length>0){var N,M;const U=!!((N=x.current)!=null&&N.shiftKey&&((M=x.current)==null?void 0:M.key)==="Tab"),I=L[0],W=L[L.length-1];typeof I!="string"&&typeof W!="string"&&(U?W.focus():I.focus())}else T.focus()};C.addEventListener("focusin",R),C.addEventListener("keydown",D,!0);const E=setInterval(()=>{C.activeElement&&C.activeElement.tagName==="BODY"&&R()},50);return()=>{clearInterval(E),C.removeEventListener("focusin",R),C.removeEventListener("keydown",D,!0)}},[n,o,i,c,u,a]);const z=C=>{m.current===null&&(m.current=C.relatedTarget),H.current=!0,P.current=C.target;const D=t.props.onFocus;D&&D(C)},O=C=>{m.current===null&&(m.current=C.relatedTarget),H.current=!0};return v.jsxs(y.Fragment,{children:[v.jsx("div",{tabIndex:u?0:-1,onFocus:O,ref:p,"data-testid":"sentinelStart"}),y.cloneElement(t,{ref:w,onFocus:z}),v.jsx("div",{tabIndex:u?0:-1,onFocus:O,ref:h,"data-testid":"sentinelEnd"})]})}function uC(e){return typeof e=="function"?e():e}const J1=y.forwardRef(function(t,n){const{children:o,container:i,disablePortal:a=!1}=t,[c,u]=y.useState(null),f=on(y.isValidElement(o)?o.ref:null,n);if(Mr(()=>{a||u(uC(i)||document.body)},[i,a]),Mr(()=>{if(c&&!a)return Ju(n,c),()=>{Ju(n,null)}},[n,c,a]),a){if(y.isValidElement(o)){const p={ref:f};return y.cloneElement(o,p)}return v.jsx(y.Fragment,{children:o})}return v.jsx(y.Fragment,{children:c&&EP.createPortal(o,c)})});function fC(e){const t=Bn(e);return t.body===e?$o(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}function Ru(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function u8(e){return parseInt($o(e).getComputedStyle(e).paddingRight,10)||0}function dC(e){const n=["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].indexOf(e.tagName)!==-1,o=e.tagName==="INPUT"&&e.getAttribute("type")==="hidden";return n||o}function f8(e,t,n,o,i){const a=[t,n,...o];[].forEach.call(e.children,c=>{const u=a.indexOf(c)===-1,f=!dC(c);u&&f&&Ru(c,i)})}function qm(e,t){let n=-1;return e.some((o,i)=>t(o)?(n=i,!0):!1),n}function pC(e,t){const n=[],o=e.container;if(!t.disableScrollLock){if(fC(o)){const c=k1(Bn(o));n.push({value:o.style.paddingRight,property:"padding-right",el:o}),o.style.paddingRight=`${u8(o)+c}px`;const u=Bn(o).querySelectorAll(".mui-fixed");[].forEach.call(u,f=>{n.push({value:f.style.paddingRight,property:"padding-right",el:f}),f.style.paddingRight=`${u8(f)+c}px`})}let a;if(o.parentNode instanceof DocumentFragment)a=Bn(o).body;else{const c=o.parentElement,u=$o(o);a=(c==null?void 0:c.nodeName)==="HTML"&&u.getComputedStyle(c).overflowY==="scroll"?c:o}n.push({value:a.style.overflow,property:"overflow",el:a},{value:a.style.overflowX,property:"overflow-x",el:a},{value:a.style.overflowY,property:"overflow-y",el:a}),a.style.overflow="hidden"}return()=>{n.forEach(({value:a,el:c,property:u})=>{a?c.style.setProperty(u,a):c.style.removeProperty(u)})}}function vC(e){const t=[];return[].forEach.call(e.children,n=>{n.getAttribute("aria-hidden")==="true"&&t.push(n)}),t}class hC{constructor(){this.containers=void 0,this.modals=void 0,this.modals=[],this.containers=[]}add(t,n){let o=this.modals.indexOf(t);if(o!==-1)return o;o=this.modals.length,this.modals.push(t),t.modalRef&&Ru(t.modalRef,!1);const i=vC(n);f8(n,t.mount,t.modalRef,i,!0);const a=qm(this.containers,c=>c.container===n);return a!==-1?(this.containers[a].modals.push(t),o):(this.containers.push({modals:[t],container:n,restore:null,hiddenSiblings:i}),o)}mount(t,n){const o=qm(this.containers,a=>a.modals.indexOf(t)!==-1),i=this.containers[o];i.restore||(i.restore=pC(i,n))}remove(t,n=!0){const o=this.modals.indexOf(t);if(o===-1)return o;const i=qm(this.containers,c=>c.modals.indexOf(t)!==-1),a=this.containers[i];if(a.modals.splice(a.modals.indexOf(t),1),this.modals.splice(o,1),a.modals.length===0)a.restore&&a.restore(),t.modalRef&&Ru(t.modalRef,n),f8(a.container,t.mount,t.modalRef,a.hiddenSiblings,!1),this.containers.splice(i,1);else{const c=a.modals[a.modals.length-1];c.modalRef&&Ru(c.modalRef,!1)}return o}isTopModal(t){return this.modals.length>0&&this.modals[this.modals.length-1]===t}}function mC(e){return typeof e=="function"?e():e}function AC(e){return e?e.props.hasOwnProperty("in"):!1}const PC=new hC;function gC(e){const{container:t,disableEscapeKeyDown:n=!1,disableScrollLock:o=!1,manager:i=PC,closeAfterTransition:a=!1,onTransitionEnter:c,onTransitionExited:u,children:f,onClose:p,open:h,rootRef:m}=e,P=y.useRef({}),H=y.useRef(null),g=y.useRef(null),w=on(g,m),[x,z]=y.useState(!h),O=AC(f);let C=!0;(e["aria-hidden"]==="false"||e["aria-hidden"]===!1)&&(C=!1);const D=()=>Bn(H.current),R=()=>(P.current.modalRef=g.current,P.current.mount=H.current,P.current),E=()=>{i.mount(R(),{disableScrollLock:o}),g.current&&(g.current.scrollTop=0)},T=ar(()=>{const ie=mC(t)||D().body;i.add(R(),ie),g.current&&E()}),L=y.useCallback(()=>i.isTopModal(R()),[i]),N=ar(ie=>{H.current=ie,ie&&(h&&L()?E():g.current&&Ru(g.current,C))}),M=y.useCallback(()=>{i.remove(R(),C)},[C,i]);y.useEffect(()=>()=>{M()},[M]),y.useEffect(()=>{h?T():(!O||!a)&&M()},[h,M,O,a,T]);const U=ie=>te=>{var J;(J=ie.onKeyDown)==null||J.call(ie,te),!(te.key!=="Escape"||te.which===229||!L())&&(n||(te.stopPropagation(),p&&p(te,"escapeKeyDown")))},I=ie=>te=>{var J;(J=ie.onClick)==null||J.call(ie,te),te.target===te.currentTarget&&p&&p(te,"backdropClick")};return{getRootProps:(ie={})=>{const te=xp(e);delete te.onTransitionEnter,delete te.onTransitionExited;const J=j({},te,ie);return j({role:"presentation"},J,{onKeyDown:U(J),ref:w})},getBackdropProps:(ie={})=>{const te=ie;return j({"aria-hidden":!0},te,{onClick:I(te),open:h})},getTransitionProps:()=>{const ie=()=>{z(!1),c&&c()},te=()=>{z(!0),u&&u(),a&&M()};return{onEnter:gp(ie,f==null?void 0:f.props.onEnter),onExited:gp(te,f==null?void 0:f.props.onExited)}},rootRef:w,portalRef:N,isTopModal:L,exited:x,hasTransition:O}}var Rr="top",fo="bottom",po="right",Dr="left",NP="auto",uf=[Rr,fo,po,Dr],ml="start",Fu="end",yC="clippingParents",F1="viewport",Pc="popper",bC="reference",d8=uf.reduce(function(e,t){return e.concat([t+"-"+ml,t+"-"+Fu])},[]),Y1=[].concat(uf,[NP]).reduce(function(e,t){return e.concat([t,t+"-"+ml,t+"-"+Fu])},[]),xC="beforeRead",wC="read",HC="afterRead",jC="beforeMain",zC="main",OC="afterMain",CC="beforeWrite",RC="write",DC="afterWrite",SC=[xC,wC,HC,jC,zC,OC,CC,RC,DC];function ts(e){return e?(e.nodeName||"").toLowerCase():null}function Ur(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function ea(e){var t=Ur(e).Element;return e instanceof t||e instanceof Element}function uo(e){var t=Ur(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function BP(e){if(typeof ShadowRoot>"u")return!1;var t=Ur(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function TC(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var o=t.styles[n]||{},i=t.attributes[n]||{},a=t.elements[n];!uo(a)||!ts(a)||(Object.assign(a.style,o),Object.keys(i).forEach(function(c){var u=i[c];u===!1?a.removeAttribute(c):a.setAttribute(c,u===!0?"":u)}))})}function EC(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(o){var i=t.elements[o],a=t.attributes[o]||{},c=Object.keys(t.styles.hasOwnProperty(o)?t.styles[o]:n[o]),u=c.reduce(function(f,p){return f[p]="",f},{});!uo(i)||!ts(i)||(Object.assign(i.style,u),Object.keys(a).forEach(function(f){i.removeAttribute(f)}))})}}const kC={name:"applyStyles",enabled:!0,phase:"write",fn:TC,effect:EC,requires:["computeStyles"]};function Ko(e){return e.split("-")[0]}var Gi=Math.max,wp=Math.min,Al=Math.round;function SA(){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 q1(){return!/^((?!chrome|android).)*safari/i.test(SA())}function Pl(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var o=e.getBoundingClientRect(),i=1,a=1;t&&uo(e)&&(i=e.offsetWidth>0&&Al(o.width)/e.offsetWidth||1,a=e.offsetHeight>0&&Al(o.height)/e.offsetHeight||1);var c=ea(e)?Ur(e):window,u=c.visualViewport,f=!q1()&&n,p=(o.left+(f&&u?u.offsetLeft:0))/i,h=(o.top+(f&&u?u.offsetTop:0))/a,m=o.width/i,P=o.height/a;return{width:m,height:P,top:h,right:p+m,bottom:h+P,left:p,x:p,y:h}}function VP(e){var t=Pl(e),n=e.offsetWidth,o=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-o)<=1&&(o=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:o}}function Z1(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&BP(n)){var o=t;do{if(o&&e.isSameNode(o))return!0;o=o.parentNode||o.host}while(o)}return!1}function js(e){return Ur(e).getComputedStyle(e)}function MC(e){return["table","td","th"].indexOf(ts(e))>=0}function vi(e){return((ea(e)?e.ownerDocument:e.document)||window.document).documentElement}function cv(e){return ts(e)==="html"?e:e.assignedSlot||e.parentNode||(BP(e)?e.host:null)||vi(e)}function p8(e){return!uo(e)||js(e).position==="fixed"?null:e.offsetParent}function LC(e){var t=/firefox/i.test(SA()),n=/Trident/i.test(SA());if(n&&uo(e)){var o=js(e);if(o.position==="fixed")return null}var i=cv(e);for(BP(i)&&(i=i.host);uo(i)&&["html","body"].indexOf(ts(i))<0;){var a=js(i);if(a.transform!=="none"||a.perspective!=="none"||a.contain==="paint"||["transform","perspective"].indexOf(a.willChange)!==-1||t&&a.willChange==="filter"||t&&a.filter&&a.filter!=="none")return i;i=i.parentNode}return null}function ff(e){for(var t=Ur(e),n=p8(e);n&&MC(n)&&js(n).position==="static";)n=p8(n);return n&&(ts(n)==="html"||ts(n)==="body"&&js(n).position==="static")?t:n||LC(e)||t}function IP(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Du(e,t,n){return Gi(e,wp(t,n))}function XC(e,t,n){var o=Du(e,t,n);return o>n?n:o}function G1(){return{top:0,right:0,bottom:0,left:0}}function U1(e){return Object.assign({},G1(),e)}function Q1(e,t){return t.reduce(function(n,o){return n[o]=e,n},{})}var NC=function(t,n){return t=typeof t=="function"?t(Object.assign({},n.rects,{placement:n.placement})):t,U1(typeof t!="number"?t:Q1(t,uf))};function BC(e){var t,n=e.state,o=e.name,i=e.options,a=n.elements.arrow,c=n.modifiersData.popperOffsets,u=Ko(n.placement),f=IP(u),p=[Dr,po].indexOf(u)>=0,h=p?"height":"width";if(!(!a||!c)){var m=NC(i.padding,n),P=VP(a),H=f==="y"?Rr:Dr,g=f==="y"?fo:po,w=n.rects.reference[h]+n.rects.reference[f]-c[f]-n.rects.popper[h],x=c[f]-n.rects.reference[f],z=ff(a),O=z?f==="y"?z.clientHeight||0:z.clientWidth||0:0,C=w/2-x/2,D=m[H],R=O-P[h]-m[g],E=O/2-P[h]/2+C,T=Du(D,E,R),L=f;n.modifiersData[o]=(t={},t[L]=T,t.centerOffset=T-E,t)}}function VC(e){var t=e.state,n=e.options,o=n.element,i=o===void 0?"[data-popper-arrow]":o;i!=null&&(typeof i=="string"&&(i=t.elements.popper.querySelector(i),!i)||Z1(t.elements.popper,i)&&(t.elements.arrow=i))}const IC={name:"arrow",enabled:!0,phase:"main",fn:BC,effect:VC,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function gl(e){return e.split("-")[1]}var WC={top:"auto",right:"auto",bottom:"auto",left:"auto"};function JC(e,t){var n=e.x,o=e.y,i=t.devicePixelRatio||1;return{x:Al(n*i)/i||0,y:Al(o*i)/i||0}}function v8(e){var t,n=e.popper,o=e.popperRect,i=e.placement,a=e.variation,c=e.offsets,u=e.position,f=e.gpuAcceleration,p=e.adaptive,h=e.roundOffsets,m=e.isFixed,P=c.x,H=P===void 0?0:P,g=c.y,w=g===void 0?0:g,x=typeof h=="function"?h({x:H,y:w}):{x:H,y:w};H=x.x,w=x.y;var z=c.hasOwnProperty("x"),O=c.hasOwnProperty("y"),C=Dr,D=Rr,R=window;if(p){var E=ff(n),T="clientHeight",L="clientWidth";if(E===Ur(n)&&(E=vi(n),js(E).position!=="static"&&u==="absolute"&&(T="scrollHeight",L="scrollWidth")),E=E,i===Rr||(i===Dr||i===po)&&a===Fu){D=fo;var N=m&&E===R&&R.visualViewport?R.visualViewport.height:E[T];w-=N-o.height,w*=f?1:-1}if(i===Dr||(i===Rr||i===fo)&&a===Fu){C=po;var M=m&&E===R&&R.visualViewport?R.visualViewport.width:E[L];H-=M-o.width,H*=f?1:-1}}var U=Object.assign({position:u},p&&WC),I=h===!0?JC({x:H,y:w},Ur(n)):{x:H,y:w};if(H=I.x,w=I.y,f){var W;return Object.assign({},U,(W={},W[D]=O?"0":"",W[C]=z?"0":"",W.transform=(R.devicePixelRatio||1)<=1?"translate("+H+"px, "+w+"px)":"translate3d("+H+"px, "+w+"px, 0)",W))}return Object.assign({},U,(t={},t[D]=O?w+"px":"",t[C]=z?H+"px":"",t.transform="",t))}function FC(e){var t=e.state,n=e.options,o=n.gpuAcceleration,i=o===void 0?!0:o,a=n.adaptive,c=a===void 0?!0:a,u=n.roundOffsets,f=u===void 0?!0:u,p={placement:Ko(t.placement),variation:gl(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:i,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,v8(Object.assign({},p,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:c,roundOffsets:f})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,v8(Object.assign({},p,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:f})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const YC={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:FC,data:{}};var Nd={passive:!0};function qC(e){var t=e.state,n=e.instance,o=e.options,i=o.scroll,a=i===void 0?!0:i,c=o.resize,u=c===void 0?!0:c,f=Ur(t.elements.popper),p=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&p.forEach(function(h){h.addEventListener("scroll",n.update,Nd)}),u&&f.addEventListener("resize",n.update,Nd),function(){a&&p.forEach(function(h){h.removeEventListener("scroll",n.update,Nd)}),u&&f.removeEventListener("resize",n.update,Nd)}}const ZC={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:qC,data:{}};var GC={left:"right",right:"left",bottom:"top",top:"bottom"};function op(e){return e.replace(/left|right|bottom|top/g,function(t){return GC[t]})}var UC={start:"end",end:"start"};function h8(e){return e.replace(/start|end/g,function(t){return UC[t]})}function WP(e){var t=Ur(e),n=t.pageXOffset,o=t.pageYOffset;return{scrollLeft:n,scrollTop:o}}function JP(e){return Pl(vi(e)).left+WP(e).scrollLeft}function QC(e,t){var n=Ur(e),o=vi(e),i=n.visualViewport,a=o.clientWidth,c=o.clientHeight,u=0,f=0;if(i){a=i.width,c=i.height;var p=q1();(p||!p&&t==="fixed")&&(u=i.offsetLeft,f=i.offsetTop)}return{width:a,height:c,x:u+JP(e),y:f}}function KC(e){var t,n=vi(e),o=WP(e),i=(t=e.ownerDocument)==null?void 0:t.body,a=Gi(n.scrollWidth,n.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),c=Gi(n.scrollHeight,n.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),u=-o.scrollLeft+JP(e),f=-o.scrollTop;return js(i||n).direction==="rtl"&&(u+=Gi(n.clientWidth,i?i.clientWidth:0)-a),{width:a,height:c,x:u,y:f}}function FP(e){var t=js(e),n=t.overflow,o=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+o)}function K1(e){return["html","body","#document"].indexOf(ts(e))>=0?e.ownerDocument.body:uo(e)&&FP(e)?e:K1(cv(e))}function Su(e,t){var n;t===void 0&&(t=[]);var o=K1(e),i=o===((n=e.ownerDocument)==null?void 0:n.body),a=Ur(o),c=i?[a].concat(a.visualViewport||[],FP(o)?o:[]):o,u=t.concat(c);return i?u:u.concat(Su(cv(c)))}function TA(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function _C(e,t){var n=Pl(e,!1,t==="fixed");return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}function m8(e,t,n){return t===F1?TA(QC(e,n)):ea(t)?_C(t,n):TA(KC(vi(e)))}function $C(e){var t=Su(cv(e)),n=["absolute","fixed"].indexOf(js(e).position)>=0,o=n&&uo(e)?ff(e):e;return ea(o)?t.filter(function(i){return ea(i)&&Z1(i,o)&&ts(i)!=="body"}):[]}function eR(e,t,n,o){var i=t==="clippingParents"?$C(e):[].concat(t),a=[].concat(i,[n]),c=a[0],u=a.reduce(function(f,p){var h=m8(e,p,o);return f.top=Gi(h.top,f.top),f.right=wp(h.right,f.right),f.bottom=wp(h.bottom,f.bottom),f.left=Gi(h.left,f.left),f},m8(e,c,o));return u.width=u.right-u.left,u.height=u.bottom-u.top,u.x=u.left,u.y=u.top,u}function _1(e){var t=e.reference,n=e.element,o=e.placement,i=o?Ko(o):null,a=o?gl(o):null,c=t.x+t.width/2-n.width/2,u=t.y+t.height/2-n.height/2,f;switch(i){case Rr:f={x:c,y:t.y-n.height};break;case fo:f={x:c,y:t.y+t.height};break;case po:f={x:t.x+t.width,y:u};break;case Dr:f={x:t.x-n.width,y:u};break;default:f={x:t.x,y:t.y}}var p=i?IP(i):null;if(p!=null){var h=p==="y"?"height":"width";switch(a){case ml:f[p]=f[p]-(t[h]/2-n[h]/2);break;case Fu:f[p]=f[p]+(t[h]/2-n[h]/2);break}}return f}function Yu(e,t){t===void 0&&(t={});var n=t,o=n.placement,i=o===void 0?e.placement:o,a=n.strategy,c=a===void 0?e.strategy:a,u=n.boundary,f=u===void 0?yC:u,p=n.rootBoundary,h=p===void 0?F1:p,m=n.elementContext,P=m===void 0?Pc:m,H=n.altBoundary,g=H===void 0?!1:H,w=n.padding,x=w===void 0?0:w,z=U1(typeof x!="number"?x:Q1(x,uf)),O=P===Pc?bC:Pc,C=e.rects.popper,D=e.elements[g?O:P],R=eR(ea(D)?D:D.contextElement||vi(e.elements.popper),f,h,c),E=Pl(e.elements.reference),T=_1({reference:E,element:C,strategy:"absolute",placement:i}),L=TA(Object.assign({},C,T)),N=P===Pc?L:E,M={top:R.top-N.top+z.top,bottom:N.bottom-R.bottom+z.bottom,left:R.left-N.left+z.left,right:N.right-R.right+z.right},U=e.modifiersData.offset;if(P===Pc&&U){var I=U[i];Object.keys(M).forEach(function(W){var oe=[po,fo].indexOf(W)>=0?1:-1,q=[Rr,fo].indexOf(W)>=0?"y":"x";M[W]+=I[q]*oe})}return M}function tR(e,t){t===void 0&&(t={});var n=t,o=n.placement,i=n.boundary,a=n.rootBoundary,c=n.padding,u=n.flipVariations,f=n.allowedAutoPlacements,p=f===void 0?Y1:f,h=gl(o),m=h?u?d8:d8.filter(function(g){return gl(g)===h}):uf,P=m.filter(function(g){return p.indexOf(g)>=0});P.length===0&&(P=m);var H=P.reduce(function(g,w){return g[w]=Yu(e,{placement:w,boundary:i,rootBoundary:a,padding:c})[Ko(w)],g},{});return Object.keys(H).sort(function(g,w){return H[g]-H[w]})}function nR(e){if(Ko(e)===NP)return[];var t=op(e);return[h8(e),t,h8(t)]}function rR(e){var t=e.state,n=e.options,o=e.name;if(!t.modifiersData[o]._skip){for(var i=n.mainAxis,a=i===void 0?!0:i,c=n.altAxis,u=c===void 0?!0:c,f=n.fallbackPlacements,p=n.padding,h=n.boundary,m=n.rootBoundary,P=n.altBoundary,H=n.flipVariations,g=H===void 0?!0:H,w=n.allowedAutoPlacements,x=t.options.placement,z=Ko(x),O=z===x,C=f||(O||!g?[op(x)]:nR(x)),D=[x].concat(C).reduce(function(_,de){return _.concat(Ko(de)===NP?tR(t,{placement:de,boundary:h,rootBoundary:m,padding:p,flipVariations:g,allowedAutoPlacements:w}):de)},[]),R=t.rects.reference,E=t.rects.popper,T=new Map,L=!0,N=D[0],M=0;M=0,q=oe?"width":"height",ie=Yu(t,{placement:U,boundary:h,rootBoundary:m,altBoundary:P,padding:p}),te=oe?W?po:Dr:W?fo:Rr;R[q]>E[q]&&(te=op(te));var J=op(te),K=[];if(a&&K.push(ie[I]<=0),u&&K.push(ie[te]<=0,ie[J]<=0),K.every(function(_){return _})){N=U,L=!1;break}T.set(U,K)}if(L)for(var k=g?3:1,ne=function(de){var ue=D.find(function(we){var pe=T.get(we);if(pe)return pe.slice(0,de).every(function(me){return me})});if(ue)return N=ue,"break"},X=k;X>0;X--){var se=ne(X);if(se==="break")break}t.placement!==N&&(t.modifiersData[o]._skip=!0,t.placement=N,t.reset=!0)}}const oR={name:"flip",enabled:!0,phase:"main",fn:rR,requiresIfExists:["offset"],data:{_skip:!1}};function A8(e,t,n){return n===void 0&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function P8(e){return[Rr,po,fo,Dr].some(function(t){return e[t]>=0})}function sR(e){var t=e.state,n=e.name,o=t.rects.reference,i=t.rects.popper,a=t.modifiersData.preventOverflow,c=Yu(t,{elementContext:"reference"}),u=Yu(t,{altBoundary:!0}),f=A8(c,o),p=A8(u,i,a),h=P8(f),m=P8(p);t.modifiersData[n]={referenceClippingOffsets:f,popperEscapeOffsets:p,isReferenceHidden:h,hasPopperEscaped:m},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":h,"data-popper-escaped":m})}const iR={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:sR};function aR(e,t,n){var o=Ko(e),i=[Dr,Rr].indexOf(o)>=0?-1:1,a=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,c=a[0],u=a[1];return c=c||0,u=(u||0)*i,[Dr,po].indexOf(o)>=0?{x:u,y:c}:{x:c,y:u}}function lR(e){var t=e.state,n=e.options,o=e.name,i=n.offset,a=i===void 0?[0,0]:i,c=Y1.reduce(function(h,m){return h[m]=aR(m,t.rects,a),h},{}),u=c[t.placement],f=u.x,p=u.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=f,t.modifiersData.popperOffsets.y+=p),t.modifiersData[o]=c}const cR={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:lR};function uR(e){var t=e.state,n=e.name;t.modifiersData[n]=_1({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}const fR={name:"popperOffsets",enabled:!0,phase:"read",fn:uR,data:{}};function dR(e){return e==="x"?"y":"x"}function pR(e){var t=e.state,n=e.options,o=e.name,i=n.mainAxis,a=i===void 0?!0:i,c=n.altAxis,u=c===void 0?!1:c,f=n.boundary,p=n.rootBoundary,h=n.altBoundary,m=n.padding,P=n.tether,H=P===void 0?!0:P,g=n.tetherOffset,w=g===void 0?0:g,x=Yu(t,{boundary:f,rootBoundary:p,padding:m,altBoundary:h}),z=Ko(t.placement),O=gl(t.placement),C=!O,D=IP(z),R=dR(D),E=t.modifiersData.popperOffsets,T=t.rects.reference,L=t.rects.popper,N=typeof w=="function"?w(Object.assign({},t.rects,{placement:t.placement})):w,M=typeof N=="number"?{mainAxis:N,altAxis:N}:Object.assign({mainAxis:0,altAxis:0},N),U=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,I={x:0,y:0};if(E){if(a){var W,oe=D==="y"?Rr:Dr,q=D==="y"?fo:po,ie=D==="y"?"height":"width",te=E[D],J=te+x[oe],K=te-x[q],k=H?-L[ie]/2:0,ne=O===ml?T[ie]:L[ie],X=O===ml?-L[ie]:-T[ie],se=t.elements.arrow,_=H&&se?VP(se):{width:0,height:0},de=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:G1(),ue=de[oe],we=de[q],pe=Du(0,T[ie],_[ie]),me=C?T[ie]/2-k-pe-ue-M.mainAxis:ne-pe-ue-M.mainAxis,it=C?-T[ie]/2+k+pe+we+M.mainAxis:X+pe+we+M.mainAxis,We=t.elements.arrow&&ff(t.elements.arrow),Xe=We?D==="y"?We.clientTop||0:We.clientLeft||0:0,Be=(W=U==null?void 0:U[D])!=null?W:0,Re=te+me-Be-Xe,rt=te+it-Be,Ve=Du(H?wp(J,Re):J,te,H?Gi(K,rt):K);E[D]=Ve,I[D]=Ve-te}if(u){var jt,B=D==="x"?Rr:Dr,re=D==="x"?fo:po,ae=E[R],ge=R==="y"?"height":"width",ye=ae+x[B],Pe=ae-x[re],xe=[Rr,Dr].indexOf(z)!==-1,Ze=(jt=U==null?void 0:U[R])!=null?jt:0,Pt=xe?ye:ae-T[ge]-L[ge]-Ze+M.altAxis,mt=xe?ae+T[ge]+L[ge]-Ze-M.altAxis:Pe,Ue=H&&xe?XC(Pt,ae,mt):Du(H?Pt:ye,ae,H?mt:Pe);E[R]=Ue,I[R]=Ue-ae}t.modifiersData[o]=I}}const vR={name:"preventOverflow",enabled:!0,phase:"main",fn:pR,requiresIfExists:["offset"]};function hR(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function mR(e){return e===Ur(e)||!uo(e)?WP(e):hR(e)}function AR(e){var t=e.getBoundingClientRect(),n=Al(t.width)/e.offsetWidth||1,o=Al(t.height)/e.offsetHeight||1;return n!==1||o!==1}function PR(e,t,n){n===void 0&&(n=!1);var o=uo(t),i=uo(t)&&AR(t),a=vi(t),c=Pl(e,i,n),u={scrollLeft:0,scrollTop:0},f={x:0,y:0};return(o||!o&&!n)&&((ts(t)!=="body"||FP(a))&&(u=mR(t)),uo(t)?(f=Pl(t,!0),f.x+=t.clientLeft,f.y+=t.clientTop):a&&(f.x=JP(a))),{x:c.left+u.scrollLeft-f.x,y:c.top+u.scrollTop-f.y,width:c.width,height:c.height}}function gR(e){var t=new Map,n=new Set,o=[];e.forEach(function(a){t.set(a.name,a)});function i(a){n.add(a.name);var c=[].concat(a.requires||[],a.requiresIfExists||[]);c.forEach(function(u){if(!n.has(u)){var f=t.get(u);f&&i(f)}}),o.push(a)}return e.forEach(function(a){n.has(a.name)||i(a)}),o}function yR(e){var t=gR(e);return SC.reduce(function(n,o){return n.concat(t.filter(function(i){return i.phase===o}))},[])}function bR(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function xR(e){var t=e.reduce(function(n,o){var i=n[o.name];return n[o.name]=i?Object.assign({},i,o,{options:Object.assign({},i.options,o.options),data:Object.assign({},i.data,o.data)}):o,n},{});return Object.keys(t).map(function(n){return t[n]})}var g8={placement:"bottom",modifiers:[],strategy:"absolute"};function y8(){for(var e=arguments.length,t=new Array(e),n=0;n$e({root:["root"]},cO(zR)),TR={},ER=y.forwardRef(function(t,n){var o;const{anchorEl:i,children:a,direction:c,disablePortal:u,modifiers:f,open:p,placement:h,popperOptions:m,popperRef:P,slotProps:H={},slots:g={},TransitionProps:w}=t,x=Oe(t,OR),z=y.useRef(null),O=on(z,n),C=y.useRef(null),D=on(C,P),R=y.useRef(D);Mr(()=>{R.current=D},[D]),y.useImperativeHandle(P,()=>C.current,[]);const E=RR(h,c),[T,L]=y.useState(E),[N,M]=y.useState(EA(i));y.useEffect(()=>{C.current&&C.current.forceUpdate()}),y.useEffect(()=>{i&&M(EA(i))},[i]),Mr(()=>{if(!N||!p)return;const q=J=>{L(J.placement)};let ie=[{name:"preventOverflow",options:{altBoundary:u}},{name:"flip",options:{altBoundary:u}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:J})=>{q(J)}}];f!=null&&(ie=ie.concat(f)),m&&m.modifiers!=null&&(ie=ie.concat(m.modifiers));const te=jR(N,z.current,j({placement:E},m,{modifiers:ie}));return R.current(te),()=>{te.destroy(),R.current(null)}},[N,u,f,p,m,E]);const U={placement:T};w!==null&&(U.TransitionProps=w);const I=SR(),W=(o=g.root)!=null?o:"div",oe=fi({elementType:W,externalSlotProps:H.root,externalForwardedProps:x,additionalProps:{role:"tooltip",ref:O},ownerState:t,className:I.root});return v.jsx(W,j({},oe,{children:typeof a=="function"?a(U):a}))}),kR=y.forwardRef(function(t,n){const{anchorEl:o,children:i,container:a,direction:c="ltr",disablePortal:u=!1,keepMounted:f=!1,modifiers:p,open:h,placement:m="bottom",popperOptions:P=TR,popperRef:H,style:g,transition:w=!1,slotProps:x={},slots:z={}}=t,O=Oe(t,CR),[C,D]=y.useState(!0),R=()=>{D(!1)},E=()=>{D(!0)};if(!f&&!h&&(!w||C))return null;let T;if(a)T=a;else if(o){const M=EA(o);T=M&&DR(M)?Bn(M).body:Bn(null).body}const L=!h&&f&&(!w||C)?"none":void 0,N=w?{in:h,onEnter:R,onExited:E}:void 0;return v.jsx(J1,{disablePortal:u,container:T,children:v.jsx(ER,j({anchorEl:o,direction:c,disablePortal:u,modifiers:p,ref:n,open:w?!C:h,placement:m,popperOptions:P,popperRef:H,slotProps:x,slots:z},O,{style:j({position:"fixed",top:0,left:0,display:L},g),TransitionProps:N,children:i}))})});function MR(e={}){const{autoHideDuration:t=null,disableWindowBlurListener:n=!1,onClose:o,open:i,resumeHideDuration:a}=e,c=Li();y.useEffect(()=>{if(!i)return;function z(O){O.defaultPrevented||(O.key==="Escape"||O.key==="Esc")&&(o==null||o(O,"escapeKeyDown"))}return document.addEventListener("keydown",z),()=>{document.removeEventListener("keydown",z)}},[i,o]);const u=ar((z,O)=>{o==null||o(z,O)}),f=ar(z=>{!o||z==null||c.start(z,()=>{u(null,"timeout")})});y.useEffect(()=>(i&&f(t),c.clear),[i,t,f,c]);const p=z=>{o==null||o(z,"clickaway")},h=c.clear,m=y.useCallback(()=>{t!=null&&f(a??t*.5)},[t,a,f]),P=z=>O=>{const C=z.onBlur;C==null||C(O),m()},H=z=>O=>{const C=z.onFocus;C==null||C(O),h()},g=z=>O=>{const C=z.onMouseEnter;C==null||C(O),h()},w=z=>O=>{const C=z.onMouseLeave;C==null||C(O),m()};return y.useEffect(()=>{if(!n&&i)return window.addEventListener("focus",m),window.addEventListener("blur",h),()=>{window.removeEventListener("focus",m),window.removeEventListener("blur",h)}},[n,i,m,h]),{getRootProps:(z={})=>{const O=j({},xp(e),xp(z));return j({role:"presentation"},z,O,{onBlur:P(O),onFocus:H(O),onMouseEnter:g(O),onMouseLeave:w(O)})},onClickAway:p}}const LR=["onChange","maxRows","minRows","style","value"];function Bd(e){return parseInt(e,10)||0}const XR={shadow:{visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"}};function b8(e){return e==null||Object.keys(e).length===0||e.outerHeightStyle===0&&!e.overflow}const NR=y.forwardRef(function(t,n){const{onChange:o,maxRows:i,minRows:a=1,style:c,value:u}=t,f=Oe(t,LR),{current:p}=y.useRef(u!=null),h=y.useRef(null),m=on(n,h),P=y.useRef(null),H=y.useRef(0),[g,w]=y.useState({outerHeightStyle:0}),x=y.useCallback(()=>{const D=h.current,E=$o(D).getComputedStyle(D);if(E.width==="0px")return{outerHeightStyle:0};const T=P.current;T.style.width=E.width,T.value=D.value||t.placeholder||"x",T.value.slice(-1)===` -`&&(T.value+=" ");const L=E.boxSizing,N=Bd(E.paddingBottom)+Bd(E.paddingTop),M=Bd(E.borderBottomWidth)+Bd(E.borderTopWidth),U=T.scrollHeight;T.value="x";const I=T.scrollHeight;let W=U;a&&(W=Math.max(Number(a)*I,W)),i&&(W=Math.min(Number(i)*I,W)),W=Math.max(W,I);const oe=W+(L==="border-box"?N+M:0),q=Math.abs(W-U)<=1;return{outerHeightStyle:oe,overflow:q}},[i,a,t.placeholder]),z=(D,R)=>{const{outerHeightStyle:E,overflow:T}=R;return H.current<20&&(E>0&&Math.abs((D.outerHeightStyle||0)-E)>1||D.overflow!==T)?(H.current+=1,{overflow:T,outerHeightStyle:E}):D},O=y.useCallback(()=>{const D=x();b8(D)||w(R=>z(R,D))},[x]);Mr(()=>{const D=()=>{const U=x();b8(U)||EP.flushSync(()=>{w(I=>z(I,U))})},R=()=>{H.current=0,D()};let E;const T=rv(R),L=h.current,N=$o(L);N.addEventListener("resize",T);let M;return typeof ResizeObserver<"u"&&(M=new ResizeObserver(R),M.observe(L)),()=>{T.clear(),cancelAnimationFrame(E),N.removeEventListener("resize",T),M&&M.disconnect()}},[x]),Mr(()=>{O()}),y.useEffect(()=>{H.current=0},[u]);const C=D=>{H.current=0,p||O(),o&&o(D)};return v.jsxs(y.Fragment,{children:[v.jsx("textarea",j({value:u,onChange:C,ref:m,rows:a,style:j({height:g.outerHeightStyle,overflow:g.overflow?"hidden":void 0},c)},f)),v.jsx("textarea",{"aria-hidden":!0,className:t.className,readOnly:!0,ref:P,tabIndex:-1,style:j({},XR.shadow,c,{paddingTop:0,paddingBottom:0})})]})});function x8(e){return typeof e.normalize<"u"?e.normalize("NFD").replace(/[\u0300-\u036f]/g,""):e}function BR(e={}){const{ignoreAccents:t=!0,ignoreCase:n=!0,limit:o,matchFrom:i="any",stringify:a,trim:c=!1}=e;return(u,{inputValue:f,getOptionLabel:p})=>{let h=c?f.trim():f;n&&(h=h.toLowerCase()),t&&(h=x8(h));const m=h?u.filter(P=>{let H=(a||p)(P);return n&&(H=H.toLowerCase()),t&&(H=x8(H)),i==="start"?H.indexOf(h)===0:H.indexOf(h)>-1}):u;return typeof o=="number"?m.slice(0,o):m}}function Zm(e,t){for(let n=0;n{var t;return e.current!==null&&((t=e.current.parentElement)==null?void 0:t.contains(document.activeElement))};function WR(e){const{unstable_isActiveElementInListbox:t=IR,unstable_classNamePrefix:n="Mui",autoComplete:o=!1,autoHighlight:i=!1,autoSelect:a=!1,blurOnSelect:c=!1,clearOnBlur:u=!e.freeSolo,clearOnEscape:f=!1,componentName:p="useAutocomplete",defaultValue:h=e.multiple?[]:null,disableClearable:m=!1,disableCloseOnSelect:P=!1,disabled:H,disabledItemsFocusable:g=!1,disableListWrap:w=!1,filterOptions:x=VR,filterSelectedOptions:z=!1,freeSolo:O=!1,getOptionDisabled:C,getOptionKey:D,getOptionLabel:R=ee=>{var $;return($=ee.label)!=null?$:ee},groupBy:E,handleHomeEndKeys:T=!e.freeSolo,id:L,includeInputInList:N=!1,inputValue:M,isOptionEqualToValue:U=(ee,$)=>ee===$,multiple:I=!1,onChange:W,onClose:oe,onHighlightChange:q,onInputChange:ie,onOpen:te,open:J,openOnFocus:K=!1,options:k,readOnly:ne=!1,selectOnFocus:X=!e.freeSolo,value:se}=e,_=es(L);let de=R;de=ee=>{const $=R(ee);return typeof $!="string"?String($):$};const ue=y.useRef(!1),we=y.useRef(!0),pe=y.useRef(null),me=y.useRef(null),[it,We]=y.useState(null),[Xe,Be]=y.useState(-1),Re=i?0:-1,rt=y.useRef(Re),[Ve,jt]=xs({controlled:se,default:h,name:p}),[B,re]=xs({controlled:M,default:"",name:p,state:"inputValue"}),[ae,ge]=y.useState(!1),ye=y.useCallback((ee,$)=>{if(!(I?Ve.length<$.length:$!==null)&&!u)return;let Ie;if(I)Ie="";else if($==null)Ie="";else{const ct=de($);Ie=typeof ct=="string"?ct:""}B!==Ie&&(re(Ie),ie&&ie(ee,Ie,"reset"))},[de,B,I,ie,re,u,Ve]),[Pe,xe]=xs({controlled:J,default:!1,name:p,state:"open"}),[Ze,Pt]=y.useState(!0),mt=!I&&Ve!=null&&B===de(Ve),Ue=Pe&&!ne,Le=Ue?x(k.filter(ee=>!(z&&(I?Ve:[Ve]).some($=>$!==null&&U(ee,$)))),{inputValue:mt&&Ze?"":B,getOptionLabel:de}):[],gt=Qj({filteredOptions:Le,value:Ve,inputValue:B});y.useEffect(()=>{const ee=Ve!==gt.value;ae&&!ee||O&&!ee||ye(null,Ve)},[Ve,ye,ae,gt.value,O]);const Mt=Pe&&Le.length>0&&!ne,_t=ar(ee=>{ee===-1?pe.current.focus():it.querySelector(`[data-tag-index="${ee}"]`).focus()});y.useEffect(()=>{I&&Xe>Ve.length-1&&(Be(-1),_t(-1))},[Ve,I,Xe,_t]);function Fe(ee,$){if(!me.current||ee<0||ee>=Le.length)return-1;let He=ee;for(;;){const Ie=me.current.querySelector(`[data-option-index="${He}"]`),ct=g?!1:!Ie||Ie.disabled||Ie.getAttribute("aria-disabled")==="true";if(Ie&&Ie.hasAttribute("tabindex")&&!ct)return He;if($==="next"?He=(He+1)%Le.length:He=(He-1+Le.length)%Le.length,He===ee)return-1}}const At=ar(({event:ee,index:$,reason:He="auto"})=>{if(rt.current=$,$===-1?pe.current.removeAttribute("aria-activedescendant"):pe.current.setAttribute("aria-activedescendant",`${_}-option-${$}`),q&&q(ee,$===-1?null:Le[$],He),!me.current)return;const Ie=me.current.querySelector(`[role="option"].${n}-focused`);Ie&&(Ie.classList.remove(`${n}-focused`),Ie.classList.remove(`${n}-focusVisible`));let ct=me.current;if(me.current.getAttribute("role")!=="listbox"&&(ct=me.current.parentElement.querySelector('[role="listbox"]')),!ct)return;if($===-1){ct.scrollTop=0;return}const Wt=me.current.querySelector(`[data-option-index="${$}"]`);if(Wt&&(Wt.classList.add(`${n}-focused`),He==="keyboard"&&Wt.classList.add(`${n}-focusVisible`),ct.scrollHeight>ct.clientHeight&&He!=="mouse"&&He!=="touch")){const tn=Wt,ut=ct.clientHeight+ct.scrollTop,An=tn.offsetTop+tn.offsetHeight;An>ut?ct.scrollTop=An-ct.clientHeight:tn.offsetTop-tn.offsetHeight*(E?1.3:0){if(!Ue)return;const Wt=Fe((()=>{const tn=Le.length-1;if($==="reset")return Re;if($==="start")return 0;if($==="end")return tn;const ut=rt.current+$;return ut<0?ut===-1&&N?-1:w&&rt.current!==-1||Math.abs($)>1?0:tn:ut>tn?ut===tn+1&&N?-1:w||Math.abs($)>1?tn:0:ut})(),He);if(At({index:Wt,reason:Ie,event:ee}),o&&$!=="reset")if(Wt===-1)pe.current.value=B;else{const tn=de(Le[Wt]);pe.current.value=tn,tn.toLowerCase().indexOf(B.toLowerCase())===0&&B.length>0&&pe.current.setSelectionRange(B.length,tn.length)}}),Z=()=>{const ee=($,He)=>{const Ie=$?de($):"",ct=He?de(He):"";return Ie===ct};if(rt.current!==-1&>.filteredOptions&>.filteredOptions.length!==Le.length&>.inputValue===B&&(I?Ve.length===gt.value.length&>.value.every(($,He)=>de(Ve[He])===de($)):ee(gt.value,Ve))){const $=gt.filteredOptions[rt.current];if($&&Le.some(Ie=>de(Ie)===de($)))return!0}return!1},be=y.useCallback(()=>{if(!Ue||Z())return;const ee=I?Ve[0]:Ve;if(Le.length===0||ee==null){G({diff:"reset"});return}if(me.current){if(ee!=null){const $=Le[rt.current];if(I&&$&&Zm(Ve,Ie=>U($,Ie))!==-1)return;const He=Zm(Le,Ie=>U(Ie,ee));He===-1?G({diff:"reset"}):At({index:He});return}if(rt.current>=Le.length-1){At({index:Le.length-1});return}At({index:rt.current})}},[Le.length,I?!1:Ve,z,G,At,Ue,B,I]),ke=ar(ee=>{Ju(me,ee),ee&&be()});y.useEffect(()=>{be()},[be]);const De=ee=>{Pe||(xe(!0),Pt(!0),te&&te(ee))},Ne=(ee,$)=>{Pe&&(xe(!1),oe&&oe(ee,$))},Ye=(ee,$,He,Ie)=>{if(I){if(Ve.length===$.length&&Ve.every((ct,Wt)=>ct===$[Wt]))return}else if(Ve===$)return;W&&W(ee,$,He,Ie),jt($)},Te=y.useRef(!1),tt=(ee,$,He="selectOption",Ie="options")=>{let ct=He,Wt=$;if(I){Wt=Array.isArray(Ve)?Ve.slice():[];const tn=Zm(Wt,ut=>U($,ut));tn===-1?Wt.push($):Ie!=="freeSolo"&&(Wt.splice(tn,1),ct="removeOption")}ye(ee,Wt),Ye(ee,Wt,ct,{option:$}),!P&&(!ee||!ee.ctrlKey&&!ee.metaKey)&&Ne(ee,ct),(c===!0||c==="touch"&&Te.current||c==="mouse"&&!Te.current)&&pe.current.blur()};function ft(ee,$){if(ee===-1)return-1;let He=ee;for(;;){if($==="next"&&He===Ve.length||$==="previous"&&He===-1)return-1;const Ie=it.querySelector(`[data-tag-index="${He}"]`);if(!Ie||!Ie.hasAttribute("tabindex")||Ie.disabled||Ie.getAttribute("aria-disabled")==="true")He+=$==="next"?1:-1;else return He}}const Rt=(ee,$)=>{if(!I)return;B===""&&Ne(ee,"toggleInput");let He=Xe;Xe===-1?B===""&&$==="previous"&&(He=Ve.length-1):(He+=$==="next"?1:-1,He<0&&(He=0),He===Ve.length&&(He=-1)),He=ft(He,$),Be(He),_t(He)},$t=ee=>{ue.current=!0,re(""),ie&&ie(ee,"","clear"),Ye(ee,I?[]:null,"clear")},Zt=ee=>$=>{if(ee.onKeyDown&&ee.onKeyDown($),!$.defaultMuiPrevented&&(Xe!==-1&&["ArrowLeft","ArrowRight"].indexOf($.key)===-1&&(Be(-1),_t(-1)),$.which!==229))switch($.key){case"Home":Ue&&T&&($.preventDefault(),G({diff:"start",direction:"next",reason:"keyboard",event:$}));break;case"End":Ue&&T&&($.preventDefault(),G({diff:"end",direction:"previous",reason:"keyboard",event:$}));break;case"PageUp":$.preventDefault(),G({diff:-w8,direction:"previous",reason:"keyboard",event:$}),De($);break;case"PageDown":$.preventDefault(),G({diff:w8,direction:"next",reason:"keyboard",event:$}),De($);break;case"ArrowDown":$.preventDefault(),G({diff:1,direction:"next",reason:"keyboard",event:$}),De($);break;case"ArrowUp":$.preventDefault(),G({diff:-1,direction:"previous",reason:"keyboard",event:$}),De($);break;case"ArrowLeft":Rt($,"previous");break;case"ArrowRight":Rt($,"next");break;case"Enter":if(rt.current!==-1&&Ue){const He=Le[rt.current],Ie=C?C(He):!1;if($.preventDefault(),Ie)return;tt($,He,"selectOption"),o&&pe.current.setSelectionRange(pe.current.value.length,pe.current.value.length)}else O&&B!==""&&mt===!1&&(I&&$.preventDefault(),tt($,B,"createOption","freeSolo"));break;case"Escape":Ue?($.preventDefault(),$.stopPropagation(),Ne($,"escape")):f&&(B!==""||I&&Ve.length>0)&&($.preventDefault(),$.stopPropagation(),$t($));break;case"Backspace":if(I&&!ne&&B===""&&Ve.length>0){const He=Xe===-1?Ve.length-1:Xe,Ie=Ve.slice();Ie.splice(He,1),Ye($,Ie,"removeOption",{option:Ve[He]})}break;case"Delete":if(I&&!ne&&B===""&&Ve.length>0&&Xe!==-1){const He=Xe,Ie=Ve.slice();Ie.splice(He,1),Ye($,Ie,"removeOption",{option:Ve[He]})}break}},sn=ee=>{ge(!0),K&&!ue.current&&De(ee)},ln=ee=>{if(t(me)){pe.current.focus();return}ge(!1),we.current=!0,ue.current=!1,a&&rt.current!==-1&&Ue?tt(ee,Le[rt.current],"blur"):a&&O&&B!==""?tt(ee,B,"blur","freeSolo"):u&&ye(ee,Ve),Ne(ee,"blur")},Nt=ee=>{const $=ee.target.value;B!==$&&(re($),Pt(!1),ie&&ie(ee,$,"input")),$===""?!m&&!I&&Ye(ee,null,"clear"):De(ee)},Lt=ee=>{const $=Number(ee.currentTarget.getAttribute("data-option-index"));rt.current!==$&&At({event:ee,index:$,reason:"mouse"})},Gt=ee=>{At({event:ee,index:Number(ee.currentTarget.getAttribute("data-option-index")),reason:"touch"}),Te.current=!0},In=ee=>{const $=Number(ee.currentTarget.getAttribute("data-option-index"));tt(ee,Le[$],"selectOption"),Te.current=!1},lr=ee=>$=>{const He=Ve.slice();He.splice(ee,1),Ye($,He,"removeOption",{option:Ve[ee]})},bn=ee=>{Pe?Ne(ee,"toggleInput"):De(ee)},_n=ee=>{ee.currentTarget.contains(ee.target)&&ee.target.getAttribute("id")!==_&&ee.preventDefault()},Kr=ee=>{ee.currentTarget.contains(ee.target)&&(pe.current.focus(),X&&we.current&&pe.current.selectionEnd-pe.current.selectionStart===0&&pe.current.select(),we.current=!1)},qn=ee=>{!H&&(B===""||!Pe)&&bn(ee)};let $n=O&&B.length>0;$n=$n||(I?Ve.length>0:Ve!==null);let Ee=Le;return E&&(Ee=Le.reduce((ee,$,He)=>{const Ie=E($);return ee.length>0&&ee[ee.length-1].group===Ie?ee[ee.length-1].options.push($):ee.push({key:He,index:He,group:Ie,options:[$]}),ee},[])),H&&ae&&ln(),{getRootProps:(ee={})=>j({"aria-owns":Mt?`${_}-listbox`:null},ee,{onKeyDown:Zt(ee),onMouseDown:_n,onClick:Kr}),getInputLabelProps:()=>({id:`${_}-label`,htmlFor:_}),getInputProps:()=>({id:_,value:B,onBlur:ln,onFocus:sn,onChange:Nt,onMouseDown:qn,"aria-activedescendant":Ue?"":null,"aria-autocomplete":o?"both":"list","aria-controls":Mt?`${_}-listbox`:void 0,"aria-expanded":Mt,autoComplete:"off",ref:pe,autoCapitalize:"none",spellCheck:"false",role:"combobox",disabled:H}),getClearProps:()=>({tabIndex:-1,type:"button",onClick:$t}),getPopupIndicatorProps:()=>({tabIndex:-1,type:"button",onClick:bn}),getTagProps:({index:ee})=>j({key:ee,"data-tag-index":ee,tabIndex:-1},!ne&&{onDelete:lr(ee)}),getListboxProps:()=>({role:"listbox",id:`${_}-listbox`,"aria-labelledby":`${_}-label`,ref:ke,onMouseDown:ee=>{ee.preventDefault()}}),getOptionProps:({index:ee,option:$})=>{var He;const Ie=(I?Ve:[Ve]).some(Wt=>Wt!=null&&U($,Wt)),ct=C?C($):!1;return{key:(He=D==null?void 0:D($))!=null?He:de($),tabIndex:-1,role:"option",id:`${_}-option-${ee}`,onMouseMove:Lt,onClick:In,onTouchStart:Gt,"data-option-index":ee,"aria-disabled":ct,"aria-selected":Ie}},id:_,inputValue:B,value:Ve,dirty:$n,expanded:Ue&&it,popupOpen:Ue,focused:ae||Xe!==-1,anchorEl:it,setAnchorEl:We,focusedTag:Xe,groupedOptions:Ee}}const JR=["anchorEl","component","components","componentsProps","container","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","transition","slots","slotProps"],FR=ve(kR,{name:"MuiPopper",slot:"Root",overridesResolver:(e,t)=>t.root})({}),uv=y.forwardRef(function(t,n){var o;const i=_p(),a=et({props:t,name:"MuiPopper"}),{anchorEl:c,component:u,components:f,componentsProps:p,container:h,disablePortal:m,keepMounted:P,modifiers:H,open:g,placement:w,popperOptions:x,popperRef:z,transition:O,slots:C,slotProps:D}=a,R=Oe(a,JR),E=(o=C==null?void 0:C.root)!=null?o:f==null?void 0:f.Root,T=j({anchorEl:c,container:h,disablePortal:m,keepMounted:P,modifiers:H,open:g,placement:w,popperOptions:x,popperRef:z,transition:O},R);return v.jsx(FR,j({as:u,direction:i==null?void 0:i.direction,slots:{root:E},slotProps:D??p},T,{ref:n}))});function YR(e){return Ke("MuiListSubheader",e)}_e("MuiListSubheader",["root","colorPrimary","colorInherit","gutters","inset","sticky"]);const qR=["className","color","component","disableGutters","disableSticky","inset"],ZR=e=>{const{classes:t,color:n,disableGutters:o,inset:i,disableSticky:a}=e,c={root:["root",n!=="default"&&`color${Ae(n)}`,!o&&"gutters",i&&"inset",!a&&"sticky"]};return $e(c,YR,t)},GR=ve("li",{name:"MuiListSubheader",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color!=="default"&&t[`color${Ae(n.color)}`],!n.disableGutters&&t.gutters,n.inset&&t.inset,!n.disableSticky&&t.sticky]}})(({theme:e,ownerState:t})=>j({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)},t.color==="primary"&&{color:(e.vars||e).palette.primary.main},t.color==="inherit"&&{color:"inherit"},!t.disableGutters&&{paddingLeft:16,paddingRight:16},t.inset&&{paddingLeft:72},!t.disableSticky&&{position:"sticky",top:0,zIndex:1,backgroundColor:(e.vars||e).palette.background.paper})),e2=y.forwardRef(function(t,n){const o=et({props:t,name:"MuiListSubheader"}),{className:i,color:a="default",component:c="li",disableGutters:u=!1,disableSticky:f=!1,inset:p=!1}=o,h=Oe(o,qR),m=j({},o,{color:a,component:c,disableGutters:u,disableSticky:f,inset:p}),P=ZR(m);return v.jsx(GR,j({as:c,className:ze(P.root,i),ref:n,ownerState:m},h))});e2.muiSkipListHighlight=!0;const UR=Kn(v.jsx("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"}),"Cancel");function QR(e){return Ke("MuiChip",e)}const Ft=_e("MuiChip",["root","sizeSmall","sizeMedium","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"]),KR=["avatar","className","clickable","color","component","deleteIcon","disabled","icon","label","onClick","onDelete","onKeyDown","onKeyUp","size","variant","tabIndex","skipFocusWhenDisabled"],_R=e=>{const{classes:t,disabled:n,size:o,color:i,iconColor:a,onDelete:c,clickable:u,variant:f}=e,p={root:["root",f,n&&"disabled",`size${Ae(o)}`,`color${Ae(i)}`,u&&"clickable",u&&`clickableColor${Ae(i)}`,c&&"deletable",c&&`deletableColor${Ae(i)}`,`${f}${Ae(i)}`],label:["label",`label${Ae(o)}`],avatar:["avatar",`avatar${Ae(o)}`,`avatarColor${Ae(i)}`],icon:["icon",`icon${Ae(o)}`,`iconColor${Ae(a)}`],deleteIcon:["deleteIcon",`deleteIcon${Ae(o)}`,`deleteIconColor${Ae(i)}`,`deleteIcon${Ae(f)}Color${Ae(i)}`]};return $e(p,QR,t)},$R=ve("div",{name:"MuiChip",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e,{color:o,iconColor:i,clickable:a,onDelete:c,size:u,variant:f}=n;return[{[`& .${Ft.avatar}`]:t.avatar},{[`& .${Ft.avatar}`]:t[`avatar${Ae(u)}`]},{[`& .${Ft.avatar}`]:t[`avatarColor${Ae(o)}`]},{[`& .${Ft.icon}`]:t.icon},{[`& .${Ft.icon}`]:t[`icon${Ae(u)}`]},{[`& .${Ft.icon}`]:t[`iconColor${Ae(i)}`]},{[`& .${Ft.deleteIcon}`]:t.deleteIcon},{[`& .${Ft.deleteIcon}`]:t[`deleteIcon${Ae(u)}`]},{[`& .${Ft.deleteIcon}`]:t[`deleteIconColor${Ae(o)}`]},{[`& .${Ft.deleteIcon}`]:t[`deleteIcon${Ae(f)}Color${Ae(o)}`]},t.root,t[`size${Ae(u)}`],t[`color${Ae(o)}`],a&&t.clickable,a&&o!=="default"&&t[`clickableColor${Ae(o)})`],c&&t.deletable,c&&o!=="default"&&t[`deletableColor${Ae(o)}`],t[f],t[`${f}${Ae(o)}`]]}})(({theme:e,ownerState:t})=>{const n=e.palette.mode==="light"?e.palette.grey[700]:e.palette.grey[300];return j({maxWidth:"100%",fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(13),display:"inline-flex",alignItems:"center",justifyContent:"center",height:32,color:(e.vars||e).palette.text.primary,backgroundColor:(e.vars||e).palette.action.selected,borderRadius:32/2,whiteSpace:"nowrap",transition:e.transitions.create(["background-color","box-shadow"]),cursor:"unset",outline:0,textDecoration:"none",border:0,padding:0,verticalAlign:"middle",boxSizing:"border-box",[`&.${Ft.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity,pointerEvents:"none"},[`& .${Ft.avatar}`]:{marginLeft:5,marginRight:-6,width:24,height:24,color:e.vars?e.vars.palette.Chip.defaultAvatarColor:n,fontSize:e.typography.pxToRem(12)},[`& .${Ft.avatarColorPrimary}`]:{color:(e.vars||e).palette.primary.contrastText,backgroundColor:(e.vars||e).palette.primary.dark},[`& .${Ft.avatarColorSecondary}`]:{color:(e.vars||e).palette.secondary.contrastText,backgroundColor:(e.vars||e).palette.secondary.dark},[`& .${Ft.avatarSmall}`]:{marginLeft:4,marginRight:-4,width:18,height:18,fontSize:e.typography.pxToRem(10)},[`& .${Ft.icon}`]:j({marginLeft:5,marginRight:-6},t.size==="small"&&{fontSize:18,marginLeft:4,marginRight:-4},t.iconColor===t.color&&j({color:e.vars?e.vars.palette.Chip.defaultIconColor:n},t.color!=="default"&&{color:"inherit"})),[`& .${Ft.deleteIcon}`]:j({WebkitTapHighlightColor:"transparent",color:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / 0.26)`:xt(e.palette.text.primary,.26),fontSize:22,cursor:"pointer",margin:"0 5px 0 -6px","&:hover":{color:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / 0.4)`:xt(e.palette.text.primary,.4)}},t.size==="small"&&{fontSize:16,marginRight:4,marginLeft:-4},t.color!=="default"&&{color:e.vars?`rgba(${e.vars.palette[t.color].contrastTextChannel} / 0.7)`:xt(e.palette[t.color].contrastText,.7),"&:hover, &:active":{color:(e.vars||e).palette[t.color].contrastText}})},t.size==="small"&&{height:24},t.color!=="default"&&{backgroundColor:(e.vars||e).palette[t.color].main,color:(e.vars||e).palette[t.color].contrastText},t.onDelete&&{[`&.${Ft.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:xt(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},t.onDelete&&t.color!=="default"&&{[`&.${Ft.focusVisible}`]:{backgroundColor:(e.vars||e).palette[t.color].dark}})},({theme:e,ownerState:t})=>j({},t.clickable&&{userSelect:"none",WebkitTapHighlightColor:"transparent",cursor:"pointer","&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:xt(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity)},[`&.${Ft.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:xt(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)},"&:active":{boxShadow:(e.vars||e).shadows[1]}},t.clickable&&t.color!=="default"&&{[`&:hover, &.${Ft.focusVisible}`]:{backgroundColor:(e.vars||e).palette[t.color].dark}}),({theme:e,ownerState:t})=>j({},t.variant==="outlined"&&{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]}`,[`&.${Ft.clickable}:hover`]:{backgroundColor:(e.vars||e).palette.action.hover},[`&.${Ft.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`& .${Ft.avatar}`]:{marginLeft:4},[`& .${Ft.avatarSmall}`]:{marginLeft:2},[`& .${Ft.icon}`]:{marginLeft:4},[`& .${Ft.iconSmall}`]:{marginLeft:2},[`& .${Ft.deleteIcon}`]:{marginRight:5},[`& .${Ft.deleteIconSmall}`]:{marginRight:3}},t.variant==="outlined"&&t.color!=="default"&&{color:(e.vars||e).palette[t.color].main,border:`1px solid ${e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / 0.7)`:xt(e.palette[t.color].main,.7)}`,[`&.${Ft.clickable}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:xt(e.palette[t.color].main,e.palette.action.hoverOpacity)},[`&.${Ft.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.focusOpacity})`:xt(e.palette[t.color].main,e.palette.action.focusOpacity)},[`& .${Ft.deleteIcon}`]:{color:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / 0.7)`:xt(e.palette[t.color].main,.7),"&:hover, &:active":{color:(e.vars||e).palette[t.color].main}}})),eD=ve("span",{name:"MuiChip",slot:"Label",overridesResolver:(e,t)=>{const{ownerState:n}=e,{size:o}=n;return[t.label,t[`label${Ae(o)}`]]}})(({ownerState:e})=>j({overflow:"hidden",textOverflow:"ellipsis",paddingLeft:12,paddingRight:12,whiteSpace:"nowrap"},e.variant==="outlined"&&{paddingLeft:11,paddingRight:11},e.size==="small"&&{paddingLeft:8,paddingRight:8},e.size==="small"&&e.variant==="outlined"&&{paddingLeft:7,paddingRight:7}));function H8(e){return e.key==="Backspace"||e.key==="Delete"}const df=y.forwardRef(function(t,n){const o=et({props:t,name:"MuiChip"}),{avatar:i,className:a,clickable:c,color:u="default",component:f,deleteIcon:p,disabled:h=!1,icon:m,label:P,onClick:H,onDelete:g,onKeyDown:w,onKeyUp:x,size:z="medium",variant:O="filled",tabIndex:C,skipFocusWhenDisabled:D=!1}=o,R=Oe(o,KR),E=y.useRef(null),T=on(E,n),L=K=>{K.stopPropagation(),g&&g(K)},N=K=>{K.currentTarget===K.target&&H8(K)&&K.preventDefault(),w&&w(K)},M=K=>{K.currentTarget===K.target&&(g&&H8(K)?g(K):K.key==="Escape"&&E.current&&E.current.blur()),x&&x(K)},U=c!==!1&&H?!0:c,I=U||g?di:f||"div",W=j({},o,{component:I,disabled:h,size:z,color:u,iconColor:y.isValidElement(m)&&m.props.color||u,onDelete:!!g,clickable:U,variant:O}),oe=_R(W),q=I===di?j({component:f||"div",focusVisibleClassName:oe.focusVisible},g&&{disableRipple:!0}):{};let ie=null;g&&(ie=p&&y.isValidElement(p)?y.cloneElement(p,{className:ze(p.props.className,oe.deleteIcon),onClick:L}):v.jsx(UR,{className:ze(oe.deleteIcon),onClick:L}));let te=null;i&&y.isValidElement(i)&&(te=y.cloneElement(i,{className:ze(oe.avatar,i.props.className)}));let J=null;return m&&y.isValidElement(m)&&(J=y.cloneElement(m,{className:ze(oe.icon,m.props.className)})),v.jsxs($R,j({as:I,className:ze(oe.root,a),disabled:U&&h?!0:void 0,onClick:H,onKeyDown:N,onKeyUp:M,ref:T,tabIndex:D&&h?-1:C,ownerState:W},q,R,{children:[te||J,v.jsx(eD,{className:ze(oe.label),ownerState:W,children:P}),ie]}))});function hi({props:e,states:t,muiFormControl:n}){return t.reduce((o,i)=>(o[i]=e[i],n&&typeof e[i]>"u"&&(o[i]=n[i]),o),{})}const fv=y.createContext(void 0);function ns(){return y.useContext(fv)}function t2(e){return v.jsx(mj,j({},e,{defaultTheme:av,themeId:Qi}))}function j8(e){return e!=null&&!(Array.isArray(e)&&e.length===0)}function Hp(e,t=!1){return e&&(j8(e.value)&&e.value!==""||t&&j8(e.defaultValue)&&e.defaultValue!=="")}function tD(e){return e.startAdornment}function nD(e){return Ke("MuiInputBase",e)}const Jr=_e("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]),rD=["aria-describedby","autoComplete","autoFocus","className","color","components","componentsProps","defaultValue","disabled","disableInjectingGlobalStyles","endAdornment","error","fullWidth","id","inputComponent","inputProps","inputRef","margin","maxRows","minRows","multiline","name","onBlur","onChange","onClick","onFocus","onKeyDown","onKeyUp","placeholder","readOnly","renderSuffix","rows","size","slotProps","slots","startAdornment","type","value"],dv=(e,t)=>{const{ownerState:n}=e;return[t.root,n.formControl&&t.formControl,n.startAdornment&&t.adornedStart,n.endAdornment&&t.adornedEnd,n.error&&t.error,n.size==="small"&&t.sizeSmall,n.multiline&&t.multiline,n.color&&t[`color${Ae(n.color)}`],n.fullWidth&&t.fullWidth,n.hiddenLabel&&t.hiddenLabel]},pv=(e,t)=>{const{ownerState:n}=e;return[t.input,n.size==="small"&&t.inputSizeSmall,n.multiline&&t.inputMultiline,n.type==="search"&&t.inputTypeSearch,n.startAdornment&&t.inputAdornedStart,n.endAdornment&&t.inputAdornedEnd,n.hiddenLabel&&t.inputHiddenLabel]},oD=e=>{const{classes:t,color:n,disabled:o,error:i,endAdornment:a,focused:c,formControl:u,fullWidth:f,hiddenLabel:p,multiline:h,readOnly:m,size:P,startAdornment:H,type:g}=e,w={root:["root",`color${Ae(n)}`,o&&"disabled",i&&"error",f&&"fullWidth",c&&"focused",u&&"formControl",P&&P!=="medium"&&`size${Ae(P)}`,h&&"multiline",H&&"adornedStart",a&&"adornedEnd",p&&"hiddenLabel",m&&"readOnly"],input:["input",o&&"disabled",g==="search"&&"inputTypeSearch",h&&"inputMultiline",P==="small"&&"inputSizeSmall",p&&"inputHiddenLabel",H&&"inputAdornedStart",a&&"inputAdornedEnd",m&&"readOnly"]};return $e(w,nD,t)},vv=ve("div",{name:"MuiInputBase",slot:"Root",overridesResolver:dv})(({theme:e,ownerState:t})=>j({},e.typography.body1,{color:(e.vars||e).palette.text.primary,lineHeight:"1.4375em",boxSizing:"border-box",position:"relative",cursor:"text",display:"inline-flex",alignItems:"center",[`&.${Jr.disabled}`]:{color:(e.vars||e).palette.text.disabled,cursor:"default"}},t.multiline&&j({padding:"4px 0 5px"},t.size==="small"&&{paddingTop:1}),t.fullWidth&&{width:"100%"})),hv=ve("input",{name:"MuiInputBase",slot:"Input",overridesResolver:pv})(({theme:e,ownerState:t})=>{const n=e.palette.mode==="light",o=j({color:"currentColor"},e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:n?.42:.5},{transition:e.transitions.create("opacity",{duration:e.transitions.duration.shorter})}),i={opacity:"0 !important"},a=e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:n?.42:.5};return j({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%",animationName:"mui-auto-fill-cancel",animationDuration:"10ms","&::-webkit-input-placeholder":o,"&::-moz-placeholder":o,"&:-ms-input-placeholder":o,"&::-ms-input-placeholder":o,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"},[`label[data-shrink=false] + .${Jr.formControl} &`]:{"&::-webkit-input-placeholder":i,"&::-moz-placeholder":i,"&:-ms-input-placeholder":i,"&::-ms-input-placeholder":i,"&:focus::-webkit-input-placeholder":a,"&:focus::-moz-placeholder":a,"&:focus:-ms-input-placeholder":a,"&:focus::-ms-input-placeholder":a},[`&.${Jr.disabled}`]:{opacity:1,WebkitTextFillColor:(e.vars||e).palette.text.disabled},"&:-webkit-autofill":{animationDuration:"5000s",animationName:"mui-auto-fill"}},t.size==="small"&&{paddingTop:1},t.multiline&&{height:"auto",resize:"none",padding:0,paddingTop:0},t.type==="search"&&{MozAppearance:"textfield"})}),sD=v.jsx(t2,{styles:{"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}}),mv=y.forwardRef(function(t,n){var o;const i=et({props:t,name:"MuiInputBase"}),{"aria-describedby":a,autoComplete:c,autoFocus:u,className:f,components:p={},componentsProps:h={},defaultValue:m,disabled:P,disableInjectingGlobalStyles:H,endAdornment:g,fullWidth:w=!1,id:x,inputComponent:z="input",inputProps:O={},inputRef:C,maxRows:D,minRows:R,multiline:E=!1,name:T,onBlur:L,onChange:N,onClick:M,onFocus:U,onKeyDown:I,onKeyUp:W,placeholder:oe,readOnly:q,renderSuffix:ie,rows:te,slotProps:J={},slots:K={},startAdornment:k,type:ne="text",value:X}=i,se=Oe(i,rD),_=O.value!=null?O.value:X,{current:de}=y.useRef(_!=null),ue=y.useRef(),we=y.useCallback(Ue=>{},[]),pe=on(ue,C,O.ref,we),[me,it]=y.useState(!1),We=ns(),Xe=hi({props:i,muiFormControl:We,states:["color","disabled","error","hiddenLabel","size","required","filled"]});Xe.focused=We?We.focused:me,y.useEffect(()=>{!We&&P&&me&&(it(!1),L&&L())},[We,P,me,L]);const Be=We&&We.onFilled,Re=We&&We.onEmpty,rt=y.useCallback(Ue=>{Hp(Ue)?Be&&Be():Re&&Re()},[Be,Re]);Mr(()=>{de&&rt({value:_})},[_,rt,de]);const Ve=Ue=>{if(Xe.disabled){Ue.stopPropagation();return}U&&U(Ue),O.onFocus&&O.onFocus(Ue),We&&We.onFocus?We.onFocus(Ue):it(!0)},jt=Ue=>{L&&L(Ue),O.onBlur&&O.onBlur(Ue),We&&We.onBlur?We.onBlur(Ue):it(!1)},B=(Ue,...Le)=>{if(!de){const gt=Ue.target||ue.current;if(gt==null)throw new Error(ui(1));rt({value:gt.value})}O.onChange&&O.onChange(Ue,...Le),N&&N(Ue,...Le)};y.useEffect(()=>{rt(ue.current)},[]);const re=Ue=>{ue.current&&Ue.currentTarget===Ue.target&&ue.current.focus(),M&&M(Ue)};let ae=z,ge=O;E&&ae==="input"&&(te?ge=j({type:void 0,minRows:te,maxRows:te},ge):ge=j({type:void 0,maxRows:D,minRows:R},ge),ae=NR);const ye=Ue=>{rt(Ue.animationName==="mui-auto-fill-cancel"?ue.current:{value:"x"})};y.useEffect(()=>{We&&We.setAdornedStart(!!k)},[We,k]);const Pe=j({},i,{color:Xe.color||"primary",disabled:Xe.disabled,endAdornment:g,error:Xe.error,focused:Xe.focused,formControl:We,fullWidth:w,hiddenLabel:Xe.hiddenLabel,multiline:E,size:Xe.size,startAdornment:k,type:ne}),xe=oD(Pe),Ze=K.root||p.Root||vv,Pt=J.root||h.root||{},mt=K.input||p.Input||hv;return ge=j({},ge,(o=J.input)!=null?o:h.input),v.jsxs(y.Fragment,{children:[!H&&sD,v.jsxs(Ze,j({},Pt,!$i(Ze)&&{ownerState:j({},Pe,Pt.ownerState)},{ref:n,onClick:re},se,{className:ze(xe.root,Pt.className,f,q&&"MuiInputBase-readOnly"),children:[k,v.jsx(fv.Provider,{value:null,children:v.jsx(mt,j({ownerState:Pe,"aria-invalid":Xe.error,"aria-describedby":a,autoComplete:c,autoFocus:u,defaultValue:m,disabled:Xe.disabled,id:x,onAnimationStart:ye,name:T,placeholder:oe,readOnly:q,required:Xe.required,rows:te,value:_,onKeyDown:I,onKeyUp:W,type:ne},ge,!$i(mt)&&{as:ae,ownerState:j({},Pe,ge.ownerState)},{ref:pe,className:ze(xe.input,ge.className,q&&"MuiInputBase-readOnly"),onBlur:jt,onChange:B,onFocus:Ve}))}),g,ie?ie(j({},Xe,{startAdornment:k})):null]}))]})});function iD(e){return Ke("MuiInput",e)}const _s=j({},Jr,_e("MuiInput",["root","underline","input"]));function aD(e){return Ke("MuiOutlinedInput",e)}const Vo=j({},Jr,_e("MuiOutlinedInput",["root","notchedOutline","input"]));function lD(e){return Ke("MuiFilledInput",e)}const Fr=j({},Jr,_e("MuiFilledInput",["root","underline","input"])),n2=Kn(v.jsx("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown");function cD(e){return Ke("MuiAutocomplete",e)}const St=_e("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 z8,O8;const uD=["autoComplete","autoHighlight","autoSelect","blurOnSelect","ChipProps","className","clearIcon","clearOnBlur","clearOnEscape","clearText","closeText","componentsProps","defaultValue","disableClearable","disableCloseOnSelect","disabled","disabledItemsFocusable","disableListWrap","disablePortal","filterOptions","filterSelectedOptions","forcePopupIcon","freeSolo","fullWidth","getLimitTagsText","getOptionDisabled","getOptionKey","getOptionLabel","isOptionEqualToValue","groupBy","handleHomeEndKeys","id","includeInputInList","inputValue","limitTags","ListboxComponent","ListboxProps","loading","loadingText","multiple","noOptionsText","onChange","onClose","onHighlightChange","onInputChange","onOpen","open","openOnFocus","openText","options","PaperComponent","PopperComponent","popupIcon","readOnly","renderGroup","renderInput","renderOption","renderTags","selectOnFocus","size","slotProps","value"],fD=["ref"],dD=e=>{const{classes:t,disablePortal:n,expanded:o,focused:i,fullWidth:a,hasClearIcon:c,hasPopupIcon:u,inputFocused:f,popupOpen:p,size:h}=e,m={root:["root",o&&"expanded",i&&"focused",a&&"fullWidth",c&&"hasClearIcon",u&&"hasPopupIcon"],inputRoot:["inputRoot"],input:["input",f&&"inputFocused"],tag:["tag",`tagSize${Ae(h)}`],endAdornment:["endAdornment"],clearIndicator:["clearIndicator"],popupIndicator:["popupIndicator",p&&"popupIndicatorOpen"],popper:["popper",n&&"popperDisablePortal"],paper:["paper"],listbox:["listbox"],loading:["loading"],noOptions:["noOptions"],option:["option"],groupLabel:["groupLabel"],groupUl:["groupUl"]};return $e(m,cD,t)},pD=ve("div",{name:"MuiAutocomplete",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e,{fullWidth:o,hasClearIcon:i,hasPopupIcon:a,inputFocused:c,size:u}=n;return[{[`& .${St.tag}`]:t.tag},{[`& .${St.tag}`]:t[`tagSize${Ae(u)}`]},{[`& .${St.inputRoot}`]:t.inputRoot},{[`& .${St.input}`]:t.input},{[`& .${St.input}`]:c&&t.inputFocused},t.root,o&&t.fullWidth,a&&t.hasPopupIcon,i&&t.hasClearIcon]}})(({ownerState:e})=>j({[`&.${St.focused} .${St.clearIndicator}`]:{visibility:"visible"},"@media (pointer: fine)":{[`&:hover .${St.clearIndicator}`]:{visibility:"visible"}}},e.fullWidth&&{width:"100%"},{[`& .${St.tag}`]:j({margin:3,maxWidth:"calc(100% - 6px)"},e.size==="small"&&{margin:2,maxWidth:"calc(100% - 4px)"}),[`& .${St.inputRoot}`]:{flexWrap:"wrap",[`.${St.hasPopupIcon}&, .${St.hasClearIcon}&`]:{paddingRight:30},[`.${St.hasPopupIcon}.${St.hasClearIcon}&`]:{paddingRight:56},[`& .${St.input}`]:{width:0,minWidth:30}},[`& .${_s.root}`]:{paddingBottom:1,"& .MuiInput-input":{padding:"4px 4px 4px 0px"}},[`& .${_s.root}.${Jr.sizeSmall}`]:{[`& .${_s.input}`]:{padding:"2px 4px 3px 0"}},[`& .${Vo.root}`]:{padding:9,[`.${St.hasPopupIcon}&, .${St.hasClearIcon}&`]:{paddingRight:39},[`.${St.hasPopupIcon}.${St.hasClearIcon}&`]:{paddingRight:65},[`& .${St.input}`]:{padding:"7.5px 4px 7.5px 5px"},[`& .${St.endAdornment}`]:{right:9}},[`& .${Vo.root}.${Jr.sizeSmall}`]:{paddingTop:6,paddingBottom:6,paddingLeft:6,[`& .${St.input}`]:{padding:"2.5px 4px 2.5px 8px"}},[`& .${Fr.root}`]:{paddingTop:19,paddingLeft:8,[`.${St.hasPopupIcon}&, .${St.hasClearIcon}&`]:{paddingRight:39},[`.${St.hasPopupIcon}.${St.hasClearIcon}&`]:{paddingRight:65},[`& .${Fr.input}`]:{padding:"7px 4px"},[`& .${St.endAdornment}`]:{right:9}},[`& .${Fr.root}.${Jr.sizeSmall}`]:{paddingBottom:1,[`& .${Fr.input}`]:{padding:"2.5px 4px"}},[`& .${Jr.hiddenLabel}`]:{paddingTop:8},[`& .${Fr.root}.${Jr.hiddenLabel}`]:{paddingTop:0,paddingBottom:0,[`& .${St.input}`]:{paddingTop:16,paddingBottom:17}},[`& .${Fr.root}.${Jr.hiddenLabel}.${Jr.sizeSmall}`]:{[`& .${St.input}`]:{paddingTop:8,paddingBottom:9}},[`& .${St.input}`]:j({flexGrow:1,textOverflow:"ellipsis",opacity:0},e.inputFocused&&{opacity:1})})),vD=ve("div",{name:"MuiAutocomplete",slot:"EndAdornment",overridesResolver:(e,t)=>t.endAdornment})({position:"absolute",right:0,top:"calc(50% - 14px)"}),hD=ve(Or,{name:"MuiAutocomplete",slot:"ClearIndicator",overridesResolver:(e,t)=>t.clearIndicator})({marginRight:-2,padding:4,visibility:"hidden"}),mD=ve(Or,{name:"MuiAutocomplete",slot:"PopupIndicator",overridesResolver:({ownerState:e},t)=>j({},t.popupIndicator,e.popupOpen&&t.popupIndicatorOpen)})(({ownerState:e})=>j({padding:2,marginRight:-2},e.popupOpen&&{transform:"rotate(180deg)"})),AD=ve(uv,{name:"MuiAutocomplete",slot:"Popper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${St.option}`]:t.option},t.popper,n.disablePortal&&t.popperDisablePortal]}})(({theme:e,ownerState:t})=>j({zIndex:(e.vars||e).zIndex.modal},t.disablePortal&&{position:"absolute"})),PD=ve(Gr,{name:"MuiAutocomplete",slot:"Paper",overridesResolver:(e,t)=>t.paper})(({theme:e})=>j({},e.typography.body1,{overflow:"auto"})),gD=ve("div",{name:"MuiAutocomplete",slot:"Loading",overridesResolver:(e,t)=>t.loading})(({theme:e})=>({color:(e.vars||e).palette.text.secondary,padding:"14px 16px"})),yD=ve("div",{name:"MuiAutocomplete",slot:"NoOptions",overridesResolver:(e,t)=>t.noOptions})(({theme:e})=>({color:(e.vars||e).palette.text.secondary,padding:"14px 16px"})),bD=ve("div",{name:"MuiAutocomplete",slot:"Listbox",overridesResolver:(e,t)=>t.listbox})(({theme:e})=>({listStyle:"none",margin:0,padding:"8px 0",maxHeight:"40vh",overflow:"auto",position:"relative",[`& .${St.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"},[`&.${St.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"},[`&.${St.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},'&[aria-selected="true"]':{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:xt(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${St.focused}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:xt(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:(e.vars||e).palette.action.selected}},[`&.${St.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:xt(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}}}})),xD=ve(e2,{name:"MuiAutocomplete",slot:"GroupLabel",overridesResolver:(e,t)=>t.groupLabel})(({theme:e})=>({backgroundColor:(e.vars||e).palette.background.paper,top:-8})),wD=ve("ul",{name:"MuiAutocomplete",slot:"GroupUl",overridesResolver:(e,t)=>t.groupUl})({padding:0,[`& .${St.option}`]:{paddingLeft:24}}),HD=y.forwardRef(function(t,n){var o,i,a,c;const u=et({props:t,name:"MuiAutocomplete"}),{autoComplete:f=!1,autoHighlight:p=!1,autoSelect:h=!1,blurOnSelect:m=!1,ChipProps:P,className:H,clearIcon:g=z8||(z8=v.jsx(B1,{fontSize:"small"})),clearOnBlur:w=!u.freeSolo,clearOnEscape:x=!1,clearText:z="Clear",closeText:O="Close",componentsProps:C={},defaultValue:D=u.multiple?[]:null,disableClearable:R=!1,disableCloseOnSelect:E=!1,disabled:T=!1,disabledItemsFocusable:L=!1,disableListWrap:N=!1,disablePortal:M=!1,filterSelectedOptions:U=!1,forcePopupIcon:I="auto",freeSolo:W=!1,fullWidth:oe=!1,getLimitTagsText:q=$=>`+${$}`,getOptionLabel:ie,groupBy:te,handleHomeEndKeys:J=!u.freeSolo,includeInputInList:K=!1,limitTags:k=-1,ListboxComponent:ne="ul",ListboxProps:X,loading:se=!1,loadingText:_="Loading…",multiple:de=!1,noOptionsText:ue="No options",openOnFocus:we=!1,openText:pe="Open",PaperComponent:me=Gr,PopperComponent:it=uv,popupIcon:We=O8||(O8=v.jsx(n2,{})),readOnly:Xe=!1,renderGroup:Be,renderInput:Re,renderOption:rt,renderTags:Ve,selectOnFocus:jt=!u.freeSolo,size:B="medium",slotProps:re={}}=u,ae=Oe(u,uD),{getRootProps:ge,getInputProps:ye,getInputLabelProps:Pe,getPopupIndicatorProps:xe,getClearProps:Ze,getTagProps:Pt,getListboxProps:mt,getOptionProps:Ue,value:Le,dirty:gt,expanded:Mt,id:_t,popupOpen:Fe,focused:At,focusedTag:G,anchorEl:Z,setAnchorEl:be,inputValue:ke,groupedOptions:De}=WR(j({},u,{componentName:"Autocomplete"})),Ne=!R&&!T&>&&!Xe,Ye=(!W||I===!0)&&I!==!1,{onMouseDown:Te}=ye(),{ref:tt}=X??{},ft=mt(),{ref:Rt}=ft,$t=Oe(ft,fD),Zt=on(Rt,tt),ln=ie||($=>{var He;return(He=$.label)!=null?He:$}),Nt=j({},u,{disablePortal:M,expanded:Mt,focused:At,fullWidth:oe,getOptionLabel:ln,hasClearIcon:Ne,hasPopupIcon:Ye,inputFocused:G===-1,popupOpen:Fe,size:B}),Lt=dD(Nt);let Gt;if(de&&Le.length>0){const $=He=>j({className:Lt.tag,disabled:T},Pt(He));Ve?Gt=Ve(Le,$,Nt):Gt=Le.map((He,Ie)=>v.jsx(df,j({label:ln(He),size:B},$({index:Ie}),P)))}if(k>-1&&Array.isArray(Gt)){const $=Gt.length-k;!At&&$>0&&(Gt=Gt.splice(0,k),Gt.push(v.jsx("span",{className:Lt.tag,children:q($)},Gt.length)))}const lr=Be||($=>v.jsxs("li",{children:[v.jsx(xD,{className:Lt.groupLabel,ownerState:Nt,component:"div",children:$.group}),v.jsx(wD,{className:Lt.groupUl,ownerState:Nt,children:$.children})]},$.key)),_n=rt||(($,He)=>y.createElement("li",j({},$,{key:$.key}),ln(He))),Kr=($,He)=>{const Ie=Ue({option:$,index:He});return _n(j({},Ie,{className:Lt.option}),$,{selected:Ie["aria-selected"],index:He,inputValue:ke},Nt)},qn=(o=re.clearIndicator)!=null?o:C.clearIndicator,$n=(i=re.paper)!=null?i:C.paper,Ee=(a=re.popper)!=null?a:C.popper,ee=(c=re.popupIndicator)!=null?c:C.popupIndicator;return v.jsxs(y.Fragment,{children:[v.jsx(pD,j({ref:n,className:ze(Lt.root,H),ownerState:Nt},ge(ae),{children:Re({id:_t,disabled:T,fullWidth:!0,size:B==="small"?"small":void 0,InputLabelProps:Pe(),InputProps:j({ref:be,className:Lt.inputRoot,startAdornment:Gt,onClick:$=>{$.target===$.currentTarget&&Te($)}},(Ne||Ye)&&{endAdornment:v.jsxs(vD,{className:Lt.endAdornment,ownerState:Nt,children:[Ne?v.jsx(hD,j({},Ze(),{"aria-label":z,title:z,ownerState:Nt},qn,{className:ze(Lt.clearIndicator,qn==null?void 0:qn.className),children:g})):null,Ye?v.jsx(mD,j({},xe(),{disabled:T,"aria-label":Fe?O:pe,title:Fe?O:pe,ownerState:Nt},ee,{className:ze(Lt.popupIndicator,ee==null?void 0:ee.className),children:We})):null]})}),inputProps:j({className:Lt.input,disabled:T,readOnly:Xe},ye())})})),Z?v.jsx(AD,j({as:it,disablePortal:M,style:{width:Z?Z.clientWidth:null},ownerState:Nt,role:"presentation",anchorEl:Z,open:Fe},Ee,{className:ze(Lt.popper,Ee==null?void 0:Ee.className),children:v.jsxs(PD,j({ownerState:Nt,as:me},$n,{className:ze(Lt.paper,$n==null?void 0:$n.className),children:[se&&De.length===0?v.jsx(gD,{className:Lt.loading,ownerState:Nt,children:_}):null,De.length===0&&!W&&!se?v.jsx(yD,{className:Lt.noOptions,ownerState:Nt,role:"presentation",onMouseDown:$=>{$.preventDefault()},children:ue}):null,De.length>0?v.jsx(bD,j({as:ne,className:Lt.listbox,ownerState:Nt},$t,X,{ref:Zt,children:De.map(($,He)=>te?lr({key:$.key,group:$.group,children:$.options.map((Ie,ct)=>Kr(Ie,$.index+ct))}):Kr($,He))})):null]}))})):null]})}),jD=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],zD={entering:{opacity:1},entered:{opacity:1}},r2=y.forwardRef(function(t,n){const o=Qr(),i={enter:o.transitions.duration.enteringScreen,exit:o.transitions.duration.leavingScreen},{addEndListener:a,appear:c=!0,children:u,easing:f,in:p,onEnter:h,onEntered:m,onEntering:P,onExit:H,onExited:g,onExiting:w,style:x,timeout:z=i,TransitionComponent:O=So}=t,C=Oe(t,jD),D=y.useRef(null),R=on(D,u.ref,n),E=oe=>q=>{if(oe){const ie=D.current;q===void 0?oe(ie):oe(ie,q)}},T=E(P),L=E((oe,q)=>{LP(oe);const ie=hl({style:x,timeout:z,easing:f},{mode:"enter"});oe.style.webkitTransition=o.transitions.create("opacity",ie),oe.style.transition=o.transitions.create("opacity",ie),h&&h(oe,q)}),N=E(m),M=E(w),U=E(oe=>{const q=hl({style:x,timeout:z,easing:f},{mode:"exit"});oe.style.webkitTransition=o.transitions.create("opacity",q),oe.style.transition=o.transitions.create("opacity",q),H&&H(oe)}),I=E(g),W=oe=>{a&&a(D.current,oe)};return v.jsx(O,j({appear:c,in:p,nodeRef:D,onEnter:L,onEntered:N,onEntering:T,onExit:U,onExited:I,onExiting:M,addEndListener:W,timeout:z},C,{children:(oe,q)=>y.cloneElement(u,j({style:j({opacity:0,visibility:oe==="exited"&&!p?"hidden":void 0},zD[oe],x,u.props.style),ref:R},q))}))});function OD(e){return Ke("MuiBackdrop",e)}_e("MuiBackdrop",["root","invisible"]);const CD=["children","className","component","components","componentsProps","invisible","open","slotProps","slots","TransitionComponent","transitionDuration"],RD=e=>{const{classes:t,invisible:n}=e;return $e({root:["root",n&&"invisible"]},OD,t)},DD=ve("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.invisible&&t.invisible]}})(({ownerState:e})=>j({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"},e.invisible&&{backgroundColor:"transparent"})),o2=y.forwardRef(function(t,n){var o,i,a;const c=et({props:t,name:"MuiBackdrop"}),{children:u,className:f,component:p="div",components:h={},componentsProps:m={},invisible:P=!1,open:H,slotProps:g={},slots:w={},TransitionComponent:x=r2,transitionDuration:z}=c,O=Oe(c,CD),C=j({},c,{component:p,invisible:P}),D=RD(C),R=(o=g.root)!=null?o:m.root;return v.jsx(x,j({in:H,timeout:z},O,{children:v.jsx(DD,j({"aria-hidden":!0},R,{as:(i=(a=w.root)!=null?a:h.Root)!=null?i:p,className:ze(D.root,f,R==null?void 0:R.className),ownerState:j({},C,R==null?void 0:R.ownerState),classes:D,ref:n,children:u}))}))}),SD=_e("MuiBox",["root"]),TD=iv(),ht=bj({themeId:Qi,defaultTheme:TD,defaultClassName:SD.root,generateClassName:SP.generate});function ED(e){return Ke("MuiButton",e)}const Vd=_e("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","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","iconSizeSmall","iconSizeMedium","iconSizeLarge"]),s2=y.createContext({}),kD=y.createContext(void 0),MD=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],LD=e=>{const{color:t,disableElevation:n,fullWidth:o,size:i,variant:a,classes:c}=e,u={root:["root",a,`${a}${Ae(t)}`,`size${Ae(i)}`,`${a}Size${Ae(i)}`,t==="inherit"&&"colorInherit",n&&"disableElevation",o&&"fullWidth"],label:["label"],startIcon:["startIcon",`iconSize${Ae(i)}`],endIcon:["endIcon",`iconSize${Ae(i)}`]},f=$e(u,ED,c);return j({},c,f)},i2=e=>j({},e.size==="small"&&{"& > *:nth-of-type(1)":{fontSize:18}},e.size==="medium"&&{"& > *:nth-of-type(1)":{fontSize:20}},e.size==="large"&&{"& > *:nth-of-type(1)":{fontSize:22}}),XD=ve(di,{shouldForwardProp:e=>Yn(e)||e==="classes",name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`${n.variant}${Ae(n.color)}`],t[`size${Ae(n.size)}`],t[`${n.variant}Size${Ae(n.size)}`],n.color==="inherit"&&t.colorInherit,n.disableElevation&&t.disableElevation,n.fullWidth&&t.fullWidth]}})(({theme:e,ownerState:t})=>{var n,o;const i=e.palette.mode==="light"?e.palette.grey[300]:e.palette.grey[800],a=e.palette.mode==="light"?e.palette.grey.A100:e.palette.grey[700];return j({},e.typography.button,{minWidth:64,padding:"6px 16px",borderRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create(["background-color","box-shadow","border-color","color"],{duration:e.transitions.duration.short}),"&:hover":j({textDecoration:"none",backgroundColor:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:xt(e.palette.text.primary,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},t.variant==="text"&&t.color!=="inherit"&&{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:xt(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},t.variant==="outlined"&&t.color!=="inherit"&&{border:`1px solid ${(e.vars||e).palette[t.color].main}`,backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:xt(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},t.variant==="contained"&&{backgroundColor:e.vars?e.vars.palette.Button.inheritContainedHoverBg:a,boxShadow:(e.vars||e).shadows[4],"@media (hover: none)":{boxShadow:(e.vars||e).shadows[2],backgroundColor:(e.vars||e).palette.grey[300]}},t.variant==="contained"&&t.color!=="inherit"&&{backgroundColor:(e.vars||e).palette[t.color].dark,"@media (hover: none)":{backgroundColor:(e.vars||e).palette[t.color].main}}),"&:active":j({},t.variant==="contained"&&{boxShadow:(e.vars||e).shadows[8]}),[`&.${Vd.focusVisible}`]:j({},t.variant==="contained"&&{boxShadow:(e.vars||e).shadows[6]}),[`&.${Vd.disabled}`]:j({color:(e.vars||e).palette.action.disabled},t.variant==="outlined"&&{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`},t.variant==="contained"&&{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground})},t.variant==="text"&&{padding:"6px 8px"},t.variant==="text"&&t.color!=="inherit"&&{color:(e.vars||e).palette[t.color].main},t.variant==="outlined"&&{padding:"5px 15px",border:"1px solid currentColor"},t.variant==="outlined"&&t.color!=="inherit"&&{color:(e.vars||e).palette[t.color].main,border:e.vars?`1px solid rgba(${e.vars.palette[t.color].mainChannel} / 0.5)`:`1px solid ${xt(e.palette[t.color].main,.5)}`},t.variant==="contained"&&{color:e.vars?e.vars.palette.text.primary:(n=(o=e.palette).getContrastText)==null?void 0:n.call(o,e.palette.grey[300]),backgroundColor:e.vars?e.vars.palette.Button.inheritContainedBg:i,boxShadow:(e.vars||e).shadows[2]},t.variant==="contained"&&t.color!=="inherit"&&{color:(e.vars||e).palette[t.color].contrastText,backgroundColor:(e.vars||e).palette[t.color].main},t.color==="inherit"&&{color:"inherit",borderColor:"currentColor"},t.size==="small"&&t.variant==="text"&&{padding:"4px 5px",fontSize:e.typography.pxToRem(13)},t.size==="large"&&t.variant==="text"&&{padding:"8px 11px",fontSize:e.typography.pxToRem(15)},t.size==="small"&&t.variant==="outlined"&&{padding:"3px 9px",fontSize:e.typography.pxToRem(13)},t.size==="large"&&t.variant==="outlined"&&{padding:"7px 21px",fontSize:e.typography.pxToRem(15)},t.size==="small"&&t.variant==="contained"&&{padding:"4px 10px",fontSize:e.typography.pxToRem(13)},t.size==="large"&&t.variant==="contained"&&{padding:"8px 22px",fontSize:e.typography.pxToRem(15)},t.fullWidth&&{width:"100%"})},({ownerState:e})=>e.disableElevation&&{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${Vd.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${Vd.disabled}`]:{boxShadow:"none"}}),ND=ve("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.startIcon,t[`iconSize${Ae(n.size)}`]]}})(({ownerState:e})=>j({display:"inherit",marginRight:8,marginLeft:-4},e.size==="small"&&{marginLeft:-2},i2(e))),BD=ve("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.endIcon,t[`iconSize${Ae(n.size)}`]]}})(({ownerState:e})=>j({display:"inherit",marginRight:-4,marginLeft:8},e.size==="small"&&{marginRight:-2},i2(e))),Et=y.forwardRef(function(t,n){const o=y.useContext(s2),i=y.useContext(kD),a=tv(o,t),c=et({props:a,name:"MuiButton"}),{children:u,color:f="primary",component:p="button",className:h,disabled:m=!1,disableElevation:P=!1,disableFocusRipple:H=!1,endIcon:g,focusVisibleClassName:w,fullWidth:x=!1,size:z="medium",startIcon:O,type:C,variant:D="text"}=c,R=Oe(c,MD),E=j({},c,{color:f,component:p,disabled:m,disableElevation:P,disableFocusRipple:H,fullWidth:x,size:z,type:C,variant:D}),T=LD(E),L=O&&v.jsx(ND,{className:T.startIcon,ownerState:E,children:O}),N=g&&v.jsx(BD,{className:T.endIcon,ownerState:E,children:g}),M=i||"";return v.jsxs(XD,j({ownerState:E,className:ze(o.className,T.root,h,M),component:p,disabled:m,focusRipple:!H,focusVisibleClassName:ze(T.focusVisible,w),ref:n,type:C},R,{classes:T,children:[L,u,N]}))});function VD(e){return Ke("MuiCard",e)}_e("MuiCard",["root"]);const ID=["className","raised"],WD=e=>{const{classes:t}=e;return $e({root:["root"]},VD,t)},JD=ve(Gr,{name:"MuiCard",slot:"Root",overridesResolver:(e,t)=>t.root})(()=>({overflow:"hidden"})),a2=y.forwardRef(function(t,n){const o=et({props:t,name:"MuiCard"}),{className:i,raised:a=!1}=o,c=Oe(o,ID),u=j({},o,{raised:a}),f=WD(u);return v.jsx(JD,j({className:ze(f.root,i),elevation:a?8:void 0,ref:n,ownerState:u},c))});function FD(e){return Ke("MuiCardContent",e)}_e("MuiCardContent",["root"]);const YD=["className","component"],qD=e=>{const{classes:t}=e;return $e({root:["root"]},FD,t)},ZD=ve("div",{name:"MuiCardContent",slot:"Root",overridesResolver:(e,t)=>t.root})(()=>({padding:16,"&:last-child":{paddingBottom:24}})),kA=y.forwardRef(function(t,n){const o=et({props:t,name:"MuiCardContent"}),{className:i,component:a="div"}=o,c=Oe(o,YD),u=j({},o,{component:a}),f=qD(u);return v.jsx(ZD,j({as:a,className:ze(f.root,i),ownerState:u,ref:n},c))});function GD(e){return Ke("MuiCardMedia",e)}_e("MuiCardMedia",["root","media","img"]);const UD=["children","className","component","image","src","style"],QD=e=>{const{classes:t,isMediaComponent:n,isImageComponent:o}=e;return $e({root:["root",n&&"media",o&&"img"]},GD,t)},KD=ve("div",{name:"MuiCardMedia",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e,{isMediaComponent:o,isImageComponent:i}=n;return[t.root,o&&t.media,i&&t.img]}})(({ownerState:e})=>j({display:"block",backgroundSize:"cover",backgroundRepeat:"no-repeat",backgroundPosition:"center"},e.isMediaComponent&&{width:"100%"},e.isImageComponent&&{objectFit:"cover"})),_D=["video","audio","picture","iframe","img"],$D=["picture","img"],eS=y.forwardRef(function(t,n){const o=et({props:t,name:"MuiCardMedia"}),{children:i,className:a,component:c="div",image:u,src:f,style:p}=o,h=Oe(o,UD),m=_D.indexOf(c)!==-1,P=!m&&u?j({backgroundImage:`url("${u}")`},p):p,H=j({},o,{component:c,isMediaComponent:m,isImageComponent:$D.indexOf(c)!==-1}),g=QD(H);return v.jsx(KD,j({className:ze(g.root,a),as:c,role:!m&&u?"img":void 0,ref:n,style:P,ownerState:H,src:m?u||f:void 0},h,{children:i}))});function tS(e){return Ke("PrivateSwitchBase",e)}_e("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);const nS=["autoFocus","checked","checkedIcon","className","defaultChecked","disabled","disableFocusRipple","edge","icon","id","inputProps","inputRef","name","onBlur","onChange","onFocus","readOnly","required","tabIndex","type","value"],rS=e=>{const{classes:t,checked:n,disabled:o,edge:i}=e,a={root:["root",n&&"checked",o&&"disabled",i&&`edge${Ae(i)}`],input:["input"]};return $e(a,tS,t)},oS=ve(di)(({ownerState:e})=>j({padding:9,borderRadius:"50%"},e.edge==="start"&&{marginLeft:e.size==="small"?-3:-12},e.edge==="end"&&{marginRight:e.size==="small"?-3:-12})),sS=ve("input",{shouldForwardProp:Yn})({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}),YP=y.forwardRef(function(t,n){const{autoFocus:o,checked:i,checkedIcon:a,className:c,defaultChecked:u,disabled:f,disableFocusRipple:p=!1,edge:h=!1,icon:m,id:P,inputProps:H,inputRef:g,name:w,onBlur:x,onChange:z,onFocus:O,readOnly:C,required:D=!1,tabIndex:R,type:E,value:T}=t,L=Oe(t,nS),[N,M]=xs({controlled:i,default:!!u,name:"SwitchBase",state:"checked"}),U=ns(),I=K=>{O&&O(K),U&&U.onFocus&&U.onFocus(K)},W=K=>{x&&x(K),U&&U.onBlur&&U.onBlur(K)},oe=K=>{if(K.nativeEvent.defaultPrevented)return;const k=K.target.checked;M(k),z&&z(K,k)};let q=f;U&&typeof q>"u"&&(q=U.disabled);const ie=E==="checkbox"||E==="radio",te=j({},t,{checked:N,disabled:q,disableFocusRipple:p,edge:h}),J=rS(te);return v.jsxs(oS,j({component:"span",className:ze(J.root,c),centerRipple:!0,focusRipple:!p,disabled:q,tabIndex:null,role:void 0,onFocus:I,onBlur:W,ownerState:te,ref:n},L,{children:[v.jsx(sS,j({autoFocus:o,checked:i,defaultChecked:u,className:J.input,disabled:q,id:ie?P:void 0,name:w,onChange:oe,readOnly:C,ref:g,required:D,ownerState:te,tabIndex:R,type:E},E==="checkbox"&&T===void 0?{}:{value:T},H)),N?a:m]}))}),iS=Kn(v.jsx("path",{d:"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"}),"CheckBoxOutlineBlank"),aS=Kn(v.jsx("path",{d:"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"}),"CheckBox"),lS=Kn(v.jsx("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z"}),"IndeterminateCheckBox");function cS(e){return Ke("MuiCheckbox",e)}const Gm=_e("MuiCheckbox",["root","checked","disabled","indeterminate","colorPrimary","colorSecondary","sizeSmall","sizeMedium"]),uS=["checkedIcon","color","icon","indeterminate","indeterminateIcon","inputProps","size","className"],fS=e=>{const{classes:t,indeterminate:n,color:o,size:i}=e,a={root:["root",n&&"indeterminate",`color${Ae(o)}`,`size${Ae(i)}`]},c=$e(a,cS,t);return j({},t,c)},dS=ve(YP,{shouldForwardProp:e=>Yn(e)||e==="classes",name:"MuiCheckbox",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.indeterminate&&t.indeterminate,t[`size${Ae(n.size)}`],n.color!=="default"&&t[`color${Ae(n.color)}`]]}})(({theme:e,ownerState:t})=>j({color:(e.vars||e).palette.text.secondary},!t.disableRipple&&{"&:hover":{backgroundColor:e.vars?`rgba(${t.color==="default"?e.vars.palette.action.activeChannel:e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:xt(t.color==="default"?e.palette.action.active:e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},t.color!=="default"&&{[`&.${Gm.checked}, &.${Gm.indeterminate}`]:{color:(e.vars||e).palette[t.color].main},[`&.${Gm.disabled}`]:{color:(e.vars||e).palette.action.disabled}})),pS=v.jsx(aS,{}),vS=v.jsx(iS,{}),hS=v.jsx(lS,{}),C8=y.forwardRef(function(t,n){var o,i;const a=et({props:t,name:"MuiCheckbox"}),{checkedIcon:c=pS,color:u="primary",icon:f=vS,indeterminate:p=!1,indeterminateIcon:h=hS,inputProps:m,size:P="medium",className:H}=a,g=Oe(a,uS),w=p?h:f,x=p?h:c,z=j({},a,{color:u,indeterminate:p,size:P}),O=fS(z);return v.jsx(dS,j({type:"checkbox",inputProps:j({"data-indeterminate":p},m),icon:y.cloneElement(w,{fontSize:(o=w.props.fontSize)!=null?o:P}),checkedIcon:y.cloneElement(x,{fontSize:(i=x.props.fontSize)!=null?i:P}),ownerState:z,ref:n,className:ze(O.root,H)},g,{classes:O}))});function mS(e){return Ke("MuiCircularProgress",e)}_e("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]);const AS=["className","color","disableShrink","size","style","thickness","value","variant"];let Av=e=>e,R8,D8,S8,T8;const Gs=44,PS=sf(R8||(R8=Av` +`,ZS=P.forwardRef(function(t,n){const r=$e({props:t,name:"MuiTouchRipple"}),{center:s=!1,classes:a={},className:l,...u}=r,[f,p]=P.useState([]),h=P.useRef(0),m=P.useRef(null);P.useEffect(()=>{m.current&&(m.current(),m.current=null)},[f]);const A=P.useRef(!1),H=Gi(),y=P.useRef(null),w=P.useRef(null),x=P.useCallback(O=>{const{pulsate:D,rippleX:k,rippleY:R,rippleSize:M,cb:L}=O;p(j=>[...j,v.jsx(qS,{classes:{ripple:Oe(a.ripple,io.ripple),rippleVisible:Oe(a.rippleVisible,io.rippleVisible),ripplePulsate:Oe(a.ripplePulsate,io.ripplePulsate),child:Oe(a.child,io.child),childLeaving:Oe(a.childLeaving,io.childLeaving),childPulsate:Oe(a.childPulsate,io.childPulsate)},timeout:fg,pulsate:D,rippleX:k,rippleY:R,rippleSize:M},h.current)]),h.current+=1,m.current=L},[a]),S=P.useCallback((O={},D={},k=()=>{})=>{const{pulsate:R=!1,center:M=s||D.pulsate,fakeElement:L=!1}=D;if((O==null?void 0:O.type)==="mousedown"&&A.current){A.current=!1;return}(O==null?void 0:O.type)==="touchstart"&&(A.current=!0);const j=L?null:w.current,B=j?j.getBoundingClientRect():{width:0,height:0,left:0,top:0};let I,J,K;if(M||O===void 0||O.clientX===0&&O.clientY===0||!O.clientX&&!O.touches)I=Math.round(B.width/2),J=Math.round(B.height/2);else{const{clientX:W,clientY:ne}=O.touches&&O.touches.length>0?O.touches[0]:O;I=Math.round(W-B.left),J=Math.round(ne-B.top)}if(M)K=Math.sqrt((2*B.width**2+B.height**2)/3),K%2===0&&(K+=1);else{const W=Math.max(Math.abs((j?j.clientWidth:0)-I),I)*2+2,ne=Math.max(Math.abs((j?j.clientHeight:0)-J),J)*2+2;K=Math.sqrt(W**2+ne**2)}O!=null&&O.touches?y.current===null&&(y.current=()=>{x({pulsate:R,rippleX:I,rippleY:J,rippleSize:K,cb:k})},H.start(IS,()=>{y.current&&(y.current(),y.current=null)})):x({pulsate:R,rippleX:I,rippleY:J,rippleSize:K,cb:k})},[s,x,H]),C=P.useCallback(()=>{S({},{pulsate:!0})},[S]),z=P.useCallback((O,D)=>{if(H.clear(),(O==null?void 0:O.type)==="touchend"&&y.current){y.current(),y.current=null,H.start(0,()=>{z(O,D)});return}y.current=null,p(k=>k.length>0?k.slice(1):k),m.current=D},[H]);return P.useImperativeHandle(n,()=>({pulsate:C,start:S,stop:z}),[C,S,z]),v.jsx(YS,{className:Oe(io.root,a.root,l),ref:w,...u,children:v.jsx(wy,{component:null,exit:!0,children:f})})});function GS(e){return Ze("MuiButtonBase",e)}const US=Ge("MuiButtonBase",["root","disabled","focusVisible"]),QS=e=>{const{disabled:t,focusVisible:n,focusVisibleClassName:r,classes:s}=e,l=Qe({root:["root",t&&"disabled",n&&"focusVisible"]},GS,s);return n&&r&&(l.root+=` ${r}`),l},KS=pe("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${US.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),fa=P.forwardRef(function(t,n){const r=$e({props:t,name:"MuiButtonBase"}),{action:s,centerRipple:a=!1,children:l,className:u,component:f="button",disabled:p=!1,disableRipple:h=!1,disableTouchRipple:m=!1,focusRipple:A=!1,focusVisibleClassName:H,LinkComponent:y="a",onBlur:w,onClick:x,onContextMenu:S,onDragLeave:C,onFocus:z,onFocusVisible:O,onKeyDown:D,onKeyUp:k,onMouseDown:R,onMouseLeave:M,onMouseUp:L,onTouchEnd:j,onTouchMove:B,onTouchStart:I,tabIndex:J=0,TouchRippleProps:K,touchRippleRef:W,type:ne,...re}=r,F=P.useRef(null),_=NS(),E=rn(_.ref,W),[G,X]=P.useState(!1);p&&G&&X(!1),P.useImperativeHandle(s,()=>({focusVisible:()=>{X(!0),F.current.focus()}}),[]);const ee=_.shouldMount&&!h&&!p;P.useEffect(()=>{G&&A&&!h&&_.pulsate()},[h,A,G,_]);const te=bs(_,"start",R,m),ue=bs(_,"stop",S,m),de=bs(_,"stop",C,m),xe=bs(_,"stop",L,m),ve=bs(_,"stop",ce=>{G&&ce.preventDefault(),M&&M(ce)},m),be=bs(_,"start",I,m),Xe=bs(_,"stop",j,m),Ie=bs(_,"stop",B,m),He=bs(_,"stop",ce=>{Ol(ce.target)||X(!1),w&&w(ce)},!1),Ke=mr(ce=>{F.current||(F.current=ce.currentTarget),Ol(ce.target)&&(X(!0),O&&O(ce)),z&&z(ce)}),we=()=>{const ce=F.current;return f&&f!=="button"&&!(ce.tagName==="A"&&ce.href)},tt=mr(ce=>{A&&!ce.repeat&&G&&ce.key===" "&&_.stop(ce,()=>{_.start(ce)}),ce.target===ce.currentTarget&&we()&&ce.key===" "&&ce.preventDefault(),D&&D(ce),ce.target===ce.currentTarget&&we()&&ce.key==="Enter"&&!p&&(ce.preventDefault(),x&&x(ce))}),Le=mr(ce=>{A&&ce.key===" "&&G&&!ce.defaultPrevented&&_.stop(ce,()=>{_.pulsate(ce)}),k&&k(ce),x&&ce.target===ce.currentTarget&&we()&&ce.key===" "&&!ce.defaultPrevented&&x(ce)});let dt=f;dt==="button"&&(re.href||re.to)&&(dt=y);const N={};dt==="button"?(N.type=ne===void 0?"button":ne,N.disabled=p):(!re.href&&!re.to&&(N.role="button"),p&&(N["aria-disabled"]=p));const $=rn(n,F),se={...r,centerRipple:a,component:f,disabled:p,disableRipple:h,disableTouchRipple:m,focusRipple:A,tabIndex:J,focusVisible:G},ye=QS(se);return v.jsxs(KS,{as:dt,className:Oe(ye.root,u),ownerState:se,onBlur:He,onClick:x,onContextMenu:ue,onFocus:Ke,onKeyDown:tt,onKeyUp:Le,onMouseDown:te,onMouseLeave:ve,onMouseUp:xe,onDragLeave:de,onTouchEnd:Xe,onTouchMove:Ie,onTouchStart:be,ref:$,tabIndex:p?-1:J,type:ne,...N,...re,children:[l,ee?v.jsx(ZS,{ref:E,center:a,...K}):null]})});function bs(e,t,n,r=!1){return mr(s=>(n&&n(s),r||e[t](s),!0))}function _S(e){return typeof e.main=="string"}function $S(e,t=[]){if(!_S(e))return!1;for(const n of t)if(!e.hasOwnProperty(n)||typeof e[n]!="string")return!1;return!0}function mn(e=[]){return([,t])=>t&&$S(t,e)}function ez(e){return Ze("MuiAlert",e)}const F8=Ge("MuiAlert",["root","action","icon","message","filled","colorSuccess","colorInfo","colorWarning","colorError","filledSuccess","filledInfo","filledWarning","filledError","outlined","outlinedSuccess","outlinedInfo","outlinedWarning","outlinedError","standard","standardSuccess","standardInfo","standardWarning","standardError"]);function tz(e){return Ze("MuiIconButton",e)}const nz=Ge("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"]),rz=e=>{const{classes:t,disabled:n,color:r,edge:s,size:a}=e,l={root:["root",n&&"disabled",r!=="default"&&`color${me(r)}`,s&&`edge${me(s)}`,`size${me(a)}`]};return Qe(l,tz,t)},oz=pe(fa,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color!=="default"&&t[`color${me(n.color)}`],n.edge&&t[`edge${me(n.edge)}`],t[`size${me(n.size)}`]]}})(Ue(({theme:e})=>({textAlign:"center",flex:"0 0 auto",fontSize:e.typography.pxToRem(24),padding:8,borderRadius:"50%",color:(e.vars||e).palette.action.active,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),variants:[{props:t=>!t.disableRipple,style:{"--IconButton-hoverBg":e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:Pt(e.palette.action.active,e.palette.action.hoverOpacity),"&:hover":{backgroundColor:"var(--IconButton-hoverBg)","@media (hover: none)":{backgroundColor:"transparent"}}}},{props:{edge:"start"},style:{marginLeft:-12}},{props:{edge:"start",size:"small"},style:{marginLeft:-3}},{props:{edge:"end"},style:{marginRight:-12}},{props:{edge:"end",size:"small"},style:{marginRight:-3}}]})),Ue(({theme:e})=>({variants:[{props:{color:"inherit"},style:{color:"inherit"}},...Object.entries(e.palette).filter(mn()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}})),...Object.entries(e.palette).filter(mn()).map(([t])=>({props:{color:t},style:{"--IconButton-hoverBg":e.vars?`rgba(${(e.vars||e).palette[t].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Pt((e.vars||e).palette[t].main,e.palette.action.hoverOpacity)}})),{props:{size:"small"},style:{padding:5,fontSize:e.typography.pxToRem(18)}},{props:{size:"large"},style:{padding:12,fontSize:e.typography.pxToRem(28)}}],[`&.${nz.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled}}))),zr=P.forwardRef(function(t,n){const r=$e({props:t,name:"MuiIconButton"}),{edge:s=!1,children:a,className:l,color:u="default",disabled:f=!1,disableFocusRipple:p=!1,size:h="medium",...m}=r,A={...r,edge:s,color:u,disabled:f,disableFocusRipple:p,size:h},H=rz(A);return v.jsx(oz,{className:Oe(H.root,l),centerRipple:!0,focusRipple:!p,disabled:f,ref:n,...m,ownerState:A,children:a})}),sz=At(v.jsx("path",{d:"M20,12A8,8 0 0,1 12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4C12.76,4 13.5,4.11 14.2, 4.31L15.77,2.74C14.61,2.26 13.34,2 12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0, 0 22,12M7.91,10.08L6.5,11.5L11,16L21,6L19.59,4.58L11,13.17L7.91,10.08Z"}),"SuccessOutlined"),iz=At(v.jsx("path",{d:"M12 5.99L19.53 19H4.47L12 5.99M12 2L1 21h22L12 2zm1 14h-2v2h2v-2zm0-6h-2v4h2v-4z"}),"ReportProblemOutlined"),az=At(v.jsx("path",{d:"M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"ErrorOutline"),lz=At(v.jsx("path",{d:"M11,9H13V7H11M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20, 12C20,16.41 16.41,20 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10, 10 0 0,0 12,2M11,17H13V11H11V17Z"}),"InfoOutlined"),p1=At(v.jsx("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close"),cz=e=>{const{variant:t,color:n,severity:r,classes:s}=e,a={root:["root",`color${me(n||r)}`,`${t}${me(n||r)}`,`${t}`],icon:["icon"],message:["message"],action:["action"]};return Qe(a,ez,s)},uz=pe(Gr,{name:"MuiAlert",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`${n.variant}${me(n.color||n.severity)}`]]}})(Ue(({theme:e})=>{const t=e.palette.mode==="light"?ca:ua,n=e.palette.mode==="light"?ua:ca;return{...e.typography.body2,backgroundColor:"transparent",display:"flex",padding:"6px 16px",variants:[...Object.entries(e.palette).filter(mn(["light"])).map(([r])=>({props:{colorSeverity:r,variant:"standard"},style:{color:e.vars?e.vars.palette.Alert[`${r}Color`]:t(e.palette[r].light,.6),backgroundColor:e.vars?e.vars.palette.Alert[`${r}StandardBg`]:n(e.palette[r].light,.9),[`& .${F8.icon}`]:e.vars?{color:e.vars.palette.Alert[`${r}IconColor`]}:{color:e.palette[r].main}}})),...Object.entries(e.palette).filter(mn(["light"])).map(([r])=>({props:{colorSeverity:r,variant:"outlined"},style:{color:e.vars?e.vars.palette.Alert[`${r}Color`]:t(e.palette[r].light,.6),border:`1px solid ${(e.vars||e).palette[r].light}`,[`& .${F8.icon}`]:e.vars?{color:e.vars.palette.Alert[`${r}IconColor`]}:{color:e.palette[r].main}}})),...Object.entries(e.palette).filter(mn(["dark"])).map(([r])=>({props:{colorSeverity:r,variant:"filled"},style:{fontWeight:e.typography.fontWeightMedium,...e.vars?{color:e.vars.palette.Alert[`${r}FilledColor`],backgroundColor:e.vars.palette.Alert[`${r}FilledBg`]}:{backgroundColor:e.palette.mode==="dark"?e.palette[r].dark:e.palette[r].main,color:e.palette.getContrastText(e.palette[r].main)}}}))]}})),fz=pe("div",{name:"MuiAlert",slot:"Icon",overridesResolver:(e,t)=>t.icon})({marginRight:12,padding:"7px 0",display:"flex",fontSize:22,opacity:.9}),dz=pe("div",{name:"MuiAlert",slot:"Message",overridesResolver:(e,t)=>t.message})({padding:"8px 0",minWidth:0,overflow:"auto"}),Y8=pe("div",{name:"MuiAlert",slot:"Action",overridesResolver:(e,t)=>t.action})({display:"flex",alignItems:"flex-start",padding:"4px 0 0 16px",marginLeft:"auto",marginRight:-8}),q8={success:v.jsx(sz,{fontSize:"inherit"}),warning:v.jsx(iz,{fontSize:"inherit"}),error:v.jsx(az,{fontSize:"inherit"}),info:v.jsx(lz,{fontSize:"inherit"})},jy=P.forwardRef(function(t,n){const r=$e({props:t,name:"MuiAlert"}),{action:s,children:a,className:l,closeText:u="Close",color:f,components:p={},componentsProps:h={},icon:m,iconMapping:A=q8,onClose:H,role:y="alert",severity:w="success",slotProps:x={},slots:S={},variant:C="standard",...z}=r,O={...r,color:f,severity:w,variant:C,colorSeverity:f||w},D=cz(O),k={slots:{closeButton:p.CloseButton,closeIcon:p.CloseIcon,...S},slotProps:{...h,...x}},[R,M]=Cn("closeButton",{elementType:zr,externalForwardedProps:k,ownerState:O}),[L,j]=Cn("closeIcon",{elementType:p1,externalForwardedProps:k,ownerState:O});return v.jsxs(uz,{role:y,elevation:0,ownerState:O,className:Oe(D.root,l),ref:n,...z,children:[m!==!1?v.jsx(fz,{ownerState:O,className:D.icon,children:m||A[w]||q8[w]}):null,v.jsx(dz,{ownerState:O,className:D.message,children:a}),s!=null?v.jsx(Y8,{ownerState:O,className:D.action,children:s}):null,s==null&&H?v.jsx(Y8,{ownerState:O,className:D.action,children:v.jsx(R,{size:"small","aria-label":u,title:u,color:"inherit",onClick:H,...M,children:v.jsx(L,{fontSize:"small",...j})})}):null]})});function pz(e){return Ze("MuiTypography",e)}const Z8=Ge("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]),vz={primary:!0,secondary:!0,error:!0,info:!0,success:!0,warning:!0,textPrimary:!0,textSecondary:!0,textDisabled:!0},hz=AS(),mz=e=>{const{align:t,gutterBottom:n,noWrap:r,paragraph:s,variant:a,classes:l}=e,u={root:["root",a,e.align!=="inherit"&&`align${me(t)}`,n&&"gutterBottom",r&&"noWrap",s&&"paragraph"]};return Qe(u,pz,l)},gz=pe("span",{name:"MuiTypography",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.variant&&t[n.variant],n.align!=="inherit"&&t[`align${me(n.align)}`],n.noWrap&&t.noWrap,n.gutterBottom&&t.gutterBottom,n.paragraph&&t.paragraph]}})(Ue(({theme:e})=>{var t;return{margin:0,variants:[{props:{variant:"inherit"},style:{font:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}},...Object.entries(e.typography).filter(([n,r])=>n!=="inherit"&&r&&typeof r=="object").map(([n,r])=>({props:{variant:n},style:r})),...Object.entries(e.palette).filter(mn()).map(([n])=>({props:{color:n},style:{color:(e.vars||e).palette[n].main}})),...Object.entries(((t=e.palette)==null?void 0:t.text)||{}).filter(([,n])=>typeof n=="string").map(([n])=>({props:{color:`text${me(n)}`},style:{color:(e.vars||e).palette.text[n]}})),{props:({ownerState:n})=>n.align!=="inherit",style:{textAlign:"var(--Typography-textAlign)"}},{props:({ownerState:n})=>n.noWrap,style:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}},{props:({ownerState:n})=>n.gutterBottom,style:{marginBottom:"0.35em"}},{props:({ownerState:n})=>n.paragraph,style:{marginBottom:16}}]}})),G8={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},xt=P.forwardRef(function(t,n){const{color:r,...s}=$e({props:t,name:"MuiTypography"}),a=!vz[r],l=hz({...s,...a&&{color:r}}),{align:u="inherit",className:f,component:p,gutterBottom:h=!1,noWrap:m=!1,paragraph:A=!1,variant:H="body1",variantMapping:y=G8,...w}=l,x={...l,align:u,color:r,className:f,component:p,gutterBottom:h,noWrap:m,paragraph:A,variant:H,variantMapping:y},S=p||(A?"p":y[H]||G8[H])||"span",C=mz(x);return v.jsx(gz,{as:S,ref:n,className:Oe(C.root,f),...w,ownerState:x,style:{...u!=="inherit"&&{"--Typography-textAlign":u},...w.style}})});function yz(e){return Ze("MuiAppBar",e)}Ge("MuiAppBar",["root","positionFixed","positionAbsolute","positionSticky","positionStatic","positionRelative","colorDefault","colorPrimary","colorSecondary","colorInherit","colorTransparent","colorError","colorInfo","colorSuccess","colorWarning"]);const Az=e=>{const{color:t,position:n,classes:r}=e,s={root:["root",`color${me(t)}`,`position${me(n)}`]};return Qe(s,yz,r)},U8=(e,t)=>e?`${e==null?void 0:e.replace(")","")}, ${t})`:t,Pz=pe(Gr,{name:"MuiAppBar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`position${me(n.position)}`],t[`color${me(n.color)}`]]}})(Ue(({theme:e})=>({display:"flex",flexDirection:"column",width:"100%",boxSizing:"border-box",flexShrink:0,variants:[{props:{position:"fixed"},style:{position:"fixed",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0,"@media print":{position:"absolute"}}},{props:{position:"absolute"},style:{position:"absolute",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0}},{props:{position:"sticky"},style:{position:"sticky",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0}},{props:{position:"static"},style:{position:"static"}},{props:{position:"relative"},style:{position:"relative"}},{props:{color:"inherit"},style:{"--AppBar-color":"inherit"}},{props:{color:"default"},style:{"--AppBar-background":e.vars?e.vars.palette.AppBar.defaultBg:e.palette.grey[100],"--AppBar-color":e.vars?e.vars.palette.text.primary:e.palette.getContrastText(e.palette.grey[100]),...e.applyStyles("dark",{"--AppBar-background":e.vars?e.vars.palette.AppBar.defaultBg:e.palette.grey[900],"--AppBar-color":e.vars?e.vars.palette.text.primary:e.palette.getContrastText(e.palette.grey[900])})}},...Object.entries(e.palette).filter(mn(["contrastText"])).map(([t])=>({props:{color:t},style:{"--AppBar-background":(e.vars??e).palette[t].main,"--AppBar-color":(e.vars??e).palette[t].contrastText}})),{props:t=>t.enableColorOnDark===!0&&!["inherit","transparent"].includes(t.color),style:{backgroundColor:"var(--AppBar-background)",color:"var(--AppBar-color)"}},{props:t=>t.enableColorOnDark===!1&&!["inherit","transparent"].includes(t.color),style:{backgroundColor:"var(--AppBar-background)",color:"var(--AppBar-color)",...e.applyStyles("dark",{backgroundColor:e.vars?U8(e.vars.palette.AppBar.darkBg,"var(--AppBar-background)"):null,color:e.vars?U8(e.vars.palette.AppBar.darkColor,"var(--AppBar-color)"):null})}},{props:{color:"transparent"},style:{"--AppBar-background":"transparent","--AppBar-color":"inherit",backgroundColor:"var(--AppBar-background)",color:"var(--AppBar-color)",...e.applyStyles("dark",{backgroundImage:"none"})}}]}))),bz=P.forwardRef(function(t,n){const r=$e({props:t,name:"MuiAppBar"}),{className:s,color:a="primary",enableColorOnDark:l=!1,position:u="fixed",...f}=r,p={...r,color:a,position:u,enableColorOnDark:l},h=Az(p);return v.jsx(Pz,{square:!0,component:"header",ownerState:p,elevation:4,className:Oe(h.root,s,u==="fixed"&&"mui-fixed"),ref:n,...f})});function Q8(e){return e.normalize("NFD").replace(/[\u0300-\u036f]/g,"")}function xz(e={}){const{ignoreAccents:t=!0,ignoreCase:n=!0,limit:r,matchFrom:s="any",stringify:a,trim:l=!1}=e;return(u,{inputValue:f,getOptionLabel:p})=>{let h=l?f.trim():f;n&&(h=h.toLowerCase()),t&&(h=Q8(h));const m=h?u.filter(A=>{let H=(a||p)(A);return n&&(H=H.toLowerCase()),t&&(H=Q8(H)),s==="start"?H.startsWith(h):H.includes(h)}):u;return typeof r=="number"?m.slice(0,r):m}}const wz=xz(),K8=5,Hz=e=>{var t;return e.current!==null&&((t=e.current.parentElement)==null?void 0:t.contains(document.activeElement))},jz=[];function Sz(e){const{unstable_isActiveElementInListbox:t=Hz,unstable_classNamePrefix:n="Mui",autoComplete:r=!1,autoHighlight:s=!1,autoSelect:a=!1,blurOnSelect:l=!1,clearOnBlur:u=!e.freeSolo,clearOnEscape:f=!1,componentName:p="useAutocomplete",defaultValue:h=e.multiple?jz:null,disableClearable:m=!1,disableCloseOnSelect:A=!1,disabled:H,disabledItemsFocusable:y=!1,disableListWrap:w=!1,filterOptions:x=wz,filterSelectedOptions:S=!1,freeSolo:C=!1,getOptionDisabled:z,getOptionKey:O,getOptionLabel:D=oe=>oe.label??oe,groupBy:k,handleHomeEndKeys:R=!e.freeSolo,id:M,includeInputInList:L=!1,inputValue:j,isOptionEqualToValue:B=(oe,le)=>oe===le,multiple:I=!1,onChange:J,onClose:K,onHighlightChange:W,onInputChange:ne,onOpen:re,open:F,openOnFocus:_=!1,options:E,readOnly:G=!1,selectOnFocus:X=!e.freeSolo,value:ee}=e,te=ks(M);let ue=D;ue=oe=>{const le=D(oe);return typeof le!="string"?String(le):le};const de=P.useRef(!1),xe=P.useRef(!0),ve=P.useRef(null),be=P.useRef(null),[Xe,Ie]=P.useState(null),[He,Ke]=P.useState(-1),we=s?0:-1,tt=P.useRef(we),[Le,dt]=yi({controlled:ee,default:h,name:p}),[N,$]=yi({controlled:j,default:"",name:p,state:"inputValue"}),[se,ye]=P.useState(!1),ce=P.useCallback((oe,le,Ee)=>{if(!(I?Le.length!(S&&(I?Le:[Le]).some(le=>le!==null&&B(oe,le)))),{inputValue:nt&&st?"":N,getOptionLabel:ue}):[],Ht=fj({filteredOptions:ct,value:Le,inputValue:N});P.useEffect(()=>{const oe=Le!==Ht.value;se&&!oe||C&&!oe||ce(null,Le,"reset")},[Le,ce,se,Ht.value,C]);const We=Ae&&ct.length>0&&!G,Dt=mr(oe=>{oe===-1?ve.current.focus():Xe.querySelector(`[data-tag-index="${oe}"]`).focus()});P.useEffect(()=>{I&&He>Le.length-1&&(Ke(-1),Dt(-1))},[Le,I,He,Dt]);function Jt(oe,le){if(!be.current||oe<0||oe>=ct.length)return-1;let Ee=oe;for(;;){const ot=be.current.querySelector(`[data-option-index="${Ee}"]`),lt=y?!1:!ot||ot.disabled||ot.getAttribute("aria-disabled")==="true";if(ot&&ot.hasAttribute("tabindex")&&!lt)return Ee;if(le==="next"?Ee=(Ee+1)%ct.length:Ee=(Ee-1+ct.length)%ct.length,Ee===oe)return-1}}const Be=mr(({event:oe,index:le,reason:Ee="auto"})=>{if(tt.current=le,le===-1?ve.current.removeAttribute("aria-activedescendant"):ve.current.setAttribute("aria-activedescendant",`${te}-option-${le}`),W&&W(oe,le===-1?null:ct[le],Ee),!be.current)return;const ot=be.current.querySelector(`[role="option"].${n}-focused`);ot&&(ot.classList.remove(`${n}-focused`),ot.classList.remove(`${n}-focusVisible`));let lt=be.current;if(be.current.getAttribute("role")!=="listbox"&&(lt=be.current.parentElement.querySelector('[role="listbox"]')),!lt)return;if(le===-1){lt.scrollTop=0;return}const It=be.current.querySelector(`[data-option-index="${le}"]`);if(It&&(It.classList.add(`${n}-focused`),Ee==="keyboard"&&It.classList.add(`${n}-focusVisible`),lt.scrollHeight>lt.clientHeight&&Ee!=="mouse"&&Ee!=="touch")){const Nt=It,Ln=lt.clientHeight+lt.scrollTop,Ao=Nt.offsetTop+Nt.offsetHeight;Ao>Ln?lt.scrollTop=Ao-lt.clientHeight:Nt.offsetTop-Nt.offsetHeight*(k?1.3:0){if(!ft)return;const It=Jt((()=>{const Nt=ct.length-1;if(le==="reset")return we;if(le==="start")return 0;if(le==="end")return Nt;const Ln=tt.current+le;return Ln<0?Ln===-1&&L?-1:w&&tt.current!==-1||Math.abs(le)>1?0:Nt:Ln>Nt?Ln===Nt+1&&L?-1:w||Math.abs(le)>1?Nt:0:Ln})(),Ee);if(Be({index:It,reason:ot,event:oe}),r&&le!=="reset")if(It===-1)ve.current.value=N;else{const Nt=ue(ct[It]);ve.current.value=Nt,Nt.toLowerCase().indexOf(N.toLowerCase())===0&&N.length>0&&ve.current.setSelectionRange(N.length,Nt.length)}}),Y=()=>{const oe=(le,Ee)=>{const ot=le?ue(le):"",lt=Ee?ue(Ee):"";return ot===lt};if(tt.current!==-1&&Ht.filteredOptions&&Ht.filteredOptions.length!==ct.length&&Ht.inputValue===N&&(I?Le.length===Ht.value.length&&Ht.value.every((le,Ee)=>ue(Le[Ee])===ue(le)):oe(Ht.value,Le))){const le=Ht.filteredOptions[tt.current];if(le)return ct.findIndex(Ee=>ue(Ee)===ue(le))}return-1},Pe=P.useCallback(()=>{if(!ft)return;const oe=Y();if(oe!==-1){tt.current=oe;return}const le=I?Le[0]:Le;if(ct.length===0||le==null){U({diff:"reset"});return}if(be.current){if(le!=null){const Ee=ct[tt.current];if(I&&Ee&&Le.findIndex(lt=>B(Ee,lt))!==-1)return;const ot=ct.findIndex(lt=>B(lt,le));ot===-1?U({diff:"reset"}):Be({index:ot});return}if(tt.current>=ct.length-1){Be({index:ct.length-1});return}Be({index:tt.current})}},[ct.length,I?!1:Le,S,U,Be,ft,N,I]),De=mr(oe=>{rp(be,oe),oe&&Pe()});P.useEffect(()=>{Pe()},[Pe]);const Te=oe=>{Ae||(je(!0),wt(!0),re&&re(oe))},Ne=(oe,le)=>{Ae&&(je(!1),K&&K(oe,le))},Je=(oe,le,Ee,ot)=>{if(I){if(Le.length===le.length&&Le.every((lt,It)=>lt===le[It]))return}else if(Le===le)return;J&&J(oe,le,Ee,ot),dt(le)},ke=P.useRef(!1),rt=(oe,le,Ee="selectOption",ot="options")=>{let lt=Ee,It=le;if(I){It=Array.isArray(Le)?Le.slice():[];const Nt=It.findIndex(Ln=>B(le,Ln));Nt===-1?It.push(le):ot!=="freeSolo"&&(It.splice(Nt,1),lt="removeOption")}ce(oe,It,lt),Je(oe,It,lt,{option:le}),!A&&(!oe||!oe.ctrlKey&&!oe.metaKey)&&Ne(oe,lt),(l===!0||l==="touch"&&ke.current||l==="mouse"&&!ke.current)&&ve.current.blur()};function vt(oe,le){if(oe===-1)return-1;let Ee=oe;for(;;){if(le==="next"&&Ee===Le.length||le==="previous"&&Ee===-1)return-1;const ot=Xe.querySelector(`[data-tag-index="${Ee}"]`);if(!ot||!ot.hasAttribute("tabindex")||ot.disabled||ot.getAttribute("aria-disabled")==="true")Ee+=le==="next"?1:-1;else return Ee}}const kt=(oe,le)=>{if(!I)return;N===""&&Ne(oe,"toggleInput");let Ee=He;He===-1?N===""&&le==="previous"&&(Ee=Le.length-1):(Ee+=le==="next"?1:-1,Ee<0&&(Ee=0),Ee===Le.length&&(Ee=-1)),Ee=vt(Ee,le),Ke(Ee),Dt(Ee)},Qt=oe=>{de.current=!0,$(""),ne&&ne(oe,"","clear"),Je(oe,I?[]:null,"clear")},Fe=oe=>le=>{if(oe.onKeyDown&&oe.onKeyDown(le),!le.defaultMuiPrevented&&(He!==-1&&!["ArrowLeft","ArrowRight"].includes(le.key)&&(Ke(-1),Dt(-1)),le.which!==229))switch(le.key){case"Home":ft&&R&&(le.preventDefault(),U({diff:"start",direction:"next",reason:"keyboard",event:le}));break;case"End":ft&&R&&(le.preventDefault(),U({diff:"end",direction:"previous",reason:"keyboard",event:le}));break;case"PageUp":le.preventDefault(),U({diff:-K8,direction:"previous",reason:"keyboard",event:le}),Te(le);break;case"PageDown":le.preventDefault(),U({diff:K8,direction:"next",reason:"keyboard",event:le}),Te(le);break;case"ArrowDown":le.preventDefault(),U({diff:1,direction:"next",reason:"keyboard",event:le}),Te(le);break;case"ArrowUp":le.preventDefault(),U({diff:-1,direction:"previous",reason:"keyboard",event:le}),Te(le);break;case"ArrowLeft":kt(le,"previous");break;case"ArrowRight":kt(le,"next");break;case"Enter":if(tt.current!==-1&&ft){const Ee=ct[tt.current],ot=z?z(Ee):!1;if(le.preventDefault(),ot)return;rt(le,Ee,"selectOption"),r&&ve.current.setSelectionRange(ve.current.value.length,ve.current.value.length)}else C&&N!==""&&nt===!1&&(I&&le.preventDefault(),rt(le,N,"createOption","freeSolo"));break;case"Escape":ft?(le.preventDefault(),le.stopPropagation(),Ne(le,"escape")):f&&(N!==""||I&&Le.length>0)&&(le.preventDefault(),le.stopPropagation(),Qt(le));break;case"Backspace":if(I&&!G&&N===""&&Le.length>0){const Ee=He===-1?Le.length-1:He,ot=Le.slice();ot.splice(Ee,1),Je(le,ot,"removeOption",{option:Le[Ee]})}break;case"Delete":if(I&&!G&&N===""&&Le.length>0&&He!==-1){const Ee=He,ot=Le.slice();ot.splice(Ee,1),Je(le,ot,"removeOption",{option:Le[Ee]})}break}},Rt=oe=>{ye(!0),_&&!de.current&&Te(oe)},un=oe=>{if(t(be)){ve.current.focus();return}ye(!1),xe.current=!0,de.current=!1,a&&tt.current!==-1&&ft?rt(oe,ct[tt.current],"blur"):a&&C&&N!==""?rt(oe,N,"blur","freeSolo"):u&&ce(oe,Le,"blur"),Ne(oe,"blur")},zn=oe=>{const le=oe.target.value;N!==le&&($(le),wt(!1),ne&&ne(oe,le,"input")),le===""?!m&&!I&&Je(oe,null,"clear"):Te(oe)},Gn=oe=>{const le=Number(oe.currentTarget.getAttribute("data-option-index"));tt.current!==le&&Be({event:oe,index:le,reason:"mouse"})},yn=oe=>{Be({event:oe,index:Number(oe.currentTarget.getAttribute("data-option-index")),reason:"touch"}),ke.current=!0},Mr=oe=>{const le=Number(oe.currentTarget.getAttribute("data-option-index"));rt(oe,ct[le],"selectOption"),ke.current=!1},mo=oe=>le=>{const Ee=Le.slice();Ee.splice(oe,1),Je(le,Ee,"removeOption",{option:Le[oe]})},go=oe=>{Ae?Ne(oe,"toggleInput"):Te(oe)},fs=oe=>{oe.currentTarget.contains(oe.target)&&oe.target.getAttribute("id")!==te&&oe.preventDefault()},yo=oe=>{oe.currentTarget.contains(oe.target)&&(ve.current.focus(),X&&xe.current&&ve.current.selectionEnd-ve.current.selectionStart===0&&ve.current.select(),xe.current=!1)},An=oe=>{!H&&(N===""||!Ae)&&go(oe)};let on=C&&N.length>0;on=on||(I?Le.length>0:Le!==null);let Re=ct;return k&&(Re=ct.reduce((oe,le,Ee)=>{const ot=k(le);return oe.length>0&&oe[oe.length-1].group===ot?oe[oe.length-1].options.push(le):oe.push({key:Ee,index:Ee,group:ot,options:[le]}),oe},[])),H&&se&&un(),{getRootProps:(oe={})=>({"aria-owns":We?`${te}-listbox`:null,...oe,onKeyDown:Fe(oe),onMouseDown:fs,onClick:yo}),getInputLabelProps:()=>({id:`${te}-label`,htmlFor:te}),getInputProps:()=>({id:te,value:N,onBlur:un,onFocus:Rt,onChange:zn,onMouseDown:An,"aria-activedescendant":ft?"":null,"aria-autocomplete":r?"both":"list","aria-controls":We?`${te}-listbox`:void 0,"aria-expanded":We,autoComplete:"off",ref:ve,autoCapitalize:"none",spellCheck:"false",role:"combobox",disabled:H}),getClearProps:()=>({tabIndex:-1,type:"button",onClick:Qt}),getPopupIndicatorProps:()=>({tabIndex:-1,type:"button",onClick:go}),getTagProps:({index:oe})=>({key:oe,"data-tag-index":oe,tabIndex:-1,...!G&&{onDelete:mo(oe)}}),getListboxProps:()=>({role:"listbox",id:`${te}-listbox`,"aria-labelledby":`${te}-label`,ref:De,onMouseDown:oe=>{oe.preventDefault()}}),getOptionProps:({index:oe,option:le})=>{const Ee=(I?Le:[Le]).some(lt=>lt!=null&&B(le,lt)),ot=z?z(le):!1;return{key:(O==null?void 0:O(le))??ue(le),tabIndex:-1,role:"option",id:`${te}-option-${oe}`,onMouseMove:Gn,onClick:Mr,onTouchStart:yn,"data-option-index":oe,"aria-disabled":ot,"aria-selected":Ee}},id:te,inputValue:N,value:Le,dirty:on,expanded:ft&&Xe,popupOpen:ft,focused:se||He!==-1,anchorEl:Xe,setAnchorEl:Ie,focusedTag:He,groupedOptions:Re}}var Or="top",po="bottom",vo="right",Cr="left",Sy="auto",Yu=[Or,po,vo,Cr],Dl="start",ju="end",zz="clippingParents",v1="viewport",Rc="popper",Oz="reference",_8=Yu.reduce(function(e,t){return e.concat([t+"-"+Dl,t+"-"+ju])},[]),h1=[].concat(Yu,[Sy]).reduce(function(e,t){return e.concat([t,t+"-"+Dl,t+"-"+ju])},[]),Cz="beforeRead",Dz="read",Tz="afterRead",kz="beforeMain",Rz="main",Ez="afterMain",Mz="beforeWrite",Lz="write",Xz="afterWrite",Nz=[Cz,Dz,Tz,kz,Rz,Ez,Mz,Lz,Xz];function ss(e){return e?(e.nodeName||"").toLowerCase():null}function Ur(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function da(e){var t=Ur(e).Element;return e instanceof t||e instanceof Element}function uo(e){var t=Ur(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function zy(e){if(typeof ShadowRoot>"u")return!1;var t=Ur(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function Bz(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var r=t.styles[n]||{},s=t.attributes[n]||{},a=t.elements[n];!uo(a)||!ss(a)||(Object.assign(a.style,r),Object.keys(s).forEach(function(l){var u=s[l];u===!1?a.removeAttribute(l):a.setAttribute(l,u===!0?"":u)}))})}function Vz(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(r){var s=t.elements[r],a=t.attributes[r]||{},l=Object.keys(t.styles.hasOwnProperty(r)?t.styles[r]:n[r]),u=l.reduce(function(f,p){return f[p]="",f},{});!uo(s)||!ss(s)||(Object.assign(s.style,u),Object.keys(a).forEach(function(f){s.removeAttribute(f)}))})}}const Iz={name:"applyStyles",enabled:!0,phase:"write",fn:Bz,effect:Vz,requires:["computeStyles"]};function rs(e){return e.split("-")[0]}var ia=Math.max,lp=Math.min,Tl=Math.round;function dg(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function m1(){return!/^((?!chrome|android).)*safari/i.test(dg())}function kl(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var r=e.getBoundingClientRect(),s=1,a=1;t&&uo(e)&&(s=e.offsetWidth>0&&Tl(r.width)/e.offsetWidth||1,a=e.offsetHeight>0&&Tl(r.height)/e.offsetHeight||1);var l=da(e)?Ur(e):window,u=l.visualViewport,f=!m1()&&n,p=(r.left+(f&&u?u.offsetLeft:0))/s,h=(r.top+(f&&u?u.offsetTop:0))/a,m=r.width/s,A=r.height/a;return{width:m,height:A,top:h,right:p+m,bottom:h+A,left:p,x:p,y:h}}function Oy(e){var t=kl(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function g1(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&zy(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function Rs(e){return Ur(e).getComputedStyle(e)}function Wz(e){return["table","td","th"].indexOf(ss(e))>=0}function wi(e){return((da(e)?e.ownerDocument:e.document)||window.document).documentElement}function qp(e){return ss(e)==="html"?e:e.assignedSlot||e.parentNode||(zy(e)?e.host:null)||wi(e)}function $8(e){return!uo(e)||Rs(e).position==="fixed"?null:e.offsetParent}function Jz(e){var t=/firefox/i.test(dg()),n=/Trident/i.test(dg());if(n&&uo(e)){var r=Rs(e);if(r.position==="fixed")return null}var s=qp(e);for(zy(s)&&(s=s.host);uo(s)&&["html","body"].indexOf(ss(s))<0;){var a=Rs(s);if(a.transform!=="none"||a.perspective!=="none"||a.contain==="paint"||["transform","perspective"].indexOf(a.willChange)!==-1||t&&a.willChange==="filter"||t&&a.filter&&a.filter!=="none")return s;s=s.parentNode}return null}function qu(e){for(var t=Ur(e),n=$8(e);n&&Wz(n)&&Rs(n).position==="static";)n=$8(n);return n&&(ss(n)==="html"||ss(n)==="body"&&Rs(n).position==="static")?t:n||Jz(e)||t}function Cy(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function uu(e,t,n){return ia(e,lp(t,n))}function Fz(e,t,n){var r=uu(e,t,n);return r>n?n:r}function y1(){return{top:0,right:0,bottom:0,left:0}}function A1(e){return Object.assign({},y1(),e)}function P1(e,t){return t.reduce(function(n,r){return n[r]=e,n},{})}var Yz=function(t,n){return t=typeof t=="function"?t(Object.assign({},n.rects,{placement:n.placement})):t,A1(typeof t!="number"?t:P1(t,Yu))};function qz(e){var t,n=e.state,r=e.name,s=e.options,a=n.elements.arrow,l=n.modifiersData.popperOffsets,u=rs(n.placement),f=Cy(u),p=[Cr,vo].indexOf(u)>=0,h=p?"height":"width";if(!(!a||!l)){var m=Yz(s.padding,n),A=Oy(a),H=f==="y"?Or:Cr,y=f==="y"?po:vo,w=n.rects.reference[h]+n.rects.reference[f]-l[f]-n.rects.popper[h],x=l[f]-n.rects.reference[f],S=qu(a),C=S?f==="y"?S.clientHeight||0:S.clientWidth||0:0,z=w/2-x/2,O=m[H],D=C-A[h]-m[y],k=C/2-A[h]/2+z,R=uu(O,k,D),M=f;n.modifiersData[r]=(t={},t[M]=R,t.centerOffset=R-k,t)}}function Zz(e){var t=e.state,n=e.options,r=n.element,s=r===void 0?"[data-popper-arrow]":r;s!=null&&(typeof s=="string"&&(s=t.elements.popper.querySelector(s),!s)||g1(t.elements.popper,s)&&(t.elements.arrow=s))}const Gz={name:"arrow",enabled:!0,phase:"main",fn:qz,effect:Zz,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Rl(e){return e.split("-")[1]}var Uz={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Qz(e,t){var n=e.x,r=e.y,s=t.devicePixelRatio||1;return{x:Tl(n*s)/s||0,y:Tl(r*s)/s||0}}function ex(e){var t,n=e.popper,r=e.popperRect,s=e.placement,a=e.variation,l=e.offsets,u=e.position,f=e.gpuAcceleration,p=e.adaptive,h=e.roundOffsets,m=e.isFixed,A=l.x,H=A===void 0?0:A,y=l.y,w=y===void 0?0:y,x=typeof h=="function"?h({x:H,y:w}):{x:H,y:w};H=x.x,w=x.y;var S=l.hasOwnProperty("x"),C=l.hasOwnProperty("y"),z=Cr,O=Or,D=window;if(p){var k=qu(n),R="clientHeight",M="clientWidth";if(k===Ur(n)&&(k=wi(n),Rs(k).position!=="static"&&u==="absolute"&&(R="scrollHeight",M="scrollWidth")),k=k,s===Or||(s===Cr||s===vo)&&a===ju){O=po;var L=m&&k===D&&D.visualViewport?D.visualViewport.height:k[R];w-=L-r.height,w*=f?1:-1}if(s===Cr||(s===Or||s===po)&&a===ju){z=vo;var j=m&&k===D&&D.visualViewport?D.visualViewport.width:k[M];H-=j-r.width,H*=f?1:-1}}var B=Object.assign({position:u},p&&Uz),I=h===!0?Qz({x:H,y:w},Ur(n)):{x:H,y:w};if(H=I.x,w=I.y,f){var J;return Object.assign({},B,(J={},J[O]=C?"0":"",J[z]=S?"0":"",J.transform=(D.devicePixelRatio||1)<=1?"translate("+H+"px, "+w+"px)":"translate3d("+H+"px, "+w+"px, 0)",J))}return Object.assign({},B,(t={},t[O]=C?w+"px":"",t[z]=S?H+"px":"",t.transform="",t))}function Kz(e){var t=e.state,n=e.options,r=n.gpuAcceleration,s=r===void 0?!0:r,a=n.adaptive,l=a===void 0?!0:a,u=n.roundOffsets,f=u===void 0?!0:u,p={placement:rs(t.placement),variation:Rl(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:s,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,ex(Object.assign({},p,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:l,roundOffsets:f})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,ex(Object.assign({},p,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:f})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const _z={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Kz,data:{}};var yd={passive:!0};function $z(e){var t=e.state,n=e.instance,r=e.options,s=r.scroll,a=s===void 0?!0:s,l=r.resize,u=l===void 0?!0:l,f=Ur(t.elements.popper),p=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&p.forEach(function(h){h.addEventListener("scroll",n.update,yd)}),u&&f.addEventListener("resize",n.update,yd),function(){a&&p.forEach(function(h){h.removeEventListener("scroll",n.update,yd)}),u&&f.removeEventListener("resize",n.update,yd)}}const eO={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:$z,data:{}};var tO={left:"right",right:"left",bottom:"top",top:"bottom"};function Bd(e){return e.replace(/left|right|bottom|top/g,function(t){return tO[t]})}var nO={start:"end",end:"start"};function tx(e){return e.replace(/start|end/g,function(t){return nO[t]})}function Dy(e){var t=Ur(e),n=t.pageXOffset,r=t.pageYOffset;return{scrollLeft:n,scrollTop:r}}function Ty(e){return kl(wi(e)).left+Dy(e).scrollLeft}function rO(e,t){var n=Ur(e),r=wi(e),s=n.visualViewport,a=r.clientWidth,l=r.clientHeight,u=0,f=0;if(s){a=s.width,l=s.height;var p=m1();(p||!p&&t==="fixed")&&(u=s.offsetLeft,f=s.offsetTop)}return{width:a,height:l,x:u+Ty(e),y:f}}function oO(e){var t,n=wi(e),r=Dy(e),s=(t=e.ownerDocument)==null?void 0:t.body,a=ia(n.scrollWidth,n.clientWidth,s?s.scrollWidth:0,s?s.clientWidth:0),l=ia(n.scrollHeight,n.clientHeight,s?s.scrollHeight:0,s?s.clientHeight:0),u=-r.scrollLeft+Ty(e),f=-r.scrollTop;return Rs(s||n).direction==="rtl"&&(u+=ia(n.clientWidth,s?s.clientWidth:0)-a),{width:a,height:l,x:u,y:f}}function ky(e){var t=Rs(e),n=t.overflow,r=t.overflowX,s=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+s+r)}function b1(e){return["html","body","#document"].indexOf(ss(e))>=0?e.ownerDocument.body:uo(e)&&ky(e)?e:b1(qp(e))}function fu(e,t){var n;t===void 0&&(t=[]);var r=b1(e),s=r===((n=e.ownerDocument)==null?void 0:n.body),a=Ur(r),l=s?[a].concat(a.visualViewport||[],ky(r)?r:[]):r,u=t.concat(l);return s?u:u.concat(fu(qp(l)))}function pg(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function sO(e,t){var n=kl(e,!1,t==="fixed");return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}function nx(e,t,n){return t===v1?pg(rO(e,n)):da(t)?sO(t,n):pg(oO(wi(e)))}function iO(e){var t=fu(qp(e)),n=["absolute","fixed"].indexOf(Rs(e).position)>=0,r=n&&uo(e)?qu(e):e;return da(r)?t.filter(function(s){return da(s)&&g1(s,r)&&ss(s)!=="body"}):[]}function aO(e,t,n,r){var s=t==="clippingParents"?iO(e):[].concat(t),a=[].concat(s,[n]),l=a[0],u=a.reduce(function(f,p){var h=nx(e,p,r);return f.top=ia(h.top,f.top),f.right=lp(h.right,f.right),f.bottom=lp(h.bottom,f.bottom),f.left=ia(h.left,f.left),f},nx(e,l,r));return u.width=u.right-u.left,u.height=u.bottom-u.top,u.x=u.left,u.y=u.top,u}function x1(e){var t=e.reference,n=e.element,r=e.placement,s=r?rs(r):null,a=r?Rl(r):null,l=t.x+t.width/2-n.width/2,u=t.y+t.height/2-n.height/2,f;switch(s){case Or:f={x:l,y:t.y-n.height};break;case po:f={x:l,y:t.y+t.height};break;case vo:f={x:t.x+t.width,y:u};break;case Cr:f={x:t.x-n.width,y:u};break;default:f={x:t.x,y:t.y}}var p=s?Cy(s):null;if(p!=null){var h=p==="y"?"height":"width";switch(a){case Dl:f[p]=f[p]-(t[h]/2-n[h]/2);break;case ju:f[p]=f[p]+(t[h]/2-n[h]/2);break}}return f}function Su(e,t){t===void 0&&(t={});var n=t,r=n.placement,s=r===void 0?e.placement:r,a=n.strategy,l=a===void 0?e.strategy:a,u=n.boundary,f=u===void 0?zz:u,p=n.rootBoundary,h=p===void 0?v1:p,m=n.elementContext,A=m===void 0?Rc:m,H=n.altBoundary,y=H===void 0?!1:H,w=n.padding,x=w===void 0?0:w,S=A1(typeof x!="number"?x:P1(x,Yu)),C=A===Rc?Oz:Rc,z=e.rects.popper,O=e.elements[y?C:A],D=aO(da(O)?O:O.contextElement||wi(e.elements.popper),f,h,l),k=kl(e.elements.reference),R=x1({reference:k,element:z,strategy:"absolute",placement:s}),M=pg(Object.assign({},z,R)),L=A===Rc?M:k,j={top:D.top-L.top+S.top,bottom:L.bottom-D.bottom+S.bottom,left:D.left-L.left+S.left,right:L.right-D.right+S.right},B=e.modifiersData.offset;if(A===Rc&&B){var I=B[s];Object.keys(j).forEach(function(J){var K=[vo,po].indexOf(J)>=0?1:-1,W=[Or,po].indexOf(J)>=0?"y":"x";j[J]+=I[W]*K})}return j}function lO(e,t){t===void 0&&(t={});var n=t,r=n.placement,s=n.boundary,a=n.rootBoundary,l=n.padding,u=n.flipVariations,f=n.allowedAutoPlacements,p=f===void 0?h1:f,h=Rl(r),m=h?u?_8:_8.filter(function(y){return Rl(y)===h}):Yu,A=m.filter(function(y){return p.indexOf(y)>=0});A.length===0&&(A=m);var H=A.reduce(function(y,w){return y[w]=Su(e,{placement:w,boundary:s,rootBoundary:a,padding:l})[rs(w)],y},{});return Object.keys(H).sort(function(y,w){return H[y]-H[w]})}function cO(e){if(rs(e)===Sy)return[];var t=Bd(e);return[tx(e),t,tx(t)]}function uO(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var s=n.mainAxis,a=s===void 0?!0:s,l=n.altAxis,u=l===void 0?!0:l,f=n.fallbackPlacements,p=n.padding,h=n.boundary,m=n.rootBoundary,A=n.altBoundary,H=n.flipVariations,y=H===void 0?!0:H,w=n.allowedAutoPlacements,x=t.options.placement,S=rs(x),C=S===x,z=f||(C||!y?[Bd(x)]:cO(x)),O=[x].concat(z).reduce(function(te,ue){return te.concat(rs(ue)===Sy?lO(t,{placement:ue,boundary:h,rootBoundary:m,padding:p,flipVariations:y,allowedAutoPlacements:w}):ue)},[]),D=t.rects.reference,k=t.rects.popper,R=new Map,M=!0,L=O[0],j=0;j=0,W=K?"width":"height",ne=Su(t,{placement:B,boundary:h,rootBoundary:m,altBoundary:A,padding:p}),re=K?J?vo:Cr:J?po:Or;D[W]>k[W]&&(re=Bd(re));var F=Bd(re),_=[];if(a&&_.push(ne[I]<=0),u&&_.push(ne[re]<=0,ne[F]<=0),_.every(function(te){return te})){L=B,M=!1;break}R.set(B,_)}if(M)for(var E=y?3:1,G=function(ue){var de=O.find(function(xe){var ve=R.get(xe);if(ve)return ve.slice(0,ue).every(function(be){return be})});if(de)return L=de,"break"},X=E;X>0;X--){var ee=G(X);if(ee==="break")break}t.placement!==L&&(t.modifiersData[r]._skip=!0,t.placement=L,t.reset=!0)}}const fO={name:"flip",enabled:!0,phase:"main",fn:uO,requiresIfExists:["offset"],data:{_skip:!1}};function rx(e,t,n){return n===void 0&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function ox(e){return[Or,vo,po,Cr].some(function(t){return e[t]>=0})}function dO(e){var t=e.state,n=e.name,r=t.rects.reference,s=t.rects.popper,a=t.modifiersData.preventOverflow,l=Su(t,{elementContext:"reference"}),u=Su(t,{altBoundary:!0}),f=rx(l,r),p=rx(u,s,a),h=ox(f),m=ox(p);t.modifiersData[n]={referenceClippingOffsets:f,popperEscapeOffsets:p,isReferenceHidden:h,hasPopperEscaped:m},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":h,"data-popper-escaped":m})}const pO={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:dO};function vO(e,t,n){var r=rs(e),s=[Cr,Or].indexOf(r)>=0?-1:1,a=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,l=a[0],u=a[1];return l=l||0,u=(u||0)*s,[Cr,vo].indexOf(r)>=0?{x:u,y:l}:{x:l,y:u}}function hO(e){var t=e.state,n=e.options,r=e.name,s=n.offset,a=s===void 0?[0,0]:s,l=h1.reduce(function(h,m){return h[m]=vO(m,t.rects,a),h},{}),u=l[t.placement],f=u.x,p=u.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=f,t.modifiersData.popperOffsets.y+=p),t.modifiersData[r]=l}const mO={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:hO};function gO(e){var t=e.state,n=e.name;t.modifiersData[n]=x1({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}const yO={name:"popperOffsets",enabled:!0,phase:"read",fn:gO,data:{}};function AO(e){return e==="x"?"y":"x"}function PO(e){var t=e.state,n=e.options,r=e.name,s=n.mainAxis,a=s===void 0?!0:s,l=n.altAxis,u=l===void 0?!1:l,f=n.boundary,p=n.rootBoundary,h=n.altBoundary,m=n.padding,A=n.tether,H=A===void 0?!0:A,y=n.tetherOffset,w=y===void 0?0:y,x=Su(t,{boundary:f,rootBoundary:p,padding:m,altBoundary:h}),S=rs(t.placement),C=Rl(t.placement),z=!C,O=Cy(S),D=AO(O),k=t.modifiersData.popperOffsets,R=t.rects.reference,M=t.rects.popper,L=typeof w=="function"?w(Object.assign({},t.rects,{placement:t.placement})):w,j=typeof L=="number"?{mainAxis:L,altAxis:L}:Object.assign({mainAxis:0,altAxis:0},L),B=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,I={x:0,y:0};if(k){if(a){var J,K=O==="y"?Or:Cr,W=O==="y"?po:vo,ne=O==="y"?"height":"width",re=k[O],F=re+x[K],_=re-x[W],E=H?-M[ne]/2:0,G=C===Dl?R[ne]:M[ne],X=C===Dl?-M[ne]:-R[ne],ee=t.elements.arrow,te=H&&ee?Oy(ee):{width:0,height:0},ue=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:y1(),de=ue[K],xe=ue[W],ve=uu(0,R[ne],te[ne]),be=z?R[ne]/2-E-ve-de-j.mainAxis:G-ve-de-j.mainAxis,Xe=z?-R[ne]/2+E+ve+xe+j.mainAxis:X+ve+xe+j.mainAxis,Ie=t.elements.arrow&&qu(t.elements.arrow),He=Ie?O==="y"?Ie.clientTop||0:Ie.clientLeft||0:0,Ke=(J=B==null?void 0:B[O])!=null?J:0,we=re+be-Ke-He,tt=re+Xe-Ke,Le=uu(H?lp(F,we):F,re,H?ia(_,tt):_);k[O]=Le,I[O]=Le-re}if(u){var dt,N=O==="x"?Or:Cr,$=O==="x"?po:vo,se=k[D],ye=D==="y"?"height":"width",ce=se+x[N],Ae=se-x[$],je=[Or,Cr].indexOf(S)!==-1,st=(dt=B==null?void 0:B[D])!=null?dt:0,wt=je?ce:se-R[ye]-M[ye]-st+j.altAxis,nt=je?se+R[ye]+M[ye]-st-j.altAxis:Ae,ft=H&&je?Fz(wt,se,nt):uu(H?wt:ce,se,H?nt:Ae);k[D]=ft,I[D]=ft-se}t.modifiersData[r]=I}}const bO={name:"preventOverflow",enabled:!0,phase:"main",fn:PO,requiresIfExists:["offset"]};function xO(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function wO(e){return e===Ur(e)||!uo(e)?Dy(e):xO(e)}function HO(e){var t=e.getBoundingClientRect(),n=Tl(t.width)/e.offsetWidth||1,r=Tl(t.height)/e.offsetHeight||1;return n!==1||r!==1}function jO(e,t,n){n===void 0&&(n=!1);var r=uo(t),s=uo(t)&&HO(t),a=wi(t),l=kl(e,s,n),u={scrollLeft:0,scrollTop:0},f={x:0,y:0};return(r||!r&&!n)&&((ss(t)!=="body"||ky(a))&&(u=wO(t)),uo(t)?(f=kl(t,!0),f.x+=t.clientLeft,f.y+=t.clientTop):a&&(f.x=Ty(a))),{x:l.left+u.scrollLeft-f.x,y:l.top+u.scrollTop-f.y,width:l.width,height:l.height}}function SO(e){var t=new Map,n=new Set,r=[];e.forEach(function(a){t.set(a.name,a)});function s(a){n.add(a.name);var l=[].concat(a.requires||[],a.requiresIfExists||[]);l.forEach(function(u){if(!n.has(u)){var f=t.get(u);f&&s(f)}}),r.push(a)}return e.forEach(function(a){n.has(a.name)||s(a)}),r}function zO(e){var t=SO(e);return Nz.reduce(function(n,r){return n.concat(t.filter(function(s){return s.phase===r}))},[])}function OO(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function CO(e){var t=e.reduce(function(n,r){var s=n[r.name];return n[r.name]=s?Object.assign({},s,r,{options:Object.assign({},s.options,r.options),data:Object.assign({},s.data,r.data)}):r,n},{});return Object.keys(t).map(function(n){return t[n]})}var sx={placement:"bottom",modifiers:[],strategy:"absolute"};function ix(){for(var e=arguments.length,t=new Array(e),n=0;n{a||u(RO(s)||document.body)},[s,a]),fo(()=>{if(l&&!a)return rp(n,l),()=>{rp(n,null)}},[n,l,a]),a){if(P.isValidElement(r)){const p={ref:f};return P.cloneElement(r,p)}return r}return l&&d1.createPortal(r,l)});function EO(e){return Ze("MuiPopper",e)}Ge("MuiPopper",["root"]);function MO(e,t){if(t==="ltr")return e;switch(e){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return e}}function vg(e){return typeof e=="function"?e():e}function LO(e){return e.nodeType!==void 0}const XO=e=>{const{classes:t}=e;return Qe({root:["root"]},EO,t)},NO={},BO=P.forwardRef(function(t,n){const{anchorEl:r,children:s,direction:a,disablePortal:l,modifiers:u,open:f,placement:p,popperOptions:h,popperRef:m,slotProps:A={},slots:H={},TransitionProps:y,ownerState:w,...x}=t,S=P.useRef(null),C=rn(S,n),z=P.useRef(null),O=rn(z,m),D=P.useRef(O);fo(()=>{D.current=O},[O]),P.useImperativeHandle(m,()=>z.current,[]);const k=MO(p,a),[R,M]=P.useState(k),[L,j]=P.useState(vg(r));P.useEffect(()=>{z.current&&z.current.forceUpdate()}),P.useEffect(()=>{r&&j(vg(r))},[r]),fo(()=>{if(!L||!f)return;const W=F=>{M(F.placement)};let ne=[{name:"preventOverflow",options:{altBoundary:l}},{name:"flip",options:{altBoundary:l}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:F})=>{W(F)}}];u!=null&&(ne=ne.concat(u)),h&&h.modifiers!=null&&(ne=ne.concat(h.modifiers));const re=kO(L,S.current,{placement:k,...h,modifiers:ne});return D.current(re),()=>{re.destroy(),D.current(null)}},[L,l,u,f,h,k]);const B={placement:R};y!==null&&(B.TransitionProps=y);const I=XO(t),J=H.root??"div",K=sp({elementType:J,externalSlotProps:A.root,externalForwardedProps:x,additionalProps:{role:"tooltip",ref:C},ownerState:t,className:I.root});return v.jsx(J,{...K,children:typeof s=="function"?s(B):s})}),VO=P.forwardRef(function(t,n){const{anchorEl:r,children:s,container:a,direction:l="ltr",disablePortal:u=!1,keepMounted:f=!1,modifiers:p,open:h,placement:m="bottom",popperOptions:A=NO,popperRef:H,style:y,transition:w=!1,slotProps:x={},slots:S={},...C}=t,[z,O]=P.useState(!0),D=()=>{O(!1)},k=()=>{O(!0)};if(!f&&!h&&(!w||z))return null;let R;if(a)R=a;else if(r){const j=vg(r);R=j&&LO(j)?ir(j).body:ir(null).body}const M=!h&&f&&(!w||z)?"none":void 0,L=w?{in:h,onEnter:D,onExited:k}:void 0;return v.jsx(w1,{disablePortal:u,container:R,children:v.jsx(BO,{anchorEl:r,direction:l,disablePortal:u,modifiers:p,ref:n,open:w?!z:h,placement:m,popperOptions:A,popperRef:H,slotProps:x,slots:S,...C,style:{position:"fixed",top:0,left:0,display:M,...y},TransitionProps:L,children:s})})}),IO=pe(VO,{name:"MuiPopper",slot:"Root",overridesResolver:(e,t)=>t.root})({}),Zp=P.forwardRef(function(t,n){const r=Ju(),s=$e({props:t,name:"MuiPopper"}),{anchorEl:a,component:l,components:u,componentsProps:f,container:p,disablePortal:h,keepMounted:m,modifiers:A,open:H,placement:y,popperOptions:w,popperRef:x,transition:S,slots:C,slotProps:z,...O}=s,D=(C==null?void 0:C.root)??(u==null?void 0:u.Root),k={anchorEl:a,container:p,disablePortal:h,keepMounted:m,modifiers:A,open:H,placement:y,popperOptions:w,popperRef:x,transition:S,...O};return v.jsx(IO,{as:l,direction:r?"rtl":"ltr",slots:{root:D},slotProps:z??f,...k,ref:n})});function WO(e){return Ze("MuiListSubheader",e)}Ge("MuiListSubheader",["root","colorPrimary","colorInherit","gutters","inset","sticky"]);const JO=e=>{const{classes:t,color:n,disableGutters:r,inset:s,disableSticky:a}=e,l={root:["root",n!=="default"&&`color${me(n)}`,!r&&"gutters",s&&"inset",!a&&"sticky"]};return Qe(l,WO,t)},FO=pe("li",{name:"MuiListSubheader",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color!=="default"&&t[`color${me(n.color)}`],!n.disableGutters&&t.gutters,n.inset&&t.inset,!n.disableSticky&&t.sticky]}})(Ue(({theme:e})=>({boxSizing:"border-box",lineHeight:"48px",listStyle:"none",color:(e.vars||e).palette.text.secondary,fontFamily:e.typography.fontFamily,fontWeight:e.typography.fontWeightMedium,fontSize:e.typography.pxToRem(14),variants:[{props:{color:"primary"},style:{color:(e.vars||e).palette.primary.main}},{props:{color:"inherit"},style:{color:"inherit"}},{props:({ownerState:t})=>!t.disableGutters,style:{paddingLeft:16,paddingRight:16}},{props:({ownerState:t})=>t.inset,style:{paddingLeft:72}},{props:({ownerState:t})=>!t.disableSticky,style:{position:"sticky",top:0,zIndex:1,backgroundColor:(e.vars||e).palette.background.paper}}]}))),hg=P.forwardRef(function(t,n){const r=$e({props:t,name:"MuiListSubheader"}),{className:s,color:a="default",component:l="li",disableGutters:u=!1,disableSticky:f=!1,inset:p=!1,...h}=r,m={...r,color:a,component:l,disableGutters:u,disableSticky:f,inset:p},A=JO(m);return v.jsx(FO,{as:l,className:Oe(A.root,s),ref:n,ownerState:m,...h})});hg&&(hg.muiSkipListHighlight=!0);const YO=At(v.jsx("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"}),"Cancel");function qO(e){return Ze("MuiChip",e)}const Mt=Ge("MuiChip",["root","sizeSmall","sizeMedium","colorDefault","colorError","colorInfo","colorPrimary","colorSecondary","colorSuccess","colorWarning","disabled","clickable","clickableColorPrimary","clickableColorSecondary","deletable","deletableColorPrimary","deletableColorSecondary","outlined","filled","outlinedPrimary","outlinedSecondary","filledPrimary","filledSecondary","avatar","avatarSmall","avatarMedium","avatarColorPrimary","avatarColorSecondary","icon","iconSmall","iconMedium","iconColorPrimary","iconColorSecondary","label","labelSmall","labelMedium","deleteIcon","deleteIconSmall","deleteIconMedium","deleteIconColorPrimary","deleteIconColorSecondary","deleteIconOutlinedColorPrimary","deleteIconOutlinedColorSecondary","deleteIconFilledColorPrimary","deleteIconFilledColorSecondary","focusVisible"]),ZO=e=>{const{classes:t,disabled:n,size:r,color:s,iconColor:a,onDelete:l,clickable:u,variant:f}=e,p={root:["root",f,n&&"disabled",`size${me(r)}`,`color${me(s)}`,u&&"clickable",u&&`clickableColor${me(s)}`,l&&"deletable",l&&`deletableColor${me(s)}`,`${f}${me(s)}`],label:["label",`label${me(r)}`],avatar:["avatar",`avatar${me(r)}`,`avatarColor${me(s)}`],icon:["icon",`icon${me(r)}`,`iconColor${me(a)}`],deleteIcon:["deleteIcon",`deleteIcon${me(r)}`,`deleteIconColor${me(s)}`,`deleteIcon${me(f)}Color${me(s)}`]};return Qe(p,qO,t)},GO=pe("div",{name:"MuiChip",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e,{color:r,iconColor:s,clickable:a,onDelete:l,size:u,variant:f}=n;return[{[`& .${Mt.avatar}`]:t.avatar},{[`& .${Mt.avatar}`]:t[`avatar${me(u)}`]},{[`& .${Mt.avatar}`]:t[`avatarColor${me(r)}`]},{[`& .${Mt.icon}`]:t.icon},{[`& .${Mt.icon}`]:t[`icon${me(u)}`]},{[`& .${Mt.icon}`]:t[`iconColor${me(s)}`]},{[`& .${Mt.deleteIcon}`]:t.deleteIcon},{[`& .${Mt.deleteIcon}`]:t[`deleteIcon${me(u)}`]},{[`& .${Mt.deleteIcon}`]:t[`deleteIconColor${me(r)}`]},{[`& .${Mt.deleteIcon}`]:t[`deleteIcon${me(f)}Color${me(r)}`]},t.root,t[`size${me(u)}`],t[`color${me(r)}`],a&&t.clickable,a&&r!=="default"&&t[`clickableColor${me(r)})`],l&&t.deletable,l&&r!=="default"&&t[`deletableColor${me(r)}`],t[f],t[`${f}${me(r)}`]]}})(Ue(({theme:e})=>{const t=e.palette.mode==="light"?e.palette.grey[700]:e.palette.grey[300];return{maxWidth:"100%",fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(13),display:"inline-flex",alignItems:"center",justifyContent:"center",height:32,color:(e.vars||e).palette.text.primary,backgroundColor:(e.vars||e).palette.action.selected,borderRadius:32/2,whiteSpace:"nowrap",transition:e.transitions.create(["background-color","box-shadow"]),cursor:"unset",outline:0,textDecoration:"none",border:0,padding:0,verticalAlign:"middle",boxSizing:"border-box",[`&.${Mt.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity,pointerEvents:"none"},[`& .${Mt.avatar}`]:{marginLeft:5,marginRight:-6,width:24,height:24,color:e.vars?e.vars.palette.Chip.defaultAvatarColor:t,fontSize:e.typography.pxToRem(12)},[`& .${Mt.avatarColorPrimary}`]:{color:(e.vars||e).palette.primary.contrastText,backgroundColor:(e.vars||e).palette.primary.dark},[`& .${Mt.avatarColorSecondary}`]:{color:(e.vars||e).palette.secondary.contrastText,backgroundColor:(e.vars||e).palette.secondary.dark},[`& .${Mt.avatarSmall}`]:{marginLeft:4,marginRight:-4,width:18,height:18,fontSize:e.typography.pxToRem(10)},[`& .${Mt.icon}`]:{marginLeft:5,marginRight:-6},[`& .${Mt.deleteIcon}`]:{WebkitTapHighlightColor:"transparent",color:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / 0.26)`:Pt(e.palette.text.primary,.26),fontSize:22,cursor:"pointer",margin:"0 5px 0 -6px","&:hover":{color:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / 0.4)`:Pt(e.palette.text.primary,.4)}},variants:[{props:{size:"small"},style:{height:24,[`& .${Mt.icon}`]:{fontSize:18,marginLeft:4,marginRight:-4},[`& .${Mt.deleteIcon}`]:{fontSize:16,marginRight:4,marginLeft:-4}}},...Object.entries(e.palette).filter(mn(["contrastText"])).map(([n])=>({props:{color:n},style:{backgroundColor:(e.vars||e).palette[n].main,color:(e.vars||e).palette[n].contrastText,[`& .${Mt.deleteIcon}`]:{color:e.vars?`rgba(${e.vars.palette[n].contrastTextChannel} / 0.7)`:Pt(e.palette[n].contrastText,.7),"&:hover, &:active":{color:(e.vars||e).palette[n].contrastText}}}})),{props:n=>n.iconColor===n.color,style:{[`& .${Mt.icon}`]:{color:e.vars?e.vars.palette.Chip.defaultIconColor:t}}},{props:n=>n.iconColor===n.color&&n.color!=="default",style:{[`& .${Mt.icon}`]:{color:"inherit"}}},{props:{onDelete:!0},style:{[`&.${Mt.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Pt(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}}},...Object.entries(e.palette).filter(mn(["dark"])).map(([n])=>({props:{color:n,onDelete:!0},style:{[`&.${Mt.focusVisible}`]:{background:(e.vars||e).palette[n].dark}}})),{props:{clickable:!0},style:{userSelect:"none",WebkitTapHighlightColor:"transparent",cursor:"pointer","&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:Pt(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity)},[`&.${Mt.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Pt(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)},"&:active":{boxShadow:(e.vars||e).shadows[1]}}},...Object.entries(e.palette).filter(mn(["dark"])).map(([n])=>({props:{color:n,clickable:!0},style:{[`&:hover, &.${Mt.focusVisible}`]:{backgroundColor:(e.vars||e).palette[n].dark}}})),{props:{variant:"outlined"},style:{backgroundColor:"transparent",border:e.vars?`1px solid ${e.vars.palette.Chip.defaultBorder}`:`1px solid ${e.palette.mode==="light"?e.palette.grey[400]:e.palette.grey[700]}`,[`&.${Mt.clickable}:hover`]:{backgroundColor:(e.vars||e).palette.action.hover},[`&.${Mt.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`& .${Mt.avatar}`]:{marginLeft:4},[`& .${Mt.avatarSmall}`]:{marginLeft:2},[`& .${Mt.icon}`]:{marginLeft:4},[`& .${Mt.iconSmall}`]:{marginLeft:2},[`& .${Mt.deleteIcon}`]:{marginRight:5},[`& .${Mt.deleteIconSmall}`]:{marginRight:3}}},...Object.entries(e.palette).filter(mn()).map(([n])=>({props:{variant:"outlined",color:n},style:{color:(e.vars||e).palette[n].main,border:`1px solid ${e.vars?`rgba(${e.vars.palette[n].mainChannel} / 0.7)`:Pt(e.palette[n].main,.7)}`,[`&.${Mt.clickable}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette[n].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Pt(e.palette[n].main,e.palette.action.hoverOpacity)},[`&.${Mt.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette[n].mainChannel} / ${e.vars.palette.action.focusOpacity})`:Pt(e.palette[n].main,e.palette.action.focusOpacity)},[`& .${Mt.deleteIcon}`]:{color:e.vars?`rgba(${e.vars.palette[n].mainChannel} / 0.7)`:Pt(e.palette[n].main,.7),"&:hover, &:active":{color:(e.vars||e).palette[n].main}}}}))]}})),UO=pe("span",{name:"MuiChip",slot:"Label",overridesResolver:(e,t)=>{const{ownerState:n}=e,{size:r}=n;return[t.label,t[`label${me(r)}`]]}})({overflow:"hidden",textOverflow:"ellipsis",paddingLeft:12,paddingRight:12,whiteSpace:"nowrap",variants:[{props:{variant:"outlined"},style:{paddingLeft:11,paddingRight:11}},{props:{size:"small"},style:{paddingLeft:8,paddingRight:8}},{props:{size:"small",variant:"outlined"},style:{paddingLeft:7,paddingRight:7}}]});function ax(e){return e.key==="Backspace"||e.key==="Delete"}const Zu=P.forwardRef(function(t,n){const r=$e({props:t,name:"MuiChip"}),{avatar:s,className:a,clickable:l,color:u="default",component:f,deleteIcon:p,disabled:h=!1,icon:m,label:A,onClick:H,onDelete:y,onKeyDown:w,onKeyUp:x,size:S="medium",variant:C="filled",tabIndex:z,skipFocusWhenDisabled:O=!1,...D}=r,k=P.useRef(null),R=rn(k,n),M=_=>{_.stopPropagation(),y&&y(_)},L=_=>{_.currentTarget===_.target&&ax(_)&&_.preventDefault(),w&&w(_)},j=_=>{_.currentTarget===_.target&&y&&ax(_)&&y(_),x&&x(_)},B=l!==!1&&H?!0:l,I=B||y?fa:f||"div",J={...r,component:I,disabled:h,size:S,color:u,iconColor:P.isValidElement(m)&&m.props.color||u,onDelete:!!y,clickable:B,variant:C},K=ZO(J),W=I===fa?{component:f||"div",focusVisibleClassName:K.focusVisible,...y&&{disableRipple:!0}}:{};let ne=null;y&&(ne=p&&P.isValidElement(p)?P.cloneElement(p,{className:Oe(p.props.className,K.deleteIcon),onClick:M}):v.jsx(YO,{className:Oe(K.deleteIcon),onClick:M}));let re=null;s&&P.isValidElement(s)&&(re=P.cloneElement(s,{className:Oe(K.avatar,s.props.className)}));let F=null;return m&&P.isValidElement(m)&&(F=P.cloneElement(m,{className:Oe(K.icon,m.props.className)})),v.jsxs(GO,{as:I,className:Oe(K.root,a),disabled:B&&h?!0:void 0,onClick:H,onKeyDown:L,onKeyUp:j,ref:R,tabIndex:O&&h?-1:z,ownerState:J,...W,...D,children:[re||F,v.jsx(UO,{className:Oe(K.label),ownerState:J,children:A}),ne]})});function Ad(e){return parseInt(e,10)||0}const QO={shadow:{visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"}};function KO(e){return e==null||Object.keys(e).length===0||e.outerHeightStyle===0&&!e.overflowing}const _O=P.forwardRef(function(t,n){const{onChange:r,maxRows:s,minRows:a=1,style:l,value:u,...f}=t,{current:p}=P.useRef(u!=null),h=P.useRef(null),m=rn(n,h),A=P.useRef(null),H=P.useRef(null),y=P.useCallback(()=>{const S=h.current,z=Mo(S).getComputedStyle(S);if(z.width==="0px")return{outerHeightStyle:0,overflowing:!1};const O=H.current;O.style.width=z.width,O.value=S.value||t.placeholder||"x",O.value.slice(-1)===` +`&&(O.value+=" ");const D=z.boxSizing,k=Ad(z.paddingBottom)+Ad(z.paddingTop),R=Ad(z.borderBottomWidth)+Ad(z.borderTopWidth),M=O.scrollHeight;O.value="x";const L=O.scrollHeight;let j=M;a&&(j=Math.max(Number(a)*L,j)),s&&(j=Math.min(Number(s)*L,j)),j=Math.max(j,L);const B=j+(D==="border-box"?k+R:0),I=Math.abs(j-M)<=1;return{outerHeightStyle:B,overflowing:I}},[s,a,t.placeholder]),w=P.useCallback(()=>{const S=y();if(KO(S))return;const C=S.outerHeightStyle,z=h.current;A.current!==C&&(A.current=C,z.style.height=`${C}px`),z.style.overflow=S.overflowing?"hidden":""},[y]);fo(()=>{const S=()=>{w()};let C;const z=hy(S),O=h.current,D=Mo(O);D.addEventListener("resize",z);let k;return typeof ResizeObserver<"u"&&(k=new ResizeObserver(S),k.observe(O)),()=>{z.clear(),cancelAnimationFrame(C),D.removeEventListener("resize",z),k&&k.disconnect()}},[y,w]),fo(()=>{w()});const x=S=>{p||w(),r&&r(S)};return v.jsxs(P.Fragment,{children:[v.jsx("textarea",{value:u,onChange:x,ref:m,rows:a,style:l,...f}),v.jsx("textarea",{"aria-hidden":!0,className:t.className,readOnly:!0,ref:H,tabIndex:-1,style:{...QO.shadow,...l,paddingTop:0,paddingBottom:0}})]})});function El(e){return typeof e=="string"}function Hi({props:e,states:t,muiFormControl:n}){return t.reduce((r,s)=>(r[s]=e[s],n&&typeof e[s]>"u"&&(r[s]=n[s]),r),{})}const Gp=P.createContext(void 0);function No(){return P.useContext(Gp)}function lx(e){return e!=null&&!(Array.isArray(e)&&e.length===0)}function cp(e,t=!1){return e&&(lx(e.value)&&e.value!==""||t&&lx(e.defaultValue)&&e.defaultValue!=="")}function $O(e){return e.startAdornment}function eC(e){return Ze("MuiInputBase",e)}const Jr=Ge("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]);var cx;const Up=(e,t)=>{const{ownerState:n}=e;return[t.root,n.formControl&&t.formControl,n.startAdornment&&t.adornedStart,n.endAdornment&&t.adornedEnd,n.error&&t.error,n.size==="small"&&t.sizeSmall,n.multiline&&t.multiline,n.color&&t[`color${me(n.color)}`],n.fullWidth&&t.fullWidth,n.hiddenLabel&&t.hiddenLabel]},Qp=(e,t)=>{const{ownerState:n}=e;return[t.input,n.size==="small"&&t.inputSizeSmall,n.multiline&&t.inputMultiline,n.type==="search"&&t.inputTypeSearch,n.startAdornment&&t.inputAdornedStart,n.endAdornment&&t.inputAdornedEnd,n.hiddenLabel&&t.inputHiddenLabel]},tC=e=>{const{classes:t,color:n,disabled:r,error:s,endAdornment:a,focused:l,formControl:u,fullWidth:f,hiddenLabel:p,multiline:h,readOnly:m,size:A,startAdornment:H,type:y}=e,w={root:["root",`color${me(n)}`,r&&"disabled",s&&"error",f&&"fullWidth",l&&"focused",u&&"formControl",A&&A!=="medium"&&`size${me(A)}`,h&&"multiline",H&&"adornedStart",a&&"adornedEnd",p&&"hiddenLabel",m&&"readOnly"],input:["input",r&&"disabled",y==="search"&&"inputTypeSearch",h&&"inputMultiline",A==="small"&&"inputSizeSmall",p&&"inputHiddenLabel",H&&"inputAdornedStart",a&&"inputAdornedEnd",m&&"readOnly"]};return Qe(w,eC,t)},Kp=pe("div",{name:"MuiInputBase",slot:"Root",overridesResolver:Up})(Ue(({theme:e})=>({...e.typography.body1,color:(e.vars||e).palette.text.primary,lineHeight:"1.4375em",boxSizing:"border-box",position:"relative",cursor:"text",display:"inline-flex",alignItems:"center",[`&.${Jr.disabled}`]:{color:(e.vars||e).palette.text.disabled,cursor:"default"},variants:[{props:({ownerState:t})=>t.multiline,style:{padding:"4px 0 5px"}},{props:({ownerState:t,size:n})=>t.multiline&&n==="small",style:{paddingTop:1}},{props:({ownerState:t})=>t.fullWidth,style:{width:"100%"}}]}))),_p=pe("input",{name:"MuiInputBase",slot:"Input",overridesResolver:Qp})(Ue(({theme:e})=>{const t=e.palette.mode==="light",n={color:"currentColor",...e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:t?.42:.5},transition:e.transitions.create("opacity",{duration:e.transitions.duration.shorter})},r={opacity:"0 !important"},s=e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:t?.42:.5};return{font:"inherit",letterSpacing:"inherit",color:"currentColor",padding:"4px 0 5px",border:0,boxSizing:"content-box",background:"none",height:"1.4375em",margin:0,WebkitTapHighlightColor:"transparent",display:"block",minWidth:0,width:"100%","&::-webkit-input-placeholder":n,"&::-moz-placeholder":n,"&::-ms-input-placeholder":n,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"},[`label[data-shrink=false] + .${Jr.formControl} &`]:{"&::-webkit-input-placeholder":r,"&::-moz-placeholder":r,"&::-ms-input-placeholder":r,"&:focus::-webkit-input-placeholder":s,"&:focus::-moz-placeholder":s,"&:focus::-ms-input-placeholder":s},[`&.${Jr.disabled}`]:{opacity:1,WebkitTextFillColor:(e.vars||e).palette.text.disabled},variants:[{props:({ownerState:a})=>!a.disableInjectingGlobalStyles,style:{animationName:"mui-auto-fill-cancel",animationDuration:"10ms","&:-webkit-autofill":{animationDuration:"5000s",animationName:"mui-auto-fill"}}},{props:{size:"small"},style:{paddingTop:1}},{props:({ownerState:a})=>a.multiline,style:{height:"auto",resize:"none",padding:0,paddingTop:0}},{props:{type:"search"},style:{MozAppearance:"textfield"}}]}})),ux=by({"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}),$p=P.forwardRef(function(t,n){const r=$e({props:t,name:"MuiInputBase"}),{"aria-describedby":s,autoComplete:a,autoFocus:l,className:u,color:f,components:p={},componentsProps:h={},defaultValue:m,disabled:A,disableInjectingGlobalStyles:H,endAdornment:y,error:w,fullWidth:x=!1,id:S,inputComponent:C="input",inputProps:z={},inputRef:O,margin:D,maxRows:k,minRows:R,multiline:M=!1,name:L,onBlur:j,onChange:B,onClick:I,onFocus:J,onKeyDown:K,onKeyUp:W,placeholder:ne,readOnly:re,renderSuffix:F,rows:_,size:E,slotProps:G={},slots:X={},startAdornment:ee,type:te="text",value:ue,...de}=r,xe=z.value!=null?z.value:ue,{current:ve}=P.useRef(xe!=null),be=P.useRef(),Xe=P.useCallback(We=>{},[]),Ie=rn(be,O,z.ref,Xe),[He,Ke]=P.useState(!1),we=No(),tt=Hi({props:r,muiFormControl:we,states:["color","disabled","error","hiddenLabel","size","required","filled"]});tt.focused=we?we.focused:He,P.useEffect(()=>{!we&&A&&He&&(Ke(!1),j&&j())},[we,A,He,j]);const Le=we&&we.onFilled,dt=we&&we.onEmpty,N=P.useCallback(We=>{cp(We)?Le&&Le():dt&&dt()},[Le,dt]);fo(()=>{ve&&N({value:xe})},[xe,N,ve]);const $=We=>{J&&J(We),z.onFocus&&z.onFocus(We),we&&we.onFocus?we.onFocus(We):Ke(!0)},se=We=>{j&&j(We),z.onBlur&&z.onBlur(We),we&&we.onBlur?we.onBlur(We):Ke(!1)},ye=(We,...Dt)=>{if(!ve){const Jt=We.target||be.current;if(Jt==null)throw new Error(Ts(1));N({value:Jt.value})}z.onChange&&z.onChange(We,...Dt),B&&B(We,...Dt)};P.useEffect(()=>{N(be.current)},[]);const ce=We=>{be.current&&We.currentTarget===We.target&&be.current.focus(),I&&I(We)};let Ae=C,je=z;M&&Ae==="input"&&(_?je={type:void 0,minRows:_,maxRows:_,...je}:je={type:void 0,maxRows:k,minRows:R,...je},Ae=_O);const st=We=>{N(We.animationName==="mui-auto-fill-cancel"?be.current:{value:"x"})};P.useEffect(()=>{we&&we.setAdornedStart(!!ee)},[we,ee]);const wt={...r,color:tt.color||"primary",disabled:tt.disabled,endAdornment:y,error:tt.error,focused:tt.focused,formControl:we,fullWidth:x,hiddenLabel:tt.hiddenLabel,multiline:M,size:tt.size,startAdornment:ee,type:te},nt=tC(wt),ft=X.root||p.Root||Kp,ct=G.root||h.root||{},Ht=X.input||p.Input||_p;return je={...je,...G.input??h.input},v.jsxs(P.Fragment,{children:[!H&&typeof ux=="function"&&(cx||(cx=v.jsx(ux,{}))),v.jsxs(ft,{...ct,ref:n,onClick:ce,...de,...!El(ft)&&{ownerState:{...wt,...ct.ownerState}},className:Oe(nt.root,ct.className,u,re&&"MuiInputBase-readOnly"),children:[ee,v.jsx(Gp.Provider,{value:null,children:v.jsx(Ht,{"aria-invalid":tt.error,"aria-describedby":s,autoComplete:a,autoFocus:l,defaultValue:m,disabled:tt.disabled,id:S,onAnimationStart:st,name:L,placeholder:ne,readOnly:re,required:tt.required,rows:_,value:xe,onKeyDown:K,onKeyUp:W,type:te,...je,...!El(Ht)&&{as:Ae,ownerState:{...wt,...je.ownerState}},ref:Ie,className:Oe(nt.input,je.className,re&&"MuiInputBase-readOnly"),onBlur:se,onChange:ye,onFocus:$})}),y,F?F({...tt,startAdornment:ee}):null]})]})});function nC(e){return Ze("MuiInput",e)}const ai={...Jr,...Ge("MuiInput",["root","underline","input"])};function rC(e){return Ze("MuiOutlinedInput",e)}const ro={...Jr,...Ge("MuiOutlinedInput",["root","notchedOutline","input"])};function oC(e){return Ze("MuiFilledInput",e)}const Fr={...Jr,...Ge("MuiFilledInput",["root","underline","input","adornedStart","adornedEnd","sizeSmall","multiline","hiddenLabel"])},H1=At(v.jsx("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown");function sC(e){return Ze("MuiAutocomplete",e)}const Ot=Ge("MuiAutocomplete",["root","expanded","fullWidth","focused","focusVisible","tag","tagSizeSmall","tagSizeMedium","hasPopupIcon","hasClearIcon","inputRoot","input","inputFocused","endAdornment","clearIndicator","popupIndicator","popupIndicatorOpen","popper","popperDisablePortal","paper","listbox","loading","noOptions","option","groupLabel","groupUl"]);var fx,dx;const iC=e=>{const{classes:t,disablePortal:n,expanded:r,focused:s,fullWidth:a,hasClearIcon:l,hasPopupIcon:u,inputFocused:f,popupOpen:p,size:h}=e,m={root:["root",r&&"expanded",s&&"focused",a&&"fullWidth",l&&"hasClearIcon",u&&"hasPopupIcon"],inputRoot:["inputRoot"],input:["input",f&&"inputFocused"],tag:["tag",`tagSize${me(h)}`],endAdornment:["endAdornment"],clearIndicator:["clearIndicator"],popupIndicator:["popupIndicator",p&&"popupIndicatorOpen"],popper:["popper",n&&"popperDisablePortal"],paper:["paper"],listbox:["listbox"],loading:["loading"],noOptions:["noOptions"],option:["option"],groupLabel:["groupLabel"],groupUl:["groupUl"]};return Qe(m,sC,t)},aC=pe("div",{name:"MuiAutocomplete",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e,{fullWidth:r,hasClearIcon:s,hasPopupIcon:a,inputFocused:l,size:u}=n;return[{[`& .${Ot.tag}`]:t.tag},{[`& .${Ot.tag}`]:t[`tagSize${me(u)}`]},{[`& .${Ot.inputRoot}`]:t.inputRoot},{[`& .${Ot.input}`]:t.input},{[`& .${Ot.input}`]:l&&t.inputFocused},t.root,r&&t.fullWidth,a&&t.hasPopupIcon,s&&t.hasClearIcon]}})({[`&.${Ot.focused} .${Ot.clearIndicator}`]:{visibility:"visible"},"@media (pointer: fine)":{[`&:hover .${Ot.clearIndicator}`]:{visibility:"visible"}},[`& .${Ot.tag}`]:{margin:3,maxWidth:"calc(100% - 6px)"},[`& .${Ot.inputRoot}`]:{[`.${Ot.hasPopupIcon}&, .${Ot.hasClearIcon}&`]:{paddingRight:30},[`.${Ot.hasPopupIcon}.${Ot.hasClearIcon}&`]:{paddingRight:56},[`& .${Ot.input}`]:{width:0,minWidth:30}},[`& .${ai.root}`]:{paddingBottom:1,"& .MuiInput-input":{padding:"4px 4px 4px 0px"}},[`& .${ai.root}.${Jr.sizeSmall}`]:{[`& .${ai.input}`]:{padding:"2px 4px 3px 0"}},[`& .${ro.root}`]:{padding:9,[`.${Ot.hasPopupIcon}&, .${Ot.hasClearIcon}&`]:{paddingRight:39},[`.${Ot.hasPopupIcon}.${Ot.hasClearIcon}&`]:{paddingRight:65},[`& .${Ot.input}`]:{padding:"7.5px 4px 7.5px 5px"},[`& .${Ot.endAdornment}`]:{right:9}},[`& .${ro.root}.${Jr.sizeSmall}`]:{paddingTop:6,paddingBottom:6,paddingLeft:6,[`& .${Ot.input}`]:{padding:"2.5px 4px 2.5px 8px"}},[`& .${Fr.root}`]:{paddingTop:19,paddingLeft:8,[`.${Ot.hasPopupIcon}&, .${Ot.hasClearIcon}&`]:{paddingRight:39},[`.${Ot.hasPopupIcon}.${Ot.hasClearIcon}&`]:{paddingRight:65},[`& .${Fr.input}`]:{padding:"7px 4px"},[`& .${Ot.endAdornment}`]:{right:9}},[`& .${Fr.root}.${Jr.sizeSmall}`]:{paddingBottom:1,[`& .${Fr.input}`]:{padding:"2.5px 4px"}},[`& .${Jr.hiddenLabel}`]:{paddingTop:8},[`& .${Fr.root}.${Jr.hiddenLabel}`]:{paddingTop:0,paddingBottom:0,[`& .${Ot.input}`]:{paddingTop:16,paddingBottom:17}},[`& .${Fr.root}.${Jr.hiddenLabel}.${Jr.sizeSmall}`]:{[`& .${Ot.input}`]:{paddingTop:8,paddingBottom:9}},[`& .${Ot.input}`]:{flexGrow:1,textOverflow:"ellipsis",opacity:0},variants:[{props:{fullWidth:!0},style:{width:"100%"}},{props:{size:"small"},style:{[`& .${Ot.tag}`]:{margin:2,maxWidth:"calc(100% - 4px)"}}},{props:{inputFocused:!0},style:{[`& .${Ot.input}`]:{opacity:1}}},{props:{multiple:!0},style:{[`& .${Ot.inputRoot}`]:{flexWrap:"wrap"}}}]}),lC=pe("div",{name:"MuiAutocomplete",slot:"EndAdornment",overridesResolver:(e,t)=>t.endAdornment})({position:"absolute",right:0,top:"50%",transform:"translate(0, -50%)"}),cC=pe(zr,{name:"MuiAutocomplete",slot:"ClearIndicator",overridesResolver:(e,t)=>t.clearIndicator})({marginRight:-2,padding:4,visibility:"hidden"}),uC=pe(zr,{name:"MuiAutocomplete",slot:"PopupIndicator",overridesResolver:({ownerState:e},t)=>({...t.popupIndicator,...e.popupOpen&&t.popupIndicatorOpen})})({padding:2,marginRight:-2,variants:[{props:{popupOpen:!0},style:{transform:"rotate(180deg)"}}]}),fC=pe(Zp,{name:"MuiAutocomplete",slot:"Popper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${Ot.option}`]:t.option},t.popper,n.disablePortal&&t.popperDisablePortal]}})(Ue(({theme:e})=>({zIndex:(e.vars||e).zIndex.modal,variants:[{props:{disablePortal:!0},style:{position:"absolute"}}]}))),dC=pe(Gr,{name:"MuiAutocomplete",slot:"Paper",overridesResolver:(e,t)=>t.paper})(Ue(({theme:e})=>({...e.typography.body1,overflow:"auto"}))),pC=pe("div",{name:"MuiAutocomplete",slot:"Loading",overridesResolver:(e,t)=>t.loading})(Ue(({theme:e})=>({color:(e.vars||e).palette.text.secondary,padding:"14px 16px"}))),vC=pe("div",{name:"MuiAutocomplete",slot:"NoOptions",overridesResolver:(e,t)=>t.noOptions})(Ue(({theme:e})=>({color:(e.vars||e).palette.text.secondary,padding:"14px 16px"}))),hC=pe("ul",{name:"MuiAutocomplete",slot:"Listbox",overridesResolver:(e,t)=>t.listbox})(Ue(({theme:e})=>({listStyle:"none",margin:0,padding:"8px 0",maxHeight:"40vh",overflow:"auto",position:"relative",[`& .${Ot.option}`]:{minHeight:48,display:"flex",overflow:"hidden",justifyContent:"flex-start",alignItems:"center",cursor:"pointer",paddingTop:6,boxSizing:"border-box",outline:"0",WebkitTapHighlightColor:"transparent",paddingBottom:6,paddingLeft:16,paddingRight:16,[e.breakpoints.up("sm")]:{minHeight:"auto"},[`&.${Ot.focused}`]:{backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},'&[aria-disabled="true"]':{opacity:(e.vars||e).palette.action.disabledOpacity,pointerEvents:"none"},[`&.${Ot.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},'&[aria-selected="true"]':{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Pt(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${Ot.focused}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:Pt(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:(e.vars||e).palette.action.selected}},[`&.${Ot.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Pt(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}}}}))),mC=pe(hg,{name:"MuiAutocomplete",slot:"GroupLabel",overridesResolver:(e,t)=>t.groupLabel})(Ue(({theme:e})=>({backgroundColor:(e.vars||e).palette.background.paper,top:-8}))),gC=pe("ul",{name:"MuiAutocomplete",slot:"GroupUl",overridesResolver:(e,t)=>t.groupUl})({padding:0,[`& .${Ot.option}`]:{paddingLeft:24}}),yC=P.forwardRef(function(t,n){const r=$e({props:t,name:"MuiAutocomplete"}),{autoComplete:s=!1,autoHighlight:a=!1,autoSelect:l=!1,blurOnSelect:u=!1,ChipProps:f,className:p,clearIcon:h=fx||(fx=v.jsx(p1,{fontSize:"small"})),clearOnBlur:m=!r.freeSolo,clearOnEscape:A=!1,clearText:H="Clear",closeText:y="Close",componentsProps:w,defaultValue:x=r.multiple?[]:null,disableClearable:S=!1,disableCloseOnSelect:C=!1,disabled:z=!1,disabledItemsFocusable:O=!1,disableListWrap:D=!1,disablePortal:k=!1,filterOptions:R,filterSelectedOptions:M=!1,forcePopupIcon:L="auto",freeSolo:j=!1,fullWidth:B=!1,getLimitTagsText:I=Lt=>`+${Lt}`,getOptionDisabled:J,getOptionKey:K,getOptionLabel:W,isOptionEqualToValue:ne,groupBy:re,handleHomeEndKeys:F=!r.freeSolo,id:_,includeInputInList:E=!1,inputValue:G,limitTags:X=-1,ListboxComponent:ee,ListboxProps:te,loading:ue=!1,loadingText:de="Loading…",multiple:xe=!1,noOptionsText:ve="No options",onChange:be,onClose:Xe,onHighlightChange:Ie,onInputChange:He,onOpen:Ke,open:we,openOnFocus:tt=!1,openText:Le="Open",options:dt,PaperComponent:N,PopperComponent:$,popupIcon:se=dx||(dx=v.jsx(H1,{})),readOnly:ye=!1,renderGroup:ce,renderInput:Ae,renderOption:je,renderTags:st,selectOnFocus:wt=!r.freeSolo,size:nt="medium",slots:ft={},slotProps:ct={},value:Ht,...We}=r,{getRootProps:Dt,getInputProps:Jt,getInputLabelProps:Be,getPopupIndicatorProps:U,getClearProps:Y,getTagProps:Pe,getListboxProps:De,getOptionProps:Te,value:Ne,dirty:Je,expanded:ke,id:rt,popupOpen:vt,focused:kt,focusedTag:Qt,anchorEl:Fe,setAnchorEl:Rt,inputValue:un,groupedOptions:zn}=Sz({...r,componentName:"Autocomplete"}),Gn=!S&&!z&&Je&&!ye,yn=(!j||L===!0)&&L!==!1,{onMouseDown:Mr}=Jt(),{ref:mo,...go}=De(),yo=W||(Lt=>Lt.label??Lt),An={...r,disablePortal:k,expanded:ke,focused:kt,fullWidth:B,getOptionLabel:yo,hasClearIcon:Gn,hasPopupIcon:yn,inputFocused:Qt===-1,popupOpen:vt,size:nt},on=iC(An),Re={slots:{paper:N,popper:$,...ft},slotProps:{chip:f,listbox:te,...w,...ct}},[oe,le]=Cn("listbox",{elementType:hC,externalForwardedProps:Re,ownerState:An,className:on.listbox,additionalProps:go,ref:mo}),[Ee,ot]=Cn("paper",{elementType:Gr,externalForwardedProps:Re,ownerState:An,className:on.paper}),[lt,It]=Cn("popper",{elementType:Zp,externalForwardedProps:Re,ownerState:An,className:on.popper,additionalProps:{disablePortal:k,style:{width:Fe?Fe.clientWidth:null},role:"presentation",anchorEl:Fe,open:vt}});let Nt;if(xe&&Ne.length>0){const Lt=ar=>({className:on.tag,disabled:z,...Pe(ar)});st?Nt=st(Ne,Lt,An):Nt=Ne.map((ar,Xn)=>{const{key:Di,...Lr}=Lt({index:Xn});return v.jsx(Zu,{label:yo(ar),size:nt,...Lr,...Re.slotProps.chip},Di)})}if(X>-1&&Array.isArray(Nt)){const Lt=Nt.length-X;!kt&&Lt>0&&(Nt=Nt.splice(0,X),Nt.push(v.jsx("span",{className:on.tag,children:I(Lt)},Nt.length)))}const Ao=ce||(Lt=>v.jsxs("li",{children:[v.jsx(mC,{className:on.groupLabel,ownerState:An,component:"div",children:Lt.group}),v.jsx(gC,{className:on.groupUl,ownerState:An,children:Lt.children})]},Lt.key)),tn=je||((Lt,ar)=>{const{key:Xn,...Di}=Lt;return v.jsx("li",{...Di,children:yo(ar)},Xn)}),Oi=(Lt,ar)=>{const Xn=Te({option:Lt,index:ar});return tn({...Xn,className:on.option},Lt,{selected:Xn["aria-selected"],index:ar,inputValue:un},An)},Xs=Re.slotProps.clearIndicator,Ci=Re.slotProps.popupIndicator,Ns=Lt=>v.jsx(fC,{as:lt,...It,children:v.jsx(dC,{as:Ee,...ot,children:Lt})});let ba=null;return zn.length>0?ba=Ns(v.jsx(oe,{as:ee,...le,children:zn.map((Lt,ar)=>re?Ao({key:Lt.key,group:Lt.group,children:Lt.options.map((Xn,Di)=>Oi(Xn,Lt.index+Di))}):Oi(Lt,ar))})):ue&&zn.length===0?ba=Ns(v.jsx(pC,{className:on.loading,ownerState:An,children:de})):zn.length===0&&!j&&!ue&&(ba=Ns(v.jsx(vC,{className:on.noOptions,ownerState:An,role:"presentation",onMouseDown:Lt=>{Lt.preventDefault()},children:ve}))),v.jsxs(P.Fragment,{children:[v.jsx(aC,{ref:n,className:Oe(on.root,p),ownerState:An,...Dt(We),children:Ae({id:rt,disabled:z,fullWidth:!0,size:nt==="small"?"small":void 0,InputLabelProps:Be(),InputProps:{ref:Rt,className:on.inputRoot,startAdornment:Nt,onMouseDown:Lt=>{Lt.target===Lt.currentTarget&&Mr(Lt)},...(Gn||yn)&&{endAdornment:v.jsxs(lC,{className:on.endAdornment,ownerState:An,children:[Gn?v.jsx(cC,{...Y(),"aria-label":H,title:H,ownerState:An,...Xs,className:Oe(on.clearIndicator,Xs==null?void 0:Xs.className),children:h}):null,yn?v.jsx(uC,{...U(),disabled:z,"aria-label":vt?y:Le,title:vt?y:Le,ownerState:An,...Ci,className:Oe(on.popupIndicator,Ci==null?void 0:Ci.className),children:se}):null]})}},inputProps:{className:on.input,disabled:z,readOnly:ye,...Jt()}})}),Fe?ba:null]})}),AC={entering:{opacity:1},entered:{opacity:1}},j1=P.forwardRef(function(t,n){const r=Qr(),s={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{addEndListener:a,appear:l=!0,children:u,easing:f,in:p,onEnter:h,onEntered:m,onEntering:A,onExit:H,onExited:y,onExiting:w,style:x,timeout:S=s,TransitionComponent:C=Xo,...z}=t,O=P.useRef(null),D=rn(O,xi(u),n),k=K=>W=>{if(K){const ne=O.current;W===void 0?K(ne):K(ne,W)}},R=k(A),M=k((K,W)=>{Hy(K);const ne=Cl({style:x,timeout:S,easing:f},{mode:"enter"});K.style.webkitTransition=r.transitions.create("opacity",ne),K.style.transition=r.transitions.create("opacity",ne),h&&h(K,W)}),L=k(m),j=k(w),B=k(K=>{const W=Cl({style:x,timeout:S,easing:f},{mode:"exit"});K.style.webkitTransition=r.transitions.create("opacity",W),K.style.transition=r.transitions.create("opacity",W),H&&H(K)}),I=k(y),J=K=>{a&&a(O.current,K)};return v.jsx(C,{appear:l,in:p,nodeRef:O,onEnter:M,onEntered:L,onEntering:R,onExit:B,onExited:I,onExiting:j,addEndListener:J,timeout:S,...z,children:(K,W)=>P.cloneElement(u,{style:{opacity:0,visibility:K==="exited"&&!p?"hidden":void 0,...AC[K],...x,...u.props.style},ref:D,...W})})});function PC(e){return Ze("MuiBackdrop",e)}Ge("MuiBackdrop",["root","invisible"]);const bC=e=>{const{ownerState:t,...n}=e;return n},xC=e=>{const{classes:t,invisible:n}=e;return Qe({root:["root",n&&"invisible"]},PC,t)},wC=pe("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.invisible&&t.invisible]}})({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent",variants:[{props:{invisible:!0},style:{backgroundColor:"transparent"}}]}),S1=P.forwardRef(function(t,n){const r=$e({props:t,name:"MuiBackdrop"}),{children:s,className:a,component:l="div",invisible:u=!1,open:f,components:p={},componentsProps:h={},slotProps:m={},slots:A={},TransitionComponent:H,transitionDuration:y,...w}=r,x={...r,component:l,invisible:u},S=xC(x),C={transition:H,root:p.Root,...A},z={...h,...m},O={slots:C,slotProps:z},[D,k]=Cn("root",{elementType:wC,externalForwardedProps:O,className:Oe(S.root,a),ownerState:x}),[R,M]=Cn("transition",{elementType:j1,externalForwardedProps:O,ownerState:x}),L=bC(M);return v.jsx(R,{in:f,timeout:y,...w,...L,children:v.jsx(D,{"aria-hidden":!0,...k,classes:S,ref:n,children:s})})}),HC=Ge("MuiBox",["root"]),jC=Fu(),yt=WH({themeId:Ro,defaultTheme:jC,defaultClassName:HC.root,generateClassName:X0.generate});function SC(e){return Ze("MuiButton",e)}const Qa=Ge("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","colorPrimary","colorSecondary","colorSuccess","colorError","colorInfo","colorWarning","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","icon","iconSizeSmall","iconSizeMedium","iconSizeLarge"]),z1=P.createContext({}),zC=P.createContext(void 0),OC=e=>{const{color:t,disableElevation:n,fullWidth:r,size:s,variant:a,classes:l}=e,u={root:["root",a,`${a}${me(t)}`,`size${me(s)}`,`${a}Size${me(s)}`,`color${me(t)}`,n&&"disableElevation",r&&"fullWidth"],label:["label"],startIcon:["icon","startIcon",`iconSize${me(s)}`],endIcon:["icon","endIcon",`iconSize${me(s)}`]},f=Qe(u,SC,l);return{...l,...f}},O1=[{props:{size:"small"},style:{"& > *:nth-of-type(1)":{fontSize:18}}},{props:{size:"medium"},style:{"& > *:nth-of-type(1)":{fontSize:20}}},{props:{size:"large"},style:{"& > *:nth-of-type(1)":{fontSize:22}}}],CC=pe(fa,{shouldForwardProp:e=>Zn(e)||e==="classes",name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`${n.variant}${me(n.color)}`],t[`size${me(n.size)}`],t[`${n.variant}Size${me(n.size)}`],n.color==="inherit"&&t.colorInherit,n.disableElevation&&t.disableElevation,n.fullWidth&&t.fullWidth]}})(Ue(({theme:e})=>{const t=e.palette.mode==="light"?e.palette.grey[300]:e.palette.grey[800],n=e.palette.mode==="light"?e.palette.grey.A100:e.palette.grey[700];return{...e.typography.button,minWidth:64,padding:"6px 16px",border:0,borderRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create(["background-color","box-shadow","border-color","color"],{duration:e.transitions.duration.short}),"&:hover":{textDecoration:"none"},[`&.${Qa.disabled}`]:{color:(e.vars||e).palette.action.disabled},variants:[{props:{variant:"contained"},style:{color:"var(--variant-containedColor)",backgroundColor:"var(--variant-containedBg)",boxShadow:(e.vars||e).shadows[2],"&:hover":{boxShadow:(e.vars||e).shadows[4],"@media (hover: none)":{boxShadow:(e.vars||e).shadows[2]}},"&:active":{boxShadow:(e.vars||e).shadows[8]},[`&.${Qa.focusVisible}`]:{boxShadow:(e.vars||e).shadows[6]},[`&.${Qa.disabled}`]:{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground}}},{props:{variant:"outlined"},style:{padding:"5px 15px",border:"1px solid currentColor",borderColor:"var(--variant-outlinedBorder, currentColor)",backgroundColor:"var(--variant-outlinedBg)",color:"var(--variant-outlinedColor)",[`&.${Qa.disabled}`]:{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`}}},{props:{variant:"text"},style:{padding:"6px 8px",color:"var(--variant-textColor)",backgroundColor:"var(--variant-textBg)"}},...Object.entries(e.palette).filter(mn()).map(([r])=>({props:{color:r},style:{"--variant-textColor":(e.vars||e).palette[r].main,"--variant-outlinedColor":(e.vars||e).palette[r].main,"--variant-outlinedBorder":e.vars?`rgba(${e.vars.palette[r].mainChannel} / 0.5)`:Pt(e.palette[r].main,.5),"--variant-containedColor":(e.vars||e).palette[r].contrastText,"--variant-containedBg":(e.vars||e).palette[r].main,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":(e.vars||e).palette[r].dark,"--variant-textBg":e.vars?`rgba(${e.vars.palette[r].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Pt(e.palette[r].main,e.palette.action.hoverOpacity),"--variant-outlinedBorder":(e.vars||e).palette[r].main,"--variant-outlinedBg":e.vars?`rgba(${e.vars.palette[r].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Pt(e.palette[r].main,e.palette.action.hoverOpacity)}}}})),{props:{color:"inherit"},style:{color:"inherit",borderColor:"currentColor","--variant-containedBg":e.vars?e.vars.palette.Button.inheritContainedBg:t,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":e.vars?e.vars.palette.Button.inheritContainedHoverBg:n,"--variant-textBg":e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:Pt(e.palette.text.primary,e.palette.action.hoverOpacity),"--variant-outlinedBg":e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:Pt(e.palette.text.primary,e.palette.action.hoverOpacity)}}}},{props:{size:"small",variant:"text"},style:{padding:"4px 5px",fontSize:e.typography.pxToRem(13)}},{props:{size:"large",variant:"text"},style:{padding:"8px 11px",fontSize:e.typography.pxToRem(15)}},{props:{size:"small",variant:"outlined"},style:{padding:"3px 9px",fontSize:e.typography.pxToRem(13)}},{props:{size:"large",variant:"outlined"},style:{padding:"7px 21px",fontSize:e.typography.pxToRem(15)}},{props:{size:"small",variant:"contained"},style:{padding:"4px 10px",fontSize:e.typography.pxToRem(13)}},{props:{size:"large",variant:"contained"},style:{padding:"8px 22px",fontSize:e.typography.pxToRem(15)}},{props:{disableElevation:!0},style:{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${Qa.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${Qa.disabled}`]:{boxShadow:"none"}}},{props:{fullWidth:!0},style:{width:"100%"}}]}})),DC=pe("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.startIcon,t[`iconSize${me(n.size)}`]]}})({display:"inherit",marginRight:8,marginLeft:-4,variants:[{props:{size:"small"},style:{marginLeft:-2}},...O1]}),TC=pe("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.endIcon,t[`iconSize${me(n.size)}`]]}})({display:"inherit",marginRight:-4,marginLeft:8,variants:[{props:{size:"small"},style:{marginRight:-2}},...O1]}),Xt=P.forwardRef(function(t,n){const r=P.useContext(z1),s=P.useContext(zC),a=zl(r,t),l=$e({props:a,name:"MuiButton"}),{children:u,color:f="primary",component:p="button",className:h,disabled:m=!1,disableElevation:A=!1,disableFocusRipple:H=!1,endIcon:y,focusVisibleClassName:w,fullWidth:x=!1,size:S="medium",startIcon:C,type:z,variant:O="text",...D}=l,k={...l,color:f,component:p,disabled:m,disableElevation:A,disableFocusRipple:H,fullWidth:x,size:S,type:z,variant:O},R=OC(k),M=C&&v.jsx(DC,{className:R.startIcon,ownerState:k,children:C}),L=y&&v.jsx(TC,{className:R.endIcon,ownerState:k,children:y}),j=s||"";return v.jsxs(CC,{ownerState:k,className:Oe(r.className,R.root,h,j),component:p,disabled:m,focusRipple:!H,focusVisibleClassName:Oe(R.focusVisible,w),ref:n,type:z,...D,classes:R,children:[M,u,L]})});function kC(e){return Ze("MuiCard",e)}Ge("MuiCard",["root"]);const RC=e=>{const{classes:t}=e;return Qe({root:["root"]},kC,t)},EC=pe(Gr,{name:"MuiCard",slot:"Root",overridesResolver:(e,t)=>t.root})({overflow:"hidden"}),C1=P.forwardRef(function(t,n){const r=$e({props:t,name:"MuiCard"}),{className:s,raised:a=!1,...l}=r,u={...r,raised:a},f=RC(u);return v.jsx(EC,{className:Oe(f.root,s),elevation:a?8:void 0,ref:n,ownerState:u,...l})});function MC(e){return Ze("MuiCardContent",e)}Ge("MuiCardContent",["root"]);const LC=e=>{const{classes:t}=e;return Qe({root:["root"]},MC,t)},XC=pe("div",{name:"MuiCardContent",slot:"Root",overridesResolver:(e,t)=>t.root})({padding:16,"&:last-child":{paddingBottom:24}}),mg=P.forwardRef(function(t,n){const r=$e({props:t,name:"MuiCardContent"}),{className:s,component:a="div",...l}=r,u={...r,component:a},f=LC(u);return v.jsx(XC,{as:a,className:Oe(f.root,s),ownerState:u,ref:n,...l})});function NC(e){return Ze("MuiCardMedia",e)}Ge("MuiCardMedia",["root","media","img"]);const BC=e=>{const{classes:t,isMediaComponent:n,isImageComponent:r}=e;return Qe({root:["root",n&&"media",r&&"img"]},NC,t)},VC=pe("div",{name:"MuiCardMedia",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e,{isMediaComponent:r,isImageComponent:s}=n;return[t.root,r&&t.media,s&&t.img]}})({display:"block",backgroundSize:"cover",backgroundRepeat:"no-repeat",backgroundPosition:"center",variants:[{props:{isMediaComponent:!0},style:{width:"100%"}},{props:{isImageComponent:!0},style:{objectFit:"cover"}}]}),IC=["video","audio","picture","iframe","img"],WC=["picture","img"],JC=P.forwardRef(function(t,n){const r=$e({props:t,name:"MuiCardMedia"}),{children:s,className:a,component:l="div",image:u,src:f,style:p,...h}=r,m=IC.includes(l),A=!m&&u?{backgroundImage:`url("${u}")`,...p}:p,H={...r,component:l,isMediaComponent:m,isImageComponent:WC.includes(l)},y=BC(H);return v.jsx(VC,{className:Oe(y.root,a),as:l,role:!m&&u?"img":void 0,ref:n,style:A,ownerState:H,src:m?u||f:void 0,...h,children:s})});function FC(e){return Ze("PrivateSwitchBase",e)}Ge("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);const YC=e=>{const{classes:t,checked:n,disabled:r,edge:s}=e,a={root:["root",n&&"checked",r&&"disabled",s&&`edge${me(s)}`],input:["input"]};return Qe(a,FC,t)},qC=pe(fa)({padding:9,borderRadius:"50%",variants:[{props:{edge:"start",size:"small"},style:{marginLeft:-3}},{props:({edge:e,ownerState:t})=>e==="start"&&t.size!=="small",style:{marginLeft:-12}},{props:{edge:"end",size:"small"},style:{marginRight:-3}},{props:({edge:e,ownerState:t})=>e==="end"&&t.size!=="small",style:{marginRight:-12}}]}),ZC=pe("input",{shouldForwardProp:Zn})({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}),Ry=P.forwardRef(function(t,n){const{autoFocus:r,checked:s,checkedIcon:a,className:l,defaultChecked:u,disabled:f,disableFocusRipple:p=!1,edge:h=!1,icon:m,id:A,inputProps:H,inputRef:y,name:w,onBlur:x,onChange:S,onFocus:C,readOnly:z,required:O=!1,tabIndex:D,type:k,value:R,...M}=t,[L,j]=yi({controlled:s,default:!!u,name:"SwitchBase",state:"checked"}),B=No(),I=_=>{C&&C(_),B&&B.onFocus&&B.onFocus(_)},J=_=>{x&&x(_),B&&B.onBlur&&B.onBlur(_)},K=_=>{if(_.nativeEvent.defaultPrevented)return;const E=_.target.checked;j(E),S&&S(_,E)};let W=f;B&&typeof W>"u"&&(W=B.disabled);const ne=k==="checkbox"||k==="radio",re={...t,checked:L,disabled:W,disableFocusRipple:p,edge:h},F=YC(re);return v.jsxs(qC,{component:"span",className:Oe(F.root,l),centerRipple:!0,focusRipple:!p,disabled:W,tabIndex:null,role:void 0,onFocus:I,onBlur:J,ownerState:re,ref:n,...M,children:[v.jsx(ZC,{autoFocus:r,checked:s,defaultChecked:u,className:F.input,disabled:W,id:ne?A:void 0,name:w,onChange:K,readOnly:z,ref:y,required:O,ownerState:re,tabIndex:D,type:k,...k==="checkbox"&&R===void 0?{}:{value:R},...H}),L?a:m]})}),GC=At(v.jsx("path",{d:"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"}),"CheckBoxOutlineBlank"),UC=At(v.jsx("path",{d:"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"}),"CheckBox"),QC=At(v.jsx("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z"}),"IndeterminateCheckBox");function KC(e){return Ze("MuiCheckbox",e)}const Cm=Ge("MuiCheckbox",["root","checked","disabled","indeterminate","colorPrimary","colorSecondary","sizeSmall","sizeMedium"]),_C=e=>{const{classes:t,indeterminate:n,color:r,size:s}=e,a={root:["root",n&&"indeterminate",`color${me(r)}`,`size${me(s)}`]},l=Qe(a,KC,t);return{...t,...l}},$C=pe(Ry,{shouldForwardProp:e=>Zn(e)||e==="classes",name:"MuiCheckbox",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.indeterminate&&t.indeterminate,t[`size${me(n.size)}`],n.color!=="default"&&t[`color${me(n.color)}`]]}})(Ue(({theme:e})=>({color:(e.vars||e).palette.text.secondary,variants:[{props:{color:"default",disableRipple:!1},style:{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:Pt(e.palette.action.active,e.palette.action.hoverOpacity)}}},...Object.entries(e.palette).filter(mn()).map(([t])=>({props:{color:t,disableRipple:!1},style:{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette[t].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Pt(e.palette[t].main,e.palette.action.hoverOpacity)}}})),...Object.entries(e.palette).filter(mn()).map(([t])=>({props:{color:t},style:{[`&.${Cm.checked}, &.${Cm.indeterminate}`]:{color:(e.vars||e).palette[t].main},[`&.${Cm.disabled}`]:{color:(e.vars||e).palette.action.disabled}}})),{props:{disableRipple:!1},style:{"&:hover":{"@media (hover: none)":{backgroundColor:"transparent"}}}}]}))),eD=v.jsx(UC,{}),tD=v.jsx(GC,{}),nD=v.jsx(QC,{}),px=P.forwardRef(function(t,n){const r=$e({props:t,name:"MuiCheckbox"}),{checkedIcon:s=eD,color:a="primary",icon:l=tD,indeterminate:u=!1,indeterminateIcon:f=nD,inputProps:p,size:h="medium",disableRipple:m=!1,className:A,...H}=r,y=u?f:l,w=u?f:s,x={...r,disableRipple:m,color:a,indeterminate:u,size:h},S=_C(x);return v.jsx($C,{type:"checkbox",inputProps:{"data-indeterminate":u,...p},icon:P.cloneElement(y,{fontSize:y.props.fontSize??h}),checkedIcon:P.cloneElement(w,{fontSize:w.props.fontSize??h}),ownerState:x,ref:n,className:Oe(S.root,A),disableRipple:m,...H,classes:S})});function rD(e){return Ze("MuiCircularProgress",e)}Ge("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]);const oi=44,gg=Vu` 0% { transform: rotate(0deg); } @@ -134,7 +175,7 @@ Error generating stack: `+b.message+` 100% { transform: rotate(360deg); } -`)),gS=sf(D8||(D8=Av` +`,yg=Vu` 0% { stroke-dasharray: 1px, 200px; stroke-dashoffset: 0; @@ -149,12 +190,12 @@ Error generating stack: `+b.message+` stroke-dasharray: 100px, 200px; stroke-dashoffset: -125px; } -`)),yS=e=>{const{classes:t,variant:n,color:o,disableShrink:i}=e,a={root:["root",n,`color${Ae(o)}`],svg:["svg"],circle:["circle",`circle${Ae(n)}`,i&&"circleDisableShrink"]};return $e(a,mS,t)},bS=ve("span",{name:"MuiCircularProgress",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`color${Ae(n.color)}`]]}})(({ownerState:e,theme:t})=>j({display:"inline-block"},e.variant==="determinate"&&{transition:t.transitions.create("transform")},e.color!=="inherit"&&{color:(t.vars||t).palette[e.color].main}),({ownerState:e})=>e.variant==="indeterminate"&&jP(S8||(S8=Av` - animation: ${0} 1.4s linear infinite; - `),PS)),xS=ve("svg",{name:"MuiCircularProgress",slot:"Svg",overridesResolver:(e,t)=>t.svg})({display:"block"}),wS=ve("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.circle,t[`circle${Ae(n.variant)}`],n.disableShrink&&t.circleDisableShrink]}})(({ownerState:e,theme:t})=>j({stroke:"currentColor"},e.variant==="determinate"&&{transition:t.transitions.create("stroke-dashoffset")},e.variant==="indeterminate"&&{strokeDasharray:"80px, 200px",strokeDashoffset:0}),({ownerState:e})=>e.variant==="indeterminate"&&!e.disableShrink&&jP(T8||(T8=Av` - animation: ${0} 1.4s ease-in-out infinite; - `),gS)),Pv=y.forwardRef(function(t,n){const o=et({props:t,name:"MuiCircularProgress"}),{className:i,color:a="primary",disableShrink:c=!1,size:u=40,style:f,thickness:p=3.6,value:h=0,variant:m="indeterminate"}=o,P=Oe(o,AS),H=j({},o,{color:a,disableShrink:c,size:u,thickness:p,value:h,variant:m}),g=yS(H),w={},x={},z={};if(m==="determinate"){const O=2*Math.PI*((Gs-p)/2);w.strokeDasharray=O.toFixed(3),z["aria-valuenow"]=Math.round(h),w.strokeDashoffset=`${((100-h)/100*O).toFixed(3)}px`,x.transform="rotate(-90deg)"}return v.jsx(bS,j({className:ze(g.root,i),style:j({width:u,height:u},x,f),ownerState:H,ref:n,role:"progressbar"},z,P,{children:v.jsx(xS,{className:g.svg,ownerState:H,viewBox:`${Gs/2} ${Gs/2} ${Gs} ${Gs}`,children:v.jsx(wS,{className:g.circle,style:w,ownerState:H,cx:Gs,cy:Gs,r:(Gs-p)/2,fill:"none",strokeWidth:p})})}))}),HS=(e,t)=>j({WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",boxSizing:"border-box",WebkitTextSizeAdjust:"100%"},t&&!e.vars&&{colorScheme:e.palette.mode}),jS=e=>j({color:(e.vars||e).palette.text.primary},e.typography.body1,{backgroundColor:(e.vars||e).palette.background.default,"@media print":{backgroundColor:(e.vars||e).palette.common.white}}),zS=(e,t=!1)=>{var n;const o={};t&&e.colorSchemes&&Object.entries(e.colorSchemes).forEach(([c,u])=>{var f;o[e.getColorSchemeSelector(c).replace(/\s*&/,"")]={colorScheme:(f=u.palette)==null?void 0:f.mode}});let i=j({html:HS(e,t),"*, *::before, *::after":{boxSizing:"inherit"},"strong, b":{fontWeight:e.typography.fontWeightBold},body:j({margin:0},jS(e),{"&::backdrop":{backgroundColor:(e.vars||e).palette.background.default}})},o);const a=(n=e.components)==null||(n=n.MuiCssBaseline)==null?void 0:n.styleOverrides;return a&&(i=[i,a]),i};function OS(e){const t=et({props:e,name:"MuiCssBaseline"}),{children:n,enableColorScheme:o=!1}=t;return v.jsxs(y.Fragment,{children:[v.jsx(t2,{styles:i=>zS(i,o)}),n]})}function CS(e){return Ke("MuiModal",e)}_e("MuiModal",["root","hidden","backdrop"]);const RS=["BackdropComponent","BackdropProps","classes","className","closeAfterTransition","children","container","component","components","componentsProps","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","onBackdropClick","onClose","onTransitionEnter","onTransitionExited","open","slotProps","slots","theme"],DS=e=>{const{open:t,exited:n,classes:o}=e;return $e({root:["root",!t&&n&&"hidden"],backdrop:["backdrop"]},CS,o)},SS=ve("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.open&&n.exited&&t.hidden]}})(({theme:e,ownerState:t})=>j({position:"fixed",zIndex:(e.vars||e).zIndex.modal,right:0,bottom:0,top:0,left:0},!t.open&&t.exited&&{visibility:"hidden"})),TS=ve(o2,{name:"MuiModal",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})({zIndex:-1}),qP=y.forwardRef(function(t,n){var o,i,a,c,u,f;const p=et({name:"MuiModal",props:t}),{BackdropComponent:h=TS,BackdropProps:m,className:P,closeAfterTransition:H=!1,children:g,container:w,component:x,components:z={},componentsProps:O={},disableAutoFocus:C=!1,disableEnforceFocus:D=!1,disableEscapeKeyDown:R=!1,disablePortal:E=!1,disableRestoreFocus:T=!1,disableScrollLock:L=!1,hideBackdrop:N=!1,keepMounted:M=!1,onBackdropClick:U,open:I,slotProps:W,slots:oe}=p,q=Oe(p,RS),ie=j({},p,{closeAfterTransition:H,disableAutoFocus:C,disableEnforceFocus:D,disableEscapeKeyDown:R,disablePortal:E,disableRestoreFocus:T,disableScrollLock:L,hideBackdrop:N,keepMounted:M}),{getRootProps:te,getBackdropProps:J,getTransitionProps:K,portalRef:k,isTopModal:ne,exited:X,hasTransition:se}=gC(j({},ie,{rootRef:n})),_=j({},ie,{exited:X}),de=DS(_),ue={};if(g.props.tabIndex===void 0&&(ue.tabIndex="-1"),se){const{onEnter:Be,onExited:Re}=K();ue.onEnter=Be,ue.onExited=Re}const we=(o=(i=oe==null?void 0:oe.root)!=null?i:z.Root)!=null?o:SS,pe=(a=(c=oe==null?void 0:oe.backdrop)!=null?c:z.Backdrop)!=null?a:h,me=(u=W==null?void 0:W.root)!=null?u:O.root,it=(f=W==null?void 0:W.backdrop)!=null?f:O.backdrop,We=fi({elementType:we,externalSlotProps:me,externalForwardedProps:q,getSlotProps:te,additionalProps:{ref:n,as:x},ownerState:_,className:ze(P,me==null?void 0:me.className,de==null?void 0:de.root,!_.open&&_.exited&&(de==null?void 0:de.hidden))}),Xe=fi({elementType:pe,externalSlotProps:it,additionalProps:m,getSlotProps:Be=>J(j({},Be,{onClick:Re=>{U&&U(Re),Be!=null&&Be.onClick&&Be.onClick(Re)}})),className:ze(it==null?void 0:it.className,m==null?void 0:m.className,de==null?void 0:de.backdrop),ownerState:_});return!M&&!I&&(!se||X)?null:v.jsx(J1,{ref:k,container:w,disablePortal:E,children:v.jsxs(we,j({},We,{children:[!N&&h?v.jsx(pe,j({},Xe)):null,v.jsx(cC,{disableEnforceFocus:D,disableAutoFocus:C,disableRestoreFocus:T,isEnabled:ne,open:I,children:y.cloneElement(g,ue)})]}))})});function ES(e){return Ke("MuiDialog",e)}const Um=_e("MuiDialog",["root","scrollPaper","scrollBody","container","paper","paperScrollPaper","paperScrollBody","paperWidthFalse","paperWidthXs","paperWidthSm","paperWidthMd","paperWidthLg","paperWidthXl","paperFullWidth","paperFullScreen"]),l2=y.createContext({}),kS=["aria-describedby","aria-labelledby","BackdropComponent","BackdropProps","children","className","disableEscapeKeyDown","fullScreen","fullWidth","maxWidth","onBackdropClick","onClose","open","PaperComponent","PaperProps","scroll","TransitionComponent","transitionDuration","TransitionProps"],MS=ve(o2,{name:"MuiDialog",slot:"Backdrop",overrides:(e,t)=>t.backdrop})({zIndex:-1}),LS=e=>{const{classes:t,scroll:n,maxWidth:o,fullWidth:i,fullScreen:a}=e,c={root:["root"],container:["container",`scroll${Ae(n)}`],paper:["paper",`paperScroll${Ae(n)}`,`paperWidth${Ae(String(o))}`,i&&"paperFullWidth",a&&"paperFullScreen"]};return $e(c,ES,t)},XS=ve(qP,{name:"MuiDialog",slot:"Root",overridesResolver:(e,t)=>t.root})({"@media print":{position:"absolute !important"}}),NS=ve("div",{name:"MuiDialog",slot:"Container",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.container,t[`scroll${Ae(n.scroll)}`]]}})(({ownerState:e})=>j({height:"100%","@media print":{height:"auto"},outline:0},e.scroll==="paper"&&{display:"flex",justifyContent:"center",alignItems:"center"},e.scroll==="body"&&{overflowY:"auto",overflowX:"hidden",textAlign:"center","&::after":{content:'""',display:"inline-block",verticalAlign:"middle",height:"100%",width:"0"}})),BS=ve(Gr,{name:"MuiDialog",slot:"Paper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.paper,t[`scrollPaper${Ae(n.scroll)}`],t[`paperWidth${Ae(String(n.maxWidth))}`],n.fullWidth&&t.paperFullWidth,n.fullScreen&&t.paperFullScreen]}})(({theme:e,ownerState:t})=>j({margin:32,position:"relative",overflowY:"auto","@media print":{overflowY:"visible",boxShadow:"none"}},t.scroll==="paper"&&{display:"flex",flexDirection:"column",maxHeight:"calc(100% - 64px)"},t.scroll==="body"&&{display:"inline-block",verticalAlign:"middle",textAlign:"left"},!t.maxWidth&&{maxWidth:"calc(100% - 64px)"},t.maxWidth==="xs"&&{maxWidth:e.breakpoints.unit==="px"?Math.max(e.breakpoints.values.xs,444):`max(${e.breakpoints.values.xs}${e.breakpoints.unit}, 444px)`,[`&.${Um.paperScrollBody}`]:{[e.breakpoints.down(Math.max(e.breakpoints.values.xs,444)+32*2)]:{maxWidth:"calc(100% - 64px)"}}},t.maxWidth&&t.maxWidth!=="xs"&&{maxWidth:`${e.breakpoints.values[t.maxWidth]}${e.breakpoints.unit}`,[`&.${Um.paperScrollBody}`]:{[e.breakpoints.down(e.breakpoints.values[t.maxWidth]+32*2)]:{maxWidth:"calc(100% - 64px)"}}},t.fullWidth&&{width:"calc(100% - 64px)"},t.fullScreen&&{margin:0,width:"100%",maxWidth:"100%",height:"100%",maxHeight:"none",borderRadius:0,[`&.${Um.paperScrollBody}`]:{margin:0,maxWidth:"100%"}})),Ya=y.forwardRef(function(t,n){const o=et({props:t,name:"MuiDialog"}),i=Qr(),a={enter:i.transitions.duration.enteringScreen,exit:i.transitions.duration.leavingScreen},{"aria-describedby":c,"aria-labelledby":u,BackdropComponent:f,BackdropProps:p,children:h,className:m,disableEscapeKeyDown:P=!1,fullScreen:H=!1,fullWidth:g=!1,maxWidth:w="sm",onBackdropClick:x,onClose:z,open:O,PaperComponent:C=Gr,PaperProps:D={},scroll:R="paper",TransitionComponent:E=r2,transitionDuration:T=a,TransitionProps:L}=o,N=Oe(o,kS),M=j({},o,{disableEscapeKeyDown:P,fullScreen:H,fullWidth:g,maxWidth:w,scroll:R}),U=LS(M),I=y.useRef(),W=te=>{I.current=te.target===te.currentTarget},oe=te=>{I.current&&(I.current=null,x&&x(te),z&&z(te,"backdropClick"))},q=es(u),ie=y.useMemo(()=>({titleId:q}),[q]);return v.jsx(XS,j({className:ze(U.root,m),closeAfterTransition:!0,components:{Backdrop:MS},componentsProps:{backdrop:j({transitionDuration:T,as:f},p)},disableEscapeKeyDown:P,onClose:z,open:O,ref:n,onClick:oe,ownerState:M},N,{children:v.jsx(E,j({appear:!0,in:O,timeout:T,role:"presentation"},L,{children:v.jsx(NS,{className:ze(U.container),onMouseDown:W,ownerState:M,children:v.jsx(BS,j({as:C,elevation:24,role:"dialog","aria-describedby":c,"aria-labelledby":q},D,{className:ze(U.paper,D.className),ownerState:M,children:v.jsx(l2.Provider,{value:ie,children:h})}))})}))}))});function VS(e){return Ke("MuiDialogActions",e)}_e("MuiDialogActions",["root","spacing"]);const IS=["className","disableSpacing"],WS=e=>{const{classes:t,disableSpacing:n}=e;return $e({root:["root",!n&&"spacing"]},VS,t)},JS=ve("div",{name:"MuiDialogActions",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disableSpacing&&t.spacing]}})(({ownerState:e})=>j({display:"flex",alignItems:"center",padding:8,justifyContent:"flex-end",flex:"0 0 auto"},!e.disableSpacing&&{"& > :not(style) ~ :not(style)":{marginLeft:8}})),FS=y.forwardRef(function(t,n){const o=et({props:t,name:"MuiDialogActions"}),{className:i,disableSpacing:a=!1}=o,c=Oe(o,IS),u=j({},o,{disableSpacing:a}),f=WS(u);return v.jsx(JS,j({className:ze(f.root,i),ownerState:u,ref:n},c))});function YS(e){return Ke("MuiDialogContent",e)}_e("MuiDialogContent",["root","dividers"]);function qS(e){return Ke("MuiDialogTitle",e)}const ZS=_e("MuiDialogTitle",["root"]),GS=["className","dividers"],US=e=>{const{classes:t,dividers:n}=e;return $e({root:["root",n&&"dividers"]},YS,t)},QS=ve("div",{name:"MuiDialogContent",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.dividers&&t.dividers]}})(({theme:e,ownerState:t})=>j({flex:"1 1 auto",WebkitOverflowScrolling:"touch",overflowY:"auto",padding:"20px 24px"},t.dividers?{padding:"16px 24px",borderTop:`1px solid ${(e.vars||e).palette.divider}`,borderBottom:`1px solid ${(e.vars||e).palette.divider}`}:{[`.${ZS.root} + &`]:{paddingTop:0}})),Pu=y.forwardRef(function(t,n){const o=et({props:t,name:"MuiDialogContent"}),{className:i,dividers:a=!1}=o,c=Oe(o,GS),u=j({},o,{dividers:a}),f=US(u);return v.jsx(QS,j({className:ze(f.root,i),ownerState:u,ref:n},c))}),KS=["className","id"],_S=e=>{const{classes:t}=e;return $e({root:["root"]},qS,t)},$S=ve(bt,{name:"MuiDialogTitle",slot:"Root",overridesResolver:(e,t)=>t.root})({padding:"16px 24px",flex:"0 0 auto"}),gu=y.forwardRef(function(t,n){const o=et({props:t,name:"MuiDialogTitle"}),{className:i,id:a}=o,c=Oe(o,KS),u=o,f=_S(u),{titleId:p=a}=y.useContext(l2);return v.jsx($S,j({component:"h2",className:ze(f.root,i),ownerState:u,ref:n,variant:"h6",id:a??p},c))});function eT(e){return Ke("MuiDivider",e)}const E8=_e("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]),tT=["absolute","children","className","component","flexItem","light","orientation","role","textAlign","variant"],nT=e=>{const{absolute:t,children:n,classes:o,flexItem:i,light:a,orientation:c,textAlign:u,variant:f}=e;return $e({root:["root",t&&"absolute",f,a&&"light",c==="vertical"&&"vertical",i&&"flexItem",n&&"withChildren",n&&c==="vertical"&&"withChildrenVertical",u==="right"&&c!=="vertical"&&"textAlignRight",u==="left"&&c!=="vertical"&&"textAlignLeft"],wrapper:["wrapper",c==="vertical"&&"wrapperVertical"]},eT,o)},rT=ve("div",{name:"MuiDivider",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.absolute&&t.absolute,t[n.variant],n.light&&t.light,n.orientation==="vertical"&&t.vertical,n.flexItem&&t.flexItem,n.children&&t.withChildren,n.children&&n.orientation==="vertical"&&t.withChildrenVertical,n.textAlign==="right"&&n.orientation!=="vertical"&&t.textAlignRight,n.textAlign==="left"&&n.orientation!=="vertical"&&t.textAlignLeft]}})(({theme:e,ownerState:t})=>j({margin:0,flexShrink:0,borderWidth:0,borderStyle:"solid",borderColor:(e.vars||e).palette.divider,borderBottomWidth:"thin"},t.absolute&&{position:"absolute",bottom:0,left:0,width:"100%"},t.light&&{borderColor:e.vars?`rgba(${e.vars.palette.dividerChannel} / 0.08)`:xt(e.palette.divider,.08)},t.variant==="inset"&&{marginLeft:72},t.variant==="middle"&&t.orientation==="horizontal"&&{marginLeft:e.spacing(2),marginRight:e.spacing(2)},t.variant==="middle"&&t.orientation==="vertical"&&{marginTop:e.spacing(1),marginBottom:e.spacing(1)},t.orientation==="vertical"&&{height:"100%",borderBottomWidth:0,borderRightWidth:"thin"},t.flexItem&&{alignSelf:"stretch",height:"auto"}),({ownerState:e})=>j({},e.children&&{display:"flex",whiteSpace:"nowrap",textAlign:"center",border:0,"&::before, &::after":{content:'""',alignSelf:"center"}}),({theme:e,ownerState:t})=>j({},t.children&&t.orientation!=="vertical"&&{"&::before, &::after":{width:"100%",borderTop:`thin solid ${(e.vars||e).palette.divider}`}}),({theme:e,ownerState:t})=>j({},t.children&&t.orientation==="vertical"&&{flexDirection:"column","&::before, &::after":{height:"100%",borderLeft:`thin solid ${(e.vars||e).palette.divider}`}}),({ownerState:e})=>j({},e.textAlign==="right"&&e.orientation!=="vertical"&&{"&::before":{width:"90%"},"&::after":{width:"10%"}},e.textAlign==="left"&&e.orientation!=="vertical"&&{"&::before":{width:"10%"},"&::after":{width:"90%"}})),oT=ve("span",{name:"MuiDivider",slot:"Wrapper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.wrapper,n.orientation==="vertical"&&t.wrapperVertical]}})(({theme:e,ownerState:t})=>j({display:"inline-block",paddingLeft:`calc(${e.spacing(1)} * 1.2)`,paddingRight:`calc(${e.spacing(1)} * 1.2)`},t.orientation==="vertical"&&{paddingTop:`calc(${e.spacing(1)} * 1.2)`,paddingBottom:`calc(${e.spacing(1)} * 1.2)`})),yl=y.forwardRef(function(t,n){const o=et({props:t,name:"MuiDivider"}),{absolute:i=!1,children:a,className:c,component:u=a?"div":"hr",flexItem:f=!1,light:p=!1,orientation:h="horizontal",role:m=u!=="hr"?"separator":void 0,textAlign:P="center",variant:H="fullWidth"}=o,g=Oe(o,tT),w=j({},o,{absolute:i,component:u,flexItem:f,light:p,orientation:h,role:m,textAlign:P,variant:H}),x=nT(w);return v.jsx(rT,j({as:u,className:ze(x.root,c),role:m,ref:n,ownerState:w},g,{children:a?v.jsx(oT,{className:x.wrapper,ownerState:w,children:a}):null}))});yl.muiSkipListHighlight=!0;const sT=["addEndListener","appear","children","container","direction","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function iT(e,t,n){const o=t.getBoundingClientRect(),i=n&&n.getBoundingClientRect(),a=$o(t);let c;if(t.fakeTransform)c=t.fakeTransform;else{const p=a.getComputedStyle(t);c=p.getPropertyValue("-webkit-transform")||p.getPropertyValue("transform")}let u=0,f=0;if(c&&c!=="none"&&typeof c=="string"){const p=c.split("(")[1].split(")")[0].split(",");u=parseInt(p[4],10),f=parseInt(p[5],10)}return e==="left"?i?`translateX(${i.right+u-o.left}px)`:`translateX(${a.innerWidth+u-o.left}px)`:e==="right"?i?`translateX(-${o.right-i.left-u}px)`:`translateX(-${o.left+o.width-u}px)`:e==="up"?i?`translateY(${i.bottom+f-o.top}px)`:`translateY(${a.innerHeight+f-o.top}px)`:i?`translateY(-${o.top-i.top+o.height-f}px)`:`translateY(-${o.top+o.height-f}px)`}function aT(e){return typeof e=="function"?e():e}function Id(e,t,n){const o=aT(n),i=iT(e,t,o);i&&(t.style.webkitTransform=i,t.style.transform=i)}const lT=y.forwardRef(function(t,n){const o=Qr(),i={enter:o.transitions.easing.easeOut,exit:o.transitions.easing.sharp},a={enter:o.transitions.duration.enteringScreen,exit:o.transitions.duration.leavingScreen},{addEndListener:c,appear:u=!0,children:f,container:p,direction:h="down",easing:m=i,in:P,onEnter:H,onEntered:g,onEntering:w,onExit:x,onExited:z,onExiting:O,style:C,timeout:D=a,TransitionComponent:R=So}=t,E=Oe(t,sT),T=y.useRef(null),L=on(f.ref,T,n),N=J=>K=>{J&&(K===void 0?J(T.current):J(T.current,K))},M=N((J,K)=>{Id(h,J,p),LP(J),H&&H(J,K)}),U=N((J,K)=>{const k=hl({timeout:D,style:C,easing:m},{mode:"enter"});J.style.webkitTransition=o.transitions.create("-webkit-transform",j({},k)),J.style.transition=o.transitions.create("transform",j({},k)),J.style.webkitTransform="none",J.style.transform="none",w&&w(J,K)}),I=N(g),W=N(O),oe=N(J=>{const K=hl({timeout:D,style:C,easing:m},{mode:"exit"});J.style.webkitTransition=o.transitions.create("-webkit-transform",K),J.style.transition=o.transitions.create("transform",K),Id(h,J,p),x&&x(J)}),q=N(J=>{J.style.webkitTransition="",J.style.transition="",z&&z(J)}),ie=J=>{c&&c(T.current,J)},te=y.useCallback(()=>{T.current&&Id(h,T.current,p)},[h,p]);return y.useEffect(()=>{if(P||h==="down"||h==="right")return;const J=rv(()=>{T.current&&Id(h,T.current,p)}),K=$o(T.current);return K.addEventListener("resize",J),()=>{J.clear(),K.removeEventListener("resize",J)}},[h,P,p]),y.useEffect(()=>{P||te()},[P,te]),v.jsx(R,j({nodeRef:T,onEnter:M,onEntered:I,onEntering:U,onExit:oe,onExited:q,onExiting:W,addEndListener:ie,appear:u,in:P,timeout:D},E,{children:(J,K)=>y.cloneElement(f,j({ref:L,style:j({visibility:J==="exited"&&!P?"hidden":void 0},C,f.props.style)},K))}))});function cT(e){return Ke("MuiDrawer",e)}_e("MuiDrawer",["root","docked","paper","paperAnchorLeft","paperAnchorRight","paperAnchorTop","paperAnchorBottom","paperAnchorDockedLeft","paperAnchorDockedRight","paperAnchorDockedTop","paperAnchorDockedBottom","modal"]);const uT=["BackdropProps"],fT=["anchor","BackdropProps","children","className","elevation","hideBackdrop","ModalProps","onClose","open","PaperProps","SlideProps","TransitionComponent","transitionDuration","variant"],c2=(e,t)=>{const{ownerState:n}=e;return[t.root,(n.variant==="permanent"||n.variant==="persistent")&&t.docked,t.modal]},dT=e=>{const{classes:t,anchor:n,variant:o}=e,i={root:["root"],docked:[(o==="permanent"||o==="persistent")&&"docked"],modal:["modal"],paper:["paper",`paperAnchor${Ae(n)}`,o!=="temporary"&&`paperAnchorDocked${Ae(n)}`]};return $e(i,cT,t)},pT=ve(qP,{name:"MuiDrawer",slot:"Root",overridesResolver:c2})(({theme:e})=>({zIndex:(e.vars||e).zIndex.drawer})),k8=ve("div",{shouldForwardProp:Yn,name:"MuiDrawer",slot:"Docked",skipVariantsResolver:!1,overridesResolver:c2})({flex:"0 0 auto"}),vT=ve(Gr,{name:"MuiDrawer",slot:"Paper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.paper,t[`paperAnchor${Ae(n.anchor)}`],n.variant!=="temporary"&&t[`paperAnchorDocked${Ae(n.anchor)}`]]}})(({theme:e,ownerState:t})=>j({overflowY:"auto",display:"flex",flexDirection:"column",height:"100%",flex:"1 0 auto",zIndex:(e.vars||e).zIndex.drawer,WebkitOverflowScrolling:"touch",position:"fixed",top:0,outline:0},t.anchor==="left"&&{left:0},t.anchor==="top"&&{top:0,left:0,right:0,height:"auto",maxHeight:"100%"},t.anchor==="right"&&{right:0},t.anchor==="bottom"&&{top:"auto",left:0,bottom:0,right:0,height:"auto",maxHeight:"100%"},t.anchor==="left"&&t.variant!=="temporary"&&{borderRight:`1px solid ${(e.vars||e).palette.divider}`},t.anchor==="top"&&t.variant!=="temporary"&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`},t.anchor==="right"&&t.variant!=="temporary"&&{borderLeft:`1px solid ${(e.vars||e).palette.divider}`},t.anchor==="bottom"&&t.variant!=="temporary"&&{borderTop:`1px solid ${(e.vars||e).palette.divider}`})),u2={left:"right",right:"left",top:"down",bottom:"up"};function hT(e){return["left","right"].indexOf(e)!==-1}function mT(e,t){return e.direction==="rtl"&&hT(t)?u2[t]:t}const AT=y.forwardRef(function(t,n){const o=et({props:t,name:"MuiDrawer"}),i=Qr(),a={enter:i.transitions.duration.enteringScreen,exit:i.transitions.duration.leavingScreen},{anchor:c="left",BackdropProps:u,children:f,className:p,elevation:h=16,hideBackdrop:m=!1,ModalProps:{BackdropProps:P}={},onClose:H,open:g=!1,PaperProps:w={},SlideProps:x,TransitionComponent:z=lT,transitionDuration:O=a,variant:C="temporary"}=o,D=Oe(o.ModalProps,uT),R=Oe(o,fT),E=y.useRef(!1);y.useEffect(()=>{E.current=!0},[]);const T=mT(i,c),N=j({},o,{anchor:c,elevation:h,open:g,variant:C},R),M=dT(N),U=v.jsx(vT,j({elevation:C==="temporary"?h:0,square:!0},w,{className:ze(M.paper,w.className),ownerState:N,children:f}));if(C==="permanent")return v.jsx(k8,j({className:ze(M.root,M.docked,p),ownerState:N,ref:n},R,{children:U}));const I=v.jsx(z,j({in:g,direction:u2[T],timeout:O,appear:E.current},x,{children:U}));return C==="persistent"?v.jsx(k8,j({className:ze(M.root,M.docked,p),ownerState:N,ref:n},R,{children:I})):v.jsx(pT,j({BackdropProps:j({},u,P,{transitionDuration:O}),className:ze(M.root,M.modal,p),open:g,ownerState:N,onClose:H,hideBackdrop:m,ref:n},R,D,{children:I}))}),PT=["disableUnderline","components","componentsProps","fullWidth","hiddenLabel","inputComponent","multiline","slotProps","slots","type"],gT=e=>{const{classes:t,disableUnderline:n}=e,i=$e({root:["root",!n&&"underline"],input:["input"]},lD,t);return j({},t,i)},yT=ve(vv,{shouldForwardProp:e=>Yn(e)||e==="classes",name:"MuiFilledInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[...dv(e,t),!n.disableUnderline&&t.underline]}})(({theme:e,ownerState:t})=>{var n;const o=e.palette.mode==="light",i=o?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)",a=o?"rgba(0, 0, 0, 0.06)":"rgba(255, 255, 255, 0.09)",c=o?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.13)",u=o?"rgba(0, 0, 0, 0.12)":"rgba(255, 255, 255, 0.12)";return j({position:"relative",backgroundColor:e.vars?e.vars.palette.FilledInput.bg:a,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:c,"@media (hover: none)":{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:a}},[`&.${Fr.focused}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:a},[`&.${Fr.disabled}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.disabledBg:u}},!t.disableUnderline&&{"&::after":{borderBottom:`2px solid ${(n=(e.vars||e).palette[t.color||"primary"])==null?void 0:n.main}`,left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${Fr.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${Fr.error}`]:{"&::before, &::after":{borderBottomColor:(e.vars||e).palette.error.main}},"&::before":{borderBottom:`1px solid ${e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / ${e.vars.opacity.inputUnderline})`:i}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${Fr.disabled}, .${Fr.error}):before`]:{borderBottom:`1px solid ${(e.vars||e).palette.text.primary}`},[`&.${Fr.disabled}:before`]:{borderBottomStyle:"dotted"}},t.startAdornment&&{paddingLeft:12},t.endAdornment&&{paddingRight:12},t.multiline&&j({padding:"25px 12px 8px"},t.size==="small"&&{paddingTop:21,paddingBottom:4},t.hiddenLabel&&{paddingTop:16,paddingBottom:17},t.hiddenLabel&&t.size==="small"&&{paddingTop:8,paddingBottom:9}))}),bT=ve(hv,{name:"MuiFilledInput",slot:"Input",overridesResolver:pv})(({theme:e,ownerState:t})=>j({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"}}},t.size==="small"&&{paddingTop:21,paddingBottom:4},t.hiddenLabel&&{paddingTop:16,paddingBottom:17},t.startAdornment&&{paddingLeft:0},t.endAdornment&&{paddingRight:0},t.hiddenLabel&&t.size==="small"&&{paddingTop:8,paddingBottom:9},t.multiline&&{paddingTop:0,paddingBottom:0,paddingLeft:0,paddingRight:0})),ZP=y.forwardRef(function(t,n){var o,i,a,c;const u=et({props:t,name:"MuiFilledInput"}),{components:f={},componentsProps:p,fullWidth:h=!1,inputComponent:m="input",multiline:P=!1,slotProps:H,slots:g={},type:w="text"}=u,x=Oe(u,PT),z=j({},u,{fullWidth:h,inputComponent:m,multiline:P,type:w}),O=gT(u),C={root:{ownerState:z},input:{ownerState:z}},D=H??p?Cr(C,H??p):C,R=(o=(i=g.root)!=null?i:f.Root)!=null?o:yT,E=(a=(c=g.input)!=null?c:f.Input)!=null?a:bT;return v.jsx(mv,j({slots:{root:R,input:E},componentsProps:D,fullWidth:h,inputComponent:m,multiline:P,ref:n,type:w},x,{classes:O}))});ZP.muiName="Input";function xT(e){return Ke("MuiFormControl",e)}_e("MuiFormControl",["root","marginNone","marginNormal","marginDense","fullWidth","disabled"]);const wT=["children","className","color","component","disabled","error","focused","fullWidth","hiddenLabel","margin","required","size","variant"],HT=e=>{const{classes:t,margin:n,fullWidth:o}=e,i={root:["root",n!=="none"&&`margin${Ae(n)}`,o&&"fullWidth"]};return $e(i,xT,t)},jT=ve("div",{name:"MuiFormControl",slot:"Root",overridesResolver:({ownerState:e},t)=>j({},t.root,t[`margin${Ae(e.margin)}`],e.fullWidth&&t.fullWidth)})(({ownerState:e})=>j({display:"inline-flex",flexDirection:"column",position:"relative",minWidth:0,padding:0,margin:0,border:0,verticalAlign:"top"},e.margin==="normal"&&{marginTop:16,marginBottom:8},e.margin==="dense"&&{marginTop:8,marginBottom:4},e.fullWidth&&{width:"100%"})),fr=y.forwardRef(function(t,n){const o=et({props:t,name:"MuiFormControl"}),{children:i,className:a,color:c="primary",component:u="div",disabled:f=!1,error:p=!1,focused:h,fullWidth:m=!1,hiddenLabel:P=!1,margin:H="none",required:g=!1,size:w="medium",variant:x="outlined"}=o,z=Oe(o,wT),O=j({},o,{color:c,component:u,disabled:f,error:p,fullWidth:m,hiddenLabel:P,margin:H,required:g,size:w,variant:x}),C=HT(O),[D,R]=y.useState(()=>{let W=!1;return i&&y.Children.forEach(i,oe=>{if(!Cu(oe,["Input","Select"]))return;const q=Cu(oe,["Select"])?oe.props.input:oe;q&&tD(q.props)&&(W=!0)}),W}),[E,T]=y.useState(()=>{let W=!1;return i&&y.Children.forEach(i,oe=>{Cu(oe,["Input","Select"])&&(Hp(oe.props,!0)||Hp(oe.props.inputProps,!0))&&(W=!0)}),W}),[L,N]=y.useState(!1);f&&L&&N(!1);const M=h!==void 0&&!f?h:L;let U;const I=y.useMemo(()=>({adornedStart:D,setAdornedStart:R,color:c,disabled:f,error:p,filled:E,focused:M,fullWidth:m,hiddenLabel:P,size:w,onBlur:()=>{N(!1)},onEmpty:()=>{T(!1)},onFilled:()=>{T(!0)},onFocus:()=>{N(!0)},registerEffect:U,required:g,variant:x}),[D,c,f,p,E,M,m,P,U,g,w,x]);return v.jsx(fv.Provider,{value:I,children:v.jsx(jT,j({as:u,ownerState:O,className:ze(C.root,a),ref:n},z,{children:i}))})}),Ro=dz({createStyledComponent:ve("div",{name:"MuiStack",slot:"Root",overridesResolver:(e,t)=>t.root}),useThemeProps:e=>et({props:e,name:"MuiStack"})});function zT(e){return Ke("MuiFormControlLabel",e)}const yu=_e("MuiFormControlLabel",["root","labelPlacementStart","labelPlacementTop","labelPlacementBottom","disabled","label","error","required","asterisk"]),OT=["checked","className","componentsProps","control","disabled","disableTypography","inputRef","label","labelPlacement","name","onChange","required","slotProps","value"],CT=e=>{const{classes:t,disabled:n,labelPlacement:o,error:i,required:a}=e,c={root:["root",n&&"disabled",`labelPlacement${Ae(o)}`,i&&"error",a&&"required"],label:["label",n&&"disabled"],asterisk:["asterisk",i&&"error"]};return $e(c,zT,t)},RT=ve("label",{name:"MuiFormControlLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${yu.label}`]:t.label},t.root,t[`labelPlacement${Ae(n.labelPlacement)}`]]}})(({theme:e,ownerState:t})=>j({display:"inline-flex",alignItems:"center",cursor:"pointer",verticalAlign:"middle",WebkitTapHighlightColor:"transparent",marginLeft:-11,marginRight:16,[`&.${yu.disabled}`]:{cursor:"default"}},t.labelPlacement==="start"&&{flexDirection:"row-reverse",marginLeft:16,marginRight:-11},t.labelPlacement==="top"&&{flexDirection:"column-reverse",marginLeft:16},t.labelPlacement==="bottom"&&{flexDirection:"column",marginLeft:16},{[`& .${yu.label}`]:{[`&.${yu.disabled}`]:{color:(e.vars||e).palette.text.disabled}}})),DT=ve("span",{name:"MuiFormControlLabel",slot:"Asterisk",overridesResolver:(e,t)=>t.asterisk})(({theme:e})=>({[`&.${yu.error}`]:{color:(e.vars||e).palette.error.main}})),ys=y.forwardRef(function(t,n){var o,i;const a=et({props:t,name:"MuiFormControlLabel"}),{className:c,componentsProps:u={},control:f,disabled:p,disableTypography:h,label:m,labelPlacement:P="end",required:H,slotProps:g={}}=a,w=Oe(a,OT),x=ns(),z=(o=p??f.props.disabled)!=null?o:x==null?void 0:x.disabled,O=H??f.props.required,C={disabled:z,required:O};["checked","name","onChange","value","inputRef"].forEach(N=>{typeof f.props[N]>"u"&&typeof a[N]<"u"&&(C[N]=a[N])});const D=hi({props:a,muiFormControl:x,states:["error"]}),R=j({},a,{disabled:z,labelPlacement:P,required:O,error:D.error}),E=CT(R),T=(i=g.typography)!=null?i:u.typography;let L=m;return L!=null&&L.type!==bt&&!h&&(L=v.jsx(bt,j({component:"span"},T,{className:ze(E.label,T==null?void 0:T.className),children:L}))),v.jsxs(RT,j({className:ze(E.root,c),ownerState:R,ref:n},w,{children:[y.cloneElement(f,C),O?v.jsxs(Ro,{display:"block",children:[L,v.jsxs(DT,{ownerState:R,"aria-hidden":!0,className:E.asterisk,children:[" ","*"]})]}):L]}))});function ST(e){return Ke("MuiFormGroup",e)}_e("MuiFormGroup",["root","row","error"]);const TT=["className","row"],ET=e=>{const{classes:t,row:n,error:o}=e;return $e({root:["root",n&&"row",o&&"error"]},ST,t)},kT=ve("div",{name:"MuiFormGroup",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.row&&t.row]}})(({ownerState:e})=>j({display:"flex",flexDirection:"column",flexWrap:"wrap"},e.row&&{flexDirection:"row"})),MT=y.forwardRef(function(t,n){const o=et({props:t,name:"MuiFormGroup"}),{className:i,row:a=!1}=o,c=Oe(o,TT),u=ns(),f=hi({props:o,muiFormControl:u,states:["error"]}),p=j({},o,{row:a,error:f.error}),h=ET(p);return v.jsx(kT,j({className:ze(h.root,i),ownerState:p,ref:n},c))});function LT(e){return Ke("MuiFormHelperText",e)}const M8=_e("MuiFormHelperText",["root","error","disabled","sizeSmall","sizeMedium","contained","focused","filled","required"]);var L8;const XT=["children","className","component","disabled","error","filled","focused","margin","required","variant"],NT=e=>{const{classes:t,contained:n,size:o,disabled:i,error:a,filled:c,focused:u,required:f}=e,p={root:["root",i&&"disabled",a&&"error",o&&`size${Ae(o)}`,n&&"contained",u&&"focused",c&&"filled",f&&"required"]};return $e(p,LT,t)},BT=ve("p",{name:"MuiFormHelperText",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.size&&t[`size${Ae(n.size)}`],n.contained&&t.contained,n.filled&&t.filled]}})(({theme:e,ownerState:t})=>j({color:(e.vars||e).palette.text.secondary},e.typography.caption,{textAlign:"left",marginTop:3,marginRight:0,marginBottom:0,marginLeft:0,[`&.${M8.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${M8.error}`]:{color:(e.vars||e).palette.error.main}},t.size==="small"&&{marginTop:4},t.contained&&{marginLeft:14,marginRight:14})),Ia=y.forwardRef(function(t,n){const o=et({props:t,name:"MuiFormHelperText"}),{children:i,className:a,component:c="p"}=o,u=Oe(o,XT),f=ns(),p=hi({props:o,muiFormControl:f,states:["variant","size","disabled","error","filled","focused","required"]}),h=j({},o,{component:c,contained:p.variant==="filled"||p.variant==="outlined",variant:p.variant,size:p.size,disabled:p.disabled,error:p.error,filled:p.filled,focused:p.focused,required:p.required}),m=NT(h);return v.jsx(BT,j({as:c,ownerState:h,className:ze(m.root,a),ref:n},u,{children:i===" "?L8||(L8=v.jsx("span",{className:"notranslate",children:"​"})):i}))});function VT(e){return Ke("MuiFormLabel",e)}const Tu=_e("MuiFormLabel",["root","colorSecondary","focused","disabled","error","filled","required","asterisk"]),IT=["children","className","color","component","disabled","error","filled","focused","required"],WT=e=>{const{classes:t,color:n,focused:o,disabled:i,error:a,filled:c,required:u}=e,f={root:["root",`color${Ae(n)}`,i&&"disabled",a&&"error",c&&"filled",o&&"focused",u&&"required"],asterisk:["asterisk",a&&"error"]};return $e(f,VT,t)},JT=ve("label",{name:"MuiFormLabel",slot:"Root",overridesResolver:({ownerState:e},t)=>j({},t.root,e.color==="secondary"&&t.colorSecondary,e.filled&&t.filled)})(({theme:e,ownerState:t})=>j({color:(e.vars||e).palette.text.secondary},e.typography.body1,{lineHeight:"1.4375em",padding:0,position:"relative",[`&.${Tu.focused}`]:{color:(e.vars||e).palette[t.color].main},[`&.${Tu.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${Tu.error}`]:{color:(e.vars||e).palette.error.main}})),FT=ve("span",{name:"MuiFormLabel",slot:"Asterisk",overridesResolver:(e,t)=>t.asterisk})(({theme:e})=>({[`&.${Tu.error}`]:{color:(e.vars||e).palette.error.main}})),sp=y.forwardRef(function(t,n){const o=et({props:t,name:"MuiFormLabel"}),{children:i,className:a,component:c="label"}=o,u=Oe(o,IT),f=ns(),p=hi({props:o,muiFormControl:f,states:["color","required","focused","disabled","error","filled"]}),h=j({},o,{color:p.color||"primary",component:c,disabled:p.disabled,error:p.error,filled:p.filled,focused:p.focused,required:p.required}),m=WT(h);return v.jsxs(JT,j({as:c,ownerState:h,className:ze(m.root,a),ref:n},u,{children:[i,p.required&&v.jsxs(FT,{ownerState:h,"aria-hidden":!0,className:m.asterisk,children:[" ","*"]})]}))}),X8=y.createContext();function YT(e){return Ke("MuiGrid",e)}const qT=[0,1,2,3,4,5,6,7,8,9,10],ZT=["column-reverse","column","row-reverse","row"],GT=["nowrap","wrap-reverse","wrap"],gc=["auto",!0,1,2,3,4,5,6,7,8,9,10,11,12],qu=_e("MuiGrid",["root","container","item","zeroMinWidth",...qT.map(e=>`spacing-xs-${e}`),...ZT.map(e=>`direction-xs-${e}`),...GT.map(e=>`wrap-xs-${e}`),...gc.map(e=>`grid-xs-${e}`),...gc.map(e=>`grid-sm-${e}`),...gc.map(e=>`grid-md-${e}`),...gc.map(e=>`grid-lg-${e}`),...gc.map(e=>`grid-xl-${e}`)]),UT=["className","columns","columnSpacing","component","container","direction","item","rowSpacing","spacing","wrap","zeroMinWidth"];function Ua(e){const t=parseFloat(e);return`${t}${String(e).replace(String(t),"")||"px"}`}function QT({theme:e,ownerState:t}){let n;return e.breakpoints.keys.reduce((o,i)=>{let a={};if(t[i]&&(n=t[i]),!n)return o;if(n===!0)a={flexBasis:0,flexGrow:1,maxWidth:"100%"};else if(n==="auto")a={flexBasis:"auto",flexGrow:0,flexShrink:0,maxWidth:"none",width:"auto"};else{const c=Zi({values:t.columns,breakpoints:e.breakpoints.values}),u=typeof c=="object"?c[i]:c;if(u==null)return o;const f=`${Math.round(n/u*1e8)/1e6}%`;let p={};if(t.container&&t.item&&t.columnSpacing!==0){const h=e.spacing(t.columnSpacing);if(h!=="0px"){const m=`calc(${f} + ${Ua(h)})`;p={flexBasis:m,maxWidth:m}}}a=j({flexBasis:f,flexGrow:0,maxWidth:f},p)}return e.breakpoints.values[i]===0?Object.assign(o,a):o[e.breakpoints.up(i)]=a,o},{})}function KT({theme:e,ownerState:t}){const n=Zi({values:t.direction,breakpoints:e.breakpoints.values});return kr({theme:e},n,o=>{const i={flexDirection:o};return o.indexOf("column")===0&&(i[`& > .${qu.item}`]={maxWidth:"none"}),i})}function f2({breakpoints:e,values:t}){let n="";Object.keys(t).forEach(i=>{n===""&&t[i]!==0&&(n=i)});const o=Object.keys(e).sort((i,a)=>e[i]-e[a]);return o.slice(0,o.indexOf(n))}function _T({theme:e,ownerState:t}){const{container:n,rowSpacing:o}=t;let i={};if(n&&o!==0){const a=Zi({values:o,breakpoints:e.breakpoints.values});let c;typeof a=="object"&&(c=f2({breakpoints:e.breakpoints.values,values:a})),i=kr({theme:e},a,(u,f)=>{var p;const h=e.spacing(u);return h!=="0px"?{marginTop:`-${Ua(h)}`,[`& > .${qu.item}`]:{paddingTop:Ua(h)}}:(p=c)!=null&&p.includes(f)?{}:{marginTop:0,[`& > .${qu.item}`]:{paddingTop:0}}})}return i}function $T({theme:e,ownerState:t}){const{container:n,columnSpacing:o}=t;let i={};if(n&&o!==0){const a=Zi({values:o,breakpoints:e.breakpoints.values});let c;typeof a=="object"&&(c=f2({breakpoints:e.breakpoints.values,values:a})),i=kr({theme:e},a,(u,f)=>{var p;const h=e.spacing(u);return h!=="0px"?{width:`calc(100% + ${Ua(h)})`,marginLeft:`-${Ua(h)}`,[`& > .${qu.item}`]:{paddingLeft:Ua(h)}}:(p=c)!=null&&p.includes(f)?{}:{width:"100%",marginLeft:0,[`& > .${qu.item}`]:{paddingLeft:0}}})}return i}function eE(e,t,n={}){if(!e||e<=0)return[];if(typeof e=="string"&&!Number.isNaN(Number(e))||typeof e=="number")return[n[`spacing-xs-${String(e)}`]];const o=[];return t.forEach(i=>{const a=e[i];Number(a)>0&&o.push(n[`spacing-${i}-${String(a)}`])}),o}const tE=ve("div",{name:"MuiGrid",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e,{container:o,direction:i,item:a,spacing:c,wrap:u,zeroMinWidth:f,breakpoints:p}=n;let h=[];o&&(h=eE(c,p,t));const m=[];return p.forEach(P=>{const H=n[P];H&&m.push(t[`grid-${P}-${String(H)}`])}),[t.root,o&&t.container,a&&t.item,f&&t.zeroMinWidth,...h,i!=="row"&&t[`direction-xs-${String(i)}`],u!=="wrap"&&t[`wrap-xs-${String(u)}`],...m]}})(({ownerState:e})=>j({boxSizing:"border-box"},e.container&&{display:"flex",flexWrap:"wrap",width:"100%"},e.item&&{margin:0},e.zeroMinWidth&&{minWidth:0},e.wrap!=="wrap"&&{flexWrap:e.wrap}),KT,_T,$T,QT);function nE(e,t){if(!e||e<=0)return[];if(typeof e=="string"&&!Number.isNaN(Number(e))||typeof e=="number")return[`spacing-xs-${String(e)}`];const n=[];return t.forEach(o=>{const i=e[o];if(Number(i)>0){const a=`spacing-${o}-${String(i)}`;n.push(a)}}),n}const rE=e=>{const{classes:t,container:n,direction:o,item:i,spacing:a,wrap:c,zeroMinWidth:u,breakpoints:f}=e;let p=[];n&&(p=nE(a,f));const h=[];f.forEach(P=>{const H=e[P];H&&h.push(`grid-${P}-${String(H)}`)});const m={root:["root",n&&"container",i&&"item",u&&"zeroMinWidth",...p,o!=="row"&&`direction-xs-${String(o)}`,c!=="wrap"&&`wrap-xs-${String(c)}`,...h]};return $e(m,YT,t)},_o=y.forwardRef(function(t,n){const o=et({props:t,name:"MuiGrid"}),{breakpoints:i}=Qr(),a=ev(o),{className:c,columns:u,columnSpacing:f,component:p="div",container:h=!1,direction:m="row",item:P=!1,rowSpacing:H,spacing:g=0,wrap:w="wrap",zeroMinWidth:x=!1}=a,z=Oe(a,UT),O=H||g,C=f||g,D=y.useContext(X8),R=h?u||12:D,E={},T=j({},z);i.keys.forEach(M=>{z[M]!=null&&(E[M]=z[M],delete T[M])});const L=j({},a,{columns:R,container:h,direction:m,item:P,rowSpacing:O,columnSpacing:C,wrap:w,zeroMinWidth:x,spacing:g},E,{breakpoints:i.keys}),N=rE(L);return v.jsx(X8.Provider,{value:R,children:v.jsx(tE,j({ownerState:L,className:ze(N.root,c),as:p,ref:n},T))})}),oE=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function MA(e){return`scale(${e}, ${e**2})`}const sE={entering:{opacity:1,transform:MA(1)},entered:{opacity:1,transform:"none"}},Qm=typeof navigator<"u"&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),Zu=y.forwardRef(function(t,n){const{addEndListener:o,appear:i=!0,children:a,easing:c,in:u,onEnter:f,onEntered:p,onEntering:h,onExit:m,onExited:P,onExiting:H,style:g,timeout:w="auto",TransitionComponent:x=So}=t,z=Oe(t,oE),O=Li(),C=y.useRef(),D=Qr(),R=y.useRef(null),E=on(R,a.ref,n),T=q=>ie=>{if(q){const te=R.current;ie===void 0?q(te):q(te,ie)}},L=T(h),N=T((q,ie)=>{LP(q);const{duration:te,delay:J,easing:K}=hl({style:g,timeout:w,easing:c},{mode:"enter"});let k;w==="auto"?(k=D.transitions.getAutoHeightDuration(q.clientHeight),C.current=k):k=te,q.style.transition=[D.transitions.create("opacity",{duration:k,delay:J}),D.transitions.create("transform",{duration:Qm?k:k*.666,delay:J,easing:K})].join(","),f&&f(q,ie)}),M=T(p),U=T(H),I=T(q=>{const{duration:ie,delay:te,easing:J}=hl({style:g,timeout:w,easing:c},{mode:"exit"});let K;w==="auto"?(K=D.transitions.getAutoHeightDuration(q.clientHeight),C.current=K):K=ie,q.style.transition=[D.transitions.create("opacity",{duration:K,delay:te}),D.transitions.create("transform",{duration:Qm?K:K*.666,delay:Qm?te:te||K*.333,easing:J})].join(","),q.style.opacity=0,q.style.transform=MA(.75),m&&m(q)}),W=T(P),oe=q=>{w==="auto"&&O.start(C.current||0,q),o&&o(R.current,q)};return v.jsx(x,j({appear:i,in:u,nodeRef:R,onEnter:N,onEntered:M,onEntering:L,onExit:I,onExited:W,onExiting:U,addEndListener:oe,timeout:w==="auto"?null:w},z,{children:(q,ie)=>y.cloneElement(a,j({style:j({opacity:0,transform:MA(.75),visibility:q==="exited"&&!u?"hidden":void 0},sE[q],g,a.props.style),ref:E},ie))}))});Zu.muiSupportAuto=!0;function iE(e,t,n,o,i){const[a,c]=y.useState(()=>i&&n?n(e).matches:o?o(e).matches:t);return Mr(()=>{let u=!0;if(!n)return;const f=n(e),p=()=>{u&&c(f.matches)};return p(),f.addListener(p),()=>{u=!1,f.removeListener(p)}},[e,n]),a}const d2=y.useSyncExternalStore;function aE(e,t,n,o,i){const a=y.useCallback(()=>t,[t]),c=y.useMemo(()=>{if(i&&n)return()=>n(e).matches;if(o!==null){const{matches:h}=o(e);return()=>h}return a},[a,e,o,i,n]),[u,f]=y.useMemo(()=>{if(n===null)return[a,()=>()=>{}];const h=n(e);return[()=>h.matches,m=>(h.addListener(m),()=>{h.removeListener(m)})]},[a,n,e]);return d2(f,u,c)}function lE(e,t={}){const n=_p(),o=typeof window<"u"&&typeof window.matchMedia<"u",{defaultMatches:i=!1,matchMedia:a=o?window.matchMedia:null,ssrMatchMedia:c=null,noSsr:u=!1}=T1({name:"MuiUseMediaQuery",props:t,theme:n});let f=typeof e=="function"?e(n):e;return f=f.replace(/^@media( ?)/m,""),(d2!==void 0?aE:iE)(f,i,a,c,u)}const cE=["disableUnderline","components","componentsProps","fullWidth","inputComponent","multiline","slotProps","slots","type"],uE=e=>{const{classes:t,disableUnderline:n}=e,i=$e({root:["root",!n&&"underline"],input:["input"]},iD,t);return j({},t,i)},fE=ve(vv,{shouldForwardProp:e=>Yn(e)||e==="classes",name:"MuiInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[...dv(e,t),!n.disableUnderline&&t.underline]}})(({theme:e,ownerState:t})=>{let o=e.palette.mode==="light"?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)";return e.vars&&(o=`rgba(${e.vars.palette.common.onBackgroundChannel} / ${e.vars.opacity.inputUnderline})`),j({position:"relative"},t.formControl&&{"label + &":{marginTop:16}},!t.disableUnderline&&{"&::after":{borderBottom:`2px solid ${(e.vars||e).palette[t.color].main}`,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"},[`&.${_s.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${_s.error}`]:{"&::before, &::after":{borderBottomColor:(e.vars||e).palette.error.main}},"&::before":{borderBottom:`1px solid ${o}`,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(.${_s.disabled}, .${_s.error}):before`]:{borderBottom:`2px solid ${(e.vars||e).palette.text.primary}`,"@media (hover: none)":{borderBottom:`1px solid ${o}`}},[`&.${_s.disabled}:before`]:{borderBottomStyle:"dotted"}})}),dE=ve(hv,{name:"MuiInput",slot:"Input",overridesResolver:pv})({}),GP=y.forwardRef(function(t,n){var o,i,a,c;const u=et({props:t,name:"MuiInput"}),{disableUnderline:f,components:p={},componentsProps:h,fullWidth:m=!1,inputComponent:P="input",multiline:H=!1,slotProps:g,slots:w={},type:x="text"}=u,z=Oe(u,cE),O=uE(u),D={root:{ownerState:{disableUnderline:f}}},R=g??h?Cr(g??h,D):D,E=(o=(i=w.root)!=null?i:p.Root)!=null?o:fE,T=(a=(c=w.input)!=null?c:p.Input)!=null?a:dE;return v.jsx(mv,j({slots:{root:E,input:T},slotProps:R,fullWidth:m,inputComponent:P,multiline:H,ref:n,type:x},z,{classes:O}))});GP.muiName="Input";function pE(e){return Ke("MuiInputAdornment",e)}const N8=_e("MuiInputAdornment",["root","filled","standard","outlined","positionStart","positionEnd","disablePointerEvents","hiddenLabel","sizeSmall"]);var B8;const vE=["children","className","component","disablePointerEvents","disableTypography","position","variant"],hE=(e,t)=>{const{ownerState:n}=e;return[t.root,t[`position${Ae(n.position)}`],n.disablePointerEvents===!0&&t.disablePointerEvents,t[n.variant]]},mE=e=>{const{classes:t,disablePointerEvents:n,hiddenLabel:o,position:i,size:a,variant:c}=e,u={root:["root",n&&"disablePointerEvents",i&&`position${Ae(i)}`,c,o&&"hiddenLabel",a&&`size${Ae(a)}`]};return $e(u,pE,t)},AE=ve("div",{name:"MuiInputAdornment",slot:"Root",overridesResolver:hE})(({theme:e,ownerState:t})=>j({display:"flex",height:"0.01em",maxHeight:"2em",alignItems:"center",whiteSpace:"nowrap",color:(e.vars||e).palette.action.active},t.variant==="filled"&&{[`&.${N8.positionStart}&:not(.${N8.hiddenLabel})`]:{marginTop:16}},t.position==="start"&&{marginRight:8},t.position==="end"&&{marginLeft:8},t.disablePointerEvents===!0&&{pointerEvents:"none"})),p2=y.forwardRef(function(t,n){const o=et({props:t,name:"MuiInputAdornment"}),{children:i,className:a,component:c="div",disablePointerEvents:u=!1,disableTypography:f=!1,position:p,variant:h}=o,m=Oe(o,vE),P=ns()||{};let H=h;h&&P.variant,P&&!H&&(H=P.variant);const g=j({},o,{hiddenLabel:P.hiddenLabel,size:P.size,disablePointerEvents:u,position:p,variant:H}),w=mE(g);return v.jsx(fv.Provider,{value:null,children:v.jsx(AE,j({as:c,ownerState:g,className:ze(w.root,a),ref:n},m,{children:typeof i=="string"&&!f?v.jsx(bt,{color:"text.secondary",children:i}):v.jsxs(y.Fragment,{children:[p==="start"?B8||(B8=v.jsx("span",{className:"notranslate",children:"​"})):null,i]})}))})});function PE(e){return Ke("MuiInputLabel",e)}_e("MuiInputLabel",["root","focused","disabled","error","required","asterisk","formControl","sizeSmall","shrink","animated","standard","filled","outlined"]);const gE=["disableAnimation","margin","shrink","variant","className"],yE=e=>{const{classes:t,formControl:n,size:o,shrink:i,disableAnimation:a,variant:c,required:u}=e,f={root:["root",n&&"formControl",!a&&"animated",i&&"shrink",o&&o!=="normal"&&`size${Ae(o)}`,c],asterisk:[u&&"asterisk"]},p=$e(f,PE,t);return j({},t,p)},bE=ve(sp,{shouldForwardProp:e=>Yn(e)||e==="classes",name:"MuiInputLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${Tu.asterisk}`]:t.asterisk},t.root,n.formControl&&t.formControl,n.size==="small"&&t.sizeSmall,n.shrink&&t.shrink,!n.disableAnimation&&t.animated,n.focused&&t.focused,t[n.variant]]}})(({theme:e,ownerState:t})=>j({display:"block",transformOrigin:"top left",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",maxWidth:"100%"},t.formControl&&{position:"absolute",left:0,top:0,transform:"translate(0, 20px) scale(1)"},t.size==="small"&&{transform:"translate(0, 17px) scale(1)"},t.shrink&&{transform:"translate(0, -1.5px) scale(0.75)",transformOrigin:"top left",maxWidth:"133%"},!t.disableAnimation&&{transition:e.transitions.create(["color","transform","max-width"],{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut})},t.variant==="filled"&&j({zIndex:1,pointerEvents:"none",transform:"translate(12px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"},t.size==="small"&&{transform:"translate(12px, 13px) scale(1)"},t.shrink&&j({userSelect:"none",pointerEvents:"auto",transform:"translate(12px, 7px) scale(0.75)",maxWidth:"calc(133% - 24px)"},t.size==="small"&&{transform:"translate(12px, 4px) scale(0.75)"})),t.variant==="outlined"&&j({zIndex:1,pointerEvents:"none",transform:"translate(14px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"},t.size==="small"&&{transform:"translate(14px, 9px) scale(1)"},t.shrink&&{userSelect:"none",pointerEvents:"auto",maxWidth:"calc(133% - 32px)",transform:"translate(14px, -9px) scale(0.75)"}))),ip=y.forwardRef(function(t,n){const o=et({name:"MuiInputLabel",props:t}),{disableAnimation:i=!1,shrink:a,className:c}=o,u=Oe(o,gE),f=ns();let p=a;typeof p>"u"&&f&&(p=f.filled||f.focused||f.adornedStart);const h=hi({props:o,muiFormControl:f,states:["size","variant","required","focused"]}),m=j({},o,{disableAnimation:i,formControl:f,shrink:p,size:h.size,variant:h.variant,required:h.required,focused:h.focused}),P=yE(m);return v.jsx(bE,j({"data-shrink":p,ownerState:m,ref:n,className:ze(P.root,c)},u,{classes:P}))});function xE(e){return Ke("MuiLink",e)}const wE=_e("MuiLink",["root","underlineNone","underlineHover","underlineAlways","button","focusVisible"]),v2={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},HE=e=>v2[e]||e,jE=({theme:e,ownerState:t})=>{const n=HE(t.color),o=dl(e,`palette.${n}`,!1)||t.color,i=dl(e,`palette.${n}Channel`);return"vars"in e&&i?`rgba(${i} / 0.4)`:xt(o,.4)},zE=["className","color","component","onBlur","onFocus","TypographyClasses","underline","variant","sx"],OE=e=>{const{classes:t,component:n,focusVisible:o,underline:i}=e,a={root:["root",`underline${Ae(i)}`,n==="button"&&"button",o&&"focusVisible"]};return $e(a,xE,t)},CE=ve(bt,{name:"MuiLink",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`underline${Ae(n.underline)}`],n.component==="button"&&t.button]}})(({theme:e,ownerState:t})=>j({},t.underline==="none"&&{textDecoration:"none"},t.underline==="hover"&&{textDecoration:"none","&:hover":{textDecoration:"underline"}},t.underline==="always"&&j({textDecoration:"underline"},t.color!=="inherit"&&{textDecorationColor:jE({theme:e,ownerState:t})},{"&:hover":{textDecorationColor:"inherit"}}),t.component==="button"&&{position:"relative",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none","&::-moz-focus-inner":{borderStyle:"none"},[`&.${wE.focusVisible}`]:{outline:"auto"}})),bu=y.forwardRef(function(t,n){const o=et({props:t,name:"MuiLink"}),{className:i,color:a="primary",component:c="a",onBlur:u,onFocus:f,TypographyClasses:p,underline:h="always",variant:m="inherit",sx:P}=o,H=Oe(o,zE),{isFocusVisibleRef:g,onBlur:w,onFocus:x,ref:z}=sv(),[O,C]=y.useState(!1),D=on(n,z),R=N=>{w(N),g.current===!1&&C(!1),u&&u(N)},E=N=>{x(N),g.current===!0&&C(!0),f&&f(N)},T=j({},o,{color:a,component:c,focusVisible:O,underline:h,variant:m}),L=OE(T);return v.jsx(CE,j({color:a,className:ze(L.root,i),classes:p,component:c,onBlur:R,onFocus:E,ref:D,ownerState:T,variant:m,sx:[...Object.keys(v2).includes(a)?[]:[{color:a}],...Array.isArray(P)?P:[P]]},H))}),Co=y.createContext({});function RE(e){return Ke("MuiList",e)}_e("MuiList",["root","padding","dense","subheader"]);const DE=["children","className","component","dense","disablePadding","subheader"],SE=e=>{const{classes:t,disablePadding:n,dense:o,subheader:i}=e;return $e({root:["root",!n&&"padding",o&&"dense",i&&"subheader"]},RE,t)},TE=ve("ul",{name:"MuiList",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disablePadding&&t.padding,n.dense&&t.dense,n.subheader&&t.subheader]}})(({ownerState:e})=>j({listStyle:"none",margin:0,padding:0,position:"relative"},!e.disablePadding&&{paddingTop:8,paddingBottom:8},e.subheader&&{paddingTop:0})),LA=y.forwardRef(function(t,n){const o=et({props:t,name:"MuiList"}),{children:i,className:a,component:c="ul",dense:u=!1,disablePadding:f=!1,subheader:p}=o,h=Oe(o,DE),m=y.useMemo(()=>({dense:u}),[u]),P=j({},o,{component:c,dense:u,disablePadding:f}),H=SE(P);return v.jsx(Co.Provider,{value:m,children:v.jsxs(TE,j({as:c,className:ze(H.root,a),ref:n,ownerState:P},h,{children:[p,i]}))})});function EE(e){return Ke("MuiListItem",e)}const Wa=_e("MuiListItem",["root","container","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","padding","button","secondaryAction","selected"]);function kE(e){return Ke("MuiListItemButton",e)}const Ja=_e("MuiListItemButton",["root","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","selected"]),ME=["alignItems","autoFocus","component","children","dense","disableGutters","divider","focusVisibleClassName","selected","className"],LE=(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,n.alignItems==="flex-start"&&t.alignItemsFlexStart,n.divider&&t.divider,!n.disableGutters&&t.gutters]},XE=e=>{const{alignItems:t,classes:n,dense:o,disabled:i,disableGutters:a,divider:c,selected:u}=e,p=$e({root:["root",o&&"dense",!a&&"gutters",c&&"divider",i&&"disabled",t==="flex-start"&&"alignItemsFlexStart",u&&"selected"]},kE,n);return j({},n,p)},NE=ve(di,{shouldForwardProp:e=>Yn(e)||e==="classes",name:"MuiListItemButton",slot:"Root",overridesResolver:LE})(({theme:e,ownerState:t})=>j({display:"flex",flexGrow:1,justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minWidth:0,boxSizing:"border-box",textAlign:"left",paddingTop:8,paddingBottom:8,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${Ja.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:xt(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${Ja.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:xt(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${Ja.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:xt(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:xt(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${Ja.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${Ja.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity}},t.divider&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"},t.alignItems==="flex-start"&&{alignItems:"flex-start"},!t.disableGutters&&{paddingLeft:16,paddingRight:16},t.dense&&{paddingTop:4,paddingBottom:4})),h2=y.forwardRef(function(t,n){const o=et({props:t,name:"MuiListItemButton"}),{alignItems:i="center",autoFocus:a=!1,component:c="div",children:u,dense:f=!1,disableGutters:p=!1,divider:h=!1,focusVisibleClassName:m,selected:P=!1,className:H}=o,g=Oe(o,ME),w=y.useContext(Co),x=y.useMemo(()=>({dense:f||w.dense||!1,alignItems:i,disableGutters:p}),[i,w.dense,f,p]),z=y.useRef(null);Mr(()=>{a&&z.current&&z.current.focus()},[a]);const O=j({},o,{alignItems:i,dense:x.dense,disableGutters:p,divider:h,selected:P}),C=XE(O),D=on(z,n);return v.jsx(Co.Provider,{value:x,children:v.jsx(NE,j({ref:D,href:g.href||g.to,component:(g.href||g.to)&&c==="div"?"button":c,focusVisibleClassName:ze(C.focusVisible,m),ownerState:O,className:ze(C.root,H)},g,{classes:C,children:u}))})});function BE(e){return Ke("MuiListItemSecondaryAction",e)}_e("MuiListItemSecondaryAction",["root","disableGutters"]);const VE=["className"],IE=e=>{const{disableGutters:t,classes:n}=e;return $e({root:["root",t&&"disableGutters"]},BE,n)},WE=ve("div",{name:"MuiListItemSecondaryAction",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.disableGutters&&t.disableGutters]}})(({ownerState:e})=>j({position:"absolute",right:16,top:"50%",transform:"translateY(-50%)"},e.disableGutters&&{right:0})),m2=y.forwardRef(function(t,n){const o=et({props:t,name:"MuiListItemSecondaryAction"}),{className:i}=o,a=Oe(o,VE),c=y.useContext(Co),u=j({},o,{disableGutters:c.disableGutters}),f=IE(u);return v.jsx(WE,j({className:ze(f.root,i),ownerState:u,ref:n},a))});m2.muiName="ListItemSecondaryAction";const JE=["className"],FE=["alignItems","autoFocus","button","children","className","component","components","componentsProps","ContainerComponent","ContainerProps","dense","disabled","disableGutters","disablePadding","divider","focusVisibleClassName","secondaryAction","selected","slotProps","slots"],YE=(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,n.alignItems==="flex-start"&&t.alignItemsFlexStart,n.divider&&t.divider,!n.disableGutters&&t.gutters,!n.disablePadding&&t.padding,n.button&&t.button,n.hasSecondaryAction&&t.secondaryAction]},qE=e=>{const{alignItems:t,button:n,classes:o,dense:i,disabled:a,disableGutters:c,disablePadding:u,divider:f,hasSecondaryAction:p,selected:h}=e;return $e({root:["root",i&&"dense",!c&&"gutters",!u&&"padding",f&&"divider",a&&"disabled",n&&"button",t==="flex-start"&&"alignItemsFlexStart",p&&"secondaryAction",h&&"selected"],container:["container"]},EE,o)},ZE=ve("div",{name:"MuiListItem",slot:"Root",overridesResolver:YE})(({theme:e,ownerState:t})=>j({display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",width:"100%",boxSizing:"border-box",textAlign:"left"},!t.disablePadding&&j({paddingTop:8,paddingBottom:8},t.dense&&{paddingTop:4,paddingBottom:4},!t.disableGutters&&{paddingLeft:16,paddingRight:16},!!t.secondaryAction&&{paddingRight:48}),!!t.secondaryAction&&{[`& > .${Ja.root}`]:{paddingRight:48}},{[`&.${Wa.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${Wa.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:xt(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${Wa.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:xt(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${Wa.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity}},t.alignItems==="flex-start"&&{alignItems:"flex-start"},t.divider&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"},t.button&&{transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${Wa.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:xt(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:xt(e.palette.primary.main,e.palette.action.selectedOpacity)}}},t.hasSecondaryAction&&{paddingRight:48})),GE=ve("li",{name:"MuiListItem",slot:"Container",overridesResolver:(e,t)=>t.container})({position:"relative"}),yc=y.forwardRef(function(t,n){const o=et({props:t,name:"MuiListItem"}),{alignItems:i="center",autoFocus:a=!1,button:c=!1,children:u,className:f,component:p,components:h={},componentsProps:m={},ContainerComponent:P="li",ContainerProps:{className:H}={},dense:g=!1,disabled:w=!1,disableGutters:x=!1,disablePadding:z=!1,divider:O=!1,focusVisibleClassName:C,secondaryAction:D,selected:R=!1,slotProps:E={},slots:T={}}=o,L=Oe(o.ContainerProps,JE),N=Oe(o,FE),M=y.useContext(Co),U=y.useMemo(()=>({dense:g||M.dense||!1,alignItems:i,disableGutters:x}),[i,M.dense,g,x]),I=y.useRef(null);Mr(()=>{a&&I.current&&I.current.focus()},[a]);const W=y.Children.toArray(u),oe=W.length&&Cu(W[W.length-1],["ListItemSecondaryAction"]),q=j({},o,{alignItems:i,autoFocus:a,button:c,dense:U.dense,disabled:w,disableGutters:x,disablePadding:z,divider:O,hasSecondaryAction:oe,selected:R}),ie=qE(q),te=on(I,n),J=T.root||h.Root||ZE,K=E.root||m.root||{},k=j({className:ze(ie.root,K.className,f),disabled:w},N);let ne=p||"li";return c&&(k.component=p||"div",k.focusVisibleClassName=ze(Wa.focusVisible,C),ne=di),oe?(ne=!k.component&&!p?"div":ne,P==="li"&&(ne==="li"?ne="div":k.component==="li"&&(k.component="div")),v.jsx(Co.Provider,{value:U,children:v.jsxs(GE,j({as:P,className:ze(ie.container,H),ref:te,ownerState:q},L,{children:[v.jsx(J,j({},K,!$i(J)&&{as:ne,ownerState:j({},q,K.ownerState)},k,{children:W})),W.pop()]}))})):v.jsx(Co.Provider,{value:U,children:v.jsxs(J,j({},K,{as:ne,ref:te},!$i(J)&&{ownerState:j({},q,K.ownerState)},k,{children:[W,D&&v.jsx(m2,{children:D})]}))})});function UE(e){return Ke("MuiListItemIcon",e)}const V8=_e("MuiListItemIcon",["root","alignItemsFlexStart"]),QE=["className"],KE=e=>{const{alignItems:t,classes:n}=e;return $e({root:["root",t==="flex-start"&&"alignItemsFlexStart"]},UE,n)},_E=ve("div",{name:"MuiListItemIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.alignItems==="flex-start"&&t.alignItemsFlexStart]}})(({theme:e,ownerState:t})=>j({minWidth:56,color:(e.vars||e).palette.action.active,flexShrink:0,display:"inline-flex"},t.alignItems==="flex-start"&&{marginTop:8})),$E=y.forwardRef(function(t,n){const o=et({props:t,name:"MuiListItemIcon"}),{className:i}=o,a=Oe(o,QE),c=y.useContext(Co),u=j({},o,{alignItems:c.alignItems}),f=KE(u);return v.jsx(_E,j({className:ze(f.root,i),ownerState:u,ref:n},a))});function ek(e){return Ke("MuiListItemText",e)}const jp=_e("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]),tk=["children","className","disableTypography","inset","primary","primaryTypographyProps","secondary","secondaryTypographyProps"],nk=e=>{const{classes:t,inset:n,primary:o,secondary:i,dense:a}=e;return $e({root:["root",n&&"inset",a&&"dense",o&&i&&"multiline"],primary:["primary"],secondary:["secondary"]},ek,t)},rk=ve("div",{name:"MuiListItemText",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${jp.primary}`]:t.primary},{[`& .${jp.secondary}`]:t.secondary},t.root,n.inset&&t.inset,n.primary&&n.secondary&&t.multiline,n.dense&&t.dense]}})(({ownerState:e})=>j({flex:"1 1 auto",minWidth:0,marginTop:4,marginBottom:4},e.primary&&e.secondary&&{marginTop:6,marginBottom:6},e.inset&&{paddingLeft:56})),qa=y.forwardRef(function(t,n){const o=et({props:t,name:"MuiListItemText"}),{children:i,className:a,disableTypography:c=!1,inset:u=!1,primary:f,primaryTypographyProps:p,secondary:h,secondaryTypographyProps:m}=o,P=Oe(o,tk),{dense:H}=y.useContext(Co);let g=f??i,w=h;const x=j({},o,{disableTypography:c,inset:u,primary:!!g,secondary:!!w,dense:H}),z=nk(x);return g!=null&&g.type!==bt&&!c&&(g=v.jsx(bt,j({variant:H?"body2":"body1",className:z.primary,component:p!=null&&p.variant?void 0:"span",display:"block"},p,{children:g}))),w!=null&&w.type!==bt&&!c&&(w=v.jsx(bt,j({variant:"body2",className:z.secondary,color:"text.secondary",display:"block"},m,{children:w}))),v.jsxs(rk,j({className:ze(z.root,a),ownerState:x,ref:n},P,{children:[g,w]}))}),ok=["actions","autoFocus","autoFocusItem","children","className","disabledItemsFocusable","disableListWrap","onKeyDown","variant"];function Km(e,t,n){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:n?null:e.firstChild}function I8(e,t,n){return e===t?n?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:n?null:e.lastChild}function A2(e,t){if(t===void 0)return!0;let n=e.innerText;return n===void 0&&(n=e.textContent),n=n.trim().toLowerCase(),n.length===0?!1:t.repeating?n[0]===t.keys[0]:n.indexOf(t.keys.join(""))===0}function bc(e,t,n,o,i,a){let c=!1,u=i(e,t,t?n:!1);for(;u;){if(u===e.firstChild){if(c)return!1;c=!0}const f=o?!1:u.disabled||u.getAttribute("aria-disabled")==="true";if(!u.hasAttribute("tabindex")||!A2(u,a)||f)u=i(e,u,n);else return u.focus(),!0}return!1}const sk=y.forwardRef(function(t,n){const{actions:o,autoFocus:i=!1,autoFocusItem:a=!1,children:c,className:u,disabledItemsFocusable:f=!1,disableListWrap:p=!1,onKeyDown:h,variant:m="selectedMenu"}=t,P=Oe(t,ok),H=y.useRef(null),g=y.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});Mr(()=>{i&&H.current.focus()},[i]),y.useImperativeHandle(o,()=>({adjustStyleForScrollbar:(C,D)=>{const R=!H.current.style.width;if(C.clientHeight{const D=H.current,R=C.key,E=Bn(D).activeElement;if(R==="ArrowDown")C.preventDefault(),bc(D,E,p,f,Km);else if(R==="ArrowUp")C.preventDefault(),bc(D,E,p,f,I8);else if(R==="Home")C.preventDefault(),bc(D,null,p,f,Km);else if(R==="End")C.preventDefault(),bc(D,null,p,f,I8);else if(R.length===1){const T=g.current,L=R.toLowerCase(),N=performance.now();T.keys.length>0&&(N-T.lastTime>500?(T.keys=[],T.repeating=!0,T.previousKeyMatched=!0):T.repeating&&L!==T.keys[0]&&(T.repeating=!1)),T.lastTime=N,T.keys.push(L);const M=E&&!T.repeating&&A2(E,T);T.previousKeyMatched&&(M||bc(D,E,!1,f,Km,T))?C.preventDefault():T.previousKeyMatched=!1}h&&h(C)},x=on(H,n);let z=-1;y.Children.forEach(c,(C,D)=>{if(!y.isValidElement(C)){z===D&&(z+=1,z>=c.length&&(z=-1));return}C.props.disabled||(m==="selectedMenu"&&C.props.selected||z===-1)&&(z=D),z===D&&(C.props.disabled||C.props.muiSkipListHighlight||C.type.muiSkipListHighlight)&&(z+=1,z>=c.length&&(z=-1))});const O=y.Children.map(c,(C,D)=>{if(D===z){const R={};return a&&(R.autoFocus=!0),C.props.tabIndex===void 0&&m==="selectedMenu"&&(R.tabIndex=0),y.cloneElement(C,R)}return C});return v.jsx(LA,j({role:"menu",ref:x,className:u,onKeyDown:w,tabIndex:i?0:-1},P,{children:O}))});function ik(e){return Ke("MuiPopover",e)}_e("MuiPopover",["root","paper"]);const ak=["onEntering"],lk=["action","anchorEl","anchorOrigin","anchorPosition","anchorReference","children","className","container","elevation","marginThreshold","open","PaperProps","slots","slotProps","transformOrigin","TransitionComponent","transitionDuration","TransitionProps","disableScrollLock"],ck=["slotProps"];function W8(e,t){let n=0;return typeof t=="number"?n=t:t==="center"?n=e.height/2:t==="bottom"&&(n=e.height),n}function J8(e,t){let n=0;return typeof t=="number"?n=t:t==="center"?n=e.width/2:t==="right"&&(n=e.width),n}function F8(e){return[e.horizontal,e.vertical].map(t=>typeof t=="number"?`${t}px`:t).join(" ")}function _m(e){return typeof e=="function"?e():e}const uk=e=>{const{classes:t}=e;return $e({root:["root"],paper:["paper"]},ik,t)},fk=ve(qP,{name:"MuiPopover",slot:"Root",overridesResolver:(e,t)=>t.root})({}),P2=ve(Gr,{name:"MuiPopover",slot:"Paper",overridesResolver:(e,t)=>t.paper})({position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}),dk=y.forwardRef(function(t,n){var o,i,a;const c=et({props:t,name:"MuiPopover"}),{action:u,anchorEl:f,anchorOrigin:p={vertical:"top",horizontal:"left"},anchorPosition:h,anchorReference:m="anchorEl",children:P,className:H,container:g,elevation:w=8,marginThreshold:x=16,open:z,PaperProps:O={},slots:C,slotProps:D,transformOrigin:R={vertical:"top",horizontal:"left"},TransitionComponent:E=Zu,transitionDuration:T="auto",TransitionProps:{onEntering:L}={},disableScrollLock:N=!1}=c,M=Oe(c.TransitionProps,ak),U=Oe(c,lk),I=(o=D==null?void 0:D.paper)!=null?o:O,W=y.useRef(),oe=on(W,I.ref),q=j({},c,{anchorOrigin:p,anchorReference:m,elevation:w,marginThreshold:x,externalPaperSlotProps:I,transformOrigin:R,TransitionComponent:E,transitionDuration:T,TransitionProps:M}),ie=uk(q),te=y.useCallback(()=>{if(m==="anchorPosition")return h;const Be=_m(f),rt=(Be&&Be.nodeType===1?Be:Bn(W.current).body).getBoundingClientRect();return{top:rt.top+W8(rt,p.vertical),left:rt.left+J8(rt,p.horizontal)}},[f,p.horizontal,p.vertical,h,m]),J=y.useCallback(Be=>({vertical:W8(Be,R.vertical),horizontal:J8(Be,R.horizontal)}),[R.horizontal,R.vertical]),K=y.useCallback(Be=>{const Re={width:Be.offsetWidth,height:Be.offsetHeight},rt=J(Re);if(m==="none")return{top:null,left:null,transformOrigin:F8(rt)};const Ve=te();let jt=Ve.top-rt.vertical,B=Ve.left-rt.horizontal;const re=jt+Re.height,ae=B+Re.width,ge=$o(_m(f)),ye=ge.innerHeight-x,Pe=ge.innerWidth-x;if(x!==null&&jtye){const xe=re-ye;jt-=xe,rt.vertical+=xe}if(x!==null&&BPe){const xe=ae-Pe;B-=xe,rt.horizontal+=xe}return{top:`${Math.round(jt)}px`,left:`${Math.round(B)}px`,transformOrigin:F8(rt)}},[f,m,te,J,x]),[k,ne]=y.useState(z),X=y.useCallback(()=>{const Be=W.current;if(!Be)return;const Re=K(Be);Re.top!==null&&(Be.style.top=Re.top),Re.left!==null&&(Be.style.left=Re.left),Be.style.transformOrigin=Re.transformOrigin,ne(!0)},[K]);y.useEffect(()=>(N&&window.addEventListener("scroll",X),()=>window.removeEventListener("scroll",X)),[f,N,X]);const se=(Be,Re)=>{L&&L(Be,Re),X()},_=()=>{ne(!1)};y.useEffect(()=>{z&&X()}),y.useImperativeHandle(u,()=>z?{updatePosition:()=>{X()}}:null,[z,X]),y.useEffect(()=>{if(!z)return;const Be=rv(()=>{X()}),Re=$o(f);return Re.addEventListener("resize",Be),()=>{Be.clear(),Re.removeEventListener("resize",Be)}},[f,z,X]);let de=T;T==="auto"&&!E.muiSupportAuto&&(de=void 0);const ue=g||(f?Bn(_m(f)).body:void 0),we=(i=C==null?void 0:C.root)!=null?i:fk,pe=(a=C==null?void 0:C.paper)!=null?a:P2,me=fi({elementType:pe,externalSlotProps:j({},I,{style:k?I.style:j({},I.style,{opacity:0})}),additionalProps:{elevation:w,ref:oe},ownerState:q,className:ze(ie.paper,I==null?void 0:I.className)}),it=fi({elementType:we,externalSlotProps:(D==null?void 0:D.root)||{},externalForwardedProps:U,additionalProps:{ref:n,slotProps:{backdrop:{invisible:!0}},container:ue,open:z},ownerState:q,className:ze(ie.root,H)}),{slotProps:We}=it,Xe=Oe(it,ck);return v.jsx(we,j({},Xe,!$i(we)&&{slotProps:We,disableScrollLock:N},{children:v.jsx(E,j({appear:!0,in:z,onEntering:se,onExited:_,timeout:de},M,{children:v.jsx(pe,j({},me,{children:P}))}))}))});function pk(e){return Ke("MuiMenu",e)}_e("MuiMenu",["root","paper","list"]);const vk=["onEntering"],hk=["autoFocus","children","className","disableAutoFocusItem","MenuListProps","onClose","open","PaperProps","PopoverClasses","transitionDuration","TransitionProps","variant","slots","slotProps"],mk={vertical:"top",horizontal:"right"},Ak={vertical:"top",horizontal:"left"},Pk=e=>{const{classes:t}=e;return $e({root:["root"],paper:["paper"],list:["list"]},pk,t)},gk=ve(dk,{shouldForwardProp:e=>Yn(e)||e==="classes",name:"MuiMenu",slot:"Root",overridesResolver:(e,t)=>t.root})({}),yk=ve(P2,{name:"MuiMenu",slot:"Paper",overridesResolver:(e,t)=>t.paper})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),bk=ve(sk,{name:"MuiMenu",slot:"List",overridesResolver:(e,t)=>t.list})({outline:0}),Gu=y.forwardRef(function(t,n){var o,i;const a=et({props:t,name:"MuiMenu"}),{autoFocus:c=!0,children:u,className:f,disableAutoFocusItem:p=!1,MenuListProps:h={},onClose:m,open:P,PaperProps:H={},PopoverClasses:g,transitionDuration:w="auto",TransitionProps:{onEntering:x}={},variant:z="selectedMenu",slots:O={},slotProps:C={}}=a,D=Oe(a.TransitionProps,vk),R=Oe(a,hk),E=Qr(),T=E.direction==="rtl",L=j({},a,{autoFocus:c,disableAutoFocusItem:p,MenuListProps:h,onEntering:x,PaperProps:H,transitionDuration:w,TransitionProps:D,variant:z}),N=Pk(L),M=c&&!p&&P,U=y.useRef(null),I=(K,k)=>{U.current&&U.current.adjustStyleForScrollbar(K,E),x&&x(K,k)},W=K=>{K.key==="Tab"&&(K.preventDefault(),m&&m(K,"tabKeyDown"))};let oe=-1;y.Children.map(u,(K,k)=>{y.isValidElement(K)&&(K.props.disabled||(z==="selectedMenu"&&K.props.selected||oe===-1)&&(oe=k))});const q=(o=O.paper)!=null?o:yk,ie=(i=C.paper)!=null?i:H,te=fi({elementType:O.root,externalSlotProps:C.root,ownerState:L,className:[N.root,f]}),J=fi({elementType:q,externalSlotProps:ie,ownerState:L,className:N.paper});return v.jsx(gk,j({onClose:m,anchorOrigin:{vertical:"bottom",horizontal:T?"right":"left"},transformOrigin:T?mk:Ak,slots:{paper:q,root:O.root},slotProps:{root:te,paper:J},open:P,ref:n,transitionDuration:w,TransitionProps:j({onEntering:I},D),ownerState:L},R,{classes:g,children:v.jsx(bk,j({onKeyDown:W,actions:U,autoFocus:c&&(oe===-1||p),autoFocusItem:M,variant:z},h,{className:ze(N.list,h.className),children:u}))}))});function xk(e){return Ke("MuiMenuItem",e)}const xc=_e("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]),wk=["autoFocus","component","dense","divider","disableGutters","focusVisibleClassName","role","tabIndex","className"],Hk=(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,n.divider&&t.divider,!n.disableGutters&&t.gutters]},jk=e=>{const{disabled:t,dense:n,divider:o,disableGutters:i,selected:a,classes:c}=e,f=$e({root:["root",n&&"dense",t&&"disabled",!i&&"gutters",o&&"divider",a&&"selected"]},xk,c);return j({},c,f)},zk=ve(di,{shouldForwardProp:e=>Yn(e)||e==="classes",name:"MuiMenuItem",slot:"Root",overridesResolver:Hk})(({theme:e,ownerState:t})=>j({},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"},!t.disableGutters&&{paddingLeft:16,paddingRight:16},t.divider&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"},{"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${xc.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:xt(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${xc.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:xt(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${xc.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:xt(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:xt(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${xc.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${xc.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`& + .${E8.root}`]:{marginTop:e.spacing(1),marginBottom:e.spacing(1)},[`& + .${E8.inset}`]:{marginLeft:52},[`& .${jp.root}`]:{marginTop:0,marginBottom:0},[`& .${jp.inset}`]:{paddingLeft:36},[`& .${V8.root}`]:{minWidth:36}},!t.dense&&{[e.breakpoints.up("sm")]:{minHeight:"auto"}},t.dense&&j({minHeight:32,paddingTop:4,paddingBottom:4},e.typography.body2,{[`& .${V8.root} svg`]:{fontSize:"1.25rem"}}))),Go=y.forwardRef(function(t,n){const o=et({props:t,name:"MuiMenuItem"}),{autoFocus:i=!1,component:a="li",dense:c=!1,divider:u=!1,disableGutters:f=!1,focusVisibleClassName:p,role:h="menuitem",tabIndex:m,className:P}=o,H=Oe(o,wk),g=y.useContext(Co),w=y.useMemo(()=>({dense:c||g.dense||!1,disableGutters:f}),[g.dense,c,f]),x=y.useRef(null);Mr(()=>{i&&x.current&&x.current.focus()},[i]);const z=j({},o,{dense:w.dense,divider:u,disableGutters:f}),O=jk(o),C=on(x,n);let D;return o.disabled||(D=m!==void 0?m:-1),v.jsx(Co.Provider,{value:w,children:v.jsx(zk,j({ref:C,role:h,tabIndex:D,component:a,focusVisibleClassName:ze(O.focusVisible,p),className:ze(O.root,P)},H,{ownerState:z,classes:O}))})});function Ok(e){return Ke("MuiNativeSelect",e)}const UP=_e("MuiNativeSelect",["root","select","multiple","filled","outlined","standard","disabled","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]),Ck=["className","disabled","error","IconComponent","inputRef","variant"],Rk=e=>{const{classes:t,variant:n,disabled:o,multiple:i,open:a,error:c}=e,u={select:["select",n,o&&"disabled",i&&"multiple",c&&"error"],icon:["icon",`icon${Ae(n)}`,a&&"iconOpen",o&&"disabled"]};return $e(u,Ok,t)},g2=({ownerState:e,theme:t})=>j({MozAppearance:"none",WebkitAppearance:"none",userSelect:"none",borderRadius:0,cursor:"pointer","&:focus":j({},t.vars?{backgroundColor:`rgba(${t.vars.palette.common.onBackgroundChannel} / 0.05)`}:{backgroundColor:t.palette.mode==="light"?"rgba(0, 0, 0, 0.05)":"rgba(255, 255, 255, 0.05)"},{borderRadius:0}),"&::-ms-expand":{display:"none"},[`&.${UP.disabled}`]:{cursor:"default"},"&[multiple]":{height:"auto"},"&:not([multiple]) option, &:not([multiple]) optgroup":{backgroundColor:(t.vars||t).palette.background.paper},"&&&":{paddingRight:24,minWidth:16}},e.variant==="filled"&&{"&&&":{paddingRight:32}},e.variant==="outlined"&&{borderRadius:(t.vars||t).shape.borderRadius,"&:focus":{borderRadius:(t.vars||t).shape.borderRadius},"&&&":{paddingRight:32}}),Dk=ve("select",{name:"MuiNativeSelect",slot:"Select",shouldForwardProp:Yn,overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.select,t[n.variant],n.error&&t.error,{[`&.${UP.multiple}`]:t.multiple}]}})(g2),y2=({ownerState:e,theme:t})=>j({position:"absolute",right:0,top:"calc(50% - .5em)",pointerEvents:"none",color:(t.vars||t).palette.action.active,[`&.${UP.disabled}`]:{color:(t.vars||t).palette.action.disabled}},e.open&&{transform:"rotate(180deg)"},e.variant==="filled"&&{right:7},e.variant==="outlined"&&{right:7}),Sk=ve("svg",{name:"MuiNativeSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.icon,n.variant&&t[`icon${Ae(n.variant)}`],n.open&&t.iconOpen]}})(y2),Tk=y.forwardRef(function(t,n){const{className:o,disabled:i,error:a,IconComponent:c,inputRef:u,variant:f="standard"}=t,p=Oe(t,Ck),h=j({},t,{disabled:i,variant:f,error:a}),m=Rk(h);return v.jsxs(y.Fragment,{children:[v.jsx(Dk,j({ownerState:h,className:ze(m.select,o),disabled:i,ref:u||n},p)),t.multiple?null:v.jsx(Sk,{as:c,ownerState:h,className:m.icon})]})});var Y8;const Ek=["children","classes","className","label","notched"],kk=ve("fieldset",{shouldForwardProp:Yn})({textAlign:"left",position:"absolute",bottom:0,right:0,top:-5,left:0,margin:0,padding:"0 8px",pointerEvents:"none",borderRadius:"inherit",borderStyle:"solid",borderWidth:1,overflow:"hidden",minWidth:"0%"}),Mk=ve("legend",{shouldForwardProp:Yn})(({ownerState:e,theme:t})=>j({float:"unset",width:"auto",overflow:"hidden"},!e.withLabel&&{padding:0,lineHeight:"11px",transition:t.transitions.create("width",{duration:150,easing:t.transitions.easing.easeOut})},e.withLabel&&j({display:"block",padding:0,height:11,fontSize:"0.75em",visibility:"hidden",maxWidth:.01,transition:t.transitions.create("max-width",{duration:50,easing:t.transitions.easing.easeOut}),whiteSpace:"nowrap","& > span":{paddingLeft:5,paddingRight:5,display:"inline-block",opacity:0,visibility:"visible"}},e.notched&&{maxWidth:"100%",transition:t.transitions.create("max-width",{duration:100,easing:t.transitions.easing.easeOut,delay:50})})));function Lk(e){const{className:t,label:n,notched:o}=e,i=Oe(e,Ek),a=n!=null&&n!=="",c=j({},e,{notched:o,withLabel:a});return v.jsx(kk,j({"aria-hidden":!0,className:t,ownerState:c},i,{children:v.jsx(Mk,{ownerState:c,children:a?v.jsx("span",{children:n}):Y8||(Y8=v.jsx("span",{className:"notranslate",children:"​"}))})}))}const Xk=["components","fullWidth","inputComponent","label","multiline","notched","slots","type"],Nk=e=>{const{classes:t}=e,o=$e({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},aD,t);return j({},t,o)},Bk=ve(vv,{shouldForwardProp:e=>Yn(e)||e==="classes",name:"MuiOutlinedInput",slot:"Root",overridesResolver:dv})(({theme:e,ownerState:t})=>{const n=e.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return j({position:"relative",borderRadius:(e.vars||e).shape.borderRadius,[`&:hover .${Vo.notchedOutline}`]:{borderColor:(e.vars||e).palette.text.primary},"@media (hover: none)":{[`&:hover .${Vo.notchedOutline}`]:{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:n}},[`&.${Vo.focused} .${Vo.notchedOutline}`]:{borderColor:(e.vars||e).palette[t.color].main,borderWidth:2},[`&.${Vo.error} .${Vo.notchedOutline}`]:{borderColor:(e.vars||e).palette.error.main},[`&.${Vo.disabled} .${Vo.notchedOutline}`]:{borderColor:(e.vars||e).palette.action.disabled}},t.startAdornment&&{paddingLeft:14},t.endAdornment&&{paddingRight:14},t.multiline&&j({padding:"16.5px 14px"},t.size==="small"&&{padding:"8.5px 14px"}))}),Vk=ve(Lk,{name:"MuiOutlinedInput",slot:"NotchedOutline",overridesResolver:(e,t)=>t.notchedOutline})(({theme:e})=>{const t=e.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:t}}),Ik=ve(hv,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:pv})(({theme:e,ownerState:t})=>j({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"}}},t.size==="small"&&{padding:"8.5px 14px"},t.multiline&&{padding:0},t.startAdornment&&{paddingLeft:0},t.endAdornment&&{paddingRight:0})),QP=y.forwardRef(function(t,n){var o,i,a,c,u;const f=et({props:t,name:"MuiOutlinedInput"}),{components:p={},fullWidth:h=!1,inputComponent:m="input",label:P,multiline:H=!1,notched:g,slots:w={},type:x="text"}=f,z=Oe(f,Xk),O=Nk(f),C=ns(),D=hi({props:f,muiFormControl:C,states:["color","disabled","error","focused","hiddenLabel","size","required"]}),R=j({},f,{color:D.color||"primary",disabled:D.disabled,error:D.error,focused:D.focused,formControl:C,fullWidth:h,hiddenLabel:D.hiddenLabel,multiline:H,size:D.size,type:x}),E=(o=(i=w.root)!=null?i:p.Root)!=null?o:Bk,T=(a=(c=w.input)!=null?c:p.Input)!=null?a:Ik;return v.jsx(mv,j({slots:{root:E,input:T},renderSuffix:L=>v.jsx(Vk,{ownerState:R,className:O.notchedOutline,label:P!=null&&P!==""&&D.required?u||(u=v.jsxs(y.Fragment,{children:[P," ","*"]})):P,notched:typeof g<"u"?g:!!(L.startAdornment||L.filled||L.focused)}),fullWidth:h,inputComponent:m,multiline:H,ref:n,type:x},z,{classes:j({},O,{notchedOutline:null})}))});QP.muiName="Input";const Wk=Kn(v.jsx("path",{d:"M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"}),"FirstPage"),Jk=Kn(v.jsx("path",{d:"M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"}),"LastPage"),Fk=Kn(v.jsx("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"RadioButtonUnchecked"),Yk=Kn(v.jsx("path",{d:"M8.465 8.465C9.37 7.56 10.62 7 12 7C14.76 7 17 9.24 17 12C17 13.38 16.44 14.63 15.535 15.535C14.63 16.44 13.38 17 12 17C9.24 17 7 14.76 7 12C7 10.62 7.56 9.37 8.465 8.465Z"}),"RadioButtonChecked"),qk=ve("span",{shouldForwardProp:Yn})({position:"relative",display:"flex"}),Zk=ve(Fk)({transform:"scale(1)"}),Gk=ve(Yk)(({theme:e,ownerState:t})=>j({left:0,position:"absolute",transform:"scale(0)",transition:e.transitions.create("transform",{easing:e.transitions.easing.easeIn,duration:e.transitions.duration.shortest})},t.checked&&{transform:"scale(1)",transition:e.transitions.create("transform",{easing:e.transitions.easing.easeOut,duration:e.transitions.duration.shortest})}));function b2(e){const{checked:t=!1,classes:n={},fontSize:o}=e,i=j({},e,{checked:t});return v.jsxs(qk,{className:n.root,ownerState:i,children:[v.jsx(Zk,{fontSize:o,className:n.background,ownerState:i}),v.jsx(Gk,{fontSize:o,className:n.dot,ownerState:i})]})}const x2=y.createContext(void 0);function Uk(){return y.useContext(x2)}function Qk(e){return Ke("MuiRadio",e)}const q8=_e("MuiRadio",["root","checked","disabled","colorPrimary","colorSecondary","sizeSmall"]),Kk=["checked","checkedIcon","color","icon","name","onChange","size","className"],_k=e=>{const{classes:t,color:n,size:o}=e,i={root:["root",`color${Ae(n)}`,o!=="medium"&&`size${Ae(o)}`]};return j({},t,$e(i,Qk,t))},$k=ve(YP,{shouldForwardProp:e=>Yn(e)||e==="classes",name:"MuiRadio",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.size!=="medium"&&t[`size${Ae(n.size)}`],t[`color${Ae(n.color)}`]]}})(({theme:e,ownerState:t})=>j({color:(e.vars||e).palette.text.secondary},!t.disableRipple&&{"&:hover":{backgroundColor:e.vars?`rgba(${t.color==="default"?e.vars.palette.action.activeChannel:e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:xt(t.color==="default"?e.palette.action.active:e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},t.color!=="default"&&{[`&.${q8.checked}`]:{color:(e.vars||e).palette[t.color].main}},{[`&.${q8.disabled}`]:{color:(e.vars||e).palette.action.disabled}}));function e6(e,t){return typeof t=="object"&&t!==null?e===t:String(e)===String(t)}const Z8=v.jsx(b2,{checked:!0}),G8=v.jsx(b2,{}),Uu=y.forwardRef(function(t,n){var o,i;const a=et({props:t,name:"MuiRadio"}),{checked:c,checkedIcon:u=Z8,color:f="primary",icon:p=G8,name:h,onChange:m,size:P="medium",className:H}=a,g=Oe(a,Kk),w=j({},a,{color:f,size:P}),x=_k(w),z=Uk();let O=c;const C=gp(m,z&&z.onChange);let D=h;return z&&(typeof O>"u"&&(O=e6(z.value,a.value)),typeof D>"u"&&(D=z.name)),v.jsx($k,j({type:"radio",icon:y.cloneElement(p,{fontSize:(o=G8.props.fontSize)!=null?o:P}),checkedIcon:y.cloneElement(u,{fontSize:(i=Z8.props.fontSize)!=null?i:P}),ownerState:w,classes:x,name:D,checked:O,onChange:C,ref:n,className:ze(x.root,H)},g))}),t6=["actions","children","defaultValue","name","onChange","value"],zp=y.forwardRef(function(t,n){const{actions:o,children:i,defaultValue:a,name:c,onChange:u,value:f}=t,p=Oe(t,t6),h=y.useRef(null),[m,P]=xs({controlled:f,default:a,name:"RadioGroup"});y.useImperativeHandle(o,()=>({focus:()=>{let x=h.current.querySelector("input:not(:disabled):checked");x||(x=h.current.querySelector("input:not(:disabled)")),x&&x.focus()}}),[]);const H=on(n,h),g=es(c),w=y.useMemo(()=>({name:g,onChange(x){P(x.target.value),u&&u(x,x.target.value)},value:m}),[g,u,P,m]);return v.jsx(x2.Provider,{value:w,children:v.jsx(MT,j({role:"radiogroup",ref:H},p,{children:i}))})});function n6(e){return Ke("MuiSelect",e)}const wc=_e("MuiSelect",["root","select","multiple","filled","outlined","standard","disabled","focused","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]);var U8;const r6=["aria-describedby","aria-label","autoFocus","autoWidth","children","className","defaultOpen","defaultValue","disabled","displayEmpty","error","IconComponent","inputRef","labelId","MenuProps","multiple","name","onBlur","onChange","onClose","onFocus","onOpen","open","readOnly","renderValue","SelectDisplayProps","tabIndex","type","value","variant"],o6=ve("div",{name:"MuiSelect",slot:"Select",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`&.${wc.select}`]:t.select},{[`&.${wc.select}`]:t[n.variant]},{[`&.${wc.error}`]:t.error},{[`&.${wc.multiple}`]:t.multiple}]}})(g2,{[`&.${wc.select}`]:{height:"auto",minHeight:"1.4375em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}}),s6=ve("svg",{name:"MuiSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.icon,n.variant&&t[`icon${Ae(n.variant)}`],n.open&&t.iconOpen]}})(y2),i6=ve("input",{shouldForwardProp:e=>Lz(e)&&e!=="classes",name:"MuiSelect",slot:"NativeInput",overridesResolver:(e,t)=>t.nativeInput})({bottom:0,left:0,position:"absolute",opacity:0,pointerEvents:"none",width:"100%",boxSizing:"border-box"});function Q8(e,t){return typeof t=="object"&&t!==null?e===t:String(e)===String(t)}function a6(e){return e==null||typeof e=="string"&&!e.trim()}const l6=e=>{const{classes:t,variant:n,disabled:o,multiple:i,open:a,error:c}=e,u={select:["select",n,o&&"disabled",i&&"multiple",c&&"error"],icon:["icon",`icon${Ae(n)}`,a&&"iconOpen",o&&"disabled"],nativeInput:["nativeInput"]};return $e(u,n6,t)},c6=y.forwardRef(function(t,n){var o;const{"aria-describedby":i,"aria-label":a,autoFocus:c,autoWidth:u,children:f,className:p,defaultOpen:h,defaultValue:m,disabled:P,displayEmpty:H,error:g=!1,IconComponent:w,inputRef:x,labelId:z,MenuProps:O={},multiple:C,name:D,onBlur:R,onChange:E,onClose:T,onFocus:L,onOpen:N,open:M,readOnly:U,renderValue:I,SelectDisplayProps:W={},tabIndex:oe,value:q,variant:ie="standard"}=t,te=Oe(t,r6),[J,K]=xs({controlled:q,default:m,name:"Select"}),[k,ne]=xs({controlled:M,default:h,name:"Select"}),X=y.useRef(null),se=y.useRef(null),[_,de]=y.useState(null),{current:ue}=y.useRef(M!=null),[we,pe]=y.useState(),me=on(n,x),it=y.useCallback(Fe=>{se.current=Fe,Fe&&de(Fe)},[]),We=_==null?void 0:_.parentNode;y.useImperativeHandle(me,()=>({focus:()=>{se.current.focus()},node:X.current,value:J}),[J]),y.useEffect(()=>{h&&k&&_&&!ue&&(pe(u?null:We.clientWidth),se.current.focus())},[_,u]),y.useEffect(()=>{c&&se.current.focus()},[c]),y.useEffect(()=>{if(!z)return;const Fe=Bn(se.current).getElementById(z);if(Fe){const At=()=>{getSelection().isCollapsed&&se.current.focus()};return Fe.addEventListener("click",At),()=>{Fe.removeEventListener("click",At)}}},[z]);const Xe=(Fe,At)=>{Fe?N&&N(At):T&&T(At),ue||(pe(u?null:We.clientWidth),ne(Fe))},Be=Fe=>{Fe.button===0&&(Fe.preventDefault(),se.current.focus(),Xe(!0,Fe))},Re=Fe=>{Xe(!1,Fe)},rt=y.Children.toArray(f),Ve=Fe=>{const At=rt.find(G=>G.props.value===Fe.target.value);At!==void 0&&(K(At.props.value),E&&E(Fe,At))},jt=Fe=>At=>{let G;if(At.currentTarget.hasAttribute("tabindex")){if(C){G=Array.isArray(J)?J.slice():[];const Z=J.indexOf(Fe.props.value);Z===-1?G.push(Fe.props.value):G.splice(Z,1)}else G=Fe.props.value;if(Fe.props.onClick&&Fe.props.onClick(At),J!==G&&(K(G),E)){const Z=At.nativeEvent||At,be=new Z.constructor(Z.type,Z);Object.defineProperty(be,"target",{writable:!0,value:{value:G,name:D}}),E(be,Fe)}C||Xe(!1,At)}},B=Fe=>{U||[" ","ArrowUp","ArrowDown","Enter"].indexOf(Fe.key)!==-1&&(Fe.preventDefault(),Xe(!0,Fe))},re=_!==null&&k,ae=Fe=>{!re&&R&&(Object.defineProperty(Fe,"target",{writable:!0,value:{value:J,name:D}}),R(Fe))};delete te["aria-invalid"];let ge,ye;const Pe=[];let xe=!1;(Hp({value:J})||H)&&(I?ge=I(J):xe=!0);const Ze=rt.map(Fe=>{if(!y.isValidElement(Fe))return null;let At;if(C){if(!Array.isArray(J))throw new Error(ui(2));At=J.some(G=>Q8(G,Fe.props.value)),At&&xe&&Pe.push(Fe.props.children)}else At=Q8(J,Fe.props.value),At&&xe&&(ye=Fe.props.children);return y.cloneElement(Fe,{"aria-selected":At?"true":"false",onClick:jt(Fe),onKeyUp:G=>{G.key===" "&&G.preventDefault(),Fe.props.onKeyUp&&Fe.props.onKeyUp(G)},role:"option",selected:At,value:void 0,"data-value":Fe.props.value})});xe&&(C?Pe.length===0?ge=null:ge=Pe.reduce((Fe,At,G)=>(Fe.push(At),G{const{classes:t}=e;return t},KP={name:"MuiSelect",overridesResolver:(e,t)=>t.root,shouldForwardProp:e=>Yn(e)&&e!=="variant",slot:"Root"},p6=ve(GP,KP)(""),v6=ve(QP,KP)(""),h6=ve(ZP,KP)(""),Qu=y.forwardRef(function(t,n){const o=et({name:"MuiSelect",props:t}),{autoWidth:i=!1,children:a,classes:c={},className:u,defaultOpen:f=!1,displayEmpty:p=!1,IconComponent:h=n2,id:m,input:P,inputProps:H,label:g,labelId:w,MenuProps:x,multiple:z=!1,native:O=!1,onClose:C,onOpen:D,open:R,renderValue:E,SelectDisplayProps:T,variant:L="outlined"}=o,N=Oe(o,u6),M=O?Tk:c6,U=ns(),I=hi({props:o,muiFormControl:U,states:["variant","error"]}),W=I.variant||L,oe=j({},o,{variant:W,classes:c}),q=d6(oe),ie=Oe(q,f6),te=P||{standard:v.jsx(p6,{ownerState:oe}),outlined:v.jsx(v6,{label:g,ownerState:oe}),filled:v.jsx(h6,{ownerState:oe})}[W],J=on(n,te.ref);return v.jsx(y.Fragment,{children:y.cloneElement(te,j({inputComponent:M,inputProps:j({children:a,error:I.error,IconComponent:h,variant:W,type:void 0,multiple:z},O?{id:m}:{autoWidth:i,defaultOpen:f,displayEmpty:p,labelId:w,MenuProps:x,onClose:C,onOpen:D,open:R,renderValue:E,SelectDisplayProps:j({id:m},T)},H,{classes:H?Cr(ie,H.classes):ie},P?P.props.inputProps:{})},(z&&O||p)&&W==="outlined"?{notched:!0}:{},{ref:J,className:ze(te.props.className,u,q.root)},!P&&{variant:W},N))})});Qu.muiName="Select";function m6(e){return Ke("MuiSnackbarContent",e)}_e("MuiSnackbarContent",["root","message","action"]);const A6=["action","className","message","role"],P6=e=>{const{classes:t}=e;return $e({root:["root"],action:["action"],message:["message"]},m6,t)},g6=ve(Gr,{name:"MuiSnackbarContent",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e})=>{const t=e.palette.mode==="light"?.8:.98,n=Mj(e.palette.background.default,t);return j({},e.typography.body2,{color:e.vars?e.vars.palette.SnackbarContent.color:e.palette.getContrastText(n),backgroundColor:e.vars?e.vars.palette.SnackbarContent.bg:n,display:"flex",alignItems:"center",flexWrap:"wrap",padding:"6px 16px",borderRadius:(e.vars||e).shape.borderRadius,flexGrow:1,[e.breakpoints.up("sm")]:{flexGrow:"initial",minWidth:288}})}),y6=ve("div",{name:"MuiSnackbarContent",slot:"Message",overridesResolver:(e,t)=>t.message})({padding:"8px 0"}),b6=ve("div",{name:"MuiSnackbarContent",slot:"Action",overridesResolver:(e,t)=>t.action})({display:"flex",alignItems:"center",marginLeft:"auto",paddingLeft:16,marginRight:-8}),x6=y.forwardRef(function(t,n){const o=et({props:t,name:"MuiSnackbarContent"}),{action:i,className:a,message:c,role:u="alert"}=o,f=Oe(o,A6),p=o,h=P6(p);return v.jsxs(g6,j({role:u,square:!0,elevation:6,className:ze(h.root,a),ownerState:p,ref:n},f,{children:[v.jsx(y6,{className:h.message,ownerState:p,children:c}),i?v.jsx(b6,{className:h.action,ownerState:p,children:i}):null]}))});function w6(e){return Ke("MuiSnackbar",e)}_e("MuiSnackbar",["root","anchorOriginTopCenter","anchorOriginBottomCenter","anchorOriginTopRight","anchorOriginBottomRight","anchorOriginTopLeft","anchorOriginBottomLeft"]);const H6=["onEnter","onExited"],j6=["action","anchorOrigin","autoHideDuration","children","className","ClickAwayListenerProps","ContentProps","disableWindowBlurListener","message","onBlur","onClose","onFocus","onMouseEnter","onMouseLeave","open","resumeHideDuration","TransitionComponent","transitionDuration","TransitionProps"],z6=e=>{const{classes:t,anchorOrigin:n}=e,o={root:["root",`anchorOrigin${Ae(n.vertical)}${Ae(n.horizontal)}`]};return $e(o,w6,t)},K8=ve("div",{name:"MuiSnackbar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`anchorOrigin${Ae(n.anchorOrigin.vertical)}${Ae(n.anchorOrigin.horizontal)}`]]}})(({theme:e,ownerState:t})=>{const n={left:"50%",right:"auto",transform:"translateX(-50%)"};return j({zIndex:(e.vars||e).zIndex.snackbar,position:"fixed",display:"flex",left:8,right:8,justifyContent:"center",alignItems:"center"},t.anchorOrigin.vertical==="top"?{top:8}:{bottom:8},t.anchorOrigin.horizontal==="left"&&{justifyContent:"flex-start"},t.anchorOrigin.horizontal==="right"&&{justifyContent:"flex-end"},{[e.breakpoints.up("sm")]:j({},t.anchorOrigin.vertical==="top"?{top:24}:{bottom:24},t.anchorOrigin.horizontal==="center"&&n,t.anchorOrigin.horizontal==="left"&&{left:24,right:"auto"},t.anchorOrigin.horizontal==="right"&&{right:24,left:"auto"})})}),O6=y.forwardRef(function(t,n){const o=et({props:t,name:"MuiSnackbar"}),i=Qr(),a={enter:i.transitions.duration.enteringScreen,exit:i.transitions.duration.leavingScreen},{action:c,anchorOrigin:{vertical:u,horizontal:f}={vertical:"bottom",horizontal:"left"},autoHideDuration:p=null,children:h,className:m,ClickAwayListenerProps:P,ContentProps:H,disableWindowBlurListener:g=!1,message:w,open:x,TransitionComponent:z=Zu,transitionDuration:O=a,TransitionProps:{onEnter:C,onExited:D}={}}=o,R=Oe(o.TransitionProps,H6),E=Oe(o,j6),T=j({},o,{anchorOrigin:{vertical:u,horizontal:f},autoHideDuration:p,disableWindowBlurListener:g,TransitionComponent:z,transitionDuration:O}),L=z6(T),{getRootProps:N,onClickAway:M}=MR(j({},T)),[U,I]=y.useState(!0),W=fi({elementType:K8,getSlotProps:N,externalForwardedProps:E,ownerState:T,additionalProps:{ref:n},className:[L.root,m]}),oe=ie=>{I(!0),D&&D(ie)},q=(ie,te)=>{I(!1),C&&C(ie,te)};return!x&&U?null:v.jsx(W1,j({onClickAway:M},P,{children:v.jsx(K8,j({},W,{children:v.jsx(z,j({appear:!0,in:x,timeout:O,direction:u==="top"?"down":"up",onEnter:q,onExited:oe},R,{children:h||v.jsx(x6,j({message:w,action:c},H))}))}))}))});function C6(e){return Ke("MuiTooltip",e)}const ci=_e("MuiTooltip",["popper","popperInteractive","popperArrow","popperClose","tooltip","tooltipArrow","touch","tooltipPlacementLeft","tooltipPlacementRight","tooltipPlacementTop","tooltipPlacementBottom","arrow"]),R6=["arrow","children","classes","components","componentsProps","describeChild","disableFocusListener","disableHoverListener","disableInteractive","disableTouchListener","enterDelay","enterNextDelay","enterTouchDelay","followCursor","id","leaveDelay","leaveTouchDelay","onClose","onOpen","open","placement","PopperComponent","PopperProps","slotProps","slots","title","TransitionComponent","TransitionProps"];function D6(e){return Math.round(e*1e5)/1e5}const S6=e=>{const{classes:t,disableInteractive:n,arrow:o,touch:i,placement:a}=e,c={popper:["popper",!n&&"popperInteractive",o&&"popperArrow"],tooltip:["tooltip",o&&"tooltipArrow",i&&"touch",`tooltipPlacement${Ae(a.split("-")[0])}`],arrow:["arrow"]};return $e(c,C6,t)},T6=ve(uv,{name:"MuiTooltip",slot:"Popper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.popper,!n.disableInteractive&&t.popperInteractive,n.arrow&&t.popperArrow,!n.open&&t.popperClose]}})(({theme:e,ownerState:t,open:n})=>j({zIndex:(e.vars||e).zIndex.tooltip,pointerEvents:"none"},!t.disableInteractive&&{pointerEvents:"auto"},!n&&{pointerEvents:"none"},t.arrow&&{[`&[data-popper-placement*="bottom"] .${ci.arrow}`]:{top:0,marginTop:"-0.71em","&::before":{transformOrigin:"0 100%"}},[`&[data-popper-placement*="top"] .${ci.arrow}`]:{bottom:0,marginBottom:"-0.71em","&::before":{transformOrigin:"100% 0"}},[`&[data-popper-placement*="right"] .${ci.arrow}`]:j({},t.isRtl?{right:0,marginRight:"-0.71em"}:{left:0,marginLeft:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"100% 100%"}}),[`&[data-popper-placement*="left"] .${ci.arrow}`]:j({},t.isRtl?{left:0,marginLeft:"-0.71em"}:{right:0,marginRight:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"0 0"}})})),E6=ve("div",{name:"MuiTooltip",slot:"Tooltip",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.tooltip,n.touch&&t.touch,n.arrow&&t.tooltipArrow,t[`tooltipPlacement${Ae(n.placement.split("-")[0])}`]]}})(({theme:e,ownerState:t})=>j({backgroundColor:e.vars?e.vars.palette.Tooltip.bg:xt(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},t.arrow&&{position:"relative",margin:0},t.touch&&{padding:"8px 16px",fontSize:e.typography.pxToRem(14),lineHeight:`${D6(16/14)}em`,fontWeight:e.typography.fontWeightRegular},{[`.${ci.popper}[data-popper-placement*="left"] &`]:j({transformOrigin:"right center"},t.isRtl?j({marginLeft:"14px"},t.touch&&{marginLeft:"24px"}):j({marginRight:"14px"},t.touch&&{marginRight:"24px"})),[`.${ci.popper}[data-popper-placement*="right"] &`]:j({transformOrigin:"left center"},t.isRtl?j({marginRight:"14px"},t.touch&&{marginRight:"24px"}):j({marginLeft:"14px"},t.touch&&{marginLeft:"24px"})),[`.${ci.popper}[data-popper-placement*="top"] &`]:j({transformOrigin:"center bottom",marginBottom:"14px"},t.touch&&{marginBottom:"24px"}),[`.${ci.popper}[data-popper-placement*="bottom"] &`]:j({transformOrigin:"center top",marginTop:"14px"},t.touch&&{marginTop:"24px"})})),k6=ve("span",{name:"MuiTooltip",slot:"Arrow",overridesResolver:(e,t)=>t.arrow})(({theme:e})=>({overflow:"hidden",position:"absolute",width:"1em",height:"0.71em",boxSizing:"border-box",color:e.vars?e.vars.palette.Tooltip.bg:xt(e.palette.grey[700],.9),"&::before":{content:'""',margin:"auto",display:"block",width:"100%",height:"100%",backgroundColor:"currentColor",transform:"rotate(45deg)"}}));let Wd=!1;const _8=new cf;let Hc={x:0,y:0};function Jd(e,t){return n=>{t&&t(n),e(n)}}const _P=y.forwardRef(function(t,n){var o,i,a,c,u,f,p,h,m,P,H,g,w,x,z,O,C,D,R;const E=et({props:t,name:"MuiTooltip"}),{arrow:T=!1,children:L,components:N={},componentsProps:M={},describeChild:U=!1,disableFocusListener:I=!1,disableHoverListener:W=!1,disableInteractive:oe=!1,disableTouchListener:q=!1,enterDelay:ie=100,enterNextDelay:te=0,enterTouchDelay:J=700,followCursor:K=!1,id:k,leaveDelay:ne=0,leaveTouchDelay:X=1500,onClose:se,onOpen:_,open:de,placement:ue="bottom",PopperComponent:we,PopperProps:pe={},slotProps:me={},slots:it={},title:We,TransitionComponent:Xe=Zu,TransitionProps:Be}=E,Re=Oe(E,R6),rt=y.isValidElement(L)?L:v.jsx("span",{children:L}),Ve=Qr(),jt=Ve.direction==="rtl",[B,re]=y.useState(),[ae,ge]=y.useState(null),ye=y.useRef(!1),Pe=oe||K,xe=Li(),Ze=Li(),Pt=Li(),mt=Li(),[Ue,Le]=xs({controlled:de,default:!1,name:"Tooltip",state:"open"});let gt=Ue;const Mt=es(k),_t=y.useRef(),Fe=ar(()=>{_t.current!==void 0&&(document.body.style.WebkitUserSelect=_t.current,_t.current=void 0),mt.clear()});y.useEffect(()=>Fe,[Fe]);const At=ut=>{_8.clear(),Wd=!0,Le(!0),_&&!gt&&_(ut)},G=ar(ut=>{_8.start(800+ne,()=>{Wd=!1}),Le(!1),se&>&&se(ut),xe.start(Ve.transitions.duration.shortest,()=>{ye.current=!1})}),Z=ut=>{ye.current&&ut.type!=="touchstart"||(B&&B.removeAttribute("title"),Ze.clear(),Pt.clear(),ie||Wd&&te?Ze.start(Wd?te:ie,()=>{At(ut)}):At(ut))},be=ut=>{Ze.clear(),Pt.start(ne,()=>{G(ut)})},{isFocusVisibleRef:ke,onBlur:De,onFocus:Ne,ref:Ye}=sv(),[,Te]=y.useState(!1),tt=ut=>{De(ut),ke.current===!1&&(Te(!1),be(ut))},ft=ut=>{B||re(ut.currentTarget),Ne(ut),ke.current===!0&&(Te(!0),Z(ut))},Rt=ut=>{ye.current=!0;const An=rt.props;An.onTouchStart&&An.onTouchStart(ut)},$t=Z,Zt=be,sn=ut=>{Rt(ut),Pt.clear(),xe.clear(),Fe(),_t.current=document.body.style.WebkitUserSelect,document.body.style.WebkitUserSelect="none",mt.start(J,()=>{document.body.style.WebkitUserSelect=_t.current,Z(ut)})},ln=ut=>{rt.props.onTouchEnd&&rt.props.onTouchEnd(ut),Fe(),Pt.start(X,()=>{G(ut)})};y.useEffect(()=>{if(!gt)return;function ut(An){(An.key==="Escape"||An.key==="Esc")&&G(An)}return document.addEventListener("keydown",ut),()=>{document.removeEventListener("keydown",ut)}},[G,gt]);const Nt=on(rt.ref,Ye,re,n);!We&&We!==0&&(gt=!1);const Lt=y.useRef(),Gt=ut=>{const An=rt.props;An.onMouseMove&&An.onMouseMove(ut),Hc={x:ut.clientX,y:ut.clientY},Lt.current&&Lt.current.update()},In={},lr=typeof We=="string";U?(In.title=!gt&&lr&&!W?We:null,In["aria-describedby"]=gt?Mt:null):(In["aria-label"]=lr?We:null,In["aria-labelledby"]=gt&&!lr?Mt:null);const bn=j({},In,Re,rt.props,{className:ze(Re.className,rt.props.className),onTouchStart:Rt,ref:Nt},K?{onMouseMove:Gt}:{}),_n={};q||(bn.onTouchStart=sn,bn.onTouchEnd=ln),W||(bn.onMouseOver=Jd($t,bn.onMouseOver),bn.onMouseLeave=Jd(Zt,bn.onMouseLeave),Pe||(_n.onMouseOver=$t,_n.onMouseLeave=Zt)),I||(bn.onFocus=Jd(ft,bn.onFocus),bn.onBlur=Jd(tt,bn.onBlur),Pe||(_n.onFocus=ft,_n.onBlur=tt));const Kr=y.useMemo(()=>{var ut;let An=[{name:"arrow",enabled:!!ae,options:{element:ae,padding:4}}];return(ut=pe.popperOptions)!=null&&ut.modifiers&&(An=An.concat(pe.popperOptions.modifiers)),j({},pe.popperOptions,{modifiers:An})},[ae,pe]),qn=j({},E,{isRtl:jt,arrow:T,disableInteractive:Pe,placement:ue,PopperComponentProp:we,touch:ye.current}),$n=S6(qn),Ee=(o=(i=it.popper)!=null?i:N.Popper)!=null?o:T6,ee=(a=(c=(u=it.transition)!=null?u:N.Transition)!=null?c:Xe)!=null?a:Zu,$=(f=(p=it.tooltip)!=null?p:N.Tooltip)!=null?f:E6,He=(h=(m=it.arrow)!=null?m:N.Arrow)!=null?h:k6,Ie=Au(Ee,j({},pe,(P=me.popper)!=null?P:M.popper,{className:ze($n.popper,pe==null?void 0:pe.className,(H=(g=me.popper)!=null?g:M.popper)==null?void 0:H.className)}),qn),ct=Au(ee,j({},Be,(w=me.transition)!=null?w:M.transition),qn),Wt=Au($,j({},(x=me.tooltip)!=null?x:M.tooltip,{className:ze($n.tooltip,(z=(O=me.tooltip)!=null?O:M.tooltip)==null?void 0:z.className)}),qn),tn=Au(He,j({},(C=me.arrow)!=null?C:M.arrow,{className:ze($n.arrow,(D=(R=me.arrow)!=null?R:M.arrow)==null?void 0:D.className)}),qn);return v.jsxs(y.Fragment,{children:[y.cloneElement(rt,bn),v.jsx(Ee,j({as:we??uv,placement:ue,anchorEl:K?{getBoundingClientRect:()=>({top:Hc.y,left:Hc.x,right:Hc.x,bottom:Hc.y,width:0,height:0})}:B,popperRef:Lt,open:B?gt:!1,id:Mt,transition:!0},_n,Ie,{popperOptions:Kr,children:({TransitionProps:ut})=>v.jsx(ee,j({timeout:Ve.transitions.duration.shorter},ut,ct,{children:v.jsxs($,j({},Wt,{children:[We,T?v.jsx(He,j({},tn,{ref:ge})):null]}))}))}))]})});function M6(e){return Ke("MuiSwitch",e)}const dr=_e("MuiSwitch",["root","edgeStart","edgeEnd","switchBase","colorPrimary","colorSecondary","sizeSmall","sizeMedium","checked","disabled","input","thumb","track"]),L6=["className","color","edge","size","sx"],X6=e=>{const{classes:t,edge:n,size:o,color:i,checked:a,disabled:c}=e,u={root:["root",n&&`edge${Ae(n)}`,`size${Ae(o)}`],switchBase:["switchBase",`color${Ae(i)}`,a&&"checked",c&&"disabled"],thumb:["thumb"],track:["track"],input:["input"]},f=$e(u,M6,t);return j({},t,f)},N6=ve("span",{name:"MuiSwitch",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.edge&&t[`edge${Ae(n.edge)}`],t[`size${Ae(n.size)}`]]}})(({ownerState:e})=>j({display:"inline-flex",width:34+12*2,height:14+12*2,overflow:"hidden",padding:12,boxSizing:"border-box",position:"relative",flexShrink:0,zIndex:0,verticalAlign:"middle","@media print":{colorAdjust:"exact"}},e.edge==="start"&&{marginLeft:-8},e.edge==="end"&&{marginRight:-8},e.size==="small"&&{width:40,height:24,padding:7,[`& .${dr.thumb}`]:{width:16,height:16},[`& .${dr.switchBase}`]:{padding:4,[`&.${dr.checked}`]:{transform:"translateX(16px)"}}})),B6=ve(YP,{name:"MuiSwitch",slot:"SwitchBase",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.switchBase,{[`& .${dr.input}`]:t.input},n.color!=="default"&&t[`color${Ae(n.color)}`]]}})(({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}),[`&.${dr.checked}`]:{transform:"translateX(20px)"},[`&.${dr.disabled}`]:{color:e.vars?e.vars.palette.Switch.defaultDisabledColor:`${e.palette.mode==="light"?e.palette.grey[100]:e.palette.grey[600]}`},[`&.${dr.checked} + .${dr.track}`]:{opacity:.5},[`&.${dr.disabled} + .${dr.track}`]:{opacity:e.vars?e.vars.opacity.switchTrackDisabled:`${e.palette.mode==="light"?.12:.2}`},[`& .${dr.input}`]:{left:"-100%",width:"300%"}}),({theme:e,ownerState:t})=>j({"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:xt(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},t.color!=="default"&&{[`&.${dr.checked}`]:{color:(e.vars||e).palette[t.color].main,"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:xt(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${dr.disabled}`]:{color:e.vars?e.vars.palette.Switch[`${t.color}DisabledColor`]:`${e.palette.mode==="light"?vl(e.palette[t.color].main,.62):pl(e.palette[t.color].main,.55)}`}},[`&.${dr.checked} + .${dr.track}`]:{backgroundColor:(e.vars||e).palette[t.color].main}})),V6=ve("span",{name:"MuiSwitch",slot:"Track",overridesResolver:(e,t)=>t.track})(({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}`})),I6=ve("span",{name:"MuiSwitch",slot:"Thumb",overridesResolver:(e,t)=>t.thumb})(({theme:e})=>({boxShadow:(e.vars||e).shadows[1],backgroundColor:"currentColor",width:20,height:20,borderRadius:"50%"})),w2=y.forwardRef(function(t,n){const o=et({props:t,name:"MuiSwitch"}),{className:i,color:a="primary",edge:c=!1,size:u="medium",sx:f}=o,p=Oe(o,L6),h=j({},o,{color:a,edge:c,size:u}),m=X6(h),P=v.jsx(I6,{className:m.thumb,ownerState:h});return v.jsxs(N6,{className:ze(m.root,i),sx:f,ownerState:h,children:[v.jsx(B6,j({type:"checkbox",icon:P,checkedIcon:P,ref:n,ownerState:h},p,{classes:j({},m,{root:m.switchBase})})),v.jsx(V6,{className:m.track,ownerState:h})]})}),H2=y.createContext();function W6(e){return Ke("MuiTable",e)}_e("MuiTable",["root","stickyHeader"]);const J6=["className","component","padding","size","stickyHeader"],F6=e=>{const{classes:t,stickyHeader:n}=e;return $e({root:["root",n&&"stickyHeader"]},W6,t)},Y6=ve("table",{name:"MuiTable",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.stickyHeader&&t.stickyHeader]}})(({theme:e,ownerState:t})=>j({display:"table",width:"100%",borderCollapse:"collapse",borderSpacing:0,"& caption":j({},e.typography.body2,{padding:e.spacing(2),color:(e.vars||e).palette.text.secondary,textAlign:"left",captionSide:"bottom"})},t.stickyHeader&&{borderCollapse:"separate"})),$8="table",j2=y.forwardRef(function(t,n){const o=et({props:t,name:"MuiTable"}),{className:i,component:a=$8,padding:c="normal",size:u="medium",stickyHeader:f=!1}=o,p=Oe(o,J6),h=j({},o,{component:a,padding:c,size:u,stickyHeader:f}),m=F6(h),P=y.useMemo(()=>({padding:c,size:u,stickyHeader:f}),[c,u,f]);return v.jsx(H2.Provider,{value:P,children:v.jsx(Y6,j({as:a,role:a===$8?null:"table",ref:n,className:ze(m.root,i),ownerState:h},p))})}),pf=y.createContext();function q6(e){return Ke("MuiTableBody",e)}_e("MuiTableBody",["root"]);const Z6=["className","component"],G6=e=>{const{classes:t}=e;return $e({root:["root"]},q6,t)},U6=ve("tbody",{name:"MuiTableBody",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"table-row-group"}),Q6={variant:"body"},ew="tbody",z2=y.forwardRef(function(t,n){const o=et({props:t,name:"MuiTableBody"}),{className:i,component:a=ew}=o,c=Oe(o,Z6),u=j({},o,{component:a}),f=G6(u);return v.jsx(pf.Provider,{value:Q6,children:v.jsx(U6,j({className:ze(f.root,i),as:a,ref:n,role:a===ew?null:"rowgroup",ownerState:u},c))})});function K6(e){return Ke("MuiTableCell",e)}const _6=_e("MuiTableCell",["root","head","body","footer","sizeSmall","sizeMedium","paddingCheckbox","paddingNone","alignLeft","alignCenter","alignRight","alignJustify","stickyHeader"]),$6=["align","className","component","padding","scope","size","sortDirection","variant"],eM=e=>{const{classes:t,variant:n,align:o,padding:i,size:a,stickyHeader:c}=e,u={root:["root",n,c&&"stickyHeader",o!=="inherit"&&`align${Ae(o)}`,i!=="normal"&&`padding${Ae(i)}`,`size${Ae(a)}`]};return $e(u,K6,t)},tM=ve("td",{name:"MuiTableCell",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`size${Ae(n.size)}`],n.padding!=="normal"&&t[`padding${Ae(n.padding)}`],n.align!=="inherit"&&t[`align${Ae(n.align)}`],n.stickyHeader&&t.stickyHeader]}})(({theme:e,ownerState:t})=>j({},e.typography.body2,{display:"table-cell",verticalAlign:"inherit",borderBottom:e.vars?`1px solid ${e.vars.palette.TableCell.border}`:`1px solid - ${e.palette.mode==="light"?vl(xt(e.palette.divider,1),.88):pl(xt(e.palette.divider,1),.68)}`,textAlign:"left",padding:16},t.variant==="head"&&{color:(e.vars||e).palette.text.primary,lineHeight:e.typography.pxToRem(24),fontWeight:e.typography.fontWeightMedium},t.variant==="body"&&{color:(e.vars||e).palette.text.primary},t.variant==="footer"&&{color:(e.vars||e).palette.text.secondary,lineHeight:e.typography.pxToRem(21),fontSize:e.typography.pxToRem(12)},t.size==="small"&&{padding:"6px 16px",[`&.${_6.paddingCheckbox}`]:{width:24,padding:"0 12px 0 16px","& > *":{padding:0}}},t.padding==="checkbox"&&{width:48,padding:"0 0 0 4px"},t.padding==="none"&&{padding:0},t.align==="left"&&{textAlign:"left"},t.align==="center"&&{textAlign:"center"},t.align==="right"&&{textAlign:"right",flexDirection:"row-reverse"},t.align==="justify"&&{textAlign:"justify"},t.stickyHeader&&{position:"sticky",top:0,zIndex:2,backgroundColor:(e.vars||e).palette.background.default})),hr=y.forwardRef(function(t,n){const o=et({props:t,name:"MuiTableCell"}),{align:i="inherit",className:a,component:c,padding:u,scope:f,size:p,sortDirection:h,variant:m}=o,P=Oe(o,$6),H=y.useContext(H2),g=y.useContext(pf),w=g&&g.variant==="head";let x;c?x=c:x=w?"th":"td";let z=f;x==="td"?z=void 0:!z&&w&&(z="col");const O=m||g&&g.variant,C=j({},o,{align:i,component:x,padding:u||(H&&H.padding?H.padding:"normal"),size:p||(H&&H.size?H.size:"medium"),sortDirection:h,stickyHeader:O==="head"&&H&&H.stickyHeader,variant:O}),D=eM(C);let R=null;return h&&(R=h==="asc"?"ascending":"descending"),v.jsx(tM,j({as:x,ref:n,className:ze(D.root,a),"aria-sort":R,scope:z,ownerState:C},P))});function nM(e){return Ke("MuiTableContainer",e)}_e("MuiTableContainer",["root"]);const rM=["className","component"],oM=e=>{const{classes:t}=e;return $e({root:["root"]},nM,t)},sM=ve("div",{name:"MuiTableContainer",slot:"Root",overridesResolver:(e,t)=>t.root})({width:"100%",overflowX:"auto"}),O2=y.forwardRef(function(t,n){const o=et({props:t,name:"MuiTableContainer"}),{className:i,component:a="div"}=o,c=Oe(o,rM),u=j({},o,{component:a}),f=oM(u);return v.jsx(sM,j({ref:n,as:a,className:ze(f.root,i),ownerState:u},c))});function iM(e){return Ke("MuiTableFooter",e)}_e("MuiTableFooter",["root"]);const aM=["className","component"],lM=e=>{const{classes:t}=e;return $e({root:["root"]},iM,t)},cM=ve("tfoot",{name:"MuiTableFooter",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"table-footer-group"}),uM={variant:"footer"},tw="tfoot",fM=y.forwardRef(function(t,n){const o=et({props:t,name:"MuiTableFooter"}),{className:i,component:a=tw}=o,c=Oe(o,aM),u=j({},o,{component:a}),f=lM(u);return v.jsx(pf.Provider,{value:uM,children:v.jsx(cM,j({as:a,className:ze(f.root,i),ref:n,role:a===tw?null:"rowgroup",ownerState:u},c))})});function dM(e){return Ke("MuiTableHead",e)}_e("MuiTableHead",["root"]);const pM=["className","component"],vM=e=>{const{classes:t}=e;return $e({root:["root"]},dM,t)},hM=ve("thead",{name:"MuiTableHead",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"table-header-group"}),mM={variant:"head"},nw="thead",AM=y.forwardRef(function(t,n){const o=et({props:t,name:"MuiTableHead"}),{className:i,component:a=nw}=o,c=Oe(o,pM),u=j({},o,{component:a}),f=vM(u);return v.jsx(pf.Provider,{value:mM,children:v.jsx(hM,j({as:a,className:ze(f.root,i),ref:n,role:a===nw?null:"rowgroup",ownerState:u},c))})});function PM(e){return Ke("MuiToolbar",e)}_e("MuiToolbar",["root","gutters","regular","dense"]);const gM=["className","component","disableGutters","variant"],yM=e=>{const{classes:t,disableGutters:n,variant:o}=e;return $e({root:["root",!n&&"gutters",o]},PM,t)},bM=ve("div",{name:"MuiToolbar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disableGutters&&t.gutters,t[n.variant]]}})(({theme:e,ownerState:t})=>j({position:"relative",display:"flex",alignItems:"center"},!t.disableGutters&&{paddingLeft:e.spacing(2),paddingRight:e.spacing(2),[e.breakpoints.up("sm")]:{paddingLeft:e.spacing(3),paddingRight:e.spacing(3)}},t.variant==="dense"&&{minHeight:48}),({theme:e,ownerState:t})=>t.variant==="regular"&&e.mixins.toolbar),C2=y.forwardRef(function(t,n){const o=et({props:t,name:"MuiToolbar"}),{className:i,component:a="div",disableGutters:c=!1,variant:u="regular"}=o,f=Oe(o,gM),p=j({},o,{component:a,disableGutters:c,variant:u}),h=yM(p);return v.jsx(bM,j({as:a,className:ze(h.root,i),ref:n,ownerState:p},f))}),xM=Kn(v.jsx("path",{d:"M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"}),"KeyboardArrowLeft"),wM=Kn(v.jsx("path",{d:"M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"}),"KeyboardArrowRight"),HM=["backIconButtonProps","count","disabled","getItemAriaLabel","nextIconButtonProps","onPageChange","page","rowsPerPage","showFirstButton","showLastButton","slots","slotProps"],jM=y.forwardRef(function(t,n){var o,i,a,c,u,f,p,h;const{backIconButtonProps:m,count:P,disabled:H=!1,getItemAriaLabel:g,nextIconButtonProps:w,onPageChange:x,page:z,rowsPerPage:O,showFirstButton:C,showLastButton:D,slots:R={},slotProps:E={}}=t,T=Oe(t,HM),L=Qr(),N=me=>{x(me,0)},M=me=>{x(me,z-1)},U=me=>{x(me,z+1)},I=me=>{x(me,Math.max(0,Math.ceil(P/O)-1))},W=(o=R.firstButton)!=null?o:Or,oe=(i=R.lastButton)!=null?i:Or,q=(a=R.nextButton)!=null?a:Or,ie=(c=R.previousButton)!=null?c:Or,te=(u=R.firstButtonIcon)!=null?u:Wk,J=(f=R.lastButtonIcon)!=null?f:Jk,K=(p=R.nextButtonIcon)!=null?p:wM,k=(h=R.previousButtonIcon)!=null?h:xM,ne=L.direction==="rtl"?oe:W,X=L.direction==="rtl"?q:ie,se=L.direction==="rtl"?ie:q,_=L.direction==="rtl"?W:oe,de=L.direction==="rtl"?E.lastButton:E.firstButton,ue=L.direction==="rtl"?E.nextButton:E.previousButton,we=L.direction==="rtl"?E.previousButton:E.nextButton,pe=L.direction==="rtl"?E.firstButton:E.lastButton;return v.jsxs("div",j({ref:n},T,{children:[C&&v.jsx(ne,j({onClick:N,disabled:H||z===0,"aria-label":g("first",z),title:g("first",z)},de,{children:L.direction==="rtl"?v.jsx(J,j({},E.lastButtonIcon)):v.jsx(te,j({},E.firstButtonIcon))})),v.jsx(X,j({onClick:M,disabled:H||z===0,color:"inherit","aria-label":g("previous",z),title:g("previous",z)},ue??m,{children:L.direction==="rtl"?v.jsx(K,j({},E.nextButtonIcon)):v.jsx(k,j({},E.previousButtonIcon))})),v.jsx(se,j({onClick:U,disabled:H||(P!==-1?z>=Math.ceil(P/O)-1:!1),color:"inherit","aria-label":g("next",z),title:g("next",z)},we??w,{children:L.direction==="rtl"?v.jsx(k,j({},E.previousButtonIcon)):v.jsx(K,j({},E.nextButtonIcon))})),D&&v.jsx(_,j({onClick:I,disabled:H||z>=Math.ceil(P/O)-1,"aria-label":g("last",z),title:g("last",z)},pe,{children:L.direction==="rtl"?v.jsx(te,j({},E.firstButtonIcon)):v.jsx(J,j({},E.lastButtonIcon))}))]}))});function zM(e){return Ke("MuiTablePagination",e)}const Eu=_e("MuiTablePagination",["root","toolbar","spacer","selectLabel","selectRoot","select","selectIcon","input","menuItem","displayedRows","actions"]);var rw;const OM=["ActionsComponent","backIconButtonProps","className","colSpan","component","count","disabled","getItemAriaLabel","labelDisplayedRows","labelRowsPerPage","nextIconButtonProps","onPageChange","onRowsPerPageChange","page","rowsPerPage","rowsPerPageOptions","SelectProps","showFirstButton","showLastButton","slotProps","slots"],CM=ve(hr,{name:"MuiTablePagination",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e})=>({overflow:"auto",color:(e.vars||e).palette.text.primary,fontSize:e.typography.pxToRem(14),"&:last-child":{padding:0}})),RM=ve(C2,{name:"MuiTablePagination",slot:"Toolbar",overridesResolver:(e,t)=>j({[`& .${Eu.actions}`]:t.actions},t.toolbar)})(({theme:e})=>({minHeight:52,paddingRight:2,[`${e.breakpoints.up("xs")} and (orientation: landscape)`]:{minHeight:52},[e.breakpoints.up("sm")]:{minHeight:52,paddingRight:2},[`& .${Eu.actions}`]:{flexShrink:0,marginLeft:20}})),DM=ve("div",{name:"MuiTablePagination",slot:"Spacer",overridesResolver:(e,t)=>t.spacer})({flex:"1 1 100%"}),SM=ve("p",{name:"MuiTablePagination",slot:"SelectLabel",overridesResolver:(e,t)=>t.selectLabel})(({theme:e})=>j({},e.typography.body2,{flexShrink:0})),TM=ve(Qu,{name:"MuiTablePagination",slot:"Select",overridesResolver:(e,t)=>j({[`& .${Eu.selectIcon}`]:t.selectIcon,[`& .${Eu.select}`]:t.select},t.input,t.selectRoot)})({color:"inherit",fontSize:"inherit",flexShrink:0,marginRight:32,marginLeft:8,[`& .${Eu.select}`]:{paddingLeft:8,paddingRight:24,textAlign:"right",textAlignLast:"right"}}),EM=ve(Go,{name:"MuiTablePagination",slot:"MenuItem",overridesResolver:(e,t)=>t.menuItem})({}),kM=ve("p",{name:"MuiTablePagination",slot:"DisplayedRows",overridesResolver:(e,t)=>t.displayedRows})(({theme:e})=>j({},e.typography.body2,{flexShrink:0}));function MM({from:e,to:t,count:n}){return`${e}–${t} of ${n!==-1?n:`more than ${t}`}`}function LM(e){return`Go to ${e} page`}const XM=e=>{const{classes:t}=e;return $e({root:["root"],toolbar:["toolbar"],spacer:["spacer"],selectLabel:["selectLabel"],select:["select"],input:["input"],selectIcon:["selectIcon"],menuItem:["menuItem"],displayedRows:["displayedRows"],actions:["actions"]},zM,t)},NM=y.forwardRef(function(t,n){var o;const i=et({props:t,name:"MuiTablePagination"}),{ActionsComponent:a=jM,backIconButtonProps:c,className:u,colSpan:f,component:p=hr,count:h,disabled:m=!1,getItemAriaLabel:P=LM,labelDisplayedRows:H=MM,labelRowsPerPage:g="Rows per page:",nextIconButtonProps:w,onPageChange:x,onRowsPerPageChange:z,page:O,rowsPerPage:C,rowsPerPageOptions:D=[10,25,50,100],SelectProps:R={},showFirstButton:E=!1,showLastButton:T=!1,slotProps:L={},slots:N={}}=i,M=Oe(i,OM),U=i,I=XM(U),W=(o=L==null?void 0:L.select)!=null?o:R,oe=W.native?"option":EM;let q;(p===hr||p==="td")&&(q=f||1e3);const ie=es(W.id),te=es(W.labelId),J=()=>h===-1?(O+1)*C:C===-1?h:Math.min(h,(O+1)*C);return v.jsx(CM,j({colSpan:q,ref:n,as:p,ownerState:U,className:ze(I.root,u)},M,{children:v.jsxs(RM,{className:I.toolbar,children:[v.jsx(DM,{className:I.spacer}),D.length>1&&v.jsx(SM,{className:I.selectLabel,id:te,children:g}),D.length>1&&v.jsx(TM,j({variant:"standard"},!W.variant&&{input:rw||(rw=v.jsx(mv,{}))},{value:C,onChange:z,id:ie,labelId:te},W,{classes:j({},W.classes,{root:ze(I.input,I.selectRoot,(W.classes||{}).root),select:ze(I.select,(W.classes||{}).select),icon:ze(I.selectIcon,(W.classes||{}).icon)}),disabled:m,children:D.map(K=>y.createElement(oe,j({},!$i(oe)&&{ownerState:U},{className:I.menuItem,key:K.label?K.label:K,value:K.value?K.value:K}),K.label?K.label:K))})),v.jsx(kM,{className:I.displayedRows,children:H({from:h===0?0:O*C+1,to:J(),count:h===-1?-1:h,page:O})}),v.jsx(a,{className:I.actions,backIconButtonProps:c,count:h,nextIconButtonProps:w,onPageChange:x,page:O,rowsPerPage:C,showFirstButton:E,showLastButton:T,slotProps:L.actions,slots:N.actions,getItemAriaLabel:P,disabled:m})]})}))});function BM(e){return Ke("MuiTableRow",e)}const ow=_e("MuiTableRow",["root","selected","hover","head","footer"]),VM=["className","component","hover","selected"],IM=e=>{const{classes:t,selected:n,hover:o,head:i,footer:a}=e;return $e({root:["root",n&&"selected",o&&"hover",i&&"head",a&&"footer"]},BM,t)},WM=ve("tr",{name:"MuiTableRow",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.head&&t.head,n.footer&&t.footer]}})(({theme:e})=>({color:"inherit",display:"table-row",verticalAlign:"middle",outline:0,[`&.${ow.hover}:hover`]:{backgroundColor:(e.vars||e).palette.action.hover},[`&.${ow.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:xt(e.palette.primary.main,e.palette.action.selectedOpacity),"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:xt(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity)}}})),sw="tr",Op=y.forwardRef(function(t,n){const o=et({props:t,name:"MuiTableRow"}),{className:i,component:a=sw,hover:c=!1,selected:u=!1}=o,f=Oe(o,VM),p=y.useContext(pf),h=j({},o,{component:a,hover:c,selected:u,head:p&&p.variant==="head",footer:p&&p.variant==="footer"}),m=IM(h);return v.jsx(WM,j({as:a,ref:n,className:ze(m.root,i),role:a===sw?null:"row",ownerState:h},f))});function JM(e){return Ke("MuiTextField",e)}_e("MuiTextField",["root"]);const FM=["autoComplete","autoFocus","children","className","color","defaultValue","disabled","error","FormHelperTextProps","fullWidth","helperText","id","InputLabelProps","inputProps","InputProps","inputRef","label","maxRows","minRows","multiline","name","onBlur","onChange","onFocus","placeholder","required","rows","select","SelectProps","type","value","variant"],YM={standard:GP,filled:ZP,outlined:QP},qM=e=>{const{classes:t}=e;return $e({root:["root"]},JM,t)},ZM=ve(fr,{name:"MuiTextField",slot:"Root",overridesResolver:(e,t)=>t.root})({}),ao=y.forwardRef(function(t,n){const o=et({props:t,name:"MuiTextField"}),{autoComplete:i,autoFocus:a=!1,children:c,className:u,color:f="primary",defaultValue:p,disabled:h=!1,error:m=!1,FormHelperTextProps:P,fullWidth:H=!1,helperText:g,id:w,InputLabelProps:x,inputProps:z,InputProps:O,inputRef:C,label:D,maxRows:R,minRows:E,multiline:T=!1,name:L,onBlur:N,onChange:M,onFocus:U,placeholder:I,required:W=!1,rows:oe,select:q=!1,SelectProps:ie,type:te,value:J,variant:K="outlined"}=o,k=Oe(o,FM),ne=j({},o,{autoFocus:a,color:f,disabled:h,error:m,fullWidth:H,multiline:T,required:W,select:q,variant:K}),X=qM(ne),se={};K==="outlined"&&(x&&typeof x.shrink<"u"&&(se.notched=x.shrink),se.label=D),q&&((!ie||!ie.native)&&(se.id=void 0),se["aria-describedby"]=void 0);const _=es(w),de=g&&_?`${_}-helper-text`:void 0,ue=D&&_?`${_}-label`:void 0,we=YM[K],pe=v.jsx(we,j({"aria-describedby":de,autoComplete:i,autoFocus:a,defaultValue:p,fullWidth:H,multiline:T,name:L,rows:oe,maxRows:R,minRows:E,type:te,value:J,id:_,inputRef:C,onBlur:N,onChange:M,onFocus:U,placeholder:I,inputProps:z},se,O));return v.jsxs(ZM,j({className:ze(X.root,u),disabled:h,error:m,fullWidth:H,ref:n,required:W,color:f,variant:K,ownerState:ne},k,{children:[D!=null&&D!==""&&v.jsx(ip,j({htmlFor:_,id:ue},x,{children:D})),q?v.jsx(Qu,j({"aria-describedby":de,id:_,labelId:ue,value:J,input:pe},ie,{children:c})):pe,g&&v.jsx(Ia,j({id:de},P,{children:g}))]}))}),Rn="/hub",gv="/services/japps",$P=["Environments"],GM=["Any","Owned by me","Shared with me"],UM=["Recently modified","Name: A-Z","Name: Z-A"],QM=["Running","Ready","Pending","Unknown"],eg="startAppId";var Cl=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},ta=typeof window>"u"||"Deno"in globalThis;function so(){}function KM(e,t){return typeof e=="function"?e(t):e}function XA(e){return typeof e=="number"&&e>=0&&e!==1/0}function R2(e,t){return Math.max(e+(t||0)-Date.now(),0)}function Qa(e,t){return typeof e=="function"?e(t):e}function zo(e,t){return typeof e=="function"?e(t):e}function iw(e,t){const{type:n="all",exact:o,fetchStatus:i,predicate:a,queryKey:c,stale:u}=e;if(c){if(o){if(t.queryHash!==tg(c,t.options))return!1}else if(!Ku(t.queryKey,c))return!1}if(n!=="all"){const f=t.isActive();if(n==="active"&&!f||n==="inactive"&&f)return!1}return!(typeof u=="boolean"&&t.isStale()!==u||i&&i!==t.state.fetchStatus||a&&!a(t))}function aw(e,t){const{exact:n,status:o,predicate:i,mutationKey:a}=e;if(a){if(!t.options.mutationKey)return!1;if(n){if(na(t.options.mutationKey)!==na(a))return!1}else if(!Ku(t.options.mutationKey,a))return!1}return!(o&&t.state.status!==o||i&&!i(t))}function tg(e,t){return((t==null?void 0:t.queryKeyHashFn)||na)(e)}function na(e){return JSON.stringify(e,(t,n)=>NA(n)?Object.keys(n).sort().reduce((o,i)=>(o[i]=n[i],o),{}):n)}function Ku(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?!Object.keys(t).some(n=>!Ku(e[n],t[n])):!1}function D2(e,t){if(e===t)return e;const n=lw(e)&&lw(t);if(n||NA(e)&&NA(t)){const o=n?e:Object.keys(e),i=o.length,a=n?t:Object.keys(t),c=a.length,u=n?[]:{};let f=0;for(let p=0;p{setTimeout(t,e)})}function BA(e,t,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?D2(e,t):t}function $M(e,t,n=0){const o=[...e,t];return n&&o.length>n?o.slice(1):o}function eL(e,t,n=0){const o=[t,...e];return n&&o.length>n?o.slice(0,-1):o}var ng=Symbol();function S2(e,t){return!e.queryFn&&(t!=null&&t.initialPromise)?()=>t.initialPromise:!e.queryFn||e.queryFn===ng?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}var Vi,ei,_a,e1,tL=(e1=class extends Cl{constructor(){super();vt(this,Vi);vt(this,ei);vt(this,_a);Ge(this,_a,t=>{if(!ta&&window.addEventListener){const n=()=>t();return window.addEventListener("visibilitychange",n,!1),()=>{window.removeEventListener("visibilitychange",n)}}})}onSubscribe(){Y(this,ei)||this.setEventListener(Y(this,_a))}onUnsubscribe(){var t;this.hasListeners()||((t=Y(this,ei))==null||t.call(this),Ge(this,ei,void 0))}setEventListener(t){var n;Ge(this,_a,t),(n=Y(this,ei))==null||n.call(this),Ge(this,ei,t(o=>{typeof o=="boolean"?this.setFocused(o):this.onFocus()}))}setFocused(t){Y(this,Vi)!==t&&(Ge(this,Vi,t),this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(n=>{n(t)})}isFocused(){var t;return typeof Y(this,Vi)=="boolean"?Y(this,Vi):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},Vi=new WeakMap,ei=new WeakMap,_a=new WeakMap,e1),rg=new tL,$a,ti,el,t1,nL=(t1=class extends Cl{constructor(){super();vt(this,$a,!0);vt(this,ti);vt(this,el);Ge(this,el,t=>{if(!ta&&window.addEventListener){const n=()=>t(!0),o=()=>t(!1);return window.addEventListener("online",n,!1),window.addEventListener("offline",o,!1),()=>{window.removeEventListener("online",n),window.removeEventListener("offline",o)}}})}onSubscribe(){Y(this,ti)||this.setEventListener(Y(this,el))}onUnsubscribe(){var t;this.hasListeners()||((t=Y(this,ti))==null||t.call(this),Ge(this,ti,void 0))}setEventListener(t){var n;Ge(this,el,t),(n=Y(this,ti))==null||n.call(this),Ge(this,ti,t(this.setOnline.bind(this)))}setOnline(t){Y(this,$a)!==t&&(Ge(this,$a,t),this.listeners.forEach(o=>{o(t)}))}isOnline(){return Y(this,$a)}},$a=new WeakMap,ti=new WeakMap,el=new WeakMap,t1),Rp=new nL;function VA(){let e,t;const n=new Promise((i,a)=>{e=i,t=a});n.status="pending",n.catch(()=>{});function o(i){Object.assign(n,i),delete n.resolve,delete n.reject}return n.resolve=i=>{o({status:"fulfilled",value:i}),e(i)},n.reject=i=>{o({status:"rejected",reason:i}),t(i)},n}function rL(e){return Math.min(1e3*2**e,3e4)}function T2(e){return(e??"online")==="online"?Rp.isOnline():!0}var E2=class extends Error{constructor(e){super("CancelledError"),this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent}};function $m(e){return e instanceof E2}function k2(e){let t=!1,n=0,o=!1,i;const a=VA(),c=w=>{var x;o||(P(new E2(w)),(x=e.abort)==null||x.call(e))},u=()=>{t=!0},f=()=>{t=!1},p=()=>rg.isFocused()&&(e.networkMode==="always"||Rp.isOnline())&&e.canRun(),h=()=>T2(e.networkMode)&&e.canRun(),m=w=>{var x;o||(o=!0,(x=e.onSuccess)==null||x.call(e,w),i==null||i(),a.resolve(w))},P=w=>{var x;o||(o=!0,(x=e.onError)==null||x.call(e,w),i==null||i(),a.reject(w))},H=()=>new Promise(w=>{var x;i=z=>{(o||p())&&w(z)},(x=e.onPause)==null||x.call(e)}).then(()=>{var w;i=void 0,o||(w=e.onContinue)==null||w.call(e)}),g=()=>{if(o)return;let w;const x=n===0?e.initialPromise:void 0;try{w=x??e.fn()}catch(z){w=Promise.reject(z)}Promise.resolve(w).then(m).catch(z=>{var E;if(o)return;const O=e.retry??(ta?0:3),C=e.retryDelay??rL,D=typeof C=="function"?C(n,z):C,R=O===!0||typeof O=="number"&&np()?void 0:H()).then(()=>{t?P(z):g()})})};return{promise:a,cancel:c,continue:()=>(i==null||i(),a),cancelRetry:u,continueRetry:f,canStart:h,start:()=>(h()?g():H().then(g),a)}}function oL(){let e=[],t=0,n=u=>{u()},o=u=>{u()},i=u=>setTimeout(u,0);const a=u=>{t?e.push(u):i(()=>{n(u)})},c=()=>{const u=e;e=[],u.length&&i(()=>{o(()=>{u.forEach(f=>{n(f)})})})};return{batch:u=>{let f;t++;try{f=u()}finally{t--,t||c()}return f},batchCalls:u=>(...f)=>{a(()=>{u(...f)})},schedule:a,setNotifyFunction:u=>{n=u},setBatchNotifyFunction:u=>{o=u},setScheduler:u=>{i=u}}}var Nn=oL(),Ii,n1,M2=(n1=class{constructor(){vt(this,Ii)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),XA(this.gcTime)&&Ge(this,Ii,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(ta?1/0:5*60*1e3))}clearGcTimeout(){Y(this,Ii)&&(clearTimeout(Y(this,Ii)),Ge(this,Ii,void 0))}},Ii=new WeakMap,n1),tl,nl,oo,sr,ef,Wi,jo,As,r1,sL=(r1=class extends M2{constructor(t){super();vt(this,jo);vt(this,tl);vt(this,nl);vt(this,oo);vt(this,sr);vt(this,ef);vt(this,Wi);Ge(this,Wi,!1),Ge(this,ef,t.defaultOptions),this.setOptions(t.options),this.observers=[],Ge(this,oo,t.cache),this.queryKey=t.queryKey,this.queryHash=t.queryHash,Ge(this,tl,iL(this.options)),this.state=t.state??Y(this,tl),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var t;return(t=Y(this,sr))==null?void 0:t.promise}setOptions(t){this.options={...Y(this,ef),...t},this.updateGcTime(this.options.gcTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&Y(this,oo).remove(this)}setData(t,n){const o=BA(this.state.data,t,this.options);return zt(this,jo,As).call(this,{data:o,type:"success",dataUpdatedAt:n==null?void 0:n.updatedAt,manual:n==null?void 0:n.manual}),o}setState(t,n){zt(this,jo,As).call(this,{type:"setState",state:t,setStateOptions:n})}cancel(t){var o,i;const n=(o=Y(this,sr))==null?void 0:o.promise;return(i=Y(this,sr))==null||i.cancel(t),n?n.then(so).catch(so):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(Y(this,tl))}isActive(){return this.observers.some(t=>zo(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===ng||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStale(){return this.state.isInvalidated?!0:this.getObserversCount()>0?this.observers.some(t=>t.getCurrentResult().isStale):this.state.data===void 0}isStaleByTime(t=0){return this.state.isInvalidated||this.state.data===void 0||!R2(this.state.dataUpdatedAt,t)}onFocus(){var n;const t=this.observers.find(o=>o.shouldFetchOnWindowFocus());t==null||t.refetch({cancelRefetch:!1}),(n=Y(this,sr))==null||n.continue()}onOnline(){var n;const t=this.observers.find(o=>o.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(n=Y(this,sr))==null||n.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),Y(this,oo).notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(n=>n!==t),this.observers.length||(Y(this,sr)&&(Y(this,Wi)?Y(this,sr).cancel({revert:!0}):Y(this,sr).cancelRetry()),this.scheduleGc()),Y(this,oo).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||zt(this,jo,As).call(this,{type:"invalidate"})}fetch(t,n){var f,p,h;if(this.state.fetchStatus!=="idle"){if(this.state.data!==void 0&&(n!=null&&n.cancelRefetch))this.cancel({silent:!0});else if(Y(this,sr))return Y(this,sr).continueRetry(),Y(this,sr).promise}if(t&&this.setOptions(t),!this.options.queryFn){const m=this.observers.find(P=>P.options.queryFn);m&&this.setOptions(m.options)}const o=new AbortController,i=m=>{Object.defineProperty(m,"signal",{enumerable:!0,get:()=>(Ge(this,Wi,!0),o.signal)})},a=()=>{const m=S2(this.options,n),P={queryKey:this.queryKey,meta:this.meta};return i(P),Ge(this,Wi,!1),this.options.persister?this.options.persister(m,P,this):m(P)},c={fetchOptions:n,options:this.options,queryKey:this.queryKey,state:this.state,fetchFn:a};i(c),(f=this.options.behavior)==null||f.onFetch(c,this),Ge(this,nl,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((p=c.fetchOptions)==null?void 0:p.meta))&&zt(this,jo,As).call(this,{type:"fetch",meta:(h=c.fetchOptions)==null?void 0:h.meta});const u=m=>{var P,H,g,w;$m(m)&&m.silent||zt(this,jo,As).call(this,{type:"error",error:m}),$m(m)||((H=(P=Y(this,oo).config).onError)==null||H.call(P,m,this),(w=(g=Y(this,oo).config).onSettled)==null||w.call(g,this.state.data,m,this)),this.scheduleGc()};return Ge(this,sr,k2({initialPromise:n==null?void 0:n.initialPromise,fn:c.fetchFn,abort:o.abort.bind(o),onSuccess:m=>{var P,H,g,w;if(m===void 0){u(new Error(`${this.queryHash} data is undefined`));return}try{this.setData(m)}catch(x){u(x);return}(H=(P=Y(this,oo).config).onSuccess)==null||H.call(P,m,this),(w=(g=Y(this,oo).config).onSettled)==null||w.call(g,m,this.state.error,this),this.scheduleGc()},onError:u,onFail:(m,P)=>{zt(this,jo,As).call(this,{type:"failed",failureCount:m,error:P})},onPause:()=>{zt(this,jo,As).call(this,{type:"pause"})},onContinue:()=>{zt(this,jo,As).call(this,{type:"continue"})},retry:c.options.retry,retryDelay:c.options.retryDelay,networkMode:c.options.networkMode,canRun:()=>!0})),Y(this,sr).start()}},tl=new WeakMap,nl=new WeakMap,oo=new WeakMap,sr=new WeakMap,ef=new WeakMap,Wi=new WeakMap,jo=new WeakSet,As=function(t){const n=o=>{switch(t.type){case"failed":return{...o,fetchFailureCount:t.failureCount,fetchFailureReason:t.error};case"pause":return{...o,fetchStatus:"paused"};case"continue":return{...o,fetchStatus:"fetching"};case"fetch":return{...o,...L2(o.data,this.options),fetchMeta:t.meta??null};case"success":return{...o,data:t.data,dataUpdateCount:o.dataUpdateCount+1,dataUpdatedAt:t.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const i=t.error;return $m(i)&&i.revert&&Y(this,nl)?{...Y(this,nl),fetchStatus:"idle"}:{...o,error:i,errorUpdateCount:o.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:o.fetchFailureCount+1,fetchFailureReason:i,fetchStatus:"idle",status:"error"};case"invalidate":return{...o,isInvalidated:!0};case"setState":return{...o,...t.state}}};this.state=n(this.state),Nn.batch(()=>{this.observers.forEach(o=>{o.onQueryUpdate()}),Y(this,oo).notify({query:this,type:"updated",action:t})})},r1);function L2(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:T2(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function iL(e){const t=typeof e.initialData=="function"?e.initialData():e.initialData,n=t!==void 0,o=n?typeof e.initialDataUpdatedAt=="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?o??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"pending",fetchStatus:"idle"}}var Io,o1,aL=(o1=class extends Cl{constructor(t={}){super();vt(this,Io);this.config=t,Ge(this,Io,new Map)}build(t,n,o){const i=n.queryKey,a=n.queryHash??tg(i,n);let c=this.get(a);return c||(c=new sL({cache:this,queryKey:i,queryHash:a,options:t.defaultQueryOptions(n),state:o,defaultOptions:t.getQueryDefaults(i)}),this.add(c)),c}add(t){Y(this,Io).has(t.queryHash)||(Y(this,Io).set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const n=Y(this,Io).get(t.queryHash);n&&(t.destroy(),n===t&&Y(this,Io).delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){Nn.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return Y(this,Io).get(t)}getAll(){return[...Y(this,Io).values()]}find(t){const n={exact:!0,...t};return this.getAll().find(o=>iw(n,o))}findAll(t={}){const n=this.getAll();return Object.keys(t).length>0?n.filter(o=>iw(t,o)):n}notify(t){Nn.batch(()=>{this.listeners.forEach(n=>{n(t)})})}onFocus(){Nn.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){Nn.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},Io=new WeakMap,o1),Wo,pr,Ji,Jo,Us,s1,lL=(s1=class extends M2{constructor(t){super();vt(this,Jo);vt(this,Wo);vt(this,pr);vt(this,Ji);this.mutationId=t.mutationId,Ge(this,pr,t.mutationCache),Ge(this,Wo,[]),this.state=t.state||X2(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){Y(this,Wo).includes(t)||(Y(this,Wo).push(t),this.clearGcTimeout(),Y(this,pr).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){Ge(this,Wo,Y(this,Wo).filter(n=>n!==t)),this.scheduleGc(),Y(this,pr).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){Y(this,Wo).length||(this.state.status==="pending"?this.scheduleGc():Y(this,pr).remove(this))}continue(){var t;return((t=Y(this,Ji))==null?void 0:t.continue())??this.execute(this.state.variables)}async execute(t){var i,a,c,u,f,p,h,m,P,H,g,w,x,z,O,C,D,R,E,T;Ge(this,Ji,k2({fn:()=>this.options.mutationFn?this.options.mutationFn(t):Promise.reject(new Error("No mutationFn found")),onFail:(L,N)=>{zt(this,Jo,Us).call(this,{type:"failed",failureCount:L,error:N})},onPause:()=>{zt(this,Jo,Us).call(this,{type:"pause"})},onContinue:()=>{zt(this,Jo,Us).call(this,{type:"continue"})},retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>Y(this,pr).canRun(this)}));const n=this.state.status==="pending",o=!Y(this,Ji).canStart();try{if(!n){zt(this,Jo,Us).call(this,{type:"pending",variables:t,isPaused:o}),await((a=(i=Y(this,pr).config).onMutate)==null?void 0:a.call(i,t,this));const N=await((u=(c=this.options).onMutate)==null?void 0:u.call(c,t));N!==this.state.context&&zt(this,Jo,Us).call(this,{type:"pending",context:N,variables:t,isPaused:o})}const L=await Y(this,Ji).start();return await((p=(f=Y(this,pr).config).onSuccess)==null?void 0:p.call(f,L,t,this.state.context,this)),await((m=(h=this.options).onSuccess)==null?void 0:m.call(h,L,t,this.state.context)),await((H=(P=Y(this,pr).config).onSettled)==null?void 0:H.call(P,L,null,this.state.variables,this.state.context,this)),await((w=(g=this.options).onSettled)==null?void 0:w.call(g,L,null,t,this.state.context)),zt(this,Jo,Us).call(this,{type:"success",data:L}),L}catch(L){try{throw await((z=(x=Y(this,pr).config).onError)==null?void 0:z.call(x,L,t,this.state.context,this)),await((C=(O=this.options).onError)==null?void 0:C.call(O,L,t,this.state.context)),await((R=(D=Y(this,pr).config).onSettled)==null?void 0:R.call(D,void 0,L,this.state.variables,this.state.context,this)),await((T=(E=this.options).onSettled)==null?void 0:T.call(E,void 0,L,t,this.state.context)),L}finally{zt(this,Jo,Us).call(this,{type:"error",error:L})}}finally{Y(this,pr).runNext(this)}}},Wo=new WeakMap,pr=new WeakMap,Ji=new WeakMap,Jo=new WeakSet,Us=function(t){const n=o=>{switch(t.type){case"failed":return{...o,failureCount:t.failureCount,failureReason:t.error};case"pause":return{...o,isPaused:!0};case"continue":return{...o,isPaused:!1};case"pending":return{...o,context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:t.isPaused,status:"pending",variables:t.variables,submittedAt:Date.now()};case"success":return{...o,data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...o,data:void 0,error:t.error,failureCount:o.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"}}};this.state=n(this.state),Nn.batch(()=>{Y(this,Wo).forEach(o=>{o.onMutationUpdate(t)}),Y(this,pr).notify({mutation:this,type:"updated",action:t})})},s1);function X2(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var Wr,tf,i1,cL=(i1=class extends Cl{constructor(t={}){super();vt(this,Wr);vt(this,tf);this.config=t,Ge(this,Wr,new Map),Ge(this,tf,Date.now())}build(t,n,o){const i=new lL({mutationCache:this,mutationId:++kd(this,tf)._,options:t.defaultMutationOptions(n),state:o});return this.add(i),i}add(t){const n=Fd(t),o=Y(this,Wr).get(n)??[];o.push(t),Y(this,Wr).set(n,o),this.notify({type:"added",mutation:t})}remove(t){var o;const n=Fd(t);if(Y(this,Wr).has(n)){const i=(o=Y(this,Wr).get(n))==null?void 0:o.filter(a=>a!==t);i&&(i.length===0?Y(this,Wr).delete(n):Y(this,Wr).set(n,i))}this.notify({type:"removed",mutation:t})}canRun(t){var o;const n=(o=Y(this,Wr).get(Fd(t)))==null?void 0:o.find(i=>i.state.status==="pending");return!n||n===t}runNext(t){var o;const n=(o=Y(this,Wr).get(Fd(t)))==null?void 0:o.find(i=>i!==t&&i.state.isPaused);return(n==null?void 0:n.continue())??Promise.resolve()}clear(){Nn.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}getAll(){return[...Y(this,Wr).values()].flat()}find(t){const n={exact:!0,...t};return this.getAll().find(o=>aw(n,o))}findAll(t={}){return this.getAll().filter(n=>aw(t,n))}notify(t){Nn.batch(()=>{this.listeners.forEach(n=>{n(t)})})}resumePausedMutations(){const t=this.getAll().filter(n=>n.state.isPaused);return Nn.batch(()=>Promise.all(t.map(n=>n.continue().catch(so))))}},Wr=new WeakMap,tf=new WeakMap,i1);function Fd(e){var t;return((t=e.options.scope)==null?void 0:t.id)??String(e.mutationId)}function uw(e){return{onFetch:(t,n)=>{var h,m,P,H,g;const o=t.options,i=(P=(m=(h=t.fetchOptions)==null?void 0:h.meta)==null?void 0:m.fetchMore)==null?void 0:P.direction,a=((H=t.state.data)==null?void 0:H.pages)||[],c=((g=t.state.data)==null?void 0:g.pageParams)||[];let u={pages:[],pageParams:[]},f=0;const p=async()=>{let w=!1;const x=C=>{Object.defineProperty(C,"signal",{enumerable:!0,get:()=>(t.signal.aborted?w=!0:t.signal.addEventListener("abort",()=>{w=!0}),t.signal)})},z=S2(t.options,t.fetchOptions),O=async(C,D,R)=>{if(w)return Promise.reject();if(D==null&&C.pages.length)return Promise.resolve(C);const E={queryKey:t.queryKey,pageParam:D,direction:R?"backward":"forward",meta:t.options.meta};x(E);const T=await z(E),{maxPages:L}=t.options,N=R?eL:$M;return{pages:N(C.pages,T,L),pageParams:N(C.pageParams,D,L)}};if(i&&a.length){const C=i==="backward",D=C?uL:fw,R={pages:a,pageParams:c},E=D(o,R);u=await O(R,E,C)}else{const C=e??a.length;do{const D=f===0?c[0]??o.initialPageParam:fw(o,u);if(f>0&&D==null)break;u=await O(u,D),f++}while(f{var w,x;return(x=(w=t.options).persister)==null?void 0:x.call(w,p,{queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n)}:t.fetchFn=p}}}function fw(e,{pages:t,pageParams:n}){const o=t.length-1;return t.length>0?e.getNextPageParam(t[o],t,n[o],n):void 0}function uL(e,{pages:t,pageParams:n}){var o;return t.length>0?(o=e.getPreviousPageParam)==null?void 0:o.call(e,t[0],t,n[0],n):void 0}var jn,ni,ri,rl,ol,oi,sl,il,a1,fL=(a1=class{constructor(e={}){vt(this,jn);vt(this,ni);vt(this,ri);vt(this,rl);vt(this,ol);vt(this,oi);vt(this,sl);vt(this,il);Ge(this,jn,e.queryCache||new aL),Ge(this,ni,e.mutationCache||new cL),Ge(this,ri,e.defaultOptions||{}),Ge(this,rl,new Map),Ge(this,ol,new Map),Ge(this,oi,0)}mount(){kd(this,oi)._++,Y(this,oi)===1&&(Ge(this,sl,rg.subscribe(async e=>{e&&(await this.resumePausedMutations(),Y(this,jn).onFocus())})),Ge(this,il,Rp.subscribe(async e=>{e&&(await this.resumePausedMutations(),Y(this,jn).onOnline())})))}unmount(){var e,t;kd(this,oi)._--,Y(this,oi)===0&&((e=Y(this,sl))==null||e.call(this),Ge(this,sl,void 0),(t=Y(this,il))==null||t.call(this),Ge(this,il,void 0))}isFetching(e){return Y(this,jn).findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return Y(this,ni).findAll({...e,status:"pending"}).length}getQueryData(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=Y(this,jn).get(t.queryHash))==null?void 0:n.state.data}ensureQueryData(e){const t=this.getQueryData(e.queryKey);if(t===void 0)return this.fetchQuery(e);{const n=this.defaultQueryOptions(e),o=Y(this,jn).build(this,n);return e.revalidateIfStale&&o.isStaleByTime(Qa(n.staleTime,o))&&this.prefetchQuery(n),Promise.resolve(t)}}getQueriesData(e){return Y(this,jn).findAll(e).map(({queryKey:t,state:n})=>{const o=n.data;return[t,o]})}setQueryData(e,t,n){const o=this.defaultQueryOptions({queryKey:e}),i=Y(this,jn).get(o.queryHash),a=i==null?void 0:i.state.data,c=KM(t,a);if(c!==void 0)return Y(this,jn).build(this,o).setData(c,{...n,manual:!0})}setQueriesData(e,t,n){return Nn.batch(()=>Y(this,jn).findAll(e).map(({queryKey:o})=>[o,this.setQueryData(o,t,n)]))}getQueryState(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=Y(this,jn).get(t.queryHash))==null?void 0:n.state}removeQueries(e){const t=Y(this,jn);Nn.batch(()=>{t.findAll(e).forEach(n=>{t.remove(n)})})}resetQueries(e,t){const n=Y(this,jn),o={type:"active",...e};return Nn.batch(()=>(n.findAll(e).forEach(i=>{i.reset()}),this.refetchQueries(o,t)))}cancelQueries(e={},t={}){const n={revert:!0,...t},o=Nn.batch(()=>Y(this,jn).findAll(e).map(i=>i.cancel(n)));return Promise.all(o).then(so).catch(so)}invalidateQueries(e={},t={}){return Nn.batch(()=>{if(Y(this,jn).findAll(e).forEach(o=>{o.invalidate()}),e.refetchType==="none")return Promise.resolve();const n={...e,type:e.refetchType??e.type??"active"};return this.refetchQueries(n,t)})}refetchQueries(e={},t){const n={...t,cancelRefetch:(t==null?void 0:t.cancelRefetch)??!0},o=Nn.batch(()=>Y(this,jn).findAll(e).filter(i=>!i.isDisabled()).map(i=>{let a=i.fetch(void 0,n);return n.throwOnError||(a=a.catch(so)),i.state.fetchStatus==="paused"?Promise.resolve():a}));return Promise.all(o).then(so)}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const n=Y(this,jn).build(this,t);return n.isStaleByTime(Qa(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(so).catch(so)}fetchInfiniteQuery(e){return e.behavior=uw(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(so).catch(so)}ensureInfiniteQueryData(e){return e.behavior=uw(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return Rp.isOnline()?Y(this,ni).resumePausedMutations():Promise.resolve()}getQueryCache(){return Y(this,jn)}getMutationCache(){return Y(this,ni)}getDefaultOptions(){return Y(this,ri)}setDefaultOptions(e){Ge(this,ri,e)}setQueryDefaults(e,t){Y(this,rl).set(na(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...Y(this,rl).values()];let n={};return t.forEach(o=>{Ku(e,o.queryKey)&&(n={...n,...o.defaultOptions})}),n}setMutationDefaults(e,t){Y(this,ol).set(na(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...Y(this,ol).values()];let n={};return t.forEach(o=>{Ku(e,o.mutationKey)&&(n={...n,...o.defaultOptions})}),n}defaultQueryOptions(e){if(e._defaulted)return e;const t={...Y(this,ri).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=tg(t.queryKey,t)),t.refetchOnReconnect===void 0&&(t.refetchOnReconnect=t.networkMode!=="always"),t.throwOnError===void 0&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode="offlineFirst"),t.enabled!==!0&&t.queryFn===ng&&(t.enabled=!1),t}defaultMutationOptions(e){return e!=null&&e._defaulted?e:{...Y(this,ri).mutations,...(e==null?void 0:e.mutationKey)&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){Y(this,jn).clear(),Y(this,ni).clear()}},jn=new WeakMap,ni=new WeakMap,ri=new WeakMap,rl=new WeakMap,ol=new WeakMap,oi=new WeakMap,sl=new WeakMap,il=new WeakMap,a1),Hr,kt,nf,vr,Fi,al,si,Fo,rf,ll,cl,Yi,qi,ii,ul,Kt,xu,IA,WA,JA,FA,YA,qA,ZA,N2,l1,dL=(l1=class extends Cl{constructor(t,n){super();vt(this,Kt);vt(this,Hr);vt(this,kt);vt(this,nf);vt(this,vr);vt(this,Fi);vt(this,al);vt(this,si);vt(this,Fo);vt(this,rf);vt(this,ll);vt(this,cl);vt(this,Yi);vt(this,qi);vt(this,ii);vt(this,ul,new Set);this.options=n,Ge(this,Hr,t),Ge(this,Fo,null),Ge(this,si,VA()),this.options.experimental_prefetchInRender||Y(this,si).reject(new Error("experimental_prefetchInRender feature flag is not enabled")),this.bindMethods(),this.setOptions(n)}bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(Y(this,kt).addObserver(this),dw(Y(this,kt),this.options)?zt(this,Kt,xu).call(this):this.updateResult(),zt(this,Kt,FA).call(this))}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return GA(Y(this,kt),this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return GA(Y(this,kt),this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,zt(this,Kt,YA).call(this),zt(this,Kt,qA).call(this),Y(this,kt).removeObserver(this)}setOptions(t,n){const o=this.options,i=Y(this,kt);if(this.options=Y(this,Hr).defaultQueryOptions(t),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean"&&typeof this.options.enabled!="function"&&typeof zo(this.options.enabled,Y(this,kt))!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");zt(this,Kt,ZA).call(this),Y(this,kt).setOptions(this.options),o._defaulted&&!Cp(this.options,o)&&Y(this,Hr).getQueryCache().notify({type:"observerOptionsUpdated",query:Y(this,kt),observer:this});const a=this.hasListeners();a&&pw(Y(this,kt),i,this.options,o)&&zt(this,Kt,xu).call(this),this.updateResult(n),a&&(Y(this,kt)!==i||zo(this.options.enabled,Y(this,kt))!==zo(o.enabled,Y(this,kt))||Qa(this.options.staleTime,Y(this,kt))!==Qa(o.staleTime,Y(this,kt)))&&zt(this,Kt,IA).call(this);const c=zt(this,Kt,WA).call(this);a&&(Y(this,kt)!==i||zo(this.options.enabled,Y(this,kt))!==zo(o.enabled,Y(this,kt))||c!==Y(this,ii))&&zt(this,Kt,JA).call(this,c)}getOptimisticResult(t){const n=Y(this,Hr).getQueryCache().build(Y(this,Hr),t),o=this.createResult(n,t);return vL(this,o)&&(Ge(this,vr,o),Ge(this,al,this.options),Ge(this,Fi,Y(this,kt).state)),o}getCurrentResult(){return Y(this,vr)}trackResult(t,n){const o={};return Object.keys(t).forEach(i=>{Object.defineProperty(o,i,{configurable:!1,enumerable:!0,get:()=>(this.trackProp(i),n==null||n(i),t[i])})}),o}trackProp(t){Y(this,ul).add(t)}getCurrentQuery(){return Y(this,kt)}refetch({...t}={}){return this.fetch({...t})}fetchOptimistic(t){const n=Y(this,Hr).defaultQueryOptions(t),o=Y(this,Hr).getQueryCache().build(Y(this,Hr),n);return o.fetch().then(()=>this.createResult(o,n))}fetch(t){return zt(this,Kt,xu).call(this,{...t,cancelRefetch:t.cancelRefetch??!0}).then(()=>(this.updateResult(),Y(this,vr)))}createResult(t,n){var L;const o=Y(this,kt),i=this.options,a=Y(this,vr),c=Y(this,Fi),u=Y(this,al),p=t!==o?t.state:Y(this,nf),{state:h}=t;let m={...h},P=!1,H;if(n._optimisticResults){const N=this.hasListeners(),M=!N&&dw(t,n),U=N&&pw(t,o,n,i);(M||U)&&(m={...m,...L2(h.data,t.options)}),n._optimisticResults==="isRestoring"&&(m.fetchStatus="idle")}let{error:g,errorUpdatedAt:w,status:x}=m;if(n.select&&m.data!==void 0)if(a&&m.data===(c==null?void 0:c.data)&&n.select===Y(this,rf))H=Y(this,ll);else try{Ge(this,rf,n.select),H=n.select(m.data),H=BA(a==null?void 0:a.data,H,n),Ge(this,ll,H),Ge(this,Fo,null)}catch(N){Ge(this,Fo,N)}else H=m.data;if(n.placeholderData!==void 0&&H===void 0&&x==="pending"){let N;if(a!=null&&a.isPlaceholderData&&n.placeholderData===(u==null?void 0:u.placeholderData))N=a.data;else if(N=typeof n.placeholderData=="function"?n.placeholderData((L=Y(this,cl))==null?void 0:L.state.data,Y(this,cl)):n.placeholderData,n.select&&N!==void 0)try{N=n.select(N),Ge(this,Fo,null)}catch(M){Ge(this,Fo,M)}N!==void 0&&(x="success",H=BA(a==null?void 0:a.data,N,n),P=!0)}Y(this,Fo)&&(g=Y(this,Fo),H=Y(this,ll),w=Date.now(),x="error");const z=m.fetchStatus==="fetching",O=x==="pending",C=x==="error",D=O&&z,R=H!==void 0,T={status:x,fetchStatus:m.fetchStatus,isPending:O,isSuccess:x==="success",isError:C,isInitialLoading:D,isLoading:D,data:H,dataUpdatedAt:m.dataUpdatedAt,error:g,errorUpdatedAt:w,failureCount:m.fetchFailureCount,failureReason:m.fetchFailureReason,errorUpdateCount:m.errorUpdateCount,isFetched:m.dataUpdateCount>0||m.errorUpdateCount>0,isFetchedAfterMount:m.dataUpdateCount>p.dataUpdateCount||m.errorUpdateCount>p.errorUpdateCount,isFetching:z,isRefetching:z&&!O,isLoadingError:C&&!R,isPaused:m.fetchStatus==="paused",isPlaceholderData:P,isRefetchError:C&&R,isStale:og(t,n),refetch:this.refetch,promise:Y(this,si)};if(this.options.experimental_prefetchInRender){const N=I=>{T.status==="error"?I.reject(T.error):T.data!==void 0&&I.resolve(T.data)},M=()=>{const I=Ge(this,si,T.promise=VA());N(I)},U=Y(this,si);switch(U.status){case"pending":t.queryHash===o.queryHash&&N(U);break;case"fulfilled":(T.status==="error"||T.data!==U.value)&&M();break;case"rejected":(T.status!=="error"||T.error!==U.reason)&&M();break}}return T}updateResult(t){const n=Y(this,vr),o=this.createResult(Y(this,kt),this.options);if(Ge(this,Fi,Y(this,kt).state),Ge(this,al,this.options),Y(this,Fi).data!==void 0&&Ge(this,cl,Y(this,kt)),Cp(o,n))return;Ge(this,vr,o);const i={},a=()=>{if(!n)return!0;const{notifyOnChangeProps:c}=this.options,u=typeof c=="function"?c():c;if(u==="all"||!u&&!Y(this,ul).size)return!0;const f=new Set(u??Y(this,ul));return this.options.throwOnError&&f.add("error"),Object.keys(Y(this,vr)).some(p=>{const h=p;return Y(this,vr)[h]!==n[h]&&f.has(h)})};(t==null?void 0:t.listeners)!==!1&&a()&&(i.listeners=!0),zt(this,Kt,N2).call(this,{...i,...t})}onQueryUpdate(){this.updateResult(),this.hasListeners()&&zt(this,Kt,FA).call(this)}},Hr=new WeakMap,kt=new WeakMap,nf=new WeakMap,vr=new WeakMap,Fi=new WeakMap,al=new WeakMap,si=new WeakMap,Fo=new WeakMap,rf=new WeakMap,ll=new WeakMap,cl=new WeakMap,Yi=new WeakMap,qi=new WeakMap,ii=new WeakMap,ul=new WeakMap,Kt=new WeakSet,xu=function(t){zt(this,Kt,ZA).call(this);let n=Y(this,kt).fetch(this.options,t);return t!=null&&t.throwOnError||(n=n.catch(so)),n},IA=function(){zt(this,Kt,YA).call(this);const t=Qa(this.options.staleTime,Y(this,kt));if(ta||Y(this,vr).isStale||!XA(t))return;const o=R2(Y(this,vr).dataUpdatedAt,t)+1;Ge(this,Yi,setTimeout(()=>{Y(this,vr).isStale||this.updateResult()},o))},WA=function(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(Y(this,kt)):this.options.refetchInterval)??!1},JA=function(t){zt(this,Kt,qA).call(this),Ge(this,ii,t),!(ta||zo(this.options.enabled,Y(this,kt))===!1||!XA(Y(this,ii))||Y(this,ii)===0)&&Ge(this,qi,setInterval(()=>{(this.options.refetchIntervalInBackground||rg.isFocused())&&zt(this,Kt,xu).call(this)},Y(this,ii)))},FA=function(){zt(this,Kt,IA).call(this),zt(this,Kt,JA).call(this,zt(this,Kt,WA).call(this))},YA=function(){Y(this,Yi)&&(clearTimeout(Y(this,Yi)),Ge(this,Yi,void 0))},qA=function(){Y(this,qi)&&(clearInterval(Y(this,qi)),Ge(this,qi,void 0))},ZA=function(){const t=Y(this,Hr).getQueryCache().build(Y(this,Hr),this.options);if(t===Y(this,kt))return;const n=Y(this,kt);Ge(this,kt,t),Ge(this,nf,t.state),this.hasListeners()&&(n==null||n.removeObserver(this),t.addObserver(this))},N2=function(t){Nn.batch(()=>{t.listeners&&this.listeners.forEach(n=>{n(Y(this,vr))}),Y(this,Hr).getQueryCache().notify({query:Y(this,kt),type:"observerResultsUpdated"})})},l1);function pL(e,t){return zo(t.enabled,e)!==!1&&e.state.data===void 0&&!(e.state.status==="error"&&t.retryOnMount===!1)}function dw(e,t){return pL(e,t)||e.state.data!==void 0&&GA(e,t,t.refetchOnMount)}function GA(e,t,n){if(zo(t.enabled,e)!==!1){const o=typeof n=="function"?n(e):n;return o==="always"||o!==!1&&og(e,t)}return!1}function pw(e,t,n,o){return(e!==t||zo(o.enabled,e)===!1)&&(!n.suspense||e.state.status!=="error")&&og(e,n)}function og(e,t){return zo(t.enabled,e)!==!1&&e.isStaleByTime(Qa(t.staleTime,e))}function vL(e,t){return!Cp(e.getCurrentResult(),t)}var ai,li,jr,gs,Hs,ap,UA,c1,hL=(c1=class extends Cl{constructor(n,o){super();vt(this,Hs);vt(this,ai);vt(this,li);vt(this,jr);vt(this,gs);Ge(this,ai,n),this.setOptions(o),this.bindMethods(),zt(this,Hs,ap).call(this)}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(n){var i;const o=this.options;this.options=Y(this,ai).defaultMutationOptions(n),Cp(this.options,o)||Y(this,ai).getMutationCache().notify({type:"observerOptionsUpdated",mutation:Y(this,jr),observer:this}),o!=null&&o.mutationKey&&this.options.mutationKey&&na(o.mutationKey)!==na(this.options.mutationKey)?this.reset():((i=Y(this,jr))==null?void 0:i.state.status)==="pending"&&Y(this,jr).setOptions(this.options)}onUnsubscribe(){var n;this.hasListeners()||(n=Y(this,jr))==null||n.removeObserver(this)}onMutationUpdate(n){zt(this,Hs,ap).call(this),zt(this,Hs,UA).call(this,n)}getCurrentResult(){return Y(this,li)}reset(){var n;(n=Y(this,jr))==null||n.removeObserver(this),Ge(this,jr,void 0),zt(this,Hs,ap).call(this),zt(this,Hs,UA).call(this)}mutate(n,o){var i;return Ge(this,gs,o),(i=Y(this,jr))==null||i.removeObserver(this),Ge(this,jr,Y(this,ai).getMutationCache().build(Y(this,ai),this.options)),Y(this,jr).addObserver(this),Y(this,jr).execute(n)}},ai=new WeakMap,li=new WeakMap,jr=new WeakMap,gs=new WeakMap,Hs=new WeakSet,ap=function(){var o;const n=((o=Y(this,jr))==null?void 0:o.state)??X2();Ge(this,li,{...n,isPending:n.status==="pending",isSuccess:n.status==="success",isError:n.status==="error",isIdle:n.status==="idle",mutate:this.mutate,reset:this.reset})},UA=function(n){Nn.batch(()=>{var o,i,a,c,u,f,p,h;if(Y(this,gs)&&this.hasListeners()){const m=Y(this,li).variables,P=Y(this,li).context;(n==null?void 0:n.type)==="success"?((i=(o=Y(this,gs)).onSuccess)==null||i.call(o,n.data,m,P),(c=(a=Y(this,gs)).onSettled)==null||c.call(a,n.data,null,m,P)):(n==null?void 0:n.type)==="error"&&((f=(u=Y(this,gs)).onError)==null||f.call(u,n.error,m,P),(h=(p=Y(this,gs)).onSettled)==null||h.call(p,void 0,n.error,m,P))}this.listeners.forEach(m=>{m(Y(this,li))})})},c1),B2=y.createContext(void 0),yv=e=>{const t=y.useContext(B2);if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},mL=({client:e,children:t})=>(y.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),v.jsx(B2.Provider,{value:e,children:t})),V2=y.createContext(!1),AL=()=>y.useContext(V2);V2.Provider;function PL(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}var gL=y.createContext(PL()),yL=()=>y.useContext(gL);function I2(e,t){return typeof e=="function"?e(...t):!!e}function QA(){}var bL=(e,t)=>{(e.suspense||e.throwOnError||e.experimental_prefetchInRender)&&(t.isReset()||(e.retryOnMount=!1))},xL=e=>{y.useEffect(()=>{e.clearReset()},[e])},wL=({result:e,errorResetBoundary:t,throwOnError:n,query:o})=>e.isError&&!t.isReset()&&!e.isFetching&&o&&I2(n,[e.error,o]),HL=e=>{e.suspense&&(e.staleTime===void 0&&(e.staleTime=1e3),typeof e.gcTime=="number"&&(e.gcTime=Math.max(e.gcTime,1e3)))},jL=(e,t)=>e.isLoading&&e.isFetching&&!t,zL=(e,t)=>(e==null?void 0:e.suspense)&&t.isPending,vw=(e,t,n)=>t.fetchOptimistic(e).catch(()=>{n.clearReset()});function OL(e,t,n){var h,m,P,H,g;const o=yv(),i=AL(),a=yL(),c=o.defaultQueryOptions(e);(m=(h=o.getDefaultOptions().queries)==null?void 0:h._experimental_beforeQuery)==null||m.call(h,c),c._optimisticResults=i?"isRestoring":"optimistic",HL(c),bL(c,a),xL(a);const u=!o.getQueryCache().get(c.queryHash),[f]=y.useState(()=>new t(o,c)),p=f.getOptimisticResult(c);if(y.useSyncExternalStore(y.useCallback(w=>{const x=i?QA:f.subscribe(Nn.batchCalls(w));return f.updateResult(),x},[f,i]),()=>f.getCurrentResult(),()=>f.getCurrentResult()),y.useEffect(()=>{f.setOptions(c,{listeners:!1})},[c,f]),zL(c,p))throw vw(c,f,a);if(wL({result:p,errorResetBoundary:a,throwOnError:c.throwOnError,query:o.getQueryCache().get(c.queryHash)}))throw p.error;if((H=(P=o.getDefaultOptions().queries)==null?void 0:P._experimental_afterQuery)==null||H.call(P,c,p),c.experimental_prefetchInRender&&!ta&&jL(p,i)){const w=u?vw(c,f,a):(g=o.getQueryCache().get(c.queryHash))==null?void 0:g.promise;w==null||w.catch(QA).finally(()=>{f.updateResult()})}return c.notifyOnChangeProps?p:f.trackResult(p)}function Qn(e,t){return OL(e,dL)}function bl(e,t){const n=yv(),[o]=y.useState(()=>new hL(n,e));y.useEffect(()=>{o.setOptions(e)},[o,e]);const i=y.useSyncExternalStore(y.useCallback(c=>o.subscribe(Nn.batchCalls(c)),[o]),()=>o.getCurrentResult(),()=>o.getCurrentResult()),a=y.useCallback((c,u)=>{o.mutate(c,u).catch(QA)},[o]);if(i.error&&I2(o.options.throwOnError,[i.error]))throw i.error;return{...i,mutate:a,mutateAsync:i.mutate}}var Yd={},hw;function CL(){if(hw)return Yd;hw=1;var e=N1();return Yd.createRoot=e.createRoot,Yd.hydrateRoot=e.hydrateRoot,Yd}var RL=CL();const DL=Tt(RL);var jc={},mw;function SL(){if(mw)return jc;mw=1,Object.defineProperty(jc,"__esModule",{value:!0}),jc.parse=c,jc.serialize=p;const e=/^[\u0021-\u003A\u003C\u003E-\u007E]+$/,t=/^[\u0021-\u003A\u003C-\u007E]*$/,n=/^([.]?[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)([.][a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)*$/i,o=/^[\u0020-\u003A\u003D-\u007E]*$/,i=Object.prototype.toString,a=(()=>{const P=function(){};return P.prototype=Object.create(null),P})();function c(P,H){const g=new a,w=P.length;if(w<2)return g;const x=(H==null?void 0:H.decode)||h;let z=0;do{const O=P.indexOf("=",z);if(O===-1)break;const C=P.indexOf(";",z),D=C===-1?w:C;if(O>D){z=P.lastIndexOf(";",O-1)+1;continue}const R=u(P,z,O),E=f(P,O,R),T=P.slice(R,E);if(g[T]===void 0){let L=u(P,O+1,D),N=f(P,D,L);const M=x(P.slice(L,N));g[T]=M}z=D+1}while(zg;){const w=P.charCodeAt(--H);if(w!==32&&w!==9)return H+1}return g}function p(P,H,g){const w=(g==null?void 0:g.encode)||encodeURIComponent;if(!e.test(P))throw new TypeError(`argument name is invalid: ${P}`);const x=w(H);if(!t.test(x))throw new TypeError(`argument val is invalid: ${H}`);let z=P+"="+x;if(!g)return z;if(g.maxAge!==void 0){if(!Number.isInteger(g.maxAge))throw new TypeError(`option maxAge is invalid: ${g.maxAge}`);z+="; Max-Age="+g.maxAge}if(g.domain){if(!n.test(g.domain))throw new TypeError(`option domain is invalid: ${g.domain}`);z+="; Domain="+g.domain}if(g.path){if(!o.test(g.path))throw new TypeError(`option path is invalid: ${g.path}`);z+="; Path="+g.path}if(g.expires){if(!m(g.expires)||!Number.isFinite(g.expires.valueOf()))throw new TypeError(`option expires is invalid: ${g.expires}`);z+="; Expires="+g.expires.toUTCString()}if(g.httpOnly&&(z+="; HttpOnly"),g.secure&&(z+="; Secure"),g.partitioned&&(z+="; Partitioned"),g.priority)switch(typeof g.priority=="string"?g.priority.toLowerCase():void 0){case"low":z+="; Priority=Low";break;case"medium":z+="; Priority=Medium";break;case"high":z+="; Priority=High";break;default:throw new TypeError(`option priority is invalid: ${g.priority}`)}if(g.sameSite)switch(typeof g.sameSite=="string"?g.sameSite.toLowerCase():g.sameSite){case!0:case"strict":z+="; SameSite=Strict";break;case"lax":z+="; SameSite=Lax";break;case"none":z+="; SameSite=None";break;default:throw new TypeError(`option sameSite is invalid: ${g.sameSite}`)}return z}function h(P){if(P.indexOf("%")===-1)return P;try{return decodeURIComponent(P)}catch{return P}}function m(P){return i.call(P)==="[object Date]"}return jc}SL();/** +`,oD=typeof gg!="string"?cy` + animation: ${gg} 1.4s linear infinite; + `:null,sD=typeof yg!="string"?cy` + animation: ${yg} 1.4s ease-in-out infinite; + `:null,iD=e=>{const{classes:t,variant:n,color:r,disableShrink:s}=e,a={root:["root",n,`color${me(r)}`],svg:["svg"],circle:["circle",`circle${me(n)}`,s&&"circleDisableShrink"]};return Qe(a,rD,t)},aD=pe("span",{name:"MuiCircularProgress",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`color${me(n.color)}`]]}})(Ue(({theme:e})=>({display:"inline-block",variants:[{props:{variant:"determinate"},style:{transition:e.transitions.create("transform")}},{props:{variant:"indeterminate"},style:oD||{animation:`${gg} 1.4s linear infinite`}},...Object.entries(e.palette).filter(mn()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}}))]}))),lD=pe("svg",{name:"MuiCircularProgress",slot:"Svg",overridesResolver:(e,t)=>t.svg})({display:"block"}),cD=pe("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.circle,t[`circle${me(n.variant)}`],n.disableShrink&&t.circleDisableShrink]}})(Ue(({theme:e})=>({stroke:"currentColor",variants:[{props:{variant:"determinate"},style:{transition:e.transitions.create("stroke-dashoffset")}},{props:{variant:"indeterminate"},style:{strokeDasharray:"80px, 200px",strokeDashoffset:0}},{props:({ownerState:t})=>t.variant==="indeterminate"&&!t.disableShrink,style:sD||{animation:`${yg} 1.4s ease-in-out infinite`}}]}))),ev=P.forwardRef(function(t,n){const r=$e({props:t,name:"MuiCircularProgress"}),{className:s,color:a="primary",disableShrink:l=!1,size:u=40,style:f,thickness:p=3.6,value:h=0,variant:m="indeterminate",...A}=r,H={...r,color:a,disableShrink:l,size:u,thickness:p,value:h,variant:m},y=iD(H),w={},x={},S={};if(m==="determinate"){const C=2*Math.PI*((oi-p)/2);w.strokeDasharray=C.toFixed(3),S["aria-valuenow"]=Math.round(h),w.strokeDashoffset=`${((100-h)/100*C).toFixed(3)}px`,x.transform="rotate(-90deg)"}return v.jsx(aD,{className:Oe(y.root,s),style:{width:u,height:u,...x,...f},ownerState:H,ref:n,role:"progressbar",...S,...A,children:v.jsx(lD,{className:y.svg,ownerState:H,viewBox:`${oi/2} ${oi/2} ${oi} ${oi}`,children:v.jsx(cD,{className:y.circle,style:w,ownerState:H,cx:oi,cy:oi,r:(oi-p)/2,fill:"none",strokeWidth:p})})})});function vx(e){return e.substring(2).toLowerCase()}function uD(e,t){return t.documentElement.clientWidth(setTimeout(()=>{f.current=!0},0),()=>{f.current=!1}),[]);const h=rn(xi(t),u),m=mr(y=>{const w=p.current;p.current=!1;const x=ir(u.current);if(!f.current||!u.current||"clientX"in y&&uD(y,x))return;if(l.current){l.current=!1;return}let S;y.composedPath?S=y.composedPath().includes(u.current):S=!x.documentElement.contains(y.target)||u.current.contains(y.target),!S&&(n||!w)&&s(y)}),A=y=>w=>{p.current=!0;const x=t.props[y];x&&x(w)},H={ref:h};return a!==!1&&(H[a]=A(a)),P.useEffect(()=>{if(a!==!1){const y=vx(a),w=ir(u.current),x=()=>{l.current=!0};return w.addEventListener(y,m),w.addEventListener("touchmove",x),()=>{w.removeEventListener(y,m),w.removeEventListener("touchmove",x)}}},[m,a]),r!==!1&&(H[r]=A(r)),P.useEffect(()=>{if(r!==!1){const y=vx(r),w=ir(u.current);return w.addEventListener(y,m),()=>{w.removeEventListener(y,m)}}},[m,r]),P.cloneElement(t,H)}const Ag=typeof by({})=="function",fD=(e,t)=>({WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",boxSizing:"border-box",WebkitTextSizeAdjust:"100%",...t&&!e.vars&&{colorScheme:e.palette.mode}}),dD=e=>({color:(e.vars||e).palette.text.primary,...e.typography.body1,backgroundColor:(e.vars||e).palette.background.default,"@media print":{backgroundColor:(e.vars||e).palette.common.white}}),T1=(e,t=!1)=>{var a,l;const n={};t&&e.colorSchemes&&typeof e.getColorSchemeSelector=="function"&&Object.entries(e.colorSchemes).forEach(([u,f])=>{var h,m;const p=e.getColorSchemeSelector(u);p.startsWith("@")?n[p]={":root":{colorScheme:(h=f.palette)==null?void 0:h.mode}}:n[p.replace(/\s*&/,"")]={colorScheme:(m=f.palette)==null?void 0:m.mode}});let r={html:fD(e,t),"*, *::before, *::after":{boxSizing:"inherit"},"strong, b":{fontWeight:e.typography.fontWeightBold},body:{margin:0,...dD(e),"&::backdrop":{backgroundColor:(e.vars||e).palette.background.default}},...n};const s=(l=(a=e.components)==null?void 0:a.MuiCssBaseline)==null?void 0:l.styleOverrides;return s&&(r=[r,s]),r},Vd="mui-ecs",pD=e=>{const t=T1(e,!1),n=Array.isArray(t)?t[0]:t;return!e.vars&&n&&(n.html[`:root:has(${Vd})`]={colorScheme:e.palette.mode}),e.colorSchemes&&Object.entries(e.colorSchemes).forEach(([r,s])=>{var l,u;const a=e.getColorSchemeSelector(r);a.startsWith("@")?n[a]={[`:root:not(:has(.${Vd}))`]:{colorScheme:(l=s.palette)==null?void 0:l.mode}}:n[a.replace(/\s*&/,"")]={[`&:not(:has(.${Vd}))`]:{colorScheme:(u=s.palette)==null?void 0:u.mode}}}),t},vD=by(Ag?({theme:e,enableColorScheme:t})=>T1(e,t):({theme:e})=>pD(e));function hD(e){const t=$e({props:e,name:"MuiCssBaseline"}),{children:n,enableColorScheme:r=!1}=t;return v.jsxs(P.Fragment,{children:[Ag&&v.jsx(vD,{enableColorScheme:r}),!Ag&&!r&&v.jsx("span",{className:Vd,style:{display:"none"}}),n]})}function mD(e){const t=ir(e);return t.body===e?Mo(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}function du(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function hx(e){return parseInt(Mo(e).getComputedStyle(e).paddingRight,10)||0}function gD(e){const n=["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].includes(e.tagName),r=e.tagName==="INPUT"&&e.getAttribute("type")==="hidden";return n||r}function mx(e,t,n,r,s){const a=[t,n,...r];[].forEach.call(e.children,l=>{const u=!a.includes(l),f=!gD(l);u&&f&&du(l,s)})}function Dm(e,t){let n=-1;return e.some((r,s)=>t(r)?(n=s,!0):!1),n}function yD(e,t){const n=[],r=e.container;if(!t.disableScrollLock){if(mD(r)){const l=Z0(Mo(r));n.push({value:r.style.paddingRight,property:"padding-right",el:r}),r.style.paddingRight=`${hx(r)+l}px`;const u=ir(r).querySelectorAll(".mui-fixed");[].forEach.call(u,f=>{n.push({value:f.style.paddingRight,property:"padding-right",el:f}),f.style.paddingRight=`${hx(f)+l}px`})}let a;if(r.parentNode instanceof DocumentFragment)a=ir(r).body;else{const l=r.parentElement,u=Mo(r);a=(l==null?void 0:l.nodeName)==="HTML"&&u.getComputedStyle(l).overflowY==="scroll"?l:r}n.push({value:a.style.overflow,property:"overflow",el:a},{value:a.style.overflowX,property:"overflow-x",el:a},{value:a.style.overflowY,property:"overflow-y",el:a}),a.style.overflow="hidden"}return()=>{n.forEach(({value:a,el:l,property:u})=>{a?l.style.setProperty(u,a):l.style.removeProperty(u)})}}function AD(e){const t=[];return[].forEach.call(e.children,n=>{n.getAttribute("aria-hidden")==="true"&&t.push(n)}),t}class PD{constructor(){this.modals=[],this.containers=[]}add(t,n){let r=this.modals.indexOf(t);if(r!==-1)return r;r=this.modals.length,this.modals.push(t),t.modalRef&&du(t.modalRef,!1);const s=AD(n);mx(n,t.mount,t.modalRef,s,!0);const a=Dm(this.containers,l=>l.container===n);return a!==-1?(this.containers[a].modals.push(t),r):(this.containers.push({modals:[t],container:n,restore:null,hiddenSiblings:s}),r)}mount(t,n){const r=Dm(this.containers,a=>a.modals.includes(t)),s=this.containers[r];s.restore||(s.restore=yD(s,n))}remove(t,n=!0){const r=this.modals.indexOf(t);if(r===-1)return r;const s=Dm(this.containers,l=>l.modals.includes(t)),a=this.containers[s];if(a.modals.splice(a.modals.indexOf(t),1),this.modals.splice(r,1),a.modals.length===0)a.restore&&a.restore(),t.modalRef&&du(t.modalRef,n),mx(a.container,t.mount,t.modalRef,a.hiddenSiblings,!1),this.containers.splice(s,1);else{const l=a.modals[a.modals.length-1];l.modalRef&&du(l.modalRef,!1)}return r}isTopModal(t){return this.modals.length>0&&this.modals[this.modals.length-1]===t}}const bD=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function xD(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 wD(e){if(e.tagName!=="INPUT"||e.type!=="radio"||!e.name)return!1;const t=r=>e.ownerDocument.querySelector(`input[type="radio"]${r}`);let n=t(`[name="${e.name}"]:checked`);return n||(n=t(`[name="${e.name}"]`)),n!==e}function HD(e){return!(e.disabled||e.tagName==="INPUT"&&e.type==="hidden"||wD(e))}function jD(e){const t=[],n=[];return Array.from(e.querySelectorAll(bD)).forEach((r,s)=>{const a=xD(r);a===-1||!HD(r)||(a===0?t.push(r):n.push({documentOrder:s,tabIndex:a,node:r}))}),n.sort((r,s)=>r.tabIndex===s.tabIndex?r.documentOrder-s.documentOrder:r.tabIndex-s.tabIndex).map(r=>r.node).concat(t)}function SD(){return!0}function zD(e){const{children:t,disableAutoFocus:n=!1,disableEnforceFocus:r=!1,disableRestoreFocus:s=!1,getTabbable:a=jD,isEnabled:l=SD,open:u}=e,f=P.useRef(!1),p=P.useRef(null),h=P.useRef(null),m=P.useRef(null),A=P.useRef(null),H=P.useRef(!1),y=P.useRef(null),w=rn(xi(t),y),x=P.useRef(null);P.useEffect(()=>{!u||!y.current||(H.current=!n)},[n,u]),P.useEffect(()=>{if(!u||!y.current)return;const z=ir(y.current);return y.current.contains(z.activeElement)||(y.current.hasAttribute("tabIndex")||y.current.setAttribute("tabIndex","-1"),H.current&&y.current.focus()),()=>{s||(m.current&&m.current.focus&&(f.current=!0,m.current.focus()),m.current=null)}},[u]),P.useEffect(()=>{if(!u||!y.current)return;const z=ir(y.current),O=R=>{x.current=R,!(r||!l()||R.key!=="Tab")&&z.activeElement===y.current&&R.shiftKey&&(f.current=!0,h.current&&h.current.focus())},D=()=>{var L,j;const R=y.current;if(R===null)return;if(!z.hasFocus()||!l()||f.current){f.current=!1;return}if(R.contains(z.activeElement)||r&&z.activeElement!==p.current&&z.activeElement!==h.current)return;if(z.activeElement!==A.current)A.current=null;else if(A.current!==null)return;if(!H.current)return;let M=[];if((z.activeElement===p.current||z.activeElement===h.current)&&(M=a(y.current)),M.length>0){const B=!!((L=x.current)!=null&&L.shiftKey&&((j=x.current)==null?void 0:j.key)==="Tab"),I=M[0],J=M[M.length-1];typeof I!="string"&&typeof J!="string"&&(B?J.focus():I.focus())}else R.focus()};z.addEventListener("focusin",D),z.addEventListener("keydown",O,!0);const k=setInterval(()=>{z.activeElement&&z.activeElement.tagName==="BODY"&&D()},50);return()=>{clearInterval(k),z.removeEventListener("focusin",D),z.removeEventListener("keydown",O,!0)}},[n,r,s,l,u,a]);const S=z=>{m.current===null&&(m.current=z.relatedTarget),H.current=!0,A.current=z.target;const O=t.props.onFocus;O&&O(z)},C=z=>{m.current===null&&(m.current=z.relatedTarget),H.current=!0};return v.jsxs(P.Fragment,{children:[v.jsx("div",{tabIndex:u?0:-1,onFocus:C,ref:p,"data-testid":"sentinelStart"}),P.cloneElement(t,{ref:w,onFocus:S}),v.jsx("div",{tabIndex:u?0:-1,onFocus:C,ref:h,"data-testid":"sentinelEnd"})]})}function OD(e){return typeof e=="function"?e():e}function CD(e){return e?e.props.hasOwnProperty("in"):!1}const gx=()=>{},Pd=new PD;function DD(e){const{container:t,disableEscapeKeyDown:n=!1,disableScrollLock:r=!1,closeAfterTransition:s=!1,onTransitionEnter:a,onTransitionExited:l,children:u,onClose:f,open:p,rootRef:h}=e,m=P.useRef({}),A=P.useRef(null),H=P.useRef(null),y=rn(H,h),[w,x]=P.useState(!p),S=CD(u);let C=!0;(e["aria-hidden"]==="false"||e["aria-hidden"]===!1)&&(C=!1);const z=()=>ir(A.current),O=()=>(m.current.modalRef=H.current,m.current.mount=A.current,m.current),D=()=>{Pd.mount(O(),{disableScrollLock:r}),H.current&&(H.current.scrollTop=0)},k=mr(()=>{const W=OD(t)||z().body;Pd.add(O(),W),H.current&&D()}),R=()=>Pd.isTopModal(O()),M=mr(W=>{A.current=W,W&&(p&&R()?D():H.current&&du(H.current,C))}),L=P.useCallback(()=>{Pd.remove(O(),C)},[C]);P.useEffect(()=>()=>{L()},[L]),P.useEffect(()=>{p?k():(!S||!s)&&L()},[p,L,S,s,k]);const j=W=>ne=>{var re;(re=W.onKeyDown)==null||re.call(W,ne),!(ne.key!=="Escape"||ne.which===229||!R())&&(n||(ne.stopPropagation(),f&&f(ne,"escapeKeyDown")))},B=W=>ne=>{var re;(re=W.onClick)==null||re.call(W,ne),ne.target===ne.currentTarget&&f&&f(ne,"backdropClick")};return{getRootProps:(W={})=>{const ne=op(e);delete ne.onTransitionEnter,delete ne.onTransitionExited;const re={...ne,...W};return{role:"presentation",...re,onKeyDown:j(re),ref:y}},getBackdropProps:(W={})=>{const ne=W;return{"aria-hidden":!0,...ne,onClick:B(ne),open:p}},getTransitionProps:()=>{const W=()=>{x(!1),a&&a()},ne=()=>{x(!0),l&&l(),s&&L()};return{onEnter:ig(W,(u==null?void 0:u.props.onEnter)??gx),onExited:ig(ne,(u==null?void 0:u.props.onExited)??gx)}},rootRef:y,portalRef:M,isTopModal:R,exited:w,hasTransition:S}}function TD(e){return Ze("MuiModal",e)}Ge("MuiModal",["root","hidden","backdrop"]);const kD=e=>{const{open:t,exited:n,classes:r}=e;return Qe({root:["root",!t&&n&&"hidden"],backdrop:["backdrop"]},TD,r)},RD=pe("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.open&&n.exited&&t.hidden]}})(Ue(({theme:e})=>({position:"fixed",zIndex:(e.vars||e).zIndex.modal,right:0,bottom:0,top:0,left:0,variants:[{props:({ownerState:t})=>!t.open&&t.exited,style:{visibility:"hidden"}}]}))),ED=pe(S1,{name:"MuiModal",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})({zIndex:-1}),Ey=P.forwardRef(function(t,n){const r=$e({name:"MuiModal",props:t}),{BackdropComponent:s=ED,BackdropProps:a,classes:l,className:u,closeAfterTransition:f=!1,children:p,container:h,component:m,components:A={},componentsProps:H={},disableAutoFocus:y=!1,disableEnforceFocus:w=!1,disableEscapeKeyDown:x=!1,disablePortal:S=!1,disableRestoreFocus:C=!1,disableScrollLock:z=!1,hideBackdrop:O=!1,keepMounted:D=!1,onBackdropClick:k,onClose:R,onTransitionEnter:M,onTransitionExited:L,open:j,slotProps:B={},slots:I={},theme:J,...K}=r,W={...r,closeAfterTransition:f,disableAutoFocus:y,disableEnforceFocus:w,disableEscapeKeyDown:x,disablePortal:S,disableRestoreFocus:C,disableScrollLock:z,hideBackdrop:O,keepMounted:D},{getRootProps:ne,getBackdropProps:re,getTransitionProps:F,portalRef:_,isTopModal:E,exited:G,hasTransition:X}=DD({...W,rootRef:n}),ee={...W,exited:G},te=kD(ee),ue={};if(p.props.tabIndex===void 0&&(ue.tabIndex="-1"),X){const{onEnter:He,onExited:Ke}=F();ue.onEnter=He,ue.onExited=Ke}const de={...K,slots:{root:A.Root,backdrop:A.Backdrop,...I},slotProps:{...H,...B}},[xe,ve]=Cn("root",{elementType:RD,externalForwardedProps:de,getSlotProps:ne,additionalProps:{ref:n,as:m},ownerState:ee,className:Oe(u,te==null?void 0:te.root,!ee.open&&ee.exited&&(te==null?void 0:te.hidden))}),[be,Xe]=Cn("backdrop",{elementType:s,externalForwardedProps:de,additionalProps:a,getSlotProps:He=>re({...He,onClick:Ke=>{k&&k(Ke),He!=null&&He.onClick&&He.onClick(Ke)}}),className:Oe(a==null?void 0:a.className,te==null?void 0:te.backdrop),ownerState:ee}),Ie=rn(a==null?void 0:a.ref,Xe.ref);return!D&&!j&&(!X||G)?null:v.jsx(w1,{ref:_,container:h,disablePortal:S,children:v.jsxs(xe,{...ve,children:[!O&&s?v.jsx(be,{...Xe,ref:Ie}):null,v.jsx(zD,{disableEnforceFocus:w,disableAutoFocus:y,disableRestoreFocus:C,isEnabled:E,open:j,children:P.cloneElement(p,ue)})]})})});function MD(e){return Ze("MuiDialog",e)}const Tm=Ge("MuiDialog",["root","scrollPaper","scrollBody","container","paper","paperScrollPaper","paperScrollBody","paperWidthFalse","paperWidthXs","paperWidthSm","paperWidthMd","paperWidthLg","paperWidthXl","paperFullWidth","paperFullScreen"]),k1=P.createContext({}),LD=pe(S1,{name:"MuiDialog",slot:"Backdrop",overrides:(e,t)=>t.backdrop})({zIndex:-1}),XD=e=>{const{classes:t,scroll:n,maxWidth:r,fullWidth:s,fullScreen:a}=e,l={root:["root"],container:["container",`scroll${me(n)}`],paper:["paper",`paperScroll${me(n)}`,`paperWidth${me(String(r))}`,s&&"paperFullWidth",a&&"paperFullScreen"]};return Qe(l,MD,t)},ND=pe(Ey,{name:"MuiDialog",slot:"Root",overridesResolver:(e,t)=>t.root})({"@media print":{position:"absolute !important"}}),BD=pe("div",{name:"MuiDialog",slot:"Container",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.container,t[`scroll${me(n.scroll)}`]]}})({height:"100%","@media print":{height:"auto"},outline:0,variants:[{props:{scroll:"paper"},style:{display:"flex",justifyContent:"center",alignItems:"center"}},{props:{scroll:"body"},style:{overflowY:"auto",overflowX:"hidden",textAlign:"center","&::after":{content:'""',display:"inline-block",verticalAlign:"middle",height:"100%",width:"0"}}}]}),VD=pe(Gr,{name:"MuiDialog",slot:"Paper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.paper,t[`scrollPaper${me(n.scroll)}`],t[`paperWidth${me(String(n.maxWidth))}`],n.fullWidth&&t.paperFullWidth,n.fullScreen&&t.paperFullScreen]}})(Ue(({theme:e})=>({margin:32,position:"relative",overflowY:"auto","@media print":{overflowY:"visible",boxShadow:"none"},variants:[{props:{scroll:"paper"},style:{display:"flex",flexDirection:"column",maxHeight:"calc(100% - 64px)"}},{props:{scroll:"body"},style:{display:"inline-block",verticalAlign:"middle",textAlign:"initial"}},{props:({ownerState:t})=>!t.maxWidth,style:{maxWidth:"calc(100% - 64px)"}},{props:{maxWidth:"xs"},style:{maxWidth:e.breakpoints.unit==="px"?Math.max(e.breakpoints.values.xs,444):`max(${e.breakpoints.values.xs}${e.breakpoints.unit}, 444px)`,[`&.${Tm.paperScrollBody}`]:{[e.breakpoints.down(Math.max(e.breakpoints.values.xs,444)+32*2)]:{maxWidth:"calc(100% - 64px)"}}}},...Object.keys(e.breakpoints.values).filter(t=>t!=="xs").map(t=>({props:{maxWidth:t},style:{maxWidth:`${e.breakpoints.values[t]}${e.breakpoints.unit}`,[`&.${Tm.paperScrollBody}`]:{[e.breakpoints.down(e.breakpoints.values[t]+32*2)]:{maxWidth:"calc(100% - 64px)"}}}})),{props:({ownerState:t})=>t.fullWidth,style:{width:"calc(100% - 64px)"}},{props:({ownerState:t})=>t.fullScreen,style:{margin:0,width:"100%",maxWidth:"100%",height:"100%",maxHeight:"none",borderRadius:0,[`&.${Tm.paperScrollBody}`]:{margin:0,maxWidth:"100%"}}}]}))),sl=P.forwardRef(function(t,n){const r=$e({props:t,name:"MuiDialog"}),s=Qr(),a={enter:s.transitions.duration.enteringScreen,exit:s.transitions.duration.leavingScreen},{"aria-describedby":l,"aria-labelledby":u,"aria-modal":f=!0,BackdropComponent:p,BackdropProps:h,children:m,className:A,disableEscapeKeyDown:H=!1,fullScreen:y=!1,fullWidth:w=!1,maxWidth:x="sm",onBackdropClick:S,onClick:C,onClose:z,open:O,PaperComponent:D=Gr,PaperProps:k={},scroll:R="paper",TransitionComponent:M=j1,transitionDuration:L=a,TransitionProps:j,...B}=r,I={...r,disableEscapeKeyDown:H,fullScreen:y,fullWidth:w,maxWidth:x,scroll:R},J=XD(I),K=P.useRef(),W=_=>{K.current=_.target===_.currentTarget},ne=_=>{C&&C(_),K.current&&(K.current=null,S&&S(_),z&&z(_,"backdropClick"))},re=ks(u),F=P.useMemo(()=>({titleId:re}),[re]);return v.jsx(ND,{className:Oe(J.root,A),closeAfterTransition:!0,components:{Backdrop:LD},componentsProps:{backdrop:{transitionDuration:L,as:p,...h}},disableEscapeKeyDown:H,onClose:z,open:O,ref:n,onClick:ne,ownerState:I,...B,children:v.jsx(M,{appear:!0,in:O,timeout:L,role:"presentation",...j,children:v.jsx(BD,{className:Oe(J.container),onMouseDown:W,ownerState:I,children:v.jsx(VD,{as:D,elevation:24,role:"dialog","aria-describedby":l,"aria-labelledby":re,"aria-modal":f,...k,className:Oe(J.paper,k.className),ownerState:I,children:v.jsx(k1.Provider,{value:F,children:m})})})})})});function ID(e){return Ze("MuiDialogActions",e)}Ge("MuiDialogActions",["root","spacing"]);const WD=e=>{const{classes:t,disableSpacing:n}=e;return Qe({root:["root",!n&&"spacing"]},ID,t)},JD=pe("div",{name:"MuiDialogActions",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disableSpacing&&t.spacing]}})({display:"flex",alignItems:"center",padding:8,justifyContent:"flex-end",flex:"0 0 auto",variants:[{props:({ownerState:e})=>!e.disableSpacing,style:{"& > :not(style) ~ :not(style)":{marginLeft:8}}}]}),FD=P.forwardRef(function(t,n){const r=$e({props:t,name:"MuiDialogActions"}),{className:s,disableSpacing:a=!1,...l}=r,u={...r,disableSpacing:a},f=WD(u);return v.jsx(JD,{className:Oe(f.root,s),ownerState:u,ref:n,...l})});function YD(e){return Ze("MuiDialogContent",e)}Ge("MuiDialogContent",["root","dividers"]);function qD(e){return Ze("MuiDialogTitle",e)}const ZD=Ge("MuiDialogTitle",["root"]),GD=e=>{const{classes:t,dividers:n}=e;return Qe({root:["root",n&&"dividers"]},YD,t)},UD=pe("div",{name:"MuiDialogContent",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.dividers&&t.dividers]}})(Ue(({theme:e})=>({flex:"1 1 auto",WebkitOverflowScrolling:"touch",overflowY:"auto",padding:"20px 24px",variants:[{props:({ownerState:t})=>t.dividers,style:{padding:"16px 24px",borderTop:`1px solid ${(e.vars||e).palette.divider}`,borderBottom:`1px solid ${(e.vars||e).palette.divider}`}},{props:({ownerState:t})=>!t.dividers,style:{[`.${ZD.root} + &`]:{paddingTop:0}}}]}))),tu=P.forwardRef(function(t,n){const r=$e({props:t,name:"MuiDialogContent"}),{className:s,dividers:a=!1,...l}=r,u={...r,dividers:a},f=GD(u);return v.jsx(UD,{className:Oe(f.root,s),ownerState:u,ref:n,...l})}),QD=e=>{const{classes:t}=e;return Qe({root:["root"]},qD,t)},KD=pe(xt,{name:"MuiDialogTitle",slot:"Root",overridesResolver:(e,t)=>t.root})({padding:"16px 24px",flex:"0 0 auto"}),nu=P.forwardRef(function(t,n){const r=$e({props:t,name:"MuiDialogTitle"}),{className:s,id:a,...l}=r,u=r,f=QD(u),{titleId:p=a}=P.useContext(k1);return v.jsx(KD,{component:"h2",className:Oe(f.root,s),ownerState:u,ref:n,variant:"h6",id:a??p,...l})});function _D(e){return Ze("MuiDivider",e)}const yx=Ge("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]),$D=e=>{const{absolute:t,children:n,classes:r,flexItem:s,light:a,orientation:l,textAlign:u,variant:f}=e;return Qe({root:["root",t&&"absolute",f,a&&"light",l==="vertical"&&"vertical",s&&"flexItem",n&&"withChildren",n&&l==="vertical"&&"withChildrenVertical",u==="right"&&l!=="vertical"&&"textAlignRight",u==="left"&&l!=="vertical"&&"textAlignLeft"],wrapper:["wrapper",l==="vertical"&&"wrapperVertical"]},_D,r)},eT=pe("div",{name:"MuiDivider",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.absolute&&t.absolute,t[n.variant],n.light&&t.light,n.orientation==="vertical"&&t.vertical,n.flexItem&&t.flexItem,n.children&&t.withChildren,n.children&&n.orientation==="vertical"&&t.withChildrenVertical,n.textAlign==="right"&&n.orientation!=="vertical"&&t.textAlignRight,n.textAlign==="left"&&n.orientation!=="vertical"&&t.textAlignLeft]}})(Ue(({theme:e})=>({margin:0,flexShrink:0,borderWidth:0,borderStyle:"solid",borderColor:(e.vars||e).palette.divider,borderBottomWidth:"thin",variants:[{props:{absolute:!0},style:{position:"absolute",bottom:0,left:0,width:"100%"}},{props:{light:!0},style:{borderColor:e.vars?`rgba(${e.vars.palette.dividerChannel} / 0.08)`:Pt(e.palette.divider,.08)}},{props:{variant:"inset"},style:{marginLeft:72}},{props:{variant:"middle",orientation:"horizontal"},style:{marginLeft:e.spacing(2),marginRight:e.spacing(2)}},{props:{variant:"middle",orientation:"vertical"},style:{marginTop:e.spacing(1),marginBottom:e.spacing(1)}},{props:{orientation:"vertical"},style:{height:"100%",borderBottomWidth:0,borderRightWidth:"thin"}},{props:{flexItem:!0},style:{alignSelf:"stretch",height:"auto"}},{props:({ownerState:t})=>!!t.children,style:{display:"flex",textAlign:"center",border:0,borderTopStyle:"solid",borderLeftStyle:"solid","&::before, &::after":{content:'""',alignSelf:"center"}}},{props:({ownerState:t})=>t.children&&t.orientation!=="vertical",style:{"&::before, &::after":{width:"100%",borderTop:`thin solid ${(e.vars||e).palette.divider}`,borderTopStyle:"inherit"}}},{props:({ownerState:t})=>t.orientation==="vertical"&&t.children,style:{flexDirection:"column","&::before, &::after":{height:"100%",borderLeft:`thin solid ${(e.vars||e).palette.divider}`,borderLeftStyle:"inherit"}}},{props:({ownerState:t})=>t.textAlign==="right"&&t.orientation!=="vertical",style:{"&::before":{width:"90%"},"&::after":{width:"10%"}}},{props:({ownerState:t})=>t.textAlign==="left"&&t.orientation!=="vertical",style:{"&::before":{width:"10%"},"&::after":{width:"90%"}}}]}))),tT=pe("span",{name:"MuiDivider",slot:"Wrapper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.wrapper,n.orientation==="vertical"&&t.wrapperVertical]}})(Ue(({theme:e})=>({display:"inline-block",paddingLeft:`calc(${e.spacing(1)} * 1.2)`,paddingRight:`calc(${e.spacing(1)} * 1.2)`,whiteSpace:"nowrap",variants:[{props:{orientation:"vertical"},style:{paddingTop:`calc(${e.spacing(1)} * 1.2)`,paddingBottom:`calc(${e.spacing(1)} * 1.2)`}}]}))),pa=P.forwardRef(function(t,n){const r=$e({props:t,name:"MuiDivider"}),{absolute:s=!1,children:a,className:l,orientation:u="horizontal",component:f=a||u==="vertical"?"div":"hr",flexItem:p=!1,light:h=!1,role:m=f!=="hr"?"separator":void 0,textAlign:A="center",variant:H="fullWidth",...y}=r,w={...r,absolute:s,component:f,flexItem:p,light:h,orientation:u,role:m,textAlign:A,variant:H},x=$D(w);return v.jsx(eT,{as:f,className:Oe(x.root,l),role:m,ref:n,ownerState:w,"aria-orientation":m==="separator"&&(f!=="hr"||u==="vertical")?u:void 0,...y,children:a?v.jsx(tT,{className:x.wrapper,ownerState:w,children:a}):null})});pa&&(pa.muiSkipListHighlight=!0);function nT(e,t,n){const r=t.getBoundingClientRect(),s=n&&n.getBoundingClientRect(),a=Mo(t);let l;if(t.fakeTransform)l=t.fakeTransform;else{const p=a.getComputedStyle(t);l=p.getPropertyValue("-webkit-transform")||p.getPropertyValue("transform")}let u=0,f=0;if(l&&l!=="none"&&typeof l=="string"){const p=l.split("(")[1].split(")")[0].split(",");u=parseInt(p[4],10),f=parseInt(p[5],10)}return e==="left"?s?`translateX(${s.right+u-r.left}px)`:`translateX(${a.innerWidth+u-r.left}px)`:e==="right"?s?`translateX(-${r.right-s.left-u}px)`:`translateX(-${r.left+r.width-u}px)`:e==="up"?s?`translateY(${s.bottom+f-r.top}px)`:`translateY(${a.innerHeight+f-r.top}px)`:s?`translateY(-${r.top-s.top+r.height-f}px)`:`translateY(-${r.top+r.height-f}px)`}function rT(e){return typeof e=="function"?e():e}function bd(e,t,n){const r=rT(n),s=nT(e,t,r);s&&(t.style.webkitTransform=s,t.style.transform=s)}const oT=P.forwardRef(function(t,n){const r=Qr(),s={enter:r.transitions.easing.easeOut,exit:r.transitions.easing.sharp},a={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{addEndListener:l,appear:u=!0,children:f,container:p,direction:h="down",easing:m=s,in:A,onEnter:H,onEntered:y,onEntering:w,onExit:x,onExited:S,onExiting:C,style:z,timeout:O=a,TransitionComponent:D=Xo,...k}=t,R=P.useRef(null),M=rn(xi(f),R,n),L=F=>_=>{F&&(_===void 0?F(R.current):F(R.current,_))},j=L((F,_)=>{bd(h,F,p),Hy(F),H&&H(F,_)}),B=L((F,_)=>{const E=Cl({timeout:O,style:z,easing:m},{mode:"enter"});F.style.webkitTransition=r.transitions.create("-webkit-transform",{...E}),F.style.transition=r.transitions.create("transform",{...E}),F.style.webkitTransform="none",F.style.transform="none",w&&w(F,_)}),I=L(y),J=L(C),K=L(F=>{const _=Cl({timeout:O,style:z,easing:m},{mode:"exit"});F.style.webkitTransition=r.transitions.create("-webkit-transform",_),F.style.transition=r.transitions.create("transform",_),bd(h,F,p),x&&x(F)}),W=L(F=>{F.style.webkitTransition="",F.style.transition="",S&&S(F)}),ne=F=>{l&&l(R.current,F)},re=P.useCallback(()=>{R.current&&bd(h,R.current,p)},[h,p]);return P.useEffect(()=>{if(A||h==="down"||h==="right")return;const F=hy(()=>{R.current&&bd(h,R.current,p)}),_=Mo(R.current);return _.addEventListener("resize",F),()=>{F.clear(),_.removeEventListener("resize",F)}},[h,A,p]),P.useEffect(()=>{A||re()},[A,re]),v.jsx(D,{nodeRef:R,onEnter:j,onEntered:I,onEntering:B,onExit:K,onExited:W,onExiting:J,addEndListener:ne,appear:u,in:A,timeout:O,...k,children:(F,_)=>P.cloneElement(f,{ref:M,style:{visibility:F==="exited"&&!A?"hidden":void 0,...z,...f.props.style},..._})})});function sT(e){return Ze("MuiDrawer",e)}Ge("MuiDrawer",["root","docked","paper","paperAnchorLeft","paperAnchorRight","paperAnchorTop","paperAnchorBottom","paperAnchorDockedLeft","paperAnchorDockedRight","paperAnchorDockedTop","paperAnchorDockedBottom","modal"]);const R1=(e,t)=>{const{ownerState:n}=e;return[t.root,(n.variant==="permanent"||n.variant==="persistent")&&t.docked,t.modal]},iT=e=>{const{classes:t,anchor:n,variant:r}=e,s={root:["root"],docked:[(r==="permanent"||r==="persistent")&&"docked"],modal:["modal"],paper:["paper",`paperAnchor${me(n)}`,r!=="temporary"&&`paperAnchorDocked${me(n)}`]};return Qe(s,sT,t)},aT=pe(Ey,{name:"MuiDrawer",slot:"Root",overridesResolver:R1})(Ue(({theme:e})=>({zIndex:(e.vars||e).zIndex.drawer}))),Ax=pe("div",{shouldForwardProp:Zn,name:"MuiDrawer",slot:"Docked",skipVariantsResolver:!1,overridesResolver:R1})({flex:"0 0 auto"}),lT=pe(Gr,{name:"MuiDrawer",slot:"Paper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.paper,t[`paperAnchor${me(n.anchor)}`],n.variant!=="temporary"&&t[`paperAnchorDocked${me(n.anchor)}`]]}})(Ue(({theme:e})=>({overflowY:"auto",display:"flex",flexDirection:"column",height:"100%",flex:"1 0 auto",zIndex:(e.vars||e).zIndex.drawer,WebkitOverflowScrolling:"touch",position:"fixed",top:0,outline:0,variants:[{props:{anchor:"left"},style:{left:0}},{props:{anchor:"top"},style:{top:0,left:0,right:0,height:"auto",maxHeight:"100%"}},{props:{anchor:"right"},style:{right:0}},{props:{anchor:"bottom"},style:{top:"auto",left:0,bottom:0,right:0,height:"auto",maxHeight:"100%"}},{props:({ownerState:t})=>t.anchor==="left"&&t.variant!=="temporary",style:{borderRight:`1px solid ${(e.vars||e).palette.divider}`}},{props:({ownerState:t})=>t.anchor==="top"&&t.variant!=="temporary",style:{borderBottom:`1px solid ${(e.vars||e).palette.divider}`}},{props:({ownerState:t})=>t.anchor==="right"&&t.variant!=="temporary",style:{borderLeft:`1px solid ${(e.vars||e).palette.divider}`}},{props:({ownerState:t})=>t.anchor==="bottom"&&t.variant!=="temporary",style:{borderTop:`1px solid ${(e.vars||e).palette.divider}`}}]}))),E1={left:"right",right:"left",top:"down",bottom:"up"};function cT(e){return["left","right"].includes(e)}function uT({direction:e},t){return e==="rtl"&&cT(t)?E1[t]:t}const fT=P.forwardRef(function(t,n){const r=$e({props:t,name:"MuiDrawer"}),s=Qr(),a=Ju(),l={enter:s.transitions.duration.enteringScreen,exit:s.transitions.duration.leavingScreen},{anchor:u="left",BackdropProps:f,children:p,className:h,elevation:m=16,hideBackdrop:A=!1,ModalProps:{BackdropProps:H,...y}={},onClose:w,open:x=!1,PaperProps:S={},SlideProps:C,TransitionComponent:z=oT,transitionDuration:O=l,variant:D="temporary",...k}=r,R=P.useRef(!1);P.useEffect(()=>{R.current=!0},[]);const M=uT({direction:a?"rtl":"ltr"},u),j={...r,anchor:u,elevation:m,open:x,variant:D,...k},B=iT(j),I=v.jsx(lT,{elevation:D==="temporary"?m:0,square:!0,...S,className:Oe(B.paper,S.className),ownerState:j,children:p});if(D==="permanent")return v.jsx(Ax,{className:Oe(B.root,B.docked,h),ownerState:j,ref:n,...k,children:I});const J=v.jsx(z,{in:x,direction:E1[M],timeout:O,appear:R.current,...C,children:I});return D==="persistent"?v.jsx(Ax,{className:Oe(B.root,B.docked,h),ownerState:j,ref:n,...k,children:J}):v.jsx(aT,{BackdropProps:{...f,...H,transitionDuration:O},className:Oe(B.root,B.modal,h),open:x,ownerState:j,onClose:w,hideBackdrop:A,ref:n,...k,...y,children:J})}),dT=e=>{const{classes:t,disableUnderline:n,startAdornment:r,endAdornment:s,size:a,hiddenLabel:l,multiline:u}=e,f={root:["root",!n&&"underline",r&&"adornedStart",s&&"adornedEnd",a==="small"&&`size${me(a)}`,l&&"hiddenLabel",u&&"multiline"],input:["input"]},p=Qe(f,oC,t);return{...t,...p}},pT=pe(Kp,{shouldForwardProp:e=>Zn(e)||e==="classes",name:"MuiFilledInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[...Up(e,t),!n.disableUnderline&&t.underline]}})(Ue(({theme:e})=>{const t=e.palette.mode==="light",n=t?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)",r=t?"rgba(0, 0, 0, 0.06)":"rgba(255, 255, 255, 0.09)",s=t?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.13)",a=t?"rgba(0, 0, 0, 0.12)":"rgba(255, 255, 255, 0.12)";return{position:"relative",backgroundColor:e.vars?e.vars.palette.FilledInput.bg:r,borderTopLeftRadius:(e.vars||e).shape.borderRadius,borderTopRightRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),"&:hover":{backgroundColor:e.vars?e.vars.palette.FilledInput.hoverBg:s,"@media (hover: none)":{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:r}},[`&.${Fr.focused}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:r},[`&.${Fr.disabled}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.disabledBg:a},variants:[{props:({ownerState:l})=>!l.disableUnderline,style:{"&::after":{left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${Fr.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${Fr.error}`]:{"&::before, &::after":{borderBottomColor:(e.vars||e).palette.error.main}},"&::before":{borderBottom:`1px solid ${e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / ${e.vars.opacity.inputUnderline})`:n}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${Fr.disabled}, .${Fr.error}):before`]:{borderBottom:`1px solid ${(e.vars||e).palette.text.primary}`},[`&.${Fr.disabled}:before`]:{borderBottomStyle:"dotted"}}},...Object.entries(e.palette).filter(mn()).map(([l])=>{var u;return{props:{disableUnderline:!1,color:l},style:{"&::after":{borderBottom:`2px solid ${(u=(e.vars||e).palette[l])==null?void 0:u.main}`}}}}),{props:({ownerState:l})=>l.startAdornment,style:{paddingLeft:12}},{props:({ownerState:l})=>l.endAdornment,style:{paddingRight:12}},{props:({ownerState:l})=>l.multiline,style:{padding:"25px 12px 8px"}},{props:({ownerState:l,size:u})=>l.multiline&&u==="small",style:{paddingTop:21,paddingBottom:4}},{props:({ownerState:l})=>l.multiline&&l.hiddenLabel,style:{paddingTop:16,paddingBottom:17}},{props:({ownerState:l})=>l.multiline&&l.hiddenLabel&&l.size==="small",style:{paddingTop:8,paddingBottom:9}}]}})),vT=pe(_p,{name:"MuiFilledInput",slot:"Input",overridesResolver:Qp})(Ue(({theme:e})=>({paddingTop:25,paddingRight:12,paddingBottom:8,paddingLeft:12,...!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:e.palette.mode==="light"?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:e.palette.mode==="light"?null:"#fff",caretColor:e.palette.mode==="light"?null:"#fff",borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"}},...e.vars&&{"&:-webkit-autofill":{borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},variants:[{props:{size:"small"},style:{paddingTop:21,paddingBottom:4}},{props:({ownerState:t})=>t.hiddenLabel,style:{paddingTop:16,paddingBottom:17}},{props:({ownerState:t})=>t.startAdornment,style:{paddingLeft:0}},{props:({ownerState:t})=>t.endAdornment,style:{paddingRight:0}},{props:({ownerState:t})=>t.hiddenLabel&&t.size==="small",style:{paddingTop:8,paddingBottom:9}},{props:({ownerState:t})=>t.multiline,style:{paddingTop:0,paddingBottom:0,paddingLeft:0,paddingRight:0}}]}))),up=P.forwardRef(function(t,n){const r=$e({props:t,name:"MuiFilledInput"}),{disableUnderline:s=!1,components:a={},componentsProps:l,fullWidth:u=!1,hiddenLabel:f,inputComponent:p="input",multiline:h=!1,slotProps:m,slots:A={},type:H="text",...y}=r,w={...r,disableUnderline:s,fullWidth:u,inputComponent:p,multiline:h,type:H},x=dT(r),S={root:{ownerState:w},input:{ownerState:w}},C=m??l?qn(S,m??l):S,z=A.root??a.Root??pT,O=A.input??a.Input??vT;return v.jsx($p,{slots:{root:z,input:O},slotProps:C,fullWidth:u,inputComponent:p,multiline:h,ref:n,type:H,...y,classes:x})});up&&(up.muiName="Input");function hT(e){return Ze("MuiFormControl",e)}Ge("MuiFormControl",["root","marginNone","marginNormal","marginDense","fullWidth","disabled"]);const mT=e=>{const{classes:t,margin:n,fullWidth:r}=e,s={root:["root",n!=="none"&&`margin${me(n)}`,r&&"fullWidth"]};return Qe(s,hT,t)},gT=pe("div",{name:"MuiFormControl",slot:"Root",overridesResolver:({ownerState:e},t)=>({...t.root,...t[`margin${me(e.margin)}`],...e.fullWidth&&t.fullWidth})})({display:"inline-flex",flexDirection:"column",position:"relative",minWidth:0,padding:0,margin:0,border:0,verticalAlign:"top",variants:[{props:{margin:"normal"},style:{marginTop:16,marginBottom:8}},{props:{margin:"dense"},style:{marginTop:8,marginBottom:4}},{props:{fullWidth:!0},style:{width:"100%"}}]}),ur=P.forwardRef(function(t,n){const r=$e({props:t,name:"MuiFormControl"}),{children:s,className:a,color:l="primary",component:u="div",disabled:f=!1,error:p=!1,focused:h,fullWidth:m=!1,hiddenLabel:A=!1,margin:H="none",required:y=!1,size:w="medium",variant:x="outlined",...S}=r,C={...r,color:l,component:u,disabled:f,error:p,fullWidth:m,hiddenLabel:A,margin:H,required:y,size:w,variant:x},z=mT(C),[O,D]=P.useState(()=>{let J=!1;return s&&P.Children.forEach(s,K=>{if(!Nd(K,["Input","Select"]))return;const W=Nd(K,["Select"])?K.props.input:K;W&&$O(W.props)&&(J=!0)}),J}),[k,R]=P.useState(()=>{let J=!1;return s&&P.Children.forEach(s,K=>{Nd(K,["Input","Select"])&&(cp(K.props,!0)||cp(K.props.inputProps,!0))&&(J=!0)}),J}),[M,L]=P.useState(!1);f&&M&&L(!1);const j=h!==void 0&&!f?h:M;let B;P.useRef(!1);const I=P.useMemo(()=>({adornedStart:O,setAdornedStart:D,color:l,disabled:f,error:p,filled:k,focused:j,fullWidth:m,hiddenLabel:A,size:w,onBlur:()=>{L(!1)},onEmpty:()=>{R(!1)},onFilled:()=>{R(!0)},onFocus:()=>{L(!0)},registerEffect:B,required:y,variant:x}),[O,l,f,p,k,j,m,A,B,y,w,x]);return v.jsx(Gp.Provider,{value:I,children:v.jsx(gT,{as:u,ownerState:C,className:Oe(z.root,a),ref:n,...S,children:s})})});function yT(e){return Ze("MuiFormControlLabel",e)}const ru=Ge("MuiFormControlLabel",["root","labelPlacementStart","labelPlacementTop","labelPlacementBottom","disabled","label","error","required","asterisk"]),AT=e=>{const{classes:t,disabled:n,labelPlacement:r,error:s,required:a}=e,l={root:["root",n&&"disabled",`labelPlacement${me(r)}`,s&&"error",a&&"required"],label:["label",n&&"disabled"],asterisk:["asterisk",s&&"error"]};return Qe(l,yT,t)},PT=pe("label",{name:"MuiFormControlLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${ru.label}`]:t.label},t.root,t[`labelPlacement${me(n.labelPlacement)}`]]}})(Ue(({theme:e})=>({display:"inline-flex",alignItems:"center",cursor:"pointer",verticalAlign:"middle",WebkitTapHighlightColor:"transparent",marginLeft:-11,marginRight:16,[`&.${ru.disabled}`]:{cursor:"default"},[`& .${ru.label}`]:{[`&.${ru.disabled}`]:{color:(e.vars||e).palette.text.disabled}},variants:[{props:{labelPlacement:"start"},style:{flexDirection:"row-reverse",marginRight:-11}},{props:{labelPlacement:"top"},style:{flexDirection:"column-reverse"}},{props:{labelPlacement:"bottom"},style:{flexDirection:"column"}},{props:({labelPlacement:t})=>t==="start"||t==="top"||t==="bottom",style:{marginLeft:16}}]}))),bT=pe("span",{name:"MuiFormControlLabel",slot:"Asterisk",overridesResolver:(e,t)=>t.asterisk})(Ue(({theme:e})=>({[`&.${ru.error}`]:{color:(e.vars||e).palette.error.main}}))),zs=P.forwardRef(function(t,n){const r=$e({props:t,name:"MuiFormControlLabel"}),{checked:s,className:a,componentsProps:l={},control:u,disabled:f,disableTypography:p,inputRef:h,label:m,labelPlacement:A="end",name:H,onChange:y,required:w,slots:x={},slotProps:S={},value:C,...z}=r,O=No(),D=f??u.props.disabled??(O==null?void 0:O.disabled),k=w??u.props.required,R={disabled:D,required:k};["checked","name","onChange","value","inputRef"].forEach(W=>{typeof u.props[W]>"u"&&typeof r[W]<"u"&&(R[W]=r[W])});const M=Hi({props:r,muiFormControl:O,states:["error"]}),L={...r,disabled:D,labelPlacement:A,required:k,error:M.error},j=AT(L),B={slots:x,slotProps:{...l,...S}},[I,J]=Cn("typography",{elementType:xt,externalForwardedProps:B,ownerState:L});let K=m;return K!=null&&K.type!==xt&&!p&&(K=v.jsx(I,{component:"span",...J,className:Oe(j.label,J==null?void 0:J.className),children:K})),v.jsxs(PT,{className:Oe(j.root,a),ownerState:L,ref:n,...z,children:[P.cloneElement(u,R),k?v.jsxs("div",{children:[K,v.jsxs(bT,{ownerState:L,"aria-hidden":!0,className:j.asterisk,children:[" ","*"]})]}):K]})});function xT(e){return Ze("MuiFormGroup",e)}Ge("MuiFormGroup",["root","row","error"]);const wT=e=>{const{classes:t,row:n,error:r}=e;return Qe({root:["root",n&&"row",r&&"error"]},xT,t)},HT=pe("div",{name:"MuiFormGroup",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.row&&t.row]}})({display:"flex",flexDirection:"column",flexWrap:"wrap",variants:[{props:{row:!0},style:{flexDirection:"row"}}]}),jT=P.forwardRef(function(t,n){const r=$e({props:t,name:"MuiFormGroup"}),{className:s,row:a=!1,...l}=r,u=No(),f=Hi({props:r,muiFormControl:u,states:["error"]}),p={...r,row:a,error:f.error},h=wT(p);return v.jsx(HT,{className:Oe(h.root,s),ownerState:p,ref:n,...l})});function ST(e){return Ze("MuiFormHelperText",e)}const Px=Ge("MuiFormHelperText",["root","error","disabled","sizeSmall","sizeMedium","contained","focused","filled","required"]);var bx;const zT=e=>{const{classes:t,contained:n,size:r,disabled:s,error:a,filled:l,focused:u,required:f}=e,p={root:["root",s&&"disabled",a&&"error",r&&`size${me(r)}`,n&&"contained",u&&"focused",l&&"filled",f&&"required"]};return Qe(p,ST,t)},OT=pe("p",{name:"MuiFormHelperText",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.size&&t[`size${me(n.size)}`],n.contained&&t.contained,n.filled&&t.filled]}})(Ue(({theme:e})=>({color:(e.vars||e).palette.text.secondary,...e.typography.caption,textAlign:"left",marginTop:3,marginRight:0,marginBottom:0,marginLeft:0,[`&.${Px.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${Px.error}`]:{color:(e.vars||e).palette.error.main},variants:[{props:{size:"small"},style:{marginTop:4}},{props:({ownerState:t})=>t.contained,style:{marginLeft:14,marginRight:14}}]}))),nl=P.forwardRef(function(t,n){const r=$e({props:t,name:"MuiFormHelperText"}),{children:s,className:a,component:l="p",disabled:u,error:f,filled:p,focused:h,margin:m,required:A,variant:H,...y}=r,w=No(),x=Hi({props:r,muiFormControl:w,states:["variant","size","disabled","error","filled","focused","required"]}),S={...r,component:l,contained:x.variant==="filled"||x.variant==="outlined",variant:x.variant,size:x.size,disabled:x.disabled,error:x.error,filled:x.filled,focused:x.focused,required:x.required};delete S.ownerState;const C=zT(S);return v.jsx(OT,{as:l,className:Oe(C.root,a),ref:n,...y,ownerState:S,children:s===" "?bx||(bx=v.jsx("span",{className:"notranslate","aria-hidden":!0,children:"​"})):s})});function CT(e){return Ze("MuiFormLabel",e)}const pu=Ge("MuiFormLabel",["root","colorSecondary","focused","disabled","error","filled","required","asterisk"]),DT=e=>{const{classes:t,color:n,focused:r,disabled:s,error:a,filled:l,required:u}=e,f={root:["root",`color${me(n)}`,s&&"disabled",a&&"error",l&&"filled",r&&"focused",u&&"required"],asterisk:["asterisk",a&&"error"]};return Qe(f,CT,t)},TT=pe("label",{name:"MuiFormLabel",slot:"Root",overridesResolver:({ownerState:e},t)=>({...t.root,...e.color==="secondary"&&t.colorSecondary,...e.filled&&t.filled})})(Ue(({theme:e})=>({color:(e.vars||e).palette.text.secondary,...e.typography.body1,lineHeight:"1.4375em",padding:0,position:"relative",variants:[...Object.entries(e.palette).filter(mn()).map(([t])=>({props:{color:t},style:{[`&.${pu.focused}`]:{color:(e.vars||e).palette[t].main}}})),{props:{},style:{[`&.${pu.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${pu.error}`]:{color:(e.vars||e).palette.error.main}}}]}))),kT=pe("span",{name:"MuiFormLabel",slot:"Asterisk",overridesResolver:(e,t)=>t.asterisk})(Ue(({theme:e})=>({[`&.${pu.error}`]:{color:(e.vars||e).palette.error.main}}))),Id=P.forwardRef(function(t,n){const r=$e({props:t,name:"MuiFormLabel"}),{children:s,className:a,color:l,component:u="label",disabled:f,error:p,filled:h,focused:m,required:A,...H}=r,y=No(),w=Hi({props:r,muiFormControl:y,states:["color","required","focused","disabled","error","filled"]}),x={...r,color:w.color||"primary",component:u,disabled:w.disabled,error:w.error,filled:w.filled,focused:w.focused,required:w.required},S=DT(x);return v.jsxs(TT,{as:u,ownerState:x,className:Oe(S.root,a),ref:n,...H,children:[s,w.required&&v.jsxs(kT,{ownerState:x,"aria-hidden":!0,className:S.asterisk,children:[" ","*"]})]})}),xx=P.createContext();function RT(e){return Ze("MuiGrid",e)}const ET=[0,1,2,3,4,5,6,7,8,9,10],MT=["column-reverse","column","row-reverse","row"],LT=["nowrap","wrap-reverse","wrap"],Ec=["auto",!0,1,2,3,4,5,6,7,8,9,10,11,12],zu=Ge("MuiGrid",["root","container","item","zeroMinWidth",...ET.map(e=>`spacing-xs-${e}`),...MT.map(e=>`direction-xs-${e}`),...LT.map(e=>`wrap-xs-${e}`),...Ec.map(e=>`grid-xs-${e}`),...Ec.map(e=>`grid-sm-${e}`),...Ec.map(e=>`grid-md-${e}`),...Ec.map(e=>`grid-lg-${e}`),...Ec.map(e=>`grid-xl-${e}`)]);function XT({theme:e,ownerState:t}){let n;return e.breakpoints.keys.reduce((r,s)=>{let a={};if(t[s]&&(n=t[s]),!n)return r;if(n===!0)a={flexBasis:0,flexGrow:1,maxWidth:"100%"};else if(n==="auto")a={flexBasis:"auto",flexGrow:0,flexShrink:0,maxWidth:"none",width:"auto"};else{const l=sa({values:t.columns,breakpoints:e.breakpoints.values}),u=typeof l=="object"?l[s]:l;if(u==null)return r;const f=`${Math.round(n/u*1e8)/1e6}%`;let p={};if(t.container&&t.item&&t.columnSpacing!==0){const h=e.spacing(t.columnSpacing);if(h!=="0px"){const m=`calc(${f} + ${h})`;p={flexBasis:m,maxWidth:m}}}a={flexBasis:f,flexGrow:0,maxWidth:f,...p}}return e.breakpoints.values[s]===0?Object.assign(r,a):r[e.breakpoints.up(s)]=a,r},{})}function NT({theme:e,ownerState:t}){const n=sa({values:t.direction,breakpoints:e.breakpoints.values});return Rr({theme:e},n,r=>{const s={flexDirection:r};return r.startsWith("column")&&(s[`& > .${zu.item}`]={maxWidth:"none"}),s})}function M1({breakpoints:e,values:t}){let n="";Object.keys(t).forEach(s=>{n===""&&t[s]!==0&&(n=s)});const r=Object.keys(e).sort((s,a)=>e[s]-e[a]);return r.slice(0,r.indexOf(n))}function BT({theme:e,ownerState:t}){const{container:n,rowSpacing:r}=t;let s={};if(n&&r!==0){const a=sa({values:r,breakpoints:e.breakpoints.values});let l;typeof a=="object"&&(l=M1({breakpoints:e.breakpoints.values,values:a})),s=Rr({theme:e},a,(u,f)=>{const p=e.spacing(u);return p!=="0px"?{marginTop:`-${p}`,[`& > .${zu.item}`]:{paddingTop:p}}:l!=null&&l.includes(f)?{}:{marginTop:0,[`& > .${zu.item}`]:{paddingTop:0}}})}return s}function VT({theme:e,ownerState:t}){const{container:n,columnSpacing:r}=t;let s={};if(n&&r!==0){const a=sa({values:r,breakpoints:e.breakpoints.values});let l;typeof a=="object"&&(l=M1({breakpoints:e.breakpoints.values,values:a})),s=Rr({theme:e},a,(u,f)=>{const p=e.spacing(u);if(p!=="0px"){const h=`-${p}`;return{width:`calc(100% + ${p})`,marginLeft:h,[`& > .${zu.item}`]:{paddingLeft:p}}}return l!=null&&l.includes(f)?{}:{width:"100%",marginLeft:0,[`& > .${zu.item}`]:{paddingLeft:0}}})}return s}function IT(e,t,n={}){if(!e||e<=0)return[];if(typeof e=="string"&&!Number.isNaN(Number(e))||typeof e=="number")return[n[`spacing-xs-${String(e)}`]];const r=[];return t.forEach(s=>{const a=e[s];Number(a)>0&&r.push(n[`spacing-${s}-${String(a)}`])}),r}const WT=pe("div",{name:"MuiGrid",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e,{container:r,direction:s,item:a,spacing:l,wrap:u,zeroMinWidth:f,breakpoints:p}=n;let h=[];r&&(h=IT(l,p,t));const m=[];return p.forEach(A=>{const H=n[A];H&&m.push(t[`grid-${A}-${String(H)}`])}),[t.root,r&&t.container,a&&t.item,f&&t.zeroMinWidth,...h,s!=="row"&&t[`direction-xs-${String(s)}`],u!=="wrap"&&t[`wrap-xs-${String(u)}`],...m]}})(({ownerState:e})=>({boxSizing:"border-box",...e.container&&{display:"flex",flexWrap:"wrap",width:"100%"},...e.item&&{margin:0},...e.zeroMinWidth&&{minWidth:0},...e.wrap!=="wrap"&&{flexWrap:e.wrap}}),NT,BT,VT,XT);function JT(e,t){if(!e||e<=0)return[];if(typeof e=="string"&&!Number.isNaN(Number(e))||typeof e=="number")return[`spacing-xs-${String(e)}`];const n=[];return t.forEach(r=>{const s=e[r];if(Number(s)>0){const a=`spacing-${r}-${String(s)}`;n.push(a)}}),n}const FT=e=>{const{classes:t,container:n,direction:r,item:s,spacing:a,wrap:l,zeroMinWidth:u,breakpoints:f}=e;let p=[];n&&(p=JT(a,f));const h=[];f.forEach(A=>{const H=e[A];H&&h.push(`grid-${A}-${String(H)}`)});const m={root:["root",n&&"container",s&&"item",u&&"zeroMinWidth",...p,r!=="row"&&`direction-xs-${String(r)}`,l!=="wrap"&&`wrap-xs-${String(l)}`,...h]};return Qe(m,RT,t)},os=P.forwardRef(function(t,n){const r=$e({props:t,name:"MuiGrid"}),{breakpoints:s}=Qr(),a=Jp(r),{className:l,columns:u,columnSpacing:f,component:p="div",container:h=!1,direction:m="row",item:A=!1,rowSpacing:H,spacing:y=0,wrap:w="wrap",zeroMinWidth:x=!1,...S}=a,C=H||y,z=f||y,O=P.useContext(xx),D=h?u||12:O,k={},R={...S};s.keys.forEach(j=>{S[j]!=null&&(k[j]=S[j],delete R[j])});const M={...a,columns:D,container:h,direction:m,item:A,rowSpacing:C,columnSpacing:z,wrap:w,zeroMinWidth:x,spacing:y,...k,breakpoints:s.keys},L=FT(M);return v.jsx(xx.Provider,{value:D,children:v.jsx(WT,{ownerState:M,className:Oe(L.root,l),as:p,ref:n,...R})})});function Pg(e){return`scale(${e}, ${e**2})`}const YT={entering:{opacity:1,transform:Pg(1)},entered:{opacity:1,transform:"none"}},km=typeof navigator<"u"&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),Ou=P.forwardRef(function(t,n){const{addEndListener:r,appear:s=!0,children:a,easing:l,in:u,onEnter:f,onEntered:p,onEntering:h,onExit:m,onExited:A,onExiting:H,style:y,timeout:w="auto",TransitionComponent:x=Xo,...S}=t,C=Gi(),z=P.useRef(),O=Qr(),D=P.useRef(null),k=rn(D,xi(a),n),R=W=>ne=>{if(W){const re=D.current;ne===void 0?W(re):W(re,ne)}},M=R(h),L=R((W,ne)=>{Hy(W);const{duration:re,delay:F,easing:_}=Cl({style:y,timeout:w,easing:l},{mode:"enter"});let E;w==="auto"?(E=O.transitions.getAutoHeightDuration(W.clientHeight),z.current=E):E=re,W.style.transition=[O.transitions.create("opacity",{duration:E,delay:F}),O.transitions.create("transform",{duration:km?E:E*.666,delay:F,easing:_})].join(","),f&&f(W,ne)}),j=R(p),B=R(H),I=R(W=>{const{duration:ne,delay:re,easing:F}=Cl({style:y,timeout:w,easing:l},{mode:"exit"});let _;w==="auto"?(_=O.transitions.getAutoHeightDuration(W.clientHeight),z.current=_):_=ne,W.style.transition=[O.transitions.create("opacity",{duration:_,delay:re}),O.transitions.create("transform",{duration:km?_:_*.666,delay:km?re:re||_*.333,easing:F})].join(","),W.style.opacity=0,W.style.transform=Pg(.75),m&&m(W)}),J=R(A),K=W=>{w==="auto"&&C.start(z.current||0,W),r&&r(D.current,W)};return v.jsx(x,{appear:s,in:u,nodeRef:D,onEnter:L,onEntered:j,onEntering:M,onExit:I,onExited:J,onExiting:B,addEndListener:K,timeout:w==="auto"?null:w,...S,children:(W,ne)=>P.cloneElement(a,{style:{opacity:0,transform:Pg(.75),visibility:W==="exited"&&!u?"hidden":void 0,...YT[W],...y,...a.props.style},ref:k,...ne})})});Ou&&(Ou.muiSupportAuto=!0);const qT=nj({themeId:Ro}),ZT=e=>{const{classes:t,disableUnderline:n}=e,s=Qe({root:["root",!n&&"underline"],input:["input"]},nC,t);return{...t,...s}},GT=pe(Kp,{shouldForwardProp:e=>Zn(e)||e==="classes",name:"MuiInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[...Up(e,t),!n.disableUnderline&&t.underline]}})(Ue(({theme:e})=>{let n=e.palette.mode==="light"?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)";return e.vars&&(n=`rgba(${e.vars.palette.common.onBackgroundChannel} / ${e.vars.opacity.inputUnderline})`),{position:"relative",variants:[{props:({ownerState:r})=>r.formControl,style:{"label + &":{marginTop:16}}},{props:({ownerState:r})=>!r.disableUnderline,style:{"&::after":{left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${ai.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${ai.error}`]:{"&::before, &::after":{borderBottomColor:(e.vars||e).palette.error.main}},"&::before":{borderBottom:`1px solid ${n}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${ai.disabled}, .${ai.error}):before`]:{borderBottom:`2px solid ${(e.vars||e).palette.text.primary}`,"@media (hover: none)":{borderBottom:`1px solid ${n}`}},[`&.${ai.disabled}:before`]:{borderBottomStyle:"dotted"}}},...Object.entries(e.palette).filter(mn()).map(([r])=>({props:{color:r,disableUnderline:!1},style:{"&::after":{borderBottom:`2px solid ${(e.vars||e).palette[r].main}`}}}))]}})),UT=pe(_p,{name:"MuiInput",slot:"Input",overridesResolver:Qp})({}),fp=P.forwardRef(function(t,n){const r=$e({props:t,name:"MuiInput"}),{disableUnderline:s=!1,components:a={},componentsProps:l,fullWidth:u=!1,inputComponent:f="input",multiline:p=!1,slotProps:h,slots:m={},type:A="text",...H}=r,y=ZT(r),x={root:{ownerState:{disableUnderline:s}}},S=h??l?qn(h??l,x):x,C=m.root??a.Root??GT,z=m.input??a.Input??UT;return v.jsx($p,{slots:{root:C,input:z},slotProps:S,fullWidth:u,inputComponent:f,multiline:p,ref:n,type:A,...H,classes:y})});fp&&(fp.muiName="Input");function QT(e){return Ze("MuiInputAdornment",e)}const wx=Ge("MuiInputAdornment",["root","filled","standard","outlined","positionStart","positionEnd","disablePointerEvents","hiddenLabel","sizeSmall"]);var Hx;const KT=(e,t)=>{const{ownerState:n}=e;return[t.root,t[`position${me(n.position)}`],n.disablePointerEvents===!0&&t.disablePointerEvents,t[n.variant]]},_T=e=>{const{classes:t,disablePointerEvents:n,hiddenLabel:r,position:s,size:a,variant:l}=e,u={root:["root",n&&"disablePointerEvents",s&&`position${me(s)}`,l,r&&"hiddenLabel",a&&`size${me(a)}`]};return Qe(u,QT,t)},$T=pe("div",{name:"MuiInputAdornment",slot:"Root",overridesResolver:KT})(Ue(({theme:e})=>({display:"flex",maxHeight:"2em",alignItems:"center",whiteSpace:"nowrap",color:(e.vars||e).palette.action.active,variants:[{props:{variant:"filled"},style:{[`&.${wx.positionStart}&:not(.${wx.hiddenLabel})`]:{marginTop:16}}},{props:{position:"start"},style:{marginRight:8}},{props:{position:"end"},style:{marginLeft:8}},{props:{disablePointerEvents:!0},style:{pointerEvents:"none"}}]}))),L1=P.forwardRef(function(t,n){const r=$e({props:t,name:"MuiInputAdornment"}),{children:s,className:a,component:l="div",disablePointerEvents:u=!1,disableTypography:f=!1,position:p,variant:h,...m}=r,A=No()||{};let H=h;h&&A.variant,A&&!H&&(H=A.variant);const y={...r,hiddenLabel:A.hiddenLabel,size:A.size,disablePointerEvents:u,position:p,variant:H},w=_T(y);return v.jsx(Gp.Provider,{value:null,children:v.jsx($T,{as:l,ownerState:y,className:Oe(w.root,a),ref:n,...m,children:typeof s=="string"&&!f?v.jsx(xt,{color:"textSecondary",children:s}):v.jsxs(P.Fragment,{children:[p==="start"?Hx||(Hx=v.jsx("span",{className:"notranslate","aria-hidden":!0,children:"​"})):null,s]})})})});function ek(e){return Ze("MuiInputLabel",e)}Ge("MuiInputLabel",["root","focused","disabled","error","required","asterisk","formControl","sizeSmall","shrink","animated","standard","filled","outlined"]);const tk=e=>{const{classes:t,formControl:n,size:r,shrink:s,disableAnimation:a,variant:l,required:u}=e,f={root:["root",n&&"formControl",!a&&"animated",s&&"shrink",r&&r!=="normal"&&`size${me(r)}`,l],asterisk:[u&&"asterisk"]},p=Qe(f,ek,t);return{...t,...p}},nk=pe(Id,{shouldForwardProp:e=>Zn(e)||e==="classes",name:"MuiInputLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${pu.asterisk}`]:t.asterisk},t.root,n.formControl&&t.formControl,n.size==="small"&&t.sizeSmall,n.shrink&&t.shrink,!n.disableAnimation&&t.animated,n.focused&&t.focused,t[n.variant]]}})(Ue(({theme:e})=>({display:"block",transformOrigin:"top left",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",maxWidth:"100%",variants:[{props:({ownerState:t})=>t.formControl,style:{position:"absolute",left:0,top:0,transform:"translate(0, 20px) scale(1)"}},{props:{size:"small"},style:{transform:"translate(0, 17px) scale(1)"}},{props:({ownerState:t})=>t.shrink,style:{transform:"translate(0, -1.5px) scale(0.75)",transformOrigin:"top left",maxWidth:"133%"}},{props:({ownerState:t})=>!t.disableAnimation,style:{transition:e.transitions.create(["color","transform","max-width"],{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut})}},{props:{variant:"filled"},style:{zIndex:1,pointerEvents:"none",transform:"translate(12px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"}},{props:{variant:"filled",size:"small"},style:{transform:"translate(12px, 13px) scale(1)"}},{props:({variant:t,ownerState:n})=>t==="filled"&&n.shrink,style:{userSelect:"none",pointerEvents:"auto",transform:"translate(12px, 7px) scale(0.75)",maxWidth:"calc(133% - 24px)"}},{props:({variant:t,ownerState:n,size:r})=>t==="filled"&&n.shrink&&r==="small",style:{transform:"translate(12px, 4px) scale(0.75)"}},{props:{variant:"outlined"},style:{zIndex:1,pointerEvents:"none",transform:"translate(14px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"}},{props:{variant:"outlined",size:"small"},style:{transform:"translate(14px, 9px) scale(1)"}},{props:({variant:t,ownerState:n})=>t==="outlined"&&n.shrink,style:{userSelect:"none",pointerEvents:"auto",maxWidth:"calc(133% - 32px)",transform:"translate(14px, -9px) scale(0.75)"}}]}))),Wd=P.forwardRef(function(t,n){const r=$e({name:"MuiInputLabel",props:t}),{disableAnimation:s=!1,margin:a,shrink:l,variant:u,className:f,...p}=r,h=No();let m=l;typeof m>"u"&&h&&(m=h.filled||h.focused||h.adornedStart);const A=Hi({props:r,muiFormControl:h,states:["size","variant","required","focused"]}),H={...r,disableAnimation:s,formControl:h,shrink:m,size:A.size,variant:A.variant,required:A.required,focused:A.focused},y=tk(H);return v.jsx(nk,{"data-shrink":m,ref:n,className:Oe(y.root,f),...p,ownerState:H,classes:y})});function rk(e){return Ze("MuiLink",e)}const ok=Ge("MuiLink",["root","underlineNone","underlineHover","underlineAlways","button","focusVisible"]),sk=({theme:e,ownerState:t})=>{const n=t.color,r=Sl(e,`palette.${n}`,!1)||t.color,s=Sl(e,`palette.${n}Channel`);return"vars"in e&&s?`rgba(${s} / 0.4)`:Pt(r,.4)},jx={primary:!0,secondary:!0,error:!0,info:!0,success:!0,warning:!0,textPrimary:!0,textSecondary:!0,textDisabled:!0},ik=e=>{const{classes:t,component:n,focusVisible:r,underline:s}=e,a={root:["root",`underline${me(s)}`,n==="button"&&"button",r&&"focusVisible"]};return Qe(a,rk,t)},ak=pe(xt,{name:"MuiLink",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`underline${me(n.underline)}`],n.component==="button"&&t.button]}})(Ue(({theme:e})=>({variants:[{props:{underline:"none"},style:{textDecoration:"none"}},{props:{underline:"hover"},style:{textDecoration:"none","&:hover":{textDecoration:"underline"}}},{props:{underline:"always"},style:{textDecoration:"underline","&:hover":{textDecorationColor:"inherit"}}},{props:({underline:t,ownerState:n})=>t==="always"&&n.color!=="inherit",style:{textDecorationColor:"var(--Link-underlineColor)"}},...Object.entries(e.palette).filter(mn()).map(([t])=>({props:{underline:"always",color:t},style:{"--Link-underlineColor":e.vars?`rgba(${e.vars.palette[t].mainChannel} / 0.4)`:Pt(e.palette[t].main,.4)}})),{props:{underline:"always",color:"textPrimary"},style:{"--Link-underlineColor":e.vars?`rgba(${e.vars.palette.text.primaryChannel} / 0.4)`:Pt(e.palette.text.primary,.4)}},{props:{underline:"always",color:"textSecondary"},style:{"--Link-underlineColor":e.vars?`rgba(${e.vars.palette.text.secondaryChannel} / 0.4)`:Pt(e.palette.text.secondary,.4)}},{props:{underline:"always",color:"textDisabled"},style:{"--Link-underlineColor":(e.vars||e).palette.text.disabled}},{props:{component:"button"},style:{position:"relative",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none","&::-moz-focus-inner":{borderStyle:"none"},[`&.${ok.focusVisible}`]:{outline:"auto"}}}]}))),ou=P.forwardRef(function(t,n){const r=$e({props:t,name:"MuiLink"}),s=Qr(),{className:a,color:l="primary",component:u="a",onBlur:f,onFocus:p,TypographyClasses:h,underline:m="always",variant:A="inherit",sx:H,...y}=r,[w,x]=P.useState(!1),S=D=>{Ol(D.target)||x(!1),f&&f(D)},C=D=>{Ol(D.target)&&x(!0),p&&p(D)},z={...r,color:l,component:u,focusVisible:w,underline:m,variant:A},O=ik(z);return v.jsx(ak,{color:l,className:Oe(O.root,a),classes:h,component:u,onBlur:S,onFocus:C,ref:n,ownerState:z,variant:A,...y,sx:[...jx[l]===void 0?[{color:l}]:[],...Array.isArray(H)?H:[H]],style:{...y.style,...m==="always"&&l!=="inherit"&&!jx[l]&&{"--Link-underlineColor":sk({theme:s,ownerState:z})}}})}),Eo=P.createContext({});function lk(e){return Ze("MuiList",e)}Ge("MuiList",["root","padding","dense","subheader"]);const ck=e=>{const{classes:t,disablePadding:n,dense:r,subheader:s}=e;return Qe({root:["root",!n&&"padding",r&&"dense",s&&"subheader"]},lk,t)},uk=pe("ul",{name:"MuiList",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disablePadding&&t.padding,n.dense&&t.dense,n.subheader&&t.subheader]}})({listStyle:"none",margin:0,padding:0,position:"relative",variants:[{props:({ownerState:e})=>!e.disablePadding,style:{paddingTop:8,paddingBottom:8}},{props:({ownerState:e})=>e.subheader,style:{paddingTop:0}}]}),bg=P.forwardRef(function(t,n){const r=$e({props:t,name:"MuiList"}),{children:s,className:a,component:l="ul",dense:u=!1,disablePadding:f=!1,subheader:p,...h}=r,m=P.useMemo(()=>({dense:u}),[u]),A={...r,component:l,dense:u,disablePadding:f},H=ck(A);return v.jsx(Eo.Provider,{value:m,children:v.jsxs(uk,{as:l,className:Oe(H.root,a),ref:n,ownerState:A,...h,children:[p,s]})})});function fk(e){return Ze("MuiListItem",e)}Ge("MuiListItem",["root","container","dense","alignItemsFlexStart","divider","gutters","padding","secondaryAction"]);function dk(e){return Ze("MuiListItemButton",e)}const rl=Ge("MuiListItemButton",["root","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","selected"]),pk=(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,n.alignItems==="flex-start"&&t.alignItemsFlexStart,n.divider&&t.divider,!n.disableGutters&&t.gutters]},vk=e=>{const{alignItems:t,classes:n,dense:r,disabled:s,disableGutters:a,divider:l,selected:u}=e,p=Qe({root:["root",r&&"dense",!a&&"gutters",l&&"divider",s&&"disabled",t==="flex-start"&&"alignItemsFlexStart",u&&"selected"]},dk,n);return{...n,...p}},hk=pe(fa,{shouldForwardProp:e=>Zn(e)||e==="classes",name:"MuiListItemButton",slot:"Root",overridesResolver:pk})(Ue(({theme:e})=>({display:"flex",flexGrow:1,justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minWidth:0,boxSizing:"border-box",textAlign:"left",paddingTop:8,paddingBottom:8,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${rl.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Pt(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${rl.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Pt(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${rl.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:Pt(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Pt(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${rl.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${rl.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},variants:[{props:({ownerState:t})=>t.divider,style:{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"}},{props:{alignItems:"flex-start"},style:{alignItems:"flex-start"}},{props:({ownerState:t})=>!t.disableGutters,style:{paddingLeft:16,paddingRight:16}},{props:({ownerState:t})=>t.dense,style:{paddingTop:4,paddingBottom:4}}]}))),X1=P.forwardRef(function(t,n){const r=$e({props:t,name:"MuiListItemButton"}),{alignItems:s="center",autoFocus:a=!1,component:l="div",children:u,dense:f=!1,disableGutters:p=!1,divider:h=!1,focusVisibleClassName:m,selected:A=!1,className:H,...y}=r,w=P.useContext(Eo),x=P.useMemo(()=>({dense:f||w.dense||!1,alignItems:s,disableGutters:p}),[s,w.dense,f,p]),S=P.useRef(null);fo(()=>{a&&S.current&&S.current.focus()},[a]);const C={...r,alignItems:s,dense:x.dense,disableGutters:p,divider:h,selected:A},z=vk(C),O=rn(S,n);return v.jsx(Eo.Provider,{value:x,children:v.jsx(hk,{ref:O,href:y.href||y.to,component:(y.href||y.to)&&l==="div"?"button":l,focusVisibleClassName:Oe(z.focusVisible,m),ownerState:C,className:Oe(z.root,H),...y,classes:z,children:u})})});function mk(e){return Ze("MuiListItemSecondaryAction",e)}Ge("MuiListItemSecondaryAction",["root","disableGutters"]);const gk=e=>{const{disableGutters:t,classes:n}=e;return Qe({root:["root",t&&"disableGutters"]},mk,n)},yk=pe("div",{name:"MuiListItemSecondaryAction",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.disableGutters&&t.disableGutters]}})({position:"absolute",right:16,top:"50%",transform:"translateY(-50%)",variants:[{props:({ownerState:e})=>e.disableGutters,style:{right:0}}]}),N1=P.forwardRef(function(t,n){const r=$e({props:t,name:"MuiListItemSecondaryAction"}),{className:s,...a}=r,l=P.useContext(Eo),u={...r,disableGutters:l.disableGutters},f=gk(u);return v.jsx(yk,{className:Oe(f.root,s),ownerState:u,ref:n,...a})});N1.muiName="ListItemSecondaryAction";const Ak=(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,n.alignItems==="flex-start"&&t.alignItemsFlexStart,n.divider&&t.divider,!n.disableGutters&&t.gutters,!n.disablePadding&&t.padding,n.hasSecondaryAction&&t.secondaryAction]},Pk=e=>{const{alignItems:t,classes:n,dense:r,disableGutters:s,disablePadding:a,divider:l,hasSecondaryAction:u}=e;return Qe({root:["root",r&&"dense",!s&&"gutters",!a&&"padding",l&&"divider",t==="flex-start"&&"alignItemsFlexStart",u&&"secondaryAction"],container:["container"]},fk,n)},bk=pe("div",{name:"MuiListItem",slot:"Root",overridesResolver:Ak})(Ue(({theme:e})=>({display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",width:"100%",boxSizing:"border-box",textAlign:"left",variants:[{props:({ownerState:t})=>!t.disablePadding,style:{paddingTop:8,paddingBottom:8}},{props:({ownerState:t})=>!t.disablePadding&&t.dense,style:{paddingTop:4,paddingBottom:4}},{props:({ownerState:t})=>!t.disablePadding&&!t.disableGutters,style:{paddingLeft:16,paddingRight:16}},{props:({ownerState:t})=>!t.disablePadding&&!!t.secondaryAction,style:{paddingRight:48}},{props:({ownerState:t})=>!!t.secondaryAction,style:{[`& > .${rl.root}`]:{paddingRight:48}}},{props:{alignItems:"flex-start"},style:{alignItems:"flex-start"}},{props:({ownerState:t})=>t.divider,style:{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"}},{props:({ownerState:t})=>t.button,style:{transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}}}},{props:({ownerState:t})=>t.hasSecondaryAction,style:{paddingRight:48}}]}))),xk=pe("li",{name:"MuiListItem",slot:"Container",overridesResolver:(e,t)=>t.container})({position:"relative"}),Mc=P.forwardRef(function(t,n){const r=$e({props:t,name:"MuiListItem"}),{alignItems:s="center",children:a,className:l,component:u,components:f={},componentsProps:p={},ContainerComponent:h="li",ContainerProps:{className:m,...A}={},dense:H=!1,disableGutters:y=!1,disablePadding:w=!1,divider:x=!1,secondaryAction:S,slotProps:C={},slots:z={},...O}=r,D=P.useContext(Eo),k=P.useMemo(()=>({dense:H||D.dense||!1,alignItems:s,disableGutters:y}),[s,D.dense,H,y]),R=P.useRef(null),M=P.Children.toArray(a),L=M.length&&Nd(M[M.length-1],["ListItemSecondaryAction"]),j={...r,alignItems:s,dense:k.dense,disableGutters:y,disablePadding:w,divider:x,hasSecondaryAction:L},B=Pk(j),I=rn(R,n),J=z.root||f.Root||bk,K=C.root||p.root||{},W={className:Oe(B.root,K.className,l),...O};let ne=u||"li";return L?(ne=!W.component&&!u?"div":ne,h==="li"&&(ne==="li"?ne="div":W.component==="li"&&(W.component="div")),v.jsx(Eo.Provider,{value:k,children:v.jsxs(xk,{as:h,className:Oe(B.container,m),ref:I,ownerState:j,...A,children:[v.jsx(J,{...K,...!El(J)&&{as:ne,ownerState:{...j,...K.ownerState}},...W,children:M}),M.pop()]})})):v.jsx(Eo.Provider,{value:k,children:v.jsxs(J,{...K,as:ne,ref:I,...!El(J)&&{ownerState:{...j,...K.ownerState}},...W,children:[M,S&&v.jsx(N1,{children:S})]})})});function wk(e){return Ze("MuiListItemIcon",e)}const Sx=Ge("MuiListItemIcon",["root","alignItemsFlexStart"]),Hk=e=>{const{alignItems:t,classes:n}=e;return Qe({root:["root",t==="flex-start"&&"alignItemsFlexStart"]},wk,n)},jk=pe("div",{name:"MuiListItemIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.alignItems==="flex-start"&&t.alignItemsFlexStart]}})(Ue(({theme:e})=>({minWidth:56,color:(e.vars||e).palette.action.active,flexShrink:0,display:"inline-flex",variants:[{props:{alignItems:"flex-start"},style:{marginTop:8}}]}))),Sk=P.forwardRef(function(t,n){const r=$e({props:t,name:"MuiListItemIcon"}),{className:s,...a}=r,l=P.useContext(Eo),u={...r,alignItems:l.alignItems},f=Hk(u);return v.jsx(jk,{className:Oe(f.root,s),ownerState:u,ref:n,...a})});function zk(e){return Ze("MuiListItemText",e)}const il=Ge("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]),Ok=e=>{const{classes:t,inset:n,primary:r,secondary:s,dense:a}=e;return Qe({root:["root",n&&"inset",a&&"dense",r&&s&&"multiline"],primary:["primary"],secondary:["secondary"]},zk,t)},Ck=pe("div",{name:"MuiListItemText",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${il.primary}`]:t.primary},{[`& .${il.secondary}`]:t.secondary},t.root,n.inset&&t.inset,n.primary&&n.secondary&&t.multiline,n.dense&&t.dense]}})({flex:"1 1 auto",minWidth:0,marginTop:4,marginBottom:4,[`.${Z8.root}:where(& .${il.primary})`]:{display:"block"},[`.${Z8.root}:where(& .${il.secondary})`]:{display:"block"},variants:[{props:({ownerState:e})=>e.primary&&e.secondary,style:{marginTop:6,marginBottom:6}},{props:({ownerState:e})=>e.inset,style:{paddingLeft:56}}]}),al=P.forwardRef(function(t,n){const r=$e({props:t,name:"MuiListItemText"}),{children:s,className:a,disableTypography:l=!1,inset:u=!1,primary:f,primaryTypographyProps:p,secondary:h,secondaryTypographyProps:m,...A}=r,{dense:H}=P.useContext(Eo);let y=f??s,w=h;const x={...r,disableTypography:l,inset:u,primary:!!y,secondary:!!w,dense:H},S=Ok(x);return y!=null&&y.type!==xt&&!l&&(y=v.jsx(xt,{variant:H?"body2":"body1",className:S.primary,component:p!=null&&p.variant?void 0:"span",...p,children:y})),w!=null&&w.type!==xt&&!l&&(w=v.jsx(xt,{variant:"body2",className:S.secondary,color:"textSecondary",...m,children:w})),v.jsxs(Ck,{className:Oe(S.root,a),ownerState:x,ref:n,...A,children:[y,w]})});function Rm(e,t,n){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:n?null:e.firstChild}function zx(e,t,n){return e===t?n?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:n?null:e.lastChild}function B1(e,t){if(t===void 0)return!0;let n=e.innerText;return n===void 0&&(n=e.textContent),n=n.trim().toLowerCase(),n.length===0?!1:t.repeating?n[0]===t.keys[0]:n.startsWith(t.keys.join(""))}function Lc(e,t,n,r,s,a){let l=!1,u=s(e,t,t?n:!1);for(;u;){if(u===e.firstChild){if(l)return!1;l=!0}const f=r?!1:u.disabled||u.getAttribute("aria-disabled")==="true";if(!u.hasAttribute("tabindex")||!B1(u,a)||f)u=s(e,u,n);else return u.focus(),!0}return!1}const Dk=P.forwardRef(function(t,n){const{actions:r,autoFocus:s=!1,autoFocusItem:a=!1,children:l,className:u,disabledItemsFocusable:f=!1,disableListWrap:p=!1,onKeyDown:h,variant:m="selectedMenu",...A}=t,H=P.useRef(null),y=P.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});fo(()=>{s&&H.current.focus()},[s]),P.useImperativeHandle(r,()=>({adjustStyleForScrollbar:(z,{direction:O})=>{const D=!H.current.style.width;if(z.clientHeight{const O=H.current,D=z.key;if(z.ctrlKey||z.metaKey||z.altKey){h&&h(z);return}const R=ir(O).activeElement;if(D==="ArrowDown")z.preventDefault(),Lc(O,R,p,f,Rm);else if(D==="ArrowUp")z.preventDefault(),Lc(O,R,p,f,zx);else if(D==="Home")z.preventDefault(),Lc(O,null,p,f,Rm);else if(D==="End")z.preventDefault(),Lc(O,null,p,f,zx);else if(D.length===1){const M=y.current,L=D.toLowerCase(),j=performance.now();M.keys.length>0&&(j-M.lastTime>500?(M.keys=[],M.repeating=!0,M.previousKeyMatched=!0):M.repeating&&L!==M.keys[0]&&(M.repeating=!1)),M.lastTime=j,M.keys.push(L);const B=R&&!M.repeating&&B1(R,M);M.previousKeyMatched&&(B||Lc(O,R,!1,f,Rm,M))?z.preventDefault():M.previousKeyMatched=!1}h&&h(z)},x=rn(H,n);let S=-1;P.Children.forEach(l,(z,O)=>{if(!P.isValidElement(z)){S===O&&(S+=1,S>=l.length&&(S=-1));return}z.props.disabled||(m==="selectedMenu"&&z.props.selected||S===-1)&&(S=O),S===O&&(z.props.disabled||z.props.muiSkipListHighlight||z.type.muiSkipListHighlight)&&(S+=1,S>=l.length&&(S=-1))});const C=P.Children.map(l,(z,O)=>{if(O===S){const D={};return a&&(D.autoFocus=!0),z.props.tabIndex===void 0&&m==="selectedMenu"&&(D.tabIndex=0),P.cloneElement(z,D)}return z});return v.jsx(bg,{role:"menu",ref:x,className:u,onKeyDown:w,tabIndex:s?0:-1,...A,children:C})});function Tk(e){return Ze("MuiPopover",e)}Ge("MuiPopover",["root","paper"]);function Ox(e,t){let n=0;return typeof t=="number"?n=t:t==="center"?n=e.height/2:t==="bottom"&&(n=e.height),n}function Cx(e,t){let n=0;return typeof t=="number"?n=t:t==="center"?n=e.width/2:t==="right"&&(n=e.width),n}function Dx(e){return[e.horizontal,e.vertical].map(t=>typeof t=="number"?`${t}px`:t).join(" ")}function Em(e){return typeof e=="function"?e():e}const kk=e=>{const{classes:t}=e;return Qe({root:["root"],paper:["paper"]},Tk,t)},Rk=pe(Ey,{name:"MuiPopover",slot:"Root",overridesResolver:(e,t)=>t.root})({}),V1=pe(Gr,{name:"MuiPopover",slot:"Paper",overridesResolver:(e,t)=>t.paper})({position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}),Ek=P.forwardRef(function(t,n){const r=$e({props:t,name:"MuiPopover"}),{action:s,anchorEl:a,anchorOrigin:l={vertical:"top",horizontal:"left"},anchorPosition:u,anchorReference:f="anchorEl",children:p,className:h,container:m,elevation:A=8,marginThreshold:H=16,open:y,PaperProps:w={},slots:x={},slotProps:S={},transformOrigin:C={vertical:"top",horizontal:"left"},TransitionComponent:z=Ou,transitionDuration:O="auto",TransitionProps:{onEntering:D,...k}={},disableScrollLock:R=!1,...M}=r,L=(S==null?void 0:S.paper)??w,j=P.useRef(),B={...r,anchorOrigin:l,anchorReference:f,elevation:A,marginThreshold:H,externalPaperSlotProps:L,transformOrigin:C,TransitionComponent:z,transitionDuration:O,TransitionProps:k},I=kk(B),J=P.useCallback(()=>{if(f==="anchorPosition")return u;const Xe=Em(a),He=(Xe&&Xe.nodeType===1?Xe:ir(j.current).body).getBoundingClientRect();return{top:He.top+Ox(He,l.vertical),left:He.left+Cx(He,l.horizontal)}},[a,l.horizontal,l.vertical,u,f]),K=P.useCallback(Xe=>({vertical:Ox(Xe,C.vertical),horizontal:Cx(Xe,C.horizontal)}),[C.horizontal,C.vertical]),W=P.useCallback(Xe=>{const Ie={width:Xe.offsetWidth,height:Xe.offsetHeight},He=K(Ie);if(f==="none")return{top:null,left:null,transformOrigin:Dx(He)};const Ke=J();let we=Ke.top-He.vertical,tt=Ke.left-He.horizontal;const Le=we+Ie.height,dt=tt+Ie.width,N=Mo(Em(a)),$=N.innerHeight-H,se=N.innerWidth-H;if(H!==null&&we$){const ye=Le-$;we-=ye,He.vertical+=ye}if(H!==null&&ttse){const ye=dt-se;tt-=ye,He.horizontal+=ye}return{top:`${Math.round(we)}px`,left:`${Math.round(tt)}px`,transformOrigin:Dx(He)}},[a,f,J,K,H]),[ne,re]=P.useState(y),F=P.useCallback(()=>{const Xe=j.current;if(!Xe)return;const Ie=W(Xe);Ie.top!==null&&Xe.style.setProperty("top",Ie.top),Ie.left!==null&&(Xe.style.left=Ie.left),Xe.style.transformOrigin=Ie.transformOrigin,re(!0)},[W]);P.useEffect(()=>(R&&window.addEventListener("scroll",F),()=>window.removeEventListener("scroll",F)),[a,R,F]);const _=(Xe,Ie)=>{D&&D(Xe,Ie),F()},E=()=>{re(!1)};P.useEffect(()=>{y&&F()}),P.useImperativeHandle(s,()=>y?{updatePosition:()=>{F()}}:null,[y,F]),P.useEffect(()=>{if(!y)return;const Xe=hy(()=>{F()}),Ie=Mo(a);return Ie.addEventListener("resize",Xe),()=>{Xe.clear(),Ie.removeEventListener("resize",Xe)}},[a,y,F]);let G=O;O==="auto"&&!z.muiSupportAuto&&(G=void 0);const X=m||(a?ir(Em(a)).body:void 0),ee={slots:x,slotProps:{...S,paper:L}},[te,ue]=Cn("paper",{elementType:V1,externalForwardedProps:ee,additionalProps:{elevation:A,className:Oe(I.paper,L==null?void 0:L.className),style:ne?L.style:{...L.style,opacity:0}},ownerState:B}),[de,{slotProps:xe,...ve}]=Cn("root",{elementType:Rk,externalForwardedProps:ee,additionalProps:{slotProps:{backdrop:{invisible:!0}},container:X,open:y},ownerState:B,className:Oe(I.root,h)}),be=rn(j,ue.ref);return v.jsx(de,{...ve,...!El(de)&&{slotProps:xe,disableScrollLock:R},...M,ref:n,children:v.jsx(z,{appear:!0,in:y,onEntering:_,onExited:E,timeout:G,...k,children:v.jsx(te,{...ue,ref:be,children:p})})})});function Mk(e){return Ze("MuiMenu",e)}Ge("MuiMenu",["root","paper","list"]);const Lk={vertical:"top",horizontal:"right"},Xk={vertical:"top",horizontal:"left"},Nk=e=>{const{classes:t}=e;return Qe({root:["root"],paper:["paper"],list:["list"]},Mk,t)},Bk=pe(Ek,{shouldForwardProp:e=>Zn(e)||e==="classes",name:"MuiMenu",slot:"Root",overridesResolver:(e,t)=>t.root})({}),Vk=pe(V1,{name:"MuiMenu",slot:"Paper",overridesResolver:(e,t)=>t.paper})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),Ik=pe(Dk,{name:"MuiMenu",slot:"List",overridesResolver:(e,t)=>t.list})({outline:0}),Cu=P.forwardRef(function(t,n){const r=$e({props:t,name:"MuiMenu"}),{autoFocus:s=!0,children:a,className:l,disableAutoFocusItem:u=!1,MenuListProps:f={},onClose:p,open:h,PaperProps:m={},PopoverClasses:A,transitionDuration:H="auto",TransitionProps:{onEntering:y,...w}={},variant:x="selectedMenu",slots:S={},slotProps:C={},...z}=r,O=Ju(),D={...r,autoFocus:s,disableAutoFocusItem:u,MenuListProps:f,onEntering:y,PaperProps:m,transitionDuration:H,TransitionProps:w,variant:x},k=Nk(D),R=s&&!u&&h,M=P.useRef(null),L=(ne,re)=>{M.current&&M.current.adjustStyleForScrollbar(ne,{direction:O?"rtl":"ltr"}),y&&y(ne,re)},j=ne=>{ne.key==="Tab"&&(ne.preventDefault(),p&&p(ne,"tabKeyDown"))};let B=-1;P.Children.map(a,(ne,re)=>{P.isValidElement(ne)&&(ne.props.disabled||(x==="selectedMenu"&&ne.props.selected||B===-1)&&(B=re))});const I=S.paper??Vk,J=C.paper??m,K=sp({elementType:S.root,externalSlotProps:C.root,ownerState:D,className:[k.root,l]}),W=sp({elementType:I,externalSlotProps:J,ownerState:D,className:k.paper});return v.jsx(Bk,{onClose:p,anchorOrigin:{vertical:"bottom",horizontal:O?"right":"left"},transformOrigin:O?Lk:Xk,slots:{paper:I,root:S.root},slotProps:{root:K,paper:W},open:h,ref:n,transitionDuration:H,TransitionProps:{onEntering:L,...w},ownerState:D,...z,classes:A,children:v.jsx(Ik,{onKeyDown:j,actions:M,autoFocus:s&&(B===-1||u),autoFocusItem:R,variant:x,...f,className:Oe(k.list,f.className),children:a})})});function Wk(e){return Ze("MuiMenuItem",e)}const Xc=Ge("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]),Jk=(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,n.divider&&t.divider,!n.disableGutters&&t.gutters]},Fk=e=>{const{disabled:t,dense:n,divider:r,disableGutters:s,selected:a,classes:l}=e,f=Qe({root:["root",n&&"dense",t&&"disabled",!s&&"gutters",r&&"divider",a&&"selected"]},Wk,l);return{...l,...f}},Yk=pe(fa,{shouldForwardProp:e=>Zn(e)||e==="classes",name:"MuiMenuItem",slot:"Root",overridesResolver:Jk})(Ue(({theme:e})=>({...e.typography.body1,display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",whiteSpace:"nowrap","&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${Xc.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Pt(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${Xc.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Pt(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${Xc.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:Pt(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Pt(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${Xc.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${Xc.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`& + .${yx.root}`]:{marginTop:e.spacing(1),marginBottom:e.spacing(1)},[`& + .${yx.inset}`]:{marginLeft:52},[`& .${il.root}`]:{marginTop:0,marginBottom:0},[`& .${il.inset}`]:{paddingLeft:36},[`& .${Sx.root}`]:{minWidth:36},variants:[{props:({ownerState:t})=>!t.disableGutters,style:{paddingLeft:16,paddingRight:16}},{props:({ownerState:t})=>t.divider,style:{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"}},{props:({ownerState:t})=>!t.dense,style:{[e.breakpoints.up("sm")]:{minHeight:"auto"}}},{props:({ownerState:t})=>t.dense,style:{minHeight:32,paddingTop:4,paddingBottom:4,...e.typography.body2,[`& .${Sx.root} svg`]:{fontSize:"1.25rem"}}}]}))),es=P.forwardRef(function(t,n){const r=$e({props:t,name:"MuiMenuItem"}),{autoFocus:s=!1,component:a="li",dense:l=!1,divider:u=!1,disableGutters:f=!1,focusVisibleClassName:p,role:h="menuitem",tabIndex:m,className:A,...H}=r,y=P.useContext(Eo),w=P.useMemo(()=>({dense:l||y.dense||!1,disableGutters:f}),[y.dense,l,f]),x=P.useRef(null);fo(()=>{s&&x.current&&x.current.focus()},[s]);const S={...r,dense:w.dense,divider:u,disableGutters:f},C=Fk(r),z=rn(x,n);let O;return r.disabled||(O=m!==void 0?m:-1),v.jsx(Eo.Provider,{value:w,children:v.jsx(Yk,{ref:z,role:h,tabIndex:O,component:a,focusVisibleClassName:Oe(C.focusVisible,p),className:Oe(C.root,A),...H,ownerState:S,classes:C})})});function qk(e){return Ze("MuiNativeSelect",e)}const My=Ge("MuiNativeSelect",["root","select","multiple","filled","outlined","standard","disabled","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]),Zk=e=>{const{classes:t,variant:n,disabled:r,multiple:s,open:a,error:l}=e,u={select:["select",n,r&&"disabled",s&&"multiple",l&&"error"],icon:["icon",`icon${me(n)}`,a&&"iconOpen",r&&"disabled"]};return Qe(u,qk,t)},I1=pe("select")(({theme:e})=>({MozAppearance:"none",WebkitAppearance:"none",userSelect:"none",borderRadius:0,cursor:"pointer","&:focus":{borderRadius:0},[`&.${My.disabled}`]:{cursor:"default"},"&[multiple]":{height:"auto"},"&:not([multiple]) option, &:not([multiple]) optgroup":{backgroundColor:(e.vars||e).palette.background.paper},variants:[{props:({ownerState:t})=>t.variant!=="filled"&&t.variant!=="outlined",style:{"&&&":{paddingRight:24,minWidth:16}}},{props:{variant:"filled"},style:{"&&&":{paddingRight:32}}},{props:{variant:"outlined"},style:{borderRadius:(e.vars||e).shape.borderRadius,"&:focus":{borderRadius:(e.vars||e).shape.borderRadius},"&&&":{paddingRight:32}}}]})),Gk=pe(I1,{name:"MuiNativeSelect",slot:"Select",shouldForwardProp:Zn,overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.select,t[n.variant],n.error&&t.error,{[`&.${My.multiple}`]:t.multiple}]}})({}),W1=pe("svg")(({theme:e})=>({position:"absolute",right:0,top:"calc(50% - .5em)",pointerEvents:"none",color:(e.vars||e).palette.action.active,[`&.${My.disabled}`]:{color:(e.vars||e).palette.action.disabled},variants:[{props:({ownerState:t})=>t.open,style:{transform:"rotate(180deg)"}},{props:{variant:"filled"},style:{right:7}},{props:{variant:"outlined"},style:{right:7}}]})),Uk=pe(W1,{name:"MuiNativeSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.icon,n.variant&&t[`icon${me(n.variant)}`],n.open&&t.iconOpen]}})({}),Qk=P.forwardRef(function(t,n){const{className:r,disabled:s,error:a,IconComponent:l,inputRef:u,variant:f="standard",...p}=t,h={...t,disabled:s,variant:f,error:a},m=Zk(h);return v.jsxs(P.Fragment,{children:[v.jsx(Gk,{ownerState:h,className:Oe(m.select,r),disabled:s,ref:u||n,...p}),t.multiple?null:v.jsx(Uk,{as:l,ownerState:h,className:m.icon})]})});var Tx;const Kk=pe("fieldset",{shouldForwardProp:Zn})({textAlign:"left",position:"absolute",bottom:0,right:0,top:-5,left:0,margin:0,padding:"0 8px",pointerEvents:"none",borderRadius:"inherit",borderStyle:"solid",borderWidth:1,overflow:"hidden",minWidth:"0%"}),_k=pe("legend",{shouldForwardProp:Zn})(Ue(({theme:e})=>({float:"unset",width:"auto",overflow:"hidden",variants:[{props:({ownerState:t})=>!t.withLabel,style:{padding:0,lineHeight:"11px",transition:e.transitions.create("width",{duration:150,easing:e.transitions.easing.easeOut})}},{props:({ownerState:t})=>t.withLabel,style:{display:"block",padding:0,height:11,fontSize:"0.75em",visibility:"hidden",maxWidth:.01,transition:e.transitions.create("max-width",{duration:50,easing:e.transitions.easing.easeOut}),whiteSpace:"nowrap","& > span":{paddingLeft:5,paddingRight:5,display:"inline-block",opacity:0,visibility:"visible"}}},{props:({ownerState:t})=>t.withLabel&&t.notched,style:{maxWidth:"100%",transition:e.transitions.create("max-width",{duration:100,easing:e.transitions.easing.easeOut,delay:50})}}]})));function $k(e){const{children:t,classes:n,className:r,label:s,notched:a,...l}=e,u=s!=null&&s!=="",f={...e,notched:a,withLabel:u};return v.jsx(Kk,{"aria-hidden":!0,className:r,ownerState:f,...l,children:v.jsx(_k,{ownerState:f,children:u?v.jsx("span",{children:s}):Tx||(Tx=v.jsx("span",{className:"notranslate","aria-hidden":!0,children:"​"}))})})}const eR=e=>{const{classes:t}=e,r=Qe({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},rC,t);return{...t,...r}},tR=pe(Kp,{shouldForwardProp:e=>Zn(e)||e==="classes",name:"MuiOutlinedInput",slot:"Root",overridesResolver:Up})(Ue(({theme:e})=>{const t=e.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{position:"relative",borderRadius:(e.vars||e).shape.borderRadius,[`&:hover .${ro.notchedOutline}`]:{borderColor:(e.vars||e).palette.text.primary},"@media (hover: none)":{[`&:hover .${ro.notchedOutline}`]:{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:t}},[`&.${ro.focused} .${ro.notchedOutline}`]:{borderWidth:2},variants:[...Object.entries(e.palette).filter(mn()).map(([n])=>({props:{color:n},style:{[`&.${ro.focused} .${ro.notchedOutline}`]:{borderColor:(e.vars||e).palette[n].main}}})),{props:{},style:{[`&.${ro.error} .${ro.notchedOutline}`]:{borderColor:(e.vars||e).palette.error.main},[`&.${ro.disabled} .${ro.notchedOutline}`]:{borderColor:(e.vars||e).palette.action.disabled}}},{props:({ownerState:n})=>n.startAdornment,style:{paddingLeft:14}},{props:({ownerState:n})=>n.endAdornment,style:{paddingRight:14}},{props:({ownerState:n})=>n.multiline,style:{padding:"16.5px 14px"}},{props:({ownerState:n,size:r})=>n.multiline&&r==="small",style:{padding:"8.5px 14px"}}]}})),nR=pe($k,{name:"MuiOutlinedInput",slot:"NotchedOutline",overridesResolver:(e,t)=>t.notchedOutline})(Ue(({theme:e})=>{const t=e.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:t}})),rR=pe(_p,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:Qp})(Ue(({theme:e})=>({padding:"16.5px 14px",...!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:e.palette.mode==="light"?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:e.palette.mode==="light"?null:"#fff",caretColor:e.palette.mode==="light"?null:"#fff",borderRadius:"inherit"}},...e.vars&&{"&:-webkit-autofill":{borderRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},variants:[{props:{size:"small"},style:{padding:"8.5px 14px"}},{props:({ownerState:t})=>t.multiline,style:{padding:0}},{props:({ownerState:t})=>t.startAdornment,style:{paddingLeft:0}},{props:({ownerState:t})=>t.endAdornment,style:{paddingRight:0}}]}))),dp=P.forwardRef(function(t,n){var r;const s=$e({props:t,name:"MuiOutlinedInput"}),{components:a={},fullWidth:l=!1,inputComponent:u="input",label:f,multiline:p=!1,notched:h,slots:m={},type:A="text",...H}=s,y=eR(s),w=No(),x=Hi({props:s,muiFormControl:w,states:["color","disabled","error","focused","hiddenLabel","size","required"]}),S={...s,color:x.color||"primary",disabled:x.disabled,error:x.error,focused:x.focused,formControl:w,fullWidth:l,hiddenLabel:x.hiddenLabel,multiline:p,size:x.size,type:A},C=m.root??a.Root??tR,z=m.input??a.Input??rR;return v.jsx($p,{slots:{root:C,input:z},renderSuffix:O=>v.jsx(nR,{ownerState:S,className:y.notchedOutline,label:f!=null&&f!==""&&x.required?r||(r=v.jsxs(P.Fragment,{children:[f," ","*"]})):f,notched:typeof h<"u"?h:!!(O.startAdornment||O.filled||O.focused)}),fullWidth:l,inputComponent:u,multiline:p,ref:n,type:A,...H,classes:{...y,notchedOutline:null}})});dp&&(dp.muiName="Input");const oR=At(v.jsx("path",{d:"M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"}),"FirstPage"),sR=At(v.jsx("path",{d:"M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"}),"LastPage"),iR=At(v.jsx("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"RadioButtonUnchecked"),aR=At(v.jsx("path",{d:"M8.465 8.465C9.37 7.56 10.62 7 12 7C14.76 7 17 9.24 17 12C17 13.38 16.44 14.63 15.535 15.535C14.63 16.44 13.38 17 12 17C9.24 17 7 14.76 7 12C7 10.62 7.56 9.37 8.465 8.465Z"}),"RadioButtonChecked"),lR=pe("span",{shouldForwardProp:Zn})({position:"relative",display:"flex"}),cR=pe(iR)({transform:"scale(1)"}),uR=pe(aR)(Ue(({theme:e})=>({left:0,position:"absolute",transform:"scale(0)",transition:e.transitions.create("transform",{easing:e.transitions.easing.easeIn,duration:e.transitions.duration.shortest}),variants:[{props:{checked:!0},style:{transform:"scale(1)",transition:e.transitions.create("transform",{easing:e.transitions.easing.easeOut,duration:e.transitions.duration.shortest})}}]})));function J1(e){const{checked:t=!1,classes:n={},fontSize:r}=e,s={...e,checked:t};return v.jsxs(lR,{className:n.root,ownerState:s,children:[v.jsx(cR,{fontSize:r,className:n.background,ownerState:s}),v.jsx(uR,{fontSize:r,className:n.dot,ownerState:s})]})}const F1=P.createContext(void 0);function fR(){return P.useContext(F1)}function dR(e){return Ze("MuiRadio",e)}const kx=Ge("MuiRadio",["root","checked","disabled","colorPrimary","colorSecondary","sizeSmall"]),pR=e=>{const{classes:t,color:n,size:r}=e,s={root:["root",`color${me(n)}`,r!=="medium"&&`size${me(r)}`]};return{...t,...Qe(s,dR,t)}},vR=pe(Ry,{shouldForwardProp:e=>Zn(e)||e==="classes",name:"MuiRadio",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.size!=="medium"&&t[`size${me(n.size)}`],t[`color${me(n.color)}`]]}})(Ue(({theme:e})=>({color:(e.vars||e).palette.text.secondary,[`&.${kx.disabled}`]:{color:(e.vars||e).palette.action.disabled},variants:[{props:{color:"default",disabled:!1,disableRipple:!1},style:{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:Pt(e.palette.action.active,e.palette.action.hoverOpacity)}}},...Object.entries(e.palette).filter(mn()).map(([t])=>({props:{color:t,disabled:!1,disableRipple:!1},style:{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette[t].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Pt(e.palette[t].main,e.palette.action.hoverOpacity)}}})),...Object.entries(e.palette).filter(mn()).map(([t])=>({props:{color:t,disabled:!1},style:{[`&.${kx.checked}`]:{color:(e.vars||e).palette[t].main}}})),{props:{disableRipple:!1},style:{"&:hover":{"@media (hover: none)":{backgroundColor:"transparent"}}}}]})));function hR(e,t){return typeof t=="object"&&t!==null?e===t:String(e)===String(t)}const Rx=v.jsx(J1,{checked:!0}),Ex=v.jsx(J1,{}),Du=P.forwardRef(function(t,n){const r=$e({props:t,name:"MuiRadio"}),{checked:s,checkedIcon:a=Rx,color:l="primary",icon:u=Ex,name:f,onChange:p,size:h="medium",className:m,disabled:A,disableRipple:H=!1,...y}=r,w=No();let x=A;w&&typeof x>"u"&&(x=w.disabled),x??(x=!1);const S={...r,disabled:x,disableRipple:H,color:l,size:h},C=pR(S),z=fR();let O=s;const D=ig(p,z&&z.onChange);let k=f;return z&&(typeof O>"u"&&(O=hR(z.value,r.value)),typeof k>"u"&&(k=z.name)),v.jsx(vR,{type:"radio",icon:P.cloneElement(u,{fontSize:Ex.props.fontSize??h}),checkedIcon:P.cloneElement(a,{fontSize:Rx.props.fontSize??h}),disabled:x,ownerState:S,classes:C,name:k,checked:O,onChange:D,ref:n,className:Oe(C.root,m),...y})});function mR(e){return Ze("MuiRadioGroup",e)}Ge("MuiRadioGroup",["root","row","error"]);const gR=e=>{const{classes:t,row:n,error:r}=e;return Qe({root:["root",n&&"row",r&&"error"]},mR,t)},pp=P.forwardRef(function(t,n){const{actions:r,children:s,className:a,defaultValue:l,name:u,onChange:f,value:p,...h}=t,m=P.useRef(null),A=gR(t),[H,y]=yi({controlled:p,default:l,name:"RadioGroup"});P.useImperativeHandle(r,()=>({focus:()=>{let C=m.current.querySelector("input:not(:disabled):checked");C||(C=m.current.querySelector("input:not(:disabled)")),C&&C.focus()}}),[]);const w=rn(n,m),x=ks(u),S=P.useMemo(()=>({name:x,onChange(C){y(C.target.value),f&&f(C,C.target.value)},value:H}),[x,f,y,H]);return v.jsx(F1.Provider,{value:S,children:v.jsx(jT,{role:"radiogroup",ref:w,className:Oe(A.root,a),...h,children:s})})});function yR(e){return Ze("MuiSelect",e)}const Nc=Ge("MuiSelect",["root","select","multiple","filled","outlined","standard","disabled","focused","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]);var Mx;const AR=pe(I1,{name:"MuiSelect",slot:"Select",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`&.${Nc.select}`]:t.select},{[`&.${Nc.select}`]:t[n.variant]},{[`&.${Nc.error}`]:t.error},{[`&.${Nc.multiple}`]:t.multiple}]}})({[`&.${Nc.select}`]:{height:"auto",minHeight:"1.4375em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}}),PR=pe(W1,{name:"MuiSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.icon,n.variant&&t[`icon${me(n.variant)}`],n.open&&t.iconOpen]}})({}),bR=pe("input",{shouldForwardProp:e=>l1(e)&&e!=="classes",name:"MuiSelect",slot:"NativeInput",overridesResolver:(e,t)=>t.nativeInput})({bottom:0,left:0,position:"absolute",opacity:0,pointerEvents:"none",width:"100%",boxSizing:"border-box"});function Lx(e,t){return typeof t=="object"&&t!==null?e===t:String(e)===String(t)}function xR(e){return e==null||typeof e=="string"&&!e.trim()}const wR=e=>{const{classes:t,variant:n,disabled:r,multiple:s,open:a,error:l}=e,u={select:["select",n,r&&"disabled",s&&"multiple",l&&"error"],icon:["icon",`icon${me(n)}`,a&&"iconOpen",r&&"disabled"],nativeInput:["nativeInput"]};return Qe(u,yR,t)},HR=P.forwardRef(function(t,n){var Jt;const{"aria-describedby":r,"aria-label":s,autoFocus:a,autoWidth:l,children:u,className:f,defaultOpen:p,defaultValue:h,disabled:m,displayEmpty:A,error:H=!1,IconComponent:y,inputRef:w,labelId:x,MenuProps:S={},multiple:C,name:z,onBlur:O,onChange:D,onClose:k,onFocus:R,onOpen:M,open:L,readOnly:j,renderValue:B,SelectDisplayProps:I={},tabIndex:J,type:K,value:W,variant:ne="standard",...re}=t,[F,_]=yi({controlled:W,default:h,name:"Select"}),[E,G]=yi({controlled:L,default:p,name:"Select"}),X=P.useRef(null),ee=P.useRef(null),[te,ue]=P.useState(null),{current:de}=P.useRef(L!=null),[xe,ve]=P.useState(),be=rn(n,w),Xe=P.useCallback(Be=>{ee.current=Be,Be&&ue(Be)},[]),Ie=te==null?void 0:te.parentNode;P.useImperativeHandle(be,()=>({focus:()=>{ee.current.focus()},node:X.current,value:F}),[F]),P.useEffect(()=>{p&&E&&te&&!de&&(ve(l?null:Ie.clientWidth),ee.current.focus())},[te,l]),P.useEffect(()=>{a&&ee.current.focus()},[a]),P.useEffect(()=>{if(!x)return;const Be=ir(ee.current).getElementById(x);if(Be){const U=()=>{getSelection().isCollapsed&&ee.current.focus()};return Be.addEventListener("click",U),()=>{Be.removeEventListener("click",U)}}},[x]);const He=(Be,U)=>{Be?M&&M(U):k&&k(U),de||(ve(l?null:Ie.clientWidth),G(Be))},Ke=Be=>{Be.button===0&&(Be.preventDefault(),ee.current.focus(),He(!0,Be))},we=Be=>{He(!1,Be)},tt=P.Children.toArray(u),Le=Be=>{const U=tt.find(Y=>Y.props.value===Be.target.value);U!==void 0&&(_(U.props.value),D&&D(Be,U))},dt=Be=>U=>{let Y;if(U.currentTarget.hasAttribute("tabindex")){if(C){Y=Array.isArray(F)?F.slice():[];const Pe=F.indexOf(Be.props.value);Pe===-1?Y.push(Be.props.value):Y.splice(Pe,1)}else Y=Be.props.value;if(Be.props.onClick&&Be.props.onClick(U),F!==Y&&(_(Y),D)){const Pe=U.nativeEvent||U,De=new Pe.constructor(Pe.type,Pe);Object.defineProperty(De,"target",{writable:!0,value:{value:Y,name:z}}),D(De,Be)}C||He(!1,U)}},N=Be=>{j||[" ","ArrowUp","ArrowDown","Enter"].includes(Be.key)&&(Be.preventDefault(),He(!0,Be))},$=te!==null&&E,se=Be=>{!$&&O&&(Object.defineProperty(Be,"target",{writable:!0,value:{value:F,name:z}}),O(Be))};delete re["aria-invalid"];let ye,ce;const Ae=[];let je=!1;(cp({value:F})||A)&&(B?ye=B(F):je=!0);const st=tt.map(Be=>{if(!P.isValidElement(Be))return null;let U;if(C){if(!Array.isArray(F))throw new Error(Ts(2));U=F.some(Y=>Lx(Y,Be.props.value)),U&&je&&Ae.push(Be.props.children)}else U=Lx(F,Be.props.value),U&&je&&(ce=Be.props.children);return P.cloneElement(Be,{"aria-selected":U?"true":"false",onClick:dt(Be),onKeyUp:Y=>{Y.key===" "&&Y.preventDefault(),Be.props.onKeyUp&&Be.props.onKeyUp(Y)},role:"option",selected:U,value:void 0,"data-value":Be.props.value})});je&&(C?Ae.length===0?ye=null:ye=Ae.reduce((Be,U,Y)=>(Be.push(U),Y{const{classes:t}=e;return t},Ly={name:"MuiSelect",overridesResolver:(e,t)=>t.root,shouldForwardProp:e=>Zn(e)&&e!=="variant",slot:"Root"},SR=pe(fp,Ly)(""),zR=pe(dp,Ly)(""),OR=pe(up,Ly)(""),Tu=P.forwardRef(function(t,n){const r=$e({name:"MuiSelect",props:t}),{autoWidth:s=!1,children:a,classes:l={},className:u,defaultOpen:f=!1,displayEmpty:p=!1,IconComponent:h=H1,id:m,input:A,inputProps:H,label:y,labelId:w,MenuProps:x,multiple:S=!1,native:C=!1,onClose:z,onOpen:O,open:D,renderValue:k,SelectDisplayProps:R,variant:M="outlined",...L}=r,j=C?Qk:HR,B=No(),I=Hi({props:r,muiFormControl:B,states:["variant","error"]}),J=I.variant||M,K={...r,variant:J,classes:l},W=jR(K),{root:ne,...re}=W,F=A||{standard:v.jsx(SR,{ownerState:K}),outlined:v.jsx(zR,{label:y,ownerState:K}),filled:v.jsx(OR,{ownerState:K})}[J],_=rn(n,xi(F));return v.jsx(P.Fragment,{children:P.cloneElement(F,{inputComponent:j,inputProps:{children:a,error:I.error,IconComponent:h,variant:J,type:void 0,multiple:S,...C?{id:m}:{autoWidth:s,defaultOpen:f,displayEmpty:p,labelId:w,MenuProps:x,onClose:z,onOpen:O,open:D,renderValue:k,SelectDisplayProps:{id:m,...R}},...H,classes:H?qn(re,H.classes):re,...A?A.props.inputProps:{}},...(S&&C||p)&&J==="outlined"?{notched:!0}:{},ref:_,className:Oe(F.props.className,u,W.root),...!A&&{variant:J},...L})})});Tu.muiName="Select";function CR(e={}){const{autoHideDuration:t=null,disableWindowBlurListener:n=!1,onClose:r,open:s,resumeHideDuration:a}=e,l=Gi();P.useEffect(()=>{if(!s)return;function S(C){C.defaultPrevented||C.key==="Escape"&&(r==null||r(C,"escapeKeyDown"))}return document.addEventListener("keydown",S),()=>{document.removeEventListener("keydown",S)}},[s,r]);const u=mr((S,C)=>{r==null||r(S,C)}),f=mr(S=>{!r||S==null||l.start(S,()=>{u(null,"timeout")})});P.useEffect(()=>(s&&f(t),l.clear),[s,t,f,l]);const p=S=>{r==null||r(S,"clickaway")},h=l.clear,m=P.useCallback(()=>{t!=null&&f(a??t*.5)},[t,a,f]),A=S=>C=>{const z=S.onBlur;z==null||z(C),m()},H=S=>C=>{const z=S.onFocus;z==null||z(C),h()},y=S=>C=>{const z=S.onMouseEnter;z==null||z(C),h()},w=S=>C=>{const z=S.onMouseLeave;z==null||z(C),m()};return P.useEffect(()=>{if(!n&&s)return window.addEventListener("focus",m),window.addEventListener("blur",h),()=>{window.removeEventListener("focus",m),window.removeEventListener("blur",h)}},[n,s,m,h]),{getRootProps:(S={})=>{const C={...op(e),...op(S)};return{role:"presentation",...S,...C,onBlur:A(C),onFocus:H(C),onMouseEnter:y(C),onMouseLeave:w(C)}},onClickAway:p}}function DR(e){return Ze("MuiSnackbarContent",e)}Ge("MuiSnackbarContent",["root","message","action"]);const TR=e=>{const{classes:t}=e;return Qe({root:["root"],action:["action"],message:["message"]},DR,t)},kR=pe(Gr,{name:"MuiSnackbarContent",slot:"Root",overridesResolver:(e,t)=>t.root})(Ue(({theme:e})=>{const t=e.palette.mode==="light"?.8:.98,n=Y0(e.palette.background.default,t);return{...e.typography.body2,color:e.vars?e.vars.palette.SnackbarContent.color:e.palette.getContrastText(n),backgroundColor:e.vars?e.vars.palette.SnackbarContent.bg:n,display:"flex",alignItems:"center",flexWrap:"wrap",padding:"6px 16px",borderRadius:(e.vars||e).shape.borderRadius,flexGrow:1,[e.breakpoints.up("sm")]:{flexGrow:"initial",minWidth:288}}})),RR=pe("div",{name:"MuiSnackbarContent",slot:"Message",overridesResolver:(e,t)=>t.message})({padding:"8px 0"}),ER=pe("div",{name:"MuiSnackbarContent",slot:"Action",overridesResolver:(e,t)=>t.action})({display:"flex",alignItems:"center",marginLeft:"auto",paddingLeft:16,marginRight:-8}),MR=P.forwardRef(function(t,n){const r=$e({props:t,name:"MuiSnackbarContent"}),{action:s,className:a,message:l,role:u="alert",...f}=r,p=r,h=TR(p);return v.jsxs(kR,{role:u,square:!0,elevation:6,className:Oe(h.root,a),ownerState:p,ref:n,...f,children:[v.jsx(RR,{className:h.message,ownerState:p,children:l}),s?v.jsx(ER,{className:h.action,ownerState:p,children:s}):null]})});function LR(e){return Ze("MuiSnackbar",e)}Ge("MuiSnackbar",["root","anchorOriginTopCenter","anchorOriginBottomCenter","anchorOriginTopRight","anchorOriginBottomRight","anchorOriginTopLeft","anchorOriginBottomLeft"]);const XR=e=>{const{classes:t,anchorOrigin:n}=e,r={root:["root",`anchorOrigin${me(n.vertical)}${me(n.horizontal)}`]};return Qe(r,LR,t)},Xx=pe("div",{name:"MuiSnackbar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`anchorOrigin${me(n.anchorOrigin.vertical)}${me(n.anchorOrigin.horizontal)}`]]}})(Ue(({theme:e})=>({zIndex:(e.vars||e).zIndex.snackbar,position:"fixed",display:"flex",left:8,right:8,justifyContent:"center",alignItems:"center",variants:[{props:({ownerState:t})=>t.anchorOrigin.vertical==="top",style:{top:8,[e.breakpoints.up("sm")]:{top:24}}},{props:({ownerState:t})=>t.anchorOrigin.vertical!=="top",style:{bottom:8,[e.breakpoints.up("sm")]:{bottom:24}}},{props:({ownerState:t})=>t.anchorOrigin.horizontal==="left",style:{justifyContent:"flex-start",[e.breakpoints.up("sm")]:{left:24,right:"auto"}}},{props:({ownerState:t})=>t.anchorOrigin.horizontal==="right",style:{justifyContent:"flex-end",[e.breakpoints.up("sm")]:{right:24,left:"auto"}}},{props:({ownerState:t})=>t.anchorOrigin.horizontal==="center",style:{[e.breakpoints.up("sm")]:{left:"50%",right:"auto",transform:"translateX(-50%)"}}}]}))),NR=P.forwardRef(function(t,n){const r=$e({props:t,name:"MuiSnackbar"}),s=Qr(),a={enter:s.transitions.duration.enteringScreen,exit:s.transitions.duration.leavingScreen},{action:l,anchorOrigin:{vertical:u,horizontal:f}={vertical:"bottom",horizontal:"left"},autoHideDuration:p=null,children:h,className:m,ClickAwayListenerProps:A,ContentProps:H,disableWindowBlurListener:y=!1,message:w,onBlur:x,onClose:S,onFocus:C,onMouseEnter:z,onMouseLeave:O,open:D,resumeHideDuration:k,TransitionComponent:R=Ou,transitionDuration:M=a,TransitionProps:{onEnter:L,onExited:j,...B}={},...I}=r,J={...r,anchorOrigin:{vertical:u,horizontal:f},autoHideDuration:p,disableWindowBlurListener:y,TransitionComponent:R,transitionDuration:M},K=XR(J),{getRootProps:W,onClickAway:ne}=CR({...J}),[re,F]=P.useState(!0),_=sp({elementType:Xx,getSlotProps:W,externalForwardedProps:I,ownerState:J,additionalProps:{ref:n},className:[K.root,m]}),E=X=>{F(!0),j&&j(X)},G=(X,ee)=>{F(!1),L&&L(X,ee)};return!D&&re?null:v.jsx(D1,{onClickAway:ne,...A,children:v.jsx(Xx,{..._,children:v.jsx(R,{appear:!0,in:D,timeout:M,direction:u==="top"?"down":"up",onEnter:G,onExited:E,...B,children:h||v.jsx(MR,{message:w,action:l,...H})})})})});function BR(e){return Ze("MuiTooltip",e)}const Hn=Ge("MuiTooltip",["popper","popperInteractive","popperArrow","popperClose","tooltip","tooltipArrow","touch","tooltipPlacementLeft","tooltipPlacementRight","tooltipPlacementTop","tooltipPlacementBottom","arrow"]);function VR(e){return Math.round(e*1e5)/1e5}const IR=e=>{const{classes:t,disableInteractive:n,arrow:r,touch:s,placement:a}=e,l={popper:["popper",!n&&"popperInteractive",r&&"popperArrow"],tooltip:["tooltip",r&&"tooltipArrow",s&&"touch",`tooltipPlacement${me(a.split("-")[0])}`],arrow:["arrow"]};return Qe(l,BR,t)},WR=pe(Zp,{name:"MuiTooltip",slot:"Popper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.popper,!n.disableInteractive&&t.popperInteractive,n.arrow&&t.popperArrow,!n.open&&t.popperClose]}})(Ue(({theme:e})=>({zIndex:(e.vars||e).zIndex.tooltip,pointerEvents:"none",variants:[{props:({ownerState:t})=>!t.disableInteractive,style:{pointerEvents:"auto"}},{props:({open:t})=>!t,style:{pointerEvents:"none"}},{props:({ownerState:t})=>t.arrow,style:{[`&[data-popper-placement*="bottom"] .${Hn.arrow}`]:{top:0,marginTop:"-0.71em","&::before":{transformOrigin:"0 100%"}},[`&[data-popper-placement*="top"] .${Hn.arrow}`]:{bottom:0,marginBottom:"-0.71em","&::before":{transformOrigin:"100% 0"}},[`&[data-popper-placement*="right"] .${Hn.arrow}`]:{height:"1em",width:"0.71em","&::before":{transformOrigin:"100% 100%"}},[`&[data-popper-placement*="left"] .${Hn.arrow}`]:{height:"1em",width:"0.71em","&::before":{transformOrigin:"0 0"}}}},{props:({ownerState:t})=>t.arrow&&!t.isRtl,style:{[`&[data-popper-placement*="right"] .${Hn.arrow}`]:{left:0,marginLeft:"-0.71em"}}},{props:({ownerState:t})=>t.arrow&&!!t.isRtl,style:{[`&[data-popper-placement*="right"] .${Hn.arrow}`]:{right:0,marginRight:"-0.71em"}}},{props:({ownerState:t})=>t.arrow&&!t.isRtl,style:{[`&[data-popper-placement*="left"] .${Hn.arrow}`]:{right:0,marginRight:"-0.71em"}}},{props:({ownerState:t})=>t.arrow&&!!t.isRtl,style:{[`&[data-popper-placement*="left"] .${Hn.arrow}`]:{left:0,marginLeft:"-0.71em"}}}]}))),JR=pe("div",{name:"MuiTooltip",slot:"Tooltip",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.tooltip,n.touch&&t.touch,n.arrow&&t.tooltipArrow,t[`tooltipPlacement${me(n.placement.split("-")[0])}`]]}})(Ue(({theme:e})=>({backgroundColor:e.vars?e.vars.palette.Tooltip.bg:Pt(e.palette.grey[700],.92),borderRadius:(e.vars||e).shape.borderRadius,color:(e.vars||e).palette.common.white,fontFamily:e.typography.fontFamily,padding:"4px 8px",fontSize:e.typography.pxToRem(11),maxWidth:300,margin:2,wordWrap:"break-word",fontWeight:e.typography.fontWeightMedium,[`.${Hn.popper}[data-popper-placement*="left"] &`]:{transformOrigin:"right center"},[`.${Hn.popper}[data-popper-placement*="right"] &`]:{transformOrigin:"left center"},[`.${Hn.popper}[data-popper-placement*="top"] &`]:{transformOrigin:"center bottom",marginBottom:"14px"},[`.${Hn.popper}[data-popper-placement*="bottom"] &`]:{transformOrigin:"center top",marginTop:"14px"},variants:[{props:({ownerState:t})=>t.arrow,style:{position:"relative",margin:0}},{props:({ownerState:t})=>t.touch,style:{padding:"8px 16px",fontSize:e.typography.pxToRem(14),lineHeight:`${VR(16/14)}em`,fontWeight:e.typography.fontWeightRegular}},{props:({ownerState:t})=>!t.isRtl,style:{[`.${Hn.popper}[data-popper-placement*="left"] &`]:{marginRight:"14px"},[`.${Hn.popper}[data-popper-placement*="right"] &`]:{marginLeft:"14px"}}},{props:({ownerState:t})=>!t.isRtl&&t.touch,style:{[`.${Hn.popper}[data-popper-placement*="left"] &`]:{marginRight:"24px"},[`.${Hn.popper}[data-popper-placement*="right"] &`]:{marginLeft:"24px"}}},{props:({ownerState:t})=>!!t.isRtl,style:{[`.${Hn.popper}[data-popper-placement*="left"] &`]:{marginLeft:"14px"},[`.${Hn.popper}[data-popper-placement*="right"] &`]:{marginRight:"14px"}}},{props:({ownerState:t})=>!!t.isRtl&&t.touch,style:{[`.${Hn.popper}[data-popper-placement*="left"] &`]:{marginLeft:"24px"},[`.${Hn.popper}[data-popper-placement*="right"] &`]:{marginRight:"24px"}}},{props:({ownerState:t})=>t.touch,style:{[`.${Hn.popper}[data-popper-placement*="top"] &`]:{marginBottom:"24px"}}},{props:({ownerState:t})=>t.touch,style:{[`.${Hn.popper}[data-popper-placement*="bottom"] &`]:{marginTop:"24px"}}}]}))),FR=pe("span",{name:"MuiTooltip",slot:"Arrow",overridesResolver:(e,t)=>t.arrow})(Ue(({theme:e})=>({overflow:"hidden",position:"absolute",width:"1em",height:"0.71em",boxSizing:"border-box",color:e.vars?e.vars.palette.Tooltip.bg:Pt(e.palette.grey[700],.9),"&::before":{content:'""',margin:"auto",display:"block",width:"100%",height:"100%",backgroundColor:"currentColor",transform:"rotate(45deg)"}})));let xd=!1;const Nx=new Yp;let Bc={x:0,y:0};function wd(e,t){return(n,...r)=>{t&&t(n,...r),e(n,...r)}}const Xy=P.forwardRef(function(t,n){const r=$e({props:t,name:"MuiTooltip"}),{arrow:s=!1,children:a,classes:l,components:u={},componentsProps:f={},describeChild:p=!1,disableFocusListener:h=!1,disableHoverListener:m=!1,disableInteractive:A=!1,disableTouchListener:H=!1,enterDelay:y=100,enterNextDelay:w=0,enterTouchDelay:x=700,followCursor:S=!1,id:C,leaveDelay:z=0,leaveTouchDelay:O=1500,onClose:D,onOpen:k,open:R,placement:M="bottom",PopperComponent:L,PopperProps:j={},slotProps:B={},slots:I={},title:J,TransitionComponent:K,TransitionProps:W,...ne}=r,re=P.isValidElement(a)?a:v.jsx("span",{children:a}),F=Qr(),_=Ju(),[E,G]=P.useState(),[X,ee]=P.useState(null),te=P.useRef(!1),ue=A||S,de=Gi(),xe=Gi(),ve=Gi(),be=Gi(),[Xe,Ie]=yi({controlled:R,default:!1,name:"Tooltip",state:"open"});let He=Xe;const Ke=ks(C),we=P.useRef(),tt=mr(()=>{we.current!==void 0&&(document.body.style.WebkitUserSelect=we.current,we.current=void 0),be.clear()});P.useEffect(()=>tt,[tt]);const Le=Fe=>{Nx.clear(),xd=!0,Ie(!0),k&&!He&&k(Fe)},dt=mr(Fe=>{Nx.start(800+z,()=>{xd=!1}),Ie(!1),D&&He&&D(Fe),de.start(F.transitions.duration.shortest,()=>{te.current=!1})}),N=Fe=>{te.current&&Fe.type!=="touchstart"||(E&&E.removeAttribute("title"),xe.clear(),ve.clear(),y||xd&&w?xe.start(xd?w:y,()=>{Le(Fe)}):Le(Fe))},$=Fe=>{xe.clear(),ve.start(z,()=>{dt(Fe)})},[,se]=P.useState(!1),ye=Fe=>{Ol(Fe.target)||(se(!1),$(Fe))},ce=Fe=>{E||G(Fe.currentTarget),Ol(Fe.target)&&(se(!0),N(Fe))},Ae=Fe=>{te.current=!0;const Rt=re.props;Rt.onTouchStart&&Rt.onTouchStart(Fe)},je=Fe=>{Ae(Fe),ve.clear(),de.clear(),tt(),we.current=document.body.style.WebkitUserSelect,document.body.style.WebkitUserSelect="none",be.start(x,()=>{document.body.style.WebkitUserSelect=we.current,N(Fe)})},st=Fe=>{re.props.onTouchEnd&&re.props.onTouchEnd(Fe),tt(),ve.start(O,()=>{dt(Fe)})};P.useEffect(()=>{if(!He)return;function Fe(Rt){Rt.key==="Escape"&&dt(Rt)}return document.addEventListener("keydown",Fe),()=>{document.removeEventListener("keydown",Fe)}},[dt,He]);const wt=rn(xi(re),G,n);!J&&J!==0&&(He=!1);const nt=P.useRef(),ft=Fe=>{const Rt=re.props;Rt.onMouseMove&&Rt.onMouseMove(Fe),Bc={x:Fe.clientX,y:Fe.clientY},nt.current&&nt.current.update()},ct={},Ht=typeof J=="string";p?(ct.title=!He&&Ht&&!m?J:null,ct["aria-describedby"]=He?Ke:null):(ct["aria-label"]=Ht?J:null,ct["aria-labelledby"]=He&&!Ht?Ke:null);const We={...ct,...ne,...re.props,className:Oe(ne.className,re.props.className),onTouchStart:Ae,ref:wt,...S?{onMouseMove:ft}:{}},Dt={};H||(We.onTouchStart=je,We.onTouchEnd=st),m||(We.onMouseOver=wd(N,We.onMouseOver),We.onMouseLeave=wd($,We.onMouseLeave),ue||(Dt.onMouseOver=N,Dt.onMouseLeave=$)),h||(We.onFocus=wd(ce,We.onFocus),We.onBlur=wd(ye,We.onBlur),ue||(Dt.onFocus=ce,Dt.onBlur=ye));const Jt={...r,isRtl:_,arrow:s,disableInteractive:ue,placement:M,PopperComponentProp:L,touch:te.current},Be=typeof B.popper=="function"?B.popper(Jt):B.popper,U=P.useMemo(()=>{var Rt,un;let Fe=[{name:"arrow",enabled:!!X,options:{element:X,padding:4}}];return(Rt=j.popperOptions)!=null&&Rt.modifiers&&(Fe=Fe.concat(j.popperOptions.modifiers)),(un=Be==null?void 0:Be.popperOptions)!=null&&un.modifiers&&(Fe=Fe.concat(Be.popperOptions.modifiers)),{...j.popperOptions,...Be==null?void 0:Be.popperOptions,modifiers:Fe}},[X,j.popperOptions,Be==null?void 0:Be.popperOptions]),Y=IR(Jt),Pe=typeof B.transition=="function"?B.transition(Jt):B.transition,De={slots:{popper:u.Popper,transition:u.Transition??K,tooltip:u.Tooltip,arrow:u.Arrow,...I},slotProps:{arrow:B.arrow??f.arrow,popper:{...j,...Be??f.popper},tooltip:B.tooltip??f.tooltip,transition:{...W,...Pe??f.transition}}},[Te,Ne]=Cn("popper",{elementType:WR,externalForwardedProps:De,ownerState:Jt,className:Oe(Y.popper,j==null?void 0:j.className)}),[Je,ke]=Cn("transition",{elementType:Ou,externalForwardedProps:De,ownerState:Jt}),[rt,vt]=Cn("tooltip",{elementType:JR,className:Y.tooltip,externalForwardedProps:De,ownerState:Jt}),[kt,Qt]=Cn("arrow",{elementType:FR,className:Y.arrow,externalForwardedProps:De,ownerState:Jt,ref:ee});return v.jsxs(P.Fragment,{children:[P.cloneElement(re,We),v.jsx(Te,{as:L??Zp,placement:M,anchorEl:S?{getBoundingClientRect:()=>({top:Bc.y,left:Bc.x,right:Bc.x,bottom:Bc.y,width:0,height:0})}:E,popperRef:nt,open:E?He:!1,id:Ke,transition:!0,...Dt,...Ne,popperOptions:U,children:({TransitionProps:Fe})=>v.jsx(Je,{timeout:F.transitions.duration.shorter,...Fe,...ke,children:v.jsxs(rt,{...vt,children:[J,s?v.jsx(kt,{...Qt}):null]})})})]})}),is=Bj({createStyledComponent:pe("div",{name:"MuiStack",slot:"Root",overridesResolver:(e,t)=>t.root}),useThemeProps:e=>$e({props:e,name:"MuiStack"})});function YR(e){return Ze("MuiSwitch",e)}const fr=Ge("MuiSwitch",["root","edgeStart","edgeEnd","switchBase","colorPrimary","colorSecondary","sizeSmall","sizeMedium","checked","disabled","input","thumb","track"]),qR=e=>{const{classes:t,edge:n,size:r,color:s,checked:a,disabled:l}=e,u={root:["root",n&&`edge${me(n)}`,`size${me(r)}`],switchBase:["switchBase",`color${me(s)}`,a&&"checked",l&&"disabled"],thumb:["thumb"],track:["track"],input:["input"]},f=Qe(u,YR,t);return{...t,...f}},ZR=pe("span",{name:"MuiSwitch",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.edge&&t[`edge${me(n.edge)}`],t[`size${me(n.size)}`]]}})({display:"inline-flex",width:34+12*2,height:14+12*2,overflow:"hidden",padding:12,boxSizing:"border-box",position:"relative",flexShrink:0,zIndex:0,verticalAlign:"middle","@media print":{colorAdjust:"exact"},variants:[{props:{edge:"start"},style:{marginLeft:-8}},{props:{edge:"end"},style:{marginRight:-8}},{props:{size:"small"},style:{width:40,height:24,padding:7,[`& .${fr.thumb}`]:{width:16,height:16},[`& .${fr.switchBase}`]:{padding:4,[`&.${fr.checked}`]:{transform:"translateX(16px)"}}}}]}),GR=pe(Ry,{name:"MuiSwitch",slot:"SwitchBase",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.switchBase,{[`& .${fr.input}`]:t.input},n.color!=="default"&&t[`color${me(n.color)}`]]}})(Ue(({theme:e})=>({position:"absolute",top:0,left:0,zIndex:1,color:e.vars?e.vars.palette.Switch.defaultColor:`${e.palette.mode==="light"?e.palette.common.white:e.palette.grey[300]}`,transition:e.transitions.create(["left","transform"],{duration:e.transitions.duration.shortest}),[`&.${fr.checked}`]:{transform:"translateX(20px)"},[`&.${fr.disabled}`]:{color:e.vars?e.vars.palette.Switch.defaultDisabledColor:`${e.palette.mode==="light"?e.palette.grey[100]:e.palette.grey[600]}`},[`&.${fr.checked} + .${fr.track}`]:{opacity:.5},[`&.${fr.disabled} + .${fr.track}`]:{opacity:e.vars?e.vars.opacity.switchTrackDisabled:`${e.palette.mode==="light"?.12:.2}`},[`& .${fr.input}`]:{left:"-100%",width:"300%"}})),Ue(({theme:e})=>({"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:Pt(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},variants:[...Object.entries(e.palette).filter(mn(["light"])).map(([t])=>({props:{color:t},style:{[`&.${fr.checked}`]:{color:(e.vars||e).palette[t].main,"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette[t].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Pt(e.palette[t].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${fr.disabled}`]:{color:e.vars?e.vars.palette.Switch[`${t}DisabledColor`]:`${e.palette.mode==="light"?ua(e.palette[t].main,.62):ca(e.palette[t].main,.55)}`}},[`&.${fr.checked} + .${fr.track}`]:{backgroundColor:(e.vars||e).palette[t].main}}}))]}))),UR=pe("span",{name:"MuiSwitch",slot:"Track",overridesResolver:(e,t)=>t.track})(Ue(({theme:e})=>({height:"100%",width:"100%",borderRadius:14/2,zIndex:-1,transition:e.transitions.create(["opacity","background-color"],{duration:e.transitions.duration.shortest}),backgroundColor:e.vars?e.vars.palette.common.onBackground:`${e.palette.mode==="light"?e.palette.common.black:e.palette.common.white}`,opacity:e.vars?e.vars.opacity.switchTrack:`${e.palette.mode==="light"?.38:.3}`}))),QR=pe("span",{name:"MuiSwitch",slot:"Thumb",overridesResolver:(e,t)=>t.thumb})(Ue(({theme:e})=>({boxShadow:(e.vars||e).shadows[1],backgroundColor:"currentColor",width:20,height:20,borderRadius:"50%"}))),Y1=P.forwardRef(function(t,n){const r=$e({props:t,name:"MuiSwitch"}),{className:s,color:a="primary",edge:l=!1,size:u="medium",sx:f,...p}=r,h={...r,color:a,edge:l,size:u},m=qR(h),A=v.jsx(QR,{className:m.thumb,ownerState:h});return v.jsxs(ZR,{className:Oe(m.root,s),sx:f,ownerState:h,children:[v.jsx(GR,{type:"checkbox",icon:A,checkedIcon:A,ref:n,ownerState:h,...p,classes:{...m,root:m.switchBase}}),v.jsx(UR,{className:m.track,ownerState:h})]})}),q1=P.createContext();function KR(e){return Ze("MuiTable",e)}Ge("MuiTable",["root","stickyHeader"]);const _R=e=>{const{classes:t,stickyHeader:n}=e;return Qe({root:["root",n&&"stickyHeader"]},KR,t)},$R=pe("table",{name:"MuiTable",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.stickyHeader&&t.stickyHeader]}})(Ue(({theme:e})=>({display:"table",width:"100%",borderCollapse:"collapse",borderSpacing:0,"& caption":{...e.typography.body2,padding:e.spacing(2),color:(e.vars||e).palette.text.secondary,textAlign:"left",captionSide:"bottom"},variants:[{props:({ownerState:t})=>t.stickyHeader,style:{borderCollapse:"separate"}}]}))),Bx="table",Z1=P.forwardRef(function(t,n){const r=$e({props:t,name:"MuiTable"}),{className:s,component:a=Bx,padding:l="normal",size:u="medium",stickyHeader:f=!1,...p}=r,h={...r,component:a,padding:l,size:u,stickyHeader:f},m=_R(h),A=P.useMemo(()=>({padding:l,size:u,stickyHeader:f}),[l,u,f]);return v.jsx(q1.Provider,{value:A,children:v.jsx($R,{as:a,role:a===Bx?null:"table",ref:n,className:Oe(m.root,s),ownerState:h,...p})})}),Gu=P.createContext();function eE(e){return Ze("MuiTableBody",e)}Ge("MuiTableBody",["root"]);const tE=e=>{const{classes:t}=e;return Qe({root:["root"]},eE,t)},nE=pe("tbody",{name:"MuiTableBody",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"table-row-group"}),rE={variant:"body"},Vx="tbody",G1=P.forwardRef(function(t,n){const r=$e({props:t,name:"MuiTableBody"}),{className:s,component:a=Vx,...l}=r,u={...r,component:a},f=tE(u);return v.jsx(Gu.Provider,{value:rE,children:v.jsx(nE,{className:Oe(f.root,s),as:a,ref:n,role:a===Vx?null:"rowgroup",ownerState:u,...l})})});function oE(e){return Ze("MuiTableCell",e)}const sE=Ge("MuiTableCell",["root","head","body","footer","sizeSmall","sizeMedium","paddingCheckbox","paddingNone","alignLeft","alignCenter","alignRight","alignJustify","stickyHeader"]),iE=e=>{const{classes:t,variant:n,align:r,padding:s,size:a,stickyHeader:l}=e,u={root:["root",n,l&&"stickyHeader",r!=="inherit"&&`align${me(r)}`,s!=="normal"&&`padding${me(s)}`,`size${me(a)}`]};return Qe(u,oE,t)},aE=pe("td",{name:"MuiTableCell",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`size${me(n.size)}`],n.padding!=="normal"&&t[`padding${me(n.padding)}`],n.align!=="inherit"&&t[`align${me(n.align)}`],n.stickyHeader&&t.stickyHeader]}})(Ue(({theme:e})=>({...e.typography.body2,display:"table-cell",verticalAlign:"inherit",borderBottom:e.vars?`1px solid ${e.vars.palette.TableCell.border}`:`1px solid + ${e.palette.mode==="light"?ua(Pt(e.palette.divider,1),.88):ca(Pt(e.palette.divider,1),.68)}`,textAlign:"left",padding:16,variants:[{props:{variant:"head"},style:{color:(e.vars||e).palette.text.primary,lineHeight:e.typography.pxToRem(24),fontWeight:e.typography.fontWeightMedium}},{props:{variant:"body"},style:{color:(e.vars||e).palette.text.primary}},{props:{variant:"footer"},style:{color:(e.vars||e).palette.text.secondary,lineHeight:e.typography.pxToRem(21),fontSize:e.typography.pxToRem(12)}},{props:{size:"small"},style:{padding:"6px 16px",[`&.${sE.paddingCheckbox}`]:{width:24,padding:"0 12px 0 16px","& > *":{padding:0}}}},{props:{padding:"checkbox"},style:{width:48,padding:"0 0 0 4px"}},{props:{padding:"none"},style:{padding:0}},{props:{align:"left"},style:{textAlign:"left"}},{props:{align:"center"},style:{textAlign:"center"}},{props:{align:"right"},style:{textAlign:"right",flexDirection:"row-reverse"}},{props:{align:"justify"},style:{textAlign:"justify"}},{props:({ownerState:t})=>t.stickyHeader,style:{position:"sticky",top:0,zIndex:2,backgroundColor:(e.vars||e).palette.background.default}}]}))),vr=P.forwardRef(function(t,n){const r=$e({props:t,name:"MuiTableCell"}),{align:s="inherit",className:a,component:l,padding:u,scope:f,size:p,sortDirection:h,variant:m,...A}=r,H=P.useContext(q1),y=P.useContext(Gu),w=y&&y.variant==="head";let x;l?x=l:x=w?"th":"td";let S=f;x==="td"?S=void 0:!S&&w&&(S="col");const C=m||y&&y.variant,z={...r,align:s,component:x,padding:u||(H&&H.padding?H.padding:"normal"),size:p||(H&&H.size?H.size:"medium"),sortDirection:h,stickyHeader:C==="head"&&H&&H.stickyHeader,variant:C},O=iE(z);let D=null;return h&&(D=h==="asc"?"ascending":"descending"),v.jsx(aE,{as:x,ref:n,className:Oe(O.root,a),"aria-sort":D,scope:S,ownerState:z,...A})});function lE(e){return Ze("MuiTableContainer",e)}Ge("MuiTableContainer",["root"]);const cE=e=>{const{classes:t}=e;return Qe({root:["root"]},lE,t)},uE=pe("div",{name:"MuiTableContainer",slot:"Root",overridesResolver:(e,t)=>t.root})({width:"100%",overflowX:"auto"}),U1=P.forwardRef(function(t,n){const r=$e({props:t,name:"MuiTableContainer"}),{className:s,component:a="div",...l}=r,u={...r,component:a},f=cE(u);return v.jsx(uE,{ref:n,as:a,className:Oe(f.root,s),ownerState:u,...l})});function fE(e){return Ze("MuiTableFooter",e)}Ge("MuiTableFooter",["root"]);const dE=e=>{const{classes:t}=e;return Qe({root:["root"]},fE,t)},pE=pe("tfoot",{name:"MuiTableFooter",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"table-footer-group"}),vE={variant:"footer"},Ix="tfoot",hE=P.forwardRef(function(t,n){const r=$e({props:t,name:"MuiTableFooter"}),{className:s,component:a=Ix,...l}=r,u={...r,component:a},f=dE(u);return v.jsx(Gu.Provider,{value:vE,children:v.jsx(pE,{as:a,className:Oe(f.root,s),ref:n,role:a===Ix?null:"rowgroup",ownerState:u,...l})})});function mE(e){return Ze("MuiTableHead",e)}Ge("MuiTableHead",["root"]);const gE=e=>{const{classes:t}=e;return Qe({root:["root"]},mE,t)},yE=pe("thead",{name:"MuiTableHead",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"table-header-group"}),AE={variant:"head"},Wx="thead",PE=P.forwardRef(function(t,n){const r=$e({props:t,name:"MuiTableHead"}),{className:s,component:a=Wx,...l}=r,u={...r,component:a},f=gE(u);return v.jsx(Gu.Provider,{value:AE,children:v.jsx(yE,{as:a,className:Oe(f.root,s),ref:n,role:a===Wx?null:"rowgroup",ownerState:u,...l})})});function bE(e){return Ze("MuiToolbar",e)}Ge("MuiToolbar",["root","gutters","regular","dense"]);const xE=e=>{const{classes:t,disableGutters:n,variant:r}=e;return Qe({root:["root",!n&&"gutters",r]},bE,t)},wE=pe("div",{name:"MuiToolbar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disableGutters&&t.gutters,t[n.variant]]}})(Ue(({theme:e})=>({position:"relative",display:"flex",alignItems:"center",variants:[{props:({ownerState:t})=>!t.disableGutters,style:{paddingLeft:e.spacing(2),paddingRight:e.spacing(2),[e.breakpoints.up("sm")]:{paddingLeft:e.spacing(3),paddingRight:e.spacing(3)}}},{props:{variant:"dense"},style:{minHeight:48}},{props:{variant:"regular"},style:e.mixins.toolbar}]}))),Q1=P.forwardRef(function(t,n){const r=$e({props:t,name:"MuiToolbar"}),{className:s,component:a="div",disableGutters:l=!1,variant:u="regular",...f}=r,p={...r,component:a,disableGutters:l,variant:u},h=xE(p);return v.jsx(wE,{as:a,className:Oe(h.root,s),ref:n,ownerState:p,...f})}),HE=At(v.jsx("path",{d:"M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"}),"KeyboardArrowLeft"),jE=At(v.jsx("path",{d:"M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"}),"KeyboardArrowRight"),SE=P.forwardRef(function(t,n){const{backIconButtonProps:r,count:s,disabled:a=!1,getItemAriaLabel:l,nextIconButtonProps:u,onPageChange:f,page:p,rowsPerPage:h,showFirstButton:m,showLastButton:A,slots:H={},slotProps:y={},...w}=t,x=Ju(),S=G=>{f(G,0)},C=G=>{f(G,p-1)},z=G=>{f(G,p+1)},O=G=>{f(G,Math.max(0,Math.ceil(s/h)-1))},D=H.firstButton??zr,k=H.lastButton??zr,R=H.nextButton??zr,M=H.previousButton??zr,L=H.firstButtonIcon??oR,j=H.lastButtonIcon??sR,B=H.nextButtonIcon??jE,I=H.previousButtonIcon??HE,J=x?k:D,K=x?R:M,W=x?M:R,ne=x?D:k,re=x?y.lastButton:y.firstButton,F=x?y.nextButton:y.previousButton,_=x?y.previousButton:y.nextButton,E=x?y.firstButton:y.lastButton;return v.jsxs("div",{ref:n,...w,children:[m&&v.jsx(J,{onClick:S,disabled:a||p===0,"aria-label":l("first",p),title:l("first",p),...re,children:x?v.jsx(j,{...y.lastButtonIcon}):v.jsx(L,{...y.firstButtonIcon})}),v.jsx(K,{onClick:C,disabled:a||p===0,color:"inherit","aria-label":l("previous",p),title:l("previous",p),...F??r,children:x?v.jsx(B,{...y.nextButtonIcon}):v.jsx(I,{...y.previousButtonIcon})}),v.jsx(W,{onClick:z,disabled:a||(s!==-1?p>=Math.ceil(s/h)-1:!1),color:"inherit","aria-label":l("next",p),title:l("next",p),..._??u,children:x?v.jsx(I,{...y.previousButtonIcon}):v.jsx(B,{...y.nextButtonIcon})}),A&&v.jsx(ne,{onClick:O,disabled:a||p>=Math.ceil(s/h)-1,"aria-label":l("last",p),title:l("last",p),...E,children:x?v.jsx(L,{...y.firstButtonIcon}):v.jsx(j,{...y.lastButtonIcon})})]})});function zE(e){return Ze("MuiTablePagination",e)}const vu=Ge("MuiTablePagination",["root","toolbar","spacer","selectLabel","selectRoot","select","selectIcon","input","menuItem","displayedRows","actions"]);var Jx;const OE=pe(vr,{name:"MuiTablePagination",slot:"Root",overridesResolver:(e,t)=>t.root})(Ue(({theme:e})=>({overflow:"auto",color:(e.vars||e).palette.text.primary,fontSize:e.typography.pxToRem(14),"&:last-child":{padding:0}}))),CE=pe(Q1,{name:"MuiTablePagination",slot:"Toolbar",overridesResolver:(e,t)=>({[`& .${vu.actions}`]:t.actions,...t.toolbar})})(Ue(({theme:e})=>({minHeight:52,paddingRight:2,[`${e.breakpoints.up("xs")} and (orientation: landscape)`]:{minHeight:52},[e.breakpoints.up("sm")]:{minHeight:52,paddingRight:2},[`& .${vu.actions}`]:{flexShrink:0,marginLeft:20}}))),DE=pe("div",{name:"MuiTablePagination",slot:"Spacer",overridesResolver:(e,t)=>t.spacer})({flex:"1 1 100%"}),TE=pe("p",{name:"MuiTablePagination",slot:"SelectLabel",overridesResolver:(e,t)=>t.selectLabel})(Ue(({theme:e})=>({...e.typography.body2,flexShrink:0}))),kE=pe(Tu,{name:"MuiTablePagination",slot:"Select",overridesResolver:(e,t)=>({[`& .${vu.selectIcon}`]:t.selectIcon,[`& .${vu.select}`]:t.select,...t.input,...t.selectRoot})})({color:"inherit",fontSize:"inherit",flexShrink:0,marginRight:32,marginLeft:8,[`& .${vu.select}`]:{paddingLeft:8,paddingRight:24,textAlign:"right",textAlignLast:"right"}}),RE=pe(es,{name:"MuiTablePagination",slot:"MenuItem",overridesResolver:(e,t)=>t.menuItem})({}),EE=pe("p",{name:"MuiTablePagination",slot:"DisplayedRows",overridesResolver:(e,t)=>t.displayedRows})(Ue(({theme:e})=>({...e.typography.body2,flexShrink:0})));function ME({from:e,to:t,count:n}){return`${e}–${t} of ${n!==-1?n:`more than ${t}`}`}function LE(e){return`Go to ${e} page`}const XE=e=>{const{classes:t}=e;return Qe({root:["root"],toolbar:["toolbar"],spacer:["spacer"],selectLabel:["selectLabel"],select:["select"],input:["input"],selectIcon:["selectIcon"],menuItem:["menuItem"],displayedRows:["displayedRows"],actions:["actions"]},zE,t)},NE=P.forwardRef(function(t,n){const r=$e({props:t,name:"MuiTablePagination"}),{ActionsComponent:s=SE,backIconButtonProps:a,className:l,colSpan:u,component:f=vr,count:p,disabled:h=!1,getItemAriaLabel:m=LE,labelDisplayedRows:A=ME,labelRowsPerPage:H="Rows per page:",nextIconButtonProps:y,onPageChange:w,onRowsPerPageChange:x,page:S,rowsPerPage:C,rowsPerPageOptions:z=[10,25,50,100],SelectProps:O={},showFirstButton:D=!1,showLastButton:k=!1,slotProps:R={},slots:M={},...L}=r,j=r,B=XE(j),I=(R==null?void 0:R.select)??O,J=I.native?"option":RE;let K;(f===vr||f==="td")&&(K=u||1e3);const W=ks(I.id),ne=ks(I.labelId),re=()=>p===-1?(S+1)*C:C===-1?p:Math.min(p,(S+1)*C);return v.jsx(OE,{colSpan:K,ref:n,as:f,ownerState:j,className:Oe(B.root,l),...L,children:v.jsxs(CE,{className:B.toolbar,children:[v.jsx(DE,{className:B.spacer}),z.length>1&&v.jsx(TE,{className:B.selectLabel,id:ne,children:H}),z.length>1&&v.jsx(kE,{variant:"standard",...!I.variant&&{input:Jx||(Jx=v.jsx($p,{}))},value:C,onChange:x,id:W,labelId:ne,...I,classes:{...I.classes,root:Oe(B.input,B.selectRoot,(I.classes||{}).root),select:Oe(B.select,(I.classes||{}).select),icon:Oe(B.selectIcon,(I.classes||{}).icon)},disabled:h,children:z.map(F=>P.createElement(J,{...!El(J)&&{ownerState:j},className:B.menuItem,key:F.label?F.label:F,value:F.value?F.value:F},F.label?F.label:F))}),v.jsx(EE,{className:B.displayedRows,children:A({from:p===0?0:S*C+1,to:re(),count:p===-1?-1:p,page:S})}),v.jsx(s,{className:B.actions,backIconButtonProps:a,count:p,nextIconButtonProps:y,onPageChange:w,page:S,rowsPerPage:C,showFirstButton:D,showLastButton:k,slotProps:R.actions,slots:M.actions,getItemAriaLabel:m,disabled:h})]})})});function BE(e){return Ze("MuiTableRow",e)}const Fx=Ge("MuiTableRow",["root","selected","hover","head","footer"]),VE=e=>{const{classes:t,selected:n,hover:r,head:s,footer:a}=e;return Qe({root:["root",n&&"selected",r&&"hover",s&&"head",a&&"footer"]},BE,t)},IE=pe("tr",{name:"MuiTableRow",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.head&&t.head,n.footer&&t.footer]}})(Ue(({theme:e})=>({color:"inherit",display:"table-row",verticalAlign:"middle",outline:0,[`&.${Fx.hover}:hover`]:{backgroundColor:(e.vars||e).palette.action.hover},[`&.${Fx.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Pt(e.palette.primary.main,e.palette.action.selectedOpacity),"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:Pt(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity)}}}))),Yx="tr",vp=P.forwardRef(function(t,n){const r=$e({props:t,name:"MuiTableRow"}),{className:s,component:a=Yx,hover:l=!1,selected:u=!1,...f}=r,p=P.useContext(Gu),h={...r,component:a,hover:l,selected:u,head:p&&p.variant==="head",footer:p&&p.variant==="footer"},m=VE(h);return v.jsx(IE,{as:a,ref:n,className:Oe(m.root,s),role:a===Yx?null:"row",ownerState:h,...f})});function WE(e){return Ze("MuiTextField",e)}Ge("MuiTextField",["root"]);const JE={standard:fp,filled:up,outlined:dp},FE=e=>{const{classes:t}=e;return Qe({root:["root"]},WE,t)},YE=pe(ur,{name:"MuiTextField",slot:"Root",overridesResolver:(e,t)=>t.root})({}),ao=P.forwardRef(function(t,n){const r=$e({props:t,name:"MuiTextField"}),{autoComplete:s,autoFocus:a=!1,children:l,className:u,color:f="primary",defaultValue:p,disabled:h=!1,error:m=!1,FormHelperTextProps:A,fullWidth:H=!1,helperText:y,id:w,InputLabelProps:x,inputProps:S,InputProps:C,inputRef:z,label:O,maxRows:D,minRows:k,multiline:R=!1,name:M,onBlur:L,onChange:j,onFocus:B,placeholder:I,required:J=!1,rows:K,select:W=!1,SelectProps:ne,slots:re={},slotProps:F={},type:_,value:E,variant:G="outlined",...X}=r,ee={...r,autoFocus:a,color:f,disabled:h,error:m,fullWidth:H,multiline:R,required:J,select:W,variant:G},te=FE(ee),ue=ks(w),de=y&&ue?`${ue}-helper-text`:void 0,xe=O&&ue?`${ue}-label`:void 0,ve=JE[G],be={slots:re,slotProps:{input:C,inputLabel:x,htmlInput:S,formHelperText:A,select:ne,...F}},Xe={},Ie=be.slotProps.inputLabel;G==="outlined"&&(Ie&&typeof Ie.shrink<"u"&&(Xe.notched=Ie.shrink),Xe.label=O),W&&((!ne||!ne.native)&&(Xe.id=void 0),Xe["aria-describedby"]=void 0);const[He,Ke]=Cn("input",{elementType:ve,externalForwardedProps:be,additionalProps:Xe,ownerState:ee}),[we,tt]=Cn("inputLabel",{elementType:Wd,externalForwardedProps:be,ownerState:ee}),[Le,dt]=Cn("htmlInput",{elementType:"input",externalForwardedProps:be,ownerState:ee}),[N,$]=Cn("formHelperText",{elementType:nl,externalForwardedProps:be,ownerState:ee}),[se,ye]=Cn("select",{elementType:Tu,externalForwardedProps:be,ownerState:ee}),ce=v.jsx(He,{"aria-describedby":de,autoComplete:s,autoFocus:a,defaultValue:p,fullWidth:H,multiline:R,name:M,rows:K,maxRows:D,minRows:k,type:_,value:E,id:ue,inputRef:z,onBlur:L,onChange:j,onFocus:B,placeholder:I,inputProps:dt,slots:{input:re.htmlInput?Le:void 0},...Ke});return v.jsxs(YE,{className:Oe(te.root,u),disabled:h,error:m,fullWidth:H,ref:n,required:J,color:f,variant:G,ownerState:ee,...X,children:[O!=null&&O!==""&&v.jsx(we,{htmlFor:ue,id:xe,...tt,children:O}),W?v.jsx(se,{"aria-describedby":de,id:ue,labelId:xe,value:E,input:ce,...ye,children:l}):ce,y&&v.jsx(N,{id:de,...$,children:y})]})}),Dn="/hub",tv="/services/japps",Ny=["Environments"],qE=["Any","Owned by me","Shared with me"],ZE=["Recently modified","Name: A-Z","Name: Z-A"],GE=["Running","Ready","Pending","Unknown"],By="startAppId";var Wl=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},va=typeof window>"u"||"Deno"in globalThis;function so(){}function UE(e,t){return typeof e=="function"?e(t):e}function xg(e){return typeof e=="number"&&e>=0&&e!==1/0}function K1(e,t){return Math.max(e+(t||0)-Date.now(),0)}function ul(e,t){return typeof e=="function"?e(t):e}function To(e,t){return typeof e=="function"?e(t):e}function qx(e,t){const{type:n="all",exact:r,fetchStatus:s,predicate:a,queryKey:l,stale:u}=e;if(l){if(r){if(t.queryHash!==Vy(l,t.options))return!1}else if(!ku(t.queryKey,l))return!1}if(n!=="all"){const f=t.isActive();if(n==="active"&&!f||n==="inactive"&&f)return!1}return!(typeof u=="boolean"&&t.isStale()!==u||s&&s!==t.state.fetchStatus||a&&!a(t))}function Zx(e,t){const{exact:n,status:r,predicate:s,mutationKey:a}=e;if(a){if(!t.options.mutationKey)return!1;if(n){if(ha(t.options.mutationKey)!==ha(a))return!1}else if(!ku(t.options.mutationKey,a))return!1}return!(r&&t.state.status!==r||s&&!s(t))}function Vy(e,t){return((t==null?void 0:t.queryKeyHashFn)||ha)(e)}function ha(e){return JSON.stringify(e,(t,n)=>wg(n)?Object.keys(n).sort().reduce((r,s)=>(r[s]=n[s],r),{}):n)}function ku(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?!Object.keys(t).some(n=>!ku(e[n],t[n])):!1}function _1(e,t){if(e===t)return e;const n=Gx(e)&&Gx(t);if(n||wg(e)&&wg(t)){const r=n?e:Object.keys(e),s=r.length,a=n?t:Object.keys(t),l=a.length,u=n?[]:{};let f=0;for(let p=0;p{setTimeout(t,e)})}function Hg(e,t,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?_1(e,t):t}function KE(e,t,n=0){const r=[...e,t];return n&&r.length>n?r.slice(1):r}function _E(e,t,n=0){const r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var Iy=Symbol();function $1(e,t){return!e.queryFn&&(t!=null&&t.initialPromise)?()=>t.initialPromise:!e.queryFn||e.queryFn===Iy?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}var _i,ci,dl,i0,$E=(i0=class extends Wl{constructor(){super();gt(this,_i);gt(this,ci);gt(this,dl);qe(this,dl,t=>{if(!va&&window.addEventListener){const n=()=>t();return window.addEventListener("visibilitychange",n,!1),()=>{window.removeEventListener("visibilitychange",n)}}})}onSubscribe(){Z(this,ci)||this.setEventListener(Z(this,dl))}onUnsubscribe(){var t;this.hasListeners()||((t=Z(this,ci))==null||t.call(this),qe(this,ci,void 0))}setEventListener(t){var n;qe(this,dl,t),(n=Z(this,ci))==null||n.call(this),qe(this,ci,t(r=>{typeof r=="boolean"?this.setFocused(r):this.onFocus()}))}setFocused(t){Z(this,_i)!==t&&(qe(this,_i,t),this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(n=>{n(t)})}isFocused(){var t;return typeof Z(this,_i)=="boolean"?Z(this,_i):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},_i=new WeakMap,ci=new WeakMap,dl=new WeakMap,i0),Wy=new $E,pl,ui,vl,a0,e6=(a0=class extends Wl{constructor(){super();gt(this,pl,!0);gt(this,ui);gt(this,vl);qe(this,vl,t=>{if(!va&&window.addEventListener){const n=()=>t(!0),r=()=>t(!1);return window.addEventListener("online",n,!1),window.addEventListener("offline",r,!1),()=>{window.removeEventListener("online",n),window.removeEventListener("offline",r)}}})}onSubscribe(){Z(this,ui)||this.setEventListener(Z(this,vl))}onUnsubscribe(){var t;this.hasListeners()||((t=Z(this,ui))==null||t.call(this),qe(this,ui,void 0))}setEventListener(t){var n;qe(this,vl,t),(n=Z(this,ui))==null||n.call(this),qe(this,ui,t(this.setOnline.bind(this)))}setOnline(t){Z(this,pl)!==t&&(qe(this,pl,t),this.listeners.forEach(r=>{r(t)}))}isOnline(){return Z(this,pl)}},pl=new WeakMap,ui=new WeakMap,vl=new WeakMap,a0),mp=new e6;function jg(){let e,t;const n=new Promise((s,a)=>{e=s,t=a});n.status="pending",n.catch(()=>{});function r(s){Object.assign(n,s),delete n.resolve,delete n.reject}return n.resolve=s=>{r({status:"fulfilled",value:s}),e(s)},n.reject=s=>{r({status:"rejected",reason:s}),t(s)},n}function t6(e){return Math.min(1e3*2**e,3e4)}function e2(e){return(e??"online")==="online"?mp.isOnline():!0}var t2=class extends Error{constructor(e){super("CancelledError"),this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent}};function Mm(e){return e instanceof t2}function n2(e){let t=!1,n=0,r=!1,s;const a=jg(),l=w=>{var x;r||(A(new t2(w)),(x=e.abort)==null||x.call(e))},u=()=>{t=!0},f=()=>{t=!1},p=()=>Wy.isFocused()&&(e.networkMode==="always"||mp.isOnline())&&e.canRun(),h=()=>e2(e.networkMode)&&e.canRun(),m=w=>{var x;r||(r=!0,(x=e.onSuccess)==null||x.call(e,w),s==null||s(),a.resolve(w))},A=w=>{var x;r||(r=!0,(x=e.onError)==null||x.call(e,w),s==null||s(),a.reject(w))},H=()=>new Promise(w=>{var x;s=S=>{(r||p())&&w(S)},(x=e.onPause)==null||x.call(e)}).then(()=>{var w;s=void 0,r||(w=e.onContinue)==null||w.call(e)}),y=()=>{if(r)return;let w;const x=n===0?e.initialPromise:void 0;try{w=x??e.fn()}catch(S){w=Promise.reject(S)}Promise.resolve(w).then(m).catch(S=>{var k;if(r)return;const C=e.retry??(va?0:3),z=e.retryDelay??t6,O=typeof z=="function"?z(n,S):z,D=C===!0||typeof C=="number"&&np()?void 0:H()).then(()=>{t?A(S):y()})})};return{promise:a,cancel:l,continue:()=>(s==null||s(),a),cancelRetry:u,continueRetry:f,canStart:h,start:()=>(h()?y():H().then(y),a)}}function n6(){let e=[],t=0,n=u=>{u()},r=u=>{u()},s=u=>setTimeout(u,0);const a=u=>{t?e.push(u):s(()=>{n(u)})},l=()=>{const u=e;e=[],u.length&&s(()=>{r(()=>{u.forEach(f=>{n(f)})})})};return{batch:u=>{let f;t++;try{f=u()}finally{t--,t||l()}return f},batchCalls:u=>(...f)=>{a(()=>{u(...f)})},schedule:a,setNotifyFunction:u=>{n=u},setBatchNotifyFunction:u=>{r=u},setScheduler:u=>{s=u}}}var In=n6(),$i,l0,r2=(l0=class{constructor(){gt(this,$i)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),xg(this.gcTime)&&qe(this,$i,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(va?1/0:5*60*1e3))}clearGcTimeout(){Z(this,$i)&&(clearTimeout(Z(this,$i)),qe(this,$i,void 0))}},$i=new WeakMap,l0),hl,ml,oo,or,Mu,ea,Do,Hs,c0,r6=(c0=class extends r2{constructor(t){super();gt(this,Do);gt(this,hl);gt(this,ml);gt(this,oo);gt(this,or);gt(this,Mu);gt(this,ea);qe(this,ea,!1),qe(this,Mu,t.defaultOptions),this.setOptions(t.options),this.observers=[],qe(this,oo,t.cache),this.queryKey=t.queryKey,this.queryHash=t.queryHash,qe(this,hl,o6(this.options)),this.state=t.state??Z(this,hl),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var t;return(t=Z(this,or))==null?void 0:t.promise}setOptions(t){this.options={...Z(this,Mu),...t},this.updateGcTime(this.options.gcTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&Z(this,oo).remove(this)}setData(t,n){const r=Hg(this.state.data,t,this.options);return zt(this,Do,Hs).call(this,{data:r,type:"success",dataUpdatedAt:n==null?void 0:n.updatedAt,manual:n==null?void 0:n.manual}),r}setState(t,n){zt(this,Do,Hs).call(this,{type:"setState",state:t,setStateOptions:n})}cancel(t){var r,s;const n=(r=Z(this,or))==null?void 0:r.promise;return(s=Z(this,or))==null||s.cancel(t),n?n.then(so).catch(so):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(Z(this,hl))}isActive(){return this.observers.some(t=>To(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===Iy||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStale(){return this.state.isInvalidated?!0:this.getObserversCount()>0?this.observers.some(t=>t.getCurrentResult().isStale):this.state.data===void 0}isStaleByTime(t=0){return this.state.isInvalidated||this.state.data===void 0||!K1(this.state.dataUpdatedAt,t)}onFocus(){var n;const t=this.observers.find(r=>r.shouldFetchOnWindowFocus());t==null||t.refetch({cancelRefetch:!1}),(n=Z(this,or))==null||n.continue()}onOnline(){var n;const t=this.observers.find(r=>r.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(n=Z(this,or))==null||n.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),Z(this,oo).notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(n=>n!==t),this.observers.length||(Z(this,or)&&(Z(this,ea)?Z(this,or).cancel({revert:!0}):Z(this,or).cancelRetry()),this.scheduleGc()),Z(this,oo).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||zt(this,Do,Hs).call(this,{type:"invalidate"})}fetch(t,n){var f,p,h;if(this.state.fetchStatus!=="idle"){if(this.state.data!==void 0&&(n!=null&&n.cancelRefetch))this.cancel({silent:!0});else if(Z(this,or))return Z(this,or).continueRetry(),Z(this,or).promise}if(t&&this.setOptions(t),!this.options.queryFn){const m=this.observers.find(A=>A.options.queryFn);m&&this.setOptions(m.options)}const r=new AbortController,s=m=>{Object.defineProperty(m,"signal",{enumerable:!0,get:()=>(qe(this,ea,!0),r.signal)})},a=()=>{const m=$1(this.options,n),A={queryKey:this.queryKey,meta:this.meta};return s(A),qe(this,ea,!1),this.options.persister?this.options.persister(m,A,this):m(A)},l={fetchOptions:n,options:this.options,queryKey:this.queryKey,state:this.state,fetchFn:a};s(l),(f=this.options.behavior)==null||f.onFetch(l,this),qe(this,ml,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((p=l.fetchOptions)==null?void 0:p.meta))&&zt(this,Do,Hs).call(this,{type:"fetch",meta:(h=l.fetchOptions)==null?void 0:h.meta});const u=m=>{var A,H,y,w;Mm(m)&&m.silent||zt(this,Do,Hs).call(this,{type:"error",error:m}),Mm(m)||((H=(A=Z(this,oo).config).onError)==null||H.call(A,m,this),(w=(y=Z(this,oo).config).onSettled)==null||w.call(y,this.state.data,m,this)),this.scheduleGc()};return qe(this,or,n2({initialPromise:n==null?void 0:n.initialPromise,fn:l.fetchFn,abort:r.abort.bind(r),onSuccess:m=>{var A,H,y,w;if(m===void 0){u(new Error(`${this.queryHash} data is undefined`));return}try{this.setData(m)}catch(x){u(x);return}(H=(A=Z(this,oo).config).onSuccess)==null||H.call(A,m,this),(w=(y=Z(this,oo).config).onSettled)==null||w.call(y,m,this.state.error,this),this.scheduleGc()},onError:u,onFail:(m,A)=>{zt(this,Do,Hs).call(this,{type:"failed",failureCount:m,error:A})},onPause:()=>{zt(this,Do,Hs).call(this,{type:"pause"})},onContinue:()=>{zt(this,Do,Hs).call(this,{type:"continue"})},retry:l.options.retry,retryDelay:l.options.retryDelay,networkMode:l.options.networkMode,canRun:()=>!0})),Z(this,or).start()}},hl=new WeakMap,ml=new WeakMap,oo=new WeakMap,or=new WeakMap,Mu=new WeakMap,ea=new WeakMap,Do=new WeakSet,Hs=function(t){const n=r=>{switch(t.type){case"failed":return{...r,fetchFailureCount:t.failureCount,fetchFailureReason:t.error};case"pause":return{...r,fetchStatus:"paused"};case"continue":return{...r,fetchStatus:"fetching"};case"fetch":return{...r,...o2(r.data,this.options),fetchMeta:t.meta??null};case"success":return{...r,data:t.data,dataUpdateCount:r.dataUpdateCount+1,dataUpdatedAt:t.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const s=t.error;return Mm(s)&&s.revert&&Z(this,ml)?{...Z(this,ml),fetchStatus:"idle"}:{...r,error:s,errorUpdateCount:r.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:r.fetchFailureCount+1,fetchFailureReason:s,fetchStatus:"idle",status:"error"};case"invalidate":return{...r,isInvalidated:!0};case"setState":return{...r,...t.state}}};this.state=n(this.state),In.batch(()=>{this.observers.forEach(r=>{r.onQueryUpdate()}),Z(this,oo).notify({query:this,type:"updated",action:t})})},c0);function o2(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:e2(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function o6(e){const t=typeof e.initialData=="function"?e.initialData():e.initialData,n=t!==void 0,r=n?typeof e.initialDataUpdatedAt=="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?r??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"pending",fetchStatus:"idle"}}var qo,u0,s6=(u0=class extends Wl{constructor(t={}){super();gt(this,qo);this.config=t,qe(this,qo,new Map)}build(t,n,r){const s=n.queryKey,a=n.queryHash??Vy(s,n);let l=this.get(a);return l||(l=new r6({cache:this,queryKey:s,queryHash:a,options:t.defaultQueryOptions(n),state:r,defaultOptions:t.getQueryDefaults(s)}),this.add(l)),l}add(t){Z(this,qo).has(t.queryHash)||(Z(this,qo).set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const n=Z(this,qo).get(t.queryHash);n&&(t.destroy(),n===t&&Z(this,qo).delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){In.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return Z(this,qo).get(t)}getAll(){return[...Z(this,qo).values()]}find(t){const n={exact:!0,...t};return this.getAll().find(r=>qx(n,r))}findAll(t={}){const n=this.getAll();return Object.keys(t).length>0?n.filter(r=>qx(t,r)):n}notify(t){In.batch(()=>{this.listeners.forEach(n=>{n(t)})})}onFocus(){In.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){In.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},qo=new WeakMap,u0),Zo,dr,ta,Go,si,f0,i6=(f0=class extends r2{constructor(t){super();gt(this,Go);gt(this,Zo);gt(this,dr);gt(this,ta);this.mutationId=t.mutationId,qe(this,dr,t.mutationCache),qe(this,Zo,[]),this.state=t.state||s2(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){Z(this,Zo).includes(t)||(Z(this,Zo).push(t),this.clearGcTimeout(),Z(this,dr).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){qe(this,Zo,Z(this,Zo).filter(n=>n!==t)),this.scheduleGc(),Z(this,dr).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){Z(this,Zo).length||(this.state.status==="pending"?this.scheduleGc():Z(this,dr).remove(this))}continue(){var t;return((t=Z(this,ta))==null?void 0:t.continue())??this.execute(this.state.variables)}async execute(t){var s,a,l,u,f,p,h,m,A,H,y,w,x,S,C,z,O,D,k,R;qe(this,ta,n2({fn:()=>this.options.mutationFn?this.options.mutationFn(t):Promise.reject(new Error("No mutationFn found")),onFail:(M,L)=>{zt(this,Go,si).call(this,{type:"failed",failureCount:M,error:L})},onPause:()=>{zt(this,Go,si).call(this,{type:"pause"})},onContinue:()=>{zt(this,Go,si).call(this,{type:"continue"})},retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>Z(this,dr).canRun(this)}));const n=this.state.status==="pending",r=!Z(this,ta).canStart();try{if(!n){zt(this,Go,si).call(this,{type:"pending",variables:t,isPaused:r}),await((a=(s=Z(this,dr).config).onMutate)==null?void 0:a.call(s,t,this));const L=await((u=(l=this.options).onMutate)==null?void 0:u.call(l,t));L!==this.state.context&&zt(this,Go,si).call(this,{type:"pending",context:L,variables:t,isPaused:r})}const M=await Z(this,ta).start();return await((p=(f=Z(this,dr).config).onSuccess)==null?void 0:p.call(f,M,t,this.state.context,this)),await((m=(h=this.options).onSuccess)==null?void 0:m.call(h,M,t,this.state.context)),await((H=(A=Z(this,dr).config).onSettled)==null?void 0:H.call(A,M,null,this.state.variables,this.state.context,this)),await((w=(y=this.options).onSettled)==null?void 0:w.call(y,M,null,t,this.state.context)),zt(this,Go,si).call(this,{type:"success",data:M}),M}catch(M){try{throw await((S=(x=Z(this,dr).config).onError)==null?void 0:S.call(x,M,t,this.state.context,this)),await((z=(C=this.options).onError)==null?void 0:z.call(C,M,t,this.state.context)),await((D=(O=Z(this,dr).config).onSettled)==null?void 0:D.call(O,void 0,M,this.state.variables,this.state.context,this)),await((R=(k=this.options).onSettled)==null?void 0:R.call(k,void 0,M,t,this.state.context)),M}finally{zt(this,Go,si).call(this,{type:"error",error:M})}}finally{Z(this,dr).runNext(this)}}},Zo=new WeakMap,dr=new WeakMap,ta=new WeakMap,Go=new WeakSet,si=function(t){const n=r=>{switch(t.type){case"failed":return{...r,failureCount:t.failureCount,failureReason:t.error};case"pause":return{...r,isPaused:!0};case"continue":return{...r,isPaused:!1};case"pending":return{...r,context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:t.isPaused,status:"pending",variables:t.variables,submittedAt:Date.now()};case"success":return{...r,data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...r,data:void 0,error:t.error,failureCount:r.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"}}};this.state=n(this.state),In.batch(()=>{Z(this,Zo).forEach(r=>{r.onMutationUpdate(t)}),Z(this,dr).notify({mutation:this,type:"updated",action:t})})},f0);function s2(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var Wr,Lu,d0,a6=(d0=class extends Wl{constructor(t={}){super();gt(this,Wr);gt(this,Lu);this.config=t,qe(this,Wr,new Map),qe(this,Lu,Date.now())}build(t,n,r){const s=new i6({mutationCache:this,mutationId:++pd(this,Lu)._,options:t.defaultMutationOptions(n),state:r});return this.add(s),s}add(t){const n=Hd(t),r=Z(this,Wr).get(n)??[];r.push(t),Z(this,Wr).set(n,r),this.notify({type:"added",mutation:t})}remove(t){var r;const n=Hd(t);if(Z(this,Wr).has(n)){const s=(r=Z(this,Wr).get(n))==null?void 0:r.filter(a=>a!==t);s&&(s.length===0?Z(this,Wr).delete(n):Z(this,Wr).set(n,s))}this.notify({type:"removed",mutation:t})}canRun(t){var r;const n=(r=Z(this,Wr).get(Hd(t)))==null?void 0:r.find(s=>s.state.status==="pending");return!n||n===t}runNext(t){var r;const n=(r=Z(this,Wr).get(Hd(t)))==null?void 0:r.find(s=>s!==t&&s.state.isPaused);return(n==null?void 0:n.continue())??Promise.resolve()}clear(){In.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}getAll(){return[...Z(this,Wr).values()].flat()}find(t){const n={exact:!0,...t};return this.getAll().find(r=>Zx(n,r))}findAll(t={}){return this.getAll().filter(n=>Zx(t,n))}notify(t){In.batch(()=>{this.listeners.forEach(n=>{n(t)})})}resumePausedMutations(){const t=this.getAll().filter(n=>n.state.isPaused);return In.batch(()=>Promise.all(t.map(n=>n.continue().catch(so))))}},Wr=new WeakMap,Lu=new WeakMap,d0);function Hd(e){var t;return((t=e.options.scope)==null?void 0:t.id)??String(e.mutationId)}function Qx(e){return{onFetch:(t,n)=>{var h,m,A,H,y;const r=t.options,s=(A=(m=(h=t.fetchOptions)==null?void 0:h.meta)==null?void 0:m.fetchMore)==null?void 0:A.direction,a=((H=t.state.data)==null?void 0:H.pages)||[],l=((y=t.state.data)==null?void 0:y.pageParams)||[];let u={pages:[],pageParams:[]},f=0;const p=async()=>{let w=!1;const x=z=>{Object.defineProperty(z,"signal",{enumerable:!0,get:()=>(t.signal.aborted?w=!0:t.signal.addEventListener("abort",()=>{w=!0}),t.signal)})},S=$1(t.options,t.fetchOptions),C=async(z,O,D)=>{if(w)return Promise.reject();if(O==null&&z.pages.length)return Promise.resolve(z);const k={queryKey:t.queryKey,pageParam:O,direction:D?"backward":"forward",meta:t.options.meta};x(k);const R=await S(k),{maxPages:M}=t.options,L=D?_E:KE;return{pages:L(z.pages,R,M),pageParams:L(z.pageParams,O,M)}};if(s&&a.length){const z=s==="backward",O=z?l6:Kx,D={pages:a,pageParams:l},k=O(r,D);u=await C(D,k,z)}else{const z=e??a.length;do{const O=f===0?l[0]??r.initialPageParam:Kx(r,u);if(f>0&&O==null)break;u=await C(u,O),f++}while(f{var w,x;return(x=(w=t.options).persister)==null?void 0:x.call(w,p,{queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n)}:t.fetchFn=p}}}function Kx(e,{pages:t,pageParams:n}){const r=t.length-1;return t.length>0?e.getNextPageParam(t[r],t,n[r],n):void 0}function l6(e,{pages:t,pageParams:n}){var r;return t.length>0?(r=e.getPreviousPageParam)==null?void 0:r.call(e,t[0],t,n[0],n):void 0}var wn,fi,di,gl,yl,pi,Al,Pl,p0,c6=(p0=class{constructor(e={}){gt(this,wn);gt(this,fi);gt(this,di);gt(this,gl);gt(this,yl);gt(this,pi);gt(this,Al);gt(this,Pl);qe(this,wn,e.queryCache||new s6),qe(this,fi,e.mutationCache||new a6),qe(this,di,e.defaultOptions||{}),qe(this,gl,new Map),qe(this,yl,new Map),qe(this,pi,0)}mount(){pd(this,pi)._++,Z(this,pi)===1&&(qe(this,Al,Wy.subscribe(async e=>{e&&(await this.resumePausedMutations(),Z(this,wn).onFocus())})),qe(this,Pl,mp.subscribe(async e=>{e&&(await this.resumePausedMutations(),Z(this,wn).onOnline())})))}unmount(){var e,t;pd(this,pi)._--,Z(this,pi)===0&&((e=Z(this,Al))==null||e.call(this),qe(this,Al,void 0),(t=Z(this,Pl))==null||t.call(this),qe(this,Pl,void 0))}isFetching(e){return Z(this,wn).findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return Z(this,fi).findAll({...e,status:"pending"}).length}getQueryData(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=Z(this,wn).get(t.queryHash))==null?void 0:n.state.data}ensureQueryData(e){const t=this.getQueryData(e.queryKey);if(t===void 0)return this.fetchQuery(e);{const n=this.defaultQueryOptions(e),r=Z(this,wn).build(this,n);return e.revalidateIfStale&&r.isStaleByTime(ul(n.staleTime,r))&&this.prefetchQuery(n),Promise.resolve(t)}}getQueriesData(e){return Z(this,wn).findAll(e).map(({queryKey:t,state:n})=>{const r=n.data;return[t,r]})}setQueryData(e,t,n){const r=this.defaultQueryOptions({queryKey:e}),s=Z(this,wn).get(r.queryHash),a=s==null?void 0:s.state.data,l=UE(t,a);if(l!==void 0)return Z(this,wn).build(this,r).setData(l,{...n,manual:!0})}setQueriesData(e,t,n){return In.batch(()=>Z(this,wn).findAll(e).map(({queryKey:r})=>[r,this.setQueryData(r,t,n)]))}getQueryState(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=Z(this,wn).get(t.queryHash))==null?void 0:n.state}removeQueries(e){const t=Z(this,wn);In.batch(()=>{t.findAll(e).forEach(n=>{t.remove(n)})})}resetQueries(e,t){const n=Z(this,wn),r={type:"active",...e};return In.batch(()=>(n.findAll(e).forEach(s=>{s.reset()}),this.refetchQueries(r,t)))}cancelQueries(e={},t={}){const n={revert:!0,...t},r=In.batch(()=>Z(this,wn).findAll(e).map(s=>s.cancel(n)));return Promise.all(r).then(so).catch(so)}invalidateQueries(e={},t={}){return In.batch(()=>{if(Z(this,wn).findAll(e).forEach(r=>{r.invalidate()}),e.refetchType==="none")return Promise.resolve();const n={...e,type:e.refetchType??e.type??"active"};return this.refetchQueries(n,t)})}refetchQueries(e={},t){const n={...t,cancelRefetch:(t==null?void 0:t.cancelRefetch)??!0},r=In.batch(()=>Z(this,wn).findAll(e).filter(s=>!s.isDisabled()).map(s=>{let a=s.fetch(void 0,n);return n.throwOnError||(a=a.catch(so)),s.state.fetchStatus==="paused"?Promise.resolve():a}));return Promise.all(r).then(so)}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const n=Z(this,wn).build(this,t);return n.isStaleByTime(ul(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(so).catch(so)}fetchInfiniteQuery(e){return e.behavior=Qx(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(so).catch(so)}ensureInfiniteQueryData(e){return e.behavior=Qx(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return mp.isOnline()?Z(this,fi).resumePausedMutations():Promise.resolve()}getQueryCache(){return Z(this,wn)}getMutationCache(){return Z(this,fi)}getDefaultOptions(){return Z(this,di)}setDefaultOptions(e){qe(this,di,e)}setQueryDefaults(e,t){Z(this,gl).set(ha(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...Z(this,gl).values()];let n={};return t.forEach(r=>{ku(e,r.queryKey)&&(n={...n,...r.defaultOptions})}),n}setMutationDefaults(e,t){Z(this,yl).set(ha(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...Z(this,yl).values()];let n={};return t.forEach(r=>{ku(e,r.mutationKey)&&(n={...n,...r.defaultOptions})}),n}defaultQueryOptions(e){if(e._defaulted)return e;const t={...Z(this,di).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=Vy(t.queryKey,t)),t.refetchOnReconnect===void 0&&(t.refetchOnReconnect=t.networkMode!=="always"),t.throwOnError===void 0&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode="offlineFirst"),t.enabled!==!0&&t.queryFn===Iy&&(t.enabled=!1),t}defaultMutationOptions(e){return e!=null&&e._defaulted?e:{...Z(this,di).mutations,...(e==null?void 0:e.mutationKey)&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){Z(this,wn).clear(),Z(this,fi).clear()}},wn=new WeakMap,fi=new WeakMap,di=new WeakMap,gl=new WeakMap,yl=new WeakMap,pi=new WeakMap,Al=new WeakMap,Pl=new WeakMap,p0),Hr,Bt,Xu,pr,na,bl,vi,Uo,Nu,xl,wl,ra,oa,hi,Hl,Gt,su,Sg,zg,Og,Cg,Dg,Tg,kg,i2,v0,u6=(v0=class extends Wl{constructor(t,n){super();gt(this,Gt);gt(this,Hr);gt(this,Bt);gt(this,Xu);gt(this,pr);gt(this,na);gt(this,bl);gt(this,vi);gt(this,Uo);gt(this,Nu);gt(this,xl);gt(this,wl);gt(this,ra);gt(this,oa);gt(this,hi);gt(this,Hl,new Set);this.options=n,qe(this,Hr,t),qe(this,Uo,null),qe(this,vi,jg()),this.options.experimental_prefetchInRender||Z(this,vi).reject(new Error("experimental_prefetchInRender feature flag is not enabled")),this.bindMethods(),this.setOptions(n)}bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(Z(this,Bt).addObserver(this),_x(Z(this,Bt),this.options)?zt(this,Gt,su).call(this):this.updateResult(),zt(this,Gt,Cg).call(this))}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return Rg(Z(this,Bt),this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return Rg(Z(this,Bt),this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,zt(this,Gt,Dg).call(this),zt(this,Gt,Tg).call(this),Z(this,Bt).removeObserver(this)}setOptions(t,n){const r=this.options,s=Z(this,Bt);if(this.options=Z(this,Hr).defaultQueryOptions(t),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean"&&typeof this.options.enabled!="function"&&typeof To(this.options.enabled,Z(this,Bt))!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");zt(this,Gt,kg).call(this),Z(this,Bt).setOptions(this.options),r._defaulted&&!hp(this.options,r)&&Z(this,Hr).getQueryCache().notify({type:"observerOptionsUpdated",query:Z(this,Bt),observer:this});const a=this.hasListeners();a&&$x(Z(this,Bt),s,this.options,r)&&zt(this,Gt,su).call(this),this.updateResult(n),a&&(Z(this,Bt)!==s||To(this.options.enabled,Z(this,Bt))!==To(r.enabled,Z(this,Bt))||ul(this.options.staleTime,Z(this,Bt))!==ul(r.staleTime,Z(this,Bt)))&&zt(this,Gt,Sg).call(this);const l=zt(this,Gt,zg).call(this);a&&(Z(this,Bt)!==s||To(this.options.enabled,Z(this,Bt))!==To(r.enabled,Z(this,Bt))||l!==Z(this,hi))&&zt(this,Gt,Og).call(this,l)}getOptimisticResult(t){const n=Z(this,Hr).getQueryCache().build(Z(this,Hr),t),r=this.createResult(n,t);return d6(this,r)&&(qe(this,pr,r),qe(this,bl,this.options),qe(this,na,Z(this,Bt).state)),r}getCurrentResult(){return Z(this,pr)}trackResult(t,n){const r={};return Object.keys(t).forEach(s=>{Object.defineProperty(r,s,{configurable:!1,enumerable:!0,get:()=>(this.trackProp(s),n==null||n(s),t[s])})}),r}trackProp(t){Z(this,Hl).add(t)}getCurrentQuery(){return Z(this,Bt)}refetch({...t}={}){return this.fetch({...t})}fetchOptimistic(t){const n=Z(this,Hr).defaultQueryOptions(t),r=Z(this,Hr).getQueryCache().build(Z(this,Hr),n);return r.fetch().then(()=>this.createResult(r,n))}fetch(t){return zt(this,Gt,su).call(this,{...t,cancelRefetch:t.cancelRefetch??!0}).then(()=>(this.updateResult(),Z(this,pr)))}createResult(t,n){var M;const r=Z(this,Bt),s=this.options,a=Z(this,pr),l=Z(this,na),u=Z(this,bl),p=t!==r?t.state:Z(this,Xu),{state:h}=t;let m={...h},A=!1,H;if(n._optimisticResults){const L=this.hasListeners(),j=!L&&_x(t,n),B=L&&$x(t,r,n,s);(j||B)&&(m={...m,...o2(h.data,t.options)}),n._optimisticResults==="isRestoring"&&(m.fetchStatus="idle")}let{error:y,errorUpdatedAt:w,status:x}=m;if(n.select&&m.data!==void 0)if(a&&m.data===(l==null?void 0:l.data)&&n.select===Z(this,Nu))H=Z(this,xl);else try{qe(this,Nu,n.select),H=n.select(m.data),H=Hg(a==null?void 0:a.data,H,n),qe(this,xl,H),qe(this,Uo,null)}catch(L){qe(this,Uo,L)}else H=m.data;if(n.placeholderData!==void 0&&H===void 0&&x==="pending"){let L;if(a!=null&&a.isPlaceholderData&&n.placeholderData===(u==null?void 0:u.placeholderData))L=a.data;else if(L=typeof n.placeholderData=="function"?n.placeholderData((M=Z(this,wl))==null?void 0:M.state.data,Z(this,wl)):n.placeholderData,n.select&&L!==void 0)try{L=n.select(L),qe(this,Uo,null)}catch(j){qe(this,Uo,j)}L!==void 0&&(x="success",H=Hg(a==null?void 0:a.data,L,n),A=!0)}Z(this,Uo)&&(y=Z(this,Uo),H=Z(this,xl),w=Date.now(),x="error");const S=m.fetchStatus==="fetching",C=x==="pending",z=x==="error",O=C&&S,D=H!==void 0,R={status:x,fetchStatus:m.fetchStatus,isPending:C,isSuccess:x==="success",isError:z,isInitialLoading:O,isLoading:O,data:H,dataUpdatedAt:m.dataUpdatedAt,error:y,errorUpdatedAt:w,failureCount:m.fetchFailureCount,failureReason:m.fetchFailureReason,errorUpdateCount:m.errorUpdateCount,isFetched:m.dataUpdateCount>0||m.errorUpdateCount>0,isFetchedAfterMount:m.dataUpdateCount>p.dataUpdateCount||m.errorUpdateCount>p.errorUpdateCount,isFetching:S,isRefetching:S&&!C,isLoadingError:z&&!D,isPaused:m.fetchStatus==="paused",isPlaceholderData:A,isRefetchError:z&&D,isStale:Jy(t,n),refetch:this.refetch,promise:Z(this,vi)};if(this.options.experimental_prefetchInRender){const L=I=>{R.status==="error"?I.reject(R.error):R.data!==void 0&&I.resolve(R.data)},j=()=>{const I=qe(this,vi,R.promise=jg());L(I)},B=Z(this,vi);switch(B.status){case"pending":t.queryHash===r.queryHash&&L(B);break;case"fulfilled":(R.status==="error"||R.data!==B.value)&&j();break;case"rejected":(R.status!=="error"||R.error!==B.reason)&&j();break}}return R}updateResult(t){const n=Z(this,pr),r=this.createResult(Z(this,Bt),this.options);if(qe(this,na,Z(this,Bt).state),qe(this,bl,this.options),Z(this,na).data!==void 0&&qe(this,wl,Z(this,Bt)),hp(r,n))return;qe(this,pr,r);const s={},a=()=>{if(!n)return!0;const{notifyOnChangeProps:l}=this.options,u=typeof l=="function"?l():l;if(u==="all"||!u&&!Z(this,Hl).size)return!0;const f=new Set(u??Z(this,Hl));return this.options.throwOnError&&f.add("error"),Object.keys(Z(this,pr)).some(p=>{const h=p;return Z(this,pr)[h]!==n[h]&&f.has(h)})};(t==null?void 0:t.listeners)!==!1&&a()&&(s.listeners=!0),zt(this,Gt,i2).call(this,{...s,...t})}onQueryUpdate(){this.updateResult(),this.hasListeners()&&zt(this,Gt,Cg).call(this)}},Hr=new WeakMap,Bt=new WeakMap,Xu=new WeakMap,pr=new WeakMap,na=new WeakMap,bl=new WeakMap,vi=new WeakMap,Uo=new WeakMap,Nu=new WeakMap,xl=new WeakMap,wl=new WeakMap,ra=new WeakMap,oa=new WeakMap,hi=new WeakMap,Hl=new WeakMap,Gt=new WeakSet,su=function(t){zt(this,Gt,kg).call(this);let n=Z(this,Bt).fetch(this.options,t);return t!=null&&t.throwOnError||(n=n.catch(so)),n},Sg=function(){zt(this,Gt,Dg).call(this);const t=ul(this.options.staleTime,Z(this,Bt));if(va||Z(this,pr).isStale||!xg(t))return;const r=K1(Z(this,pr).dataUpdatedAt,t)+1;qe(this,ra,setTimeout(()=>{Z(this,pr).isStale||this.updateResult()},r))},zg=function(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(Z(this,Bt)):this.options.refetchInterval)??!1},Og=function(t){zt(this,Gt,Tg).call(this),qe(this,hi,t),!(va||To(this.options.enabled,Z(this,Bt))===!1||!xg(Z(this,hi))||Z(this,hi)===0)&&qe(this,oa,setInterval(()=>{(this.options.refetchIntervalInBackground||Wy.isFocused())&&zt(this,Gt,su).call(this)},Z(this,hi)))},Cg=function(){zt(this,Gt,Sg).call(this),zt(this,Gt,Og).call(this,zt(this,Gt,zg).call(this))},Dg=function(){Z(this,ra)&&(clearTimeout(Z(this,ra)),qe(this,ra,void 0))},Tg=function(){Z(this,oa)&&(clearInterval(Z(this,oa)),qe(this,oa,void 0))},kg=function(){const t=Z(this,Hr).getQueryCache().build(Z(this,Hr),this.options);if(t===Z(this,Bt))return;const n=Z(this,Bt);qe(this,Bt,t),qe(this,Xu,t.state),this.hasListeners()&&(n==null||n.removeObserver(this),t.addObserver(this))},i2=function(t){In.batch(()=>{t.listeners&&this.listeners.forEach(n=>{n(Z(this,pr))}),Z(this,Hr).getQueryCache().notify({query:Z(this,Bt),type:"observerResultsUpdated"})})},v0);function f6(e,t){return To(t.enabled,e)!==!1&&e.state.data===void 0&&!(e.state.status==="error"&&t.retryOnMount===!1)}function _x(e,t){return f6(e,t)||e.state.data!==void 0&&Rg(e,t,t.refetchOnMount)}function Rg(e,t,n){if(To(t.enabled,e)!==!1){const r=typeof n=="function"?n(e):n;return r==="always"||r!==!1&&Jy(e,t)}return!1}function $x(e,t,n,r){return(e!==t||To(r.enabled,e)===!1)&&(!n.suspense||e.state.status!=="error")&&Jy(e,n)}function Jy(e,t){return To(t.enabled,e)!==!1&&e.isStaleByTime(ul(t.staleTime,e))}function d6(e,t){return!hp(e.getCurrentResult(),t)}var mi,gi,jr,Ss,Ds,Jd,Eg,h0,p6=(h0=class extends Wl{constructor(n,r){super();gt(this,Ds);gt(this,mi);gt(this,gi);gt(this,jr);gt(this,Ss);qe(this,mi,n),this.setOptions(r),this.bindMethods(),zt(this,Ds,Jd).call(this)}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(n){var s;const r=this.options;this.options=Z(this,mi).defaultMutationOptions(n),hp(this.options,r)||Z(this,mi).getMutationCache().notify({type:"observerOptionsUpdated",mutation:Z(this,jr),observer:this}),r!=null&&r.mutationKey&&this.options.mutationKey&&ha(r.mutationKey)!==ha(this.options.mutationKey)?this.reset():((s=Z(this,jr))==null?void 0:s.state.status)==="pending"&&Z(this,jr).setOptions(this.options)}onUnsubscribe(){var n;this.hasListeners()||(n=Z(this,jr))==null||n.removeObserver(this)}onMutationUpdate(n){zt(this,Ds,Jd).call(this),zt(this,Ds,Eg).call(this,n)}getCurrentResult(){return Z(this,gi)}reset(){var n;(n=Z(this,jr))==null||n.removeObserver(this),qe(this,jr,void 0),zt(this,Ds,Jd).call(this),zt(this,Ds,Eg).call(this)}mutate(n,r){var s;return qe(this,Ss,r),(s=Z(this,jr))==null||s.removeObserver(this),qe(this,jr,Z(this,mi).getMutationCache().build(Z(this,mi),this.options)),Z(this,jr).addObserver(this),Z(this,jr).execute(n)}},mi=new WeakMap,gi=new WeakMap,jr=new WeakMap,Ss=new WeakMap,Ds=new WeakSet,Jd=function(){var r;const n=((r=Z(this,jr))==null?void 0:r.state)??s2();qe(this,gi,{...n,isPending:n.status==="pending",isSuccess:n.status==="success",isError:n.status==="error",isIdle:n.status==="idle",mutate:this.mutate,reset:this.reset})},Eg=function(n){In.batch(()=>{var r,s,a,l,u,f,p,h;if(Z(this,Ss)&&this.hasListeners()){const m=Z(this,gi).variables,A=Z(this,gi).context;(n==null?void 0:n.type)==="success"?((s=(r=Z(this,Ss)).onSuccess)==null||s.call(r,n.data,m,A),(l=(a=Z(this,Ss)).onSettled)==null||l.call(a,n.data,null,m,A)):(n==null?void 0:n.type)==="error"&&((f=(u=Z(this,Ss)).onError)==null||f.call(u,n.error,m,A),(h=(p=Z(this,Ss)).onSettled)==null||h.call(p,void 0,n.error,m,A))}this.listeners.forEach(m=>{m(Z(this,gi))})})},h0),a2=P.createContext(void 0),nv=e=>{const t=P.useContext(a2);if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},v6=({client:e,children:t})=>(P.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),v.jsx(a2.Provider,{value:e,children:t})),l2=P.createContext(!1),h6=()=>P.useContext(l2);l2.Provider;function m6(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}var g6=P.createContext(m6()),y6=()=>P.useContext(g6);function c2(e,t){return typeof e=="function"?e(...t):!!e}function Mg(){}var A6=(e,t)=>{(e.suspense||e.throwOnError||e.experimental_prefetchInRender)&&(t.isReset()||(e.retryOnMount=!1))},P6=e=>{P.useEffect(()=>{e.clearReset()},[e])},b6=({result:e,errorResetBoundary:t,throwOnError:n,query:r})=>e.isError&&!t.isReset()&&!e.isFetching&&r&&c2(n,[e.error,r]),x6=e=>{e.suspense&&(e.staleTime===void 0&&(e.staleTime=1e3),typeof e.gcTime=="number"&&(e.gcTime=Math.max(e.gcTime,1e3)))},w6=(e,t)=>e.isLoading&&e.isFetching&&!t,H6=(e,t)=>(e==null?void 0:e.suspense)&&t.isPending,ew=(e,t,n)=>t.fetchOptimistic(e).catch(()=>{n.clearReset()});function j6(e,t,n){var h,m,A,H,y;const r=nv(),s=h6(),a=y6(),l=r.defaultQueryOptions(e);(m=(h=r.getDefaultOptions().queries)==null?void 0:h._experimental_beforeQuery)==null||m.call(h,l),l._optimisticResults=s?"isRestoring":"optimistic",x6(l),A6(l,a),P6(a);const u=!r.getQueryCache().get(l.queryHash),[f]=P.useState(()=>new t(r,l)),p=f.getOptimisticResult(l);if(P.useSyncExternalStore(P.useCallback(w=>{const x=s?Mg:f.subscribe(In.batchCalls(w));return f.updateResult(),x},[f,s]),()=>f.getCurrentResult(),()=>f.getCurrentResult()),P.useEffect(()=>{f.setOptions(l,{listeners:!1})},[l,f]),H6(l,p))throw ew(l,f,a);if(b6({result:p,errorResetBoundary:a,throwOnError:l.throwOnError,query:r.getQueryCache().get(l.queryHash)}))throw p.error;if((H=(A=r.getDefaultOptions().queries)==null?void 0:A._experimental_afterQuery)==null||H.call(A,l,p),l.experimental_prefetchInRender&&!va&&w6(p,s)){const w=u?ew(l,f,a):(y=r.getQueryCache().get(l.queryHash))==null?void 0:y.promise;w==null||w.catch(Mg).finally(()=>{f.updateResult()})}return l.notifyOnChangeProps?p:f.trackResult(p)}function _n(e,t){return j6(e,u6)}function Ml(e,t){const n=nv(),[r]=P.useState(()=>new p6(n,e));P.useEffect(()=>{r.setOptions(e)},[r,e]);const s=P.useSyncExternalStore(P.useCallback(l=>r.subscribe(In.batchCalls(l)),[r]),()=>r.getCurrentResult(),()=>r.getCurrentResult()),a=P.useCallback((l,u)=>{r.mutate(l,u).catch(Mg)},[r]);if(s.error&&c2(r.options.throwOnError,[s.error]))throw s.error;return{...s,mutate:a,mutateAsync:s.mutate}}var jd={},tw;function S6(){if(tw)return jd;tw=1;var e=f1();return jd.createRoot=e.createRoot,jd.hydrateRoot=e.hydrateRoot,jd}var z6=S6();const O6=Op(z6);var Vc={},nw;function C6(){if(nw)return Vc;nw=1,Object.defineProperty(Vc,"__esModule",{value:!0}),Vc.parse=l,Vc.serialize=p;const e=/^[\u0021-\u003A\u003C\u003E-\u007E]+$/,t=/^[\u0021-\u003A\u003C-\u007E]*$/,n=/^([.]?[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)([.][a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)*$/i,r=/^[\u0020-\u003A\u003D-\u007E]*$/,s=Object.prototype.toString,a=(()=>{const A=function(){};return A.prototype=Object.create(null),A})();function l(A,H){const y=new a,w=A.length;if(w<2)return y;const x=(H==null?void 0:H.decode)||h;let S=0;do{const C=A.indexOf("=",S);if(C===-1)break;const z=A.indexOf(";",S),O=z===-1?w:z;if(C>O){S=A.lastIndexOf(";",C-1)+1;continue}const D=u(A,S,C),k=f(A,C,D),R=A.slice(D,k);if(y[R]===void 0){let M=u(A,C+1,O),L=f(A,O,M);const j=x(A.slice(M,L));y[R]=j}S=O+1}while(Sy;){const w=A.charCodeAt(--H);if(w!==32&&w!==9)return H+1}return y}function p(A,H,y){const w=(y==null?void 0:y.encode)||encodeURIComponent;if(!e.test(A))throw new TypeError(`argument name is invalid: ${A}`);const x=w(H);if(!t.test(x))throw new TypeError(`argument val is invalid: ${H}`);let S=A+"="+x;if(!y)return S;if(y.maxAge!==void 0){if(!Number.isInteger(y.maxAge))throw new TypeError(`option maxAge is invalid: ${y.maxAge}`);S+="; Max-Age="+y.maxAge}if(y.domain){if(!n.test(y.domain))throw new TypeError(`option domain is invalid: ${y.domain}`);S+="; Domain="+y.domain}if(y.path){if(!r.test(y.path))throw new TypeError(`option path is invalid: ${y.path}`);S+="; Path="+y.path}if(y.expires){if(!m(y.expires)||!Number.isFinite(y.expires.valueOf()))throw new TypeError(`option expires is invalid: ${y.expires}`);S+="; Expires="+y.expires.toUTCString()}if(y.httpOnly&&(S+="; HttpOnly"),y.secure&&(S+="; Secure"),y.partitioned&&(S+="; Partitioned"),y.priority)switch(typeof y.priority=="string"?y.priority.toLowerCase():void 0){case"low":S+="; Priority=Low";break;case"medium":S+="; Priority=Medium";break;case"high":S+="; Priority=High";break;default:throw new TypeError(`option priority is invalid: ${y.priority}`)}if(y.sameSite)switch(typeof y.sameSite=="string"?y.sameSite.toLowerCase():y.sameSite){case!0:case"strict":S+="; SameSite=Strict";break;case"lax":S+="; SameSite=Lax";break;case"none":S+="; SameSite=None";break;default:throw new TypeError(`option sameSite is invalid: ${y.sameSite}`)}return S}function h(A){if(A.indexOf("%")===-1)return A;try{return decodeURIComponent(A)}catch{return A}}function m(A){return s.call(A)==="[object Date]"}return Vc}C6();/** * react-router v7.0.1 * * Copyright (c) Remix Software Inc. @@ -163,15 +204,15 @@ Error generating stack: `+b.message+` * LICENSE.md file in the root directory of this source tree. * * @license MIT - */var Aw="popstate";function TL(e={}){function t(o,i){let{pathname:a,search:c,hash:u}=o.location;return KA("",{pathname:a,search:c,hash:u},i.state&&i.state.usr||null,i.state&&i.state.key||"default")}function n(o,i){return typeof i=="string"?i:_u(i)}return kL(t,n,null,e)}function yn(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function zs(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function EL(){return Math.random().toString(36).substring(2,10)}function Pw(e,t){return{usr:e.state,key:e.key,idx:t}}function KA(e,t,n=null,o){return{pathname:typeof e=="string"?e:e.pathname,search:"",hash:"",...typeof t=="string"?Rl(t):t,state:n,key:t&&t.key||o||EL()}}function _u({pathname:e="/",search:t="",hash:n=""}){return t&&t!=="?"&&(e+=t.charAt(0)==="?"?t:"?"+t),n&&n!=="#"&&(e+=n.charAt(0)==="#"?n:"#"+n),e}function Rl(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substring(n),e=e.substring(0,n));let o=e.indexOf("?");o>=0&&(t.search=e.substring(o),e=e.substring(0,o)),e&&(t.pathname=e)}return t}function kL(e,t,n,o={}){let{window:i=document.defaultView,v5Compat:a=!1}=o,c=i.history,u="POP",f=null,p=h();p==null&&(p=0,c.replaceState({...c.state,idx:p},""));function h(){return(c.state||{idx:null}).idx}function m(){u="POP";let x=h(),z=x==null?null:x-p;p=x,f&&f({action:u,location:w.location,delta:z})}function P(x,z){u="PUSH";let O=KA(w.location,x,z);p=h()+1;let C=Pw(O,p),D=w.createHref(O);try{c.pushState(C,"",D)}catch(R){if(R instanceof DOMException&&R.name==="DataCloneError")throw R;i.location.assign(D)}a&&f&&f({action:u,location:w.location,delta:1})}function H(x,z){u="REPLACE";let O=KA(w.location,x,z);p=h();let C=Pw(O,p),D=w.createHref(O);c.replaceState(C,"",D),a&&f&&f({action:u,location:w.location,delta:0})}function g(x){let z=i.location.origin!=="null"?i.location.origin:i.location.href,O=typeof x=="string"?x:_u(x);return O=O.replace(/ $/,"%20"),yn(z,`No window.location.(origin|href) available to create URL for href: ${O}`),new URL(O,z)}let w={get action(){return u},get location(){return e(i,c)},listen(x){if(f)throw new Error("A history only accepts one active listener");return i.addEventListener(Aw,m),f=x,()=>{i.removeEventListener(Aw,m),f=null}},createHref(x){return t(i,x)},createURL:g,encodeLocation(x){let z=g(x);return{pathname:z.pathname,search:z.search,hash:z.hash}},push:P,replace:H,go(x){return c.go(x)}};return w}function W2(e,t,n="/"){return ML(e,t,n,!1)}function ML(e,t,n,o){let i=typeof t=="string"?Rl(t):t,a=pi(i.pathname||"/",n);if(a==null)return null;let c=J2(e);LL(c);let u=null;for(let f=0;u==null&&f{let f={relativePath:u===void 0?a.path||"":u,caseSensitive:a.caseSensitive===!0,childrenIndex:c,route:a};f.relativePath.startsWith("/")&&(yn(f.relativePath.startsWith(o),`Absolute route path "${f.relativePath}" nested under path "${o}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),f.relativePath=f.relativePath.slice(o.length));let p=ws([o,f.relativePath]),h=n.concat(f);a.children&&a.children.length>0&&(yn(a.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${p}".`),J2(a.children,t,h,p)),!(a.path==null&&!a.index)&&t.push({path:p,score:JL(p,a.index),routesMeta:h})};return e.forEach((a,c)=>{var u;if(a.path===""||!((u=a.path)!=null&&u.includes("?")))i(a,c);else for(let f of F2(a.path))i(a,c,f)}),t}function F2(e){let t=e.split("/");if(t.length===0)return[];let[n,...o]=t,i=n.endsWith("?"),a=n.replace(/\?$/,"");if(o.length===0)return i?[a,""]:[a];let c=F2(o.join("/")),u=[];return u.push(...c.map(f=>f===""?a:[a,f].join("/"))),i&&u.push(...c),u.map(f=>e.startsWith("/")&&f===""?"/":f)}function LL(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:FL(t.routesMeta.map(o=>o.childrenIndex),n.routesMeta.map(o=>o.childrenIndex)))}var XL=/^:[\w-]+$/,NL=3,BL=2,VL=1,IL=10,WL=-2,gw=e=>e==="*";function JL(e,t){let n=e.split("/"),o=n.length;return n.some(gw)&&(o+=WL),t&&(o+=BL),n.filter(i=>!gw(i)).reduce((i,a)=>i+(XL.test(a)?NL:a===""?VL:IL),o)}function FL(e,t){return e.length===t.length&&e.slice(0,-1).every((o,i)=>o===t[i])?e[e.length-1]-t[t.length-1]:0}function YL(e,t,n=!1){let{routesMeta:o}=e,i={},a="/",c=[];for(let u=0;u{if(h==="*"){let g=u[P]||"";c=a.slice(0,a.length-g.length).replace(/(.)\/+$/,"$1")}const H=u[P];return m&&!H?p[h]=void 0:p[h]=(H||"").replace(/%2F/g,"/"),p},{}),pathname:a,pathnameBase:c,pattern:e}}function qL(e,t=!1,n=!0){zs(e==="*"||!e.endsWith("*")||e.endsWith("/*"),`Route path "${e}" will be treated as if it were "${e.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${e.replace(/\*$/,"/*")}".`);let o=[],i="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(c,u,f)=>(o.push({paramName:u,isOptional:f!=null}),f?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(o.push({paramName:"*"}),i+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?i+="\\/*$":e!==""&&e!=="/"&&(i+="(?:(?=\\/|$))"),[new RegExp(i,t?void 0:"i"),o]}function ZL(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return zs(!1,`The URL path "${e}" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent encoding (${t}).`),e}}function pi(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,o=e.charAt(n);return o&&o!=="/"?null:e.slice(n)||"/"}function GL(e,t="/"){let{pathname:n,search:o="",hash:i=""}=typeof e=="string"?Rl(e):e;return{pathname:n?n.startsWith("/")?n:UL(n,t):t,search:_L(o),hash:$L(i)}}function UL(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(i=>{i===".."?n.length>1&&n.pop():i!=="."&&n.push(i)}),n.length>1?n.join("/"):"/"}function eA(e,t,n,o){return`Cannot include a '${e}' character in a manually specified \`to.${t}\` field [${JSON.stringify(o)}]. Please separate it out to the \`to.${n}\` field. Alternatively you may provide the full path as a string in and the router will parse it for you.`}function QL(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function Y2(e){let t=QL(e);return t.map((n,o)=>o===t.length-1?n.pathname:n.pathnameBase)}function q2(e,t,n,o=!1){let i;typeof e=="string"?i=Rl(e):(i={...e},yn(!i.pathname||!i.pathname.includes("?"),eA("?","pathname","search",i)),yn(!i.pathname||!i.pathname.includes("#"),eA("#","pathname","hash",i)),yn(!i.search||!i.search.includes("#"),eA("#","search","hash",i)));let a=e===""||i.pathname==="",c=a?"/":i.pathname,u;if(c==null)u=n;else{let m=t.length-1;if(!o&&c.startsWith("..")){let P=c.split("/");for(;P[0]==="..";)P.shift(),m-=1;i.pathname=P.join("/")}u=m>=0?t[m]:"/"}let f=GL(i,u),p=c&&c!=="/"&&c.endsWith("/"),h=(a||c===".")&&n.endsWith("/");return!f.pathname.endsWith("/")&&(p||h)&&(f.pathname+="/"),f}var ws=e=>e.join("/").replace(/\/\/+/g,"/"),KL=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),_L=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,$L=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function eX(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}var Z2=["POST","PUT","PATCH","DELETE"];new Set(Z2);var tX=["GET",...Z2];new Set(tX);var Dl=y.createContext(null);Dl.displayName="DataRouter";var bv=y.createContext(null);bv.displayName="DataRouterState";var G2=y.createContext({isTransitioning:!1});G2.displayName="ViewTransition";var nX=y.createContext(new Map);nX.displayName="Fetchers";var rX=y.createContext(null);rX.displayName="Await";var rs=y.createContext(null);rs.displayName="Navigation";var vf=y.createContext(null);vf.displayName="Location";var Os=y.createContext({outlet:null,matches:[],isDataRoute:!1});Os.displayName="Route";var sg=y.createContext(null);sg.displayName="RouteError";function oX(e,{relative:t}={}){yn(hf(),"useHref() may be used only in the context of a component.");let{basename:n,navigator:o}=y.useContext(rs),{hash:i,pathname:a,search:c}=mf(e,{relative:t}),u=a;return n!=="/"&&(u=a==="/"?n:ws([n,a])),o.createHref({pathname:u,search:c,hash:i})}function hf(){return y.useContext(vf)!=null}function mi(){return yn(hf(),"useLocation() may be used only in the context of a component."),y.useContext(vf).location}var U2="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function Q2(e){y.useContext(rs).static||y.useLayoutEffect(e)}function xv(){let{isDataRoute:e}=y.useContext(Os);return e?AX():sX()}function sX(){yn(hf(),"useNavigate() may be used only in the context of a component.");let e=y.useContext(Dl),{basename:t,navigator:n}=y.useContext(rs),{matches:o}=y.useContext(Os),{pathname:i}=mi(),a=JSON.stringify(Y2(o)),c=y.useRef(!1);return Q2(()=>{c.current=!0}),y.useCallback((f,p={})=>{if(zs(c.current,U2),!c.current)return;if(typeof f=="number"){n.go(f);return}let h=q2(f,JSON.parse(a),i,p.relative==="path");e==null&&t!=="/"&&(h.pathname=h.pathname==="/"?t:ws([t,h.pathname])),(p.replace?n.replace:n.push)(h,p.state,p)},[t,n,a,i,e])}y.createContext(null);function mf(e,{relative:t}={}){let{matches:n}=y.useContext(Os),{pathname:o}=mi(),i=JSON.stringify(Y2(n));return y.useMemo(()=>q2(e,JSON.parse(i),o,t==="path"),[e,i,o,t])}function iX(e,t){return K2(e,t)}function K2(e,t,n,o){var w;yn(hf(),"useRoutes() may be used only in the context of a component.");let{navigator:i}=y.useContext(rs),{matches:a}=y.useContext(Os),c=a[a.length-1],u=c?c.params:{};c&&c.pathname;let f=c?c.pathnameBase:"/";c&&c.route;let p=mi(),h;if(t){let x=typeof t=="string"?Rl(t):t;yn(f==="/"||((w=x.pathname)==null?void 0:w.startsWith(f)),`When overriding the location using \`\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${f}" but pathname "${x.pathname}" was given in the \`location\` prop.`),h=x}else h=p;let m=h.pathname||"/",P=m;if(f!=="/"){let x=f.replace(/^\//,"").split("/");P="/"+m.replace(/^\//,"").split("/").slice(x.length).join("/")}let H=W2(e,{pathname:P}),g=fX(H&&H.map(x=>Object.assign({},x,{params:Object.assign({},u,x.params),pathname:ws([f,i.encodeLocation?i.encodeLocation(x.pathname).pathname:x.pathname]),pathnameBase:x.pathnameBase==="/"?f:ws([f,i.encodeLocation?i.encodeLocation(x.pathnameBase).pathname:x.pathnameBase])})),a,n,o);return t&&g?y.createElement(vf.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",...h},navigationType:"POP"}},g):g}function aX(){let e=mX(),t=eX(e)?`${e.status} ${e.statusText}`:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,i={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return y.createElement(y.Fragment,null,y.createElement("h2",null,"Unexpected Application Error!"),y.createElement("h3",{style:{fontStyle:"italic"}},t),n?y.createElement("pre",{style:i},n):null,null)}var lX=y.createElement(aX,null),cX=class extends y.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||t.revalidation!=="idle"&&e.revalidation==="idle"?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error!==void 0?e.error:t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){console.error("React Router caught the following error during render",e,t)}render(){return this.state.error!==void 0?y.createElement(Os.Provider,{value:this.props.routeContext},y.createElement(sg.Provider,{value:this.state.error,children:this.props.component})):this.props.children}};function uX({routeContext:e,match:t,children:n}){let o=y.useContext(Dl);return o&&o.static&&o.staticContext&&(t.route.errorElement||t.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=t.route.id),y.createElement(Os.Provider,{value:e},n)}function fX(e,t=[],n=null,o=null){if(e==null){if(!n)return null;if(n.errors)e=n.matches;else if(t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let i=e,a=n==null?void 0:n.errors;if(a!=null){let f=i.findIndex(p=>p.route.id&&(a==null?void 0:a[p.route.id])!==void 0);yn(f>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(a).join(",")}`),i=i.slice(0,Math.min(i.length,f+1))}let c=!1,u=-1;if(n)for(let f=0;f=0?i=i.slice(0,u+1):i=[i[0]];break}}}return i.reduceRight((f,p,h)=>{let m,P=!1,H=null,g=null;n&&(m=a&&p.route.id?a[p.route.id]:void 0,H=p.route.errorElement||lX,c&&(u<0&&h===0?(PX("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),P=!0,g=null):u===h&&(P=!0,g=p.route.hydrateFallbackElement||null)));let w=t.concat(i.slice(0,h+1)),x=()=>{let z;return m?z=H:P?z=g:p.route.Component?z=y.createElement(p.route.Component,null):p.route.element?z=p.route.element:z=f,y.createElement(uX,{match:p,routeContext:{outlet:f,matches:w,isDataRoute:n!=null},children:z})};return n&&(p.route.ErrorBoundary||p.route.errorElement||h===0)?y.createElement(cX,{location:n.location,revalidation:n.revalidation,component:H,error:m,children:x(),routeContext:{outlet:null,matches:w,isDataRoute:!0}}):x()},null)}function ig(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function dX(e){let t=y.useContext(Dl);return yn(t,ig(e)),t}function pX(e){let t=y.useContext(bv);return yn(t,ig(e)),t}function vX(e){let t=y.useContext(Os);return yn(t,ig(e)),t}function ag(e){let t=vX(e),n=t.matches[t.matches.length-1];return yn(n.route.id,`${e} can only be used on routes that contain a unique "id"`),n.route.id}function hX(){return ag("useRouteId")}function mX(){var o;let e=y.useContext(sg),t=pX("useRouteError"),n=ag("useRouteError");return e!==void 0?e:(o=t.errors)==null?void 0:o[n]}function AX(){let{router:e}=dX("useNavigate"),t=ag("useNavigate"),n=y.useRef(!1);return Q2(()=>{n.current=!0}),y.useCallback(async(i,a={})=>{zs(n.current,U2),n.current&&(typeof i=="number"?e.navigate(i):await e.navigate(i,{fromRouteId:t,...a}))},[e,t])}var yw={};function PX(e,t,n){yw[e]||(yw[e]=!0,zs(!1,n))}y.memo(gX);function gX({routes:e,future:t,state:n}){return K2(e,void 0,n,t)}function Ps(e){yn(!1,"A is only ever to be used as the child of element, never rendered directly. Please wrap your in a .")}function yX({basename:e="/",children:t=null,location:n,navigationType:o="POP",navigator:i,static:a=!1}){yn(!hf(),"You cannot render a inside another . You should never have more than one in your app.");let c=e.replace(/^\/*/,"/"),u=y.useMemo(()=>({basename:c,navigator:i,static:a,future:{}}),[c,i,a]);typeof n=="string"&&(n=Rl(n));let{pathname:f="/",search:p="",hash:h="",state:m=null,key:P="default"}=n,H=y.useMemo(()=>{let g=pi(f,c);return g==null?null:{location:{pathname:g,search:p,hash:h,state:m,key:P},navigationType:o}},[c,f,p,h,m,P,o]);return zs(H!=null,` is not able to match the URL "${f}${p}${h}" because it does not start with the basename, so the won't render anything.`),H==null?null:y.createElement(rs.Provider,{value:u},y.createElement(vf.Provider,{children:t,value:H}))}function bX({children:e,location:t}){return iX(_A(e),t)}function _A(e,t=[]){let n=[];return y.Children.forEach(e,(o,i)=>{if(!y.isValidElement(o))return;let a=[...t,i];if(o.type===y.Fragment){n.push.apply(n,_A(o.props.children,a));return}yn(o.type===Ps,`[${typeof o.type=="string"?o.type:o.type.name}] is not a component. All component children of must be a or `),yn(!o.props.index||!o.props.children,"An index route cannot have child routes.");let c={id:o.props.id||a.join("-"),caseSensitive:o.props.caseSensitive,element:o.props.element,Component:o.props.Component,index:o.props.index,path:o.props.path,loader:o.props.loader,action:o.props.action,hydrateFallbackElement:o.props.hydrateFallbackElement,HydrateFallback:o.props.HydrateFallback,errorElement:o.props.errorElement,ErrorBoundary:o.props.ErrorBoundary,hasErrorBoundary:o.props.hasErrorBoundary===!0||o.props.ErrorBoundary!=null||o.props.errorElement!=null,shouldRevalidate:o.props.shouldRevalidate,handle:o.props.handle,lazy:o.props.lazy};o.props.children&&(c.children=_A(o.props.children,a)),n.push(c)}),n}var lp="get",cp="application/x-www-form-urlencoded";function wv(e){return e!=null&&typeof e.tagName=="string"}function xX(e){return wv(e)&&e.tagName.toLowerCase()==="button"}function wX(e){return wv(e)&&e.tagName.toLowerCase()==="form"}function HX(e){return wv(e)&&e.tagName.toLowerCase()==="input"}function jX(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function zX(e,t){return e.button===0&&(!t||t==="_self")&&!jX(e)}function $A(e=""){return new URLSearchParams(typeof e=="string"||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce((t,n)=>{let o=e[n];return t.concat(Array.isArray(o)?o.map(i=>[n,i]):[[n,o]])},[]))}function OX(e,t){let n=$A(e);return t&&t.forEach((o,i)=>{n.has(i)||t.getAll(i).forEach(a=>{n.append(i,a)})}),n}var qd=null;function CX(){if(qd===null)try{new FormData(document.createElement("form"),0),qd=!1}catch{qd=!0}return qd}var RX=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function tA(e){return e!=null&&!RX.has(e)?(zs(!1,`"${e}" is not a valid \`encType\` for \`
\`/\`\` and will default to "${cp}"`),null):e}function DX(e,t){let n,o,i,a,c;if(wX(e)){let u=e.getAttribute("action");o=u?pi(u,t):null,n=e.getAttribute("method")||lp,i=tA(e.getAttribute("enctype"))||cp,a=new FormData(e)}else if(xX(e)||HX(e)&&(e.type==="submit"||e.type==="image")){let u=e.form;if(u==null)throw new Error('Cannot submit a