1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,22547,e=>{"use strict";var r=e.i(6687),a=e.i(63716),t=e.i(12144);e.s(["ContactForm",0,function(){let[e,d]=(0,t.useState)("idle"),[s,i]=(0,t.useState)(""),l=async e=>{e.preventDefault();let a=e.currentTarget;d("submitting");try{let e=new FormData(a),t=e.get("website");if("string"==typeof t&&t.trim().length>0){d("success"),i("Thank you for your message! We'll get back to you soon."),a.reset();return}let s={name:e.get("name"),email:e.get("email"),subject:e.get("subject"),message:e.get("message")},l=r.default.env.NEXT_PUBLIC_FORMSPREE_FORM_ID;if(!l)throw Error("Contact form is not configured.");if(!(await fetch(`https://formspree.io/f/${l}`,{method:"POST",headers:{Accept:"application/json","Content-Type":"application/json"},body:JSON.stringify(s)})).ok)throw Error("Submission failed");d("success"),i("Thank you for your message! We'll get back to you soon."),a.reset()}catch(e){d("error"),i("Failed to send message. Please try again or contact us directly via email.")}};return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("form",{onSubmit:e=>{l(e)},className:"space-y-6","aria-busy":"submitting"===e,children:[(0,a.jsxs)("div",{style:{display:"none"},"aria-hidden":"true",children:[(0,a.jsx)("label",{htmlFor:"website",children:"Website"}),(0,a.jsx)("input",{type:"text",id:"website",name:"website",tabIndex:-1,autoComplete:"off"})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("label",{htmlFor:"name",className:"mb-2 block font-semibold text-gray-700 dark:text-gray-300",children:"Name *"}),(0,a.jsx)("input",{type:"text",id:"name",name:"name",required:!0,autoComplete:"name",enterKeyHint:"next",disabled:"submitting"===e,className:"focus:border-brand-primary/50 focus:ring-brand-primary/50 w-full rounded-lg border border-gray-300 px-4 py-3 focus:ring-2 focus:outline-hidden disabled:bg-gray-100 disabled:text-gray-500 dark:border-gray-600 dark:bg-gray-800 dark:disabled:border-gray-700 dark:disabled:bg-gray-900 dark:disabled:text-gray-400"})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("label",{htmlFor:"email",className:"mb-2 block font-semibold text-gray-700 dark:text-gray-300",children:"Email *"}),(0,a.jsx)("input",{type:"email",id:"email",name:"email",required:!0,autoComplete:"email",enterKeyHint:"next",disabled:"submitting"===e,className:"focus:border-brand-primary/50 focus:ring-brand-primary/50 w-full rounded-lg border border-gray-300 px-4 py-3 focus:ring-2 focus:outline-hidden disabled:bg-gray-100 disabled:text-gray-500 dark:border-gray-600 dark:bg-gray-800 dark:disabled:border-gray-700 dark:disabled:bg-gray-900 dark:disabled:text-gray-400"})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("label",{htmlFor:"subject",className:"mb-2 block font-semibold text-gray-700 dark:text-gray-300",children:"Subject *"}),(0,a.jsx)("input",{type:"text",id:"subject",name:"subject",required:!0,autoComplete:"off",enterKeyHint:"next",disabled:"submitting"===e,className:"focus:border-brand-primary/50 focus:ring-brand-primary/50 w-full rounded-lg border border-gray-300 px-4 py-3 focus:ring-2 focus:outline-hidden disabled:bg-gray-100 disabled:text-gray-500 dark:border-gray-600 dark:bg-gray-800 dark:disabled:border-gray-700 dark:disabled:bg-gray-900 dark:disabled:text-gray-400"})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("label",{htmlFor:"message",className:"mb-2 block font-semibold text-gray-700 dark:text-gray-300",children:"Message *"}),(0,a.jsx)("textarea",{id:"message",name:"message",rows:6,required:!0,enterKeyHint:"send",disabled:"submitting"===e,className:"focus:border-brand-primary/50 focus:ring-brand-primary/50 w-full rounded-lg border border-gray-300 px-4 py-3 focus:ring-2 focus:outline-hidden disabled:bg-gray-100 disabled:text-gray-500 dark:border-gray-600 dark:bg-gray-800 dark:disabled:border-gray-700 dark:disabled:bg-gray-900 dark:disabled:text-gray-400"})]}),(0,a.jsx)("button",{type:"submit",disabled:"submitting"===e,className:"bg-brand-primary hover:bg-brand-primary/80 w-full rounded-lg px-8 py-3 font-semibold text-white transition disabled:bg-gray-100 disabled:text-gray-500 dark:disabled:border-gray-700 dark:disabled:bg-gray-900 dark:disabled:text-gray-400",children:"submitting"===e?"Sending...":"Send Message"})]}),s&&(0,a.jsx)("div",{role:"alert","aria-live":"polite",className:`mt-4 rounded-lg p-4 ${"success"===e?"bg-green-50 text-green-800 dark:bg-green-900 dark:text-green-200":"bg-red-50 text-red-800 dark:bg-red-900 dark:text-red-200"}`,children:s})]})}])}]);
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.