1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6113],{9632:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/[channel]/section/[section]/[...taxonomy]",function(){return n(4456)}])},1511:function(e,t,n){"use strict";n.d(t,{Z:function(){return b}});var c=n(5893),a=n(7294),r=n(5591),s=n(9008),i=n.n(s),l=n(1163),o=n(963),d=n(5357),u=n(4345),h=n(8420),x=n(5152),f=n.n(x);let j=f()(()=>Promise.resolve().then(n.bind(n,8420)),{loadableGenerated:{webpack:()=>[8420]}}),p=f()(()=>n.e(8350).then(n.bind(n,8350)),{loadableGenerated:{webpack:()=>[8350]}}),m=e=>{let{title:t,description:n,imageURL:a}=e;return a?(0,c.jsx)(c.Fragment,{children:(0,c.jsx)(p,{index:1,headline:t,excerpt:n,imageData:{url:a}})}):(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)("header",{className:"article-section--title article-section--title--full-width article-section--title--has-border",children:(0,c.jsx)("h1",{className:"page-hdr",children:t})}),n&&(0,c.jsx)(j,{children:(0,c.jsx)("p",{className:"article-lede",children:n})})]})};var w=n(3372),g=n(6681),v=n(6075);let _=e=>{let{taxData:t,channel:n,termData:s}=e,{query:x,asPath:f}=(0,l.useRouter)(),[j,p]=(0,a.useState)(1),{taxonomy:_}=x,{links:b}=t,k="",N="";if(_&&!x.channel){let e=f.substring(1).split("/");"news"===e[0]&&e.shift(),k=e[0],N=e[1]}else k=(null==_?void 0:_[0])?_[0]:"",N=(null==_?void 0:_[1])?_[1]:"";let{previous:y,next:E}=b,{name:F,description:P,imageURL:Z,id:U}=s||{},D=[{type:k,slug:N}],O=async e=>{try{let t=await fetch("".concat(w.T5,"/stories?limit=20&content=false&").concat(e));if(t.ok)return await t.json();throw"Error fetching stories"}catch(e){throw"Error fetching stories"}},R=n?"&sources=".concat(n):"",T="".concat(k,"=").concat(N).concat(R,"&page=").concat(j),{data:B,isLoading:C}=(0,r.ZP)(T,O,{fallbackData:t,revalidateOnFocus:!1,revalidateOnMount:!1});return y=B.links.previous,E=B.links.next,(0,a.useEffect)(()=>{E&&(0,r.MA)("".concat(k,"=").concat(N).concat(R,"&page=").concat(j+1),O)},[j]),(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(i(),{children:(0,c.jsx)("title",{children:F?"".concat(F," | WBUR"):"WBUR"})}),(0,c.jsx)(o.Z,{rtype:k,id:U,children:(0,c.jsxs)("article",{className:"article",children:[(0,c.jsx)(m,{title:F,description:P,imageURL:Z}),(0,c.jsx)("span",{id:"zone"}),!B&&(0,c.jsx)("section",{className:"article-section--content article-section--centered article-section--page-intro",children:(0,c.jsx)("p",{children:"No stories found :("})}),C?(0,c.jsx)(g.Z,{type:"box"}):(0,c.jsx)(u.default,{index:1,contentItems:B.body,endsWith:"adBanner",routeType:"taxonomy",source:n,taxonomy:D,name:"taxonomy-archive"}),(0,c.jsx)(h.default,{children:(0,c.jsx)(d.Z,{previousUrl:y,nextUrl:E,setPage:p,classes:"row row--river row--centered",onClickFunc:v.k3})})]})})]})};var b=_},4456:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSP:function(){return s}});var c=n(5893),a=n(1511);let r=e=>{let{taxData:t,channel:n,tax:r}=e;return(0,c.jsx)(c.Fragment,{children:(0,c.jsx)(a.Z,{taxData:t,channel:n,termData:t.context[r]})})};var s=!0;t.default=r}},function(e){e.O(0,[5761,5945,8977,9774,2888,179],function(){return e(e.s=9632)}),_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.