PageSourceSearch

https://utzon-frank.vercel.app/_next/static/chunks/app/(site)/contact/page-6e7334d6193e1955.js

js utzon-frank.vercel.app collected 2026-10-03 07:57:19 UTC 4,750 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7474],{8924:(e,t,r)=>{"use strict";r.d(t,{Q:()=>o});var s=r(30926);let o=(0,s.createServerReference)("7fb165059d55fc382c6126be28db23e7debe343fca",s.callServer,void 0,s.findSourceMapURL,"revalidateSyncTags")},29464:(e,t,r)=>{"use strict";r.d(t,{ContactForm:()=>i});var s=r(95155),o=r(12115),a=r(20063);let l={borderBottom:"1px solid #9C9890"},n="#2C2C2C",c="#9C9890";function i(){var e;let t=null!=(e=(0,a.useSearchParams)().get("subject"))?e:"",[r,i]=(0,o.useState)("idle"),[d,u]=(0,o.useState)({name:"",email:"",subject:t,message:""}),m=e=>t=>{u(r=>({...r,[e]:t.target.value})),"idle"!==r&&i("idle")},b=async e=>{e.preventDefault(),i("loading");try{if(!(await fetch("/api/contact",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(d)})).ok)throw Error("Failed");u({name:"",email:"",subject:"",message:""}),i("success")}catch(e){i("error")}};return"success"===r?(0,s.jsx)("div",{className:"py-12",children:(0,s.jsx)("p",{className:"font-body text-sm text-charcoal",children:"Your message has been sent. We will get back to you shortly."})}):(0,s.jsxs)("form",{onSubmit:b,className:"space-y-6",children:[(0,s.jsx)("style",{children:"form input::placeholder, form textarea::placeholder { color: #888880; }"}),(0,s.jsxs)("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-6",children:[(0,s.jsxs)("div",{children:[(0,s.jsx)("label",{className:"block font-body text-2xs tracking-widest uppercase mb-2",style:{color:"#2C2C2C"},children:"Name"}),(0,s.jsx)("input",{type:"text",value:d.name,onChange:m("name"),required:!0,className:"w-full bg-transparent py-3 font-body text-sm text-charcoal focus:outline-none transition-colors duration-300",style:l,onFocus:e=>e.currentTarget.style.borderBottomColor=n,onBlur:e=>e.currentTarget.style.borderBottomColor=c,placeholder:"Your full name"})]}),(0,s.jsxs)("div",{children:[(0,s.jsx)("label",{className:"block font-body text-2xs tracking-widest uppercase mb-2",style:{color:"#2C2C2C"},children:"Email"}),(0,s.jsx)("input",{type:"email",value:d.email,onChange:m("email"),required:!0,className:"w-full bg-transparent py-3 font-body text-sm text-charcoal focus:outline-none transition-colors duration-300",style:l,onFocus:e=>e.currentTarget.style.borderBottomColor=n,onBlur:e=>e.currentTarget.style.borderBottomColor=c,placeholder:"[email protected]"})]})]}),(0,s.jsxs)("div",{children:[(0,s.jsx)("label",{className:"block font-body text-2xs tracking-widest uppercase mb-2",style:{color:"#2C2C2C"},children:"Subject"}),(0,s.jsx)("input",{type:"text",value:d.subject,onChange:m("subject"),className:"w-full bg-transparent py-3 font-body text-sm text-charcoal focus:outline-none transition-colors duration-300",style:l,onFocus:e=>e.currentTarget.style.borderBottomColor=n,onBlur:e=>e.currentTarget.style.borderBottomColor=c,placeholder:"What is your message about?"})]}),(0,s.jsxs)("div",{children:[(0,s.jsx)("label",{className:"block font-body text-2xs tracking-widest uppercase mb-2",style:{color:"#2C2C2C"},children:"Message"}),(0,s.jsx)("textarea",{value:d.message,onChange:m("message"),required:!0,rows:6,className:"w-full bg-transparent py-3 font-body text-sm text-charcoal focus:outline-none transition-colors duration-300 resize-none",style:l,onFocus:e=>e.currentTarget.style.borderBottomColor=n,onBlur:e=>e.currentTarget.style.borderBottomColor=c,placeholder:"Write your message here…"})]}),"error"===r&&(0,s.jsx)("p",{className:"font-body text-sm",style:{color:"#B04040"},children:"Something went wrong. Please try again or email us directly."}),(0,s.jsx)("button",{type:"submit",disabled:"loading"===r,className:"px-8 py-3 bg-charcoal text-canvas font-body text-xs tracking-widest uppercase hover:bg-terracotta transition-colors duration-300 disabled:opacity-50",children:"loading"===r?"Sending…":"Send message"})]})}},29537:(e,t,r)=>{"use strict";r.d(t,{FadeIn:()=>a});var s=r(95155),o=r(12115);function a(e){let{children:t,className:r="",stagger:a=!1,delay:l=0,immediate:n=!1}=e,c=(0,o.useRef)(null);return(0,o.useEffect)(()=>{if(n)return;let e=c.current;if(!e)return;let t=new IntersectionObserver(r=>{let[s]=r;s.isIntersecting&&(l&&(e.style.transitionDelay="".concat(l,"ms")),e.classList.add("is-visible"),t.unobserve(e))},{threshold:.12});return t.observe(e),()=>t.disconnect()},[l,n]),(0,s.jsx)("div",{ref:c,className:"".concat(a?"fade-in-stagger":"fade-in"," ").concat(n?"is-visible":""," ").concat(r).trim(),children:t})}},47702:(e,t,r)=>{Promise.resolve().then(r.bind(r,29464)),Promise.resolve().then(r.bind(r,29537)),Promise.resolve().then(r.bind(r,98061)),Promise.resolve().then(r.bind(r,35168)),Promise.resolve().then(r.bind(r,86797))}},e=>{e.O(0,[9322,9569,8441,1255,7358],()=>e(e.s=47702)),_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.