"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9689],{"5fZt":function(e,t,r){r.d(t,{b:function(){return SubHeader}});var i=r("BGKE"),a=r("Eso5"),o=(0,r("/npG").k)(()=>({root:{position:"absolute",top:"100%",left:0,right:0,zIndex:1,backgroundColor:"rgba(255, 255, 255, 0.9)",backdropFilter:"blur(8px)",boxShadow:"0px 4px 8px 0px #0000000A"}}));let SubHeader=e=>{let{children:t,styles:r,className:n,classNames:l,...d}=e,{classes:c,cx:s}=o(void 0,{name:"SubHeader",styles:r,classNames:l});return(0,i.BX)(i.HY,{children:[(0,i.tZ)(a.x,{className:s(n,c.root),...d,children:t}),(0,i.tZ)("style",{children:"\n #sitewide-container {\n position: relative;\n z-index: 2;\n }\n #navigation-v2 [data-main-header] {\n position: relative;\n z-index: 2;\n }"})]})}},qf2j:function(e,t,r){r.d(t,{G:function(){return SpotlightSubotList}});var i=r("BGKE");r("q1tI");var a=r("uwjA"),o=r("ake8"),n=r("NXds"),l=r("rBCA"),d=r("iBNF"),c=r("Efqo");let s=(0,l.Z)("div",{target:"ek082ey0"})("height:100%;border:1px solid ",d.r.colors.neutral100,";border-radius:",d.r.borderRadius,";box-shadow:0px 4px 8px rgba(0,0,0,0.04),0px 0px 2px rgba(0,0,0,0.06),0px 0px 1px rgba(0,0,0,0.04);img{width:48px;height:48px;}",c.M.mbUp,"{padding:8px 16px;display:flex;justify-content:center;align-items:center;flex:1;text-decoration:none;cursor:pointer;img{margin-right:16px;}}&[data-is-unique-subot='true']{",c.M.mbDown,"{display:flex;flex:1;justify-content:center;align-items:center;img{margin-right:16px;}}}",c.M.mbDown,"{padding:16px;p{height:44px;overflow:hidden;}}"),p=(0,l.Z)("div",{target:"ek082ey1"})(".list-subot{display:flex;justify-content:center;margin-top:32px;",c.M.mbUp,"{gap:32px;}",c.M.mbDown,"{gap:8px;}.container{.section{",c.M.mbDown,"{margin:0 16px 0 0;}.grid-layout{",c.M.mbUp,"{grid-column-gap:32px;padding:0 96px 0 0;}",c.M.mbDown,"{grid-column-gap:8px;padding:0 24px 0 0;}}}}}"),SingleSpotlightSubot=e=>{let{isMobile:t,subotInfo:r,isTheUniqueSubot:o}=e;return(0,i.BX)(s,{onClick:()=>window.location.href=null==r?void 0:r.subotUrl,"data-is-unique-subot":t&&o,"data-event-category":"Spotlight","data-event-action":"Embedded Engage Click","data-event-label":null==r?void 0:r.subotUrl,children:[(0,i.tZ)("img",{src:null==r?void 0:r.icon,alt:"Subot Icon",loading:"lazy"}),(0,i.tZ)(a.T,{size:"sm",type:"bold",children:null==r?void 0:r.title})]})},SpotlightSubotList=e=>{var t,r,a,l;let{isMobile:d,spotlightSubot:c}=e,s=d?2:4;return(0,i.BX)(p,{children:[(0,i.tZ)(o.H,{tag:"h3",children:null==c?void 0:c.title}),(0,i.BX)("div",{className:"list-subot",children:[(null==c?void 0:null===(t=c.post)||void 0===t?void 0:t.length)<=s&&(0,i.tZ)(i.HY,{children:null==c?void 0:null===(r=c.post)||void 0===r?void 0:r.map((e,t)=>{var r;return(0,i.tZ)(SingleSpotlightSubot,{isMobile:d,subotInfo:e,isTheUniqueSubot:d?void 0:(null==c?void 0:null===(r=c.post)||void 0===r?void 0:r.length)===1},t)})}),(null==c?void 0:null===(a=c.post)||void 0===a?void 0:a.length)>s&&(0,i.tZ)(n.S,{row:1,column:s,isDotsShown:!0,isArrowShown:!d,className:"scroll-list",mode:d?"snapped":void 0,children:null==c?void 0:null===(l=c.post)||void 0===l?void 0:l.map((e,t)=>(0,i.tZ)(SingleSpotlightSubot,{isMobile:d,subotInfo:e},t))},"subot-".concat(d))]})]})}},hH53:function(e,t,r){r.d(t,{_:function(){return SuccessBox}});var i=r("BGKE"),a=r("q1tI"),o=r("Y5X8"),n=r("oZWv"),l=r("XDLp"),d=r("Eso5"),c=r("dDsW"),s=(0,r("/npG").k)(()=>({heading:{textAlign:"center"},description:{textAlign:"center"},root:{display:"flex",flexDirection:"column",gap:12,alignItems:"center"},body:{display:"flex",flexDirection:"column",gap:8,alignItems:"center"},img:{height:160},button:{}}));let SuccessBox=e=>{let{heading:t,description:r,image:p,ctaText:g,styles:h,classNames:u,className:m,onClose:f,onInit:x}=e,{formatMessage:v}=(0,c.Z)(),{classes:b,cx:w}=s(void 0,{name:"SuccessBox",styles:h,classNames:u});return(0,a.useEffect)(()=>{null==x||x()},[]),(0,i.BX)(d.x,{className:w(m,b.root),children:[(0,i.BX)(d.x,{className:b.body,children:[(0,i.tZ)("img",{className:b.img,src:p||o.C.getAssetPath("complete.svg"),alt:"Thank you",loading:"lazy"}),t&&(0,i.tZ)(n.T,{size:"h4",className:b.heading,children:t}),r&&(0,i.tZ)(n.T,{size:"p2",className:b.description,sx:{textAlign:"center"},children:r})]}),(0,i.tZ)(l.B,{variant:"primary",className:b.button,onClick:()=>null==f?void 0:f(),children:g||v({id:"subot.landingPage.booking.done"})})]})}},"1dAL":function(e,t,r){r.d(t,{T:function(){return TableOfContent}});var i=r("BGKE"),a=r("q1tI"),o=r("rBCA"),n=r("iBNF");let l=(0,o.Z)("div",{target:"e16c9ozp0"})("display:flex;flex-wrap:wrap;align-items:center;.organisation{color:",n.r.colors.gray500,";a,a:visited{text-decoration:none;}a[href]{color:",n.r.colors.gray500,";text-decoration:underline;}}--font-weight-lg:",n.r.sizes.fwBold,";--font-weight-md:",n.r.sizes.fwSemiBold,";--font-weight-sm:",n.r.sizes.fwRegular,";&[data-size='lg']{font-size:18px;font-weight:var(--font-weight-lg);line-height:26px;}&[data-size='md']{font-size:16px;font-weight:var(--font-weight-md);line-height:24px;}&[data-size='sm']{font-size:14px;font-weight:var(----font-weight-sm);line-height:22px;}"),d=(0,o.Z)("span",{target:"e16c9ozp1"})("p{color:",n.r.colors.gray500,";}"),c=(0,o.Z)("a",{target:"e16c9ozp2"})("color:",n.r.colors.secondaryBase,";text-decoration:auto;"),s=(0,o.Z)("span",{target:"e16c9ozp3"})("margin:0 0.4em;color:",n.r.colors.neutral300,";"),TableOfContent=e=>{let{className:t,size:r="md",contents:o,separator:n="|",contentClassName:p}=e;return(0,i.tZ)(l,{className:t,"data-size":r,children:o.map((e,t)=>e?(0,i.BX)(a.Fragment,{children:[e&&"object"==typeof e&&"label"in e&&"id"in e?(0,i.tZ)(c,{href:"#".concat(e.id),className:p,children:e.label}):(0,i.tZ)(d,{className:p,children:e}),t+1{let{style:t,initialTab:r,tabContent:l,onChange:d,className:c}=e,[u,m]=(0,a.useState)(r||0),f=(0,n.Me)(l.length);return(0,a.useEffect)(()=>{m(r)},[r]),(0,i.tZ)(s,{style:t,className:c,children:l.map((e,t)=>(0,i.tZ)(p,{"data-is-tab-active":u===t||void 0,onClick:()=>{m(t),d&&d(t)},children:(0,i.BX)(g,{children:[e.icon&&(0,i.tZ)(h,{children:e.icon}),(0,i.tZ)(o.T,{size:"sm",type:"bold",children:(0,i.tZ)("a",{"data-event-category":e.dataEventCategory,"data-event-action":e.dataEventAction,"data-event-label":e.dataEventLabel,className:"pointer-event-child-none",children:e.name})})]})},f[t]))})}},"5VjO":function(e,t,r){r.d(t,{S:function(){return ThailandCommemorateModal}});var i=r("BGKE"),a=r("q1tI"),o=r("Efqo"),n=r("Y5X8"),l=r("mis8"),d=r("Eso5"),c=r("Iblh"),s=r("Wgwc"),p=r.n(s),g=r("P5LW"),h=r("rEaw");let ThailandCommemorateModal=()=>{let{locale:e}=(0,g.h)(),[t,{open:r,close:s}]=(0,c.q)(!1);return((0,a.useEffect)(()=>{let e=p()("2025-10-24"),t=p()(),i=t.diff(e,"day");i<=90&&r()},[]),e!==h.MV.Thailand)?null:(0,i.tZ)(l.M,{opened:t,onClose:s,size:750,zIndex:500,styles:{header:{borderBottom:0}},children:(0,i.BX)(d.x,{component:"picture",sx:e=>({width:"100%",height:0,display:"block",position:"relative",paddingBottom:"".concat(858/686*100,"%"),img:{position:"absolute",inset:0,width:"100%",height:"100%",objectFit:"cover"},[e.fn.largerThan("sm")]:{paddingBottom:"".concat(854/1280*100,"%")}}),children:[(0,i.tZ)("source",{srcSet:n.C.getAssetPath("thailandCommemorate/queen-mother.desktop.jpeg"),media:"(min-width: ".concat(o.B.BREAK_POINT_TABLET,"px)")}),(0,i.tZ)("img",{alt:"สถิตอยู่ในใจตราบนิรันดร์",loading:"lazy",srcSet:n.C.getAssetPath("thailandCommemorate/queen-mother-mobile.jpeg"),style:{objectFit:"cover",width:"100%",height:"100%"}})]})})}},YfNm:function(e,t,r){r.d(t,{u:function(){return getThrResult}});var i=r("iBNF");let getThrResult=(e,t,r,a,o)=>{let n=new Date().getTime()-new Date(e).getTime()>=567648e6,l=[{id:4,value:"Athlete",title:a({id:"targetHeartRate.result.athlete",defaultMessage:"Athlete"}),color:i.r.colors.primary500,colorTitle:i.r.colors.primary500},{id:3,value:"Excellent",title:a({id:"targetHeartRate.result.excellent",defaultMessage:"Excellent"}),color:i.r.colors.green800,colorTitle:i.r.colors.green800},{id:2,value:"Good",title:a({id:"targetHeartRate.result.good",defaultMessage:"Good"}),color:i.r.colors.green500,colorTitle:i.r.colors.green500},{id:1,value:"Average",title:a({id:"targetHeartRate.result.average",defaultMessage:"Average"}),color:i.r.colors.yellow600,colorTitle:i.r.colors.yellow600},{id:0,value:"Poor",title:a({id:"targetHeartRate.result.poor",defaultMessage:"Poor"}),color:i.r.colors.red800,colorTitle:i.r.colors.red800}],d=[{id:2,value:"Abnormal",title:a({id:"targetHeartRate.result.abnormal",defaultMessage:"Abnormal"}),color:i.r.colors.neutral50,colorTitle:i.r.colors.gray500},{id:1,value:"Normal",title:a({id:"targetHeartRate.result.normal",defaultMessage:"Normal"}),color:i.r.colors.green500,colorTitle:i.r.colors.green500},{id:0,value:"Abnormal",title:a({id:"targetHeartRate.result.abnormal",defaultMessage:"Abnormal"}),color:i.r.colors.neutral50,colorTitle:i.r.colors.gray500}],c=n?l:d,s=c.map((e,t)=>{var i,a;return{id:e.id,value:e.value,title:e.title,color:e.color,colorTitle:e.colorTitle,markupMin:null===(i=r[t])||void 0===i?void 0:i.markup,markupMax:(null===(a=r[t+1])||void 0===a?void 0:a.markup)-1||200}}),p=s.find(e=>e.value===o&&parseFloat(t)>=e.markupMin&&parseFloat(t)<=e.markupMax)||s[0];return{result:p,resultType:c,resultChart:s}}},"/N9F":function(e,t,r){r.d(t,{c:function(){return ThrIllustrator}});var i=r("BGKE"),a=r("ake8"),o=r("uwjA"),n=r("iBNF"),l=r("dDsW"),d=r("rIrU"),c=r("VxsQ"),s=r.n(c),p=r("rBCA");let g=(0,p.Z)("div",{target:"e6dj7du0"})("position:relative;display:flex;justify-content:center;width:10px;height:200px;svg{width:41px;height:41px;object-fit:contain;}.dot{position:absolute;z-index:100;animation:dot-ruler ease 2s 1;margin-top:",e=>e["data-mgTop"],"px;}@keyframes dot-ruler{from{margin-top:180px;}to{margin-top:",e=>e["data-mgTop"],"px;}}"),h=(0,p.Z)("div",{target:"e6dj7du1"})("position:absolute;display:flex;justify-content:flex-start;flex-direction:column;height:100%;.line-illustrator{display:flex;width:14px;justify-content:flex-start;border:3px solid #e4e8ec;border-bottom:none;}.line-illustrator:first-of-type{border-radius:16px 16px 0 0;}.line-illustrator:last-child{border-radius:0 0 16px 16px;border-bottom:3px solid #e4e8ec;}"),u=(0,p.Z)("div",{target:"e6dj7du2"})("position:absolute;display:flex;flex-direction:row;align-items:center;justify-content:space-between;width:70px;margin-top:",e=>e["data-last"]?e["data-mgTop"]-16:e["data-mgTop"]-13,"px;margin-left:-82px;"),m=(0,p.Z)("div",{target:"e6dj7du3"})("width:24px;height:1px;background-color:",n.r.colors.neutral100,";"),f=(0,p.Z)("div",{target:"e6dj7du4"})("display:flex;flex-direction:column;justify-content:center;align-items:center;padding:16px;margin:18px 0;gap:32px;width:100%;border:1px solid #e4e8ec;box-sizing:border-box;border-radius:",n.r.borderRadius,";"),x=(0,p.Z)("div",{target:"e6dj7du5"})("display:flex;flex-direction:column;justify-content:center;align-items:center;gap:12px;width:100%;"),v=(0,p.Z)("div",{target:"e6dj7du6"})("display:flex;flex-direction:row;justify-content:center;align-items:center;gap:12px;width:100%;"),b=(0,p.Z)("div",{target:"e6dj7du7"})("display:flex;flex-direction:column;justify-content:center;align-items:center;gap:12px;width:50%;");var w=r("YfNm");let ThrIllustrator=e=>{let{age:t,rate:r,status:c,chart:p,isAdult:Z=!0,levelActive:y}=e,{formatMessage:k}=(0,l.Z)(),{result:B,resultType:C,resultChart:T}=(0,w.u)(t,r,p,k,c),M=C.length,z=200/M,N=Math.round(z*B.id-20+z*(B.markupMax-parseFloat(r))/(B.markupMax-B.markupMin));return(0,i.BX)(f,{children:[(0,i.BX)(x,{children:[(0,i.tZ)("img",{loading:"lazy",style:{height:"48px",width:"48px",objectFit:"contain"},src:"".concat(d.Nr,"/thr-ideal.svg"),alt:""}),(0,i.tZ)(a.H,{tag:"h3",as:"h1",fontWeight:"bold",color:"#404040",children:k({id:"targetHeartRate.result.title",defaultMessage:"Your Resting Heart Rate"})}),(0,i.tZ)(o.T,{size:"p3",color:"#595959",children:(0,i.tZ)("span",{dangerouslySetInnerHTML:{__html:k({id:"targetHeartRate.status",defaultMessage:"classification is {status}"},{status:'').concat(null==B?void 0:B.title,"")})}})})]}),(0,i.BX)(v,{children:[(0,i.BX)(b,{children:[(0,i.tZ)(o.T,{size:"p4",color:"#595959",children:y.label}),(0,i.tZ)("img",{loading:"lazy",style:{height:"180px",width:"180px",objectFit:"contain"},src:y.image,alt:""})]}),!!p&&(0,i.tZ)(b,{children:(0,i.BX)(g,{"data-mgTop":N,children:[(0,i.tZ)(s(),{className:"dot"}),(0,i.tZ)(h,{children:T.reverse().map((e,t)=>(0,i.tZ)("div",{className:"line-illustrator",style:{height:"".concat(z,"%"),backgroundColor:e.color},children:Z?(0,i.BX)(u,{"data-mgTop":z,"data-last":t===M-1,children:[(0,i.BX)(a.H,{tag:"h6",color:n.r.colors.gray400,children:[e.markupMin,0===t&&"+"]}),(0,i.tZ)(m,{})]}):t!==M-1&&(0,i.BX)(u,{"data-mgTop":z,children:[(0,i.tZ)(a.H,{tag:"h6",color:n.r.colors.gray400,children:e.markupMin}),(0,i.tZ)(m,{})]})},"pwg-ruler".concat(t)))})]})})]})]})}},"51Lw":function(e,t,r){r.d(t,{f:function(){return ThrInputForm}});var i=r("BGKE"),a=r("q1tI"),o=r("RL1p"),n=r("oZWv"),l=r("Wgwc"),d=r.n(l),c=r("dDsW"),s=r("rIrU");let ThrInputForm=e=>{let{info:t,className:r,style:l,onChange:p,errorMessage:g={}}=e,{formatMessage:h}=(0,c.Z)(),[u,m]=(0,a.useState)({age:!1,rate:!1});(0,a.useEffect)(()=>{m({age:!1,rate:!1})},[g]);let[f,x]=(0,a.useState)(new Date);return(0,i.tZ)("div",{style:l,className:r,children:(0,i.tZ)(o.D,{name:"thr-age",size:"md",className:"due-date-input",label:(0,i.tZ)(n.T,{size:"s4",weight:"semiBold",children:h({id:"targetHeartRate.ageInput",defaultMessage:"What is your date of birth?"})}),value:f,onChange:e=>{x(e),m(e=>({...e,age:!0}));let r={...t,age:d()(e).format(s.yJ)};p&&p(r)},excludeDate:e=>d()(e).isAfter(d()()),error:u.age?"":g.age})})}},rni7:function(e,t,r){r.d(t,{N:function(){return ToolCarousel}});var i=r("BGKE"),a=r("q1tI"),o=r("ake8"),n=r("uwjA"),l=r("+6Eu"),d=r("StZb"),c=r("dDsW"),s=r("CJtR"),p=r("hXNO"),g=r("P5LW"),h=r("rIrU"),u=r("rBCA"),m=r("Efqo"),f=r("iBNF");let x=(0,u.Z)("div",{target:"e3lm53x0"})("width:100%;.mantine-Carousel-indicator{width:8px;height:8px;",m.M.mbDown,"{background:",null===f.r||void 0===f.r?void 0:f.r.colors.pink800,";transform:translateY(32px);}}"),v=(0,u.Z)("div",{target:"e3lm53x1"})("background:",null===f.r||void 0===f.r?void 0:f.r.colors.pink800,";border-radius:",f.r.borderRadius,";height:100%;& > div{display:flex;justify-content:center;align-items:center;padding-block:50px;}.wrapper{margin:0 auto;display:flex;gap:60px;max-width:800px;align-items:center;}.content{display:flex;flex-direction:column;gap:16px;a{width:fit-content;}}.subtitle{display:flex;align-items:center;gap:12px;}.reviewer{}.banner{img{width:180px;height:180px;}}.button{background-color:#ffffff;color:",null===f.r||void 0===f.r?void 0:f.r.colors.pink800,";border:none;}",m.M.mbDown,"{padding:16px;& > div{padding-block:16px;}.wrapper{gap:8px;}.content{max-width:250px;}.banner{img{width:100px;height:100px;}}}"),Tool=e=>{let{tool:t}=e,{formatMessage:r}=(0,c.Z)(),u=(0,p.d)(),{locale:m}=(0,g.h)(),{title:f,name:x,profileUrl:b,avatar:w,role:Z}=(0,a.useMemo)(()=>{if(void 0!==(null==t?void 0:t.reviewedBy)&&(null==t?void 0:t.reviewedBy)){let{role:e,displayName:i,profileUrl:a,avatar:o}=null==t?void 0:t.reviewedBy;return"expert"===e?{title:r({id:"articleAuthor.title.expert",defaultMessage:"Expertly reviewed by"}),name:i,profileUrl:a,avatar:o,role:e}:{title:r({id:"articleAuthor.title.medical",defaultMessage:"Medically reviewed by"}),name:i,profileUrl:a,avatar:o,role:e}}return{title:null,name:null,profileUrl:null,avatar:null,role:null}},[t]);return(0,i.BX)(v,{children:[(0,i.tZ)("div",{children:(0,i.BX)("div",{className:"wrapper",children:[(0,i.BX)("div",{className:"content",children:[(0,i.tZ)(o.H,{tag:"h3",color:"#F7F9FC",children:t.title}),void 0!==(null==t?void 0:t.reviewedBy)&&(null==t?void 0:t.reviewedBy)&&(0,i.BX)("div",{className:"subtitle",children:[(0,i.tZ)(d.A,{src:w,size:32,withIndicator:!!Z,indicatorConfig:Z?{size:14,offset:5,label:(0,i.tZ)("img",{loading:"lazy",width:"14",height:"14",src:"".concat(h.Nr,"/article-").concat(Z,".svg"),alt:""})}:void 0}),(0,i.BX)("div",{className:"reviewer",children:[f&&(0,i.tZ)(n.T,{size:"p3",color:"#F7F9FC",as:"span",children:f}),x&&(0,i.tZ)("a",{"data-event-category":"Reviewer Name","data-event-action":x,"data-event-label":"".concat((0,s.UC)(m)).concat(b),href:b||"#",children:(0,i.tZ)(n.T,{size:"p3",color:"#F7F9FC",type:"semiBold",as:"span",children:x})}),t.reviewedDate&&(0,i.BX)(n.T,{size:"p3",color:"#F7F9FC",as:"span",children:[" ","• ",t.reviewedDate]})]})]}),!u&&(0,i.tZ)("a",{href:t.link,"data-event-category":"Health Tool","data-event-action":"Embedded Calculation Click","data-event-label":"".concat((0,s.UC)(m)).concat(t.link),className:"pointer-event-child-none",children:(0,i.tZ)(l.B,{size:"lg",color:"tertiary",className:"button",children:r({id:"dueDateCard.button"})})})]}),(0,i.tZ)("div",{className:"banner",children:(0,i.tZ)("img",{src:t.icon||"".concat(h.Nr,"/due-date-card.png?v=1"),alt:"decorative background for the due date card",loading:"lazy"})})]})}),u&&(0,i.tZ)("a",{href:t.link,"data-event-category":"Health Tool","data-event-action":"Embedded Calculation Click","data-event-label":t.link,className:"pointer-event-child-none",children:(0,i.tZ)(l.B,{size:"lg",color:"tertiary",className:"button",isBlock:!0,children:r({id:"dueDateCard.button"})})})]})},ToolCarousel=e=>{let{tools:t,...r}=e,a=(0,p.d)();return(0,i.tZ)(x,{...r,children:t&&t.length>0&&(0,i.tZ)(d.a,{controlSize:40,controlsOffset:40,withIndicators:t.length>1,withControls:!a&&t.length>1,draggable:t.length>1,children:t.map(e=>(0,i.tZ)(d.a.Slide,{children:(0,i.tZ)(Tool,{tool:e})},e.id))})})}},dUKT:function(e,t,r){r.d(t,{a:function(){return ToolsBannerCard}});var i=r("BGKE"),a=r("ake8"),o=r("iBNF"),n=r("uwjA"),l=r("TSYQ"),d=r.n(l),c=r("gHFm"),s=r("rIrU"),p=r("rBCA"),g=r("Efqo");let h=(0,p.Z)("div",{target:"e14f2q0h0"})("margin-top:8px;&[data-is-mobile='false']{display:flex;width:60%;min-width:600px;align-items:center;& >:first-of-type{margin-right:18px;}}"),u=(0,p.Z)("div",{target:"e14f2q0h1"})("&[data-is-mobile='false']{max-width:540px;}",g.M.tdUp,"{padding-right:120px;}"),m=(0,p.Z)("div",{target:"e14f2q0h2"})("display:flex;align-items:flex-start;margin-top:10px;color:",o.r.colors.white,";font-size:",o.r.sizes.fsParagraph4,";> img{margin-top:2px;margin-right:4px;}&[data-is-mobile='false']{margin-top:12px;> img{width:16px;height:16px;}}&[data-is-mobile='true']{> img{width:14px;height:14px;}}"),f=(0,p.Z)("div",{target:"e14f2q0h3"})("position:absolute;z-index:0;right:16px;bottom:-10px;display:flex;min-width:100px;max-width:150px;min-height:100px;align-items:center;img{width:100px;height:100px;}&[data-is-mobile='false']{bottom:-34px;min-width:280px;max-width:initial;min-height:280px;img{width:100%;height:100%;}}",g.M.mbDown,"{width:70px;}"),x=(0,p.Z)("div",{target:"e14f2q0h4"})("position:relative;z-index:1;padding:8px 16px;&[data-is-mobile='false']{max-width:calc(100% - 210px);padding:50px 16px 90px 16px;}"),v=(0,p.Z)("div",{target:"e14f2q0h5"})("position:relative;"),b=(0,p.Z)("div",{target:"e14f2q0h6"})("position:relative;width:100%;height:100%;background-color:",o.r.colors.primaryBase,";&[data-banner-color]{background-color:",e=>e["data-banner-color"],";}background-position:bottom center;background-repeat:no-repeat;background-size:cover;padding-bottom:40px;&[data-banner-url]{background-color:inherit;background-image:url(",e=>e["data-banner-url"]||"".concat(s.Nr,"/toolBannerBlue-circle.svg"),");}"),w=(0,p.Z)("div",{target:"e14f2q0h7"})("width:100%;padding-bottom:24px;margin-bottom:8px;",g.M.tdDown,"{height:auto;",b,"{",v,"{display:flex;flex-direction:column-reverse;",f,"{position:relative;right:unset;bottom:unset;width:180px;min-width:0;height:auto;min-height:0;align-self:flex-end;margin-bottom:-20px;}",x,"{&[data-is-mobile='false']{max-width:100%;padding:50px 16px 0 16px;}}}}&.isEmbed{",b,"{.container{padding:0;}}}}"),ToolsBannerCard=e=>{let{className:t,heading:r,isMobile:l,description:p,bannerColor:g,bannerUrl:Z,bannerUrlLarge:y,medicalReview:k,icon:B,isHomePage:C,style:T,isEmbed:M}=e,z=M?"h2":l?"h3":"h1",N=M?"p2":l?"label1":"p3";return(0,i.tZ)(w,{"data-is-mobile":l,className:d()({isEmbed:M}),style:{...T},children:(0,i.tZ)(b,{className:t,"data-banner-url":l?Z:y||Z,"data-banner-color":g,"data-is-mobile":l,style:{minHeight:"200px"},children:(0,i.tZ)(c.W,{className:"container",children:(0,i.BX)(v,{children:[(0,i.tZ)(f,{"data-is-mobile":l,children:B}),(0,i.BX)(x,{"data-is-mobile":l,children:[(0,i.tZ)(h,{"data-is-mobile":l,children:(0,i.tZ)(a.H,{color:o.r.colors.white,tag:z,as:"h2",children:r})}),(0,i.tZ)(u,{"data-is-mobile":l,children:(0,i.tZ)(n.T,{color:o.r.colors.white,size:N,children:p})}),k&&(0,i.BX)(m,{"data-is-mobile":l,children:[(0,i.tZ)("img",{loading:"lazy",src:"".concat(s.Nr,"/check-circle.svg"),alt:""}),k]})]})]})})})})}},"0UxZ":function(e,t,r){r.d(t,{I:function(){return ToolsBannerCardV2}});var i=r("BGKE"),a=r("ake8"),o=r("oZWv"),n=r("StZb"),l=r("Eso5"),d=r("7Ci/"),c=r("OAL+"),s=r("mYVa"),p=r("SPK5"),g=r("dDsW"),h=r("Q7Fe"),u=r("hXNO"),m=r("P5LW"),f=r("rIrU"),x=r("tQmg"),v=r("/npG"),b=(0,v.k)((e,t)=>{let{isPink:r}=t;return{root:{},inner:{width:80,height:80,borderRadius:"50%",background:r?e.colors.pink[0]:e.colors.blue[0],[e.fn.largerThan("sm")]:{width:168,height:168}},wrapper:{maxWidth:42,maxHeight:42,[e.fn.largerThan("sm")]:{maxWidth:88,maxHeight:88}}}});let EllipseImage=e=>{let{icon:t,isPink:r,className:a,styles:o,classNames:n,...d}=e,{classes:s,cx:p}=b({isPink:r},{name:"EllipseImage",styles:o,classNames:n});return(0,i.tZ)(l.x,{className:p(a,s.root),sx:{position:"relative"},...d,children:(0,i.tZ)(c.K,{className:s.inner,align:"center",justify:"center",children:(0,i.tZ)(l.x,{className:s.wrapper,children:t})})})};var w=(0,v.k)((e,t)=>{let{isPink:r}=t;return{root:{backgroundColor:r?e.colors.pink[1]:e.colors.blue[1],[e.fn.smallerThan("sm")]:{overflow:"hidden"}},inner:{padding:"".concat((0,s.h)(8)," 0"),[e.fn.largerThan("sm")]:{padding:"".concat((0,s.h)(12)," 0 ").concat((0,s.h)(24))},[e.fn.smallerThan("sm")]:{paddingBottom:(0,s.h)(12)}},thumbnailCol:{position:"absolute",[e.fn.largerThan("sm")]:{right:0,top:"50%",transform:"translateY(-50%)"},[e.fn.smallerThan("sm")]:{right:16,bottom:10}},thumbnail:{},thumbnailWrapper:{},thumbnailInner:{},medicalReview:{position:"relative",minHeight:48,[e.fn.smallerThan("sm")]:{'&[data-icon="true"]':{paddingRight:90}}}}}),Z=r("2kea");let ToolsBannerCardV2=e=>{let{heading:t,description:r,icon:n,reviewBy:p,isPink:g,breadcrumbProps:m,styles:f,classNames:x,className:v,...b}=e,{classes:y,cx:k}=w({isPink:g},{name:"ToolsBannerCardV2",styles:f,classNames:x}),B=(0,u.d)();return(0,i.tZ)(l.x,{className:k(v,y.root),...b,children:(0,i.tZ)(d.W,{size:"lg",className:"container",style:{position:"relative"},children:(0,i.tZ)(l.x,{className:y.inner,children:(0,i.BX)(c.K,{spacing:(0,s.h)(24),children:[!B&&m&&(0,i.tZ)(Z.d,{...m,style:{margin:0,padding:0}}),(0,i.BX)(c.K,{spacing:(0,s.h)(12),sx:()=>({width:"100%",maxWidth:(0,s.h)(744)}),children:[(0,i.BX)(c.K,{spacing:(0,s.h)(8),children:[(0,i.tZ)(a.H,{tag:"h2",as:"h1",children:t}),(0,i.tZ)(o.T,{size:"p3",as:"div",sx:e=>({[e.fn.smallerThan("sm")]:{...!(null==p?void 0:p.reviewer)&&{width:"calc(100% - 80px)"}}}),children:(0,i.tZ)(h.G,{content:r})})]}),(null==p?void 0:p.avatar)&&(null==p?void 0:p.reviewer)&&(0,i.tZ)(l.x,{className:y.medicalReview,"data-icon":String(!!n),children:(0,i.tZ)(MedicalReview,{reviewBy:p})})]}),n&&(0,i.tZ)(l.x,{className:y.thumbnailCol,children:(0,i.tZ)(EllipseImage,{classNames:{root:y.thumbnail,wrapper:y.thumbnailWrapper,inner:y.thumbnailInner},icon:n,isPink:g})})]})})})})},MedicalReview=e=>{let{reviewBy:t,isMobile:r,size:a="default"}=e,{formatMessage:d}=(0,g.Z)(),{locale:c}=(0,m.h)();return(null==t?void 0:t.avatar)&&(null==t?void 0:t.reviewer)?(0,i.BX)(p.k,{gap:12,sx:e=>({alignItems:"flex-start",[e.fn.smallerThan("sm")]:{position:"relative",zIndex:1}}),children:[(0,i.tZ)(l.x,{pos:"relative",top:3,children:(0,i.tZ)(n.A,{size:"default"===a?32:20,src:t.avatar,withIndicator:!0,indicatorConfig:{size:18,label:(0,i.tZ)("img",{loading:"lazy",width:"16",src:"".concat(f.Nr,"/reviewer-medical.svg"),alt:""})},styles:{root:{".mantine-Indicator-indicator":{bottom:"default"===a?"7px":"4px",right:"default"===a?"5px":"3px"},".mantine-Avatar-placeholder":{border:0}}}})}),(0,i.BX)(o.T,{size:r?"p3":"p4",color:"gray.6",as:"div",sx:e=>({lineHeight:"".concat((0,s.h)(24),"!important"),[e.fn.largerThan("sm")]:{div:{display:"inline"}}}),children:[d({id:"articleAuthor.title.medical"})," ",(0,i.BX)("span",{children:[(0,i.tZ)("a",{href:t.link||"#",style:{color:"#262626"},children:t.reviewer}),t.date&&" • "]}),t.date&&(0,i.tZ)("span",{children:(0,x.m)(t.date,c)})]})]}):null};ToolsBannerCardV2.MedicalReview=MedicalReview},lnkF:function(e,t,r){r.d(t,{V:function(){return ToolsBannerCardV3}});var i=r("BGKE"),a=r("oZWv"),o=r("Eso5"),n=r("SPK5"),l=r("OAL+"),d=r("/npG"),c=(0,d.k)((e,t)=>{let{color:r="blue"}=t;return{root:{width:96,height:96,borderRadius:"50%",backgroundColor:"rgba(255,255,255,0.75)"},inner:{width:79,height:79,borderRadius:"50%",background:"#fff",boxShadow:"0px 3.9px 19.51px 0px ".concat(e.colors[r][1],"66")},wrapper:{maxWidth:40,maxHeight:40}}});let EllipseImage=e=>{let{icon:t,color:r,className:a,styles:l,classNames:d,...s}=e,{classes:p,cx:g}=c({color:r},{name:"EllipseImage",styles:l,classNames:d});return(0,i.tZ)(n.k,{className:g(a,p.root),align:"center",justify:"center",...s,children:(0,i.tZ)(n.k,{className:p.inner,align:"center",justify:"center",children:(0,i.tZ)(o.x,{className:p.wrapper,children:t})})})};var s=(0,d.k)((e,t)=>{var r;let{color:i="blue"}=t;return{root:{backgroundColor:(null===(r=e.colors[i])||void 0===r?void 0:r[1])||e.colors.blue[1],borderRadius:16,padding:24},thumbnailCol:{}}});let ToolsBannerCardV3=e=>{let{heading:t,description:r,color:d,icon:c,styles:p,classNames:g,className:h,...u}=e,{classes:m,cx:f,theme:x}=s({color:d},{name:"ToolsBannerCardV3",styles:p,classNames:g});return(0,i.tZ)(o.x,{className:f(h,m.root),...u,children:(0,i.BX)(n.k,{gap:24,align:"center",children:[c&&(0,i.tZ)(o.x,{className:m.thumbnailCol,children:(0,i.tZ)(EllipseImage,{icon:c,color:d})}),(0,i.BX)(l.K,{spacing:8,children:[(0,i.tZ)(a.T,{size:"s2",color:x.colors.gray[8],weight:"semiBold",children:t}),(0,i.tZ)(a.T,{size:"p4",as:"div",color:x.colors.gray[7],children:(0,i.tZ)("div",{dangerouslySetInnerHTML:{__html:r}})})]})]})})}},XRSz:function(e,t,r){r.r(t),r.d(t,{CustomReferenceDot:function(){return CustomReferenceDot},ToolsChart:function(){return ToolsChart}});var i=r("BGKE"),a=r("q1tI"),o=r("iBNF"),n=r("ake8"),l=r("uwjA"),d=r("dDsW"),c=r("ps87"),s=r("4cdY"),p=r("i8Hr"),g=r("y9N3"),h=r("J+eN"),u=r("FQZO"),m=r("b+jq"),f=r("wwo5"),x=r("rBCA");let v=(0,x.Z)("div",{target:"er49wtm0"})("display:flex;flex-direction:column;align-items:center;justify-content:center;& >:last-child{margin-top:8px;text-align:center;}margin-bottom:32px;"),CustomReferenceDot=e=>(0,i.tZ)("circle",{...e,children:(0,i.tZ)("animate",{attributeName:"r",values:"4;8;4",dur:"2s",begin:"0s",repeatCount:"indefinite"})}),XTick=e=>{let{payload:t,x:r,y:a}=e;return(0,i.tZ)("g",{transform:"translate(".concat(r,",").concat(a,")"),children:(0,i.tZ)("text",{fontSize:10,x:0,y:0,dy:0,textAnchor:"end",fill:"#666",transform:"rotate(-90)",children:t.value})})},YTick=e=>{let{payload:t,x:r,y:a}=e;return(0,i.tZ)("g",{transform:"translate(".concat(r,",").concat(a,")"),children:(0,i.tZ)("text",{fontSize:13,x:0,y:0,dy:0,textAnchor:"end",fill:"#666",children:t.value+"%"})})},ToolsChart=e=>{let{chartData:t,chartDescription:r,className:x,highlightBmi:b,color:w=o.r.colors.primaryBase}=e,{formatMessage:Z}=(0,d.Z)(),y=t.map(e=>({...e,percent:100*e.percent})),{x:k,y:B}=(0,a.useMemo)(()=>{var e;return{x:Number(b),y:Number(null===(e=y.find(e=>e.bmi===Number(Math.round(Number(b)))))||void 0===e?void 0:e.percent)}},[y,b]);return(0,i.BX)(i.HY,{children:[(0,i.BX)(v,{children:[(0,i.tZ)(n.H,{tag:"h5",children:Z({id:"bmi.result.chartTitle",defaultMessage:"Comparison to local statistics"})}),(0,i.tZ)(l.T,{size:"p3",children:r})]}),(0,i.tZ)(c.h,{className:x,width:"100%",height:280,children:(0,i.BX)(s.w,{data:y,margin:{top:5,right:5,bottom:20,left:5},children:[(0,i.tZ)(p.x,{type:"linear",dot:!0,activeDot:!1,id:"composed-chart-line",dataKey:"percent",stroke:o.r.colors.primaryBase,strokeWidth:"2",fill:"none",tooltipType:"none"},"percent"),(0,i.tZ)(g.q,{strokeDasharray:"3 3",stroke:o.r.colors.neutral100}),(0,i.tZ)(h.K,{interval:3,tick:XTick,tickLine:!1,axisLine:!1,dataKey:"bmi",children:(0,i.tZ)(u._,{offset:-20,position:"insideBottom",children:"BMI"})}),(0,i.tZ)(m.B,{tick:YTick,tickLine:!1,axisLine:!1,padding:{top:40,bottom:8},width:30,children:(0,i.tZ)(u._,{position:"insideTopLeft",children:"% vs. BMI"})}),void 0!==k&&void 0!==B&&(0,i.tZ)(f.q,{id:"ref-dot",x:Math.round(0===k?1:k),y:Math.round(B),r:4,shape:(0,i.tZ)(CustomReferenceDot,{}),fill:w,stroke:w},k)]})})]})}},Oeb5:function(e,t,r){r.d(t,{b:function(){return ToolsInfoCard}});var i=r("BGKE"),a=r("q1tI"),o=r("D/T2"),n=r("rIrU"),l=r("rBCA"),d=r("iBNF"),c=r("gHFm");let s=(0,l.Z)("div",{target:"e7jwhf80"})("display:flex;width:100%;flex-direction:column;"),p=(0,l.Z)("div",{target:"e7jwhf81"})("display:flex;gap:4px;align-items:center;margin-bottom:12px;& > label{margin-left:4px;color:",d.r.colors.gray400,";font-weight:",d.r.sizes.fwBold,";}"),g=(0,l.Z)(c.W,{target:"e7jwhf82"})("/* width:100%;*/\n padding:0;"),ToolsInfoCard=e=>{let{children:t,icon:r,headingTitle:l,...d}=e;return(0,i.BX)(s,{...d,children:[(0,i.BX)(p,{children:[r||(0,i.tZ)("img",{loading:"lazy",style:{height:"16px",width:"16px"},src:"".concat(n.Nr,"/info-icon.svg"),alt:""}),a.isValidElement(l)?l:(0,i.tZ)(o.L,{size:"label1",htmlFor:"",children:l})]}),(0,i.tZ)(g,{children:t})]})}},Syxb:function(e,t,r){r.r(t),r.d(t,{ToolsRecordChart:function(){return ToolsRecordChart}});var i=r("BGKE");r("q1tI");var a=r("iBNF"),o=r("ps87"),n=r("4cdY"),l=r("y9N3"),d=r("J+eN"),c=r("b+jq"),s=r("hNiv"),p=r("lQYU"),g=r("i8Hr"),h=r("rBCA");let u=(0,h.Z)("div",{target:"e2ew7ku0"})(".recharts-wrapper{background-image:linear-gradient(\n to top,rgba(227,242,255,0.25) 0% 30%,rgba(224,248,238,0.25) 30% 50%,#fffdf8 50% 60%,#fff9ef 60% 75%,#fffaf9 75% 100%\n );background-repeat:no-repeat;background-position:66px -34px;}");a.r.colors.white,a.r.borderRadius;let CustomizedDot=e=>{let{active:t=!1,...r}=e,{cx:o,cy:n,payload:{score:l}}=r;return null===l?null:(0,i.BX)("svg",{x:o-13,y:n-13,width:26,height:26,viewBox:"0 0 ".concat(26," ").concat(26),children:[(0,i.tZ)("circle",{cx:13,cy:13,fill:a.r.colors.primaryBase,fillOpacity:t?.4:0,strokeWidth:2,r:11}),(0,i.tZ)("circle",{cx:13,cy:13,r:4,fill:a.r.colors.white,stroke:a.r.colors.primaryBase,strokeWidth:2})]})},ToolsRecordChart=e=>{let{isMobile:t,data:r,xAxisProps:h,yAxisProps:m,showReferenceLine:f=!0}=e;return(0,i.tZ)(u,{children:(0,i.tZ)(o.h,{width:"100%",height:t?200:300,children:(0,i.BX)(n.w,{children:[(0,i.tZ)(l.q,{strokeDasharray:"1",vertical:!0}),(0,i.tZ)(d.K,{dataKey:"date",type:"category",allowDuplicatedCategory:!1,tickSize:0,tickMargin:18,tick:{fill:a.r.colors.gray400,fontWeight:600},stroke:a.r.colors.gray800,padding:{right:20},...h}),(0,i.tZ)(c.B,{dataKey:"score",tickSize:0,tickMargin:18,tick:{fill:a.r.colors.gray400,fontWeight:600},stroke:a.r.colors.gray800,padding:{top:20},...m}),(0,i.tZ)(s.u,{wrapperStyle:{visibility:"visible"},cursor:!1}),f&&(0,i.tZ)(p.d,{x:r[r.length-1].date,strokeDasharray:"3 3",stroke:a.r.colors.primaryBase,strokeWidth:2}),(0,i.tZ)(g.x,{width:80,connectNulls:!0,isAnimationActive:!1,dataKey:"score",data:r,name:"score",dot:e=>{var t;return(0,i.tZ)(CustomizedDot,{...e,active:e.payload.date===(null===(t=r[r.length-1])||void 0===t?void 0:t.date)})},activeDot:e=>{var t;return(0,i.tZ)(CustomizedDot,{...e,active:e.payload.date===(null===(t=r[r.length-1])||void 0===t?void 0:t.date)})},strokeWidth:2,stroke:a.r.colors.primaryBase},"score")]})})})}},Pm4m:function(e,t,r){r.d(t,{d:function(){return ToolsShareSocial}});var i=r("BGKE"),a=r("q1tI"),o=r("D/T2"),n=r("HeSx"),l=r("sVb9"),d=r("iBNF"),c=r("dDsW"),s=r("P5LW"),p=r("K4/T"),g=r.n(p),h=r("rBCA"),u=r("Efqo");let m=(0,h.Z)("div",{target:"e195vl940"})("margin-bottom:16px;"),f=(0,h.Z)("div",{target:"e195vl941"})("display:flex;flex-direction:column;align-items:flex-start;padding:16px;"),x=(0,h.Z)("div",{target:"e195vl942"})("display:flex;padding:0 16px;",u.M.mbUp,"{align-items:center;justify-content:center;}.share-icon{svg{width:32px;height:32px;}flex-shrink:0;margin-right:0.7em;&:last-child{margin-right:unset;}> a{display:flex;*{pointer-events:none;}}}"),ToolsShareSocial=e=>{let{className:t,shareUrl:r="",isMobile:p}=e,{formatMessage:h}=(0,c.Z)(),u=encodeURIComponent(r);""===u&&(u=encodeURIComponent(window.location.href));let{locale:v}=(0,s.h)(),b=(0,a.useMemo)(()=>(0,l.b)({shareUrl:r,locale:v}).filter(e=>!e.allowedLocales||e.allowedLocales.includes(v)),[v,r]);return(0,i.BX)(m,{className:t,children:[p&&(0,i.tZ)(f,{children:(0,i.tZ)(o.L,{size:"label1",htmlFor:"",style:{color:d.r.colors.gray400,fontWeight:"bold"},children:h({id:"tools.shareResultOn",defaultMessage:"Share result on"})})}),(0,i.BX)(x,{children:[!p&&(0,i.tZ)(f,{children:(0,i.tZ)(o.L,{size:"label1",htmlFor:"",style:{color:d.r.colors.gray400,fontWeight:"bold"},children:h({id:"tools.shareResultOn",defaultMessage:"Share result on"})})}),b.map((e,t)=>(0,i.tZ)(n.A,{className:"share-icon",avatarImg:(0,i.tZ)("a",{target:"_blank",href:e.href,"data-event-category":"Social Share","data-event-action":e.name,"data-event-label":e.href,children:e.icon}),type:"square"},t)),p&&(0,i.tZ)(n.A,{className:"share-icon-1",avatarImg:(0,i.tZ)("div",{onClick:()=>{if(navigator.share){let e=window.location.href;navigator.share({title:"My BMI result",text:e,url:e||"/"}).then(()=>console.log("Successful share")).catch(e=>console.log("Error sharing",e))}},children:(0,i.tZ)(g(),{})}),type:"square"})]})]})}},rITb:function(e,t,r){r.d(t,{I:function(){return ToolsSubmitButton}});var i=r("BGKE"),a=r("XDLp"),o=r("SPK5"),n=r("mYVa"),l=r("iv2E"),d=r("P5LW");let ToolsSubmitButton=e=>{let{title:t,onClick:r,link:c,toolName:s,source:p}=e,{locale:g}=(0,d.h)();return(0,i.tZ)(o.k,{justify:"center",children:(0,i.tZ)(a.B,{type:"submit",onClick:r,size:"md",dataEventCategory:p,dataEventAction:s,dataEventLabel:"https://".concat(l.domainLocales[g],"/").concat(c),fullWidth:!0,sx:{maxWidth:(0,n.h)(343)},children:t})})}},"l/jL":function(e,t,r){r.d(t,{r:function(){return ToolsSuggestionArticles}});var i=r("BGKE"),a=r("ake8"),o=r("iBNF"),n=r("0D4Z"),l=r("dDsW"),d=r("gHFm"),c=r("iv2E"),s=r("P5LW"),p=r("rBCA"),g=r("Efqo");let h=(0,p.Z)("div",{target:"ea3u3xt0"})("background-color:",o.r.colors.neutral50,";"),u=(0,p.Z)("div",{target:"ea3u3xt1"})("width:100%;",g.M.mbUp,"{padding:0 16px 72px;&[data-is-expert-page]{padding:0;}}background-color:",o.r.colors.white,";",g.M.mbDown,"{padding-bottom:48px;& >:first-of-type{padding:48px 16px 0;}}"),m=(0,p.Z)("div",{target:"ea3u3xt2"})("display:flex;align-items:center;justify-content:space-between;",g.M.mbUp,"{padding:80px 0 32px;}& > div > [data-tag='h3']{line-height:32px;}"),f=(0,p.Z)("div",{target:"ea3u3xt3"})(g.M.mbUp,"{padding:16px;}background-color:",o.r.colors.white,";"),x=(0,p.Z)("div",{target:"ea3u3xt4"})("display:flex;width:100%;align-items:center;justify-content:center;padding:8px 0;background-color:",o.r.colors.white,";cursor:pointer;.see-more-text{pointer-events:none;color:",o.r.colors.primaryBase,";}& >:first-of-type{margin-right:4px;}",g.M.mbUp,"{padding:0;width:auto;& > div > [data-tag='h5']{font-weight:bold;line-height:24px;font-size:",o.r.sizes.fsHeading6,";}}"),v=(0,p.Z)("div",{target:"ea3u3xt5"})("margin-top:8px;& >:not(:last-child){margin-bottom:8px;}background-color:",o.r.colors.neutral50,";"),b=(0,p.Z)("div",{target:"ea3u3xt6"})(g.M.mbUp,"{padding:24px 16px;}",g.M.mbDown,"{padding:24px 0;}background-color:",o.r.colors.white,";.banner{width:100%;min-height:192px;}"),w=(0,p.Z)("div",{target:"ea3u3xt7"})("display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;"),Z=(0,p.Z)("div",{target:"ea3u3xt8"})("width:100%;max-width:600px;margin-bottom:32px;background-color:",o.r.colors.white,";& > div > div{height:100%;}.banner{min-height:312px;}"),y=(0,p.Z)("div",{target:"ea3u3xt9"})("background-color:",o.r.colors.white,";.desktop-article[data-type='group1'][data-size='sm'] > .banner{width:150px;height:100px;}"),k=(0,p.Z)("div",{target:"ea3u3xt10"})("display:flex;width:100%;background-color:",o.r.colors.white,";& >:first-of-type{margin-right:32px;}& > div{flex:1;}"),B=(0,p.Z)("div",{target:"ea3u3xt11"})("width:100%;");var C=r("rIrU"),T=r("1KiM");let ArticlesSkeleton=e=>(0,i.BX)(B,{...e,children:[(0,i.tZ)(n.O,{height:50,circle:!0,mb:"xl"}),(0,i.tZ)(n.O,{height:8,radius:"xl"}),(0,i.tZ)(n.O,{height:8,mt:6,radius:"xl"}),(0,i.tZ)(n.O,{height:8,mt:6,width:"70%",radius:"xl"})]}),ToolsSuggestionArticles=e=>{var t,r,n,p,g;let{isMobile:B,expertsArticles:M=[],isLoading:z=!1,hideUIElements:N,seeMoreLink:E,className:S}=e,{formatMessage:F}=(0,l.Z)(),{locale:A}=(0,s.h)();return(0,i.tZ)(i.HY,{children:B?(0,i.BX)(u,{className:"featured-topics ".concat(S),children:[!N&&(0,i.tZ)(a.H,{tag:"h3",color:o.r.colors.gray800,children:F({id:"tools.suggestedArticles",defaultMessage:"Suggested articles"})}),z?(0,i.tZ)(ArticlesSkeleton,{}):(0,i.BX)(h,{children:[M&&M.length>0&&(0,i.BX)(i.HY,{children:[(0,i.tZ)(b,{children:(0,i.tZ)(d.W,{children:(0,i.tZ)(T.ArticleCardWrapper,{article:M[0],dataEventCategoryForCategory:"Tools Category Title",dataEventActionForCategory:"Click",dataEventLabelForCategory:"https://".concat(c.domainLocales[A]).concat(M[0].category.permalinkDecode),dataEventCategoryForTitle:"Tool Title",dataEventActionForTitle:"Click",dataEventLabelForTitle:"https://".concat(c.domainLocales[A]).concat(null===(t=M[0])||void 0===t?void 0:t.permalinkDecode),dataEventCategoryForBanner:"Tool Image",dataEventActionForBanner:"Click",dataEventLabelForBanner:"https://".concat(c.domainLocales[A]).concat(null===(r=M[0])||void 0===r?void 0:r.permalinkDecode),size:"lg",type:"author",direction:"vertical",text:""})})}),(0,i.tZ)(v,{children:M.slice(1,3).map(e=>(0,i.tZ)(f,{children:(0,i.tZ)(d.W,{children:(0,i.tZ)(T.ArticleCardWrapper,{article:e,dataEventCategoryForCategory:"Tool Category Title",dataEventActionForCategory:"Click",dataEventLabelForCategory:"https://".concat(c.domainLocales[A]).concat(e.category.permalinkDecode),dataEventCategoryForTitle:"Tool Title",dataEventActionForTitle:"Click",dataEventLabelForTitle:"https://".concat(c.domainLocales[A]).concat(e.permalinkDecode),dataEventCategoryForBanner:"Tools Image",dataEventActionForBanner:"Click",dataEventLabelForBanner:"https://".concat(c.domainLocales[A]).concat(e.permalinkDecode),type:"author",size:"md",text:""})})},e.id))})]}),!N&&(0,i.tZ)(x,{children:(0,i.BX)("a",{href:E||"/","data-event-category":"Categories Dropdown","data-event-action":"Click See More","data-event-label":"https://".concat(c.domainLocales[A],"/expert"),style:{textDecoration:"none",cursor:"pointer",display:"flex",color:o.r.colors.primaryBase},children:[(0,i.tZ)(a.H,{tag:"h5",color:o.r.colors.primaryBase,className:"see-more-text",children:F({id:"home.seeMore",defaultMessage:"See More"})}),(0,i.tZ)("img",{loading:"lazy",src:"".concat(C.Nr,"/chevronRightBlue.svg"),style:{width:"18px",height:"18px"},alt:F({id:"home.seeMore",defaultMessage:"See More"})})]})})]})]}):(0,i.BX)(u,{className:"featured-topics","data-is-expert-page":N||void 0,children:[!N&&(0,i.BX)(m,{children:[(0,i.tZ)(a.H,{tag:"h4",color:o.r.colors.gray800,children:F({id:"tools.suggestedArticles",defaultMessage:"Suggested Articles"})}),(0,i.tZ)(x,{children:(0,i.BX)("a",{href:E||"/","data-event-category":"Categories Dropdown","data-event-action":"Click See More","data-event-label":"https://".concat(c.domainLocales[A]).concat(C.sb,"/expert"),style:{textDecoration:"none",cursor:"pointer",display:"flex",color:o.r.colors.primaryBase},children:[(0,i.tZ)(a.H,{tag:"h5",color:o.r.colors.primaryBase,className:"see-more-text",children:F({id:"home.seeMore",defaultMessage:"See More"})}),(0,i.tZ)("img",{loading:"lazy",src:"".concat(C.Nr,"/chevronRightBlue.svg"),style:{width:"18px",height:"18px"},alt:F({id:"home.seeMore",defaultMessage:"See More"})})]})})]}),(0,i.tZ)(w,{children:z?(0,i.tZ)(ArticlesSkeleton,{}):M&&M.length>0&&(0,i.BX)(i.HY,{children:[(0,i.tZ)(Z,{children:(0,i.tZ)(T.ArticleCardWrapper,{dataEventCategoryForCategory:"Tool Category Title",dataEventActionForCategory:"Click",dataEventLabelForCategory:"https://".concat(c.domainLocales[A]).concat(null===(n=M[0])||void 0===n?void 0:n.category.permalinkDecode),dataEventCategoryForTitle:"Tool Title",dataEventActionForTitle:"Click",dataEventLabelForTitle:"https://".concat(c.domainLocales[A]).concat(null===(p=M[0])||void 0===p?void 0:p.permalinkDecode),dataEventCategoryForBanner:"Tool Image",dataEventActionForBanner:"Click",dataEventLabelForBanner:"https://".concat(c.domainLocales[A]).concat(null===(g=M[0])||void 0===g?void 0:g.permalinkDecode),type:"author",size:"lg",direction:"vertical",article:M[0],text:"",styleLabel:{fontSize:o.r.sizes.fsHeading6}})},M[0].id),(0,i.tZ)(k,{children:M.slice(1,3).map(e=>(0,i.tZ)(y,{children:(0,i.tZ)(T.ArticleCardWrapper,{dataEventCategoryForCategory:"Tool Category Title",dataEventActionForCategory:"Click",dataEventLabelForCategory:"https://".concat(c.domainLocales[A]).concat(e.category.permalinkDecode),dataEventCategoryForTitle:"Tool Title",dataEventActionForTitle:"Click",dataEventLabelForTitle:"https://".concat(c.domainLocales[A]).concat(e.permalinkDecode),dataEventCategoryForBanner:"Tool Image",dataEventActionForBanner:"Click",dataEventLabelForBanner:"https://".concat(c.domainLocales[A]).concat(e.permalinkDecode),type:"author",size:"sm",direction:"vertical",article:e,text:"",className:"desktop-article",styleLabel:{fontSize:o.r.sizes.fsCaption2}})},e.id))})]})})]})})}},QZRD:function(e,t,r){r.d(t,{T:function(){return TwoColumnsContainer}});var i=r("BGKE"),a=r("rBCA"),o=r("iBNF"),n=r("Efqo");let l=(0,a.Z)("div",{target:"e1d8er1c0"})("display:flex;width:100%;align-items:flex-start;justify-content:center;margin-top:8px;background-color:",o.r.colors.white,";",n.M.mbDown,"{flex-direction:column;}"),d=(0,a.Z)("div",{target:"e1d8er1c1"})("width:60%;padding-right:50px;",n.M.mbDown,"{width:100%;padding:0;}"),c=(0,a.Z)("div",{target:"e1d8er1c2"})("position:relative;display:flex;overflow:visible;width:40%;flex:1;align-items:flex-start;align-self:stretch;justify-content:flex-start;&[data-border='true']{border-left:1px solid ",o.r.colors.neutral100,";}",n.M.mbDown,"{width:100%;}"),s=(0,a.Z)("div",{target:"e1d8er1c3"})("position:relative;overflow:visible;"),TwoColumnsContainer=e=>{let{className:t,leftColumn:r,rightColumn:a,isHavingBorder:o=!0,leftStyle:n,rightStyle:p}=e;return a&&r?(0,i.BX)(l,{className:t,children:[(0,i.tZ)(d,{style:n,children:r}),(0,i.tZ)(c,{"data-border":o,style:p,children:a})]}):(0,i.tZ)(s,{children:a||r||(0,i.tZ)(i.HY,{})})}},"GFc/":function(e,t,r){var i=r("BGKE");r("q1tI");var a=r("oZWv"),o=r("OAL+"),n=r("mYVa");t.Z=e=>{let{title:t,formId:r,height:l="100vh",paramsString:d}=e,c="https://form.typeform.com/to/".concat(r,"/").concat(d?"?".concat(d):"");return(0,i.BX)(o.K,{spacing:16,sx:e=>({padding:"".concat((0,n.h)(16)," 0"),[e.fn.largerThan("sm")]:{gap:24,padding:"".concat((0,n.h)(24)," 0")}}),children:[t&&(0,i.tZ)(a.T,{size:"h3",as:"h3",children:t}),(0,i.tZ)("iframe",{title:"typeform ".concat(r),src:c,width:"100%",height:l,frameBorder:"0",style:{border:"none"},allow:"camera; microphone; autoplay; encrypted-media;"})]})}},n3JQ:function(e,t,r){var i=r("BGKE"),a=r("q1tI"),o=r("oZWv"),n=r("OAL+"),l=r("mYVa");t.Z=e=>{let{title:t,widgetId:r,height:d="600px"}=e,c=(0,a.useRef)(null);return(0,a.useEffect)(()=>{let e=c.current;if(!e)return;e.setAttribute("data-tf-live",r),e.setAttribute("data-tf-auto-resize","true"),e.setAttribute("data-tf-auto-focus","false"),e.setAttribute("data-tf-iframe-props","title=Typeform-".concat(r));let t=document.querySelector('script[src="https://embed.typeform.com/next/embed.js"]'),loadForm=()=>{window.tf&&"function"==typeof window.tf.load&&window.tf.load()};if(t)loadForm();else{let e=document.createElement("script");e.src="https://embed.typeform.com/next/embed.js",e.async=!0,e.onload=loadForm,document.body.appendChild(e)}},[r]),(0,i.BX)(n.K,{spacing:16,sx:e=>({padding:"".concat((0,l.h)(16)," 0"),[e.fn.largerThan("sm")]:{gap:24,padding:"".concat((0,l.h)(24)," 0")}}),children:[t&&(0,i.tZ)(o.T,{size:"h3",as:"h3",children:t}),(0,i.tZ)("div",{ref:c,style:{width:"100%",height:d}})]})}},qOEb:function(e,t,r){r.d(t,{y:function(){return VideoLibrary}});var i=r("BGKE"),a=r("q1tI"),o=r("MJ9g"),n=r("nLF+"),l=r("StZb"),d=r("8vDj"),c=r("Eso5"),s=r("OAL+"),p=r("hXNO"),g=(0,r("/npG").k)(()=>({root:{},heading:{},player:{},otherList:{}}));let VideoLibrary=e=>{let{videoList:t=[],styles:r,autoPlay:h=!1,classNames:u,className:m,slideSize:f,dataEventCategoryForList:x="Recommend Video",...v}=e,{classes:b,cx:w}=g(void 0,{name:"VideoLibrary",styles:r,classNames:u}),[Z,y]=(0,a.useState)((null==t?void 0:t[0])||null),[k,B]=(0,a.useState)(null),[C,T]=(0,a.useState)(h),M=(0,p.d)(),z=(0,d.rZ)(),N=(0,a.useMemo)(()=>t.length>1,[t]),E=(0,a.useMemo)(()=>t.length>2,[t]);return t.length>0?(0,i.tZ)(c.x,{className:w(b.root,m),...v,children:(0,i.BX)(s.K,{spacing:24,sx:e=>({[e.fn.smallerThan("sm")]:{flexDirection:"column",gap:8}}),children:[Z&&(0,i.tZ)(c.x,{className:b.player,children:(0,i.tZ)(o.S,{url:Z.url||"",autoPlay:C},Z.url)}),N&&(0,i.tZ)(c.x,{className:b.otherList,children:(0,i.tZ)(l.a,{slidesToScroll:1,slideSize:f||"38%",slideGap:24,breakpoints:[{maxWidth:"sm",slideSize:f||"46%",slideGap:8}],withIndicators:!1,withControls:!M&&E,align:"start",loop:!1,getEmblaApi:B,styles:e=>({indicators:{bottom:"auto",top:"calc(100% + 30px - 8px)"},indicator:{width:"8px",height:"8px",opacity:1,backgroundColor:z.colors.neutral[5],"&[data-active]":{backgroundColor:z.colors.blue[7]},".mantine-Carousel-control[data-inactive]":{opacity:0,cursor:"default"}},control:{width:40,height:40,opacity:1,borderColor:e.fn.primaryColor(),transition:"all .2s ease",svg:{width:"18px !important",height:"18px !important",color:e.fn.primaryColor()},"&:hover":{backgroundColor:e.fn.primaryColor(),svg:{color:"#fff"}}},controls:{padding:0,marginLeft:-20,marginRight:-20,top:"calc((100% - 70px)/2)",transform:"translateY(-50%)"},viewport:{[e.fn.smallerThan("sm")]:{paddingLeft:8,paddingRight:8}}}),children:t.map((e,t)=>(0,i.tZ)(l.a.Slide,{children:(0,i.tZ)(n.V,{data:{...e,active:e.url===(null==Z?void 0:Z.url)},disableDefaultFn:!0,onClick:r=>{r.preventDefault(),T(!0),y(e),null==k||k.scrollTo(t)},dataEventCategory:x,dataEventAction:"Video Click ".concat(t+1),sx:{cursor:"pointer"}})},String(t)))})})]})}):null}},J8Da:function(e,t,r){r.r(t),r.d(t,{WeekOfPregnancy:function(){return WeekOfPregnancy}});var i=r("BGKE"),a=r("q1tI"),o=r("iBNF"),n=r("DzJC"),l=r.n(n),d=r("dDsW"),c=r("OS56"),s=r("gHFm"),p=r("raAP"),g=r("hXNO"),h=r("P5LW"),u=r("rIrU"),m=r("rEaw"),f=r("6uPG");r("n59S"),r("KhoQ");var x=r("rBCA"),v=r("Efqo"),b=r("nI05");let w=(0,x.Z)("div",{target:"e14796m70"})("position:relative;width:100%;overflow-x:hidden;background-color:",null===o.r||void 0===o.r?void 0:o.r.colors.pink50,";",v.M.mbDown,"{& > div{padding:0 0;}}"),Z=(0,x.Z)("div",{target:"e14796m71"})("position:relative;padding:40px;",v.M.mbDown,"{padding:0;}"),y=(0,x.Z)("div",{target:"e14796m72"})("display:inline-block;height:108px;background-color:",o.r.colors.white,";border-radius:60px;cursor:pointer;&.selected-week-pill{background-color:",o.r.colors.pink100,";}& > div:first-of-type{margin:4px 4px 0;}& > p{margin-top:8px;text-align:center;}"),k=(0,x.Z)("div",{target:"e14796m73"})("& .title{text-align:center;&[data-space-bottom='true']{padding-bottom:168px;}}"),B=(0,x.Z)("div",{target:"e14796m74"})("position:relative;height:120px;margin-top:16px;& > .slick-slider{position:absolute;top:0;left:50%;width:1032px;margin:auto;transform:translateX(-50%);}& .centered-pill-wrapper{text-align:center;}& .week-pill{transition:all 0.4s;&:not(.selected-week-pill){box-shadow:0px 0px 24px rgba(0,0,0,0.08);}&.opacity-50{opacity:0.5;}&.opacity-10{opacity:0.1;}&.opacity-0{opacity:0;}}&[data-is-sticky='true']{position:fixed;z-index:",u.kg.menuSearchPopup-1,";top:68px;left:0;width:100vw;margin-top:0;background-color:",o.r.colors.primaryBase,";transition:all 0.2s linear;",v.M.mbDown,"{top:48px;}&[data-visible='false']{top:-98px;",v.M.mbDown,"{top:-170px;}}&[data-hideontop='true']{",v.M.mbDown,"{top:-168px;}}> div{height:168px;margin-top:0;}.centered-pill-wrapper{padding:24px 0;}}"),C=(0,x.Z)("div",{target:"e14796m75"})("display:flex;align-items:center;justify-content:center;gap:80px;margin-top:32px;.infant-image{flex-shrink:0;min-width:0;min-height:0;aspect-ratio:1;border:4px solid #ffffff;border-radius:50%;object-fit:contain;padding:24px;img{width:200px;height:200px;aspect-ratio:1;}}.detail{display:flex;flex-direction:column;align-items:flex-start;gap:8px;}",v.M.mbDown,"{flex-direction:column;background-color:#ffffff;border-radius:16px 16px 0px 0px;padding:32px;border-bottom:8px solid ",null===o.r||void 0===o.r?void 0:o.r.colors.neutral50,";.detail{align-items:center;text-align:center;}.infant-image{display:none;}}"),T=(0,x.Z)("div",{target:"e14796m76"})("position:fixed;z-index:",u.kg.menuSearchPopup+1,";top:0;left:0;width:100vw;background-color:",o.r.colors.white,";box-shadow:0px 1px 3px rgba(0,0,0,0.08);transition:all 0.2s linear;&:after{position:absolute;bottom:0;left:0;display:block;width:calc(var(--reading-progress) * 100%);height:2px;background-color:#e85388;content:'';transition:width 0.2s ease;}",v.M.mbDown,"{background-color:#e85388;&:after{display:none;}}&[data-visible='false']{top:-70px;}.container{display:flex;align-items:center;padding:21px 0;}.mobile-container{display:flex;align-items:center;padding:8px 16px;}.mb-logo{width:auto;height:28px;margin-right:24px;cursor:pointer;}.clickable-area{display:flex;align-items:center;cursor:pointer;}.text{padding:0 12px 0 24px;border-left:1px solid ",o.r.colors.gray600,";font-weight:600;}.arrow{width:8px;transition:all 0.2s ease;&[data-reverse='true']{transform:rotateZ(-180deg);}}.fruit-icon{margin-right:16px;}.mobile-text{font-weight:600;}.mobile-arrow{margin-left:auto;transform:rotateZ(90deg);transition:all 0.2s ease;&[data-reverse='true']{transform:rotateZ(-90deg);}}"),M=(0,x.Z)("span",{target:"e14796m77"})("display:inline-block;overflow:hidden;width:",e=>e.size,"px;height:",e=>e.size,"px;background-color:",e=>e.color,";background-repeat:no-repeat;-webkit-mask-image:url(",e=>e.iconSrc,");mask-image:url(",e=>e.iconSrc,");mask-position:center;-webkit-mask-size:contain;mask-size:contain;"),z=(0,x.Z)("div",{target:"e14796m78"})("display:inline-flex;overflow:hidden;width:",e=>e.size,"px;height:",e=>e.size,"px;box-sizing:border-box;align-items:center;justify-content:center;border:1px solid #e4e8ec;background-color:",e=>e.backgroundColor||(null===o.r||void 0===o.r?void 0:o.r.colors.white),";border-radius:",e=>e.borderRadius||"50%",";& > *{width:",e=>e.iconSize,"px;height:",e=>e.iconSize,"px;}"),N=(0,x.Z)("div",{target:"e14796m79"})("display:flex;align-items:center;justify-content:center;border-radius:50%;width:40px;height:40px;background-color:#ffffff;box-shadow:0px 10px 16px rgba(0,0,0,0.04),0px 2px 8px rgba(0,0,0,0.04),0px 0px 1px rgba(0,0,0,0.04);z-index:1;&.slick-arrow::before{display:none;}"),E=(0,x.Z)("div",{target:"e14796m710"})("width:100%;background-color:",null===o.r||void 0===o.r?void 0:o.r.colors.pink50,";position:relative;.mantine-Popover-dropdown{padding:8px;background:",null===o.r||void 0===o.r?void 0:o.r.colors.neutral50,";border-radius:4px;text-align:center;pointer-events:all;}"),S=(0,x.Z)(b.i,{target:"e14796m711"})("transform:translateY(-4px);z-index:0;pointer-events:none;user-select:none;.mantine-Slider-bar{background-color:",null===o.r||void 0===o.r?void 0:o.r.colors.pink600,";border-radius:0;}.mantine-Slider-track{background-color:",null===o.r||void 0===o.r?void 0:o.r.colors.neutral200,";height:12px;border-radius:0;&::before{border-radius:0;}}.mantine-Slider-thumb{background-color:",null===o.r||void 0===o.r?void 0:o.r.colors.pink600,";border:2px solid #ffffff;}.mantine-Slider-markFilled{border-color:",null===o.r||void 0===o.r?void 0:o.r.colors.pink600,";}"),NextArrow=e=>{let{onClick:t,className:r}=e;return(0,i.tZ)(N,{onClick:t,className:r,children:(0,i.tZ)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:(0,i.tZ)("path",{d:"M13.071 12.0002L9.24995 8.17915C8.83595 7.76515 8.83595 7.09315 9.24995 6.67915C9.66395 6.26515 10.336 6.26515 10.75 6.67915L15.364 11.2932C15.755 11.6842 15.755 12.3172 15.364 12.7072L10.75 17.3212C10.336 17.7352 9.66395 17.7352 9.24995 17.3212C8.83595 16.9072 8.83595 16.2352 9.24995 15.8212L13.071 12.0002Z",fill:"#595959"})})})},PreviousArrow=e=>{let{onClick:t,className:r}=e;return(0,i.tZ)(N,{onClick:t,className:r,children:(0,i.tZ)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:(0,i.tZ)("path",{d:"M10.929 12.0002L14.75 8.17915C15.164 7.76515 15.164 7.09315 14.75 6.67915C14.336 6.26515 13.664 6.26515 13.25 6.67915L8.63605 11.2932C8.24505 11.6842 8.24505 12.3172 8.63605 12.7072L13.25 17.3212C13.664 17.7352 14.336 17.7352 14.75 17.3212C15.164 16.9072 15.164 16.2352 14.75 15.8212L10.929 12.0002Z",fill:"#595959"})})})};var F=r("ake8"),A=r("+6Eu"),D=r("oZWv"),X=r("Eso5"),I=r("XiKa"),L=r.n(I),W=r("CJtR");let WeekDetail=e=>{let{currentWeekDetail:t,disabledRecommendation:r}=e,{locale:n}=(0,h.h)(),{formatMessage:l}=(0,d.Z)(),c=(0,a.useMemo)(()=>[{label:l({id:"weekOfPregnancy.size.height",defaultMessage:"Height:"}),value:t.height,unit:"cm"},{label:l({id:"weekOfPregnancy.size.weight",defaultMessage:"Weight:"}),value:t.weight,unit:"kg"}].filter(e=>e.value&&"0"!==e.value),[t]);return(0,i.BX)(C,{children:[(0,i.tZ)("div",{className:"infant-image",children:(0,i.tZ)("img",{loading:"lazy",src:t.icon||"".concat(u.Nr,"/infant.png"),alt:"Infant"})}),t.description&&t.name&&(0,i.BX)("div",{className:"detail",children:[(0,i.tZ)(F.H,{tag:"h4",color:o.r.colors.gray800,children:t.name}),(0,i.BX)(D.T,{as:"span",size:"p3",color:o.r.colors.gray700,children:[(0,i.tZ)("div",{dangerouslySetInnerHTML:{__html:L()(t.description,{allowedTags:!1,allowedAttributes:!1,allowVulnerableTags:!0})}}),(0,i.tZ)(D.T,{as:"span",size:"p3",children:c.map((e,t)=>(0,i.BX)(X.x,{component:"span",sx:e=>({[e.fn.smallerThan("sm")]:{display:"flex",flexDirection:"column",".divider":{display:"none"}}}),children:[(0,i.BX)("span",{children:[e.label," ",(0,i.BX)(D.T,{size:"s2",weight:"semiBold",as:"span",children:[e.value," ",e.unit]})]}),t{t.permalink&&(window.location.href=t.permalink)},children:(0,i.tZ)(D.T,{size:"s3",weight:"semiBold",color:o.r.colors.pink800,children:l({id:"weekOfPregnancy.recommendations",defaultMessage:"Recommendation"})})})]})]})};var R=r("uwjA"),j=r("LES+"),q=r("YFqc"),H=r.n(q),K=r("3Pfo");let Trimeter=e=>{let{currentWeek:t,...r}=e,{formatMessage:o}=(0,d.Z)(),{locale:n}=(0,h.h)(),l=(0,g.d)(),[c,s]=(0,a.useState)(t+1);(0,a.useEffect)(()=>{s(t+1)},[t]);let p=40-c,u=(0,a.useMemo)(()=>c<14?0:c>=27?2:1,[c]),m=K.r$[n][u];return(0,i.tZ)(E,{...r,children:(0,i.BX)(j.J,{opened:c>=4,position:"top",withArrow:!0,shadow:"md",arrowOffset:10,children:[(0,i.tZ)(S,{thumbChildren:(0,i.tZ)(j.J.Target,{children:(0,i.tZ)("div",{},c)}),min:1,max:40,value:c,thumbSize:20,size:"lg",showLabelOnHover:!1,marks:[{value:13},{value:26}],labelAlwaysOn:!1}),(0,i.tZ)(j.J.Dropdown,{children:(0,i.BX)("div",{children:[(0,i.tZ)(H(),{href:m,prefetch:!1,children:(0,i.tZ)(R.T,{size:"n1",type:"semiBold",children:(()=>{switch(u){case 0:return o({id:"dueDatePage.firstTrimester",defaultMessage:"1st Trimester"});case 1:return o({id:"dueDatePage.secondTrimester",defaultMessage:"2nd Trimester"});case 2:return o({id:"dueDatePage.thirdTrimester",defaultMessage:"3rd Trimester"});default:return""}})()})}),40!==c&&!l&&(0,i.tZ)(R.T,{size:"n1",children:1===p?o({id:"dueDateTool.weekToGo.one",defaultMessage:"1 week to go"}):p<=0?o({id:"dueDateTool.weekToGo.outOfRange",defaultMessage:"Anytime now"}):o({id:"dueDateTool.weekToGo",defaultMessage:"{week} weeks to go"},{week:p})})]})})]})})};var P=r("o0qI");let G=[m.MV.Myanmar,m.MV.Taiwan],Pill=e=>{let{iconSrc:t,title:r,className:n,onSelect:l}=e,d=(0,p.U)(),c=(0,a.useMemo)(()=>null==n?void 0:n.includes("selected-week-pill"),[n]),{locale:s}=(0,h.h)();return(0,i.BX)(y,{...(0,f._o)(f.Kj.WEEK_PREGNANCY,"",{key:"label",value:d}),onClick:()=>{null==l||l()},className:n?"week-pill".concat(" non-pointer-event-child ",n):"week-pill non-pointer-event-child",children:[(0,i.tZ)(z,{size:64,iconSize:40,backgroundColor:o.r.colors.white,children:(0,i.tZ)("img",{loading:"lazy",src:t||"".concat(u.Nr,"/week_default.png"),alt:""})}),c?(0,i.tZ)(D.T,{weight:"semiBold",size:"n1",color:o.r.colors.gray800,...G.includes(s)&&{style:{fontSize:"10px"}},children:r}):(0,i.tZ)(D.T,{size:"n1",color:o.r.colors.gray600,...G.includes(s)&&{style:{fontSize:"10px"}},children:r})]})},WeekOfPregnancy=e=>{let{isArticle:t=!1,data:r,onSelectWeek:n,className:p,defaultWeekIndex:h,withStickyScroll:u,disabledRecommendation:m=!1}=e,{formatMessage:f}=(0,d.Z)(),x=(0,g.d)(),{state:{isLoggedIn:v}}=(0,a.useContext)(P.I),[b,y]=(0,a.useState)(h||0),C=(0,a.useMemo)(()=>!!(t&&void 0!==h&&h===b),[h,b,t]),N=r[b],[E,S]=(0,a.useState)(0),[F,A]=(0,a.useState)(!1),[X,I]=(0,a.useState)(!1),getWeekNearby=e=>{let t=r.length,i=b+e;return i>=t?i-=t:i<0&&(i+=t),i},generateClassName=e=>e===b?"selected-week-pill":(x?[-1,1]:[-3,-2,-1,1,2,3]).map(e=>getWeekNearby(e)).includes(e)?void 0:(x?[-4,-3,-2,2,3,4]:[-4,4]).map(e=>getWeekNearby(e)).includes(e)?"opacity-50":"opacity-10",handleSelectWeek=e=>{y(e),n&&n(e)},L=(0,a.useRef)(0);return(0,a.useEffect)(()=>{let e=document.querySelector("html");if(u){let t=l()(()=>{var t,r;window.scrollY>L.current?window.scrollY>=u.scrollYFrom&&A(!0):(A(!1),I(!1)),L.current=window.scrollY,S(window.scrollY/((null!==(t=null==e?void 0:e.scrollHeight)&&void 0!==t?t:0)-(null!==(r=null==e?void 0:e.clientHeight)&&void 0!==r?r:0)||1))},200);return window.addEventListener("scroll",t,{passive:!0}),()=>{window.removeEventListener("scroll",t)}}},[]),(0,i.BX)("div",{className:p,children:[v&&(0,i.tZ)(Trimeter,{currentWeek:b}),(0,i.tZ)(w,{children:(0,i.tZ)(s.W,{children:(0,i.tZ)(Z,{className:"main-content",children:(0,i.BX)(k,{children:[r.length?(0,i.tZ)(B,{"data-is-sticky":u&&F,"data-visible":X,children:(0,i.tZ)(c.Z,{infinite:!0,swipeToSlide:!0,slidesToShow:11,slidesToScroll:1,focusOnSelect:!0,speed:300,centerMode:!0,beforeChange:(e,t)=>handleSelectWeek(t),initialSlide:h||0,arrows:!x,nextArrow:(0,i.tZ)(NextArrow,{}),prevArrow:(0,i.tZ)(PreviousArrow,{}),children:r.map((e,t)=>(0,i.tZ)("div",{className:"centered-pill-wrapper",children:(0,i.tZ)(Pill,{className:generateClassName(t),title:null==e?void 0:e.name,iconSrc:null==e?void 0:e.fruit_icon})},t))})}):void 0,N&&(0,i.tZ)(WeekDetail,{currentWeekDetail:N,disabledRecommendation:m||C})]})})})}),u&&(0,i.tZ)(i.HY,{children:(0,i.tZ)(T,{"data-visible":F,style:{"--reading-progress":E},children:x?(0,i.BX)("div",{className:"mobile-container",onClick:()=>I(e=>!e),children:[(0,i.tZ)(z,{iconSize:24,size:32,backgroundColor:o.r.colors.white,className:"fruit-icon",children:(0,i.tZ)("img",{loading:"lazy",src:(null==N?void 0:N.fruit_icon)||"/icons/week_carrot.svg",alt:""})}),(0,i.tZ)(D.T,{size:"p3",color:o.r.colors.white,className:"mobile-text",children:null==N?void 0:N.name}),(0,i.tZ)(M,{className:"mobile-arrow",color:o.r.colors.white,iconSrc:"/icons/chevron.svg",size:18,"data-reverse":X})]}):(0,i.BX)(s.W,{className:"container",children:[(0,i.tZ)("img",{loading:"lazy",className:"mb-logo",src:"/images/mb-logo.svg",alt:"",onClick:()=>window.location.href=window.location.origin}),(0,i.BX)("div",{className:"clickable-area",onClick:()=>I(e=>!e),children:[(0,i.BX)(D.T,{className:"text",size:"label1",children:[f({id:"weekOfPregnancy.title"}),":"," ",null==N?void 0:N.name]}),(0,i.tZ)("img",{loading:"lazy",className:"arrow","data-reverse":X,src:"/svg/arrow.svg",alt:""})]})]})})})]})}},ImXE:function(e,t,r){r.d(t,{s:function(){return WorkshopCard}});var i=r("BGKE"),a=r("dDsW"),o=r("rIrU"),n=r("rBCA"),l=r("iBNF"),d=r("Efqo");let c=(0,n.Z)("div",{target:"e100ev520"})("background:#ffffff;border-radius:",l.r.borderRadius,";filter:drop-shadow(0px 4px 8px rgba(0,0,0,0.04))\n drop-shadow(0px 0px 2px rgba(0,0,0,0.06))\n drop-shadow(0px 0px 1px rgba(0,0,0,0.04));"),s=(0,n.Z)("div",{target:"e100ev521"})("width:100%;height:400px;background-image:url('",e=>e.banner,"');background-position:top center;background-repeat:no-repeat;background-size:cover;",d.M.mbUp,"{padding:40px 21px 40px 24px;}",d.M.mbDown,"{padding:32px 16px;}"),p=(0,n.Z)("div",{target:"e100ev522"})(d.M.mbUp,"{padding:16px 21px 40px 21px;}",d.M.mbDown,"{padding:16px 16px 32px 16px;}"),g=(0,n.Z)("div",{target:"e100ev523"})("display:flex;align-items:center;gap:8px;"),h=(0,n.Z)("img",{target:"e100ev524"})("width:20px;height:20px;"),u=(0,n.Z)("p",{target:"e100ev525"})("display:-webkit-box;overflow:hidden;margin-top:4px;-webkit-box-orient:vertical;font-size:18px;font-weight:400;letter-spacing:-0.2px;-webkit-line-clamp:1;line-height:32px;"),m=(0,n.Z)("div",{target:"e100ev526"})("width:fit-content;padding:9px 24px;margin:24px auto 0 auto;background:",l.r.colors.primaryBase,";border-radius:",l.r.borderRadius,";color:#ffffff;cursor:pointer;font-size:14px;font-weight:700;line-height:22px;",e=>e.disabled&&"background: ".concat(l.r.colors.neutral700,";\n pointer-events: none;\n cursor: not-allowed;")),f=(0,n.Z)("a",{target:"e100ev527"})("display:-webkit-box;overflow:hidden;margin-top:4px;-webkit-box-orient:vertical;font-size:18px;font-weight:400;letter-spacing:-0.2px;-webkit-line-clamp:1;line-height:32px;text-decoration:none;&[href]{color:",l.r.colors.primaryBase,";}"),WorkshopCard=e=>{let{workshop:t,onSubscribe:r}=e,{formatMessage:n}=(0,a.Z)();return(0,i.BX)(c,{children:[(0,i.tZ)(s,{banner:t.image}),(0,i.BX)(p,{children:[(0,i.BX)(g,{children:[(0,i.tZ)(h,{src:"".concat(o.uQ,"/calendar.svg")}),(0,i.tZ)(u,{children:t.time})]}),(0,i.BX)(g,{children:[(0,i.tZ)(h,{src:"".concat(o.uQ,"/clock.svg")}),(0,i.tZ)(u,{children:t.timeRange})]}),(0,i.BX)(g,{children:[(0,i.tZ)(h,{src:"".concat(o.uQ,"/location.svg")}),(0,i.tZ)(f,{title:t.location,href:t.locationUrl||void 0,target:"_blank",children:t.location})]}),(0,i.tZ)(m,{disabled:!t.active,onClick:()=>r(t),children:n(t.active?{id:"spotlight.workshop.subscribeNow",defaultMessage:"Subscribe Now"}:{id:"spotlight.workshop.comingSoon",defaultMessage:"Coming Soon"})})]})]})}},KdIF:function(e,t,r){r.d(t,{Fy:function(){return h},LK:function(){return p},T7:function(){return f},Ts:function(){return c},VE:function(){return d},Y9:function(){return m},ar:function(){return g},bp:function(){return u},pM:function(){return s}});var i=r("rBCA"),a=r("NXds"),o=r("iBNF"),n=r("Efqo"),l=r("yq/2");let d=(0,i.Z)("div",{target:"e1h70x2o0"})(),c=(0,i.Z)("div",{target:"e1h70x2o1"})("border-bottom:1px solid ",o.r.colors.neutral100,";"),s=(0,i.Z)("p",{target:"e1h70x2o2"})("padding-bottom:8px;color:",o.r.colors.secondaryBase,";font-size:16px;font-weight:700;line-height:24px;"),p=(0,i.Z)("div",{target:"e1h70x2o3"})("padding:24px 0;",n.M.mbDown,"{max-height:calc(100vh - 200px);overflow:hidden auto;}"),g=(0,i.Z)("label",{target:"e1h70x2o4"})("display:block;margin-bottom:6px;color:",o.r.colors.gray600,";font-size:12px;font-weight:700;line-height:18px;"),h=(0,i.Z)("input",{target:"e1h70x2o5"})("padding:12px 16px;border:1px solid #d9d9d9;margin:0 0 16px 0;border-radius:",o.r.borderRadius,";font-size:16px;font-weight:400;line-height:24px;"),u=(0,i.Z)(a.S,{target:"e1h70x2o6"})(n.M.mbUp,"{.arrow-right{right:-10px;cursor:pointer;svg{fill:white;}}.arrow-left{left:-10px;cursor:pointer;svg{fill:white;}}}"),m=(0,i.Z)(l.s,{target:"e1h70x2o7"})("margin-bottom:16px;"),f=(0,i.Z)("button",{target:"e1h70x2o8"})("padding:12px 24px;margin-top:32px;background:",o.r.colors.primaryBase,";border-radius:",o.r.borderRadius,";color:",o.r.colors.white,";cursor:pointer;font-size:16px;font-weight:700;line-height:24px;&[disabled]{background:",o.r.colors.neutral500,";cursor:not-allowed;}")},XP8w:function(e,t,r){r.d(t,{j:function(){return WorkshopForm}});var i=r("BGKE"),a=r("q1tI"),o=r("hEia"),n=r("p46w"),l=r.n(n),d=r("dDsW"),c=r("oQBk"),s=r("xIXX"),p=r("CJtR"),g=r("g/tz"),h=r("iv2E"),u=r("P5LW"),m=r("rIrU"),f=r("o0qI"),x=r("KdIF"),v=r("rBCA"),b=r("iBNF");let w=(0,v.Z)("div",{target:"e18uvpad0"})("padding:24px 32px;background-color:",b.r.colors.neutral50,";border-radius:",b.r.borderRadius,";cursor:pointer;"),Z=(0,v.Z)("div",{target:"e18uvpad1"})("position:relative;"),y=(0,v.Z)("img",{target:"e18uvpad2"})("position:absolute;top:0;right:0;width:24px;height:24px;"),k=(0,v.Z)("p",{target:"e18uvpad3"})("color:",b.r.colors.primaryBase,";font-family:'Inter';font-size:12px;font-weight:700;line-height:18px;text-transform:uppercase;"),B=(0,v.Z)("h4",{target:"e18uvpad4"})("display:-webkit-box;overflow:hidden;min-height:56px;padding-right:24px;-webkit-box-orient:vertical;color:",b.r.colors.secondaryBase,";font-family:'Inter';font-size:18px;font-style:normal;font-weight:700;letter-spacing:-0.6px;-webkit-line-clamp:2;line-height:28px;"),C=(0,v.Z)("div",{target:"e18uvpad5"})("margin-top:20px;"),T=(0,v.Z)("div",{target:"e18uvpad6"})("display:flex;align-items:center;margin-bottom:4px;gap:8px;"),M=(0,v.Z)("img",{target:"e18uvpad7"})("width:20px;height:20px;"),z=(0,v.Z)("p",{target:"e18uvpad8"})("display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;font-size:16px;font-weight:400;letter-spacing:-0.2px;-webkit-line-clamp:1;line-height:28px;"),N=(0,v.Z)("div",{target:"e18uvpad9"})("display:flex;flex-wrap:wrap;justify-content:space-around;margin-top:16px;gap:20px;> div{width:calc(50% - 12px);}"),E=(0,v.Z)("div",{target:"e18uvpad10"})("display:flex;min-height:134px;flex-direction:column;align-items:center;"),S=(0,v.Z)("img",{target:"e18uvpad11"})("width:64px;height:64px;background:white;border-radius:50%;object-fit:cover;"),F=(0,v.Z)("p",{target:"e18uvpad12"})("display:-webkit-box;overflow:hidden;margin-top:8px;-webkit-box-orient:vertical;font-size:14px;font-weight:700;letter-spacing:-0.2px;-webkit-line-clamp:2;line-height:22px;text-align:center;"),A=(0,v.Z)("p",{target:"e18uvpad13"})("display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;font-size:12px;font-weight:400;-webkit-line-clamp:2;line-height:18px;text-align:center;"),InfluencerInfo=e=>{let{influencer:t}=e;return(0,i.BX)(E,{children:[(0,i.tZ)(S,{src:t.avatar}),(0,i.tZ)(F,{children:t.name}),(0,i.tZ)(A,{children:t.job_title})]})},WorkshopSelectCard=e=>{let{workshop:t,isSelected:r,onSelected:a}=e,{formatMessage:o}=(0,d.Z)();return(0,i.tZ)(w,{onClick:()=>a(t),children:(0,i.BX)(Z,{children:[(0,i.tZ)(y,{src:"".concat(m.uQ,"/checkbox-").concat(r?"check":"uncheck",".svg")}),(0,i.tZ)(k,{children:t.type}),(0,i.tZ)(B,{children:t.name}),(0,i.BX)(C,{children:[(0,i.BX)(T,{children:[(0,i.tZ)(M,{src:"".concat(m.uQ,"/calendar.svg")}),(0,i.tZ)(z,{children:t.time})]}),(0,i.BX)(T,{children:[(0,i.tZ)(M,{src:"".concat(m.uQ,"/location.svg")}),(0,i.tZ)(z,{children:t.location})]}),(0,i.BX)(T,{children:[(0,i.tZ)(M,{src:"".concat(m.uQ,"/user.svg")}),(0,i.tZ)(z,{children:o({id:"spotlight.landing.workshop.influencer",defaultMessage:"Influencer"})})]}),(0,i.tZ)(N,{children:t.influencers&&t.influencers.map((e,t)=>(0,i.tZ)(InfluencerInfo,{influencer:e},t))})]})]})})},WorkshopForm=e=>{let{isOpen:t,onClose:r,workshops:n,isMobile:v,chosenWorkshop:b,onSuccess:w}=e,[Z,y]=(0,a.useState)(!1),[k,B]=(0,a.useState)([]),{state:C}=(0,a.useContext)(f.I),{locale:T}=(0,u.h)(),{userInfo:M,isLoggedIn:z}=C,N=(0,a.useRef)(null),E=(0,a.useRef)(null),S=(0,a.useRef)(null),[F,A]=(0,a.useState)((null==M?void 0:M.area_code)||m.CX[T].PHONE),[D,X]=(0,a.useState)(0),{formatMessage:I}=(0,d.Z)(),handleSubmit=async e=>{var t,r,i;y(!0),e.preventDefault();let a=null===(t=N.current)||void 0===t?void 0:t.value,o=(null===(r=S.current)||void 0===r?void 0:r.value)||"",n="".concat(F).concat((null===(i=E.current)||void 0===i?void 0:i.value)||"");if(k.length>0){let e=await Promise.all(k.map(e=>{var t,r,i,l,d;return(0,s.uu)((0,p.DS)(c.y.LEADGEN.POST_LEAD_LEAD,{campaignCode:e.campaignId}),"POST",{data:{url:null===(r=window)||void 0===r?void 0:null===(t=r.location)||void 0===t?void 0:t.href,title_article:null===(i=document)||void 0===i?void 0:i.title,referrer:null===(d=window)||void 0===d?void 0:null===(l=d.location)||void 0===l?void 0:l.href,meta:[{key:"workshop title",value:e.name,control:"text"},{key:"full-name",value:a,control:"text"},{key:"email",value:o,control:"email"},{key:"phone",value:n,control:"tel"}]}}).then(e=>(null==e?void 0:e._status)===1)}));e.includes(!1)||(z?(B([]),null==w||w()):(l().set(m.jE,o,{domain:".".concat(h.domainLocales[T])}),l().set(m.a3,n,{domain:".".concat(h.domainLocales[T])}),(0,g.p0)("","workshop-register","workshop-success"))),y(!1)}};(0,a.useEffect)(()=>{X(n.findIndex(e=>e===b))},[b,n]),(0,a.useEffect)(()=>{b&&!k.find(e=>e===b)&&B(e=>[...e,b])},[b]);let onSelectedWorkshop=e=>{k.find(t=>t===e)?B(t=>t.filter(t=>t!==e)):B(t=>[...t,e])};return(0,i.tZ)(o.M,{closeIcon:(0,i.tZ)("img",{loading:"lazy",src:"".concat(m.Nr,"/close-icon.svg"),alt:"close-btn"}),type:v?"confirm":"form",isOpen:t,onClose:()=>{B([]),r()},children:(0,i.BX)(x.VE,{children:[(0,i.tZ)(x.Ts,{children:(0,i.tZ)(x.pM,{children:I({id:"spotlight.landing.workshopForm.title",defaultMessage:"Register to join the workshop"})})}),(0,i.tZ)(x.LK,{children:(0,i.BX)("form",{onSubmit:handleSubmit,children:[(0,i.tZ)(x.ar,{htmlFor:"name",children:I({id:"spotlight.landing.workshopForm.name",defaultMessage:"Name"})}),(0,i.tZ)(x.Fy,{ref:N,name:"name",placeholder:I({id:"spotlight.landing.workshopForm.name.placeholder",defaultMessage:"Type your name"}),defaultValue:null==M?void 0:M.name,required:!0}),(0,i.tZ)(x.ar,{children:I({id:"spotlight.landing.workshopForm.phone",defaultMessage:"Phone"})}),(0,i.tZ)(x.Y9,{ref:E,defaultValue:{phone:null==M?void 0:M.phone,countryPhoneCode:null==M?void 0:M.area_code},onChangeCode:e=>{A(e.value)},required:!0}),(0,i.tZ)(x.ar,{htmlFor:"email",children:I({id:"spotlight.landing.workshopForm.email",defaultMessage:"Email"})}),(0,i.tZ)(x.Fy,{name:"email",ref:S,placeholder:I({id:"spotlight.landing.workshopForm.email.placeholder",defaultMessage:"Type your email"}),defaultValue:null==M?void 0:M.email,type:"email",required:!0}),(0,i.tZ)(x.ar,{children:I({id:"spotlight.landing.workshopForm.workshop",defaultMessage:"Choose workshop"})}),(0,i.tZ)(x.bp,{arrowType:"Care",page:D,onChangePage:X,row:1,column:1,isDotsShown:v&&n.length>1,isArrowShown:!v,distanceOverlappedLeft:{amount:16,unit:"pixel"},mode:"snapped",children:n.map((e,t)=>(0,i.tZ)(WorkshopSelectCard,{isSelected:!!k.find(t=>t===e),workshop:e,onSelected:onSelectedWorkshop},t))}),(0,i.tZ)(x.T7,{type:"submit",disabled:0===k.length||Z,children:I({id:"spotlight.landing.workshopForm.register",defaultMessage:"Register"})})]})})]})})}},"4AMz":function(e,t,r){r.d(t,{p:function(){return ThankyouPopup}});var i=r("BGKE"),a=r("hEia"),o=r("dDsW"),n=r("rIrU"),l=r("KdIF"),d=r("rBCA"),c=r("iBNF");let s=(0,d.Z)("div",{target:"egavuta0"})("padding:0 16px 32px 16px;text-align:center;"),p=(0,d.Z)("img",{target:"egavuta1"})("width:280px;height:280px;margin:16px auto 0 auto;"),g=(0,d.Z)("h3",{target:"egavuta2"})("font-size:26px;font-weight:700;line-height:36px;"),h=(0,d.Z)("p",{target:"egavuta3"})("margin-top:8px;font-size:16px;font-weight:400;letter-spacing:-0.2px;line-height:28px;"),u=(0,d.Z)("button",{target:"egavuta4"})("padding:12px 16px;margin-top:58px;background-color:",c.r.colors.primaryBase,";border-radius:",c.r.borderRadius,";color:",c.r.colors.white,";cursor:pointer;font-size:16px;font-weight:700;line-height:24px;"),ThankyouPopup=e=>{let{isOpen:t,onClose:r}=e,{formatMessage:d}=(0,o.Z)();return(0,i.BX)(a.M,{closeIcon:(0,i.tZ)("img",{loading:"lazy",src:"".concat(n.Nr,"/close-icon.svg"),alt:"close-btn"}),type:"confirm",isOpen:t,onClose:r,children:[(0,i.tZ)(l.Ts,{children:(0,i.tZ)(l.pM,{children:d({id:"spotlight.landing.workshopForm.title",defaultMessage:"Register to join the workshop"})})}),(0,i.BX)(s,{children:[(0,i.tZ)(p,{src:"".concat(n.uQ,"/success-check.svg")}),(0,i.tZ)(g,{children:d({id:"spotlight.landing.workshopForm.thankyou.title",defaultMessage:"Thank you for registering the workshop"})}),(0,i.tZ)(h,{children:d({id:"spotlight.landing.workshopForm.thankyou.description",defaultMessage:"Thank you for registering the workshop"})}),(0,i.tZ)(u,{onClick:r,children:d({id:"spotlight.landing.workshopForm.thankyou.finish",defaultMessage:"Finish"})})]})]})}}}]);