identity-admin-ui 1.9.2 → 1.9.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/esm/index.js CHANGED
@@ -153,4 +153,4 @@ function Tr(e,t){const n=Oe(e,t);return"production"!==process.env.NODE_ENV?(...t
153
153
  *
154
154
  * @license MIT
155
155
  */
156
- function HC(){return HC=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},HC.apply(this,arguments)}new Set(WC);const RC=e.createContext(null);"production"!==process.env.NODE_ENV&&(RC.displayName="DataRouter");const VC=e.createContext(null);"production"!==process.env.NODE_ENV&&(VC.displayName="DataRouterState");const FC=e.createContext(null);"production"!==process.env.NODE_ENV&&(FC.displayName="Await");const XC=e.createContext(null);"production"!==process.env.NODE_ENV&&(XC.displayName="Navigation");const QC=e.createContext(null);"production"!==process.env.NODE_ENV&&(QC.displayName="Location");const YC=e.createContext({outlet:null,matches:[],isDataRoute:!1});"production"!==process.env.NODE_ENV&&(YC.displayName="Route");const ZC=e.createContext(null);function GC(){return null!=e.useContext(QC)}"production"!==process.env.NODE_ENV&&(ZC.displayName="RouteError");const UC="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function qC(t){e.useContext(XC).static||e.useLayoutEffect(t)}function KC(){let{isDataRoute:t}=e.useContext(YC);return t?function(){let{router:t}=function(t){let n=e.useContext(RC);return n||("production"!==process.env.NODE_ENV?TC(!1,nD(t)):TC(!1)),n}(_C.UseNavigateStable),n=function(t){let n=function(t){let n=e.useContext(YC);return n||("production"!==process.env.NODE_ENV?TC(!1,nD(t)):TC(!1)),n}(t),r=n.matches[n.matches.length-1];return r.route.id||("production"!==process.env.NODE_ENV?TC(!1,t+' can only be used on routes that contain a unique "id"'):TC(!1)),r.route.id}($C.UseNavigateStable),r=e.useRef(!1);return qC((()=>{r.current=!0})),e.useCallback((function(e,o){void 0===o&&(o={}),"production"!==process.env.NODE_ENV&&PC(r.current,UC),r.current&&("number"==typeof e?t.navigate(e):t.navigate(e,HC({fromRouteId:n},o)))}),[t,n])}():function(){GC()||("production"!==process.env.NODE_ENV?TC(!1,"useNavigate() may be used only in the context of a <Router> component."):TC(!1));let t=e.useContext(RC),{basename:n,navigator:r}=e.useContext(XC),{matches:o}=e.useContext(YC),{pathname:i}=(GC()||("production"!==process.env.NODE_ENV?TC(!1,"useLocation() may be used only in the context of a <Router> component."):TC(!1)),e.useContext(QC).location),a=JSON.stringify(function(e){return e.filter(((e,t)=>0===t||e.route.path&&e.route.path.length>0))}(o).map((e=>e.pathnameBase))),s=e.useRef(!1);qC((()=>{s.current=!0}));let l=e.useCallback((function(e,o){if(void 0===o&&(o={}),"production"!==process.env.NODE_ENV&&PC(s.current,UC),!s.current)return;if("number"==typeof e)return void r.go(e);let l=BC(e,JSON.parse(a),i,"path"===o.relative);null==t&&"/"!==n&&(l.pathname="/"===l.pathname?n:kC([n,l.pathname])),(o.replace?r.replace:r.push)(l,o.state,o)}),[n,r,a,i,t]);return l}()}function JC(){let{matches:t}=e.useContext(YC),n=t[t.length-1];return n?n.params:{}}var _C,$C,eD,tD;function nD(e){return e+" must be used within a data router. See https://reactrouter.com/routers/picking-a-router."}function rD(e){var t=e.direction,n=e.sxProps,r=e.onClick,o=e.color,i=function(e){switch(e){case tD.LEFT:return"material-symbols:arrow-back-ios-new";case tD.RIGHT:return"eva:arrow-ios-forward-fill";case tD.DOWN:return"eva:arrow-ios-downward-fill";case tD.UP:return"eva:arrow-ios-upward-fill"}}(t);return kt.jsx(pa,{icon:i,onClick:r,sx:Lt({width:16,height:16,color:null!=o?o:"white"},n)})}function oD(e){var t=e.onClickOpen,n=e.modelName,r=e.checked,o=tD.RIGHT;return kt.jsx(D,{onClick:function(){return t(n)},children:kt.jsx(rD,{direction:r&&r[n].opened?tD.DOWN:o,color:"black"})})}function iD(e){var n=e.label,r=e.checked,o=e.onChange,i=t.memo((function(e){var t=e.checked,n=e.onChange;return kt.jsx(k,{checked:t,onChange:function(e,t){return n(e,t)}})}));return kt.jsx(W,{label:n,control:kt.jsx(i,{checked:r,onChange:o})})}function aD(){return kt.jsx(W,{label:kt.jsx(O,{variant:"text",width:160,height:20}),control:kt.jsx(k,{disabled:!0})})}function sD(){return kt.jsx(D,{children:kt.jsx(rD,{direction:tD.DOWN,color:"black"})})}function lD(){return kt.jsx(kt.Fragment,{children:Array.from(Array(2).keys()).map((function(e){return kt.jsxs("div",{children:[kt.jsxs(w,{direction:"row",alignItems:"center",spacing:"1px",children:[kt.jsx(sD,{}),kt.jsx(aD,{})]}),kt.jsx(v,{sx:{display:"flex",flexDirection:"column",ml:8},children:Array.from(Array(4).keys()).map((function(e){return kt.jsx(aD,{},e)}))})]},e)}))})}function cD(e){var t=e.modelPermissions,n=e.checked,r=e.fetchLoading,o=e.onCheckAll,i=e.handleChange,a=e.onClickOpen;return kt.jsxs(w,{children:[kt.jsxs(w,{direction:"row",justifyContent:"space-between",children:[kt.jsx(A,{sx:{py:1},fontWeight:700,fontSize:{xs:"14px",md:"18px"},children:"Permissions"}),kt.jsx(P,{onClick:o,children:"Check all"})]}),r?kt.jsx(lD,{}):t.map((function(e){var t=e.modelName;return kt.jsxs("div",{children:[kt.jsxs(w,{direction:"row",alignItems:"center",spacing:"1px",children:[kt.jsx(oD,{modelName:t,checked:n,onClickOpen:a}),kt.jsx(iD,{label:e.label,checked:n&&n[t].all,onChange:function(e,n){return i(t,"all",n)}})]}),n&&n[t].opened&&kt.jsx(v,{sx:{display:"flex",flexDirection:"column",ml:8},children:e.permissions.map((function(e){var r=e.id;return kt.jsx(iD,{label:e.label,checked:n&&n[t][r],onChange:function(e,n){return i(t,r,n)}},r)}))})]},t)}))]})}function uD(e){var t=ev().textFieldSize;return kt.jsxs(w,{spacing:3,children:[kt.jsx(Kl,{name:"name",label:"Name",size:t}),kt.jsx(cD,Lt({},e))]})}function dD(e){var t=this,n=e.modelPermissions,o=e.fetchLoading,i=e.isEdit,a=e.permissionGroup,s=r(void 0),c=s[0],u=s[1],d=JC().id,f=void 0===d?"":d,h=p(Pg).dashbaordUrlPrefix,g=ov().paths,v=ye.object().shape({}),A=r(!1),y=A[0],b=A[1],x=KC(),j=m((function(){return{name:null==a?void 0:a.name}}),[]),O=Se({resolver:vl(v),defaultValues:j}),M=O.getValues,z=O.handleSubmit;l((function(){n.length>0&&u(function(e){var t={};return e.forEach((function(e,n){t[e.modelName]={all:!1,opened:0===n};var r=!0;e.permissions.forEach((function(n){t[e.modelName][n.id]=n.checked,n.checked?t[e.modelName].opened=!0:r=!1})),r&&(t[e.modelName].all=!0)})),t}(n))}),[n]);return kt.jsxs(Fl,{methods:O,onSubmit:z((function(e){return St(t,void 0,void 0,(function(){return Wt(this,(function(t){switch(t.label){case 0:return b(!0),i?[4,Dg.patch("".concat(h,"/permissionGroups/").concat(f),Lt(Lt({},e),{checked:c}))]:[3,2];case 1:return t.sent(),[3,4];case 2:return[4,Dg.post("".concat(h,"/permissionGroups"),Lt(Lt({},e),{checked:c}))];case 3:t.sent(),t.label=4;case 4:return b(!1),x(g.permissionGroup.list),[2]}}))}))})),children:[kt.jsx(uD,{checked:c,handleChange:function(e,t,r){var o,i,a,s=Lt({},c);if(s[e][t]=r,"all"===t)(a=null===(o=n.find((function(t){return t.modelName===e})))||void 0===o?void 0:o.permissions)&&a.forEach((function(t){s[e][t.id]=r}));else if(a=null===(i=n.find((function(t){return t.modelName===e})))||void 0===i?void 0:i.permissions){var l=a.every((function(t){return s[e][t.id]}));s[e].all=l}u(s)},onClickOpen:function(e){var t=Lt({},c);t[e].opened=!t[e].opened,u(t)},modelPermissions:n,getValues:M,fetchLoading:o,onCheckAll:function(){var e=Lt({},c);for(var t in e)for(var n in e[t])e[t][n]=!0;u(e)}}),kt.jsx(w,{direction:"row",flexDirection:"row-reverse",children:kt.jsx(Te,{type:"submit",variant:"contained",size:"large",loading:y,children:"Save"})})]})}function pD(e){var t=this,n=e.isEdit,o=JC().id,i=void 0===o?"":o,a=p(Pg).dashbaordUrlPrefix,s=r([]),c=s[0],u=s[1],d=r(void 0),f=d[0],m=d[1],h=r(!0),g=h[0],v=h[1];return l((function(){St(t,void 0,void 0,(function(){var e,t,r,o;return Wt(this,(function(s){switch(s.label){case 0:return e=n?"?id=".concat(i):"",[4,Dg.get("".concat(a,"/permissions/all")+e)];case 1:return t=s.sent(),r=t.data.data.permissions,o=t.data.data.permissionGroup,u(r),m(o),v(!1),[2]}}))}))}),[]),kt.jsx(kt.Fragment,{children:n&&(g||0===c.length)||n&&!f?kt.jsx(kt.Fragment,{children:"... loading"}):kt.jsx(dD,{modelPermissions:c,fetchLoading:g,isEdit:n,permissionGroup:f})})}function fD(e){var t=r(!!e),n=t[0],o=t[1];return{value:n,onTrue:f((function(){o(!0)}),[]),onFalse:f((function(){o(!1)}),[]),onToggle:f((function(){o((function(e){return!e}))}),[]),setValue:o}}!function(e){e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate"}(_C||(_C={})),function(e){e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId"}($C||($C={})),function(e){e[e.pending=0]="pending",e[e.success=1]="success",e[e.error=2]="error"}(eD||(eD={})),new Promise((()=>{})),function(e){e[e.LEFT=0]="LEFT",e[e.RIGHT=1]="RIGHT",e[e.UP=2]="UP",e[e.DOWN=3]="DOWN"}(tD||(tD={}));var mD={H_MOBILE:64,H_DESKTOP:80,H_DESKTOP_OFFSET:64},hD={W_VERTICAL:280,W_MINI:88},gD=8;function vD(e){var t=e.children,n=e.sx,r=It(e,["children","sx"]),o=p(Yg),i=El("up","lg"),a="horizontal"===o.themeLayout,s="mini"===o.themeLayout;return a?kt.jsx(da,{component:"main",sx:Lt({minHeight:1,display:"flex",flexDirection:"column",pt:"".concat(mD.H_MOBILE+24,"px"),pb:10},i&&{pt:"".concat(2*mD.H_MOBILE+40,"px"),pb:15}),children:t}):kt.jsx(da,Lt({component:"main",sx:Lt(Lt({flexGrow:1,py:"".concat(mD.H_MOBILE+gD,"px")},i&&Lt({px:2,py:"".concat(mD.H_DESKTOP+gD,"px"),width:"calc(100% - ".concat(hD.W_VERTICAL,"px)")},s&&{width:"calc(100% - ".concat(hD.W_MINI,"px)")})),n)},r,{children:t}))}function AD(e){return zr("MuiAppBar",e)}var yD=Cr("MuiAppBar",["root","positionFixed","positionAbsolute","positionSticky","positionStatic","positionRelative","colorDefault","colorPrimary","colorSecondary","colorInherit","colorTransparent"]);const bD=["className","color","enableColorOnDark","position"],xD=(e,t)=>e?`${null==e?void 0:e.replace(")","")}, ${t})`:t,wD=ia(Hs,{name:"MuiAppBar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`position${Rn(n.position)}`],t[`color${Rn(n.color)}`]]}})((({theme:e,ownerState:t})=>{const n="light"===e.palette.mode?e.palette.grey[100]:e.palette.grey[900];return Gt({display:"flex",flexDirection:"column",width:"100%",boxSizing:"border-box",flexShrink:0},"fixed"===t.position&&{position:"fixed",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0,"@media print":{position:"absolute"}},"absolute"===t.position&&{position:"absolute",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0},"sticky"===t.position&&{position:"sticky",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0},"static"===t.position&&{position:"static"},"relative"===t.position&&{position:"relative"},!e.vars&&Gt({},"default"===t.color&&{backgroundColor:n,color:e.palette.getContrastText(n)},t.color&&"default"!==t.color&&"inherit"!==t.color&&"transparent"!==t.color&&{backgroundColor:e.palette[t.color].main,color:e.palette[t.color].contrastText},"inherit"===t.color&&{color:"inherit"},"dark"===e.palette.mode&&!t.enableColorOnDark&&{backgroundColor:null,color:null},"transparent"===t.color&&Gt({backgroundColor:"transparent",color:"inherit"},"dark"===e.palette.mode&&{backgroundImage:"none"})),e.vars&&Gt({},"default"===t.color&&{"--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:"inherit"===t.color?"inherit":"var(--AppBar-color)"},"transparent"===t.color&&{backgroundImage:"none",backgroundColor:"transparent",color:"inherit"}))})),jD=e.forwardRef((function(e,t){const n=na({props:e,name:"MuiAppBar"}),{className:r,color:o="primary",enableColorOnDark:i=!1,position:a="fixed"}=n,s=Pr(n,bD),l=Gt({},n,{color:o,position:a,enableColorOnDark:i}),c=(e=>{const{color:t,position:n,classes:r}=e;return wr({root:["root",`color${Rn(t)}`,`position${Rn(n)}`]},AD,r)})(l);return kt.jsx(wD,Gt({square:!0,component:"header",ownerState:l,elevation:4,className:Xo(c.root,r,"fixed"===a&&"mui-fixed"),ref:t},s))}));"production"!==process.env.NODE_ENV&&(jD.propTypes={children:wn.node,classes:wn.object,className:wn.string,color:wn.oneOfType([wn.oneOf(["default","inherit","primary","secondary","transparent"]),wn.string]),enableColorOnDark:wn.bool,position:wn.oneOf(["absolute","fixed","relative","static","sticky"]),sx:wn.oneOfType([wn.arrayOf(wn.oneOfType([wn.func,wn.object,wn.bool])),wn.func,wn.object])});var OD=jD;function MD(e){return zr("MuiToolbar",e)}Cr("MuiToolbar",["root","gutters","regular","dense"]);const zD=["className","component","disableGutters","variant"],CD=ia("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})=>Gt({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)}},"dense"===t.variant&&{minHeight:48})),(({theme:e,ownerState:t})=>"regular"===t.variant&&e.mixins.toolbar)),DD=e.forwardRef((function(e,t){const n=na({props:e,name:"MuiToolbar"}),{className:r,component:o="div",disableGutters:i=!1,variant:a="regular"}=n,s=Pr(n,zD),l=Gt({},n,{component:o,disableGutters:i,variant:a}),c=(e=>{const{classes:t,disableGutters:n,variant:r}=e;return wr({root:["root",!n&&"gutters",r]},MD,t)})(l);return kt.jsx(CD,Gt({as:o,className:Xo(c.root,r),ref:t,ownerState:l},s))}));"production"!==process.env.NODE_ENV&&(DD.propTypes={children:wn.node,classes:wn.object,className:wn.string,component:wn.elementType,disableGutters:wn.bool,sx:wn.oneOfType([wn.arrayOf(wn.oneOfType([wn.func,wn.object,wn.bool])),wn.func,wn.object]),variant:wn.oneOfType([wn.oneOf(["dense","regular"]),wn.string])});var TD=DD;var PD=n((function(e,t){var n=e.src,r=e.sx,o=It(e,["src","sx"]);return kt.jsx(da,Lt({component:"span",className:"svg-color",ref:t,sx:Lt({width:24,height:24,display:"inline-block",bgcolor:"currentColor",mask:"url(".concat(n,") no-repeat center / contain"),WebkitMask:"url(".concat(n,") no-repeat center / contain")},r)},o))})),ND={exports:{}};ND.exports=(()=>{return e={772:(e,t,n)=>{const r=n(826).remove,o=/[.*+?^${}()|[\]\\]/g,i=/[a-z0-9_]/i,a=/\s+/;e.exports=function(e,t,n){var s,l;l={insideWords:!1,findAllOccurrences:!1,requireMatchAll:!1},s=(s=n)||{},Object.keys(s).forEach((e=>{l[e]=!!s[e]})),n=l;const c=Array.from(e).map((e=>r(e)));let u=c.join("");return(t=r(t)).trim().split(a).filter((e=>e.length>0)).reduce(((e,t)=>{const r=t.length,a=!n.insideWords&&i.test(t[0])?"\\b":"",s=new RegExp(a+t.replace(o,"\\$&"),"i");let l,d;if(l=s.exec(u),n.requireMatchAll&&null===l)return u="",[];for(;l;){d=l.index;const t=r-c.slice(d,d+r).join("").length,o=d-c.slice(0,d).join("").length,i=[d+o,d+r+o+t];if(i[0]!==i[1]&&e.push(i),u=u.slice(0,d)+new Array(r+1).join(" ")+u.slice(d+r),!n.findAllOccurrences)break;l=s.exec(u)}return e}),[]).sort(((e,t)=>e[0]-t[0]))}},826:e=>{var t={"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","Ấ":"A","Ắ":"A","Ẳ":"A","Ẵ":"A","Ặ":"A","Æ":"AE","Ầ":"A","Ằ":"A","Ȃ":"A","Ç":"C","Ḉ":"C","È":"E","É":"E","Ê":"E","Ë":"E","Ế":"E","Ḗ":"E","Ề":"E","Ḕ":"E","Ḝ":"E","Ȇ":"E","Ì":"I","Í":"I","Î":"I","Ï":"I","Ḯ":"I","Ȋ":"I","Ð":"D","Ñ":"N","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","Ố":"O","Ṍ":"O","Ṓ":"O","Ȏ":"O","Ù":"U","Ú":"U","Û":"U","Ü":"U","Ý":"Y","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","ấ":"a","ắ":"a","ẳ":"a","ẵ":"a","ặ":"a","æ":"ae","ầ":"a","ằ":"a","ȃ":"a","ç":"c","ḉ":"c","è":"e","é":"e","ê":"e","ë":"e","ế":"e","ḗ":"e","ề":"e","ḕ":"e","ḝ":"e","ȇ":"e","ì":"i","í":"i","î":"i","ï":"i","ḯ":"i","ȋ":"i","ð":"d","ñ":"n","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","ố":"o","ṍ":"o","ṓ":"o","ȏ":"o","ù":"u","ú":"u","û":"u","ü":"u","ý":"y","ÿ":"y","Ā":"A","ā":"a","Ă":"A","ă":"a","Ą":"A","ą":"a","Ć":"C","ć":"c","Ĉ":"C","ĉ":"c","Ċ":"C","ċ":"c","Č":"C","č":"c","C̆":"C","c̆":"c","Ď":"D","ď":"d","Đ":"D","đ":"d","Ē":"E","ē":"e","Ĕ":"E","ĕ":"e","Ė":"E","ė":"e","Ę":"E","ę":"e","Ě":"E","ě":"e","Ĝ":"G","Ǵ":"G","ĝ":"g","ǵ":"g","Ğ":"G","ğ":"g","Ġ":"G","ġ":"g","Ģ":"G","ģ":"g","Ĥ":"H","ĥ":"h","Ħ":"H","ħ":"h","Ḫ":"H","ḫ":"h","Ĩ":"I","ĩ":"i","Ī":"I","ī":"i","Ĭ":"I","ĭ":"i","Į":"I","į":"i","İ":"I","ı":"i","IJ":"IJ","ij":"ij","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","Ḱ":"K","ḱ":"k","K̆":"K","k̆":"k","Ĺ":"L","ĺ":"l","Ļ":"L","ļ":"l","Ľ":"L","ľ":"l","Ŀ":"L","ŀ":"l","Ł":"l","ł":"l","Ḿ":"M","ḿ":"m","M̆":"M","m̆":"m","Ń":"N","ń":"n","Ņ":"N","ņ":"n","Ň":"N","ň":"n","ʼn":"n","N̆":"N","n̆":"n","Ō":"O","ō":"o","Ŏ":"O","ŏ":"o","Ő":"O","ő":"o","Œ":"OE","œ":"oe","P̆":"P","p̆":"p","Ŕ":"R","ŕ":"r","Ŗ":"R","ŗ":"r","Ř":"R","ř":"r","R̆":"R","r̆":"r","Ȓ":"R","ȓ":"r","Ś":"S","ś":"s","Ŝ":"S","ŝ":"s","Ş":"S","Ș":"S","ș":"s","ş":"s","Š":"S","š":"s","Ţ":"T","ţ":"t","ț":"t","Ț":"T","Ť":"T","ť":"t","Ŧ":"T","ŧ":"t","T̆":"T","t̆":"t","Ũ":"U","ũ":"u","Ū":"U","ū":"u","Ŭ":"U","ŭ":"u","Ů":"U","ů":"u","Ű":"U","ű":"u","Ų":"U","ų":"u","Ȗ":"U","ȗ":"u","V̆":"V","v̆":"v","Ŵ":"W","ŵ":"w","Ẃ":"W","ẃ":"w","X̆":"X","x̆":"x","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Y̆":"Y","y̆":"y","Ź":"Z","ź":"z","Ż":"Z","ż":"z","Ž":"Z","ž":"z","ſ":"s","ƒ":"f","Ơ":"O","ơ":"o","Ư":"U","ư":"u","Ǎ":"A","ǎ":"a","Ǐ":"I","ǐ":"i","Ǒ":"O","ǒ":"o","Ǔ":"U","ǔ":"u","Ǖ":"U","ǖ":"u","Ǘ":"U","ǘ":"u","Ǚ":"U","ǚ":"u","Ǜ":"U","ǜ":"u","Ứ":"U","ứ":"u","Ṹ":"U","ṹ":"u","Ǻ":"A","ǻ":"a","Ǽ":"AE","ǽ":"ae","Ǿ":"O","ǿ":"o","Þ":"TH","þ":"th","Ṕ":"P","ṕ":"p","Ṥ":"S","ṥ":"s","X́":"X","x́":"x","Ѓ":"Г","ѓ":"г","Ќ":"К","ќ":"к","A̋":"A","a̋":"a","E̋":"E","e̋":"e","I̋":"I","i̋":"i","Ǹ":"N","ǹ":"n","Ồ":"O","ồ":"o","Ṑ":"O","ṑ":"o","Ừ":"U","ừ":"u","Ẁ":"W","ẁ":"w","Ỳ":"Y","ỳ":"y","Ȁ":"A","ȁ":"a","Ȅ":"E","ȅ":"e","Ȉ":"I","ȉ":"i","Ȍ":"O","ȍ":"o","Ȑ":"R","ȑ":"r","Ȕ":"U","ȕ":"u","B̌":"B","b̌":"b","Č̣":"C","č̣":"c","Ê̌":"E","ê̌":"e","F̌":"F","f̌":"f","Ǧ":"G","ǧ":"g","Ȟ":"H","ȟ":"h","J̌":"J","ǰ":"j","Ǩ":"K","ǩ":"k","M̌":"M","m̌":"m","P̌":"P","p̌":"p","Q̌":"Q","q̌":"q","Ř̩":"R","ř̩":"r","Ṧ":"S","ṧ":"s","V̌":"V","v̌":"v","W̌":"W","w̌":"w","X̌":"X","x̌":"x","Y̌":"Y","y̌":"y","A̧":"A","a̧":"a","B̧":"B","b̧":"b","Ḑ":"D","ḑ":"d","Ȩ":"E","ȩ":"e","Ɛ̧":"E","ɛ̧":"e","Ḩ":"H","ḩ":"h","I̧":"I","i̧":"i","Ɨ̧":"I","ɨ̧":"i","M̧":"M","m̧":"m","O̧":"O","o̧":"o","Q̧":"Q","q̧":"q","U̧":"U","u̧":"u","X̧":"X","x̧":"x","Z̧":"Z","z̧":"z"},n=Object.keys(t).join("|"),r=new RegExp(n,"g"),o=new RegExp(n,""),i=function(e){return e.replace(r,(function(e){return t[e]}))};e.exports=i,e.exports.has=function(e){return!!e.match(o)},e.exports.remove=i}},t={},function n(r){var o=t[r];if(void 0!==o)return o.exports;var i=t[r]={exports:{}};return e[r](i,i.exports,n),i.exports}(772);var e,t})();var ED=Ct(ND.exports),BD="undefined"!=typeof window?h:l;var kD=ia(da)((function(e){var t=e.theme,n=e.ownerState,r="light"===t.palette.mode,o="filled"===n.variant,i="outlined"===n.variant,a="soft"===n.variant,s=Lt({},"default"===n.color&&Lt(Lt(Lt({},o&&{color:r?t.palette.common.white:t.palette.grey[800],backgroundColor:t.palette.text.primary}),i&&{backgroundColor:"transparent",color:t.palette.text.primary,border:"2px solid ".concat(t.palette.text.primary)}),a&&{color:t.palette.text.secondary,backgroundColor:ci(t.palette.grey[500],.16)})),l=Lt({},"default"!==n.color&&Lt(Lt(Lt({},o&&{color:t.palette[n.color].contrastText,backgroundColor:t.palette[n.color].main}),i&&{backgroundColor:"transparent",color:t.palette[n.color].main,border:"2px solid ".concat(t.palette[n.color].main)}),a&&{color:t.palette[n.color][r?"dark":"light"],backgroundColor:ci(t.palette[n.color].main,.16)}));return Lt(Lt({height:24,minWidth:24,lineHeight:0,borderRadius:6,cursor:"default",alignItems:"center",whiteSpace:"nowrap",display:"inline-flex",justifyContent:"center",textTransform:"capitalize",padding:t.spacing(0,.75),fontSize:t.typography.pxToRem(12),fontWeight:t.typography.fontWeightBold,transition:t.transitions.create("all",{duration:t.transitions.duration.shorter})},s),l)})),LD=n((function(e,t){var n=e.children,r=e.color,o=void 0===r?"default":r,i=e.variant,a=void 0===i?"soft":i,s=e.startIcon,l=e.endIcon,c=e.sx,u=It(e,["children","color","variant","startIcon","endIcon","sx"]),d=ta(),p={width:16,height:16,"& svg, img":{width:1,height:1,objectFit:"cover"}};return kt.jsxs(kD,Lt({ref:t,component:"span",ownerState:{color:o,variant:a},sx:Lt(Lt(Lt({},s&&{pl:.75}),l&&{pr:.75}),c),theme:d},u,{children:[s&&kt.jsxs(da,{sx:Lt({mr:.75},p),children:[" ",s," "]}),n,l&&kt.jsxs(da,{sx:Lt({ml:.75},p),children:[" ",l," "]})]}))}));function ID(){var e=pe();return m((function(){return{back:function(){return e(-1)},forward:function(){return e(1)},reload:function(){return window.location.reload()},push:function(t){return e(t)},replace:function(t){return e(t,{replace:!0})}}}),[e])}function SD(e){var t=e.query,n=e.sx,r=It(e,["query","sx"]);return t?kt.jsxs(Hs,Lt({sx:Lt({bgcolor:"unset",textAlign:"center"},n)},r,{children:[kt.jsx(Ah,{variant:"h6",gutterBottom:!0,children:"Not Found"}),kt.jsxs(Ah,{variant:"body2",children:["No results found for  ",kt.jsxs("strong",{children:['"',t,'"']}),".",kt.jsx("br",{})," Try checking for typos or using complete words."]})]})):kt.jsx(Ah,{variant:"body2",sx:n,children:"Please enter keywords"})}function WD(e){var t=e.title,n=e.path,r=e.groupLabel,o=e.onClickItem;return kt.jsxs(eM,{onClick:o,sx:{borderWidth:1,borderStyle:"dashed",borderColor:"transparent",borderBottomColor:function(e){return e.palette.divider},"&:hover":{borderRadius:1,borderColor:function(e){return e.palette.primary.main},backgroundColor:function(e){return ci(e.palette.primary.main,e.palette.action.hoverOpacity)}}},children:[kt.jsx(hy,{primaryTypographyProps:{typography:"subtitle2",sx:{textTransform:"capitalize"}},secondaryTypographyProps:{typography:"caption"},primary:t.map((function(e,t){return kt.jsx(da,{component:"span",sx:{color:e.highlight?"primary.main":"text.primary"},children:e.text},t)})),secondary:n.map((function(e,t){return kt.jsx(da,{component:"span",sx:{color:e.highlight?"primary.main":"text.secondary"},children:e.text},t)}))}),r&&kt.jsx(LD,{color:"info",children:r})]})}function HD(e,t){void 0===t&&(t="children");var n=[],r=null==e?void 0:e.map((function(e){return e[t]&&e[t].length&&(n=Ht(Ht([],n,!0),e[t],!0)),e}));return null==r?void 0:r.concat(n.length?HD(n,t):n)}function RD(e){var t=e.data.map((function(e){return VD(e.items,e.subheader)})).flat(),n=HD(t).map((function(e){var n=function(e,t){var n,r=e.map((function(e){return{path:[e.title],currItem:e}})),o=function(){var e=r.pop(),o=e.path,i=e.currItem;if(i.path===t)return{value:o};(null===(n=i.children)||void 0===n?void 0:n.length)&&(r=r.concat(i.children.map((function(e){return{path:o.concat(e.title),currItem:e}}))))};for(;r.length;){var i=o();if("object"==typeof i)return i.value}return null}(t,e.path);return{group:n&&n.length>1?n[0]:e.subheader,title:e.title,path:e.path}}));return n}function VD(e,t){return null==e?void 0:e.map((function(e){return Lt(Lt({subheader:t},e),e.children&&{children:VD(e.children,t)})}))}var FD=s((function(){var e,t,n,o,i,a,s=ta(),u=ID(),d=fD(),p=El("up","md"),m=r(""),h=m[0],g=m[1],v=Qg(),A=f((function(){d.onFalse(),g("")}),[d]);t="keydown",a=c(n=function(e){"k"===e.key&&e.metaKey&&(d.onToggle(),g(""))}),BD((function(){a.current=n}),[n]),l((function(){var e=(null==o?void 0:o.current)||window;if(e&&e.addEventListener){var n=function(e){return a.current(e)};return e.addEventListener(t,n,i),function(){e.removeEventListener(t,n)}}}),[t,o,i]);var y,b=f((function(e){e.includes("http")?window.open(e):u.push(e),A()}),[A,u]),x=f((function(e){g(e.target.value)}),[]),w=function(e){var t=e.inputData,n=e.query;return n&&(t=t.filter((function(e){var t,r;return void 0!==e.path&&void 0!==e.title&&-1!==(null===(t=e.title)||void 0===t?void 0:t.toLowerCase().indexOf(n.toLowerCase()))||-1!==(null===(r=e.path)||void 0===r?void 0:r.toLowerCase().indexOf(n.toLowerCase()))}))),t}({inputData:RD({data:v}),query:h}),j=h&&!w.length,O=kt.jsxs(QA,{direction:"row",alignItems:"center",children:[kt.jsx(bm,{onClick:d.onTrue,children:kt.jsx(pa,{icon:"eva:search-fill"})}),p&&kt.jsx(LD,{sx:{px:.75,fontSize:12,color:"text.secondary"},children:"⌘K"})]});return kt.jsxs(kt.Fragment,{children:[O,kt.jsxs(Uz,{fullWidth:!0,maxWidth:"sm",open:d.value,onClose:A,transitionDuration:{enter:s.transitions.duration.shortest,exit:0},PaperProps:{sx:{mt:15,overflow:"unset"}},sx:(e={},e["& .".concat(Hz.container)]={alignItems:"flex-start"},e),children:[kt.jsx(da,{sx:{p:3,borderBottom:"solid 1px ".concat(s.palette.divider)},children:kt.jsx(cd,{fullWidth:!0,autoFocus:!0,placeholder:"Search...",value:h,onChange:x,startAdornment:kt.jsx(MO,{position:"start",children:kt.jsx(pa,{icon:"eva:search-fill",width:24,sx:{color:"text.disabled"}})}),endAdornment:kt.jsx(LD,{sx:{letterSpacing:1,color:"text.secondary"},children:"esc"}),inputProps:{sx:{typography:"h6"}}})}),kt.jsx(wg,{sx:{p:3,pt:2,height:400},children:j?kt.jsx(SD,{query:h,sx:{py:10}}):(y=function(e){return e.reduce((function(e,t){return e[t.group]=e[t.group]||[],e[t.group].push(t),e}),{})}(w),Object.keys(y).sort((function(e,t){return-t.localeCompare(e)})).filter((function(e){return""!==e})).map((function(e,t){return kt.jsx(xp,{disablePadding:!0,children:y[e].map((function(t){var n=t.title,r=t.path,o=bh(n,ED(n,h)),i=bh(r,ED(r,h));return kt.jsx(WD,{path:i,title:o,groupLabel:h&&e,onClickItem:function(){return b(r)}},"".concat(n).concat(r))}))},e||t)})))})]})]})})),XD=zs(kt.jsx("path",{d:"M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"}),"Person");function QD(e){return zr("MuiAvatar",e)}Cr("MuiAvatar",["root","colorDefault","circular","rounded","square","img","fallback"]);const YD=["alt","children","className","component","imgProps","sizes","src","srcSet","variant"],ZD=ia("div",{name:"MuiAvatar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],n.colorDefault&&t.colorDefault]}})((({theme:e,ownerState:t})=>Gt({position:"relative",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,width:40,height:40,fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(20),lineHeight:1,borderRadius:"50%",overflow:"hidden",userSelect:"none"},"rounded"===t.variant&&{borderRadius:(e.vars||e).shape.borderRadius},"square"===t.variant&&{borderRadius:0},t.colorDefault&&Gt({color:(e.vars||e).palette.background.default},e.vars?{backgroundColor:e.vars.palette.Avatar.defaultBg}:{backgroundColor:"light"===e.palette.mode?e.palette.grey[400]:e.palette.grey[600]})))),GD=ia("img",{name:"MuiAvatar",slot:"Img",overridesResolver:(e,t)=>t.img})({width:"100%",height:"100%",textAlign:"center",objectFit:"cover",color:"transparent",textIndent:1e4}),UD=ia(XD,{name:"MuiAvatar",slot:"Fallback",overridesResolver:(e,t)=>t.fallback})({width:"75%",height:"75%"});const qD=e.forwardRef((function(t,n){const r=na({props:t,name:"MuiAvatar"}),{alt:o,children:i,className:a,component:s="div",imgProps:l,sizes:c,src:u,srcSet:d,variant:p="circular"}=r,f=Pr(r,YD);let m=null;const h=function({crossOrigin:t,referrerPolicy:n,src:r,srcSet:o}){const[i,a]=e.useState(!1);return e.useEffect((()=>{if(!r&&!o)return;a(!1);let e=!0;const i=new Image;return i.onload=()=>{e&&a("loaded")},i.onerror=()=>{e&&a("error")},i.crossOrigin=t,i.referrerPolicy=n,i.src=r,o&&(i.srcset=o),()=>{e=!1}}),[t,n,r,o]),i}(Gt({},l,{src:u,srcSet:d})),g=u||d,v=g&&"error"!==h,A=Gt({},r,{colorDefault:!v,component:s,variant:p}),y=(e=>{const{classes:t,variant:n,colorDefault:r}=e;return wr({root:["root",n,r&&"colorDefault"],img:["img"],fallback:["fallback"]},QD,t)})(A);return m=v?kt.jsx(GD,Gt({alt:o,src:u,srcSet:d,sizes:c,ownerState:A,className:y.img},l)):null!=i?i:g&&o?o[0]:kt.jsx(UD,{ownerState:A,className:y.fallback}),kt.jsx(ZD,Gt({as:s,ownerState:A,className:Xo(y.root,a),ref:n},f,{children:m}))}));"production"!==process.env.NODE_ENV&&(qD.propTypes={alt:wn.string,children:wn.node,classes:wn.object,className:wn.string,component:wn.elementType,imgProps:wn.object,sizes:wn.string,src:wn.string,srcSet:wn.string,sx:wn.oneOfType([wn.arrayOf(wn.oneOfType([wn.func,wn.object,wn.bool])),wn.func,wn.object]),variant:wn.oneOfType([wn.oneOf(["circular","rounded","square"]),wn.string])});var KD=qD,JD=[];function _D(){var e,t,n,o=this,i=ID(),a={photo:"",firstname:"Mohamed",lastname:"Ismail",email:"admin@test.com"},s=(e=r(null),t=e[0],n=e[1],{open:t,onOpen:f((function(e){n(e.currentTarget)}),[]),onClose:f((function(){n(null)}),[]),setOpen:n});return kt.jsxs(kt.Fragment,{children:[kt.jsx(bm,{component:Xe.button,whileTap:"tap",whileHover:"hover",variants:Cl(1.05),onClick:s.onOpen,sx:Lt({width:40,height:40,background:function(e){return ci(e.palette.grey[500],.08)}},s.open&&{background:function(e){return"linear-gradient(135deg, ".concat(e.palette.primary.light," 0%, ").concat(e.palette.primary.main," 100%)")}}),children:kt.jsx(KD,{src:null==a?void 0:a.photo,alt:null==a?void 0:a.firstname,sx:{width:36,height:36,border:function(e){return"solid 2px ".concat(e.palette.background.default)}}})}),kt.jsxs(Dy,{open:s.open,onClose:s.onClose,sx:{width:200,p:0},children:[kt.jsxs(da,{sx:{p:2,pb:1.5},children:[kt.jsx(Ah,{variant:"subtitle2",noWrap:!0,children:(null==a?void 0:a.firstname)+" "+a.lastname}),kt.jsx(Ah,{variant:"body2",sx:{color:"text.secondary"},noWrap:!0,children:null==a?void 0:a.email})]}),kt.jsx(QA,{sx:{p:1},children:JD.map((function(e){return kt.jsx(xy,{onClick:function(){return function(e){s.onClose(),i.push(e)}(e.linkTo)},children:e.label},e.label)}))}),kt.jsx(ol,{sx:{borderStyle:"dashed"}}),kt.jsx(xy,{onClick:function(){return St(o,void 0,void 0,(function(){return Wt(this,(function(e){try{s.onClose(),i.replace("/")}catch(e){console.error(e)}return[2]}))}))},sx:{m:1,fontWeight:"fontWeightBold",color:"error.main"},children:"Logout"})]})]})}function $D(e){var t=e.onOpenNav,n=e.Logo,o=ta(),i=p(Yg),a="horizontal"===i.themeLayout,s="mini"===i.themeLayout,c=El("up","lg"),u=function(e,t){void 0===e&&(e=0);var n=Qe(t).scrollY,o=r(!1),i=o[0],a=o[1],s=f((function(){n.on("change",(function(t){a(t>e)}))}),[n,e]);return l((function(){s()}),[s]),m((function(){return i}),[i])}(mD.H_DESKTOP),d=u&&!a,h=kt.jsxs(kt.Fragment,{children:[c&&a&&n&&kt.jsx(n,{sx:{mr:2.5}}),!c&&kt.jsx(bm,{onClick:t,children:kt.jsx(PD,{src:"/assets/icons/navbar/ic_menu_item.svg"})}),kt.jsx(FD,{}),kt.jsx(QA,{flexGrow:1,direction:"row",alignItems:"center",justifyContent:"flex-end",spacing:{xs:.5,sm:1},children:kt.jsx(_D,{})})]});return kt.jsx(OD,{sx:Lt(Lt(Lt({height:mD.H_MOBILE,zIndex:o.zIndex.appBar+1},Oy({color:o.palette.background.default})),{transition:o.transitions.create(["height"],{duration:o.transitions.duration.shorter})}),c&&Lt(Lt(Lt({width:"calc(100% - ".concat(hD.W_VERTICAL+1,"px)"),height:mD.H_DESKTOP},d&&{height:mD.H_DESKTOP_OFFSET}),a&&{width:1,bgcolor:"background.default",height:mD.H_DESKTOP_OFFSET,borderBottom:"dashed 1px ".concat(o.palette.divider)}),s&&{width:"calc(100% - ".concat(hD.W_MINI+1,"px)")})),children:kt.jsx(TD,{sx:{height:1,px:{lg:5}},children:h})})}var eT=function(e){return{itemGap:(null==e?void 0:e.itemGap)||4,iconSize:(null==e?void 0:e.iconSize)||24,currentRole:null==e?void 0:e.currentRole,itemRootHeight:(null==e?void 0:e.itemRootHeight)||44,itemSubHeight:(null==e?void 0:e.itemSubHeight)||36,itemPadding:(null==e?void 0:e.itemPadding)||"4px 8px 4px 12px",itemRadius:(null==e?void 0:e.itemRadius)||8,hiddenLabel:(null==e?void 0:e.hiddenLabel)||!1}},tT=function(e){return{itemGap:(null==e?void 0:e.itemGap)||4,iconSize:(null==e?void 0:e.iconSize)||22,currentRole:null==e?void 0:e.currentRole,itemRootHeight:(null==e?void 0:e.itemRootHeight)||56,itemSubHeight:(null==e?void 0:e.itemSubHeight)||34,itemPadding:(null==e?void 0:e.itemPadding)||"6px 0 0 0",itemRadius:(null==e?void 0:e.itemRadius)||6,hiddenLabel:(null==e?void 0:e.hiddenLabel)||!1}},nT=function(e){return{itemGap:(null==e?void 0:e.itemGap)||6,iconSize:(null==e?void 0:e.iconSize)||22,currentRole:null==e?void 0:e.currentRole,itemRootHeight:(null==e?void 0:e.itemRootHeight)||32,itemSubHeight:(null==e?void 0:e.itemSubHeight)||34,itemPadding:(null==e?void 0:e.itemPadding)||"0 6px 0 6px",itemRadius:(null==e?void 0:e.itemRadius)||6,hiddenLabel:(null==e?void 0:e.hiddenLabel)||!1}};function rT(e){return zr("MuiLink",e)}var oT=Cr("MuiLink",["root","underlineNone","underlineHover","underlineAlways","button","focusVisible"]);const iT={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"};var aT=({theme:e,ownerState:t})=>{const n=(e=>iT[e]||e)(t.color),r=Fr(e,`palette.${n}`,!1)||t.color,o=Fr(e,`palette.${n}Channel`);return"vars"in e&&o?`rgba(${o} / 0.4)`:ci(r,.4)};const sT=["className","color","component","onBlur","onFocus","TypographyClasses","underline","variant","sx"],lT=ia(Ah,{name:"MuiLink",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`underline${Rn(n.underline)}`],"button"===n.component&&t.button]}})((({theme:e,ownerState:t})=>Gt({},"none"===t.underline&&{textDecoration:"none"},"hover"===t.underline&&{textDecoration:"none","&:hover":{textDecoration:"underline"}},"always"===t.underline&&Gt({textDecoration:"underline"},"inherit"!==t.color&&{textDecorationColor:aT({theme:e,ownerState:t})},{"&:hover":{textDecorationColor:"inherit"}}),"button"===t.component&&{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"},[`&.${oT.focusVisible}`]:{outline:"auto"}}))),cT=e.forwardRef((function(t,n){const r=na({props:t,name:"MuiLink"}),{className:o,color:i="primary",component:a="a",onBlur:s,onFocus:l,TypographyClasses:c,underline:u="always",variant:d="inherit",sx:p}=r,f=Pr(r,sT),{isFocusVisibleRef:m,onBlur:h,onFocus:g,ref:v}=ur(),[A,y]=e.useState(!1),b=tr(n,v),x=Gt({},r,{color:i,component:a,focusVisible:A,underline:u,variant:d}),w=(e=>{const{classes:t,component:n,focusVisible:r,underline:o}=e;return wr({root:["root",`underline${Rn(o)}`,"button"===n&&"button",r&&"focusVisible"]},rT,t)})(x);return kt.jsx(lT,Gt({color:i,className:Xo(w.root,o),classes:c,component:a,onBlur:e=>{h(e),!1===m.current&&y(!1),s&&s(e)},onFocus:e=>{g(e),!0===m.current&&y(!0),l&&l(e)},ref:b,ownerState:x,variant:d,sx:[...Object.keys(iT).includes(i)?[]:[{color:i}],...Array.isArray(p)?p:[p]]},f))}));"production"!==process.env.NODE_ENV&&(cT.propTypes={children:wn.node,classes:wn.object,className:wn.string,color:wn.any,component:zn,onBlur:wn.func,onFocus:wn.func,sx:wn.oneOfType([wn.arrayOf(wn.oneOfType([wn.func,wn.object,wn.bool])),wn.func,wn.object]),TypographyClasses:wn.object,underline:wn.oneOf(["always","hover","none"]),variant:wn.oneOfType([wn.oneOf(["body1","body2","button","caption","h1","h2","h3","h4","h5","h6","inherit","overline","subtitle1","subtitle2"]),wn.string])});var uT=cT,dT=n((function(e,t){var n=e.href,r=It(e,["href"]);return kt.jsx(de,Lt({ref:t,to:n},r))})),pT=ia(eM,{shouldForwardProp:function(e){return"active"!==e}})((function(e){var t=e.active,n=e.open,r=e.depth,o=e.config,i=e.theme,a=1!==r,s={root:{color:"light"===i.palette.mode?i.palette.primary.main:i.palette.primary.light,backgroundColor:ci(i.palette.primary.main,.08),"&:hover":{backgroundColor:ci(i.palette.primary.main,.16)}},sub:{color:i.palette.text.primary,backgroundColor:i.palette.action.selected,"&:hover":{backgroundColor:i.palette.action.hover}}};return Lt(Lt(Lt(Lt({flexDirection:"column",justifyContent:"center",borderRadius:o.itemRadius,minHeight:o.itemRootHeight,color:i.palette.text.secondary,margin:"0 ".concat(o.itemGap,"px ").concat(o.itemGap,"px ").concat(o.itemGap,"px")},o.hiddenLabel&&!a&&{padding:o.itemPadding}),t&&Lt({},s.root)),a&&Lt({margin:0,flexDirection:"row",padding:i.spacing(0,1),minHeight:o.itemSubHeight},t&&Lt({},s.sub))),n&&!t&&{color:i.palette.text.primary,backgroundColor:i.palette.action.hover})})),fT=ia(cy)((function(e){var t=e.size;return{width:t,height:t,marginRight:0}})),mT=n((function(e,t){var n=e.item,r=e.depth,o=e.open,i=e.active,a=e.externalLink,s=e.config,l=It(e,["item","depth","open","active","externalLink","config"]),c=ta(),u=n.title,d=n.path,p=n.icon,f=n.children,m=n.disabled,h=n.caption,g=n.roles,v=1!==r,A=kt.jsxs(pT,Lt({disableGutters:!0,ref:t,open:o,depth:r,active:i,disabled:m,config:s},l,{children:[p&&kt.jsx(fT,{size:s.iconSize,children:p}),!(s.hiddenLabel&&!v)&&kt.jsx(hy,{sx:Lt({width:1,flex:"unset"},!v&&{px:.5,mt:.5}),primary:u,primaryTypographyProps:Lt({noWrap:!0,fontSize:10,lineHeight:"16px",textAlign:"center",textTransform:"capitalize",fontWeight:i?"fontWeightBold":"fontWeightSemiBold"},v&&{textAlign:"unset",fontSize:c.typography.body2.fontSize,lineHeight:c.typography.body2.lineHeight,fontWeight:i?"fontWeightSemiBold":"fontWeightMedium"})}),h&&kt.jsx(ny,{title:h,arrow:!0,placement:"right",children:kt.jsx(pa,{width:16,icon:"eva:info-outline",sx:Lt({color:"text.disabled"},!v&&{top:11,left:6,position:"absolute"})})}),!!f&&kt.jsx(pa,{width:16,icon:"eva:arrow-ios-forward-fill",sx:{top:11,right:6,position:"absolute"}})]}));return g&&!g.includes("".concat(s.currentRole))?null:a?kt.jsx(uT,{href:d,target:"_blank",rel:"noopener",underline:"none",sx:Lt({width:1},m&&{cursor:"default"}),children:A}):kt.jsx(uT,{component:dT,href:d,underline:"none",sx:Lt({width:1},m&&{cursor:"default"}),children:A})}));function hT(e,t){void 0===t&&(t=!0);var n=me().pathname,r=!!e&&!!ge({path:e,end:!0},n),o=!!e&&!!ge({path:e,end:!1},n);return t?o:r}function gT(e){var t,n,o=e.data,i=e.depth,a=e.hasChild,s=e.config,u=c(null),d=wC(),p=hT(o.path,a),m=null===(n=o.path)||void 0===n?void 0:n.includes("http"),h=r(!1),g=h[0],v=h[1];l((function(){g&&y()}),[d]),l((function(){var e=Array.from(document.querySelectorAll(".".concat(yD.root))),t=function(){document.body.style.overflow="",document.body.style.padding="",e.forEach((function(e){e.style.padding=""}))};t()}),[g]);var A=f((function(){v(!0)}),[]),y=f((function(){v(!1)}),[]);return kt.jsxs(kt.Fragment,{children:[kt.jsx(mT,{ref:u,item:o,depth:i,open:g,active:p,externalLink:m,onMouseEnter:A,onMouseLeave:y,config:s}),a&&kt.jsx(Gp,{open:g,anchorEl:u.current,anchorOrigin:{vertical:"center",horizontal:"right"},transformOrigin:{vertical:"center",horizontal:"left"},PaperProps:{onMouseEnter:A,onMouseLeave:y},sx:(t={pointerEvents:"none"},t["& .".concat(Ip.paper)]=Lt({mt:.5,width:160},g&&{pointerEvents:"auto"}),t),children:kt.jsx(vT,{data:o.children,depth:i,config:s})})]})}function vT(e){var t=e.data,n=e.depth,r=e.config;return kt.jsx(QA,{spacing:.5,children:t.map((function(e){return kt.jsx(gT,{data:e,depth:n+1,hasChild:!!e.children,config:r},e.title+e.path)}))})}var AT=s((function(e){var t=e.data,n=e.config,r=e.sx,o=It(e,["data","config","sx"]);return kt.jsx(QA,Lt({sx:r},o,{children:t.map((function(e,t){return kt.jsx(yT,{items:e.items,config:tT(n)},e.subheader||t)}))}))}));function yT(e){var t=e.items,n=e.config;return kt.jsx(kt.Fragment,{children:t.map((function(e){return kt.jsx(gT,{data:e,depth:1,hasChild:!!e.children,config:n},e.title+e.path)}))})}function bT(e){var t=e.sx,n=It(e,["sx"]),r=ta(),o=p(Yg),i=o.themeLayout,a=o.setThemeLayout;return El("up","lg")?kt.jsx(bm,Lt({size:"small",onClick:function(){a&&a("vertical"===i?"mini":"vertical")},sx:Lt(Lt(Lt({p:.5,top:32,position:"fixed",left:hD.W_VERTICAL-12,zIndex:r.zIndex.appBar+1,border:"dashed 1px ".concat(r.palette.divider)},Oy({opacity:.48,color:r.palette.background.default})),{"&:hover":{bgcolor:"background.default"}}),t)},n,{children:kt.jsx(pa,{width:16,icon:"vertical"===i?"eva:arrow-ios-back-fill":"eva:arrow-ios-forward-fill"})})):null}function xT(e){var t=e.Logo,n=Qg();return kt.jsxs(da,{component:"nav",sx:{flexShrink:{lg:0},width:{lg:hD.W_MINI}},children:[kt.jsx(bT,{sx:{top:22,left:hD.W_MINI-12}}),kt.jsxs(QA,{sx:Lt({pb:2,height:1,position:"fixed",width:hD.W_MINI,borderRight:function(e){return"dashed 1px ".concat(e.palette.divider)}},My.x),children:[t&&kt.jsx(t,{sx:{mx:"auto",my:2}}),kt.jsx(AT,{data:n,config:{currentRole:"admin"}})]})]})}function wT(e){return zr("MuiCollapse",e)}Cr("MuiCollapse",["root","horizontal","vertical","entered","hidden","wrapper","wrapperInner"]);const jT=["addEndListener","children","className","collapsedSize","component","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","orientation","style","timeout","TransitionComponent"],OT=ia("div",{name:"MuiCollapse",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.orientation],"entered"===n.state&&t.entered,"exited"===n.state&&!n.in&&"0px"===n.collapsedSize&&t.hidden]}})((({theme:e,ownerState:t})=>Gt({height:0,overflow:"hidden",transition:e.transitions.create("height")},"horizontal"===t.orientation&&{height:"auto",width:0,transition:e.transitions.create("width")},"entered"===t.state&&Gt({height:"auto",overflow:"visible"},"horizontal"===t.orientation&&{width:"auto"}),"exited"===t.state&&!t.in&&"0px"===t.collapsedSize&&{visibility:"hidden"}))),MT=ia("div",{name:"MuiCollapse",slot:"Wrapper",overridesResolver:(e,t)=>t.wrapper})((({ownerState:e})=>Gt({display:"flex",width:"100%"},"horizontal"===e.orientation&&{width:"auto",height:"100%"}))),zT=ia("div",{name:"MuiCollapse",slot:"WrapperInner",overridesResolver:(e,t)=>t.wrapperInner})((({ownerState:e})=>Gt({width:"100%"},"horizontal"===e.orientation&&{width:"auto",height:"100%"}))),CT=e.forwardRef((function(t,n){const r=na({props:t,name:"MuiCollapse"}),{addEndListener:o,children:i,className:a,collapsedSize:s="0px",component:l,easing:c,in:u,onEnter:d,onEntered:p,onEntering:f,onExit:m,onExited:h,onExiting:g,orientation:v="vertical",style:A,timeout:y=Gi.standard,TransitionComponent:b=Ja}=r,x=Pr(r,jT),w=Gt({},r,{orientation:v,collapsedSize:s}),j=(e=>{const{orientation:t,classes:n}=e;return wr({root:["root",`${t}`],entered:["entered"],hidden:["hidden"],wrapper:["wrapper",`${t}`],wrapperInner:["wrapperInner",`${t}`]},wT,n)})(w),O=ta(),M=e.useRef(),z=e.useRef(null),C=e.useRef(),D="number"==typeof s?`${s}px`:s,T="horizontal"===v,P=T?"width":"height";e.useEffect((()=>()=>{clearTimeout(M.current)}),[]);const N=e.useRef(null),E=tr(n,N),B=e=>t=>{if(e){const n=N.current;void 0===t?e(n):e(n,t)}},k=()=>z.current?z.current[T?"clientWidth":"clientHeight"]:0,L=B(((e,t)=>{z.current&&T&&(z.current.style.position="absolute"),e.style[P]=D,d&&d(e,t)})),I=B(((e,t)=>{const n=k();z.current&&T&&(z.current.style.position="");const{duration:r,easing:o}=is({style:A,timeout:y,easing:c},{mode:"enter"});if("auto"===y){const t=O.transitions.getAutoHeightDuration(n);e.style.transitionDuration=`${t}ms`,C.current=t}else e.style.transitionDuration="string"==typeof r?r:`${r}ms`;e.style[P]=`${n}px`,e.style.transitionTimingFunction=o,f&&f(e,t)})),S=B(((e,t)=>{e.style[P]="auto",p&&p(e,t)})),W=B((e=>{e.style[P]=`${k()}px`,m&&m(e)})),H=B(h),R=B((e=>{const t=k(),{duration:n,easing:r}=is({style:A,timeout:y,easing:c},{mode:"exit"});if("auto"===y){const n=O.transitions.getAutoHeightDuration(t);e.style.transitionDuration=`${n}ms`,C.current=n}else e.style.transitionDuration="string"==typeof n?n:`${n}ms`;e.style[P]=D,e.style.transitionTimingFunction=r,g&&g(e)}));return kt.jsx(b,Gt({in:u,onEnter:L,onEntered:S,onEntering:I,onExit:W,onExited:H,onExiting:R,addEndListener:e=>{"auto"===y&&(M.current=setTimeout(e,C.current||0)),o&&o(N.current,e)},nodeRef:N,timeout:"auto"===y?null:y},x,{children:(e,t)=>kt.jsx(OT,Gt({as:l,className:Xo(j.root,a,{entered:j.entered,exited:!u&&"0px"===D&&j.hidden}[e]),style:Gt({[T?"minWidth":"minHeight"]:D},A),ownerState:Gt({},w,{state:e}),ref:E},t,{children:kt.jsx(MT,{ownerState:Gt({},w,{state:e}),className:j.wrapper,ref:z,children:kt.jsx(zT,{ownerState:Gt({},w,{state:e}),className:j.wrapperInner,children:i})})}))}))}));"production"!==process.env.NODE_ENV&&(CT.propTypes={addEndListener:wn.func,children:wn.node,classes:wn.object,className:wn.string,collapsedSize:wn.oneOfType([wn.number,wn.string]),component:zn,easing:wn.oneOfType([wn.shape({enter:wn.string,exit:wn.string}),wn.string]),in:wn.bool,onEnter:wn.func,onEntered:wn.func,onEntering:wn.func,onExit:wn.func,onExited:wn.func,onExiting:wn.func,orientation:wn.oneOf(["horizontal","vertical"]),style:wn.object,sx:wn.oneOfType([wn.arrayOf(wn.oneOfType([wn.func,wn.object,wn.bool])),wn.func,wn.object]),timeout:wn.oneOfType([wn.oneOf(["auto"]),wn.number,wn.shape({appear:wn.number,enter:wn.number,exit:wn.number})])}),CT.muiSupportAuto=!0;var DT=CT,TT=ia(eM,{shouldForwardProp:function(e){return"active"!==e}})((function(e){var t=e.active,n=e.depth,r=e.config,o=e.theme,i=1!==n,a=n>2,s={root:{color:"light"===o.palette.mode?o.palette.primary.main:o.palette.primary.light,backgroundColor:ci(o.palette.primary.main,.08),"&:hover":{backgroundColor:ci(o.palette.primary.main,.16)}},sub:{color:o.palette.text.primary,backgroundColor:"transparent","&:hover":{backgroundColor:o.palette.action.hover}}};return Lt(Lt(Lt({padding:r.itemPadding,marginBottom:r.itemGap,borderRadius:r.itemRadius,minHeight:r.itemRootHeight,color:o.palette.text.secondary},t&&Lt({},s.root)),i&&Lt({minHeight:r.itemSubHeight},t&&Lt({},s.sub))),a&&{paddingLeft:o.spacing(n)})})),PT=ia(cy)((function(e){var t=e.size;return{width:t,height:t,alignItems:"center",justifyContent:"center"}})),NT=ia("span")((function(e){var t=e.active,n=e.theme;return Lt({width:4,height:4,borderRadius:"50%",backgroundColor:n.palette.text.disabled,transition:n.transitions.create(["transform"],{duration:n.transitions.duration.shorter})},t&&{transform:"scale(2)",backgroundColor:n.palette.primary.main})})),ET=ia(Gf)((function(e){var t=e.config,n=e.theme;return Lt(Lt({},n.typography.overline),{fontSize:11,cursor:"pointer",display:"inline-flex",padding:t.itemPadding,paddingTop:n.spacing(2),marginBottom:t.itemGap,paddingBottom:n.spacing(1),color:n.palette.text.disabled,transition:n.transitions.create(["color"],{duration:n.transitions.duration.shortest}),"&:hover":{color:n.palette.text.primary}})}));function BT(e){var t=e.item,n=e.open,r=e.depth,o=e.active,i=e.config,a=e.externalLink,s=It(e,["item","open","depth","active","config","externalLink"]),l=t.title,c=t.path,u=t.icon,d=t.info,p=t.children,f=t.disabled,m=t.caption,h=t.roles,g=1!==r,v=kt.jsxs(TT,Lt({disableGutters:!0,disabled:f,active:o,depth:r,config:i},s,{children:[kt.jsxs(kt.Fragment,{children:[u&&kt.jsx(PT,{size:i.iconSize,children:u}),g&&kt.jsx(PT,{size:i.iconSize,children:kt.jsx(NT,{active:o})})]}),!(i.hiddenLabel&&!g)&&kt.jsx(hy,{primary:l,secondary:m?kt.jsx(ny,{title:m,placement:"top-start",children:kt.jsx("span",{children:m})}):null,primaryTypographyProps:{noWrap:!0,typography:"body2",textTransform:"capitalize",fontWeight:o?"fontWeightSemiBold":"fontWeightMedium"},secondaryTypographyProps:{noWrap:!0,component:"span",typography:"caption",color:"text.disabled"}}),d&&kt.jsx(da,{component:"span",sx:{ml:1,lineHeight:0},children:d}),!!p&&kt.jsx(pa,{width:16,icon:n?"eva:arrow-ios-downward-fill":"eva:arrow-ios-forward-fill",sx:{ml:1,flexShrink:0}})]}));return h&&!h.includes("".concat(i.currentRole))?null:a?kt.jsx(uT,{href:c,target:"_blank",rel:"noopener",underline:"none",color:"inherit",sx:Lt({},f&&{cursor:"default"}),children:v}):p?v:kt.jsx(uT,{component:dT,href:c,underline:"none",color:"inherit",sx:Lt({},f&&{cursor:"default"}),children:v})}function kT(e){var t,n=e.data,o=e.depth,i=e.hasChild,a=e.config;wC();var s=hT(n.path,i),c=null===(t=n.path)||void 0===t?void 0:t.includes("http"),u=r(s),d=u[0],p=u[1];l((function(){s||h()}),[]);var m=f((function(){p((function(e){return!e}))}),[]),h=f((function(){p(!1)}),[]);return kt.jsxs(kt.Fragment,{children:[kt.jsx(BT,{item:n,depth:o,open:d,active:s,externalLink:c,onClick:m,config:a}),i&&kt.jsx(DT,{in:d,unmountOnExit:!0,children:kt.jsx(LT,{data:n.children,depth:o,config:a})})]})}function LT(e){var t=e.data,n=e.depth,r=e.config;return kt.jsx(kt.Fragment,{children:t.map((function(e){return kt.jsx(kT,{data:e,depth:n+1,hasChild:!!e.children,config:r},e.title+e.path)}))})}var IT=s((function(e){var t=e.data,n=e.config,r=e.sx,o=It(e,["data","config","sx"]);return kt.jsx(QA,Lt({sx:r},o,{children:t.map((function(e,t){return kt.jsx(ST,{subheader:e.subheader,items:e.items,config:eT(n)},e.subheader||t)}))}))}));function ST(e){var t=e.subheader,n=e.items,o=e.config,i=r(!0),a=i[0],s=i[1],l=f((function(){s((function(e){return!e}))}),[]),c=n.map((function(e){return kt.jsx(kT,{data:e,depth:1,hasChild:!!e.children,config:o},e.title+e.path)}));return kt.jsx(xp,{disablePadding:!0,sx:{px:2},children:t?kt.jsxs(kt.Fragment,{children:[kt.jsx(ET,{disableGutters:!0,disableSticky:!0,onClick:l,config:o,children:t}),kt.jsx(DT,{in:a,children:c})]}):c})}function WT(e){var t=e.openNav,n=e.onCloseNav,r=e.Logo,o=wC(),i=El("up","lg"),a=Qg();l((function(){t&&n()}),[o]);var s=kt.jsxs(wg,{sx:{height:1,"& .simplebar-content":{height:1,display:"flex",flexDirection:"column"}},children:[r&&kt.jsx(r,{sx:{mt:3,ml:4,mb:1}}),kt.jsx(IT,{data:a,config:{currentRole:"admin"}}),kt.jsx(da,{sx:{flexGrow:1}})]});return kt.jsxs(da,{component:"nav",sx:{flexShrink:{lg:0},width:{lg:hD.W_VERTICAL}},children:[kt.jsx(bT,{}),i?kt.jsx(QA,{sx:{height:1,position:"fixed",width:hD.W_VERTICAL,borderRight:function(e){return"dashed 1px ".concat(e.palette.divider)}},children:s}):kt.jsx(Ks,{open:t,onClose:n,PaperProps:{sx:{width:hD.W_VERTICAL}},children:s})]})}var HT=ia(eM,{shouldForwardProp:function(e){return"active"!==e}})((function(e){var t=e.active,n=e.open,r=e.depth,o=e.config,i=e.theme,a=1!==r,s={color:i.palette.text.primary,backgroundColor:i.palette.action.selected};return Lt(Lt(Lt({flexShrink:0,padding:o.itemPadding,marginRight:o.itemGap,borderRadius:o.itemRadius,minHeight:o.itemRootHeight,color:i.palette.text.secondary},t&&Lt({},s)),a&&{margin:0,padding:i.spacing(0,1),minHeight:o.itemSubHeight}),n&&!t&&{color:i.palette.text.primary,backgroundColor:i.palette.action.hover})})),RT=ia(cy)((function(e){var t=e.size;return{width:t,height:t,flexShrink:0,marginRight:0}})),VT=n((function(e,t){var n=e.item,r=e.depth,o=e.open,i=e.active,a=e.externalLink,s=e.config,l=It(e,["item","depth","open","active","externalLink","config"]),c=n.title,u=n.path,d=n.icon,p=n.info,f=n.children,m=n.disabled,h=n.caption,g=n.roles,v=1!==r,A=kt.jsxs(HT,Lt({disableGutters:!0,ref:t,open:o,depth:r,active:i,disabled:m,config:s},l,{children:[d&&kt.jsx(RT,{size:s.iconSize,children:d}),!(s.hiddenLabel&&!v)&&kt.jsx(hy,{sx:Lt({},!v&&{ml:1}),primary:c,primaryTypographyProps:Lt({noWrap:!0,typography:"body2",textTransform:"capitalize",fontWeight:i?"fontWeightBold":"fontWeightMedium"},v&&{fontWeight:i?"fontWeightSemiBold":"fontWeightMedium"})}),p&&kt.jsx(da,{component:"span",sx:{ml:.5,lineHeight:0},children:p}),h&&kt.jsx(ny,{title:h,arrow:!0,children:kt.jsx(pa,{width:16,icon:"eva:info-outline",sx:{ml:.5,color:"text.disabled"}})}),!!f&&kt.jsx(pa,{icon:v?"eva:arrow-ios-forward-fill":"eva:arrow-ios-downward-fill",width:16,sx:{flexShrink:0,ml:.5}})]}));return g&&!g.includes("".concat(s.currentRole))?null:a?kt.jsx(uT,{href:u,target:"_blank",rel:"noopener",underline:"none",sx:Lt({},m&&{cursor:"default"}),children:A}):kt.jsx(uT,{component:dT,href:u,underline:"none",sx:Lt({},m&&{cursor:"default"}),children:A})}));function FT(e){var t,n,o=e.data,i=e.depth,a=e.hasChild,s=e.config,u=c(null),d=wC(),p=hT(o.path,a),f=null===(n=o.path)||void 0===n?void 0:n.includes("http"),m=r(!1),h=m[0],g=m[1];l((function(){h&&A()}),[d]),l((function(){var e=Array.from(document.querySelectorAll(".".concat(yD.root))),t=function(){document.body.style.overflow="",document.body.style.padding="",e.forEach((function(e){e.style.padding=""}))};t()}),[h]);var v=function(){g(!0)},A=function(){g(!1)};return kt.jsxs(kt.Fragment,{children:[kt.jsx(VT,{ref:u,item:o,depth:i,open:h,active:p,externalLink:f,onMouseEnter:v,onMouseLeave:A,config:s}),a&&kt.jsx(Gp,{open:h,anchorEl:u.current,anchorOrigin:1===i?{vertical:"bottom",horizontal:"left"}:{vertical:"center",horizontal:"right"},transformOrigin:1===i?{vertical:"top",horizontal:"left"}:{vertical:"center",horizontal:"left"},PaperProps:{onMouseEnter:v,onMouseLeave:A},sx:(t={pointerEvents:"none"},t["& .".concat(Ip.paper)]=Lt({width:160},h&&{pointerEvents:"auto"}),t),children:kt.jsx(XT,{data:o.children,depth:i,config:s})})]})}function XT(e){var t=e.data,n=e.depth,r=e.config;return kt.jsx(QA,{spacing:.5,children:t.map((function(e){return kt.jsx(FT,{data:e,depth:n+1,hasChild:!!e.children,config:r},e.title+e.path)}))})}var QT=s((function(e){var t=e.data,n=e.config,r=e.sx,o=It(e,["data","config","sx"]);return kt.jsx(QA,Lt({direction:"row",sx:Lt(Lt({mx:"auto"},My.y),r)},o,{children:t.map((function(e,t){return kt.jsx(YT,{items:e.items,config:nT(n)},e.subheader||t)}))}))}));function YT(e){var t=e.items,n=e.config;return kt.jsx(kt.Fragment,{children:t.map((function(e){return kt.jsx(FT,{data:e,depth:1,hasChild:!!e.children,config:n},e.title+e.path)}))})}function ZT(e){var t=e.sx,n=It(e,["sx"]);return kt.jsx(da,Lt({sx:Lt({left:0,right:0,bottom:0,m:"auto",height:24,zIndex:-1,opacity:.48,borderRadius:"50%",position:"absolute",width:"calc(100% - 48px)",boxShadow:function(e){return e.customShadows.z8}},t)},n))}var GT=s((function(){var e=ta(),t=Qg();return kt.jsxs(OD,{component:"nav",sx:{top:mD.H_DESKTOP_OFFSET},children:[kt.jsx(TD,{sx:Lt({},Oy({color:e.palette.background.default})),children:kt.jsx(QT,{data:t,config:{currentRole:"admin"}})}),kt.jsx(ZT,{})]})}));function UT(e){var t=e.children,n=e.Logo,r=El("up","lg"),o=p(Yg),i=fD(),a="horizontal"===o.themeLayout,s="mini"===o.themeLayout,l=kt.jsx(xT,{Logo:n}),c=kt.jsx(GT,{}),u=kt.jsx(WT,{openNav:i.value,onCloseNav:i.onFalse,Logo:n});return a?kt.jsxs(kt.Fragment,{children:[kt.jsx($D,{onOpenNav:i.onTrue,Logo:n}),r?c:u,kt.jsx(vD,{children:t})]}):s?kt.jsxs(kt.Fragment,{children:[kt.jsx($D,{onOpenNav:i.onTrue,Logo:n}),kt.jsxs(da,{sx:{display:{lg:"flex"},minHeight:{lg:1}},children:[r?l:u,kt.jsx(vD,{children:t})]})]}):kt.jsxs(kt.Fragment,{children:[kt.jsx($D,{onOpenNav:i.onTrue,Logo:n}),kt.jsxs(da,{sx:{display:{lg:"flex"},minHeight:{lg:1}},children:[u,kt.jsx(vD,{children:t})]})]})}var qT=function(){this.__data__=[],this.size=0};var KT=function(e,t){return e===t||e!=e&&t!=t},JT=KT;var _T=function(e,t){for(var n=e.length;n--;)if(JT(e[n][0],t))return n;return-1},$T=_T,eP=Array.prototype.splice;var tP=_T;var nP=_T;var rP=_T;var oP=qT,iP=function(e){var t=this.__data__,n=$T(t,e);return!(n<0)&&(n==t.length-1?t.pop():eP.call(t,n,1),--this.size,!0)},aP=function(e){var t=this.__data__,n=tP(t,e);return n<0?void 0:t[n][1]},sP=function(e){return nP(this.__data__,e)>-1},lP=function(e,t){var n=this.__data__,r=rP(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this};function cP(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}cP.prototype.clear=oP,cP.prototype.delete=iP,cP.prototype.get=aP,cP.prototype.has=sP,cP.prototype.set=lP;var uP=cP,dP=uP;var pP=function(){this.__data__=new dP,this.size=0};var fP=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n};var mP=function(e){return this.__data__.get(e)};var hP=function(e){return this.__data__.has(e)},gP=Qh,vP=xh;var AP,yP=function(e){if(!vP(e))return!1;var t=gP(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t},bP=Mh["__core-js_shared__"],xP=(AP=/[^.]+$/.exec(bP&&bP.keys&&bP.keys.IE_PROTO||""))?"Symbol(src)_1."+AP:"";var wP=function(e){return!!xP&&xP in e},jP=Function.prototype.toString;var OP=yP,MP=wP,zP=xh,CP=function(e){if(null!=e){try{return jP.call(e)}catch(e){}try{return e+""}catch(e){}}return""},DP=/^\[object .+?Constructor\]$/,TP=Function.prototype,PP=Object.prototype,NP=TP.toString,EP=PP.hasOwnProperty,BP=RegExp("^"+NP.call(EP).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");var kP=function(e,t){return null==e?void 0:e[t]},LP=function(e){return!(!zP(e)||MP(e))&&(OP(e)?BP:DP).test(CP(e))},IP=kP;var SP=function(e,t){var n=IP(e,t);return LP(n)?n:void 0},WP=SP(Mh,"Map"),HP=SP(Object,"create"),RP=HP;var VP=function(){this.__data__=RP?RP(null):{},this.size=0};var FP=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},XP=HP,QP=Object.prototype.hasOwnProperty;var YP=function(e){var t=this.__data__;if(XP){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return QP.call(t,e)?t[e]:void 0},ZP=HP,GP=Object.prototype.hasOwnProperty;var UP=HP;var qP=VP,KP=FP,JP=YP,_P=function(e){var t=this.__data__;return ZP?void 0!==t[e]:GP.call(t,e)},$P=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=UP&&void 0===t?"__lodash_hash_undefined__":t,this};function eN(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}eN.prototype.clear=qP,eN.prototype.delete=KP,eN.prototype.get=JP,eN.prototype.has=_P,eN.prototype.set=$P;var tN=eN,nN=uP,rN=WP;var oN=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e};var iN=function(e,t){var n=e.__data__;return oN(t)?n["string"==typeof t?"string":"hash"]:n.map},aN=iN;var sN=function(e){var t=aN(this,e).delete(e);return this.size-=t?1:0,t},lN=iN;var cN=iN;var uN=iN;var dN=function(){this.size=0,this.__data__={hash:new tN,map:new(rN||nN),string:new tN}},pN=sN,fN=function(e){return lN(this,e).get(e)},mN=function(e){return cN(this,e).has(e)},hN=function(e,t){var n=uN(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this};function gN(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}gN.prototype.clear=dN,gN.prototype.delete=pN,gN.prototype.get=fN,gN.prototype.has=mN,gN.prototype.set=hN;var vN=uP,AN=WP,yN=gN;var bN=uP,xN=pP,wN=fP,jN=mP,ON=hP,MN=function(e,t){var n=this.__data__;if(n instanceof vN){var r=n.__data__;if(!AN||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new yN(r)}return n.set(e,t),this.size=n.size,this};function zN(e){var t=this.__data__=new bN(e);this.size=t.size}zN.prototype.clear=xN,zN.prototype.delete=wN,zN.prototype.get=jN,zN.prototype.has=ON,zN.prototype.set=MN;var CN=zN,DN=SP,TN=function(){try{var e=DN(Object,"defineProperty");return e({},"",{}),e}catch(e){}}(),PN=TN;var NN=function(e,t,n){"__proto__"==t&&PN?PN(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n},EN=NN,BN=KT;var kN=function(e,t,n){(void 0!==n&&!BN(e[t],n)||void 0===n&&!(t in e))&&EN(e,t,n)};var LN=function(e){return function(t,n,r){for(var o=-1,i=Object(t),a=r(t),s=a.length;s--;){var l=a[e?s:++o];if(!1===n(i[l],l,i))break}return t}},IN=LN(),SN={exports:{}};!function(e,t){var n=Mh,r=t&&!t.nodeType&&t,o=r&&e&&!e.nodeType&&e,i=o&&o.exports===r?n.Buffer:void 0,a=i?i.allocUnsafe:void 0;e.exports=function(e,t){if(t)return e.slice();var n=e.length,r=a?a(n):new e.constructor(n);return e.copy(r),r}}(SN,SN.exports);var WN=SN.exports,HN=Mh.Uint8Array;var RN=function(e){var t=new e.constructor(e.byteLength);return new HN(t).set(new HN(e)),t},VN=RN;var FN=function(e,t){var n=t?VN(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)};var XN=function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t},QN=xh,YN=Object.create,ZN=function(){function e(){}return function(t){if(!QN(t))return{};if(YN)return YN(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}(),GN=ZN;var UN=function(e,t){return function(n){return e(t(n))}}(Object.getPrototypeOf,Object),qN=Object.prototype;var KN=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||qN)},JN=GN,_N=UN,$N=KN;var eE=function(e){return"function"!=typeof e.constructor||$N(e)?{}:JN(_N(e))},tE=Qh,nE=Yh;var rE=function(e){return nE(e)&&"[object Arguments]"==tE(e)},oE=Yh,iE=Object.prototype,aE=iE.hasOwnProperty,sE=iE.propertyIsEnumerable,lE=rE(function(){return arguments}())?rE:function(e){return oE(e)&&aE.call(e,"callee")&&!sE.call(e,"callee")},cE=Array.isArray;var uE=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991},dE=yP,pE=uE;var fE=function(e){return null!=e&&pE(e.length)&&!dE(e)},mE=fE,hE=Yh;var gE=function(e){return hE(e)&&mE(e)},vE={exports:{}};var AE=function(){return!1};!function(e,t){var n=Mh,r=AE,o=t&&!t.nodeType&&t,i=o&&e&&!e.nodeType&&e,a=i&&i.exports===o?n.Buffer:void 0,s=(a?a.isBuffer:void 0)||r;e.exports=s}(vE,vE.exports);var yE=vE.exports,bE=Qh,xE=UN,wE=Yh,jE=Function.prototype,OE=Object.prototype,ME=jE.toString,zE=OE.hasOwnProperty,CE=ME.call(Object);var DE=function(e){if(!wE(e)||"[object Object]"!=bE(e))return!1;var t=xE(e);if(null===t)return!0;var n=zE.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&ME.call(n)==CE},TE=Qh,PE=uE,NE=Yh,EE={};EE["[object Float32Array]"]=EE["[object Float64Array]"]=EE["[object Int8Array]"]=EE["[object Int16Array]"]=EE["[object Int32Array]"]=EE["[object Uint8Array]"]=EE["[object Uint8ClampedArray]"]=EE["[object Uint16Array]"]=EE["[object Uint32Array]"]=!0,EE["[object Arguments]"]=EE["[object Array]"]=EE["[object ArrayBuffer]"]=EE["[object Boolean]"]=EE["[object DataView]"]=EE["[object Date]"]=EE["[object Error]"]=EE["[object Function]"]=EE["[object Map]"]=EE["[object Number]"]=EE["[object Object]"]=EE["[object RegExp]"]=EE["[object Set]"]=EE["[object String]"]=EE["[object WeakMap]"]=!1;var BE=function(e){return NE(e)&&PE(e.length)&&!!EE[TE(e)]};var kE=function(e){return function(t){return e(t)}},LE={exports:{}};!function(e,t){var n=wh,r=t&&!t.nodeType&&t,o=r&&e&&!e.nodeType&&e,i=o&&o.exports===r&&n.process,a=function(){try{var e=o&&o.require&&o.require("util").types;return e||i&&i.binding&&i.binding("util")}catch(e){}}();e.exports=a}(LE,LE.exports);var IE=LE.exports,SE=BE,WE=kE,HE=IE&&IE.isTypedArray,RE=HE?WE(HE):SE;var VE=function(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]},FE=NN,XE=KT,QE=Object.prototype.hasOwnProperty;var YE=function(e,t,n){var r=e[t];QE.call(e,t)&&XE(r,n)&&(void 0!==n||t in e)||FE(e,t,n)},ZE=YE,GE=NN;var UE=function(e,t,n,r){var o=!n;n||(n={});for(var i=-1,a=t.length;++i<a;){var s=t[i],l=r?r(n[s],e[s],s,n,e):void 0;void 0===l&&(l=e[s]),o?GE(n,s,l):ZE(n,s,l)}return n};var qE=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r},KE=/^(?:0|[1-9]\d*)$/;var JE=function(e,t){var n=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==n||"symbol"!=n&&KE.test(e))&&e>-1&&e%1==0&&e<t},_E=qE,$E=lE,eB=cE,tB=yE,nB=JE,rB=RE,oB=Object.prototype.hasOwnProperty;var iB=function(e,t){var n=eB(e),r=!n&&$E(e),o=!n&&!r&&tB(e),i=!n&&!r&&!o&&rB(e),a=n||r||o||i,s=a?_E(e.length,String):[],l=s.length;for(var c in e)!t&&!oB.call(e,c)||a&&("length"==c||o&&("offset"==c||"parent"==c)||i&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||nB(c,l))||s.push(c);return s};var aB=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t},sB=xh,lB=KN,cB=aB,uB=Object.prototype.hasOwnProperty;var dB=function(e){if(!sB(e))return cB(e);var t=lB(e),n=[];for(var r in e)("constructor"!=r||!t&&uB.call(e,r))&&n.push(r);return n},pB=iB,fB=dB,mB=fE;var hB=function(e){return mB(e)?pB(e,!0):fB(e)},gB=UE,vB=hB;var AB=kN,yB=WN,bB=FN,xB=XN,wB=eE,jB=lE,OB=cE,MB=gE,zB=yE,CB=yP,DB=xh,TB=DE,PB=RE,NB=VE,EB=function(e){return gB(e,vB(e))};var BB=function(e,t,n,r,o,i,a){var s=NB(e,n),l=NB(t,n),c=a.get(l);if(c)AB(e,n,c);else{var u=i?i(s,l,n+"",e,t,a):void 0,d=void 0===u;if(d){var p=OB(l),f=!p&&zB(l),m=!p&&!f&&PB(l);u=l,p||f||m?OB(s)?u=s:MB(s)?u=xB(s):f?(d=!1,u=yB(l,!0)):m?(d=!1,u=bB(l,!0)):u=[]:TB(l)||jB(l)?(u=s,jB(s)?u=EB(s):DB(s)&&!CB(s)||(u=wB(l))):d=!1}d&&(a.set(l,u),o(u,l,r,i,a),a.delete(l)),AB(e,n,u)}},kB=CN,LB=kN,IB=IN,SB=BB,WB=xh,HB=hB,RB=VE;var VB=function e(t,n,r,o,i){t!==n&&IB(n,(function(a,s){if(i||(i=new kB),WB(a))SB(t,n,s,r,e,o,i);else{var l=o?o(RB(t,s),a,s+"",t,n,i):void 0;void 0===l&&(l=a),LB(t,s,l)}}),HB)};var FB=function(e){return e};var XB=function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)},QB=XB,YB=Math.max;var ZB=function(e,t,n){return t=YB(void 0===t?e.length-1:t,0),function(){for(var r=arguments,o=-1,i=YB(r.length-t,0),a=Array(i);++o<i;)a[o]=r[t+o];o=-1;for(var s=Array(t+1);++o<t;)s[o]=r[o];return s[t]=n(a),QB(e,this,s)}};var GB=function(e){return function(){return e}},UB=TN,qB=UB?function(e,t){return UB(e,"toString",{configurable:!0,enumerable:!1,value:GB(t),writable:!0})}:FB,KB=qB,JB=Date.now;var _B=function(e){var t=0,n=0;return function(){var r=JB(),o=16-(r-n);if(n=r,o>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}(KB),$B=FB,ek=ZB,tk=_B;var nk=function(e,t){return tk(ek(e,t,$B),e+"")},rk=KT,ok=fE,ik=JE,ak=xh;var sk=function(e,t,n){if(!ak(n))return!1;var r=typeof t;return!!("number"==r?ok(n)&&ik(t,n.length):"string"==r&&t in n)&&rk(n[t],e)},lk=nk,ck=sk;var uk=function(e){return lk((function(t,n){var r=-1,o=n.length,i=o>1?n[o-1]:void 0,a=o>2?n[2]:void 0;for(i=e.length>3&&"function"==typeof i?(o--,i):void 0,a&&ck(n[0],n[1],a)&&(i=o<3?void 0:i,o=1),t=Object(t);++r<o;){var s=n[r];s&&e(t,s,r,i)}return t}))},dk=VB,pk=uk((function(e,t,n){dk(e,t,n)})),fk=Ct(pk);const mk=(e,t)=>Gt({WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",boxSizing:"border-box",WebkitTextSizeAdjust:"100%"},t&&!e.vars&&{colorScheme:e.palette.mode}),hk=e=>Gt({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}}),gk=(e,t=!1)=>{var n;const r={};t&&e.colorSchemes&&Object.entries(e.colorSchemes).forEach((([t,n])=>{var o;r[e.getColorSchemeSelector(t).replace(/\s*&/,"")]={colorScheme:null==(o=n.palette)?void 0:o.mode}}));let o=Gt({html:mk(e,t),"*, *::before, *::after":{boxSizing:"inherit"},"strong, b":{fontWeight:e.typography.fontWeightBold},body:Gt({margin:0},hk(e),{"&::backdrop":{backgroundColor:(e.vars||e).palette.background.default}})},r);const i=null==(n=e.components)||null==(n=n.MuiCssBaseline)?void 0:n.styleOverrides;return i&&(o=[o,i]),o};function vk(t){const n=na({props:t,name:"MuiCssBaseline"}),{children:r,enableColorScheme:o=!1}=n;return kt.jsxs(e.Fragment,{children:[kt.jsx(Ju,{styles:e=>gk(e,o)}),r]})}"production"!==process.env.NODE_ENV&&(vk.propTypes={children:wn.node,enableColorScheme:wn.bool});var Ak={0:"#FFFFFF",100:"#F9FAFB",200:"#F4F6F8",300:"#DFE3E8",400:"#C4CDD5",500:"#919EAB",600:"#637381",700:"#454F5B",800:"#212B36",900:"#161C24"},yk={lighter:"#C8FAD6",light:"#5BE49B",main:"#00A76F",dark:"#007867",darker:"#004B50",contrastText:"#FFFFFF"},bk={lighter:"#EFD6FF",light:"#C684FF",main:"#8E33FF",dark:"#5119B7",darker:"#27097A",contrastText:"#FFFFFF"},xk={lighter:"#CAFDF5",light:"#61F3F3",main:"#00B8D9",dark:"#006C9C",darker:"#003768",contrastText:"#FFFFFF"},wk={lighter:"#D3FCD2",light:"#77ED8B",main:"#22C55E",dark:"#118D57",darker:"#065E49",contrastText:"#ffffff"},jk={lighter:"#FFF5CC",light:"#FFD666",main:"#FFAB00",dark:"#B76E00",darker:"#7A4100",contrastText:Ak[800]},Ok={lighter:"#FFE9D5",light:"#FFAC82",main:"#FF5630",dark:"#B71D18",darker:"#7A0916",contrastText:"#FFFFFF"},Mk=function(e){return{common:{black:"#000000",white:"#FFFFFF"},primary:null!=e?e:yk,secondary:bk,info:xk,success:wk,warning:jk,error:Ok,grey:Ak,divider:ci(Ak[500],.2),action:{hover:ci(Ak[500],.08),selected:ci(Ak[500],.16),disabled:ci(Ak[500],.8),disabledBackground:ci(Ak[500],.24),focus:ci(Ak[500],.24),hoverOpacity:.08,disabledOpacity:.48}}};function zk(e,t){var n=Lt(Lt({},Mk(t)),{mode:"light",text:{primary:Ak[800],secondary:Ak[600],disabled:Ak[500]},background:{paper:"#FFFFFF",default:"#FFFFFF",neutral:Ak[200]},action:Lt(Lt({},Mk().action),{active:Ak[600]})}),r=Lt(Lt({},Mk(t)),{mode:"dark",text:{primary:"#FFFFFF",secondary:Ak[500],disabled:Ak[600]},background:{paper:Ak[800],default:Ak[900],neutral:ci(Ak[500],.12)},action:Lt(Lt({},Mk().action),{active:Ak[500]})});return"light"===e?n:r}var Ck=zk("light"),Dk=Ck.grey[500],Tk=Ck.common.black;function Pk(e){var t=ci(e,.2),n=ci(e,.14),r=ci(e,.12);return["none","0px 2px 1px -1px ".concat(t,",0px 1px 1px 0px ").concat(n,",0px 1px 3px 0px ").concat(r),"0px 3px 1px -2px ".concat(t,",0px 2px 2px 0px ").concat(n,",0px 1px 5px 0px ").concat(r),"0px 3px 3px -2px ".concat(t,",0px 3px 4px 0px ").concat(n,",0px 1px 8px 0px ").concat(r),"0px 2px 4px -1px ".concat(t,",0px 4px 5px 0px ").concat(n,",0px 1px 10px 0px ").concat(r),"0px 3px 5px -1px ".concat(t,",0px 5px 8px 0px ").concat(n,",0px 1px 14px 0px ").concat(r),"0px 3px 5px -1px ".concat(t,",0px 6px 10px 0px ").concat(n,",0px 1px 18px 0px ").concat(r),"0px 4px 5px -2px ".concat(t,",0px 7px 10px 1px ").concat(n,",0px 2px 16px 1px ").concat(r),"0px 5px 5px -3px ".concat(t,",0px 8px 10px 1px ").concat(n,",0px 3px 14px 2px ").concat(r),"0px 5px 6px -3px ".concat(t,",0px 9px 12px 1px ").concat(n,",0px 3px 16px 2px ").concat(r),"0px 6px 6px -3px ".concat(t,",0px 10px 14px 1px ").concat(n,",0px 4px 18px 3px ").concat(r),"0px 6px 7px -4px ".concat(t,",0px 11px 15px 1px ").concat(n,",0px 4px 20px 3px ").concat(r),"0px 7px 8px -4px ".concat(t,",0px 12px 17px 2px ").concat(n,",0px 5px 22px 4px ").concat(r),"0px 7px 8px -4px ".concat(t,",0px 13px 19px 2px ").concat(n,",0px 5px 24px 4px ").concat(r),"0px 7px 9px -4px ".concat(t,",0px 14px 21px 2px ").concat(n,",0px 5px 26px 4px ").concat(r),"0px 8px 9px -5px ".concat(t,",0px 15px 22px 2px ").concat(n,",0px 6px 28px 5px ").concat(r),"0px 8px 10px -5px ".concat(t,",0px 16px 24px 2px ").concat(n,",0px 6px 30px 5px ").concat(r),"0px 8px 11px -5px ".concat(t,",0px 17px 26px 2px ").concat(n,",0px 6px 32px 5px ").concat(r),"0px 9px 11px -5px ".concat(t,",0px 18px 28px 2px ").concat(n,",0px 7px 34px 6px ").concat(r),"0px 9px 12px -6px ".concat(t,",0px 19px 29px 2px ").concat(n,",0px 7px 36px 6px ").concat(r),"0px 10px 13px -6px ".concat(t,",0px 20px 31px 3px ").concat(n,",0px 8px 38px 7px ").concat(r),"0px 10px 13px -6px ".concat(t,",0px 21px 33px 3px ").concat(n,",0px 8px 40px 7px ").concat(r),"0px 10px 14px -6px ".concat(t,",0px 22px 35px 3px ").concat(n,",0px 8px 42px 7px ").concat(r),"0px 11px 14px -7px ".concat(t,",0px 23px 36px 3px ").concat(n,",0px 9px 44px 8px ").concat(r),"0px 11px 15px -7px ".concat(t,",0px 24px 38px 3px ").concat(n,",0px 9px 46px 8px ").concat(r)]}function Nk(e){return Pk("light"===e?Dk:Tk)}function Ek(e){return"".concat(e/16,"rem")}function Bk(e){var t=e.sm,n=e.md,r=e.lg;return{"@media (min-width:600px)":{fontSize:Ek(t)},"@media (min-width:900px)":{fontSize:Ek(n)},"@media (min-width:1200px)":{fontSize:Ek(r)}}}var kk={fontFamily:"Public Sans, sans-serif",fontWeightRegular:400,fontWeightMedium:500,fontWeightSemiBold:600,fontWeightBold:700,h1:Lt({fontWeight:800,lineHeight:1.25,fontSize:Ek(40)},Bk({sm:52,md:58,lg:64})),h2:Lt({fontWeight:800,lineHeight:64/48,fontSize:Ek(32)},Bk({sm:40,md:44,lg:48})),h3:Lt({fontWeight:700,lineHeight:1.5,fontSize:Ek(24)},Bk({sm:26,md:30,lg:32})),h4:Lt({fontWeight:700,lineHeight:1.5,fontSize:Ek(20)},Bk({sm:20,md:24,lg:24})),h5:Lt({fontWeight:700,lineHeight:1.5,fontSize:Ek(18)},Bk({sm:19,md:20,lg:20})),h6:Lt({fontWeight:700,lineHeight:28/18,fontSize:Ek(17)},Bk({sm:18,md:18,lg:18})),subtitle1:{fontWeight:600,lineHeight:1.5,fontSize:Ek(16)},subtitle2:{fontWeight:600,lineHeight:22/14,fontSize:Ek(14)},body1:{lineHeight:1.5,fontSize:Ek(16)},body2:{lineHeight:22/14,fontSize:Ek(14)},caption:{lineHeight:1.5,fontSize:Ek(12)},overline:{fontWeight:700,lineHeight:1.5,fontSize:Ek(12),textTransform:"uppercase"},button:{fontWeight:700,lineHeight:24/14,fontSize:Ek(14),textTransform:"unset"}};function Lk(e,t){var n=zk("light",t);n.grey[500],n.common.black;var r=ci(e,.16);return{z1:"0 1px 2px 0 ".concat(r),z4:"0 4px 8px 0 ".concat(r),z8:"0 8px 16px 0 ".concat(r),z12:"0 12px 24px -4px ".concat(r),z16:"0 16px 32px -4px ".concat(r),z20:"0 20px 40px -4px ".concat(r),z24:"0 24px 48px 0 ".concat(r),card:"0 0 2px 0 ".concat(ci(e,.2),", 0 12px 24px -4px ").concat(ci(e,.12)),dropdown:"0 0 2px 0 ".concat(ci(e,.24),", -20px 20px 40px -4px ").concat(ci(e,.24)),dialog:"-40px 40px 80px -8px ".concat(ci(n.common.black,.24)),primary:"0 8px 16px 0 ".concat(ci(n.primary.main,.24)),info:"0 8px 16px 0 ".concat(ci(n.info.main,.24)),secondary:"0 8px 16px 0 ".concat(ci(n.secondary.main,.24)),success:"0 8px 16px 0 ".concat(ci(n.success.main,.24)),warning:"0 8px 16px 0 ".concat(ci(n.warning.main,.24)),error:"0 8px 16px 0 ".concat(ci(n.error.main,.24))}}function Ik(e,t){var n=zk("light"),r=n.grey[500],o=n.common.black;return Lk("light"===e?r:o,t)}var Sk=Cr("MuiFab",["root","primary","secondary","extended","circular","focusVisible","disabled","colorInherit","sizeSmall","sizeMedium","sizeLarge","info","error","warning","success"]),Wk=["primary","secondary","info","success","warning","error"];function Hk(e){var t="light"===e.palette.mode;return{MuiFab:{defaultProps:{color:"primary"},styleOverrides:{root:function(n){return function(n){var r,o="default"===n.color,i="inherit"===n.color,a="circular"===n.variant,s="extended"===n.variant,l="outlined"===n.variant,c="outlinedExtended"===n.variant,u="soft"===n.variant,d="softExtended"===n.variant,p=Lt(Lt(Lt({"&:hover, &:active":{boxShadow:"none"}},(a||s)&&Lt(Lt({},(o||i)&&{boxShadow:e.customShadows.z8}),i&&{backgroundColor:e.palette.text.primary,color:t?e.palette.common.white:e.palette.grey[800],"&:hover":{backgroundColor:t?e.palette.grey[700]:e.palette.grey[400]}})),(l||c)&&Lt(Lt(Lt({boxShadow:"none",backgroundColor:"transparent"},(o||i)&&{border:"solid 1px ".concat(ci(e.palette.grey[500],.32))}),o&&Lt({},!t&&{color:e.palette.text.secondary})),{"&:hover":{borderColor:"currentColor",boxShadow:"0 0 0 0.5px currentColor",backgroundColor:e.palette.action.hover}})),(u||d)&&Lt(Lt({boxShadow:"none"},o&&{color:e.palette.grey[800],backgroundColor:e.palette.grey[300],"&:hover":{backgroundColor:e.palette.grey[400]}}),i&&{backgroundColor:ci(e.palette.grey[500],.08),"&:hover":{backgroundColor:ci(e.palette.grey[500],.24)}})),f=Wk.map((function(r){return Lt({},n.color===r&&Lt(Lt(Lt({},(a||s)&&{boxShadow:e.customShadows[r],"&:hover":{backgroundColor:e.palette[r].dark}}),(l||c)&&{color:e.palette[r].main,border:"solid 1px ".concat(ci(e.palette[r].main,.48)),"&:hover":{backgroundColor:ci(e.palette[r].main,.08)}}),(u||d)&&{color:e.palette[r][t?"dark":"light"],backgroundColor:ci(e.palette[r].main,.16),"&:hover":{backgroundColor:ci(e.palette[r].main,.32)}}))})),m=((r={})["&.".concat(Sk.disabled)]=Lt({},(l||c)&&{backgroundColor:"transparent",border:"solid 1px ".concat(e.palette.action.disabledBackground)}),r),h=Lt({},(s||c||d)&&Lt(Lt(Lt({width:"auto","& svg":{marginRight:e.spacing(1)}},"small"===n.size&&{height:34,minHeight:34,borderRadius:17,padding:e.spacing(0,1)}),"medium"===n.size&&{height:40,minHeight:40,borderRadius:20,padding:e.spacing(0,2)}),"large"===n.size&&{height:48,minHeight:48,borderRadius:24,padding:e.spacing(0,2)}));return Ht(Ht([p],f,!0),[m,h],!1)}(n.ownerState)}}}}}var Rk=["primary","secondary","info","success","warning","error"];function Vk(e){var t="light"===e.palette.mode;return{MuiChip:{defaultProps:{deleteIcon:kt.jsx(pa,{icon:"solar:close-circle-bold"})},styleOverrides:{root:function(n){return function(n){var r,o,i,a,s,l="default"===n.color,c="filled"===n.variant,u="outlined"===n.variant,d="soft"===n.variant,p=Lt(((r={})["& .".concat(jm.deleteIcon)]={opacity:.48,color:"currentColor","&:hover":{opacity:1,color:"currentColor"}},r),l&&Lt(Lt(Lt(((o={})["& .".concat(jm.avatar)]={color:e.palette.text.primary},o),c&&((i={color:t?e.palette.common.white:e.palette.grey[800],backgroundColor:e.palette.text.primary,"&:hover":{backgroundColor:t?e.palette.grey[700]:e.palette.grey[100]}})["& .".concat(jm.icon)]={color:t?e.palette.common.white:e.palette.grey[800]},i)),u&&{border:"solid 1px ".concat(ci(e.palette.grey[500],.32))}),d&&{color:e.palette.text.primary,backgroundColor:ci(e.palette.grey[500],.16),"&:hover":{backgroundColor:ci(e.palette.grey[500],.32)}})),f=Rk.map((function(r){var o;return Lt({},n.color===r&&Lt(((o={})["& .".concat(jm.avatar)]={color:e.palette[r].lighter,backgroundColor:e.palette[r].dark},o),d&&{color:e.palette[r][t?"dark":"light"],backgroundColor:ci(e.palette[r].main,.16),"&:hover":{backgroundColor:ci(e.palette[r].main,.32)}}))})),m=((a={})["&.".concat(jm.disabled)]=Lt(Lt(Lt(((s={opacity:1,color:e.palette.action.disabled})["& .".concat(jm.icon)]={color:e.palette.action.disabled},s["& .".concat(jm.avatar)]={color:e.palette.action.disabled,backgroundColor:e.palette.action.disabledBackground},s),c&&{backgroundColor:e.palette.action.disabledBackground}),u&&{borderColor:e.palette.action.disabledBackground}),d&&{backgroundColor:e.palette.action.disabledBackground}),a);return Ht(Ht([p],f,!0),[m,{fontWeight:500,borderRadius:e.shape.borderRadius}],!1)}(n.ownerState)}}}}}var Fk=Cr("MuiTableCell",["root","head","body","footer","sizeSmall","sizeMedium","paddingCheckbox","paddingNone","alignLeft","alignCenter","alignRight","alignJustify","stickyHeader"]);var Xk=Cr("MuiTableRow",["root","selected","hover","head","footer"]);var Qk=Cr("MuiAlert",["root","action","icon","message","filled","filledSuccess","filledInfo","filledWarning","filledError","outlined","outlinedSuccess","outlinedInfo","outlinedWarning","outlinedError","standard","standardSuccess","standardInfo","standardWarning","standardError"]),Yk=["info","success","warning","error"];function Zk(e){var t="light"===e.palette.mode;return{MuiAlert:{defaultProps:{iconMapping:{error:kt.jsx(pa,{icon:"solar:danger-bold",width:24}),info:kt.jsx(pa,{icon:"eva:info-fill",width:24}),success:kt.jsx(pa,{icon:"eva:checkmark-circle-2-fill",width:24}),warning:kt.jsx(pa,{icon:"eva:alert-triangle-fill",width:24})}},styleOverrides:{root:function(n){return function(n){var r="standard"===n.variant,o="filled"===n.variant,i="outlined"===n.variant,a=Yk.map((function(a){var s,l;return Lt({},n.severity===a&&Lt(Lt(Lt({},r&&((s={color:e.palette[a][t?"darker":"lighter"],backgroundColor:e.palette[a][t?"lighter":"darker"]})["& .".concat(Qk.icon)]={color:e.palette[a][t?"main":"light"]},s)),o&&{color:e.palette[a].contrastText,backgroundColor:e.palette[a].main}),i&&((l={backgroundColor:ci(e.palette[a].main,.08),color:e.palette[a][t?"dark":"light"],border:"solid 1px ".concat(ci(e.palette[a].main,.16))})["& .".concat(Qk.icon)]={color:e.palette[a].main},l)))}));return Ht([],a,!0)}(n.ownerState)},icon:{opacity:1}}},MuiAlertTitle:{styleOverrides:{root:{marginBottom:e.spacing(.5),fontWeight:e.typography.fontWeightSemiBold}}}}}var Gk=Cr("MuiBadge",["root","badge","dot","standard","anchorOriginTopRight","anchorOriginBottomRight","anchorOriginTopLeft","anchorOriginBottomLeft","invisible","colorError","colorInfo","colorPrimary","colorSecondary","colorSuccess","colorWarning","overlapRectangular","overlapCircular","anchorOriginTopLeftCircular","anchorOriginTopLeftRectangular","anchorOriginTopRightCircular","anchorOriginTopRightRectangular","anchorOriginBottomLeftCircular","anchorOriginBottomLeftRectangular","anchorOriginBottomRightCircular","anchorOriginBottomRightRectangular"]);var Uk=Cr("MuiAvatarGroup",["root","avatar"]),qk=["default","primary","secondary","info","success","warning","error"],Kk=function(e){var t=e.charAt(0);return["A","C","F"].includes(t)?"primary":["E","D","H"].includes(t)?"secondary":["I","K","L"].includes(t)?"info":["M","N","P"].includes(t)?"success":["Q","S","T"].includes(t)?"warning":["V","X","Y"].includes(t)?"error":"default"};var Jk=Cr("MuiRating",["root","sizeSmall","sizeMedium","sizeLarge","readOnly","disabled","focusVisible","visuallyHidden","pristine","label","labelEmptyValueActive","icon","iconEmpty","iconFilled","iconHover","iconFocus","iconActive","decimal"]),_k=function(e){return kt.jsx(Ms,Lt({},e,{children:kt.jsx("path",{d:"M17.56,21 C17.4000767,21.0006435 17.2423316,20.9629218 17.1,20.89 L12,18.22 L6.9,20.89 C6.56213339,21.067663 6.15259539,21.0374771 5.8444287,20.8121966 C5.53626201,20.5869161 5.38323252,20.2058459 5.45,19.83 L6.45,14.2 L2.33,10.2 C2.06805623,9.93860108 1.9718844,9.55391377 2.08,9.2 C2.19824414,8.83742187 2.51242293,8.57366684 2.89,8.52 L8.59,7.69 L11.1,2.56 C11.2670864,2.21500967 11.6166774,1.99588989 12,1.99588989 C12.3833226,1.99588989 12.7329136,2.21500967 12.9,2.56 L15.44,7.68 L21.14,8.51 C21.5175771,8.56366684 21.8317559,8.82742187 21.95,9.19 C22.0581156,9.54391377 21.9619438,9.92860108 21.7,10.19 L17.58,14.19 L18.58,19.82 C18.652893,20.2027971 18.4967826,20.5930731 18.18,20.82 C17.9989179,20.9468967 17.7808835,21.010197 17.56,21 L17.56,21 Z"})}))};var $k=Cr("MuiSlider",["root","active","colorPrimary","colorSecondary","disabled","dragging","focusVisible","mark","markActive","marked","markLabel","markLabelActive","rail","sizeSmall","thumb","thumbColorPrimary","thumbColorSecondary","track","trackInverted","trackFalse","thumbSizeSmall","valueLabel","valueLabelOpen","valueLabelCircle","valueLabelLabel","vertical"]);var eL=Cr("MuiSwitch",["root","edgeStart","edgeEnd","switchBase","colorPrimary","colorSecondary","sizeSmall","sizeMedium","checked","disabled","input","thumb","track"]);function tL(e){var t="light"===e.palette.mode;return{MuiSwitch:{styleOverrides:{root:function(n){return function(n){var r,o,i,a;return Lt(Lt({padding:"9px 13px 9px 12px",width:58,height:38},"small"===n.size&&{padding:"4px 8px 4px 7px",width:40,height:24}),((r={})["& .".concat(eL.thumb)]=Lt({width:14,height:14,boxShadow:"none",color:e.palette.common.white},"small"===n.size&&{width:10,height:10}),r["& .".concat(eL.track)]={opacity:1,borderRadius:14,backgroundColor:ci(e.palette.grey[500],.48)},r["& .".concat(eL.switchBase)]=Lt(Lt({left:3,padding:12},"small"===n.size&&{padding:7}),((o={})["&.".concat(eL.checked)]=Lt(((i={transform:"translateX(13px)"})["&+.".concat(eL.track)]={opacity:1},i),"small"===n.size&&{transform:"translateX(9px)"}),o["&.".concat(eL.disabled)]=((a={})["& .".concat(eL.thumb)]={opacity:t?1:.48},a["&+.".concat(eL.track)]={opacity:.48},a),o)),r))}(n.ownerState)}}}}}var nL=Cr("MuiLinearProgress",["root","colorPrimary","colorSecondary","determinate","indeterminate","buffer","query","dashed","dashedColorPrimary","dashedColorSecondary","bar","barColorPrimary","barColorSecondary","bar1Indeterminate","bar1Determinate","bar1Buffer","bar2Indeterminate","bar2Buffer"]),rL=["primary","secondary","info","success","warning","error"];function oL(e){return{MuiLinearProgress:{styleOverrides:{root:function(t){return function(t){var n,r="buffer"===t.variant,o=Lt(((n={borderRadius:4})["& .".concat(nL.bar)]={borderRadius:4},n),r&&{backgroundColor:"transparent"}),i=rL.map((function(n){return Lt({},t.color===n&&{backgroundColor:ci(e.palette[n].main,.24)})}));return Ht([o],i,!0)}(t.ownerState)}}}}}var iL=function(e){return kt.jsx(Ms,Lt({},e,{children:kt.jsx("path",{d:"M17.9 2.318A5 5 0 0 1 22.895 7.1l.005.217v10a5 5 0 0 1-4.783 4.995l-.217.005h-10a5 5 0 0 1-4.995-4.783l-.005-.217v-10a5 5 0 0 1 4.783-4.996l.217-.004h10Zm-.5 1.5h-9a4 4 0 0 0-4 4v9a4 4 0 0 0 4 4h9a4 4 0 0 0 4-4v-9a4 4 0 0 0-4-4Z"})}))},aL=function(e){return kt.jsx(Ms,Lt({},e,{children:kt.jsx("path",{d:"M17 2a5 5 0 0 1 5 5v10a5 5 0 0 1-5 5H7a5 5 0 0 1-5-5V7a5 5 0 0 1 5-5Zm-1.625 7.255-4.13 4.13-1.75-1.75a.881.881 0 0 0-1.24 0c-.34.34-.34.89 0 1.24l2.38 2.37c.17.17.39.25.61.25.23 0 .45-.08.62-.25l4.75-4.75c.34-.34.34-.89 0-1.24a.881.881 0 0 0-1.24 0Z"})}))},sL=function(e){return kt.jsx(Ms,Lt({},e,{children:kt.jsx("path",{d:"M17,2 C19.7614,2 22,4.23858 22,7 L22,7 L22,17 C22,19.7614 19.7614,22 17,22 L17,22 L7,22 C4.23858,22 2,19.7614 2,17 L2,17 L2,7 C2,4.23858 4.23858,2 7,2 L7,2 Z M15,11 L9,11 C8.44772,11 8,11.4477 8,12 C8,12.5523 8.44772,13 9,13 L15,13 C15.5523,13 16,12.5523 16,12 C16,11.4477 15.5523,11 15,11 Z"})}))};var lL=Cr("MuiTablePagination",["root","toolbar","spacer","selectLabel","selectRoot","select","selectIcon","input","menuItem","displayedRows","actions"]);var cL=function(e){return kt.jsx(Ms,Lt({},e,{children:kt.jsx("path",{d:"M18,3 C19.6568542,3 21,4.34314575 21,6 L21,6 L21,18 C21,19.6568542 19.6568542,21 18,21 L18,21 L6,21 C4.34314575,21 3,19.6568542 3,18 L3,18 L3,6 C3,4.34314575 4.34314575,3 6,3 L6,3 Z M18,5 L6,5 C5.44771525,5 5,5.44771525 5,6 L5,6 L5,18 C5,18.5522847 5.44771525,19 6,19 L6,19 L18,19 C18.5522847,19 19,18.5522847 19,18 L19,18 L19,6 C19,5.44771525 18.5522847,5 18,5 L18,5 Z M12,8 C12.5522847,8 13,8.44771525 13,9 L13,9 L13,11 L15,11 C15.5522847,11 16,11.4477153 16,12 C16,12.5522847 15.5522847,13 15,13 L15,13 L13,13 L13,15 C13,15.5522847 12.5522847,16 12,16 C11.4477153,16 11,15.5522847 11,15 L11,15 L11,13 L9,13 C8.44771525,13 8,12.5522847 8,12 C8,11.4477153 8.44771525,11 9,11 L9,11 L11,11 L11,9 C11,8.44771525 11.4477153,8 12,8 Z"})}))},uL=function(e){return kt.jsx(Ms,Lt({},e,{children:kt.jsx("path",{d:"M18,3 C19.6568542,3 21,4.34314575 21,6 L21,6 L21,18 C21,19.6568542 19.6568542,21 18,21 L18,21 L6,21 C4.34314575,21 3,19.6568542 3,18 L3,18 L3,6 C3,4.34314575 4.34314575,3 6,3 L6,3 Z M18,5 L6,5 C5.44771525,5 5,5.44771525 5,6 L5,6 L5,18 C5,18.5522847 5.44771525,19 6,19 L6,19 L18,19 C18.5522847,19 19,18.5522847 19,18 L19,18 L19,6 C19,5.44771525 18.5522847,5 18,5 L18,5 Z M15,11 C15.5522847,11 16,11.4477153 16,12 C16,12.5522847 15.5522847,13 15,13 L15,13 L9,13 C8.44771525,13 8,12.5522847 8,12 C8,11.4477153 8.44771525,11 9,11 L9,11 Z"})}))},dL=function(e){return kt.jsx(Ms,Lt({},e,{children:kt.jsx("path",{d:"M18,3 C19.6568542,3 21,4.34314575 21,6 L21,6 L21,18 C21,19.6568542 19.6568542,21 18,21 L18,21 L6,21 C4.34314575,21 3,19.6568542 3,18 L3,18 L3,6 C3,4.34314575 4.34314575,3 6,3 L6,3 Z M18,5 L6,5 C5.44771525,5 5,5.44771525 5,6 L5,6 L5,18 C5,18.5522847 5.44771525,19 6,19 L6,19 L18,19 C18.5522847,19 19,18.5522847 19,18 L19,18 L19,6 C19,5.44771525 18.5522847,5 18,5 L18,5 Z M14,8.99420168 C14.2666375,8.99420168 14.5222334,9.10068735 14.71,9.29 C14.8993127,9.4777666 15.0057983,9.73336246 15.0057983,10 C15.0057983,10.2666375 14.8993127,10.5222334 14.71,10.71 L14.71,10.71 L13.41,12 L14.71,13.29 C14.8993127,13.4777666 15.0057983,13.7333625 15.0057983,14 C15.0057983,14.2666375 14.8993127,14.5222334 14.71,14.71 C14.5222334,14.8993127 14.2666375,15.0057983 14,15.0057983 C13.7333625,15.0057983 13.4777666,14.8993127 13.29,14.71 L13.29,14.71 L12,13.41 L10.71,14.71 C10.5222334,14.8993127 10.2666375,15.0057983 10,15.0057983 C9.73336246,15.0057983 9.4777666,14.8993127 9.29,14.71 C9.10068735,14.5222334 8.99420168,14.2666375 8.99420168,14 C8.99420168,13.7333625 9.10068735,13.4777666 9.29,13.29 L9.29,13.29 L10.59,12 L9.29,10.71 C8.89787783,10.3178778 8.89787783,9.68212217 9.29,9.29 C9.68212217,8.89787783 10.3178778,8.89787783 10.71,9.29 L10.71,9.29 L12,10.59 L13.29,9.29 C13.4777666,9.10068735 13.7333625,8.99420168 14,8.99420168 Z"})}))};var pL=Cr("MuiAccordion",["root","rounded","expanded","disabled","gutters","region"]);var fL=Cr("MuiAccordionSummary",["root","expanded","focusVisible","disabled","gutters","contentGutters","content","expandIconWrapper"]);var mL=Cr("MuiPaginationItem",["root","page","sizeSmall","sizeLarge","text","textPrimary","textSecondary","outlined","outlinedPrimary","outlinedSecondary","rounded","ellipsis","firstLast","previousNext","focusVisible","disabled","selected","icon"]),hL=["primary","secondary","info","success","warning","error"];function gL(e){var t="light"===e.palette.mode;return{MuiPagination:{styleOverrides:{root:function(n){return function(n){var r,o,i="standard"===n.color,a="text"===n.variant,s="outlined"===n.variant,l="soft"===n.variant,c=((r={})["& .".concat(mL.root)]=Lt(Lt({},s&&{borderColor:ci(e.palette.grey[500],.24)}),((o={})["&.".concat(mL.selected)]=Lt(Lt({fontWeight:e.typography.fontWeightSemiBold},s&&{borderColor:"currentColor"}),i&&Lt({backgroundColor:ci(e.palette.grey[500],.08)},a&&{color:t?e.palette.common.white:e.palette.grey[800],backgroundColor:e.palette.text.primary,"&:hover":{backgroundColor:t?e.palette.grey[700]:e.palette.grey[100]}})),o)),r),u=hL.map((function(r){var o,i;return Lt({},n.color===r&&((o={})["& .".concat(mL.root)]=((i={})["&.".concat(mL.selected)]=Lt({},n.color===r&&Lt({},l&&{color:e.palette[r][t?"dark":"light"],backgroundColor:ci(e.palette[r].main,.08),"&:hover":{backgroundColor:ci(e.palette[r].main,.16)}})),i),o))}));return Ht([c],u,!0)}(n.ownerState)}}}}}var vL=function(e){return kt.jsx(Ms,Lt({},e,{children:kt.jsx("path",{d:"M12 2A10 10 0 1 1 2 12C2 6.477 6.477 2 12 2Zm0 1.5a8.5 8.5 0 1 0 0 17 8.5 8.5 0 0 0 0-17Z"})}))},AL=function(e){return kt.jsx(Ms,Lt({},e,{children:kt.jsx("path",{d:"M12 2A10 10 0 1 1 2 12C2 6.477 6.477 2 12 2Zm0 1.5a8.5 8.5 0 1 0 0 17 8.5 8.5 0 0 0 0-17ZM12 7a5 5 0 1 1 0 10 5 5 0 0 1 0-10Z"})}))};var yL=Cr("MuiButtonGroup",["root","contained","outlined","text","disableElevation","disabled","fullWidth","vertical","grouped","groupedHorizontal","groupedVertical","groupedText","groupedTextHorizontal","groupedTextVertical","groupedTextPrimary","groupedTextSecondary","groupedOutlined","groupedOutlinedHorizontal","groupedOutlinedVertical","groupedOutlinedPrimary","groupedOutlinedSecondary","groupedContained","groupedContainedHorizontal","groupedContainedVertical","groupedContainedPrimary","groupedContainedSecondary"]),bL=["primary","secondary","info","success","warning","error"];function xL(e){return{MuiButtonGroup:{defaultProps:{disableElevation:!0},styleOverrides:{root:function(t){return function(t){var n,r,o,i="inherit"===t.color,a="contained"===t.variant,s="outlined"===t.variant,l="text"===t.variant,c="soft"===t.variant,u="horizontal"===t.orientation,d="vertical"===t.orientation,p=((n={})["& .".concat(yL.grouped)]={"&:not(:last-of-type)":Lt({},!s&&Lt(Lt(Lt({borderStyle:"solid"},i&&{borderColor:ci(e.palette.grey[500],.32)}),u&&{borderWidth:"0px 1px 0px 0px"}),d&&{borderWidth:"0px 0px 1px 0px"}))},n),f=bL.map((function(n){var r;return(r={})["& .".concat(yL.grouped)]={"&:not(:last-of-type)":Lt({},!s&&Lt({},t.color===n&&Lt(Lt(Lt({},a&&{borderColor:ci(e.palette[n].dark,.48)}),l&&{borderColor:ci(e.palette[n].main,.48)}),c&&{borderColor:ci(e.palette[n].dark,.24)})))},r})),m=((r={})["& .".concat(yL.grouped)]=((o={})["&.".concat(yL.disabled)]={"&:not(:last-of-type)":{borderColor:e.palette.action.disabledBackground}},o),r);return Ht(Ht([p],f,!0),[m],!1)}(t.ownerState)}}}}}var wL=function(){return kt.jsx(pa,{icon:"eva:chevron-down-fill",width:24})},jL=function(){return kt.jsx(pa,{icon:"eva:arrow-ios-back-fill",width:24})},OL=function(){return kt.jsx(pa,{icon:"eva:arrow-ios-forward-fill",width:24})},ML=function(){return kt.jsx(pa,{icon:"solar:calendar-mark-bold-duotone",width:24})},zL=function(){return kt.jsx(pa,{icon:"solar:clock-circle-outline",width:24})},CL=["DatePicker","DateTimePicker","StaticDatePicker","DesktopDatePicker","DesktopDateTimePicker","MobileDatePicker","MobileDateTimePicker"].reduce((function(e,t){return e["Mui".concat(t)]={defaultProps:{slots:{openPickerIcon:ML,leftArrowIcon:jL,rightArrowIcon:OL,switchViewIcon:wL}}},e}),{}),DL=["TimePicker","MobileTimePicker","StaticTimePicker","DesktopTimePicker"].reduce((function(e,t){return e["Mui".concat(t)]={defaultProps:{slots:{openPickerIcon:zL,rightArrowIcon:OL,switchViewIcon:wL}}},e}),{});var TL=Cr("MuiToggleButton",["root","disabled","selected","standard","primary","secondary","sizeSmall","sizeMedium","sizeLarge"]),PL=["primary","secondary","info","success","warning","error"];function NL(e){var t;return{MuiToggleButton:{styleOverrides:{root:function(t){return function(t){var n,r,o,i=((n={})["&.".concat(TL.selected)]={borderColor:"currentColor",boxShadow:"0 0 0 0.5px currentColor"},n),a=PL.map((function(n){return Lt({},t.color===n&&{"&:hover":{borderColor:ci(e.palette[n].main,.48),backgroundColor:ci(e.palette[n].main,e.palette.action.hoverOpacity)}})})),s=((r={})["&.".concat(TL.disabled)]=((o={})["&.".concat(TL.selected)]={color:e.palette.action.disabled,backgroundColor:e.palette.action.selected,borderColor:e.palette.action.disabledBackground},o),r);return Ht(Ht([i],a,!0),[s],!1)}(t.ownerState)}}},MuiToggleButtonGroup:{styleOverrides:{root:{borderRadius:e.shape.borderRadius,backgroundColor:e.palette.background.paper,border:"solid 1px ".concat(ci(e.palette.grey[500],.08))},grouped:(t={margin:4},t["&.".concat(TL.selected)]={boxShadow:"none"},t["&:not(:first-of-type), &:not(:last-of-type)"]={borderRadius:e.shape.borderRadius,borderColor:"transparent"},t)}}}}function EL(e){var t=fk(Hk(e),function(e){var t,n;return{MuiTabs:{defaultProps:{textColor:"inherit",variant:"scrollable",allowScrollButtonsMobile:!0},styleOverrides:{indicator:{backgroundColor:e.palette.text.primary},scrollButtons:{width:48,borderRadius:"50%"}}},MuiTab:{defaultProps:{disableRipple:!0,iconPosition:"start"},styleOverrides:{root:(t={padding:0,opacity:1,minWidth:48,minHeight:48,fontWeight:e.typography.fontWeightSemiBold,"&:not(:last-of-type)":(n={marginRight:e.spacing(3)},n[e.breakpoints.up("sm")]={marginRight:e.spacing(5)},n)},t["&:not(.".concat(cx.selected,")")]={color:e.palette.text.secondary},t)}}}}(e),Vk(e),function(e){return{MuiCard:{styleOverrides:{root:{position:"relative",boxShadow:e.customShadows.card,borderRadius:2*e.shape.borderRadius,zIndex:0}}},MuiCardHeader:{defaultProps:{titleTypographyProps:{variant:"h6"},subheaderTypographyProps:{variant:"body2",marginTop:e.spacing(.5)}},styleOverrides:{root:{padding:e.spacing(3,3,0)}}},MuiCardContent:{styleOverrides:{root:{padding:e.spacing(3)}}}}}(e),function(e){return{MuiMenuItem:{styleOverrides:{root:Lt({},jy(e))}}}}(e),{MuiLink:{defaultProps:{underline:"hover"}}},{MuiStack:{defaultProps:{useFlexGap:!0}}},function(e){return{MuiBadge:{styleOverrides:{dot:{borderRadius:"50%"},root:function(t){var n,r,o,i,a,s,l=t.ownerState,c="alway"===l.variant,u="online"===l.variant,d="busy"===l.variant,p="offline"===l.variant,f="invisible"===l.variant,m=((n={})["&.".concat(Gk.invisible)]={transform:"unset"},n.width=10,n.zIndex=9,n.padding=0,n.height=10,n.minWidth="auto",n["&:before, &:after"]={content:"''",borderRadius:1,backgroundColor:e.palette.common.white},n);return Lt(Lt(Lt(Lt(Lt({},u&&((r={})["& .".concat(Gk.badge)]=Lt(Lt({},m),{backgroundColor:e.palette.success.main}),r)),d&&((o={})["& .".concat(Gk.badge)]=Lt(Lt({},m),{backgroundColor:e.palette.error.main,"&:before":{width:6,height:2}}),o)),p&&((i={})["& .".concat(Gk.badge)]=Lt(Lt({},m),{backgroundColor:e.palette.text.disabled,"&:before":{width:6,height:6,borderRadius:"50%"}}),i)),c&&((a={})["& .".concat(Gk.badge)]=Lt(Lt({},m),{backgroundColor:e.palette.warning.main,"&:before":{width:2,height:4,transform:"translateX(1px) translateY(-1px)"},"&:after":{width:2,height:4,transform:"translateY(1px) rotate(125deg)"}}),a)),f&&((s={})["& .".concat(Gk.badge)]={display:"none"},s))}}}}}(e),function(e){return{MuiListItemIcon:{styleOverrides:{root:{color:"inherit",minWidth:"auto",marginRight:e.spacing(2)}}},MuiListItemAvatar:{styleOverrides:{root:{minWidth:"auto",marginRight:e.spacing(2)}}},MuiListItemText:{defaultProps:{primaryTypographyProps:{typography:"subtitle2"},secondaryTypographyProps:{component:"span"}},styleOverrides:{root:{margin:0},multiline:{margin:0}}}}}(e),function(e){var t,n;return{MuiTableContainer:{styleOverrides:{root:{position:"relative"}}},MuiTableRow:{styleOverrides:{root:(t={},t["&.".concat(Xk.selected)]={backgroundColor:ci(e.palette.primary.dark,.04),"&:hover":{backgroundColor:ci(e.palette.primary.dark,.08)}},t["&:last-of-type"]=(n={},n["& .".concat(Fk.root)]={borderColor:"transparent"},n),t)}},MuiTableCell:{styleOverrides:{root:{borderBottomStyle:"dashed"},head:{fontSize:14,color:e.palette.text.secondary,fontWeight:e.typography.fontWeightSemiBold,backgroundColor:e.palette.background.neutral},stickyHeader:{backgroundColor:e.palette.background.paper,backgroundImage:"linear-gradient(to bottom, ".concat(e.palette.background.neutral," 0%, ").concat(e.palette.background.neutral," 100%)")},paddingCheckbox:{paddingLeft:e.spacing(1)}}},MuiTablePagination:{defaultProps:{backIconButtonProps:{size:"small"},nextIconButtonProps:{size:"small"}},styleOverrides:{root:{width:"100%"},toolbar:{height:64},actions:{marginRight:8},select:{paddingLeft:8,"&:focus":{borderRadius:e.shape.borderRadius}},selectIcon:{right:4,width:16,height:16,top:"calc(50% - 8px)"}}}}}(e),function(e){return{MuiPaper:{defaultProps:{elevation:0},styleOverrides:{root:{backgroundImage:"none"},outlined:{borderColor:ci(e.palette.grey[500],.16)}}}}}(e),Zk(e),tL(e),function(e){var t=function(e){return kt.jsx(Ms,Lt({},e,{children:kt.jsx("path",{d:"M12,16 C11.7663478,16.0004565 11.5399121,15.9190812 11.36,15.77 L5.36,10.77 C4.93474074,10.4165378 4.87653776,9.78525926 5.23,9.36 C5.58346224,8.93474074 6.21474074,8.87653776 6.64,9.23 L12,13.71 L17.36,9.39 C17.5665934,9.2222295 17.8315409,9.14373108 18.0961825,9.17188444 C18.3608241,9.2000378 18.6033268,9.33252029 18.77,9.54 C18.9551341,9.74785947 19.0452548,10.0234772 19.0186853,10.3005589 C18.9921158,10.5776405 18.8512608,10.8311099 18.63,11 L12.63,15.83 C12.444916,15.955516 12.2231011,16.0153708 12,16 Z"})}))};return{MuiSelect:{defaultProps:{IconComponent:t},styleOverrides:{icon:{right:10,width:18,height:18,top:"calc(50% - 9px)"}}},MuiNativeSelect:{defaultProps:{IconComponent:t},styleOverrides:{icon:{right:10,width:18,height:18,top:"calc(50% - 9px)"}}}}}(),function(e){return{MuiButton:{styleOverrides:{root:{"&:hover":{boxShadow:"none"}},sizeLarge:{height:48},containedInherit:{color:e.palette.grey[800],boxShadow:e.customShadows.z8,"&:hover":{backgroundColor:e.palette.grey[400]}},containedPrimary:{boxShadow:e.customShadows.primary},containedSecondary:{boxShadow:e.customShadows.secondary},containedInfo:{boxShadow:e.customShadows.info},containedSuccess:{boxShadow:e.customShadows.success},containedWarning:{boxShadow:e.customShadows.warning},containedError:{boxShadow:e.customShadows.error},outlinedInherit:{border:"1px solid ".concat(e.palette.grey[500]),"&:hover":{backgroundColor:e.palette.action.hover}},textInherit:{"&:hover":{backgroundColor:e.palette.action.hover}}}}}}(e),function(e){var t,n,r,o;return{MuiRating:{defaultProps:{emptyIcon:kt.jsx(_k,{}),icon:kt.jsx(_k,{})},styleOverrides:{root:(t={},t["&.".concat(Jk.disabled)]={opacity:.48},t),iconEmpty:{color:ci(e.palette.grey[500],.48)},sizeSmall:(n={},n["& .".concat(xs.root)]={width:20,height:20},n),sizeMedium:(r={},r["& .".concat(xs.root)]={width:24,height:24},r),sizeLarge:(o={},o["& .".concat(xs.root)]={width:28,height:28},o)}}}}(e),function(e){return{MuiDialog:{styleOverrides:{paper:function(t){var n=t.ownerState;return Lt({boxShadow:e.customShadows.dialog,borderRadius:2*e.shape.borderRadius},!n.fullScreen&&{margin:e.spacing(2)})},paperFullScreen:{borderRadius:0}}},MuiDialogTitle:{styleOverrides:{root:{padding:e.spacing(3)}}},MuiDialogContent:{styleOverrides:{root:{padding:e.spacing(0,3)},dividers:{borderTop:0,borderBottomStyle:"dashed",paddingBottom:e.spacing(3)}}},MuiDialogActions:{defaultProps:{disableSpacing:!0},styleOverrides:{root:{padding:e.spacing(3),"& > :not(:first-of-type)":{marginLeft:e.spacing(1.5)}}}}}}(e),{MuiAppBar:{defaultProps:{color:"transparent"},styleOverrides:{root:{boxShadow:"none"}}}},function(e){return{MuiAvatar:{variants:qk.map((function(t){return"default"===t?{props:{color:"default"},style:{color:e.palette.text.secondary,backgroundColor:ci(e.palette.grey[500],.24)}}:{props:{color:t},style:{color:e.palette[t].contrastText,backgroundColor:e.palette[t].main}}})),styleOverrides:{rounded:{borderRadius:1.5*e.shape.borderRadius},colorDefault:function(t){var n=t.ownerState,r=Kk("".concat(n.alt));return Lt({},!!n.alt&&Lt({},"default"!==r?{color:e.palette[r].contrastText,backgroundColor:e.palette[r].main}:{color:e.palette.text.secondary,backgroundColor:ci(e.palette.grey[500],.24)}))}}},MuiAvatarGroup:{defaultProps:{max:4},styleOverrides:{root:function(e){var t,n=e.ownerState;return Lt({justifyContent:"flex-end"},"compact"===n.variant&&((t={width:40,height:40,position:"relative"})["& .".concat(Uk.avatar)]={margin:0,width:28,height:28,position:"absolute","&:first-of-type":{left:0,bottom:0,zIndex:9},"&:last-of-type":{top:0,right:0}},t))},avatar:{fontSize:16,fontWeight:e.typography.fontWeightSemiBold,"&:first-of-type":{fontSize:12,color:e.palette.primary.dark,backgroundColor:e.palette.primary.lighter}}}}}}(e),function(e){var t,n="light"===e.palette.mode;return{MuiSlider:{defaultProps:{size:"small"},styleOverrides:{root:(t={},t["&.".concat($k.disabled)]={color:e.palette.action.disabled},t),rail:{opacity:.32},markLabel:{fontSize:13,color:e.palette.text.disabled},valueLabel:{borderRadius:8,backgroundColor:e.palette.grey[n?800:700]}}}}}(e),function(e){var t="light"===e.palette.mode;return{MuiDrawer:{styleOverrides:{root:function(n){var r,o=n.ownerState;return Lt({},"temporary"===o.variant&&((r={})["& .".concat(Vs.paper)]=Lt(Lt(Lt({},wy({theme:e})),"left"===o.anchor&&{boxShadow:"40px 40px 80px -8px ".concat(ci(t?e.palette.grey[500]:e.palette.common.black,.24))}),"right"===o.anchor&&{boxShadow:"-40px 40px 80px -8px ".concat(ci(t?e.palette.grey[500]:e.palette.common.black,.24))}),r))}}}}}(e),function(e){return{MuiStepConnector:{styleOverrides:{line:{borderColor:e.palette.divider}}}}}(e),function(e){var t="light"===e.palette.mode;return{MuiTooltip:{styleOverrides:{tooltip:{backgroundColor:e.palette.grey[t?800:700]},arrow:{color:e.palette.grey[t?800:700]}}}}}(e),function(e){var t;return{MuiPopover:{styleOverrides:{paper:Lt(Lt({},wy({theme:e,dropdown:!0})),(t={},t["& .".concat(vp.root)]={paddingTop:0,paddingBottom:0},t))}}}}(e),{MuiSvgIcon:{styleOverrides:{fontSizeLarge:{width:32,height:32,fontSize:"inherit"}}}},function(e){return{MuiCheckbox:{defaultProps:{size:"small",icon:kt.jsx(iL,{}),checkedIcon:kt.jsx(aL,{}),indeterminateIcon:kt.jsx(sL,{})},styleOverrides:{root:{padding:e.spacing(1)}}}}}(e),function(e){var t,n,r,o,i=wy({theme:e,dropdown:!0});return{MuiDataGrid:{styleOverrides:{root:(t={borderRadius:0,borderWidth:0},t["& .".concat(lL.root)]={borderTop:0},t["& .".concat(lL.toolbar)]={height:"auto"},t),cell:{borderBottom:"1px dashed ".concat(e.palette.divider)},selectedRowCount:{whiteSpace:"nowrap"},columnSeparator:{color:e.palette.divider},toolbarContainer:{padding:e.spacing(2),borderBottom:"1px dashed ".concat(e.palette.divider),backgroundColor:e.palette.background.neutral},paper:Lt(Lt({},i),{padding:0}),menu:(n={},n["& .".concat(Ls.root)]=Lt({},i),n["& .".concat(vp.root)]=(r={padding:0},r["& .".concat(iy.root)]={minWidth:0,marginRight:e.spacing(2)},r),n),columnHeaders:{borderRadius:0,backgroundColor:e.palette.background.neutral},panelHeader:{padding:e.spacing(2)},panelFooter:(o={padding:e.spacing(2),justifyContent:"flex-end",borderTop:"dashed 1px ".concat(e.palette.divider)},o["& .".concat(Vj.root)]={"&:first-of-type":{border:"solid 1px ".concat(ci(e.palette.grey[500],.24))},"&:last-of-type":{marginLeft:e.spacing(1.5),color:e.palette.background.paper,backgroundColor:e.palette.text.primary}},o),filterForm:{padding:e.spacing(2)},filterFormValueInput:{marginLeft:e.spacing(2)},filterFormColumnInput:{marginLeft:e.spacing(2)},filterFormOperatorInput:{marginLeft:e.spacing(2)}}}}}(e),function(e){return{MuiSkeleton:{defaultProps:{animation:"wave",variant:"rounded"},styleOverrides:{root:{backgroundColor:e.palette.background.neutral},rounded:{borderRadius:2*e.shape.borderRadius}}}}}(e),function(e){return{MuiTimelineDot:{styleOverrides:{root:{boxShadow:"none"}}},MuiTimelineConnector:{styleOverrides:{root:{backgroundColor:e.palette.divider}}}}}(e),function(e){return{MuiTreeView:{defaultProps:{defaultCollapseIcon:kt.jsx(cL,{}),defaultExpandIcon:kt.jsx(uL,{}),defaultEndIcon:kt.jsx(dL,{})}},MuiTreeItem:{styleOverrides:{label:Lt({},e.typography.body2),iconContainer:{width:"auto"}}}}}(e),function(e){return{MuiBackdrop:{styleOverrides:{root:{backgroundColor:ci(e.palette.grey[900],.8)},invisible:{background:"transparent"}}}}}(e),oL(e),function(e){var t,n,r,o,i,a,s,l,c,u={focused:e.palette.text.primary,active:e.palette.text.secondary,placeholder:e.palette.text.disabled},d={label:e.typography.body1,value:e.typography.body2};return{MuiFormHelperText:{defaultProps:{component:"div"},styleOverrides:{root:{marginTop:e.spacing(1)}}},MuiFormLabel:{styleOverrides:{root:Lt(Lt({},d.value),(t={color:u.placeholder},t["&.".concat(Yd.shrink)]=Lt(Lt({},d.label),(n={fontWeight:600,color:u.active},n["&.".concat(Yd.focused)]={color:u.focused},n["&.".concat(Yd.error)]={color:e.palette.error.main},n["&.".concat(Yd.disabled)]={color:e.palette.text.disabled},n["&.".concat(Yd.filled)]={transform:"translate(12px, 6px) scale(0.75)"},n)),t))}},MuiInputBase:{styleOverrides:{root:(r={},r["&.".concat(td.disabled)]={"& svg":{color:e.palette.text.disabled}},r),input:Lt(Lt({},d.value),{"&::placeholder":{opacity:1,color:u.placeholder}})}},MuiInput:{styleOverrides:{underline:{"&:before":{borderBottomColor:ci(e.palette.grey[500],.32)},"&:after":{borderBottomColor:u.focused}}}},MuiOutlinedInput:{styleOverrides:{root:(o={},o["&.".concat(Pd.focused)]=(i={},i["& .".concat(Pd.notchedOutline)]={borderColor:u.focused},i),o["&.".concat(Pd.error)]=(a={},a["& .".concat(Pd.notchedOutline)]={borderColor:e.palette.error.main},a),o["&.".concat(Pd.disabled)]=(s={},s["& .".concat(Pd.notchedOutline)]={borderColor:e.palette.action.disabledBackground},s),o),notchedOutline:{borderColor:ci(e.palette.grey[500],.2),transition:e.transitions.create(["border-color"],{duration:e.transitions.duration.shortest})}}},MuiFilledInput:{defaultProps:{disableUnderline:!0},styleOverrides:{root:(l={borderRadius:e.shape.borderRadius,backgroundColor:ci(e.palette.grey[500],.08),"&:hover":{backgroundColor:ci(e.palette.grey[500],.16)}},l["&.".concat(Ad.focused)]={backgroundColor:ci(e.palette.grey[500],.16)},l["&.".concat(Ad.error)]=(c={backgroundColor:ci(e.palette.error.main,.08)},c["&.".concat(Ad.focused)]={backgroundColor:ci(e.palette.error.main,.16)},c),l["&.".concat(Ad.disabled)]={backgroundColor:e.palette.action.disabledBackground},l)}}}}(e),function(e){var t,n,r;return{MuiAccordion:{styleOverrides:{root:(t={backgroundColor:"transparent"},t["&.".concat(pL.expanded)]={boxShadow:e.customShadows.z8,borderRadius:e.shape.borderRadius,backgroundColor:e.palette.background.paper},t["&.".concat(pL.disabled)]={backgroundColor:"transparent"},t)}},MuiAccordionSummary:{styleOverrides:{root:(n={paddingLeft:e.spacing(2),paddingRight:e.spacing(1)},n["&.".concat(fL.disabled)]=(r={opacity:1,color:e.palette.action.disabled},r["& .".concat(uh.root)]={color:"inherit"},r),n),expandIconWrapper:{color:"inherit"}}}}}(e),function(e){return{MuiTypography:{styleOverrides:{paragraph:{marginBottom:e.spacing(2)},gutterBottom:{marginBottom:e.spacing(1)}}}}}(e),gL(e),function(e){return{MuiFormControlLabel:{styleOverrides:{label:Lt({},e.typography.body2)}},MuiRadio:{defaultProps:{size:"small",icon:kt.jsx(vL,{}),checkedIcon:kt.jsx(AL,{})},styleOverrides:{root:{padding:e.spacing(1)}}}}}(e),xL(e),function(e){return{MuiBreadcrumbs:{styleOverrides:{separator:{marginLeft:e.spacing(2),marginRight:e.spacing(2)},li:{display:"inline-flex",margin:e.spacing(.25,0),"& > *":Lt({},e.typography.body2)}}}}}(e),{MuiCssBaseline:{styleOverrides:{"*":{boxSizing:"border-box"},html:{margin:0,padding:0,width:"100%",height:"100%",WebkitOverflowScrolling:"touch"},body:{margin:0,padding:0,width:"100%",height:"100%"},"#root, #__next":{width:"100%",height:"100%"},input:{"&[type=number]":{MozAppearance:"textfield","&::-webkit-outer-spin-button":{margin:0,WebkitAppearance:"none"},"&::-webkit-inner-spin-button":{margin:0,WebkitAppearance:"none"}}},img:{maxWidth:"100%",display:"inline-block",verticalAlign:"bottom"}}}},function(e){var t,n,r;return{MuiAutocomplete:{defaultProps:{popupIcon:kt.jsx((function(e){return kt.jsx(Ms,Lt({},e,{children:kt.jsx("path",{d:"M12,16 C11.7663478,16.0004565 11.5399121,15.9190812 11.36,15.77 L5.36,10.77 C4.93474074,10.4165378 4.87653776,9.78525926 5.23,9.36 C5.58346224,8.93474074 6.21474074,8.87653776 6.64,9.23 L12,13.71 L17.36,9.39 C17.5665934,9.2222295 17.8315409,9.14373108 18.0961825,9.17188444 C18.3608241,9.2000378 18.6033268,9.33252029 18.77,9.54 C18.9551341,9.74785947 19.0452548,10.0234772 19.0186853,10.3005589 C18.9921158,10.5776405 18.8512608,10.8311099 18.63,11 L12.63,15.83 C12.444916,15.955516 12.2231011,16.0153708 12,16 Z"})}))}),{})},styleOverrides:{root:(t={},t["& span.".concat(km.tag)]=Lt(Lt({},e.typography.subtitle2),{height:24,minWidth:24,lineHeight:"24px",textAlign:"center",padding:e.spacing(0,.75),color:e.palette.text.secondary,borderRadius:e.shape.borderRadius,backgroundColor:ci(e.palette.grey[500],.16)}),t),paper:Lt({},wy({theme:e,dropdown:!0})),listbox:(n={padding:0},n["& .".concat(km.option)]=Lt({},jy(e)),n),endAdornment:(r={},r["& .".concat(xs.root)]={width:18,height:18},r)}}}}(e),NL(e),function(e){var t;return Lt(Lt({MuiPickersLayout:{styleOverrides:{root:{"& .MuiPickersLayout-actionBar":(t={},t["& .".concat(Vj.root,":last-of-type")]={backgroundColor:e.palette.text.primary,color:"light"===e.palette.mode?e.palette.common.white:e.palette.grey[800]},t)}}}},CL),DL)}(e),{MuiLoadingButton:{styleOverrides:{root:{"&.MuiButton-text":{"& .MuiLoadingButton-startIconPendingStart":{marginLeft:0},"& .MuiLoadingButton-endIconPendingEnd":{marginRight:0}}}}}});return t}var BL=zk("light"),kL=[Lt({name:"default"},BL.primary),{name:"cyan",lighter:"#CCF4FE",light:"#68CDF9",main:"#078DEE",dark:"#0351AB",darker:"#012972",contrastText:"#FFFFFF"},{name:"purple",lighter:"#EBD6FD",light:"#B985F4",main:"#7635dc",dark:"#431A9E",darker:"#200A69",contrastText:"#FFFFFF"},{name:"blue",lighter:"#D1E9FC",light:"#76B0F1",main:"#2065D1",dark:"#103996",darker:"#061B64",contrastText:"#FFFFFF"},{name:"orange",lighter:"#FEF4D4",light:"#FED680",main:"#fda92d",dark:"#B66816",darker:"#793908",contrastText:BL.grey[800]},{name:"red",lighter:"#FFE3D5",light:"#FFC1AC",main:"#FF3030",dark:"#B71833",darker:"#7A0930",contrastText:"#FFFFFF"}];function LL(e){var t=e.children,n=e.themeDirection;l((function(){document.dir=n}),[n]);var r=Mt({key:"rtl",prepend:!0,stylisPlugins:[jt,Ot]});return"rtl"===n?kt.jsx(De,{value:r,children:t}):kt.jsx(kt.Fragment,{children:t})}function IL(e){var t,n=e.children,r=e.themeColorPresets,o=e.themeContrast,i=e.themeDirection,a=e.themeMode,s=e.customColorPresets,l=function(e,t){return{palette:zk(e,t),shadows:Nk(e),customShadows:Ik(e,t)}}(null!=a?a:"light",s),c=s?{palette:{presetsColor:t=s},customShadows:{primary:"0 8px 16px 0 ".concat(ci("".concat(null==t?void 0:t.main),.24))}}:function(e){var t=kL.find((function(t){return t.name===e}));return{palette:{primary:t},customShadows:{primary:"0 8px 16px 0 ".concat(ci("".concat(null==t?void 0:t.main),.24))}}}(null!=r?r:"default"),u=function(e,t,n){return{theme:Lt({},e&&"light"===t&&{palette:{background:{default:zk(t,n).grey[100]}}}),components:Lt({},e&&{MuiCard:{styleOverrides:{root:{boxShadow:Ik(t,n).z4}}}})}}("bold"===o,null!=a?a:"light",s),d=function(e){return{direction:e}}(null!=i?i:"ltr"),p=m((function(){return{palette:zk("light",s),shadows:Nk("light"),customShadows:Ik("light",s),typography:kk,shape:{borderRadius:8}}}),[]),f=$i(m((function(){return fk(p,d,l,c,u.theme)}),[p,d,l,c,u.theme]));return f.components=fk(EL(f),u.components),kt.jsx(sa,{theme:f,children:kt.jsxs(LL,{themeDirection:null!=i?i:"ltr",children:[kt.jsx(vk,{}),n]})})}function SL(e){var t=p(Ig).resources,n=p(Vg),r=n.paths,o=n.root,i=n.home,a=p(Yg).themeLayout,s=p(Pg).dashbaordUrlPrefix,l=[];if(t)for(var c in l=[],t)if("modelParents"!==c&&"appConfigurations"!==c){var u=t[c],d=u.properties.path,f=u.properties.modelName,m={path:d,children:[{element:kt.jsx(ve,{to:r[c].list,replace:!0}),index:!0},{path:"list",element:kt.jsx(xb,{apiRoute:"".concat(s,"/").concat(d),path:c,modelName:f},"".concat(d,".list"))},{path:"new",element:kt.jsx(jC,{modelRoute:"".concat(d),path:c,isEdit:!1})},{path:":id/edit",element:kt.jsx(jC,{modelRoute:"".concat(d),path:c,isEdit:!0})},{path:":id/show",element:kt.jsx(Nb,{path:c,modelRoute:d},"".concat(c,".show"))}]};l.push(m)}return{path:o,children:[{path:"",element:t?kt.jsx(UT,{Logo:"mini"===a?e.MiniLogo:e.Logo,children:kt.jsx(Ae,{})}):kt.jsx(kt.Fragment,{}),children:Ht(Ht([],l,!0),[{path:"",element:t?kt.jsx(ve,{to:r[i].root}):kt.jsx(kt.Fragment,{})}],!1)}]}}export{Pg as ApiContext,Ng as ApiContextProvider,Yg as AppConfigurationsContext,Zg as AppConfigurationsContextProvider,Gg as CredentialsContext,Ug as CredentialsContextProvider,UT as DashboardLayout,Jg as DialogContext,_g as DialogContextProvider,CC as IdenityModelConfiguration,Dg as IdentityClient,jC as IdentityEdit,db as IdentityGrid,xb as IdentityList,Yt as IdentityPage,pD as IdentityPermissionPage,SL as IdentityRouter,Nb as IdentityShow,Pb as NextPreviousButtons,Qt as PageVariant,Vg as PathsContext,Fg as PathsContextProvider,zg as RequestState,Ig as ResourcesContext,Sg as ResourcesContextProvider,Db as ShowRecord,qg as SnackAlertContext,Kg as SnackAlertProvider,Tg as State,IL as ThemeProvider,Xg as path,Eg as useApi,ev as useAppConfigurations,nv as useCredentials,iv as useDialogs,Qg as useNavData,ov as usePaths,tv as useResources,rv as useSnackAlert};
156
+ function HC(){return HC=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},HC.apply(this,arguments)}new Set(WC);const RC=e.createContext(null);"production"!==process.env.NODE_ENV&&(RC.displayName="DataRouter");const VC=e.createContext(null);"production"!==process.env.NODE_ENV&&(VC.displayName="DataRouterState");const FC=e.createContext(null);"production"!==process.env.NODE_ENV&&(FC.displayName="Await");const XC=e.createContext(null);"production"!==process.env.NODE_ENV&&(XC.displayName="Navigation");const QC=e.createContext(null);"production"!==process.env.NODE_ENV&&(QC.displayName="Location");const YC=e.createContext({outlet:null,matches:[],isDataRoute:!1});"production"!==process.env.NODE_ENV&&(YC.displayName="Route");const ZC=e.createContext(null);function GC(){return null!=e.useContext(QC)}"production"!==process.env.NODE_ENV&&(ZC.displayName="RouteError");const UC="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function qC(t){e.useContext(XC).static||e.useLayoutEffect(t)}function KC(){let{isDataRoute:t}=e.useContext(YC);return t?function(){let{router:t}=function(t){let n=e.useContext(RC);return n||("production"!==process.env.NODE_ENV?TC(!1,tD(t)):TC(!1)),n}(JC.UseNavigateStable),n=function(t){let n=function(t){let n=e.useContext(YC);return n||("production"!==process.env.NODE_ENV?TC(!1,tD(t)):TC(!1)),n}(t),r=n.matches[n.matches.length-1];return r.route.id||("production"!==process.env.NODE_ENV?TC(!1,t+' can only be used on routes that contain a unique "id"'):TC(!1)),r.route.id}(_C.UseNavigateStable),r=e.useRef(!1);return qC((()=>{r.current=!0})),e.useCallback((function(e,o){void 0===o&&(o={}),"production"!==process.env.NODE_ENV&&PC(r.current,UC),r.current&&("number"==typeof e?t.navigate(e):t.navigate(e,HC({fromRouteId:n},o)))}),[t,n])}():function(){GC()||("production"!==process.env.NODE_ENV?TC(!1,"useNavigate() may be used only in the context of a <Router> component."):TC(!1));let t=e.useContext(RC),{basename:n,navigator:r}=e.useContext(XC),{matches:o}=e.useContext(YC),{pathname:i}=(GC()||("production"!==process.env.NODE_ENV?TC(!1,"useLocation() may be used only in the context of a <Router> component."):TC(!1)),e.useContext(QC).location),a=JSON.stringify(function(e){return e.filter(((e,t)=>0===t||e.route.path&&e.route.path.length>0))}(o).map((e=>e.pathnameBase))),s=e.useRef(!1);qC((()=>{s.current=!0}));let l=e.useCallback((function(e,o){if(void 0===o&&(o={}),"production"!==process.env.NODE_ENV&&PC(s.current,UC),!s.current)return;if("number"==typeof e)return void r.go(e);let l=BC(e,JSON.parse(a),i,"path"===o.relative);null==t&&"/"!==n&&(l.pathname="/"===l.pathname?n:kC([n,l.pathname])),(o.replace?r.replace:r.push)(l,o.state,o)}),[n,r,a,i,t]);return l}()}var JC,_C,$C,eD;function tD(e){return e+" must be used within a data router. See https://reactrouter.com/routers/picking-a-router."}function nD(e){var t=e.direction,n=e.sxProps,r=e.onClick,o=e.color,i=function(e){switch(e){case eD.LEFT:return"material-symbols:arrow-back-ios-new";case eD.RIGHT:return"eva:arrow-ios-forward-fill";case eD.DOWN:return"eva:arrow-ios-downward-fill";case eD.UP:return"eva:arrow-ios-upward-fill"}}(t);return kt.jsx(pa,{icon:i,onClick:r,sx:Lt({width:16,height:16,color:null!=o?o:"white"},n)})}function rD(e){var t=e.onClickOpen,n=e.modelName,r=e.checked,o=eD.RIGHT;return kt.jsx(D,{onClick:function(){return t(n)},children:kt.jsx(nD,{direction:r&&r[n].opened?eD.DOWN:o,color:"black"})})}function oD(e){var n=e.label,r=e.checked,o=e.onChange,i=t.memo((function(e){var t=e.checked,n=e.onChange;return kt.jsx(k,{checked:t,onChange:function(e,t){return n(e,t)}})}));return kt.jsx(W,{label:n,control:kt.jsx(i,{checked:r,onChange:o})})}function iD(){return kt.jsx(W,{label:kt.jsx(O,{variant:"text",width:160,height:20}),control:kt.jsx(k,{disabled:!0})})}function aD(){return kt.jsx(D,{children:kt.jsx(nD,{direction:eD.DOWN,color:"black"})})}function sD(){return kt.jsx(kt.Fragment,{children:Array.from(Array(2).keys()).map((function(e){return kt.jsxs("div",{children:[kt.jsxs(w,{direction:"row",alignItems:"center",spacing:"1px",children:[kt.jsx(aD,{}),kt.jsx(iD,{})]}),kt.jsx(v,{sx:{display:"flex",flexDirection:"column",ml:8},children:Array.from(Array(4).keys()).map((function(e){return kt.jsx(iD,{},e)}))})]},e)}))})}function lD(e){var t=e.modelPermissions,n=e.checked,r=e.fetchLoading,o=e.onCheckAll,i=e.handleChange,a=e.onClickOpen;return kt.jsxs(w,{children:[kt.jsxs(w,{direction:"row",justifyContent:"space-between",children:[kt.jsx(A,{sx:{py:1},fontWeight:700,fontSize:{xs:"14px",md:"18px"},children:"Permissions"}),kt.jsx(P,{onClick:o,children:"Check all"})]}),r?kt.jsx(sD,{}):t.map((function(e){var t=e.modelName;return kt.jsxs("div",{children:[kt.jsxs(w,{direction:"row",alignItems:"center",spacing:"1px",children:[kt.jsx(rD,{modelName:t,checked:n,onClickOpen:a}),kt.jsx(oD,{label:e.label,checked:n&&n[t].all,onChange:function(e,n){return i(t,"all",n)}})]}),n&&n[t].opened&&kt.jsx(v,{sx:{display:"flex",flexDirection:"column",ml:8},children:e.permissions.map((function(e){var r=e.id;return kt.jsx(oD,{label:e.label,checked:n&&n[t][r],onChange:function(e,n){return i(t,r,n)}},r)}))})]},t)}))]})}function cD(e){var t=ev().textFieldSize;return kt.jsxs(w,{spacing:3,children:[kt.jsx(Kl,{name:"name",label:"Name",size:t}),kt.jsx(lD,Lt({},e))]})}function uD(t){var n=this,o=t.modelPermissions,i=t.fetchLoading,a=t.isEdit,s=t.permissionGroup,c=r(void 0),u=c[0],d=c[1],f=function(){let{matches:t}=e.useContext(YC),n=t[t.length-1];return n?n.params:{}}().id,h=void 0===f?"":f,g=p(Pg).dashbaordUrlPrefix,v=ov().paths,A=ye.object().shape({}),y=r(!1),b=y[0],x=y[1],j=KC(),O=m((function(){return{name:null==s?void 0:s.name}}),[]),M=Se({resolver:vl(A),defaultValues:O}),z=M.getValues,C=M.handleSubmit;l((function(){o.length>0&&d(function(e){var t={};return e.forEach((function(e,n){t[e.modelName]={all:!1,opened:0===n};var r=!0;e.permissions.forEach((function(n){t[e.modelName][n.id]=n.checked,n.checked?t[e.modelName].opened=!0:r=!1})),r&&(t[e.modelName].all=!0)})),t}(o))}),[o]);return kt.jsxs(Fl,{methods:M,onSubmit:C((function(e){return St(n,void 0,void 0,(function(){return Wt(this,(function(t){switch(t.label){case 0:return x(!0),a?[4,Dg.patch("".concat(g,"/permissionGroups/").concat(h),Lt(Lt({},e),{checked:u}))]:[3,2];case 1:return t.sent(),[3,4];case 2:return[4,Dg.post("".concat(g,"/permissionGroups"),Lt(Lt({},e),{checked:u}))];case 3:t.sent(),t.label=4;case 4:return x(!1),j(v.permissionGroup.list),[2]}}))}))})),children:[kt.jsx(cD,{checked:u,handleChange:function(e,t,n){var r,i,a,s=Lt({},u);if(s[e][t]=n,"all"===t)(a=null===(r=o.find((function(t){return t.modelName===e})))||void 0===r?void 0:r.permissions)&&a.forEach((function(t){s[e][t.id]=n}));else if(a=null===(i=o.find((function(t){return t.modelName===e})))||void 0===i?void 0:i.permissions){var l=a.every((function(t){return s[e][t.id]}));s[e].all=l}d(s)},onClickOpen:function(e){var t=Lt({},u);t[e].opened=!t[e].opened,d(t)},modelPermissions:o,getValues:z,fetchLoading:i,onCheckAll:function(){var e=Lt({},u);for(var t in e)for(var n in e[t])e[t][n]=!0;d(e)}}),kt.jsx(w,{direction:"row",flexDirection:"row-reverse",children:kt.jsx(Te,{type:"submit",variant:"contained",size:"large",loading:b,children:"Save"})})]})}function dD(e){var t=this,n=e.isEdit,o=he().id,i=void 0===o?"":o,a=p(Pg).dashbaordUrlPrefix,s=r([]),c=s[0],u=s[1],d=r(void 0),f=d[0],m=d[1],h=r(!0),g=h[0],v=h[1];return l((function(){St(t,void 0,void 0,(function(){var e,t,r,o;return Wt(this,(function(s){switch(s.label){case 0:return e=n?"?id=".concat(i):"",[4,Dg.get("".concat(a,"/permissions/all")+e)];case 1:return t=s.sent(),r=t.data.data.permissions,o=t.data.data.permissionGroup,u(r),m(o),v(!1),[2]}}))}))}),[]),kt.jsx(kt.Fragment,{children:n&&(g||0===c.length)||n&&!f?kt.jsx(kt.Fragment,{children:"... loading"}):kt.jsx(uD,{modelPermissions:c,fetchLoading:g,isEdit:n,permissionGroup:f})})}function pD(e){var t=r(!!e),n=t[0],o=t[1];return{value:n,onTrue:f((function(){o(!0)}),[]),onFalse:f((function(){o(!1)}),[]),onToggle:f((function(){o((function(e){return!e}))}),[]),setValue:o}}!function(e){e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate"}(JC||(JC={})),function(e){e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId"}(_C||(_C={})),function(e){e[e.pending=0]="pending",e[e.success=1]="success",e[e.error=2]="error"}($C||($C={})),new Promise((()=>{})),function(e){e[e.LEFT=0]="LEFT",e[e.RIGHT=1]="RIGHT",e[e.UP=2]="UP",e[e.DOWN=3]="DOWN"}(eD||(eD={}));var fD={H_MOBILE:64,H_DESKTOP:80,H_DESKTOP_OFFSET:64},mD={W_VERTICAL:280,W_MINI:88},hD=8;function gD(e){var t=e.children,n=e.sx,r=It(e,["children","sx"]),o=p(Yg),i=El("up","lg"),a="horizontal"===o.themeLayout,s="mini"===o.themeLayout;return a?kt.jsx(da,{component:"main",sx:Lt({minHeight:1,display:"flex",flexDirection:"column",pt:"".concat(fD.H_MOBILE+24,"px"),pb:10},i&&{pt:"".concat(2*fD.H_MOBILE+40,"px"),pb:15}),children:t}):kt.jsx(da,Lt({component:"main",sx:Lt(Lt({flexGrow:1,py:"".concat(fD.H_MOBILE+hD,"px")},i&&Lt({px:2,py:"".concat(fD.H_DESKTOP+hD,"px"),width:"calc(100% - ".concat(mD.W_VERTICAL,"px)")},s&&{width:"calc(100% - ".concat(mD.W_MINI,"px)")})),n)},r,{children:t}))}function vD(e){return zr("MuiAppBar",e)}var AD=Cr("MuiAppBar",["root","positionFixed","positionAbsolute","positionSticky","positionStatic","positionRelative","colorDefault","colorPrimary","colorSecondary","colorInherit","colorTransparent"]);const yD=["className","color","enableColorOnDark","position"],bD=(e,t)=>e?`${null==e?void 0:e.replace(")","")}, ${t})`:t,xD=ia(Hs,{name:"MuiAppBar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`position${Rn(n.position)}`],t[`color${Rn(n.color)}`]]}})((({theme:e,ownerState:t})=>{const n="light"===e.palette.mode?e.palette.grey[100]:e.palette.grey[900];return Gt({display:"flex",flexDirection:"column",width:"100%",boxSizing:"border-box",flexShrink:0},"fixed"===t.position&&{position:"fixed",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0,"@media print":{position:"absolute"}},"absolute"===t.position&&{position:"absolute",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0},"sticky"===t.position&&{position:"sticky",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0},"static"===t.position&&{position:"static"},"relative"===t.position&&{position:"relative"},!e.vars&&Gt({},"default"===t.color&&{backgroundColor:n,color:e.palette.getContrastText(n)},t.color&&"default"!==t.color&&"inherit"!==t.color&&"transparent"!==t.color&&{backgroundColor:e.palette[t.color].main,color:e.palette[t.color].contrastText},"inherit"===t.color&&{color:"inherit"},"dark"===e.palette.mode&&!t.enableColorOnDark&&{backgroundColor:null,color:null},"transparent"===t.color&&Gt({backgroundColor:"transparent",color:"inherit"},"dark"===e.palette.mode&&{backgroundImage:"none"})),e.vars&&Gt({},"default"===t.color&&{"--AppBar-background":t.enableColorOnDark?e.vars.palette.AppBar.defaultBg:bD(e.vars.palette.AppBar.darkBg,e.vars.palette.AppBar.defaultBg),"--AppBar-color":t.enableColorOnDark?e.vars.palette.text.primary:bD(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:bD(e.vars.palette.AppBar.darkBg,e.vars.palette[t.color].main),"--AppBar-color":t.enableColorOnDark?e.vars.palette[t.color].contrastText:bD(e.vars.palette.AppBar.darkColor,e.vars.palette[t.color].contrastText)},{backgroundColor:"var(--AppBar-background)",color:"inherit"===t.color?"inherit":"var(--AppBar-color)"},"transparent"===t.color&&{backgroundImage:"none",backgroundColor:"transparent",color:"inherit"}))})),wD=e.forwardRef((function(e,t){const n=na({props:e,name:"MuiAppBar"}),{className:r,color:o="primary",enableColorOnDark:i=!1,position:a="fixed"}=n,s=Pr(n,yD),l=Gt({},n,{color:o,position:a,enableColorOnDark:i}),c=(e=>{const{color:t,position:n,classes:r}=e;return wr({root:["root",`color${Rn(t)}`,`position${Rn(n)}`]},vD,r)})(l);return kt.jsx(xD,Gt({square:!0,component:"header",ownerState:l,elevation:4,className:Xo(c.root,r,"fixed"===a&&"mui-fixed"),ref:t},s))}));"production"!==process.env.NODE_ENV&&(wD.propTypes={children:wn.node,classes:wn.object,className:wn.string,color:wn.oneOfType([wn.oneOf(["default","inherit","primary","secondary","transparent"]),wn.string]),enableColorOnDark:wn.bool,position:wn.oneOf(["absolute","fixed","relative","static","sticky"]),sx:wn.oneOfType([wn.arrayOf(wn.oneOfType([wn.func,wn.object,wn.bool])),wn.func,wn.object])});var jD=wD;function OD(e){return zr("MuiToolbar",e)}Cr("MuiToolbar",["root","gutters","regular","dense"]);const MD=["className","component","disableGutters","variant"],zD=ia("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})=>Gt({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)}},"dense"===t.variant&&{minHeight:48})),(({theme:e,ownerState:t})=>"regular"===t.variant&&e.mixins.toolbar)),CD=e.forwardRef((function(e,t){const n=na({props:e,name:"MuiToolbar"}),{className:r,component:o="div",disableGutters:i=!1,variant:a="regular"}=n,s=Pr(n,MD),l=Gt({},n,{component:o,disableGutters:i,variant:a}),c=(e=>{const{classes:t,disableGutters:n,variant:r}=e;return wr({root:["root",!n&&"gutters",r]},OD,t)})(l);return kt.jsx(zD,Gt({as:o,className:Xo(c.root,r),ref:t,ownerState:l},s))}));"production"!==process.env.NODE_ENV&&(CD.propTypes={children:wn.node,classes:wn.object,className:wn.string,component:wn.elementType,disableGutters:wn.bool,sx:wn.oneOfType([wn.arrayOf(wn.oneOfType([wn.func,wn.object,wn.bool])),wn.func,wn.object]),variant:wn.oneOfType([wn.oneOf(["dense","regular"]),wn.string])});var DD=CD;var TD=n((function(e,t){var n=e.src,r=e.sx,o=It(e,["src","sx"]);return kt.jsx(da,Lt({component:"span",className:"svg-color",ref:t,sx:Lt({width:24,height:24,display:"inline-block",bgcolor:"currentColor",mask:"url(".concat(n,") no-repeat center / contain"),WebkitMask:"url(".concat(n,") no-repeat center / contain")},r)},o))})),PD={exports:{}};PD.exports=(()=>{return e={772:(e,t,n)=>{const r=n(826).remove,o=/[.*+?^${}()|[\]\\]/g,i=/[a-z0-9_]/i,a=/\s+/;e.exports=function(e,t,n){var s,l;l={insideWords:!1,findAllOccurrences:!1,requireMatchAll:!1},s=(s=n)||{},Object.keys(s).forEach((e=>{l[e]=!!s[e]})),n=l;const c=Array.from(e).map((e=>r(e)));let u=c.join("");return(t=r(t)).trim().split(a).filter((e=>e.length>0)).reduce(((e,t)=>{const r=t.length,a=!n.insideWords&&i.test(t[0])?"\\b":"",s=new RegExp(a+t.replace(o,"\\$&"),"i");let l,d;if(l=s.exec(u),n.requireMatchAll&&null===l)return u="",[];for(;l;){d=l.index;const t=r-c.slice(d,d+r).join("").length,o=d-c.slice(0,d).join("").length,i=[d+o,d+r+o+t];if(i[0]!==i[1]&&e.push(i),u=u.slice(0,d)+new Array(r+1).join(" ")+u.slice(d+r),!n.findAllOccurrences)break;l=s.exec(u)}return e}),[]).sort(((e,t)=>e[0]-t[0]))}},826:e=>{var t={"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","Ấ":"A","Ắ":"A","Ẳ":"A","Ẵ":"A","Ặ":"A","Æ":"AE","Ầ":"A","Ằ":"A","Ȃ":"A","Ç":"C","Ḉ":"C","È":"E","É":"E","Ê":"E","Ë":"E","Ế":"E","Ḗ":"E","Ề":"E","Ḕ":"E","Ḝ":"E","Ȇ":"E","Ì":"I","Í":"I","Î":"I","Ï":"I","Ḯ":"I","Ȋ":"I","Ð":"D","Ñ":"N","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","Ố":"O","Ṍ":"O","Ṓ":"O","Ȏ":"O","Ù":"U","Ú":"U","Û":"U","Ü":"U","Ý":"Y","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","ấ":"a","ắ":"a","ẳ":"a","ẵ":"a","ặ":"a","æ":"ae","ầ":"a","ằ":"a","ȃ":"a","ç":"c","ḉ":"c","è":"e","é":"e","ê":"e","ë":"e","ế":"e","ḗ":"e","ề":"e","ḕ":"e","ḝ":"e","ȇ":"e","ì":"i","í":"i","î":"i","ï":"i","ḯ":"i","ȋ":"i","ð":"d","ñ":"n","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","ố":"o","ṍ":"o","ṓ":"o","ȏ":"o","ù":"u","ú":"u","û":"u","ü":"u","ý":"y","ÿ":"y","Ā":"A","ā":"a","Ă":"A","ă":"a","Ą":"A","ą":"a","Ć":"C","ć":"c","Ĉ":"C","ĉ":"c","Ċ":"C","ċ":"c","Č":"C","č":"c","C̆":"C","c̆":"c","Ď":"D","ď":"d","Đ":"D","đ":"d","Ē":"E","ē":"e","Ĕ":"E","ĕ":"e","Ė":"E","ė":"e","Ę":"E","ę":"e","Ě":"E","ě":"e","Ĝ":"G","Ǵ":"G","ĝ":"g","ǵ":"g","Ğ":"G","ğ":"g","Ġ":"G","ġ":"g","Ģ":"G","ģ":"g","Ĥ":"H","ĥ":"h","Ħ":"H","ħ":"h","Ḫ":"H","ḫ":"h","Ĩ":"I","ĩ":"i","Ī":"I","ī":"i","Ĭ":"I","ĭ":"i","Į":"I","į":"i","İ":"I","ı":"i","IJ":"IJ","ij":"ij","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","Ḱ":"K","ḱ":"k","K̆":"K","k̆":"k","Ĺ":"L","ĺ":"l","Ļ":"L","ļ":"l","Ľ":"L","ľ":"l","Ŀ":"L","ŀ":"l","Ł":"l","ł":"l","Ḿ":"M","ḿ":"m","M̆":"M","m̆":"m","Ń":"N","ń":"n","Ņ":"N","ņ":"n","Ň":"N","ň":"n","ʼn":"n","N̆":"N","n̆":"n","Ō":"O","ō":"o","Ŏ":"O","ŏ":"o","Ő":"O","ő":"o","Œ":"OE","œ":"oe","P̆":"P","p̆":"p","Ŕ":"R","ŕ":"r","Ŗ":"R","ŗ":"r","Ř":"R","ř":"r","R̆":"R","r̆":"r","Ȓ":"R","ȓ":"r","Ś":"S","ś":"s","Ŝ":"S","ŝ":"s","Ş":"S","Ș":"S","ș":"s","ş":"s","Š":"S","š":"s","Ţ":"T","ţ":"t","ț":"t","Ț":"T","Ť":"T","ť":"t","Ŧ":"T","ŧ":"t","T̆":"T","t̆":"t","Ũ":"U","ũ":"u","Ū":"U","ū":"u","Ŭ":"U","ŭ":"u","Ů":"U","ů":"u","Ű":"U","ű":"u","Ų":"U","ų":"u","Ȗ":"U","ȗ":"u","V̆":"V","v̆":"v","Ŵ":"W","ŵ":"w","Ẃ":"W","ẃ":"w","X̆":"X","x̆":"x","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Y̆":"Y","y̆":"y","Ź":"Z","ź":"z","Ż":"Z","ż":"z","Ž":"Z","ž":"z","ſ":"s","ƒ":"f","Ơ":"O","ơ":"o","Ư":"U","ư":"u","Ǎ":"A","ǎ":"a","Ǐ":"I","ǐ":"i","Ǒ":"O","ǒ":"o","Ǔ":"U","ǔ":"u","Ǖ":"U","ǖ":"u","Ǘ":"U","ǘ":"u","Ǚ":"U","ǚ":"u","Ǜ":"U","ǜ":"u","Ứ":"U","ứ":"u","Ṹ":"U","ṹ":"u","Ǻ":"A","ǻ":"a","Ǽ":"AE","ǽ":"ae","Ǿ":"O","ǿ":"o","Þ":"TH","þ":"th","Ṕ":"P","ṕ":"p","Ṥ":"S","ṥ":"s","X́":"X","x́":"x","Ѓ":"Г","ѓ":"г","Ќ":"К","ќ":"к","A̋":"A","a̋":"a","E̋":"E","e̋":"e","I̋":"I","i̋":"i","Ǹ":"N","ǹ":"n","Ồ":"O","ồ":"o","Ṑ":"O","ṑ":"o","Ừ":"U","ừ":"u","Ẁ":"W","ẁ":"w","Ỳ":"Y","ỳ":"y","Ȁ":"A","ȁ":"a","Ȅ":"E","ȅ":"e","Ȉ":"I","ȉ":"i","Ȍ":"O","ȍ":"o","Ȑ":"R","ȑ":"r","Ȕ":"U","ȕ":"u","B̌":"B","b̌":"b","Č̣":"C","č̣":"c","Ê̌":"E","ê̌":"e","F̌":"F","f̌":"f","Ǧ":"G","ǧ":"g","Ȟ":"H","ȟ":"h","J̌":"J","ǰ":"j","Ǩ":"K","ǩ":"k","M̌":"M","m̌":"m","P̌":"P","p̌":"p","Q̌":"Q","q̌":"q","Ř̩":"R","ř̩":"r","Ṧ":"S","ṧ":"s","V̌":"V","v̌":"v","W̌":"W","w̌":"w","X̌":"X","x̌":"x","Y̌":"Y","y̌":"y","A̧":"A","a̧":"a","B̧":"B","b̧":"b","Ḑ":"D","ḑ":"d","Ȩ":"E","ȩ":"e","Ɛ̧":"E","ɛ̧":"e","Ḩ":"H","ḩ":"h","I̧":"I","i̧":"i","Ɨ̧":"I","ɨ̧":"i","M̧":"M","m̧":"m","O̧":"O","o̧":"o","Q̧":"Q","q̧":"q","U̧":"U","u̧":"u","X̧":"X","x̧":"x","Z̧":"Z","z̧":"z"},n=Object.keys(t).join("|"),r=new RegExp(n,"g"),o=new RegExp(n,""),i=function(e){return e.replace(r,(function(e){return t[e]}))};e.exports=i,e.exports.has=function(e){return!!e.match(o)},e.exports.remove=i}},t={},function n(r){var o=t[r];if(void 0!==o)return o.exports;var i=t[r]={exports:{}};return e[r](i,i.exports,n),i.exports}(772);var e,t})();var ND=Ct(PD.exports),ED="undefined"!=typeof window?h:l;var BD=ia(da)((function(e){var t=e.theme,n=e.ownerState,r="light"===t.palette.mode,o="filled"===n.variant,i="outlined"===n.variant,a="soft"===n.variant,s=Lt({},"default"===n.color&&Lt(Lt(Lt({},o&&{color:r?t.palette.common.white:t.palette.grey[800],backgroundColor:t.palette.text.primary}),i&&{backgroundColor:"transparent",color:t.palette.text.primary,border:"2px solid ".concat(t.palette.text.primary)}),a&&{color:t.palette.text.secondary,backgroundColor:ci(t.palette.grey[500],.16)})),l=Lt({},"default"!==n.color&&Lt(Lt(Lt({},o&&{color:t.palette[n.color].contrastText,backgroundColor:t.palette[n.color].main}),i&&{backgroundColor:"transparent",color:t.palette[n.color].main,border:"2px solid ".concat(t.palette[n.color].main)}),a&&{color:t.palette[n.color][r?"dark":"light"],backgroundColor:ci(t.palette[n.color].main,.16)}));return Lt(Lt({height:24,minWidth:24,lineHeight:0,borderRadius:6,cursor:"default",alignItems:"center",whiteSpace:"nowrap",display:"inline-flex",justifyContent:"center",textTransform:"capitalize",padding:t.spacing(0,.75),fontSize:t.typography.pxToRem(12),fontWeight:t.typography.fontWeightBold,transition:t.transitions.create("all",{duration:t.transitions.duration.shorter})},s),l)})),kD=n((function(e,t){var n=e.children,r=e.color,o=void 0===r?"default":r,i=e.variant,a=void 0===i?"soft":i,s=e.startIcon,l=e.endIcon,c=e.sx,u=It(e,["children","color","variant","startIcon","endIcon","sx"]),d=ta(),p={width:16,height:16,"& svg, img":{width:1,height:1,objectFit:"cover"}};return kt.jsxs(BD,Lt({ref:t,component:"span",ownerState:{color:o,variant:a},sx:Lt(Lt(Lt({},s&&{pl:.75}),l&&{pr:.75}),c),theme:d},u,{children:[s&&kt.jsxs(da,{sx:Lt({mr:.75},p),children:[" ",s," "]}),n,l&&kt.jsxs(da,{sx:Lt({ml:.75},p),children:[" ",l," "]})]}))}));function LD(){var e=pe();return m((function(){return{back:function(){return e(-1)},forward:function(){return e(1)},reload:function(){return window.location.reload()},push:function(t){return e(t)},replace:function(t){return e(t,{replace:!0})}}}),[e])}function ID(e){var t=e.query,n=e.sx,r=It(e,["query","sx"]);return t?kt.jsxs(Hs,Lt({sx:Lt({bgcolor:"unset",textAlign:"center"},n)},r,{children:[kt.jsx(Ah,{variant:"h6",gutterBottom:!0,children:"Not Found"}),kt.jsxs(Ah,{variant:"body2",children:["No results found for  ",kt.jsxs("strong",{children:['"',t,'"']}),".",kt.jsx("br",{})," Try checking for typos or using complete words."]})]})):kt.jsx(Ah,{variant:"body2",sx:n,children:"Please enter keywords"})}function SD(e){var t=e.title,n=e.path,r=e.groupLabel,o=e.onClickItem;return kt.jsxs(eM,{onClick:o,sx:{borderWidth:1,borderStyle:"dashed",borderColor:"transparent",borderBottomColor:function(e){return e.palette.divider},"&:hover":{borderRadius:1,borderColor:function(e){return e.palette.primary.main},backgroundColor:function(e){return ci(e.palette.primary.main,e.palette.action.hoverOpacity)}}},children:[kt.jsx(hy,{primaryTypographyProps:{typography:"subtitle2",sx:{textTransform:"capitalize"}},secondaryTypographyProps:{typography:"caption"},primary:t.map((function(e,t){return kt.jsx(da,{component:"span",sx:{color:e.highlight?"primary.main":"text.primary"},children:e.text},t)})),secondary:n.map((function(e,t){return kt.jsx(da,{component:"span",sx:{color:e.highlight?"primary.main":"text.secondary"},children:e.text},t)}))}),r&&kt.jsx(kD,{color:"info",children:r})]})}function WD(e,t){void 0===t&&(t="children");var n=[],r=null==e?void 0:e.map((function(e){return e[t]&&e[t].length&&(n=Ht(Ht([],n,!0),e[t],!0)),e}));return null==r?void 0:r.concat(n.length?WD(n,t):n)}function HD(e){var t=e.data.map((function(e){return RD(e.items,e.subheader)})).flat(),n=WD(t).map((function(e){var n=function(e,t){var n,r=e.map((function(e){return{path:[e.title],currItem:e}})),o=function(){var e=r.pop(),o=e.path,i=e.currItem;if(i.path===t)return{value:o};(null===(n=i.children)||void 0===n?void 0:n.length)&&(r=r.concat(i.children.map((function(e){return{path:o.concat(e.title),currItem:e}}))))};for(;r.length;){var i=o();if("object"==typeof i)return i.value}return null}(t,e.path);return{group:n&&n.length>1?n[0]:e.subheader,title:e.title,path:e.path}}));return n}function RD(e,t){return null==e?void 0:e.map((function(e){return Lt(Lt({subheader:t},e),e.children&&{children:RD(e.children,t)})}))}var VD=s((function(){var e,t,n,o,i,a,s=ta(),u=LD(),d=pD(),p=El("up","md"),m=r(""),h=m[0],g=m[1],v=Qg(),A=f((function(){d.onFalse(),g("")}),[d]);t="keydown",a=c(n=function(e){"k"===e.key&&e.metaKey&&(d.onToggle(),g(""))}),ED((function(){a.current=n}),[n]),l((function(){var e=(null==o?void 0:o.current)||window;if(e&&e.addEventListener){var n=function(e){return a.current(e)};return e.addEventListener(t,n,i),function(){e.removeEventListener(t,n)}}}),[t,o,i]);var y,b=f((function(e){e.includes("http")?window.open(e):u.push(e),A()}),[A,u]),x=f((function(e){g(e.target.value)}),[]),w=function(e){var t=e.inputData,n=e.query;return n&&(t=t.filter((function(e){var t,r;return void 0!==e.path&&void 0!==e.title&&-1!==(null===(t=e.title)||void 0===t?void 0:t.toLowerCase().indexOf(n.toLowerCase()))||-1!==(null===(r=e.path)||void 0===r?void 0:r.toLowerCase().indexOf(n.toLowerCase()))}))),t}({inputData:HD({data:v}),query:h}),j=h&&!w.length,O=kt.jsxs(QA,{direction:"row",alignItems:"center",children:[kt.jsx(bm,{onClick:d.onTrue,children:kt.jsx(pa,{icon:"eva:search-fill"})}),p&&kt.jsx(kD,{sx:{px:.75,fontSize:12,color:"text.secondary"},children:"⌘K"})]});return kt.jsxs(kt.Fragment,{children:[O,kt.jsxs(Uz,{fullWidth:!0,maxWidth:"sm",open:d.value,onClose:A,transitionDuration:{enter:s.transitions.duration.shortest,exit:0},PaperProps:{sx:{mt:15,overflow:"unset"}},sx:(e={},e["& .".concat(Hz.container)]={alignItems:"flex-start"},e),children:[kt.jsx(da,{sx:{p:3,borderBottom:"solid 1px ".concat(s.palette.divider)},children:kt.jsx(cd,{fullWidth:!0,autoFocus:!0,placeholder:"Search...",value:h,onChange:x,startAdornment:kt.jsx(MO,{position:"start",children:kt.jsx(pa,{icon:"eva:search-fill",width:24,sx:{color:"text.disabled"}})}),endAdornment:kt.jsx(kD,{sx:{letterSpacing:1,color:"text.secondary"},children:"esc"}),inputProps:{sx:{typography:"h6"}}})}),kt.jsx(wg,{sx:{p:3,pt:2,height:400},children:j?kt.jsx(ID,{query:h,sx:{py:10}}):(y=function(e){return e.reduce((function(e,t){return e[t.group]=e[t.group]||[],e[t.group].push(t),e}),{})}(w),Object.keys(y).sort((function(e,t){return-t.localeCompare(e)})).filter((function(e){return""!==e})).map((function(e,t){return kt.jsx(xp,{disablePadding:!0,children:y[e].map((function(t){var n=t.title,r=t.path,o=bh(n,ND(n,h)),i=bh(r,ND(r,h));return kt.jsx(SD,{path:i,title:o,groupLabel:h&&e,onClickItem:function(){return b(r)}},"".concat(n).concat(r))}))},e||t)})))})]})]})})),FD=zs(kt.jsx("path",{d:"M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"}),"Person");function XD(e){return zr("MuiAvatar",e)}Cr("MuiAvatar",["root","colorDefault","circular","rounded","square","img","fallback"]);const QD=["alt","children","className","component","imgProps","sizes","src","srcSet","variant"],YD=ia("div",{name:"MuiAvatar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],n.colorDefault&&t.colorDefault]}})((({theme:e,ownerState:t})=>Gt({position:"relative",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,width:40,height:40,fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(20),lineHeight:1,borderRadius:"50%",overflow:"hidden",userSelect:"none"},"rounded"===t.variant&&{borderRadius:(e.vars||e).shape.borderRadius},"square"===t.variant&&{borderRadius:0},t.colorDefault&&Gt({color:(e.vars||e).palette.background.default},e.vars?{backgroundColor:e.vars.palette.Avatar.defaultBg}:{backgroundColor:"light"===e.palette.mode?e.palette.grey[400]:e.palette.grey[600]})))),ZD=ia("img",{name:"MuiAvatar",slot:"Img",overridesResolver:(e,t)=>t.img})({width:"100%",height:"100%",textAlign:"center",objectFit:"cover",color:"transparent",textIndent:1e4}),GD=ia(FD,{name:"MuiAvatar",slot:"Fallback",overridesResolver:(e,t)=>t.fallback})({width:"75%",height:"75%"});const UD=e.forwardRef((function(t,n){const r=na({props:t,name:"MuiAvatar"}),{alt:o,children:i,className:a,component:s="div",imgProps:l,sizes:c,src:u,srcSet:d,variant:p="circular"}=r,f=Pr(r,QD);let m=null;const h=function({crossOrigin:t,referrerPolicy:n,src:r,srcSet:o}){const[i,a]=e.useState(!1);return e.useEffect((()=>{if(!r&&!o)return;a(!1);let e=!0;const i=new Image;return i.onload=()=>{e&&a("loaded")},i.onerror=()=>{e&&a("error")},i.crossOrigin=t,i.referrerPolicy=n,i.src=r,o&&(i.srcset=o),()=>{e=!1}}),[t,n,r,o]),i}(Gt({},l,{src:u,srcSet:d})),g=u||d,v=g&&"error"!==h,A=Gt({},r,{colorDefault:!v,component:s,variant:p}),y=(e=>{const{classes:t,variant:n,colorDefault:r}=e;return wr({root:["root",n,r&&"colorDefault"],img:["img"],fallback:["fallback"]},XD,t)})(A);return m=v?kt.jsx(ZD,Gt({alt:o,src:u,srcSet:d,sizes:c,ownerState:A,className:y.img},l)):null!=i?i:g&&o?o[0]:kt.jsx(GD,{ownerState:A,className:y.fallback}),kt.jsx(YD,Gt({as:s,ownerState:A,className:Xo(y.root,a),ref:n},f,{children:m}))}));"production"!==process.env.NODE_ENV&&(UD.propTypes={alt:wn.string,children:wn.node,classes:wn.object,className:wn.string,component:wn.elementType,imgProps:wn.object,sizes:wn.string,src:wn.string,srcSet:wn.string,sx:wn.oneOfType([wn.arrayOf(wn.oneOfType([wn.func,wn.object,wn.bool])),wn.func,wn.object]),variant:wn.oneOfType([wn.oneOf(["circular","rounded","square"]),wn.string])});var qD=UD,KD=[];function JD(){var e,t,n,o=this,i=LD(),a={photo:"",firstname:"Mohamed",lastname:"Ismail",email:"admin@test.com"},s=(e=r(null),t=e[0],n=e[1],{open:t,onOpen:f((function(e){n(e.currentTarget)}),[]),onClose:f((function(){n(null)}),[]),setOpen:n});return kt.jsxs(kt.Fragment,{children:[kt.jsx(bm,{component:Xe.button,whileTap:"tap",whileHover:"hover",variants:Cl(1.05),onClick:s.onOpen,sx:Lt({width:40,height:40,background:function(e){return ci(e.palette.grey[500],.08)}},s.open&&{background:function(e){return"linear-gradient(135deg, ".concat(e.palette.primary.light," 0%, ").concat(e.palette.primary.main," 100%)")}}),children:kt.jsx(qD,{src:null==a?void 0:a.photo,alt:null==a?void 0:a.firstname,sx:{width:36,height:36,border:function(e){return"solid 2px ".concat(e.palette.background.default)}}})}),kt.jsxs(Dy,{open:s.open,onClose:s.onClose,sx:{width:200,p:0},children:[kt.jsxs(da,{sx:{p:2,pb:1.5},children:[kt.jsx(Ah,{variant:"subtitle2",noWrap:!0,children:(null==a?void 0:a.firstname)+" "+a.lastname}),kt.jsx(Ah,{variant:"body2",sx:{color:"text.secondary"},noWrap:!0,children:null==a?void 0:a.email})]}),kt.jsx(QA,{sx:{p:1},children:KD.map((function(e){return kt.jsx(xy,{onClick:function(){return function(e){s.onClose(),i.push(e)}(e.linkTo)},children:e.label},e.label)}))}),kt.jsx(ol,{sx:{borderStyle:"dashed"}}),kt.jsx(xy,{onClick:function(){return St(o,void 0,void 0,(function(){return Wt(this,(function(e){try{s.onClose(),i.replace("/")}catch(e){console.error(e)}return[2]}))}))},sx:{m:1,fontWeight:"fontWeightBold",color:"error.main"},children:"Logout"})]})]})}function _D(e){var t=e.onOpenNav,n=e.Logo,o=ta(),i=p(Yg),a="horizontal"===i.themeLayout,s="mini"===i.themeLayout,c=El("up","lg"),u=function(e,t){void 0===e&&(e=0);var n=Qe(t).scrollY,o=r(!1),i=o[0],a=o[1],s=f((function(){n.on("change",(function(t){a(t>e)}))}),[n,e]);return l((function(){s()}),[s]),m((function(){return i}),[i])}(fD.H_DESKTOP),d=u&&!a,h=kt.jsxs(kt.Fragment,{children:[c&&a&&n&&kt.jsx(n,{sx:{mr:2.5}}),!c&&kt.jsx(bm,{onClick:t,children:kt.jsx(TD,{src:"/assets/icons/navbar/ic_menu_item.svg"})}),kt.jsx(VD,{}),kt.jsx(QA,{flexGrow:1,direction:"row",alignItems:"center",justifyContent:"flex-end",spacing:{xs:.5,sm:1},children:kt.jsx(JD,{})})]});return kt.jsx(jD,{sx:Lt(Lt(Lt({height:fD.H_MOBILE,zIndex:o.zIndex.appBar+1},Oy({color:o.palette.background.default})),{transition:o.transitions.create(["height"],{duration:o.transitions.duration.shorter})}),c&&Lt(Lt(Lt({width:"calc(100% - ".concat(mD.W_VERTICAL+1,"px)"),height:fD.H_DESKTOP},d&&{height:fD.H_DESKTOP_OFFSET}),a&&{width:1,bgcolor:"background.default",height:fD.H_DESKTOP_OFFSET,borderBottom:"dashed 1px ".concat(o.palette.divider)}),s&&{width:"calc(100% - ".concat(mD.W_MINI+1,"px)")})),children:kt.jsx(DD,{sx:{height:1,px:{lg:5}},children:h})})}var $D=function(e){return{itemGap:(null==e?void 0:e.itemGap)||4,iconSize:(null==e?void 0:e.iconSize)||24,currentRole:null==e?void 0:e.currentRole,itemRootHeight:(null==e?void 0:e.itemRootHeight)||44,itemSubHeight:(null==e?void 0:e.itemSubHeight)||36,itemPadding:(null==e?void 0:e.itemPadding)||"4px 8px 4px 12px",itemRadius:(null==e?void 0:e.itemRadius)||8,hiddenLabel:(null==e?void 0:e.hiddenLabel)||!1}},eT=function(e){return{itemGap:(null==e?void 0:e.itemGap)||4,iconSize:(null==e?void 0:e.iconSize)||22,currentRole:null==e?void 0:e.currentRole,itemRootHeight:(null==e?void 0:e.itemRootHeight)||56,itemSubHeight:(null==e?void 0:e.itemSubHeight)||34,itemPadding:(null==e?void 0:e.itemPadding)||"6px 0 0 0",itemRadius:(null==e?void 0:e.itemRadius)||6,hiddenLabel:(null==e?void 0:e.hiddenLabel)||!1}},tT=function(e){return{itemGap:(null==e?void 0:e.itemGap)||6,iconSize:(null==e?void 0:e.iconSize)||22,currentRole:null==e?void 0:e.currentRole,itemRootHeight:(null==e?void 0:e.itemRootHeight)||32,itemSubHeight:(null==e?void 0:e.itemSubHeight)||34,itemPadding:(null==e?void 0:e.itemPadding)||"0 6px 0 6px",itemRadius:(null==e?void 0:e.itemRadius)||6,hiddenLabel:(null==e?void 0:e.hiddenLabel)||!1}};function nT(e){return zr("MuiLink",e)}var rT=Cr("MuiLink",["root","underlineNone","underlineHover","underlineAlways","button","focusVisible"]);const oT={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"};var iT=({theme:e,ownerState:t})=>{const n=(e=>oT[e]||e)(t.color),r=Fr(e,`palette.${n}`,!1)||t.color,o=Fr(e,`palette.${n}Channel`);return"vars"in e&&o?`rgba(${o} / 0.4)`:ci(r,.4)};const aT=["className","color","component","onBlur","onFocus","TypographyClasses","underline","variant","sx"],sT=ia(Ah,{name:"MuiLink",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`underline${Rn(n.underline)}`],"button"===n.component&&t.button]}})((({theme:e,ownerState:t})=>Gt({},"none"===t.underline&&{textDecoration:"none"},"hover"===t.underline&&{textDecoration:"none","&:hover":{textDecoration:"underline"}},"always"===t.underline&&Gt({textDecoration:"underline"},"inherit"!==t.color&&{textDecorationColor:iT({theme:e,ownerState:t})},{"&:hover":{textDecorationColor:"inherit"}}),"button"===t.component&&{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"},[`&.${rT.focusVisible}`]:{outline:"auto"}}))),lT=e.forwardRef((function(t,n){const r=na({props:t,name:"MuiLink"}),{className:o,color:i="primary",component:a="a",onBlur:s,onFocus:l,TypographyClasses:c,underline:u="always",variant:d="inherit",sx:p}=r,f=Pr(r,aT),{isFocusVisibleRef:m,onBlur:h,onFocus:g,ref:v}=ur(),[A,y]=e.useState(!1),b=tr(n,v),x=Gt({},r,{color:i,component:a,focusVisible:A,underline:u,variant:d}),w=(e=>{const{classes:t,component:n,focusVisible:r,underline:o}=e;return wr({root:["root",`underline${Rn(o)}`,"button"===n&&"button",r&&"focusVisible"]},nT,t)})(x);return kt.jsx(sT,Gt({color:i,className:Xo(w.root,o),classes:c,component:a,onBlur:e=>{h(e),!1===m.current&&y(!1),s&&s(e)},onFocus:e=>{g(e),!0===m.current&&y(!0),l&&l(e)},ref:b,ownerState:x,variant:d,sx:[...Object.keys(oT).includes(i)?[]:[{color:i}],...Array.isArray(p)?p:[p]]},f))}));"production"!==process.env.NODE_ENV&&(lT.propTypes={children:wn.node,classes:wn.object,className:wn.string,color:wn.any,component:zn,onBlur:wn.func,onFocus:wn.func,sx:wn.oneOfType([wn.arrayOf(wn.oneOfType([wn.func,wn.object,wn.bool])),wn.func,wn.object]),TypographyClasses:wn.object,underline:wn.oneOf(["always","hover","none"]),variant:wn.oneOfType([wn.oneOf(["body1","body2","button","caption","h1","h2","h3","h4","h5","h6","inherit","overline","subtitle1","subtitle2"]),wn.string])});var cT=lT,uT=n((function(e,t){var n=e.href,r=It(e,["href"]);return kt.jsx(de,Lt({ref:t,to:n},r))})),dT=ia(eM,{shouldForwardProp:function(e){return"active"!==e}})((function(e){var t=e.active,n=e.open,r=e.depth,o=e.config,i=e.theme,a=1!==r,s={root:{color:"light"===i.palette.mode?i.palette.primary.main:i.palette.primary.light,backgroundColor:ci(i.palette.primary.main,.08),"&:hover":{backgroundColor:ci(i.palette.primary.main,.16)}},sub:{color:i.palette.text.primary,backgroundColor:i.palette.action.selected,"&:hover":{backgroundColor:i.palette.action.hover}}};return Lt(Lt(Lt(Lt({flexDirection:"column",justifyContent:"center",borderRadius:o.itemRadius,minHeight:o.itemRootHeight,color:i.palette.text.secondary,margin:"0 ".concat(o.itemGap,"px ").concat(o.itemGap,"px ").concat(o.itemGap,"px")},o.hiddenLabel&&!a&&{padding:o.itemPadding}),t&&Lt({},s.root)),a&&Lt({margin:0,flexDirection:"row",padding:i.spacing(0,1),minHeight:o.itemSubHeight},t&&Lt({},s.sub))),n&&!t&&{color:i.palette.text.primary,backgroundColor:i.palette.action.hover})})),pT=ia(cy)((function(e){var t=e.size;return{width:t,height:t,marginRight:0}})),fT=n((function(e,t){var n=e.item,r=e.depth,o=e.open,i=e.active,a=e.externalLink,s=e.config,l=It(e,["item","depth","open","active","externalLink","config"]),c=ta(),u=n.title,d=n.path,p=n.icon,f=n.children,m=n.disabled,h=n.caption,g=n.roles,v=1!==r,A=kt.jsxs(dT,Lt({disableGutters:!0,ref:t,open:o,depth:r,active:i,disabled:m,config:s},l,{children:[p&&kt.jsx(pT,{size:s.iconSize,children:p}),!(s.hiddenLabel&&!v)&&kt.jsx(hy,{sx:Lt({width:1,flex:"unset"},!v&&{px:.5,mt:.5}),primary:u,primaryTypographyProps:Lt({noWrap:!0,fontSize:10,lineHeight:"16px",textAlign:"center",textTransform:"capitalize",fontWeight:i?"fontWeightBold":"fontWeightSemiBold"},v&&{textAlign:"unset",fontSize:c.typography.body2.fontSize,lineHeight:c.typography.body2.lineHeight,fontWeight:i?"fontWeightSemiBold":"fontWeightMedium"})}),h&&kt.jsx(ny,{title:h,arrow:!0,placement:"right",children:kt.jsx(pa,{width:16,icon:"eva:info-outline",sx:Lt({color:"text.disabled"},!v&&{top:11,left:6,position:"absolute"})})}),!!f&&kt.jsx(pa,{width:16,icon:"eva:arrow-ios-forward-fill",sx:{top:11,right:6,position:"absolute"}})]}));return g&&!g.includes("".concat(s.currentRole))?null:a?kt.jsx(cT,{href:d,target:"_blank",rel:"noopener",underline:"none",sx:Lt({width:1},m&&{cursor:"default"}),children:A}):kt.jsx(cT,{component:uT,href:d,underline:"none",sx:Lt({width:1},m&&{cursor:"default"}),children:A})}));function mT(e,t){void 0===t&&(t=!0);var n=me().pathname,r=!!e&&!!ge({path:e,end:!0},n),o=!!e&&!!ge({path:e,end:!1},n);return t?o:r}function hT(e){var t,n,o=e.data,i=e.depth,a=e.hasChild,s=e.config,u=c(null),d=wC(),p=mT(o.path,a),m=null===(n=o.path)||void 0===n?void 0:n.includes("http"),h=r(!1),g=h[0],v=h[1];l((function(){g&&y()}),[d]),l((function(){var e=Array.from(document.querySelectorAll(".".concat(AD.root))),t=function(){document.body.style.overflow="",document.body.style.padding="",e.forEach((function(e){e.style.padding=""}))};t()}),[g]);var A=f((function(){v(!0)}),[]),y=f((function(){v(!1)}),[]);return kt.jsxs(kt.Fragment,{children:[kt.jsx(fT,{ref:u,item:o,depth:i,open:g,active:p,externalLink:m,onMouseEnter:A,onMouseLeave:y,config:s}),a&&kt.jsx(Gp,{open:g,anchorEl:u.current,anchorOrigin:{vertical:"center",horizontal:"right"},transformOrigin:{vertical:"center",horizontal:"left"},PaperProps:{onMouseEnter:A,onMouseLeave:y},sx:(t={pointerEvents:"none"},t["& .".concat(Ip.paper)]=Lt({mt:.5,width:160},g&&{pointerEvents:"auto"}),t),children:kt.jsx(gT,{data:o.children,depth:i,config:s})})]})}function gT(e){var t=e.data,n=e.depth,r=e.config;return kt.jsx(QA,{spacing:.5,children:t.map((function(e){return kt.jsx(hT,{data:e,depth:n+1,hasChild:!!e.children,config:r},e.title+e.path)}))})}var vT=s((function(e){var t=e.data,n=e.config,r=e.sx,o=It(e,["data","config","sx"]);return kt.jsx(QA,Lt({sx:r},o,{children:t.map((function(e,t){return kt.jsx(AT,{items:e.items,config:eT(n)},e.subheader||t)}))}))}));function AT(e){var t=e.items,n=e.config;return kt.jsx(kt.Fragment,{children:t.map((function(e){return kt.jsx(hT,{data:e,depth:1,hasChild:!!e.children,config:n},e.title+e.path)}))})}function yT(e){var t=e.sx,n=It(e,["sx"]),r=ta(),o=p(Yg),i=o.themeLayout,a=o.setThemeLayout;return El("up","lg")?kt.jsx(bm,Lt({size:"small",onClick:function(){a&&a("vertical"===i?"mini":"vertical")},sx:Lt(Lt(Lt({p:.5,top:32,position:"fixed",left:mD.W_VERTICAL-12,zIndex:r.zIndex.appBar+1,border:"dashed 1px ".concat(r.palette.divider)},Oy({opacity:.48,color:r.palette.background.default})),{"&:hover":{bgcolor:"background.default"}}),t)},n,{children:kt.jsx(pa,{width:16,icon:"vertical"===i?"eva:arrow-ios-back-fill":"eva:arrow-ios-forward-fill"})})):null}function bT(e){var t=e.Logo,n=Qg();return kt.jsxs(da,{component:"nav",sx:{flexShrink:{lg:0},width:{lg:mD.W_MINI}},children:[kt.jsx(yT,{sx:{top:22,left:mD.W_MINI-12}}),kt.jsxs(QA,{sx:Lt({pb:2,height:1,position:"fixed",width:mD.W_MINI,borderRight:function(e){return"dashed 1px ".concat(e.palette.divider)}},My.x),children:[t&&kt.jsx(t,{sx:{mx:"auto",my:2}}),kt.jsx(vT,{data:n,config:{currentRole:"admin"}})]})]})}function xT(e){return zr("MuiCollapse",e)}Cr("MuiCollapse",["root","horizontal","vertical","entered","hidden","wrapper","wrapperInner"]);const wT=["addEndListener","children","className","collapsedSize","component","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","orientation","style","timeout","TransitionComponent"],jT=ia("div",{name:"MuiCollapse",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.orientation],"entered"===n.state&&t.entered,"exited"===n.state&&!n.in&&"0px"===n.collapsedSize&&t.hidden]}})((({theme:e,ownerState:t})=>Gt({height:0,overflow:"hidden",transition:e.transitions.create("height")},"horizontal"===t.orientation&&{height:"auto",width:0,transition:e.transitions.create("width")},"entered"===t.state&&Gt({height:"auto",overflow:"visible"},"horizontal"===t.orientation&&{width:"auto"}),"exited"===t.state&&!t.in&&"0px"===t.collapsedSize&&{visibility:"hidden"}))),OT=ia("div",{name:"MuiCollapse",slot:"Wrapper",overridesResolver:(e,t)=>t.wrapper})((({ownerState:e})=>Gt({display:"flex",width:"100%"},"horizontal"===e.orientation&&{width:"auto",height:"100%"}))),MT=ia("div",{name:"MuiCollapse",slot:"WrapperInner",overridesResolver:(e,t)=>t.wrapperInner})((({ownerState:e})=>Gt({width:"100%"},"horizontal"===e.orientation&&{width:"auto",height:"100%"}))),zT=e.forwardRef((function(t,n){const r=na({props:t,name:"MuiCollapse"}),{addEndListener:o,children:i,className:a,collapsedSize:s="0px",component:l,easing:c,in:u,onEnter:d,onEntered:p,onEntering:f,onExit:m,onExited:h,onExiting:g,orientation:v="vertical",style:A,timeout:y=Gi.standard,TransitionComponent:b=Ja}=r,x=Pr(r,wT),w=Gt({},r,{orientation:v,collapsedSize:s}),j=(e=>{const{orientation:t,classes:n}=e;return wr({root:["root",`${t}`],entered:["entered"],hidden:["hidden"],wrapper:["wrapper",`${t}`],wrapperInner:["wrapperInner",`${t}`]},xT,n)})(w),O=ta(),M=e.useRef(),z=e.useRef(null),C=e.useRef(),D="number"==typeof s?`${s}px`:s,T="horizontal"===v,P=T?"width":"height";e.useEffect((()=>()=>{clearTimeout(M.current)}),[]);const N=e.useRef(null),E=tr(n,N),B=e=>t=>{if(e){const n=N.current;void 0===t?e(n):e(n,t)}},k=()=>z.current?z.current[T?"clientWidth":"clientHeight"]:0,L=B(((e,t)=>{z.current&&T&&(z.current.style.position="absolute"),e.style[P]=D,d&&d(e,t)})),I=B(((e,t)=>{const n=k();z.current&&T&&(z.current.style.position="");const{duration:r,easing:o}=is({style:A,timeout:y,easing:c},{mode:"enter"});if("auto"===y){const t=O.transitions.getAutoHeightDuration(n);e.style.transitionDuration=`${t}ms`,C.current=t}else e.style.transitionDuration="string"==typeof r?r:`${r}ms`;e.style[P]=`${n}px`,e.style.transitionTimingFunction=o,f&&f(e,t)})),S=B(((e,t)=>{e.style[P]="auto",p&&p(e,t)})),W=B((e=>{e.style[P]=`${k()}px`,m&&m(e)})),H=B(h),R=B((e=>{const t=k(),{duration:n,easing:r}=is({style:A,timeout:y,easing:c},{mode:"exit"});if("auto"===y){const n=O.transitions.getAutoHeightDuration(t);e.style.transitionDuration=`${n}ms`,C.current=n}else e.style.transitionDuration="string"==typeof n?n:`${n}ms`;e.style[P]=D,e.style.transitionTimingFunction=r,g&&g(e)}));return kt.jsx(b,Gt({in:u,onEnter:L,onEntered:S,onEntering:I,onExit:W,onExited:H,onExiting:R,addEndListener:e=>{"auto"===y&&(M.current=setTimeout(e,C.current||0)),o&&o(N.current,e)},nodeRef:N,timeout:"auto"===y?null:y},x,{children:(e,t)=>kt.jsx(jT,Gt({as:l,className:Xo(j.root,a,{entered:j.entered,exited:!u&&"0px"===D&&j.hidden}[e]),style:Gt({[T?"minWidth":"minHeight"]:D},A),ownerState:Gt({},w,{state:e}),ref:E},t,{children:kt.jsx(OT,{ownerState:Gt({},w,{state:e}),className:j.wrapper,ref:z,children:kt.jsx(MT,{ownerState:Gt({},w,{state:e}),className:j.wrapperInner,children:i})})}))}))}));"production"!==process.env.NODE_ENV&&(zT.propTypes={addEndListener:wn.func,children:wn.node,classes:wn.object,className:wn.string,collapsedSize:wn.oneOfType([wn.number,wn.string]),component:zn,easing:wn.oneOfType([wn.shape({enter:wn.string,exit:wn.string}),wn.string]),in:wn.bool,onEnter:wn.func,onEntered:wn.func,onEntering:wn.func,onExit:wn.func,onExited:wn.func,onExiting:wn.func,orientation:wn.oneOf(["horizontal","vertical"]),style:wn.object,sx:wn.oneOfType([wn.arrayOf(wn.oneOfType([wn.func,wn.object,wn.bool])),wn.func,wn.object]),timeout:wn.oneOfType([wn.oneOf(["auto"]),wn.number,wn.shape({appear:wn.number,enter:wn.number,exit:wn.number})])}),zT.muiSupportAuto=!0;var CT=zT,DT=ia(eM,{shouldForwardProp:function(e){return"active"!==e}})((function(e){var t=e.active,n=e.depth,r=e.config,o=e.theme,i=1!==n,a=n>2,s={root:{color:"light"===o.palette.mode?o.palette.primary.main:o.palette.primary.light,backgroundColor:ci(o.palette.primary.main,.08),"&:hover":{backgroundColor:ci(o.palette.primary.main,.16)}},sub:{color:o.palette.text.primary,backgroundColor:"transparent","&:hover":{backgroundColor:o.palette.action.hover}}};return Lt(Lt(Lt({padding:r.itemPadding,marginBottom:r.itemGap,borderRadius:r.itemRadius,minHeight:r.itemRootHeight,color:o.palette.text.secondary},t&&Lt({},s.root)),i&&Lt({minHeight:r.itemSubHeight},t&&Lt({},s.sub))),a&&{paddingLeft:o.spacing(n)})})),TT=ia(cy)((function(e){var t=e.size;return{width:t,height:t,alignItems:"center",justifyContent:"center"}})),PT=ia("span")((function(e){var t=e.active,n=e.theme;return Lt({width:4,height:4,borderRadius:"50%",backgroundColor:n.palette.text.disabled,transition:n.transitions.create(["transform"],{duration:n.transitions.duration.shorter})},t&&{transform:"scale(2)",backgroundColor:n.palette.primary.main})})),NT=ia(Gf)((function(e){var t=e.config,n=e.theme;return Lt(Lt({},n.typography.overline),{fontSize:11,cursor:"pointer",display:"inline-flex",padding:t.itemPadding,paddingTop:n.spacing(2),marginBottom:t.itemGap,paddingBottom:n.spacing(1),color:n.palette.text.disabled,transition:n.transitions.create(["color"],{duration:n.transitions.duration.shortest}),"&:hover":{color:n.palette.text.primary}})}));function ET(e){var t=e.item,n=e.open,r=e.depth,o=e.active,i=e.config,a=e.externalLink,s=It(e,["item","open","depth","active","config","externalLink"]),l=t.title,c=t.path,u=t.icon,d=t.info,p=t.children,f=t.disabled,m=t.caption,h=t.roles,g=1!==r,v=kt.jsxs(DT,Lt({disableGutters:!0,disabled:f,active:o,depth:r,config:i},s,{children:[kt.jsxs(kt.Fragment,{children:[u&&kt.jsx(TT,{size:i.iconSize,children:u}),g&&kt.jsx(TT,{size:i.iconSize,children:kt.jsx(PT,{active:o})})]}),!(i.hiddenLabel&&!g)&&kt.jsx(hy,{primary:l,secondary:m?kt.jsx(ny,{title:m,placement:"top-start",children:kt.jsx("span",{children:m})}):null,primaryTypographyProps:{noWrap:!0,typography:"body2",textTransform:"capitalize",fontWeight:o?"fontWeightSemiBold":"fontWeightMedium"},secondaryTypographyProps:{noWrap:!0,component:"span",typography:"caption",color:"text.disabled"}}),d&&kt.jsx(da,{component:"span",sx:{ml:1,lineHeight:0},children:d}),!!p&&kt.jsx(pa,{width:16,icon:n?"eva:arrow-ios-downward-fill":"eva:arrow-ios-forward-fill",sx:{ml:1,flexShrink:0}})]}));return h&&!h.includes("".concat(i.currentRole))?null:a?kt.jsx(cT,{href:c,target:"_blank",rel:"noopener",underline:"none",color:"inherit",sx:Lt({},f&&{cursor:"default"}),children:v}):p?v:kt.jsx(cT,{component:uT,href:c,underline:"none",color:"inherit",sx:Lt({},f&&{cursor:"default"}),children:v})}function BT(e){var t,n=e.data,o=e.depth,i=e.hasChild,a=e.config;wC();var s=mT(n.path,i),c=null===(t=n.path)||void 0===t?void 0:t.includes("http"),u=r(s),d=u[0],p=u[1];l((function(){s||h()}),[]);var m=f((function(){p((function(e){return!e}))}),[]),h=f((function(){p(!1)}),[]);return kt.jsxs(kt.Fragment,{children:[kt.jsx(ET,{item:n,depth:o,open:d,active:s,externalLink:c,onClick:m,config:a}),i&&kt.jsx(CT,{in:d,unmountOnExit:!0,children:kt.jsx(kT,{data:n.children,depth:o,config:a})})]})}function kT(e){var t=e.data,n=e.depth,r=e.config;return kt.jsx(kt.Fragment,{children:t.map((function(e){return kt.jsx(BT,{data:e,depth:n+1,hasChild:!!e.children,config:r},e.title+e.path)}))})}var LT=s((function(e){var t=e.data,n=e.config,r=e.sx,o=It(e,["data","config","sx"]);return kt.jsx(QA,Lt({sx:r},o,{children:t.map((function(e,t){return kt.jsx(IT,{subheader:e.subheader,items:e.items,config:$D(n)},e.subheader||t)}))}))}));function IT(e){var t=e.subheader,n=e.items,o=e.config,i=r(!0),a=i[0],s=i[1],l=f((function(){s((function(e){return!e}))}),[]),c=n.map((function(e){return kt.jsx(BT,{data:e,depth:1,hasChild:!!e.children,config:o},e.title+e.path)}));return kt.jsx(xp,{disablePadding:!0,sx:{px:2},children:t?kt.jsxs(kt.Fragment,{children:[kt.jsx(NT,{disableGutters:!0,disableSticky:!0,onClick:l,config:o,children:t}),kt.jsx(CT,{in:a,children:c})]}):c})}function ST(e){var t=e.openNav,n=e.onCloseNav,r=e.Logo,o=wC(),i=El("up","lg"),a=Qg();l((function(){t&&n()}),[o]);var s=kt.jsxs(wg,{sx:{height:1,"& .simplebar-content":{height:1,display:"flex",flexDirection:"column"}},children:[r&&kt.jsx(r,{sx:{mt:3,ml:4,mb:1}}),kt.jsx(LT,{data:a,config:{currentRole:"admin"}}),kt.jsx(da,{sx:{flexGrow:1}})]});return kt.jsxs(da,{component:"nav",sx:{flexShrink:{lg:0},width:{lg:mD.W_VERTICAL}},children:[kt.jsx(yT,{}),i?kt.jsx(QA,{sx:{height:1,position:"fixed",width:mD.W_VERTICAL,borderRight:function(e){return"dashed 1px ".concat(e.palette.divider)}},children:s}):kt.jsx(Ks,{open:t,onClose:n,PaperProps:{sx:{width:mD.W_VERTICAL}},children:s})]})}var WT=ia(eM,{shouldForwardProp:function(e){return"active"!==e}})((function(e){var t=e.active,n=e.open,r=e.depth,o=e.config,i=e.theme,a=1!==r,s={color:i.palette.text.primary,backgroundColor:i.palette.action.selected};return Lt(Lt(Lt({flexShrink:0,padding:o.itemPadding,marginRight:o.itemGap,borderRadius:o.itemRadius,minHeight:o.itemRootHeight,color:i.palette.text.secondary},t&&Lt({},s)),a&&{margin:0,padding:i.spacing(0,1),minHeight:o.itemSubHeight}),n&&!t&&{color:i.palette.text.primary,backgroundColor:i.palette.action.hover})})),HT=ia(cy)((function(e){var t=e.size;return{width:t,height:t,flexShrink:0,marginRight:0}})),RT=n((function(e,t){var n=e.item,r=e.depth,o=e.open,i=e.active,a=e.externalLink,s=e.config,l=It(e,["item","depth","open","active","externalLink","config"]),c=n.title,u=n.path,d=n.icon,p=n.info,f=n.children,m=n.disabled,h=n.caption,g=n.roles,v=1!==r,A=kt.jsxs(WT,Lt({disableGutters:!0,ref:t,open:o,depth:r,active:i,disabled:m,config:s},l,{children:[d&&kt.jsx(HT,{size:s.iconSize,children:d}),!(s.hiddenLabel&&!v)&&kt.jsx(hy,{sx:Lt({},!v&&{ml:1}),primary:c,primaryTypographyProps:Lt({noWrap:!0,typography:"body2",textTransform:"capitalize",fontWeight:i?"fontWeightBold":"fontWeightMedium"},v&&{fontWeight:i?"fontWeightSemiBold":"fontWeightMedium"})}),p&&kt.jsx(da,{component:"span",sx:{ml:.5,lineHeight:0},children:p}),h&&kt.jsx(ny,{title:h,arrow:!0,children:kt.jsx(pa,{width:16,icon:"eva:info-outline",sx:{ml:.5,color:"text.disabled"}})}),!!f&&kt.jsx(pa,{icon:v?"eva:arrow-ios-forward-fill":"eva:arrow-ios-downward-fill",width:16,sx:{flexShrink:0,ml:.5}})]}));return g&&!g.includes("".concat(s.currentRole))?null:a?kt.jsx(cT,{href:u,target:"_blank",rel:"noopener",underline:"none",sx:Lt({},m&&{cursor:"default"}),children:A}):kt.jsx(cT,{component:uT,href:u,underline:"none",sx:Lt({},m&&{cursor:"default"}),children:A})}));function VT(e){var t,n,o=e.data,i=e.depth,a=e.hasChild,s=e.config,u=c(null),d=wC(),p=mT(o.path,a),f=null===(n=o.path)||void 0===n?void 0:n.includes("http"),m=r(!1),h=m[0],g=m[1];l((function(){h&&A()}),[d]),l((function(){var e=Array.from(document.querySelectorAll(".".concat(AD.root))),t=function(){document.body.style.overflow="",document.body.style.padding="",e.forEach((function(e){e.style.padding=""}))};t()}),[h]);var v=function(){g(!0)},A=function(){g(!1)};return kt.jsxs(kt.Fragment,{children:[kt.jsx(RT,{ref:u,item:o,depth:i,open:h,active:p,externalLink:f,onMouseEnter:v,onMouseLeave:A,config:s}),a&&kt.jsx(Gp,{open:h,anchorEl:u.current,anchorOrigin:1===i?{vertical:"bottom",horizontal:"left"}:{vertical:"center",horizontal:"right"},transformOrigin:1===i?{vertical:"top",horizontal:"left"}:{vertical:"center",horizontal:"left"},PaperProps:{onMouseEnter:v,onMouseLeave:A},sx:(t={pointerEvents:"none"},t["& .".concat(Ip.paper)]=Lt({width:160},h&&{pointerEvents:"auto"}),t),children:kt.jsx(FT,{data:o.children,depth:i,config:s})})]})}function FT(e){var t=e.data,n=e.depth,r=e.config;return kt.jsx(QA,{spacing:.5,children:t.map((function(e){return kt.jsx(VT,{data:e,depth:n+1,hasChild:!!e.children,config:r},e.title+e.path)}))})}var XT=s((function(e){var t=e.data,n=e.config,r=e.sx,o=It(e,["data","config","sx"]);return kt.jsx(QA,Lt({direction:"row",sx:Lt(Lt({mx:"auto"},My.y),r)},o,{children:t.map((function(e,t){return kt.jsx(QT,{items:e.items,config:tT(n)},e.subheader||t)}))}))}));function QT(e){var t=e.items,n=e.config;return kt.jsx(kt.Fragment,{children:t.map((function(e){return kt.jsx(VT,{data:e,depth:1,hasChild:!!e.children,config:n},e.title+e.path)}))})}function YT(e){var t=e.sx,n=It(e,["sx"]);return kt.jsx(da,Lt({sx:Lt({left:0,right:0,bottom:0,m:"auto",height:24,zIndex:-1,opacity:.48,borderRadius:"50%",position:"absolute",width:"calc(100% - 48px)",boxShadow:function(e){return e.customShadows.z8}},t)},n))}var ZT=s((function(){var e=ta(),t=Qg();return kt.jsxs(jD,{component:"nav",sx:{top:fD.H_DESKTOP_OFFSET},children:[kt.jsx(DD,{sx:Lt({},Oy({color:e.palette.background.default})),children:kt.jsx(XT,{data:t,config:{currentRole:"admin"}})}),kt.jsx(YT,{})]})}));function GT(e){var t=e.children,n=e.Logo,r=El("up","lg"),o=p(Yg),i=pD(),a="horizontal"===o.themeLayout,s="mini"===o.themeLayout,l=kt.jsx(bT,{Logo:n}),c=kt.jsx(ZT,{}),u=kt.jsx(ST,{openNav:i.value,onCloseNav:i.onFalse,Logo:n});return a?kt.jsxs(kt.Fragment,{children:[kt.jsx(_D,{onOpenNav:i.onTrue,Logo:n}),r?c:u,kt.jsx(gD,{children:t})]}):s?kt.jsxs(kt.Fragment,{children:[kt.jsx(_D,{onOpenNav:i.onTrue,Logo:n}),kt.jsxs(da,{sx:{display:{lg:"flex"},minHeight:{lg:1}},children:[r?l:u,kt.jsx(gD,{children:t})]})]}):kt.jsxs(kt.Fragment,{children:[kt.jsx(_D,{onOpenNav:i.onTrue,Logo:n}),kt.jsxs(da,{sx:{display:{lg:"flex"},minHeight:{lg:1}},children:[u,kt.jsx(gD,{children:t})]})]})}var UT=function(){this.__data__=[],this.size=0};var qT=function(e,t){return e===t||e!=e&&t!=t},KT=qT;var JT=function(e,t){for(var n=e.length;n--;)if(KT(e[n][0],t))return n;return-1},_T=JT,$T=Array.prototype.splice;var eP=JT;var tP=JT;var nP=JT;var rP=UT,oP=function(e){var t=this.__data__,n=_T(t,e);return!(n<0)&&(n==t.length-1?t.pop():$T.call(t,n,1),--this.size,!0)},iP=function(e){var t=this.__data__,n=eP(t,e);return n<0?void 0:t[n][1]},aP=function(e){return tP(this.__data__,e)>-1},sP=function(e,t){var n=this.__data__,r=nP(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this};function lP(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}lP.prototype.clear=rP,lP.prototype.delete=oP,lP.prototype.get=iP,lP.prototype.has=aP,lP.prototype.set=sP;var cP=lP,uP=cP;var dP=function(){this.__data__=new uP,this.size=0};var pP=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n};var fP=function(e){return this.__data__.get(e)};var mP=function(e){return this.__data__.has(e)},hP=Qh,gP=xh;var vP,AP=function(e){if(!gP(e))return!1;var t=hP(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t},yP=Mh["__core-js_shared__"],bP=(vP=/[^.]+$/.exec(yP&&yP.keys&&yP.keys.IE_PROTO||""))?"Symbol(src)_1."+vP:"";var xP=function(e){return!!bP&&bP in e},wP=Function.prototype.toString;var jP=AP,OP=xP,MP=xh,zP=function(e){if(null!=e){try{return wP.call(e)}catch(e){}try{return e+""}catch(e){}}return""},CP=/^\[object .+?Constructor\]$/,DP=Function.prototype,TP=Object.prototype,PP=DP.toString,NP=TP.hasOwnProperty,EP=RegExp("^"+PP.call(NP).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");var BP=function(e,t){return null==e?void 0:e[t]},kP=function(e){return!(!MP(e)||OP(e))&&(jP(e)?EP:CP).test(zP(e))},LP=BP;var IP=function(e,t){var n=LP(e,t);return kP(n)?n:void 0},SP=IP(Mh,"Map"),WP=IP(Object,"create"),HP=WP;var RP=function(){this.__data__=HP?HP(null):{},this.size=0};var VP=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},FP=WP,XP=Object.prototype.hasOwnProperty;var QP=function(e){var t=this.__data__;if(FP){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return XP.call(t,e)?t[e]:void 0},YP=WP,ZP=Object.prototype.hasOwnProperty;var GP=WP;var UP=RP,qP=VP,KP=QP,JP=function(e){var t=this.__data__;return YP?void 0!==t[e]:ZP.call(t,e)},_P=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=GP&&void 0===t?"__lodash_hash_undefined__":t,this};function $P(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}$P.prototype.clear=UP,$P.prototype.delete=qP,$P.prototype.get=KP,$P.prototype.has=JP,$P.prototype.set=_P;var eN=$P,tN=cP,nN=SP;var rN=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e};var oN=function(e,t){var n=e.__data__;return rN(t)?n["string"==typeof t?"string":"hash"]:n.map},iN=oN;var aN=function(e){var t=iN(this,e).delete(e);return this.size-=t?1:0,t},sN=oN;var lN=oN;var cN=oN;var uN=function(){this.size=0,this.__data__={hash:new eN,map:new(nN||tN),string:new eN}},dN=aN,pN=function(e){return sN(this,e).get(e)},fN=function(e){return lN(this,e).has(e)},mN=function(e,t){var n=cN(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this};function hN(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}hN.prototype.clear=uN,hN.prototype.delete=dN,hN.prototype.get=pN,hN.prototype.has=fN,hN.prototype.set=mN;var gN=cP,vN=SP,AN=hN;var yN=cP,bN=dP,xN=pP,wN=fP,jN=mP,ON=function(e,t){var n=this.__data__;if(n instanceof gN){var r=n.__data__;if(!vN||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new AN(r)}return n.set(e,t),this.size=n.size,this};function MN(e){var t=this.__data__=new yN(e);this.size=t.size}MN.prototype.clear=bN,MN.prototype.delete=xN,MN.prototype.get=wN,MN.prototype.has=jN,MN.prototype.set=ON;var zN=MN,CN=IP,DN=function(){try{var e=CN(Object,"defineProperty");return e({},"",{}),e}catch(e){}}(),TN=DN;var PN=function(e,t,n){"__proto__"==t&&TN?TN(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n},NN=PN,EN=qT;var BN=function(e,t,n){(void 0!==n&&!EN(e[t],n)||void 0===n&&!(t in e))&&NN(e,t,n)};var kN=function(e){return function(t,n,r){for(var o=-1,i=Object(t),a=r(t),s=a.length;s--;){var l=a[e?s:++o];if(!1===n(i[l],l,i))break}return t}},LN=kN(),IN={exports:{}};!function(e,t){var n=Mh,r=t&&!t.nodeType&&t,o=r&&e&&!e.nodeType&&e,i=o&&o.exports===r?n.Buffer:void 0,a=i?i.allocUnsafe:void 0;e.exports=function(e,t){if(t)return e.slice();var n=e.length,r=a?a(n):new e.constructor(n);return e.copy(r),r}}(IN,IN.exports);var SN=IN.exports,WN=Mh.Uint8Array;var HN=function(e){var t=new e.constructor(e.byteLength);return new WN(t).set(new WN(e)),t},RN=HN;var VN=function(e,t){var n=t?RN(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)};var FN=function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t},XN=xh,QN=Object.create,YN=function(){function e(){}return function(t){if(!XN(t))return{};if(QN)return QN(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}(),ZN=YN;var GN=function(e,t){return function(n){return e(t(n))}}(Object.getPrototypeOf,Object),UN=Object.prototype;var qN=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||UN)},KN=ZN,JN=GN,_N=qN;var $N=function(e){return"function"!=typeof e.constructor||_N(e)?{}:KN(JN(e))},eE=Qh,tE=Yh;var nE=function(e){return tE(e)&&"[object Arguments]"==eE(e)},rE=Yh,oE=Object.prototype,iE=oE.hasOwnProperty,aE=oE.propertyIsEnumerable,sE=nE(function(){return arguments}())?nE:function(e){return rE(e)&&iE.call(e,"callee")&&!aE.call(e,"callee")},lE=Array.isArray;var cE=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991},uE=AP,dE=cE;var pE=function(e){return null!=e&&dE(e.length)&&!uE(e)},fE=pE,mE=Yh;var hE=function(e){return mE(e)&&fE(e)},gE={exports:{}};var vE=function(){return!1};!function(e,t){var n=Mh,r=vE,o=t&&!t.nodeType&&t,i=o&&e&&!e.nodeType&&e,a=i&&i.exports===o?n.Buffer:void 0,s=(a?a.isBuffer:void 0)||r;e.exports=s}(gE,gE.exports);var AE=gE.exports,yE=Qh,bE=GN,xE=Yh,wE=Function.prototype,jE=Object.prototype,OE=wE.toString,ME=jE.hasOwnProperty,zE=OE.call(Object);var CE=function(e){if(!xE(e)||"[object Object]"!=yE(e))return!1;var t=bE(e);if(null===t)return!0;var n=ME.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&OE.call(n)==zE},DE=Qh,TE=cE,PE=Yh,NE={};NE["[object Float32Array]"]=NE["[object Float64Array]"]=NE["[object Int8Array]"]=NE["[object Int16Array]"]=NE["[object Int32Array]"]=NE["[object Uint8Array]"]=NE["[object Uint8ClampedArray]"]=NE["[object Uint16Array]"]=NE["[object Uint32Array]"]=!0,NE["[object Arguments]"]=NE["[object Array]"]=NE["[object ArrayBuffer]"]=NE["[object Boolean]"]=NE["[object DataView]"]=NE["[object Date]"]=NE["[object Error]"]=NE["[object Function]"]=NE["[object Map]"]=NE["[object Number]"]=NE["[object Object]"]=NE["[object RegExp]"]=NE["[object Set]"]=NE["[object String]"]=NE["[object WeakMap]"]=!1;var EE=function(e){return PE(e)&&TE(e.length)&&!!NE[DE(e)]};var BE=function(e){return function(t){return e(t)}},kE={exports:{}};!function(e,t){var n=wh,r=t&&!t.nodeType&&t,o=r&&e&&!e.nodeType&&e,i=o&&o.exports===r&&n.process,a=function(){try{var e=o&&o.require&&o.require("util").types;return e||i&&i.binding&&i.binding("util")}catch(e){}}();e.exports=a}(kE,kE.exports);var LE=kE.exports,IE=EE,SE=BE,WE=LE&&LE.isTypedArray,HE=WE?SE(WE):IE;var RE=function(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]},VE=PN,FE=qT,XE=Object.prototype.hasOwnProperty;var QE=function(e,t,n){var r=e[t];XE.call(e,t)&&FE(r,n)&&(void 0!==n||t in e)||VE(e,t,n)},YE=QE,ZE=PN;var GE=function(e,t,n,r){var o=!n;n||(n={});for(var i=-1,a=t.length;++i<a;){var s=t[i],l=r?r(n[s],e[s],s,n,e):void 0;void 0===l&&(l=e[s]),o?ZE(n,s,l):YE(n,s,l)}return n};var UE=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r},qE=/^(?:0|[1-9]\d*)$/;var KE=function(e,t){var n=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==n||"symbol"!=n&&qE.test(e))&&e>-1&&e%1==0&&e<t},JE=UE,_E=sE,$E=lE,eB=AE,tB=KE,nB=HE,rB=Object.prototype.hasOwnProperty;var oB=function(e,t){var n=$E(e),r=!n&&_E(e),o=!n&&!r&&eB(e),i=!n&&!r&&!o&&nB(e),a=n||r||o||i,s=a?JE(e.length,String):[],l=s.length;for(var c in e)!t&&!rB.call(e,c)||a&&("length"==c||o&&("offset"==c||"parent"==c)||i&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||tB(c,l))||s.push(c);return s};var iB=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t},aB=xh,sB=qN,lB=iB,cB=Object.prototype.hasOwnProperty;var uB=function(e){if(!aB(e))return lB(e);var t=sB(e),n=[];for(var r in e)("constructor"!=r||!t&&cB.call(e,r))&&n.push(r);return n},dB=oB,pB=uB,fB=pE;var mB=function(e){return fB(e)?dB(e,!0):pB(e)},hB=GE,gB=mB;var vB=BN,AB=SN,yB=VN,bB=FN,xB=$N,wB=sE,jB=lE,OB=hE,MB=AE,zB=AP,CB=xh,DB=CE,TB=HE,PB=RE,NB=function(e){return hB(e,gB(e))};var EB=function(e,t,n,r,o,i,a){var s=PB(e,n),l=PB(t,n),c=a.get(l);if(c)vB(e,n,c);else{var u=i?i(s,l,n+"",e,t,a):void 0,d=void 0===u;if(d){var p=jB(l),f=!p&&MB(l),m=!p&&!f&&TB(l);u=l,p||f||m?jB(s)?u=s:OB(s)?u=bB(s):f?(d=!1,u=AB(l,!0)):m?(d=!1,u=yB(l,!0)):u=[]:DB(l)||wB(l)?(u=s,wB(s)?u=NB(s):CB(s)&&!zB(s)||(u=xB(l))):d=!1}d&&(a.set(l,u),o(u,l,r,i,a),a.delete(l)),vB(e,n,u)}},BB=zN,kB=BN,LB=LN,IB=EB,SB=xh,WB=mB,HB=RE;var RB=function e(t,n,r,o,i){t!==n&&LB(n,(function(a,s){if(i||(i=new BB),SB(a))IB(t,n,s,r,e,o,i);else{var l=o?o(HB(t,s),a,s+"",t,n,i):void 0;void 0===l&&(l=a),kB(t,s,l)}}),WB)};var VB=function(e){return e};var FB=function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)},XB=FB,QB=Math.max;var YB=function(e,t,n){return t=QB(void 0===t?e.length-1:t,0),function(){for(var r=arguments,o=-1,i=QB(r.length-t,0),a=Array(i);++o<i;)a[o]=r[t+o];o=-1;for(var s=Array(t+1);++o<t;)s[o]=r[o];return s[t]=n(a),XB(e,this,s)}};var ZB=function(e){return function(){return e}},GB=DN,UB=GB?function(e,t){return GB(e,"toString",{configurable:!0,enumerable:!1,value:ZB(t),writable:!0})}:VB,qB=UB,KB=Date.now;var JB=function(e){var t=0,n=0;return function(){var r=KB(),o=16-(r-n);if(n=r,o>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}(qB),_B=VB,$B=YB,ek=JB;var tk=function(e,t){return ek($B(e,t,_B),e+"")},nk=qT,rk=pE,ok=KE,ik=xh;var ak=function(e,t,n){if(!ik(n))return!1;var r=typeof t;return!!("number"==r?rk(n)&&ok(t,n.length):"string"==r&&t in n)&&nk(n[t],e)},sk=tk,lk=ak;var ck=function(e){return sk((function(t,n){var r=-1,o=n.length,i=o>1?n[o-1]:void 0,a=o>2?n[2]:void 0;for(i=e.length>3&&"function"==typeof i?(o--,i):void 0,a&&lk(n[0],n[1],a)&&(i=o<3?void 0:i,o=1),t=Object(t);++r<o;){var s=n[r];s&&e(t,s,r,i)}return t}))},uk=RB,dk=ck((function(e,t,n){uk(e,t,n)})),pk=Ct(dk);const fk=(e,t)=>Gt({WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",boxSizing:"border-box",WebkitTextSizeAdjust:"100%"},t&&!e.vars&&{colorScheme:e.palette.mode}),mk=e=>Gt({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}}),hk=(e,t=!1)=>{var n;const r={};t&&e.colorSchemes&&Object.entries(e.colorSchemes).forEach((([t,n])=>{var o;r[e.getColorSchemeSelector(t).replace(/\s*&/,"")]={colorScheme:null==(o=n.palette)?void 0:o.mode}}));let o=Gt({html:fk(e,t),"*, *::before, *::after":{boxSizing:"inherit"},"strong, b":{fontWeight:e.typography.fontWeightBold},body:Gt({margin:0},mk(e),{"&::backdrop":{backgroundColor:(e.vars||e).palette.background.default}})},r);const i=null==(n=e.components)||null==(n=n.MuiCssBaseline)?void 0:n.styleOverrides;return i&&(o=[o,i]),o};function gk(t){const n=na({props:t,name:"MuiCssBaseline"}),{children:r,enableColorScheme:o=!1}=n;return kt.jsxs(e.Fragment,{children:[kt.jsx(Ju,{styles:e=>hk(e,o)}),r]})}"production"!==process.env.NODE_ENV&&(gk.propTypes={children:wn.node,enableColorScheme:wn.bool});var vk={0:"#FFFFFF",100:"#F9FAFB",200:"#F4F6F8",300:"#DFE3E8",400:"#C4CDD5",500:"#919EAB",600:"#637381",700:"#454F5B",800:"#212B36",900:"#161C24"},Ak={lighter:"#C8FAD6",light:"#5BE49B",main:"#00A76F",dark:"#007867",darker:"#004B50",contrastText:"#FFFFFF"},yk={lighter:"#EFD6FF",light:"#C684FF",main:"#8E33FF",dark:"#5119B7",darker:"#27097A",contrastText:"#FFFFFF"},bk={lighter:"#CAFDF5",light:"#61F3F3",main:"#00B8D9",dark:"#006C9C",darker:"#003768",contrastText:"#FFFFFF"},xk={lighter:"#D3FCD2",light:"#77ED8B",main:"#22C55E",dark:"#118D57",darker:"#065E49",contrastText:"#ffffff"},wk={lighter:"#FFF5CC",light:"#FFD666",main:"#FFAB00",dark:"#B76E00",darker:"#7A4100",contrastText:vk[800]},jk={lighter:"#FFE9D5",light:"#FFAC82",main:"#FF5630",dark:"#B71D18",darker:"#7A0916",contrastText:"#FFFFFF"},Ok=function(e){return{common:{black:"#000000",white:"#FFFFFF"},primary:null!=e?e:Ak,secondary:yk,info:bk,success:xk,warning:wk,error:jk,grey:vk,divider:ci(vk[500],.2),action:{hover:ci(vk[500],.08),selected:ci(vk[500],.16),disabled:ci(vk[500],.8),disabledBackground:ci(vk[500],.24),focus:ci(vk[500],.24),hoverOpacity:.08,disabledOpacity:.48}}};function Mk(e,t){var n=Lt(Lt({},Ok(t)),{mode:"light",text:{primary:vk[800],secondary:vk[600],disabled:vk[500]},background:{paper:"#FFFFFF",default:"#FFFFFF",neutral:vk[200]},action:Lt(Lt({},Ok().action),{active:vk[600]})}),r=Lt(Lt({},Ok(t)),{mode:"dark",text:{primary:"#FFFFFF",secondary:vk[500],disabled:vk[600]},background:{paper:vk[800],default:vk[900],neutral:ci(vk[500],.12)},action:Lt(Lt({},Ok().action),{active:vk[500]})});return"light"===e?n:r}var zk=Mk("light"),Ck=zk.grey[500],Dk=zk.common.black;function Tk(e){var t=ci(e,.2),n=ci(e,.14),r=ci(e,.12);return["none","0px 2px 1px -1px ".concat(t,",0px 1px 1px 0px ").concat(n,",0px 1px 3px 0px ").concat(r),"0px 3px 1px -2px ".concat(t,",0px 2px 2px 0px ").concat(n,",0px 1px 5px 0px ").concat(r),"0px 3px 3px -2px ".concat(t,",0px 3px 4px 0px ").concat(n,",0px 1px 8px 0px ").concat(r),"0px 2px 4px -1px ".concat(t,",0px 4px 5px 0px ").concat(n,",0px 1px 10px 0px ").concat(r),"0px 3px 5px -1px ".concat(t,",0px 5px 8px 0px ").concat(n,",0px 1px 14px 0px ").concat(r),"0px 3px 5px -1px ".concat(t,",0px 6px 10px 0px ").concat(n,",0px 1px 18px 0px ").concat(r),"0px 4px 5px -2px ".concat(t,",0px 7px 10px 1px ").concat(n,",0px 2px 16px 1px ").concat(r),"0px 5px 5px -3px ".concat(t,",0px 8px 10px 1px ").concat(n,",0px 3px 14px 2px ").concat(r),"0px 5px 6px -3px ".concat(t,",0px 9px 12px 1px ").concat(n,",0px 3px 16px 2px ").concat(r),"0px 6px 6px -3px ".concat(t,",0px 10px 14px 1px ").concat(n,",0px 4px 18px 3px ").concat(r),"0px 6px 7px -4px ".concat(t,",0px 11px 15px 1px ").concat(n,",0px 4px 20px 3px ").concat(r),"0px 7px 8px -4px ".concat(t,",0px 12px 17px 2px ").concat(n,",0px 5px 22px 4px ").concat(r),"0px 7px 8px -4px ".concat(t,",0px 13px 19px 2px ").concat(n,",0px 5px 24px 4px ").concat(r),"0px 7px 9px -4px ".concat(t,",0px 14px 21px 2px ").concat(n,",0px 5px 26px 4px ").concat(r),"0px 8px 9px -5px ".concat(t,",0px 15px 22px 2px ").concat(n,",0px 6px 28px 5px ").concat(r),"0px 8px 10px -5px ".concat(t,",0px 16px 24px 2px ").concat(n,",0px 6px 30px 5px ").concat(r),"0px 8px 11px -5px ".concat(t,",0px 17px 26px 2px ").concat(n,",0px 6px 32px 5px ").concat(r),"0px 9px 11px -5px ".concat(t,",0px 18px 28px 2px ").concat(n,",0px 7px 34px 6px ").concat(r),"0px 9px 12px -6px ".concat(t,",0px 19px 29px 2px ").concat(n,",0px 7px 36px 6px ").concat(r),"0px 10px 13px -6px ".concat(t,",0px 20px 31px 3px ").concat(n,",0px 8px 38px 7px ").concat(r),"0px 10px 13px -6px ".concat(t,",0px 21px 33px 3px ").concat(n,",0px 8px 40px 7px ").concat(r),"0px 10px 14px -6px ".concat(t,",0px 22px 35px 3px ").concat(n,",0px 8px 42px 7px ").concat(r),"0px 11px 14px -7px ".concat(t,",0px 23px 36px 3px ").concat(n,",0px 9px 44px 8px ").concat(r),"0px 11px 15px -7px ".concat(t,",0px 24px 38px 3px ").concat(n,",0px 9px 46px 8px ").concat(r)]}function Pk(e){return Tk("light"===e?Ck:Dk)}function Nk(e){return"".concat(e/16,"rem")}function Ek(e){var t=e.sm,n=e.md,r=e.lg;return{"@media (min-width:600px)":{fontSize:Nk(t)},"@media (min-width:900px)":{fontSize:Nk(n)},"@media (min-width:1200px)":{fontSize:Nk(r)}}}var Bk={fontFamily:"Public Sans, sans-serif",fontWeightRegular:400,fontWeightMedium:500,fontWeightSemiBold:600,fontWeightBold:700,h1:Lt({fontWeight:800,lineHeight:1.25,fontSize:Nk(40)},Ek({sm:52,md:58,lg:64})),h2:Lt({fontWeight:800,lineHeight:64/48,fontSize:Nk(32)},Ek({sm:40,md:44,lg:48})),h3:Lt({fontWeight:700,lineHeight:1.5,fontSize:Nk(24)},Ek({sm:26,md:30,lg:32})),h4:Lt({fontWeight:700,lineHeight:1.5,fontSize:Nk(20)},Ek({sm:20,md:24,lg:24})),h5:Lt({fontWeight:700,lineHeight:1.5,fontSize:Nk(18)},Ek({sm:19,md:20,lg:20})),h6:Lt({fontWeight:700,lineHeight:28/18,fontSize:Nk(17)},Ek({sm:18,md:18,lg:18})),subtitle1:{fontWeight:600,lineHeight:1.5,fontSize:Nk(16)},subtitle2:{fontWeight:600,lineHeight:22/14,fontSize:Nk(14)},body1:{lineHeight:1.5,fontSize:Nk(16)},body2:{lineHeight:22/14,fontSize:Nk(14)},caption:{lineHeight:1.5,fontSize:Nk(12)},overline:{fontWeight:700,lineHeight:1.5,fontSize:Nk(12),textTransform:"uppercase"},button:{fontWeight:700,lineHeight:24/14,fontSize:Nk(14),textTransform:"unset"}};function kk(e,t){var n=Mk("light",t);n.grey[500],n.common.black;var r=ci(e,.16);return{z1:"0 1px 2px 0 ".concat(r),z4:"0 4px 8px 0 ".concat(r),z8:"0 8px 16px 0 ".concat(r),z12:"0 12px 24px -4px ".concat(r),z16:"0 16px 32px -4px ".concat(r),z20:"0 20px 40px -4px ".concat(r),z24:"0 24px 48px 0 ".concat(r),card:"0 0 2px 0 ".concat(ci(e,.2),", 0 12px 24px -4px ").concat(ci(e,.12)),dropdown:"0 0 2px 0 ".concat(ci(e,.24),", -20px 20px 40px -4px ").concat(ci(e,.24)),dialog:"-40px 40px 80px -8px ".concat(ci(n.common.black,.24)),primary:"0 8px 16px 0 ".concat(ci(n.primary.main,.24)),info:"0 8px 16px 0 ".concat(ci(n.info.main,.24)),secondary:"0 8px 16px 0 ".concat(ci(n.secondary.main,.24)),success:"0 8px 16px 0 ".concat(ci(n.success.main,.24)),warning:"0 8px 16px 0 ".concat(ci(n.warning.main,.24)),error:"0 8px 16px 0 ".concat(ci(n.error.main,.24))}}function Lk(e,t){var n=Mk("light"),r=n.grey[500],o=n.common.black;return kk("light"===e?r:o,t)}var Ik=Cr("MuiFab",["root","primary","secondary","extended","circular","focusVisible","disabled","colorInherit","sizeSmall","sizeMedium","sizeLarge","info","error","warning","success"]),Sk=["primary","secondary","info","success","warning","error"];function Wk(e){var t="light"===e.palette.mode;return{MuiFab:{defaultProps:{color:"primary"},styleOverrides:{root:function(n){return function(n){var r,o="default"===n.color,i="inherit"===n.color,a="circular"===n.variant,s="extended"===n.variant,l="outlined"===n.variant,c="outlinedExtended"===n.variant,u="soft"===n.variant,d="softExtended"===n.variant,p=Lt(Lt(Lt({"&:hover, &:active":{boxShadow:"none"}},(a||s)&&Lt(Lt({},(o||i)&&{boxShadow:e.customShadows.z8}),i&&{backgroundColor:e.palette.text.primary,color:t?e.palette.common.white:e.palette.grey[800],"&:hover":{backgroundColor:t?e.palette.grey[700]:e.palette.grey[400]}})),(l||c)&&Lt(Lt(Lt({boxShadow:"none",backgroundColor:"transparent"},(o||i)&&{border:"solid 1px ".concat(ci(e.palette.grey[500],.32))}),o&&Lt({},!t&&{color:e.palette.text.secondary})),{"&:hover":{borderColor:"currentColor",boxShadow:"0 0 0 0.5px currentColor",backgroundColor:e.palette.action.hover}})),(u||d)&&Lt(Lt({boxShadow:"none"},o&&{color:e.palette.grey[800],backgroundColor:e.palette.grey[300],"&:hover":{backgroundColor:e.palette.grey[400]}}),i&&{backgroundColor:ci(e.palette.grey[500],.08),"&:hover":{backgroundColor:ci(e.palette.grey[500],.24)}})),f=Sk.map((function(r){return Lt({},n.color===r&&Lt(Lt(Lt({},(a||s)&&{boxShadow:e.customShadows[r],"&:hover":{backgroundColor:e.palette[r].dark}}),(l||c)&&{color:e.palette[r].main,border:"solid 1px ".concat(ci(e.palette[r].main,.48)),"&:hover":{backgroundColor:ci(e.palette[r].main,.08)}}),(u||d)&&{color:e.palette[r][t?"dark":"light"],backgroundColor:ci(e.palette[r].main,.16),"&:hover":{backgroundColor:ci(e.palette[r].main,.32)}}))})),m=((r={})["&.".concat(Ik.disabled)]=Lt({},(l||c)&&{backgroundColor:"transparent",border:"solid 1px ".concat(e.palette.action.disabledBackground)}),r),h=Lt({},(s||c||d)&&Lt(Lt(Lt({width:"auto","& svg":{marginRight:e.spacing(1)}},"small"===n.size&&{height:34,minHeight:34,borderRadius:17,padding:e.spacing(0,1)}),"medium"===n.size&&{height:40,minHeight:40,borderRadius:20,padding:e.spacing(0,2)}),"large"===n.size&&{height:48,minHeight:48,borderRadius:24,padding:e.spacing(0,2)}));return Ht(Ht([p],f,!0),[m,h],!1)}(n.ownerState)}}}}}var Hk=["primary","secondary","info","success","warning","error"];function Rk(e){var t="light"===e.palette.mode;return{MuiChip:{defaultProps:{deleteIcon:kt.jsx(pa,{icon:"solar:close-circle-bold"})},styleOverrides:{root:function(n){return function(n){var r,o,i,a,s,l="default"===n.color,c="filled"===n.variant,u="outlined"===n.variant,d="soft"===n.variant,p=Lt(((r={})["& .".concat(jm.deleteIcon)]={opacity:.48,color:"currentColor","&:hover":{opacity:1,color:"currentColor"}},r),l&&Lt(Lt(Lt(((o={})["& .".concat(jm.avatar)]={color:e.palette.text.primary},o),c&&((i={color:t?e.palette.common.white:e.palette.grey[800],backgroundColor:e.palette.text.primary,"&:hover":{backgroundColor:t?e.palette.grey[700]:e.palette.grey[100]}})["& .".concat(jm.icon)]={color:t?e.palette.common.white:e.palette.grey[800]},i)),u&&{border:"solid 1px ".concat(ci(e.palette.grey[500],.32))}),d&&{color:e.palette.text.primary,backgroundColor:ci(e.palette.grey[500],.16),"&:hover":{backgroundColor:ci(e.palette.grey[500],.32)}})),f=Hk.map((function(r){var o;return Lt({},n.color===r&&Lt(((o={})["& .".concat(jm.avatar)]={color:e.palette[r].lighter,backgroundColor:e.palette[r].dark},o),d&&{color:e.palette[r][t?"dark":"light"],backgroundColor:ci(e.palette[r].main,.16),"&:hover":{backgroundColor:ci(e.palette[r].main,.32)}}))})),m=((a={})["&.".concat(jm.disabled)]=Lt(Lt(Lt(((s={opacity:1,color:e.palette.action.disabled})["& .".concat(jm.icon)]={color:e.palette.action.disabled},s["& .".concat(jm.avatar)]={color:e.palette.action.disabled,backgroundColor:e.palette.action.disabledBackground},s),c&&{backgroundColor:e.palette.action.disabledBackground}),u&&{borderColor:e.palette.action.disabledBackground}),d&&{backgroundColor:e.palette.action.disabledBackground}),a);return Ht(Ht([p],f,!0),[m,{fontWeight:500,borderRadius:e.shape.borderRadius}],!1)}(n.ownerState)}}}}}var Vk=Cr("MuiTableCell",["root","head","body","footer","sizeSmall","sizeMedium","paddingCheckbox","paddingNone","alignLeft","alignCenter","alignRight","alignJustify","stickyHeader"]);var Fk=Cr("MuiTableRow",["root","selected","hover","head","footer"]);var Xk=Cr("MuiAlert",["root","action","icon","message","filled","filledSuccess","filledInfo","filledWarning","filledError","outlined","outlinedSuccess","outlinedInfo","outlinedWarning","outlinedError","standard","standardSuccess","standardInfo","standardWarning","standardError"]),Qk=["info","success","warning","error"];function Yk(e){var t="light"===e.palette.mode;return{MuiAlert:{defaultProps:{iconMapping:{error:kt.jsx(pa,{icon:"solar:danger-bold",width:24}),info:kt.jsx(pa,{icon:"eva:info-fill",width:24}),success:kt.jsx(pa,{icon:"eva:checkmark-circle-2-fill",width:24}),warning:kt.jsx(pa,{icon:"eva:alert-triangle-fill",width:24})}},styleOverrides:{root:function(n){return function(n){var r="standard"===n.variant,o="filled"===n.variant,i="outlined"===n.variant,a=Qk.map((function(a){var s,l;return Lt({},n.severity===a&&Lt(Lt(Lt({},r&&((s={color:e.palette[a][t?"darker":"lighter"],backgroundColor:e.palette[a][t?"lighter":"darker"]})["& .".concat(Xk.icon)]={color:e.palette[a][t?"main":"light"]},s)),o&&{color:e.palette[a].contrastText,backgroundColor:e.palette[a].main}),i&&((l={backgroundColor:ci(e.palette[a].main,.08),color:e.palette[a][t?"dark":"light"],border:"solid 1px ".concat(ci(e.palette[a].main,.16))})["& .".concat(Xk.icon)]={color:e.palette[a].main},l)))}));return Ht([],a,!0)}(n.ownerState)},icon:{opacity:1}}},MuiAlertTitle:{styleOverrides:{root:{marginBottom:e.spacing(.5),fontWeight:e.typography.fontWeightSemiBold}}}}}var Zk=Cr("MuiBadge",["root","badge","dot","standard","anchorOriginTopRight","anchorOriginBottomRight","anchorOriginTopLeft","anchorOriginBottomLeft","invisible","colorError","colorInfo","colorPrimary","colorSecondary","colorSuccess","colorWarning","overlapRectangular","overlapCircular","anchorOriginTopLeftCircular","anchorOriginTopLeftRectangular","anchorOriginTopRightCircular","anchorOriginTopRightRectangular","anchorOriginBottomLeftCircular","anchorOriginBottomLeftRectangular","anchorOriginBottomRightCircular","anchorOriginBottomRightRectangular"]);var Gk=Cr("MuiAvatarGroup",["root","avatar"]),Uk=["default","primary","secondary","info","success","warning","error"],qk=function(e){var t=e.charAt(0);return["A","C","F"].includes(t)?"primary":["E","D","H"].includes(t)?"secondary":["I","K","L"].includes(t)?"info":["M","N","P"].includes(t)?"success":["Q","S","T"].includes(t)?"warning":["V","X","Y"].includes(t)?"error":"default"};var Kk=Cr("MuiRating",["root","sizeSmall","sizeMedium","sizeLarge","readOnly","disabled","focusVisible","visuallyHidden","pristine","label","labelEmptyValueActive","icon","iconEmpty","iconFilled","iconHover","iconFocus","iconActive","decimal"]),Jk=function(e){return kt.jsx(Ms,Lt({},e,{children:kt.jsx("path",{d:"M17.56,21 C17.4000767,21.0006435 17.2423316,20.9629218 17.1,20.89 L12,18.22 L6.9,20.89 C6.56213339,21.067663 6.15259539,21.0374771 5.8444287,20.8121966 C5.53626201,20.5869161 5.38323252,20.2058459 5.45,19.83 L6.45,14.2 L2.33,10.2 C2.06805623,9.93860108 1.9718844,9.55391377 2.08,9.2 C2.19824414,8.83742187 2.51242293,8.57366684 2.89,8.52 L8.59,7.69 L11.1,2.56 C11.2670864,2.21500967 11.6166774,1.99588989 12,1.99588989 C12.3833226,1.99588989 12.7329136,2.21500967 12.9,2.56 L15.44,7.68 L21.14,8.51 C21.5175771,8.56366684 21.8317559,8.82742187 21.95,9.19 C22.0581156,9.54391377 21.9619438,9.92860108 21.7,10.19 L17.58,14.19 L18.58,19.82 C18.652893,20.2027971 18.4967826,20.5930731 18.18,20.82 C17.9989179,20.9468967 17.7808835,21.010197 17.56,21 L17.56,21 Z"})}))};var _k=Cr("MuiSlider",["root","active","colorPrimary","colorSecondary","disabled","dragging","focusVisible","mark","markActive","marked","markLabel","markLabelActive","rail","sizeSmall","thumb","thumbColorPrimary","thumbColorSecondary","track","trackInverted","trackFalse","thumbSizeSmall","valueLabel","valueLabelOpen","valueLabelCircle","valueLabelLabel","vertical"]);var $k=Cr("MuiSwitch",["root","edgeStart","edgeEnd","switchBase","colorPrimary","colorSecondary","sizeSmall","sizeMedium","checked","disabled","input","thumb","track"]);function eL(e){var t="light"===e.palette.mode;return{MuiSwitch:{styleOverrides:{root:function(n){return function(n){var r,o,i,a;return Lt(Lt({padding:"9px 13px 9px 12px",width:58,height:38},"small"===n.size&&{padding:"4px 8px 4px 7px",width:40,height:24}),((r={})["& .".concat($k.thumb)]=Lt({width:14,height:14,boxShadow:"none",color:e.palette.common.white},"small"===n.size&&{width:10,height:10}),r["& .".concat($k.track)]={opacity:1,borderRadius:14,backgroundColor:ci(e.palette.grey[500],.48)},r["& .".concat($k.switchBase)]=Lt(Lt({left:3,padding:12},"small"===n.size&&{padding:7}),((o={})["&.".concat($k.checked)]=Lt(((i={transform:"translateX(13px)"})["&+.".concat($k.track)]={opacity:1},i),"small"===n.size&&{transform:"translateX(9px)"}),o["&.".concat($k.disabled)]=((a={})["& .".concat($k.thumb)]={opacity:t?1:.48},a["&+.".concat($k.track)]={opacity:.48},a),o)),r))}(n.ownerState)}}}}}var tL=Cr("MuiLinearProgress",["root","colorPrimary","colorSecondary","determinate","indeterminate","buffer","query","dashed","dashedColorPrimary","dashedColorSecondary","bar","barColorPrimary","barColorSecondary","bar1Indeterminate","bar1Determinate","bar1Buffer","bar2Indeterminate","bar2Buffer"]),nL=["primary","secondary","info","success","warning","error"];function rL(e){return{MuiLinearProgress:{styleOverrides:{root:function(t){return function(t){var n,r="buffer"===t.variant,o=Lt(((n={borderRadius:4})["& .".concat(tL.bar)]={borderRadius:4},n),r&&{backgroundColor:"transparent"}),i=nL.map((function(n){return Lt({},t.color===n&&{backgroundColor:ci(e.palette[n].main,.24)})}));return Ht([o],i,!0)}(t.ownerState)}}}}}var oL=function(e){return kt.jsx(Ms,Lt({},e,{children:kt.jsx("path",{d:"M17.9 2.318A5 5 0 0 1 22.895 7.1l.005.217v10a5 5 0 0 1-4.783 4.995l-.217.005h-10a5 5 0 0 1-4.995-4.783l-.005-.217v-10a5 5 0 0 1 4.783-4.996l.217-.004h10Zm-.5 1.5h-9a4 4 0 0 0-4 4v9a4 4 0 0 0 4 4h9a4 4 0 0 0 4-4v-9a4 4 0 0 0-4-4Z"})}))},iL=function(e){return kt.jsx(Ms,Lt({},e,{children:kt.jsx("path",{d:"M17 2a5 5 0 0 1 5 5v10a5 5 0 0 1-5 5H7a5 5 0 0 1-5-5V7a5 5 0 0 1 5-5Zm-1.625 7.255-4.13 4.13-1.75-1.75a.881.881 0 0 0-1.24 0c-.34.34-.34.89 0 1.24l2.38 2.37c.17.17.39.25.61.25.23 0 .45-.08.62-.25l4.75-4.75c.34-.34.34-.89 0-1.24a.881.881 0 0 0-1.24 0Z"})}))},aL=function(e){return kt.jsx(Ms,Lt({},e,{children:kt.jsx("path",{d:"M17,2 C19.7614,2 22,4.23858 22,7 L22,7 L22,17 C22,19.7614 19.7614,22 17,22 L17,22 L7,22 C4.23858,22 2,19.7614 2,17 L2,17 L2,7 C2,4.23858 4.23858,2 7,2 L7,2 Z M15,11 L9,11 C8.44772,11 8,11.4477 8,12 C8,12.5523 8.44772,13 9,13 L15,13 C15.5523,13 16,12.5523 16,12 C16,11.4477 15.5523,11 15,11 Z"})}))};var sL=Cr("MuiTablePagination",["root","toolbar","spacer","selectLabel","selectRoot","select","selectIcon","input","menuItem","displayedRows","actions"]);var lL=function(e){return kt.jsx(Ms,Lt({},e,{children:kt.jsx("path",{d:"M18,3 C19.6568542,3 21,4.34314575 21,6 L21,6 L21,18 C21,19.6568542 19.6568542,21 18,21 L18,21 L6,21 C4.34314575,21 3,19.6568542 3,18 L3,18 L3,6 C3,4.34314575 4.34314575,3 6,3 L6,3 Z M18,5 L6,5 C5.44771525,5 5,5.44771525 5,6 L5,6 L5,18 C5,18.5522847 5.44771525,19 6,19 L6,19 L18,19 C18.5522847,19 19,18.5522847 19,18 L19,18 L19,6 C19,5.44771525 18.5522847,5 18,5 L18,5 Z M12,8 C12.5522847,8 13,8.44771525 13,9 L13,9 L13,11 L15,11 C15.5522847,11 16,11.4477153 16,12 C16,12.5522847 15.5522847,13 15,13 L15,13 L13,13 L13,15 C13,15.5522847 12.5522847,16 12,16 C11.4477153,16 11,15.5522847 11,15 L11,15 L11,13 L9,13 C8.44771525,13 8,12.5522847 8,12 C8,11.4477153 8.44771525,11 9,11 L9,11 L11,11 L11,9 C11,8.44771525 11.4477153,8 12,8 Z"})}))},cL=function(e){return kt.jsx(Ms,Lt({},e,{children:kt.jsx("path",{d:"M18,3 C19.6568542,3 21,4.34314575 21,6 L21,6 L21,18 C21,19.6568542 19.6568542,21 18,21 L18,21 L6,21 C4.34314575,21 3,19.6568542 3,18 L3,18 L3,6 C3,4.34314575 4.34314575,3 6,3 L6,3 Z M18,5 L6,5 C5.44771525,5 5,5.44771525 5,6 L5,6 L5,18 C5,18.5522847 5.44771525,19 6,19 L6,19 L18,19 C18.5522847,19 19,18.5522847 19,18 L19,18 L19,6 C19,5.44771525 18.5522847,5 18,5 L18,5 Z M15,11 C15.5522847,11 16,11.4477153 16,12 C16,12.5522847 15.5522847,13 15,13 L15,13 L9,13 C8.44771525,13 8,12.5522847 8,12 C8,11.4477153 8.44771525,11 9,11 L9,11 Z"})}))},uL=function(e){return kt.jsx(Ms,Lt({},e,{children:kt.jsx("path",{d:"M18,3 C19.6568542,3 21,4.34314575 21,6 L21,6 L21,18 C21,19.6568542 19.6568542,21 18,21 L18,21 L6,21 C4.34314575,21 3,19.6568542 3,18 L3,18 L3,6 C3,4.34314575 4.34314575,3 6,3 L6,3 Z M18,5 L6,5 C5.44771525,5 5,5.44771525 5,6 L5,6 L5,18 C5,18.5522847 5.44771525,19 6,19 L6,19 L18,19 C18.5522847,19 19,18.5522847 19,18 L19,18 L19,6 C19,5.44771525 18.5522847,5 18,5 L18,5 Z M14,8.99420168 C14.2666375,8.99420168 14.5222334,9.10068735 14.71,9.29 C14.8993127,9.4777666 15.0057983,9.73336246 15.0057983,10 C15.0057983,10.2666375 14.8993127,10.5222334 14.71,10.71 L14.71,10.71 L13.41,12 L14.71,13.29 C14.8993127,13.4777666 15.0057983,13.7333625 15.0057983,14 C15.0057983,14.2666375 14.8993127,14.5222334 14.71,14.71 C14.5222334,14.8993127 14.2666375,15.0057983 14,15.0057983 C13.7333625,15.0057983 13.4777666,14.8993127 13.29,14.71 L13.29,14.71 L12,13.41 L10.71,14.71 C10.5222334,14.8993127 10.2666375,15.0057983 10,15.0057983 C9.73336246,15.0057983 9.4777666,14.8993127 9.29,14.71 C9.10068735,14.5222334 8.99420168,14.2666375 8.99420168,14 C8.99420168,13.7333625 9.10068735,13.4777666 9.29,13.29 L9.29,13.29 L10.59,12 L9.29,10.71 C8.89787783,10.3178778 8.89787783,9.68212217 9.29,9.29 C9.68212217,8.89787783 10.3178778,8.89787783 10.71,9.29 L10.71,9.29 L12,10.59 L13.29,9.29 C13.4777666,9.10068735 13.7333625,8.99420168 14,8.99420168 Z"})}))};var dL=Cr("MuiAccordion",["root","rounded","expanded","disabled","gutters","region"]);var pL=Cr("MuiAccordionSummary",["root","expanded","focusVisible","disabled","gutters","contentGutters","content","expandIconWrapper"]);var fL=Cr("MuiPaginationItem",["root","page","sizeSmall","sizeLarge","text","textPrimary","textSecondary","outlined","outlinedPrimary","outlinedSecondary","rounded","ellipsis","firstLast","previousNext","focusVisible","disabled","selected","icon"]),mL=["primary","secondary","info","success","warning","error"];function hL(e){var t="light"===e.palette.mode;return{MuiPagination:{styleOverrides:{root:function(n){return function(n){var r,o,i="standard"===n.color,a="text"===n.variant,s="outlined"===n.variant,l="soft"===n.variant,c=((r={})["& .".concat(fL.root)]=Lt(Lt({},s&&{borderColor:ci(e.palette.grey[500],.24)}),((o={})["&.".concat(fL.selected)]=Lt(Lt({fontWeight:e.typography.fontWeightSemiBold},s&&{borderColor:"currentColor"}),i&&Lt({backgroundColor:ci(e.palette.grey[500],.08)},a&&{color:t?e.palette.common.white:e.palette.grey[800],backgroundColor:e.palette.text.primary,"&:hover":{backgroundColor:t?e.palette.grey[700]:e.palette.grey[100]}})),o)),r),u=mL.map((function(r){var o,i;return Lt({},n.color===r&&((o={})["& .".concat(fL.root)]=((i={})["&.".concat(fL.selected)]=Lt({},n.color===r&&Lt({},l&&{color:e.palette[r][t?"dark":"light"],backgroundColor:ci(e.palette[r].main,.08),"&:hover":{backgroundColor:ci(e.palette[r].main,.16)}})),i),o))}));return Ht([c],u,!0)}(n.ownerState)}}}}}var gL=function(e){return kt.jsx(Ms,Lt({},e,{children:kt.jsx("path",{d:"M12 2A10 10 0 1 1 2 12C2 6.477 6.477 2 12 2Zm0 1.5a8.5 8.5 0 1 0 0 17 8.5 8.5 0 0 0 0-17Z"})}))},vL=function(e){return kt.jsx(Ms,Lt({},e,{children:kt.jsx("path",{d:"M12 2A10 10 0 1 1 2 12C2 6.477 6.477 2 12 2Zm0 1.5a8.5 8.5 0 1 0 0 17 8.5 8.5 0 0 0 0-17ZM12 7a5 5 0 1 1 0 10 5 5 0 0 1 0-10Z"})}))};var AL=Cr("MuiButtonGroup",["root","contained","outlined","text","disableElevation","disabled","fullWidth","vertical","grouped","groupedHorizontal","groupedVertical","groupedText","groupedTextHorizontal","groupedTextVertical","groupedTextPrimary","groupedTextSecondary","groupedOutlined","groupedOutlinedHorizontal","groupedOutlinedVertical","groupedOutlinedPrimary","groupedOutlinedSecondary","groupedContained","groupedContainedHorizontal","groupedContainedVertical","groupedContainedPrimary","groupedContainedSecondary"]),yL=["primary","secondary","info","success","warning","error"];function bL(e){return{MuiButtonGroup:{defaultProps:{disableElevation:!0},styleOverrides:{root:function(t){return function(t){var n,r,o,i="inherit"===t.color,a="contained"===t.variant,s="outlined"===t.variant,l="text"===t.variant,c="soft"===t.variant,u="horizontal"===t.orientation,d="vertical"===t.orientation,p=((n={})["& .".concat(AL.grouped)]={"&:not(:last-of-type)":Lt({},!s&&Lt(Lt(Lt({borderStyle:"solid"},i&&{borderColor:ci(e.palette.grey[500],.32)}),u&&{borderWidth:"0px 1px 0px 0px"}),d&&{borderWidth:"0px 0px 1px 0px"}))},n),f=yL.map((function(n){var r;return(r={})["& .".concat(AL.grouped)]={"&:not(:last-of-type)":Lt({},!s&&Lt({},t.color===n&&Lt(Lt(Lt({},a&&{borderColor:ci(e.palette[n].dark,.48)}),l&&{borderColor:ci(e.palette[n].main,.48)}),c&&{borderColor:ci(e.palette[n].dark,.24)})))},r})),m=((r={})["& .".concat(AL.grouped)]=((o={})["&.".concat(AL.disabled)]={"&:not(:last-of-type)":{borderColor:e.palette.action.disabledBackground}},o),r);return Ht(Ht([p],f,!0),[m],!1)}(t.ownerState)}}}}}var xL=function(){return kt.jsx(pa,{icon:"eva:chevron-down-fill",width:24})},wL=function(){return kt.jsx(pa,{icon:"eva:arrow-ios-back-fill",width:24})},jL=function(){return kt.jsx(pa,{icon:"eva:arrow-ios-forward-fill",width:24})},OL=function(){return kt.jsx(pa,{icon:"solar:calendar-mark-bold-duotone",width:24})},ML=function(){return kt.jsx(pa,{icon:"solar:clock-circle-outline",width:24})},zL=["DatePicker","DateTimePicker","StaticDatePicker","DesktopDatePicker","DesktopDateTimePicker","MobileDatePicker","MobileDateTimePicker"].reduce((function(e,t){return e["Mui".concat(t)]={defaultProps:{slots:{openPickerIcon:OL,leftArrowIcon:wL,rightArrowIcon:jL,switchViewIcon:xL}}},e}),{}),CL=["TimePicker","MobileTimePicker","StaticTimePicker","DesktopTimePicker"].reduce((function(e,t){return e["Mui".concat(t)]={defaultProps:{slots:{openPickerIcon:ML,rightArrowIcon:jL,switchViewIcon:xL}}},e}),{});var DL=Cr("MuiToggleButton",["root","disabled","selected","standard","primary","secondary","sizeSmall","sizeMedium","sizeLarge"]),TL=["primary","secondary","info","success","warning","error"];function PL(e){var t;return{MuiToggleButton:{styleOverrides:{root:function(t){return function(t){var n,r,o,i=((n={})["&.".concat(DL.selected)]={borderColor:"currentColor",boxShadow:"0 0 0 0.5px currentColor"},n),a=TL.map((function(n){return Lt({},t.color===n&&{"&:hover":{borderColor:ci(e.palette[n].main,.48),backgroundColor:ci(e.palette[n].main,e.palette.action.hoverOpacity)}})})),s=((r={})["&.".concat(DL.disabled)]=((o={})["&.".concat(DL.selected)]={color:e.palette.action.disabled,backgroundColor:e.palette.action.selected,borderColor:e.palette.action.disabledBackground},o),r);return Ht(Ht([i],a,!0),[s],!1)}(t.ownerState)}}},MuiToggleButtonGroup:{styleOverrides:{root:{borderRadius:e.shape.borderRadius,backgroundColor:e.palette.background.paper,border:"solid 1px ".concat(ci(e.palette.grey[500],.08))},grouped:(t={margin:4},t["&.".concat(DL.selected)]={boxShadow:"none"},t["&:not(:first-of-type), &:not(:last-of-type)"]={borderRadius:e.shape.borderRadius,borderColor:"transparent"},t)}}}}function NL(e){var t=pk(Wk(e),function(e){var t,n;return{MuiTabs:{defaultProps:{textColor:"inherit",variant:"scrollable",allowScrollButtonsMobile:!0},styleOverrides:{indicator:{backgroundColor:e.palette.text.primary},scrollButtons:{width:48,borderRadius:"50%"}}},MuiTab:{defaultProps:{disableRipple:!0,iconPosition:"start"},styleOverrides:{root:(t={padding:0,opacity:1,minWidth:48,minHeight:48,fontWeight:e.typography.fontWeightSemiBold,"&:not(:last-of-type)":(n={marginRight:e.spacing(3)},n[e.breakpoints.up("sm")]={marginRight:e.spacing(5)},n)},t["&:not(.".concat(cx.selected,")")]={color:e.palette.text.secondary},t)}}}}(e),Rk(e),function(e){return{MuiCard:{styleOverrides:{root:{position:"relative",boxShadow:e.customShadows.card,borderRadius:2*e.shape.borderRadius,zIndex:0}}},MuiCardHeader:{defaultProps:{titleTypographyProps:{variant:"h6"},subheaderTypographyProps:{variant:"body2",marginTop:e.spacing(.5)}},styleOverrides:{root:{padding:e.spacing(3,3,0)}}},MuiCardContent:{styleOverrides:{root:{padding:e.spacing(3)}}}}}(e),function(e){return{MuiMenuItem:{styleOverrides:{root:Lt({},jy(e))}}}}(e),{MuiLink:{defaultProps:{underline:"hover"}}},{MuiStack:{defaultProps:{useFlexGap:!0}}},function(e){return{MuiBadge:{styleOverrides:{dot:{borderRadius:"50%"},root:function(t){var n,r,o,i,a,s,l=t.ownerState,c="alway"===l.variant,u="online"===l.variant,d="busy"===l.variant,p="offline"===l.variant,f="invisible"===l.variant,m=((n={})["&.".concat(Zk.invisible)]={transform:"unset"},n.width=10,n.zIndex=9,n.padding=0,n.height=10,n.minWidth="auto",n["&:before, &:after"]={content:"''",borderRadius:1,backgroundColor:e.palette.common.white},n);return Lt(Lt(Lt(Lt(Lt({},u&&((r={})["& .".concat(Zk.badge)]=Lt(Lt({},m),{backgroundColor:e.palette.success.main}),r)),d&&((o={})["& .".concat(Zk.badge)]=Lt(Lt({},m),{backgroundColor:e.palette.error.main,"&:before":{width:6,height:2}}),o)),p&&((i={})["& .".concat(Zk.badge)]=Lt(Lt({},m),{backgroundColor:e.palette.text.disabled,"&:before":{width:6,height:6,borderRadius:"50%"}}),i)),c&&((a={})["& .".concat(Zk.badge)]=Lt(Lt({},m),{backgroundColor:e.palette.warning.main,"&:before":{width:2,height:4,transform:"translateX(1px) translateY(-1px)"},"&:after":{width:2,height:4,transform:"translateY(1px) rotate(125deg)"}}),a)),f&&((s={})["& .".concat(Zk.badge)]={display:"none"},s))}}}}}(e),function(e){return{MuiListItemIcon:{styleOverrides:{root:{color:"inherit",minWidth:"auto",marginRight:e.spacing(2)}}},MuiListItemAvatar:{styleOverrides:{root:{minWidth:"auto",marginRight:e.spacing(2)}}},MuiListItemText:{defaultProps:{primaryTypographyProps:{typography:"subtitle2"},secondaryTypographyProps:{component:"span"}},styleOverrides:{root:{margin:0},multiline:{margin:0}}}}}(e),function(e){var t,n;return{MuiTableContainer:{styleOverrides:{root:{position:"relative"}}},MuiTableRow:{styleOverrides:{root:(t={},t["&.".concat(Fk.selected)]={backgroundColor:ci(e.palette.primary.dark,.04),"&:hover":{backgroundColor:ci(e.palette.primary.dark,.08)}},t["&:last-of-type"]=(n={},n["& .".concat(Vk.root)]={borderColor:"transparent"},n),t)}},MuiTableCell:{styleOverrides:{root:{borderBottomStyle:"dashed"},head:{fontSize:14,color:e.palette.text.secondary,fontWeight:e.typography.fontWeightSemiBold,backgroundColor:e.palette.background.neutral},stickyHeader:{backgroundColor:e.palette.background.paper,backgroundImage:"linear-gradient(to bottom, ".concat(e.palette.background.neutral," 0%, ").concat(e.palette.background.neutral," 100%)")},paddingCheckbox:{paddingLeft:e.spacing(1)}}},MuiTablePagination:{defaultProps:{backIconButtonProps:{size:"small"},nextIconButtonProps:{size:"small"}},styleOverrides:{root:{width:"100%"},toolbar:{height:64},actions:{marginRight:8},select:{paddingLeft:8,"&:focus":{borderRadius:e.shape.borderRadius}},selectIcon:{right:4,width:16,height:16,top:"calc(50% - 8px)"}}}}}(e),function(e){return{MuiPaper:{defaultProps:{elevation:0},styleOverrides:{root:{backgroundImage:"none"},outlined:{borderColor:ci(e.palette.grey[500],.16)}}}}}(e),Yk(e),eL(e),function(e){var t=function(e){return kt.jsx(Ms,Lt({},e,{children:kt.jsx("path",{d:"M12,16 C11.7663478,16.0004565 11.5399121,15.9190812 11.36,15.77 L5.36,10.77 C4.93474074,10.4165378 4.87653776,9.78525926 5.23,9.36 C5.58346224,8.93474074 6.21474074,8.87653776 6.64,9.23 L12,13.71 L17.36,9.39 C17.5665934,9.2222295 17.8315409,9.14373108 18.0961825,9.17188444 C18.3608241,9.2000378 18.6033268,9.33252029 18.77,9.54 C18.9551341,9.74785947 19.0452548,10.0234772 19.0186853,10.3005589 C18.9921158,10.5776405 18.8512608,10.8311099 18.63,11 L12.63,15.83 C12.444916,15.955516 12.2231011,16.0153708 12,16 Z"})}))};return{MuiSelect:{defaultProps:{IconComponent:t},styleOverrides:{icon:{right:10,width:18,height:18,top:"calc(50% - 9px)"}}},MuiNativeSelect:{defaultProps:{IconComponent:t},styleOverrides:{icon:{right:10,width:18,height:18,top:"calc(50% - 9px)"}}}}}(),function(e){return{MuiButton:{styleOverrides:{root:{"&:hover":{boxShadow:"none"}},sizeLarge:{height:48},containedInherit:{color:e.palette.grey[800],boxShadow:e.customShadows.z8,"&:hover":{backgroundColor:e.palette.grey[400]}},containedPrimary:{boxShadow:e.customShadows.primary},containedSecondary:{boxShadow:e.customShadows.secondary},containedInfo:{boxShadow:e.customShadows.info},containedSuccess:{boxShadow:e.customShadows.success},containedWarning:{boxShadow:e.customShadows.warning},containedError:{boxShadow:e.customShadows.error},outlinedInherit:{border:"1px solid ".concat(e.palette.grey[500]),"&:hover":{backgroundColor:e.palette.action.hover}},textInherit:{"&:hover":{backgroundColor:e.palette.action.hover}}}}}}(e),function(e){var t,n,r,o;return{MuiRating:{defaultProps:{emptyIcon:kt.jsx(Jk,{}),icon:kt.jsx(Jk,{})},styleOverrides:{root:(t={},t["&.".concat(Kk.disabled)]={opacity:.48},t),iconEmpty:{color:ci(e.palette.grey[500],.48)},sizeSmall:(n={},n["& .".concat(xs.root)]={width:20,height:20},n),sizeMedium:(r={},r["& .".concat(xs.root)]={width:24,height:24},r),sizeLarge:(o={},o["& .".concat(xs.root)]={width:28,height:28},o)}}}}(e),function(e){return{MuiDialog:{styleOverrides:{paper:function(t){var n=t.ownerState;return Lt({boxShadow:e.customShadows.dialog,borderRadius:2*e.shape.borderRadius},!n.fullScreen&&{margin:e.spacing(2)})},paperFullScreen:{borderRadius:0}}},MuiDialogTitle:{styleOverrides:{root:{padding:e.spacing(3)}}},MuiDialogContent:{styleOverrides:{root:{padding:e.spacing(0,3)},dividers:{borderTop:0,borderBottomStyle:"dashed",paddingBottom:e.spacing(3)}}},MuiDialogActions:{defaultProps:{disableSpacing:!0},styleOverrides:{root:{padding:e.spacing(3),"& > :not(:first-of-type)":{marginLeft:e.spacing(1.5)}}}}}}(e),{MuiAppBar:{defaultProps:{color:"transparent"},styleOverrides:{root:{boxShadow:"none"}}}},function(e){return{MuiAvatar:{variants:Uk.map((function(t){return"default"===t?{props:{color:"default"},style:{color:e.palette.text.secondary,backgroundColor:ci(e.palette.grey[500],.24)}}:{props:{color:t},style:{color:e.palette[t].contrastText,backgroundColor:e.palette[t].main}}})),styleOverrides:{rounded:{borderRadius:1.5*e.shape.borderRadius},colorDefault:function(t){var n=t.ownerState,r=qk("".concat(n.alt));return Lt({},!!n.alt&&Lt({},"default"!==r?{color:e.palette[r].contrastText,backgroundColor:e.palette[r].main}:{color:e.palette.text.secondary,backgroundColor:ci(e.palette.grey[500],.24)}))}}},MuiAvatarGroup:{defaultProps:{max:4},styleOverrides:{root:function(e){var t,n=e.ownerState;return Lt({justifyContent:"flex-end"},"compact"===n.variant&&((t={width:40,height:40,position:"relative"})["& .".concat(Gk.avatar)]={margin:0,width:28,height:28,position:"absolute","&:first-of-type":{left:0,bottom:0,zIndex:9},"&:last-of-type":{top:0,right:0}},t))},avatar:{fontSize:16,fontWeight:e.typography.fontWeightSemiBold,"&:first-of-type":{fontSize:12,color:e.palette.primary.dark,backgroundColor:e.palette.primary.lighter}}}}}}(e),function(e){var t,n="light"===e.palette.mode;return{MuiSlider:{defaultProps:{size:"small"},styleOverrides:{root:(t={},t["&.".concat(_k.disabled)]={color:e.palette.action.disabled},t),rail:{opacity:.32},markLabel:{fontSize:13,color:e.palette.text.disabled},valueLabel:{borderRadius:8,backgroundColor:e.palette.grey[n?800:700]}}}}}(e),function(e){var t="light"===e.palette.mode;return{MuiDrawer:{styleOverrides:{root:function(n){var r,o=n.ownerState;return Lt({},"temporary"===o.variant&&((r={})["& .".concat(Vs.paper)]=Lt(Lt(Lt({},wy({theme:e})),"left"===o.anchor&&{boxShadow:"40px 40px 80px -8px ".concat(ci(t?e.palette.grey[500]:e.palette.common.black,.24))}),"right"===o.anchor&&{boxShadow:"-40px 40px 80px -8px ".concat(ci(t?e.palette.grey[500]:e.palette.common.black,.24))}),r))}}}}}(e),function(e){return{MuiStepConnector:{styleOverrides:{line:{borderColor:e.palette.divider}}}}}(e),function(e){var t="light"===e.palette.mode;return{MuiTooltip:{styleOverrides:{tooltip:{backgroundColor:e.palette.grey[t?800:700]},arrow:{color:e.palette.grey[t?800:700]}}}}}(e),function(e){var t;return{MuiPopover:{styleOverrides:{paper:Lt(Lt({},wy({theme:e,dropdown:!0})),(t={},t["& .".concat(vp.root)]={paddingTop:0,paddingBottom:0},t))}}}}(e),{MuiSvgIcon:{styleOverrides:{fontSizeLarge:{width:32,height:32,fontSize:"inherit"}}}},function(e){return{MuiCheckbox:{defaultProps:{size:"small",icon:kt.jsx(oL,{}),checkedIcon:kt.jsx(iL,{}),indeterminateIcon:kt.jsx(aL,{})},styleOverrides:{root:{padding:e.spacing(1)}}}}}(e),function(e){var t,n,r,o,i=wy({theme:e,dropdown:!0});return{MuiDataGrid:{styleOverrides:{root:(t={borderRadius:0,borderWidth:0},t["& .".concat(sL.root)]={borderTop:0},t["& .".concat(sL.toolbar)]={height:"auto"},t),cell:{borderBottom:"1px dashed ".concat(e.palette.divider)},selectedRowCount:{whiteSpace:"nowrap"},columnSeparator:{color:e.palette.divider},toolbarContainer:{padding:e.spacing(2),borderBottom:"1px dashed ".concat(e.palette.divider),backgroundColor:e.palette.background.neutral},paper:Lt(Lt({},i),{padding:0}),menu:(n={},n["& .".concat(Ls.root)]=Lt({},i),n["& .".concat(vp.root)]=(r={padding:0},r["& .".concat(iy.root)]={minWidth:0,marginRight:e.spacing(2)},r),n),columnHeaders:{borderRadius:0,backgroundColor:e.palette.background.neutral},panelHeader:{padding:e.spacing(2)},panelFooter:(o={padding:e.spacing(2),justifyContent:"flex-end",borderTop:"dashed 1px ".concat(e.palette.divider)},o["& .".concat(Vj.root)]={"&:first-of-type":{border:"solid 1px ".concat(ci(e.palette.grey[500],.24))},"&:last-of-type":{marginLeft:e.spacing(1.5),color:e.palette.background.paper,backgroundColor:e.palette.text.primary}},o),filterForm:{padding:e.spacing(2)},filterFormValueInput:{marginLeft:e.spacing(2)},filterFormColumnInput:{marginLeft:e.spacing(2)},filterFormOperatorInput:{marginLeft:e.spacing(2)}}}}}(e),function(e){return{MuiSkeleton:{defaultProps:{animation:"wave",variant:"rounded"},styleOverrides:{root:{backgroundColor:e.palette.background.neutral},rounded:{borderRadius:2*e.shape.borderRadius}}}}}(e),function(e){return{MuiTimelineDot:{styleOverrides:{root:{boxShadow:"none"}}},MuiTimelineConnector:{styleOverrides:{root:{backgroundColor:e.palette.divider}}}}}(e),function(e){return{MuiTreeView:{defaultProps:{defaultCollapseIcon:kt.jsx(lL,{}),defaultExpandIcon:kt.jsx(cL,{}),defaultEndIcon:kt.jsx(uL,{})}},MuiTreeItem:{styleOverrides:{label:Lt({},e.typography.body2),iconContainer:{width:"auto"}}}}}(e),function(e){return{MuiBackdrop:{styleOverrides:{root:{backgroundColor:ci(e.palette.grey[900],.8)},invisible:{background:"transparent"}}}}}(e),rL(e),function(e){var t,n,r,o,i,a,s,l,c,u={focused:e.palette.text.primary,active:e.palette.text.secondary,placeholder:e.palette.text.disabled},d={label:e.typography.body1,value:e.typography.body2};return{MuiFormHelperText:{defaultProps:{component:"div"},styleOverrides:{root:{marginTop:e.spacing(1)}}},MuiFormLabel:{styleOverrides:{root:Lt(Lt({},d.value),(t={color:u.placeholder},t["&.".concat(Yd.shrink)]=Lt(Lt({},d.label),(n={fontWeight:600,color:u.active},n["&.".concat(Yd.focused)]={color:u.focused},n["&.".concat(Yd.error)]={color:e.palette.error.main},n["&.".concat(Yd.disabled)]={color:e.palette.text.disabled},n["&.".concat(Yd.filled)]={transform:"translate(12px, 6px) scale(0.75)"},n)),t))}},MuiInputBase:{styleOverrides:{root:(r={},r["&.".concat(td.disabled)]={"& svg":{color:e.palette.text.disabled}},r),input:Lt(Lt({},d.value),{"&::placeholder":{opacity:1,color:u.placeholder}})}},MuiInput:{styleOverrides:{underline:{"&:before":{borderBottomColor:ci(e.palette.grey[500],.32)},"&:after":{borderBottomColor:u.focused}}}},MuiOutlinedInput:{styleOverrides:{root:(o={},o["&.".concat(Pd.focused)]=(i={},i["& .".concat(Pd.notchedOutline)]={borderColor:u.focused},i),o["&.".concat(Pd.error)]=(a={},a["& .".concat(Pd.notchedOutline)]={borderColor:e.palette.error.main},a),o["&.".concat(Pd.disabled)]=(s={},s["& .".concat(Pd.notchedOutline)]={borderColor:e.palette.action.disabledBackground},s),o),notchedOutline:{borderColor:ci(e.palette.grey[500],.2),transition:e.transitions.create(["border-color"],{duration:e.transitions.duration.shortest})}}},MuiFilledInput:{defaultProps:{disableUnderline:!0},styleOverrides:{root:(l={borderRadius:e.shape.borderRadius,backgroundColor:ci(e.palette.grey[500],.08),"&:hover":{backgroundColor:ci(e.palette.grey[500],.16)}},l["&.".concat(Ad.focused)]={backgroundColor:ci(e.palette.grey[500],.16)},l["&.".concat(Ad.error)]=(c={backgroundColor:ci(e.palette.error.main,.08)},c["&.".concat(Ad.focused)]={backgroundColor:ci(e.palette.error.main,.16)},c),l["&.".concat(Ad.disabled)]={backgroundColor:e.palette.action.disabledBackground},l)}}}}(e),function(e){var t,n,r;return{MuiAccordion:{styleOverrides:{root:(t={backgroundColor:"transparent"},t["&.".concat(dL.expanded)]={boxShadow:e.customShadows.z8,borderRadius:e.shape.borderRadius,backgroundColor:e.palette.background.paper},t["&.".concat(dL.disabled)]={backgroundColor:"transparent"},t)}},MuiAccordionSummary:{styleOverrides:{root:(n={paddingLeft:e.spacing(2),paddingRight:e.spacing(1)},n["&.".concat(pL.disabled)]=(r={opacity:1,color:e.palette.action.disabled},r["& .".concat(uh.root)]={color:"inherit"},r),n),expandIconWrapper:{color:"inherit"}}}}}(e),function(e){return{MuiTypography:{styleOverrides:{paragraph:{marginBottom:e.spacing(2)},gutterBottom:{marginBottom:e.spacing(1)}}}}}(e),hL(e),function(e){return{MuiFormControlLabel:{styleOverrides:{label:Lt({},e.typography.body2)}},MuiRadio:{defaultProps:{size:"small",icon:kt.jsx(gL,{}),checkedIcon:kt.jsx(vL,{})},styleOverrides:{root:{padding:e.spacing(1)}}}}}(e),bL(e),function(e){return{MuiBreadcrumbs:{styleOverrides:{separator:{marginLeft:e.spacing(2),marginRight:e.spacing(2)},li:{display:"inline-flex",margin:e.spacing(.25,0),"& > *":Lt({},e.typography.body2)}}}}}(e),{MuiCssBaseline:{styleOverrides:{"*":{boxSizing:"border-box"},html:{margin:0,padding:0,width:"100%",height:"100%",WebkitOverflowScrolling:"touch"},body:{margin:0,padding:0,width:"100%",height:"100%"},"#root, #__next":{width:"100%",height:"100%"},input:{"&[type=number]":{MozAppearance:"textfield","&::-webkit-outer-spin-button":{margin:0,WebkitAppearance:"none"},"&::-webkit-inner-spin-button":{margin:0,WebkitAppearance:"none"}}},img:{maxWidth:"100%",display:"inline-block",verticalAlign:"bottom"}}}},function(e){var t,n,r;return{MuiAutocomplete:{defaultProps:{popupIcon:kt.jsx((function(e){return kt.jsx(Ms,Lt({},e,{children:kt.jsx("path",{d:"M12,16 C11.7663478,16.0004565 11.5399121,15.9190812 11.36,15.77 L5.36,10.77 C4.93474074,10.4165378 4.87653776,9.78525926 5.23,9.36 C5.58346224,8.93474074 6.21474074,8.87653776 6.64,9.23 L12,13.71 L17.36,9.39 C17.5665934,9.2222295 17.8315409,9.14373108 18.0961825,9.17188444 C18.3608241,9.2000378 18.6033268,9.33252029 18.77,9.54 C18.9551341,9.74785947 19.0452548,10.0234772 19.0186853,10.3005589 C18.9921158,10.5776405 18.8512608,10.8311099 18.63,11 L12.63,15.83 C12.444916,15.955516 12.2231011,16.0153708 12,16 Z"})}))}),{})},styleOverrides:{root:(t={},t["& span.".concat(km.tag)]=Lt(Lt({},e.typography.subtitle2),{height:24,minWidth:24,lineHeight:"24px",textAlign:"center",padding:e.spacing(0,.75),color:e.palette.text.secondary,borderRadius:e.shape.borderRadius,backgroundColor:ci(e.palette.grey[500],.16)}),t),paper:Lt({},wy({theme:e,dropdown:!0})),listbox:(n={padding:0},n["& .".concat(km.option)]=Lt({},jy(e)),n),endAdornment:(r={},r["& .".concat(xs.root)]={width:18,height:18},r)}}}}(e),PL(e),function(e){var t;return Lt(Lt({MuiPickersLayout:{styleOverrides:{root:{"& .MuiPickersLayout-actionBar":(t={},t["& .".concat(Vj.root,":last-of-type")]={backgroundColor:e.palette.text.primary,color:"light"===e.palette.mode?e.palette.common.white:e.palette.grey[800]},t)}}}},zL),CL)}(e),{MuiLoadingButton:{styleOverrides:{root:{"&.MuiButton-text":{"& .MuiLoadingButton-startIconPendingStart":{marginLeft:0},"& .MuiLoadingButton-endIconPendingEnd":{marginRight:0}}}}}});return t}var EL=Mk("light"),BL=[Lt({name:"default"},EL.primary),{name:"cyan",lighter:"#CCF4FE",light:"#68CDF9",main:"#078DEE",dark:"#0351AB",darker:"#012972",contrastText:"#FFFFFF"},{name:"purple",lighter:"#EBD6FD",light:"#B985F4",main:"#7635dc",dark:"#431A9E",darker:"#200A69",contrastText:"#FFFFFF"},{name:"blue",lighter:"#D1E9FC",light:"#76B0F1",main:"#2065D1",dark:"#103996",darker:"#061B64",contrastText:"#FFFFFF"},{name:"orange",lighter:"#FEF4D4",light:"#FED680",main:"#fda92d",dark:"#B66816",darker:"#793908",contrastText:EL.grey[800]},{name:"red",lighter:"#FFE3D5",light:"#FFC1AC",main:"#FF3030",dark:"#B71833",darker:"#7A0930",contrastText:"#FFFFFF"}];function kL(e){var t=e.children,n=e.themeDirection;l((function(){document.dir=n}),[n]);var r=Mt({key:"rtl",prepend:!0,stylisPlugins:[jt,Ot]});return"rtl"===n?kt.jsx(De,{value:r,children:t}):kt.jsx(kt.Fragment,{children:t})}function LL(e){var t,n=e.children,r=e.themeColorPresets,o=e.themeContrast,i=e.themeDirection,a=e.themeMode,s=e.customColorPresets,l=function(e,t){return{palette:Mk(e,t),shadows:Pk(e),customShadows:Lk(e,t)}}(null!=a?a:"light",s),c=s?{palette:{presetsColor:t=s},customShadows:{primary:"0 8px 16px 0 ".concat(ci("".concat(null==t?void 0:t.main),.24))}}:function(e){var t=BL.find((function(t){return t.name===e}));return{palette:{primary:t},customShadows:{primary:"0 8px 16px 0 ".concat(ci("".concat(null==t?void 0:t.main),.24))}}}(null!=r?r:"default"),u=function(e,t,n){return{theme:Lt({},e&&"light"===t&&{palette:{background:{default:Mk(t,n).grey[100]}}}),components:Lt({},e&&{MuiCard:{styleOverrides:{root:{boxShadow:Lk(t,n).z4}}}})}}("bold"===o,null!=a?a:"light",s),d=function(e){return{direction:e}}(null!=i?i:"ltr"),p=m((function(){return{palette:Mk("light",s),shadows:Pk("light"),customShadows:Lk("light",s),typography:Bk,shape:{borderRadius:8}}}),[]),f=$i(m((function(){return pk(p,d,l,c,u.theme)}),[p,d,l,c,u.theme]));return f.components=pk(NL(f),u.components),kt.jsx(sa,{theme:f,children:kt.jsxs(kL,{themeDirection:null!=i?i:"ltr",children:[kt.jsx(gk,{}),n]})})}function IL(e){var t=p(Ig).resources,n=p(Vg),r=n.paths,o=n.root,i=n.home,a=p(Yg).themeLayout,s=p(Pg).dashbaordUrlPrefix,l=[];if(t)for(var c in l=[],t)if("modelParents"!==c&&"appConfigurations"!==c){var u=t[c],d=u.properties.path,f=u.properties.modelName,m={path:d,children:[{element:kt.jsx(ve,{to:r[c].list,replace:!0}),index:!0},{path:"list",element:kt.jsx(xb,{apiRoute:"".concat(s,"/").concat(d),path:c,modelName:f},"".concat(d,".list"))},{path:"new",element:kt.jsx(jC,{modelRoute:"".concat(d),path:c,isEdit:!1})},{path:":id/edit",element:kt.jsx(jC,{modelRoute:"".concat(d),path:c,isEdit:!0})},{path:":id/show",element:kt.jsx(Nb,{path:c,modelRoute:d},"".concat(c,".show"))}]};l.push(m)}return{path:o,children:[{path:"",element:t?kt.jsx(GT,{Logo:"mini"===a?e.MiniLogo:e.Logo,children:kt.jsx(Ae,{})}):kt.jsx(kt.Fragment,{}),children:Ht(Ht([],l,!0),[{path:"",element:t?kt.jsx(ve,{to:r[i].root}):kt.jsx(kt.Fragment,{})}],!1)}]}}export{Pg as ApiContext,Ng as ApiContextProvider,Yg as AppConfigurationsContext,Zg as AppConfigurationsContextProvider,Gg as CredentialsContext,Ug as CredentialsContextProvider,GT as DashboardLayout,Jg as DialogContext,_g as DialogContextProvider,CC as IdenityModelConfiguration,Dg as IdentityClient,jC as IdentityEdit,db as IdentityGrid,xb as IdentityList,Yt as IdentityPage,dD as IdentityPermissionPage,IL as IdentityRouter,Nb as IdentityShow,Pb as NextPreviousButtons,Qt as PageVariant,Vg as PathsContext,Fg as PathsContextProvider,zg as RequestState,Ig as ResourcesContext,Sg as ResourcesContextProvider,Db as ShowRecord,qg as SnackAlertContext,Kg as SnackAlertProvider,Tg as State,LL as ThemeProvider,Xg as path,Eg as useApi,ev as useAppConfigurations,nv as useCredentials,iv as useDialogs,Qg as useNavData,ov as usePaths,tv as useResources,rv as useSnackAlert};