(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5981],{78342:(e,s,l)=>{Promise.resolve().then(l.bind(l,55097))},55097:(e,s,l)=>{"use strict";l.r(s),l.d(s,{default:()=>i});var r=l(95155),n=l(92188);function i(){return(0,r.jsx)(n.I,{title:"Policy Information",breadcrumbs:["Policy Info"],children:(0,r.jsx)("div",{children:"This is policy information page"})})}},53661:(e,s,l)=>{"use strict";l.d(s,{r:()=>a});var r=l(95155),n=l(76046),i=l(12115),t=l(83391);function a(e,s){return function(l){let a=(0,n.useRouter)(),{isAuthenticated:c,user:d}=(0,t.d4)(e=>e.auth);return((0,i.useEffect)(()=>{if(!c){a.replace("/login");return}(null==d?void 0:d.role)!==s&&a.replace("/login")},[c,d,a]),c&&(null==d?void 0:d.role)===s)?(0,r.jsx)(e,{...l}):null}}},92188:(e,s,l)=>{"use strict";l.d(s,{I:()=>a});var r=l(95155),n=l(53661),i=l(73649),t=l(8368);function a(e){let{children:s,title:l,breadcrumbs:n=[],className:a,actions:c}=e;return(0,r.jsx)(i.default,{userRole:"employee",children:(0,r.jsxs)("div",{className:(0,t.cn)("p-8 space-y-6  rounded-3xl",a),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"}),n.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===n.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,n.r)(a,"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(78342)),_N_E=e.O()}]);