PageSourceSearch

https://utzon-frank.vercel.app/_next/static/chunks/app/(site)/layout-5015fe43e2c78ba1.js

js utzon-frank.vercel.app collected 2026-10-03 07:57:13 UTC 8,523 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6750],{8924:(e,t,r)=>{"use strict";r.d(t,{Q:()=>n});var o=r(30926);let n=(0,o.createServerReference)("7fb165059d55fc382c6126be28db23e7debe343fca",o.callServer,void 0,o.findSourceMapURL,"revalidateSyncTags")},27743:(e,t,r)=>{"use strict";r.d(t,{NewsletterPopup:()=>a});var o=r(95155),n=r(12115);let i="newsletter_popup_seen";function a(){let[e,t]=(0,n.useState)(!1),[r,a]=(0,n.useState)(""),[s,l]=(0,n.useState)("idle"),c=(0,n.useRef)(null);(0,n.useEffect)(()=>{if(sessionStorage.getItem(i))return;let e=setTimeout(()=>t(!0),5e3);return()=>clearTimeout(e)},[]),(0,n.useEffect)(()=>{var t;e&&(null==(t=c.current)||t.focus())},[e]);let d=()=>{sessionStorage.setItem(i,"1"),t(!1)},u=async e=>{if(e.preventDefault(),r.trim()){l("loading");try{if(!(await fetch("/api/subscribe",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:r.trim()})})).ok)throw Error("Failed");l("success"),sessionStorage.setItem(i,"1"),setTimeout(()=>t(!1),2e3)}catch(e){l("error")}}};return e?(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("div",{role:"presentation",onClick:d,style:{position:"fixed",inset:0,zIndex:9998,background:"rgba(26, 26, 26, 0.55)",backdropFilter:"blur(2px)",WebkitBackdropFilter:"blur(2px)"}}),(0,o.jsx)("div",{role:"dialog","aria-modal":"true","aria-labelledby":"popup-heading",style:{position:"fixed",inset:0,zIndex:9999,display:"flex",alignItems:"center",justifyContent:"center",padding:"24px 16px",pointerEvents:"none"},children:(0,o.jsxs)("div",{style:{background:"#F2EDE6",width:"100%",maxWidth:480,padding:"clamp(32px, 6vw, 56px)",position:"relative",pointerEvents:"auto",boxShadow:"0 24px 80px rgba(26,26,26,0.18)"},children:[(0,o.jsx)("button",{onClick:d,"aria-label":"Close",style:{position:"absolute",top:20,right:20,background:"none",border:"none",cursor:"pointer",padding:4,lineHeight:1,color:"#9A9087"},children:(0,o.jsxs)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none","aria-hidden":"true",children:[(0,o.jsx)("line",{x1:"1",y1:"1",x2:"15",y2:"15",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"}),(0,o.jsx)("line",{x1:"15",y1:"1",x2:"1",y2:"15",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"})]})}),"success"===s?(0,o.jsx)("div",{style:{textAlign:"center",padding:"16px 0"},children:(0,o.jsx)("p",{style:{fontFamily:"'Cormorant Garamond', Georgia, serif",fontSize:"clamp(20px, 4vw, 26px)",fontWeight:400,color:"#1a1a1a",margin:0},children:"Thank you for subscribing!"})}):(0,o.jsxs)("form",{onSubmit:u,noValidate:!0,children:[(0,o.jsx)("h2",{id:"popup-heading",style:{fontFamily:"'Cormorant Garamond', Georgia, serif",fontSize:"clamp(24px, 5vw, 36px)",fontWeight:400,color:"#1a1a1a",margin:"0 0 12px",lineHeight:1.2,paddingRight:24},children:"Stay Informed"}),(0,o.jsx)("p",{style:{fontFamily:"'EB Garamond', Georgia, serif",fontSize:14,lineHeight:1.7,color:"#4A4845",margin:"0 0 32px"},children:"Subscribe to receive news about new acquisitions and upcoming events."}),(0,o.jsxs)("div",{style:{marginBottom:20},children:[(0,o.jsx)("label",{htmlFor:"popup-email",style:{display:"block",fontFamily:"'EB Garamond', Georgia, sans-serif",fontSize:10,letterSpacing:"0.12em",textTransform:"uppercase",color:"#2C2C2C",marginBottom:8},children:"Email address"}),(0,o.jsx)("input",{ref:c,id:"popup-email",type:"email",value:r,onChange:e=>{a(e.target.value),"error"===s&&l("idle")},required:!0,placeholder:"[email protected]",style:{width:"100%",background:"transparent",border:"none",borderBottom:"1px solid #9C9890",padding:"10px 0",fontFamily:"'EB Garamond', Georgia, serif",fontSize:15,color:"#2C2C2C",outline:"none",boxSizing:"border-box"},onFocus:e=>e.currentTarget.style.borderBottomColor="#2C2C2C",onBlur:e=>e.currentTarget.style.borderBottomColor="#9C9890"})]}),"error"===s&&(0,o.jsx)("p",{style:{fontFamily:"'EB Garamond', Georgia, serif",fontSize:13,color:"#B04040",margin:"0 0 16px"},children:"Something went wrong. Please try again."}),(0,o.jsx)("button",{type:"submit",disabled:"loading"===s,style:{display:"block",width:"100%",padding:"14px 24px",background:"loading"===s?"#555":"#2C2C2C",color:"#F2EDE6",border:"none",cursor:"loading"===s?"not-allowed":"pointer",fontFamily:"'EB Garamond', Georgia, sans-serif",fontSize:11,letterSpacing:"0.14em",textTransform:"uppercase",transition:"background 300ms",marginBottom:16},onMouseEnter:e=>{"loading"!==s&&(e.currentTarget.style.background="#C0714A")},onMouseLeave:e=>{"loading"!==s&&(e.currentTarget.style.background="#2C2C2C")},children:"loading"===s?"Subscribing…":"Subscribe"}),(0,o.jsx)("div",{style:{textAlign:"center"},children:(0,o.jsx)("button",{type:"button",onClick:d,style:{background:"none",border:"none",cursor:"pointer",fontFamily:"'EB Garamond', Georgia, serif",fontSize:13,color:"#9A9087",textDecoration:"underline",padding:0},children:"No thank you"})})]})]})})]}):null}},55325:(e,t,r)=>{"use strict";r.d(t,{Nav:()=>l});var o=r(95155),n=r(52619),i=r.n(n),a=r(20063);let s=[{href:"/collection",label:"Collection"},{href:"/about",label:"About"},{href:"/contact",label:"Contact"}];function l(){let e=(0,a.usePathname)();return(0,o.jsx)("header",{className:"fixed top-0 left-0 right-0 z-50 bg-canvas/95 backdrop-blur-sm border-b border-border",children:(0,o.jsxs)("nav",{className:"max-w-7xl mx-auto px-6 md:px-12 h-16 flex items-center justify-between",children:[(0,o.jsx)(i(),{href:"/",className:"flex items-center",children:(0,o.jsx)("img",{src:"/logos/logo.webp",alt:"Kunsthandel Utzon-Frank",style:{height:"52px",width:"auto",objectFit:"contain"}})}),(0,o.jsx)("ul",{className:"flex items-center gap-10",children:s.map(t=>{let{href:r,label:n}=t,a=e===r||e.startsWith(r+"/");return(0,o.jsx)("li",{children:(0,o.jsx)(i(),{href:r,className:["font-body text-xs tracking-widest uppercase transition-colors duration-300",a?"text-terracotta":"text-charcoal hover:text-terracotta"].join(" "),children:n})},r)})})]})})}},59356:(e,t,r)=>
1{Promise.resolve().then(r.bind(r,55325)),Promise.resolve().then(r.bind(r,98769)),Promise.resolve().then(r.bind(r,27743)),Promise.resolve().then(r.bind(r,98061)),Promise.resolve().then(r.bind(r,35168)),Promise.resolve().then(r.bind(r,86797)),Promise.resolve().then(r.t.bind(r,52619,23))},83011:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useMergedRef",{enumerable:!0,get:function(){return n}});let o=r(12115);function n(e,t){let r=(0,o.useRef)(null),n=(0,o.useRef)(null);return(0,o.useCallback)(o=>{if(null===o){let e=r.current;e&&(r.current=null,e());let t=n.current;t&&(n.current=null,t())}else e&&(r.current=i(e,o)),t&&(n.current=i(t,o))},[e,t])}function i(e,t){if("function"!=typeof e)return e.current=t,()=>{e.current=null};{let r=e(t);return"function"==typeof r?r:()=>e(null)}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},98769:(e,t,r)=>{"use strict";r.d(t,{NewsletterForm:()=>i});var o=r(95155),n=r(12115);function i(){let[e,t]=(0,n.useState)(""),[r,i]=(0,n.useState)("idle"),[a,s]=(0,n.useState)(""),l=async r=>{if(r.preventDefault(),e.trim()){i("loading");try{let r=await fetch("/api/subscribe",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:e})});await r.json(),r.ok?(i("success"),s("Thank you for subscribing!"),t("")):(i("error"),s("Something went wrong — please try again."))}catch(e){i("error"),s("Network error — please try again.")}}};return"success"===r?(0,o.jsx)("p",{className:"font-body text-sm text-terracotta",children:a}):(0,o.jsxs)("form",{onSubmit:l,className:"flex flex-col gap-3",children:[(0,o.jsxs)("div",{className:"flex",children:[(0,o.jsx)("input",{type:"email",value:e,onChange:e=>{t(e.target.value),i("idle")},placeholder:"[email protected]",required:!0,className:"flex-1 bg-transparent border border-border px-4 py-2.5 text-sm font-body text-charcoal placeholder:text-muted/50 focus:outline-none focus:border-charcoal transition-colors duration-300"}),(0,o.jsx)("button",{type:"submit",disabled:"loading"===r,className:"px-5 py-2.5 bg-charcoal text-canvas text-xs font-body tracking-widest uppercase hover:bg-terracotta transition-colors duration-300 disabled:opacity-50",children:"loading"===r?"…":"Subscribe"})]}),"error"===r&&(0,o.jsx)("p",{className:"font-body text-xs text-terracotta",children:a})]})}}},e=>{e.O(0,[9322,9569,2619,8441,1255,7358],()=>e(e.s=59356)),_N_E=e.O()}]);

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.