1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[521],{38318:function(t,e,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/about",function(){return n(10095)}])},82867:function(t,e,n){"use strict";n.d(e,{Z:function(){return m}});var i=n(85893),a=n(95774),r=n(21597),s=n(56422),o=n(63874),c=n.n(o),l=n(67294),u=n(33459),d=n.n(u);function p(t){const{block:e}=t,[n,a]=(0,l.useState)(!1),[r,o]=(0,l.useState)(e.years.slice(0,3));return(0,l.useEffect)((()=>{o(n?e.years:e.years.slice(0,3))}),[n]),(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("ul",{children:r.map((t=>(0,i.jsxs)("li",{children:[(0,i.jsx)("h3",{className:d().year,children:t.year}),t.listGroup&&t.listGroup.length&&(0,i.jsx)("ul",{children:t.listGroup.map(((t,e)=>(0,i.jsxs)("li",{children:[(0,i.jsx)("h4",{className:d().listGroupTitle,children:t.title}),(0,i.jsx)("ul",{children:t.listItems&&t.listItems.length&&t.listItems.map(((t,e)=>(0,i.jsx)("li",{className:d().listGroupItem,children:t.url?(0,i.jsx)("a",{href:t.url,target:"_blank",rel:"noopener noreferrer",className:"link",children:(0,i.jsx)(s.Z,{value:t.text})}):(0,i.jsx)(s.Z,{value:t.text})},t._key)))})]},t._key)))})]},t._key)))}),!n&&e.years.length>3&&(0,i.jsxs)("button",{onClick:()=>{a(!n)},className:"".concat(d().seeAllButton," link"),children:["\u2193\u2002See all ",e.title]})]})}function m(t){const{preview:e,loading:n,page:o,settings:l}=t,{blocks:u=[]}=o;return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(r.Z,{data:o,settings:l}),(0,i.jsx)("div",{className:c().aboutPageWrapper,children:(0,i.jsx)("div",{className:c().aboutPage,children:u&&u.length&&u.map(((t,e)=>(0,i.jsxs)("div",{className:c().block,children:[t&&t.title?(0,i.jsx)("h2",{className:c().blockTitle,children:t.title}):null,"textBlockWithTitle"===t._type&&(0,i.jsx)(s.Z,{value:t.body}),"listBlock"===t._type&&(0,i.jsx)(p,{block:t}),"imageBlock"===t._type&&t.image&&(0,i.jsxs)("div",{className:c().imageBlock,children:[(0,i.jsx)(a.E,{image:t.image,classNames:c().image,alt:t.image.alt}),t.image.body&&(0,i.jsx)("div",{className:c().caption,children:(0,i.jsx)(s.Z,{value:t.image.body})})]})]},t._key)))})})]})}},56422:function(t,e,n){"use strict";n.d(e,{Z:function(){return u}});var i=n(85893),a=n(35300),r=n(85363),s=n(41664),o=n.n(s),c=n(65344),l=n.n(c);function u(t){let{paragraphClasses:e,value:n}=t;const s={block:{normal:t=>{let{children:n}=t;return(0,i.jsx)("p",{className:e,children:n})}},marks:{link:t=>{let{children:e,value:n}=t;var a;return(0,i.jsx)("a",{href:null===(a=n)||void 0===a?void 0:a.href,rel:"noreferrer noopener",children:e})},linkInternal:t=>{let{children:e,value:n}=t;return(0,i.jsx)(o(),{href:(0,r.c)(n.type,n.slug),children:e})}}};return(0,i.jsx)("div",{className:l().portableText,children:(0,i.jsx)(a.YI,{components:s,value:n})})}},21597:function(t,e,n){"use strict";n.d(e,{Z:function(){return d}});var i=n(85893),a=n(6803),r=n.n(a),s=n(34364);const o=r()({projectId:s.Sx,dataset:s.gx});var c=n(9008),l=n.n(c);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)("meta",{"http-equiv":"Content-Type",content:"text/html; charset=UTF-8"}),(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(t){let{settings:e,data:n}=t;var a;const{seo:r={title:"Adam Richards Architects",description:"Adam Richards Architects is an award-winning architectural practice founded in 2000, based in our studios in London and Sussex.",image:null}}=e,{title:s="Adam Richards Architects",description:c="Adam Richards Architects is an award-winning architectural practice founded in 2000, based in our studios in London and Sussex.",image:d=null}={...r,...n};let p="".concat(s," | ").concat(r.title);return s===r.title&&(p=s),(0,i.jsxs)(l(),{children:[(0,i.jsx)("title",{children:p}),(0,i.jsx)(u,{}),c&&(0,i.jsx)("meta",{name:"description",content:c},"description"),(null===(a=d)||void 0===a?void 0:a.asset)&&(0,i.jsx)("meta",{property:"og:image",content:(m=d,o.image(m).auto("format").fit("max")).width(1200).height(627).fit("crop").url()})]});var m}},95774:function(t,e,n){"use strict";n.d(e,{E:function(){return u}});var i=n(85893),a=n(34364),r=(n(31770),n(6803)),s=n.n(r),o=(n(93134),n(69043));const c=a.Sx?(0,o.eI)({projectId:a.Sx,dataset:a.gx,apiVersion:a.tW,useCdn:a.hH}):null;const l=s()(c),u=("https://cdn.sanity.io/images/".concat(a.Sx,"/").concat(a.gx,"/"),t=>{const{image:e,classNames:n,useAspectRatio:a,preload:r}=t,{id:s,preview:o,aspectRatio:c}=e,u=l.image(e).width(300)+"&q=80&auto=format 300w, "+l.image(e).width(400)+"&q=80&auto=format 400w, "+l.image(e).width(500)+"&q=80&auto=format 500w, "+l.image(e).width(600)+"&q=80&auto=format 600w, "+l.image(e).width(700)+"&q=80&auto=format 700w, "+l.image(e).width(800)+"&q=80&auto=format 800w, "+l.image(e).width(900)+"&q=80&auto=format 900w, "+l.image(e).width(1e3)+"&q=80&auto=format 1000w, "+l.image(e).width(1100)+"&q=80&auto=format 1100w, "+l.image(e).width(1200)+"&q=80&auto=format 1200w, "+l.image(e).width(1400)+"&q=80&auto=format 1400w, "+l.image(e).width(1600)+"&q=80&auto=format 1600w, "+l.image(e).width(1800)+"&q=80&auto=format 1800w, "+l.image(e).width(2e3)+"&q=80&auto=format 2000w",d=l.image(e).width(6).blur(15);return(0,i.jsx)("img",{src:d,"data-srcset":u,"data-sizes":"auto",className:"".concat(n," lazyload lazyfade ").concat(r?"lazypreload":"","}"),style:a?{aspectRatio:c}:void 0,alt:e.alt,suppressHydrationWarning:!0})})},34364:function(t,e,n){"use strict";n.d(e,{Sx:function(){return a},gx:function(){return r},hH:function(){return o},tW:function(){return s},wc:function(){return c}});var i=n(34155);const a="5bgasptt",r="production",s=i.env.NEXT_PUBLIC_SANITY_API_VERSION||"2022-11-15",o=!i.env.SANITY_REVALIDATE_SECRET,c="preview.secret"},85363:function(t,e,n){"use strict";function i(t,e){switch(t){case"page":return e?"index"===e?"/":"/".concat(e):void 0;case"project":return e?"/projects/".concat(e):void 0;default:return void console.warn("Invalid document type:",t)}}n.d(e,{c:function(){return i}})},93134:function(t,e,n){"use strict";n.d(e,{GL:function(){return j},nw:function(){return _},of:function(){return h},sN:function(){return x}});var i=n(82729),a=n(37288);function r(){const t=(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 crop {\n bottom,\n left,\n right,\n top,\n }\n']);return r=function(){return t},t}function s(){const t=(0,i._)(["image {","}"]);return s=function(){return t},t}function o(){const t=(0,i._)(["images[] {","}"]);return o=function(){return t},t}function c(){const t=(0,i._)(['\n*[_type == "page" && defined(slug.current)][] {\n _id,\n _type,\n _updatedAt,\n title,\n "slug": slug.current,\n description,\n image,\n blocks[] {\n ...,\n _type == \'imageBlock\' => {\n ...,\n ',",\n },\n },\n contactBlocks[],\n}\n"]);return c=function(){return t},t}function l(){const t=(0,i._)(['\n*[_type == "page" && slug.current == $slug][0] {\n _id,\n title,\n "slug": slug.current,\n description,\n image,\n blocks[] {\n ...,\n _type == \'imageBlock\' => {\n ...,\n ',",\n },\n },\n contactBlocks[],\n}\n"]);return l=function(){return t},t}function u(){const t=(0,i._)(['\n*[_type == "page" && slug.current == "index"].selectedProjects[]->{\n _id,\n _type,\n _updatedAt,\n title,\n description,\n ',',\n "slug": slug.current,\n}']);return u=function(){return t},t}function d(){const t=(0,i._)(['\n*[_type == "project" && slug.current == $slug][0] {\n _id,\n title,\n subtitle,\n "slug": slug.current,\n blocks[] {\n _key,\n _type,\n _type == \'slideshowBlock\' => {\n ...,\n "images": images[] {\n _type == \'image\' => {\n ',"\n },\n _type == 'video' => {\n ...,\n video {\n asset -> {\n ...\n }\n }\n }\n }\n },\n _type == 'textBlock' => {\n ...\n }\n },\n awards,\n selectedPress,\n furtherReading,\n}\n"]);return d=function(){return t},t}function p(){const t=(0,i._)(['\n*[_type == "project" && defined(slug.current)][].slug.current\n']);return p=function(){return t},t}function m(){const t=(0,i._)(['*[_type == "settings"][0]']);return m=function(){return t},t}const g=(0,a.Z)(r()),f=(0,a.Z)(s(),g),h=((0,a.Z)(o(),g),(0,a.Z)(c(),f),(0,a.Z)(l(),f)),_=(0,a.Z)(u(),f),x=(0,a.Z)(d(),g),j=((0,a.Z)(p()),(0,a.Z)(m()))},10095:function(t,e,n){"use strict";n.r(e),n.d(e,{__N_SSG:function(){return o},default:function(){return c}});var i=n(85893),a=n(74356),r=n(82867);const s=(0,n(67294).lazy)((()=>n.e(912).then(n.bind(n,73912))));var o=!0;function c(t){const{page:e,settings:n,preview:o,token:c}=t;return o?(0,i.jsx)(a.Dz,{fallback:(0,i.jsx)(r.Z,{loading:!0,preview:!0,page:e,settings:n}),children:(0,i.jsx)(s,{token:c,page:e})}):(0,i.jsx)(r.Z,{page:e,settings:n})}},63874:function(t){t.exports={aboutPageWrapper:"AboutPage_aboutPageWrapper__RQcln",aboutPage:"AboutPage_aboutPage__SgmlG",block:"AboutPage_block__1f6bJ",blockTitle:"AboutPage_blockTitle__h3b_E",imageBlock:"AboutPage_imageBlock__dO9Ep",image:"AboutPage_image__GtFTV",caption:"AboutPage_c
1aption__YXbg2"}},33459:function(t){t.exports={year:"AboutPageListBlock_year__L_ONJ",listGroupTitle:"AboutPageListBlock_listGroupTitle__6lEIB",seeAllButton:"AboutPageListBlock_seeAllButton__nYrVZ",listGroupItem:"AboutPageListBlock_listGroupItem__B548D"}},65344:function(t){t.exports={portableText:"CustomPortableText_portableText__Xs_BY"}}},function(t){t.O(0,[696,684,231,300,774,888,179],(function(){return e=38318,t(t.s=e);var e}));var e=t.O();_N_E=e}]);
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.