PageSourceSearch

https://www.julieslibraryshow.org/_next/static/chunks/pages/gallery/[continent]/[location]-44f2d65d55f48a05.js

js julieslibraryshow.org collected 2026-09-28 10:20:10 UTC 7,455 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[39],{5621:function(e,n,i){"use strict";i.d(n,{Z:function(){return p}});var t=i(7294),l=i(1161),a=i(3996),r=i(6641),s=i(4768),o=i(9748),c=i(4093),d=i(5893),u=void 0,v=function(e){var n,i,t,l,r=e.items,o=e.handleToggle,c=e.index,v=e.isActive,m=e.hrefPrefix,h=e.asPrefix,f=v?"is-active":"is-inactive";return(null==r?void 0:null===(n=r.children)||void 0===n?void 0:null===(i=n.items)||void 0===i?void 0:i.length)>0&&(0,d.jsxs)("li",{className:"accordion_row",children:[(0,d.jsxs)("button",{className:"accordion_header ".concat(f),onClick:o.bind(u,c),children:[(0,d.jsx)("span",{className:"accordion_title",children:r.title}),(0,d.jsx)(s.Z,{name:"chevronDown"})]}),(0,d.jsx)("ul",{className:"accordion_section ".concat(f),children:null==r?void 0:null===(t=r.children)||void 0===t?void 0:null===(l=t.items)||void 0===l?void 0:l.map(function(e){return(0,d.jsx)("li",{className:"accordion_subRow",children:(0,d.jsx)(a.rU,{className:"accordion_link",href:"/".concat(m),as:"/".concat(h&&"".concat(h,"/")).concat(e.canonicalSlug),children:e.title},e.id)},e.id)})})]})},m=function(e){var n=e.items,i=e.defaultActive,l=e.hrefPrefix,a=e.asPrefix,r=(0,t.useState)(n.map(function(e,t){return i<0&&t===n.length+i||i>=0&&t===i})),s=r[0],o=r[1];function c(e){o(s.map(function(n,i){return i===e&&!1===s[i]}))}return(0,d.jsx)("ul",{className:"accordion",children:n.map(function(e,n){return(0,d.jsx)(v,{hrefPrefix:l,asPrefix:a,items:e,handleToggle:c,index:n,isActive:s[n]},e.id)})})},h=function(e){var n=(0,t.useState)(!1),i=n[0],l=n[1];return(0,d.jsxs)("div",{className:"filter",children:[(0,d.jsxs)("button",{className:"filter_header",onClick:function(){l(!i)},children:[(0,d.jsx)(s.Z,{name:"filter",elementClass:"filter_icon"}),(0,d.jsxs)("span",{className:"filter_title",children:[e.titlePrefix," Filters"]})]}),(0,d.jsx)("div",{className:"filter_body ".concat(i?"is-visible":"is-hidden"),children:e.body})]})},f=i(1842),g=i(2339),p=function(e){var n,i,u,v,p,x,j,b=e.galleryLocationList,y=e.galleryList,N=e.location,P=e.continent,w=(0,t.useContext)(o.Z),_=N?"Organ Photo Gallery: ".concat(y.title):"Organ Photo Gallery",C=N?"gallery/[continent]/[location]/page/[pageNum]":"gallery/page/[pageNum]",O=N?"gallery/".concat(P,"/").concat(N,"/page"):"gallery/page";return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(c.Z,{title:_,fullSlug:"gallery",doNotCrawl:y.doNotCrawl}),(0,d.jsxs)("section",{className:"section",children:[(0,d.jsx)("div",{className:"pageHeader",children:(0,d.jsx)(a.X6,{level:1,className:"hdg hdg-1 hdg-onBg",children:_})}),(0,d.jsxs)("div",{className:"collection",children:[(0,d.jsx)("div",{className:"collection_sidebar",children:(null==b?void 0:null===(i=b.children)||void 0===i?void 0:null===(u=i.items)||void 0===u?void 0:u.length)&&(0,d.jsx)("div",{className:"section",children:(0,d.jsx)(h,{titlePrefix:"Location",body:(0,d.jsx)(m,{hrefPrefix:"gallery/[continent]/[location]",asPrefix:"",items:null==b?void 0:null===(v=b.children)||void 0===v?void 0:v.items,defaultActive:N&&null!=b&&null!==(n=b.children)&&void 0!==n&&n.items?b.children.items.findIndex(function(e){var n,i;return null===(n=e.children)||void 0===n?void 0:null===(i=n.items)||void 0===i?void 0:i.find(function(e){return e.canonicalSlug.endsWith(N)})}):null})})})}),(0,d.jsx)("div",{className:"collection_results",children:null==y?void 0:null===(p=y.results)||void 0===p?void 0:null===(x=p.items)||void 0===x?void 0:x.map(function(e){var n,i,t,s,o,c,u;return(0,d.jsx)(a.lu,{id:e.id,title:e.title,elementClass:"teaser-row",href:(0,f.ZZ)(e),as:(0,f.ge)(e),publishDate:(0,l.Z)(new Date(e.publishDate),"MMMM d, yyyy"),headingLevel:2,image:null!=e&&null!==(n=e.primaryVisuals)&&void 0!==n&&n.thumbnail?(0,d.jsxs)("div",{className:"teaser_responsive",children:[(0,d.jsx)(r.Image,{image:null==e?void 0:null===(i=e.primaryVisuals)||void 0===i?void 0:i.thumbnail,aspectRatio:"square",sizes:"(max-width: 590px) 95vw, (max-width: 890px) 45vw, 300px",alt:null==e?void 0:null===(t=e.primaryVisuals)||void 0===t?void 0:null===(s=t.thumbnail)||void 0===s?void 0:s.shortCaption,elementClass:"teaser_imageSquare"}),(0,d.jsx)(r.Image,{image:null==e?void 0:null===(o=e.primaryVisuals)||void 0===o?void 0:o.thumbnail,aspectRatio:"widescreen",sizes:"(max-width: 590px) 95vw, (max-width: 890px) 45vw, 300px",alt:null==e?void 0:null===(c=e.primaryVisuals)||void 0===c?void 0:null===(u=c.thumbnail)||void 0===u?void 0:u.shortCaption,elementClass:"teaser_imageWidescreen"})]}):(0,d.jsx)(r.Image,{elementClass:"content_thumbnail",fallbackSrc:w.fallbackImg,alt:(null==e?void 0:e.title)||""})},e.id)})})]})]}),(0,d.jsx)("div",{className:"banner banner-pagination",children:(0,d.jsx)("div",{className:"section",children:(0,d.jsx)(a.tl,{hasFirstAndLast:!0,inclusiveFirstLast:!0,buffer:1,hrefPrefix:C,asPrefix:O,currentPage:null==y?void 0:y.results.currentPage,totalPages:null==y?void 0:y.results.totalPages,firstLastSeparator:"...",firstSymbol:1,prevSymbol:(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(s.Z,{elementClass:"icon-pagination",name:"chevronLeft"}),(0,d.jsx)("span",{children:"Prev"})]}),nextSymbol:(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("span",{children:"Next"}),(0,d.jsx)(s.Z,{elementClass:"icon-pagination",name:"chevronRight"})]}),lastSymbol:null==y?void 0:y.results.totalPages,prevNextClass:"btn btn-primary"})})}),null===(j=w.globalSections)||void 0===j?void 0:j.map(function(n){return(0,g.d)(n,e,w)})]})}},2583:function(e,n,i){"use strict";i.r(n);var t,l,a=i(1383),r=i(29),s=i(9499),o=i(7757),c=i.n(o);i(7294);var d=i(2918),u=i.n(d),v=i(8687),m=i(2662),h=i(5621),f=i(3774),g=i(5893);function p(e,n){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);n&&(t=t.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),i.push.apply(i,t)}return i}function x(e){for(var n=1;n<arguments.length;n++){var i=null!=arguments[n]?arguments[n]:{};
1n%2?p(Object(i),!0).forEach(function(n){(0,s.Z)(e,n,i[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):p(Object(i)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(i,n))})}return e}var j=function(e){var n=e.data,i=e.errorCode,t=e.location,l=e.continent;return i?(0,g.jsx)(u(),{statusCode:i}):(0,g.jsx)(h.Z,x(x({},n),{},{location:t,continent:l}))};j.getInitialProps=(t=(0,r.Z)(c().mark(function e(n){var i,t,r,s,o,d,u,h,g,p,x,j;return c().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=void 0===(t=(i=n.query).pageNum)?1:t,s=i.location,o=i.continent,d=n.res,u=n.config,p=o?"gallery/".concat(o,"/").concat(s):"gallery",x=(0,f.aN)([(0,f.GX)({contentAreaSlug:u.slug,pageNum:parseInt(r),slug:p,pageSize:18}),(0,f.Dk)(u.globalSections,u.slug)]),j=(0,v.gql)(l||(l=(0,a.Z)(["\n    query gallery {\n      ","\n    }\n  "])),x),e.next=6,(0,m.Z)(j).then(function(e){var n;h=e,d&&d.setHeader("Cache-Control","public, max-age=60"),null!==(n=h)&&void 0!==n&&n.galleryList||(d&&(d.statusCode=404),g=404)}).catch(function(){d&&(d.statusCode=500),g=404});case 6:return e.abrupt("return",{data:h,errorCode:g,config:u,location:s,continent:o});case 7:case"end":return e.stop()}},e)})),function(e){return t.apply(this,arguments)}),n.default=j},4137:function(e,n,i){(window.__NEXT_P=window.__NEXT_P||[]).push(["/gallery/[continent]/[location]",function(){return i(2583)}])}},function(e){e.O(0,[216,161,626,381,339,888,774,179],function(){return e(e.s=4137)}),_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.