iobroker.backitup
Version:
ioBroker.backitup allows you to backup and restore your ioBroker installation and other systems, such as databases, Zigbee, scripts and many more.
31 lines • 285 kB
JavaScript
import{s as An,d as I,e as Lr,h as ho,r as Fe,f as hs,i as Bn,m as ys,j as Hr,k as xs,l as Cs,c as Ar,n as wo,T as Ue,p as Ss,q as ws,b as Rs,t as $s,u as ks,g as Ps,v as Ts,o as Ms,w as Is,x as Ls,y as As,z as We,A as Ve,a as It,B as _o,C as Mo,D as Oe}from"./defaultTheme-BMwjsIOh.js";import{O as bh,L as vh,M as hh,H as yh,N as xh,J as Ch,K as Sh,P as wh,E as Rh,G as $h,R as kh,S as Ph,I as Th,F as Mh,Q as Ih}from"./defaultTheme-BMwjsIOh.js";import{s as Bs,c as F,a as Ns,D as Os,b as X,g as J,C as Nn,d as tt,u as Z,e as R,m as U,r as we,f as Zo,h as js}from"./DefaultPropsProvider-CCPMtYc6.js";import{u as Le,R as zs,a as Br,i as Jo,c as Ds,b as Gr,r as Es,d as Fs,f as Us,T as Nr,e as ze,g as He,h as ue,j as K,P as Re,B as fe,I as De,k as re,s as Ws,A as On,l as Qo,C as Vs,o as _r,m as lr,n as Se,p as Hs,q as Gs,t as qo,v as yo,w as tr,D as _s,x as qs,y as jn,z as Ge,M as Ks,E as Ys,F as Xs,G as Ae,L as xo,H as Zs,J as ao,K as Js,N as Qs,O as Io,Q as ta,S as ea,U as oa,V as ra,W as zn,X as bo,Y as Dn,Z as na,_ as sa,$ as aa,a0 as ia,a1 as la}from"./TextField-B5X3FosY.js";import{a2 as Ah,a3 as Bh,a4 as Nh,a5 as Oh,a6 as jh,a7 as zh,a8 as Dh,a9 as Eh,aa as Fh,ab as Uh,ac as Wh,aW as Vh,ad as Hh,ae as Gh,af as _h,ag as qh,ah as Kh,ai as Yh,aj as Xh,be as Zh,ak as Jh,al as Qh,bp as ty,bo as ey,am as oy,an as ry,ao as ny,aq as sy,ap as ay,ar as iy,as as ly,aw as cy,aA as py,ay as dy,aE as uy,aG as fy,aK as gy,aI as my,aM as by,aO as vy,aP as hy,aR as yy,aT as xy,aV as Cy,ax as Sy,aC as wy,az as Ry,aF as $y,aH as ky,aL as Py,aN as Ty,aJ as My,aQ as Iy,aS as Ly,aU as Ay,aX as By,aZ as Ny,b0 as Oy,b2 as jy,a_ as zy,b9 as Dy,b6 as Ey,b4 as Fy,bd as Uy,bb as Wy,bg as Vy,bn as Hy,bm as Gy,bi as _y,bk as qy,bq as Ky,br as Yy,bt as Xy,bv as Zy,bB as Jy,bx as Qy,bz as t0,bD as e0,aD as o0,bE as r0,aY as n0,a$ as s0,b1 as a0,b3 as i0,b5 as l0,b7 as c0,b8 as p0,ba as d0,bc as u0,bf as f0,bh as g0,bj as m0,bl as b0,bs as v0,bu as h0,bw as y0,bA as x0,by as C0,bC as S0,aB as w0,at as R0,au as $0,av as k0}from"./TextField-B5X3FosY.js";import{C as u}from"./ConfigCustomBackItUpSet__loadShare__react__loadShare__-4sGW5l7i.js";import{j as d}from"./jsx-runtime-D2IYR6ST.js";import{u as se}from"./useTheme-DoCphjEc.js";import{e as er,u as _e,G as ca,a as pa,b as ge,c as Ft,d as ne,f as Ye,i as Ne,g as Ro,o as de,h as En,j as da,k as Je,l as Or,m as Ho,C as qr,I as ua}from"./FilledInput-z04xk4l2.js";import{F as T0,n as M0,T as I0,p as L0,q as A0}from"./FilledInput-z04xk4l2.js";import{c as Ht,S as fa}from"./createSvgIcon-BSY802_b.js";import{g as N0,s as O0}from"./createSvgIcon-BSY802_b.js";import{u as Fn,a as Un,P as Qt}from"./useTheme-CFHr9g1E.js";import{C as he}from"./ConfigCustomBackItUpSet__loadShare___mf_0_emotion_mf_1_react__loadShare__-BkqgHVEH.js";import{c as ga,S as ma}from"./emotion-cache.browser.esm-BgJfNZJN.js";import"./_commonjsHelpers-D6-XlEtG.js";import"./ConfigCustomBackItUpSet__mf_v__runtimeInit__mf_v__-kW6JvUJ8.js";import"./emotion-serialize.esm-Q4o_CgeF.js";import"./extends-CF3RwP-h.js";const cr=new Map,ba=(t,e)=>{const o=ga(t);return o.sheet=new e({key:o.key,nonce:o.sheet.nonce,container:o.sheet.container,speedy:o.sheet.isSpeedy,prepend:o.sheet.prepend,insertionPoint:o.sheet.insertionPoint}),o};let Te;if(typeof document=="object"&&(Te=document.querySelector('[name="emotion-insertion-point"]'),!Te)){Te=document.createElement("meta"),Te.setAttribute("name","emotion-insertion-point"),Te.setAttribute("content","");const t=document.querySelector("head");t&&t.prepend(Te)}function va(t,e){if(t||e){class o extends ma{insert(s,a){return this.key&&this.key.endsWith("global")&&(this.before=Te),super.insert(s,a)}}const r=ba({key:"css",insertionPoint:t?Te:void 0},o);if(e){const n=r.insert;r.insert=(...s)=>(s[1].styles.match(/^@layer\s+[^{]*$/)||(s[1].styles=`@layer mui {${s[1].styles}}`),n(...s))}return r}}function Um(t){const{injectFirst:e,enableCssLayer:o,children:r}=t,n=u.useMemo(()=>{const s=`${e}-${o}`;if(typeof document=="object"&&cr.has(s))return cr.get(s);const a=va(e,o);return cr.set(s,a),a},[e,o]);return n?d.jsx(he.CacheProvider,{value:n,children:r}):r}function ha(t={}){const{themeId:e,defaultTheme:o,defaultClassName:r="MuiBox-root",generateClassName:n}=t,s=Bs("div",{shouldForwardProp:i=>i!=="theme"&&i!=="sx"&&i!=="as"})(An);return u.forwardRef(function(l,c){const p=Fn(o),{className:f,component:m="div",...g}=er(l);return d.jsx(s,{as:m,ref:c,className:F(f,n?n(r):r),theme:e&&p[e]||p,...g})})}const jr=Ns();function Wm(t,e){return()=>null}function Vm(t,e){return()=>null}function Hm(t,e,o,r,n){return null}const zr=t=>{const e=u.useRef({});return u.useEffect(()=>{e.current=t}),e.current};function Wn(t){return u.Children.toArray(t).filter(e=>u.isValidElement(e))}const Vn=u.createContext(null);function Dr(){return u.useContext(Vn)}const ya=typeof Symbol=="function"&&Symbol.for,xa=ya?Symbol.for("mui.nested"):"__THEME_NESTED__";function Ca(t,e){return typeof e=="function"?e(t):{...t,...e}}function Sa(t){const{children:e,theme:o}=t,r=Dr(),n=u.useMemo(()=>{const s=r===null?{...o}:Ca(r,o);return s!=null&&(s[xa]=r!==null),s},[o,r]);return d.jsx(Vn.Provider,{value:n,children:e})}function wa(t){const e=Un(),o=Le()||"",{modularCssLayers:r}=t;let n="mui.global, mui.components, mui.theme, mui.custom, mui.sx";return!r||e!==null?n="":typeof r=="string"?n=r.replace(/mui(?!\.)/g,n):n=`@layer ${n};`,_e(()=>{var i,l;const s=document.querySelector("head");if(!s)return;const a=s.firstChild;if(n){if(a&&((i=a.hasAttribute)!=null&&i.call(a,"data-mui-layer-order"))&&a.getAttribute("data-mui-layer-order")===o)return;const c=document.createElement("style");c.setAttribute("data-mui-layer-order",o),c.textContent=n,s.prepend(c)}else(l=s.querySelector(`style[data-mui-layer-order="${o}"]`))==null||l.remove()},[n,o]),n?d.jsx(ca,{styles:n}):null}const Kr={};function Yr(t,e,o,r=!1){return u.useMemo(()=>{const n=t&&e[t]||e;if(typeof o=="function"){const s=o(n),a=t?{...e,[t]:s}:s;return r?()=>a:a}return t?{...e,[t]:o}:{...e,...o}},[t,e,o,r])}function Hn(t){const{children:e,theme:o,themeId:r}=t,n=Un(Kr),s=Dr()||Kr,a=Yr(r,n,o),i=Yr(r,s,o,!0),l=(r?a[r]:a).direction==="rtl",c=wa(a);return d.jsx(Sa,{theme:i,children:d.jsx(he.ThemeContext.Provider,{value:a,children:d.jsx(zs,{value:l,children:d.jsxs(Os,{value:r?a[r].components:a.components,children:[c,e]})})})})}const Er="mode",Fr="color-scheme",Ra="data-color-scheme";function $a(t){const{defaultMode:e="system",defaultLightColorScheme:o="light",defaultDarkColorScheme:r="dark",modeStorageKey:n=Er,colorSchemeStorageKey:s=Fr,attribute:a=Ra,colorSchemeNode:i="document.documentElement",nonce:l}=t||{};let c="",p=a;if(a==="class"&&(p=".%s"),a==="data"&&(p="[data-%s]"),p.startsWith(".")){const m=p.substring(1);c+=`${i}.classList.remove('${m}'.replace('%s', light), '${m}'.replace('%s', dark));
${i}.classList.add('${m}'.replace('%s', colorScheme));`}const f=p.match(/\[([^\]]+)\]/);if(f){const[m,g]=f[1].split("=");g||(c+=`${i}.removeAttribute('${m}'.replace('%s', light));
${i}.removeAttribute('${m}'.replace('%s', dark));`),c+=`
${i}.setAttribute('${m}'.replace('%s', colorScheme), ${g?`${g}.replace('%s', colorScheme)`:'""'});`}else c+=`${i}.setAttribute('${p}', colorScheme);`;return d.jsx("script",{suppressHydrationWarning:!0,nonce:typeof window>"u"?l:"",dangerouslySetInnerHTML:{__html:`(function() {
try {
let colorScheme = '';
const mode = localStorage.getItem('${n}') || '${e}';
const dark = localStorage.getItem('${s}-dark') || '${r}';
const light = localStorage.getItem('${s}-light') || '${o}';
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) {
${c}
}
} catch(e){}})();`}},"mui-color-scheme-init")}function ka(){}const Pa=({key:t,storageWindow:e})=>(!e&&typeof window<"u"&&(e=window),{get(o){if(typeof window>"u")return;if(!e)return o;let r;try{r=e.localStorage.getItem(t)}catch{}return r||o},set:o=>{if(e)try{e.localStorage.setItem(t,o)}catch{}},subscribe:o=>{if(!e)return ka;const r=n=>{const s=n.newValue;n.key===t&&o(s)};return e.addEventListener("storage",r),()=>{e.removeEventListener("storage",r)}}});function pr(){}function Xr(t){if(typeof window<"u"&&typeof window.matchMedia=="function"&&t==="system")return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}function Gn(t,e){if(t.mode==="light"||t.mode==="system"&&t.systemMode==="light")return e("light");if(t.mode==="dark"||t.mode==="system"&&t.systemMode==="dark")return e("dark")}function Ta(t){return Gn(t,e=>{if(e==="light")return t.lightColorScheme;if(e==="dark")return t.darkColorScheme})}function Ma(t){const{defaultMode:e="light",defaultLightColorScheme:o,defaultDarkColorScheme:r,supportedColorSchemes:n=[],modeStorageKey:s=Er,colorSchemeStorageKey:a=Fr,storageWindow:i=typeof window>"u"?void 0:window,storageManager:l=Pa,noSsr:c=!1}=t,p=n.join(","),f=n.length>1,m=u.useMemo(()=>l==null?void 0:l({key:s,storageWindow:i}),[l,s,i]),g=u.useMemo(()=>l==null?void 0:l({key:`${a}-light`,storageWindow:i}),[l,a,i]),v=u.useMemo(()=>l==null?void 0:l({key:`${a}-dark`,storageWindow:i}),[l,a,i]),[b,y]=u.useState(()=>{const P=(m==null?void 0:m.get(e))||e,S=(g==null?void 0:g.get(o))||o,k=(v==null?void 0:v.get(r))||r;return{mode:P,systemMode:Xr(P),lightColorScheme:S,darkColorScheme:k}}),[h,x]=u.useState(c||!f);u.useEffect(()=>{x(!0)},[]);const C=Ta(b),$=u.useCallback(P=>{y(S=>{if(P===S.mode)return S;const k=P??e;return m==null||m.set(k),{...S,mode:k,systemMode:Xr(k)}})},[m,e]),M=u.useCallback(P=>{P?typeof P=="string"?P&&!p.includes(P)?console.error(`\`${P}\` does not exist in \`theme.colorSchemes\`.`):y(S=>{const k={...S};return Gn(S,O=>{O==="light"&&(g==null||g.set(P),k.lightColorScheme=P),O==="dark"&&(v==null||v.set(P),k.darkColorScheme=P)}),k}):y(S=>{const k={...S},O=P.light===null?o:P.light,L=P.dark===null?r:P.dark;return O&&(p.includes(O)?(k.lightColorScheme=O,g==null||g.set(O)):console.error(`\`${O}\` does not exist in \`theme.colorSchemes\`.`)),L&&(p.includes(L)?(k.darkColorScheme=L,v==null||v.set(L)):console.error(`\`${L}\` does not exist in \`theme.colorSchemes\`.`)),k}):y(S=>(g==null||g.set(o),v==null||v.set(r),{...S,lightColorScheme:o,darkColorScheme:r}))},[p,g,v,o,r]),B=u.useCallback(P=>{b.mode==="system"&&y(S=>{const k=P!=null&&P.matches?"dark":"light";return S.systemMode===k?S:{...S,systemMode:k}})},[b.mode]),T=u.useRef(B);return T.current=B,u.useEffect(()=>{if(typeof window.matchMedia!="function"||!f)return;const P=(...k)=>T.current(...k),S=window.matchMedia("(prefers-color-scheme: dark)");return S.addListener(P),P(S),()=>{S.removeListener(P)}},[f]),u.useEffect(()=>{if(f){const P=(m==null?void 0:m.subscribe(O=>{(!O||["light","dark","system"].includes(O))&&$(O||e)}))||pr,S=(g==null?void 0:g.subscribe(O=>{(!O||p.match(O))&&M({light:O})}))||pr,k=(v==null?void 0:v.subscribe(O=>{(!O||p.match(O))&&M({dark:O})}))||pr;return()=>{P(),S(),k()}}},[M,$,p,e,i,f,m,g,v]),{...b,mode:h?b.mode:void 0,systemMode:h?b.systemMode:void 0,colorScheme:h?C:void 0,setMode:$,setColorScheme:M}}const Ia="*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";function La(t){const{themeId:e,theme:o={},modeStorageKey:r=Er,colorSchemeStorageKey:n=Fr,disableTransitionOnChange:s=!1,defaultColorScheme:a,resolveTheme:i}=t,l={allColorSchemes:[],colorScheme:void 0,darkColorScheme:void 0,lightColorScheme:void 0,mode:void 0,setColorScheme:()=>{},setMode:()=>{},systemMode:void 0},c=u.createContext(void 0),p=()=>u.useContext(c)||l,f={},m={};function g(h){var Wt,E,q,nt;const{children:x,theme:C,modeStorageKey:$=r,colorSchemeStorageKey:M=n,disableTransitionOnChange:B=s,storageManager:T,storageWindow:P=typeof window>"u"?void 0:window,documentNode:S=typeof document>"u"?void 0:document,colorSchemeNode:k=typeof document>"u"?void 0:document.documentElement,disableNestedContext:O=!1,disableStyleSheetGeneration:L=!1,defaultMode:w="system",noSsr:A}=h,H=u.useRef(!1),z=Dr(),Q=u.useContext(c),D=!!Q&&!O,ot=u.useMemo(()=>C||(typeof o=="function"?o():o),[C]),ut=ot[e],W=ut||ot,{colorSchemes:mt=f,components:At=m,cssVarPrefix:wt}=W,pt=Object.keys(mt).filter(ct=>!!mt[ct]).join(","),et=u.useMemo(()=>pt.split(","),[pt]),V=typeof a=="string"?a:a.light,at=typeof a=="string"?a:a.dark,ft=mt[V]&&mt[at]?w:((E=(Wt=mt[W.defaultColorScheme])==null?void 0:Wt.palette)==null?void 0:E.mode)||((q=W.palette)==null?void 0:q.mode),{mode:vt,setMode:Rt,systemMode:st,lightColorScheme:dt,darkColorScheme:bt,colorScheme:Ct,setColorScheme:Nt}=Ma({supportedColorSchemes:et,defaultLightColorScheme:V,defaultDarkColorScheme:at,modeStorageKey:$,colorSchemeStorageKey:M,defaultMode:ft,storageManager:T,storageWindow:P,noSsr:A});let Y=vt,_=Ct;D&&(Y=Q.mode,_=Q.colorScheme);const rt=u.useMemo(()=>{var ht;const ct=_||W.defaultColorScheme,it=((ht=W.generateThemeVars)==null?void 0:ht.call(W))||W.vars,G={...W,components:At,colorSchemes:mt,cssVarPrefix:wt,vars:it};if(typeof G.generateSpacing=="function"&&(G.spacing=G.generateSpacing()),ct){const Lt=mt[ct];Lt&&typeof Lt=="object"&&Object.keys(Lt).forEach(St=>{Lt[St]&&typeof Lt[St]=="object"?G[St]={...G[St],...Lt[St]}:G[St]=Lt[St]})}return i?i(G):G},[W,_,At,mt,wt]),yt=W.colorSchemeSelector;_e(()=>{if(_&&k&&yt&&yt!=="media"){const ct=yt;let it=yt;if(ct==="class"&&(it=".%s"),ct==="data"&&(it="[data-%s]"),ct!=null&&ct.startsWith("data-")&&!ct.includes("%s")&&(it=`[${ct}="%s"]`),it.startsWith("."))k.classList.remove(...et.map(G=>it.substring(1).replace("%s",G))),k.classList.add(it.substring(1).replace("%s",_));else{const G=it.replace("%s",_).match(/\[([^\]]+)\]/);if(G){const[ht,Lt]=G[1].split("=");Lt||et.forEach(St=>{k.removeAttribute(ht.replace(_,St))}),k.setAttribute(ht,Lt?Lt.replace(/"|'/g,""):"")}else k.setAttribute(it,_)}}},[_,yt,k,et]),u.useEffect(()=>{let ct;if(B&&H.current&&S){const it=S.createElement("style");it.appendChild(S.createTextNode(Ia)),S.head.appendChild(it),window.getComputedStyle(S.body),ct=setTimeout(()=>{S.head.removeChild(it)},1)}return()=>{clearTimeout(ct)}},[_,B,S]),u.useEffect(()=>(H.current=!0,()=>{H.current=!1}),[]);const gt=u.useMemo(()=>({allColorSchemes:et,colorScheme:_,darkColorScheme:bt,lightColorScheme:dt,mode:Y,setColorScheme:Nt,setMode:Rt,systemMode:st}),[et,_,bt,dt,Y,Nt,Rt,st,rt.colorSchemeSelector]);let $t=!0;(L||W.cssVariables===!1||D&&(z==null?void 0:z.cssVarPrefix)===wt)&&($t=!1);const Mt=d.jsxs(u.Fragment,{children:[d.jsx(Hn,{themeId:ut?e:void 0,theme:rt,children:x}),$t&&d.jsx(pa,{styles:((nt=rt.generateStyleSheets)==null?void 0:nt.call(rt))||[]})]});return D?Mt:d.jsx(c.Provider,{value:gt,children:Mt})}const v=typeof a=="string"?a:a.light,b=typeof a=="string"?a:a.dark;return{CssVarsProvider:g,useColorScheme:p,getInitColorSchemeScript:h=>$a({colorSchemeStorageKey:n,defaultLightColorScheme:v,defaultDarkColorScheme:b,modeStorageKey:r,...h})}}const Aa=Lr(),Ba=jr("div",{name:"MuiContainer",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:o}=t;return[e.root,e[`maxWidth${I(String(o.maxWidth))}`],o.fixed&&e.fixed,o.disableGutters&&e.disableGutters]}}),Na=t=>Br({props:t,name:"MuiContainer",defaultTheme:Aa}),Oa=(t,e)=>{const o=l=>J(e,l),{classes:r,fixed:n,disableGutters:s,maxWidth:a}=t,i={root:["root",a&&`maxWidth${I(String(a))}`,n&&"fixed",s&&"disableGutters"]};return X(i,o,r)};function ja(t={}){const{createStyledComponent:e=Ba,useThemeProps:o=Na,componentName:r="MuiContainer"}=t,n=e(({theme:a,ownerState:i})=>({width:"100%",marginLeft:"auto",boxSizing:"border-box",marginRight:"auto",...!i.disableGutters&&{paddingLeft:a.spacing(2),paddingRight:a.spacing(2),[a.breakpoints.up("sm")]:{paddingLeft:a.spacing(3),paddingRight:a.spacing(3)}}}),({theme:a,ownerState:i})=>i.fixed&&Object.keys(a.breakpoints.values).reduce((l,c)=>{const p=c,f=a.breakpoints.values[p];return f!==0&&(l[a.breakpoints.up(p)]={maxWidth:`${f}${a.breakpoints.unit}`}),l},{}),({theme:a,ownerState:i})=>({...i.maxWidth==="xs"&&{[a.breakpoints.up("xs")]:{maxWidth:Math.max(a.breakpoints.values.xs,444)}},...i.maxWidth&&i.maxWidth!=="xs"&&{[a.breakpoints.up(i.maxWidth)]:{maxWidth:`${a.breakpoints.values[i.maxWidth]}${a.breakpoints.unit}`}}}));return u.forwardRef(function(i,l){const c=o(i),{className:p,component:f="div",disableGutters:m=!1,fixed:g=!1,maxWidth:v="lg",classes:b,...y}=c,h={...c,component:f,disableGutters:m,fixed:g,maxWidth:v},x=Oa(h,r);return d.jsx(n,{as:f,ownerState:h,className:F(x.root,p),ref:l,...y})})}const za=(t,e)=>t.filter(o=>e.includes(o)),to=(t,e,o)=>{const r=t.keys[0];Array.isArray(e)?e.forEach((n,s)=>{o((a,i)=>{s<=t.keys.length-1&&(s===0?Object.assign(a,i):a[t.up(t.keys[s])]=i)},n)}):e&&typeof e=="object"?(Object.keys(e).length>t.keys.length?t.keys:za(t.keys,Object.keys(e))).forEach(s=>{if(t.keys.includes(s)){const a=e[s];a!==void 0&&o((i,l)=>{r===s?Object.assign(i,l):i[t.up(s)]=l},a)}}):(typeof e=="number"||typeof e=="string")&&o((n,s)=>{Object.assign(n,s)},e)};function Ko(t){return`--Grid-${t}Spacing`}function or(t){return`--Grid-parent-${t}Spacing`}const Zr="--Grid-columns",Qe="--Grid-parent-columns",Da=({theme:t,ownerState:e})=>{const o={};return to(t.breakpoints,e.size,(r,n)=>{let s={};n==="grow"&&(s={flexBasis:0,flexGrow:1,maxWidth:"100%"}),n==="auto"&&(s={flexBasis:"auto",flexGrow:0,flexShrink:0,maxWidth:"none",width:"auto"}),typeof n=="number"&&(s={flexGrow:0,flexBasis:"auto",width:`calc(100% * ${n} / var(${Qe}) - (var(${Qe}) - ${n}) * (var(${or("column")}) / var(${Qe})))`}),r(o,s)}),o},Ea=({theme:t,ownerState:e})=>{const o={};return to(t.breakpoints,e.offset,(r,n)=>{let s={};n==="auto"&&(s={marginLeft:"auto"}),typeof n=="number"&&(s={marginLeft:n===0?"0px":`calc(100% * ${n} / var(${Qe}) + var(${or("column")}) * ${n} / var(${Qe}))`}),r(o,s)}),o},Fa=({theme:t,ownerState:e})=>{if(!e.container)return{};const o={[Zr]:12};return to(t.breakpoints,e.columns,(r,n)=>{const s=n??12;r(o,{[Zr]:s,"> *":{[Qe]:s}})}),o},Ua=({theme:t,ownerState:e})=>{if(!e.container)return{};const o={};return to(t.breakpoints,e.rowSpacing,(r,n)=>{var a;const s=typeof n=="string"?n:(a=t.spacing)==null?void 0:a.call(t,n);r(o,{[Ko("row")]:s,"> *":{[or("row")]:s}})}),o},Wa=({theme:t,ownerState:e})=>{if(!e.container)return{};const o={};return to(t.breakpoints,e.columnSpacing,(r,n)=>{var a;const s=typeof n=="string"?n:(a=t.spacing)==null?void 0:a.call(t,n);r(o,{[Ko("column")]:s,"> *":{[or("column")]:s}})}),o},Va=({theme:t,ownerState:e})=>{if(!e.container)return{};const o={};return to(t.breakpoints,e.direction,(r,n)=>{r(o,{flexDirection:n})}),o},Ha=({ownerState:t})=>({minWidth:0,boxSizing:"border-box",...t.container&&{display:"flex",flexWrap:"wrap",...t.wrap&&t.wrap!=="wrap"&&{flexWrap:t.wrap},gap:`var(${Ko("row")}) var(${Ko("column")})`}}),Ga=t=>{const e=[];return Object.entries(t).forEach(([o,r])=>{r!==!1&&r!==void 0&&e.push(`grid-${o}-${String(r)}`)}),e},_a=(t,e="xs")=>{function o(r){return r===void 0?!1:typeof r=="string"&&!Number.isNaN(Number(r))||typeof r=="number"&&r>0}if(o(t))return[`spacing-${e}-${String(t)}`];if(typeof t=="object"&&!Array.isArray(t)){const r=[];return Object.entries(t).forEach(([n,s])=>{o(s)&&r.push(`spacing-${n}-${String(s)}`)}),r}return[]},qa=t=>t===void 0?[]:typeof t=="object"?Object.entries(t).map(([e,o])=>`direction-${e}-${o}`):[`direction-xs-${String(t)}`];function Ka(t,e){t.item!==void 0&&delete t.item,t.zeroMinWidth!==void 0&&delete t.zeroMinWidth,e.keys.forEach(o=>{t[o]!==void 0&&delete t[o]})}const Ya=Lr(),Xa=jr("div",{name:"MuiGrid",slot:"Root",overridesResolver:(t,e)=>e.root});function Za(t){return Br({props:t,name:"MuiGrid",defaultTheme:Ya})}function Ja(t={}){const{createStyledComponent:e=Xa,useThemeProps:o=Za,useTheme:r=Fn,componentName:n="MuiGrid"}=t,s=(c,p)=>{const{container:f,direction:m,spacing:g,wrap:v,size:b}=c,y={root:["root",f&&"container",v!=="wrap"&&`wrap-xs-${String(v)}`,...qa(m),...Ga(b),...f?_a(g,p.breakpoints.keys[0]):[]]};return X(y,h=>J(n,h),{})};function a(c,p,f=()=>!0){const m={};return c===null||(Array.isArray(c)?c.forEach((g,v)=>{g!==null&&f(g)&&p.keys[v]&&(m[p.keys[v]]=g)}):typeof c=="object"?Object.keys(c).forEach(g=>{const v=c[g];v!=null&&f(v)&&(m[g]=v)}):m[p.keys[0]]=c),m}const i=e(Fa,Wa,Ua,Da,Va,Ha,Ea),l=u.forwardRef(function(p,f){const m=r(),g=o(p),v=er(g);Ka(v,m.breakpoints);const{className:b,children:y,columns:h=12,container:x=!1,component:C="div",direction:$="row",wrap:M="wrap",size:B={},offset:T={},spacing:P=0,rowSpacing:S=P,columnSpacing:k=P,unstable_level:O=0,...L}=v,w=a(B,m.breakpoints,W=>W!==!1),A=a(T,m.breakpoints),H=p.columns??(O?void 0:h),z=p.spacing??(O?void 0:P),Q=p.rowSpacing??p.spacing??(O?void 0:S),D=p.columnSpacing??p.spacing??(O?void 0:k),ot={...v,level:O,columns:H,container:x,direction:$,wrap:M,spacing:z,rowSpacing:Q,columnSpacing:D,size:w,offset:A},ut=s(ot,m);return d.jsx(i,{ref:f,as:C,ownerState:ot,className:F(ut.root,b),...L,children:u.Children.map(y,W=>{var mt;return u.isValidElement(W)&&Jo(W,["Grid"])&&x&&W.props.container?u.cloneElement(W,{unstable_level:((mt=W.props)==null?void 0:mt.unstable_level)??O+1}):W})})});return l.muiName="Grid",l}const Qa=Lr(),ti=jr("div",{name:"MuiStack",slot:"Root",overridesResolver:(t,e)=>e.root});function ei(t){return Br({props:t,name:"MuiStack",defaultTheme:Qa})}function oi(t,e){const o=u.Children.toArray(t).filter(Boolean);return o.reduce((r,n,s)=>(r.push(n),s<o.length-1&&r.push(u.cloneElement(e,{key:`separator-${s}`})),r),[])}const ri=t=>({row:"Left","row-reverse":"Right",column:"Top","column-reverse":"Bottom"})[t],ni=({ownerState:t,theme:e})=>{let o={display:"flex",flexDirection:"column",...ho({theme:e},Fe({values:t.direction,breakpoints:e.breakpoints.values}),r=>({flexDirection:r}))};if(t.spacing){const r=hs(e),n=Object.keys(e.breakpoints.values).reduce((l,c)=>((typeof t.spacing=="object"&&t.spacing[c]!=null||typeof t.direction=="object"&&t.direction[c]!=null)&&(l[c]=!0),l),{}),s=Fe({values:t.direction,base:n}),a=Fe({values:t.spacing,base:n});typeof s=="object"&&Object.keys(s).forEach((l,c,p)=>{if(!s[l]){const m=c>0?s[p[c-1]]:"column";s[l]=m}}),o=Bn(o,ho({theme:e},a,(l,c)=>t.useFlexGap?{gap:Hr(r,l)}:{"& > :not(style):not(style)":{margin:0},"& > :not(style) ~ :not(style)":{[`margin${ri(c?s[c]:t.direction)}`]:Hr(r,l)}}))}return o=ys(e.breakpoints,o),o};function si(t={}){const{createStyledComponent:e=ti,useThemeProps:o=ei,componentName:r="MuiStack"}=t,n=()=>X({root:["root"]},l=>J(r,l),{}),s=e(ni);return u.forwardRef(function(l,c){const p=o(l),f=er(p),{component:m="div",direction:g="column",spacing:v=0,divider:b,children:y,className:h,useFlexGap:x=!1,...C}=f,$={direction:g,spacing:v,useFlexGap:x},M=n();return d.jsx(s,{as:m,ownerState:$,ref:c,className:F(M.root,h),...C,children:b?oi(y,b):y})})}function Gm(t){const{defaultProps:e={},mixins:o={},overrides:r={},palette:n={},props:s={},styleOverrides:a={},...i}=t,l={...i,components:{}};Object.keys(e).forEach(b=>{const y=l.components[b]||{};y.defaultProps=e[b],l.components[b]=y}),Object.keys(s).forEach(b=>{const y=l.components[b]||{};y.defaultProps=s[b],l.components[b]=y}),Object.keys(a).forEach(b=>{const y=l.components[b]||{};y.styleOverrides=a[b],l.components[b]=y}),Object.keys(r).forEach(b=>{const y=l.components[b]||{};y.styleOverrides=r[b],l.components[b]=y}),l.spacing=xs(t.spacing);const c=Cs(t.breakpoints||{}),p=l.spacing;l.mixins={gutters:(b={})=>({paddingLeft:p(2),paddingRight:p(2),...b,[c.up("sm")]:{paddingLeft:p(3),paddingRight:p(3),...b[c.up("sm")]}}),...o};const{type:f,mode:m,...g}=n,v=m||f||"light";return l.palette={text:{hint:v==="dark"?"rgba(255, 255, 255, 0.5)":"rgba(0, 0, 0, 0.38)"},mode:v,type:v,...g},l}function _m(t,...e){return Ar(Bn({unstable_strictMode:!0},t),...e)}let Jr=!1;function qm(t){return Jr||(console.warn(["MUI: createStyles from @mui/material/styles is deprecated.","Please use @mui/styles/createStyles"].join(`
`)),Jr=!0),t}function Km(t,e={}){const{breakpoints:o=["sm","md","lg"],disableAlign:r=!1,factor:n=2,variants:s=["h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","caption","button","overline"]}=e,a={...t};a.typography={...a.typography};const i=a.typography,l=Ds(i.htmlFontSize),c=o.map(p=>a.breakpoints.values[p]);return s.forEach(p=>{const f=i[p];if(!f)return;const m=parseFloat(l(f.fontSize,"rem"));if(m<=1)return;const g=m,v=1+(g-1)/n;let{lineHeight:b}=f;if(!Gr(b)&&!r)throw new Error(wo(6));Gr(b)||(b=parseFloat(l(b,"rem"))/parseFloat(m));let y=null;r||(y=h=>Fs({size:h,grid:Us({pixels:4,lineHeight:b,htmlFontSize:i.htmlFontSize})})),i[p]={...f,...Es({cssProperty:"fontSize",min:v,max:g,unit:"rem",breakpoints:c,transform:y})}}),a}function ai({theme:t,...e}){const o=Ue in t?t[Ue]:void 0;return d.jsx(Hn,{...e,themeId:o?Ue:void 0,theme:o||t})}const Lo={colorSchemeStorageKey:"mui-color-scheme",defaultLightColorScheme:"light",defaultDarkColorScheme:"dark",modeStorageKey:"mui-mode"},{CssVarsProvider:_n,useColorScheme:Ym,getInitColorSchemeScript:ii}=La({themeId:Ue,theme:()=>Ar({cssVariables:!0}),colorSchemeStorageKey:Lo.colorSchemeStorageKey,modeStorageKey:Lo.modeStorageKey,defaultColorScheme:{light:Lo.defaultLightColorScheme,dark:Lo.defaultDarkColorScheme},resolveTheme:t=>{const e={...t,typography:Ss(t.palette,t.typography)};return e.unstable_sx=function(r){return An({sx:r,theme:this})},e}});function Xm(t){return d.jsx(_n,{...t})}let Qr=!1;const Zm=t=>(Qr||(console.warn(["MUI: The getInitColorSchemeScript function has been deprecated.","","You should use `import InitColorSchemeScript from '@mui/material/InitColorSchemeScript'`","and replace the function call with `<InitColorSchemeScript />` instead."].join(`
`)),Qr=!0),ii(t)),li=_n;function Jm({theme:t,...e}){const o=u.useMemo(()=>{if(typeof t=="function")return t;const r=Ue in t?t[Ue]:t;return"colorSchemes"in r?null:"vars"in r?t:{...t,vars:null}},[t]);return o?d.jsx(ai,{theme:o,...e}):d.jsx(li,{theme:t,...e})}function Qm(){throw new Error(wo(14))}function tb(){throw new Error(wo(15))}function eb(){throw new Error(wo(16))}let tn=!1;function ob(...t){return tn||(console.warn(["MUI: The `experimental_extendTheme` has been stabilized.","","You should use `import { extendTheme } from '@mui/material/styles'`"].join(`
`)),tn=!0),ws(...t)}function rb(){throw new Error(wo(19))}const ci={50:"#fce4ec",100:"#f8bbd0",200:"#f48fb1",300:"#f06292",400:"#ec407a",500:"#e91e63",600:"#d81b60",700:"#c2185b",800:"#ad1457",900:"#880e4f",A100:"#ff80ab",A200:"#ff4081",A400:"#f50057",A700:"#c51162"},pi={50:"#ede7f6",100:"#d1c4e9",200:"#b39ddb",300:"#9575cd",400:"#7e57c2",500:"#673ab7",600:"#5e35b1",700:"#512da8",800:"#4527a0",900:"#311b92",A100:"#b388ff",A200:"#7c4dff",A400:"#651fff",A700:"#6200ea"},di={50:"#e8eaf6",100:"#c5cae9",200:"#9fa8da",300:"#7986cb",400:"#5c6bc0",500:"#3f51b5",600:"#3949ab",700:"#303f9f",800:"#283593",900:"#1a237e",A100:"#8c9eff",A200:"#536dfe",A400:"#3d5afe",A700:"#304ffe"},ui={50:"#e0f7fa",100:"#b2ebf2",200:"#80deea",300:"#4dd0e1",400:"#26c6da",500:"#00bcd4",600:"#00acc1",700:"#0097a7",800:"#00838f",900:"#006064",A100:"#84ffff",A200:"#18ffff",A400:"#00e5ff",A700:"#00b8d4"},fi={50:"#e0f2f1",100:"#b2dfdb",200:"#80cbc4",300:"#4db6ac",400:"#26a69a",500:"#009688",600:"#00897b",700:"#00796b",800:"#00695c",900:"#004d40",A100:"#a7ffeb",A200:"#64ffda",A400:"#1de9b6",A700:"#00bfa5"},gi={50:"#f1f8e9",100:"#dcedc8",200:"#c5e1a5",300:"#aed581",400:"#9ccc65",500:"#8bc34a",600:"#7cb342",700:"#689f38",800:"#558b2f",900:"#33691e",A100:"#ccff90",A200:"#b2ff59",A400:"#76ff03",A700:"#64dd17"},mi={50:"#f9fbe7",100:"#f0f4c3",200:"#e6ee9c",300:"#dce775",400:"#d4e157",500:"#cddc39",600:"#c0ca33",700:"#afb42b",800:"#9e9d24",900:"#827717",A100:"#f4ff81",A200:"#eeff41",A400:"#c6ff00",A700:"#aeea00"},bi={50:"#fffde7",100:"#fff9c4",200:"#fff59d",300:"#fff176",400:"#ffee58",500:"#ffeb3b",600:"#fdd835",700:"#fbc02d",800:"#f9a825",900:"#f57f17",A100:"#ffff8d",A200:"#ffff00",A400:"#ffea00",A700:"#ffd600"},vi={50:"#fff8e1",100:"#ffecb3",200:"#ffe082",300:"#ffd54f",400:"#ffca28",500:"#ffc107",600:"#ffb300",700:"#ffa000",800:"#ff8f00",900:"#ff6f00",A100:"#ffe57f",A200:"#ffd740",A400:"#ffc400",A700:"#ffab00"},hi={50:"#fbe9e7",100:"#ffccbc",200:"#ffab91",300:"#ff8a65",400:"#ff7043",500:"#ff5722",600:"#f4511e",700:"#e64a19",800:"#d84315",900:"#bf360c",A100:"#ff9e80",A200:"#ff6e40",A400:"#ff3d00",A700:"#dd2c00"},yi={50:"#efebe9",100:"#d7ccc8",200:"#bcaaa4",300:"#a1887f",400:"#8d6e63",500:"#795548",600:"#6d4c41",700:"#5d4037",800:"#4e342e",900:"#3e2723",A100:"#d7ccc8",A200:"#bcaaa4",A400:"#8d6e63",A700:"#5d4037"},xi={50:"#eceff1",100:"#cfd8dc",200:"#b0bec5",300:"#90a4ae",400:"#78909c",500:"#607d8b",600:"#546e7a",700:"#455a64",800:"#37474f",900:"#263238",A100:"#cfd8dc",A200:"#b0bec5",A400:"#78909c",A700:"#455a64"},nb=Object.freeze(Object.defineProperty({__proto__:null,amber:vi,blue:Rs,blueGrey:xi,brown:yi,common:$s,cyan:ui,deepOrange:hi,deepPurple:pi,green:ks,grey:Ps,indigo:di,lightBlue:Ts,lightGreen:gi,lime:mi,orange:Ms,pink:ci,purple:Is,red:Ls,teal:fi,yellow:bi},Symbol.toStringTag,{value:"Module"})),sb={configure:t=>{Nn.configure(t)}};function Ci(t){return J("MuiCollapse",t)}const ab=tt("MuiCollapse",["root","horizontal","vertical","entered","hidden","wrapper","wrapperInner"]),Si=t=>{const{orientation:e,classes:o}=t,r={root:["root",`${e}`],entered:["entered"],hidden:["hidden"],wrapper:["wrapper",`${e}`],wrapperInner:["wrapperInner",`${e}`]};return X(r,Ci,o)},wi=R("div",{name:"MuiCollapse",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:o}=t;return[e.root,e[o.orientation],o.state==="entered"&&e.entered,o.state==="exited"&&!o.in&&o.collapsedSize==="0px"&&e.hidden]}})(U(({theme:t})=>({height:0,overflow:"hidden",transition:t.transitions.create("height"),variants:[{props:{orientation:"horizontal"},style:{height:"auto",width:0,transition:t.transitions.create("width")}},{props:{state:"entered"},style:{height:"auto",overflow:"visible"}},{props:{state:"entered",orientation:"horizontal"},style:{width:"auto"}},{props:({ownerState:e})=>e.state==="exited"&&!e.in&&e.collapsedSize==="0px",style:{visibility:"hidden"}}]}))),Ri=R("div",{name:"MuiCollapse",slot:"Wrapper",overridesResolver:(t,e)=>e.wrapper})({display:"flex",width:"100%",variants:[{props:{orientation:"horizontal"},style:{width:"auto",height:"100%"}}]}),$i=R("div",{name:"MuiCollapse",slot:"WrapperInner",overridesResolver:(t,e)=>e.wrapperInner})({width:"100%",variants:[{props:{orientation:"horizontal"},style:{width:"auto",height:"100%"}}]}),Co=u.forwardRef(function(e,o){const r=Z({props:e,name:"MuiCollapse"}),{addEndListener:n,children:s,className:a,collapsedSize:i="0px",component:l,easing:c,in:p,onEnter:f,onEntered:m,onEntering:g,onExit:v,onExited:b,onExiting:y,orientation:h="vertical",style:x,timeout:C=As.standard,TransitionComponent:$=Nr,...M}=r,B={...r,orientation:h,collapsedSize:i},T=Si(B),P=se(),S=ze(),k=u.useRef(null),O=u.useRef(),L=typeof i=="number"?`${i}px`:i,w=h==="horizontal",A=w?"width":"height",H=u.useRef(null),z=ge(o,H),Q=et=>V=>{if(et){const at=H.current;V===void 0?et(at):et(at,V)}},D=()=>k.current?k.current[w?"clientWidth":"clientHeight"]:0,ot=Q((et,V)=>{k.current&&w&&(k.current.style.position="absolute"),et.style[A]=L,f&&f(et,V)}),ut=Q((et,V)=>{const at=D();k.current&&w&&(k.current.style.position="");const{duration:ft,easing:vt}=He({style:x,timeout:C,easing:c},{mode:"enter"});if(C==="auto"){const Rt=P.transitions.getAutoHeightDuration(at);et.style.transitionDuration=`${Rt}ms`,O.current=Rt}else et.style.transitionDuration=typeof ft=="string"?ft:`${ft}ms`;et.style[A]=`${at}px`,et.style.transitionTimingFunction=vt,g&&g(et,V)}),W=Q((et,V)=>{et.style[A]="auto",m&&m(et,V)}),mt=Q(et=>{et.style[A]=`${D()}px`,v&&v(et)}),At=Q(b),wt=Q(et=>{const V=D(),{duration:at,easing:ft}=He({style:x,timeout:C,easing:c},{mode:"exit"});if(C==="auto"){const vt=P.transitions.getAutoHeightDuration(V);et.style.transitionDuration=`${vt}ms`,O.current=vt}else et.style.transitionDuration=typeof at=="string"?at:`${at}ms`;et.style[A]=L,et.style.transitionTimingFunction=ft,y&&y(et)}),pt=et=>{C==="auto"&&S.start(O.current||0,et),n&&n(H.current,et)};return d.jsx($,{in:p,onEnter:ot,onEntered:W,onEntering:ut,onExit:mt,onExited:At,onExiting:wt,addEndListener:pt,nodeRef:H,timeout:C==="auto"?null:C,...M,children:(et,{ownerState:V,...at})=>d.jsx(wi,{as:l,className:F(T.root,a,{entered:T.entered,exited:!p&&L==="0px"&&T.hidden}[et]),style:{[w?"minWidth":"minHeight"]:L,...x},ref:z,ownerState:{...B,state:et},...at,children:d.jsx(Ri,{ownerState:{...B,state:et},className:T.wrapper,ref:k,children:d.jsx($i,{ownerState:{...B,state:et},className:T.wrapperInner,children:s})})})})});Co&&(Co.muiSupportAuto=!0);const qn=u.createContext({});function ki(t){return J("MuiAccordion",t)}const Ao=tt("MuiAccordion",["root","heading","rounded","expanded","disabled","gutters","region"]),Pi=t=>{const{classes:e,square:o,expanded:r,disabled:n,disableGutters:s}=t;return X({root:["root",!o&&"rounded",r&&"expanded",n&&"disabled",!s&&"gutters"],heading:["heading"],region:["region"]},ki,e)},Ti=R(Re,{name:"MuiAccordion",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:o}=t;return[{[`& .${Ao.region}`]:e.region},e.root,!o.square&&e.rounded,!o.disableGutters&&e.gutters]}})(U(({theme:t})=>{const e={duration:t.transitions.duration.shortest};return{position:"relative",transition:t.transitions.create(["margin"],e),overflowAnchor:"none","&::before":{position:"absolute",left:0,top:-1,right:0,height:1,content:'""',opacity:1,backgroundColor:(t.vars||t).palette.divider,transition:t.transitions.create(["opacity","background-color"],e)},"&:first-of-type":{"&::before":{display:"none"}},[`&.${Ao.expanded}`]:{"&::before":{opacity:0},"&:first-of-type":{marginTop:0},"&:last-of-type":{marginBottom:0},"& + &":{"&::before":{display:"none"}}},[`&.${Ao.disabled}`]:{backgroundColor:(t.vars||t).palette.action.disabledBackground}}}),U(({theme:t})=>({variants:[{props:e=>!e.square,style:{borderRadius:0,"&:first-of-type":{borderTopLeftRadius:(t.vars||t).shape.borderRadius,borderTopRightRadius:(t.vars||t).shape.borderRadius},"&:last-of-type":{borderBottomLeftRadius:(t.vars||t).shape.borderRadius,borderBottomRightRadius:(t.vars||t).shape.borderRadius,"@supports (-ms-ime-align: auto)":{borderBottomLeftRadius:0,borderBottomRightRadius:0}}}},{props:e=>!e.disableGutters,style:{[`&.${Ao.expanded}`]:{margin:"16px 0"}}}]}))),Mi=R("h3",{name:"MuiAccordion",slot:"Heading",overridesResolver:(t,e)=>e.heading})({all:"unset"}),ib=u.forwardRef(function(e,o){const r=Z({props:e,name:"MuiAccordion"}),{children:n,className:s,defaultExpanded:a=!1,disabled:i=!1,disableGutters:l=!1,expanded:c,onChange:p,square:f=!1,slots:m={},slotProps:g={},TransitionComponent:v,TransitionProps:b,...y}=r,[h,x]=ue({controlled:c,default:a,name:"Accordion",state:"expanded"}),C=u.useCallback(D=>{x(!h),p&&p(D,!h)},[h,p,x]),[$,...M]=u.Children.toArray(n),B=u.useMemo(()=>({expanded:h,disabled:i,disableGutters:l,toggle:C}),[h,i,l,C]),T={...r,square:f,disabled:i,disableGutters:l,expanded:h},P=Pi(T),S={transition:v,...m},k={transition:b,...g},O={slots:S,slotProps:k},[L,w]=K("root",{elementType:Ti,externalForwardedProps:{...O,...y},className:F(P.root,s),shouldForwardComponentProp:!0,ownerState:T,ref:o,additionalProps:{square:f}}),[A,H]=K("heading",{elementType:Mi,externalForwardedProps:O,className:P.heading,ownerState:T}),[z,Q]=K("transition",{elementType:Co,externalForwardedProps:O,ownerState:T});return d.jsxs(L,{...w,children:[d.jsx(A,{...H,children:d.jsx(qn.Provider,{value:B,children:$})}),d.jsx(z,{in:h,timeout:"auto",...Q,children:d.jsx("div",{"aria-labelledby":$.props.id,id:$.props["aria-controls"],role:"region",className:P.region,children:M})})]})});function Ii(t){return J("MuiAccordionActions",t)}const lb=tt("MuiAccordionActions",["root","spacing"]),Li=t=>{const{classes:e,disableSpacing:o}=t;return X({root:["root",!o&&"spacing"]},Ii,e)},Ai=R("div",{name:"MuiAccordionActions",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:o}=t;return[e.root,!o.disableSpacing&&e.spacing]}})({display:"flex",alignItems:"center",padding:8,justifyContent:"flex-end",variants:[{props:t=>!t.disableSpacing,style:{"& > :not(style) ~ :not(style)":{marginLeft:8}}}]}),cb=u.forwardRef(function(e,o){const r=Z({props:e,name:"MuiAccordionActions"}),{className:n,disableSpacing:s=!1,...a}=r,i={...r,disableSpacing:s},l=Li(i);return d.jsx(Ai,{className:F(l.root,n),ref:o,ownerState:i,...a})});function Bi(t){return J("MuiAccordionDetails",t)}const pb=tt("MuiAccordionDetails",["root"]),Ni=t=>{const{classes:e}=t;return X({root:["root"]},Bi,e)},Oi=R("div",{name:"MuiAccordionDetails",slot:"Root",overridesResolver:(t,e)=>e.root})(U(({theme:t})=>({padding:t.spacing(1,2,2)}))),db=u.forwardRef(function(e,o){const r=Z({props:e,name:"MuiAccordionDetails"}),{className:n,...s}=r,a=r,i=Ni(a);return d.jsx(Oi,{className:F(i.root,n),ref:o,ownerState:a,...s})});function ji(t){return J("MuiAccordionSummary",t)}const Ze=tt("MuiAccordionSummary",["root","expanded","focusVisible","disabled","gutters","contentGutters","content","expandIconWrapper"]),zi=t=>{const{classes:e,expanded:o,disabled:r,disableGutters:n}=t;return X({root:["root",o&&"expanded",r&&"disabled",!n&&"gutters"],focusVisible:["focusVisible"],content:["content",o&&"expanded",!n&&"contentGutters"],expandIconWrapper:["expandIconWrapper",o&&"expanded"]},ji,e)},Di=R(fe,{name:"MuiAccordionSummary",slot:"Root",overridesResolver:(t,e)=>e.root})(U(({theme:t})=>{const e={duration:t.transitions.duration.shortest};return{display:"flex",width:"100%",minHeight:48,padding:t.spacing(0,2),transition:t.transitions.create(["min-height","background-color"],e),[`&.${Ze.focusVisible}`]:{backgroundColor:(t.vars||t).palette.action.focus},[`&.${Ze.disabled}`]:{opacity:(t.vars||t).palette.action.disabledOpacity},[`&:hover:not(.${Ze.disabled})`]:{cursor:"pointer"},variants:[{props:o=>!o.disableGutters,style:{[`&.${Ze.expanded}`]:{minHeight:64}}}]}})),Ei=R("span",{name:"MuiAccordionSummary",slot:"Content",overridesResolver:(t,e)=>e.content})(U(({theme:t})=>({display:"flex",textAlign:"start",flexGrow:1,margin:"12px 0",variants:[{props:e=>!e.disableGutters,style:{transition:t.transitions.create(["margin"],{duration:t.transitions.duration.shortest}),[`&.${Ze.expanded}`]:{margin:"20px 0"}}}]}))),Fi=R("span",{name:"MuiAccordionSummary",slot:"ExpandIconWrapper",overridesResolver:(t,e)=>e.expandIconWrapper})(U(({theme:t})=>({display:"flex",color:(t.vars||t).palette.action.active,transform:"rotate(0deg)",transition:t.transitions.create("transform",{duration:t.transitions.duration.shortest}),[`&.${Ze.expanded}`]:{transform:"rotate(180deg)"}}))),ub=u.forwardRef(function(e,o){const r=Z({props:e,name:"MuiAccordionSummary"}),{children:n,className:s,expandIcon:a,focusVisibleClassName:i,onClick:l,slots:c,slotProps:p,...f}=r,{disabled:m=!1,disableGutters:g,expanded:v,toggle:b}=u.useContext(qn),y=k=>{b&&b(k),l&&l(k)},h={...r,expanded:v,disabled:m,disableGutters:g},x=zi(h),C={slots:c,slotProps:p},[$,M]=K("root",{ref:o,shouldForwardComponentProp:!0,className:F(x.root,s),elementType:Di,externalForwardedProps:{...C,...f},ownerState:h,additionalProps:{focusRipple:!1,disableRipple:!0,disabled:m,"aria-expanded":v,focusVisibleClassName:F(x.focusVisible,i)},getSlotProps:k=>({...k,onClick:O=>{var L;(L=k.onClick)==null||L.call(k,O),y(O)}})}),[B,T]=K("content",{className:x.content,elementType:Ei,externalForwardedProps:C,ownerState:h}),[P,S]=K("expandIconWrapper",{className:x.expandIconWrapper,elementType:Fi,externalForwardedProps:C,ownerState:h});return d.jsxs($,{...M,children:[d.jsx(B,{...T,children:n}),a&&d.jsx(P,{...S,children:a})]})});function Ui(t){return J("MuiAlert",t)}const en=tt("MuiAlert",["root","action","icon","message","filled","colorSuccess","colorInfo","colorWarning","colorError","filledSuccess","filledInfo","filledWarning","filledError","outlined","outlinedSuccess","outlinedInfo","outlinedWarning","outlinedError","standard","standardSuccess","standardInfo","standardWarning","standardError"]),Wi=Ht(d.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"),Vi=Ht(d.jsx("path",{d:"M12 5.99L19.53 19H4.47L12 5.99M12 2L1 21h22L12 2zm1 14h-2v2h2v-2zm0-6h-2v4h2v-4z"}),"ReportProblemOutlined"),Hi=Ht(d.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"),Gi=Ht(d.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"),Kn=Ht(d.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"),_i=t=>{const{variant:e,color:o,severity:r,classes:n}=t,s={root:["root",`color${I(o||r)}`,`${e}${I(o||r)}`,`${e}`],icon:["icon"],message:["message"],action:["action"]};return X(s,Ui,n)},qi=R(Re,{name:"MuiAlert",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:o}=t;return[e.root,e[o.variant],e[`${o.variant}${I(o.color||o.severity)}`]]}})(U(({theme:t})=>{const e=t.palette.mode==="light"?We:Ve,o=t.palette.mode==="light"?Ve:We;return{...t.typography.body2,backgroundColor:"transparent",display:"flex",padding:"6px 16px",variants:[...Object.entries(t.palette).filter(Ft(["light"])).map(([r])=>({props:{colorSeverity:r,variant:"standard"},style:{color:t.vars?t.vars.palette.Alert[`${r}Color`]:e(t.palette[r].light,.6),backgroundColor:t.vars?t.vars.palette.Alert[`${r}StandardBg`]:o(t.palette[r].light,.9),[`& .${en.icon}`]:t.vars?{color:t.vars.palette.Alert[`${r}IconColor`]}:{color:t.palette[r].main}}})),...Object.entries(t.palette).filter(Ft(["light"])).map(([r])=>({props:{colorSeverity:r,variant:"outlined"},style:{color:t.vars?t.vars.palette.Alert[`${r}Color`]:e(t.palette[r].light,.6),border:`1px solid ${(t.vars||t).palette[r].light}`,[`& .${en.icon}`]:t.vars?{color:t.vars.palette.Alert[`${r}IconColor`]}:{color:t.palette[r].main}}})),...Object.entries(t.palette).filter(Ft(["dark"])).map(([r])=>({props:{colorSeverity:r,variant:"filled"},style:{fontWeight:t.typography.fontWeightMedium,...t.vars?{color:t.vars.palette.Alert[`${r}FilledColor`],backgroundColor:t.vars.palette.Alert[`${r}FilledBg`]}:{backgroundColor:t.palette.mode==="dark"?t.palette[r].dark:t.palette[r].main,color:t.palette.getContrastText(t.palette[r].main)}}}))]}})),Ki=R("div",{name:"MuiAlert",slot:"Icon",overridesResolver:(t,e)=>e.icon})({marginRight:12,padding:"7px 0",display:"flex",fontSize:22,opacity:.9}),Yi=R("div",{name:"MuiAlert",slot:"Message",overridesResolver:(t,e)=>e.message})({padding:"8px 0",minWidth:0,overflow:"auto"}),Xi=R("div",{name:"MuiAlert",slot:"Action",overridesResolver:(t,e)=>e.action})({display:"flex",alignItems:"flex-start",padding:"4px 0 0 16px",marginLeft:"auto",marginRight:-8}),on={success:d.jsx(Wi,{fontSize:"inherit"}),warning:d.jsx(Vi,{fontSize:"inherit"}),error:d.jsx(Hi,{fontSize:"inherit"}),info:d.jsx(Gi,{fontSize:"inherit"})},fb=u.forwardRef(function(e,o){const r=Z({props:e,name:"MuiAlert"}),{action:n,children:s,className:a,closeText:i="Close",color:l,components:c={},componentsProps:p={},icon:f,iconMapping:m=on,onClose:g,role:v="alert",severity:b="success",slotProps:y={},slots:h={},variant:x="standard",...C}=r,$={...r,color:l,severity:b,variant:x,colorSeverity:l||b},M=_i($),B={slots:{closeButton:c.CloseButton,closeIcon:c.CloseIcon,...h},slotProps:{...p,...y}},[T,P]=K("root",{ref:o,shouldForwardComponentProp:!0,className:F(M.root,a),elementType:qi,externalForwardedProps:{...B,...C},ownerState:$,additionalProps:{role:v,elevation:0}}),[S,k]=K("icon",{className:M.icon,elementType:Ki,externalForwardedProps:B,ownerState:$}),[O,L]=K("message",{className:M.message,elementType:Yi,externalForwardedProps:B,ownerState:$}),[w,A]=K("action",{className:M.action,elementType:Xi,externalForwardedProps:B,ownerState:$}),[H,z]=K("closeButton",{elementType:De,externalForwardedProps:B,ownerState:$}),[Q,D]=K("closeIcon",{elementType:Kn,externalForwardedProps:B,ownerState:$});return d.jsxs(T,{...P,children:[f!==!1?d.jsx(S,{...k,children:f||m[b]||on[b]}):null,d.jsx(O,{...L,children:s}),n!=null?d.jsx(w,{...A,children:n}):null,n==null&&g?d.jsx(w,{...A,children:d.jsx(H,{size:"small","aria-label":i,title:i,color:"inherit",onClick:g,...z,children:d.jsx(Q,{fontSize:"small",...D})})}):null]})});function Zi(t){return J("MuiAlertTitle",t)}const gb=tt("MuiAlertTitle",["root"]),Ji=t=>{const{classes:e}=t;return X({root:["root"]},Zi,e)},Qi=R(re,{name:"MuiAlertTitle",slot:"Root",overridesResolver:(t,e)=>e.root})(U(({theme:t})=>({fontWeight:t.typography.fontWeightMedium,marginTop:-2}))),mb=u.forwardRef(function(e,o){const r=Z({props:e,name:"MuiAlertTitle"}),{className:n,...s}=r,a=r,i=Ji(a);return d.jsx(Qi,{gutterBottom:!0,component:"div",ownerState:a,ref:o,className:F(i.root,n),...s})});function tl(t){return J("MuiAppBar",t)}const bb=tt("MuiAppBar",["root","positionFixed","positionAbsolute","positionSticky","positionStatic","positionRelative","colorDefault","colorPrimary","colorSecondary","colorInherit","colorTransparent","colorError","colorInfo","colorSuccess","colorWarning"]),el=t=>{const{color:e,position:o,classes:r}=t,n={root:["root",`color${I(e)}`,`position${I(o)}`]};return X(n,tl,r)},rn=(t,e)=>t?`${t==null?void 0:t.replace(")","")}, ${e})`:e,ol=R(Re,{name:"MuiAppBar",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:o}=t;return[e.root,e[`position${I(o.position)}`],e[`color${I(o.color)}`]]}})(U(({theme:t})=>({display:"flex",flexDirection:"column",width:"100%",boxSizing:"border-box",flexShrink:0,variants:[{props:{position:"fixed"},style:{position:"fixed",zIndex:(t.vars||t).zIndex.appBar,top:0,left:"auto",right:0,"@media print":{position:"absolute"}}},{props:{position:"absolute"},style:{position:"absolute",zIndex:(t.vars||t).zIndex.appBar,top:0,left:"auto",right:0}},{props:{position:"sticky"},style:{position:"sticky",zIndex:(t.vars||t).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":t.vars?t.vars.palette.AppBar.defaultBg:t.palette.grey[100],"--AppBar-color":t.vars?t.vars.palette.text.primary:t.palette.getContrastText(t.palette.grey[100]),...t.applyStyles("dark",{"--AppBar-background":t.vars?t.vars.palette.AppBar.defaultBg:t.palette.grey[900],"--AppBar-color":t.vars?t.vars.palette.text.primary:t.palette.getContrastText(t.palette.grey[900])})}},...Object.entries(t.palette).filter(Ft(["contrastText"])).map(([e])=>({props:{color:e},style:{"--AppBar-background":(t.vars??t).palette[e].main,"--AppBar-color":(t.vars??t).palette[e].contrastText}})),{props:e=>e.enableColorOnDark===!0&&!["inherit","transparent"].includes(e.color),style:{backgroundColor:"var(--AppBar-background)",color:"var(--AppBar-color)"}},{props:e=>e.enableColorOnDark===!1&&!["inherit","transparent"].includes(e.color),style:{backgroundColor:"var(--AppBar-background)",color:"var(--AppBar-color)",...t.applyStyles("dark",{backgroundColor:t.vars?rn(t.vars.palette.AppBar.darkBg,"var(--AppBar-background)"):null,color:t.vars?rn(t.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)",...t.applyStyles("dark",{backgroundImage:"none"})}}]}))),vb=u.forwardRef(function(e,o){const r=Z({props:e,name:"MuiAppBar"}),{className:n,color:s="primary",enableColorOnDark:a=!1,position:i="fixed",...l}=r,c={...r,color:s,position:i,enableColorOnDark:a},p=el(c);return d.jsx(ol,{square:!0,component:"header",ownerState:c,elevation:4,className:F(p.root,n,i==="fixed"&&"mui-fixed"),ref:o,...l})});function nn(t){return t.normalize("NFD").replace(/[\u0300-\u036f]/g,"")}function rl(t={}){const{ignoreAccents:e=!0,ignoreCase:o=!0,limit:r,matchFrom:n="any",stringify:s,trim:a=!1}=t;return(i,{inputValue:l,getOptionLabel:c})=>{let p=a?l.trim():l;o&&(p=p.toLowerCase()),e&&(p=nn(p));const f=p?i.filter(m=>{let g=(s||c)(m);return o&&(g=g.toLowerCase()),e&&(g=nn(g)),n==="start"?g.startsWith(p):g.includes(p)}):i;return typeof r=="number"?f.slice(0,r):f}}const nl=rl(),sn=5,sl=t=>{var e;return t.current!==null&&((e=t.current.parentElement)==null?void 0:e.contains(document.activeElement))},al=[];function an(t,e,o){if(e||t==null)return"";const r=o(t);return typeof r=="string"?r:""}function il(t){const{unstable_isActiveElementInListbox:e=sl,unstable_classNamePrefix:o="Mui",autoComplete:r=!1,autoHighlight:n=!1,autoSelect:s=!1,blurOnSelect:a=!1,clearOnBlur:i=!t.freeSolo,clearOnEscape:l=!1,componentName:c="useAutocomplete",defaultValue:p=t.multiple?al:null,disableClearable:f=!1,disableCloseOnSelect:m=!1,disabled:g,disabledItemsFocusable:v=!1,disableListWrap:b=!1,filterOptions:y=nl,filterSelectedOptions:h=!1,freeSolo:x=!1,getOptionDisabled:C,getOptionKey:$,getOptionLabel:M=j=>j.label??j,groupBy:B,handleHomeEndKeys:T=!t.freeSolo,id:P,includeInputInList:S=!1,inputValue:k,isOptionEqualToValue:O=(j,N)=>j===N,multiple:L=!1,onChange:w,onClose:A,onHighlightChange:H,onInputChange:z,onOpen:Q,open:D,openOnFocus:ot=!1,options:ut,readOnly:W=!1,selectOnFocus:mt=!t.freeSolo,value:At}=t,wt=Le(P);let pt=M;pt=j=>{const N=M(j);return typeof N!="string"?String(N):N};const et=u.useRef(!1),V=u.useRef(!0),at=u.useRef(null),ft=u.useRef(null),[vt,Rt]=u.useState(null),[st,dt]=u.useState(-1),bt=n?0:-1,Ct=u.useRef(bt),Nt=u.useRef(an(p??At,L,pt)).current,[Y,_]=ue({controlled:At,default:p,name:c}),[rt,yt]=ue({controlled:k,default:Nt,name:c,state:"inputValue"}),[gt,$t]=u.useState(!1),Mt=u.useCallback((j,N,lt)=>{if(!(L?Y.length<N.leng