(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9334],{95147:(e,s,l)=>{Promise.resolve().then(l.bind(l,75304))},75304:(e,s,l)=>{"use strict";l.r(s),l.d(s,{default:()=>t});var r=l(95155),a=l(92188);function t(){return(0,r.jsx)(a.I,{title:"Team Details",breadcrumbs:["Team Details"],children:(0,r.jsx)("div",{children:"This is team details page"})})}},53661:(e,s,l)=>{"use strict";l.d(s,{r:()=>n});var r=l(95155),a=l(76046),t=l(12115),i=l(83391);function n(e,s){return function(l){let n=(0,a.useRouter)(),{isAuthenticated:c,user:d}=(0,i.d4)(e=>e.auth);return((0,t.useEffect)(()=>{if(!c){n.replace("/login");return}(null==d?void 0:d.role)!==s&&n.replace("/login")},[c,d,n]),c&&(null==d?void 0:d.role)===s)?(0,r.jsx)(e,{...l}):null}}},92188:(e,s,l)=>{"use strict";l.d(s,{I:()=>n});var r=l(95155),a=l(53661),t=l(73649),i=l(8368);function n(e){let{children:s,title:l,breadcrumbs:a=[],className:n,actions:c}=e;return(0,r.jsx)(t.default,{userRole:"employee",children:(0,r.jsxs)("div",{className:(0,i.cn)("p-8 space-y-6  rounded-3xl",n),children:[(0,r.jsx)("div",{className:"",children:(0,r.jsxs)("div",{className:"flex justify-between items-start",children:[(0,r.jsxs)("div",{children:[(0,r.jsx)("h1",{className:"text-[32px] font-medium text-gray-800 mb-2",children:l}),(0,r.jsxs)("div",{className:"text-gray-500 flex items-center gap-2",children:[(0,r.jsx)("span",{children:"Dashboard"}),a.map((e,s)=>(0,r.jsxs)("span",{className:"flex items-center gap-2",children:[(0,r.jsx)("span",{className:"text-gray-400",children:"›"}),(0,r.jsx)("span",{className:s===a.length-1?"text-blue-600":"text-gray-500",children:e})]},s))]})]}),c&&(0,r.jsx)("div",{className:"flex gap-3",children:c})]})}),(0,r.jsx)("div",{children:s})]})})}(0,a.r)(n,"employee")}},e=>{var s=s=>e(e.s=s);e.O(0,[9229,3391,8405,7970,1181,8173,2662,8993,4980,3649,8441,1517,7358],()=>s(95147)),_N_E=e.O()}]);