"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7454],{"9+32":function(e,t,a){a.d(t,{b:function(){return HeaderBanner}});var n=a("BGKE"),i=a("lhAG"),o=a("Eso5"),l=a("gHFm"),r=a("x9hL"),c=(0,a("/npG").k)((e,t)=>{let{fullWidthBanner:a,bannerMobile:n,bannerDesktop:i}=t,o=a&&n&&i;return{root:{...!o&&{backgroundImage:"url(".concat(r.C.getAssetPath("video-pages/banner-bg-m.jpg"),")"),backgroundRepeat:"no-repeat",backgroundSize:"cover",[e.fn.largerThan("sm")]:{backgroundImage:"url(".concat(r.C.getAssetPath("video-pages/banner-bg-d.jpg"),")")}},...o&&{backgroundImage:"url(".concat(i,")"),[e.fn.smallerThan("sm")]:{backgroundImage:"url(".concat(n,")")},backgroundRepeat:"no-repeat",backgroundSize:"cover",backgroundPosition:"center",width:"100%"}},inner:{display:"flex",justifyContent:"space-between",minHeight:220,[e.fn.smallerThan("sm")]:{flexDirection:"column",alignItems:"center",gap:0},[e.fn.largerThan("sm")]:{alignItems:"center",minHeight:280}},info:{display:"flex",flexDirection:"column",gap:16,maxWidth:552},title:{[e.fn.smallerThan("sm")]:{minHeight:64,display:"flex",alignItems:"center"}},thumbnail:{},thumbnailImg:{display:"block",[e.fn.smallerThan("sm")]:{maxHeight:156},[e.fn.largerThan("sm")]:{maxHeight:280}},desc:{[e.fn.smallerThan("sm")]:{display:"none"}}}});let HeaderBanner=e=>{let{title:t,description:a,backgroundBanner:r,fullWidthBanner:d,bannerDesktop:s,bannerMobile:h,styles:m,classNames:p,className:g,...u}=e,{classes:v,cx:f}=c({fullWidthBanner:d,bannerDesktop:s,bannerMobile:h},{name:"HeaderBanner",styles:m,classNames:p});return(0,n.tZ)(o.x,{className:f(v.root,g),...u,children:(0,n.tZ)(l.W,{children:(0,n.BX)(o.x,{className:v.inner,children:[(0,n.BX)(o.x,{className:v.info,children:[t&&(0,n.tZ)(o.x,{className:v.title,children:(0,n.tZ)(i.T,{size:"h2",as:"h1",lineClamp:2,children:t})}),a&&(0,n.tZ)(i.T,{size:"p3",className:v.desc,children:a})]}),!d&&r&&(0,n.tZ)(o.x,{className:v.thumbnail,children:(0,n.tZ)("img",{loading:"lazy",src:r,alt:t,className:v.thumbnailImg})})]})})})}},W6Mx:function(e,t,a){a.r(t),a.d(t,{HealthConcern:function(){return HealthConcern}});var n=a("BGKE"),i=a("q1tI"),o=a("DSg0"),l=a("Kjzy"),r=a("ECoa"),c=a("09QT"),d=a("/tR3"),s=a("oQBk"),h=a("raAP"),m=a("rBCA"),p=a("nm4t"),g=a("iBNF"),u=a("rIrU");let v=(0,m.Z)("div",{target:"ez6hepg0"})("margin:24px 0 48px 0;background-size:cover;",p.M.mbDown,"{background-image:url('",u.Nr,"/bg-m.png}');width:100vw;margin-left:-1rem;.bullet-nav{bottom:24px;}}",p.M.mbUp,"{background-image:url('",u.Nr,"/bg-d.png}');.arrow-right{right:-16px;cursor:pointer;svg{fill:white;}}.arrow-left{left:-16px;cursor:pointer;svg{fill:white;}}}"),f=(0,m.Z)("div",{target:"ez6hepg1"})("width:100%;margin:0 0 8px 0;border-radius:",g.r.borderRadius,";",p.M.mbDown,"{min-height:318px;padding:24px 16px 48px 16px;}",p.M.mbUp,"{max-width:768px;}.post-divider{border-top:0.5px solid #e4e8ec;border-bottom:none;margin:0;}"),b=(0,m.Z)("div",{target:"ez6hepg2"})(p.M.mbDown,"{min-height:262px;}",p.M.mbUp,"{padding:78px 0 81px 0;min-height:332px;}.post-title{margin-top:16px;-webkit-box-orient:horizontal;-webkit-line-clamp:2;.img{width:auto;}}.second{margin-top:124px;}"),C=(0,m.Z)("div",{target:"ez6hepg3"})("display:flex;align-items:start;",p.M.mbUp,"{max-width:546px;margin-left:auto;margin-right:auto;.img-title{height:140px;width:auto;margin-right:16px;}.mid-content{display:flex;}.banner-title{font-size:32px;letter-spacing:-1px;line-height:42px;}}",p.M.mbDown,"{display:block;.img-mb{height:100px;width:auto;}.post-space{margin-top:160px;}.banner-title{padding:0 24px;font-size:24px;line-height:32px;text-align:center;}.banner-description{text-align:center;}}.banner-title{color:",g.r.colors.secondaryBase,";}.banner-description{margin-top:8px;color:",g.r.colors.secondaryBase,";font-size:16px;line-height:24px;}"),x=(0,m.Z)("div",{target:"ez6hepg4"})("display:flex;max-width:546px;justify-content:space-between;",p.M.mbUp,"{padding:0 28px;}&[data-has-legend='true']{margin-top:42px;}&[data-has-legend='false']{margin-top:137px;}margin-right:auto;margin-bottom:57px;margin-left:auto;.img-container{max-width:180px;align-items:center;.img-caption{margin-top:16px;color:",g.r.colors.secondaryDark,";font-size:22px;font-style:normal;font-weight:600;letter-spacing:-0.6px;line-height:32px;text-align:center;}}.img-container img{width:unset;}.columns{display:flex;flex-direction:column;align-content:center;align-items:center;justify-content:center;img{height:auto;",p.M.mbUp,"{width:180px;}",p.M.mbDown,"{width:100px;}}}"),Z=(0,m.Z)("div",{target:"ez6hepg5"})("display:flex;align-items:center;margin-bottom:16px;.legend-content{color:#284a75;font-size:14px;line-height:22px;}.flag{img{width:28px;height:28px;}margin-right:12px;}.info{padding-bottom:20px;}.end-post{padding-bottom:81px;}"),y=(0,m.Z)("div",{target:"ez6hepg6"})("margin-right:auto;margin-left:auto;",p.M.mbUp,"{max-width:577px;}",p.M.mbDown,"{padding:0 8px;}"),w=(0,m.Z)("div",{target:"ez6hepg7"})(p.M.mbDown,"{width:375px;max-height:600px;}img{width:100%;height:auto;}"),HealthConcern=e=>{let{isMobile:t,id:a}=e,[m,p]=(0,i.useState)([]),[g,u]=(0,i.useState)([]),[k,B]=(0,i.useState)(),T=(0,h.U)();(0,i.useEffect)(()=>{let fetchData=async()=>{var e,t,n,i,o,l,r,h,m;let g=await (0,c.callApiNew)(s.PATHS.COMMON.GET_CAROUSEL,{params:{id:a}});if(null==g?void 0:null===(e=g.data)||void 0===e?void 0:e.fields){if((null==g?void 0:null===(n=g.data)||void 0===n?void 0:null===(t=n.fields)||void 0===t?void 0:t.type)==="default"){let e=null==g?void 0:null===(l=g.data)||void 0===l?void 0:null===(o=l.fields)||void 0===o?void 0:null===(i=o.data)||void 0===i?void 0:i.map(d.yO);B(!0),p(e)}else{let e=null==g?void 0:null===(m=g.data)||void 0===m?void 0:null===(h=m.fields)||void 0===h?void 0:null===(r=h.data)||void 0===r?void 0:r.map(d.SG);B(!1),u(e)}}};fetchData()},[]);let renderDefaultPartnerCard=e=>{var t,a;return(0,n.tZ)(f,{children:(0,n.BX)(b,{children:[(0,n.BX)(C,{className:"post-title img-title img-mb",children:[!!(null==e?void 0:e.logoImage)&&(0,n.tZ)("div",{style:{display:"flex",justifyContent:"center",marginBottom:"22px"},children:(0,n.tZ)("img",{src:null==e?void 0:e.logoImage,alt:"avatar",className:"img-title img-mb",loading:"lazy"})}),(0,n.BX)("div",{children:[(0,n.tZ)("p",{className:"banner-title",dangerouslySetInnerHTML:{__html:e.title}}),(0,n.tZ)("p",{className:"banner-description",dangerouslySetInnerHTML:{__html:e.description}})]})]}),(0,n.tZ)(x,{"data-has-legend":void 0!==e.legends&&e.legends.length>0,children:null==e?void 0:null===(t=e.mid)||void 0===t?void 0:t.map((e,t)=>(0,n.tZ)("div",{className:"img-container",children:(0,n.BX)("div",{className:"columns",children:[(0,n.tZ)("img",{loading:"lazy",src:null==e?void 0:e.img,alt:"avatar"}),(0,n.tZ)(o.T,{size:"md",className:"img-caption",children:null==e?void 0:e.label})]})},t))}),(0,n.tZ)(y,{children:null==e?void 0:null===(a=e.legends)||void 0===a?void 0:a.map((e,t)=>(0,n.BX)(Z,{children:[(null==e?void 0:e.icon)&&(0,n.tZ)("div",{className:"flag",children:(0,n.tZ)("img",{loading:"lazy",src:null==e?void 0:e.icon,alt:""})}),(0,n.tZ)("span",{className:"legend-content",dangerouslySetInnerHTML:{__html:e.label}})]},t))})]})})},renderStatisticPartnerCard=e=>(0,n.tZ)(w,{children:(0,n.tZ)("img",{loading:"lazy",src:t&&e.imageMobile?e.imageMobile:e.imageDesktop,alt:e.title})});return(0,n.tZ)(n.HY,{children:((null==m?void 0:m.length)>0||(null==g?void 0:g.length))>0?(0,n.tZ)(v,{children:(0,n.tZ)(l.S,{column:1,row:1,isDotsShown:t,mode:"infinity",type:"separated",arrowType:"Care",isArrowShown:!t,dataEventCategory:"Carousel",dataEventAction:"Click",dataEventLabel:T,children:k?null==m?void 0:m.map(e=>renderDefaultPartnerCard(e)):null==g?void 0:g.map(e=>renderStatisticPartnerCard(e))})}):(0,n.tZ)(v,{children:(0,n.tZ)(r.Z,{height:763})})})}},"bS+h":function(e,t,a){a.d(t,{u:function(){return HealthToolCategoryFeatureGrid}});var n=a("BGKE"),i=a("Eso5"),o=a("CJtR"),l=a("j0KT"),r=a("hXNO"),c=a("P5LW"),d=(0,a("/npG").k)(e=>({root:{minWidth:0,width:"100%"},grid:{display:"grid",gridAutoFlow:"row",alignItems:"start",gap:8,gridTemplateColumns:"repeat(2, minmax(0, calc((100% - ".concat(8,"px) / 2)))"),"& > *":{minWidth:0,width:"100%",maxWidth:"100%"},[e.fn.largerThan("sm")]:{gap:24,gridTemplateColumns:"repeat(".concat(5,", minmax(0, calc((100% - ").concat(96,"px) / ").concat(5,")))")}}}));let HealthToolCategoryFeatureGrid=e=>{var t;let{healthTools:a,withEventTracking:s=!0,resolveTrackingData:h,styles:m,className:p,classNames:g,...u}=e,v=(0,r.d)(),{locale:f}=(0,c.h)(),b=null!==(t=null==a?void 0:a.length)&&void 0!==t?t:0,{classes:C,cx:x}=d(void 0,{name:"HealthToolCategoryFeatureGrid",styles:m,classNames:g});return b?(0,n.tZ)(i.x,{...u,className:x(p,C.root),children:(0,n.tZ)(i.x,{className:C.grid,children:a.map(e=>{let t=function(e,t){var a;let n=null!==(a=null==e?void 0:e.trim())&&void 0!==a?a:"";return n?/^https?:\/\//i.test(n)?n:"".concat((0,o.UC)(t)).concat(n):(0,o.UC)(t)}(e.link,f),a=s&&h?h(e,t):void 0;return(0,n.tZ)(l.T,{tool:e,withEventTracking:s,trackingData:a,titleLineClamp:v?3:4,displayMode:"compact"},e.id)})})}):null}},OHji:function(e,t,a){a.d(t,{T:function(){return HealthToolIntroSection}});var n=a("BGKE"),i=a("lhAG"),o=a("OAL+"),l=a("dDsW"),r=a("K27U"),c=a("usqR"),d=a("lnkF"),s=a("hXNO"),h=a("rIrU"),m=(0,a("/npG").k)(e=>({root:{gap:24,[e.fn.largerThan("sm")]:{gap:40}}}));let HealthToolIntroSection=e=>{let{toolInfo:t,color:a,styles:p,className:g,classNames:u,...v}=e,{formatMessage:f}=(0,l.Z)(),b=(0,s.d)(),{classes:C,cx:x,theme:Z}=m(void 0,{name:"HealthToolIntroSection",styles:p,classNames:u});return t?(0,n.BX)(o.K,{...v,className:x(g,C.root),sx:e=>({gap:24,[e.fn.largerThan("sm")]:{gap:40}}),children:[!b&&(0,n.tZ)(d.V,{color:a,icon:(0,n.tZ)("img",{alt:"health-tool-icon",loading:"lazy",src:(null==t?void 0:t.featured_image)||"".concat(h.Nr,"/bmi.svg"),style:{width:"100%",height:"100%",objectFit:"contain"}}),heading:t.title||f({id:"bmi.heading",defaultMessage:"BMI Calculator"}),description:t.description||f({id:"bmi.description",defaultMessage:"BMI Calculator"})}),(0,n.tZ)(c.E,{description:t.disclaimer}),(0,n.tZ)(r.e,{faqs:t.information,titleProps:{icon:(0,n.tZ)("img",{style:{height:"18px",width:"18px"},src:"".concat(h.Nr,"/info-icon.svg"),alt:"",loading:"lazy"}),headingTitle:(0,n.tZ)(i.T,{size:"p3",color:Z.colors.gray[6],weight:"semiBold",sx:{textTransform:"uppercase"},children:f({id:"tools.info",defaultMessage:"Info"})})}})]}):null}},XsJV:function(e,t,a){a.d(t,{cF:function(){return HealthToolPopupProvider},vw:function(){return useHealthToolPopupResultTrigger}});var n=a("BGKE"),i=a("q1tI"),o=a("ghVB"),l=a("Kjzy"),r=a("PBoO"),c=a("lhAG"),d=a("krdG"),s=a("mYVa"),h=a("Eso5"),m=a("OAL+"),p=a("jD9D"),g=a("hXNO"),u=a("/npG"),v=(0,u.k)(e=>({modalContent:{position:"relative",borderRadius:(0,s.h)(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,s.h)(30),height:(0,s.h)(30),top:(0,s.h)(8),right:(0,s.h)(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,s.h)(20)," !important"),height:"".concat((0,s.h)(20)," !important"),color:"#8c8c8c"}}},modalBody:{padding:0,flex:1,minHeight:0,maxHeight:"100%",display:"flex",flexDirection:"column",justifyContent:"center",overflow:"hidden"}}));let f=o.c.modal,b=f.viewportEdgeGap,getPopupMaxHeightPx=(e,t)=>e?Math.max(t-f.verticalGap.mobile,200):Math.min(Math.max(t-f.verticalGap.desktop,200),f.maxHeight.desktop),getBackgroundImageMaxWidthPx=(e,t)=>{let a=Math.max(t-2*b,280),n=e?f.maxWidth.mobile:f.maxWidth.desktop;return Math.min(n,a)},getBackgroundImageMaxWidth=(e,t)=>(0,s.h)(getBackgroundImageMaxWidthPx(e,t)),HealthToolPopupFullBanner=e=>{var t,a,i,o,u;let{banner:C,openInNewTab:x,opened:Z,onClose:y}=e,w=(0,g.d)(),{width:k,height:B}=(0,p.n)(),{classes:T}=v(void 0,{name:"HealthToolPopupFullBanner"}),H=(null===(t=C.buttonText)||void 0===t?void 0:t.trim())||"",M=(null===(a=C.buttonLink)||void 0===a?void 0:a.trim())||"",N=!!H,L=!!M,I=(null===(i=C.headerText)||void 0===i?void 0:i.trim())||"",S=(null===(o=C.description)||void 0===o?void 0:o.trim())||"",E=L&&!N&&!I&&!S,A=k||(w?375:1440),z=B||(w?667:900),_=getBackgroundImageMaxWidth(w,A),D=getBackgroundImageMaxWidthPx(w,A),P=getPopupMaxHeightPx(w,z),R=L?{href:M,target:x?"_blank":"_self",rel:x?"noopener noreferrer":void 0}:null;if(!Z||!(null===(u=C.image)||void 0===u?void 0:u.trim()))return null;let G=(0,n.tZ)(l.l,{src:C.image,alt:I||"Health tool popup",maxWidth:D,maxHeight:P,viewportWidthGap:2*b,viewportHeightGap:w?f.verticalGap.mobile:f.verticalGap.desktop,loading:"eager"});return(0,n.tZ)(r.M,{opened:Z,onClose:y,centered:!0,withCloseButton:!0,size:"auto",zIndex:500,classNames:{content:T.modalContent,header:T.modalHeader,body:T.modalBody},styles:{inner:{padding:(0,s.h)(b),maxHeight:"100dvh"},content:{width:"fit-content",maxWidth:_,padding:0,overflow:"hidden"},body:{padding:0}},children:(0,n.BX)(h.x,{sx:{position:"relative"},children:[(0,n.BX)(m.K,{spacing:0,children:[E&&R?(0,n.tZ)(h.x,{component:"a",...R,"aria-label":"Health tool popup",onClick:y,sx:{display:"block",lineHeight:0,textDecoration:"none",color:"inherit"},children:G}):G,(I||S)&&(0,n.BX)(m.K,{spacing:5,sx:{padding:16,paddingBottom:0},children:[I?(0,n.tZ)(h.x,{sx:{fontSize:"16px",lineHeight:"19px",fontWeight:500},children:I}):null,S?(0,n.tZ)(c.T,{size:"p3",lineClamp:2,sx:{fontSize:"14px",lineHeight:"19px",color:"#65676B"},dangerouslySetInnerHTML:{__html:S}}):null]}),N?(0,n.tZ)(h.x,{sx:{padding:16},children:(0,n.tZ)(d.B,{variant:"primary",fullWidth:!0,children:H})}):null]}),L&&!E&&R?(0,n.tZ)(h.x,{component:"a",...R,"aria-label":H||I||"Health tool popup",onClick:y,sx:{position:"absolute",inset:0,zIndex:2,cursor:"pointer",backgroundColor:"transparent"}}):null]})})};var C=(0,u.k)(e=>({root:{position:"fixed",right:(0,s.h)(16),bottom:"calc(var(--health-tool-popup-toast-bottom, calc(".concat((0,s.h)(16)," + var(--mobile-bottom-height, ").concat((0,s.h)(56),"))) + env(safe-area-inset-bottom, 0px))"),zIndex:450,display:"flex",alignItems:"center",gap:0,width:"max-content",maxWidth:"calc(100vw - ".concat((0,s.h)(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,s.h)(24),bottom:"var(--health-tool-popup-toast-bottom, ".concat((0,s.h)(32),")"),maxWidth:"min(".concat((0,s.h)(360),", calc(100vw - ").concat((0,s.h)(48),"))")}},bubbleWrap:{position:"relative",flex:"0 0 auto",width:"max-content",maxWidth:(0,s.h)(240),marginRight:(0,s.h)(18),pointerEvents:"auto"},closeButton:{position:"absolute",top:(0,s.h)(-10),left:(0,s.h)(-10),zIndex:2,width:(0,s.h)(20),height:(0,s.h)(20),minWidth:(0,s.h)(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,s.h)(4),padding:"".concat((0,s.h)(8)," ").concat((0,s.h)(12)," ").concat((0,s.h)(8)," ").concat((0,s.h)(8)),textAlign:"left",textDecoration:"none",boxSizing:"border-box","&::after":{content:'""',position:"absolute",top:"50%",right:(0,s.h)(-6),transform:"translateY(-50%)",width:0,height:0,borderTop:"".concat((0,s.h)(5)," solid transparent"),borderBottom:"".concat((0,s.h)(5)," solid transparent"),borderLeft:"".concat((0,s.h)(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,s.h)(64),height:(0,s.h)(64),minWidth:(0,s.h)(64),borderRadius:"50%",border:"".concat((0,s.h)(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,s.h)(-4),right:(0,s.h)(-4),left:"auto",zIndex:2,width:(0,s.h)(20),height:(0,s.h)(20),minWidth:(0,s.h)(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:a,linkUrl:i,openInNewTab:o,opened:l,onClose:r}=e,{classes:d}=C(void 0,{name:"HealthToolPopup__Toast"});if(!t)return null;let s=(null==i?void 0:i.trim())||"",m=!!s,p=!!(null==a?void 0:a.trim()),g=m?{href:s,target:o?"_blank":"_self",rel:o?"noopener noreferrer":void 0}:null,u=(0,n.tZ)(h.x,{component:"button",type:"button",className:p?d.closeButton:d.iconOnlyClose,"aria-label":"Close",onClick:r,children:(0,n.tZ)("svg",{width:"12",height:"12",viewBox:"0 0 20 20",fill:"currentColor",children:(0,n.tZ)("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"})})}),v=g?(0,n.tZ)(h.x,{component:"a",...g,className:d.iconButton,"aria-label":a||"Health tool popup",children:(0,n.tZ)("img",{src:t,alt:"",className:d.iconImage,loading:"lazy"})}):(0,n.tZ)(h.x,{className:d.iconButton,"aria-label":a||"Health tool popup",children:(0,n.tZ)("img",{src:t,alt:"",className:d.iconImage,loading:"lazy"})});return p?(0,n.BX)(h.x,{className:d.root,"data-opened":l||void 0,children:[(0,n.BX)(h.x,{className:d.bubbleWrap,children:[u,g?(0,n.tZ)(h.x,{component:"a",...g,className:d.bubble,children:(0,n.tZ)(c.T,{size:"p2",weight:"semiBold",className:d.bubbleText,children:a})}):(0,n.tZ)(h.x,{className:d.bubble,children:(0,n.tZ)(c.T,{size:"p2",weight:"semiBold",className:d.bubbleText,children:a})})]}),v]}):(0,n.tZ)(h.x,{className:d.root,"data-opened":l||void 0,children:(0,n.BX)(h.x,{className:d.iconOnly,children:[u,v]})})},x=(0,i.createContext)({notifyResultShown:()=>void 0}),useHealthToolPopupResultNotify=()=>(0,i.useContext)(x).notifyResultShown,useHealthToolPopupResultTrigger=e=>{let t=useHealthToolPopupResultNotify(),a=(0,i.useRef)(!1);(0,i.useEffect)(()=>{e&&!a.current&&(a.current=!0,t())},[e,t])},isResultPageType=e=>"result"===e||"records"===e,HealthToolPopupProvider=e=>{let{children:t,healthToolPopup:a,toolPageType:o}=e,[l,r]=(0,i.useState)(()=>isResultPageType(o)?"result":"landing"),[c,d]=(0,i.useState)(!1),s=(0,i.useRef)({landing:!1,result:!1}),h=(0,i.useRef)(null),m=(0,i.useRef)(isResultPageType(o)),p=(0,i.useCallback)(()=>{m.current||(m.current=!0,r("result"))},[]);(0,i.useEffect)(()=>{isResultPageType(o)&&(m.current=!0,r("result"))},[o]);let g=(0,i.useMemo)(()=>a?"result"===l?a.resultPage:a.firstScreen:null,[a,l]);(0,i.useEffect)(()=>{if(h.current&&(clearTimeout(h.current),h.current=null),d(!1),g&&!s.current[l])return s.current[l]=!0,h.current=setTimeout(()=>{d(!0)},1e3*g.delayTime),()=>{h.current&&(clearTimeout(h.current),h.current=null)}},[g,l]);let u=(0,i.useCallback)(()=>{s.current[l]=!0,d(!1)},[l]),v=(0,i.useMemo)(()=>({notifyResultShown:p}),[p]);return(0,n.BX)(x.Provider,{value:v,children:[t,(null==g?void 0:g.popupType)==="toast"&&g.toast?(0,n.tZ)(HealthToolPopupToast,{icon:g.toast.icon,ctaText:g.toast.ctaText,linkUrl:g.toast.linkUrl,openInNewTab:g.openInNewTab,opened:c,onClose:u}):null,(null==g?void 0:g.popupType)==="full_banner"&&g.banner?(0,n.tZ)(HealthToolPopupFullBanner,{banner:g.banner,openInNewTab:g.openInNewTab,opened:c,onClose:u}):null]})}},"O+H8":function(e,t,a){a.d(t,{X:function(){return Z}});var n=a("BGKE"),i=a("q1tI");let o=(0,i.createContext)({});var l=a("lhAG"),r=a("8vDj"),c=a("Eso5");let BoxWithAnimation=e=>{let{name:t,id:a}=e,d=(0,r.rZ)(),{scrollTo:s,activeId:h}=(0,i.useContext)(o);return(0,n.tZ)(c.x,{py:10,sx:{cursor:"pointer",position:"relative",transition:"all 0.3s ease",color:d.colors.gray400,":before":{content:'""',display:"block",width:0,height:2,backgroundColor:d.colors.primaryBase,position:"absolute",top:24,left:0,opacity:0,transition:"all 0.3s ease"},":hover":{color:d.colors.primary600},"&.active":{paddingLeft:36,color:d.colors.primaryBase,":before":{opacity:1,width:24}}},onClick:()=>null==s?void 0:s(a),className:h===a?"active":"",children:(0,n.tZ)(l.T,{size:"p1",weight:"semiBold",color:"inherit",children:t})})};var d=a("kfjY"),s=a("CmzK"),h=a("iuhU"),m=a("0EDw"),p=a("usMy"),g=a("/npG"),u=a("mYVa"),v=(0,g.k)(e=>({input:{border:0,fontSize:(0,u.h)(16),lineHeight:(0,u.h)(28),height:"".concat((0,u.h)(44)," !important"),color:e.colors.gray[8],letterSpacing:"-0.2px",backgroundColor:e.colors.blue[0],borderRadius:0,paddingLeft:16,outline:"none",boxShadow:"none"},item:{fontSize:(0,u.h)(16),lineHeight:(0,u.h)(24),padding:"".concat((0,u.h)(12)," ").concat((0,u.h)(16)),backgroundColor:"transparent",'&[data-selected="true"]':{color:e.fn.primaryColor(),fontWeight:p.F.semiBold,backgroundColor:"transparent"}},itemsWrapper:{padding:0},dropdown:{borderRadius:0,border:0,transform:"translateY(-8px)",backgroundColor:e.colors.blue[0]},rightSection:{backgroundImage:"url(/svg/arrow-down.svg)",backgroundRepeat:"no-repeat",backgroundPosition:"center",svg:{display:"none"}}})),f=a("OAL+"),b=(0,g.k)(e=>({root:{gap:24,[e.fn.largerThan("sm")]:{gap:40,height:"100%"}}})),C=a("O/o9");let x=(0,i.forwardRef)(function(e,t){let{id:a,children:l}=e,r=window.innerHeight/2,{ref:d,inView:s}=(0,C.YD)({root:null,rootMargin:"-".concat(r,"px 0px -").concat(r,"px 0px"),threshold:0}),{setActiveId:h}=(0,i.useContext)(o);return(0,i.useEffect)(()=>{s&&h(a)},[s,a,h]),(0,n.tZ)(c.x,{ref:e=>{d(e),"function"==typeof t?t(e):t&&(t.current=e)},children:l})}),Z=Object.assign(e=>{var t;let{children:a,listing:l=[],loading:r,hasSponsor:c}=e,[d,s]=(0,i.useState)(null==l?void 0:null===(t=l[0])||void 0===t?void 0:t.id),h=(0,i.useRef)({}),m=c?106:53;return(0,n.tZ)(o.Provider,{value:{listing:l,registerRef:(e,t)=>{h.current[e]=t},scrollTo:e=>{let t=h.current[e];if(t&&!r){let a=t.getBoundingClientRect().top+window.scrollY-m-24;window.scrollTo({top:a,behavior:"smooth"}),s(e)}},activeId:d,setActiveId:s,loading:r,hasSponsor:c},children:a})},{Nav:()=>{let{listing:e}=(0,i.useContext)(o);return 0===e.length?null:(0,n.tZ)(c.x,{children:e.map(e=>(0,n.tZ)(BoxWithAnimation,{name:e.label,id:e.id},e.id))})},ResultListing:e=>{let{itemWrapper:t=c.x,className:a,classNames:l,styles:r,...d}=e,{listing:s,registerRef:h}=(0,i.useContext)(o),m=(0,i.useRef)({}),{classes:p,cx:g}=b(void 0,{name:"HealthToolResultPanel__ResultListing",styles:r,classNames:l}),u=(0,i.useRef)([]);return(0,i.useEffect)(()=>{let e=s.map(e=>e.id);u.current.forEach(t=>{e.includes(t)||null==h||h(t,null)}),s.forEach(e=>{let t=m.current[e.id];t&&(null==h||h(e.id,t))}),u.current=e},[s]),(0,n.tZ)(f.K,{...d,className:g(a,p.root),children:s.map(e=>e.children?(0,n.tZ)(t,{children:(0,n.tZ)(x,{id:e.id,ref:t=>{m.current[e.id]=t,null==h||h(e.id,t)},children:e.children})},e.id):null)})},NavSelect:e=>{let{styles:t,classNames:a,className:l,mounted:r}=e,{classes:c}=v(void 0,{name:"HealthToolResultPanel",styles:t,classNames:a}),[p]=(0,m.b)(),{listing:g,scrollTo:u,activeId:f}=(0,i.useContext)(o),[b,C]=(0,i.useState)(f);return((0,i.useEffect)(()=>{C(f)},[f]),0===g.length)?null:(0,n.tZ)(d.u,{transition:"slide-down",mounted:r&&p.y>150,children:e=>(0,n.tZ)(s.Ph,{style:e,className:(0,h.default)(l,"no-focus"),classNames:{input:c.input,item:c.item,dropdown:c.dropdown,itemsWrapper:c.itemsWrapper,rightSection:c.rightSection},data:g.map(e=>({value:e.id,label:e.label})),value:b,onChange:e=>{e&&(C(e),null==u||u(e))}})})}})},xS4b:function(e,t,a){a.d(t,{s:function(){return HealthToolHeroBanner}});var n=a("BGKE"),i=a("q1tI"),o=a("VgLc"),l=a("DSg0"),r=a("iBNF"),c=a("dDsW"),d=a("09QT"),s=a("/tR3"),h=a("oQBk"),m=a("rIrU"),p=a("rBCA"),g=a("nm4t");let u=(0,p.Z)("div",{target:"e1amrkui0"})("position:relative;margin-bottom:2rem;"),v=(0,p.Z)("div",{target:"e1amrkui1"})("display:flex;width:100%;height:100%;min-height:180px;justify-content:center;background-position:center bottom;background-repeat:no-repeat;background-size:cover;"),f=(0,p.Z)("div",{target:"e1amrkui2"})("display:flex;width:100%;max-width:1170px;flex-direction:column;justify-content:space-between;padding:1.5rem 1rem;",g.M.mbUp,"{padding:3rem 2rem;flex-direction:row;}"),b=(0,p.Z)("div",{target:"e1amrkui3"})("margin-bottom:1rem;",g.M.mbUp,"{max-width:540px;margin-right:2rem;}"),C=(0,p.Z)("div",{target:"e1amrkui4"})("text-align:center;",g.M.mbUp,"{text-align:unset;transform:translateY(3rem);}"),x=(0,p.Z)("div",{target:"e1amrkui5"})("width:100%;"),Z=(0,p.Z)("div",{target:"e1amrkui6"})("position:relative;width:100%;padding:0 16px;background-position:bottom center;background-repeat:no-repeat;background-size:cover;",g.M.mbUp,"{display:none;}"),y=(0,p.Z)("div",{target:"e1amrkui7"})("position:relative;width:28%;margin-left:auto;",g.M.mbDown,"{width:70px;}"),w=(0,p.Z)("div",{target:"e1amrkui8"})("position:relative;width:100%;padding:16px 0 8px 0;"),HeroBanner=e=>{let{src:t,title:a,description:i,backgroundSrc:r,className:c,reviewedSection:d,isEmbed:s}=e;return(0,n.tZ)(u,{className:c,children:(0,n.tZ)(v,{style:{backgroundImage:'url("'.concat(r,'")')},children:(0,n.BX)(f,{children:[(0,n.BX)(b,{children:[(0,n.tZ)(o.H,{tag:s?"h2":"h1",color:"white",children:a}),i?(0,n.tZ)(l.T,{size:"p3",color:"white",children:i}):(0,n.tZ)("div",{className:"content no-description"}),d]}),(0,n.tZ)(C,{children:(0,n.tZ)("img",{loading:"lazy",src:t||m.At,style:{width:"140px",height:"140px",objectFit:"contain"},alt:a})})]})})})};var k=a("hXNO");let HealthToolHeroBanner=e=>{var t,a,p;let{backgroundDesktopSrc:g,backgroundMobileSrc:u,title:v,description:f,iconSrc:b,className:C,isEmbed:B=!1}=e,{formatMessage:T}=(0,c.Z)(),H=(0,k.d)(),[M,N]=(0,i.useState)({}),L=(0,s.Lb)(null==M?void 0:M.reviewed_by);return(0,i.useEffect)(()=>{(async()=>{let e=await (0,d.callApiNew)(h.PATHS.HEALTH_TOOL.GET_HEALTH_TOOL_OVULATION_INFO);N(null==e?void 0:e.data)})()},[]),(0,n.tZ)(x,{className:C,children:H?(0,n.BX)(Z,{style:{backgroundImage:"url('".concat(u||g,"')")},children:[(0,n.BX)(w,{children:[(0,n.tZ)(o.H,{tag:"h1",color:"white",children:v}),(0,n.tZ)(l.T,{size:"p3",color:"white",style:{marginTop:"10px"},children:f}),(null==M?void 0:null===(t=M.reviewed_by)||void 0===t?void 0:t.display_name)?(0,n.BX)(l.T,{size:"p4",color:"white",style:{marginTop:"0.3rem"},children:[(0,n.tZ)("img",{loading:"lazy",src:"".concat(m.Nr,"/check-circle.svg"),style:{height:16,width:16,marginRight:6,verticalAlign:"middle"},alt:""}),(0,n.tZ)("span",{dangerouslySetInnerHTML:{__html:T({id:"articlePage.articleReviewerBy"},{name:'\n ').concat(M.reviewed_by.display_name,"\n ")})}}),(0,n.tZ)("span",{children:T({id:"tools.heading.on",defaultMessage:" on "})}),(0,n.tZ)("span",{children:null==M?void 0:M.reviewed_date})]}):null]}),(0,n.tZ)(y,{children:(0,n.tZ)("img",{loading:"lazy",src:b||m.At,style:{width:"100%",objectFit:"contain"},alt:v})})]}):(0,n.tZ)(HeroBanner,{isEmbed:B,className:"desktop-only",src:b,backgroundSrc:g||u||"",title:v,description:f,reviewedSection:(null==M?void 0:null===(a=M.reviewed_by)||void 0===a?void 0:a.display_name)&&(null==M?void 0:null===(p=M.reviewed_by)||void 0===p?void 0:p.display_name)!==""&&(0,n.BX)(l.T,{size:"p4",color:r.r.colors.white,style:{marginTop:12},children:[(0,n.tZ)("img",{loading:"lazy",src:"".concat(m.Nr,"/check-circle.svg"),style:{height:16,width:16,marginRight:6,verticalAlign:"middle"},alt:""}),(0,n.tZ)("span",{dangerouslySetInnerHTML:{__html:T({id:"toolPage.toolReviewer"},{expert_name:'\n ').concat(M.reviewed_by.display_name,"\n "),date:null==M?void 0:M.reviewed_date})}}),(0,n.tZ)("span",{})]}),isMobile:!0})})}},FAeV:function(e,t,a){a.d(t,{d:function(){return HealthToolsCard}});var n=a("BGKE"),i=a("Kjzy"),o=a("VgLc"),l=a("iBNF"),r=a("YFqc"),c=a.n(r),d=a("dDsW"),s=a("ECoa"),h=a("mWp1"),m=a("iv2E"),p=a("P5LW"),g=a("rIrU"),u=a("rBCA"),v=a("nm4t");let f=(0,u.Z)("div",{target:"e6phb3w0"})("border:1px solid #e4e8ec;margin-top:24px;background-color:",l.r.colors.white,";border-radius:4px;",v.M.mbUp,"{padding:24px;}",v.M.mbDown,"{padding:16px;margin:24px 16px;}"),b=(0,u.Z)("div",{target:"e6phb3w1"})("padding:16px 0;.bullet-nav{z-index:1;bottom:-24px;}.grid-layout{align-content:space-between;}.healthTools{.container\n > .section:first-of-type\n > .grid-layout\n > .item-grid\n > a\n > div\n > div:last-child{overflow:hidden;max-height:3.9em;}}"),C=(0,u.Z)("div",{target:"e6phb3w2"})("display:flex;align-items:flex-start;padding:0 16px;& >:last-child > h5{display:flex;align-items:center;& >{margin-left:8px;}}",v.M.mbDown,"{padding:0 8px;}",v.M.mbUp,"{& >:last-child{margin-top:4px;}}.chevron-right-icon{width:16px;height:16px;}"),x=(0,u.Z)("a",{target:"e6phb3w3"})("display:flex;flex:1;justify-content:center;padding:12px 24px;border:1px solid ",l.r.colors.primaryActive,";border-radius:4px;cursor:pointer;text-decoration:none;h5{color:",l.r.colors.primaryActive,";font-size:16px;font-weight:600;line-height:24px;}"),HealthToolsCard=e=>{let{isMobile:t,healthTools:a=[],healthToolsLoading:r}=e,{formatMessage:u}=(0,d.Z)(),{locale:v}=(0,p.h)(),CategoriesSkeleton=()=>(0,n.BX)(i.S,{row:2,column:3,mode:"snapped",type:"separated",children:[(0,n.tZ)(s.Z,{height:125,width:100}),(0,n.tZ)(s.Z,{height:125,width:100}),(0,n.tZ)(s.Z,{height:125,width:100}),(0,n.tZ)(s.Z,{height:125,width:100}),(0,n.tZ)(s.Z,{height:125,width:100}),(0,n.tZ)(s.Z,{height:125,width:100})]});return r?(0,n.tZ)(CategoriesSkeleton,{}):(0,n.BX)(f,{style:{marginTop:24,padding:24,border:"1px solid #E4E8EC",borderRadius:4},children:[(0,n.tZ)(o.H,{tag:"h5",color:l.r.colors.gray800,style:{textAlign:"center"},children:u({id:"home.healthTools",defaultMessage:"Other Health Tools"})}),(0,n.tZ)(b,{style:t?{padding:"16px 0"}:{padding:"20px 0",paddingBottom:0},children:r?(0,n.tZ)(CategoriesSkeleton,{}):a.length>0&&(0,n.tZ)(i.S,{isDotsShown:!1,row:3,column:3,mode:"snapped",type:"separated",children:a.map((e,t)=>(0,n.tZ)(h.b,{cardInfo:{image:e.icon||"".concat(g.Nr,"/avatar.jpg"),title:e.title,url:e.link}},t))})}),(0,n.tZ)(C,{children:(0,n.tZ)(c(),{prefetch:!1,href:"/health-tools",legacyBehavior:!0,children:(0,n.tZ)(x,{"data-event-category":"Other Health Tools","data-event-action":"Click See All","data-event-label":"https://".concat(m.domainLocales[v]).concat(g.sb,"/health-tools"),children:(0,n.tZ)(o.H,{tag:"h5",color:l.r.colors.primaryBase,children:u({id:"home.seeAll",defaultMessage:"See All"})})})})})]})}},Qpuk:function(e,t,a){a.d(t,{f:function(){return HospitalServiceSection}});var n=a("BGKE"),i=a("rvDO"),o=a("Zdfy"),l=a("CLWb"),r=a("HHCU"),c=a("N3Xi"),d=a("P5LW"),s=a("jY7X");let HospitalServiceSection=e=>{let{services:t,serviceType:a,sectionName:h,classes:m,showAllLink:p,asTitle:g,carouselProps:u,CustomCard:v}=e,{locale:f}=(0,d.h)();if(!(null==t?void 0:t.length))return null;let getServiceUrl=(e,t)=>{let n=(0,s.WD)(a||i.s[t],f);return"".concat(n).concat(e.slug,"-").concat(e.listing_id)};return(0,n.tZ)(r.N,{sectionName:h,asTitle:g,classes:m,showAllLink:p,carouselProps:u,children:null==t?void 0:t.map(e=>(0,n.tZ)(o.l.Slide,{children:(0,n.tZ)(l.F,{href:getServiceUrl(e,null==e?void 0:e.produtc_type),children:v?(0,n.tZ)(v,{...e}):(0,n.tZ)(c.s,{...e})})},e.listing_id))})}},zh4t:function(e,t,a){a.d(t,{y:function(){return InfoCardWithSmallIconSection}});var n=a("BGKE"),i=a("lhAG"),o=a("Eso5"),l=a("C/sX"),r=a("ToHr"),c=a("/npG"),d=a("mYVa"),s=(0,c.k)(e=>({root:{},inner:{display:"flex",flexDirection:"column",gap:48},listing:{display:"flex",flexDirection:"column",gap:32,[e.fn.largerThan("sm")]:{gap:48}},group:{display:"flex",flexDirection:"column",gap:24},header:{display:"flex",flexDirection:"column",gap:24},desc:{fontSize:16,lineHeight:(0,d.h)(24),[e.fn.largerThan("sm")]:{fontSize:18,lineHeight:(0,d.h)(28)}},heading:{fontSize:28,lineHeight:(0,d.h)(34),fontWeight:500,[e.fn.largerThan("sm")]:{fontSize:48,lineHeight:(0,d.h)(58)}},item:{height:"100%"}})),h=a("hXNO");let InfoCardWithSmallIconSection=e=>{let{title:t,description:a,data:c,innerClass:d,className:m,classNames:p,styles:g}=e,{classes:u,cx:v}=s(void 0,{name:"InfoCardWithSmallIconSection",styles:g,classNames:p}),f=(0,h.d)();return(0,n.tZ)(o.x,{className:v(m,u.root),children:(0,n.BX)("div",{className:v(d,u.inner),children:[(t||a)&&(0,n.BX)("div",{className:u.header,children:[t&&(0,n.tZ)("h2",{className:u.heading,children:t}),a&&(0,n.tZ)("div",{className:u.desc,children:a})]}),(0,n.tZ)("div",{className:u.listing,children:c.map((e,t)=>(0,n.BX)("div",{className:u.group,children:[(0,n.tZ)(i.T,{size:f?"s2":"s1",children:e.title}),(0,n.tZ)(l.r,{gutterSm:"sm",gutterMd:"xl",children:e.listHealthTools.map((e,t)=>(0,n.tZ)(l.r.Col,{md:6,lg:4,children:(0,n.tZ)(r.l,{heading:e.title,description:e.description,thumbnail:e.icon,url:e.url,className:u.item})},t))})]},t))})]})})}},IA2M:function(e,t,a){a.d(t,{T:function(){return InfoGardientSection}});var n=a("BGKE"),i=a("q1tI"),o=a("Eso5"),l=a("O/o9"),r=a("Q7Fe"),c=a("/npG"),d=a("mYVa"),s=(0,c.k)(e=>({root:{backgroundColor:"#1A1A1A",padding:"64px 0",[e.fn.largerThan("sm")]:{padding:"100px 0"}},inner:{display:"flex",flexDirection:"column",gap:36,[e.fn.largerThan("sm")]:{gap:80}},thumbnail:{height:200},descWrapper:{position:"relative"},desc:{color:"#595959",fontSize:22,lineHeight:(0,d.h)(33),[e.fn.largerThan("sm")]:{fontSize:32,lineHeight:(0,d.h)(42)}},descOverlay:{position:"absolute",top:0,left:0,right:0,backgroundClip:"text",backgroundImage:"linear-gradient(175.61deg, #2D87F3 1.1%, #26E187 61.79%, #CAEDFE 105.65%)","-webkit-text-fill-color":"transparent",transition:"all 2.5s ease",clipPath:"circle(1% at 0 0)","&.fill-bg":{clipPath:"circle(150% at 0 0)",backgroundImage:"linear-gradient(175.61deg, #2D87F3 1.1%, #26E187 61.79%, #CAEDFE 105.65%)"},[e.fn.largerThan("sm")]:{backgroundImage:"linear-gradient(85.58deg, #2D87F3 6.64%, #26E187 38.45%, #CAEDFE 87.17%)","&.fill-bg":{backgroundImage:"linear-gradient(85.58deg, #2D87F3 6.64%, #26E187 38.45%, #CAEDFE 87.17%)"}}},listing:{display:"flex",flexDirection:"column",gap:48},group:{display:"flex",flexDirection:"column",gap:16},header:{display:"flex",justifyContent:"space-between",alignItems:"center",gap:24,[e.fn.smallerThan("sm")]:{flexDirection:"column"}},heading:{fontSize:20,lineHeight:(0,d.h)(30),textAlign:"right",position:"relative",paddingBottom:12,color:"#fff",backgroundImage:"linear-gradient(90deg, #D9D9D9 0%, #737373 100%)",backgroundClip:"text","-webkit-text-fill-color":"transparent","&:after":{content:'""',position:"absolute",top:"100%",left:0,right:0,height:1,backgroundImage:"linear-gradient(93.31deg, #2D87F3 0.41%, #26E187 30.84%, #CAEDFE 77.43%)"},[e.fn.smallerThan("sm")]:{textAlign:"center",fontSize:18,lineHeight:(0,d.h)(28)}}}));let InfoGardientSection=e=>{let{heading:t,description:a,image:c,innerClass:d,className:h,classNames:m,styles:p}=e,{ref:g,inView:u}=(0,l.YD)(),{classes:v,cx:f}=s(void 0,{name:"InfoGardientSection",styles:p,classNames:m}),[b,C]=(0,i.useState)(!1);return(0,i.useEffect)(()=>{!b&&u&&C(!0)},[u]),(0,n.tZ)(o.x,{className:f(h,v.root),ref:g,children:(0,n.BX)("div",{className:f(d,v.inner),children:[(0,n.BX)("div",{className:v.header,children:[(0,n.tZ)("img",{loading:"lazy",src:c,className:v.thumbnail,alt:"Hello Bacsi"}),(0,n.BX)("div",{className:v.heading,children:[(0,n.tZ)("div",{children:"Hello Bacsi"}),(0,n.tZ)("div",{children:t})]})]}),a&&(0,n.BX)("div",{className:v.descWrapper,children:[(0,n.tZ)(r.GK,{className:f(v.desc),content:a}),(0,n.tZ)(r.GK,{className:f(b?"fill-bg":"",v.desc,v.descOverlay),content:a})]})]})})}},uEWy:function(e,t,a){a.d(t,{j:function(){return ArticleNavDetector}});var n=a("BGKE"),i=a("q1tI"),o=a("0UCW"),l=a("09QT"),r=a("oQBk"),c=a("P5LW");let ArticleNavDetector=e=>{let{categoryIds:t,children:a}=e,{locale:d}=(0,c.h)(),[s,h]=(0,i.useState)(null);return(0,i.useEffect)(()=>{(async()=>{let e=await (0,l.callApiNew)(r.PATHS.LEADGEN.GET_FORMULA_CTA,{method:"GET",params:{countryCode:o.M[d]}},"lead"),a=t.split(","),n=((null==e?void 0:e._data)||[]).filter(e=>a.includes(String(e.category_id)))[0]||{};h({title:n.cta_message||"",url:n.url_flow||"",type:(n.messaging_app||"").toLowerCase(),categoryId:n.category_id||"",categoryName:n.category_name})})()},[t]),(0,n.tZ)(n.HY,{children:a({ctaNavData:s})})}},dDkV:function(e,t,a){a.d(t,{o:function(){return CtaBottomNavigation}});var n=a("BGKE"),i=a("q1tI"),o=a("27Mu"),l=a("K3ty"),r=a("usMy"),c=a("krdG"),d=a("8vDj"),s=a("eito"),h=a("p46w"),m=a.n(h),p=a("09QT"),g=a("oQBk"),u=a("bpKC"),v=a("AdRs"),f=a("eeY3"),b=a("dz0l"),C=a("iv2E"),x=a("raAP"),Z=a("P5LW"),y=a("rIrU"),w=a("L1RX"),k=a("IZuS");let CtaBottomNavigation=e=>{let{title:t,url:a,type:h,categoryId:B,categoryName:T,articleInfo:H={id:"",name:""}}=e,{locale:M}=(0,Z.h)(),N=(0,x.U)(),L=(0,d.rZ)(),[I,S]=(0,i.useState)(!1),[E,A]=(0,i.useState)(!1),trackingHandler=async()=>await (0,p.callApiNew)(g.PATHS.LEADGEN.POST_TRACKING_OTHERS,{method:"POST",data:{site_domain:C.domainLocales[M],url:a,cookie_id:(0,o.ej)("hhg-id"),ga_client_id:m().get(y.ch),category_name:T,category_id:B,messaging_app:h,cta_message:t,article_path:N,article_name:H.name,article_id:H.id}},"lead"),z=(0,i.useCallback)(async e=>{e.preventDefault(),S(!0),trackingHandler(),window.location.href=a},[]),_=(0,i.useCallback)(async e=>{e.preventDefault(),A(!0),trackingHandler()},[]),D=(0,i.useCallback)(async e=>{let{callingCode:a,phone:n,countryCode:i}=e||{};await (0,p.callApiNew)(g.PATHS.LEADGEN.GET_CTA_SUBMIT,{method:"POST",data:{area_code:a,phone_number:n,widget_type:"standalone_cta_button",subscription_headline:"",cta_text:t,source_url:N,source_type:"Article",article_id:H.id,article_name:H.name,category_name:T,category_id:B,messaging_app:"Zalo",country_code:i}},"lead")},[]);return t&&a&&Object.values(w.q).includes(h)?(0,n.tZ)(r.T,{variant:r.C.LEADGEN,children:(0,n.BX)(n.HY,{children:[(0,n.tZ)(k.Z,{displayAlways:!0,height:64,style:{borderTop:"1px solid ".concat(L.colors.gray[1])},children:(0,n.tZ)(s.e,{sx:{width:"100%",display:"block",padding:"0 16px"},href:a,onClick:h===w.q.Zalo?_:z,children:(0,n.tZ)(c.B,{size:"lg",fullWidth:!0,loading:I,leftIcon:h===w.q.Zalo?(0,n.tZ)(b.Z,{size:28,color:"#fff"}):h===w.q.Line?(0,n.tZ)(u.Z,{size:28}):h===w.q.Messenger?(0,n.tZ)(v.Z,{size:28}):h===w.q.WhatsApp?(0,n.tZ)(f.Z,{size:28}):null,color:h===w.q.Zalo?"#2D87F3":h===w.q.Line?"#06C755":h===w.q.Messenger?"#0866FF":h===w.q.WhatsApp?"#2CB742":void 0,children:t})})}),h===w.q.Zalo&&(0,n.tZ)(l.P,{isOpen:E,isMobile:!0,onSubmit:D,onOpenChange:e=>A(e)})]})}):null}},IZuS:function(e,t,a){var n=a("BGKE"),i=a("q1tI"),o=a("DzJC"),l=a.n(o),r=a("Dd9K"),c=a("aNTj"),d=a("Ixbl");t.Z=e=>{let{children:t,displayAlways:a,height:o=44,onScroll:s,style:h}=e,m=(0,i.useRef)(null),p=(0,i.useRef)(0),g=(0,i.useRef)(!1),[u,v]=(0,i.useState)(!1);(0,r.B)();let f=(0,i.useCallback)(l()(()=>{g.current||(g.current=!0,requestAnimationFrame(()=>{c.E.measure(()=>{if(null==s||s(),!m.current){g.current=!1;return}let e=window.scrollY,t=m.current.getBoundingClientRect(),a=u;e>p.current+30&&e>t.height+20&&!u&&(a=!0),e