1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4834],{5933:function(e,t,s){Promise.resolve().then(s.bind(s,8550))},6463:function(e,t,s){"use strict";var a=s(1169);s.o(a,"useParams")&&s.d(t,{useParams:function(){return a.useParams}}),s.o(a,"usePathname")&&s.d(t,{usePathname:function(){return a.usePathname}}),s.o(a,"useRouter")&&s.d(t,{useRouter:function(){return a.useRouter}}),s.o(a,"useSearchParams")&&s.d(t,{useSearchParams:function(){return a.useSearchParams}})},2563:function(e,t,s){"use strict";s.d(t,{Z:function(){return i}});var a=s(7437),n=s(2265);function i(){return(0,n.useEffect)(()=>{let e=document.createElement("script");return e.src="https://www.dianomi.com/js/contextfeed.js",e.async=!0,document.body.appendChild(e),()=>{document.body.removeChild(e)}},[]),(0,a.jsx)("section",{className:"container",children:(0,a.jsx)("div",{className:"flex-1",children:(0,a.jsx)("div",{className:"dianomi_context","data-dianomi-context-id":"1302"})})})}},8550:function(e,t,s){"use strict";s.r(t),s.d(t,{default:function(){return b}});var a=s(7437),n=s(7832),i=s(6648),c=s(2265),l=s(6463),r=s(7780),d=s(2563),o=s(1287),u=s(1536),m=s(7138),h=s(3463),x=s(5567),f=s.n(x),g=function(e){let{image:t,title:s,content:c,date:l,tag:r,path:d}=e;return(0,a.jsx)(m.default,{href:"/news/".concat(d),children:(0,a.jsx)(n.Zb,{className:"p-5",children:(0,a.jsxs)("div",{className:"flex-col",children:[(0,a.jsx)(i.default,{src:t,alt:"card-img",priority:!1,width:300,height:180,className:"mx-auto",loading:"lazy"}),(0,a.jsx)("div",{className:"my-5",children:l}),(0,a.jsx)("div",{className:"ct-sub-heading--h6",children:s}),(0,a.jsx)("div",{className:"".concat(f().card_content," my-5 opacity-80"),children:(0,h.ZP)(c)}),(0,a.jsx)("div",{className:"bg-[#333] text-white px-2 py-1 rounded-md text-xs ct-font-weight-500 w-fit",children:"Featured"===r?r:"Sponsor Content"})]})})})},j=s(7043),p=s(7305),v=s(2642),w=s(4817);function N(){let e=(0,l.useSearchParams)(),t=e.get("s"),s=e.get("type"),[m,h]=(0,c.useState)(!1),[x,f]=(0,c.useState)(null!=t?t:""),[N,b]=(0,c.useState)(!1),{loading:y,featuredContent:_,sponsoredContent:A,newsLetter:S,posts:C,newsHero:k,currentPage:E,totalPages:P,fetchNews:Z,searchNews:I,seoDetails:z}=(0,u.K)(),T=C.slice(0,6),F=C.slice(6),M=()=>{x&&(h(!0),I(x),window.scrollTo({top:0,behavior:"smooth"}))};(0,c.useEffect)(()=>{t?(h(!0),I(t,null!=s?s:""),f(t)):(h(!1),Z(),f(""))},[t,Z,I,s]);let R=(0,v.Z)(E,P,()=>{h(!1),b(!0),Z(E+1,null!=t?t:"",null!=s?s:"")},()=>{h(!1),b(!0),Z(E-1,null!=t?t:"",null!=s?s:"")},"Latest News","Older News");return((0,c.useEffect)(()=>{var e;document.title=z.title,null===(e=document.querySelector('meta[name="description"]'))||void 0===e||e.setAttribute("content",z.description)},[z]),(0,c.useEffect)(()=>{window.scrollTo(0,0)},[y]),(0,c.useEffect)(()=>{let e=document.querySelector(".news_section");e&&!y&&N&&(e.scrollIntoView({behavior:"smooth"}),b(!1))},[E,N,y]),y)?(0,a.jsx)("div",{className:"flex h-[60vh] w-full justify-center items-center loader",children:(0,a.jsx)(n._3,{ariaLabel:"Progress Circle",id:"Progress",indeterminateMode:!0,maxValue:150,minValue:50,size:"default",value:100,variant:"default"})}):(0,a.jsxs)("div",{className:"flex-col ct-container w-full news_container",children:[(0,a.jsx)(r.Z,{title:m?'Searched: "'.concat(x,'"'):"Sovereign Wealth Fund Institute \xae News",subtitle:"Institutional Investor and Sovereign Wealth Fund News Stories",locations:[{name:"News",link:"/news"}]}),(0,a.jsxs)("div",{className:"mb-20 news_section",children:[(0,a.jsx)("div",{className:"my-5",children:P>1&&(0,a.jsx)("div",{className:"my-5",children:R()})}),(0,a.jsxs)("div",{className:"border-b flex items-center justify-between border-black p-3",children:[(0,a.jsx)("div",{className:"ct-h4",children:"Current News"}),0!==P&&(0,a.jsxs)("div",{children:["Page ",E," of ",P]})]}),y?(0,a.jsx)("div",{className:"w-full flex justify-center",children:(0,a.jsx)(n._3,{maxValue:150,minValue:50,value:100,indeterminateMode:!0,variant:"default"})}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("div",{className:"my-5 grid grid-cols-1 lg:grid-cols-2 gap-20",children:[_&&(0,a.jsx)(g,{content:_.content,title:_.title,date:_.date,image:_.image,tag:"Featured",path:"".concat(_.id,"/").concat(_.slug)},_._id),A&&(0,a.jsx)(g,{content:A.content,title:A.title,date:A.date,image:A.image,tag:"Sponsored",path:"".concat(A.id,"/").concat(A.slug)},A._id)]}),(0,a.jsx)("div",{className:"mt-10 grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 sm:gap-10 lg:gap-20 gap-y-10",children:T.map(e=>(0,a.jsx)(j.Z,{title:e.title,image:e.imgMedium,date:e.date,path:"".concat(e.id,"/").concat(e.slug)},e._id))}),(0,a.jsx)("div",{className:"my-14",children:k&&(0,a.jsx)(p.r,{...k})}),(0,a.jsxs)("div",{className:"mt-10 grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 sm:gap-10 lg:gap-20 gap-y-10",children:[F.map(e=>(0,a.jsx)(j.Z,{title:e.title,image:e.imgMedium,date:e.date,path:"".concat(e.id,"/").concat(e.slug)},e._id)),S&&(0,a.jsx)(w.Z,{newsLetter:S,isNews:!0})]})]}),(0,a.jsx)("div",{className:"my-5",children:P>1&&(0,a.jsx)("div",{className:"my-5",children:R()})})]}),(0,a.jsxs)("div",{className:"my-20 w-4/6 mx-auto",children:[(0,a.jsx)("div",{className:"ct-h4 ct-font-we
1ight-400",children:"Search news stories"}),(0,a.jsxs)("div",{className:"flex items-center my-5 gap-5 justify-between",children:[(0,a.jsx)("div",{className:"w-full",children:(0,a.jsx)(n.nv,{size:"large",id:"search-profile",label:"",value:x,onChange:f})}),(0,a.jsx)("div",{role:"button",className:"bg-primary-red p-3 rounded-md",tabIndex:0,onClick:M,onKeyDown:e=>{"Enter"===e.key&&M()},children:(0,a.jsx)(i.default,{src:o.Z,alt:"search",className:"w-6"})})]})]}),(0,a.jsx)(d.Z,{})]})}function b(){return(0,a.jsx)(c.Suspense,{children:(0,a.jsx)(N,{})})}},3200:function(e,t,s){"use strict";s.d(t,{Z:function(){return d}});var a=s(7437),n=s(6648),i=s(7138),c=s(7530),l=s.n(c),r={src:"/_next/static/media/advertisement.93db9cf3.png",height:492,width:820,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAFCAMAAABPT11nAAAAS1BMVEUmKR6AcU7m1rawd0QeIRqEWDJ3YD46NCQHEQ92UzFJRjBaUjlpWDkbHhZJQCw1MCFmRB/b5OrWnXHavKXUllrvyZ3t8+2McUfcr3AseM+oAAAACXBIWXMAAA7BAAAOwQG4kWvtAAAAMklEQVR4nAXBBwKAIAwAsWO2BZXhgP+/1ITtlv/ergSyH7dFDPfMkCJIzclEEcpxtVN/IxsBcoymIMsAAAAASUVORK5CYII=",blurWidth:8,blurHeight:5};function d(){return(0,a.jsx)(i.default,{href:"/demo",children:(0,a.jsxs)("div",{className:"mt-8 p-5 bg-[#eee]",children:[(0,a.jsx)(n.default,{src:r,alt:"Get a SWFI demo advertisement banner",priority:!1,loading:"lazy"}),(0,a.jsx)("div",{className:"".concat(l().advertisement),children:"ADVERTISEMENT"})]})})}},7780:function(e,t,s){"use strict";s.d(t,{Z:function(){return c}});var a=s(7437),n=s(7832),i=s(3200);function c(e){let{title:t,subtitle:s,subtitle2:c,locations:l=[],buttonName:r="",buttonAction:d=()=>{},buttonName2:o="",buttonAction2:u=()=>{},showAdvertisement:m=!0,titleAdditionalClass:h=""}=e;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("div",{className:"py-16 ct-container px-auto w-full lg:w-8/12",children:[(0,a.jsx)("div",{className:"ct-h2 leading-tight text ".concat(h),children:t}),s&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:"h-[1px] bg-[#dedede] my-10"}),(0,a.jsx)("div",{className:"ct-h3 leading-tight ct-font-weight-400",children:s})]}),c&&(0,a.jsx)("div",{className:"text-lg mt-10 mb-5",children:c}),(0,a.jsxs)("div",{className:"flex flex-col md:flex-row flex-wrap items-center gap-6 lg:gap-10",children:[r&&(0,a.jsx)(n.zx,{className:"mt-5 md:my-5",onClick:()=>{d&&d()},children:r}),o&&(0,a.jsx)(n.zx,{className:"md:my-5",style:{backgroundColor:"white",color:"black",border:"1px solid black"},onClick:()=>{u&&u()},children:o})]}),m&&(0,a.jsx)(i.Z,{})]}),l.length>0&&(0,a.jsx)("div",{className:"mb-16 ct-container flex justify-center",children:(0,a.jsxs)(n.aG,{active:!0,dividerType:"slash",children:[(0,a.jsx)(n.gN,{href:"/",children:(0,a.jsx)("div",{className:"underline text-primary-red",children:"Home"})}),l.map(e=>(0,a.jsx)(n.gN,{href:e.link,children:(0,a.jsx)("div",{className:"underline text-primary-red",children:e.name})},e.link))]})})]})}},7305:function(e,t,s){"use strict";s.d(t,{r:function(){return c}});var a=s(7437),n=s(7832),i=s(7138);function c(e){let{hero_background_image:t,hero_heading:s,hero_description:c,hero_buttons:l}=e;return(0,a.jsx)("div",{className:"p-8 lg:p-20 bg-blend-darken bg-cover rounded-md",style:{backgroundImage:"linear-gradient(to right, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.2)), url(".concat(t,")")},children:(0,a.jsxs)("div",{className:"md:w-7/12",children:[(0,a.jsx)("div",{className:"ct-h2 leading-tight text-white",children:s}),(0,a.jsx)("div",{className:"text-white leading-snug my-8 text-2xl",children:c}),(0,a.jsx)("div",{className:"flex flex-col sm:flex-row items-center gap-5",children:l.map(e=>(0,a.jsx)(i.default,{href:e.button_link,children:(0,a.jsxs)(n.zx,{children:[(0,a.jsx)("span",{className:"sr-only",children:"Click here to "}),e.button_text]})},e.button_link))})]})})}},7043:function(e,t,s){"use strict";var a=s(7437),n=s(7832),i=s(6648),c=s(7138);t.Z=function(e){let{image:t,title:s,date:l,path:r,isMediaReleases:d=!1}=e;return(0,a.jsx)(c.default,{href:"".concat(d?"/media-releases/":"/news/").concat(r),children:(0,a.jsx)(n.Zb,{className:"p-5 w-5/6 mx-auto sm:w-full sm:mx-0",children:(0,a.jsxs)("div",{className:"flex-col",children:[(0,a.jsx)(i.default,{src:t,alt:"card-img",priority:!1,width:300,height:0,loading:"lazy",className:"h-[180px]"}),(0,a.jsx)("div",{className:"my-5",children:l}),(0,a.jsx)("div",{className:"ct-sub-heading--h6",children:s})]})})})}},4817:function(e,t,s){"use strict";var a=s(7437),n=s(7832),i=s(2265),c=s(35),l=s.n(c);t.Z=function(e){let{newsLetter:t,isNews:s=!1}=e,[c,r]=(0,i.useState)(!1),[d,o]=(0,i.useState)(""),[u,m]=(0,i.useState)(""),[h,x]=(0,i.useState)(""),f=async()=>{try{r(!0);let e=await fetch("".concat("https://revamp.swfi.com","/public-fund-monitor"),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:h})}
1),t=await e.json();(null==t?void 0:t.field_errors)?(m(""),o(t.field_errors[0].reason),setTimeout(()=>{o("")},3e3)):(null==t?void 0:t.email)&&(o(""),m("Your response has been recorded. Thank you for subscribing to our newsletter."),setTimeout(()=>{m("")},3e3))}catch(e){}finally{r(!1)}};return(0,a.jsxs)("div",{className:"".concat(s?"max-h-[500px]":"my-10 mb-40"),children:[t&&(0,a.jsxs)(n.Zb,{className:"".concat(l().news_signup),children:[(0,a.jsx)("div",{className:"text-white ct-h4 font-semibold",children:t.newsletter_sign_up_title}),(0,a.jsx)("div",{className:"w-full -mb-5",children:(0,a.jsx)(n.nv,{id:"news-email",labelClass:"text-white",label:"Your Email:",variant:"conversational",value:h,onChange:x,size:"large",required:!0})}),(0,a.jsx)(n.zx,{onClick:f,className:"w-full",children:c?"Submitting...":t.newsletter_sign_up_button_text})]}),(0,a.jsxs)("div",{className:"my-10",children:[d&&(0,a.jsx)(n.CO,{description:d,title:"Error",variant:"error"}),u&&(0,a.jsx)(n.CO,{description:u,title:"Success",variant:"success"})]})]})}},2642:function(e,t,s){"use strict";var a=s(7437),n=s(7832),i=s(2265);t.Z=(e,t,s,c,l,r)=>(0,i.useCallback)(()=>{switch(e){case 1:return(0,a.jsx)("div",{className:"flex-1",children:(0,a.jsx)(n.zx,{buttonStyle:"black",onClick:s,className:"mx-auto",children:r})});case t:return(0,a.jsx)("div",{className:"flex-1",children:(0,a.jsx)(n.zx,{buttonStyle:"black",onClick:c,className:"mx-auto",children:l})});default:return(0,a.jsxs)("div",{className:"flex w-full justify-around",children:[(0,a.jsx)(n.zx,{buttonStyle:"black",onClick:c,className:"mx-auto",children:l}),(0,a.jsx)(n.zx,{buttonStyle:"black",onClick:s,className:"mx-auto",children:r})]})}},[e,s,r,t,c,l])},1536:function(e,t,s){"use strict";s.d(t,{K:function(){return l},NewsProvider:function(){return c}});var a=s(7437),n=s(2265);let i=(0,n.createContext)({loading:!1,featuredContent:null,sponsoredContent:null,newsLetter:null,posts:[],newsHero:null,currentPage:1,totalPages:0,fetchNews(){throw Error("Function not implemented.")},searchNews(){throw Error("Function not implemented.")},seoDetails:{title:"",description:""}});function c(e){let{children:t}=e,[s,c]=(0,n.useState)(!1),[l,r]=(0,n.useState)(null),[d,o]=(0,n.useState)(null),[u,m]=(0,n.useState)(null),[h,x]=(0,n.useState)([]),[f,g]=(0,n.useState)(null),[j,p]=(0,n.useState)(1),[v,w]=(0,n.useState)(0),[N,b]=(0,n.useState)({title:"",description:""}),y=(0,n.useCallback)(async function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,t=arguments.length>1?arguments[1]:void 0,s=arguments.length>2?arguments[2]:void 0;c(!0);let a="".concat("https://v2.swfinstitute.org/api","/news").concat(t?"?s=".concat(t):"").concat(s?"&type=tag&":"");1!==e&&(a="".concat("https://v2.swfinstitute.org/api","/news?").concat(t?"s=".concat(t):"").concat(s?"&type=tag&":"","page=").concat(e));try{let e=await fetch(a,{method:"GET",headers:{"Content-Type":"application/json"}}),t=await e.json();p(t.data.currentPage),w(t.data.totalPages),o(t.data.sponsored[0]),r(t.data.featured[0]),x(t.data.posts),m(t.data.newsletter),g(t.data.wp.news_hero[0]),b({title:t.title,description:t.metaDescription})}catch(e){}finally{c(!1)}},[]),_=(0,n.useCallback)(async(e,t)=>{c(!0);let s="".concat("https://v2.swfinstitute.org/api","/news?s=").concat(e).concat(t?"&type=tag":"");try{let e=await fetch(s,{method:"GET",headers:{"Content-Type":"application/json"}}),t=await e.json();p(t.data.currentPage),w(t.data.totalPages),o(t.data.sponsored[0]),r(t.data.featured[0]),x(t.data.posts),m(t.data.newsletter),g(t.data.wp.news_hero[0]),b({title:t.title,description:t.metaDescription})}catch(e){}finally{c(!1)}},[]);(0,n.useEffect)(()=>{y()},[y]);let A=(0,n.useMemo)(()=>({loading:s,featuredContent:l,sponsoredContent:d,newsLetter:u,posts:h,newsHero:f,currentPage:j,totalPages:v,seoDetails:N,fetchNews:y,searchNews:_}),[s,l,d,u,h,f,j,v,N,y,_]);return(0,a.jsx)(i.Provider,{value:A,children:t})}let l=()=>(0,n.useContext)(i)},35:function(e){e.exports={card_content:"news_card_content__rJi_R",card_content2:"news_card_content2__srKJu",news_signup:"news_news_signup__5F9vy"}},7530:function(e){e.exports={advertisement:"headingsection_advertisement__WfpbB"}},5567:function(e){e.exports={card_content:"newscard_card_content__WRB3H"}},1287:function(e,t){"use strict";t.Z={src:"/_next/static/media/search.4b6dcc0a.svg",height:100,width:100,blurWidth:0,blurHeight:0}}},function(e){e.O(0,[8573,9620,6648,7138,3463,2971,7023,1744],function(){return e(e.s=5933)}),_N_E=e.O()}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.