1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1570],{48877:e=>{e.exports={loadingContainer:"feedStoryArticle_loadingContainer__Bqa9x",loadingSpinner:"feedStoryArticle_loadingSpinner__ooExU",storyAndArticle:"feedStoryArticle_storyAndArticle__rHYh_",articlesGrid:"feedStoryArticle_articlesGrid__JlVLU",articleCard:"feedStoryArticle_articleCard__fE908",articleImage:"feedStoryArticle_articleImage___ZRy1",articleContent:"feedStoryArticle_articleContent__vOf_i",articleIntroHeading:"feedStoryArticle_articleIntroHeading__XnqB9",articleIntro:"feedStoryArticle_articleIntro__xY5XK",readMoreButton:"feedStoryArticle_readMoreButton__uTkMi",quoteBox:"feedStoryArticle_quoteBox__ijtKl",quote:"feedStoryArticle_quote__VDHRS",noResults:"feedStoryArticle_noResults__59GIc",loadMoreCard:"feedStoryArticle_loadMoreCard__EKtY7",loadMoreContent:"feedStoryArticle_loadMoreContent__9rhEh",loadMoreButton:"feedStoryArticle_loadMoreButton__FPn4P"}},61570:(e,l,t)=>{"use strict";t.r(l),t.d(l,{default:()=>m});var r=t(12115),n=t(48877),o=t.n(n),i=t(90911),a=t(6856),d=t(69467),c=t(63912),s=t(72834),u=t(34399),_=t(95155);let m=function(e){var l,t,n,m,v=e.content,f=v.loadMoreText,x=v.loadMoreButtonText,g=v.learnMoreText,y=v.pageSize,A=v.containerId,S=(0,a.d)(),h=(0,d.Qn)(S.page.id,1,y,A,void 0,void 0,void 0,void 0,void 0,!1,void 0),p=h.data,j=h.isLoading,C=h.size,N=h.setSize;h.error;var M=(0,r.useState)(null),b=M[0],I=M[1],k=(0,r.useState)(0),B=k[0],q=k[1],L=(0,r.useState)(!1),w=L[0],z=L[1],R=(0,r.useState)(null),E=R[0],D=R[1],H=(0,r.useRef)(null),G=(0,r.useRef)([]),K=function(e,l){I(e),q(l),z(!0),D(l)},T=function(e,l){if("ArrowDown"===e.key||"ArrowUp"===e.key){e.preventDefault();var t,r,n=l+("ArrowDown"===e.key?1:-1);n>=0&&n<((null==p||null==(t=p[0])?void 0:t.itemsLoaded)||0)&&G.current[n]&&(null==(r=G.current[n])||r.focus())}};return(0,_.jsxs)("div",{className:o().storyAndArticle,ref:H,children:[j&&!p?(0,_.jsxs)("div",{className:o().loadingContainer,"aria-live":"polite",children:[(0,_.jsx)(u.A,{className:o().loadingSpinner,size:60,thickness:4}),(0,_.jsx)("span",{className:o().srOnly,children:"Loading Stories"})]}):(0,_.jsx)("div",{className:o().articlesGrid,id:"article-content",children:null!=p&&p.length&&null!=(l=p[0])&&null!=(l=l.items)&&l.length?null==p?void 0:p.map(function(e,l){var t;return null==e||null==(t=e.items)?void 0:t.map(function(e,l){var t=e.properties;return(0,_.jsxs)("article",{className:o().articleCard,ref:function(e){G.current[l]=e},tabIndex:0,role:"article","aria-labelledby":"article-title-".concat(l),onKeyDown:function(e){return T(e,l)},children:[(0,_.jsx)("div",{className:o().articleImage,children:(0,_.jsx)(c.A,{image:null==t?void 0:t.image,alt:(null==e?void 0:e.name)||"Story article image",format:"jpg",sizes:[{size:"small",crop:"listingSmall"},{size:"medium",crop:"listingMedium"},{size:"large",crop:"listingLarge"}]})}),(0,_.jsxs)("div",{className:o().articleContent,children:[(0,_.jsx)("h2",{className:o().articleIntroHeading,style:{color:"#".concat(null==t?void 0:t.color)},children:null==e?void 0:e.name}),(null==t?void 0:t.intro)&&(0,_.jsx)(i.A,{text:null==t?void 0:t.intro,className:o().articleIntro}),(0,_.jsx)("button",{className:o().readMoreButton,onClick:function(){return K(e,l)},"aria-describedby":"article-title-".concat(l),children:g||"Read More"})]}),(null==t?void 0:t.quote)&&(0,_.jsx)("div",{className:o().quoteBox,style:{backgroundColor:"#".concat(null==t?void 0:t.color)},role:"blockquote",children:(0,_.jsx)("p",{className:o().quote,children:t.quote})})]},l)})}):(0,_.jsx)("div",{className:o().noResults,role:"alert",children:(0,_.jsx)("p",{children:"No results found."})})}),((null==p||null==(t=p[0])?void 0:t.remainingItems)||0)>0&&(0,_.jsx)("div",{className:o().loadMoreCard,role:"region","aria-label":"Load more stories",children:(0,_.jsxs)("div",{className:o().loadMoreContent,children:[f&&(0,_.jsx)(i.A,{text:f}),(0,_.jsx)("div",{children:(0,_.jsx)("button",{className:o().loadMoreButton,onClick:function(){return N(C+1)},disabled:((null==p||null==(n=p[0])?void 0:n.itemsLoaded)||0)>0&&j,"aria-label":"".concat(x," - Load ").concat(null==p||null==(m
1=p[0])?void 0:m.remainingItems," more articles"),children:x})})]})}),b&&(0,_.jsx)(s.A,{isOpen:w,content:{article:b},onClose:function(){if(z(!1),I(null),null!==E&&G.current[E]){var e;null==(e=G.current[E])||e.focus()}D(null)},onNavigate:function(e){var l,t,r,n,o;q(r="prev"===e?B>0?B-1:((null==p||null==(n=p[0])?void 0:n.itemsLoaded)||0)-1:B<((null==p||null==(o=p[0])?void 0:o.itemsLoaded)||0)-1?B+1:0),null!=p&&null!=(l=p[0])&&null!=(l=l.items)&&l.length&&I(null==p||null==(t=p[0])?void 0:t.items[r])}})]})}}}]);
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.