(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[389],{80362:(e,a,t)=>{Promise.resolve().then(t.bind(t,44129))},44129:(e,a,t)=>{"use strict";t.r(a),t.d(a,{default:()=>d});var s=t(95155),i=t(69337),r=t(92501),n=t(6471),l=t(76046),c=t(12115),o=t(83391);function d(){let e=(0,l.useParams)(),a=(0,o.wA)(),{data:t,loading:d,error:m}=(0,o.d4)(e=>e.api.managementTeamMemberDetails);return(console.log("slug",e.slug),(0,c.useEffect)(()=>{a((0,n.Tu)(e.slug))},[a,e.slug]),d)?(0,s.jsx)(r.R,{}):m?(0,s.jsxs)("div",{children:["Error: ",m]}):t?(0,s.jsx)(i.A,{member:t}):null}},69337:(e,a,t)=>{"use strict";t.d(a,{A:()=>r});var s=t(95155),i=t(89229);function r(e){let{member:a}=e;return(0,s.jsx)("div",{className:"py-16 md:py-24",children:(0,s.jsx)("div",{className:"container px-4 md:px-6 mx-auto",children:(0,s.jsxs)(i.P.div,{className:"grid lg:grid-cols-2 gap-12 items-start",initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.5},children:[(0,s.jsxs)("div",{className:"space-y-8",children:[(0,s.jsxs)(i.P.h2,{className:"text-3xl md:text-4xl  tracking-tight text-[#090909]",initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.5,delay:.2},children:["MESSAGE FROM OUR ",a.position.toUpperCase()]}),(0,s.jsx)(i.P.div,{className:"prose prose-lg max-w-none text-[#525050] leading-relaxed",initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.5,delay:.3},children:(0,s.jsx)("p",{className:"whitespace-pre-line",dangerouslySetInnerHTML:{__html:(null==a?void 0:a.long_description)||""}})})]}),(0,s.jsxs)(i.P.div,{className:"lg:sticky lg:top-8",initial:{opacity:0,scale:.95},animate:{opacity:1,scale:1},transition:{duration:.5,delay:.4},children:[(0,s.jsx)("div",{className:"relative aspect-[4/5] w-full max-w-xl mx-auto",children:(0,s.jsx)("img",{src:a.image,alt:a.name,fill:"true",className:"object-cover rounded-lg shadow-lg h-full w-full",priority:!0})}),(0,s.jsxs)("div",{className:"mt-6 text-center",children:[(0,s.jsx)("h3",{className:"text-2xl font-bold text-[#090909]",children:a.name}),(0,s.jsx)("p",{className:"text-lg text-[#525050] mt-1",children:a.position})]})]})]})})})}},92501:(e,a,t)=>{"use strict";t.d(a,{R:()=>i});var s=t(95155);function i(){return(0,s.jsx)("div",{className:"flex items-center justify-center min-h-[700px]",children:(0,s.jsx)("div",{className:"animate-spin rounded-full h-8 w-8 border-b-2 border-gray-900"})})}},6471:(e,a,t)=>{"use strict";t.d(a,{Tu:()=>o,aY:()=>n,fR:()=>r,hr:()=>l,n1:()=>d,rR:()=>c});var s=t(37397),i=t(14474);let r=()=>async(e,a)=>{try{let{contentVersion:t,lastUpdated:r}=a().api,n=Date.now();if(e((0,i.sd)()),t&&r&&n-r<864e5){let{data:{version:e}}=await s.F.checkContentVersion();if(e===t)return}e((0,i.r1)(!0));let[l,c,{data:{version:o}},d,m,u,g,h,x,y,p,v,f,j]=await Promise.all([s.F.getHeroSection(),s.F.getFAQ(),s.F.checkContentVersion(),s.F.getStatistics(),s.F.getAboutUs(),s.F.getPlanOrServices(),s.F.getWhyChooseUs(),s.F.getInsuranceProcess(),s.F.getTestimonials(),s.F.getPartners(),s.F.getEvents(),s.F.getContactUs(),s.F.getBoardMembers(),s.F.getCompanySettings()]);e((0,i.ex)(l)),e((0,i.pM)(c)),e((0,i.MR)(d)),e((0,i.SO)(m)),e((0,i.zB)(u)),e((0,i._N)(g)),e((0,i.u$)(h)),e((0,i.Vf)(x)),e((0,i.k3)(y)),e((0,i.oU)(p)),e((0,i.BW)(v)),e((0,i.iY)(f)),e((0,i.jU)(j)),e((0,i.q8)(o))}catch(a){e((0,i.Nh)(a.message))}},n=e=>async a=>{try{a((0,i.g3)(!0));let t=await s.F.getSinglePlan(e);a((0,i.WA)(t.data))}catch(e){a((0,i.I_)(e.message))}},l=e=>async a=>{try{a((0,i.r1)(!0));let t=await s.F.getBoardMemberDetails(e);a((0,i.bA)(t.data)),a((0,i.r1)(!1))}catch(e){a((0,i.Nh)(e.message))}},c=()=>async e=>{try{e((0,i.vU)(!0));let a=await s.F.getManagementTeamMembers();e((0,i.Hd)(a.data))}catch(a){e((0,i.Pj)(a.message))}},o=e=>async a=>{try{a((0,i.No)(!0));let t=await s.F.getManagementTeamMemberDetails(e);a((0,i.lh)(t.data))}catch(e){a((0,i.Bx)(e.message))}},d=e=>async a=>{try{a((0,i.JL)(!0));let t=await s.F.getEventDetails(e);a((0,i.de)(t.data))}catch(e){a((0,i.VK)(e.message))}}},76046:(e,a,t)=>{"use strict";var s=t(66658);t.o(s,"useParams")&&t.d(a,{useParams:function(){return s.useParams}}),t.o(s,"usePathname")&&t.d(a,{usePathname:function(){return s.usePathname}}),t.o(s,"useRouter")&&t.d(a,{useRouter:function(){return s.useRouter}}),t.o(s,"useSearchParams")&&t.d(a,{useSearchParams:function(){return s.useSearchParams}})}},e=>{var a=a=>e(e.s=a);e.O(0,[9229,3391,8405,4980,8441,1517,7358],()=>a(80362)),_N_E=e.O()}]);