1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,33128,e=>{"use strict";var t=e.i(43476),n=e.i(71645),r=e.i(22016),o=e.i(71829),a=e.i(90367),i=e.i(50381);let l={width:"100%",background:"var(--surface)",border:"3px solid var(--border-strong)",borderRadius:0,padding:"14px 18px",color:"var(--foreground)",fontFamily:"var(--font-inter)",fontSize:"15px",outline:"none"};e.s(["ContactForm",0,function(){let{status:e,trapRef:s,submit:c}=(0,a.useContactForm)("contact"),[u,d]=(0,n.useState)(!1);async function m(e){if(e.preventDefault(),!u)return;let t=e.currentTarget,n=Object.fromEntries(new FormData(t)),{ok:r}=await c({...n,consent:u});r&&(t.reset(),d(!1))}return"success"===e?(0,t.jsx)("div",{style:{maxWidth:"680px",margin:"0 auto",paddingTop:"40px",textAlign:"center"},children:(0,t.jsx)("p",{className:"font-sans",style:{fontSize:"1.2rem",color:"var(--color-muted-slate)"},children:"Thanks â weâll be in touch soon."})}):(0,t.jsxs)("form",{onSubmit:m,style:{maxWidth:"680px",width:"100%",margin:"0 auto",display:"flex",flexDirection:"column",gap:"20px"},children:[(0,t.jsx)("input",{ref:s,type:"text",name:"_trap",tabIndex:-1,autoComplete:"off","aria-hidden":"true",style:{position:"absolute",left:"-9999px",width:1,height:1,opacity:0}}),(0,t.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,t.jsx)("label",{htmlFor:"name",style:{fontFamily:"var(--font-inter)",fontSize:"13px",color:"var(--secondary)",letterSpacing:"0.01em",textAlign:"left"},children:"Name"}),(0,t.jsx)("input",{id:"name",name:"name",type:"text",required:!0,placeholder:"Jane Smith",style:l})]}),(0,t.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,t.jsx)("label",{htmlFor:"email",style:{fontFamily:"var(--font-inter)",fontSize:"13px",color:"var(--secondary)",letterSpacing:"0.01em",textAlign:"left"},children:"Email"}),(0,t.jsx)("input",{id:"email",name:"email",type:"email",required:!0,placeholder:"[email protected]",style:l})]}),(0,t.jsxs)("label",{className:"flex items-start justify-center gap-3 cursor-pointer select-none",style:{fontFamily:"var(--font-inter)",fontSize:"14px",color:"var(--secondary)",marginTop:"8px",textAlign:"left"},children:[(0,t.jsx)("input",{type:"checkbox",checked:u,onChange:e=>d(e.target.checked),style:{marginTop:"2px",flexShrink:0,accentColor:"var(--color-orange)",width:"16px",height:"16px"}}),(0,t.jsxs)("span",{children:["I agree to"," ",(0,t.jsx)(r.default,{href:"/privacy-policy",style:{color:"inherit",textDecoration:"underline"},children:"Macrocosm's Privacy Policy"})," ","and consent to being contacted."]})]}),(0,t.jsx)(i.Turnstile,{}),(0,t.jsx)("button",{type:"submit",disabled:!u||"loading"===e,className:"mc-btn mc-btn--full mc-btn--solid",style:{width:"100%",padding:"14px",fontFamily:"var(--font-inter)",fontSize:"15px",fontWeight:600,cursor:u?"pointer":"not-allowed",opacity:u?1:.5},children:"loading"===e?"Sendingâ¦":"Submit"}),"error"===e&&(0,t.jsxs)("p",{role:"alert",style:{fontFamily:"var(--font-inter)",fontSize:"13px",color:"var(--color-orange)"},children:["Something went wrong. Please email us at"," ",(0,t.jsx)("a",{href:`mailto:${o.BRAND_EMAIL}`,style:{color:"inherit"},children:o.BRAND_EMAIL}),"."]})]})}])},71829,90367,e=>{"use strict";var t=e.i(47167);(t.default.env.NEXT_PUBLIC_SITE_URL||"https://mcsm.ai").replace(/\/+$/,""),t.default.env.FORM_NOTIFY_EMAIL,e.s(["BRAND_EMAIL",0,"[email protected]"],71829);var n=e.i(71645);async function r(){try{let e=await fetch("/api/form-token",{method:"GET"});if(!e.ok)return null;return(await e.json()).token||null}catch{return null}}e.s(["useContactForm",0,function(e){let[t,o]=(0,n.useState)("idle"),a=(0,n.useRef)(null),i=(0,n.useRef)(null);async function l(t){o("loading");let n=i.current;n||(i.current=n=await r());let l=a.current?.form?.elements.namedItem("cf-turnstile-response")?.value||"";try{if(!(await fetch("/api/contact",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({...t,asset:e,_trap:a.current?.value||"",formToken:n||"",turnstileToken:l})})).ok)return o("error"),{ok:!1};return o("success"),{ok:!0}}catch{return o("error"),{ok:!1}}}return(0,n.useEffect)(()=>{let e=!1;return r().then(t=>{e||(i.current=t)}),()=>{e=!0}},[]),{status:t,setStatus:o,trapRef:a,submit:l}}],90367)}]);
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.