1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[559],{7238:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/exhibits",function(){return n(5835)}])},1815:function(e,t,n){"use strict";n.d(t,{Y:function(){return h}});var i=n(5893),r=n(9108),l=n(7294),s=n(6748),o=n(2566),u=n(868),d=n(1163);let a=r.ZP.div.withConfig({componentId:"sc-3bdb0fe0-0"})(["margin:","px 0;@media (max-width:","px){display:none;}"],o.hi.marginMed,o.hi.mediaMobileLarge),c=r.ZP.div.withConfig({componentId:"sc-3bdb0fe0-1"})(["display:block;text-decoration:none;a{text-decoration:none;}&:not(:first-child){margin-top:15px;}&:not(:last-child){padding-bottom:15px;border-bottom:2px solid ",";}"],o.O9.deepGreen),h=e=>{let{headings:t}=e,{winWidth:n}=(0,u.l)(),[r,h]=(0,l.useState)(0),x=(0,l.useRef)([]),{query:{slug:v}}=(0,d.useRouter)(),f=(0,l.useCallback)(()=>{let e=window.scrollY;x.current=t.map(e=>{var t;return Number(null===(t=document.getElementById((0,s.l)(e)))||void 0===t?void 0:t.offsetTop)+o.hi.headerHeight-1});let n=x.current.findIndex(t=>e<t);h([0,1].includes(n)?0:-1==n?x.current.length-1:n-1)},[t]);(0,l.useEffect)(()=>{if(f(),n>=o.hi.mediaMobileLarge){var e;null===(e=window)||void 0===e||e.addEventListener("scroll",f)}return()=>{var e;return null===(e=window)||void 0===e?void 0:e.removeEventListener("scroll",f)}},[n,v,f]);let m=t.map((e,t)=>(0,i.jsx)(c,{children:(0,i.jsx)("a",{style:t==r?{color:o.O9.brightOrange}:{},href:"#".concat((0,s.l)(e)),children:e})},t));return(0,i.jsx)(a,{children:m})}},5835:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSG:function(){return f},default:function(){return m}});var i=n(5893),r=n(4011),l=n(6567),s=n(868),o=n(7358),u=n(7206),d=n(3865),a=n(1815),c=n(9e3),h=n(3641);let x=e=>{let{currentExhibits:t,pastExhibits:n}=e,r=e.currentExhibitsText||[],l=e.pastExhibitsText||[],s=[...r,...l].filter(e=>e&&e.style&&"h2"==e.style).map(e=>(0,u.Kv)([e]));return(0,i.jsx)(d.r,{pageTitle:"Exhibits",navContent:(0,i.jsx)(a.Y,{headings:s}),mainContent:(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(c.s,{value:r}),(null==t?void 0:t.length)>0&&(0,i.jsx)(h.r,{items:t}),(0,i.jsx)(c.s,{value:l}),(null==n?void 0:n.length)>0&&(0,i.jsx)(h.r,{items:n})]})})};var v=n(4919),f=!0,m=e=>{var t,n;let{data:d,preview:a}=e,{page:c,siteSettings:h}=(0,o.q)(d,a),f=(null===(t=c.meta)||void 0===t?void 0:t.pageDescription)||(0,u.Kv)([c.currentExhibitsText.find(e=>(null==e?void 0:e.style)=="normal")||c.currentExhibitsText[0]]);return(0,i.jsxs)(s.M,{value:{page:c,siteSettings:h},children:[(0,i.jsx)(v.N,{title:"Exhibits",url:c.slug.current,desc:f,imageObject:null===(n=c.meta)||void 0===n?void 0:n.pageMetaImage}),(0,i.jsx)(r._,{children:(0,i.jsx)(x,{...c})}),a&&(0,i.jsx)(l.r,{slugStr:c.slug.current})]})}}},function(e){e.O(0,[747,106,540,659,888,774,179],function(){return e(e.s=7238)}),_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.