(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7372],{71804:(e,s,t)=>{Promise.resolve().then(t.bind(t,44742))},44742:(e,s,t)=>{"use strict";t.r(s),t.d(s,{default:()=>c});var l=t(95155),r=t(9625),a=t(5565);function c(){return(0,l.jsx)(r.U,{title:"Rocket Payment",breadcrumbs:["Deposit Instruction","Rocket Payment"],children:(0,l.jsx)("div",{className:"py-8",children:(0,l.jsx)(a.default,{src:"/assets/images/payment/rocket.png",alt:"rocket",width:1e3,height:1e3,className:"w-full h-full object-cover"})})})}},53661:(e,s,t)=>{"use strict";t.d(s,{r:()=>n});var l=t(95155),r=t(76046),a=t(12115),c=t(83391);function n(e,s){return function(t){let n=(0,r.useRouter)(),{isAuthenticated:i,user:d}=(0,c.d4)(e=>e.auth);return((0,a.useEffect)(()=>{if(!i){n.replace("/login");return}(null==d?void 0:d.role)!==s&&n.replace("/login")},[i,d,n]),i&&(null==d?void 0:d.role)===s)?(0,l.jsx)(e,{...t}):null}}},9625:(e,s,t)=>{"use strict";t.d(s,{U:()=>n});var l=t(95155),r=t(53661),a=t(8368),c=t(73649);function n(e){let{children:s,title:t,breadcrumbs:r=[],className:n,actions:i}=e;return(0,l.jsx)(c.default,{userRole:"policy-holder",children:(0,l.jsxs)("div",{className:(0,a.cn)("p-6 space-y-6",n),children:[(0,l.jsx)("div",{className:"",children:(0,l.jsxs)("div",{className:"flex justify-between items-start",children:[(0,l.jsxs)("div",{children:[(0,l.jsx)("h1",{className:"text-[32px] font-medium text-gray-800 mb-2",children:t}),(0,l.jsxs)("div",{className:"text-gray-500 flex items-center gap-2",children:[(0,l.jsx)("span",{children:"Dashboard"}),r.map((e,s)=>(0,l.jsxs)("span",{className:"flex items-center gap-2",children:[(0,l.jsx)("span",{className:"text-gray-400",children:"›"}),(0,l.jsx)("span",{className:s===r.length-1?"text-blue-600":"text-gray-500",children:e})]},s))]})]}),i&&(0,l.jsx)("div",{className:"flex gap-3",children:i})]})}),(0,l.jsx)("div",{children:s})]})})}(0,r.r)(n,"policy-holder")}},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(71804)),_N_E=e.O()}]);