1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6124],{31679:e=>{e.exports={field:"formFieldStates_field__J9pK7"}},33423:(e,l,t)=>{"use strict";t.d(l,{q:()=>n});var s=t(12115),a=t(10201),r=t(26302),o=t(27146);let n=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"contact_form_submit",{form:l="contact",identifyEvent:t="contact_form_submitted"}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},[n,i]=(0,s.useState)("idle"),[c,d]=(0,s.useState)(""),{executeRecaptcha:m}=(0,a._Y)(),u=(0,r.sf)(),x=async s=>{i("loading"),d("");try{var a,r;let n=null;if(m&&!(n=await m(e)))return d("reCAPTCHA verification failed. Please try again."),i("error"),!1;let c=null!=(r=null==u||null==(a=u.get_session_id)?void 0:a.call(u))?r:"",x=await fetch("/contact-form",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({form:l,formData:c?{...s,posthog_session_id:c}:s,captchaToken:n})}),p=await x.json();if(!x.ok)throw Error(p.error||"Submission failed");return s.email&&(0,o.hU)(u,s.email,t),i("success"),!0}catch(e){return console.error(e),i("error"),d(e.message||"Something went wrong. Please try again."),!1}},p=async e=>{e.preventDefault();let l=Object.fromEntries(new FormData(e.target));await x(l)};return{status:n,errorMessage:c,submit:x,submitFromEvent:p}}},46124:(e,l,t)=>{"use strict";t.d(l,{default:()=>j});var s=t(95155),a=t(12115),r=t(88702),o=t(57784),n=t(90605),i=t(33423),c=t(552),d=t(31679),m=t.n(d);let u={firstname:"",lastname:"",email:"",company:"",jobtitle:"",message:"",phone:"",do_you_currently_use_questdb_open_source_:"",how_did_you_hear_about_us_:"",what_s_your_deployment_size_:""},x="block mb-2.5 font-mono-gt text-sm leading-[1.5] tracking-[0.14px] uppercase text-[var(--palette-off-gray)]",p="w-full h-12 px-3 rounded-[5px] bg-code border border-solid border-[rgba(248,248,242,0.3)] text-lg text-white placeholder:text-[rgba(248,248,242,0.64)] focus:outline-none transition-colors ".concat(m().field),h="w-full h-12 px-3 rounded-[5px] bg-[#1d1e25] border border-solid border-[rgba(248,248,242,0.3)] text-lg text-white placeholder:text-[rgba(248,248,242,0.64)] focus:outline-none transition-colors ".concat(m().field),f="w-full h-12 pl-3 pr-10 rounded-[5px] bg-code border border-solid border-[rgba(248,248,242,0.3)] text-lg text-white focus:outline-none transition-colors appearance-none cursor-pointer ".concat(m().field),_="w-full px-3 py-3 h-[6.25rem] rounded-[5px] bg-code border border-solid border-[rgba(248,248,242,0.3)] text-lg text-white placeholder:text-[rgba(248,248,242,0.64)] focus:outline-none transition-colors resize-y ".concat(m().field),b="w-full px-3 py-3 h-[6.25rem] rounded-[5px] bg-[#1d1e25] border border-solid border-[rgba(248,248,242,0.3)] text-lg text-white placeholder:text-[rgba(248,248,242,0.64)] focus:outline-none transition-colors resize-y ".concat(m().field),g="w-full h-12 pl-3 pr-10 rounded-[5px] bg-[#1d1e25] border border-solid border-[rgba(248,248,242,0.3)] text-lg text-white focus:outline-none transition-colors appearance-none cursor-pointer ".concat(m().field),y=[{title:"99.9% uptime",description:"High Availability, Auto failover"},{title:"Security & governance",description:"Access control (SSO/RBAC) & audit logs"},{title:"Elastic scale",description:"Multi-tier storage; storage/compute separation"},{title:"Trusted partnership",description:"SLA-backed creator support"}],w=()=>(0,s.jsxs)("p",{className:"font-sans text-sm leading-[1.5] text-[rgba(248,248,242,0.6)] m-0 whitespace-pre-line",children:["Protected by reCAPTCHA.\nGoogle ",(0,s.jsx)("a",{href:"https://policies.google.com/privacy",target:"_blank",rel:"noopener noreferrer",className:"text-[rgba(248,248,242,0.8)] underline",children:"Privacy Policy"})," & ",(0,s.jsx)("a",{href:"https://policies.google.com/terms",target:"_blank",rel:"noopener noreferrer",className:"text-[rgba(248,248,242,0.8)] underline",children:"Terms of Service"})," apply."]}),j=e=>{let{variant:l="page"}=e,[t,d]=(0,a.useState)(1),[m,j]=(0,a.useState)(u),{status:N,errorMessage:v,submit:k}=(0,i.q)(),C=(0,a.useRef)(null),S=(0,a.useRef)(null),E=(0,a.useRef)(t),q="embedded"===l,F=q?h:p;(0,a.useEffect)(()=>{var e,l;E.current!==t&&(E.current=t,1===t?null==(e=C.current)||e.focus():null==(l=S.current)||l.focus())},[t]);let A=e=>l=>{j(t=>({...t,[e]:l.target.value}))},z=async e=>{e.preventDefault(),await k({...m})},P=(0,s.jsxs)("div",{className:q?"mx-auto flex w-full max-w-[1140px] flex-col items-start gap-[2.8125rem] lg:flex-row lg:items-center lg:gap-[2.8125rem]":"mx-auto w-full max-w-[71.25rem] flex flex-col lg:flex-row gap-[2.8125rem] items-start",children:[(0,s.jsxs)("div",{className:"flex min-w-0 flex-1 flex-col items-start gap-10",children:[(0,s.jsxs)("div",{className:"flex flex-col items-start gap-5",children:[(0,s.jsx)("p",{className:"m-0 font-mono-gt text-base font-bold uppercase leading-7 text-[#c94f74]",children:"QuestDB Enterprise"}),(0,s.jsxs)("h2",{className:"m-0 max-w-[34.21875rem] font-display-extended text-[1.75rem] font-bold leading-[1.25] tracking-[-0.035rem] text-white",children:["Built for production.",(0,s.jsx)("br",{className:"block md:hidden lg:block"}),(0,s.jsx)("span",{className:"hidden md:inline lg:hidden",children:" "}),"Designed for scale."]})]}),(0,s.jsx)("ul",{className:"m-0 flex w-full list-none flex-col gap-5 p-0",children:y.map(e=>(0,s.jsxs)("li",{className:"flex w-full items-center gap-5",children:[(0,s.jsx)("span",{className:"flex h-6 w-6 shrink-0 items-center justify-center text-[var(--ifm-color-primary-dark)]",children:(0,s.jsx)(r.S,{size:24,className:"text-[var(--ifm-color-primary-dark)]"})}),(0,s.jsxs)("div",{className:"flex min-w-0 flex-1 flex-col gap-1",children:[(0,s.jsx)("p",{className:"m-0 font-sans text-2xl font-medium leading-[1.3] tracking-[-0.03rem] text-[#f8f8f2]",children:e.title}),(0,s.jsx)("p",{className:"m-0 font-sans text-xl leading-[1.3] text-[#d1d5db]",children:e.description})]})]},e.title))})]}),(0,s.jsx)("div",{className:q?"w-full min-w-0 flex-1 rounded-[10px] border border-solid border-white/20 bg-[#1d1618] p-[30px] shadow-[0_20px_25px_-5px_rgba(0,0,0,0.1),0_8px_10px_-6px_rgba(0,0,0,0.1)]":"flex-1 w-full bg-[var(--palette-charade)] border border-solid border-white/20 rounded-[10px] p-[1.875rem] shadow-[0_20px_25px_-5px_rgba(0,0,0,0.1),0_8px_10px_-6px_rgba(0,0,0,0.1)]",children:"success"===N?(0,s.jsxs)("div",{className:"flex flex-col items-center justify-center py-10",children:[(0,s.jsx)(n.A,{className:"h-12 w-12 text-green-500 mb-4"}),(0,s.jsx)("h4",{className:"text-xl font-bold mb-2 text-white",children:"Thank y
1ou!"}),(0,s.jsx)("p",{className:"text-white text-center",children:"We will review your requirements and get back to you by email shortly."})]}):1===t?(0,s.jsxs)("form",{onSubmit:e=>{e.preventDefault(),d(2)},className:"flex flex-col gap-5 items-stretch",children:[(0,s.jsxs)("div",{className:"flex flex-col md:flex-row gap-[15px] w-full",children:[(0,s.jsxs)("div",{className:"flex-1 w-full",children:[(0,s.jsx)("label",{htmlFor:"firstname",className:x,children:"First name *"}),(0,s.jsx)("input",{ref:C,id:"firstname",name:"firstname",type:"text",required:!0,value:m.firstname,onChange:A("firstname"),placeholder:"Enter first name",className:F})]}),(0,s.jsxs)("div",{className:"flex-1 w-full",children:[(0,s.jsx)("label",{htmlFor:"lastname",className:x,children:"Last name *"}),(0,s.jsx)("input",{id:"lastname",name:"lastname",type:"text",required:!0,value:m.lastname,onChange:A("lastname"),placeholder:"Enter last name",className:F})]})]}),(0,s.jsxs)("div",{className:"w-full",children:[(0,s.jsx)("label",{htmlFor:"email",className:x,children:"Email *"}),(0,s.jsx)("input",{id:"email",name:"email",type:"email",required:!0,value:m.email,onChange:A("email"),placeholder:"Company email address",className:F})]}),(0,s.jsxs)("div",{className:"flex flex-col md:flex-row gap-[15px] w-full",children:[(0,s.jsxs)("div",{className:"flex-1 w-full",children:[(0,s.jsx)("label",{htmlFor:"company",className:x,children:"Company name *"}),(0,s.jsx)("input",{id:"company",name:"company",type:"text",required:!0,value:m.company,onChange:A("company"),placeholder:"Enter company name",className:F})]}),(0,s.jsxs)("div",{className:"flex-1 w-full",children:[(0,s.jsx)("label",{htmlFor:"jobtitle",className:x,children:"Job title"}),(0,s.jsx)("input",{id:"jobtitle",name:"jobtitle",type:"text",value:m.jobtitle,onChange:A("jobtitle"),placeholder:"Enter title",className:F})]})]}),(0,s.jsx)("div",{className:"flex items-center gap-[1.875rem] pt-[0.9375rem]",children:(0,s.jsx)(c.A,{type:"submit",variant:"primary",className:"min-h-12 w-full min-w-[10rem] flex-1",children:"Next"})})]}):(0,s.jsxs)("form",{onSubmit:z,className:"flex flex-col gap-5 items-stretch",children:[(0,s.jsxs)("div",{className:"w-full",children:[(0,s.jsx)("label",{htmlFor:"message",className:x,children:"Tell us about your needs"}),(0,s.jsx)("textarea",{ref:S,id:"message",name:"message",rows:4,value:m.message,onChange:A("message"),placeholder:"Please share anything else that may help us better understand your needs.",className:q?b:_})]}),(0,s.jsxs)("div",{className:"w-full",children:[(0,s.jsx)("label",{htmlFor:"phone",className:x,children:"Phone number"}),(0,s.jsx)("input",{id:"phone",name:"phone",type:"tel",value:m.phone,onChange:A("phone"),placeholder:"Enter phone number",className:F})]}),(0,s.jsxs)("div",{className:"w-full",children:[(0,s.jsx)("label",{htmlFor:"do_you_currently_use_questdb_open_source_",className:x,children:"Do you currently use QuestDB Open Source?"}),(0,s.jsxs)("div",{className:"relative w-full",children:[(0,s.jsxs)("select",{id:"do_you_currently_use_questdb_open_source_",name:"do_you_currently_use_questdb_open_source_",value:m.do_you_currently_use_questdb_open_source_,onChange:A("do_you_currently_use_questdb_open_source_"),className:q?g:f,children:[(0,s.jsx)("option",{value:"",children:"Select..."}),(0,s.jsx)("option",{value:"Yes",children:"Yes"}),(0,s.jsx)("option",{value:"No",children:"No"})]}),(0,s.jsx)("span",{className:"absolute right-3 top-1/2 -translate-y-1/2 text-white pointer-events-none h-[20px]",children:(0,s.jsx)(o.b,{size:20,weight:"bold"})})]})]}),(0,s.jsxs)("div",{className:"flex flex-col md:flex-row gap-5 w-full items-start md:items-end",children:[(0,s.jsxs)("div",{className:"flex-1 w-full",children:[(0,s.jsx)("label",{htmlFor:"how_did_you_hear_about_us_",className:x,children:"How did you hear about us?"}),(0,s.jsx)("input",{id:"how_did_you_hear_about_us_",name:"how_did_you_hear_about_us_",type:"text",value:m.how_did_you_hear_about_us_,onChange:A("how_did_you_hear_about_us_"),className:F})]}),(0,s.jsxs)("div",{className:"flex-1 w-full",children:[(0,s.jsx)("label",{htmlFor:"what_s_your_deployment_size_",className:x,children:"What's your deployment size?"}),(0,s.jsx)("input",{id:"what_s_your_deployment_size_",name:"what_s_your_deployment_size_",type:"text",value:m.what_s_your_deployment_size_,onChange:A("what_s_your_deployment_size_"),className:F})]})]}),"error"===N&&(0,s.jsx)("div",{className:"bg-red-800/30 border border-solid border-red-600 text-white p-3 rounded-md",children:(0,s.jsxs)("p",{className:"text-sm font-semibold m-0",children:["Error: ",v]})}),(0,s.jsxs)("div",{className:"flex flex-row items-center gap-[1.875rem] pt-[0.9375rem] justify-between",children:[(0,s.jsx)("button",{type:"button",onClick:()=>d(1),disabled:"loading"===N,className:"bg-transparent border-0 p-0 text-base font-bold uppercase text-white text-left cursor-pointer hover:opacity-80 transition-opacity",children:"â Back"}),(0,s.jsx)(c.A,{type:"submit",variant:"primary",disabled:"loading"===N,className:"flex-1 min-h-12 max-w-[150px] ".concat("loading"===N?"opacity-70 cursor-wait":""),children:"loading"===N?"Submitting...":"Submit"})]}),(0,s.jsx)(w,{})]})})]});return q?P:(0,s.jsx)("div",{className:"bg-[var(--palette-charade)] w-full py-[4.6875rem] px-4 md:px-8 lg:px-[9.375rem]",children:P})}}}]);
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.