(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1712],{77929:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/[lang]/about",function(){return n(83229)}])},63697:function(e,t,n){"use strict";n.d(t,{e:function(){return ContactsSide}});var i=n(85893);n(67294);var r=n(3742),s=n(20646),a=n(89583),ContactsSide=function(e){var t=e.footer,n=e.translate,o=t.footer;return(0,i.jsxs)("div",{className:"col col-1-3",children:[(0,i.jsxs)("div",{className:"row-1-3",children:[(0,i.jsx)("p",{children:(0,i.jsxs)("a",{href:n("kode_bergen_url"),target:"_blank",rel:"noopener noreferrer",className:"h2-link",children:[(0,i.jsx)("span",{children:n("Kode_Bergen")}),(0,i.jsx)(a.CkN,{})]})}),(0,i.jsx)("div",{children:Object.values(o.address.address_line).map(function(e,t){return(0,i.jsx)("p",{children:e},t)})})]}),(0,i.jsx)("div",{className:"row-1-3",children:(0,i.jsx)("div",{className:"contacts",children:(0,i.jsx)("p",{children:(0,i.jsx)("a",{href:"mailto:"+o.contact.address_line.email,children:o.contact.address_line.email})})})}),(0,i.jsx)("div",{className:"row-1-3",children:(0,i.jsx)("div",{className:"social",children:Object.values(o.social.social_item).map(function(e,t){return(0,i.jsx)("div",{className:"social-border",children:(0,i.jsx)("a",{href:e.url,className:"social-"+t,rel:"noreferrer",children:e.icon&&e.icon.asset?(0,i.jsx)("img",{src:(0,r.uH)(e.icon),alt:""}):(0,s.hY)(t)},t)},t)})})})]})}},59219:function(e,t,n){"use strict";n.d(t,{t:function(){return ContactForm}});var i=n(11010),r=n(72253),s=n(14932),a=n(97582),o=n(85893),c=n(67294),l=n(87536),u=n(9473),d="email_field_title",m="name_field_title",p="subject_field_title",validateDocument=function(e,t){if(void 0!==e){var n=[].slice.call(e).map(function(e){return e.size||e.fileSize}).reduce(function(e,t){return e+t},0),i=[].slice.call(e).filter(function(e){var t=e.name.substring(e.name.lastIndexOf(".")+1);return!/(png|jpg|jpeg|pdf|doc|docx)$/i.test(t)});if(n/1024/1024>30)return t("files_size_too_big");if(i.length>0)return t("invalid_file_type")}return!0},h=n(45777),ContactForm=function(e){var t,n=e.translate,f=(0,u.v9)(function(e){return e.contact.isSubmitted}),g=(0,u.v9)(function(e){return e.contact.isSubmitting}),j=(0,l.cI)(),b=j.handleSubmit,x=j.register,v=j.watch,_=j.reset,k=j.formState,N=k.errors,y=k.isSubmitting,A=(0,u.I0)(),w=(t=(0,i._)(function(e){return(0,a.Jh)(this,function(t){switch(t.label){case 0:return[4,A((0,h.pg)(e))];case 1:return t.sent(),[2]}})}),function(e){return t.apply(this,arguments)});return(0,c.useEffect)(function(){f&&_({name:"",email:"",subject:"",document:[],message:""})},[f,_]),(0,o.jsx)("div",{children:(0,o.jsxs)("form",{onSubmit:b(w),onChange:function(){A((0,h.pk)())},noValidate:!0,className:"form",children:[(0,o.jsxs)("div",{className:"col-1-2",children:[(0,o.jsxs)("div",{className:"input-container",children:[(0,o.jsx)("label",{htmlFor:"inputName",className:"visually-hidden",children:n(m)}),(0,o.jsx)("input",(0,s._)((0,r._)({id:"inputName"},x("name")),{type:"text",placeholder:n(m)})),N.name&&(0,o.jsx)("span",{className:"error",children:N.name.message})]}),(0,o.jsxs)("div",{className:"input-container",children:[(0,o.jsx)("label",{htmlFor:"inputEmail",className:"visually-hidden",children:n(d)}),(0,o.jsx)("input",(0,s._)((0,r._)({},x("email",{validate:function(e){return e?!!/^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,4}$/i.test(e)||n("invalid_email_address"):n("required_field")}})),{type:"email",placeholder:n(d)})),N.email&&(0,o.jsx)("span",{className:"error",children:N.email.message})]}),(0,o.jsxs)("div",{className:"input-container",children:[(0,o.jsx)("label",{htmlFor:"inputSubject",className:"visually-hidden",children:n(p)}),(0,o.jsx)("input",(0,s._)((0,r._)({id:"inputSubject"},x("subject")),{type:"text",placeholder:n(p)})),N.subject&&(0,o.jsx)("span",{className:"error",children:N.subject.message})]}),(0,o.jsx)("div",{className:"input-container",children:(0,o.jsxs)("label",{htmlFor:"inputFile",className:"input-file-label",children:[n("attach_files_title"),(0,o.jsxs)("div",{className:"input-file",children:[(0,o.jsx)("span",{className:"input-file__placeholder",children:v("document")&&Object.keys(v("document")).length?Object.keys(v("document")).map(function(e){return(0,o.jsx)("span",{className:"selected-files",children:v("document")[e].name},e)}):n("attach_files_default")}),(0,o.jsx)("input",(0,s._)((0,r._)({id:"inputFile"},x("document",{validate:function(e){return validateDocument(e,n)}})),{type:"file",accept:"image/*,.pdf, .doc, .docx",multiple:!0})),N.document&&(0,o.jsx)("span",{className:"error file",children:N.document.message})]})]})})]}),(0,o.jsxs)("div",{className:"col-1-2",children:[(0,o.jsxs)("div",{className:"input-container",children:[(0,o.jsx)("label",{htmlFor:"inputMessage",children:n("message_title")}),(0,o.jsx)("textarea",(0,s._)((0,r._)({id:"inputMessage"},x("message")),{placeholder:n("message_default")}))]}),Object.keys(N).length>0&&(0,o.jsx)("p",{className:"form-response form-invalid",children:n("something_went_wrong")}),g&&(0,o.jsx)("p",{className:"form-response submitting-message",children:"Submitting..."}),f&&(0,o.jsx)("p",{className:"form-response form-valid",children:n("message_successfully_sent")}),(0,o.jsx)("button",{type:"submit",disabled:y,className:f?"sent":"",children:f?n("sent"):n("send")})]})]})})}},77021:function(e,t,n){"use strict";n.d(t,{Az:function(){return R},Bx:function(){return T},Fc:function(){return r},G0:function(){return _},G_:function(){return l},IV:function(){return O},Iw:function(){return i},Q8:function(){return p},Qz:function(){return C},RJ:function(){return S},SL:function(){return f},Xg:function(){return U},bN:function(){return g},c$:function(){return o},cT:function(){return P},cX:function(){return s},f0:function(){return F},gr:function(){return c},iF:function(){return A},ig:function(){return x},iy:function(){return y},jX:function(){return w},jr:function(){return N},kS:function(){return I},km:function(){return H},ky:function(){return a},lI:function(){return k},le:function(){return m},m7:function(){return u},mL:function(){return b},mW:function(){return Z},o4:function(){return j},p2:function(){return d},pf:function(){return L},qX:function(){return X},uo:function(){return v},ur:function(){return h},uy:function(){return B},yb:function(){return E}});var i="Nikolai Astup - Exhibitions, timeline, catalogue raisonn\xe9 and more",r="Nikolai Astrup - Utstillinger, tidslinje, atalogue raisonn\xe9 og mer",s="Astruptunet - Se kolleksjoner og motiver - Nikolai Astrup",a="Astruptunet - Collections and objects - Nikolai Astrup",o="Timeline of Astrup's life - Nikolai Astrup",c="Tidslinje over Astrup sitt liv - Nikolai Astrup",l="See past, current and upcoming exhibitions - Nikolai Astrup",u="Se n\xe5v\xe6rende, tidligere og kommende utstillinger - Nikolai Astrup",d="Bibliography - Published and unpublished sources - Nikolai Astrup",m="Bibliografi - Publiserte og upubliserte kilder - Nikolai Astrup",p="Nikolai Astrup Online Catalogue Raisonn\xe9 (2016–2025) seeks to present an authentic and chronological overview of the artist’s artworks. Learn about exhibitions, themes, about Nikolai Astrup and more.",h="Nikolai Astrup Online Catalogue Raisonn\xe9 (2016–2025) s\xf8ker \xe5 etablere ei autentisk og kronologisk oversikt over Astrup sin kunst. Se utstillinger, metoder, tidslinjer, arkiv og mer.",f="Astruptunet er et museum i Nikolai Astrups gamle kunstnerhjem p\xe5 Sandalstrand. J\xf8lster kommune kj\xf8pte eiendommen i 1965, mens Engel Astrup fortsatt bodde p\xe5 g\xe5rden.",g="Astruptunet is a museum located in Nikolai Astrup's former artist home at Sandalstrand. The municipality of J\xf8lster purchased the property in 1965, while Engel Astrup still resided on the farm.",j="A chronology of important events, places and people in Astrup's life. Learn about how Astrup became one of Norway’s most beloved painters and how his artistic vision lives on after him.",b="Se tidslinje over viktige hendelser, steder og personer i Nikolai Astrup sitt liv. L\xe6r om hvordan Astrup ble en av Norges mest kj\xe6re malere, og hvordan hans kunstneriske visjon lever videre etter ham.",x="Delve into the complete overview of Astrup's exhibitions, from his first painting in a group show in 1900 until the present day.",v="Utstillingshistorikken er en sentral kilde for catalogue raisonn\xe9, ettersom denne historikken inneholder verksinformasjon og opplysninger om eierskap.",_="The bibliography contains a nearly complete overview of published and unpublished sources regarding Nikolai Astrup, and contains over 1100 references.",k="Bibliografien inneholder en n\xe6rmest komplett oversikt og publiserte og upubliserte kilder om Nikolai Astrup og inneholder over 1100 referanser.",N="Why did Astrup paint the parsonage where he grew up so many times? How did landscaping and gardening become a part of his artistic project?",y="Why did Astrup paint the parsonage where he grew up so many times? How did landscaping and gardening become a part of his artistic project?",A="This ongoing project aims to build a complete digital catalogue of Astrup’s artworks. View paintings, discover themes and connections, and access detailed information.",w="Utforsk den innholdsrike katalogen over Nikolai Astrups kunst. Katalogen blir l\xf8pende oppdatert med nyere forskning.",S="https://cdn.sanity.io/images/13shtj6s/kode_dev/540c5735639e9e815a56ed41c97eb6474eecb8eb-369x459.jpg",T="https://cdn.sanity.io/images/13shtj6s/kode_dev/d0fa81273f488a86b5f6aab2fea31f26e674976e-1037x873.jpg",O="https://cdn.sanity.io/images/13shtj6s/kode_dev/94fd1449fb06763a71cc60b57e4faae8cd04eb36-1756x663.jpg",C="https://cdn.sanity.io/images/13shtj6s/kode_dev/6e852e1797cdf51010283b9d987ba14a429555a7-1755x660.jpg",L="https://cdn.sanity.io/images/13shtj6s/kode_dev/94fd1449fb06763a71cc60b57e4faae8cd04eb36-1756x663.jpg",B="https://cdn.sanity.io/images/13shtj6s/kode_dev/94fd1449fb06763a71cc60b57e4faae8cd04eb36-1756x663.jpg",I="https://cdn.sanity.io/images/13shtj6s/kode_dev/bfe5c96607b61871185a344d9dfb7d44b516d09e-75x33.svg",F="https://cdn.sanity.io/images/13shtj6s/kode_dev/fb354c251c1c7a9832338782c024225c9d50e89b-1037x873.jpg",E="https://cdn.sanity.io/images/13shtj6s/kode_dev/94fd1449fb06763a71cc60b57e4faae8cd04eb36-1756x663.jpg",H="https://cdn.sanity.io/images/13shtj6s/kode_dev/d0fa81273f488a86b5f6aab2fea31f26e674976e-1037x873.jpg",P="https://cdn.sanity.io/images/13shtj6s/kode_dev/540c5735639e9e815a56ed41c97eb6474eecb8eb-369x459.jpg",U="https://cdn.sanity.io/images/13shtj6s/kode_dev/540c5735639e9e815a56ed41c97eb6474eecb8eb-369x459.jpg",R="https://cdn.sanity.io/images/13shtj6s/kode_dev/6d332f45075c39c97183b5ff3f544b660e728e71-470x350.jpg?w=470&h=350",X="https://cdn.sanity.io/images/13shtj6s/kode_dev/540c5735639e9e815a56ed41c97eb6474eecb8eb-369x459.jpg",Z="https://cdn.sanity.io/images/13shtj6s/kode_dev/eda8004c3934b74c2e199e779a0336a65a6ccc71-350x350.jpg"},83229:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return E}});var i,r=n(11010),s=n(97582),a=n(85893),o=n(67294),c=n(89928),l=n(20646),u=n(9473),d=n(11163),m=n(5152),p=n.n(m),h=n(59317),f=n(82411),g=n(3742),j=n(6434),b=n(82908),x=n(59219),v=n(63697),_=n(45777),k=n(87184),N=n(33964),y=n(59531),A=n(11183),w=n(5814),S=n(5677),T=n(9008),O=n.n(T),C=n(77021),AboutHead=function(){var e,t=(0,d.useRouter)(),n=t.query.lang,i=(0,u.v9)(function(e){return e.general.artworkTerms}),r=(0,u.v9)(function(e){return e.about}),s=r.data&&r.data[0]?r.data[0]:"",o=s&&s.page_meta?s.page_meta:"",c=s&&s.image_mobile?(0,g.uH)(s.image_mobile):C.RJ,translate=function(e){return r.isLoaded?(0,l.i0)(o,e,n):e},m=o.title?translate("title"):"".concat((e=A.FA,null!==i?(0,l.AH)(i.data,e,n):e)," - ").concat(A._Y),p=o.description?translate("description"):m;return(0,a.jsxs)(O(),{children:[(0,a.jsx)("title",{children:m}),(0,a.jsx)("meta",{name:"description",content:p}),(0,a.jsx)("meta",{property:"og:title",content:m}),(0,a.jsx)("meta",{property:"og:description",content:p}),(0,a.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,a.jsx)("meta",{property:"og:image",content:c}),(0,a.jsx)("meta",{property:"og:image:width",content:"369"}),(0,a.jsx)("meta",{property:"og:image:height",content:"459"}),(0,a.jsx)("meta",{property:"og:url",content:"".concat(k.fQ).concat(t.asPath)})]})},L=p()(function(){return n.e(780).then(n.bind(n,90780)).then(function(e){return e.Banners})},{loadableGenerated:{webpack:function(){return[90780]}}}),about_About=function(){var e=(0,d.useRouter)().query.lang,t=(0,o.useRef)(null),n=(0,o.useRef)(null),i=(0,u.v9)(function(e){return e.about}),r=i.data[0],s=(0,u.v9)(function(e){return e.general.artworkTerms}),c=(0,u.v9)(function(e){return e.contact}),m=(0,u.v9)(function(e){return e.footer}),p=(0,u.v9)(function(e){return e.bannersSettings}),T=p.isLoaded?p.bannersSettings.find(function(e){return e.page.toLowerCase()===b.Z.ABOUT}):null;(0,h.Xv)(i,f.v2),(0,h.Xv)(c,_.Nl);var O=(0,l.yA)([{model:i,texts:r.about_texts},{model:c,texts:c.contact.contact_texts}]),translate=function(t){return i.isLoaded&&c.isLoaded?(0,l.i0)(O,t,e):t},translateKey=function(t){return null!==s?(0,l.AH)(s.data,t,e):t},C=i.isLoaded&&r&&r.about_texts?r.about_texts.intro[e]?r.about_texts.intro[e]:r.about_texts.intro[k.Hj]:null;return(0,a.jsxs)("div",{className:"about",children:[(0,a.jsx)(AboutHead,{}),(0,a.jsxs)("div",{className:"resource-wrapper",children:[(0,a.jsxs)(N.O,{children:[(0,a.jsx)(y.rU,{to:"",parent:"",children:translateKey(A.Sd)}),(0,a.jsx)(y.rU,{to:b.Z.ABOUT,parent:b.Z.ABOUT,children:translate("title")})]}),i.isLoaded?(0,a.jsx)("div",{className:"content-wrapper",children:(0,a.jsxs)("div",{className:"about-content",children:[(0,a.jsxs)("header",{children:[(0,a.jsx)("h1",{className:"title",children:translate("title")}),(0,a.jsx)("div",{className:"intro",children:(0,a.jsx)("div",{className:"rich-text rich-text--intro",children:C?(0,a.jsx)(w.YI,{projectId:"13shtj6s",dataset:"kode_dev",value:C,components:l.fE}):null})})]}),(0,a.jsx)("div",{className:"grid",children:r.about_menu.length>0?r.about_menu.map(function(t,n){return(0,a.jsx)("div",{className:"grid__item artwork",style:{backgroundImage:"url(".concat((0,g.uH)(t.image),")")},children:(0,a.jsx)(y.jk,{param_1:b.Z.ABOUT,param_2:t.slug,children:(0,a.jsx)("div",{className:"grid__item-label",children:(0,a.jsx)("h2",{children:(0,a.jsx)(S.C,{text:(0,l.i0)(r.about_menu[n],"title",e),mark:":"})})})})},n)}):null})]})}):(0,a.jsx)(j.T,{})]}),c.isLoaded&&m.isLoaded?(0,a.jsx)("div",{className:"w-unknown-single",ref:t,id:"contact",children:(0,a.jsx)("section",{className:"contact",children:(0,a.jsxs)("div",{className:"contact-container",children:[(0,a.jsx)("h2",{className:"title",children:translateKey("contact_with_us")}),(0,a.jsxs)("div",{className:"content",children:[(0,a.jsx)("div",{className:"col col-2-3",children:(0,a.jsx)(x.t,{form:"unknown-artwork-form",destroyOnUnmount:!0,translate:translate})}),(0,a.jsx)(v.e,{lang:e,footer:m,contact:c,translate:translate})]})]})})}):(0,a.jsx)(j.T,{}),p.isLoaded?(0,a.jsx)(L,{bannersArray:T.banners_general,domRef:n}):(0,a.jsx)(j.T,{})]})},B=n(39878),I=n(36979),F=n(23040),AboutPage=function(){return(0,a.jsx)(c.A,{children:(0,a.jsx)(about_About,{})})};AboutPage.getInitialProps=(i=(0,r._)(function(e){var t;return(0,s.Jh)(this,function(n){switch(n.label){case 0:return t=e.store,e.query,[4,(0,l.tx)(t,[(0,f.v2)(),(0,I.v2)(),(0,B.hh)(),(0,B.Yu)(),(0,F.cC)(),(0,_.Nl)()])];case 1:return n.sent(),[2,{}]}})}),function(e){return i.apply(this,arguments)});var E=AboutPage},33964:function(e,t,n){"use strict";n.d(t,{O:function(){return Breadcrumbs}});var i=n(85893),r=n(67294),BreadcrumbsItem=function(e){var t=e.children,n=e.lastItem;return(0,i.jsx)("div",{className:"breadcrumbs__item ".concat(n?"last-item":""),children:t})},Breadcrumbs=function(e){var t=e.children,n=e.header,s=e.artwork,a=void 0!==s&&s,o=e.resourcePage,c=void 0!==o&&o,l=r.Children.toArray(t),u=l.length-1;return l=l.map(function(e,t){return(0,i.jsx)(BreadcrumbsItem,{lastItem:u===t,children:e},"breadcrumb_item".concat(t))}),(0,i.jsx)("div",{className:"breadcrumbs ".concat(void 0!==n&&n?"breadcrumbs--with-header":""," ").concat(a?"breadcrumbs--artwork":""," ").concat(c?"breadcrumbs--resource-page":""),children:l})}},5677:function(e,t,n){"use strict";n.d(t,{C:function(){return SplitText}});var i=n(85893);n(67294);var SplitText=function(e){var t=e.text,n=e.mark,r=t.split(n);return 1===r.length?(0,i.jsx)("span",{children:t}):r.map(function(e,t){return(0,i.jsxs)("span",{children:[e,0===t?n:null,0===t?(0,i.jsx)("br",{}):null]},t)})}}},function(e){e.O(0,[2160,5814,7536,9928,9774,2888,179],function(){return e(e.s=77929)}),_N_E=e.O()}]);