"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6404],{"1AY9":function(e,t,a){a.d(t,{B:function(){return BabyPoopForm}});var l=a("usZY"),i=a("q1tI"),n=a("/npG"),o=a("mYVa"),r=a("Eso5"),s=a("iuhU"),c=a("srUE"),d=a("5bY3"),p=a("FQi+"),m=a("68DG"),h=a("WdVV"),g=(0,n.k)((e,{hasOnClickFn:t})=>({root:{position:"relative",display:"flex",flexDirection:"column",gap:(0,o.h)(16)},sponsorBox:{display:"flex",gap:(0,o.h)(12),alignItems:"center",backgroundColor:e.colors.neutral[0],border:`1px solid ${e.colors.neutral[1]}`,borderRadius:(0,o.h)(4),padding:"4px 12px",alignSelf:"flex-start"},sponsorLogo:{maxHeight:(0,o.h)(32)},btn:{minWidth:(0,o.h)(180),[e.fn.largerThan("sm")]:{alignSelf:"flex-end"},visibility:t?"visible":"hidden"}}));let BabyPoopForm=e=>{var{babyPoopPage:t,onClickFindOut:a,currentUrl:n,sponsorLogo:o,btnProps:u,styles:v,classNames:f}=e,C=(0,l._)(e,["babyPoopPage","onClickFindOut","currentUrl","sponsorLogo","btnProps","styles","classNames"]);let{t:E}=(0,p.u)(),{classes:x}=g({hasOnClickFn:!!a},{name:"BabyPoopForm",styles:v,classNames:f}),{classes:w={}}=(0,i.useContext)(m.C);return i.createElement(h.H.FormRow,null,i.createElement(r.x,Object.assign({className:x.root},C),o&&i.createElement(r.x,{className:x.sponsorBox},i.createElement(c.T,{size:"p4"},E("common.sponsoredBy")),i.createElement("img",{loading:"lazy",src:o,alt:"sponsor",className:x.sponsorLogo})),i.createElement(c.T,{size:"p3",as:"div",className:"description",dangerouslySetInnerHTML:{__html:t.description}}),i.createElement(d.B,Object.assign({className:(0,s.default)(x.btn,w.submitBtn),onClick:a,dataEventCategory:"Health Tool",dataEventAction:"Baby Stool Inquiry",dataEventLabel:n},u),E("babyPoop.findOut"))))}},xt28:function(e,t,a){a.d(t,{I:function(){return s}});var l=a("usZY"),i=a("q1tI"),n=a("iBNF"),o=a("slrV"),r=a("5yHH");let Bookmark=e=>{var{size:t,color:a,useCurrentColor:n,isActive:o,activeColor:r,isMarryBaby:s}=e,c=(0,l._)(e,["size","color","useCurrentColor","isActive","activeColor","isMarryBaby"]);let d=n?"currentColor":o?r:a,p=Object.assign({width:t,height:t},c);return s?i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:"0 0 18 18",fill:"none"},p),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.3355 3.71496C9.79374 3.41194 8.20665 3.41194 6.66487 3.71496C5.25005 3.99302 4.2377 5.21812 4.2377 6.63391V13.7008C4.2377 14.3179 4.92323 14.7217 5.48162 14.3985L7.87185 13.0152C8.56899 12.6117 9.4314 12.6117 10.1285 13.0152L12.5188 14.3985C13.0772 14.7217 13.7627 14.3179 13.7627 13.7008V6.63391C13.7627 5.21812 12.7503 3.99302 11.3355 3.71496ZM6.47685 2.75826C8.14279 2.43084 9.8576 2.43084 11.5235 2.75826C13.3881 3.1247 14.7377 4.74448 14.7377 6.63391V13.7008C14.7377 15.0882 13.2219 15.932 12.0304 15.2424L9.64016 13.8591C9.24513 13.6304 8.75526 13.6304 8.36023 13.8591L5.97001 15.2424C4.77845 15.932 3.2627 15.0882 3.2627 13.7008V6.63391C3.2627 4.74448 4.61234 3.1247 6.47685 2.75826Z",fill:d,stroke:d})):i.createElement("svg",Object.assign({width:t,height:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},p),i.createElement("path",{d:"M12 13.3334L8 10.3704L4 13.3334V3.85187C4 3.53754 4.12041 3.23608 4.33474 3.01382C4.54906 2.79155 4.83975 2.66669 5.14286 2.66669H10.8571C11.1602 2.66669 11.4509 2.79155 11.6653 3.01382C11.8796 3.23608 12 3.53754 12 3.85187V13.3334Z",fill:d,strokeLinecap:"round",strokeLinejoin:"round"}))};Bookmark.defaultProps={size:18,color:n.r.colors.gray600,activeColor:n.r.colors.primaryBase};let Comment=e=>{var{size:t=24,color:a,useCurrentColor:n,isActive:o,activeColor:r,isMarryBaby:s}=e,c=(0,l._)(e,["size","color","useCurrentColor","isActive","activeColor","isMarryBaby"]);let d=n?"currentColor":o?r:a,p=Object.assign({width:t,height:t},c);return s?i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:"0 0 18 18",fill:"none"},p),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.599 2.92689C9.53974 2.67333 8.44007 2.67333 7.38083 2.92688L7.21355 2.96693C5.29637 3.42585 3.77529 4.99134 3.30709 7.02824C3.04637 8.16253 3.04859 9.35772 3.30963 10.4933C3.79199 12.5919 5.20833 14.326 7.09016 15.1306L7.17879 15.1685C7.78633 15.4282 8.5133 15.1259 8.78188 14.4393C8.94923 14.0114 9.35745 13.7068 9.83325 13.7068H10.6293C12.5519 13.7068 14.25 12.3213 14.7108 10.3166C14.9467 9.29055 14.9467 8.22001 14.7108 7.19398L14.6442 6.90409C14.1935 4.94324 12.7294 3.43685 10.8848 2.99531L10.599 2.92689ZM7.15385 1.97867C8.3623 1.6894 9.61751 1.6894 10.826 1.97867L11.1118 2.04709C13.3366 2.57965 15.0655 4.38457 15.5944 6.68567L15.661 6.97557C15.9299 8.14533 15.9299 9.36523 15.661 10.535C15.1055 12.952 13.0368 14.6818 10.6293 14.6818H9.83325C9.7862 14.6818 9.72124 14.7142 9.68989 14.7944C9.23642 15.9538 7.94762 16.5575 6.7955 16.065L6.70688 16.0271C4.52239 15.0931 2.90752 13.0963 2.3594 10.7118C2.06564 9.43373 2.0628 8.08918 2.35687 6.80983C2.90328 4.43267 4.68917 2.56866 6.98657 2.01872L7.15385 1.97867ZM6.0349 6.79267C6.0349 6.52343 6.25317 6.30517 6.5224 6.30517H11.0462C11.3154 6.30517 11.5337 6.52343 11.5337 6.79267C11.5337 7.06191 11.3154 7.28017 11.0462 7.28017H6.5224C6.25317 7.28017 6.0349 7.06191 6.0349 6.79267ZM6.0349 9.38479C6.0349 9.11555 6.25317 8.89729 6.5224 8.89729H9.40115C9.67039 8.89729 9.88865 9.11555 9.88865 9.38479C9.88865 9.65403 9.67039 9.87229 9.40115 9.87229H6.5224C6.25317 9.87229 6.0349 9.65403 6.0349 9.38479Z",fill:d})):i.createElement("svg",Object.assign({width:t,height:t,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},p),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.375 15.8438L9.2625 13.875H8.625C6.95 13.875 5.53125 13.2937 4.36875 12.1312C3.20625 10.9687 2.625 9.55 2.625 7.875C2.625 6.2 3.20625 4.78125 4.36875 3.61875C5.53125 2.45625 6.95 1.875 8.625 1.875C9.4625 1.875 10.2438 2.03125 10.9688 2.34375C11.6938 2.65625 12.3282 3.0845 12.8722 3.6285C13.4158 4.172 13.8438 4.80625 14.1562 5.53125C14.4688 6.25625 14.625 7.0375 14.625 7.875C14.625 9.5875 14.128 11.1405 13.134 12.534C12.1405 13.928 10.8875 15.0312 9.375 15.8438ZM10.5 12.75V13.7625C11.3875 13.0125 12.1092 12.1345 12.6652 11.1285C13.2217 10.122 13.5 9.0375 13.5 7.875C13.5 6.5125 13.0283 5.35925 12.0848 4.41525C11.1408 3.47175 9.9875 3 8.625 3C7.2625 3 6.1095 3.47175 5.166 4.41525C4.222 5.35925 3.75 6.5125 3.75 7.875C3.75 9.2375 4.222 10.3907 5.166 11.3348C6.1095 12.2782 7.2625 12.75 8.625 12.75H10.5ZM5.625 9C6.03921 9 6.375 8.66421 6.375 8.25C6.375 7.83579 6.03921 7.5 5.625 7.5C5.21079 7.5 4.875 7.83579 4.875 8.25C4.875 8.66421 5.21079 9 5.625 9ZM9.375 8.25C9.375 8.66421 9.03921 9 8.625 9C8.21079 9 7.875 8.66421 7.875 8.25C7.875 7.83579 8.21079 7.5 8.625 7.5C9.03921 7.5 9.375 7.83579 9.375 8.25ZM11.625 9C12.0392 9 12.375 8.66421 12.375 8.25C12.375 7.83579 12.0392 7.5 11.625 7.5C11.2108 7.5 10.875 7.83579 10.875 8.25C10.875 8.66421 11.2108 9 11.625 9Z",fill:d}))};Comment.defaultProps={size:24,color:n.r.colors.gray600,activeColor:n.r.colors.primaryBase};let Eye=e=>{var{size:t,color:a,useCurrentColor:n,isActive:o,activeColor:r}=e,s=(0,l._)(e,["size","color","useCurrentColor","isActive","activeColor"]);let c=Object.assign({width:t,height:t},s);return i.createElement("svg",Object.assign({width:t,height:t,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 18 18",fill:"none"},c),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.00036 11.6827C9.85018 11.6827 10.572 11.3852 11.1657 10.7903C11.7595 10.1955 12.0563 9.4731 12.0563 8.62328C12.0563 7.77346 11.7589 7.05168 11.164 6.45793C10.5691 5.86418 9.84678 5.56731 8.99695 5.56731C8.14714 5.56731 7.42536 5.86474 6.83161 6.45962C6.23786 7.05451 5.94098 7.77686 5.94098 8.62669C5.94098 9.4765 6.23842 10.1983 6.83329 10.792C7.42818 11.3858 8.15054 11.6827 9.00036 11.6827ZM8.99866 10.65C8.43616 10.65 7.95803 10.4531 7.56428 10.0594C7.17053 9.66561 6.97366 9.18748 6.97366 8.62498C6.97366 8.06248 7.17053 7.58436 7.56428 7.19061C7.95803 6.79686 8.43616 6.59998 8.99866 6.59998C9.56116 6.59998 10.0393 6.79686 10.433 7.19061C10.8268 7.58436 11.0237 8.06248 11.0237 8.62498C11.0237 9.18748 10.8268 9.66561 10.433 10.0594C10.0393 10.4531 9.56116 10.65 8.99866 10.65ZM8.99866 13.875C7.41982 13.875 5.97584 13.4538 4.66671 12.6115C3.35757 11.7692 2.31263 10.661 1.53186 9.28699C1.46936 9.1793 1.42369 9.07077 1.39484 8.96139C1.36599 8.85201 1.35156 8.73974 1.35156 8.62461C1.35156 8.50947 1.36599 8.39734 1.39484 8.28821C1.42369 8.17908 1.46936 8.07066 1.53186 7.96298C2.31263 6.58894 3.35757 5.48077 4.66671 4.63847C5.97584 3.79616 7.41982 3.375 8.99866 3.375C10.5775 3.375 12.0215 3.79616 13.3306 4.63847C14.6397 5.48077 15.6847 6.58894 16.4655 7.96298C16.528 8.07066 16.5736 8.17919 16.6025 8.28857C16.6313 8.39796 16.6457 8.51022 16.6457 8.62536C16.6457 8.74049 16.6313 8.85263 16.6025 8.96175C16.5736 9.07089 16.528 9.1793 16.4655 9.28699C15.6847 10.661 14.6397 11.7692 13.3306 12.6115C12.0215 13.4538 10.5775 13.875 8.99866 13.875ZM8.99866 12.75C10.4112 12.75 11.708 12.3781 12.8893 11.6344C14.0705 10.8906 14.9737 9.88748 15.5987 8.62498C14.9737 7.36248 14.0705 6.35936 12.8893 5.61561C11.708 4.87186 10.4112 4.49998 8.99866 4.49998C7.58616 4.49998 6.28928 4.87186 5.10803 5.61561C3.92678 6.35936 3.02366 7.36248 2.39866 8.62498C3.02366 9.88748 3.92678 10.8906 5.10803 11.6344C6.28928 12.3781 7.58616 12.75 8.99866 12.75Z",fill:n?"currentColor":o?r:a}))};Eye.defaultProps={size:18,color:n.r.colors.gray600,activeColor:n.r.colors.primaryBase};let Heart=e=>{var{size:t,color:a,useCurrentColor:n,isActive:o,activeColor:r,isSolid:s,isMarryBaby:c}=e,d=(0,l._)(e,["size","color","useCurrentColor","isActive","activeColor","isSolid","isMarryBaby"]);let p=n?"currentColor":o?r:a,m=Object.assign({width:t,height:t},d);return c?i.createElement(i.Fragment,null,s?i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:"0 0 18 18"},m),i.createElement("path",{d:"M11.6031 3.04013C10.6484 3.17142 9.69193 3.6234 9 4.35668C8.30807 3.6234 7.35165 3.17142 6.39686 3.04013C5.18501 2.87348 3.86243 3.21318 3.04413 4.29816C1.98529 5.70207 1.98529 7.69046 3.04413 9.09438L6.56464 13.7622C7.80938 15.4126 10.1906 15.4126 11.4354 13.7622L14.9559 9.09438C16.0147 7.69047 16.0147 5.70207 14.9559 4.29816C14.1376 3.21318 12.815 2.87348 11.6031 3.04013Z",fill:p})):i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:"0 0 18 18",fill:"none"},m),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.8649 2.55606C13.1604 2.37549 14.5506 2.74705 15.4034 3.89319C16.5158 5.38825 16.5158 7.50379 15.4034 8.99885L11.5528 14.1739C10.2498 15.9252 7.75064 15.9252 6.44757 14.1739L2.597 8.99885C1.48459 7.50378 1.48459 5.38825 2.59701 3.89319C3.4498 2.74705 4.84003 2.37549 6.1355 2.55606C7.2032 2.70488 8.26445 3.23358 9.00019 4.08277C9.73594 3.23358 10.7972 2.70488 11.8649 2.55606ZM11.9995 3.52172C10.957 3.66704 9.95441 4.26136 9.4191 5.16067L9.0002 5.86442L8.58129 5.16067C8.04598 4.26136 7.0434 3.66704 6.0009 3.52172C4.96111 3.37679 3.96672 3.68564 3.37923 4.47521C2.52385 5.62483 2.52385 7.26721 3.37923 8.41682L7.22979 13.5919C8.143 14.8192 9.85739 14.8192 10.7706 13.5919L14.6212 8.41683C15.4765 7.26721 15.4765 5.62483 14.6212 4.47521C14.0337 3.68563 13.0393 3.37679 11.9995 3.52172Z",fill:p}))):i.createElement(i.Fragment,null,s?i.createElement("svg",Object.assign({width:t,height:t,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 18 18"},m),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.0125 13.4437L8.08125 14.4375C8.34375 14.6625 8.65 14.775 9 14.775C9.35 14.775 9.65625 14.6562 9.91875 14.4187L10.9688 13.4625C12.2812 12.275 13.4688 11.0905 14.5312 9.90899C15.5938 8.72799 16.125 7.46249 16.125 6.11249C16.125 5.04999 15.7655 4.15924 15.0465 3.44024C14.328 2.72174 13.4375 2.36249 12.375 2.36249C11.775 2.36249 11.1783 2.50299 10.5848 2.78399C9.99075 3.06549 9.4625 3.51874 9 4.14374C8.5375 3.51874 8.0095 3.06549 7.416 2.78399C6.822 2.50299 6.225 2.36249 5.625 2.36249C4.5625 2.36249 3.672 2.72174 2.9535 3.44024C2.2345 4.15924 1.875 5.04999 1.875 6.11249C1.875 7.44999 2.397 8.70299 3.441 9.87149C4.4845 11.0405 5.675 12.2312 7.0125 13.4437Z",fill:p})):i.createElement("svg",Object.assign({width:t,height:t,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 18 18",fill:"none"},m),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.0125 13.4437L8.08125 14.4375C8.34375 14.675 8.65 14.7937 9 14.7937C9.35 14.7937 9.65625 14.6687 9.91875 14.4187L10.9688 13.4625C12.2812 12.275 13.4688 11.0905 14.5312 9.90899C15.5938 8.72799 16.125 7.46249 16.125 6.11249C16.125 5.04999 15.7655 4.15924 15.0465 3.44024C14.328 2.72174 13.4375 2.36249 12.375 2.36249C11.775 2.36249 11.1783 2.50299 10.5848 2.78399C9.99075 3.06549 9.4625 3.51874 9 4.14374C8.5375 3.51874 8.0095 3.06549 7.416 2.78399C6.822 2.50299 6.225 2.36249 5.625 2.36249C4.5625 2.36249 3.672 2.72174 2.9535 3.44024C2.2345 4.15924 1.875 5.04999 1.875 6.11249C1.875 7.44999 2.397 8.70299 3.441 9.87149C4.4845 11.0405 5.675 12.2312 7.0125 13.4437ZM7.18125 3.91874C7.63125 4.20624 8.05625 4.66249 8.45625 5.28749C8.51875 5.37499 8.6 5.44374 8.7 5.49374C8.8 5.54374 8.9 5.56874 9 5.56874C9.1 5.56874 9.2 5.54374 9.3 5.49374C9.4 5.44374 9.48125 5.37499 9.54375 5.28749C9.94375 4.66249 10.3688 4.20624 10.8188 3.91874C11.2688 3.63124 11.7875 3.48749 12.375 3.48749C13.125 3.48749 13.75 3.73749 14.25 4.23749C14.75 4.73749 15 5.36249 15 6.11249C15 6.71249 14.8063 7.34049 14.4188 7.99649C14.0312 8.65299 13.5437 9.30624 12.9562 9.95624C12.3687 10.6062 11.7345 11.2405 11.0535 11.859C10.372 12.478 9.7375 13.0562 9.15 13.5937C9.1125 13.6312 9.0625 13.65 9 13.65C8.9375 13.65 8.8875 13.6312 8.85 13.5937C8.2625 13.0562 7.628 12.478 6.9465 11.859C6.2655 11.2405 5.63125 10.6062 5.04375 9.95624C4.45625 9.30624 3.96875 8.65299 3.58125 7.99649C3.19375 7.34049 3 6.71249 3 6.11249C3 5.36249 3.25 4.73749 3.75 4.23749C4.25 3.73749 4.875 3.48749 5.625 3.48749C6.2125 3.48749 6.73125 3.63124 7.18125 3.91874Z",fill:p})))};Heart.defaultProps={size:24,color:n.r.colors.gray600,activeColor:n.r.colors.primaryBase};let Save=e=>{var{size:t,color:a,useCurrentColor:n,isActive:o,activeColor:r,isMarryBaby:s}=e,c=(0,l._)(e,["size","color","useCurrentColor","isActive","activeColor","isMarryBaby"]);let d=n?"currentColor":o?r:a,p=Object.assign({width:t,height:t},c);return s?i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:"0 0 18 18",fill:"none"},p),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.3355 3.71496C9.79374 3.41194 8.20665 3.41194 6.66487 3.71496C5.25005 3.99302 4.2377 5.21812 4.2377 6.63391V13.7008C4.2377 14.3179 4.92323 14.7217 5.48162 14.3985L7.87185 13.0152C8.56899 12.6117 9.4314 12.6117 10.1285 13.0152L12.5188 14.3985C13.0772 14.7217 13.7627 14.3179 13.7627 13.7008V6.63391C13.7627 5.21812 12.7503 3.99302 11.3355 3.71496ZM6.47685 2.75826C8.14279 2.43084 9.8576 2.43084 11.5235 2.75826C13.3881 3.1247 14.7377 4.74448 14.7377 6.63391V13.7008C14.7377 15.0882 13.2219 15.932 12.0304 15.2424L9.64016 13.8591C9.24513 13.6304 8.75526 13.6304 8.36023 13.8591L5.97001 15.2424C4.77845 15.932 3.2627 15.0882 3.2627 13.7008V6.63391C3.2627 4.74448 4.61234 3.1247 6.47685 2.75826Z",fill:d})):i.createElement("svg",Object.assign({width:t,height:t,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 18 18",fill:"none"},p),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9 11.85L5.25 13.4625V3.975C5.25 3.925 5.275 3.875 5.325 3.825C5.375 3.775 5.425 3.75 5.475 3.75H9H12.525C12.575 3.75 12.625 3.775 12.675 3.825C12.725 3.875 12.75 3.925 12.75 3.975V13.4625L9 11.85ZM4.434 14.7277C4.6405 14.8592 4.85625 14.875 5.08125 14.775L9 13.0875L12.9188 14.775C13.1438 14.875 13.3593 14.8592 13.5653 14.7277C13.7717 14.5967 13.875 14.4062 13.875 14.1562V3.975C13.875 3.6 13.7438 3.28125 13.4813 3.01875C13.2188 2.75625 12.9 2.625 12.525 2.625H5.475C5.1 2.625 4.78125 2.75625 4.51875 3.01875C4.25625 3.28125 4.125 3.6 4.125 3.975V14.1562C4.125 14.4062 4.228 14.5967 4.434 14.7277Z",fill:d}))};Save.defaultProps={size:18,color:n.r.colors.gray600,activeColor:n.r.colors.primaryBase};let s={Share:e=>{var{size:t=24,color:a=n.r.colors.gray600,useCurrentColor:o,activeColor:r=n.r.colors.primaryBase,isActive:s,isMarryBaby:c,isSolid:d=!0}=e,p=(0,l._)(e,["size","color","useCurrentColor","activeColor","isActive","isMarryBaby","isSolid"]);let m=o?"currentColor":s?r:a;return c?i.createElement("svg",Object.assign({width:t,height:t,viewBox:"0 0 24 24",fill:"none"},p),i.createElement("path",{d:"M18 8L19 8C20.1046 8 21 8.89543 21 10L21 15.155C21 17.3585 19.4253 19.2551 17.2391 19.6848C15.1006 20.1051 8.89937 20.1051 6.76089 19.6848C4.57467 19.2551 3 17.3585 3 15.155L3 10C3 8.89543 3.89543 8 5 8L6 8",stroke:m,strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M12 13L12 3M12 3L9.5 5.5M12 3L14.5 5.5",stroke:m,strokeWidth:"1.33333",strokeLinecap:"round",strokeLinejoin:"round"})):d?i.createElement("svg",Object.assign({width:t,height:t,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},p),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.59725 11.6528C8.70325 11.7593 8.8375 11.8125 9 11.8125C9.1625 11.8125 9.297 11.7593 9.4035 11.6528C9.5095 11.5468 9.5625 11.4125 9.5625 11.25V3.54376L10.5562 4.53751C10.6687 4.63751 10.8 4.68751 10.95 4.68751C11.1 4.68751 11.2312 4.63751 11.3438 4.53751C11.4563 4.42501 11.5125 4.29051 11.5125 4.13401C11.5125 3.97801 11.4563 3.84376 11.3438 3.73126L9.46875 1.85626C9.40625 1.79376 9.3345 1.74676 9.2535 1.71526C9.172 1.68426 9.0875 1.66876 9 1.66876C8.9125 1.66876 8.82825 1.68426 8.74725 1.71526C8.66575 1.74676 8.59375 1.79376 8.53125 1.85626L6.65625 3.73126C6.54375 3.84376 6.4875 3.97501 6.4875 4.12501C6.4875 4.27501 6.54375 4.40626 6.65625 4.51876C6.76875 4.63126 6.9 4.68751 7.05 4.68751C7.2 4.68751 7.33125 4.63751 7.44375 4.53751L8.4375 3.54376V11.25C8.4375 11.4125 8.49075 11.5468 8.59725 11.6528ZM3.76875 16.4813C4.03125 16.7438 4.35 16.875 4.725 16.875H13.275C13.65 16.875 13.9688 16.7438 14.2313 16.4813C14.4938 16.2188 14.625 15.9 14.625 15.525V7.72501C14.625 7.35001 14.4938 7.03126 14.2313 6.76876C13.9688 6.50626 13.65 6.37501 13.275 6.37501H11.9062C11.7563 6.37501 11.625 6.42801 11.5125 6.53401C11.4 6.64051 11.3438 6.77501 11.3438 6.93751C11.3438 7.10001 11.4 7.23426 11.5125 7.34026C11.625 7.44676 11.7563 7.50001 11.9062 7.50001H13.275C13.325 7.50001 13.375 7.52501 13.425 7.57501C13.475 7.62501 13.5 7.67501 13.5 7.72501V15.525C13.5 15.575 13.475 15.625 13.425 15.675C13.375 15.725 13.325 15.75 13.275 15.75H4.725C4.675 15.75 4.625 15.725 4.575 15.675C4.525 15.625 4.5 15.575 4.5 15.525V7.72501C4.5 7.67501 4.525 7.62501 4.575 7.57501C4.625 7.52501 4.675 7.50001 4.725 7.50001H6.09375C6.24375 7.50001 6.375 7.44676 6.4875 7.34026C6.6 7.23426 6.65625 7.10001 6.65625 6.93751C6.65625 6.77501 6.6 6.64051 6.4875 6.53401C6.375 6.42801 6.24375 6.37501 6.09375 6.37501H4.725C4.35 6.37501 4.03125 6.50626 3.76875 6.76876C3.50625 7.03126 3.375 7.35001 3.375 7.72501V15.525C3.375 15.9 3.50625 16.2188 3.76875 16.4813Z",fill:m})):i.createElement("svg",Object.assign({width:t,height:t,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},p),i.createElement("path",{d:"M18.0011 21.75C17.2375 21.75 16.5881 21.4826 16.0529 20.9479C15.5176 20.4132 15.25 19.7639 15.25 19C15.25 18.8751 15.2599 18.7459 15.2798 18.6121C15.2997 18.4784 15.3295 18.3551 15.3692 18.2423L7.97305 13.9115C7.70895 14.1743 7.40831 14.3798 7.07113 14.5279C6.73394 14.6759 6.37689 14.75 5.99997 14.75C5.23609 14.75 4.58679 14.4827 4.05207 13.9482C3.51736 13.4137 3.25 12.7647 3.25 12.0011C3.25 11.2375 3.51736 10.5881 4.05207 10.0529C4.58679 9.51763 5.23609 9.25 5.99997 9.25C6.37689 9.25 6.73394 9.32403 7.07113 9.4721C7.40831 9.62018 7.70895 9.82563 7.97305 10.0885L15.3692 5.75768C15.3295 5.64486 15.2997 5.52157 15.2798 5.38783C15.2599 5.25409 15.25 5.12481 15.25 4.99998C15.25 4.23609 15.5173 3.58679 16.0518 3.05208C16.5863 2.51736 17.2353 2.25 17.9989 2.25C18.7624 2.25 19.4118 2.51725 19.9471 3.05175C20.4823 3.58625 20.75 4.23528 20.75 4.99885C20.75 5.76242 20.4826 6.41182 19.9479 6.94707C19.4132 7.48233 18.7639 7.74995 18 7.74995C17.6231 7.74995 17.266 7.67592 16.9288 7.52785C16.5916 7.37977 16.291 7.17432 16.0269 6.9115L8.63073 11.2423C8.67048 11.3551 8.70028 11.4782 8.72015 11.6115C8.74002 11.7447 8.74995 11.8736 8.74995 11.998C8.74995 12.1224 8.74002 12.2519 8.72015 12.3865C8.70028 12.5211 8.67048 12.6449 8.63073 12.7577L16.0269 17.0885C16.291 16.8256 16.5916 16.6202 16.9288 16.4721C17.266 16.324 17.6231 16.25 18 16.25C18.7639 16.25 19.4132 16.5173 19.9479 17.0518C20.4826 17.5863 20.75 18.2353 20.75 18.9989C20.75 19.7624 20.4827 20.4118 19.9482 20.9471C19.4137 21.4823 18.7647 21.75 18.0011 21.75ZM18 6.24998C18.3474 6.24998 18.6426 6.1285 18.8856 5.88555C19.1285 5.64258 19.25 5.34738 19.25 4.99995C19.25 4.65252 19.1285 4.35732 18.8856 4.11435C18.6426 3.87142 18.3474 3.74995 18 3.74995C17.6525 3.74995 17.3573 3.87143 17.1144 4.11438C16.8714 4.35734 16.75 4.65254 16.75 4.99998C16.75 5.34741 16.8714 5.64261 17.1144 5.88558C17.3573 6.12853 17.6525 6.24998 18 6.24998ZM5.99997 13.25C6.34741 13.25 6.64261 13.1285 6.88558 12.8856C7.12853 12.6426 7.25 12.3474 7.25 12C7.25 11.6525 7.12853 11.3573 6.88558 11.1144C6.64261 10.8714 6.34741 10.75 5.99997 10.75C5.65254 10.75 5.35734 10.8714 5.11438 11.1144C4.87143 11.3573 4.74995 11.6525 4.74995 12C4.74995 12.3474 4.87143 12.6426 5.11438 12.8856C5.35734 13.1285 5.65254 13.25 5.99997 13.25ZM18 20.25C18.3474 20.25 18.6426 20.1285 18.8856 19.8855C19.1285 19.6426 19.25 19.3474 19.25 19C19.25 18.6525 19.1285 18.3573 18.8856 18.1144C18.6426 17.8714 18.3474 17.75 18 17.75C17.6525 17.75 17.3573 17.8714 17.1144 18.1144C16.8714 18.3573 16.75 18.6525 16.75 19C16.75 19.3474 16.8714 19.6426 17.1144 19.8856C17.3573 20.1285 17.6525 20.25 18 20.25Z",fill:m}))},Eye,WhatsApp:o.W,ArrowRightTail:e=>{var{size:t=24,color:a=n.r.colors.gray600,useCurrentColor:o,isActive:r,activeColor:s=n.r.colors.primaryBase}=e,c=(0,l._)(e,["size","color","useCurrentColor","isActive","activeColor"]);let d=Object.assign({width:t,height:t},c);return i.createElement("svg",Object.assign({viewBox:"0 0 18 18",fill:"none"},d),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.747 4.228a.75.75 0 0 1 1.06 0L15.05 8.47a.75.75 0 0 1 0 1.06l-4.242 4.243a.75.75 0 0 1-1.06 0l-.065-.065a.75.75 0 0 1 0-1.06L12.58 9.75H2.777a.75.75 0 0 1 0-1.5h9.803L9.683 5.353a.75.75 0 0 1 0-1.061z",fill:o?"currentColor":r?s:a}))},Spinner:r.S,Cart:e=>{var{size:t=24,color:a=n.r.colors.gray600,useCurrentColor:o,isActive:r,isSolid:s,activeColor:c=n.r.colors.primaryBase}=e,d=(0,l._)(e,["size","color","useCurrentColor","isActive","isSolid","activeColor"]);let p=o?"currentColor":r?c:a,m=Object.assign({width:t,height:t},d);return s?i.createElement("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},m),i.createElement("path",{d:"M7.154 21.558q-.73 0-1.24-.51-.51-.511-.51-1.24 0-.73.51-1.24t1.24-.51q.729 0 1.24.51.51.51.51 1.24 0 .729-.51 1.24-.511.51-1.24.51m9.692 0q-.729 0-1.24-.51-.51-.511-.51-1.24 0-.73.51-1.24.511-.51 1.24-.51.73 0 1.24.51t.51 1.24-.51 1.24-1.24.51M5.296 4.25h13.885q.613 0 .928.522t.03 1.066l-3.204 5.804a1.8 1.8 0 0 1-.651.674 1.7 1.7 0 0 1-.888.242H8.1l-1.158 2.115q-.077.115-.005.25.073.135.217.135h10.692q.32 0 .535.215a.73.73 0 0 1 .215.535.73.73 0 0 1-.215.534.73.73 0 0 1-.535.216H7.154q-1 0-1.503-.863-.503-.862-.036-1.722l1.427-2.565L3.404 3.75H2.25a.73.73 0 0 1-.535-.215A.73.73 0 0 1 1.5 3q0-.32.215-.535a.73.73 0 0 1 .535-.215h1.529a.9.9 0 0 1 .813.517z",fill:p})):i.createElement("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},m),i.createElement("path",{d:"M7.154 21.558q-.73 0-1.24-.51-.51-.511-.51-1.24 0-.73.51-1.24t1.24-.51q.729 0 1.24.51.51.51.51 1.24 0 .729-.51 1.24-.511.51-1.24.51m9.692 0q-.729 0-1.24-.51-.51-.511-.51-1.24 0-.73.51-1.24.511-.51 1.24-.51.73 0 1.24.51t.51 1.24-.51 1.24-1.24.51M6.016 5.75l2.534 5.308h6.817a.3.3 0 0 0 .154-.044.4.4 0 0 0 .116-.12l2.682-4.875q.058-.105.01-.187t-.164-.082zm-.72-1.5h13.885q.613 0 .928.522.315.523.03 1.066l-3.204 5.804a1.8 1.8 0 0 1-.651.674 1.7 1.7 0 0 1-.888.242H8.1l-1.158 2.115q-.077.115-.005.25.073.135.217.135h10.692q.32 0 .535.215a.73.73 0 0 1 .215.535.73.73 0 0 1-.215.534.73.73 0 0 1-.535.216H7.154q-1 0-1.503-.863-.503-.862-.036-1.722l1.427-2.565L3.404 3.75H2.25a.73.73 0 0 1-.535-.215A.73.73 0 0 1 1.5 3q0-.32.215-.535a.73.73 0 0 1 .535-.215h1.529a.9.9 0 0 1 .813.517z",fill:p}))},CartWithAdd:e=>{var{size:t=24,color:a=n.r.colors.gray600,useCurrentColor:o,isActive:r,activeColor:s=n.r.colors.primaryBase}=e,c=(0,l._)(e,["size","color","useCurrentColor","isActive","activeColor"]);let d=Object.assign({width:t,height:t},c);return i.createElement("svg",Object.assign({viewBox:"0 0 19 19",fill:"none",xmlns:"http://www.w3.org/2000/svg"},d),i.createElement("path",{d:"M8.938 4.812H7.25a.54.54 0 0 1-.4-.161.55.55 0 0 1-.162-.401q0-.24.161-.401a.55.55 0 0 1 .401-.162h1.688V2q0-.24.161-.4a.55.55 0 0 1 .401-.163q.24 0 .4.162a.55.55 0 0 1 .162.401v1.688h1.688q.24 0 .4.161a.55.55 0 0 1 .162.401q0 .24-.161.4a.55.55 0 0 1-.401.162h-1.687V6.5q0 .24-.162.4a.55.55 0 0 1-.401.162.54.54 0 0 1-.4-.161.55.55 0 0 1-.162-.401zM5.865 16.668q-.546 0-.93-.383a1.27 1.27 0 0 1-.382-.93q0-.546.383-.929t.93-.383.929.383.383.93q0 .546-.383.93a1.27 1.27 0 0 1-.93.382m7.27 0q-.547 0-.93-.383a1.27 1.27 0 0 1-.383-.93q0-.546.383-.929t.93-.383.93.383.382.93q0 .546-.383.93a1.27 1.27 0 0 1-.93.382M3.053 3.312h-.865a.54.54 0 0 1-.401-.161.55.55 0 0 1-.162-.401q0-.24.162-.4a.55.55 0 0 1 .4-.162h1.158q.192 0 .36.1a.63.63 0 0 1 .25.287l2.946 6.218h5.113q.065 0 .115-.032a.3.3 0 0 0 .087-.09l2.618-4.702a.5.5 0 0 1 .198-.21.56.56 0 0 1 .28-.071q.324 0 .485.275.162.276.006.557L13.2 9.232a1.35 1.35 0 0 1-.489.505q-.303.18-.665.181H6.575l-.868 1.587q-.058.086-.004.187t.162.101h8.02q.239 0 .4.162a.55.55 0 0 1 .162.401q0 .24-.162.4a.55.55 0 0 1-.4.162h-8.02q-.75 0-1.133-.64-.383-.642-.02-1.298l1.07-1.924z",fill:o?"currentColor":r?s:a}))},Instagram:o.I,Comment,Heart,App:e=>{var{size:t=24}=e,a=(0,l._)(e,["size"]);return i.createElement("svg",Object.assign({width:t,height:t,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a),i.createElement("g",{filter:"url(#filter0_ii_4999_54706)"},i.createElement("g",{clipPath:"url(#clip0_4999_54706)"},i.createElement("rect",{x:"1",y:"1",width:"16",height:"16",rx:"2",fill:"url(#paint0_linear_4999_54706)"}),i.createElement("rect",{x:"1",y:"1",width:"16",height:"16",rx:"2",fill:"url(#paint1_linear_4999_54706)",fillOpacity:"0.1",style:{mixBlendMode:"soft-light"}}),i.createElement("g",{filter:"url(#filter1_dd_4999_54706)"},i.createElement("g",{filter:"url(#filter2_iii_4999_54706)"},i.createElement("path",{d:"M8.29654 5.80369C8.29654 5.73385 8.29164 5.65909 8.28674 5.58741C8.26897 5.09885 7.7883 4.73068 7.31988 4.75105C6.7678 4.78342 6.64904 5.55644 7.12136 5.78838C7.19304 5.82637 7.21326 5.85945 7.20591 5.92624C7.20591 7.21503 7.20591 8.68747 7.20591 9.96463C7.20897 10.0155 7.19304 10.0412 7.14403 10.0621C6.63928 10.2819 6.76454 11.0833 7.33029 11.1055C7.79695 11.1288 8.2587 10.7427 8.28674 10.2704C8.29225 10.1975 8.29654 10.1264 8.29654 10.0529C8.29654 8.63657 8.30751 7.21995 8.29654 5.80369Z",fill:"white"}),i.createElement("path",{d:"M5.82243 10.0756C5.73542 10.0376 5.70724 9.9892 5.71643 9.88994V5.89321C5.72399 5.80249 5.79924 5.80677 5.85797 5.76147C6.29273 5.47607 6.10792 4.76229 5.58102 4.7505H5.56264C5.0355 4.7505 4.62519 5.18725 4.62519 5.70572C4.62519 6.81951 4.62398 7.9333 4.62764 9.04708C4.62887 9.41974 4.63009 9.79178 4.63009 10.1638C4.63009 10.6593 5.0522 11.1037 5.551 11.1037C6.09448 11.1037 6.34155 10.3213 5.82243 10.0756Z",fill:"white"}),i.createElement("path",{d:"M11.6617 8.88498C11.6617 9.16044 11.4384 9.38373 11.163 9.38373C10.8875 9.38373 10.6642 9.16044 10.6642 8.88498C10.6642 8.60953 10.8875 8.38624 11.163 8.38624C11.4384 8.38624 11.6617 8.60953 11.6617 8.88498Z",fill:"white"}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.94126 8.85689C8.94126 9.92678 9.68187 10.8247 10.6709 11.0511C10.6001 12.3176 9.03205 12.3769 8.09561 12.2273C7.87932 12.1918 7.68632 12.1312 7.52211 12.0472C7.29602 11.9302 7.13058 11.7464 7.03132 11.5025C6.98554 11.3893 6.95676 11.2689 6.90511 11.1582C6.81259 10.9419 6.58527 10.8255 6.36531 10.8812C6.13738 10.9376 5.98542 11.1361 5.99584 11.364C6.00973 11.6959 6.1497 12.0255 6.34754 12.2886C6.55647 12.5717 6.83342 12.7886 7.19431 12.9503C7.70348 13.182 8.26352 13.25 8.818 13.25C9.43767 13.25 10.0914 13.1443 10.6316 12.826C11.1461 12.5218 11.6323 12.1241 11.6422 11.0526C12.6346 10.8288 13.3785 9.92919 13.3785 8.85689C13.3785 7.61676 12.3835 6.60762 11.1599 6.60762C9.9363 6.60762 8.94126 7.61676 8.94126 8.85689ZM12.3614 8.85689C12.3614 9.52965 11.8222 10.0768 11.1599 10.0768C10.4969 10.0768 9.95836 9.52965 9.95836 8.85689C9.95836 8.18413 10.4976 7.63697 11.1599 7.63697C11.8228 7.63759 12.3614 8.18474 12.3614 8.85689Z",fill:"white"})),i.createElement("mask",{id:"mask0_4999_54706",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"4",y:"4",width:"10",height:"10"},i.createElement("path",{d:"M8.29654 5.80369C8.29654 5.73385 8.29164 5.65909 8.28674 5.58741C8.26897 5.09885 7.7883 4.73068 7.31988 4.75105C6.7678 4.78342 6.64904 5.55644 7.12136 5.78838C7.19304 5.82637 7.21326 5.85945 7.20591 5.92624C7.20591 7.21503 7.20591 8.68747 7.20591 9.96463C7.20897 10.0155 7.19304 10.0412 7.14403 10.0621C6.63928 10.2819 6.76454 11.0833 7.33029 11.1055C7.79695 11.1288 8.2587 10.7427 8.28674 10.2704C8.29225 10.1975 8.29654 10.1264 8.29654 10.0529C8.29654 8.63657 8.30751 7.21995 8.29654 5.80369Z",fill:"white"}),i.createElement("path",{d:"M5.82243 10.0756C5.73542 10.0376 5.70724 9.9892 5.71643 9.88994V5.89321C5.72399 5.80249 5.79924 5.80677 5.85797 5.76147C6.29273 5.47607 6.10792 4.76229 5.58102 4.7505H5.56264C5.0355 4.7505 4.62519 5.18725 4.62519 5.70572C4.62519 6.81951 4.62398 7.9333 4.62764 9.04708C4.62887 9.41974 4.63009 9.79178 4.63009 10.1638C4.63009 10.6593 5.0522 11.1037 5.551 11.1037C6.09448 11.1037 6.34155 10.3213 5.82243 10.0756Z",fill:"white"}),i.createElement("path",{d:"M11.6617 8.88498C11.6617 9.16044 11.4384 9.38373 11.163 9.38373C10.8875 9.38373 10.6642 9.16044 10.6642 8.88498C10.6642 8.60953 10.8875 8.38624 11.163 8.38624C11.4384 8.38624 11.6617 8.60953 11.6617 8.88498Z",fill:"white"}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.94126 8.85689C8.94126 9.92678 9.68187 10.8247 10.6709 11.0511C10.6001 12.3176 9.03205 12.3769 8.09561 12.2273C7.87932 12.1918 7.68632 12.1312 7.52211 12.0472C7.29602 11.9302 7.13058 11.7464 7.03132 11.5025C6.98554 11.3893 6.95676 11.2689 6.90511 11.1582C6.81259 10.9419 6.58527 10.8255 6.36531 10.8812C6.13738 10.9376 5.98542 11.1361 5.99584 11.364C6.00973 11.6959 6.1497 12.0255 6.34754 12.2886C6.55647 12.5717 6.83342 12.7886 7.19431 12.9503C7.70348 13.182 8.26352 13.25 8.818 13.25C9.43767 13.25 10.0914 13.1443 10.6316 12.826C11.1461 12.5218 11.6323 12.1241 11.6422 11.0526C12.6346 10.8288 13.3785 9.92919 13.3785 8.85689C13.3785 7.61676 12.3835 6.60762 11.1599 6.60762C9.9363 6.60762 8.94126 7.61676 8.94126 8.85689ZM12.3614 8.85689C12.3614 9.52965 11.8222 10.0768 11.1599 10.0768C10.4969 10.0768 9.95836 9.52965 9.95836 8.85689C9.95836 8.18413 10.4976 7.63697 11.1599 7.63697C11.8228 7.63759 12.3614 8.18474 12.3614 8.85689Z",fill:"white"})),i.createElement("g",{mask:"url(#mask0_4999_54706)"},i.createElement("g",{filter:"url(#filter3_f_4999_54706)"},i.createElement("ellipse",{cx:"7.36076",cy:"7.31848",rx:"0.28125",ry:"0.421875",transform:"rotate(30 7.36076 7.31848)",fill:"white"})),i.createElement("g",{filter:"url(#filter4_f_4999_54706)"},i.createElement("rect",{x:"6.71875",y:"7.84375",width:"0.1875",height:"7.21875",fill:"white"})),i.createElement("g",{filter:"url(#filter5_f_4999_54706)"},i.createElement("rect",{x:"10.4688",y:"7.84375",width:"0.1875",height:"7.21875",fill:"white"})),i.createElement("g",{filter:"url(#filter6_f_4999_54706)"},i.createElement("ellipse",{cx:"10.267",cy:"7.50598",rx:"0.28125",ry:"0.421875",transform:"rotate(-30 10.267 7.50598)",fill:"white"}))))),i.createElement("rect",{x:"0.5",y:"0.5",width:"17",height:"17",rx:"2.5",stroke:"white"})),i.createElement("defs",null,i.createElement("filter",{id:"filter0_ii_4999_54706",x:"-0.191927",y:"-0.191927",width:"18.3839",height:"18.3839",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},i.createElement("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),i.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),i.createElement("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),i.createElement("feOffset",{dx:"0.191927",dy:"0.191927"}),i.createElement("feGaussianBlur",{stdDeviation:"0.0959636"}),i.createElement("feComposite",{in2:"hardAlpha",operator:"arithmetic",k2:"-1",k3:"1"}),i.createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.2 0"}),i.createElement("feBlend",{mode:"normal",in2:"shape",result:"effect1_innerShadow_4999_54706"}),i.createElement("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),i.createElement("feOffset",{dx:"-0.191927",dy:"-0.191927"}),i.createElement("feGaussianBlur",{stdDeviation:"0.0959636"}),i.createElement("feComposite",{in2:"hardAlpha",operator:"arithmetic",k2:"-1",k3:"1"}),i.createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.05 0"}),i.createElement("feBlend",{mode:"normal",in2:"effect1_innerShadow_4999_54706",result:"effect2_innerShadow_4999_54706"})),i.createElement("filter",{id:"filter1_dd_4999_54706",x:"2.375",y:"4.18774",width:"13.2539",height:"12.9998",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},i.createElement("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),i.createElement("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),i.createElement("feOffset",{dy:"0.375"}),i.createElement("feGaussianBlur",{stdDeviation:"0.375"}),i.createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.2 0"}),i.createElement("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_4999_54706"}),i.createElement("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),i.createElement("feOffset",{dy:"1.6875"}),i.createElement("feGaussianBlur",{stdDeviation:"1.125"}),i.createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.2 0"}),i.createElement("feBlend",{mode:"normal",in2:"effect1_dropShadow_4999_54706",result:"effect2_dropShadow_4999_54706"}),i.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect2_dropShadow_4999_54706",result:"shape"})),i.createElement("filter",{id:"filter2_iii_4999_54706",x:"4.25",y:"3.81274",width:"9.31641",height:"9.43726",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},i.createElement("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),i.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),i.createElement("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),i.createElement("feOffset",{dx:"-0.375",dy:"-0.9375"}),i.createElement("feGaussianBlur",{stdDeviation:"0.9375"}),i.createElement("feComposite",{in2:"hardAlpha",operator:"arithmetic",k2:"-1",k3:"1"}),i.createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 0.0582292 0 0 0 0 0.132925 0 0 0 0 0.325 0 0 0 0.25 0"}),i.createElement("feBlend",{mode:"normal",in2:"shape",result:"effect1_innerShadow_4999_54706"}),i.createElement("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),i.createElement("feOffset",{dx:"0.1875",dy:"-0.375"}),i.createElement("feGaussianBlur",{stdDeviation:"0.1875"}),i.createElement("feComposite",{in2:"hardAlpha",operator:"arithmetic",k2:"-1",k3:"1"}),i.createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.45 0"}),i.createElement("feBlend",{mode:"normal",in2:"effect1_innerShadow_4999_54706",result:"effect2_innerShadow_4999_54706"}),i.createElement("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),i.createElement("feOffset",{dx:"-0.1875",dy:"-0.9375"}),i.createElement("feGaussianBlur",{stdDeviation:"0.46875"}),i.createElement("feComposite",{in2:"hardAlpha",operator:"arithmetic",k2:"-1",k3:"1"}),i.createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 0.766667 0 0 0 0 0.888 0 0 0 0 1 0 0 0 1 0"}),i.createElement("feBlend",{mode:"normal",in2:"effect2_innerShadow_4999_54706",result:"effect3_innerShadow_4999_54706"})),i.createElement("filter",{id:"filter3_f_4999_54706",x:"6.55924",y:"6.44706",width:"1.60417",height:"1.74284",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},i.createElement("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),i.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),i.createElement("feGaussianBlur",{stdDeviation:"0.239909",result:"effect1_foregroundBlur_4999_54706"})),i.createElement("filter",{id:"filter4_f_4999_54706",x:"6.23893",y:"7.36393",width:"1.14714",height:"8.17839",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},i.createElement("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),i.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),i.createElement("feGaussianBlur",{stdDeviation:"0.239909",result:"effect1_foregroundBlur_4999_54706"})),i.createElement("filter",{id:"filter5_f_4999_54706",x:"9.98893",y:"7.36393",width:"1.14714",height:"8.17839",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},i.createElement("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),i.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),i.createElement("feGaussianBlur",{stdDeviation:"0.239909",result:"effect1_foregroundBlur_4999_54706"})),i.createElement("filter",{id:"filter6_f_4999_54706",x:"9.46549",y:"6.63456",width:"1.60417",height:"1.74284",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},i.createElement("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),i.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),i.createElement("feGaussianBlur",{stdDeviation:"0.239909",result:"effect1_foregroundBlur_4999_54706"})),i.createElement("linearGradient",{id:"paint0_linear_4999_54706",x1:"9",y1:"1",x2:"9",y2:"17",gradientUnits:"userSpaceOnUse"},i.createElement("stop",{stopColor:"#65B5FF"}),i.createElement("stop",{offset:"1",stopColor:"#2685F1"})),i.createElement("linearGradient",{id:"paint1_linear_4999_54706",x1:"9",y1:"1",x2:"9",y2:"17",gradientUnits:"userSpaceOnUse"},i.createElement("stop",{offset:"0.151042",stopColor:"white"}),i.createElement("stop",{offset:"1",stopOpacity:"0.1"})),i.createElement("clipPath",{id:"clip0_4999_54706"},i.createElement("rect",{x:"1",y:"1",width:"16",height:"16",rx:"2",fill:"white"}))))},Save,Bookmark}},"5XnC":function(e,t,a){a.d(t,{H:function(){return HamburgerWhite},N:function(){return NavigationV2},S:function(){return StarPair},a:function(){return getNavMenuContentWithCache},b:function(){return ee},g:function(){return getNavMenuContent}});var l=a("usZY"),i=a("q1tI"),n=a("LZLo"),o=a("EoE9"),r=a("VkEI"),s=a("Pfvg"),c=a("q9DY"),d=a("9wNu"),p=a("rBCA"),m=a("MQ5V"),h=a("iBNF"),g=a("dto0"),u=a("iZ8j"),v=a("v8Gc"),f=a("/npG"),C=a("Eso5"),E=a("QJsO"),x=a("8vDj"),w=a("iuhU"),y=a("MkKI"),b=a("DzJC"),M=a.n(b),k=a("Dphd"),_=a("ipFv"),$=a("srUE"),L=a("5bY3"),B=a("pvoY"),S=a("eLiN"),N=a("sHKU"),A=a("ORpR"),H=a("Ny7X"),D=a("FQi+"),I=a("AxWg"),P=a("3XLu"),F=a("gEnE"),Z=a("d53r"),z=a("6Dmq"),O=a("B3gr"),R=a("HesN"),T=a("Wgwc"),j=a.n(T),U=a("QgiU"),V=a.n(U),G=a("jvlS"),q=a("iVRv"),W=a("e6f9"),Y=a("sEfC"),Q=a.n(Y),X=a("xrdX"),K=a("DtFV");let HamburgerWhite=e=>i.createElement("svg",Object.assign({width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),i.createElement("path",{d:"M4 12H20",stroke:"white",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M4 7H20",stroke:"white",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M4 17H20",stroke:"white",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})),StarPair=e=>i.createElement("svg",Object.assign({width:"22",height:"28",viewBox:"0 0 22 28",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),i.createElement("path",{d:"M6.35278 10.7516C6.42759 10.976 6.63881 11.1279 6.87534 11.1279C7.11187 11.1279 7.322 10.976 7.39791 10.7516C7.68947 9.87691 8.37585 9.19053 9.25054 8.89896C9.47497 8.82415 9.62679 8.61403 9.62679 8.3775C9.62679 8.14097 9.47497 7.93084 9.25054 7.85603C8.37585 7.56446 7.68947 6.87809 7.39791 6.00339C7.24719 5.55453 6.5046 5.55453 6.35388 6.00339C6.06231 6.87809 5.37594 7.56446 4.50125 7.85603C4.27682 7.93084 4.125 8.14097 4.125 8.3775C4.125 8.61403 4.27682 8.82415 4.50125 8.89896C5.37565 9.19043 6.06193 9.87699 6.35278 10.7516Z",fill:"#2743AD"}),i.createElement("path",{d:"M20.1723 14.3286L18.5342 13.6789C16.821 12.9995 15.4655 11.6411 14.7897 9.92641L14.1396 8.27697C13.9232 7.72994 13.0262 7.72994 12.8097 8.27697L12.1597 9.92641C11.4839 11.6411 10.1284 12.9995 8.41517 13.6789L6.77705 14.3286C6.5044 14.4367 6.32422 14.7016 6.32422 14.9952C6.32422 15.2888 6.50345 15.5537 6.77705 15.6618L8.41517 16.3115C10.1284 16.991 11.4839 18.3494 12.1597 20.064L12.8097 21.7135C12.9175 21.987 13.1815 22.1668 13.4742 22.1668C13.7669 22.1668 14.031 21.987 14.1387 21.7135L14.7888 20.064C15.4646 18.3494 16.8201 16.991 18.5333 16.3115L20.1714 15.6618C20.444 15.5537 20.6242 15.2888 20.6242 14.9952C20.6242 14.7016 20.4459 14.4367 20.1723 14.3286Z",fill:"#2743AD"})),J=(0,p.Z)(m.I)` .mantine-Input-input { border-radius: 40px; background: ${h.r.colors.white}; border: 1px solid ${h.r.colors.blue200}; &:focus { border: 1px solid ${h.r.colors.primaryBase}; } } .close-icon-wrapper { display: flex; background-color: ${h.r.colors.gray400}; border-radius: 100%; cursor: pointer; svg { pointer-events: none; } } .search-icon-btn { display: flex; justify-content: center; align-items: center; } `,ee="hhg_search_history",SearchInput=({id:e,isMobile:t=!1,isHomepage:a=!1,projectType:l,isRedirectSearchPage:n=!1})=>{let{locale:r,siteType:s,isWinCashBackTheme:d}=(0,i.useContext)(g.a),[p,m]=(0,i.useState)(""),[u,v]=(0,i.useState)("Search From Another Page"),{t:f}=(0,D.u)(),C=(0,i.useCallback)((e="")=>{let t="";"together"===l&&(t="community"),"discover"===l&&(t=window.location.pathname.startsWith("/health-tools/")?"health-tools":l),localStorage.setItem(ee,window.location.href);let a=new URLSearchParams(window.location.search);a.set("source",t),a.set("s",e),a.delete("page"),window.location.href=`/search/?${a.toString()}`},[l]),E=(0,i.useCallback)(()=>{let e=localStorage.getItem(ee);if(!e){C("");return}localStorage.removeItem(ee),window.location.href=e},[C]);return(0,i.useEffect)(()=>{if("undefined"!=typeof window){let e=new URL(window.location.href),t=new URLSearchParams(e.search),a=t.get("s");"discover"===l&&window.location.pathname.startsWith("/search/")&&v("Search Page"),m(a)}},[]),t&&!a?i.createElement(L.B,{variant:"tertiary",style:{padding:"6px"},size:"sm",onClick:E},i.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",style:{verticalAlign:"bottom"}},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.3097 9.06111C3.3097 5.88483 5.88458 3.30994 9.06087 3.30994C12.2372 3.30994 14.812 5.88483 14.812 9.06111C14.812 12.2374 12.2372 14.8123 9.06087 14.8123C5.88458 14.8123 3.3097 12.2374 3.3097 9.06111ZM9.06087 1.66675C4.97707 1.66675 1.6665 4.97732 1.6665 9.06111C1.6665 13.1449 4.97707 16.4555 9.06087 16.4555C10.8067 16.4555 12.4112 15.8505 13.6761 14.8387L16.9305 18.0931C17.2514 18.4139 17.7716 18.4139 18.0924 18.0931C18.4133 17.7722 18.4133 17.252 18.0924 16.9312L14.8381 13.6768C15.8501 12.4118 16.4552 10.8071 16.4552 9.06111C16.4552 4.97732 13.1447 1.66675 9.06087 1.66675Z",fill:"#8C8C8C"}))):i.createElement(J,{className:"fake-search-input",name:"search-input-menu-service"+e,size:"md","data-event-category":u,"data-event-action":"Search","data-event-label":p,placeholder:"marryBaby"===s?f("navigation.search.input.placeholder"):f("home.search",{site:o.L[r||"en-PH"]?o.L[r||"en-PH"].SITE_NAME:""}),onChange:m,value:p,onKeyDown:e=>"Enter"===e.key&&C(e.target.value),type:"search",onFocus:e=>{e.preventDefault(),(t&&a||n)&&C("")},rightSection:p?i.createElement("div",{className:"close-icon-wrapper",onClick:()=>m(""),"data-event-category":"Search Page","data-event-action":"Delete Search"},i.createElement(c.Z,{size:17,color:h.r.colors.white})):d?i.createElement(StarPair,{className:"star-pair-icon"}):"",icon:i.createElement("a",{"data-event-category":"Search Button","data-event-action":"Click",className:"search-icon-btn",onClick:()=>{(t&&a||n)&&C("")}},i.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",style:{verticalAlign:"bottom"}},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.3097 9.06111C3.3097 5.88483 5.88458 3.30994 9.06087 3.30994C12.2372 3.30994 14.812 5.88483 14.812 9.06111C14.812 12.2374 12.2372 14.8123 9.06087 14.8123C5.88458 14.8123 3.3097 12.2374 3.3097 9.06111ZM9.06087 1.66675C4.97707 1.66675 1.6665 4.97732 1.6665 9.06111C1.6665 13.1449 4.97707 16.4555 9.06087 16.4555C10.8067 16.4555 12.4112 15.8505 13.6761 14.8387L16.9305 18.0931C17.2514 18.4139 17.7716 18.4139 18.0924 18.0931C18.4133 17.7722 18.4133 17.252 18.0924 16.9312L14.8381 13.6768C15.8501 12.4118 16.4552 10.8071 16.4552 9.06111C16.4552 4.97732 13.1447 1.66675 9.06087 1.66675Z",fill:"#8C8C8C"})))})},getEcomUrl=({path:e,locale:t})=>{var a;return`/shop/${null===(a=S.L[t||"vi-VN"])||void 0===a?void 0:a[e]}/`};var et=(0,f.k)(()=>({root:{textDecoration:"none"},iconText:{color:"#fff"}}));let CartBadge=e=>{var{count:t,styles:a,className:n,classNames:o,locale:r}=e,s=(0,l._)(e,["count","styles","className","classNames","locale"]);let{classes:c,cx:d}=et(void 0,{name:"CartBadge",styles:a,classNames:o});return void 0!==t?i.createElement(C.x,Object.assign({component:"a",href:getEcomUrl({path:"CART",locale:r}),className:d(c.root,n)},s),i.createElement(E.z,{withBorder:!0,color:"red",size:20,disabled:0===t,label:i.createElement($.T,{className:c.iconText,size:"s5"},t>99?"99+":t)},i.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},i.createElement("path",{d:"M5.308 21.5q-.748 0-1.278-.53a1.74 1.74 0 0 1-.53-1.278V8.308q0-.75.53-1.278.53-.53 1.278-.53H7.5q0-1.873 1.313-3.187Q10.127 2 12 2t3.187 1.313T16.5 6.5h2.192q.749 0 1.278.53.53.53.53 1.278v11.384q0 .749-.53 1.278-.53.53-1.278.53zm0-1.5h13.384a.3.3 0 0 0 .212-.096.3.3 0 0 0 .096-.212V8.308a.3.3 0 0 0-.096-.212.3.3 0 0 0-.212-.096H5.308a.3.3 0 0 0-.212.096.3.3 0 0 0-.096.212v11.384q0 .116.096.212a.3.3 0 0 0 .212.096M9 6.5h6q0-1.25-.875-2.125A2.9 2.9 0 0 0 12 3.5q-1.25 0-2.125.875A2.9 2.9 0 0 0 9 6.5m2.985 7q1.695 0 3.047-1.148 1.35-1.148 1.335-2.606a.74.74 0 0 0-.207-.528.7.7 0 0 0-.527-.218.7.7 0 0 0-.471.182 1 1 0 0 0-.295.506 2.8 2.8 0 0 1-1.036 1.665 2.9 2.9 0 0 1-1.846.647 2.93 2.93 0 0 1-1.854-.647A2.73 2.73 0 0 1 9.1 9.688q-.086-.34-.278-.514A.66.66 0 0 0 8.367 9a.72.72 0 0 0-.534.218.72.72 0 0 0-.216.528q0 1.457 1.336 2.606 1.335 1.148 3.032 1.148",fill:"#2D87F3"})))):null},ea=p.Z.div` &.block-show { display: block; } `,DisplayWrapper=({forceDisplay:e,mediaQueryKey:t,children:a,className:l,style:n})=>{let[o,r]=(0,i.useMemo)(()=>(0,B.g)(t),[t]);return i.createElement(ea,{lowerBound:e?0:o,upperBound:e?0:r,className:l,style:n},a)};var el={menuIconWrapper:"wnUb-dV",menuButton:"cjbOxWe"};let ItemMenu=({item:e,menu:t})=>{let{containerRef:a,onButtonMouseDown:l,onClose:n}=(0,g.u)({allowBgScroll:!0}),o=(0,I.u)();return!e.popupType&&e.link?i.createElement(NewWrapper,{isNew:e.isNew},i.createElement("a",{className:`hhgcomp-navigation-itemnav-headeritem ${o?"":`menu-handler-${e.id}`}`,tabIndex:0,href:e.link,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":e.link},i.createElement("div",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":e.link,className:el.menuButton},e.name))):i.createElement(NewWrapper,{isNew:e.isNew},i.createElement("div",{ref:a,className:`hhgcomp-navigation-itemnav-headeritem ${o?"":`menu-handler-${e.id}`}`,tabIndex:0,key:e.id,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":e.link},i.createElement("div",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":e.link,onMouseDown:l,className:el.menuButton},e.name,e.popupType&&i.createElement(i.Fragment,null,(null==e?void 0:e.icon)?i.createElement("div",{className:"wrapper-menu-icon"},i.createElement("div",{className:"origin-icon"},e.icon),i.createElement("div",{className:"close-icon",onClick:n},i.createElement(c.Z,{size:16}))):i.createElement("div",{className:el.menuIconWrapper},i.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none"},i.createElement("path",{d:"M11.5 7.5L9 10L6.5 7.5",strokeWidth:"1.33",strokeLinecap:"round",strokeLinejoin:"round"}))))),i.isValidElement(t)?i.cloneElement(t,{onClose:n}):null))},NewWrapper=({isNew:e,children:t})=>{let{t:a}=(0,D.u)();return e?i.createElement(H.I,{color:"green",label:a("home.navigator.menuItem.new"),size:20,styles:{root:{paddingRight:10}}},t):i.createElement(i.Fragment,null,t)},ei=p.Z.div` display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 3.5rem; ${B.M.tdDown} { grid-template-columns: repeat(1, 1fr); } `,en=p.Z.div` height: 152px; position: absolute; top: 0; left: 0; z-index: 3; overflow: hidden; border-radius: 4px; padding: 16px; width: 100%; .img-container { width: 100%; height: 100%; } img { width: 100%; height: 100%; display: block; object-fit: contain; } ${B.M.tdDown} { margin-bottom: 0; padding: 0; height: 100%; position: unset; width: 150px; } ${B.M.mbDown} { width: 80px; } `,eo=p.Z.div` background-color: #ffffff; border-radius: 4px; width: 100%; height: 100%; `,er=p.Z.div` display: flex; margin-top: 1rem; align-items: center; color: ${h.r.colors.primaryBase}; font-weight: 400; font-size: 14px; text-decoration: none; ${B.M.tdDown} { display: none; } `,es=p.Z.p` font-size: 16px; font-weight: 600; line-height: 1.6; color: ${h.r.colors.gray800}; ${B.M.tdDown} { padding: 0; } `,ec=p.Z.p` font-size: 14px; line-height: 1.6; font-weight: 400; color: ${h.r.colors.gray600}; height: 40px; text-overflow: ellipsis; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; margin-bottom: auto; ${B.M.tdDown} { height: unset; padding: 0; } `,ed=(0,F.Z)(p.Z.div` display: flex; flex-direction: column; gap: 8px; flex: 1; z-index: 1; ${B.M.tdDown} { gap: 4px; } `,"hhgcomp-navigation-menucareitem-contentwrapper"),ep=p.Z.a` text-decoration: none; border-radius: 4px; background: ${h.r.colors.white}; position: relative; overflow: hidden; padding: 16px; display: flex; padding-top: 166px; * { pointer-events: none; } ${B.M.tdUp} { 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); gap: 30px; flex-direction: column; a { display: flex; width: 100%; } } ${B.M.tdDown} { padding-top: 16px; a { display: none; } grid-template-columns: 2fr 1fr; gap: 10px; display: grid; max-height: 110px; display: flex; flex-direction: row-reverse; > ${ed.classSelector} { flex: 1; } img { width: 150px; } } ${B.M.mbDown} { 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); display: flex; flex-direction: row-reverse; img { width: 80px; height: 80px; } } ${B.M.tdOnly} { border: 1px solid ${h.r.colors.neutral100}; } .bg-svg { width: 100%; max-width: 245px; height: 100%; top: 0; right: -40px; position: absolute; display: inline-block; } `,Item$4=({item:e,index:t=0})=>{var a;let{t:l}=(0,D.u)(),{locale:n,configs:{statics:o}}=(0,i.useContext)(g.a);if(!e)return null;let r=`${o.CARE_URL_FE}/${null===(a=P.L[n])||void 0===a?void 0:a.HOSPITAL}/${e.slug}-${e.id}`;return i.createElement(ep,{key:e.id,href:r,"data-event-category":"Hamburger Navigation","data-event-action":`Care Click ${t+1}`,"data-event-label":r},i.createElement("img",{src:_.C.getAssetPath("navCareCardBg.svg"),alt:"",className:"bg-svg",loading:"lazy"}),i.createElement(en,null,i.createElement(eo,null,i.createElement("img",{loading:"lazy",alt:e.name,src:e.logo||"/images/avatar.jpg"}))),i.createElement(ed,null,i.createElement(es,null,e.name),i.createElement(ec,null,e.description),i.createElement(er,null,l("home.seeMore"),i.createElement("img",{src:_.C.getAssetPath("chevronRightActive.svg"),style:{width:"16px",height:"16px",marginTop:"3px",marginLeft:"5px"},loading:"lazy"}))))},em=p.Z.div` padding: 16px; border-radius: 8px; position: relative; z-index: 1; overflow: hidden; a { text-decoration: none; } .bg-svg { height: 100%; position: absolute; top: 0; left: 0; z-index: -1; } ${B.M.mbDown} { display: block; .bg-svg { right: -24px; left: unset; top: 0; transform: rotateY(180deg); } } ${B.M.mbUp} { display: grid; grid-gap: 10px; grid-template-columns: 1fr 3fr; } `,eh=p.Z.div` font-weight: 400; font-size: 14px; line-height: 24px; color: ${h.r.colors.gray600}; margin-bottom: 15px; `,eg=p.Z.div` font-weight: 600; font-size: 16px; line-height: 26px; color: #000000; margin-bottom: 4px; `,eu=p.Z.div` background: #fff; padding: 5px; display: flex; align-items: center; justify-content: center; border-radius: 50px; `,ev=p.Z.div` display: flex; justify-content: center; align-items: center; position: relative; ${B.M.mbDown} { justify-content: end; min-height: 100px; } `,SpotlightNoData=({title:e,link:t,description:a,cta:l,icon:n})=>{let{siteType:o}=(0,i.useContext)(g.a);return i.createElement(em,{"data-theme":o},i.createElement(ev,null,i.createElement("img",{src:"marryBaby"===o?_.C.getAssetPath("navMBSpotlightBgNoData.svg"):_.C.getAssetPath("navSpotlightBgNoData.svg"),alt:"",loading:"lazy",className:"bg-svg"}),i.createElement(eu,null,n&&i.createElement("img",{src:n,width:64,height:64,loading:"lazy"}))),i.createElement("div",null,e&&i.createElement(eg,null,e),a&&i.createElement(eh,null,a),l&&i.createElement("div",null,i.createElement("a",{href:t},i.createElement(Z.B,{theme:o,className:"survey-contact-submit",size:"md"},l)))))},ef=p.Z.div` margin-top: 10px; background: #ffffff; padding: 5px 15px; position: relative; ${B.M.mbDown} { &:after { position: absolute; top: 0; left: 0; width: 100%; height: 4px; background-color: ${h.r.colors.neutral100}; content: ''; } } `,eC=p.Z.div` margin: 15px 0; display: flex; `,eE=p.Z.a` padding-left: 10px; display: flex; align-items: center; text-decoration: none; font-weight: 400; font-size: 14px; color: ${h.r.colors.primaryBase}; &[data-theme='marryBaby'] { color: ${h.r.mbColors.pink}; } img { padding-left: 5px; } ${B.M.mbDown} { margin-left: auto; } `,Spotlights=({title:e,viewMore:t,children:a,link:l,dataEventAction:n=""})=>{let{siteType:o}=(0,i.useContext)(g.a);return i.createElement(ef,null,i.createElement(eC,null,i.createElement(z.H,{tag:"marryBaby"===o?"h5":"h6",as:"p",fontWeight:"semibold"},e),t&&i.createElement(eE,{"data-event-category":"Hamburger Navigation","data-event-action":n,"data-event-label":l,href:l,"data-theme":o},t,i.createElement("img",{src:"marryBaby"===o?_.C.getAssetPath("chevronRightPink.svg"):_.C.getAssetPath("chevronRightActive.svg"),style:{width:"16px",height:"16px"},loading:"lazy"}))),a)},CareSpotlights=({spotlights:e=[],hrefViewMore:t})=>{let{t:a}=(0,D.u)(),{siteType:l}=(0,i.useContext)(g.a);return i.createElement(Spotlights,{title:a("home.navigator.menu.spotlightHospitals")},0!==e.length?i.createElement(i.Fragment,null,i.createElement(ei,null,null==e?void 0:e.slice(0,3).map((e,t)=>i.createElement(Item$4,{key:t,index:t,item:e}))),i.createElement("div",{style:{position:"absolute",bottom:"6px",right:"1rem"}},i.createElement("a",{href:t},i.createElement(Z.B,{theme:l,className:"survey-contact-submit",size:"md"},a("home.navigator.menu.care.homeButton"))))):i.createElement(SpotlightNoData,{title:a("home.navigator.menu.care.noDatas.title"),description:a("home.navigator.menu.care.noDatas.description"),link:t,cta:a("home.navigator.menu.care.homeButton"),icon:_.C.getAssetPath("community.svg")}))};var ex={gridContainer:"q3nL5cp",container:"_2DNf80G",closeWrapper:"Q-glX-n"};let BtnClosePopup=({onClosePopup:e})=>i.createElement("div",{className:`${ex.closeWrapper} close-btn`,onClick:e},i.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},i.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"}))),PopupWrapper=({onClosePopup:e,isDisplay:t,children:a,isNavMenu:l,hideCloseBtn:n,stylesContainer:o})=>i.createElement("div",{className:"hhgcomp-navigation-popupwrapper-menuwrapper top-menu-health-tools","data-is-display":!!t,"data-is-nav-menu":!!l},i.createElement(R.C,{className:"hhgcomp-navigation-popupwrapper-menuwrapper-child"},!n&&i.createElement("div",{className:ex.container},i.createElement(BtnClosePopup,{onClosePopup:e})),i.createElement(R.C,{className:ex.gridContainer,style:o},a))),Phone=e=>{var{size:t=24,color:a=h.r.colors.neutral600}=e,n=(0,l._)(e,["size","color"]);return i.createElement("svg",Object.assign({width:t,height:t,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n),i.createElement("path",{d:"M6.088 18.75q-.63 0-1.068-.437a1.45 1.45 0 0 1-.438-1.07V2.757q0-.63.438-1.068a1.45 1.45 0 0 1 1.068-.438h7.82q.633 0 1.07.438.437.437.437 1.068v14.488q0 .63-.437 1.069a1.45 1.45 0 0 1-1.07.437zm3.91-1.859a.7.7 0 0 0 .522-.216.7.7 0 0 0 .216-.521.7.7 0 0 0-.216-.522.7.7 0 0 0-.521-.215.7.7 0 0 0-.522.215.7.7 0 0 0-.215.522.7.7 0 0 0 .215.521.7.7 0 0 0 .522.216m-4.166-3.333h8.333V4.792H5.832z",fill:a}))},ew=p.Z.div` padding-right: 1rem; background: #ffffff; padding: 5px 15px; ${B.M.mbUp} { border-right: 1px solid #e4e8ec; display: flex; flex-direction: column; justify-content: space-between; } `,ey=p.Z.a` padding: 10px 0; position: relative; display: flex; align-items: center; &[data-is-mobile-tool='true'] { align-items: flex-start; .name, .phone-icon { margin-top: 4px; } } text-decoration: none; color: ${h.r.colors.gray800}; * { pointer-events: none; } .name { font-size: 16px; font-weight: 400; } &[data-theme='marryBaby']:hover, &[data-theme='marryBaby'][data-active='true'] { p { color: ${h.r.mbColors.pink}; } .icon { background-color: ${h.r.mbColors.lightPink}; } } &[data-theme='helloSites']:hover, &[data-theme='helloSites'][data-active='true'] { p { color: ${h.r.colors.primaryActive}; } } a { } &[data-theme='marryBaby'] { .icon { display: flex; align-items: center; justify-content: center; max-width: 40px; width: 100%; height: 40px; border-radius: 50%; background-color: ${h.r.mbColors.lightGray}; img { border-radius: 50%; } } } `,eb=p.Z.div` margin: 15px 0; ${B.M.mbDown} { display: none; } `,eM=p.Z.div` display: flex; position: absolute; right: 0; ${B.M.mbUp} { &.arrow-icon { display: none; } } `,ek=p.Z.div` display: flex; align-items: center; color: ${h.r.colors.primaryBase}; font-size: ${h.r.sizes.fsParagraph4}; font-weight: ${h.r.sizes.fwBold}; line-height: 24px; font-size: 14px; font-weight: 600; &[data-theme='marryBaby'] { color: ${h.r.mbColors.pink}; } `,e_=p.Z.div` display: flex; align-items: center; margin-left: 10px; `,e$=p.Z.a` border: 1px solid ${h.r.colors.primaryBase}; &[data-theme='marryBaby'] { border: 1px solid ${h.r.mbColors.pink}; svg path { stroke: ${h.r.mbColors.pink}; } } position: relative; display: flex; align-items: center; justify-content: center; padding: 6px; border-radius: 5px; margin-top: 20px; ${B.M.mbDown} { display: none; } `,Categories=({hrefViewMore:e,titleBtnViewMore:t,UrlFE:a,onClosePopup:l,menuItems:o,headingTitle:r,activeItem:s})=>{let{siteType:c}=(0,i.useContext)(g.a),{t:d}=(0,D.u)(),p=(0,x.rZ)();return i.createElement(ew,null,i.createElement("div",null,i.createElement(eb,null,i.createElement(z.H,{tag:"marryBaby"===c?"h5":"h6",as:"p",fontWeight:"semibold"},r)),null==o?void 0:o.slice(0,6).map((e,t)=>{let o=(null==e?void 0:e.link)?(null==e?void 0:e.link.startsWith("http"))?null==e?void 0:e.link:`${a}/${null==e?void 0:e.link.split("/").filter(Boolean).join("/")}/`:"/";return i.createElement(ey,Object.assign({className:(0,w.default)("iconMenu",`itemMenu-${e.id}`),"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":o,"data-is-heading-category":!1,"data-active":e.id&&e.id===s,"data-is-mobile-tool":e.isMobileAppTool,href:o},!(0,n.i)(o)&&{target:"_blank"},{"data-theme":c,key:t,onClick:l}),i.createElement("div",{className:"icon"},i.createElement("img",{loading:"lazy",alt:e.name,src:e.thumbnail||"/images/avatar.jpg",style:{width:32,height:32,maxWidth:32,maxHeight:32,overflow:"hidden"}})),i.createElement(NewWrapper,{isNew:e.isNew},i.createElement("div",{style:{padding:"0 0.4rem",paddingRight:e.isNew?10:0}},i.createElement("p",{className:"name"},e.name),e.isMobileAppTool&&i.createElement($.T,{size:"n1",color:p.fn.primaryColor(),weight:"regular"},d("home.calcWithApp")))),e.isMobileAppTool&&i.createElement(eM,null,i.createElement(Phone,{className:"phone-icon",size:16})),i.createElement(eM,{className:"arrow-icon"},i.createElement("img",{src:_.C.getAssetPath("chevronRight.svg"),style:{width:"16px",height:"16px"},loading:"lazy"})))})),t&&i.createElement(e$,{"data-theme":c,style:{textDecoration:"none"},href:e,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":e},i.createElement(ek,{onClick:l,"data-theme":c,"data-is-heading-category":!1},t,i.createElement(e_,null,i.createElement("img",{className:"svg",src:"marryBaby"===c?_.C.getAssetPath("chevronRightPink.svg"):_.C.getAssetPath("chevronRightActive.svg"),style:{width:"16px",height:"16px"},loading:"lazy"})))))},MenuCareList=({careSpecialties:e=[],isOpen:t,onClose:a,spotlights:l=[]})=>{var n;let{t:o}=(0,D.u)(),{locale:r,configs:{statics:s}}=(0,i.useContext)(g.a);return i.createElement(PopupWrapper,{onClosePopup:a,isDisplay:t,isNavMenu:!0},i.createElement(Categories,{headingTitle:o("home.navigator.menuItem.specialties"),hrefViewMore:`${s.CARE_URL_FE}/`,UrlFE:s.CARE_URL_FE,onClosePopup:a,titleBtnViewMore:o("home.navigator.menuItem.allSpecialties"),menuItems:(null==e?void 0:e.map(e=>e?{name:String(e.name)||"",link:(0,O.a)({type:"DOCTOR",specialtySlug:e.slug,locale:r}),thumbnail:(null==e?void 0:e.thumbnail)||""}:{}))||[]}),i.createElement(CareSpotlights,{spotlights:l,hrefViewMore:`${s.CARE_URL_FE}/${null===(n=P.L[r])||void 0===n?void 0:n.SPECIALTIES}/`}))},eL=p.Z.div` display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; ${B.M.tdDown} { gap: 12px; grid-template-columns: 1fr; } `,eB=p.Z.a` position: relative; width: 100%; display: flex; align-items: center; text-decoration: none; * { pointer-events: none; } `,eS=p.Z.div` border-radius: 5px; display: block; overflow: hidden; padding-top: 140%; width: 100%; position: relative; height: 0; img { position: absolute; width: 100%; height: 100%; display: block; object-fit: cover; top: 0; left: 0; } ${B.M.tdDown} { width: 72px; padding-top: 100px; flex-shrink: 0; } `,eN=p.Z.a` ${B.M.tdDown} { position: relative; bottom: 0; left: 16px; right: 0; padding: 4px 8px; width: 90px; height: 24px; font-size: 11px; line-height: 16px; } position: absolute; bottom: 8px; left: 8px; right: 8px; height: 32px; padding: 6px 12px; background: ${e=>e.bgColor}; border-radius: 10px; border: none; transition: all 0.2s ease-in-out; color: ${e=>e.textColor}; font-family: 'Inter'; font-weight: 500; font-size: 14px; line-height: 20px; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; &:hover { background: ${e=>{let t=e.bgColor.toLowerCase();if("#ffffff"===t||"white"===t||"#fff"===t)return"#f0f0f0";if("string"==typeof t){let e=(0,O.h)(t,!0),a=(0,O.r)(e.r,e.g,e.b),l=(0,O.b)(a[0],a[1]+16,a[2]-16);return`rgb(${l[0]},${l[1]},${l[2]})`}return""}}; } `,eA=p.Z.p` font-size: 16px; font-weight: 400; padding: 4px 15px; line-height: 1.4; color: ${h.r.colors.gray800}; flex: 1; ${B.M.tdUp} { display: none; } `,Item$3=({item:e,index:t=0})=>{if(!e)return null;let a={href:e.link,"data-event-category":"Hamburger Navigation","data-event-action":`Spotlight Click ${t+1}`,"data-event-label":e.link};return i.createElement(eB,Object.assign({key:e.id},a),i.createElement(eS,null,i.createElement("img",{loading:"lazy",alt:e.title,src:e.banner||"/images/notFound-min-small.jpg"})),i.createElement("div",{style:{display:"flex",flexDirection:"column",gap:8}},i.createElement(eA,null,e.title),!!e.buttonDisplay&&i.createElement(eN,Object.assign({bgColor:e.buttonDisplay.button_background_color,textColor:e.buttonDisplay.button_text_color},a),e.buttonDisplay.button_label)))},CategorySpotlights=({spotlightsList:e=[],hrefViewMore:t})=>{let{t:a}=(0,D.u)(),{configs:{statics:l}}=(0,i.useContext)(g.a);return i.createElement(Spotlights,{title:a("home.navigator.menu.spotlights"),viewMore:a("home.navigator.menu.spotlights.seeAll"),link:t,dataEventAction:"Spotlight See More Click"},0!==e.length?i.createElement(eL,null,null==e?void 0:e.slice(0,4).map((e,t)=>i.createElement(Item$3,{key:t,index:t,item:{id:e.id,link:l.HOME_PAGE_URL+e.permalink,title:e.name,banner:e.image,buttonDisplay:e.buttonDisplay}}))):i.createElement(SpotlightNoData,{title:a("home.navigator.menu.category.noDatas.title"),description:a("home.navigator.menu.category.noDatas.description"),link:t,cta:a("home.navigator.menu.category.noDatas.cta"),icon:_.C.getAssetPath("Spotlight.svg")}))},MenuCategoriesList=({categories:e=[],spotlightsList:t=[],onClose:a,isOpen:l})=>{let{t:n}=(0,D.u)(),{locale:o,configs:{statics:r}}=(0,i.useContext)(g.a);return i.createElement(PopupWrapper,{onClosePopup:a,isDisplay:l,isNavMenu:!0},i.createElement(Categories,{hrefViewMore:`${r.HOME_PAGE_URL}${"tl-PH"===o?"/fil":""}/categories/`,UrlFE:r.HOME_PAGE_URL,onClosePopup:a,titleBtnViewMore:n("home.navigator.menuItem.allCategories"),menuItems:(null==e?void 0:e.map(e=>e?{name:e.displayName||null,link:(null==e?void 0:e.customizedUrl)||(null==e?void 0:e.permalink)||"/",thumbnail:e.iconUrl||null}:{}))||[],headingTitle:n("home.navigator.menuItem.healthCategories")}),i.createElement(CategorySpotlights,{spotlightsList:t,hrefViewMore:`${r.HOME_PAGE_URL}${"tl-PH"===o?"/fil":""}/spotlight/`}))},eH=p.Z.div` display: grid; grid-template-columns: repeat(2, 1fr); grid-gap: 48px; ${B.M.tdDown} { grid-template-columns: 1fr; grid-gap: 32px; } ${B.M.mbDown} { grid-gap: 24px; } `,eD=p.Z.div` padding: 5px; flex: 1; `,eI=p.Z.img` width: 88px; height: 88px; border-radius: 4px; object-fit: cover; `,eP=p.Z.div` font-size: 12px; font-weight: 600; color: ${h.r.colors.gray800}; text-decoration: none; &[data-theme='marryBaby'] { font-weight: 400; letter-spacing: -0.2px; } `,eF=p.Z.div` text-decoration: none; font-size: 12px; font-weight: 400; color: ${h.r.colors.primaryBase}; &[data-theme='marryBaby'] { font-weight: 400; letter-spacing: -0.2px; } `,eZ=p.Z.div` font-size: 12px; font-weight: 400; color: ${h.r.colors.gray600}; `,ez=p.Z.div` font-size: 12px; font-weight: 400; color: ${h.r.colors.gray600}; `,eO=p.Z.a` display: flex; gap: 10px; text-decoration: none; position: relative; &::after { content: ''; display: block; width: 100%; height: 1px; border-top: 1px dashed ${h.r.colors.neutral100}; position: absolute; bottom: -24px; ${B.M.tdOnly} { bottom: -16px; } ${B.M.mbDown} { bottom: -12px; } } &:last-child { &::after { display: none; } } ${B.M.tdUp} { &:nth-last-child(2) { &::after { display: none; } } } `,eR=p.Z.div` display: flex; gap: 10px; vertical-align: middle; align-items: center; `,eT=p.Z.div` margin-top: 8px; font-size: 16px; font-weight: 600; color: ${h.r.colors.gray800}; &[data-theme='marryBaby'] { margin-top: 12px; font-weight: 400; font-size: 14px; line-height: 24px; letter-spacing: -0.2px; } `,ej=p.Z.div` display: flex; flex-wrap: wrap; align-items: center; column-gap: 5px; `,eU=p.Z.div` display: flex; gap: 4px; flex-direction: column; `;j().extend(V());let Item$2=({post:e,index:t=0})=>{var a,l,n,o,r,s,c;let{siteType:d,configs:{statics:p}}=(0,i.useContext)(g.a);if(!e)return null;let m=[p.TOGETHER_URL_FE,null===(a=e.community)||void 0===a?void 0:a.slug].join("/"),h=[m,e.slug].join("/"),u=e.createdAt,v=u?isNaN(new Date(u).getTime())?null:new Date(u):null,f=v?j()(v).toNow(!0):u;return i.createElement(eO,{href:h,"data-event-category":"Hamburger Navigation","data-event-action":`Together Click ${t+1}`,"data-event-label":h},i.createElement(eD,null,i.createElement(eR,null,i.createElement(G.U,{avatar:null===(l=e.author)||void 0===l?void 0:l.avatar,username:(null===(n=e.author)||void 0===n?void 0:n.name)||(null===(o=e.author)||void 0===o?void 0:o.username)}),i.createElement(eU,null,i.createElement(eP,{"data-theme":d},null===(r=e.author)||void 0===r?void 0:r.name),i.createElement(ej,null,i.createElement(eF,{"data-event-category":"Hamburger Navigation","data-event-action":`Topic Click ${t+1}`,"data-event-label":m,onClick:e=>{e.preventDefault(),location.href=m},"data-theme":d},null===(s=e.community)||void 0===s?void 0:s.name),i.createElement(ez,null,"•"),i.createElement(eZ,{"data-theme":d},f)))),i.createElement(eT,null,e.title)),!!(null===(c=e.photos)||void 0===c?void 0:c.length)&&i.createElement(eI,{loading:"lazy",src:e.photos[0]}))},CommunitySpotlights=({spotlights:e=[]})=>{let{configs:{statics:t}}=(0,i.useContext)(g.a),{t:a}=(0,D.u)();return i.createElement(Spotlights,{title:a("home.navigator.menu.trendingPosts"),viewMore:a("home.navigator.menu.trendingPosts.seeMore"),link:(0,r.e)(t.TOGETHER_URL_FE),dataEventAction:"Together See More Click"},0!==e.length?i.createElement(eH,null,null==e?void 0:e.slice(0,4).map((e,t)=>i.createElement(Item$2,{index:t,post:e,key:e.id}))):i.createElement(SpotlightNoData,{title:a("home.navigator.menu.together.noPosts.title"),description:a("home.navigator.menu.together.noPosts.description"),link:`${t.HOME_PAGE_URL}/community/`,cta:a("home.navigator.menu.together.noPosts.cta"),icon:_.C.getAssetPath("community.svg")}))},MenuCommunitiesList=({communities:e=[],onClose:t,isOpen:a,spotlights:l=[]})=>{let{t:n}=(0,D.u)(),{configs:{statics:o}}=(0,i.useContext)(g.a);return i.createElement(PopupWrapper,{onClosePopup:t,isDisplay:a,isNavMenu:!0},i.createElement(Categories,{hrefViewMore:(0,r.e)(o.TOGETHER_URL_FE),UrlFE:(0,r.n)(o.TOGETHER_URL_FE),onClosePopup:t,titleBtnViewMore:n("home.navigator.menuItem.allCommunities"),menuItems:(null==e?void 0:e.map(e=>e?{name:e.name||"",link:e.slug||"/",thumbnail:e.thumbnail||""}:{}))||[],headingTitle:n("home.navigator.menuItem.allCommunitiesheadingTitle")}),i.createElement(CommunitySpotlights,{spotlights:l}))},eV=p.Z.div` display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; ${B.M.tdDown} { grid-template-columns: 1fr; gap: 12px; } `,AppIcon=e=>{var{size:t=24,color:a="#2D87F3"}=e,n=(0,l._)(e,["size","color"]);return i.createElement("svg",Object.assign({width:t,height:t,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n),i.createElement("rect",{width:"20",height:"20",rx:"4",fill:a}),i.createElement("path",{d:"M9.12 6.005c0-.088-.005-.181-.012-.27-.022-.611-.623-1.071-1.208-1.046-.69.04-.839 1.007-.248 1.297.09.047.115.088.105.172v5.048c.004.064-.016.096-.077.122-.63.274-.474 1.276.233 1.304.583.03 1.16-.453 1.195-1.044q.012-.135.013-.272c0-1.77.013-3.54 0-5.311m-3.093 5.34c-.109-.048-.144-.108-.132-.232V6.117c.009-.114.103-.108.176-.165.544-.357.313-1.249-.346-1.264h-.023c-.659 0-1.172.546-1.172 1.194q-.002 2.09.004 4.177l.003 1.396c0 .62.527 1.175 1.15 1.175.68 0 .989-.978.34-1.285m7.299-1.489a.623.623 0 1 1-1.247 0 .623.623 0 0 1 1.247 0",fill:"#fff"}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.927 9.821c0 1.338.925 2.46 2.162 2.743-.089 1.583-2.049 1.657-3.22 1.47a2.5 2.5 0 0 1-.716-.225 1.3 1.3 0 0 1-.614-.68c-.057-.142-.093-.293-.158-.431a.58.58 0 0 0-.674-.346.59.59 0 0 0-.462.603c.017.415.192.827.44 1.156.26.354.607.625 1.058.827.636.29 1.336.375 2.03.375.774 0 1.591-.132 2.267-.53.643-.38 1.25-.878 1.263-2.217a2.81 2.81 0 0 0 2.17-2.745c0-1.55-1.244-2.811-2.773-2.811S9.927 8.27 9.927 9.82m4.275 0c0 .841-.674 1.525-1.502 1.525a1.515 1.515 0 0 1-1.502-1.525c0-.84.674-1.525 1.502-1.525a1.516 1.516 0 0 1 1.502 1.525",fill:"#fff"}))},eG=p.Z.a` text-decoration: none; border-radius: 4px; background: ${h.r.colors.primary50}; position: relative; overflow: hidden; display: flex; * { pointer-events: none; } .bg-svg { width: 245px; top: 0; right: 0; height: 100%; position: absolute; ${B.M.tdDown} { top: calc(51% - 68px); right: -8px; } } padding: 180px 24px 16px; a { display: flex; width: 100%; } .phone-badge { position: absolute; top: 16px; left: 16px; } ${B.M.tdDown} { padding-top: 16px; display: flex; align-items: center; } ${B.M.mbDown} { .phone-badge { display: none; } } `,eq=p.Z.div` width: 64px; height: 64px; background: white; position: absolute; right: 25px; top: 35px; z-index: 3; border-radius: 50%; img { position: absolute; width: 64px; height: 64px; top: 50%; left: 50%; display: block; transform: translate(-50%, -50%); } ${B.M.tdDown} { position: relative; top: unset; right: unset; } `,eW=p.Z.div` display: flex; align-items: center; gap: 4px; color: ${h.r.colors.primaryBase}; font-weight: 400; font-size: 14px; text-decoration: none; `,eY=p.Z.p` font-size: 16px; font-weight: 600; line-height: 1.4; color: ${h.r.colors.gray800}; `,eQ=p.Z.p` font-size: 14px; line-height: 1.4; font-weight: 400; color: ${h.r.colors.gray600}; height: 40px; text-overflow: ellipsis; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; margin-bottom: auto; ${B.M.tdDown} { display: none; } `,eX=p.Z.div` display: flex; flex-direction: column; flex: 1; z-index: 1; ${B.M.tdUp} { gap: 8px; } ${B.M.tdDown} { gap: 4px; flex: 1; } `,Item$1=({item:e,index:t=0})=>{let{t:a}=(0,D.u)(),{configs:{statics:l}}=(0,i.useContext)(g.a);if(!e)return null;let n=e.link?e.link.startsWith("http")?e.link:`${l.HOME_PAGE_URL}${e.link}`:void 0;return i.createElement(eG,{href:n,"data-event-category":"Hamburger Navigation","data-event-action":`Engage Click ${t+1}`,"data-event-label":n},e.isMobileAppTool&&i.createElement(Phone,{size:20,className:"phone-badge"}),i.createElement("img",{src:_.C.getAssetPath("navToolCardBg.svg"),alt:"",loading:"lazy",className:"bg-svg"}),i.createElement(eX,null,i.createElement(eY,null,e.title),i.createElement(eQ,{dangerouslySetInnerHTML:{__html:e.subtitle}}),i.createElement(eW,null,e.isMobileAppTool?i.createElement(i.Fragment,null,i.createElement(AppIcon,{size:16}),a("home.calcWithApp")):i.createElement(i.Fragment,null,a("home.seeMore"),i.createElement(u.Z,{size:18,useCurrentColor:!0})))),i.createElement(eq,null,i.createElement("img",{loading:"lazy",alt:e.title,src:e.icon||"/images/avatar.jpg"})))},eK=p.Z.a` text-decoration: none; border-radius: 12px; position: relative; overflow: hidden; display: flex; * { pointer-events: none; } .bg-svg { top: 0; left: 0; position: absolute; } .dot-svg { width: 40px; height: 30px; top: 36px; left: 16px; position: absolute; stroke-width: 0; } &[data-color='pink'] { background: ${h.r.mbColors.tonePink}; .bg-svg { fill: ${h.r.mbColors.peach}; } } &[data-color='orange'] { background: ${h.r.mbColors.toneYellow}; .bg-svg { fill: ${h.r.mbColors.orange}; } } &[data-color='green'] { background: ${h.r.mbColors.toneGreen}; .bg-svg { fill: ${h.r.mbColors.mint}; } } padding: 180px 24px 16px; a { display: flex; width: 100%; } ${B.M.tdDown} { padding-top: 16px; display: flex; align-items: flex-start; justify-content: flex-start; } ${B.M.mbDown} { padding-top: 0; padding-left: 80px; height: 96px; align-items: flex-start; justify-content: center; flex-direction: column; .dot-svg { top: 22px; left: 16px; } } ${B.M.tdUp} { min-height: 296px; } .mobile-only { ${B.M.tdUp} { display: none; } } .desktop-only { ${B.M.tdDown} { display: none; } } `,eJ=p.Z.div` width: 48px; height: 48px; background: white; position: absolute; right: 25px; top: 35px; z-index: 3; border-radius: 50%; img { position: absolute; width: 36px; height: 36px; top: 50%; left: 50%; display: block; transform: translate(-50%, -50%); } ${B.M.tdDown} { position: relative; top: unset; right: unset; } ${B.M.mbDown} { position: absolute; left: 32px; top: 28px; } `,e1=p.Z.div` display: flex; align-items: center; background: white; font-weight: 400; font-size: 14px; text-decoration: none; border-radius: 50%; width: 20px; height: 20px; svg path { fill: ${h.r.mbColors.gray}; } ${B.M.tdDown} { background: none; width: 100%; font-weight: 400; font-size: 12px; line-height: 18px; color: ${h.r.mbColors.pink}; padding-left: 16px; } `,e0=p.Z.p` font-weight: 600; font-size: 14px; line-height: 24px; letter-spacing: -0.2px; color: ${h.r.colors.gray800}; `,e5=p.Z.p` font-weight: 400; font-size: 12px; line-height: 18px; letter-spacing: -0.2px; color: ${h.r.colors.gray600}; height: 54px; text-overflow: ellipsis; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; margin-bottom: auto; ${B.M.tdDown} { display: none; } `,e2=p.Z.div` display: flex; flex: 1; z-index: 1; align-items: flex-end; justify-content: flex-end; ${B.M.tdUp} { gap: 8px; flex-direction: row; } ${B.M.tdDown} { align-items: flex-start; justify-content: flex-start; gap: 4px; } `,e3=p.Z.div` display: flex; flex-direction: column; flex: 1; z-index: 1; ${B.M.tdUp} { gap: 8px; } ${B.M.tdDown} { gap: 4px; flex: 1; padding-left: 16px; } `,e6=p.Z.div` display: flex; flex-direction: row; flex: 1; z-index: 1; ${B.M.tdUp} { gap: 8px; justify-content: flex-end; align-items: flex-end; } ${B.M.tdDown} { flex-direction: column; justify-content: flex-start; align-items: flex-start; } `,ItemMarryBaby=({item:e,index:t=0,color:a})=>{let{t:l}=(0,D.u)(),{configs:{statics:n}}=(0,i.useContext)(g.a);if(!e)return null;let o=e.link?e.link.startsWith("http")?e.link:`${n.HOME_PAGE_URL}${e.link}`:void 0,renderIcon=()=>i.createElement(eJ,null,i.createElement("img",{loading:"lazy",alt:e.title,src:e.icon||"/images/avatar.jpg"})),renderName=()=>i.createElement(e6,null,i.createElement(e3,null,i.createElement(e0,null,e.title),i.createElement(e5,null,e.subtitle)),i.createElement(e1,null,i.createElement("div",{className:"mobile-only"},l("home.seeMore")),i.createElement("img",{src:_.C.getAssetPath("arrowRightGray.svg"),style:{width:"12px",height:"12px",marginTop:"2px",marginLeft:"5px"},loading:"lazy"})));return i.createElement(eK,{href:o,"data-event-category":"Hamburger Navigation","data-event-action":`Engage Click ${t+1}`,"data-event-label":o,"data-color":a},i.createElement("svg",{className:"bg-svg",width:"74",height:"121",viewBox:"0 0 74 121",fill:"none"},i.createElement("path",{d:"M58.5713 53.428C40.6466 70.0213 12.9929 71.0875 -7.00506 84.9856C-24.9277 97.4005 -38.3893 120.472 -60.213 120.346C-73.3615 120.271 -84.9289 110.925 -91.9303 99.8138C-101.443 84.7327 -103.994 64.0482 -93.916 49.3276C-81.8133 31.6505 -56.6933 28.1101 -41.7246 12.7895C-35.4351 6.35117 -31.2212 -1.90115 -24.8564 -8.25051C-7.17639 -25.9054 34.9604 -29.7543 56.852 -16.9562C80.9056 -2.89888 77.046 36.3304 58.5713 53.428Z",strokeWidth:"0"})),i.createElement("img",{src:_.C.getAssetPath("navMBCardDotBg.svg"),className:"dot-svg",loading:"lazy",alt:""}),i.createElement(e2,null,i.createElement("div",{className:"mobile-only"},renderIcon()),i.createElement("div",{className:"desktop-only"},renderName())),i.createElement("div",{className:"mobile-only"},renderName()),i.createElement("div",{className:"desktop-only"},renderIcon()))},ToolSpotlights=({hrefViewMore:e,spotlightHealthTools:t=[]})=>{let{t:a}=(0,D.u)(),l=["pink","orange","green"],{siteType:n}=(0,i.useContext)(g.a);return i.createElement(Spotlights,{title:a("home.navigator.menu.spotlightTools")},0!==t.length&&i.createElement(eV,null,null==t?void 0:t.slice(0,3).map((e,t)=>"marryBaby"===n?i.createElement(ItemMarryBaby,{key:t,index:t,item:e,color:l[t]}):i.createElement(Item$1,{key:t,index:t,item:e}))),0===t.length&&i.createElement(SpotlightNoData,{title:a("home.navigator.menu.healthTools.noDatas.title"),description:a("home.navigator.menu.healthTools.noDatas.description"),link:e,cta:a("home.navigator.menu.healthTools.noDatas.cta"),icon:_.C.getAssetPath("community.svg")}))},MenuHealthToolsList=({locale:e,onClose:t,isOpen:a,spotlightHealthTools:l=[],healthTools:n=[]})=>{var r;let{t:s}=(0,D.u)(),{configs:{statics:c}}=(0,i.useContext)(g.a),d=`${c.HOME_PAGE_URL}${"tl-PH"===e?"/fil":""}${(null===(r=o.S[e])||void 0===r?void 0:r.HEALTH_TOOLS)||""}`;return i.createElement(PopupWrapper,{onClosePopup:t,isDisplay:a,isNavMenu:!0},i.createElement(Categories,{hrefViewMore:d,UrlFE:c.HOME_PAGE_URL,onClosePopup:t,headingTitle:s("home.navigator.menuItem.healthToolsList"),titleBtnViewMore:s("home.navigator.menuItem.allHealthTools"),menuItems:n.map(e=>({name:e.title,link:e.link?e.link.startsWith("http")?e.link:`${c.HOME_PAGE_URL}${e.link}`:void 0,thumbnail:e.icon,isMobileAppTool:e.isMobileAppTool}))}),i.createElement(ToolSpotlights,{spotlightHealthTools:l,hrefViewMore:d}))},e4=p.Z.div` display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; ${B.M.tdDown} { gap: 12px; grid-template-columns: 1fr; } `,VideoSpotlights=({spotlightsList:e=[],layout:t="default"})=>{let{t:a}=(0,D.u)(),{configs:{statics:l}}=(0,i.useContext)(g.a);return i.createElement(Spotlights,{title:a("home.navigator.menu.lastestVideos")},0!==e.length?i.createElement(e4,null,null==e?void 0:e.slice(0,4).map((e,a)=>i.createElement(n.V,{key:a,data:Object.assign(Object.assign({},e),{type:k.V.SHORTS}),layout:"default"===t?"overlay":"horizon",dataEventCategory:"Hamburger Navigation",dataEventAction:`Video Click ${a+1}`}))):i.createElement(SpotlightNoData,{title:a("home.navigator.menu.category.noDatas.title"),description:a("home.navigator.menu.category.noDatas.description"),link:`${l.VIDEO_URL_FE}/`,cta:a("home.navigator.menu.category.noDatas.cta"),icon:_.C.getAssetPath("Spotlight.svg")}))},MenuVideoList=({spotlightsList:e=[],onClose:t,isOpen:a})=>{let{t:l}=(0,D.u)(),{locale:n,configs:{statics:o}}=(0,i.useContext)(g.a),r=(0,i.useMemo)(()=>[{name:l("home.navigator.menu.videos"),link:`${o.VIDEO_URL_FE}/video/`,thumbnail:_.C.getAssetPath("nav-icons/video.svg")},{name:l("home.navigator.menu.shorts"),link:`${o.VIDEO_URL_FE}/short/`,thumbnail:_.C.getAssetPath("nav-icons/short.svg")}],[]);return i.createElement(PopupWrapper,{onClosePopup:t,isDisplay:a,isNavMenu:!0},i.createElement(Categories,{hrefViewMore:`${o.HOME_PAGE_URL}${"tl-PH"===n?"/fil":""}/videos/`,UrlFE:o.HOME_PAGE_URL,onClosePopup:t,titleBtnViewMore:l("home.navigator.menuItem.allVideos"),menuItems:r,headingTitle:l("home.navigator.menuItem.videoCategories")}),i.createElement(VideoSpotlights,{spotlightsList:e}))};p.Z.div` display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; ${B.M.tdDown} { gap: 12px; grid-template-columns: 1fr; } `;let e7=(0,p.Z)(L.B)` border: 1px solid ${h.r.colors.white} !important; .mantine-Button-leftIcon { width: 24px; height: 24px; } `,e8=p.Z.div` width: 20px; height: 20px; display: flex; justify-content: center; align-items: center; border-radius: 5px; background: linear-gradient( 180deg, rgba(255, 255, 255, 0.1) 15.1%, rgba(0, 0, 0, 0.01) 100% ), linear-gradient(180deg, #65b5ff 0%, #2685f1 100%); background-blend-mode: soft-light, normal; `,InitialCart=()=>i.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",width:"512",height:"512",style:{width:"100%",height:"100%",contentVisibility:"visible"},viewBox:"0 0 512 512"},i.createElement("defs",null,i.createElement("clipPath",{id:"__lottie_element_2"},i.createElement("path",{d:"M0 0h512v512H0z"})),i.createElement("path",{fill:"#FFF",d:"m139 0-13 174h244l-30 292 165 1 4-466z",opacity:"1",id:"__lottie_element_6",display:"block"}),i.createElement("mask",{id:"__lottie_element_6_1","mask-type":"alpha"},i.createElement("use",{xlinkHref:"#__lottie_element_6"}))),i.createElement("g",{clipPath:"url(#__lottie_element_2)"},i.createElement("path",{fill:"#2B62CD",d:"m430 181-40 41-111-120a18 18 0 0 1-5-13c0-5 2-9 5-13l6-5a18 18 0 0 1 25-1zm-348 0 40 41 111-120a18 18 0 0 0 0-26l-6-5a18 18 0 0 0-25-1z",display:"block"}),i.createElement("g",{display:"block"},i.createElement("path",{fill:"#2D87F3",d:"M385 427H125c-4 0-9-1-13-5a20 20 0 0 1-6-12L88 239h335l-18 171a20 20 0 0 1-7 12c-3 4-8 5-13 5"}),i.createElement("path",{fill:"#2B62CD",d:"m160 402-5-2a6 6 0 0 1-1-4l-8-114v-2a6 6 0 0 1 3-4 6 6 0 0 1 5 0 6 6 0 0 1 4 5l8 115-1 2a6 6 0 0 1-1 2 6 6 0 0 1-4 2m61 0-5-2a6 6 0 0 1-1-4l-2-114c0-2 0-3 2-5a6 6 0 0 1 4-1l4 1a6 6 0 0 1 2 4l2 115a6 6 0 0 1-2 4 6 6 0 0 1-4 2zm131 0a6 6 0 0 1-5-4l-1-2 8-115a6 6 0 0 1 2-4l2-1a6 6 0 0 1 2 0 6 6 0 0 1 5 2 6 6 0 0 1 1 4l-8 114a6 6 0 0 1-6 6m-61 0a6 6 0 0 1-6-6l2-114 2-5a6 6 0 0 1 4-1 6 6 0 0 1 5 1 6 6 0 0 1 1 5l-2 114a6 6 0 0 1-1 4 6 6 0 0 1-5 2"}),i.createElement("path",{fill:"#91CAFF",d:"M424 243H88a20 20 0 0 1-21-18l-3-28a20 20 0 0 1 20-23h344a20 20 0 0 1 20 23l-3 28a20 20 0 0 1-21 18"})),i.createElement("g",{mask:"url(#__lottie_element_6_1)",display:"block"},i.createElement("path",{fill:"#FFC326",d:"m294 198-16 123a5 5 0 0 1-5 5h-80l-4-2a5 5 0 0 1-1-4l15-115h1z"}),i.createElement("path",{fill:"#FFD658",d:"M272 189c0 3 0 7 2 10a12 12 0 0 0 10 6h-81l-3-1c-3-1-5-3-6-5a15 15 0 0 1 5-19 17 17 0 0 1 9-3h80c-4 0-7 1-9 3a15 15 0 0 0-7 9"}),i.createElement("path",{fill:"#FEA21E",d:"M277 326h-4c3 0 5-2 5-4l15-115 1-9v1l-1 1a9 9 0 0 1-5 4 11 11 0 0 1-8 0c-3-1-5-3-6-5-4-7-2-15 5-19 2-2 5-3 9-3h1c4 0 7 2 10 4l6 9 1 11 14 119-1 4z"}),i.createElement("path",{fill:"#FC7419",d:"M303 310v-74a3 3 0 1 0-5 0v74l-21 16h38l4-2zm-5-109a13 13 0 0 1-5 6l1-9c0-1 0 0 0 0 0-3-1-6-4-7a4 4 0 0 0-5 1v1c0 2-1 3-2 3a3 3 0 0 1-3-2l1-4a9 9 0 0 1 11-4c3 1 5 3 6 6v9"})),i.createElement("g",{display:"block"},i.createElement("path",{fill:"#FFC326",d:"m460 330-16 123a5 5 0 0 1-5 5h-80l-4-2a5 5 0 0 1-1-4l15-115h1z"}),i.createElement("path",{fill:"#FFD658",d:"M438 321c0 3 0 6 2 9a12 12 0 0 0 10 7h-81l-3-1c-3-1-5-3-6-6a15 15 0 0 1 5-18 17 17 0 0 1 9-3h80c-4 0-7 1-9 3a15 15 0 0 0-7 9"}),i.createElement("path",{fill:"#FEA21E",d:"M443 458h-4c3 0 5-2 5-5l15-114 1-9v1l-1 1a9 9 0 0 1-5 4 11 11 0 0 1-8 0c-3-1-5-3-6-6-4-6-2-14 5-18 2-2 5-3 9-3h1c4 0 7 2 10 4s5 5 6 9l1 11 14 119-1 4z"}),i.createElement("path",{fill:"#FC7419",d:"M469 442v-74a3 3 0 1 0-5 0v74l-21 16h38l4-2zm-5-109a13 13 0 0 1-5 6l1-9c0-1 0 0 0 0 0-3-1-6-4-7a4 4 0 0 0-4 1l-1 1-2 3a3 3 0 0 1-3-3l1-3a9 9 0 0 1 11-4c3 1 5 3 6 5 1 3 2 7 0 10"})))),InitialDoctor=()=>i.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"512",height:"512",style:{width:"100%",height:"100%",contentVisibility:"visible"},viewBox:"0 0 512 512"},i.createElement("defs",null,i.createElement("clipPath",{id:"__lottie_element_23"},i.createElement("path",{d:"M0 0h512v512H0z"}))),i.createElement("g",{clipPath:"url(#__lottie_element_23)"},i.createElement("g",{display:"block"},i.createElement("path",{fill:"#1B3250",d:"M430 332c-13-17-52-37-42-63 16-41-9-72-28-84-22-14-23-43-30-66-15-50-53-73-103-73s-88 21-103 71c-7 22-7 53-29 67-19 12-61 41-45 82 10 26-15 52-28 69-39 53 13 89 72 98l255 2c59-9 120-50 81-103"}),i.createElement("path",{fill:"#FFB497",d:"M120 202c-11 4-13 17-10 29a29 29 0 0 0 14 17 29 29 0 0 0 22 3l-8-49a25 25 0 0 0-18 0"}),i.createElement("path",{fill:"#FF977B",d:"M147 235a5 5 0 0 1-4-2c-6-8-17-8-17-8a5 5 0 0 1-4-2 5 5 0 0 1 0-7l4-1c1 0 16 0 25 11a5 5 0 0 1-4 9"}),i.createElement("path",{fill:"#FFB497",d:"M332 202a25 25 0 0 0-18 0l-8 49a29 29 0 0 0 22-3c7-3 12-10 14-17 3-12 1-25-10-29"}),i.createElement("path",{fill:"#FF977B",d:"M305 235a5 5 0 0 1-5-3 5 5 0 0 1 1-6c9-11 24-11 25-11a5 5 0 0 1 5 5 5 5 0 0 1-5 5s-11 0-17 8a5 5 0 0 1-4 2"}),i.createElement("path",{fill:"#E3F2FF",d:"M366 452H86a3 3 0 0 1-4-4c5-19 19-47 37-65a153 153 0 0 1 42-28l1-1a85 85 0 0 1 29-19h70a84 84 0 0 1 29 19l1 1a153 153 0 0 1 42 28c18 18 32 46 37 65a3 3 0 0 1-1 3 3 3 0 0 1-3 1"}),i.createElement("path",{fill:"#FCCAAF",d:"M261 335c-25 32-48 32-70 0l5-10v-1a45 45 0 0 0 2-13h56a48 48 0 0 0 2 13v1l5 10"}),i.createElement("path",{fill:"#2D87F3",d:"M281 452H175c-14-93 16-117 16-117 7 9 20 15 35 15s28-6 35-15c0 0 9 12 16 37 5 20 6 60 4 80"}),i.createElement("path",{fill:"#BCDEFF",d:"M191 335a84 84 0 0 0-30 19 53 53 0 0 0-13 28c0 3 11 1 16 0h1v1c-13 8-17 19-16 25 2 15 6 30 13 44h26s-12-72 3-117m96 48a1 1 0 0 1 0-1h1c1 0 0 0 0 0 5 1 16 3 16 0a53 53 0 0 0-13-28 83 83 0 0 0-30-19c15 45 3 117 3 117h26a157 157 0 0 0 13-44c1-6-3-17-16-25"}),i.createElement("path",{fill:"#FF977B",d:"M256 325c-20 18-40 18-60 0v-1a46 46 0 0 0 2-13h56a48 48 0 0 0 2 13v1"}),i.createElement("path",{fill:"#FCCAAF",d:"M314 205c-3 54-17 80-39 96-14 11-37 24-49 24s-35-13-49-24c-22-16-36-42-39-96 52-21 30-127 85-99a7 7 0 0 0 6 0c55-28 33 78 85 99"}),i.createElement("path",{fill:"#FFB497",d:"M221 106c-27-12-34 12-43 40-7 25-16 54-41 63l1 3c43 0 71-62 83-106"})),i.createElement("path",{fill:"#FF977B",d:"M233 233a5 5 0 0 0-4 2l-3 1-3-1a5 5 0 0 0-2-2 5 5 0 0 0-4 0 5 5 0 0 0-3 5c0 6 9 8 12 8s12-2 12-8a5 5 0 0 0-2-3 5 5 0 0 0-3-2",display:"block"}),i.createElement("path",{fill:"#1B3250",d:"m261 199 9-5a27 27 0 0 1 11-1c4 0 7 0 11 2l8 4a2 2 0 0 1 1 2 2 2 0 0 1 0 1h-1l-10-1h-9a20 20 0 0 0-7 2 65 65 0 0 0-7 4 5 5 0 0 1-4 1 5 5 0 0 1-3-2 5 5 0 0 1-1-2 5 5 0 0 1 2-5",display:"block"}),i.createElement("path",{fill:"#284A75",d:"M280 218a9 9 0 1 0 0-19 9 9 0 0 0 0 19",display:"block"}),i.createElement("path",{fill:"#1B3250",d:"m192 210-7-4-7-2h-9l-9 1a2 2 0 0 1-2-1v-1l1-1 9-4c3-2 6-2 10-2 4-1 7 0 11 1l9 5a5 5 0 0 1 2 3v4a5 5 0 0 1-7 2l-1-1",display:"block"}),i.createElement("path",{fill:"#284A75",d:"M184 218a9 9 0 1 0 0-19 9 9 0 0 0 0 19",display:"block"}),i.createElement("g",{fill:"#FFF",display:"block"},i.createElement("path",{d:"m216 213-4-1a5 5 0 0 1-1-3v-4a5 5 0 0 1 3-2 33 33 0 0 1 24 0 5 5 0 0 1 3 7 5 5 0 0 1-3 2h-3a23 23 0 0 0-18 1h-1"}),i.createElement("path",{d:"M183 249a38 38 0 0 1-35-23 38 38 0 0 1-2-22 38 38 0 0 1 11-19 38 38 0 0 1 19-11c7-1 15 0 22 2a38 38 0 0 1 16 14 38 38 0 0 1 7 21 38 38 0 0 1-11 27 38 38 0 0 1-27 11m0-65a27 27 0 0 0-25 17 27 27 0 0 0-2 15 27 27 0 0 0 8 14 27 27 0 0 0 42-4c3-4 4-9 4-15a27 27 0 0 0-8-19 27 27 0 0 0-19-8zm86 65a38 38 0 0 1-35-24 38 38 0 0 1 27-51 38 38 0 0 1 39 16 38 38 0 0 1 6 21 38 38 0 0 1-11 27 38 38 0 0 1-26 11m0-65a27 27 0 0 0-25 17 27 27 0 0 0-2 15 27 27 0 0 0 8 14 27 27 0 0 0 46-19 27 27 0 0 0-8-19 27 27 0 0 0-19-8z"})),i.createElement("path",{d:"m205 180-2-1c-10-4-39-9-47-1a5 5 0 0 1-3 2 5 5 0 0 1-4-2 5 5 0 0 1-2-3l1-4c14-15 52-4 59-1a5 5 0 0 1 3 6 5 5 0 0 1-2 3l-3 1zm42 0-3-1a5 5 0 0 1-1-7 5 5 0 0 1 2-2c7-3 45-14 59 1a5 5 0 0 1 1 4l-2 3a5 5 0 0 1-4 2l-3-2c-8-8-37-3-47 1l-2 1",fill:"#284A75",display:"block"}),i.createElement("path",{fill:"#FF886C",d:"M208 260a4 4 0 0 0-3 1 4 4 0 0 0-1 3c2 8 6 19 22 19s21-11 22-19a4 4 0 0 0-4-4l-18-1-18 1",display:"block"}),i.createElement("g",{display:"block"},i.createElement("g",{fill:"#FFF"},i.createElement("path",{d:"M469 405a85 85 0 1 1-170 0 85 85 0 0 1 170 0"}),i.createElement("path",{d:"M469 405a85 85 0 1 1-170 0 85 85 0 0 1 170 0"})),i.createElement("path",{fill:"#E4E8EC",d:"M384 480a75 75 0 1 0 0-149 75 75 0 0 0 0 149m0 11a85 85 0 1 0 0-171 85 85 0 0 0 0 171"}),i.createElement("path",{fill:"#FFF",d:"M469 405a85 85 0 1 1-170 0 85 85 0 0 1 170 0"}),i.createElement("path",{fill:"#E4E8EC",d:"M384 480a75 75 0 1 0 0-149 75 75 0 0 0 0 149m0 11a85 85 0 1 0 0-171 85 85 0 0 0 0 171"}),i.createElement("path",{fill:"#FF6F4D",d:"M389 358h-11a17 17 0 0 0-12 5 17 17 0 0 0-5 12v3l-1 3a4 4 0 0 1-3 1h-3a17 17 0 0 0-17 17v12a17 17 0 0 0 17 17h3a4 4 0 0 1 4 3v3a17 17 0 0 0 17 17h11c5 0 9-2 12-5s5-7 5-12v-3a4 4 0 0 1 4-3h3c4 0 9-2 12-5s5-8 5-12v-12c0-5-2-9-5-12a17 17 0 0 0-12-5h-3a4 4 0 0 1-4-4v-3a17 17 0 0 0-5-12 17 17 0 0 0-12-5"})))),MenuViewMore=({menuItems:e=[],isOpen:t,onClose:a})=>{let{locale:l,configs:{enableAppIntroPage:n}}=(0,i.useContext)(g.a),r=e.find(e=>"ecom"===e.id),s=e.find(e=>"care"===e.id);return i.createElement(PopupWrapper,{onClosePopup:a,isDisplay:t,isNavMenu:!0,hideCloseBtn:!0,stylesContainer:{display:"flex",gap:0,padding:0}},r&&i.createElement("a",{tabIndex:0,href:r.link,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":r.link},i.createElement(e7,{variant:"tertiary",leftIcon:i.createElement(InitialCart,null)},r.name)),s&&i.createElement("a",{tabIndex:0,href:s.link,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":s.link},i.createElement(e7,{variant:"tertiary",leftIcon:i.createElement(InitialDoctor,null)},s.name)),n&&i.createElement("a",{tabIndex:0,href:"https://applink.hellobacsi.com/o9Q88rQh7Mb","data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://applink.hellobacsi.com/o9Q88rQh7Mb"},i.createElement(e7,{variant:"tertiary",leftIcon:i.createElement(e8,null,i.createElement(d.Z,{width:16,height:15}))},`${o.L[l||"en-PH"].SITE_NAME_FORMATTED} App`)))};function ClosePopupIcon({className:e}){return i.createElement("div",null,i.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",className:e},i.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"})))}function HamburgerIcon({siteType:e,enableSearch:t,className:a,style:l}){let{isWinCashBackTheme:n}=(0,i.useContext)(g.a);return"helloSites"===e?i.createElement("div",{className:"hamburger-container"},n?i.createElement(HamburgerWhite,{className:a}):i.createElement("img",{"data-list-type":"Header","data-content-type":"Navigation","data-content-topic":"Hamburger",src:t?_.C.getAssetPath("hamburgerMenuNewWithSearch.svg"):_.C.getAssetPath("hamburgerMenuNew.svg"),style:Object.assign({width:"24px",height:"24px"},l),alt:"home",className:a,loading:"lazy"})):i.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",className:a},i.createElement("path",{d:"M3.35 15a.65.65 0 0 1 .65-.65h10a.65.65 0 1 1 0 1.3H4a.65.65 0 0 1-.65-.65m0-6A.65.65 0 0 1 4 8.35h16a.65.65 0 1 1 0 1.3H4A.65.65 0 0 1 3.35 9",fill:"#3E3F58"}))}let e9=p.Z.div` position: fixed; z-index: 201; top: calc(100% - 1px); width: 100%; height: calc(100vh - var(--header-bottom)); overflow-x: hidden; overflow-y: auto; background: white; display: flex; flex-direction: column; padding-bottom: 0; left: 0; .hhgcomp-navigation-popupwrapper-menuwrapper { position: unset; } `;p.Z.div` padding: 16px; padding-bottom: 12px; .fake-search-input { pointer-events: none; input { line-height: 20px; padding-top: 10px; padding-bottom: 10px; } } &[data-theme='marryBaby'] { input { background: ${h.r.mbColors.lightGray}; border-radius: 16px; border: none; } } `;let te=p.Z.div` display: block; overflow-y: auto; flex: 1; padding-bottom: 16px; &::-webkit-scrollbar { width: 0; display: none; } `,tt=p.Z.div` padding: 0 16px; `,ta=p.Z.div` display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 3.5rem; ${B.M.tdDown} { grid-template-columns: repeat(1, 1fr); } `,tl=p.Z.a` text-decoration: none; display: flex; align-items: center; `,Item=({item:e,index:t=0})=>e?i.createElement(tl,{href:e.url,"data-event-category":"Hamburger Navigation","data-event-action":`Care Click ${t+1}`,"data-event-label":e.url},i.createElement("img",{loading:"lazy",alt:e.name,src:e.featuredImage||"/images/avatar.jpg",style:{width:"40px",height:"40px"}}),i.createElement($.T,{size:"p2",weight:"regular",style:{marginLeft:16}},e.name),i.createElement("img",{src:_.C.getAssetPath("chevronRightActive.svg"),style:{width:"20px",height:"20px",marginLeft:"auto"},loading:"lazy"})):null,EcomSpotlights=({helpfulUrls:e=[]})=>{let{t}=(0,D.u)();return e.length?i.createElement(Spotlights,{title:t("home.navigator.menu.spotlightEcom")},0!==e.length?i.createElement(ta,null,null==e?void 0:e.slice(0,5).map((e,t)=>i.createElement(Item,{key:t,index:t,item:e}))):i.createElement(i.Fragment,null)):null},MenuServiceList=({closePopup:e,menuItems:t=[],projectType:a,isHomepage:l=!1})=>{var n,r;let{siteType:s,ssrMenuContent:{categories:c,healthTools:d,care:p,together:m,ecom:h,videos:u},activeMenuService:v,configs:{statics:f},locale:C,customClasses:E}=(0,i.useContext)(g.a),{t:x}=(0,D.u)();return i.createElement(e9,{className:E.categoriesMenu,id:"categories-menu"},!l&&i.createElement(tt,{className:"search-wrapper"},i.createElement(NavigtionSearch,{siteType:s,projectType:a,isMobile:!1,isRedirectSearchPage:!0})),i.createElement(te,null,i.createElement(Categories,{UrlFE:f.HOME_PAGE_URL,titleBtnViewMore:x("home.navigator.menuItem.allCategories"),menuItems:t,headingTitle:x("home.navigator.menuItem.healthCategories"),onClosePopup:e,activeItem:v}),"categories"===v&&i.createElement(CategorySpotlights,{spotlightsList:(null==c?void 0:c.spotlights)||[],hrefViewMore:`${f.HOME_PAGE_URL}${"tl-PH"===C?"/fil":""}/spotlight/`}),"tools"===v&&i.createElement(ToolSpotlights,{spotlightHealthTools:null==d?void 0:d.spotlights,hrefViewMore:`${f.HOME_PAGE_URL}${"tl-PH"===C?"/fil":""}${(null===(n=o.S[C])||void 0===n?void 0:n.HEALTH_TOOLS)||""}`}),"care"===v&&i.createElement(CareSpotlights,{spotlights:null==p?void 0:p.spotlights,hrefViewMore:`${f.CARE_URL_FE}/${null===(r=P.L[C])||void 0===r?void 0:r.SPECIALTIES}`}),"together"===v&&i.createElement(CommunitySpotlights,{spotlights:null==m?void 0:m.spotlights}),"ecom"===v&&i.createElement(EcomSpotlights,{helpfulUrls:null==h?void 0:h.helpfulUrls}),"video"===v&&i.createElement(VideoSpotlights,{spotlightsList:null==u?void 0:u.spotlights,layout:"stack"})))},HamburgerMenu=({menuItems:e,isHomepage:t,projectType:a})=>{let{siteType:l}=(0,i.useContext)(g.a),{containerRef:n,onContainerFocus:o,onContainerBlur:r,onButtonMouseDown:s,onClose:c}=(0,g.u)();return i.createElement(DisplayWrapper,{mediaQueryKey:"mbDown"},i.createElement("header",{className:"y5VJdvw"},i.createElement("div",{className:"oVhOSCy",ref:n,role:"button",tabIndex:0,onBlur:r,onFocus:o},i.createElement("div",{className:"pX8OXTM",onMouseDown:s,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"Hamburger Navigation URL"},i.createElement(ClosePopupIcon,{className:"mobile-close-icon"}),i.createElement(HamburgerIcon,{siteType:l,enableSearch:!1,className:"mobile-hamburger-icon"})),i.createElement(MenuServiceList,{menuItems:e,isHomepage:t,projectType:a,closePopup:c}))))},ti=p.Z.div` z-index: 201; width: 100%; align-items: center; background-color: ${h.r.colors.white}; transition: height 0.3s, transform 0.3s; &[data-win-cash-back-theme='true'] { background-color: ${h.r.colors.blue900}; .search-wrapper { padding: 8px 16px; background-color: ${h.r.colors.blue900}; } .hhgcomp-navigation-itemnav-headeritem { border-bottom: none; color: ${h.r.colors.white}; svg { path { stroke: ${h.r.colors.white}; } } .wrapper-menu-icon { .origin-icon { filter: brightness(0) invert(1); } .close-icon { svg { path { fill: ${h.r.colors.white}; } } } } } .profile-nav-group { margin-left: 12px; gap: 24px; ${B.M.pcDown} { margin-left: 16px; gap: 16px; } ${B.M.mbDown} { margin-left: 0; gap: 16px; } .login-btn { border-radius: 28px; border-color: rgba(255, 255, 255, 0.2); &:hover { background-color: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.2); } } } .hhgcomp-navigation-itemnav-headeritem { gap: 2px; ${B.M.pcUp} { padding: 0 12px; } ${B.M.pcDown} { padding: 0 6px; } } .mobile-close-icon { path { stroke: ${h.r.colors.white}; } } .fake-search-input { .mantine-Input-input { border-radius: 8px; } } } &[data-site-type='helloSites'] { border-bottom: 1px solid ${h.r.colors.neutral100}; } &[data-site-type='helloSites'][data-win-cash-back-theme='true'] { border-bottom: none; } &[data-sponsored='true'] { border-bottom: none; } &[data-marry-baby-tone='pink'] { background-color: ${h.r.mbColors.lightPink}; } ${B.M.mbDown} { &[data-site-type='marryBaby'] { border-bottom: none; } &[data-fixed-bar='true'] { position: fixed; transform: translateY(0); } &[data-fixed-bar='false'] { position: absolute; } &[data-collapsed='true'] { transform: translateY(-100%); transition: transform 0.5s; } &[data-collapsed='false'] { transform: translateY(0); transition: transform 0.5s; } .top-bar-header { line-height: normal; } &[data-header-type='home'] { z-index: ${O.Z.headerContainerHome}; } &[data-is-displayed='false'] { //display: none; visibility: hidden; } } .marry-baby { input { background: ${h.r.mbColors.lightGray}; border-radius: 16px; border: none; } max-width: 172px; } &[data-site-type='marryBaby'] { .close-btn { top: 16px; right: 16px; } } `,tn=p.Z.div` display: flex; height: 100%; align-items: center; justify-content: space-between; padding: 0 2rem; height: 56px; ${B.M.pcDown} { padding: 0 1rem; } ${B.M.mbDown} { position: relative; height: 56px; background: ${h.r.colors.white}; gap: 2px; } &[data-win-cash-back-theme='true'] { height: 60px; /* width: 100%; margin: 0 auto; padding: 0 16px; max-width: 1160px; margin: 0 auto; width: 100%; */ ${B.M.mbDown} { /* padding: 0 16px; */ background: ${h.r.colors.blue900}; height: 56px; } } &[data-site-type='marryBaby'] { width: 100%; margin: 0 auto; padding: 0 16px; ${B.M.tdUp} { max-width: 1064px; } } `,to=p.Z.div` display: flex; align-items: center; height: 100%; gap: 32px; ${B.M.pcDown} { flex-shrink: 0; gap: 12px; &[data-site-type='marryBaby'] { gap: 24px; } } `,tr=p.Z.div` display: flex; align-items: center; height: 100%; flex-shrink: 0; ${B.M.tdDown} { flex-shrink: 0.6; gap: 8px; } .hhgcomp-navigation-itemnav-headeritem { gap: 2px; ${B.M.pcUp} { padding: 0 10px; } ${B.M.pcDown} { padding: 0 6px; } ${B.M.mbDown} { display: none; } a { text-decoration: none; } } `;p.Z.div` .fake-search-input { pointer-events: none; input { line-height: 20px; padding-top: 10px; padding-bottom: 10px; } } `;let ts=p.Z.div` margin-left: 16px; display: flex; gap: 12px; align-items: center; flex-shrink: 0; ${B.M.pcDown} { margin-left: 8px; gap: 8px; } ${B.M.mbDown} { margin-left: 0; gap: 8px; } .ai-doctor-nav-item { .ai-doctor-btn { border-radius: 28px; border: 1px solid ${h.r.colors.neutral200}; } } .clinity-logo { width: 99px; height: 40px; ${B.M.mbDown} { width: 88px; height: 36px; } } `,tc=p.Z.div` display: flex; align-items: center; height: 100%; &[data-site-type='marryBaby'] { gap: 26px; } .hamburger-container { display: flex; justify-content: center; align-items: center; } `,td=p.Z.div` padding: 0 16px 6px; `,tp=(0,p.Z)(L.B)` border-radius: 28px; border: 1px solid ${h.r.colors.neutral200}; &.ai-doctor-btn { pointer-events: none !important; * { pointer-events: none !important; } } ${B.M.mbDown} { padding: 0px 12px 0px 10px; height: 36px; color: ${h.r.colors.gray900}; font-size: 13px; font-weight: 500; line-height: 22px; } `,NavigationBar=({onTopBarAppears:e,languageMenu:t,menuItems:a,logoComponent:l,subHead:s,projectType:c,customClasses:d})=>{var p,m,h,u,f;let{siteType:E,isMobile:x=!1,locale:w,sitewideBanner:b,sitewideBannerData:k,sitewideSite:$="discover",sponsorComponent:L,isHomepage:B=!1,currentUrl:H,onLoginClick:D,cartNumber:P,configs:{statics:F,enableSearchBar:Z,enableNavChatbotAi:z,enableNavClinityDownload:O,enableAppIntroPage:R,enableNavCartCare:T},userState:{userInfo:j},onLogout:U,isUserLoading:V,slot:G,isWinCashBackTheme:Y}=(0,i.useContext)(g.a),{triggerLogin:Q}=(0,N.u)(),{SSO_URL:X,HOME_PAGE_URL:K}=F,J=!!L,[ee,et]=(0,i.useState)(!1),ea=(0,i.useRef)(47),el=(0,i.useRef)(null),ei=(0,i.useRef)(!1),{getHref:en}=(0,I.a)(),eo=`${(0,r.g)(w)}/${S.C}/${null===(p=A.L[w])||void 0===p?void 0:p.CART}/`,er=en(),es="helloSites"===E?null===(m=o.L[w])||void 0===m?void 0:m.LOGO_TYPE:E,ec="undefined"!=typeof window,ed=(0,i.useCallback)(M()(()=>{if(ec){if(!el.current)return;let e=el.current.getBoundingClientRect();e.top<=0&&window.scrollY>ea.current+30&&window.scrollY>e.height+20&&!ei.current&&(ei.current=!0,et(!0)),window.scrollY=0&&(ea.current=window.scrollY)}},200),[]);return(0,i.useEffect)(()=>{null==e||e(!ee)},[ee]),(0,i.useEffect)(()=>(window.addEventListener("scroll",ed,{passive:!0}),()=>{window.removeEventListener("scroll",ed)}),[]),(0,i.useEffect)(()=>{x&&ed()},[x]),i.createElement(ti,{"data-site-type":E,"data-sponsored":J,"data-header-type":"home","data-collapsed":ee,"data-is-displayed":!0,"data-win-cash-back-theme":Y,id:"site-header",ref:el,className:d.wrapper},b||i.createElement(n.S,{site:$,currentUrl:H,banner:k}),i.createElement(tn,{className:d.header,"data-main-header":!0,"data-site-type":E,"data-win-cash-back-theme":Y},i.createElement(to,{className:d.leftGroup,"data-site-type":E},x&&i.createElement(HamburgerMenu,{menuItems:a.filter(e=>!!e.link),isHomepage:B,projectType:c}),l||i.createElement("a",{style:{flexShrink:0},href:K},i.createElement("div",null,i.createElement(y.L,{style:{display:"flex"},type:es,badge:"id-ID"===w&&i.createElement("img",{src:_.C.getAssetPath("sehat-badge.png"),width:"56",height:"23",loading:"lazy"}),dateForSeasonal:new Date,locale:w,key:"undefined"!=typeof window?"client":"server",isLightLogo:Y}))),!x&&i.createElement(i.Fragment,null,"marryBaby"===E?i.createElement(NavigationMenu,{menuItems:a,originalMenuItems:a,className:d.navMenu}):Z&&i.createElement(NavigtionSearch,{siteType:E,projectType:c,isMobile:x}))),i.createElement(tr,{className:d.rightGroup,"data-site-type":E},!x&&"marryBaby"!==E&&i.createElement(NavigationMenu,{menuItems:a.filter(e=>w!==W.L.Vietnam||"ecom"!==e.id&&"care"!==e.id),originalMenuItems:a,className:d.navMenu}),i.createElement(ts,{className:"profile-nav-group"},t,T&&Y&&i.createElement(q.C,{href:null!=er?er:eo,count:er?1:0}),z&&i.createElement(C.x,{component:"a",href:`${(0,r.g)(w)}/ai-doctor`,"data-event-category":"Chatbot AI","data-event-action":"Open","data-event-label":"Hamburger Navigation",className:"ai-doctor-nav-item"},i.createElement(tp,{variant:"tertiary",leftIcon:i.createElement(v.Z,{size:18,color:"#2F8AF2"}),size:"md",className:"ai-doctor-btn"},null===(h=o.L[w])||void 0===h?void 0:h.SITE_NAME," AI")),O&&i.createElement(C.x,{component:"a",href:`${null===(u=o.S[w])||void 0===u?void 0:u.CLINITY_DOWNLOAD_LINK}`,target:"_blank","data-event-category":"Hamburger Navigation","data-event-action":"Download Clinity","data-event-label":`${null===(f=o.S[w])||void 0===f?void 0:f.CLINITY_DOWNLOAD_LINK}`,"data-cart-menu":!0},i.createElement("img",{src:_.C.getAssetPath("clinity-download.png"),alt:"Clinity",className:"clinity-logo",style:{display:"block"}})),G,i.createElement(g.N,{userInfo:j,siteType:E,onLoginClick:D||(()=>{if((0,N.I)(w))return Q();let e=window.location.href;window.location.href=X?(0,r.n)(`${X}?returnUrl=${e}`):e}),currentUrl:H,onLogout:U,isLoading:V,locale:w,enableAppIntroPage:R,isMobile:x,className:d.profileBtn}),void 0!==P&&i.createElement(i.Fragment,null,!x&&i.createElement("hr",{style:{height:20,width:0,border:"none",borderLeft:"1px solid #E4E8EC"}}),i.createElement(CartBadge,{"data-cart-menu":"true","data-event-category":"Ecommerce","data-event-action":"Cart Click","data-event-label":H,count:P,locale:w}))))),x&&B&&i.createElement(td,{className:"search-wrapper"},i.createElement(NavigtionSearch,{siteType:E,projectType:c,isMobile:x,isHomepage:B})),L?i.isValidElement(L)?i.cloneElement(L,{isCollapsed:ee,locale:w,isMobile:x}):L:null,s&&s)},NavigtionSearch=({siteType:e,projectType:t,isMobile:a=!1,isHomepage:l=!1,isRedirectSearchPage:n=!1})=>i.createElement(DisplayWrapper,{mediaQueryKey:"mbUp",className:`${"marryBaby"===e?"marry-baby":""} ${l?"block-show":""}`},i.createElement(SearchInput,{id:"desktop",projectType:t,isMobile:a,isHomepage:l,isRedirectSearchPage:n})),NavigationMenu=({menuItems:e,originalMenuItems:t,className:a})=>{let{siteType:l,locale:n,ssrMenuContent:{categories:o,healthTools:r,care:s,together:c,videos:d}}=(0,i.useContext)(g.a);return i.createElement(DisplayWrapper,{className:a,mediaQueryKey:"mbUp",style:{height:"100%"}},i.createElement(tc,{"data-site-type":l},null==e?void 0:e.map((e,a)=>i.createElement(ItemMenu,{key:a,item:e,menu:"categories"===e.popupType?i.createElement(MenuCategoriesList,{categories:null==o?void 0:o.items,spotlightsList:null==o?void 0:o.spotlights}):"tools"===e.popupType?i.createElement(MenuHealthToolsList,{locale:n,healthTools:null==r?void 0:r.items,spotlightHealthTools:null==r?void 0:r.spotlights}):"together"===e.popupType?i.createElement(MenuCommunitiesList,{communities:null==c?void 0:c.items,spotlights:null==c?void 0:c.spotlights}):"care"===e.popupType?i.createElement(MenuCareList,{careSpecialties:null==s?void 0:s.items,spotlights:null==s?void 0:s.spotlights}):"video"===e.popupType?i.createElement(MenuVideoList,{spotlightsList:null==d?void 0:d.spotlights}):"other"===e.popupType?i.createElement(MenuViewMore,{menuItems:t}):null}))))},useHeaderHeight=({hasSponsoredBanners:e,isSponsored:t,isShowingSiteWideBanner:a,isMobile:l})=>{let n=(0,i.useRef)(null),[o,r]=(0,i.useState)(0),[s,c]=(0,i.useState)(64),d=(0,i.useCallback)(Q()(()=>{var e,t,a,l;let i=(null===(e=n.current)||void 0===e?void 0:e.clientHeight)||(null===(a=null===(t=n.current)||void 0===t?void 0:t.children[0])||void 0===a?void 0:a.clientHeight)||0;window.scrollY<=i+200&&(r(i),c((null===(l=n.current)||void 0===l?void 0:l.getBoundingClientRect().bottom)||o))},200),[]);(0,i.useEffect)(()=>(window.addEventListener("resize",d,{passive:!0}),window.addEventListener("scroll",d,{passive:!0}),d(),()=>{window.removeEventListener("resize",d),window.removeEventListener("scroll",d)}),[]),(0,i.useEffect)(()=>{d()},[l,a,t,e,n.current]);let p=(0,i.useMemo)(()=>{let i=l?56:60;return a&&(i+=64),t&&(i+=40,e&&(i+=57)),i},[l,a,e,t]);return{defaultHeaderHeight:p,headerHeight:o||p,headerBottom:s,headerRef:n}},useInsider=()=>{let{isFirstLogin:e,userState:t}=(0,i.useContext)(g.a),{userInfo:a}=t;(0,i.useEffect)(()=>{(null==a?void 0:a.id)&&(e?(null==a?void 0:a.email)&&(null==a?void 0:a.email)!==""?window.insider_object={user:Object.assign({uuid:null==a?void 0:a.id,email:null==a?void 0:a.email,gdpr_optin:!0,email_optin:!0,sign_up:!0},(null==a?void 0:a.name)?{name:null==a?void 0:a.name}:{})}:window.insider_object={user:Object.assign({uuid:null==a?void 0:a.id,sign_up:!0},(null==a?void 0:a.name)?{name:null==a?void 0:a.name}:{})}:(null==a?void 0:a.email)&&(null==a?void 0:a.email)!==""?window.insider_object={user:Object.assign({uuid:null==a?void 0:a.id,email:null==a?void 0:a.email,gdpr_optin:!0,email_optin:!0,log_in:!0},(null==a?void 0:a.name)?{name:null==a?void 0:a.name}:{})}:window.insider_object={user:Object.assign({uuid:null==a?void 0:a.id,log_in:!0},(null==a?void 0:a.name)?{name:null==a?void 0:a.name}:{})})},[])},useNavServices=()=>{let{t:e}=(0,D.u)(),{siteType:t,locale:a,configs:{enableNavDiscover:l,enableNavHealthTools:n,enableNavCare:s,enableNavTogether:c,enableNavEcom:d,enableNavVideo:p,enableAppIntroPage:m,statics:h}}=(0,i.useContext)(g.a),u="marryBaby"===t,v=[m,s,d].filter(Boolean).length>1,f=(0,i.useMemo)(()=>{var m;let g=[];return l&&g.push({name:e("home.navigator.menuItem.discover"),id:"categories",link:`${h.HOME_PAGE_URL}${"tl-PH"===a?"/fil":""}/categories/`,niceName:"",thumbnail:u?_.C.getAssetPath("categories-mb.svg"):_.C.getAssetPath("nav-icons/discover.svg"),popupType:"categories"}),p&&g.push({name:e("home.navigator.menuItem.video"),id:"video",link:`${h.HOME_PAGE_URL}${"tl-PH"===a?"/fil":""}/videos/`,niceName:"",thumbnail:_.C.getAssetPath("nav-icons/video.svg"),popupType:"video"}),n&&g.push({name:e("home.navigator.menuItem.healthTools"),id:"tools",link:`${h.HOME_PAGE_URL}${"tl-PH"===a?"/fil":""}${(null===(m=o.S[a])||void 0===m?void 0:m.HEALTH_TOOLS)||""}`,thumbnail:u?_.C.getAssetPath("healthtools-mb.svg"):_.C.getAssetPath("nav-icons/health-tools.svg"),popupType:"tools"}),c&&g.push({name:e("home.navigator.menuItem.helloTogether"),id:"together",link:(0,r.n)(h.TOGETHER_URL_FE+"/"),thumbnail:u?_.C.getAssetPath("community-mb.svg"):_.C.getAssetPath("nav-icons/community.svg"),popupType:"together"}),d&&g.push({name:e("home.navigator.menuItem.helloEcom"),id:"ecom",link:(0,r.n)(h.HOME_PAGE_URL+"/shop/"),thumbnail:_.C.getAssetPath("nav-icons/shop.svg"),popupType:null}),s&&g.push({name:e("home.navigator.menuItem.helloCare"),id:"care",link:"ms-MY"===a?"https://api.whatsapp.com/send/?phone=601133221899&text=MULA+SEKARANG&type=phone_number&app_absent=0":(0,r.n)(h.HOME_PAGE_URL+"/care/"),thumbnail:_.C.getAssetPath("nav-icons/care.svg"),popupType:null}),v&&g.push({name:e("home.seeMore"),id:"other",link:"",thumbnail:"",popupType:"other",icon:i.createElement(HamburgerIcon,{siteType:t,enableSearch:!1,style:{width:"16px",height:"16px"},className:"mobile-hamburger-icon"})}),g},[]);return f},tm=p.Z.div` --header-z-index: ${o.a}; top: 0; z-index: var(--header-z-index); ${B.M.mbDown} { width: 100vw; max-width: 100%; } --amp-site-wide-closed: 2px; -webkit-transform: translateZ(0); position: sticky; &.nav-open { margin-top: 64px; } &:not(.nav-open) { --amp-site-wide-closed: 66px; } pointer-events: none; > section *:not([data-cart-menu] *) { pointer-events: auto; } `,_NavigationV2=e=>{var t,a;let{isMobile:l,locale:o,onTopBarAppears:r,languageOptions:s,sponsorComponent:c,sitewideBanner:d,sitewideBannerShown:p,className:m,logoComponent:h,subHead:g,projectType:u,customClasses:v={}}=e,f=useNavServices();useInsider();let C=!!(null===(a=null===(t=null==c?void 0:c.props)||void 0===t?void 0:t.sponsoredBy)||void 0===a?void 0:a.length),{headerRef:E,defaultHeaderHeight:x,headerHeight:w,headerBottom:y}=useHeaderHeight({isShowingSiteWideBanner:p&&!!d,isSponsored:!!c,hasSponsoredBanners:C,isMobile:l});return i.createElement(tm,{id:"navigation-v2",style:{"--default-header-height":x+"px","--header-height":`calc(${w}px - var(--amp-site-wide-closed), 64px)`,"--header-bottom":y+"px"},className:m},i.createElement("section",{ref:E},i.createElement(NavigationBar,{menuItems:f,onTopBarAppears:r,logoComponent:h,subHead:g,projectType:u,languageMenu:i.createElement(n.L,{languageOptions:s,locale:o}),customClasses:v})))},NavigationV2=e=>{let t=Object.assign({siteType:"helloSites",projectType:"discover",locale:"vi-VN",activeMenuService:"categories",ssrMenuContent:{}},e);return i.createElement(g.b,Object.assign({},t),i.createElement(_NavigationV2,Object.assign({},t)))},getNavMenuContent=e=>(0,l.a)(void 0,void 0,void 0,function*(){var t,a,l,i,n,c,d,p,m,h,g,u,v,f,C,E,x,w,y,b,M,k,_,$,L;let B={},S="vi-VN_MB"===e;try{let N="tl-PH"===e?"lang=fil":"";try{let[s,v,f,C,E]=yield Promise.all([fetch((0,r.n)(`${(0,r.c)(e)}/wp-json/api/categories${N?"?"+N:""}`)).then(e=>e.json()),fetch((0,r.n)(`${(0,r.c)(e)}/wp-json/api/spotlights?per_page=10&order_by=start_date${N?"&"+N:""}`)).then(e=>e.json()),fetch((0,r.n)(`${(0,r.c)(e)}/wp-json/api/${S?"health-tools":"healthtools"}${N?"?"+N:""}`)).then(e=>e.json()),fetch((0,r.n)(`${(0,r.c)(e)}/wp-json/api/${S?"health-tools":"healthtools"}/favorites${N?"?"+N:""}`)).then(e=>e.json()),o.V.includes(e)&&fetch((0,r.n)(`${(0,r.c)(e)}/wp-json/api/video/navigation`)).then(e=>e.json())]);B.categories={items:(null===(a=null===(t=null==s?void 0:s.data)||void 0===t?void 0:t.map)||void 0===a?void 0:a.call(t,O.f))||[],spotlights:(null===(c=null===(n=null===(i=null===(l=null==v?void 0:v.data)||void 0===l?void 0:l.articles)||void 0===i?void 0:i.map)||void 0===n?void 0:n.call(i,O.c))||void 0===c?void 0:c.filter(O.d))||[]},B.healthTools={items:(null===(p=null===(d=null==f?void 0:f.data)||void 0===d?void 0:d.map)||void 0===p?void 0:p.call(d,O.e))||[],spotlights:(null===(h=null===(m=null==C?void 0:C.data)||void 0===m?void 0:m.map)||void 0===h?void 0:h.call(m,O.e))||[]},B.videos={spotlights:(null!==(u=null===(g=null==E?void 0:E.data)||void 0===g?void 0:g.videos)&&void 0!==u?u:[]).map(O.i)}}catch(e){}if(S||o.c.includes(e))try{let[t,a]=yield Promise.all([fetch((0,r.n)(`${(0,r.b)()}/api/v1/community?website_url=https://${X.v[e]}`)).then(e=>e.json()),fetch((0,r.n)(`${(0,r.b)()}/api/v1/options?website_url=https://${X.v[e]}&meta_key=popular_post`)).then(e=>e.json())]);B.together={items:(null===(C=null===(f=null===(v=null==t?void 0:t.data)||void 0===v?void 0:v.communities)||void 0===f?void 0:f.map)||void 0===C?void 0:C.call(f,s.f))||[],spotlights:(null===(w=null===(x=null===(E=null==a?void 0:a.data)||void 0===E?void 0:E.posts)||void 0===x?void 0:x.map)||void 0===w?void 0:w.call(x,s.a))||[]}}catch(e){}if(o.C.includes(e))try{let[t,a]=yield Promise.all([fetch((0,r.n)((0,r.d)()+`/api/options/setting_menu?site=${X.v[e]}&type=0`)).then(e=>e.json()),fetch((0,r.n)((0,r.d)()+`/api/options/setting_menu?site=${X.v[e]}&type=1`)).then(e=>e.json())]);B.care={items:(null===(k=null===(M=null===(b=null===(y=null==t?void 0:t._data)||void 0===y?void 0:y.setting_menu)||void 0===b?void 0:b.menu_specialty)||void 0===M?void 0:M.map)||void 0===k?void 0:k.call(M,O.j))||[],spotlights:(null===(L=null===($=null===(_=null==a?void 0:a._data.setting_menu)||void 0===_?void 0:_.menu_hospital)||void 0===$?void 0:$.map)||void 0===L?void 0:L.call($,O.k))||[]}}catch(e){}}catch(e){console.error(e)}return B}),getNavMenuContentWithCache=e=>(0,l.a)(void 0,void 0,void 0,function*(){return(yield(0,K.g)("nav-menu-content",()=>getNavMenuContent(e||"en-PH"),e=>{var t,a;return!!(null===(a=null===(t=null==e?void 0:e.categories)||void 0===t?void 0:t.items)||void 0===a?void 0:a.length)}))||{}})},rCcT:function(e,t,a){a.d(t,{L:function(){return Loading}});var l=a("q1tI"),i=a("FQi+"),n=a("d53r");let Loading=({className:e,size:t="md"})=>{let{t:a}=(0,i.u)();return l.createElement("div",{className:`PD6nRZX ${e}`},l.createElement(n.B,{size:t,color:"transparent",isLoading:!0},a("loading")))}},"+1Gk":function(e,t,a){a.d(t,{D:function(){return Divider}});var l=a("q1tI"),i=a("rBCA"),n=a("iBNF");let o=i.Z.hr` border-width: 1px; border-color: ${n.r.colors.neutral200}; border-style: ${e=>e.dividerType}; `,Divider=({type:e="solid",className:t,style:a})=>l.createElement(o,{style:a,className:t,"data-diver-type":e,dividerType:e})},NXXo:function(e,t,a){a.d(t,{S:function(){return SocialLinkPreview}});var l=a("usZY"),i=a("q1tI"),n=a("Eso5"),o=a("8vDj"),r=a("D0kt"),s=a("XAIn"),c=a("rBCA"),d=a("IQVP"),p=a("ORpR"),m=a("sNnG"),h=a("hVVU");let g=c.Z.div` .link-info-container { padding: 0.5rem 1rem; background: ${e=>e.color||"#f4faff"}; } .link-image-wrapper { position: relative; overflow: hidden; width: 100%; padding-top: 56.25%; &.fetching { background: lightgray; } .loading-spinner { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); } .link-image { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; } } a { text-decoration: none; } &[data-is-marrybaby='true'] { overflow: hidden; border-radius: 1rem; } `,useExternalScript=({url:e,onLoad:t,onError:a})=>{let[l,n]=(0,i.useState)(e?"loading":"idle");return(0,i.useEffect)(()=>{if(!e){n("idle");return}let l=document.querySelector(`script[src="${e}"]`),handleLoadScript=()=>{n("ready"),null==t||t()},handleErrorScript=()=>{n("error"),null==a||a()};return l||((l=document.createElement("script")).type="application/javascript",l.src=e,l.async=!0,document.body.appendChild(l),l.addEventListener("load",handleLoadScript),l.addEventListener("error",handleErrorScript)),l.addEventListener("load",handleLoadScript),l.addEventListener("error",handleErrorScript),()=>{l.removeEventListener("load",handleLoadScript),l.removeEventListener("error",handleErrorScript)}},[e]),l},YoutubePlyr=({id:e,autoplay:t})=>{let a=(0,i.useRef)(null),l=useExternalScript({url:"https://cdn.plyr.io/3.7.8/plyr.js"});return(0,i.useEffect)(()=>{if(!document.getElementById("hhg-plyr-player")){let e=document.createElement("link");e.rel="stylesheet",e.type="text/css",e.href="https://cdn.plyr.io/3.7.8/plyr.css",e.id="hhg-plyr-player",document.head.appendChild(e)}("ready"===l||"undefined"!=typeof Plyr)&&new Plyr(a.current.querySelector('[data-id="player"]'),{autoplay:t,muted:!0})},[l]),i.createElement(i.Fragment,null,i.createElement(n.x,{ref:a,sx:{position:"absolute",top:0,left:0,right:0,bottom:0,backgroundColor:"#000","&, > div":{width:"100%",height:"100%"}}},i.createElement("div",{"data-id":"player"},i.createElement("iframe",{width:"100%",height:"100%",src:`https://www.youtube.com/embed/${e}?&mute=1&enablejsapi=1&rel=0`,allowFullScreen:!0,frameBorder:"0"}))))},SocialLinkPreview=({url:e,image:t,className:a,style:n,baseUrl:c="",autoPlay:u=!0,onPushStatus:v})=>{let{data:{locale:f}}=(0,i.useContext)(s.T),[C,E]=(0,i.useState)(null);(0,i.useEffect)(()=>{(0,l.a)(void 0,void 0,void 0,function*(){if(!t){if(!e)return E(null);E(e=>Object.assign(Object.assign({},e),{isFetching:!0})),(0,s.c)((0,s.e)(d.yy.FETCH_PREVIEW,{_locale:f},void 0,c),"POST",{data:{link:e},headers:{"Content-Type":"application/json"}},!!c).then(t=>{var a,l;E({url:e,image:(null===(a=null==t?void 0:t.data)||void 0===a?void 0:a.image)||(null===(l=null==t?void 0:t.data)||void 0===l?void 0:l.logo)})}).catch(()=>{E(null)})}})},[e,t]);let x=t||(null==C?void 0:C.image),w=(null==C?void 0:C.url)||e,y=(0,i.useMemo)(()=>(0,m.y)(w),[w]),b=(0,i.useMemo)(()=>w.includes("facebook.com")||w.includes("fb.watch"),[w]),M=(0,i.useRef)(0),k=(0,i.useRef)(0),[_,$]=(0,i.useState)(!1);(0,i.useEffect)(()=>{let handleResize=()=>{var e;let t=null===(e=L.current)||void 0===e?void 0:e.getBoundingClientRect(),a=!1;t&&(!M.current||Math.abs((M.current-t.width)/(null==t?void 0:t.width))>.2)&&(M.current=Math.floor(t.width),a=!0),t&&(!k.current||Math.abs((k.current-t.height)/(null==t?void 0:t.height))>.2)&&(k.current=Math.floor(t.height),a=!0),a&&$(e=>!e)};return handleResize(),window.addEventListener("resize",handleResize,{passive:!0}),()=>{window.removeEventListener("resize",handleResize)}},[]),(0,i.useEffect)(()=>{(null==C?void 0:C.image)&&(null==C?void 0:C.url)&&(null==v||v(!0))},[C]);let L=(0,i.useRef)(null),B=(0,o.rZ)();return i.createElement(g,{className:`${a} no-replace-click`,style:n,ref:L,color:B.colors[B.primaryColor][0]},!t&&(y||b)?i.createElement("div",{className:"link-image-wrapper"},y?i.createElement(YoutubePlyr,{id:y,autoplay:u}):b?i.createElement("iframe",{key:String(_),src:`https://www.facebook.com/plugins/video.php?href=${encodeURIComponent(w)}&autoplay=${u?1:0}&show_text=false&t=0&width=${M.current}&height=${k.current}`,style:{position:"absolute",top:"50%",left:"50%",border:"none",overflow:"hidden",height:k.current,width:M.current,transform:"translate(-50%, -50%)"},scrolling:"no",frameBorder:"0",allowFullScreen:!0,allow:"autoplay; clipboard-write; encrypted-media; picture-in-picture; web-share",loading:"lazy"}):null):i.createElement("a",{href:w,target:"_blank",rel:"noreferrer"},i.createElement("div",{className:`link-image-wrapper ${(null==C?void 0:C.isFetching)?"fetching":""}`},(null==C?void 0:C.isFetching)?i.createElement(h.L,{className:"loading-spinner"}):i.createElement(r.I,{className:"link-image",src:x||p.D,backupSrc:p.D,alt:w}))))}}}]);