PageSourceSearch

https://cag-website.vercel.app/_next/static/chunks/pages/exhibitio…/archive/[...filters]-4ba41b033fb2a53b.js

js cag-website.vercel.app collected 2026-10-03 06:20:40 UTC 4,353 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[276],{9439:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/exhibitions-and-events/archive/[...filters]",function(){return t(3192)}])},3192:function(e,n,t){"use strict";t.r(n),t.d(n,{__N_SSG:function(){return w},default:function(){return g}});var r=t(5893),i=t(1664),a=(t(6071),t(6888)),s=t(1473),l=t.n(s),c=t(9396),o=t(7847),u=t(8593),h=t(6462),d=t.n(h),f=t(9484),v=t(5818),_=t(2701),x=t(8148),b=t(2497),j=t(1163),m=t(7294);function p(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function y(e,n){return function(e){if(Array.isArray(e))return e}(e)||function(e,n){var t=[],r=!0,i=!1,a=void 0;try{for(var s,l=e[Symbol.iterator]();!(r=(s=l.next()).done)&&(t.push(s.value),!n||t.length!==n);r=!0);}catch(c){i=!0,a=c}finally{try{r||null==l.return||l.return()}finally{if(i)throw a}}return t}(e,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var w=!0;function g(e){var n=e.posts,t=e.exhibition_years,s=e.elsewhere_years,h=e.events_years,w=e.all_years,g=(0,j.useRouter)(),N=(0,m.useState)(!1),k=N[0],E=N[1];if(!n||n.length<1)return null;var O=y(g.query.filters,2),T=O[0],D=O[1];D=D||"";var S=[];return S=(S="exhibitions"===(T=T||"all")?t:"talks-and-events"===T?h:"elsewhere"===T?s:w).sort().reverse(),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(v.Z,{seo:{Title:"Past Exhibitions and Events"}}),(0,r.jsx)(a.h,{className:l().page_tab_container,tabs:c.Cn.children}),(0,r.jsxs)(o.J,{children:[(0,r.jsxs)("div",{className:l().filters_bar,children:[t.length>0&&(0,r.jsx)(i.default,{href:"/exhibitions-and-events/archive/exhibitions/".concat(D),children:(0,r.jsx)("a",{className:(0,u.Z)(l().filter_item,"exhibitions"===T?l().active:""),children:"Exhibitions"})}),h.length>0&&(0,r.jsx)(i.default,{href:"/exhibitions-and-events/archive/talks-and-events/".concat(D),children:(0,r.jsx)("a",{className:(0,u.Z)(l().filter_item,"talks-and-events"===T?l().active:""),children:"Talks & Events"})}),s.length>0&&(0,r.jsx)(i.default,{href:"/exhibitions-and-events/archive/elsewhere/".concat(D),children:(0,r.jsx)("a",{className:(0,u.Z)(l().filter_item,"elsewhere"===T?l().active:""),children:"Elsewhere"})}),(0,r.jsxs)("div",{className:l().year_select_box,children:[(0,r.jsxs)("button",{onClick:function(e){e.preventDefault(),E(!k)},className:l().year_select_button,children:["Year ",(0,r.jsx)(_.Z,{})]}),(0,r.jsxs)("div",{className:(0,u.Z)(l().year_select_option_container,k?l().open:""),children:[(0,r.jsx)(i.default,{href:"/exhibitions-and-events/archive/".concat(T),children:(0,r.jsx)("a",{onClick:function(){return E(!1)},className:l().year_select_option,children:"All"})},D),S.map((function(e){return(0,r.jsx)(i.default,{href:"/exhibitions-and-events/archive/".concat(T,"/").concat(e),children:(0,r.jsx)("a",{onClick:function(){return E(!1)},className:l().year_select_option,children:e})},e)}))]})]})]}),Object.keys(n).sort().reverse().map((function(e){var t=n[e].toSorted(b.pG);return(0,r.jsxs)("div",{children:[(0,r.jsx)("h1",{id:e,className:(0,u.Z)(l().section_title,d().font_cag,d().d_h5,d().d_h1_tablet),children:e}),(0,r.jsx)("div",{className:"",children:(0,r.jsx)(f.R,{four:!0,children:t.map((function(e){return(0,r.jsx)(x.C,function(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{},r=Object.keys(t);"function"===typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(t).filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})))),r.forEach((function(n){p(e,n,t[n])}))}return e}({small:!0,path:e.path},e,{hideDate:e.HideDate||!1,hideTime:e.HideTime||!1}),e.slug)}))})})]},e)}))]})]})}},2497:function(e,n,t){"use strict";t.d(n,{Kx:function(){return a},pG:function(){return s}});t(1280);var r=t(7928),i=t(1097);function a(){var e=Date.now();return(0,i.T)(e)}function s(e,n){var t=(0,r.s)((null===e||void 0===e?void 0:e.StartDate)||(null===e||void 0===e?void 0:e.Date)||"23:59:59").getTime(),i=(0,r.s)((null===n||void 0===n?void 0:n.StartDate)||(null===n||void 0===n?void 0:n.Date)||"23:59:59").getTime();return t===i?((null===n||void 0===n?void 0:n.weight)||0)-((null===e||void 0===e?void 0:e.weight)||0):i-t}}},function(e){e.O(0,[164,774,888,179],(function(){return n=9439,e(e.s=n);var n}));var n=e.O();_N_E=n}]);

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.