PageSourceSearch

https://www.fertitude.com/_next/static/chunks/7920-08f571248be94269.js

js fertitude.com collected 2026-10-02 00:00:30 UTC 10,463 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7920],{1139:(e,t,r)=>{r.d(t,{k:()=>a});var n=r(4193);let a={async getArticles(e){try{return(await n.A.get("/articles",{params:{search:null==e?void 0:e.search,category:null==e?void 0:e.category,page:(null==e?void 0:e.page)||1,limit:(null==e?void 0:e.limit)||10,destination:(null==e?void 0:e.destination)||"WEBSITE_ONLY",sortBy:(null==e?void 0:e.sortBy)||"createdAt",sortOrder:(null==e?void 0:e.sortOrder)||"desc"}})).data.data}catch(e){throw console.error("Failed to fetch articles:",e),e}},async getArticleById(e){try{return(await n.A.get("/articles/".concat(e))).data.data}catch(t){throw console.error("Failed to fetch article ".concat(e,":"),t),t}},async getArticleBySlug(e){try{return(await n.A.get("/articles/slug/".concat(e))).data.data}catch(t){throw console.error("Failed to fetch article by slug ".concat(e,":"),t),t}},async increaseReadCount(e){try{return(await n.A.get("/articles/read/".concat(e))).data.data}catch(t){throw console.error("Failed to fetch article ".concat(e,":"),t),t}},async getAuthorBySlug(e){try{return(await n.A.get("/author-profiles/slug/".concat(e))).data.data}catch(t){throw console.error("Failed to fetch author profile by slug ".concat(e,":"),t),t}},async getArticleByIdOrSlug(e){let t=/^[a-f\d]{24}$/i.test(e);try{if(t)return await this.getArticleById(e);return await this.getArticleBySlug(e)}catch(r){if(t)try{return await this.getArticleBySlug(e)}catch(e){}throw r}}}},1850:(e,t,r)=>{r.d(t,{A:()=>h});var n=r(7876),a=r(2460),i=r(6613),o=r(2039),c=r(1428),s=r(2312),l=r(3821),p=r(2031),u=r(8230),d=r.n(u),m=r(9807);function h(e){let{id:t,slug:r,title:u,summary:h,coverImage:g,authorName:y,date:x,imageHeight:f=200,summaryLength:w=110}=e;return(0,n.jsx)(d(),{href:"/blog/".concat(r||t),style:{textDecoration:"none"},children:(0,n.jsxs)(a.A,{sx:{width:"100%",p:"8px 8px 20px 8px",borderRadius:"24px",border:"0.5px solid #EBEBEB",boxShadow:"0px 2px 4px -1px #5E438905, 0px 5px 13px -5px #5E43890D",display:"flex",flexDirection:"column",height:"100%",transition:"box-shadow 0.2s","&:hover":{boxShadow:"0px 4px 16px rgba(94, 67, 137, 0.12)"}},children:[(0,n.jsx)(i.A,{component:"img",image:g||"/images/placeholder.jpg",alt:u,sx:{height:f,borderRadius:"16px",objectFit:"cover"}}),(0,n.jsxs)(o.A,{sx:{flexGrow:1,display:"flex",flexDirection:"column",gap:.75,px:1,pt:1.5,pb:"0 !important"},children:[(0,n.jsx)(c.A,{sx:{fontWeight:600,fontSize:"16px",color:"#262626",lineHeight:1.4},children:u}),h&&(0,n.jsx)(c.A,{sx:{fontSize:"13px",color:"#868686",lineHeight:1.6,flexGrow:1},children:(0,m.EJ)((0,m.$J)(h),w)}),(0,n.jsxs)(s.A,{sx:{display:"flex",alignItems:"center",justifyContent:"space-between",mt:1,flexWrap:"wrap",gap:.5},children:[y&&(0,n.jsxs)(s.A,{sx:{display:"flex",alignItems:"center",gap:.5},children:[(0,n.jsx)(l.A,{sx:{fontSize:15,color:"#5E4389"}}),(0,n.jsx)(c.A,{sx:{fontSize:"12px",color:"#868686"},children:y})]}),(0,n.jsxs)(s.A,{sx:{display:"flex",alignItems:"center",gap:.5},children:[(0,n.jsx)(p.A,{sx:{fontSize:13,color:"#5E4389"}}),(0,n.jsx)(c.A,{sx:{fontSize:"12px",color:"#868686"},children:new Date(x).toLocaleDateString("en-US",{month:"short",day:"numeric",year:"numeric"})})]})]})]})]})})}},2148:(e,t,r)=>{r.d(t,{$I:()=>h,Dw:()=>p,Jm:()=>m,LS:()=>i,O8:()=>c,RI:()=>u,Rn:()=>s,Xt:()=>l,Zy:()=>d,my:()=>o});let n=r(5364).env.NEXT_PUBLIC_SITE_URL||"https://fertitude.com",a="".concat(n,"/logo.svg");function i(){return{"@context":"https://schema.org","@type":"Organization",name:"Fertitude",url:n,logo:a,description:"Women's health and fertility tracking app with expert guidance and community support",sameAs:["https://www.facebook.com/fertitude","https://www.instagram.com/fertitude","https://www.twitter.com/fertitude"],contact:{"@type":"ContactPoint",contactType:"Customer Service",email:"[email protected]"}}}function o(e){var t,r,i,o,c;let s="".concat(n,"/blog/").concat(e.slug||e.id),l=e.publishedAt?new Date(e.publishedAt).toISOString():new Date().toISOString(),p=e.updatedAt?new Date(e.updatedAt).toISOString():l,u=null==(t=e.author)?void 0:t.authorProfile,d=(null==u?void 0:u.fullName)||(null==(r=e.author)?void 0:r.name)||((null==(i=e.author)?void 0:i.firstName)?"".concat(e.author.firstName," ").concat(e.author.lastName||"").trim():null),m=(null==u?void 0:u.slug)?"".concat(n,"/authors/").concat(u.slug):n,h=d?{"@type":"Person",name:(null==u?void 0:u.credentials)?"".concat(d,", ").concat(u.credentials):d,url:m}:{"@type":"Organization",name:"Fertitude Team",url:n},g={"@context":"https://schema.org","@type":"Article",headline:e.title,de
1scription:e.summary||(null==(o=e.content)?void 0:o.substring(0,160))||"",image:e.coverImage||a,datePublished:l,dateModified:p,author:h,publisher:{"@type":"Organization",name:"Fertitude",logo:{"@type":"ImageObject",url:a}},mainEntityOfPage:{"@type":"WebPage","@id":s},articleSection:e.category||"Health",keywords:(null==(c=e.tags)?void 0:c.join(", "))||"fertility,health,women"};return e.reviewer&&(g.reviewedBy={"@type":"Person",name:e.reviewer.credentials?"".concat(e.reviewer.fullName,", ").concat(e.reviewer.credentials):e.reviewer.fullName||"Medical Reviewer",url:e.reviewer.slug?"".concat(n,"/authors/").concat(e.reviewer.slug):n}),g}function c(e){return{"@context":"https://schema.org","@type":"MedicalWebPage",name:e.name,description:e.description,url:e.url,publisher:i(),medicalAudience:{"@type":"MedicalAudience",audienceType:e.medicalAudience||"Patient"},...e.specialty&&{specialty:e.specialty}}}function s(e){return{"@context":"https://schema.org","@type":"MedicalBusiness",name:e.name,...e.description&&{description:e.description},...e.telephone&&{telephone:e.telephone},...e.areaServed&&{areaServed:e.areaServed},url:n,logo:a,...e.services&&{availableService:e.services.map(e=>({"@type":"MedicalService",name:e.name,description:e.description}))}}}function l(e){return{"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:e.map((e,t)=>({"@type":"ListItem",position:t+1,name:e.name,item:e.url}))}}function p(){return{"@context":"https://schema.org","@type":"WebSite",name:"Fertitude",url:n,description:"Women's health and fertility tracking app with expert guidance and community support",potentialAction:{"@type":"SearchAction",target:{"@type":"EntryPoint",urlTemplate:"".concat(n,"/blog/search-results?query={search_term_string}")},"query-input":"required name=search_term_string"}}}function u(e){return{"@context":"https://schema.org","@type":"FAQPage",mainEntity:e.map(e=>({"@type":"Question",name:e.question,acceptedAnswer:{"@type":"Answer",text:e.answer}}))}}function d(e){return{"@context":"https://schema.org","@type":"ContactPage",name:e.name,description:e.description,url:e.url,mainEntity:{"@type":"ContactPoint",contactType:e.contactType||"Customer support",...e.email&&{email:e.email},...e.telephone&&{telephone:e.telephone},...e.hours&&{hoursAvailable:e.hours},availableLanguage:["English"]},publisher:i()}}function m(e){return{"@context":"https://schema.org","@type":"Person",name:e.name,...e.credentials&&{honorificSuffix:e.credentials},...e.description&&{description:e.description},...e.image&&{image:e.image},...e.specialization&&{jobTitle:e.specialization},url:e.slug?"".concat(n,"/authors/").concat(e.slug):n,...e.sameAs&&{sameAs:e.sameAs}}}function h(e){return{"@context":"https://schema.org","@type":"CollectionPage",name:e.name,description:e.description,url:e.url,...e.image&&{image:e.image},...e.articleCount&&{numberOfItems:e.articleCount},isPartOf:{"@type":"WebSite",name:"Fertitude",url:n}}}},4193:(e,t,r)=>{r.d(t,{A:()=>c,g:()=>o});var n=r(1040);let a="https://api.fertitude.com/api/v1",i="63d02e6f-3d1c-4f8b-9bfa-c991380ce3db";a||console.error("NEXT_PUBLIC_API_BASE_URL environment variable is not set"),i||console.error("NEXT_PUBLIC_CLIENT_ID environment variable is not set");let o=n.A.create({baseURL:a,timeout:1e4,headers:{"Content-Type":"application/json","x-client-id":i,"Cache-Control":"no-cache",Pragma:"no-cache"}});o.interceptors.response.use(e=>e,e=>{var t;return console.error("API Error:",(null==(t=e.response)?void 0:t.data)||e.message),Promise.reject(e)});let c=o},5099:(e,t,r)=>{r.d(t,{A:()=>c});var n=r(7876),a=r(7328),i=r.n(a),o=r(5364);function c(e){let{title:t,description:r,canonicalUrl:a,ogImage:c="/logo.svg",ogType:s="website",twitterCard:l="summary_large_image",keywords:p=[],noIndex:u=!1,structuredData:d}=e,m=o.env.NEXT_PUBLIC_SITE_URL||"https://fertitude.com",h=t.includes("Fertitude")?t:"".concat(t," | Fertitude"),g=a||m,y=c.startsWith("http")?c:"".concat(m).concat(c);return(0,n.jsxs)(i(),{children:[(0,n.jsx)("title",{children:h}),(0,n.jsx)("meta",{name:"description",content:r}),p.length>0&&(0,n.jsx)("meta",{name:"keywords",content:p.join(", ")}),(0,n.jsx)("meta",{name:"viewport",content:"width=device-width, initial-scale=1.0"}),(0,n.jsx)("link",{rel:"canonical",href:g}),u&&(0,n.jsx)("meta",{name:"robots",content:"noindex,nofollow"}),(0,n.jsx)("meta",{property:"og:title",content:h}),(0,n.jsx)("meta",{property:"og:description",content:r}),(0,n.jsx)("meta",{property:"og:type",content:s}),(0,n.jsx)("meta",{property:"og:url",content:g}),(0,n.jsx)("meta",{property:"og:image",content:y}),(0,n.jsx)("meta",{property:"og:site_name",content:"Fertitude"}),(0,n.jsx)("meta",{name:"twitter:card",content:l}),(0,n.jsx)("meta",{name:"twitter:title",content:h}),(0,n.jsx)("meta",{name:"twitter:description",content:r}),(0,n.jsx)("meta",{name:"twitter:image",content:y}),(0,n.jsx)("meta",{name:"author",content:"Fertitude"}),(0,n.jsx)("meta",{name:"theme-color",content:"#5E4389"}),d&&(0,n.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(d)}})]})}},9807:(e,t,r)=>{r.d(t,{$J:()=>i,EJ:()=>o,Zr:()=>c,pn:()=>a});var n=r(2227);function a(e){return e?n.A.sanitize(e,{ALLOWED_TAGS:["p","br","strong","em","u","del","sub","sup","h1","h2","h3","h4","h5","h6","ul","ol","li","a","img","blockquote","pre","code","table","thead","tbody","tr","th","td","div","span"],ALLOWED_ATTR:["href","src","alt","title","target","rel","class","id","style","width","height"],ALLOW_DATA_ATTR:!1}):""}function i(e){return e?e.replace(/<[^>]*>/g,"").replace(/&nbsp;/g," ").replace(/&amp;/g,"&").replace(/&lt;/g,"<").replace(/&gt;/g,">").replace(/&quot;/g,'"').replace(/&#039;/g,"'").trim():""}function o(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:150;return!e||e.length<=t?e:e.substring(0,t)+"..."}function c(e){return e?e.charAt(0).toUpperCase()+e.slice(1):""}}}]);

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.