"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1536],{3127:function(e,t,o){o.d(t,{L:function(){return c}});var r=o(94143),n=o(50738);function c(e){return(0,n.ZP)("MuiListItemText",e)}let l=(0,r.Z)("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]);t.Z=l},59619:function(e,t,o){o.d(t,{Z:function(){return L}});var r=o(2265);let n=r.createContext(null);function c(){return r.useContext(n)}var l="function"==typeof Symbol&&Symbol.for?Symbol.for("mui.nested"):"__THEME_NESTED__",i=o(57437),a=function(e){let{children:t,theme:o}=e,a=c(),s=r.useMemo(()=>{let e=null===a?{...o}:"function"==typeof o?o(a):{...a,...o};return null!=e&&(e[l]=null!==a),e},[o,a]);return(0,i.jsx)(n.Provider,{value:s,children:t})},s=o(34692),d=o(80184),m=o(77126),u=o(17804);let h={};function f(e,t,o){let n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return r.useMemo(()=>{let r=e&&t[e]||t;if("function"==typeof o){let c=o(r),l=e?{...t,[e]:c}:c;return n?()=>l:l}return e?{...t,[e]:o}:{...t,...o}},[e,t,o,n])}var g=function(e){let{children:t,theme:o,themeId:r}=e,n=(0,d.Z)(h),l=c()||h,g=f(r,n,o),y=f(r,l,o,!0),p="rtl"===(r?g[r]:g).direction;return(0,i.jsx)(a,{theme:y,children:(0,i.jsx)(s.T.Provider,{value:g,children:(0,i.jsx)(m.Z,{value:p,children:(0,i.jsx)(u.Z,{value:r?g[r].components:g.components,children:t})})})})},y=o(22166);function p(e){let{theme:t,...o}=e,r=y.Z in t?t[y.Z]:void 0;return(0,i.jsx)(g,{...o,themeId:r?y.Z:void 0,theme:r||t})}var S=o(38720),v=o(18598);let k="mode",C="color-scheme";function w(e){if("undefined"!=typeof window&&"function"==typeof window.matchMedia&&"system"===e)return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}function b(e,t){return"light"===e.mode||"system"===e.mode&&"light"===e.systemMode?t("light"):"dark"===e.mode||"system"===e.mode&&"dark"===e.systemMode?t("dark"):void 0}function x(e,t){let o;if("undefined"!=typeof window){try{(o=localStorage.getItem(e)||void 0)||localStorage.setItem(e,t)}catch(e){}return o||t}}var M=o(99163),j=o(84792);let{CssVarsProvider:E,useColorScheme:I,getInitColorSchemeScript:Z}=function(e){let{themeId:t,theme:o={},modeStorageKey:n=k,colorSchemeStorageKey:l=C,disableTransitionOnChange:a=!1,defaultColorScheme:s,resolveTheme:d}=e,m={allColorSchemes:[],colorScheme:void 0,darkColorScheme:void 0,lightColorScheme:void 0,mode:void 0,setColorScheme:()=>{},setMode:()=>{},systemMode:void 0},u=r.createContext(void 0),h="string"==typeof s?s:s.light,f="string"==typeof s?s:s.dark;return{CssVarsProvider:function(e){var m,h,f,y,p;let{children:S,theme:M,modeStorageKey:j=n,colorSchemeStorageKey:E=l,disableTransitionOnChange:I=a,storageWindow:Z="undefined"==typeof window?void 0:window,documentNode:L="undefined"==typeof document?void 0:document,colorSchemeNode:T="undefined"==typeof document?void 0:document.documentElement,disableNestedContext:_=!1,disableStyleSheetGeneration:A=!1,defaultMode:P="system",noSsr:V}=e,W=r.useRef(!1),K=c(),N=r.useContext(u),H=!!N&&!_,O=r.useMemo(()=>M||("function"==typeof o?o():o),[M]),q=O[t],{colorSchemes:R={},components:z={},cssVarPrefix:D,...F}=q||O,B=Object.keys(R).filter(e=>!!R[e]).join(","),G=r.useMemo(()=>B.split(","),[B]),J="string"==typeof s?s:s.light,Q="string"==typeof s?s:s.dark,U=R[J]&&R[Q]?P:(null===(h=R[F.defaultColorScheme])||void 0===h?void 0:null===(m=h.palette)||void 0===m?void 0:m.mode)||(null===(f=F.palette)||void 0===f?void 0:f.mode),{mode:X,setMode:Y,systemMode:$,lightColorScheme:ee,darkColorScheme:et,colorScheme:eo,setColorScheme:er}=function(e){let{defaultMode:t="light",defaultLightColorScheme:o,defaultDarkColorScheme:n,supportedColorSchemes:c=[],modeStorageKey:l=k,colorSchemeStorageKey:i=C,storageWindow:a="undefined"==typeof window?void 0:window,noSsr:s=!1}=e,d=c.join(","),m=c.length>1,[u,h]=r.useState(()=>{let e=x(l,t),r=x("".concat(i,"-light"),o),c=x("".concat(i,"-dark"),n);return{mode:e,systemMode:w(e),lightColorScheme:r,darkColorScheme:c}}),[f,g]=r.useState(s||!m);r.useEffect(()=>{g(!0)},[]);let y=b(u,e=>"light"===e?u.lightColorScheme:"dark"===e?u.darkColorScheme:void 0),p=r.useCallback(e=>{h(o=>{if(e===o.mode)return o;let r=null!=e?e:t;try{localStorage.setItem(l,r)}catch(e){}return{...o,mode:r,systemMode:w(r)}})},[l,t]),S=r.useCallback(e=>{e?"string"==typeof e?e&&!d.includes(e)?console.error("`".concat(e,"` does not exist in `theme.colorSchemes`.")):h(t=>{let o={...t};return b(t,t=>{try{localStorage.setItem("".concat(i,"-").concat(t),e)}catch(e){}"light"===t&&(o.lightColorScheme=e),"dark"===t&&(o.darkColorScheme=e)}),o}):h(t=>{let r={...t},c=null===e.light?o:e.light,l=null===e.dark?n:e.dark;if(c){if(d.includes(c)){r.lightColorScheme=c;try{localStorage.setItem("".concat(i,"-light"),c)}catch(e){}}else console.error("`".concat(c,"` does not exist in `theme.colorSchemes`."))}if(l){if(d.includes(l)){r.darkColorScheme=l;try{localStorage.setItem("".concat(i,"-dark"),l)}catch(e){}}else console.error("`".concat(l,"` does not exist in `theme.colorSchemes`."))}return r}):h(e=>{try{localStorage.setItem("".concat(i,"-light"),o),localStorage.setItem("".concat(i,"-dark"),n)}catch(e){}return{...e,lightColorScheme:o,darkColorScheme:n}})},[d,i,o,n]),v=r.useCallback(e=>{"system"===u.mode&&h(t=>{let o=(null==e?void 0:e.matches)?"dark":"light";return t.systemMode===o?t:{...t,systemMode:o}})},[u.mode]),M=r.useRef(v);return M.current=v,r.useEffect(()=>{if("function"!=typeof window.matchMedia||!m)return;let e=function(){for(var e=arguments.length,t=Array(e),o=0;o{t.removeListener(e)}},[m]),r.useEffect(()=>{if(a&&m){let e=e=>{let o=e.newValue;"string"==typeof e.key&&e.key.startsWith(i)&&(!o||d.match(o))&&(e.key.endsWith("light")&&S({light:o}),e.key.endsWith("dark")&&S({dark:o})),e.key===l&&(!o||["light","dark","system"].includes(o))&&p(o||t)};return a.addEventListener("storage",e),()=>{a.removeEventListener("storage",e)}}},[S,p,l,i,d,t,a,m]),{...u,mode:f?u.mode:void 0,systemMode:f?u.systemMode:void 0,colorScheme:f?y:void 0,setMode:p,setColorScheme:S}}({supportedColorSchemes:G,defaultLightColorScheme:J,defaultDarkColorScheme:Q,modeStorageKey:j,colorSchemeStorageKey:E,defaultMode:U,storageWindow:Z,noSsr:V}),en=X,ec=eo;H&&(en=N.mode,ec=N.colorScheme);let el=ec||F.defaultColorScheme,ei=(null===(y=F.generateThemeVars)||void 0===y?void 0:y.call(F))||F.vars,ea={...F,components:z,colorSchemes:R,cssVarPrefix:D,vars:ei};if("function"==typeof ea.generateSpacing&&(ea.spacing=ea.generateSpacing()),el){let e=R[el];e&&"object"==typeof e&&Object.keys(e).forEach(t=>{e[t]&&"object"==typeof e[t]?ea[t]={...ea[t],...e[t]}:ea[t]=e[t]})}let es=F.colorSchemeSelector;r.useEffect(()=>{if(ec&&T&&es&&"media"!==es){let e=es;if("class"===es&&(e=".%s"),"data"===es&&(e="[data-%s]"),(null==es?void 0:es.startsWith("data-"))&&!es.includes("%s")&&(e="[".concat(es,'="%s"]')),e.startsWith("."))T.classList.remove(...G.map(t=>e.substring(1).replace("%s",t))),T.classList.add(e.substring(1).replace("%s",ec));else{let t=e.replace("%s",ec).match(/\[([^\]]+)\]/);if(t){let[e,o]=t[1].split("=");o||G.forEach(t=>{T.removeAttribute(e.replace(ec,t))}),T.setAttribute(e,o?o.replace(/"|'/g,""):"")}else T.setAttribute(e,ec)}}},[ec,es,T,G]),r.useEffect(()=>{let e;if(I&&W.current&&L){let t=L.createElement("style");t.appendChild(L.createTextNode("*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),L.head.appendChild(t),window.getComputedStyle(L.body),e=setTimeout(()=>{L.head.removeChild(t)},1)}return()=>{clearTimeout(e)}},[ec,I,L]),r.useEffect(()=>(W.current=!0,()=>{W.current=!1}),[]);let ed=r.useMemo(()=>({allColorSchemes:G,colorScheme:ec,darkColorScheme:et,lightColorScheme:ee,mode:en,setColorScheme:er,setMode:Y,systemMode:$}),[G,ec,et,ee,en,er,Y,$,ea.colorSchemeSelector]),em=!0;(A||!1===F.cssVariables||H&&(null==K?void 0:K.cssVarPrefix)===D)&&(em=!1);let eu=(0,i.jsxs)(r.Fragment,{children:[(0,i.jsx)(g,{themeId:q?t:void 0,theme:d?d(ea):ea,children:S}),em&&(0,i.jsx)(v.Z,{styles:(null===(p=ea.generateStyleSheets)||void 0===p?void 0:p.call(ea))||[]})]});return H?eu:(0,i.jsx)(u.Provider,{value:ed,children:eu})},useColorScheme:()=>r.useContext(u)||m,getInitColorSchemeScript:e=>(function(e){let{defaultMode:t="system",defaultLightColorScheme:o="light",defaultDarkColorScheme:r="dark",modeStorageKey:n=k,colorSchemeStorageKey:c=C,attribute:l="data-color-scheme",colorSchemeNode:a="document.documentElement",nonce:s}=e||{},d="",m=l;if("class"===l&&(m=".%s"),"data"===l&&(m="[data-%s]"),m.startsWith(".")){let e=m.substring(1);d+="".concat(a,".classList.remove('").concat(e,"'.replace('%s', light), '").concat(e,"'.replace('%s', dark));\n ").concat(a,".classList.add('").concat(e,"'.replace('%s', colorScheme));")}let u=m.match(/\[([^\]]+)\]/);if(u){let[e,t]=u[1].split("=");t||(d+="".concat(a,".removeAttribute('").concat(e,"'.replace('%s', light));\n ").concat(a,".removeAttribute('").concat(e,"'.replace('%s', dark));")),d+="\n ".concat(a,".setAttribute('").concat(e,"'.replace('%s', colorScheme), ").concat(t?"".concat(t,".replace('%s', colorScheme)"):'""',");")}else d+="".concat(a,".setAttribute('").concat(m,"', colorScheme);");return(0,i.jsx)("script",{suppressHydrationWarning:!0,nonce:"undefined"==typeof window?s:"",dangerouslySetInnerHTML:{__html:"(function() {\ntry {\n let colorScheme = '';\n const mode = localStorage.getItem('".concat(n,"') || '").concat(t,"';\n const dark = localStorage.getItem('").concat(c,"-dark') || '").concat(r,"';\n const light = localStorage.getItem('").concat(c,"-light') || '").concat(o,"';\n if (mode === 'system') {\n // handle system mode\n const mql = window.matchMedia('(prefers-color-scheme: dark)');\n if (mql.matches) {\n colorScheme = dark\n } else {\n colorScheme = light\n }\n }\n if (mode === 'light') {\n colorScheme = light;\n }\n if (mode === 'dark') {\n colorScheme = dark;\n }\n if (colorScheme) {\n ").concat(d,"\n }\n} catch(e){}})();")}},"mui-color-scheme-init")})({colorSchemeStorageKey:l,defaultLightColorScheme:h,defaultDarkColorScheme:f,modeStorageKey:n,...e})}}({themeId:y.Z,theme:()=>(0,M.Z)({cssVariables:!0}),colorSchemeStorageKey:"mui-color-scheme",modeStorageKey:"mui-mode",defaultColorScheme:{light:"light",dark:"dark"},resolveTheme:e=>{let t={...e,typography:(0,j.Z)(e.palette,e.typography)};return t.unstable_sx=function(e){return(0,S.Z)({sx:e,theme:this})},t}});function L(e){let{theme:t,...o}=e;return"function"!=typeof t&&"colorSchemes"in(y.Z in t?t[y.Z]:t)?(0,i.jsx)(E,{theme:t,...o}):(0,i.jsx)(p,{theme:t,...o})}}}]);