1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[955],{84873:function(n,e,t){"use strict";t.d(e,{Z:function(){return f}});var i=t(85893),r=t(26901),s=t(87725),o=t(57587),c=t.n(o),l=t(51729),a=t(29170),u=t(26563);function d(n){const{title:e,slug:t,event:r,reverse:o,firstBlockIsTextOnly:d,indexPage:g}=n;return(0,i.jsxs)("div",{className:"\n ".concat(c().pageBuilderBlock,"\n ").concat(c().eventReferenceBlock,"\n ").concat(o?c().reverse:"","\n ").concat(d?c().firstBlockIsTextOnly:"","\n "),children:[r.image&&(0,i.jsx)("div",{className:c().eventImage,children:(0,i.jsx)(s.E,{image:r.image,className:c().image,width:1200,height:900,mode:"cover"})}),(0,i.jsxs)("div",{className:c().eventText,children:[r.categories&&(0,i.jsx)("div",{className:c().categories,children:r.categories.map((n=>(0,i.jsx)("div",{className:c().category,children:n.title},n._id)))}),(0,i.jsxs)("div",{className:c().titles,children:[(0,i.jsx)("div",{className:c().title,children:r.title}),r.location&&(0,i.jsx)("div",{className:c().location,children:r.location}),(0,i.jsx)("div",{className:c().date,children:r.dateTimeString})]}),(0,i.jsx)("div",{className:c().description,children:(0,i.jsx)(l.Z,{value:r.body})}),r.bookingLink?(0,i.jsx)("div",{className:"externalLinkItem",children:(0,i.jsx)(u.Z,{title:"Book now",url:r.bookingLink,newWindow:!0,classNames:"link"})}):null,r.recordingLink?(0,i.jsx)("div",{className:"externalLinkItem",children:(0,i.jsx)(u.Z,{title:"Recording",url:r.recordingLink,newWindow:!0,classNames:"link"})}):null,g?(0,i.jsx)(a.Z,{title:"Read more",type:r._type,slug:r.slug}):null]})]})}var g=t(68214),p=t(6077),m=t.n(p);function f(n){const{title:e,slug:t,blocks:s,firstBlockIsHero:o,reverse:c,indexPage:l}=n,a=(0,g.Z)(s);return(0,i.jsx)("div",{className:"".concat(m().pageBuilder," ").concat(a?m().reverseColourScheme:""),children:s&&s.length?s.map(((n,s)=>"pageBuilderBlock"===n._type?(0,i.jsx)(r.Z,{title:e,slug:t,block:n,firstBlockIsHero:0===s&&o,firstBlockIsTextOnly:a},n._key):["event","newsItem"].includes(n._type)?(0,i.jsx)(d,{title:e,slug:t,event:n,reverse:c,firstBlockIsTextOnly:a,indexPage:l},n._key):(0,i.jsxs)("div",{children:["`",n._type,"` block type not supported"]},n._key))):null})}},21597:function(n,e,t){"use strict";t.d(e,{Z:function(){return d}});var i=t(85893),r=t(6803),s=t.n(r),o=t(34364);const c=s()({projectId:o.Sx,dataset:o.gx});
1var l=t(9008),a=t.n(l);function u(){return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("meta",{name:"viewport",content:"width=device-width,initial-scale=1.0,shrink-to-fit=no"}),(0,i.jsx)("link",{rel:"apple-touch-icon",sizes:"180x180",href:"/favicon/apple-touch-icon.png"}),(0,i.jsx)("link",{rel:"icon",type:"image/x-icon",href:"/favicon/favicon.ico"}),(0,i.jsx)("link",{rel:"icon",type:"image/png",sizes:"32x32",href:"/favicon/favicon-32x32.png"}),(0,i.jsx)("link",{rel:"icon",type:"image/png",sizes:"16x16",href:"/favicon/favicon-16x16.png"}),(0,i.jsx)("link",{rel:"manifest",href:"/favicon/site.webmanifest"}),(0,i.jsx)("link",{rel:"shortcut icon",href:"/favicon/favicon.ico"}),(0,i.jsx)("link",{rel:"preconnect",href:"https://cdn.sanity.io/"}),(0,i.jsx)("link",{rel:"dns-prefetch",href:"https://cdn.sanity.io/"}),(0,i.jsx)("meta",{name:"msapplication-TileColor",content:"#000000"}),(0,i.jsx)("meta",{name:"msapplication-config",content:"/favicon/browserconfig.xml"}),(0,i.jsx)("meta",{name:"theme-color",content:"#000"}),(0,i.jsx)("meta",{name:"theme-color",media:"(prefers-color-scheme: light)",content:"white"}),(0,i.jsx)("meta",{name:"theme-color",media:"(prefers-color-scheme: dark)",content:"black"})]})}function d(n){let{settings:e,data:t,noIndex:r=!1}=n;var s;const o="The Serge Hill Project",l="The Serge Hill Project is an award-winning architectural practice founded in 2000, based in our studios in London and Sussex.",d=null,g=t.seoTitle||e.title||o,p=t.seoDescription||e.description||l,m=t.seoImage||e.image||d;let f="".concat(g," | ").concat(e.title);return g!==e.title&&"Homepage"!==g&&"Home"!==g&&"Index"!==g||(f=e.title),(0,i.jsxs)(a(),{children:[(0,i.jsx)("title",{children:f}),(0,i.jsx)(u,{}),(0,i.jsx)("meta",{name:"description",content:p},"description"),(null===(s=m)||void 0===s?void 0:s.asset)&&(0,i.jsx)("meta",{property:"og:image",content:(_=m,c.image(_).auto("format").fit("max")).width(1200).height(627).fit("crop").url()}),r&&(0,i.jsx)("meta",{name:"robots",content:"noindex"})]});var _}},93134:function(n,e,t){"use strict";t.d(e,{GL:function(){return P},_R:function(){return C},cg:function(){return R},ci:function(){return H},j8:function(){return S},of:function(){return T},sT:function(){return F}});var i=t(82729),r=t(37288);function s(){const n=(0,i._)(['\n alt,\n body,\n asset,\n "id": asset._ref,\n "preview": asset->metadata.lqip,\n "aspectRatio": asset->metadata.dimensions.aspectRatio,\n hotspot { x, y },\n "textColor": asset->metadata.palette.dominant.title,\n whiteText,\n crop {\n bottom,\n left,\n right,\n top,\n }\n']);return s=function(){return n},n}function o(){const n=(0,i._)(["image {","}"]);return o=function(){return n},n}function c(){const n=(0,i._)(["images[] {","}"]);return c=function(){return n},n}function l(){const n=(0,i._)(['\n_type == "emailFormReference" => {\n title,\n "slug": "?modal=email&email=" + @.emailForm->slug.current\n},\n_type == "modalDonate" => {\n title,\n "slug": "?modal=donate",\n},\n_type == "modalFriend" => {\n title,\n "slug": "?modal=friend",\n},\n_type == "modalNewsletter" => {\n title,\n "slug": "?modal=newsletter",\n},\n_type in ["linkDonationForm", "donationFormLink"] => {\n title,\n url,\n newWindow\n}\n']);return l=function(){return n},n}function a(){const n=(0,i._)(['\n_id,\n_type,\n_updatedAt,\n"_key": _id,\ntitle,\ndescription,\n',',\n"slug": slug.current,\nbody,\n"categories": [\n ...categories[]->{\n _id,\n _type,\n title,\n "slug": slug.current,\n }\n],\ndefined(recordingLink) => {\n "categories": [\n ...categories[]->{\n _id,\n _type,\n title,\n "slug": slug.current,\n },\n {\n "_id": \'recordings\',\n "_type": \'eventCategory\',\n "title": \'Recordings\',\n "slug": \'recordings\',\n }\n ],\n},\ndate,\ndateTimeString,\nlink,\nlinkTextOverride\n']);return a=function(){return n},n}function u(){const n=(0,i._)(['\n_key,\n_type,\nleadMedia[] {\n _key,\n _type,\n _type == "image" => {\n ','\n },\n _type == "video" => {\n asset -> {\n ...\n }\n }\n},\ntextItems[] {\n _key,\n _type,\n _type == "textItem" => {\n title,\n text,\n },\n _type == "internalLink" => {\n title,\n "reference": @.reference->{\n _type,\n "slug": slug.current,\n },\n },\n _type == "externalLink" => {\n title,\n url,\n newWindow,\n },\n ',',\n _type == "inlineImage" => {\n ','\n },\n _type == "peopleList" => {\n people[] {\n _key,\n _type,\n name,\n body,\n ',',\n externalLinks,\n }\n },\n},\n_type == "eventReference" => {\n ...@->{\n ',"\n }\n} \n"]);return u=function(){return n},n}function d(){const n=(0,i._)(['\n*[_type == $type && slug.current == $slug][0] {\n _type,\n "slug": slug.current\n}\n']);return d=function(){return n},n}function g(){const n=(0,i._)(['\n*[_type == "page"] | order(title asc) {\n _id,\n _type,\n _updatedAt,\n title,\n "slug": slug.current,\n description,\n image,\n "priority": seo.priority, \n}\n']);return g=function(){return n},n}function p(){const n=(0,i._)(['\n*[_type == "page" && defined(slug.current)][].slug.current\n']);return p=function(){return n},n}function m(){const n=(0,i._)(['\n*[_type == "page" && slug.current == $slug][0] {\n _id,\n title,\n "slug": slug.current,\n description,\n image,\n pageBuilderBlocks[] {\n ','\n },\n slug.current == "homepage" => {\n ',",\n pageBuilderBlocksHomepage[] {\n ",'\n },\n },\n slug.current == "whats-on" => {\n featuredEvents[]->{\n ','\n },\n "activeEventCategories": [\n ...activeEventCategories[]->{\n _id,\n _type,\n title,\n "slug": slug.current,\n },\n {\n "_id": \'recordings\',\n "_type": \'eventCategory\',\n "title": \'Recordings\',\n "slug": \'re
1cordings\',\n }\n ],\n },\n "seoTitle": title,\n "seoDescription": seo.description,\n "seoImage": seo.image,\n}\n']);return m=function(){return n},n}function f(){const n=(0,i._)(['\n*[_type == "event"] | order(date asc) {\n ',"\n}\n"]);return f=function(){return n},n}function _(){const n=(0,i._)(['\n*[_type == "event" && defined(slug.current)][].slug.current\n']);return _=function(){return n},n}function y(){const n=(0,i._)(['\n*[_type == "event" && slug.current == $slug][0] {\n _id,\n _type,\n title,\n ',",\n bookingLink,\n recordingLink,\n location,\n pageBuilderBlocks[] {\n ",'\n },\n "seoTitle": title,\n "seoDescription": pt::text(body),\n "seoImage": image,\n}\n']);return y=function(){return n},n}function x(){const n=(0,i._)(['\n*[_type in ["newsItem", "pressItem"]] | order(date desc) {\n ',"\n}\n"]);return x=function(){return n},n}function h(){const n=(0,i._)(['\n*[_type == "newsItem" && defined(slug.current)][].slug.current\n']);return h=function(){return n},n}function k(){const n=(0,i._)(['\n*[_type == "newsItem" && slug.current == $slug][0] {\n _id,\n _type,\n title,\n ',",\n bookingLink,\n location,\n pageBuilderBlocks[] {\n ",'\n },\n "seoTitle": title,\n "seoDescription": pt::text(body),\n "seoImage": image,\n}\n']);return k=function(){return n},n}function v(){const n=(0,i._)(['\n*[_type == "plantLibraryBed"] | order(title asc) {\n _id,\n _type,\n _updatedAt,\n title,\n "slug": slug.current,\n file,\n}\n']);return v=function(){return n},n}function j(){const n=(0,i._)(['\n*[_type == "plantLibraryBed" && slug.current == $slug][0] {\n _id,\n _type,\n title,\n "slug": slug.current,\n file {\n ...,\n asset-> {\n ...,\n },\n },\n}\n']);return j=function(){return n},n}function w(){const n=(0,i._)(['\n*[_type == "plantLibraryBed" && defined(slug.current)][].slug.current\n']);return w=function(){return n},n}function b(){const n=(0,i._)(['*[_type == "settings"][0] {\n "title": seo.title,\n "description": seo.description,\n "image": seo.image,\n header {\n navigation[]->{\n _id,\n _type,\n title,\n "slug": slug.current,\n }\n },\n footer {\n addressInformation,\n navigation[] {\n title,\n _type,\n "_id": _key,\n ',',\n _type == "linkExternal" => {\n ...\n },\n defined(_ref) => @-> {\n _id,\n _type,\n title,\n "slug": slug.current,\n }\n }\n },\n "emailForms": *[_type in ["emailForm"]][] {\n _type,\n _id,\n title,\n "slug": slug.current,\n emailTo,\n formIntro,\n emailSubjects,\n sections[]\n },\n "thePlantLibrary": *[_type == \'thePlantLibrary\'][0] {\n ...,\n plantLibrarySheet {\n ...,\n asset-> {\n ...,\n },\n },\n downloads[] {\n ...,\n file {\n ...,\n asset-> {\n ...,\n },\n },\n }\n }\n}']);return b=function(){return n},n}const Z=(0,r.Z)(s()),B=(0,r.Z)(o(),Z),I=((0,r.Z)(c(),Z),(0,r.Z)(l()
1)),L=(0,r.Z)(a(),B),N=(0,r.Z)(u(),Z,I,Z,B,L),T=((0,r.Z)(d()),(0,r.Z)(g()),(0,r.Z)(p()),(0,r.Z)(m(),N,B,N,L)),R=(0,r.Z)(f(),L),C=((0,r.Z)(_()),(0,r.Z)(y(),L,N)),S=(0,r.Z)(x(),L),F=((0,r.Z)(h()),(0,r.Z)(k(),L,N)),H=((0,r.Z)(v()),(0,r.Z)(j())),P=((0,r.Z)(w()),(0,r.Z)(b(),I))},6077:function(n){n.exports={pageBuilder:"PageBuilder_pageBuilder__7hM7H"}}}]);
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.