PageSourceSearch

https://www.irishfunds.ie/_next/static/chunks/431.fea5dd7c99b5aca9.js

js irishfunds.ie collected 2026-10-02 10:12:21 UTC 9,477 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[431],{982:e=>{e.exports={tabs:"styles_tabs__yb1Zy",tabItem:"styles_tabItem__cxtz8",activeTab:"styles_activeTab__s3nqM",alphabet:"styles_alphabet__bX9jh"}},1747:e=>{e.exports={dropdown:"styles_dropdown__AjkAK"}},2165:e=>{e.exports={pagination:"styles_pagination__xSkwB",active:"styles_active__IPVAo",orange:"styles_orange__fUylC",disabled:"styles_disabled__jBCQN",prev:"styles_prev__AdoOH",next:"styles_next__Sf7K3",paginationResources:"styles_paginationResources__Vrbrs"}},5385:e=>{e.exports={banner:"styles_banner__pgk_K",heading:"styles_heading__c6lKG",searchField:"styles_searchField__J6wKY",field:"styles_field__K4n27",icon:"styles_icon__Oqd13",publications:"styles_publications__xBYl_",publicationsList:"styles_publicationsList__SR9U3",tabs:"styles_tabs__2oxDc",filterBy:"styles_filterBy__tjfAg"}},5553:e=>{e.exports={publicationsListing:"styles_publicationsListing__QlYt8"}},5752:e=>{e.exports={relatedPublications:"styles_relatedPublications__t7jcj",publications:"styles_publications__mCm4q",heading:"styles_heading__y5p24",description:"styles_description__ZKHTo",publication:"styles_publication__OCECo",button:"styles_button___QrJp"}},7051:(e,t,s)=>{"use strict";s.d(t,{A:()=>r});var n=s(7876),i=s(1747),a=s.n(i),l=s(3848),c=s(4232);function r({options:e,className:t,onChange:s,value:i}){let r=(0,c.useRef)(null),[o,u]=(0,c.useState)();return(0,c.useEffect)(()=>{u(function(e,t){var s,n=document.createElement("div");if((s=a())&&"object"==typeof s&&!Array.isArray(s))for(var i=Object.keys(a()),l=0,c=i.length;l<c;++l)n.style[i[l]]=a()[i[l]];n.style.display="inline-block",n.innerHTML=e,document.body.appendChild(n);var r=n.offsetWidth;return document.body.removeChild(n),r+60}(r.current.value,0))},[i]),(0,n.jsxs)("div",{className:`${a().dropdown} ${t}`,children:[(0,n.jsxs)("select",{ref:r,style:{width:o},className:a().select,onChange:e=>s(e.target.value),value:i||void 0,children:[(0,n.jsx)("option",{disabled:!0,hidden:!0}),e&&e.map((e,t)=>"object"==typeof e?(0,n.jsx)("option",{value:e.value,children:e.name},t):(0,n.jsx)("option",{value:e,children:e},t))]}),(0,n.jsx)(l.A,{name:"chevron-down"})]})}},7057:(e,t,s)=>{"use strict";s.d(t,{WQ:()=>p,dK:()=>o});var n=s(7876),i=s(4232),a=s(3525),l=s(2165),c=s.n(l),r=s(3848);function o({controller:e,theme:t="green",firstLast:s}){let i=d(e.page,e.pages);return(0,n.jsxs)("div",{className:`${c().pagination} ${c()[t]}`,children:[s&&(0,n.jsx)("span",{onClick:()=>e.goTo(1),className:`${c().prev} ${e.page<=1?c().disabled:null}`,children:(0,n.jsx)(r.A,{name:"double-chevron"})}),(0,n.jsx)("span",{onClick:e.prev,className:`${c().prev} ${e.page<=1?c().disabled:null}`,children:s?(0,n.jsx)(r.A,{name:"pagination-chevron"}):"Prev"}),i.map((t,s)=>"..."===t?null:(0,n.jsx)("span",{className:t===e.page?c().active:null,onClick:t!==e.page?()=>e.goTo(t):null,children:t},s)),(0,n.jsx)("span",{onClick:e.next,className:`${c().next} ${e.page>=e.pages?c().disabled:null}`,children:s?(0,n.jsx)(r.A,{name:"pagination-chevron"}):"Next"}),s&&(0,n.jsx)("span",{onClick:()=>e.goTo(e.pages),className:`${c().next} ${e.page>=e.pages?c().disabled:null}`,children:(0,n.jsx)(r.A,{name:"double-chevron"})})]})}let u=(e,t)=>Array(t-e+1).fill().map((t,s)=>s+e),d=(e,t)=>{let s,n=(0,a.dv)(),i={start:Math.round(e-(s=t<=7?7:n>a.EX?4:2)/2),end:Math.round(e+s/2)};return(i.start-1==1||i.end+1===t)&&(i.start+=1,i.end+=1),e>s?u(Math.min(i.start,t-s),Math.min(i.end,t)):u(1,Math.min(t,s+1))};function p(e){let[t,s]=(0,i.useState)([]),[n,a]=(0,i.useState)(e.page||1),[l,c]=(0,i.useState)(1),[r,o]=(0,i.useState)(!0);return(0,i.useEffect)(()=>{if(!e.entries||!e.entries.length)return s([]),()=>{};let t=(n-1)*e.limit,i=t+e.limit;s(e.entries.slice(t,i)),c(Math.ceil(e.entries.length/e.limit)),e.scrollRef&&!r&&e.scrollRef.current.scrollIntoView({behavior:"smooth"}),r&&o(!1)},[e.entries,n]),{entries:t,page:n,pages:l,prev:()=>{if(n-1<1)return null;a(e=>e-1)},next:()=>{if(n+1>l)return null;a(e=>e+1)},goTo:e=>{if(e<1||e>l)return null;a(e)}}}},8014:(e,t,s)=>{"use strict";s.d(t,{A:()=>l,S:()=>c});var n=s(7876),i=s(982),a=s.n(i);function l({contents:e,handleSetTab:t,value:s}){return(0,n.jsx)("div",{className:a().tabs,children:e&&e.map((e,i)=>(0,n.jsx)("button",{onClick:e=>t(e.target.value),value:e,className:`${e===s?a().activeTab:""} ${a().tabItem}`,children:e},i))})}function c({contents:e,handleSetAlphabet:t,value:s}){return(0,n.jsx)("div",{className:a().alphabet,children:e&&e.map((e,i)=>(0,n.jsx)("button",{onClick:e=>t(e.target.value),value:e,className:`${e===s?a().activeTab:""} ${a().tabItem}`,children:e},i))})}},8291:(e,t,s)=>{"use strict";s.d(t,{A:()=>m});var n=s(7876),i=s(3848),a=s(9611),l=s(8839);s(3525),s(8014),s(7051);var c=s(4232),r=s(8578),o=s(7057),u=s(9099),d=s(7843),p=s(5385),h=s.n(p),_=s(2851);function m({heading:e,editable:t}){return(0,n.jsx)("div",{className:h().publicationListing,...t,children:(0,n.jsx)(b,{heading:e})})}function b({heading:e}){let t=(0,a.A)("topics"),s=(0,a.A)("publications-categories"),p=(0,u.useRouter)(),m=(0,d.A)(),[b,x]=(0,c.useState)("Any Category"),[v,g]=(0,c.useState)("Any Topic"),[y,f]=(0,c.useState)([]),[j,A]=(0,c.useState)(""),[N]=(0,l.A)("publication"),C=["Any Topic",...t.map(e=>e.value)],$=["Any Category",...s.map(e=>e.value)],k=(0,o.WQ)({entries:y,limit:14});return(0,c.useEffect)(()=>
1{if(!p.isReady)return()=>{};let e=[];b&&e.push(`category=${b}`),v&&e.push(`topic=${v}`),j&&e.push(`text=${j}`),p.push({pathname:m.full_slug,query:e.join("&")},void 0,{shallow:!0})},[p.isReady,b,v,j]),(0,c.useEffect)(()=>{p.isReady&&(x(p.query.category||"Any Category"),g(p.query.topic||"Any Topic"),A(p.query.text||""))},[p.isReady]),(0,c.useEffect)(()=>{k.goTo(1),("Any Topic"===v||"Any Category"===b)&&f(N.filter(e=>""===j||e.name.toLowerCase().includes(j.toLowerCase())?e:void 0)),("Any Topic"!==v||"Any Category"!==b)&&f(N.filter(e=>e?.content?.categories?.includes(b)||e?.content?.topics?.includes(v)||e.full_slug.includes(`/${(0,_.Yv)(v)}/`)||e.full_slug.includes(`/${(0,_.Yv)(b)}/`)).filter(e=>""===j||e.name.toLowerCase().includes(j.toLowerCase())?e:void 0))},[N,v,j,b]),(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("section",{className:`global-margin block-spacing publicationBanner ${h().banner}`,children:(0,n.jsxs)("div",{className:"container",children:[(0,n.jsx)("h1",{className:h().heading,children:e}),(0,n.jsx)("form",{className:h().searchField,onSubmit:e=>(e.preventDefault(),!1),children:(0,n.jsxs)("div",{className:h().field,children:[(0,n.jsx)("div",{className:h().icon,children:(0,n.jsx)(i.A,{name:"search"})}),(0,n.jsx)("input",{type:"search",className:h().input,name:"text",placeholder:"Search for a publication",autoComplete:"off",onChange:e=>A(e.target.value)})]})})]})}),(0,n.jsxs)("section",{className:`container publications ${h().publications}`,children:[(0,n.jsxs)("div",{className:h().filterBy,children:[(0,n.jsxs)("div",{children:[(0,n.jsx)(i.A,{name:"filter-by"})," Filter by:"]}),(0,n.jsxs)("div",{children:[(0,n.jsxs)("span",{children:[b," ",(0,n.jsx)(i.A,{name:"chevron-down"}),(0,n.jsx)("select",{onChange:e=>x(e.target.value),children:($||[]).map(e=>(0,n.jsx)("option",{value:e,children:e},e))})]}),(0,n.jsxs)("span",{children:[v," ",(0,n.jsx)(i.A,{name:"chevron-down"}),(0,n.jsx)("select",{onChange:e=>g(e.target.value),children:(C||[]).map(e=>(0,n.jsx)("option",{value:e,children:e},e))})]})]})]}),(0,n.jsxs)("div",{className:h().publicationsList,children:[k.entries?.[0]&&k.entries.map((e,t)=>(0,n.jsx)(r.g,{item:e},t)),N?.[0]&&!y?.[0]&&(0,n.jsx)("p",{children:"Sorry, No results."})]}),k.entries?.[0]&&(0,n.jsx)(o.dK,{controller:k,theme:"orange"})]})]})}},8431:(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>c});var n=s(7876),i=s(8291),a=s(5553),l=s.n(a);function c({publications_listing:e}){return(0,n.jsx)("div",{className:l().publicationsListing,children:e?.[0]&&(0,n.jsx)(i.A,{...e[0]})})}},8578:(e,t,s)=>{"use strict";s.d(t,{A:()=>o,g:()=>u});var n=s(7876),i=s(2249),a=s(3848),l=s(8839),c=s(5752),r=s.n(c);function o({heading:e,description:t,topics:s,submissions_and_consultations:c,link:o,editable:d}){let[p]=(0,l.A)("publication"),h=p.filter(e=>e?.content?.topics&&e.content.topics?.includes(s?.[0])),_=p.filter(e=>e?.content?.topics&&e.content.topics?.includes(s?.[1])),m=p.filter(e=>e?.content?.topics&&e.content.topics?.includes(s?.[2])),b=[...new Set([...h.slice(0,8),..._.slice(0,8),...m.slice(0,8)])],x=p.filter(e=>e.content.categories?.includes("Consultation Submissions")),v=b.filter(e=>e.content.categories?.includes("Consultation Submissions")),g=(b?.[0]&&(c?v:b)||(c?x:b)).sort((e,t)=>new Date(e.content.date)-new Date(t.content.date)).reverse();return g?.[0]?(0,n.jsxs)("div",{className:`container block-content-spacing relatedPublications ${r().relatedPublications}`,...d,children:[e&&(0,n.jsx)("h2",{className:r().heading,children:e}),t&&(0,n.jsx)("p",{className:r().description,children:t}),(0,n.jsx)("div",{className:r().publications,children:g.slice(0,8).map((e,t)=>(0,n.jsx)(u,{item:e},t))}),o?.[0]&&(0,n.jsxs)(i.A,{href:o[0],className:`button button--alternative ${r().link}`,children:[o[0].label," ",(0,n.jsx)(a.A,{name:"arrow"})]})]}):null}function u({item:e}){return(0,n.jsxs)("div",{className:`link-box ${r().publication}`,children:[e.name,e?.content?.link?.[0]?(0,n.jsx)(i.A,{href:e.content.link||"/",className:`button ${r().button}`,children:e.content.link[0].label||"View"}):(0,n.jsx)(i.A,{href:e.full_slug||"/",className:`button ${r().button}`,children:"View"})]})}}}]);

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.