1;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="771bc0bb-2fd2-8f2e-3ab3-808f79d4e490")}catch(e){}}(); 2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,837364,e=>{"use strict";var s=e.i(949489),t=e.i(335558),a=e.i(776810),r=e.i(617280),i=e.i(100328),n=e.i(748961),l=e.i(619378),o=e.i(959807),c=e.i(643102),d=e.i(980246);let m=["enterprise","partnership","technical","other"],x={inquiryType:"",name:"",email:"",company:"",role:"",message:"",website:""};e.s(["ContactPageContent",0,()=>{let e=(0,l.useTranslations)("contactPage"),u=(0,n.useLocale)(),p=(0,i.useSearchParams)(),[h,f]=(0,o.useState)(x),[g,y]=(0,o.useState)(!1),[b,j]=(0,o.useState)(null),[N,v]=(0,o.useState)(!1);(0,o.useEffect)(()=>{let e=p.get("type");m.includes(e)&&f(s=>({...s,inquiryType:e}))},[p]);let w=e=>s=>{let{value:t}=s.target;f(s=>({...s,[e]:t}))},C=async s=>{s.preventDefault(),y(!0),j(null),(0,d.trackContactFormClicked)({source:"contact_page_submit",inquiry_type:h.inquiryType});try{if(!(await fetch("/api/contact",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({...h,locale:u,pageUrl:window.location.href})})).ok)throw Error(e("error.submit"));v(!0),f(e=>({...x,inquiryType:e.inquiryType}))}catch(s){j(s instanceof Error&&s.message?s.message:e("error.submit"))}finally{y(!1)}},q="h-11 w-full rounded-lg border border-border bg-white px-4 text-sm outline-none transition focus:border-secondary dark:bg-[#F9FAFB]/[0.02]";return(0,s.jsxs)("main",{className:"flex flex-col items-center justify-center gap-10 pb-16 w-full relative",children:[(0,s.jsxs)(c.SectionHeader,{children:[(0,s.jsx)("h1",{className:"text-3xl md:text-4xl font-medium tracking-tighter text-center text-balance",children:e("title")}),(0,s.jsx)("p",{className:"text-muted-foreground text-center text-balance font-medium",children:e("description")})]}),(0,s.jsx)("div",{className:"w-full max-w-3xl px-6",children:(0,s.jsx)("section",{className:"rounded-xl border border-border bg-[#F3F4F6] p-6 md:p-8 dark:bg-[#F9FAFB]/[0.02]",children:N?(0,s.jsxs)("div",{className:"flex flex-col items-center gap-6 py-8 text-center","aria-live":"polite",children:[(0,s.jsx)("div",{className:"flex size-14 items-center justify-center rounded-full bg-secondary/10 text-secondary",children:(0,s.jsx)(t.CheckCircle2,{className:"size-7"})}),(0,s.jsxs)("div",{className:"space-y-3",children:[(0,s.jsx)("h2",{className:"text-2xl font-medium tracking-tighter text-primary text-balance md:text-3xl",children:e("success.title")}),(0,s.jsx)("p",{className:"text-base leading-7 text-muted-foreground text-balance",children:e("success.description")})]}),(0,s.jsx)("button",{type:"button",onClick:()=>{f(e=>({...x,inquiryType:e.inquiryType})),v(!1),j(null)},className:"h-8 rounded-full px-4 text-sm font-semibold tracking-wide text-muted-foreground hover:bg-accent hover:text-primary whitespace-nowrap transition-all ease-out active:scale-95 cursor-pointer",children:e("success.reset")})]}):(0,s.jsxs)("form",{className:"space-y-5",onSubmit:C,children:[(0,s.jsxs)("label",{className:"space-y-2",children:[(0,s.jsxs)("span",{className:"flex items-center gap-2 text-sm font-medium text-primary",children:[e("form.inquiryType"),(0,s.jsx)("span",{className:"text-xs text-muted-foreground",children:e("form.required")})]}),(0,s.jsxs)("div",{className:"relative",children:[(0,s.jsxs)("select",{required:!0,value:h.inquiryType,onChange:e=>{let s=e.target.value;m.includes(s)&&f(e=>({...e,inquiryType:s}))},className:"h-11 w-full appearance-none rounded-lg border border-border bg-white pr-10 pl-4 text-sm outline-none transition focus:border-secondary dark:bg-[#F9FAFB]/[0.02]",children:[(0,s.jsx)("option",{value:"",disabled:!0,children:e("form.inquiryTypePlaceholder")}),m.map(t=>(0,s.jsx)("option",{value:t,children:e(`types.${t}.label`)},t))]}),(0,s.jsx)(a.ChevronDown,{className:"pointer-events-none absolute top-1/2 right-3 size-4 -translate-y-1/2 text-muted-foreground"})]})]}),(0,s.jsxs)("div",{className:"grid gap-5 pt-4 md:grid-cols-2",children:[(0,s.jsxs)("label",{className:"space-y-2",children:[(0,s.jsxs)("span",{className:"flex items-center gap-2 text-sm font-medium text-primary",children:[e("form.name"),(0,s.jsx)("span",{className:"text-xs text-muted-foreground",children:e("form.required")})]}),(0,s.jsx)("input",{required:!0,autoComplete:"name",value:h.name,onChange:w("name"),className:q})]}),(0,s.jsxs)("label",{className:"space-y-2",children:[(0,s.jsxs)("span",{className:"flex items-center gap-2 text-sm font-medium text-primary",children:[e("form.email"),(0,s.jsx)("span",{className:"text-xs text-muted-foreground",children:e("form.required")})]}),(0,s.jsx)("input",{required:!0,type:"email",autoComplete:"email",value:h.email,onChange:w("email"),className:q})]})]}),(0,s.jsxs)("div",{className:"grid gap-5 md:grid-cols-2",children:[(0,s.jsxs)("label",{className:"space-y-2",children:[(0,s.jsxs)("span",{className:"flex items-center gap-2 text-sm font-medium text-primary",children:[e("form.company"),(0,s.jsx)("span",{className:"text-xs text-muted-foreground",children:e("form.optional")})]}),(0,s.jsx)("input",{autoComplete:"organization",value:h.company,onChange:w("company"),className:q})]}),(0,s.jsxs)("label",{className:"space-y-2",children:[(0,s.jsxs)("span",{className:"flex items-center gap-2 text-sm font-medium text-primary",children:[e("form.role"),(0,s.jsx)("span",{className:"text-xs text-muted-foreground",children:e("form.optional")})]}),(0,s.jsx)("input",{autoComplete:"organization-title",value:h.role,onChange:w("role"),className:q})]})]}),(0,s.jsxs)("label",{className:"hidden","aria-hidden":"true",children:[(0,s.jsx)("span",{children:"Website"}),(0,s.jsx)("input",{tabIndex:-1,autoComplete:"off",value:h.website,onChange:w("website")})]}),(0,s.jsxs)("label",{className:"space-y-2",children:[(0,s.jsxs)("span",{className:"flex items-center gap-2 text-sm font-medium text-primary",children:[e("form.message"),(0,s.jsx)("span",{className:"text-xs text-muted-foreground",children:e("form.required")})]}
2),(0,s.jsx)("textarea",{required:!0,minLength:10,rows:7,value:h.message,onChange:w("message"),placeholder:e("form.messagePlaceholder"),className:"w-full rounded-lg border border-border bg-white px-4 py-3 text-sm leading-6 outline-none transition focus:border-secondary dark:bg-[#F9FAFB]/[0.02]"})]}),b&&(0,s.jsx)("div",{className:"rounded-xl border border-red-200 bg-red-50 px-4 py-3 text-sm text-red-700","aria-live":"polite",children:b}),(0,s.jsx)("div",{className:"flex justify-end pt-4",children:(0,s.jsxs)("button",{type:"submit",disabled:g,className:"bg-secondary h-15 sm:h-12 flex items-center justify-center gap-2 text-md font-semibold tracking-wide rounded-full text-primary-foreground dark:text-secondary-foreground w-fit min-w-32 px-5 shadow-[inset_0_1px_2px_rgba(255,255,255,0.25),0_3px_3px_-1.5px_rgba(16,24,40,0.06),0_1px_1px_rgba(16,24,40,0.08)] border border-white/12 hover:bg-secondary/80 transition-all ease-out active:scale-95 cursor-pointer disabled:opacity-60 disabled:cursor-not-allowed disabled:active:scale-100",children:[g?e("form.sending"):e("form.submit"),!g&&(0,s.jsx)(r.Send,{className:"size-4"})]})})]})})})]})}],837364)},643102,e=>{"use strict";var s=e.i(949489);e.s(["SectionHeader",0,function({children:e}){return(0,s.jsx)("div",{className:"border-b w-full h-full p-10 md:p-14",children:(0,s.jsx)("div",{className:"max-w-3xl mx-auto flex flex-col items-center justify-center gap-2",children:e})})}])},617280,e=>{"use strict";let s=(0,e.i(444719).default)("send",[["path",{d:"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",key:"1ffxy3"}],["path",{d:"m21.854 2.147-10.94 10.939",key:"12cjpa"}]]);e.s(["Send",0,s],617280)}]); 3 4//# debugId=771bc0bb-2fd2-8f2e-3ab3-808f79d4e490
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.