"use strict";exports.id=5077,exports.ids=[5077],exports.modules={5077:(n,e,i)=>{i.d(e,{Z:()=>layout_LayoutMain});var t=i(5193),r=i(6689),a=i(8442),s=i(19),o=i.n(s),d=i(7898),l=i.n(d),x=i(3882),c=i.n(x),p=i(4960),u=i.n(p);i(3172);var h=i(1163),g=i(3266),w=i.n(g),m=i(4104),y=i.n(m),f=i(2217),j=i.n(f),S=i(9445),M=i.n(S);let FooterEx=()=>(0,t.jsxs)("footer",{className:M().footer,children:[t.jsx(y(),{variant:"caption",align:"center",children:"\xa9 Copyright 2026"}),t.jsx(j(),{style:{margin:"24px auto",width:60}}),t.jsx(w(),{container:!0,justify:"center",spacing:2,children:t.jsx(w(),{item:!0,xs:12,sm:6,md:3,children:t.jsx(y(),{align:"center",gutterBottom:!0,color:"textSecondary",children:"Narok County Government"})})})]});FooterEx.propTypes={},FooterEx.defaultProps={};let layout_LayoutMain=({children:n})=>{(0,h.useRouter)(),(0,a.useTheme)();let[e,i]=r.useState(!0),[s,d]=r.useState(!1),[x,p]=r.useState(!0),openedMixin=n=>({width:240,transition:n.transitions.create("width",{easing:n.transitions.easing.sharp,duration:n.transitions.duration.enteringScreen}),overflowX:"hidden",backgroundColor:"#355C7D"}),closedMixin=n=>({transition:n.transitions.create("width",{easing:n.transitions.easing.sharp,duration:n.transitions.duration.leavingScreen}),overflowX:"hidden",width:`calc(${n.spacing(7)} + 1px)`,[n.breakpoints.up("sm")]:{width:`calc(${n.spacing(8)} + 1px)`}});return(0,a.styled)("div")(({theme:n})=>({display:"flex",alignItems:"center",justifyContent:"flex-end",padding:n.spacing(0,.1),...n.mixins.toolbar})),(0,a.styled)(c(),{shouldForwardProp:n=>"open"!==n})(({theme:n,open:e})=>({zIndex:n.zIndex.drawer+1,transition:n.transitions.create(["width","margin"],{easing:n.transitions.easing.sharp,duration:n.transitions.duration.leavingScreen}),...e&&{marginLeft:240,width:"calc(100% - 240px)",transition:n.transitions.create(["width","margin"],{easing:n.transitions.easing.sharp,duration:n.transitions.duration.enteringScreen})}})),(0,a.styled)(l(),{shouldForwardProp:n=>"open"!==n})(({theme:n,open:e})=>({width:240,flexShrink:0,whiteSpace:"nowrap",boxSizing:"border-box",...e&&{...openedMixin(n),"& .MuiDrawer-paper":openedMixin(n)},...!e&&{...closedMixin(n),"& .MuiDrawer-paper":closedMixin(n)}})),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(o(),{sx:{display:"flex"},children:[t.jsx(u(),{}),t.jsx(o(),{component:"main",open:e,sx:{flexGrow:1},children:n})]}),t.jsx(FooterEx,{})]})}}};