1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5405],{79434:function(e,l,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/",function(){return t(98749)}])},45079:function(e,l,t){"use strict";var s=t(31549),a=t(44194),i=t(55893),n=t(16360),r=t(62670),o=t(83585),d=t(63203),c=t(65787),g=t(77368),m=t(81513),u=t(6727);l.Z=e=>{let{activeState:l,buttonLabel:t,className:p,gridClassName:h,label:x,variant:f="default",inlineButton:j=!0,buttonVariant:v="secondary",showLoginCta:b=!1,isBlogPost:y=!1}=e,w=(0,a.useMemo)(()=>!("small"===f&&(null==x?void 0:x.length)>0),[f,x]),N=(0,g.g)(),_=(0,m.i)(),{cardPage:S,statePages:k,translations:E}=(0,d.Kp)(),[T,Z]=(0,a.useState)(l||_||""),C=(0,a.useCallback)(e=>{var l;let t=e&&""!==e,s=t?null===(l=k.find(l=>{let{code:t}=l;return t===e}))||void 0===l?void 0:l.uri:null==S?void 0:S.uri;t&&(0,c.NE)(e),s&&window.location.assign(s)},[S,k]),{trackEvent:L}=(0,u.C)(),M=(0,a.useMemo)(()=>N.find(e=>e.value===T),[N,T]);return(null==k?void 0:k.length)?(0,s.jsxs)("div",{className:["grid gap-y-2",h].join(" "),children:[(0,s.jsxs)(i.l,{className:["sm:self-start gap-x-3",w?j?"sm:grid-cols-inline-form sm:justify-between sm:max-w-md gap-y-2":"gap-y-2":"sm:grid-cols-2-auto max-w-md gap-y-1",p].join(" "),defaultValues:{stateCode:T},onSubmit:()=>{var e,l;C(T),L({event:"select_content",content_type:E[T],item_id:y?"blog_medical_card_cta":"apply_medical_card",origin:null===(l=window)||void 0===l?void 0:null===(e=l.location)||void 0===e?void 0:e.pathname})},children:[x&&(0,s.jsx)(n.n,{className:"self-center xl:text-3xl",children:x}),(0,s.jsx)(r.t,{defaultValue:M,placeholder:E["Select State"],icon:"/us_flag.svg",options:N,onSelect:e=>{Z(e.value),w||C(e.value)}}),w&&(0,s.jsx)(o.z,{label:t||E["Get started"],rounded:!0,type:"submit",variant:v||"secondary"})]}),b?(0,s.jsxs)("p",{className:"text-sm",children:["Already a Leafwell patient?",(0,s.jsx)("br",{}),(0,s.jsx)("a",{className:"font-medium underline underline-offset-3",target:"_blank",href:"https://app.leafwell.com",children:"Log in here"})]}):null]}):null}},98749:function(e,l,t){"use strict";t.r(l),t.d(l,{__N_SSP:function(){return b},default:function(){return y}});var s=t(31549),a=t(44194),i=t(87085),n=t(87864),r=t(34976),o=t.n(r),d=t(63203),c=()=>{let{seoSettings:{presence:e,siteUrl:l}}=(0,d.Kp)();if(!e)return null;let t={"@context":"https://schema.org/","@type":null==e?void 0:e.type,url:l,...(null==e?void 0:e.logo)?{logo:e.logo}:{}};return a.createElement(o(),null,a.createElement("script",{type:"application/ld+json",key:"leafwell-presence-json-ld",dangerouslySetInnerHTML:{__html:JSON.stringify(t)}}))},g=t(12235),m=t.n(g);t(22643);var u=t(548);t(81513),t(6727);var p=t(19104),h=t(45079),x=t(91005);t(38627);var f=e=>{let{image:l,title:t}=e,[i,n]=a.useState(!0);return(0,s.jsxs)(s.Fragment,{children:[" ",(0,s.jsx)("section",{className:"bg-dark-purple-gradient xl:-mt-40 xl:pt-40",itemID:"HomepageHero-new",children:(0,s.jsxs)(u.E,{spacer:!0,className:"gap-y-8 lg:grid-cols-2 lg:gap-x-2.5 items-center",children:[(0,s.jsxs)("div",{className:"grid gap-y-8",children:[(0,s.jsxs)("div",{className:"flex items-center gap-x-1.5 font-semibold",children:[(0,s.jsx)(m(),{src:"/trustpilot-icon.svg",alt:"",width:19,height:17}),"Trusted By ",(0,s.jsx)("span",{className:"text-purple-500",children:"1 Million"})," ","Monthly Users"]}),(0,s.jsx)(x.Z,{level:"1",tagName:"h1",title:t,className:"font-semibold"}),(0,s.jsx)(h.Z,{showLoginCta:!1})]}),l&&(0,s.jsx)(p.Z,{alt:l.alt,src:l.src,width:l.width,height:l.height,priority:!0,className:"hidden lg:block"})]})})]})},j=t(16360),v=e=>{let{image:l,title:t,steps:i}=e,[n,r]=a.useState(!0);return(0,s.jsxs)(s.Fragment,{children:[" ",(0,s.jsx)("section",{className:"relative bg-gradient-to-r from-gray-200 via-gray-200 to-lilac-100 xl:-mt-10 xl:pt-10 before:absolute before:md:w-3/4 before:h-full before:md:right-0 before:md:bottom-0 before:bg-gradient-to-b before:from-lilac-100 before:to-green-200 before:gradient-mask-l-0",children:(0,s.jsxs)(u.E,{spacer:!1,className:"lg:grid lg:grid-cols-3 lg:gap-x-3 pt-6 xl:pt-0 pb-12 lg:pb-0 relative lg:min-h-[540px] xl:min-h-[580px] transition-all",children:[(0,s.jsxs)("div",{className:"lg:self-ce
1nter grid gap-y-6 xl:gap-y-12 lg:pb-12 col-span-2",children:[(0,s.jsx)("div",{children:(0,s.jsx)(x.Z,{level:"1",tagName:"h1",title:t,className:"font-semibold"})}),(0,s.jsx)(h.Z,{showLoginCta:!0}),i&&(0,s.jsx)("ul",{className:"grid sm:grid-cols-2 gap-x-6 gap-y-6 xl:pt-3",children:i.map((e,l)=>{let{title:t,description:a}=e;return(0,s.jsxs)("li",{className:"grid grid-cols-2-auto gap-x-3 gap-y-1 items-start",children:[(0,s.jsx)(m(),{height:20,width:20,priority:!0,src:"/check-gradient.svg",alt:"",className:"row-span-2 mt-list-offset"}),(0,s.jsx)(j.n,{size:"large",className:"font-semibold",dangerouslySetInnerHTML:{__html:t}}),(0,s.jsx)(j.n,{size:"small",variant:"medium",dangerouslySetInnerHTML:{__html:a},tagName:"article"})]},l)})})]}),l&&(0,s.jsx)(p.Z,{alt:l.alt,src:l.src,width:l.width,height:l.height,priority:!0,className:"hidden lg:block lg:self-end",sizes:"(max-width: 1023px) 0vw, (max-width: 1200px) 33vw, 33vw"})]})})]})},b=!0,y=e=>{let{page:{title:l,seo:t,acf:{pageType:a,blocks:r,hero:o}},variant:d}=e;return(0,s.jsxs)(n.Z,{seo:t,title:l,pageType:"home",children:[(0,s.jsx)(c,{}),"control"===d?(0,s.jsx)(v,{...o}):(0,s.jsx)(f,{...o}),(0,s.jsx)(i.default,{blocks:r,pageType:a})]})}}},function(e){e.O(0,[7006,3840,2235,1570,3826,4032,880,7085,2888,9774,179],function(){return e(e.s=79434)}),_N_E=e.O()}]); 2//# sourceMappingURL=index-ed792462b970e651.js.map
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.