PageSourceSearch

https://danamontlackcom.vercel.app/_next/static/chunks/5931-888154d09656cd08.js

js danamontlackcom.vercel.app collected 2026-10-03 06:31:03 UTC 12,870 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5931],{5931:function(e,t,n){n.d(t,{Z:function(){return z}});var r=n(85893),a=n(67294),s=n(9008),i=n.n(s),l=n(11163),o=n(41664),c=n.n(o),d=n(1714),u=n(11669),m=n(98553),p=n(8002),x=n(82729),f=n(41972);function h(){let e=(0,x._)(['{\n  "settings": *[_type == "siteSettings"][0] {\n    siteTitle,\n    heroHeadline,\n    heroSlogan,\n    heroImage,\n    bioSnippet,\n    seoDescription,\n    ogImage,\n    featuredContent { image, content, link, linkText }\n  },\n  "featuredSeries": *[_type == "workSeries"] | order(orderRank asc)[0..5] {\n    title, slug, featuredImage\n  }\n}']);return h=function(){return e},e}function g(){let e=(0,x._)(['\n  *[_type == "siteSettings"][0] {\n    siteTitle, bioImage, bioText, statementText, cvText, cvPdf, contactEmail, contactBlurb, mailchimpUrl, instagramFeedUrl,\n    "socialGrid": socialGrid[] { asset, "url": url, alt },\n    newsletterPopup, socialLinks, linksPage\n  }\n']);return g=function(){return e},e}function b(){let e=(0,x._)(['\n  *[_type == "workSeries"] | order(orderRank asc) {\n    _id, title, slug, featuredImage\n  }\n']);return b=function(){return e},e}function k(){let e=(0,x._)(['\n  *[_type == "workSeries" && slug.current == $slug][0] {\n    title,\n    seriesStatement,\n    galleryAspectRatio,\n    enableDropShadow,\n    enableGalleryBackground,\n    featuredImage,\n    seoDescription,\n    gallery[] {\n      "asset": asset->{ _id, metadata { dimensions { width, height } } },\n      title, medium, dimensions, year, alt\n    },\n    "prev": *[_type == "workSeries" && orderRank < ^.orderRank] | order(orderRank desc)[0] { title, slug },\n    "next": *[_type == "workSeries" && orderRank > ^.orderRank] | order(orderRank asc)[0] { title, slug }\n  }\n']);return k=function(){return e},e}function y(){let e=(0,x._)(['*[_type == "workSeries" && defined(slug.current)][].slug.current']);return y=function(){return e},e}function v(){let e=(0,x._)(['\n  *[_type == "installation"] | order(orderRank asc) {\n    _id, title, subtitle, slug, featuredMedia { mediaType, image, videoUrl }\n  }\n']);return v=function(){return e},e}function j(){let e=(0,x._)(['\n  *[_type == "installation" && slug.current == $slug][0] {\n    title, subtitle, statement, galleryAspectRatio, enableDropShadow, enableGalleryBackground, seoDescription,\n    featuredMedia { mediaType, image, videoUrl },\n    gallery[] {\n      "asset": asset->{ _id, metadata { dimensions { width, height } } },\n      title, alt\n    },\n    pressLinks,\n    "prev": *[_type == "installation" && orderRank < ^.orderRank] | order(orderRank desc)[0] { title, slug },\n    "next": *[_type == "installation" && orderRank > ^.orderRank] | order(orderRank asc)[0] { title, slug }\n  }\n']);return j=function(){return e},e}function w(){let e=(0,x._)(['*[_type == "installation" && defined(slug.current)][].slug.current']);return w=function(){return e},e}function N(){let e=(0,x._)(['\n  *[_type == "news"] | order(publishDate desc) {\n    _id, title, slug, publishDate, excerpt, featuredImage\n  }\n']);return N=function(){return e},e}function _(){let e=(0,x._)(['\n  *[_type == "news" && slug.current == $slug][0] {\n    title, subtitle, hideFeaturedImage, publishDate, featuredImage, excerpt, body\n  }\n']);return _=function(){return e},e}function S(){let e=(0,x._)(['*[_type == "news" && defined(slug.current)][].slug.current']);return S=function(){return e},e}function Z(){let e=(0,x._)(['{\n  "settings": *[_type == "siteSettings"][0] { "pressKitPdfUrl": pressKitPdf.asset->url },\n  "pressItems": *[_type == "press"] | order(publishDate desc) {\n    _id, publication, title, publishDate, link, "pdfUrl": pdf.asset->url\n  }\n}']);return Z=function(){return e},e}(0,f.Z)(h());let I=(0,f.Z)(g());function R(){let[e,t]=(0,a.useState)(!1),[n,s]=(0,a.useState)("Dana Montlack");(0,a.useEffect)(()=>{p.Lp.fetch(I).then(e=>{(null==e?void 0:e.siteTitle)&&s(e.siteTitle)})},[]);let i=[{name:"Work",href:"/work"},{name:"Installations",href:"/installations"},{name:"News",href:"/news"},{name:"Press",href:"/press"},{name:"About",href:"/about",submenu:[{name:"Bio / Statement",href:"/about"},{name:"CV",href:"/cv"}]},{name:"Contact",href:"/contact"}];return(0,r.jsxs)("header",{className:"w-full top-0 z-50 bg-white/95 backdrop-blur-sm transition-all duration-300 border-b border-transparent",children:[(0,r.jsx)("div",{className:"w-full px-[6vw]",children:(0,r.jsxs)("div",{className:"flex justify-between items-center h-24 md:h-32",children:[(0,r.jsx)(c(),{href:"/",className:"site-title",children:n}),(0,r.jsx)("nav",{className:"hidden md:flex space-x-4 lg:space-x-4 items-center",children:i.map(e=>(0,r.jsxs)("div",{className:"relative group h-full flex items-center",children:[(0,r.jsxs)(c(),{href:e.href,className:"nav-link flex items-center gap-1 ".concat(e.submenu?"group-hover:text-black":""),children:[e.name,e.submenu&&(0,r.jsx)(d.Z,{size:14,className:"mt-[1px] opacity-50"})]}),e.submenu&&(0,r.jsx)("div",{className:"dropdown-menu",children:(0,r.jsx)("div",{className:"dropdown-content",children:e.submenu.map(e=>(0,r.jsx)(c(),{href:e.href,className:"dropdown-item",children:e.name},e.name))})})]},e.name))}),(0,r.jsx)("div",{className:"md:hidden flex items-center",children:(0,r.jsx)("button",{onClick:()=>t(!e),className:"text-black focus:outline-none",children:e?(0,r.jsx)(u.Z,{size:32}):(0,r.jsx)(m.Z,{size:32})})})]})}),e&&(0,r.jsx)("div",{className:"md:hidden absolute top-full left-0 w-full bg-white border-b border-gray-100 py-8 px-[6vw] shadow-lg max-h-[80vh] overflow-y-auto",children:(0,r.jsx)("div",{className:"flex flex-col space-y-6",children:i.map(e=>(0,r.jsx)("div",{className:"flex flex-col",children:e.submenu?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("span",{className:"nav-link text-lg opacity-50 mb-4 border-b border-gray-100 pb-2 cursor-default",children:e.name}),(0,r.jsx)("div",{className:"flex flex-col space-y-4 pl-4 border-l border-gray-200",children:e.submenu.map(e=>(0,r.jsx)(c(),{href:e.href,onClick:()=>t(!1),className:"nav-link text-base",children:e.name},e.name))})]}):(0,r.jsx)(c(),{href:e.href,onClick:()=>t(!1),className:"nav-link text-lg",children:e.name})},e.name))})})]})}
1(0,f.Z)(b()),(0,f.Z)(k()),(0,f.Z)(y()),(0,f.Z)(v()),(0,f.Z)(j()),(0,f.Z)(w()),(0,f.Z)(N()),(0,f.Z)(_()),(0,f.Z)(S()),(0,f.Z)(Z());var D=n(86894),C=n(57843),P=n(69284);function T(){let e=new Date().getFullYear(),[t,n]=(0,a.useState)(null);return(0,a.useEffect)(()=>{p.Lp.fetch(I).then(e=>{(null==e?void 0:e.socialLinks)&&n(e.socialLinks)})},[]),(0,r.jsx)("footer",{className:"w-full py-12 px-6 border-t border-gray-100 mt-20",children:(0,r.jsxs)("div",{className:"max-w-screen-2xl mx-auto flex flex-col md:flex-row justify-between items-center space-y-6 md:space-y-0",children:[(0,r.jsxs)("div",{className:"text-xs uppercase tracking-widest text-gray-500",children:["\xa9 ",e," Dana Montlack. All rights reserved."]}),(0,r.jsxs)("div",{className:"flex space-x-6 text-gray-400",children:[(null==t?void 0:t.instagram)&&(0,r.jsx)("a",{href:t.instagram,target:"_blank",rel:"noreferrer",className:"hover:text-black transition-colors","aria-label":"Instagram",children:(0,r.jsx)(D.Z,{size:20,strokeWidth:1.5})}),(null==t?void 0:t.facebook)&&(0,r.jsx)("a",{href:t.facebook,target:"_blank",rel:"noreferrer",className:"hover:text-black transition-colors","aria-label":"Facebook",children:(0,r.jsx)(C.Z,{size:20,strokeWidth:1.5})}),(null==t?void 0:t.linkedin)&&(0,r.jsx)("a",{href:t.linkedin,target:"_blank",rel:"noreferrer",className:"hover:text-black transition-colors","aria-label":"LinkedIn",children:(0,r.jsx)(P.Z,{size:20,strokeWidth:1.5})})]})]})})}var E=n(72572);function L(){let e=(0,x._)(['*[_type == "siteSettings"][0] { \n  newsletterPopup,\n  mailchimpUrl\n}']);return L=function(){return e},e}let M=(0,f.Z)(L());function U(){let[e,t]=(0,a.useState)(!1),[n,s]=(0,a.useState)(null);(0,a.useEffect)(()=>{localStorage.getItem("hasSeenPopup")||p.Lp.fetch(M).then(e=>{var n;(null==e?void 0:null===(n=e.newsletterPopup)||void 0===n?void 0:n.enabled)&&(s(e),setTimeout(()=>t(!0),3e3))})},[]);let i=()=>{t(!1),localStorage.setItem("hasSeenPopup","true")};if(!e||!n)return null;let{newsletterPopup:l,mailchimpUrl:o}=n;return(0,r.jsx)("div",{className:"fixed bottom-0 right-0 z-50 p-4 md:p-6 w-full md:w-[480px]",children:(0,r.jsxs)("div",{className:"bg-white border border-gray-200 shadow-2xl p-8 relative animate-fade-in-up",children:[(0,r.jsx)("button",{onClick:i,className:"absolute top-4 right-4 text-gray-400 hover:text-black transition-colors",children:(0,r.jsx)(u.Z,{size:20})}),(0,r.jsxs)("div",{className:"space-y-4 text-center",children:[(0,r.jsx)("h3",{className:"text-xl md:text-2xl font-futura uppercase text-gray-black",children:l.title||"Join the List"}),(0,r.jsx)("p",{className:"font-proxima text-gray-paragraph text-sm md:text-base leading-relaxed mb-6",children:l.description||"Sign up to receive news and updates on exhibitions."}),(0,r.jsx)(E.Z,{mailchimpUrl:o}),(0,r.jsx)("button",{onClick:i,className:"text-xs font-futura uppercase tracking-widest text-gray-400 hover:text-gray-600 underline mt-4",children:"No thanks"})]})]})})}function z(e){let{children:t,title:n,description:a,ogImage:s}=e,o=(0,l.useRouter)(),c="Dana Montlack | Artist",d="Portfolio of Dana Montlack, exploring the intersections of art, science, and the environment.",u=o.asPath.split("?")[0].split("#")[0];return(0,r.jsxs)("div",{className:"min-h-screen flex flex-col bg-white text-gray-900 antialiased selection:bg-gray-200 selection:text-black",children:[(0,r.jsxs)(i(),{children:[(0,r.jsx)("title",{children:n?"".concat(n," | Dana Montlack"):c}),(0,r.jsx)("meta",{name:"description",content:a||d}),(0,r.jsx)("meta",{property:"og:title",content:n||c}),(0,r.jsx)("meta",{property:"og:description",content:a||d}),s&&(0,r.jsx)("meta",{property:"og:image",content:s}),(0,r.jsx)("meta",{name:"viewport",content:"width=device-width, initial-scale=1"}),(0,r.jsx)("link",{rel:"canonical",href:"https://danamontlack.com".concat("/"===u?"":u)})]}),(0,r.jsx)(R,{}),(0,r.jsx)("main",{className:"flex-grow layout-main-container",children:t}),(0,r.jsx)(T,{}),(0,r.jsx)(U,{})]})}},72572:function(e,t,n){n.d(t,{Z:function(){return l}});var r=n(85893),a=n(67294),s=n(70365),i=n.n(s);function l(e){let{mailchimpUrl:t}=e,[n,s]=(0,a.useState)(""),[l,o]=(0,a.useState)("idle"),[c,d]=(0,a.useState)("");if((0,a.useEffect)(()=>
1{if(t&&t.includes("beehiiv.com")){let e="beehiiv-script";if(!document.getElementById(e)){let t=document.createElement("script");t.id=e,t.src="https://subscribe-forms.beehiiv.com/embed.js",t.async=!0,document.body.appendChild(t)}}},[t]),!t)return(0,r.jsx)("p",{className:"text-gray-400 text-sm",children:"Newsletter configuration missing."});if(t.includes("beehiiv.com")){let e=t.match(/src=["']([^"']+)["']/),n=e?e[1]:t;return(0,r.jsx)("div",{className:"w-full flex justify-center bg-transparent",children:(0,r.jsx)("iframe",{src:n,className:"beehiiv-embed","data-test-id":"beehiiv-embed",width:"100%",height:"320",frameBorder:"0",scrolling:"no",style:{margin:"0 auto",borderRadius:"0px",backgroundColor:"transparent",maxWidth:"480px"}})})}return"success"===l?(0,r.jsxs)("div",{className:"text-center p-4 bg-gray-50 text-gray-paragraph font-proxima animate-fade-in-up max-w-md mx-auto",children:[(0,r.jsx)("p",{className:"font-bold",children:"Subscribed!"}),(0,r.jsx)("p",{className:"text-sm mt-1",children:c})]}):(0,r.jsxs)("div",{className:"w-full max-w-md mx-auto",children:[(0,r.jsxs)("form",{onSubmit:e=>{e.preventDefault(),o("loading");let r=t.replace("/post?","/post-json?").replace(/&amp;/g,"&"),a="&EMAIL=".concat(encodeURIComponent(n));i()(r+a,{param:"c"},(e,t)=>{e?(o("error"),console.error("Mailchimp JSONP Error:",e),d("Network error. Please try again later.")):"success"!==t.result?(o("error"),d(t.msg||"Unable to subscribe.")):(o("success"),d("Thank you for subscribing!"))})},className:"w-full flex flex-col md:flex-row gap-3",children:[(0,r.jsx)("input",{type:"email",placeholder:"Enter your email address",value:n,onChange:e=>s(e.target.value),required:!0,disabled:"loading"===l,className:"flex-grow appearance-none border border-gray-300 p-3 text-gray-paragraph font-proxima placeholder-gray-400 focus:outline-none focus:border-black transition-colors disabled:opacity-50"}),(0,r.jsx)("button",{type:"submit",disabled:"loading"===l,className:"btn bg-gray-black text-white px-8 py-3 hover:opacity-80 transition-opacity disabled:opacity-50 whitespace-nowrap",children:"loading"===l?"Sending...":"Subscribe"})]}),"error"===l&&(0,r.jsx)("p",{className:"text-red-500 text-xs mt-3 font-proxima",dangerouslySetInnerHTML:{__html:c}})]})}},8002:function(e,t,n){n.d(t,{Lp:function(){return i},Sx:function(){return a},gx:function(){return s}});var r=n(66319);let a="q3dvb7fm",s="production",i=(0,r.eI)({projectId:a,dataset:s,apiVersion:"2023-05-03",useCdn:!1})}}]);

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.