1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2982],{89733:function(e,t,r){r.d(t,{d:function(){return d},z:function(){return c}});var n=r(57437),a=r(2265),l=r(63355),i=r(13027),s=r(49354),o=r(74109);let d=(0,i.j)("inline-flex items-center justify-center rounded-lg text-sm font-bold ring-offset-white transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-gray-200 focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-40 dark:ring-offset-gray-200 dark:focus-visible:ring-gray-200",{variants:{variant:{default:"border bg-blue-800 text-white text-center hover:border-blue-900 hover:bg-blue-900 font-semibold text-base leading-none ",secondary:"border border-blue-800 text-center bg-blue-50 hover:bg-blue-100 text-blue-800 hover:text-blue-950/90 leading-none ",outline:"border border-blue-800 bg-transparent text-blue-800 text-center hover:bg-blue-50 font-semibold text-base leading-none ",link:"text-gray-900 text-center underline-offset-4 hover:underline dark:text-gray-50 leading-none ",select:"inline-flex rtl:flex-row-reverse items-center justify-center rounded-md text-sm font-semibold ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-100 disabled:text-gray-300 border border-input bg-white hover:bg-gray-50 hover:text-accent-foreground font-semibold",gradientBorder:"gradient-border relative text-base text-blue-800 text-center leading-none "},size:{default:"h-8 px-4 py-2",sm:"h-9 rounded-md px-3",lg:"h-11 rounded-lg px-8",icon:"h-10 w-10",selectDefault:"px-4 py-[9px]"}},defaultVariants:{variant:"default",size:"default"}}),c=a.forwardRef((e,t)=>{let{className:r,variant:a,size:i,loading:c,asLink:u=!1,asChild:m=!1,...f}=e,x=u?"a":m?l.g7:"button";return(0,n.jsxs)(x,{className:(0,s.cn)(d({variant:a,size:i,className:r})),ref:t,disabled:f.disabled||c,...f,children:[c&&(0,n.jsx)(o.Z,{className:"mx-2 h-4 w-4 animate-spin"}),f.children]})});c.displayName="Button"},32833:function(e,t,r){r.d(t,{Z:function(){return i}});var n=r(57437),a=r(97114),l=r(39343);function i(e){let{label:t,withMessage:r=!0,...i}=e,{control:s}=(0,l.Gc)();return(0,n.jsx)(a.Wi,{...i,control:s,render:e=>(0,n.jsxs)(a.xJ,{className:"w-full",children:[t&&(0,n.jsx)(a.lX,{children:t}),(0,n.jsx)(a.NI,{children:i.render(e)}),r&&(0,n.jsx)(a.zG,{})]})})}},97114:function(e,t,r){r.d(t,{l0:function(){return u},NI:function(){return h},Wi:function(){return f},xJ:function(){return b},lX:function(){return p},zG:function(){return v}});var n=r(57437),a=r(2265),l=r(63355),i=r(39343),s=r(49354),o=r(38837);let d=(0,r(13027).j)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),c=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,n.jsx)(o.f,{ref:t,className:(0,s.cn)(d(),r),...a})});c.displayName=o.f.displayName;let u=i.RV,m=a.createContext({}),f=e=>{let{...t}=e;return(0,n.jsx)(m.Provider,{value:{name:t.name},children:(0,n.jsx)(i.Qr,{...t})})},x=()=>{let e=a.useContext(m),t=a.useContext(g),{getFieldState:r,formState:n}=(0,i.Gc)(),l=r(e.name,n);if(!e)throw Error("useFormField should be used within <FormField>");let{id:s}=t;return{id:s,name:e.name,formItemId:"".concat(s,"-form-item"),formDescriptionId:"".concat(s,"-form-item-description"),formMessageId:"".concat(s,"-form-item-message"),...l}},g=a.createContext({}),b=a.forwardRef((e,t)=>{let{className:r,...l}=e,i=a.useId();return(0,n.jsx)(g.Provider,{value:{id:i},children:(0,n.jsx)("div",{ref:t,className:(0,s.cn)("space-y-2",r),...l})})});b.displayName="FormItem";let p=a.forwardRef((e,t)=>{let{className:r,...a}=e,{error:l,formItemId:i}=x();return(0,n.jsx)(c,{ref:t,className:(0,s.cn)(l&&"text-red-500 dark:text-red-900",r),htmlFor:i,...a})});p.displayName="FormLabel";let h=a.forwardRef((e,t)=>{let{...r}=e,{error:a,formItemId:i,formDescriptionId:s,formMessageId:o}=x();return(0,n.jsx)(l.g7,{ref:t,id:i,"aria-describedby":a?"".concat(s," ").concat(o):"".concat(s),"aria-invalid":!!a,...r})});h.displayName="FormControl",a.forwardRef((e,t)=>
1{let{className:r,...a}=e,{formDescriptionId:l}=x();return(0,n.jsx)("p",{ref:t,id:l,className:(0,s.cn)("text-sm text-gray-500 dark:text-gray-400",r),...a})}).displayName="FormDescription";let v=a.forwardRef((e,t)=>{let{className:r,children:a,...l}=e,{error:i,formMessageId:o}=x(),d=i?String(null==i?void 0:i.message):a;return d?(0,n.jsx)("p",{ref:t,id:o,className:(0,s.cn)("!mt-1 text-xs font-medium leading-[18px] text-red-500 dark:text-red-900",r),...l,children:d}):null});v.displayName="FormMessage"},77209:function(e,t,r){r.d(t,{I:function(){return s},j:function(){return i}});var n=r(57437),a=r(2265),l=r(49354);let i=" placeholder:capitalize flex h-11 text-gray-950 w-full rounded-md border border-input bg-white px-3 py-2.5 text-base file:border-0 file:bg-transparent file:text-base font-medium placeholder:text-muted-foreground placeholder:text-gray-400 focus-visible:outline-none z-1 disabled:bg-gray-50 disabled:cursor-not-allowed disabled:opacity-50 transition-colors",s=a.forwardRef((e,t)=>{let{className:r,type:a,...s}=e;return(0,n.jsx)("input",{type:a,className:(0,l.cn)(i,r),ref:t,...s})});s.displayName="Input"},4919:function(e,t,r){r.d(t,{g:function(){return s}});var n=r(57437),a=r(2265),l=r(49354),i=r(77209);let s=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,n.jsx)("textarea",{className:(0,l.cn)(i.j,r),ref:t,...a})});s.displayName="Textarea"},61332:function(e,t,r){r.d(t,{e:function(){return n}});let n={GENERIC:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAFElEQVR42mNgGAWjYBSMAgAEAQEAAP//AwCt0N/nAAAAAElFTkSuQmCC"}},72982:function(e,t,r){r.r(t),r.d(t,{default:function(){return o}});var n=r(57437),a=r(89733),l=r(12656),i=r(18087),s=r(47227);function o(e){var t,r;let{variation:o,plan:d,isLast:c}=e,u=(0,i.useTranslations)();return(0,n.jsxs)(n.Fragment,{children:["default"===o&&(0,n.jsx)(a.z,{asLink:!0,href:d.buttonLink||window.location.origin,variant:"gradientBorder",size:"lg",className:"mt-4 h-[44px] w-full px-2 font-semibold capitalize",children:null!==(t=d.buttonText)&&void 0!==t?t:u("Get Started")}),"comparePlansLanding"===o&&(0,n.jsx)(a.z,{variant:"gradientBorder",size:"lg",className:"mt-4 h-[44px] w-full px-2 font-semibold capitalize",onClick:e=>c?(0,l.U1)(e,s.LANDING_CONTACT_SECTION_ID,"start"):(0,l.U1)(e,l.$c,"end"),children:null!==(r=d.buttonText)&&void 0!==r?r:u("Get Started")})]})}},47227:function(e,t,r){r.r(t),r.d(t,{LANDING_CONTACT_SECTION_ID:function(){return h},default:function(){return w}});var n=r(57437),a=r(39343),l=r(59772),i=r(31014),s=r(18087);let o={name:"",email:"",message:""};var d=r(32833),c=r(77209),u=r(4919),m=r(89733),f=r(93038),x=r(2265),g=r(45734),b=r(49354),p=r(61332);let h="landing-contact-section-id",v=e=>{let{slice:t,...r}=e,h=(0,s.useTranslations)(),{form:v,formSchema:w}=function(){let e=(0,s.useTranslations)(),t=l.z.object({name:l.z.string().trim().min(1,{message:e("This field is required")}).max(254,{message:e("Maximum {N} characters allowed",{N:255})}),email:l.z.string().min(1,{message:e("This field is required")}).email({message:e("Invalid email")}).max(254,{message:e("Maximum {N} characters allowed",{N:255})}),message:l.z.string().trim().min(1,{message:e("This field is required")}).max(1999,{message:e("Maximum {N} characters allowed",{N:2e3})}),token:l.z.string().optional()});return{form:(0,a.cI)({resolver:(0,i.F)(t),defaultValues:o,mode:"onSubmit"}),formSchema:t}}(),{executeRecaptcha:N}=(0,g.xX)(),j=(0,x.useCallback)(async e=>{if(!N){v.setError("root",{message:"Something went wrong"});return}try{let t=await N("contactLandingAction");(await fetch("/api/contact-marketing",{method:"POST",body:JSON.stringify({...e,token:t,source:document.title})})).ok||v.setError("root",{message:"Something went wrong"})}catch(e){}},[N]),{isSubmitting:A,isSubmitSuccessful:I}=v.formState;return(0,n.jsx)(n.Fragment,{children:I?(0,n.jsx)(y,{slice:t,...r}):(0,n.jsxs)("div",{className:"flex w-full flex-col rounded-2xl bg-gray-25 p-6 md:gap-12 md:p-12 lg:flex-row",children:[(0,n.jsxs)("div",{className:"w-full py-6 lg:w-1/2",children:[(0,n.jsx)("h3",{className:"mb-5 text-center text-2xl font-bold lg:text-start",children:t.primary.title}),(0,n.jsx)(a.RV,{...v,children:(0,n.jsxs)("form",{id:"contact-marketing-form",name:"contact-marketing-form",onSubmit:v.handleSubmit(j),children:[(0,n.jsxs)("div",{className:"flex w-full flex-1 flex-col gap-2",children:[(0,n.jsxs)("div",{className:"flex flex-col gap-2 lg:flex-row",children:[(0,n.jsx)(d.Z,{name:"name",render:e=>{let{field:t}=e;return(0,n.jsx)(c.I,{...t,type:"text",placeholder:h("full name")}
1)}}),(0,n.jsx)(d.Z,{name:"email",render:e=>{let{field:t}=e;return(0,n.jsx)(c.I,{...t,type:"text",placeholder:h("email")})}})]}),(0,n.jsx)(d.Z,{name:"message",render:e=>{let{field:t}=e;return(0,n.jsx)(u.g,{className:"h-[151px] resize-none placeholder:normal-case",...t,placeholder:h("How can we assist you today?")})}})]}),(0,n.jsx)(m.z,{disabled:A,loading:A,type:"submit",className:"mt-8 h-11 w-full font-semibold",children:t.primary.submit_button_text||h("submit")})]})})]}),(0,n.jsx)("div",{className:"flex w-full items-center justify-center px-10 py-4 lg:w-1/2",children:(0,n.jsx)(f.PrismicNextImage,{field:t.primary.illustration,className:"w-full py-1",width:400,height:200,imgixParams:b.os,placeholder:"blur",blurDataURL:p.e.GENERIC})})]})})};function y(e){var t,r;let{slice:a}=e;return(0,n.jsxs)("div",{className:"mx-auto flex w-full max-w-4xl flex-col items-center py-32",children:[(0,n.jsx)("h3",{className:"mb-6 text-center text-[44px] font-[900] text-gray-950",children:(null==a?void 0:null===(t=a.primary)||void 0===t?void 0:t.success_title)||"Thank you."}),(0,n.jsx)("p",{className:"text-center text-[18px] leading-7 text-gray-500",children:(null==a?void 0:null===(r=a.primary)||void 0===r?void 0:r.success_description)||"Weâve received your message and will reply as soon as we can."})]})}var w=e=>{let{slice:t}=e;return(0,n.jsx)(g.pm,{reCaptchaKey:"6Ldky4UqAAAAAPaKowI3G2UqqHzNrw79IIHEfmTO",children:(0,n.jsx)("section",{"data-slice-type":t.slice_type,"data-slice-variation":t.variation,id:h,className:"relative mx-auto mb-12 w-full max-w-7xl flex-col md:mb-24 md:mt-12 md:flex-row",children:(0,n.jsx)(v,{...e})})})}},12656:function(e,t,r){r.d(t,{$c:function(){return n},IR:function(){return a},U1:function(){return l}});let n="landing-create-free-account-id",a="scroll-and-focus-field-id",l=(e,t,r)=>{t&&(e.preventDefault(),setTimeout(()=>{let e=document.querySelector("#".concat(t)),n=document.querySelector("#".concat(a));e&&(document.documentElement.style.scrollBehavior="smooth",e.scrollIntoView({block:r||"center"}),setTimeout(()=>{document.documentElement.style.scrollBehavior=""},1e3)),n&&n.focus()},100))}}}]);
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.