1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1327],{44704:function(e,t,a){Promise.resolve().then(a.bind(a,55761))},12119:function(e,t,a){"use strict";Object.defineProperty(t,"$",{enumerable:!0,get:function(){return s}});let r=a(83079);function s(e){let{createServerReference:t}=a(6671);return t(e,r.callServer)}},55761:function(e,t,a){"use strict";a.d(t,{default:function(){return d}});var r=a(57437),s=a(54887);a(83079);var n=(0,a(12119).$)("f9797b9cfe496b4d58ad69788d740876364773f9");let l={status:"idle"};function i(e){return"".concat("w-full rounded-[6px] border bg-white px-4 py-3 text-body text-charcoal placeholder:text-charcoal/40 focus:outline-none focus:ring-2 focus:ring-plum/30 transition-colors"," ").concat(e?"border-red-500 focus:border-red-500":"border-plum/20 focus:border-plum")}function o(e){let{id:t,error:a}=e;return a?(0,r.jsx)("p",{id:t,className:"mt-1.5 text-small text-red-600",children:a}):null}function c(){let{pending:e}=(0,s.useFormStatus)();return(0,r.jsx)("button",{type:"submit",disabled:e,className:"inline-flex items-center justify-center rounded-md bg-plum px-6 py-3.5 text-base font-medium tracking-[0.01em] text-cream transition-colors duration-150 hover:bg-plum-muted active:scale-[0.98] disabled:opacity-60 disabled:pointer-events-none",children:e?"Sendingâ¦":"Send message"})}function d(){var e,t;let[a,d]=(0,s.useFormState)(n,l);if("success"===a.status)return(0,r.jsxs)("div",{role:"status","aria-live":"polite",className:"rounded-xl border border-sage bg-sage/15 px-6 py-8 text-center",children:[(0,r.jsx)("p",{className:"font-display text-h4 text-plum",children:"Message sent"}),(0,r.jsx)("p",{className:"mt-3 text-body text-charcoal",children:null!==(e=a.message)&&void 0!==e?e:"Thank you. Your message has been sent. Sin\xe9ad will be in touch soon."})]});let m=null!==(t=a.fieldErrors)&&void 0!==t?t:{};return(0,r.jsxs)("form",{action:d,className:"space-y-6",noValidate:!0,children:["error"===a.status&&a.message?(0,r.jsx)("div",{role:"alert","aria-live":"assertive",className:"rounded-[6px] border border-red-300 bg-red-50 px-4 py-3 text-small text-red-700",children:a.message}):null,(0,r.jsxs)("div",{children:[(0,r.jsx)("label",{htmlFor:"contact-name",className:"block text-small font-medium text-charcoal",children:"Name"}),(0,r.jsx)("input",{id:"contact-name",name:"name",type:"text",autoComplete:"name",required:!0,maxLength:100,"aria-invalid":!!m.name||void 0,"aria-describedby":m.name?"contact-name-error":void 0,className:"mt-1.5 ".concat(i(!!m.name))}),(0,r.jsx)(o,{id:"contact-name-error",error:m.name})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)("label",{htmlFor:"contact-email",className:"block text-small font-medium text-charcoal",children:"Email"}),(0,r.jsx)("input",{id:"contact-email",name:"email",type:"email",inputMode:"email",autoComplete:"email",required:!0,maxLength:200,"aria-invalid":!!m.email||void 0,"aria-describedby":m.email?"contact-email-error":void 0,className:"mt-1.5 ".concat(i(!!m.email))}),(0,r.jsx)(o,{id:"contact-email-error",error:m.email})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)("label",{htmlFor:"contact-message",className:"block text-small font-medium text-charcoal",children:"Message"}),(0,r.jsx)("textarea",{id:"contact-message",name:"message",rows:6,required:!0,maxLength:5e3,"aria-invalid":!!m.message||void 0,"aria-describedby":m.message?"contact-message-error":void 0,className:"mt-1.5 resize-y ".concat(i(!!m.message))}),(0,r.jsx)(o,{id:"contact-message-error",error:m.message})]}),(0,r.jsxs)("div",{"aria-hidden":"true",className:"hidden",children:[(0,r.jsx)("label",{htmlFor:"contact-company",children:"Company (leave blank)"}),(0,r.jsx)("input",{id:"contact-company",name:"company",type:"text",tabIndex:-1,autoComplete:"off"})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)(c,{}),(0,r.jsx)("p",{className:"mt-4 text-small text-charcoal/80",children:"Your information is only used to respond to your enquiry."})]})]})}}},function(e){e.O(0,[2971,2117,1744],function(){return e(e.s=44704)}),_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.