(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2532],{64140:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/funds/fund-performance",function(){return t(63653)}])},63228:function(e,n,t){"use strict";t.d(n,{N:function(){return d},p:function(){return r}});var i=t(7566),l=t(67026),s=t(9539);let r=function(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"d MMMM yyyy";return"string"==typeof e&&(0,i.J)(new Date(e))?(0,l.WU)(new Date(e),n):e instanceof Date?(0,l.WU)(e,n):""},d=e=>"string"==typeof e&&(0,i.J)(new Date(e))?(0,s.A)(new Date(e),new Date):e instanceof Date&&(0,s.A)(e,new Date)},63653:function(e,n,t){"use strict";t.r(n),t.d(n,{FundPerformancePage:function(){return p},__N_SSG:function(){return T}});var i=t(49878),l=t(55281),s=t(11901),r=t(70164),d=t(33637),c=t(84790),a=t(92240),o=t(65738),h=t(40629),x=t(9026),u=t(36994),j=t(57722),f=t(61522),g=t(87493),m=t(59841),v=t(63228),T=!0;let p=e=>{let{footerCTAData:n,funds:t,pageData:T}=e;return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)(g.D,{title:(null==T?void 0:T.title)||"Fund Performance",description:null==T?void 0:T.ogDescription,children:[(0,i.jsxs)(a.A,{isRounded:!0,children:[(0,i.jsx)(d.t,{}),(0,i.jsx)(function(e){let{...n}=e;return(0,i.jsx)(u.$,{palette:"default",size:"xs",...n,children:(0,i.jsxs)("div",{className:"container",children:[(0,i.jsxs)(h.V,{size:"xl",isCentered:!0,className:"mt-8 text-center lg:mt-10",children:[(0,i.jsx)(x.X,{level:1,children:null==T?void 0:T.heroHeading}),(0,i.jsx)(o.s,{className:"mt-4 lg:mt-6",typographyLevel:"lg",data:null==T?void 0:T.heroContentRaw})]}),(0,i.jsx)(h.V,{size:"xl",isCentered:!0,className:"mt-8 lg:mt-12",children:(0,i.jsx)("div",{className:"flex justify-center",children:(0,i.jsx)(m.p,{})})})]})})},{})]}),(0,i.jsxs)(u.$,{children:[(0,i.jsx)(function(){return(0,i.jsxs)("div",{className:"container",children:[(0,i.jsx)(x.X,{level:3,children:null==T?void 0:T.fundPerformanceHeading}),(0,i.jsx)(o.s,{className:"mt-2 lg:mt-4",data:null==T?void 0:T.fundPerformanceContentRaw}),(0,i.jsxs)(f.Z,{className:"mt-2 lg:mt-4",level:"sm",children:["Performance as of"," ",(0,v.p)(null==T?void 0:T.fundPerformanceLastUpdated,"dd MMMM yyyy")]})]})},{}),(0,i.jsx)(function(){return(0,i.jsx)("div",{className:"container",children:(0,i.jsx)(j.FX,{className:"mt-4 lg:mt-8",children:(0,i.jsxs)(j.iA,{isStriped:!0,isBordered:!0,isPadded:!0,children:[(0,i.jsx)(j.hr,{children:(0,i.jsxs)(j.Tr,{children:[(0,i.jsx)(j.Th,{className:"min-w-[12rem]",children:"Fund name"}),(0,i.jsx)(j.Th,{textAlign:"right",children:"3M"}),(0,i.jsx)(j.Th,{textAlign:"right",children:"1Y"}),(0,i.jsx)(j.Th,{textAlign:"right",children:"3Y"}),(0,i.jsx)(j.Th,{textAlign:"right",children:"5Y"}),(0,i.jsx)(j.Th,{textAlign:"right",children:"Since inception"}),(0,i.jsx)(j.Th,{textAlign:"right",children:"Fund Mgmt Fee"})]})}),(0,i.jsx)(j.p3,{children:null==t?void 0:t.map(e=>{var n,t,s;let{_id:r,title:d,avatarImage:a,inceptionDate:o,fundThreeMonthPerformance:h,fundOneYearPerformance:x,fundThreeYearsPerformance:u,fundFiveYearsPerformance:g,fundSinceInceptionPerformance:m,fundManagementFee:T}=e;return(0,i.jsxs)(j.Tr,{children:[(0,i.jsx)(j.Td,{children:(0,i.jsxs)("div",{className:"flex items-center md:space-x-6",children:[(0,i.jsx)("div",{className:"hidden self-start md:block",children:(0,i.jsx)(c.q,{src:null===(t=(0,l.zK)(a))||void 0===t?void 0:null===(n=t.size(96,96))||void 0===n?void 0:n.url(),width:48,height:48,alt:(null==a?void 0:null===(s=a.asset)||void 0===s?void 0:s.altText)||""})}),(0,i.jsxs)("div",{children:[(0,i.jsx)(f.Z,{level:"bold",children:d}),(0,i.jsxs)(f.Z,{level:"xs",color:"base-600",children:["Inception date:"," ",(0,v.p)(o,"dd MMMM yyyy")]})]})]})}),(0,i.jsx)(j.Td,{textAlign:"right",children:h}),(0,i.jsx)(j.Td,{textAlign:"right",children:x}),(0,i.jsx)(j.Td,{textAlign:"right",children:u}),(0,i.jsx)(j.Td,{textAlign:"right",children:g}),(0,i.jsx)(j.Td,{textAlign:"right",children:m}),(0,i.jsx)(j.Td,{textAlign:"right",children:T})]},r)})})]})})})},{})]})]}),(0,i.jsx)(r.D,{data:n,heading:null==T?void 0:T.footerCTAHeading,content:null==T?void 0:T.footerCTAContentRaw,buttonText:null==T?void 0:T.footerCTAButtonText,href:null==T?void 0:T.footerCTALink}),(0,i.jsx)(s.q,{})]})};n.default=p}},function(e){e.O(0,[4822,4755,1368,4409,2081,629,331,4903,668,2888,9774,179],function(){return e(e.s=64140)}),_N_E=e.O()}]);