1(self.webpackChunkhhgDiscoverV1=self.webpackChunkhhgDiscoverV1||[]).push([[4582],{"0Dpy":function(e,t,o){(window.__NEXT_P=window.__NEXT_P||[]).push(["/health-tools/[...slug]",function(){return o("B8QC")}])},bPK4:function(e,t,o){"use strict";o.d(t,{GW:function(){return getCareAllSpecialtyUrl},JQ:function(){return getCareHospitalUrl},KG:function(){return getEcommerceApiPath},ME:function(){return getCareServiceUrl},Nh:function(){return getPathURLSearchParams},Nv:function(){return getCareSpecialtyUrl},PU:function(){return getSubotApiPath},Rg:function(){return getChatbotApiPath},SF:function(){return getCareDoctorUrl},WH:function(){return getLeadPath},at:function(){return getCurrentBaseUrl},e1:function(){return getTogetherPath},eB:function(){return getCareDomain},er:function(){return getApiPath},gQ:function(){return getUrlToRedirectToSSOWithReturnUrl},jA:function(){return getBabyVaccineToolPath},nN:function(){return getHellositePath},oN:function(){return getHelloSitesUrl},pN:function(){return getServiceUrl},vf:function(){return getLocalApiPath},vo:function(){return getApiTrackingPath},yZ:function(){return getCareSearchPageUrl}});var n=o("NmYn"),r=o.n(n),a=o("gY0P"),i=o.n(a),l=o("/sjq"),c=o("9brV");let u=c.Km.NEXT_PUBLIC_DEPLOY_LOCALE||"en-PH",formatString=function(){for(var e=arguments.length,t=Array(e),o=0;o<e;o++)t[o]=arguments[o];let n=i()(...t);if(n.includes("?")){let[e,t]=n.split("?",2),o=t.split("&").filter(e=>e&&(!e.includes("=")||e.split("=")[1]));return 0===o.length?e:"".concat(e,"?").concat(o.join("&"))}return n},getLocalApiPath=(e,t)=>{let{NEXT_PUBLIC_BASE_API_URL:o}=c.Km;return o+"wp-json/api/"+formatString(e,{...t})},getApiPath=(e,t)=>{let{NEXT_PUBLIC_BASE_API_URL:o,WP_INTERNAL_API:n}=c.Km;return(n||o)+"wp-json/api/"+formatString(e,{...t})},getApiTrackingPath=(e,t)=>c.Km.NEXT_PUBLIC_BASE_API_URL+"wp-json/"+formatString(e,{...t}),getLeadPath=(e,t)=>c.Km.NEXT_PUBLIC_LEAD_API+"api/"+formatString(e,{...t}),getTogetherPath=(e,t,o)=>c.Km.NEXT_PUBLIC_TOGETHER_API+"api/".concat(o||"v1","/")+formatString(e,{...t}),getCurrentBaseUrl=e=>window.location.origin,getCareDomain=e=>{let t="production"===c.Km.DEPLOY_ENV;return t?"".concat(l.domainLocales[e],"/care"):"discover.".concat(l.domainLocales[e],"/care")},slugifiedNameWithId=(e,t,o,n)=>n&&t?"".concat(n,"-").concat(t):"".concat(r()(e||"",{lower:!0,locale:o||u}),"-").concat(t),getServiceUrl=e=>{var t,o;let{locale:n,citySlug:a}=e;return"/care/".concat(r()(a||(null===(t=c.ix[n||"vi-VN"])||void 0===t?void 0:t.CURRENT)||"",{lower:!0,locale:n}),"/").concat(null===(o=c.ix[n||"vi-VN"])||void 0===o?void 0:o.SERVICE)},getCareAllSpecialtyUrl=e=>{var t;let{locale:o}=e;return"/care/".concat(null===(t=c.ix[o||"vi-VN"])||void 0===t?void 0:t.SPECIALTIES)},getCareSpecialtyUrl=e=>{var t,o;let{locale:n,citySlug:a,slug:i}=e;return"/care/".concat(r()(a||(null===(t=c.ix[n||"vi-VN"])||void 0===t?void 0:t.ALL)||"",{lower:!0,locale:n}),"/").concat(null===(o=c.ix[n||"vi-VN"])||void 0===o?void 0:o.HOSPITAL,"/").concat(i)},getCareHospitalUrl=e=>{var t;let{name:o,id:n,locale:r,slug:a}=e;return"/care/".concat(null===(t=c.ix[r||"vi-VN"])||void 0===t?void 0:t.HOSPITAL,"/").concat(slugifiedNameWithId(o,n,r,a))},getCareDoctorUrl=e=>{var t;let{name:o,id:n,locale:r}=e;return"/care/".concat(null===(t=c.ix[r||"vi-VN"])||void 0===t?void 0:t.DOCTOR,"/").concat(slugifiedNameWithId(o,n))},getCareServiceUrl=e=>{var t;let{name:o,id:n,locale:r}=e;return"/care/".concat(null===(t=c.ix[r||"vi-VN"])||void 0===t?void 0:t.SERVICE,"/").concat(slugifiedNameWithId(o,n))},getCareSearchPageUrl=e=>{var t,o;let{type:n,locale:r,searchSlug:a}=e;return"/care/".concat(null===(t=c.ix[r])||void 0===t?void 0:t.CURRENT,"/").concat(null===(o=c.ix[r])||void 0===o?void 0:o[c.m4[n]],"/").concat(null!=a?a:"")},getBabyVaccineToolPath=(e,t)=>(c.Km.INTERNAL_VACCINATION_TOOL_API||c.Km.NEXT_PUBLIC_VACCINATION_TOOL_API)+formatString(e,{...t,domain:l.domainLocales[u]}),getUrlToRedirectToSSOWithReturnUrl=(e,t,o)=>{let n=e||window.location.href,r=t?"".concat(n.includes("?")?"&":"?","source=").concat(t):"",a=o?"".concat(n.includes("?")||r?"&":"?","action=").concat(o):"";return c.a5?"".concat(c.a5,"?returnUrl=").concat(encodeURIComponent("".concat(n).concat(r).concat(a))):"/"},getSubotApiPath=(e,t)=>{let{SUBOT_INTERNAL:o,NEXT_PUBLIC_SUBOT_API:n}=c.Km;return n+formatString(e,{...t})},getEcommerceApiPath=(e,t)=>{let{NEXT_PUBLIC_ECOMMERCE_API:o}=c.Km;return(o||"https://uat-ecommerce.hellobacsi.com/")+"rest/"+c.Km.NEXT_PUBLIC_STORE_CODE+"/V1/"+formatString(e,{...t})},getChatbotApiPath=(e,t)=>{let{NEXT_PUBLIC_CHAT_BOT_API:o="https://chatbot-staging.hellohealthgroup.com/"}=c.Km;return o+formatString(e,{...t})},getHelloSitesUrl=function(e,t){let o=arguments.length>2&&void 0!==arguments[2]&&arguments[2],{DEPLOY_ENV:n}=c.Km,r=!t&&("localhost"===window.location.hostname||"127.0.0.1"===window.location.hostname);return o?"https://".concat(l.domainLocales[e]):r?"http://".concat(window.location.host):"https://".concat("production"===n?"":"discover.").concat(l.domainLocales[e])};function getHellositePath(e){let{locale:t,slug:o,query:n}=e,r=getHelloSitesUrl(t);"tl-PH"===t&&(r+="/fil");let a="?";if(void 0!==n){let e="";Object.keys(n).map(t=>{let o=n[t];Array.isArray(o)&&(a+=e+o.map(e=>"".concat(t,"=").concat(e)).join("&"),e="&"),"string"==typeof o&&(a+=e+"".concat(t,"=").concat(o),e="&")})}"?"===a&&(a="");let i=[];
1return"string"==typeof o&&(i=o.split("/").filter(Boolean)),Array.isArray(o)&&(i=o.map(e=>e.split("/").filter(Boolean).join("/"),[])),r+"/"+i.join("/")+"/"+a}function getPathURLSearchParams(e,t){let o=e,n=new URLSearchParams(t),r=0;return n.forEach((e,t)=>{e?r++:n.delete(t)}),0!==r&&(o+="?".concat(n)),o}},KlC4:function(e,t,o){"use strict";o.d(t,{qO:function(){return HealthToolPopupProvider},Tr:function(){return useHealthToolPopupResultTrigger}});var n=o("BGKE"),r=o("+OUp"),a=o("tmGe"),i=o("jC95"),l=o("P+HS"),c=o("vH4S"),u=o("jD9D"),s=o("wA0V"),d=o("a5L+"),p=(0,c.createStyles)(e=>({modalContent:{position:"relative",borderRadius:(0,c.rem)(16),overflow:"hidden",display:"flex",flexDirection:"column"},modalHeader:{position:"absolute",right:0,top:0,border:0,background:"transparent",padding:0,zIndex:3,".mantine-CloseButton-root":{width:(0,c.rem)(30),height:(0,c.rem)(30),top:(0,c.rem)(8),right:(0,c.rem)(8),color:"#8c8c8c",display:"flex",alignItems:"center",justifyContent:"center",borderRadius:"50%",backgroundColor:e.white,"&:hover":{backgroundColor:"".concat(e.white," !important"),color:"#595959 !important","& svg":{color:"#595959 !important"}},"& svg":{width:"".concat((0,c.rem)(20)," !important"),height:"".concat((0,c.rem)(20)," !important"),color:"#8c8c8c"}}},modalBody:{padding:0,flex:1,minHeight:0,maxHeight:"100%",display:"flex",flexDirection:"column",justifyContent:"center",overflow:"hidden"}}));let h=a.c.modal,m=h.viewportEdgeGap,getPopupMaxHeightPx=(e,t)=>e?Math.max(t-h.verticalGap.mobile,200):Math.min(Math.max(t-h.verticalGap.desktop,200),h.maxHeight.desktop),getBackgroundImageMaxWidthPx=(e,t)=>{let o=Math.max(t-2*m,280),n=e?h.maxWidth.mobile:h.maxWidth.desktop;return Math.min(n,o)},getBackgroundImageMaxWidth=(e,t)=>(0,c.rem)(getBackgroundImageMaxWidthPx(e,t)),HealthToolPopupFullBanner=e=>{var t,o,r,a,g;let{banner:b,openInNewTab:f,opened:v,onClose:x}=e,P=(0,d.a)(),C=(0,s.m)(),{width:S,height:w}=(0,u.l)(),{classes:T}=p(void 0,{name:"HealthToolPopupFullBanner"}),y=(null===(t=b.buttonText)||void 0===t?void 0:t.trim())||"",B=(null===(o=b.buttonLink)||void 0===o?void 0:o.trim())||"",I=!!y,N=!!B,L=(null===(r=b.headerText)||void 0===r?void 0:r.trim())||"",H=(null===(a=b.description)||void 0===a?void 0:a.trim())||"",k=N&&!I&&!L&&!H,E=S||(P?375:1440),R=w||(P?667:900),Y=getBackgroundImageMaxWidth(P,E),_=getBackgroundImageMaxWidthPx(P,E),U=getPopupMaxHeightPx(P,R),A={"data-event-category":"Health Tool","data-event-action":"Popup - Full banner - Close popup","data-event-label":C},M=N?{href:B,target:f?"_blank":"_self",rel:f?"noopener noreferrer":void 0,"data-event-category":"Health Tool","data-event-action":"Popup - Full banner - Click to redirect","data-event-label":B}:null;if(!v||!(null===(g=b.image)||void 0===g?void 0:g.trim()))return null;let D=(0,n.Y)(i.l,{src:b.image,alt:L||"Health tool popup",maxWidth:_,maxHeight:U,viewportWidthGap:2*m,viewportHeightGap:P?h.verticalGap.mobile:h.verticalGap.desktop,loading:"eager"});return(0,n.Y)(l.Modal,{opened:v,onClose:x,centered:!0,withCloseButton:!0,closeButtonProps:A,overlayProps:A,size:"auto",zIndex:500,classNames:{content:T.modalContent,header:T.modalHeader,body:T.modalBody},styles:{inner:{padding:(0,c.rem)(m),maxHeight:"100dvh"},content:{width:"fit-content",maxWidth:Y,padding:0,overflow:"hidden"},body:{padding:0}},children:(0,n.FD)(c.Box,{sx:{position:"relative"},children:[(0,n.FD)(c.Stack,{spacing:0,children:[k&&M?(0,n.Y)(c.Box,{component:"a",...M,"aria-label":"Health tool popup",onClick:x,sx:{display:"block",lineHeight:0,textDecoration:"none",color:"inherit"},children:D}):D,(L||H)&&(0,n.FD)(c.Stack,{spacing:5,sx:{padding:16,paddingBottom:0},children:[L?(0,n.Y)(c.Box,{sx:{fontSize:"16px",lineHeight:"19px",fontWeight:500},children:L}):null,H?(0,n.Y)(l.Text,{size:"p3",lineClamp:2,sx:{fontSize:"14px",lineHeight:"19px",color:"#65676B"},dangerouslySetInnerHTML:{__html:H}}):null]}),I?(0,n.Y)(c.Box,{sx:{padding:16},children:(0,n.Y)(l.Button,{variant:"primary",fullWidth:!0,children:y})}):null]}),N&&!k&&M?(0,n.Y)(c.Box,{component:"a",...M,"aria-label":y||L||"Health tool popup",onClick:x,sx:{position:"absolute",inset:0,zIndex:2,cursor:"pointer",backgroundColor:"transparent"}}):null]})})};var g=(0,c.createStyles)(e=>({root:{position:"fixed",right:(0,c.rem)(16),bottom:"calc(var(--health-tool-popup-toast-bottom,
1calc(".concat((0,c.rem)(16)," + var(--mobile-bottom-height, ").concat((0,c.rem)(56),"))) + env(safe-area-inset-bottom, 0px))"),zIndex:450,display:"flex",alignItems:"center",gap:0,width:"max-content",maxWidth:"calc(100vw - ".concat((0,c.rem)(32),")"),pointerEvents:"none",opacity:0,transform:"translateY(12px)",transition:"opacity 280ms ease, transform 280ms ease",'&[data-opened="true"]':{opacity:1,transform:"translateY(0)",pointerEvents:"auto"},[e.fn.largerThan("sm")]:{right:(0,c.rem)(24),bottom:"var(--health-tool-popup-toast-bottom, ".concat((0,c.rem)(32),")"),maxWidth:"min(".concat((0,c.rem)(360),", calc(100vw - ").concat((0,c.rem)(48),"))")}},bubbleWrap:{position:"relative",flex:"0 0 auto",width:"max-content",maxWidth:(0,c.rem)(240),marginRight:(0,c.rem)(18),pointerEvents:"auto"},closeButton:{position:"absolute",top:(0,c.rem)(-10),left:(0,c.rem)(-10),zIndex:2,width:(0,c.rem)(20),height:(0,c.rem)(20),minWidth:(0,c.rem)(20),borderRadius:"50%",border:"none",padding:0,display:"inline-flex",alignItems:"center",justifyContent:"center",backgroundColor:e.colors.neutral[2],color:e.colors.gray[6],boxShadow:"0 1px 4px rgba(0, 0, 0, 0.16)",cursor:"pointer"},bubble:{position:"relative",display:"block",width:"max-content",maxWidth:"100%",backgroundColor:e.colors.gray[8],color:e.white,borderRadius:(0,c.rem)(4),padding:"".concat((0,c.rem)(8)," ").concat((0,c.rem)(12)," ").concat((0,c.rem)(8)," ").concat((0,c.rem)(8)),textAlign:"left",textDecoration:"none",boxSizing:"border-box","&::after":{content:'""',position:"absolute",top:"50%",right:(0,c.rem)(-6),transform:"translateY(-50%)",width:0,height:0,borderTop:"".concat((0,c.rem)(5)," solid transparent"),borderBottom:"".concat((0,c.rem)(5)," solid transparent"),borderLeft:"".concat((0,c.rem)(6)," solid ").concat(e.colors.gray[8])}},bubbleText:{display:"block",color:"".concat(e.white," !important"),whiteSpace:"normal",overflowWrap:"break-word"},iconButton:{display:"block",flex:"0 0 auto",width:(0,c.rem)(64),height:(0,c.rem)(64),minWidth:(0,c.rem)(64),borderRadius:"50%",border:"".concat((0,c.rem)(4)," solid ").concat(e.white),boxShadow:"2px 12px 32px 0px #00000026",padding:0,pointerEvents:"auto",cursor:"pointer",overflow:"hidden",backgroundColor:e.white,textDecoration:"none",lineHeight:0},iconImage:{width:"100%",height:"100%",borderRadius:"50%",objectFit:"cover",display:"block"},iconOnly:{position:"relative",pointerEvents:"auto"},iconOnlyClose:{position:"absolute",top:(0,c.rem)(-4),right:(0,c.rem)(-4),left:"auto",zIndex:2,width:(0,c.rem)(20),height:(0,c.rem)(20),minWidth:(0,c.rem)(20),borderRadius:"50%",border:"none",padding:0,display:"inline-flex",alignItems:"center",justifyContent:"center",backgroundColor:e.colors.neutral[2],color:e.colors.gray[6],boxShadow:"0 1px 4px rgba(0, 0, 0, 0.16)",cursor:"pointer"}}));let HealthToolPopupToast=e=>{let{icon:t,ctaText:o,linkUrl:r,openInNewTab:a,opened:i,onClose:u}=e,d=(0,s.m)(),{classes:p}=g(void 0,{name:"HealthToolPopup__Toast"});if(!t)return null;let h=(null==r?void 0:r.trim())||"",m=!!h,b=!!(null==o?void 0:o.trim()),f=m?{href:h,target:a?"_blank":"_self",rel:a?"noopener noreferrer":void 0,"data-event-category":"Health Tool","data-event-action":"Popup - Chabot - Click to redirect","data-event-label":h}:null,v=(0,n.Y)(c.Box,{component:"button",type:"button",className:b?p.closeButton:p.iconOnlyClose,"aria-label":"Close",onClick:u,"data-event-category":"Health Tool","data-event-action":"Popup - Chabot - Close","data-event-label":d,children:(0,n.Y)("svg",{width:"12",height:"12",viewBox:"0 0 20 20",fill:"currentColor",children:(0,n.Y)("path",{d:"M9.99981 10.8432L14.0583 14.9017C14.1691 15.0125 14.3083 15.0691 14.476 15.0717C14.6437 15.0743 14.7854 15.0176 14.9013 14.9017C15.0172 14.7858 15.0752 14.6453 15.0752 14.4802C15.0752 14.3151 15.0172 14.1746 14.9013 14.0587L10.8429 10.0002L14.9013 5.9417C15.0121 5.83094 15.0688 5.69172 15.0713 5.52402C15.0739 5.35634 15.0172 5.21456 14.9013 5.09866C14.7854 4.98276 14.6449 4.9248 14.4798 4.9248C14.3147 4.9248 14.1742 4.98276 14.0583 5.09866L9.99981 9.15712L5.94133 5.09866C5.83057 4.98789 5.69135 4.93122 5.52365 4.92866C5.35598 4.92609 5.21419 4.98276 5.09829 5.09866C4.98239 5.21456 4.92444 5.35506 4.92444 5.52018C4.92444 5.6853 4.98239 5.82581 5.09829 5.9417L9.15675 10.0002L5.09829 14.0587C4.98752 14.1694 4.93085 14.3087 4.9283 14.4763C4.92572 14.644 4.98239 14.7858 5.09829 14.9017C5.21419 15.0176 5.3547 15.0756 5.51982 15.0756C5.68493 15.0756 5.82544 15.0176 5.94133 14.9017L9.99981 10.8432Z"})})}),x=f?(0,n.Y)(c.Box,{component:"a",...f,className:p.iconButton,"aria-label":o||"Health tool popup",children:(0,n.Y)("img",{src:t,alt:"",className:p.iconImage,loading:"lazy"})}):(0,n.Y)(c.Box,{className:p.iconButton,"aria-label":o||"Health tool popup",children:(0,n.Y)("img",{src:t,alt:"",className:p.iconImage,loading:"lazy"})});return b?(0,n.FD)(c.Box,{className:p.root,"data-opened":i||void 0,children:[(0,n.FD)(c.Box,{className:p.bubbleWrap,children:[v,f?(0,n.Y)(c.Box,{component:"a",...f,className:p.bubble,children:(0,n.Y)(l.Text,{size:"p2",weight:"semiBold",className:p.bubbleText,children:o})}):(0,n.Y)(c.Box,{className:p.bubble,children:(0,n.Y)(l.Text,{size:"p2",weight:"semiBold",className:p.bubbleText,children:o})})]}),x]}):(0,n.Y)(c.Box,{className:p.root,"data-opened":i||void 0,children:(0,n.FD)(c.Box,{className:p.iconOnly,children:[v,x]})})},b=(0,r.createContext)({notifyResultShown:()=>void 0}),useHealthToolPopupResultNotify=()=>(0,r.useContext)(b).notifyResultShown,useHealthToolPopupResultTrigger=e=>{let t=useHealthToolPopupResultNotify(),o=(0,r.useRef)(!1);(0,r.useEffect)(()=>{e&&!o.current&&(o.current=!0,t())},[e,t])},isResultPageType=e=>"result"===e||"records"===e,HealthToolPopupProvider=e=>{let{children:t,healthToolPopup:o,toolPageType:a}=e,[i,l]=(0,r.useState)(()=>isResultPageType(a)?"result":"landing"),[c,u]=(0,r.useState)(!1),s=(0,r.useRef)({landing:!1,result:!1}),d=(0,r.useRef)(null),p=(0,r.useRef)(isResultPageType(a)),h=(0,r.useCallback)(()=>{p.current||(p.current=!0,l("result"))},[]);(0,r.useEffect)(()=>{isResultPageType(a)&&(p.current=!0,l("result"))},[a]);let m=(0,r.useMemo)(()=>o?"result"===i?o.resultPage:o.firstScreen:null,[o,i]);(0,r.useEffect)(()=>
1{if(d.current&&(clearTimeout(d.current),d.current=null),u(!1),m&&!s.current[i])return s.current[i]=!0,d.current=setTimeout(()=>{u(!0)},1e3*m.delayTime),()=>{d.current&&(clearTimeout(d.current),d.current=null)}},[m,i]);let g=(0,r.useCallback)(()=>{s.current[i]=!0,u(!1)},[i]),f=(0,r.useMemo)(()=>({notifyResultShown:h}),[h]);return(0,n.FD)(b.Provider,{value:f,children:[t,(null==m?void 0:m.popupType)==="toast"&&m.toast?(0,n.Y)(HealthToolPopupToast,{icon:m.toast.icon,ctaText:m.toast.ctaText,linkUrl:m.toast.linkUrl,openInNewTab:m.openInNewTab,opened:c,onClose:g}):null,(null==m?void 0:m.popupType)==="full_banner"&&m.banner?(0,n.Y)(HealthToolPopupFullBanner,{banner:m.banner,openInNewTab:m.openInNewTab,opened:c,onClose:g}):null]})}},"/sjq":function(e){"use strict";e.exports={domainLocales:{"vi-VN":"hellobacsi.com","id-ID":"hellosehat.com","ms-MY":"hellodoktor.com","km-KH":"hellokrupet.com","en-PH":"hellodoctor.com.ph","tl-PH":"hellodoctor.com.ph","th-TH":"hellokhunmor.com","my-MM":"hellosayarwon.com","zh-TW":"helloyishi.com.tw","hi-IN":"helloswasthya.com","zh-SG":"hellojiankang.com"},ignoreList:[]}},wA0V:function(e,t,o){"use strict";o.d(t,{m:function(){return useCurrentUrl}});var n=o("+OUp"),r=o("bPK4"),a=o("AG8C"),i=o("9brV");function useCurrentUrl(){let{locale:e,router:{asPath:t}}
1=(0,a.$)(),[o,l]=(0,n.useState)(()=>"".concat((0,r.oN)(e,!1)).concat(i.Jp).concat(t));return(0,n.useEffect)(()=>{l(window.location.href)},[t]),o}},"a5L+":function(e,t,o){"use strict";o.d(t,{a:function(){return useIsMobile}});var n=o("bGjd");let useIsMobile=e=>{let{isMobile:t,isMobileSSR:o,isLargeMobile:r}=(0,n.lm)();return"boolean"==typeof t||"boolean"==typeof r?!!(e&&r||t):!!(e&&r||o)}},bGjd:function(e,t,o){"use strict";o.d(t,{LB:function(){return ScreenSizeProvider},O4:function(){return ScreenSizeListener},lm:function(){return useScreenSize}});var n=o("BGKE"),r=o("+OUp"),a=o("sEfC"),i=o.n(a),l=o("oWg6"),c=o("VNqU"),u=o("a5vB");let getIsMobile=()=>window.innerWidth<768,getIsLargeMobile=()=>window.innerWidth>=768&&window.innerWidth<1112,useScreenSize=()=>{let{isMobile:e,isLargeMobile:t,isMobileSSR:o}=useScreenSizeContext(e=>({isMobile:e.isMobile,isLargeMobile:e.isLargeMobile,isMobileSSR:e.isMobileSSR}),u.x);return{isMobile:e,isLargeMobile:t,isMobileSSR:o}},useScreenSizeListener=()=>{let{setIsMobile:e,setIsLargeMobile:t}=useScreenSizeContext(e=>({setSSR:e.setSSR,setIsMobile:e.setIsMobile,setIsLargeMobile:e.setIsLargeMobile}),u.x);(0,r.useEffect)(()=>{let o=i()(()=>{let o=getIsMobile(),n=getIsLargeMobile();"boolean"==typeof o&&e(o),"boolean"==typeof n&&t(n)},200);return window.addEventListener("resize",o,{passive:!0}),()=>{window.removeEventListener("resize",o)}},[])},ScreenSizeListener=()=>(useScreenSizeListener(),null),createScreenSizeStore=e=>{let t={isMobile:getIsMobile(),isLargeMobile:getIsLargeMobile()};return(0,l.y)()(o=>({...t,...e,setIsMobile:e=>o({isMobile:e}),setIsLargeMobile:e=>o({isLargeMobile:e}),setSSR:e=>o({isMobileSSR:e})}))},s=(0,r.createContext)(null),ScreenSizeProvider=e=>{let{isMobileSSR:t,children:o}=e,a=(0,r.useRef)();return a.current||(a.current=createScreenSizeStore({isMobileSSR:t})),(0,n.Y)(s.Provider,{value:a.current,children:o})};function useScreenSizeContext(e,t){let o=(0,r.useContext)(s);if(!o)throw Error("Missing ScreenSizeContext.Provider in the tree");return(0,c.Pj)(o,e,t)}},B8QC:function(e,t,o){"use strict";o.r(t),o.d(t,{__N_SSP:function(){return P},default:function(){return _slug_}});var n=o("BGKE"),r=o("+OUp"),a=o("a5vB"),i=o("KlC4"),l=o("VoJx"),c=o.n(l);let u=c()(()=>Promise.all([o.e(7393),o.e(1509),o.e(2277),o.e(8287),o.e(2794),o.e(4335),o.e(1466),o.e(9885),o.e(5232),o.e(3001),o.e(2897),o.e(270),o.e(302),o.e(3664),o.e(6255),o.e(7794),o.e(9785),o.e(7398),o.e(4765),o.e(866),o.e(3827),o.e(7741),o.e(7537),o.e(7506),o.e(8048),o.e(6983),o.e(3069),o.e(4039),o.e(7491),o.e(873),o.e(9106),o.e(9705),o.e(3739),o.e(6548),o.e(7986),o.e(7541),o.e(6755),o.e(2191)]).then(o.bind(o,"8rKt")).then(e=>e.DueDatePageComponent),{loadableGenerated:{webpack:()=>["8rKt"]}}),s=c()(()=>Promise.all([o.e(7393),o.e(1509),o.e(2277),o.e(8287),o.e(2794),o.e(4335),o.e(1466),o.e(9885),o.e(5232),o.e(3001),o.e(2897),o.e(270),o.e(302),o.e(3664),o.e(6255),o.e(4728),o.e(7794),o.e(9785),o.e(7398),o.e(4765),o.e(866),o.e(3827),o.e(7537),o.e(7506),o.e(8048),o.e(3347),o.e(6983),o.e(3069),o.e(4039),o.e(7491),o.e(873),o.e(9106),o.e(9705),o.e(6548),o.e(7757),o.e(7360),o.e(7986),o.e(7541),o.e(2468),o.e(5312)]).then(o.bind(o,"VkpC")).then(e=>e.BMIToolPage),{loadableGenerated:{webpack:()=>["VkpC"]}}),d=c()(()=>Promise.all([o.e(7393),o.e(1509),o.e(2277),o.e(8287),o.e(2794),o.e(4335),o.e(1466),o.e(9885),o.e(5232),o.e(3001),o.e(2897),o.e(270),o.e(302),o.e(3664),o.e(6255),o.e(4728),o.e(7794),o.e(9785),o.e(7398),o.e(4765),o.e(866),o.e(3827),o.e(7537),o.e(7506),o.e(8048),o.e(3347),o.e(6983),o.e(3069),o.e(4039),o.e(7491),o.e(873),o.e(9106),o.e(9705),o.e(6548),o.e(7757),o.e(7360),o.e(7986),o.e(7541),o.e(2468),o.e(4072)]).then(o.bind(o,"XoAd")).then(e=>e.BMRToolPage),{loadableGenerated:{webpack:()=>["XoAd"]}}),p=c()(()=>Promise.all([o.e(8287),o.e(4335),o.e(6419),o.e(9135)]).then(o.bind(o,"Ssu5")).then(e=>e.PWGToolPage),{loadableGenerated:{webpack:()=>["Ssu5"]}}),h=c()(()=>Promise.all([o.e(8287),o.e(4335),o.e(6419),o.e(7775)]).then(o.bind(o,"wspD")).then(e=>e.THRToolPage),{loadableGenerated:{webpack:()=>["wspD"]}}),m=c()(()=>Promise.all([o.e(7393),o.e(1509),o.e(2277),o.e(8287),o.e(2794),o.e(4335),o.e(1466),o.e(9885),o.e(5232),o.e(3001),o.e(2897),o.e(270),o.e(302),o.e(3664),o.e(6255),o.e(4728),o.e(7794),o.e(9785),o.e(7398),o.e(4765),o.e(8669),o.e(4660),o.e(7537),o.e(7506),o.e(6079),o.e(6983),o.e(3069),o.e(4039),o.e(7491),o.e(873),o.e(9106),o.e(9705),o.e(3739),o.e(6548),o.e(7350),o.e(1745),o.e(7757),o.e(9102),o.e(391)]).then(o.bind(o,"IjTq")).then(e=>
1e.OvulationPageComponent),{loadableGenerated:{webpack:()=>["IjTq"]}}),g=c()(()=>o.e(4486).then(o.bind(o,"qhuX")).then(e=>e.BabyVaccinationPage),{loadableGenerated:{webpack:()=>["qhuX"]}}),b=c()(()=>Promise.all([o.e(8287),o.e(4335),o.e(6419),o.e(5056)]).then(o.bind(o,"6CHb")).then(e=>e.BabyGrowthPage),{loadableGenerated:{webpack:()=>["6CHb"]}}),f=c()(()=>Promise.all([o.e(7393),o.e(1509),o.e(2277),o.e(8287),o.e(2794),o.e(4335),o.e(1466),o.e(9885),o.e(5232),o.e(3001),o.e(2897),o.e(270),o.e(302),o.e(3664),o.e(6255),o.e(4728),o.e(7398),o.e(8669),o.e(4660),o.e(7537),o.e(7506),o.e(4333),o.e(6983),o.e(3069),o.e(4039),o.e(7491),o.e(873),o.e(9106),o.e(9705),o.e(3739),o.e(7350),o.e(1745),o.e(9418),o.e(6007)]).then(o.bind(o,"lNOI")).then(e=>e.BabyPoopPage),{loadableGenerated:{webpack:()=>["lNOI"]}});var v=o("mdEm"),x=o("Nwaa"),P=!0,_slug_=e=>{let{pageType:t,healthToolPopup:o,toolPageType:l}=e,{setCurrentHealthToolType:c}=(0,x.v)(e=>e,a.x);return(0,r.useEffect)(()=>{c(t)},[t,c]),(0,n.Y)(i.qO,{healthToolPopup:o,toolPageType:l,children:(()=>{switch(t){case v.zY.DUE_DATE:return(0,n.Y)(u,{...e});case v.zY.BMI:return(0,n.Y)(s,{...e});case v.zY.BMR:return(0,n.Y)(d,{...e});case v.zY.OVULATION:return(0,n.Y)(m,{...e});case v.zY.PWG:return(0,n.Y)(p,{...e});case v.zY.THR:return(0,n.Y)(h,{...e});case v.zY.BABY_VACCINE:return(0,n.Y)(g,{...e});case v.zY.BABY_GROWTH:return(0,n.Y)(b,{...e});case v.zY.BABY_POOP:return(0,n.Y)(f,{...e});default:return null}})()})}},Nwaa:function(e,t,o){"use strict";o.d(t,{v:function(){return r}});var n=o("VNqU");let r=(0,n.vt)(e=>({currentHealthToolType:"",setCurrentHealthToolType(t){e({currentHealthToolType:t})},setDueDateInfo(t){e({dueDateInfo:t})},resultDueDate:0,setResultDueDate(t){e({resultDueDate:t})},resultBabyDOB:0,setResultBabyDOB(t){e({resultBabyDOB:t})}}))}},function(e){_N_E=Promise.all([e.f.consumes||function(e,t){},e.f.remotes||function(e,t){}].reduce(function(e,t){return t("4582",e),e},[])).then(function(){return e.X(0,[7381,5008,7995,6941,6600,8376,2486,8156,9187,8e3,8183,5512,5859,1704,6436,4881,6482,7470,2654,3028,7469,6801,636,8792],function(){return e(e.s="0Dpy")})})}]);
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.