"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7859],{ENYw:function(e,t,i){i.d(t,{n:function(){return MainInfo}});var a=i("BGKE"),r=i("nGnw"),l=i("wp0n"),n=i("SPK5"),o=i("0D4Z"),d=i("OAL+"),s=i("Eso5"),c=i("dDsW"),h=i("hXNO"),g=i("P5LW"),m=i("8vdq"),p=i("/npG"),u=(0,p.k)(e=>({root:{display:"flex",alignItems:"flex-end",gap:2},item:{width:16,height:16,borderRadius:2,"&:first-child":{backgroundColor:e.colors.green[3]},"&:nth-child(2)":{backgroundColor:e.colors.green[2]},"&:nth-child(3)":{backgroundColor:e.colors.teal[2]},"&:nth-child(4)":{backgroundColor:e.colors.teal[4]},"&:nth-child(5)":{backgroundColor:e.colors.blue[7]},"&:nth-child(6)":{backgroundColor:e.colors.blue[8]},"&.selected":{height:32}}})),Z=i("q1tI");let ColumnChart=e=>{let{gender:t,bmr:i,className:r,classNames:l,styles:n,...o}=e,{classes:d,cx:c}=u(void 0,{name:"ColumnChart"}),h="male"===t?1600:1200,g="male"===t?1800:1400,m=(0,Z.useMemo)(()=>i<=h?0:i>=g?5:Math.round(6*(i-h)/(g-h)),[i]);return(0,a.tZ)(s.x,{className:c(r,d.root),...o,children:Array(6).fill("").map((e,t)=>(0,a.tZ)(s.x,{className:c(t===m?"selected":"",d.item)},t))})};var v=i("mYVa"),f=(0,p.k)(e=>({root:{backgroundColor:"#fff",[e.fn.largerThan("sm")]:{border:"1px solid ".concat(e.colors.gray[1]),borderRadius:12}},heading:{[e.fn.largerThan("sm")]:{textAlign:"center"}},body:{[e.fn.smallerThan("sm")]:{flexDirection:"column"},[e.fn.largerThan("sm")]:{padding:24,display:"flex"}},group:{display:"flex",flexDirection:"column",position:"relative",gap:8,[e.fn.smallerThan("sm")]:{borderTop:"1px solid ".concat(e.colors.neutral[1]),paddingTop:16,paddingBottom:16,"&:first-child":{paddingTop:0,borderTop:0}},[e.fn.largerThan("sm")]:{gap:16,width:"50%",borderLeft:"1px solid ".concat(e.colors.neutral[0]),paddingLeft:24,paddingRight:24,"&:first-child":{paddingLeft:0,borderLeft:0}}},header:{display:"flex",alignItems:"center",gap:8},headerIcon:{width:24},subHead:{fontSize:(0,v.h)(12),lineHeight:(0,v.h)(18),color:"#595959"},headingGroup:{display:"flex",alignItems:"flex-end",gap:8},scoreInfo:{display:"flex",flexDirection:"column",gap:8},scoreRow:{display:"flex",justifyContent:"space-between"},score:{},desc:{[e.fn.largerThan("sm")]:{textAlign:"center"}},unit:{verticalAlign:"super",marginLeft:6},infoWrapper:{backgroundColor:e.colors.neutral[0],padding:12,borderRadius:8}}));let MainInfo=e=>{let{loading:t,gender:i,bmrNumber:p,bmrResult:u,bmrContent:Z,activityLevel:v}=e,{classes:T}=f(void 0,{name:"Bmr__MainInfo"}),{locale:x}=(0,g.h)(),{formatMessage:b}=(0,c.Z)(),y=(0,h.d)();return(0,a.BX)(n.k,{direction:"column",gap:{base:24,md:12},children:[y?(0,a.tZ)(d.K,{spacing:8,className:T.infoWrapper,children:t?(0,a.BX)(d.K,{spacing:12,children:[(0,a.tZ)(o.O,{height:22,width:"100%"}),(0,a.BX)(d.K,{spacing:8,children:[(0,a.tZ)(o.O,{height:18,width:"100%"}),(0,a.tZ)(o.O,{height:18,width:"100%"}),(0,a.tZ)(o.O,{height:18,width:"60%"})]})]}):(0,a.BX)(a.HY,{children:[(0,a.tZ)(l.T,{size:"h6",className:T.heading,children:b({id:"bmrTool.yourBmrResult",defaultMessage:"Your BMR Result"})}),(0,a.tZ)(l.T,{size:"p3",className:T.desc,children:b({id:"bmrPage.introDesc"})})]})}):t?(0,a.BX)(a.HY,{children:[(0,a.tZ)(o.O,{width:246,height:36,radius:24,sx:{margin:"0 auto"}}),(0,a.BX)(d.K,{spacing:8,children:[(0,a.tZ)(o.O,{width:"80%",height:18,sx:{margin:"0 auto"}}),(0,a.tZ)(o.O,{width:"60%",height:18,sx:{margin:"0 auto"}})]})]}):(0,a.BX)(a.HY,{children:[(0,a.tZ)(l.T,{size:"h2",className:T.heading,children:b({id:"bmrTool.yourBmrResult",defaultMessage:"Your BMR Result"})}),(0,a.tZ)(l.T,{size:"p3",className:T.desc,children:b({id:"bmrPage.introDesc"})})]}),(0,a.tZ)(s.x,{className:T.root,children:(0,a.BX)(s.x,{className:T.body,children:[(0,a.BX)(s.x,{className:T.group,children:[(0,a.tZ)(s.x,{className:T.header,children:t?(0,a.BX)(a.HY,{children:[(0,a.tZ)(o.O,{height:18,className:T.headerIcon}),(0,a.tZ)(o.O,{height:18,width:"100%"})]}):(0,a.BX)(a.HY,{children:[(0,a.tZ)("img",{loading:"eager",src:Z.featured_image,alt:Z.title,className:T.headerIcon}),(0,a.BX)(s.x,{className:T.headingGroup,children:[(0,a.tZ)(l.T,{size:"h6",children:b({id:"bmrPage.yourBmrIndex"})}),(0,a.tZ)("span",{className:T.subHead,children:b({id:"bmrPage.atRest"})})]})]})}),(0,a.tZ)(s.x,{className:T.scoreInfo,children:(0,a.tZ)(s.x,{className:T.scoreRow,children:t?(0,a.BX)(d.K,{spacing:8,w:"100%",children:[(0,a.tZ)(o.O,{height:18,width:"100%"}),(0,a.tZ)(o.O,{height:18,width:"70%"})]}):(0,a.BX)(a.HY,{children:[(0,a.BX)(l.T,{size:"h2",className:T.score,children:[p,(0,a.tZ)(l.T,{size:"s4",as:"sup",className:T.unit,children:b({id:"common.kcalPerDayUnit"})})]}),(0,a.tZ)(ColumnChart,{bmr:p,gender:i})]})})})]}),(0,a.BX)(s.x,{className:T.group,children:[(0,a.tZ)(s.x,{className:T.header,children:t?(0,a.BX)(a.HY,{children:[(0,a.tZ)(o.O,{height:18,className:T.headerIcon}),(0,a.tZ)(o.O,{height:18,width:"100%"})]}):(0,a.BX)(a.HY,{children:[(0,a.tZ)("img",{src:r.C.getAssetPath("health-tools/tdee.svg"),className:T.headerIcon,alt:b({id:"bmrPage.tdeeIndex"}),loading:"lazy"}),(0,a.tZ)(l.T,{size:"h6",children:b({id:"bmrPage.tdeeIndex"})})]})}),(0,a.BX)(s.x,{className:T.scoreInfo,children:[(0,a.tZ)(s.x,{className:T.scoreRow,children:t?(0,a.BX)(d.K,{spacing:8,w:"100%",children:[(0,a.tZ)(o.O,{height:18,width:"100%"}),(0,a.tZ)(o.O,{height:18,width:"70%"})]}):(0,a.tZ)(a.HY,{children:(0,a.BX)(l.T,{size:"h2",className:T.score,children:[Number(u.tdeeValue).toLocaleString(x),(0,a.tZ)(l.T,{size:"s4",as:"sup",className:T.unit,children:b({id:"common.kcalPerDayUnit"})})]})})}),!t&&(0,a.tZ)(l.T,{size:"s3",children:(0,m.E5)(v,b)})]})]})]})})]})}},ija2:function(e,t,i){i.d(t,{P:function(){return RiskAndConditionTools}});var a=i("BGKE"),r=i("wp0n"),l=i("8vDj"),n=i("Eso5"),o=i("OAL+"),d=i("SPK5"),s=i("dDsW"),c=i("GnTU"),h=i("0L5m"),g=i("K27U"),m=i("1+YQ"),p=i("hXNO");let RiskAndConditionTools=e=>{var t,i,u,Z,v,f,T;let{bmrData:x,toolContent:b,loading:y}=e,{formatMessage:B}=(0,s.Z)(),C=(0,l.rZ)(),k=(0,p.d)(),w=null==b?void 0:null===(t=b.additionalInfo)||void 0===t?void 0:t.image;if(!x)return null;let N=[{icon:(0,a.tZ)(h.Z,{isOutline:!0,size:k?16:20}),heading:B({id:"tools.risks"}),content:null==x?void 0:null===(Z=x.bmiResult)||void 0===Z?void 0:null===(u=Z.assessmentData)||void 0===u?void 0:null===(i=u[1])||void 0===i?void 0:i.content}];return(0,a.BX)(n.x,{sx:{[C.fn.largerThan("sm")]:{".risk-and-condition":{flexDirection:"row",marginTop:40},".risk-item":{backgroundColor:"#fff",borderRadius:8}}},children:[w&&(0,a.tZ)(m.M,{loading:y,ctaUrl:null==b?void 0:null===(v=b.additionalInfo)||void 0===v?void 0:v.ctaUrl,image:null==b?void 0:null===(f=b.additionalInfo)||void 0===f?void 0:f.image,imageMobile:null==b?void 0:null===(T=b.additionalInfo)||void 0===T?void 0:T.imageMobile}),(0,a.tZ)(o.K,{spacing:16,className:"risk-and-condition",children:k?(0,a.tZ)(g.e,{faqs:N.map(e=>({title:(0,a.BX)(d.k,{gap:8,align:"center",children:[e.icon,(0,a.tZ)(r.T,{size:"title2",children:e.heading})]}),description:e.content}))}):N.map((e,t)=>(0,a.tZ)(c.T,{...e,className:"risk-item"},String(t)))})]})}},ckcH:function(e,t,i){i.d(t,{V:function(){return SuggestToolsAndArticleScreen}});var a=i("BGKE"),r=i("OAL+"),l=i("AlNH"),n=i("q1tI"),o=i("uuQu"),d=i("wp0n"),s=i("8vDj"),c=i("Eso5"),h=i("ns0B"),g=i.n(h),m=i("CJtR"),p=i("MP3q"),u=i("UJaG"),Z=i("M1QZ"),v=i("NeDJ"),f=i("hXNO"),T=i("P5LW"),x=i("rIrU"),b=i("KBam"),y=i("wCSE");let ArticleListing=e=>{let{listing:t,title:i,description:l}=e,{locale:h}=(0,T.h)(),B=(0,n.useMemo)(()=>(0,m.UC)(h),[h]),C=(0,s.rZ)(),k=(0,f.d)();return 0===t.length?null:(0,a.BX)(a.HY,{children:[(0,a.BX)(r.K,{spacing:24,children:[(0,a.BX)(r.K,{spacing:8,children:[(0,a.tZ)(d.T,{size:"s1",weight:"semiBold",color:C.colors.gray[8],children:i}),(0,a.tZ)(d.T,{size:"p4",color:C.colors.gray[6],children:l})]}),(0,a.tZ)(c.x,{sx:{[C.fn.smallerThan("sm")]:{marginLeft:-16,marginRight:-16}},children:(0,a.tZ)(Z.Z,{alwayShowProgressMobile:!0,slideSize:"100%",slideGap:16,slidesToScroll:1,withControls:!1,breakpoints:[{maxWidth:o.B.BREAK_POINT_TABLET,slideSize:1===t.length?"100%":"80%",slideGap:24}],styles:e=>({viewport:{[e.fn.smallerThan("sm")]:{paddingLeft:16,paddingRight:16}}}),children:(0,a.BX)(r.K,{spacing:24,children:[(0,a.tZ)(c.x,{sx:{[C.fn.largerThan("sm")]:{backgroundColor:"#fff",borderRadius:16,padding:16}},children:(0,a.tZ)(Z.Z.Body,{children:(0,a.tZ)(v.C,{itemsPerGroup:3,breakpoints:{base:{itemsPerGroup:1},md:{itemsPerGroup:3}},GroupWrapper:e=>(0,a.tZ)(Z.Z.Slide,{children:e}),items:t.map((e,t)=>{let i=(0,b.kO)({article:e,locale:h,version:"short"});return(0,a.tZ)(c.x,{sx:{[C.fn.largerThan("sm")]:{...t%3!=0&&{paddingTop:16,marginTop:8,borderTop:"1px solid ".concat(C.colors.neutral[1])},".cardArticleContent":{gap:8}}},children:(0,a.tZ)(p.p,{disableBookmark:!0,moveAuthorIntoContent:!k,type:k?"vertical":"horizontalFooter",item:{ID:parseInt("".concat(e.id)),image:e.featureImage,image1x1:e.featureImageWithRatio1x1,permalink:e.permalink,title:g()(e.postTitle||e.postName||""),category:e.category,author:{name:(0,a.tZ)(u.x,{...i,formatOptionsProps:{expert_display_name:{"data-event-category":"Tool Category","data-event-action":"See Doctor","data-event-label":"".concat(B).concat(x.sb).concat(i.avatar_permalink)}}}),avatar:i.avatar,avatarAlt:i.avatar_alt,permalink:i.avatar_permalink,indicator:i.indicator}},itemTracking:{image:{"data-event-category":"Recommend Category","data-event-action":"Category Article Title","data-event-label":"".concat(B).concat(x.sb).concat(e.permalinkDecode)},title:{"data-event-category":"Recommend Category","data-event-action":"Category Article Title","data-event-label":"".concat(B).concat(x.sb).concat(e.permalinkDecode)},category:{"data-event-category":"Recommend Category","data-event-action":"Category Title","data-event-label":"".concat(B).concat(x.sb).concat(e.category.permalinkDecode)},authorAvatar:{"data-event-category":"Recommend Category","data-event-action":"See Doctor","data-event-label":"".concat(B).concat(x.sb).concat(i.avatar_permalink)}}})},"".concat(t))})})})}),(0,a.tZ)(c.x,{sx:{[C.fn.smallerThan("sm")]:{paddingLeft:16,paddingRight:16}},children:(0,a.BX)(Z.Z.Footer,{children:[(0,a.tZ)(Z.Z.Progress,{}),(0,a.BX)(Z.Z.Controls,{children:[(0,a.tZ)(Z.Z.Control,{direction:"prev","data-event-category":"Recommend Category","data-event-action":" See More Article","data-event-label":"".concat(B).concat(x.sb),color:"gray"}),(0,a.tZ)(Z.Z.Control,{direction:"next","data-event-category":"Recommend Category","data-event-action":"See More Article","data-event-label":"".concat(B).concat(x.sb),color:"gray"})]})]})})]})})})]}),(0,a.tZ)(y.P,{})]})};var B=i("C/sX"),C=i("iBNF"),k=i("iuhU"),w=i("SPK5"),N=i("mYVa"),R=i("QM8a"),I=i("oGOP");let ToolCard=e=>{let{item:t,showIconPhone:i,...r}=e,{link:l,icon:n,title:o}=t,h=!!(null==t?void 0:t.isMobileAppTool),g=(0,s.rZ)();return(0,a.BX)(c.x,{component:"a",href:l,target:"_blank",className:(0,k.default)("relatedTool--card flex items-center gap-4 p-3 pr-4","relative bg-white rounded-lg","md:flex-col md:items-start md:min-h-[128px] md:h-full","[&+&]:max-md:mt-2"),...r,sx:{transition:"transform 0.2s",[g.fn.largerThan("sm")]:{"&:hover":{transform:"translateY(-5px)"}}},children:[(0,a.tZ)(c.x,{className:(0,k.default)("relatedTool--icon relative w-10 h-10 bg-neutral50 rounded-[50%] overflow-hidden p-1","max-md:flex max-md:items-center"),children:(0,a.tZ)("img",{loading:"lazy",src:n,alt:o,className:(0,k.default)("relatedTool--icon_img z-[2] relative")})}),(0,a.BX)("div",{className:(0,k.default)("relatedTool--card_content","md:min-h-0 md:flex-1 md:flex md:items-center md:flex-wrap"),children:[(0,a.tZ)(d.T,{as:"span",size:"p2",color:C.r.colors.gray800,className:"m-0 w-full block",children:o}),h&&(0,a.BX)(w.k,{gap:(0,N.h)(6),align:"center",py:(0,N.h)(5),children:[(0,a.tZ)(R.Z,{className:"text-base leading-none w-[1em] h-[1em]"}),(0,a.tZ)(d.T,{as:"span",size:"n1",color:C.r.colors.blue800,children:"Hello Bacsi app"})]})]}),h&&i&&(0,a.tZ)(w.k,{w:(0,N.h)(32),h:(0,N.h)(32),align:"center",justify:"center",className:"absolute top-0 right-0 p-[6px] text-xl leading-none",children:(0,a.tZ)(I.Z,{className:"w-[1em] h-[1em]"})})]})},MoreTool=e=>{let{listing:t,title:i,description:l,color:n}=e,o=(0,s.rZ)();return 0===t.length?null:(0,a.BX)(r.K,{spacing:12,sx:{[o.fn.smallerThan("sm")]:{backgroundColor:o.colors.neutral[0],marginLeft:-16,marginRight:-16,padding:16}},children:[(0,a.BX)(r.K,{spacing:8,children:[(0,a.tZ)(d.T,{size:"s1",weight:"semiBold",color:o.colors.gray[8],children:i}),(0,a.tZ)(d.T,{size:"p4",color:o.colors.gray[6],children:l})]}),(0,a.tZ)(Z.Z,{slideSize:"100%",slideGap:8,slidesToScroll:1,withControls:!0,arrowColor:n,children:(0,a.tZ)(r.K,{spacing:24,children:(0,a.tZ)(Z.Z.Body,{children:(0,a.tZ)(v.C,{breakpoints:{base:{itemsPerGroup:t.length,GroupWrapper:e=>(0,a.tZ)(Z.Z.Slide,{children:(0,a.tZ)(B.r,{gutter:8,children:e})}),ItemWrapper:e=>(0,a.tZ)(B.r.Col,{span:12,children:e})},md:{itemsPerGroup:3,GroupWrapper:e=>(0,a.tZ)(Z.Z.Slide,{sx:{paddingTop:5},children:(0,a.tZ)(B.r,{gutter:8,children:e})}),ItemWrapper:e=>(0,a.tZ)(B.r.Col,{span:4,children:e})}},items:t.map((e,t)=>(0,a.tZ)(ToolCard,{item:e},String(t)))})})})})]})};var S=i("+4HH"),X=i("EoPH");let VideoItemListing=e=>{let{videos:t,onlyTypeVideo:i}=e,l=(0,s.rZ)();return(0,a.tZ)(c.x,{sx:{[l.fn.smallerThan("sm")]:{marginLeft:-16,marginRight:-16}},children:(0,a.tZ)(Z.Z,{containScroll:"trimSnaps",slideSize:"auto",slideGap:12,align:"start",withControls:!0,breakpoints:[{maxWidth:o.B.BREAK_POINT_TABLET,slideSize:1===t.length?"100%":"auto",slideGap:24}],styles:()=>({viewport:{paddingLeft:16,paddingRight:16}}),children:(0,a.tZ)(r.K,{spacing:24,sx:()=>({marginLeft:-16,marginRight:-16}),children:(0,a.tZ)(Z.Z.Body,{children:(t||[]).map((e,t)=>(0,a.tZ)(Z.Z.Slide,{children:(0,a.tZ)(S.V,{data:e,dataEventCategory:"Recommend Video",dataEventAction:"Video Click ".concat(t+1),styles:{root:{borderRadius:8,width:e.type===X.V.SHORTS?103:330,[l.fn.largerThan("sm")]:{width:i?420:e.type===X.V.SHORTS?160:515}},title:{[l.fn.largerThan("sm")]:{fontSize:(0,N.h)(14),lineHeight:(0,N.h)(22)}}}})},String(t)))})})})})};var A=i("09QT"),O=i("oQBk"),L=i("KX2h");let VideoLibrary=e=>{let{videoList:t}=e,[i,r]=(0,n.useState)([]),[l,o]=(0,n.useState)(!1),d=(0,n.useCallback)(async()=>{try{o(!0);let e=await Promise.all(t.map(e=>(0,A.d)(O.y.TOGETHER.FETCH_PREVIEW,{method:"POST",data:{link:e.urlVideo}},"together")));o(!1);let i=e.map((e,i)=>{let a={id:i,videoId:String(i),url:t[i].urlVideo,title:t[i].videoTitle||e.title,description:"",type:X.V.VIDEO,totalView:0,createTime:"",duration:0,image:t[i].image||"",imageMedium:t[i].image||"",imageThumbnail:t[i].image||"",active:!1,articleLink:""};return a}).filter(Boolean);i.length>0&&r(i)}catch(e){console.log(e),o(!1)}},[]);return(0,n.useEffect)(()=>{t.length>0&&d()},[t]),l?(0,a.tZ)(L.g,{}):i.length>0?(0,a.tZ)(a.HY,{children:(0,a.tZ)(VideoItemListing,{onlyTypeVideo:!0,videos:i})}):null},VideoListing=e=>{let{title:t,videos:i=[],videoUrl:r=[]}=e,l=(0,s.rZ)();return 0===i.length&&0===r.length?null:(0,a.BX)(c.x,{sx:{[l.fn.largerThan("sm")]:{backgroundColor:"#fff",borderRadius:16}},children:[(0,a.tZ)(c.x,{sx:{[l.fn.largerThan("sm")]:{padding:"".concat((0,N.h)(10)," ").concat((0,N.h)(16)),borderBottom:"1px solid ".concat(l.colors.neutral[1])}},children:(0,a.tZ)(d.T,{size:"s2",children:t})}),(0,a.tZ)(c.x,{sx:{padding:16},children:i.length>0?(0,a.tZ)(VideoItemListing,{videos:i}):r.length>0?(0,a.tZ)(VideoLibrary,{videoList:r}):null})]})},SuggestToolsAndArticleScreen=e=>{var t,i,n,o,d,s,c;let{bmrData:h,color:g}=e;if(!h)return null;let m=null==h?void 0:null===(t=h.bmiResult)||void 0===t?void 0:t.helpfulTips;return(0,a.BX)(r.K,{spacing:24,children:[(0,a.tZ)(MoreTool,{color:g,title:m.relatedTool.title,description:m.relatedTool.description,listing:m.relatedTool.healthtools||[]}),(0,a.tZ)(ArticleListing,{title:null==h?void 0:null===(i=h.bmiResult.suggestedArticles)||void 0===i?void 0:i.title,description:null==h?void 0:null===(n=h.bmiResult.suggestedArticles)||void 0===n?void 0:n.description,listing:(null==h?void 0:null===(o=h.bmiResult.suggestedArticles)||void 0===o?void 0:o.articles)||[]}),(0,a.tZ)(l.V,{content:(0,a.tZ)("div",{dangerouslySetInnerHTML:{__html:"C\xe1c b\xe0i viết của Hello Bacsi chỉ c\xf3 t\xednh chất tham khảo, kh\xf4ng thay thế cho việc chẩn đo\xe1n hoặc điều trị y khoa."}})}),(0,a.tZ)(VideoListing,{title:null==m?void 0:null===(d=m.suggestedVideos)||void 0===d?void 0:d.title,videos:null==m?void 0:null===(s=m.suggestedVideos)||void 0===s?void 0:s.video,videoUrl:null==m?void 0:null===(c=m.suggestedVideos)||void 0===c?void 0:c.videoUrl})]})}},a9cc:function(e,t,i){i.d(t,{Z:function(){return HealthToolsNav}});var a=i("BGKE"),r=i("wp0n"),l=i("ns0B"),n=i.n(l),o=i("OWiU"),d=i("hXNO"),s=(0,i("/npG").k)(e=>({nav:{position:"relative",borderBottom:"1px solid ".concat(e.colors.neutral[1]),gap:16,[e.fn.largerThan("sm")]:{gap:24}},navItem:{padding:"16px 0 10px",borderBottom:"2px solid transparent",whiteSpace:"nowrap",cursor:"pointer","&.selected":{borderBottomColor:e.fn.primaryColor(),color:e.fn.primaryColor()}}})),c=i("2lRU");let HealthToolsNav=e=>{let{options:t,visibleSection:i,styles:l,classNames:h,className:g,...m}=e,{classes:p,cx:u}=s(void 0,{name:"HealthToolsNav",styles:l,classNames:h}),Z=(0,d.d)();return(0,a.tZ)(c.y,{classNames:{root:u(g,p.nav)},...m,children:t.map((e,t)=>(0,a.tZ)(r.T,{size:"s3",weight:"semiBold",color:"#8C8C8C",className:u(i===e.termId.toString()?"selected":"",p.navItem),onClick:()=>(0,o.rE)({hash:e.termId.toString(),isMobile:Z}),children:n()(e.name)},t))})}}}]);