PageSourceSearch

https://www.cfhill.com/_next/static/chunks/pages/exhibitions-9bb24bcf6ef9cdf9.js

js cfhill.com collected 2026-10-04 00:17:34 UTC 6,121 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7069],{9463:function(e){"undefined"!==typeof self&&self,e.exports=function(e){function t(i){if(n[i])return n[i].exports;var r=n[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,t),r.l=!0,r.exports}var n={};return t.m=e,t.c=n,t.d=function(e,n,i){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:i})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=0)}([function(e,t,n){function i(){throw new TypeError("The given URL is not a string. Please verify your string|array.")}function r(e){"string"!==typeof e&&i();for(var t=0,n=0,r=0,s=e.length,c=0;s--&&++c&&!(t&&-1<o.indexOf(e[c]));)"."===e[c]&&(++t,n=c);for(t=c,c=n;c--;)if(-1!==a.indexOf(e[c])){r=c+1;break}return 2>r?"":e.slice(r,t)}var o=["/",":","?","#"],a=[".","/","@"];e.exports=function(e){if("string"===typeof e)return r(e);if(Array.isArray(e)){var t,n=[],o=0;for(t=e.length;o<t;o++)n.push(r(e[o]));return n}i()}}])},6055:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/exhibitions",function(){return n(7524)}])},6757:function(e,t,n){"use strict";n.d(t,{Bc:function(){return l},Ei:function(){return s},G0:function(){return f}});var i=n(5893),r=(n(9463),n(1163)),o=n(5644),a=800,s=function(e){var t=e.src,n=e.alt,r=void 0===n?"CFHILL":n,o=(e.responsive,e.cover,e.settings),s=void 0===o?"ratio":o,l=e.coverage,u=void 0===l?1:l,f=e.ratio,d=e.width,h=e.height,x=e.compress,v=void 0===x||x,p=e.lazy,g=void 0!==p&&p,m=e.extLink,j=e.href,y=e.external,w=e.alert,b=[320,640,1024,1280,1440,2048].map((function(e){return{width:e,height:(f||h/d)*e,objectFit:"cover"}})),N="".concat(t,"?fm=jpg&fl=progressive&w=").concat(d<a?d:a,"&h=").concat(d<a?h:Math.floor(h/d*a));return(0,i.jsx)(c,{cover:s.includes("cover")||s.includes("contain"),ratio:f,extLink:m,href:j,external:y,alert:w,children:(0,i.jsxs)("picture",{children:[v?b.map((function(e,n){return(0,i.jsx)("source",{media:"(max-width: ".concat(e.width/u,"px)"),srcSet:"".concat(t,"?fm=jpg&fl=progressive&w=").concat(e.width,"&h=").concat(Math.floor(e.height)),className:null!==s&&void 0!==s?s:f,alt:r},n)})):null,(0,i.jsx)("img",{src:v?N:t,alt:r,className:null!==s&&void 0!==s?s:f,loading:g?"lazy":"eager",width:d<a?d:a,height:d<a?h:Math.floor(h/d*a)})]})})},c=function(e){var t=e.cover,n=e.ratio,o=e.children,a=(e.extLink,e.href),s=e.external,c=e.alert,l=(0,r.useRouter)(),u={paddingBottom:100*n+"%"};return t&&n?(0,i.jsxs)("div",{className:"aspectRatioContainer "+(a?"cursor-pointer":"cursor-initial"),style:u,onClick:function(e){e.preventDefault(),s&&a&&window.open(a,"_blank","noopener"),!s&&a&&l.push(a)},children:[o,c&&(0,i.jsx)("div",{className:"ext-link-alert",children:c})]}):o},l=function(e){var t=e.children,n=e.layout,r=e.alt,o=e.onClick;return(0,i.jsxs)("figure",{className:n+(o?" cursor-pointer":" cursor-initial"),onClick:o,children:[t,(0,i.jsx)(u,{data:r})]})},u=function(e){var t=e.data;return t?(0,i.jsx)("figcaption",{children:(0,o.Ui)(t)}):null};function f(e){return(null===e||void 0===e?void 0:e.toLowerCase().includes("full"))?"layout-full":(null===e||void 0===e?void 0:e.toLowerCase().includes("left"))?"layout-left":(null===e||void 0===e?void 0:e.toLowerCase().includes("right"))?"layout-right":"layout-standard"}},7524:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSG:function(){return j},default:function(){return y}});var i=n(5893),r=n(7294),o=n(9008),a=n.n(o),s=n(303),c=n(3446),l=n(828),u=n(5644),f=n(1664),d=n.n(f),h=n(6757);function x(e){var t=e.data,n=(0,r.useState)(0),o=n[0],a=n[1];return(0,r.useEffect)((function(){var e=setInterval((function(){return a(t.length-1===o?0:o+1)}),3e3);return function(){return clearInterval(e)}})),t?(0,i.jsxs)("section",{className:"exhibitions--featured block no-border",children:[t.map((function(e,t){return(0,i.jsx)(v,{data:e,focus:t===o},t)})),(0,i.jsx)(p,{data:t,state:[o,a]})]}):null}var v=function(e){var t=e.data,n=e.focus,r=t.fields,o=(r.title,r.stylizedTitle,r.slug),a=(r.startDate,r.endDate,r.heroImage);r.space;return(0,i.jsxs)("div",{className:"exhibitions--featured--item focus-"+(n?1:0),children:[(0,i.jsx)("div",{children:(0,i.jsx)(h.Ei,{src:a.fields.file.url,width:a.fields.file.details.image.width,height:a.fields.file.details.image.height,ratio:3/4,coverage:1,settings:"cover",href:"exhibition/".concat(o)})}),(0,i.jsx)("div",{className:"exhibitions--featured--item--description",children:(0,i.jsx)("div",{className:"exhibitions--featured--item--title",children:(0,i.jsx)(d(),{href:"exhibition/".concat(o),children:(0,i.jsx)("div",{children:(0,u.fG)(t)})})})})]})},p=function(e){var t=e.data,n=e.state;if(t.length<2)return null;var o=(0,l.Z)(n,2),a=o[0],s=o[1],c=(0,r.useState)(!0);c[0],c[1];return(0,i.jsx)("div",{className:"exhibitions--featured--references",children:t.map((function(e,t){return 0===t?(0,i.jsx)("div",{onClick:function(){return s(t)},className:a===t?"fontstyle-italic":"fontstyle-regular",children:t+1},t):(0,i.jsxs)(r.Fragment,{children:[(0,i.jsx)("hr",{}),(0,i.jsx)("div",{onClick:function(){return s(t)},className:a===t?"fontstyle-italic":"fontstyle-regular",children:t+1})]},t)}))})},g=n(6260),m=n(4640),j=!0;function y(e){var t=e.entries,n=e.preview,r=e.profile,o=e.years,l=e.locations,u=t.filter((function(e){return new Date(e.fields.endDate)>new Date}));1===u.length&&t.filter((function(e){return e.sys.id!==u[0].sys.id}));return(0,i.jsxs)(s.Z,{preview:n,profile:r,children:[(0,i.jsxs)(a(),{children:[(0,i.jsxs)("title",{children:[m.iC," \u2014 Exhibitions"]}),(0,i.jsx)("meta",{property:"og:image",content:m.Jq}),(0,i.jsx)("meta",{name:"description",content:m.p2}),(0,i.jsx)("meta",{property:"og:description",content:m.p2})]}),(0,i.jsxs)("main",{className:"exhibitions",style:{marginBottom:"4rem"},children:[(0,i.jsx)("h1",{children:"Exhibitions"}),(0,i.jsx)(x,{data:u}),(0,i.jsx)(c.Z,{data:t})]}),(0,i.jsx)(g.Z,{data:o,locations:l})]})}}},function(e){e.O(0,[3714,8763,1342,4651,9774,2888,179],(function(){return t=6055,e(e.s=t);var t}));var t=e.O();_N_E=t}]);

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.