@applica-software-guru/react-admin 1.0.76 → 1.0.77
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/dist/components/ra-inputs/LabeledInput.d.ts +39 -31
- package/dist/components/ra-inputs/LabeledInput.d.ts.map +1 -1
- package/dist/components/ra-lists/List.d.ts.map +1 -1
- package/dist/react-admin.cjs.js +2 -2
- package/dist/react-admin.cjs.js.map +1 -1
- package/dist/react-admin.es.js +39 -22
- package/dist/react-admin.es.js.map +1 -1
- package/dist/react-admin.umd.js +39 -39
- package/dist/react-admin.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/components/ra-inputs/{LabeledInput.jsx → LabeledInput.tsx} +25 -2
- package/src/components/ra-lists/List.tsx +37 -22
package/dist/react-admin.cjs.js
CHANGED
|
@@ -218,7 +218,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
218
218
|
`))}else if(!t||typeof t.getBoundingClientRect!="function"||t.contextElement!=null&&t.contextElement.nodeType!==1)return new Error(["MUI: The `container` prop provided to the component is invalid.","It should be an HTML element instance."].join(`
|
|
219
219
|
`))}return null}),direction:c.oneOf(["down","left","right","up"]),easing:c.oneOfType([c.shape({enter:c.string,exit:c.string}),c.string]),in:c.bool,onEnter:c.func,onEntered:c.func,onEntering:c.func,onExit:c.func,onExited:c.func,onExiting:c.func,style:c.object,timeout:c.oneOfType([c.number,c.shape({appear:c.number,enter:c.number,exit:c.number})])});const IM=s0,BM=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],yM={entering:{opacity:1},entered:{opacity:1}},a0=k.forwardRef(function(t,n){const r=ut(),i={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{addEndListener:a,appear:l=!0,children:u,easing:d,in:g,onEnter:p,onEntered:E,onEntering:h,onExit:m,onExited:I,onExiting:B,style:y,timeout:O=i,TransitionComponent:M=Ym}=t,w=We(t,BM),T=k.useRef(null),P=vr(T,u.ref,n),H=_=>q=>{if(_){const Y=T.current;q===void 0?_(Y):_(Y,q)}},F=H(h),K=H((_,q)=>{o0(_);const Y=il({style:y,timeout:O,easing:d},{mode:"enter"});_.style.webkitTransition=r.transitions.create("opacity",Y),_.style.transition=r.transitions.create("opacity",Y),p&&p(_,q)}),Z=H(E),G=H(B),ee=H(_=>{const q=il({style:y,timeout:O,easing:d},{mode:"exit"});_.style.webkitTransition=r.transitions.create("opacity",q),_.style.transition=r.transitions.create("opacity",q),m&&m(_)}),le=H(I),de=_=>{a&&a(T.current,_)};return f.jsx(M,U({appear:l,in:g,nodeRef:T,onEnter:K,onEntered:Z,onEntering:F,onExit:ee,onExited:le,onExiting:G,addEndListener:de,timeout:O},w,{children:(_,q)=>k.cloneElement(u,U({style:U({opacity:0,visibility:_==="exited"&&!g?"hidden":void 0},yM[_],y,u.props.style),ref:P},q))}))});process.env.NODE_ENV!=="production"&&(a0.propTypes={addEndListener:c.func,appear:c.bool,children:yl.isRequired,easing:c.oneOfType([c.shape({enter:c.string,exit:c.string}),c.string]),in:c.bool,onEnter:c.func,onEntered:c.func,onEntering:c.func,onExit:c.func,onExited:c.func,onExiting:c.func,style:c.object,timeout:c.oneOfType([c.number,c.shape({appear:c.number,enter:c.number,exit:c.number})])});const l0=a0;function vM(e){return wt("MuiBackdrop",e)}St("MuiBackdrop",["root","invisible"]);const bM=["children","className","component","components","componentsProps","invisible","open","slotProps","slots","TransitionComponent","transitionDuration"],QM=e=>{const{classes:t,invisible:n}=e;return jt({root:["root",n&&"invisible"]},vM,t)},xM=ce("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.invisible&&t.invisible]}})(({ownerState:e})=>U({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent"},e.invisible&&{backgroundColor:"transparent"})),c0=k.forwardRef(function(t,n){var r,i,a;const l=Rt({props:t,name:"MuiBackdrop"}),{children:u,className:d,component:g="div",components:p={},componentsProps:E={},invisible:h=!1,open:m,slotProps:I={},slots:B={},TransitionComponent:y=l0,transitionDuration:O}=l,M=We(l,bM),w=U({},l,{component:g,invisible:h}),T=QM(w),P=(r=I.root)!=null?r:E.root;return f.jsx(y,U({in:m,timeout:O},M,{children:f.jsx(xM,U({"aria-hidden":!0},P,{as:(i=(a=B.root)!=null?a:p.Root)!=null?i:g,className:ze(T.root,d,P==null?void 0:P.className),ownerState:U({},w,P==null?void 0:P.ownerState),classes:T,ref:n,children:u}))}))});process.env.NODE_ENV!=="production"&&(c0.propTypes={children:c.node,classes:c.object,className:c.string,component:c.elementType,components:c.shape({Root:c.elementType}),componentsProps:c.shape({root:c.object}),invisible:c.bool,open:c.bool.isRequired,slotProps:c.shape({root:c.object}),slots:c.shape({root:c.elementType}),sx:c.oneOfType([c.arrayOf(c.oneOfType([c.func,c.object,c.bool])),c.func,c.object]),TransitionComponent:c.elementType,transitionDuration:c.oneOfType([c.number,c.shape({appear:c.number,enter:c.number,exit:c.number})])});const u0=c0;function wM(e){return wt("MuiModal",e)}St("MuiModal",["root","hidden","backdrop"]);const TM=["BackdropComponent","BackdropProps","classes","className","closeAfterTransition","children","container","component","components","componentsProps","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","onBackdropClick","onClose","onTransitionEnter","onTransitionExited","open","slotProps","slots","theme"],PM=e=>{const{open:t,exited:n,classes:r}=e;return jt({root:["root",!t&&n&&"hidden"],backdrop:["backdrop"]},wM,r)},SM=ce("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.open&&n.exited&&t.hidden]}})(({theme:e,ownerState:t})=>U({position:"fixed",zIndex:(e.vars||e).zIndex.modal,right:0,bottom:0,top:0,left:0},!t.open&&t.exited&&{visibility:"hidden"})),RM=ce(u0,{name:"MuiModal",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})({zIndex:-1}),A0=k.forwardRef(function(t,n){var r,i,a,l,u,d;const g=Rt({name:"MuiModal",props:t}),{BackdropComponent:p=RM,BackdropProps:E,className:h,closeAfterTransition:m=!1,children:I,container:B,component:y,components:O={},componentsProps:M={},disableAutoFocus:w=!1,disableEnforceFocus:T=!1,disableEscapeKeyDown:P=!1,disablePortal:H=!1,disableRestoreFocus:F=!1,disableScrollLock:K=!1,hideBackdrop:Z=!1,keepMounted:G=!1,onBackdropClick:ee,open:le,slotProps:de,slots:_}=g,q=We(g,TM),Y=U({},g,{closeAfterTransition:m,disableAutoFocus:w,disableEnforceFocus:T,disableEscapeKeyDown:P,disablePortal:H,disableRestoreFocus:F,disableScrollLock:K,hideBackdrop:Z,keepMounted:G}),{getRootProps:X,getBackdropProps:z,getTransitionProps:ne,portalRef:W,isTopModal:N,exited:ae,hasTransition:fe}=PR(U({},Y,{rootRef:n})),ue=U({},Y,{exited:ae}),ge=PM(ue),pe={};if(I.props.tabIndex===void 0&&(pe.tabIndex="-1"),fe){const{onEnter:Fe,onExited:$}=ne();pe.onEnter=Fe,pe.onExited=$}const Ie=(r=(i=_==null?void 0:_.root)!=null?i:O.Root)!=null?r:SM,Be=(a=(l=_==null?void 0:_.backdrop)!=null?l:O.Backdrop)!=null?a:p,Ce=(u=de==null?void 0:de.root)!=null?u:M.root,Ae=(d=de==null?void 0:de.backdrop)!=null?d:M.backdrop,ye=CA({elementType:Ie,externalSlotProps:Ce,externalForwardedProps:q,getSlotProps:X,additionalProps:{ref:n,as:y},ownerState:ue,className:ze(h,Ce==null?void 0:Ce.className,ge==null?void 0:ge.root,!ue.open&&ue.exited&&(ge==null?void 0:ge.hidden))}),ie=CA({elementType:Be,externalSlotProps:Ae,additionalProps:E,getSlotProps:Fe=>z(U({},Fe,{onClick:$=>{ee&&ee($),Fe!=null&&Fe.onClick&&Fe.onClick($)}})),className:ze(Ae==null?void 0:Ae.className,E==null?void 0:E.className,ge==null?void 0:ge.backdrop),ownerState:ue});return!G&&!le&&(!fe||ae)?null:f.jsx(rl,{ref:W,container:B,disablePortal:H,children:f.jsxs(Ie,U({},ye,{children:[!Z&&p?f.jsx(Be,U({},ie)):null,f.jsx(nl,{disableEnforceFocus:T,disableAutoFocus:w,disableRestoreFocus:F,isEnabled:N,open:le,children:k.cloneElement(I,pe)})]}))})});process.env.NODE_ENV!=="production"&&(A0.propTypes={BackdropComponent:c.elementType,BackdropProps:c.object,children:yl.isRequired,classes:c.object,className:c.string,closeAfterTransition:c.bool,component:c.elementType,components:c.shape({Backdrop:c.elementType,Root:c.elementType}),componentsProps:c.shape({backdrop:c.oneOfType([c.func,c.object]),root:c.oneOfType([c.func,c.object])}),container:c.oneOfType([KA,c.func]),disableAutoFocus:c.bool,disableEnforceFocus:c.bool,disableEscapeKeyDown:c.bool,disablePortal:c.bool,disableRestoreFocus:c.bool,disableScrollLock:c.bool,hideBackdrop:c.bool,keepMounted:c.bool,onBackdropClick:c.func,onClose:c.func,onTransitionEnter:c.func,onTransitionExited:c.func,open:c.bool.isRequired,slotProps:c.shape({backdrop:c.oneOfType([c.func,c.object]),root:c.oneOfType([c.func,c.object])}),slots:c.shape({backdrop:c.elementType,root:c.elementType}),sx:c.oneOfType([c.arrayOf(c.oneOfType([c.func,c.object,c.bool])),c.func,c.object])});const d0=A0;function OM(e){return wt("MuiPaper",e)}St("MuiPaper",["root","rounded","outlined","elevation","elevation0","elevation1","elevation2","elevation3","elevation4","elevation5","elevation6","elevation7","elevation8","elevation9","elevation10","elevation11","elevation12","elevation13","elevation14","elevation15","elevation16","elevation17","elevation18","elevation19","elevation20","elevation21","elevation22","elevation23","elevation24"]);const DM=["className","component","elevation","square","variant"],MM=e=>{const{square:t,elevation:n,variant:r,classes:i}=e,a={root:["root",r,!t&&"rounded",r==="elevation"&&`elevation${n}`]};return jt(a,OM,i)},jM=ce("div",{name:"MuiPaper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],!n.square&&t.rounded,n.variant==="elevation"&&t[`elevation${n.elevation}`]]}})(({theme:e,ownerState:t})=>{var n;return U({backgroundColor:(e.vars||e).palette.background.paper,color:(e.vars||e).palette.text.primary,transition:e.transitions.create("box-shadow")},!t.square&&{borderRadius:e.shape.borderRadius},t.variant==="outlined"&&{border:`1px solid ${(e.vars||e).palette.divider}`},t.variant==="elevation"&&U({boxShadow:(e.vars||e).shadows[t.elevation]},!e.vars&&e.palette.mode==="dark"&&{backgroundImage:`linear-gradient(${Ve("#fff",qh(t.elevation))}, ${Ve("#fff",qh(t.elevation))})`},e.vars&&{backgroundImage:(n=e.vars.overlays)==null?void 0:n[t.elevation]}))}),g0=k.forwardRef(function(t,n){const r=Rt({props:t,name:"MuiPaper"}),{className:i,component:a="div",elevation:l=1,square:u=!1,variant:d="elevation"}=r,g=We(r,DM),p=U({},r,{component:a,elevation:l,square:u,variant:d}),E=MM(p);return process.env.NODE_ENV!=="production"&&ut().shadows[l]===void 0&&console.error([`MUI: The elevation provided <Paper elevation={${l}}> is not available in the theme.`,`Please make sure that \`theme.shadows[${l}]\` is defined.`].join(`
|
|
220
220
|
`)),f.jsx(jM,U({as:a,ownerState:p,className:ze(E.root,i),ref:n},g))});process.env.NODE_ENV!=="production"&&(g0.propTypes={children:c.node,classes:c.object,className:c.string,component:c.elementType,elevation:$r(rs,e=>{const{elevation:t,variant:n}=e;return t>0&&n==="outlined"?new Error(`MUI: Combining \`elevation={${t}}\` with \`variant="${n}"\` has no effect. Either use \`elevation={0}\` or use a different \`variant\`.`):null}),square:c.bool,sx:c.oneOfType([c.arrayOf(c.oneOfType([c.func,c.object,c.bool])),c.func,c.object]),variant:c.oneOfType([c.oneOf(["elevation","outlined"]),c.string])});const Ul=g0;function kM(e){return wt("MuiDialog",e)}const FM=St("MuiDialog",["root","scrollPaper","scrollBody","container","paper","paperScrollPaper","paperScrollBody","paperWidthFalse","paperWidthXs","paperWidthSm","paperWidthMd","paperWidthLg","paperWidthXl","paperFullWidth","paperFullScreen"]),Lu=FM,f0=k.createContext({});process.env.NODE_ENV!=="production"&&(f0.displayName="DialogContext");const p0=f0,LM=["aria-describedby","aria-labelledby","BackdropComponent","BackdropProps","children","className","disableEscapeKeyDown","fullScreen","fullWidth","maxWidth","onBackdropClick","onClose","open","PaperComponent","PaperProps","scroll","TransitionComponent","transitionDuration","TransitionProps"],NM=ce(u0,{name:"MuiDialog",slot:"Backdrop",overrides:(e,t)=>t.backdrop})({zIndex:-1}),VM=e=>{const{classes:t,scroll:n,maxWidth:r,fullWidth:i,fullScreen:a}=e,l={root:["root"],container:["container",`scroll${be(n)}`],paper:["paper",`paperScroll${be(n)}`,`paperWidth${be(String(r))}`,i&&"paperFullWidth",a&&"paperFullScreen"]};return jt(l,kM,t)},HM=ce(d0,{name:"MuiDialog",slot:"Root",overridesResolver:(e,t)=>t.root})({"@media print":{position:"absolute !important"}}),zM=ce("div",{name:"MuiDialog",slot:"Container",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.container,t[`scroll${be(n.scroll)}`]]}})(({ownerState:e})=>U({height:"100%","@media print":{height:"auto"},outline:0},e.scroll==="paper"&&{display:"flex",justifyContent:"center",alignItems:"center"},e.scroll==="body"&&{overflowY:"auto",overflowX:"hidden",textAlign:"center","&:after":{content:'""',display:"inline-block",verticalAlign:"middle",height:"100%",width:"0"}})),WM=ce(Ul,{name:"MuiDialog",slot:"Paper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.paper,t[`scrollPaper${be(n.scroll)}`],t[`paperWidth${be(String(n.maxWidth))}`],n.fullWidth&&t.paperFullWidth,n.fullScreen&&t.paperFullScreen]}})(({theme:e,ownerState:t})=>U({margin:32,position:"relative",overflowY:"auto","@media print":{overflowY:"visible",boxShadow:"none"}},t.scroll==="paper"&&{display:"flex",flexDirection:"column",maxHeight:"calc(100% - 64px)"},t.scroll==="body"&&{display:"inline-block",verticalAlign:"middle",textAlign:"left"},!t.maxWidth&&{maxWidth:"calc(100% - 64px)"},t.maxWidth==="xs"&&{maxWidth:e.breakpoints.unit==="px"?Math.max(e.breakpoints.values.xs,444):`max(${e.breakpoints.values.xs}${e.breakpoints.unit}, 444px)`,[`&.${Lu.paperScrollBody}`]:{[e.breakpoints.down(Math.max(e.breakpoints.values.xs,444)+32*2)]:{maxWidth:"calc(100% - 64px)"}}},t.maxWidth&&t.maxWidth!=="xs"&&{maxWidth:`${e.breakpoints.values[t.maxWidth]}${e.breakpoints.unit}`,[`&.${Lu.paperScrollBody}`]:{[e.breakpoints.down(e.breakpoints.values[t.maxWidth]+32*2)]:{maxWidth:"calc(100% - 64px)"}}},t.fullWidth&&{width:"calc(100% - 64px)"},t.fullScreen&&{margin:0,width:"100%",maxWidth:"100%",height:"100%",maxHeight:"none",borderRadius:0,[`&.${Lu.paperScrollBody}`]:{margin:0,maxWidth:"100%"}})),h0=k.forwardRef(function(t,n){const r=Rt({props:t,name:"MuiDialog"}),i=ut(),a={enter:i.transitions.duration.enteringScreen,exit:i.transitions.duration.leavingScreen},{"aria-describedby":l,"aria-labelledby":u,BackdropComponent:d,BackdropProps:g,children:p,className:E,disableEscapeKeyDown:h=!1,fullScreen:m=!1,fullWidth:I=!1,maxWidth:B="sm",onBackdropClick:y,onClose:O,open:M,PaperComponent:w=Ul,PaperProps:T={},scroll:P="paper",TransitionComponent:H=l0,transitionDuration:F=a,TransitionProps:K}=r,Z=We(r,LM),G=U({},r,{disableEscapeKeyDown:h,fullScreen:m,fullWidth:I,maxWidth:B,scroll:P}),ee=VM(G),le=k.useRef(),de=X=>{le.current=X.target===X.currentTarget},_=X=>{le.current&&(le.current=null,y&&y(X),O&&O(X,"backdropClick"))},q=_A(u),Y=k.useMemo(()=>({titleId:q}),[q]);return f.jsx(HM,U({className:ze(ee.root,E),closeAfterTransition:!0,components:{Backdrop:NM},componentsProps:{backdrop:U({transitionDuration:F,as:d},g)},disableEscapeKeyDown:h,onClose:O,open:M,ref:n,onClick:_,ownerState:G},Z,{children:f.jsx(H,U({appear:!0,in:M,timeout:F,role:"presentation"},K,{children:f.jsx(zM,{className:ze(ee.container),onMouseDown:de,ownerState:G,children:f.jsx(WM,U({as:w,elevation:24,role:"dialog","aria-describedby":l,"aria-labelledby":q},T,{className:ze(ee.paper,T.className),ownerState:G,children:f.jsx(p0.Provider,{value:Y,children:p})}))})}))}))});process.env.NODE_ENV!=="production"&&(h0.propTypes={"aria-describedby":c.string,"aria-labelledby":c.string,BackdropComponent:c.elementType,BackdropProps:c.object,children:c.node,classes:c.object,className:c.string,disableEscapeKeyDown:c.bool,fullScreen:c.bool,fullWidth:c.bool,maxWidth:c.oneOfType([c.oneOf(["xs","sm","md","lg","xl",!1]),c.string]),onBackdropClick:c.func,onClose:c.func,open:c.bool.isRequired,PaperComponent:c.elementType,PaperProps:c.object,scroll:c.oneOf(["body","paper"]),sx:c.oneOfType([c.arrayOf(c.oneOfType([c.func,c.object,c.bool])),c.func,c.object]),TransitionComponent:c.elementType,transitionDuration:c.oneOfType([c.number,c.shape({appear:c.number,enter:c.number,exit:c.number})]),TransitionProps:c.object});const UM=h0;function YM(e){return wt("MuiDialogActions",e)}St("MuiDialogActions",["root","spacing"]);const GM=["className","disableSpacing"],KM=e=>{const{classes:t,disableSpacing:n}=e;return jt({root:["root",!n&&"spacing"]},YM,t)},_M=ce("div",{name:"MuiDialogActions",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disableSpacing&&t.spacing]}})(({ownerState:e})=>U({display:"flex",alignItems:"center",padding:8,justifyContent:"flex-end",flex:"0 0 auto"},!e.disableSpacing&&{"& > :not(style) ~ :not(style)":{marginLeft:8}})),C0=k.forwardRef(function(t,n){const r=Rt({props:t,name:"MuiDialogActions"}),{className:i,disableSpacing:a=!1}=r,l=We(r,GM),u=U({},r,{disableSpacing:a}),d=KM(u);return f.jsx(_M,U({className:ze(d.root,i),ownerState:u,ref:n},l))});process.env.NODE_ENV!=="production"&&(C0.propTypes={children:c.node,classes:c.object,className:c.string,disableSpacing:c.bool,sx:c.oneOfType([c.arrayOf(c.oneOfType([c.func,c.object,c.bool])),c.func,c.object])});const qM=C0;function JM(e){return wt("MuiDialogContent",e)}St("MuiDialogContent",["root","dividers"]);function XM(e){return wt("MuiDialogTitle",e)}const ZM=St("MuiDialogTitle",["root"]),$M=ZM,e8=["className","dividers"],t8=e=>{const{classes:t,dividers:n}=e;return jt({root:["root",n&&"dividers"]},JM,t)},n8=ce("div",{name:"MuiDialogContent",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.dividers&&t.dividers]}})(({theme:e,ownerState:t})=>U({flex:"1 1 auto",WebkitOverflowScrolling:"touch",overflowY:"auto",padding:"20px 24px"},t.dividers?{padding:"16px 24px",borderTop:`1px solid ${(e.vars||e).palette.divider}`,borderBottom:`1px solid ${(e.vars||e).palette.divider}`}:{[`.${$M.root} + &`]:{paddingTop:0}})),E0=k.forwardRef(function(t,n){const r=Rt({props:t,name:"MuiDialogContent"}),{className:i,dividers:a=!1}=r,l=We(r,e8),u=U({},r,{dividers:a}),d=t8(u);return f.jsx(n8,U({className:ze(d.root,i),ownerState:u,ref:n},l))});process.env.NODE_ENV!=="production"&&(E0.propTypes={children:c.node,classes:c.object,className:c.string,dividers:c.bool,sx:c.oneOfType([c.arrayOf(c.oneOfType([c.func,c.object,c.bool])),c.func,c.object])});const r8=E0;function o8(e){return wt("MuiDialogContentText",e)}St("MuiDialogContentText",["root"]);const i8=["children","className"],s8=e=>{const{classes:t}=e,r=jt({root:["root"]},o8,t);return U({},t,r)},a8=ce(dd,{shouldForwardProp:e=>jl(e)||e==="classes",name:"MuiDialogContentText",slot:"Root",overridesResolver:(e,t)=>t.root})({}),m0=k.forwardRef(function(t,n){const r=Rt({props:t,name:"MuiDialogContentText"}),{className:i}=r,a=We(r,i8),l=s8(a);return f.jsx(a8,U({component:"p",variant:"body1",color:"text.secondary",ref:n,ownerState:a,className:ze(l.root,i)},r,{classes:l}))});process.env.NODE_ENV!=="production"&&(m0.propTypes={children:c.node,classes:c.object,className:c.string,sx:c.oneOfType([c.arrayOf(c.oneOfType([c.func,c.object,c.bool])),c.func,c.object])});const l8=m0,c8=["className","id"],u8=e=>{const{classes:t}=e;return jt({root:["root"]},XM,t)},A8=ce(dd,{name:"MuiDialogTitle",slot:"Root",overridesResolver:(e,t)=>t.root})({padding:"16px 24px",flex:"0 0 auto"}),I0=k.forwardRef(function(t,n){const r=Rt({props:t,name:"MuiDialogTitle"}),{className:i,id:a}=r,l=We(r,c8),u=r,d=u8(u),{titleId:g=a}=k.useContext(p0);return f.jsx(A8,U({component:"h2",className:ze(d.root,i),ownerState:u,ref:n,variant:"h6",id:a??g},l))});process.env.NODE_ENV!=="production"&&(I0.propTypes={children:c.node,classes:c.object,className:c.string,id:c.string,sx:c.oneOfType([c.arrayOf(c.oneOfType([c.func,c.object,c.bool])),c.func,c.object])});const d8=I0;function g8(e){return wt("MuiButton",e)}const f8=St("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","iconSizeSmall","iconSizeMedium","iconSizeLarge"]),wa=f8,B0=k.createContext({});process.env.NODE_ENV!=="production"&&(B0.displayName="ButtonGroupContext");const p8=B0,y0=k.createContext(void 0);process.env.NODE_ENV!=="production"&&(y0.displayName="ButtonGroupButtonContext");const h8=y0,C8=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],E8=e=>{const{color:t,disableElevation:n,fullWidth:r,size:i,variant:a,classes:l}=e,u={root:["root",a,`${a}${be(t)}`,`size${be(i)}`,`${a}Size${be(i)}`,t==="inherit"&&"colorInherit",n&&"disableElevation",r&&"fullWidth"],label:["label"],startIcon:["startIcon",`iconSize${be(i)}`],endIcon:["endIcon",`iconSize${be(i)}`]},d=jt(u,g8,l);return U({},l,d)},v0=e=>U({},e.size==="small"&&{"& > *:nth-of-type(1)":{fontSize:18}},e.size==="medium"&&{"& > *:nth-of-type(1)":{fontSize:20}},e.size==="large"&&{"& > *:nth-of-type(1)":{fontSize:22}}),m8=ce(Cd,{shouldForwardProp:e=>jl(e)||e==="classes",name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`${n.variant}${be(n.color)}`],t[`size${be(n.size)}`],t[`${n.variant}Size${be(n.size)}`],n.color==="inherit"&&t.colorInherit,n.disableElevation&&t.disableElevation,n.fullWidth&&t.fullWidth]}})(({theme:e,ownerState:t})=>{var n,r;const i=e.palette.mode==="light"?e.palette.grey[300]:e.palette.grey[800],a=e.palette.mode==="light"?e.palette.grey.A100:e.palette.grey[700];return U({},e.typography.button,{minWidth:64,padding:"6px 16px",borderRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create(["background-color","box-shadow","border-color","color"],{duration:e.transitions.duration.short}),"&:hover":U({textDecoration:"none",backgroundColor:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:Ve(e.palette.text.primary,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},t.variant==="text"&&t.color!=="inherit"&&{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Ve(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},t.variant==="outlined"&&t.color!=="inherit"&&{border:`1px solid ${(e.vars||e).palette[t.color].main}`,backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Ve(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},t.variant==="contained"&&{backgroundColor:e.vars?e.vars.palette.Button.inheritContainedHoverBg:a,boxShadow:(e.vars||e).shadows[4],"@media (hover: none)":{boxShadow:(e.vars||e).shadows[2],backgroundColor:(e.vars||e).palette.grey[300]}},t.variant==="contained"&&t.color!=="inherit"&&{backgroundColor:(e.vars||e).palette[t.color].dark,"@media (hover: none)":{backgroundColor:(e.vars||e).palette[t.color].main}}),"&:active":U({},t.variant==="contained"&&{boxShadow:(e.vars||e).shadows[8]}),[`&.${wa.focusVisible}`]:U({},t.variant==="contained"&&{boxShadow:(e.vars||e).shadows[6]}),[`&.${wa.disabled}`]:U({color:(e.vars||e).palette.action.disabled},t.variant==="outlined"&&{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`},t.variant==="contained"&&{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground})},t.variant==="text"&&{padding:"6px 8px"},t.variant==="text"&&t.color!=="inherit"&&{color:(e.vars||e).palette[t.color].main},t.variant==="outlined"&&{padding:"5px 15px",border:"1px solid currentColor"},t.variant==="outlined"&&t.color!=="inherit"&&{color:(e.vars||e).palette[t.color].main,border:e.vars?`1px solid rgba(${e.vars.palette[t.color].mainChannel} / 0.5)`:`1px solid ${Ve(e.palette[t.color].main,.5)}`},t.variant==="contained"&&{color:e.vars?e.vars.palette.text.primary:(n=(r=e.palette).getContrastText)==null?void 0:n.call(r,e.palette.grey[300]),backgroundColor:e.vars?e.vars.palette.Button.inheritContainedBg:i,boxShadow:(e.vars||e).shadows[2]},t.variant==="contained"&&t.color!=="inherit"&&{color:(e.vars||e).palette[t.color].contrastText,backgroundColor:(e.vars||e).palette[t.color].main},t.color==="inherit"&&{color:"inherit",borderColor:"currentColor"},t.size==="small"&&t.variant==="text"&&{padding:"4px 5px",fontSize:e.typography.pxToRem(13)},t.size==="large"&&t.variant==="text"&&{padding:"8px 11px",fontSize:e.typography.pxToRem(15)},t.size==="small"&&t.variant==="outlined"&&{padding:"3px 9px",fontSize:e.typography.pxToRem(13)},t.size==="large"&&t.variant==="outlined"&&{padding:"7px 21px",fontSize:e.typography.pxToRem(15)},t.size==="small"&&t.variant==="contained"&&{padding:"4px 10px",fontSize:e.typography.pxToRem(13)},t.size==="large"&&t.variant==="contained"&&{padding:"8px 22px",fontSize:e.typography.pxToRem(15)},t.fullWidth&&{width:"100%"})},({ownerState:e})=>e.disableElevation&&{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${wa.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${wa.disabled}`]:{boxShadow:"none"}}),I8=ce("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.startIcon,t[`iconSize${be(n.size)}`]]}})(({ownerState:e})=>U({display:"inherit",marginRight:8,marginLeft:-4},e.size==="small"&&{marginLeft:-2},v0(e))),B8=ce("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.endIcon,t[`iconSize${be(n.size)}`]]}})(({ownerState:e})=>U({display:"inherit",marginRight:-4,marginLeft:8},e.size==="small"&&{marginRight:-2},v0(e))),b0=k.forwardRef(function(t,n){const r=k.useContext(p8),i=k.useContext(h8),a=qA(r,t),l=Rt({props:a,name:"MuiButton"}),{children:u,color:d="primary",component:g="button",className:p,disabled:E=!1,disableElevation:h=!1,disableFocusRipple:m=!1,endIcon:I,focusVisibleClassName:B,fullWidth:y=!1,size:O="medium",startIcon:M,type:w,variant:T="text"}=l,P=We(l,C8),H=U({},l,{color:d,component:g,disabled:E,disableElevation:h,disableFocusRipple:m,fullWidth:y,size:O,type:w,variant:T}),F=E8(H),K=M&&f.jsx(I8,{className:F.startIcon,ownerState:H,children:M}),Z=I&&f.jsx(B8,{className:F.endIcon,ownerState:H,children:I}),G=i||"";return f.jsxs(m8,U({ownerState:H,className:ze(r.className,F.root,p,G),component:g,disabled:E,focusRipple:!m,focusVisibleClassName:ze(F.focusVisible,B),ref:n,type:w},P,{classes:F,children:[K,u,Z]}))});process.env.NODE_ENV!=="production"&&(b0.propTypes={children:c.node,classes:c.object,className:c.string,color:c.oneOfType([c.oneOf(["inherit","primary","secondary","success","error","info","warning"]),c.string]),component:c.elementType,disabled:c.bool,disableElevation:c.bool,disableFocusRipple:c.bool,disableRipple:c.bool,endIcon:c.node,focusVisibleClassName:c.string,fullWidth:c.bool,href:c.string,size:c.oneOfType([c.oneOf(["small","medium","large"]),c.string]),startIcon:c.node,sx:c.oneOfType([c.arrayOf(c.oneOfType([c.func,c.object,c.bool])),c.func,c.object]),type:c.oneOfType([c.oneOf(["button","reset","submit"]),c.string]),variant:c.oneOfType([c.oneOf(["contained","outlined","text"]),c.string])});const BA=b0;var yd={},y8=to;Object.defineProperty(yd,"__esModule",{value:!0});var Q0=yd.default=void 0,v8=y8(no()),b8=f,Q8=(0,v8.default)((0,b8.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"}),"CheckCircle");Q0=yd.default=Q8;var vd={},x8=to;Object.defineProperty(vd,"__esModule",{value:!0});var x0=vd.default=void 0,w8=x8(no()),T8=f,P8=(0,w8.default)((0,T8.jsx)("path",{d:"M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"ErrorOutline");x0=vd.default=P8;var as=globalThis&&globalThis.__assign||function(){return as=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},as.apply(this,arguments)},S8=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n},w0=function(e){var t,n=e.className,r=e.isOpen,i=r===void 0?!1:r,a=e.loading,l=e.title,u=e.content,d=e.cancel,g=d===void 0?"ra.action.cancel":d,p=e.confirm,E=p===void 0?"ra.action.confirm":p,h=e.confirmColor,m=h===void 0?"primary":h,I=e.ConfirmIcon,B=I===void 0?Q0:I,y=e.CancelIcon,O=y===void 0?x0:y,M=e.onClose,w=e.onConfirm,T=e.translateOptions,P=T===void 0?{}:T,H=S8(e,["className","isOpen","loading","title","content","cancel","confirm","confirmColor","ConfirmIcon","CancelIcon","onClose","onConfirm","translateOptions"]),F=Qe.useTranslate(),K=S.useCallback(function(G){G.stopPropagation(),w(G)},[w]),Z=S.useCallback(function(G){G.stopPropagation()},[]);return k.createElement(R8,as({className:n,open:i,onClose:M,onClick:Z,"aria-labelledby":"alert-dialog-title"},H),k.createElement(d8,{id:"alert-dialog-title"},typeof l=="string"?F(l,as({_:l},P)):l),k.createElement(r8,null,typeof u=="string"?k.createElement(l8,null,F(u,as({_:u},P))):u),k.createElement(qM,null,k.createElement(BA,{disabled:a,onClick:M,startIcon:k.createElement(O,null)},F(g,{_:g})),k.createElement(BA,{disabled:a,onClick:K,className:gi("ra-confirm",(t={},t[sl.confirmWarning]=m==="warning",t[sl.confirmPrimary]=m==="primary",t)),autoFocus:!0,startIcon:k.createElement(B,null)},F(E,{_:E}))))};w0.propTypes={cancel:c.string,className:c.string,confirm:c.string,confirmColor:c.string,ConfirmIcon:c.elementType,CancelIcon:c.elementType,content:c.node.isRequired,isOpen:c.bool,loading:c.bool,onClose:c.func.isRequired,onConfirm:c.func.isRequired,title:c.node.isRequired,sx:c.any};var yA="RaConfirm",sl={confirmPrimary:"".concat(yA,"-confirmPrimary"),confirmWarning:"".concat(yA,"-confirmWarning")},R8=ce(UM,{name:yA,overridesResolver:function(e,t){return t.root}})(function(e){var t,n=e.theme;return t={},t["& .".concat(sl.confirmPrimary)]={color:n.palette.primary.main},t["& .".concat(sl.confirmWarning)]={color:n.palette.error.main,"&:hover":{backgroundColor:Ve(n.palette.error.main,.12),"@media (hover: none)":{backgroundColor:"transparent"}}},t}),O8=e0,D8=lM,M8="[object Symbol]";function j8(e){return typeof e=="symbol"||D8(e)&&O8(e)==M8}var bd=j8,k8=Bd,F8=bd,L8=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,N8=/^\w*$/;function V8(e,t){if(k8(e))return!1;var n=typeof e;return n=="number"||n=="symbol"||n=="boolean"||e==null||F8(e)?!0:N8.test(e)||!L8.test(e)||t!=null&&e in Object(t)}var H8=V8,T0=iM,z8="Expected a function";function Qd(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(z8);var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],a=n.cache;if(a.has(i))return a.get(i);var l=e.apply(this,r);return n.cache=a.set(i,l)||a,l};return n.cache=new(Qd.Cache||T0),n}Qd.Cache=T0;var W8=Qd,U8=W8,Y8=500;function G8(e){var t=U8(e,function(r){return n.size===Y8&&n.clear(),r}),n=t.cache;return t}var K8=G8,_8=K8,q8=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,J8=/\\(\\)?/g,X8=_8(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(q8,function(n,r,i,a){t.push(i?a.replace(J8,"$1"):r||n)}),t}),Z8=X8;function $8(e,t){for(var n=-1,r=e==null?0:e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i}var e5=$8,BC=Id,t5=e5,n5=Bd,r5=bd,o5=1/0,yC=BC?BC.prototype:void 0,vC=yC?yC.toString:void 0;function P0(e){if(typeof e=="string")return e;if(n5(e))return t5(e,P0)+"";if(r5(e))return vC?vC.call(e):"";var t=e+"";return t=="0"&&1/e==-o5?"-0":t}var i5=P0,s5=i5;function a5(e){return e==null?"":s5(e)}var l5=a5,c5=Bd,u5=H8,A5=Z8,d5=l5;function g5(e,t){return c5(e)?e:u5(e,t)?[e]:A5(d5(e))}var f5=g5,p5=bd,h5=1/0;function C5(e){if(typeof e=="string"||p5(e))return e;var t=e+"";return t=="0"&&1/e==-h5?"-0":t}var E5=C5,m5=f5,I5=E5;function B5(e,t){t=m5(t,e);for(var n=0,r=t.length;e!=null&&n<r;)e=e[I5(t[n++])];return n&&n==r?e:void 0}var y5=B5,v5=y5;function b5(e,t,n){var r=e==null?void 0:v5(e,t);return r===void 0?n:r}var Q5=b5;const x5=Ii(Q5);var vA=globalThis&&globalThis.__assign||function(){return vA=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},vA.apply(this,arguments)},w5=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n},ms=function(e){var t=e.label,n=e.onClick,r=w5(e,["label","onClick"]),i=Qe.useTranslate(),a=k.useState(!1),l=a[0],u=a[1],d=function(){u(!1)},g=function(){u(!0)},p=i(t,{_:t}),E=function(h){d(),n(h)};return k.createElement(Q.Tooltip,{title:p,open:l,onOpen:g,onClose:d},k.createElement(Q.IconButton,vA({"aria-label":p,onClick:E},r)))};function T5(e){return wt("MuiIconButton",e)}const P5=St("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"]),S5=P5,R5=["edge","children","className","color","disabled","disableFocusRipple","size"],O5=e=>{const{classes:t,disabled:n,color:r,edge:i,size:a}=e,l={root:["root",n&&"disabled",r!=="default"&&`color${be(r)}`,i&&`edge${be(i)}`,`size${be(a)}`]};return jt(l,T5,t)},D5=ce(Cd,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color!=="default"&&t[`color${be(n.color)}`],n.edge&&t[`edge${be(n.edge)}`],t[`size${be(n.size)}`]]}})(({theme:e,ownerState:t})=>U({textAlign:"center",flex:"0 0 auto",fontSize:e.typography.pxToRem(24),padding:8,borderRadius:"50%",overflow:"visible",color:(e.vars||e).palette.action.active,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest})},!t.disableRipple&&{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:Ve(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},t.edge==="start"&&{marginLeft:t.size==="small"?-3:-12},t.edge==="end"&&{marginRight:t.size==="small"?-3:-12}),({theme:e,ownerState:t})=>{var n;const r=(n=(e.vars||e).palette)==null?void 0:n[t.color];return U({},t.color==="inherit"&&{color:"inherit"},t.color!=="inherit"&&t.color!=="default"&&U({color:r==null?void 0:r.main},!t.disableRipple&&{"&:hover":U({},r&&{backgroundColor:e.vars?`rgba(${r.mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Ve(r.main,e.palette.action.hoverOpacity)},{"@media (hover: none)":{backgroundColor:"transparent"}})}),t.size==="small"&&{padding:5,fontSize:e.typography.pxToRem(18)},t.size==="large"&&{padding:12,fontSize:e.typography.pxToRem(28)},{[`&.${S5.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled}})}),S0=k.forwardRef(function(t,n){const r=Rt({props:t,name:"MuiIconButton"}),{edge:i=!1,children:a,className:l,color:u="default",disabled:d=!1,disableFocusRipple:g=!1,size:p="medium"}=r,E=We(r,R5),h=U({},r,{edge:i,color:u,disabled:d,disableFocusRipple:g,size:p}),m=O5(h);return f.jsx(D5,U({className:ze(m.root,l),centerRipple:!0,focusRipple:!g,disabled:d,ref:n,ownerState:h},E,{children:a}))});process.env.NODE_ENV!=="production"&&(S0.propTypes={children:$r(c.node,e=>k.Children.toArray(e.children).some(n=>k.isValidElement(n)&&n.props.onClick)?new Error(["MUI: You are providing an onClick event listener to a child of a button element.","Prefer applying it to the IconButton directly.","This guarantees that the whole <button> will be responsive to click events."].join(`
|
|
221
|
-
`)):null),classes:c.object,className:c.string,color:c.oneOfType([c.oneOf(["inherit","default","primary","secondary","error","info","success","warning"]),c.string]),disabled:c.bool,disableFocusRipple:c.bool,disableRipple:c.bool,edge:c.oneOf(["end","start",!1]),size:c.oneOfType([c.oneOf(["small","medium","large"]),c.string]),sx:c.oneOfType([c.arrayOf(c.oneOfType([c.func,c.object,c.bool])),c.func,c.object])});const M5=S0;var xd={},j5=to;Object.defineProperty(xd,"__esModule",{value:!0});var R0=xd.default=void 0,k5=j5(no()),F5=f,L5=(0,k5.default)((0,F5.jsx)("path",{d:"M17 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V7l-4-4zm-5 16c-1.66 0-3-1.34-3-3s1.34-3 3-3 3 1.34 3 3-1.34 3-3 3zm3-10H5V5h10v4z"}),"Save");R0=xd.default=L5;var ls=globalThis&&globalThis.__assign||function(){return ls=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},ls.apply(this,arguments)},bC=globalThis&&globalThis.__awaiter||function(e,t,n,r){function i(a){return a instanceof n?a:new n(function(l){l(a)})}return new(n||(n=Promise))(function(a,l){function u(p){try{g(r.next(p))}catch(E){l(E)}}function d(p){try{g(r.throw(p))}catch(E){l(E)}}function g(p){p.done?a(p.value):i(p.value).then(u,d)}g((r=r.apply(e,t||[])).next())})},QC=globalThis&&globalThis.__generator||function(e,t){var n={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},r,i,a,l;return l={next:u(0),throw:u(1),return:u(2)},typeof Symbol=="function"&&(l[Symbol.iterator]=function(){return this}),l;function u(g){return function(p){return d([g,p])}}function d(g){if(r)throw new TypeError("Generator is already executing.");for(;l&&(l=0,g[0]&&(n=0)),n;)try{if(r=1,i&&(a=g[0]&2?i.return:g[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,g[1])).done)return a;switch(i=0,a&&(g=[g[0]&2,a.value]),g[0]){case 0:case 1:a=g;break;case 4:return n.label++,{value:g[1],done:!1};case 5:n.label++,i=g[1],g=[0];continue;case 7:g=n.ops.pop(),n.trys.pop();continue;default:if(a=n.trys,!(a=a.length>0&&a[a.length-1])&&(g[0]===6||g[0]===2)){n=0;continue}if(g[0]===3&&(!a||g[1]>a[0]&&g[1]<a[3])){n.label=g[1];break}if(g[0]===6&&n.label<a[1]){n.label=a[1],a=g;break}if(a&&n.label<a[2]){n.label=a[2],n.ops.push(g);break}a[2]&&n.ops.pop(),n.trys.pop();continue}g=t.call(e,n)}catch(p){g=[6,p],i=0}finally{r=a=0}if(g[0]&5)throw g[1];return{value:g[0]?g[1]:void 0,done:!0}}},N5=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n},O0=function(e){var t=e.color,n=t===void 0?"primary":t,r=e.icon,i=r===void 0?H5:r;e.invalid;var a=e.label,l=a===void 0?"ra.action.save":a,u=e.onClick,d=e.mutationOptions,g=e.disabled,p=e.type,E=p===void 0?"submit":p,h=e.transform,m=e.variant,I=m===void 0?"contained":m,B=e.alwaysEnable,y=B===void 0?!1:B,O=N5(e,["color","icon","invalid","label","onClick","mutationOptions","disabled","type","transform","variant","alwaysEnable"]),M=Qe.useTranslate(),w=To.useFormContext(),T=Qe.useSaveContext(),P=To.useFormState(),H=P.dirtyFields,F=P.isValidating,K=P.isSubmitting,Z=Object.keys(H).length>0,G=U5(y===!1||y===void 0?void 0:!y,g||!Z||F||K);Qe.warning(E==="submit"&&(d&&(d.onSuccess||d.onError)||h),'Cannot use <SaveButton mutationOptions> props on a button of type "submit". To override the default mutation options on a particular save button, set the <SaveButton type="button"> prop, or set mutationOptions in the main view component (<Create> or <Edit>).');var ee=S.useCallback(function(_){return bC(void 0,void 0,void 0,function(){var q;return QC(this,function(Y){switch(Y.label){case 0:return T!=null&&T.save?[4,T.save(_,ls(ls({},d),{transform:h}))]:[3,2];case 1:q=Y.sent(),Y.label=2;case 2:return q!=null&&Qe.setSubmissionErrors(q,w.setError),[2]}})})},[w.setError,T,d,h]),le=S.useCallback(function(_){return bC(void 0,void 0,void 0,function(){return QC(this,function(q){switch(q.label){case 0:return u&&u(_),_.defaultPrevented?[2]:E!=="button"?[3,2]:(_.stopPropagation(),[4,w.handleSubmit(ee)(_)]);case 1:q.sent(),q.label=2;case 2:return[2]}})})},[u,E,w,ee]),de=l&&M(l,{_:l});return k.createElement(W5,ls({variant:I,type:E,color:n,"aria-label":de,disabled:G,onClick:le},O),K?k.createElement(Q.CircularProgress,{sx:V5,size:14,thickness:3,color:"inherit"}):i,de)},V5={"&.MuiCircularProgress-root":{marginRight:"10px",marginLeft:"2px"}},H5=k.createElement(R0,null);O0.propTypes={className:c.string,invalid:c.bool,label:c.string,variant:c.oneOf(["text","outlined","contained"]),icon:c.element,alwaysEnable:c.bool};var z5="RaSaveButton",W5=ce(Q.Button,{name:z5,overridesResolver:function(e,t){return t.root}})(function(e){var t,n=e.theme;return t={position:"relative"},t["& .MuiSvgIcon-root, & .MuiIcon-root, & .MuiCircularProgress-root"]={marginRight:n.spacing(1)},t["& .MuiSvgIcon-root, & .MuiIcon-root"]={fontSize:18},t}),U5=function(e,t){return typeof e>"u"?t:e},Y5=S.createContext(void 0),G5=function(e){var t=S.useContext(Y5),n=S.useMemo(function(){return{append:e==null?void 0:e.append,fields:e==null?void 0:e.fields,insert:e==null?void 0:e.insert,move:e==null?void 0:e.move,prepend:e==null?void 0:e.prepend,remove:e==null?void 0:e.remove,replace:e==null?void 0:e.replace,swap:e==null?void 0:e.swap,update:e==null?void 0:e.update}},[e]);return e!=null&&e.fields?n:t},tr="RaSimpleFormIterator",Mt={action:"".concat(tr,"-action"),add:"".concat(tr,"-add"),clear:"".concat(tr,"-clear"),form:"".concat(tr,"-form"),index:"".concat(tr,"-index"),inline:"".concat(tr,"-inline"),line:"".concat(tr,"-line"),list:"".concat(tr,"-list"),buttons:"".concat(tr,"-buttons")},D0=S.createContext(void 0),M0=function(){return S.useContext(D0)},j0=S.createContext(void 0),bA=globalThis&&globalThis.__assign||function(){return bA=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},bA.apply(this,arguments)},K5=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n},_5=k.forwardRef(function(e,t){var n=e.children,r=e.disabled,i=e.disableReordering,a=e.disableRemove,l=e.getItemLabel,u=e.index,d=e.inline,g=d===void 0?!1:d,p=e.member,E=e.record,h=e.removeButton,m=e.reOrderButtons,I=e.resource,B=e.source,y=M0(),O=y.total,M=y.reOrder,w=y.remove,T=function(K){return typeof a=="boolean"?a:a&&a(K)},P=function(K,Z){return function(G){w(Z),K&&K(G)}},H=S.useMemo(function(){return{index:u,total:O,reOrder:function(K){return M(u,K)},remove:function(){return w(u)}}},[u,O,M,w]),F=typeof l=="function"?l(u):l;return k.createElement(j0.Provider,{value:H},k.createElement("li",{className:Mt.line,ref:t},F&&k.createElement(Q.Typography,{variant:"body2",className:Mt.index},F),k.createElement("section",{className:gi(Mt.form,g&&Mt.inline)},S.Children.map(n,function(K,Z){if(!S.isValidElement(K))return null;var G=K.props,ee=G.source,le=K5(G,["source"]);return S.cloneElement(K,bA({source:ee?"".concat(p,".").concat(ee):p,index:ee?void 0:Z,resource:I,disabled:r},le))})),!r&&k.createElement("span",{className:Mt.action},!i&&S.cloneElement(m,{index:u,max:O,reOrder:M,className:gi("button-reorder","button-reorder-".concat(B,"-").concat(u))}),!T(E)&&S.cloneElement(h,{onClick:P(h.props.onClick,u),className:gi("button-remove","button-remove-".concat(B,"-").concat(u))}))))}),wd={},q5=to;Object.defineProperty(wd,"__esModule",{value:!0});var k0=wd.default=void 0,J5=q5(no()),X5=f,Z5=(0,J5.default)((0,X5.jsx)("path",{d:"M13 7h-2v4H7v2h4v4h2v-4h4v-2h-4V7zm-1-5C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z"}),"AddCircleOutline");k0=wd.default=Z5;var QA=globalThis&&globalThis.__assign||function(){return QA=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},QA.apply(this,arguments)},$5=function(e){var t=M0().add;return k.createElement(ms,QA({label:"ra.action.add",size:"small",onClick:function(){return t()},color:"primary"},e),k.createElement(k0,{fontSize:"small"}))},Td={},ej=to;Object.defineProperty(Td,"__esModule",{value:!0});var F0=Td.default=void 0,tj=ej(no()),nj=f,rj=(0,tj.default)((0,nj.jsx)("path",{d:"M7 11v2h10v-2H7zm5-9C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z"}),"RemoveCircleOutline");F0=Td.default=rj;var L0=function(){return S.useContext(j0)},xA=globalThis&&globalThis.__assign||function(){return xA=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},xA.apply(this,arguments)},oj=function(e){var t=L0().remove;return k.createElement(ms,xA({label:"ra.action.remove",size:"small",onClick:function(){return t()},color:"warning"},e),k.createElement(F0,{fontSize:"small"}))},Pd={},ij=to;Object.defineProperty(Pd,"__esModule",{value:!0});var N0=Pd.default=void 0,sj=ij(no()),aj=f,lj=(0,sj.default)((0,aj.jsx)("path",{d:"M12 20c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8m0 2c5.52 0 10-4.48 10-10S17.52 2 12 2 2 6.48 2 12s4.48 10 10 10zm-1-10v4h2v-4h3l-4-4-4 4h3z"}),"ArrowCircleUp");N0=Pd.default=lj;var Sd={},cj=to;Object.defineProperty(Sd,"__esModule",{value:!0});var V0=Sd.default=void 0,uj=cj(no()),Aj=f,dj=(0,uj.default)((0,Aj.jsx)("path",{d:"M12 4c4.41 0 8 3.59 8 8s-3.59 8-8 8-8-3.59-8-8 3.59-8 8-8m0-2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 10V8h-2v4H8l4 4 4-4h-3z"}),"ArrowCircleDown");V0=Sd.default=dj;var gj=function(e){var t=e.className,n=L0(),r=n.index,i=n.total,a=n.reOrder;return k.createElement("span",{className:t},k.createElement(ms,{label:"ra.action.move_up",size:"small",onClick:function(){return a(r-1)},disabled:r<=0,color:"primary"},k.createElement(N0,{fontSize:"small"})),k.createElement(ms,{label:"ra.action.move_down",size:"small",onClick:function(){return a(r+1)},disabled:i==null||r>=i-1,color:"primary"},k.createElement(V0,{fontSize:"small"})))},Rd={},fj=to;Object.defineProperty(Rd,"__esModule",{value:!0});var H0=Rd.default=void 0,pj=fj(no()),hj=f,Cj=(0,pj.default)((0,hj.jsx)("path",{d:"M14.59 8 12 10.59 9.41 8 8 9.41 10.59 12 8 14.59 9.41 16 12 13.41 14.59 16 16 14.59 13.41 12 16 9.41 14.59 8zM12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z"}),"HighlightOff");H0=Rd.default=Cj;var wA=globalThis&&globalThis.__assign||function(){return wA=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},wA.apply(this,arguments)},Ej=function(e){return k.createElement(ms,wA({label:"ra.action.clear_array_input",size:"small",color:"warning"},e),k.createElement(H0,{fontSize:"small"}))},mj=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n},z0=function(e){var t=e.addButton,n=t===void 0?k.createElement($5,null):t,r=e.removeButton,i=r===void 0?k.createElement(oj,null):r,a=e.reOrderButtons,l=a===void 0?k.createElement(gj,null):a,u=e.children,d=e.className,g=e.resource,p=e.source,E=e.disabled,h=e.disableAdd,m=h===void 0?!1:h,I=e.disableClear,B=e.disableRemove,y=B===void 0?!1:B,O=e.disableReordering,M=e.inline,w=e.getItemLabel,T=w===void 0?!1:w,P=e.fullWidth,H=e.sx,F=S.useState(!1),K=F[0],Z=F[1],G=G5(e),ee=G.append,le=G.fields,de=G.move,_=G.remove,q=G.replace,Y=To.useFormContext().resetField,X=Qe.useTranslate(),z=Qe.useRecordContext(e),ne=S.useRef({}),W=S.useCallback(function(Ae){_(Ae)},[_]);if(le.length>0){var N=le[0];N.id;var ae=mj(N,["id"]);ne.current=ae;for(var fe in ne.current)ne.current[fe]=null}var ue=S.useCallback(function(Ae){Ae===void 0&&(Ae=void 0);var ye=Ae;Ae==null&&(ye=ne.current,S.Children.count(u)===1&&k.isValidElement(S.Children.only(u))&&!S.Children.only(u).props.source&&S.Children.map(u,function(ie){return k.isValidElement(ie)&&ie.type!==Qe.FormDataConsumer}).some(Boolean)?ye="":(ye=ye||{},S.Children.forEach(u,function(ie){var Fe;k.isValidElement(ie)&&ie.type!==Qe.FormDataConsumer&&ie.props.source&&(ye[ie.props.source]=(Fe=ie.props.defaultValue)!==null&&Fe!==void 0?Fe:null)}))),ee(ye),Y("".concat(p,".").concat(le.length),{defaultValue:ye})},[ee,u,Y,p,le.length]),ge=function(Ae){return function(ye){ue(),Ae&&Ae(ye)}},pe=S.useCallback(function(Ae,ye){de(Ae,ye)},[de]),Ie=S.useCallback(function(){q([]),Z(!1)},[q]),Be=x5(z,p),Ce=S.useMemo(function(){return{total:le.length,add:ue,remove:W,reOrder:pe,source:p}},[ue,le.length,pe,W,p]);return le?k.createElement(D0.Provider,{value:Ce},k.createElement(Ij,{className:gi(d,P&&"fullwidth",E&&"disabled"),sx:H},k.createElement("ul",{className:Mt.list},le.map(function(Ae,ye){return k.createElement(_5,{key:Ae.id,disabled:E,disableRemove:y,disableReordering:O,fields:le,getItemLabel:T,index:ye,member:"".concat(p,".").concat(ye),onRemoveField:W,onReorder:pe,record:Be&&Be[ye]||{},removeButton:i,reOrderButtons:l,resource:g,source:p,inline:M},u)})),!E&&!(m&&(I||y))&&k.createElement("div",{className:Mt.buttons},!m&&k.createElement("div",{className:Mt.add},S.cloneElement(n,{className:gi("button-add","button-add-".concat(p)),onClick:ge(n.props.onClick)})),le.length>0&&!I&&!y&&k.createElement("div",{className:Mt.clear},k.createElement(w0,{isOpen:K,title:X("ra.action.clear_array_input"),content:X("ra.message.clear_array_input"),onConfirm:Ie,onClose:function(){return Z(!1)}}),k.createElement(Ej,{onClick:function(){return Z(!0)}}))))):null};z0.propTypes={addButton:c.element,removeButton:c.element,children:c.node,className:c.string,field:c.object,fields:c.array,fieldState:c.object,formState:c.object,fullWidth:c.bool,inline:c.bool,record:c.object,source:c.string,resource:c.string,translate:c.func,disableAdd:c.bool,disableRemove:c.oneOfType([c.func,c.bool]),TransitionProps:c.shape({})};var Ij=Q.styled("div",{name:tr,overridesResolver:function(e,t){return t.root}})(function(e){var t,n,r,i=e.theme;return t={"& > ul":{padding:0,marginTop:0,marginBottom:0},"& > ul > li:last-child":{borderBottom:"none"}},t["& .".concat(Mt.line)]=(n={display:"flex",listStyleType:"none",borderBottom:"solid 1px ".concat(i.palette.divider)},n[i.breakpoints.down("sm")]={display:"block"},n),t["& .".concat(Mt.index)]=(r={display:"flex",alignItems:"top",marginRight:i.spacing(1),marginTop:i.spacing(1)},r[i.breakpoints.down("md")]={display:"none"},r),t["& .".concat(Mt.form)]={alignItems:"flex-start",display:"flex",flexDirection:"column"},t["&.fullwidth > ul > li > .".concat(Mt.form)]={flex:2},t["& .".concat(Mt.inline)]={flexDirection:"row",columnGap:"1em",flexWrap:"wrap"},t["& .".concat(Mt.action)]={marginTop:i.spacing(.5),visibility:"hidden","@media(hover:none)":{visibility:"visible"}},t["& .".concat(Mt.buttons)]={display:"flex"},t["& .".concat(Mt.add)]={borderBottom:"none"},t["& .".concat(Mt.clear)]={borderBottom:"none"},t["& .".concat(Mt.line,":hover > .").concat(Mt.action)]={visibility:"visible"},t});function Bj(e){return wt("MuiAppBar",e)}St("MuiAppBar",["root","positionFixed","positionAbsolute","positionSticky","positionStatic","positionRelative","colorDefault","colorPrimary","colorSecondary","colorInherit","colorTransparent"]);const yj=["className","color","enableColorOnDark","position"],vj=e=>{const{color:t,position:n,classes:r}=e,i={root:["root",`color${be(t)}`,`position${be(n)}`]};return jt(i,Bj,r)},Ta=(e,t)=>e?`${e==null?void 0:e.replace(")","")}, ${t})`:t,bj=ce(Ul,{name:"MuiAppBar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`position${be(n.position)}`],t[`color${be(n.color)}`]]}})(({theme:e,ownerState:t})=>{const n=e.palette.mode==="light"?e.palette.grey[100]:e.palette.grey[900];return U({display:"flex",flexDirection:"column",width:"100%",boxSizing:"border-box",flexShrink:0},t.position==="fixed"&&{position:"fixed",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0,"@media print":{position:"absolute"}},t.position==="absolute"&&{position:"absolute",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0},t.position==="sticky"&&{position:"sticky",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0},t.position==="static"&&{position:"static"},t.position==="relative"&&{position:"relative"},!e.vars&&U({},t.color==="default"&&{backgroundColor:n,color:e.palette.getContrastText(n)},t.color&&t.color!=="default"&&t.color!=="inherit"&&t.color!=="transparent"&&{backgroundColor:e.palette[t.color].main,color:e.palette[t.color].contrastText},t.color==="inherit"&&{color:"inherit"},e.palette.mode==="dark"&&!t.enableColorOnDark&&{backgroundColor:null,color:null},t.color==="transparent"&&U({backgroundColor:"transparent",color:"inherit"},e.palette.mode==="dark"&&{backgroundImage:"none"})),e.vars&&U({},t.color==="default"&&{"--AppBar-background":t.enableColorOnDark?e.vars.palette.AppBar.defaultBg:Ta(e.vars.palette.AppBar.darkBg,e.vars.palette.AppBar.defaultBg),"--AppBar-color":t.enableColorOnDark?e.vars.palette.text.primary:Ta(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:Ta(e.vars.palette.AppBar.darkBg,e.vars.palette[t.color].main),"--AppBar-color":t.enableColorOnDark?e.vars.palette[t.color].contrastText:Ta(e.vars.palette.AppBar.darkColor,e.vars.palette[t.color].contrastText)},{backgroundColor:"var(--AppBar-background)",color:t.color==="inherit"?"inherit":"var(--AppBar-color)"},t.color==="transparent"&&{backgroundImage:"none",backgroundColor:"transparent",color:"inherit"}))}),W0=k.forwardRef(function(t,n){const r=Rt({props:t,name:"MuiAppBar"}),{className:i,color:a="primary",enableColorOnDark:l=!1,position:u="fixed"}=r,d=We(r,yj),g=U({},r,{color:a,position:u,enableColorOnDark:l}),p=vj(g);return f.jsx(bj,U({square:!0,component:"header",ownerState:g,elevation:4,className:ze(p.root,i,u==="fixed"&&"mui-fixed"),ref:n},d))});process.env.NODE_ENV!=="production"&&(W0.propTypes={children:c.node,classes:c.object,className:c.string,color:c.oneOfType([c.oneOf(["default","inherit","primary","secondary","transparent"]),c.string]),enableColorOnDark:c.bool,position:c.oneOf(["absolute","fixed","relative","static","sticky"]),sx:c.oneOfType([c.arrayOf(c.oneOfType([c.func,c.object,c.bool])),c.func,c.object])});const Qj=W0,xj=fd(f.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 wj(e){return wt("MuiAvatar",e)}St("MuiAvatar",["root","colorDefault","circular","rounded","square","img","fallback"]);const Tj=["alt","children","className","component","imgProps","sizes","src","srcSet","variant"],Pj=e=>{const{classes:t,variant:n,colorDefault:r}=e;return jt({root:["root",n,r&&"colorDefault"],img:["img"],fallback:["fallback"]},wj,t)},Sj=ce("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})=>U({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"},t.variant==="rounded"&&{borderRadius:(e.vars||e).shape.borderRadius},t.variant==="square"&&{borderRadius:0},t.colorDefault&&U({color:(e.vars||e).palette.background.default},e.vars?{backgroundColor:e.vars.palette.Avatar.defaultBg}:{backgroundColor:e.palette.mode==="light"?e.palette.grey[400]:e.palette.grey[600]}))),Rj=ce("img",{name:"MuiAvatar",slot:"Img",overridesResolver:(e,t)=>t.img})({width:"100%",height:"100%",textAlign:"center",objectFit:"cover",color:"transparent",textIndent:1e4}),Oj=ce(xj,{name:"MuiAvatar",slot:"Fallback",overridesResolver:(e,t)=>t.fallback})({width:"75%",height:"75%"});function Dj({crossOrigin:e,referrerPolicy:t,src:n,srcSet:r}){const[i,a]=k.useState(!1);return k.useEffect(()=>{if(!n&&!r)return;a(!1);let l=!0;const u=new Image;return u.onload=()=>{l&&a("loaded")},u.onerror=()=>{l&&a("error")},u.crossOrigin=e,u.referrerPolicy=t,u.src=n,r&&(u.srcset=r),()=>{l=!1}},[e,t,n,r]),i}const U0=k.forwardRef(function(t,n){const r=Rt({props:t,name:"MuiAvatar"}),{alt:i,children:a,className:l,component:u="div",imgProps:d,sizes:g,src:p,srcSet:E,variant:h="circular"}=r,m=We(r,Tj);let I=null;const B=Dj(U({},d,{src:p,srcSet:E})),y=p||E,O=y&&B!=="error",M=U({},r,{colorDefault:!O,component:u,variant:h}),w=Pj(M);return O?I=f.jsx(Rj,U({alt:i,srcSet:E,src:p,sizes:g,ownerState:M,className:w.img},d)):a!=null?I=a:y&&i?I=i[0]:I=f.jsx(Oj,{ownerState:M,className:w.fallback}),f.jsx(Sj,U({as:u,ownerState:M,className:ze(w.root,l),ref:n},m,{children:I}))});process.env.NODE_ENV!=="production"&&(U0.propTypes={alt:c.string,children:c.node,classes:c.object,className:c.string,component:c.elementType,imgProps:c.object,sizes:c.string,src:c.string,srcSet:c.string,sx:c.oneOfType([c.arrayOf(c.oneOfType([c.func,c.object,c.bool])),c.func,c.object]),variant:c.oneOfType([c.oneOf(["circular","rounded","square"]),c.string])});const Mj=U0,jj=yi(R.SimpleForm,{name:"RaApplicaSimpleForm",slot:"Root"})(({theme:e,modal:t})=>({"& .MuiGrid-root.MuiGrid-container":{paddingBottom:e.spacing(t?2:1)}})),Yl=({title:e,modal:t,content:n,subheader:r,secondary:i,sx:a,...l})=>{const u=Hm(e),d=R.useRecordContext();return f.jsx(Nn,{content:n,title:u,subheader:r,secondary:d!=null&&d.id?i:null,sx:a,border:!t,divider:!0,children:f.jsx(jj,{toolbar:f.jsx(Tr,{}),...l})})};Yl.defaultProps={modal:!1,content:!1,subheader:null,title:null,toolbar:f.jsx(Tr,{children:f.jsx(R.SaveButton,{type:"button"})}),secondary:f.jsx(xs,{children:f.jsx(R.DeleteWithConfirmButton,{})})};Yl.propTypes={...R.SimpleForm.propTypes,modal:c.bool,content:c.bool,contained:c.bool,subheader:c.oneOfType([c.string,c.node]),title:c.oneOfType([c.string,c.node]),secondary:c.oneOfType([c.node,c.string,c.object])};const Gl=({label:e,children:t,display:n,helperText:r,sx:i,addLabel:a,divider:l,...u})=>{const d=Wt.useTheme(),{getCurrentDialog:g}=So(),{source:p,resource:E,isRequired:h}=u,{getFieldState:m,formState:I}=To.useFormContext(),{error:B}=m(p,I),y=g();return f.jsxs(Q.Stack,{spacing:1,sx:{"& .MuiFormHelperText-root":{color:B?d.palette.error.main:d.palette.text.secondary,"& span":{display:"none"}},...i},children:[n==="label"&&e!==!1&&a!==!1&&f.jsx(Q.InputLabel,{error:!!B,sx:{borderBottom:l?`1px solid ${d.palette.divider}`:"none",pb:l?1:0,mt:l?1:0},children:f.jsx(R.FieldTitle,{label:e,source:p,resource:y||E,isRequired:h})}),S.isValidElement(t)?S.cloneElement(t,{...t.props,...u,label:n==="legend"?e:!1}):t,n==="label"&&r&&f.jsx(Q.FormHelperText,{sx:{pl:1.8,pb:2,marginTop:"0 !important"},error:!!B,children:r})]})};Gl.propTypes={sx:c.object,children:c.element,label:c.oneOfType([c.string,c.bool]),addLabel:c.bool,resource:c.string,isRequired:c.bool,source:c.string,display:c.oneOf(["legend","label"]),helperText:c.oneOfType([c.string,c.bool]),divider:c.bool};Gl.defaultProps={display:"label",divider:!1};const kj=ce(R.ArrayInput,{name:"ApplicaArrayInput",slot:"root"})(({theme:e})=>({"& label:first-of-type":{marginTop:e.spacing(2)},marginTop:"0 !important","& .RaSimpleFormIterator-line > .RaSimpleFormIterator-form":{paddingBottom:e.spacing(.5),"& > div":{width:"100%"}}})),Fj=({children:e,label:t,addLabel:n,source:r,helperText:i,...a})=>f.jsx(Gl,{label:t,addLabel:n,source:r,helperText:i,divider:!0,children:f.jsx(kj,{source:r,label:!1,...a,children:e})}),Od=({canEdit:e,canDelete:t,canClone:n})=>!e&&!t&&!n?null:f.jsxs(xs,{children:[e&&f.jsx(R.EditButton,{}),t&&f.jsx(R.DeleteWithConfirmButton,{}),n&&f.jsx(R.CloneButton,{})]});Od.defaultProps={canEdit:!0,canDelete:!0,canClone:!1};Od.propTypes={canEdit:c.bool,canDelete:c.bool,canClone:c.bool};const xC=ce("div",{name:"ApplicaBaseAttachmentField",overridesResolver:(e,t)=>t.root})({display:"inline-block"}),Lj=ce("ul")({display:"inline-block"}),Y0=e=>{var p;const{className:t,emptyText:n,source:r,title:i,...a}=e,l=Qe.useRecordContext(e),u=it.get(l,r),d=Qe.useTranslate();if(!u)return n?f.jsx(Q.Typography,{component:"span",variant:"body2",className:t,...a,children:n&&d(n,{_:n})}):f.jsx(xC,{className:t,...a});if(Array.isArray(u))return f.jsx(Lj,{className:t,...a,children:u.map((E,h)=>{var I;const m=i instanceof String?(I=it.get(E,i))==null?void 0:I.toString():i;return f.jsx("li",{children:m},h)})});const g=i instanceof String?(p=it.get(l,i))==null?void 0:p.toString():i;return f.jsx(xC,{className:t,...a,children:g})};Y0.propTypes={className:c.string,emptyText:c.string,source:c.string.isRequired,src:c.string,title:c.oneOfType([c.string,c.element]),target:c.string,download:c.oneOfType([c.bool,c.string]),ping:c.string,rel:c.string};var G0={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(Ln,function(){var n=1e3,r=6e4,i=36e5,a="millisecond",l="second",u="minute",d="hour",g="day",p="week",E="month",h="quarter",m="year",I="date",B="Invalid Date",y=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,O=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,M={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(_){var q=["th","st","nd","rd"],Y=_%100;return"["+_+(q[(Y-20)%10]||q[Y]||q[0])+"]"}},w=function(_,q,Y){var X=String(_);return!X||X.length>=q?_:""+Array(q+1-X.length).join(Y)+_},T={s:w,z:function(_){var q=-_.utcOffset(),Y=Math.abs(q),X=Math.floor(Y/60),z=Y%60;return(q<=0?"+":"-")+w(X,2,"0")+":"+w(z,2,"0")},m:function _(q,Y){if(q.date()<Y.date())return-_(Y,q);var X=12*(Y.year()-q.year())+(Y.month()-q.month()),z=q.clone().add(X,E),ne=Y-z<0,W=q.clone().add(X+(ne?-1:1),E);return+(-(X+(Y-z)/(ne?z-W:W-z))||0)},a:function(_){return _<0?Math.ceil(_)||0:Math.floor(_)},p:function(_){return{M:E,y:m,w:p,d:g,D:I,h:d,m:u,s:l,ms:a,Q:h}[_]||String(_||"").toLowerCase().replace(/s$/,"")},u:function(_){return _===void 0}},P="en",H={};H[P]=M;var F="$isDayjsObject",K=function(_){return _ instanceof le||!(!_||!_[F])},Z=function _(q,Y,X){var z;if(!q)return P;if(typeof q=="string"){var ne=q.toLowerCase();H[ne]&&(z=ne),Y&&(H[ne]=Y,z=ne);var W=q.split("-");if(!z&&W.length>1)return _(W[0])}else{var N=q.name;H[N]=q,z=N}return!X&&z&&(P=z),z||!X&&P},G=function(_,q){if(K(_))return _.clone();var Y=typeof q=="object"?q:{};return Y.date=_,Y.args=arguments,new le(Y)},ee=T;ee.l=Z,ee.i=K,ee.w=function(_,q){return G(_,{locale:q.$L,utc:q.$u,x:q.$x,$offset:q.$offset})};var le=function(){function _(Y){this.$L=Z(Y.locale,null,!0),this.parse(Y),this.$x=this.$x||Y.x||{},this[F]=!0}var q=_.prototype;return q.parse=function(Y){this.$d=function(X){var z=X.date,ne=X.utc;if(z===null)return new Date(NaN);if(ee.u(z))return new Date;if(z instanceof Date)return new Date(z);if(typeof z=="string"&&!/Z$/i.test(z)){var W=z.match(y);if(W){var N=W[2]-1||0,ae=(W[7]||"0").substring(0,3);return ne?new Date(Date.UTC(W[1],N,W[3]||1,W[4]||0,W[5]||0,W[6]||0,ae)):new Date(W[1],N,W[3]||1,W[4]||0,W[5]||0,W[6]||0,ae)}}return new Date(z)}(Y),this.init()},q.init=function(){var Y=this.$d;this.$y=Y.getFullYear(),this.$M=Y.getMonth(),this.$D=Y.getDate(),this.$W=Y.getDay(),this.$H=Y.getHours(),this.$m=Y.getMinutes(),this.$s=Y.getSeconds(),this.$ms=Y.getMilliseconds()},q.$utils=function(){return ee},q.isValid=function(){return this.$d.toString()!==B},q.isSame=function(Y,X){var z=G(Y);return this.startOf(X)<=z&&z<=this.endOf(X)},q.isAfter=function(Y,X){return G(Y)<this.startOf(X)},q.isBefore=function(Y,X){return this.endOf(X)<G(Y)},q.$g=function(Y,X,z){return ee.u(Y)?this[X]:this.set(z,Y)},q.unix=function(){return Math.floor(this.valueOf()/1e3)},q.valueOf=function(){return this.$d.getTime()},q.startOf=function(Y,X){var z=this,ne=!!ee.u(X)||X,W=ee.p(Y),N=function(Ce,Ae){var ye=ee.w(z.$u?Date.UTC(z.$y,Ae,Ce):new Date(z.$y,Ae,Ce),z);return ne?ye:ye.endOf(g)},ae=function(Ce,Ae){return ee.w(z.toDate()[Ce].apply(z.toDate("s"),(ne?[0,0,0,0]:[23,59,59,999]).slice(Ae)),z)},fe=this.$W,ue=this.$M,ge=this.$D,pe="set"+(this.$u?"UTC":"");switch(W){case m:return ne?N(1,0):N(31,11);case E:return ne?N(1,ue):N(0,ue+1);case p:var Ie=this.$locale().weekStart||0,Be=(fe<Ie?fe+7:fe)-Ie;return N(ne?ge-Be:ge+(6-Be),ue);case g:case I:return ae(pe+"Hours",0);case d:return ae(pe+"Minutes",1);case u:return ae(pe+"Seconds",2);case l:return ae(pe+"Milliseconds",3);default:return this.clone()}},q.endOf=function(Y){return this.startOf(Y,!1)},q.$set=function(Y,X){var z,ne=ee.p(Y),W="set"+(this.$u?"UTC":""),N=(z={},z[g]=W+"Date",z[I]=W+"Date",z[E]=W+"Month",z[m]=W+"FullYear",z[d]=W+"Hours",z[u]=W+"Minutes",z[l]=W+"Seconds",z[a]=W+"Milliseconds",z)[ne],ae=ne===g?this.$D+(X-this.$W):X;if(ne===E||ne===m){var fe=this.clone().set(I,1);fe.$d[N](ae),fe.init(),this.$d=fe.set(I,Math.min(this.$D,fe.daysInMonth())).$d}else N&&this.$d[N](ae);return this.init(),this},q.set=function(Y,X){return this.clone().$set(Y,X)},q.get=function(Y){return this[ee.p(Y)]()},q.add=function(Y,X){var z,ne=this;Y=Number(Y);var W=ee.p(X),N=function(ue){var ge=G(ne);return ee.w(ge.date(ge.date()+Math.round(ue*Y)),ne)};if(W===E)return this.set(E,this.$M+Y);if(W===m)return this.set(m,this.$y+Y);if(W===g)return N(1);if(W===p)return N(7);var ae=(z={},z[u]=r,z[d]=i,z[l]=n,z)[W]||1,fe=this.$d.getTime()+Y*ae;return ee.w(fe,this)},q.subtract=function(Y,X){return this.add(-1*Y,X)},q.format=function(Y){var X=this,z=this.$locale();if(!this.isValid())return z.invalidDate||B;var ne=Y||"YYYY-MM-DDTHH:mm:ssZ",W=ee.z(this),N=this.$H,ae=this.$m,fe=this.$M,ue=z.weekdays,ge=z.months,pe=z.meridiem,Ie=function(Ae,ye,ie,Fe){return Ae&&(Ae[ye]||Ae(X,ne))||ie[ye].slice(0,Fe)},Be=function(Ae){return ee.s(N%12||12,Ae,"0")},Ce=pe||function(Ae,ye,ie){var Fe=Ae<12?"AM":"PM";return ie?Fe.toLowerCase():Fe};return ne.replace(O,function(Ae,ye){return ye||function(ie){switch(ie){case"YY":return String(X.$y).slice(-2);case"YYYY":return ee.s(X.$y,4,"0");case"M":return fe+1;case"MM":return ee.s(fe+1,2,"0");case"MMM":return Ie(z.monthsShort,fe,ge,3);case"MMMM":return Ie(ge,fe);case"D":return X.$D;case"DD":return ee.s(X.$D,2,"0");case"d":return String(X.$W);case"dd":return Ie(z.weekdaysMin,X.$W,ue,2);case"ddd":return Ie(z.weekdaysShort,X.$W,ue,3);case"dddd":return ue[X.$W];case"H":return String(N);case"HH":return ee.s(N,2,"0");case"h":return Be(1);case"hh":return Be(2);case"a":return Ce(N,ae,!0);case"A":return Ce(N,ae,!1);case"m":return String(ae);case"mm":return ee.s(ae,2,"0");case"s":return String(X.$s);case"ss":return ee.s(X.$s,2,"0");case"SSS":return ee.s(X.$ms,3,"0");case"Z":return W}return null}(Ae)||W.replace(":","")})},q.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},q.diff=function(Y,X,z){var ne,W=this,N=ee.p(X),ae=G(Y),fe=(ae.utcOffset()-this.utcOffset())*r,ue=this-ae,ge=function(){return ee.m(W,ae)};switch(N){case m:ne=ge()/12;break;case E:ne=ge();break;case h:ne=ge()/3;break;case p:ne=(ue-fe)/6048e5;break;case g:ne=(ue-fe)/864e5;break;case d:ne=ue/i;break;case u:ne=ue/r;break;case l:ne=ue/n;break;default:ne=ue}return z?ne:ee.a(ne)},q.daysInMonth=function(){return this.endOf(E).$D},q.$locale=function(){return H[this.$L]},q.locale=function(Y,X){if(!Y)return this.$L;var z=this.clone(),ne=Z(Y,X,!0);return ne&&(z.$L=ne),z},q.clone=function(){return ee.w(this.$d,this)},q.toDate=function(){return new Date(this.valueOf())},q.toJSON=function(){return this.isValid()?this.toISOString():null},q.toISOString=function(){return this.$d.toISOString()},q.toString=function(){return this.$d.toUTCString()},_}(),de=le.prototype;return G.prototype=de,[["$ms",a],["$s",l],["$m",u],["$H",d],["$W",g],["$M",E],["$y",m],["$D",I]].forEach(function(_){de[_[1]]=function(q){return this.$g(q,_[0],_[1])}}),G.extend=function(_,q){return _.$i||(_(q,le,G),_.$i=!0),G},G.locale=Z,G.isDayjs=K,G.unix=function(_){return G(1e3*_)},G.en=H[P],G.Ls=H,G.p={},G})})(G0);var Nj=G0.exports;const Qr=Ii(Nj),Dd=({entityId:e,property:t,disabled:n,userResource:r="entities/user",...i})=>{const[a,l]=S.useState(null),u=R.useRecordContext(i),d=R.useDataProvider(),g=R.useResourceContext(),p=S.useCallback(async m=>{m.preventDefault(),m.stopPropagation();const I=it.get(u,i==null?void 0:i.source),B=g.replace("entities/",""),y=await d.getFile(`/attachments/${B}/${e||(u==null?void 0:u.id)}/${t||(i==null?void 0:i.source)}/${(I==null?void 0:I.id)||(u==null?void 0:u.id)}`),O=document.createElement("a");O.href=y,O.download=it.get(u,(i==null?void 0:i.title)||(i==null?void 0:i.source)),O.click()},[d,u,e,g,t,i==null?void 0:i.source,i==null?void 0:i.title]),E=S.useMemo(()=>({...u,[i==null?void 0:i.source]:(u==null?void 0:u.src)||it.get(u,i==null?void 0:i.source),[i==null?void 0:i.title]:(u==null?void 0:u.title)||it.get(u,(i==null?void 0:i.title)||(i==null?void 0:i.source))}),[u,i==null?void 0:i.source,i==null?void 0:i.title]),h=R.useTranslate();return S.useEffect(()=>{!u||!(u!=null&&u.userId)||d.getOne(r,{id:u==null?void 0:u.userId}).then(({data:m})=>l(m)).catch(()=>l(null))},[u,d,r]),f.jsx(Y0,{...i,disabled:n,record:E,onClick:p,title:f.jsxs(Q.Box,{sx:{cursor:"pointer"},children:[f.jsx(Q.Typography,{variant:"subtitle1",children:it.get(E,(i==null?void 0:i.title)||(i==null?void 0:i.source))}),f.jsxs(Q.Typography,{variant:"caption",color:"secondary",children:[it.get(E,"sizeDescription"),a&&" | ",a&&h("ra.attachment.info",{user:a==null?void 0:a.name,created:Qr(E==null?void 0:E.createdAt).format("DD/MM/YYYY HH:mm")})]})]})})};Dd.propTypes={...R.FileField.propTypes,source:c.string,title:c.string,disabled:c.bool};const Vj=ce(R.ImageField,{name:"RaApplicaImageField",slot:"root"})(()=>({})),ws=e=>{const t=`_${e==null?void 0:e.source}`;return f.jsx(Vj,{...e,source:t})};ws.propTypes={...R.ImageField.propTypes,source:c.string};const Kl=({width:e,height:t,circle:n,justify:r,record:i,...a})=>{const l=S.useMemo(()=>({width:typeof e=="number"?`${e}px !important`:`${e} !important`,height:typeof t=="number"?`${t}px !important`:`${t} !important`,borderRadius:n?"50%":1.5}),[e,t,n]),u=R.useRecordContext(),d=i||u;return f.jsx(ws,{sx:g=>({margin:0,display:"flex",justifyContent:r,"& img":{margin:"0px !important",border:`1px solid ${g.palette.divider}`,objectFit:"cover !important",...l,minWidth:l.width,minHeight:l.height}}),...a,record:d})};Kl.defaultProps={...ws.defaultProps,width:150,height:150,circle:!1,justify:"flex-start"};Kl.propTypes={...ws.propTypes,width:c.oneOfType([c.number,c.string]),height:c.oneOfType([c.number,c.string]),circle:c.bool,justify:c.oneOf(["flex-start","center","flex-end"])};var K0={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(Ln,function(){return function(n,r,i){n=n||{};var a=r.prototype,l={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function u(g,p,E,h){return a.fromToBase(g,p,E,h)}i.en.relativeTime=l,a.fromToBase=function(g,p,E,h,m){for(var I,B,y,O=E.$locale().relativeTime||l,M=n.thresholds||[{l:"s",r:44,d:"second"},{l:"m",r:89},{l:"mm",r:44,d:"minute"},{l:"h",r:89},{l:"hh",r:21,d:"hour"},{l:"d",r:35},{l:"dd",r:25,d:"day"},{l:"M",r:45},{l:"MM",r:10,d:"month"},{l:"y",r:17},{l:"yy",d:"year"}],w=M.length,T=0;T<w;T+=1){var P=M[T];P.d&&(I=h?i(g).diff(E,P.d,!0):E.diff(g,P.d,!0));var H=(n.rounding||Math.round)(Math.abs(I));if(y=I>0,H<=P.r||!P.r){H<=1&&T>0&&(P=M[T-1]);var F=O[P.l];m&&(H=m(""+H)),B=typeof F=="string"?F.replace("%d",H):F(H,p,P.l,y);break}}if(p)return B;var K=y?O.future:O.past;return typeof K=="function"?K(B):K.replace("%s",B)},a.to=function(g,p){return u(g,p,this,!0)},a.from=function(g,p){return u(g,p,this)};var d=function(g){return g.$u?i.utc():i()};a.toNow=function(g){return this.to(d(this),g)},a.fromNow=function(g){return this.from(d(this),g)}}})})(K0);var Hj=K0.exports;const zj=Ii(Hj);Qr.extend(zj);const _l=e=>{const t=R.useRecordContext(e),[n]=R.useLocaleState(),r=S.useMemo(()=>Qr(it.get(t,e==null?void 0:e.source)).locale(n).fromNow(),[t,e==null?void 0:e.source,n]);return f.jsxs(S.Fragment,{children:[f.jsx(R.DateField,{record:t,source:e.source,showTime:!0}),f.jsx("br",{}),f.jsx(Q.Typography,{variant:"caption",color:"textSecondary",children:r})]})};_l.displayName="DateAgoField";_l.propTypes={source:c.string.isRequired};const _0=ce(R.DateField,{name:"RaApplicaDateField",slot:"Root"})(()=>({}));_0.propTypes={...R.DateField.propTypes};const Md=e=>f.jsx(_0,{...e});Md.defaultProps={...R.DateField.defaultProps,variant:"body1"};Md.propTypes={...R.DateField.propTypes};const q0=ce(R.EmailField,{name:"RaApplicaEmailField",slot:"Root"})(()=>({}));q0.propTypes={...R.EmailField.propTypes};const jd=e=>f.jsx(q0,{...e});jd.defaultProps={...R.EmailField.defaultProps,variant:"body1"};jd.propTypes={...R.EmailField.propTypes};const Wj=ce(R.FileField,{name:"RaApplicaFileField",slot:"root"})(()=>({})),kd=({...e})=>{const t=R.useRecordContext(e),n=S.useCallback(r=>{r.preventDefault(),r.stopPropagation();const i=it.get(t,`_${e==null?void 0:e.source}`,it.get(t,e==null?void 0:e.source)),a=it.get(t,(e==null?void 0:e.title)||(e==null?void 0:e.source))||(e==null?void 0:e.title),l=document.createElement("a");l.href=i,l.download=a,l.click()},[e==null?void 0:e.source,t,e==null?void 0:e.title]);return f.jsx(Wj,{...e,record:t,onClick:n})};kd.propTypes={...R.FileField.propTypes,source:c.string,title:c.string};const J0=e=>f.jsx(R.FunctionField,{...e});J0.defaultProps={variant:"body1"};const Uj=ce("div")(({theme:e})=>({borderBottom:`1px solid ${e.palette.divider}`,paddingTop:e.spacing(1),paddingBottom:e.spacing(1),marginBottom:e.spacing(1),whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",[e.breakpoints.down("sm")]:{whiteSpace:"normal",overflow:"visible",textOverflow:"inherit"}})),Fd=({source:e,defaultValue:t,...n})=>{const r=R.useRecordContext(n),i=it.get(r,e,t);return f.jsx("span",{dangerouslySetInnerHTML:{__html:i&&i!==null?i:t}})};Fd.propTypes={defaultValue:c.any,source:c.string,record:c.object};Fd.defaultProps={defaultValue:" "};const X0=({title:e,children:t})=>e&&e!==!1?f.jsx(Q.Tooltip,{title:e,placement:"top",children:t}):t;X0.propTypes={title:c.oneOfType([c.string,c.bool]),children:c.oneOfType([c.element,c.arrayOf(c.element)])};const Ld=({label:e,source:t,defaultValue:n,children:r,tooltip:i,...a})=>{const{getCurrentDialog:l}=So(),u=R.useRecordContext(a),d=R.useResourceContext(a),g=l(),p=S.useMemo(()=>!i||i===!1?!1:typeof i=="function"?i(u):typeof i=="string"?it.get(u,i,i):i,[u,i]);return f.jsx(X0,{title:p,children:f.jsxs(S.Fragment,{children:[f.jsx(Q.InputLabel,{children:f.jsx(R.FieldTitle,{label:e,source:t,resource:g||d})}),f.jsx(Uj,{...a,children:S.cloneElement(r,{source:t,record:u,defaultValue:n,resource:g||d})})]})})};Ld.propTypes={defaultValue:c.any,tooltip:c.oneOfType([c.string,c.bool,c.func]),source:c.string,label:c.string,name:c.string,children:c.element};Ld.defaultProps={defaultValue:" ",children:f.jsx(Fd,{})};const Yj=yi("div",{name:"RaApplicaReferenceManyField",slot:"root"})(({theme:e,margin:t,border:n})=>({marginLeft:t?0:`-${e.spacing(2.5)}`,marginRight:t?0:`-${e.spacing(2.5)}`,borderBottom:n?`1px solid ${e.palette.divider}`:"none","& form":{padding:e.spacing(2)},"& .MuiCardContent-root":{borderTop:n?`1px solid ${e.palette.divider}`:"none"},"& .MuiToolbar-root":{[e.breakpoints.up("sm")]:{marginTop:`-${e.spacing(2)}`,marginBottom:e.spacing(t?0:1),marginLeft:e.spacing(t?1:2.5),marginRight:e.spacing(t?1:2.5),width:t?"auto":`calc(100% - ${e.spacing(5)})`},[e.breakpoints.down("md")]:{marginTop:0}},"& .RaDatagrid-root":{overflowX:"auto",[e.breakpoints.down("sm")]:{width:"calc(100vw - 34px)"}},"& .RaDatagrid-table":{borderBottom:`1px solid ${e.palette.divider}`},"& .MuiTablePagination-toolbar":{marginTop:e.spacing(1),marginBottom:0},"& .RaBulkActionsToolbar-collapsed.RaBulkActionsToolbar-toolbar":{minHeight:0},"& .RaBulkActionsToolbar-toolbar":{minHeight:64,"& h6":{marginTop:e.spacing(.5)},"& .RaBulkActionsToolbar-topToolbar":{marginTop:e.spacing(1)}}})),xi=e=>f.jsx(Yj,{children:f.jsx(R.ReferenceManyField,{...e})});xi.defaultProps={...R.ReferenceManyField.defaultProps,margin:!1,border:!1};xi.propTypes={...R.ReferenceManyField.propTypes,margin:c.bool,border:c.bool};const Z0=({source:e,...t})=>{const n=R.useRecordContext(t),r=it.get(n,e,0),i=r/1024,a=i/1024,l=a/1024,u=l>1?`${l.toFixed(2)} GB`:a>1?`${a.toFixed(2)} MB`:i>1?`${i.toFixed(2)} KB`:`${r.toFixed(2)} B`;return f.jsx(Q.Typography,{component:"span",variant:"body1",...t,children:u})};Z0.propTypes={record:c.object,source:c.string};const $0=ce(R.TextField,{name:"RaApplicaTextField",slot:"Root"})(()=>({}));$0.propTypes={...R.TextField.propTypes};const Nd=e=>f.jsx($0,{...e});Nd.defaultProps={...R.TextField.defaultProps,variant:"body1"};Nd.propTypes={...R.TextField.propTypes};const at=({label:e,children:t,display:n,helperText:r,sx:i,addLabel:a,divider:l,...u})=>{const d=Wt.useTheme(),{getCurrentDialog:g}=So(),{source:p,resource:E,isRequired:h}=u,{fieldState:{invalid:m}}=R.useInput(u),I=g();return f.jsxs(Q.Stack,{spacing:1,sx:{"& .MuiFormHelperText-root":{color:m?d.palette.error.main:d.palette.text.secondary,"& span":{display:"none"}},...i},children:[n==="label"&&e!==!1&&a!==!1&&f.jsx(Q.InputLabel,{error:m===!0,sx:{borderBottom:l?`1px solid ${d.palette.divider}`:"none",pb:l?1:0,mt:l?1:0},children:f.jsx(R.FieldTitle,{label:e,source:p,resource:I||E,isRequired:h})}),S.isValidElement(t)?S.cloneElement(t,{...t.props,...u,label:n==="legend"?e:!1}):t,n==="label"&&r&&f.jsx(Q.FormHelperText,{sx:{pl:1.8,pb:2,marginTop:"0 !important"},error:m===!0,children:r})]})};at.propTypes={sx:c.object,children:c.element,label:c.oneOfType([c.string,c.bool]),addLabel:c.bool,resource:c.string,isRequired:c.bool,source:c.string,display:c.oneOf(["legend","label"]),helperText:c.oneOfType([c.string,c.bool]),divider:c.bool};at.defaultProps={display:"label",divider:!1};const Gj=e=>e?{"& .RaFileInput-removeButton > .RaFileInputPreview-removeButton":{display:"none",visiblity:"hidden"},"& .RaFileInput-dropZone":{display:"none",visiblity:"hidden"}}:{},Kj=ce(R.FileInput,{name:"RaApplicaFileInput",slot:"root"})(({disabled:e,theme:t})=>({"& .previews":{},"& .previews>div":{marginTop:t.spacing(1),padding:t.spacing(1.5),border:`1px solid ${t.palette.divider}`,borderRadius:t.shape.borderRadius,"& button":{float:"right",placeItems:"flex-end",verticalAlign:"middle"},"&:hover":{backgroundColor:t.palette.action.hover},"& .MuiLink-root":{fontSize:t.typography.body1.fontSize}},...Gj(e)})),Vd=({children:e,disabled:t,...n})=>{const r=R.useRecordContext(n),i=n==null?void 0:n.source,a=r==null?void 0:r.id;return f.jsx(at,{...n,children:f.jsx(Kj,{disabled:t,children:S.cloneElement(e,{...e.props,entityId:a,property:i})})})};Vd.propTypes={...R.FileInput.propTypes,children:c.node,multiple:c.bool,disabled:c.bool};Vd.defaultProps={children:f.jsx(Dd,{title:"name",source:"path"}),multiple:!0,disabled:!1};const _j=ce(R.AutocompleteArrayInput,{name:"StyledAutocompleteInput",root:"root"})(({label:e})=>({"& legend":{width:e===!1?0:"auto"}})),eI=({...e})=>f.jsx(at,{...e,children:f.jsx(_j,{})});eI.propTypes={...R.AutocompleteArrayInput.propTypes,...at.propTypes};const qj=ce(R.AutocompleteInput,{name:"StyledAutocompleteInput",root:"root"})(({label:e})=>({"& legend":{width:e===!1?0:"auto"}})),tI=e=>{const{perPage:t,...n}=e;return f.jsx(at,{...n,children:f.jsx(qj,{})})};tI.propTypes={...R.AutocompleteInput.propTypes,...at.propTypes};const Jj=ce(R.BooleanInput,{name:"RaApplicaBooleanInput",slot:"Root"})(()=>({})),Hd=({horizontal:e,...t})=>{const n=ut();return f.jsx(at,{...t,sx:e?{flexDirection:e?"row":"column",alignItems:e?"center":"flex-start","& .MuiFormGroup-root":{margin:0},"& .MuiFormControlLabel-root":{margin:0,"& .MuiTypography-root":{display:"none",visibility:"hidden"},"& .MuiSwitch-root":{marginRight:`-${n.spacing(.5)}`}}}:{},children:f.jsx(Jj,{})})};Hd.defaultProps={...R.BooleanInput.defaultProps,...at.defaultProps};Hd.propTypes={...R.BooleanInput.propTypes,...at.propTypes,horizontal:c.bool};const Xj=ce(R.DateInput,{name:"RaApplicaDateInput",slot:"root"})(({label:e})=>({"& legend":{width:e===!1?0:"auto"}})),zd=e=>f.jsx(at,{...e,children:f.jsx(Xj,{})});zd.propTypes={...R.DateInput.propTypes,...at.propTypes};zd.defaultProps={...R.DateInput.defaultProps,...at.defaultProps};const Zj=ce(R.DateTimeInput,{name:"RaApplicaDateTimeInput",slot:"root"})(({label:e})=>({"& legend":{width:e===!1?0:"auto"}})),Wd=e=>f.jsx(at,{...e,children:f.jsx(Zj,{})});Wd.propTypes={...R.DateTimeInput.propTypes,...at.propTypes};Wd.defaultProps={...at.defaultProps};const $j=ce(R.FileInput,{name:"RaApplicaFileInput",slot:"root"})(({theme:e})=>({"& .previews":{},"& .previews>div":{marginTop:e.spacing(1),padding:e.spacing(1.5),border:`1px solid ${e.palette.divider}`,borderRadius:e.shape.borderRadius,"& button":{float:"right",placeItems:"flex-end",verticalAlign:"middle"},"&:hover":{backgroundColor:e.palette.action.hover},"& .MuiLink-root":{fontSize:e.typography.body1.fontSize}}})),Ud=({children:e,title:t,...n})=>{const r=To.useWatch({name:n.source}),i=R.useRecordContext(n),{source:a}=n,l=S.useMemo(()=>{if(r&&(r!=null&&r.title))return r==null?void 0:r.title;const u=it.get(i,a);if(u){const d=u.split("__");return d.length>0?d[d.length-1]:u}return u},[i,a,r]);return f.jsx(at,{...n,children:f.jsx($j,{children:S.cloneElement(e,{...e.props,title:t||a,source:a,record:{...i,[a]:(r==null?void 0:r.title)||it.get(i,a),[`_${a}`]:(r==null?void 0:r.src)||it.get(i,`_${a}`),[t||a]:l}})})})};Ud.propTypes={...R.FileInput.propTypes,source:c.string,title:c.string,children:c.node};Ud.defaultProps={children:f.jsx(kd,{})};const Yd=({children:e,title:t,...n})=>{const r=To.useWatch({name:n.source}),i=R.useRecordContext(n),{source:a}=n;return f.jsx(at,{...n,children:f.jsx(R.ImageInput,{accept:"image/*",children:S.cloneElement(e,{...e.props,title:t,source:a,record:{...i,[a]:(r==null?void 0:r.title)||it.get(i,a),[`_${a}`]:(r==null?void 0:r.src)||it.get(i,`_${a}`)}})})})};Yd.defaultProps={children:f.jsx(Kl,{}),multiple:!1};Yd.propTypes={...R.ImageInput.propTypes,source:c.string,title:c.string,children:c.node,multiple:c.bool};const ek=ce(R.NumberInput,{name:"RaApplicaNumberInput",slot:"root"})(({label:e})=>({"& legend":{width:e===!1?0:"auto"}})),Gd=e=>f.jsx(at,{...e,children:f.jsx(ek,{})});Gd.propTypes={...R.NumberInput.propTypes,...at.propTypes};Gd.defaultProps={...R.NumberInput.defaultProps,...at.defaultProps};const nI=({source:e,minWidth:t=300,children:n})=>{const r=R.useResourceContext(),i=R.useRecordContext(),[a,l]=S.useState(it.get(i,e,"")),[u,d]=S.useState(!1),g=S.useCallback(I=>l(I.target.value),[]),p=R.useDataProvider(),E=S.useCallback(I=>{I.key==="Enter"&&(d(!0),p.update(r,{id:i.id,data:{...i,[e]:a,_changed:e}}).then(()=>d(!1)))},[a,p,r,i,e]),h=S.useCallback(()=>{it.get(i,e)!==a&&(d(!0),p.update(r,{id:i.id,data:{...i,[e]:a,_changed:e}}).then(()=>d(!1)))},[a,p,r,e,i]),m=S.useCallback(I=>{d(!0),p.update(r,{id:i.id,data:{...i,[e]:I,_changed:e}}).then(()=>d(!1))},[p,r,e,i]);return S.useEffect(()=>l(it.get(i,e)),[i,e]),n?S.cloneElement(n,{...n.props,source:e,value:a,onChange:m}):f.jsx(Q.TextField,{value:a,disabled:u,onChange:g,onKeyPress:E,onBlur:h,style:{minWidth:t,width:"100%"},multiline:!0,InputProps:{"arial-label":"naked"},size:"small"})};nI.propTypes={source:c.string.isRequired,minWidth:c.number,children:c.element};const Kd=({children:e,...t})=>f.jsx(R.ReferenceArrayInput,{...t,children:S.cloneElement(e,{...t,source:e.props.source||t.source})});Kd.propTypes={...R.ReferenceArrayInput.propTypes,children:c.element};Kd.defaultProps={...R.ReferenceArrayInput.defaultProps};const _d=({children:e,...t})=>f.jsx(R.ReferenceInput,{...t,children:S.cloneElement(e,{...t,source:e.props.source||t.source})});_d.propTypes={...R.ReferenceInput.propTypes,children:c.element};_d.defaultProps={...R.ReferenceInput.defaultProps};const qd=({reference:e,target:t,children:n,filters:r,actions:i,...a})=>f.jsx(R.ResourceContextProvider,{value:e,children:f.jsx(xi,{perPage:5,pagination:f.jsx(R.Pagination,{}),...a,reference:e,target:t,children:f.jsxs(S.Fragment,{children:[f.jsx(R.ListToolbar,{filters:r,actions:i}),n]})})});qd.propTypes={...xi.propTypes,children:c.node.isRequired,reference:c.string.isRequired,target:c.string.isRequired,filters:c.oneOfType([c.element,c.func,c.element,c.arrayOf(c.node)]),actions:c.oneOfType([c.element,c.func,c.element])};qd.defaultProps={...xi.defaultProps};const tk=ce(R.SearchInput,{name:"RaApplicaSearchInput",slot:"root"})(()=>({})),nk=e=>f.jsx(tk,{...e}),rI=ce(R.SelectArrayInput,{name:"RaApplicaSelectArrayInput",slot:"Root"})(({label:e})=>({"& legend":{width:e===!1?0:"auto"},"& .RaSelectArrayInput-chips":{"& .RaSelectArrayInput-chip":{marginTop:0}}}));rI.propTypes={...R.SelectArrayInput.propTypes};const Jd=e=>f.jsx(at,{...e,children:f.jsx(rI,{options:{autoWidth:!1}})});Jd.defaultProps={optionText:"name",optionValue:"id"};Jd.propTypes={...R.SelectArrayInput.propTypes,...at.propTypes};const rk=ce(R.SelectInput,{name:"RaApplicaSelectArrayInput",slot:"Root"})(({label:e})=>({"& legend":{width:e===!1?0:"auto"}})),oI=e=>f.jsx(at,{...e,children:f.jsx(rk,{})});oI.propTypes={...R.SelectInput.propTypes,...at.propTypes};const Vn=e=>f.jsx(at,{...e,children:f.jsx(R.TextInput,{})});Vn.propTypes={...R.TextInput.propTypes,...at.propTypes};const ql=({...e})=>{var u,d;const t=R.useTranslate(),n=R.maxLength(e==null?void 0:e.maxLength,"app.input.max_length_error"),r=(d=(u=To.useController({name:e==null?void 0:e.source}))==null?void 0:u.field)==null?void 0:d.value;let i=e.helperText,a=e.validate;a?Array.isArray(a)&&a.indexOf(n)===-1&&a.push(n):a=[n];const l=t("app.input.max_length_info",{count:(r==null?void 0:r.length)||0,max:e==null?void 0:e.maxLength});return e!=null&&e.maxLength&&(i=i&&i.length>0?`${l} - ${t(i)}`:l),f.jsx(Vn,{...e,validate:a,helperText:i})};ql.displayName="SmartTextInput";ql.defaultProps={multiline:!1};ql.propTypes={...Vn.propTypes,maxLength:c.number,multiline:c.bool,rows:c.number};const iI=e=>{const t=e.split(":");t.length===1&&t.push("00");const n=parseInt(t[0]),r=parseInt(t[1]);return Qr().hour(n).minute(r)};function ok(){let e=new Date().getTime();return window.performance&&typeof window.performance.now=="function"&&(e+=performance.now()),"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(n){const r=(e+Math.random()*16)%16|0;return e=Math.floor(e/16),(n=="x"?r:r&3|8).toString(16)})}const ik=e=>{if(!e)return"";const t=iI(e);return t?t.format("HH:mm"):""},sk=e=>e,ak=ce(R.TimeInput,{name:"RaApplicaTimeInput",slot:"root"})(({label:e})=>({"& legend":{width:e===!1?0:"auto"}})),Xd=e=>f.jsx(at,{...e,children:f.jsx(ak,{})});Xd.defaultProps={...R.TimeInput.defaultProps,format:ik,parse:sk};Xd.propTypes={...R.TimeInput.propTypes,...at.propTypes};const Zd=({onSuccess:e,firstAccess:t})=>{const{spacing:n}=Ut(),[r,i]=S.useState(!1),a=Qe.useAuthProvider(),l=Qe.useTranslate(),u=Qe.useNotify(),d=S.useCallback(g=>{const{oldPassword:p,newPassword:E}=g;i(!0),a==null||a.changePassword(p,E).then(()=>{u("ra.auth.password_changed"),e()}).catch(h=>u(h,{type:"error"})).finally(()=>i(!1))},[a,e]);return f.jsx(Qe.ResourceContextProvider,{value:"user/change-password",children:f.jsx(Qe.EditContextProvider,{value:{record:{},resource:"user/change-password",save:d},children:f.jsx(Yl,{onSubmit:d,toolbar:f.jsx(Tr,{children:f.jsx(O0,{disabled:r})}),children:f.jsxs(Q.Grid,{container:!0,spacing:n,children:[t===!0&&f.jsx(Q.Grid,{item:!0,xs:12,children:f.jsxs(Q.Alert,{severity:"warning",children:[f.jsx(Q.AlertTitle,{children:l("ra.auth.first_access.change_password")}),l("ra.auth.first_access.change_password_helper")]})}),f.jsx(Q.Grid,{item:!0,xs:12,children:f.jsx(Vn,{source:"oldPassword",type:"password",validate:Qe.required()})}),f.jsx(Q.Grid,{item:!0,xs:12,children:f.jsx(Vn,{source:"newPassword",type:"password",validate:Qe.required()})})]})})})})},lk=ce(R.Edit,{name:"RaApplicaEdit",slot:"root"})(({theme:e})=>({"& .RaEdi-card, & > div > div > form":{backgroundColor:e.palette.background.default},"& .RaEdit-main>.MuiPaper-root:first-of-type":{overflow:"visible"}})),ck=ce(Q.CardHeader)(({theme:e})=>({marginTop:e.spacing(4),marginLeft:0,marginRight:0,paddingLeft:0,paddingRight:0})),uk=ce(Q.Divider)(({theme:e})=>({marginLeft:`-${e.spacing(2.5)}`,marginRight:`-${e.spacing(2.5)}`,marginBottom:e.spacing(2),width:`calc(100% + ${e.spacing(5)})`})),$d=({title:e,divider:t,variant:n})=>{const r=R.useTranslate();return f.jsxs(S.Fragment,{children:[f.jsx(ck,{title:r(e,{_:e}),titleTypographyProps:{variant:n}}),t&&f.jsx(uk,{})]})};$d.propTypes={title:c.string.isRequired,divider:c.bool,variant:c.oneOf(["h1","h2","h3","h4","h5","h6"])};$d.defaultProps={divider:!0,variant:"h4"};const al=c.shape({xl:c.number,lg:c.number,md:c.number,sm:c.number,xs:c.number}),Ak=ce("div")(({theme:e})=>({marginBottom:e.spacing(2)})),Jl=({children:e,visibility:t})=>Q.useMediaQuery(r=>r.breakpoints.up(t))?f.jsx(Ak,{children:e}):null;Jl.propTypes={visibility:c.oneOf(["xl","lg","md","sm","xs"]),position:c.oneOf(["top","bottom"]).isRequired,children:c.node.isRequired};Jl.defaultProps={position:"top",visibility:"md"};const dk={display:"none"},Xl=({intent:e,hidden:t,unmountOnExit:n,label:r,icon:i,value:a,syncWithLocation:l,selected:u,onChange:d,children:g,badgeColor:p,badgeContent:E,...h})=>{const m=R.useTranslate(),I=Yr.useLocation(),B={component:gt.Link,to:{...I,pathname:a}},y=S.isValidElement(r)?r:m(r,{_:r}),O=S.useCallback(()=>d(a),[d,a]);return e==="header"?(()=>f.jsxs(Q.ListItemButton,{selected:u,...l?B:{},onClick:O,children:[i&&f.jsx(Q.ListItemIcon,{children:i}),f.jsx(Q.ListItemText,{primary:y}),E&&f.jsx(Q.ListItemSecondaryAction,{children:f.jsx(Q.Avatar,{sx:{width:24,height:24,fontSize:12,backgroundColor:T=>{var P;return(P=T.palette[p])==null?void 0:P.main},color:T=>{var P;return(P=T.palette[p])==null?void 0:P.contrastText}},children:E})})]}))():(()=>n&&t?null:f.jsx(R.FormGroupContextProvider,{name:a.toString(),children:f.jsx(Q.Stack,{alignContent:"stretch",style:t?dk:{},id:`tabpanel-${a}`,"aria-labelledby":`tabheader-${a}`,"aria-hidden":t||void 0,...h,children:g})}))()};Xl.propTypes={intent:c.oneOf(["header","content","sidebar"]),className:c.string,contentClassName:c.string,url:c.string,icon:c.element,label:c.oneOfType([c.string,c.element]).isRequired,value:c.oneOfType([c.string,c.number]),syncWithLocation:c.bool,onChange:c.func,selected:c.bool,hidden:c.bool,unmountOnExit:c.bool,children:c.node,badgeColor:c.oneOf(["default","error","info","primary","secondary","success","warning"]),badgeContent:c.oneOfType([c.string,c.number])};Xl.defaultProps={badgeColor:"default",unmountOnExit:!1};const gk=yi(Q.List,{name:"RaLongFormTabs",slot:"Root"})(({theme:e})=>({p:0,"& .MuiListItemIcon-root":{minWidth:32,color:e.palette.grey[500]},"& .MuiListItemButton-root.Mui-selected":{borderRight:`2px solid ${e.palette.primary.main}`,marginRight:"-2px"}})),sI=({children:e,syncWithLocation:t,value:n,url:r,onChange:i})=>{const a=Yr.useLocation();return f.jsx(Nn,{children:f.jsx(gk,{component:"nav",children:S.Children.map(e,(l,u)=>{if(!S.isValidElement(l))return null;const d=fk(l,u),g=t?!!Yr.matchPath(`${r}/${d}`,a.pathname):u===n;return S.cloneElement(l,{intent:"header",value:t?d:u,syncWithLocation:t,onChange:i,url:r,selected:g})})})})},fk=(e,t)=>e.props.path!=null?e.props.path:t>0?t.toString():"";sI.propTypes={children:c.node,url:c.string,tabsWithErrors:c.arrayOf(c.string),syncWithLocation:c.bool,onChange:c.func,value:c.oneOfType([c.string,c.number])};var pk=e=>{let t=e;for(;t=t.parentElement;){const n=getComputedStyle(t,null).getPropertyValue("overflow-y");if(t===document.body)return window;if(n==="auto"||n==="scroll"||n==="overlay")return t}return window},aI=e=>e.firstChild?e.firstChild.offsetParent===e:!0,hk=(e,t)=>{let n=e,r=0;aI(t)||(r+=e.offsetTop-t.offsetTop,t=e.offsetParent,r+=-e.offsetTop);do r+=n.offsetTop,n=n.offsetParent;while(n&&n!==t);return r},Ck=e=>{let t=e.parentElement;for(;t&&getComputedStyle(t,null).getPropertyValue("display")==="contents";)t=t.parentElement;return t||window},Is=null;typeof CSS<"u"&&CSS.supports&&(CSS.supports("position","sticky")?Is="sticky":CSS.supports("position","-webkit-sticky")&&(Is="-webkit-sticky"));var ll=!1;try{const e=Object.defineProperty({},"passive",{get(){ll={passive:!0}}}),t=()=>{};window.addEventListener("testPassive",t,e),window.removeEventListener("testPassive",t,e)}catch{}var Nu=e=>{const{el:t,onChange:n,unsubs:r,measure:i}=e;if(t===window){const a=()=>({top:0,left:0,height:window.innerHeight,width:window.innerWidth}),l=i(a()),u=()=>{Object.assign(l,i(a())),n()};return window.addEventListener("resize",u,ll),r.push(()=>window.removeEventListener("resize",u)),l}else{const a=i(t.getBoundingClientRect()),l=()=>{Object.assign(a,i(t.getBoundingClientRect())),n()},u=new ResizeObserver(l);return u.observe(t),r.push(()=>u.disconnect()),a}},Ek=e=>{const t=getComputedStyle(e,null),n=parseInt(t.getPropertyValue("padding-top"),10),r=parseInt(t.getPropertyValue("padding-bottom"),10);return{top:n,bottom:r}},mk=(e,t,n)=>{const{bottom:r,offsetBottom:i,offsetTop:a}=n,l=pk(e);let u=!1;const d=()=>{u||requestAnimationFrame(()=>{const F=E();F!==w&&T(F),u=!1}),u=!0};let g=l===window?window.scrollY:l.scrollTop;const p=F=>{const{offsetTop:K,height:Z}=m,{naturalTop:G}=y,{height:ee}=O;return F+K+Z>=G+ee+M+i},E=()=>{const{height:F}=m,{height:K}=O;return K+a+i<=F?3:p(g)?1:2},h=l!==window&&aI(l),m=Nu({el:l,onChange:d,unsubs:t,measure:({height:F,top:K})=>({height:F,offsetTop:h?K:0})}),I=Ck(e),B=I===window?{top:0,bottom:0}:Ek(I),y=Nu({el:I,onChange:d,unsubs:t,measure:({height:F})=>({height:F-B.top-B.bottom,naturalTop:I===window?0:hk(I,l)+B.top+m.offsetTop})}),O=Nu({el:e,onChange:d,unsubs:t,measure:({height:F})=>({height:F})});let M=0,w=E();const T=F=>{const K=w;if(w=F,K===2&&(M=-1),F===3){e.style.position=Is,r?e.style.bottom=`${i}px`:e.style.top=`${a}px`;return}const{height:Z,offsetTop:G}=m,{height:ee,naturalTop:le}=y,{height:de}=O;if(F===2)if(e.style.position="relative",M=K===0?Math.max(0,G+g-le+a):Math.max(0,G+g+Z-(le+de+i)),r){const _=Math.max(0,ee-de-M);e.style.bottom=`${_}px`}else e.style.top=`${M}px`;else e.style.position=Is,F===1?r?e.style.bottom=`${i}px`:e.style.top=`${Z-de-i}px`:r?e.style.bottom=`${Z-de-i}px`:e.style.top=`${a}px`};T(w);const P=F=>{if(F===g)return;const K=F-g;if(g=F,w===3)return;const{offsetTop:Z,height:G}=m,{naturalTop:ee,height:le}=y,{height:de}=O;if(K>0)if(w===0){if(F+Z+a>ee){const _=Math.max(0,Z+g-ee+a);F+Z+G<=ee+de+_+i?T(2):T(1)}}else w===2&&p(F)&&T(1);else if(w===1){if(Z+F+G<ee+le+i){const _=Math.max(0,Z+g+G-(ee+de+i));Z+F+a>=ee+_?T(2):T(0)}}else w===2&&Z+F+a<ee+M&&T(0)},H=l===window?()=>P(window.scrollY):()=>P(l.scrollTop);l.addEventListener("scroll",H,ll),l.addEventListener("mousewheel",H,ll),t.push(()=>l.removeEventListener("scroll",H),()=>l.removeEventListener("mousewheel",H))},Ik=({offsetTop:e=0,offsetBottom:t=0,bottom:n=!1}={})=>{const[r,i]=S.useState(null);return S.useEffect(()=>{if(!r||!Is)return;const a=[];return mk(r,a,{offsetBottom:t,offsetTop:e,bottom:n}),()=>{a.forEach(l=>l())}},[r,t,e,n]),i},Bk=e=>{const{offsetTop:t,offsetBottom:n,bottom:r,children:i,className:a,style:l}=e,u=Ik({offsetTop:t,offsetBottom:n,bottom:r});return f.jsx("div",{className:a,style:l,ref:u,children:i})},yk=Bk;const vk=ce(Q.Grid,{name:"ApplicaLongFormView",slot:"Root"})(({theme:e})=>({"& .MuiToolbar-root":{position:"initial",marginTop:e.spacing(2),marginLeft:`-${e.spacing(3)}`,marginRight:`-${e.spacing(3)}`,marginBottom:`-${e.spacing(2)}`,borderTop:`1px solid ${e.palette.divider}`,[e.breakpoints.down("sm")]:{position:"initial !important",width:"auto !important"}},"& form > .MuiToolbar-root":{margin:0,marginRight:`-${e.spacing(.5)}`,[e.breakpoints.down("sm")]:{marginRight:e.spacing(.5)}}})),wC=(e,t)=>e&&e.type===Jl&&e.props.position===t,bk=e=>e&&e.type===Xl,eg=({children:e,formRootPathname:t,syncWithLocation:n,spacing:r,tabs:i,tabsDisposition:a,contentDisposition:l,sticky:u,...d})=>{const[g,p]=S.useState(0),E=Yr.useResolvedPath(""),h=R.useResourceContext(d),m=Yr.useLocation(),I=S.useMemo(()=>S.Children.toArray(e).find(T=>wC(T,"top")),[e]),B=S.useMemo(()=>S.Children.toArray(e).find(T=>wC(T,"bottom")),[e]),y=S.useMemo(()=>S.Children.toArray(e).filter(T=>bk(T)),[e]),O=T=>{n||p(T)},M=()=>S.cloneElement(i,{onChange:O,syncWithLocation:n,url:t,value:g,intent:"header"},y),w=S.useMemo(()=>f.jsxs(S.Fragment,{children:[I,n?f.jsx(Yr.Routes,{children:f.jsx(Yr.Route,{path:"/*",element:M()})}):M(),B]}),[I,n,M,B]);return f.jsxs(vk,{container:!0,spacing:r*2,children:[f.jsx(Q.Grid,{item:!0,...a,children:u?f.jsx(yk,{offsetTop:74,offsetBottom:r*2,children:w}):w}),f.jsx(Q.Grid,{item:!0,...l,children:S.Children.map(y,(T,P)=>{if(!T)return null;const H=R.getTabbedFormTabFullPath(T,P),F=n?!Yr.matchPath(`${E.pathname}/${H}`,m.pathname):g!==P;return S.isValidElement(T)?S.cloneElement(T,{intent:"content",resource:h,hidden:F,value:n?H:P}):null})})]})};eg.propTypes={children:c.node,spacing:c.number,syncWithLocation:c.bool,tabs:c.element,formRootPathname:c.string,tabsDisposition:al,contentDisposition:al};eg.defaultProps={tabs:f.jsx(sI,{})};const Qk=()=>{const e=gt.useLocation(),t=["entities/:resource/create/*",":resource/create/*","entities/:resource/:id/*",":resource/:id/*"];for(const n of t){const r=gt.matchPath(n,e.pathname);if(r)return r.pathnameBase}return""},Ts=({spacing:e,...t})=>{const n=Qk(),{spacing:r}=Ut(),i=e||r;return f.jsx(R.Form,{formRootPathname:n,...t,children:f.jsx(eg,{formRootPathname:n,...t,spacing:i})})};Ts.propTypes={syncWithLocation:c.bool,spacing:c.number,tabsDisposition:al,contentDisposition:al,sticky:c.bool};Ts.defaultProps={syncWithLocation:!1,sticky:!0,spacing:2,tabsDisposition:{xl:3,lg:3,md:4,sm:4,xs:12},contentDisposition:{xl:9,lg:9,md:8,sm:8,xs:12}};Ts.Tab=Xl;Ts.Sidebar=Jl;const xk=ce(z0,{name:"ApplicaSimpleFormIterator",root:"root"})(({theme:e})=>({"& .RaSimpleFormIterator-line":{paddingTop:e.spacing(1),paddingBottom:e.spacing(.5)},"& .RaSimpleFormIterator-action":{display:"flex",flexDirection:"row",alignItems:"center",mb:1.5},"& section":{width:"100%","& label":{position:"relative",overflow:"visible",transform:"none",ml:0}}})),Zl=yi(R.TabbedForm,{name:"RaApplicaTabbedForm",slot:"Root"})(()=>({}));Zl.propTypes={...R.TabbedForm.propTypes};Zl.defaultProps={...R.TabbedForm.defaultProps};Zl.Tab=R.TabbedForm.Tab;const lI=S.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),$l=S.createContext({}),tg=S.createContext(null),ec=typeof document<"u",wk=ec?S.useLayoutEffect:S.useEffect,cI=S.createContext({strict:!1});function Tk(e,t,n,r){const{visualElement:i}=S.useContext($l),a=S.useContext(cI),l=S.useContext(tg),u=S.useContext(lI).reducedMotion,d=S.useRef();r=r||a.renderer,!d.current&&r&&(d.current=r(e,{visualState:t,parent:i,props:n,presenceContext:l,blockInitialAnimation:l?l.initial===!1:!1,reducedMotionConfig:u}));const g=d.current;S.useInsertionEffect(()=>{g&&g.update(n,l)});const p=S.useRef(!!window.HandoffAppearAnimations);return wk(()=>{g&&(g.render(),p.current&&g.animationState&&g.animationState.animateChanges())}),S.useEffect(()=>{g&&(g.updateFeatures(),!p.current&&g.animationState&&g.animationState.animateChanges(),window.HandoffAppearAnimations=void 0,p.current=!1)}),g}function ai(e){return typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function Pk(e,t,n){return S.useCallback(r=>{r&&e.mount&&e.mount(r),t&&(r?t.mount(r):t.unmount()),n&&(typeof n=="function"?n(r):ai(n)&&(n.current=r))},[t])}function Bs(e){return typeof e=="string"||Array.isArray(e)}function tc(e){return typeof e=="object"&&typeof e.start=="function"}const ng=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],rg=["initial",...ng];function nc(e){return tc(e.animate)||rg.some(t=>Bs(e[t]))}function uI(e){return!!(nc(e)||e.variants)}function Sk(e,t){if(nc(e)){const{initial:n,animate:r}=e;return{initial:n===!1||Bs(n)?n:void 0,animate:Bs(r)?r:void 0}}return e.inherit!==!1?t:{}}function Rk(e){const{initial:t,animate:n}=Sk(e,S.useContext($l));return S.useMemo(()=>({initial:t,animate:n}),[TC(t),TC(n)])}function TC(e){return Array.isArray(e)?e.join(" "):e}const PC={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},ys={};for(const e in PC)ys[e]={isEnabled:t=>PC[e].some(n=>!!t[n])};function Ok(e){for(const t in e)ys[t]={...ys[t],...e[t]}}const AI=S.createContext({}),dI=S.createContext({}),Dk=Symbol.for("motionComponentSymbol");function Mk({preloadedFeatures:e,createVisualElement:t,useRender:n,useVisualState:r,Component:i}){e&&Ok(e);function a(u,d){let g;const p={...S.useContext(lI),...u,layoutId:jk(u)},{isStatic:E}=p,h=Rk(u),m=r(u,E);if(!E&&ec){h.visualElement=Tk(i,m,p,t);const I=S.useContext(dI),B=S.useContext(cI).strict;h.visualElement&&(g=h.visualElement.loadFeatures(p,B,e,I))}return k.createElement($l.Provider,{value:h},g&&h.visualElement?k.createElement(g,{visualElement:h.visualElement,...p}):null,n(i,u,Pk(m,h.visualElement,d),m,E,h.visualElement))}const l=S.forwardRef(a);return l[Dk]=i,l}function jk({layoutId:e}){const t=S.useContext(AI).id;return t&&e!==void 0?t+"-"+e:e}function kk(e){function t(r,i={}){return Mk(e(r,i))}if(typeof Proxy>"u")return t;const n=new Map;return new Proxy(t,{get:(r,i)=>(n.has(i)||n.set(i,t(i)),n.get(i))})}const Fk=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function og(e){return typeof e!="string"||e.includes("-")?!1:!!(Fk.indexOf(e)>-1||/[A-Z]/.test(e))}const cl={};function Lk(e){Object.assign(cl,e)}const Ps=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Ro=new Set(Ps);function gI(e,{layout:t,layoutId:n}){return Ro.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!cl[e]||e==="opacity")}const dn=e=>!!(e&&e.getVelocity),Nk={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},Vk=Ps.length;function Hk(e,{enableHardwareAcceleration:t=!0,allowTransformNone:n=!0},r,i){let a="";for(let l=0;l<Vk;l++){const u=Ps[l];if(e[u]!==void 0){const d=Nk[u]||u;a+=`${d}(${e[u]}) `}}return t&&!e.z&&(a+="translateZ(0)"),a=a.trim(),i?a=i(e,r?"":a):n&&r&&(a="none"),a}const fI=e=>t=>typeof t=="string"&&t.startsWith(e),pI=fI("--"),TA=fI("var(--"),zk=/var\s*\(\s*--[\w-]+(\s*,\s*(?:(?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)+)?\s*\)/g,Wk=(e,t)=>t&&typeof e=="number"?t.transform(e):e,qr=(e,t,n)=>Math.min(Math.max(n,e),t),Oo={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},cs={...Oo,transform:e=>qr(0,1,e)},Pa={...Oo,default:1},us=e=>Math.round(e*1e5)/1e5,rc=/(-)?([\d]*\.?[\d])+/g,hI=/(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,Uk=/^(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function Ss(e){return typeof e=="string"}const Rs=e=>({test:t=>Ss(t)&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),Wr=Rs("deg"),ir=Rs("%"),Oe=Rs("px"),Yk=Rs("vh"),Gk=Rs("vw"),SC={...ir,parse:e=>ir.parse(e)/100,transform:e=>ir.transform(e*100)},RC={...Oo,transform:Math.round},CI={borderWidth:Oe,borderTopWidth:Oe,borderRightWidth:Oe,borderBottomWidth:Oe,borderLeftWidth:Oe,borderRadius:Oe,radius:Oe,borderTopLeftRadius:Oe,borderTopRightRadius:Oe,borderBottomRightRadius:Oe,borderBottomLeftRadius:Oe,width:Oe,maxWidth:Oe,height:Oe,maxHeight:Oe,size:Oe,top:Oe,right:Oe,bottom:Oe,left:Oe,padding:Oe,paddingTop:Oe,paddingRight:Oe,paddingBottom:Oe,paddingLeft:Oe,margin:Oe,marginTop:Oe,marginRight:Oe,marginBottom:Oe,marginLeft:Oe,rotate:Wr,rotateX:Wr,rotateY:Wr,rotateZ:Wr,scale:Pa,scaleX:Pa,scaleY:Pa,scaleZ:Pa,skew:Wr,skewX:Wr,skewY:Wr,distance:Oe,translateX:Oe,translateY:Oe,translateZ:Oe,x:Oe,y:Oe,z:Oe,perspective:Oe,transformPerspective:Oe,opacity:cs,originX:SC,originY:SC,originZ:Oe,zIndex:RC,fillOpacity:cs,strokeOpacity:cs,numOctaves:RC};function ig(e,t,n,r){const{style:i,vars:a,transform:l,transformOrigin:u}=e;let d=!1,g=!1,p=!0;for(const E in t){const h=t[E];if(pI(E)){a[E]=h;continue}const m=CI[E],I=Wk(h,m);if(Ro.has(E)){if(d=!0,l[E]=I,!p)continue;h!==(m.default||0)&&(p=!1)}else E.startsWith("origin")?(g=!0,u[E]=I):i[E]=I}if(t.transform||(d||r?i.transform=Hk(e.transform,n,p,r):i.transform&&(i.transform="none")),g){const{originX:E="50%",originY:h="50%",originZ:m=0}=u;i.transformOrigin=`${E} ${h} ${m}`}}const sg=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function EI(e,t,n){for(const r in t)!dn(t[r])&&!gI(r,n)&&(e[r]=t[r])}function Kk({transformTemplate:e},t,n){return S.useMemo(()=>{const r=sg();return ig(r,t,{enableHardwareAcceleration:!n},e),Object.assign({},r.vars,r.style)},[t])}function _k(e,t,n){const r=e.style||{},i={};return EI(i,r,e),Object.assign(i,Kk(e,t,n)),e.transformValues?e.transformValues(i):i}function qk(e,t,n){const r={},i=_k(e,t,n);return e.drag&&e.dragListener!==!1&&(r.draggable=!1,i.userSelect=i.WebkitUserSelect=i.WebkitTouchCallout="none",i.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(r.tabIndex=0),r.style=i,r}const Jk=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","transformValues","custom","inherit","onLayoutAnimationStart","onLayoutAnimationComplete","onLayoutMeasure","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","ignoreStrict","viewport"]);function ul(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||Jk.has(e)}let mI=e=>!ul(e);function Xk(e){e&&(mI=t=>t.startsWith("on")?!ul(t):e(t))}try{Xk(require("@emotion/is-prop-valid").default)}catch{}function Zk(e,t,n){const r={};for(const i in e)i==="values"&&typeof e.values=="object"||(mI(i)||n===!0&&ul(i)||!t&&!ul(i)||e.draggable&&i.startsWith("onDrag"))&&(r[i]=e[i]);return r}function OC(e,t,n){return typeof e=="string"?e:Oe.transform(t+n*e)}function $k(e,t,n){const r=OC(t,e.x,e.width),i=OC(n,e.y,e.height);return`${r} ${i}`}const e6={offset:"stroke-dashoffset",array:"stroke-dasharray"},t6={offset:"strokeDashoffset",array:"strokeDasharray"};function n6(e,t,n=1,r=0,i=!0){e.pathLength=1;const a=i?e6:t6;e[a.offset]=Oe.transform(-r);const l=Oe.transform(t),u=Oe.transform(n);e[a.array]=`${l} ${u}`}function ag(e,{attrX:t,attrY:n,attrScale:r,originX:i,originY:a,pathLength:l,pathSpacing:u=1,pathOffset:d=0,...g},p,E,h){if(ig(e,g,p,h),E){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:m,style:I,dimensions:B}=e;m.transform&&(B&&(I.transform=m.transform),delete m.transform),B&&(i!==void 0||a!==void 0||I.transform)&&(I.transformOrigin=$k(B,i!==void 0?i:.5,a!==void 0?a:.5)),t!==void 0&&(m.x=t),n!==void 0&&(m.y=n),r!==void 0&&(m.scale=r),l!==void 0&&n6(m,l,u,d,!1)}const II=()=>({...sg(),attrs:{}}),lg=e=>typeof e=="string"&&e.toLowerCase()==="svg";function r6(e,t,n,r){const i=S.useMemo(()=>{const a=II();return ag(a,t,{enableHardwareAcceleration:!1},lg(r),e.transformTemplate),{...a.attrs,style:{...a.style}}},[t]);if(e.style){const a={};EI(a,e.style,e),i.style={...a,...i.style}}return i}function o6(e=!1){return(n,r,i,{latestValues:a},l)=>{const d=(og(n)?r6:qk)(r,a,l,n),p={...Zk(r,typeof n=="string",e),...d,ref:i},{children:E}=r,h=S.useMemo(()=>dn(E)?E.get():E,[E]);return S.createElement(n,{...p,children:h})}}const cg=e=>e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();function BI(e,{style:t,vars:n},r,i){Object.assign(e.style,t,i&&i.getProjectionStyles(r));for(const a in n)e.style.setProperty(a,n[a])}const yI=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function vI(e,t,n,r){BI(e,t,void 0,r);for(const i in t.attrs)e.setAttribute(yI.has(i)?i:cg(i),t.attrs[i])}function ug(e,t){const{style:n}=e,r={};for(const i in n)(dn(n[i])||t.style&&dn(t.style[i])||gI(i,e))&&(r[i]=n[i]);return r}function bI(e,t){const n=ug(e,t);for(const r in e)if(dn(e[r])||dn(t[r])){const i=Ps.indexOf(r)!==-1?"attr"+r.charAt(0).toUpperCase()+r.substring(1):r;n[i]=e[r]}return n}function Ag(e,t,n,r={},i={}){return typeof t=="function"&&(t=t(n!==void 0?n:e.custom,r,i)),typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"&&(t=t(n!==void 0?n:e.custom,r,i)),t}function i6(e){const t=S.useRef(null);return t.current===null&&(t.current=e()),t.current}const Al=e=>Array.isArray(e),s6=e=>!!(e&&typeof e=="object"&&e.mix&&e.toValue),a6=e=>Al(e)?e[e.length-1]||0:e;function za(e){const t=dn(e)?e.get():e;return s6(t)?t.toValue():t}function l6({scrapeMotionValuesFromProps:e,createRenderState:t,onMount:n},r,i,a){const l={latestValues:c6(r,i,a,e),renderState:t()};return n&&(l.mount=u=>n(r,u,l)),l}const QI=e=>(t,n)=>{const r=S.useContext($l),i=S.useContext(tg),a=()=>l6(e,t,r,i);return n?a():i6(a)};function c6(e,t,n,r){const i={},a=r(e,{});for(const h in a)i[h]=za(a[h]);let{initial:l,animate:u}=e;const d=nc(e),g=uI(e);t&&g&&!d&&e.inherit!==!1&&(l===void 0&&(l=t.initial),u===void 0&&(u=t.animate));let p=n?n.initial===!1:!1;p=p||l===!1;const E=p?u:l;return E&&typeof E!="boolean"&&!tc(E)&&(Array.isArray(E)?E:[E]).forEach(m=>{const I=Ag(e,m);if(!I)return;const{transitionEnd:B,transition:y,...O}=I;for(const M in O){let w=O[M];if(Array.isArray(w)){const T=p?w.length-1:0;w=w[T]}w!==null&&(i[M]=w)}for(const M in B)i[M]=B[M]}),i}const xt=e=>e;class DC{constructor(){this.order=[],this.scheduled=new Set}add(t){if(!this.scheduled.has(t))return this.scheduled.add(t),this.order.push(t),!0}remove(t){const n=this.order.indexOf(t);n!==-1&&(this.order.splice(n,1),this.scheduled.delete(t))}clear(){this.order.length=0,this.scheduled.clear()}}function u6(e){let t=new DC,n=new DC,r=0,i=!1,a=!1;const l=new WeakSet,u={schedule:(d,g=!1,p=!1)=>{const E=p&&i,h=E?t:n;return g&&l.add(d),h.add(d)&&E&&i&&(r=t.order.length),d},cancel:d=>{n.remove(d),l.delete(d)},process:d=>{if(i){a=!0;return}if(i=!0,[t,n]=[n,t],n.clear(),r=t.order.length,r)for(let g=0;g<r;g++){const p=t.order[g];p(d),l.has(p)&&(u.schedule(p),e())}i=!1,a&&(a=!1,u.process(d))}};return u}const Sa=["prepare","read","update","preRender","render","postRender"],A6=40;function d6(e,t){let n=!1,r=!0;const i={delta:0,timestamp:0,isProcessing:!1},a=Sa.reduce((E,h)=>(E[h]=u6(()=>n=!0),E),{}),l=E=>a[E].process(i),u=()=>{const E=performance.now();n=!1,i.delta=r?1e3/60:Math.max(Math.min(E-i.timestamp,A6),1),i.timestamp=E,i.isProcessing=!0,Sa.forEach(l),i.isProcessing=!1,n&&t&&(r=!1,e(u))},d=()=>{n=!0,r=!0,i.isProcessing||e(u)};return{schedule:Sa.reduce((E,h)=>{const m=a[h];return E[h]=(I,B=!1,y=!1)=>(n||d(),m.schedule(I,B,y)),E},{}),cancel:E=>Sa.forEach(h=>a[h].cancel(E)),state:i,steps:a}}const{schedule:ht,cancel:xr,state:Ht,steps:Vu}=d6(typeof requestAnimationFrame<"u"?requestAnimationFrame:xt,!0),g6={useVisualState:QI({scrapeMotionValuesFromProps:bI,createRenderState:II,onMount:(e,t,{renderState:n,latestValues:r})=>{ht.read(()=>{try{n.dimensions=typeof t.getBBox=="function"?t.getBBox():t.getBoundingClientRect()}catch{n.dimensions={x:0,y:0,width:0,height:0}}}),ht.render(()=>{ag(n,r,{enableHardwareAcceleration:!1},lg(t.tagName),e.transformTemplate),vI(t,n)})}})},f6={useVisualState:QI({scrapeMotionValuesFromProps:ug,createRenderState:sg})};function p6(e,{forwardMotionProps:t=!1},n,r){return{...og(e)?g6:f6,preloadedFeatures:n,useRender:o6(t),createVisualElement:r,Component:e}}function mr(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}const xI=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1;function oc(e,t="page"){return{point:{x:e[t+"X"],y:e[t+"Y"]}}}const h6=e=>t=>xI(t)&&e(t,oc(t));function Br(e,t,n,r){return mr(e,t,h6(n),r)}const C6=(e,t)=>n=>t(e(n)),Kr=(...e)=>e.reduce(C6);function wI(e){let t=null;return()=>{const n=()=>{t=null};return t===null?(t=e,n):!1}}const MC=wI("dragHorizontal"),jC=wI("dragVertical");function TI(e){let t=!1;if(e==="y")t=jC();else if(e==="x")t=MC();else{const n=MC(),r=jC();n&&r?t=()=>{n(),r()}:(n&&n(),r&&r())}return t}function PI(){const e=TI(!0);return e?(e(),!1):!0}class ro{constructor(t){this.isMounted=!1,this.node=t}update(){}}function kC(e,t){const n="pointer"+(t?"enter":"leave"),r="onHover"+(t?"Start":"End"),i=(a,l)=>{if(a.type==="touch"||PI())return;const u=e.getProps();e.animationState&&u.whileHover&&e.animationState.setActive("whileHover",t),u[r]&&ht.update(()=>u[r](a,l))};return Br(e.current,n,i,{passive:!e.getProps()[r]})}class E6 extends ro{mount(){this.unmount=Kr(kC(this.node,!0),kC(this.node,!1))}unmount(){}}class m6 extends ro{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch{t=!0}!t||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=Kr(mr(this.node.current,"focus",()=>this.onFocus()),mr(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}const SI=(e,t)=>t?e===t?!0:SI(e,t.parentElement):!1;function Hu(e,t){if(!t)return;const n=new PointerEvent("pointer"+e);t(n,oc(n))}class I6 extends ro{constructor(){super(...arguments),this.removeStartListeners=xt,this.removeEndListeners=xt,this.removeAccessibleListeners=xt,this.startPointerPress=(t,n)=>{if(this.removeEndListeners(),this.isPressing)return;const r=this.node.getProps(),a=Br(window,"pointerup",(u,d)=>{if(!this.checkPressEnd())return;const{onTap:g,onTapCancel:p}=this.node.getProps();ht.update(()=>{SI(this.node.current,u.target)?g&&g(u,d):p&&p(u,d)})},{passive:!(r.onTap||r.onPointerUp)}),l=Br(window,"pointercancel",(u,d)=>this.cancelPress(u,d),{passive:!(r.onTapCancel||r.onPointerCancel)});this.removeEndListeners=Kr(a,l),this.startPress(t,n)},this.startAccessiblePress=()=>{const t=a=>{if(a.key!=="Enter"||this.isPressing)return;const l=u=>{u.key!=="Enter"||!this.checkPressEnd()||Hu("up",(d,g)=>{const{onTap:p}=this.node.getProps();p&&ht.update(()=>p(d,g))})};this.removeEndListeners(),this.removeEndListeners=mr(this.node.current,"keyup",l),Hu("down",(u,d)=>{this.startPress(u,d)})},n=mr(this.node.current,"keydown",t),r=()=>{this.isPressing&&Hu("cancel",(a,l)=>this.cancelPress(a,l))},i=mr(this.node.current,"blur",r);this.removeAccessibleListeners=Kr(n,i)}}startPress(t,n){this.isPressing=!0;const{onTapStart:r,whileTap:i}=this.node.getProps();i&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),r&&ht.update(()=>r(t,n))}checkPressEnd(){return this.removeEndListeners(),this.isPressing=!1,this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!PI()}cancelPress(t,n){if(!this.checkPressEnd())return;const{onTapCancel:r}=this.node.getProps();r&&ht.update(()=>r(t,n))}mount(){const t=this.node.getProps(),n=Br(this.node.current,"pointerdown",this.startPointerPress,{passive:!(t.onTapStart||t.onPointerStart)}),r=mr(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=Kr(n,r)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}const PA=new WeakMap,zu=new WeakMap,B6=e=>{const t=PA.get(e.target);t&&t(e)},y6=e=>{e.forEach(B6)};function v6({root:e,...t}){const n=e||document;zu.has(n)||zu.set(n,{});const r=zu.get(n),i=JSON.stringify(t);return r[i]||(r[i]=new IntersectionObserver(y6,{root:e,...t})),r[i]}function b6(e,t,n){const r=v6(t);return PA.set(e,n),r.observe(e),()=>{PA.delete(e),r.unobserve(e)}}const Q6={some:0,all:1};class x6 extends ro{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:t={}}=this.node.getProps(),{root:n,margin:r,amount:i="some",once:a}=t,l={root:n?n.current:void 0,rootMargin:r,threshold:typeof i=="number"?i:Q6[i]},u=d=>{const{isIntersecting:g}=d;if(this.isInView===g||(this.isInView=g,a&&!g&&this.hasEnteredView))return;g&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",g);const{onViewportEnter:p,onViewportLeave:E}=this.node.getProps(),h=g?p:E;h&&h(d)};return b6(this.node.current,l,u)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:t,prevProps:n}=this.node;["amount","margin","root"].some(w6(t,n))&&this.startObserver()}unmount(){}}function w6({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}const T6={inView:{Feature:x6},tap:{Feature:I6},focus:{Feature:m6},hover:{Feature:E6}};function RI(e,t){if(!Array.isArray(t))return!1;const n=t.length;if(n!==e.length)return!1;for(let r=0;r<n;r++)if(t[r]!==e[r])return!1;return!0}function P6(e){const t={};return e.values.forEach((n,r)=>t[r]=n.get()),t}function S6(e){const t={};return e.values.forEach((n,r)=>t[r]=n.getVelocity()),t}function ic(e,t,n){const r=e.getProps();return Ag(r,t,n!==void 0?n:r.custom,P6(e),S6(e))}const R6="framerAppearId",O6="data-"+cg(R6);let Os=xt,sr=xt;process.env.NODE_ENV!=="production"&&(Os=(e,t)=>{!e&&typeof console<"u"&&console.warn(t)},sr=(e,t)=>{if(!e)throw new Error(t)});const _r=e=>e*1e3,yr=e=>e/1e3,D6={current:!1},OI=e=>Array.isArray(e)&&typeof e[0]=="number";function DI(e){return!!(!e||typeof e=="string"&&MI[e]||OI(e)||Array.isArray(e)&&e.every(DI))}const ns=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,MI={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:ns([0,.65,.55,1]),circOut:ns([.55,0,1,.45]),backIn:ns([.31,.01,.66,-.59]),backOut:ns([.33,1.53,.69,.99])};function jI(e){if(e)return OI(e)?ns(e):Array.isArray(e)?e.map(jI):MI[e]}function M6(e,t,n,{delay:r=0,duration:i,repeat:a=0,repeatType:l="loop",ease:u,times:d}={}){const g={[t]:n};d&&(g.offset=d);const p=jI(u);return Array.isArray(p)&&(g.easing=p),e.animate(g,{delay:r,duration:i,easing:Array.isArray(p)?"linear":p,fill:"both",iterations:a+1,direction:l==="reverse"?"alternate":"normal"})}function j6(e,{repeat:t,repeatType:n="loop"}){const r=t&&n!=="loop"&&t%2===1?0:e.length-1;return e[r]}const kI=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,k6=1e-7,F6=12;function L6(e,t,n,r,i){let a,l,u=0;do l=t+(n-t)/2,a=kI(l,r,i)-e,a>0?n=l:t=l;while(Math.abs(a)>k6&&++u<F6);return l}function Ds(e,t,n,r){if(e===t&&n===r)return xt;const i=a=>L6(a,0,1,e,n);return a=>a===0||a===1?a:kI(i(a),t,r)}const N6=Ds(.42,0,1,1),V6=Ds(0,0,.58,1),FI=Ds(.42,0,.58,1),H6=e=>Array.isArray(e)&&typeof e[0]!="number",LI=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,NI=e=>t=>1-e(1-t),VI=e=>1-Math.sin(Math.acos(e)),dg=NI(VI),z6=LI(dg),HI=Ds(.33,1.53,.69,.99),gg=NI(HI),W6=LI(gg),U6=e=>(e*=2)<1?.5*gg(e):.5*(2-Math.pow(2,-10*(e-1))),FC={linear:xt,easeIn:N6,easeInOut:FI,easeOut:V6,circIn:VI,circInOut:z6,circOut:dg,backIn:gg,backInOut:W6,backOut:HI,anticipate:U6},LC=e=>{if(Array.isArray(e)){sr(e.length===4,"Cubic bezier arrays must contain four numerical values.");const[t,n,r,i]=e;return Ds(t,n,r,i)}else if(typeof e=="string")return sr(FC[e]!==void 0,`Invalid easing type '${e}'`),FC[e];return e},fg=(e,t)=>n=>!!(Ss(n)&&Uk.test(n)&&n.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(n,t)),zI=(e,t,n)=>r=>{if(!Ss(r))return r;const[i,a,l,u]=r.match(rc);return{[e]:parseFloat(i),[t]:parseFloat(a),[n]:parseFloat(l),alpha:u!==void 0?parseFloat(u):1}},Y6=e=>qr(0,255,e),Wu={...Oo,transform:e=>Math.round(Y6(e))},wo={test:fg("rgb","red"),parse:zI("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+Wu.transform(e)+", "+Wu.transform(t)+", "+Wu.transform(n)+", "+us(cs.transform(r))+")"};function G6(e){let t="",n="",r="",i="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),i=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),i=e.substring(4,5),t+=t,n+=n,r+=r,i+=i),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:i?parseInt(i,16)/255:1}}const SA={test:fg("#"),parse:G6,transform:wo.transform},li={test:fg("hsl","hue"),parse:zI("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+ir.transform(us(t))+", "+ir.transform(us(n))+", "+us(cs.transform(r))+")"},sn={test:e=>wo.test(e)||SA.test(e)||li.test(e),parse:e=>wo.test(e)?wo.parse(e):li.test(e)?li.parse(e):SA.parse(e),transform:e=>Ss(e)?e:e.hasOwnProperty("red")?wo.transform(e):li.transform(e)},yt=(e,t,n)=>-n*e+n*t+e;function Uu(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function K6({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let i=0,a=0,l=0;if(!t)i=a=l=n;else{const u=n<.5?n*(1+t):n+t-n*t,d=2*n-u;i=Uu(d,u,e+1/3),a=Uu(d,u,e),l=Uu(d,u,e-1/3)}return{red:Math.round(i*255),green:Math.round(a*255),blue:Math.round(l*255),alpha:r}}const Yu=(e,t,n)=>{const r=e*e;return Math.sqrt(Math.max(0,n*(t*t-r)+r))},_6=[SA,wo,li],q6=e=>_6.find(t=>t.test(e));function NC(e){const t=q6(e);sr(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`);let n=t.parse(e);return t===li&&(n=K6(n)),n}const WI=(e,t)=>{const n=NC(e),r=NC(t),i={...n};return a=>(i.red=Yu(n.red,r.red,a),i.green=Yu(n.green,r.green,a),i.blue=Yu(n.blue,r.blue,a),i.alpha=yt(n.alpha,r.alpha,a),wo.transform(i))};function J6(e){var t,n;return isNaN(e)&&Ss(e)&&(((t=e.match(rc))===null||t===void 0?void 0:t.length)||0)+(((n=e.match(hI))===null||n===void 0?void 0:n.length)||0)>0}const UI={regex:zk,countKey:"Vars",token:"${v}",parse:xt},YI={regex:hI,countKey:"Colors",token:"${c}",parse:sn.parse},GI={regex:rc,countKey:"Numbers",token:"${n}",parse:Oo.parse};function Gu(e,{regex:t,countKey:n,token:r,parse:i}){const a=e.tokenised.match(t);a&&(e["num"+n]=a.length,e.tokenised=e.tokenised.replace(t,r),e.values.push(...a.map(i)))}function dl(e){const t=e.toString(),n={value:t,tokenised:t,values:[],numVars:0,numColors:0,numNumbers:0};return n.value.includes("var(--")&&Gu(n,UI),Gu(n,YI),Gu(n,GI),n}function KI(e){return dl(e).values}function _I(e){const{values:t,numColors:n,numVars:r,tokenised:i}=dl(e),a=t.length;return l=>{let u=i;for(let d=0;d<a;d++)d<r?u=u.replace(UI.token,l[d]):d<r+n?u=u.replace(YI.token,sn.transform(l[d])):u=u.replace(GI.token,us(l[d]));return u}}const X6=e=>typeof e=="number"?0:e;function Z6(e){const t=KI(e);return _I(e)(t.map(X6))}const Jr={test:J6,parse:KI,createTransformer:_I,getAnimatableNone:Z6},qI=(e,t)=>n=>`${n>0?t:e}`;function JI(e,t){return typeof e=="number"?n=>yt(e,t,n):sn.test(e)?WI(e,t):e.startsWith("var(")?qI(e,t):ZI(e,t)}const XI=(e,t)=>{const n=[...e],r=n.length,i=e.map((a,l)=>JI(a,t[l]));return a=>{for(let l=0;l<r;l++)n[l]=i[l](a);return n}},$6=(e,t)=>{const n={...e,...t},r={};for(const i in n)e[i]!==void 0&&t[i]!==void 0&&(r[i]=JI(e[i],t[i]));return i=>{for(const a in r)n[a]=r[a](i);return n}},ZI=(e,t)=>{const n=Jr.createTransformer(t),r=dl(e),i=dl(t);return r.numVars===i.numVars&&r.numColors===i.numColors&&r.numNumbers>=i.numNumbers?Kr(XI(r.values,i.values),n):(Os(!0,`Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`),qI(e,t))},vs=(e,t,n)=>{const r=t-e;return r===0?1:(n-e)/r},VC=(e,t)=>n=>yt(e,t,n);function eF(e){return typeof e=="number"?VC:typeof e=="string"?sn.test(e)?WI:ZI:Array.isArray(e)?XI:typeof e=="object"?$6:VC}function tF(e,t,n){const r=[],i=n||eF(e[0]),a=e.length-1;for(let l=0;l<a;l++){let u=i(e[l],e[l+1]);if(t){const d=Array.isArray(t)?t[l]||xt:t;u=Kr(d,u)}r.push(u)}return r}function $I(e,t,{clamp:n=!0,ease:r,mixer:i}={}){const a=e.length;if(sr(a===t.length,"Both input and output ranges must be the same length"),a===1)return()=>t[0];e[0]>e[a-1]&&(e=[...e].reverse(),t=[...t].reverse());const l=tF(t,r,i),u=l.length,d=g=>{let p=0;if(u>1)for(;p<e.length-2&&!(g<e[p+1]);p++);const E=vs(e[p],e[p+1],g);return l[p](E)};return n?g=>d(qr(e[0],e[a-1],g)):d}function nF(e,t){const n=e[e.length-1];for(let r=1;r<=t;r++){const i=vs(0,t,r);e.push(yt(n,1,i))}}function rF(e){const t=[0];return nF(t,e.length-1),t}function oF(e,t){return e.map(n=>n*t)}function iF(e,t){return e.map(()=>t||FI).splice(0,e.length-1)}function gl({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){const i=H6(r)?r.map(LC):LC(r),a={done:!1,value:t[0]},l=oF(n&&n.length===t.length?n:rF(t),e),u=$I(l,t,{ease:Array.isArray(i)?i:iF(t,i)});return{calculatedDuration:e,next:d=>(a.value=u(d),a.done=d>=e,a)}}function eB(e,t){return t?e*(1e3/t):0}const sF=5;function tB(e,t,n){const r=Math.max(t-sF,0);return eB(n-e(r),t-r)}const Ku=.001,aF=.01,HC=10,lF=.05,cF=1;function uF({duration:e=800,bounce:t=.25,velocity:n=0,mass:r=1}){let i,a;Os(e<=_r(HC),"Spring duration must be 10 seconds or less");let l=1-t;l=qr(lF,cF,l),e=qr(aF,HC,yr(e)),l<1?(i=g=>{const p=g*l,E=p*e,h=p-n,m=RA(g,l),I=Math.exp(-E);return Ku-h/m*I},a=g=>{const E=g*l*e,h=E*n+n,m=Math.pow(l,2)*Math.pow(g,2)*e,I=Math.exp(-E),B=RA(Math.pow(g,2),l);return(-i(g)+Ku>0?-1:1)*((h-m)*I)/B}):(i=g=>{const p=Math.exp(-g*e),E=(g-n)*e+1;return-Ku+p*E},a=g=>{const p=Math.exp(-g*e),E=(n-g)*(e*e);return p*E});const u=5/e,d=dF(i,a,u);if(e=_r(e),isNaN(d))return{stiffness:100,damping:10,duration:e};{const g=Math.pow(d,2)*r;return{stiffness:g,damping:l*2*Math.sqrt(r*g),duration:e}}}const AF=12;function dF(e,t,n){let r=n;for(let i=1;i<AF;i++)r=r-e(r)/t(r);return r}function RA(e,t){return e*Math.sqrt(1-t*t)}const gF=["duration","bounce"],fF=["stiffness","damping","mass"];function zC(e,t){return t.some(n=>e[n]!==void 0)}function pF(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!zC(e,fF)&&zC(e,gF)){const n=uF(e);t={...t,...n,velocity:0,mass:1},t.isResolvedFromDuration=!0}return t}function nB({keyframes:e,restDelta:t,restSpeed:n,...r}){const i=e[0],a=e[e.length-1],l={done:!1,value:i},{stiffness:u,damping:d,mass:g,velocity:p,duration:E,isResolvedFromDuration:h}=pF(r),m=p?-yr(p):0,I=d/(2*Math.sqrt(u*g)),B=a-i,y=yr(Math.sqrt(u/g)),O=Math.abs(B)<5;n||(n=O?.01:2),t||(t=O?.005:.5);let M;if(I<1){const w=RA(y,I);M=T=>{const P=Math.exp(-I*y*T);return a-P*((m+I*y*B)/w*Math.sin(w*T)+B*Math.cos(w*T))}}else if(I===1)M=w=>a-Math.exp(-y*w)*(B+(m+y*B)*w);else{const w=y*Math.sqrt(I*I-1);M=T=>{const P=Math.exp(-I*y*T),H=Math.min(w*T,300);return a-P*((m+I*y*B)*Math.sinh(H)+w*B*Math.cosh(H))/w}}return{calculatedDuration:h&&E||null,next:w=>{const T=M(w);if(h)l.done=w>=E;else{let P=m;w!==0&&(I<1?P=tB(M,w,T):P=0);const H=Math.abs(P)<=n,F=Math.abs(a-T)<=t;l.done=H&&F}return l.value=l.done?a:T,l}}}function WC({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:i=10,bounceStiffness:a=500,modifyTarget:l,min:u,max:d,restDelta:g=.5,restSpeed:p}){const E=e[0],h={done:!1,value:E},m=K=>u!==void 0&&K<u||d!==void 0&&K>d,I=K=>u===void 0?d:d===void 0||Math.abs(u-K)<Math.abs(d-K)?u:d;let B=n*t;const y=E+B,O=l===void 0?y:l(y);O!==y&&(B=O-E);const M=K=>-B*Math.exp(-K/r),w=K=>O+M(K),T=K=>{const Z=M(K),G=w(K);h.done=Math.abs(Z)<=g,h.value=h.done?O:G};let P,H;const F=K=>{m(h.value)&&(P=K,H=nB({keyframes:[h.value,I(h.value)],velocity:tB(w,K,h.value),damping:i,stiffness:a,restDelta:g,restSpeed:p}))};return F(0),{calculatedDuration:null,next:K=>{let Z=!1;return!H&&P===void 0&&(Z=!0,T(K),F(K)),P!==void 0&&K>P?H.next(K-P):(!Z&&T(K),h)}}}const hF=e=>{const t=({timestamp:n})=>e(n);return{start:()=>ht.update(t,!0),stop:()=>xr(t),now:()=>Ht.isProcessing?Ht.timestamp:performance.now()}},UC=2e4;function YC(e){let t=0;const n=50;let r=e.next(t);for(;!r.done&&t<UC;)t+=n,r=e.next(t);return t>=UC?1/0:t}const CF={decay:WC,inertia:WC,tween:gl,keyframes:gl,spring:nB};function fl({autoplay:e=!0,delay:t=0,driver:n=hF,keyframes:r,type:i="keyframes",repeat:a=0,repeatDelay:l=0,repeatType:u="loop",onPlay:d,onStop:g,onComplete:p,onUpdate:E,...h}){let m=1,I=!1,B,y;const O=()=>{y=new Promise(N=>{B=N})};O();let M;const w=CF[i]||gl;let T;w!==gl&&typeof r[0]!="number"&&(T=$I([0,100],r,{clamp:!1}),r=[0,100]);const P=w({...h,keyframes:r});let H;u==="mirror"&&(H=w({...h,keyframes:[...r].reverse(),velocity:-(h.velocity||0)}));let F="idle",K=null,Z=null,G=null;P.calculatedDuration===null&&a&&(P.calculatedDuration=YC(P));const{calculatedDuration:ee}=P;let le=1/0,de=1/0;ee!==null&&(le=ee+l,de=le*(a+1)-l);let _=0;const q=N=>{if(Z===null)return;m>0&&(Z=Math.min(Z,N)),m<0&&(Z=Math.min(N-de/m,Z)),K!==null?_=K:_=Math.round(N-Z)*m;const ae=_-t*(m>=0?1:-1),fe=m>=0?ae<0:ae>de;_=Math.max(ae,0),F==="finished"&&K===null&&(_=de);let ue=_,ge=P;if(a){const Ce=_/le;let Ae=Math.floor(Ce),ye=Ce%1;!ye&&Ce>=1&&(ye=1),ye===1&&Ae--,Ae=Math.min(Ae,a+1);const ie=!!(Ae%2);ie&&(u==="reverse"?(ye=1-ye,l&&(ye-=l/le)):u==="mirror"&&(ge=H));let Fe=qr(0,1,ye);_>de&&(Fe=u==="reverse"&&ie?1:0),ue=Fe*le}const pe=fe?{done:!1,value:r[0]}:ge.next(ue);T&&(pe.value=T(pe.value));let{done:Ie}=pe;!fe&&ee!==null&&(Ie=m>=0?_>=de:_<=0);const Be=K===null&&(F==="finished"||F==="running"&&Ie);return E&&E(pe.value),Be&&z(),pe},Y=()=>{M&&M.stop(),M=void 0},X=()=>{F="idle",Y(),B(),O(),Z=G=null},z=()=>{F="finished",p&&p(),Y(),B()},ne=()=>{if(I)return;M||(M=n(q));const N=M.now();d&&d(),K!==null?Z=N-K:(!Z||F==="finished")&&(Z=N),F==="finished"&&O(),G=Z,K=null,F="running",M.start()};e&&ne();const W={then(N,ae){return y.then(N,ae)},get time(){return yr(_)},set time(N){N=_r(N),_=N,K!==null||!M||m===0?K=N:Z=M.now()-N/m},get duration(){const N=P.calculatedDuration===null?YC(P):P.calculatedDuration;return yr(N)},get speed(){return m},set speed(N){N===m||!M||(m=N,W.time=yr(_))},get state(){return F},play:ne,pause:()=>{F="paused",K=_},stop:()=>{I=!0,F!=="idle"&&(F="idle",g&&g(),X())},cancel:()=>{G!==null&&q(G),X()},complete:()=>{F="finished"},sample:N=>(Z=0,q(N))};return W}function EF(e){let t;return()=>(t===void 0&&(t=e()),t)}const mF=EF(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),IF=new Set(["opacity","clipPath","filter","transform","backgroundColor"]),Ra=10,BF=2e4,yF=(e,t)=>t.type==="spring"||e==="backgroundColor"||!DI(t.ease);function vF(e,t,{onUpdate:n,onComplete:r,...i}){if(!(mF()&&IF.has(t)&&!i.repeatDelay&&i.repeatType!=="mirror"&&i.damping!==0&&i.type!=="inertia"))return!1;let l=!1,u,d;const g=()=>{d=new Promise(M=>{u=M})};g();let{keyframes:p,duration:E=300,ease:h,times:m}=i;if(yF(t,i)){const M=fl({...i,repeat:0,delay:0});let w={done:!1,value:p[0]};const T=[];let P=0;for(;!w.done&&P<BF;)w=M.sample(P),T.push(w.value),P+=Ra;m=void 0,p=T,E=P-Ra,h="linear"}const I=M6(e.owner.current,t,p,{...i,duration:E,ease:h,times:m});i.syncStart&&(I.startTime=Ht.isProcessing?Ht.timestamp:document.timeline?document.timeline.currentTime:performance.now());const B=()=>I.cancel(),y=()=>{ht.update(B),u(),g()};return I.onfinish=()=>{e.set(j6(p,i)),r&&r(),y()},{then(M,w){return d.then(M,w)},attachTimeline(M){return I.timeline=M,I.onfinish=null,xt},get time(){return yr(I.currentTime||0)},set time(M){I.currentTime=_r(M)},get speed(){return I.playbackRate},set speed(M){I.playbackRate=M},get duration(){return yr(E)},play:()=>{l||(I.play(),xr(B))},pause:()=>I.pause(),stop:()=>{if(l=!0,I.playState==="idle")return;const{currentTime:M}=I;if(M){const w=fl({...i,autoplay:!1});e.setWithVelocity(w.sample(M-Ra).value,w.sample(M).value,Ra)}y()},complete:()=>I.finish(),cancel:y}}function bF({keyframes:e,delay:t,onUpdate:n,onComplete:r}){const i=()=>(n&&n(e[e.length-1]),r&&r(),{time:0,speed:1,duration:0,play:xt,pause:xt,stop:xt,then:a=>(a(),Promise.resolve()),cancel:xt,complete:xt});return t?fl({keyframes:[0,1],duration:0,delay:t,onComplete:i}):i()}const QF={type:"spring",stiffness:500,damping:25,restSpeed:10},xF=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),wF={type:"keyframes",duration:.8},TF={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},PF=(e,{keyframes:t})=>t.length>2?wF:Ro.has(e)?e.startsWith("scale")?xF(t[1]):QF:TF,OA=(e,t)=>e==="zIndex"?!1:!!(typeof t=="number"||Array.isArray(t)||typeof t=="string"&&(Jr.test(t)||t==="0")&&!t.startsWith("url(")),SF=new Set(["brightness","contrast","saturate","opacity"]);function RF(e){const[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[r]=n.match(rc)||[];if(!r)return e;const i=n.replace(r,"");let a=SF.has(t)?1:0;return r!==n&&(a*=100),t+"("+a+i+")"}const OF=/([a-z-]*)\(.*?\)/g,DA={...Jr,getAnimatableNone:e=>{const t=e.match(OF);return t?t.map(RF).join(" "):e}},DF={...CI,color:sn,backgroundColor:sn,outlineColor:sn,fill:sn,stroke:sn,borderColor:sn,borderTopColor:sn,borderRightColor:sn,borderBottomColor:sn,borderLeftColor:sn,filter:DA,WebkitFilter:DA},pg=e=>DF[e];function rB(e,t){let n=pg(e);return n!==DA&&(n=Jr),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const oB=e=>/^0[^.\s]+$/.test(e);function MF(e){if(typeof e=="number")return e===0;if(e!==null)return e==="none"||e==="0"||oB(e)}function jF(e,t,n,r){const i=OA(t,n);let a;Array.isArray(n)?a=[...n]:a=[null,n];const l=r.from!==void 0?r.from:e.get();let u;const d=[];for(let g=0;g<a.length;g++)a[g]===null&&(a[g]=g===0?l:a[g-1]),MF(a[g])&&d.push(g),typeof a[g]=="string"&&a[g]!=="none"&&a[g]!=="0"&&(u=a[g]);if(i&&d.length&&u)for(let g=0;g<d.length;g++){const p=d[g];a[p]=rB(t,u)}return a}function kF({when:e,delay:t,delayChildren:n,staggerChildren:r,staggerDirection:i,repeat:a,repeatType:l,repeatDelay:u,from:d,elapsed:g,...p}){return!!Object.keys(p).length}function iB(e,t){return e[t]||e.default||e}const hg=(e,t,n,r={})=>i=>{const a=iB(r,e)||{},l=a.delay||r.delay||0;let{elapsed:u=0}=r;u=u-_r(l);const d=jF(t,e,n,a),g=d[0],p=d[d.length-1],E=OA(e,g),h=OA(e,p);Os(E===h,`You are trying to animate ${e} from "${g}" to "${p}". ${g} is not an animatable value - to enable this animation set ${g} to a value animatable to ${p} via the \`style\` property.`);let m={keyframes:d,velocity:t.getVelocity(),ease:"easeOut",...a,delay:-u,onUpdate:I=>{t.set(I),a.onUpdate&&a.onUpdate(I)},onComplete:()=>{i(),a.onComplete&&a.onComplete()}};if(kF(a)||(m={...m,...PF(e,m)}),m.duration&&(m.duration=_r(m.duration)),m.repeatDelay&&(m.repeatDelay=_r(m.repeatDelay)),!E||!h||D6.current||a.type===!1)return bF(m);if(t.owner&&t.owner.current instanceof HTMLElement&&!t.owner.getProps().onUpdate){const I=vF(t,e,m);if(I)return I}return fl(m)};function pl(e){return!!(dn(e)&&e.add)}const sB=e=>/^\-?\d*\.?\d+$/.test(e);function Cg(e,t){e.indexOf(t)===-1&&e.push(t)}function Eg(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class mg{constructor(){this.subscriptions=[]}add(t){return Cg(this.subscriptions,t),()=>Eg(this.subscriptions,t)}notify(t,n,r){const i=this.subscriptions.length;if(i)if(i===1)this.subscriptions[0](t,n,r);else for(let a=0;a<i;a++){const l=this.subscriptions[a];l&&l(t,n,r)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const GC=new Set;function Ig(e,t,n){e||GC.has(t)||(console.warn(t),n&&console.warn(n),GC.add(t))}const FF=e=>!isNaN(parseFloat(e));class LF{constructor(t,n={}){this.version="10.16.4",this.timeDelta=0,this.lastUpdated=0,this.canTrackVelocity=!1,this.events={},this.updateAndNotify=(r,i=!0)=>{this.prev=this.current,this.current=r;const{delta:a,timestamp:l}=Ht;this.lastUpdated!==l&&(this.timeDelta=a,this.lastUpdated=l,ht.postRender(this.scheduleVelocityCheck)),this.prev!==this.current&&this.events.change&&this.events.change.notify(this.current),this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()),i&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.scheduleVelocityCheck=()=>ht.postRender(this.velocityCheck),this.velocityCheck=({timestamp:r})=>{r!==this.lastUpdated&&(this.prev=this.current,this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()))},this.hasAnimated=!1,this.prev=this.current=t,this.canTrackVelocity=FF(this.current),this.owner=n.owner}onChange(t){return process.env.NODE_ENV!=="production"&&Ig(!1,'value.onChange(callback) is deprecated. Switch to value.on("change", callback).'),this.on("change",t)}on(t,n){this.events[t]||(this.events[t]=new mg);const r=this.events[t].add(n);return t==="change"?()=>{r(),ht.read(()=>{this.events.change.getSize()||this.stop()})}:r}clearListeners(){for(const t in this.events)this.events[t].clear()}attach(t,n){this.passiveEffect=t,this.stopPassiveEffect=n}set(t,n=!0){!n||!this.passiveEffect?this.updateAndNotify(t,n):this.passiveEffect(t,this.updateAndNotify)}setWithVelocity(t,n,r){this.set(n),this.prev=t,this.timeDelta=r}jump(t){this.updateAndNotify(t),this.prev=t,this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return this.current}getPrevious(){return this.prev}getVelocity(){return this.canTrackVelocity?eB(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0}start(t){return this.stop(),new Promise(n=>{this.hasAnimated=!0,this.animation=t(n),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function Ei(e,t){return new LF(e,t)}const aB=e=>t=>t.test(e),NF={test:e=>e==="auto",parse:e=>e},lB=[Oo,Oe,ir,Wr,Gk,Yk,NF],Ji=e=>lB.find(aB(e)),VF=[...lB,sn,Jr],HF=e=>VF.find(aB(e));function zF(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,Ei(n))}function WF(e,t){const n=ic(e,t);let{transitionEnd:r={},transition:i={},...a}=n?e.makeTargetAnimatable(n,!1):{};a={...a,...r};for(const l in a){const u=a6(a[l]);zF(e,l,u)}}function UF(e,t,n){var r,i;const a=Object.keys(t).filter(u=>!e.hasValue(u)),l=a.length;if(l)for(let u=0;u<l;u++){const d=a[u],g=t[d];let p=null;Array.isArray(g)&&(p=g[0]),p===null&&(p=(i=(r=n[d])!==null&&r!==void 0?r:e.readValue(d))!==null&&i!==void 0?i:t[d]),p!=null&&(typeof p=="string"&&(sB(p)||oB(p))?p=parseFloat(p):!HF(p)&&Jr.test(g)&&(p=rB(d,g)),e.addValue(d,Ei(p,{owner:e})),n[d]===void 0&&(n[d]=p),p!==null&&e.setBaseTarget(d,p))}}function YF(e,t){return t?(t[e]||t.default||t).from:void 0}function GF(e,t,n){const r={};for(const i in e){const a=YF(i,t);if(a!==void 0)r[i]=a;else{const l=n.getValue(i);l&&(r[i]=l.get())}}return r}function KF({protectedKeys:e,needsAnimating:t},n){const r=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,r}function cB(e,t,{delay:n=0,transitionOverride:r,type:i}={}){let{transition:a=e.getDefaultTransition(),transitionEnd:l,...u}=e.makeTargetAnimatable(t);const d=e.getValue("willChange");r&&(a=r);const g=[],p=i&&e.animationState&&e.animationState.getState()[i];for(const E in u){const h=e.getValue(E),m=u[E];if(!h||m===void 0||p&&KF(p,E))continue;const I={delay:n,elapsed:0,...a};if(window.HandoffAppearAnimations&&!h.hasAnimated){const y=e.getProps()[O6];y&&(I.elapsed=window.HandoffAppearAnimations(y,E,h,ht),I.syncStart=!0)}h.start(hg(E,h,m,e.shouldReduceMotion&&Ro.has(E)?{type:!1}:I));const B=h.animation;pl(d)&&(d.add(E),B.then(()=>d.remove(E))),g.push(B)}return l&&Promise.all(g).then(()=>{l&&WF(e,l)}),g}function MA(e,t,n={}){const r=ic(e,t,n.custom);let{transition:i=e.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(i=n.transitionOverride);const a=r?()=>Promise.all(cB(e,r,n)):()=>Promise.resolve(),l=e.variantChildren&&e.variantChildren.size?(d=0)=>{const{delayChildren:g=0,staggerChildren:p,staggerDirection:E}=i;return _F(e,t,g+d,p,E,n)}:()=>Promise.resolve(),{when:u}=i;if(u){const[d,g]=u==="beforeChildren"?[a,l]:[l,a];return d().then(()=>g())}else return Promise.all([a(),l(n.delay)])}function _F(e,t,n=0,r=0,i=1,a){const l=[],u=(e.variantChildren.size-1)*r,d=i===1?(g=0)=>g*r:(g=0)=>u-g*r;return Array.from(e.variantChildren).sort(qF).forEach((g,p)=>{g.notify("AnimationStart",t),l.push(MA(g,t,{...a,delay:n+d(p)}).then(()=>g.notify("AnimationComplete",t)))}),Promise.all(l)}function qF(e,t){return e.sortNodePosition(t)}function JF(e,t,n={}){e.notify("AnimationStart",t);let r;if(Array.isArray(t)){const i=t.map(a=>MA(e,a,n));r=Promise.all(i)}else if(typeof t=="string")r=MA(e,t,n);else{const i=typeof t=="function"?ic(e,t,n.custom):t;r=Promise.all(cB(e,i,n))}return r.then(()=>e.notify("AnimationComplete",t))}const XF=[...ng].reverse(),ZF=ng.length;function $F(e){return t=>Promise.all(t.map(({animation:n,options:r})=>JF(e,n,r)))}function e9(e){let t=$F(e);const n=n9();let r=!0;const i=(d,g)=>{const p=ic(e,g);if(p){const{transition:E,transitionEnd:h,...m}=p;d={...d,...m,...h}}return d};function a(d){t=d(e)}function l(d,g){const p=e.getProps(),E=e.getVariantContext(!0)||{},h=[],m=new Set;let I={},B=1/0;for(let O=0;O<ZF;O++){const M=XF[O],w=n[M],T=p[M]!==void 0?p[M]:E[M],P=Bs(T),H=M===g?w.isActive:null;H===!1&&(B=O);let F=T===E[M]&&T!==p[M]&&P;if(F&&r&&e.manuallyAnimateOnMount&&(F=!1),w.protectedKeys={...I},!w.isActive&&H===null||!T&&!w.prevProp||tc(T)||typeof T=="boolean")continue;const K=t9(w.prevProp,T);let Z=K||M===g&&w.isActive&&!F&&P||O>B&&P;const G=Array.isArray(T)?T:[T];let ee=G.reduce(i,{});H===!1&&(ee={});const{prevResolvedValues:le={}}=w,de={...le,...ee},_=q=>{Z=!0,m.delete(q),w.needsAnimating[q]=!0};for(const q in de){const Y=ee[q],X=le[q];I.hasOwnProperty(q)||(Y!==X?Al(Y)&&Al(X)?!RI(Y,X)||K?_(q):w.protectedKeys[q]=!0:Y!==void 0?_(q):m.add(q):Y!==void 0&&m.has(q)?_(q):w.protectedKeys[q]=!0)}w.prevProp=T,w.prevResolvedValues=ee,w.isActive&&(I={...I,...ee}),r&&e.blockInitialAnimation&&(Z=!1),Z&&!F&&h.push(...G.map(q=>({animation:q,options:{type:M,...d}})))}if(m.size){const O={};m.forEach(M=>{const w=e.getBaseTarget(M);w!==void 0&&(O[M]=w)}),h.push({animation:O})}let y=!!h.length;return r&&p.initial===!1&&!e.manuallyAnimateOnMount&&(y=!1),r=!1,y?t(h):Promise.resolve()}function u(d,g,p){var E;if(n[d].isActive===g)return Promise.resolve();(E=e.variantChildren)===null||E===void 0||E.forEach(m=>{var I;return(I=m.animationState)===null||I===void 0?void 0:I.setActive(d,g)}),n[d].isActive=g;const h=l(p,d);for(const m in n)n[m].protectedKeys={};return h}return{animateChanges:l,setActive:u,setAnimateFunction:a,getState:()=>n}}function t9(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!RI(t,e):!1}function Co(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function n9(){return{animate:Co(!0),whileInView:Co(),whileHover:Co(),whileTap:Co(),whileDrag:Co(),whileFocus:Co(),exit:Co()}}class r9 extends ro{constructor(t){super(t),t.animationState||(t.animationState=e9(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();this.unmount(),tc(t)&&(this.unmount=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:t}=this.node.getProps(),{animate:n}=this.node.prevProps||{};t!==n&&this.updateAnimationControlsSubscription()}unmount(){}}let o9=0;class i9 extends ro{constructor(){super(...arguments),this.id=o9++}update(){if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:n,custom:r}=this.node.presenceContext,{isPresent:i}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===i)return;const a=this.node.animationState.setActive("exit",!t,{custom:r??this.node.getProps().custom});n&&!t&&a.then(()=>n(this.id))}mount(){const{register:t}=this.node.presenceContext||{};t&&(this.unmount=t(this.id))}unmount(){}}const s9={animation:{Feature:r9},exit:{Feature:i9}},KC=(e,t)=>Math.abs(e-t);function a9(e,t){const n=KC(e.x,t.x),r=KC(e.y,t.y);return Math.sqrt(n**2+r**2)}class uB{constructor(t,n,{transformPagePoint:r}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const g=qu(this.lastMoveEventInfo,this.history),p=this.startEvent!==null,E=a9(g.offset,{x:0,y:0})>=3;if(!p&&!E)return;const{point:h}=g,{timestamp:m}=Ht;this.history.push({...h,timestamp:m});const{onStart:I,onMove:B}=this.handlers;p||(I&&I(this.lastMoveEvent,g),this.startEvent=this.lastMoveEvent),B&&B(this.lastMoveEvent,g)},this.handlePointerMove=(g,p)=>{this.lastMoveEvent=g,this.lastMoveEventInfo=_u(p,this.transformPagePoint),ht.update(this.updatePoint,!0)},this.handlePointerUp=(g,p)=>{if(this.end(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const{onEnd:E,onSessionEnd:h}=this.handlers,m=qu(g.type==="pointercancel"?this.lastMoveEventInfo:_u(p,this.transformPagePoint),this.history);this.startEvent&&E&&E(g,m),h&&h(g,m)},!xI(t))return;this.handlers=n,this.transformPagePoint=r;const i=oc(t),a=_u(i,this.transformPagePoint),{point:l}=a,{timestamp:u}=Ht;this.history=[{...l,timestamp:u}];const{onSessionStart:d}=n;d&&d(t,qu(a,this.history)),this.removeListeners=Kr(Br(window,"pointermove",this.handlePointerMove),Br(window,"pointerup",this.handlePointerUp),Br(window,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),xr(this.updatePoint)}}function _u(e,t){return t?{point:t(e.point)}:e}function _C(e,t){return{x:e.x-t.x,y:e.y-t.y}}function qu({point:e},t){return{point:e,delta:_C(e,AB(t)),offset:_C(e,l9(t)),velocity:c9(t,.1)}}function l9(e){return e[0]}function AB(e){return e[e.length-1]}function c9(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null;const i=AB(e);for(;n>=0&&(r=e[n],!(i.timestamp-r.timestamp>_r(t)));)n--;if(!r)return{x:0,y:0};const a=yr(i.timestamp-r.timestamp);if(a===0)return{x:0,y:0};const l={x:(i.x-r.x)/a,y:(i.y-r.y)/a};return l.x===1/0&&(l.x=0),l.y===1/0&&(l.y=0),l}function Qn(e){return e.max-e.min}function jA(e,t=0,n=.01){return Math.abs(e-t)<=n}function qC(e,t,n,r=.5){e.origin=r,e.originPoint=yt(t.min,t.max,e.origin),e.scale=Qn(n)/Qn(t),(jA(e.scale,1,1e-4)||isNaN(e.scale))&&(e.scale=1),e.translate=yt(n.min,n.max,e.origin)-e.originPoint,(jA(e.translate)||isNaN(e.translate))&&(e.translate=0)}function As(e,t,n,r){qC(e.x,t.x,n.x,r?r.originX:void 0),qC(e.y,t.y,n.y,r?r.originY:void 0)}function JC(e,t,n){e.min=n.min+t.min,e.max=e.min+Qn(t)}function u9(e,t,n){JC(e.x,t.x,n.x),JC(e.y,t.y,n.y)}function XC(e,t,n){e.min=t.min-n.min,e.max=e.min+Qn(t)}function ds(e,t,n){XC(e.x,t.x,n.x),XC(e.y,t.y,n.y)}function A9(e,{min:t,max:n},r){return t!==void 0&&e<t?e=r?yt(t,e,r.min):Math.max(e,t):n!==void 0&&e>n&&(e=r?yt(n,e,r.max):Math.min(e,n)),e}function ZC(e,t,n){return{min:t!==void 0?e.min+t:void 0,max:n!==void 0?e.max+n-(e.max-e.min):void 0}}function d9(e,{top:t,left:n,bottom:r,right:i}){return{x:ZC(e.x,n,i),y:ZC(e.y,t,r)}}function $C(e,t){let n=t.min-e.min,r=t.max-e.max;return t.max-t.min<e.max-e.min&&([n,r]=[r,n]),{min:n,max:r}}function g9(e,t){return{x:$C(e.x,t.x),y:$C(e.y,t.y)}}function f9(e,t){let n=.5;const r=Qn(e),i=Qn(t);return i>r?n=vs(t.min,t.max-r,e.min):r>i&&(n=vs(e.min,e.max-i,t.min)),qr(0,1,n)}function p9(e,t){const n={};return t.min!==void 0&&(n.min=t.min-e.min),t.max!==void 0&&(n.max=t.max-e.min),n}const kA=.35;function h9(e=kA){return e===!1?e=0:e===!0&&(e=kA),{x:eE(e,"left","right"),y:eE(e,"top","bottom")}}function eE(e,t,n){return{min:tE(e,t),max:tE(e,n)}}function tE(e,t){return typeof e=="number"?e:e[t]||0}const nE=()=>({translate:0,scale:1,origin:0,originPoint:0}),ci=()=>({x:nE(),y:nE()}),rE=()=>({min:0,max:0}),Dt=()=>({x:rE(),y:rE()});function nr(e){return[e("x"),e("y")]}function dB({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function C9({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function E9(e,t){if(!t)return e;const n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}function Ju(e){return e===void 0||e===1}function FA({scale:e,scaleX:t,scaleY:n}){return!Ju(e)||!Ju(t)||!Ju(n)}function vo(e){return FA(e)||gB(e)||e.z||e.rotate||e.rotateX||e.rotateY}function gB(e){return oE(e.x)||oE(e.y)}function oE(e){return e&&e!=="0%"}function hl(e,t,n){const r=e-n,i=t*r;return n+i}function iE(e,t,n,r,i){return i!==void 0&&(e=hl(e,i,r)),hl(e,n,r)+t}function LA(e,t=0,n=1,r,i){e.min=iE(e.min,t,n,r,i),e.max=iE(e.max,t,n,r,i)}function fB(e,{x:t,y:n}){LA(e.x,t.translate,t.scale,t.originPoint),LA(e.y,n.translate,n.scale,n.originPoint)}function m9(e,t,n,r=!1){const i=n.length;if(!i)return;t.x=t.y=1;let a,l;for(let u=0;u<i;u++){a=n[u],l=a.projectionDelta;const d=a.instance;d&&d.style&&d.style.display==="contents"||(r&&a.options.layoutScroll&&a.scroll&&a!==a.root&&ui(e,{x:-a.scroll.offset.x,y:-a.scroll.offset.y}),l&&(t.x*=l.x.scale,t.y*=l.y.scale,fB(e,l)),r&&vo(a.latestValues)&&ui(e,a.latestValues))}t.x=sE(t.x),t.y=sE(t.y)}function sE(e){return Number.isInteger(e)||e>1.0000000000001||e<.999999999999?e:1}function Ur(e,t){e.min=e.min+t,e.max=e.max+t}function aE(e,t,[n,r,i]){const a=t[i]!==void 0?t[i]:.5,l=yt(e.min,e.max,a);LA(e,t[n],t[r],l,t.scale)}const I9=["x","scaleX","originX"],B9=["y","scaleY","originY"];function ui(e,t){aE(e.x,t,I9),aE(e.y,t,B9)}function pB(e,t){return dB(E9(e.getBoundingClientRect(),t))}function y9(e,t,n){const r=pB(e,n),{scroll:i}=t;return i&&(Ur(r.x,i.offset.x),Ur(r.y,i.offset.y)),r}const v9=new WeakMap;class b9{constructor(t){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=Dt(),this.visualElement=t}start(t,{snapToCursor:n=!1}={}){const{presenceContext:r}=this.visualElement;if(r&&r.isPresent===!1)return;const i=d=>{this.stopAnimation(),n&&this.snapToCursor(oc(d,"page").point)},a=(d,g)=>{const{drag:p,dragPropagation:E,onDragStart:h}=this.getProps();if(p&&!E&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=TI(p),!this.openGlobalLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),nr(I=>{let B=this.getAxisMotionValue(I).get()||0;if(ir.test(B)){const{projection:y}=this.visualElement;if(y&&y.layout){const O=y.layout.layoutBox[I];O&&(B=Qn(O)*(parseFloat(B)/100))}}this.originPoint[I]=B}),h&&ht.update(()=>h(d,g),!1,!0);const{animationState:m}=this.visualElement;m&&m.setActive("whileDrag",!0)},l=(d,g)=>{const{dragPropagation:p,dragDirectionLock:E,onDirectionLock:h,onDrag:m}=this.getProps();if(!p&&!this.openGlobalLock)return;const{offset:I}=g;if(E&&this.currentDirection===null){this.currentDirection=Q9(I),this.currentDirection!==null&&h&&h(this.currentDirection);return}this.updateAxis("x",g.point,I),this.updateAxis("y",g.point,I),this.visualElement.render(),m&&m(d,g)},u=(d,g)=>this.stop(d,g);this.panSession=new uB(t,{onSessionStart:i,onStart:a,onMove:l,onSessionEnd:u},{transformPagePoint:this.visualElement.getTransformPagePoint()})}stop(t,n){const r=this.isDragging;if(this.cancel(),!r)return;const{velocity:i}=n;this.startAnimation(i);const{onDragEnd:a}=this.getProps();a&&ht.update(()=>a(t,n))}cancel(){this.isDragging=!1;const{projection:t,animationState:n}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:r}=this.getProps();!r&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),n&&n.setActive("whileDrag",!1)}updateAxis(t,n,r){const{drag:i}=this.getProps();if(!r||!Oa(t,i,this.currentDirection))return;const a=this.getAxisMotionValue(t);let l=this.originPoint[t]+r[t];this.constraints&&this.constraints[t]&&(l=A9(l,this.constraints[t],this.elastic[t])),a.set(l)}resolveConstraints(){const{dragConstraints:t,dragElastic:n}=this.getProps(),{layout:r}=this.visualElement.projection||{},i=this.constraints;t&&ai(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&r?this.constraints=d9(r.layoutBox,t):this.constraints=!1,this.elastic=h9(n),i!==this.constraints&&r&&this.constraints&&!this.hasMutatedConstraints&&nr(a=>{this.getAxisMotionValue(a)&&(this.constraints[a]=p9(r.layoutBox[a],this.constraints[a]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!ai(t))return!1;const r=t.current;sr(r!==null,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");const{projection:i}=this.visualElement;if(!i||!i.layout)return!1;const a=y9(r,i.root,this.visualElement.getTransformPagePoint());let l=g9(i.layout.layoutBox,a);if(n){const u=n(C9(l));this.hasMutatedConstraints=!!u,u&&(l=dB(u))}return l}startAnimation(t){const{drag:n,dragMomentum:r,dragElastic:i,dragTransition:a,dragSnapToOrigin:l,onDragTransitionEnd:u}=this.getProps(),d=this.constraints||{},g=nr(p=>{if(!Oa(p,n,this.currentDirection))return;let E=d&&d[p]||{};l&&(E={min:0,max:0});const h=i?200:1e6,m=i?40:1e7,I={type:"inertia",velocity:r?t[p]:0,bounceStiffness:h,bounceDamping:m,timeConstant:750,restDelta:1,restSpeed:10,...a,...E};return this.startAxisValueAnimation(p,I)});return Promise.all(g).then(u)}startAxisValueAnimation(t,n){const r=this.getAxisMotionValue(t);return r.start(hg(t,r,0,n))}stopAnimation(){nr(t=>this.getAxisMotionValue(t).stop())}getAxisMotionValue(t){const n="_drag"+t.toUpperCase(),r=this.visualElement.getProps(),i=r[n];return i||this.visualElement.getValue(t,(r.initial?r.initial[t]:void 0)||0)}snapToCursor(t){nr(n=>{const{drag:r}=this.getProps();if(!Oa(n,r,this.currentDirection))return;const{projection:i}=this.visualElement,a=this.getAxisMotionValue(n);if(i&&i.layout){const{min:l,max:u}=i.layout.layoutBox[n];a.set(t[n]-yt(l,u,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:n}=this.getProps(),{projection:r}=this.visualElement;if(!ai(n)||!r||!this.constraints)return;this.stopAnimation();const i={x:0,y:0};nr(l=>{const u=this.getAxisMotionValue(l);if(u){const d=u.get();i[l]=f9({min:d,max:d},this.constraints[l])}});const{transformTemplate:a}=this.visualElement.getProps();this.visualElement.current.style.transform=a?a({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.resolveConstraints(),nr(l=>{if(!Oa(l,t,null))return;const u=this.getAxisMotionValue(l),{min:d,max:g}=this.constraints[l];u.set(yt(d,g,i[l]))})}addListeners(){if(!this.visualElement.current)return;v9.set(this.visualElement,this);const t=this.visualElement.current,n=Br(t,"pointerdown",d=>{const{drag:g,dragListener:p=!0}=this.getProps();g&&p&&this.start(d)}),r=()=>{const{dragConstraints:d}=this.getProps();ai(d)&&(this.constraints=this.resolveRefConstraints())},{projection:i}=this.visualElement,a=i.addEventListener("measure",r);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),r();const l=mr(window,"resize",()=>this.scalePositionWithinConstraints()),u=i.addEventListener("didUpdate",({delta:d,hasLayoutChanged:g})=>{this.isDragging&&g&&(nr(p=>{const E=this.getAxisMotionValue(p);E&&(this.originPoint[p]+=d[p].translate,E.set(E.get()+d[p].translate))}),this.visualElement.render())});return()=>{l(),n(),a(),u&&u()}}getProps(){const t=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:r=!1,dragPropagation:i=!1,dragConstraints:a=!1,dragElastic:l=kA,dragMomentum:u=!0}=t;return{...t,drag:n,dragDirectionLock:r,dragPropagation:i,dragConstraints:a,dragElastic:l,dragMomentum:u}}}function Oa(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function Q9(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}class x9 extends ro{constructor(t){super(t),this.removeGroupControls=xt,this.removeListeners=xt,this.controls=new b9(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||xt}unmount(){this.removeGroupControls(),this.removeListeners()}}const lE=e=>(t,n)=>{e&&ht.update(()=>e(t,n))};class w9 extends ro{constructor(){super(...arguments),this.removePointerDownListener=xt}onPointerDown(t){this.session=new uB(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint()})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:n,onPan:r,onPanEnd:i}=this.node.getProps();return{onSessionStart:lE(t),onStart:lE(n),onMove:r,onEnd:(a,l)=>{delete this.session,i&&ht.update(()=>i(a,l))}}}mount(){this.removePointerDownListener=Br(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}function T9(){const e=S.useContext(tg);if(e===null)return[!0,null];const{isPresent:t,onExitComplete:n,register:r}=e,i=S.useId();return S.useEffect(()=>r(i),[]),!t&&n?[!1,()=>n&&n(i)]:[!0]}const Wa={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function cE(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const Xi={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(Oe.test(e))e=parseFloat(e);else return e;const n=cE(e,t.target.x),r=cE(e,t.target.y);return`${n}% ${r}%`}},P9={correct:(e,{treeScale:t,projectionDelta:n})=>{const r=e,i=Jr.parse(e);if(i.length>5)return r;const a=Jr.createTransformer(e),l=typeof i[0]!="number"?1:0,u=n.x.scale*t.x,d=n.y.scale*t.y;i[0+l]/=u,i[1+l]/=d;const g=yt(u,d,.5);return typeof i[2+l]=="number"&&(i[2+l]/=g),typeof i[3+l]=="number"&&(i[3+l]/=g),a(i)}};class S9 extends S.Component{componentDidMount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r,layoutId:i}=this.props,{projection:a}=t;Lk(R9),a&&(n.group&&n.group.add(a),r&&r.register&&i&&r.register(a),a.root.didUpdate(),a.addEventListener("animationComplete",()=>{this.safeToRemove()}),a.setOptions({...a.options,onExitComplete:()=>this.safeToRemove()})),Wa.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:n,visualElement:r,drag:i,isPresent:a}=this.props,l=r.projection;return l&&(l.isPresent=a,i||t.layoutDependency!==n||n===void 0?l.willUpdate():this.safeToRemove(),t.isPresent!==a&&(a?l.promote():l.relegate()||ht.postRender(()=>{const u=l.getStack();(!u||!u.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),queueMicrotask(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r}=this.props,{projection:i}=t;i&&(i.scheduleCheckAfterUnmount(),n&&n.group&&n.group.remove(i),r&&r.deregister&&r.deregister(i))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}function hB(e){const[t,n]=T9(),r=S.useContext(AI);return S.createElement(S9,{...e,layoutGroup:r,switchLayoutGroup:S.useContext(dI),isPresent:t,safeToRemove:n})}const R9={borderRadius:{...Xi,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Xi,borderTopRightRadius:Xi,borderBottomLeftRadius:Xi,borderBottomRightRadius:Xi,boxShadow:P9},CB=["TopLeft","TopRight","BottomLeft","BottomRight"],O9=CB.length,uE=e=>typeof e=="string"?parseFloat(e):e,AE=e=>typeof e=="number"||Oe.test(e);function D9(e,t,n,r,i,a){i?(e.opacity=yt(0,n.opacity!==void 0?n.opacity:1,M9(r)),e.opacityExit=yt(t.opacity!==void 0?t.opacity:1,0,j9(r))):a&&(e.opacity=yt(t.opacity!==void 0?t.opacity:1,n.opacity!==void 0?n.opacity:1,r));for(let l=0;l<O9;l++){const u=`border${CB[l]}Radius`;let d=dE(t,u),g=dE(n,u);if(d===void 0&&g===void 0)continue;d||(d=0),g||(g=0),d===0||g===0||AE(d)===AE(g)?(e[u]=Math.max(yt(uE(d),uE(g),r),0),(ir.test(g)||ir.test(d))&&(e[u]+="%")):e[u]=g}(t.rotate||n.rotate)&&(e.rotate=yt(t.rotate||0,n.rotate||0,r))}function dE(e,t){return e[t]!==void 0?e[t]:e.borderRadius}const M9=EB(0,.5,dg),j9=EB(.5,.95,xt);function EB(e,t,n){return r=>r<e?0:r>t?1:n(vs(e,t,r))}function gE(e,t){e.min=t.min,e.max=t.max}function kn(e,t){gE(e.x,t.x),gE(e.y,t.y)}function fE(e,t,n,r,i){return e-=t,e=hl(e,1/n,r),i!==void 0&&(e=hl(e,1/i,r)),e}function k9(e,t=0,n=1,r=.5,i,a=e,l=e){if(ir.test(t)&&(t=parseFloat(t),t=yt(l.min,l.max,t/100)-l.min),typeof t!="number")return;let u=yt(a.min,a.max,r);e===a&&(u-=t),e.min=fE(e.min,t,n,u,i),e.max=fE(e.max,t,n,u,i)}function pE(e,t,[n,r,i],a,l){k9(e,t[n],t[r],t[i],t.scale,a,l)}const F9=["x","scaleX","originX"],L9=["y","scaleY","originY"];function hE(e,t,n,r){pE(e.x,t,F9,n?n.x:void 0,r?r.x:void 0),pE(e.y,t,L9,n?n.y:void 0,r?r.y:void 0)}function CE(e){return e.translate===0&&e.scale===1}function mB(e){return CE(e.x)&&CE(e.y)}function N9(e,t){return e.x.min===t.x.min&&e.x.max===t.x.max&&e.y.min===t.y.min&&e.y.max===t.y.max}function IB(e,t){return Math.round(e.x.min)===Math.round(t.x.min)&&Math.round(e.x.max)===Math.round(t.x.max)&&Math.round(e.y.min)===Math.round(t.y.min)&&Math.round(e.y.max)===Math.round(t.y.max)}function EE(e){return Qn(e.x)/Qn(e.y)}class V9{constructor(){this.members=[]}add(t){Cg(this.members,t),t.scheduleRender()}remove(t){if(Eg(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){const n=this.members[this.members.length-1];n&&this.promote(n)}}relegate(t){const n=this.members.findIndex(i=>t===i);if(n===0)return!1;let r;for(let i=n;i>=0;i--){const a=this.members[i];if(a.isPresent!==!1){r=a;break}}return r?(this.promote(r),!0):!1}promote(t,n){const r=this.lead;if(t!==r&&(this.prevLead=r,this.lead=t,t.show(),r)){r.instance&&r.scheduleRender(),t.scheduleRender(),t.resumeFrom=r,n&&(t.resumeFrom.preserveOpacity=!0),r.snapshot&&(t.snapshot=r.snapshot,t.snapshot.latestValues=r.animationValues||r.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);const{crossfade:i}=t.options;i===!1&&r.hide()}}exitAnimationComplete(){this.members.forEach(t=>{const{options:n,resumingFrom:r}=t;n.onExitComplete&&n.onExitComplete(),r&&r.options.onExitComplete&&r.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function mE(e,t,n){let r="";const i=e.x.translate/t.x,a=e.y.translate/t.y;if((i||a)&&(r=`translate3d(${i}px, ${a}px, 0) `),(t.x!==1||t.y!==1)&&(r+=`scale(${1/t.x}, ${1/t.y}) `),n){const{rotate:d,rotateX:g,rotateY:p}=n;d&&(r+=`rotate(${d}deg) `),g&&(r+=`rotateX(${g}deg) `),p&&(r+=`rotateY(${p}deg) `)}const l=e.x.scale*t.x,u=e.y.scale*t.y;return(l!==1||u!==1)&&(r+=`scale(${l}, ${u})`),r||"none"}const H9=(e,t)=>e.depth-t.depth;class z9{constructor(){this.children=[],this.isDirty=!1}add(t){Cg(this.children,t),this.isDirty=!0}remove(t){Eg(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(H9),this.isDirty=!1,this.children.forEach(t)}}function W9(e,t){const n=performance.now(),r=({timestamp:i})=>{const a=i-n;a>=t&&(xr(r),e(a-t))};return ht.read(r,!0),()=>xr(r)}function U9(e){window.MotionDebug&&window.MotionDebug.record(e)}function Y9(e){return e instanceof SVGElement&&e.tagName!=="svg"}function G9(e,t,n){const r=dn(e)?e:Ei(e);return r.start(hg("",r,t,n)),r.animation}const IE=["","X","Y","Z"],BE=1e3;let K9=0;const bo={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0};function BB({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:i}){return class{constructor(l={},u=t==null?void 0:t()){this.id=K9++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{bo.totalNodes=bo.resolvedTargetDeltas=bo.recalculatedProjection=0,this.nodes.forEach(J9),this.nodes.forEach(tL),this.nodes.forEach(nL),this.nodes.forEach(X9),U9(bo)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=l,this.root=u?u.root||u:this,this.path=u?[...u.path,u]:[],this.parent=u,this.depth=u?u.depth+1:0;for(let d=0;d<this.path.length;d++)this.path[d].shouldResetTransform=!0;this.root===this&&(this.nodes=new z9)}addEventListener(l,u){return this.eventHandlers.has(l)||this.eventHandlers.set(l,new mg),this.eventHandlers.get(l).add(u)}notifyListeners(l,...u){const d=this.eventHandlers.get(l);d&&d.notify(...u)}hasListeners(l){return this.eventHandlers.has(l)}mount(l,u=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=Y9(l),this.instance=l;const{layoutId:d,layout:g,visualElement:p}=this.options;if(p&&!p.current&&p.mount(l),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),u&&(g||d)&&(this.isLayoutDirty=!0),e){let E;const h=()=>this.root.updateBlockedByResize=!1;e(l,()=>{this.root.updateBlockedByResize=!0,E&&E(),E=W9(h,250),Wa.hasAnimatedSinceResize&&(Wa.hasAnimatedSinceResize=!1,this.nodes.forEach(vE))})}d&&this.root.registerSharedNode(d,this),this.options.animate!==!1&&p&&(d||g)&&this.addEventListener("didUpdate",({delta:E,hasLayoutChanged:h,hasRelativeTargetChanged:m,layout:I})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const B=this.options.transition||p.getDefaultTransition()||aL,{onLayoutAnimationStart:y,onLayoutAnimationComplete:O}=p.getProps(),M=!this.targetLayout||!IB(this.targetLayout,I)||m,w=!h&&m;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||w||h&&(M||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(E,w);const T={...iB(B,"layout"),onPlay:y,onComplete:O};(p.shouldReduceMotion||this.options.layoutRoot)&&(T.delay=0,T.type=!1),this.startAnimation(T)}else h||vE(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=I})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const l=this.getStack();l&&l.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,xr(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(rL),this.animationId++)}getTransformTemplate(){const{visualElement:l}=this.options;return l&&l.getProps().transformTemplate}willUpdate(l=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let p=0;p<this.path.length;p++){const E=this.path[p];E.shouldResetTransform=!0,E.updateScroll("snapshot"),E.options.layoutRoot&&E.willUpdate(!1)}const{layoutId:u,layout:d}=this.options;if(u===void 0&&!d)return;const g=this.getTransformTemplate();this.prevTransformTemplateValue=g?g(this.latestValues,""):void 0,this.updateSnapshot(),l&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(yE);return}this.isUpdating||this.nodes.forEach($9),this.isUpdating=!1,this.nodes.forEach(eL),this.nodes.forEach(_9),this.nodes.forEach(q9),this.clearAllSnapshots();const u=performance.now();Ht.delta=qr(0,1e3/60,u-Ht.timestamp),Ht.timestamp=u,Ht.isProcessing=!0,Vu.update.process(Ht),Vu.preRender.process(Ht),Vu.render.process(Ht),Ht.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,queueMicrotask(()=>this.update()))}clearAllSnapshots(){this.nodes.forEach(Z9),this.sharedNodes.forEach(oL)}scheduleUpdateProjection(){ht.preRender(this.updateProjection,!1,!0)}scheduleCheckAfterUnmount(){ht.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure())}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let d=0;d<this.path.length;d++)this.path[d].updateScroll();const l=this.layout;this.layout=this.measure(!1),this.layoutCorrected=Dt(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:u}=this.options;u&&u.notify("LayoutMeasure",this.layout.layoutBox,l?l.layoutBox:void 0)}updateScroll(l="measure"){let u=!!(this.options.layoutScroll&&this.instance);this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===l&&(u=!1),u&&(this.scroll={animationId:this.root.animationId,phase:l,isRoot:r(this.instance),offset:n(this.instance)})}resetTransform(){if(!i)return;const l=this.isLayoutDirty||this.shouldResetTransform,u=this.projectionDelta&&!mB(this.projectionDelta),d=this.getTransformTemplate(),g=d?d(this.latestValues,""):void 0,p=g!==this.prevTransformTemplateValue;l&&(u||vo(this.latestValues)||p)&&(i(this.instance,g),this.shouldResetTransform=!1,this.scheduleRender())}measure(l=!0){const u=this.measurePageBox();let d=this.removeElementScroll(u);return l&&(d=this.removeTransform(d)),lL(d),{animationId:this.root.animationId,measuredBox:u,layoutBox:d,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:l}=this.options;if(!l)return Dt();const u=l.measureViewportBox(),{scroll:d}=this.root;return d&&(Ur(u.x,d.offset.x),Ur(u.y,d.offset.y)),u}removeElementScroll(l){const u=Dt();kn(u,l);for(let d=0;d<this.path.length;d++){const g=this.path[d],{scroll:p,options:E}=g;if(g!==this.root&&p&&E.layoutScroll){if(p.isRoot){kn(u,l);const{scroll:h}=this.root;h&&(Ur(u.x,-h.offset.x),Ur(u.y,-h.offset.y))}Ur(u.x,p.offset.x),Ur(u.y,p.offset.y)}}return u}applyTransform(l,u=!1){const d=Dt();kn(d,l);for(let g=0;g<this.path.length;g++){const p=this.path[g];!u&&p.options.layoutScroll&&p.scroll&&p!==p.root&&ui(d,{x:-p.scroll.offset.x,y:-p.scroll.offset.y}),vo(p.latestValues)&&ui(d,p.latestValues)}return vo(this.latestValues)&&ui(d,this.latestValues),d}removeTransform(l){const u=Dt();kn(u,l);for(let d=0;d<this.path.length;d++){const g=this.path[d];if(!g.instance||!vo(g.latestValues))continue;FA(g.latestValues)&&g.updateSnapshot();const p=Dt(),E=g.measurePageBox();kn(p,E),hE(u,g.latestValues,g.snapshot?g.snapshot.layoutBox:void 0,p)}return vo(this.latestValues)&&hE(u,this.latestValues),u}setTargetDelta(l){this.targetDelta=l,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(l){this.options={...this.options,...l,crossfade:l.crossfade!==void 0?l.crossfade:!0}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==Ht.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(l=!1){var u;const d=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=d.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=d.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=d.isSharedProjectionDirty);const g=!!this.resumingFrom||this!==d;if(!(l||g&&this.isSharedProjectionDirty||this.isProjectionDirty||!((u=this.parent)===null||u===void 0)&&u.isProjectionDirty||this.attemptToResolveRelativeTarget))return;const{layout:E,layoutId:h}=this.options;if(!(!this.layout||!(E||h))){if(this.resolvedRelativeTargetAt=Ht.timestamp,!this.targetDelta&&!this.relativeTarget){const m=this.getClosestProjectingParent();m&&m.layout&&this.animationProgress!==1?(this.relativeParent=m,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Dt(),this.relativeTargetOrigin=Dt(),ds(this.relativeTargetOrigin,this.layout.layoutBox,m.layout.layoutBox),kn(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)){if(this.target||(this.target=Dt(),this.targetWithTransforms=Dt()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),u9(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):kn(this.target,this.layout.layoutBox),fB(this.target,this.targetDelta)):kn(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;const m=this.getClosestProjectingParent();m&&!!m.resumingFrom==!!this.resumingFrom&&!m.options.layoutScroll&&m.target&&this.animationProgress!==1?(this.relativeParent=m,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Dt(),this.relativeTargetOrigin=Dt(),ds(this.relativeTargetOrigin,this.target,m.target),kn(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}bo.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(!(!this.parent||FA(this.parent.latestValues)||gB(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var l;const u=this.getLead(),d=!!this.resumingFrom||this!==u;let g=!0;if((this.isProjectionDirty||!((l=this.parent)===null||l===void 0)&&l.isProjectionDirty)&&(g=!1),d&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(g=!1),this.resolvedRelativeTargetAt===Ht.timestamp&&(g=!1),g)return;const{layout:p,layoutId:E}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(p||E))return;kn(this.layoutCorrected,this.layout.layoutBox);const h=this.treeScale.x,m=this.treeScale.y;m9(this.layoutCorrected,this.treeScale,this.path,d),u.layout&&!u.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(u.target=u.layout.layoutBox);const{target:I}=u;if(!I){this.projectionTransform&&(this.projectionDelta=ci(),this.projectionTransform="none",this.scheduleRender());return}this.projectionDelta||(this.projectionDelta=ci(),this.projectionDeltaWithTransform=ci());const B=this.projectionTransform;As(this.projectionDelta,this.layoutCorrected,I,this.latestValues),this.projectionTransform=mE(this.projectionDelta,this.treeScale),(this.projectionTransform!==B||this.treeScale.x!==h||this.treeScale.y!==m)&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",I)),bo.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(l=!0){if(this.options.scheduleRender&&this.options.scheduleRender(),l){const u=this.getStack();u&&u.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}setAnimationOrigin(l,u=!1){const d=this.snapshot,g=d?d.latestValues:{},p={...this.latestValues},E=ci();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!u;const h=Dt(),m=d?d.source:void 0,I=this.layout?this.layout.source:void 0,B=m!==I,y=this.getStack(),O=!y||y.members.length<=1,M=!!(B&&!O&&this.options.crossfade===!0&&!this.path.some(sL));this.animationProgress=0;let w;this.mixTargetDelta=T=>{const P=T/1e3;bE(E.x,l.x,P),bE(E.y,l.y,P),this.setTargetDelta(E),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(ds(h,this.layout.layoutBox,this.relativeParent.layout.layoutBox),iL(this.relativeTarget,this.relativeTargetOrigin,h,P),w&&N9(this.relativeTarget,w)&&(this.isProjectionDirty=!1),w||(w=Dt()),kn(w,this.relativeTarget)),B&&(this.animationValues=p,D9(p,g,this.latestValues,P,M,O)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=P},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(l){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(xr(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=ht.update(()=>{Wa.hasAnimatedSinceResize=!0,this.currentAnimation=G9(0,BE,{...l,onUpdate:u=>{this.mixTargetDelta(u),l.onUpdate&&l.onUpdate(u)},onComplete:()=>{l.onComplete&&l.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const l=this.getStack();l&&l.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(BE),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const l=this.getLead();let{targetWithTransforms:u,target:d,layout:g,latestValues:p}=l;if(!(!u||!d||!g)){if(this!==l&&this.layout&&g&&yB(this.options.animationType,this.layout.layoutBox,g.layoutBox)){d=this.target||Dt();const E=Qn(this.layout.layoutBox.x);d.x.min=l.target.x.min,d.x.max=d.x.min+E;const h=Qn(this.layout.layoutBox.y);d.y.min=l.target.y.min,d.y.max=d.y.min+h}kn(u,d),ui(u,p),As(this.projectionDeltaWithTransform,this.layoutCorrected,u,p)}}registerSharedNode(l,u){this.sharedNodes.has(l)||this.sharedNodes.set(l,new V9),this.sharedNodes.get(l).add(u);const g=u.options.initialPromotionConfig;u.promote({transition:g?g.transition:void 0,preserveFollowOpacity:g&&g.shouldPreserveFollowOpacity?g.shouldPreserveFollowOpacity(u):void 0})}isLead(){const l=this.getStack();return l?l.lead===this:!0}getLead(){var l;const{layoutId:u}=this.options;return u?((l=this.getStack())===null||l===void 0?void 0:l.lead)||this:this}getPrevLead(){var l;const{layoutId:u}=this.options;return u?(l=this.getStack())===null||l===void 0?void 0:l.prevLead:void 0}getStack(){const{layoutId:l}=this.options;if(l)return this.root.sharedNodes.get(l)}promote({needsReset:l,transition:u,preserveFollowOpacity:d}={}){const g=this.getStack();g&&g.promote(this,d),l&&(this.projectionDelta=void 0,this.needsReset=!0),u&&this.setOptions({transition:u})}relegate(){const l=this.getStack();return l?l.relegate(this):!1}resetRotation(){const{visualElement:l}=this.options;if(!l)return;let u=!1;const{latestValues:d}=l;if((d.rotate||d.rotateX||d.rotateY||d.rotateZ)&&(u=!0),!u)return;const g={};for(let p=0;p<IE.length;p++){const E="rotate"+IE[p];d[E]&&(g[E]=d[E],l.setStaticValue(E,0))}l.render();for(const p in g)l.setStaticValue(p,g[p]);l.scheduleRender()}getProjectionStyles(l={}){var u,d;const g={};if(!this.instance||this.isSVG)return g;if(this.isVisible)g.visibility="";else return{visibility:"hidden"};const p=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,g.opacity="",g.pointerEvents=za(l.pointerEvents)||"",g.transform=p?p(this.latestValues,""):"none",g;const E=this.getLead();if(!this.projectionDelta||!this.layout||!E.target){const B={};return this.options.layoutId&&(B.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,B.pointerEvents=za(l.pointerEvents)||""),this.hasProjected&&!vo(this.latestValues)&&(B.transform=p?p({},""):"none",this.hasProjected=!1),B}const h=E.animationValues||E.latestValues;this.applyTransformsToTarget(),g.transform=mE(this.projectionDeltaWithTransform,this.treeScale,h),p&&(g.transform=p(h,g.transform));const{x:m,y:I}=this.projectionDelta;g.transformOrigin=`${m.origin*100}% ${I.origin*100}% 0`,E.animationValues?g.opacity=E===this?(d=(u=h.opacity)!==null&&u!==void 0?u:this.latestValues.opacity)!==null&&d!==void 0?d:1:this.preserveOpacity?this.latestValues.opacity:h.opacityExit:g.opacity=E===this?h.opacity!==void 0?h.opacity:"":h.opacityExit!==void 0?h.opacityExit:0;for(const B in cl){if(h[B]===void 0)continue;const{correct:y,applyTo:O}=cl[B],M=g.transform==="none"?h[B]:y(h[B],E);if(O){const w=O.length;for(let T=0;T<w;T++)g[O[T]]=M}else g[B]=M}return this.options.layoutId&&(g.pointerEvents=E===this?za(l.pointerEvents)||"":"none"),g}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(l=>{var u;return(u=l.currentAnimation)===null||u===void 0?void 0:u.stop()}),this.root.nodes.forEach(yE),this.root.sharedNodes.clear()}}}function _9(e){e.updateLayout()}function q9(e){var t;const n=((t=e.resumeFrom)===null||t===void 0?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&n&&e.hasListeners("didUpdate")){const{layoutBox:r,measuredBox:i}=e.layout,{animationType:a}=e.options,l=n.source!==e.layout.source;a==="size"?nr(E=>{const h=l?n.measuredBox[E]:n.layoutBox[E],m=Qn(h);h.min=r[E].min,h.max=h.min+m}):yB(a,n.layoutBox,r)&&nr(E=>{const h=l?n.measuredBox[E]:n.layoutBox[E],m=Qn(r[E]);h.max=h.min+m,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[E].max=e.relativeTarget[E].min+m)});const u=ci();As(u,r,n.layoutBox);const d=ci();l?As(d,e.applyTransform(i,!0),n.measuredBox):As(d,r,n.layoutBox);const g=!mB(u);let p=!1;if(!e.resumeFrom){const E=e.getClosestProjectingParent();if(E&&!E.resumeFrom){const{snapshot:h,layout:m}=E;if(h&&m){const I=Dt();ds(I,n.layoutBox,h.layoutBox);const B=Dt();ds(B,r,m.layoutBox),IB(I,B)||(p=!0),E.options.layoutRoot&&(e.relativeTarget=B,e.relativeTargetOrigin=I,e.relativeParent=E)}}}e.notifyListeners("didUpdate",{layout:r,snapshot:n,delta:d,layoutDelta:u,hasLayoutChanged:g,hasRelativeTargetChanged:p})}else if(e.isLead()){const{onExitComplete:r}=e.options;r&&r()}e.options.transition=void 0}function J9(e){bo.totalNodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function X9(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function Z9(e){e.clearSnapshot()}function yE(e){e.clearMeasurements()}function $9(e){e.isLayoutDirty=!1}function eL(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function vE(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function tL(e){e.resolveTargetDelta()}function nL(e){e.calcProjection()}function rL(e){e.resetRotation()}function oL(e){e.removeLeadSnapshot()}function bE(e,t,n){e.translate=yt(t.translate,0,n),e.scale=yt(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function QE(e,t,n,r){e.min=yt(t.min,n.min,r),e.max=yt(t.max,n.max,r)}function iL(e,t,n,r){QE(e.x,t.x,n.x,r),QE(e.y,t.y,n.y,r)}function sL(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const aL={duration:.45,ease:[.4,0,.1,1]},xE=e=>typeof navigator<"u"&&navigator.userAgent.toLowerCase().includes(e),wE=xE("applewebkit/")&&!xE("chrome/")?Math.round:xt;function TE(e){e.min=wE(e.min),e.max=wE(e.max)}function lL(e){TE(e.x),TE(e.y)}function yB(e,t,n){return e==="position"||e==="preserve-aspect"&&!jA(EE(t),EE(n),.2)}const cL=BB({attachResizeListener:(e,t)=>mr(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),Xu={current:void 0},vB=BB({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!Xu.current){const e=new cL({});e.mount(window),e.setOptions({layoutScroll:!0}),Xu.current=e}return Xu.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),uL={pan:{Feature:w9},drag:{Feature:x9,ProjectionNode:vB,MeasureLayout:hB}},AL=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function dL(e){const t=AL.exec(e);if(!t)return[,];const[,n,r]=t;return[n,r]}const gL=4;function NA(e,t,n=1){sr(n<=gL,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);const[r,i]=dL(e);if(!r)return;const a=window.getComputedStyle(t).getPropertyValue(r);if(a){const l=a.trim();return sB(l)?parseFloat(l):l}else return TA(i)?NA(i,t,n+1):i}function fL(e,{...t},n){const r=e.current;if(!(r instanceof Element))return{target:t,transitionEnd:n};n&&(n={...n}),e.values.forEach(i=>{const a=i.get();if(!TA(a))return;const l=NA(a,r);l&&i.set(l)});for(const i in t){const a=t[i];if(!TA(a))continue;const l=NA(a,r);l&&(t[i]=l,n||(n={}),n[i]===void 0&&(n[i]=a))}return{target:t,transitionEnd:n}}const pL=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),bB=e=>pL.has(e),hL=e=>Object.keys(e).some(bB),Da=e=>e===Oo||e===Oe,PE=(e,t)=>parseFloat(e.split(", ")[t]),SE=(e,t)=>(n,{transform:r})=>{if(r==="none"||!r)return 0;const i=r.match(/^matrix3d\((.+)\)$/);if(i)return PE(i[1],t);{const a=r.match(/^matrix\((.+)\)$/);return a?PE(a[1],e):0}},CL=new Set(["x","y","z"]),EL=Ps.filter(e=>!CL.has(e));function mL(e){const t=[];return EL.forEach(n=>{const r=e.getValue(n);r!==void 0&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),t.length&&e.render(),t}const mi={width:({x:e},{paddingLeft:t="0",paddingRight:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),height:({y:e},{paddingTop:t="0",paddingBottom:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:SE(4,13),y:SE(5,14)};mi.translateX=mi.x;mi.translateY=mi.y;const IL=(e,t,n)=>{const r=t.measureViewportBox(),i=t.current,a=getComputedStyle(i),{display:l}=a,u={};l==="none"&&t.setStaticValue("display",e.display||"block"),n.forEach(g=>{u[g]=mi[g](r,a)}),t.render();const d=t.measureViewportBox();return n.forEach(g=>{const p=t.getValue(g);p&&p.jump(u[g]),e[g]=mi[g](d,a)}),e},BL=(e,t,n={},r={})=>{t={...t},r={...r};const i=Object.keys(t).filter(bB);let a=[],l=!1;const u=[];if(i.forEach(d=>{const g=e.getValue(d);if(!e.hasValue(d))return;let p=n[d],E=Ji(p);const h=t[d];let m;if(Al(h)){const I=h.length,B=h[0]===null?1:0;p=h[B],E=Ji(p);for(let y=B;y<I&&h[y]!==null;y++)m?sr(Ji(h[y])===m,"All keyframes must be of the same type"):(m=Ji(h[y]),sr(m===E||Da(E)&&Da(m),"Keyframes must be of the same dimension as the current value"))}else m=Ji(h);if(E!==m)if(Da(E)&&Da(m)){const I=g.get();typeof I=="string"&&g.set(parseFloat(I)),typeof h=="string"?t[d]=parseFloat(h):Array.isArray(h)&&m===Oe&&(t[d]=h.map(parseFloat))}else E!=null&&E.transform&&(m!=null&&m.transform)&&(p===0||h===0)?p===0?g.set(m.transform(p)):t[d]=E.transform(h):(l||(a=mL(e),l=!0),u.push(d),r[d]=r[d]!==void 0?r[d]:t[d],g.jump(h))}),u.length){const d=u.indexOf("height")>=0?window.pageYOffset:null,g=IL(t,e,u);return a.length&&a.forEach(([p,E])=>{e.getValue(p).set(E)}),e.render(),ec&&d!==null&&window.scrollTo({top:d}),{target:g,transitionEnd:r}}else return{target:t,transitionEnd:r}};function yL(e,t,n,r){return hL(t)?BL(e,t,n,r):{target:t,transitionEnd:r}}const vL=(e,t,n,r)=>{const i=fL(e,t,r);return t=i.target,r=i.transitionEnd,yL(e,t,n,r)},VA={current:null},QB={current:!1};function bL(){if(QB.current=!0,!!ec)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>VA.current=e.matches;e.addListener(t),t()}else VA.current=!1}function QL(e,t,n){const{willChange:r}=t;for(const i in t){const a=t[i],l=n[i];if(dn(a))e.addValue(i,a),pl(r)&&r.add(i),process.env.NODE_ENV==="development"&&Ig(a.version==="10.16.4",`Attempting to mix Framer Motion versions ${a.version} with 10.16.4 may not work as expected.`);else if(dn(l))e.addValue(i,Ei(a,{owner:e})),pl(r)&&r.remove(i);else if(l!==a)if(e.hasValue(i)){const u=e.getValue(i);!u.hasAnimated&&u.set(a)}else{const u=e.getStaticValue(i);e.addValue(i,Ei(u!==void 0?u:a,{owner:e}))}}for(const i in n)t[i]===void 0&&e.removeValue(i);return t}const RE=new WeakMap,xB=Object.keys(ys),xL=xB.length,OE=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],wL=rg.length;class TL{constructor({parent:t,props:n,presenceContext:r,reducedMotionConfig:i,visualState:a},l={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.scheduleRender=()=>ht.render(this.render,!1,!0);const{latestValues:u,renderState:d}=a;this.latestValues=u,this.baseTarget={...u},this.initialValues=n.initial?{...u}:{},this.renderState=d,this.parent=t,this.props=n,this.presenceContext=r,this.depth=t?t.depth+1:0,this.reducedMotionConfig=i,this.options=l,this.isControllingVariants=nc(n),this.isVariantNode=uI(n),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:g,...p}=this.scrapeMotionValuesFromProps(n,{});for(const E in p){const h=p[E];u[E]!==void 0&&dn(h)&&(h.set(u[E],!1),pl(g)&&g.add(E))}}scrapeMotionValuesFromProps(t,n){return{}}mount(t){this.current=t,RE.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((n,r)=>this.bindToMotionValue(r,n)),QB.current||bL(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:VA.current,process.env.NODE_ENV!=="production"&&Ig(this.shouldReduceMotion!==!0,"You have Reduced Motion enabled on your device. Animations may not appear as expected."),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){RE.delete(this.current),this.projection&&this.projection.unmount(),xr(this.notifyUpdate),xr(this.render),this.valueSubscriptions.forEach(t=>t()),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(const t in this.events)this.events[t].clear();for(const t in this.features)this.features[t].unmount();this.current=null}bindToMotionValue(t,n){const r=Ro.has(t),i=n.on("change",l=>{this.latestValues[t]=l,this.props.onUpdate&&ht.update(this.notifyUpdate,!1,!0),r&&this.projection&&(this.projection.isTransformDirty=!0)}),a=n.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(t,()=>{i(),a()})}sortNodePosition(t){return!this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}loadFeatures({children:t,...n},r,i,a){let l,u;if(process.env.NODE_ENV!=="production"&&i&&r){const d="You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.";n.ignoreStrict?Os(!1,d):sr(!1,d)}for(let d=0;d<xL;d++){const g=xB[d],{isEnabled:p,Feature:E,ProjectionNode:h,MeasureLayout:m}=ys[g];h&&(l=h),p(n)&&(!this.features[g]&&E&&(this.features[g]=new E(this)),m&&(u=m))}if(!this.projection&&l){this.projection=new l(this.latestValues,this.parent&&this.parent.projection);const{layoutId:d,layout:g,drag:p,dragConstraints:E,layoutScroll:h,layoutRoot:m}=n;this.projection.setOptions({layoutId:d,layout:g,alwaysMeasureLayout:!!p||E&&ai(E),visualElement:this,scheduleRender:()=>this.scheduleRender(),animationType:typeof g=="string"?g:"both",initialPromotionConfig:a,layoutScroll:h,layoutRoot:m})}return u}updateFeatures(){for(const t in this.features){const n=this.features[t];n.isMounted?n.update():(n.mount(),n.isMounted=!0)}}triggerBuild(){this.build(this.renderState,this.latestValues,this.options,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):Dt()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,n){this.latestValues[t]=n}makeTargetAnimatable(t,n=!0){return this.makeTargetAnimatableFromInstance(t,this.props,n)}update(t,n){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=n;for(let r=0;r<OE.length;r++){const i=OE[r];this.propEventSubscriptions[i]&&(this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i]);const a=t["on"+i];a&&(this.propEventSubscriptions[i]=this.on(i,a))}this.prevMotionValues=QL(this,this.scrapeMotionValuesFromProps(t,this.prevProps),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}getVariantContext(t=!1){if(t)return this.parent?this.parent.getVariantContext():void 0;if(!this.isControllingVariants){const r=this.parent?this.parent.getVariantContext()||{}:{};return this.props.initial!==void 0&&(r.initial=this.props.initial),r}const n={};for(let r=0;r<wL;r++){const i=rg[r],a=this.props[i];(Bs(a)||a===!1)&&(n[i]=a)}return n}addVariantChild(t){const n=this.getClosestVariantNode();if(n)return n.variantChildren&&n.variantChildren.add(t),()=>n.variantChildren.delete(t)}addValue(t,n){n!==this.values.get(t)&&(this.removeValue(t),this.bindToMotionValue(t,n)),this.values.set(t,n),this.latestValues[t]=n.get()}removeValue(t){this.values.delete(t);const n=this.valueSubscriptions.get(t);n&&(n(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,n){if(this.props.values&&this.props.values[t])return this.props.values[t];let r=this.values.get(t);return r===void 0&&n!==void 0&&(r=Ei(n,{owner:this}),this.addValue(t,r)),r}readValue(t){var n;return this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:(n=this.getBaseTargetFromProps(this.props,t))!==null&&n!==void 0?n:this.readValueFromInstance(this.current,t,this.options)}setBaseTarget(t,n){this.baseTarget[t]=n}getBaseTarget(t){var n;const{initial:r}=this.props,i=typeof r=="string"||typeof r=="object"?(n=Ag(this.props,r))===null||n===void 0?void 0:n[t]:void 0;if(r&&i!==void 0)return i;const a=this.getBaseTargetFromProps(this.props,t);return a!==void 0&&!dn(a)?a:this.initialValues[t]!==void 0&&i===void 0?void 0:this.baseTarget[t]}on(t,n){return this.events[t]||(this.events[t]=new mg),this.events[t].add(n)}notify(t,...n){this.events[t]&&this.events[t].notify(...n)}}class wB extends TL{sortInstanceNodePosition(t,n){return t.compareDocumentPosition(n)&2?1:-1}getBaseTargetFromProps(t,n){return t.style?t.style[n]:void 0}removeValueFromRenderState(t,{vars:n,style:r}){delete n[t],delete r[t]}makeTargetAnimatableFromInstance({transition:t,transitionEnd:n,...r},{transformValues:i},a){let l=GF(r,t||{},this);if(i&&(n&&(n=i(n)),r&&(r=i(r)),l&&(l=i(l))),a){UF(this,r,l);const u=vL(this,r,l,n);n=u.transitionEnd,r=u.target}return{transition:t,transitionEnd:n,...r}}}function PL(e){return window.getComputedStyle(e)}class SL extends wB{readValueFromInstance(t,n){if(Ro.has(n)){const r=pg(n);return r&&r.default||0}else{const r=PL(t),i=(pI(n)?r.getPropertyValue(n):r[n])||0;return typeof i=="string"?i.trim():i}}measureInstanceViewportBox(t,{transformPagePoint:n}){return pB(t,n)}build(t,n,r,i){ig(t,n,r,i.transformTemplate)}scrapeMotionValuesFromProps(t,n){return ug(t,n)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;dn(t)&&(this.childSubscription=t.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}renderInstance(t,n,r,i){BI(t,n,r,i)}}class RL extends wB{constructor(){super(...arguments),this.isSVGTag=!1}getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){if(Ro.has(n)){const r=pg(n);return r&&r.default||0}return n=yI.has(n)?n:cg(n),t.getAttribute(n)}measureInstanceViewportBox(){return Dt()}scrapeMotionValuesFromProps(t,n){return bI(t,n)}build(t,n,r,i){ag(t,n,r,this.isSVGTag,i.transformTemplate)}renderInstance(t,n,r,i){vI(t,n,r,i)}mount(t){this.isSVGTag=lg(t.tagName),super.mount(t)}}const OL=(e,t)=>og(e)?new RL(t,{enableHardwareAcceleration:!1}):new SL(t,{enableHardwareAcceleration:!0}),DL={layout:{ProjectionNode:vB,MeasureLayout:hB}},ML={...s9,...T6,...uL,...DL},Ma=kk((e,t)=>p6(e,t,ML,OL)),jL=(e,t,n)=>{const r=t-e;return((n-e)%r+r)%r+e};function DE(...e){const t=S.useRef(0),[n,r]=S.useState(e[t.current]),i=S.useCallback(a=>{t.current=typeof a!="number"?jL(0,e.length,t.current+1):a,r(e[t.current])},[e.length,...e]);return[n,i]}function TB({children:e,type:t="scale",direction:n="right",offset:r=10,scale:i={hover:1.05,tap:.95}}){let a,l;switch(n){case"up":case"left":a=r,l=0;break;case"right":case"down":default:a=0,l=r;break}const[u,d]=DE(a,l),[g,p]=DE(a,l);switch(t){case"rotate":return f.jsx(Ma.div,{animate:{rotate:360},transition:{repeat:1/0,repeatType:"loop",duration:2,repeatDelay:0},children:e});case"slide":return n==="up"||n==="down"?f.jsx(Ma.div,{animate:{y:g!==void 0?g:""},onHoverEnd:()=>p(),onHoverStart:()=>p(),children:e}):f.jsx(Ma.div,{animate:{x:u!==void 0?u:""},onHoverEnd:()=>d(),onHoverStart:()=>d(),children:e});case"scale":default:return typeof i=="number"&&(i={hover:i,tap:i}),f.jsx(Ma.div,{whileHover:{scale:i==null?void 0:i.hover},whileTap:{scale:i==null?void 0:i.tap},children:e})}}TB.propTypes={children:c.node,offset:c.number,type:c.oneOf(["slide","scale","rotate"]),direction:c.oneOf(["up","down","left","right"]),scale:c.oneOfType([c.number,c.object])};const $t=(e,t)=>{switch(t){case"secondary":return e.palette.secondary;case"error":return e.palette.error;case"warning":return e.palette.warning;case"info":return e.palette.info;case"success":return e.palette.success;default:return e.palette.primary}};function kL({theme:e,color:t,type:n}){const r=$t(e,t),{lighter:i,light:a,main:l,contrastText:u}=r;switch(n){case"filled":return{color:u,backgroundColor:l};case"outlined":return{color:l,border:"1px solid",borderColor:l,backgroundColor:"transparent"};case"combined":return{color:l,border:"1px solid",borderColor:a,backgroundColor:i};default:return{color:l,backgroundColor:i}}}function FL(e){switch(e){case"badge":return{border:"2px solid",fontSize:"0.675rem",width:20,height:20};case"xs":return{fontSize:"0.75rem",width:24,height:24};case"sm":return{fontSize:"0.875rem",width:32,height:32};case"lg":return{fontSize:"1.2rem",width:52,height:52};case"xl":return{fontSize:"1.5rem",width:64,height:64};case"md":default:return{fontSize:"1rem",width:40,height:40}}}const LL=ce(Mj,{shouldForwardProp:e=>e!=="color"&&e!=="type"&&e!=="size"})(({theme:e,variant:t,color:n,type:r,size:i})=>({...FL(i),...kL({variant:t,theme:e,color:n,type:r}),...i==="badge"&&{borderColor:e.palette.background.default}}));function Cl({variant:e="circular",children:t,color:n="primary",type:r,size:i="md",...a}){const l=ut();return f.jsx(LL,{variant:e,theme:l,color:n,type:r,size:i,...a,children:t})}Cl.propTypes={children:c.node,color:c.string,type:c.string,size:c.string,variant:c.string};const sc=({color:e,size:t,variant:n,sx:r})=>{const i=ut(),a=$t(i,e||"primary"),{main:l}=a;return f.jsx(Q.Box,{component:"span",sx:{width:t||8,height:t||8,borderRadius:"50%",bgcolor:n==="outlined"?"":l,...n==="outlined"&&{border:`1px solid ${l}`},...r}})};sc.propTypes={color:c.string,size:c.number,variant:c.string,sx:c.oneOfType([c.object,c.string])};const wi=(e,t)=>{switch(t){case"secondary":return e.customShadows.secondary;case"error":return e.customShadows.error;case"warning":return e.customShadows.warning;case"info":return e.customShadows.info;case"success":return e.customShadows.success;case"primaryButton":return e.customShadows.primaryButton;case"secondaryButton":return e.customShadows.secondaryButton;case"errorButton":return e.customShadows.errorButton;case"warningButton":return e.customShadows.warningButton;case"infoButton":return e.customShadows.infoButton;case"successButton":return e.customShadows.successButton;default:return e.customShadows.primary}};wi.propTypes={theme:c.object,shadow:c.string};function NL({variant:e,theme:t,color:n}){const r=$t(t,n),{lighter:i,light:a,dark:l,main:u,contrastText:d}=r,g=`${n}Button`,p=wi(t,g),E={"&::after":{boxShadow:`0 0 6px 6px ${Ve(u,.9)}`},"&:active::after":{boxShadow:`0 0 0 0 ${Ve(u,.9)}`},"&:focus-visible":{outline:`2px solid ${l}`,outlineOffset:2}};switch(e){case"contained":return{color:d,backgroundColor:u,"&:hover":{backgroundColor:l},...E};case"light":return{color:u,backgroundColor:i,"&:hover":{backgroundColor:a},...E};case"shadow":return{boxShadow:p,color:d,backgroundColor:u,"&:hover":{boxShadow:"none",backgroundColor:l},...E};case"outlined":return{"&:hover":{backgroundColor:"transparent",color:l,borderColor:l},...E};case"dashed":return{backgroundColor:i,"&:hover":{color:l,borderColor:l},...E};case"text":default:return{"&:hover":{color:l,backgroundColor:i},...E}}}const VL=ce(M5,{shouldForwardProp:e=>e!=="variant"&&e!=="shape"})(({theme:e,variant:t,shape:n,color:r})=>({position:"relative","::after":{content:'""',display:"block",position:"absolute",left:0,top:0,width:"100%",height:"100%",borderRadius:n==="rounded"?"50%":4,opacity:0,transition:"all 0.5s"},":active::after":{position:"absolute",borderRadius:n==="rounded"?"50%":4,left:0,top:0,opacity:1,transition:"0s"},...n==="rounded"&&{borderRadius:"50%"},...t==="outlined"&&{border:"1px solid",borderColor:"inherit"},...t==="dashed"&&{border:"1px dashed",borderColor:"inherit"},...t!=="text"&&{"&.Mui-disabled":{backgroundColor:e.palette.grey[200]}},...NL({variant:t,theme:e,color:r})})),Xr=S.forwardRef(({variant:e="text",shape:t="square",children:n,color:r="primary",...i},a)=>{const l=ut();return f.jsx(VL,{ref:a,disableRipple:!0,variant:e,shape:t,theme:l,color:r,...i,children:n})});Xr.propTypes={variant:c.string,shape:c.string,children:c.node,color:c.string};Xr.displayName="IconButton";function HL(e){return wt("MuiLoadingButton",e)}const zL=St("MuiLoadingButton",["root","loading","loadingIndicator","loadingIndicatorCenter","loadingIndicatorStart","loadingIndicatorEnd","endIconLoadingEnd","startIconLoadingStart"]),hr=zL,WL=["children","disabled","id","loading","loadingIndicator","loadingPosition","variant"],UL=e=>{const{loading:t,loadingPosition:n,classes:r}=e,i={root:["root",t&&"loading"],startIcon:[t&&`startIconLoading${be(n)}`],endIcon:[t&&`endIconLoading${be(n)}`],loadingIndicator:["loadingIndicator",t&&`loadingIndicator${be(n)}`]},a=jt(i,HL,r);return U({},r,a)},YL=e=>e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"&&e!=="classes",GL=ce(BA,{shouldForwardProp:e=>YL(e)||e==="classes",name:"MuiLoadingButton",slot:"Root",overridesResolver:(e,t)=>[t.root,t.startIconLoadingStart&&{[`& .${hr.startIconLoadingStart}`]:t.startIconLoadingStart},t.endIconLoadingEnd&&{[`& .${hr.endIconLoadingEnd}`]:t.endIconLoadingEnd}]})(({ownerState:e,theme:t})=>U({[`& .${hr.startIconLoadingStart}, & .${hr.endIconLoadingEnd}`]:{transition:t.transitions.create(["opacity"],{duration:t.transitions.duration.short}),opacity:0}},e.loadingPosition==="center"&&{transition:t.transitions.create(["background-color","box-shadow","border-color"],{duration:t.transitions.duration.short}),[`&.${hr.loading}`]:{color:"transparent"}},e.loadingPosition==="start"&&e.fullWidth&&{[`& .${hr.startIconLoadingStart}, & .${hr.endIconLoadingEnd}`]:{transition:t.transitions.create(["opacity"],{duration:t.transitions.duration.short}),opacity:0,marginRight:-8}},e.loadingPosition==="end"&&e.fullWidth&&{[`& .${hr.startIconLoadingStart}, & .${hr.endIconLoadingEnd}`]:{transition:t.transitions.create(["opacity"],{duration:t.transitions.duration.short}),opacity:0,marginLeft:-8}})),KL=ce("span",{name:"MuiLoadingButton",slot:"LoadingIndicator",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.loadingIndicator,t[`loadingIndicator${be(n.loadingPosition)}`]]}})(({theme:e,ownerState:t})=>U({position:"absolute",visibility:"visible",display:"flex"},t.loadingPosition==="start"&&(t.variant==="outlined"||t.variant==="contained")&&{left:t.size==="small"?10:14},t.loadingPosition==="start"&&t.variant==="text"&&{left:6},t.loadingPosition==="center"&&{left:"50%",transform:"translate(-50%)",color:(e.vars||e).palette.action.disabled},t.loadingPosition==="end"&&(t.variant==="outlined"||t.variant==="contained")&&{right:t.size==="small"?10:14},t.loadingPosition==="end"&&t.variant==="text"&&{right:6},t.loadingPosition==="start"&&t.fullWidth&&{position:"relative",left:-10},t.loadingPosition==="end"&&t.fullWidth&&{position:"relative",right:-10})),PB=k.forwardRef(function(t,n){const r=Rt({props:t,name:"MuiLoadingButton"}),{children:i,disabled:a=!1,id:l,loading:u=!1,loadingIndicator:d,loadingPosition:g="center",variant:p="text"}=r,E=We(r,WL),h=_A(l),m=d??f.jsx(CM,{"aria-labelledby":h,color:"inherit",size:16}),I=U({},r,{disabled:a,loading:u,loadingIndicator:m,loadingPosition:g,variant:p}),B=UL(I),y=u?f.jsx(KL,{className:B.loadingIndicator,ownerState:I,children:m}):null;return f.jsxs(GL,U({disabled:a||u,id:h,ref:n},E,{variant:p,classes:B,ownerState:I,children:[I.loadingPosition==="end"?i:y,I.loadingPosition==="end"?y:i]}))});process.env.NODE_ENV!=="production"&&(PB.propTypes={children:c.node,classes:c.object,disabled:c.bool,id:c.string,loading:c.bool,loadingIndicator:c.node,loadingPosition:$r(c.oneOf(["start","end","center"]),e=>e.loadingPosition==="start"&&!e.startIcon?new Error('MUI: The loadingPosition="start" should be used in combination with startIcon.'):e.loadingPosition==="end"&&!e.endIcon?new Error('MUI: The loadingPosition="end" should be used in combination with endIcon.'):null),sx:c.oneOfType([c.arrayOf(c.oneOfType([c.func,c.object,c.bool])),c.func,c.object]),variant:c.oneOfType([c.oneOf(["contained","outlined","text"]),c.string])});const _L=PB;function Zu({variant:e,theme:t,color:n,loadingPosition:r}){const i=$t(t,n),{lighter:a,main:l,dark:u,contrastText:d}=i,g=`${n}Button`,p=wi(t,g),E={"& .MuiLoadingButton-loadingIndicator":{color:l}},h={...r&&r!=="center"&&{color:l}},m={"&::after":{boxShadow:`0 0 6px 6px ${Ve(l,.9)}`},"&:active::after":{boxShadow:`0 0 0 0 ${Ve(l,.9)}`},"&:focus-visible":{outline:`2px solid ${u}`,outlineOffset:2}};switch(e){case"contained":return{backgroundColor:l,...r&&r!=="center"&&{color:d},"& .MuiLoadingButton-loadingIndicator":{color:d},"&:hover":{backgroundColor:u,color:d},...m};case"light":return{backgroundColor:l,...r&&r!=="center"&&{color:d},"& .MuiLoadingButton-loadingIndicator":{color:d},"&:hover":{backgroundColor:u,color:d},...m};case"shadow":return{boxShadow:p,backgroundColor:l,...r&&r!=="center"&&{color:d},"& .MuiLoadingButton-loadingIndicator":{color:d},"&:hover":{boxShadow:"none",backgroundColor:u,color:d},...m};case"outlined":return{backgroundColor:"transparent",borderColor:l,...h,...E};case"dashed":return{backgroundColor:a,borderColor:l,...h,...E,...m};case"text":default:return{color:l,...E,...m}}}const qL=ce(_L,{shouldForwardProp:e=>e!=="shape"&&e!=="variant"})(({theme:e,variant:t,shape:n,color:r,loading:i,loadingPosition:a})=>({"::after":{content:'""',display:"block",position:"absolute",left:0,top:0,width:"100%",height:"100%",borderRadius:n==="rounded"?"50%":4,opacity:0,transition:"all 0.5s"},":active::after":{position:"absolute",borderRadius:n==="rounded"?"50%":4,left:0,top:0,opacity:1,transition:"0s"},...t==="text"&&{...Zu({variant:t,theme:e,color:r,loadingPosition:a}),"&.MuiButton-sizeMedium":{height:36},"&.MuiButton-sizeSmall":{height:30},"&.MuiButton-sizeLarge":{height:44}},...n&&{minWidth:0,"&.MuiButton-sizeMedium":{width:36,height:36},"&.MuiButton-sizeSmall":{width:30,height:30},"&.MuiButton-sizeLarge":{width:44,height:44},...n==="rounded"&&{borderRadius:"50%"}},...t==="outlined"&&{border:"1px solid"},...t==="dashed"&&{border:"1px dashed"},...(t==="contained"||t==="shadow")&&!i&&{color:"#fff"},...t!=="text"&&{...Zu({variant:t,theme:e,color:r,loadingPosition:a})},"&.Mui-disabled":{...t!=="text"&&{...Zu({variant:t,theme:e,color:r,loadingPosition:a})}}})),Bg=S.forwardRef(({variant:e="text",shape:t,children:n,color:r="primary",...i},a)=>{const l=ut();return f.jsx(qL,{ref:a,variant:e,shape:t,theme:l,loadingPosition:i.loadingPosition,loading:i.loading,color:r,...i,children:n})});Bg.propTypes={variant:c.string,shape:c.string,children:c.node,color:c.string};Bg.displayName="LoadingButton";function JL({color:e,theme:t,labelColor:n}){const r=$t(t,e),{main:i,contrastText:a}=r;let l=e||"";return["primary","secondary","info","success","warning","error"].includes(l)?{[`& .${Q.tooltipClasses.tooltip}`]:{backgroundColor:i,color:n||a},[`& .${Q.tooltipClasses.arrow}`]:{color:i}}:{[`& .${Q.tooltipClasses.tooltip}`]:{backgroundColor:l,color:n||a,boxShadow:t.shadows[1]},[`& .${Q.tooltipClasses.arrow}`]:{color:l}}}const XL=ce(({className:e,...t})=>f.jsx(Q.Tooltip,{...t,classes:{popper:e}}),{shouldForwardProp:e=>e!=="color"&&e!=="labelColor"})(({theme:e,color:t,labelColor:n})=>({...t&&JL({color:t,theme:e,labelColor:n})}));function SB({children:e,arrow:t,labelColor:n="",...r}){const i=ut();return f.jsx(Q.Box,{display:"flex",children:f.jsx(XL,{arrow:t,...r,theme:i,labelColor:n,children:e})})}SB.propTypes={children:c.element,arrow:c.bool,labelColor:c.string,rest:c.array};const Zr=S.forwardRef(({children:e,position:t="top-left",type:n="grow",direction:r="up",...i},a)=>{let l={transformOrigin:"0 0 0"};switch(t){case"top-right":l={transformOrigin:"top right"};break;case"top":l={transformOrigin:"top"};break;case"bottom-left":l={transformOrigin:"bottom left"};break;case"bottom-right":l={transformOrigin:"bottom right"};break;case"bottom":l={transformOrigin:"bottom"};break;case"top-left":default:l={transformOrigin:"0 0 0"};break}return f.jsxs(Q.Box,{ref:a,children:[n==="grow"&&f.jsx(Q.Grow,{...i,timeout:{appear:0,enter:150,exit:150},children:f.jsx(Q.Box,{sx:l,children:e})}),n==="collapse"&&f.jsx(Q.Collapse,{...i,sx:l,children:e}),n==="fade"&&f.jsx(Q.Fade,{...i,timeout:{appear:0,enter:300,exit:150},children:f.jsx(Q.Box,{sx:l,children:e})}),n==="slide"&&f.jsx(Q.Slide,{...i,timeout:{appear:0,enter:150,exit:150},direction:r,children:f.jsx(Q.Box,{sx:l,children:e})}),n==="zoom"&&f.jsx(Q.Zoom,{...i,children:f.jsx(Q.Box,{sx:l,children:e})})]})});Zr.propTypes={children:c.node,type:c.oneOf(["grow","fade","collapse","slide","zoom"]),position:c.oneOf(["top-left","top-right","top","bottom-left","bottom-right","bottom"]),direction:c.oneOf(["up","down","left","right"])};S.forwardRef(function(t,n){return f.jsx(Q.Zoom,{ref:n,timeout:200,...t})});function RB({value:e,...t}){return f.jsxs(Q.Box,{sx:{position:"relative",display:"inline-flex"},children:[f.jsx(Q.CircularProgress,{variant:"determinate",value:e,...t}),f.jsx(Q.Box,{sx:{top:0,left:0,bottom:0,right:0,position:"absolute",display:"flex",alignItems:"center",justifyContent:"center"},children:f.jsx(Q.Typography,{variant:"caption",component:"div",color:"text.secondary",children:`${Math.round(e)}%`})})]})}RB.propTypes={value:c.number};function OB({value:e,size:t,variant:n,thickness:r,showLabel:i,pathColor:a,sx:l,...u}){return f.jsxs(Q.Box,{sx:{position:"relative",display:"inline-flex"},children:[f.jsx(Q.CircularProgress,{variant:"determinate",sx:{color:a||"grey.200"},size:t,thickness:r,...u,value:100}),i&&f.jsx(Q.Box,{sx:{top:0,left:0,bottom:0,right:0,position:"absolute",display:"flex",alignItems:"center",justifyContent:"center"},children:f.jsx(Q.Typography,{variant:"caption",component:"div",color:"text.secondary",children:e?`${Math.round(e)}%`:"0%"})}),f.jsx(Q.CircularProgress,{variant:n,sx:{...l,position:"absolute",left:0,[`& .${Q.circularProgressClasses.circle}`]:{strokeLinecap:"round"}},size:t,thickness:r,value:e,...u})]})}OB.propTypes={value:c.number,size:c.number,variant:c.string,thickness:c.number,showLabel:c.bool,pathColor:c.string,sx:c.array,others:c.array};function DB({icon:e,value:t,...n}){return f.jsxs(Q.Box,{sx:{display:"flex",alignItems:"center"},children:[f.jsx(Q.Box,{sx:{width:"100%",mr:1},children:f.jsx(Q.LinearProgress,{variant:"determinate",value:t,...n})}),f.jsx(Q.Box,{sx:{minWidth:35},children:e})]})}DB.propTypes={icon:c.node,value:c.number};function MB({value:e,...t}){return f.jsxs(Q.Box,{sx:{display:"flex",alignItems:"center"},children:[f.jsx(Q.Box,{sx:{width:"100%",mr:1},children:f.jsx(Q.LinearProgress,{variant:"determinate",value:e,...t})}),f.jsx(Q.Box,{sx:{minWidth:35},children:f.jsx(Q.Typography,{variant:"body2",color:"text.secondary",children:`${Math.round(e)}%`})})]})}MB.propTypes={value:c.number};const gs=({item:e,level:t})=>{const n=ut(),{menuOrientation:r,isVerticalLayout:i}=Ut(),{drawerOpen:a,openItem:l,activeItem:u,openDrawer:d}=Xn(),g=Q.useMediaQuery(n.breakpoints.down("lg"));let p="_self";e.target&&(p="_blank");let E={component:S.forwardRef((M,w)=>f.jsx(gt.Link,{...M,to:e.url,target:p,ref:w}))};e!=null&&e.external&&(E={component:"a",href:e.url,target:p});const h=e.icon,m=e.icon?f.jsx(h,{style:{fontSize:a?"1rem":"1.25rem"}}):!1,I=l.findIndex(M=>M===e.id)>-1,{pathname:B}=gt.useLocation();S.useEffect(()=>{B.includes(e.url)&&u([e.id])},[B]);const y=n.palette.mode==="dark"?"grey.400":"text.primary",O=n.palette.mode==="dark"&&a?"text.primary":"primary.main";return f.jsx(f.Fragment,{children:i(r)||g?f.jsxs(Q.ListItemButton,{...E,disabled:e.disabled,selected:I,sx:{zIndex:1201,pl:a?`${t*28}px`:1.5,py:!a&&t===1?1.25:1,...a&&{"&:hover":{bgcolor:n.palette.mode==="dark"?"divider":"primary.lighter"},"&.Mui-selected":{bgcolor:n.palette.mode==="dark"?"divider":"primary.lighter",borderRight:`2px solid ${n.palette.primary.main}`,color:O,"&:hover":{color:O,bgcolor:n.palette.mode==="dark"?"divider":"primary.lighter"}}},...!a&&{"&:hover":{bgcolor:"transparent"},"&.Mui-selected":{"&:hover":{bgcolor:"transparent"},bgcolor:"transparent"}}},...g&&{onClick:()=>d(!1)},children:[m&&f.jsx(Q.ListItemIcon,{sx:{minWidth:28,color:I?O:y,...!a&&{borderRadius:1.5,width:36,height:36,alignItems:"center",justifyContent:"center","&:hover":{bgcolor:n.palette.mode==="dark"?"secondary.light":"secondary.lighter"}},...!a&&I&&{bgcolor:n.palette.mode==="dark"?"primary.900":"primary.lighter","&:hover":{bgcolor:n.palette.mode==="dark"?"primary.darker":"primary.lighter"}}},children:m}),(a||!a&&t!==1)&&f.jsx(Q.ListItemText,{primary:f.jsx(Q.Typography,{variant:"h6",sx:{color:I?O:y},children:e.title})}),(a||!a&&t!==1)&&e.chip&&f.jsx(Q.Chip,{color:e.chip.color,variant:e.chip.variant,size:e.chip.size,label:e.chip.label,avatar:e.chip.avatar&&f.jsx(Q.Avatar,{children:e.chip.avatar})})]}):f.jsxs(Q.ListItemButton,{...E,disabled:e.disabled,selected:I,sx:{zIndex:1201,...a&&{"&:hover":{bgcolor:"transparent"},"&.Mui-selected":{bgcolor:"transparent",color:O,"&:hover":{color:O,bgcolor:"transparent"}}},...!a&&{"&:hover":{bgcolor:"transparent"},"&.Mui-selected":{"&:hover":{bgcolor:"transparent"},bgcolor:"transparent"}}},children:[m&&f.jsx(Q.ListItemIcon,{sx:{minWidth:36,...!a&&{borderRadius:1.5,width:36,height:36,alignItems:"center",justifyContent:"flex-start","&:hover":{bgcolor:"transparent"}},...!a&&I&&{bgcolor:"transparent","&:hover":{bgcolor:"transparent"}}},children:m}),!m&&f.jsx(Q.ListItemIcon,{sx:{color:I?"primary.main":"secondary.main",...!a&&{borderRadius:1.5,alignItems:"center",justifyContent:"flex-start","&:hover":{bgcolor:"transparent"}},...!a&&I&&{bgcolor:"transparent","&:hover":{bgcolor:"transparent"}}},children:f.jsx(sc,{size:4,color:I?"primary":"secondary"})}),f.jsx(Q.ListItemText,{primary:f.jsx(Q.Typography,{variant:"h6",color:"inherit",children:e.title})}),(a||!a&&t!==1)&&e.chip&&f.jsx(Q.Chip,{color:e.chip.color,variant:e.chip.variant,size:e.chip.size,label:e.chip.label,avatar:e.chip.avatar&&f.jsx(Q.Avatar,{children:e.chip.avatar})})]})})};gs.propTypes={item:c.object,level:c.number};const ME=ce(Q.Popper)(({theme:e})=>({overflow:"visible",zIndex:1202,minWidth:180,"&:before":{content:'""',display:"block",position:"absolute",top:38,left:-5,width:10,height:10,backgroundColor:e.palette.background.paper,transform:"translateY(-50%) rotate(45deg)",zIndex:120,borderLeft:`1px solid ${e.palette.grey.A800}`,borderBottom:`1px solid ${e.palette.grey.A800}`}})),fs=({menu:e,level:t,parentId:n,setSelectedItems:r,selectedItems:i,setSelectedLevel:a,selectedLevel:l})=>{var W;const u=ut(),{activeItem:d}=Xn(),g=Q.useMediaQuery(u.breakpoints.down("lg")),{drawerOpen:p}=Xn(),{menuOrientation:E,isVerticalLayout:h}=Ut(),m=gt.useNavigate(),[I,B]=S.useState(!1),[y,O]=S.useState(null),[M,w]=S.useState(null),T=N=>{w(null),a(t),p?(B(!I),O(y?null:e.id),r(y?"":e.id),e.url&&m(`${e.url}`)):w(N==null?void 0:N.currentTarget)},P=()=>{p||e.url&&m(`${e.url}`)},H=N=>{w(N==null?void 0:N.currentTarget)},F=()=>{B(!1),O(null),w(null)};S.useMemo(()=>{y===i?t===1&&B(!0):t===l&&(B(!1),O(null))},[i,t,y,l]);const{pathname:K}=gt.useLocation(),Z=!!M,G=(N,ae)=>{N.forEach(fe=>{fe.url===K&&(B(!0),O(ae))})};S.useEffect(()=>{B(!1),O(null),Z&&w(null),e.children&&e.children.forEach(N=>{var ae;(ae=N.children)!=null&&ae.length&&G(N.children,e.id),N.url===K&&(O(e.id),B(!0)),K.includes(N.url)&&(O(e.id),B(!0))})},[K,e.children]),S.useEffect(()=>{e.url===K&&y!==e.id&&(d([e.id]),O(e.id),w(null),B(!0))},[K,e,y,d]);const ee=(W=e.children)==null?void 0:W.map(N=>{switch(N.type){case"collapse":return f.jsx(fs,{setSelectedItems:r,setSelectedLevel:a,selectedLevel:l,selectedItems:i,menu:N,level:t+1,parentId:n},N.id);case"item":return f.jsx(gs,{item:N,level:t+1},N.id);default:return f.jsx(Q.Typography,{variant:"h6",color:"error",align:"center",children:"Fix - Collapse or Item"},N.id)}}),le=y===e.id,de=t===1?f.jsx(ct.BorderOutlined,{style:{fontSize:"1rem"}}):!1,_=e.icon,q=e.icon?f.jsx(_,{style:{fontSize:p?"1rem":"1.25rem"}}):de,Y=u.palette.mode==="dark"?"grey.400":"text.primary",X=u.palette.mode==="dark"&&p?u.palette.text.primary:u.palette.primary.main,z=Z?`collapse-pop-${e.id}`:void 0,ne={display:"flex",justifyContent:"space-between",alignItems:"center",width:"100%"};return f.jsx(f.Fragment,{children:h(E)||g?f.jsxs(f.Fragment,{children:[f.jsxs(Q.ListItemButton,{disableRipple:!0,selected:y===e.id,...!p&&{onMouseEnter:T,onMouseLeave:F},onClick:T,sx:{pl:p?`${t*28}px`:1.5,py:!p&&t===1?1.25:1,...p&&{"&:hover":{bgcolor:u.palette.mode==="dark"?"divider":"primary.lighter"},"&.Mui-selected":{bgcolor:"transparent",color:X,"&:hover":{color:X,bgcolor:u.palette.mode==="dark"?"divider":"transparent"}}},...!p&&{"&:hover":{bgcolor:"transparent"},"&.Mui-selected":{"&:hover":{bgcolor:"transparent"},bgcolor:"transparent"}}},children:[q&&f.jsx(Q.ListItemIcon,{onClick:P,sx:{minWidth:28,color:y===e.id?"primary.main":Y,...!p&&{borderRadius:1.5,width:36,height:36,alignItems:"center",justifyContent:"center","&:hover":{bgcolor:u.palette.mode==="dark"?"secondary.light":"secondary.lighter"}},...!p&&y===e.id&&{bgcolor:u.palette.mode==="dark"?"primary.900":"primary.lighter","&:hover":{bgcolor:u.palette.mode==="dark"?"primary.darker":"primary.lighter"}}},children:q}),(p||!p&&t!==1)&&f.jsx(Q.ListItemText,{primary:f.jsx(Q.Typography,{variant:"h6",color:y===e.id?"primary":Y,children:e.title}),secondary:e.caption&&f.jsx(Q.Typography,{variant:"caption",color:"secondary",children:e.caption})}),(p||!p&&t!==1)&&(Z||I?f.jsx(ct.UpOutlined,{style:{fontSize:"0.625rem",marginLeft:1,color:u.palette.primary.main}}):f.jsx(ct.DownOutlined,{style:{fontSize:"0.625rem",marginLeft:1}})),!p&&f.jsx(ME,{open:Z,anchorEl:M,placement:"right-start",style:{zIndex:2001},popperOptions:{modifiers:[{name:"offset",options:{offset:[-12,1]}}]},children:({TransitionProps:N})=>f.jsx(Zr,{in:Z,...N,children:f.jsx(Q.Paper,{sx:{overflow:"hidden",mt:1.5,boxShadow:u.customShadows.z1,backgroundImage:"none",border:`1px solid ${u.palette.divider}`},children:f.jsx(Q.ClickAwayListener,{onClickAway:F,children:f.jsx(Q.Box,{children:ee})})})})})]}),p&&f.jsx(Q.Collapse,{in:I,timeout:"auto",unmountOnExit:!0,children:f.jsx(Q.List,{sx:{p:0},children:ee})})]}):f.jsx(f.Fragment,{children:f.jsxs(Q.ListItemButton,{id:`boundary-${z}`,disableRipple:!0,selected:le,onMouseEnter:H,onMouseLeave:F,onClick:H,"aria-describedby":z,sx:{"&.Mui-selected":{bgcolor:"transparent"}},children:[f.jsxs(Q.Box,{onClick:P,sx:ne,children:[q&&f.jsx(Q.ListItemIcon,{sx:{my:"auto",minWidth:e.icon?36:18,color:u.palette.secondary.dark},children:q}),!q&&t!==1&&f.jsx(Q.ListItemIcon,{sx:{my:"auto",minWidth:e.icon?36:18,bgcolor:"transparent","&:hover":{bgcolor:"transparent"}},children:f.jsx(sc,{size:4,color:le?"primary":"secondary"})}),f.jsx(Q.ListItemText,{primary:f.jsx(Q.Typography,{variant:"body1",color:"inherit",sx:{my:"auto"},children:e.title})}),Z?f.jsx(ct.RightOutlined,{}):f.jsx(ct.DownOutlined,{})]}),M&&f.jsx(ME,{id:z,open:Z,anchorEl:M,placement:"right-start",style:{zIndex:2001},modifiers:[{name:"offset",options:{offset:[-10,0]}}],children:({TransitionProps:N})=>f.jsx(Zr,{in:Z,...N,children:f.jsx(Q.Paper,{sx:{overflow:"hidden",mt:1.5,py:.5,boxShadow:u.shadows[8],backgroundImage:"none"},children:f.jsx(Q.ClickAwayListener,{onClickAway:F,children:f.jsx(Q.Box,{children:ee})})})})})]})})})};fs.propTypes={menu:c.object,level:c.number,parentId:c.string,setSelectedItems:c.func,selectedItems:c.string,setSelectedLevel:c.func,selectedLevel:c.number};const ZL=ce(Q.Popper)(({theme:e})=>({overflow:"visible",zIndex:1202,minWidth:180,"&:before":{content:'""',display:"block",position:"absolute",top:5,left:32,width:12,height:12,transform:"translateY(-50%) rotate(45deg)",zIndex:120,borderWidth:"6px",borderStyle:"solid",borderColor:`${e.palette.background.paper} transparent transparent ${e.palette.background.paper}`}})),jB=({item:e,lastItem:t,remItems:n,lastItemId:r,setSelectedItems:i,selectedItems:a,setSelectedLevel:l,selectedLevel:u})=>{var X,z;const d=ut(),g=R.useTranslate(),{pathname:p}={pathname:""},{menuOrientation:E,isVerticalLayout:h}=Ut(),m=Xn(),{drawerOpen:I,selectedID:B}=m,{activeID:y}=Xn(),O=Q.useMediaQuery(d.breakpoints.down("lg")),[M,w]=S.useState(null),[T,P]=S.useState(e),H=!!M;S.useEffect(()=>{if(t)if(e.id===r){const ne={...e},W=n.map(N=>N.elements);ne.children=W.flat(1),P(ne)}else P(e)},[e,t,O]);const F=(ne,W)=>{ne.forEach(N=>{var ae;(ae=N.children)!=null&&ae.length&&F(N.children,T.id),N.url===p&&y(W)})},K=ne=>{(ne.children?ne.children:[]).forEach(N=>{var ae;(ae=N.children)!=null&&ae.length&&F(N.children,T.id),N.url===p&&y(T.id)})};S.useEffect(()=>{K(T),H&&w(null)},[p,T]);const Z=ne=>{H||w(ne==null?void 0:ne.currentTarget)},G=()=>{w(null)},ee=T==null?void 0:T.icon,le=T!=null&&T.icon?f.jsx(ee,{style:{fontSize:20,stroke:"1.5",color:B===T.id?d.palette.primary.main:d.palette.secondary.dark}}):null,de=(X=e.children)==null?void 0:X.map(ne=>{switch(ne.type){case"collapse":return f.jsx(fs,{menu:ne,setSelectedItems:i,setSelectedLevel:l,selectedLevel:u,selectedItems:a,level:1,parentId:T.id},ne.id);case"item":return f.jsx(gs,{item:ne,level:1},ne.id)}}),_=n.map((ne,W)=>{var N;return f.jsxs(S.Fragment,{children:[ne.title&&f.jsx(Q.Typography,{variant:"caption",sx:{pl:2},children:ne.title}),(N=ne==null?void 0:ne.elements)==null?void 0:N.map(ae=>{switch(ae.type){case"collapse":return f.jsx(fs,{menu:ae,level:1,parentId:T.id,setSelectedItems:i,setSelectedLevel:l,selectedLevel:u,selectedItems:a},ae.id);case"item":return f.jsx(gs,{item:ae,level:1},ae.id);default:return f.jsx(Q.Typography,{variant:"h6",color:"error",align:"center",children:"Menu Items Error"},ae.id)}})]},W)}),q=(z=T.children)==null?void 0:z.map(ne=>{switch(ne.type){case"collapse":return f.jsx(fs,{menu:ne,level:1,parentId:T.id,setSelectedItems:i,setSelectedLevel:l,selectedLevel:u,selectedItems:a},ne.id);case"item":return f.jsx(gs,{item:ne,level:1},ne.id);default:return f.jsx(Q.Typography,{variant:"h6",color:"error",align:"center",children:"Menu Items Error"},ne.id)}}),Y=H?`group-pop-${e.id}`:void 0;return f.jsx(f.Fragment,{children:h(E)||O?f.jsx(Q.List,{subheader:e.title&&I&&f.jsxs(Q.Box,{sx:{pl:3,mb:1.5},children:[f.jsx(Q.Typography,{variant:"subtitle2",color:d.palette.mode==="dark"?"textSecondary":"text.secondary",children:e.title}),e.caption&&f.jsx(Q.Typography,{variant:"caption",color:"secondary",children:e.caption})]}),sx:{mt:I&&e.title?1.5:0,py:0,zIndex:0},children:de}):f.jsx(Q.List,{children:f.jsxs(Q.ListItemButton,{selected:B===T.id,sx:{p:1,my:.5,mr:1,display:"flex",alignItems:"center",backgroundColor:"inherit","&.Mui-selected":{bgcolor:"transparent"}},onMouseEnter:Z,onClick:Z,onMouseLeave:G,"aria-describedby":Y,children:[le&&f.jsx(Q.ListItemIcon,{sx:{minWidth:28},children:T.id===r?f.jsx(ct.DownOutlined,{style:{fontSize:20,stroke:"1.5"}}):le}),f.jsx(Q.ListItemText,{sx:{mr:1},primary:f.jsx(Q.Typography,{variant:"body1",color:B===T.id?d.palette.primary.main:d.palette.secondary.dark,children:T.id===r?g("ra.actions.more"):T.title})}),H?f.jsx(ct.DownOutlined,{style:{fontSize:16,stroke:"1.5"}}):f.jsx(ct.RightOutlined,{style:{fontSize:16,stroke:"1.5"}}),M&&f.jsx(ZL,{id:Y,open:H,anchorEl:M,placement:"bottom-start",style:{zIndex:2001},children:({TransitionProps:ne})=>f.jsx(Zr,{in:H,...ne,children:f.jsx(Q.Paper,{sx:{mt:.5,py:1.25,boxShadow:d.shadows[8],backgroundImage:"none"},children:f.jsx(Q.ClickAwayListener,{onClickAway:G,children:f.jsx(Q.Box,{sx:{maxHeight:"calc(100vh - 170px)",overflowY:"auto","&::-webkit-scrollbar":{opacity:0,width:4,"&:hover":{opacity:.7}},"&::-webkit-scrollbar-track":{background:"transparent"},"&::-webkit-scrollbar-thumb":{background:d.palette.divider,borderRadius:4}},children:T.id!==r?q:_})})})})})]})})})};jB.propTypes={item:c.object,lastItem:c.number,remItems:c.array,lastItemId:c.string,setSelectedItems:c.func,selectedItems:c.string,setSelectedLevel:c.func,selectedLevel:c.number};const kB=()=>{const e=ut(),{menu:t,isLoading:n}=ud(),r=Q.useMediaQuery(e.breakpoints.down("lg")),{menuOrientation:i,horizontalMaxItems:a,isHorizontalLayout:l}=Ut(),{drawerOpen:u}=Xn(),[d,g]=S.useState(""),[p,E]=S.useState(0),h=l(i)&&!r,m=h?a:null;let I=n?0:t.length-1,B=[],y;!n&&m&&m<t.length&&(y=t[m-1].id,I=m-1,B=t.slice(m-1,t.length).map(M=>({title:M.title,elements:M.children,icon:M.icon})));const O=n?[]:t.slice(0,I+1).map(M=>{switch(M.type){case"group":return f.jsx(jB,{setSelectedItems:g,setSelectedLevel:E,selectedLevel:p,selectedItems:d,lastItem:m,remItems:B,lastItemId:y,item:M},M.id);default:return f.jsx(Q.Typography,{variant:"h6",color:"error",align:"center",children:"Fix - Navigation Group"},M.id)}});return f.jsx(Q.Box,{sx:{pt:u?h?0:2:0,"& > ul:first-of-type":{mt:0},display:h?{xs:"block",lg:"flex"}:"block"},children:O})};var me={},HA={exports:{}};(function(e,t){(function(n,r){var i="1.0.36",a="",l="?",u="function",d="undefined",g="object",p="string",E="major",h="model",m="name",I="type",B="vendor",y="version",O="architecture",M="console",w="mobile",T="tablet",P="smarttv",H="wearable",F="embedded",K=350,Z="Amazon",G="Apple",ee="ASUS",le="BlackBerry",de="Browser",_="Chrome",q="Edge",Y="Firefox",X="Google",z="Huawei",ne="LG",W="Microsoft",N="Motorola",ae="Opera",fe="Samsung",ue="Sharp",ge="Sony",pe="Xiaomi",Ie="Zebra",Be="Facebook",Ce="Chromium OS",Ae="Mac OS",ye=function(De,qe){var Te={};for(var Ke in De)qe[Ke]&&qe[Ke].length%2===0?Te[Ke]=qe[Ke].concat(De[Ke]):Te[Ke]=De[Ke];return Te},ie=function(De){for(var qe={},Te=0;Te<De.length;Te++)qe[De[Te].toUpperCase()]=De[Te];return qe},Fe=function(De,qe){return typeof De===p?$(qe).indexOf($(De))!==-1:!1},$=function(De){return De.toLowerCase()},Ot=function(De){return typeof De===p?De.replace(/[^\d\.]/g,a).split(".")[0]:r},Yt=function(De,qe){if(typeof De===p)return De=De.replace(/^\s\s*/,a),typeof qe===d?De:De.substring(0,K)},It=function(De,qe){for(var Te=0,Ke,xe,Gt,Ye,we,tn;Te<qe.length&&!we;){var so=qe[Te],Do=qe[Te+1];for(Ke=xe=0;Ke<so.length&&!we&&so[Ke];)if(we=so[Ke++].exec(De),we)for(Gt=0;Gt<Do.length;Gt++)tn=we[++xe],Ye=Do[Gt],typeof Ye===g&&Ye.length>0?Ye.length===2?typeof Ye[1]==u?this[Ye[0]]=Ye[1].call(this,tn):this[Ye[0]]=Ye[1]:Ye.length===3?typeof Ye[1]===u&&!(Ye[1].exec&&Ye[1].test)?this[Ye[0]]=tn?Ye[1].call(this,tn,Ye[2]):r:this[Ye[0]]=tn?tn.replace(Ye[1],Ye[2]):r:Ye.length===4&&(this[Ye[0]]=tn?Ye[3].call(this,tn.replace(Ye[1],Ye[2])):r):this[Ye]=tn||r;Te+=2}},Pr=function(De,qe){for(var Te in qe)if(typeof qe[Te]===g&&qe[Te].length>0){for(var Ke=0;Ke<qe[Te].length;Ke++)if(Fe(qe[Te][Ke],De))return Te===l?r:Te}else if(Fe(qe[Te],De))return Te===l?r:Te;return De},Ri={"1.0":"/8",1.2:"/1",1.3:"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"},wn={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2",8.1:"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},Nt={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[y,[m,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[y,[m,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[m,y],[/opios[\/ ]+([\w\.]+)/i],[y,[m,ae+" Mini"]],[/\bopr\/([\w\.]+)/i],[y,[m,ae]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\/ ]?([\w\.]*)/i,/(avant |iemobile|slim)(?:browser)?[\/ ]?([\w\.]*)/i,/(ba?idubrowser)[\/ ]?([\w\.]+)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|qq|duckduckgo)\/([-\w\.]+)/i,/(heytap|ovi)browser\/([\d\.]+)/i,/(weibo)__([\d\.]+)/i],[m,y],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[y,[m,"UC"+de]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i],[y,[m,"WeChat(Win) Desktop"]],[/micromessenger\/([\w\.]+)/i],[y,[m,"WeChat"]],[/konqueror\/([\w\.]+)/i],[y,[m,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[y,[m,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[y,[m,"Yandex"]],[/(avast|avg)\/([\w\.]+)/i],[[m,/(.+)/,"$1 Secure "+de],y],[/\bfocus\/([\w\.]+)/i],[y,[m,Y+" Focus"]],[/\bopt\/([\w\.]+)/i],[y,[m,ae+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[y,[m,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[y,[m,"Dolphin"]],[/coast\/([\w\.]+)/i],[y,[m,ae+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[y,[m,"MIUI "+de]],[/fxios\/([-\w\.]+)/i],[y,[m,Y]],[/\bqihu|(qi?ho?o?|360)browser/i],[[m,"360 "+de]],[/(oculus|samsung|sailfish|huawei)browser\/([\w\.]+)/i],[[m,/(.+)/,"$1 "+de],y],[/(comodo_dragon)\/([\w\.]+)/i],[[m,/_/g," "],y],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|baiduboxapp|2345Explorer)[\/ ]?([\w\.]+)/i],[m,y],[/(metasr)[\/ ]?([\w\.]+)/i,/(lbbrowser)/i,/\[(linkedin)app\]/i],[m],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[m,Be],y],[/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i],[m,y],[/\bgsa\/([\w\.]+) .*safari\//i],[y,[m,"GSA"]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[y,[m,"TikTok"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[y,[m,_+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[m,_+" WebView"],y],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[y,[m,"Android "+de]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[m,y],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[y,[m,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[y,m],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[m,[y,Pr,Ri]],[/(webkit|khtml)\/([\w\.]+)/i],[m,y],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[m,"Netscape"],y],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[y,[m,Y+" Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror|klar)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/(links) \(([\w\.]+)/i,/panasonic;(viera)/i],[m,y],[/(cobalt)\/([\w\.]+)/i],[m,[y,/master.|lts./,""]]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[O,"amd64"]],[/(ia32(?=;))/i],[[O,$]],[/((?:i[346]|x)86)[;\)]/i],[[O,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[O,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[O,"armhf"]],[/windows (ce|mobile); ppc;/i],[[O,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[O,/ower/,a,$]],[/(sun4\w)[;\)]/i],[[O,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[O,$]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[h,[B,fe],[I,T]],[/\b((?:s[cgp]h|gt|sm)-\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]([-\w]+)/i,/sec-(sgh\w+)/i],[h,[B,fe],[I,w]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[h,[B,G],[I,w]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[h,[B,G],[I,T]],[/(macintosh);/i],[h,[B,G]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[h,[B,ue],[I,w]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[h,[B,z],[I,T]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[h,[B,z],[I,w]],[/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\))/i],[[h,/_/g," "],[B,pe],[I,w]],[/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[h,/_/g," "],[B,pe],[I,T]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[h,[B,"OPPO"],[I,w]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[h,[B,"Vivo"],[I,w]],[/\b(rmx[12]\d{3})(?: bui|;|\))/i],[h,[B,"Realme"],[I,w]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[h,[B,N],[I,w]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[h,[B,N],[I,T]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[h,[B,ne],[I,T]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[h,[B,ne],[I,w]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[h,[B,"Lenovo"],[I,T]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[h,/_/g," "],[B,"Nokia"],[I,w]],[/(pixel c)\b/i],[h,[B,X],[I,T]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[h,[B,X],[I,w]],[/droid.+ (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[h,[B,ge],[I,w]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[h,"Xperia Tablet"],[B,ge],[I,T]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[h,[B,"OnePlus"],[I,w]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo[c-r]{2})( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[h,[B,Z],[I,T]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[h,/(.+)/g,"Fire Phone $1"],[B,Z],[I,w]],[/(playbook);[-\w\),; ]+(rim)/i],[h,B,[I,T]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[h,[B,le],[I,w]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[h,[B,ee],[I,T]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[h,[B,ee],[I,w]],[/(nexus 9)/i],[h,[B,"HTC"],[I,T]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[B,[h,/_/g," "],[I,w]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[h,[B,"Acer"],[I,T]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[h,[B,"Meizu"],[I,w]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron|infinix|tecno)[-_ ]?([-\w]*)/i,/(hp) ([\w ]+\w)/i,/(asus)-?(\w+)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w]+)/i,/(jolla)/i,/(oppo) ?([\w ]+) bui/i],[B,h,[I,w]],[/(kobo)\s(ereader|touch)/i,/(archos) (gamepad2?)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[B,h,[I,T]],[/(surface duo)/i],[h,[B,W],[I,T]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[h,[B,"Fairphone"],[I,w]],[/(u304aa)/i],[h,[B,"AT&T"],[I,w]],[/\bsie-(\w*)/i],[h,[B,"Siemens"],[I,w]],[/\b(rct\w+) b/i],[h,[B,"RCA"],[I,T]],[/\b(venue[\d ]{2,7}) b/i],[h,[B,"Dell"],[I,T]],[/\b(q(?:mv|ta)\w+) b/i],[h,[B,"Verizon"],[I,T]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[h,[B,"Barnes & Noble"],[I,T]],[/\b(tm\d{3}\w+) b/i],[h,[B,"NuVision"],[I,T]],[/\b(k88) b/i],[h,[B,"ZTE"],[I,T]],[/\b(nx\d{3}j) b/i],[h,[B,"ZTE"],[I,w]],[/\b(gen\d{3}) b.+49h/i],[h,[B,"Swiss"],[I,w]],[/\b(zur\d{3}) b/i],[h,[B,"Swiss"],[I,T]],[/\b((zeki)?tb.*\b) b/i],[h,[B,"Zeki"],[I,T]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[B,"Dragon Touch"],h,[I,T]],[/\b(ns-?\w{0,9}) b/i],[h,[B,"Insignia"],[I,T]],[/\b((nxa|next)-?\w{0,9}) b/i],[h,[B,"NextBook"],[I,T]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[B,"Voice"],h,[I,w]],[/\b(lvtel\-)?(v1[12]) b/i],[[B,"LvTel"],h,[I,w]],[/\b(ph-1) /i],[h,[B,"Essential"],[I,w]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[h,[B,"Envizen"],[I,T]],[/\b(trio[-\w\. ]+) b/i],[h,[B,"MachSpeed"],[I,T]],[/\btu_(1491) b/i],[h,[B,"Rotor"],[I,T]],[/(shield[\w ]+) b/i],[h,[B,"Nvidia"],[I,T]],[/(sprint) (\w+)/i],[B,h,[I,w]],[/(kin\.[onetw]{3})/i],[[h,/\./g," "],[B,W],[I,w]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[h,[B,Ie],[I,T]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[h,[B,Ie],[I,w]],[/smart-tv.+(samsung)/i],[B,[I,P]],[/hbbtv.+maple;(\d+)/i],[[h,/^/,"SmartTV"],[B,fe],[I,P]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[B,ne],[I,P]],[/(apple) ?tv/i],[B,[h,G+" TV"],[I,P]],[/crkey/i],[[h,_+"cast"],[B,X],[I,P]],[/droid.+aft(\w+)( bui|\))/i],[h,[B,Z],[I,P]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[h,[B,ue],[I,P]],[/(bravia[\w ]+)( bui|\))/i],[h,[B,ge],[I,P]],[/(mitv-\w{5}) bui/i],[h,[B,pe],[I,P]],[/Hbbtv.*(technisat) (.*);/i],[B,h,[I,P]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[B,Yt],[h,Yt],[I,P]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[I,P]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[B,h,[I,M]],[/droid.+; (shield) bui/i],[h,[B,"Nvidia"],[I,M]],[/(playstation [345portablevi]+)/i],[h,[B,ge],[I,M]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[h,[B,W],[I,M]],[/((pebble))app/i],[B,h,[I,H]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[h,[B,G],[I,H]],[/droid.+; (glass) \d/i],[h,[B,X],[I,H]],[/droid.+; (wt63?0{2,3})\)/i],[h,[B,Ie],[I,H]],[/(quest( 2| pro)?)/i],[h,[B,Be],[I,H]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[B,[I,F]],[/(aeobc)\b/i],[h,[B,Z],[I,F]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+? mobile safari/i],[h,[I,w]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[h,[I,T]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[I,T]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[I,w]],[/(android[-\w\. ]{0,9});.+buil/i],[h,[B,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[y,[m,q+"HTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[y,[m,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i,/\b(libweb)/i],[m,y],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[y,m]],os:[[/microsoft (windows) (vista|xp)/i],[m,y],[/(windows) nt 6\.2; (arm)/i,/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i,/(windows)[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i],[m,[y,Pr,wn]],[/(win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[m,"Windows"],[y,Pr,wn]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[y,/_/g,"."],[m,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[m,Ae],[y,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[y,m],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[m,y],[/\(bb(10);/i],[y,[m,le]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[y,[m,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[y,[m,Y+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[y,[m,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[y,[m,"watchOS"]],[/crkey\/([\d\.]+)/i],[y,[m,_+"cast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[m,Ce],y],[/panasonic;(viera)/i,/(netrange)mmh/i,/(nettv)\/(\d+\.[\w\.]+)/i,/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux) ?([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[m,y],[/(sunos) ?([\w\.\d]*)/i],[[m,"Solaris"],y],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[m,y]]},kt=function(De,qe){if(typeof De===g&&(qe=De,De=r),!(this instanceof kt))return new kt(De,qe).getResult();var Te=typeof n!==d&&n.navigator?n.navigator:r,Ke=De||(Te&&Te.userAgent?Te.userAgent:a),xe=Te&&Te.userAgentData?Te.userAgentData:r,Gt=qe?ye(Nt,qe):Nt,Ye=Te&&Te.userAgent==Ke;return this.getBrowser=function(){var we={};return we[m]=r,we[y]=r,It.call(we,Ke,Gt.browser),we[E]=Ot(we[y]),Ye&&Te&&Te.brave&&typeof Te.brave.isBrave==u&&(we[m]="Brave"),we},this.getCPU=function(){var we={};return we[O]=r,It.call(we,Ke,Gt.cpu),we},this.getDevice=function(){var we={};return we[B]=r,we[h]=r,we[I]=r,It.call(we,Ke,Gt.device),Ye&&!we[I]&&xe&&xe.mobile&&(we[I]=w),Ye&&we[h]=="Macintosh"&&Te&&typeof Te.standalone!==d&&Te.maxTouchPoints&&Te.maxTouchPoints>2&&(we[h]="iPad",we[I]=T),we},this.getEngine=function(){var we={};return we[m]=r,we[y]=r,It.call(we,Ke,Gt.engine),we},this.getOS=function(){var we={};return we[m]=r,we[y]=r,It.call(we,Ke,Gt.os),Ye&&!we[m]&&xe&&xe.platform!="Unknown"&&(we[m]=xe.platform.replace(/chrome os/i,Ce).replace(/macos/i,Ae)),we},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return Ke},this.setUA=function(we){return Ke=typeof we===p&&we.length>K?Yt(we,K):we,this},this.setUA(Ke),this};kt.VERSION=i,kt.BROWSER=ie([m,y,E]),kt.CPU=ie([O]),kt.DEVICE=ie([h,B,I,M,w,P,T,H,F]),kt.ENGINE=kt.OS=ie([m,y]),e.exports&&(t=e.exports=kt),t.UAParser=kt;var fn=typeof n!==d&&(n.jQuery||n.Zepto);if(fn&&!fn.ua){var Wn=new kt;fn.ua=Wn.getResult(),fn.ua.get=function(){return Wn.getUA()},fn.ua.set=function(De){Wn.setUA(De);var qe=Wn.getResult();for(var Te in qe)fn.ua[Te]=qe[Te]}}})(typeof window=="object"?window:Ln)})(HA,HA.exports);var $L=HA.exports;Object.defineProperty(me,"__esModule",{value:!0});function eN(e){return e&&typeof e=="object"&&"default"in e?e.default:e}var Zt=S,ft=eN(Zt),FB=$L,oo=new FB,en=oo.getBrowser(),tN=oo.getCPU(),xn=oo.getDevice(),yg=oo.getEngine(),io=oo.getOS(),Ms=oo.getUA(),LB=function(t){return oo.setUA(t)},js=function(t){if(!t){console.error("No userAgent string was provided");return}var n=new FB(t);return{UA:n,browser:n.getBrowser(),cpu:n.getCPU(),device:n.getDevice(),engine:n.getEngine(),os:n.getOS(),ua:n.getUA(),setUserAgent:function(i){return n.setUA(i)}}},NB=Object.freeze({ClientUAInstance:oo,browser:en,cpu:tN,device:xn,engine:yg,os:io,ua:Ms,setUa:LB,parseUserAgent:js});function jE(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function nN(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?jE(Object(n),!0).forEach(function(r){iN(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):jE(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function ps(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?ps=function(t){return typeof t}:ps=function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ps(e)}function rN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function kE(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function oN(e,t,n){return t&&kE(e.prototype,t),n&&kE(e,n),e}function iN(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function zA(){return zA=Object.assign||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},zA.apply(this,arguments)}function sN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&UA(e,t)}function WA(e){return WA=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},WA(e)}function UA(e,t){return UA=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},UA(e,t)}function aN(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a<r.length;a++)i=r[a],!(t.indexOf(i)>=0)&&(n[i]=e[i]);return n}function zn(e,t){if(e==null)return{};var n=aN(e,t),r,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)r=a[i],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function Ua(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lN(e,t){if(t&&(typeof t=="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Ua(e)}function cN(e,t){return uN(e)||AN(e,t)||dN(e,t)||gN()}function uN(e){if(Array.isArray(e))return e}function AN(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r=[],i=!0,a=!1,l,u;try{for(n=n.call(e);!(i=(l=n.next()).done)&&(r.push(l.value),!(t&&r.length===t));i=!0);}catch(d){a=!0,u=d}finally{try{!i&&n.return!=null&&n.return()}finally{if(a)throw u}}return r}}function dN(e,t){if(e){if(typeof e=="string")return FE(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return FE(e,t)}}function FE(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function gN(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
221
|
+
`)):null),classes:c.object,className:c.string,color:c.oneOfType([c.oneOf(["inherit","default","primary","secondary","error","info","success","warning"]),c.string]),disabled:c.bool,disableFocusRipple:c.bool,disableRipple:c.bool,edge:c.oneOf(["end","start",!1]),size:c.oneOfType([c.oneOf(["small","medium","large"]),c.string]),sx:c.oneOfType([c.arrayOf(c.oneOfType([c.func,c.object,c.bool])),c.func,c.object])});const M5=S0;var xd={},j5=to;Object.defineProperty(xd,"__esModule",{value:!0});var R0=xd.default=void 0,k5=j5(no()),F5=f,L5=(0,k5.default)((0,F5.jsx)("path",{d:"M17 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V7l-4-4zm-5 16c-1.66 0-3-1.34-3-3s1.34-3 3-3 3 1.34 3 3-1.34 3-3 3zm3-10H5V5h10v4z"}),"Save");R0=xd.default=L5;var ls=globalThis&&globalThis.__assign||function(){return ls=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},ls.apply(this,arguments)},bC=globalThis&&globalThis.__awaiter||function(e,t,n,r){function i(a){return a instanceof n?a:new n(function(l){l(a)})}return new(n||(n=Promise))(function(a,l){function u(p){try{g(r.next(p))}catch(E){l(E)}}function d(p){try{g(r.throw(p))}catch(E){l(E)}}function g(p){p.done?a(p.value):i(p.value).then(u,d)}g((r=r.apply(e,t||[])).next())})},QC=globalThis&&globalThis.__generator||function(e,t){var n={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},r,i,a,l;return l={next:u(0),throw:u(1),return:u(2)},typeof Symbol=="function"&&(l[Symbol.iterator]=function(){return this}),l;function u(g){return function(p){return d([g,p])}}function d(g){if(r)throw new TypeError("Generator is already executing.");for(;l&&(l=0,g[0]&&(n=0)),n;)try{if(r=1,i&&(a=g[0]&2?i.return:g[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,g[1])).done)return a;switch(i=0,a&&(g=[g[0]&2,a.value]),g[0]){case 0:case 1:a=g;break;case 4:return n.label++,{value:g[1],done:!1};case 5:n.label++,i=g[1],g=[0];continue;case 7:g=n.ops.pop(),n.trys.pop();continue;default:if(a=n.trys,!(a=a.length>0&&a[a.length-1])&&(g[0]===6||g[0]===2)){n=0;continue}if(g[0]===3&&(!a||g[1]>a[0]&&g[1]<a[3])){n.label=g[1];break}if(g[0]===6&&n.label<a[1]){n.label=a[1],a=g;break}if(a&&n.label<a[2]){n.label=a[2],n.ops.push(g);break}a[2]&&n.ops.pop(),n.trys.pop();continue}g=t.call(e,n)}catch(p){g=[6,p],i=0}finally{r=a=0}if(g[0]&5)throw g[1];return{value:g[0]?g[1]:void 0,done:!0}}},N5=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n},O0=function(e){var t=e.color,n=t===void 0?"primary":t,r=e.icon,i=r===void 0?H5:r;e.invalid;var a=e.label,l=a===void 0?"ra.action.save":a,u=e.onClick,d=e.mutationOptions,g=e.disabled,p=e.type,E=p===void 0?"submit":p,h=e.transform,m=e.variant,I=m===void 0?"contained":m,B=e.alwaysEnable,y=B===void 0?!1:B,O=N5(e,["color","icon","invalid","label","onClick","mutationOptions","disabled","type","transform","variant","alwaysEnable"]),M=Qe.useTranslate(),w=To.useFormContext(),T=Qe.useSaveContext(),P=To.useFormState(),H=P.dirtyFields,F=P.isValidating,K=P.isSubmitting,Z=Object.keys(H).length>0,G=U5(y===!1||y===void 0?void 0:!y,g||!Z||F||K);Qe.warning(E==="submit"&&(d&&(d.onSuccess||d.onError)||h),'Cannot use <SaveButton mutationOptions> props on a button of type "submit". To override the default mutation options on a particular save button, set the <SaveButton type="button"> prop, or set mutationOptions in the main view component (<Create> or <Edit>).');var ee=S.useCallback(function(_){return bC(void 0,void 0,void 0,function(){var q;return QC(this,function(Y){switch(Y.label){case 0:return T!=null&&T.save?[4,T.save(_,ls(ls({},d),{transform:h}))]:[3,2];case 1:q=Y.sent(),Y.label=2;case 2:return q!=null&&Qe.setSubmissionErrors(q,w.setError),[2]}})})},[w.setError,T,d,h]),le=S.useCallback(function(_){return bC(void 0,void 0,void 0,function(){return QC(this,function(q){switch(q.label){case 0:return u&&u(_),_.defaultPrevented?[2]:E!=="button"?[3,2]:(_.stopPropagation(),[4,w.handleSubmit(ee)(_)]);case 1:q.sent(),q.label=2;case 2:return[2]}})})},[u,E,w,ee]),de=l&&M(l,{_:l});return k.createElement(W5,ls({variant:I,type:E,color:n,"aria-label":de,disabled:G,onClick:le},O),K?k.createElement(Q.CircularProgress,{sx:V5,size:14,thickness:3,color:"inherit"}):i,de)},V5={"&.MuiCircularProgress-root":{marginRight:"10px",marginLeft:"2px"}},H5=k.createElement(R0,null);O0.propTypes={className:c.string,invalid:c.bool,label:c.string,variant:c.oneOf(["text","outlined","contained"]),icon:c.element,alwaysEnable:c.bool};var z5="RaSaveButton",W5=ce(Q.Button,{name:z5,overridesResolver:function(e,t){return t.root}})(function(e){var t,n=e.theme;return t={position:"relative"},t["& .MuiSvgIcon-root, & .MuiIcon-root, & .MuiCircularProgress-root"]={marginRight:n.spacing(1)},t["& .MuiSvgIcon-root, & .MuiIcon-root"]={fontSize:18},t}),U5=function(e,t){return typeof e>"u"?t:e},Y5=S.createContext(void 0),G5=function(e){var t=S.useContext(Y5),n=S.useMemo(function(){return{append:e==null?void 0:e.append,fields:e==null?void 0:e.fields,insert:e==null?void 0:e.insert,move:e==null?void 0:e.move,prepend:e==null?void 0:e.prepend,remove:e==null?void 0:e.remove,replace:e==null?void 0:e.replace,swap:e==null?void 0:e.swap,update:e==null?void 0:e.update}},[e]);return e!=null&&e.fields?n:t},tr="RaSimpleFormIterator",Mt={action:"".concat(tr,"-action"),add:"".concat(tr,"-add"),clear:"".concat(tr,"-clear"),form:"".concat(tr,"-form"),index:"".concat(tr,"-index"),inline:"".concat(tr,"-inline"),line:"".concat(tr,"-line"),list:"".concat(tr,"-list"),buttons:"".concat(tr,"-buttons")},D0=S.createContext(void 0),M0=function(){return S.useContext(D0)},j0=S.createContext(void 0),bA=globalThis&&globalThis.__assign||function(){return bA=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},bA.apply(this,arguments)},K5=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n},_5=k.forwardRef(function(e,t){var n=e.children,r=e.disabled,i=e.disableReordering,a=e.disableRemove,l=e.getItemLabel,u=e.index,d=e.inline,g=d===void 0?!1:d,p=e.member,E=e.record,h=e.removeButton,m=e.reOrderButtons,I=e.resource,B=e.source,y=M0(),O=y.total,M=y.reOrder,w=y.remove,T=function(K){return typeof a=="boolean"?a:a&&a(K)},P=function(K,Z){return function(G){w(Z),K&&K(G)}},H=S.useMemo(function(){return{index:u,total:O,reOrder:function(K){return M(u,K)},remove:function(){return w(u)}}},[u,O,M,w]),F=typeof l=="function"?l(u):l;return k.createElement(j0.Provider,{value:H},k.createElement("li",{className:Mt.line,ref:t},F&&k.createElement(Q.Typography,{variant:"body2",className:Mt.index},F),k.createElement("section",{className:gi(Mt.form,g&&Mt.inline)},S.Children.map(n,function(K,Z){if(!S.isValidElement(K))return null;var G=K.props,ee=G.source,le=K5(G,["source"]);return S.cloneElement(K,bA({source:ee?"".concat(p,".").concat(ee):p,index:ee?void 0:Z,resource:I,disabled:r},le))})),!r&&k.createElement("span",{className:Mt.action},!i&&S.cloneElement(m,{index:u,max:O,reOrder:M,className:gi("button-reorder","button-reorder-".concat(B,"-").concat(u))}),!T(E)&&S.cloneElement(h,{onClick:P(h.props.onClick,u),className:gi("button-remove","button-remove-".concat(B,"-").concat(u))}))))}),wd={},q5=to;Object.defineProperty(wd,"__esModule",{value:!0});var k0=wd.default=void 0,J5=q5(no()),X5=f,Z5=(0,J5.default)((0,X5.jsx)("path",{d:"M13 7h-2v4H7v2h4v4h2v-4h4v-2h-4V7zm-1-5C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z"}),"AddCircleOutline");k0=wd.default=Z5;var QA=globalThis&&globalThis.__assign||function(){return QA=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},QA.apply(this,arguments)},$5=function(e){var t=M0().add;return k.createElement(ms,QA({label:"ra.action.add",size:"small",onClick:function(){return t()},color:"primary"},e),k.createElement(k0,{fontSize:"small"}))},Td={},ej=to;Object.defineProperty(Td,"__esModule",{value:!0});var F0=Td.default=void 0,tj=ej(no()),nj=f,rj=(0,tj.default)((0,nj.jsx)("path",{d:"M7 11v2h10v-2H7zm5-9C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z"}),"RemoveCircleOutline");F0=Td.default=rj;var L0=function(){return S.useContext(j0)},xA=globalThis&&globalThis.__assign||function(){return xA=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},xA.apply(this,arguments)},oj=function(e){var t=L0().remove;return k.createElement(ms,xA({label:"ra.action.remove",size:"small",onClick:function(){return t()},color:"warning"},e),k.createElement(F0,{fontSize:"small"}))},Pd={},ij=to;Object.defineProperty(Pd,"__esModule",{value:!0});var N0=Pd.default=void 0,sj=ij(no()),aj=f,lj=(0,sj.default)((0,aj.jsx)("path",{d:"M12 20c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8m0 2c5.52 0 10-4.48 10-10S17.52 2 12 2 2 6.48 2 12s4.48 10 10 10zm-1-10v4h2v-4h3l-4-4-4 4h3z"}),"ArrowCircleUp");N0=Pd.default=lj;var Sd={},cj=to;Object.defineProperty(Sd,"__esModule",{value:!0});var V0=Sd.default=void 0,uj=cj(no()),Aj=f,dj=(0,uj.default)((0,Aj.jsx)("path",{d:"M12 4c4.41 0 8 3.59 8 8s-3.59 8-8 8-8-3.59-8-8 3.59-8 8-8m0-2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 10V8h-2v4H8l4 4 4-4h-3z"}),"ArrowCircleDown");V0=Sd.default=dj;var gj=function(e){var t=e.className,n=L0(),r=n.index,i=n.total,a=n.reOrder;return k.createElement("span",{className:t},k.createElement(ms,{label:"ra.action.move_up",size:"small",onClick:function(){return a(r-1)},disabled:r<=0,color:"primary"},k.createElement(N0,{fontSize:"small"})),k.createElement(ms,{label:"ra.action.move_down",size:"small",onClick:function(){return a(r+1)},disabled:i==null||r>=i-1,color:"primary"},k.createElement(V0,{fontSize:"small"})))},Rd={},fj=to;Object.defineProperty(Rd,"__esModule",{value:!0});var H0=Rd.default=void 0,pj=fj(no()),hj=f,Cj=(0,pj.default)((0,hj.jsx)("path",{d:"M14.59 8 12 10.59 9.41 8 8 9.41 10.59 12 8 14.59 9.41 16 12 13.41 14.59 16 16 14.59 13.41 12 16 9.41 14.59 8zM12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z"}),"HighlightOff");H0=Rd.default=Cj;var wA=globalThis&&globalThis.__assign||function(){return wA=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},wA.apply(this,arguments)},Ej=function(e){return k.createElement(ms,wA({label:"ra.action.clear_array_input",size:"small",color:"warning"},e),k.createElement(H0,{fontSize:"small"}))},mj=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n},z0=function(e){var t=e.addButton,n=t===void 0?k.createElement($5,null):t,r=e.removeButton,i=r===void 0?k.createElement(oj,null):r,a=e.reOrderButtons,l=a===void 0?k.createElement(gj,null):a,u=e.children,d=e.className,g=e.resource,p=e.source,E=e.disabled,h=e.disableAdd,m=h===void 0?!1:h,I=e.disableClear,B=e.disableRemove,y=B===void 0?!1:B,O=e.disableReordering,M=e.inline,w=e.getItemLabel,T=w===void 0?!1:w,P=e.fullWidth,H=e.sx,F=S.useState(!1),K=F[0],Z=F[1],G=G5(e),ee=G.append,le=G.fields,de=G.move,_=G.remove,q=G.replace,Y=To.useFormContext().resetField,X=Qe.useTranslate(),z=Qe.useRecordContext(e),ne=S.useRef({}),W=S.useCallback(function(Ae){_(Ae)},[_]);if(le.length>0){var N=le[0];N.id;var ae=mj(N,["id"]);ne.current=ae;for(var fe in ne.current)ne.current[fe]=null}var ue=S.useCallback(function(Ae){Ae===void 0&&(Ae=void 0);var ye=Ae;Ae==null&&(ye=ne.current,S.Children.count(u)===1&&k.isValidElement(S.Children.only(u))&&!S.Children.only(u).props.source&&S.Children.map(u,function(ie){return k.isValidElement(ie)&&ie.type!==Qe.FormDataConsumer}).some(Boolean)?ye="":(ye=ye||{},S.Children.forEach(u,function(ie){var Fe;k.isValidElement(ie)&&ie.type!==Qe.FormDataConsumer&&ie.props.source&&(ye[ie.props.source]=(Fe=ie.props.defaultValue)!==null&&Fe!==void 0?Fe:null)}))),ee(ye),Y("".concat(p,".").concat(le.length),{defaultValue:ye})},[ee,u,Y,p,le.length]),ge=function(Ae){return function(ye){ue(),Ae&&Ae(ye)}},pe=S.useCallback(function(Ae,ye){de(Ae,ye)},[de]),Ie=S.useCallback(function(){q([]),Z(!1)},[q]),Be=x5(z,p),Ce=S.useMemo(function(){return{total:le.length,add:ue,remove:W,reOrder:pe,source:p}},[ue,le.length,pe,W,p]);return le?k.createElement(D0.Provider,{value:Ce},k.createElement(Ij,{className:gi(d,P&&"fullwidth",E&&"disabled"),sx:H},k.createElement("ul",{className:Mt.list},le.map(function(Ae,ye){return k.createElement(_5,{key:Ae.id,disabled:E,disableRemove:y,disableReordering:O,fields:le,getItemLabel:T,index:ye,member:"".concat(p,".").concat(ye),onRemoveField:W,onReorder:pe,record:Be&&Be[ye]||{},removeButton:i,reOrderButtons:l,resource:g,source:p,inline:M},u)})),!E&&!(m&&(I||y))&&k.createElement("div",{className:Mt.buttons},!m&&k.createElement("div",{className:Mt.add},S.cloneElement(n,{className:gi("button-add","button-add-".concat(p)),onClick:ge(n.props.onClick)})),le.length>0&&!I&&!y&&k.createElement("div",{className:Mt.clear},k.createElement(w0,{isOpen:K,title:X("ra.action.clear_array_input"),content:X("ra.message.clear_array_input"),onConfirm:Ie,onClose:function(){return Z(!1)}}),k.createElement(Ej,{onClick:function(){return Z(!0)}}))))):null};z0.propTypes={addButton:c.element,removeButton:c.element,children:c.node,className:c.string,field:c.object,fields:c.array,fieldState:c.object,formState:c.object,fullWidth:c.bool,inline:c.bool,record:c.object,source:c.string,resource:c.string,translate:c.func,disableAdd:c.bool,disableRemove:c.oneOfType([c.func,c.bool]),TransitionProps:c.shape({})};var Ij=Q.styled("div",{name:tr,overridesResolver:function(e,t){return t.root}})(function(e){var t,n,r,i=e.theme;return t={"& > ul":{padding:0,marginTop:0,marginBottom:0},"& > ul > li:last-child":{borderBottom:"none"}},t["& .".concat(Mt.line)]=(n={display:"flex",listStyleType:"none",borderBottom:"solid 1px ".concat(i.palette.divider)},n[i.breakpoints.down("sm")]={display:"block"},n),t["& .".concat(Mt.index)]=(r={display:"flex",alignItems:"top",marginRight:i.spacing(1),marginTop:i.spacing(1)},r[i.breakpoints.down("md")]={display:"none"},r),t["& .".concat(Mt.form)]={alignItems:"flex-start",display:"flex",flexDirection:"column"},t["&.fullwidth > ul > li > .".concat(Mt.form)]={flex:2},t["& .".concat(Mt.inline)]={flexDirection:"row",columnGap:"1em",flexWrap:"wrap"},t["& .".concat(Mt.action)]={marginTop:i.spacing(.5),visibility:"hidden","@media(hover:none)":{visibility:"visible"}},t["& .".concat(Mt.buttons)]={display:"flex"},t["& .".concat(Mt.add)]={borderBottom:"none"},t["& .".concat(Mt.clear)]={borderBottom:"none"},t["& .".concat(Mt.line,":hover > .").concat(Mt.action)]={visibility:"visible"},t});function Bj(e){return wt("MuiAppBar",e)}St("MuiAppBar",["root","positionFixed","positionAbsolute","positionSticky","positionStatic","positionRelative","colorDefault","colorPrimary","colorSecondary","colorInherit","colorTransparent"]);const yj=["className","color","enableColorOnDark","position"],vj=e=>{const{color:t,position:n,classes:r}=e,i={root:["root",`color${be(t)}`,`position${be(n)}`]};return jt(i,Bj,r)},Ta=(e,t)=>e?`${e==null?void 0:e.replace(")","")}, ${t})`:t,bj=ce(Ul,{name:"MuiAppBar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`position${be(n.position)}`],t[`color${be(n.color)}`]]}})(({theme:e,ownerState:t})=>{const n=e.palette.mode==="light"?e.palette.grey[100]:e.palette.grey[900];return U({display:"flex",flexDirection:"column",width:"100%",boxSizing:"border-box",flexShrink:0},t.position==="fixed"&&{position:"fixed",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0,"@media print":{position:"absolute"}},t.position==="absolute"&&{position:"absolute",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0},t.position==="sticky"&&{position:"sticky",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0},t.position==="static"&&{position:"static"},t.position==="relative"&&{position:"relative"},!e.vars&&U({},t.color==="default"&&{backgroundColor:n,color:e.palette.getContrastText(n)},t.color&&t.color!=="default"&&t.color!=="inherit"&&t.color!=="transparent"&&{backgroundColor:e.palette[t.color].main,color:e.palette[t.color].contrastText},t.color==="inherit"&&{color:"inherit"},e.palette.mode==="dark"&&!t.enableColorOnDark&&{backgroundColor:null,color:null},t.color==="transparent"&&U({backgroundColor:"transparent",color:"inherit"},e.palette.mode==="dark"&&{backgroundImage:"none"})),e.vars&&U({},t.color==="default"&&{"--AppBar-background":t.enableColorOnDark?e.vars.palette.AppBar.defaultBg:Ta(e.vars.palette.AppBar.darkBg,e.vars.palette.AppBar.defaultBg),"--AppBar-color":t.enableColorOnDark?e.vars.palette.text.primary:Ta(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:Ta(e.vars.palette.AppBar.darkBg,e.vars.palette[t.color].main),"--AppBar-color":t.enableColorOnDark?e.vars.palette[t.color].contrastText:Ta(e.vars.palette.AppBar.darkColor,e.vars.palette[t.color].contrastText)},{backgroundColor:"var(--AppBar-background)",color:t.color==="inherit"?"inherit":"var(--AppBar-color)"},t.color==="transparent"&&{backgroundImage:"none",backgroundColor:"transparent",color:"inherit"}))}),W0=k.forwardRef(function(t,n){const r=Rt({props:t,name:"MuiAppBar"}),{className:i,color:a="primary",enableColorOnDark:l=!1,position:u="fixed"}=r,d=We(r,yj),g=U({},r,{color:a,position:u,enableColorOnDark:l}),p=vj(g);return f.jsx(bj,U({square:!0,component:"header",ownerState:g,elevation:4,className:ze(p.root,i,u==="fixed"&&"mui-fixed"),ref:n},d))});process.env.NODE_ENV!=="production"&&(W0.propTypes={children:c.node,classes:c.object,className:c.string,color:c.oneOfType([c.oneOf(["default","inherit","primary","secondary","transparent"]),c.string]),enableColorOnDark:c.bool,position:c.oneOf(["absolute","fixed","relative","static","sticky"]),sx:c.oneOfType([c.arrayOf(c.oneOfType([c.func,c.object,c.bool])),c.func,c.object])});const Qj=W0,xj=fd(f.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 wj(e){return wt("MuiAvatar",e)}St("MuiAvatar",["root","colorDefault","circular","rounded","square","img","fallback"]);const Tj=["alt","children","className","component","imgProps","sizes","src","srcSet","variant"],Pj=e=>{const{classes:t,variant:n,colorDefault:r}=e;return jt({root:["root",n,r&&"colorDefault"],img:["img"],fallback:["fallback"]},wj,t)},Sj=ce("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})=>U({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"},t.variant==="rounded"&&{borderRadius:(e.vars||e).shape.borderRadius},t.variant==="square"&&{borderRadius:0},t.colorDefault&&U({color:(e.vars||e).palette.background.default},e.vars?{backgroundColor:e.vars.palette.Avatar.defaultBg}:{backgroundColor:e.palette.mode==="light"?e.palette.grey[400]:e.palette.grey[600]}))),Rj=ce("img",{name:"MuiAvatar",slot:"Img",overridesResolver:(e,t)=>t.img})({width:"100%",height:"100%",textAlign:"center",objectFit:"cover",color:"transparent",textIndent:1e4}),Oj=ce(xj,{name:"MuiAvatar",slot:"Fallback",overridesResolver:(e,t)=>t.fallback})({width:"75%",height:"75%"});function Dj({crossOrigin:e,referrerPolicy:t,src:n,srcSet:r}){const[i,a]=k.useState(!1);return k.useEffect(()=>{if(!n&&!r)return;a(!1);let l=!0;const u=new Image;return u.onload=()=>{l&&a("loaded")},u.onerror=()=>{l&&a("error")},u.crossOrigin=e,u.referrerPolicy=t,u.src=n,r&&(u.srcset=r),()=>{l=!1}},[e,t,n,r]),i}const U0=k.forwardRef(function(t,n){const r=Rt({props:t,name:"MuiAvatar"}),{alt:i,children:a,className:l,component:u="div",imgProps:d,sizes:g,src:p,srcSet:E,variant:h="circular"}=r,m=We(r,Tj);let I=null;const B=Dj(U({},d,{src:p,srcSet:E})),y=p||E,O=y&&B!=="error",M=U({},r,{colorDefault:!O,component:u,variant:h}),w=Pj(M);return O?I=f.jsx(Rj,U({alt:i,srcSet:E,src:p,sizes:g,ownerState:M,className:w.img},d)):a!=null?I=a:y&&i?I=i[0]:I=f.jsx(Oj,{ownerState:M,className:w.fallback}),f.jsx(Sj,U({as:u,ownerState:M,className:ze(w.root,l),ref:n},m,{children:I}))});process.env.NODE_ENV!=="production"&&(U0.propTypes={alt:c.string,children:c.node,classes:c.object,className:c.string,component:c.elementType,imgProps:c.object,sizes:c.string,src:c.string,srcSet:c.string,sx:c.oneOfType([c.arrayOf(c.oneOfType([c.func,c.object,c.bool])),c.func,c.object]),variant:c.oneOfType([c.oneOf(["circular","rounded","square"]),c.string])});const Mj=U0,jj=yi(R.SimpleForm,{name:"RaApplicaSimpleForm",slot:"Root"})(({theme:e,modal:t})=>({"& .MuiGrid-root.MuiGrid-container":{paddingBottom:e.spacing(t?2:1)}})),Yl=({title:e,modal:t,content:n,subheader:r,secondary:i,sx:a,...l})=>{const u=Hm(e),d=R.useRecordContext();return f.jsx(Nn,{content:n,title:u,subheader:r,secondary:d!=null&&d.id?i:null,sx:a,border:!t,divider:!0,children:f.jsx(jj,{toolbar:f.jsx(Tr,{}),...l})})};Yl.defaultProps={modal:!1,content:!1,subheader:null,title:null,toolbar:f.jsx(Tr,{children:f.jsx(R.SaveButton,{type:"button"})}),secondary:f.jsx(xs,{children:f.jsx(R.DeleteWithConfirmButton,{})})};Yl.propTypes={...R.SimpleForm.propTypes,modal:c.bool,content:c.bool,contained:c.bool,subheader:c.oneOfType([c.string,c.node]),title:c.oneOfType([c.string,c.node]),secondary:c.oneOfType([c.node,c.string,c.object])};const Gl=({label:e,children:t,display:n,helperText:r,sx:i,addLabel:a,divider:l,...u})=>{const d=Wt.useTheme(),{getCurrentDialog:g}=So(),{source:p,resource:E,isRequired:h}=u,{getFieldState:m,formState:I}=To.useFormContext(),{error:B}=m(p,I),y=g();return f.jsxs(Q.Stack,{spacing:1,sx:{"& .MuiFormHelperText-root":{color:B?d.palette.error.main:d.palette.text.secondary,"& span":{display:"none"}},...i},children:[n==="label"&&e!==!1&&a!==!1&&f.jsx(Q.InputLabel,{error:!!B,sx:{borderBottom:l?`1px solid ${d.palette.divider}`:"none",pb:l?1:0,mt:l?1:0},children:f.jsx(R.FieldTitle,{label:e,source:p,resource:y||E,isRequired:h})}),S.isValidElement(t)?S.cloneElement(t,{...t.props,...u,label:n==="legend"?e:!1}):t,n==="label"&&r&&f.jsx(Q.FormHelperText,{sx:{pl:1.8,pb:2,marginTop:"0 !important"},error:!!B,children:r})]})};Gl.propTypes={sx:c.object,children:c.element,label:c.oneOfType([c.string,c.bool]),addLabel:c.bool,resource:c.string,isRequired:c.bool,source:c.string,display:c.oneOf(["legend","label"]),helperText:c.oneOfType([c.string,c.bool]),divider:c.bool};Gl.defaultProps={display:"label",divider:!1};const kj=ce(R.ArrayInput,{name:"ApplicaArrayInput",slot:"root"})(({theme:e})=>({"& label:first-of-type":{marginTop:e.spacing(2)},marginTop:"0 !important","& .RaSimpleFormIterator-line > .RaSimpleFormIterator-form":{paddingBottom:e.spacing(.5),"& > div":{width:"100%"}}})),Fj=({children:e,label:t,addLabel:n,source:r,helperText:i,...a})=>f.jsx(Gl,{label:t,addLabel:n,source:r,helperText:i,divider:!0,children:f.jsx(kj,{source:r,label:!1,...a,children:e})}),Od=({canEdit:e,canDelete:t,canClone:n})=>!e&&!t&&!n?null:f.jsxs(xs,{children:[e&&f.jsx(R.EditButton,{}),t&&f.jsx(R.DeleteWithConfirmButton,{}),n&&f.jsx(R.CloneButton,{})]});Od.defaultProps={canEdit:!0,canDelete:!0,canClone:!1};Od.propTypes={canEdit:c.bool,canDelete:c.bool,canClone:c.bool};const xC=ce("div",{name:"ApplicaBaseAttachmentField",overridesResolver:(e,t)=>t.root})({display:"inline-block"}),Lj=ce("ul")({display:"inline-block"}),Y0=e=>{var p;const{className:t,emptyText:n,source:r,title:i,...a}=e,l=Qe.useRecordContext(e),u=it.get(l,r),d=Qe.useTranslate();if(!u)return n?f.jsx(Q.Typography,{component:"span",variant:"body2",className:t,...a,children:n&&d(n,{_:n})}):f.jsx(xC,{className:t,...a});if(Array.isArray(u))return f.jsx(Lj,{className:t,...a,children:u.map((E,h)=>{var I;const m=i instanceof String?(I=it.get(E,i))==null?void 0:I.toString():i;return f.jsx("li",{children:m},h)})});const g=i instanceof String?(p=it.get(l,i))==null?void 0:p.toString():i;return f.jsx(xC,{className:t,...a,children:g})};Y0.propTypes={className:c.string,emptyText:c.string,source:c.string.isRequired,src:c.string,title:c.oneOfType([c.string,c.element]),target:c.string,download:c.oneOfType([c.bool,c.string]),ping:c.string,rel:c.string};var G0={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(Ln,function(){var n=1e3,r=6e4,i=36e5,a="millisecond",l="second",u="minute",d="hour",g="day",p="week",E="month",h="quarter",m="year",I="date",B="Invalid Date",y=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,O=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,M={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(_){var q=["th","st","nd","rd"],Y=_%100;return"["+_+(q[(Y-20)%10]||q[Y]||q[0])+"]"}},w=function(_,q,Y){var X=String(_);return!X||X.length>=q?_:""+Array(q+1-X.length).join(Y)+_},T={s:w,z:function(_){var q=-_.utcOffset(),Y=Math.abs(q),X=Math.floor(Y/60),z=Y%60;return(q<=0?"+":"-")+w(X,2,"0")+":"+w(z,2,"0")},m:function _(q,Y){if(q.date()<Y.date())return-_(Y,q);var X=12*(Y.year()-q.year())+(Y.month()-q.month()),z=q.clone().add(X,E),ne=Y-z<0,W=q.clone().add(X+(ne?-1:1),E);return+(-(X+(Y-z)/(ne?z-W:W-z))||0)},a:function(_){return _<0?Math.ceil(_)||0:Math.floor(_)},p:function(_){return{M:E,y:m,w:p,d:g,D:I,h:d,m:u,s:l,ms:a,Q:h}[_]||String(_||"").toLowerCase().replace(/s$/,"")},u:function(_){return _===void 0}},P="en",H={};H[P]=M;var F="$isDayjsObject",K=function(_){return _ instanceof le||!(!_||!_[F])},Z=function _(q,Y,X){var z;if(!q)return P;if(typeof q=="string"){var ne=q.toLowerCase();H[ne]&&(z=ne),Y&&(H[ne]=Y,z=ne);var W=q.split("-");if(!z&&W.length>1)return _(W[0])}else{var N=q.name;H[N]=q,z=N}return!X&&z&&(P=z),z||!X&&P},G=function(_,q){if(K(_))return _.clone();var Y=typeof q=="object"?q:{};return Y.date=_,Y.args=arguments,new le(Y)},ee=T;ee.l=Z,ee.i=K,ee.w=function(_,q){return G(_,{locale:q.$L,utc:q.$u,x:q.$x,$offset:q.$offset})};var le=function(){function _(Y){this.$L=Z(Y.locale,null,!0),this.parse(Y),this.$x=this.$x||Y.x||{},this[F]=!0}var q=_.prototype;return q.parse=function(Y){this.$d=function(X){var z=X.date,ne=X.utc;if(z===null)return new Date(NaN);if(ee.u(z))return new Date;if(z instanceof Date)return new Date(z);if(typeof z=="string"&&!/Z$/i.test(z)){var W=z.match(y);if(W){var N=W[2]-1||0,ae=(W[7]||"0").substring(0,3);return ne?new Date(Date.UTC(W[1],N,W[3]||1,W[4]||0,W[5]||0,W[6]||0,ae)):new Date(W[1],N,W[3]||1,W[4]||0,W[5]||0,W[6]||0,ae)}}return new Date(z)}(Y),this.init()},q.init=function(){var Y=this.$d;this.$y=Y.getFullYear(),this.$M=Y.getMonth(),this.$D=Y.getDate(),this.$W=Y.getDay(),this.$H=Y.getHours(),this.$m=Y.getMinutes(),this.$s=Y.getSeconds(),this.$ms=Y.getMilliseconds()},q.$utils=function(){return ee},q.isValid=function(){return this.$d.toString()!==B},q.isSame=function(Y,X){var z=G(Y);return this.startOf(X)<=z&&z<=this.endOf(X)},q.isAfter=function(Y,X){return G(Y)<this.startOf(X)},q.isBefore=function(Y,X){return this.endOf(X)<G(Y)},q.$g=function(Y,X,z){return ee.u(Y)?this[X]:this.set(z,Y)},q.unix=function(){return Math.floor(this.valueOf()/1e3)},q.valueOf=function(){return this.$d.getTime()},q.startOf=function(Y,X){var z=this,ne=!!ee.u(X)||X,W=ee.p(Y),N=function(Ce,Ae){var ye=ee.w(z.$u?Date.UTC(z.$y,Ae,Ce):new Date(z.$y,Ae,Ce),z);return ne?ye:ye.endOf(g)},ae=function(Ce,Ae){return ee.w(z.toDate()[Ce].apply(z.toDate("s"),(ne?[0,0,0,0]:[23,59,59,999]).slice(Ae)),z)},fe=this.$W,ue=this.$M,ge=this.$D,pe="set"+(this.$u?"UTC":"");switch(W){case m:return ne?N(1,0):N(31,11);case E:return ne?N(1,ue):N(0,ue+1);case p:var Ie=this.$locale().weekStart||0,Be=(fe<Ie?fe+7:fe)-Ie;return N(ne?ge-Be:ge+(6-Be),ue);case g:case I:return ae(pe+"Hours",0);case d:return ae(pe+"Minutes",1);case u:return ae(pe+"Seconds",2);case l:return ae(pe+"Milliseconds",3);default:return this.clone()}},q.endOf=function(Y){return this.startOf(Y,!1)},q.$set=function(Y,X){var z,ne=ee.p(Y),W="set"+(this.$u?"UTC":""),N=(z={},z[g]=W+"Date",z[I]=W+"Date",z[E]=W+"Month",z[m]=W+"FullYear",z[d]=W+"Hours",z[u]=W+"Minutes",z[l]=W+"Seconds",z[a]=W+"Milliseconds",z)[ne],ae=ne===g?this.$D+(X-this.$W):X;if(ne===E||ne===m){var fe=this.clone().set(I,1);fe.$d[N](ae),fe.init(),this.$d=fe.set(I,Math.min(this.$D,fe.daysInMonth())).$d}else N&&this.$d[N](ae);return this.init(),this},q.set=function(Y,X){return this.clone().$set(Y,X)},q.get=function(Y){return this[ee.p(Y)]()},q.add=function(Y,X){var z,ne=this;Y=Number(Y);var W=ee.p(X),N=function(ue){var ge=G(ne);return ee.w(ge.date(ge.date()+Math.round(ue*Y)),ne)};if(W===E)return this.set(E,this.$M+Y);if(W===m)return this.set(m,this.$y+Y);if(W===g)return N(1);if(W===p)return N(7);var ae=(z={},z[u]=r,z[d]=i,z[l]=n,z)[W]||1,fe=this.$d.getTime()+Y*ae;return ee.w(fe,this)},q.subtract=function(Y,X){return this.add(-1*Y,X)},q.format=function(Y){var X=this,z=this.$locale();if(!this.isValid())return z.invalidDate||B;var ne=Y||"YYYY-MM-DDTHH:mm:ssZ",W=ee.z(this),N=this.$H,ae=this.$m,fe=this.$M,ue=z.weekdays,ge=z.months,pe=z.meridiem,Ie=function(Ae,ye,ie,Fe){return Ae&&(Ae[ye]||Ae(X,ne))||ie[ye].slice(0,Fe)},Be=function(Ae){return ee.s(N%12||12,Ae,"0")},Ce=pe||function(Ae,ye,ie){var Fe=Ae<12?"AM":"PM";return ie?Fe.toLowerCase():Fe};return ne.replace(O,function(Ae,ye){return ye||function(ie){switch(ie){case"YY":return String(X.$y).slice(-2);case"YYYY":return ee.s(X.$y,4,"0");case"M":return fe+1;case"MM":return ee.s(fe+1,2,"0");case"MMM":return Ie(z.monthsShort,fe,ge,3);case"MMMM":return Ie(ge,fe);case"D":return X.$D;case"DD":return ee.s(X.$D,2,"0");case"d":return String(X.$W);case"dd":return Ie(z.weekdaysMin,X.$W,ue,2);case"ddd":return Ie(z.weekdaysShort,X.$W,ue,3);case"dddd":return ue[X.$W];case"H":return String(N);case"HH":return ee.s(N,2,"0");case"h":return Be(1);case"hh":return Be(2);case"a":return Ce(N,ae,!0);case"A":return Ce(N,ae,!1);case"m":return String(ae);case"mm":return ee.s(ae,2,"0");case"s":return String(X.$s);case"ss":return ee.s(X.$s,2,"0");case"SSS":return ee.s(X.$ms,3,"0");case"Z":return W}return null}(Ae)||W.replace(":","")})},q.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},q.diff=function(Y,X,z){var ne,W=this,N=ee.p(X),ae=G(Y),fe=(ae.utcOffset()-this.utcOffset())*r,ue=this-ae,ge=function(){return ee.m(W,ae)};switch(N){case m:ne=ge()/12;break;case E:ne=ge();break;case h:ne=ge()/3;break;case p:ne=(ue-fe)/6048e5;break;case g:ne=(ue-fe)/864e5;break;case d:ne=ue/i;break;case u:ne=ue/r;break;case l:ne=ue/n;break;default:ne=ue}return z?ne:ee.a(ne)},q.daysInMonth=function(){return this.endOf(E).$D},q.$locale=function(){return H[this.$L]},q.locale=function(Y,X){if(!Y)return this.$L;var z=this.clone(),ne=Z(Y,X,!0);return ne&&(z.$L=ne),z},q.clone=function(){return ee.w(this.$d,this)},q.toDate=function(){return new Date(this.valueOf())},q.toJSON=function(){return this.isValid()?this.toISOString():null},q.toISOString=function(){return this.$d.toISOString()},q.toString=function(){return this.$d.toUTCString()},_}(),de=le.prototype;return G.prototype=de,[["$ms",a],["$s",l],["$m",u],["$H",d],["$W",g],["$M",E],["$y",m],["$D",I]].forEach(function(_){de[_[1]]=function(q){return this.$g(q,_[0],_[1])}}),G.extend=function(_,q){return _.$i||(_(q,le,G),_.$i=!0),G},G.locale=Z,G.isDayjs=K,G.unix=function(_){return G(1e3*_)},G.en=H[P],G.Ls=H,G.p={},G})})(G0);var Nj=G0.exports;const Qr=Ii(Nj),Dd=({entityId:e,property:t,disabled:n,userResource:r="entities/user",...i})=>{const[a,l]=S.useState(null),u=R.useRecordContext(i),d=R.useDataProvider(),g=R.useResourceContext(),p=S.useCallback(async m=>{m.preventDefault(),m.stopPropagation();const I=it.get(u,i==null?void 0:i.source),B=g.replace("entities/",""),y=await d.getFile(`/attachments/${B}/${e||(u==null?void 0:u.id)}/${t||(i==null?void 0:i.source)}/${(I==null?void 0:I.id)||(u==null?void 0:u.id)}`),O=document.createElement("a");O.href=y,O.download=it.get(u,(i==null?void 0:i.title)||(i==null?void 0:i.source)),O.click()},[d,u,e,g,t,i==null?void 0:i.source,i==null?void 0:i.title]),E=S.useMemo(()=>({...u,[i==null?void 0:i.source]:(u==null?void 0:u.src)||it.get(u,i==null?void 0:i.source),[i==null?void 0:i.title]:(u==null?void 0:u.title)||it.get(u,(i==null?void 0:i.title)||(i==null?void 0:i.source))}),[u,i==null?void 0:i.source,i==null?void 0:i.title]),h=R.useTranslate();return S.useEffect(()=>{!u||!(u!=null&&u.userId)||d.getOne(r,{id:u==null?void 0:u.userId}).then(({data:m})=>l(m)).catch(()=>l(null))},[u,d,r]),f.jsx(Y0,{...i,disabled:n,record:E,onClick:p,title:f.jsxs(Q.Box,{sx:{cursor:"pointer"},children:[f.jsx(Q.Typography,{variant:"subtitle1",children:it.get(E,(i==null?void 0:i.title)||(i==null?void 0:i.source))}),f.jsxs(Q.Typography,{variant:"caption",color:"secondary",children:[it.get(E,"sizeDescription"),a&&" | ",a&&h("ra.attachment.info",{user:a==null?void 0:a.name,created:Qr(E==null?void 0:E.createdAt).format("DD/MM/YYYY HH:mm")})]})]})})};Dd.propTypes={...R.FileField.propTypes,source:c.string,title:c.string,disabled:c.bool};const Vj=ce(R.ImageField,{name:"RaApplicaImageField",slot:"root"})(()=>({})),ws=e=>{const t=`_${e==null?void 0:e.source}`;return f.jsx(Vj,{...e,source:t})};ws.propTypes={...R.ImageField.propTypes,source:c.string};const Kl=({width:e,height:t,circle:n,justify:r,record:i,...a})=>{const l=S.useMemo(()=>({width:typeof e=="number"?`${e}px !important`:`${e} !important`,height:typeof t=="number"?`${t}px !important`:`${t} !important`,borderRadius:n?"50%":1.5}),[e,t,n]),u=R.useRecordContext(),d=i||u;return f.jsx(ws,{sx:g=>({margin:0,display:"flex",justifyContent:r,"& img":{margin:"0px !important",border:`1px solid ${g.palette.divider}`,objectFit:"cover !important",...l,minWidth:l.width,minHeight:l.height}}),...a,record:d})};Kl.defaultProps={...ws.defaultProps,width:150,height:150,circle:!1,justify:"flex-start"};Kl.propTypes={...ws.propTypes,width:c.oneOfType([c.number,c.string]),height:c.oneOfType([c.number,c.string]),circle:c.bool,justify:c.oneOf(["flex-start","center","flex-end"])};var K0={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(Ln,function(){return function(n,r,i){n=n||{};var a=r.prototype,l={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function u(g,p,E,h){return a.fromToBase(g,p,E,h)}i.en.relativeTime=l,a.fromToBase=function(g,p,E,h,m){for(var I,B,y,O=E.$locale().relativeTime||l,M=n.thresholds||[{l:"s",r:44,d:"second"},{l:"m",r:89},{l:"mm",r:44,d:"minute"},{l:"h",r:89},{l:"hh",r:21,d:"hour"},{l:"d",r:35},{l:"dd",r:25,d:"day"},{l:"M",r:45},{l:"MM",r:10,d:"month"},{l:"y",r:17},{l:"yy",d:"year"}],w=M.length,T=0;T<w;T+=1){var P=M[T];P.d&&(I=h?i(g).diff(E,P.d,!0):E.diff(g,P.d,!0));var H=(n.rounding||Math.round)(Math.abs(I));if(y=I>0,H<=P.r||!P.r){H<=1&&T>0&&(P=M[T-1]);var F=O[P.l];m&&(H=m(""+H)),B=typeof F=="string"?F.replace("%d",H):F(H,p,P.l,y);break}}if(p)return B;var K=y?O.future:O.past;return typeof K=="function"?K(B):K.replace("%s",B)},a.to=function(g,p){return u(g,p,this,!0)},a.from=function(g,p){return u(g,p,this)};var d=function(g){return g.$u?i.utc():i()};a.toNow=function(g){return this.to(d(this),g)},a.fromNow=function(g){return this.from(d(this),g)}}})})(K0);var Hj=K0.exports;const zj=Ii(Hj);Qr.extend(zj);const _l=e=>{const t=R.useRecordContext(e),[n]=R.useLocaleState(),r=S.useMemo(()=>Qr(it.get(t,e==null?void 0:e.source)).locale(n).fromNow(),[t,e==null?void 0:e.source,n]);return f.jsxs(S.Fragment,{children:[f.jsx(R.DateField,{record:t,source:e.source,showTime:!0}),f.jsx("br",{}),f.jsx(Q.Typography,{variant:"caption",color:"textSecondary",children:r})]})};_l.displayName="DateAgoField";_l.propTypes={source:c.string.isRequired};const _0=ce(R.DateField,{name:"RaApplicaDateField",slot:"Root"})(()=>({}));_0.propTypes={...R.DateField.propTypes};const Md=e=>f.jsx(_0,{...e});Md.defaultProps={...R.DateField.defaultProps,variant:"body1"};Md.propTypes={...R.DateField.propTypes};const q0=ce(R.EmailField,{name:"RaApplicaEmailField",slot:"Root"})(()=>({}));q0.propTypes={...R.EmailField.propTypes};const jd=e=>f.jsx(q0,{...e});jd.defaultProps={...R.EmailField.defaultProps,variant:"body1"};jd.propTypes={...R.EmailField.propTypes};const Wj=ce(R.FileField,{name:"RaApplicaFileField",slot:"root"})(()=>({})),kd=({...e})=>{const t=R.useRecordContext(e),n=S.useCallback(r=>{r.preventDefault(),r.stopPropagation();const i=it.get(t,`_${e==null?void 0:e.source}`,it.get(t,e==null?void 0:e.source)),a=it.get(t,(e==null?void 0:e.title)||(e==null?void 0:e.source))||(e==null?void 0:e.title),l=document.createElement("a");l.href=i,l.download=a,l.click()},[e==null?void 0:e.source,t,e==null?void 0:e.title]);return f.jsx(Wj,{...e,record:t,onClick:n})};kd.propTypes={...R.FileField.propTypes,source:c.string,title:c.string};const J0=e=>f.jsx(R.FunctionField,{...e});J0.defaultProps={variant:"body1"};const Uj=ce("div")(({theme:e})=>({borderBottom:`1px solid ${e.palette.divider}`,paddingTop:e.spacing(1),paddingBottom:e.spacing(1),marginBottom:e.spacing(1),whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",[e.breakpoints.down("sm")]:{whiteSpace:"normal",overflow:"visible",textOverflow:"inherit"}})),Fd=({source:e,defaultValue:t,...n})=>{const r=R.useRecordContext(n),i=it.get(r,e,t);return f.jsx("span",{dangerouslySetInnerHTML:{__html:i&&i!==null?i:t}})};Fd.propTypes={defaultValue:c.any,source:c.string,record:c.object};Fd.defaultProps={defaultValue:" "};const X0=({title:e,children:t})=>e&&e!==!1?f.jsx(Q.Tooltip,{title:e,placement:"top",children:t}):t;X0.propTypes={title:c.oneOfType([c.string,c.bool]),children:c.oneOfType([c.element,c.arrayOf(c.element)])};const Ld=({label:e,source:t,defaultValue:n,children:r,tooltip:i,...a})=>{const{getCurrentDialog:l}=So(),u=R.useRecordContext(a),d=R.useResourceContext(a),g=l(),p=S.useMemo(()=>!i||i===!1?!1:typeof i=="function"?i(u):typeof i=="string"?it.get(u,i,i):i,[u,i]);return f.jsx(X0,{title:p,children:f.jsxs(S.Fragment,{children:[f.jsx(Q.InputLabel,{children:f.jsx(R.FieldTitle,{label:e,source:t,resource:g||d})}),f.jsx(Uj,{...a,children:S.cloneElement(r,{source:t,record:u,defaultValue:n,resource:g||d})})]})})};Ld.propTypes={defaultValue:c.any,tooltip:c.oneOfType([c.string,c.bool,c.func]),source:c.string,label:c.string,name:c.string,children:c.element};Ld.defaultProps={defaultValue:" ",children:f.jsx(Fd,{})};const Yj=yi("div",{name:"RaApplicaReferenceManyField",slot:"root"})(({theme:e,margin:t,border:n})=>({marginLeft:t?0:`-${e.spacing(2.5)}`,marginRight:t?0:`-${e.spacing(2.5)}`,borderBottom:n?`1px solid ${e.palette.divider}`:"none","& form":{padding:e.spacing(2)},"& .MuiCardContent-root":{borderTop:n?`1px solid ${e.palette.divider}`:"none"},"& .MuiToolbar-root":{[e.breakpoints.up("sm")]:{marginTop:`-${e.spacing(2)}`,marginBottom:e.spacing(t?0:1),marginLeft:e.spacing(t?1:2.5),marginRight:e.spacing(t?1:2.5),width:t?"auto":`calc(100% - ${e.spacing(5)})`},[e.breakpoints.down("md")]:{marginTop:0}},"& .RaDatagrid-root":{overflowX:"auto",[e.breakpoints.down("sm")]:{width:"calc(100vw - 34px)"}},"& .RaDatagrid-table":{borderBottom:`1px solid ${e.palette.divider}`},"& .MuiTablePagination-toolbar":{marginTop:e.spacing(1),marginBottom:0},"& .RaBulkActionsToolbar-collapsed.RaBulkActionsToolbar-toolbar":{minHeight:0},"& .RaBulkActionsToolbar-toolbar":{minHeight:64,"& h6":{marginTop:e.spacing(.5)},"& .RaBulkActionsToolbar-topToolbar":{marginTop:e.spacing(1)}}})),xi=e=>f.jsx(Yj,{children:f.jsx(R.ReferenceManyField,{...e})});xi.defaultProps={...R.ReferenceManyField.defaultProps,margin:!1,border:!1};xi.propTypes={...R.ReferenceManyField.propTypes,margin:c.bool,border:c.bool};const Z0=({source:e,...t})=>{const n=R.useRecordContext(t),r=it.get(n,e,0),i=r/1024,a=i/1024,l=a/1024,u=l>1?`${l.toFixed(2)} GB`:a>1?`${a.toFixed(2)} MB`:i>1?`${i.toFixed(2)} KB`:`${r.toFixed(2)} B`;return f.jsx(Q.Typography,{component:"span",variant:"body1",...t,children:u})};Z0.propTypes={record:c.object,source:c.string};const $0=ce(R.TextField,{name:"RaApplicaTextField",slot:"Root"})(()=>({}));$0.propTypes={...R.TextField.propTypes};const Nd=e=>f.jsx($0,{...e});Nd.defaultProps={...R.TextField.defaultProps,variant:"body1"};Nd.propTypes={...R.TextField.propTypes};const at=({label:e,children:t,display:n,helperText:r,sx:i,addLabel:a,divider:l,...u})=>{const d=Wt.useTheme(),{getCurrentDialog:g}=So(),{source:p,resource:E,isRequired:h}=u,{fieldState:{invalid:m}}=R.useInput(u),I=g();return f.jsxs(Q.Stack,{spacing:1,sx:{width:u!=null&&u.fullWidth?"100%":"auto","& .MuiFormHelperText-root":{color:m?d.palette.error.main:d.palette.text.secondary,"& span":{display:"none"}},...i},children:[n==="label"&&e!==!1&&a!==!1&&f.jsx(Q.InputLabel,{error:m===!0,sx:{borderBottom:l?`1px solid ${d.palette.divider}`:"none",pb:l?1:0,mt:l?1:0},children:f.jsx(R.FieldTitle,{label:e,source:p,resource:I||E,isRequired:h})}),S.isValidElement(t)?S.cloneElement(t,{...t.props,...u,label:n==="legend"?e:!1}):t,n==="label"&&r&&f.jsx(Q.FormHelperText,{sx:{pl:1.8,pb:2,marginTop:"0 !important"},error:m===!0,children:r})]})};at.propTypes={sx:c.object,children:c.element,label:c.oneOfType([c.string,c.bool]),addLabel:c.bool,resource:c.string,isRequired:c.bool,source:c.string,display:c.oneOf(["legend","label"]),helperText:c.oneOfType([c.string,c.bool]),divider:c.bool};at.defaultProps={display:"label",divider:!1};const Gj=e=>e?{"& .RaFileInput-removeButton > .RaFileInputPreview-removeButton":{display:"none",visiblity:"hidden"},"& .RaFileInput-dropZone":{display:"none",visiblity:"hidden"}}:{},Kj=ce(R.FileInput,{name:"RaApplicaFileInput",slot:"root"})(({disabled:e,theme:t})=>({"& .previews":{},"& .previews>div":{marginTop:t.spacing(1),padding:t.spacing(1.5),border:`1px solid ${t.palette.divider}`,borderRadius:t.shape.borderRadius,"& button":{float:"right",placeItems:"flex-end",verticalAlign:"middle"},"&:hover":{backgroundColor:t.palette.action.hover},"& .MuiLink-root":{fontSize:t.typography.body1.fontSize}},...Gj(e)})),Vd=({children:e,disabled:t,...n})=>{const r=R.useRecordContext(n),i=n==null?void 0:n.source,a=r==null?void 0:r.id;return f.jsx(at,{...n,children:f.jsx(Kj,{disabled:t,children:S.cloneElement(e,{...e.props,entityId:a,property:i})})})};Vd.propTypes={...R.FileInput.propTypes,children:c.node,multiple:c.bool,disabled:c.bool};Vd.defaultProps={children:f.jsx(Dd,{title:"name",source:"path"}),multiple:!0,disabled:!1};const _j=ce(R.AutocompleteArrayInput,{name:"StyledAutocompleteInput",root:"root"})(({label:e})=>({"& legend":{width:e===!1?0:"auto"}})),eI=({...e})=>f.jsx(at,{...e,children:f.jsx(_j,{})});eI.propTypes={...R.AutocompleteArrayInput.propTypes,...at.propTypes};const qj=ce(R.AutocompleteInput,{name:"StyledAutocompleteInput",root:"root"})(({label:e})=>({"& legend":{width:e===!1?0:"auto"}})),tI=e=>{const{perPage:t,...n}=e;return f.jsx(at,{...n,children:f.jsx(qj,{})})};tI.propTypes={...R.AutocompleteInput.propTypes,...at.propTypes};const Jj=ce(R.BooleanInput,{name:"RaApplicaBooleanInput",slot:"Root"})(()=>({})),Hd=({horizontal:e,...t})=>{const n=ut();return f.jsx(at,{...t,sx:e?{flexDirection:e?"row":"column",alignItems:e?"center":"flex-start","& .MuiFormGroup-root":{margin:0},"& .MuiFormControlLabel-root":{margin:0,"& .MuiTypography-root":{display:"none",visibility:"hidden"},"& .MuiSwitch-root":{marginRight:`-${n.spacing(.5)}`}}}:{},children:f.jsx(Jj,{})})};Hd.defaultProps={...R.BooleanInput.defaultProps,...at.defaultProps};Hd.propTypes={...R.BooleanInput.propTypes,...at.propTypes,horizontal:c.bool};const Xj=ce(R.DateInput,{name:"RaApplicaDateInput",slot:"root"})(({label:e})=>({"& legend":{width:e===!1?0:"auto"}})),zd=e=>f.jsx(at,{...e,children:f.jsx(Xj,{})});zd.propTypes={...R.DateInput.propTypes,...at.propTypes};zd.defaultProps={...R.DateInput.defaultProps,...at.defaultProps};const Zj=ce(R.DateTimeInput,{name:"RaApplicaDateTimeInput",slot:"root"})(({label:e})=>({"& legend":{width:e===!1?0:"auto"}})),Wd=e=>f.jsx(at,{...e,children:f.jsx(Zj,{})});Wd.propTypes={...R.DateTimeInput.propTypes,...at.propTypes};Wd.defaultProps={...at.defaultProps};const $j=ce(R.FileInput,{name:"RaApplicaFileInput",slot:"root"})(({theme:e})=>({"& .previews":{},"& .previews>div":{marginTop:e.spacing(1),padding:e.spacing(1.5),border:`1px solid ${e.palette.divider}`,borderRadius:e.shape.borderRadius,"& button":{float:"right",placeItems:"flex-end",verticalAlign:"middle"},"&:hover":{backgroundColor:e.palette.action.hover},"& .MuiLink-root":{fontSize:e.typography.body1.fontSize}}})),Ud=({children:e,title:t,...n})=>{const r=To.useWatch({name:n.source}),i=R.useRecordContext(n),{source:a}=n,l=S.useMemo(()=>{if(r&&(r!=null&&r.title))return r==null?void 0:r.title;const u=it.get(i,a);if(u){const d=u.split("__");return d.length>0?d[d.length-1]:u}return u},[i,a,r]);return f.jsx(at,{...n,children:f.jsx($j,{children:S.cloneElement(e,{...e.props,title:t||a,source:a,record:{...i,[a]:(r==null?void 0:r.title)||it.get(i,a),[`_${a}`]:(r==null?void 0:r.src)||it.get(i,`_${a}`),[t||a]:l}})})})};Ud.propTypes={...R.FileInput.propTypes,source:c.string,title:c.string,children:c.node};Ud.defaultProps={children:f.jsx(kd,{})};const Yd=({children:e,title:t,...n})=>{const r=To.useWatch({name:n.source}),i=R.useRecordContext(n),{source:a}=n;return f.jsx(at,{...n,children:f.jsx(R.ImageInput,{accept:"image/*",children:S.cloneElement(e,{...e.props,title:t,source:a,record:{...i,[a]:(r==null?void 0:r.title)||it.get(i,a),[`_${a}`]:(r==null?void 0:r.src)||it.get(i,`_${a}`)}})})})};Yd.defaultProps={children:f.jsx(Kl,{}),multiple:!1};Yd.propTypes={...R.ImageInput.propTypes,source:c.string,title:c.string,children:c.node,multiple:c.bool};const ek=ce(R.NumberInput,{name:"RaApplicaNumberInput",slot:"root"})(({label:e})=>({"& legend":{width:e===!1?0:"auto"}})),Gd=e=>f.jsx(at,{...e,children:f.jsx(ek,{})});Gd.propTypes={...R.NumberInput.propTypes,...at.propTypes};Gd.defaultProps={...R.NumberInput.defaultProps,...at.defaultProps};const nI=({source:e,minWidth:t=300,children:n})=>{const r=R.useResourceContext(),i=R.useRecordContext(),[a,l]=S.useState(it.get(i,e,"")),[u,d]=S.useState(!1),g=S.useCallback(I=>l(I.target.value),[]),p=R.useDataProvider(),E=S.useCallback(I=>{I.key==="Enter"&&(d(!0),p.update(r,{id:i.id,data:{...i,[e]:a,_changed:e}}).then(()=>d(!1)))},[a,p,r,i,e]),h=S.useCallback(()=>{it.get(i,e)!==a&&(d(!0),p.update(r,{id:i.id,data:{...i,[e]:a,_changed:e}}).then(()=>d(!1)))},[a,p,r,e,i]),m=S.useCallback(I=>{d(!0),p.update(r,{id:i.id,data:{...i,[e]:I,_changed:e}}).then(()=>d(!1))},[p,r,e,i]);return S.useEffect(()=>l(it.get(i,e)),[i,e]),n?S.cloneElement(n,{...n.props,source:e,value:a,onChange:m}):f.jsx(Q.TextField,{value:a,disabled:u,onChange:g,onKeyPress:E,onBlur:h,style:{minWidth:t,width:"100%"},multiline:!0,InputProps:{"arial-label":"naked"},size:"small"})};nI.propTypes={source:c.string.isRequired,minWidth:c.number,children:c.element};const Kd=({children:e,...t})=>f.jsx(R.ReferenceArrayInput,{...t,children:S.cloneElement(e,{...t,source:e.props.source||t.source})});Kd.propTypes={...R.ReferenceArrayInput.propTypes,children:c.element};Kd.defaultProps={...R.ReferenceArrayInput.defaultProps};const _d=({children:e,...t})=>f.jsx(R.ReferenceInput,{...t,children:S.cloneElement(e,{...t,source:e.props.source||t.source})});_d.propTypes={...R.ReferenceInput.propTypes,children:c.element};_d.defaultProps={...R.ReferenceInput.defaultProps};const qd=({reference:e,target:t,children:n,filters:r,actions:i,...a})=>f.jsx(R.ResourceContextProvider,{value:e,children:f.jsx(xi,{perPage:5,pagination:f.jsx(R.Pagination,{}),...a,reference:e,target:t,children:f.jsxs(S.Fragment,{children:[f.jsx(R.ListToolbar,{filters:r,actions:i}),n]})})});qd.propTypes={...xi.propTypes,children:c.node.isRequired,reference:c.string.isRequired,target:c.string.isRequired,filters:c.oneOfType([c.element,c.func,c.element,c.arrayOf(c.node)]),actions:c.oneOfType([c.element,c.func,c.element])};qd.defaultProps={...xi.defaultProps};const tk=ce(R.SearchInput,{name:"RaApplicaSearchInput",slot:"root"})(()=>({})),nk=e=>f.jsx(tk,{...e}),rI=ce(R.SelectArrayInput,{name:"RaApplicaSelectArrayInput",slot:"Root"})(({label:e})=>({"& legend":{width:e===!1?0:"auto"},"& .RaSelectArrayInput-chips":{"& .RaSelectArrayInput-chip":{marginTop:0}}}));rI.propTypes={...R.SelectArrayInput.propTypes};const Jd=e=>f.jsx(at,{...e,children:f.jsx(rI,{options:{autoWidth:!1}})});Jd.defaultProps={optionText:"name",optionValue:"id"};Jd.propTypes={...R.SelectArrayInput.propTypes,...at.propTypes};const rk=ce(R.SelectInput,{name:"RaApplicaSelectArrayInput",slot:"Root"})(({label:e})=>({"& legend":{width:e===!1?0:"auto"}})),oI=e=>f.jsx(at,{...e,children:f.jsx(rk,{})});oI.propTypes={...R.SelectInput.propTypes,...at.propTypes};const Vn=e=>f.jsx(at,{...e,children:f.jsx(R.TextInput,{})});Vn.propTypes={...R.TextInput.propTypes,...at.propTypes};const ql=({...e})=>{var u,d;const t=R.useTranslate(),n=R.maxLength(e==null?void 0:e.maxLength,"app.input.max_length_error"),r=(d=(u=To.useController({name:e==null?void 0:e.source}))==null?void 0:u.field)==null?void 0:d.value;let i=e.helperText,a=e.validate;a?Array.isArray(a)&&a.indexOf(n)===-1&&a.push(n):a=[n];const l=t("app.input.max_length_info",{count:(r==null?void 0:r.length)||0,max:e==null?void 0:e.maxLength});return e!=null&&e.maxLength&&(i=i&&i.length>0?`${l} - ${t(i)}`:l),f.jsx(Vn,{...e,validate:a,helperText:i})};ql.displayName="SmartTextInput";ql.defaultProps={multiline:!1};ql.propTypes={...Vn.propTypes,maxLength:c.number,multiline:c.bool,rows:c.number};const iI=e=>{const t=e.split(":");t.length===1&&t.push("00");const n=parseInt(t[0]),r=parseInt(t[1]);return Qr().hour(n).minute(r)};function ok(){let e=new Date().getTime();return window.performance&&typeof window.performance.now=="function"&&(e+=performance.now()),"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(n){const r=(e+Math.random()*16)%16|0;return e=Math.floor(e/16),(n=="x"?r:r&3|8).toString(16)})}const ik=e=>{if(!e)return"";const t=iI(e);return t?t.format("HH:mm"):""},sk=e=>e,ak=ce(R.TimeInput,{name:"RaApplicaTimeInput",slot:"root"})(({label:e})=>({"& legend":{width:e===!1?0:"auto"}})),Xd=e=>f.jsx(at,{...e,children:f.jsx(ak,{})});Xd.defaultProps={...R.TimeInput.defaultProps,format:ik,parse:sk};Xd.propTypes={...R.TimeInput.propTypes,...at.propTypes};const Zd=({onSuccess:e,firstAccess:t})=>{const{spacing:n}=Ut(),[r,i]=S.useState(!1),a=Qe.useAuthProvider(),l=Qe.useTranslate(),u=Qe.useNotify(),d=S.useCallback(g=>{const{oldPassword:p,newPassword:E}=g;i(!0),a==null||a.changePassword(p,E).then(()=>{u("ra.auth.password_changed"),e()}).catch(h=>u(h,{type:"error"})).finally(()=>i(!1))},[a,e]);return f.jsx(Qe.ResourceContextProvider,{value:"user/change-password",children:f.jsx(Qe.EditContextProvider,{value:{record:{},resource:"user/change-password",save:d},children:f.jsx(Yl,{onSubmit:d,toolbar:f.jsx(Tr,{children:f.jsx(O0,{disabled:r})}),children:f.jsxs(Q.Grid,{container:!0,spacing:n,children:[t===!0&&f.jsx(Q.Grid,{item:!0,xs:12,children:f.jsxs(Q.Alert,{severity:"warning",children:[f.jsx(Q.AlertTitle,{children:l("ra.auth.first_access.change_password")}),l("ra.auth.first_access.change_password_helper")]})}),f.jsx(Q.Grid,{item:!0,xs:12,children:f.jsx(Vn,{source:"oldPassword",type:"password",validate:Qe.required()})}),f.jsx(Q.Grid,{item:!0,xs:12,children:f.jsx(Vn,{source:"newPassword",type:"password",validate:Qe.required()})})]})})})})},lk=ce(R.Edit,{name:"RaApplicaEdit",slot:"root"})(({theme:e})=>({"& .RaEdi-card, & > div > div > form":{backgroundColor:e.palette.background.default},"& .RaEdit-main>.MuiPaper-root:first-of-type":{overflow:"visible"}})),ck=ce(Q.CardHeader)(({theme:e})=>({marginTop:e.spacing(4),marginLeft:0,marginRight:0,paddingLeft:0,paddingRight:0})),uk=ce(Q.Divider)(({theme:e})=>({marginLeft:`-${e.spacing(2.5)}`,marginRight:`-${e.spacing(2.5)}`,marginBottom:e.spacing(2),width:`calc(100% + ${e.spacing(5)})`})),$d=({title:e,divider:t,variant:n})=>{const r=R.useTranslate();return f.jsxs(S.Fragment,{children:[f.jsx(ck,{title:r(e,{_:e}),titleTypographyProps:{variant:n}}),t&&f.jsx(uk,{})]})};$d.propTypes={title:c.string.isRequired,divider:c.bool,variant:c.oneOf(["h1","h2","h3","h4","h5","h6"])};$d.defaultProps={divider:!0,variant:"h4"};const al=c.shape({xl:c.number,lg:c.number,md:c.number,sm:c.number,xs:c.number}),Ak=ce("div")(({theme:e})=>({marginBottom:e.spacing(2)})),Jl=({children:e,visibility:t})=>Q.useMediaQuery(r=>r.breakpoints.up(t))?f.jsx(Ak,{children:e}):null;Jl.propTypes={visibility:c.oneOf(["xl","lg","md","sm","xs"]),position:c.oneOf(["top","bottom"]).isRequired,children:c.node.isRequired};Jl.defaultProps={position:"top",visibility:"md"};const dk={display:"none"},Xl=({intent:e,hidden:t,unmountOnExit:n,label:r,icon:i,value:a,syncWithLocation:l,selected:u,onChange:d,children:g,badgeColor:p,badgeContent:E,...h})=>{const m=R.useTranslate(),I=Yr.useLocation(),B={component:gt.Link,to:{...I,pathname:a}},y=S.isValidElement(r)?r:m(r,{_:r}),O=S.useCallback(()=>d(a),[d,a]);return e==="header"?(()=>f.jsxs(Q.ListItemButton,{selected:u,...l?B:{},onClick:O,children:[i&&f.jsx(Q.ListItemIcon,{children:i}),f.jsx(Q.ListItemText,{primary:y}),E&&f.jsx(Q.ListItemSecondaryAction,{children:f.jsx(Q.Avatar,{sx:{width:24,height:24,fontSize:12,backgroundColor:T=>{var P;return(P=T.palette[p])==null?void 0:P.main},color:T=>{var P;return(P=T.palette[p])==null?void 0:P.contrastText}},children:E})})]}))():(()=>n&&t?null:f.jsx(R.FormGroupContextProvider,{name:a.toString(),children:f.jsx(Q.Stack,{alignContent:"stretch",style:t?dk:{},id:`tabpanel-${a}`,"aria-labelledby":`tabheader-${a}`,"aria-hidden":t||void 0,...h,children:g})}))()};Xl.propTypes={intent:c.oneOf(["header","content","sidebar"]),className:c.string,contentClassName:c.string,url:c.string,icon:c.element,label:c.oneOfType([c.string,c.element]).isRequired,value:c.oneOfType([c.string,c.number]),syncWithLocation:c.bool,onChange:c.func,selected:c.bool,hidden:c.bool,unmountOnExit:c.bool,children:c.node,badgeColor:c.oneOf(["default","error","info","primary","secondary","success","warning"]),badgeContent:c.oneOfType([c.string,c.number])};Xl.defaultProps={badgeColor:"default",unmountOnExit:!1};const gk=yi(Q.List,{name:"RaLongFormTabs",slot:"Root"})(({theme:e})=>({p:0,"& .MuiListItemIcon-root":{minWidth:32,color:e.palette.grey[500]},"& .MuiListItemButton-root.Mui-selected":{borderRight:`2px solid ${e.palette.primary.main}`,marginRight:"-2px"}})),sI=({children:e,syncWithLocation:t,value:n,url:r,onChange:i})=>{const a=Yr.useLocation();return f.jsx(Nn,{children:f.jsx(gk,{component:"nav",children:S.Children.map(e,(l,u)=>{if(!S.isValidElement(l))return null;const d=fk(l,u),g=t?!!Yr.matchPath(`${r}/${d}`,a.pathname):u===n;return S.cloneElement(l,{intent:"header",value:t?d:u,syncWithLocation:t,onChange:i,url:r,selected:g})})})})},fk=(e,t)=>e.props.path!=null?e.props.path:t>0?t.toString():"";sI.propTypes={children:c.node,url:c.string,tabsWithErrors:c.arrayOf(c.string),syncWithLocation:c.bool,onChange:c.func,value:c.oneOfType([c.string,c.number])};var pk=e=>{let t=e;for(;t=t.parentElement;){const n=getComputedStyle(t,null).getPropertyValue("overflow-y");if(t===document.body)return window;if(n==="auto"||n==="scroll"||n==="overlay")return t}return window},aI=e=>e.firstChild?e.firstChild.offsetParent===e:!0,hk=(e,t)=>{let n=e,r=0;aI(t)||(r+=e.offsetTop-t.offsetTop,t=e.offsetParent,r+=-e.offsetTop);do r+=n.offsetTop,n=n.offsetParent;while(n&&n!==t);return r},Ck=e=>{let t=e.parentElement;for(;t&&getComputedStyle(t,null).getPropertyValue("display")==="contents";)t=t.parentElement;return t||window},Is=null;typeof CSS<"u"&&CSS.supports&&(CSS.supports("position","sticky")?Is="sticky":CSS.supports("position","-webkit-sticky")&&(Is="-webkit-sticky"));var ll=!1;try{const e=Object.defineProperty({},"passive",{get(){ll={passive:!0}}}),t=()=>{};window.addEventListener("testPassive",t,e),window.removeEventListener("testPassive",t,e)}catch{}var Nu=e=>{const{el:t,onChange:n,unsubs:r,measure:i}=e;if(t===window){const a=()=>({top:0,left:0,height:window.innerHeight,width:window.innerWidth}),l=i(a()),u=()=>{Object.assign(l,i(a())),n()};return window.addEventListener("resize",u,ll),r.push(()=>window.removeEventListener("resize",u)),l}else{const a=i(t.getBoundingClientRect()),l=()=>{Object.assign(a,i(t.getBoundingClientRect())),n()},u=new ResizeObserver(l);return u.observe(t),r.push(()=>u.disconnect()),a}},Ek=e=>{const t=getComputedStyle(e,null),n=parseInt(t.getPropertyValue("padding-top"),10),r=parseInt(t.getPropertyValue("padding-bottom"),10);return{top:n,bottom:r}},mk=(e,t,n)=>{const{bottom:r,offsetBottom:i,offsetTop:a}=n,l=pk(e);let u=!1;const d=()=>{u||requestAnimationFrame(()=>{const F=E();F!==w&&T(F),u=!1}),u=!0};let g=l===window?window.scrollY:l.scrollTop;const p=F=>{const{offsetTop:K,height:Z}=m,{naturalTop:G}=y,{height:ee}=O;return F+K+Z>=G+ee+M+i},E=()=>{const{height:F}=m,{height:K}=O;return K+a+i<=F?3:p(g)?1:2},h=l!==window&&aI(l),m=Nu({el:l,onChange:d,unsubs:t,measure:({height:F,top:K})=>({height:F,offsetTop:h?K:0})}),I=Ck(e),B=I===window?{top:0,bottom:0}:Ek(I),y=Nu({el:I,onChange:d,unsubs:t,measure:({height:F})=>({height:F-B.top-B.bottom,naturalTop:I===window?0:hk(I,l)+B.top+m.offsetTop})}),O=Nu({el:e,onChange:d,unsubs:t,measure:({height:F})=>({height:F})});let M=0,w=E();const T=F=>{const K=w;if(w=F,K===2&&(M=-1),F===3){e.style.position=Is,r?e.style.bottom=`${i}px`:e.style.top=`${a}px`;return}const{height:Z,offsetTop:G}=m,{height:ee,naturalTop:le}=y,{height:de}=O;if(F===2)if(e.style.position="relative",M=K===0?Math.max(0,G+g-le+a):Math.max(0,G+g+Z-(le+de+i)),r){const _=Math.max(0,ee-de-M);e.style.bottom=`${_}px`}else e.style.top=`${M}px`;else e.style.position=Is,F===1?r?e.style.bottom=`${i}px`:e.style.top=`${Z-de-i}px`:r?e.style.bottom=`${Z-de-i}px`:e.style.top=`${a}px`};T(w);const P=F=>{if(F===g)return;const K=F-g;if(g=F,w===3)return;const{offsetTop:Z,height:G}=m,{naturalTop:ee,height:le}=y,{height:de}=O;if(K>0)if(w===0){if(F+Z+a>ee){const _=Math.max(0,Z+g-ee+a);F+Z+G<=ee+de+_+i?T(2):T(1)}}else w===2&&p(F)&&T(1);else if(w===1){if(Z+F+G<ee+le+i){const _=Math.max(0,Z+g+G-(ee+de+i));Z+F+a>=ee+_?T(2):T(0)}}else w===2&&Z+F+a<ee+M&&T(0)},H=l===window?()=>P(window.scrollY):()=>P(l.scrollTop);l.addEventListener("scroll",H,ll),l.addEventListener("mousewheel",H,ll),t.push(()=>l.removeEventListener("scroll",H),()=>l.removeEventListener("mousewheel",H))},Ik=({offsetTop:e=0,offsetBottom:t=0,bottom:n=!1}={})=>{const[r,i]=S.useState(null);return S.useEffect(()=>{if(!r||!Is)return;const a=[];return mk(r,a,{offsetBottom:t,offsetTop:e,bottom:n}),()=>{a.forEach(l=>l())}},[r,t,e,n]),i},Bk=e=>{const{offsetTop:t,offsetBottom:n,bottom:r,children:i,className:a,style:l}=e,u=Ik({offsetTop:t,offsetBottom:n,bottom:r});return f.jsx("div",{className:a,style:l,ref:u,children:i})},yk=Bk;const vk=ce(Q.Grid,{name:"ApplicaLongFormView",slot:"Root"})(({theme:e})=>({"& .MuiToolbar-root":{position:"initial",marginTop:e.spacing(2),marginLeft:`-${e.spacing(3)}`,marginRight:`-${e.spacing(3)}`,marginBottom:`-${e.spacing(2)}`,borderTop:`1px solid ${e.palette.divider}`,[e.breakpoints.down("sm")]:{position:"initial !important",width:"auto !important"}},"& form > .MuiToolbar-root":{margin:0,marginRight:`-${e.spacing(.5)}`,[e.breakpoints.down("sm")]:{marginRight:e.spacing(.5)}}})),wC=(e,t)=>e&&e.type===Jl&&e.props.position===t,bk=e=>e&&e.type===Xl,eg=({children:e,formRootPathname:t,syncWithLocation:n,spacing:r,tabs:i,tabsDisposition:a,contentDisposition:l,sticky:u,...d})=>{const[g,p]=S.useState(0),E=Yr.useResolvedPath(""),h=R.useResourceContext(d),m=Yr.useLocation(),I=S.useMemo(()=>S.Children.toArray(e).find(T=>wC(T,"top")),[e]),B=S.useMemo(()=>S.Children.toArray(e).find(T=>wC(T,"bottom")),[e]),y=S.useMemo(()=>S.Children.toArray(e).filter(T=>bk(T)),[e]),O=T=>{n||p(T)},M=()=>S.cloneElement(i,{onChange:O,syncWithLocation:n,url:t,value:g,intent:"header"},y),w=S.useMemo(()=>f.jsxs(S.Fragment,{children:[I,n?f.jsx(Yr.Routes,{children:f.jsx(Yr.Route,{path:"/*",element:M()})}):M(),B]}),[I,n,M,B]);return f.jsxs(vk,{container:!0,spacing:r*2,children:[f.jsx(Q.Grid,{item:!0,...a,children:u?f.jsx(yk,{offsetTop:74,offsetBottom:r*2,children:w}):w}),f.jsx(Q.Grid,{item:!0,...l,children:S.Children.map(y,(T,P)=>{if(!T)return null;const H=R.getTabbedFormTabFullPath(T,P),F=n?!Yr.matchPath(`${E.pathname}/${H}`,m.pathname):g!==P;return S.isValidElement(T)?S.cloneElement(T,{intent:"content",resource:h,hidden:F,value:n?H:P}):null})})]})};eg.propTypes={children:c.node,spacing:c.number,syncWithLocation:c.bool,tabs:c.element,formRootPathname:c.string,tabsDisposition:al,contentDisposition:al};eg.defaultProps={tabs:f.jsx(sI,{})};const Qk=()=>{const e=gt.useLocation(),t=["entities/:resource/create/*",":resource/create/*","entities/:resource/:id/*",":resource/:id/*"];for(const n of t){const r=gt.matchPath(n,e.pathname);if(r)return r.pathnameBase}return""},Ts=({spacing:e,...t})=>{const n=Qk(),{spacing:r}=Ut(),i=e||r;return f.jsx(R.Form,{formRootPathname:n,...t,children:f.jsx(eg,{formRootPathname:n,...t,spacing:i})})};Ts.propTypes={syncWithLocation:c.bool,spacing:c.number,tabsDisposition:al,contentDisposition:al,sticky:c.bool};Ts.defaultProps={syncWithLocation:!1,sticky:!0,spacing:2,tabsDisposition:{xl:3,lg:3,md:4,sm:4,xs:12},contentDisposition:{xl:9,lg:9,md:8,sm:8,xs:12}};Ts.Tab=Xl;Ts.Sidebar=Jl;const xk=ce(z0,{name:"ApplicaSimpleFormIterator",root:"root"})(({theme:e})=>({"& .RaSimpleFormIterator-line":{paddingTop:e.spacing(1),paddingBottom:e.spacing(.5)},"& .RaSimpleFormIterator-action":{display:"flex",flexDirection:"row",alignItems:"center",mb:1.5},"& section":{width:"100%","& label":{position:"relative",overflow:"visible",transform:"none",ml:0}}})),Zl=yi(R.TabbedForm,{name:"RaApplicaTabbedForm",slot:"Root"})(()=>({}));Zl.propTypes={...R.TabbedForm.propTypes};Zl.defaultProps={...R.TabbedForm.defaultProps};Zl.Tab=R.TabbedForm.Tab;const lI=S.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),$l=S.createContext({}),tg=S.createContext(null),ec=typeof document<"u",wk=ec?S.useLayoutEffect:S.useEffect,cI=S.createContext({strict:!1});function Tk(e,t,n,r){const{visualElement:i}=S.useContext($l),a=S.useContext(cI),l=S.useContext(tg),u=S.useContext(lI).reducedMotion,d=S.useRef();r=r||a.renderer,!d.current&&r&&(d.current=r(e,{visualState:t,parent:i,props:n,presenceContext:l,blockInitialAnimation:l?l.initial===!1:!1,reducedMotionConfig:u}));const g=d.current;S.useInsertionEffect(()=>{g&&g.update(n,l)});const p=S.useRef(!!window.HandoffAppearAnimations);return wk(()=>{g&&(g.render(),p.current&&g.animationState&&g.animationState.animateChanges())}),S.useEffect(()=>{g&&(g.updateFeatures(),!p.current&&g.animationState&&g.animationState.animateChanges(),window.HandoffAppearAnimations=void 0,p.current=!1)}),g}function ai(e){return typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function Pk(e,t,n){return S.useCallback(r=>{r&&e.mount&&e.mount(r),t&&(r?t.mount(r):t.unmount()),n&&(typeof n=="function"?n(r):ai(n)&&(n.current=r))},[t])}function Bs(e){return typeof e=="string"||Array.isArray(e)}function tc(e){return typeof e=="object"&&typeof e.start=="function"}const ng=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],rg=["initial",...ng];function nc(e){return tc(e.animate)||rg.some(t=>Bs(e[t]))}function uI(e){return!!(nc(e)||e.variants)}function Sk(e,t){if(nc(e)){const{initial:n,animate:r}=e;return{initial:n===!1||Bs(n)?n:void 0,animate:Bs(r)?r:void 0}}return e.inherit!==!1?t:{}}function Rk(e){const{initial:t,animate:n}=Sk(e,S.useContext($l));return S.useMemo(()=>({initial:t,animate:n}),[TC(t),TC(n)])}function TC(e){return Array.isArray(e)?e.join(" "):e}const PC={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},ys={};for(const e in PC)ys[e]={isEnabled:t=>PC[e].some(n=>!!t[n])};function Ok(e){for(const t in e)ys[t]={...ys[t],...e[t]}}const AI=S.createContext({}),dI=S.createContext({}),Dk=Symbol.for("motionComponentSymbol");function Mk({preloadedFeatures:e,createVisualElement:t,useRender:n,useVisualState:r,Component:i}){e&&Ok(e);function a(u,d){let g;const p={...S.useContext(lI),...u,layoutId:jk(u)},{isStatic:E}=p,h=Rk(u),m=r(u,E);if(!E&&ec){h.visualElement=Tk(i,m,p,t);const I=S.useContext(dI),B=S.useContext(cI).strict;h.visualElement&&(g=h.visualElement.loadFeatures(p,B,e,I))}return k.createElement($l.Provider,{value:h},g&&h.visualElement?k.createElement(g,{visualElement:h.visualElement,...p}):null,n(i,u,Pk(m,h.visualElement,d),m,E,h.visualElement))}const l=S.forwardRef(a);return l[Dk]=i,l}function jk({layoutId:e}){const t=S.useContext(AI).id;return t&&e!==void 0?t+"-"+e:e}function kk(e){function t(r,i={}){return Mk(e(r,i))}if(typeof Proxy>"u")return t;const n=new Map;return new Proxy(t,{get:(r,i)=>(n.has(i)||n.set(i,t(i)),n.get(i))})}const Fk=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function og(e){return typeof e!="string"||e.includes("-")?!1:!!(Fk.indexOf(e)>-1||/[A-Z]/.test(e))}const cl={};function Lk(e){Object.assign(cl,e)}const Ps=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Ro=new Set(Ps);function gI(e,{layout:t,layoutId:n}){return Ro.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!cl[e]||e==="opacity")}const dn=e=>!!(e&&e.getVelocity),Nk={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},Vk=Ps.length;function Hk(e,{enableHardwareAcceleration:t=!0,allowTransformNone:n=!0},r,i){let a="";for(let l=0;l<Vk;l++){const u=Ps[l];if(e[u]!==void 0){const d=Nk[u]||u;a+=`${d}(${e[u]}) `}}return t&&!e.z&&(a+="translateZ(0)"),a=a.trim(),i?a=i(e,r?"":a):n&&r&&(a="none"),a}const fI=e=>t=>typeof t=="string"&&t.startsWith(e),pI=fI("--"),TA=fI("var(--"),zk=/var\s*\(\s*--[\w-]+(\s*,\s*(?:(?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)+)?\s*\)/g,Wk=(e,t)=>t&&typeof e=="number"?t.transform(e):e,qr=(e,t,n)=>Math.min(Math.max(n,e),t),Oo={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},cs={...Oo,transform:e=>qr(0,1,e)},Pa={...Oo,default:1},us=e=>Math.round(e*1e5)/1e5,rc=/(-)?([\d]*\.?[\d])+/g,hI=/(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,Uk=/^(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function Ss(e){return typeof e=="string"}const Rs=e=>({test:t=>Ss(t)&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),Wr=Rs("deg"),ir=Rs("%"),Oe=Rs("px"),Yk=Rs("vh"),Gk=Rs("vw"),SC={...ir,parse:e=>ir.parse(e)/100,transform:e=>ir.transform(e*100)},RC={...Oo,transform:Math.round},CI={borderWidth:Oe,borderTopWidth:Oe,borderRightWidth:Oe,borderBottomWidth:Oe,borderLeftWidth:Oe,borderRadius:Oe,radius:Oe,borderTopLeftRadius:Oe,borderTopRightRadius:Oe,borderBottomRightRadius:Oe,borderBottomLeftRadius:Oe,width:Oe,maxWidth:Oe,height:Oe,maxHeight:Oe,size:Oe,top:Oe,right:Oe,bottom:Oe,left:Oe,padding:Oe,paddingTop:Oe,paddingRight:Oe,paddingBottom:Oe,paddingLeft:Oe,margin:Oe,marginTop:Oe,marginRight:Oe,marginBottom:Oe,marginLeft:Oe,rotate:Wr,rotateX:Wr,rotateY:Wr,rotateZ:Wr,scale:Pa,scaleX:Pa,scaleY:Pa,scaleZ:Pa,skew:Wr,skewX:Wr,skewY:Wr,distance:Oe,translateX:Oe,translateY:Oe,translateZ:Oe,x:Oe,y:Oe,z:Oe,perspective:Oe,transformPerspective:Oe,opacity:cs,originX:SC,originY:SC,originZ:Oe,zIndex:RC,fillOpacity:cs,strokeOpacity:cs,numOctaves:RC};function ig(e,t,n,r){const{style:i,vars:a,transform:l,transformOrigin:u}=e;let d=!1,g=!1,p=!0;for(const E in t){const h=t[E];if(pI(E)){a[E]=h;continue}const m=CI[E],I=Wk(h,m);if(Ro.has(E)){if(d=!0,l[E]=I,!p)continue;h!==(m.default||0)&&(p=!1)}else E.startsWith("origin")?(g=!0,u[E]=I):i[E]=I}if(t.transform||(d||r?i.transform=Hk(e.transform,n,p,r):i.transform&&(i.transform="none")),g){const{originX:E="50%",originY:h="50%",originZ:m=0}=u;i.transformOrigin=`${E} ${h} ${m}`}}const sg=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function EI(e,t,n){for(const r in t)!dn(t[r])&&!gI(r,n)&&(e[r]=t[r])}function Kk({transformTemplate:e},t,n){return S.useMemo(()=>{const r=sg();return ig(r,t,{enableHardwareAcceleration:!n},e),Object.assign({},r.vars,r.style)},[t])}function _k(e,t,n){const r=e.style||{},i={};return EI(i,r,e),Object.assign(i,Kk(e,t,n)),e.transformValues?e.transformValues(i):i}function qk(e,t,n){const r={},i=_k(e,t,n);return e.drag&&e.dragListener!==!1&&(r.draggable=!1,i.userSelect=i.WebkitUserSelect=i.WebkitTouchCallout="none",i.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(r.tabIndex=0),r.style=i,r}const Jk=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","transformValues","custom","inherit","onLayoutAnimationStart","onLayoutAnimationComplete","onLayoutMeasure","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","ignoreStrict","viewport"]);function ul(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||Jk.has(e)}let mI=e=>!ul(e);function Xk(e){e&&(mI=t=>t.startsWith("on")?!ul(t):e(t))}try{Xk(require("@emotion/is-prop-valid").default)}catch{}function Zk(e,t,n){const r={};for(const i in e)i==="values"&&typeof e.values=="object"||(mI(i)||n===!0&&ul(i)||!t&&!ul(i)||e.draggable&&i.startsWith("onDrag"))&&(r[i]=e[i]);return r}function OC(e,t,n){return typeof e=="string"?e:Oe.transform(t+n*e)}function $k(e,t,n){const r=OC(t,e.x,e.width),i=OC(n,e.y,e.height);return`${r} ${i}`}const e6={offset:"stroke-dashoffset",array:"stroke-dasharray"},t6={offset:"strokeDashoffset",array:"strokeDasharray"};function n6(e,t,n=1,r=0,i=!0){e.pathLength=1;const a=i?e6:t6;e[a.offset]=Oe.transform(-r);const l=Oe.transform(t),u=Oe.transform(n);e[a.array]=`${l} ${u}`}function ag(e,{attrX:t,attrY:n,attrScale:r,originX:i,originY:a,pathLength:l,pathSpacing:u=1,pathOffset:d=0,...g},p,E,h){if(ig(e,g,p,h),E){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:m,style:I,dimensions:B}=e;m.transform&&(B&&(I.transform=m.transform),delete m.transform),B&&(i!==void 0||a!==void 0||I.transform)&&(I.transformOrigin=$k(B,i!==void 0?i:.5,a!==void 0?a:.5)),t!==void 0&&(m.x=t),n!==void 0&&(m.y=n),r!==void 0&&(m.scale=r),l!==void 0&&n6(m,l,u,d,!1)}const II=()=>({...sg(),attrs:{}}),lg=e=>typeof e=="string"&&e.toLowerCase()==="svg";function r6(e,t,n,r){const i=S.useMemo(()=>{const a=II();return ag(a,t,{enableHardwareAcceleration:!1},lg(r),e.transformTemplate),{...a.attrs,style:{...a.style}}},[t]);if(e.style){const a={};EI(a,e.style,e),i.style={...a,...i.style}}return i}function o6(e=!1){return(n,r,i,{latestValues:a},l)=>{const d=(og(n)?r6:qk)(r,a,l,n),p={...Zk(r,typeof n=="string",e),...d,ref:i},{children:E}=r,h=S.useMemo(()=>dn(E)?E.get():E,[E]);return S.createElement(n,{...p,children:h})}}const cg=e=>e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();function BI(e,{style:t,vars:n},r,i){Object.assign(e.style,t,i&&i.getProjectionStyles(r));for(const a in n)e.style.setProperty(a,n[a])}const yI=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function vI(e,t,n,r){BI(e,t,void 0,r);for(const i in t.attrs)e.setAttribute(yI.has(i)?i:cg(i),t.attrs[i])}function ug(e,t){const{style:n}=e,r={};for(const i in n)(dn(n[i])||t.style&&dn(t.style[i])||gI(i,e))&&(r[i]=n[i]);return r}function bI(e,t){const n=ug(e,t);for(const r in e)if(dn(e[r])||dn(t[r])){const i=Ps.indexOf(r)!==-1?"attr"+r.charAt(0).toUpperCase()+r.substring(1):r;n[i]=e[r]}return n}function Ag(e,t,n,r={},i={}){return typeof t=="function"&&(t=t(n!==void 0?n:e.custom,r,i)),typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"&&(t=t(n!==void 0?n:e.custom,r,i)),t}function i6(e){const t=S.useRef(null);return t.current===null&&(t.current=e()),t.current}const Al=e=>Array.isArray(e),s6=e=>!!(e&&typeof e=="object"&&e.mix&&e.toValue),a6=e=>Al(e)?e[e.length-1]||0:e;function za(e){const t=dn(e)?e.get():e;return s6(t)?t.toValue():t}function l6({scrapeMotionValuesFromProps:e,createRenderState:t,onMount:n},r,i,a){const l={latestValues:c6(r,i,a,e),renderState:t()};return n&&(l.mount=u=>n(r,u,l)),l}const QI=e=>(t,n)=>{const r=S.useContext($l),i=S.useContext(tg),a=()=>l6(e,t,r,i);return n?a():i6(a)};function c6(e,t,n,r){const i={},a=r(e,{});for(const h in a)i[h]=za(a[h]);let{initial:l,animate:u}=e;const d=nc(e),g=uI(e);t&&g&&!d&&e.inherit!==!1&&(l===void 0&&(l=t.initial),u===void 0&&(u=t.animate));let p=n?n.initial===!1:!1;p=p||l===!1;const E=p?u:l;return E&&typeof E!="boolean"&&!tc(E)&&(Array.isArray(E)?E:[E]).forEach(m=>{const I=Ag(e,m);if(!I)return;const{transitionEnd:B,transition:y,...O}=I;for(const M in O){let w=O[M];if(Array.isArray(w)){const T=p?w.length-1:0;w=w[T]}w!==null&&(i[M]=w)}for(const M in B)i[M]=B[M]}),i}const xt=e=>e;class DC{constructor(){this.order=[],this.scheduled=new Set}add(t){if(!this.scheduled.has(t))return this.scheduled.add(t),this.order.push(t),!0}remove(t){const n=this.order.indexOf(t);n!==-1&&(this.order.splice(n,1),this.scheduled.delete(t))}clear(){this.order.length=0,this.scheduled.clear()}}function u6(e){let t=new DC,n=new DC,r=0,i=!1,a=!1;const l=new WeakSet,u={schedule:(d,g=!1,p=!1)=>{const E=p&&i,h=E?t:n;return g&&l.add(d),h.add(d)&&E&&i&&(r=t.order.length),d},cancel:d=>{n.remove(d),l.delete(d)},process:d=>{if(i){a=!0;return}if(i=!0,[t,n]=[n,t],n.clear(),r=t.order.length,r)for(let g=0;g<r;g++){const p=t.order[g];p(d),l.has(p)&&(u.schedule(p),e())}i=!1,a&&(a=!1,u.process(d))}};return u}const Sa=["prepare","read","update","preRender","render","postRender"],A6=40;function d6(e,t){let n=!1,r=!0;const i={delta:0,timestamp:0,isProcessing:!1},a=Sa.reduce((E,h)=>(E[h]=u6(()=>n=!0),E),{}),l=E=>a[E].process(i),u=()=>{const E=performance.now();n=!1,i.delta=r?1e3/60:Math.max(Math.min(E-i.timestamp,A6),1),i.timestamp=E,i.isProcessing=!0,Sa.forEach(l),i.isProcessing=!1,n&&t&&(r=!1,e(u))},d=()=>{n=!0,r=!0,i.isProcessing||e(u)};return{schedule:Sa.reduce((E,h)=>{const m=a[h];return E[h]=(I,B=!1,y=!1)=>(n||d(),m.schedule(I,B,y)),E},{}),cancel:E=>Sa.forEach(h=>a[h].cancel(E)),state:i,steps:a}}const{schedule:ht,cancel:xr,state:Ht,steps:Vu}=d6(typeof requestAnimationFrame<"u"?requestAnimationFrame:xt,!0),g6={useVisualState:QI({scrapeMotionValuesFromProps:bI,createRenderState:II,onMount:(e,t,{renderState:n,latestValues:r})=>{ht.read(()=>{try{n.dimensions=typeof t.getBBox=="function"?t.getBBox():t.getBoundingClientRect()}catch{n.dimensions={x:0,y:0,width:0,height:0}}}),ht.render(()=>{ag(n,r,{enableHardwareAcceleration:!1},lg(t.tagName),e.transformTemplate),vI(t,n)})}})},f6={useVisualState:QI({scrapeMotionValuesFromProps:ug,createRenderState:sg})};function p6(e,{forwardMotionProps:t=!1},n,r){return{...og(e)?g6:f6,preloadedFeatures:n,useRender:o6(t),createVisualElement:r,Component:e}}function mr(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}const xI=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1;function oc(e,t="page"){return{point:{x:e[t+"X"],y:e[t+"Y"]}}}const h6=e=>t=>xI(t)&&e(t,oc(t));function Br(e,t,n,r){return mr(e,t,h6(n),r)}const C6=(e,t)=>n=>t(e(n)),Kr=(...e)=>e.reduce(C6);function wI(e){let t=null;return()=>{const n=()=>{t=null};return t===null?(t=e,n):!1}}const MC=wI("dragHorizontal"),jC=wI("dragVertical");function TI(e){let t=!1;if(e==="y")t=jC();else if(e==="x")t=MC();else{const n=MC(),r=jC();n&&r?t=()=>{n(),r()}:(n&&n(),r&&r())}return t}function PI(){const e=TI(!0);return e?(e(),!1):!0}class ro{constructor(t){this.isMounted=!1,this.node=t}update(){}}function kC(e,t){const n="pointer"+(t?"enter":"leave"),r="onHover"+(t?"Start":"End"),i=(a,l)=>{if(a.type==="touch"||PI())return;const u=e.getProps();e.animationState&&u.whileHover&&e.animationState.setActive("whileHover",t),u[r]&&ht.update(()=>u[r](a,l))};return Br(e.current,n,i,{passive:!e.getProps()[r]})}class E6 extends ro{mount(){this.unmount=Kr(kC(this.node,!0),kC(this.node,!1))}unmount(){}}class m6 extends ro{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch{t=!0}!t||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=Kr(mr(this.node.current,"focus",()=>this.onFocus()),mr(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}const SI=(e,t)=>t?e===t?!0:SI(e,t.parentElement):!1;function Hu(e,t){if(!t)return;const n=new PointerEvent("pointer"+e);t(n,oc(n))}class I6 extends ro{constructor(){super(...arguments),this.removeStartListeners=xt,this.removeEndListeners=xt,this.removeAccessibleListeners=xt,this.startPointerPress=(t,n)=>{if(this.removeEndListeners(),this.isPressing)return;const r=this.node.getProps(),a=Br(window,"pointerup",(u,d)=>{if(!this.checkPressEnd())return;const{onTap:g,onTapCancel:p}=this.node.getProps();ht.update(()=>{SI(this.node.current,u.target)?g&&g(u,d):p&&p(u,d)})},{passive:!(r.onTap||r.onPointerUp)}),l=Br(window,"pointercancel",(u,d)=>this.cancelPress(u,d),{passive:!(r.onTapCancel||r.onPointerCancel)});this.removeEndListeners=Kr(a,l),this.startPress(t,n)},this.startAccessiblePress=()=>{const t=a=>{if(a.key!=="Enter"||this.isPressing)return;const l=u=>{u.key!=="Enter"||!this.checkPressEnd()||Hu("up",(d,g)=>{const{onTap:p}=this.node.getProps();p&&ht.update(()=>p(d,g))})};this.removeEndListeners(),this.removeEndListeners=mr(this.node.current,"keyup",l),Hu("down",(u,d)=>{this.startPress(u,d)})},n=mr(this.node.current,"keydown",t),r=()=>{this.isPressing&&Hu("cancel",(a,l)=>this.cancelPress(a,l))},i=mr(this.node.current,"blur",r);this.removeAccessibleListeners=Kr(n,i)}}startPress(t,n){this.isPressing=!0;const{onTapStart:r,whileTap:i}=this.node.getProps();i&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),r&&ht.update(()=>r(t,n))}checkPressEnd(){return this.removeEndListeners(),this.isPressing=!1,this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!PI()}cancelPress(t,n){if(!this.checkPressEnd())return;const{onTapCancel:r}=this.node.getProps();r&&ht.update(()=>r(t,n))}mount(){const t=this.node.getProps(),n=Br(this.node.current,"pointerdown",this.startPointerPress,{passive:!(t.onTapStart||t.onPointerStart)}),r=mr(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=Kr(n,r)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}const PA=new WeakMap,zu=new WeakMap,B6=e=>{const t=PA.get(e.target);t&&t(e)},y6=e=>{e.forEach(B6)};function v6({root:e,...t}){const n=e||document;zu.has(n)||zu.set(n,{});const r=zu.get(n),i=JSON.stringify(t);return r[i]||(r[i]=new IntersectionObserver(y6,{root:e,...t})),r[i]}function b6(e,t,n){const r=v6(t);return PA.set(e,n),r.observe(e),()=>{PA.delete(e),r.unobserve(e)}}const Q6={some:0,all:1};class x6 extends ro{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:t={}}=this.node.getProps(),{root:n,margin:r,amount:i="some",once:a}=t,l={root:n?n.current:void 0,rootMargin:r,threshold:typeof i=="number"?i:Q6[i]},u=d=>{const{isIntersecting:g}=d;if(this.isInView===g||(this.isInView=g,a&&!g&&this.hasEnteredView))return;g&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",g);const{onViewportEnter:p,onViewportLeave:E}=this.node.getProps(),h=g?p:E;h&&h(d)};return b6(this.node.current,l,u)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:t,prevProps:n}=this.node;["amount","margin","root"].some(w6(t,n))&&this.startObserver()}unmount(){}}function w6({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}const T6={inView:{Feature:x6},tap:{Feature:I6},focus:{Feature:m6},hover:{Feature:E6}};function RI(e,t){if(!Array.isArray(t))return!1;const n=t.length;if(n!==e.length)return!1;for(let r=0;r<n;r++)if(t[r]!==e[r])return!1;return!0}function P6(e){const t={};return e.values.forEach((n,r)=>t[r]=n.get()),t}function S6(e){const t={};return e.values.forEach((n,r)=>t[r]=n.getVelocity()),t}function ic(e,t,n){const r=e.getProps();return Ag(r,t,n!==void 0?n:r.custom,P6(e),S6(e))}const R6="framerAppearId",O6="data-"+cg(R6);let Os=xt,sr=xt;process.env.NODE_ENV!=="production"&&(Os=(e,t)=>{!e&&typeof console<"u"&&console.warn(t)},sr=(e,t)=>{if(!e)throw new Error(t)});const _r=e=>e*1e3,yr=e=>e/1e3,D6={current:!1},OI=e=>Array.isArray(e)&&typeof e[0]=="number";function DI(e){return!!(!e||typeof e=="string"&&MI[e]||OI(e)||Array.isArray(e)&&e.every(DI))}const ns=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,MI={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:ns([0,.65,.55,1]),circOut:ns([.55,0,1,.45]),backIn:ns([.31,.01,.66,-.59]),backOut:ns([.33,1.53,.69,.99])};function jI(e){if(e)return OI(e)?ns(e):Array.isArray(e)?e.map(jI):MI[e]}function M6(e,t,n,{delay:r=0,duration:i,repeat:a=0,repeatType:l="loop",ease:u,times:d}={}){const g={[t]:n};d&&(g.offset=d);const p=jI(u);return Array.isArray(p)&&(g.easing=p),e.animate(g,{delay:r,duration:i,easing:Array.isArray(p)?"linear":p,fill:"both",iterations:a+1,direction:l==="reverse"?"alternate":"normal"})}function j6(e,{repeat:t,repeatType:n="loop"}){const r=t&&n!=="loop"&&t%2===1?0:e.length-1;return e[r]}const kI=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,k6=1e-7,F6=12;function L6(e,t,n,r,i){let a,l,u=0;do l=t+(n-t)/2,a=kI(l,r,i)-e,a>0?n=l:t=l;while(Math.abs(a)>k6&&++u<F6);return l}function Ds(e,t,n,r){if(e===t&&n===r)return xt;const i=a=>L6(a,0,1,e,n);return a=>a===0||a===1?a:kI(i(a),t,r)}const N6=Ds(.42,0,1,1),V6=Ds(0,0,.58,1),FI=Ds(.42,0,.58,1),H6=e=>Array.isArray(e)&&typeof e[0]!="number",LI=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,NI=e=>t=>1-e(1-t),VI=e=>1-Math.sin(Math.acos(e)),dg=NI(VI),z6=LI(dg),HI=Ds(.33,1.53,.69,.99),gg=NI(HI),W6=LI(gg),U6=e=>(e*=2)<1?.5*gg(e):.5*(2-Math.pow(2,-10*(e-1))),FC={linear:xt,easeIn:N6,easeInOut:FI,easeOut:V6,circIn:VI,circInOut:z6,circOut:dg,backIn:gg,backInOut:W6,backOut:HI,anticipate:U6},LC=e=>{if(Array.isArray(e)){sr(e.length===4,"Cubic bezier arrays must contain four numerical values.");const[t,n,r,i]=e;return Ds(t,n,r,i)}else if(typeof e=="string")return sr(FC[e]!==void 0,`Invalid easing type '${e}'`),FC[e];return e},fg=(e,t)=>n=>!!(Ss(n)&&Uk.test(n)&&n.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(n,t)),zI=(e,t,n)=>r=>{if(!Ss(r))return r;const[i,a,l,u]=r.match(rc);return{[e]:parseFloat(i),[t]:parseFloat(a),[n]:parseFloat(l),alpha:u!==void 0?parseFloat(u):1}},Y6=e=>qr(0,255,e),Wu={...Oo,transform:e=>Math.round(Y6(e))},wo={test:fg("rgb","red"),parse:zI("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+Wu.transform(e)+", "+Wu.transform(t)+", "+Wu.transform(n)+", "+us(cs.transform(r))+")"};function G6(e){let t="",n="",r="",i="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),i=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),i=e.substring(4,5),t+=t,n+=n,r+=r,i+=i),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:i?parseInt(i,16)/255:1}}const SA={test:fg("#"),parse:G6,transform:wo.transform},li={test:fg("hsl","hue"),parse:zI("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+ir.transform(us(t))+", "+ir.transform(us(n))+", "+us(cs.transform(r))+")"},sn={test:e=>wo.test(e)||SA.test(e)||li.test(e),parse:e=>wo.test(e)?wo.parse(e):li.test(e)?li.parse(e):SA.parse(e),transform:e=>Ss(e)?e:e.hasOwnProperty("red")?wo.transform(e):li.transform(e)},yt=(e,t,n)=>-n*e+n*t+e;function Uu(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function K6({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let i=0,a=0,l=0;if(!t)i=a=l=n;else{const u=n<.5?n*(1+t):n+t-n*t,d=2*n-u;i=Uu(d,u,e+1/3),a=Uu(d,u,e),l=Uu(d,u,e-1/3)}return{red:Math.round(i*255),green:Math.round(a*255),blue:Math.round(l*255),alpha:r}}const Yu=(e,t,n)=>{const r=e*e;return Math.sqrt(Math.max(0,n*(t*t-r)+r))},_6=[SA,wo,li],q6=e=>_6.find(t=>t.test(e));function NC(e){const t=q6(e);sr(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`);let n=t.parse(e);return t===li&&(n=K6(n)),n}const WI=(e,t)=>{const n=NC(e),r=NC(t),i={...n};return a=>(i.red=Yu(n.red,r.red,a),i.green=Yu(n.green,r.green,a),i.blue=Yu(n.blue,r.blue,a),i.alpha=yt(n.alpha,r.alpha,a),wo.transform(i))};function J6(e){var t,n;return isNaN(e)&&Ss(e)&&(((t=e.match(rc))===null||t===void 0?void 0:t.length)||0)+(((n=e.match(hI))===null||n===void 0?void 0:n.length)||0)>0}const UI={regex:zk,countKey:"Vars",token:"${v}",parse:xt},YI={regex:hI,countKey:"Colors",token:"${c}",parse:sn.parse},GI={regex:rc,countKey:"Numbers",token:"${n}",parse:Oo.parse};function Gu(e,{regex:t,countKey:n,token:r,parse:i}){const a=e.tokenised.match(t);a&&(e["num"+n]=a.length,e.tokenised=e.tokenised.replace(t,r),e.values.push(...a.map(i)))}function dl(e){const t=e.toString(),n={value:t,tokenised:t,values:[],numVars:0,numColors:0,numNumbers:0};return n.value.includes("var(--")&&Gu(n,UI),Gu(n,YI),Gu(n,GI),n}function KI(e){return dl(e).values}function _I(e){const{values:t,numColors:n,numVars:r,tokenised:i}=dl(e),a=t.length;return l=>{let u=i;for(let d=0;d<a;d++)d<r?u=u.replace(UI.token,l[d]):d<r+n?u=u.replace(YI.token,sn.transform(l[d])):u=u.replace(GI.token,us(l[d]));return u}}const X6=e=>typeof e=="number"?0:e;function Z6(e){const t=KI(e);return _I(e)(t.map(X6))}const Jr={test:J6,parse:KI,createTransformer:_I,getAnimatableNone:Z6},qI=(e,t)=>n=>`${n>0?t:e}`;function JI(e,t){return typeof e=="number"?n=>yt(e,t,n):sn.test(e)?WI(e,t):e.startsWith("var(")?qI(e,t):ZI(e,t)}const XI=(e,t)=>{const n=[...e],r=n.length,i=e.map((a,l)=>JI(a,t[l]));return a=>{for(let l=0;l<r;l++)n[l]=i[l](a);return n}},$6=(e,t)=>{const n={...e,...t},r={};for(const i in n)e[i]!==void 0&&t[i]!==void 0&&(r[i]=JI(e[i],t[i]));return i=>{for(const a in r)n[a]=r[a](i);return n}},ZI=(e,t)=>{const n=Jr.createTransformer(t),r=dl(e),i=dl(t);return r.numVars===i.numVars&&r.numColors===i.numColors&&r.numNumbers>=i.numNumbers?Kr(XI(r.values,i.values),n):(Os(!0,`Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`),qI(e,t))},vs=(e,t,n)=>{const r=t-e;return r===0?1:(n-e)/r},VC=(e,t)=>n=>yt(e,t,n);function eF(e){return typeof e=="number"?VC:typeof e=="string"?sn.test(e)?WI:ZI:Array.isArray(e)?XI:typeof e=="object"?$6:VC}function tF(e,t,n){const r=[],i=n||eF(e[0]),a=e.length-1;for(let l=0;l<a;l++){let u=i(e[l],e[l+1]);if(t){const d=Array.isArray(t)?t[l]||xt:t;u=Kr(d,u)}r.push(u)}return r}function $I(e,t,{clamp:n=!0,ease:r,mixer:i}={}){const a=e.length;if(sr(a===t.length,"Both input and output ranges must be the same length"),a===1)return()=>t[0];e[0]>e[a-1]&&(e=[...e].reverse(),t=[...t].reverse());const l=tF(t,r,i),u=l.length,d=g=>{let p=0;if(u>1)for(;p<e.length-2&&!(g<e[p+1]);p++);const E=vs(e[p],e[p+1],g);return l[p](E)};return n?g=>d(qr(e[0],e[a-1],g)):d}function nF(e,t){const n=e[e.length-1];for(let r=1;r<=t;r++){const i=vs(0,t,r);e.push(yt(n,1,i))}}function rF(e){const t=[0];return nF(t,e.length-1),t}function oF(e,t){return e.map(n=>n*t)}function iF(e,t){return e.map(()=>t||FI).splice(0,e.length-1)}function gl({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){const i=H6(r)?r.map(LC):LC(r),a={done:!1,value:t[0]},l=oF(n&&n.length===t.length?n:rF(t),e),u=$I(l,t,{ease:Array.isArray(i)?i:iF(t,i)});return{calculatedDuration:e,next:d=>(a.value=u(d),a.done=d>=e,a)}}function eB(e,t){return t?e*(1e3/t):0}const sF=5;function tB(e,t,n){const r=Math.max(t-sF,0);return eB(n-e(r),t-r)}const Ku=.001,aF=.01,HC=10,lF=.05,cF=1;function uF({duration:e=800,bounce:t=.25,velocity:n=0,mass:r=1}){let i,a;Os(e<=_r(HC),"Spring duration must be 10 seconds or less");let l=1-t;l=qr(lF,cF,l),e=qr(aF,HC,yr(e)),l<1?(i=g=>{const p=g*l,E=p*e,h=p-n,m=RA(g,l),I=Math.exp(-E);return Ku-h/m*I},a=g=>{const E=g*l*e,h=E*n+n,m=Math.pow(l,2)*Math.pow(g,2)*e,I=Math.exp(-E),B=RA(Math.pow(g,2),l);return(-i(g)+Ku>0?-1:1)*((h-m)*I)/B}):(i=g=>{const p=Math.exp(-g*e),E=(g-n)*e+1;return-Ku+p*E},a=g=>{const p=Math.exp(-g*e),E=(n-g)*(e*e);return p*E});const u=5/e,d=dF(i,a,u);if(e=_r(e),isNaN(d))return{stiffness:100,damping:10,duration:e};{const g=Math.pow(d,2)*r;return{stiffness:g,damping:l*2*Math.sqrt(r*g),duration:e}}}const AF=12;function dF(e,t,n){let r=n;for(let i=1;i<AF;i++)r=r-e(r)/t(r);return r}function RA(e,t){return e*Math.sqrt(1-t*t)}const gF=["duration","bounce"],fF=["stiffness","damping","mass"];function zC(e,t){return t.some(n=>e[n]!==void 0)}function pF(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!zC(e,fF)&&zC(e,gF)){const n=uF(e);t={...t,...n,velocity:0,mass:1},t.isResolvedFromDuration=!0}return t}function nB({keyframes:e,restDelta:t,restSpeed:n,...r}){const i=e[0],a=e[e.length-1],l={done:!1,value:i},{stiffness:u,damping:d,mass:g,velocity:p,duration:E,isResolvedFromDuration:h}=pF(r),m=p?-yr(p):0,I=d/(2*Math.sqrt(u*g)),B=a-i,y=yr(Math.sqrt(u/g)),O=Math.abs(B)<5;n||(n=O?.01:2),t||(t=O?.005:.5);let M;if(I<1){const w=RA(y,I);M=T=>{const P=Math.exp(-I*y*T);return a-P*((m+I*y*B)/w*Math.sin(w*T)+B*Math.cos(w*T))}}else if(I===1)M=w=>a-Math.exp(-y*w)*(B+(m+y*B)*w);else{const w=y*Math.sqrt(I*I-1);M=T=>{const P=Math.exp(-I*y*T),H=Math.min(w*T,300);return a-P*((m+I*y*B)*Math.sinh(H)+w*B*Math.cosh(H))/w}}return{calculatedDuration:h&&E||null,next:w=>{const T=M(w);if(h)l.done=w>=E;else{let P=m;w!==0&&(I<1?P=tB(M,w,T):P=0);const H=Math.abs(P)<=n,F=Math.abs(a-T)<=t;l.done=H&&F}return l.value=l.done?a:T,l}}}function WC({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:i=10,bounceStiffness:a=500,modifyTarget:l,min:u,max:d,restDelta:g=.5,restSpeed:p}){const E=e[0],h={done:!1,value:E},m=K=>u!==void 0&&K<u||d!==void 0&&K>d,I=K=>u===void 0?d:d===void 0||Math.abs(u-K)<Math.abs(d-K)?u:d;let B=n*t;const y=E+B,O=l===void 0?y:l(y);O!==y&&(B=O-E);const M=K=>-B*Math.exp(-K/r),w=K=>O+M(K),T=K=>{const Z=M(K),G=w(K);h.done=Math.abs(Z)<=g,h.value=h.done?O:G};let P,H;const F=K=>{m(h.value)&&(P=K,H=nB({keyframes:[h.value,I(h.value)],velocity:tB(w,K,h.value),damping:i,stiffness:a,restDelta:g,restSpeed:p}))};return F(0),{calculatedDuration:null,next:K=>{let Z=!1;return!H&&P===void 0&&(Z=!0,T(K),F(K)),P!==void 0&&K>P?H.next(K-P):(!Z&&T(K),h)}}}const hF=e=>{const t=({timestamp:n})=>e(n);return{start:()=>ht.update(t,!0),stop:()=>xr(t),now:()=>Ht.isProcessing?Ht.timestamp:performance.now()}},UC=2e4;function YC(e){let t=0;const n=50;let r=e.next(t);for(;!r.done&&t<UC;)t+=n,r=e.next(t);return t>=UC?1/0:t}const CF={decay:WC,inertia:WC,tween:gl,keyframes:gl,spring:nB};function fl({autoplay:e=!0,delay:t=0,driver:n=hF,keyframes:r,type:i="keyframes",repeat:a=0,repeatDelay:l=0,repeatType:u="loop",onPlay:d,onStop:g,onComplete:p,onUpdate:E,...h}){let m=1,I=!1,B,y;const O=()=>{y=new Promise(N=>{B=N})};O();let M;const w=CF[i]||gl;let T;w!==gl&&typeof r[0]!="number"&&(T=$I([0,100],r,{clamp:!1}),r=[0,100]);const P=w({...h,keyframes:r});let H;u==="mirror"&&(H=w({...h,keyframes:[...r].reverse(),velocity:-(h.velocity||0)}));let F="idle",K=null,Z=null,G=null;P.calculatedDuration===null&&a&&(P.calculatedDuration=YC(P));const{calculatedDuration:ee}=P;let le=1/0,de=1/0;ee!==null&&(le=ee+l,de=le*(a+1)-l);let _=0;const q=N=>{if(Z===null)return;m>0&&(Z=Math.min(Z,N)),m<0&&(Z=Math.min(N-de/m,Z)),K!==null?_=K:_=Math.round(N-Z)*m;const ae=_-t*(m>=0?1:-1),fe=m>=0?ae<0:ae>de;_=Math.max(ae,0),F==="finished"&&K===null&&(_=de);let ue=_,ge=P;if(a){const Ce=_/le;let Ae=Math.floor(Ce),ye=Ce%1;!ye&&Ce>=1&&(ye=1),ye===1&&Ae--,Ae=Math.min(Ae,a+1);const ie=!!(Ae%2);ie&&(u==="reverse"?(ye=1-ye,l&&(ye-=l/le)):u==="mirror"&&(ge=H));let Fe=qr(0,1,ye);_>de&&(Fe=u==="reverse"&&ie?1:0),ue=Fe*le}const pe=fe?{done:!1,value:r[0]}:ge.next(ue);T&&(pe.value=T(pe.value));let{done:Ie}=pe;!fe&&ee!==null&&(Ie=m>=0?_>=de:_<=0);const Be=K===null&&(F==="finished"||F==="running"&&Ie);return E&&E(pe.value),Be&&z(),pe},Y=()=>{M&&M.stop(),M=void 0},X=()=>{F="idle",Y(),B(),O(),Z=G=null},z=()=>{F="finished",p&&p(),Y(),B()},ne=()=>{if(I)return;M||(M=n(q));const N=M.now();d&&d(),K!==null?Z=N-K:(!Z||F==="finished")&&(Z=N),F==="finished"&&O(),G=Z,K=null,F="running",M.start()};e&&ne();const W={then(N,ae){return y.then(N,ae)},get time(){return yr(_)},set time(N){N=_r(N),_=N,K!==null||!M||m===0?K=N:Z=M.now()-N/m},get duration(){const N=P.calculatedDuration===null?YC(P):P.calculatedDuration;return yr(N)},get speed(){return m},set speed(N){N===m||!M||(m=N,W.time=yr(_))},get state(){return F},play:ne,pause:()=>{F="paused",K=_},stop:()=>{I=!0,F!=="idle"&&(F="idle",g&&g(),X())},cancel:()=>{G!==null&&q(G),X()},complete:()=>{F="finished"},sample:N=>(Z=0,q(N))};return W}function EF(e){let t;return()=>(t===void 0&&(t=e()),t)}const mF=EF(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),IF=new Set(["opacity","clipPath","filter","transform","backgroundColor"]),Ra=10,BF=2e4,yF=(e,t)=>t.type==="spring"||e==="backgroundColor"||!DI(t.ease);function vF(e,t,{onUpdate:n,onComplete:r,...i}){if(!(mF()&&IF.has(t)&&!i.repeatDelay&&i.repeatType!=="mirror"&&i.damping!==0&&i.type!=="inertia"))return!1;let l=!1,u,d;const g=()=>{d=new Promise(M=>{u=M})};g();let{keyframes:p,duration:E=300,ease:h,times:m}=i;if(yF(t,i)){const M=fl({...i,repeat:0,delay:0});let w={done:!1,value:p[0]};const T=[];let P=0;for(;!w.done&&P<BF;)w=M.sample(P),T.push(w.value),P+=Ra;m=void 0,p=T,E=P-Ra,h="linear"}const I=M6(e.owner.current,t,p,{...i,duration:E,ease:h,times:m});i.syncStart&&(I.startTime=Ht.isProcessing?Ht.timestamp:document.timeline?document.timeline.currentTime:performance.now());const B=()=>I.cancel(),y=()=>{ht.update(B),u(),g()};return I.onfinish=()=>{e.set(j6(p,i)),r&&r(),y()},{then(M,w){return d.then(M,w)},attachTimeline(M){return I.timeline=M,I.onfinish=null,xt},get time(){return yr(I.currentTime||0)},set time(M){I.currentTime=_r(M)},get speed(){return I.playbackRate},set speed(M){I.playbackRate=M},get duration(){return yr(E)},play:()=>{l||(I.play(),xr(B))},pause:()=>I.pause(),stop:()=>{if(l=!0,I.playState==="idle")return;const{currentTime:M}=I;if(M){const w=fl({...i,autoplay:!1});e.setWithVelocity(w.sample(M-Ra).value,w.sample(M).value,Ra)}y()},complete:()=>I.finish(),cancel:y}}function bF({keyframes:e,delay:t,onUpdate:n,onComplete:r}){const i=()=>(n&&n(e[e.length-1]),r&&r(),{time:0,speed:1,duration:0,play:xt,pause:xt,stop:xt,then:a=>(a(),Promise.resolve()),cancel:xt,complete:xt});return t?fl({keyframes:[0,1],duration:0,delay:t,onComplete:i}):i()}const QF={type:"spring",stiffness:500,damping:25,restSpeed:10},xF=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),wF={type:"keyframes",duration:.8},TF={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},PF=(e,{keyframes:t})=>t.length>2?wF:Ro.has(e)?e.startsWith("scale")?xF(t[1]):QF:TF,OA=(e,t)=>e==="zIndex"?!1:!!(typeof t=="number"||Array.isArray(t)||typeof t=="string"&&(Jr.test(t)||t==="0")&&!t.startsWith("url(")),SF=new Set(["brightness","contrast","saturate","opacity"]);function RF(e){const[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[r]=n.match(rc)||[];if(!r)return e;const i=n.replace(r,"");let a=SF.has(t)?1:0;return r!==n&&(a*=100),t+"("+a+i+")"}const OF=/([a-z-]*)\(.*?\)/g,DA={...Jr,getAnimatableNone:e=>{const t=e.match(OF);return t?t.map(RF).join(" "):e}},DF={...CI,color:sn,backgroundColor:sn,outlineColor:sn,fill:sn,stroke:sn,borderColor:sn,borderTopColor:sn,borderRightColor:sn,borderBottomColor:sn,borderLeftColor:sn,filter:DA,WebkitFilter:DA},pg=e=>DF[e];function rB(e,t){let n=pg(e);return n!==DA&&(n=Jr),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const oB=e=>/^0[^.\s]+$/.test(e);function MF(e){if(typeof e=="number")return e===0;if(e!==null)return e==="none"||e==="0"||oB(e)}function jF(e,t,n,r){const i=OA(t,n);let a;Array.isArray(n)?a=[...n]:a=[null,n];const l=r.from!==void 0?r.from:e.get();let u;const d=[];for(let g=0;g<a.length;g++)a[g]===null&&(a[g]=g===0?l:a[g-1]),MF(a[g])&&d.push(g),typeof a[g]=="string"&&a[g]!=="none"&&a[g]!=="0"&&(u=a[g]);if(i&&d.length&&u)for(let g=0;g<d.length;g++){const p=d[g];a[p]=rB(t,u)}return a}function kF({when:e,delay:t,delayChildren:n,staggerChildren:r,staggerDirection:i,repeat:a,repeatType:l,repeatDelay:u,from:d,elapsed:g,...p}){return!!Object.keys(p).length}function iB(e,t){return e[t]||e.default||e}const hg=(e,t,n,r={})=>i=>{const a=iB(r,e)||{},l=a.delay||r.delay||0;let{elapsed:u=0}=r;u=u-_r(l);const d=jF(t,e,n,a),g=d[0],p=d[d.length-1],E=OA(e,g),h=OA(e,p);Os(E===h,`You are trying to animate ${e} from "${g}" to "${p}". ${g} is not an animatable value - to enable this animation set ${g} to a value animatable to ${p} via the \`style\` property.`);let m={keyframes:d,velocity:t.getVelocity(),ease:"easeOut",...a,delay:-u,onUpdate:I=>{t.set(I),a.onUpdate&&a.onUpdate(I)},onComplete:()=>{i(),a.onComplete&&a.onComplete()}};if(kF(a)||(m={...m,...PF(e,m)}),m.duration&&(m.duration=_r(m.duration)),m.repeatDelay&&(m.repeatDelay=_r(m.repeatDelay)),!E||!h||D6.current||a.type===!1)return bF(m);if(t.owner&&t.owner.current instanceof HTMLElement&&!t.owner.getProps().onUpdate){const I=vF(t,e,m);if(I)return I}return fl(m)};function pl(e){return!!(dn(e)&&e.add)}const sB=e=>/^\-?\d*\.?\d+$/.test(e);function Cg(e,t){e.indexOf(t)===-1&&e.push(t)}function Eg(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class mg{constructor(){this.subscriptions=[]}add(t){return Cg(this.subscriptions,t),()=>Eg(this.subscriptions,t)}notify(t,n,r){const i=this.subscriptions.length;if(i)if(i===1)this.subscriptions[0](t,n,r);else for(let a=0;a<i;a++){const l=this.subscriptions[a];l&&l(t,n,r)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const GC=new Set;function Ig(e,t,n){e||GC.has(t)||(console.warn(t),n&&console.warn(n),GC.add(t))}const FF=e=>!isNaN(parseFloat(e));class LF{constructor(t,n={}){this.version="10.16.4",this.timeDelta=0,this.lastUpdated=0,this.canTrackVelocity=!1,this.events={},this.updateAndNotify=(r,i=!0)=>{this.prev=this.current,this.current=r;const{delta:a,timestamp:l}=Ht;this.lastUpdated!==l&&(this.timeDelta=a,this.lastUpdated=l,ht.postRender(this.scheduleVelocityCheck)),this.prev!==this.current&&this.events.change&&this.events.change.notify(this.current),this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()),i&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.scheduleVelocityCheck=()=>ht.postRender(this.velocityCheck),this.velocityCheck=({timestamp:r})=>{r!==this.lastUpdated&&(this.prev=this.current,this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()))},this.hasAnimated=!1,this.prev=this.current=t,this.canTrackVelocity=FF(this.current),this.owner=n.owner}onChange(t){return process.env.NODE_ENV!=="production"&&Ig(!1,'value.onChange(callback) is deprecated. Switch to value.on("change", callback).'),this.on("change",t)}on(t,n){this.events[t]||(this.events[t]=new mg);const r=this.events[t].add(n);return t==="change"?()=>{r(),ht.read(()=>{this.events.change.getSize()||this.stop()})}:r}clearListeners(){for(const t in this.events)this.events[t].clear()}attach(t,n){this.passiveEffect=t,this.stopPassiveEffect=n}set(t,n=!0){!n||!this.passiveEffect?this.updateAndNotify(t,n):this.passiveEffect(t,this.updateAndNotify)}setWithVelocity(t,n,r){this.set(n),this.prev=t,this.timeDelta=r}jump(t){this.updateAndNotify(t),this.prev=t,this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return this.current}getPrevious(){return this.prev}getVelocity(){return this.canTrackVelocity?eB(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0}start(t){return this.stop(),new Promise(n=>{this.hasAnimated=!0,this.animation=t(n),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function Ei(e,t){return new LF(e,t)}const aB=e=>t=>t.test(e),NF={test:e=>e==="auto",parse:e=>e},lB=[Oo,Oe,ir,Wr,Gk,Yk,NF],Ji=e=>lB.find(aB(e)),VF=[...lB,sn,Jr],HF=e=>VF.find(aB(e));function zF(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,Ei(n))}function WF(e,t){const n=ic(e,t);let{transitionEnd:r={},transition:i={},...a}=n?e.makeTargetAnimatable(n,!1):{};a={...a,...r};for(const l in a){const u=a6(a[l]);zF(e,l,u)}}function UF(e,t,n){var r,i;const a=Object.keys(t).filter(u=>!e.hasValue(u)),l=a.length;if(l)for(let u=0;u<l;u++){const d=a[u],g=t[d];let p=null;Array.isArray(g)&&(p=g[0]),p===null&&(p=(i=(r=n[d])!==null&&r!==void 0?r:e.readValue(d))!==null&&i!==void 0?i:t[d]),p!=null&&(typeof p=="string"&&(sB(p)||oB(p))?p=parseFloat(p):!HF(p)&&Jr.test(g)&&(p=rB(d,g)),e.addValue(d,Ei(p,{owner:e})),n[d]===void 0&&(n[d]=p),p!==null&&e.setBaseTarget(d,p))}}function YF(e,t){return t?(t[e]||t.default||t).from:void 0}function GF(e,t,n){const r={};for(const i in e){const a=YF(i,t);if(a!==void 0)r[i]=a;else{const l=n.getValue(i);l&&(r[i]=l.get())}}return r}function KF({protectedKeys:e,needsAnimating:t},n){const r=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,r}function cB(e,t,{delay:n=0,transitionOverride:r,type:i}={}){let{transition:a=e.getDefaultTransition(),transitionEnd:l,...u}=e.makeTargetAnimatable(t);const d=e.getValue("willChange");r&&(a=r);const g=[],p=i&&e.animationState&&e.animationState.getState()[i];for(const E in u){const h=e.getValue(E),m=u[E];if(!h||m===void 0||p&&KF(p,E))continue;const I={delay:n,elapsed:0,...a};if(window.HandoffAppearAnimations&&!h.hasAnimated){const y=e.getProps()[O6];y&&(I.elapsed=window.HandoffAppearAnimations(y,E,h,ht),I.syncStart=!0)}h.start(hg(E,h,m,e.shouldReduceMotion&&Ro.has(E)?{type:!1}:I));const B=h.animation;pl(d)&&(d.add(E),B.then(()=>d.remove(E))),g.push(B)}return l&&Promise.all(g).then(()=>{l&&WF(e,l)}),g}function MA(e,t,n={}){const r=ic(e,t,n.custom);let{transition:i=e.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(i=n.transitionOverride);const a=r?()=>Promise.all(cB(e,r,n)):()=>Promise.resolve(),l=e.variantChildren&&e.variantChildren.size?(d=0)=>{const{delayChildren:g=0,staggerChildren:p,staggerDirection:E}=i;return _F(e,t,g+d,p,E,n)}:()=>Promise.resolve(),{when:u}=i;if(u){const[d,g]=u==="beforeChildren"?[a,l]:[l,a];return d().then(()=>g())}else return Promise.all([a(),l(n.delay)])}function _F(e,t,n=0,r=0,i=1,a){const l=[],u=(e.variantChildren.size-1)*r,d=i===1?(g=0)=>g*r:(g=0)=>u-g*r;return Array.from(e.variantChildren).sort(qF).forEach((g,p)=>{g.notify("AnimationStart",t),l.push(MA(g,t,{...a,delay:n+d(p)}).then(()=>g.notify("AnimationComplete",t)))}),Promise.all(l)}function qF(e,t){return e.sortNodePosition(t)}function JF(e,t,n={}){e.notify("AnimationStart",t);let r;if(Array.isArray(t)){const i=t.map(a=>MA(e,a,n));r=Promise.all(i)}else if(typeof t=="string")r=MA(e,t,n);else{const i=typeof t=="function"?ic(e,t,n.custom):t;r=Promise.all(cB(e,i,n))}return r.then(()=>e.notify("AnimationComplete",t))}const XF=[...ng].reverse(),ZF=ng.length;function $F(e){return t=>Promise.all(t.map(({animation:n,options:r})=>JF(e,n,r)))}function e9(e){let t=$F(e);const n=n9();let r=!0;const i=(d,g)=>{const p=ic(e,g);if(p){const{transition:E,transitionEnd:h,...m}=p;d={...d,...m,...h}}return d};function a(d){t=d(e)}function l(d,g){const p=e.getProps(),E=e.getVariantContext(!0)||{},h=[],m=new Set;let I={},B=1/0;for(let O=0;O<ZF;O++){const M=XF[O],w=n[M],T=p[M]!==void 0?p[M]:E[M],P=Bs(T),H=M===g?w.isActive:null;H===!1&&(B=O);let F=T===E[M]&&T!==p[M]&&P;if(F&&r&&e.manuallyAnimateOnMount&&(F=!1),w.protectedKeys={...I},!w.isActive&&H===null||!T&&!w.prevProp||tc(T)||typeof T=="boolean")continue;const K=t9(w.prevProp,T);let Z=K||M===g&&w.isActive&&!F&&P||O>B&&P;const G=Array.isArray(T)?T:[T];let ee=G.reduce(i,{});H===!1&&(ee={});const{prevResolvedValues:le={}}=w,de={...le,...ee},_=q=>{Z=!0,m.delete(q),w.needsAnimating[q]=!0};for(const q in de){const Y=ee[q],X=le[q];I.hasOwnProperty(q)||(Y!==X?Al(Y)&&Al(X)?!RI(Y,X)||K?_(q):w.protectedKeys[q]=!0:Y!==void 0?_(q):m.add(q):Y!==void 0&&m.has(q)?_(q):w.protectedKeys[q]=!0)}w.prevProp=T,w.prevResolvedValues=ee,w.isActive&&(I={...I,...ee}),r&&e.blockInitialAnimation&&(Z=!1),Z&&!F&&h.push(...G.map(q=>({animation:q,options:{type:M,...d}})))}if(m.size){const O={};m.forEach(M=>{const w=e.getBaseTarget(M);w!==void 0&&(O[M]=w)}),h.push({animation:O})}let y=!!h.length;return r&&p.initial===!1&&!e.manuallyAnimateOnMount&&(y=!1),r=!1,y?t(h):Promise.resolve()}function u(d,g,p){var E;if(n[d].isActive===g)return Promise.resolve();(E=e.variantChildren)===null||E===void 0||E.forEach(m=>{var I;return(I=m.animationState)===null||I===void 0?void 0:I.setActive(d,g)}),n[d].isActive=g;const h=l(p,d);for(const m in n)n[m].protectedKeys={};return h}return{animateChanges:l,setActive:u,setAnimateFunction:a,getState:()=>n}}function t9(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!RI(t,e):!1}function Co(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function n9(){return{animate:Co(!0),whileInView:Co(),whileHover:Co(),whileTap:Co(),whileDrag:Co(),whileFocus:Co(),exit:Co()}}class r9 extends ro{constructor(t){super(t),t.animationState||(t.animationState=e9(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();this.unmount(),tc(t)&&(this.unmount=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:t}=this.node.getProps(),{animate:n}=this.node.prevProps||{};t!==n&&this.updateAnimationControlsSubscription()}unmount(){}}let o9=0;class i9 extends ro{constructor(){super(...arguments),this.id=o9++}update(){if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:n,custom:r}=this.node.presenceContext,{isPresent:i}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===i)return;const a=this.node.animationState.setActive("exit",!t,{custom:r??this.node.getProps().custom});n&&!t&&a.then(()=>n(this.id))}mount(){const{register:t}=this.node.presenceContext||{};t&&(this.unmount=t(this.id))}unmount(){}}const s9={animation:{Feature:r9},exit:{Feature:i9}},KC=(e,t)=>Math.abs(e-t);function a9(e,t){const n=KC(e.x,t.x),r=KC(e.y,t.y);return Math.sqrt(n**2+r**2)}class uB{constructor(t,n,{transformPagePoint:r}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const g=qu(this.lastMoveEventInfo,this.history),p=this.startEvent!==null,E=a9(g.offset,{x:0,y:0})>=3;if(!p&&!E)return;const{point:h}=g,{timestamp:m}=Ht;this.history.push({...h,timestamp:m});const{onStart:I,onMove:B}=this.handlers;p||(I&&I(this.lastMoveEvent,g),this.startEvent=this.lastMoveEvent),B&&B(this.lastMoveEvent,g)},this.handlePointerMove=(g,p)=>{this.lastMoveEvent=g,this.lastMoveEventInfo=_u(p,this.transformPagePoint),ht.update(this.updatePoint,!0)},this.handlePointerUp=(g,p)=>{if(this.end(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const{onEnd:E,onSessionEnd:h}=this.handlers,m=qu(g.type==="pointercancel"?this.lastMoveEventInfo:_u(p,this.transformPagePoint),this.history);this.startEvent&&E&&E(g,m),h&&h(g,m)},!xI(t))return;this.handlers=n,this.transformPagePoint=r;const i=oc(t),a=_u(i,this.transformPagePoint),{point:l}=a,{timestamp:u}=Ht;this.history=[{...l,timestamp:u}];const{onSessionStart:d}=n;d&&d(t,qu(a,this.history)),this.removeListeners=Kr(Br(window,"pointermove",this.handlePointerMove),Br(window,"pointerup",this.handlePointerUp),Br(window,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),xr(this.updatePoint)}}function _u(e,t){return t?{point:t(e.point)}:e}function _C(e,t){return{x:e.x-t.x,y:e.y-t.y}}function qu({point:e},t){return{point:e,delta:_C(e,AB(t)),offset:_C(e,l9(t)),velocity:c9(t,.1)}}function l9(e){return e[0]}function AB(e){return e[e.length-1]}function c9(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null;const i=AB(e);for(;n>=0&&(r=e[n],!(i.timestamp-r.timestamp>_r(t)));)n--;if(!r)return{x:0,y:0};const a=yr(i.timestamp-r.timestamp);if(a===0)return{x:0,y:0};const l={x:(i.x-r.x)/a,y:(i.y-r.y)/a};return l.x===1/0&&(l.x=0),l.y===1/0&&(l.y=0),l}function Qn(e){return e.max-e.min}function jA(e,t=0,n=.01){return Math.abs(e-t)<=n}function qC(e,t,n,r=.5){e.origin=r,e.originPoint=yt(t.min,t.max,e.origin),e.scale=Qn(n)/Qn(t),(jA(e.scale,1,1e-4)||isNaN(e.scale))&&(e.scale=1),e.translate=yt(n.min,n.max,e.origin)-e.originPoint,(jA(e.translate)||isNaN(e.translate))&&(e.translate=0)}function As(e,t,n,r){qC(e.x,t.x,n.x,r?r.originX:void 0),qC(e.y,t.y,n.y,r?r.originY:void 0)}function JC(e,t,n){e.min=n.min+t.min,e.max=e.min+Qn(t)}function u9(e,t,n){JC(e.x,t.x,n.x),JC(e.y,t.y,n.y)}function XC(e,t,n){e.min=t.min-n.min,e.max=e.min+Qn(t)}function ds(e,t,n){XC(e.x,t.x,n.x),XC(e.y,t.y,n.y)}function A9(e,{min:t,max:n},r){return t!==void 0&&e<t?e=r?yt(t,e,r.min):Math.max(e,t):n!==void 0&&e>n&&(e=r?yt(n,e,r.max):Math.min(e,n)),e}function ZC(e,t,n){return{min:t!==void 0?e.min+t:void 0,max:n!==void 0?e.max+n-(e.max-e.min):void 0}}function d9(e,{top:t,left:n,bottom:r,right:i}){return{x:ZC(e.x,n,i),y:ZC(e.y,t,r)}}function $C(e,t){let n=t.min-e.min,r=t.max-e.max;return t.max-t.min<e.max-e.min&&([n,r]=[r,n]),{min:n,max:r}}function g9(e,t){return{x:$C(e.x,t.x),y:$C(e.y,t.y)}}function f9(e,t){let n=.5;const r=Qn(e),i=Qn(t);return i>r?n=vs(t.min,t.max-r,e.min):r>i&&(n=vs(e.min,e.max-i,t.min)),qr(0,1,n)}function p9(e,t){const n={};return t.min!==void 0&&(n.min=t.min-e.min),t.max!==void 0&&(n.max=t.max-e.min),n}const kA=.35;function h9(e=kA){return e===!1?e=0:e===!0&&(e=kA),{x:eE(e,"left","right"),y:eE(e,"top","bottom")}}function eE(e,t,n){return{min:tE(e,t),max:tE(e,n)}}function tE(e,t){return typeof e=="number"?e:e[t]||0}const nE=()=>({translate:0,scale:1,origin:0,originPoint:0}),ci=()=>({x:nE(),y:nE()}),rE=()=>({min:0,max:0}),Dt=()=>({x:rE(),y:rE()});function nr(e){return[e("x"),e("y")]}function dB({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function C9({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function E9(e,t){if(!t)return e;const n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}function Ju(e){return e===void 0||e===1}function FA({scale:e,scaleX:t,scaleY:n}){return!Ju(e)||!Ju(t)||!Ju(n)}function vo(e){return FA(e)||gB(e)||e.z||e.rotate||e.rotateX||e.rotateY}function gB(e){return oE(e.x)||oE(e.y)}function oE(e){return e&&e!=="0%"}function hl(e,t,n){const r=e-n,i=t*r;return n+i}function iE(e,t,n,r,i){return i!==void 0&&(e=hl(e,i,r)),hl(e,n,r)+t}function LA(e,t=0,n=1,r,i){e.min=iE(e.min,t,n,r,i),e.max=iE(e.max,t,n,r,i)}function fB(e,{x:t,y:n}){LA(e.x,t.translate,t.scale,t.originPoint),LA(e.y,n.translate,n.scale,n.originPoint)}function m9(e,t,n,r=!1){const i=n.length;if(!i)return;t.x=t.y=1;let a,l;for(let u=0;u<i;u++){a=n[u],l=a.projectionDelta;const d=a.instance;d&&d.style&&d.style.display==="contents"||(r&&a.options.layoutScroll&&a.scroll&&a!==a.root&&ui(e,{x:-a.scroll.offset.x,y:-a.scroll.offset.y}),l&&(t.x*=l.x.scale,t.y*=l.y.scale,fB(e,l)),r&&vo(a.latestValues)&&ui(e,a.latestValues))}t.x=sE(t.x),t.y=sE(t.y)}function sE(e){return Number.isInteger(e)||e>1.0000000000001||e<.999999999999?e:1}function Ur(e,t){e.min=e.min+t,e.max=e.max+t}function aE(e,t,[n,r,i]){const a=t[i]!==void 0?t[i]:.5,l=yt(e.min,e.max,a);LA(e,t[n],t[r],l,t.scale)}const I9=["x","scaleX","originX"],B9=["y","scaleY","originY"];function ui(e,t){aE(e.x,t,I9),aE(e.y,t,B9)}function pB(e,t){return dB(E9(e.getBoundingClientRect(),t))}function y9(e,t,n){const r=pB(e,n),{scroll:i}=t;return i&&(Ur(r.x,i.offset.x),Ur(r.y,i.offset.y)),r}const v9=new WeakMap;class b9{constructor(t){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=Dt(),this.visualElement=t}start(t,{snapToCursor:n=!1}={}){const{presenceContext:r}=this.visualElement;if(r&&r.isPresent===!1)return;const i=d=>{this.stopAnimation(),n&&this.snapToCursor(oc(d,"page").point)},a=(d,g)=>{const{drag:p,dragPropagation:E,onDragStart:h}=this.getProps();if(p&&!E&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=TI(p),!this.openGlobalLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),nr(I=>{let B=this.getAxisMotionValue(I).get()||0;if(ir.test(B)){const{projection:y}=this.visualElement;if(y&&y.layout){const O=y.layout.layoutBox[I];O&&(B=Qn(O)*(parseFloat(B)/100))}}this.originPoint[I]=B}),h&&ht.update(()=>h(d,g),!1,!0);const{animationState:m}=this.visualElement;m&&m.setActive("whileDrag",!0)},l=(d,g)=>{const{dragPropagation:p,dragDirectionLock:E,onDirectionLock:h,onDrag:m}=this.getProps();if(!p&&!this.openGlobalLock)return;const{offset:I}=g;if(E&&this.currentDirection===null){this.currentDirection=Q9(I),this.currentDirection!==null&&h&&h(this.currentDirection);return}this.updateAxis("x",g.point,I),this.updateAxis("y",g.point,I),this.visualElement.render(),m&&m(d,g)},u=(d,g)=>this.stop(d,g);this.panSession=new uB(t,{onSessionStart:i,onStart:a,onMove:l,onSessionEnd:u},{transformPagePoint:this.visualElement.getTransformPagePoint()})}stop(t,n){const r=this.isDragging;if(this.cancel(),!r)return;const{velocity:i}=n;this.startAnimation(i);const{onDragEnd:a}=this.getProps();a&&ht.update(()=>a(t,n))}cancel(){this.isDragging=!1;const{projection:t,animationState:n}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:r}=this.getProps();!r&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),n&&n.setActive("whileDrag",!1)}updateAxis(t,n,r){const{drag:i}=this.getProps();if(!r||!Oa(t,i,this.currentDirection))return;const a=this.getAxisMotionValue(t);let l=this.originPoint[t]+r[t];this.constraints&&this.constraints[t]&&(l=A9(l,this.constraints[t],this.elastic[t])),a.set(l)}resolveConstraints(){const{dragConstraints:t,dragElastic:n}=this.getProps(),{layout:r}=this.visualElement.projection||{},i=this.constraints;t&&ai(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&r?this.constraints=d9(r.layoutBox,t):this.constraints=!1,this.elastic=h9(n),i!==this.constraints&&r&&this.constraints&&!this.hasMutatedConstraints&&nr(a=>{this.getAxisMotionValue(a)&&(this.constraints[a]=p9(r.layoutBox[a],this.constraints[a]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!ai(t))return!1;const r=t.current;sr(r!==null,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");const{projection:i}=this.visualElement;if(!i||!i.layout)return!1;const a=y9(r,i.root,this.visualElement.getTransformPagePoint());let l=g9(i.layout.layoutBox,a);if(n){const u=n(C9(l));this.hasMutatedConstraints=!!u,u&&(l=dB(u))}return l}startAnimation(t){const{drag:n,dragMomentum:r,dragElastic:i,dragTransition:a,dragSnapToOrigin:l,onDragTransitionEnd:u}=this.getProps(),d=this.constraints||{},g=nr(p=>{if(!Oa(p,n,this.currentDirection))return;let E=d&&d[p]||{};l&&(E={min:0,max:0});const h=i?200:1e6,m=i?40:1e7,I={type:"inertia",velocity:r?t[p]:0,bounceStiffness:h,bounceDamping:m,timeConstant:750,restDelta:1,restSpeed:10,...a,...E};return this.startAxisValueAnimation(p,I)});return Promise.all(g).then(u)}startAxisValueAnimation(t,n){const r=this.getAxisMotionValue(t);return r.start(hg(t,r,0,n))}stopAnimation(){nr(t=>this.getAxisMotionValue(t).stop())}getAxisMotionValue(t){const n="_drag"+t.toUpperCase(),r=this.visualElement.getProps(),i=r[n];return i||this.visualElement.getValue(t,(r.initial?r.initial[t]:void 0)||0)}snapToCursor(t){nr(n=>{const{drag:r}=this.getProps();if(!Oa(n,r,this.currentDirection))return;const{projection:i}=this.visualElement,a=this.getAxisMotionValue(n);if(i&&i.layout){const{min:l,max:u}=i.layout.layoutBox[n];a.set(t[n]-yt(l,u,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:n}=this.getProps(),{projection:r}=this.visualElement;if(!ai(n)||!r||!this.constraints)return;this.stopAnimation();const i={x:0,y:0};nr(l=>{const u=this.getAxisMotionValue(l);if(u){const d=u.get();i[l]=f9({min:d,max:d},this.constraints[l])}});const{transformTemplate:a}=this.visualElement.getProps();this.visualElement.current.style.transform=a?a({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.resolveConstraints(),nr(l=>{if(!Oa(l,t,null))return;const u=this.getAxisMotionValue(l),{min:d,max:g}=this.constraints[l];u.set(yt(d,g,i[l]))})}addListeners(){if(!this.visualElement.current)return;v9.set(this.visualElement,this);const t=this.visualElement.current,n=Br(t,"pointerdown",d=>{const{drag:g,dragListener:p=!0}=this.getProps();g&&p&&this.start(d)}),r=()=>{const{dragConstraints:d}=this.getProps();ai(d)&&(this.constraints=this.resolveRefConstraints())},{projection:i}=this.visualElement,a=i.addEventListener("measure",r);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),r();const l=mr(window,"resize",()=>this.scalePositionWithinConstraints()),u=i.addEventListener("didUpdate",({delta:d,hasLayoutChanged:g})=>{this.isDragging&&g&&(nr(p=>{const E=this.getAxisMotionValue(p);E&&(this.originPoint[p]+=d[p].translate,E.set(E.get()+d[p].translate))}),this.visualElement.render())});return()=>{l(),n(),a(),u&&u()}}getProps(){const t=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:r=!1,dragPropagation:i=!1,dragConstraints:a=!1,dragElastic:l=kA,dragMomentum:u=!0}=t;return{...t,drag:n,dragDirectionLock:r,dragPropagation:i,dragConstraints:a,dragElastic:l,dragMomentum:u}}}function Oa(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function Q9(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}class x9 extends ro{constructor(t){super(t),this.removeGroupControls=xt,this.removeListeners=xt,this.controls=new b9(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||xt}unmount(){this.removeGroupControls(),this.removeListeners()}}const lE=e=>(t,n)=>{e&&ht.update(()=>e(t,n))};class w9 extends ro{constructor(){super(...arguments),this.removePointerDownListener=xt}onPointerDown(t){this.session=new uB(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint()})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:n,onPan:r,onPanEnd:i}=this.node.getProps();return{onSessionStart:lE(t),onStart:lE(n),onMove:r,onEnd:(a,l)=>{delete this.session,i&&ht.update(()=>i(a,l))}}}mount(){this.removePointerDownListener=Br(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}function T9(){const e=S.useContext(tg);if(e===null)return[!0,null];const{isPresent:t,onExitComplete:n,register:r}=e,i=S.useId();return S.useEffect(()=>r(i),[]),!t&&n?[!1,()=>n&&n(i)]:[!0]}const Wa={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function cE(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const Xi={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(Oe.test(e))e=parseFloat(e);else return e;const n=cE(e,t.target.x),r=cE(e,t.target.y);return`${n}% ${r}%`}},P9={correct:(e,{treeScale:t,projectionDelta:n})=>{const r=e,i=Jr.parse(e);if(i.length>5)return r;const a=Jr.createTransformer(e),l=typeof i[0]!="number"?1:0,u=n.x.scale*t.x,d=n.y.scale*t.y;i[0+l]/=u,i[1+l]/=d;const g=yt(u,d,.5);return typeof i[2+l]=="number"&&(i[2+l]/=g),typeof i[3+l]=="number"&&(i[3+l]/=g),a(i)}};class S9 extends S.Component{componentDidMount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r,layoutId:i}=this.props,{projection:a}=t;Lk(R9),a&&(n.group&&n.group.add(a),r&&r.register&&i&&r.register(a),a.root.didUpdate(),a.addEventListener("animationComplete",()=>{this.safeToRemove()}),a.setOptions({...a.options,onExitComplete:()=>this.safeToRemove()})),Wa.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:n,visualElement:r,drag:i,isPresent:a}=this.props,l=r.projection;return l&&(l.isPresent=a,i||t.layoutDependency!==n||n===void 0?l.willUpdate():this.safeToRemove(),t.isPresent!==a&&(a?l.promote():l.relegate()||ht.postRender(()=>{const u=l.getStack();(!u||!u.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),queueMicrotask(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r}=this.props,{projection:i}=t;i&&(i.scheduleCheckAfterUnmount(),n&&n.group&&n.group.remove(i),r&&r.deregister&&r.deregister(i))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}function hB(e){const[t,n]=T9(),r=S.useContext(AI);return S.createElement(S9,{...e,layoutGroup:r,switchLayoutGroup:S.useContext(dI),isPresent:t,safeToRemove:n})}const R9={borderRadius:{...Xi,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Xi,borderTopRightRadius:Xi,borderBottomLeftRadius:Xi,borderBottomRightRadius:Xi,boxShadow:P9},CB=["TopLeft","TopRight","BottomLeft","BottomRight"],O9=CB.length,uE=e=>typeof e=="string"?parseFloat(e):e,AE=e=>typeof e=="number"||Oe.test(e);function D9(e,t,n,r,i,a){i?(e.opacity=yt(0,n.opacity!==void 0?n.opacity:1,M9(r)),e.opacityExit=yt(t.opacity!==void 0?t.opacity:1,0,j9(r))):a&&(e.opacity=yt(t.opacity!==void 0?t.opacity:1,n.opacity!==void 0?n.opacity:1,r));for(let l=0;l<O9;l++){const u=`border${CB[l]}Radius`;let d=dE(t,u),g=dE(n,u);if(d===void 0&&g===void 0)continue;d||(d=0),g||(g=0),d===0||g===0||AE(d)===AE(g)?(e[u]=Math.max(yt(uE(d),uE(g),r),0),(ir.test(g)||ir.test(d))&&(e[u]+="%")):e[u]=g}(t.rotate||n.rotate)&&(e.rotate=yt(t.rotate||0,n.rotate||0,r))}function dE(e,t){return e[t]!==void 0?e[t]:e.borderRadius}const M9=EB(0,.5,dg),j9=EB(.5,.95,xt);function EB(e,t,n){return r=>r<e?0:r>t?1:n(vs(e,t,r))}function gE(e,t){e.min=t.min,e.max=t.max}function kn(e,t){gE(e.x,t.x),gE(e.y,t.y)}function fE(e,t,n,r,i){return e-=t,e=hl(e,1/n,r),i!==void 0&&(e=hl(e,1/i,r)),e}function k9(e,t=0,n=1,r=.5,i,a=e,l=e){if(ir.test(t)&&(t=parseFloat(t),t=yt(l.min,l.max,t/100)-l.min),typeof t!="number")return;let u=yt(a.min,a.max,r);e===a&&(u-=t),e.min=fE(e.min,t,n,u,i),e.max=fE(e.max,t,n,u,i)}function pE(e,t,[n,r,i],a,l){k9(e,t[n],t[r],t[i],t.scale,a,l)}const F9=["x","scaleX","originX"],L9=["y","scaleY","originY"];function hE(e,t,n,r){pE(e.x,t,F9,n?n.x:void 0,r?r.x:void 0),pE(e.y,t,L9,n?n.y:void 0,r?r.y:void 0)}function CE(e){return e.translate===0&&e.scale===1}function mB(e){return CE(e.x)&&CE(e.y)}function N9(e,t){return e.x.min===t.x.min&&e.x.max===t.x.max&&e.y.min===t.y.min&&e.y.max===t.y.max}function IB(e,t){return Math.round(e.x.min)===Math.round(t.x.min)&&Math.round(e.x.max)===Math.round(t.x.max)&&Math.round(e.y.min)===Math.round(t.y.min)&&Math.round(e.y.max)===Math.round(t.y.max)}function EE(e){return Qn(e.x)/Qn(e.y)}class V9{constructor(){this.members=[]}add(t){Cg(this.members,t),t.scheduleRender()}remove(t){if(Eg(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){const n=this.members[this.members.length-1];n&&this.promote(n)}}relegate(t){const n=this.members.findIndex(i=>t===i);if(n===0)return!1;let r;for(let i=n;i>=0;i--){const a=this.members[i];if(a.isPresent!==!1){r=a;break}}return r?(this.promote(r),!0):!1}promote(t,n){const r=this.lead;if(t!==r&&(this.prevLead=r,this.lead=t,t.show(),r)){r.instance&&r.scheduleRender(),t.scheduleRender(),t.resumeFrom=r,n&&(t.resumeFrom.preserveOpacity=!0),r.snapshot&&(t.snapshot=r.snapshot,t.snapshot.latestValues=r.animationValues||r.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);const{crossfade:i}=t.options;i===!1&&r.hide()}}exitAnimationComplete(){this.members.forEach(t=>{const{options:n,resumingFrom:r}=t;n.onExitComplete&&n.onExitComplete(),r&&r.options.onExitComplete&&r.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function mE(e,t,n){let r="";const i=e.x.translate/t.x,a=e.y.translate/t.y;if((i||a)&&(r=`translate3d(${i}px, ${a}px, 0) `),(t.x!==1||t.y!==1)&&(r+=`scale(${1/t.x}, ${1/t.y}) `),n){const{rotate:d,rotateX:g,rotateY:p}=n;d&&(r+=`rotate(${d}deg) `),g&&(r+=`rotateX(${g}deg) `),p&&(r+=`rotateY(${p}deg) `)}const l=e.x.scale*t.x,u=e.y.scale*t.y;return(l!==1||u!==1)&&(r+=`scale(${l}, ${u})`),r||"none"}const H9=(e,t)=>e.depth-t.depth;class z9{constructor(){this.children=[],this.isDirty=!1}add(t){Cg(this.children,t),this.isDirty=!0}remove(t){Eg(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(H9),this.isDirty=!1,this.children.forEach(t)}}function W9(e,t){const n=performance.now(),r=({timestamp:i})=>{const a=i-n;a>=t&&(xr(r),e(a-t))};return ht.read(r,!0),()=>xr(r)}function U9(e){window.MotionDebug&&window.MotionDebug.record(e)}function Y9(e){return e instanceof SVGElement&&e.tagName!=="svg"}function G9(e,t,n){const r=dn(e)?e:Ei(e);return r.start(hg("",r,t,n)),r.animation}const IE=["","X","Y","Z"],BE=1e3;let K9=0;const bo={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0};function BB({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:i}){return class{constructor(l={},u=t==null?void 0:t()){this.id=K9++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{bo.totalNodes=bo.resolvedTargetDeltas=bo.recalculatedProjection=0,this.nodes.forEach(J9),this.nodes.forEach(tL),this.nodes.forEach(nL),this.nodes.forEach(X9),U9(bo)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=l,this.root=u?u.root||u:this,this.path=u?[...u.path,u]:[],this.parent=u,this.depth=u?u.depth+1:0;for(let d=0;d<this.path.length;d++)this.path[d].shouldResetTransform=!0;this.root===this&&(this.nodes=new z9)}addEventListener(l,u){return this.eventHandlers.has(l)||this.eventHandlers.set(l,new mg),this.eventHandlers.get(l).add(u)}notifyListeners(l,...u){const d=this.eventHandlers.get(l);d&&d.notify(...u)}hasListeners(l){return this.eventHandlers.has(l)}mount(l,u=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=Y9(l),this.instance=l;const{layoutId:d,layout:g,visualElement:p}=this.options;if(p&&!p.current&&p.mount(l),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),u&&(g||d)&&(this.isLayoutDirty=!0),e){let E;const h=()=>this.root.updateBlockedByResize=!1;e(l,()=>{this.root.updateBlockedByResize=!0,E&&E(),E=W9(h,250),Wa.hasAnimatedSinceResize&&(Wa.hasAnimatedSinceResize=!1,this.nodes.forEach(vE))})}d&&this.root.registerSharedNode(d,this),this.options.animate!==!1&&p&&(d||g)&&this.addEventListener("didUpdate",({delta:E,hasLayoutChanged:h,hasRelativeTargetChanged:m,layout:I})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const B=this.options.transition||p.getDefaultTransition()||aL,{onLayoutAnimationStart:y,onLayoutAnimationComplete:O}=p.getProps(),M=!this.targetLayout||!IB(this.targetLayout,I)||m,w=!h&&m;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||w||h&&(M||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(E,w);const T={...iB(B,"layout"),onPlay:y,onComplete:O};(p.shouldReduceMotion||this.options.layoutRoot)&&(T.delay=0,T.type=!1),this.startAnimation(T)}else h||vE(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=I})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const l=this.getStack();l&&l.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,xr(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(rL),this.animationId++)}getTransformTemplate(){const{visualElement:l}=this.options;return l&&l.getProps().transformTemplate}willUpdate(l=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let p=0;p<this.path.length;p++){const E=this.path[p];E.shouldResetTransform=!0,E.updateScroll("snapshot"),E.options.layoutRoot&&E.willUpdate(!1)}const{layoutId:u,layout:d}=this.options;if(u===void 0&&!d)return;const g=this.getTransformTemplate();this.prevTransformTemplateValue=g?g(this.latestValues,""):void 0,this.updateSnapshot(),l&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(yE);return}this.isUpdating||this.nodes.forEach($9),this.isUpdating=!1,this.nodes.forEach(eL),this.nodes.forEach(_9),this.nodes.forEach(q9),this.clearAllSnapshots();const u=performance.now();Ht.delta=qr(0,1e3/60,u-Ht.timestamp),Ht.timestamp=u,Ht.isProcessing=!0,Vu.update.process(Ht),Vu.preRender.process(Ht),Vu.render.process(Ht),Ht.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,queueMicrotask(()=>this.update()))}clearAllSnapshots(){this.nodes.forEach(Z9),this.sharedNodes.forEach(oL)}scheduleUpdateProjection(){ht.preRender(this.updateProjection,!1,!0)}scheduleCheckAfterUnmount(){ht.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure())}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let d=0;d<this.path.length;d++)this.path[d].updateScroll();const l=this.layout;this.layout=this.measure(!1),this.layoutCorrected=Dt(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:u}=this.options;u&&u.notify("LayoutMeasure",this.layout.layoutBox,l?l.layoutBox:void 0)}updateScroll(l="measure"){let u=!!(this.options.layoutScroll&&this.instance);this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===l&&(u=!1),u&&(this.scroll={animationId:this.root.animationId,phase:l,isRoot:r(this.instance),offset:n(this.instance)})}resetTransform(){if(!i)return;const l=this.isLayoutDirty||this.shouldResetTransform,u=this.projectionDelta&&!mB(this.projectionDelta),d=this.getTransformTemplate(),g=d?d(this.latestValues,""):void 0,p=g!==this.prevTransformTemplateValue;l&&(u||vo(this.latestValues)||p)&&(i(this.instance,g),this.shouldResetTransform=!1,this.scheduleRender())}measure(l=!0){const u=this.measurePageBox();let d=this.removeElementScroll(u);return l&&(d=this.removeTransform(d)),lL(d),{animationId:this.root.animationId,measuredBox:u,layoutBox:d,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:l}=this.options;if(!l)return Dt();const u=l.measureViewportBox(),{scroll:d}=this.root;return d&&(Ur(u.x,d.offset.x),Ur(u.y,d.offset.y)),u}removeElementScroll(l){const u=Dt();kn(u,l);for(let d=0;d<this.path.length;d++){const g=this.path[d],{scroll:p,options:E}=g;if(g!==this.root&&p&&E.layoutScroll){if(p.isRoot){kn(u,l);const{scroll:h}=this.root;h&&(Ur(u.x,-h.offset.x),Ur(u.y,-h.offset.y))}Ur(u.x,p.offset.x),Ur(u.y,p.offset.y)}}return u}applyTransform(l,u=!1){const d=Dt();kn(d,l);for(let g=0;g<this.path.length;g++){const p=this.path[g];!u&&p.options.layoutScroll&&p.scroll&&p!==p.root&&ui(d,{x:-p.scroll.offset.x,y:-p.scroll.offset.y}),vo(p.latestValues)&&ui(d,p.latestValues)}return vo(this.latestValues)&&ui(d,this.latestValues),d}removeTransform(l){const u=Dt();kn(u,l);for(let d=0;d<this.path.length;d++){const g=this.path[d];if(!g.instance||!vo(g.latestValues))continue;FA(g.latestValues)&&g.updateSnapshot();const p=Dt(),E=g.measurePageBox();kn(p,E),hE(u,g.latestValues,g.snapshot?g.snapshot.layoutBox:void 0,p)}return vo(this.latestValues)&&hE(u,this.latestValues),u}setTargetDelta(l){this.targetDelta=l,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(l){this.options={...this.options,...l,crossfade:l.crossfade!==void 0?l.crossfade:!0}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==Ht.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(l=!1){var u;const d=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=d.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=d.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=d.isSharedProjectionDirty);const g=!!this.resumingFrom||this!==d;if(!(l||g&&this.isSharedProjectionDirty||this.isProjectionDirty||!((u=this.parent)===null||u===void 0)&&u.isProjectionDirty||this.attemptToResolveRelativeTarget))return;const{layout:E,layoutId:h}=this.options;if(!(!this.layout||!(E||h))){if(this.resolvedRelativeTargetAt=Ht.timestamp,!this.targetDelta&&!this.relativeTarget){const m=this.getClosestProjectingParent();m&&m.layout&&this.animationProgress!==1?(this.relativeParent=m,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Dt(),this.relativeTargetOrigin=Dt(),ds(this.relativeTargetOrigin,this.layout.layoutBox,m.layout.layoutBox),kn(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)){if(this.target||(this.target=Dt(),this.targetWithTransforms=Dt()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),u9(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):kn(this.target,this.layout.layoutBox),fB(this.target,this.targetDelta)):kn(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;const m=this.getClosestProjectingParent();m&&!!m.resumingFrom==!!this.resumingFrom&&!m.options.layoutScroll&&m.target&&this.animationProgress!==1?(this.relativeParent=m,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Dt(),this.relativeTargetOrigin=Dt(),ds(this.relativeTargetOrigin,this.target,m.target),kn(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}bo.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(!(!this.parent||FA(this.parent.latestValues)||gB(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var l;const u=this.getLead(),d=!!this.resumingFrom||this!==u;let g=!0;if((this.isProjectionDirty||!((l=this.parent)===null||l===void 0)&&l.isProjectionDirty)&&(g=!1),d&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(g=!1),this.resolvedRelativeTargetAt===Ht.timestamp&&(g=!1),g)return;const{layout:p,layoutId:E}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(p||E))return;kn(this.layoutCorrected,this.layout.layoutBox);const h=this.treeScale.x,m=this.treeScale.y;m9(this.layoutCorrected,this.treeScale,this.path,d),u.layout&&!u.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(u.target=u.layout.layoutBox);const{target:I}=u;if(!I){this.projectionTransform&&(this.projectionDelta=ci(),this.projectionTransform="none",this.scheduleRender());return}this.projectionDelta||(this.projectionDelta=ci(),this.projectionDeltaWithTransform=ci());const B=this.projectionTransform;As(this.projectionDelta,this.layoutCorrected,I,this.latestValues),this.projectionTransform=mE(this.projectionDelta,this.treeScale),(this.projectionTransform!==B||this.treeScale.x!==h||this.treeScale.y!==m)&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",I)),bo.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(l=!0){if(this.options.scheduleRender&&this.options.scheduleRender(),l){const u=this.getStack();u&&u.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}setAnimationOrigin(l,u=!1){const d=this.snapshot,g=d?d.latestValues:{},p={...this.latestValues},E=ci();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!u;const h=Dt(),m=d?d.source:void 0,I=this.layout?this.layout.source:void 0,B=m!==I,y=this.getStack(),O=!y||y.members.length<=1,M=!!(B&&!O&&this.options.crossfade===!0&&!this.path.some(sL));this.animationProgress=0;let w;this.mixTargetDelta=T=>{const P=T/1e3;bE(E.x,l.x,P),bE(E.y,l.y,P),this.setTargetDelta(E),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(ds(h,this.layout.layoutBox,this.relativeParent.layout.layoutBox),iL(this.relativeTarget,this.relativeTargetOrigin,h,P),w&&N9(this.relativeTarget,w)&&(this.isProjectionDirty=!1),w||(w=Dt()),kn(w,this.relativeTarget)),B&&(this.animationValues=p,D9(p,g,this.latestValues,P,M,O)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=P},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(l){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(xr(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=ht.update(()=>{Wa.hasAnimatedSinceResize=!0,this.currentAnimation=G9(0,BE,{...l,onUpdate:u=>{this.mixTargetDelta(u),l.onUpdate&&l.onUpdate(u)},onComplete:()=>{l.onComplete&&l.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const l=this.getStack();l&&l.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(BE),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const l=this.getLead();let{targetWithTransforms:u,target:d,layout:g,latestValues:p}=l;if(!(!u||!d||!g)){if(this!==l&&this.layout&&g&&yB(this.options.animationType,this.layout.layoutBox,g.layoutBox)){d=this.target||Dt();const E=Qn(this.layout.layoutBox.x);d.x.min=l.target.x.min,d.x.max=d.x.min+E;const h=Qn(this.layout.layoutBox.y);d.y.min=l.target.y.min,d.y.max=d.y.min+h}kn(u,d),ui(u,p),As(this.projectionDeltaWithTransform,this.layoutCorrected,u,p)}}registerSharedNode(l,u){this.sharedNodes.has(l)||this.sharedNodes.set(l,new V9),this.sharedNodes.get(l).add(u);const g=u.options.initialPromotionConfig;u.promote({transition:g?g.transition:void 0,preserveFollowOpacity:g&&g.shouldPreserveFollowOpacity?g.shouldPreserveFollowOpacity(u):void 0})}isLead(){const l=this.getStack();return l?l.lead===this:!0}getLead(){var l;const{layoutId:u}=this.options;return u?((l=this.getStack())===null||l===void 0?void 0:l.lead)||this:this}getPrevLead(){var l;const{layoutId:u}=this.options;return u?(l=this.getStack())===null||l===void 0?void 0:l.prevLead:void 0}getStack(){const{layoutId:l}=this.options;if(l)return this.root.sharedNodes.get(l)}promote({needsReset:l,transition:u,preserveFollowOpacity:d}={}){const g=this.getStack();g&&g.promote(this,d),l&&(this.projectionDelta=void 0,this.needsReset=!0),u&&this.setOptions({transition:u})}relegate(){const l=this.getStack();return l?l.relegate(this):!1}resetRotation(){const{visualElement:l}=this.options;if(!l)return;let u=!1;const{latestValues:d}=l;if((d.rotate||d.rotateX||d.rotateY||d.rotateZ)&&(u=!0),!u)return;const g={};for(let p=0;p<IE.length;p++){const E="rotate"+IE[p];d[E]&&(g[E]=d[E],l.setStaticValue(E,0))}l.render();for(const p in g)l.setStaticValue(p,g[p]);l.scheduleRender()}getProjectionStyles(l={}){var u,d;const g={};if(!this.instance||this.isSVG)return g;if(this.isVisible)g.visibility="";else return{visibility:"hidden"};const p=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,g.opacity="",g.pointerEvents=za(l.pointerEvents)||"",g.transform=p?p(this.latestValues,""):"none",g;const E=this.getLead();if(!this.projectionDelta||!this.layout||!E.target){const B={};return this.options.layoutId&&(B.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,B.pointerEvents=za(l.pointerEvents)||""),this.hasProjected&&!vo(this.latestValues)&&(B.transform=p?p({},""):"none",this.hasProjected=!1),B}const h=E.animationValues||E.latestValues;this.applyTransformsToTarget(),g.transform=mE(this.projectionDeltaWithTransform,this.treeScale,h),p&&(g.transform=p(h,g.transform));const{x:m,y:I}=this.projectionDelta;g.transformOrigin=`${m.origin*100}% ${I.origin*100}% 0`,E.animationValues?g.opacity=E===this?(d=(u=h.opacity)!==null&&u!==void 0?u:this.latestValues.opacity)!==null&&d!==void 0?d:1:this.preserveOpacity?this.latestValues.opacity:h.opacityExit:g.opacity=E===this?h.opacity!==void 0?h.opacity:"":h.opacityExit!==void 0?h.opacityExit:0;for(const B in cl){if(h[B]===void 0)continue;const{correct:y,applyTo:O}=cl[B],M=g.transform==="none"?h[B]:y(h[B],E);if(O){const w=O.length;for(let T=0;T<w;T++)g[O[T]]=M}else g[B]=M}return this.options.layoutId&&(g.pointerEvents=E===this?za(l.pointerEvents)||"":"none"),g}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(l=>{var u;return(u=l.currentAnimation)===null||u===void 0?void 0:u.stop()}),this.root.nodes.forEach(yE),this.root.sharedNodes.clear()}}}function _9(e){e.updateLayout()}function q9(e){var t;const n=((t=e.resumeFrom)===null||t===void 0?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&n&&e.hasListeners("didUpdate")){const{layoutBox:r,measuredBox:i}=e.layout,{animationType:a}=e.options,l=n.source!==e.layout.source;a==="size"?nr(E=>{const h=l?n.measuredBox[E]:n.layoutBox[E],m=Qn(h);h.min=r[E].min,h.max=h.min+m}):yB(a,n.layoutBox,r)&&nr(E=>{const h=l?n.measuredBox[E]:n.layoutBox[E],m=Qn(r[E]);h.max=h.min+m,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[E].max=e.relativeTarget[E].min+m)});const u=ci();As(u,r,n.layoutBox);const d=ci();l?As(d,e.applyTransform(i,!0),n.measuredBox):As(d,r,n.layoutBox);const g=!mB(u);let p=!1;if(!e.resumeFrom){const E=e.getClosestProjectingParent();if(E&&!E.resumeFrom){const{snapshot:h,layout:m}=E;if(h&&m){const I=Dt();ds(I,n.layoutBox,h.layoutBox);const B=Dt();ds(B,r,m.layoutBox),IB(I,B)||(p=!0),E.options.layoutRoot&&(e.relativeTarget=B,e.relativeTargetOrigin=I,e.relativeParent=E)}}}e.notifyListeners("didUpdate",{layout:r,snapshot:n,delta:d,layoutDelta:u,hasLayoutChanged:g,hasRelativeTargetChanged:p})}else if(e.isLead()){const{onExitComplete:r}=e.options;r&&r()}e.options.transition=void 0}function J9(e){bo.totalNodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function X9(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function Z9(e){e.clearSnapshot()}function yE(e){e.clearMeasurements()}function $9(e){e.isLayoutDirty=!1}function eL(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function vE(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function tL(e){e.resolveTargetDelta()}function nL(e){e.calcProjection()}function rL(e){e.resetRotation()}function oL(e){e.removeLeadSnapshot()}function bE(e,t,n){e.translate=yt(t.translate,0,n),e.scale=yt(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function QE(e,t,n,r){e.min=yt(t.min,n.min,r),e.max=yt(t.max,n.max,r)}function iL(e,t,n,r){QE(e.x,t.x,n.x,r),QE(e.y,t.y,n.y,r)}function sL(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const aL={duration:.45,ease:[.4,0,.1,1]},xE=e=>typeof navigator<"u"&&navigator.userAgent.toLowerCase().includes(e),wE=xE("applewebkit/")&&!xE("chrome/")?Math.round:xt;function TE(e){e.min=wE(e.min),e.max=wE(e.max)}function lL(e){TE(e.x),TE(e.y)}function yB(e,t,n){return e==="position"||e==="preserve-aspect"&&!jA(EE(t),EE(n),.2)}const cL=BB({attachResizeListener:(e,t)=>mr(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),Xu={current:void 0},vB=BB({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!Xu.current){const e=new cL({});e.mount(window),e.setOptions({layoutScroll:!0}),Xu.current=e}return Xu.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),uL={pan:{Feature:w9},drag:{Feature:x9,ProjectionNode:vB,MeasureLayout:hB}},AL=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function dL(e){const t=AL.exec(e);if(!t)return[,];const[,n,r]=t;return[n,r]}const gL=4;function NA(e,t,n=1){sr(n<=gL,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);const[r,i]=dL(e);if(!r)return;const a=window.getComputedStyle(t).getPropertyValue(r);if(a){const l=a.trim();return sB(l)?parseFloat(l):l}else return TA(i)?NA(i,t,n+1):i}function fL(e,{...t},n){const r=e.current;if(!(r instanceof Element))return{target:t,transitionEnd:n};n&&(n={...n}),e.values.forEach(i=>{const a=i.get();if(!TA(a))return;const l=NA(a,r);l&&i.set(l)});for(const i in t){const a=t[i];if(!TA(a))continue;const l=NA(a,r);l&&(t[i]=l,n||(n={}),n[i]===void 0&&(n[i]=a))}return{target:t,transitionEnd:n}}const pL=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),bB=e=>pL.has(e),hL=e=>Object.keys(e).some(bB),Da=e=>e===Oo||e===Oe,PE=(e,t)=>parseFloat(e.split(", ")[t]),SE=(e,t)=>(n,{transform:r})=>{if(r==="none"||!r)return 0;const i=r.match(/^matrix3d\((.+)\)$/);if(i)return PE(i[1],t);{const a=r.match(/^matrix\((.+)\)$/);return a?PE(a[1],e):0}},CL=new Set(["x","y","z"]),EL=Ps.filter(e=>!CL.has(e));function mL(e){const t=[];return EL.forEach(n=>{const r=e.getValue(n);r!==void 0&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),t.length&&e.render(),t}const mi={width:({x:e},{paddingLeft:t="0",paddingRight:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),height:({y:e},{paddingTop:t="0",paddingBottom:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:SE(4,13),y:SE(5,14)};mi.translateX=mi.x;mi.translateY=mi.y;const IL=(e,t,n)=>{const r=t.measureViewportBox(),i=t.current,a=getComputedStyle(i),{display:l}=a,u={};l==="none"&&t.setStaticValue("display",e.display||"block"),n.forEach(g=>{u[g]=mi[g](r,a)}),t.render();const d=t.measureViewportBox();return n.forEach(g=>{const p=t.getValue(g);p&&p.jump(u[g]),e[g]=mi[g](d,a)}),e},BL=(e,t,n={},r={})=>{t={...t},r={...r};const i=Object.keys(t).filter(bB);let a=[],l=!1;const u=[];if(i.forEach(d=>{const g=e.getValue(d);if(!e.hasValue(d))return;let p=n[d],E=Ji(p);const h=t[d];let m;if(Al(h)){const I=h.length,B=h[0]===null?1:0;p=h[B],E=Ji(p);for(let y=B;y<I&&h[y]!==null;y++)m?sr(Ji(h[y])===m,"All keyframes must be of the same type"):(m=Ji(h[y]),sr(m===E||Da(E)&&Da(m),"Keyframes must be of the same dimension as the current value"))}else m=Ji(h);if(E!==m)if(Da(E)&&Da(m)){const I=g.get();typeof I=="string"&&g.set(parseFloat(I)),typeof h=="string"?t[d]=parseFloat(h):Array.isArray(h)&&m===Oe&&(t[d]=h.map(parseFloat))}else E!=null&&E.transform&&(m!=null&&m.transform)&&(p===0||h===0)?p===0?g.set(m.transform(p)):t[d]=E.transform(h):(l||(a=mL(e),l=!0),u.push(d),r[d]=r[d]!==void 0?r[d]:t[d],g.jump(h))}),u.length){const d=u.indexOf("height")>=0?window.pageYOffset:null,g=IL(t,e,u);return a.length&&a.forEach(([p,E])=>{e.getValue(p).set(E)}),e.render(),ec&&d!==null&&window.scrollTo({top:d}),{target:g,transitionEnd:r}}else return{target:t,transitionEnd:r}};function yL(e,t,n,r){return hL(t)?BL(e,t,n,r):{target:t,transitionEnd:r}}const vL=(e,t,n,r)=>{const i=fL(e,t,r);return t=i.target,r=i.transitionEnd,yL(e,t,n,r)},VA={current:null},QB={current:!1};function bL(){if(QB.current=!0,!!ec)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>VA.current=e.matches;e.addListener(t),t()}else VA.current=!1}function QL(e,t,n){const{willChange:r}=t;for(const i in t){const a=t[i],l=n[i];if(dn(a))e.addValue(i,a),pl(r)&&r.add(i),process.env.NODE_ENV==="development"&&Ig(a.version==="10.16.4",`Attempting to mix Framer Motion versions ${a.version} with 10.16.4 may not work as expected.`);else if(dn(l))e.addValue(i,Ei(a,{owner:e})),pl(r)&&r.remove(i);else if(l!==a)if(e.hasValue(i)){const u=e.getValue(i);!u.hasAnimated&&u.set(a)}else{const u=e.getStaticValue(i);e.addValue(i,Ei(u!==void 0?u:a,{owner:e}))}}for(const i in n)t[i]===void 0&&e.removeValue(i);return t}const RE=new WeakMap,xB=Object.keys(ys),xL=xB.length,OE=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],wL=rg.length;class TL{constructor({parent:t,props:n,presenceContext:r,reducedMotionConfig:i,visualState:a},l={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.scheduleRender=()=>ht.render(this.render,!1,!0);const{latestValues:u,renderState:d}=a;this.latestValues=u,this.baseTarget={...u},this.initialValues=n.initial?{...u}:{},this.renderState=d,this.parent=t,this.props=n,this.presenceContext=r,this.depth=t?t.depth+1:0,this.reducedMotionConfig=i,this.options=l,this.isControllingVariants=nc(n),this.isVariantNode=uI(n),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:g,...p}=this.scrapeMotionValuesFromProps(n,{});for(const E in p){const h=p[E];u[E]!==void 0&&dn(h)&&(h.set(u[E],!1),pl(g)&&g.add(E))}}scrapeMotionValuesFromProps(t,n){return{}}mount(t){this.current=t,RE.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((n,r)=>this.bindToMotionValue(r,n)),QB.current||bL(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:VA.current,process.env.NODE_ENV!=="production"&&Ig(this.shouldReduceMotion!==!0,"You have Reduced Motion enabled on your device. Animations may not appear as expected."),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){RE.delete(this.current),this.projection&&this.projection.unmount(),xr(this.notifyUpdate),xr(this.render),this.valueSubscriptions.forEach(t=>t()),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(const t in this.events)this.events[t].clear();for(const t in this.features)this.features[t].unmount();this.current=null}bindToMotionValue(t,n){const r=Ro.has(t),i=n.on("change",l=>{this.latestValues[t]=l,this.props.onUpdate&&ht.update(this.notifyUpdate,!1,!0),r&&this.projection&&(this.projection.isTransformDirty=!0)}),a=n.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(t,()=>{i(),a()})}sortNodePosition(t){return!this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}loadFeatures({children:t,...n},r,i,a){let l,u;if(process.env.NODE_ENV!=="production"&&i&&r){const d="You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.";n.ignoreStrict?Os(!1,d):sr(!1,d)}for(let d=0;d<xL;d++){const g=xB[d],{isEnabled:p,Feature:E,ProjectionNode:h,MeasureLayout:m}=ys[g];h&&(l=h),p(n)&&(!this.features[g]&&E&&(this.features[g]=new E(this)),m&&(u=m))}if(!this.projection&&l){this.projection=new l(this.latestValues,this.parent&&this.parent.projection);const{layoutId:d,layout:g,drag:p,dragConstraints:E,layoutScroll:h,layoutRoot:m}=n;this.projection.setOptions({layoutId:d,layout:g,alwaysMeasureLayout:!!p||E&&ai(E),visualElement:this,scheduleRender:()=>this.scheduleRender(),animationType:typeof g=="string"?g:"both",initialPromotionConfig:a,layoutScroll:h,layoutRoot:m})}return u}updateFeatures(){for(const t in this.features){const n=this.features[t];n.isMounted?n.update():(n.mount(),n.isMounted=!0)}}triggerBuild(){this.build(this.renderState,this.latestValues,this.options,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):Dt()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,n){this.latestValues[t]=n}makeTargetAnimatable(t,n=!0){return this.makeTargetAnimatableFromInstance(t,this.props,n)}update(t,n){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=n;for(let r=0;r<OE.length;r++){const i=OE[r];this.propEventSubscriptions[i]&&(this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i]);const a=t["on"+i];a&&(this.propEventSubscriptions[i]=this.on(i,a))}this.prevMotionValues=QL(this,this.scrapeMotionValuesFromProps(t,this.prevProps),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}getVariantContext(t=!1){if(t)return this.parent?this.parent.getVariantContext():void 0;if(!this.isControllingVariants){const r=this.parent?this.parent.getVariantContext()||{}:{};return this.props.initial!==void 0&&(r.initial=this.props.initial),r}const n={};for(let r=0;r<wL;r++){const i=rg[r],a=this.props[i];(Bs(a)||a===!1)&&(n[i]=a)}return n}addVariantChild(t){const n=this.getClosestVariantNode();if(n)return n.variantChildren&&n.variantChildren.add(t),()=>n.variantChildren.delete(t)}addValue(t,n){n!==this.values.get(t)&&(this.removeValue(t),this.bindToMotionValue(t,n)),this.values.set(t,n),this.latestValues[t]=n.get()}removeValue(t){this.values.delete(t);const n=this.valueSubscriptions.get(t);n&&(n(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,n){if(this.props.values&&this.props.values[t])return this.props.values[t];let r=this.values.get(t);return r===void 0&&n!==void 0&&(r=Ei(n,{owner:this}),this.addValue(t,r)),r}readValue(t){var n;return this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:(n=this.getBaseTargetFromProps(this.props,t))!==null&&n!==void 0?n:this.readValueFromInstance(this.current,t,this.options)}setBaseTarget(t,n){this.baseTarget[t]=n}getBaseTarget(t){var n;const{initial:r}=this.props,i=typeof r=="string"||typeof r=="object"?(n=Ag(this.props,r))===null||n===void 0?void 0:n[t]:void 0;if(r&&i!==void 0)return i;const a=this.getBaseTargetFromProps(this.props,t);return a!==void 0&&!dn(a)?a:this.initialValues[t]!==void 0&&i===void 0?void 0:this.baseTarget[t]}on(t,n){return this.events[t]||(this.events[t]=new mg),this.events[t].add(n)}notify(t,...n){this.events[t]&&this.events[t].notify(...n)}}class wB extends TL{sortInstanceNodePosition(t,n){return t.compareDocumentPosition(n)&2?1:-1}getBaseTargetFromProps(t,n){return t.style?t.style[n]:void 0}removeValueFromRenderState(t,{vars:n,style:r}){delete n[t],delete r[t]}makeTargetAnimatableFromInstance({transition:t,transitionEnd:n,...r},{transformValues:i},a){let l=GF(r,t||{},this);if(i&&(n&&(n=i(n)),r&&(r=i(r)),l&&(l=i(l))),a){UF(this,r,l);const u=vL(this,r,l,n);n=u.transitionEnd,r=u.target}return{transition:t,transitionEnd:n,...r}}}function PL(e){return window.getComputedStyle(e)}class SL extends wB{readValueFromInstance(t,n){if(Ro.has(n)){const r=pg(n);return r&&r.default||0}else{const r=PL(t),i=(pI(n)?r.getPropertyValue(n):r[n])||0;return typeof i=="string"?i.trim():i}}measureInstanceViewportBox(t,{transformPagePoint:n}){return pB(t,n)}build(t,n,r,i){ig(t,n,r,i.transformTemplate)}scrapeMotionValuesFromProps(t,n){return ug(t,n)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;dn(t)&&(this.childSubscription=t.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}renderInstance(t,n,r,i){BI(t,n,r,i)}}class RL extends wB{constructor(){super(...arguments),this.isSVGTag=!1}getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){if(Ro.has(n)){const r=pg(n);return r&&r.default||0}return n=yI.has(n)?n:cg(n),t.getAttribute(n)}measureInstanceViewportBox(){return Dt()}scrapeMotionValuesFromProps(t,n){return bI(t,n)}build(t,n,r,i){ag(t,n,r,this.isSVGTag,i.transformTemplate)}renderInstance(t,n,r,i){vI(t,n,r,i)}mount(t){this.isSVGTag=lg(t.tagName),super.mount(t)}}const OL=(e,t)=>og(e)?new RL(t,{enableHardwareAcceleration:!1}):new SL(t,{enableHardwareAcceleration:!0}),DL={layout:{ProjectionNode:vB,MeasureLayout:hB}},ML={...s9,...T6,...uL,...DL},Ma=kk((e,t)=>p6(e,t,ML,OL)),jL=(e,t,n)=>{const r=t-e;return((n-e)%r+r)%r+e};function DE(...e){const t=S.useRef(0),[n,r]=S.useState(e[t.current]),i=S.useCallback(a=>{t.current=typeof a!="number"?jL(0,e.length,t.current+1):a,r(e[t.current])},[e.length,...e]);return[n,i]}function TB({children:e,type:t="scale",direction:n="right",offset:r=10,scale:i={hover:1.05,tap:.95}}){let a,l;switch(n){case"up":case"left":a=r,l=0;break;case"right":case"down":default:a=0,l=r;break}const[u,d]=DE(a,l),[g,p]=DE(a,l);switch(t){case"rotate":return f.jsx(Ma.div,{animate:{rotate:360},transition:{repeat:1/0,repeatType:"loop",duration:2,repeatDelay:0},children:e});case"slide":return n==="up"||n==="down"?f.jsx(Ma.div,{animate:{y:g!==void 0?g:""},onHoverEnd:()=>p(),onHoverStart:()=>p(),children:e}):f.jsx(Ma.div,{animate:{x:u!==void 0?u:""},onHoverEnd:()=>d(),onHoverStart:()=>d(),children:e});case"scale":default:return typeof i=="number"&&(i={hover:i,tap:i}),f.jsx(Ma.div,{whileHover:{scale:i==null?void 0:i.hover},whileTap:{scale:i==null?void 0:i.tap},children:e})}}TB.propTypes={children:c.node,offset:c.number,type:c.oneOf(["slide","scale","rotate"]),direction:c.oneOf(["up","down","left","right"]),scale:c.oneOfType([c.number,c.object])};const $t=(e,t)=>{switch(t){case"secondary":return e.palette.secondary;case"error":return e.palette.error;case"warning":return e.palette.warning;case"info":return e.palette.info;case"success":return e.palette.success;default:return e.palette.primary}};function kL({theme:e,color:t,type:n}){const r=$t(e,t),{lighter:i,light:a,main:l,contrastText:u}=r;switch(n){case"filled":return{color:u,backgroundColor:l};case"outlined":return{color:l,border:"1px solid",borderColor:l,backgroundColor:"transparent"};case"combined":return{color:l,border:"1px solid",borderColor:a,backgroundColor:i};default:return{color:l,backgroundColor:i}}}function FL(e){switch(e){case"badge":return{border:"2px solid",fontSize:"0.675rem",width:20,height:20};case"xs":return{fontSize:"0.75rem",width:24,height:24};case"sm":return{fontSize:"0.875rem",width:32,height:32};case"lg":return{fontSize:"1.2rem",width:52,height:52};case"xl":return{fontSize:"1.5rem",width:64,height:64};case"md":default:return{fontSize:"1rem",width:40,height:40}}}const LL=ce(Mj,{shouldForwardProp:e=>e!=="color"&&e!=="type"&&e!=="size"})(({theme:e,variant:t,color:n,type:r,size:i})=>({...FL(i),...kL({variant:t,theme:e,color:n,type:r}),...i==="badge"&&{borderColor:e.palette.background.default}}));function Cl({variant:e="circular",children:t,color:n="primary",type:r,size:i="md",...a}){const l=ut();return f.jsx(LL,{variant:e,theme:l,color:n,type:r,size:i,...a,children:t})}Cl.propTypes={children:c.node,color:c.string,type:c.string,size:c.string,variant:c.string};const sc=({color:e,size:t,variant:n,sx:r})=>{const i=ut(),a=$t(i,e||"primary"),{main:l}=a;return f.jsx(Q.Box,{component:"span",sx:{width:t||8,height:t||8,borderRadius:"50%",bgcolor:n==="outlined"?"":l,...n==="outlined"&&{border:`1px solid ${l}`},...r}})};sc.propTypes={color:c.string,size:c.number,variant:c.string,sx:c.oneOfType([c.object,c.string])};const wi=(e,t)=>{switch(t){case"secondary":return e.customShadows.secondary;case"error":return e.customShadows.error;case"warning":return e.customShadows.warning;case"info":return e.customShadows.info;case"success":return e.customShadows.success;case"primaryButton":return e.customShadows.primaryButton;case"secondaryButton":return e.customShadows.secondaryButton;case"errorButton":return e.customShadows.errorButton;case"warningButton":return e.customShadows.warningButton;case"infoButton":return e.customShadows.infoButton;case"successButton":return e.customShadows.successButton;default:return e.customShadows.primary}};wi.propTypes={theme:c.object,shadow:c.string};function NL({variant:e,theme:t,color:n}){const r=$t(t,n),{lighter:i,light:a,dark:l,main:u,contrastText:d}=r,g=`${n}Button`,p=wi(t,g),E={"&::after":{boxShadow:`0 0 6px 6px ${Ve(u,.9)}`},"&:active::after":{boxShadow:`0 0 0 0 ${Ve(u,.9)}`},"&:focus-visible":{outline:`2px solid ${l}`,outlineOffset:2}};switch(e){case"contained":return{color:d,backgroundColor:u,"&:hover":{backgroundColor:l},...E};case"light":return{color:u,backgroundColor:i,"&:hover":{backgroundColor:a},...E};case"shadow":return{boxShadow:p,color:d,backgroundColor:u,"&:hover":{boxShadow:"none",backgroundColor:l},...E};case"outlined":return{"&:hover":{backgroundColor:"transparent",color:l,borderColor:l},...E};case"dashed":return{backgroundColor:i,"&:hover":{color:l,borderColor:l},...E};case"text":default:return{"&:hover":{color:l,backgroundColor:i},...E}}}const VL=ce(M5,{shouldForwardProp:e=>e!=="variant"&&e!=="shape"})(({theme:e,variant:t,shape:n,color:r})=>({position:"relative","::after":{content:'""',display:"block",position:"absolute",left:0,top:0,width:"100%",height:"100%",borderRadius:n==="rounded"?"50%":4,opacity:0,transition:"all 0.5s"},":active::after":{position:"absolute",borderRadius:n==="rounded"?"50%":4,left:0,top:0,opacity:1,transition:"0s"},...n==="rounded"&&{borderRadius:"50%"},...t==="outlined"&&{border:"1px solid",borderColor:"inherit"},...t==="dashed"&&{border:"1px dashed",borderColor:"inherit"},...t!=="text"&&{"&.Mui-disabled":{backgroundColor:e.palette.grey[200]}},...NL({variant:t,theme:e,color:r})})),Xr=S.forwardRef(({variant:e="text",shape:t="square",children:n,color:r="primary",...i},a)=>{const l=ut();return f.jsx(VL,{ref:a,disableRipple:!0,variant:e,shape:t,theme:l,color:r,...i,children:n})});Xr.propTypes={variant:c.string,shape:c.string,children:c.node,color:c.string};Xr.displayName="IconButton";function HL(e){return wt("MuiLoadingButton",e)}const zL=St("MuiLoadingButton",["root","loading","loadingIndicator","loadingIndicatorCenter","loadingIndicatorStart","loadingIndicatorEnd","endIconLoadingEnd","startIconLoadingStart"]),hr=zL,WL=["children","disabled","id","loading","loadingIndicator","loadingPosition","variant"],UL=e=>{const{loading:t,loadingPosition:n,classes:r}=e,i={root:["root",t&&"loading"],startIcon:[t&&`startIconLoading${be(n)}`],endIcon:[t&&`endIconLoading${be(n)}`],loadingIndicator:["loadingIndicator",t&&`loadingIndicator${be(n)}`]},a=jt(i,HL,r);return U({},r,a)},YL=e=>e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"&&e!=="classes",GL=ce(BA,{shouldForwardProp:e=>YL(e)||e==="classes",name:"MuiLoadingButton",slot:"Root",overridesResolver:(e,t)=>[t.root,t.startIconLoadingStart&&{[`& .${hr.startIconLoadingStart}`]:t.startIconLoadingStart},t.endIconLoadingEnd&&{[`& .${hr.endIconLoadingEnd}`]:t.endIconLoadingEnd}]})(({ownerState:e,theme:t})=>U({[`& .${hr.startIconLoadingStart}, & .${hr.endIconLoadingEnd}`]:{transition:t.transitions.create(["opacity"],{duration:t.transitions.duration.short}),opacity:0}},e.loadingPosition==="center"&&{transition:t.transitions.create(["background-color","box-shadow","border-color"],{duration:t.transitions.duration.short}),[`&.${hr.loading}`]:{color:"transparent"}},e.loadingPosition==="start"&&e.fullWidth&&{[`& .${hr.startIconLoadingStart}, & .${hr.endIconLoadingEnd}`]:{transition:t.transitions.create(["opacity"],{duration:t.transitions.duration.short}),opacity:0,marginRight:-8}},e.loadingPosition==="end"&&e.fullWidth&&{[`& .${hr.startIconLoadingStart}, & .${hr.endIconLoadingEnd}`]:{transition:t.transitions.create(["opacity"],{duration:t.transitions.duration.short}),opacity:0,marginLeft:-8}})),KL=ce("span",{name:"MuiLoadingButton",slot:"LoadingIndicator",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.loadingIndicator,t[`loadingIndicator${be(n.loadingPosition)}`]]}})(({theme:e,ownerState:t})=>U({position:"absolute",visibility:"visible",display:"flex"},t.loadingPosition==="start"&&(t.variant==="outlined"||t.variant==="contained")&&{left:t.size==="small"?10:14},t.loadingPosition==="start"&&t.variant==="text"&&{left:6},t.loadingPosition==="center"&&{left:"50%",transform:"translate(-50%)",color:(e.vars||e).palette.action.disabled},t.loadingPosition==="end"&&(t.variant==="outlined"||t.variant==="contained")&&{right:t.size==="small"?10:14},t.loadingPosition==="end"&&t.variant==="text"&&{right:6},t.loadingPosition==="start"&&t.fullWidth&&{position:"relative",left:-10},t.loadingPosition==="end"&&t.fullWidth&&{position:"relative",right:-10})),PB=k.forwardRef(function(t,n){const r=Rt({props:t,name:"MuiLoadingButton"}),{children:i,disabled:a=!1,id:l,loading:u=!1,loadingIndicator:d,loadingPosition:g="center",variant:p="text"}=r,E=We(r,WL),h=_A(l),m=d??f.jsx(CM,{"aria-labelledby":h,color:"inherit",size:16}),I=U({},r,{disabled:a,loading:u,loadingIndicator:m,loadingPosition:g,variant:p}),B=UL(I),y=u?f.jsx(KL,{className:B.loadingIndicator,ownerState:I,children:m}):null;return f.jsxs(GL,U({disabled:a||u,id:h,ref:n},E,{variant:p,classes:B,ownerState:I,children:[I.loadingPosition==="end"?i:y,I.loadingPosition==="end"?y:i]}))});process.env.NODE_ENV!=="production"&&(PB.propTypes={children:c.node,classes:c.object,disabled:c.bool,id:c.string,loading:c.bool,loadingIndicator:c.node,loadingPosition:$r(c.oneOf(["start","end","center"]),e=>e.loadingPosition==="start"&&!e.startIcon?new Error('MUI: The loadingPosition="start" should be used in combination with startIcon.'):e.loadingPosition==="end"&&!e.endIcon?new Error('MUI: The loadingPosition="end" should be used in combination with endIcon.'):null),sx:c.oneOfType([c.arrayOf(c.oneOfType([c.func,c.object,c.bool])),c.func,c.object]),variant:c.oneOfType([c.oneOf(["contained","outlined","text"]),c.string])});const _L=PB;function Zu({variant:e,theme:t,color:n,loadingPosition:r}){const i=$t(t,n),{lighter:a,main:l,dark:u,contrastText:d}=i,g=`${n}Button`,p=wi(t,g),E={"& .MuiLoadingButton-loadingIndicator":{color:l}},h={...r&&r!=="center"&&{color:l}},m={"&::after":{boxShadow:`0 0 6px 6px ${Ve(l,.9)}`},"&:active::after":{boxShadow:`0 0 0 0 ${Ve(l,.9)}`},"&:focus-visible":{outline:`2px solid ${u}`,outlineOffset:2}};switch(e){case"contained":return{backgroundColor:l,...r&&r!=="center"&&{color:d},"& .MuiLoadingButton-loadingIndicator":{color:d},"&:hover":{backgroundColor:u,color:d},...m};case"light":return{backgroundColor:l,...r&&r!=="center"&&{color:d},"& .MuiLoadingButton-loadingIndicator":{color:d},"&:hover":{backgroundColor:u,color:d},...m};case"shadow":return{boxShadow:p,backgroundColor:l,...r&&r!=="center"&&{color:d},"& .MuiLoadingButton-loadingIndicator":{color:d},"&:hover":{boxShadow:"none",backgroundColor:u,color:d},...m};case"outlined":return{backgroundColor:"transparent",borderColor:l,...h,...E};case"dashed":return{backgroundColor:a,borderColor:l,...h,...E,...m};case"text":default:return{color:l,...E,...m}}}const qL=ce(_L,{shouldForwardProp:e=>e!=="shape"&&e!=="variant"})(({theme:e,variant:t,shape:n,color:r,loading:i,loadingPosition:a})=>({"::after":{content:'""',display:"block",position:"absolute",left:0,top:0,width:"100%",height:"100%",borderRadius:n==="rounded"?"50%":4,opacity:0,transition:"all 0.5s"},":active::after":{position:"absolute",borderRadius:n==="rounded"?"50%":4,left:0,top:0,opacity:1,transition:"0s"},...t==="text"&&{...Zu({variant:t,theme:e,color:r,loadingPosition:a}),"&.MuiButton-sizeMedium":{height:36},"&.MuiButton-sizeSmall":{height:30},"&.MuiButton-sizeLarge":{height:44}},...n&&{minWidth:0,"&.MuiButton-sizeMedium":{width:36,height:36},"&.MuiButton-sizeSmall":{width:30,height:30},"&.MuiButton-sizeLarge":{width:44,height:44},...n==="rounded"&&{borderRadius:"50%"}},...t==="outlined"&&{border:"1px solid"},...t==="dashed"&&{border:"1px dashed"},...(t==="contained"||t==="shadow")&&!i&&{color:"#fff"},...t!=="text"&&{...Zu({variant:t,theme:e,color:r,loadingPosition:a})},"&.Mui-disabled":{...t!=="text"&&{...Zu({variant:t,theme:e,color:r,loadingPosition:a})}}})),Bg=S.forwardRef(({variant:e="text",shape:t,children:n,color:r="primary",...i},a)=>{const l=ut();return f.jsx(qL,{ref:a,variant:e,shape:t,theme:l,loadingPosition:i.loadingPosition,loading:i.loading,color:r,...i,children:n})});Bg.propTypes={variant:c.string,shape:c.string,children:c.node,color:c.string};Bg.displayName="LoadingButton";function JL({color:e,theme:t,labelColor:n}){const r=$t(t,e),{main:i,contrastText:a}=r;let l=e||"";return["primary","secondary","info","success","warning","error"].includes(l)?{[`& .${Q.tooltipClasses.tooltip}`]:{backgroundColor:i,color:n||a},[`& .${Q.tooltipClasses.arrow}`]:{color:i}}:{[`& .${Q.tooltipClasses.tooltip}`]:{backgroundColor:l,color:n||a,boxShadow:t.shadows[1]},[`& .${Q.tooltipClasses.arrow}`]:{color:l}}}const XL=ce(({className:e,...t})=>f.jsx(Q.Tooltip,{...t,classes:{popper:e}}),{shouldForwardProp:e=>e!=="color"&&e!=="labelColor"})(({theme:e,color:t,labelColor:n})=>({...t&&JL({color:t,theme:e,labelColor:n})}));function SB({children:e,arrow:t,labelColor:n="",...r}){const i=ut();return f.jsx(Q.Box,{display:"flex",children:f.jsx(XL,{arrow:t,...r,theme:i,labelColor:n,children:e})})}SB.propTypes={children:c.element,arrow:c.bool,labelColor:c.string,rest:c.array};const Zr=S.forwardRef(({children:e,position:t="top-left",type:n="grow",direction:r="up",...i},a)=>{let l={transformOrigin:"0 0 0"};switch(t){case"top-right":l={transformOrigin:"top right"};break;case"top":l={transformOrigin:"top"};break;case"bottom-left":l={transformOrigin:"bottom left"};break;case"bottom-right":l={transformOrigin:"bottom right"};break;case"bottom":l={transformOrigin:"bottom"};break;case"top-left":default:l={transformOrigin:"0 0 0"};break}return f.jsxs(Q.Box,{ref:a,children:[n==="grow"&&f.jsx(Q.Grow,{...i,timeout:{appear:0,enter:150,exit:150},children:f.jsx(Q.Box,{sx:l,children:e})}),n==="collapse"&&f.jsx(Q.Collapse,{...i,sx:l,children:e}),n==="fade"&&f.jsx(Q.Fade,{...i,timeout:{appear:0,enter:300,exit:150},children:f.jsx(Q.Box,{sx:l,children:e})}),n==="slide"&&f.jsx(Q.Slide,{...i,timeout:{appear:0,enter:150,exit:150},direction:r,children:f.jsx(Q.Box,{sx:l,children:e})}),n==="zoom"&&f.jsx(Q.Zoom,{...i,children:f.jsx(Q.Box,{sx:l,children:e})})]})});Zr.propTypes={children:c.node,type:c.oneOf(["grow","fade","collapse","slide","zoom"]),position:c.oneOf(["top-left","top-right","top","bottom-left","bottom-right","bottom"]),direction:c.oneOf(["up","down","left","right"])};S.forwardRef(function(t,n){return f.jsx(Q.Zoom,{ref:n,timeout:200,...t})});function RB({value:e,...t}){return f.jsxs(Q.Box,{sx:{position:"relative",display:"inline-flex"},children:[f.jsx(Q.CircularProgress,{variant:"determinate",value:e,...t}),f.jsx(Q.Box,{sx:{top:0,left:0,bottom:0,right:0,position:"absolute",display:"flex",alignItems:"center",justifyContent:"center"},children:f.jsx(Q.Typography,{variant:"caption",component:"div",color:"text.secondary",children:`${Math.round(e)}%`})})]})}RB.propTypes={value:c.number};function OB({value:e,size:t,variant:n,thickness:r,showLabel:i,pathColor:a,sx:l,...u}){return f.jsxs(Q.Box,{sx:{position:"relative",display:"inline-flex"},children:[f.jsx(Q.CircularProgress,{variant:"determinate",sx:{color:a||"grey.200"},size:t,thickness:r,...u,value:100}),i&&f.jsx(Q.Box,{sx:{top:0,left:0,bottom:0,right:0,position:"absolute",display:"flex",alignItems:"center",justifyContent:"center"},children:f.jsx(Q.Typography,{variant:"caption",component:"div",color:"text.secondary",children:e?`${Math.round(e)}%`:"0%"})}),f.jsx(Q.CircularProgress,{variant:n,sx:{...l,position:"absolute",left:0,[`& .${Q.circularProgressClasses.circle}`]:{strokeLinecap:"round"}},size:t,thickness:r,value:e,...u})]})}OB.propTypes={value:c.number,size:c.number,variant:c.string,thickness:c.number,showLabel:c.bool,pathColor:c.string,sx:c.array,others:c.array};function DB({icon:e,value:t,...n}){return f.jsxs(Q.Box,{sx:{display:"flex",alignItems:"center"},children:[f.jsx(Q.Box,{sx:{width:"100%",mr:1},children:f.jsx(Q.LinearProgress,{variant:"determinate",value:t,...n})}),f.jsx(Q.Box,{sx:{minWidth:35},children:e})]})}DB.propTypes={icon:c.node,value:c.number};function MB({value:e,...t}){return f.jsxs(Q.Box,{sx:{display:"flex",alignItems:"center"},children:[f.jsx(Q.Box,{sx:{width:"100%",mr:1},children:f.jsx(Q.LinearProgress,{variant:"determinate",value:e,...t})}),f.jsx(Q.Box,{sx:{minWidth:35},children:f.jsx(Q.Typography,{variant:"body2",color:"text.secondary",children:`${Math.round(e)}%`})})]})}MB.propTypes={value:c.number};const gs=({item:e,level:t})=>{const n=ut(),{menuOrientation:r,isVerticalLayout:i}=Ut(),{drawerOpen:a,openItem:l,activeItem:u,openDrawer:d}=Xn(),g=Q.useMediaQuery(n.breakpoints.down("lg"));let p="_self";e.target&&(p="_blank");let E={component:S.forwardRef((M,w)=>f.jsx(gt.Link,{...M,to:e.url,target:p,ref:w}))};e!=null&&e.external&&(E={component:"a",href:e.url,target:p});const h=e.icon,m=e.icon?f.jsx(h,{style:{fontSize:a?"1rem":"1.25rem"}}):!1,I=l.findIndex(M=>M===e.id)>-1,{pathname:B}=gt.useLocation();S.useEffect(()=>{B.includes(e.url)&&u([e.id])},[B]);const y=n.palette.mode==="dark"?"grey.400":"text.primary",O=n.palette.mode==="dark"&&a?"text.primary":"primary.main";return f.jsx(f.Fragment,{children:i(r)||g?f.jsxs(Q.ListItemButton,{...E,disabled:e.disabled,selected:I,sx:{zIndex:1201,pl:a?`${t*28}px`:1.5,py:!a&&t===1?1.25:1,...a&&{"&:hover":{bgcolor:n.palette.mode==="dark"?"divider":"primary.lighter"},"&.Mui-selected":{bgcolor:n.palette.mode==="dark"?"divider":"primary.lighter",borderRight:`2px solid ${n.palette.primary.main}`,color:O,"&:hover":{color:O,bgcolor:n.palette.mode==="dark"?"divider":"primary.lighter"}}},...!a&&{"&:hover":{bgcolor:"transparent"},"&.Mui-selected":{"&:hover":{bgcolor:"transparent"},bgcolor:"transparent"}}},...g&&{onClick:()=>d(!1)},children:[m&&f.jsx(Q.ListItemIcon,{sx:{minWidth:28,color:I?O:y,...!a&&{borderRadius:1.5,width:36,height:36,alignItems:"center",justifyContent:"center","&:hover":{bgcolor:n.palette.mode==="dark"?"secondary.light":"secondary.lighter"}},...!a&&I&&{bgcolor:n.palette.mode==="dark"?"primary.900":"primary.lighter","&:hover":{bgcolor:n.palette.mode==="dark"?"primary.darker":"primary.lighter"}}},children:m}),(a||!a&&t!==1)&&f.jsx(Q.ListItemText,{primary:f.jsx(Q.Typography,{variant:"h6",sx:{color:I?O:y},children:e.title})}),(a||!a&&t!==1)&&e.chip&&f.jsx(Q.Chip,{color:e.chip.color,variant:e.chip.variant,size:e.chip.size,label:e.chip.label,avatar:e.chip.avatar&&f.jsx(Q.Avatar,{children:e.chip.avatar})})]}):f.jsxs(Q.ListItemButton,{...E,disabled:e.disabled,selected:I,sx:{zIndex:1201,...a&&{"&:hover":{bgcolor:"transparent"},"&.Mui-selected":{bgcolor:"transparent",color:O,"&:hover":{color:O,bgcolor:"transparent"}}},...!a&&{"&:hover":{bgcolor:"transparent"},"&.Mui-selected":{"&:hover":{bgcolor:"transparent"},bgcolor:"transparent"}}},children:[m&&f.jsx(Q.ListItemIcon,{sx:{minWidth:36,...!a&&{borderRadius:1.5,width:36,height:36,alignItems:"center",justifyContent:"flex-start","&:hover":{bgcolor:"transparent"}},...!a&&I&&{bgcolor:"transparent","&:hover":{bgcolor:"transparent"}}},children:m}),!m&&f.jsx(Q.ListItemIcon,{sx:{color:I?"primary.main":"secondary.main",...!a&&{borderRadius:1.5,alignItems:"center",justifyContent:"flex-start","&:hover":{bgcolor:"transparent"}},...!a&&I&&{bgcolor:"transparent","&:hover":{bgcolor:"transparent"}}},children:f.jsx(sc,{size:4,color:I?"primary":"secondary"})}),f.jsx(Q.ListItemText,{primary:f.jsx(Q.Typography,{variant:"h6",color:"inherit",children:e.title})}),(a||!a&&t!==1)&&e.chip&&f.jsx(Q.Chip,{color:e.chip.color,variant:e.chip.variant,size:e.chip.size,label:e.chip.label,avatar:e.chip.avatar&&f.jsx(Q.Avatar,{children:e.chip.avatar})})]})})};gs.propTypes={item:c.object,level:c.number};const ME=ce(Q.Popper)(({theme:e})=>({overflow:"visible",zIndex:1202,minWidth:180,"&:before":{content:'""',display:"block",position:"absolute",top:38,left:-5,width:10,height:10,backgroundColor:e.palette.background.paper,transform:"translateY(-50%) rotate(45deg)",zIndex:120,borderLeft:`1px solid ${e.palette.grey.A800}`,borderBottom:`1px solid ${e.palette.grey.A800}`}})),fs=({menu:e,level:t,parentId:n,setSelectedItems:r,selectedItems:i,setSelectedLevel:a,selectedLevel:l})=>{var W;const u=ut(),{activeItem:d}=Xn(),g=Q.useMediaQuery(u.breakpoints.down("lg")),{drawerOpen:p}=Xn(),{menuOrientation:E,isVerticalLayout:h}=Ut(),m=gt.useNavigate(),[I,B]=S.useState(!1),[y,O]=S.useState(null),[M,w]=S.useState(null),T=N=>{w(null),a(t),p?(B(!I),O(y?null:e.id),r(y?"":e.id),e.url&&m(`${e.url}`)):w(N==null?void 0:N.currentTarget)},P=()=>{p||e.url&&m(`${e.url}`)},H=N=>{w(N==null?void 0:N.currentTarget)},F=()=>{B(!1),O(null),w(null)};S.useMemo(()=>{y===i?t===1&&B(!0):t===l&&(B(!1),O(null))},[i,t,y,l]);const{pathname:K}=gt.useLocation(),Z=!!M,G=(N,ae)=>{N.forEach(fe=>{fe.url===K&&(B(!0),O(ae))})};S.useEffect(()=>{B(!1),O(null),Z&&w(null),e.children&&e.children.forEach(N=>{var ae;(ae=N.children)!=null&&ae.length&&G(N.children,e.id),N.url===K&&(O(e.id),B(!0)),K.includes(N.url)&&(O(e.id),B(!0))})},[K,e.children]),S.useEffect(()=>{e.url===K&&y!==e.id&&(d([e.id]),O(e.id),w(null),B(!0))},[K,e,y,d]);const ee=(W=e.children)==null?void 0:W.map(N=>{switch(N.type){case"collapse":return f.jsx(fs,{setSelectedItems:r,setSelectedLevel:a,selectedLevel:l,selectedItems:i,menu:N,level:t+1,parentId:n},N.id);case"item":return f.jsx(gs,{item:N,level:t+1},N.id);default:return f.jsx(Q.Typography,{variant:"h6",color:"error",align:"center",children:"Fix - Collapse or Item"},N.id)}}),le=y===e.id,de=t===1?f.jsx(ct.BorderOutlined,{style:{fontSize:"1rem"}}):!1,_=e.icon,q=e.icon?f.jsx(_,{style:{fontSize:p?"1rem":"1.25rem"}}):de,Y=u.palette.mode==="dark"?"grey.400":"text.primary",X=u.palette.mode==="dark"&&p?u.palette.text.primary:u.palette.primary.main,z=Z?`collapse-pop-${e.id}`:void 0,ne={display:"flex",justifyContent:"space-between",alignItems:"center",width:"100%"};return f.jsx(f.Fragment,{children:h(E)||g?f.jsxs(f.Fragment,{children:[f.jsxs(Q.ListItemButton,{disableRipple:!0,selected:y===e.id,...!p&&{onMouseEnter:T,onMouseLeave:F},onClick:T,sx:{pl:p?`${t*28}px`:1.5,py:!p&&t===1?1.25:1,...p&&{"&:hover":{bgcolor:u.palette.mode==="dark"?"divider":"primary.lighter"},"&.Mui-selected":{bgcolor:"transparent",color:X,"&:hover":{color:X,bgcolor:u.palette.mode==="dark"?"divider":"transparent"}}},...!p&&{"&:hover":{bgcolor:"transparent"},"&.Mui-selected":{"&:hover":{bgcolor:"transparent"},bgcolor:"transparent"}}},children:[q&&f.jsx(Q.ListItemIcon,{onClick:P,sx:{minWidth:28,color:y===e.id?"primary.main":Y,...!p&&{borderRadius:1.5,width:36,height:36,alignItems:"center",justifyContent:"center","&:hover":{bgcolor:u.palette.mode==="dark"?"secondary.light":"secondary.lighter"}},...!p&&y===e.id&&{bgcolor:u.palette.mode==="dark"?"primary.900":"primary.lighter","&:hover":{bgcolor:u.palette.mode==="dark"?"primary.darker":"primary.lighter"}}},children:q}),(p||!p&&t!==1)&&f.jsx(Q.ListItemText,{primary:f.jsx(Q.Typography,{variant:"h6",color:y===e.id?"primary":Y,children:e.title}),secondary:e.caption&&f.jsx(Q.Typography,{variant:"caption",color:"secondary",children:e.caption})}),(p||!p&&t!==1)&&(Z||I?f.jsx(ct.UpOutlined,{style:{fontSize:"0.625rem",marginLeft:1,color:u.palette.primary.main}}):f.jsx(ct.DownOutlined,{style:{fontSize:"0.625rem",marginLeft:1}})),!p&&f.jsx(ME,{open:Z,anchorEl:M,placement:"right-start",style:{zIndex:2001},popperOptions:{modifiers:[{name:"offset",options:{offset:[-12,1]}}]},children:({TransitionProps:N})=>f.jsx(Zr,{in:Z,...N,children:f.jsx(Q.Paper,{sx:{overflow:"hidden",mt:1.5,boxShadow:u.customShadows.z1,backgroundImage:"none",border:`1px solid ${u.palette.divider}`},children:f.jsx(Q.ClickAwayListener,{onClickAway:F,children:f.jsx(Q.Box,{children:ee})})})})})]}),p&&f.jsx(Q.Collapse,{in:I,timeout:"auto",unmountOnExit:!0,children:f.jsx(Q.List,{sx:{p:0},children:ee})})]}):f.jsx(f.Fragment,{children:f.jsxs(Q.ListItemButton,{id:`boundary-${z}`,disableRipple:!0,selected:le,onMouseEnter:H,onMouseLeave:F,onClick:H,"aria-describedby":z,sx:{"&.Mui-selected":{bgcolor:"transparent"}},children:[f.jsxs(Q.Box,{onClick:P,sx:ne,children:[q&&f.jsx(Q.ListItemIcon,{sx:{my:"auto",minWidth:e.icon?36:18,color:u.palette.secondary.dark},children:q}),!q&&t!==1&&f.jsx(Q.ListItemIcon,{sx:{my:"auto",minWidth:e.icon?36:18,bgcolor:"transparent","&:hover":{bgcolor:"transparent"}},children:f.jsx(sc,{size:4,color:le?"primary":"secondary"})}),f.jsx(Q.ListItemText,{primary:f.jsx(Q.Typography,{variant:"body1",color:"inherit",sx:{my:"auto"},children:e.title})}),Z?f.jsx(ct.RightOutlined,{}):f.jsx(ct.DownOutlined,{})]}),M&&f.jsx(ME,{id:z,open:Z,anchorEl:M,placement:"right-start",style:{zIndex:2001},modifiers:[{name:"offset",options:{offset:[-10,0]}}],children:({TransitionProps:N})=>f.jsx(Zr,{in:Z,...N,children:f.jsx(Q.Paper,{sx:{overflow:"hidden",mt:1.5,py:.5,boxShadow:u.shadows[8],backgroundImage:"none"},children:f.jsx(Q.ClickAwayListener,{onClickAway:F,children:f.jsx(Q.Box,{children:ee})})})})})]})})})};fs.propTypes={menu:c.object,level:c.number,parentId:c.string,setSelectedItems:c.func,selectedItems:c.string,setSelectedLevel:c.func,selectedLevel:c.number};const ZL=ce(Q.Popper)(({theme:e})=>({overflow:"visible",zIndex:1202,minWidth:180,"&:before":{content:'""',display:"block",position:"absolute",top:5,left:32,width:12,height:12,transform:"translateY(-50%) rotate(45deg)",zIndex:120,borderWidth:"6px",borderStyle:"solid",borderColor:`${e.palette.background.paper} transparent transparent ${e.palette.background.paper}`}})),jB=({item:e,lastItem:t,remItems:n,lastItemId:r,setSelectedItems:i,selectedItems:a,setSelectedLevel:l,selectedLevel:u})=>{var X,z;const d=ut(),g=R.useTranslate(),{pathname:p}={pathname:""},{menuOrientation:E,isVerticalLayout:h}=Ut(),m=Xn(),{drawerOpen:I,selectedID:B}=m,{activeID:y}=Xn(),O=Q.useMediaQuery(d.breakpoints.down("lg")),[M,w]=S.useState(null),[T,P]=S.useState(e),H=!!M;S.useEffect(()=>{if(t)if(e.id===r){const ne={...e},W=n.map(N=>N.elements);ne.children=W.flat(1),P(ne)}else P(e)},[e,t,O]);const F=(ne,W)=>{ne.forEach(N=>{var ae;(ae=N.children)!=null&&ae.length&&F(N.children,T.id),N.url===p&&y(W)})},K=ne=>{(ne.children?ne.children:[]).forEach(N=>{var ae;(ae=N.children)!=null&&ae.length&&F(N.children,T.id),N.url===p&&y(T.id)})};S.useEffect(()=>{K(T),H&&w(null)},[p,T]);const Z=ne=>{H||w(ne==null?void 0:ne.currentTarget)},G=()=>{w(null)},ee=T==null?void 0:T.icon,le=T!=null&&T.icon?f.jsx(ee,{style:{fontSize:20,stroke:"1.5",color:B===T.id?d.palette.primary.main:d.palette.secondary.dark}}):null,de=(X=e.children)==null?void 0:X.map(ne=>{switch(ne.type){case"collapse":return f.jsx(fs,{menu:ne,setSelectedItems:i,setSelectedLevel:l,selectedLevel:u,selectedItems:a,level:1,parentId:T.id},ne.id);case"item":return f.jsx(gs,{item:ne,level:1},ne.id)}}),_=n.map((ne,W)=>{var N;return f.jsxs(S.Fragment,{children:[ne.title&&f.jsx(Q.Typography,{variant:"caption",sx:{pl:2},children:ne.title}),(N=ne==null?void 0:ne.elements)==null?void 0:N.map(ae=>{switch(ae.type){case"collapse":return f.jsx(fs,{menu:ae,level:1,parentId:T.id,setSelectedItems:i,setSelectedLevel:l,selectedLevel:u,selectedItems:a},ae.id);case"item":return f.jsx(gs,{item:ae,level:1},ae.id);default:return f.jsx(Q.Typography,{variant:"h6",color:"error",align:"center",children:"Menu Items Error"},ae.id)}})]},W)}),q=(z=T.children)==null?void 0:z.map(ne=>{switch(ne.type){case"collapse":return f.jsx(fs,{menu:ne,level:1,parentId:T.id,setSelectedItems:i,setSelectedLevel:l,selectedLevel:u,selectedItems:a},ne.id);case"item":return f.jsx(gs,{item:ne,level:1},ne.id);default:return f.jsx(Q.Typography,{variant:"h6",color:"error",align:"center",children:"Menu Items Error"},ne.id)}}),Y=H?`group-pop-${e.id}`:void 0;return f.jsx(f.Fragment,{children:h(E)||O?f.jsx(Q.List,{subheader:e.title&&I&&f.jsxs(Q.Box,{sx:{pl:3,mb:1.5},children:[f.jsx(Q.Typography,{variant:"subtitle2",color:d.palette.mode==="dark"?"textSecondary":"text.secondary",children:e.title}),e.caption&&f.jsx(Q.Typography,{variant:"caption",color:"secondary",children:e.caption})]}),sx:{mt:I&&e.title?1.5:0,py:0,zIndex:0},children:de}):f.jsx(Q.List,{children:f.jsxs(Q.ListItemButton,{selected:B===T.id,sx:{p:1,my:.5,mr:1,display:"flex",alignItems:"center",backgroundColor:"inherit","&.Mui-selected":{bgcolor:"transparent"}},onMouseEnter:Z,onClick:Z,onMouseLeave:G,"aria-describedby":Y,children:[le&&f.jsx(Q.ListItemIcon,{sx:{minWidth:28},children:T.id===r?f.jsx(ct.DownOutlined,{style:{fontSize:20,stroke:"1.5"}}):le}),f.jsx(Q.ListItemText,{sx:{mr:1},primary:f.jsx(Q.Typography,{variant:"body1",color:B===T.id?d.palette.primary.main:d.palette.secondary.dark,children:T.id===r?g("ra.actions.more"):T.title})}),H?f.jsx(ct.DownOutlined,{style:{fontSize:16,stroke:"1.5"}}):f.jsx(ct.RightOutlined,{style:{fontSize:16,stroke:"1.5"}}),M&&f.jsx(ZL,{id:Y,open:H,anchorEl:M,placement:"bottom-start",style:{zIndex:2001},children:({TransitionProps:ne})=>f.jsx(Zr,{in:H,...ne,children:f.jsx(Q.Paper,{sx:{mt:.5,py:1.25,boxShadow:d.shadows[8],backgroundImage:"none"},children:f.jsx(Q.ClickAwayListener,{onClickAway:G,children:f.jsx(Q.Box,{sx:{maxHeight:"calc(100vh - 170px)",overflowY:"auto","&::-webkit-scrollbar":{opacity:0,width:4,"&:hover":{opacity:.7}},"&::-webkit-scrollbar-track":{background:"transparent"},"&::-webkit-scrollbar-thumb":{background:d.palette.divider,borderRadius:4}},children:T.id!==r?q:_})})})})})]})})})};jB.propTypes={item:c.object,lastItem:c.number,remItems:c.array,lastItemId:c.string,setSelectedItems:c.func,selectedItems:c.string,setSelectedLevel:c.func,selectedLevel:c.number};const kB=()=>{const e=ut(),{menu:t,isLoading:n}=ud(),r=Q.useMediaQuery(e.breakpoints.down("lg")),{menuOrientation:i,horizontalMaxItems:a,isHorizontalLayout:l}=Ut(),{drawerOpen:u}=Xn(),[d,g]=S.useState(""),[p,E]=S.useState(0),h=l(i)&&!r,m=h?a:null;let I=n?0:t.length-1,B=[],y;!n&&m&&m<t.length&&(y=t[m-1].id,I=m-1,B=t.slice(m-1,t.length).map(M=>({title:M.title,elements:M.children,icon:M.icon})));const O=n?[]:t.slice(0,I+1).map(M=>{switch(M.type){case"group":return f.jsx(jB,{setSelectedItems:g,setSelectedLevel:E,selectedLevel:p,selectedItems:d,lastItem:m,remItems:B,lastItemId:y,item:M},M.id);default:return f.jsx(Q.Typography,{variant:"h6",color:"error",align:"center",children:"Fix - Navigation Group"},M.id)}});return f.jsx(Q.Box,{sx:{pt:u?h?0:2:0,"& > ul:first-of-type":{mt:0},display:h?{xs:"block",lg:"flex"}:"block"},children:O})};var me={},HA={exports:{}};(function(e,t){(function(n,r){var i="1.0.36",a="",l="?",u="function",d="undefined",g="object",p="string",E="major",h="model",m="name",I="type",B="vendor",y="version",O="architecture",M="console",w="mobile",T="tablet",P="smarttv",H="wearable",F="embedded",K=350,Z="Amazon",G="Apple",ee="ASUS",le="BlackBerry",de="Browser",_="Chrome",q="Edge",Y="Firefox",X="Google",z="Huawei",ne="LG",W="Microsoft",N="Motorola",ae="Opera",fe="Samsung",ue="Sharp",ge="Sony",pe="Xiaomi",Ie="Zebra",Be="Facebook",Ce="Chromium OS",Ae="Mac OS",ye=function(De,qe){var Te={};for(var Ke in De)qe[Ke]&&qe[Ke].length%2===0?Te[Ke]=qe[Ke].concat(De[Ke]):Te[Ke]=De[Ke];return Te},ie=function(De){for(var qe={},Te=0;Te<De.length;Te++)qe[De[Te].toUpperCase()]=De[Te];return qe},Fe=function(De,qe){return typeof De===p?$(qe).indexOf($(De))!==-1:!1},$=function(De){return De.toLowerCase()},Ot=function(De){return typeof De===p?De.replace(/[^\d\.]/g,a).split(".")[0]:r},Yt=function(De,qe){if(typeof De===p)return De=De.replace(/^\s\s*/,a),typeof qe===d?De:De.substring(0,K)},It=function(De,qe){for(var Te=0,Ke,xe,Gt,Ye,we,tn;Te<qe.length&&!we;){var so=qe[Te],Do=qe[Te+1];for(Ke=xe=0;Ke<so.length&&!we&&so[Ke];)if(we=so[Ke++].exec(De),we)for(Gt=0;Gt<Do.length;Gt++)tn=we[++xe],Ye=Do[Gt],typeof Ye===g&&Ye.length>0?Ye.length===2?typeof Ye[1]==u?this[Ye[0]]=Ye[1].call(this,tn):this[Ye[0]]=Ye[1]:Ye.length===3?typeof Ye[1]===u&&!(Ye[1].exec&&Ye[1].test)?this[Ye[0]]=tn?Ye[1].call(this,tn,Ye[2]):r:this[Ye[0]]=tn?tn.replace(Ye[1],Ye[2]):r:Ye.length===4&&(this[Ye[0]]=tn?Ye[3].call(this,tn.replace(Ye[1],Ye[2])):r):this[Ye]=tn||r;Te+=2}},Pr=function(De,qe){for(var Te in qe)if(typeof qe[Te]===g&&qe[Te].length>0){for(var Ke=0;Ke<qe[Te].length;Ke++)if(Fe(qe[Te][Ke],De))return Te===l?r:Te}else if(Fe(qe[Te],De))return Te===l?r:Te;return De},Ri={"1.0":"/8",1.2:"/1",1.3:"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"},wn={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2",8.1:"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},Nt={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[y,[m,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[y,[m,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[m,y],[/opios[\/ ]+([\w\.]+)/i],[y,[m,ae+" Mini"]],[/\bopr\/([\w\.]+)/i],[y,[m,ae]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\/ ]?([\w\.]*)/i,/(avant |iemobile|slim)(?:browser)?[\/ ]?([\w\.]*)/i,/(ba?idubrowser)[\/ ]?([\w\.]+)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|qq|duckduckgo)\/([-\w\.]+)/i,/(heytap|ovi)browser\/([\d\.]+)/i,/(weibo)__([\d\.]+)/i],[m,y],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[y,[m,"UC"+de]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i],[y,[m,"WeChat(Win) Desktop"]],[/micromessenger\/([\w\.]+)/i],[y,[m,"WeChat"]],[/konqueror\/([\w\.]+)/i],[y,[m,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[y,[m,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[y,[m,"Yandex"]],[/(avast|avg)\/([\w\.]+)/i],[[m,/(.+)/,"$1 Secure "+de],y],[/\bfocus\/([\w\.]+)/i],[y,[m,Y+" Focus"]],[/\bopt\/([\w\.]+)/i],[y,[m,ae+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[y,[m,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[y,[m,"Dolphin"]],[/coast\/([\w\.]+)/i],[y,[m,ae+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[y,[m,"MIUI "+de]],[/fxios\/([-\w\.]+)/i],[y,[m,Y]],[/\bqihu|(qi?ho?o?|360)browser/i],[[m,"360 "+de]],[/(oculus|samsung|sailfish|huawei)browser\/([\w\.]+)/i],[[m,/(.+)/,"$1 "+de],y],[/(comodo_dragon)\/([\w\.]+)/i],[[m,/_/g," "],y],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|baiduboxapp|2345Explorer)[\/ ]?([\w\.]+)/i],[m,y],[/(metasr)[\/ ]?([\w\.]+)/i,/(lbbrowser)/i,/\[(linkedin)app\]/i],[m],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[m,Be],y],[/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i],[m,y],[/\bgsa\/([\w\.]+) .*safari\//i],[y,[m,"GSA"]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[y,[m,"TikTok"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[y,[m,_+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[m,_+" WebView"],y],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[y,[m,"Android "+de]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[m,y],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[y,[m,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[y,m],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[m,[y,Pr,Ri]],[/(webkit|khtml)\/([\w\.]+)/i],[m,y],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[m,"Netscape"],y],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[y,[m,Y+" Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror|klar)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/(links) \(([\w\.]+)/i,/panasonic;(viera)/i],[m,y],[/(cobalt)\/([\w\.]+)/i],[m,[y,/master.|lts./,""]]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[O,"amd64"]],[/(ia32(?=;))/i],[[O,$]],[/((?:i[346]|x)86)[;\)]/i],[[O,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[O,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[O,"armhf"]],[/windows (ce|mobile); ppc;/i],[[O,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[O,/ower/,a,$]],[/(sun4\w)[;\)]/i],[[O,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[O,$]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[h,[B,fe],[I,T]],[/\b((?:s[cgp]h|gt|sm)-\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]([-\w]+)/i,/sec-(sgh\w+)/i],[h,[B,fe],[I,w]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[h,[B,G],[I,w]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[h,[B,G],[I,T]],[/(macintosh);/i],[h,[B,G]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[h,[B,ue],[I,w]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[h,[B,z],[I,T]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[h,[B,z],[I,w]],[/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\))/i],[[h,/_/g," "],[B,pe],[I,w]],[/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[h,/_/g," "],[B,pe],[I,T]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[h,[B,"OPPO"],[I,w]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[h,[B,"Vivo"],[I,w]],[/\b(rmx[12]\d{3})(?: bui|;|\))/i],[h,[B,"Realme"],[I,w]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[h,[B,N],[I,w]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[h,[B,N],[I,T]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[h,[B,ne],[I,T]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[h,[B,ne],[I,w]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[h,[B,"Lenovo"],[I,T]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[h,/_/g," "],[B,"Nokia"],[I,w]],[/(pixel c)\b/i],[h,[B,X],[I,T]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[h,[B,X],[I,w]],[/droid.+ (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[h,[B,ge],[I,w]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[h,"Xperia Tablet"],[B,ge],[I,T]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[h,[B,"OnePlus"],[I,w]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo[c-r]{2})( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[h,[B,Z],[I,T]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[h,/(.+)/g,"Fire Phone $1"],[B,Z],[I,w]],[/(playbook);[-\w\),; ]+(rim)/i],[h,B,[I,T]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[h,[B,le],[I,w]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[h,[B,ee],[I,T]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[h,[B,ee],[I,w]],[/(nexus 9)/i],[h,[B,"HTC"],[I,T]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[B,[h,/_/g," "],[I,w]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[h,[B,"Acer"],[I,T]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[h,[B,"Meizu"],[I,w]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron|infinix|tecno)[-_ ]?([-\w]*)/i,/(hp) ([\w ]+\w)/i,/(asus)-?(\w+)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w]+)/i,/(jolla)/i,/(oppo) ?([\w ]+) bui/i],[B,h,[I,w]],[/(kobo)\s(ereader|touch)/i,/(archos) (gamepad2?)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[B,h,[I,T]],[/(surface duo)/i],[h,[B,W],[I,T]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[h,[B,"Fairphone"],[I,w]],[/(u304aa)/i],[h,[B,"AT&T"],[I,w]],[/\bsie-(\w*)/i],[h,[B,"Siemens"],[I,w]],[/\b(rct\w+) b/i],[h,[B,"RCA"],[I,T]],[/\b(venue[\d ]{2,7}) b/i],[h,[B,"Dell"],[I,T]],[/\b(q(?:mv|ta)\w+) b/i],[h,[B,"Verizon"],[I,T]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[h,[B,"Barnes & Noble"],[I,T]],[/\b(tm\d{3}\w+) b/i],[h,[B,"NuVision"],[I,T]],[/\b(k88) b/i],[h,[B,"ZTE"],[I,T]],[/\b(nx\d{3}j) b/i],[h,[B,"ZTE"],[I,w]],[/\b(gen\d{3}) b.+49h/i],[h,[B,"Swiss"],[I,w]],[/\b(zur\d{3}) b/i],[h,[B,"Swiss"],[I,T]],[/\b((zeki)?tb.*\b) b/i],[h,[B,"Zeki"],[I,T]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[B,"Dragon Touch"],h,[I,T]],[/\b(ns-?\w{0,9}) b/i],[h,[B,"Insignia"],[I,T]],[/\b((nxa|next)-?\w{0,9}) b/i],[h,[B,"NextBook"],[I,T]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[B,"Voice"],h,[I,w]],[/\b(lvtel\-)?(v1[12]) b/i],[[B,"LvTel"],h,[I,w]],[/\b(ph-1) /i],[h,[B,"Essential"],[I,w]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[h,[B,"Envizen"],[I,T]],[/\b(trio[-\w\. ]+) b/i],[h,[B,"MachSpeed"],[I,T]],[/\btu_(1491) b/i],[h,[B,"Rotor"],[I,T]],[/(shield[\w ]+) b/i],[h,[B,"Nvidia"],[I,T]],[/(sprint) (\w+)/i],[B,h,[I,w]],[/(kin\.[onetw]{3})/i],[[h,/\./g," "],[B,W],[I,w]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[h,[B,Ie],[I,T]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[h,[B,Ie],[I,w]],[/smart-tv.+(samsung)/i],[B,[I,P]],[/hbbtv.+maple;(\d+)/i],[[h,/^/,"SmartTV"],[B,fe],[I,P]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[B,ne],[I,P]],[/(apple) ?tv/i],[B,[h,G+" TV"],[I,P]],[/crkey/i],[[h,_+"cast"],[B,X],[I,P]],[/droid.+aft(\w+)( bui|\))/i],[h,[B,Z],[I,P]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[h,[B,ue],[I,P]],[/(bravia[\w ]+)( bui|\))/i],[h,[B,ge],[I,P]],[/(mitv-\w{5}) bui/i],[h,[B,pe],[I,P]],[/Hbbtv.*(technisat) (.*);/i],[B,h,[I,P]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[B,Yt],[h,Yt],[I,P]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[I,P]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[B,h,[I,M]],[/droid.+; (shield) bui/i],[h,[B,"Nvidia"],[I,M]],[/(playstation [345portablevi]+)/i],[h,[B,ge],[I,M]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[h,[B,W],[I,M]],[/((pebble))app/i],[B,h,[I,H]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[h,[B,G],[I,H]],[/droid.+; (glass) \d/i],[h,[B,X],[I,H]],[/droid.+; (wt63?0{2,3})\)/i],[h,[B,Ie],[I,H]],[/(quest( 2| pro)?)/i],[h,[B,Be],[I,H]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[B,[I,F]],[/(aeobc)\b/i],[h,[B,Z],[I,F]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+? mobile safari/i],[h,[I,w]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[h,[I,T]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[I,T]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[I,w]],[/(android[-\w\. ]{0,9});.+buil/i],[h,[B,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[y,[m,q+"HTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[y,[m,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i,/\b(libweb)/i],[m,y],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[y,m]],os:[[/microsoft (windows) (vista|xp)/i],[m,y],[/(windows) nt 6\.2; (arm)/i,/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i,/(windows)[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i],[m,[y,Pr,wn]],[/(win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[m,"Windows"],[y,Pr,wn]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[y,/_/g,"."],[m,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[m,Ae],[y,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[y,m],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[m,y],[/\(bb(10);/i],[y,[m,le]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[y,[m,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[y,[m,Y+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[y,[m,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[y,[m,"watchOS"]],[/crkey\/([\d\.]+)/i],[y,[m,_+"cast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[m,Ce],y],[/panasonic;(viera)/i,/(netrange)mmh/i,/(nettv)\/(\d+\.[\w\.]+)/i,/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux) ?([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[m,y],[/(sunos) ?([\w\.\d]*)/i],[[m,"Solaris"],y],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[m,y]]},kt=function(De,qe){if(typeof De===g&&(qe=De,De=r),!(this instanceof kt))return new kt(De,qe).getResult();var Te=typeof n!==d&&n.navigator?n.navigator:r,Ke=De||(Te&&Te.userAgent?Te.userAgent:a),xe=Te&&Te.userAgentData?Te.userAgentData:r,Gt=qe?ye(Nt,qe):Nt,Ye=Te&&Te.userAgent==Ke;return this.getBrowser=function(){var we={};return we[m]=r,we[y]=r,It.call(we,Ke,Gt.browser),we[E]=Ot(we[y]),Ye&&Te&&Te.brave&&typeof Te.brave.isBrave==u&&(we[m]="Brave"),we},this.getCPU=function(){var we={};return we[O]=r,It.call(we,Ke,Gt.cpu),we},this.getDevice=function(){var we={};return we[B]=r,we[h]=r,we[I]=r,It.call(we,Ke,Gt.device),Ye&&!we[I]&&xe&&xe.mobile&&(we[I]=w),Ye&&we[h]=="Macintosh"&&Te&&typeof Te.standalone!==d&&Te.maxTouchPoints&&Te.maxTouchPoints>2&&(we[h]="iPad",we[I]=T),we},this.getEngine=function(){var we={};return we[m]=r,we[y]=r,It.call(we,Ke,Gt.engine),we},this.getOS=function(){var we={};return we[m]=r,we[y]=r,It.call(we,Ke,Gt.os),Ye&&!we[m]&&xe&&xe.platform!="Unknown"&&(we[m]=xe.platform.replace(/chrome os/i,Ce).replace(/macos/i,Ae)),we},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return Ke},this.setUA=function(we){return Ke=typeof we===p&&we.length>K?Yt(we,K):we,this},this.setUA(Ke),this};kt.VERSION=i,kt.BROWSER=ie([m,y,E]),kt.CPU=ie([O]),kt.DEVICE=ie([h,B,I,M,w,P,T,H,F]),kt.ENGINE=kt.OS=ie([m,y]),e.exports&&(t=e.exports=kt),t.UAParser=kt;var fn=typeof n!==d&&(n.jQuery||n.Zepto);if(fn&&!fn.ua){var Wn=new kt;fn.ua=Wn.getResult(),fn.ua.get=function(){return Wn.getUA()},fn.ua.set=function(De){Wn.setUA(De);var qe=Wn.getResult();for(var Te in qe)fn.ua[Te]=qe[Te]}}})(typeof window=="object"?window:Ln)})(HA,HA.exports);var $L=HA.exports;Object.defineProperty(me,"__esModule",{value:!0});function eN(e){return e&&typeof e=="object"&&"default"in e?e.default:e}var Zt=S,ft=eN(Zt),FB=$L,oo=new FB,en=oo.getBrowser(),tN=oo.getCPU(),xn=oo.getDevice(),yg=oo.getEngine(),io=oo.getOS(),Ms=oo.getUA(),LB=function(t){return oo.setUA(t)},js=function(t){if(!t){console.error("No userAgent string was provided");return}var n=new FB(t);return{UA:n,browser:n.getBrowser(),cpu:n.getCPU(),device:n.getDevice(),engine:n.getEngine(),os:n.getOS(),ua:n.getUA(),setUserAgent:function(i){return n.setUA(i)}}},NB=Object.freeze({ClientUAInstance:oo,browser:en,cpu:tN,device:xn,engine:yg,os:io,ua:Ms,setUa:LB,parseUserAgent:js});function jE(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function nN(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?jE(Object(n),!0).forEach(function(r){iN(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):jE(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function ps(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?ps=function(t){return typeof t}:ps=function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ps(e)}function rN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function kE(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function oN(e,t,n){return t&&kE(e.prototype,t),n&&kE(e,n),e}function iN(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function zA(){return zA=Object.assign||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},zA.apply(this,arguments)}function sN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&UA(e,t)}function WA(e){return WA=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},WA(e)}function UA(e,t){return UA=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},UA(e,t)}function aN(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a<r.length;a++)i=r[a],!(t.indexOf(i)>=0)&&(n[i]=e[i]);return n}function zn(e,t){if(e==null)return{};var n=aN(e,t),r,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)r=a[i],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function Ua(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lN(e,t){if(t&&(typeof t=="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Ua(e)}function cN(e,t){return uN(e)||AN(e,t)||dN(e,t)||gN()}function uN(e){if(Array.isArray(e))return e}function AN(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r=[],i=!0,a=!1,l,u;try{for(n=n.call(e);!(i=(l=n.next()).done)&&(r.push(l.value),!(t&&r.length===t));i=!0);}catch(d){a=!0,u=d}finally{try{!i&&n.return!=null&&n.return()}finally{if(a)throw u}}return r}}function dN(e,t){if(e){if(typeof e=="string")return FE(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return FE(e,t)}}function FE(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function gN(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
222
222
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var Xt={Mobile:"mobile",Tablet:"tablet",SmartTv:"smarttv",Console:"console",Wearable:"wearable",Embedded:"embedded",Browser:void 0},gn={Chrome:"Chrome",Firefox:"Firefox",Opera:"Opera",Yandex:"Yandex",Safari:"Safari",InternetExplorer:"Internet Explorer",Edge:"Edge",Chromium:"Chromium",Ie:"IE",MobileSafari:"Mobile Safari",EdgeChromium:"Edge Chromium",MIUI:"MIUI Browser",SamsungBrowser:"Samsung Browser"},Ti={IOS:"iOS",Android:"Android",WindowsPhone:"Windows Phone",Windows:"Windows",MAC_OS:"Mac OS"},fN={isMobile:!1,isTablet:!1,isBrowser:!1,isSmartTV:!1,isConsole:!1,isWearable:!1},pN=function(t){switch(t){case Xt.Mobile:return{isMobile:!0};case Xt.Tablet:return{isTablet:!0};case Xt.SmartTv:return{isSmartTV:!0};case Xt.Console:return{isConsole:!0};case Xt.Wearable:return{isWearable:!0};case Xt.Browser:return{isBrowser:!0};case Xt.Embedded:return{isEmbedded:!0};default:return fN}},hN=function(t){return LB(t)},Me=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"none";return t||n},vg=function(){return typeof window<"u"&&(window.navigator||navigator)?window.navigator||navigator:!1},bg=function(t){var n=vg();return n&&n.platform&&(n.platform.indexOf(t)!==-1||n.platform==="MacIntel"&&n.maxTouchPoints>1&&!window.MSStream)},CN=function(t,n,r,i,a){return{isBrowser:t,browserMajorVersion:Me(n.major),browserFullVersion:Me(n.version),browserName:Me(n.name),engineName:Me(r.name),engineVersion:Me(r.version),osName:Me(i.name),osVersion:Me(i.version),userAgent:Me(a)}},LE=function(t,n,r,i){return nN({},t,{vendor:Me(n.vendor),model:Me(n.model),os:Me(r.name),osVersion:Me(r.version),ua:Me(i)})},EN=function(t,n,r,i){return{isSmartTV:t,engineName:Me(n.name),engineVersion:Me(n.version),osName:Me(r.name),osVersion:Me(r.version),userAgent:Me(i)}},mN=function(t,n,r,i){return{isConsole:t,engineName:Me(n.name),engineVersion:Me(n.version),osName:Me(r.name),osVersion:Me(r.version),userAgent:Me(i)}},IN=function(t,n,r,i){return{isWearable:t,engineName:Me(n.name),engineVersion:Me(n.version),osName:Me(r.name),osVersion:Me(r.version),userAgent:Me(i)}},BN=function(t,n,r,i,a){return{isEmbedded:t,vendor:Me(n.vendor),model:Me(n.model),engineName:Me(r.name),engineVersion:Me(r.version),osName:Me(i.name),osVersion:Me(i.version),userAgent:Me(a)}};function yN(e){var t=e?js(e):NB,n=t.device,r=t.browser,i=t.engine,a=t.os,l=t.ua,u=pN(n.type),d=u.isBrowser,g=u.isMobile,p=u.isTablet,E=u.isSmartTV,h=u.isConsole,m=u.isWearable,I=u.isEmbedded;if(d)return CN(d,r,i,a,l);if(E)return EN(E,i,a,l);if(h)return mN(h,i,a,l);if(g||p)return LE(u,n,a,l);if(m)return IN(m,i,a,l);if(I)return BN(I,n,i,a,l)}var VB=function(t){var n=t.type;return n===Xt.Mobile},HB=function(t){var n=t.type;return n===Xt.Tablet},zB=function(t){var n=t.type;return n===Xt.Mobile||n===Xt.Tablet},WB=function(t){var n=t.type;return n===Xt.SmartTv},El=function(t){var n=t.type;return n===Xt.Browser},UB=function(t){var n=t.type;return n===Xt.Wearable},YB=function(t){var n=t.type;return n===Xt.Console},GB=function(t){var n=t.type;return n===Xt.Embedded},KB=function(t){var n=t.vendor;return Me(n)},_B=function(t){var n=t.model;return Me(n)},qB=function(t){var n=t.type;return Me(n,"browser")},JB=function(t){var n=t.name;return n===Ti.Android},XB=function(t){var n=t.name;return n===Ti.Windows},ZB=function(t){var n=t.name;return n===Ti.MAC_OS},$B=function(t){var n=t.name;return n===Ti.WindowsPhone},ey=function(t){var n=t.name;return n===Ti.IOS},ty=function(t){var n=t.version;return Me(n)},ny=function(t){var n=t.name;return Me(n)},ry=function(t){var n=t.name;return n===gn.Chrome},oy=function(t){var n=t.name;return n===gn.Firefox},iy=function(t){var n=t.name;return n===gn.Chromium},ml=function(t){var n=t.name;return n===gn.Edge},sy=function(t){var n=t.name;return n===gn.Yandex},ay=function(t){var n=t.name;return n===gn.Safari||n===gn.MobileSafari},ly=function(t){var n=t.name;return n===gn.MobileSafari},cy=function(t){var n=t.name;return n===gn.Opera},uy=function(t){var n=t.name;return n===gn.InternetExplorer||n===gn.Ie},Ay=function(t){var n=t.name;return n===gn.MIUI},dy=function(t){var n=t.name;return n===gn.SamsungBrowser},gy=function(t){var n=t.version;return Me(n)},fy=function(t){var n=t.major;return Me(n)},py=function(t){var n=t.name;return Me(n)},hy=function(t){var n=t.name;return Me(n)},Cy=function(t){var n=t.version;return Me(n)},Ey=function(){var t=vg(),n=t&&t.userAgent&&t.userAgent.toLowerCase();return typeof n=="string"?/electron/.test(n):!1},fi=function(t){return typeof t=="string"&&t.indexOf("Edg/")!==-1},my=function(){var t=vg();return t&&(/iPad|iPhone|iPod/.test(t.platform)||t.platform==="MacIntel"&&t.maxTouchPoints>1)&&!window.MSStream},or=function(){return bg("iPad")},Iy=function(){return bg("iPhone")},By=function(){return bg("iPod")},yy=function(t){return Me(t)};function vy(e){var t=e||NB,n=t.device,r=t.browser,i=t.os,a=t.engine,l=t.ua;return{isSmartTV:WB(n),isConsole:YB(n),isWearable:UB(n),isEmbedded:GB(n),isMobileSafari:ly(r)||or(),isChromium:iy(r),isMobile:zB(n)||or(),isMobileOnly:VB(n),isTablet:HB(n)||or(),isBrowser:El(n),isDesktop:El(n),isAndroid:JB(i),isWinPhone:$B(i),isIOS:ey(i)||or(),isChrome:ry(r),isFirefox:oy(r),isSafari:ay(r),isOpera:cy(r),isIE:uy(r),osVersion:ty(i),osName:ny(i),fullBrowserVersion:gy(r),browserVersion:fy(r),browserName:py(r),mobileVendor:KB(n),mobileModel:_B(n),engineName:hy(a),engineVersion:Cy(a),getUA:yy(l),isEdge:ml(r)||fi(l),isYandex:sy(r),deviceType:qB(n),isIOS13:my(),isIPad13:or(),isIPhone13:Iy(),isIPod13:By(),isElectron:Ey(),isEdgeChromium:fi(l),isLegacyEdge:ml(r)&&!fi(l),isWindows:XB(i),isMacOs:ZB(i),isMIUI:Ay(r),isSamsungBrowser:dy(r)}}var by=WB(xn),Qy=YB(xn),xy=UB(xn),vN=GB(xn),bN=ly(en)||or(),QN=iy(en),ac=zB(xn)||or(),wy=VB(xn),Ty=HB(xn)||or(),Py=El(xn),xN=El(xn),Sy=JB(io),Ry=$B(io),Oy=ey(io)||or(),wN=ry(en),TN=oy(en),PN=ay(en),SN=cy(en),Dy=uy(en),RN=ty(io),ON=ny(io),DN=gy(en),MN=fy(en),jN=py(en),kN=KB(xn),FN=_B(xn),LN=hy(yg),NN=Cy(yg),VN=yy(Ms),HN=ml(en)||fi(Ms),zN=sy(en),WN=qB(xn),UN=my(),YN=or(),GN=Iy(),KN=By(),_N=Ey(),qN=fi(Ms),JN=ml(en)&&!fi(Ms),XN=XB(io),ZN=ZB(io),$N=Ay(en),e7=dy(en),t7=function(t){if(!t||typeof t!="string"){console.error("No valid user agent string was provided");return}var n=js(t),r=n.device,i=n.browser,a=n.os,l=n.engine,u=n.ua;return vy({device:r,browser:i,os:a,engine:l,ua:u})},n7=function(t){var n=t.renderWithFragment,r=t.children,i=zn(t,["renderWithFragment","children"]);return Sy?n?ft.createElement(Zt.Fragment,null,r):ft.createElement("div",i,r):null},r7=function(t){var n=t.renderWithFragment,r=t.children,i=zn(t,["renderWithFragment","children"]);return Py?n?ft.createElement(Zt.Fragment,null,r):ft.createElement("div",i,r):null},o7=function(t){var n=t.renderWithFragment,r=t.children,i=zn(t,["renderWithFragment","children"]);return Dy?n?ft.createElement(Zt.Fragment,null,r):ft.createElement("div",i,r):null},i7=function(t){var n=t.renderWithFragment,r=t.children,i=zn(t,["renderWithFragment","children"]);return Oy?n?ft.createElement(Zt.Fragment,null,r):ft.createElement("div",i,r):null},s7=function(t){var n=t.renderWithFragment,r=t.children,i=zn(t,["renderWithFragment","children"]);return ac?n?ft.createElement(Zt.Fragment,null,r):ft.createElement("div",i,r):null},a7=function(t){var n=t.renderWithFragment,r=t.children,i=zn(t,["renderWithFragment","children"]);return Ty?n?ft.createElement(Zt.Fragment,null,r):ft.createElement("div",i,r):null},l7=function(t){var n=t.renderWithFragment,r=t.children,i=zn(t,["renderWithFragment","children"]);return Ry?n?ft.createElement(Zt.Fragment,null,r):ft.createElement("div",i,r):null},c7=function(t){var n=t.renderWithFragment,r=t.children;t.viewClassName,t.style;var i=zn(t,["renderWithFragment","children","viewClassName","style"]);return wy?n?ft.createElement(Zt.Fragment,null,r):ft.createElement("div",i,r):null},u7=function(t){var n=t.renderWithFragment,r=t.children,i=zn(t,["renderWithFragment","children"]);return by?n?ft.createElement(Zt.Fragment,null,r):ft.createElement("div",i,r):null},A7=function(t){var n=t.renderWithFragment,r=t.children,i=zn(t,["renderWithFragment","children"]);return Qy?n?ft.createElement(Zt.Fragment,null,r):ft.createElement("div",i,r):null},d7=function(t){var n=t.renderWithFragment,r=t.children,i=zn(t,["renderWithFragment","children"]);return xy?n?ft.createElement(Zt.Fragment,null,r):ft.createElement("div",i,r):null},g7=function(t){var n=t.renderWithFragment,r=t.children;t.viewClassName,t.style;var i=t.condition,a=zn(t,["renderWithFragment","children","viewClassName","style","condition"]);return i?n?ft.createElement(Zt.Fragment,null,r):ft.createElement("div",a,r):null};function f7(e){return function(t){sN(n,t);function n(r){var i;return rN(this,n),i=lN(this,WA(n).call(this,r)),i.isEventListenerAdded=!1,i.handleOrientationChange=i.handleOrientationChange.bind(Ua(i)),i.onOrientationChange=i.onOrientationChange.bind(Ua(i)),i.onPageLoad=i.onPageLoad.bind(Ua(i)),i.state={isLandscape:!1,isPortrait:!1},i}return oN(n,[{key:"handleOrientationChange",value:function(){this.isEventListenerAdded||(this.isEventListenerAdded=!0);var i=window.innerWidth>window.innerHeight?90:0;this.setState({isPortrait:i===0,isLandscape:i===90})}},{key:"onOrientationChange",value:function(){this.handleOrientationChange()}},{key:"onPageLoad",value:function(){this.handleOrientationChange()}},{key:"componentDidMount",value:function(){(typeof window>"u"?"undefined":ps(window))!==void 0&&ac&&(this.isEventListenerAdded?window.removeEventListener("load",this.onPageLoad,!1):(this.handleOrientationChange(),window.addEventListener("load",this.onPageLoad,!1)),window.addEventListener("resize",this.onOrientationChange,!1))}},{key:"componentWillUnmount",value:function(){window.removeEventListener("resize",this.onOrientationChange,!1)}},{key:"render",value:function(){return ft.createElement(e,zA({},this.props,{isLandscape:this.state.isLandscape,isPortrait:this.state.isPortrait}))}}]),n}(ft.Component)}function p7(){var e=Zt.useState(function(){var a=window.innerWidth>window.innerHeight?90:0;return{isPortrait:a===0,isLandscape:a===90,orientation:a===0?"portrait":"landscape"}}),t=cN(e,2),n=t[0],r=t[1],i=Zt.useCallback(function(){var a=window.innerWidth>window.innerHeight?90:0,l={isPortrait:a===0,isLandscape:a===90,orientation:a===0?"portrait":"landscape"};n.orientation!==l.orientation&&r(l)},[n.orientation]);return Zt.useEffect(function(){return(typeof window>"u"?"undefined":ps(window))!==void 0&&ac&&(i(),window.addEventListener("load",i,!1),window.addEventListener("resize",i,!1)),function(){window.removeEventListener("resize",i,!1),window.removeEventListener("load",i,!1)}},[i]),n}function My(e){var t=e||window.navigator.userAgent;return js(t)}function h7(e){var t=e||window.navigator.userAgent,n=My(t),r=vy(n);return[r,n]}me.AndroidView=n7;me.BrowserTypes=gn;var C7=me.BrowserView=r7;me.ConsoleView=A7;me.CustomView=g7;me.IEView=o7;me.IOSView=i7;me.MobileOnlyView=c7;var E7=me.MobileView=s7;me.OsTypes=Ti;me.SmartTVView=u7;me.TabletView=a7;me.WearableView=d7;me.WinPhoneView=l7;me.browserName=jN;me.browserVersion=MN;me.deviceDetect=yN;me.deviceType=WN;me.engineName=LN;me.engineVersion=NN;me.fullBrowserVersion=DN;me.getSelectorsByUserAgent=t7;me.getUA=VN;me.isAndroid=Sy;me.isBrowser=Py;me.isChrome=wN;me.isChromium=QN;me.isConsole=Qy;me.isDesktop=xN;me.isEdge=HN;me.isEdgeChromium=qN;me.isElectron=_N;me.isEmbedded=vN;me.isFirefox=TN;me.isIE=Dy;me.isIOS=Oy;me.isIOS13=UN;me.isIPad13=YN;me.isIPhone13=GN;me.isIPod13=KN;me.isLegacyEdge=JN;me.isMIUI=$N;me.isMacOs=ZN;me.isMobile=ac;me.isMobileOnly=wy;me.isMobileSafari=bN;me.isOpera=SN;me.isSafari=PN;me.isSamsungBrowser=e7;me.isSmartTV=by;me.isTablet=Ty;me.isWearable=xy;me.isWinPhone=Ry;me.isWindows=XN;me.isYandex=zN;me.mobileModel=FN;me.mobileVendor=kN;me.osName=ON;me.osVersion=RN;me.parseUserAgent=js;me.setUserAgent=hN;me.useDeviceData=My;me.useDeviceSelectors=h7;me.useMobileOrientation=p7;me.withOrientationChange=f7;var m7=typeof global=="object"&&global&&global.Object===Object&&global;const I7=m7;var B7=typeof self=="object"&&self&&self.Object===Object&&self,y7=I7||B7||Function("return this")();const jy=y7;var v7=jy.Symbol;const Il=v7;var ky=Object.prototype,b7=ky.hasOwnProperty,Q7=ky.toString,Zi=Il?Il.toStringTag:void 0;function x7(e){var t=b7.call(e,Zi),n=e[Zi];try{e[Zi]=void 0;var r=!0}catch{}var i=Q7.call(e);return r&&(t?e[Zi]=n:delete e[Zi]),i}var w7=Object.prototype,T7=w7.toString;function P7(e){return T7.call(e)}var S7="[object Null]",R7="[object Undefined]",NE=Il?Il.toStringTag:void 0;function O7(e){return e==null?e===void 0?R7:S7:NE&&NE in Object(e)?x7(e):P7(e)}function D7(e){return e!=null&&typeof e=="object"}var M7="[object Symbol]";function j7(e){return typeof e=="symbol"||D7(e)&&O7(e)==M7}var k7=/\s/;function F7(e){for(var t=e.length;t--&&k7.test(e.charAt(t)););return t}var L7=/^\s+/;function N7(e){return e&&e.slice(0,F7(e)+1).replace(L7,"")}function Bl(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var VE=0/0,V7=/^[-+]0x[0-9a-f]+$/i,H7=/^0b[01]+$/i,z7=/^0o[0-7]+$/i,W7=parseInt;function HE(e){if(typeof e=="number")return e;if(j7(e))return VE;if(Bl(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=Bl(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=N7(e);var n=H7.test(e);return n||z7.test(e)?W7(e.slice(2),n?2:8):V7.test(e)?VE:+e}var U7=function(){return jy.Date.now()};const $u=U7;var Y7="Expected a function",G7=Math.max,K7=Math.min;function Ya(e,t,n){var r,i,a,l,u,d,g=0,p=!1,E=!1,h=!0;if(typeof e!="function")throw new TypeError(Y7);t=HE(t)||0,Bl(n)&&(p=!!n.leading,E="maxWait"in n,a=E?G7(HE(n.maxWait)||0,t):a,h="trailing"in n?!!n.trailing:h);function m(H){var F=r,K=i;return r=i=void 0,g=H,l=e.apply(K,F),l}function I(H){return g=H,u=setTimeout(O,t),p?m(H):l}function B(H){var F=H-d,K=H-g,Z=t-F;return E?K7(Z,a-K):Z}function y(H){var F=H-d,K=H-g;return d===void 0||F>=t||F<0||E&&K>=a}function O(){var H=$u();if(y(H))return M(H);u=setTimeout(O,B(H))}function M(H){return u=void 0,h&&r?m(H):(r=i=void 0,l)}function w(){u!==void 0&&clearTimeout(u),g=0,r=d=i=u=void 0}function T(){return u===void 0?l:M($u())}function P(){var H=$u(),F=y(H);if(r=arguments,i=this,d=H,F){if(u===void 0)return I(d);if(E)return clearTimeout(u),u=setTimeout(O,t),m(d)}return u===void 0&&(u=setTimeout(O,t)),l}return P.cancel=w,P.flush=T,P}var _7="Expected a function";function q7(e,t,n){var r=!0,i=!0;if(typeof e!="function")throw new TypeError(_7);return Bl(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),Ya(e,t,{leading:r,maxWait:t,trailing:i})}var J7=!!(typeof window<"u"&&window.document&&window.document.createElement),X7=J7;const Fy=Ii(X7);var Ai=function(){return Ai=Object.assign||function(t){for(var n,r=1,i=arguments.length;r<i;r++){n=arguments[r];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(t[a]=n[a])}return t},Ai.apply(this,arguments)},si=null,zE=null;Fy&&window.addEventListener("resize",function(){zE!==window.devicePixelRatio&&(zE=window.devicePixelRatio,si=null)});function WE(){if(si===null){if(typeof document>"u")return si=0,si;var e=document.body,t=document.createElement("div");t.classList.add("simplebar-hide-scrollbar"),e.appendChild(t);var n=t.getBoundingClientRect().right;e.removeChild(t),si=n}return si}function Ly(e){return!e||!e.ownerDocument||!e.ownerDocument.defaultView?window:e.ownerDocument.defaultView}function Ny(e){return!e||!e.ownerDocument?document:e.ownerDocument}var Vy=function(e){var t={},n=Array.prototype.reduce.call(e,function(r,i){var a=i.name.match(/data-simplebar-(.+)/);if(a){var l=a[1].replace(/\W+(.)/g,function(u,d){return d.toUpperCase()});switch(i.value){case"true":r[l]=!0;break;case"false":r[l]=!1;break;case void 0:r[l]=!0;break;default:r[l]=i.value}}return r},t);return n};function Hy(e,t){var n;e&&(n=e.classList).add.apply(n,t.split(" "))}function zy(e,t){e&&t.split(" ").forEach(function(n){e.classList.remove(n)})}function Wy(e){return".".concat(e.split(" ").join("."))}var Z7=Object.freeze({__proto__:null,getElementWindow:Ly,getElementDocument:Ny,getOptions:Vy,addClasses:Hy,removeClasses:zy,classNamesToQuery:Wy}),Vr=Ly,eA=Ny,$7=Vy,Hr=Hy,zr=zy,An=Wy,ja=function(){function e(t,n){n===void 0&&(n={});var r=this;if(this.removePreventClickId=null,this.minScrollbarWidth=20,this.stopScrollDelay=175,this.isScrolling=!1,this.isMouseEntering=!1,this.scrollXTicking=!1,this.scrollYTicking=!1,this.wrapperEl=null,this.contentWrapperEl=null,this.contentEl=null,this.offsetEl=null,this.maskEl=null,this.placeholderEl=null,this.heightAutoObserverWrapperEl=null,this.heightAutoObserverEl=null,this.rtlHelpers=null,this.scrollbarWidth=0,this.resizeObserver=null,this.mutationObserver=null,this.elStyles=null,this.isRtl=null,this.mouseX=0,this.mouseY=0,this.onMouseMove=function(){},this.onWindowResize=function(){},this.onStopScrolling=function(){},this.onMouseEntered=function(){},this.onScroll=function(){var i=Vr(r.el);r.scrollXTicking||(i.requestAnimationFrame(r.scrollX),r.scrollXTicking=!0),r.scrollYTicking||(i.requestAnimationFrame(r.scrollY),r.scrollYTicking=!0),r.isScrolling||(r.isScrolling=!0,Hr(r.el,r.classNames.scrolling)),r.showScrollbar("x"),r.showScrollbar("y"),r.onStopScrolling()},this.scrollX=function(){r.axis.x.isOverflowing&&r.positionScrollbar("x"),r.scrollXTicking=!1},this.scrollY=function(){r.axis.y.isOverflowing&&r.positionScrollbar("y"),r.scrollYTicking=!1},this._onStopScrolling=function(){zr(r.el,r.classNames.scrolling),r.options.autoHide&&(r.hideScrollbar("x"),r.hideScrollbar("y")),r.isScrolling=!1},this.onMouseEnter=function(){r.isMouseEntering||(Hr(r.el,r.classNames.mouseEntered),r.showScrollbar("x"),r.showScrollbar("y"),r.isMouseEntering=!0),r.onMouseEntered()},this._onMouseEntered=function(){zr(r.el,r.classNames.mouseEntered),r.options.autoHide&&(r.hideScrollbar("x"),r.hideScrollbar("y")),r.isMouseEntering=!1},this._onMouseMove=function(i){r.mouseX=i.clientX,r.mouseY=i.clientY,(r.axis.x.isOverflowing||r.axis.x.forceVisible)&&r.onMouseMoveForAxis("x"),(r.axis.y.isOverflowing||r.axis.y.forceVisible)&&r.onMouseMoveForAxis("y")},this.onMouseLeave=function(){r.onMouseMove.cancel(),(r.axis.x.isOverflowing||r.axis.x.forceVisible)&&r.onMouseLeaveForAxis("x"),(r.axis.y.isOverflowing||r.axis.y.forceVisible)&&r.onMouseLeaveForAxis("y"),r.mouseX=-1,r.mouseY=-1},this._onWindowResize=function(){r.scrollbarWidth=r.getScrollbarWidth(),r.hideNativeScrollbar()},this.onPointerEvent=function(i){if(!(!r.axis.x.track.el||!r.axis.y.track.el||!r.axis.x.scrollbar.el||!r.axis.y.scrollbar.el)){var a,l;r.axis.x.track.rect=r.axis.x.track.el.getBoundingClientRect(),r.axis.y.track.rect=r.axis.y.track.el.getBoundingClientRect(),(r.axis.x.isOverflowing||r.axis.x.forceVisible)&&(a=r.isWithinBounds(r.axis.x.track.rect)),(r.axis.y.isOverflowing||r.axis.y.forceVisible)&&(l=r.isWithinBounds(r.axis.y.track.rect)),(a||l)&&(i.stopPropagation(),i.type==="pointerdown"&&i.pointerType!=="touch"&&(a&&(r.axis.x.scrollbar.rect=r.axis.x.scrollbar.el.getBoundingClientRect(),r.isWithinBounds(r.axis.x.scrollbar.rect)?r.onDragStart(i,"x"):r.onTrackClick(i,"x")),l&&(r.axis.y.scrollbar.rect=r.axis.y.scrollbar.el.getBoundingClientRect(),r.isWithinBounds(r.axis.y.scrollbar.rect)?r.onDragStart(i,"y"):r.onTrackClick(i,"y"))))}},this.drag=function(i){var a,l,u,d,g,p,E,h,m,I,B;if(!(!r.draggedAxis||!r.contentWrapperEl)){var y,O=r.axis[r.draggedAxis].track,M=(l=(a=O.rect)===null||a===void 0?void 0:a[r.axis[r.draggedAxis].sizeAttr])!==null&&l!==void 0?l:0,w=r.axis[r.draggedAxis].scrollbar,T=(d=(u=r.contentWrapperEl)===null||u===void 0?void 0:u[r.axis[r.draggedAxis].scrollSizeAttr])!==null&&d!==void 0?d:0,P=parseInt((p=(g=r.elStyles)===null||g===void 0?void 0:g[r.axis[r.draggedAxis].sizeAttr])!==null&&p!==void 0?p:"0px",10);i.preventDefault(),i.stopPropagation(),r.draggedAxis==="y"?y=i.pageY:y=i.pageX;var H=y-((h=(E=O.rect)===null||E===void 0?void 0:E[r.axis[r.draggedAxis].offsetAttr])!==null&&h!==void 0?h:0)-r.axis[r.draggedAxis].dragOffset;H=r.draggedAxis==="x"&&r.isRtl?((I=(m=O.rect)===null||m===void 0?void 0:m[r.axis[r.draggedAxis].sizeAttr])!==null&&I!==void 0?I:0)-w.size-H:H;var F=H/(M-w.size),K=F*(T-P);r.draggedAxis==="x"&&r.isRtl&&(K=!((B=e.getRtlHelpers())===null||B===void 0)&&B.isScrollingToNegative?-K:K),r.contentWrapperEl[r.axis[r.draggedAxis].scrollOffsetAttr]=K}},this.onEndDrag=function(i){var a=eA(r.el),l=Vr(r.el);i.preventDefault(),i.stopPropagation(),zr(r.el,r.classNames.dragging),a.removeEventListener("mousemove",r.drag,!0),a.removeEventListener("mouseup",r.onEndDrag,!0),r.removePreventClickId=l.setTimeout(function(){a.removeEventListener("click",r.preventClick,!0),a.removeEventListener("dblclick",r.preventClick,!0),r.removePreventClickId=null})},this.preventClick=function(i){i.preventDefault(),i.stopPropagation()},this.el=t,this.options=Ai(Ai({},e.defaultOptions),n),this.classNames=Ai(Ai({},e.defaultOptions.classNames),n.classNames),this.axis={x:{scrollOffsetAttr:"scrollLeft",sizeAttr:"width",scrollSizeAttr:"scrollWidth",offsetSizeAttr:"offsetWidth",offsetAttr:"left",overflowAttr:"overflowX",dragOffset:0,isOverflowing:!0,forceVisible:!1,track:{size:null,el:null,rect:null,isVisible:!1},scrollbar:{size:null,el:null,rect:null,isVisible:!1}},y:{scrollOffsetAttr:"scrollTop",sizeAttr:"height",scrollSizeAttr:"scrollHeight",offsetSizeAttr:"offsetHeight",offsetAttr:"top",overflowAttr:"overflowY",dragOffset:0,isOverflowing:!0,forceVisible:!1,track:{size:null,el:null,rect:null,isVisible:!1},scrollbar:{size:null,el:null,rect:null,isVisible:!1}}},typeof this.el!="object"||!this.el.nodeName)throw new Error("Argument passed to SimpleBar must be an HTML element instead of ".concat(this.el));this.onMouseMove=q7(this._onMouseMove,64),this.onWindowResize=Ya(this._onWindowResize,64,{leading:!0}),this.onStopScrolling=Ya(this._onStopScrolling,this.stopScrollDelay),this.onMouseEntered=Ya(this._onMouseEntered,this.stopScrollDelay),this.init()}return e.getRtlHelpers=function(){if(e.rtlHelpers)return e.rtlHelpers;var t=document.createElement("div");t.innerHTML='<div class="simplebar-dummy-scrollbar-size"><div></div></div>';var n=t.firstElementChild,r=n==null?void 0:n.firstElementChild;if(!r)return null;document.body.appendChild(n),n.scrollLeft=0;var i=e.getOffset(n),a=e.getOffset(r);n.scrollLeft=-999;var l=e.getOffset(r);return document.body.removeChild(n),e.rtlHelpers={isScrollOriginAtZero:i.left!==a.left,isScrollingToNegative:a.left!==l.left},e.rtlHelpers},e.prototype.getScrollbarWidth=function(){try{return this.contentWrapperEl&&getComputedStyle(this.contentWrapperEl,"::-webkit-scrollbar").display==="none"||"scrollbarWidth"in document.documentElement.style||"-ms-overflow-style"in document.documentElement.style?0:WE()}catch{return WE()}},e.getOffset=function(t){var n=t.getBoundingClientRect(),r=eA(t),i=Vr(t);return{top:n.top+(i.pageYOffset||r.documentElement.scrollTop),left:n.left+(i.pageXOffset||r.documentElement.scrollLeft)}},e.prototype.init=function(){Fy&&(this.initDOM(),this.rtlHelpers=e.getRtlHelpers(),this.scrollbarWidth=this.getScrollbarWidth(),this.recalculate(),this.initListeners())},e.prototype.initDOM=function(){var t,n;this.wrapperEl=this.el.querySelector(An(this.classNames.wrapper)),this.contentWrapperEl=this.options.scrollableNode||this.el.querySelector(An(this.classNames.contentWrapper)),this.contentEl=this.options.contentNode||this.el.querySelector(An(this.classNames.contentEl)),this.offsetEl=this.el.querySelector(An(this.classNames.offset)),this.maskEl=this.el.querySelector(An(this.classNames.mask)),this.placeholderEl=this.findChild(this.wrapperEl,An(this.classNames.placeholder)),this.heightAutoObserverWrapperEl=this.el.querySelector(An(this.classNames.heightAutoObserverWrapperEl)),this.heightAutoObserverEl=this.el.querySelector(An(this.classNames.heightAutoObserverEl)),this.axis.x.track.el=this.findChild(this.el,"".concat(An(this.classNames.track)).concat(An(this.classNames.horizontal))),this.axis.y.track.el=this.findChild(this.el,"".concat(An(this.classNames.track)).concat(An(this.classNames.vertical))),this.axis.x.scrollbar.el=((t=this.axis.x.track.el)===null||t===void 0?void 0:t.querySelector(An(this.classNames.scrollbar)))||null,this.axis.y.scrollbar.el=((n=this.axis.y.track.el)===null||n===void 0?void 0:n.querySelector(An(this.classNames.scrollbar)))||null,this.options.autoHide||(Hr(this.axis.x.scrollbar.el,this.classNames.visible),Hr(this.axis.y.scrollbar.el,this.classNames.visible))},e.prototype.initListeners=function(){var t=this,n,r=Vr(this.el);if(this.el.addEventListener("mouseenter",this.onMouseEnter),this.el.addEventListener("pointerdown",this.onPointerEvent,!0),this.el.addEventListener("mousemove",this.onMouseMove),this.el.addEventListener("mouseleave",this.onMouseLeave),(n=this.contentWrapperEl)===null||n===void 0||n.addEventListener("scroll",this.onScroll),r.addEventListener("resize",this.onWindowResize),!!this.contentEl){if(window.ResizeObserver){var i=!1,a=r.ResizeObserver||ResizeObserver;this.resizeObserver=new a(function(){i&&r.requestAnimationFrame(function(){t.recalculate()})}),this.resizeObserver.observe(this.el),this.resizeObserver.observe(this.contentEl),r.requestAnimationFrame(function(){i=!0})}this.mutationObserver=new r.MutationObserver(function(){r.requestAnimationFrame(function(){t.recalculate()})}),this.mutationObserver.observe(this.contentEl,{childList:!0,subtree:!0,characterData:!0})}},e.prototype.recalculate=function(){if(!(!this.heightAutoObserverEl||!this.contentEl||!this.contentWrapperEl||!this.wrapperEl||!this.placeholderEl)){var t=Vr(this.el);this.elStyles=t.getComputedStyle(this.el),this.isRtl=this.elStyles.direction==="rtl";var n=this.contentEl.offsetWidth,r=this.heightAutoObserverEl.offsetHeight<=1,i=this.heightAutoObserverEl.offsetWidth<=1||n>0,a=this.contentWrapperEl.offsetWidth,l=this.elStyles.overflowX,u=this.elStyles.overflowY;this.contentEl.style.padding="".concat(this.elStyles.paddingTop," ").concat(this.elStyles.paddingRight," ").concat(this.elStyles.paddingBottom," ").concat(this.elStyles.paddingLeft),this.wrapperEl.style.margin="-".concat(this.elStyles.paddingTop," -").concat(this.elStyles.paddingRight," -").concat(this.elStyles.paddingBottom," -").concat(this.elStyles.paddingLeft);var d=this.contentEl.scrollHeight,g=this.contentEl.scrollWidth;this.contentWrapperEl.style.height=r?"auto":"100%",this.placeholderEl.style.width=i?"".concat(n||g,"px"):"auto",this.placeholderEl.style.height="".concat(d,"px");var p=this.contentWrapperEl.offsetHeight;this.axis.x.isOverflowing=n!==0&&g>n,this.axis.y.isOverflowing=d>p,this.axis.x.isOverflowing=l==="hidden"?!1:this.axis.x.isOverflowing,this.axis.y.isOverflowing=u==="hidden"?!1:this.axis.y.isOverflowing,this.axis.x.forceVisible=this.options.forceVisible==="x"||this.options.forceVisible===!0,this.axis.y.forceVisible=this.options.forceVisible==="y"||this.options.forceVisible===!0,this.hideNativeScrollbar();var E=this.axis.x.isOverflowing?this.scrollbarWidth:0,h=this.axis.y.isOverflowing?this.scrollbarWidth:0;this.axis.x.isOverflowing=this.axis.x.isOverflowing&&g>a-h,this.axis.y.isOverflowing=this.axis.y.isOverflowing&&d>p-E,this.axis.x.scrollbar.size=this.getScrollbarSize("x"),this.axis.y.scrollbar.size=this.getScrollbarSize("y"),this.axis.x.scrollbar.el&&(this.axis.x.scrollbar.el.style.width="".concat(this.axis.x.scrollbar.size,"px")),this.axis.y.scrollbar.el&&(this.axis.y.scrollbar.el.style.height="".concat(this.axis.y.scrollbar.size,"px")),this.positionScrollbar("x"),this.positionScrollbar("y"),this.toggleTrackVisibility("x"),this.toggleTrackVisibility("y")}},e.prototype.getScrollbarSize=function(t){var n,r;if(t===void 0&&(t="y"),!this.axis[t].isOverflowing||!this.contentEl)return 0;var i=this.contentEl[this.axis[t].scrollSizeAttr],a=(r=(n=this.axis[t].track.el)===null||n===void 0?void 0:n[this.axis[t].offsetSizeAttr])!==null&&r!==void 0?r:0,l=a/i,u;return u=Math.max(~~(l*a),this.options.scrollbarMinSize),this.options.scrollbarMaxSize&&(u=Math.min(u,this.options.scrollbarMaxSize)),u},e.prototype.positionScrollbar=function(t){var n,r,i;t===void 0&&(t="y");var a=this.axis[t].scrollbar;if(!(!this.axis[t].isOverflowing||!this.contentWrapperEl||!a.el||!this.elStyles)){var l=this.contentWrapperEl[this.axis[t].scrollSizeAttr],u=((n=this.axis[t].track.el)===null||n===void 0?void 0:n[this.axis[t].offsetSizeAttr])||0,d=parseInt(this.elStyles[this.axis[t].sizeAttr],10),g=this.contentWrapperEl[this.axis[t].scrollOffsetAttr];g=t==="x"&&this.isRtl&&(!((r=e.getRtlHelpers())===null||r===void 0)&&r.isScrollOriginAtZero)?-g:g,t==="x"&&this.isRtl&&(g=!((i=e.getRtlHelpers())===null||i===void 0)&&i.isScrollingToNegative?g:-g);var p=g/(l-d),E=~~((u-a.size)*p);E=t==="x"&&this.isRtl?-E+(u-a.size):E,a.el.style.transform=t==="x"?"translate3d(".concat(E,"px, 0, 0)"):"translate3d(0, ".concat(E,"px, 0)")}},e.prototype.toggleTrackVisibility=function(t){t===void 0&&(t="y");var n=this.axis[t].track.el,r=this.axis[t].scrollbar.el;!n||!r||!this.contentWrapperEl||(this.axis[t].isOverflowing||this.axis[t].forceVisible?(n.style.visibility="visible",this.contentWrapperEl.style[this.axis[t].overflowAttr]="scroll",this.el.classList.add("".concat(this.classNames.scrollable,"-").concat(t))):(n.style.visibility="hidden",this.contentWrapperEl.style[this.axis[t].overflowAttr]="hidden",this.el.classList.remove("".concat(this.classNames.scrollable,"-").concat(t))),this.axis[t].isOverflowing?r.style.display="block":r.style.display="none")},e.prototype.showScrollbar=function(t){t===void 0&&(t="y"),this.axis[t].isOverflowing&&!this.axis[t].scrollbar.isVisible&&(Hr(this.axis[t].scrollbar.el,this.classNames.visible),this.axis[t].scrollbar.isVisible=!0)},e.prototype.hideScrollbar=function(t){t===void 0&&(t="y"),this.axis[t].isOverflowing&&this.axis[t].scrollbar.isVisible&&(zr(this.axis[t].scrollbar.el,this.classNames.visible),this.axis[t].scrollbar.isVisible=!1)},e.prototype.hideNativeScrollbar=function(){this.offsetEl&&(this.offsetEl.style[this.isRtl?"left":"right"]=this.axis.y.isOverflowing||this.axis.y.forceVisible?"-".concat(this.scrollbarWidth,"px"):"0px",this.offsetEl.style.bottom=this.axis.x.isOverflowing||this.axis.x.forceVisible?"-".concat(this.scrollbarWidth,"px"):"0px")},e.prototype.onMouseMoveForAxis=function(t){t===void 0&&(t="y");var n=this.axis[t];!n.track.el||!n.scrollbar.el||(n.track.rect=n.track.el.getBoundingClientRect(),n.scrollbar.rect=n.scrollbar.el.getBoundingClientRect(),this.isWithinBounds(n.track.rect)?(this.showScrollbar(t),Hr(n.track.el,this.classNames.hover),this.isWithinBounds(n.scrollbar.rect)?Hr(n.scrollbar.el,this.classNames.hover):zr(n.scrollbar.el,this.classNames.hover)):(zr(n.track.el,this.classNames.hover),this.options.autoHide&&this.hideScrollbar(t)))},e.prototype.onMouseLeaveForAxis=function(t){t===void 0&&(t="y"),zr(this.axis[t].track.el,this.classNames.hover),zr(this.axis[t].scrollbar.el,this.classNames.hover),this.options.autoHide&&this.hideScrollbar(t)},e.prototype.onDragStart=function(t,n){var r;n===void 0&&(n="y");var i=eA(this.el),a=Vr(this.el),l=this.axis[n].scrollbar,u=n==="y"?t.pageY:t.pageX;this.axis[n].dragOffset=u-(((r=l.rect)===null||r===void 0?void 0:r[this.axis[n].offsetAttr])||0),this.draggedAxis=n,Hr(this.el,this.classNames.dragging),i.addEventListener("mousemove",this.drag,!0),i.addEventListener("mouseup",this.onEndDrag,!0),this.removePreventClickId===null?(i.addEventListener("click",this.preventClick,!0),i.addEventListener("dblclick",this.preventClick,!0)):(a.clearTimeout(this.removePreventClickId),this.removePreventClickId=null)},e.prototype.onTrackClick=function(t,n){var r=this,i,a,l,u;n===void 0&&(n="y");var d=this.axis[n];if(!(!this.options.clickOnTrack||!d.scrollbar.el||!this.contentWrapperEl)){t.preventDefault();var g=Vr(this.el);this.axis[n].scrollbar.rect=d.scrollbar.el.getBoundingClientRect();var p=this.axis[n].scrollbar,E=(a=(i=p.rect)===null||i===void 0?void 0:i[this.axis[n].offsetAttr])!==null&&a!==void 0?a:0,h=parseInt((u=(l=this.elStyles)===null||l===void 0?void 0:l[this.axis[n].sizeAttr])!==null&&u!==void 0?u:"0px",10),m=this.contentWrapperEl[this.axis[n].scrollOffsetAttr],I=n==="y"?this.mouseY-E:this.mouseX-E,B=I<0?-1:1,y=B===-1?m-h:m+h,O=40,M=function(){r.contentWrapperEl&&(B===-1?m>y&&(m-=O,r.contentWrapperEl[r.axis[n].scrollOffsetAttr]=m,g.requestAnimationFrame(M)):m<y&&(m+=O,r.contentWrapperEl[r.axis[n].scrollOffsetAttr]=m,g.requestAnimationFrame(M)))};M()}},e.prototype.getContentElement=function(){return this.contentEl},e.prototype.getScrollElement=function(){return this.contentWrapperEl},e.prototype.removeListeners=function(){var t=Vr(this.el);this.el.removeEventListener("mouseenter",this.onMouseEnter),this.el.removeEventListener("pointerdown",this.onPointerEvent,!0),this.el.removeEventListener("mousemove",this.onMouseMove),this.el.removeEventListener("mouseleave",this.onMouseLeave),this.contentWrapperEl&&this.contentWrapperEl.removeEventListener("scroll",this.onScroll),t.removeEventListener("resize",this.onWindowResize),this.mutationObserver&&this.mutationObserver.disconnect(),this.resizeObserver&&this.resizeObserver.disconnect(),this.onMouseMove.cancel(),this.onWindowResize.cancel(),this.onStopScrolling.cancel(),this.onMouseEntered.cancel()},e.prototype.unMount=function(){this.removeListeners()},e.prototype.isWithinBounds=function(t){return this.mouseX>=t.left&&this.mouseX<=t.left+t.width&&this.mouseY>=t.top&&this.mouseY<=t.top+t.height},e.prototype.findChild=function(t,n){var r=t.matches||t.webkitMatchesSelector||t.mozMatchesSelector||t.msMatchesSelector;return Array.prototype.filter.call(t.children,function(i){return r.call(i,n)})[0]},e.rtlHelpers=null,e.defaultOptions={forceVisible:!1,clickOnTrack:!0,scrollbarMinSize:25,scrollbarMaxSize:0,ariaLabel:"scrollable content",classNames:{contentEl:"simplebar-content",contentWrapper:"simplebar-content-wrapper",offset:"simplebar-offset",mask:"simplebar-mask",wrapper:"simplebar-wrapper",placeholder:"simplebar-placeholder",scrollbar:"simplebar-scrollbar",track:"simplebar-track",heightAutoObserverWrapperEl:"simplebar-height-auto-observer-wrapper",heightAutoObserverEl:"simplebar-height-auto-observer",visible:"simplebar-visible",horizontal:"simplebar-horizontal",vertical:"simplebar-vertical",hover:"simplebar-hover",dragging:"simplebar-dragging",scrolling:"simplebar-scrolling",scrollable:"simplebar-scrollable",mouseEntered:"simplebar-mouse-entered"},scrollableNode:null,contentNode:null,autoHide:!0},e.getOptions=$7,e.helpers=Z7,e}(),vn=function(){return vn=Object.assign||function(t){for(var n,r=1,i=arguments.length;r<i;r++){n=arguments[r];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(t[a]=n[a])}return t},vn.apply(this,arguments)};function eV(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n}var Uy=k.forwardRef(function(e,t){var n=e.children,r=e.scrollableNodeProps,i=r===void 0?{}:r,a=eV(e,["children","scrollableNodeProps"]),l=k.useRef(),u=k.useRef(),d=k.useRef(),g={},p={};Object.keys(a).forEach(function(m){Object.prototype.hasOwnProperty.call(ja.defaultOptions,m)?g[m]=a[m]:p[m]=a[m]});var E=vn(vn({},ja.defaultOptions.classNames),g.classNames),h=vn(vn({},i),{className:"".concat(E.contentWrapper).concat(i.className?" ".concat(i.className):""),tabIndex:0,role:"region","aria-label":g.ariaLabel||ja.defaultOptions.ariaLabel});return k.useEffect(function(){var m;return u.current=h.ref?h.ref.current:u.current,l.current&&(m=new ja(l.current,vn(vn(vn({},g),u.current&&{scrollableNode:u.current}),d.current&&{contentNode:d.current})),typeof t=="function"?t(m):t&&(t.current=m)),function(){m==null||m.unMount(),m=null,typeof t=="function"&&t(null)}},[]),k.createElement("div",vn({"data-simplebar":"init",ref:l},p),k.createElement("div",{className:E.wrapper},k.createElement("div",{className:E.heightAutoObserverWrapperEl},k.createElement("div",{className:E.heightAutoObserverEl})),k.createElement("div",{className:E.mask},k.createElement("div",{className:E.offset},typeof n=="function"?n({scrollableNodeRef:u,scrollableNodeProps:vn(vn({},h),{ref:u}),contentNodeRef:d,contentNodeProps:{className:E.contentEl,ref:d}}):k.createElement("div",vn({},h),k.createElement("div",{className:E.contentEl},n)))),k.createElement("div",{className:E.placeholder})),k.createElement("div",{className:"".concat(E.track," simplebar-horizontal")},k.createElement("div",{className:E.scrollbar})),k.createElement("div",{className:"".concat(E.track," simplebar-vertical")},k.createElement("div",{className:E.scrollbar})))});Uy.displayName="SimpleBar";const tV=ce(C7)({flexGrow:1,height:"100%",overflow:"hidden"}),nV=ce(Uy)(({theme:e})=>({maxHeight:"100%","& .simplebar-scrollbar":{"&:before":{backgroundColor:Ve(e.palette.grey[500],.48)},"&.simplebar-visible:before":{opacity:1}},"& .simplebar-track.simplebar-vertical":{width:10},"& .simplebar-track.simplebar-horizontal .simplebar-scrollbar":{height:6},"& .simplebar-mask":{zIndex:"inherit"}}));function Qg({children:e,sx:t,...n}){return f.jsxs(f.Fragment,{children:[f.jsx(tV,{children:f.jsx(nV,{timeout:500,clickOnTrack:!1,sx:t,...n,children:e})}),f.jsx(E7,{children:f.jsx(Q.Box,{sx:{overflowX:"auto",...t},...n,children:e})})]})}Qg.propTypes={children:c.node,sx:c.object};const rV=()=>f.jsx(Qg,{sx:{"& .simplebar-content":{display:"flex",flexDirection:"column"}},children:f.jsx(kB,{})}),Yy=ce(Q.Box,{shouldForwardProp:e=>e!=="open"})(({theme:e,open:t})=>({...e.mixins.toolbar,display:"flex",alignItems:"center",justifyContent:t?"flex-start":"center",paddingLeft:e.spacing(t?3:0)}));Yy.propTypes={theme:c.object,open:c.bool};const oV="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAABjwAAAX8CAYAAACRmSIiAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAUGVYSWZNTQAqAAAACAACARIAAwAAAAEAAQAAh2kABAAAAAEAAAAmAAAAAAADoAEAAwAAAAEAAQAAoAIABAAAAAEAAAY8oAMABAAAAAEAAAX8AAAAAC6mAq8AAAI0aVRYdFhNTDpjb20uYWRvYmUueG1wAAAAAAA8eDp4bXBtZXRhIHhtbG5zOng9ImFkb2JlOm5zOm1ldGEvIiB4OnhtcHRrPSJYTVAgQ29yZSA2LjAuMCI+CiAgIDxyZGY6UkRGIHhtbG5zOnJkZj0iaHR0cDovL3d3dy53My5vcmcvMTk5OS8wMi8yMi1yZGYtc3ludGF4LW5zIyI+CiAgICAgIDxyZGY6RGVzY3JpcHRpb24gcmRmOmFib3V0PSIiCiAgICAgICAgICAgIHhtbG5zOmV4aWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20vZXhpZi8xLjAvIgogICAgICAgICAgICB4bWxuczp0aWZmPSJodHRwOi8vbnMuYWRvYmUuY29tL3RpZmYvMS4wLyI+CiAgICAgICAgIDxleGlmOlBpeGVsWURpbWVuc2lvbj4xNTMyPC9leGlmOlBpeGVsWURpbWVuc2lvbj4KICAgICAgICAgP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AABAssQ+Hn/x2vbyxjIGAQIECBAgMCXAhoen5nEMHv12VMeEiBAgAABAgQIECBAgAABAgSWI+AQ8+U4GoUAAQIECBwhEI54rvdPpSWmsfcIAAgQIECAAAECBAgQIECAAIFaBNIPY56dm73ZujSe+qXLWoQNSoAAAQJ9FbDC44jKz7/wOOJpTxEgQIAAAQIECBAgQIAAAQIEFhZIv2V59W35b+OFBzIAAQIECBAg8ImAhscnHL89iDFMj3jaUwQIECBAgAABAgQIECBAgACB5QiE+P2vt67vLGcwoxAgQIAAAQJzAQ2PI94HsYyTI572FAECBAgQIECAAAECBAgQIEBgaQIhFn98cWtzuLQBDUSAAAECBHouoOFxxBsgVHF6xNOeIkCAAAECBAgQIECAAAECBAgsVSDGavxytHFxqYMajAABAgQI9FRAw+OIwodyMD3iaU8RIECAAAECBAgQIECAAAECBJYtsPZ2cGGy7EGNR4AAAQIE+iig4XFE1c+9++feEU97igABAgQIECBAgAABAgQIECBQh8CN/ZvX7tQxsDEJECBAgECfBEKfJnuaue7fvP4qXb92mntcS4AAAQIECBAgQIAAAQIECBA4q0AI5e8v33s8Oev97iNAgAABAn0XsMLja++AGKzy+JqN5wkQIECAAAECBAgQIECAAIGlCzjPY+mkBiRAgACBngloeHyt4KHS8PiajecJECBAgAABAgQIECBAgACBOgTW3pb/Nq5jYGMSIECAAIE+CGh4fKXKIZbTr7zkaQIECBAgQIAAAQIECBAgQIBAPQIhfv/rres79QxuVAIECBAg0G0BDY+v1be0pdXXaDxPgAABAgQIECBAgAABAgQI1CcQYvHH/Z+ubdUXwcgECBAgQKCbAhoeX6nruXf/tKXVV2w8TYAAAQIECBAgQIAAAQIECNQrEKowfjnauFhvFKMTIECAAIFuCWh4fKWel8bTV+ml11952dMECBAgQIAAAQIECBAgQIAAgdoEYlFcfTO4sFtbAAMTIECAAIEOCmh4HFfUaFur43i8RoAAAQIECBAgQIAAAQIECNQnEIrih/0fr23XF8HIBAgQIECgWwIaHsfVM1S2tTrOx2sECBAgQIAAAQ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iag4VG3iojnWODef95t//780XpM4V/HD579wfHQcQPIzkbyFQIECBAgQKA7AqlXDkOZp5Z5I0CAAAECBAgQIECAQEcEfAfUkUI3Oc18HMN2jv/H0zlMh46HImxXO0JOf93nBAgQIECAAIGuC3x49micd74+6LqD/AkQIECAQCWQ/5/4c/4lyT4NAgQIEGivgB0e7a1tazLLQ8xf7PdubuSEqjOo306OZ8i/sWjoeGtKLBECBAgQIEBgQQIppEEI8Z8LWt6yBAgQIECgUQL55wm3GxWwYAkQIEDg0gIaHpcm84RlC1QzOP7or2/+Gf5229DxZeu7HwECBAgQINBkgRh7g5RKDY8mF1HsBAgQIECAAAECBAhcWMCRVhemciEBAgQIECBAgACB5gnk40H3ctS3mhe5iAkQIECAwJwFUvzl3n/+9+acV7UcAQIECNRIoKhRLEIhQIAAAQIECBAgQGDOAvm88uGcl7QcAQIECBAgQIAAAQIEaimg4VHLsgiKAAECBAgQIECAwHwEYqrmeHgjQIAAAQIECBAgQIBA+wU0PNpfYxkSIECAAAECBAh0WOCw7A07nL7UCRAgQIAAAQIECBDokICGR4eKLVUCBAgQIECAAIHuCdwf7Izz4L733ctcxgQIECBA4JRATBunHvEpAQIECLRMQMOjZQWVDgECBAgQIECAAIHTAuZ4nBbxOQECBAh0VOBWR/OWNgECBDojoOHRmVJLlAABAgQIECBAoLMCKQ07m7vECRAgQIAAAQIECBDojICGR2dKLVECBAgQIECAAIGuCpjj0dXKy5sAAQIECBAgQIBAtwQ0PLpVb9kSIECAAAECBAh0UMAcjw4WXcoECBAgQIAAAQIEOiig4dHBokuZAAECBAgQIECgewJlCKPuZS1jAgQIECBAgAABAgS6JKDh0aVqy5UAAQIECBAgQKCzAkWKw84mL3ECBAgQIECAAAECBDohoOHRiTJLkgABAgQIECBAoPMCRbTDo/MvAgAECBAgQIAAAQIE2i2g4dHu+sqOAAECBAgQIECAwETg7pudIQoCBAgQIECAAAECBAi0WUDDo83VlRsBAgQIECBAgACBkwIp/nLyUx8TIECAAAECBAgQIECg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ECBAhcVEDD46JSriNAgAABAgQIECBAgEDTBT7tzpgeNVWEYliltHbw5+jOYLzX9PTET4AAAQIECBAg0G0BDY9u11/2BAgQIECAAAECBAi0RCDPY3mfUsxDv9NeyMeV2Z3RksJKgwABAgQIECBA4MICGh4XpnIhAQIECBAgQIAAgZYJ5NkLLcuo1elMGxohptzUCONYpnEsemODwFtddskRIECAAAECBAhcQkDD4xJYLiVAgAABAgQIECDQJoEiFnsplW1KqdG5aGg0unyCJ0CAAAECBAgQqIGAhkcNiiAEAgQIECBAgAABAgQ6IfAxpGoA+JdHTtmh0YnaS5IAAQIECBAgQGAJAhoeS0B2CwIECBAgQIAAAQIEOiPwNjc19k4OBU/xcO/e63eOD+vMS0CiBAgQIECAAAECqxLQ8FiVvPsSIECAAAECBAgQINBEgckujdNzNNYO/hzdGYz3mpiQmAkQIECAAAECBAi0RUDDoy2VlAcBAgQIECBAgAABAvMSsEtjXpLWIUCAAAECBAgQILBEAQ2PJWK7FQECBAgQIECAAAECNRFI8RezNGpSC2EQIECAAAECBAgQmJNAnNM6liFAgAABAgQIECBAoIECu88epQaGfbGQTzQ1YpnGseiNHT11MTpXESBAgAABAgQIEGiigB0eTayamAkQIECAAAECBAgQOBI40dQIKYyKWOxpanhxECBAgAABAgQIEOimgIZHN+suawIECBAgQIAAAQLNETjR1LBTozllEykBAgQIECBAgACBZQtoeCxb3P0IECBAgAABAgQIEJglcDwoXFNjFo/HCBAgQIAAAQIECBD4loCGx7eEfJ0AAQIECBAgQIAAgbkI5AGC71OK4xDLUYpxrwjF8OAgjO8PdsZzuYFFCBAgQIAAAQIECBDotICGR6fLL3kCBAgQIECAAAECCxA4cQTVdK7G3Tc7wwXcyZIECBAgQIAAAQIECBA4FtDwOKbwAQECBAgQIECAAAEClxD4GFIcVbs1YirGoYgjuzUuoedSAgQIECBAgAABAgTmLqDhMXdSCxIgQIAAAQIECBBolcBXszXs1mhVfSVDgAABAgQIECBAoDUCGh6tKaVECBAgQIAAAQIECFxL4G0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gQIlCFQecPDYeVllM0YBAgQIFCjwJvF89OtGuc3NQECBAgQIECAAAECBAgQIECAwCcEKm14OKz8ExXwFAECBAi0SiBf3bF1bf/odauCFiwBAgQIECBAgAABAgQIECBAoAcClTY8zgZXRj0wlSIBAgQIdFSg2Mrq68fP9zuanrQIECBAgAABAgQIECBAgAABAq0WqLThEWLcbrWW4AkQIECgzwK2supz9eVOgAABAgQIECBAgAABAgQINF6gsobHr6P1lVzjVuNFBEiAAAECBD4hYCurT6B4igABAgQIECBAgAABAgQIECDQIIHKGh7D4bnVHQ0qvFAIECBAYHwBW1mNb+VKAgQIECBAgAABAgQIECBAgEBdApU1PGKIzu+oq8rmJUCAAIFZBN5k5wNN+1kE3UuAAAECBAgQIECAAAECBAgQqECgkobHy821Uf7p2JsV5GMKAgQIECBQqkCKYffG/rOjUgc1GAECBAgQIECAAAECBAgQIECAQOkClTQ8YghWd5ReOgMSIECAQAUCT7/+4flOBfOYggABAgQIECBAgAABAgQIECBAYEaBShoeeYwaHjMWyu0ECBAgUL1AjLayql7djAQIECBAgAABAgQIECBAgACB6QTm3vA4vre6lYe2NF147iJAgAABAvUIFAeVX//h2UE9s5uVAAECBAgQIECAAAECBAgQIEBgUoG5NzxSdFj5pEVxPQECBAjULuCg8tpLIAACBAgQIECAAAECBAgQIECAwGQCc214vBqtXM3P77g7WUiuJkCAAAEC9Qo4qLxef7MTIECAAAECBAgQIECAAAECBKYRmGvD42xwxdkd01TFPQQIECBQp8Cbxbenu3UGYG4CBAgQIECAAAECBAgQIECAAIHJBeba8LCd1eQFcQcBAgQI1CyQ0va1/aPXNUdhegIECBAgQIAAAQIECBAgQIAAgQkF5tbwsJ3VhJVwOQECBAjULpBvw/jL8pMXe7UHIgACBAgQIECAAAECBAgQIECAAIGJBebW8LCd1cS1cAMBAgQI1CyQUtqpOQTTEyBAgAABAgQIECBAgAABAgQITCkwt4aH7aymrIjbCBAgQKAWAas7amE3KQECBAgQIECAAAECBAgQIECgNIG5NDxsZ1Vaf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QIECAAAECBAgQIECAAAECBAgQIECAAAECjREYr+GRgjM8GlMygRAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIfC4zV8IgpXv34Rl8TIECAAIEmC8SYVpocn9gIECBAgAABAgQIECBAgAABAgTKFRir4VHulEYjQIAAAQLzF0gh3Jz/LGYgQIAAAQIECBAgQIAAAQIECBBoisB4DY+Y7jQlYHEQIECAAAECBAgQIECAAAECBAgQIECAAAECBD4WGK/h8fFdviZAgAABAgQIECBAgAABAgQIECBAgAABAgQINEhAw6NBxRAKAQIECJQrcHJ/faPcEY1GgAABAgQIECBAgAABAgQIECDQVIFLGx5+WdTU0omLAAECBAgQIECAAAECBAgQIECAAAECBAgQeC9wacPj/YX+JECAAAECBAgQIECAAAECBAgQIECAAAECBAg0VUDDo6mVERcBAgQIzC6QpduzD2IEAgQIECBAgAABAgQIECBAgACBNghc2vBI2flKGxIRIwECBAgQ+FggG6SrHz/nawIECBAgQIAAAQIECBAgQIAAgW4KXN7wGMSVbqYuKwIECBAgQIAAAQIECBAgQIAAAQIECBAgQKArApc2PLqSqDwIECBAoH8CMYsb/ctaxgQIECBAgAABAgQIECBAgACBfgpoePSz7rImQIAAAQIECBAgQIAAAQIECBAgQIAAAQKdEtDw6FQ5JUOAAAECHwhEZ3h84OELAgQIECBAgAABAgQIECBAgECHBS5teMTkl0Udrr/UCBAg0HWBW11PUH4ECBAgQIAAAQIECBAgQIAAAQK/CVza8AhpcBsWAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQKDJApc3PJocvdgIECBAgMAlAif31zcuucTLBAgQIECAAAECBAgQIECAAAECHRDQ8OhAEaVAgAABAgQIECBAgAABAgQIECBAgAABAgT6LqDh0fd3gPwJECDQdYEs2Zqx6zWWHwECBAgQIECAAAECBAgQIEAgF9Dw8DYgQIAAgU4LZIN0tdMJSo4AAQIECBAgQIAAAQIECBAgQOBCQMPDG4EAAQIEui2QghUe3a6w7AgQIECAAAECBAgQIECAAAECFwIaHt4IBAgQINBpgZii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AgECPBWLmHI8el1/qBAgQIECAAAECBAgQIECAQIcFNDw6XFypESBAgMAnBGK684lnPUWAAAECBAgQIECAAAECBAgQINByAQ2PlhdQ+AQIECAwuYBzPCY3cwcBAgQIECBAgAABAgQIECBAoOkClzY83r4NR01PQnwECBAgQGASAed4TKLlWgIECBAgQIAAAQLdE3g1WrnavaxkRIAAAQKXNjxu7D87wkSAAAECBLokEFMYdSkfuRAgQIAAAQIECBAgMJnA24U/3Z7sDlcTIECAQBsELm14tCEJMRIgQIAAgQkFbvlE14RiLidAgAABAgQIECBAgAABAgQINFxAw6PhBRIeAQIECMxH4HS4uDGfkY1KgAABAgQIECBAgAABAgQIECBQh4CGRx3q5iRAgACB2gVisK1V7UUQAAECBAgQIECAAAECBAgQIECgRAENjxIxDUWAAAECrRJwjkeryiVYAgQIECBAgAABAgQIECBAgMCXBTQ8vuzjVQIECBDorsDS8YNVBxV2t74yI0CAAAECBAgQIECAAAECBHomoOHRs4JLlwABAgR+J5CFrd995a8ECBAgQIAAAQIECPRFIEs+/NSXWsuTAIFeCYzb8HjaKxXJEiBAgEAvBGKItrXqRaUlSYAAAQIECBAgQOBDgWyQrn74jK8IECBAoAsC4zU8UnzdhWTlQIAAAQIEfi+QQrj562h95ffP+TsBAgQIECBAgAABAgQIECBAgEA7BcZreLQzN1ETIECAAIFLBRYGySqPS5VcQIAAAQIECBAgQIAAAQIECBBovoCGR/NrJEICBAgQmKdATNvzHN7YBAgQaLrA8b3VrZiCfwubXijxESBAgECpAjHZ0qpUUIMRIECgIQIaHg0phDAIECBAoB6BYlur4wert+uZ3awECBCoV+Dl/bWdEOPf8yiW6o3E7AQIECBAoGKBNPAzQMXkpiNAgEAVAgtVTGIOAgQIECDQaIEsbOXx+XRzo4skOAIEyhR4NVq5ejZc3A0pPCxzXGMRIECAAAECBAgQIECgToGxVnikQTqoM0hzEyBAgACBeQrEEEfzHN/YBAgQaJLAr6P1lbzZcZDHpNnRpMKIhQABAgQIECBAgACBmQXGanjMPIs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ECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAtMI/H/aSfYY3gk9ugAAAABJRU5ErkJggg==",iV="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASIAAABFCAYAAADuOOvgAAAABHNCSVQICAgIfAhkiAAAD1dJREFUeJztndF127qWhj/QnudRB5e3gjDHmefDVGCnAisVRPYtIEoBJ1YqsFxBlApCP098TFdw6ApGfre45wGkKcmUBIqgSCn41tKKIkHANgn+ADaADUVDyCDoof7rDaQBSvVAfET52bc+Kn8//yMiABQRQow836pRPG3KRofD0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oy933E5gBjIcXBg37J93GWx5jqa5x89D0+Y/1Cyyf0dYlYX3/WMT9rWjab9khxIGOyJp8+xfWImWu0FIBcnsSg9m03tznp89sqp4B0gDD7N6+oTTDEXIiaJMJciBzl+BRCF1LUm01CWbc8a/ln64hkDMrkOJb9RB39lMs/LvYoLEnUtgGOvSKh6IlEOy7PCnodUZqOrU/jdwmleuD5bZvhcDjK8QD0RlVlayl+N0mfu7CmxeFwlFCsrE6fRyC7WvG7Y+Rxz3xEDsdvxYsQqVE8JZ3Z2CRpiy/2hosytJOPw+FogoW9ZrrXkH5syxiNPKHkg/r6awhiYdpdHvfISe1w/Ja82vSqH9q2xEgeSGdhHmrWji2uN+RwdJ3S3fetiJHIN9JZuOzLUV//HqPkw3b+K3lwvaGD4EB9l46clWFA1Ne/x6TPb5t3YMsDKe/V1d1gVZhZ9dfdhHQWIFIhHII8kc76loz8XemKACRtG+BolrXxiNQojtXXOx+rjuMceYT0o/p6F6jRr2hTajWKp+rqbkDKe0RuNtsjAzdTVpuuLHnoih2OhjBeNi+DoIfn9XXIjhrbQUR+4DGue+RQZs8Zos5A9RajQ6Yf3ZBsI0PWb/FYd26VTSLWb/F4YP0ucccBsNX+Hb1R1gt1mA3lrw4RK0863pHEeETMZlGTp3xkO+191xMyYoCOb7xMHvp0yG6GRBPKT+HIN1IOcSLkqEqHw244HI6O8v+AtLH7T4DxhAAAAABJRU5ErkJggg==",sV=f.jsx("img",{src:oV,alt:"Applica",width:"20px"}),aV=f.jsx("img",{src:iV,alt:"Applica",width:"100px"}),xg=({isIcon:e,sx:t,to:n,logoIcon:r=sV,logoMain:i=aV})=>{const{appDefaultPath:a}=Ut();return f.jsx(Q.ButtonBase,{disableRipple:!0,component:gt.Link,to:n||a,sx:t,children:e?r:i})};xg.propTypes={reverse:c.bool,isIcon:c.bool,sx:c.object,to:c.string,logoIcon:c.node,logoMain:c.node};const wg=({open:e,logoMain:t,logoIcon:n})=>{const r=ut(),i=Q.useMediaQuery(r.breakpoints.down("lg")),{menuOrientation:a,isHorizontalLayout:l}=Ut(),u=l(a)&&!i;return f.jsx(Yy,{theme:r,open:e,sx:{minHeight:u?"unset":"60px",width:u?{xs:"100%",lg:"424px"}:"inherit",paddingTop:u?{xs:"10px",lg:"0"}:"8px",paddingBottom:u?{xs:"18px",lg:"0"}:"8px",paddingLeft:u?{xs:"24px",lg:"0"}:e?"24px":0},children:f.jsx(xg,{isIcon:!e,sx:{width:e?"auto":35,height:35},logoMain:t,logoIcon:n})})};wg.propTypes={open:c.bool,logoMain:c.node,logoIcon:c.node};function lV(e){return wt("MuiDrawer",e)}St("MuiDrawer",["root","docked","paper","paperAnchorLeft","paperAnchorRight","paperAnchorTop","paperAnchorBottom","paperAnchorDockedLeft","paperAnchorDockedRight","paperAnchorDockedTop","paperAnchorDockedBottom","modal"]);const cV=["BackdropProps"],uV=["anchor","BackdropProps","children","className","elevation","hideBackdrop","ModalProps","onClose","open","PaperProps","SlideProps","TransitionComponent","transitionDuration","variant"],Gy=(e,t)=>{const{ownerState:n}=e;return[t.root,(n.variant==="permanent"||n.variant==="persistent")&&t.docked,t.modal]},AV=e=>{const{classes:t,anchor:n,variant:r}=e,i={root:["root"],docked:[(r==="permanent"||r==="persistent")&&"docked"],modal:["modal"],paper:["paper",`paperAnchor${be(n)}`,r!=="temporary"&&`paperAnchorDocked${be(n)}`]};return jt(i,lV,t)},dV=ce(d0,{name:"MuiDrawer",slot:"Root",overridesResolver:Gy})(({theme:e})=>({zIndex:(e.vars||e).zIndex.drawer})),UE=ce("div",{shouldForwardProp:jl,name:"MuiDrawer",slot:"Docked",skipVariantsResolver:!1,overridesResolver:Gy})({flex:"0 0 auto"}),gV=ce(Ul,{name:"MuiDrawer",slot:"Paper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.paper,t[`paperAnchor${be(n.anchor)}`],n.variant!=="temporary"&&t[`paperAnchorDocked${be(n.anchor)}`]]}})(({theme:e,ownerState:t})=>U({overflowY:"auto",display:"flex",flexDirection:"column",height:"100%",flex:"1 0 auto",zIndex:(e.vars||e).zIndex.drawer,WebkitOverflowScrolling:"touch",position:"fixed",top:0,outline:0},t.anchor==="left"&&{left:0},t.anchor==="top"&&{top:0,left:0,right:0,height:"auto",maxHeight:"100%"},t.anchor==="right"&&{right:0},t.anchor==="bottom"&&{top:"auto",left:0,bottom:0,right:0,height:"auto",maxHeight:"100%"},t.anchor==="left"&&t.variant!=="temporary"&&{borderRight:`1px solid ${(e.vars||e).palette.divider}`},t.anchor==="top"&&t.variant!=="temporary"&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`},t.anchor==="right"&&t.variant!=="temporary"&&{borderLeft:`1px solid ${(e.vars||e).palette.divider}`},t.anchor==="bottom"&&t.variant!=="temporary"&&{borderTop:`1px solid ${(e.vars||e).palette.divider}`})),Ky={left:"right",right:"left",top:"down",bottom:"up"};function fV(e){return["left","right"].indexOf(e)!==-1}function pV(e,t){return e.direction==="rtl"&&fV(t)?Ky[t]:t}const _y=k.forwardRef(function(t,n){const r=Rt({props:t,name:"MuiDrawer"}),i=ut(),a={enter:i.transitions.duration.enteringScreen,exit:i.transitions.duration.leavingScreen},{anchor:l="left",BackdropProps:u,children:d,className:g,elevation:p=16,hideBackdrop:E=!1,ModalProps:{BackdropProps:h}={},onClose:m,open:I=!1,PaperProps:B={},SlideProps:y,TransitionComponent:O=IM,transitionDuration:M=a,variant:w="temporary"}=r,T=We(r.ModalProps,cV),P=We(r,uV),H=k.useRef(!1);k.useEffect(()=>{H.current=!0},[]);const F=pV(i,l),Z=U({},r,{anchor:l,elevation:p,open:I,variant:w},P),G=AV(Z),ee=f.jsx(gV,U({elevation:w==="temporary"?p:0,square:!0},B,{className:ze(G.paper,B.className),ownerState:Z,children:d}));if(w==="permanent")return f.jsx(UE,U({className:ze(G.root,G.docked,g),ownerState:Z,ref:n},P,{children:ee}));const le=f.jsx(O,U({in:I,direction:Ky[F],timeout:M,appear:H.current},y,{children:ee}));return w==="persistent"?f.jsx(UE,U({className:ze(G.root,G.docked,g),ownerState:Z,ref:n},P,{children:le})):f.jsx(dV,U({BackdropProps:U({},u,h,{transitionDuration:M}),className:ze(G.root,G.modal,g),open:I,ownerState:Z,onClose:m,hideBackdrop:E,ref:n},P,T,{children:le}))});process.env.NODE_ENV!=="production"&&(_y.propTypes={anchor:c.oneOf(["bottom","left","right","top"]),BackdropProps:c.object,children:c.node,classes:c.object,className:c.string,elevation:rs,hideBackdrop:c.bool,ModalProps:c.object,onClose:c.func,open:c.bool,PaperProps:c.object,SlideProps:c.object,sx:c.oneOfType([c.arrayOf(c.oneOfType([c.func,c.object,c.bool])),c.func,c.object]),transitionDuration:c.oneOfType([c.number,c.shape({appear:c.number,enter:c.number,exit:c.number})]),variant:c.oneOf(["permanent","persistent","temporary"])});const hV=_y,YE=(e,t)=>({width:t,borderRight:`1px solid ${e.palette.divider}`,transition:e.transitions.create("width",{easing:e.transitions.easing.sharp,duration:e.transitions.duration.enteringScreen}),overflowX:"hidden",boxShadow:e.palette.mode==="dark"?e.customShadows.z1:"none"}),GE=e=>({transition:e.transitions.create("width",{easing:e.transitions.easing.sharp,duration:e.transitions.duration.leavingScreen}),overflowX:"hidden",width:e.spacing(7.5),borderRight:"none",boxShadow:e.customShadows.z1}),CV=ce(hV,{shouldForwardProp:e=>e!=="open"})(({theme:e,open:t})=>{const{drawerWidth:n}=Ut();return{width:n,flexShrink:0,whiteSpace:"nowrap",boxSizing:"border-box",...t&&{...YE(e,n),"& .MuiDrawer-paper":YE(e,n)},...!t&&{...GE(e),"& .MuiDrawer-paper":GE(e)}}}),qy=({open:e,handleDrawerToggle:t,window:n,logoMain:r,logoIcon:i})=>{const a=ut(),l=Q.useMediaQuery(a.breakpoints.down("lg")),u=n!==void 0?()=>n().document.body:void 0,d=S.useMemo(()=>f.jsx(rV,{}),[]),g=S.useMemo(()=>f.jsx(wg,{open:e,logoMain:r,logoIcon:i}),[e,r,i]),{drawerWidth:p}=Ut();return f.jsx(Q.Box,{component:"nav",sx:{flexShrink:{md:0},zIndex:1200},"aria-label":"mailbox folders",children:l?f.jsxs(Q.Drawer,{container:u,variant:"temporary",open:e,onClose:t,ModalProps:{keepMounted:!0},sx:{display:{xs:"block",lg:"none"},"& .MuiDrawer-paper":{boxSizing:"border-box",width:p,borderRight:`1px solid ${a.palette.divider}`,backgroundImage:"none",boxShadow:"inherit"}},children:[g,d]}):f.jsxs(CV,{variant:"permanent",open:e,children:[g,d]})})};qy.propTypes={open:c.bool,window:c.object,handleDrawerToggle:c.func,logoMain:c.node,logoIcon:c.node};const Tg=({name:e,version:t})=>f.jsx(Q.Stack,{direction:"row",justifyContent:"space-between",alignItems:"center",sx:{p:"24px 16px 0px",mt:"auto"},children:f.jsxs(Q.Typography,{variant:"caption",children:["© Applica Software Guru for ",e," - ",t]})});Tg.propTypes={name:c.string.isRequired,version:c.string.isRequired};const Jy=ce(Qj,{shouldForwardProp:e=>e!=="open"})(({theme:e,open:t})=>{const{drawerWidth:n}=Ut();return{zIndex:e.zIndex.drawer+1,transition:e.transitions.create(["width","margin"],{easing:e.transitions.easing.sharp,duration:e.transitions.duration.leavingScreen}),...!t&&{width:`calc(100% - ${e.spacing(7.5)})`},...t&&{marginLeft:n,width:`calc(100% - ${n}px)`,transition:e.transitions.create(["width","margin"],{easing:e.transitions.easing.sharp,duration:e.transitions.duration.enteringScreen})}}});Jy.propTypes={open:c.bool};const EV=()=>{const[e,t]=S.useState(!1),n=S.useCallback(()=>t(!1),[t]),r=S.useCallback(()=>t(!0),[t]),i=Qe.useTranslate();return f.jsxs(S.Fragment,{children:[f.jsxs(Q.ListItemButton,{onClick:r,children:[f.jsx(Q.ListItemIcon,{children:f.jsx(Jn.Key,{})}),f.jsx(Q.ListItemText,{primary:i("ra.auth.change_password")})]}),f.jsx(Q.Dialog,{open:e,onClose:()=>t(!1),maxWidth:"xs",fullWidth:!0,children:f.jsx(Zd,{onSuccess:n})})]})},mV=()=>{const e=Qe.useLogout(),t=Qe.useTranslate();return f.jsx(S.Fragment,{children:f.jsxs(Q.ListItemButton,{onClick:e,children:[f.jsx(Q.ListItemIcon,{children:f.jsx(Jn.LogoutOutlined,{})}),f.jsx(Q.ListItemText,{primary:t("ra.auth.logout")})]})})},IV=()=>{const e=Qe.useTranslate(),t=Qe.useAuthProvider(),n=S.useCallback(()=>t.stopImpersonate().then(()=>document.location.href="/"),[t==null?void 0:t.stopImpersonating]),[r,i]=S.useState(!1);return S.useEffect(()=>{t.isImpersonating&&t.isImpersonating().then(a=>i(a))},[t,i]),r?f.jsx(S.Fragment,{children:f.jsxs(Q.ListItemButton,{onClick:n,children:[f.jsx(Q.ListItemIcon,{children:f.jsx(Jn.LogoutOutlined,{})}),f.jsx(Q.ListItemText,{primary:e("ra.auth.stop_impersonate")})]})}):null};c.node,c.any.isRequired,c.any.isRequired;const Xy=()=>{var B;const e=ut(),{identity:t}=R.useGetIdentity(),n=t!==void 0&&t.image&&t.image!==null&&t.image!=="",r=S.useRef(null),[i,a]=S.useState(!1),l=()=>{a(y=>!y)},u=y=>{r.current&&r.current.contains(y.target)||a(!1)},d=e.palette.mode==="dark"?"grey.200":"grey.300",g=R.useLogout(),p=R.useDataProvider(),E=R.useAuthProvider(),h=S.useCallback(()=>{g()},[E,g]),[m,I]=S.useState(null);return S.useEffect(()=>{if(!n)return;async function y(){var O=await p.getFile("/profile/me/image");I(O)}y()},[p,n]),f.jsxs(Q.Box,{sx:{flexShrink:0,ml:.75},children:[f.jsx(Q.ButtonBase,{sx:{p:.25,bgcolor:i?d:"transparent",borderRadius:1,"&:hover":{bgcolor:e.palette.mode==="dark"?"secondary.light":"secondary.lighter"},"&:focus-visible":{outline:`2px solid ${e.palette.secondary.dark}`,outlineOffset:2}},"aria-label":"open profile",ref:r,"aria-controls":i?"profile-grow":void 0,"aria-haspopup":"true",onClick:l,children:f.jsxs(Q.Stack,{direction:"row",spacing:2,alignItems:"center",sx:{p:.5},children:[f.jsx(Cl,{alt:(B=t==null?void 0:t.name)==null?void 0:B.toUpperCase(),src:m,size:"xs"}),f.jsx(Q.Typography,{variant:"subtitle1",children:t==null?void 0:t.name})]})}),f.jsx(Q.Popper,{placement:"bottom-end",open:i,anchorEl:r.current,role:void 0,transition:!0,disablePortal:!0,popperOptions:{modifiers:[{name:"offset",options:{offset:[0,9]}}]},children:({TransitionProps:y})=>{var O;return f.jsx(Zr,{type:"grow",position:"top-right",in:i,...y,children:f.jsx(Q.Paper,{sx:{boxShadow:e.customShadows.z1,width:290,minWidth:240,maxWidth:290,[e.breakpoints.down("md")]:{maxWidth:250}},children:f.jsx(Q.ClickAwayListener,{onClickAway:u,children:f.jsxs(Nn,{elevation:0,border:!1,content:!1,children:[f.jsx(Q.CardContent,{sx:{px:2.5,pt:3},children:f.jsxs(Q.Grid,{container:!0,justifyContent:"space-between",alignItems:"center",children:[f.jsx(Q.Grid,{item:!0,children:f.jsxs(Q.Stack,{direction:"row",spacing:1.25,alignItems:"center",children:[f.jsx(Cl,{alt:"profile user",src:m,sx:{width:32,height:32}}),f.jsxs(Q.Stack,{children:[f.jsx(Q.Typography,{variant:"h6",children:t==null?void 0:t.name}),f.jsx(Q.Typography,{variant:"body2",color:"textSecondary",children:(O=t==null?void 0:t.roles)==null?void 0:O.map(M=>M.name.replace("ROLE_","")).join(",")})]})]})}),f.jsx(Q.Grid,{item:!0,children:f.jsx(Q.Tooltip,{title:"Logout",children:f.jsx(Xr,{size:"large",sx:{color:"text.primary"},onClick:h,children:f.jsx(ct.LogoutOutlined,{})})})})]})}),f.jsx(Q.Grid,{container:!0,children:f.jsx(Q.Grid,{item:!0,xs:12,children:f.jsxs(Q.List,{component:"nav",sx:{p:0,"& .MuiListItemIcon-root":{minWidth:32}},children:[f.jsx(EV,{}),f.jsx(mV,{}),f.jsx(IV,{})]})})})]})})})})}})]})},BV=()=>{const e=ut(),[t,n]=S.useState(!1),r=S.useRef(null),i=()=>{n(g=>!g)},a=g=>{r.current&&r.current.contains(g.target)||n(!1)},l=S.useRef(t);S.useEffect(()=>{l.current===!0&&t===!1&&r.current.focus(),l.current=t},[t]);const u=e.palette.mode==="dark"?"grey.200":"grey.300",d=e.palette.mode==="dark"?"background.default":"grey.100";return f.jsxs(f.Fragment,{children:[f.jsx(Q.Box,{sx:{flexShrink:0,ml:.75},children:f.jsx(Xr,{sx:{color:"text.primary",bgcolor:t?u:d},"aria-label":"open more menu",ref:r,"aria-controls":t?"menu-list-grow":void 0,"aria-haspopup":"true",onClick:i,color:"secondary",variant:"light",children:f.jsx(ct.MoreOutlined,{})})}),f.jsx(Q.Popper,{placement:"bottom-end",open:t,anchorEl:r.current,role:void 0,transition:!0,disablePortal:!0,style:{width:"100%"},popperOptions:{modifiers:[{name:"offset",options:{offset:[0,9]}}]},children:({TransitionProps:g})=>f.jsx(Zr,{type:"fade",in:t,...g,children:f.jsx(Q.Paper,{sx:{boxShadow:e.customShadows.z1},children:f.jsx(Q.ClickAwayListener,{onClickAway:a,children:f.jsx(Q.AppBar,{color:"inherit",children:f.jsx(Q.Toolbar,{children:f.jsx(Xy,{})})})})})})})]})},lc=({resource:e,selected:t,notification:n,onClick:r})=>{const i=R.useNotify(),a=R.useRedirect(),[l]=R.useUpdate(e,{id:n==null?void 0:n.id,data:{...n,readed:Qr().format("YYYY-MM-DD HH:mm:ss")}},{onSuccess:()=>{n!=null&&n.resource?n!=null&&n.resource.startsWith("/")?(a(n==null?void 0:n.resource),r()):document.location.href=n==null?void 0:n.resource:r()},onFailure:()=>{i("resources.notifications.messages.readed.error","warning")}}),u=S.useCallback(()=>l(),[l]),[d]=R.useLocaleState(),g=S.useMemo(()=>Qr(n.created).locale(d).fromNow(),[n,d]);return f.jsxs(f.Fragment,{children:[f.jsxs(Q.ListItemButton,{selected:t,onClick:u,children:[f.jsx(Q.ListItemAvatar,{children:f.jsx(Q.Avatar,{sx:{color:"primary.main",bgcolor:"primary.lighter"},children:f.jsx(ct.MessageOutlined,{})})}),f.jsx(Q.ListItemText,{primary:f.jsxs(Q.Typography,{variant:"h6",children:[n.title,f.jsx(Q.Typography,{component:"span",variant:"subtitle1",children:n.content})]}),secondary:"2 min ago"}),f.jsx(Q.ListItemSecondaryAction,{children:f.jsx(Q.Typography,{variant:"caption",noWrap:!0,children:g})})]}),f.jsx(Q.Divider,{})]})};lc.displayName="NotificationItem";lc.defaultProps={resource:"entities/notification",selected:!1};lc.propTypes={resource:c.string.isRequired,selected:c.bool.isRequired,notification:c.shape({id:c.oneOfType([c.string,c.number]),title:c.string.isRequired,content:c.string.isRequired,resource:c.string,readed:c.oneOfType([c.string,c.number,c.instanceOf(Date)]),created:c.oneOfType([c.string,c.number,c.instanceOf(Date)]).isRequired}).isRequired,onClick:c.func.isRequired};const yV={width:36,height:36,fontSize:"1rem"},vV={mt:"6px",ml:1,top:"auto",right:"auto",alignSelf:"flex-start",transform:"none"},cc=({resource:e})=>{const t=ut(),n=Q.useMediaQuery(t.breakpoints.down("md")),r=S.useRef(null),[i,a]=S.useState(!1),l=()=>{a(B=>!B)},u=B=>{r.current&&r.current.contains(B.target)||a(!1)},d=t.palette.mode==="dark"?"grey.200":"grey.300",g=t.palette.mode==="dark"?"background.default":"grey.100",{data:p,isLoading:E}=R.useGetList(e,{pagination:{page:1,perPage:50},sort:{field:"created",order:"DESC"},filter:{readed:!1}}),[h,m]=S.useState([]);S.useEffect(()=>m(!E&&p?p:[]),[p,E]);const I=h.filter(B=>B.readed===null).length;return f.jsxs(Q.Box,{sx:{flexShrink:0,ml:.75},children:[f.jsx(Xr,{color:"secondary",variant:"light",sx:{color:"text.primary",bgcolor:i?d:g},"aria-label":"open profile",ref:r,"aria-controls":i?"profile-grow":void 0,"aria-haspopup":"true",onClick:l,children:f.jsx(Q.Badge,{badgeContent:I,color:"primary",children:f.jsx(ct.BellOutlined,{})})}),f.jsx(Q.Popper,{placement:n?"bottom":"bottom-end",open:i,anchorEl:r.current,role:void 0,transition:!0,disablePortal:!0,popperOptions:{modifiers:[{name:"offset",options:{offset:[n?-5:0,9]}}]},children:({TransitionProps:B})=>f.jsx(Zr,{type:"grow",position:n?"top":"top-right",sx:{overflow:"hidden"},in:i,...B,children:f.jsx(Q.Paper,{sx:{boxShadow:t.customShadows.z1,width:"100%",minWidth:285,maxWidth:420,[t.breakpoints.down("md")]:{maxWidth:285}},children:f.jsx(Q.ClickAwayListener,{onClickAway:u,children:f.jsx(Nn,{title:"Notification",elevation:0,border:!0,content:!1,secondary:f.jsx(f.Fragment,{children:I>0&&f.jsx(Q.Tooltip,{title:"Mark as all read",children:f.jsx(Xr,{color:"success",size:"small",children:f.jsx(ct.CheckCircleOutlined,{style:{fontSize:"1.15rem"}})})})}),children:f.jsx(Q.List,{component:"nav",sx:{p:0,"& .MuiListItemButton-root":{py:.5,"&.Mui-selected":{bgcolor:"grey.50",color:"text.primary"},"& .MuiAvatar-root":yV,"& .MuiListItemSecondaryAction-root":{...vV,position:"relative"}}},children:h.map(y=>f.jsx(lc,{resource:e,selected:I>0,notification:y,onClick:u},y.id))})})})})})})]})};cc.displayName="Notification";cc.defaultProps={resource:"entities/notification"};cc.propTypes={resource:c.string.isRequired};const Zy=({logoMain:e,logoIcon:t,notification:n,enableNotification:r})=>{const i=Q.useMediaQuery(d=>d.breakpoints.down("md")),{isHorizontalLayout:a,menuOrientation:l}=Ut(),{drawerOpen:u}=Xn();return f.jsxs(f.Fragment,{children:[(!u||!i)&&a(l)&&f.jsx(wg,{open:!0,logoMain:e,logoIcon:t}),f.jsx(Q.Box,{sx:{flexGrow:1}}),i&&f.jsx(Q.Box,{sx:{width:"100%",ml:1}}),f.jsx(R.LoadingIndicator,{}),r&&f.jsx(cc,{resource:n}),!i&&f.jsx(Xy,{}),i&&f.jsx(BV,{})]})};Zy.propTypes={logoMain:c.node,logoIcon:c.node,notification:c.string,enableNotification:c.bool};const $y=({open:e,logoMain:t,logoIcon:n,handleDrawerToggle:r,notification:i,enableNotification:a})=>{const l=ut(),u=Q.useMediaQuery(l.breakpoints.down("lg")),{menuOrientation:d,isHorizontalLayout:g}=Ut(),p=g(d)&&!u,E=S.useMemo(()=>f.jsx(Zy,{logoMain:t,logoIcon:n,notification:i,enableNotification:a}),[t,n,i]),h=l.palette.mode==="dark"?"grey.200":"grey.300",m=l.palette.mode==="dark"?"background.default":"grey.100",I=f.jsxs(Q.Toolbar,{children:[p?null:f.jsx(Xr,{"aria-label":"open drawer",onClick:r,edge:"start",color:"secondary",variant:"light",sx:{color:"text.primary",bgcolor:e?h:m,ml:{xs:0,lg:-2}},children:e?f.jsx(ct.MenuFoldOutlined,{}):f.jsx(ct.MenuUnfoldOutlined,{})}),E]}),B={position:"fixed",color:"inherit",elevation:0,sx:{borderBottom:`1px solid ${l.palette.divider}`,zIndex:1200,width:p?"100%":e?"calc(100% - 260px)":{xs:"100%",lg:"calc(100% - 60px)"}}};return f.jsx(f.Fragment,{children:u?f.jsx(Q.AppBar,{...B,children:I}):f.jsx(Jy,{open:e,...B,children:I})})};$y.propTypes={open:c.bool,handleDrawerToggle:c.func,logoMain:c.node,logoIcon:c.node,notification:c.string,enableNotification:c.bool};function bV({children:e,window:t}){const n=ut(),r=Q.useScrollTrigger({disableHysteresis:!0,threshold:0,target:t});return n.shadows[4]=n.customShadows.z1,S.cloneElement(e,{elevation:r?4:0})}const QV=()=>{const e=ut(),{container:t}=Ut();return f.jsx(bV,{children:f.jsx(Q.AppBar,{sx:{top:60,bgcolor:e.palette.background.paper,width:"100%",height:62,justifyContent:"center",borderTop:`1px solid ${e.palette.divider}`,borderBottom:`1px solid ${e.palette.divider}`,zIndex:1098,color:e.palette.grey[500]},children:f.jsx(Q.Container,{maxWidth:t?"xl":!1,children:f.jsx(Q.Box,{sx:{display:"flex",alignItems:"center"},children:f.jsx(kB,{})})})})})},Pg=({children:e,name:t,version:n,logoMain:r,logoIcon:i,notification:a,enableNotification:l})=>{const u=ut(),{openDrawer:d}=Xn(),{isLoading:g,navigation:p,breadcrumbs:E}=Vm(),{identity:h}=Qe.useGetIdentity(),[m,I]=S.useState(!1),B=Q.useMediaQuery(u.breakpoints.down("xl")),y=Q.useMediaQuery(u.breakpoints.down("lg")),{container:O,miniDrawer:M,menuOrientation:w,isHorizontalLayout:T}=Ut(),{drawerOpen:P}=Xn(),H=T(w)&&!y,[F,K]=S.useState(!M||P),Z=()=>{K(!F),d(!F)};S.useEffect(()=>I((h==null?void 0:h.needToChangePassword)===!0),[h]),S.useEffect(()=>{M||(K(!B),d(!B))},[B]),S.useEffect(()=>{F!==P&&K(P)},[P]);const G=()=>I(!1);return f.jsxs(Q.Box,{sx:{display:"flex",width:"100%"},children:[f.jsx($y,{open:F,handleDrawerToggle:Z,logoMain:r,logoIcon:i,notification:a,enableNotification:l}),H?f.jsx(QV,{}):f.jsx(qy,{open:F,handleDrawerToggle:Z,logoMain:r,logoIcon:i}),f.jsxs(Q.Box,{component:"main",sx:{width:"calc(100% - 260px)",flexGrow:1,p:{xs:0,sm:2,lg:1},pt:{lg:2}},children:[f.jsx(Q.Toolbar,{sx:{mt:H?8:"inherit"}}),f.jsxs(Q.Container,{maxWidth:O?"xl":!1,sx:{...O&&{px:{xs:0,sm:2}},position:"relative",minHeight:"calc(100vh - 110px)",display:"flex",flexDirection:"column"},children:[f.jsx(Q.Dialog,{open:m,maxWidth:"xs",fullWidth:!0,children:f.jsx(Zd,{onSuccess:G,firstAccess:!0})}),!g&&f.jsx(Ll,{titleBottom:!0,mode:"breadcrumbs",navigation:p,breadcrumbs:E,card:!1,divider:!1,icon:!0,icons:!0,home:!1}),e,f.jsx(gt.Outlet,{}),f.jsx(Tg,{name:t,version:n})]})]})]})};Pg.propTypes={name:c.string,version:c.string,children:c.node,logoMain:c.node,logoIcon:c.node,notification:c.string,enableNotification:c.bool};function xV(e){return wt("MuiLinearProgress",e)}St("MuiLinearProgress",["root","colorPrimary","colorSecondary","determinate","indeterminate","buffer","query","dashed","dashedColorPrimary","dashedColorSecondary","bar","barColorPrimary","barColorSecondary","bar1Indeterminate","bar1Determinate","bar1Buffer","bar2Indeterminate","bar2Buffer"]);const wV=["className","color","value","valueBuffer","variant"];let Pi=e=>e,KE,_E,qE,JE,XE,ZE;const YA=4,TV=Wt.keyframes(KE||(KE=Pi`
|
|
223
223
|
0% {
|
|
224
224
|
left: -35%;
|
|
@@ -272,5 +272,5 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
272
272
|
`),TV)),jV=ce("span",{name:"MuiLinearProgress",slot:"Bar2",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.bar,t[`barColor${be(n.color)}`],(n.variant==="indeterminate"||n.variant==="query")&&t.bar2Indeterminate,n.variant==="buffer"&&t.bar2Buffer]}})(({ownerState:e,theme:t})=>U({width:"100%",position:"absolute",left:0,bottom:0,top:0,transition:"transform 0.2s linear",transformOrigin:"left"},e.variant!=="buffer"&&{backgroundColor:e.color==="inherit"?"currentColor":(t.vars||t).palette[e.color].main},e.color==="inherit"&&{opacity:.3},e.variant==="buffer"&&{backgroundColor:Sg(t,e.color),transition:`transform .${YA}s linear`}),({ownerState:e})=>(e.variant==="indeterminate"||e.variant==="query")&&Wt.css(ZE||(ZE=Pi`
|
|
273
273
|
width: auto;
|
|
274
274
|
animation: ${0} 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) 1.15s infinite;
|
|
275
|
-
`),PV)),ev=k.forwardRef(function(t,n){const r=Rt({props:t,name:"MuiLinearProgress"}),{className:i,color:a="primary",value:l,valueBuffer:u,variant:d="indeterminate"}=r,g=We(r,wV),p=U({},r,{color:a,variant:d}),E=RV(p),h=ut(),m={},I={bar1:{},bar2:{}};if(d==="determinate"||d==="buffer")if(l!==void 0){m["aria-valuenow"]=Math.round(l),m["aria-valuemin"]=0,m["aria-valuemax"]=100;let B=l-100;h.direction==="rtl"&&(B=-B),I.bar1.transform=`translateX(${B}%)`}else process.env.NODE_ENV!=="production"&&console.error("MUI: You need to provide a value prop when using the determinate or buffer variant of LinearProgress .");if(d==="buffer")if(u!==void 0){let B=(u||0)-100;h.direction==="rtl"&&(B=-B),I.bar2.transform=`translateX(${B}%)`}else process.env.NODE_ENV!=="production"&&console.error("MUI: You need to provide a valueBuffer prop when using the buffer variant of LinearProgress.");return f.jsxs(OV,U({className:ze(E.root,i),ownerState:p,role:"progressbar"},m,{ref:n},g,{children:[d==="buffer"?f.jsx(DV,{className:E.dashed,ownerState:p}):null,f.jsx(MV,{className:E.bar1,ownerState:p,style:I.bar1}),d==="determinate"?null:f.jsx(jV,{className:E.bar2,ownerState:p,style:I.bar2})]}))});process.env.NODE_ENV!=="production"&&(ev.propTypes={classes:c.object,className:c.string,color:c.oneOfType([c.oneOf(["inherit","primary","secondary"]),c.string]),sx:c.oneOfType([c.arrayOf(c.oneOfType([c.func,c.object,c.bool])),c.func,c.object]),value:c.number,valueBuffer:c.number,variant:c.oneOf(["buffer","determinate","indeterminate","query"])});const kV=ev,FV=ce("div")(({theme:e})=>({position:"fixed",top:0,left:0,zIndex:2001,width:"100%","& > * + *":{marginTop:e.spacing(2)}})),tv=()=>f.jsx(FV,{children:f.jsx(kV,{color:"primary"})}),LV=e=>t=>f.jsx(S.Suspense,{fallback:f.jsx(tv,{}),children:f.jsx(e,{...t})}),uc=({title:e})=>f.jsxs(Q.Stack,{direction:"row",children:[f.jsx(Q.Typography,{variant:"h2",sx:{fontWeight:"regular",letterSpacing:-2.5},children:"a."})," ",f.jsx(Q.Typography,{variant:"h2",sx:{fontWeight:"bold"},children:e})]});uc.propTypes={title:c.string.isRequired};const nv=ce(R.Notification,{})(({theme:e})=>({"& *":{fontSize:e.typography.body1.fontSize}})),Rg=({children:e})=>{const t=gt.useLocation(),{pathname:n}=t;return S.useEffect(()=>{window.scrollTo({top:0,left:0,behavior:"smooth"})},[n]),e||null};Rg.propTypes={children:c.node};const NV=ce("div")({width:"100%",overflowX:"auto",display:"block"}),Og=({title:e})=>f.jsx(Q.Typography,{variant:"h2",sx:{style:"bold"},children:e==null?void 0:e.substr(0,1).toUpperCase()});Og.propTypes={title:c.string.isRequired};const Dg=(e,t)=>{const n=t.id;if(!e)return[t];const r=e.findIndex(i=>i.id===n);return r===-1?[...e,t]:[...e.slice(0,r),{...e[r],...t},...e.slice(r+1)]},VV=(e,t)=>e&&e.data?{data:Dg(e.data,t),total:e.total+1}:e,HV=(e,t)=>e&&e.length>0?Dg(e,t):e,zV=(e,t)=>e&&e.data?{...e,data:Dg(e.data,t),total:e.total+1}:e,Mg=({onClose:e,record:t,children:n,redirect:r,onSubmit:i,onSuccess:a,onError:l})=>{const u=lm.useQueryClient(),d=R.useResourceContext(),g=R.useRedirect(),p=R.useNotify(),E=S.useCallback(B=>{const O=Date.now();u.setQueryData([d,"getOne",{id:B.id}],B),u.setQueriesData([d,"getList"],M=>zV(M,B),{updatedAt:O}),u.setQueriesData([d,"getMany"],M=>HV(M,B),{updatedAt:O}),u.setQueriesData([d,"getManyReference"],M=>VV(M,B),{updatedAt:O}),e(),p("ra.notification.created"),r!==void 0&&g(r,d,B.id,B),a&&a(B)},[e,a,u,d,p,g,r]),{save:h,isLoading:m}=R.useCreateController({mutationOptions:{onSuccess:E,onError:l}}),I=S.useCallback(B=>{i?i(B,e):h&&h(B)},[i,h,e]);return f.jsx(R.CreateContextProvider,{value:{record:t,save:I,saving:m,redirect:r},children:S.cloneElement(n,{...n.props,toolbar:f.jsxs(Tr,{children:[f.jsx(R.Button,{variant:"text",size:"medium",label:"ra.action.cancel",onClick:e}),f.jsx(R.SaveButton,{})]})})})};Mg.propTypes={children:c.node,onClose:c.func,record:c.object,redirect:c.oneOf(["list","edit","show",!1])};Mg.defaultProps={redirect:!1};const WV={true:{_scrollToTop:!0},false:{}},UV=ce(Q.Fab,{name:"RaApplicaCreateInDialogButton",overridesResolver:(e,t)=>t.root})(({theme:e})=>({[`&.${R.CreateButtonClasses.floating}`]:{color:e.palette.getContrastText(e.palette.primary.main),margin:0,top:"auto",right:20,bottom:60,left:"auto",position:"fixed",zIndex:1e3}})),jg=({fullWidth:e,maxWidth:t,label:n,record:r,redirect:i,scrollToTop:a,className:l,sx:u,onSubmit:d,onSuccess:g,onError:p,...E})=>{const[h,m]=S.useState(!1),I=R.useTranslate(),B=R.useResourceContext(),{openDialog:y,closeDialog:O}=So(),M=S.useCallback(()=>y(B,()=>m(!0)),[y,B]),w=S.useCallback(()=>O(B,()=>m(!1)),[O,B]),T=Q.useMediaQuery(P=>P.breakpoints.down("md"));return f.jsxs(f.Fragment,{children:[T?f.jsx(UV,{...E,state:WV[String(a)],color:"primary",className:ze(R.CreateButtonClasses.floating,l),"aria-label":n&&I(n),onClick:M,children:f.jsx(Jn.Add,{})}):f.jsx(R.Button,{...E,sx:u,label:n,onClick:M,children:f.jsx(Jn.Add,{})}),f.jsx(Q.Dialog,{open:h,onClose:w,fullWidth:e,maxWidth:t,children:f.jsx(Mg,{...E,redirect:i,record:r,onClose:w,onSubmit:d,onSuccess:g,onError:p})})]})};jg.defaultProps={fullWidth:!0,maxWidth:"md",label:"ra.action.create",scrollToTop:!0};jg.propTypes={...R.Button.propTypes,redirect:c.oneOf(["list","edit","show",!1]),fullWidth:c.bool,maxWidth:c.oneOf(["xs","sm","md","lg","xl",!1]),label:c.string,record:c.object,scrollToTop:c.bool,className:c.string,sx:c.object,children:c.node,onSubmit:c.func,onSuccess:c.func,onError:c.func};const rv=({onClose:e,children:t})=>{const n=R.useNotify(),r=R.useRecordContext(),i=R.useResourceContext(),{id:a}=r,{isLoading:l,data:u}=R.useGetOne(i,{id:a}),d=S.useCallback(()=>{n("ra.notification.updated",{type:"info",messageArgs:{smart_count:1}}),e()},[e,n]),{save:g,saving:p}=R.useEditController({resource:i,id:a,mutationMode:"pessimistic",mutationOptions:{onSuccess:d}});return f.jsx(R.EditContextProvider,{value:{record:u,isLoading:l,save:g,saving:p},children:S.cloneElement(t,{toolbar:f.jsxs(Tr,{children:[f.jsx(R.Button,{variant:"text",size:"medium",label:"ra.action.cancel",onClick:e}),f.jsx(R.SaveButton,{})]})})})};rv.propTypes={children:c.node,onClose:c.func};const kg=({fullWidth:e,maxWidth:t,label:n,...r})=>{const[i,a]=S.useState(!1),{openDialog:l,closeDialog:u}=So(),d=R.useResourceContext(),g=S.useCallback(()=>l(d,()=>a(!0)),[l,d]),p=S.useCallback(()=>u(d,()=>a(!1)),[u,d]);return f.jsxs(f.Fragment,{children:[f.jsx(R.Button,{label:n,onClick:g,children:f.jsx(Jn.Edit,{})}),f.jsx(Q.Dialog,{open:i,onClose:p,fullWidth:e,maxWidth:t,children:f.jsx(rv,{...r,onClose:p})})]})};kg.defaultProps={fullWidth:!0,maxWidth:"md",label:"ra.action.edit"};kg.propTypes={fullWidth:c.bool,maxWidth:c.oneOf(["xs","sm","md","lg","xl",!1]),label:c.string};const ov=({label:e="ra.auth.sign_in",...t})=>{const n=R.useRecordContext(),[r,i]=S.useState(!1),a=R.useAuthProvider(),l=S.useCallback(u=>{u.stopPropagation(),u.preventDefault(),i(!0),a.impersonate(n==null?void 0:n.id).then(()=>{i(!1),document.location.href="/"})},[a,n==null?void 0:n.id]);return f.jsx(R.Button,{disabled:r||a.impersonate===void 0,color:"primary",variant:"text",label:e,onClick:l,...t,children:f.jsx(Jn.VpnKey,{})})};ov.propTypes={label:c.string};const YV=ce(R.Datagrid,{name:"ApplicaDatagrid",slot:"root"})(()=>({"& .RaBulkActionsToolbar-collapsed":{height:0,paddingTop:0,paddingBottom:0},"& .RaBulkActionsToolbar-topToolbar":{backgroundColor:"transparent"},"& .icon span":{top:-1,left:-1},"& th":{textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"}})),Fg=e=>f.jsx(YV,{...e});Fg.propTypes={...R.Datagrid.propTypes};Fg.defaultProps={...R.Datagrid.defaultProps};const GV=ce("div")(({theme:e})=>({padding:e.spacing(2)})),iv=({actions:e,className:t,...n})=>{const{hasCreate:r}=Qe.useResourceDefinition(n),i=Qe.useResourceContext(n),a=Qe.useTranslate(),l=Qe.useGetResourceLabel(),u=a(`resources.${i}.forcedCaseName`,{smart_count:0,_:l(i,0)}),d=a("ra.page.empty",{name:u}),g=a("ra.page.invite");return f.jsxs(KV,{className:t,children:[f.jsxs("div",{className:pi.message,children:[f.jsx(Jn.Inbox,{className:pi.icon}),f.jsx(Q.Typography,{variant:"h4",paragraph:!0,children:a(`resources.${i}.empty`,{_:d})}),r&&f.jsx(Q.Typography,{variant:"body1",children:a(`resources.${i}.invite`,{_:g})})]}),f.jsx(GV,{className:pi.toolbar,children:e})]})},Ga="ApplicaEmpty",pi={message:`${Ga}-message`,icon:`${Ga}-icon`,toolbar:`${Ga}-toolbar`},KV=ce("span",{name:Ga,overridesResolver:(e,t)=>t.root})(({theme:e})=>({flex:1,[`& .${pi.message}`]:{textAlign:"center",opacity:e.palette.mode==="light"?.5:.8,margin:"0 1em",color:e.palette.mode==="light"?"inherit":e.palette.text.primary},[`& .${pi.icon}`]:{width:"9em",height:"9em"},[`& .${pi.toolbar}`]:{textAlign:"center",marginTop:"2em"}}));iv.propTypes={actions:c.element,className:c.string};const _V=yi(R.List,{name:"RaApplicaList",slot:"root"})(({theme:e})=>({"& .RaList-main":{overflowX:"auto","& .RaBulkActionsToolbar-toolbar":{height:36,top:42,paddingTop:16,"& .RaBulkActionsToolbar-title":{alignItems:"end","& .MuiTypography-root":{alignSelf:"center"}}},"& .MuiToolbar-root":{"& form":{padding:e.spacing(2),paddingBottom:e.spacing(2),alignItems:"flex-start"},"& .MuiButton-root":{margin:e.spacing(2)},"& .RaFilterForm-filterFormInput > .ra-input":{alignSelf:"center"},"& .RaFilterFormInput-hideButton":{marginTop:e.spacing(1),marginBottom:e.spacing(.5),marginRight:e.spacing(1)}}},"& .RaList-actions":{padding:e.spacing(2),paddingTop:0},"& .RaList-content":{"& .RaBulkActionsToolbar-collapsed":{height:0,paddingTop:0,paddingBottom:0},"& .icon span":{top:-1,left:-1}},"& .RaEmpty-toolbar":{margin:e.spacing(2)}})),sv=e=>f.jsx(Nn,{content:!1,children:f.jsx(_V,{...e})});sv.propTypes={...R.List.propTypes};const qV=()=>{const e=R.useRefresh(),t=R.useNotify(),n=R.useUnselectAll(),r=R.useResourceContext(),{selectedIds:i,data:a}=R.useListContext(),l=R.useRecordContext(),u=i.map(E=>a.find(h=>h.id===E)),[d,{isLoading:g}]=R.useUpdateMany(r,{ids:i.length>0?i:[l==null?void 0:l.id],data:{readed:Qr().format("YYYY-MM-DD HH:mm:ss")},rows:u},{onSuccess:()=>{e(),t("resources.notifications.messages.readed.done"),n(r)},onError:()=>t("ra.notification.readed_error","warning"),onFailure:()=>t("ra.notification.readed_error","warning")}),p=S.useCallback(()=>{d()},[d]);return f.jsx(R.Button,{label:"ra.notification.mark_as_readed",disabled:g||(l==null?void 0:l.readed)!==null,onClick:p,children:f.jsx(Jn.Email,{})})},JV=()=>{const e=R.useRefresh(),t=R.useNotify(),n=R.useUnselectAll(),{selectedIds:r,data:i}=R.useListContext(),a=R.useRecordContext(),l=R.useResourceContext(),u=r.map(E=>i.find(h=>h.id===E)).concat([a]),[d,{isLoading:g}]=R.useUpdateMany(l,{ids:r.length>0?r:[a==null?void 0:a.id],data:{readed:null},rows:u},{onSuccess:()=>{e(),t("resources.notifications.messages.unreaded.done"),n("notifications")},onFailure:()=>t("resources.notifications.messages.unreaded.error","warning")}),p=S.useCallback(()=>{d()},[d]);return f.jsx(R.Button,{color:"secondary",label:"ra.notification.mark_as_unreaded",disabled:g||a&&!(a!=null&&a.readed),onClick:p,children:f.jsx(Jn.Drafts,{})})},XV=e=>{const t=R.useRecordContext(e),n=R.useResourceContext(e),r=R.useRedirect(),i=R.useNotify(),a=R.useTranslate(),[l]=R.useLocaleState(),u=S.useMemo(()=>t!=null&&t.readed?Qr(t==null?void 0:t.readed).locale(l).format("ddd, DD MMM YYYY HH:mm:ss"):!1,[t==null?void 0:t.readed,l]),[d]=R.useUpdate(n,{id:t==null?void 0:t.id,data:{...t,readed:Qr().format("YYYY-MM-DD HH:mm:ss")}},{onSuccess:()=>{t!=null&&t.resource&&(t!=null&&t.resource.startsWith("/")?r(t==null?void 0:t.resource):document.location.href=t==null?void 0:t.resource)},onFailure:()=>{i("ra.notification.readed_error","warning")}}),g=S.useCallback(()=>d(),[d]);return f.jsxs("div",{onClick:g,style:{cursor:"pointer"},role:"button",tabIndex:0,children:[f.jsx(Q.Typography,{variant:"subtitle1",children:f.jsxs(Q.Box,{fontWeight:"bold",children:[" ",t==null?void 0:t.title]})}),f.jsx(Q.Typography,{variant:"body1",sx:{overflow:"hidden",textOverflow:"ellipsis",display:"-webkit-box",WebkitBoxOrient:"vertical",whiteSpace:"break-spaces"},dangerouslySetInnerHTML:{__html:t==null?void 0:t.content}}),u&&f.jsx(Q.Typography,{variant:"caption",display:"block",sx:{mt:1},color:"textSecondary",children:a("ra.notification.readed",{readed:u})})]})},ZV=({...e})=>{const t=Q.useTheme(),{mode:n,colorize:r,density:i}=S.useMemo(()=>({mode:t.palette.mode,colorize:t.palette.mode==="dark"?Q.darken:Q.lighten,density:t.palette.mode==="dark"?.5:.9}),[t.palette.mode]),a=S.useCallback(l=>({backgroundColor:l!=null&&l.readed?r(t.palette.primary[n],i):r(t.palette.secondary[n],i)}),[t,n,r,i]);return f.jsxs(R.Datagrid,{...e,rowStyle:a,children:[f.jsx(XV,{source:"notification",sortable:!1,label:"ra.notification"}),f.jsx(_l,{source:"created",label:"ra.notification.created"}),f.jsxs(xs,{children:[f.jsx(qV,{}),f.jsx(JV,{})]})]})},ka={width:"1.5rem",alignSelf:"center"},Lg=({source:e,label:t,variant:n,record:r,spaceBottom:i,spaceTop:a,component:l,leftIcon:u,rightIcon:d,button:g,buttonProps:p,...E})=>{const{getCurrentDialog:h}=So(),m=Qe.useResourceContext(E),I=h(),B=Qe.useRecordContext(),y=r||B,O=it.get(y,e||"");return f.jsxs(Q.Stack,{direction:"row",alignItems:"center",justifyContent:"space-between",sx:M=>({pt:1,pb:1,borderBottom:`1px solid ${M.palette.divider}`,...i&&{mb:2},...a&&{mt:2}}),children:[f.jsxs(Q.Stack,{direction:"row",alignItems:"start",children:[u&&(S.isValidElement(u)?S.cloneElement(u,{style:ka}):S.createElement(u,{style:ka})),f.jsx(Qe.FieldTitle,{label:t,source:e,resource:I||m})]}),f.jsxs(Q.Stack,{direction:"row",alignItems:"center",children:[l?S.isValidElement(l)?S.cloneElement(l,{record:y,resource:m,value:O}):S.createElement(l,{source:e,record:y,resource:m,value:O}):f.jsx(Q.Typography,{variant:n,children:O}),d&&(S.isValidElement(d)?S.cloneElement(d,{style:ka}):S.createElement(d,{style:ka})),g&&f.jsx(Q.Button,{size:"small",variant:"outlined",sx:{ml:1,p:0},...p,children:g})]})]})};Lg.propTypes={source:c.string,label:c.string,record:c.object,variant:c.oneOf(["body1","body2","caption","button","h1","h2","h3","h4","h5","h6","inherit","overline","subtitle1","subtitle2"]),spaceTop:c.bool,spaceBottom:c.bool,leftIcon:c.oneOfType([c.elementType,c.element,c.func]),rightIcon:c.oneOfType([c.elementType,c.element,c.func]),component:c.oneOfType([c.elementType,c.element,c.func]),buttonProps:c.object,button:c.string};Lg.defaultProps={variant:"body1"};const av=()=>{const e=Wt.useTheme(),n=e.palette.mode==="dark"?e.palette.primary.dark:e.palette.primary.light;return f.jsx(Q.Box,{sx:{position:"absolute",filter:"blur(20px)",bottom:0,p:4,pb:8},children:f.jsxs("svg",{width:"100%",height:"calc(100vh - 175px)",viewBox:"0 0 117 80",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[f.jsx("path",{d:"M15.7523 21.9601L14.0526 17.2379H4.6534L2.95369 21.9601H0L7.78722 0.903564H10.9187L18.706 21.9601H15.7523ZM5.60948 14.6207H13.0988L9.33912 4.24262L5.60948 14.6207Z",fill:n}),f.jsx("path",{d:"M33.592 8.8437C35.0538 10.3782 35.7997 12.2433 35.7997 14.4391C35.7997 16.6348 35.0538 18.5302 33.592 20.0647C32.1301 21.5992 30.3404 22.3513 28.2504 22.3513C25.7747 22.3513 23.8949 21.3593 22.6109 19.3731V27.9769H20.0151V6.91804H22.6109V9.505C23.8949 7.51879 25.7724 6.52686 28.2504 6.52686C30.3381 6.52686 32.1301 7.30923 33.592 8.8437ZM31.6821 18.2881C32.6959 17.2356 33.204 15.9712 33.204 14.4367C33.204 12.9023 32.6959 11.6402 31.6821 10.6157C30.6683 9.56321 29.4143 9.05094 27.9224 9.05094C26.4306 9.05094 25.1489 9.56321 24.1328 10.6157C23.1189 11.6379 22.6109 12.9023 22.6109 14.4367C22.6109 15.9712 23.1189 17.2333 24.1328 18.2881C25.1466 19.3103 26.4006 19.8225 27.9224 19.8225C29.4443 19.8225 30.6683 19.3103 31.6821 18.2881Z",fill:n}),f.jsx("path",{d:"M51.5798 8.8437C53.0416 10.3782 53.7875 12.2433 53.7875 14.4391C53.7875 16.6348 53.0416 18.5302 51.5798 20.0647C50.1179 21.5992 48.3282 22.3513 46.2382 22.3513C43.7625 22.3513 41.8827 21.3593 40.5987 19.3731V27.9769H38.0029V6.91804H40.5987V9.505C41.8827 7.51879 43.7602 6.52686 46.2382 6.52686C48.3258 6.52686 50.1179 7.30923 51.5798 8.8437ZM49.6699 18.2881C50.6837 17.2356 51.1918 15.9712 51.1918 14.4367C51.1918 12.9023 50.6837 11.6402 49.6699 10.6157C48.6561 9.56321 47.4021 9.05094 45.9102 9.05094C44.4184 9.05094 43.1367 9.56321 42.1206 10.6157C41.1067 11.6379 40.5987 12.9023 40.5987 14.4367C40.5987 15.9712 41.1067 17.2333 42.1206 18.2881C43.1344 19.3103 44.3884 19.8225 45.9102 19.8225C47.4321 19.8225 48.6561 19.3103 49.6699 18.2881Z",fill:n}),f.jsx("path",{d:"M55.5449 21.96V0H58.1407V21.96H55.5449Z",fill:n}),f.jsx("path",{d:"M60.3188 2.43569C60.3188 1.47402 61.0948 0.661377 62.0786 0.661377C63.0624 0.661377 63.8083 1.47402 63.8083 2.43569C63.8083 3.39736 63.0324 4.17973 62.0786 4.17973C61.1248 4.17973 60.3188 3.39736 60.3188 2.43569ZM60.7669 21.9578V6.91803H63.3626V21.9578H60.7669Z",fill:n}),f.jsx("path",{d:"M67.8354 20.095C66.3436 18.5605 65.5977 16.6954 65.5977 14.4391C65.5977 12.1828 66.3436 10.3176 67.8354 8.81343C69.3273 7.27896 71.2071 6.52686 73.4449 6.52686C76.3986 6.52686 78.8743 8.06133 80.0382 10.4667L77.8605 11.731C77.1145 10.136 75.4425 9.08354 73.4449 9.08354C71.9531 9.08354 70.6991 9.59581 69.6853 10.618C68.7015 11.6402 68.1934 12.9046 68.1934 14.4391C68.1934 15.9735 68.7015 17.2076 69.6853 18.2299C70.6991 19.2521 71.9531 19.7643 73.4449 19.7643C75.4448 19.7643 77.1145 18.7421 77.9505 17.1471L80.1583 18.4394C78.8766 20.8168 76.3386 22.349 73.4449 22.349C71.2071 22.349 69.3273 21.5969 67.8354 20.0927V20.095Z",fill:n}),f.jsx("path",{d:"M94.2686 6.91793H96.8643V21.9577H94.2686V19.3707C92.9869 21.3569 91.107 22.3488 88.6314 22.3488C86.5437 22.3488 84.7516 21.5967 83.2898 20.0623C81.828 18.5278 81.082 16.6324 81.082 14.4366C81.082 12.2409 81.828 10.3757 83.2898 8.84126C84.7516 7.30679 86.5414 6.52441 88.6314 6.52441C91.107 6.52441 92.9869 7.51635 94.2686 9.50256V6.9156V6.91793ZM92.7467 18.288C93.7605 17.2355 94.2686 15.9711 94.2686 14.4366C94.2686 12.9022 93.7605 11.6401 92.7467 10.6156C91.7329 9.5631 90.4789 9.05083 88.957 9.05083C87.4351 9.05083 86.2112 9.5631 85.1973 10.6156C84.1835 11.6378 83.6755 12.9022 83.6755 14.4366C83.6755 15.9711 84.1835 17.2331 85.1973 18.288C86.2112 19.3102 87.4652 19.8224 88.957 19.8224C90.4489 19.8224 91.7306 19.3102 92.7467 18.288Z",fill:n}),f.jsx("path",{d:"M0.836162 48.9264L3.22406 47.5432C4.03003 50.0999 5.90986 51.3643 8.80351 51.3643C11.6972 51.3643 13.219 50.072 13.219 48.116C13.219 47.1241 12.8311 46.372 12.0851 45.8597C11.3392 45.3475 10.0575 44.8375 8.29545 44.2647L6.29553 43.6034C5.84751 43.4218 5.25169 43.1517 4.56581 42.8211C3.87992 42.4601 3.37186 42.0992 3.04393 41.7383C2.35804 40.9862 1.72989 39.7521 1.72989 38.22C1.72989 36.3851 2.35573 34.9414 3.63975 33.889C4.92376 32.8062 6.47335 32.2637 8.29314 32.2637C11.6048 32.2637 14.1405 34.0985 15.3645 36.8648L13.0366 38.2176C12.1406 36.0521 10.561 34.9694 8.29314 34.9694C6.02533 34.9694 4.50345 36.1732 4.50345 38.0989C4.50345 39.0303 4.83139 39.7242 5.48725 40.2038C6.14311 40.6858 7.27702 41.1958 8.88896 41.708L10.1129 42.0992C10.3508 42.19 10.7088 42.3088 11.2168 42.5207C12.2607 42.9119 12.5008 43.0609 13.3045 43.5126C14.1405 43.9643 14.4084 44.295 14.9164 44.8957C15.6624 45.6478 15.9603 46.7306 15.9603 48.0532C15.9603 49.888 15.3044 51.362 13.9604 52.475C12.6186 53.5577 10.8866 54.1003 8.73885 54.1003C4.83139 54.1003 1.93773 52.1443 0.831543 48.9264H0.836162Z",fill:n,opacity:"0.6"}),f.jsx("path",{d:"M25.089 54.1001C22.9112 54.1001 21.0314 53.348 19.5095 51.8135C17.9876 50.279 17.2417 48.4139 17.2417 46.1878C17.2417 43.9618 17.9876 42.0967 19.5095 40.5622C21.0314 39.0277 22.9112 38.2756 25.089 38.2756C27.2667 38.2756 29.1465 39.0277 30.6684 40.5622C32.1903 42.0967 32.9663 43.9618 32.9663 46.1878C32.9663 48.4139 32.1903 50.279 30.6684 51.8135C29.1465 53.348 27.2667 54.1001 25.089 54.1001ZM28.8486 50.0089C29.8624 48.9867 30.3705 47.7223 30.3705 46.1878C30.3705 44.6534 29.8624 43.3913 28.8486 42.3668C27.8348 41.3446 26.5808 40.8323 25.089 40.8323C23.5971 40.8323 22.3731 41.3446 21.3593 42.3668C20.3455 43.389 19.8374 44.6534 19.8374 46.1878C19.8374 47.7223 20.3455 48.9844 21.3593 50.0089C22.3731 51.0311 23.6271 51.5434 25.089 51.5434C26.5508 51.5434 27.8348 51.0311 28.8486 50.0089Z",fill:n,opacity:"0.6"}),f.jsx("path",{d:"M42.5409 34.7877C39.9151 34.5782 38.6034 35.7215 38.6034 38.2176V38.6693H42.5409V41.1958H38.6034V53.7091H36.0077V41.1958H33.6221V38.6693H36.0077V38.2176C36.0077 34.1567 38.3355 31.9912 42.5409 32.2613V34.7877Z",fill:n,opacity:"0.6"}),f.jsx("path",{d:"M52.7718 41.1958H48.8043V49.3478C48.8043 51.6647 50.116 51.4831 52.7718 51.3643V53.7114C48.2362 54.3122 46.2086 53.0804 46.2086 49.3502V41.1981H43.2549V38.6717H46.2086V35.2418L48.8043 34.4595V38.6717H52.7718V41.1981V41.1958Z",fill:n,opacity:"0.6"}),f.jsx("path",{d:"M72.9095 38.6692H75.6254L71.002 53.7089H68.3462L64.8544 42.5787L61.3627 53.7089H58.7069L54.0835 38.6692H56.797L60.0786 50.0998L63.5981 38.6692H66.1038L69.6233 50.13L72.9049 38.6692H72.9095Z",fill:n,opacity:"0.6"}),f.jsx("path",{d:"M88.5694 38.6692H91.1651V53.7089H88.5694V51.1219C87.2876 53.1081 85.4078 54.1001 82.9322 54.1001C80.8445 54.1001 79.0524 53.348 77.5906 51.8135C76.1287 50.279 75.3828 48.3836 75.3828 46.1878C75.3828 43.9921 76.1287 42.127 77.5906 40.5925C79.0524 39.058 80.8422 38.2756 82.9322 38.2756C85.4078 38.2756 87.2876 39.2676 88.5694 41.2538V38.6668V38.6692ZM87.0475 50.0392C88.0613 48.9867 88.5694 47.7223 88.5694 46.1878C88.5694 44.6534 88.0613 43.3913 87.0475 42.3668C86.0337 41.3143 84.7797 40.802 83.2578 40.802C81.7359 40.802 80.5119 41.3143 79.4981 42.3668C78.4843 43.389 77.9762 44.6534 77.9762 46.1878C77.9762 47.7223 78.4843 48.9844 79.4981 50.0392C80.5119 51.0614 81.7659 51.5737 83.2578 51.5737C84.7496 51.5737 86.0313 51.0614 87.0475 50.0392Z",fill:n,opacity:"0.6"}),f.jsx("path",{d:"M96.8023 41.1957C97.6683 39.3306 99.2202 38.3992 101.456 38.3992V41.1375C100.172 41.0769 99.0978 41.4076 98.1741 42.1597C97.2503 42.9118 96.8023 44.0853 96.8023 45.7386V53.709H94.2065V38.6693H96.8023V41.1957Z",fill:n,opacity:"0.6"}),f.jsx("path",{d:"M104.409 47.3918C104.917 50.0696 106.975 51.6343 109.809 51.6343C111.778 51.6343 113.21 50.9125 114.104 49.4385L116.312 50.7029C114.85 52.9592 112.672 54.1025 109.748 54.1025C107.391 54.1025 105.453 53.3504 103.961 51.8765C102.499 50.3723 101.753 48.4769 101.753 46.1903C101.753 43.9037 102.469 42.0386 103.931 40.5344C105.393 39.0302 107.273 38.2781 109.568 38.2781C111.746 38.2781 113.536 39.0604 114.91 40.6252C116.312 42.1597 116.998 44.0248 116.998 46.2206C116.998 46.6117 116.968 47.0029 116.908 47.3941H104.407L104.409 47.3918ZM104.409 45.1052H114.374C113.926 42.2482 111.956 40.7439 109.571 40.7439C106.797 40.7439 104.857 42.4577 104.409 45.1052Z",fill:n,opacity:"0.6"}),f.jsx("path",{d:"M22.1377 69.1726V70.4369C22.1377 73.1752 21.2116 75.4595 19.3341 77.2943C17.4542 79.0989 14.9786 80.0024 11.9048 80.0024C8.83102 80.0024 6.08748 78.9499 3.99749 76.8449C1.93983 74.7097 0.895996 72.1228 0.895996 69.0841C0.895996 66.0454 1.93983 63.4584 3.99749 61.3535C6.08517 59.2182 8.71093 58.1658 11.8448 58.1658C13.7846 58.1658 15.5444 58.6478 17.1563 59.5792C18.7683 60.5106 20.02 61.7144 20.886 63.2489L18.4981 64.6623C17.3041 62.3757 14.7084 60.8715 11.8147 60.8715C9.42684 60.8715 7.45925 61.6539 5.93737 63.2489C4.41549 64.8136 3.63954 66.7695 3.63954 69.0841C3.63954 71.3986 4.41549 73.3545 5.93737 74.9193C7.48927 76.484 9.48688 77.2664 11.9348 77.2664C16.1102 77.2664 18.796 74.9798 19.3641 71.7013H11.697V69.1749H22.14L22.1377 69.1726Z",fill:n,opacity:"0.6"}),f.jsx("path",{d:"M34.636 64.5691H37.2317V79.6088H34.636V77.4433C33.5921 79.1571 31.9802 80 29.8024 80C26.3107 80 24.0151 77.6226 24.0151 73.8039V64.5691H26.6109V73.6525C26.6109 76.0881 28.0127 77.5039 30.3105 77.5039C32.9062 77.5039 34.636 75.9089 34.636 72.5395V64.5691Z",fill:n,opacity:"0.6"}),f.jsx("path",{d:"M42.4209 67.0956C43.287 65.2305 44.8389 64.2991 47.0743 64.2991V67.0374C45.7903 66.9768 44.7165 67.3075 43.7927 68.0596C42.869 68.8117 42.4209 69.9852 42.4209 71.6385V79.6089H39.8252V64.5692H42.4209V67.0956Z",fill:n,opacity:"0.6"}),f.jsx("path",{d:"M59.3049 64.5691H61.9007V79.6088H59.3049V77.4433C58.2611 79.1571 56.6491 80 54.4714 80C50.9796 80 48.6841 77.6226 48.6841 73.8039V64.5691H51.2798V73.6525C51.2798 76.0881 52.6816 77.5039 54.9794 77.5039C57.5752 77.5039 59.3049 75.9089 59.3049 72.5395V64.5691Z",fill:n,opacity:"0.6"})]})})},lv=({children:e,...t})=>{const n=ut();return f.jsx(Nn,{sx:{maxWidth:{xs:400,lg:475},margin:{xs:2.5,md:3},"& > *":{flexGrow:1,flexBasis:"50%"}},content:!1,...t,border:!1,boxShadow:!0,shadow:n.customShadows.z1,children:f.jsx(Q.Box,{sx:{p:{xs:2,sm:3,md:4,xl:5}},children:e})})};lv.propTypes={children:c.node};const ks=({version:e,name:t,children:n,background:r=av})=>f.jsxs(Q.Box,{sx:{minHeight:"100vh"},children:[S.isValidElement(r)?r:S.createElement(r),f.jsxs(Q.Grid,{container:!0,direction:"column",justifyContent:"flex-end",sx:{minHeight:"100vh"},children:[f.jsx(Q.Grid,{item:!0,xs:12,sx:{ml:3,mt:3},children:f.jsx(uc,{title:t})}),f.jsxs(Q.Grid,{item:!0,xs:12,children:[f.jsx(Q.Grid,{item:!0,xs:12,container:!0,justifyContent:"center",alignItems:"center",sx:{minHeight:{xs:"calc(100vh - 210px)",sm:"calc(100vh - 134px)",md:"calc(100vh - 112px)"}},children:f.jsx(Q.Grid,{item:!0,children:f.jsx(lv,{children:n})})}),f.jsx(Q.Grid,{item:!0,sx:{pb:1},children:f.jsx(Tg,{name:t,version:e})})]})]})]});ks.propTypes={children:c.node,version:c.string,name:c.string,background:c.oneOfType([c.node,c.func,c.object])};const cv=({name:e,version:t,background:n})=>{const r=Qe.useTranslate(),i=Qe.useAuthProvider(),a=Qe.useNotify(),l=gt.useNavigate(),{token:u}=gt.useParams();return S.useEffect(()=>{if(typeof i.activate!="function")throw new Error("The authProvider used for the ActivatePage must define an activate() method");i.activate(u).then(()=>{a("ra.auth.activate_success",{type:"info"}),is.delay(()=>l("/login"),1e3)}).catch(d=>{a(d,{type:"error"}),is.delay(()=>l("/login"),1e3)})},[u]),f.jsx(ks,{name:e,version:t,background:n,children:f.jsxs(Q.Grid,{container:!0,spacing:3,children:[f.jsx(Q.Grid,{item:!0,xs:12,children:f.jsxs(Q.Stack,{direction:"row",justifyContent:"space-between",alignItems:"baseline",sx:{mb:{xs:-.5,sm:.5}},children:[f.jsx(Q.Typography,{variant:"h3",children:r("ra.auth.activate")}),f.jsx(Q.Typography,{component:gt.Link,to:"/login",variant:"body1",sx:{textDecoration:"none"},color:"primary",children:r("ra.auth.back_to_login")})]})}),f.jsx(Q.Grid,{item:!0,xs:12,children:r("ra.auth.activate_pending")})]})})};cv.propTypes={name:c.string.isRequired,version:c.string.isRequired,background:c.node};const Ac=({version:e,name:t,enablePasswordRecover:n,enableRegistration:r,redirectTo:i,background:a})=>{const[l,u]=Qe.useSafeSetState(!1),d=Qe.useLogin(),g=Qe.useTranslate(),p=Qe.useNotify(),E=Qe.useCheckAuth(),h=gt.useNavigate();S.useEffect(()=>{E({},!1).then(()=>{h("/")}).catch(()=>{})},[E,h]);const m=I=>{u(!0),d(I,i).then(()=>{u(!1)}).catch(B=>{u(!1),p(typeof B=="string"?B:typeof B>"u"||!B.message?"ra.auth.sign_in_error":B.message,{type:"error",messageArgs:{_:typeof B=="string"?B:B&&B.message?B.message:void 0}})})};return f.jsx(ks,{name:t,version:e,background:a,children:f.jsxs(Q.Grid,{container:!0,spacing:3,children:[f.jsx(Q.Grid,{item:!0,xs:12,children:f.jsxs(Q.Stack,{direction:"row",justifyContent:"space-between",alignItems:"baseline",sx:{mb:{xs:-.5,sm:.5}},children:[f.jsx(Q.Typography,{variant:"h3",children:"Login"}),r&&f.jsx(Q.Typography,{component:gt.Link,to:"/register",variant:"body1",sx:{textDecoration:"none"},color:"primary",children:g("ra.auth.register")})]})}),f.jsx(Q.Grid,{item:!0,xs:12,children:f.jsxs(Qe.Form,{onSubmit:m,children:[f.jsxs(Q.Grid,{container:!0,children:[f.jsx(Q.Grid,{item:!0,xs:12,sx:{mb:2},children:f.jsx(Vn,{autoFocus:!0,source:"username",label:g("ra.auth.username"),autoComplete:"username",validate:Qe.required(),placeholder:"user@company.name",fullWidth:!0})}),f.jsx(Q.Grid,{item:!0,xs:12,sx:{mb:2},children:f.jsx(Vn,{source:"password",label:g("ra.auth.password"),type:"password",autoComplete:"current-password",validate:Qe.required(),placeholder:g("ra.auth.password_placeholder"),fullWidth:!0})})]}),n&&f.jsx(Q.Grid,{item:!0,xs:12,sx:{mt:1},children:f.jsx(Q.Stack,{direction:"row",justifyContent:"flex-end",alignItems:"flex-end",spacing:2,children:f.jsx(Q.Link,{variant:"h6",component:gt.Link,to:"/recover",color:"text.primary",children:g("ra.auth.forgot_password")})})}),f.jsx(Q.Grid,{item:!0,xs:12,sx:{mt:1},children:f.jsx(Q.Button,{variant:"contained",type:"submit",color:"primary",disabled:l,fullWidth:!0,children:l?f.jsx(Q.CircularProgress,{size:19,thickness:3}):g("ra.auth.sign_in")})})]})})]})})};Ac.propTypes={version:c.string.isRequired,name:c.string.isRequired,enablePasswordRecover:c.bool,enableRegister:c.bool,background:c.element};Ac.defaultProps={enablePasswordRecover:!1,enableRegister:!1,background:f.jsx(av,{})};const uv=({name:e,version:t,background:n})=>{const[r,i]=S.useState(!1),a=Qe.useTranslate(),l=Qe.useRedirect(),u=Qe.useNotify(),d=Qe.useAuthProvider(),g=({email:p})=>{i(!0),d.recover(p).then(E=>{const h=`ra.auth.recover_${E.responseCode}`,m=E.responseCode==="ok"?"info":"error";u(h,{type:m}),l("/login")}).catch(E=>{u(E,{type:"error"})}).finally(()=>i(!1))};return f.jsx(ks,{name:e,version:t,background:n,children:f.jsxs(Q.Grid,{container:!0,spacing:3,children:[f.jsx(Q.Grid,{item:!0,xs:12,children:f.jsxs(Q.Stack,{direction:"row",justifyContent:"space-between",alignItems:"baseline",sx:{mb:{xs:-.5,sm:.5}},children:[f.jsx(Q.Typography,{variant:"h3",children:a("ra.auth.recover.title")}),f.jsx(Q.Typography,{component:gt.Link,to:"/login",variant:"body1",sx:{textDecoration:"none"},color:"primary",children:a("ra.auth.back_to_login")})]})}),f.jsx(Q.Grid,{item:!0,xs:12,children:f.jsxs(R.Form,{onSubmit:g,children:[f.jsx(Q.Grid,{container:!0,children:f.jsx(Q.Grid,{item:!0,xs:12,sx:{mb:1},children:f.jsx(Vn,{source:"email",validate:[Qe.required(),Qe.email()]})})}),f.jsx(Q.Grid,{item:!0,xs:12,sx:{mt:1,mb:1},children:f.jsx(Q.Typography,{variant:"caption",children:a("ra.auth.recover.inbox_help")})}),f.jsx(Q.Grid,{item:!0,xs:12,sx:{mt:1},children:f.jsx(Q.Button,{variant:"contained",type:"submit",color:"primary",disabled:r,fullWidth:!0,children:r?f.jsx(Q.CircularProgress,{size:19,thickness:3}):a("ra.auth.recover")})})]})})]})})};uv.propTypes={name:c.string.isRequired,version:c.string.isRequired,background:c.node};const Av=({name:e,version:t})=>{const[n,r]=S.useState(!1),i=Qe.useTranslate(),a=Qe.useRedirect(),l=Qe.useNotify(),u=Qe.useAuthProvider(),d=g=>{r(!0),u.register(g).then(p=>{const E=`ra.auth.register_${p.responseCode}`,h=p.responseCode==="ok"?"info":"error";l(E,{type:h}),a("/login")}).catch(p=>{console.log("error:",p),l(p,{type:"error"})}).finally(()=>r(!1))};return f.jsx(ks,{name:e,version:t,children:f.jsxs(Q.Grid,{container:!0,spacing:3,children:[f.jsx(Q.Grid,{item:!0,xs:12,children:f.jsxs(Q.Stack,{direction:"row",justifyContent:"space-between",alignItems:"baseline",sx:{mb:{xs:-.5,sm:.5}},children:[f.jsx(Q.Typography,{variant:"h3",children:i("ra.auth.register.title")}),f.jsx(Q.Typography,{component:gt.Link,to:"/login",variant:"body1",sx:{textDecoration:"none"},color:"primary",children:i("ra.auth.already_have_account")})]})}),f.jsx(Q.Grid,{item:!0,xs:12,children:f.jsxs(R.Form,{onSubmit:d,children:[f.jsxs(Q.Grid,{container:!0,children:[f.jsx(Q.Grid,{item:!0,xs:12,sx:{mb:1},children:f.jsx(Vn,{source:"name",label:i("ra.register.name"),validate:Qe.required()})}),f.jsx(Q.Grid,{item:!0,xs:12,sx:{mb:1},children:f.jsx(Vn,{source:"email",type:"email",validate:[Qe.required(),Qe.email()]})}),f.jsx(Q.Grid,{item:!0,xs:12,sx:{mb:1},children:f.jsx(Vn,{source:"password",type:"password",validate:Qe.required()})})]}),f.jsx(Q.Grid,{item:!0,xs:12,sx:{mt:1},children:f.jsx(Q.Button,{variant:"contained",type:"submit",color:"primary",disabled:n,fullWidth:!0,children:n?f.jsx(Q.CircularProgress,{size:19,thickness:3}):i("ra.auth.create_account")})})]})})]})})};Av.propTypes={name:c.string.isRequired,version:c.string.isRequired};const $V=e=>({button:e.palette.mode==="dark"?"0 2px 0 rgb(0 0 0 / 5%)":"0 2px #0000000b",text:"0 -1px 0 rgb(0 0 0 / 12%)",z1:e.palette.mode==="dark"?"0px 1px 1px rgb(0 0 0 / 14%), 0px 2px 1px rgb(0 0 0 / 12%), 0px 1px 3px rgb(0 0 0 / 20%)":`0px 1px 4px ${Ve(e.palette.grey[900],.08)}`,primary:`0 0 0 2px ${Ve(e.palette.primary.main,.2)}`,secondary:`0 0 0 2px ${Ve(e.palette.secondary.main,.2)}`,error:`0 0 0 2px ${Ve(e.palette.error.main,.2)}`,warning:`0 0 0 2px ${Ve(e.palette.warning.main,.2)}`,info:`0 0 0 2px ${Ve(e.palette.info.main,.2)}`,success:`0 0 0 2px ${Ve(e.palette.success.main,.2)}`,grey:`0 0 0 2px ${Ve(e.palette.grey[500],.2)}`,primaryButton:`0 14px 12px ${Ve(e.palette.primary.main,.2)}`,secondaryButton:`0 14px 12px ${Ve(e.palette.secondary.main,.2)}`,errorButton:`0 14px 12px ${Ve(e.palette.error.main,.2)}`,warningButton:`0 14px 12px ${Ve(e.palette.warning.main,.2)}`,infoButton:`0 14px 12px ${Ve(e.palette.info.main,.2)}`,successButton:`0 14px 12px ${Ve(e.palette.success.main,.2)}`,greyButton:`0 14px 12px ${Ve(e.palette.grey[500],.2)}`});function Hn(e,t){eH(e)&&(e="100%");var n=tH(e);return e=t===360?e:Math.min(t,Math.max(0,parseFloat(e))),n&&(e=parseInt(String(e*t),10)/100),Math.abs(e-t)<1e-6?1:(t===360?e=(e<0?e%t+t:e%t)/parseFloat(String(t)):e=e%t/parseFloat(String(t)),e)}function eH(e){return typeof e=="string"&&e.indexOf(".")!==-1&&parseFloat(e)===1}function tH(e){return typeof e=="string"&&e.indexOf("%")!==-1}function nH(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function Fa(e){return e<=1?"".concat(Number(e)*100,"%"):e}function tA(e){return e.length===1?"0"+e:String(e)}function rH(e,t,n){return{r:Hn(e,255)*255,g:Hn(t,255)*255,b:Hn(n,255)*255}}function nA(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*(6*n):n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function oH(e,t,n){var r,i,a;if(e=Hn(e,360),t=Hn(t,100),n=Hn(n,100),t===0)i=n,a=n,r=n;else{var l=n<.5?n*(1+t):n+t-n*t,u=2*n-l;r=nA(u,l,e+1/3),i=nA(u,l,e),a=nA(u,l,e-1/3)}return{r:r*255,g:i*255,b:a*255}}function iH(e,t,n){e=Hn(e,255),t=Hn(t,255),n=Hn(n,255);var r=Math.max(e,t,n),i=Math.min(e,t,n),a=0,l=r,u=r-i,d=r===0?0:u/r;if(r===i)a=0;else{switch(r){case e:a=(t-n)/u+(t<n?6:0);break;case t:a=(n-e)/u+2;break;case n:a=(e-t)/u+4;break}a/=6}return{h:a,s:d,v:l}}function sH(e,t,n){e=Hn(e,360)*6,t=Hn(t,100),n=Hn(n,100);var r=Math.floor(e),i=e-r,a=n*(1-t),l=n*(1-i*t),u=n*(1-(1-i)*t),d=r%6,g=[n,l,a,a,u,n][d],p=[u,n,n,l,a,a][d],E=[a,a,u,n,n,l][d];return{r:g*255,g:p*255,b:E*255}}function aH(e,t,n,r){var i=[tA(Math.round(e).toString(16)),tA(Math.round(t).toString(16)),tA(Math.round(n).toString(16))];return r&&i[0].startsWith(i[0].charAt(1))&&i[1].startsWith(i[1].charAt(1))&&i[2].startsWith(i[2].charAt(1))?i[0].charAt(0)+i[1].charAt(0)+i[2].charAt(0):i.join("")}function $E(e){return yn(e)/255}function yn(e){return parseInt(e,16)}var em={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function $i(e){var t={r:0,g:0,b:0},n=1,r=null,i=null,a=null,l=!1,u=!1;return typeof e=="string"&&(e=uH(e)),typeof e=="object"&&(Cr(e.r)&&Cr(e.g)&&Cr(e.b)?(t=rH(e.r,e.g,e.b),l=!0,u=String(e.r).substr(-1)==="%"?"prgb":"rgb"):Cr(e.h)&&Cr(e.s)&&Cr(e.v)?(r=Fa(e.s),i=Fa(e.v),t=sH(e.h,r,i),l=!0,u="hsv"):Cr(e.h)&&Cr(e.s)&&Cr(e.l)&&(r=Fa(e.s),a=Fa(e.l),t=oH(e.h,r,a),l=!0,u="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(n=e.a)),n=nH(n),{ok:l,format:e.format||u,r:Math.min(255,Math.max(t.r,0)),g:Math.min(255,Math.max(t.g,0)),b:Math.min(255,Math.max(t.b,0)),a:n}}var lH="[-\\+]?\\d+%?",cH="[-\\+]?\\d*\\.\\d+%?",Gr="(?:".concat(cH,")|(?:").concat(lH,")"),rA="[\\s|\\(]+(".concat(Gr,")[,|\\s]+(").concat(Gr,")[,|\\s]+(").concat(Gr,")\\s*\\)?"),oA="[\\s|\\(]+(".concat(Gr,")[,|\\s]+(").concat(Gr,")[,|\\s]+(").concat(Gr,")[,|\\s]+(").concat(Gr,")\\s*\\)?"),_n={CSS_UNIT:new RegExp(Gr),rgb:new RegExp("rgb"+rA),rgba:new RegExp("rgba"+oA),hsl:new RegExp("hsl"+rA),hsla:new RegExp("hsla"+oA),hsv:new RegExp("hsv"+rA),hsva:new RegExp("hsva"+oA),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function uH(e){if(e=e.trim().toLowerCase(),e.length===0)return!1;var t=!1;if(em[e])e=em[e],t=!0;else if(e==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var n=_n.rgb.exec(e);return n?{r:n[1],g:n[2],b:n[3]}:(n=_n.rgba.exec(e),n?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=_n.hsl.exec(e),n?{h:n[1],s:n[2],l:n[3]}:(n=_n.hsla.exec(e),n?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=_n.hsv.exec(e),n?{h:n[1],s:n[2],v:n[3]}:(n=_n.hsva.exec(e),n?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=_n.hex8.exec(e),n?{r:yn(n[1]),g:yn(n[2]),b:yn(n[3]),a:$E(n[4]),format:t?"name":"hex8"}:(n=_n.hex6.exec(e),n?{r:yn(n[1]),g:yn(n[2]),b:yn(n[3]),format:t?"name":"hex"}:(n=_n.hex4.exec(e),n?{r:yn(n[1]+n[1]),g:yn(n[2]+n[2]),b:yn(n[3]+n[3]),a:$E(n[4]+n[4]),format:t?"name":"hex8"}:(n=_n.hex3.exec(e),n?{r:yn(n[1]+n[1]),g:yn(n[2]+n[2]),b:yn(n[3]+n[3]),format:t?"name":"hex"}:!1)))))))))}function Cr(e){return!!_n.CSS_UNIT.exec(String(e))}var La=2,tm=.16,AH=.05,dH=.05,gH=.15,dv=5,gv=4,fH=[{index:7,opacity:.15},{index:6,opacity:.25},{index:5,opacity:.3},{index:5,opacity:.45},{index:5,opacity:.65},{index:5,opacity:.85},{index:4,opacity:.9},{index:3,opacity:.95},{index:2,opacity:.97},{index:1,opacity:.98}];function nm(e){var t=e.r,n=e.g,r=e.b,i=iH(t,n,r);return{h:i.h*360,s:i.s,v:i.v}}function Na(e){var t=e.r,n=e.g,r=e.b;return"#".concat(aH(t,n,r,!1))}function pH(e,t,n){var r=n/100,i={r:(t.r-e.r)*r+e.r,g:(t.g-e.g)*r+e.g,b:(t.b-e.b)*r+e.b};return i}function rm(e,t,n){var r;return Math.round(e.h)>=60&&Math.round(e.h)<=240?r=n?Math.round(e.h)-La*t:Math.round(e.h)+La*t:r=n?Math.round(e.h)+La*t:Math.round(e.h)-La*t,r<0?r+=360:r>=360&&(r-=360),r}function om(e,t,n){if(e.h===0&&e.s===0)return e.s;var r;return n?r=e.s-tm*t:t===gv?r=e.s+tm:r=e.s+AH*t,r>1&&(r=1),n&&t===dv&&r>.1&&(r=.1),r<.06&&(r=.06),Number(r.toFixed(2))}function im(e,t,n){var r;return n?r=e.v+dH*t:r=e.v-gH*t,r>1&&(r=1),Number(r.toFixed(2))}function sm(e){for(var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=[],r=$i(e),i=dv;i>0;i-=1){var a=nm(r),l=Na($i({h:rm(a,i,!0),s:om(a,i,!0),v:im(a,i,!0)}));n.push(l)}n.push(Na(r));for(var u=1;u<=gv;u+=1){var d=nm(r),g=Na($i({h:rm(d,u),s:om(d,u),v:im(d,u)}));n.push(g)}return t.theme==="dark"?fH.map(function(p){var E=p.index,h=p.opacity,m=Na(pH($i(t.backgroundColor||"#141414"),$i(n[E]),h*100));return m}):n}var iA={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1677FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"},zt={},Ka={};Object.keys(iA).forEach(function(e){zt[e]=sm(iA[e]),zt[e].primary=zt[e][5],Ka[e]=sm(iA[e],{theme:"dark",backgroundColor:"#141414"}),Ka[e].primary=Ka[e][5]});zt.red;zt.volcano;zt.gold;zt.orange;zt.yellow;zt.lime;zt.green;zt.cyan;zt.blue;zt.geekblue;zt.purple;zt.magenta;zt.grey;zt.grey;const fv=e=>{const{blue:t,red:n,gold:r,cyan:i,green:a,grey:l}=e,u={0:l[0],50:l[1],100:l[2],200:l[3],300:l[4],400:l[5],500:l[6],600:l[7],700:l[8],800:l[9],900:l[10],A50:l[15],A100:l[11],A200:l[12],A400:l[13],A700:l[14],A800:l[16]},d="#fff";return{primary:{lighter:t[0],100:t[1],200:t[2],light:t[3],400:t[4],main:t[5],dark:t[6],700:t[7],darker:t[8],900:t[9],contrastText:d},secondary:{lighter:u[100],100:u[100],200:u[200],light:u[300],400:u[400],main:u[500],600:u[600],dark:u[700],800:u[800],darker:u[900],A100:u[0],A200:u.A400,A300:u.A700,contrastText:u[0]},error:{lighter:n[0],light:n[2],main:n[4],dark:n[7],darker:n[9],contrastText:d},warning:{lighter:r[0],light:r[3],main:r[5],dark:r[7],darker:r[9],contrastText:u[100]},info:{lighter:i[0],light:i[3],main:i[5],dark:i[7],darker:i[9],contrastText:d},success:{lighter:a[0],light:a[3],main:a[5],dark:a[7],darker:a[9],contrastText:d},grey:u}};fv.propTypes={colors:c.object};const hH=(e,t)=>{const{grey:n}=e,r={0:n[0],50:n[1],100:n[2],200:n[3],300:n[4],400:n[5],500:n[6],600:n[7],700:n[8],800:n[9],900:n[10],A50:n[15],A100:n[11],A200:n[12],A400:n[13],A700:n[14],A800:n[16]},i="#fff";let a=["#D6E4FF","#D6E4FF","#ADC8FF","#84A9FF","#6690FF","#3366FF","#254EDB","#1939B7","#102693","#102693"],l=["#FFE7D3","#FF805D","#FF4528","#DB271D","#930C1A"],u=["#FFF6D0","#FFCF4E","#FFB814","#DB970E","#935B06"],d=["#DCF0FF","#7EB9FF","#549BFF","#3D78DB","#1A3D93"],g=["#EAFCD4","#8AE65B","#58D62A","#3DB81E","#137C0D"];return t==="dark"&&(a=["#1c2134","#1f294d","#243462","#273e83","#2c4db0","#305bdd","#567fe9","#80a4f4","#a9c5f8","#d2e2fb"],l=["#341d1b","#b03725","#dd3f27","#e9664d","#fbd6c9"],u=["#342a1a","#83631a","#dda116","#e9ba3a","#fbefb5"],d=["#202734","#416fb0","#4c88dd","#74a8e9","#ecf4fb"],g=["#1f2e1c","#449626","#4fba28","#74cf4d","#e3fbd2"]),{primary:{lighter:a[0],100:a[1],200:a[2],light:a[3],400:a[4],main:a[5],dark:a[6],700:a[7],darker:a[8],900:a[9],contrastText:i},secondary:{lighter:r[100],100:r[100],200:r[200],light:r[300],400:r[400],main:r[500],600:r[600],dark:r[700],800:r[800],darker:r[900],A100:r[0],A200:r.A400,A300:r.A700,contrastText:r[0]},error:{lighter:l[0],light:l[1],main:l[2],dark:l[3],darker:l[4],contrastText:i},warning:{lighter:u[0],light:u[1],main:u[2],dark:u[3],darker:u[4],contrastText:r[100]},info:{lighter:d[0],light:d[1],main:d[2],dark:d[3],darker:d[4],contrastText:i},success:{lighter:g[0],light:g[1],main:g[2],dark:g[3],darker:g[4],contrastText:i},grey:r}},CH=(e,t)=>{const{grey:n}=e,r={0:n[0],50:n[1],100:n[2],200:n[3],300:n[4],400:n[5],500:n[6],600:n[7],700:n[8],800:n[9],900:n[10],A50:n[15],A100:n[11],A200:n[12],A400:n[13],A700:n[14],A800:n[16]},i="#fff";let a=["#EEEDFC","#D5D1F8","#B9B2F3","#9C93EE","#877CEA","#7265E6","#6A5DE3","#5F53DF","#5549DB","#4237D5"],l=["#FDE8E7","#F25E52","#F04134","#EE3B2F","#E92A21"],u=["#FFF7E0","#FFC926","#FFBF00","#FFB900","#FFA900"],d=["#E0F4F5","#26B0BA","#00A2AE","#009AA7","#008694"],g=["#E0F5EA","#26B56E","#00A854","#00A04D","#008D3A"];return t==="dark"&&(a=["#222130","#2b2946","#37335a","#443e78","#554ca0","#655ac8","#9186dd","#5F53DF","#c3baf4","#efecfb"],l=["#321d1d","#7d2e28","#d13c31","#e66859","#f8baaf"],u=["#342c1a","#836611","#dda705","#e9bf28","#f8e577"],d=["#1a2628","#11595f","#058e98","#1ea6aa","#64cfcb"],g=["#1a2721","#115c36","#05934c","#1da65d","#61ca8b"]),{primary:{lighter:a[0],100:a[1],200:a[2],light:a[3],400:a[4],main:a[5],dark:a[6],700:a[7],darker:a[8],900:a[9],contrastText:i},secondary:{lighter:r[100],100:r[100],200:r[200],light:r[300],400:r[400],main:r[500],600:r[600],dark:r[700],800:r[800],darker:r[900],A100:r[0],A200:r.A400,A300:r.A700,contrastText:r[0]},error:{lighter:l[0],light:l[1],main:l[2],dark:l[3],darker:l[4],contrastText:i},warning:{lighter:u[0],light:u[1],main:u[2],dark:u[3],darker:u[4],contrastText:r[100]},info:{lighter:d[0],light:d[1],main:d[2],dark:d[3],darker:d[4],contrastText:i},success:{lighter:g[0],light:g[1],main:g[2],dark:g[3],darker:g[4],contrastText:i},grey:r}},EH=(e,t)=>{const{grey:n}=e,r={0:n[0],50:n[1],100:n[2],200:n[3],300:n[4],400:n[5],500:n[6],600:n[7],700:n[8],800:n[9],900:n[10],A50:n[15],A100:n[11],A200:n[12],A400:n[13],A700:n[14],A800:n[16]},i="#fff";let a=["#E6F3EC","#84c297","#5eb57d","#3da866","#1f9c53","#068e44","#006933","#004222","#001c0f","#000000"],l=["#FDE8E7","#F25E52","#F04134","#EE3B2F","#E92A21"],u=["#FFF7E0","#FFC926","#FFBF00","#FFB900","#FFA900"],d=["#E0F4F5","#26B0BA","#00A2AE","#009AA7","#008694"],g=["#E0F5EA","#26B56E","#00A854","#00A04D","#008D3A"];return t==="dark"&&(a=["#1a231f","#173123","#174029","#13502f","#0e6737","#0a7d3e","#1f8f4e","#3ba162","#5cb07a","#82bf95"],l=["#321d1d","#7d2e28","#d13c31","#e66859","#f8baaf"],u=["#342c1a","#836611","#dda705","#e9bf28","#f8e577"],d=["#1a2628","#11595f","#058e98","#1ea6aa","#64cfcb"],g=["#1a2721","#115c36","#05934c","#1da65d","#61ca8b"]),{primary:{lighter:a[0],100:a[1],200:a[2],light:a[3],400:a[4],main:a[5],dark:a[6],700:a[7],darker:a[8],900:a[9],contrastText:i},secondary:{lighter:r[100],100:r[100],200:r[200],light:r[300],400:r[400],main:r[500],600:r[600],dark:r[700],800:r[800],darker:r[900],A100:r[0],A200:r.A400,A300:r.A700,contrastText:r[0]},error:{lighter:l[0],light:l[1],main:l[2],dark:l[3],darker:l[4],contrastText:i},warning:{lighter:u[0],light:u[1],main:u[2],dark:u[3],darker:u[4],contrastText:r[100]},info:{lighter:d[0],light:d[1],main:d[2],dark:d[3],darker:d[4],contrastText:i},success:{lighter:g[0],light:g[1],main:g[2],dark:g[3],darker:g[4],contrastText:i},grey:r}},mH=(e,t)=>{const{grey:n}=e,r={0:n[0],50:n[1],100:n[2],200:n[3],300:n[4],400:n[5],500:n[6],600:n[7],700:n[8],800:n[9],900:n[10],A50:n[15],A100:n[11],A200:n[12],A400:n[13],A700:n[14],A800:n[16]},i="#fff";let a=["#f0f6ff","#edf4ff","#bed3f7","#8faeeb","#6488de","#3c64d0","#2947ab","#192f85","#0d1b5e","#070e38"],l=["#FDE8E7","#F25E52","#F04134","#EE3B2F","#E92A21"],u=["#FFF7E0","#FFC926","#FFBF00","#FFB900","#FFA900"],d=["#E0F4F5","#26B0BA","#00A2AE","#009AA7","#008694"],g=["#E0F5EA","#26B56E","#00A854","#00A04D","#008D3A"];return t==="dark"&&(a=["#1d212d","#212841","#273353","#2c3e6e","#324c92","#385ab5","#5d7dcb","#89a7e1","#b9cef0","#e9f0fb"],l=["#321d1d","#7d2e28","#d13c31","#e66859","#f8baaf"],u=["#342c1a","#836611","#dda705","#e9bf28","#f8e577"],d=["#1a2628","#11595f","#058e98","#1ea6aa","#64cfcb"],g=["#1a2721","#115c36","#05934c","#1da65d","#61ca8b"]),{primary:{lighter:a[0],100:a[1],200:a[2],light:a[3],400:a[4],main:a[5],dark:a[6],700:a[7],darker:a[8],900:a[9],contrastText:i},secondary:{lighter:r[100],100:r[100],200:r[200],light:r[300],400:r[400],main:r[500],600:r[600],dark:r[700],800:r[800],darker:r[900],A100:r[0],A200:r.A400,A300:r.A700,contrastText:r[0]},error:{lighter:l[0],light:l[1],main:l[2],dark:l[3],darker:l[4],contrastText:i},warning:{lighter:u[0],light:u[1],main:u[2],dark:u[3],darker:u[4],contrastText:r[100]},info:{lighter:d[0],light:d[1],main:d[2],dark:d[3],darker:d[4],contrastText:i},success:{lighter:g[0],light:g[1],main:g[2],dark:g[3],darker:g[4],contrastText:i},grey:r}},IH=(e,t)=>{const{grey:n}=e,r={0:n[0],50:n[1],100:n[2],200:n[3],300:n[4],400:n[5],500:n[6],600:n[7],700:n[8],800:n[9],900:n[10],A50:n[15],A100:n[11],A200:n[12],A400:n[13],A700:n[14],A800:n[16]},i="#fff";let a=["#fff4e6","#ffdfb8","#ffc98f","#ffb066","#ff943d","#f27013","#cc5206","#a63a00","#802800","#591900"],l=["#FDE8E7","#F25E52","#F04134","#EE3B2F","#E92A21"],u=["#FFF7E0","#FFC926","#FFBF00","#FFB900","#FFA900"],d=["#E0F4F5","#26B0BA","#00A2AE","#009AA7","#008694"],g=["#E0F5EA","#26B56E","#00A854","#00A04D","#008D3A"];return t==="dark"&&(a=["#32221a","#4a2b18","#5e371b","#7d4319","#a85317","#d26415","#e9883a","#f4a962","#f8c48c","#fbdbb5"],l=["#321d1d","#7d2e28","#d13c31","#e66859","#f8baaf"],u=["#342c1a","#836611","#dda705","#e9bf28","#f8e577"],d=["#1a2628","#11595f","#058e98","#1ea6aa","#64cfcb"],g=["#1a2721","#115c36","#05934c","#1da65d","#61ca8b"]),{primary:{lighter:a[0],100:a[1],200:a[2],light:a[3],400:a[4],main:a[5],dark:a[6],700:a[7],darker:a[8],900:a[9],contrastText:i},secondary:{lighter:r[100],100:r[100],200:r[200],light:r[300],400:r[400],main:r[500],600:r[600],dark:r[700],800:r[800],darker:r[900],A100:r[0],A200:r.A400,A300:r.A700,contrastText:r[0]},error:{lighter:l[0],light:l[1],main:l[2],dark:l[3],darker:l[4],contrastText:i},warning:{lighter:u[0],light:u[1],main:u[2],dark:u[3],darker:u[4],contrastText:r[100]},info:{lighter:d[0],light:d[1],main:d[2],dark:d[3],darker:d[4],contrastText:i},success:{lighter:g[0],light:g[1],main:g[2],dark:g[3],darker:g[4],contrastText:i},grey:r}},BH=(e,t)=>{const{grey:n}=e,r={0:n[0],50:n[1],100:n[2],200:n[3],300:n[4],400:n[5],500:n[6],600:n[7],700:n[8],800:n[9],900:n[10],A50:n[15],A100:n[11],A200:n[12],A400:n[13],A700:n[14],A800:n[16]},i="#fff";let a=["#e1f0ef","#c8e3e2","#9ad6d6","#71c6c9","#4bb5bd","#2aa1af","#1a7b8a","#0e5563","#06323d","#021217"],l=["#FDE8E7","#F25E52","#F04134","#EE3B2F","#E92A21"],u=["#FFF7E0","#FFC926","#FFBF00","#FFB900","#FFA900"],d=["#E0F4F5","#26B0BA","#00A2AE","#009AA7","#008694"],g=["#E0F5EA","#26B56E","#00A854","#00A04D","#008D3A"];return t==="dark"&&(a=["#1c2628","#1d3539","#22454a","#23595f","#26737c","#288d99","#47a6ad","#6dbec0","#96d0d0","#c5dfde"],l=["#321d1d","#7d2e28","#d13c31","#e66859","#f8baaf"],u=["#342c1a","#836611","#dda705","#e9bf28","#f8e577"],d=["#1a2628","#11595f","#058e98","#1ea6aa","#64cfcb"],g=["#1a2721","#115c36","#05934c","#1da65d","#61ca8b"]),{primary:{lighter:a[0],100:a[1],200:a[2],light:a[3],400:a[4],main:a[5],dark:a[6],700:a[7],darker:a[8],900:a[9],contrastText:i},secondary:{lighter:r[100],100:r[100],200:r[200],light:r[300],400:r[400],main:r[500],600:r[600],dark:r[700],800:r[800],darker:r[900],A100:r[0],A200:r.A400,A300:r.A700,contrastText:r[0]},error:{lighter:l[0],light:l[1],main:l[2],dark:l[3],darker:l[4],contrastText:i},warning:{lighter:u[0],light:u[1],main:u[2],dark:u[3],darker:u[4],contrastText:r[100]},info:{lighter:d[0],light:d[1],main:d[2],dark:d[3],darker:d[4],contrastText:i},success:{lighter:g[0],light:g[1],main:g[2],dark:g[3],darker:g[4],contrastText:i},grey:r}},yH=(e,t)=>{const{grey:n}=e,r={0:n[0],50:n[1],100:n[2],200:n[3],300:n[4],400:n[5],500:n[6],600:n[7],700:n[8],800:n[9],900:n[10],A50:n[15],A100:n[11],A200:n[12],A400:n[13],A700:n[14],A800:n[16]},i="#fff";let a=["#d1e8d99c","#8cdba9","#63cf8e","#3ec277","#1db564","#00a854","#008245","#005c34","#003620","#000f0a"],l=["#FDE8E7","#F25E52","#F04134","#EE3B2F","#E92A21"],u=["#FFF7E0","#FFC926","#FFBF00","#FFB900","#FFA900"],d=["#E0F4F5","#26B0BA","#00A2AE","#009AA7","#008694"],g=["#E0F5EA","#26B56E","#00A854","#00A04D","#008D3A"];return t==="dark"&&(a=["#1a2721","#173728","#15472e","#115c36","#0b7841","#05934c","#1da65d","#3cba73","#61ca8b","#8ad7a6"],l=["#321d1d","#7d2e28","#d13c31","#e66859","#f8baaf"],u=["#342c1a","#836611","#dda705","#e9bf28","#f8e577"],d=["#1a2628","#11595f","#058e98","#1ea6aa","#64cfcb"],g=["#1a2721","#115c36","#05934c","#1da65d","#61ca8b"]),{primary:{lighter:a[0],100:a[1],200:a[2],light:a[3],400:a[4],main:a[5],dark:a[6],700:a[7],darker:a[8],900:a[9],contrastText:i},secondary:{lighter:r[100],100:r[100],200:r[200],light:r[300],400:r[400],main:r[500],600:r[600],dark:r[700],800:r[800],darker:r[900],A100:r[0],A200:r.A400,A300:r.A700,contrastText:r[0]},error:{lighter:l[0],light:l[1],main:l[2],dark:l[3],darker:l[4],contrastText:i},warning:{lighter:u[0],light:u[1],main:u[2],dark:u[3],darker:u[4],contrastText:r[100]},info:{lighter:d[0],light:d[1],main:d[2],dark:d[3],darker:d[4],contrastText:i},success:{lighter:g[0],light:g[1],main:g[2],dark:g[3],darker:g[4],contrastText:i},grey:r}},vH=(e,t)=>{const{grey:n}=e,r={0:n[0],50:n[1],100:n[2],200:n[3],300:n[4],400:n[5],500:n[6],600:n[7],700:n[8],800:n[9],900:n[10],A50:n[15],A100:n[11],A200:n[12],A400:n[13],A700:n[14],A800:n[16]},i="#fff";let a=["#c1d6d066","#81c9b9","#5bbda9","#38b09c","#1aa391","#009688","#007069","#004a47","#002424","#000000"],l=["#FDE8E7","#F25E52","#F04134","#EE3B2F","#E92A21"],u=["#FFF7E0","#FFC926","#FFBF00","#FFB900","#FFA900"],d=["#E0F4F5","#26B0BA","#00A2AE","#009AA7","#008694"],g=["#E0F5EA","#26B56E","#00A854","#00A04D","#008D3A"];return t==="dark"&&(a=["#1a2524","#173331","#15423e","#11544e","#0b6c63","#058478","#1a9686","#37a996","#59b8a5","#7fc6b6"],l=["#321d1d","#7d2e28","#d13c31","#e66859","#f8baaf"],u=["#342c1a","#836611","#dda705","#e9bf28","#f8e577"],d=["#1a2628","#11595f","#058e98","#1ea6aa","#64cfcb"],g=["#1a2721","#115c36","#05934c","#1da65d","#61ca8b"]),{primary:{lighter:a[0],100:a[1],200:a[2],light:a[3],400:a[4],main:a[5],dark:a[6],700:a[7],darker:a[8],900:a[9],contrastText:i},secondary:{lighter:r[100],100:r[100],200:r[200],light:r[300],400:r[400],main:r[500],600:r[600],dark:r[700],800:r[800],darker:r[900],A100:r[0],A200:r.A400,A300:r.A700,contrastText:r[0]},error:{lighter:l[0],light:l[1],main:l[2],dark:l[3],darker:l[4],contrastText:i},warning:{lighter:u[0],light:u[1],main:u[2],dark:u[3],darker:u[4],contrastText:r[100]},info:{lighter:d[0],light:d[1],main:d[2],dark:d[3],darker:d[4],contrastText:i},success:{lighter:g[0],light:g[1],main:g[2],dark:g[3],darker:g[4],contrastText:i},grey:r}},pv=(e,t,n)=>{switch(t){case"theme1":return hH(e,n);case"theme2":return CH(e,n);case"theme3":return EH(e,n);case"theme4":return mH(e,n);case"theme5":return IH(e,n);case"theme6":return BH(e,n);case"theme7":return yH(e,n);case"theme8":return vH(e,n);default:return fv(e)}};pv.propTypes={colors:c.object,presetColor:c.any};const bH=(e,t)=>{const n=e==="dark"?Ka:zt;let r=["#ffffff","#fafafa","#f5f5f5","#f0f0f0","#d9d9d9","#bfbfbf","#8c8c8c","#595959","#262626","#141414","#000000"],i=["#fafafa","#bfbfbf","#434343","#1f1f1f"],a=["#fafafb","#e6ebf1"];e==="dark"&&(r=["#000000","#141414","#1e1e1e","#595959","#8c8c8c","#bfbfbf","#d9d9d9","#f0f0f0","#f5f5f5","#fafafa","#ffffff"],i=["#fafafa","#bfbfbf","#434343","#1f1f1f"],a=["#121212","#d3d8db"]),n.grey=[...r,...i,...a];const l=pv(n,t,e);return nd({palette:{mode:e,common:{black:"#000",white:"#fff"},...l,text:{primary:e==="dark"?Ve(l.grey[900],.87):l.grey[700],secondary:e==="dark"?Ve(l.grey[900],.45):l.grey[500],disabled:e==="dark"?Ve(l.grey[900],.1):l.grey[400]},action:{disabled:l.grey[300]},divider:e==="dark"?Ve(l.grey[900],.05):l.grey[200],background:{paper:e==="dark"?l.grey[100]:l.grey[0],default:l.grey.A50}}})},QH=e=>({htmlFontSize:16,fontFamily:e,fontWeightLight:300,fontWeightRegular:400,fontWeightMedium:500,fontWeightBold:600,h1:{fontWeight:600,fontSize:"2.375rem",lineHeight:1.21},h2:{fontWeight:600,fontSize:"1.875rem",lineHeight:1.27},h3:{fontWeight:600,fontSize:"1.5rem",lineHeight:1.33},h4:{fontWeight:600,fontSize:"1.25rem",lineHeight:1.4},h5:{fontWeight:600,fontSize:"1rem",lineHeight:1.5},h6:{fontWeight:400,fontSize:"0.875rem",lineHeight:1.57},caption:{fontWeight:400,fontSize:"0.75rem",lineHeight:1.66},body1:{fontSize:"0.875rem",lineHeight:1.57},body2:{fontSize:"0.75rem",lineHeight:1.66},subtitle1:{fontSize:"0.875rem",fontWeight:600,lineHeight:1.57},subtitle2:{fontSize:"0.75rem",fontWeight:500,lineHeight:1.66},overline:{lineHeight:1.66},button:{textTransform:"capitalize"}});function xH(e){return{MuiAccordion:{defaultProps:{disableGutters:!0,square:!0,elevation:0},styleOverrides:{root:{border:`1px solid ${e.palette.secondary.light}`,"&:not(:last-child)":{borderBottom:0},"&:before":{display:"none"},"&.Mui-disabled":{backgroundColor:e.palette.secondary.lighter}}}}}}function wH(e){return{MuiAccordionDetails:{styleOverrides:{root:{padding:e.spacing(2),borderTop:`1px solid ${e.palette.secondary.light}`}}}}}function TH(e){const{palette:t,spacing:n}=e;return{MuiAccordionSummary:{defaultProps:{expandIcon:f.jsx(ct.RightOutlined,{style:{fontSize:"0.75rem"}})},styleOverrides:{root:{backgroundColor:t.secondary.lighter,flexDirection:"row-reverse",minHeight:46},expandIconWrapper:{"&.Mui-expanded":{transform:"rotate(90deg)"}},content:{marginTop:n(1.25),marginBottom:n(1.25),marginLeft:n(1)}}}}}function Eo({color:e,theme:t}){const n=$t(t,e),{lighter:r,light:i,main:a}=n;return{borderColor:Ve(i,.5),backgroundColor:r,"& .MuiAlert-icon":{color:a}}}function PH(e){const t=Eo({color:"primary",theme:e});return{MuiAlert:{styleOverrides:{root:{color:e.palette.text.primary,fontSize:"0.875rem"},icon:{fontSize:"1rem"},message:{padding:0,marginTop:3},filled:{color:e.palette.grey[0]},border:{padding:"10px 16px",border:"1px solid",...t,"&.MuiAlert-borderPrimary":Eo({color:"primary",theme:e}),"&.MuiAlert-borderSecondary":Eo({color:"secondary",theme:e}),"&.MuiAlert-borderError":Eo({color:"error",theme:e}),"&.MuiAlert-borderSuccess":Eo({color:"success",theme:e}),"&.MuiAlert-borderInfo":Eo({color:"info",theme:e}),"&.MuiAlert-borderWarning":Eo({color:"warning",theme:e})},action:{"& .MuiButton-root":{padding:2,height:"auto",fontSize:"0.75rem",marginTop:-2},"& .MuiIconButton-root":{width:"auto",height:"auto",padding:2,marginRight:6,"& .MuiSvgIcon-root":{fontSize:"1rem"}}}}}}}function SH(){return{MuiAlertTitle:{styleOverrides:{root:{marginBottom:4,marginTop:0,fontWeight:400}}}}}function RH(e){var t;return{MuiAutocomplete:{styleOverrides:{root:{"& .MuiOutlinedInput-root":{padding:"3px 9px"}},popupIndicator:{width:"auto",height:"auto"},popper:{border:`1px solid ${e.palette.mode==="dark"?(t=e.palette.dark)==null?void 0:t.main:e.palette.grey[100]}`},clearIndicator:{width:"auto",height:"auto"}}}}}function mo({color:e,theme:t}){const n=$t(t,e),{lighter:r,main:i}=n;return{color:i,backgroundColor:r}}function OH(e){const t=mo({color:"primary",theme:e});return{MuiBadge:{styleOverrides:{standard:{minWidth:e.spacing(2),height:e.spacing(2),padding:e.spacing(.5)},light:{...t,"&.MuiBadge-colorPrimary":mo({color:"primary",theme:e}),"&.MuiBadge-colorSecondary":mo({color:"secondary",theme:e}),"&.MuiBadge-colorError":mo({color:"error",theme:e}),"&.MuiBadge-colorInfo":mo({color:"info",theme:e}),"&.MuiBadge-colorSuccess":mo({color:"success",theme:e}),"&.MuiBadge-colorWarning":mo({color:"warning",theme:e})}}}}}function Je({variant:e,color:t,theme:n}){const r=$t(n,t),{lighter:i,main:a,dark:l,contrastText:u}=r,d=`${t}Button`,g=wi(n,d),p={"&::after":{boxShadow:`0 0 5px 5px ${Ve(a,.9)}`},"&:active::after":{boxShadow:`0 0 0 0 ${Ve(a,.9)}`},"&:focus-visible":{outline:`2px solid ${l}`,outlineOffset:2}};switch(e){case"contained":return{"&:hover":{backgroundColor:l},...p};case"shadow":return{color:u,backgroundColor:a,boxShadow:g,"&:hover":{boxShadow:"none",backgroundColor:l},...p};case"outlined":return{borderColor:a,"&:hover":{color:l,backgroundColor:"transparent",borderColor:l},...p};case"dashed":return{color:a,borderColor:a,backgroundColor:i,"&:hover":{color:l,borderColor:l},...p};case"text":default:return{"&:hover":{color:l,backgroundColor:i},...p}}}function DH(e){const t=Je({variant:"dashed",color:"primary",theme:e}),n=Je({variant:"shadow",color:"primary",theme:e}),r={"&.Mui-disabled":{backgroundColor:e.palette.grey[200]}},i={"&>*:nth-of-type(1)":{fontSize:"inherit"}};return{MuiButton:{defaultProps:{disableElevation:!0},styleOverrides:{root:{fontWeight:400,"&::after":{content:'""',display:"block",position:"absolute",left:0,top:0,width:"100%",height:"100%",borderRadius:4,opacity:0,transition:"all 0.5s"},"&:active::after":{position:"absolute",borderRadius:4,left:0,top:0,opacity:1,transition:"0s"}},contained:{...r},outlined:{...r},text:{boxShadow:"none","&:hover":{boxShadow:"none"}},endIcon:{...i},startIcon:{...i},dashed:{border:"1px dashed",...t,"&.MuiButton-dashedPrimary":Je({variant:"dashed",color:"primary",theme:e}),"&.MuiButton-dashedSecondary":Je({variant:"dashed",color:"secondary",theme:e}),"&.MuiButton-dashedError":Je({variant:"dashed",color:"error",theme:e}),"&.MuiButton-dashedSuccess":Je({variant:"dashed",color:"success",theme:e}),"&.MuiButton-dashedInfo":Je({variant:"dashed",color:"info",theme:e}),"&.MuiButton-dashedWarning":Je({variant:"dashed",color:"warning",theme:e}),"&.Mui-disabled":{color:`${e.palette.grey[300]} !important`,borderColor:`${e.palette.grey[400]} !important`,backgroundColor:`${e.palette.grey[200]} !important`}},shadow:{...n,"&.MuiButton-shadowPrimary":Je({variant:"shadow",color:"primary",theme:e}),"&.MuiButton-shadowSecondary":Je({variant:"shadow",color:"secondary",theme:e}),"&.MuiButton-shadowError":Je({variant:"shadow",color:"error",theme:e}),"&.MuiButton-shadowSuccess":Je({variant:"shadow",color:"success",theme:e}),"&.MuiButton-shadowInfo":Je({variant:"shadow",color:"info",theme:e}),"&.MuiButton-shadowWarning":Je({variant:"shadow",color:"warning",theme:e}),"&.Mui-disabled":{color:`${e.palette.grey[300]} !important`,borderColor:`${e.palette.grey[400]} !important`,backgroundColor:`${e.palette.grey[200]} !important`}},containedPrimary:Je({variant:"contained",color:"primary",theme:e}),containedSecondary:Je({variant:"contained",color:"secondary",theme:e}),containedError:Je({variant:"contained",color:"error",theme:e}),containedSuccess:Je({variant:"contained",color:"success",theme:e}),containedInfo:Je({variant:"contained",color:"info",theme:e}),containedWarning:Je({variant:"contained",color:"warning",theme:e}),outlinedPrimary:Je({variant:"outlined",color:"primary",theme:e}),outlinedSecondary:Je({variant:"outlined",color:"secondary",theme:e}),outlinedError:Je({variant:"outlined",color:"error",theme:e}),outlinedSuccess:Je({variant:"outlined",color:"success",theme:e}),outlinedInfo:Je({variant:"outlined",color:"info",theme:e}),outlinedWarning:Je({variant:"outlined",color:"warning",theme:e}),textPrimary:Je({variant:"text",color:"primary",theme:e}),textSecondary:Je({variant:"text",color:"secondary",theme:e}),textError:Je({variant:"text",color:"error",theme:e}),textSuccess:Je({variant:"text",color:"success",theme:e}),textInfo:Je({variant:"text",color:"info",theme:e}),textWarning:Je({variant:"text",color:"warning",theme:e}),sizeExtraSmall:{minWidth:56,fontSize:"0.625rem",padding:"2px 8px"}}}}}function MH(){return{MuiButtonBase:{defaultProps:{disableRipple:!0,size:"medium"}}}}function jH(){return{MuiButtonGroup:{defaultProps:{disableRipple:!0}}}}function kH(){return{MuiCardContent:{styleOverrides:{root:{padding:20,"&:last-child":{paddingBottom:20}}}}}}function ei({color:e,theme:t}){const n=$t(t,e),{lighter:r,main:i,dark:a}=n;return{"&:hover":{backgroundColor:r,"& .icon":{borderColor:i}},"&.Mui-focusVisible":{outline:`2px solid ${a}`,outlineOffset:-4}}}function FH(e){switch(e){case"small":return{size:16,fontSize:1,position:1};case"large":return{size:24,fontSize:1.6,position:2};case"medium":default:return{size:20,fontSize:1.35,position:2}}}function sA(e){const t=FH(e);return{"& .icon":{width:t.size,height:t.size,"& .filled":{fontSize:`${t.fontSize}rem`,top:-t.position,left:-t.position}}}}function LH(e){const{palette:t}=e;return{MuiCheckbox:{defaultProps:{className:"size-small",icon:f.jsx(Q.Box,{className:"icon",sx:{width:16,height:16,border:"1px solid",borderColor:"inherit",borderRadius:.25}}),checkedIcon:f.jsx(Q.Box,{className:"icon",sx:{width:16,height:16,border:"1px solid",borderColor:"inherit",borderRadius:.25,position:"relative"},children:f.jsx(ct.CheckSquareFilled,{className:"filled",style:{position:"absolute"}})}),indeterminateIcon:f.jsx(Q.Box,{className:"icon",sx:{width:16,height:16,border:"1px solid",borderColor:"inherit",borderRadius:.25,position:"relative"},children:f.jsx(ct.MinusSquareFilled,{className:"filled",style:{position:"absolute"}})})},styleOverrides:{root:{borderRadius:0,color:t.secondary[300],"&.size-small":{...sA("small")},"&.size-medium":{...sA("medium")},"&.size-large":{...sA("large")}},colorPrimary:ei({color:"primary",theme:e}),colorSecondary:ei({color:"secondary",theme:e}),colorSuccess:ei({color:"success",theme:e}),colorWarning:ei({color:"warning",theme:e}),colorInfo:ei({color:"info",theme:e}),colorError:ei({color:"error",theme:e})}}}}function ti({color:e,theme:t}){const n=$t(t,e),{dark:r}=n;return{"&.Mui-focusVisible":{outline:`2px solid ${r}`,outlineOffset:2}}}function Bn({color:e,theme:t}){const n=$t(t,e),{light:r,lighter:i,main:a}=n;return{color:a,backgroundColor:i,borderColor:r,"& .MuiChip-deleteIcon":{color:a,"&:hover":{color:r}}}}function NH(e){const t=Bn({color:"secondary",theme:e});return{MuiChip:{styleOverrides:{root:{borderRadius:4,"&:active":{boxShadow:"none"},"&.MuiChip-colorPrimary":ti({color:"primary",theme:e}),"&.MuiChip-colorSecondary":ti({color:"secondary",theme:e}),"&.MuiChip-colorError":ti({color:"error",theme:e}),"&.MuiChip-colorInfo":ti({color:"info",theme:e}),"&.MuiChip-colorSuccess":ti({color:"success",theme:e}),"&.MuiChip-colorWarning":ti({color:"warning",theme:e})},sizeLarge:{fontSize:"1rem",height:40},light:{...t,"&.MuiChip-lightPrimary":Bn({color:"primary",theme:e}),"&.MuiChip-lightSecondary":Bn({color:"secondary",theme:e}),"&.MuiChip-lightError":Bn({color:"error",theme:e}),"&.MuiChip-lightInfo":Bn({color:"info",theme:e}),"&.MuiChip-lightSuccess":Bn({color:"success",theme:e}),"&.MuiChip-lightWarning":Bn({color:"warning",theme:e})},combined:{border:"1px solid",...t,"&.MuiChip-combinedPrimary":Bn({color:"primary",theme:e}),"&.MuiChip-combinedSecondary":Bn({color:"secondary",theme:e}),"&.MuiChip-combinedError":Bn({color:"error",theme:e}),"&.MuiChip-combinedInfo":Bn({color:"info",theme:e}),"&.MuiChip-combinedSuccess":Bn({color:"success",theme:e}),"&.MuiChip-combinedWarning":Bn({color:"warning",theme:e})}}}}}function VH(){return{MuiDialog:{styleOverrides:{root:{"& .MuiBackdrop-root":{backgroundColor:Ve("#000",.7)}}}}}}function HH(e){return{MuiDialogContentText:{styleOverrides:{root:{fontSize:"0.875rem",color:e.palette.text.primary}}}}}function zH(){return{MuiDialogTitle:{styleOverrides:{root:{fontSize:"1rem",fontWeight:500}}}}}function ni({color:e,theme:t}){const n=$t(t,e),{main:r,dark:i,contrastText:a}=n,l=`${e}Button`,u=wi(t,l);return{color:a,backgroundColor:r,boxShadow:u,"&:hover":{boxShadow:"none",backgroundColor:i},"&:focus-visible":{outline:`2px solid ${i}`,outlineOffset:2},"&::after":{borderRadius:"50px",boxShadow:`0 0 5px 5px ${Ve(r,.9)}`},"&:active::after":{borderRadius:"50px",boxShadow:`0 0 0 0 ${Ve(r,.9)}`}}}function WH(e){return{MuiFab:{styleOverrides:{root:{fontWeight:400,"&.Mui-disabled":{backgroundColor:e.palette.grey[200]},"&.MuiFab-primary":ni({color:"primary",theme:e}),"&.MuiFab-secondary":ni({color:"secondary",theme:e}),"&.Mui-error":ni({color:"error",theme:e}),"&.MuiFab-success":ni({color:"success",theme:e}),"&.MuiFab-info":ni({color:"info",theme:e}),"&.MuiFab-warning":ni({color:"warning",theme:e}),"&::after":{content:'""',display:"block",position:"absolute",left:0,top:0,width:"100%",height:"100%",borderRadius:4,opacity:0,transition:"all 0.5s"},"&:active::after":{position:"absolute",borderRadius:4,left:0,top:0,opacity:1,transition:"0s"}}}}}}function UH(e){return{MuiIconButton:{styleOverrides:{root:{borderRadius:4},sizeLarge:{width:e.spacing(5.5),height:e.spacing(5.5),fontSize:"1.25rem"},sizeMedium:{width:e.spacing(4.5),height:e.spacing(4.5),fontSize:"1rem"},sizeSmall:{width:e.spacing(3.75),height:e.spacing(3.75),fontSize:"0.75rem"},sizeExtraSmall:{width:e.spacing(2.6875),height:e.spacing(2.6875),fontSize:"0.625rem"}}}}}function YH(){return{MuiInputBase:{styleOverrides:{}}}}function GH(e){return{MuiInputLabel:{styleOverrides:{root:{color:e.palette.grey[600]},outlined:{lineHeight:"0.8em","&.MuiInputLabel-sizeSmall":{lineHeight:"1em"},"&.MuiInputLabel-shrink":{background:e.palette.background.paper,padding:"0 8px",marginLeft:-6,lineHeight:"1.4375em"}}}}}}function KH(){return{MuiLinearProgress:{styleOverrides:{root:{height:6,borderRadius:100},bar:{borderRadius:100}}}}}function _H(){return{MuiLink:{defaultProps:{underline:"hover"}}}}function qH(e){return{MuiListItemButton:{styleOverrides:{root:{"&.Mui-selected":{color:e.palette.primary.main,"& .MuiListItemIcon-root":{color:e.palette.primary.main}}}}}}}function JH(e){return{MuiListItemIcon:{styleOverrides:{root:{minWidth:24,color:e.palette.text.primary}}}}}function XH(){return{MuiLoadingButton:{styleOverrides:{root:{padding:"6px 16px","&.MuiLoadingButton-loading":{opacity:.6,textShadow:"none"}}}}}}function Io({variant:e,theme:t}){const n=$t(t,e),{light:r}=n,i=wi(t,`${e}`);return{"&:hover .MuiOutlinedInput-notchedOutline":{borderColor:r},"&.Mui-focused":{boxShadow:i,"& .MuiOutlinedInput-notchedOutline":{border:`1px solid ${r}`}}}}function ZH(e){return{MuiOutlinedInput:{styleOverrides:{input:{padding:"10.5px 14px 10.5px 12px"},notchedOutline:{borderColor:e.palette.mode==="dark"?e.palette.grey[200]:e.palette.grey[300]},root:{...Io({variant:"primary",theme:e}),"&.Mui-error":{...Io({variant:"error",theme:e})}},inputSizeSmall:{padding:"7.5px 8px 7.5px 12px"},inputMultiline:{padding:0},colorSecondary:Io({variant:"secondary",theme:e}),colorError:Io({variant:"error",theme:e}),colorWarning:Io({variant:"warning",theme:e}),colorInfo:Io({variant:"info",theme:e}),colorSuccess:Io({variant:"success",theme:e})}}}}function $H(){return{MuiPagination:{defaultProps:{shape:"rounded"}}}}function mt({variant:e,color:t,theme:n}){const r=$t(n,t),{lighter:i,light:a,dark:l,main:u,contrastText:d}=r,g={"&:focus-visible":{outline:`2px solid ${l}`,outlineOffset:2,...e==="text"&&{backgroundColor:n.palette.background.paper}}};switch(e){case"combined":case"contained":return{color:d,backgroundColor:u,"&:hover":{backgroundColor:a},...g};case"outlined":return{borderColor:u,"&:hover":{backgroundColor:i,borderColor:a},...g};case"text":default:return{color:u,"&:hover":{backgroundColor:u,color:i},...g}}}function ez(e){return{MuiPaginationItem:{styleOverrides:{root:{"&:focus-visible":{outline:`2px solid ${e.palette.secondary.dark}`,outlineOffset:2}},text:{"&.Mui-selected":{backgroundColor:"transparent",fontSize:"1rem",fontWeight:500,"&.MuiPaginationItem-textPrimary":mt({variant:"text",color:"primary",theme:e}),"&.MuiPaginationItem-textSecondary":mt({variant:"text",color:"secondary",theme:e}),"&.MuiPaginationItem-textError":mt({variant:"text",color:"error",theme:e}),"&.MuiPaginationItem-textSuccess":mt({variant:"text",color:"success",theme:e}),"&.MuiPaginationItem-textInfo":mt({variant:"text",color:"info",theme:e}),"&.MuiPaginationItem-textWarning":mt({variant:"text",color:"warning",theme:e})}},contained:{"&.Mui-selected":{"&.MuiPaginationItem-containedPrimary":mt({variant:"contained",color:"primary",theme:e}),"&.MuiPaginationItem-containedSecondary":mt({variant:"contained",color:"secondary",theme:e}),"&.MuiPaginationItem-containedError":mt({variant:"contained",color:"error",theme:e}),"&.MuiPaginationItem-containedSuccess":mt({variant:"contained",color:"success",theme:e}),"&.MuiPaginationItem-containedInfo":mt({variant:"contained",color:"info",theme:e}),"&.MuiPaginationItem-containedWarning":mt({variant:"contained",color:"warning",theme:e})}},combined:{border:"1px solid",borderColor:e.palette.divider,"&.MuiPaginationItem-ellipsis":{border:"none"},"&.Mui-selected":{"&.MuiPaginationItem-combinedPrimary":mt({variant:"combined",color:"primary",theme:e}),"&.MuiPaginationItem-combinedSecondary":mt({variant:"combined",color:"secondary",theme:e}),"&.MuiPaginationItem-combinedError":mt({variant:"combined",color:"error",theme:e}),"&.MuiPaginationItem-combinedSuccess":mt({variant:"combined",color:"success",theme:e}),"&.MuiPaginationItem-combinedInfo":mt({variant:"combined",color:"info",theme:e}),"&.MuiPaginationItem-combinedWarning":mt({variant:"combined",color:"warning",theme:e})}},outlined:{borderColor:e.palette.divider,"&.Mui-selected":{backgroundColor:"transparent","&.MuiPaginationItem-outlinedPrimary":mt({variant:"outlined",color:"primary",theme:e}),"&.MuiPaginationItem-outlinedSecondary":mt({variant:"outlined",color:"secondary",theme:e}),"&.MuiPaginationItem-outlinedError":mt({variant:"outlined",color:"error",theme:e}),"&.MuiPaginationItem-outlinedSuccess":mt({variant:"outlined",color:"success",theme:e}),"&.MuiPaginationItem-outlinedInfo":mt({variant:"outlined",color:"info",theme:e}),"&.MuiPaginationItem-outlinedWarning":mt({variant:"outlined",color:"warning",theme:e})}}}}}}function tz(e){return{MuiPopover:{styleOverrides:{paper:{boxShadow:e.customShadows.z1}}}}}function ri({color:e,theme:t}){const n=$t(t,e),{lighter:r,main:i,dark:a}=n;return{"& .dot":{backgroundColor:i},"&:hover":{backgroundColor:r},"&.Mui-focusVisible":{outline:`2px solid ${a}`,outlineOffset:-4}}}function nz(e){switch(e){case"small":return{size:16,dotSize:8,position:3};case"large":return{size:24,dotSize:12,position:5};case"medium":default:return{size:20,dotSize:10,position:4}}}function aA(e){const t=nz(e);return{"& .icon":{width:t.size,height:t.size,"& .dot":{width:t.dotSize,height:t.dotSize,top:t.position,left:t.position}}}}function rz(e){const{palette:t}=e;return{MuiRadio:{defaultProps:{className:"size-small",icon:f.jsx(Q.Box,{className:"icon",sx:{width:16,height:16,border:"1px solid",borderColor:"inherit",borderRadius:"50%"}}),checkedIcon:f.jsx(Q.Box,{className:"icon",sx:{width:16,height:16,border:"1px solid",borderColor:"inherit",borderRadius:"50%",position:"relative"},children:f.jsx(Q.Box,{className:"dot",sx:{width:8,height:8,backgroundColor:"inherit",borderRadius:"50%",position:"absolute",top:3,left:3}})})},styleOverrides:{root:{color:t.secondary[300],"&.size-small":{...aA("small")},"&.size-medium":{...aA("medium")},"&.size-large":{...aA("large")}},colorPrimary:ri({color:"primary",theme:e}),colorSecondary:ri({color:"secondary",theme:e}),colorSuccess:ri({color:"success",theme:e}),colorWarning:ri({color:"warning",theme:e}),colorInfo:ri({color:"info",theme:e}),colorError:ri({color:"error",theme:e})}}}}function oi({color:e,theme:t}){const n=$t(t,e),{main:r}=n;return{border:`2px solid ${r}`}}function oz(e){return{MuiSlider:{styleOverrides:{track:{height:"1px"},thumb:{width:14,height:14,border:`2px solid ${e.palette.primary.main}`,backgroundColor:e.palette.background.paper,"&.MuiSlider-thumbColorPrimary":oi({color:"primary",theme:e}),"&.MuiSlider-thumbColorSecondary":oi({color:"secondary",theme:e}),"&.MuiSlider-thumbColorSuccess":oi({color:"success",theme:e}),"&.MuiSlider-thumbColorWarning":oi({color:"warning",theme:e}),"&.MuiSlider-thumbColorInfo":oi({color:"info",theme:e}),"&.MuiSlider-thumbColorError":oi({color:"error",theme:e})},mark:{width:4,height:4,borderRadius:"50%",border:`1px solid ${e.palette.secondary.light}`,backgroundColor:e.palette.background.paper,"&.MuiSlider-markActive":{opacity:1,borderColor:"inherit",borderWidth:2}},rail:{color:e.palette.secondary.light},root:{"&.Mui-disabled":{".MuiSlider-rail":{opacity:.25},".MuiSlider-track":{color:e.palette.secondary.lighter},".MuiSlider-thumb":{border:`2px solid ${e.palette.secondary.lighter}`}}},valueLabel:{backgroundColor:e.palette.grey[600],color:e.palette.grey[0]}}}}}function iz(e){switch(e){case"small":return{width:28,height:16,base:12,thumb:10,trackRadius:8};case"large":return{width:60,height:28,base:32,thumb:22,trackRadius:24};case"medium":default:return{width:44,height:22,base:22,thumb:16,trackRadius:16}}}function lA(e,t){const n=iz(t);return{width:n.width,height:n.height,"& .MuiSwitch-switchBase":{padding:3,"&.Mui-checked":{transform:`translateX(${n.base}px)`}},"& .MuiSwitch-thumb":{width:n.thumb,height:n.thumb},"& .MuiSwitch-track":{borderRadius:n.trackRadius}}}function sz(e){return{MuiSwitch:{styleOverrides:{track:{opacity:1,backgroundColor:e.palette.secondary[400],boxSizing:"border-box"},thumb:{borderRadius:"50%",transition:e.transitions.create(["width"],{duration:200})},switchBase:{"&.Mui-checked":{color:"#fff","& + .MuiSwitch-track":{opacity:1},"&.Mui-disabled":{color:e.palette.background.paper}},"&.Mui-disabled":{color:e.palette.background.paper,"+.MuiSwitch-track":{opacity:.3}}},root:{color:e.palette.text.primary,padding:0,margin:8,display:"flex","& ~ .MuiFormControlLabel-label":{margin:6},...lA(e,"medium")},sizeLarge:{...lA(e,"large")},sizeSmall:{...lA(e,"small")}}}}}function az(e){return{MuiTab:{styleOverrides:{root:{minHeight:46,color:e.palette.text.primary,borderRadius:4,"&:hover":{backgroundColor:e.palette.primary.lighter+60,color:e.palette.primary.main},"&:focus-visible":{borderRadius:4,outline:`2px solid ${e.palette.secondary.dark}`,outlineOffset:-3}}}}}}function lz(e){const t={"&:hover":{backgroundColor:e.palette.secondary.lighter}};return{MuiTableBody:{styleOverrides:{root:{"&.striped .MuiTableRow-root":{"&:nth-of-type(even)":{backgroundColor:e.palette.grey[50]},...t},"& .MuiTableRow-root":{...t}}}}}}function cz(e){const t={"&:not(:last-of-type)":{position:"relative","&:after":{position:"absolute",content:'""',backgroundColor:e.palette.divider,width:1,height:"calc(100% - 30px)",right:0,top:16}}};return{MuiTableCell:{styleOverrides:{root:{fontSize:"0.875rem",padding:12,borderColor:e.palette.divider},sizeSmall:{padding:8},head:{fontSize:"0.75rem",fontWeight:700,textTransform:"uppercase",...t},footer:{fontSize:"0.75rem",textTransform:"uppercase",...t}}}}}function uz(e){return{MuiTableFooter:{styleOverrides:{root:{backgroundColor:e.palette.grey[50],borderTop:`2px solid ${e.palette.divider}`,borderBottom:`1px solid ${e.palette.divider}`}}}}}function Az(e){return{MuiTableHead:{styleOverrides:{root:{backgroundColor:e.palette.grey[50],borderTop:`1px solid ${e.palette.divider}`,borderBottom:`2px solid ${e.palette.divider}`}}}}}function dz(){return{MuiTablePagination:{styleOverrides:{selectLabel:{fontSize:"0.875rem"},displayedRows:{fontSize:"0.875rem"}}}}}function gz(){return{MuiTableRow:{styleOverrides:{root:{"&:last-of-type":{"& .MuiTableCell-root":{borderBottom:"none"}},"& .MuiTableCell-root":{"&:last-of-type":{paddingRight:24},"&:first-of-type":{paddingLeft:24}}}}}}}function fz(){return{MuiTabs:{styleOverrides:{vertical:{overflow:"visible"}}}}}function pz(e){return{MuiToggleButton:{styleOverrides:{root:{"&.Mui-disabled":{borderColor:e.palette.divider,color:e.palette.text.disabled},"&:focus-visible":{outline:`2px solid ${e.palette.secondary.dark}`,outlineOffset:2}}}}}}function hz(e){return{MuiTooltip:{styleOverrides:{tooltip:{color:e.palette.background.paper}}}}}function Cz(){return{MuiTreeItem:{styleOverrides:{content:{padding:8},iconContainer:{"& svg":{fontSize:"0.625rem"}}}}}}function Ez(){return{MuiTypography:{styleOverrides:{gutterBottom:{marginBottom:12}}}}}function mz(e){return it.merge(xH(e),wH(e),TH(e),PH(e),SH(),RH(e),OH(e),DH(e),MH(),jH(),kH(),LH(e),NH(e),VH(),HH(e),zH(),WH(e),UH(e),YH(),GH(e),KH(),_H(),qH(e),JH(e),XH(),ZH(e),$H(),ez(e),tz(e),rz(e),oz(e),sz(e),az(e),lz(e),cz(e),uz(e),Az(e),dz(),gz(),fz(),pz(e),hz(e),Cz(),Ez())}const Ng=({themeOverrides:e,children:t})=>{const{themeDirection:n,mode:r,presetColor:i,fontFamily:a}=Ut(),l=S.useMemo(()=>bH(r,i),[r,i]),u=S.useMemo(()=>QH(a),[a]),d=S.useMemo(()=>$V(l),[l]),g=S.useMemo(()=>is.merge({breakpoints:{values:{xs:0,sm:768,md:1024,lg:1266,xl:1440}},direction:n,mixins:{toolbar:{minHeight:60,paddingTop:8,paddingBottom:8}},palette:l.palette,customShadows:d,typography:u,shadows:l.shadows.map(()=>"none"),components:{MuiIconButton:{styleOverrides:{sizeExtraSmall:{width:l.spacing(2.6875),height:l.spacing(2.6875),fontSize:"0.625rem"}}}}},typeof e=="function"?e(l):e),[n,l,u,d,e]),p=nd(g),E=is.cloneDeep(p.components??{});return p.components=is.merge(mz(p),E),f.jsx(Q.StyledEngineProvider,{injectFirst:!0,children:f.jsxs(Om,{theme:p,children:[f.jsx(Q.CssBaseline,{}),t]})})};Ng.propTypes={children:c.node,themeOverrides:c.oneOfType([c.object,c.func])};const hv=({children:e,theme:t,...n})=>f.jsx(R.CoreAdminContext,{...n,children:f.jsx(Ng,{themeOverrides:t,children:f.jsx(Rg,{children:e})})});hv.displayName="ApplicaAdminContext";const Si=e=>{const{authProvider:t,catchAll:n,children:r,dashboard:i,dataProvider:a,disableTelemetry:l,history:u,i18nProvider:d,layout:g,loading:p,loginPage:E,authCallbackPage:h,menu:m,notification:I,queryClient:B,requireAuth:y,store:O,ready:M,theme:w,title:T="React Admin"}=e;return f.jsx(hv,{authProvider:t,dataProvider:a,i18nProvider:d,store:O,history:u,queryClient:B,theme:w,children:f.jsx(R.AdminUI,{layout:g,dashboard:i,disableTelemetry:l,menu:m,catchAll:n,title:T,loading:p,loginPage:E,authCallbackPage:h,notification:I,requireAuth:y,ready:M,children:r})})};Si.defaultProps={store:R.localStorageStore(),title:"Applica Admin"};Si.propTypes={...R.AdminUI.propTypes};class Cv{constructor({catch:t,display:n,log:r,error:i}){Ki(this,"catch");Ki(this,"display");Ki(this,"log");Ki(this,"error");this.catch=t,this.display=n,this.log=r,this.error=i}isCatched(){return this.catch}logError(){return this.log}displayError(){return this.display}}const Iz=({apiUrl:e,endpoint:t,message:n,bodyBuilder:r})=>fetch(`${e}${t}`,{method:"PUT",headers:new Headers({Accept:"application/json","Content-Type":"application/json"}),body:JSON.stringify(r(n))}),Bz=({enabled:e=!0,apiUrl:t,endpoint:n="/ui-errors/put",loading:r,catcherFn:i=l=>new Cv({catch:l!=null,display:!1,log:!1}),bodyBuilder:a=l=>({message:l})})=>(k.useMemo(()=>{if(r||!e)return;const l=console.error;console.error=function(u,...d){if(!u||typeof u!="string"){l.apply(console,arguments);return}const g=u.replace(/%s/g,()=>d.shift()),p=i(g);if(!p.isCatched()){l.apply(console,arguments);return}p.logError()&&Iz({apiUrl:t,endpoint:n,message:g,bodyBuilder:a}),p.displayError()?l.apply(console,arguments):console.debug.apply(console,arguments)}},[t,r,a,n,i,e]),!0),Vg=({languages:e,defaultLocale:t,allowMissing:n=!1})=>nP(r=>it.get(e,r,{}),t,[{locale:t}],{allowMissing:n}),am=[],yz=({apiUrl:e,endpoint:t,locale:n,message:r,bodyBuilder:i})=>r!=null&&r!=="undefined"&&r.indexOf("[")===-1&&r.indexOf("]")===-1&&am.indexOf(`${n}-${r}`)===-1&&am.push(`${n}-${r}`)&&fetch(`${e}${t}`,{method:"PUT",headers:new Headers({Accept:"application/json","Content-Type":"application/json"}),body:JSON.stringify(i(n,r)||{})}),Ev=({apiUrl:e,enabled:t=!0,endpoint:n="/languages/put-message",loading:r,bodyBuilder:i=(a,l)=>({lang:a,code:l,text:l})})=>{const[a]=R.useLocaleState();return k.useMemo(()=>{if(r||!t)return;const l=console.error;console.error=function(u){if(!(typeof u=="string"&&u==="%c%s")){if(typeof u=="string"&&u.indexOf("Missing translation for key: ")>=0){if(u=u.replace("Warning: Missing translation for key: ",""),u=u.split('"').join("").trim(),u===null||u.indexOf(" ")!==-1||u.indexOf(".")===-1)return;const d=localStorage.getItem("locale")||a;yz({apiUrl:e,endpoint:n,locale:d,message:u,bodyBuilder:i});return}l.apply(console,arguments)}}},[e,a,r,i,n,t]),!0};window.React=S;const mv=({apiUrl:e,endpoint:t="/languages/load",mapper:n=({data:r})=>({data:r})})=>{const[r,i]=S.useState({loading:!0,languages:null});return S.useEffect(()=>{let a=new Headers;a.append("Accept","application/json"),a.append("Content-Type","application/json"),fetch(`${e}${t}`,{headers:a}).then(l=>l.json()).then(l=>i({loading:!1,...n(l)}))},[e,t,n]),r},vz=({apiUrl:e,locale:t="en",languages:n={}})=>Vg({apiUrl:e,locale:t,languages:n}),bz=e=>e.reduce((t,n)=>({...t,[n.lang]:{...t[n.lang]||{},[n.code]:n.text}}),{}),Qz=(e,t)=>({lang:e,code:t,text:t}),xz=new lm.QueryClient({defaultOptions:{queries:{refetchOnWindowFocus:!1}}}),Hg=({theme:e,themeConfig:t,apiUrl:n,defaultLocale:r,development:i,logoMain:a,logoIcon:l,loginPage:u,menu:d,name:g,version:p,dataProvider:E,authProvider:h,notification:m,enableNotification:I,enableRegistration:B,enablePasswordRecover:y,...O})=>{const M=mv({apiUrl:n,endpoint:"/i18n/messages",mapper:bz});Ev({bodyBuilder:Qz,apiUrl:n,endpoint:"/i18n/message",loading:M==null?void 0:M.loading,enabled:i}),Bz({apiUrl:n,endpoint:"/cli/error",catcherFn:H=>{const F=H==null?void 0:H.toString(),Z=["Invalid prop `file` of type `string` supplied to `FileInputPreview`, expected `object`.","Failed prop type: Invalid prop `checked` of type `string` supplied to `ForwardRef(Switch)`, expected `boolean`.","Failed prop type: Invalid prop `checked` of type `string` supplied to `ForwardRef(SwitchBase)`, expected `boolean`.","validateDOMNesting(...): <form> cannot appear as a descendant of <form>."].some(ee=>F==null?void 0:F.includes(ee));return new Cv({catch:Z,display:!Z,log:!Z,error:H})}});const w=S.useMemo(()=>S.isValidElement(u)?S.cloneElement(u,{name:g,version:p,enableRegistration:B,enablePasswordRecover:y}):u,[u,g,p,B,y]),T=S.useMemo(()=>H=>{const F=g?f.jsx(uc,{title:g}):a,K=g?f.jsx(Og,{title:g}):l;return f.jsx(Pg,{...H,name:g,version:p,logoMain:F,logoIcon:K,notification:m,enableNotification:I})},[a,l,g,p,m,I]);if(M!=null&&M.loading)return null;const P=Vg({languages:M,defaultLocale:r,allowMissing:i});return f.jsx(id,{children:f.jsx(cd,{menu:d,children:f.jsx(ad,{initialConfig:t,children:f.jsx(Si,{theme:e,layout:T,notification:nv,queryClient:xz,dataProvider:E,authProvider:h,i18nProvider:P,loginPage:w,...O})})})})};Hg.defaultProps={...Si.defaultProps,fileFields:[],defaultLocale:"en",development:!1,version:"0.0.0",notification:"entities/notification",enableNotification:!1,enableRegistration:!1,enableForgotPassword:!1,loginPage:f.jsx(Ac,{version:"0.0.0",name:"Applica",redirectTo:"/"})};Hg.propTypes={...Si.propTypes,theme:c.oneOfType([c.object,c.func]),apiUrl:c.string.isRequired,defaultLocale:c.string,development:c.bool,logoMain:c.node,logoIcon:c.node,menu:c.arrayOf(Ci),name:c.string,version:c.string,authProvider:c.oneOfType([c.func,c.object]),dataProvider:c.oneOfType([c.func,c.object]),notification:c.string,enableNotification:c.bool,enableRegistration:c.bool,enableForgotPassword:c.bool};Object.defineProperty(exports,"ArrayInputContext",{enumerable:!0,get:()=>R.ArrayInputContext});Object.defineProperty(exports,"BooleanField",{enumerable:!0,get:()=>R.BooleanField});Object.defineProperty(exports,"BulkDeleteWithConfirmButton",{enumerable:!0,get:()=>R.BulkDeleteWithConfirmButton});Object.defineProperty(exports,"Button",{enumerable:!0,get:()=>R.Button});Object.defineProperty(exports,"ChipField",{enumerable:!0,get:()=>R.ChipField});Object.defineProperty(exports,"Confirm",{enumerable:!0,get:()=>R.Confirm});Object.defineProperty(exports,"Create",{enumerable:!0,get:()=>R.Create});Object.defineProperty(exports,"CreateButton",{enumerable:!0,get:()=>R.CreateButton});Object.defineProperty(exports,"CreateContextProvider",{enumerable:!0,get:()=>R.CreateContextProvider});Object.defineProperty(exports,"CustomRoutes",{enumerable:!0,get:()=>R.CustomRoutes});Object.defineProperty(exports,"DeleteWithConfirmButton",{enumerable:!0,get:()=>R.DeleteWithConfirmButton});Object.defineProperty(exports,"DeleteWithUndoButton",{enumerable:!0,get:()=>R.DeleteWithUndoButton});Object.defineProperty(exports,"EditButton",{enumerable:!0,get:()=>R.EditButton});Object.defineProperty(exports,"EditContextProvider",{enumerable:!0,get:()=>R.EditContextProvider});Object.defineProperty(exports,"FieldTitle",{enumerable:!0,get:()=>R.FieldTitle});Object.defineProperty(exports,"Form",{enumerable:!0,get:()=>R.Form});Object.defineProperty(exports,"FormDataConsumer",{enumerable:!0,get:()=>R.FormDataConsumer});Object.defineProperty(exports,"HttpError",{enumerable:!0,get:()=>R.HttpError});Object.defineProperty(exports,"I18nContextProvider",{enumerable:!0,get:()=>R.I18nContextProvider});Object.defineProperty(exports,"ListToolbar",{enumerable:!0,get:()=>R.ListToolbar});Object.defineProperty(exports,"Pagination",{enumerable:!0,get:()=>R.Pagination});Object.defineProperty(exports,"RaArrayInput",{enumerable:!0,get:()=>R.ArrayInput});Object.defineProperty(exports,"RaSimpleFormIterator",{enumerable:!0,get:()=>R.SimpleFormIterator});Object.defineProperty(exports,"RecordContextProvider",{enumerable:!0,get:()=>R.RecordContextProvider});Object.defineProperty(exports,"ReferenceArrayField",{enumerable:!0,get:()=>R.ReferenceArrayField});Object.defineProperty(exports,"ReferenceField",{enumerable:!0,get:()=>R.ReferenceField});Object.defineProperty(exports,"Resource",{enumerable:!0,get:()=>R.Resource});Object.defineProperty(exports,"ResourceContextProvider",{enumerable:!0,get:()=>R.ResourceContextProvider});Object.defineProperty(exports,"SaveButton",{enumerable:!0,get:()=>R.SaveButton});Object.defineProperty(exports,"SimpleFormIteratorContext",{enumerable:!0,get:()=>R.SimpleFormIteratorContext});Object.defineProperty(exports,"SimpleList",{enumerable:!0,get:()=>R.SimpleList});Object.defineProperty(exports,"SingleFieldList",{enumerable:!0,get:()=>R.SingleFieldList});Object.defineProperty(exports,"TopToolbar",{enumerable:!0,get:()=>R.TopToolbar});Object.defineProperty(exports,"UrlField",{enumerable:!0,get:()=>R.UrlField});Object.defineProperty(exports,"choices",{enumerable:!0,get:()=>R.choices});Object.defineProperty(exports,"email",{enumerable:!0,get:()=>R.email});Object.defineProperty(exports,"maxLength",{enumerable:!0,get:()=>R.maxLength});Object.defineProperty(exports,"maxValue",{enumerable:!0,get:()=>R.maxValue});Object.defineProperty(exports,"minLength",{enumerable:!0,get:()=>R.minLength});Object.defineProperty(exports,"minValue",{enumerable:!0,get:()=>R.minValue});Object.defineProperty(exports,"number",{enumerable:!0,get:()=>R.number});Object.defineProperty(exports,"regex",{enumerable:!0,get:()=>R.regex});Object.defineProperty(exports,"required",{enumerable:!0,get:()=>R.required});Object.defineProperty(exports,"useArrayInput",{enumerable:!0,get:()=>R.useArrayInput});Object.defineProperty(exports,"useAuthProvider",{enumerable:!0,get:()=>R.useAuthProvider});Object.defineProperty(exports,"useCreateController",{enumerable:!0,get:()=>R.useCreateController});Object.defineProperty(exports,"useDataProvider",{enumerable:!0,get:()=>R.useDataProvider});Object.defineProperty(exports,"useEditContext",{enumerable:!0,get:()=>R.useEditContext});Object.defineProperty(exports,"useGetIdentity",{enumerable:!0,get:()=>R.useGetIdentity});Object.defineProperty(exports,"useGetList",{enumerable:!0,get:()=>R.useGetList});Object.defineProperty(exports,"useGetMany",{enumerable:!0,get:()=>R.useGetMany});Object.defineProperty(exports,"useGetManyReference",{enumerable:!0,get:()=>R.useGetManyReference});Object.defineProperty(exports,"useGetOne",{enumerable:!0,get:()=>R.useGetOne});Object.defineProperty(exports,"useListContext",{enumerable:!0,get:()=>R.useListContext});Object.defineProperty(exports,"useNotify",{enumerable:!0,get:()=>R.useNotify});Object.defineProperty(exports,"usePermissions",{enumerable:!0,get:()=>R.usePermissions});Object.defineProperty(exports,"useRecordContext",{enumerable:!0,get:()=>R.useRecordContext});Object.defineProperty(exports,"useRefresh",{enumerable:!0,get:()=>R.useRefresh});Object.defineProperty(exports,"useResourceContext",{enumerable:!0,get:()=>R.useResourceContext});Object.defineProperty(exports,"useResourceDefinition",{enumerable:!0,get:()=>R.useResourceDefinition});Object.defineProperty(exports,"useResourceDefinitions",{enumerable:!0,get:()=>R.useResourceDefinitions});Object.defineProperty(exports,"useTranslate",{enumerable:!0,get:()=>R.useTranslate});Object.defineProperty(exports,"useUnselect",{enumerable:!0,get:()=>R.useUnselect});Object.defineProperty(exports,"useUnselectAll",{enumerable:!0,get:()=>R.useUnselectAll});Object.defineProperty(exports,"useUpdateMany",{enumerable:!0,get:()=>R.useUpdateMany});exports.ActionsField=Od;exports.ActionsMenu=xs;exports.ActivatePage=cv;exports.Admin=Si;exports.AnimateButton=TB;exports.AppConfigContext=od;exports.AppConfigProvider=id;exports.ApplicaAdmin=Hg;exports.ArrayInput=Fj;exports.AttachmentField=Dd;exports.AttachmentInput=Vd;exports.AutocompleteArrayInput=eI;exports.AutocompleteInput=tI;exports.Avatar=Cl;exports.BooleanInput=Hd;exports.Breadcrumbs=Ll;exports.CardForm=Nl;exports.ChangePasswordForm=Zd;exports.CircularWithLabel=RB;exports.CircularWithPath=OB;exports.CoverField=Kl;exports.CreateInDialogButton=jg;exports.Datagrid=Fg;exports.DateAgoField=_l;exports.DateField=Md;exports.DateInput=zd;exports.DateTimeInput=Wd;exports.Dot=sc;exports.Edit=lk;exports.EditInDialogButton=kg;exports.EmailField=jd;exports.Empty=iv;exports.FileField=kd;exports.FileInput=Ud;exports.FormHeader=$d;exports.FunctionField=J0;exports.IconButton=Xr;exports.ImageField=ws;exports.ImageInput=Yd;exports.ImpersonateUserButton=ov;exports.LabeledArrayInput=Gl;exports.LabeledInput=at;exports.Layout=Pg;exports.LinearWithIcon=DB;exports.LinearWithLabel=MB;exports.List=sv;exports.ListItem=Lg;exports.Loadable=LV;exports.Loader=tv;exports.LoadingButton=Bg;exports.LoginPage=Ac;exports.Logo=xg;exports.LongForm=Ts;exports.MainCard=Nn;exports.MainIcon=uc;exports.MenuConfigContext=ld;exports.MenuConfigProvider=cd;exports.MenuPopover=kl;exports.MenuPropTypes=Ci;exports.Notification=nv;exports.NotificationList=ZV;exports.NumberInput=Gd;exports.ReadonlyField=Ld;exports.RecordInput=nI;exports.RecoverPage=uv;exports.ReferenceArrayInput=Kd;exports.ReferenceInput=_d;exports.ReferenceManyField=xi;exports.ReferenceManyInput=qd;exports.RegisterPage=Av;exports.ScrollTop=Rg;exports.ScrollX=NV;exports.SearchInput=nk;exports.SelectArrayInput=Jd;exports.SelectInput=oI;exports.SimpleBar=Qg;exports.SimpleForm=Yl;exports.SimpleFormIterator=xk;exports.SizeField=Z0;exports.SmallIcon=Og;exports.SmartTextInput=ql;exports.TabbedForm=Zl;exports.TextField=Nd;exports.TextInput=Vn;exports.ThemeConfigContext=sd;exports.ThemeConfigProvider=ad;exports.ThemeProvider=Ng;exports.TimeInput=Xd;exports.Toolbar=Tr;exports.Tooltip=SB;exports.Transitions=Zr;exports.createI18nProvider=Vg;exports.parseTime=iI;exports.useAppConfig=So;exports.useBreadcrumbs=Vm;exports.useI18nCatcher=Ev;exports.useI18nLanguages=mv;exports.useI18nProvider=vz;exports.useLocalStorage=Ad;exports.useMenu=ud;exports.useMenuConfig=Xn;exports.useResourceTitle=Hm;exports.useThemeConfig=Ut;exports.uuid=ok;
|
|
275
|
+
`),PV)),ev=k.forwardRef(function(t,n){const r=Rt({props:t,name:"MuiLinearProgress"}),{className:i,color:a="primary",value:l,valueBuffer:u,variant:d="indeterminate"}=r,g=We(r,wV),p=U({},r,{color:a,variant:d}),E=RV(p),h=ut(),m={},I={bar1:{},bar2:{}};if(d==="determinate"||d==="buffer")if(l!==void 0){m["aria-valuenow"]=Math.round(l),m["aria-valuemin"]=0,m["aria-valuemax"]=100;let B=l-100;h.direction==="rtl"&&(B=-B),I.bar1.transform=`translateX(${B}%)`}else process.env.NODE_ENV!=="production"&&console.error("MUI: You need to provide a value prop when using the determinate or buffer variant of LinearProgress .");if(d==="buffer")if(u!==void 0){let B=(u||0)-100;h.direction==="rtl"&&(B=-B),I.bar2.transform=`translateX(${B}%)`}else process.env.NODE_ENV!=="production"&&console.error("MUI: You need to provide a valueBuffer prop when using the buffer variant of LinearProgress.");return f.jsxs(OV,U({className:ze(E.root,i),ownerState:p,role:"progressbar"},m,{ref:n},g,{children:[d==="buffer"?f.jsx(DV,{className:E.dashed,ownerState:p}):null,f.jsx(MV,{className:E.bar1,ownerState:p,style:I.bar1}),d==="determinate"?null:f.jsx(jV,{className:E.bar2,ownerState:p,style:I.bar2})]}))});process.env.NODE_ENV!=="production"&&(ev.propTypes={classes:c.object,className:c.string,color:c.oneOfType([c.oneOf(["inherit","primary","secondary"]),c.string]),sx:c.oneOfType([c.arrayOf(c.oneOfType([c.func,c.object,c.bool])),c.func,c.object]),value:c.number,valueBuffer:c.number,variant:c.oneOf(["buffer","determinate","indeterminate","query"])});const kV=ev,FV=ce("div")(({theme:e})=>({position:"fixed",top:0,left:0,zIndex:2001,width:"100%","& > * + *":{marginTop:e.spacing(2)}})),tv=()=>f.jsx(FV,{children:f.jsx(kV,{color:"primary"})}),LV=e=>t=>f.jsx(S.Suspense,{fallback:f.jsx(tv,{}),children:f.jsx(e,{...t})}),uc=({title:e})=>f.jsxs(Q.Stack,{direction:"row",children:[f.jsx(Q.Typography,{variant:"h2",sx:{fontWeight:"regular",letterSpacing:-2.5},children:"a."})," ",f.jsx(Q.Typography,{variant:"h2",sx:{fontWeight:"bold"},children:e})]});uc.propTypes={title:c.string.isRequired};const nv=ce(R.Notification,{})(({theme:e})=>({"& *":{fontSize:e.typography.body1.fontSize}})),Rg=({children:e})=>{const t=gt.useLocation(),{pathname:n}=t;return S.useEffect(()=>{window.scrollTo({top:0,left:0,behavior:"smooth"})},[n]),e||null};Rg.propTypes={children:c.node};const NV=ce("div")({width:"100%",overflowX:"auto",display:"block"}),Og=({title:e})=>f.jsx(Q.Typography,{variant:"h2",sx:{style:"bold"},children:e==null?void 0:e.substr(0,1).toUpperCase()});Og.propTypes={title:c.string.isRequired};const Dg=(e,t)=>{const n=t.id;if(!e)return[t];const r=e.findIndex(i=>i.id===n);return r===-1?[...e,t]:[...e.slice(0,r),{...e[r],...t},...e.slice(r+1)]},VV=(e,t)=>e&&e.data?{data:Dg(e.data,t),total:e.total+1}:e,HV=(e,t)=>e&&e.length>0?Dg(e,t):e,zV=(e,t)=>e&&e.data?{...e,data:Dg(e.data,t),total:e.total+1}:e,Mg=({onClose:e,record:t,children:n,redirect:r,onSubmit:i,onSuccess:a,onError:l})=>{const u=lm.useQueryClient(),d=R.useResourceContext(),g=R.useRedirect(),p=R.useNotify(),E=S.useCallback(B=>{const O=Date.now();u.setQueryData([d,"getOne",{id:B.id}],B),u.setQueriesData([d,"getList"],M=>zV(M,B),{updatedAt:O}),u.setQueriesData([d,"getMany"],M=>HV(M,B),{updatedAt:O}),u.setQueriesData([d,"getManyReference"],M=>VV(M,B),{updatedAt:O}),e(),p("ra.notification.created"),r!==void 0&&g(r,d,B.id,B),a&&a(B)},[e,a,u,d,p,g,r]),{save:h,isLoading:m}=R.useCreateController({mutationOptions:{onSuccess:E,onError:l}}),I=S.useCallback(B=>{i?i(B,e):h&&h(B)},[i,h,e]);return f.jsx(R.CreateContextProvider,{value:{record:t,save:I,saving:m,redirect:r},children:S.cloneElement(n,{...n.props,toolbar:f.jsxs(Tr,{children:[f.jsx(R.Button,{variant:"text",size:"medium",label:"ra.action.cancel",onClick:e}),f.jsx(R.SaveButton,{})]})})})};Mg.propTypes={children:c.node,onClose:c.func,record:c.object,redirect:c.oneOf(["list","edit","show",!1])};Mg.defaultProps={redirect:!1};const WV={true:{_scrollToTop:!0},false:{}},UV=ce(Q.Fab,{name:"RaApplicaCreateInDialogButton",overridesResolver:(e,t)=>t.root})(({theme:e})=>({[`&.${R.CreateButtonClasses.floating}`]:{color:e.palette.getContrastText(e.palette.primary.main),margin:0,top:"auto",right:20,bottom:60,left:"auto",position:"fixed",zIndex:1e3}})),jg=({fullWidth:e,maxWidth:t,label:n,record:r,redirect:i,scrollToTop:a,className:l,sx:u,onSubmit:d,onSuccess:g,onError:p,...E})=>{const[h,m]=S.useState(!1),I=R.useTranslate(),B=R.useResourceContext(),{openDialog:y,closeDialog:O}=So(),M=S.useCallback(()=>y(B,()=>m(!0)),[y,B]),w=S.useCallback(()=>O(B,()=>m(!1)),[O,B]),T=Q.useMediaQuery(P=>P.breakpoints.down("md"));return f.jsxs(f.Fragment,{children:[T?f.jsx(UV,{...E,state:WV[String(a)],color:"primary",className:ze(R.CreateButtonClasses.floating,l),"aria-label":n&&I(n),onClick:M,children:f.jsx(Jn.Add,{})}):f.jsx(R.Button,{...E,sx:u,label:n,onClick:M,children:f.jsx(Jn.Add,{})}),f.jsx(Q.Dialog,{open:h,onClose:w,fullWidth:e,maxWidth:t,children:f.jsx(Mg,{...E,redirect:i,record:r,onClose:w,onSubmit:d,onSuccess:g,onError:p})})]})};jg.defaultProps={fullWidth:!0,maxWidth:"md",label:"ra.action.create",scrollToTop:!0};jg.propTypes={...R.Button.propTypes,redirect:c.oneOf(["list","edit","show",!1]),fullWidth:c.bool,maxWidth:c.oneOf(["xs","sm","md","lg","xl",!1]),label:c.string,record:c.object,scrollToTop:c.bool,className:c.string,sx:c.object,children:c.node,onSubmit:c.func,onSuccess:c.func,onError:c.func};const rv=({onClose:e,children:t})=>{const n=R.useNotify(),r=R.useRecordContext(),i=R.useResourceContext(),{id:a}=r,{isLoading:l,data:u}=R.useGetOne(i,{id:a}),d=S.useCallback(()=>{n("ra.notification.updated",{type:"info",messageArgs:{smart_count:1}}),e()},[e,n]),{save:g,saving:p}=R.useEditController({resource:i,id:a,mutationMode:"pessimistic",mutationOptions:{onSuccess:d}});return f.jsx(R.EditContextProvider,{value:{record:u,isLoading:l,save:g,saving:p},children:S.cloneElement(t,{toolbar:f.jsxs(Tr,{children:[f.jsx(R.Button,{variant:"text",size:"medium",label:"ra.action.cancel",onClick:e}),f.jsx(R.SaveButton,{})]})})})};rv.propTypes={children:c.node,onClose:c.func};const kg=({fullWidth:e,maxWidth:t,label:n,...r})=>{const[i,a]=S.useState(!1),{openDialog:l,closeDialog:u}=So(),d=R.useResourceContext(),g=S.useCallback(()=>l(d,()=>a(!0)),[l,d]),p=S.useCallback(()=>u(d,()=>a(!1)),[u,d]);return f.jsxs(f.Fragment,{children:[f.jsx(R.Button,{label:n,onClick:g,children:f.jsx(Jn.Edit,{})}),f.jsx(Q.Dialog,{open:i,onClose:p,fullWidth:e,maxWidth:t,children:f.jsx(rv,{...r,onClose:p})})]})};kg.defaultProps={fullWidth:!0,maxWidth:"md",label:"ra.action.edit"};kg.propTypes={fullWidth:c.bool,maxWidth:c.oneOf(["xs","sm","md","lg","xl",!1]),label:c.string};const ov=({label:e="ra.auth.sign_in",...t})=>{const n=R.useRecordContext(),[r,i]=S.useState(!1),a=R.useAuthProvider(),l=S.useCallback(u=>{u.stopPropagation(),u.preventDefault(),i(!0),a.impersonate(n==null?void 0:n.id).then(()=>{i(!1),document.location.href="/"})},[a,n==null?void 0:n.id]);return f.jsx(R.Button,{disabled:r||a.impersonate===void 0,color:"primary",variant:"text",label:e,onClick:l,...t,children:f.jsx(Jn.VpnKey,{})})};ov.propTypes={label:c.string};const YV=ce(R.Datagrid,{name:"ApplicaDatagrid",slot:"root"})(()=>({"& .RaBulkActionsToolbar-collapsed":{height:0,paddingTop:0,paddingBottom:0},"& .RaBulkActionsToolbar-topToolbar":{backgroundColor:"transparent"},"& .icon span":{top:-1,left:-1},"& th":{textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"}})),Fg=e=>f.jsx(YV,{...e});Fg.propTypes={...R.Datagrid.propTypes};Fg.defaultProps={...R.Datagrid.defaultProps};const GV=ce("div")(({theme:e})=>({padding:e.spacing(2)})),iv=({actions:e,className:t,...n})=>{const{hasCreate:r}=Qe.useResourceDefinition(n),i=Qe.useResourceContext(n),a=Qe.useTranslate(),l=Qe.useGetResourceLabel(),u=a(`resources.${i}.forcedCaseName`,{smart_count:0,_:l(i,0)}),d=a("ra.page.empty",{name:u}),g=a("ra.page.invite");return f.jsxs(KV,{className:t,children:[f.jsxs("div",{className:pi.message,children:[f.jsx(Jn.Inbox,{className:pi.icon}),f.jsx(Q.Typography,{variant:"h4",paragraph:!0,children:a(`resources.${i}.empty`,{_:d})}),r&&f.jsx(Q.Typography,{variant:"body1",children:a(`resources.${i}.invite`,{_:g})})]}),f.jsx(GV,{className:pi.toolbar,children:e})]})},Ga="ApplicaEmpty",pi={message:`${Ga}-message`,icon:`${Ga}-icon`,toolbar:`${Ga}-toolbar`},KV=ce("span",{name:Ga,overridesResolver:(e,t)=>t.root})(({theme:e})=>({flex:1,[`& .${pi.message}`]:{textAlign:"center",opacity:e.palette.mode==="light"?.5:.8,margin:"0 1em",color:e.palette.mode==="light"?"inherit":e.palette.text.primary},[`& .${pi.icon}`]:{width:"9em",height:"9em"},[`& .${pi.toolbar}`]:{textAlign:"center",marginTop:"2em"}}));iv.propTypes={actions:c.element,className:c.string};const _V=yi(R.List,{name:"RaApplicaList",slot:"root"})(({theme:e})=>({"& .RaList-main":{overflowX:"auto","& .RaBulkActionsToolbar-toolbar":{height:36,top:42,paddingTop:16,"& .RaBulkActionsToolbar-title":{alignItems:"end","& .MuiTypography-root":{alignSelf:"center"}}},"& .MuiToolbar-root":{"& form":{padding:e.spacing(2),paddingBottom:e.spacing(2),alignItems:"flex-start"},"& .MuiButton-root":{margin:e.spacing(2)}},"& .RaList-actions":{padding:e.spacing(2),paddingTop:0,"& .RaFilterForm-filterFormInput":{"& .ra-input":{alignSelf:"center"},[e.breakpoints.down("sm")]:{marginTop:e.spacing(1),marginBottom:e.spacing(1)}},"& .RaFilterFormInput-hideButton":{marginTop:e.spacing(1),marginBottom:e.spacing(.5),marginRight:e.spacing(1)},"& > .MuiToolbar-root":{flex:"unset",padding:0}},"& .RaList-content":{"& .RaBulkActionsToolbar-collapsed":{height:0,paddingTop:0,paddingBottom:0},"& .icon span":{top:-1,left:-1}}},"& .RaEmpty-toolbar":{margin:e.spacing(2)}})),sv=e=>f.jsx(Nn,{content:!1,children:f.jsx(_V,{...e})});sv.propTypes={...R.List.propTypes};const qV=()=>{const e=R.useRefresh(),t=R.useNotify(),n=R.useUnselectAll(),r=R.useResourceContext(),{selectedIds:i,data:a}=R.useListContext(),l=R.useRecordContext(),u=i.map(E=>a.find(h=>h.id===E)),[d,{isLoading:g}]=R.useUpdateMany(r,{ids:i.length>0?i:[l==null?void 0:l.id],data:{readed:Qr().format("YYYY-MM-DD HH:mm:ss")},rows:u},{onSuccess:()=>{e(),t("resources.notifications.messages.readed.done"),n(r)},onError:()=>t("ra.notification.readed_error","warning"),onFailure:()=>t("ra.notification.readed_error","warning")}),p=S.useCallback(()=>{d()},[d]);return f.jsx(R.Button,{label:"ra.notification.mark_as_readed",disabled:g||(l==null?void 0:l.readed)!==null,onClick:p,children:f.jsx(Jn.Email,{})})},JV=()=>{const e=R.useRefresh(),t=R.useNotify(),n=R.useUnselectAll(),{selectedIds:r,data:i}=R.useListContext(),a=R.useRecordContext(),l=R.useResourceContext(),u=r.map(E=>i.find(h=>h.id===E)).concat([a]),[d,{isLoading:g}]=R.useUpdateMany(l,{ids:r.length>0?r:[a==null?void 0:a.id],data:{readed:null},rows:u},{onSuccess:()=>{e(),t("resources.notifications.messages.unreaded.done"),n("notifications")},onFailure:()=>t("resources.notifications.messages.unreaded.error","warning")}),p=S.useCallback(()=>{d()},[d]);return f.jsx(R.Button,{color:"secondary",label:"ra.notification.mark_as_unreaded",disabled:g||a&&!(a!=null&&a.readed),onClick:p,children:f.jsx(Jn.Drafts,{})})},XV=e=>{const t=R.useRecordContext(e),n=R.useResourceContext(e),r=R.useRedirect(),i=R.useNotify(),a=R.useTranslate(),[l]=R.useLocaleState(),u=S.useMemo(()=>t!=null&&t.readed?Qr(t==null?void 0:t.readed).locale(l).format("ddd, DD MMM YYYY HH:mm:ss"):!1,[t==null?void 0:t.readed,l]),[d]=R.useUpdate(n,{id:t==null?void 0:t.id,data:{...t,readed:Qr().format("YYYY-MM-DD HH:mm:ss")}},{onSuccess:()=>{t!=null&&t.resource&&(t!=null&&t.resource.startsWith("/")?r(t==null?void 0:t.resource):document.location.href=t==null?void 0:t.resource)},onFailure:()=>{i("ra.notification.readed_error","warning")}}),g=S.useCallback(()=>d(),[d]);return f.jsxs("div",{onClick:g,style:{cursor:"pointer"},role:"button",tabIndex:0,children:[f.jsx(Q.Typography,{variant:"subtitle1",children:f.jsxs(Q.Box,{fontWeight:"bold",children:[" ",t==null?void 0:t.title]})}),f.jsx(Q.Typography,{variant:"body1",sx:{overflow:"hidden",textOverflow:"ellipsis",display:"-webkit-box",WebkitBoxOrient:"vertical",whiteSpace:"break-spaces"},dangerouslySetInnerHTML:{__html:t==null?void 0:t.content}}),u&&f.jsx(Q.Typography,{variant:"caption",display:"block",sx:{mt:1},color:"textSecondary",children:a("ra.notification.readed",{readed:u})})]})},ZV=({...e})=>{const t=Q.useTheme(),{mode:n,colorize:r,density:i}=S.useMemo(()=>({mode:t.palette.mode,colorize:t.palette.mode==="dark"?Q.darken:Q.lighten,density:t.palette.mode==="dark"?.5:.9}),[t.palette.mode]),a=S.useCallback(l=>({backgroundColor:l!=null&&l.readed?r(t.palette.primary[n],i):r(t.palette.secondary[n],i)}),[t,n,r,i]);return f.jsxs(R.Datagrid,{...e,rowStyle:a,children:[f.jsx(XV,{source:"notification",sortable:!1,label:"ra.notification"}),f.jsx(_l,{source:"created",label:"ra.notification.created"}),f.jsxs(xs,{children:[f.jsx(qV,{}),f.jsx(JV,{})]})]})},ka={width:"1.5rem",alignSelf:"center"},Lg=({source:e,label:t,variant:n,record:r,spaceBottom:i,spaceTop:a,component:l,leftIcon:u,rightIcon:d,button:g,buttonProps:p,...E})=>{const{getCurrentDialog:h}=So(),m=Qe.useResourceContext(E),I=h(),B=Qe.useRecordContext(),y=r||B,O=it.get(y,e||"");return f.jsxs(Q.Stack,{direction:"row",alignItems:"center",justifyContent:"space-between",sx:M=>({pt:1,pb:1,borderBottom:`1px solid ${M.palette.divider}`,...i&&{mb:2},...a&&{mt:2}}),children:[f.jsxs(Q.Stack,{direction:"row",alignItems:"start",children:[u&&(S.isValidElement(u)?S.cloneElement(u,{style:ka}):S.createElement(u,{style:ka})),f.jsx(Qe.FieldTitle,{label:t,source:e,resource:I||m})]}),f.jsxs(Q.Stack,{direction:"row",alignItems:"center",children:[l?S.isValidElement(l)?S.cloneElement(l,{record:y,resource:m,value:O}):S.createElement(l,{source:e,record:y,resource:m,value:O}):f.jsx(Q.Typography,{variant:n,children:O}),d&&(S.isValidElement(d)?S.cloneElement(d,{style:ka}):S.createElement(d,{style:ka})),g&&f.jsx(Q.Button,{size:"small",variant:"outlined",sx:{ml:1,p:0},...p,children:g})]})]})};Lg.propTypes={source:c.string,label:c.string,record:c.object,variant:c.oneOf(["body1","body2","caption","button","h1","h2","h3","h4","h5","h6","inherit","overline","subtitle1","subtitle2"]),spaceTop:c.bool,spaceBottom:c.bool,leftIcon:c.oneOfType([c.elementType,c.element,c.func]),rightIcon:c.oneOfType([c.elementType,c.element,c.func]),component:c.oneOfType([c.elementType,c.element,c.func]),buttonProps:c.object,button:c.string};Lg.defaultProps={variant:"body1"};const av=()=>{const e=Wt.useTheme(),n=e.palette.mode==="dark"?e.palette.primary.dark:e.palette.primary.light;return f.jsx(Q.Box,{sx:{position:"absolute",filter:"blur(20px)",bottom:0,p:4,pb:8},children:f.jsxs("svg",{width:"100%",height:"calc(100vh - 175px)",viewBox:"0 0 117 80",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[f.jsx("path",{d:"M15.7523 21.9601L14.0526 17.2379H4.6534L2.95369 21.9601H0L7.78722 0.903564H10.9187L18.706 21.9601H15.7523ZM5.60948 14.6207H13.0988L9.33912 4.24262L5.60948 14.6207Z",fill:n}),f.jsx("path",{d:"M33.592 8.8437C35.0538 10.3782 35.7997 12.2433 35.7997 14.4391C35.7997 16.6348 35.0538 18.5302 33.592 20.0647C32.1301 21.5992 30.3404 22.3513 28.2504 22.3513C25.7747 22.3513 23.8949 21.3593 22.6109 19.3731V27.9769H20.0151V6.91804H22.6109V9.505C23.8949 7.51879 25.7724 6.52686 28.2504 6.52686C30.3381 6.52686 32.1301 7.30923 33.592 8.8437ZM31.6821 18.2881C32.6959 17.2356 33.204 15.9712 33.204 14.4367C33.204 12.9023 32.6959 11.6402 31.6821 10.6157C30.6683 9.56321 29.4143 9.05094 27.9224 9.05094C26.4306 9.05094 25.1489 9.56321 24.1328 10.6157C23.1189 11.6379 22.6109 12.9023 22.6109 14.4367C22.6109 15.9712 23.1189 17.2333 24.1328 18.2881C25.1466 19.3103 26.4006 19.8225 27.9224 19.8225C29.4443 19.8225 30.6683 19.3103 31.6821 18.2881Z",fill:n}),f.jsx("path",{d:"M51.5798 8.8437C53.0416 10.3782 53.7875 12.2433 53.7875 14.4391C53.7875 16.6348 53.0416 18.5302 51.5798 20.0647C50.1179 21.5992 48.3282 22.3513 46.2382 22.3513C43.7625 22.3513 41.8827 21.3593 40.5987 19.3731V27.9769H38.0029V6.91804H40.5987V9.505C41.8827 7.51879 43.7602 6.52686 46.2382 6.52686C48.3258 6.52686 50.1179 7.30923 51.5798 8.8437ZM49.6699 18.2881C50.6837 17.2356 51.1918 15.9712 51.1918 14.4367C51.1918 12.9023 50.6837 11.6402 49.6699 10.6157C48.6561 9.56321 47.4021 9.05094 45.9102 9.05094C44.4184 9.05094 43.1367 9.56321 42.1206 10.6157C41.1067 11.6379 40.5987 12.9023 40.5987 14.4367C40.5987 15.9712 41.1067 17.2333 42.1206 18.2881C43.1344 19.3103 44.3884 19.8225 45.9102 19.8225C47.4321 19.8225 48.6561 19.3103 49.6699 18.2881Z",fill:n}),f.jsx("path",{d:"M55.5449 21.96V0H58.1407V21.96H55.5449Z",fill:n}),f.jsx("path",{d:"M60.3188 2.43569C60.3188 1.47402 61.0948 0.661377 62.0786 0.661377C63.0624 0.661377 63.8083 1.47402 63.8083 2.43569C63.8083 3.39736 63.0324 4.17973 62.0786 4.17973C61.1248 4.17973 60.3188 3.39736 60.3188 2.43569ZM60.7669 21.9578V6.91803H63.3626V21.9578H60.7669Z",fill:n}),f.jsx("path",{d:"M67.8354 20.095C66.3436 18.5605 65.5977 16.6954 65.5977 14.4391C65.5977 12.1828 66.3436 10.3176 67.8354 8.81343C69.3273 7.27896 71.2071 6.52686 73.4449 6.52686C76.3986 6.52686 78.8743 8.06133 80.0382 10.4667L77.8605 11.731C77.1145 10.136 75.4425 9.08354 73.4449 9.08354C71.9531 9.08354 70.6991 9.59581 69.6853 10.618C68.7015 11.6402 68.1934 12.9046 68.1934 14.4391C68.1934 15.9735 68.7015 17.2076 69.6853 18.2299C70.6991 19.2521 71.9531 19.7643 73.4449 19.7643C75.4448 19.7643 77.1145 18.7421 77.9505 17.1471L80.1583 18.4394C78.8766 20.8168 76.3386 22.349 73.4449 22.349C71.2071 22.349 69.3273 21.5969 67.8354 20.0927V20.095Z",fill:n}),f.jsx("path",{d:"M94.2686 6.91793H96.8643V21.9577H94.2686V19.3707C92.9869 21.3569 91.107 22.3488 88.6314 22.3488C86.5437 22.3488 84.7516 21.5967 83.2898 20.0623C81.828 18.5278 81.082 16.6324 81.082 14.4366C81.082 12.2409 81.828 10.3757 83.2898 8.84126C84.7516 7.30679 86.5414 6.52441 88.6314 6.52441C91.107 6.52441 92.9869 7.51635 94.2686 9.50256V6.9156V6.91793ZM92.7467 18.288C93.7605 17.2355 94.2686 15.9711 94.2686 14.4366C94.2686 12.9022 93.7605 11.6401 92.7467 10.6156C91.7329 9.5631 90.4789 9.05083 88.957 9.05083C87.4351 9.05083 86.2112 9.5631 85.1973 10.6156C84.1835 11.6378 83.6755 12.9022 83.6755 14.4366C83.6755 15.9711 84.1835 17.2331 85.1973 18.288C86.2112 19.3102 87.4652 19.8224 88.957 19.8224C90.4489 19.8224 91.7306 19.3102 92.7467 18.288Z",fill:n}),f.jsx("path",{d:"M0.836162 48.9264L3.22406 47.5432C4.03003 50.0999 5.90986 51.3643 8.80351 51.3643C11.6972 51.3643 13.219 50.072 13.219 48.116C13.219 47.1241 12.8311 46.372 12.0851 45.8597C11.3392 45.3475 10.0575 44.8375 8.29545 44.2647L6.29553 43.6034C5.84751 43.4218 5.25169 43.1517 4.56581 42.8211C3.87992 42.4601 3.37186 42.0992 3.04393 41.7383C2.35804 40.9862 1.72989 39.7521 1.72989 38.22C1.72989 36.3851 2.35573 34.9414 3.63975 33.889C4.92376 32.8062 6.47335 32.2637 8.29314 32.2637C11.6048 32.2637 14.1405 34.0985 15.3645 36.8648L13.0366 38.2176C12.1406 36.0521 10.561 34.9694 8.29314 34.9694C6.02533 34.9694 4.50345 36.1732 4.50345 38.0989C4.50345 39.0303 4.83139 39.7242 5.48725 40.2038C6.14311 40.6858 7.27702 41.1958 8.88896 41.708L10.1129 42.0992C10.3508 42.19 10.7088 42.3088 11.2168 42.5207C12.2607 42.9119 12.5008 43.0609 13.3045 43.5126C14.1405 43.9643 14.4084 44.295 14.9164 44.8957C15.6624 45.6478 15.9603 46.7306 15.9603 48.0532C15.9603 49.888 15.3044 51.362 13.9604 52.475C12.6186 53.5577 10.8866 54.1003 8.73885 54.1003C4.83139 54.1003 1.93773 52.1443 0.831543 48.9264H0.836162Z",fill:n,opacity:"0.6"}),f.jsx("path",{d:"M25.089 54.1001C22.9112 54.1001 21.0314 53.348 19.5095 51.8135C17.9876 50.279 17.2417 48.4139 17.2417 46.1878C17.2417 43.9618 17.9876 42.0967 19.5095 40.5622C21.0314 39.0277 22.9112 38.2756 25.089 38.2756C27.2667 38.2756 29.1465 39.0277 30.6684 40.5622C32.1903 42.0967 32.9663 43.9618 32.9663 46.1878C32.9663 48.4139 32.1903 50.279 30.6684 51.8135C29.1465 53.348 27.2667 54.1001 25.089 54.1001ZM28.8486 50.0089C29.8624 48.9867 30.3705 47.7223 30.3705 46.1878C30.3705 44.6534 29.8624 43.3913 28.8486 42.3668C27.8348 41.3446 26.5808 40.8323 25.089 40.8323C23.5971 40.8323 22.3731 41.3446 21.3593 42.3668C20.3455 43.389 19.8374 44.6534 19.8374 46.1878C19.8374 47.7223 20.3455 48.9844 21.3593 50.0089C22.3731 51.0311 23.6271 51.5434 25.089 51.5434C26.5508 51.5434 27.8348 51.0311 28.8486 50.0089Z",fill:n,opacity:"0.6"}),f.jsx("path",{d:"M42.5409 34.7877C39.9151 34.5782 38.6034 35.7215 38.6034 38.2176V38.6693H42.5409V41.1958H38.6034V53.7091H36.0077V41.1958H33.6221V38.6693H36.0077V38.2176C36.0077 34.1567 38.3355 31.9912 42.5409 32.2613V34.7877Z",fill:n,opacity:"0.6"}),f.jsx("path",{d:"M52.7718 41.1958H48.8043V49.3478C48.8043 51.6647 50.116 51.4831 52.7718 51.3643V53.7114C48.2362 54.3122 46.2086 53.0804 46.2086 49.3502V41.1981H43.2549V38.6717H46.2086V35.2418L48.8043 34.4595V38.6717H52.7718V41.1981V41.1958Z",fill:n,opacity:"0.6"}),f.jsx("path",{d:"M72.9095 38.6692H75.6254L71.002 53.7089H68.3462L64.8544 42.5787L61.3627 53.7089H58.7069L54.0835 38.6692H56.797L60.0786 50.0998L63.5981 38.6692H66.1038L69.6233 50.13L72.9049 38.6692H72.9095Z",fill:n,opacity:"0.6"}),f.jsx("path",{d:"M88.5694 38.6692H91.1651V53.7089H88.5694V51.1219C87.2876 53.1081 85.4078 54.1001 82.9322 54.1001C80.8445 54.1001 79.0524 53.348 77.5906 51.8135C76.1287 50.279 75.3828 48.3836 75.3828 46.1878C75.3828 43.9921 76.1287 42.127 77.5906 40.5925C79.0524 39.058 80.8422 38.2756 82.9322 38.2756C85.4078 38.2756 87.2876 39.2676 88.5694 41.2538V38.6668V38.6692ZM87.0475 50.0392C88.0613 48.9867 88.5694 47.7223 88.5694 46.1878C88.5694 44.6534 88.0613 43.3913 87.0475 42.3668C86.0337 41.3143 84.7797 40.802 83.2578 40.802C81.7359 40.802 80.5119 41.3143 79.4981 42.3668C78.4843 43.389 77.9762 44.6534 77.9762 46.1878C77.9762 47.7223 78.4843 48.9844 79.4981 50.0392C80.5119 51.0614 81.7659 51.5737 83.2578 51.5737C84.7496 51.5737 86.0313 51.0614 87.0475 50.0392Z",fill:n,opacity:"0.6"}),f.jsx("path",{d:"M96.8023 41.1957C97.6683 39.3306 99.2202 38.3992 101.456 38.3992V41.1375C100.172 41.0769 99.0978 41.4076 98.1741 42.1597C97.2503 42.9118 96.8023 44.0853 96.8023 45.7386V53.709H94.2065V38.6693H96.8023V41.1957Z",fill:n,opacity:"0.6"}),f.jsx("path",{d:"M104.409 47.3918C104.917 50.0696 106.975 51.6343 109.809 51.6343C111.778 51.6343 113.21 50.9125 114.104 49.4385L116.312 50.7029C114.85 52.9592 112.672 54.1025 109.748 54.1025C107.391 54.1025 105.453 53.3504 103.961 51.8765C102.499 50.3723 101.753 48.4769 101.753 46.1903C101.753 43.9037 102.469 42.0386 103.931 40.5344C105.393 39.0302 107.273 38.2781 109.568 38.2781C111.746 38.2781 113.536 39.0604 114.91 40.6252C116.312 42.1597 116.998 44.0248 116.998 46.2206C116.998 46.6117 116.968 47.0029 116.908 47.3941H104.407L104.409 47.3918ZM104.409 45.1052H114.374C113.926 42.2482 111.956 40.7439 109.571 40.7439C106.797 40.7439 104.857 42.4577 104.409 45.1052Z",fill:n,opacity:"0.6"}),f.jsx("path",{d:"M22.1377 69.1726V70.4369C22.1377 73.1752 21.2116 75.4595 19.3341 77.2943C17.4542 79.0989 14.9786 80.0024 11.9048 80.0024C8.83102 80.0024 6.08748 78.9499 3.99749 76.8449C1.93983 74.7097 0.895996 72.1228 0.895996 69.0841C0.895996 66.0454 1.93983 63.4584 3.99749 61.3535C6.08517 59.2182 8.71093 58.1658 11.8448 58.1658C13.7846 58.1658 15.5444 58.6478 17.1563 59.5792C18.7683 60.5106 20.02 61.7144 20.886 63.2489L18.4981 64.6623C17.3041 62.3757 14.7084 60.8715 11.8147 60.8715C9.42684 60.8715 7.45925 61.6539 5.93737 63.2489C4.41549 64.8136 3.63954 66.7695 3.63954 69.0841C3.63954 71.3986 4.41549 73.3545 5.93737 74.9193C7.48927 76.484 9.48688 77.2664 11.9348 77.2664C16.1102 77.2664 18.796 74.9798 19.3641 71.7013H11.697V69.1749H22.14L22.1377 69.1726Z",fill:n,opacity:"0.6"}),f.jsx("path",{d:"M34.636 64.5691H37.2317V79.6088H34.636V77.4433C33.5921 79.1571 31.9802 80 29.8024 80C26.3107 80 24.0151 77.6226 24.0151 73.8039V64.5691H26.6109V73.6525C26.6109 76.0881 28.0127 77.5039 30.3105 77.5039C32.9062 77.5039 34.636 75.9089 34.636 72.5395V64.5691Z",fill:n,opacity:"0.6"}),f.jsx("path",{d:"M42.4209 67.0956C43.287 65.2305 44.8389 64.2991 47.0743 64.2991V67.0374C45.7903 66.9768 44.7165 67.3075 43.7927 68.0596C42.869 68.8117 42.4209 69.9852 42.4209 71.6385V79.6089H39.8252V64.5692H42.4209V67.0956Z",fill:n,opacity:"0.6"}),f.jsx("path",{d:"M59.3049 64.5691H61.9007V79.6088H59.3049V77.4433C58.2611 79.1571 56.6491 80 54.4714 80C50.9796 80 48.6841 77.6226 48.6841 73.8039V64.5691H51.2798V73.6525C51.2798 76.0881 52.6816 77.5039 54.9794 77.5039C57.5752 77.5039 59.3049 75.9089 59.3049 72.5395V64.5691Z",fill:n,opacity:"0.6"})]})})},lv=({children:e,...t})=>{const n=ut();return f.jsx(Nn,{sx:{maxWidth:{xs:400,lg:475},margin:{xs:2.5,md:3},"& > *":{flexGrow:1,flexBasis:"50%"}},content:!1,...t,border:!1,boxShadow:!0,shadow:n.customShadows.z1,children:f.jsx(Q.Box,{sx:{p:{xs:2,sm:3,md:4,xl:5}},children:e})})};lv.propTypes={children:c.node};const ks=({version:e,name:t,children:n,background:r=av})=>f.jsxs(Q.Box,{sx:{minHeight:"100vh"},children:[S.isValidElement(r)?r:S.createElement(r),f.jsxs(Q.Grid,{container:!0,direction:"column",justifyContent:"flex-end",sx:{minHeight:"100vh"},children:[f.jsx(Q.Grid,{item:!0,xs:12,sx:{ml:3,mt:3},children:f.jsx(uc,{title:t})}),f.jsxs(Q.Grid,{item:!0,xs:12,children:[f.jsx(Q.Grid,{item:!0,xs:12,container:!0,justifyContent:"center",alignItems:"center",sx:{minHeight:{xs:"calc(100vh - 210px)",sm:"calc(100vh - 134px)",md:"calc(100vh - 112px)"}},children:f.jsx(Q.Grid,{item:!0,children:f.jsx(lv,{children:n})})}),f.jsx(Q.Grid,{item:!0,sx:{pb:1},children:f.jsx(Tg,{name:t,version:e})})]})]})]});ks.propTypes={children:c.node,version:c.string,name:c.string,background:c.oneOfType([c.node,c.func,c.object])};const cv=({name:e,version:t,background:n})=>{const r=Qe.useTranslate(),i=Qe.useAuthProvider(),a=Qe.useNotify(),l=gt.useNavigate(),{token:u}=gt.useParams();return S.useEffect(()=>{if(typeof i.activate!="function")throw new Error("The authProvider used for the ActivatePage must define an activate() method");i.activate(u).then(()=>{a("ra.auth.activate_success",{type:"info"}),is.delay(()=>l("/login"),1e3)}).catch(d=>{a(d,{type:"error"}),is.delay(()=>l("/login"),1e3)})},[u]),f.jsx(ks,{name:e,version:t,background:n,children:f.jsxs(Q.Grid,{container:!0,spacing:3,children:[f.jsx(Q.Grid,{item:!0,xs:12,children:f.jsxs(Q.Stack,{direction:"row",justifyContent:"space-between",alignItems:"baseline",sx:{mb:{xs:-.5,sm:.5}},children:[f.jsx(Q.Typography,{variant:"h3",children:r("ra.auth.activate")}),f.jsx(Q.Typography,{component:gt.Link,to:"/login",variant:"body1",sx:{textDecoration:"none"},color:"primary",children:r("ra.auth.back_to_login")})]})}),f.jsx(Q.Grid,{item:!0,xs:12,children:r("ra.auth.activate_pending")})]})})};cv.propTypes={name:c.string.isRequired,version:c.string.isRequired,background:c.node};const Ac=({version:e,name:t,enablePasswordRecover:n,enableRegistration:r,redirectTo:i,background:a})=>{const[l,u]=Qe.useSafeSetState(!1),d=Qe.useLogin(),g=Qe.useTranslate(),p=Qe.useNotify(),E=Qe.useCheckAuth(),h=gt.useNavigate();S.useEffect(()=>{E({},!1).then(()=>{h("/")}).catch(()=>{})},[E,h]);const m=I=>{u(!0),d(I,i).then(()=>{u(!1)}).catch(B=>{u(!1),p(typeof B=="string"?B:typeof B>"u"||!B.message?"ra.auth.sign_in_error":B.message,{type:"error",messageArgs:{_:typeof B=="string"?B:B&&B.message?B.message:void 0}})})};return f.jsx(ks,{name:t,version:e,background:a,children:f.jsxs(Q.Grid,{container:!0,spacing:3,children:[f.jsx(Q.Grid,{item:!0,xs:12,children:f.jsxs(Q.Stack,{direction:"row",justifyContent:"space-between",alignItems:"baseline",sx:{mb:{xs:-.5,sm:.5}},children:[f.jsx(Q.Typography,{variant:"h3",children:"Login"}),r&&f.jsx(Q.Typography,{component:gt.Link,to:"/register",variant:"body1",sx:{textDecoration:"none"},color:"primary",children:g("ra.auth.register")})]})}),f.jsx(Q.Grid,{item:!0,xs:12,children:f.jsxs(Qe.Form,{onSubmit:m,children:[f.jsxs(Q.Grid,{container:!0,children:[f.jsx(Q.Grid,{item:!0,xs:12,sx:{mb:2},children:f.jsx(Vn,{autoFocus:!0,source:"username",label:g("ra.auth.username"),autoComplete:"username",validate:Qe.required(),placeholder:"user@company.name",fullWidth:!0})}),f.jsx(Q.Grid,{item:!0,xs:12,sx:{mb:2},children:f.jsx(Vn,{source:"password",label:g("ra.auth.password"),type:"password",autoComplete:"current-password",validate:Qe.required(),placeholder:g("ra.auth.password_placeholder"),fullWidth:!0})})]}),n&&f.jsx(Q.Grid,{item:!0,xs:12,sx:{mt:1},children:f.jsx(Q.Stack,{direction:"row",justifyContent:"flex-end",alignItems:"flex-end",spacing:2,children:f.jsx(Q.Link,{variant:"h6",component:gt.Link,to:"/recover",color:"text.primary",children:g("ra.auth.forgot_password")})})}),f.jsx(Q.Grid,{item:!0,xs:12,sx:{mt:1},children:f.jsx(Q.Button,{variant:"contained",type:"submit",color:"primary",disabled:l,fullWidth:!0,children:l?f.jsx(Q.CircularProgress,{size:19,thickness:3}):g("ra.auth.sign_in")})})]})})]})})};Ac.propTypes={version:c.string.isRequired,name:c.string.isRequired,enablePasswordRecover:c.bool,enableRegister:c.bool,background:c.element};Ac.defaultProps={enablePasswordRecover:!1,enableRegister:!1,background:f.jsx(av,{})};const uv=({name:e,version:t,background:n})=>{const[r,i]=S.useState(!1),a=Qe.useTranslate(),l=Qe.useRedirect(),u=Qe.useNotify(),d=Qe.useAuthProvider(),g=({email:p})=>{i(!0),d.recover(p).then(E=>{const h=`ra.auth.recover_${E.responseCode}`,m=E.responseCode==="ok"?"info":"error";u(h,{type:m}),l("/login")}).catch(E=>{u(E,{type:"error"})}).finally(()=>i(!1))};return f.jsx(ks,{name:e,version:t,background:n,children:f.jsxs(Q.Grid,{container:!0,spacing:3,children:[f.jsx(Q.Grid,{item:!0,xs:12,children:f.jsxs(Q.Stack,{direction:"row",justifyContent:"space-between",alignItems:"baseline",sx:{mb:{xs:-.5,sm:.5}},children:[f.jsx(Q.Typography,{variant:"h3",children:a("ra.auth.recover.title")}),f.jsx(Q.Typography,{component:gt.Link,to:"/login",variant:"body1",sx:{textDecoration:"none"},color:"primary",children:a("ra.auth.back_to_login")})]})}),f.jsx(Q.Grid,{item:!0,xs:12,children:f.jsxs(R.Form,{onSubmit:g,children:[f.jsx(Q.Grid,{container:!0,children:f.jsx(Q.Grid,{item:!0,xs:12,sx:{mb:1},children:f.jsx(Vn,{source:"email",validate:[Qe.required(),Qe.email()]})})}),f.jsx(Q.Grid,{item:!0,xs:12,sx:{mt:1,mb:1},children:f.jsx(Q.Typography,{variant:"caption",children:a("ra.auth.recover.inbox_help")})}),f.jsx(Q.Grid,{item:!0,xs:12,sx:{mt:1},children:f.jsx(Q.Button,{variant:"contained",type:"submit",color:"primary",disabled:r,fullWidth:!0,children:r?f.jsx(Q.CircularProgress,{size:19,thickness:3}):a("ra.auth.recover")})})]})})]})})};uv.propTypes={name:c.string.isRequired,version:c.string.isRequired,background:c.node};const Av=({name:e,version:t})=>{const[n,r]=S.useState(!1),i=Qe.useTranslate(),a=Qe.useRedirect(),l=Qe.useNotify(),u=Qe.useAuthProvider(),d=g=>{r(!0),u.register(g).then(p=>{const E=`ra.auth.register_${p.responseCode}`,h=p.responseCode==="ok"?"info":"error";l(E,{type:h}),a("/login")}).catch(p=>{console.log("error:",p),l(p,{type:"error"})}).finally(()=>r(!1))};return f.jsx(ks,{name:e,version:t,children:f.jsxs(Q.Grid,{container:!0,spacing:3,children:[f.jsx(Q.Grid,{item:!0,xs:12,children:f.jsxs(Q.Stack,{direction:"row",justifyContent:"space-between",alignItems:"baseline",sx:{mb:{xs:-.5,sm:.5}},children:[f.jsx(Q.Typography,{variant:"h3",children:i("ra.auth.register.title")}),f.jsx(Q.Typography,{component:gt.Link,to:"/login",variant:"body1",sx:{textDecoration:"none"},color:"primary",children:i("ra.auth.already_have_account")})]})}),f.jsx(Q.Grid,{item:!0,xs:12,children:f.jsxs(R.Form,{onSubmit:d,children:[f.jsxs(Q.Grid,{container:!0,children:[f.jsx(Q.Grid,{item:!0,xs:12,sx:{mb:1},children:f.jsx(Vn,{source:"name",label:i("ra.register.name"),validate:Qe.required()})}),f.jsx(Q.Grid,{item:!0,xs:12,sx:{mb:1},children:f.jsx(Vn,{source:"email",type:"email",validate:[Qe.required(),Qe.email()]})}),f.jsx(Q.Grid,{item:!0,xs:12,sx:{mb:1},children:f.jsx(Vn,{source:"password",type:"password",validate:Qe.required()})})]}),f.jsx(Q.Grid,{item:!0,xs:12,sx:{mt:1},children:f.jsx(Q.Button,{variant:"contained",type:"submit",color:"primary",disabled:n,fullWidth:!0,children:n?f.jsx(Q.CircularProgress,{size:19,thickness:3}):i("ra.auth.create_account")})})]})})]})})};Av.propTypes={name:c.string.isRequired,version:c.string.isRequired};const $V=e=>({button:e.palette.mode==="dark"?"0 2px 0 rgb(0 0 0 / 5%)":"0 2px #0000000b",text:"0 -1px 0 rgb(0 0 0 / 12%)",z1:e.palette.mode==="dark"?"0px 1px 1px rgb(0 0 0 / 14%), 0px 2px 1px rgb(0 0 0 / 12%), 0px 1px 3px rgb(0 0 0 / 20%)":`0px 1px 4px ${Ve(e.palette.grey[900],.08)}`,primary:`0 0 0 2px ${Ve(e.palette.primary.main,.2)}`,secondary:`0 0 0 2px ${Ve(e.palette.secondary.main,.2)}`,error:`0 0 0 2px ${Ve(e.palette.error.main,.2)}`,warning:`0 0 0 2px ${Ve(e.palette.warning.main,.2)}`,info:`0 0 0 2px ${Ve(e.palette.info.main,.2)}`,success:`0 0 0 2px ${Ve(e.palette.success.main,.2)}`,grey:`0 0 0 2px ${Ve(e.palette.grey[500],.2)}`,primaryButton:`0 14px 12px ${Ve(e.palette.primary.main,.2)}`,secondaryButton:`0 14px 12px ${Ve(e.palette.secondary.main,.2)}`,errorButton:`0 14px 12px ${Ve(e.palette.error.main,.2)}`,warningButton:`0 14px 12px ${Ve(e.palette.warning.main,.2)}`,infoButton:`0 14px 12px ${Ve(e.palette.info.main,.2)}`,successButton:`0 14px 12px ${Ve(e.palette.success.main,.2)}`,greyButton:`0 14px 12px ${Ve(e.palette.grey[500],.2)}`});function Hn(e,t){eH(e)&&(e="100%");var n=tH(e);return e=t===360?e:Math.min(t,Math.max(0,parseFloat(e))),n&&(e=parseInt(String(e*t),10)/100),Math.abs(e-t)<1e-6?1:(t===360?e=(e<0?e%t+t:e%t)/parseFloat(String(t)):e=e%t/parseFloat(String(t)),e)}function eH(e){return typeof e=="string"&&e.indexOf(".")!==-1&&parseFloat(e)===1}function tH(e){return typeof e=="string"&&e.indexOf("%")!==-1}function nH(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function Fa(e){return e<=1?"".concat(Number(e)*100,"%"):e}function tA(e){return e.length===1?"0"+e:String(e)}function rH(e,t,n){return{r:Hn(e,255)*255,g:Hn(t,255)*255,b:Hn(n,255)*255}}function nA(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*(6*n):n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function oH(e,t,n){var r,i,a;if(e=Hn(e,360),t=Hn(t,100),n=Hn(n,100),t===0)i=n,a=n,r=n;else{var l=n<.5?n*(1+t):n+t-n*t,u=2*n-l;r=nA(u,l,e+1/3),i=nA(u,l,e),a=nA(u,l,e-1/3)}return{r:r*255,g:i*255,b:a*255}}function iH(e,t,n){e=Hn(e,255),t=Hn(t,255),n=Hn(n,255);var r=Math.max(e,t,n),i=Math.min(e,t,n),a=0,l=r,u=r-i,d=r===0?0:u/r;if(r===i)a=0;else{switch(r){case e:a=(t-n)/u+(t<n?6:0);break;case t:a=(n-e)/u+2;break;case n:a=(e-t)/u+4;break}a/=6}return{h:a,s:d,v:l}}function sH(e,t,n){e=Hn(e,360)*6,t=Hn(t,100),n=Hn(n,100);var r=Math.floor(e),i=e-r,a=n*(1-t),l=n*(1-i*t),u=n*(1-(1-i)*t),d=r%6,g=[n,l,a,a,u,n][d],p=[u,n,n,l,a,a][d],E=[a,a,u,n,n,l][d];return{r:g*255,g:p*255,b:E*255}}function aH(e,t,n,r){var i=[tA(Math.round(e).toString(16)),tA(Math.round(t).toString(16)),tA(Math.round(n).toString(16))];return r&&i[0].startsWith(i[0].charAt(1))&&i[1].startsWith(i[1].charAt(1))&&i[2].startsWith(i[2].charAt(1))?i[0].charAt(0)+i[1].charAt(0)+i[2].charAt(0):i.join("")}function $E(e){return yn(e)/255}function yn(e){return parseInt(e,16)}var em={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function $i(e){var t={r:0,g:0,b:0},n=1,r=null,i=null,a=null,l=!1,u=!1;return typeof e=="string"&&(e=uH(e)),typeof e=="object"&&(Cr(e.r)&&Cr(e.g)&&Cr(e.b)?(t=rH(e.r,e.g,e.b),l=!0,u=String(e.r).substr(-1)==="%"?"prgb":"rgb"):Cr(e.h)&&Cr(e.s)&&Cr(e.v)?(r=Fa(e.s),i=Fa(e.v),t=sH(e.h,r,i),l=!0,u="hsv"):Cr(e.h)&&Cr(e.s)&&Cr(e.l)&&(r=Fa(e.s),a=Fa(e.l),t=oH(e.h,r,a),l=!0,u="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(n=e.a)),n=nH(n),{ok:l,format:e.format||u,r:Math.min(255,Math.max(t.r,0)),g:Math.min(255,Math.max(t.g,0)),b:Math.min(255,Math.max(t.b,0)),a:n}}var lH="[-\\+]?\\d+%?",cH="[-\\+]?\\d*\\.\\d+%?",Gr="(?:".concat(cH,")|(?:").concat(lH,")"),rA="[\\s|\\(]+(".concat(Gr,")[,|\\s]+(").concat(Gr,")[,|\\s]+(").concat(Gr,")\\s*\\)?"),oA="[\\s|\\(]+(".concat(Gr,")[,|\\s]+(").concat(Gr,")[,|\\s]+(").concat(Gr,")[,|\\s]+(").concat(Gr,")\\s*\\)?"),_n={CSS_UNIT:new RegExp(Gr),rgb:new RegExp("rgb"+rA),rgba:new RegExp("rgba"+oA),hsl:new RegExp("hsl"+rA),hsla:new RegExp("hsla"+oA),hsv:new RegExp("hsv"+rA),hsva:new RegExp("hsva"+oA),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function uH(e){if(e=e.trim().toLowerCase(),e.length===0)return!1;var t=!1;if(em[e])e=em[e],t=!0;else if(e==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var n=_n.rgb.exec(e);return n?{r:n[1],g:n[2],b:n[3]}:(n=_n.rgba.exec(e),n?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=_n.hsl.exec(e),n?{h:n[1],s:n[2],l:n[3]}:(n=_n.hsla.exec(e),n?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=_n.hsv.exec(e),n?{h:n[1],s:n[2],v:n[3]}:(n=_n.hsva.exec(e),n?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=_n.hex8.exec(e),n?{r:yn(n[1]),g:yn(n[2]),b:yn(n[3]),a:$E(n[4]),format:t?"name":"hex8"}:(n=_n.hex6.exec(e),n?{r:yn(n[1]),g:yn(n[2]),b:yn(n[3]),format:t?"name":"hex"}:(n=_n.hex4.exec(e),n?{r:yn(n[1]+n[1]),g:yn(n[2]+n[2]),b:yn(n[3]+n[3]),a:$E(n[4]+n[4]),format:t?"name":"hex8"}:(n=_n.hex3.exec(e),n?{r:yn(n[1]+n[1]),g:yn(n[2]+n[2]),b:yn(n[3]+n[3]),format:t?"name":"hex"}:!1)))))))))}function Cr(e){return!!_n.CSS_UNIT.exec(String(e))}var La=2,tm=.16,AH=.05,dH=.05,gH=.15,dv=5,gv=4,fH=[{index:7,opacity:.15},{index:6,opacity:.25},{index:5,opacity:.3},{index:5,opacity:.45},{index:5,opacity:.65},{index:5,opacity:.85},{index:4,opacity:.9},{index:3,opacity:.95},{index:2,opacity:.97},{index:1,opacity:.98}];function nm(e){var t=e.r,n=e.g,r=e.b,i=iH(t,n,r);return{h:i.h*360,s:i.s,v:i.v}}function Na(e){var t=e.r,n=e.g,r=e.b;return"#".concat(aH(t,n,r,!1))}function pH(e,t,n){var r=n/100,i={r:(t.r-e.r)*r+e.r,g:(t.g-e.g)*r+e.g,b:(t.b-e.b)*r+e.b};return i}function rm(e,t,n){var r;return Math.round(e.h)>=60&&Math.round(e.h)<=240?r=n?Math.round(e.h)-La*t:Math.round(e.h)+La*t:r=n?Math.round(e.h)+La*t:Math.round(e.h)-La*t,r<0?r+=360:r>=360&&(r-=360),r}function om(e,t,n){if(e.h===0&&e.s===0)return e.s;var r;return n?r=e.s-tm*t:t===gv?r=e.s+tm:r=e.s+AH*t,r>1&&(r=1),n&&t===dv&&r>.1&&(r=.1),r<.06&&(r=.06),Number(r.toFixed(2))}function im(e,t,n){var r;return n?r=e.v+dH*t:r=e.v-gH*t,r>1&&(r=1),Number(r.toFixed(2))}function sm(e){for(var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=[],r=$i(e),i=dv;i>0;i-=1){var a=nm(r),l=Na($i({h:rm(a,i,!0),s:om(a,i,!0),v:im(a,i,!0)}));n.push(l)}n.push(Na(r));for(var u=1;u<=gv;u+=1){var d=nm(r),g=Na($i({h:rm(d,u),s:om(d,u),v:im(d,u)}));n.push(g)}return t.theme==="dark"?fH.map(function(p){var E=p.index,h=p.opacity,m=Na(pH($i(t.backgroundColor||"#141414"),$i(n[E]),h*100));return m}):n}var iA={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1677FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"},zt={},Ka={};Object.keys(iA).forEach(function(e){zt[e]=sm(iA[e]),zt[e].primary=zt[e][5],Ka[e]=sm(iA[e],{theme:"dark",backgroundColor:"#141414"}),Ka[e].primary=Ka[e][5]});zt.red;zt.volcano;zt.gold;zt.orange;zt.yellow;zt.lime;zt.green;zt.cyan;zt.blue;zt.geekblue;zt.purple;zt.magenta;zt.grey;zt.grey;const fv=e=>{const{blue:t,red:n,gold:r,cyan:i,green:a,grey:l}=e,u={0:l[0],50:l[1],100:l[2],200:l[3],300:l[4],400:l[5],500:l[6],600:l[7],700:l[8],800:l[9],900:l[10],A50:l[15],A100:l[11],A200:l[12],A400:l[13],A700:l[14],A800:l[16]},d="#fff";return{primary:{lighter:t[0],100:t[1],200:t[2],light:t[3],400:t[4],main:t[5],dark:t[6],700:t[7],darker:t[8],900:t[9],contrastText:d},secondary:{lighter:u[100],100:u[100],200:u[200],light:u[300],400:u[400],main:u[500],600:u[600],dark:u[700],800:u[800],darker:u[900],A100:u[0],A200:u.A400,A300:u.A700,contrastText:u[0]},error:{lighter:n[0],light:n[2],main:n[4],dark:n[7],darker:n[9],contrastText:d},warning:{lighter:r[0],light:r[3],main:r[5],dark:r[7],darker:r[9],contrastText:u[100]},info:{lighter:i[0],light:i[3],main:i[5],dark:i[7],darker:i[9],contrastText:d},success:{lighter:a[0],light:a[3],main:a[5],dark:a[7],darker:a[9],contrastText:d},grey:u}};fv.propTypes={colors:c.object};const hH=(e,t)=>{const{grey:n}=e,r={0:n[0],50:n[1],100:n[2],200:n[3],300:n[4],400:n[5],500:n[6],600:n[7],700:n[8],800:n[9],900:n[10],A50:n[15],A100:n[11],A200:n[12],A400:n[13],A700:n[14],A800:n[16]},i="#fff";let a=["#D6E4FF","#D6E4FF","#ADC8FF","#84A9FF","#6690FF","#3366FF","#254EDB","#1939B7","#102693","#102693"],l=["#FFE7D3","#FF805D","#FF4528","#DB271D","#930C1A"],u=["#FFF6D0","#FFCF4E","#FFB814","#DB970E","#935B06"],d=["#DCF0FF","#7EB9FF","#549BFF","#3D78DB","#1A3D93"],g=["#EAFCD4","#8AE65B","#58D62A","#3DB81E","#137C0D"];return t==="dark"&&(a=["#1c2134","#1f294d","#243462","#273e83","#2c4db0","#305bdd","#567fe9","#80a4f4","#a9c5f8","#d2e2fb"],l=["#341d1b","#b03725","#dd3f27","#e9664d","#fbd6c9"],u=["#342a1a","#83631a","#dda116","#e9ba3a","#fbefb5"],d=["#202734","#416fb0","#4c88dd","#74a8e9","#ecf4fb"],g=["#1f2e1c","#449626","#4fba28","#74cf4d","#e3fbd2"]),{primary:{lighter:a[0],100:a[1],200:a[2],light:a[3],400:a[4],main:a[5],dark:a[6],700:a[7],darker:a[8],900:a[9],contrastText:i},secondary:{lighter:r[100],100:r[100],200:r[200],light:r[300],400:r[400],main:r[500],600:r[600],dark:r[700],800:r[800],darker:r[900],A100:r[0],A200:r.A400,A300:r.A700,contrastText:r[0]},error:{lighter:l[0],light:l[1],main:l[2],dark:l[3],darker:l[4],contrastText:i},warning:{lighter:u[0],light:u[1],main:u[2],dark:u[3],darker:u[4],contrastText:r[100]},info:{lighter:d[0],light:d[1],main:d[2],dark:d[3],darker:d[4],contrastText:i},success:{lighter:g[0],light:g[1],main:g[2],dark:g[3],darker:g[4],contrastText:i},grey:r}},CH=(e,t)=>{const{grey:n}=e,r={0:n[0],50:n[1],100:n[2],200:n[3],300:n[4],400:n[5],500:n[6],600:n[7],700:n[8],800:n[9],900:n[10],A50:n[15],A100:n[11],A200:n[12],A400:n[13],A700:n[14],A800:n[16]},i="#fff";let a=["#EEEDFC","#D5D1F8","#B9B2F3","#9C93EE","#877CEA","#7265E6","#6A5DE3","#5F53DF","#5549DB","#4237D5"],l=["#FDE8E7","#F25E52","#F04134","#EE3B2F","#E92A21"],u=["#FFF7E0","#FFC926","#FFBF00","#FFB900","#FFA900"],d=["#E0F4F5","#26B0BA","#00A2AE","#009AA7","#008694"],g=["#E0F5EA","#26B56E","#00A854","#00A04D","#008D3A"];return t==="dark"&&(a=["#222130","#2b2946","#37335a","#443e78","#554ca0","#655ac8","#9186dd","#5F53DF","#c3baf4","#efecfb"],l=["#321d1d","#7d2e28","#d13c31","#e66859","#f8baaf"],u=["#342c1a","#836611","#dda705","#e9bf28","#f8e577"],d=["#1a2628","#11595f","#058e98","#1ea6aa","#64cfcb"],g=["#1a2721","#115c36","#05934c","#1da65d","#61ca8b"]),{primary:{lighter:a[0],100:a[1],200:a[2],light:a[3],400:a[4],main:a[5],dark:a[6],700:a[7],darker:a[8],900:a[9],contrastText:i},secondary:{lighter:r[100],100:r[100],200:r[200],light:r[300],400:r[400],main:r[500],600:r[600],dark:r[700],800:r[800],darker:r[900],A100:r[0],A200:r.A400,A300:r.A700,contrastText:r[0]},error:{lighter:l[0],light:l[1],main:l[2],dark:l[3],darker:l[4],contrastText:i},warning:{lighter:u[0],light:u[1],main:u[2],dark:u[3],darker:u[4],contrastText:r[100]},info:{lighter:d[0],light:d[1],main:d[2],dark:d[3],darker:d[4],contrastText:i},success:{lighter:g[0],light:g[1],main:g[2],dark:g[3],darker:g[4],contrastText:i},grey:r}},EH=(e,t)=>{const{grey:n}=e,r={0:n[0],50:n[1],100:n[2],200:n[3],300:n[4],400:n[5],500:n[6],600:n[7],700:n[8],800:n[9],900:n[10],A50:n[15],A100:n[11],A200:n[12],A400:n[13],A700:n[14],A800:n[16]},i="#fff";let a=["#E6F3EC","#84c297","#5eb57d","#3da866","#1f9c53","#068e44","#006933","#004222","#001c0f","#000000"],l=["#FDE8E7","#F25E52","#F04134","#EE3B2F","#E92A21"],u=["#FFF7E0","#FFC926","#FFBF00","#FFB900","#FFA900"],d=["#E0F4F5","#26B0BA","#00A2AE","#009AA7","#008694"],g=["#E0F5EA","#26B56E","#00A854","#00A04D","#008D3A"];return t==="dark"&&(a=["#1a231f","#173123","#174029","#13502f","#0e6737","#0a7d3e","#1f8f4e","#3ba162","#5cb07a","#82bf95"],l=["#321d1d","#7d2e28","#d13c31","#e66859","#f8baaf"],u=["#342c1a","#836611","#dda705","#e9bf28","#f8e577"],d=["#1a2628","#11595f","#058e98","#1ea6aa","#64cfcb"],g=["#1a2721","#115c36","#05934c","#1da65d","#61ca8b"]),{primary:{lighter:a[0],100:a[1],200:a[2],light:a[3],400:a[4],main:a[5],dark:a[6],700:a[7],darker:a[8],900:a[9],contrastText:i},secondary:{lighter:r[100],100:r[100],200:r[200],light:r[300],400:r[400],main:r[500],600:r[600],dark:r[700],800:r[800],darker:r[900],A100:r[0],A200:r.A400,A300:r.A700,contrastText:r[0]},error:{lighter:l[0],light:l[1],main:l[2],dark:l[3],darker:l[4],contrastText:i},warning:{lighter:u[0],light:u[1],main:u[2],dark:u[3],darker:u[4],contrastText:r[100]},info:{lighter:d[0],light:d[1],main:d[2],dark:d[3],darker:d[4],contrastText:i},success:{lighter:g[0],light:g[1],main:g[2],dark:g[3],darker:g[4],contrastText:i},grey:r}},mH=(e,t)=>{const{grey:n}=e,r={0:n[0],50:n[1],100:n[2],200:n[3],300:n[4],400:n[5],500:n[6],600:n[7],700:n[8],800:n[9],900:n[10],A50:n[15],A100:n[11],A200:n[12],A400:n[13],A700:n[14],A800:n[16]},i="#fff";let a=["#f0f6ff","#edf4ff","#bed3f7","#8faeeb","#6488de","#3c64d0","#2947ab","#192f85","#0d1b5e","#070e38"],l=["#FDE8E7","#F25E52","#F04134","#EE3B2F","#E92A21"],u=["#FFF7E0","#FFC926","#FFBF00","#FFB900","#FFA900"],d=["#E0F4F5","#26B0BA","#00A2AE","#009AA7","#008694"],g=["#E0F5EA","#26B56E","#00A854","#00A04D","#008D3A"];return t==="dark"&&(a=["#1d212d","#212841","#273353","#2c3e6e","#324c92","#385ab5","#5d7dcb","#89a7e1","#b9cef0","#e9f0fb"],l=["#321d1d","#7d2e28","#d13c31","#e66859","#f8baaf"],u=["#342c1a","#836611","#dda705","#e9bf28","#f8e577"],d=["#1a2628","#11595f","#058e98","#1ea6aa","#64cfcb"],g=["#1a2721","#115c36","#05934c","#1da65d","#61ca8b"]),{primary:{lighter:a[0],100:a[1],200:a[2],light:a[3],400:a[4],main:a[5],dark:a[6],700:a[7],darker:a[8],900:a[9],contrastText:i},secondary:{lighter:r[100],100:r[100],200:r[200],light:r[300],400:r[400],main:r[500],600:r[600],dark:r[700],800:r[800],darker:r[900],A100:r[0],A200:r.A400,A300:r.A700,contrastText:r[0]},error:{lighter:l[0],light:l[1],main:l[2],dark:l[3],darker:l[4],contrastText:i},warning:{lighter:u[0],light:u[1],main:u[2],dark:u[3],darker:u[4],contrastText:r[100]},info:{lighter:d[0],light:d[1],main:d[2],dark:d[3],darker:d[4],contrastText:i},success:{lighter:g[0],light:g[1],main:g[2],dark:g[3],darker:g[4],contrastText:i},grey:r}},IH=(e,t)=>{const{grey:n}=e,r={0:n[0],50:n[1],100:n[2],200:n[3],300:n[4],400:n[5],500:n[6],600:n[7],700:n[8],800:n[9],900:n[10],A50:n[15],A100:n[11],A200:n[12],A400:n[13],A700:n[14],A800:n[16]},i="#fff";let a=["#fff4e6","#ffdfb8","#ffc98f","#ffb066","#ff943d","#f27013","#cc5206","#a63a00","#802800","#591900"],l=["#FDE8E7","#F25E52","#F04134","#EE3B2F","#E92A21"],u=["#FFF7E0","#FFC926","#FFBF00","#FFB900","#FFA900"],d=["#E0F4F5","#26B0BA","#00A2AE","#009AA7","#008694"],g=["#E0F5EA","#26B56E","#00A854","#00A04D","#008D3A"];return t==="dark"&&(a=["#32221a","#4a2b18","#5e371b","#7d4319","#a85317","#d26415","#e9883a","#f4a962","#f8c48c","#fbdbb5"],l=["#321d1d","#7d2e28","#d13c31","#e66859","#f8baaf"],u=["#342c1a","#836611","#dda705","#e9bf28","#f8e577"],d=["#1a2628","#11595f","#058e98","#1ea6aa","#64cfcb"],g=["#1a2721","#115c36","#05934c","#1da65d","#61ca8b"]),{primary:{lighter:a[0],100:a[1],200:a[2],light:a[3],400:a[4],main:a[5],dark:a[6],700:a[7],darker:a[8],900:a[9],contrastText:i},secondary:{lighter:r[100],100:r[100],200:r[200],light:r[300],400:r[400],main:r[500],600:r[600],dark:r[700],800:r[800],darker:r[900],A100:r[0],A200:r.A400,A300:r.A700,contrastText:r[0]},error:{lighter:l[0],light:l[1],main:l[2],dark:l[3],darker:l[4],contrastText:i},warning:{lighter:u[0],light:u[1],main:u[2],dark:u[3],darker:u[4],contrastText:r[100]},info:{lighter:d[0],light:d[1],main:d[2],dark:d[3],darker:d[4],contrastText:i},success:{lighter:g[0],light:g[1],main:g[2],dark:g[3],darker:g[4],contrastText:i},grey:r}},BH=(e,t)=>{const{grey:n}=e,r={0:n[0],50:n[1],100:n[2],200:n[3],300:n[4],400:n[5],500:n[6],600:n[7],700:n[8],800:n[9],900:n[10],A50:n[15],A100:n[11],A200:n[12],A400:n[13],A700:n[14],A800:n[16]},i="#fff";let a=["#e1f0ef","#c8e3e2","#9ad6d6","#71c6c9","#4bb5bd","#2aa1af","#1a7b8a","#0e5563","#06323d","#021217"],l=["#FDE8E7","#F25E52","#F04134","#EE3B2F","#E92A21"],u=["#FFF7E0","#FFC926","#FFBF00","#FFB900","#FFA900"],d=["#E0F4F5","#26B0BA","#00A2AE","#009AA7","#008694"],g=["#E0F5EA","#26B56E","#00A854","#00A04D","#008D3A"];return t==="dark"&&(a=["#1c2628","#1d3539","#22454a","#23595f","#26737c","#288d99","#47a6ad","#6dbec0","#96d0d0","#c5dfde"],l=["#321d1d","#7d2e28","#d13c31","#e66859","#f8baaf"],u=["#342c1a","#836611","#dda705","#e9bf28","#f8e577"],d=["#1a2628","#11595f","#058e98","#1ea6aa","#64cfcb"],g=["#1a2721","#115c36","#05934c","#1da65d","#61ca8b"]),{primary:{lighter:a[0],100:a[1],200:a[2],light:a[3],400:a[4],main:a[5],dark:a[6],700:a[7],darker:a[8],900:a[9],contrastText:i},secondary:{lighter:r[100],100:r[100],200:r[200],light:r[300],400:r[400],main:r[500],600:r[600],dark:r[700],800:r[800],darker:r[900],A100:r[0],A200:r.A400,A300:r.A700,contrastText:r[0]},error:{lighter:l[0],light:l[1],main:l[2],dark:l[3],darker:l[4],contrastText:i},warning:{lighter:u[0],light:u[1],main:u[2],dark:u[3],darker:u[4],contrastText:r[100]},info:{lighter:d[0],light:d[1],main:d[2],dark:d[3],darker:d[4],contrastText:i},success:{lighter:g[0],light:g[1],main:g[2],dark:g[3],darker:g[4],contrastText:i},grey:r}},yH=(e,t)=>{const{grey:n}=e,r={0:n[0],50:n[1],100:n[2],200:n[3],300:n[4],400:n[5],500:n[6],600:n[7],700:n[8],800:n[9],900:n[10],A50:n[15],A100:n[11],A200:n[12],A400:n[13],A700:n[14],A800:n[16]},i="#fff";let a=["#d1e8d99c","#8cdba9","#63cf8e","#3ec277","#1db564","#00a854","#008245","#005c34","#003620","#000f0a"],l=["#FDE8E7","#F25E52","#F04134","#EE3B2F","#E92A21"],u=["#FFF7E0","#FFC926","#FFBF00","#FFB900","#FFA900"],d=["#E0F4F5","#26B0BA","#00A2AE","#009AA7","#008694"],g=["#E0F5EA","#26B56E","#00A854","#00A04D","#008D3A"];return t==="dark"&&(a=["#1a2721","#173728","#15472e","#115c36","#0b7841","#05934c","#1da65d","#3cba73","#61ca8b","#8ad7a6"],l=["#321d1d","#7d2e28","#d13c31","#e66859","#f8baaf"],u=["#342c1a","#836611","#dda705","#e9bf28","#f8e577"],d=["#1a2628","#11595f","#058e98","#1ea6aa","#64cfcb"],g=["#1a2721","#115c36","#05934c","#1da65d","#61ca8b"]),{primary:{lighter:a[0],100:a[1],200:a[2],light:a[3],400:a[4],main:a[5],dark:a[6],700:a[7],darker:a[8],900:a[9],contrastText:i},secondary:{lighter:r[100],100:r[100],200:r[200],light:r[300],400:r[400],main:r[500],600:r[600],dark:r[700],800:r[800],darker:r[900],A100:r[0],A200:r.A400,A300:r.A700,contrastText:r[0]},error:{lighter:l[0],light:l[1],main:l[2],dark:l[3],darker:l[4],contrastText:i},warning:{lighter:u[0],light:u[1],main:u[2],dark:u[3],darker:u[4],contrastText:r[100]},info:{lighter:d[0],light:d[1],main:d[2],dark:d[3],darker:d[4],contrastText:i},success:{lighter:g[0],light:g[1],main:g[2],dark:g[3],darker:g[4],contrastText:i},grey:r}},vH=(e,t)=>{const{grey:n}=e,r={0:n[0],50:n[1],100:n[2],200:n[3],300:n[4],400:n[5],500:n[6],600:n[7],700:n[8],800:n[9],900:n[10],A50:n[15],A100:n[11],A200:n[12],A400:n[13],A700:n[14],A800:n[16]},i="#fff";let a=["#c1d6d066","#81c9b9","#5bbda9","#38b09c","#1aa391","#009688","#007069","#004a47","#002424","#000000"],l=["#FDE8E7","#F25E52","#F04134","#EE3B2F","#E92A21"],u=["#FFF7E0","#FFC926","#FFBF00","#FFB900","#FFA900"],d=["#E0F4F5","#26B0BA","#00A2AE","#009AA7","#008694"],g=["#E0F5EA","#26B56E","#00A854","#00A04D","#008D3A"];return t==="dark"&&(a=["#1a2524","#173331","#15423e","#11544e","#0b6c63","#058478","#1a9686","#37a996","#59b8a5","#7fc6b6"],l=["#321d1d","#7d2e28","#d13c31","#e66859","#f8baaf"],u=["#342c1a","#836611","#dda705","#e9bf28","#f8e577"],d=["#1a2628","#11595f","#058e98","#1ea6aa","#64cfcb"],g=["#1a2721","#115c36","#05934c","#1da65d","#61ca8b"]),{primary:{lighter:a[0],100:a[1],200:a[2],light:a[3],400:a[4],main:a[5],dark:a[6],700:a[7],darker:a[8],900:a[9],contrastText:i},secondary:{lighter:r[100],100:r[100],200:r[200],light:r[300],400:r[400],main:r[500],600:r[600],dark:r[700],800:r[800],darker:r[900],A100:r[0],A200:r.A400,A300:r.A700,contrastText:r[0]},error:{lighter:l[0],light:l[1],main:l[2],dark:l[3],darker:l[4],contrastText:i},warning:{lighter:u[0],light:u[1],main:u[2],dark:u[3],darker:u[4],contrastText:r[100]},info:{lighter:d[0],light:d[1],main:d[2],dark:d[3],darker:d[4],contrastText:i},success:{lighter:g[0],light:g[1],main:g[2],dark:g[3],darker:g[4],contrastText:i},grey:r}},pv=(e,t,n)=>{switch(t){case"theme1":return hH(e,n);case"theme2":return CH(e,n);case"theme3":return EH(e,n);case"theme4":return mH(e,n);case"theme5":return IH(e,n);case"theme6":return BH(e,n);case"theme7":return yH(e,n);case"theme8":return vH(e,n);default:return fv(e)}};pv.propTypes={colors:c.object,presetColor:c.any};const bH=(e,t)=>{const n=e==="dark"?Ka:zt;let r=["#ffffff","#fafafa","#f5f5f5","#f0f0f0","#d9d9d9","#bfbfbf","#8c8c8c","#595959","#262626","#141414","#000000"],i=["#fafafa","#bfbfbf","#434343","#1f1f1f"],a=["#fafafb","#e6ebf1"];e==="dark"&&(r=["#000000","#141414","#1e1e1e","#595959","#8c8c8c","#bfbfbf","#d9d9d9","#f0f0f0","#f5f5f5","#fafafa","#ffffff"],i=["#fafafa","#bfbfbf","#434343","#1f1f1f"],a=["#121212","#d3d8db"]),n.grey=[...r,...i,...a];const l=pv(n,t,e);return nd({palette:{mode:e,common:{black:"#000",white:"#fff"},...l,text:{primary:e==="dark"?Ve(l.grey[900],.87):l.grey[700],secondary:e==="dark"?Ve(l.grey[900],.45):l.grey[500],disabled:e==="dark"?Ve(l.grey[900],.1):l.grey[400]},action:{disabled:l.grey[300]},divider:e==="dark"?Ve(l.grey[900],.05):l.grey[200],background:{paper:e==="dark"?l.grey[100]:l.grey[0],default:l.grey.A50}}})},QH=e=>({htmlFontSize:16,fontFamily:e,fontWeightLight:300,fontWeightRegular:400,fontWeightMedium:500,fontWeightBold:600,h1:{fontWeight:600,fontSize:"2.375rem",lineHeight:1.21},h2:{fontWeight:600,fontSize:"1.875rem",lineHeight:1.27},h3:{fontWeight:600,fontSize:"1.5rem",lineHeight:1.33},h4:{fontWeight:600,fontSize:"1.25rem",lineHeight:1.4},h5:{fontWeight:600,fontSize:"1rem",lineHeight:1.5},h6:{fontWeight:400,fontSize:"0.875rem",lineHeight:1.57},caption:{fontWeight:400,fontSize:"0.75rem",lineHeight:1.66},body1:{fontSize:"0.875rem",lineHeight:1.57},body2:{fontSize:"0.75rem",lineHeight:1.66},subtitle1:{fontSize:"0.875rem",fontWeight:600,lineHeight:1.57},subtitle2:{fontSize:"0.75rem",fontWeight:500,lineHeight:1.66},overline:{lineHeight:1.66},button:{textTransform:"capitalize"}});function xH(e){return{MuiAccordion:{defaultProps:{disableGutters:!0,square:!0,elevation:0},styleOverrides:{root:{border:`1px solid ${e.palette.secondary.light}`,"&:not(:last-child)":{borderBottom:0},"&:before":{display:"none"},"&.Mui-disabled":{backgroundColor:e.palette.secondary.lighter}}}}}}function wH(e){return{MuiAccordionDetails:{styleOverrides:{root:{padding:e.spacing(2),borderTop:`1px solid ${e.palette.secondary.light}`}}}}}function TH(e){const{palette:t,spacing:n}=e;return{MuiAccordionSummary:{defaultProps:{expandIcon:f.jsx(ct.RightOutlined,{style:{fontSize:"0.75rem"}})},styleOverrides:{root:{backgroundColor:t.secondary.lighter,flexDirection:"row-reverse",minHeight:46},expandIconWrapper:{"&.Mui-expanded":{transform:"rotate(90deg)"}},content:{marginTop:n(1.25),marginBottom:n(1.25),marginLeft:n(1)}}}}}function Eo({color:e,theme:t}){const n=$t(t,e),{lighter:r,light:i,main:a}=n;return{borderColor:Ve(i,.5),backgroundColor:r,"& .MuiAlert-icon":{color:a}}}function PH(e){const t=Eo({color:"primary",theme:e});return{MuiAlert:{styleOverrides:{root:{color:e.palette.text.primary,fontSize:"0.875rem"},icon:{fontSize:"1rem"},message:{padding:0,marginTop:3},filled:{color:e.palette.grey[0]},border:{padding:"10px 16px",border:"1px solid",...t,"&.MuiAlert-borderPrimary":Eo({color:"primary",theme:e}),"&.MuiAlert-borderSecondary":Eo({color:"secondary",theme:e}),"&.MuiAlert-borderError":Eo({color:"error",theme:e}),"&.MuiAlert-borderSuccess":Eo({color:"success",theme:e}),"&.MuiAlert-borderInfo":Eo({color:"info",theme:e}),"&.MuiAlert-borderWarning":Eo({color:"warning",theme:e})},action:{"& .MuiButton-root":{padding:2,height:"auto",fontSize:"0.75rem",marginTop:-2},"& .MuiIconButton-root":{width:"auto",height:"auto",padding:2,marginRight:6,"& .MuiSvgIcon-root":{fontSize:"1rem"}}}}}}}function SH(){return{MuiAlertTitle:{styleOverrides:{root:{marginBottom:4,marginTop:0,fontWeight:400}}}}}function RH(e){var t;return{MuiAutocomplete:{styleOverrides:{root:{"& .MuiOutlinedInput-root":{padding:"3px 9px"}},popupIndicator:{width:"auto",height:"auto"},popper:{border:`1px solid ${e.palette.mode==="dark"?(t=e.palette.dark)==null?void 0:t.main:e.palette.grey[100]}`},clearIndicator:{width:"auto",height:"auto"}}}}}function mo({color:e,theme:t}){const n=$t(t,e),{lighter:r,main:i}=n;return{color:i,backgroundColor:r}}function OH(e){const t=mo({color:"primary",theme:e});return{MuiBadge:{styleOverrides:{standard:{minWidth:e.spacing(2),height:e.spacing(2),padding:e.spacing(.5)},light:{...t,"&.MuiBadge-colorPrimary":mo({color:"primary",theme:e}),"&.MuiBadge-colorSecondary":mo({color:"secondary",theme:e}),"&.MuiBadge-colorError":mo({color:"error",theme:e}),"&.MuiBadge-colorInfo":mo({color:"info",theme:e}),"&.MuiBadge-colorSuccess":mo({color:"success",theme:e}),"&.MuiBadge-colorWarning":mo({color:"warning",theme:e})}}}}}function Je({variant:e,color:t,theme:n}){const r=$t(n,t),{lighter:i,main:a,dark:l,contrastText:u}=r,d=`${t}Button`,g=wi(n,d),p={"&::after":{boxShadow:`0 0 5px 5px ${Ve(a,.9)}`},"&:active::after":{boxShadow:`0 0 0 0 ${Ve(a,.9)}`},"&:focus-visible":{outline:`2px solid ${l}`,outlineOffset:2}};switch(e){case"contained":return{"&:hover":{backgroundColor:l},...p};case"shadow":return{color:u,backgroundColor:a,boxShadow:g,"&:hover":{boxShadow:"none",backgroundColor:l},...p};case"outlined":return{borderColor:a,"&:hover":{color:l,backgroundColor:"transparent",borderColor:l},...p};case"dashed":return{color:a,borderColor:a,backgroundColor:i,"&:hover":{color:l,borderColor:l},...p};case"text":default:return{"&:hover":{color:l,backgroundColor:i},...p}}}function DH(e){const t=Je({variant:"dashed",color:"primary",theme:e}),n=Je({variant:"shadow",color:"primary",theme:e}),r={"&.Mui-disabled":{backgroundColor:e.palette.grey[200]}},i={"&>*:nth-of-type(1)":{fontSize:"inherit"}};return{MuiButton:{defaultProps:{disableElevation:!0},styleOverrides:{root:{fontWeight:400,"&::after":{content:'""',display:"block",position:"absolute",left:0,top:0,width:"100%",height:"100%",borderRadius:4,opacity:0,transition:"all 0.5s"},"&:active::after":{position:"absolute",borderRadius:4,left:0,top:0,opacity:1,transition:"0s"}},contained:{...r},outlined:{...r},text:{boxShadow:"none","&:hover":{boxShadow:"none"}},endIcon:{...i},startIcon:{...i},dashed:{border:"1px dashed",...t,"&.MuiButton-dashedPrimary":Je({variant:"dashed",color:"primary",theme:e}),"&.MuiButton-dashedSecondary":Je({variant:"dashed",color:"secondary",theme:e}),"&.MuiButton-dashedError":Je({variant:"dashed",color:"error",theme:e}),"&.MuiButton-dashedSuccess":Je({variant:"dashed",color:"success",theme:e}),"&.MuiButton-dashedInfo":Je({variant:"dashed",color:"info",theme:e}),"&.MuiButton-dashedWarning":Je({variant:"dashed",color:"warning",theme:e}),"&.Mui-disabled":{color:`${e.palette.grey[300]} !important`,borderColor:`${e.palette.grey[400]} !important`,backgroundColor:`${e.palette.grey[200]} !important`}},shadow:{...n,"&.MuiButton-shadowPrimary":Je({variant:"shadow",color:"primary",theme:e}),"&.MuiButton-shadowSecondary":Je({variant:"shadow",color:"secondary",theme:e}),"&.MuiButton-shadowError":Je({variant:"shadow",color:"error",theme:e}),"&.MuiButton-shadowSuccess":Je({variant:"shadow",color:"success",theme:e}),"&.MuiButton-shadowInfo":Je({variant:"shadow",color:"info",theme:e}),"&.MuiButton-shadowWarning":Je({variant:"shadow",color:"warning",theme:e}),"&.Mui-disabled":{color:`${e.palette.grey[300]} !important`,borderColor:`${e.palette.grey[400]} !important`,backgroundColor:`${e.palette.grey[200]} !important`}},containedPrimary:Je({variant:"contained",color:"primary",theme:e}),containedSecondary:Je({variant:"contained",color:"secondary",theme:e}),containedError:Je({variant:"contained",color:"error",theme:e}),containedSuccess:Je({variant:"contained",color:"success",theme:e}),containedInfo:Je({variant:"contained",color:"info",theme:e}),containedWarning:Je({variant:"contained",color:"warning",theme:e}),outlinedPrimary:Je({variant:"outlined",color:"primary",theme:e}),outlinedSecondary:Je({variant:"outlined",color:"secondary",theme:e}),outlinedError:Je({variant:"outlined",color:"error",theme:e}),outlinedSuccess:Je({variant:"outlined",color:"success",theme:e}),outlinedInfo:Je({variant:"outlined",color:"info",theme:e}),outlinedWarning:Je({variant:"outlined",color:"warning",theme:e}),textPrimary:Je({variant:"text",color:"primary",theme:e}),textSecondary:Je({variant:"text",color:"secondary",theme:e}),textError:Je({variant:"text",color:"error",theme:e}),textSuccess:Je({variant:"text",color:"success",theme:e}),textInfo:Je({variant:"text",color:"info",theme:e}),textWarning:Je({variant:"text",color:"warning",theme:e}),sizeExtraSmall:{minWidth:56,fontSize:"0.625rem",padding:"2px 8px"}}}}}function MH(){return{MuiButtonBase:{defaultProps:{disableRipple:!0,size:"medium"}}}}function jH(){return{MuiButtonGroup:{defaultProps:{disableRipple:!0}}}}function kH(){return{MuiCardContent:{styleOverrides:{root:{padding:20,"&:last-child":{paddingBottom:20}}}}}}function ei({color:e,theme:t}){const n=$t(t,e),{lighter:r,main:i,dark:a}=n;return{"&:hover":{backgroundColor:r,"& .icon":{borderColor:i}},"&.Mui-focusVisible":{outline:`2px solid ${a}`,outlineOffset:-4}}}function FH(e){switch(e){case"small":return{size:16,fontSize:1,position:1};case"large":return{size:24,fontSize:1.6,position:2};case"medium":default:return{size:20,fontSize:1.35,position:2}}}function sA(e){const t=FH(e);return{"& .icon":{width:t.size,height:t.size,"& .filled":{fontSize:`${t.fontSize}rem`,top:-t.position,left:-t.position}}}}function LH(e){const{palette:t}=e;return{MuiCheckbox:{defaultProps:{className:"size-small",icon:f.jsx(Q.Box,{className:"icon",sx:{width:16,height:16,border:"1px solid",borderColor:"inherit",borderRadius:.25}}),checkedIcon:f.jsx(Q.Box,{className:"icon",sx:{width:16,height:16,border:"1px solid",borderColor:"inherit",borderRadius:.25,position:"relative"},children:f.jsx(ct.CheckSquareFilled,{className:"filled",style:{position:"absolute"}})}),indeterminateIcon:f.jsx(Q.Box,{className:"icon",sx:{width:16,height:16,border:"1px solid",borderColor:"inherit",borderRadius:.25,position:"relative"},children:f.jsx(ct.MinusSquareFilled,{className:"filled",style:{position:"absolute"}})})},styleOverrides:{root:{borderRadius:0,color:t.secondary[300],"&.size-small":{...sA("small")},"&.size-medium":{...sA("medium")},"&.size-large":{...sA("large")}},colorPrimary:ei({color:"primary",theme:e}),colorSecondary:ei({color:"secondary",theme:e}),colorSuccess:ei({color:"success",theme:e}),colorWarning:ei({color:"warning",theme:e}),colorInfo:ei({color:"info",theme:e}),colorError:ei({color:"error",theme:e})}}}}function ti({color:e,theme:t}){const n=$t(t,e),{dark:r}=n;return{"&.Mui-focusVisible":{outline:`2px solid ${r}`,outlineOffset:2}}}function Bn({color:e,theme:t}){const n=$t(t,e),{light:r,lighter:i,main:a}=n;return{color:a,backgroundColor:i,borderColor:r,"& .MuiChip-deleteIcon":{color:a,"&:hover":{color:r}}}}function NH(e){const t=Bn({color:"secondary",theme:e});return{MuiChip:{styleOverrides:{root:{borderRadius:4,"&:active":{boxShadow:"none"},"&.MuiChip-colorPrimary":ti({color:"primary",theme:e}),"&.MuiChip-colorSecondary":ti({color:"secondary",theme:e}),"&.MuiChip-colorError":ti({color:"error",theme:e}),"&.MuiChip-colorInfo":ti({color:"info",theme:e}),"&.MuiChip-colorSuccess":ti({color:"success",theme:e}),"&.MuiChip-colorWarning":ti({color:"warning",theme:e})},sizeLarge:{fontSize:"1rem",height:40},light:{...t,"&.MuiChip-lightPrimary":Bn({color:"primary",theme:e}),"&.MuiChip-lightSecondary":Bn({color:"secondary",theme:e}),"&.MuiChip-lightError":Bn({color:"error",theme:e}),"&.MuiChip-lightInfo":Bn({color:"info",theme:e}),"&.MuiChip-lightSuccess":Bn({color:"success",theme:e}),"&.MuiChip-lightWarning":Bn({color:"warning",theme:e})},combined:{border:"1px solid",...t,"&.MuiChip-combinedPrimary":Bn({color:"primary",theme:e}),"&.MuiChip-combinedSecondary":Bn({color:"secondary",theme:e}),"&.MuiChip-combinedError":Bn({color:"error",theme:e}),"&.MuiChip-combinedInfo":Bn({color:"info",theme:e}),"&.MuiChip-combinedSuccess":Bn({color:"success",theme:e}),"&.MuiChip-combinedWarning":Bn({color:"warning",theme:e})}}}}}function VH(){return{MuiDialog:{styleOverrides:{root:{"& .MuiBackdrop-root":{backgroundColor:Ve("#000",.7)}}}}}}function HH(e){return{MuiDialogContentText:{styleOverrides:{root:{fontSize:"0.875rem",color:e.palette.text.primary}}}}}function zH(){return{MuiDialogTitle:{styleOverrides:{root:{fontSize:"1rem",fontWeight:500}}}}}function ni({color:e,theme:t}){const n=$t(t,e),{main:r,dark:i,contrastText:a}=n,l=`${e}Button`,u=wi(t,l);return{color:a,backgroundColor:r,boxShadow:u,"&:hover":{boxShadow:"none",backgroundColor:i},"&:focus-visible":{outline:`2px solid ${i}`,outlineOffset:2},"&::after":{borderRadius:"50px",boxShadow:`0 0 5px 5px ${Ve(r,.9)}`},"&:active::after":{borderRadius:"50px",boxShadow:`0 0 0 0 ${Ve(r,.9)}`}}}function WH(e){return{MuiFab:{styleOverrides:{root:{fontWeight:400,"&.Mui-disabled":{backgroundColor:e.palette.grey[200]},"&.MuiFab-primary":ni({color:"primary",theme:e}),"&.MuiFab-secondary":ni({color:"secondary",theme:e}),"&.Mui-error":ni({color:"error",theme:e}),"&.MuiFab-success":ni({color:"success",theme:e}),"&.MuiFab-info":ni({color:"info",theme:e}),"&.MuiFab-warning":ni({color:"warning",theme:e}),"&::after":{content:'""',display:"block",position:"absolute",left:0,top:0,width:"100%",height:"100%",borderRadius:4,opacity:0,transition:"all 0.5s"},"&:active::after":{position:"absolute",borderRadius:4,left:0,top:0,opacity:1,transition:"0s"}}}}}}function UH(e){return{MuiIconButton:{styleOverrides:{root:{borderRadius:4},sizeLarge:{width:e.spacing(5.5),height:e.spacing(5.5),fontSize:"1.25rem"},sizeMedium:{width:e.spacing(4.5),height:e.spacing(4.5),fontSize:"1rem"},sizeSmall:{width:e.spacing(3.75),height:e.spacing(3.75),fontSize:"0.75rem"},sizeExtraSmall:{width:e.spacing(2.6875),height:e.spacing(2.6875),fontSize:"0.625rem"}}}}}function YH(){return{MuiInputBase:{styleOverrides:{}}}}function GH(e){return{MuiInputLabel:{styleOverrides:{root:{color:e.palette.grey[600]},outlined:{lineHeight:"0.8em","&.MuiInputLabel-sizeSmall":{lineHeight:"1em"},"&.MuiInputLabel-shrink":{background:e.palette.background.paper,padding:"0 8px",marginLeft:-6,lineHeight:"1.4375em"}}}}}}function KH(){return{MuiLinearProgress:{styleOverrides:{root:{height:6,borderRadius:100},bar:{borderRadius:100}}}}}function _H(){return{MuiLink:{defaultProps:{underline:"hover"}}}}function qH(e){return{MuiListItemButton:{styleOverrides:{root:{"&.Mui-selected":{color:e.palette.primary.main,"& .MuiListItemIcon-root":{color:e.palette.primary.main}}}}}}}function JH(e){return{MuiListItemIcon:{styleOverrides:{root:{minWidth:24,color:e.palette.text.primary}}}}}function XH(){return{MuiLoadingButton:{styleOverrides:{root:{padding:"6px 16px","&.MuiLoadingButton-loading":{opacity:.6,textShadow:"none"}}}}}}function Io({variant:e,theme:t}){const n=$t(t,e),{light:r}=n,i=wi(t,`${e}`);return{"&:hover .MuiOutlinedInput-notchedOutline":{borderColor:r},"&.Mui-focused":{boxShadow:i,"& .MuiOutlinedInput-notchedOutline":{border:`1px solid ${r}`}}}}function ZH(e){return{MuiOutlinedInput:{styleOverrides:{input:{padding:"10.5px 14px 10.5px 12px"},notchedOutline:{borderColor:e.palette.mode==="dark"?e.palette.grey[200]:e.palette.grey[300]},root:{...Io({variant:"primary",theme:e}),"&.Mui-error":{...Io({variant:"error",theme:e})}},inputSizeSmall:{padding:"7.5px 8px 7.5px 12px"},inputMultiline:{padding:0},colorSecondary:Io({variant:"secondary",theme:e}),colorError:Io({variant:"error",theme:e}),colorWarning:Io({variant:"warning",theme:e}),colorInfo:Io({variant:"info",theme:e}),colorSuccess:Io({variant:"success",theme:e})}}}}function $H(){return{MuiPagination:{defaultProps:{shape:"rounded"}}}}function mt({variant:e,color:t,theme:n}){const r=$t(n,t),{lighter:i,light:a,dark:l,main:u,contrastText:d}=r,g={"&:focus-visible":{outline:`2px solid ${l}`,outlineOffset:2,...e==="text"&&{backgroundColor:n.palette.background.paper}}};switch(e){case"combined":case"contained":return{color:d,backgroundColor:u,"&:hover":{backgroundColor:a},...g};case"outlined":return{borderColor:u,"&:hover":{backgroundColor:i,borderColor:a},...g};case"text":default:return{color:u,"&:hover":{backgroundColor:u,color:i},...g}}}function ez(e){return{MuiPaginationItem:{styleOverrides:{root:{"&:focus-visible":{outline:`2px solid ${e.palette.secondary.dark}`,outlineOffset:2}},text:{"&.Mui-selected":{backgroundColor:"transparent",fontSize:"1rem",fontWeight:500,"&.MuiPaginationItem-textPrimary":mt({variant:"text",color:"primary",theme:e}),"&.MuiPaginationItem-textSecondary":mt({variant:"text",color:"secondary",theme:e}),"&.MuiPaginationItem-textError":mt({variant:"text",color:"error",theme:e}),"&.MuiPaginationItem-textSuccess":mt({variant:"text",color:"success",theme:e}),"&.MuiPaginationItem-textInfo":mt({variant:"text",color:"info",theme:e}),"&.MuiPaginationItem-textWarning":mt({variant:"text",color:"warning",theme:e})}},contained:{"&.Mui-selected":{"&.MuiPaginationItem-containedPrimary":mt({variant:"contained",color:"primary",theme:e}),"&.MuiPaginationItem-containedSecondary":mt({variant:"contained",color:"secondary",theme:e}),"&.MuiPaginationItem-containedError":mt({variant:"contained",color:"error",theme:e}),"&.MuiPaginationItem-containedSuccess":mt({variant:"contained",color:"success",theme:e}),"&.MuiPaginationItem-containedInfo":mt({variant:"contained",color:"info",theme:e}),"&.MuiPaginationItem-containedWarning":mt({variant:"contained",color:"warning",theme:e})}},combined:{border:"1px solid",borderColor:e.palette.divider,"&.MuiPaginationItem-ellipsis":{border:"none"},"&.Mui-selected":{"&.MuiPaginationItem-combinedPrimary":mt({variant:"combined",color:"primary",theme:e}),"&.MuiPaginationItem-combinedSecondary":mt({variant:"combined",color:"secondary",theme:e}),"&.MuiPaginationItem-combinedError":mt({variant:"combined",color:"error",theme:e}),"&.MuiPaginationItem-combinedSuccess":mt({variant:"combined",color:"success",theme:e}),"&.MuiPaginationItem-combinedInfo":mt({variant:"combined",color:"info",theme:e}),"&.MuiPaginationItem-combinedWarning":mt({variant:"combined",color:"warning",theme:e})}},outlined:{borderColor:e.palette.divider,"&.Mui-selected":{backgroundColor:"transparent","&.MuiPaginationItem-outlinedPrimary":mt({variant:"outlined",color:"primary",theme:e}),"&.MuiPaginationItem-outlinedSecondary":mt({variant:"outlined",color:"secondary",theme:e}),"&.MuiPaginationItem-outlinedError":mt({variant:"outlined",color:"error",theme:e}),"&.MuiPaginationItem-outlinedSuccess":mt({variant:"outlined",color:"success",theme:e}),"&.MuiPaginationItem-outlinedInfo":mt({variant:"outlined",color:"info",theme:e}),"&.MuiPaginationItem-outlinedWarning":mt({variant:"outlined",color:"warning",theme:e})}}}}}}function tz(e){return{MuiPopover:{styleOverrides:{paper:{boxShadow:e.customShadows.z1}}}}}function ri({color:e,theme:t}){const n=$t(t,e),{lighter:r,main:i,dark:a}=n;return{"& .dot":{backgroundColor:i},"&:hover":{backgroundColor:r},"&.Mui-focusVisible":{outline:`2px solid ${a}`,outlineOffset:-4}}}function nz(e){switch(e){case"small":return{size:16,dotSize:8,position:3};case"large":return{size:24,dotSize:12,position:5};case"medium":default:return{size:20,dotSize:10,position:4}}}function aA(e){const t=nz(e);return{"& .icon":{width:t.size,height:t.size,"& .dot":{width:t.dotSize,height:t.dotSize,top:t.position,left:t.position}}}}function rz(e){const{palette:t}=e;return{MuiRadio:{defaultProps:{className:"size-small",icon:f.jsx(Q.Box,{className:"icon",sx:{width:16,height:16,border:"1px solid",borderColor:"inherit",borderRadius:"50%"}}),checkedIcon:f.jsx(Q.Box,{className:"icon",sx:{width:16,height:16,border:"1px solid",borderColor:"inherit",borderRadius:"50%",position:"relative"},children:f.jsx(Q.Box,{className:"dot",sx:{width:8,height:8,backgroundColor:"inherit",borderRadius:"50%",position:"absolute",top:3,left:3}})})},styleOverrides:{root:{color:t.secondary[300],"&.size-small":{...aA("small")},"&.size-medium":{...aA("medium")},"&.size-large":{...aA("large")}},colorPrimary:ri({color:"primary",theme:e}),colorSecondary:ri({color:"secondary",theme:e}),colorSuccess:ri({color:"success",theme:e}),colorWarning:ri({color:"warning",theme:e}),colorInfo:ri({color:"info",theme:e}),colorError:ri({color:"error",theme:e})}}}}function oi({color:e,theme:t}){const n=$t(t,e),{main:r}=n;return{border:`2px solid ${r}`}}function oz(e){return{MuiSlider:{styleOverrides:{track:{height:"1px"},thumb:{width:14,height:14,border:`2px solid ${e.palette.primary.main}`,backgroundColor:e.palette.background.paper,"&.MuiSlider-thumbColorPrimary":oi({color:"primary",theme:e}),"&.MuiSlider-thumbColorSecondary":oi({color:"secondary",theme:e}),"&.MuiSlider-thumbColorSuccess":oi({color:"success",theme:e}),"&.MuiSlider-thumbColorWarning":oi({color:"warning",theme:e}),"&.MuiSlider-thumbColorInfo":oi({color:"info",theme:e}),"&.MuiSlider-thumbColorError":oi({color:"error",theme:e})},mark:{width:4,height:4,borderRadius:"50%",border:`1px solid ${e.palette.secondary.light}`,backgroundColor:e.palette.background.paper,"&.MuiSlider-markActive":{opacity:1,borderColor:"inherit",borderWidth:2}},rail:{color:e.palette.secondary.light},root:{"&.Mui-disabled":{".MuiSlider-rail":{opacity:.25},".MuiSlider-track":{color:e.palette.secondary.lighter},".MuiSlider-thumb":{border:`2px solid ${e.palette.secondary.lighter}`}}},valueLabel:{backgroundColor:e.palette.grey[600],color:e.palette.grey[0]}}}}}function iz(e){switch(e){case"small":return{width:28,height:16,base:12,thumb:10,trackRadius:8};case"large":return{width:60,height:28,base:32,thumb:22,trackRadius:24};case"medium":default:return{width:44,height:22,base:22,thumb:16,trackRadius:16}}}function lA(e,t){const n=iz(t);return{width:n.width,height:n.height,"& .MuiSwitch-switchBase":{padding:3,"&.Mui-checked":{transform:`translateX(${n.base}px)`}},"& .MuiSwitch-thumb":{width:n.thumb,height:n.thumb},"& .MuiSwitch-track":{borderRadius:n.trackRadius}}}function sz(e){return{MuiSwitch:{styleOverrides:{track:{opacity:1,backgroundColor:e.palette.secondary[400],boxSizing:"border-box"},thumb:{borderRadius:"50%",transition:e.transitions.create(["width"],{duration:200})},switchBase:{"&.Mui-checked":{color:"#fff","& + .MuiSwitch-track":{opacity:1},"&.Mui-disabled":{color:e.palette.background.paper}},"&.Mui-disabled":{color:e.palette.background.paper,"+.MuiSwitch-track":{opacity:.3}}},root:{color:e.palette.text.primary,padding:0,margin:8,display:"flex","& ~ .MuiFormControlLabel-label":{margin:6},...lA(e,"medium")},sizeLarge:{...lA(e,"large")},sizeSmall:{...lA(e,"small")}}}}}function az(e){return{MuiTab:{styleOverrides:{root:{minHeight:46,color:e.palette.text.primary,borderRadius:4,"&:hover":{backgroundColor:e.palette.primary.lighter+60,color:e.palette.primary.main},"&:focus-visible":{borderRadius:4,outline:`2px solid ${e.palette.secondary.dark}`,outlineOffset:-3}}}}}}function lz(e){const t={"&:hover":{backgroundColor:e.palette.secondary.lighter}};return{MuiTableBody:{styleOverrides:{root:{"&.striped .MuiTableRow-root":{"&:nth-of-type(even)":{backgroundColor:e.palette.grey[50]},...t},"& .MuiTableRow-root":{...t}}}}}}function cz(e){const t={"&:not(:last-of-type)":{position:"relative","&:after":{position:"absolute",content:'""',backgroundColor:e.palette.divider,width:1,height:"calc(100% - 30px)",right:0,top:16}}};return{MuiTableCell:{styleOverrides:{root:{fontSize:"0.875rem",padding:12,borderColor:e.palette.divider},sizeSmall:{padding:8},head:{fontSize:"0.75rem",fontWeight:700,textTransform:"uppercase",...t},footer:{fontSize:"0.75rem",textTransform:"uppercase",...t}}}}}function uz(e){return{MuiTableFooter:{styleOverrides:{root:{backgroundColor:e.palette.grey[50],borderTop:`2px solid ${e.palette.divider}`,borderBottom:`1px solid ${e.palette.divider}`}}}}}function Az(e){return{MuiTableHead:{styleOverrides:{root:{backgroundColor:e.palette.grey[50],borderTop:`1px solid ${e.palette.divider}`,borderBottom:`2px solid ${e.palette.divider}`}}}}}function dz(){return{MuiTablePagination:{styleOverrides:{selectLabel:{fontSize:"0.875rem"},displayedRows:{fontSize:"0.875rem"}}}}}function gz(){return{MuiTableRow:{styleOverrides:{root:{"&:last-of-type":{"& .MuiTableCell-root":{borderBottom:"none"}},"& .MuiTableCell-root":{"&:last-of-type":{paddingRight:24},"&:first-of-type":{paddingLeft:24}}}}}}}function fz(){return{MuiTabs:{styleOverrides:{vertical:{overflow:"visible"}}}}}function pz(e){return{MuiToggleButton:{styleOverrides:{root:{"&.Mui-disabled":{borderColor:e.palette.divider,color:e.palette.text.disabled},"&:focus-visible":{outline:`2px solid ${e.palette.secondary.dark}`,outlineOffset:2}}}}}}function hz(e){return{MuiTooltip:{styleOverrides:{tooltip:{color:e.palette.background.paper}}}}}function Cz(){return{MuiTreeItem:{styleOverrides:{content:{padding:8},iconContainer:{"& svg":{fontSize:"0.625rem"}}}}}}function Ez(){return{MuiTypography:{styleOverrides:{gutterBottom:{marginBottom:12}}}}}function mz(e){return it.merge(xH(e),wH(e),TH(e),PH(e),SH(),RH(e),OH(e),DH(e),MH(),jH(),kH(),LH(e),NH(e),VH(),HH(e),zH(),WH(e),UH(e),YH(),GH(e),KH(),_H(),qH(e),JH(e),XH(),ZH(e),$H(),ez(e),tz(e),rz(e),oz(e),sz(e),az(e),lz(e),cz(e),uz(e),Az(e),dz(),gz(),fz(),pz(e),hz(e),Cz(),Ez())}const Ng=({themeOverrides:e,children:t})=>{const{themeDirection:n,mode:r,presetColor:i,fontFamily:a}=Ut(),l=S.useMemo(()=>bH(r,i),[r,i]),u=S.useMemo(()=>QH(a),[a]),d=S.useMemo(()=>$V(l),[l]),g=S.useMemo(()=>is.merge({breakpoints:{values:{xs:0,sm:768,md:1024,lg:1266,xl:1440}},direction:n,mixins:{toolbar:{minHeight:60,paddingTop:8,paddingBottom:8}},palette:l.palette,customShadows:d,typography:u,shadows:l.shadows.map(()=>"none"),components:{MuiIconButton:{styleOverrides:{sizeExtraSmall:{width:l.spacing(2.6875),height:l.spacing(2.6875),fontSize:"0.625rem"}}}}},typeof e=="function"?e(l):e),[n,l,u,d,e]),p=nd(g),E=is.cloneDeep(p.components??{});return p.components=is.merge(mz(p),E),f.jsx(Q.StyledEngineProvider,{injectFirst:!0,children:f.jsxs(Om,{theme:p,children:[f.jsx(Q.CssBaseline,{}),t]})})};Ng.propTypes={children:c.node,themeOverrides:c.oneOfType([c.object,c.func])};const hv=({children:e,theme:t,...n})=>f.jsx(R.CoreAdminContext,{...n,children:f.jsx(Ng,{themeOverrides:t,children:f.jsx(Rg,{children:e})})});hv.displayName="ApplicaAdminContext";const Si=e=>{const{authProvider:t,catchAll:n,children:r,dashboard:i,dataProvider:a,disableTelemetry:l,history:u,i18nProvider:d,layout:g,loading:p,loginPage:E,authCallbackPage:h,menu:m,notification:I,queryClient:B,requireAuth:y,store:O,ready:M,theme:w,title:T="React Admin"}=e;return f.jsx(hv,{authProvider:t,dataProvider:a,i18nProvider:d,store:O,history:u,queryClient:B,theme:w,children:f.jsx(R.AdminUI,{layout:g,dashboard:i,disableTelemetry:l,menu:m,catchAll:n,title:T,loading:p,loginPage:E,authCallbackPage:h,notification:I,requireAuth:y,ready:M,children:r})})};Si.defaultProps={store:R.localStorageStore(),title:"Applica Admin"};Si.propTypes={...R.AdminUI.propTypes};class Cv{constructor({catch:t,display:n,log:r,error:i}){Ki(this,"catch");Ki(this,"display");Ki(this,"log");Ki(this,"error");this.catch=t,this.display=n,this.log=r,this.error=i}isCatched(){return this.catch}logError(){return this.log}displayError(){return this.display}}const Iz=({apiUrl:e,endpoint:t,message:n,bodyBuilder:r})=>fetch(`${e}${t}`,{method:"PUT",headers:new Headers({Accept:"application/json","Content-Type":"application/json"}),body:JSON.stringify(r(n))}),Bz=({enabled:e=!0,apiUrl:t,endpoint:n="/ui-errors/put",loading:r,catcherFn:i=l=>new Cv({catch:l!=null,display:!1,log:!1}),bodyBuilder:a=l=>({message:l})})=>(k.useMemo(()=>{if(r||!e)return;const l=console.error;console.error=function(u,...d){if(!u||typeof u!="string"){l.apply(console,arguments);return}const g=u.replace(/%s/g,()=>d.shift()),p=i(g);if(!p.isCatched()){l.apply(console,arguments);return}p.logError()&&Iz({apiUrl:t,endpoint:n,message:g,bodyBuilder:a}),p.displayError()?l.apply(console,arguments):console.debug.apply(console,arguments)}},[t,r,a,n,i,e]),!0),Vg=({languages:e,defaultLocale:t,allowMissing:n=!1})=>nP(r=>it.get(e,r,{}),t,[{locale:t}],{allowMissing:n}),am=[],yz=({apiUrl:e,endpoint:t,locale:n,message:r,bodyBuilder:i})=>r!=null&&r!=="undefined"&&r.indexOf("[")===-1&&r.indexOf("]")===-1&&am.indexOf(`${n}-${r}`)===-1&&am.push(`${n}-${r}`)&&fetch(`${e}${t}`,{method:"PUT",headers:new Headers({Accept:"application/json","Content-Type":"application/json"}),body:JSON.stringify(i(n,r)||{})}),Ev=({apiUrl:e,enabled:t=!0,endpoint:n="/languages/put-message",loading:r,bodyBuilder:i=(a,l)=>({lang:a,code:l,text:l})})=>{const[a]=R.useLocaleState();return k.useMemo(()=>{if(r||!t)return;const l=console.error;console.error=function(u){if(!(typeof u=="string"&&u==="%c%s")){if(typeof u=="string"&&u.indexOf("Missing translation for key: ")>=0){if(u=u.replace("Warning: Missing translation for key: ",""),u=u.split('"').join("").trim(),u===null||u.indexOf(" ")!==-1||u.indexOf(".")===-1)return;const d=localStorage.getItem("locale")||a;yz({apiUrl:e,endpoint:n,locale:d,message:u,bodyBuilder:i});return}l.apply(console,arguments)}}},[e,a,r,i,n,t]),!0};window.React=S;const mv=({apiUrl:e,endpoint:t="/languages/load",mapper:n=({data:r})=>({data:r})})=>{const[r,i]=S.useState({loading:!0,languages:null});return S.useEffect(()=>{let a=new Headers;a.append("Accept","application/json"),a.append("Content-Type","application/json"),fetch(`${e}${t}`,{headers:a}).then(l=>l.json()).then(l=>i({loading:!1,...n(l)}))},[e,t,n]),r},vz=({apiUrl:e,locale:t="en",languages:n={}})=>Vg({apiUrl:e,locale:t,languages:n}),bz=e=>e.reduce((t,n)=>({...t,[n.lang]:{...t[n.lang]||{},[n.code]:n.text}}),{}),Qz=(e,t)=>({lang:e,code:t,text:t}),xz=new lm.QueryClient({defaultOptions:{queries:{refetchOnWindowFocus:!1}}}),Hg=({theme:e,themeConfig:t,apiUrl:n,defaultLocale:r,development:i,logoMain:a,logoIcon:l,loginPage:u,menu:d,name:g,version:p,dataProvider:E,authProvider:h,notification:m,enableNotification:I,enableRegistration:B,enablePasswordRecover:y,...O})=>{const M=mv({apiUrl:n,endpoint:"/i18n/messages",mapper:bz});Ev({bodyBuilder:Qz,apiUrl:n,endpoint:"/i18n/message",loading:M==null?void 0:M.loading,enabled:i}),Bz({apiUrl:n,endpoint:"/cli/error",catcherFn:H=>{const F=H==null?void 0:H.toString(),Z=["Invalid prop `file` of type `string` supplied to `FileInputPreview`, expected `object`.","Failed prop type: Invalid prop `checked` of type `string` supplied to `ForwardRef(Switch)`, expected `boolean`.","Failed prop type: Invalid prop `checked` of type `string` supplied to `ForwardRef(SwitchBase)`, expected `boolean`.","validateDOMNesting(...): <form> cannot appear as a descendant of <form>."].some(ee=>F==null?void 0:F.includes(ee));return new Cv({catch:Z,display:!Z,log:!Z,error:H})}});const w=S.useMemo(()=>S.isValidElement(u)?S.cloneElement(u,{name:g,version:p,enableRegistration:B,enablePasswordRecover:y}):u,[u,g,p,B,y]),T=S.useMemo(()=>H=>{const F=g?f.jsx(uc,{title:g}):a,K=g?f.jsx(Og,{title:g}):l;return f.jsx(Pg,{...H,name:g,version:p,logoMain:F,logoIcon:K,notification:m,enableNotification:I})},[a,l,g,p,m,I]);if(M!=null&&M.loading)return null;const P=Vg({languages:M,defaultLocale:r,allowMissing:i});return f.jsx(id,{children:f.jsx(cd,{menu:d,children:f.jsx(ad,{initialConfig:t,children:f.jsx(Si,{theme:e,layout:T,notification:nv,queryClient:xz,dataProvider:E,authProvider:h,i18nProvider:P,loginPage:w,...O})})})})};Hg.defaultProps={...Si.defaultProps,fileFields:[],defaultLocale:"en",development:!1,version:"0.0.0",notification:"entities/notification",enableNotification:!1,enableRegistration:!1,enableForgotPassword:!1,loginPage:f.jsx(Ac,{version:"0.0.0",name:"Applica",redirectTo:"/"})};Hg.propTypes={...Si.propTypes,theme:c.oneOfType([c.object,c.func]),apiUrl:c.string.isRequired,defaultLocale:c.string,development:c.bool,logoMain:c.node,logoIcon:c.node,menu:c.arrayOf(Ci),name:c.string,version:c.string,authProvider:c.oneOfType([c.func,c.object]),dataProvider:c.oneOfType([c.func,c.object]),notification:c.string,enableNotification:c.bool,enableRegistration:c.bool,enableForgotPassword:c.bool};Object.defineProperty(exports,"ArrayInputContext",{enumerable:!0,get:()=>R.ArrayInputContext});Object.defineProperty(exports,"BooleanField",{enumerable:!0,get:()=>R.BooleanField});Object.defineProperty(exports,"BulkDeleteWithConfirmButton",{enumerable:!0,get:()=>R.BulkDeleteWithConfirmButton});Object.defineProperty(exports,"Button",{enumerable:!0,get:()=>R.Button});Object.defineProperty(exports,"ChipField",{enumerable:!0,get:()=>R.ChipField});Object.defineProperty(exports,"Confirm",{enumerable:!0,get:()=>R.Confirm});Object.defineProperty(exports,"Create",{enumerable:!0,get:()=>R.Create});Object.defineProperty(exports,"CreateButton",{enumerable:!0,get:()=>R.CreateButton});Object.defineProperty(exports,"CreateContextProvider",{enumerable:!0,get:()=>R.CreateContextProvider});Object.defineProperty(exports,"CustomRoutes",{enumerable:!0,get:()=>R.CustomRoutes});Object.defineProperty(exports,"DeleteWithConfirmButton",{enumerable:!0,get:()=>R.DeleteWithConfirmButton});Object.defineProperty(exports,"DeleteWithUndoButton",{enumerable:!0,get:()=>R.DeleteWithUndoButton});Object.defineProperty(exports,"EditButton",{enumerable:!0,get:()=>R.EditButton});Object.defineProperty(exports,"EditContextProvider",{enumerable:!0,get:()=>R.EditContextProvider});Object.defineProperty(exports,"FieldTitle",{enumerable:!0,get:()=>R.FieldTitle});Object.defineProperty(exports,"Form",{enumerable:!0,get:()=>R.Form});Object.defineProperty(exports,"FormDataConsumer",{enumerable:!0,get:()=>R.FormDataConsumer});Object.defineProperty(exports,"HttpError",{enumerable:!0,get:()=>R.HttpError});Object.defineProperty(exports,"I18nContextProvider",{enumerable:!0,get:()=>R.I18nContextProvider});Object.defineProperty(exports,"ListToolbar",{enumerable:!0,get:()=>R.ListToolbar});Object.defineProperty(exports,"Pagination",{enumerable:!0,get:()=>R.Pagination});Object.defineProperty(exports,"RaArrayInput",{enumerable:!0,get:()=>R.ArrayInput});Object.defineProperty(exports,"RaSimpleFormIterator",{enumerable:!0,get:()=>R.SimpleFormIterator});Object.defineProperty(exports,"RecordContextProvider",{enumerable:!0,get:()=>R.RecordContextProvider});Object.defineProperty(exports,"ReferenceArrayField",{enumerable:!0,get:()=>R.ReferenceArrayField});Object.defineProperty(exports,"ReferenceField",{enumerable:!0,get:()=>R.ReferenceField});Object.defineProperty(exports,"Resource",{enumerable:!0,get:()=>R.Resource});Object.defineProperty(exports,"ResourceContextProvider",{enumerable:!0,get:()=>R.ResourceContextProvider});Object.defineProperty(exports,"SaveButton",{enumerable:!0,get:()=>R.SaveButton});Object.defineProperty(exports,"SimpleFormIteratorContext",{enumerable:!0,get:()=>R.SimpleFormIteratorContext});Object.defineProperty(exports,"SimpleList",{enumerable:!0,get:()=>R.SimpleList});Object.defineProperty(exports,"SingleFieldList",{enumerable:!0,get:()=>R.SingleFieldList});Object.defineProperty(exports,"TopToolbar",{enumerable:!0,get:()=>R.TopToolbar});Object.defineProperty(exports,"UrlField",{enumerable:!0,get:()=>R.UrlField});Object.defineProperty(exports,"choices",{enumerable:!0,get:()=>R.choices});Object.defineProperty(exports,"email",{enumerable:!0,get:()=>R.email});Object.defineProperty(exports,"maxLength",{enumerable:!0,get:()=>R.maxLength});Object.defineProperty(exports,"maxValue",{enumerable:!0,get:()=>R.maxValue});Object.defineProperty(exports,"minLength",{enumerable:!0,get:()=>R.minLength});Object.defineProperty(exports,"minValue",{enumerable:!0,get:()=>R.minValue});Object.defineProperty(exports,"number",{enumerable:!0,get:()=>R.number});Object.defineProperty(exports,"regex",{enumerable:!0,get:()=>R.regex});Object.defineProperty(exports,"required",{enumerable:!0,get:()=>R.required});Object.defineProperty(exports,"useArrayInput",{enumerable:!0,get:()=>R.useArrayInput});Object.defineProperty(exports,"useAuthProvider",{enumerable:!0,get:()=>R.useAuthProvider});Object.defineProperty(exports,"useCreateController",{enumerable:!0,get:()=>R.useCreateController});Object.defineProperty(exports,"useDataProvider",{enumerable:!0,get:()=>R.useDataProvider});Object.defineProperty(exports,"useEditContext",{enumerable:!0,get:()=>R.useEditContext});Object.defineProperty(exports,"useGetIdentity",{enumerable:!0,get:()=>R.useGetIdentity});Object.defineProperty(exports,"useGetList",{enumerable:!0,get:()=>R.useGetList});Object.defineProperty(exports,"useGetMany",{enumerable:!0,get:()=>R.useGetMany});Object.defineProperty(exports,"useGetManyReference",{enumerable:!0,get:()=>R.useGetManyReference});Object.defineProperty(exports,"useGetOne",{enumerable:!0,get:()=>R.useGetOne});Object.defineProperty(exports,"useListContext",{enumerable:!0,get:()=>R.useListContext});Object.defineProperty(exports,"useNotify",{enumerable:!0,get:()=>R.useNotify});Object.defineProperty(exports,"usePermissions",{enumerable:!0,get:()=>R.usePermissions});Object.defineProperty(exports,"useRecordContext",{enumerable:!0,get:()=>R.useRecordContext});Object.defineProperty(exports,"useRefresh",{enumerable:!0,get:()=>R.useRefresh});Object.defineProperty(exports,"useResourceContext",{enumerable:!0,get:()=>R.useResourceContext});Object.defineProperty(exports,"useResourceDefinition",{enumerable:!0,get:()=>R.useResourceDefinition});Object.defineProperty(exports,"useResourceDefinitions",{enumerable:!0,get:()=>R.useResourceDefinitions});Object.defineProperty(exports,"useTranslate",{enumerable:!0,get:()=>R.useTranslate});Object.defineProperty(exports,"useUnselect",{enumerable:!0,get:()=>R.useUnselect});Object.defineProperty(exports,"useUnselectAll",{enumerable:!0,get:()=>R.useUnselectAll});Object.defineProperty(exports,"useUpdateMany",{enumerable:!0,get:()=>R.useUpdateMany});exports.ActionsField=Od;exports.ActionsMenu=xs;exports.ActivatePage=cv;exports.Admin=Si;exports.AnimateButton=TB;exports.AppConfigContext=od;exports.AppConfigProvider=id;exports.ApplicaAdmin=Hg;exports.ArrayInput=Fj;exports.AttachmentField=Dd;exports.AttachmentInput=Vd;exports.AutocompleteArrayInput=eI;exports.AutocompleteInput=tI;exports.Avatar=Cl;exports.BooleanInput=Hd;exports.Breadcrumbs=Ll;exports.CardForm=Nl;exports.ChangePasswordForm=Zd;exports.CircularWithLabel=RB;exports.CircularWithPath=OB;exports.CoverField=Kl;exports.CreateInDialogButton=jg;exports.Datagrid=Fg;exports.DateAgoField=_l;exports.DateField=Md;exports.DateInput=zd;exports.DateTimeInput=Wd;exports.Dot=sc;exports.Edit=lk;exports.EditInDialogButton=kg;exports.EmailField=jd;exports.Empty=iv;exports.FileField=kd;exports.FileInput=Ud;exports.FormHeader=$d;exports.FunctionField=J0;exports.IconButton=Xr;exports.ImageField=ws;exports.ImageInput=Yd;exports.ImpersonateUserButton=ov;exports.LabeledArrayInput=Gl;exports.LabeledInput=at;exports.Layout=Pg;exports.LinearWithIcon=DB;exports.LinearWithLabel=MB;exports.List=sv;exports.ListItem=Lg;exports.Loadable=LV;exports.Loader=tv;exports.LoadingButton=Bg;exports.LoginPage=Ac;exports.Logo=xg;exports.LongForm=Ts;exports.MainCard=Nn;exports.MainIcon=uc;exports.MenuConfigContext=ld;exports.MenuConfigProvider=cd;exports.MenuPopover=kl;exports.MenuPropTypes=Ci;exports.Notification=nv;exports.NotificationList=ZV;exports.NumberInput=Gd;exports.ReadonlyField=Ld;exports.RecordInput=nI;exports.RecoverPage=uv;exports.ReferenceArrayInput=Kd;exports.ReferenceInput=_d;exports.ReferenceManyField=xi;exports.ReferenceManyInput=qd;exports.RegisterPage=Av;exports.ScrollTop=Rg;exports.ScrollX=NV;exports.SearchInput=nk;exports.SelectArrayInput=Jd;exports.SelectInput=oI;exports.SimpleBar=Qg;exports.SimpleForm=Yl;exports.SimpleFormIterator=xk;exports.SizeField=Z0;exports.SmallIcon=Og;exports.SmartTextInput=ql;exports.TabbedForm=Zl;exports.TextField=Nd;exports.TextInput=Vn;exports.ThemeConfigContext=sd;exports.ThemeConfigProvider=ad;exports.ThemeProvider=Ng;exports.TimeInput=Xd;exports.Toolbar=Tr;exports.Tooltip=SB;exports.Transitions=Zr;exports.createI18nProvider=Vg;exports.parseTime=iI;exports.useAppConfig=So;exports.useBreadcrumbs=Vm;exports.useI18nCatcher=Ev;exports.useI18nLanguages=mv;exports.useI18nProvider=vz;exports.useLocalStorage=Ad;exports.useMenu=ud;exports.useMenuConfig=Xn;exports.useResourceTitle=Hm;exports.useThemeConfig=Ut;exports.uuid=ok;
|
|
276
276
|
//# sourceMappingURL=react-admin.cjs.js.map
|