1(self.webpackChunkwww=self.webpackChunkwww||[]).push([[4742],{46566:function(e,t){t.polyfill=e=>e},36276:function(e,t,n){"use strict";n.d(t,{A:function(){return a}});var r=n(96540),o=n(31196),l=n.n(o);const i=n(99035).default.a.withConfig({displayName:"styles__A",componentId:"sc-1ukhptl-0"})(["cursor:pointer;display:inline-flex;text-decoration:none;"]);var a=({offset:e,children:t,onClick:n,href:o,...a})=>{(0,r.useEffect)((()=>{l().polyfill()}),[]);const s=t=>{var r;t.preventDefault();null===(r=t.target.closest("a"))||void 0===r||r.blur();let l=()=>0;if(void 0!==e&&(l=()=>parseInt(e)),o){const e=document.getElementById(`${o.slice(1)}`);if(e){const t=e.getBoundingClientRect().top+window.pageYOffset;window.scroll({top:t-l(),behavior:"smooth"})}}n&&n(t)};return r.createElement(i,Object.assign({tabIndex:0,href:o},a,{onClick:s,onKeyPress:e=>{13===e.charCode&&s(e)},"data-element":"A","data-component":"AnchorLink","data-source-file":"index.tsx"}),t)}},98814:function(e,t,n){"use strict";n.d(t,{JJ:function(){return v},Jn:function(){return u},XN:function(){return m},Xq:function(){return c},ax:function(){return p},bM:function(){return a},hn:function(){return g},n9:function(){return f},nl:function(){return i},xz:function(){return d}});var r=n(64810),o=n(33263),l=n(16562);const i=e=>{let t=null,n=null;if(e&&e.length>0){var r,o,l,i,a,s,c,u,d,m;if(null!==(r=e[0])&&void 0!==r&&null!==(o=r.desktopImage)&&void 0!==o&&o.gatsbyImageData)t={gatsbyImageData:null===(a=e[0])||void 0===a||null===(s=a.desktopImage)||void 0===s?void 0:s.gatsbyImageData,description:(null===(c=e[0])||void 0===c?void 0:c.desktopImageAltText)||""};if(null!==(l=e[0])&&void 0!==l&&null!==(i=l.mobileImage)&&void 0!==i&&i.gatsbyImageData)n={gatsbyImageData:null===(u=e[0])||void 0===u||null===(d=u.mobileImage)||void 0===d?void 0:d.gatsbyImageData,description:(null===(m=e[0])||void 0===m?void 0:m.mobileImageAltText)||""}}return{desktopImage:t,mobileImage:n}},a=e=>e?null==e?void 0:e.map((e=>i([e]))):[],s=e=>{const t=null==e?void 0:e.trim();return t?{"aria-label":t}:{"aria-hidden":!0}},c=e=>{let t=null,n=null;if(e&&e.length>0){var r,o,l,i,a,c,u,d,m,p,g,v,f,y,h,E,w,_,I,T;if(null!==(r=e[0])&&void 0!==r&&null!==(o=r.desktopVideoFile)&&void 0!==o&&null!==(l=o.file)&&void 0!==l&&l.url)t={url:null===(u=e[0])||void 0===u||null===(d=u.desktopVideoFile)||void 0===d||null===(m=d.file)||void 0===m?void 0:m.url,contentType:(null===(p=e[0])||void 0===p||null===(g=p.desktopVideoFile)||void 0===g||null===(v=g.file)||void 0===v?void 0:v.contentType)||"video/mp4",htmlVideoProps:s(null===(f=e[0])||void 0===f?void 0:f.desktopImageAltText)};if(null!==(i=e[0])&&void 0!==i&&null!==(a=i.mobileVideoFile)&&void 0!==a&&null!==(c=a.file)&&void 0!==c&&c.url)n={url:null===(y=e[0])||void 0===y||null===(h=y.mobileVideoFile)||void 0===h||null===(E=h.file)||void 0===E?void 0:E.url,contentType:(null===(w=e[0])||void 0===w||null===(_=w.mobileVideoFile)||void 0===_||null===(I=_.file)||void 0===I?void 0:I.contentType)||"video/mp4",htmlVideoProps:s(null===(T=e[0])||void 0===T?void 0:T.mobileImageAltText)}}return{desktopVideo:t,mobileVideo:n}},u=(e,t)=>null==e?void 0:e.find((e=>e.componentName===t)),d=(e,t)=>null==t?void 0:t.find((t=>{var n;return(null==t||null===(n=t.componentName)||void 0===n?void 0:n.toLowerCase())===e.toLowerCase()})),m=(e,t)=>null==t?void 0:t.filter((t=>{var n;return(null==t||null===(n=t.componentName)||void 0===n?void 0:n.toLowerCase())===e.toLowerCase()}));function p(e){return{as:(0,o.Rw)(e)?"a":r.Link,...(0,o.Rw)(e)?{href:e}:{to:(0,l.x)(e||"")}}}const g=e=>e?null==e?void 0:e.map((e=>(e=>{const{metadata:t}=e||{},{title:n,context:r}=t||{};return{text:n||null,iconName:(null==r?void 0:r.iconName)||null,iconColor:null==r?void 0:r.iconColor}})(e))):[],v=e=>e.split(" ").map((e=>e.toLowerCase())).join(""),f=(e,t)=>{const n=null==t?void 0:t.find((t=>{var n;return v(null!==(n=null==t?void 0:t.displayName)&&void 0!==n?n:"")===v(e)}));return(null==n?void 0:n.value)||!1}},16976:function(e,t,n){"use strict";n.d(t,{A:function(){return d}});var r=n(45871),o=n(45574),l=n(36276),i=n(32532),a=n(96540),s=n(78444),c=n(72473);const u=n(99035).default.div.withConfig({displayName:"styles__Wrapper",componentId:"sc-k5v9dp-0"})(["color:",";font-weight:",";a{color:",";text-decoration:none;font-weight:",";a:hover,a:active{text-decoration:underline;}}"],c.Tj.gray5,c.Il.weight.book,c.Tj.teal5,c.Il.weight.regular);var d=({contentfulRichText:e,options:{references:t,overrideOptions:n,removeWrapper:c,styleProps:d}={}})=>{const m={...n,renderNode:{[r.INLINES.HYPERLINK]:e=>{const t=e=>e.map((e=>{var n;return null!==(n=e.value)&&void 0!==n?n:e.content?t(e.content):""})).join(""),n=t(e.content);return r=e.data.uri,/^(mailto|tel):/i.test(r)?a.createElement("a",{href:e.data.uri},n):null!==e.data.uri.match(/(http(s)?:\/\/.)?(www\.)?[-a-zA-Z0-9@:%._+~#=]{2,256}\.[a-z]{2,6}\b([-a-zA-Z0-9@:%_+.~#?&//=]*)/g)?a.createElement("a",{href:`${e.data.uri}`,target:"_blank",rel:"noreferrer"},n):(e=>null!==e.match(/\?[-a-zA-Z0-9@:%._+~#=]{1,256}=[-a-zA-Z0-9@:%._+~#=]{1,256}/))(e.data.uri)?a.createElement("a",{href:`${e.data.uri}`},n):a.createElement(l.A,{href:`#${e.data.uri}`,offset:"50"},n);var r},[r.BLOCKS.UL_LIST]:(e,t)=>a.createElement(o.Xy,{styleType:"initial",sx:{marginInlineStart:"1.5em"}},t),[r.BLOCKS.OL_LIST]:(e,t)=>a.createElement(o._J,{sx:{marginInlineStart:"1.5em"}},t),[r.BLOCKS.LIST_ITEM]:(e,t)=>a.createElement(o.az,Object.assign({as:"li"},d),t),[r.BLOCKS.HEADING_1]:(e,t)=>a.createElement(o.DZ,Object.assign({as:"h1",size:"3xl",marginBottom:3},d),t),[r.BLOCKS.HEADING_2]:(e,t)=>a.createElement(o.DZ,Object.assign({as:"h2",size:"2xl",marginBottom:3},d),t),[r.BLOCKS.HEADING_3]:(e,t)=>a.createElement(o.DZ,Object.assign({as:"h3",size:"xl",marginBottom:3},d),t),[r.BLOCKS.HEADING_4]:(e,t)=>a.createElement(o.DZ,Object.assign({as:"h4",size:"lg",marginBottom:3},d),t),[r.BLOCKS.HEADING_5]:(e,t)=>a.createElement(o.DZ,Object.assign({as:"h5",size:"md",marginBottom:3},d),t),[r.BLOCKS.HEADING_6]:(e,t)=>a.createElement(o.EY,Object.assign({size:"lg",marginBottom:3},d),t),[r.BLOCKS.PARAGRAPH]:(e,t)=>a.createElement(o.EY,Object.assign({as:"p",marginBottom:3},d),t),[r.BLOCKS.EMBEDDED_ASSET]:e=>{const n=e.data.target.sys.id;if("Asset"!==e.data.target.sys.linkType)return null;const r=null==t?void 0:t.find((e=>(null==e?void 0:e.contentful_id)===n));if(!r)return null;const{gatsbyImageData:l}=r;return l?a.createElement(o._V,{as:i.G,image:l,alt:"",marginBottom:3}):null},...null==n?void 0:n.renderNode}};
1return c?a.createElement(a.Fragment,null,(0,s.A)(e,m)):a.createElement(u,null,(0,s.A)(e,m))}},10931:function(e,t,n){"use strict";n.d(t,{A:function(){return l}});var r=n(48767),o=n(33263);function l(e,t){var n,l,i,a;const s=(null==e||null===(n=e.faqSchema)||void 0===n?void 0:n.map((e=>({question:(null==e?void 0:e.question)||"",answer:(null==e?void 0:e.answer)||""}))))||[],c=(0,r.Jw)(null==e?void 0:e.productSchema),u=!(null==e||!e.productSchema);return{title:(null==e?void 0:e.metaTitle)||"",description:(null==e||null===(l=e.metaDescription)||void 0===l?void 0:l.metaDescription)||"",keywords:(null==e||null===(i=e.metaKeywords)||void 0===i?void 0:i.join(", "))||"",url:(null==e?void 0:e.canonicalUrl)||"",canonicalUrl:e.canonicalUrl||"",noIndex:(null==e||null===(a=e.metaKeywords)||void 0===a?void 0:a.includes("no-index"))||!1,faqSchema:s,productSchema:u&&t?(0,o.$N)(t,c):void 0}}},54727:function(e,t,n){"use strict";n.d(t,{k:function(){return m},p:function(){return d}});var r=n(56333),o=n(43258),l=n(58177),i=n(48767),a=n(96540),s=n(33263),c=n(6456);const u=n(60237);{const e={clientToken:"pub2aaedc0b0d7bd29b5b874d9b32e1303b",site:"datadoghq.com",service:"www",env:"production",sessionSampleRate:"undefined"!=typeof window&&window.location.pathname.startsWith("/blog")?10:100,silentMultipleInit:!0},t=[/Minified React error #(418|421|422|423|425)\b/,/Uncaught "Script error\."/,/Uncaught "ResizeObserver loop completed with undelivered notifications\."/,/Object Not Found Matching Id:\d+, MethodName:/,/Invalid call to runtime\.sendMessage\(\)\. Tab not found\./,/\[Powerreviews\] Duplicate ui\.js script detected/,/Uncaught "Empty reason"/,/Could not clear consent from root domain\./,/Can't find variable: _AutofillCallbackHandler/,/googletag is not defined/,/window\.webkit\.messageHandlers/];r.L.init({...e,applicationId:"4b64021c-57d4-4eb3-bbfb-1e9bc9628f4f",sessionReplaySampleRate:0,trackUserInteractions:!0}),o.yf.init({...e,forwardErrorsToLogs:!0,telemetrySampleRate:0,beforeSend:e=>{var n;if(0===(null===(n=e.http)||void 0===n?void 0:n.status_code))return!1;const r="string"==typeof e.message?e.message:"";return!t.some((e=>e.test(r)))}})}const d=({title:e,description:t,keywords:n,url:r,image:o,faqSchema:d,productSchema:m,slug:p,canonicalUrl:g,noIndex:v,structuredDataOverride:f,includeViewport:y=!0})=>{const h=v||c.Iq.includes(null!=p?p:""),E=null==g?void 0:g.replace(/\/$/,""),w=E?(0,s.Rw)(E)?`${E}/`:`${u.siteUrl}/${E}/`:null,_=w||r||u.siteUrl;return a.createElement(a.Fragment,null,a.createElement("html",{lang:"en"}),a.createElement("title",null,e||u.title),a.createElement("meta",{name:"description",content:t||u.siteDescription}),a.createElement("meta",{name:"keywords",content:n||u.keywords}),w?a.createElement("link",{rel:"canonical",key:w,href:w}):null,a.createElement("meta",{property:"og:title",content:e||u.title}),a.createElement("meta",{property:"og:type",content:"website"}),a.createElement("meta",{property:"og:url",content:_}),a.createElement("meta",{property:"og:description",content:t||u.siteDescription}),"360-full-body-test"===g&&a.createElement("meta",{property:"og:image",content:"https://images.ctfassets.net/ydyvnem5zkxh/4nxQS4XKyPtTgXlB3aCjjz/c68df5bde7c6e29f4879815a47c0024a/Center_3_mobile.png"}),o?a.createElement("meta",{property:"og:image",content:o}):null,a.createElement("meta",{name:"twitter:card",content:"summary_large_image"}),a.createElement("meta",{name:"twitter:creator",content:u.userTwitter?u.userTwitter:""}),a.createElement("meta",{name:"twitter:title",content:e||u.siteTitle}),a.createElement("meta",{name:"twitter:description",content:t||u.siteDescription}),o?a.createElement("meta",{name:"twitter:image",content:o}):null,y?a.createElement("meta",{name:"viewport",content:"width=device-width, initial-scale=1, maximum-scale=1"}):null,h?a.createElement("meta",{name:"robots",content:"noindex, nofollow, noimageindex"}):null,f?a.createElement("script",{type:"application/ld+json"},JSON.stringify(f)):a.createElement("script",{type:"application/ld+json"},JSON.stringify(i.Gg)),null!=d&&d.length?a.createElement("script",{type:"application/ld+json"},JSON.stringify((0,i.Q0)(d))):null,m?a.createElement(l.A,{data:m}):null)},m=({title:e,description:t,keywords:n,url:r,image:o,faqSchema:l,productSchema:i,slug:s,canonicalUrl:c,noIndex:u,structuredDataOverride:m,includeViewport:p})=>a.createElement(a.Fragment,null,a.createElement(d,{title:e,description:t,keywords:n,url:r,image:o,faqSchema:l,productSchema:i,slug:s,canonicalUrl:c,noIndex:u,structuredDataOverride:m,includeViewport:p}))},58177:function(e,t,n){"use strict";n.d(t,{Y:function(){return o}});var r=n(96540);const o=({data:e})=>r.createElement("script",{type:"application/ld+json","data-component":"StructuredData","data-source-file":"index.tsx"},JSON.stringify(e));t.A=o},48767:function(e,t,n){"use strict";n.d(t,{Gg:function(){return g},IA:function(){return h},JC:function(){return d},Jw:function(){return w},ML:function(){return p},Nr:function(){return _},Q0:function(){return v},Xz:function(){return m},bm:function(){return E},pI:function(){return f},tW:function(){return y}});var r=n(25574),o=n(64898),l=n(48354),i=n(52218),a=n(3126);const s=n(60237),c="https://schema.org",u=e=>`${o.V2}/products/${e}/`,d=e=>
1({"@context":c,"@type":a._.ITEM_LIST,name:"Everlywell At-Home Tests",itemListElement:e.map(((e,t)=>((e,t)=>({"@type":a._.LIST_ITEM,position:t+1,url:u(e)}))(e,t)))}),m=(e,t,n,r,o,l,s)=>{var d;if(!e)return{};const{productId:m,name:p,slug:g,upc:v,powerReviews:f,outOfStock:y,promotionable:h}=e||{},E=s||u(g),w=v||null,_=y||l?a.e.OUT_OF_STOCK:a.e.IN_STOCK,I=m.toString(),T=o&&(0,i.i4)(m,o,h),O=new Date;O.setHours(0,0,0,0),O.setFullYear(O.getFullYear()+1);const A=T?new Date(o.expires_at).toISOString():O.toISOString(),b={"@type":a._.BRAND,name:"Everlywell"};let S;(null==f?void 0:f.average_rating)>0&&(null==f?void 0:f.review_count)>0&&(S={"@type":a._.AGGREGATE_RATING,ratingValue:null==f?void 0:f.average_rating,reviewCount:null==f?void 0:f.review_count});const C=null==f||null===(d=f.contents)||void 0===d?void 0:d.map((e=>({"@type":a._.REVIEW,name:e.headline,reviewBody:e.comments,datePublished:new Date(e.created_date).toISOString(),author:{"@type":a._.PERSON,name:e.author},reviewRating:{"@type":a._.RATING,ratingValue:e.rating},locationCreated:{"@type":a._.LOCATION_CREATED,name:e.location}}))),N={"@type":a._.OFFER,sku:I,availability:_,price:r,priceValidUntil:A,priceCurrency:"USD",url:E,hasMerchantReturnPolicy:{"@type":a._.MERCHANT_RETURN_POLICY,applicableCountry:"US",returnPolicyCategory:"https://schema.org/MerchantReturnFiniteReturnWindow",merchantReturnDays:30},shippingDetails:{"@type":a._.OFFER_SHIPPING_DETAILS,shippingDestination:{"@type":a._.DEFINED_REGION,addressCountry:"US"}
1,shippingRate:{"@type":a._.MONETARY_AMOUNT,value:"0",currency:"USD"}}};return{"@context":c,"@type":a._.PRODUCT,name:p,brand:b,description:n,sku:I,gtin12:w,url:E,image:t,aggregateRating:S,review:C,offers:N,category:"At-Home Test"}},p=(e,t)=>{const n=u(e.slug),r=t.map((t=>{const r=m(t.productData,t.image,t.description,t.basePrice,t.promo,t.regionalRestrictionApplies),o=`${n}?variant=${encodeURIComponent(t.variantQueryValue)}`,{"@context":l,...i}=r;return{...i,url:o,inProductGroupWithID:e.productGroupID,offers:{...r.offers,url:o}}}));return{"@context":c,"@type":a._.PRODUCT_GROUP,name:e.name,description:e.description,url:n,brand:{"@type":a._.BRAND,name:"Everlywell"},productGroupID:e.productGroupID,hasVariant:r}},g={"@context":c,"@type":a._.ORGANIZATION,name:s.author,legalName:s.legalName,url:s.authorUrl,logo:s.siteLogo,foundingDate:s.foundingDate,founders:{"@type":a._.PERSON,name:s.founder},address:{"@type":a._.POSTAL_ADDRESS,streetAddress:s.streetAddress,addressLocality:s.addressLocality,addressRegion:s.addressRegion,postalCode:s.postalCode,addressCountry:s.addressCountryCode},contactPoint:{"@type":a._.CONTACT_POINT,contactType:s.contactType,email:s.email},sameAs:[s.facebook,s.twitter,s.pinterest,s.linkedin]},v=e=>({"@context":c,"@type":a._.FAQ_PAGE,mainEntity:e.map((e=>({"@type":a._.QUESTION,name:(0,l.F)(e.question),acceptedAnswer:{"@type":a._.ANSWER,text:(0,l.F)(e.answer)}})))}),f=e=>{if(!e)return[];const t=e.find((e=>"FaqV2"===(null==e?void 0:e.componentName)));return null!=t&&t.subsections?t.subsections.flatMap((e=>{var t,n;const o=e,l=null==o||null===(t=o.displayName)||void 0===t?void 0:t.trim(),i=null==o||null===(n=o.body)||void 0===n?void 0:n.raw;if(!l||!i)return[];let a;try{a=(e=>{var t;return null!==(t=e.content)&&void 0!==t&&t.length?e.content.map((e=>{var t;return"unordered-list"===e.nodeType||"ordered-list"===e.nodeType?(null!==(t=e.content)&&void 0!==t?t:[]).map((e=>(0,r.l)(e," "))).filter((e=>e.length>0)).join(", "):(0,r.l)(e," ")})).filter((e=>e.length>0)).join(" "):""})(JSON.parse(i)).trim()}catch{a=""}return a?[{question:l,answer:a}]:[]})):[]},y=e=>({"@context":c,"@type":a._.HOW_TO,name:`How to use the ${e}`,description:`Simple steps to complete your ${e} at home.`,step:[]}),h=e=>({...e,step:Array.isArray(e.step)?e.step.map((e=>({...e,"@type":a._.HOW_TO_STEP}))):[]}),E=()=>({"@context":c,"@type":a._.BREADCRUMB_LIST,itemListElement:[]}),w=e=>{try{var t;const n=null==e||null===(t=e.internal)||void 0===t?void 0:t.content;if(!n)return{};const r=JSON.parse(n);return!r||"object"!=typeof r||Array.isArray(r)?{}:r}catch{return{}}},_=e=>({...e,itemListElement:Array.isArray(e.itemListElement)?e.itemListElement.map((e=>({...e,"@type":a._.LIST_ITEM}))):[]})},3126:function(e,t,n){"use strict";n.d(t,{_:function(){return r},e:function(){return o}});let r=function(e){return e.ORGANIZATION="Organization",e.FAQ_PAGE="FAQPage",e.PRODUCT="Product",e.PRODUCT_GROUP="ProductGroup",e.OFFER="Offer",e.LIST_ITEM="ListItem",e.BRAND="Brand",e.AGGREGATE_RATING="AggregateRating",e.ITEM_LIST="ItemList",e.QUESTION="Question",e.ANSWER="Answer",e.PERSON="Person",e.REVIEW="Review",e.RATING="Rating",e.LOCATION_CREATED="AdministrativeArea",e.POSTAL_ADDRESS="PostalAddress",e.CONTACT_POINT="ContactPoint",e.GEO_COORDINATES="GeoCoordinates",e.OPENING_HOURS_SPECIFICATION="OpeningHoursSpecification",e.MEDICAL_CLINIC="MedicalClinic",e.OFFER_SHIPPING_DETAILS="OfferShippingDetails",e.DEFINED_REGION="DefinedRegion",e.MONETARY_AMOUNT="MonetaryAmount",e.MERCHANT_RETURN_POLICY="MerchantReturnPolicy",e.ARTICLE="Article",e.BLOG_POSTING="BlogPosting",e.IMAGE_OBJECT="ImageObject",e.WEB_PAGE="WebPage",e.HOW_TO="HowTo",e.HOW_TO_STEP="HowToStep",e.BREADCRUMB_LIST="BreadcrumbList",e}({}),o=function(e){return e.OUT_OF_STOCK="https://schema.org/OutOfStock",e.IN_STOCK="https://schema.org/InStock",e}({})},51357:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return E}});var r=n(45574),o=n(51147),l=n(16976),i=n(32532),a=n(96540),s=n(11616),c=n(47654),u=n(64898),d=n(33263),m=n(16562);var p=n(98814);var g=n(46966),v=n(54727),f=n(10931),y=n(98164);const h={WelcomeToMembership:{component:function({program:e,heading:t,description:n,cta:p,mobileImage:g,desktopImage:v}){const f=!(null==p||!p.url)&&(0,d.Rw)(null==p?void 0:p.url),y=f?(0,m.x)((null==p?void 0:p.url)||""):null==p?void 0:p.url,h={...f?{href:`${u.$C}/login?my_results_redirect=${y}`,as:"a"}:{to:y,as:r.N_}};return a.createElement(r.so,{alignItems:"center",justifyContent:"center",flexDirection:"column",rowGap:6,height:"100vh",padding:[4,8],sx:{opacity:0,animation:"fadeIn 0.5s ease-in-out forwards","@keyframes fadeIn":{from:{opacity:0}
1,to:{opacity:1}}},"data-element":"Flex","data-component":"WelcomeToMembership","data-source-file":"WelcomeToMembership.tsx"},a.createElement(r.so,{width:"40%",justifyContent:"center","data-element":"Flex","data-source-file":"WelcomeToMembership.tsx"},g?a.createElement(o._,{display:[null,null,"none"],as:i.G,image:null==g?void 0:g.gatsbyImageData,alt:(null==g?void 0:g.description)||""}):null,v?a.createElement(o._,{display:["none",null,"block"],as:i.G,image:null==v?void 0:v.gatsbyImageData,alt:(null==v?void 0:v.description)||""}):null),t?a.createElement(r.DZ,null,t):null,n?a.createElement(r.az,null,a.createElement(l.A,{contentfulRichText:n})):null,p&&p.url?a.createElement(r.$n,Object.assign({type:"button",onClick:()=>{s.Ay.track({event:c.r.EVENTS.CLICKED_BUTTON,data:{label:c.r.MEMBERSHIP.WELCOME_PAGE.CONTINUE_CTA,program:e}})}},h),p.label):null)},parser:function(e){var t,n;const{metadata:r,images:o}=e||{},l=(0,p.nl)(o);return{description:{raw:(null==e||null===(t=e.body)||void 0===t?void 0:t.raw)||""},heading:(null==r?void 0:r.title)||"",cta:(null==r||null===(n=r.ctas)||void 0===n?void 0:n[0])||null,mobileImage:l.mobileImage,desktopImage:l.desktopImage}}}};function E({pageContext:e}){const{seo:t,sections:n}=e,{program:o,setRedirectedToConfirmation:l}=(0,g.Eh)();return(0,a.useEffect)((()=>{s.Ay.track({event:c.r.EVENTS.VIEWED_PAGE,data:{page:c.r.MEMBERSHIP.WELCOME_PAGE.TITLE,program:o||"No program provided"}}),(0,d.Bd)()&&y.dW.track({event:"welcomeToProgramPage",programName:o})}),[o]),(0,a.useEffect)((()=>
1{l(!0)}),[]),a.createElement(r.NP,{theme:r.w4,"data-element":"ThemeProvider","data-component":"MembershipConfirmation","data-source-file":"membership-confirmation.tsx"},t?a.createElement(v.k,(0,f.A)(t)):a.createElement(v.k,{title:"Confirmation"}),a.createElement(r.mc,{size:["fluid",null,null,null,"ultra"],margin:"0 auto","data-element":"Container","data-source-file":"membership-confirmation.tsx"},n.map((e=>{if(!e.componentName)return null;const t=h[e.componentName];if(!t)return null;const n={...t.parser(e),program:o};return a.createElement(t.component,{...n,key:e.id})}))))}},60237:function(e){e.exports={addressCountry:"United States",addressCountryCode:"US",addressLocality:"Austin",addressRegion:"Texas",author:"Everlywell",authorUrl:"https://www.everlywell.com/",backgroundColor:"#e9e9e9",contactType:"customer support",copyright:`Copyright © ${(new Date).getFullYear()} EverlyWell, Inc.`,email:"[email protected]",facebook:"https://www.facebook.com/everlywell/",founder:"Julia Cheek",foundingDate:"2015",keywords:"home health testing, online blood test, online health test, at home blood test, at home lab test, blood test, urine test, saliva test, food intolerance test, food sensitivity test, fertility test, hormone testing, self testing",legalName:"Everly Well, Inc.",linkedin:"https://www.linkedin.com/company/everlywell",pinterest:"https://www.pinterest.com/everlywell/",postalCode:"78701",postsPerHomePage:10,postsPerPage:10,publisher:"Everlywell",shortTitle:"Everlywell",siteDescription:"Home health testing has never been easier. Order at-home tests directly to your door and get your results online within days.",siteLogo:"/logo/e-logo.png",siteTitle:"Home Health Testing | Results You Can Understand | Everlywell",siteTitleAlt:"Everlywell: Home Health Testing Made Easy",siteUrl:"https://www.everlywell.com",streetAddress:"823 Congress, Suite 1200",themeColor:"#121212",title:"Everlywell - Innovative at-home Health Testing",twitter:"https://twitter.com/everly_well",userTwitter:"@everly_well",sitemaps:["https://www.everlywell.com/sitemap-index.xml","https://www.everlywell.com/blog/sitemap-index.xml","https://support.everlywell.com/sitemap.xml"],robotsDisallowedPaths:["/hi","/orders","/ancestry/","/confirmation/","/cart","/checkout","/everlywell-weightloss/","/partner-activation","/practitioner-activation","/privacy-policy/","/products/prostate-specific-antigen/","/terms-and-conditions/","/thank-you","/download-app","/weight-loss-online","/glp-1-weight-loss-online-v2","/members/consentandnotice","/products/perimenopause-test","/products/vitamin-d-test","/products/indoor-outdoor-allergy-test","/products/lyme-disease-test","/weightloss-program-terms/","/weightloss-checkout/","/wcplus-confirmation/"]}},78444:function(e,t,n){"use strict";var r=n(4240),o=n(33263);t.A=(e,t)=>{let n=null;try{var l;const o=JSON.parse(null!==(l=e.raw)&&void 0!==l?l:"{}");n=(0,r.documentToReactComponents)(o,t)}catch(i){(0,o.vV)("Error parsing rich text raw content.",{component:"renderRichText",function:"renderRichText",stackTrace:i})}return n}},52218:function(e,t,n){"use strict";n.d(t,{FX:function(){return s},Ko:function(){return i},L:function(){return l},Lp:function(){return r},i4:function(){return o},jV:function(){return a}});const r=e=>{const t=new Date;return e.filter((e=>{const n=new Date(e.starts_at),r=new Date(e.expires_at);return n<=t&&t<=r}))},o=(e,t,n)=>!1!==n&&!t.rules.excluded_product_ids.includes(e)&&(t.rules.included_product_ids.includes(e)||0===t.rules.included_product_ids.length),l=(e,t)=>t.find((t=>{var n,r,o,l,i,a,s;const c=((null===(n=t.rules)||void 0===n||null===(r=n.included_product_ids)||void 0===r?void 0:r.includes(e))||0===(null!==(o=null===(l=t.rules)||void 0===l||null===(i=l.included_product_ids)||void 0===i?void 0:i.length)&&void 0!==o?o:0))&&!(null!==(a=t.rules)&&void 0!==a&&null!==(s=a.excluded_product_ids)&&void 0!==s&&s.includes(e));let u=!1;if(t.starts_at&&t.expires_at){const e=new Date(t.starts_at),n=new Date(t.expires_at);u=e<=new Date&&new Date<=n}return c&&u})),i=(e,t)=>{var n;const r=((e,t)=>{var n;return t?t.discounts.flat_rate?t.discounts.flat_rate:t.discounts.flat_percent?t.discounts.flat_percent:null!==(n=t.discounts.tiered)&&void 0!==n&&n.length&&e?((e,t)=>{var n;const r=null==t||null===(n=t.discounts)||void 0===n?void 0:n.tiered;return e&&r&&r.length>0?r.reduce(((t,n)=>{const{price_range:r,percent:o}=n,l=+r[0],i=null!==r[1]?+r[1]:1/0;return+e>l&&+e<=i&&(t=o),t}),0):0})(e,t):0:0})(e,t),o=((e,t,n)=>{if(0!==n)switch(t){case"percent":return+e-+ +n/100*+e;case"flat_rate":return+e-+n;default:return+e}return+e})(e,null!=t&&t.discounts.flat_percent||null!=t&&null!==(n=t.discounts.tiered)&&void 0!==n&&n.length?"percent":"flat_rate",r);return l=o,Number.isInteger(l)?l.toString():(+l).toFixed(2);var l},a=((()=>{let e=null})(),(e,t)=>{const n=parseFloat(i(null!=e?e:"0",t||void 0));return null!=n?n:0}),s=(e,t)=>{if(e.discounts.flat_rate)return`$${e.discounts.flat_rate} OFF`;if(e.discounts.flat_percent)return`Save ${e.discounts.flat_percent}%`;const n=e.discounts.tiered;if(n&&n.length>0){const e=n.reduce(((e,n)=>{const[r,o]=n.price_range;return t>=r&&(null===o||t<=o)&&(!e||n.percent>e.percent)?n:e}),null);if(e)return`Save ${e.percent}%`}return""}},16562:function(e,t,n){"use strict";n.d(t,{x:function(){return o}});var r=n(64898);const o=(e,t)=>{let n=e;return n.startsWith("https://secure.everlywell.com")?n=n.replace(/^https:\/\/secure.everlywell\.com/,r.$C):n.startsWith("https://results.everlywell.com/")&&(n=n.replace(/^https:\/\/results.everlywell\.com/,r.oq)),t&&t.toString()&&(n+=(n.includes("?")?"&":"?")+t.toString()),n}},48354:function(e,t,n){"use strict";n.d(t,{F:function(){return i}});const r=[[/\u201C/g,'"'],[/\u201D/g,'"'],[/\u2018/g,"'"],[/\u2019/g,"'"]],o=[[/\u2014/g,"--"],[/\u2013/g,"-"]],l=/^[\s]*(?:[-*\u2022]|\d+\.)\s+/;function i(e){if(!e)return"";let t=e;for(const[n,o]of r)t=t.replace(n,o);for(const[n,r]of o)t=t.replace(n,r);return t.split(/\r?\n|\r/).reduce(((e,t)=>{const n=t.replace(l,"").trim();return n.length>0&&e.push(n),e}),[]).join(" ").replace(/\s{2,}/g," ").trim()}}}]); 2//# sourceMappingURL=component---src-templates-membership-confirmation-tsx-d5a5a
2ab36440d6d4d3f5.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.