@hhgtech/hhg-components 1.20.32 → 1.20.34
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/babyGrowth.js +1 -1
- package/build/care.js +1 -1
- package/build/components/atoms/icons/FullScreen.d.ts +4 -0
- package/build/components/atoms/icons/index.d.ts +2 -0
- package/build/components.js +1 -1
- package/build/esm/babyGrowth.js +1 -1
- package/build/esm/care.js +1 -1
- package/build/esm/components.js +1 -1
- package/build/esm/{index-d6d7517f.js → index-008add15.js} +1 -1
- package/build/esm/index-1b58ab03.js +1 -0
- package/build/esm/index-69ca5d78.js +1 -0
- package/build/esm/{index-54d677a7.js → index-727428e1.js} +1 -1
- package/build/esm/{index-131bebf4.js → index-8ef6e252.js} +1 -1
- package/build/esm/{index-eeded213.js → index-9194fc0e.js} +1 -1
- package/build/esm/{index-11eba8f2.js → index-d9eb70a0.js} +1 -1
- package/build/esm/{index-ae28c112.js → index-db40efa6.js} +1 -1
- package/build/esm/{index-85599e21.js → index-e32318ae.js} +1 -1
- package/build/esm/index.js +1 -1
- package/build/esm/{index.styled-92e8c364.js → index.styled-2d31cc1a.js} +1 -1
- package/build/esm/{index.styled-9f4506c6.js → index.styled-c4c7e238.js} +1 -1
- package/build/esm/navigation.js +1 -1
- package/build/esm/navigationLayout_deprecated.js +1 -1
- package/build/esm/together.js +1 -1
- package/build/esm/{togetherComponentGlobalContext-99aebabc.js → togetherComponentGlobalContext-f48235f5.js} +1 -1
- package/build/esm/{types-72e5bcaa.js → types-4c01ad32.js} +1 -1
- package/build/esm/types-a160d23f.js +1 -0
- package/build/{index-af569996.js → index-33e0a2b9.js} +1 -1
- package/build/{index-30e07fd7.js → index-426317de.js} +1 -1
- package/build/{index-3a0aa93f.js → index-5285b34b.js} +1 -1
- package/build/{index-0361370d.js → index-67bfa8bd.js} +1 -1
- package/build/index-8894d0f8.js +1 -0
- package/build/{index-8356c17d.js → index-ac28ad54.js} +1 -1
- package/build/{index-436fb19b.js → index-b42509c3.js} +1 -1
- package/build/{index-6d20f6ac.js → index-bbe22c01.js} +1 -1
- package/build/{index-e15eef33.js → index-de37abbc.js} +1 -1
- package/build/index.js +1 -1
- package/build/index.styled-57ac8a10.js +1 -0
- package/build/{index.styled-4c09039d.js → index.styled-9a6a6cb0.js} +1 -1
- package/build/navigation.js +1 -1
- package/build/navigationLayout_deprecated.js +1 -1
- package/build/together/components/molecules/popupFrame/index.d.ts +2 -1
- package/build/together/components/molecules/popupFrame/index.styled.d.ts +5 -1
- package/build/together.js +1 -1
- package/build/{togetherComponentGlobalContext-4e633355.js → togetherComponentGlobalContext-a49cf47e.js} +1 -1
- package/build/types-3e4141be.js +1 -0
- package/build/{types-50f3c6c2.js → types-80b6e647.js} +1 -1
- package/package.json +1 -1
- package/build/esm/index-3b1f1478.js +0 -1
- package/build/esm/index-5aa2e980.js +0 -1
- package/build/esm/types-56a126cd.js +0 -1
- package/build/index-a20e49a2.js +0 -1
- package/build/index.styled-ae584a04.js +0 -1
- package/build/types-dd054004.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{d as n,b as e,c as t,e as i,_ as o,a}from"./tslib.es6-ba283c01.js";import l,{useState as r,useRef as s,useEffect as c,createContext as p,useContext as d,useMemo as m,useCallback as h}from"react";import{h as g,i as u,b as x,c as f,d as y,f as v,e as b,U as E}from"./index-131bebf4.js";import{throttle as w,debounce as k}from"lodash";import{s as C}from"./cookieHelper-0e8521c3.js";import T from"styled-components";import{A as _,n as L,P as S}from"./togetherComponentGlobalContext-99aebabc.js";import{B as I,H as A}from"./index-54d677a7.js";import{T as N,a as M,P as O,C as P}from"./index.styled-92e8c364.js";import{M as R,t as B}from"./useTranslations-161444d2.js";import{L as D}from"./constants-a0a981fa.js";import H from"string-format";import"react-range";import"react-dom";import{i as z,a as U,b as F,c as j}from"./zalo-7f0726ae.js";import{D as G}from"./index-5aa2e980.js";import Y from"react-loading-skeleton";import{T as V}from"./translationsProvider-59f3d200.js";import"slugify";import"./translationsContext-65bea19b.js";var W,Z,K,X={"vi-VN":"hellobacsi.com","id-ID":"hellosehat.com","ms-MY":"hellodoktor.com","km-KH":"hellokrupet.com","en-PH":"hellodoctor.com.ph","th-TH":"hellokhunmor.com","my-MM":"hellosayarwon.com","zh-TW":"helloyishi.com.tw","hi-IN":"helloswasthya.com","tl-PH":"hellodoctor.com.ph"},Q={"vi-VN":{LOGO_TYPE:"hellobacsi",SITE_NAME:"HelloBacsi",SITE_NAME_FORMATTED:"Hello Bacsi",HOMEPAGE_IMAGE:"https://hellobacsi.com/images/country-thumbnails/VN.png",SITE_ID:"1",INSIDER_TAG:"//hellobacsivn.api.useinsider.com/ins.js?id=10003798",TOOLTIP_IMAGE:"/images/tooltips-vn.png",PREGNANCY_WEIGHT_GAIN:"cong-cu-tinh-can-nang-khi-mang-thai",BABY_POOP:"phan-tre-so-sinh-nhu-the-nao-la-tot",VACCINATION_TOOL:"lich-tiem-chung"},"en-PH":{LOGO_TYPE:"hellodoctor",SITE_NAME:"HelloDoctor",HOMEPAGE_IMAGE:"https://hellodoctor.com.ph/images/country-thumbnails/PH.png",SITE_NAME_FORMATTED:"Hello Doctor",SITE_ID:"9",CATEGORIES_TYPE:"short",INSIDER_TAG:"//hellodoctorph.api.useinsider.com/ins.js?id=10004527",TOOLTIP_IMAGE:"/images/tooltips-ph.png",PREGNANCY_WEIGHT_GAIN:"pregnancy-weight-gain-calculator",BABY_POOP:"a-visual-guide-on-baby-poop",VACCINATION_TOOL:"vaccination-tool"},"th-TH":{LOGO_TYPE:"hellokhunmor",SITE_NAME:"HelloKhunmor",HOMEPAGE_IMAGE:"https://hellokhunmor.com/images/country-thumbnails/TH.png",SITE_NAME_FORMATTED:"Hello Khunmor",SITE_ID:"3",CATEGORIES_TYPE:"long",INSIDER_TAG:"//hellokhunmor.api.useinsider.com/ins.js?id=10004524",TOOLTIP_IMAGE:"/images/tooltips-th.png",PREGNANCY_WEIGHT_GAIN:"เครื่องคำนวณน้ำหนักตัว",BABY_POOP:"สีอุจจาระของลูก-บอกถึงส",VACCINATION_TOOL:"vaccination-tool"},"km-KH":{LOGO_TYPE:"hellokrupet",SITE_NAME:"HelloKrupet",HOMEPAGE_IMAGE:"https://hellokrupet.com/images/country-thumbnails/KH.JPG",SITE_NAME_FORMATTED:"Hello Krupet",SITE_ID:"4",CATEGORIES_TYPE:"long",INSIDER_TAG:"//hellokrupet.api.useinsider.com/ins.js?id=10004523",TOOLTIP_IMAGE:"/images/tooltips-kh.png",PREGNANCY_WEIGHT_GAIN:"រង្វាស់សុខភាព/គណនាទម្ងន់ស្ត្រីពពោះ",BABY_POOP:"រង្វាស់សុខភាព/អត្ថន័យពណ៌-និងរូបរាងលាម",VACCINATION_TOOL:"រង្វាស់សុខភាព/កាលវិភាគចាក់ថ្នាំបង្កា"},"my-MM":{LOGO_TYPE:"hellosayarwon",SITE_NAME:"HelloSayarwon",HOMEPAGE_IMAGE:"https://hellosayarwon.com/images/country-thumbnails/PH.png",SITE_NAME_FORMATTED:"Hello Sayarwon",SITE_ID:"7",INSIDER_TAG:"//hellosayarwon.api.useinsider.com/ins.js?id=10004522"},"zh-TW":{LOGO_TYPE:"helloyishi",SITE_NAME:"HelloYishi",HOMEPAGE_IMAGE:"https://helloyishi.com.tw/images/country-thumbnails/TW.png",SITE_NAME_FORMATTED:"Hello Yishi",SITE_ID:"6",INSIDER_TAG:"//helloyishi.api.useinsider.com/ins.js?id=10004526",TOOLTIP_IMAGE:"/images/tooltips-tw.png",PREGNANCY_WEIGHT_GAIN:"pregnancy-weight-gain-calculator",BABY_POOP:"how-does-babies-poop-look-like",VACCINATION_TOOL:"vaccination-tool"},"id-ID":{LOGO_TYPE:"hellosehat",SITE_NAME:"HelloSehat",HOMEPAGE_IMAGE:"https://hellosehat.com/images/country-thumbnails/ID.png",SITE_NAME_FORMATTED:"Hello Sehat",SITE_ID:"2",INSIDER_TAG:"//hellosehat.api.useinsider.com/ins.js?id=10003799",TOOLTIP_IMAGE:"/images/tooltips-id.png",PREGNANCY_WEIGHT_GAIN:"kalkulator-kenaikan-berat-badan-ibu-hamil",BABY_POOP:"warna-feses-bayi-normal",VACCINATION_TOOL:"jadwal-imunisasi"},"hi-IN":{LOGO_TYPE:"helloswasthya",SITE_NAME:"HelloSwasthya",HOMEPAGE_IMAGE:"https://helloswasthya.com/images/country-thumbnails/IN.png",SITE_NAME_FORMATTED:"हैलो स्वास्थ्य",SITE_ID:"8",CATEGORIES_TYPE:"long",INSIDER_TAG:"//helloswasthya.api.useinsider.com/ins.js?id=10004498",TOOLTIP_IMAGE:"/images/tooltips-in.png",PREGNANCY_WEIGHT_GAIN:"garbhavastha-weight-calculator",BABY_POOP:"visual-guide-on-baby-poop",VACCINATION_TOOL:"vaccination-tool"},"ms-MY":{LOGO_TYPE:"hellodoktor",SITE_NAME:"HelloDoktor",HOMEPAGE_IMAGE:"https://hellodoktor.com/images/country-thumbnails/MY.png",SITE_NAME_FORMATTED:"Hello Doktor",SITE_ID:"5",INSIDER_TAG:"//hellodoktor.api.useinsider.com/ins.js?id=10004525",TOOLTIP_IMAGE:"/images/tooltips-my.png",PREGNANCY_WEIGHT_GAIN:"kalkulator-tambah-berat-badan-hamil",BABY_POOP:"kenali-najis-bayi-anda",VACCINATION_TOOL:"alat-kesihatan-vaksin"},"tl-PH":{LOGO_TYPE:"hellodoctor",SITE_NAME:"HelloDoctor",HOMEPAGE_IMAGE:"https://hellodoctor.com.ph/images/country-thumbnails/PH.png",SITE_NAME_FORMATTED:"Hello Doctor",SITE_ID:"9",CATEGORIES_TYPE:"short",INSIDER_TAG:"//hellodoctorph.api.useinsider.com/ins.js?id=10004527",TOOLTIP_IMAGE:"/fil/images/tooltips-ph.png",PREGNANCY_WEIGHT_GAIN:"pregnancy-weight-gain-calculator",BABY_POOP:"a-visual-guide-on-baby-poop",VACCINATION_TOOL:"vaccination-tool",ABOUT_US_IMAGE:"/fil/images/aboutus/PH.png"}},q={"vi-VN":{PRIVACY:"/privacy",TERM_OF_USE:"/dieu-khoan-su-dung",PRIVACY_POLICY:"/chinh-sach-quyen-rieng-tu",EDITORIAL_CORRECTIONS_POLICY:"/chinh-sach-bien-tap-chinh-sua",ADVERTISING_SPONSOR_POLICY:"/chinh-sach-quang-cao-tai-tro",POLICIES:"/chinh-sach",FAQS:"/thong-tin-quan-trong",SITEMAP:"/sitemap",ABOUT_US:"/about-us",ADVERTISEMENT:"/quang-cao-voi-chung-toi",CONTACT_US:"/lien-he",ABOUT_GO_CARE:"/about-go-care",HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/hello-bacsi/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/tieu-chuan-cong-dong",TOGETHER:"/community"},"km-KH":{POLICIES:"/policies",TERM_OF_USE:"/ខនិងលក្ខខណ្ឌ",PRIVACY_POLICY:"/គោលការណ៍ឯកជនភាព",EDITORIAL_CORRECTIONS_POLICY:"/គោលការណ៍ខ្លឹមសារមាតិកា",ADVERTISING_SPONSOR_POLICY:"/គោលការណ៍ផ្សាយពាណិជ្ជកម",FAQS:"/faqs",SITEMAP:"/sitemap",ABOUT_US:"/about-us",ADVERTISEMENT:"/advertisement",CONTACT_US:"/contact-us",ABOUT_GO_CARE:"/about-go-care",HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"/#",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/គោលការណ៍ណែនាំសហគមន៍",TOGETHER:"/community"},"en-PH":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/community-guidelines",TOGETHER:"/community"},"my-MM":{POLICIES:"/polisi-terma-syarat",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/pengiklanan",CONTACT_US:"/hubungi-kami",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:" https://hellohealthgroup.com/hello-doktor/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/panduan-komuniti",TOGETHER:"/community"},"zh-TW":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/advertising",CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,FACILITY:"/facility",HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:null,TOGETHER:"/community"},"id-ID":{POLICIES_EN:"/policies",TERM_OF_USE:"/kebijakan-pengguna",PRIVACY_POLICY:"/kebijakan-privasi",EDITORIAL_CORRECTIONS_POLICY:"/kebijakan-editorial",ADVERTISING_SPONSOR_POLICY:"/kebijakan-iklan",POLICIES:"/kebijakan",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/kontak-kami",CONTACT_EN:"/contact",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/hello-sehat/",RECRUITMENT:"https://hellohealthgroup.com/careers/",EDITORIAL_POLICY:"/edit-id",EDITORIAL_POLICY_EN:"/edit-en",COMMUNITY_GUIDELINE:"/panduan-komunitas",TOGETHER:"/community"},"hi-IN":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:null,TOGETHER:"/community"},"ms-MY":{POLICIES:"/polisi-terma-syarat",TERM_OF_USE:"/terma-dan-syarat",PRIVACY_POLICY:"/polisi-privasi",EDITORIAL_CORRECTIONS_POLICY:"/polisi-editorial",ADVERTISING_SPONSOR_POLICY:"/polisi-pengiklanan",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/pengiklanan",CONTACT_US:"/hubungi-kami",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:" https://hellohealthgroup.com/hello-doktor/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/panduan-komuniti",TOGETHER:"/community"},"th-TH":{POLICIES_EN:"/policies",TERM_OF_USE:"/เงื่อนใขการใช้งาน",PRIVACY_POLICY:"/นโยบายความเป็นส่วนตัว",EDITORIAL_CORRECTIONS_POLICY:"/นโยบายบรรณธิการ",ADVERTISING_SPONSOR_POLICY:"/นโยบายการโฆษณาและผู้สนับสนุน",POLICIES:"/นโยบาย",FAQS:"/คำถามที่พบบ่อย",SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/ลงโฆษณากับเรา",CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:null,TOGETHER:"/community"},"tl-PH":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/community-guidelines",TOGETHER:"/community"}},J={"vi-VN":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"km-KH":[{type:"link",rel:"icon",href:"/by-locales/km-KH/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/km-KH/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/km-KH/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/km-KH/icon-270x270.png"}],"en-PH":[{type:"link",rel:"icon",href:"/by-locales/en-PH/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/en-PH/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon",href:"/by-locales/en-PH/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/en-PH/icon-270x270.png"}],"id-ID":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"ms-MY":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"th-TH":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"my-MM":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"zh-TW":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"hi-IN":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],marryBaby:[{type:"link",rel:"shortcut icon",href:"/favicons/favicon.ico"},{type:"link",rel:"icon",href:"/favicons/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/favicons/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/favicons/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/favicons/icon-180x180.png"}]},$="user",nn="community?website_url={websiteUrl}",en="topic?community_id={communityId}&website_url={websiteUrl}",tn="spotlights?per_page={perPage}&order_by={orderBy}",on="healthtools?_hasgroup=1",an="categories?type=all",ln="footer",rn="api/specialties?_ishome=1&site={domain}",sn="menu/footer",cn="health-tools",pn=99,dn=300,mn=400,hn=200,gn=210,un=5,xn=6,fn=300,yn={SOCIAL_LINKS:{facebookLink:"https://www.facebook.com/marry.baby.vn",instagramLink:"https://www.instagram.com/marrybaby.vn",zaloLink:"http://zalo.me/806483414530291942",youtubeLink:"https://www.youtube.com/user/marrybabyvn"}},vn=function(t){var i,o,a,r,s,c,p,d,m,h,u,x,f,y,v,b,E,w,k,C=t.children,T=t.SEOData,_=void 0===T?{}:T,L=t.isAmp,S=void 0!==L&&L,I=t.locale,A=void 0===I?"vi-VN":I,N=t.routerPathname,M=t.routerQuery,O=t.nextHead,P=t.siteType,R=t.seoCustom,B=t.userId,D=t.forcedCanonicalUrl,H=t.usingDefaultHead,z="production"===process.env.NEXT_PUBLIC_DEPLOY_ENV,U=_.totalPages,F=_.currentPage,j=_.SEOTitle,G=void 0===j?"":j,Y=_.SEODescription,V=void 0===Y?"":Y,W=_.SEOImage,Z=_.seoType,K=_.SEOImageWidth,q=_.SEOImageHeight,$=_.customMetaData,nn=void 0===$?[]:$,en=_.isIndexable,tn=void 0===en||en,on=_.hasNoCanonical,an=void 0!==on&&on,ln=tn&&z?"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1":"noindex",rn=process.env.NEXT_PUBLIC_BASE_API_URL,sn=_.canonicalUrl||N;Object.keys(M).forEach((function(n){var e=M[n];e&&Array.isArray(e)&&(sn=sn.replace("[...".concat(n,"]"),e.join("/")))}));var cn,pn=A||"en-PH",dn="helloSites"===P?X[pn]:"www.marrybaby.vn",mn=sn.endsWith("/")?"":"/";if(_.apiMetaData&&"string"==typeof _.apiMetaData){var hn=null===(i=_.apiMetaData)||void 0===i?void 0:i.match(/<title.*?>(.*)<\/title>/),gn=" - Page ".concat(F," of ").concat(U),un=F&&1!==F&&hn?_.apiMetaData.replace(hn[0],hn[0].includes("-")?hn[0].replace("-",gn+" - "):"<title>".concat(hn[1].concat(gn),"</title>")).replace('<link rel="canonical" href="https://'.concat(dn).concat(sn).concat(mn,'" />'),'<link rel="canonical" href="https://'.concat(dn).concat(sn).concat(mn,"?page=").concat(F,'" />')):_.apiMetaData,xn=(cn=g(un,{trim:!0})).find((function(n){var e,t;return"og:image"===(null===(e=n.props)||void 0===e?void 0:e.property)||"og:image:secure_url"===(null===(t=n.props)||void 0===t?void 0:t.property)}));if(!xn){var fn="https://".concat(dn,"/images/").concat(A,".png");cn=n(n([],cn,!0),[l.createElement("meta",{key:"og:image",property:"og:image",content:(null===(o=_.openGraph)||void 0===o?void 0:o.image)||fn||""}),l.createElement("meta",{key:"og:image:secure_url",property:"og:image:secure_url",content:(null===(a=_.openGraph)||void 0===a?void 0:a.image)||fn}),l.createElement("meta",{key:"og:image:width",property:"og:image:width",content:(null===(r=_.openGraph)||void 0===r?void 0:r.imageWidth)&&String(null===(s=_.openGraph)||void 0===s?void 0:s.imageWidth)||"1200"}),l.createElement("meta",{key:"og:image:height",property:"og:image:height",content:(null===(c=_.openGraph)||void 0===c?void 0:c.imageHeight)&&String(null===(p=_.openGraph)||void 0===p?void 0:p.imageHeight)||"630"})],!1)}}var yn="https://".concat(dn,"/images/").concat(A,".png");return l.createElement(l.Fragment,null,O&&H&&l.createElement(O,null,l.createElement("link",{rel:"preconnect",href:"https://fonts.gstatic.com"}),"marryBaby"===P&&l.createElement("link",{href:"https://fonts.googleapis.com/css2?family=Inter&family=Krub:wght@600&display=swap",rel:"stylesheet"}),"km-KH"===A?l.createElement("link",{href:"https://fonts.googleapis.com/css2?family=Battambang:wght@400;700&display=swap",rel:"stylesheet"}):"id-ID"===A||"ms-MY"===A?l.createElement(l.Fragment,null):l.createElement("link",{href:"https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,600;0,700;0,800;1,300;1,400;1,600;1,700;1,800&display=swap",rel:"preload",as:"style"}),l.createElement("link",{rel:"preconnect",href:rn}),l.createElement("meta",{charSet:"UTF-8"}),!S&&l.createElement("meta",{name:"viewport",content:"width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, viewport-fit=cover"}),l.createElement("meta",{name:"google",content:"notranslate"}),l.createElement("meta",{name:"robots",content:ln}),l.createElement("meta",{property:"fb:app_id",content:"653713035016537"}),nn.map((function(n,t){return l.createElement("meta",e({key:t},n))})),l.createElement("meta",{name:"theme-color",content:"helloSites"===P?"#2c87f3":"#e85388"}),l.createElement("meta",{name:"page_type",content:"Home"}),l.createElement("meta",{name:"page_platform",content:"WEB"}),l.createElement("meta",{name:"page_language",content:pn}),l.createElement("meta",{name:"ahrefs-site-verification",content:"46e7521a2b89a1013149c4685bbe02a1d36a4732fef98655142b829bc87cba4d"}),S&&l.createElement(l.Fragment,null,l.createElement("script",{async:!0,"custom-element":"amp-analytics",src:"https://cdn.ampproject.org/v0/amp-analytics-0.1.js"}),l.createElement("script",{async:!0,"custom-element":"amp-fx-collection",src:"https://cdn.ampproject.org/v0/amp-fx-collection-0.1.js"}),l.createElement("script",{async:!0,"custom-element":"amp-ad",src:"https://cdn.ampproject.org/v0/amp-ad-0.1.js"}),l.createElement("script",{async:!0,"custom-element":"amp-next-page",src:"https://cdn.ampproject.org/v0/amp-next-page-1.0.js"}),l.createElement("script",{async:!0,"custom-element":"amp-sticky-ad",src:"https://cdn.ampproject.org/v0/amp-sticky-ad-1.0.js"}),l.createElement("script",{async:!0,"custom-element":"amp-social-share",src:"https://cdn.ampproject.org/v0/amp-social-share-0.1.js"}),l.createElement("script",{async:!0,"custom-element":"amp-bind",src:"https://cdn.ampproject.org/v0/amp-bind-0.1.js"})),!cn&&l.createElement(l.Fragment,null,"helloSites"===P?l.createElement("title",null,R?G:G+" - "+(null===(d=Q[A])||void 0===d?void 0:d.SITE_NAME)):l.createElement("title",null,G),!an&&l.createElement("link",{rel:"canonical",href:"https://".concat(dn).concat(sn)}),l.createElement("meta",{name:"description",content:V||(null===(m=_.openGraph)||void 0===m?void 0:m.description)}),_.schemaData&&l.createElement("script",{type:"application/ld+json",className:"yoast-schema-graph",dangerouslySetInnerHTML:{__html:_.schemaData}}),l.createElement("meta",{property:"og:locale",content:A}),l.createElement("meta",{property:"og:type",content:Z||"website"}),l.createElement("meta",{property:"og:title",content:(null===(h=_.openGraph)||void 0===h?void 0:h.title)||G}),l.createElement("meta",{property:"og:description",content:(null===(u=_.openGraph)||void 0===u?void 0:u.description)||V}),l.createElement("meta",{property:"og:url",content:"https://".concat(dn).concat(sn)}),l.createElement("meta",{property:"og:site_name",content:"https://".concat(dn)}),l.createElement("meta",{property:"og:image",content:(null===(x=_.openGraph)||void 0===x?void 0:x.image)||W||yn||""}),l.createElement("meta",{property:"og:image:secure_url",content:(null===(f=_.openGraph)||void 0===f?void 0:f.image)||W||yn}),l.createElement("meta",{property:"og:image:width",content:(null===(y=_.openGraph)||void 0===y?void 0:y.imageWidth)&&String(null===(v=_.openGraph)||void 0===v?void 0:v.imageWidth)||K&&String(K)||"1200"}),l.createElement("meta",{property:"og:image:height",content:(null===(b=_.openGraph)||void 0===b?void 0:b.imageHeight)&&String(null===(E=_.openGraph)||void 0===E?void 0:E.imageHeight)||q&&String(q)||"630"}),l.createElement("meta",{name:"twitter:card",content:"summary_large_image"}),l.createElement("meta",{name:"twitter:title",content:(null===(w=_.twitter)||void 0===w?void 0:w.title)||G}),l.createElement("meta",{name:"twitter:description",content:V}),l.createElement("meta",{name:"twitter:image",content:(null===(k=_.twitter)||void 0===k?void 0:k.image)||W})),("helloSites"===P?J[pn]||[]:J.marryBaby).map((function(n,e){return"link"===n.type?l.createElement("link",{key:"favicon-".concat(e),rel:n.rel,href:n.href,sizes:n.sizes}):"meta"===n.type?l.createElement("meta",{key:e,name:n.name,content:n.content}):null})),Array.isArray(cn)&&D?cn.filter((function(n){return"canonical"!==n.props.name&&"canonical"!==n.props.rel})):cn,D&&l.createElement("link",{rel:"canonical",href:D}),!_.hasNoAmp&&"vi-VN"!==A&&l.createElement("link",{rel:"amphtml",href:"https://".concat(dn).concat(sn).concat(mn,"?amp=1")}),B&&"undefined"!=typeof window?l.createElement("script",{dangerouslySetInnerHTML:{__html:"window.dataLayer = window.dataLayer || []; window.dataLayer.push({'userID': '".concat(B,"'});")}}):null),O&&!H&&l.createElement(O,null),C)},bn="data:image/svg+xml,%3csvg width='17' height='16' viewBox='0 0 17 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M6.5 12L10.5 8L6.5 4' stroke='white' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e",En="data:image/svg+xml,%3csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M18 6L6 18' stroke='%23262626' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3e%3cpath d='M6 6L18 18' stroke='%23262626' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e",wn="data:image/svg+xml,%3csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M10 17.5C14.1421 17.5 17.5 14.1421 17.5 10C17.5 5.85786 14.1421 2.5 10 2.5C5.85786 2.5 2.5 5.85786 2.5 10C2.5 14.1421 5.85786 17.5 10 17.5Z' stroke='%232D87F3' stroke-width='1.65' stroke-linecap='round' stroke-linejoin='round'/%3e%3cpath d='M10 13.7499V9.58325' stroke='%232D87F3' stroke-width='1.65' stroke-linecap='round' stroke-linejoin='round'/%3e%3cpath d='M10 6.25H10.0125' stroke='%232D87F3' stroke-width='1.85' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e",kn=T.div(W||(W=t(["\n position: relative;\n display: flex;\n overflow: hidden;\n align-items: center;\n justify-content: center;\n background-position: center;\n background-size: cover;\n transition: height 0.3s;\n background-color: ",";\n\n &[data-is-marrybaby='true'] {\n background-color: ",";\n }\n\n &[data-is-mobile='true'] {\n &[data-is-marrybaby='false'] {\n justify-content: flex-start;\n }\n }\n &[data-is-mobile='false'] {\n justify-content: center;\n }\n\n &[data-is-collapse='false'] {\n height: 64px;\n &[data-is-marrybaby='true'] {\n &[data-is-mobile='true'] {\n height: 120px;\n }\n }\n }\n &[data-is-collapse='true'] {\n height: 0;\n }\n\n .amp-close-banner * {\n pointer-events: none;\n }\n\n .content {\n display: -webkit-box;\n overflow: hidden;\n padding-right: 48px;\n -webkit-box-orient: vertical;\n color: white;\n font-size: 16px;\n font-weight: 600;\n -webkit-line-clamp: 2;\n line-height: 24px;\n text-overflow: ellipsis;\n a {\n color: white;\n }\n &[data-is-mobile='true'] {\n font-size: 14px;\n }\n }\n"],["\n position: relative;\n display: flex;\n overflow: hidden;\n align-items: center;\n justify-content: center;\n background-position: center;\n background-size: cover;\n transition: height 0.3s;\n background-color: ",";\n\n &[data-is-marrybaby='true'] {\n background-color: ",";\n }\n\n &[data-is-mobile='true'] {\n &[data-is-marrybaby='false'] {\n justify-content: flex-start;\n }\n }\n &[data-is-mobile='false'] {\n justify-content: center;\n }\n\n &[data-is-collapse='false'] {\n height: 64px;\n &[data-is-marrybaby='true'] {\n &[data-is-mobile='true'] {\n height: 120px;\n }\n }\n }\n &[data-is-collapse='true'] {\n height: 0;\n }\n\n .amp-close-banner * {\n pointer-events: none;\n }\n\n .content {\n display: -webkit-box;\n overflow: hidden;\n padding-right: 48px;\n -webkit-box-orient: vertical;\n color: white;\n font-size: 16px;\n font-weight: 600;\n -webkit-line-clamp: 2;\n line-height: 24px;\n text-overflow: ellipsis;\n a {\n color: white;\n }\n &[data-is-mobile='true'] {\n font-size: 14px;\n }\n }\n"])),(function(n){return n.theme.colors.secondaryBase}),(function(n){return n.theme.mbColors.cobalt})),Cn=T.div(Z||(Z=t(["\n max-width: 100px;\n margin-right: 16px;\n height: 100%;\n img {\n width: 64px;\n height: 64px;\n object-fit: contain;\n }\n &[data-is-marrybaby='true'] {\n height: unset;\n max-height: 100%;\n }\n &[data-is-mobile='true'] {\n img {\n width: 52px;\n height: 52px;\n }\n }\n"],["\n max-width: 100px;\n margin-right: 16px;\n height: 100%;\n img {\n width: 64px;\n height: 64px;\n object-fit: contain;\n }\n &[data-is-marrybaby='true'] {\n height: unset;\n max-height: 100%;\n }\n &[data-is-mobile='true'] {\n img {\n width: 52px;\n height: 52px;\n }\n }\n"]))),Tn=T.div(K||(K=t(["\n position: absolute;\n right: 20px;\n width: 24px;\n height: 24px;\n cursor: pointer;\n &[data-is-marrybaby='true'] {\n background-color: ",";\n border-radius: 50%;\n top: 12px;\n right: 32px;\n padding: 10px;\n height: 40px;\n width: 40px;\n .close-icon {\n width: 20px;\n height: 20px;\n }\n &[data-is-mobile='true'] {\n position: absolute;\n top: 8px;\n right: 8px;\n padding: 8px;\n height: 32px;\n width: 32px;\n .close-icon {\n width: 100%;\n height: 100%;\n }\n }\n }\n"],["\n position: absolute;\n right: 20px;\n width: 24px;\n height: 24px;\n cursor: pointer;\n &[data-is-marrybaby='true'] {\n background-color: ",";\n border-radius: 50%;\n top: 12px;\n right: 32px;\n padding: 10px;\n height: 40px;\n width: 40px;\n .close-icon {\n width: 20px;\n height: 20px;\n }\n &[data-is-mobile='true'] {\n position: absolute;\n top: 8px;\n right: 8px;\n padding: 8px;\n height: 32px;\n width: 32px;\n .close-icon {\n width: 100%;\n height: 100%;\n }\n }\n }\n"])),(function(n){return n.theme.colors.white})),_n=function(n){var t=n.icon,i=n.content,o=n.isCollapsed,a=n.isMobile,p=n.type,d=n.onClose,m=n.setBannerClosed,h=n.dispatch,g=n.dispatchActionType,u=n.cookieName,x=n._overrideCloseHandler,f=n.isAmp,y=n.siteType,v=n.dataEventCategory,b=void 0===v?"Header Banner":v,E=n.dataEventAction,k=void 0===E?"Close Click":E,T=n.dataEventLabel,_=void 0===T?"":T,L=n.dataTracking,S=void 0===L?"true":L,I=r(!1),A=I[0],N=I[1],M=r(!1),O=M[0],P=M[1],R=i;f&&(R=R.replace("data-event","data-vars-event").replace('data-vars-event-category="'.concat(b,'"'),'data-vars-event-category="'.concat(b,'" data-vars-tracking="').concat(S,'"')));var B=s(64);c((function(){var n=w((function(){window.scrollY<B.current?P(!1):window.scrollY>64&&P(!0),B.current=window.scrollY}),300);return window.addEventListener("scroll",n),function(){window.removeEventListener("scroll",n)}}),[]);var D="marryBaby"===y,H=D?En:"data:image/svg+xml,%3csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M18 6L6 18' stroke='white' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3e%3cpath d='M6 6L18 18' stroke='white' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e";return c((function(){m&&m(A||o||O)}),[m,A,o,O]),l.createElement(kn,{"data-is-mobile":a,"data-is-collapse":A||o||O,"data-is-marrybaby":D},t?l.createElement(Cn,{"data-is-marrybaby":D},f?l.createElement("amp-img",{src:t,width:"76",height:"52"}):l.createElement("img",{src:t,className:"icon","data-is-mobile":a})):null,i?l.createElement("span",{className:"content","data-is-marrybaby":D,"data-is-mobile":a,dangerouslySetInnerHTML:{__html:R}}):null,l.createElement(Tn,e({role:"button",tabIndex:0},{on:'tap:sitewide-container.hide(),site-header.toggleClass(class="amp-closed")'},{"data-is-marrybaby":D,"data-vars-event-category":b,"data-vars-event-action":k,"data-vars-event-label":_||"","data-vars-tracking":S||"",className:"amp-close-banner",onClick:function(){N(!0),x?x():(d&&d(),u&&C(u,"true"),p&&h&&h({type:g,payload:{type:p}}))},"data-is-mobile":a}),f?l.createElement("amp-img",{src:H,width:"24",height:"24"}):l.createElement("img",{src:H,className:"close-icon"})))},Ln={"navigation.loginJoin":"Login/Join","menu.categories.title":"Choose a service to explore","home.search":"Search {site}","home.navigator.menuItem.spotlights":"All In Focus","home.navigator.menuItem.helloTogether":"Communities","home.navigator.menuItem.helloCare":"Book a doctor","home.navigator.menuItem.healthTools":"Health Tools","home.navigator.menuItem.healthCategories":"Health Categories","home.navigator.menuItem.discover":"Discover","home.navigator.menuItem.allSpotlight":"See All In Focus","home.navigator.menuItem.allSpecialties":"See All Specialties","home.navigator.menuItem.allHealthTools":"See All Health Tools","home.navigator.menuItem.allCommunities":"See All Communities","home.navigator.menuItem.allCategories":"See All Categories","footer.sitemap":"Sitemap","footer.signUp":"Sign up to get fitness and nutrition tips, health news, and more.","footer.info.email":"Email: advertiser@hellohealthgroup.com","footer.info.license":"Giấy phép kinh doanh số: 0315857817 do Sở kế hoạch và Đầu tư TP. Hồ Chí Minh cấp ngày 21-8-2019","footer.info.contentResponsibility":"Chịu trách nhiệm quản lý nội dung: Hoàng Diệu Thu","footer.info.companyName":"Công ty TNHH Xin Chào Bác Sĩ","footer.info.certificate":"Giấy xác nhận cung cấp dịch vụ mạng xã hội trực tuyến số 592/GP-BTTTT HN ngày 03/12/2019","footer.info.address":"Địa chỉ: Tầng 5, Tòa nhà Sonatus, 15 Lê Thánh Tôn, P.Bến Nghé, Quận 1, Thành phố Hồ Chí Minh","footer.followUsText":"Follow us","home.menu.category.view":"Xem {category}","menu.care.searchBySpecialties":"Tìm theo chuyên khoa","logout.popup.ask1":"Log Out of Hello Doctor?","logout.popup.ask2":"Are you sure you want to log out?","logout.popup.ask.mb":"Đăng xuất khỏi Marry Baby?","logout.popup.button.cancel":"Cancel","logout.popup.button.logout":"Log Out","profileMenu.accountSetting":"Account Setting","profileMenu.help":"Help","profileMenu.logout":"Logout","profileMenu.myProfile":"Profile","profileMenu.password":"Password","profileMenu.saved":"My Articles","home.navigator.menuItem.language":"Language","articlePage.sponsoredBy":"Sponsored By","articlePage.sponsoredContentBy":"Content sponsored by","articlePage.sponsoredContent":"Sponsored Content","articlePage.sponsoredArticle":"Sponsored Article","articlePage.sponsoredByStickyPopup.close":"Close","articlePage.sponsoredByStickyPopup.content":"This is a sponsored article, for more information on our Advertising and Sponsorship policy please read our policies.","articlePage.sponsoredByStickyPopup.policies":"Policies","login.booking":"Booking with doctor","cookiePolicies.modal.title":"Please accept our privacy policy","cookiePolicies.modal.description":"Hello Bacsi uses cookies to improve your experience and to show you personalized ads","cookiePolicies.modal.accept":"Accept","cookiePolicies.modal.ourPolicies":"Our Policies"},Sn=p({}),In=function(){var n=d(Sn);return function(e,t){var i=(n.translation||{})[e]||Ln[e];return i?t?H(i,t):i:function(){throw Error("missing translation "+e)}()}},An=function(n){return n?{title:(null==n?void 0:n.name)||"",thumbnail:(null==n?void 0:n.thumbnail)||"",communitySlug:(null==n?void 0:n.slug)||"",communityId:null==n?void 0:n.id,color:null==n?void 0:n.color}:{}},Nn=function(n){var e;return n?{title:(null==n?void 0:n.name)||"",thumbnail:(null==n?void 0:n.thumbnail)||"",communitySlug:"".concat(null===(e=null==n?void 0:n.community)||void 0===e?void 0:e.slug,"/").concat(null==n?void 0:n.slug),communityId:null==n?void 0:n.id}:{}},Mn=function(n){var e,t,i,o;return n?{termId:n.term_id||null,sponsor:n.sponsor?(o=n.sponsor,o?{title:o.title,logo:o.logo,link:o.link}:{}):null,isSponsored:n.is_sponsored||null,categoryName:n.cat_name||n.name||null,name:n.name||null,iconUrl:n.icon||"",slugName:n.category_nicename||null,description:n.description||null,featureImage:n.thumbnail||n.image||null,displayName:n.name||null,parent:n.parent||null,permalink:n.permalink||null,slug:n.slug||null,childCates:(null===(e=n.child_cates)||void 0===e?void 0:e.map((function(n){return Mn(n)})))||[],thumnailColor:n.thumnail_color||["#FFEAF1","#E0E9FB","#FFF9EB","#F2FCF7","#F3F3F3"][5*Math.random()|0],colorFeatureImage:n.color_feature_image||null,imageColor:n.image_color||null,textColor:n.text_color||null,catParent:(null===(t=n.cat_parent)||void 0===t?void 0:t.name)?{name:n.cat_parent.name,permalink:n.cat_parent.permalink}:{},metaTag:n.meta_tag||"",reviewedBy:n.reviewed_by?(i=n.reviewed_by,{postTitle:i.post_title,permalink:i.permalink}):null,reviewedDate:n.reviewed_date||"",faqs:n.faqs?n.faqs.map((function(n){return function(n){return{title:n.title,content:n.content}}(n)})):null}:{}},On=function(n){return n?{icon:n.icon,link:n.link,subtitle:n.subtitle,title:n.title}:{}},Pn=function(n){var e,t;return n?{termId:(null==n?void 0:n.term_id)||0,name:(null==n?void 0:n.name)||"",healthTools:null!==(t=null===(e=null==n?void 0:n.health_tools)||void 0===e?void 0:e.map((function(n){return On(n)})))&&void 0!==t?t:[]}:{}},Rn=function(n,t,i){return(t||"https://service-health-care.hellohealthgroup.com/")+H(rn,e(e({},i),{domain:X[n]}))},Bn=function(n,t,i){return(t||"https://wp.".concat(X[n],"/"))+"wp-json/api/"+H(an,e({},i))},Dn=function(n,t,i){return(t||"https://wp.".concat(X[n],"/"))+"wp-json/api/"+H(on,e({},i))},Hn=function(n,t,i){return(t||"https://wp.".concat(X[n],"/"))+"wp-json/api/"+H(tn,e({},i))},zn=function(n,t,i){return(t||"https://wp.".concat(X[n],"/"))+"wp-json/api/"+H(ln,e({},i))},Un=function(n,t,i){return(t||"https://together.hellohealthgroup.com/")+"api/v1/"+H(nn,e(e({},i),{websiteUrl:"https://".concat(X[n])}))},Fn=function(n,t,i){return(t||"https://together.hellohealthgroup.com/")+"api/v1/"+H(en,e(e({},i),{websiteUrl:"https://".concat(X[n])}))},jn=function(n){var e,t=n.type,i=n.specialtySlug,o=n.locale;return"/".concat(D[o].ALL,"/").concat((null===(e=D[o])||void 0===e?void 0:e[t])||"doctor","/").concat(null!=i?i:"")},Gn=function(n){return n?{id:n.ID,name:n.name,permalink:n.permalink,image:(null==n?void 0:n.small_banner)||(null==n?void 0:n.image)||"",imageMedium:(null==n?void 0:n.image_medium)||null,imageThumbnail:(null==n?void 0:n.image_thumbnail)||null,startDate:null==n?void 0:n.start_date,endDate:null==n?void 0:n.end_date}:{}},Yn=function(n){var e=new Date;if(null==n?void 0:n.startDate){var t=new Date(n.startDate);if(e.getTime()<t.getTime())return!1}if(null==n?void 0:n.endDate){var i=new Date(n.endDate);if(e.getTime()>i.getTime())return!1}return!0},Vn=T.header(re||(re=t(["\n position: absolute;\n top: 0px;\n left: 0px;\n width: 100%;\n align-items: center;\n justify-content: center;\n /* overflow-x: hidden; */\n\n border-bottom: 1px solid\n ",";\n background-color: ",";\n\n &[data-site-type='marryBaby'] {\n border-bottom: none;\n }\n\n &[data-fixed-bar='true'] {\n position: fixed;\n top: 0;\n }\n\n &[data-fixed-bar='false'] {\n position: absolute;\n }\n\n &[data-collapsed='true'] {\n top: -100%;\n transition: top 0.5s;\n }\n\n &[data-collapsed='false'] {\n top: 0px;\n transition: top 0.5s;\n }\n\n .top-bar-header {\n line-height: normal;\n }\n\n &[data-header-type='home'] {\n position: fixed;\n z-index: ",";\n }\n\n &[data-header-type='popup'] {\n position: absolute;\n z-index: ",";\n }\n\n &[data-header-type='popup-sub-level'] {\n position: absolute;\n z-index: ",";\n }\n\n &[data-is-displayed='false'] {\n //display: none;\n visibility: hidden;\n }\n\n &[data-is-amp='true'] {\n position: relative;\n }\n\n .menu-handler:focus #categories-menu {\n left: 0;\n transition: left 0.1s;\n }\n"],["\n position: absolute;\n top: 0px;\n left: 0px;\n width: 100%;\n align-items: center;\n justify-content: center;\n /* overflow-x: hidden; */\n\n border-bottom: 1px solid\n ",";\n background-color: ",";\n\n &[data-site-type='marryBaby'] {\n border-bottom: none;\n }\n\n &[data-fixed-bar='true'] {\n position: fixed;\n top: 0;\n }\n\n &[data-fixed-bar='false'] {\n position: absolute;\n }\n\n &[data-collapsed='true'] {\n top: -100%;\n transition: top 0.5s;\n }\n\n &[data-collapsed='false'] {\n top: 0px;\n transition: top 0.5s;\n }\n\n .top-bar-header {\n line-height: normal;\n }\n\n &[data-header-type='home'] {\n position: fixed;\n z-index: ",";\n }\n\n &[data-header-type='popup'] {\n position: absolute;\n z-index: ",";\n }\n\n &[data-header-type='popup-sub-level'] {\n position: absolute;\n z-index: ",";\n }\n\n &[data-is-displayed='false'] {\n //display: none;\n visibility: hidden;\n }\n\n &[data-is-amp='true'] {\n position: relative;\n }\n\n .menu-handler:focus #categories-menu {\n left: 0;\n transition: left 0.1s;\n }\n"])),(function(n){return n.theme.colors.neutral100}),(function(n){return n.theme.colors.white}),pn,dn,mn),Wn=T.header(se||(se=t(["\n position: absolute;\n bottom: 20px;\n left: 16px;\n display: flex;\n align-items: center;\n"],["\n position: absolute;\n bottom: 20px;\n left: 16px;\n display: flex;\n align-items: center;\n"]))),Zn=T.div(ce||(ce=t(["\n margin-right: 8px;\n &[data-event-category] > * {\n pointer-events: none;\n }\n"],["\n margin-right: 8px;\n &[data-event-category] > * {\n pointer-events: none;\n }\n"]))),Kn=T.div(pe||(pe=t(["\n position: relative;\n display: flex;\n width: 100%;\n height: 64px;\n justify-content: center;\n\n padding: 8px 0;\n margin-top: 64px;\n &[data-sponsored='true'] {\n margin-top: 105px;\n }\n &[data-sitewide-banner-shown='true'] {\n margin-top: 128px;\n }\n\n background-color: ",";\n\n #search-input-home,\n #search-input-home-temp,\n #search-input-popup {\n position: relative;\n z-index: ",";\n width: 100%;\n box-shadow: 0px 0px 5px rgba(38, 38, 38, 0.08);\n }\n\n .displayIcon {\n z-index: ",";\n display: flex;\n width: 24px;\n height: 24px;\n align-items: center;\n }\n\n &[data-is-displayed='false'] {\n display: none;\n opacity: 0;\n }\n\n &[data-is-displayed='true'] {\n opacity: 1;\n transition: opacity 0.2s;\n }\n\n &[data-header-type='popup'] {\n position: fixed;\n z-index: ",";\n left: 0;\n width: 100vw;\n }\n"],["\n position: relative;\n display: flex;\n width: 100%;\n height: 64px;\n justify-content: center;\n\n padding: 8px 0;\n margin-top: 64px;\n &[data-sponsored='true'] {\n margin-top: 105px;\n }\n &[data-sitewide-banner-shown='true'] {\n margin-top: 128px;\n }\n\n background-color: ",";\n\n #search-input-home,\n #search-input-home-temp,\n #search-input-popup {\n position: relative;\n z-index: ",";\n width: 100%;\n box-shadow: 0px 0px 5px rgba(38, 38, 38, 0.08);\n }\n\n .displayIcon {\n z-index: ",";\n display: flex;\n width: 24px;\n height: 24px;\n align-items: center;\n }\n\n &[data-is-displayed='false'] {\n display: none;\n opacity: 0;\n }\n\n &[data-is-displayed='true'] {\n opacity: 1;\n transition: opacity 0.2s;\n }\n\n &[data-header-type='popup'] {\n position: fixed;\n z-index: ",";\n left: 0;\n width: 100vw;\n }\n"])),(function(n){return n.theme.colors.white}),un,xn,fn),Xn=T.div(de||(de=t(["\n position: fixed;\n z-index: 201;\n top: 0;\n left: 0;\n\n width: 100%;\n align-items: center;\n\n background-color: ",";\n\n transition: height 0.3s;\n\n .menu-handler-item {\n gap: 8px;\n a {\n text-decoration: none;\n }\n }\n\n &[data-site-type='helloSites'] {\n border-bottom: 1px solid\n ",";\n }\n\n &[data-marry-baby-tone='pink'] {\n background-color: ",";\n }\n\n //categories\n .menu-handler-categories:focus > .menu-handler-item {\n pointer-events: none;\n }\n .menu-handler-categories:focus-within .top-menu-categories {\n display: block;\n }\n .menu-handler-categories:focus .top-menu-health-tools {\n display: none;\n }\n\n //health tools\n .menu-handler-health-tools:focus > .menu-handler-item {\n pointer-events: none;\n }\n .menu-handler-health-tools:focus-within .top-menu-health-tools {\n display: block;\n }\n .menu-handler-health-tools:focus .top-menu-categories {\n display: none;\n }\n\n //communities\n .menu-handler-communities:focus > .menu-handler-item {\n pointer-events: none;\n }\n .menu-handler-communities:focus-within .top-menu-communities {\n display: block;\n }\n .menu-handler-communities:focus .top-menu-care-specialties {\n display: none;\n }\n\n //care\n .menu-handler-care-specialties:focus > .menu-handler-item {\n pointer-events: none;\n }\n .menu-handler-care-specialties:focus-within .top-menu-care-specialties {\n display: block;\n }\n .menu-handler-care-specialties:focus .top-menu-communities {\n display: none;\n }\n"],["\n position: fixed;\n z-index: 201;\n top: 0;\n left: 0;\n\n width: 100%;\n align-items: center;\n\n background-color: ",";\n\n transition: height 0.3s;\n\n .menu-handler-item {\n gap: 8px;\n a {\n text-decoration: none;\n }\n }\n\n &[data-site-type='helloSites'] {\n border-bottom: 1px solid\n ",";\n }\n\n &[data-marry-baby-tone='pink'] {\n background-color: ",";\n }\n\n //categories\n .menu-handler-categories:focus > .menu-handler-item {\n pointer-events: none;\n }\n .menu-handler-categories:focus-within .top-menu-categories {\n display: block;\n }\n .menu-handler-categories:focus .top-menu-health-tools {\n display: none;\n }\n\n //health tools\n .menu-handler-health-tools:focus > .menu-handler-item {\n pointer-events: none;\n }\n .menu-handler-health-tools:focus-within .top-menu-health-tools {\n display: block;\n }\n .menu-handler-health-tools:focus .top-menu-categories {\n display: none;\n }\n\n //communities\n .menu-handler-communities:focus > .menu-handler-item {\n pointer-events: none;\n }\n .menu-handler-communities:focus-within .top-menu-communities {\n display: block;\n }\n .menu-handler-communities:focus .top-menu-care-specialties {\n display: none;\n }\n\n //care\n .menu-handler-care-specialties:focus > .menu-handler-item {\n pointer-events: none;\n }\n .menu-handler-care-specialties:focus-within .top-menu-care-specialties {\n display: block;\n }\n .menu-handler-care-specialties:focus .top-menu-communities {\n display: none;\n }\n"])),(function(n){return n.theme.colors.white}),(function(n){return n.theme.colors.neutral100}),(function(n){return n.theme.mbColors.lightPink})),Qn=T.div(me||(me=t(["\n display: flex;\n height: 100%;\n align-items: center;\n\n justify-content: space-between;\n padding: 0;\n"],["\n display: flex;\n height: 100%;\n align-items: center;\n\n justify-content: space-between;\n padding: 0;\n"]))),qn=T.div(he||(he=t(["\n display: flex;\n align-items: center;\n"],["\n display: flex;\n align-items: center;\n"]))),Jn=T.div(ge||(ge=t(["\n padding-right: 16px;\n &[data-is-having-border='true'] {\n border-right: 1px solid\n ",";\n }\n"],["\n padding-right: 16px;\n &[data-is-having-border='true'] {\n border-right: 1px solid\n ",";\n }\n"])),(function(n){return n.theme.colors.neutral100})),$n=T.div(ue||(ue=t(["\n padding: 0 16px;\n\n & > div {\n background-color: ",";\n }\n\n &[data-marry-baby-theme='white'] > div {\n background-color: ",";\n }\n\n #search-input-home,\n #search-input-home-temp {\n height: 32px;\n box-sizing: border-box;\n padding: 0 16px 0 48px;\n border: 1px solid ",";\n border-radius: 6px;\n filter: drop-shadow(0px 1px 1px rgba(0, 0, 0, 0.1));\n outline: none;\n }\n\n &[data-is-styled-borderless='true'] {\n #search-input-home,\n #search-input-home-temp {\n height: 40px;\n border: 1px solid ",";\n border-radius: 16px;\n filter: none;\n }\n }\n"],["\n padding: 0 16px;\n\n & > div {\n background-color: ",";\n }\n\n &[data-marry-baby-theme='white'] > div {\n background-color: ",";\n }\n\n #search-input-home,\n #search-input-home-temp {\n height: 32px;\n box-sizing: border-box;\n padding: 0 16px 0 48px;\n border: 1px solid ",";\n border-radius: 6px;\n filter: drop-shadow(0px 1px 1px rgba(0, 0, 0, 0.1));\n outline: none;\n }\n\n &[data-is-styled-borderless='true'] {\n #search-input-home,\n #search-input-home-temp {\n height: 40px;\n border: 1px solid ",";\n border-radius: 16px;\n filter: none;\n }\n }\n"])),(function(n){return n.theme.colors.white}),(function(n){return n.theme.mbColors.lightGray}),(function(n){return n.theme.colors.neutral100}),(function(n){return n.theme.colors.white})),ne=T.div(xe||(xe=t(["\n display: flex;\n align-items: center;\n\n & > :not(:first-child) {\n margin-left: 6px;\n }\n"],["\n display: flex;\n align-items: center;\n\n & > :not(:first-child) {\n margin-left: 6px;\n }\n"]))),ee=T.div(fe||(fe=t(["\n display: flex;\n align-items: center;\n\n margin-left: 8px;\n"],["\n display: flex;\n align-items: center;\n\n margin-left: 8px;\n"]))),te=T.div(ye||(ye=t(["\n display: flex;\n align-items: center;\n\n margin-left: 4px;\n"],["\n display: flex;\n align-items: center;\n\n margin-left: 4px;\n"]))),ie=T.div(ve||(ve=t(["\n margin-right: 8px;\n & > div {\n display: flex;\n align-items: center;\n\n cursor: pointer;\n font-size: ",";\n font-weight: ",";\n line-height: 22px;\n\n user-select: none;\n }\n\n &[data-is-active='true'] {\n color: ",";\n\n div[data-site-type='marryBaby'] & {\n color: ",";\n }\n }\n\n &[data-is-active='false'] {\n color: ",";\n\n div[data-site-type='marryBaby'] & {\n color: ",";\n }\n }\n .care-navigator {\n color: ",";\n font-size: 14px;\n font-weight: 700;\n }\n"],["\n margin-right: 8px;\n & > div {\n display: flex;\n align-items: center;\n\n cursor: pointer;\n font-size: ",";\n font-weight: ",";\n line-height: 22px;\n\n user-select: none;\n }\n\n &[data-is-active='true'] {\n color: ",";\n\n div[data-site-type='marryBaby'] & {\n color: ",";\n }\n }\n\n &[data-is-active='false'] {\n color: ",";\n\n div[data-site-type='marryBaby'] & {\n color: ",";\n }\n }\n .care-navigator {\n color: ",";\n font-size: 14px;\n font-weight: 700;\n }\n"])),(function(n){return n.theme.sizes.fsParagraph4}),(function(n){return n.theme.sizes.fwBold}),(function(n){return n.theme.colors.primaryBase}),(function(n){return n.theme.mbColors.pink}),(function(n){return n.theme.colors.secondaryDark}),(function(n){return n.theme.mbColors.dark}),(function(n){return n.theme.colors.secondaryDark})),oe=T.div(be||(be=t(["\n flex-shrink: 0;\n & > div {\n display: flex;\n align-items: center;\n\n font-size: ",";\n font-weight: ",";\n line-height: 22px;\n\n user-select: none;\n }\n "," {\n position: absolute;\n right: 16px;\n bottom: 16px;\n height: 32px;\n display: flex;\n }\n .menu-handler-item {\n gap: 8px;\n .care-button {\n text-decoration: none;\n }\n }\n\n .login-btn-mobile[data-color='secondary'][data-size='sm'] {\n padding-right: 1rem;\n padding-left: 1rem;\n }\n"],["\n flex-shrink: 0;\n & > div {\n display: flex;\n align-items: center;\n\n font-size: ",";\n font-weight: ",";\n line-height: 22px;\n\n user-select: none;\n }\n "," {\n position: absolute;\n right: 16px;\n bottom: 16px;\n height: 32px;\n display: flex;\n }\n .menu-handler-item {\n gap: 8px;\n .care-button {\n text-decoration: none;\n }\n }\n\n .login-btn-mobile[data-color='secondary'][data-size='sm'] {\n padding-right: 1rem;\n padding-left: 1rem;\n }\n"])),(function(n){return n.theme.sizes.fsParagraph4}),(function(n){return n.theme.sizes.fwBold}),R.mbDown),ae=T.div(Ee||(Ee=t(["\n display: block;\n"],["\n display: block;\n"]))),le=T.div(we||(we=t([""],[""])));T.div(ke||(ke=t(["\n .amp-sidebar {\n width: 100vw;\n max-width: 100vw;\n background-color: ",";\n }\n\n .nav-card {\n display: flex;\n width: 100%;\n flex-direction: column;\n align-items: center;\n padding: 16px;\n border-radius: 6px;\n color: ",";\n\n span {\n margin-top: 4px;\n font-size: 13px;\n font-weight: ",";\n }\n\n svg {\n margin-bottom: 4px;\n }\n\n &.active {\n background: ",";\n box-shadow: 0px 16px 24px rgba(0, 0, 0, 0.06),\n 0px 2px 8px rgba(0, 0, 0, 0.04), 0px 0px 1px rgba(0, 0, 0, 0.04);\n color: white;\n }\n\n &:not(.active) {\n box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.04),\n 0px 0px 2px rgba(0, 0, 0, 0.06), 0px 0px 1px rgba(0, 0, 0, 0.04);\n color: ",";\n }\n }\n\n .categories__spotlight {\n display: grid;\n margin: 16px;\n margin-bottom: 32px;\n grid-gap: 8px;\n grid-template-columns: 1fr 1fr;\n\n a {\n text-decoration: none;\n }\n }\n\n .amp__menu-header {\n display: grid;\n grid-template-columns: 1fr 1fr 1fr;\n\n > div:first-child > amp-img {\n margin-left: 1rem;\n }\n\n svg {\n margin-left: 16px;\n }\n\n > div {\n align-self: center;\n\n &:nth-child(2) {\n justify-self: center;\n }\n }\n }\n\n .logo {\n margin: 22px 0;\n\n img {\n object-fit: contain;\n }\n }\n\n .categories {\n margin: 0 16px;\n\n li {\n position: relative;\n display: block;\n width: 100%;\n\n + li {\n border-top: 1px solid\n ",";\n }\n\n &.health-tool {\n display: flex;\n align-items: center;\n\n amp-img {\n margin-right: 1rem;\n }\n + li {\n border-top: none;\n }\n\n a {\n display: flex;\n align-items: center;\n }\n }\n\n a {\n display: block;\n margin: 16px 0;\n color: ",";\n text-decoration: none;\n }\n\n &::after {\n position: absolute;\n top: 50%;\n right: 0;\n content: url(\"data:image/svg+xml,%3Csvg width='6' height='10' viewBox='0 0 6 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 9L5 5L1 1' stroke='%23595959' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A\");\n }\n }\n }\n"],["\n .amp-sidebar {\n width: 100vw;\n max-width: 100vw;\n background-color: ",";\n }\n\n .nav-card {\n display: flex;\n width: 100%;\n flex-direction: column;\n align-items: center;\n padding: 16px;\n border-radius: 6px;\n color: ",";\n\n span {\n margin-top: 4px;\n font-size: 13px;\n font-weight: ",";\n }\n\n svg {\n margin-bottom: 4px;\n }\n\n &.active {\n background: ",";\n box-shadow: 0px 16px 24px rgba(0, 0, 0, 0.06),\n 0px 2px 8px rgba(0, 0, 0, 0.04), 0px 0px 1px rgba(0, 0, 0, 0.04);\n color: white;\n }\n\n &:not(.active) {\n box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.04),\n 0px 0px 2px rgba(0, 0, 0, 0.06), 0px 0px 1px rgba(0, 0, 0, 0.04);\n color: ",";\n }\n }\n\n .categories__spotlight {\n display: grid;\n margin: 16px;\n margin-bottom: 32px;\n grid-gap: 8px;\n grid-template-columns: 1fr 1fr;\n\n a {\n text-decoration: none;\n }\n }\n\n .amp__menu-header {\n display: grid;\n grid-template-columns: 1fr 1fr 1fr;\n\n > div:first-child > amp-img {\n margin-left: 1rem;\n }\n\n svg {\n margin-left: 16px;\n }\n\n > div {\n align-self: center;\n\n &:nth-child(2) {\n justify-self: center;\n }\n }\n }\n\n .logo {\n margin: 22px 0;\n\n img {\n object-fit: contain;\n }\n }\n\n .categories {\n margin: 0 16px;\n\n li {\n position: relative;\n display: block;\n width: 100%;\n\n + li {\n border-top: 1px solid\n ",";\n }\n\n &.health-tool {\n display: flex;\n align-items: center;\n\n amp-img {\n margin-right: 1rem;\n }\n + li {\n border-top: none;\n }\n\n a {\n display: flex;\n align-items: center;\n }\n }\n\n a {\n display: block;\n margin: 16px 0;\n color: ",";\n text-decoration: none;\n }\n\n &::after {\n position: absolute;\n top: 50%;\n right: 0;\n content: url(\"data:image/svg+xml,%3Csvg width='6' height='10' viewBox='0 0 6 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 9L5 5L1 1' stroke='%23595959' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A\");\n }\n }\n }\n"])),(function(n){return n.theme.colors.neutral50}),(function(n){return n.theme.colors.primaryBase}),(function(n){return n.theme.sizes.fwBold}),(function(n){return n.theme.colors.primaryBase}),(function(n){return n.theme.colors.gray800}),(function(n){return n.theme.colors.neutral100}),(function(n){return n.theme.colors.gray800}));var re,se,ce,pe,de,me,he,ge,ue,xe,fe,ye,ve,be,Ee,we,ke,Ce,Te=T.div(Ce||(Ce=t(["\n width: 40px;\n height: 40px;\n cursor: pointer;\n\n img {\n border-radius: 50%;\n }\n\n .avatar {\n width: 40px;\n height: 40px;\n object-fit: cover;\n }\n\n .avatar-default {\n display: flex;\n align-items: center;\n justify-content: center;\n background-color: ",";\n border-radius: 50%;\n color: white;\n font-size: 20px;\n font-weight: bold;\n }\n"],["\n width: 40px;\n height: 40px;\n cursor: pointer;\n\n img {\n border-radius: 50%;\n }\n\n .avatar {\n width: 40px;\n height: 40px;\n object-fit: cover;\n }\n\n .avatar-default {\n display: flex;\n align-items: center;\n justify-content: center;\n background-color: ",";\n border-radius: 50%;\n color: white;\n font-size: 20px;\n font-weight: bold;\n }\n"])),(function(n){return n.theme.colors.secondaryBase}));function _e(){return l.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l.createElement("path",{d:"M14.5 17L9.5 12L14.5 7",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"}))}function Le(){return l.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"}))}function Se(n){var e=n.siteType,t=n.type;return"helloSites"===e?l.createElement("img",{"data-list-type":"Header","data-content-type":"Navigation","data-content-topic":"Hamburger",src:"data:image/svg+xml,%3csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M4 12H20' stroke='%23262626' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3e%3cpath d='M4 6H20' stroke='%23262626' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3e%3cpath d='M4 18H20' stroke='%23262626' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e",style:{width:"24px",height:"24px"},alt:t}):l.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.34961 15C3.34961 14.641 3.64062 14.35 3.99961 14.35L13.9996 14.35C14.3586 14.35 14.6496 14.641 14.6496 15C14.6496 15.359 14.3586 15.65 13.9996 15.65L3.99961 15.65C3.64062 15.65 3.34961 15.359 3.34961 15ZM3.34961 8.99999C3.34961 8.64101 3.64062 8.34999 3.99961 8.34999L19.9992 8.34999C20.3582 8.34999 20.6492 8.64101 20.6492 8.99999C20.6492 9.35898 20.3582 9.64999 19.9992 9.64999L3.99961 9.64999C3.64062 9.64999 3.34961 9.35898 3.34961 8.99999Z",fill:"#3E3F58"}))}function Ie(n){var t,i,o=n.type,a=n.isStatic,r=n.isAmp,s=n.isDisplayed,c=n.siteType,p=n.isCollapsed,d=n.sitewideBannerShown,m=n.sitewideBanner,h=n.sitewideBannerClosed,g=n.setSitewideBannerClosed,f=n.isMobile,y=n.onMenuClick,v=n.menu,b=n.isSearchIconDisplayed,E=n.statics,w=E.DISCOVER_URL_FE,k=E.SSO_URL,C=E.HOME_PAGE_URL,T=E.CARE_URL_FE,_=n.basePath,L=n.languageMenu,S=n.enabledExperimentalCareHeader,P=n.onCareHeaderClick,R=n.logoType,B=n.locale,D=n.isInit,H=n.title,z=n.sponsorComponent,U=n.currentUrl,F=n.userInfo,j=n.currentPopupType,G=n.avatar,Y=n.profileMenu,V=n.isLoginButtonDisplayed,W=n.goToLogin,Z=n.isSearchBarDisplay,K=n.searchPlaceholder,X=n.onSearchValueChanged,Q=n.keyPressed,q=In(),J=!!z,$=!!(null===(i=null===(t=null==z?void 0:z.props)||void 0===t?void 0:t.sponsoredBy)||void 0===i?void 0:i.length),nn=d&&!!m&&!h,en=Ae({isSiteWide:!!m&&!h,isShowingSiteWideBanner:nn,isSponsored:J,hasSponsoredBanners:$,isMobile:!0}),tn=en.headerRef,on=en.headerHeight;return l.createElement(l.Fragment,null,l.createElement(Vn,{"data-header-type":o,"data-collapsed":!a&&p,"data-with-search-input":"popup-sub-level"!==o,"data-is-displayed":s,"data-is-amp":r,"data-sponsored":J,"data-site-type":c,"data-sitewide-banner-shown":nn,id:"site-header",ref:tn},m?l.isValidElement(m)?l.cloneElement(m,{isCollapsed:p,setBannerClosed:g,isAmp:r,isMobile:f}):m:null,l.createElement("div",{style:e(e({position:"relative",height:64,display:"flex",alignItems:"center",justifyContent:"helloSites"===c?"center":"flex-start",background:"white"},"marryBaby"===c?{paddingLeft:66}:{}),void 0!==L||S?{paddingLeft:S?48:64,gap:24,justifyContent:"unset"}:{})},l.createElement(Wn,null,l.createElement(Zn,{on:"tap:discover-amp-sidebar",role:"button",className:"menu-handler",tabIndex:0},l.createElement("div",{onClick:function(){return null==y?void 0:y("categories")}},"home"===o&&l.createElement("a",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"Hamburger Navigation URL"},l.createElement(Se,{siteType:c,type:o})),"popup"===o&&l.createElement(Le,null),"popup-sub-level"===o&&l.createElement(_e,null)),v),b&&"helloSites"===c&&"home"===o&&l.createElement(Zn,{style:{paddingRight:16}},l.createElement("a",{"data-event-category":"Search Button","data-event-action":"Click",style:{paddingRight:16,paddingTop:8,position:"relative"},href:"".concat(C,"/search?s=&page=1")},l.createElement("img",{src:"".concat(_,"/images/search.svg"),style:{width:"24px",height:"24px"},alt:o}),l.createElement("input",{style:{width:"32px",height:"32px",position:"absolute",left:"-2px",bottom:"0",opacity:0,zIndex:1e4}})))),"popup"!==o&&l.createElement(oe,{"data-is-profile":!0,className:D?"":"menu-handler-health-tools"},l.createElement("div",{className:"menu-handler-item"},b&&"marryBaby"===c&&"home"===o&&l.createElement(Zn,{style:{justifySelf:"flex-end"}},l.createElement("a",{"data-event-category":"Search Button","data-event-action":"Click",style:{display:"flex"},href:"".concat(w,"/search?s=&page=1")},l.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l.createElement("path",{d:"M3.31573 13.7811L3.94855 13.6326L3.31573 13.7811ZM3.31573 8.324L3.94855 8.47244L3.31573 8.324ZM18.7893 8.324L19.4221 8.17556L18.7893 8.324ZM18.7893 13.781L19.4221 13.9295L18.7893 13.781ZM13.781 18.7893L13.6326 18.1565L13.781 18.7893ZM8.324 18.7893L8.17556 19.4221L8.324 18.7893ZM8.324 3.31573L8.17556 2.6829L8.324 3.31573ZM13.781 3.31573L13.9295 2.6829L13.781 3.31573ZM20.5404 21.4596C20.7942 21.7135 21.2058 21.7135 21.4596 21.4596C21.7135 21.2058 21.7135 20.7942 21.4596 20.5404L20.5404 21.4596ZM3.94855 13.6326C3.55048 11.9356 3.55048 10.1695 3.94855 8.47244L2.6829 8.17556C2.23903 10.0679 2.23903 12.0372 2.68291 13.9295L3.94855 13.6326ZM18.1565 8.47244C18.5546 10.1695 18.5546 11.9356 18.1565 13.6326L19.4221 13.9295C19.866 12.0372 19.866 10.0679 19.4221 8.17556L18.1565 8.47244ZM13.6326 18.1565C11.9356 18.5546 10.1695 18.5546 8.47244 18.1565L8.17556 19.4221C10.0679 19.866 12.0372 19.866 13.9295 19.4221L13.6326 18.1565ZM8.47244 3.94855C10.1695 3.55048 11.9356 3.55048 13.6326 3.94855L13.9295 2.6829C12.0372 2.23903 10.0679 2.23903 8.17556 2.6829L8.47244 3.94855ZM8.47244 18.1565C6.22776 17.63 4.47508 15.8773 3.94855 13.6326L2.68291 13.9295C3.32219 16.6549 5.45019 18.7829 8.17556 19.4221L8.47244 18.1565ZM13.9295 19.4221C16.6549 18.7829 18.7829 16.6549 19.4221 13.9295L18.1565 13.6326C17.63 15.8773 15.8773 17.63 13.6326 18.1565L13.9295 19.4221ZM13.6326 3.94855C15.8773 4.47508 17.63 6.22775 18.1565 8.47244L19.4221 8.17556C18.7829 5.45019 16.6549 3.32219 13.9295 2.6829L13.6326 3.94855ZM8.17556 2.6829C5.45019 3.32219 3.32219 5.45018 2.6829 8.17556L3.94855 8.47244C4.47508 6.22775 6.22775 4.47508 8.47244 3.94855L8.17556 2.6829ZM16.8755 17.7948L20.5404 21.4596L21.4596 20.5404L17.7948 16.8755L16.8755 17.7948Z",fill:"#3E3F58"})),l.createElement("input",{style:{width:"32px",height:"32px",position:"absolute",left:"-2px",bottom:"0",opacity:0}}))),S&&l.createElement(l.Fragment,null,P?l.createElement(I,{size:"sm",color:"primary",dataEventCategory:"Care",dataEventAction:"Navigation Bar Click",dataEventLabel:U,onClick:function(n){return P(n)}},q("login.booking")):l.createElement("a",{href:T,className:"care-button"},l.createElement(I,{size:"sm",color:"primary",dataEventCategory:"Care",dataEventAction:"Navigation Bar Click",dataEventLabel:U},q("login.booking")))),(null==F?void 0:F.id)?l.createElement(ee,{style:{position:"relative"}},l.createElement("div",{onClick:function(){return y&&y("profile")}},"profile"===j?l.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"})):G),Y):r?l.createElement("a",{"data-vars-event-category":"Sign Up","data-vars-event-action":"Button Click","data-vars-event-label":U,href:"".concat(k,"?returnUrl=").concat(U.replace("?amp=1","")),style:{textDecoration:"none"}},"vi-VN"===B?l.createElement(Te,{onClick:W},l.createElement("img",{src:u,className:"avatar",alt:"avatar"})):l.createElement(I,{className:"login-btn-mobile",size:"sm",color:"secondary",onClick:W},q("navigation.loginJoin"))):V&&l.createElement("a",{"data-event-category":"Sign Up","data-event-action":"Button Click","data-event-label":U},S?l.createElement(Te,{onClick:W},l.createElement("img",{src:u,className:"avatar",alt:"avatar"})):"helloSites"===c?l.createElement(I,{className:"login-btn-mobile",size:"sm",color:"secondary",onClick:W},q("navigation.loginJoin")):l.createElement("div",{className:"login-btn-mobile",onClick:W,style:{paddingLeft:16}},l.createElement(N,{size:"p3"},q("navigation.loginJoin")))))),("home"===o||"popup"===o)&&l.createElement("a",{href:C||""},l.createElement(M,{type:R,height:"27px",width:"121px",style:{display:"flex"},badge:"id-ID"===B?l.createElement("img",{src:x,style:{width:56,height:23,maxWidth:56},width:"56",height:"23"}):void 0})),void 0!==L&&l.createElement(ie,{"data-is-active":!0,className:D?"":"menu-handler-language",onClick:function(){y&&y("language")}},L),H&&l.createElement(A,{className:"top-bar-header",tag:"h5"},H)),z?l.isValidElement(z)?l.cloneElement(z,{isCollapsed:p,locale:B,isMobile:f,isAmp:r}):z:null),Z?l.createElement(Kn,{"data-header-type":o,"data-is-displayed":s,"data-sitewide-banner-shown":d&&!!m},l.createElement(O,{style:{minHeight:"auto",minWidth:"100%",padding:"0 16px"},name:"search-input-"+o+(D?"":"-temp"),size:"md",placeholder:K,onChange:X,onKeyPress:Q,type:"search",autoFocus:!1,displayIcon:l.createElement("a",{"data-event-category":"Search Button","data-event-action":"Click"},l.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l.createElement("path",{d:"M11 18C14.866 18 18 14.866 18 11C18 7.13401 14.866 4 11 4C7.13401 4 4 7.13401 4 11C4 14.866 7.13401 18 11 18Z",stroke:"#8C8C8C",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),l.createElement("path",{d:"M20 20L16 16",stroke:"#8C8C8C",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})))})):l.createElement(l.Fragment,null,!r&&l.createElement("div",{style:{height:on}})))}var Ae=function(n){var e=n.hasSponsoredBanners,t=n.isSiteWide,i=n.isSponsored,o=n.isShowingSiteWideBanner,a=n.isMobile,l=s(null),p=r(0),d=p[0],g=p[1],u=h(k((function(){var n,e=(null===(n=l.current)||void 0===n?void 0:n.clientHeight)||0;window.scrollY<=e+30&&g(e)}),100),[]);c((function(){return window.addEventListener("resize",u),window.addEventListener("scroll",u),function(){window.removeEventListener("resize",u),window.removeEventListener("scroll",u)}}),[]),c((function(){u()}),[t,o,i,e,l.current]);var x=m((function(){var n=a?64:69;return o&&(n+=64),i&&(n+=40),n}),[a,o,i]);return{headerHeight:d||x,headerRef:l}},Ne=function(n){var e,t,i,o=n.siteType,a=n.basePath,p=n.statics,d=n.currentPopupType,g=void 0===d?"none":d,f=n.isDisplayed,y=void 0===f||f,v=n.isSearchBarDisplay,b=void 0===v||v,E=n.searchPlaceholder,k=void 0===E?"":E,C=n.openPopup,T=n.onTopBarAppears,L=n.onSearchChange,S=n.onSearchKeyPress,A=n.menu,N=n.isAmp,R=n.profileMenu,D=n.isMobile,H=void 0!==D&&D,z=n.isLoginButtonDisplayed,U=n.title,F=n.type,j=void 0===F?"home":F,G=n.onMenuClick,Y=n.isStatic,V=void 0!==Y&&Y,W=n.routerAsPath,Z=n.locale,K=n.userInfo,q=n.marryBaby,J=(void 0===q?{tone:"white"}:q).tone,$=n.menuItems,nn=void 0===$?[]:$,en=n.isInit,tn=n.sitewideBanner,on=n.sitewideBannerShown,an=void 0===on||on,ln=n.sponsorComponent,rn=n.languageMenu,sn=n.isSearchIconDisplayed,cn=void 0!==sn&&sn,pn=n.enabledExperimentalCareHeader,dn=n.onCareHeaderClick,mn=p.SSO_URL,hn=p.HOME_PAGE_URL,gn=p.CARE_URL_FE,un=In(),xn=!!ln,fn=r(!1),yn=fn[0],vn=fn[1],bn=r(!1),En=bn[0],wn=bn[1],kn=r(!1),Cn=kn[0],Tn=kn[1],_n=r(en||!1),Ln=_n[0],Sn=_n[1],An=s(47),Nn=s(!1),Mn=s(!1),On="helloSites"===o?"https://".concat(X[Z]).concat(W):"https://www.marrybaby.vn".concat(W),Pn=m((function(){var n=(null==K?void 0:K.name)||(null==K?void 0:K.username);return l.createElement(_,{type:"rounded",size:"small",avatarUrl:null==K?void 0:K.avatar,firstLetter:n&&n.length?n[0].toUpperCase():"A",backgroundColor:"marryBaby"===o?B.mbColors.pink:B.colors.secondaryBase,isAmp:N})}),[null==K?void 0:K.username,null==K?void 0:K.name,null==K?void 0:K.avatar]),Rn=function(){var n=window.location.href;window.location.href=mn?"".concat(mn,"?returnUrl=").concat(n):n},Bn="helloSites"===o?null===(e=Q[Z])||void 0===e?void 0:e.LOGO_TYPE:o,Dn="undefined"!=typeof window,Hn=function(n){null==L||L(n)},zn=h(w((function(){var n;if("home"===j){var e=window,t=null===(n=document.querySelector(".sticky-container"))||void 0===n?void 0:n.clientHeight;Dn&&e&&(e.scrollY>An.current&&e.scrollY>64&&!Nn.current&&(Nn.current=!0,vn(!0)),e.scrollY<An.current&&Nn.current&&(Nn.current=!1,vn(!1),t&&e.scrollY),e.scrollY<An.current&&t&&e.scrollY,b?(e.scrollY<64&&e.scrollY<An.current&&Mn.current&&(Mn.current=!1),e.scrollY>8&&e.scrollY>An.current&&!Mn.current&&(Mn.current=!0)):Mn.current=!0,e.scrollY>=0&&(An.current=e.scrollY))}}),300),[]);c((function(){null==T||T(!yn)}),[yn]);var Un=function(n){var e,t;S&&S(n,null!==(t=null===(e=document.getElementById("search-input-"+j))||void 0===e?void 0:e.value)&&void 0!==t?t:"")};c((function(){H&&zn()}),[]),c((function(){return window.addEventListener("scroll",zn,{passive:!0}),function(){window.removeEventListener("scroll",zn)}}),[]),c((function(){Sn(!0)}),[]),c((function(){"undefined"!=typeof window&&Tn(Boolean(Cn))}),[]);var Fn=l.createElement(l.Fragment,null,nn.find((function(n){return"categories"===n.id}))&&l.createElement(ie,{"data-is-active":"categories"===g,className:Ln?"":"menu-handler-categories",tabIndex:0,onClick:function(){null==C||C("categories"),setTimeout((function(){var n,e;null===(e=null===(n=document.getElementsByClassName("top-menu-categories"))||void 0===n?void 0:n[0])||void 0===e||e.focus()}),100)}},l.createElement("div",{className:"menu-handler-item"},un("home.navigator.menuItem.discover"),l.createElement(te,null,l.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l.createElement("path",{d:"M11.5 7.5L9 10L6.5 7.5",stroke:"#202135",strokeWidth:"1.33",strokeLinecap:"round",strokeLinejoin:"round"})))),"categories"===g&&l.createElement("div",null,A)),nn.find((function(n){return"healthTools"===n.id}))&&l.createElement(ie,{"data-is-active":"tools"===g,className:Ln?"":"menu-handler-health-tools",tabIndex:0},l.createElement("div",{className:"menu-handler-item",onClick:function(){C&&C("tools")}},un("home.navigator.menuItem.healthTools"),l.createElement(te,null,l.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l.createElement("path",{d:"M11.5 7.5L9 10L6.5 7.5",stroke:"#202135",strokeWidth:"1.33",strokeLinecap:"round",strokeLinejoin:"round"})))),"tools"===g&&l.createElement("div",null,A)),nn.find((function(n){return"care"===n.id}))&&!pn&&l.createElement(ie,{"data-is-active":"care"===g,className:Ln?"":"menu-handler-care-specialties",tabIndex:0},l.createElement("div",{className:"menu-handler-item",onClick:function(){C&&C("care")}},un("home.navigator.menuItem.helloCare"),l.createElement(te,null,l.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l.createElement("path",{d:"M11.5 7.5L9 10L6.5 7.5",stroke:"#202135",strokeWidth:"1.33",strokeLinecap:"round",strokeLinejoin:"round"})))),"care"===g&&l.createElement("div",null,A)),nn.find((function(n){return"together"===n.id}))&&l.createElement(ie,{"data-is-active":"communities"===g,className:Ln?"":"menu-handler-communities",tabIndex:0},l.createElement("div",{className:"menu-handler-item",onClick:function(){C&&C("communities")}},un("home.navigator.menuItem.helloTogether"),l.createElement(te,null,l.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l.createElement("path",{d:"M11.5 7.5L9 10L6.5 7.5",stroke:"#202135",strokeWidth:"1.33",strokeLinecap:"round",strokeLinejoin:"round"})))),"communities"===g&&l.createElement("div",null,A))),jn=!!(null===(i=null===(t=null==ln?void 0:ln.props)||void 0===t?void 0:t.sponsoredBy)||void 0===i?void 0:i.length),Gn=an&&!!tn&&!En,Yn=Ae({isSiteWide:!!tn&&!En,isShowingSiteWideBanner:Gn,isSponsored:xn,hasSponsoredBanners:jn}),Vn=Yn.headerRef,Wn=Yn.headerHeight;return H?l.createElement(Ie,{type:j,isStatic:V,isAmp:N,isDisplayed:y,siteType:o,isCollapsed:yn,sitewideBannerShown:an,sitewideBanner:tn,sitewideBannerClosed:En,setSitewideBannerClosed:wn,isMobile:H,onMenuClick:G,menu:A,isSearchIconDisplayed:cn,statics:p,basePath:a,languageMenu:rn,enabledExperimentalCareHeader:pn,logoType:Bn,locale:Z,isInit:Ln,title:U,sponsorComponent:ln,currentUrl:On,userInfo:K,currentPopupType:g,avatar:Pn,profileMenu:R,isLoginButtonDisplayed:z,goToLogin:Rn,isSearchBarDisplay:b,searchPlaceholder:k,onSearchValueChanged:Hn,keyPressed:Un}):l.createElement(l.Fragment,null,l.createElement("div",{style:{height:Wn}}),l.createElement(Xn,{ref:Vn,"data-site-type":o,"data-marry-baby-tone":"marryBaby"===o&&J,"data-sponsored":xn,"data-sitewide-banner-shown":Gn},tn?l.isValidElement(tn)?l.cloneElement(tn,{isCollapsed:yn,setBannerClosed:wn}):tn:null,l.createElement(P,{style:{height:69,padding:"0 16px"},type:o},l.createElement(Qn,null,l.createElement(qn,null,l.createElement("a",{href:hn},l.createElement(Jn,{"data-is-having-border":"helloSites"===o},l.createElement(M,{style:{display:"flex"},type:Bn,height:"27px",width:"121px",badge:"id-ID"===Z?l.createElement("img",{src:x,style:{width:56,height:23,maxWidth:56},width:"56",height:"23"}):void 0}))),b&&"helloSites"===o&&l.createElement($n,{"data-header-type":j,"data-is-displayed":y,"data-sitewide-banner-shown":an&&!!tn},l.createElement(O,{style:{minHeight:"32px",maxHeight:"32px",minWidth:"100%",backgroundColor:B.colors.white},name:"search-input-"+j+(Ln?"":"-temp"),autoFocus:!1,size:"sm",placeholder:k,onChange:Hn,onKeyPress:Un,displayIcon:l.createElement("a",{"data-event-category":"Search Button","data-event-action":"Click",style:{width:"24px",height:"24px",transform:"scale(0.8)"}},l.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.875 11C4.875 7.61726 7.61726 4.875 11 4.875C14.3827 4.875 17.125 7.61726 17.125 11C17.125 14.3827 14.3827 17.125 11 17.125C7.61726 17.125 4.875 14.3827 4.875 11ZM11 3.125C6.65076 3.125 3.125 6.65076 3.125 11C3.125 15.3492 6.65076 18.875 11 18.875C12.8594 18.875 14.5683 18.2306 15.9155 17.1529L19.3813 20.6187C19.723 20.9604 20.277 20.9604 20.6187 20.6187C20.9604 20.277 20.9604 19.723 20.6187 19.3813L17.1529 15.9155C18.2306 14.5683 18.875 12.8594 18.875 11C18.875 6.65076 15.3492 3.125 11 3.125Z",fill:"#8C8C8C"})))})),"marryBaby"===o&&l.createElement("div",{style:{marginLeft:28,display:"flex"}},Fn)),l.createElement(ne,null,"helloSites"===o&&Fn,b&&"marryBaby"===o&&l.createElement($n,{"data-header-type":j,"data-is-displayed":y,"data-is-styled-borderless":"marryBaby"===o,"data-marry-baby-theme":J},l.createElement(O,{style:{minHeight:"40px",maxHeight:"40px",minWidth:"100%",borderRadius:16},name:"search-input-"+j+(Ln?"":"-temp"),autoFocus:!1,size:"sm",placeholder:k,onChange:Hn,onKeyPress:Un,displayIcon:l.createElement("a",{"data-event-category":"Search Button","data-event-action":"Click",style:{width:"24px",height:"24px"}},l.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l.createElement("path",{d:"M3.31573 13.7811L3.94855 13.6326L3.31573 13.7811ZM3.31573 8.324L3.94855 8.47244L3.31573 8.324ZM18.7893 8.324L19.4221 8.17556L18.7893 8.324ZM18.7893 13.781L19.4221 13.9295L18.7893 13.781ZM13.781 18.7893L13.6326 18.1565L13.781 18.7893ZM8.324 18.7893L8.17556 19.4221L8.324 18.7893ZM8.324 3.31573L8.17556 2.6829L8.324 3.31573ZM13.781 3.31573L13.9295 2.6829L13.781 3.31573ZM20.5404 21.4596C20.7942 21.7135 21.2058 21.7135 21.4596 21.4596C21.7135 21.2058 21.7135 20.7942 21.4596 20.5404L20.5404 21.4596ZM3.94855 13.6326C3.55048 11.9356 3.55048 10.1695 3.94855 8.47244L2.6829 8.17556C2.23903 10.0679 2.23903 12.0372 2.68291 13.9295L3.94855 13.6326ZM18.1565 8.47244C18.5546 10.1695 18.5546 11.9356 18.1565 13.6326L19.4221 13.9295C19.866 12.0372 19.866 10.0679 19.4221 8.17556L18.1565 8.47244ZM13.6326 18.1565C11.9356 18.5546 10.1695 18.5546 8.47244 18.1565L8.17556 19.4221C10.0679 19.866 12.0372 19.866 13.9295 19.4221L13.6326 18.1565ZM8.47244 3.94855C10.1695 3.55048 11.9356 3.55048 13.6326 3.94855L13.9295 2.6829C12.0372 2.23903 10.0679 2.23903 8.17556 2.6829L8.47244 3.94855ZM8.47244 18.1565C6.22776 17.63 4.47508 15.8773 3.94855 13.6326L2.68291 13.9295C3.32219 16.6549 5.45019 18.7829 8.17556 19.4221L8.47244 18.1565ZM13.9295 19.4221C16.6549 18.7829 18.7829 16.6549 19.4221 13.9295L18.1565 13.6326C17.63 15.8773 15.8773 17.63 13.6326 18.1565L13.9295 19.4221ZM13.6326 3.94855C15.8773 4.47508 17.63 6.22775 18.1565 8.47244L19.4221 8.17556C18.7829 5.45019 16.6549 3.32219 13.9295 2.6829L13.6326 3.94855ZM8.17556 2.6829C5.45019 3.32219 3.32219 5.45018 2.6829 8.17556L3.94855 8.47244C4.47508 6.22775 6.22775 4.47508 8.47244 3.94855L8.17556 2.6829ZM16.8755 17.7948L20.5404 21.4596L21.4596 20.5404L17.7948 16.8755L16.8755 17.7948Z",fill:"#3E3F58"})))})),void 0!==rn&&l.createElement(ie,{"data-is-active":!0,className:Ln?"":"menu-handler-language",onClick:function(){C&&C("language")}},rn),l.createElement(oe,{"data-is-active":"profile"===g,"data-is-profile":!0,className:Ln?"":"menu-handler-health-tools",tabIndex:0},l.createElement("div",{className:"menu-handler-item"},pn&&l.createElement(l.Fragment,null,dn?l.createElement(I,{className:"login-btn-mobile",size:"sm",color:"secondary",dataEventCategory:"Care",dataEventAction:"Navigation Bar Click",dataEventLabel:On,onClick:function(n){return dn(n)}},un("login.booking")):l.createElement("a",{href:gn,className:"care-button no-replace-click"},l.createElement(I,{className:"login-btn-mobile",size:"sm",color:"secondary",dataEventCategory:"Care",dataEventAction:"Navigation Bar Click",dataEventLabel:On},un("login.booking")))),(null==K?void 0:K.id)?l.createElement(ee,{style:{position:"relative"}},l.createElement("div",{onClick:function(){return C&&C("profile")}},Pn),R):z&&l.createElement("a",{"data-event-category":"Sign Up","data-event-action":"Button Click","data-event-label":On},pn?l.createElement(Te,{onClick:Rn},l.createElement("img",{src:u,className:"avatar",alt:"avatar"})):"helloSites"===o?l.createElement(I,{size:"md",color:"secondary",onClick:Rn},un("navigation.loginJoin")):l.createElement(I,{size:"md",color:"secondary",theme:"marryBaby",onClick:Rn},un("navigation.loginJoin")))))))),ln?l.isValidElement(ln)?l.cloneElement(ln,{isCollapsed:yn,locale:Z,isMobile:H,isAmp:N}):ln:null))};T.div(Me||(Me=t(["\n display: flex;\n align-items: center;\n padding: 0.5rem 0;\n\n &[data-type-mobile='true'] {\n justify-content: space-between;\n }\n\n amp-img img {\n object-fit: contain;\n object-position: right;\n }\n"],["\n display: flex;\n align-items: center;\n padding: 0.5rem 0;\n\n &[data-type-mobile='true'] {\n justify-content: space-between;\n }\n\n amp-img img {\n object-fit: contain;\n object-position: right;\n }\n"])));var Me,Oe,Pe,Re,Be,De,He,ze,Ue,Fe,je,Ge,Ye,Ve,We,Ze,Ke,Xe,Qe,qe=T.div(Oe||(Oe=t(["\n display: flex;\n height: 40px;\n align-items: center;\n justify-content: center;\n padding: 8px 0;\n border-top: 1px solid #e4e8ec;\n background-color: ",";\n cursor: pointer;\n text-decoration: none;\n\n &[data-align-left='true'] {\n justify-content: start;\n }\n .sticky-sponsored-info-icon {\n display: inline;\n }\n\n .sponsored-logo {\n width: auto;\n height: 24px;\n vertical-align: middle;\n }\n\n "," {\n height: 44px;\n }\n\n &[data-show-popup='true'] {\n .sticky-sponsored-info-icon {\n position: relative;\n &:before {\n position: absolute;\n z-index: 9;\n top: 100%;\n left: 9px;\n border-right: 6px transparent solid;\n border-bottom: 8px white solid;\n border-left: 6px transparent solid;\n content: ' ';\n transform: translateX(calc(-50% + 3px));\n }\n }\n }\n\n &.open .amp-sponsored-popup {\n display: block;\n }\n\n &[data-is-amp] {\n margin-top: -10px;\n > [class*='Container'] {\n display: flex;\n align-items: center;\n }\n }\n"],["\n display: flex;\n height: 40px;\n align-items: center;\n justify-content: center;\n padding: 8px 0;\n border-top: 1px solid #e4e8ec;\n background-color: ",";\n cursor: pointer;\n text-decoration: none;\n\n &[data-align-left='true'] {\n justify-content: start;\n }\n .sticky-sponsored-info-icon {\n display: inline;\n }\n\n .sponsored-logo {\n width: auto;\n height: 24px;\n vertical-align: middle;\n }\n\n "," {\n height: 44px;\n }\n\n &[data-show-popup='true'] {\n .sticky-sponsored-info-icon {\n position: relative;\n &:before {\n position: absolute;\n z-index: 9;\n top: 100%;\n left: 9px;\n border-right: 6px transparent solid;\n border-bottom: 8px white solid;\n border-left: 6px transparent solid;\n content: ' ';\n transform: translateX(calc(-50% + 3px));\n }\n }\n }\n\n &.open .amp-sponsored-popup {\n display: block;\n }\n\n &[data-is-amp] {\n margin-top: -10px;\n > [class*='Container'] {\n display: flex;\n align-items: center;\n }\n }\n"])),(function(n){return n.theme.colors.neutral50}),R.mbUp),Je=T.div(Pe||(Pe=t(["\n position: absolute;\n top: 30px;\n left: 50%;\n &[data-align-left='true'] {\n left: 190px;\n }\n width: 350px;\n padding: 1rem;\n border: 1px solid #f2f2f2;\n background: white;\n border-radius: 6px;\n transform: translateX(-50%);\n "," {\n width: calc(100% - 2rem);\n }\n\n &[data-is-amp] {\n display: none;\n position: fixed;\n z-index: 999;\n top: 100px;\n left: 50%;\n\n &.open {\n display: block;\n }\n }\n\n .button-container {\n display: flex;\n justify-content: space-between;\n button {\n flex: 1;\n }\n button:first-child {\n margin-right: 0.5rem;\n "," {\n margin-right: 1rem;\n }\n }\n }\n"],["\n position: absolute;\n top: 30px;\n left: 50%;\n &[data-align-left='true'] {\n left: 190px;\n }\n width: 350px;\n padding: 1rem;\n border: 1px solid #f2f2f2;\n background: white;\n border-radius: 6px;\n transform: translateX(-50%);\n "," {\n width: calc(100% - 2rem);\n }\n\n &[data-is-amp] {\n display: none;\n position: fixed;\n z-index: 999;\n top: 100px;\n left: 50%;\n\n &.open {\n display: block;\n }\n }\n\n .button-container {\n display: flex;\n justify-content: space-between;\n button {\n flex: 1;\n }\n button:first-child {\n margin-right: 0.5rem;\n "," {\n margin-right: 1rem;\n }\n }\n }\n"])),R.mbDown,R.mbUp),$e=function(n){var e=n.className,t=n.isMobile,i=n.isCollapsed,o=n.sponsoredType,a=n.sponsoredBy,s=n.isAmp,c=n.locale,p=In(),d=r(!1),m=d[0],h=d[1];return l.createElement(qe,{className:e,onClick:function(){return h(!0)},"data-show-popup":m&&(!t||!i)&&!s,"data-align-left":a&&!!(null==a?void 0:a.logo),"data-is-amp":s||void 0},l.createElement(P,{style:{position:"relative",padding:"0 16px"}},"content"===o?l.createElement(N,{size:t?"p4":"p3",color:"#737373"},l.createElement("div",{className:"sticky-sponsored-info-icon"},s?l.createElement("amp-img",{height:"20",width:"20",style:{verticalAlign:"middle",marginLeft:"0.3rem",marginBottom:"0.1rem"},src:wn}):l.createElement("img",{src:wn,style:{width:20,height:20,verticalAlign:"middle",marginRight:"0.3rem",marginBottom:"0.1rem"}})),a&&(null==a?void 0:a.logo)?l.createElement(l.Fragment,null," ",p("articlePage.sponsoredContentBy")," ",l.createElement("img",{className:"sponsored-logo",src:(null==a?void 0:a.logo)||"",alt:"sponsored-logo"})):p("articlePage.sponsoredContent")):l.createElement(N,{size:"p2",color:"#737373"},p("articlePage.sponsoredArticle"),l.createElement("div",{className:"sticky-sponsored-info-icon"},s?l.createElement("amp-img",{height:"20",width:"20",style:{verticalAlign:"middle",marginLeft:"0.3rem",marginBottom:"0.1rem"},src:wn,on:"tap:sponsored-by.toggleClass(class='open')",tabIndex:0,role:"button"}):l.createElement("img",{src:wn,style:{width:20,height:20,verticalAlign:"middle",marginLeft:"0.3rem",marginBottom:"0.1rem"}}))),!m||t&&i||s?null:l.createElement(nt,{sponsoredBy:a,isAmp:s,onClose:function(){return h(!1)},locale:c})))},nt=function(n){var e=n.sponsoredBy,t=n.isAmp,i=n.onClose,o=n.locale||"en-PH",a=In();return l.createElement(Je,{"data-align-left":e&&!!(null==e?void 0:e.logo),"data-is-amp":t||void 0,id:"sponsored-by",className:t?"amp-sponsored-popup":void 0},l.createElement(N,{size:"p3",style:{marginBottom:"1rem"}},a("articlePage.sponsoredByStickyPopup.content")),l.createElement("div",{className:"button-container",onClick:function(n){n.stopPropagation()}},l.createElement(I,{size:"md",color:"secondary",onClick:i,isAmp:t,on:"tap:sponsored-by.toggleClass(class='open')"},a("articlePage.sponsoredByStickyPopup.close")),l.createElement(I,{size:"md",onClick:function(){window.location.href="/static".concat(q[o].ADVERTISING_SPONSOR_POLICY)},isAmp:t,on:"tap:AMP.navigateTo(url='/static".concat(q[o].ADVERTISING_SPONSOR_POLICY,"')")},a("articlePage.sponsoredByStickyPopup.policies"))))},et=T.div(Re||(Re=t(["\n & > div {\n width: 100%;\n margin-bottom: 8px;\n }\n"],["\n & > div {\n width: 100%;\n margin-bottom: 8px;\n }\n"]))),tt=T.div(Be||(Be=t(["\n &[data-category-list-type='sub'] {\n padding-bottom: 72px;\n }\n\n &[data-is-displayed='false'] {\n display: none;\n }\n\n margin-top: 16px;\n"],["\n &[data-category-list-type='sub'] {\n padding-bottom: 72px;\n }\n\n &[data-is-displayed='false'] {\n display: none;\n }\n\n margin-top: 16px;\n"]))),it=T.div(De||(De=t(["\n & > :not(:last-child) {\n border-bottom: 1px solid\n ",";\n }\n\n & > div > :not(:last-child) {\n border-bottom: 1px solid\n ",";\n }\n"],["\n & > :not(:last-child) {\n border-bottom: 1px solid\n ",";\n }\n\n & > div > :not(:last-child) {\n border-bottom: 1px solid\n ",";\n }\n"])),(function(n){return n.theme.colors.neutral100}),(function(n){return n.theme.colors.neutral100})),ot=T.div(He||(He=t(["\n display: flex;\n width: 100%;\n height: 48px;\n align-items: center;\n justify-content: space-between;\n padding: 8px;\n background-color: ",";\n font-size: ",";\n\n &[data-is-heading-category='true'] {\n border-bottom: none;\n background-color: ",";\n color: ",";\n font-weight: ",";\n }\n &[data-event-category] > * {\n pointer-events: none;\n }\n"],["\n display: flex;\n width: 100%;\n height: 48px;\n align-items: center;\n justify-content: space-between;\n padding: 8px;\n background-color: ",";\n font-size: ",";\n\n &[data-is-heading-category='true'] {\n border-bottom: none;\n background-color: ",";\n color: ",";\n font-weight: ",";\n }\n &[data-event-category] > * {\n pointer-events: none;\n }\n"])),(function(n){return n.theme.colors.white}),(function(n){return n.theme.sizes.fsParagraph4}),(function(n){return n.theme.colors.blue50}),(function(n){return n.theme.colors.gray800}),(function(n){return n.theme.sizes.fwBold})),at=T.div(ze||(ze=t([""],[""]))),lt=T.div(Ue||(Ue=t(["\n display: flex;\n"],["\n display: flex;\n"]))),rt=T.div(Fe||(Fe=t(["\n display: flex;\n align-items: center;\n\n "," {\n padding: 8px;\n }\n margin-bottom: 12px;\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 24px;\n\n &[data-theme='marryBaby'] {\n color: ",";\n }\n &[data-event-category] * {\n pointer-events: none;\n }\n"],["\n display: flex;\n align-items: center;\n\n "," {\n padding: 8px;\n }\n margin-bottom: 12px;\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 24px;\n\n &[data-theme='marryBaby'] {\n color: ",";\n }\n &[data-event-category] * {\n pointer-events: none;\n }\n"])),R.mbDown,(function(n){return n.theme.colors.primaryBase}),(function(n){return n.theme.sizes.fsParagraph4}),(function(n){return n.theme.sizes.fwBold}),(function(n){return n.theme.mbColors.pink})),st=T.div(je||(je=t(["\n display: flex;\n align-items: center;\n\n margin-left: 10px;\n"],["\n display: flex;\n align-items: center;\n\n margin-left: 10px;\n"]))),ct=T.div(Ge||(Ge=t(["\n position: fixed;\n z-index: ",";\n top: 69px;\n left: 0;\n width: 100%;\n height: 100%;\n align-items: center;\n background-color: transparent;\n &[data-is-display='false'] {\n display: none;\n }\n"],["\n position: fixed;\n z-index: ",";\n top: 69px;\n left: 0;\n width: 100%;\n height: 100%;\n align-items: center;\n background-color: transparent;\n &[data-is-display='false'] {\n display: none;\n }\n"])),hn),pt=T.div(Ye||(Ye=t(["\n z-index: ",";\n align-items: center;\n\n border: 1px solid ",";\n background-color: ",";\n box-shadow: 0px 24px 32px rgba(0, 0, 0, 0.04),\n 0px 16px 24px rgba(0, 0, 0, 0.04), 0px 4px 8px rgba(0, 0, 0, 0.04),\n 0px 0px 1px rgba(0, 0, 0, 0.04);\n"],["\n z-index: ",";\n align-items: center;\n\n border: 1px solid ",";\n background-color: ",";\n box-shadow: 0px 24px 32px rgba(0, 0, 0, 0.04),\n 0px 16px 24px rgba(0, 0, 0, 0.04), 0px 4px 8px rgba(0, 0, 0, 0.04),\n 0px 0px 1px rgba(0, 0, 0, 0.04);\n"])),gn,(function(n){return n.theme.colors.neutral50}),(function(n){return n.theme.colors.white})),dt=T.div(Ve||(Ve=t(["\n position: relative;\n display: flex;\n flex-wrap: wrap;\n align-items: flex-start;\n justify-content: flex-start;\n padding: 48px 0;\n\n > :first-child {\n flex: 2;\n }\n\n > :not(:first-child) {\n flex: 1;\n }\n"],["\n position: relative;\n display: flex;\n flex-wrap: wrap;\n align-items: flex-start;\n justify-content: flex-start;\n padding: 48px 0;\n\n > :first-child {\n flex: 2;\n }\n\n > :not(:first-child) {\n flex: 1;\n }\n"]))),mt=T.div(We||(We=t(["\n position: relative;\n display: flex;\n flex-wrap: wrap;\n align-items: flex-start;\n justify-content: flex-start;\n\n &[data-disabled-divider='false'] {\n border-right: 1px solid #e4e8ec;\n }\n"],["\n position: relative;\n display: flex;\n flex-wrap: wrap;\n align-items: flex-start;\n justify-content: flex-start;\n\n &[data-disabled-divider='false'] {\n border-right: 1px solid #e4e8ec;\n }\n"]))),ht=T.div(Ze||(Ze=t(["\n width: 20%;\n padding-right: 16px;\n margin-bottom: 12px;\n\n & > a {\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 22px;\n }\n\n & > a:hover {\n color: ",";\n }\n\n .iconMenu {\n display: flex;\n align-items: center;\n\n > .imageContainer {\n display: flex;\n width: 32px;\n min-width: 32px;\n align-items: center;\n margin-right: 16px;\n }\n }\n &[data-event-category] > * {\n pointer-events: none;\n }\n"],["\n width: 20%;\n padding-right: 16px;\n margin-bottom: 12px;\n\n & > a {\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 22px;\n }\n\n & > a:hover {\n color: ",";\n }\n\n .iconMenu {\n display: flex;\n align-items: center;\n\n > .imageContainer {\n display: flex;\n width: 32px;\n min-width: 32px;\n align-items: center;\n margin-right: 16px;\n }\n }\n &[data-event-category] > * {\n pointer-events: none;\n }\n"])),(function(n){return n.theme.colors.gray800}),(function(n){return n.theme.sizes.fsParagraph4}),(function(n){return n.theme.sizes.fwRegular}),(function(n){return n.theme.colors.primaryBase})),gt=T.div(Ke||(Ke=t(["\n display: none;\n"],["\n display: none;\n"]))),ut=T.div(Xe||(Xe=t(["\n position: absolute;\n top: 16px;\n right: 0;\n display: flex;\n align-items: center;\n cursor: pointer;\n"],["\n position: absolute;\n top: 16px;\n right: 0;\n display: flex;\n align-items: center;\n cursor: pointer;\n"]))),xt=T.div(Qe||(Qe=t(["\n height: 1px;\n flex: 1;\n margin: 0 16px;\n background-color: ",";\n"],["\n height: 1px;\n flex: 1;\n margin: 0 16px;\n background-color: ",";\n"])),(function(n){return n.theme.mbColors.lightGray})),ft=T.div(Lt||(Lt=t(["\n position: fixed;\n z-index: 200;\n top: 0;\n width: 100vw;\n height: 100%;\n overflow-x: hidden;\n overflow-y: scroll;\n\n &[data-opened='false'] {\n left: -100%;\n //transition: left 0.1s;\n\n animation-duration: 0.2s;\n animation-name: leftDisappears;\n }\n\n &[data-opened='undefined'] {\n left: -100%;\n }\n\n &[data-opened='true'] {\n left: 0;\n //transition: left 0.1s;\n\n animation-duration: 0.2s;\n animation-name: leftAppears;\n }\n\n &[data-sub-level-opened='false'] {\n right: -100%;\n //transition: right 0.1s;\n\n animation-duration: 0.2s;\n animation-name: rightDisappears;\n }\n\n &[data-sub-level-opened='undefined'] {\n right: -100%;\n }\n\n &[data-sub-level-opened='true'] {\n right: 0;\n //transition: right 0.1s;\n\n animation-duration: 0.2s;\n animation-name: rightAppears;\n }\n"],["\n position: fixed;\n z-index: 200;\n top: 0;\n width: 100vw;\n height: 100%;\n overflow-x: hidden;\n overflow-y: scroll;\n\n &[data-opened='false'] {\n left: -100%;\n //transition: left 0.1s;\n\n animation-duration: 0.2s;\n animation-name: leftDisappears;\n }\n\n &[data-opened='undefined'] {\n left: -100%;\n }\n\n &[data-opened='true'] {\n left: 0;\n //transition: left 0.1s;\n\n animation-duration: 0.2s;\n animation-name: leftAppears;\n }\n\n &[data-sub-level-opened='false'] {\n right: -100%;\n //transition: right 0.1s;\n\n animation-duration: 0.2s;\n animation-name: rightDisappears;\n }\n\n &[data-sub-level-opened='undefined'] {\n right: -100%;\n }\n\n &[data-sub-level-opened='true'] {\n right: 0;\n //transition: right 0.1s;\n\n animation-duration: 0.2s;\n animation-name: rightAppears;\n }\n"]))),yt=T.div(St||(St=t(["\n position: relative;\n top: 0;\n\n display: flex;\n width: 100vw;\n min-height: 100%;\n flex-direction: column;\n\n background-color: ",";\n overflow-x: hidden;\n\n &[data-type='category'] {\n z-index: 300;\n\n // momentum scrolling IOS will display under layer if not doing this\n &[data-is-sub-category-opened='true'] {\n animation-duration: 0.2s;\n animation-name: fading;\n }\n }\n\n &[data-type='sub-category'] {\n z-index: 400;\n }\n\n .category-button {\n border: none;\n }\n"],["\n position: relative;\n top: 0;\n\n display: flex;\n width: 100vw;\n min-height: 100%;\n flex-direction: column;\n\n background-color: ",";\n overflow-x: hidden;\n\n &[data-type='category'] {\n z-index: 300;\n\n // momentum scrolling IOS will display under layer if not doing this\n &[data-is-sub-category-opened='true'] {\n animation-duration: 0.2s;\n animation-name: fading;\n }\n }\n\n &[data-type='sub-category'] {\n z-index: 400;\n }\n\n .category-button {\n border: none;\n }\n"])),(function(n){return n.theme.colors.white})),vt=T.div(It||(It=t(["\n position: fixed;\n bottom: 0;\n left: 0;\n display: flex;\n width: 100%;\n height: 72px;\n align-items: flex-start;\n justify-content: center;\n\n background: linear-gradient(0deg, #ffffff 0%, rgba(255, 255, 255, 0) 100%);\n\n .button-image {\n stroke-color: blue;\n }\n\n &[data-site-type='marryBaby'] {\n padding: 0 16px;\n .category-button {\n width: 100%;\n height: 48px;\n }\n }\n"],["\n position: fixed;\n bottom: 0;\n left: 0;\n display: flex;\n width: 100%;\n height: 72px;\n align-items: flex-start;\n justify-content: center;\n\n background: linear-gradient(0deg, #ffffff 0%, rgba(255, 255, 255, 0) 100%);\n\n .button-image {\n stroke-color: blue;\n }\n\n &[data-site-type='marryBaby'] {\n padding: 0 16px;\n .category-button {\n width: 100%;\n height: 48px;\n }\n }\n"]))),bt=T.div(At||(At=t(["\n display: flex;\n\n width: 100%;\n height: 100%;\n flex: 1;\n flex-direction: column;\n align-items: center;\n\n padding-top: 0px;\n //position: absolute;\n\n //top: 0px;\n\n //z-index: -1;\n\n background-color: ",";\n\n &[data-type='sub-level'] {\n padding: 4px 16px 16px;\n background-color: ",";\n }\n\n & > div:first-child {\n justify-self: flex-start;\n }\n\n &[data-with-search-input='false'] {\n //padding-top: 64px;\n }\n"],["\n display: flex;\n\n width: 100%;\n height: 100%;\n flex: 1;\n flex-direction: column;\n align-items: center;\n\n padding-top: 0px;\n //position: absolute;\n\n //top: 0px;\n\n //z-index: -1;\n\n background-color: ",";\n\n &[data-type='sub-level'] {\n padding: 4px 16px 16px;\n background-color: ",";\n }\n\n & > div:first-child {\n justify-self: flex-start;\n }\n\n &[data-with-search-input='false'] {\n //padding-top: 64px;\n }\n"])),(function(n){return n.theme.colors.white}),(function(n){return n.theme.colors.white})),Et=T.div(Nt||(Nt=t(["\n display: flex;\n\n &[data-card-array-no-margin-style='true'] {\n margin: 8px 0;\n\n & > div {\n width: 0;\n flex: 1;\n margin: 0 -1px;\n }\n }\n\n &[data-card-array-no-margin-style='false'] {\n margin: 8px -4px;\n\n & > div {\n flex: 1;\n margin: 0 4px;\n }\n }\n"],["\n display: flex;\n\n &[data-card-array-no-margin-style='true'] {\n margin: 8px 0;\n\n & > div {\n width: 0;\n flex: 1;\n margin: 0 -1px;\n }\n }\n\n &[data-card-array-no-margin-style='false'] {\n margin: 8px -4px;\n\n & > div {\n flex: 1;\n margin: 0 4px;\n }\n }\n"]))),wt=T.div(Mt||(Mt=t(["\n position: relative;\n\n display: flex;\n width: 100%;\n height: 100%;\n flex: 1;\n flex-direction: column;\n\n overflow-y: scroll;\n"],["\n position: relative;\n\n display: flex;\n width: 100%;\n height: 100%;\n flex: 1;\n flex-direction: column;\n\n overflow-y: scroll;\n"]))),kt=T.div(Ot||(Ot=t(["\n flex: 1;\n padding: 16px;\n background-color: ",";\n"],["\n flex: 1;\n padding: 16px;\n background-color: ",";\n"])),(function(n){return n.theme.colors.white}));T.div(Pt||(Pt=t(["\n margin-top: 64px;\n"],["\n margin-top: 64px;\n"])));var Ct=T.div(Rt||(Rt=t(["\n background-color: ",";\n\n &[data-is-sub-category-opened='true'] {\n display: none;\n }\n\n &[data-hide-on-search='true'] {\n display: none;\n }\n"],["\n background-color: ",";\n\n &[data-is-sub-category-opened='true'] {\n display: none;\n }\n\n &[data-hide-on-search='true'] {\n display: none;\n }\n"])),(function(n){return n.theme.colors.white}));T.div(Bt||(Bt=t(["\n padding: 24px 0;\n"],["\n padding: 24px 0;\n"])));var Tt=T.div(Dt||(Dt=t(["\n display: flex;\n width: 100%;\n align-items: center;\n justify-content: center;\n\n & > div:first-child {\n margin-right: 8px;\n }\n"],["\n display: flex;\n width: 100%;\n align-items: center;\n justify-content: center;\n\n & > div:first-child {\n margin-right: 8px;\n }\n"])));T.div(Ht||(Ht=t(["\n position: fixed;\n z-index: ",";\n top: 69px;\n left: 0;\n width: 100%;\n height: 100%;\n align-items: center;\n background-color: transparent;\n &[data-is-display='false'] {\n display: none;\n }\n"],["\n position: fixed;\n z-index: ",";\n top: 69px;\n left: 0;\n width: 100%;\n height: 100%;\n align-items: center;\n background-color: transparent;\n &[data-is-display='false'] {\n display: none;\n }\n"])),hn),T.div(zt||(zt=t(["\n z-index: ",";\n align-items: center;\n\n border: 1px solid ",";\n background-color: ",";\n box-shadow: 0px 24px 32px rgba(0, 0, 0, 0.04),\n 0px 16px 24px rgba(0, 0, 0, 0.04), 0px 4px 8px rgba(0, 0, 0, 0.04),\n 0px 0px 1px rgba(0, 0, 0, 0.04);\n"],["\n z-index: ",";\n align-items: center;\n\n border: 1px solid ",";\n background-color: ",";\n box-shadow: 0px 24px 32px rgba(0, 0, 0, 0.04),\n 0px 16px 24px rgba(0, 0, 0, 0.04), 0px 4px 8px rgba(0, 0, 0, 0.04),\n 0px 0px 1px rgba(0, 0, 0, 0.04);\n"])),gn,(function(n){return n.theme.colors.neutral50}),(function(n){return n.theme.colors.white})),T.div(Ut||(Ut=t(["\n position: relative;\n display: flex;\n flex-wrap: wrap;\n align-items: flex-start;\n justify-content: flex-start;\n padding: 48px 0;\n"],["\n position: relative;\n display: flex;\n flex-wrap: wrap;\n align-items: flex-start;\n justify-content: flex-start;\n padding: 48px 0;\n"]))),T.div(Ft||(Ft=t(["\n position: relative;\n display: flex;\n flex-wrap: wrap;\n align-items: flex-start;\n justify-content: flex-start;\n &[data-disabled-divider='false'] {\n border-right: 1px solid #e4e8ec;\n }\n"],["\n position: relative;\n display: flex;\n flex-wrap: wrap;\n align-items: flex-start;\n justify-content: flex-start;\n &[data-disabled-divider='false'] {\n border-right: 1px solid #e4e8ec;\n }\n"]))),T.div(jt||(jt=t(["\n width: 20%;\n padding-right: 16px;\n margin-bottom: 12px;\n\n & > a {\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 22px;\n }\n\n & > a:hover {\n color: ",";\n }\n\n .iconMenu {\n display: flex;\n align-items: center;\n\n > .imageContainer {\n display: flex;\n width: 32px;\n min-width: 32px;\n align-items: center;\n margin-right: 16px;\n }\n }\n"],["\n width: 20%;\n padding-right: 16px;\n margin-bottom: 12px;\n\n & > a {\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 22px;\n }\n\n & > a:hover {\n color: ",";\n }\n\n .iconMenu {\n display: flex;\n align-items: center;\n\n > .imageContainer {\n display: flex;\n width: 32px;\n min-width: 32px;\n align-items: center;\n margin-right: 16px;\n }\n }\n"])),(function(n){return n.theme.colors.gray800}),(function(n){return n.theme.sizes.fsParagraph4}),(function(n){return n.theme.sizes.fwRegular}),(function(n){return n.theme.colors.primaryBase})),T.div(Gt||(Gt=t(["\n display: none;\n"],["\n display: none;\n"]))),T.div(Yt||(Yt=t(["\n width: 33%;\n height: 48px;\n padding-right: 16px;\n margin-bottom: 12px;\n\n & > a {\n display: flex;\n align-items: center;\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 22px;\n\n & > :first-child {\n margin-right: 16px;\n }\n }\n\n & > a > p:hover {\n color: ",";\n }\n"],["\n width: 33%;\n height: 48px;\n padding-right: 16px;\n margin-bottom: 12px;\n\n & > a {\n display: flex;\n align-items: center;\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 22px;\n\n & > :first-child {\n margin-right: 16px;\n }\n }\n\n & > a > p:hover {\n color: ",";\n }\n"])),(function(n){return n.theme.colors.gray800}),(function(n){return n.theme.sizes.fsParagraph4}),(function(n){return n.theme.sizes.fwRegular}),(function(n){return n.theme.colors.primaryBase})),T.div(Vt||(Vt=t(["\n display: flex;\n align-items: center;\n\n padding-right: 16px;\n margin-bottom: 12px;\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 24px;\n\n &[data-theme='marryBaby'] {\n color: ",";\n }\n"],["\n display: flex;\n align-items: center;\n\n padding-right: 16px;\n margin-bottom: 12px;\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 24px;\n\n &[data-theme='marryBaby'] {\n color: ",";\n }\n"])),(function(n){return n.theme.colors.primaryBase}),(function(n){return n.theme.sizes.fsParagraph4}),(function(n){return n.theme.sizes.fwBold}),(function(n){return n.theme.mbColors.pink}));var _t=T.div(Wt||(Wt=t(["\n display: flex;\n align-items: center;\n\n margin-left: 10px;\n"],["\n display: flex;\n align-items: center;\n\n margin-left: 10px;\n"])));T.div(Zt||(Zt=t(["\n position: absolute;\n top: 16px;\n right: 0;\n display: flex;\n align-items: center;\n cursor: pointer;\n"],["\n position: absolute;\n top: 16px;\n right: 0;\n display: flex;\n align-items: center;\n cursor: pointer;\n"]))),T.div(Kt||(Kt=t(["\n display: block;\n"],["\n display: block;\n"]))),T.div(Xt||(Xt=t(["\n .amp-sidebar {\n width: 100vw;\n\n background-color: ",";\n }\n\n .categories__spotlight {\n display: grid;\n margin: 16px;\n margin-bottom: 32px;\n grid-gap: 8px;\n grid-template-columns: 1fr 1fr;\n\n a {\n text-decoration: none;\n }\n }\n\n .categoryCard {\n display: flex;\n width: 100%;\n flex-direction: column;\n align-items: center;\n padding: 16px;\n border-radius: 6px;\n color: ",";\n\n svg {\n margin-bottom: 4px;\n }\n\n &.active {\n background: ",";\n box-shadow: 0px 16px 24px rgba(0, 0, 0, 0.06),\n 0px 2px 8px rgba(0, 0, 0, 0.04), 0px 0px 1px rgba(0, 0, 0, 0.04);\n color: white;\n }\n\n &:not(.active) {\n box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.04),\n 0px 0px 2px rgba(0, 0, 0, 0.06), 0px 0px 1px rgba(0, 0, 0, 0.04);\n }\n }\n\n .amp__menu-header {\n display: grid;\n grid-template-columns: 1fr 1fr 1fr;\n\n svg {\n margin-left: 16px;\n }\n\n > div {\n align-self: center;\n\n &:nth-child(2) {\n justify-self: center;\n }\n }\n }\n\n .logo {\n margin: 22px 0;\n }\n\n .categories {\n margin: 0 16px;\n\n li {\n display: block;\n width: 100%;\n\n + li {\n border-top: 1px solid\n ",";\n }\n\n a {\n display: block;\n margin: 12px 0;\n color: ",";\n text-decoration: none;\n }\n }\n }\n"],["\n .amp-sidebar {\n width: 100vw;\n\n background-color: ",";\n }\n\n .categories__spotlight {\n display: grid;\n margin: 16px;\n margin-bottom: 32px;\n grid-gap: 8px;\n grid-template-columns: 1fr 1fr;\n\n a {\n text-decoration: none;\n }\n }\n\n .categoryCard {\n display: flex;\n width: 100%;\n flex-direction: column;\n align-items: center;\n padding: 16px;\n border-radius: 6px;\n color: ",";\n\n svg {\n margin-bottom: 4px;\n }\n\n &.active {\n background: ",";\n box-shadow: 0px 16px 24px rgba(0, 0, 0, 0.06),\n 0px 2px 8px rgba(0, 0, 0, 0.04), 0px 0px 1px rgba(0, 0, 0, 0.04);\n color: white;\n }\n\n &:not(.active) {\n box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.04),\n 0px 0px 2px rgba(0, 0, 0, 0.06), 0px 0px 1px rgba(0, 0, 0, 0.04);\n }\n }\n\n .amp__menu-header {\n display: grid;\n grid-template-columns: 1fr 1fr 1fr;\n\n svg {\n margin-left: 16px;\n }\n\n > div {\n align-self: center;\n\n &:nth-child(2) {\n justify-self: center;\n }\n }\n }\n\n .logo {\n margin: 22px 0;\n }\n\n .categories {\n margin: 0 16px;\n\n li {\n display: block;\n width: 100%;\n\n + li {\n border-top: 1px solid\n ",";\n }\n\n a {\n display: block;\n margin: 12px 0;\n color: ",";\n text-decoration: none;\n }\n }\n }\n"])),(function(n){return n.theme.colors.neutral50}),(function(n){return n.theme.colors.primaryBase}),(function(n){return n.theme.colors.primaryBase}),(function(n){return n.theme.colors.neutral100}),(function(n){return n.theme.colors.gray800}));var Lt,St,It,At,Nt,Mt,Ot,Pt,Rt,Bt,Dt,Ht,zt,Ut,Ft,jt,Gt,Yt,Vt,Wt,Zt,Kt,Xt,Qt,qt,Jt,$t,ni,ei,ti=T.div(Qt||(Qt=t(["\n width: 20%;\n height: 2px;\n\n background-color: ",";\n border-radius: 2px;\n"],["\n width: 20%;\n height: 2px;\n\n background-color: ",";\n border-radius: 2px;\n"])),(function(n){return n.theme.mbColors.pink})),ii=T.div(qt||(qt=t(["\n .fake-search-input {\n margin-bottom: 24px;\n pointer-events: none;\n }\n"],["\n .fake-search-input {\n margin-bottom: 24px;\n pointer-events: none;\n }\n"]))),oi=function(){return l.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.97183 10.8732C3.97183 7.0617 7.0617 3.97183 10.8732 3.97183C14.6848 3.97183 17.7746 7.0617 17.7746 10.8732C17.7746 14.6848 14.6848 17.7746 10.8732 17.7746C7.0617 17.7746 3.97183 14.6848 3.97183 10.8732ZM10.8732 2C5.97268 2 2 5.97268 2 10.8732C2 15.7738 5.97268 19.7465 10.8732 19.7465C12.9683 19.7465 14.8938 19.0204 16.4118 17.8061L20.3169 21.7112C20.702 22.0963 21.3262 22.0963 21.7112 21.7112C22.0963 21.3262 22.0963 20.702 21.7112 20.3169L17.8061 16.4118C19.0204 14.8938 19.7465 12.9683 19.7465 10.8732C19.7465 5.97268 15.7738 2 10.8732 2Z",fill:"#8C8C8C"}))},ai=T.div(Jt||(Jt=t(["\n amp-sidebar {\n width: 100vw;\n max-width: 100vw;\n background-color: ",";\n }\n\n .nav-card {\n display: flex;\n width: 100%;\n flex-direction: column;\n align-items: center;\n padding: 16px;\n border-radius: 6px;\n color: ",";\n\n span {\n margin-top: 4px;\n font-size: 13px;\n font-weight: ",";\n }\n\n svg {\n margin-bottom: 4px;\n }\n\n &.active {\n background: ",";\n box-shadow: 0px 16px 24px rgba(0, 0, 0, 0.06),\n 0px 2px 8px rgba(0, 0, 0, 0.04), 0px 0px 1px rgba(0, 0, 0, 0.04);\n color: white;\n }\n\n &:not(.active) {\n box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.04),\n 0px 0px 2px rgba(0, 0, 0, 0.06), 0px 0px 1px rgba(0, 0, 0, 0.04);\n color: ",";\n }\n }\n\n .categories__spotlight {\n display: grid;\n margin: 16px;\n margin-bottom: 32px;\n grid-gap: 8px;\n grid-template-columns: 1fr 1fr;\n\n a {\n text-decoration: none;\n }\n }\n\n .amp__menu-header {\n display: grid;\n grid-template-columns: 1fr 1fr 1fr;\n\n > div:first-child > amp-img {\n margin-left: 1rem;\n }\n\n svg {\n margin-left: 16px;\n }\n\n > div {\n align-self: center;\n\n &:nth-child(2) {\n justify-self: center;\n }\n }\n }\n\n .logo {\n margin: 22px 0;\n\n img {\n object-fit: contain;\n }\n }\n\n .categories {\n margin: 0 16px;\n\n li {\n position: relative;\n display: block;\n width: 100%;\n\n + li {\n border-top: 1px solid\n ",";\n }\n\n &.health-tool {\n display: flex;\n align-items: center;\n\n amp-img {\n margin-right: 1rem;\n }\n + li {\n border-top: none;\n }\n\n a {\n display: flex;\n align-items: center;\n }\n }\n\n a {\n display: block;\n margin: 16px 0;\n color: ",";\n text-decoration: none;\n }\n\n &:not(.spotlight-li)::after {\n position: absolute;\n top: 50%;\n right: 0;\n content: url(\"data:image/svg+xml,%3Csvg width='6' height='10' viewBox='0 0 6 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 9L5 5L1 1' stroke='%23595959' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A\");\n }\n }\n }\n"],["\n amp-sidebar {\n width: 100vw;\n max-width: 100vw;\n background-color: ",";\n }\n\n .nav-card {\n display: flex;\n width: 100%;\n flex-direction: column;\n align-items: center;\n padding: 16px;\n border-radius: 6px;\n color: ",";\n\n span {\n margin-top: 4px;\n font-size: 13px;\n font-weight: ",";\n }\n\n svg {\n margin-bottom: 4px;\n }\n\n &.active {\n background: ",";\n box-shadow: 0px 16px 24px rgba(0, 0, 0, 0.06),\n 0px 2px 8px rgba(0, 0, 0, 0.04), 0px 0px 1px rgba(0, 0, 0, 0.04);\n color: white;\n }\n\n &:not(.active) {\n box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.04),\n 0px 0px 2px rgba(0, 0, 0, 0.06), 0px 0px 1px rgba(0, 0, 0, 0.04);\n color: ",";\n }\n }\n\n .categories__spotlight {\n display: grid;\n margin: 16px;\n margin-bottom: 32px;\n grid-gap: 8px;\n grid-template-columns: 1fr 1fr;\n\n a {\n text-decoration: none;\n }\n }\n\n .amp__menu-header {\n display: grid;\n grid-template-columns: 1fr 1fr 1fr;\n\n > div:first-child > amp-img {\n margin-left: 1rem;\n }\n\n svg {\n margin-left: 16px;\n }\n\n > div {\n align-self: center;\n\n &:nth-child(2) {\n justify-self: center;\n }\n }\n }\n\n .logo {\n margin: 22px 0;\n\n img {\n object-fit: contain;\n }\n }\n\n .categories {\n margin: 0 16px;\n\n li {\n position: relative;\n display: block;\n width: 100%;\n\n + li {\n border-top: 1px solid\n ",";\n }\n\n &.health-tool {\n display: flex;\n align-items: center;\n\n amp-img {\n margin-right: 1rem;\n }\n + li {\n border-top: none;\n }\n\n a {\n display: flex;\n align-items: center;\n }\n }\n\n a {\n display: block;\n margin: 16px 0;\n color: ",";\n text-decoration: none;\n }\n\n &:not(.spotlight-li)::after {\n position: absolute;\n top: 50%;\n right: 0;\n content: url(\"data:image/svg+xml,%3Csvg width='6' height='10' viewBox='0 0 6 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 9L5 5L1 1' stroke='%23595959' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A\");\n }\n }\n }\n"])),(function(n){return n.theme.colors.neutral50}),(function(n){return n.theme.colors.primaryBase}),(function(n){return n.theme.sizes.fwBold}),(function(n){return n.theme.colors.primaryBase}),(function(n){return n.theme.colors.gray800}),(function(n){return n.theme.colors.neutral100}),(function(n){return n.theme.colors.gray800})),li=T.a($t||($t=t(["\n position: relative;\n margin: 0 16px 24px;\n display: block;\n text-decoration: none;\n\n svg {\n position: absolute;\n left: 12px;\n top: 12px;\n }\n\n .amp-search-input {\n border: 1px solid ",";\n height: 48px;\n border-radius: 6px;\n background-color: ",";\n padding-left: 48px;\n }\n"],["\n position: relative;\n margin: 0 16px 24px;\n display: block;\n text-decoration: none;\n\n svg {\n position: absolute;\n left: 12px;\n top: 12px;\n }\n\n .amp-search-input {\n border: 1px solid ",";\n height: 48px;\n border-radius: 6px;\n background-color: ",";\n padding-left: 48px;\n }\n"])),(function(n){return n.theme.colors.gray200}),(function(n){return n.theme.colors.white})),ri=function(n){var e=n.locale,t=n.categoriesSSR,i=n.healthToolsSSR,o=n.spotlightsSSR,a=n.serviceUrls,r=n.together,s=n.care,c=n.basePath,p=n.searchPlaceholder,d=In();return l.createElement(ai,null,l.createElement("amp-sidebar",{id:"discover-amp-sidebar",layout:"nodisplay",style:{width:"100vw",maxWidth:"100vw"}},l.createElement("amp-nested-menu",{layout:"fill"},l.createElement("ul",{style:{paddingBottom:24}},l.createElement("div",{className:"amp__menu-header"},l.createElement(ae,{on:"tap:discover-amp-sidebar.close",role:"button",tabIndex:1},l.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"}))),l.createElement("div",{className:"logo"},l.createElement(M,{height:"32px",width:"121px",type:Q.LOGO_TYPE,isAmp:!0,badge:"id-ID"===e?l.createElement("amp-img",{src:x,width:"56",height:"23"}):void 0})),l.createElement("div",null)),l.createElement(li,{href:"/search"},l.createElement(oi,null),l.createElement("input",{className:"amp-search-input",type:"text",placeholder:p,readOnly:!0})),l.createElement("div",{className:"categories__spotlight"},l.createElement(le,{on:"tap:AMP.setState({healthToolsActive: true})",className:"nav-card active","data-amp-bind-class":"healthToolsActive ? 'nav-card active' : 'nav-card not-active'",role:"button",tabIndex:1},l.createElement("amp-img",{src:f,width:"48",height:"48"}),l.createElement("span",null,d("home.navigator.menuItem.discover"))),l.createElement(le,{role:"button",tabIndex:1,className:"nav-card",on:"tap:AMP.setState({healthToolsActive: false})","data-amp-bind-class":"healthToolsActive ? 'nav-card not-active' : 'nav-card active'"},l.createElement("amp-img",{src:y,width:"48",height:"48"}),l.createElement("span",null,d("home.navigator.menuItem.healthTools"))),r.TOGETHER_MENU_COUNTRIES_ENABLED.includes(e)&&l.createElement("a",{href:a.TOGETHER_URL_FE},l.createElement(le,{role:"button",tabIndex:1,className:"nav-card",on:"tap:AMP.setState({healthToolsActive: false})"},l.createElement("amp-img",{src:v,width:"48",height:"48"}),l.createElement("span",null,d("home.navigator.menuItem.together")))),s.CARE_MENU_COUNTRIES_ENABLED.includes(e)&&l.createElement("a",{href:a.CARE_URL_FE},l.createElement(le,{role:"button",tabIndex:1,className:"nav-card"},l.createElement("amp-img",{src:b,width:"48",height:"48"}),l.createElement("span",null,d("home.navigator.menuItem.helloCare"))))),l.createElement("ul",{className:"categories","data-amp-bind-hidden":"!healthToolsActive",style:{marginBottom:24}},l.createElement(A,{tag:"h3",fontWeight:"bold",style:{marginBottom:24}},d("home.navigator.menuItem.discover")),t&&t.length>1&&t.map((function(n){return l.createElement("li",{key:n.name},l.createElement("a",{href:n.permalink},n.displayName))})),l.createElement("a",{style:{textDecoration:"none"},href:"".concat(a.DISCOVER_URL_FE,"/categories/")},l.createElement(rt,{key:"all-categories"},d("home.navigator.menuItem.allCategories"),l.createElement(_t,null,l.createElement("amp-img",{src:"".concat(c,"/svg/chevronRightActive.svg"),style:{width:"16px",height:"16px"},height:"16",width:"16",alt:d("home.navigator.menuItem.allCategories")}))))),l.createElement("ul",{className:"categories","data-amp-bind-hidden":"!healthToolsActive"},l.createElement(A,{tag:"h3",fontWeight:"bold",style:{marginBottom:24}},d("home.navigator.menuItem.spotlights")),o&&o.length>0&&o.map((function(n){return l.createElement("li",{key:n.id,className:"spotlight-li"},l.createElement("a",{href:n.permalink},n.name))})),l.createElement("a",{style:{textDecoration:"none"},href:"".concat(a.DISCOVER_URL_FE,"/spotlight/")},l.createElement(rt,{key:"all-spotlight"},d("home.navigator.menuItem.allSpotlight"),l.createElement(_t,null,l.createElement("amp-img",{src:"".concat(c,"/svg/chevronRightActive.svg"),style:{width:"16px",height:"16px"},height:"16",width:"16",alt:d("home.navigator.menuItem.allSpotlight")}))))),l.createElement("ul",{className:"categories","data-amp-bind-hidden":"healthToolsActive",hidden:!0},i&&i.length>1&&i.map((function(n,e){return n.healthTools&&n.healthTools.length>0&&l.createElement(l.Fragment,{key:e},l.createElement(A,{tag:"h4",fontWeight:"bold"},n.name),n.healthTools.map((function(n){return l.createElement("li",{key:n.title,className:"health-tool"},l.createElement("a",{href:n.link},l.createElement("amp-img",{width:"32",height:"32",src:n.icon}),l.createElement("span",null,n.title)))})))})))))))},si=T.footer(ni||(ni=t(["\n background-color: #1b3250;\n\n .inner {\n padding: 64px 24px 98px 24px;\n "," {\n padding: 64px 0;\n }\n margin: 0 auto;\n //max-width: 1168px;\n\n &[data-type='mini'] {\n padding: 24px 0;\n }\n }\n\n .footer-logo {\n max-width: 132px;\n max-height: 32px;\n margin-bottom: 24px;\n &[data-is-sehat='true'] {\n max-width: 250px;\n }\n\n img {\n object-fit: contain;\n }\n }\n\n .social {\n margin-top: 24px;\n\n "," {\n margin-top: 32px;\n p {\n font-size: 13px;\n }\n }\n\n "," {\n p {\n font-size: 12px;\n }\n }\n\n p {\n color: ",";\n }\n }\n\n .icons {\n margin-top: 12px;\n margin-bottom: 20px;\n > a:not(:last-child) {\n margin-right: 16px;\n }\n\n .social-icon {\n width: 32px;\n height: 32px;\n }\n }\n\n .newsletter {\n > p {\n color: ",";\n\n font-size: 14px;\n line-height: 22px;\n\n "," {\n max-width: 380px;\n line-height: 28.5px;\n }\n }\n }\n\n hr {\n height: 1px;\n border: none;\n margin: 16px 0 16px 0;\n "," {\n margin-top: 0px;\n }\n background: ",";\n opacity: 0.1;\n outline: none;\n }\n\n .hrMobile {\n "," {\n display: none;\n }\n }\n\n .copyright {\n padding-top: 8px;\n\n "," {\n display: flex;\n flex-direction: row-reverse;\n align-items: center;\n justify-content: space-between;\n }\n\n .copyright-content {\n width: 90%;\n color: ",";\n font-size: 12px;\n }\n\n .copyright-image {\n width: 10%;\n align-self: flex-start;\n\n img {\n max-width: 100px;\n margin-bottom: 16px;\n\n "," {\n margin-bottom: 0px;\n }\n }\n }\n\n &[data-is-amp='true'] {\n img {\n margin-bottom: 0;\n }\n }\n }\n\n .copyright-certificate {\n color: ",";\n "," {\n font-size: 11px;\n }\n "," {\n font-size: 12px;\n }\n }\n\n .biglinks {\n margin-bottom: 12px;\n }\n\n .bigLink {\n display: block;\n color: ",";\n font-size: 14px;\n font-weight: ",";\n text-decoration: none;\n word-break: break-word;\n\n &:not(:last-child) {\n margin-bottom: 12px;\n }\n\n "," {\n display: inline-block;\n width: 50%;\n font-size: 16px;\n }\n }\n\n .mHalf {\n display: inline-block;\n width: 50%;\n padding-right: 24px;\n margin-bottom: 24px;\n vertical-align: top;\n\n p {\n color: ",";\n\n "," {\n margin-bottom: 8px;\n font-size: 13px;\n line-height: 20px;\n }\n "," {\n margin-bottom: 12px;\n font-size: 14px;\n }\n }\n }\n\n .otherSites {\n p {\n margin-bottom: 12px;\n color: ",";\n font-size: 12px;\n "," {\n font-size: 13px;\n }\n "," {\n font-size: 13px;\n }\n }\n\n .flags {\n display: flex;\n margin-bottom: 8px;\n\n div {\n margin-right: 10px;\n }\n }\n }\n\n .link {\n display: block;\n text-decoration: none;\n\n p {\n color: ",";\n font-weight: ",";\n word-break: break-word;\n }\n\n &:not(:last-child) {\n margin-bottom: 12px;\n }\n }\n\n .columns {\n "," {\n display: flex;\n flex-direction: row;\n width: 100%;\n\n > div:nth-child(1) {\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n flex-basis: 40%;\n }\n\n > div:nth-child(2) {\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n flex-basis: 60%;\n\n > div:nth-child(1) {\n flex-basis: 45%;\n }\n\n > div:not(:last-child) {\n flex-basis: 27.5%;\n }\n\n > div:last-child() {\n flex-basis: 0;\n }\n }\n }\n }\n\n .signupButton {\n display: none;\n border: none;\n margin-top: 16px;\n outline: none;\n text-transform: uppercase;\n }\n"],["\n background-color: #1b3250;\n\n .inner {\n padding: 64px 24px 98px 24px;\n "," {\n padding: 64px 0;\n }\n margin: 0 auto;\n //max-width: 1168px;\n\n &[data-type='mini'] {\n padding: 24px 0;\n }\n }\n\n .footer-logo {\n max-width: 132px;\n max-height: 32px;\n margin-bottom: 24px;\n &[data-is-sehat='true'] {\n max-width: 250px;\n }\n\n img {\n object-fit: contain;\n }\n }\n\n .social {\n margin-top: 24px;\n\n "," {\n margin-top: 32px;\n p {\n font-size: 13px;\n }\n }\n\n "," {\n p {\n font-size: 12px;\n }\n }\n\n p {\n color: ",";\n }\n }\n\n .icons {\n margin-top: 12px;\n margin-bottom: 20px;\n > a:not(:last-child) {\n margin-right: 16px;\n }\n\n .social-icon {\n width: 32px;\n height: 32px;\n }\n }\n\n .newsletter {\n > p {\n color: ",";\n\n font-size: 14px;\n line-height: 22px;\n\n "," {\n max-width: 380px;\n line-height: 28.5px;\n }\n }\n }\n\n hr {\n height: 1px;\n border: none;\n margin: 16px 0 16px 0;\n "," {\n margin-top: 0px;\n }\n background: ",";\n opacity: 0.1;\n outline: none;\n }\n\n .hrMobile {\n "," {\n display: none;\n }\n }\n\n .copyright {\n padding-top: 8px;\n\n "," {\n display: flex;\n flex-direction: row-reverse;\n align-items: center;\n justify-content: space-between;\n }\n\n .copyright-content {\n width: 90%;\n color: ",";\n font-size: 12px;\n }\n\n .copyright-image {\n width: 10%;\n align-self: flex-start;\n\n img {\n max-width: 100px;\n margin-bottom: 16px;\n\n "," {\n margin-bottom: 0px;\n }\n }\n }\n\n &[data-is-amp='true'] {\n img {\n margin-bottom: 0;\n }\n }\n }\n\n .copyright-certificate {\n color: ",";\n "," {\n font-size: 11px;\n }\n "," {\n font-size: 12px;\n }\n }\n\n .biglinks {\n margin-bottom: 12px;\n }\n\n .bigLink {\n display: block;\n color: ",";\n font-size: 14px;\n font-weight: ",";\n text-decoration: none;\n word-break: break-word;\n\n &:not(:last-child) {\n margin-bottom: 12px;\n }\n\n "," {\n display: inline-block;\n width: 50%;\n font-size: 16px;\n }\n }\n\n .mHalf {\n display: inline-block;\n width: 50%;\n padding-right: 24px;\n margin-bottom: 24px;\n vertical-align: top;\n\n p {\n color: ",";\n\n "," {\n margin-bottom: 8px;\n font-size: 13px;\n line-height: 20px;\n }\n "," {\n margin-bottom: 12px;\n font-size: 14px;\n }\n }\n }\n\n .otherSites {\n p {\n margin-bottom: 12px;\n color: ",";\n font-size: 12px;\n "," {\n font-size: 13px;\n }\n "," {\n font-size: 13px;\n }\n }\n\n .flags {\n display: flex;\n margin-bottom: 8px;\n\n div {\n margin-right: 10px;\n }\n }\n }\n\n .link {\n display: block;\n text-decoration: none;\n\n p {\n color: ",";\n font-weight: ",";\n word-break: break-word;\n }\n\n &:not(:last-child) {\n margin-bottom: 12px;\n }\n }\n\n .columns {\n "," {\n display: flex;\n flex-direction: row;\n width: 100%;\n\n > div:nth-child(1) {\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n flex-basis: 40%;\n }\n\n > div:nth-child(2) {\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n flex-basis: 60%;\n\n > div:nth-child(1) {\n flex-basis: 45%;\n }\n\n > div:not(:last-child) {\n flex-basis: 27.5%;\n }\n\n > div:last-child() {\n flex-basis: 0;\n }\n }\n }\n }\n\n .signupButton {\n display: none;\n border: none;\n margin-top: 16px;\n outline: none;\n text-transform: uppercase;\n }\n"])),R.mbDown,R.mbDown,R.mbUp,(function(n){return n.theme.colors.neutral500}),(function(n){return n.theme.colors.neutral500}),R.mbUp,R.mbDown,(function(n){return n.theme.colors.neutral500}),R.mbUp,R.mbUp,(function(n){return n.theme.colors.neutral500}),R.mbUp,(function(n){return n.theme.colors.neutral500}),R.mbDown,R.mbUp,(function(n){return n.theme.colors.white}),(function(n){return n.theme.sizes.fwBold}),R.mbDown,(function(n){return n.theme.colors.neutral500}),R.mbDown,R.mbUp,(function(n){return n.theme.colors.neutral500}),R.mbDown,R.mbUp,(function(n){return n.theme.colors.white}),(function(n){return n.theme.sizes.fwBold}),R.mbUp),ci=T.div(ei||(ei=t(["\n width: 32px;\n height: 32px;\n margin-right: 10px;\n\n &[data-is-mobile='true'] {\n width: 24px;\n height: 24px;\n }\n\n .country-flag {\n width: 100%;\n height: 100%;\n }\n"],["\n width: 32px;\n height: 32px;\n margin-right: 10px;\n\n &[data-is-mobile='true'] {\n width: 24px;\n height: 24px;\n }\n\n .country-flag {\n width: 100%;\n height: 100%;\n }\n"]))),pi=function(n){var e=n.url,t=n.isMobile,i=n.dataEventCategory,o=n.dataEventAction,a=n.dataEventLabel;return l.createElement(ci,{"data-is-mobile":t},l.createElement("img",{className:"country-flag",src:e,alt:"Country Flag","data-event-category":i,"data-event-action":o,"data-content-label":a}))},di=function(n){var e,t,i,o,a,r,s,c,p,d,m,h,g,u,x,f,y,v,b,E,w,k,C,T,_,L,S,A,M,O,R,D,H,z,U,F=n.className,j=n.type,G=void 0===j?"main":j,Y=n.footerInfo,V=n.isMobile,W=n.locale,Z=n.isAmp,K=In(),Q=null==Y?void 0:Y.menu;return l.createElement(si,{as:Z&&"mini"===G?"div":"footer",className:F,style:"mini"===G?{backgroundColor:B.colors.neutral50}:{},"next-page-hide":!0},l.createElement(P,null,l.createElement("div",{className:"inner","data-type":G,"next-page-hide":""},"main"===G?l.createElement(l.Fragment,null,l.createElement("a",{href:"/"},Z?(null===(t=null==Y?void 0:Y.general)||void 0===t?void 0:t.logo)?l.createElement("amp-img",{src:null===(i=null==Y?void 0:Y.general)||void 0===i?void 0:i.logo,alt:"Site logo",width:"132",height:"32",style:{marginBottom:24}}):null:l.createElement("img",{className:"footer-logo",src:null===(e=null==Y?void 0:Y.general)||void 0===e?void 0:e.logo,alt:"Logo","data-is-sehat":"id-ID"===W})),l.createElement("div",{className:"columns"},l.createElement("div",{className:"newsletter"},l.createElement(N,{size:"p1",type:"bold"},null===(o=null==Y?void 0:Y.general)||void 0===o?void 0:o.content),l.createElement(I,{className:"signupButton",color:"primary",size:"lg"},K("footer.signUp")),l.createElement("div",{className:"social"},l.createElement(N,{size:"sm",type:"regular"},null===(a=null==Y?void 0:Y.social)||void 0===a?void 0:a.title),l.createElement("div",{className:"icons"},null===(s=null===(r=null==Y?void 0:Y.social)||void 0===r?void 0:r.socials)||void 0===s?void 0:s.map((function(n,e){return l.createElement("a",{key:e,"data-event-category":"Footer","data-event-action":"Follow us - ".concat(n.name),"data-content-label":n.url,href:n.url},Z?l.createElement("amp-img",{"data-event-category":"Footer","data-event-action":"Follow us - ".concat(n.name),"data-content-label":n.url,src:n.icon,alt:"Logo Social",width:"32",height:"32"}):l.createElement("img",{"data-event-category":"Footer","data-event-action":"Follow us - ".concat(n.name),"data-content-label":n.url,src:n.icon,alt:"Logo Social",className:"social-icon"}))}))),l.createElement("hr",{className:"hrMobile"}))),l.createElement("div",null,Q&&l.createElement(l.Fragment,null,l.createElement("div",{className:"biglinks"},null===(p=null===(c=Q[0])||void 0===c?void 0:c.items)||void 0===p?void 0:p.map((function(n,e){return l.createElement("a",{"data-event-category":"Footer","data-event-action":n.title,"data-event-label":"https://".concat(X[W]).concat(n.url),className:"bigLink",key:e,href:n.url},n.title)}))),l.createElement("hr",{className:"hrMobile"}),l.createElement("div",{className:"mHalf"},l.createElement(N,{type:"regular",size:"sm",className:"linkTitle"},null===(d=Q[1])||void 0===d?void 0:d.menu_title),null===(h=null===(m=Q[1])||void 0===m?void 0:m.items)||void 0===h?void 0:h.map((function(n,e){return l.createElement("a",{"data-event-category":"Footer","data-event-action":n.title,"data-event-label":"https://".concat(X[W]).concat(n.url),className:"link",href:n.url,key:e},l.createElement(N,{size:"sm",type:"regular",dataEventCategory:"Footer",dataEventAction:n.title,dataEventLabel:"https://".concat(X[W]).concat(n.url)},n.title))}))),l.createElement("div",{className:"mHalf"},l.createElement(N,{type:"regular",size:"sm",className:"linkTitle"},null===(g=Q[2])||void 0===g?void 0:g.menu_title),null===(x=null===(u=Q[2])||void 0===u?void 0:u.items)||void 0===x?void 0:x.map((function(n,e){return n.url&&l.createElement("a",{"data-event-category":"Footer","data-event-action":n.title,"data-event-label":n.url,className:"link",href:n.url,key:e},l.createElement(N,{size:"sm",type:"regular",dataEventCategory:"Footer",dataEventAction:n.title,dataEventLabel:n.url},n.title))})))),!Z&&l.createElement(l.Fragment,null,l.createElement("hr",{className:"hrMobile"}),l.createElement("div",{className:"otherSites"},l.createElement(N,{type:"regular",size:"sm",className:"linkTitle"},null===(f=null==Y?void 0:Y.branch)||void 0===f?void 0:f.title),l.createElement("div",{className:"flags"},null===(v=null===(y=null==Y?void 0:Y.branch)||void 0===y?void 0:y.branch)||void 0===v?void 0:v.map((function(n,e){return l.createElement("a",{className:"link",href:n.url,key:e,"data-event-category":"Footer","data-event-action":n.name,"data-event-label":n.url},l.createElement(pi,{url:n.flag,isMobile:V,dataEventCategory:"Footer",dataEventAction:n.name,dataEventLabel:n.url}))}))))))),l.createElement("hr",null),l.createElement("div",{className:"copyright","data-is-amp":Z||void 0},(null===(b=null==Y?void 0:Y.general)||void 0===b?void 0:b.verified)&&l.createElement("a",{href:null===(w=null===(E=null==Y?void 0:Y.general)||void 0===E?void 0:E.verified[0])||void 0===w?void 0:w.url,className:"copyright-image"},Z?l.createElement("amp-img",{src:null===(C=null===(k=null==Y?void 0:Y.general)||void 0===k?void 0:k.verified[0])||void 0===C?void 0:C.image,alt:"DMCA Icon",width:"100",height:"36"}):l.createElement("img",{src:null===(_=null===(T=null==Y?void 0:Y.general)||void 0===T?void 0:T.verified[0])||void 0===_?void 0:_.image,alt:"DMCA Icon"})),l.createElement(N,{size:"xs",type:"regular",className:"copyright-content"},null===(L=null==Y?void 0:Y.general)||void 0===L?void 0:L.copyright)),"vi-VN"===W&&l.createElement(N,{className:"copyright-certificate",size:"xs",type:"regular",color:"white"},"Giấy xác nhận cung cấp dịch vụ mạng xã hội trực tuyến số 529/GP-BTTTT, HN ngày 03/12/2019")):l.createElement(l.Fragment,null,(null==Y?void 0:Y.menu)&&l.createElement("div",{className:"columns"},l.createElement("div",{className:"mHalf"},l.createElement(N,{type:"regular",size:"sm",className:"linkTitle"},null===(S=null==Y?void 0:Y.menu[1])||void 0===S?void 0:S.menu_title),null===(M=null===(A=null==Y?void 0:Y.menu[1])||void 0===A?void 0:A.items)||void 0===M?void 0:M.map((function(n){return l.createElement("a",{className:"link",href:n.url,key:n.title,"data-list-type":"Footer","data-content-type":"Navigate","data-content-topic":"Information","data-content-title":n.title,"data-content-id":"https://".concat(X[W]).concat(n.url),"data-event-category":"Footer","data-event-action":n.title,"data-event-label":"https://".concat(X[W]).concat(n.url)},l.createElement(N,{dataEventCategory:"Footer",dataEventAction:n.title,dataEventLabel:"https://".concat(X[W]).concat(n.url),size:"sm",type:"regular",style:{color:B.colors.gray800}},n.title))}))),l.createElement("div",{className:"mHalf"},l.createElement(N,{type:"regular",size:"sm",className:"linkTitle"},null===(O=null==Y?void 0:Y.menu[2])||void 0===O?void 0:O.menu_title),null===(D=null===(R=null==Y?void 0:Y.menu[2])||void 0===R?void 0:R.items)||void 0===D?void 0:D.map((function(n,e){return l.createElement("a",{className:"link",href:n.url,key:e,"data-list-type":"Footer","data-content-type":"Navigate","data-content-topic":"Hello Health","data-content-title":n.title,"data-content-id":n.url,"data-event-category":"Footer","data-event-action":n.title,"data-event-label":n.url},l.createElement(N,{size:"sm",type:"regular",style:{color:B.colors.gray800},dataEventCategory:"Footer",dataEventAction:n.title,dataEventLabel:n.url},n.title))}))),!Z&&"mini"!==G&&l.createElement("hr",{className:"hrMobile"}),l.createElement("div",{className:"newsletter"},l.createElement("div",{className:"social"},l.createElement(N,{size:"sm",type:"regular"},null===(H=null==Y?void 0:Y.social)||void 0===H?void 0:H.title),l.createElement("div",{className:"icons"},null===(U=null===(z=null==Y?void 0:Y.social)||void 0===z?void 0:z.socials)||void 0===U?void 0:U.map((function(n,e){return l.createElement("a",{key:e,"data-event-category":"Footer","data-event-action":"Follow us - ".concat(n.name),"data-content-label":n.url,href:n.url},Z?l.createElement("amp-img",{"data-event-category":"Footer","data-event-action":"Follow us - ".concat(n.name),"data-content-label":n.url,src:n.icon,alt:"Logo Social",width:"32",height:"32"}):l.createElement("img",{"data-event-category":"Footer","data-event-action":"Follow us - ".concat(n.name),"data-content-label":n.url,src:n.icon,alt:"Logo Social",className:"social-icon"}))}))))))))))};T((function(n){var e=n.type,t=i(n,["type"]);return l.createElement(e,t)}))(mi||(mi=t(["\n color: var(--text-color, ",");\n font-family: Krub;\n font-weight: 600;\n letter-spacing: -0.2px;\n\n &[data-type='headline-1'] {\n font-size: 40px;\n line-height: 60px;\n }\n &[data-type='headline-2'] {\n font-size: 32px;\n line-height: 48px;\n }\n &[data-type='headline-3'] {\n font-size: 24px;\n line-height: 40px;\n }\n &[data-type='headline-4'] {\n font-size: 18px;\n line-height: 32px;\n }\n"],["\n color: var(--text-color, ",");\n font-family: Krub;\n font-weight: 600;\n letter-spacing: -0.2px;\n\n &[data-type='headline-1'] {\n font-size: 40px;\n line-height: 60px;\n }\n &[data-type='headline-2'] {\n font-size: 32px;\n line-height: 48px;\n }\n &[data-type='headline-3'] {\n font-size: 24px;\n line-height: 40px;\n }\n &[data-type='headline-4'] {\n font-size: 18px;\n line-height: 32px;\n }\n"])),(function(n){return n.theme.mbColors.dark}));var mi,hi,gi=T.p(hi||(hi=t(["\n color: var(--text-color, ",");\n letter-spacing: -0.2px;\n\n &[data-type='subtitle-1'] {\n font-size: 16px;\n font-weight: 600;\n line-height: 26px;\n }\n &[data-type='subtitle-2'] {\n font-size: 14px;\n font-weight: 500;\n line-height: 24px;\n }\n &[data-type='subtitle-3'] {\n font-size: 12px;\n font-weight: 500;\n line-height: 20px;\n }\n &[data-type='bodytext-1'] {\n font-size: 16px;\n font-weight: 400;\n line-height: 28px;\n }\n &[data-type='bodytext-2'] {\n font-size: 14px;\n font-weight: 400;\n line-height: 24px;\n }\n &[data-type='bodytext-3'] {\n font-size: 12px;\n font-weight: 400;\n line-height: 20px;\n }\n &[data-type='caption-1'] {\n font-size: 10px;\n font-weight: 500;\n letter-spacing: -0.1px;\n line-height: 14px;\n }\n &[data-type='caption-2'] {\n font-size: 10px;\n font-weight: 400;\n letter-spacing: -0.1px;\n line-height: 14px;\n }\n"],["\n color: var(--text-color, ",");\n letter-spacing: -0.2px;\n\n &[data-type='subtitle-1'] {\n font-size: 16px;\n font-weight: 600;\n line-height: 26px;\n }\n &[data-type='subtitle-2'] {\n font-size: 14px;\n font-weight: 500;\n line-height: 24px;\n }\n &[data-type='subtitle-3'] {\n font-size: 12px;\n font-weight: 500;\n line-height: 20px;\n }\n &[data-type='bodytext-1'] {\n font-size: 16px;\n font-weight: 400;\n line-height: 28px;\n }\n &[data-type='bodytext-2'] {\n font-size: 14px;\n font-weight: 400;\n line-height: 24px;\n }\n &[data-type='bodytext-3'] {\n font-size: 12px;\n font-weight: 400;\n line-height: 20px;\n }\n &[data-type='caption-1'] {\n font-size: 10px;\n font-weight: 500;\n letter-spacing: -0.1px;\n line-height: 14px;\n }\n &[data-type='caption-2'] {\n font-size: 10px;\n font-weight: 400;\n letter-spacing: -0.1px;\n line-height: 14px;\n }\n"])),(function(n){return n.theme.mbColors.dark})),ui=function(n){var t=n.type,o=n.color,a=n.style,r=i(n,["type","color","style"]);return l.createElement(gi,e({"data-type":t,style:e(e({},a),o&&{"--text-color":o})},r))};T.footer(xi||(xi=t(["\n position: relative;\n background: ",";\n\n .inner {\n padding: 64px 24px 98px 24px;\n "," {\n padding: 64px 0;\n }\n margin: 0 auto;\n //max-width: 1168px;\n\n &[data-type='mini'] {\n padding: 0;\n }\n }\n\n .footer-logo {\n max-width: 132px;\n margin-bottom: 24px;\n }\n\n .social {\n margin-top: 24px;\n\n "," {\n margin-top: 32px;\n }\n\n p {\n color: ",";\n }\n }\n\n .icons {\n margin-top: 12px;\n margin-bottom: 20px;\n > a:not(:last-child) {\n margin-right: 16px;\n }\n }\n\n .newsletter {\n > p {\n color: ",";\n\n font-size: 14px;\n line-height: 22px;\n\n "," {\n max-width: 380px;\n font-size: 19px;\n line-height: 28.5px;\n }\n }\n }\n\n hr {\n height: 1px;\n border: none;\n margin: 16px 0 16px 0;\n "," {\n margin-top: 0px;\n }\n background: ",";\n opacity: 0.1;\n outline: none;\n }\n\n .hrMobile {\n "," {\n display: none;\n }\n }\n\n .copyright {\n padding-top: 8px;\n\n "," {\n display: flex;\n flex-direction: row-reverse;\n align-items: center;\n justify-content: space-between;\n }\n\n p {\n color: ",";\n }\n\n img {\n max-width: 100px;\n margin-bottom: 16px;\n\n "," {\n margin-bottom: 0px;\n }\n }\n\n &[data-is-amp='true'] {\n img {\n margin-bottom: 0;\n }\n }\n }\n\n .biglinks {\n margin-bottom: 12px;\n }\n\n .bigLink {\n display: block;\n color: ",";\n font-size: 19px;\n font-weight: ",";\n text-decoration: none;\n\n &:not(:last-child) {\n margin-bottom: 12px;\n }\n\n "," {\n display: inline-block;\n width: 50%;\n font-size: 16px;\n }\n }\n\n .mHalf {\n display: inline-block;\n width: 50%;\n padding-right: 24px;\n margin-bottom: 24px;\n vertical-align: top;\n\n p {\n margin-bottom: 12px;\n color: ",";\n }\n\n "," {\n margin-bottom: 8px;\n }\n }\n\n .otherSites {\n p {\n margin-bottom: 12px;\n color: ",";\n }\n\n .flags {\n display: flex;\n margin-bottom: 8px;\n\n div {\n margin-right: 10px;\n }\n }\n }\n\n .link {\n display: block;\n text-decoration: none;\n\n p {\n color: ",";\n font-weight: ",";\n }\n\n &:not(:last-child) {\n margin-bottom: 12px;\n }\n }\n\n .columns {\n "," {\n display: flex;\n flex-direction: row;\n width: 100%;\n\n > div:nth-child(1) {\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n flex-basis: 40%;\n }\n\n > div:nth-child(2) {\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n flex-basis: 60%;\n\n > div:nth-child(1) {\n flex-basis: 45%;\n }\n\n > div {\n flex-basis: 27.5%;\n }\n\n > div:last-child() {\n flex-basis: 0;\n }\n }\n }\n }\n\n .signupButton {\n display: none;\n border: none;\n margin-top: 16px;\n outline: none;\n text-transform: uppercase;\n }\n"],["\n position: relative;\n background: ",";\n\n .inner {\n padding: 64px 24px 98px 24px;\n "," {\n padding: 64px 0;\n }\n margin: 0 auto;\n //max-width: 1168px;\n\n &[data-type='mini'] {\n padding: 0;\n }\n }\n\n .footer-logo {\n max-width: 132px;\n margin-bottom: 24px;\n }\n\n .social {\n margin-top: 24px;\n\n "," {\n margin-top: 32px;\n }\n\n p {\n color: ",";\n }\n }\n\n .icons {\n margin-top: 12px;\n margin-bottom: 20px;\n > a:not(:last-child) {\n margin-right: 16px;\n }\n }\n\n .newsletter {\n > p {\n color: ",";\n\n font-size: 14px;\n line-height: 22px;\n\n "," {\n max-width: 380px;\n font-size: 19px;\n line-height: 28.5px;\n }\n }\n }\n\n hr {\n height: 1px;\n border: none;\n margin: 16px 0 16px 0;\n "," {\n margin-top: 0px;\n }\n background: ",";\n opacity: 0.1;\n outline: none;\n }\n\n .hrMobile {\n "," {\n display: none;\n }\n }\n\n .copyright {\n padding-top: 8px;\n\n "," {\n display: flex;\n flex-direction: row-reverse;\n align-items: center;\n justify-content: space-between;\n }\n\n p {\n color: ",";\n }\n\n img {\n max-width: 100px;\n margin-bottom: 16px;\n\n "," {\n margin-bottom: 0px;\n }\n }\n\n &[data-is-amp='true'] {\n img {\n margin-bottom: 0;\n }\n }\n }\n\n .biglinks {\n margin-bottom: 12px;\n }\n\n .bigLink {\n display: block;\n color: ",";\n font-size: 19px;\n font-weight: ",";\n text-decoration: none;\n\n &:not(:last-child) {\n margin-bottom: 12px;\n }\n\n "," {\n display: inline-block;\n width: 50%;\n font-size: 16px;\n }\n }\n\n .mHalf {\n display: inline-block;\n width: 50%;\n padding-right: 24px;\n margin-bottom: 24px;\n vertical-align: top;\n\n p {\n margin-bottom: 12px;\n color: ",";\n }\n\n "," {\n margin-bottom: 8px;\n }\n }\n\n .otherSites {\n p {\n margin-bottom: 12px;\n color: ",";\n }\n\n .flags {\n display: flex;\n margin-bottom: 8px;\n\n div {\n margin-right: 10px;\n }\n }\n }\n\n .link {\n display: block;\n text-decoration: none;\n\n p {\n color: ",";\n font-weight: ",";\n }\n\n &:not(:last-child) {\n margin-bottom: 12px;\n }\n }\n\n .columns {\n "," {\n display: flex;\n flex-direction: row;\n width: 100%;\n\n > div:nth-child(1) {\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n flex-basis: 40%;\n }\n\n > div:nth-child(2) {\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n flex-basis: 60%;\n\n > div:nth-child(1) {\n flex-basis: 45%;\n }\n\n > div {\n flex-basis: 27.5%;\n }\n\n > div:last-child() {\n flex-basis: 0;\n }\n }\n }\n }\n\n .signupButton {\n display: none;\n border: none;\n margin-top: 16px;\n outline: none;\n text-transform: uppercase;\n }\n"])),(function(n){return n.theme.mbColors.lightGray}),R.mbDown,R.mbDown,(function(n){return n.theme.colors.white}),(function(n){return n.theme.colors.neutral500}),R.mbUp,R.mbDown,(function(n){return n.theme.colors.neutral500}),R.mbUp,R.mbUp,(function(n){return n.theme.colors.white}),R.mbUp,(function(n){return n.theme.colors.white}),(function(n){return n.theme.sizes.fwBold}),R.mbDown,(function(n){return n.theme.colors.neutral500}),R.mbDown,(function(n){return n.theme.colors.neutral500}),(function(n){return n.theme.colors.white}),(function(n){return n.theme.sizes.fwBold}),R.mbUp);var xi,fi,yi,vi,bi,Ei,wi,ki,Ci,Ti,_i,Li,Si,Ii,Ai,Ni,Mi,Oi,Pi,Ri,Bi,Di,Hi,zi,Ui,Fi=T.div(fi||(fi=t([""],[""]))),ji=T.div(yi||(yi=t(["\n position: relative;\n overflow: hidden;\n padding: 40px 40px 100px 40px;\n\n .icons-links {\n position: relative;\n display: flex;\n justify-content: space-between;\n }\n"],["\n position: relative;\n overflow: hidden;\n padding: 40px 40px 100px 40px;\n\n .icons-links {\n position: relative;\n display: flex;\n justify-content: space-between;\n }\n"]))),Gi=T.div(vi||(vi=t(["\n position: relative;\n margin: 80px 0 0;\n\n "," {\n margin-top: 0px;\n overflow: hidden;\n &:before {\n position: absolute;\n top: 0;\n left: 50%;\n display: block;\n width: 150%;\n height: 100%;\n background-color: #f3f3f3;\n content: '';\n transform: translateX(-50%);\n border-radius: 100% 100% 0 0 / 30% 30%;\n }\n }\n"],["\n position: relative;\n margin: 80px 0 0;\n\n "," {\n margin-top: 0px;\n overflow: hidden;\n &:before {\n position: absolute;\n top: 0;\n left: 50%;\n display: block;\n width: 150%;\n height: 100%;\n background-color: #f3f3f3;\n content: '';\n transform: translateX(-50%);\n border-radius: 100% 100% 0 0 / 30% 30%;\n }\n }\n"])),R.mbDown),Yi=T.div(bi||(bi=t(["\n position: relative;\n padding: 0 16px;\n\n "," {\n padding: 48px 8px 0;\n }\n\n & .grid {\n display: flex;\n flex-wrap: wrap;\n margin: -8px;\n\n & > * {\n display: inline-block;\n flex: 0 0 25%;\n padding: 8px;\n color: ",";\n text-decoration: none;\n }\n\n "," {\n & > * {\n flex: 0 0 100%;\n text-align: center;\n }\n }\n }\n\n & .social-wrapper {\n margin-left: auto;\n }\n\n & .social {\n "," {\n & .icons-links {\n margin-top: 16px;\n\n & > a:not(:first-child) {\n margin-left: 10%;\n }\n\n & > a {\n text-decoration: none;\n }\n }\n }\n\n "," {\n width: 100%;\n display: flex;\n background: #fff;\n box-shadow: 0px 0px 24px rgba(0, 0, 0, 0.05);\n border-radius: 8px;\n padding: 20px 16px;\n align-items: center;\n max-width: 400px;\n margin: 32px auto 0px;\n\n & > p {\n font-size: 12px;\n line-height: 20px;\n }\n\n & .icons-links {\n margin-left: 8%;\n flex: 1;\n display: inline-flex;\n justify-content: space-between;\n }\n }\n\n & .icons-links {\n & > a {\n & > img {\n width: 24px;\n object-fit: contain;\n }\n }\n }\n }\n"],["\n position: relative;\n padding: 0 16px;\n\n "," {\n padding: 48px 8px 0;\n }\n\n & .grid {\n display: flex;\n flex-wrap: wrap;\n margin: -8px;\n\n & > * {\n display: inline-block;\n flex: 0 0 25%;\n padding: 8px;\n color: ",";\n text-decoration: none;\n }\n\n "," {\n & > * {\n flex: 0 0 100%;\n text-align: center;\n }\n }\n }\n\n & .social-wrapper {\n margin-left: auto;\n }\n\n & .social {\n "," {\n & .icons-links {\n margin-top: 16px;\n\n & > a:not(:first-child) {\n margin-left: 10%;\n }\n\n & > a {\n text-decoration: none;\n }\n }\n }\n\n "," {\n width: 100%;\n display: flex;\n background: #fff;\n box-shadow: 0px 0px 24px rgba(0, 0, 0, 0.05);\n border-radius: 8px;\n padding: 20px 16px;\n align-items: center;\n max-width: 400px;\n margin: 32px auto 0px;\n\n & > p {\n font-size: 12px;\n line-height: 20px;\n }\n\n & .icons-links {\n margin-left: 8%;\n flex: 1;\n display: inline-flex;\n justify-content: space-between;\n }\n }\n\n & .icons-links {\n & > a {\n & > img {\n width: 24px;\n object-fit: contain;\n }\n }\n }\n }\n"])),R.mbDown,(function(n){return n.theme.colors.gray800}),R.mbDown,R.mbUp,R.mbDown),Vi=T.div(Ei||(Ei=t(["\n position: relative;\n\n "," {\n margin: 80px 0 0;\n overflow: hidden;\n &:before {\n position: absolute;\n top: 0;\n left: 50%;\n display: block;\n width: 150%;\n height: 100%;\n background-color: #f3f3f3;\n border-radius: 2150px 2150px 0 0 / 200px 200px 0 0;\n content: '';\n transform: translateX(-50%);\n }\n }\n\n "," {\n background-color: #f3f3f3;\n }\n"],["\n position: relative;\n\n "," {\n margin: 80px 0 0;\n overflow: hidden;\n &:before {\n position: absolute;\n top: 0;\n left: 50%;\n display: block;\n width: 150%;\n height: 100%;\n background-color: #f3f3f3;\n border-radius: 2150px 2150px 0 0 / 200px 200px 0 0;\n content: '';\n transform: translateX(-50%);\n }\n }\n\n "," {\n background-color: #f3f3f3;\n }\n"])),R.mbUp,R.mbDown),Wi=T.div(wi||(wi=t(["\n position: relative;\n padding: 64px 16px 154px;\n text-align: center;\n\n "," {\n padding: 48px 8px 32px;\n }\n\n & .company-name {\n margin-top: 24px;\n }\n\n .logo {\n justify-content: center;\n }\n\n & .text-info {\n margin-top: 8px;\n > p {\n margin-bottom: 8px;\n }\n "," {\n text-align: left;\n margin-top: 16px;\n }\n }\n\n & .img-container {\n display: flex;\n max-width: 176px;\n height: 24px;\n justify-content: space-between;\n margin: 24px auto 0;\n\n "," {\n height: 32px;\n max-width: unset;\n justify-content: space-around;\n }\n\n img {\n width: unset;\n height: 100%;\n object-fit: contain;\n }\n }\n\n & > hr {\n border-color: ",";\n margin: 64px 0 18px;\n opacity: 0.1;\n }\n\n & .language-and-copyright {\n display: flex;\n justify-content: center;\n\n "," {\n margin-top: 60px;\n }\n\n & #footer-language-select {\n width: 100%;\n max-width: 114px;\n\n &[data-dropdown-open='true'] > div:after {\n transform: translateY(-60%) rotateZ(-180deg);\n }\n\n "," {\n order: 1;\n }\n\n & > div {\n padding: 0;\n\n & > div > svg {\n max-width: 22px;\n margin-right: 8px;\n transform: translateY(1px);\n }\n\n & > span {\n font-size: 12px;\n letter-spacing: -0.2px;\n line-height: 24px;\n }\n }\n\n & > ul[data-has-icons='true'] {\n width: 158px;\n max-width: 158px;\n border: none;\n border-radius: 4px;\n box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.08);\n\n "," {\n margin-top: 0;\n left: unset;\n right: 0;\n top: unset;\n bottom: 32px;\n }\n\n & li {\n font-size: 12px;\n letter-spacing: -0.2px;\n line-height: 24px;\n\n & > div {\n max-width: 22px;\n & svg {\n width: 22px;\n max-width: 22px;\n transform: translateY(3px);\n }\n }\n }\n }\n }\n\n & > p {\n color: ",";\n }\n }\n"],["\n position: relative;\n padding: 64px 16px 154px;\n text-align: center;\n\n "," {\n padding: 48px 8px 32px;\n }\n\n & .company-name {\n margin-top: 24px;\n }\n\n .logo {\n justify-content: center;\n }\n\n & .text-info {\n margin-top: 8px;\n > p {\n margin-bottom: 8px;\n }\n "," {\n text-align: left;\n margin-top: 16px;\n }\n }\n\n & .img-container {\n display: flex;\n max-width: 176px;\n height: 24px;\n justify-content: space-between;\n margin: 24px auto 0;\n\n "," {\n height: 32px;\n max-width: unset;\n justify-content: space-around;\n }\n\n img {\n width: unset;\n height: 100%;\n object-fit: contain;\n }\n }\n\n & > hr {\n border-color: ",";\n margin: 64px 0 18px;\n opacity: 0.1;\n }\n\n & .language-and-copyright {\n display: flex;\n justify-content: center;\n\n "," {\n margin-top: 60px;\n }\n\n & #footer-language-select {\n width: 100%;\n max-width: 114px;\n\n &[data-dropdown-open='true'] > div:after {\n transform: translateY(-60%) rotateZ(-180deg);\n }\n\n "," {\n order: 1;\n }\n\n & > div {\n padding: 0;\n\n & > div > svg {\n max-width: 22px;\n margin-right: 8px;\n transform: translateY(1px);\n }\n\n & > span {\n font-size: 12px;\n letter-spacing: -0.2px;\n line-height: 24px;\n }\n }\n\n & > ul[data-has-icons='true'] {\n width: 158px;\n max-width: 158px;\n border: none;\n border-radius: 4px;\n box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.08);\n\n "," {\n margin-top: 0;\n left: unset;\n right: 0;\n top: unset;\n bottom: 32px;\n }\n\n & li {\n font-size: 12px;\n letter-spacing: -0.2px;\n line-height: 24px;\n\n & > div {\n max-width: 22px;\n & svg {\n width: 22px;\n max-width: 22px;\n transform: translateY(3px);\n }\n }\n }\n }\n }\n\n & > p {\n color: ",";\n }\n }\n"])),R.mbDown,R.mbDown,R.mbDown,(function(n){return n.theme.mbColors.midGray}),R.mbDown,R.mbDown,R.mbDown,(function(n){return n.theme.mbColors.midGray})),Zi=T.div(ki||(ki=t(["\n position: absolute;\n top: 0;\n right: -50%;\n width: 400px;\n height: 400px;\n background-color: #f2fcf7;\n border-radius: 50%;\n"],["\n position: absolute;\n top: 0;\n right: -50%;\n width: 400px;\n height: 400px;\n background-color: #f2fcf7;\n border-radius: 50%;\n"]))),Ki=function(n){var e,t=n.socialLinks,i=void 0===t?yn.SOCIAL_LINKS:t,o=i.facebookLink,a=i.instagramLink,r=i.zaloLink,s=i.youtubeLink,c=n.copyrightText,p=n.logoType,d=void 0===p?"marryBaby":p,m=n.isMobile,h=n.footerMenu,g=void 0===h?[]:h,u=n.type,x=void 0===u?"main":u,f=In();return"main"===x?l.createElement(Fi,{className:"footer-container"},!m&&l.createElement("div",{className:"footer-divider"},l.createElement(P,{type:"marryBaby"},l.createElement(G,{style:{padding:"0 16px"},type:"solid"}))),l.createElement(Gi,null,l.createElement(P,{type:"marryBaby"},l.createElement(Yi,null,l.createElement("div",{className:"grid"},null===(e=m?null==g?void 0:g.slice(0,6):g)||void 0===e?void 0:e.map((function(n,e){var t=n.title,i=n.link;return l.createElement("a",{"data-event-category":"Footer","data-event-action":t,"data-event-label":"".concat(i),className:"link",href:i,key:"footer-links-".concat(e)},l.createElement(ui,{color:B.colors.gray800,type:"subtitle-2"},t))})),l.createElement("div",{className:"social-wrapper"},l.createElement("div",{className:"social"},l.createElement(ui,{type:"subtitle-2"},f("footer.followUsText")),l.createElement("div",{className:"icons-links"},o&&l.createElement("a",{target:"_blank",rel:"noreferrer","data-event-category":"Footer","data-event-action":"Follow us - Facebook","data-content-label":o,href:o},l.createElement("img",{src:z,alt:"Facebook"})),s&&l.createElement("a",{target:"_blank",rel:"noreferrer","data-event-category":"Footer","data-event-action":"Follow us - Youtube","data-event-label":s,href:s},l.createElement("img",{src:U,alt:"Youtube"})),a&&l.createElement("a",{target:"_blank",rel:"noreferrer","data-event-category":"Footer","data-event-action":"Follow us - Instagram","data-content-label":a,href:a},l.createElement("img",{src:F,alt:"Instagram"})),r&&l.createElement("a",{target:"_blank",rel:"noreferrer",href:r,"data-event-category":"Footer","data-event-action":"Follow us - Zalo","data-event-label":r},l.createElement("img",{src:j,alt:"Zalo"}))))))))),l.createElement(Vi,null,l.createElement(P,{type:"marryBaby"},l.createElement(Wi,null,l.createElement(M,{className:"logo",type:d,width:"121px"}),l.createElement(ui,{className:"company-name",type:"subtitle-2"},f("footer.info.companyName")),l.createElement("div",{className:"text-info"},l.createElement(ui,{type:"bodytext-3"},f("footer.info.address")),l.createElement(ui,{type:"bodytext-3"},f("footer.info.license")),l.createElement(ui,{type:"bodytext-3"},f("footer.info.email"))),l.createElement("div",{className:"img-container"},l.createElement("img",{src:"/images/dmca_protected.png",alt:"DMCA protected"}),l.createElement("a",{href:"http://online.gov.vn/Home/WebDetails/25055?AspxAutoDetectCookieSupport=1",target:"_blank",rel:"noreferrer"},l.createElement("img",{src:"/images/mit_registered.png",alt:"MIT registered"}))),!m&&l.createElement(G,{type:"solid"}),l.createElement("div",{className:"language-and-copyright"},l.createElement(ui,{type:"bodytext-3"},c)))))):l.createElement(ji,null,l.createElement(Zi,null),l.createElement(ui,{type:"subtitle-3",style:{marginBottom:24,textTransform:"uppercase",fontWeight:B.sizes.fwSemiBold},color:B.mbColors.midGray},f("footer.followUsText")),l.createElement("div",{className:"icons-links"},o&&l.createElement("a",{target:"_blank",rel:"noreferrer","data-event-category":"Footer","data-event-action":"Follow us - Facebook","data-content-label":o,href:o},l.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l.createElement("path",{d:"M21 5.75V18.25C21 19.765 19.765 21 18.25 21H15.5V14H17.31C17.565 14 17.78 13.81 17.81 13.56L17.995 12.06C18.015 11.92 17.97 11.775 17.875 11.67C17.78 11.56 17.645 11.5 17.5 11.5H15.5V9.75C15.5 9.2 15.95 8.75 16.5 8.75H17.5C17.775 8.75 18 8.525 18 8.25V6.56C18 6.305 17.8 6.09 17.545 6.065C17.515 6.06 16.81 6 15.915 6C13.715 6 12.5 7.31 12.5 9.685V11.5H10.5C10.225 11.5 10 11.725 10 12V13.5C10 13.775 10.225 14 10.5 14H12.5V21H5.75C4.235 21 3 19.765 3 18.25V5.75C3 4.235 4.235 3 5.75 3H18.25C19.765 3 21 4.235 21 5.75Z",fill:"url(#paint0_linear)"}),l.createElement("defs",null,l.createElement("linearGradient",{id:"paint0_linear",x1:"12",y1:"3",x2:"12",y2:"21",gradientUnits:"userSpaceOnUse"},l.createElement("stop",{stopColor:"#4DABF7"}),l.createElement("stop",{offset:"1",stopColor:"#2668DA"}))))),s&&l.createElement("a",{target:"_blank",rel:"noreferrer","data-event-category":"Footer","data-event-action":"Follow us - Youtube","data-event-label":s,href:s},l.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l.createElement("path",{d:"M11.9287 4.25C8.75236 4.25 5.80117 4.47631 4.11719 4.82812C4.1136 4.82907 4.11002 4.83005 4.10645 4.83105C2.83774 5.11535 1.64309 6.02412 1.3916 7.44727L1.39062 7.45312C1.19742 8.60013 1 10.0953 1 12.25C1 14.4006 1.1981 15.8562 1.44238 17.0635C1.70004 18.4446 2.86711 19.3809 4.15527 19.6689C4.16144 19.6707 4.16762 19.6723 4.17383 19.6738C5.93135 20.0201 8.79923 20.25 11.9756 20.25C15.1519 20.25 18.0213 20.0201 19.7793 19.6738C19.7855 19.6723 19.7917 19.6707 19.7979 19.6689C21.0666 19.3847 22.2612 18.4759 22.5127 17.0527C22.5134 17.0492 22.514 17.0456 22.5146 17.042C22.7049 15.8716 22.9514 14.3778 23 12.2197C23.0001 12.2142 23.0001 12.2087 23 12.2031C23 10.0438 22.7529 8.53934 22.5117 7.34766C22.2561 5.96354 21.0877 5.02474 19.7979 4.73633C19.7781 4.73195 19.7583 4.72836 19.7383 4.72559C18.0232 4.48448 15.1056 4.25 11.9287 4.25ZM10.0781 8.50098C10.2633 8.49715 10.4548 8.54095 10.6348 8.64258L14.9365 11.0732C15.662 11.4832 15.662 12.5177 14.9365 12.9277L10.6348 15.3584C9.91527 15.7644 9.01855 15.2502 9.01855 14.4307V9.56934C9.01855 8.95471 9.52252 8.51246 10.0781 8.50098Z",fill:"#EB3223"}))),a&&l.createElement("a",{target:"_blank",rel:"noreferrer","data-event-category":"Footer","data-event-action":"Follow us - Instagram","data-content-label":a,href:a},l.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l.createElement("path",{d:"M8.25 2.5C5.08319 2.5 2.5 5.08319 2.5 8.25V15.75C2.5 18.9164 5.0831 21.5 8.25 21.5H15.75C18.9165 21.5 21.5 18.9165 21.5 15.75V8.25C21.5 5.0831 18.9164 2.5 15.75 2.5H8.25ZM8.25 4H15.75C18.1056 4 20 5.8939 20 8.25V15.75C20 18.1055 18.1055 20 15.75 20H8.25C5.8939 20 4 18.1056 4 15.75V8.25C4 5.89381 5.89381 4 8.25 4ZM17 6C16.4475 6 16 6.4475 16 7C16 7.5525 16.4475 8 17 8C17.5525 8 18 7.5525 18 7C18 6.4475 17.5525 6 17 6ZM12 7C9.24759 7 7 9.24759 7 12C7 14.7524 9.24759 17 12 17C14.7524 17 17 14.7524 17 12C17 9.24759 14.7524 7 12 7ZM12 8.5C13.9416 8.5 15.5 10.0584 15.5 12C15.5 13.9416 13.9416 15.5 12 15.5C10.0584 15.5 8.5 13.9416 8.5 12C8.5 10.0584 10.0584 8.5 12 8.5Z",fill:"url(#paint0_radial)"}),l.createElement("defs",null,l.createElement("radialGradient",{id:"paint0_radial",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(0.499995 26) rotate(-47.9508) scale(34.3402 30.014)"},l.createElement("stop",{offset:"0.073",stopColor:"#EACC7B"}),l.createElement("stop",{offset:"0.184",stopColor:"#ECAA59"}),l.createElement("stop",{offset:"0.307",stopColor:"#EF802E"}),l.createElement("stop",{offset:"0.358",stopColor:"#EF6D3A"}),l.createElement("stop",{offset:"0.46",stopColor:"#F04B50"}),l.createElement("stop",{offset:"0.516",stopColor:"#F03E58"}),l.createElement("stop",{offset:"0.689",stopColor:"#DB359E"}),l.createElement("stop",{offset:"0.724",stopColor:"#CE37A4"}),l.createElement("stop",{offset:"0.789",stopColor:"#AC3CB4"}),l.createElement("stop",{offset:"0.877",stopColor:"#7544CF"}),l.createElement("stop",{offset:"0.98",stopColor:"#2B4FF2"}))))),r&&l.createElement("a",{target:"_blank",rel:"noreferrer",href:r,"data-event-category":"Footer","data-event-action":"Follow us - Zalo","data-event-label":r},l.createElement("div",{style:{height:24,width:24}},l.createElement("img",{src:"/icons/zalo.png",alt:"Zalo"})))))},Xi=function(n){var t,i,o,a,r,s,c,p,d,m,h,g=n.type,u=n.isMobile,x=void 0===u||u,f=n.locale,y=n.footerInfo,v=n.isAmp,b=n.siteType,E=n.ampNextArticle,w=n.routerQuery;return"helloSites"===b?l.createElement(l.Fragment,null,v&&(null!==(i=null===(t=null==w?void 0:w.slug)||void 0===t?void 0:t.length)&&void 0!==i?i:"")>1&&l.createElement("amp-next-page",null,l.createElement("script",{type:"application/json",dangerouslySetInnerHTML:{__html:'\n [\n {\n "image": "'.concat(null===(o=null==E?void 0:E.articleOne)||void 0===o?void 0:o.image,'",\n "title": ').concat(JSON.stringify(null===(a=null==E?void 0:E.articleOne)||void 0===a?void 0:a.title),',\n "url": "').concat(null===(r=null==E?void 0:E.articleOne)||void 0===r?void 0:r.link,'"\n },\n {\n "image": "').concat(null===(s=null==E?void 0:E.articleTwo)||void 0===s?void 0:s.image,'",\n "title": ').concat(JSON.stringify(null===(c=null==E?void 0:E.articleTwo)||void 0===c?void 0:c.title),',\n "url": "').concat(null===(p=null==E?void 0:E.articleTwo)||void 0===p?void 0:p.link,'"\n },\n {\n "image": "').concat(null===(d=null==E?void 0:E.articleThree)||void 0===d?void 0:d.image,'",\n "title": ').concat(JSON.stringify(null===(m=null==E?void 0:E.articleThree)||void 0===m?void 0:m.title),',\n "url": "').concat(null===(h=null==E?void 0:E.articleThree)||void 0===h?void 0:h.link,'"\n }\n ]\n ')}}),l.createElement("div",e({},{separator:""},{className:"amp-page-seperator",style:{color:"#8C8C8C",textTransform:"uppercase",fontSize:11,fontWeight:700,marginLeft:16}}),"Next article:")),l.createElement(di,{isAmp:v,isMobile:x,type:g,locale:f,footerInfo:y||{}})):l.createElement(Ki,{isMobile:x,locale:f,footerMenu:y||[],copyrightText:"© 2022 MarryBaby.vn",socialLinks:n.marryBabySocialLinks,type:g})},Qi=T.div(Ci||(Ci=t(["\n width: 100vw;\n"],["\n width: 100vw;\n"]))),qi=T.div(Ti||(Ti=t(["\n @keyframes menuLeftToRightTrans {\n from {\n margin-left: -300%;\n opacity: 0;\n }\n to {\n margin-left: 0;\n opacity: 1;\n }\n }\n\n @keyframes menuRightToLeftTrans {\n from {\n margin-right: -300%;\n opacity: 0;\n }\n to {\n margin-right: 0;\n opacity: 1;\n }\n }\n\n @keyframes leftAppears {\n from {\n left: -50%;\n opacity: 0;\n }\n to {\n left: 0;\n opacity: 1;\n }\n }\n\n @keyframes leftDisappears {\n from {\n left: 0;\n opacity: 1;\n }\n to {\n left: -50%;\n opacity: 0;\n }\n }\n\n @keyframes rightAppears {\n from {\n right: -50%;\n opacity: 0;\n }\n to {\n right: 0;\n opacity: 1;\n }\n }\n\n @keyframes rightDisappears {\n from {\n right: 0;\n opacity: 1;\n }\n to {\n right: -50%;\n opacity: 0;\n }\n }\n\n @keyframes expandingTopToBottom {\n from {\n margin-top: -100%;\n opacity: 0;\n }\n to {\n margin-top: 0;\n opacity: 1;\n }\n }\n\n @keyframes collapsingBottomToTop {\n from {\n margin-top: 0;\n opacity: 1;\n }\n to {\n margin-top: -100%;\n opacity: 0;\n }\n }\n\n width: 100%;\n\n ","\n\n background-color: ",";\n\n &[data-menu-opened='true'] {\n visibility: hidden;\n }\n"],["\n @keyframes menuLeftToRightTrans {\n from {\n margin-left: -300%;\n opacity: 0;\n }\n to {\n margin-left: 0;\n opacity: 1;\n }\n }\n\n @keyframes menuRightToLeftTrans {\n from {\n margin-right: -300%;\n opacity: 0;\n }\n to {\n margin-right: 0;\n opacity: 1;\n }\n }\n\n @keyframes leftAppears {\n from {\n left: -50%;\n opacity: 0;\n }\n to {\n left: 0;\n opacity: 1;\n }\n }\n\n @keyframes leftDisappears {\n from {\n left: 0;\n opacity: 1;\n }\n to {\n left: -50%;\n opacity: 0;\n }\n }\n\n @keyframes rightAppears {\n from {\n right: -50%;\n opacity: 0;\n }\n to {\n right: 0;\n opacity: 1;\n }\n }\n\n @keyframes rightDisappears {\n from {\n right: 0;\n opacity: 1;\n }\n to {\n right: -50%;\n opacity: 0;\n }\n }\n\n @keyframes expandingTopToBottom {\n from {\n margin-top: -100%;\n opacity: 0;\n }\n to {\n margin-top: 0;\n opacity: 1;\n }\n }\n\n @keyframes collapsingBottomToTop {\n from {\n margin-top: 0;\n opacity: 1;\n }\n to {\n margin-top: -100%;\n opacity: 0;\n }\n }\n\n width: 100%;\n\n ","\n\n background-color: ",";\n\n &[data-menu-opened='true'] {\n visibility: hidden;\n }\n"])),(function(n){return n.hasStickyBottomBar&&"padding-bottom: 80px;"}),(function(n){return n.theme.colors.white})),Ji=T.div(_i||(_i=t(["\n width: 100%;\n padding-bottom: 80px;\n\n background-color: ",";\n\n &[data-is-mobile='false'] {\n margin-top: 69px;\n &[data-sponsored='true'] {\n margin-top: 110px;\n &[data-sitewide='true'] {\n margin-top: 173px;\n }\n }\n &[data-sitewide='true'] {\n margin-top: 133px;\n }\n }\n &[data-is-mobile='true'] {\n &[data-sitewide='true'],\n &[data-sponsored='true'] {\n margin-top: 60px;\n }\n }\n\n &[data-menu-opened='true'] {\n visibility: hidden;\n }\n"],["\n width: 100%;\n padding-bottom: 80px;\n\n background-color: ",";\n\n &[data-is-mobile='false'] {\n margin-top: 69px;\n &[data-sponsored='true'] {\n margin-top: 110px;\n &[data-sitewide='true'] {\n margin-top: 173px;\n }\n }\n &[data-sitewide='true'] {\n margin-top: 133px;\n }\n }\n &[data-is-mobile='true'] {\n &[data-sitewide='true'],\n &[data-sponsored='true'] {\n margin-top: 60px;\n }\n }\n\n &[data-menu-opened='true'] {\n visibility: hidden;\n }\n"])),(function(n){return n.theme.colors.white})),$i=T.div(Li||(Li=t(["\n display: flex;\n align-items: center;\n gap: 8px;\n"],["\n display: flex;\n align-items: center;\n gap: 8px;\n"]))),no=T.a(Si||(Si=t(["\n &[data-is-active='true'] {\n color: unset;\n }\n font-size: 14px;\n font-weight: 700;\n line-height: 22px;\n text-decoration: none;\n"],["\n &[data-is-active='true'] {\n color: unset;\n }\n font-size: 14px;\n font-weight: 700;\n line-height: 22px;\n text-decoration: none;\n"]))),eo=T.div(Ii||(Ii=t(["\n & > div {\n width: 100%;\n margin-bottom: 8px;\n }\n"],["\n & > div {\n width: 100%;\n margin-bottom: 8px;\n }\n"]))),to=T.div(Ai||(Ai=t(["\n & > a:not(:last-child) > div {\n border-bottom: 1px solid\n ",";\n }\n\n &[data-category-list-type='sub'] {\n padding-bottom: 72px;\n }\n\n &[data-is-displayed='false'] {\n display: none;\n }\n"],["\n & > a:not(:last-child) > div {\n border-bottom: 1px solid\n ",";\n }\n\n &[data-category-list-type='sub'] {\n padding-bottom: 72px;\n }\n\n &[data-is-displayed='false'] {\n display: none;\n }\n"])),(function(n){return n.theme.colors.neutral100})),io=T.div(Ni||(Ni=t(["\n display: flex;\n width: 100%;\n height: 64px;\n align-items: center;\n justify-content: flex-start;\n padding: 8px;\n\n //border-bottom: 1px solid ",";\n background-color: ",";\n font-size: ",";\n\n &[data-is-heading-category='true'] {\n border-bottom: none;\n background-color: ",";\n color: ",";\n font-weight: ",";\n }\n > * {\n pointer-events: none;\n }\n"],["\n display: flex;\n width: 100%;\n height: 64px;\n align-items: center;\n justify-content: flex-start;\n padding: 8px;\n\n //border-bottom: 1px solid ",";\n background-color: ",";\n font-size: ",";\n\n &[data-is-heading-category='true'] {\n border-bottom: none;\n background-color: ",";\n color: ",";\n font-weight: ",";\n }\n > * {\n pointer-events: none;\n }\n"])),(function(n){return n.theme.colors.neutral100}),(function(n){return n.theme.colors.white}),(function(n){return n.theme.sizes.fsParagraph4}),(function(n){return n.theme.colors.blue50}),(function(n){return n.theme.colors.gray800}),(function(n){return n.theme.sizes.fwBold})),oo=T.div(Mi||(Mi=t([""],[""]))),ao=T.div(Oi||(Oi=t(["\n padding-right: 16px;\n"],["\n padding-right: 16px;\n"]))),lo=T.div(Pi||(Pi=t(["\n position: fixed;\n z-index: ",";\n top: 69px;\n left: 0;\n width: 100%;\n height: 100%;\n align-items: center;\n background-color: transparent;\n &[data-is-display='false'] {\n display: none;\n }\n"],["\n position: fixed;\n z-index: ",";\n top: 69px;\n left: 0;\n width: 100%;\n height: 100%;\n align-items: center;\n background-color: transparent;\n &[data-is-display='false'] {\n display: none;\n }\n"])),hn),ro=T.div(Ri||(Ri=t(["\n z-index: ",";\n align-items: center;\n\n border: 1px solid ",";\n background-color: ",";\n box-shadow: 0px 24px 32px rgba(0, 0, 0, 0.04),\n 0px 16px 24px rgba(0, 0, 0, 0.04), 0px 4px 8px rgba(0, 0, 0, 0.04),\n 0px 0px 1px rgba(0, 0, 0, 0.04);\n"],["\n z-index: ",";\n align-items: center;\n\n border: 1px solid ",";\n background-color: ",";\n box-shadow: 0px 24px 32px rgba(0, 0, 0, 0.04),\n 0px 16px 24px rgba(0, 0, 0, 0.04), 0px 4px 8px rgba(0, 0, 0, 0.04),\n 0px 0px 1px rgba(0, 0, 0, 0.04);\n"])),gn,(function(n){return n.theme.colors.neutral50}),(function(n){return n.theme.colors.white})),so=T.div(Bi||(Bi=t(["\n position: relative;\n display: flex;\n flex-wrap: wrap;\n align-items: flex-start;\n justify-content: flex-start;\n padding: 48px 0;\n"],["\n position: relative;\n display: flex;\n flex-wrap: wrap;\n align-items: flex-start;\n justify-content: flex-start;\n padding: 48px 0;\n"]))),co=T.div(Di||(Di=t(["\n width: 33%;\n height: 48px;\n padding-right: 16px;\n margin-bottom: 12px;\n\n & > a {\n display: flex;\n align-items: center;\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 22px;\n\n & > :first-child {\n margin-right: 16px;\n }\n }\n\n & > a > p:hover {\n color: ",";\n }\n\n [data-event-category] > * {\n pointer-events: none;\n }\n"],["\n width: 33%;\n height: 48px;\n padding-right: 16px;\n margin-bottom: 12px;\n\n & > a {\n display: flex;\n align-items: center;\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 22px;\n\n & > :first-child {\n margin-right: 16px;\n }\n }\n\n & > a > p:hover {\n color: ",";\n }\n\n [data-event-category] > * {\n pointer-events: none;\n }\n"])),(function(n){return n.theme.colors.gray800}),(function(n){return n.theme.sizes.fsParagraph4}),(function(n){return n.theme.sizes.fwRegular}),(function(n){return n.theme.colors.primaryBase})),po=T.div(Hi||(Hi=t(["\n display: flex;\n align-items: center;\n\n "," {\n padding: 8px;\n }\n\n padding-right: 16px;\n margin-bottom: 12px;\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 24px;\n\n &[data-theme='marryBaby'] {\n color: ",";\n }\n &[data-event-category] * {\n pointer-events: none;\n }\n"],["\n display: flex;\n align-items: center;\n\n "," {\n padding: 8px;\n }\n\n padding-right: 16px;\n margin-bottom: 12px;\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 24px;\n\n &[data-theme='marryBaby'] {\n color: ",";\n }\n &[data-event-category] * {\n pointer-events: none;\n }\n"])),R.mbDown,(function(n){return n.theme.colors.primaryBase}),(function(n){return n.theme.sizes.fsParagraph4}),(function(n){return n.theme.sizes.fwBold}),(function(n){return n.theme.mbColors.pink})),mo=T.div(zi||(zi=t(["\n display: flex;\n align-items: center;\n\n margin-left: 10px;\n"],["\n display: flex;\n align-items: center;\n\n margin-left: 10px;\n"]))),ho=T.div(Ui||(Ui=t(["\n position: absolute;\n top: 16px;\n right: 0;\n display: flex;\n align-items: center;\n cursor: pointer;\n"],["\n position: absolute;\n top: 16px;\n right: 0;\n display: flex;\n align-items: center;\n cursor: pointer;\n"]))),go=function(){return l.createElement(eo,{style:{marginTop:"16px"}},l.createElement("div",null,l.createElement(Y,{height:46})),l.createElement("div",null,l.createElement(Y,{height:46})),l.createElement("div",null,l.createElement(Y,{height:46})))},uo=function(n){var e,t,i,o,a=n.careSpecialties,r=n.onSelectCareSpecialty,s=n.isLoading,c=n.desktopPopupType,p=n.onClosePopup,d=n.basePath,m=n.locale,h=n.isMobile,g=n.siteType,u=n.CARE_URL_FE,x=In();return h?l.createElement(l.Fragment,null,s?l.createElement(to,null,l.createElement(go,null)):l.createElement(to,{"data-category-list-type":"main"},l.createElement(A,{style:{marginTop:16},tag:"h5"},x("menu.care.searchBySpecialties")),a.map((function(n,e){return l.createElement("a",{key:"tool-"+e},l.createElement(io,{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"".concat(u).concat(jn({type:"DOCTOR",specialtySlug:n.slug,locale:m})),onClick:function(){r(n)}},l.createElement(ao,null,l.createElement("img",{alt:"health-tool-icon",src:n.thumbnail||"".concat(d,"/images/avatar.jpg"),style:{width:"32px",height:"32px"}})),l.createElement(oo,null,n.name)))})),l.createElement("a",{style:{textDecoration:"none"},href:"".concat(u,"/").concat(null===(e=D[m])||void 0===e?void 0:e.SPECIALTIES)},l.createElement(po,{key:"all-categories","data-theme":g,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"".concat(u,"/").concat(null===(t=D[m])||void 0===t?void 0:t.SPECIALTIES)},x("home.navigator.menuItem.allSpecialties"),l.createElement(mo,null,"helloSites"===g?l.createElement("img",{src:"".concat(d,"/svg/chevronRightActive.svg"),style:{width:"16px",height:"16px"},alt:x("home.navigator.menuItem.allSpecialties")}):l.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l.createElement("path",{d:"M6.5 12H17.5M17.5 12L12.9118 8M17.5 12L12.9118 16",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"}))))))):l.createElement(lo,{className:"top-menu-care-specialties",onClick:p,"data-is-display":"care"===c},l.createElement(ro,null,l.createElement(P,{style:{padding:"0 16px"},type:g},l.createElement(so,{"data-popup-type":c,onClick:function(n){n.stopPropagation()}},l.createElement(l.Fragment,null,a.map((function(n){return l.createElement(co,{key:"care-specialty-".concat(n.id),onClick:p},l.createElement("a",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"".concat(u).concat(jn({type:"DOCTOR",specialtySlug:n.slug,locale:m})),style:{textDecoration:"none",color:B.colors.gray800},className:"iconMenu no-replace-click",href:"".concat(u).concat(jn({type:"DOCTOR",specialtySlug:n.slug,locale:m}))},l.createElement("div",{style:{display:"flex"}},l.createElement("img",{alt:"care-specialty-icon",src:n.thumbnail||"".concat(d,"/images/avatar.jpg"),style:{width:"32px",height:"32px"}})),l.createElement("p",null,n.name)))})),l.createElement("a",{style:{textDecoration:"none"},href:"".concat(u,"/").concat(null===(i=D[m])||void 0===i?void 0:i.SPECIALTIES)},l.createElement(po,{onClick:p,key:"all-care-specialties","data-theme":g,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"".concat(u,"/").concat(null===(o=D[m])||void 0===o?void 0:o.SPECIALTIES)},x("home.navigator.menuItem.allSpecialties"),l.createElement(mo,null,"helloSites"===g?l.createElement("img",{src:"".concat(d,"/svg/chevronRightActive.svg"),style:{width:"16px",height:"16px"},alt:x("home.navigator.menuItem.allSpecialties")}):l.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l.createElement("path",{d:"M6.5 12H17.5M17.5 12L12.9118 8M17.5 12L12.9118 16",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"})))))),l.createElement(ho,{onClick:p},l.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"})))))))},xo=function(){return l.createElement(et,{style:{marginTop:"16px"}},l.createElement("div",null,l.createElement(Y,{height:46})),l.createElement("div",null,l.createElement(Y,{height:46})),l.createElement("div",null,l.createElement(Y,{height:46})))},fo=T.div(ko||(ko=t(["\n "," {\n margin: 48px 0;\n }\n\n "," {\n padding: 0 16px;\n }\n"],["\n "," {\n margin: 48px 0;\n }\n\n "," {\n padding: 0 16px;\n }\n"])),R.mbDown,R.mbUp),yo=T.div(Co||(Co=t(["\n & > div {\n width: 100%;\n margin-bottom: 8px;\n }\n"],["\n & > div {\n width: 100%;\n margin-bottom: 8px;\n }\n"]))),vo=T.div(To||(To=t(["\n "," {\n & > :not(:last-child) {\n border-bottom: 1px solid\n ",";\n }\n\n & > div > :not(:last-child) {\n border-bottom: 1px solid\n ",";\n }\n }\n\n &[data-category-list-type='sub'] {\n padding-bottom: 72px;\n }\n\n &[data-is-displayed='false'] {\n display: none;\n }\n\n display: flex;\n flex-direction: column;\n"],["\n "," {\n & > :not(:last-child) {\n border-bottom: 1px solid\n ",";\n }\n\n & > div > :not(:last-child) {\n border-bottom: 1px solid\n ",";\n }\n }\n\n &[data-category-list-type='sub'] {\n padding-bottom: 72px;\n }\n\n &[data-is-displayed='false'] {\n display: none;\n }\n\n display: flex;\n flex-direction: column;\n"])),R.mbDown,(function(n){return n.theme.colors.neutral100}),(function(n){return n.theme.colors.neutral100}));T.div(_o||(_o=t(["\n "," {\n & > :not(:last-child) {\n border-bottom: 1px solid\n ",";\n }\n\n & > div > :not(:last-child) {\n border-bottom: 1px solid\n ",";\n }\n }\n"],["\n "," {\n & > :not(:last-child) {\n border-bottom: 1px solid\n ",";\n }\n\n & > div > :not(:last-child) {\n border-bottom: 1px solid\n ",";\n }\n }\n"])),R.mbDown,(function(n){return n.theme.colors.neutral100}),(function(n){return n.theme.colors.neutral100}));var bo=T.div(Lo||(Lo=t(["\n display: flex;\n width: 100%;\n height: 48px;\n align-items: center;\n justify-content: space-between;\n\n background-color: ",";\n font-size: ",";\n font-weight: ",";\n\n &[data-is-heading-category='true'] {\n border-bottom: none;\n background-color: ",";\n color: ",";\n font-weight: ",";\n }\n\n "," {\n padding: 8px;\n }\n &[data-event-category] > * {\n pointer-events: none;\n }\n"],["\n display: flex;\n width: 100%;\n height: 48px;\n align-items: center;\n justify-content: space-between;\n\n background-color: ",";\n font-size: ",";\n font-weight: ",";\n\n &[data-is-heading-category='true'] {\n border-bottom: none;\n background-color: ",";\n color: ",";\n font-weight: ",";\n }\n\n "," {\n padding: 8px;\n }\n &[data-event-category] > * {\n pointer-events: none;\n }\n"])),(function(n){return n.theme.colors.white}),(function(n){return n.theme.sizes.fsParagraph4}),(function(n){return n.theme.sizes.fwRegular}),(function(n){return n.theme.colors.blue50}),(function(n){return n.theme.colors.gray800}),(function(n){return n.theme.sizes.fwBold}),R.mbDown),Eo=T.div(So||(So=t(["\n padding-right: 16px;\n margin-bottom: 12px;\n\n & > a {\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 22px;\n }\n\n & > a:hover {\n color: ",";\n }\n\n .iconMenu {\n display: flex;\n align-items: center;\n\n > .imageContainer {\n display: flex;\n width: 32px;\n min-width: 32px;\n align-items: center;\n margin-right: 16px;\n }\n }\n &[data-event-category] > * {\n pointer-events: none;\n }\n"],["\n padding-right: 16px;\n margin-bottom: 12px;\n\n & > a {\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 22px;\n }\n\n & > a:hover {\n color: ",";\n }\n\n .iconMenu {\n display: flex;\n align-items: center;\n\n > .imageContainer {\n display: flex;\n width: 32px;\n min-width: 32px;\n align-items: center;\n margin-right: 16px;\n }\n }\n &[data-event-category] > * {\n pointer-events: none;\n }\n"])),(function(n){return n.theme.colors.gray800}),(function(n){return n.theme.sizes.fsParagraph4}),(function(n){return n.theme.sizes.fwRegular}),(function(n){return n.theme.colors.primaryBase})),wo=T.div(Io||(Io=t([""],[""])));T.div(Ao||(Ao=t([""],[""])));var ko,Co,To,_o,Lo,So,Io,Ao,No,Mo,Oo=T.div(No||(No=t(["\n display: flex;\n align-items: center;\n\n "," {\n padding: 8px;\n }\n\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 24px;\n\n &[data-theme='marryBaby'] {\n color: ",";\n }\n &[data-event-category] * {\n pointer-events: none;\n }\n"],["\n display: flex;\n align-items: center;\n\n "," {\n padding: 8px;\n }\n\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 24px;\n\n &[data-theme='marryBaby'] {\n color: ",";\n }\n &[data-event-category] * {\n pointer-events: none;\n }\n"])),R.mbDown,(function(n){return n.theme.colors.primaryBase}),(function(n){return n.theme.sizes.fsParagraph4}),(function(n){return n.theme.sizes.fwBold}),(function(n){return n.theme.mbColors.pink})),Po=T.div(Mo||(Mo=t(["\n display: flex;\n align-items: center;\n\n margin-left: 10px;\n"],["\n display: flex;\n align-items: center;\n\n margin-left: 10px;\n"]))),Ro=function(){return l.createElement(yo,{style:{marginTop:"16px"}},l.createElement("div",null,l.createElement(Y,{height:46})),l.createElement("div",null,l.createElement(Y,{height:46})),l.createElement("div",null,l.createElement(Y,{height:46})))},Bo=function(n){var e=n.isDisplayed,t=void 0!==e&&e,i=n.spotlights,o=n.isLoading,a=n.className,r=n.isMobile,s=n.DISCOVER_URL_FE,c=n.basePath,p=n.locale,d=n.siteType,m=In();return t?l.createElement(fo,null,l.createElement(A,{tag:"h3",style:{marginBottom:24}},m("home.navigator.menuItem.spotlights")),o&&t?l.createElement(vo,{className:a},l.createElement(Ro,null)):l.createElement(vo,{"data-is-displayed":t,className:a},i.map((function(n,e){return l.createElement(Eo,{style:{textDecoration:"none"},key:"spotlight-"+e},r?l.createElement("a",{href:n.permalink,style:{textDecoration:"none",color:B.colors.gray800}},l.createElement(bo,{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://".concat(X[p]).concat(n.permalink)},l.createElement(wo,null,n.name))):l.createElement("a",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://".concat(X[p]).concat(n.permalink),style:{textDecoration:"none",pointerEvents:"auto"},href:"".concat(s).concat(n.permalink)},n.name))})),l.createElement("a",{style:{textDecoration:"none"},href:"".concat(s,"/spotlight/")},l.createElement(Oo,{key:"all-spotlights","data-theme":d,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"".concat(s,"/spotlight/")},m("home.navigator.menuItem.allSpotlight"),l.createElement(Po,null,"helloSites"===d?l.createElement("img",{src:"".concat(c,"/svg/chevronRightActive.svg"),style:{width:"16px",height:"16px"},alt:m("home.navigator.menuItem.allSpotlight")}):l.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l.createElement("path",{d:"M6.5 12H17.5M17.5 12L12.9118 8M17.5 12L12.9118 16",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"}))))))):null},Do=function(n){var e=n.locale,t=n.basePath,i=n.isDisplayed,o=void 0!==i&&i,a=n.categories,r=n.spotlightsList,s=n.type,c=n.onSelectCategory,p=n.onClosePopup,d=n.desktopPopupType,m=n.isMobile,h=n.isLoading,g=n.DISCOVER_URL_FE,u=n.siteType,x=void 0===u?"helloSites":u,f=In();return m?l.createElement(l.Fragment,null,h&&o?l.createElement(tt,null,l.createElement(xo,null)):l.createElement(tt,{"data-is-displayed":o,"data-category-list-type":s},l.createElement(A,{tag:"h3",style:{marginBottom:8}},f("home.navigator.menuItem.healthCategories")),l.createElement(it,null,a.map((function(n,i){return l.createElement("div",{key:s+"-category-"+i},l.createElement("a",{style:{textDecoration:"none",color:B.colors.gray800},onClick:function(e){n.childCates&&n.childCates.length>0&&"sub"!==s&&e.preventDefault()},href:g+n.permalink},l.createElement(ot,{onClick:function(){null==c||c(n)},"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://".concat(X[e]).concat(n.permalink),"data-is-heading-category":"sub"===s&&n.childCates&&n.childCates.length>0},l.createElement(at,null,n.displayName),"main"===s&&l.createElement(lt,null,"helloSites"===x?l.createElement("img",{src:"".concat(t,"/svg/chevronRight.svg"),style:{width:"16px",height:"16px"},alt:n.categoryName}):l.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l.createElement("path",{d:"M6.5 12H17.5M17.5 12L12.9118 8M17.5 12L12.9118 16",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"})))),"sub"===s&&n.childCates&&n.childCates.length>0&&n.childCates.map((function(n,e){return l.createElement("a",{style:{textDecoration:"none"},href:n.permalink,key:s+"-2-"+e},l.createElement(ot,{"data-is-heading-category":"sub"===s&&n.childCates&&n.childCates.length>0},l.createElement(N,{size:"p3"},n.displayName)))}))))})),l.createElement("a",{style:{textDecoration:"none"},href:"".concat(g,"/categories/")},l.createElement(rt,{key:"all-categories","data-theme":x,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"".concat(g,"/categories/")},f("home.navigator.menuItem.allCategories"),l.createElement(st,null,"helloSites"===x?l.createElement("img",{src:"".concat(t,"/svg/chevronRightActive.svg"),style:{width:"16px",height:"16px"},alt:f("home.navigator.menuItem.allCategories")}):l.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l.createElement("path",{d:"M6.5 12H17.5M17.5 12L12.9118 8M17.5 12L12.9118 16",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"})))))),l.createElement(Bo,{isDisplayed:"main"===s,spotlights:r,isLoading:!1,isMobile:m,basePath:t,DISCOVER_URL_FE:g,locale:e,siteType:x}))):l.createElement(ct,{className:"top-menu-categories",onClick:p,"data-is-display":"categories"===d},l.createElement(pt,null,l.createElement(P,{style:{padding:"0 16px"},type:x},l.createElement(dt,{"data-popup-type":d,onClick:function(n){n.stopPropagation()}},l.createElement("div",null,l.createElement(A,{tag:"h3",style:{marginBottom:24}},f("home.navigator.menuItem.healthCategories")),l.createElement(mt,{"data-disabled-divider":0===r.length},a.map((function(n,t){return l.createElement(ht,{style:{textDecoration:"none"},key:n.categoryName+t},l.createElement("a",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://".concat(X[e]).concat(n.permalink),style:{textDecoration:"none",pointerEvents:"auto"},onClick:p,href:"".concat(g).concat(n.permalink)},n.displayName),l.createElement(gt,null,n.childCates&&n.childCates.map((function(n,t){return l.createElement("a",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://".concat(X[e]).concat(n.permalink),style:{textDecoration:"none",pointerEvents:"auto"},href:n.permalink,key:t},n.displayName)}))))})),l.createElement("a",{style:{textDecoration:"none"},href:"".concat(g,"/categories/")},l.createElement(rt,{onClick:p,key:"all-categories","data-theme":x,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"".concat(g,"/categories/")},f("home.navigator.menuItem.allCategories"),l.createElement(st,null,"helloSites"===x?l.createElement("img",{src:"".concat(t,"/svg/chevronRightActive.svg"),style:{width:"16px",height:"16px"},alt:f("home.navigator.menuItem.allCategories")}):l.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l.createElement("path",{d:"M6.5 12H17.5M17.5 12L12.9118 8M17.5 12L12.9118 16",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"}))))))),l.createElement(Bo,{isDisplayed:"main"===s,spotlights:r,isLoading:!1,basePath:t,DISCOVER_URL_FE:g,locale:e,siteType:x}),l.createElement(ut,{onClick:p},l.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"})))))))},Ho=T.div(Wo||(Wo=t([""],[""]))),zo=T.div(Zo||(Zo=t(["\n display: flex;\n width: 40px;\n height: 40px;\n align-items: center;\n justify-content: center;\n\n margin-right: 16px;\n border-radius: 50%;\n"],["\n display: flex;\n width: 40px;\n height: 40px;\n align-items: center;\n justify-content: center;\n\n margin-right: 16px;\n border-radius: 50%;\n"]))),Uo=T.div(Ko||(Ko=t(["\n display: flex;\n margin-left: 48px;\n\n > :first-child {\n margin-right: 24px;\n }\n"],["\n display: flex;\n margin-left: 48px;\n\n > :first-child {\n margin-right: 24px;\n }\n"]))),Fo=T.div(Xo||(Xo=t(["\n display: flex;\n width: 100%;\n align-items: center;\n justify-content: space-between;\n padding: 16px 20px;\n //height: 40px;\n\n background-color: ",";\n font-size: ",";\n\n &[data-is-heading-category='true'] {\n border-bottom: none;\n background-color: ",";\n color: ",";\n font-weight: ",";\n }\n\n > svg:first-child {\n margin-right: 24px;\n }\n"],["\n display: flex;\n width: 100%;\n align-items: center;\n justify-content: space-between;\n padding: 16px 20px;\n //height: 40px;\n\n background-color: ",";\n font-size: ",";\n\n &[data-is-heading-category='true'] {\n border-bottom: none;\n background-color: ",";\n color: ",";\n font-weight: ",";\n }\n\n > svg:first-child {\n margin-right: 24px;\n }\n"])),(function(n){return n.theme.colors.white}),(function(n){return n.theme.sizes.fsParagraph4}),(function(n){return n.theme.colors.blue50}),(function(n){return n.theme.colors.gray800}),(function(n){return n.theme.sizes.fwBold})),jo=T.div(Qo||(Qo=t(["\n overflow: hidden;\n > .expanding {\n animation-duration: 0.3s;\n animation-name: expandingTopToBottom;\n }\n\n > .collapsing {\n margin-top: -100%;\n animation-duration: 0.3s;\n animation-name: collapsingBottomToTop;\n }\n"],["\n overflow: hidden;\n > .expanding {\n animation-duration: 0.3s;\n animation-name: expandingTopToBottom;\n }\n\n > .collapsing {\n margin-top: -100%;\n animation-duration: 0.3s;\n animation-name: collapsingBottomToTop;\n }\n"]))),Go=T.div(qo||(qo=t(["\n position: absolute;\n z-index: ",";\n top: 64px;\n\n min-width: 375px;\n align-items: center;\n background-color: transparent;\n &[data-is-display='false'] {\n display: none;\n }\n"],["\n position: absolute;\n z-index: ",";\n top: 64px;\n\n min-width: 375px;\n align-items: center;\n background-color: transparent;\n &[data-is-display='false'] {\n display: none;\n }\n"])),hn),Yo=T.div(Jo||(Jo=t(["\n position: fixed;\n top: 69px;\n left: 0;\n width: 100vw;\n height: 100vh;\n"],["\n position: fixed;\n top: 69px;\n left: 0;\n width: 100vw;\n height: 100vh;\n"]))),Vo=T.div($o||($o=t(["\n z-index: ",";\n\n width: 100%;\n\n max-height: 80vh;\n\n padding: 20px 0;\n\n border: 1px solid ",";\n //align-items: center;\n //display: flex;\n //flex: 1;\n background-color: ",";\n\n border-radius: 16px;\n box-shadow: 0px 24px 32px rgba(0, 0, 0, 0.04),\n 0px 16px 24px rgba(0, 0, 0, 0.04), 0px 4px 8px rgba(0, 0, 0, 0.04),\n 0px 0px 1px rgba(0, 0, 0, 0.04);\n\n overflow-y: auto;\n"],["\n z-index: ",";\n\n width: 100%;\n\n max-height: 80vh;\n\n padding: 20px 0;\n\n border: 1px solid ",";\n //align-items: center;\n //display: flex;\n //flex: 1;\n background-color: ",";\n\n border-radius: 16px;\n box-shadow: 0px 24px 32px rgba(0, 0, 0, 0.04),\n 0px 16px 24px rgba(0, 0, 0, 0.04), 0px 4px 8px rgba(0, 0, 0, 0.04),\n 0px 0px 1px rgba(0, 0, 0, 0.04);\n\n overflow-y: auto;\n"])),gn,(function(n){return n.theme.colors.neutral50}),(function(n){return n.theme.colors.white}));T.div(na||(na=t(["\n position: relative;\n display: flex;\n flex-wrap: wrap;\n align-items: flex-start;\n justify-content: flex-start;\n padding: 24px;\n"],["\n position: relative;\n display: flex;\n flex-wrap: wrap;\n align-items: flex-start;\n justify-content: flex-start;\n padding: 24px;\n"])));var Wo,Zo,Ko,Xo,Qo,qo,Jo,$o,na,ea,ta,ia=T.div(ea||(ea=t(["\n position: relative;\n display: flex;\n flex-direction: column;\n"],["\n position: relative;\n display: flex;\n flex-direction: column;\n"])));T.div(ta||(ta=t(["\n padding-right: 16px;\n margin-bottom: 12px;\n\n & > a {\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 22px;\n }\n\n & > a:hover {\n color: ",";\n }\n\n .iconMenu {\n display: flex;\n align-items: center;\n\n > .imageContainer {\n display: flex;\n width: 32px;\n min-width: 32px;\n align-items: center;\n margin-right: 16px;\n }\n }\n"],["\n padding-right: 16px;\n margin-bottom: 12px;\n\n & > a {\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 22px;\n }\n\n & > a:hover {\n color: ",";\n }\n\n .iconMenu {\n display: flex;\n align-items: center;\n\n > .imageContainer {\n display: flex;\n width: 32px;\n min-width: 32px;\n align-items: center;\n margin-right: 16px;\n }\n }\n"])),(function(n){return n.theme.colors.gray800}),(function(n){return n.theme.sizes.fsParagraph4}),(function(n){return n.theme.sizes.fwRegular}),(function(n){return n.theme.colors.primaryBase}));var oa,aa,la,ra,sa,ca,pa,da,ma,ha,ga,ua,xa,fa=function(n){var e=n.isDisplayed,t=void 0!==e&&e,i=n.categories,o=n.type,a=n.onSelectCategory,s=n.desktopPopupType,c=n.isMobile,p=n.isLoading,d=n.MARRY_BABY_FE,m=r(-1),h=m[0],g=m[1],u=r(!1),x=u[0],f=u[1];return c?l.createElement(l.Fragment,null,p&&t?l.createElement(tt,null,l.createElement(xo,null)):l.createElement(tt,{"data-is-displayed":t,"data-category-list-type":o,style:{marginTop:24}},l.createElement(Ho,{className:"marry-bb-menu-categories"},i.map((function(n,e){return l.createElement("div",{key:o+"-category-"+e,className:"wrapper-menu-category wrapper-menu-category-".concat(e),"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://marrybaby.vn".concat(n.permalink)},l.createElement("a",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://marrybaby.vn".concat(n.permalink),style:{textDecoration:"none",color:B.colors.gray800},onClick:function(n){n.preventDefault()},href:"".concat(d).concat(n.permalink)},l.createElement(Fo,{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://marrybaby.vn".concat(n.permalink),onClick:function(){var t;"main"===o||0===(null===(t=n.childCates)||void 0===t?void 0:t.length)?null==a||a(n):h===e?(f(!0),setTimeout((function(){g(-1),setTimeout((function(){f(!1)}),100)}),300)):g(e)},style:{display:"flex",alignItems:"center",justifyContent:"space-between"}},"main"===o?l.createElement(zo,{style:{backgroundColor:n.imageColor}},l.createElement("img",{src:n.iconUrl,style:{width:"24px",height:"24px"},alt:n.name})):l.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l.createElement("path",{d:"M12 10C10.9 10 10 10.9 10 12C10 13.1 10.9 14 12 14C13.1 14 14 13.1 14 12C14 10.9 13.1 10 12 10Z",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"})),l.createElement(ui,{style:{fontWeight:B.sizes.fwSemiBold},type:"subtitle-2"},n.displayName),l.createElement(xt,null),"main"===o?l.createElement(lt,null,l.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l.createElement("path",{d:"M8.5 6L11 8.5L8.5 11",stroke:"#9495A0",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"}))):l.createElement(lt,null,h!==e?l.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l.createElement("path",{d:"M8.5 6L11 8.5L8.5 11",stroke:"#9495A0",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"})):l.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l.createElement("path",{d:"M11.5 7.5L9 10L6.5 7.5",stroke:"#2661AD",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"}))))),"sub"===o&&n.childCates&&h===e&&n.childCates.length>0&&l.createElement(jo,null,l.createElement("div",{className:x?"collapsing":"expanding"},n.childCates.map((function(e,t){return l.createElement("a",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://marrybaby.vn".concat(n.permalink),style:{textDecoration:"none"},href:"".concat(d).concat(e.permalink),key:o+"-2-"+t},l.createElement(Fo,{"data-is-heading-category":"sub"===o&&e.childCates&&e.childCates.length>0},l.createElement(Uo,null,l.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l.createElement("path",{d:"M12 10C10.9 10 10 10.9 10 12C10 13.1 10.9 14 12 14C13.1 14 14 13.1 14 12C14 10.9 13.1 10 12 10Z",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"})),l.createElement(ui,{type:"subtitle-2"},e.displayName))))})))),l.createElement("div",{style:{display:"none"}},n.childCates&&n.childCates.map((function(n,e){return l.createElement("a",{href:"".concat(d).concat(n.permalink),key:e,style:{textDecoration:"none"}},l.createElement("div",{"data-is-heading-category":"sub"===o&&n.childCates&&n.childCates.length>0},l.createElement("p",null,n.displayName)))}))))}))))):l.createElement(Go,{className:"top-menu-categories","data-is-display":"categories"===s,tabIndex:0},l.createElement(Yo,null),l.createElement(Vo,{"data-popup-type":s},l.createElement(ia,{className:"marry-bb-menu-categories"},p?l.createElement("div",{style:{width:"100%",padding:"0 20px"}},l.createElement(xo,null)):i.map((function(n,e){return l.createElement("div",{className:"wrapper-menu-category wrapper-menu-category-".concat(e),"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://marrybaby.vn".concat(n.permalink),key:o+"-category-"+e,onClick:function(){a(n)}},l.createElement("a",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://marrybaby.vn".concat(n.permalink),style:{textDecoration:"none",color:B.colors.gray800},href:"".concat(d).concat(n.permalink)},l.createElement(Fo,{style:{display:"flex",alignItems:"center",justifyContent:"flex-start"}},l.createElement(zo,{style:{backgroundColor:n.imageColor}},l.createElement("img",{src:n.iconUrl,style:{width:"24px",height:"24px"},alt:n.name})),l.createElement(ui,{style:{fontWeight:B.sizes.fwSemiBold},type:"subtitle-2"},n.displayName))))})))))},ya=function(n){var e=n.isDisplayed,t=void 0!==e&&e,i=n.locale,o=n.discoverApiDomain,a=n.basePath,r=n.categories,s=n.spotlightsList,c=n.type,p=n.onSelectCategory,d=n.onClosePopup,m=n.desktopPopupType,h=n.isMobile,g=n.isLoading,u=n.callApiHandler,x=n.DISCOVER_URL_FE,f=n.MARRY_BABY_FE,y=n.siteType,v=void 0===y?"helloSites":y;return"helloSites"===v?l.createElement(Do,{locale:i,basePath:a,DISCOVER_URL_FE:x,isDisplayed:t,type:c,onSelectCategory:p,categories:r,spotlightsList:s,isLoading:g,isMobile:h,siteType:v,onClosePopup:d,desktopPopupType:m}):l.createElement(fa,{basePath:a,callApiHandler:u,discoverApiDomain:o,isDisplayed:t,type:c,onSelectCategory:p,categories:r,isLoading:g,isMobile:h,MARRY_BABY_FE:f,desktopPopupType:m})},va=T.div(oa||(oa=t(["\n & > div {\n width: 100%;\n margin-bottom: 8px;\n }\n"],["\n & > div {\n width: 100%;\n margin-bottom: 8px;\n }\n"]))),ba=T.div(aa||(aa=t(["\n & > :not(:last-child) {\n border-bottom: 1px solid\n ",";\n }\n\n & > div > :not(:last-child) {\n border-bottom: 1px solid\n ",";\n }\n\n &[data-category-list-type='sub'] {\n padding-bottom: 72px;\n }\n\n &[data-is-displayed='false'] {\n display: none;\n }\n\n //margin-top: 112px;\n"],["\n & > :not(:last-child) {\n border-bottom: 1px solid\n ",";\n }\n\n & > div > :not(:last-child) {\n border-bottom: 1px solid\n ",";\n }\n\n &[data-category-list-type='sub'] {\n padding-bottom: 72px;\n }\n\n &[data-is-displayed='false'] {\n display: none;\n }\n\n //margin-top: 112px;\n"])),(function(n){return n.theme.colors.neutral100}),(function(n){return n.theme.colors.neutral100})),Ea=T.div(la||(la=t(["\n display: flex;\n width: 100%;\n height: 56px;\n align-items: center;\n justify-content: space-between;\n padding: 8px;\n background-color: ",";\n font-size: ",";\n\n &[data-is-heading-category='true'] {\n border-bottom: none;\n background-color: ",";\n color: ",";\n font-weight: ",";\n }\n &[data-event-category] > * {\n pointer-events: none;\n }\n"],["\n display: flex;\n width: 100%;\n height: 56px;\n align-items: center;\n justify-content: space-between;\n padding: 8px;\n background-color: ",";\n font-size: ",";\n\n &[data-is-heading-category='true'] {\n border-bottom: none;\n background-color: ",";\n color: ",";\n font-weight: ",";\n }\n &[data-event-category] > * {\n pointer-events: none;\n }\n"])),(function(n){return n.theme.colors.white}),(function(n){return n.theme.sizes.fsParagraph4}),(function(n){return n.theme.colors.blue50}),(function(n){return n.theme.colors.gray800}),(function(n){return n.theme.sizes.fwBold})),wa=T.div(ra||(ra=t([""],[""]))),ka=T.div(sa||(sa=t([""],[""]))),Ca=T.div(ca||(ca=t(["\n display: flex;\n align-items: center;\n\n > :first-child {\n min-width: 40px;\n margin-right: 16px;\n }\n"],["\n display: flex;\n align-items: center;\n\n > :first-child {\n min-width: 40px;\n margin-right: 16px;\n }\n"]))),Ta=T.div(pa||(pa=t(["\n position: fixed;\n z-index: ",";\n top: 69px;\n left: 0;\n width: 100%;\n height: 100%;\n align-items: center;\n background-color: transparent;\n &[data-is-display='false'] {\n display: none;\n }\n"],["\n position: fixed;\n z-index: ",";\n top: 69px;\n left: 0;\n width: 100%;\n height: 100%;\n align-items: center;\n background-color: transparent;\n &[data-is-display='false'] {\n display: none;\n }\n"])),hn),_a=T.div(da||(da=t(["\n z-index: ",";\n align-items: center;\n\n border: 1px solid ",";\n background-color: ",";\n box-shadow: 0px 24px 32px rgba(0, 0, 0, 0.04),\n 0px 16px 24px rgba(0, 0, 0, 0.04), 0px 4px 8px rgba(0, 0, 0, 0.04),\n 0px 0px 1px rgba(0, 0, 0, 0.04);\n"],["\n z-index: ",";\n align-items: center;\n\n border: 1px solid ",";\n background-color: ",";\n box-shadow: 0px 24px 32px rgba(0, 0, 0, 0.04),\n 0px 16px 24px rgba(0, 0, 0, 0.04), 0px 4px 8px rgba(0, 0, 0, 0.04),\n 0px 0px 1px rgba(0, 0, 0, 0.04);\n"])),gn,(function(n){return n.theme.colors.neutral50}),(function(n){return n.theme.colors.white})),La=T.div(ma||(ma=t(["\n position: relative;\n display: flex;\n flex-wrap: wrap;\n align-items: flex-start;\n justify-content: flex-start;\n padding: 48px 0;\n"],["\n position: relative;\n display: flex;\n flex-wrap: wrap;\n align-items: flex-start;\n justify-content: flex-start;\n padding: 48px 0;\n"]))),Sa=T.div(ha||(ha=t(["\n width: 33%;\n height: 48px;\n padding-right: 16px;\n margin-bottom: 12px;\n\n & > a {\n display: flex;\n align-items: center;\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 22px;\n\n & > :first-child {\n margin-right: 16px;\n }\n }\n\n & > a > p:hover {\n color: ",";\n }\n [data-event-category] > * {\n pointer-events: none;\n }\n"],["\n width: 33%;\n height: 48px;\n padding-right: 16px;\n margin-bottom: 12px;\n\n & > a {\n display: flex;\n align-items: center;\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 22px;\n\n & > :first-child {\n margin-right: 16px;\n }\n }\n\n & > a > p:hover {\n color: ",";\n }\n [data-event-category] > * {\n pointer-events: none;\n }\n"])),(function(n){return n.theme.colors.gray800}),(function(n){return n.theme.sizes.fsParagraph4}),(function(n){return n.theme.sizes.fwRegular}),(function(n){return n.theme.colors.primaryBase})),Ia=T.div(ga||(ga=t(["\n display: flex;\n align-items: center;\n\n padding-right: 16px;\n margin-bottom: 12px;\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 24px;\n\n &[data-theme='marryBaby'] {\n color: ",";\n }\n &[data-event-category] * {\n pointer-events: none;\n }\n"],["\n display: flex;\n align-items: center;\n\n padding-right: 16px;\n margin-bottom: 12px;\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 24px;\n\n &[data-theme='marryBaby'] {\n color: ",";\n }\n &[data-event-category] * {\n pointer-events: none;\n }\n"])),(function(n){return n.theme.colors.primaryBase}),(function(n){return n.theme.sizes.fsParagraph4}),(function(n){return n.theme.sizes.fwBold}),(function(n){return n.theme.mbColors.pink})),Aa=T.div(ua||(ua=t(["\n display: flex;\n align-items: center;\n\n margin-left: 10px;\n"],["\n display: flex;\n align-items: center;\n\n margin-left: 10px;\n"]))),Na=T.div(xa||(xa=t(["\n position: absolute;\n top: 16px;\n right: 0;\n display: flex;\n align-items: center;\n cursor: pointer;\n"],["\n position: absolute;\n top: 16px;\n right: 0;\n display: flex;\n align-items: center;\n cursor: pointer;\n"]))),Ma=function(){return l.createElement(va,{style:{marginTop:"16px"}},l.createElement("div",null,l.createElement(Y,{height:46})),l.createElement("div",null,l.createElement(Y,{height:46})),l.createElement("div",null,l.createElement(Y,{height:46})))},Oa=function(n){var e=n.isDisplayed,t=n.communities,i=n.type,o=n.onSelectCommunity,a=n.onClosePopup,r=n.isLoading,s=n.basePath,c=n.TOGETHER_URL_FE,p=n.siteType,d=void 0===p?"helloSites":p,m=n.isMobile,h=n.locale,g=n.desktopPopupType,u=In();return m?l.createElement(l.Fragment,null,r&&e?l.createElement(ba,null,l.createElement(Ma,null)):l.createElement(ba,{"data-category-list-type":i,"data-is-displayed":e},"main"===i&&t.map((function(n,e){return l.createElement("div",{key:i+"-category-"+e},l.createElement("a",{style:{textDecoration:"none",color:B.colors.gray800},onClick:function(n){n.preventDefault()},href:"".concat(c,"/").concat(n.communitySlug)},l.createElement(Ea,{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://".concat(X[h],"/").concat(n.communitySlug),onClick:function(){o({community:n,isSetToSubMenu:!0})},"data-is-heading-category":!1},l.createElement(Ca,null,l.createElement("img",{src:n.thumbnail,style:{width:"40px",height:"40px"},alt:n.title}),l.createElement(wa,null,n.title)),l.createElement(ka,null,"helloSites"===d?l.createElement("img",{src:"".concat(s,"/svg/chevronRight.svg"),style:{width:"16px",height:"16px"},alt:n.title}):l.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l.createElement("path",{d:"M6.5 12H17.5M17.5 12L12.9118 8M17.5 12L12.9118 16",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"}))))))})),"sub"===i&&t.map((function(n,e){return l.createElement("div",{key:i+"-category-"+e},l.createElement("a",{style:{textDecoration:"none",color:B.colors.gray800},onClick:function(n){n.preventDefault()},href:"".concat(c,"/").concat(n.communitySlug)},l.createElement(Ea,{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://".concat(X[h],"/").concat(n.communitySlug),onClick:function(){o({community:n,isSetToSubMenu:!1})},"data-is-heading-category":!1},l.createElement(Ca,null,l.createElement("img",{src:n.thumbnail,style:{width:"40px",height:"40px"},alt:n.title}),l.createElement(wa,null,n.title)))))})),l.createElement("a",{style:{textDecoration:"none"},href:c+"/"},l.createElement(Ia,{onClick:a,key:"all-communities","data-theme":d,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":c+"/"},u("home.navigator.menuItem.allCommunities"),l.createElement(Aa,null,l.createElement("img",{src:"".concat(s,"/svg/chevronRightActive.svg"),style:{width:"16px",height:"16px"},alt:u("home.navigator.menuItem.allCommunities")})))))):l.createElement(Ta,{className:"top-menu-communities",onClick:a,"data-is-display":"communities"===g},l.createElement(_a,null,l.createElement(P,{style:{padding:"0 16px"},type:d},l.createElement(La,{"data-popup-type":g,onClick:function(n){n.stopPropagation()}},l.createElement(l.Fragment,null,t.map((function(n){return l.createElement(Sa,{key:n.title,onClick:a},l.createElement("a",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://".concat(X[h],"/").concat(n.communitySlug),style:{textDecoration:"none",color:B.colors.gray800},className:"iconMenu",href:"".concat(c,"/").concat(n.communitySlug)},l.createElement("div",{style:{display:"flex"}},l.createElement("img",{alt:"health-tool-icon",src:n.thumbnail||"".concat(s,"/images/avatar.jpg"),style:{width:"32px",height:"32px"}})),l.createElement("p",null,n.title)))})),l.createElement("a",{style:{textDecoration:"none"},href:c+"/"},l.createElement(Ia,{onClick:a,key:"all-communities","data-theme":d,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":c+"/"},u("home.navigator.menuItem.allCommunities"),l.createElement(Aa,null,l.createElement("img",{src:"".concat(s,"/svg/chevronRightActive.svg"),style:{width:"16px",height:"16px"},alt:u("home.navigator.menuItem.allCommunities")}))))),l.createElement(Na,{onClick:a},l.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"})))))))},Pa=T.div(za||(za=t(["\n display: flex;\n width: 48px;\n height: 48px;\n align-items: center;\n justify-content: center;\n\n margin-right: 16px;\n\n //background-color: ",";\n border-radius: 50%;\n"],["\n display: flex;\n width: 48px;\n height: 48px;\n align-items: center;\n justify-content: center;\n\n margin-right: 16px;\n\n //background-color: ",";\n border-radius: 50%;\n"])),(function(n){return n.theme.mbColors.lightGray})),Ra=T.div(Ua||(Ua=t(["\n display: flex;\n width: 100%;\n height: 64px;\n align-items: center;\n justify-content: flex-start;\n padding: 8px 16px;\n background-color: ",";\n font-size: ",";\n"],["\n display: flex;\n width: 100%;\n height: 64px;\n align-items: center;\n justify-content: flex-start;\n padding: 8px 16px;\n background-color: ",";\n font-size: ",";\n"])),(function(n){return n.theme.colors.white}),(function(n){return n.theme.sizes.fsParagraph4})),Ba=T.div(Fa||(Fa=t(["\n position: absolute;\n z-index: ",";\n top: 64px;\n\n min-width: 375px;\n align-items: center;\n background-color: transparent;\n &[data-is-display='false'] {\n display: none;\n }\n"],["\n position: absolute;\n z-index: ",";\n top: 64px;\n\n min-width: 375px;\n align-items: center;\n background-color: transparent;\n &[data-is-display='false'] {\n display: none;\n }\n"])),hn),Da=T.div(ja||(ja=t(["\n position: fixed;\n top: 69px;\n left: 0;\n width: 100vw;\n height: 100vh;\n"],["\n position: fixed;\n top: 69px;\n left: 0;\n width: 100vw;\n height: 100vh;\n"]))),Ha=T.div(Ga||(Ga=t(["\n z-index: ",";\n\n width: 100%;\n\n max-height: 80vh;\n\n padding: 20px 0;\n\n border: 1px solid ",";\n //align-items: center;\n //display: flex;\n //flex: 1;\n background-color: ",";\n\n border-radius: 16px;\n box-shadow: 0px 24px 32px rgba(0, 0, 0, 0.04),\n 0px 16px 24px rgba(0, 0, 0, 0.04), 0px 4px 8px rgba(0, 0, 0, 0.04),\n 0px 0px 1px rgba(0, 0, 0, 0.04);\n\n overflow-y: auto;\n"],["\n z-index: ",";\n\n width: 100%;\n\n max-height: 80vh;\n\n padding: 20px 0;\n\n border: 1px solid ",";\n //align-items: center;\n //display: flex;\n //flex: 1;\n background-color: ",";\n\n border-radius: 16px;\n box-shadow: 0px 24px 32px rgba(0, 0, 0, 0.04),\n 0px 16px 24px rgba(0, 0, 0, 0.04), 0px 4px 8px rgba(0, 0, 0, 0.04),\n 0px 0px 1px rgba(0, 0, 0, 0.04);\n\n overflow-y: auto;\n"])),gn,(function(n){return n.theme.colors.neutral50}),(function(n){return n.theme.colors.white}));T.div(Ya||(Ya=t(["\n position: relative;\n display: flex;\n flex-wrap: wrap;\n align-items: flex-start;\n justify-content: flex-start;\n padding: 24px;\n"],["\n position: relative;\n display: flex;\n flex-wrap: wrap;\n align-items: flex-start;\n justify-content: flex-start;\n padding: 24px;\n"])));var za,Ua,Fa,ja,Ga,Ya,Va,Wa,Za=T.div(Va||(Va=t(["\n position: relative;\n display: flex;\n flex-direction: column;\n"],["\n position: relative;\n display: flex;\n flex-direction: column;\n"])));T.div(Wa||(Wa=t(["\n padding-right: 16px;\n margin-bottom: 12px;\n\n & > a {\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 22px;\n }\n\n & > a:hover {\n color: ",";\n }\n\n .iconMenu {\n display: flex;\n align-items: center;\n\n > .imageContainer {\n display: flex;\n width: 32px;\n min-width: 32px;\n align-items: center;\n margin-right: 16px;\n }\n }\n"],["\n padding-right: 16px;\n margin-bottom: 12px;\n\n & > a {\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 22px;\n }\n\n & > a:hover {\n color: ",";\n }\n\n .iconMenu {\n display: flex;\n align-items: center;\n\n > .imageContainer {\n display: flex;\n width: 32px;\n min-width: 32px;\n align-items: center;\n margin-right: 16px;\n }\n }\n"])),(function(n){return n.theme.colors.gray800}),(function(n){return n.theme.sizes.fsParagraph4}),(function(n){return n.theme.sizes.fwRegular}),(function(n){return n.theme.colors.primaryBase}));var Ka=function(n){var e=n.isDisplayed,t=void 0!==e&&e,i=n.communities,o=n.onSelectCommunity,a=n.isLoading,r=n.basePath,s=n.type,c=n.isMobile,p=n.onClosePopup,d=n.desktopPopupType,m=n.TOGETHER_URL_FE;return c?a&&t?l.createElement(ba,null,l.createElement(Ma,null)):l.createElement(ba,{style:{marginTop:24},"data-category-list-type":s,"data-is-displayed":t},i.map((function(n,e){return l.createElement("a",{className:"wrapper-menu-community wrapper-menu-community-".concat(e," iconMenu"),key:"community-"+e,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://marrybaby.vn/community/".concat(n.communitySlug)},l.createElement(Ra,{onClick:function(){o({community:n,isSetToSubMenu:!1})}},l.createElement(Pa,null,l.createElement("img",{alt:"health-tool-icon",src:n.thumbnail||"".concat(r,"/images/avatar.jpg"),style:{width:"24px",height:"24px"}})),l.createElement(wa,null,n.title)))}))):l.createElement(Ba,{className:"top-menu-communities",onClick:p,"data-is-display":"communities"===d},l.createElement(Da,null),l.createElement(Ha,{"data-popup-type":d,onClick:function(n){n.stopPropagation()}},l.createElement(Za,null,a?l.createElement("div",{style:{width:"100%",padding:"0 20px"}},l.createElement(Ma,null)):i.map((function(n,e){return l.createElement("a",{className:"wrapper-menu-community wrapper-menu-community-".concat(e," iconMenu"),"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://marrybaby.vn/community/".concat(n.communitySlug),style:{textDecoration:"none",color:B.colors.gray800},href:"".concat(m,"/").concat(n.communitySlug),key:n.title},l.createElement(Ra,{onClick:p},l.createElement(Pa,{style:{backgroundColor:n.color||B.mbColors.lightGray}},l.createElement("img",{alt:n.communitySlug,src:n.thumbnail||"".concat(r,"/images/avatar.jpg"),style:{width:"24px",height:"24px"}})),l.createElement(ui,{style:{fontWeight:B.sizes.fwSemiBold},type:"subtitle-2"},n.title)))})))))},Xa=function(n){var e=n.isDisplayed,t=void 0!==e&&e,i=n.locale,o=n.communities,a=n.type,r=n.onSelectCommunity,s=n.onClosePopup,c=n.isLoading,p=n.basePath,d=n.TOGETHER_URL_FE,m=n.siteType,h=void 0===m?"helloSites":m,g=n.isMobile,u=n.desktopPopupType,x=n.togetherApiDomain;return"helloSites"===h?l.createElement(Oa,{isDisplayed:t,locale:i,TOGETHER_URL_FE:d,basePath:p,type:a,onSelectCommunity:r,communities:o,isLoading:c,isMobile:g,siteType:h,togetherApiDomain:x,desktopPopupType:u,onClosePopup:s}):l.createElement(Ka,{isDisplayed:t,locale:i,TOGETHER_URL_FE:d,basePath:p,type:a,onSelectCommunity:r,communities:o,isLoading:c,isMobile:g,togetherApiDomain:x,desktopPopupType:u,onClosePopup:s})},Qa=T.div(sl||(sl=t(["\n & > div {\n width: 100%;\n margin-bottom: 8px;\n }\n"],["\n & > div {\n width: 100%;\n margin-bottom: 8px;\n }\n"]))),qa=T.div(cl||(cl=t(["\n &[data-category-list-type='sub'] {\n padding-bottom: 72px;\n }\n\n &[data-is-displayed='false'] {\n display: none;\n }\n .title {\n margin-bottom: 8px;\n margin-top: 24px;\n }\n"],["\n &[data-category-list-type='sub'] {\n padding-bottom: 72px;\n }\n\n &[data-is-displayed='false'] {\n display: none;\n }\n .title {\n margin-bottom: 8px;\n margin-top: 24px;\n }\n"]))),Ja=T.div(pl||(pl=t(["\n display: flex;\n width: 100%;\n height: 64px;\n align-items: center;\n justify-content: flex-start;\n padding: 8px;\n background-color: ",";\n font-size: ",";\n border-bottom: 1px solid\n ",";\n\n &[data-is-heading-category='true'] {\n /* border-bottom: none; */\n background-color: ",";\n color: ",";\n font-weight: ",";\n }\n > * {\n pointer-events: none;\n }\n"],["\n display: flex;\n width: 100%;\n height: 64px;\n align-items: center;\n justify-content: flex-start;\n padding: 8px;\n background-color: ",";\n font-size: ",";\n border-bottom: 1px solid\n ",";\n\n &[data-is-heading-category='true'] {\n /* border-bottom: none; */\n background-color: ",";\n color: ",";\n font-weight: ",";\n }\n > * {\n pointer-events: none;\n }\n"])),(function(n){return n.theme.colors.white}),(function(n){return n.theme.sizes.fsParagraph4}),(function(n){return n.theme.colors.neutral100}),(function(n){return n.theme.colors.blue50}),(function(n){return n.theme.colors.gray800}),(function(n){return n.theme.sizes.fwBold})),$a=T.div(dl||(dl=t([""],[""]))),nl=T.div(ml||(ml=t(["\n padding-right: 16px;\n"],["\n padding-right: 16px;\n"]))),el=T.div(hl||(hl=t(["\n position: fixed;\n z-index: ",";\n top: 69px;\n left: 0;\n width: 100%;\n height: 100%;\n align-items: center;\n background-color: transparent;\n &[data-is-display='false'] {\n display: none;\n }\n"],["\n position: fixed;\n z-index: ",";\n top: 69px;\n left: 0;\n width: 100%;\n height: 100%;\n align-items: center;\n background-color: transparent;\n &[data-is-display='false'] {\n display: none;\n }\n"])),hn),tl=T.div(gl||(gl=t(["\n z-index: ",";\n align-items: center;\n\n border: 1px solid ",";\n background-color: ",";\n box-shadow: 0px 24px 32px rgba(0, 0, 0, 0.04),\n 0px 16px 24px rgba(0, 0, 0, 0.04), 0px 4px 8px rgba(0, 0, 0, 0.04),\n 0px 0px 1px rgba(0, 0, 0, 0.04);\n"],["\n z-index: ",";\n align-items: center;\n\n border: 1px solid ",";\n background-color: ",";\n box-shadow: 0px 24px 32px rgba(0, 0, 0, 0.04),\n 0px 16px 24px rgba(0, 0, 0, 0.04), 0px 4px 8px rgba(0, 0, 0, 0.04),\n 0px 0px 1px rgba(0, 0, 0, 0.04);\n"])),gn,(function(n){return n.theme.colors.neutral50}),(function(n){return n.theme.colors.white})),il=T.div(ul||(ul=t(["\n position: relative;\n display: flex;\n flex-wrap: wrap;\n align-items: flex-start;\n justify-content: flex-start;\n padding: 48px 0;\n"],["\n position: relative;\n display: flex;\n flex-wrap: wrap;\n align-items: flex-start;\n justify-content: flex-start;\n padding: 48px 0;\n"]))),ol=T.div(xl||(xl=t(["\n width: 33%;\n height: 48px;\n padding-right: 16px;\n margin-bottom: 12px;\n\n &[data-grouped='true'] {\n width: 100%;\n }\n\n & > a {\n display: flex;\n align-items: center;\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 22px;\n\n & > :first-child {\n margin-right: 16px;\n }\n }\n\n & > a > p:hover {\n color: ",";\n }\n [data-event-category] > * {\n pointer-events: none;\n }\n"],["\n width: 33%;\n height: 48px;\n padding-right: 16px;\n margin-bottom: 12px;\n\n &[data-grouped='true'] {\n width: 100%;\n }\n\n & > a {\n display: flex;\n align-items: center;\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 22px;\n\n & > :first-child {\n margin-right: 16px;\n }\n }\n\n & > a > p:hover {\n color: ",";\n }\n [data-event-category] > * {\n pointer-events: none;\n }\n"])),(function(n){return n.theme.colors.gray800}),(function(n){return n.theme.sizes.fsParagraph4}),(function(n){return n.theme.sizes.fwRegular}),(function(n){return n.theme.colors.primaryBase})),al=T.div(fl||(fl=t(["\n display: flex;\n align-items: center;\n\n padding-right: 16px;\n margin-bottom: 12px;\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 24px;\n\n &[data-theme='marryBaby'] {\n color: ",";\n }\n &[data-event-category] * {\n pointer-events: none;\n }\n"],["\n display: flex;\n align-items: center;\n\n padding-right: 16px;\n margin-bottom: 12px;\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 24px;\n\n &[data-theme='marryBaby'] {\n color: ",";\n }\n &[data-event-category] * {\n pointer-events: none;\n }\n"])),(function(n){return n.theme.colors.primaryBase}),(function(n){return n.theme.sizes.fsParagraph4}),(function(n){return n.theme.sizes.fwBold}),(function(n){return n.theme.mbColors.pink})),ll=T.div(yl||(yl=t(["\n display: flex;\n align-items: center;\n\n margin-left: 10px;\n"],["\n display: flex;\n align-items: center;\n\n margin-left: 10px;\n"]))),rl=T.div(vl||(vl=t(["\n position: absolute;\n top: 16px;\n right: 0;\n display: flex;\n align-items: center;\n cursor: pointer;\n"],["\n position: absolute;\n top: 16px;\n right: 0;\n display: flex;\n align-items: center;\n cursor: pointer;\n"])));T.div(bl||(bl=t(["\n &[data-is-displayed='false'] {\n display: none;\n }\n"],["\n &[data-is-displayed='false'] {\n display: none;\n }\n"])));var sl,cl,pl,dl,ml,hl,gl,ul,xl,fl,yl,vl,bl,El,wl,kl=T.div(El||(El=t(["\n margin-bottom: 56px;\n margin-top: 18px;\n"],["\n margin-bottom: 56px;\n margin-top: 18px;\n"]))),Cl=T.div(wl||(wl=t(["\n position: relative;\n display: flex;\n width: 25%;\n flex-direction: column;\n align-items: flex-start;\n justify-content: flex-start;\n margin-bottom: 24px;\n h1 {\n margin-bottom: 20px;\n }\n"],["\n position: relative;\n display: flex;\n width: 25%;\n flex-direction: column;\n align-items: flex-start;\n justify-content: flex-start;\n margin-bottom: 24px;\n h1 {\n margin-bottom: 20px;\n }\n"]))),Tl=function(){return l.createElement(Qa,{style:{marginTop:"16px"}},l.createElement("div",null,l.createElement(Y,{height:46})),l.createElement("div",null,l.createElement(Y,{height:46})),l.createElement("div",null,l.createElement(Y,{height:46})))},_l=function(n){var e=n.healthTools,t=n.onSelectHealthTool,i=n.basePath,o=n.isDesktop,a=n.onClosePopup,r=n.HEALTH_TOOL_URL_FE,s=n.locale,c=n.isGrouped;return(null==e?void 0:e.length)?o?l.createElement(l.Fragment,null,e.map((function(n,e){return l.createElement(ol,{"data-grouped":c,key:n.title,onClick:a},l.createElement("a",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://".concat(X[s]).concat(n.link),style:{textDecoration:"none",color:B.colors.gray800},className:"iconMenu",href:n.link.startsWith("http")?n.link:"".concat(r).concat(n.link)},l.createElement("div",{style:{display:"flex"}},l.createElement("img",{alt:"health-tool-icon",src:n.icon||"/images/avatar.jpg",style:{width:"32px",height:"32px"}})),l.createElement("p",null,n.title)))}))):l.createElement(l.Fragment,null,e.map((function(n,e){return l.createElement("a",{key:"tool-"+e},l.createElement(Ja,{onClick:function(){t(n)},"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://".concat(X[s]).concat(n.link)},l.createElement(nl,null,l.createElement("img",{alt:"health-tool-icon",src:n.icon||"".concat(i,"/images/avatar.jpg"),style:{width:"32px",height:"32px"}})),l.createElement($a,null,n.title)))}))):null},Ll=function(n){var e,t,i,o,a=n.isDisplayed,r=n.healthTools,s=n.healthToolsByCategory,c=n.onSelectHealthTool,p=n.isLoading,d=n.basePath,m=n.locale,h=n.isMobile,g=n.onClosePopup,u=n.desktopPopupType,x=n.HEALTH_TOOL_URL_FE,f=n.STATIC_PAGES,y=n.siteType,v=In();return h?l.createElement(l.Fragment,null,p&&a?l.createElement(qa,null,l.createElement(Tl,null)):l.createElement(qa,{"data-category-list-type":"main","data-is-displayed":a},(null==s?void 0:s.length)?s.map((function(n,e){var t;return!!(null===(t=n.healthTools)||void 0===t?void 0:t.length)&&l.createElement(l.Fragment,{key:"category-health-tool-".concat(e)},l.createElement(A,{tag:"h4",fontWeight:"bold",className:"title"},l.createElement("span",{dangerouslySetInnerHTML:{__html:n.name}})),l.createElement(_l,{healthTools:n.healthTools.slice(0,4),onSelectHealthTool:c,basePath:d,HEALTH_TOOL_URL_FE:x,locale:m}))})):l.createElement(_l,{healthTools:r,onSelectHealthTool:c,basePath:d,HEALTH_TOOL_URL_FE:x,locale:m}),l.createElement(kl,null,l.createElement("a",{href:"".concat(x).concat((null===(e=f[m])||void 0===e?void 0:e.HEALTH_TOOLS)||""),style:{textDecoration:"none"}},l.createElement(al,{key:"all-health-tools-mobile","data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"".concat(x).concat((null===(t=f[m])||void 0===t?void 0:t.HEALTH_TOOLS)||"")},v("home.navigator.menuItem.allHealthTools"),l.createElement(ll,null,l.createElement("img",{src:"".concat(d,"/svg/chevronRightActive.svg"),style:{width:"16px",height:"16px"},alt:v("home.navigator.menuItem.allHealthTools")}))))))):l.createElement(el,{className:"top-menu-health-tools",onClick:g,"data-is-display":"tools"===u},l.createElement(tl,null,l.createElement(P,{style:{padding:"0 16px"}},l.createElement(il,{"data-popup-type":u,onClick:function(n){n.stopPropagation()}},l.createElement(l.Fragment,null,(null==s?void 0:s.length)?s.map((function(n,e){var t;return!!(null===(t=n.healthTools)||void 0===t?void 0:t.length)&&l.createElement(Cl,{key:"health-tools-categories-".concat(e)},l.createElement(A,{tag:"h4",as:"h2",fontWeight:"bold"},l.createElement("span",{dangerouslySetInnerHTML:{__html:n.name}})),l.createElement(_l,{healthTools:n.healthTools.slice(0,4),onSelectHealthTool:c,basePath:d,HEALTH_TOOL_URL_FE:x,locale:m,isDesktop:!0,isGrouped:!0,onClosePopup:g}))})):l.createElement(_l,{healthTools:r,onSelectHealthTool:c,basePath:d,HEALTH_TOOL_URL_FE:x,locale:m,isDesktop:!0,onClosePopup:g}),l.createElement("a",{style:{textDecoration:"none"},href:"".concat(x).concat((null===(i=f[m])||void 0===i?void 0:i.HEALTH_TOOLS)||"")},l.createElement(al,{onClick:g,key:"all-health-tools","data-theme":y,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"".concat(x).concat((null===(o=f[m])||void 0===o?void 0:o.HEALTH_TOOLS)||"")},v("home.navigator.menuItem.allHealthTools"),l.createElement(ll,null,l.createElement("img",{src:"".concat(d,"/svg/chevronRightActive.svg"),style:{width:"16px",height:"16px"},alt:v("home.navigator.menuItem.allHealthTools")}))))),l.createElement(rl,{onClick:g},l.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"})))))))},Sl=T.div(Ol||(Ol=t(["\n display: flex;\n width: 48px;\n height: 48px;\n align-items: center;\n justify-content: center;\n\n margin-right: 16px;\n\n background-color: ",";\n border-radius: 50%;\n"],["\n display: flex;\n width: 48px;\n height: 48px;\n align-items: center;\n justify-content: center;\n\n margin-right: 16px;\n\n background-color: ",";\n border-radius: 50%;\n"])),(function(n){return n.theme.mbColors.lightGray})),Il=T.div(Pl||(Pl=t(["\n display: flex;\n width: 100%;\n height: 64px;\n align-items: center;\n justify-content: flex-start;\n padding: 8px 16px;\n background-color: ",";\n font-size: ",";\n"],["\n display: flex;\n width: 100%;\n height: 64px;\n align-items: center;\n justify-content: flex-start;\n padding: 8px 16px;\n background-color: ",";\n font-size: ",";\n"])),(function(n){return n.theme.colors.white}),(function(n){return n.theme.sizes.fsParagraph4})),Al=T.div(Rl||(Rl=t(["\n position: absolute;\n z-index: ",";\n top: 64px;\n\n min-width: 375px;\n align-items: center;\n background-color: transparent;\n &[data-is-display='false'] {\n display: none;\n }\n"],["\n position: absolute;\n z-index: ",";\n top: 64px;\n\n min-width: 375px;\n align-items: center;\n background-color: transparent;\n &[data-is-display='false'] {\n display: none;\n }\n"])),hn),Nl=T.div(Bl||(Bl=t(["\n position: fixed;\n top: 69px;\n left: 0;\n width: 100vw;\n height: 100vh;\n"],["\n position: fixed;\n top: 69px;\n left: 0;\n width: 100vw;\n height: 100vh;\n"]))),Ml=T.div(Dl||(Dl=t(["\n z-index: ",";\n\n width: 100%;\n\n max-height: 80vh;\n\n padding: 20px 0;\n\n border: 1px solid ",";\n //align-items: center;\n //display: flex;\n //flex: 1;\n background-color: ",";\n\n border-radius: 16px;\n box-shadow: 0px 24px 32px rgba(0, 0, 0, 0.04),\n 0px 16px 24px rgba(0, 0, 0, 0.04), 0px 4px 8px rgba(0, 0, 0, 0.04),\n 0px 0px 1px rgba(0, 0, 0, 0.04);\n\n overflow-y: auto;\n"],["\n z-index: ",";\n\n width: 100%;\n\n max-height: 80vh;\n\n padding: 20px 0;\n\n border: 1px solid ",";\n //align-items: center;\n //display: flex;\n //flex: 1;\n background-color: ",";\n\n border-radius: 16px;\n box-shadow: 0px 24px 32px rgba(0, 0, 0, 0.04),\n 0px 16px 24px rgba(0, 0, 0, 0.04), 0px 4px 8px rgba(0, 0, 0, 0.04),\n 0px 0px 1px rgba(0, 0, 0, 0.04);\n\n overflow-y: auto;\n"])),gn,(function(n){return n.theme.colors.neutral50}),(function(n){return n.theme.colors.white}));T.div(Hl||(Hl=t(["\n position: relative;\n display: flex;\n flex-wrap: wrap;\n align-items: flex-start;\n justify-content: flex-start;\n padding: 24px;\n"],["\n position: relative;\n display: flex;\n flex-wrap: wrap;\n align-items: flex-start;\n justify-content: flex-start;\n padding: 24px;\n"])));var Ol,Pl,Rl,Bl,Dl,Hl,zl,Ul,Fl=T.div(zl||(zl=t(["\n position: relative;\n display: flex;\n flex-direction: column;\n"],["\n position: relative;\n display: flex;\n flex-direction: column;\n"])));T.div(Ul||(Ul=t(["\n padding-right: 16px;\n margin-bottom: 12px;\n\n & > a {\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 22px;\n }\n\n & > a:hover {\n color: ",";\n }\n\n .iconMenu {\n display: flex;\n align-items: center;\n\n > .imageContainer {\n display: flex;\n width: 32px;\n min-width: 32px;\n align-items: center;\n margin-right: 16px;\n }\n }\n"],["\n padding-right: 16px;\n margin-bottom: 12px;\n\n & > a {\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 22px;\n }\n\n & > a:hover {\n color: ",";\n }\n\n .iconMenu {\n display: flex;\n align-items: center;\n\n > .imageContainer {\n display: flex;\n width: 32px;\n min-width: 32px;\n align-items: center;\n margin-right: 16px;\n }\n }\n"])),(function(n){return n.theme.colors.gray800}),(function(n){return n.theme.sizes.fsParagraph4}),(function(n){return n.theme.sizes.fwRegular}),(function(n){return n.theme.colors.primaryBase}));var jl,Gl,Yl,Vl,Wl,Zl,Kl,Xl,Ql,ql,Jl,$l=function(n){var e=n.isDisplayed,t=void 0!==e&&e,i=n.healthTools,o=n.onSelectHealthTool,a=n.isLoading,r=n.basePath,s=n.isMobile,c=n.onClosePopup,p=n.HEALTH_TOOL_URL_FE,d=n.desktopPopupType;return s?a&&t?l.createElement(qa,null,l.createElement(Tl,null)):l.createElement(qa,{style:{marginTop:24},"data-category-list-type":"main","data-is-displayed":t},i.map((function(n,e){return l.createElement("a",{key:"tool-"+e,className:"wrapper-menu-health-tool wrapper-menu-health-tool-".concat(e),"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://https://marrybaby.vn".concat(n.link)},l.createElement(Il,{onClick:function(){o(n)}},l.createElement(Sl,null,l.createElement("img",{alt:"health-tool-icon",src:n.icon||"".concat(r,"/images/avatar.jpg"),style:{width:"24px",height:"24px"}})),l.createElement($a,null,n.title)))}))):l.createElement(Al,{className:"top-menu-health-tools",onClick:c,"data-is-display":"tools"===d},l.createElement(Nl,null),l.createElement(Ml,{"data-popup-type":d,onClick:function(n){n.stopPropagation()}},l.createElement(Fl,null,a?l.createElement("div",{style:{width:"100%",padding:"0 20px"}},l.createElement(Tl,null)):i.map((function(n,e){return l.createElement("a",{className:"wrapper-menu-health-tool wrapper-menu-health-tool-".concat(e," iconMenu"),"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://marrybaby.vn".concat(n.link),style:{textDecoration:"none",color:B.colors.gray800},href:n.link.startsWith("http")?n.link:"".concat(p).concat(n.link),key:n.title,onClick:function(n){n.stopPropagation()}},l.createElement(Il,{onClick:c},l.createElement(Sl,null,l.createElement("img",{alt:n.title,src:n.icon||"/images/avatar.jpg",style:{width:"24px",height:"24px"}})),l.createElement(ui,{style:{fontWeight:B.sizes.fwSemiBold},type:"subtitle-2"},n.title)))})))))},nr=function(n){var e=n.isDisplayed,t=void 0!==e&&e,i=n.healthTools,o=n.healthToolsByCategory,a=n.onSelectHealthTool,r=n.isLoading,s=n.basePath,c=n.locale,p=n.isMobile,d=n.onClosePopup,m=n.desktopPopupType,h=n.HEALTH_TOOL_URL_FE,g=n.siteType,u=n.discoverApiDomain,x=n.STATIC_PAGES;return"helloSites"===g?l.createElement(Ll,{isDisplayed:t,locale:c,basePath:s,discoverApiDomain:u,HEALTH_TOOL_URL_FE:h,onSelectHealthTool:a,healthTools:i,healthToolsByCategory:o,isLoading:r,isMobile:p,siteType:g,desktopPopupType:m,onClosePopup:d,STATIC_PAGES:x}):l.createElement($l,{isDisplayed:t,basePath:s,discoverApiDomain:u,HEALTH_TOOL_URL_FE:h,onSelectHealthTool:a,healthTools:i||o.reduce((function(n,e){return n.concat(e.healthTools)}),[]),isLoading:r,isMobile:p,desktopPopupType:m,onClosePopup:d})},er=T.div(jl||(jl=t(["\n & > div {\n width: 100%;\n min-height: 109px;\n }\n"],["\n & > div {\n width: 100%;\n min-height: 109px;\n }\n"]))),tr=T.div(Gl||(Gl=t(["\n min-height: 116px;\n padding: 8px 8px;\n border: 1px solid ",";\n //border-radius: 6px;\n background-color: ",";\n box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.04), 0px 0px 2px rgba(0, 0, 0, 0.06),\n 0px 0px 1px rgba(0, 0, 0, 0.04);\n text-align: center;\n transition: 0.2s ease-in-out;\n\n &[data-is-active='true'] {\n background-color: ",";\n p {\n color: ",";\n }\n }\n\n & > :last-child {\n margin-top: 8px;\n }\n\n &[data-card-position='left'] {\n border-bottom-left-radius: 6px;\n border-top-left-radius: 6px;\n }\n\n &[data-card-position='right'] {\n border-bottom-right-radius: 6px;\n border-top-right-radius: 6px;\n }\n\n &[data-card-position='whatever'] {\n border-radius: 6px;\n }\n"],["\n min-height: 116px;\n padding: 8px 8px;\n border: 1px solid ",";\n //border-radius: 6px;\n background-color: ",";\n box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.04), 0px 0px 2px rgba(0, 0, 0, 0.06),\n 0px 0px 1px rgba(0, 0, 0, 0.04);\n text-align: center;\n transition: 0.2s ease-in-out;\n\n &[data-is-active='true'] {\n background-color: ",";\n p {\n color: ",";\n }\n }\n\n & > :last-child {\n margin-top: 8px;\n }\n\n &[data-card-position='left'] {\n border-bottom-left-radius: 6px;\n border-top-left-radius: 6px;\n }\n\n &[data-card-position='right'] {\n border-bottom-right-radius: 6px;\n border-top-right-radius: 6px;\n }\n\n &[data-card-position='whatever'] {\n border-radius: 6px;\n }\n"])),(function(n){return n.theme.colors.neutral100}),(function(n){return n.theme.colors.white}),(function(n){return n.theme.colors.primaryBase}),(function(n){return n.theme.colors.white})),ir=function(){return l.createElement(l.Fragment,null,l.createElement(er,null,l.createElement("div",null,l.createElement(Y,{height:109})),l.createElement("div",null,l.createElement(Y,{height:109})),l.createElement("div",null,l.createElement(Y,{height:109})),l.createElement("div",null,l.createElement(Y,{height:109})),l.createElement("div",null,l.createElement(Y,{height:109})),l.createElement("div",null,l.createElement(Y,{height:109}))))},or=function(n){var e=n.specialty,t=n.id,i=n.isActive,o=void 0!==i&&i,a=n.position,r=n.className,s=n.onClick;return e.name&&""!==e.name?l.createElement(tr,{onClick:function(){s&&s(t)},className:r,"data-is-active":o,"data-card-position":a},l.createElement("img",{src:e.thumbnail,style:{objectFit:"contain",height:"55px",width:"55px"},alt:"category-menu-card"}),l.createElement(N,{type:"bold",size:"label2"},e.name)):l.createElement(ir,null)},ar=function(n){var e=n.selectedMenuMainItem,t=n.spotlightsList,i=n.locale,o=n.basePath,a=n.callApiHandler,r=n.discoverApiDomain,s=n.DISCOVER_URL_FE,c=n.MARRY_BABY_FE,p=n.onSelectCategory,d=n.isMobile,m=n.siteType,h=n.onCategoryClick,g=In(),u=e.childCates,x=e.categoryName;return l.createElement(bt,{"data-type":"sub-level","data-with-search-input":!1},l.createElement(wt,null,l.createElement(ya,{isDisplayed:!0,locale:i,basePath:o,callApiHandler:a,discoverApiDomain:r,DISCOVER_URL_FE:s,MARRY_BABY_FE:c,categories:u||[],spotlightsList:t,type:"sub",onSelectCategory:p,isMobile:d,siteType:m,desktopPopupType:"none",isLoading:!1,onClosePopup:void 0}),l.createElement(vt,{"data-site-type":m},l.createElement(I,{onClick:h,className:"category-button",size:"md",theme:m},l.createElement(Tt,null,l.createElement("div",null,g("home.menu.category.view",{category:x})),"helloSites"===m?l.createElement("img",{src:bn,style:{width:"16px",height:"16px"},className:"button-image",alt:g("home.menu.category.view",{category:x})}):l.createElement("svg",{width:"25",height:"24",viewBox:"0 0 25 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l.createElement("path",{d:"M7 12H18M18 12L13.4118 8M18 12L13.4118 16",stroke:"white",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"})))))))},lr=function(n){var t=n.selectedMenuMainItem,i=n.onCommunityClick,s=n.onSelectCommunity,p=n.basePath,d=void 0===p?"":p,m=n.callApiHandler,h=n.togetherApiDomain,g=n.locale,u=n.TOGETHER_URL_FE,x=n.siteType,f=n.isMobile,y=In(),v=r([]),b=v[0],E=v[1],w=r(!1),k=w[0],C=w[1],T=t.communityId,_=t.title;return c((function(){C(!0),o(void 0,void 0,void 0,(function(){var n,t,i,o,l;return a(this,(function(a){switch(a.label){case 0:return[4,m("helloSites"===x?Fn(g,h,{communityId:T}):(r=h,s={communityId:T},(r||"https://together.hellohealthgroup.com/")+"api/v1/"+H(en,e(e({},s),{websiteUrl:"https://marrybaby.vn"}))),"GET")];case 1:return null!==(n=a.sent())&&(null===(l=null===(o=null===(i=null==n?void 0:n.data)||void 0===i?void 0:i.data)||void 0===o?void 0:o.topics)||void 0===l?void 0:l.length)>0&&(t=n.data.data.topics.map(Nn),E(t)),C(!1),[2]}var r,s}))}))}),[t]),l.createElement(bt,{"data-type":"sub-level","data-with-search-input":!1},l.createElement(wt,null,l.createElement(Xa,{isDisplayed:!0,locale:g,communities:b,type:"sub",onSelectCommunity:s,isLoading:k,basePath:d,TOGETHER_URL_FE:u,togetherApiDomain:h,siteType:x,isMobile:f,desktopPopupType:"none",onClosePopup:void 0}),l.createElement(vt,null,l.createElement(I,{onClick:i,className:"category-button",size:"md"},l.createElement(Tt,null,l.createElement("div",null,y("home.menu.category.view",{category:_})),l.createElement("img",{src:bn,style:{width:"16px",height:"16px"},className:"button-image",alt:y("home.menu.category.view",{category:_})}))))))},rr={categories:{icon:l.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.1174 3.67709C12.8717 2.70759 11.1272 2.70787 9.8809 3.67705L14.1174 3.67709ZM14.1174 3.67709L19.717 8.0327C20.5579 8.68619 21.049 9.69161 21.049 10.7561V17.6001C21.049 19.5056 19.5045 21.0501 17.599 21.0501H6.39918C4.49368 21.0501 2.94922 19.5056 2.94922 17.6001V10.7561C2.94922 9.6915 3.44016 8.68619 4.28119 8.0327L9.8809 3.67705M10.679 4.70326L5.07908 9.05903C4.5556 9.46579 4.24922 10.0921 4.24922 10.7561V17.6001C4.24922 18.7876 5.21165 19.7501 6.39918 19.7501H17.599C18.7866 19.7501 19.749 18.7876 19.749 17.6001V10.7561C19.749 10.0921 19.4429 9.46599 18.9194 9.05923L13.3192 4.70322C12.5433 4.09928 11.4561 4.09892 10.679 4.70326Z",fill:"#3E3F58"}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.2363 13.1623C12.5537 12.4791 11.4456 12.4788 10.7619 13.1625C10.0783 13.8461 10.0783 14.9535 10.7619 15.6371C11.4455 16.3207 12.5529 16.3207 13.2365 15.6371C13.9201 14.9535 13.9201 13.8461 13.2365 13.1625L13.2363 13.1623ZM14.1558 12.2433C12.9651 11.0518 11.0338 11.0522 9.84268 12.2433C8.6514 13.4346 8.6514 15.3651 9.84268 16.5563C11.034 17.7476 12.9645 17.7476 14.1558 16.5563C15.347 15.3651 15.347 13.4346 14.1558 12.2433Z",fill:"#3E3F58"})),color:B.mbColors.lightPink},healthTools:{icon:l.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.7899 3.65C17.1559 3.65 16.6802 4.2267 16.6809 4.79725L16.6809 4.798C16.6809 5.41974 17.104 6.05554 17.7236 6.58451C18.0209 6.83831 18.3337 7.04083 18.5977 7.17695C18.7296 7.245 18.8416 7.29248 18.9268 7.32147C18.9708 7.33646 18.9995 7.34373 19.0149 7.34719C19.0302 7.34373 19.0589 7.33646 19.1029 7.32147C19.1881 7.29248 19.3001 7.245 19.4321 7.17695C19.696 7.04083 20.0088 6.83831 20.3061 6.58451C20.9257 6.05554 21.3489 5.41974 21.3489 4.798C21.3489 4.22619 20.8732 3.65 20.2399 3.65C19.8662 3.65 19.6352 3.81824 19.4969 3.97109C19.3738 4.10711 19.199 4.1848 19.0156 4.185C18.8321 4.1852 18.6572 4.10789 18.5338 3.97214C18.3936 3.81789 18.1622 3.65 17.7899 3.65ZM15.3809 4.79838C15.3797 3.63503 16.318 2.35 17.7899 2.35C18.2971 2.35 18.703 2.4988 19.0145 2.69438C19.3261 2.49862 19.7323 2.35 20.2399 2.35C21.7125 2.35 22.6489 3.63581 22.6489 4.798C22.6489 5.98926 21.875 6.95446 21.1501 7.57324C20.7752 7.89331 20.3789 8.15136 20.028 8.33233C19.8525 8.42282 19.6807 8.49802 19.522 8.55207C19.3755 8.60198 19.1942 8.65 19.0149 8.65C18.8355 8.65 18.6543 8.60198 18.5077 8.55207C18.349 8.49802 18.1772 8.42282 18.0018 8.33233C17.6509 8.15136 17.2545 7.89331 16.8796 7.57324C16.1548 6.95452 15.381 5.98947 15.3809 4.79838ZM15.3809 4.79838C15.3809 4.79825 15.3809 4.79813 15.3809 4.798H16.0309L15.3809 4.79875C15.3809 4.79863 15.3809 4.7985 15.3809 4.79838Z",fill:"#3E3F58"}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.91051 8.78301C4.23607 5.03996 7.79796 2.35 12.0002 2.35C12.3662 2.35 12.7248 2.37267 13.077 2.41455C13.4334 2.45693 13.6881 2.78027 13.6457 3.13674C13.6033 3.49322 13.28 3.74784 12.9235 3.70545C12.6196 3.66932 12.3123 3.65 12.0002 3.65C8.36849 3.65 5.28438 5.97404 4.13594 9.21698C4.0161 9.55538 3.64463 9.73255 3.30624 9.61271C2.96785 9.49287 2.79067 9.12141 2.91051 8.78301Z",fill:"#3E3F58"}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.07473 7.35106C9.33041 7.35465 9.56024 7.50781 9.66196 7.74242L12.5334 14.3647L13.6702 11.7415C13.7732 11.5038 14.0075 11.35 14.2666 11.35H15.9996C16.3586 11.35 16.6496 11.641 16.6496 12C16.6496 12.359 16.3586 12.65 15.9996 12.65H14.6933L13.13 16.2575C13.027 16.4951 12.7927 16.649 12.5337 16.649C12.2746 16.649 12.0403 16.4952 11.9373 16.2576L9.0434 9.58369L7.78547 12.2752C7.6786 12.5039 7.44902 12.65 7.19661 12.65H2.99961C2.64062 12.65 2.34961 12.359 2.34961 12C2.34961 11.641 2.64062 11.35 2.99961 11.35H6.78291L8.47675 7.72578C8.58502 7.49413 8.81905 7.34747 9.07473 7.35106Z",fill:"#3E3F58"}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20.8654 10.3543C21.222 10.313 21.5446 10.5686 21.5859 10.9252C21.6264 11.2747 21.6502 11.6328 21.6502 12C21.6502 17.33 17.3302 21.65 12.0002 21.65C7.79796 21.65 4.23607 18.96 2.91051 15.217C2.79067 14.8786 2.96785 14.5071 3.30624 14.3873C3.64463 14.2674 4.0161 14.4446 4.13594 14.783C5.28438 18.026 8.36849 20.35 12.0002 20.35C16.6122 20.35 20.3502 16.612 20.3502 12C20.3502 11.6892 20.3301 11.3813 20.2945 11.0748C20.2532 10.7182 20.5088 10.3956 20.8654 10.3543Z",fill:"#3E3F58"})),color:B.mbColors.lightOrange},together:{icon:l.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.99961 4.65C7.4256 4.65 6.14961 5.92599 6.14961 7.5C6.14961 9.07401 7.4256 10.35 8.99961 10.35C10.5736 10.35 11.8496 9.07401 11.8496 7.5C11.8496 5.92599 10.5736 4.65 8.99961 4.65ZM4.84961 7.5C4.84961 5.20802 6.70763 3.35 8.99961 3.35C11.2916 3.35 13.1496 5.20802 13.1496 7.5C13.1496 9.79198 11.2916 11.65 8.99961 11.65C6.70763 11.65 4.84961 9.79198 4.84961 7.5ZM6.71218 15.0233L6.53409 15.0517C4.87235 15.3169 3.64961 16.7503 3.64961 18.433C3.64961 18.9395 4.06015 19.35 4.56658 19.35H13.4326C13.9391 19.35 14.3496 18.9395 14.3496 18.433C14.3496 16.7503 13.1269 15.3169 11.4651 15.0517L11.287 15.0233C9.77167 14.7814 8.22754 14.7814 6.71218 15.0233ZM6.5073 13.7395C8.15839 13.476 9.84083 13.476 11.4919 13.7395L11.67 13.768C13.9626 14.1338 15.6496 16.1114 15.6496 18.433C15.6496 19.6574 14.657 20.65 13.4326 20.65H4.56658C3.34218 20.65 2.34961 19.6574 2.34961 18.433C2.34961 16.1114 4.03657 14.1338 6.3292 13.768L6.5073 13.7395Z",fill:"#3E3F58"}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.3496 4C14.3496 3.64101 14.6406 3.35 14.9996 3.35C17.2916 3.35 19.1496 5.20802 19.1496 7.5C19.1496 9.79198 17.2916 11.65 14.9996 11.65C14.6406 11.65 14.3496 11.359 14.3496 11C14.3496 10.641 14.6406 10.35 14.9996 10.35C16.5736 10.35 17.8496 9.07401 17.8496 7.5C17.8496 5.92599 16.5736 4.65 14.9996 4.65C14.6406 4.65 14.3496 4.35898 14.3496 4ZM15.5908 14.3814C15.5908 14.0224 15.8818 13.7314 16.2408 13.7314H17.2089C17.3632 13.7314 17.5175 13.7436 17.67 13.768C19.9626 14.1338 21.6496 16.1114 21.6496 18.433C21.6496 19.6574 20.657 20.65 19.4326 20.65H17.3895C17.0305 20.65 16.7395 20.359 16.7395 20C16.7395 19.641 17.0305 19.35 17.3895 19.35H19.4326C19.9391 19.35 20.3496 18.9395 20.3496 18.433C20.3496 16.7503 19.1269 15.3169 17.4651 15.0517C17.3805 15.0382 17.2947 15.0314 17.2089 15.0314H16.2408C15.8818 15.0314 15.5908 14.7404 15.5908 14.3814Z",fill:"#3E3F58"})),color:B.mbColors.lightBlue}},sr=function(n){var t,i,o,a=n.item,r=n.isActive,s=n.isGoingForward,c=n.onServiceClicked;return l.createElement("div",{style:{display:"flex",flex:1,flexDirection:"column",alignItems:"center",justifyContent:"center"}},l.createElement("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",height:56,width:56,marginBottom:8,borderRadius:16},onClick:function(){null==c||c(a.id)}},l.createElement("div",{style:e({display:"flex",alignItems:"center",justifyContent:"center",height:48,width:48,flexShrink:0,backgroundColor:null!==(i=null===(t=rr[a.id])||void 0===t?void 0:t.color)&&void 0!==i?i:"white",borderRadius:16},r?{height:56,width:56,boxShadow:"0px 0px 24px rgba(0, 0, 0, 0.08)",border:"4px solid white"}:{})},null===(o=rr[a.id])||void 0===o?void 0:o.icon)),l.createElement(ui,{type:"subtitle-3",color:r&&B.mbColors.pink,style:{fontWeight:B.sizes.fwSemiBold}},a.name),r&&(s?l.createElement(ti,{style:{animationDuration:"0.2s",animationName:"menuLeftToRightTrans"}}):l.createElement(ti,{style:{animationDuration:"0.2s",animationName:"menuRightToLeftTrans"}})))},cr=function(n){var e=n.menuItems,t=n.activeItem,i=n.onServiceClicked,o=r(0),a=o[0],c=o[1],p=s(!0);return l.createElement("div",{style:{display:"flex",alignItems:"flex-start",justifyContent:"space-evenly"}},e.map((function(n,e){return l.createElement(sr,{onServiceClicked:function(n){p.current=a<e,c(e),null==i||i(n)},key:"item"+e,item:n,isGoingForward:p.current,isActive:t.id===n.id})})))},pr=function(n){var e=n.isMobile,t=void 0!==e&&e,i=n.isMobileMenuOpened,o=void 0===i?void 0:i,a=n.categories,s=n.healthTools,p=n.healthToolsByCategory,d=n.careSpecialties,m=n.togetherCommunities,h=n.spotlightsList,g=n.closePopup,u=n.popupType,x=void 0===u?"none":u,f=n.onMobileMenuClick,y=n.footer,v=n.care.CARE_URL_FE,b=n.discover,E=b.discoverApiDomain,w=b.DISCOVER_URL_FE,k=n.together,C=k.togetherApiDomain,T=k.TOGETHER_URL_FE,_=n.sso.SSO_URL,S=n.statics,I=S.MARRY_BABY_FE,N=S.HOME_PAGE_URL,M=S.STATIC_PAGES,P=S.HEALTH_TOOL_URL_FE,R=n.marryBaby.tone,D=n.locale,H=n.siteType,z=n.basePath,U=n.callApiHandler,F=n.activeMenuService,j=n.menuItems,G=n.routerAsPath,Y=In(),V=r(!1),W=V[0],Z=V[1],K=r(a),X=K[0],q=K[1],J=r(void 0),$=J[0],nn=J[1],en=r(void 0),tn=en[0],on=en[1],an=r(!1),ln=an[0],rn=an[1],sn=r(null==j?void 0:j.find((function(n){return n.id===F}))),cn=sn[0],pn=sn[1],dn=r(!1),mn=dn[0],hn=dn[1],gn=r(!1),un=gn[0],xn=gn[1],fn=function(){$&&(window.location.href=$.permalink),kn(),g&&g()},yn=function(){$&&(window.location.href="".concat(T,"/").concat($.communitySlug)),kn(),g&&g()},vn=function(n){n.childCates&&n.childCates.length>0?(Z(!0),nn(n)):(window.location.href="helloSites"===H?w+n.permalink:I+n.permalink,kn(),g&&g())},bn=function(n){var e=n.community;n.isSetToSubMenu?(Z(!0),nn(e)):(window.location.href="".concat(T,"/").concat(e.communitySlug),kn(),g&&g())},En=function(n){window.location.href=n.link.startsWith("http")?n.link:P+n.link,kn(),g&&g()},wn=function(n){window.location.href=v+jn({type:"DOCTOR",specialtySlug:n.slug,locale:D}),null==g||g()},kn=function(){nn(void 0),Z(!1)},Cn=function(n){pn(j.find((function(e){return e.id===n})))},Tn=Q[D||"en-PH"]||{};return c((function(){var n;on("categories"===cn.id?(null===(n=null==$?void 0:$.childCates)||void 0===n?void 0:n.length)>0&&l.createElement(ar,{selectedMenuMainItem:$,spotlightsList:[],locale:D,basePath:z,callApiHandler:U,discoverApiDomain:E,DISCOVER_URL_FE:w,MARRY_BABY_FE:I,onSelectCategory:vn,isMobile:t,siteType:H,onCategoryClick:fn}):"together"===cn.id&&$&&l.createElement(lr,{selectedMenuMainItem:$,onCommunityClick:yn,onSelectCommunity:bn,TOGETHER_URL_FE:T,basePath:z,callApiHandler:U,locale:D,togetherApiDomain:C,siteType:H,isMobile:t}))}),[$,cn]),c((function(){hn(!0)}),[]),c((function(){!un&&o&&xn(!0)}),[o]),c((function(){q(a)}),[a]),t?l.createElement(l.Fragment,null,l.createElement(ft,{id:mn?"":"categories-menu","data-opened":o||(un?o:"undefined"),key:mn?"t":"f"},l.createElement(yt,{"data-opened":o,"data-type":"category","data-is-sub-category-opened":W},l.createElement(Ne,{siteType:H,locale:D,isDisplayed:!0,searchPlaceholder:"",statics:{DISCOVER_URL_FE:w,SSO_URL:_,HOME_PAGE_URL:N,MARRY_BABY_FE:I,CARE_URL_FE:v},isMobile:t,isLoginButtonDisplayed:!1,type:"popup",onMenuClick:function(){return null==f?void 0:f("categories")},onSearchChange:function(n){rn(""!==n),q(n&&""!==n?a.filter((function(e){return e.categoryName.toLowerCase().search(n.toLowerCase())>-1||e.slug.replace("-","").toLowerCase().search(n.replace(" ","").toLowerCase())>-1})):a)},isSearchBarDisplay:!1,basePath:z,isAmp:!1,isInit:!1,isStatic:!1,routerAsPath:G,title:"",onTopBarAppears:void 0,currentPopupType:"none",marryBaby:{tone:R},menu:void 0,menuItems:void 0,onSearchKeyPress:void 0,openPopup:void 0,profileMenu:void 0,userInfo:void 0}),l.createElement(bt,null,l.createElement(wt,null,l.createElement(kt,null,l.createElement(Ct,{"data-hide-on-search":ln,"data-is-sub-category-opened":W},"helloSites"===H?l.createElement(l.Fragment,null,l.createElement(ii,{onClick:function(){window.location.href="".concat(L(D),"/search")}},l.createElement(O,{className:"fake-search-input",name:"search-input-menu-service"+(mn?"":"-temp"),size:"md",placeholder:Y("home.search",{site:Tn?Tn.SITE_NAME:""}),onChange:function(){},type:"search",autoFocus:!1,onFocus:function(n){n.preventDefault()},value:"",displayIcon:l.createElement("a",{"data-event-category":"Search Button","data-event-action":"Click"},l.createElement(oi,null))})),l.createElement(A,{tag:"h5",color:B.colors.gray800},Y("menu.categories.title")),l.createElement(Et,{"data-card-array-no-margin-style":!0},j.map((function(n,e){return l.createElement(or,{onClick:Cn,key:"service-"+e,specialty:n,id:n.id,isActive:n.id===cn.id,isMobile:t,position:0===e?"left":e===j.length-1?"right":"center"})})))):l.createElement(cr,{menuItems:j,activeItem:cn,onServiceClicked:Cn})),l.createElement(ya,{isDisplayed:"categories"===cn.id,locale:D,basePath:z,callApiHandler:U,onClosePopup:g,discoverApiDomain:E,DISCOVER_URL_FE:w,MARRY_BABY_FE:I,type:"main",onSelectCategory:vn,categories:X,spotlightsList:h,isLoading:!1,isMobile:t,siteType:H,desktopPopupType:x}),l.createElement(nr,{isDisplayed:"healthTools"===cn.id,locale:D,basePath:z,discoverApiDomain:E,HEALTH_TOOL_URL_FE:P,onSelectHealthTool:En,onClosePopup:g,desktopPopupType:x,healthTools:s,healthToolsByCategory:p,isLoading:!1,isMobile:t,siteType:H,STATIC_PAGES:M}),"care"===cn.id&&l.createElement(uo,{locale:D,basePath:z,onSelectCareSpecialty:wn,onClosePopup:g,careSpecialties:d,isLoading:!1,siteType:H,isMobile:t,desktopPopupType:x,CARE_URL_FE:v}),l.createElement(Xa,{isDisplayed:"together"===cn.id,locale:D,TOGETHER_URL_FE:T,basePath:z,type:"main",onSelectCommunity:bn,onClosePopup:g,communities:m,isLoading:!1,isMobile:t,siteType:H,togetherApiDomain:C,desktopPopupType:x})),y)))),W&&l.createElement(ft,{"data-sub-level-opened":W||(un?W:"undefined")},l.createElement(yt,{"data-type":"sub-category","data-is-sub-category-opened":W},l.createElement(Ne,{siteType:H,locale:D,isDisplayed:o&&W,searchPlaceholder:"",menuItems:void 0,statics:{DISCOVER_URL_FE:w,SSO_URL:_,HOME_PAGE_URL:N,MARRY_BABY_FE:I,CARE_URL_FE:v},isMobile:t,isLoginButtonDisplayed:!1,type:"popup-sub-level",title:"categories"===cn.id?null==$?void 0:$.categoryName:null==$?void 0:$.title,isSearchBarDisplay:!1,basePath:z,isAmp:!1,isInit:!1,isStatic:!1,routerAsPath:G,currentPopupType:"none",marryBaby:{tone:R},menu:void 0,openPopup:void 0,profileMenu:void 0,userInfo:void 0,onSearchKeyPress:void 0,onTopBarAppears:void 0,onMenuClick:kn,onSearchChange:void 0}),tn))):l.createElement(l.Fragment,null,l.createElement(ya,{isDisplayed:"categories"===x,locale:D,basePath:z,callApiHandler:U,discoverApiDomain:E,DISCOVER_URL_FE:w,MARRY_BABY_FE:I,type:"main",desktopPopupType:x,onSelectCategory:vn,onClosePopup:g,categories:X,spotlightsList:h,isLoading:!1,isMobile:t,siteType:H}),l.createElement(nr,{isDisplayed:"tools"===x,locale:D,basePath:z,discoverApiDomain:E,HEALTH_TOOL_URL_FE:P,desktopPopupType:x,onSelectHealthTool:En,onClosePopup:g,healthToolsByCategory:p,healthTools:s,isLoading:!1,isMobile:t,siteType:H,STATIC_PAGES:M}),l.createElement(Xa,{isDisplayed:"communities"===x,locale:D,TOGETHER_URL_FE:T,basePath:z,type:"main",onSelectCommunity:bn,communities:m,isLoading:!1,isMobile:t,siteType:H,togetherApiDomain:C,desktopPopupType:x,onClosePopup:g}),"care"===x&&l.createElement(uo,{locale:D,basePath:z,onSelectCareSpecialty:wn,careSpecialties:d,isLoading:!1,desktopPopupType:x,siteType:H,isMobile:t,CARE_URL_FE:v,onClosePopup:g}))},dr=T.div(Yl||(Yl=t(["\n background-color: white;\n text-align: center;\n .cancle-img {\n margin-top: 24px;\n "," {\n width: 80px;\n height: 80px;\n }\n\n "," {\n width: 100px;\n height: 100px;\n }\n }\n\n h2 {\n margin-top: 32px;\n color: ",";\n font-style: normal;\n font-weight: bold;\n "," {\n font-size: 24px;\n line-height: 32px;\n }\n\n "," {\n font-size: 32px;\n line-height: 42px;\n }\n }\n\n p {\n margin-top: 8px;\n color: ",";\n font-style: normal;\n font-weight: normal;\n "," {\n font-size: 16px;\n line-height: 24px;\n }\n\n "," {\n font-size: 16px;\n line-height: 24px;\n }\n }\n"],["\n background-color: white;\n text-align: center;\n .cancle-img {\n margin-top: 24px;\n "," {\n width: 80px;\n height: 80px;\n }\n\n "," {\n width: 100px;\n height: 100px;\n }\n }\n\n h2 {\n margin-top: 32px;\n color: ",";\n font-style: normal;\n font-weight: bold;\n "," {\n font-size: 24px;\n line-height: 32px;\n }\n\n "," {\n font-size: 32px;\n line-height: 42px;\n }\n }\n\n p {\n margin-top: 8px;\n color: ",";\n font-style: normal;\n font-weight: normal;\n "," {\n font-size: 16px;\n line-height: 24px;\n }\n\n "," {\n font-size: 16px;\n line-height: 24px;\n }\n }\n"])),R.mbDown,R.mbUp,(function(n){return n.theme.colors.gray800}),R.mbDown,R.mbUp,(function(n){return n.theme.colors.gray600}),R.mbDown,R.mbUp),mr=T.div(Vl||(Vl=t(["\n display: flex;\n\n "," {\n margin-top: 24px;\n }\n\n "," {\n margin-top: 32px;\n }\n justify-content: space-around;\n button {\n flex: 1;\n margin: 4px;\n }\n\n ","\n"],["\n display: flex;\n\n "," {\n margin-top: 24px;\n }\n\n "," {\n margin-top: 32px;\n }\n justify-content: space-around;\n button {\n flex: 1;\n margin: 4px;\n }\n\n ","\n"])),R.mbDown,R.mbUp,(function(n){return"marryBaby"===n.siteType?"\n .cancel-button {\n background-color: #E55C8A;\n }\n .cancel-button:hover {\n background-color: #E55C8A !important;\n }\n .logout-button {\n border-color: #E55C8A;\n color: #E55C8A;\n }\n ":""})),hr=function(n){var e=n.callPostLogOutApi,t=n.openLogoutPopup,i=n.onCloseHandler,r=n.onLogoutHandler,s=n.basePath,p=n.siteType,d=void 0===p?"helloSites":p,m=In();c((function(){document.body.classList.toggle("noscroll",t)}),[t]);return l.createElement(S,{type:"confirm",isOpen:t,closeIcon:l.createElement("img",{src:En,style:{width:24,height:24},alt:"close-icon"}),onClose:i},l.createElement(dr,null,"helloSites"===d&&l.createElement("img",{className:"cancle-img",src:"".concat(s,"/images/arrowDoor.svg"),alt:"close-account"}),l.createElement("h2",null,m("helloSites"===d?"logout.popup.ask1":"logout.popup.ask.mb")),l.createElement("p",null,m("logout.popup.ask2")),l.createElement(mr,{siteType:d},l.createElement(I,{className:"logout-button",color:"tertiary",size:"lg",onClick:function(){o(void 0,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,null==e?void 0:e()];case 1:return n.sent(),null==r||r(),window.location.reload(),[2]}}))}))}},m("logout.popup.button.logout")),l.createElement(I,{className:"cancel-button",color:"primary",size:"lg",onClick:i},m("logout.popup.button.cancel")))))},gr=T.div(Wl||(Wl=t(["\n position: absolute;\n right: 0;\n background-color: ",";\n\n &[data-animation='true'] {\n transition: all 0.5s ease-in-out;\n }\n\n &[data-open='true'] {\n z-index: 200;\n top: 120%;\n opacity: 1;\n visibility: visible;\n }\n\n &[data-open='false'] {\n display: none;\n }\n\n &[data-type='lead'] {\n width: 332px;\n height: 460px;\n\n div {\n top: -15px;\n right: -15px;\n }\n }\n\n &[data-type='welcome'] {\n position: fixed;\n "," {\n width: 100%;\n height: 424px;\n bottom: 0;\n top: unset;\n }\n "," {\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n width: 100%;\n min-height: 445px;\n max-width: 407px;\n }\n }\n\n &[data-type='due-date'] {\n position: fixed;\n "," {\n width: 100%;\n height: 100%;\n overflow-y: scroll;\n bottom: 0;\n top: unset;\n }\n "," {\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n width: 100vw;\n height: 55vw;\n max-height: 598px;\n max-width: 1080px;\n }\n }\n\n .popup-content {\n z-index: 111;\n height: 100%;\n }\n\n &[data-type='form'] {\n width: 496px;\n height: 548px;\n }\n\n &[data-type='confirm'] {\n width: 380px;\n height: 252px;\n }\n\n &[data-type='profile'] {\n /* min-height: 415px; */\n "," {\n border-radius: 6px;\n box-shadow: 0px 4px 8px\n ",";\n &:before {\n position: absolute;\n right: 11px;\n bottom: 100%;\n width: 0;\n height: 0;\n border: 0.5rem solid transparent;\n border-top: none;\n border-bottom-color: #fff;\n content: '';\n filter: drop-shadow(0 -0.0625rem 0.0625rem rgba(0, 0, 0, 0.1));\n }\n }\n "," {\n position: fixed;\n left: 0;\n top: 64px;\n width: 100%;\n }\n "," {\n width: 368px;\n }\n }\n\n .close-button {\n position: absolute;\n top: 0;\n right: 0;\n width: 32px;\n height: 32px;\n cursor: pointer;\n\n img {\n width: 100%;\n height: 100%;\n border-radius: 50%;\n }\n }\n"],["\n position: absolute;\n right: 0;\n background-color: ",";\n\n &[data-animation='true'] {\n transition: all 0.5s ease-in-out;\n }\n\n &[data-open='true'] {\n z-index: 200;\n top: 120%;\n opacity: 1;\n visibility: visible;\n }\n\n &[data-open='false'] {\n display: none;\n }\n\n &[data-type='lead'] {\n width: 332px;\n height: 460px;\n\n div {\n top: -15px;\n right: -15px;\n }\n }\n\n &[data-type='welcome'] {\n position: fixed;\n "," {\n width: 100%;\n height: 424px;\n bottom: 0;\n top: unset;\n }\n "," {\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n width: 100%;\n min-height: 445px;\n max-width: 407px;\n }\n }\n\n &[data-type='due-date'] {\n position: fixed;\n "," {\n width: 100%;\n height: 100%;\n overflow-y: scroll;\n bottom: 0;\n top: unset;\n }\n "," {\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n width: 100vw;\n height: 55vw;\n max-height: 598px;\n max-width: 1080px;\n }\n }\n\n .popup-content {\n z-index: 111;\n height: 100%;\n }\n\n &[data-type='form'] {\n width: 496px;\n height: 548px;\n }\n\n &[data-type='confirm'] {\n width: 380px;\n height: 252px;\n }\n\n &[data-type='profile'] {\n /* min-height: 415px; */\n "," {\n border-radius: 6px;\n box-shadow: 0px 4px 8px\n ",";\n &:before {\n position: absolute;\n right: 11px;\n bottom: 100%;\n width: 0;\n height: 0;\n border: 0.5rem solid transparent;\n border-top: none;\n border-bottom-color: #fff;\n content: '';\n filter: drop-shadow(0 -0.0625rem 0.0625rem rgba(0, 0, 0, 0.1));\n }\n }\n "," {\n position: fixed;\n left: 0;\n top: 64px;\n width: 100%;\n }\n "," {\n width: 368px;\n }\n }\n\n .close-button {\n position: absolute;\n top: 0;\n right: 0;\n width: 32px;\n height: 32px;\n cursor: pointer;\n\n img {\n width: 100%;\n height: 100%;\n border-radius: 50%;\n }\n }\n"])),(function(n){return n.theme.colors.white}),R.mbDown,R.mbUp,R.mbDown,R.mbUp,R.mbUp,(function(n){return n.theme.colors.gray200}),R.mbDown,R.mbUp),ur=T.div(Zl||(Zl=t(["\n position: fixed;\n z-index: 150;\n top: 69px;\n left: 0;\n width: 100%;\n height: 100%;\n align-items: center;\n\n "," {\n background-color: transparent;\n &[data-type='welcome'] {\n background: rgba(38, 38, 38, 0.3);\n }\n &[data-type='due-date'] {\n background: rgba(38, 38, 38, 0.3);\n }\n }\n\n "," {\n background: rgba(38, 38, 38, 0.3);\n }\n\n &[data-type='welcome'] {\n top: 0;\n }\n\n &[data-open='false'] {\n display: none;\n }\n"],["\n position: fixed;\n z-index: 150;\n top: 69px;\n left: 0;\n width: 100%;\n height: 100%;\n align-items: center;\n\n "," {\n background-color: transparent;\n &[data-type='welcome'] {\n background: rgba(38, 38, 38, 0.3);\n }\n &[data-type='due-date'] {\n background: rgba(38, 38, 38, 0.3);\n }\n }\n\n "," {\n background: rgba(38, 38, 38, 0.3);\n }\n\n &[data-type='welcome'] {\n top: 0;\n }\n\n &[data-open='false'] {\n display: none;\n }\n"])),R.mbUp,R.mbDown),xr=function(n){var e=n.type,t=void 0===e?"lead":e,i=n.closeIcon,o=n.isOpen,a=void 0===o||o,r=n.onClose,s=n.children,c=n.enableAnimation,p=void 0===c||c,d=n.targetAvatar,m=n.id,h=n.className;return l.createElement(l.Fragment,null,l.createElement(gr,{"data-open":a,"data-type":t,"data-animation":p,"data-target":d,id:m,className:h},l.createElement("div",{className:"popup-content"},!!i&&l.createElement("div",{className:"close-button",onClick:r},i),s)),l.createElement(ur,{"data-type":t,"data-open":a,onClick:r,id:m?"wrapper-".concat(m):void 0,className:"".concat(h||"","-wrapper")}))},fr=function(n){var e=n.SSO_URL,t=n.UP_BASEPATH,i=n.isOpen,o=n.locale,a=n.targetAvatar,r=n.userInfo,s=n.ENABLE_CARE_PROFILE_MENU_LOCALES,c=n.ENABLE_COMMUNITY_PROFILE_MENU_LOCALES,p=n.closePopup,d=n.siteType,m=void 0===d?"helloSites":d,h=n.dispatchLogout,g=n.userProfileRouterPush,u=n.isUserProfileNavigatorMenuHidden,x=n.isMyHealthEnabled,f=void 0!==x&&x,y=n.togetherApiDomain,v=function(n){g?g("/".concat(n)):e&&(window.location.href="".concat(e).concat(t,"/").concat(n))},b=function(n){v(n),p()};return l.createElement(xr,{isOpen:i,type:"profile",enableAnimation:!1,targetAvatar:a,onClose:p},l.createElement(V,{locale:o},l.createElement(E,{SSO_URL:e,UP_BASEPATH:t,themeName:m,userInfo:r,ENABLE_COMMUNITY_PROFILE_MENU_LOCALES:c,ENABLE_CARE_PROFILE_MENU_LOCALES:s,onClickLogout:function(){h&&(h(),p())},onClickMenuItem:b,onClickNavigationCard:b,onClickMyProfileButton:function(){v("profile"),p()},userProfileRouterPush:g,isUserProfileNavigatorMenuHidden:u,isMyHealthEnabled:f,togetherApiDomain:y,locale:o})))},yr=T.div(Kl||(Kl=t(["\n position: relative;\n"],["\n position: relative;\n"]))),vr=T.div(Xl||(Xl=t([""],[""]))),br=T.div(Ql||(Ql=t(["\n position: absolute;\n z-index: 21;\n top: 100%;\n right: 0;\n width: 327px;\n padding: 8px;\n background: white;\n border-radius: 4px;\n filter: drop-shadow(0px 8px 40px rgba(0, 0, 0, 0.1));\n\n &[data-is-open='false'] {\n display: none;\n }\n &[data-show-indicator='true'] {\n &:before {\n position: absolute;\n right: 11px;\n bottom: 100%;\n width: 0;\n height: 0;\n border: 0.5rem solid transparent;\n border-top: none;\n border-bottom-color: #fff;\n content: '';\n filter: drop-shadow(0 -0.0625rem 0.0625rem rgba(0, 0, 0, 0.1));\n }\n }\n"],["\n position: absolute;\n z-index: 21;\n top: 100%;\n right: 0;\n width: 327px;\n padding: 8px;\n background: white;\n border-radius: 4px;\n filter: drop-shadow(0px 8px 40px rgba(0, 0, 0, 0.1));\n\n &[data-is-open='false'] {\n display: none;\n }\n &[data-show-indicator='true'] {\n &:before {\n position: absolute;\n right: 11px;\n bottom: 100%;\n width: 0;\n height: 0;\n border: 0.5rem solid transparent;\n border-top: none;\n border-bottom-color: #fff;\n content: '';\n filter: drop-shadow(0 -0.0625rem 0.0625rem rgba(0, 0, 0, 0.1));\n }\n }\n"]))),Er=T.div(ql||(ql=t(["\n display: flex;\n height: 40px;\n align-items: center;\n justify-content: space-between;\n\n padding: 0 16px;\n border-radius: 6px;\n cursor: pointer;\n\n .check-icon {\n width: 16px;\n height: 16px;\n }\n &[data-selected='false'] {\n background-color: ",";\n }\n"],["\n display: flex;\n height: 40px;\n align-items: center;\n justify-content: space-between;\n\n padding: 0 16px;\n border-radius: 6px;\n cursor: pointer;\n\n .check-icon {\n width: 16px;\n height: 16px;\n }\n &[data-selected='false'] {\n background-color: ",";\n }\n"])),(function(n){return n.theme.colors.gray100})),wr=T.div(Jl||(Jl=t(["\n position: fixed;\n z-index: 20;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n cursor: default;\n"],["\n position: fixed;\n z-index: 20;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n cursor: default;\n"]))),kr=function(n){var e=n.options,t=n.label,i=n.selected,o=n.onChange,a=n.showSelected,s=void 0===a||a,c=n.style,p=void 0===c?{}:c,d=n.showIndicator,m=void 0===d||d,h=r(!1),g=h[0],u=h[1];return l.createElement(l.Fragment,null,l.createElement(yr,null,l.createElement(vr,{onClick:function(){return u((function(n){return!n}))}},!!t&&t),l.createElement(br,{"data-is-open":g,style:p,"data-show-indicator":m},e.map((function(n,e){return l.createElement(Er,{key:e,"data-selected":s&&i===n.value,onClick:function(e){i!==n.value&&(o(n.value),u((function(n){return!n}))),e.stopPropagation()}},l.createElement(N,{size:"p3"},n.label),s&&i===n.value&&l.createElement("img",{src:"data:image/svg+xml,%3csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M13.3346 4L6.0013 11.3333L2.66797 8' stroke='%23737373' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e",alt:"check",className:"check-icon"}))})))),g&&l.createElement(wr,{onClick:function(){return u(!1)}}))},Cr=function(n){var e="undefined"!=typeof window&&document.querySelector(n),t=e&&window.getComputedStyle(e);return t&&t.getPropertyValue("display")},Tr=function(n){var t,i=n.siteType,p=n.MetaPageTitle,d=n.MetaPageDescription,h=n.MetaPageImage,g=n.footerInfo,u=n.children,x=n.ssrMenuContent,E=void 0===x?{}:x,w=E.categories,k=void 0===w?[]:w,C=E.healthTools,T=void 0===C?[]:C,_=E.healthToolsByCategory,L=void 0===_?[]:_,S=E.careSpecialties,I=void 0===S?[]:S,A=E.togetherCommunities,N=void 0===A?[]:A,M=E.spotlightsList,O=void 0===M?[]:M,P=n.SEOData,R=void 0===P?{}:P,B=n.UP_BASEPATH,D=void 0===B?$:B,z=n.isStatic,U=void 0!==z&&z,F=n.seoType,j=void 0===F?"website":F,G=n.isMobile,Y=n.isMyHealthEnabled,V=void 0!==Y&&Y,W=n.logoutHandlers,Z=W.isLogoutPopupOpened,K=W.callPostLogOutApi,J=W.onClosePopup,en=W.onLogout,tn=n.marryBaby,on=void 0===tn?{tone:"white",marryBabyApiDomain:"",socialLinks:{facebookLink:"",instagramLink:"",linkedinLink:"",twitterLink:"",youtubeLink:"",zaloLink:""}}:tn,an=on.tone,ln=void 0===an?"white":an,rn=on.marryBabyApiDomain,pn=on.socialLinks,dn=void 0===pn?{}:pn,mn=dn.facebookLink,hn=void 0===mn?"":mn,gn=dn.instagramLink,un=void 0===gn?"":gn,xn=dn.linkedinLink,fn=void 0===xn?"":xn,yn=dn.twitterLink,bn=void 0===yn?"":yn,En=dn.youtubeLink,wn=void 0===En?"":En,kn=dn.zaloLink,Cn=void 0===kn?"":kn,Tn=n.statics,_n=void 0===Tn?{LOCALE_SPECS:Q,STATIC_PAGES:q}:Tn,Ln=_n.DISCOVER_URL_FE,Sn=_n.TOGETHER_URL_FE,Nn=_n.MARRY_BABY_FE,Fn=_n.HOME_PAGE_URL,jn=_n.HEALTH_TOOL_URL_FE,Vn=_n.CARE_URL_FE,Wn=_n.LOCALE_SPECS,Zn=void 0===Wn?Q:Wn,Kn=_n.STATIC_PAGES,Xn=void 0===Kn?q:Kn,Qn=n.sso,qn=void 0===Qn?{}:Qn,Jn=qn.dispatchLogout,$n=qn.SSO_URL,ne=n.together,ee=void 0===ne?{TOGETHER_MENU_COUNTRIES_ENABLED:["id-ID","vi-VN"],ENABLE_COMMUNITY_PROFILE_MENU_LOCALES:["id-ID","vi-VN"],togetherApiDomain:""}:ne,te=ee.TOGETHER_MENU_COUNTRIES_ENABLED,ie=ee.ENABLE_COMMUNITY_PROFILE_MENU_LOCALES,oe=ee.togetherApiDomain,ae=n.care,le=void 0===ae?{CARE_MENU_COUNTRIES_ENABLED:["vi-VN","id-ID","en-PH"],ENABLE_CARE_PROFILE_MENU_LOCALES:[],menuActionType:"redirectOnly",careApiDomain:""}:ae,re=le.CARE_MENU_COUNTRIES_ENABLED,se=le.ENABLE_CARE_PROFILE_MENU_LOCALES,ce=le.careApiDomain,pe=n.discover,de=(void 0===pe?{discoverApiDomain:""}:pe).discoverApiDomain,me=n.activeMenuService,he=void 0===me?"categories":me,ge=n.basePath,ue=n.isAmp,xe=void 0!==ue&&ue,fe=n.nextHead,ye=n.routerPathname,ve=n.routerQuery,be=n.routerAsPath,Ee=n.locale,we=n.userState,ke=n.callApiHandler,Ce=n.userProfileRouterPush,Te=n.onTopBarAppears,_e=n.forcedCanonicalUrl,Le=n.isUserProfileNavigatorMenuHidden,Se=n.sitewideBanner,Ie=n.sitewideBannerShown,Ae=void 0===Ie||Ie,Me=n.sponsorComponent,Oe=n.languageOptions,Pe=n.isSearchBarDisplay,Re=n.ampSubBar,Be=n.isSearchIconDisplayed,De=void 0===Be||Be,He=n.enabledExperimentalCareHeader,ze=void 0!==He&&He,Ue=n.onCareHeaderClick,Fe=n.dueDatePopup,je=n.welcomePopup,Ge=n.ampNextArticle,Ye=n.usingDefaultHead,Ve=void 0===Ye||Ye,We=n.acceptCookiePopup,Ze=n.seoCustom,Ke=n.hasStickyBottomBar,Xe=void 0===Ke||Ke,Qe="boolean"==typeof Pe?Pe:!G,qe=In(),Je=Zn[Ee||"en-PH"]||{},$e=m((function(){var n;return(null===(n=be.split("?"))||void 0===n?void 0:n[0])||""}),[be]),nt=m((function(){return"".concat(ge).concat("/"===$e.slice(-1)?$e:"".concat($e,"/"))}),[$e]),et=m((function(){return(null==Oe?void 0:Oe.find((function(n){return n.value!==nt})))||null}),[Oe,nt]),tt=r(g),it=tt[0],ot=tt[1],at=r(k),lt=at[0],rt=at[1],st=r(T),ct=st[0],pt=st[1],dt=r(L),mt=dt[0],ht=dt[1],gt=r(I),ut=gt[0],xt=gt[1],ft=r(N),yt=ft[0],vt=ft[1],bt=r(O),Et=bt[0],wt=bt[1],kt=Ln||"https://".concat(X[Ee])||"",Ct="undefined"!=typeof window,Tt=Ct&&document.querySelector("#categories-menu"),_t=Tt&&Ct&&window.getComputedStyle(Tt),Lt=_t&&_t.getPropertyValue("left"),St=s("0px"===Lt),It=r(St.current),At=It[0],Nt=It[1],Mt=Cr(".top-menu-categories"),Ot=Cr(".top-menu-health-tools"),Pt=Cr(".top-menu-communities"),Rt=Cr(".top-menu-care-specialties"),Bt=r(Mt&&"none"!==Mt?"categories":Ot&&"none"!==Ot?"tools":Pt&&"none"!==Pt?"communities":Rt&&"none"!==Rt?"care":"none"),Dt=Bt[0],Ht=Bt[1],zt=m((function(){var n,e;return l.createElement($i,null,null===(e=null===(n=Ee.split("-"))||void 0===n?void 0:n[0])||void 0===e?void 0:e.toUpperCase(),l.createElement("img",{src:"language"===Dt?"data:image/svg+xml,%3csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M4 10L8 6L12 10' stroke='%232D87F3' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e":"data:image/svg+xml,%3csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12 6L8 10L4 6' stroke='%231B3250' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e",style:{width:"16px",height:"16px"},alt:qe("home.navigator.menuItem.language")}))}),[Dt,Ee]),Ut=we.userInfo,Ft=we.isLoggedIn,jt=function(n){Dt!==n&&(Ht(n),Nt(!0)),Dt===n&&(Ht("none"),Nt(!1))},Gt=function(){Nt(!1),Ht("none")},Yt=function(n,e){"Enter"===n.key&&(window.location.href="".concat(Fn,"/search/?s=").concat(e))},Vt=null===(t=null==Zn?void 0:Zn[Ee])||void 0===t?void 0:t.SITE_NAME_FORMATTED,Wt=[{name:qe("home.navigator.menuItem.discover"),id:"categories",link:"./posts/abc",niceName:"",thumbnail:f,isDisplayed:!0},{name:qe("home.navigator.menuItem.healthTools"),id:"healthTools",link:"./en",thumbnail:y,isDisplayed:!0}];(null==te?void 0:te.includes(Ee))&&Wt.push({name:qe("home.navigator.menuItem.helloTogether"),id:"together",link:Sn+"/",thumbnail:v,isDisplayed:!0}),(null==re?void 0:re.includes(Ee))&&Wt.push({name:qe("home.navigator.menuItem.helloCare"),id:"care",link:"/care",thumbnail:b,isDisplayed:!0}),c((function(){document.documentElement.style.overflow=At?"hidden":""}),[At]);var Zt=!!Me;c((function(){Ft&&("first_login"===(null==ve?void 0:ve.source)?(null==Ut?void 0:Ut.email)&&""!==(null==Ut?void 0:Ut.email)?window.insider_object={user:e({uuid:null==Ut?void 0:Ut.id,email:null==Ut?void 0:Ut.email,gdpr_optin:!0,email_optin:!0,sign_up:!0},(null==Ut?void 0:Ut.name)?{name:null==Ut?void 0:Ut.name}:{})}:window.insider_object={user:e({uuid:null==Ut?void 0:Ut.id,sign_up:!0},(null==Ut?void 0:Ut.name)?{name:null==Ut?void 0:Ut.name}:{})}:(null==Ut?void 0:Ut.email)&&""!==(null==Ut?void 0:Ut.email)?window.insider_object={user:e({uuid:null==Ut?void 0:Ut.id,email:null==Ut?void 0:Ut.email,gdpr_optin:!0,email_optin:!0,log_in:!0},(null==Ut?void 0:Ut.name)?{name:null==Ut?void 0:Ut.name}:{})}:window.insider_object={user:e({uuid:null==Ut?void 0:Ut.id,log_in:!0},(null==Ut?void 0:Ut.name)?{name:null==Ut?void 0:Ut.name}:{})}),o(void 0,void 0,void 0,(function(){var n,t;return a(this,(function(o){switch(o.label){case 0:return it?[3,3]:[4,fetch("helloSites"===i?zn(Ee,de):(a=rn,(a||"https://staging.marrybaby.vn/")+"wp-json/api/"+H(sn,e({},l))))];case 1:return[4,o.sent().json()];case 2:return t=o.sent(),[3,4];case 3:t=null,o.label=4;case 4:return(n=t)&&1===n.status&&n.data&&!it&&ot("helloSites"===i?n.data||{}:n.data.footers||[]),[2]}var a,l}))})),o(void 0,void 0,void 0,(function(){var n,e,t,i,o,l;return a(this,(function(a){switch(a.label){case 0:return k&&0!==(null==k?void 0:k.length)||0!==(null==lt?void 0:lt.length)?[3,3]:(o={},[4,fetch(Bn(Ee,de))]);case 1:return[4,a.sent().json()];case 2:return o.response=a.sent(),t=o,[3,4];case 3:t={},a.label=4;case 4:return n=t.response,null!==(e=void 0===n?{}:n)&&1===e.status&&(null===(l=e.data)||void 0===l?void 0:l.length)>0&&(i=e.data.map(Mn),0===lt.length&&rt(i)),[2]}}))})),o(void 0,void 0,void 0,(function(){var n,e,t,o,l,r,s,c,p;return a(this,(function(a){switch(a.label){case 0:return O&&0!==(null==O?void 0:O.length)||"helloSites"!==i||0!==(null==Et?void 0:Et.length)?[3,3]:(l={},[4,fetch(Hn(Ee,de,{perPage:100,orderBy:"start_date"}))]);case 1:return[4,a.sent().json()];case 2:return l.response=a.sent(),t=l,[3,4];case 3:t={},a.label=4;case 4:return n=t.response,1===(null==(e=void 0===n?{}:n)?void 0:e.status)&&(null===(s=null===(r=null==e?void 0:e.data)||void 0===r?void 0:r.articles)||void 0===s?void 0:s.length)>0&&(o=null===(p=null===(c=e.data)||void 0===c?void 0:c.articles)||void 0===p?void 0:p.map(Gn).filter(Yn).slice(0,4),0===Et.length&&wt(o)),[2]}}))})),o(void 0,void 0,void 0,(function(){var n,t,o,l,r,s,c;return a(this,(function(a){switch(a.label){case 0:return(null==T?void 0:T.length)||(null==ct?void 0:ct.length)||(null==L?void 0:L.length)||(null==L?void 0:L.length)?[3,6]:(s={},"helloSites"!==i?[3,2]:[4,fetch(Dn(Ee,de))]);case 1:return l=a.sent(),[3,4];case 2:return[4,fetch((p=rn,(p||"https://staging.marrybaby.vn/")+"wp-json/api/"+H(cn,e({},d))))];case 3:l=a.sent(),a.label=4;case 4:return[4,l.json()];case 5:return s.response=a.sent(),o=s,[3,7];case 6:o={},a.label=7;case 7:return n=o.response,null!==(t=void 0===n?{}:n)&&1===t.status&&(null===(c=t.data)||void 0===c?void 0:c.length)>0&&("helloSites"===i?(r=t.data.map(Pn),0===ct.length&&ht(r)):(r=t.data.map(On),0===ct.length&&pt(r))),[2]}var p,d}))})),o(void 0,void 0,void 0,(function(){var n,e,t,i,o,l,r;return a(this,(function(a){switch(a.label){case 0:return I&&0!==(null==I?void 0:I.length)||!re.includes(Ee)||0!==(null==ut?void 0:ut.length)?[3,3]:(o={},[4,fetch(Rn(Ee,ce))]);case 1:return[4,a.sent().json()];case 2:return o.response=a.sent(),t=o,[3,4];case 3:t={},a.label=4;case 4:return n=t.response,null!==(e=void 0===n?{}:n)&&1===e._status&&(null===(r=null===(l=e._data)||void 0===l?void 0:l.specialties)||void 0===r?void 0:r.length)>0&&(i=e._data.specialties,0===ut.length&&xt(i)),[2]}}))})),o(void 0,void 0,void 0,(function(){var n,t,o,l,r,s,c,p,d;return a(this,(function(a){switch(a.label){case 0:return N&&0!==(null==N?void 0:N.length)||!te.includes(Ee)||0!==(null==yt?void 0:yt.length)?[3,3]:(r={},[4,fetch("helloSites"===i?Un(Ee,oe):(m=oe,(m||"https://together.hellohealthgroup.com/")+"api/v1/"+H(nn,e(e({},h),{websiteUrl:"https://marrybaby.vn"}))))]);case 1:return[4,a.sent().json()];case 2:return r.response=a.sent(),o=r,[3,4];case 3:o={},a.label=4;case 4:return n=o.response,(null===(c=null===(s=null==(t=void 0===n?{}:n)?void 0:t.data)||void 0===s?void 0:s.communities)||void 0===c?void 0:c.length)>0&&(l=(null===(d=null===(p=null==t?void 0:t.data)||void 0===p?void 0:p.communities)||void 0===d?void 0:d.map(An))||[],0===yt.length&&vt(l)),[2]}var m,h}))}))}),[]);var Kt=l.createElement(fr,{locale:Ee,UP_BASEPATH:D,SSO_URL:$n,userProfileRouterPush:Ce,dispatchLogout:Jn,isOpen:"profile"===Dt,isMyHealthEnabled:V,ENABLE_CARE_PROFILE_MENU_LOCALES:se,ENABLE_COMMUNITY_PROFILE_MENU_LOCALES:ie,closePopup:Gt,userInfo:Ut,siteType:i,isUserProfileNavigatorMenuHidden:Le,togetherApiDomain:oe}),Xt=xe&&{"next-page-hide":""};return l.createElement(vn,{SEOData:e({SEOTitle:p,SEOImage:h,SEODescription:d,siteName:Vt,seoType:j},R),isAmp:xe,locale:Ee,routerPathname:ye,routerQuery:ve,nextHead:fe,siteType:i,forcedCanonicalUrl:_e,userId:null==Ut?void 0:Ut.id,usingDefaultHead:Ve,seoCustom:Ze},l.createElement(hr,{basePath:ge,callPostLogOutApi:K,openLogoutPopup:Z,onCloseHandler:J,onLogoutHandler:en,siteType:i}),Fe,je,We,G?l.createElement(l.Fragment,null,l.createElement(Qi,null,l.createElement("section",e({className:xe?"amp-header":void 0,"next-page-replace":"hhg-navigator","amp-fx":"float-in-top"},Xt),l.createElement(Ne,{siteType:i,statics:{DISCOVER_URL_FE:kt,SSO_URL:$n,HOME_PAGE_URL:Fn,MARRY_BABY_FE:Nn,CARE_URL_FE:Vn},marryBaby:{tone:ln},menuItems:Wt,menu:xe?void 0:l.createElement(pr,{key:"mobile-menu-popup",menuItems:Wt,siteType:i,isMobileMenuOpened:"categories"===Dt,categories:lt,healthTools:ct,healthToolsByCategory:mt,careSpecialties:ut,togetherCommunities:yt,spotlightsList:Et,onMobileMenuClick:jt,isMobile:G,closePopup:Gt,footer:l.createElement(Xi,{locale:Ee,isMobile:G,basePath:ge,isAmp:xe,footerInfo:it,type:"mini",siteType:i,marryBabySocialLinks:{facebookLink:hn,instagramLink:un,linkedinLink:fn,twitterLink:bn,youtubeLink:wn,zaloLink:Cn}}),locale:Ee,callApiHandler:ke,basePath:ge,together:{TOGETHER_MENU_COUNTRIES_ENABLED:te,togetherApiDomain:oe||rn,TOGETHER_URL_FE:Sn},care:{CARE_MENU_COUNTRIES_ENABLED:re,careApiDomain:ce,CARE_URL_FE:Vn},discover:{discoverApiDomain:de,DISCOVER_URL_FE:kt},activeMenuService:he,statics:{DISCOVER_URL_FE:kt,HOME_PAGE_URL:Fn,HEALTH_TOOL_URL_FE:jn,MARRY_BABY_FE:Nn,TOGETHER_URL_FE:Sn,STATIC_PAGES:Xn},marryBaby:{tone:ln},routerAsPath:be,popupType:"none",sso:{SSO_URL:$n}}),profileMenu:Kt,type:"home",currentPopupType:Dt,isMobile:G,isLoginButtonDisplayed:!0,onMenuClick:jt,searchPlaceholder:qe("home.search",{site:"helloSites"===i?null==Je?void 0:Je.SITE_NAME:"Marry Baby"}),onTopBarAppears:function(n){Te&&Te(n)},isSearchBarDisplay:Qe,onSearchKeyPress:Yt,isStatic:xe||U,sponsorComponent:Me,locale:Ee,userInfo:we.userInfo,basePath:ge,isAmp:xe,isDisplayed:!0,isInit:!1,onSearchChange:void 0,openPopup:void 0,routerAsPath:be,title:"",sitewideBanner:Se,sitewideBannerShown:Ae,isSearchIconDisplayed:De,enabledExperimentalCareHeader:ze,languageMenu:void 0!==Oe&&Oe.length>1?l.createElement(l.Fragment,null,2===Oe.length&&et?l.createElement(no,{"data-is-active":!0,href:(null==et?void 0:et.value)||"#"},null==et?void 0:et.label):l.createElement(kr,{options:Oe,selected:nt,label:zt,onChange:function(n){"undefined"!=typeof window&&(window.location.href=n)},style:{width:100},showSelected:!0,showIndicator:!1})):void 0}),void 0!==Re&&l.createElement(l.Fragment,null,Re)),xe?l.createElement(Ji,{className:"root-container","data-menu-opened":St.current,"data-sponsored":Zt,"data-is-mobile":G,"data-sitewide":!!Se},u,l.createElement(Xi,{isAmp:xe,isMobile:G,locale:Ee,basePath:ge,footerInfo:it,type:"main",siteType:i,marryBabySocialLinks:{facebookLink:hn,instagramLink:un,linkedinLink:fn,twitterLink:bn,youtubeLink:wn,zaloLink:Cn},ampNextArticle:Ge,routerQuery:ve})):l.createElement(qi,{className:"root-container","data-menu-opened":St.current,"data-sponsored":Zt,"data-is-mobile":G,"data-sitewide":!!Se,hasStickyBottomBar:Xe},l.createElement(l.Fragment,null,u,l.createElement(Xi,{isAmp:xe,isMobile:G,locale:Ee,basePath:ge,footerInfo:it,type:"main",siteType:i,marryBabySocialLinks:{facebookLink:hn,instagramLink:un,linkedinLink:fn,twitterLink:bn,youtubeLink:wn,zaloLink:Cn},ampNextArticle:Ge,routerQuery:ve})))),xe&&l.createElement(ri,{locale:Ee,categoriesSSR:k,healthToolsSSR:L,spotlightsSSR:O,serviceUrls:{TOGETHER_URL_FE:Sn,CARE_URL_FE:Vn,DISCOVER_URL_FE:kt},together:{TOGETHER_MENU_COUNTRIES_ENABLED:te,ENABLE_COMMUNITY_PROFILE_MENU_LOCALES:ie,togetherApiDomain:oe},care:{CARE_MENU_COUNTRIES_ENABLED:re,ENABLE_CARE_PROFILE_MENU_LOCALES:se,careApiDomain:ce},basePath:ge,searchPlaceholder:qe("home.search",{site:"helloSites"===i?null==Je?void 0:Je.SITE_NAME:"Marry Baby"})})):l.createElement(l.Fragment,null,l.createElement(Ne,{siteType:i,menuItems:Wt,marryBaby:{tone:ln},locale:Ee,currentPopupType:Dt,onSearchKeyPress:Yt,openPopup:function(n){Dt!==n&&Ht(n),Dt===n&&Ht("none")},isMobile:G,isLoginButtonDisplayed:!0,isSearchBarDisplay:!xe&&Qe,searchPlaceholder:qe("home.search",{site:"helloSites"===i?null==Je?void 0:Je.SITE_NAME:"Marry Baby"}),sitewideBannerShown:Ae,statics:{DISCOVER_URL_FE:kt,SSO_URL:$n,HOME_PAGE_URL:Fn,MARRY_BABY_FE:Nn,CARE_URL_FE:Vn},menu:l.createElement(pr,{menuItems:Wt,siteType:i,isMobile:G,popupType:Dt,closePopup:function(){Ht("none")},categories:lt,healthTools:ct,healthToolsByCategory:mt,careSpecialties:ut,togetherCommunities:yt,spotlightsList:Et,locale:Ee,callApiHandler:ke,basePath:ge,together:{TOGETHER_MENU_COUNTRIES_ENABLED:te,togetherApiDomain:oe,TOGETHER_URL_FE:Sn},care:{careApiDomain:ce,CARE_MENU_COUNTRIES_ENABLED:re,CARE_URL_FE:Vn},discover:{discoverApiDomain:de,DISCOVER_URL_FE:kt},statics:{DISCOVER_URL_FE:kt,HOME_PAGE_URL:Fn,HEALTH_TOOL_URL_FE:jn,MARRY_BABY_FE:Nn,TOGETHER_URL_FE:Sn,STATIC_PAGES:Xn},activeMenuService:he,marryBaby:{tone:ln},routerAsPath:be,footer:void 0,isMobileMenuOpened:void 0,sso:{SSO_URL:$n},onMobileMenuClick:void 0}),profileMenu:Kt,userInfo:we.userInfo,sponsorComponent:Me,type:"home",basePath:ge,isAmp:xe,isDisplayed:!0,isInit:!1,onSearchChange:void 0,isStatic:!1,routerAsPath:be,title:"",onMenuClick:void 0,onTopBarAppears:void 0,sitewideBanner:Se,languageMenu:void 0!==Oe&&Oe.length>1?l.createElement(l.Fragment,null,2===Oe.length&&et?l.createElement(no,{"data-is-active":!0,href:(null==et?void 0:et.value)||"#"},null==et?void 0:et.label):l.createElement(kr,{options:Oe,selected:nt,label:zt,onChange:function(n){"undefined"!=typeof window&&(window.location.href=n)},style:{width:100},showSelected:!0,showIndicator:!1})):void 0,enabledExperimentalCareHeader:ze,onCareHeaderClick:Ue}),xe?l.createElement(Ji,{className:"root-container","data-menu-opened":At,"data-is-mobile":G,"data-sponsored":Zt,"data-sitewide":!!Se},u):l.createElement(qi,{className:"root-container","data-menu-opened":At,"data-is-mobile":G,"data-sponsored":Zt,"data-sitewide":!!Se,hasStickyBottomBar:Xe},u),l.createElement(Xi,{type:"main",locale:Ee,basePath:ge,isMobile:G,isAmp:xe,footerInfo:it,siteType:i,marryBabySocialLinks:{facebookLink:hn,instagramLink:un,linkedinLink:fn,twitterLink:bn,youtubeLink:wn,zaloLink:Cn}})))},_r=function(n){return l.createElement(Sn.Provider,{value:{translation:n.translation||Ln}},l.createElement(Tr,e({},n)))};export{vn as Layout,Ne as NavigationBar,_r as NavigationLayout,_n as SiteWide,$e as StickySponsoredBy,Ln as defaultTranslation};
|
|
1
|
+
import{d as n,b as e,c as t,e as i,_ as o,a}from"./tslib.es6-ba283c01.js";import l,{useState as r,useRef as s,useEffect as c,createContext as p,useContext as d,useMemo as m,useCallback as h}from"react";import{h as g,i as u,b as x,c as f,d as y,f as v,e as b,U as E}from"./index-8ef6e252.js";import{throttle as w,debounce as k}from"lodash";import{s as C}from"./cookieHelper-0e8521c3.js";import T from"styled-components";import{A as _,n as L,P as S}from"./togetherComponentGlobalContext-f48235f5.js";import{B as I,H as A}from"./index-727428e1.js";import{T as N,a as M,P as O,C as P}from"./index.styled-2d31cc1a.js";import{M as R,t as B}from"./useTranslations-161444d2.js";import{L as D}from"./constants-a0a981fa.js";import H from"string-format";import"react-range";import"react-dom";import{i as z,a as U,b as F,c as j}from"./zalo-7f0726ae.js";import{D as G}from"./index-69ca5d78.js";import Y from"react-loading-skeleton";import{T as V}from"./translationsProvider-59f3d200.js";import"slugify";import"./translationsContext-65bea19b.js";var W,Z,K,X={"vi-VN":"hellobacsi.com","id-ID":"hellosehat.com","ms-MY":"hellodoktor.com","km-KH":"hellokrupet.com","en-PH":"hellodoctor.com.ph","th-TH":"hellokhunmor.com","my-MM":"hellosayarwon.com","zh-TW":"helloyishi.com.tw","hi-IN":"helloswasthya.com","tl-PH":"hellodoctor.com.ph"},Q={"vi-VN":{LOGO_TYPE:"hellobacsi",SITE_NAME:"HelloBacsi",SITE_NAME_FORMATTED:"Hello Bacsi",HOMEPAGE_IMAGE:"https://hellobacsi.com/images/country-thumbnails/VN.png",SITE_ID:"1",INSIDER_TAG:"//hellobacsivn.api.useinsider.com/ins.js?id=10003798",TOOLTIP_IMAGE:"/images/tooltips-vn.png",PREGNANCY_WEIGHT_GAIN:"cong-cu-tinh-can-nang-khi-mang-thai",BABY_POOP:"phan-tre-so-sinh-nhu-the-nao-la-tot",VACCINATION_TOOL:"lich-tiem-chung"},"en-PH":{LOGO_TYPE:"hellodoctor",SITE_NAME:"HelloDoctor",HOMEPAGE_IMAGE:"https://hellodoctor.com.ph/images/country-thumbnails/PH.png",SITE_NAME_FORMATTED:"Hello Doctor",SITE_ID:"9",CATEGORIES_TYPE:"short",INSIDER_TAG:"//hellodoctorph.api.useinsider.com/ins.js?id=10004527",TOOLTIP_IMAGE:"/images/tooltips-ph.png",PREGNANCY_WEIGHT_GAIN:"pregnancy-weight-gain-calculator",BABY_POOP:"a-visual-guide-on-baby-poop",VACCINATION_TOOL:"vaccination-tool"},"th-TH":{LOGO_TYPE:"hellokhunmor",SITE_NAME:"HelloKhunmor",HOMEPAGE_IMAGE:"https://hellokhunmor.com/images/country-thumbnails/TH.png",SITE_NAME_FORMATTED:"Hello Khunmor",SITE_ID:"3",CATEGORIES_TYPE:"long",INSIDER_TAG:"//hellokhunmor.api.useinsider.com/ins.js?id=10004524",TOOLTIP_IMAGE:"/images/tooltips-th.png",PREGNANCY_WEIGHT_GAIN:"เครื่องคำนวณน้ำหนักตัว",BABY_POOP:"สีอุจจาระของลูก-บอกถึงส",VACCINATION_TOOL:"vaccination-tool"},"km-KH":{LOGO_TYPE:"hellokrupet",SITE_NAME:"HelloKrupet",HOMEPAGE_IMAGE:"https://hellokrupet.com/images/country-thumbnails/KH.JPG",SITE_NAME_FORMATTED:"Hello Krupet",SITE_ID:"4",CATEGORIES_TYPE:"long",INSIDER_TAG:"//hellokrupet.api.useinsider.com/ins.js?id=10004523",TOOLTIP_IMAGE:"/images/tooltips-kh.png",PREGNANCY_WEIGHT_GAIN:"រង្វាស់សុខភាព/គណនាទម្ងន់ស្ត្រីពពោះ",BABY_POOP:"រង្វាស់សុខភាព/អត្ថន័យពណ៌-និងរូបរាងលាម",VACCINATION_TOOL:"រង្វាស់សុខភាព/កាលវិភាគចាក់ថ្នាំបង្កា"},"my-MM":{LOGO_TYPE:"hellosayarwon",SITE_NAME:"HelloSayarwon",HOMEPAGE_IMAGE:"https://hellosayarwon.com/images/country-thumbnails/PH.png",SITE_NAME_FORMATTED:"Hello Sayarwon",SITE_ID:"7",INSIDER_TAG:"//hellosayarwon.api.useinsider.com/ins.js?id=10004522"},"zh-TW":{LOGO_TYPE:"helloyishi",SITE_NAME:"HelloYishi",HOMEPAGE_IMAGE:"https://helloyishi.com.tw/images/country-thumbnails/TW.png",SITE_NAME_FORMATTED:"Hello Yishi",SITE_ID:"6",INSIDER_TAG:"//helloyishi.api.useinsider.com/ins.js?id=10004526",TOOLTIP_IMAGE:"/images/tooltips-tw.png",PREGNANCY_WEIGHT_GAIN:"pregnancy-weight-gain-calculator",BABY_POOP:"how-does-babies-poop-look-like",VACCINATION_TOOL:"vaccination-tool"},"id-ID":{LOGO_TYPE:"hellosehat",SITE_NAME:"HelloSehat",HOMEPAGE_IMAGE:"https://hellosehat.com/images/country-thumbnails/ID.png",SITE_NAME_FORMATTED:"Hello Sehat",SITE_ID:"2",INSIDER_TAG:"//hellosehat.api.useinsider.com/ins.js?id=10003799",TOOLTIP_IMAGE:"/images/tooltips-id.png",PREGNANCY_WEIGHT_GAIN:"kalkulator-kenaikan-berat-badan-ibu-hamil",BABY_POOP:"warna-feses-bayi-normal",VACCINATION_TOOL:"jadwal-imunisasi"},"hi-IN":{LOGO_TYPE:"helloswasthya",SITE_NAME:"HelloSwasthya",HOMEPAGE_IMAGE:"https://helloswasthya.com/images/country-thumbnails/IN.png",SITE_NAME_FORMATTED:"हैलो स्वास्थ्य",SITE_ID:"8",CATEGORIES_TYPE:"long",INSIDER_TAG:"//helloswasthya.api.useinsider.com/ins.js?id=10004498",TOOLTIP_IMAGE:"/images/tooltips-in.png",PREGNANCY_WEIGHT_GAIN:"garbhavastha-weight-calculator",BABY_POOP:"visual-guide-on-baby-poop",VACCINATION_TOOL:"vaccination-tool"},"ms-MY":{LOGO_TYPE:"hellodoktor",SITE_NAME:"HelloDoktor",HOMEPAGE_IMAGE:"https://hellodoktor.com/images/country-thumbnails/MY.png",SITE_NAME_FORMATTED:"Hello Doktor",SITE_ID:"5",INSIDER_TAG:"//hellodoktor.api.useinsider.com/ins.js?id=10004525",TOOLTIP_IMAGE:"/images/tooltips-my.png",PREGNANCY_WEIGHT_GAIN:"kalkulator-tambah-berat-badan-hamil",BABY_POOP:"kenali-najis-bayi-anda",VACCINATION_TOOL:"alat-kesihatan-vaksin"},"tl-PH":{LOGO_TYPE:"hellodoctor",SITE_NAME:"HelloDoctor",HOMEPAGE_IMAGE:"https://hellodoctor.com.ph/images/country-thumbnails/PH.png",SITE_NAME_FORMATTED:"Hello Doctor",SITE_ID:"9",CATEGORIES_TYPE:"short",INSIDER_TAG:"//hellodoctorph.api.useinsider.com/ins.js?id=10004527",TOOLTIP_IMAGE:"/fil/images/tooltips-ph.png",PREGNANCY_WEIGHT_GAIN:"pregnancy-weight-gain-calculator",BABY_POOP:"a-visual-guide-on-baby-poop",VACCINATION_TOOL:"vaccination-tool",ABOUT_US_IMAGE:"/fil/images/aboutus/PH.png"}},q={"vi-VN":{PRIVACY:"/privacy",TERM_OF_USE:"/dieu-khoan-su-dung",PRIVACY_POLICY:"/chinh-sach-quyen-rieng-tu",EDITORIAL_CORRECTIONS_POLICY:"/chinh-sach-bien-tap-chinh-sua",ADVERTISING_SPONSOR_POLICY:"/chinh-sach-quang-cao-tai-tro",POLICIES:"/chinh-sach",FAQS:"/thong-tin-quan-trong",SITEMAP:"/sitemap",ABOUT_US:"/about-us",ADVERTISEMENT:"/quang-cao-voi-chung-toi",CONTACT_US:"/lien-he",ABOUT_GO_CARE:"/about-go-care",HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/hello-bacsi/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/tieu-chuan-cong-dong",TOGETHER:"/community"},"km-KH":{POLICIES:"/policies",TERM_OF_USE:"/ខនិងលក្ខខណ្ឌ",PRIVACY_POLICY:"/គោលការណ៍ឯកជនភាព",EDITORIAL_CORRECTIONS_POLICY:"/គោលការណ៍ខ្លឹមសារមាតិកា",ADVERTISING_SPONSOR_POLICY:"/គោលការណ៍ផ្សាយពាណិជ្ជកម",FAQS:"/faqs",SITEMAP:"/sitemap",ABOUT_US:"/about-us",ADVERTISEMENT:"/advertisement",CONTACT_US:"/contact-us",ABOUT_GO_CARE:"/about-go-care",HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"/#",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/គោលការណ៍ណែនាំសហគមន៍",TOGETHER:"/community"},"en-PH":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/community-guidelines",TOGETHER:"/community"},"my-MM":{POLICIES:"/polisi-terma-syarat",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/pengiklanan",CONTACT_US:"/hubungi-kami",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:" https://hellohealthgroup.com/hello-doktor/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/panduan-komuniti",TOGETHER:"/community"},"zh-TW":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/advertising",CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,FACILITY:"/facility",HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:null,TOGETHER:"/community"},"id-ID":{POLICIES_EN:"/policies",TERM_OF_USE:"/kebijakan-pengguna",PRIVACY_POLICY:"/kebijakan-privasi",EDITORIAL_CORRECTIONS_POLICY:"/kebijakan-editorial",ADVERTISING_SPONSOR_POLICY:"/kebijakan-iklan",POLICIES:"/kebijakan",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/kontak-kami",CONTACT_EN:"/contact",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/hello-sehat/",RECRUITMENT:"https://hellohealthgroup.com/careers/",EDITORIAL_POLICY:"/edit-id",EDITORIAL_POLICY_EN:"/edit-en",COMMUNITY_GUIDELINE:"/panduan-komunitas",TOGETHER:"/community"},"hi-IN":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:null,TOGETHER:"/community"},"ms-MY":{POLICIES:"/polisi-terma-syarat",TERM_OF_USE:"/terma-dan-syarat",PRIVACY_POLICY:"/polisi-privasi",EDITORIAL_CORRECTIONS_POLICY:"/polisi-editorial",ADVERTISING_SPONSOR_POLICY:"/polisi-pengiklanan",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/pengiklanan",CONTACT_US:"/hubungi-kami",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:" https://hellohealthgroup.com/hello-doktor/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/panduan-komuniti",TOGETHER:"/community"},"th-TH":{POLICIES_EN:"/policies",TERM_OF_USE:"/เงื่อนใขการใช้งาน",PRIVACY_POLICY:"/นโยบายความเป็นส่วนตัว",EDITORIAL_CORRECTIONS_POLICY:"/นโยบายบรรณธิการ",ADVERTISING_SPONSOR_POLICY:"/นโยบายการโฆษณาและผู้สนับสนุน",POLICIES:"/นโยบาย",FAQS:"/คำถามที่พบบ่อย",SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/ลงโฆษณากับเรา",CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:null,TOGETHER:"/community"},"tl-PH":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/community-guidelines",TOGETHER:"/community"}},J={"vi-VN":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"km-KH":[{type:"link",rel:"icon",href:"/by-locales/km-KH/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/km-KH/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/km-KH/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/km-KH/icon-270x270.png"}],"en-PH":[{type:"link",rel:"icon",href:"/by-locales/en-PH/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/en-PH/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon",href:"/by-locales/en-PH/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/en-PH/icon-270x270.png"}],"id-ID":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"ms-MY":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"th-TH":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"my-MM":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"zh-TW":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"hi-IN":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],marryBaby:[{type:"link",rel:"shortcut icon",href:"/favicons/favicon.ico"},{type:"link",rel:"icon",href:"/favicons/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/favicons/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/favicons/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/favicons/icon-180x180.png"}]},$="user",nn="community?website_url={websiteUrl}",en="topic?community_id={communityId}&website_url={websiteUrl}",tn="spotlights?per_page={perPage}&order_by={orderBy}",on="healthtools?_hasgroup=1",an="categories?type=all",ln="footer",rn="api/specialties?_ishome=1&site={domain}",sn="menu/footer",cn="health-tools",pn=99,dn=300,mn=400,hn=200,gn=210,un=5,xn=6,fn=300,yn={SOCIAL_LINKS:{facebookLink:"https://www.facebook.com/marry.baby.vn",instagramLink:"https://www.instagram.com/marrybaby.vn",zaloLink:"http://zalo.me/806483414530291942",youtubeLink:"https://www.youtube.com/user/marrybabyvn"}},vn=function(t){var i,o,a,r,s,c,p,d,m,h,u,x,f,y,v,b,E,w,k,C=t.children,T=t.SEOData,_=void 0===T?{}:T,L=t.isAmp,S=void 0!==L&&L,I=t.locale,A=void 0===I?"vi-VN":I,N=t.routerPathname,M=t.routerQuery,O=t.nextHead,P=t.siteType,R=t.seoCustom,B=t.userId,D=t.forcedCanonicalUrl,H=t.usingDefaultHead,z="production"===process.env.NEXT_PUBLIC_DEPLOY_ENV,U=_.totalPages,F=_.currentPage,j=_.SEOTitle,G=void 0===j?"":j,Y=_.SEODescription,V=void 0===Y?"":Y,W=_.SEOImage,Z=_.seoType,K=_.SEOImageWidth,q=_.SEOImageHeight,$=_.customMetaData,nn=void 0===$?[]:$,en=_.isIndexable,tn=void 0===en||en,on=_.hasNoCanonical,an=void 0!==on&&on,ln=tn&&z?"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1":"noindex",rn=process.env.NEXT_PUBLIC_BASE_API_URL,sn=_.canonicalUrl||N;Object.keys(M).forEach((function(n){var e=M[n];e&&Array.isArray(e)&&(sn=sn.replace("[...".concat(n,"]"),e.join("/")))}));var cn,pn=A||"en-PH",dn="helloSites"===P?X[pn]:"www.marrybaby.vn",mn=sn.endsWith("/")?"":"/";if(_.apiMetaData&&"string"==typeof _.apiMetaData){var hn=null===(i=_.apiMetaData)||void 0===i?void 0:i.match(/<title.*?>(.*)<\/title>/),gn=" - Page ".concat(F," of ").concat(U),un=F&&1!==F&&hn?_.apiMetaData.replace(hn[0],hn[0].includes("-")?hn[0].replace("-",gn+" - "):"<title>".concat(hn[1].concat(gn),"</title>")).replace('<link rel="canonical" href="https://'.concat(dn).concat(sn).concat(mn,'" />'),'<link rel="canonical" href="https://'.concat(dn).concat(sn).concat(mn,"?page=").concat(F,'" />')):_.apiMetaData,xn=(cn=g(un,{trim:!0})).find((function(n){var e,t;return"og:image"===(null===(e=n.props)||void 0===e?void 0:e.property)||"og:image:secure_url"===(null===(t=n.props)||void 0===t?void 0:t.property)}));if(!xn){var fn="https://".concat(dn,"/images/").concat(A,".png");cn=n(n([],cn,!0),[l.createElement("meta",{key:"og:image",property:"og:image",content:(null===(o=_.openGraph)||void 0===o?void 0:o.image)||fn||""}),l.createElement("meta",{key:"og:image:secure_url",property:"og:image:secure_url",content:(null===(a=_.openGraph)||void 0===a?void 0:a.image)||fn}),l.createElement("meta",{key:"og:image:width",property:"og:image:width",content:(null===(r=_.openGraph)||void 0===r?void 0:r.imageWidth)&&String(null===(s=_.openGraph)||void 0===s?void 0:s.imageWidth)||"1200"}),l.createElement("meta",{key:"og:image:height",property:"og:image:height",content:(null===(c=_.openGraph)||void 0===c?void 0:c.imageHeight)&&String(null===(p=_.openGraph)||void 0===p?void 0:p.imageHeight)||"630"})],!1)}}var yn="https://".concat(dn,"/images/").concat(A,".png");return l.createElement(l.Fragment,null,O&&H&&l.createElement(O,null,l.createElement("link",{rel:"preconnect",href:"https://fonts.gstatic.com"}),"marryBaby"===P&&l.createElement("link",{href:"https://fonts.googleapis.com/css2?family=Inter&family=Krub:wght@600&display=swap",rel:"stylesheet"}),"km-KH"===A?l.createElement("link",{href:"https://fonts.googleapis.com/css2?family=Battambang:wght@400;700&display=swap",rel:"stylesheet"}):"id-ID"===A||"ms-MY"===A?l.createElement(l.Fragment,null):l.createElement("link",{href:"https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,600;0,700;0,800;1,300;1,400;1,600;1,700;1,800&display=swap",rel:"preload",as:"style"}),l.createElement("link",{rel:"preconnect",href:rn}),l.createElement("meta",{charSet:"UTF-8"}),!S&&l.createElement("meta",{name:"viewport",content:"width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, viewport-fit=cover"}),l.createElement("meta",{name:"google",content:"notranslate"}),l.createElement("meta",{name:"robots",content:ln}),l.createElement("meta",{property:"fb:app_id",content:"653713035016537"}),nn.map((function(n,t){return l.createElement("meta",e({key:t},n))})),l.createElement("meta",{name:"theme-color",content:"helloSites"===P?"#2c87f3":"#e85388"}),l.createElement("meta",{name:"page_type",content:"Home"}),l.createElement("meta",{name:"page_platform",content:"WEB"}),l.createElement("meta",{name:"page_language",content:pn}),l.createElement("meta",{name:"ahrefs-site-verification",content:"46e7521a2b89a1013149c4685bbe02a1d36a4732fef98655142b829bc87cba4d"}),S&&l.createElement(l.Fragment,null,l.createElement("script",{async:!0,"custom-element":"amp-analytics",src:"https://cdn.ampproject.org/v0/amp-analytics-0.1.js"}),l.createElement("script",{async:!0,"custom-element":"amp-fx-collection",src:"https://cdn.ampproject.org/v0/amp-fx-collection-0.1.js"}),l.createElement("script",{async:!0,"custom-element":"amp-ad",src:"https://cdn.ampproject.org/v0/amp-ad-0.1.js"}),l.createElement("script",{async:!0,"custom-element":"amp-next-page",src:"https://cdn.ampproject.org/v0/amp-next-page-1.0.js"}),l.createElement("script",{async:!0,"custom-element":"amp-sticky-ad",src:"https://cdn.ampproject.org/v0/amp-sticky-ad-1.0.js"}),l.createElement("script",{async:!0,"custom-element":"amp-social-share",src:"https://cdn.ampproject.org/v0/amp-social-share-0.1.js"}),l.createElement("script",{async:!0,"custom-element":"amp-bind",src:"https://cdn.ampproject.org/v0/amp-bind-0.1.js"})),!cn&&l.createElement(l.Fragment,null,"helloSites"===P?l.createElement("title",null,R?G:G+" - "+(null===(d=Q[A])||void 0===d?void 0:d.SITE_NAME)):l.createElement("title",null,G),!an&&l.createElement("link",{rel:"canonical",href:"https://".concat(dn).concat(sn)}),l.createElement("meta",{name:"description",content:V||(null===(m=_.openGraph)||void 0===m?void 0:m.description)}),_.schemaData&&l.createElement("script",{type:"application/ld+json",className:"yoast-schema-graph",dangerouslySetInnerHTML:{__html:_.schemaData}}),l.createElement("meta",{property:"og:locale",content:A}),l.createElement("meta",{property:"og:type",content:Z||"website"}),l.createElement("meta",{property:"og:title",content:(null===(h=_.openGraph)||void 0===h?void 0:h.title)||G}),l.createElement("meta",{property:"og:description",content:(null===(u=_.openGraph)||void 0===u?void 0:u.description)||V}),l.createElement("meta",{property:"og:url",content:"https://".concat(dn).concat(sn)}),l.createElement("meta",{property:"og:site_name",content:"https://".concat(dn)}),l.createElement("meta",{property:"og:image",content:(null===(x=_.openGraph)||void 0===x?void 0:x.image)||W||yn||""}),l.createElement("meta",{property:"og:image:secure_url",content:(null===(f=_.openGraph)||void 0===f?void 0:f.image)||W||yn}),l.createElement("meta",{property:"og:image:width",content:(null===(y=_.openGraph)||void 0===y?void 0:y.imageWidth)&&String(null===(v=_.openGraph)||void 0===v?void 0:v.imageWidth)||K&&String(K)||"1200"}),l.createElement("meta",{property:"og:image:height",content:(null===(b=_.openGraph)||void 0===b?void 0:b.imageHeight)&&String(null===(E=_.openGraph)||void 0===E?void 0:E.imageHeight)||q&&String(q)||"630"}),l.createElement("meta",{name:"twitter:card",content:"summary_large_image"}),l.createElement("meta",{name:"twitter:title",content:(null===(w=_.twitter)||void 0===w?void 0:w.title)||G}),l.createElement("meta",{name:"twitter:description",content:V}),l.createElement("meta",{name:"twitter:image",content:(null===(k=_.twitter)||void 0===k?void 0:k.image)||W})),("helloSites"===P?J[pn]||[]:J.marryBaby).map((function(n,e){return"link"===n.type?l.createElement("link",{key:"favicon-".concat(e),rel:n.rel,href:n.href,sizes:n.sizes}):"meta"===n.type?l.createElement("meta",{key:e,name:n.name,content:n.content}):null})),Array.isArray(cn)&&D?cn.filter((function(n){return"canonical"!==n.props.name&&"canonical"!==n.props.rel})):cn,D&&l.createElement("link",{rel:"canonical",href:D}),!_.hasNoAmp&&"vi-VN"!==A&&l.createElement("link",{rel:"amphtml",href:"https://".concat(dn).concat(sn).concat(mn,"?amp=1")}),B&&"undefined"!=typeof window?l.createElement("script",{dangerouslySetInnerHTML:{__html:"window.dataLayer = window.dataLayer || []; window.dataLayer.push({'userID': '".concat(B,"'});")}}):null),O&&!H&&l.createElement(O,null),C)},bn="data:image/svg+xml,%3csvg width='17' height='16' viewBox='0 0 17 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M6.5 12L10.5 8L6.5 4' stroke='white' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e",En="data:image/svg+xml,%3csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M18 6L6 18' stroke='%23262626' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3e%3cpath d='M6 6L18 18' stroke='%23262626' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e",wn="data:image/svg+xml,%3csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M10 17.5C14.1421 17.5 17.5 14.1421 17.5 10C17.5 5.85786 14.1421 2.5 10 2.5C5.85786 2.5 2.5 5.85786 2.5 10C2.5 14.1421 5.85786 17.5 10 17.5Z' stroke='%232D87F3' stroke-width='1.65' stroke-linecap='round' stroke-linejoin='round'/%3e%3cpath d='M10 13.7499V9.58325' stroke='%232D87F3' stroke-width='1.65' stroke-linecap='round' stroke-linejoin='round'/%3e%3cpath d='M10 6.25H10.0125' stroke='%232D87F3' stroke-width='1.85' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e",kn=T.div(W||(W=t(["\n position: relative;\n display: flex;\n overflow: hidden;\n align-items: center;\n justify-content: center;\n background-position: center;\n background-size: cover;\n transition: height 0.3s;\n background-color: ",";\n\n &[data-is-marrybaby='true'] {\n background-color: ",";\n }\n\n &[data-is-mobile='true'] {\n &[data-is-marrybaby='false'] {\n justify-content: flex-start;\n }\n }\n &[data-is-mobile='false'] {\n justify-content: center;\n }\n\n &[data-is-collapse='false'] {\n height: 64px;\n &[data-is-marrybaby='true'] {\n &[data-is-mobile='true'] {\n height: 120px;\n }\n }\n }\n &[data-is-collapse='true'] {\n height: 0;\n }\n\n .amp-close-banner * {\n pointer-events: none;\n }\n\n .content {\n display: -webkit-box;\n overflow: hidden;\n padding-right: 48px;\n -webkit-box-orient: vertical;\n color: white;\n font-size: 16px;\n font-weight: 600;\n -webkit-line-clamp: 2;\n line-height: 24px;\n text-overflow: ellipsis;\n a {\n color: white;\n }\n &[data-is-mobile='true'] {\n font-size: 14px;\n }\n }\n"],["\n position: relative;\n display: flex;\n overflow: hidden;\n align-items: center;\n justify-content: center;\n background-position: center;\n background-size: cover;\n transition: height 0.3s;\n background-color: ",";\n\n &[data-is-marrybaby='true'] {\n background-color: ",";\n }\n\n &[data-is-mobile='true'] {\n &[data-is-marrybaby='false'] {\n justify-content: flex-start;\n }\n }\n &[data-is-mobile='false'] {\n justify-content: center;\n }\n\n &[data-is-collapse='false'] {\n height: 64px;\n &[data-is-marrybaby='true'] {\n &[data-is-mobile='true'] {\n height: 120px;\n }\n }\n }\n &[data-is-collapse='true'] {\n height: 0;\n }\n\n .amp-close-banner * {\n pointer-events: none;\n }\n\n .content {\n display: -webkit-box;\n overflow: hidden;\n padding-right: 48px;\n -webkit-box-orient: vertical;\n color: white;\n font-size: 16px;\n font-weight: 600;\n -webkit-line-clamp: 2;\n line-height: 24px;\n text-overflow: ellipsis;\n a {\n color: white;\n }\n &[data-is-mobile='true'] {\n font-size: 14px;\n }\n }\n"])),(function(n){return n.theme.colors.secondaryBase}),(function(n){return n.theme.mbColors.cobalt})),Cn=T.div(Z||(Z=t(["\n max-width: 100px;\n margin-right: 16px;\n height: 100%;\n img {\n width: 64px;\n height: 64px;\n object-fit: contain;\n }\n &[data-is-marrybaby='true'] {\n height: unset;\n max-height: 100%;\n }\n &[data-is-mobile='true'] {\n img {\n width: 52px;\n height: 52px;\n }\n }\n"],["\n max-width: 100px;\n margin-right: 16px;\n height: 100%;\n img {\n width: 64px;\n height: 64px;\n object-fit: contain;\n }\n &[data-is-marrybaby='true'] {\n height: unset;\n max-height: 100%;\n }\n &[data-is-mobile='true'] {\n img {\n width: 52px;\n height: 52px;\n }\n }\n"]))),Tn=T.div(K||(K=t(["\n position: absolute;\n right: 20px;\n width: 24px;\n height: 24px;\n cursor: pointer;\n &[data-is-marrybaby='true'] {\n background-color: ",";\n border-radius: 50%;\n top: 12px;\n right: 32px;\n padding: 10px;\n height: 40px;\n width: 40px;\n .close-icon {\n width: 20px;\n height: 20px;\n }\n &[data-is-mobile='true'] {\n position: absolute;\n top: 8px;\n right: 8px;\n padding: 8px;\n height: 32px;\n width: 32px;\n .close-icon {\n width: 100%;\n height: 100%;\n }\n }\n }\n"],["\n position: absolute;\n right: 20px;\n width: 24px;\n height: 24px;\n cursor: pointer;\n &[data-is-marrybaby='true'] {\n background-color: ",";\n border-radius: 50%;\n top: 12px;\n right: 32px;\n padding: 10px;\n height: 40px;\n width: 40px;\n .close-icon {\n width: 20px;\n height: 20px;\n }\n &[data-is-mobile='true'] {\n position: absolute;\n top: 8px;\n right: 8px;\n padding: 8px;\n height: 32px;\n width: 32px;\n .close-icon {\n width: 100%;\n height: 100%;\n }\n }\n }\n"])),(function(n){return n.theme.colors.white})),_n=function(n){var t=n.icon,i=n.content,o=n.isCollapsed,a=n.isMobile,p=n.type,d=n.onClose,m=n.setBannerClosed,h=n.dispatch,g=n.dispatchActionType,u=n.cookieName,x=n._overrideCloseHandler,f=n.isAmp,y=n.siteType,v=n.dataEventCategory,b=void 0===v?"Header Banner":v,E=n.dataEventAction,k=void 0===E?"Close Click":E,T=n.dataEventLabel,_=void 0===T?"":T,L=n.dataTracking,S=void 0===L?"true":L,I=r(!1),A=I[0],N=I[1],M=r(!1),O=M[0],P=M[1],R=i;f&&(R=R.replace("data-event","data-vars-event").replace('data-vars-event-category="'.concat(b,'"'),'data-vars-event-category="'.concat(b,'" data-vars-tracking="').concat(S,'"')));var B=s(64);c((function(){var n=w((function(){window.scrollY<B.current?P(!1):window.scrollY>64&&P(!0),B.current=window.scrollY}),300);return window.addEventListener("scroll",n),function(){window.removeEventListener("scroll",n)}}),[]);var D="marryBaby"===y,H=D?En:"data:image/svg+xml,%3csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M18 6L6 18' stroke='white' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3e%3cpath d='M6 6L18 18' stroke='white' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e";return c((function(){m&&m(A||o||O)}),[m,A,o,O]),l.createElement(kn,{"data-is-mobile":a,"data-is-collapse":A||o||O,"data-is-marrybaby":D},t?l.createElement(Cn,{"data-is-marrybaby":D},f?l.createElement("amp-img",{src:t,width:"76",height:"52"}):l.createElement("img",{src:t,className:"icon","data-is-mobile":a})):null,i?l.createElement("span",{className:"content","data-is-marrybaby":D,"data-is-mobile":a,dangerouslySetInnerHTML:{__html:R}}):null,l.createElement(Tn,e({role:"button",tabIndex:0},{on:'tap:sitewide-container.hide(),site-header.toggleClass(class="amp-closed")'},{"data-is-marrybaby":D,"data-vars-event-category":b,"data-vars-event-action":k,"data-vars-event-label":_||"","data-vars-tracking":S||"",className:"amp-close-banner",onClick:function(){N(!0),x?x():(d&&d(),u&&C(u,"true"),p&&h&&h({type:g,payload:{type:p}}))},"data-is-mobile":a}),f?l.createElement("amp-img",{src:H,width:"24",height:"24"}):l.createElement("img",{src:H,className:"close-icon"})))},Ln={"navigation.loginJoin":"Login/Join","menu.categories.title":"Choose a service to explore","home.search":"Search {site}","home.navigator.menuItem.spotlights":"All In Focus","home.navigator.menuItem.helloTogether":"Communities","home.navigator.menuItem.helloCare":"Book a doctor","home.navigator.menuItem.healthTools":"Health Tools","home.navigator.menuItem.healthCategories":"Health Categories","home.navigator.menuItem.discover":"Discover","home.navigator.menuItem.allSpotlight":"See All In Focus","home.navigator.menuItem.allSpecialties":"See All Specialties","home.navigator.menuItem.allHealthTools":"See All Health Tools","home.navigator.menuItem.allCommunities":"See All Communities","home.navigator.menuItem.allCategories":"See All Categories","footer.sitemap":"Sitemap","footer.signUp":"Sign up to get fitness and nutrition tips, health news, and more.","footer.info.email":"Email: advertiser@hellohealthgroup.com","footer.info.license":"Giấy phép kinh doanh số: 0315857817 do Sở kế hoạch và Đầu tư TP. Hồ Chí Minh cấp ngày 21-8-2019","footer.info.contentResponsibility":"Chịu trách nhiệm quản lý nội dung: Hoàng Diệu Thu","footer.info.companyName":"Công ty TNHH Xin Chào Bác Sĩ","footer.info.certificate":"Giấy xác nhận cung cấp dịch vụ mạng xã hội trực tuyến số 592/GP-BTTTT HN ngày 03/12/2019","footer.info.address":"Địa chỉ: Tầng 5, Tòa nhà Sonatus, 15 Lê Thánh Tôn, P.Bến Nghé, Quận 1, Thành phố Hồ Chí Minh","footer.followUsText":"Follow us","home.menu.category.view":"Xem {category}","menu.care.searchBySpecialties":"Tìm theo chuyên khoa","logout.popup.ask1":"Log Out of Hello Doctor?","logout.popup.ask2":"Are you sure you want to log out?","logout.popup.ask.mb":"Đăng xuất khỏi Marry Baby?","logout.popup.button.cancel":"Cancel","logout.popup.button.logout":"Log Out","profileMenu.accountSetting":"Account Setting","profileMenu.help":"Help","profileMenu.logout":"Logout","profileMenu.myProfile":"Profile","profileMenu.password":"Password","profileMenu.saved":"My Articles","home.navigator.menuItem.language":"Language","articlePage.sponsoredBy":"Sponsored By","articlePage.sponsoredContentBy":"Content sponsored by","articlePage.sponsoredContent":"Sponsored Content","articlePage.sponsoredArticle":"Sponsored Article","articlePage.sponsoredByStickyPopup.close":"Close","articlePage.sponsoredByStickyPopup.content":"This is a sponsored article, for more information on our Advertising and Sponsorship policy please read our policies.","articlePage.sponsoredByStickyPopup.policies":"Policies","login.booking":"Booking with doctor","cookiePolicies.modal.title":"Please accept our privacy policy","cookiePolicies.modal.description":"Hello Bacsi uses cookies to improve your experience and to show you personalized ads","cookiePolicies.modal.accept":"Accept","cookiePolicies.modal.ourPolicies":"Our Policies"},Sn=p({}),In=function(){var n=d(Sn);return function(e,t){var i=(n.translation||{})[e]||Ln[e];return i?t?H(i,t):i:function(){throw Error("missing translation "+e)}()}},An=function(n){return n?{title:(null==n?void 0:n.name)||"",thumbnail:(null==n?void 0:n.thumbnail)||"",communitySlug:(null==n?void 0:n.slug)||"",communityId:null==n?void 0:n.id,color:null==n?void 0:n.color}:{}},Nn=function(n){var e;return n?{title:(null==n?void 0:n.name)||"",thumbnail:(null==n?void 0:n.thumbnail)||"",communitySlug:"".concat(null===(e=null==n?void 0:n.community)||void 0===e?void 0:e.slug,"/").concat(null==n?void 0:n.slug),communityId:null==n?void 0:n.id}:{}},Mn=function(n){var e,t,i,o;return n?{termId:n.term_id||null,sponsor:n.sponsor?(o=n.sponsor,o?{title:o.title,logo:o.logo,link:o.link}:{}):null,isSponsored:n.is_sponsored||null,categoryName:n.cat_name||n.name||null,name:n.name||null,iconUrl:n.icon||"",slugName:n.category_nicename||null,description:n.description||null,featureImage:n.thumbnail||n.image||null,displayName:n.name||null,parent:n.parent||null,permalink:n.permalink||null,slug:n.slug||null,childCates:(null===(e=n.child_cates)||void 0===e?void 0:e.map((function(n){return Mn(n)})))||[],thumnailColor:n.thumnail_color||["#FFEAF1","#E0E9FB","#FFF9EB","#F2FCF7","#F3F3F3"][5*Math.random()|0],colorFeatureImage:n.color_feature_image||null,imageColor:n.image_color||null,textColor:n.text_color||null,catParent:(null===(t=n.cat_parent)||void 0===t?void 0:t.name)?{name:n.cat_parent.name,permalink:n.cat_parent.permalink}:{},metaTag:n.meta_tag||"",reviewedBy:n.reviewed_by?(i=n.reviewed_by,{postTitle:i.post_title,permalink:i.permalink}):null,reviewedDate:n.reviewed_date||"",faqs:n.faqs?n.faqs.map((function(n){return function(n){return{title:n.title,content:n.content}}(n)})):null}:{}},On=function(n){return n?{icon:n.icon,link:n.link,subtitle:n.subtitle,title:n.title}:{}},Pn=function(n){var e,t;return n?{termId:(null==n?void 0:n.term_id)||0,name:(null==n?void 0:n.name)||"",healthTools:null!==(t=null===(e=null==n?void 0:n.health_tools)||void 0===e?void 0:e.map((function(n){return On(n)})))&&void 0!==t?t:[]}:{}},Rn=function(n,t,i){return(t||"https://service-health-care.hellohealthgroup.com/")+H(rn,e(e({},i),{domain:X[n]}))},Bn=function(n,t,i){return(t||"https://wp.".concat(X[n],"/"))+"wp-json/api/"+H(an,e({},i))},Dn=function(n,t,i){return(t||"https://wp.".concat(X[n],"/"))+"wp-json/api/"+H(on,e({},i))},Hn=function(n,t,i){return(t||"https://wp.".concat(X[n],"/"))+"wp-json/api/"+H(tn,e({},i))},zn=function(n,t,i){return(t||"https://wp.".concat(X[n],"/"))+"wp-json/api/"+H(ln,e({},i))},Un=function(n,t,i){return(t||"https://together.hellohealthgroup.com/")+"api/v1/"+H(nn,e(e({},i),{websiteUrl:"https://".concat(X[n])}))},Fn=function(n,t,i){return(t||"https://together.hellohealthgroup.com/")+"api/v1/"+H(en,e(e({},i),{websiteUrl:"https://".concat(X[n])}))},jn=function(n){var e,t=n.type,i=n.specialtySlug,o=n.locale;return"/".concat(D[o].ALL,"/").concat((null===(e=D[o])||void 0===e?void 0:e[t])||"doctor","/").concat(null!=i?i:"")},Gn=function(n){return n?{id:n.ID,name:n.name,permalink:n.permalink,image:(null==n?void 0:n.small_banner)||(null==n?void 0:n.image)||"",imageMedium:(null==n?void 0:n.image_medium)||null,imageThumbnail:(null==n?void 0:n.image_thumbnail)||null,startDate:null==n?void 0:n.start_date,endDate:null==n?void 0:n.end_date}:{}},Yn=function(n){var e=new Date;if(null==n?void 0:n.startDate){var t=new Date(n.startDate);if(e.getTime()<t.getTime())return!1}if(null==n?void 0:n.endDate){var i=new Date(n.endDate);if(e.getTime()>i.getTime())return!1}return!0},Vn=T.header(re||(re=t(["\n position: absolute;\n top: 0px;\n left: 0px;\n width: 100%;\n align-items: center;\n justify-content: center;\n /* overflow-x: hidden; */\n\n border-bottom: 1px solid\n ",";\n background-color: ",";\n\n &[data-site-type='marryBaby'] {\n border-bottom: none;\n }\n\n &[data-fixed-bar='true'] {\n position: fixed;\n top: 0;\n }\n\n &[data-fixed-bar='false'] {\n position: absolute;\n }\n\n &[data-collapsed='true'] {\n top: -100%;\n transition: top 0.5s;\n }\n\n &[data-collapsed='false'] {\n top: 0px;\n transition: top 0.5s;\n }\n\n .top-bar-header {\n line-height: normal;\n }\n\n &[data-header-type='home'] {\n position: fixed;\n z-index: ",";\n }\n\n &[data-header-type='popup'] {\n position: absolute;\n z-index: ",";\n }\n\n &[data-header-type='popup-sub-level'] {\n position: absolute;\n z-index: ",";\n }\n\n &[data-is-displayed='false'] {\n //display: none;\n visibility: hidden;\n }\n\n &[data-is-amp='true'] {\n position: relative;\n }\n\n .menu-handler:focus #categories-menu {\n left: 0;\n transition: left 0.1s;\n }\n"],["\n position: absolute;\n top: 0px;\n left: 0px;\n width: 100%;\n align-items: center;\n justify-content: center;\n /* overflow-x: hidden; */\n\n border-bottom: 1px solid\n ",";\n background-color: ",";\n\n &[data-site-type='marryBaby'] {\n border-bottom: none;\n }\n\n &[data-fixed-bar='true'] {\n position: fixed;\n top: 0;\n }\n\n &[data-fixed-bar='false'] {\n position: absolute;\n }\n\n &[data-collapsed='true'] {\n top: -100%;\n transition: top 0.5s;\n }\n\n &[data-collapsed='false'] {\n top: 0px;\n transition: top 0.5s;\n }\n\n .top-bar-header {\n line-height: normal;\n }\n\n &[data-header-type='home'] {\n position: fixed;\n z-index: ",";\n }\n\n &[data-header-type='popup'] {\n position: absolute;\n z-index: ",";\n }\n\n &[data-header-type='popup-sub-level'] {\n position: absolute;\n z-index: ",";\n }\n\n &[data-is-displayed='false'] {\n //display: none;\n visibility: hidden;\n }\n\n &[data-is-amp='true'] {\n position: relative;\n }\n\n .menu-handler:focus #categories-menu {\n left: 0;\n transition: left 0.1s;\n }\n"])),(function(n){return n.theme.colors.neutral100}),(function(n){return n.theme.colors.white}),pn,dn,mn),Wn=T.header(se||(se=t(["\n position: absolute;\n bottom: 20px;\n left: 16px;\n display: flex;\n align-items: center;\n"],["\n position: absolute;\n bottom: 20px;\n left: 16px;\n display: flex;\n align-items: center;\n"]))),Zn=T.div(ce||(ce=t(["\n margin-right: 8px;\n &[data-event-category] > * {\n pointer-events: none;\n }\n"],["\n margin-right: 8px;\n &[data-event-category] > * {\n pointer-events: none;\n }\n"]))),Kn=T.div(pe||(pe=t(["\n position: relative;\n display: flex;\n width: 100%;\n height: 64px;\n justify-content: center;\n\n padding: 8px 0;\n margin-top: 64px;\n &[data-sponsored='true'] {\n margin-top: 105px;\n }\n &[data-sitewide-banner-shown='true'] {\n margin-top: 128px;\n }\n\n background-color: ",";\n\n #search-input-home,\n #search-input-home-temp,\n #search-input-popup {\n position: relative;\n z-index: ",";\n width: 100%;\n box-shadow: 0px 0px 5px rgba(38, 38, 38, 0.08);\n }\n\n .displayIcon {\n z-index: ",";\n display: flex;\n width: 24px;\n height: 24px;\n align-items: center;\n }\n\n &[data-is-displayed='false'] {\n display: none;\n opacity: 0;\n }\n\n &[data-is-displayed='true'] {\n opacity: 1;\n transition: opacity 0.2s;\n }\n\n &[data-header-type='popup'] {\n position: fixed;\n z-index: ",";\n left: 0;\n width: 100vw;\n }\n"],["\n position: relative;\n display: flex;\n width: 100%;\n height: 64px;\n justify-content: center;\n\n padding: 8px 0;\n margin-top: 64px;\n &[data-sponsored='true'] {\n margin-top: 105px;\n }\n &[data-sitewide-banner-shown='true'] {\n margin-top: 128px;\n }\n\n background-color: ",";\n\n #search-input-home,\n #search-input-home-temp,\n #search-input-popup {\n position: relative;\n z-index: ",";\n width: 100%;\n box-shadow: 0px 0px 5px rgba(38, 38, 38, 0.08);\n }\n\n .displayIcon {\n z-index: ",";\n display: flex;\n width: 24px;\n height: 24px;\n align-items: center;\n }\n\n &[data-is-displayed='false'] {\n display: none;\n opacity: 0;\n }\n\n &[data-is-displayed='true'] {\n opacity: 1;\n transition: opacity 0.2s;\n }\n\n &[data-header-type='popup'] {\n position: fixed;\n z-index: ",";\n left: 0;\n width: 100vw;\n }\n"])),(function(n){return n.theme.colors.white}),un,xn,fn),Xn=T.div(de||(de=t(["\n position: fixed;\n z-index: 201;\n top: 0;\n left: 0;\n\n width: 100%;\n align-items: center;\n\n background-color: ",";\n\n transition: height 0.3s;\n\n .menu-handler-item {\n gap: 8px;\n a {\n text-decoration: none;\n }\n }\n\n &[data-site-type='helloSites'] {\n border-bottom: 1px solid\n ",";\n }\n\n &[data-marry-baby-tone='pink'] {\n background-color: ",";\n }\n\n //categories\n .menu-handler-categories:focus > .menu-handler-item {\n pointer-events: none;\n }\n .menu-handler-categories:focus-within .top-menu-categories {\n display: block;\n }\n .menu-handler-categories:focus .top-menu-health-tools {\n display: none;\n }\n\n //health tools\n .menu-handler-health-tools:focus > .menu-handler-item {\n pointer-events: none;\n }\n .menu-handler-health-tools:focus-within .top-menu-health-tools {\n display: block;\n }\n .menu-handler-health-tools:focus .top-menu-categories {\n display: none;\n }\n\n //communities\n .menu-handler-communities:focus > .menu-handler-item {\n pointer-events: none;\n }\n .menu-handler-communities:focus-within .top-menu-communities {\n display: block;\n }\n .menu-handler-communities:focus .top-menu-care-specialties {\n display: none;\n }\n\n //care\n .menu-handler-care-specialties:focus > .menu-handler-item {\n pointer-events: none;\n }\n .menu-handler-care-specialties:focus-within .top-menu-care-specialties {\n display: block;\n }\n .menu-handler-care-specialties:focus .top-menu-communities {\n display: none;\n }\n"],["\n position: fixed;\n z-index: 201;\n top: 0;\n left: 0;\n\n width: 100%;\n align-items: center;\n\n background-color: ",";\n\n transition: height 0.3s;\n\n .menu-handler-item {\n gap: 8px;\n a {\n text-decoration: none;\n }\n }\n\n &[data-site-type='helloSites'] {\n border-bottom: 1px solid\n ",";\n }\n\n &[data-marry-baby-tone='pink'] {\n background-color: ",";\n }\n\n //categories\n .menu-handler-categories:focus > .menu-handler-item {\n pointer-events: none;\n }\n .menu-handler-categories:focus-within .top-menu-categories {\n display: block;\n }\n .menu-handler-categories:focus .top-menu-health-tools {\n display: none;\n }\n\n //health tools\n .menu-handler-health-tools:focus > .menu-handler-item {\n pointer-events: none;\n }\n .menu-handler-health-tools:focus-within .top-menu-health-tools {\n display: block;\n }\n .menu-handler-health-tools:focus .top-menu-categories {\n display: none;\n }\n\n //communities\n .menu-handler-communities:focus > .menu-handler-item {\n pointer-events: none;\n }\n .menu-handler-communities:focus-within .top-menu-communities {\n display: block;\n }\n .menu-handler-communities:focus .top-menu-care-specialties {\n display: none;\n }\n\n //care\n .menu-handler-care-specialties:focus > .menu-handler-item {\n pointer-events: none;\n }\n .menu-handler-care-specialties:focus-within .top-menu-care-specialties {\n display: block;\n }\n .menu-handler-care-specialties:focus .top-menu-communities {\n display: none;\n }\n"])),(function(n){return n.theme.colors.white}),(function(n){return n.theme.colors.neutral100}),(function(n){return n.theme.mbColors.lightPink})),Qn=T.div(me||(me=t(["\n display: flex;\n height: 100%;\n align-items: center;\n\n justify-content: space-between;\n padding: 0;\n"],["\n display: flex;\n height: 100%;\n align-items: center;\n\n justify-content: space-between;\n padding: 0;\n"]))),qn=T.div(he||(he=t(["\n display: flex;\n align-items: center;\n"],["\n display: flex;\n align-items: center;\n"]))),Jn=T.div(ge||(ge=t(["\n padding-right: 16px;\n &[data-is-having-border='true'] {\n border-right: 1px solid\n ",";\n }\n"],["\n padding-right: 16px;\n &[data-is-having-border='true'] {\n border-right: 1px solid\n ",";\n }\n"])),(function(n){return n.theme.colors.neutral100})),$n=T.div(ue||(ue=t(["\n padding: 0 16px;\n\n & > div {\n background-color: ",";\n }\n\n &[data-marry-baby-theme='white'] > div {\n background-color: ",";\n }\n\n #search-input-home,\n #search-input-home-temp {\n height: 32px;\n box-sizing: border-box;\n padding: 0 16px 0 48px;\n border: 1px solid ",";\n border-radius: 6px;\n filter: drop-shadow(0px 1px 1px rgba(0, 0, 0, 0.1));\n outline: none;\n }\n\n &[data-is-styled-borderless='true'] {\n #search-input-home,\n #search-input-home-temp {\n height: 40px;\n border: 1px solid ",";\n border-radius: 16px;\n filter: none;\n }\n }\n"],["\n padding: 0 16px;\n\n & > div {\n background-color: ",";\n }\n\n &[data-marry-baby-theme='white'] > div {\n background-color: ",";\n }\n\n #search-input-home,\n #search-input-home-temp {\n height: 32px;\n box-sizing: border-box;\n padding: 0 16px 0 48px;\n border: 1px solid ",";\n border-radius: 6px;\n filter: drop-shadow(0px 1px 1px rgba(0, 0, 0, 0.1));\n outline: none;\n }\n\n &[data-is-styled-borderless='true'] {\n #search-input-home,\n #search-input-home-temp {\n height: 40px;\n border: 1px solid ",";\n border-radius: 16px;\n filter: none;\n }\n }\n"])),(function(n){return n.theme.colors.white}),(function(n){return n.theme.mbColors.lightGray}),(function(n){return n.theme.colors.neutral100}),(function(n){return n.theme.colors.white})),ne=T.div(xe||(xe=t(["\n display: flex;\n align-items: center;\n\n & > :not(:first-child) {\n margin-left: 6px;\n }\n"],["\n display: flex;\n align-items: center;\n\n & > :not(:first-child) {\n margin-left: 6px;\n }\n"]))),ee=T.div(fe||(fe=t(["\n display: flex;\n align-items: center;\n\n margin-left: 8px;\n"],["\n display: flex;\n align-items: center;\n\n margin-left: 8px;\n"]))),te=T.div(ye||(ye=t(["\n display: flex;\n align-items: center;\n\n margin-left: 4px;\n"],["\n display: flex;\n align-items: center;\n\n margin-left: 4px;\n"]))),ie=T.div(ve||(ve=t(["\n margin-right: 8px;\n & > div {\n display: flex;\n align-items: center;\n\n cursor: pointer;\n font-size: ",";\n font-weight: ",";\n line-height: 22px;\n\n user-select: none;\n }\n\n &[data-is-active='true'] {\n color: ",";\n\n div[data-site-type='marryBaby'] & {\n color: ",";\n }\n }\n\n &[data-is-active='false'] {\n color: ",";\n\n div[data-site-type='marryBaby'] & {\n color: ",";\n }\n }\n .care-navigator {\n color: ",";\n font-size: 14px;\n font-weight: 700;\n }\n"],["\n margin-right: 8px;\n & > div {\n display: flex;\n align-items: center;\n\n cursor: pointer;\n font-size: ",";\n font-weight: ",";\n line-height: 22px;\n\n user-select: none;\n }\n\n &[data-is-active='true'] {\n color: ",";\n\n div[data-site-type='marryBaby'] & {\n color: ",";\n }\n }\n\n &[data-is-active='false'] {\n color: ",";\n\n div[data-site-type='marryBaby'] & {\n color: ",";\n }\n }\n .care-navigator {\n color: ",";\n font-size: 14px;\n font-weight: 700;\n }\n"])),(function(n){return n.theme.sizes.fsParagraph4}),(function(n){return n.theme.sizes.fwBold}),(function(n){return n.theme.colors.primaryBase}),(function(n){return n.theme.mbColors.pink}),(function(n){return n.theme.colors.secondaryDark}),(function(n){return n.theme.mbColors.dark}),(function(n){return n.theme.colors.secondaryDark})),oe=T.div(be||(be=t(["\n flex-shrink: 0;\n & > div {\n display: flex;\n align-items: center;\n\n font-size: ",";\n font-weight: ",";\n line-height: 22px;\n\n user-select: none;\n }\n "," {\n position: absolute;\n right: 16px;\n bottom: 16px;\n height: 32px;\n display: flex;\n }\n .menu-handler-item {\n gap: 8px;\n .care-button {\n text-decoration: none;\n }\n }\n\n .login-btn-mobile[data-color='secondary'][data-size='sm'] {\n padding-right: 1rem;\n padding-left: 1rem;\n }\n"],["\n flex-shrink: 0;\n & > div {\n display: flex;\n align-items: center;\n\n font-size: ",";\n font-weight: ",";\n line-height: 22px;\n\n user-select: none;\n }\n "," {\n position: absolute;\n right: 16px;\n bottom: 16px;\n height: 32px;\n display: flex;\n }\n .menu-handler-item {\n gap: 8px;\n .care-button {\n text-decoration: none;\n }\n }\n\n .login-btn-mobile[data-color='secondary'][data-size='sm'] {\n padding-right: 1rem;\n padding-left: 1rem;\n }\n"])),(function(n){return n.theme.sizes.fsParagraph4}),(function(n){return n.theme.sizes.fwBold}),R.mbDown),ae=T.div(Ee||(Ee=t(["\n display: block;\n"],["\n display: block;\n"]))),le=T.div(we||(we=t([""],[""])));T.div(ke||(ke=t(["\n .amp-sidebar {\n width: 100vw;\n max-width: 100vw;\n background-color: ",";\n }\n\n .nav-card {\n display: flex;\n width: 100%;\n flex-direction: column;\n align-items: center;\n padding: 16px;\n border-radius: 6px;\n color: ",";\n\n span {\n margin-top: 4px;\n font-size: 13px;\n font-weight: ",";\n }\n\n svg {\n margin-bottom: 4px;\n }\n\n &.active {\n background: ",";\n box-shadow: 0px 16px 24px rgba(0, 0, 0, 0.06),\n 0px 2px 8px rgba(0, 0, 0, 0.04), 0px 0px 1px rgba(0, 0, 0, 0.04);\n color: white;\n }\n\n &:not(.active) {\n box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.04),\n 0px 0px 2px rgba(0, 0, 0, 0.06), 0px 0px 1px rgba(0, 0, 0, 0.04);\n color: ",";\n }\n }\n\n .categories__spotlight {\n display: grid;\n margin: 16px;\n margin-bottom: 32px;\n grid-gap: 8px;\n grid-template-columns: 1fr 1fr;\n\n a {\n text-decoration: none;\n }\n }\n\n .amp__menu-header {\n display: grid;\n grid-template-columns: 1fr 1fr 1fr;\n\n > div:first-child > amp-img {\n margin-left: 1rem;\n }\n\n svg {\n margin-left: 16px;\n }\n\n > div {\n align-self: center;\n\n &:nth-child(2) {\n justify-self: center;\n }\n }\n }\n\n .logo {\n margin: 22px 0;\n\n img {\n object-fit: contain;\n }\n }\n\n .categories {\n margin: 0 16px;\n\n li {\n position: relative;\n display: block;\n width: 100%;\n\n + li {\n border-top: 1px solid\n ",";\n }\n\n &.health-tool {\n display: flex;\n align-items: center;\n\n amp-img {\n margin-right: 1rem;\n }\n + li {\n border-top: none;\n }\n\n a {\n display: flex;\n align-items: center;\n }\n }\n\n a {\n display: block;\n margin: 16px 0;\n color: ",";\n text-decoration: none;\n }\n\n &::after {\n position: absolute;\n top: 50%;\n right: 0;\n content: url(\"data:image/svg+xml,%3Csvg width='6' height='10' viewBox='0 0 6 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 9L5 5L1 1' stroke='%23595959' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A\");\n }\n }\n }\n"],["\n .amp-sidebar {\n width: 100vw;\n max-width: 100vw;\n background-color: ",";\n }\n\n .nav-card {\n display: flex;\n width: 100%;\n flex-direction: column;\n align-items: center;\n padding: 16px;\n border-radius: 6px;\n color: ",";\n\n span {\n margin-top: 4px;\n font-size: 13px;\n font-weight: ",";\n }\n\n svg {\n margin-bottom: 4px;\n }\n\n &.active {\n background: ",";\n box-shadow: 0px 16px 24px rgba(0, 0, 0, 0.06),\n 0px 2px 8px rgba(0, 0, 0, 0.04), 0px 0px 1px rgba(0, 0, 0, 0.04);\n color: white;\n }\n\n &:not(.active) {\n box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.04),\n 0px 0px 2px rgba(0, 0, 0, 0.06), 0px 0px 1px rgba(0, 0, 0, 0.04);\n color: ",";\n }\n }\n\n .categories__spotlight {\n display: grid;\n margin: 16px;\n margin-bottom: 32px;\n grid-gap: 8px;\n grid-template-columns: 1fr 1fr;\n\n a {\n text-decoration: none;\n }\n }\n\n .amp__menu-header {\n display: grid;\n grid-template-columns: 1fr 1fr 1fr;\n\n > div:first-child > amp-img {\n margin-left: 1rem;\n }\n\n svg {\n margin-left: 16px;\n }\n\n > div {\n align-self: center;\n\n &:nth-child(2) {\n justify-self: center;\n }\n }\n }\n\n .logo {\n margin: 22px 0;\n\n img {\n object-fit: contain;\n }\n }\n\n .categories {\n margin: 0 16px;\n\n li {\n position: relative;\n display: block;\n width: 100%;\n\n + li {\n border-top: 1px solid\n ",";\n }\n\n &.health-tool {\n display: flex;\n align-items: center;\n\n amp-img {\n margin-right: 1rem;\n }\n + li {\n border-top: none;\n }\n\n a {\n display: flex;\n align-items: center;\n }\n }\n\n a {\n display: block;\n margin: 16px 0;\n color: ",";\n text-decoration: none;\n }\n\n &::after {\n position: absolute;\n top: 50%;\n right: 0;\n content: url(\"data:image/svg+xml,%3Csvg width='6' height='10' viewBox='0 0 6 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 9L5 5L1 1' stroke='%23595959' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A\");\n }\n }\n }\n"])),(function(n){return n.theme.colors.neutral50}),(function(n){return n.theme.colors.primaryBase}),(function(n){return n.theme.sizes.fwBold}),(function(n){return n.theme.colors.primaryBase}),(function(n){return n.theme.colors.gray800}),(function(n){return n.theme.colors.neutral100}),(function(n){return n.theme.colors.gray800}));var re,se,ce,pe,de,me,he,ge,ue,xe,fe,ye,ve,be,Ee,we,ke,Ce,Te=T.div(Ce||(Ce=t(["\n width: 40px;\n height: 40px;\n cursor: pointer;\n\n img {\n border-radius: 50%;\n }\n\n .avatar {\n width: 40px;\n height: 40px;\n object-fit: cover;\n }\n\n .avatar-default {\n display: flex;\n align-items: center;\n justify-content: center;\n background-color: ",";\n border-radius: 50%;\n color: white;\n font-size: 20px;\n font-weight: bold;\n }\n"],["\n width: 40px;\n height: 40px;\n cursor: pointer;\n\n img {\n border-radius: 50%;\n }\n\n .avatar {\n width: 40px;\n height: 40px;\n object-fit: cover;\n }\n\n .avatar-default {\n display: flex;\n align-items: center;\n justify-content: center;\n background-color: ",";\n border-radius: 50%;\n color: white;\n font-size: 20px;\n font-weight: bold;\n }\n"])),(function(n){return n.theme.colors.secondaryBase}));function _e(){return l.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l.createElement("path",{d:"M14.5 17L9.5 12L14.5 7",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"}))}function Le(){return l.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"}))}function Se(n){var e=n.siteType,t=n.type;return"helloSites"===e?l.createElement("img",{"data-list-type":"Header","data-content-type":"Navigation","data-content-topic":"Hamburger",src:"data:image/svg+xml,%3csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M4 12H20' stroke='%23262626' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3e%3cpath d='M4 6H20' stroke='%23262626' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3e%3cpath d='M4 18H20' stroke='%23262626' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e",style:{width:"24px",height:"24px"},alt:t}):l.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.34961 15C3.34961 14.641 3.64062 14.35 3.99961 14.35L13.9996 14.35C14.3586 14.35 14.6496 14.641 14.6496 15C14.6496 15.359 14.3586 15.65 13.9996 15.65L3.99961 15.65C3.64062 15.65 3.34961 15.359 3.34961 15ZM3.34961 8.99999C3.34961 8.64101 3.64062 8.34999 3.99961 8.34999L19.9992 8.34999C20.3582 8.34999 20.6492 8.64101 20.6492 8.99999C20.6492 9.35898 20.3582 9.64999 19.9992 9.64999L3.99961 9.64999C3.64062 9.64999 3.34961 9.35898 3.34961 8.99999Z",fill:"#3E3F58"}))}function Ie(n){var t,i,o=n.type,a=n.isStatic,r=n.isAmp,s=n.isDisplayed,c=n.siteType,p=n.isCollapsed,d=n.sitewideBannerShown,m=n.sitewideBanner,h=n.sitewideBannerClosed,g=n.setSitewideBannerClosed,f=n.isMobile,y=n.onMenuClick,v=n.menu,b=n.isSearchIconDisplayed,E=n.statics,w=E.DISCOVER_URL_FE,k=E.SSO_URL,C=E.HOME_PAGE_URL,T=E.CARE_URL_FE,_=n.basePath,L=n.languageMenu,S=n.enabledExperimentalCareHeader,P=n.onCareHeaderClick,R=n.logoType,B=n.locale,D=n.isInit,H=n.title,z=n.sponsorComponent,U=n.currentUrl,F=n.userInfo,j=n.currentPopupType,G=n.avatar,Y=n.profileMenu,V=n.isLoginButtonDisplayed,W=n.goToLogin,Z=n.isSearchBarDisplay,K=n.searchPlaceholder,X=n.onSearchValueChanged,Q=n.keyPressed,q=In(),J=!!z,$=!!(null===(i=null===(t=null==z?void 0:z.props)||void 0===t?void 0:t.sponsoredBy)||void 0===i?void 0:i.length),nn=d&&!!m&&!h,en=Ae({isSiteWide:!!m&&!h,isShowingSiteWideBanner:nn,isSponsored:J,hasSponsoredBanners:$,isMobile:!0}),tn=en.headerRef,on=en.headerHeight;return l.createElement(l.Fragment,null,l.createElement(Vn,{"data-header-type":o,"data-collapsed":!a&&p,"data-with-search-input":"popup-sub-level"!==o,"data-is-displayed":s,"data-is-amp":r,"data-sponsored":J,"data-site-type":c,"data-sitewide-banner-shown":nn,id:"site-header",ref:tn},m?l.isValidElement(m)?l.cloneElement(m,{isCollapsed:p,setBannerClosed:g,isAmp:r,isMobile:f}):m:null,l.createElement("div",{style:e(e({position:"relative",height:64,display:"flex",alignItems:"center",justifyContent:"helloSites"===c?"center":"flex-start",background:"white"},"marryBaby"===c?{paddingLeft:66}:{}),void 0!==L||S?{paddingLeft:S?48:64,gap:24,justifyContent:"unset"}:{})},l.createElement(Wn,null,l.createElement(Zn,{on:"tap:discover-amp-sidebar",role:"button",className:"menu-handler",tabIndex:0},l.createElement("div",{onClick:function(){return null==y?void 0:y("categories")}},"home"===o&&l.createElement("a",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"Hamburger Navigation URL"},l.createElement(Se,{siteType:c,type:o})),"popup"===o&&l.createElement(Le,null),"popup-sub-level"===o&&l.createElement(_e,null)),v),b&&"helloSites"===c&&"home"===o&&l.createElement(Zn,{style:{paddingRight:16}},l.createElement("a",{"data-event-category":"Search Button","data-event-action":"Click",style:{paddingRight:16,paddingTop:8,position:"relative"},href:"".concat(C,"/search?s=&page=1")},l.createElement("img",{src:"".concat(_,"/images/search.svg"),style:{width:"24px",height:"24px"},alt:o}),l.createElement("input",{style:{width:"32px",height:"32px",position:"absolute",left:"-2px",bottom:"0",opacity:0,zIndex:1e4}})))),"popup"!==o&&l.createElement(oe,{"data-is-profile":!0,className:D?"":"menu-handler-health-tools"},l.createElement("div",{className:"menu-handler-item"},b&&"marryBaby"===c&&"home"===o&&l.createElement(Zn,{style:{justifySelf:"flex-end"}},l.createElement("a",{"data-event-category":"Search Button","data-event-action":"Click",style:{display:"flex"},href:"".concat(w,"/search?s=&page=1")},l.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l.createElement("path",{d:"M3.31573 13.7811L3.94855 13.6326L3.31573 13.7811ZM3.31573 8.324L3.94855 8.47244L3.31573 8.324ZM18.7893 8.324L19.4221 8.17556L18.7893 8.324ZM18.7893 13.781L19.4221 13.9295L18.7893 13.781ZM13.781 18.7893L13.6326 18.1565L13.781 18.7893ZM8.324 18.7893L8.17556 19.4221L8.324 18.7893ZM8.324 3.31573L8.17556 2.6829L8.324 3.31573ZM13.781 3.31573L13.9295 2.6829L13.781 3.31573ZM20.5404 21.4596C20.7942 21.7135 21.2058 21.7135 21.4596 21.4596C21.7135 21.2058 21.7135 20.7942 21.4596 20.5404L20.5404 21.4596ZM3.94855 13.6326C3.55048 11.9356 3.55048 10.1695 3.94855 8.47244L2.6829 8.17556C2.23903 10.0679 2.23903 12.0372 2.68291 13.9295L3.94855 13.6326ZM18.1565 8.47244C18.5546 10.1695 18.5546 11.9356 18.1565 13.6326L19.4221 13.9295C19.866 12.0372 19.866 10.0679 19.4221 8.17556L18.1565 8.47244ZM13.6326 18.1565C11.9356 18.5546 10.1695 18.5546 8.47244 18.1565L8.17556 19.4221C10.0679 19.866 12.0372 19.866 13.9295 19.4221L13.6326 18.1565ZM8.47244 3.94855C10.1695 3.55048 11.9356 3.55048 13.6326 3.94855L13.9295 2.6829C12.0372 2.23903 10.0679 2.23903 8.17556 2.6829L8.47244 3.94855ZM8.47244 18.1565C6.22776 17.63 4.47508 15.8773 3.94855 13.6326L2.68291 13.9295C3.32219 16.6549 5.45019 18.7829 8.17556 19.4221L8.47244 18.1565ZM13.9295 19.4221C16.6549 18.7829 18.7829 16.6549 19.4221 13.9295L18.1565 13.6326C17.63 15.8773 15.8773 17.63 13.6326 18.1565L13.9295 19.4221ZM13.6326 3.94855C15.8773 4.47508 17.63 6.22775 18.1565 8.47244L19.4221 8.17556C18.7829 5.45019 16.6549 3.32219 13.9295 2.6829L13.6326 3.94855ZM8.17556 2.6829C5.45019 3.32219 3.32219 5.45018 2.6829 8.17556L3.94855 8.47244C4.47508 6.22775 6.22775 4.47508 8.47244 3.94855L8.17556 2.6829ZM16.8755 17.7948L20.5404 21.4596L21.4596 20.5404L17.7948 16.8755L16.8755 17.7948Z",fill:"#3E3F58"})),l.createElement("input",{style:{width:"32px",height:"32px",position:"absolute",left:"-2px",bottom:"0",opacity:0}}))),S&&l.createElement(l.Fragment,null,P?l.createElement(I,{size:"sm",color:"primary",dataEventCategory:"Care",dataEventAction:"Navigation Bar Click",dataEventLabel:U,onClick:function(n){return P(n)}},q("login.booking")):l.createElement("a",{href:T,className:"care-button"},l.createElement(I,{size:"sm",color:"primary",dataEventCategory:"Care",dataEventAction:"Navigation Bar Click",dataEventLabel:U},q("login.booking")))),(null==F?void 0:F.id)?l.createElement(ee,{style:{position:"relative"}},l.createElement("div",{onClick:function(){return y&&y("profile")}},"profile"===j?l.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"})):G),Y):r?l.createElement("a",{"data-vars-event-category":"Sign Up","data-vars-event-action":"Button Click","data-vars-event-label":U,href:"".concat(k,"?returnUrl=").concat(U.replace("?amp=1","")),style:{textDecoration:"none"}},"vi-VN"===B?l.createElement(Te,{onClick:W},l.createElement("img",{src:u,className:"avatar",alt:"avatar"})):l.createElement(I,{className:"login-btn-mobile",size:"sm",color:"secondary",onClick:W},q("navigation.loginJoin"))):V&&l.createElement("a",{"data-event-category":"Sign Up","data-event-action":"Button Click","data-event-label":U},S?l.createElement(Te,{onClick:W},l.createElement("img",{src:u,className:"avatar",alt:"avatar"})):"helloSites"===c?l.createElement(I,{className:"login-btn-mobile",size:"sm",color:"secondary",onClick:W},q("navigation.loginJoin")):l.createElement("div",{className:"login-btn-mobile",onClick:W,style:{paddingLeft:16}},l.createElement(N,{size:"p3"},q("navigation.loginJoin")))))),("home"===o||"popup"===o)&&l.createElement("a",{href:C||""},l.createElement(M,{type:R,height:"27px",width:"121px",style:{display:"flex"},badge:"id-ID"===B?l.createElement("img",{src:x,style:{width:56,height:23,maxWidth:56},width:"56",height:"23"}):void 0})),void 0!==L&&l.createElement(ie,{"data-is-active":!0,className:D?"":"menu-handler-language",onClick:function(){y&&y("language")}},L),H&&l.createElement(A,{className:"top-bar-header",tag:"h5"},H)),z?l.isValidElement(z)?l.cloneElement(z,{isCollapsed:p,locale:B,isMobile:f,isAmp:r}):z:null),Z?l.createElement(Kn,{"data-header-type":o,"data-is-displayed":s,"data-sitewide-banner-shown":d&&!!m},l.createElement(O,{style:{minHeight:"auto",minWidth:"100%",padding:"0 16px"},name:"search-input-"+o+(D?"":"-temp"),size:"md",placeholder:K,onChange:X,onKeyPress:Q,type:"search",autoFocus:!1,displayIcon:l.createElement("a",{"data-event-category":"Search Button","data-event-action":"Click"},l.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l.createElement("path",{d:"M11 18C14.866 18 18 14.866 18 11C18 7.13401 14.866 4 11 4C7.13401 4 4 7.13401 4 11C4 14.866 7.13401 18 11 18Z",stroke:"#8C8C8C",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),l.createElement("path",{d:"M20 20L16 16",stroke:"#8C8C8C",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})))})):l.createElement(l.Fragment,null,!r&&l.createElement("div",{style:{height:on}})))}var Ae=function(n){var e=n.hasSponsoredBanners,t=n.isSiteWide,i=n.isSponsored,o=n.isShowingSiteWideBanner,a=n.isMobile,l=s(null),p=r(0),d=p[0],g=p[1],u=h(k((function(){var n,e=(null===(n=l.current)||void 0===n?void 0:n.clientHeight)||0;window.scrollY<=e+30&&g(e)}),100),[]);c((function(){return window.addEventListener("resize",u),window.addEventListener("scroll",u),function(){window.removeEventListener("resize",u),window.removeEventListener("scroll",u)}}),[]),c((function(){u()}),[t,o,i,e,l.current]);var x=m((function(){var n=a?64:69;return o&&(n+=64),i&&(n+=40),n}),[a,o,i]);return{headerHeight:d||x,headerRef:l}},Ne=function(n){var e,t,i,o=n.siteType,a=n.basePath,p=n.statics,d=n.currentPopupType,g=void 0===d?"none":d,f=n.isDisplayed,y=void 0===f||f,v=n.isSearchBarDisplay,b=void 0===v||v,E=n.searchPlaceholder,k=void 0===E?"":E,C=n.openPopup,T=n.onTopBarAppears,L=n.onSearchChange,S=n.onSearchKeyPress,A=n.menu,N=n.isAmp,R=n.profileMenu,D=n.isMobile,H=void 0!==D&&D,z=n.isLoginButtonDisplayed,U=n.title,F=n.type,j=void 0===F?"home":F,G=n.onMenuClick,Y=n.isStatic,V=void 0!==Y&&Y,W=n.routerAsPath,Z=n.locale,K=n.userInfo,q=n.marryBaby,J=(void 0===q?{tone:"white"}:q).tone,$=n.menuItems,nn=void 0===$?[]:$,en=n.isInit,tn=n.sitewideBanner,on=n.sitewideBannerShown,an=void 0===on||on,ln=n.sponsorComponent,rn=n.languageMenu,sn=n.isSearchIconDisplayed,cn=void 0!==sn&&sn,pn=n.enabledExperimentalCareHeader,dn=n.onCareHeaderClick,mn=p.SSO_URL,hn=p.HOME_PAGE_URL,gn=p.CARE_URL_FE,un=In(),xn=!!ln,fn=r(!1),yn=fn[0],vn=fn[1],bn=r(!1),En=bn[0],wn=bn[1],kn=r(!1),Cn=kn[0],Tn=kn[1],_n=r(en||!1),Ln=_n[0],Sn=_n[1],An=s(47),Nn=s(!1),Mn=s(!1),On="helloSites"===o?"https://".concat(X[Z]).concat(W):"https://www.marrybaby.vn".concat(W),Pn=m((function(){var n=(null==K?void 0:K.name)||(null==K?void 0:K.username);return l.createElement(_,{type:"rounded",size:"small",avatarUrl:null==K?void 0:K.avatar,firstLetter:n&&n.length?n[0].toUpperCase():"A",backgroundColor:"marryBaby"===o?B.mbColors.pink:B.colors.secondaryBase,isAmp:N})}),[null==K?void 0:K.username,null==K?void 0:K.name,null==K?void 0:K.avatar]),Rn=function(){var n=window.location.href;window.location.href=mn?"".concat(mn,"?returnUrl=").concat(n):n},Bn="helloSites"===o?null===(e=Q[Z])||void 0===e?void 0:e.LOGO_TYPE:o,Dn="undefined"!=typeof window,Hn=function(n){null==L||L(n)},zn=h(w((function(){var n;if("home"===j){var e=window,t=null===(n=document.querySelector(".sticky-container"))||void 0===n?void 0:n.clientHeight;Dn&&e&&(e.scrollY>An.current&&e.scrollY>64&&!Nn.current&&(Nn.current=!0,vn(!0)),e.scrollY<An.current&&Nn.current&&(Nn.current=!1,vn(!1),t&&e.scrollY),e.scrollY<An.current&&t&&e.scrollY,b?(e.scrollY<64&&e.scrollY<An.current&&Mn.current&&(Mn.current=!1),e.scrollY>8&&e.scrollY>An.current&&!Mn.current&&(Mn.current=!0)):Mn.current=!0,e.scrollY>=0&&(An.current=e.scrollY))}}),300),[]);c((function(){null==T||T(!yn)}),[yn]);var Un=function(n){var e,t;S&&S(n,null!==(t=null===(e=document.getElementById("search-input-"+j))||void 0===e?void 0:e.value)&&void 0!==t?t:"")};c((function(){H&&zn()}),[]),c((function(){return window.addEventListener("scroll",zn,{passive:!0}),function(){window.removeEventListener("scroll",zn)}}),[]),c((function(){Sn(!0)}),[]),c((function(){"undefined"!=typeof window&&Tn(Boolean(Cn))}),[]);var Fn=l.createElement(l.Fragment,null,nn.find((function(n){return"categories"===n.id}))&&l.createElement(ie,{"data-is-active":"categories"===g,className:Ln?"":"menu-handler-categories",tabIndex:0,onClick:function(){null==C||C("categories"),setTimeout((function(){var n,e;null===(e=null===(n=document.getElementsByClassName("top-menu-categories"))||void 0===n?void 0:n[0])||void 0===e||e.focus()}),100)}},l.createElement("div",{className:"menu-handler-item"},un("home.navigator.menuItem.discover"),l.createElement(te,null,l.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l.createElement("path",{d:"M11.5 7.5L9 10L6.5 7.5",stroke:"#202135",strokeWidth:"1.33",strokeLinecap:"round",strokeLinejoin:"round"})))),"categories"===g&&l.createElement("div",null,A)),nn.find((function(n){return"healthTools"===n.id}))&&l.createElement(ie,{"data-is-active":"tools"===g,className:Ln?"":"menu-handler-health-tools",tabIndex:0},l.createElement("div",{className:"menu-handler-item",onClick:function(){C&&C("tools")}},un("home.navigator.menuItem.healthTools"),l.createElement(te,null,l.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l.createElement("path",{d:"M11.5 7.5L9 10L6.5 7.5",stroke:"#202135",strokeWidth:"1.33",strokeLinecap:"round",strokeLinejoin:"round"})))),"tools"===g&&l.createElement("div",null,A)),nn.find((function(n){return"care"===n.id}))&&!pn&&l.createElement(ie,{"data-is-active":"care"===g,className:Ln?"":"menu-handler-care-specialties",tabIndex:0},l.createElement("div",{className:"menu-handler-item",onClick:function(){C&&C("care")}},un("home.navigator.menuItem.helloCare"),l.createElement(te,null,l.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l.createElement("path",{d:"M11.5 7.5L9 10L6.5 7.5",stroke:"#202135",strokeWidth:"1.33",strokeLinecap:"round",strokeLinejoin:"round"})))),"care"===g&&l.createElement("div",null,A)),nn.find((function(n){return"together"===n.id}))&&l.createElement(ie,{"data-is-active":"communities"===g,className:Ln?"":"menu-handler-communities",tabIndex:0},l.createElement("div",{className:"menu-handler-item",onClick:function(){C&&C("communities")}},un("home.navigator.menuItem.helloTogether"),l.createElement(te,null,l.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l.createElement("path",{d:"M11.5 7.5L9 10L6.5 7.5",stroke:"#202135",strokeWidth:"1.33",strokeLinecap:"round",strokeLinejoin:"round"})))),"communities"===g&&l.createElement("div",null,A))),jn=!!(null===(i=null===(t=null==ln?void 0:ln.props)||void 0===t?void 0:t.sponsoredBy)||void 0===i?void 0:i.length),Gn=an&&!!tn&&!En,Yn=Ae({isSiteWide:!!tn&&!En,isShowingSiteWideBanner:Gn,isSponsored:xn,hasSponsoredBanners:jn}),Vn=Yn.headerRef,Wn=Yn.headerHeight;return H?l.createElement(Ie,{type:j,isStatic:V,isAmp:N,isDisplayed:y,siteType:o,isCollapsed:yn,sitewideBannerShown:an,sitewideBanner:tn,sitewideBannerClosed:En,setSitewideBannerClosed:wn,isMobile:H,onMenuClick:G,menu:A,isSearchIconDisplayed:cn,statics:p,basePath:a,languageMenu:rn,enabledExperimentalCareHeader:pn,logoType:Bn,locale:Z,isInit:Ln,title:U,sponsorComponent:ln,currentUrl:On,userInfo:K,currentPopupType:g,avatar:Pn,profileMenu:R,isLoginButtonDisplayed:z,goToLogin:Rn,isSearchBarDisplay:b,searchPlaceholder:k,onSearchValueChanged:Hn,keyPressed:Un}):l.createElement(l.Fragment,null,l.createElement("div",{style:{height:Wn}}),l.createElement(Xn,{ref:Vn,"data-site-type":o,"data-marry-baby-tone":"marryBaby"===o&&J,"data-sponsored":xn,"data-sitewide-banner-shown":Gn},tn?l.isValidElement(tn)?l.cloneElement(tn,{isCollapsed:yn,setBannerClosed:wn}):tn:null,l.createElement(P,{style:{height:69,padding:"0 16px"},type:o},l.createElement(Qn,null,l.createElement(qn,null,l.createElement("a",{href:hn},l.createElement(Jn,{"data-is-having-border":"helloSites"===o},l.createElement(M,{style:{display:"flex"},type:Bn,height:"27px",width:"121px",badge:"id-ID"===Z?l.createElement("img",{src:x,style:{width:56,height:23,maxWidth:56},width:"56",height:"23"}):void 0}))),b&&"helloSites"===o&&l.createElement($n,{"data-header-type":j,"data-is-displayed":y,"data-sitewide-banner-shown":an&&!!tn},l.createElement(O,{style:{minHeight:"32px",maxHeight:"32px",minWidth:"100%",backgroundColor:B.colors.white},name:"search-input-"+j+(Ln?"":"-temp"),autoFocus:!1,size:"sm",placeholder:k,onChange:Hn,onKeyPress:Un,displayIcon:l.createElement("a",{"data-event-category":"Search Button","data-event-action":"Click",style:{width:"24px",height:"24px",transform:"scale(0.8)"}},l.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.875 11C4.875 7.61726 7.61726 4.875 11 4.875C14.3827 4.875 17.125 7.61726 17.125 11C17.125 14.3827 14.3827 17.125 11 17.125C7.61726 17.125 4.875 14.3827 4.875 11ZM11 3.125C6.65076 3.125 3.125 6.65076 3.125 11C3.125 15.3492 6.65076 18.875 11 18.875C12.8594 18.875 14.5683 18.2306 15.9155 17.1529L19.3813 20.6187C19.723 20.9604 20.277 20.9604 20.6187 20.6187C20.9604 20.277 20.9604 19.723 20.6187 19.3813L17.1529 15.9155C18.2306 14.5683 18.875 12.8594 18.875 11C18.875 6.65076 15.3492 3.125 11 3.125Z",fill:"#8C8C8C"})))})),"marryBaby"===o&&l.createElement("div",{style:{marginLeft:28,display:"flex"}},Fn)),l.createElement(ne,null,"helloSites"===o&&Fn,b&&"marryBaby"===o&&l.createElement($n,{"data-header-type":j,"data-is-displayed":y,"data-is-styled-borderless":"marryBaby"===o,"data-marry-baby-theme":J},l.createElement(O,{style:{minHeight:"40px",maxHeight:"40px",minWidth:"100%",borderRadius:16},name:"search-input-"+j+(Ln?"":"-temp"),autoFocus:!1,size:"sm",placeholder:k,onChange:Hn,onKeyPress:Un,displayIcon:l.createElement("a",{"data-event-category":"Search Button","data-event-action":"Click",style:{width:"24px",height:"24px"}},l.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l.createElement("path",{d:"M3.31573 13.7811L3.94855 13.6326L3.31573 13.7811ZM3.31573 8.324L3.94855 8.47244L3.31573 8.324ZM18.7893 8.324L19.4221 8.17556L18.7893 8.324ZM18.7893 13.781L19.4221 13.9295L18.7893 13.781ZM13.781 18.7893L13.6326 18.1565L13.781 18.7893ZM8.324 18.7893L8.17556 19.4221L8.324 18.7893ZM8.324 3.31573L8.17556 2.6829L8.324 3.31573ZM13.781 3.31573L13.9295 2.6829L13.781 3.31573ZM20.5404 21.4596C20.7942 21.7135 21.2058 21.7135 21.4596 21.4596C21.7135 21.2058 21.7135 20.7942 21.4596 20.5404L20.5404 21.4596ZM3.94855 13.6326C3.55048 11.9356 3.55048 10.1695 3.94855 8.47244L2.6829 8.17556C2.23903 10.0679 2.23903 12.0372 2.68291 13.9295L3.94855 13.6326ZM18.1565 8.47244C18.5546 10.1695 18.5546 11.9356 18.1565 13.6326L19.4221 13.9295C19.866 12.0372 19.866 10.0679 19.4221 8.17556L18.1565 8.47244ZM13.6326 18.1565C11.9356 18.5546 10.1695 18.5546 8.47244 18.1565L8.17556 19.4221C10.0679 19.866 12.0372 19.866 13.9295 19.4221L13.6326 18.1565ZM8.47244 3.94855C10.1695 3.55048 11.9356 3.55048 13.6326 3.94855L13.9295 2.6829C12.0372 2.23903 10.0679 2.23903 8.17556 2.6829L8.47244 3.94855ZM8.47244 18.1565C6.22776 17.63 4.47508 15.8773 3.94855 13.6326L2.68291 13.9295C3.32219 16.6549 5.45019 18.7829 8.17556 19.4221L8.47244 18.1565ZM13.9295 19.4221C16.6549 18.7829 18.7829 16.6549 19.4221 13.9295L18.1565 13.6326C17.63 15.8773 15.8773 17.63 13.6326 18.1565L13.9295 19.4221ZM13.6326 3.94855C15.8773 4.47508 17.63 6.22775 18.1565 8.47244L19.4221 8.17556C18.7829 5.45019 16.6549 3.32219 13.9295 2.6829L13.6326 3.94855ZM8.17556 2.6829C5.45019 3.32219 3.32219 5.45018 2.6829 8.17556L3.94855 8.47244C4.47508 6.22775 6.22775 4.47508 8.47244 3.94855L8.17556 2.6829ZM16.8755 17.7948L20.5404 21.4596L21.4596 20.5404L17.7948 16.8755L16.8755 17.7948Z",fill:"#3E3F58"})))})),void 0!==rn&&l.createElement(ie,{"data-is-active":!0,className:Ln?"":"menu-handler-language",onClick:function(){C&&C("language")}},rn),l.createElement(oe,{"data-is-active":"profile"===g,"data-is-profile":!0,className:Ln?"":"menu-handler-health-tools",tabIndex:0},l.createElement("div",{className:"menu-handler-item"},pn&&l.createElement(l.Fragment,null,dn?l.createElement(I,{className:"login-btn-mobile",size:"sm",color:"secondary",dataEventCategory:"Care",dataEventAction:"Navigation Bar Click",dataEventLabel:On,onClick:function(n){return dn(n)}},un("login.booking")):l.createElement("a",{href:gn,className:"care-button no-replace-click"},l.createElement(I,{className:"login-btn-mobile",size:"sm",color:"secondary",dataEventCategory:"Care",dataEventAction:"Navigation Bar Click",dataEventLabel:On},un("login.booking")))),(null==K?void 0:K.id)?l.createElement(ee,{style:{position:"relative"}},l.createElement("div",{onClick:function(){return C&&C("profile")}},Pn),R):z&&l.createElement("a",{"data-event-category":"Sign Up","data-event-action":"Button Click","data-event-label":On},pn?l.createElement(Te,{onClick:Rn},l.createElement("img",{src:u,className:"avatar",alt:"avatar"})):"helloSites"===o?l.createElement(I,{size:"md",color:"secondary",onClick:Rn},un("navigation.loginJoin")):l.createElement(I,{size:"md",color:"secondary",theme:"marryBaby",onClick:Rn},un("navigation.loginJoin")))))))),ln?l.isValidElement(ln)?l.cloneElement(ln,{isCollapsed:yn,locale:Z,isMobile:H,isAmp:N}):ln:null))};T.div(Me||(Me=t(["\n display: flex;\n align-items: center;\n padding: 0.5rem 0;\n\n &[data-type-mobile='true'] {\n justify-content: space-between;\n }\n\n amp-img img {\n object-fit: contain;\n object-position: right;\n }\n"],["\n display: flex;\n align-items: center;\n padding: 0.5rem 0;\n\n &[data-type-mobile='true'] {\n justify-content: space-between;\n }\n\n amp-img img {\n object-fit: contain;\n object-position: right;\n }\n"])));var Me,Oe,Pe,Re,Be,De,He,ze,Ue,Fe,je,Ge,Ye,Ve,We,Ze,Ke,Xe,Qe,qe=T.div(Oe||(Oe=t(["\n display: flex;\n height: 40px;\n align-items: center;\n justify-content: center;\n padding: 8px 0;\n border-top: 1px solid #e4e8ec;\n background-color: ",";\n cursor: pointer;\n text-decoration: none;\n\n &[data-align-left='true'] {\n justify-content: start;\n }\n .sticky-sponsored-info-icon {\n display: inline;\n }\n\n .sponsored-logo {\n width: auto;\n height: 24px;\n vertical-align: middle;\n }\n\n "," {\n height: 44px;\n }\n\n &[data-show-popup='true'] {\n .sticky-sponsored-info-icon {\n position: relative;\n &:before {\n position: absolute;\n z-index: 9;\n top: 100%;\n left: 9px;\n border-right: 6px transparent solid;\n border-bottom: 8px white solid;\n border-left: 6px transparent solid;\n content: ' ';\n transform: translateX(calc(-50% + 3px));\n }\n }\n }\n\n &.open .amp-sponsored-popup {\n display: block;\n }\n\n &[data-is-amp] {\n margin-top: -10px;\n > [class*='Container'] {\n display: flex;\n align-items: center;\n }\n }\n"],["\n display: flex;\n height: 40px;\n align-items: center;\n justify-content: center;\n padding: 8px 0;\n border-top: 1px solid #e4e8ec;\n background-color: ",";\n cursor: pointer;\n text-decoration: none;\n\n &[data-align-left='true'] {\n justify-content: start;\n }\n .sticky-sponsored-info-icon {\n display: inline;\n }\n\n .sponsored-logo {\n width: auto;\n height: 24px;\n vertical-align: middle;\n }\n\n "," {\n height: 44px;\n }\n\n &[data-show-popup='true'] {\n .sticky-sponsored-info-icon {\n position: relative;\n &:before {\n position: absolute;\n z-index: 9;\n top: 100%;\n left: 9px;\n border-right: 6px transparent solid;\n border-bottom: 8px white solid;\n border-left: 6px transparent solid;\n content: ' ';\n transform: translateX(calc(-50% + 3px));\n }\n }\n }\n\n &.open .amp-sponsored-popup {\n display: block;\n }\n\n &[data-is-amp] {\n margin-top: -10px;\n > [class*='Container'] {\n display: flex;\n align-items: center;\n }\n }\n"])),(function(n){return n.theme.colors.neutral50}),R.mbUp),Je=T.div(Pe||(Pe=t(["\n position: absolute;\n top: 30px;\n left: 50%;\n &[data-align-left='true'] {\n left: 190px;\n }\n width: 350px;\n padding: 1rem;\n border: 1px solid #f2f2f2;\n background: white;\n border-radius: 6px;\n transform: translateX(-50%);\n "," {\n width: calc(100% - 2rem);\n }\n\n &[data-is-amp] {\n display: none;\n position: fixed;\n z-index: 999;\n top: 100px;\n left: 50%;\n\n &.open {\n display: block;\n }\n }\n\n .button-container {\n display: flex;\n justify-content: space-between;\n button {\n flex: 1;\n }\n button:first-child {\n margin-right: 0.5rem;\n "," {\n margin-right: 1rem;\n }\n }\n }\n"],["\n position: absolute;\n top: 30px;\n left: 50%;\n &[data-align-left='true'] {\n left: 190px;\n }\n width: 350px;\n padding: 1rem;\n border: 1px solid #f2f2f2;\n background: white;\n border-radius: 6px;\n transform: translateX(-50%);\n "," {\n width: calc(100% - 2rem);\n }\n\n &[data-is-amp] {\n display: none;\n position: fixed;\n z-index: 999;\n top: 100px;\n left: 50%;\n\n &.open {\n display: block;\n }\n }\n\n .button-container {\n display: flex;\n justify-content: space-between;\n button {\n flex: 1;\n }\n button:first-child {\n margin-right: 0.5rem;\n "," {\n margin-right: 1rem;\n }\n }\n }\n"])),R.mbDown,R.mbUp),$e=function(n){var e=n.className,t=n.isMobile,i=n.isCollapsed,o=n.sponsoredType,a=n.sponsoredBy,s=n.isAmp,c=n.locale,p=In(),d=r(!1),m=d[0],h=d[1];return l.createElement(qe,{className:e,onClick:function(){return h(!0)},"data-show-popup":m&&(!t||!i)&&!s,"data-align-left":a&&!!(null==a?void 0:a.logo),"data-is-amp":s||void 0},l.createElement(P,{style:{position:"relative",padding:"0 16px"}},"content"===o?l.createElement(N,{size:t?"p4":"p3",color:"#737373"},l.createElement("div",{className:"sticky-sponsored-info-icon"},s?l.createElement("amp-img",{height:"20",width:"20",style:{verticalAlign:"middle",marginLeft:"0.3rem",marginBottom:"0.1rem"},src:wn}):l.createElement("img",{src:wn,style:{width:20,height:20,verticalAlign:"middle",marginRight:"0.3rem",marginBottom:"0.1rem"}})),a&&(null==a?void 0:a.logo)?l.createElement(l.Fragment,null," ",p("articlePage.sponsoredContentBy")," ",l.createElement("img",{className:"sponsored-logo",src:(null==a?void 0:a.logo)||"",alt:"sponsored-logo"})):p("articlePage.sponsoredContent")):l.createElement(N,{size:"p2",color:"#737373"},p("articlePage.sponsoredArticle"),l.createElement("div",{className:"sticky-sponsored-info-icon"},s?l.createElement("amp-img",{height:"20",width:"20",style:{verticalAlign:"middle",marginLeft:"0.3rem",marginBottom:"0.1rem"},src:wn,on:"tap:sponsored-by.toggleClass(class='open')",tabIndex:0,role:"button"}):l.createElement("img",{src:wn,style:{width:20,height:20,verticalAlign:"middle",marginLeft:"0.3rem",marginBottom:"0.1rem"}}))),!m||t&&i||s?null:l.createElement(nt,{sponsoredBy:a,isAmp:s,onClose:function(){return h(!1)},locale:c})))},nt=function(n){var e=n.sponsoredBy,t=n.isAmp,i=n.onClose,o=n.locale||"en-PH",a=In();return l.createElement(Je,{"data-align-left":e&&!!(null==e?void 0:e.logo),"data-is-amp":t||void 0,id:"sponsored-by",className:t?"amp-sponsored-popup":void 0},l.createElement(N,{size:"p3",style:{marginBottom:"1rem"}},a("articlePage.sponsoredByStickyPopup.content")),l.createElement("div",{className:"button-container",onClick:function(n){n.stopPropagation()}},l.createElement(I,{size:"md",color:"secondary",onClick:i,isAmp:t,on:"tap:sponsored-by.toggleClass(class='open')"},a("articlePage.sponsoredByStickyPopup.close")),l.createElement(I,{size:"md",onClick:function(){window.location.href="/static".concat(q[o].ADVERTISING_SPONSOR_POLICY)},isAmp:t,on:"tap:AMP.navigateTo(url='/static".concat(q[o].ADVERTISING_SPONSOR_POLICY,"')")},a("articlePage.sponsoredByStickyPopup.policies"))))},et=T.div(Re||(Re=t(["\n & > div {\n width: 100%;\n margin-bottom: 8px;\n }\n"],["\n & > div {\n width: 100%;\n margin-bottom: 8px;\n }\n"]))),tt=T.div(Be||(Be=t(["\n &[data-category-list-type='sub'] {\n padding-bottom: 72px;\n }\n\n &[data-is-displayed='false'] {\n display: none;\n }\n\n margin-top: 16px;\n"],["\n &[data-category-list-type='sub'] {\n padding-bottom: 72px;\n }\n\n &[data-is-displayed='false'] {\n display: none;\n }\n\n margin-top: 16px;\n"]))),it=T.div(De||(De=t(["\n & > :not(:last-child) {\n border-bottom: 1px solid\n ",";\n }\n\n & > div > :not(:last-child) {\n border-bottom: 1px solid\n ",";\n }\n"],["\n & > :not(:last-child) {\n border-bottom: 1px solid\n ",";\n }\n\n & > div > :not(:last-child) {\n border-bottom: 1px solid\n ",";\n }\n"])),(function(n){return n.theme.colors.neutral100}),(function(n){return n.theme.colors.neutral100})),ot=T.div(He||(He=t(["\n display: flex;\n width: 100%;\n height: 48px;\n align-items: center;\n justify-content: space-between;\n padding: 8px;\n background-color: ",";\n font-size: ",";\n\n &[data-is-heading-category='true'] {\n border-bottom: none;\n background-color: ",";\n color: ",";\n font-weight: ",";\n }\n &[data-event-category] > * {\n pointer-events: none;\n }\n"],["\n display: flex;\n width: 100%;\n height: 48px;\n align-items: center;\n justify-content: space-between;\n padding: 8px;\n background-color: ",";\n font-size: ",";\n\n &[data-is-heading-category='true'] {\n border-bottom: none;\n background-color: ",";\n color: ",";\n font-weight: ",";\n }\n &[data-event-category] > * {\n pointer-events: none;\n }\n"])),(function(n){return n.theme.colors.white}),(function(n){return n.theme.sizes.fsParagraph4}),(function(n){return n.theme.colors.blue50}),(function(n){return n.theme.colors.gray800}),(function(n){return n.theme.sizes.fwBold})),at=T.div(ze||(ze=t([""],[""]))),lt=T.div(Ue||(Ue=t(["\n display: flex;\n"],["\n display: flex;\n"]))),rt=T.div(Fe||(Fe=t(["\n display: flex;\n align-items: center;\n\n "," {\n padding: 8px;\n }\n margin-bottom: 12px;\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 24px;\n\n &[data-theme='marryBaby'] {\n color: ",";\n }\n &[data-event-category] * {\n pointer-events: none;\n }\n"],["\n display: flex;\n align-items: center;\n\n "," {\n padding: 8px;\n }\n margin-bottom: 12px;\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 24px;\n\n &[data-theme='marryBaby'] {\n color: ",";\n }\n &[data-event-category] * {\n pointer-events: none;\n }\n"])),R.mbDown,(function(n){return n.theme.colors.primaryBase}),(function(n){return n.theme.sizes.fsParagraph4}),(function(n){return n.theme.sizes.fwBold}),(function(n){return n.theme.mbColors.pink})),st=T.div(je||(je=t(["\n display: flex;\n align-items: center;\n\n margin-left: 10px;\n"],["\n display: flex;\n align-items: center;\n\n margin-left: 10px;\n"]))),ct=T.div(Ge||(Ge=t(["\n position: fixed;\n z-index: ",";\n top: 69px;\n left: 0;\n width: 100%;\n height: 100%;\n align-items: center;\n background-color: transparent;\n &[data-is-display='false'] {\n display: none;\n }\n"],["\n position: fixed;\n z-index: ",";\n top: 69px;\n left: 0;\n width: 100%;\n height: 100%;\n align-items: center;\n background-color: transparent;\n &[data-is-display='false'] {\n display: none;\n }\n"])),hn),pt=T.div(Ye||(Ye=t(["\n z-index: ",";\n align-items: center;\n\n border: 1px solid ",";\n background-color: ",";\n box-shadow: 0px 24px 32px rgba(0, 0, 0, 0.04),\n 0px 16px 24px rgba(0, 0, 0, 0.04), 0px 4px 8px rgba(0, 0, 0, 0.04),\n 0px 0px 1px rgba(0, 0, 0, 0.04);\n"],["\n z-index: ",";\n align-items: center;\n\n border: 1px solid ",";\n background-color: ",";\n box-shadow: 0px 24px 32px rgba(0, 0, 0, 0.04),\n 0px 16px 24px rgba(0, 0, 0, 0.04), 0px 4px 8px rgba(0, 0, 0, 0.04),\n 0px 0px 1px rgba(0, 0, 0, 0.04);\n"])),gn,(function(n){return n.theme.colors.neutral50}),(function(n){return n.theme.colors.white})),dt=T.div(Ve||(Ve=t(["\n position: relative;\n display: flex;\n flex-wrap: wrap;\n align-items: flex-start;\n justify-content: flex-start;\n padding: 48px 0;\n\n > :first-child {\n flex: 2;\n }\n\n > :not(:first-child) {\n flex: 1;\n }\n"],["\n position: relative;\n display: flex;\n flex-wrap: wrap;\n align-items: flex-start;\n justify-content: flex-start;\n padding: 48px 0;\n\n > :first-child {\n flex: 2;\n }\n\n > :not(:first-child) {\n flex: 1;\n }\n"]))),mt=T.div(We||(We=t(["\n position: relative;\n display: flex;\n flex-wrap: wrap;\n align-items: flex-start;\n justify-content: flex-start;\n\n &[data-disabled-divider='false'] {\n border-right: 1px solid #e4e8ec;\n }\n"],["\n position: relative;\n display: flex;\n flex-wrap: wrap;\n align-items: flex-start;\n justify-content: flex-start;\n\n &[data-disabled-divider='false'] {\n border-right: 1px solid #e4e8ec;\n }\n"]))),ht=T.div(Ze||(Ze=t(["\n width: 20%;\n padding-right: 16px;\n margin-bottom: 12px;\n\n & > a {\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 22px;\n }\n\n & > a:hover {\n color: ",";\n }\n\n .iconMenu {\n display: flex;\n align-items: center;\n\n > .imageContainer {\n display: flex;\n width: 32px;\n min-width: 32px;\n align-items: center;\n margin-right: 16px;\n }\n }\n &[data-event-category] > * {\n pointer-events: none;\n }\n"],["\n width: 20%;\n padding-right: 16px;\n margin-bottom: 12px;\n\n & > a {\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 22px;\n }\n\n & > a:hover {\n color: ",";\n }\n\n .iconMenu {\n display: flex;\n align-items: center;\n\n > .imageContainer {\n display: flex;\n width: 32px;\n min-width: 32px;\n align-items: center;\n margin-right: 16px;\n }\n }\n &[data-event-category] > * {\n pointer-events: none;\n }\n"])),(function(n){return n.theme.colors.gray800}),(function(n){return n.theme.sizes.fsParagraph4}),(function(n){return n.theme.sizes.fwRegular}),(function(n){return n.theme.colors.primaryBase})),gt=T.div(Ke||(Ke=t(["\n display: none;\n"],["\n display: none;\n"]))),ut=T.div(Xe||(Xe=t(["\n position: absolute;\n top: 16px;\n right: 0;\n display: flex;\n align-items: center;\n cursor: pointer;\n"],["\n position: absolute;\n top: 16px;\n right: 0;\n display: flex;\n align-items: center;\n cursor: pointer;\n"]))),xt=T.div(Qe||(Qe=t(["\n height: 1px;\n flex: 1;\n margin: 0 16px;\n background-color: ",";\n"],["\n height: 1px;\n flex: 1;\n margin: 0 16px;\n background-color: ",";\n"])),(function(n){return n.theme.mbColors.lightGray})),ft=T.div(Lt||(Lt=t(["\n position: fixed;\n z-index: 200;\n top: 0;\n width: 100vw;\n height: 100%;\n overflow-x: hidden;\n overflow-y: scroll;\n\n &[data-opened='false'] {\n left: -100%;\n //transition: left 0.1s;\n\n animation-duration: 0.2s;\n animation-name: leftDisappears;\n }\n\n &[data-opened='undefined'] {\n left: -100%;\n }\n\n &[data-opened='true'] {\n left: 0;\n //transition: left 0.1s;\n\n animation-duration: 0.2s;\n animation-name: leftAppears;\n }\n\n &[data-sub-level-opened='false'] {\n right: -100%;\n //transition: right 0.1s;\n\n animation-duration: 0.2s;\n animation-name: rightDisappears;\n }\n\n &[data-sub-level-opened='undefined'] {\n right: -100%;\n }\n\n &[data-sub-level-opened='true'] {\n right: 0;\n //transition: right 0.1s;\n\n animation-duration: 0.2s;\n animation-name: rightAppears;\n }\n"],["\n position: fixed;\n z-index: 200;\n top: 0;\n width: 100vw;\n height: 100%;\n overflow-x: hidden;\n overflow-y: scroll;\n\n &[data-opened='false'] {\n left: -100%;\n //transition: left 0.1s;\n\n animation-duration: 0.2s;\n animation-name: leftDisappears;\n }\n\n &[data-opened='undefined'] {\n left: -100%;\n }\n\n &[data-opened='true'] {\n left: 0;\n //transition: left 0.1s;\n\n animation-duration: 0.2s;\n animation-name: leftAppears;\n }\n\n &[data-sub-level-opened='false'] {\n right: -100%;\n //transition: right 0.1s;\n\n animation-duration: 0.2s;\n animation-name: rightDisappears;\n }\n\n &[data-sub-level-opened='undefined'] {\n right: -100%;\n }\n\n &[data-sub-level-opened='true'] {\n right: 0;\n //transition: right 0.1s;\n\n animation-duration: 0.2s;\n animation-name: rightAppears;\n }\n"]))),yt=T.div(St||(St=t(["\n position: relative;\n top: 0;\n\n display: flex;\n width: 100vw;\n min-height: 100%;\n flex-direction: column;\n\n background-color: ",";\n overflow-x: hidden;\n\n &[data-type='category'] {\n z-index: 300;\n\n // momentum scrolling IOS will display under layer if not doing this\n &[data-is-sub-category-opened='true'] {\n animation-duration: 0.2s;\n animation-name: fading;\n }\n }\n\n &[data-type='sub-category'] {\n z-index: 400;\n }\n\n .category-button {\n border: none;\n }\n"],["\n position: relative;\n top: 0;\n\n display: flex;\n width: 100vw;\n min-height: 100%;\n flex-direction: column;\n\n background-color: ",";\n overflow-x: hidden;\n\n &[data-type='category'] {\n z-index: 300;\n\n // momentum scrolling IOS will display under layer if not doing this\n &[data-is-sub-category-opened='true'] {\n animation-duration: 0.2s;\n animation-name: fading;\n }\n }\n\n &[data-type='sub-category'] {\n z-index: 400;\n }\n\n .category-button {\n border: none;\n }\n"])),(function(n){return n.theme.colors.white})),vt=T.div(It||(It=t(["\n position: fixed;\n bottom: 0;\n left: 0;\n display: flex;\n width: 100%;\n height: 72px;\n align-items: flex-start;\n justify-content: center;\n\n background: linear-gradient(0deg, #ffffff 0%, rgba(255, 255, 255, 0) 100%);\n\n .button-image {\n stroke-color: blue;\n }\n\n &[data-site-type='marryBaby'] {\n padding: 0 16px;\n .category-button {\n width: 100%;\n height: 48px;\n }\n }\n"],["\n position: fixed;\n bottom: 0;\n left: 0;\n display: flex;\n width: 100%;\n height: 72px;\n align-items: flex-start;\n justify-content: center;\n\n background: linear-gradient(0deg, #ffffff 0%, rgba(255, 255, 255, 0) 100%);\n\n .button-image {\n stroke-color: blue;\n }\n\n &[data-site-type='marryBaby'] {\n padding: 0 16px;\n .category-button {\n width: 100%;\n height: 48px;\n }\n }\n"]))),bt=T.div(At||(At=t(["\n display: flex;\n\n width: 100%;\n height: 100%;\n flex: 1;\n flex-direction: column;\n align-items: center;\n\n padding-top: 0px;\n //position: absolute;\n\n //top: 0px;\n\n //z-index: -1;\n\n background-color: ",";\n\n &[data-type='sub-level'] {\n padding: 4px 16px 16px;\n background-color: ",";\n }\n\n & > div:first-child {\n justify-self: flex-start;\n }\n\n &[data-with-search-input='false'] {\n //padding-top: 64px;\n }\n"],["\n display: flex;\n\n width: 100%;\n height: 100%;\n flex: 1;\n flex-direction: column;\n align-items: center;\n\n padding-top: 0px;\n //position: absolute;\n\n //top: 0px;\n\n //z-index: -1;\n\n background-color: ",";\n\n &[data-type='sub-level'] {\n padding: 4px 16px 16px;\n background-color: ",";\n }\n\n & > div:first-child {\n justify-self: flex-start;\n }\n\n &[data-with-search-input='false'] {\n //padding-top: 64px;\n }\n"])),(function(n){return n.theme.colors.white}),(function(n){return n.theme.colors.white})),Et=T.div(Nt||(Nt=t(["\n display: flex;\n\n &[data-card-array-no-margin-style='true'] {\n margin: 8px 0;\n\n & > div {\n width: 0;\n flex: 1;\n margin: 0 -1px;\n }\n }\n\n &[data-card-array-no-margin-style='false'] {\n margin: 8px -4px;\n\n & > div {\n flex: 1;\n margin: 0 4px;\n }\n }\n"],["\n display: flex;\n\n &[data-card-array-no-margin-style='true'] {\n margin: 8px 0;\n\n & > div {\n width: 0;\n flex: 1;\n margin: 0 -1px;\n }\n }\n\n &[data-card-array-no-margin-style='false'] {\n margin: 8px -4px;\n\n & > div {\n flex: 1;\n margin: 0 4px;\n }\n }\n"]))),wt=T.div(Mt||(Mt=t(["\n position: relative;\n\n display: flex;\n width: 100%;\n height: 100%;\n flex: 1;\n flex-direction: column;\n\n overflow-y: scroll;\n"],["\n position: relative;\n\n display: flex;\n width: 100%;\n height: 100%;\n flex: 1;\n flex-direction: column;\n\n overflow-y: scroll;\n"]))),kt=T.div(Ot||(Ot=t(["\n flex: 1;\n padding: 16px;\n background-color: ",";\n"],["\n flex: 1;\n padding: 16px;\n background-color: ",";\n"])),(function(n){return n.theme.colors.white}));T.div(Pt||(Pt=t(["\n margin-top: 64px;\n"],["\n margin-top: 64px;\n"])));var Ct=T.div(Rt||(Rt=t(["\n background-color: ",";\n\n &[data-is-sub-category-opened='true'] {\n display: none;\n }\n\n &[data-hide-on-search='true'] {\n display: none;\n }\n"],["\n background-color: ",";\n\n &[data-is-sub-category-opened='true'] {\n display: none;\n }\n\n &[data-hide-on-search='true'] {\n display: none;\n }\n"])),(function(n){return n.theme.colors.white}));T.div(Bt||(Bt=t(["\n padding: 24px 0;\n"],["\n padding: 24px 0;\n"])));var Tt=T.div(Dt||(Dt=t(["\n display: flex;\n width: 100%;\n align-items: center;\n justify-content: center;\n\n & > div:first-child {\n margin-right: 8px;\n }\n"],["\n display: flex;\n width: 100%;\n align-items: center;\n justify-content: center;\n\n & > div:first-child {\n margin-right: 8px;\n }\n"])));T.div(Ht||(Ht=t(["\n position: fixed;\n z-index: ",";\n top: 69px;\n left: 0;\n width: 100%;\n height: 100%;\n align-items: center;\n background-color: transparent;\n &[data-is-display='false'] {\n display: none;\n }\n"],["\n position: fixed;\n z-index: ",";\n top: 69px;\n left: 0;\n width: 100%;\n height: 100%;\n align-items: center;\n background-color: transparent;\n &[data-is-display='false'] {\n display: none;\n }\n"])),hn),T.div(zt||(zt=t(["\n z-index: ",";\n align-items: center;\n\n border: 1px solid ",";\n background-color: ",";\n box-shadow: 0px 24px 32px rgba(0, 0, 0, 0.04),\n 0px 16px 24px rgba(0, 0, 0, 0.04), 0px 4px 8px rgba(0, 0, 0, 0.04),\n 0px 0px 1px rgba(0, 0, 0, 0.04);\n"],["\n z-index: ",";\n align-items: center;\n\n border: 1px solid ",";\n background-color: ",";\n box-shadow: 0px 24px 32px rgba(0, 0, 0, 0.04),\n 0px 16px 24px rgba(0, 0, 0, 0.04), 0px 4px 8px rgba(0, 0, 0, 0.04),\n 0px 0px 1px rgba(0, 0, 0, 0.04);\n"])),gn,(function(n){return n.theme.colors.neutral50}),(function(n){return n.theme.colors.white})),T.div(Ut||(Ut=t(["\n position: relative;\n display: flex;\n flex-wrap: wrap;\n align-items: flex-start;\n justify-content: flex-start;\n padding: 48px 0;\n"],["\n position: relative;\n display: flex;\n flex-wrap: wrap;\n align-items: flex-start;\n justify-content: flex-start;\n padding: 48px 0;\n"]))),T.div(Ft||(Ft=t(["\n position: relative;\n display: flex;\n flex-wrap: wrap;\n align-items: flex-start;\n justify-content: flex-start;\n &[data-disabled-divider='false'] {\n border-right: 1px solid #e4e8ec;\n }\n"],["\n position: relative;\n display: flex;\n flex-wrap: wrap;\n align-items: flex-start;\n justify-content: flex-start;\n &[data-disabled-divider='false'] {\n border-right: 1px solid #e4e8ec;\n }\n"]))),T.div(jt||(jt=t(["\n width: 20%;\n padding-right: 16px;\n margin-bottom: 12px;\n\n & > a {\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 22px;\n }\n\n & > a:hover {\n color: ",";\n }\n\n .iconMenu {\n display: flex;\n align-items: center;\n\n > .imageContainer {\n display: flex;\n width: 32px;\n min-width: 32px;\n align-items: center;\n margin-right: 16px;\n }\n }\n"],["\n width: 20%;\n padding-right: 16px;\n margin-bottom: 12px;\n\n & > a {\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 22px;\n }\n\n & > a:hover {\n color: ",";\n }\n\n .iconMenu {\n display: flex;\n align-items: center;\n\n > .imageContainer {\n display: flex;\n width: 32px;\n min-width: 32px;\n align-items: center;\n margin-right: 16px;\n }\n }\n"])),(function(n){return n.theme.colors.gray800}),(function(n){return n.theme.sizes.fsParagraph4}),(function(n){return n.theme.sizes.fwRegular}),(function(n){return n.theme.colors.primaryBase})),T.div(Gt||(Gt=t(["\n display: none;\n"],["\n display: none;\n"]))),T.div(Yt||(Yt=t(["\n width: 33%;\n height: 48px;\n padding-right: 16px;\n margin-bottom: 12px;\n\n & > a {\n display: flex;\n align-items: center;\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 22px;\n\n & > :first-child {\n margin-right: 16px;\n }\n }\n\n & > a > p:hover {\n color: ",";\n }\n"],["\n width: 33%;\n height: 48px;\n padding-right: 16px;\n margin-bottom: 12px;\n\n & > a {\n display: flex;\n align-items: center;\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 22px;\n\n & > :first-child {\n margin-right: 16px;\n }\n }\n\n & > a > p:hover {\n color: ",";\n }\n"])),(function(n){return n.theme.colors.gray800}),(function(n){return n.theme.sizes.fsParagraph4}),(function(n){return n.theme.sizes.fwRegular}),(function(n){return n.theme.colors.primaryBase})),T.div(Vt||(Vt=t(["\n display: flex;\n align-items: center;\n\n padding-right: 16px;\n margin-bottom: 12px;\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 24px;\n\n &[data-theme='marryBaby'] {\n color: ",";\n }\n"],["\n display: flex;\n align-items: center;\n\n padding-right: 16px;\n margin-bottom: 12px;\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 24px;\n\n &[data-theme='marryBaby'] {\n color: ",";\n }\n"])),(function(n){return n.theme.colors.primaryBase}),(function(n){return n.theme.sizes.fsParagraph4}),(function(n){return n.theme.sizes.fwBold}),(function(n){return n.theme.mbColors.pink}));var _t=T.div(Wt||(Wt=t(["\n display: flex;\n align-items: center;\n\n margin-left: 10px;\n"],["\n display: flex;\n align-items: center;\n\n margin-left: 10px;\n"])));T.div(Zt||(Zt=t(["\n position: absolute;\n top: 16px;\n right: 0;\n display: flex;\n align-items: center;\n cursor: pointer;\n"],["\n position: absolute;\n top: 16px;\n right: 0;\n display: flex;\n align-items: center;\n cursor: pointer;\n"]))),T.div(Kt||(Kt=t(["\n display: block;\n"],["\n display: block;\n"]))),T.div(Xt||(Xt=t(["\n .amp-sidebar {\n width: 100vw;\n\n background-color: ",";\n }\n\n .categories__spotlight {\n display: grid;\n margin: 16px;\n margin-bottom: 32px;\n grid-gap: 8px;\n grid-template-columns: 1fr 1fr;\n\n a {\n text-decoration: none;\n }\n }\n\n .categoryCard {\n display: flex;\n width: 100%;\n flex-direction: column;\n align-items: center;\n padding: 16px;\n border-radius: 6px;\n color: ",";\n\n svg {\n margin-bottom: 4px;\n }\n\n &.active {\n background: ",";\n box-shadow: 0px 16px 24px rgba(0, 0, 0, 0.06),\n 0px 2px 8px rgba(0, 0, 0, 0.04), 0px 0px 1px rgba(0, 0, 0, 0.04);\n color: white;\n }\n\n &:not(.active) {\n box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.04),\n 0px 0px 2px rgba(0, 0, 0, 0.06), 0px 0px 1px rgba(0, 0, 0, 0.04);\n }\n }\n\n .amp__menu-header {\n display: grid;\n grid-template-columns: 1fr 1fr 1fr;\n\n svg {\n margin-left: 16px;\n }\n\n > div {\n align-self: center;\n\n &:nth-child(2) {\n justify-self: center;\n }\n }\n }\n\n .logo {\n margin: 22px 0;\n }\n\n .categories {\n margin: 0 16px;\n\n li {\n display: block;\n width: 100%;\n\n + li {\n border-top: 1px solid\n ",";\n }\n\n a {\n display: block;\n margin: 12px 0;\n color: ",";\n text-decoration: none;\n }\n }\n }\n"],["\n .amp-sidebar {\n width: 100vw;\n\n background-color: ",";\n }\n\n .categories__spotlight {\n display: grid;\n margin: 16px;\n margin-bottom: 32px;\n grid-gap: 8px;\n grid-template-columns: 1fr 1fr;\n\n a {\n text-decoration: none;\n }\n }\n\n .categoryCard {\n display: flex;\n width: 100%;\n flex-direction: column;\n align-items: center;\n padding: 16px;\n border-radius: 6px;\n color: ",";\n\n svg {\n margin-bottom: 4px;\n }\n\n &.active {\n background: ",";\n box-shadow: 0px 16px 24px rgba(0, 0, 0, 0.06),\n 0px 2px 8px rgba(0, 0, 0, 0.04), 0px 0px 1px rgba(0, 0, 0, 0.04);\n color: white;\n }\n\n &:not(.active) {\n box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.04),\n 0px 0px 2px rgba(0, 0, 0, 0.06), 0px 0px 1px rgba(0, 0, 0, 0.04);\n }\n }\n\n .amp__menu-header {\n display: grid;\n grid-template-columns: 1fr 1fr 1fr;\n\n svg {\n margin-left: 16px;\n }\n\n > div {\n align-self: center;\n\n &:nth-child(2) {\n justify-self: center;\n }\n }\n }\n\n .logo {\n margin: 22px 0;\n }\n\n .categories {\n margin: 0 16px;\n\n li {\n display: block;\n width: 100%;\n\n + li {\n border-top: 1px solid\n ",";\n }\n\n a {\n display: block;\n margin: 12px 0;\n color: ",";\n text-decoration: none;\n }\n }\n }\n"])),(function(n){return n.theme.colors.neutral50}),(function(n){return n.theme.colors.primaryBase}),(function(n){return n.theme.colors.primaryBase}),(function(n){return n.theme.colors.neutral100}),(function(n){return n.theme.colors.gray800}));var Lt,St,It,At,Nt,Mt,Ot,Pt,Rt,Bt,Dt,Ht,zt,Ut,Ft,jt,Gt,Yt,Vt,Wt,Zt,Kt,Xt,Qt,qt,Jt,$t,ni,ei,ti=T.div(Qt||(Qt=t(["\n width: 20%;\n height: 2px;\n\n background-color: ",";\n border-radius: 2px;\n"],["\n width: 20%;\n height: 2px;\n\n background-color: ",";\n border-radius: 2px;\n"])),(function(n){return n.theme.mbColors.pink})),ii=T.div(qt||(qt=t(["\n .fake-search-input {\n margin-bottom: 24px;\n pointer-events: none;\n }\n"],["\n .fake-search-input {\n margin-bottom: 24px;\n pointer-events: none;\n }\n"]))),oi=function(){return l.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.97183 10.8732C3.97183 7.0617 7.0617 3.97183 10.8732 3.97183C14.6848 3.97183 17.7746 7.0617 17.7746 10.8732C17.7746 14.6848 14.6848 17.7746 10.8732 17.7746C7.0617 17.7746 3.97183 14.6848 3.97183 10.8732ZM10.8732 2C5.97268 2 2 5.97268 2 10.8732C2 15.7738 5.97268 19.7465 10.8732 19.7465C12.9683 19.7465 14.8938 19.0204 16.4118 17.8061L20.3169 21.7112C20.702 22.0963 21.3262 22.0963 21.7112 21.7112C22.0963 21.3262 22.0963 20.702 21.7112 20.3169L17.8061 16.4118C19.0204 14.8938 19.7465 12.9683 19.7465 10.8732C19.7465 5.97268 15.7738 2 10.8732 2Z",fill:"#8C8C8C"}))},ai=T.div(Jt||(Jt=t(["\n amp-sidebar {\n width: 100vw;\n max-width: 100vw;\n background-color: ",";\n }\n\n .nav-card {\n display: flex;\n width: 100%;\n flex-direction: column;\n align-items: center;\n padding: 16px;\n border-radius: 6px;\n color: ",";\n\n span {\n margin-top: 4px;\n font-size: 13px;\n font-weight: ",";\n }\n\n svg {\n margin-bottom: 4px;\n }\n\n &.active {\n background: ",";\n box-shadow: 0px 16px 24px rgba(0, 0, 0, 0.06),\n 0px 2px 8px rgba(0, 0, 0, 0.04), 0px 0px 1px rgba(0, 0, 0, 0.04);\n color: white;\n }\n\n &:not(.active) {\n box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.04),\n 0px 0px 2px rgba(0, 0, 0, 0.06), 0px 0px 1px rgba(0, 0, 0, 0.04);\n color: ",";\n }\n }\n\n .categories__spotlight {\n display: grid;\n margin: 16px;\n margin-bottom: 32px;\n grid-gap: 8px;\n grid-template-columns: 1fr 1fr;\n\n a {\n text-decoration: none;\n }\n }\n\n .amp__menu-header {\n display: grid;\n grid-template-columns: 1fr 1fr 1fr;\n\n > div:first-child > amp-img {\n margin-left: 1rem;\n }\n\n svg {\n margin-left: 16px;\n }\n\n > div {\n align-self: center;\n\n &:nth-child(2) {\n justify-self: center;\n }\n }\n }\n\n .logo {\n margin: 22px 0;\n\n img {\n object-fit: contain;\n }\n }\n\n .categories {\n margin: 0 16px;\n\n li {\n position: relative;\n display: block;\n width: 100%;\n\n + li {\n border-top: 1px solid\n ",";\n }\n\n &.health-tool {\n display: flex;\n align-items: center;\n\n amp-img {\n margin-right: 1rem;\n }\n + li {\n border-top: none;\n }\n\n a {\n display: flex;\n align-items: center;\n }\n }\n\n a {\n display: block;\n margin: 16px 0;\n color: ",";\n text-decoration: none;\n }\n\n &:not(.spotlight-li)::after {\n position: absolute;\n top: 50%;\n right: 0;\n content: url(\"data:image/svg+xml,%3Csvg width='6' height='10' viewBox='0 0 6 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 9L5 5L1 1' stroke='%23595959' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A\");\n }\n }\n }\n"],["\n amp-sidebar {\n width: 100vw;\n max-width: 100vw;\n background-color: ",";\n }\n\n .nav-card {\n display: flex;\n width: 100%;\n flex-direction: column;\n align-items: center;\n padding: 16px;\n border-radius: 6px;\n color: ",";\n\n span {\n margin-top: 4px;\n font-size: 13px;\n font-weight: ",";\n }\n\n svg {\n margin-bottom: 4px;\n }\n\n &.active {\n background: ",";\n box-shadow: 0px 16px 24px rgba(0, 0, 0, 0.06),\n 0px 2px 8px rgba(0, 0, 0, 0.04), 0px 0px 1px rgba(0, 0, 0, 0.04);\n color: white;\n }\n\n &:not(.active) {\n box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.04),\n 0px 0px 2px rgba(0, 0, 0, 0.06), 0px 0px 1px rgba(0, 0, 0, 0.04);\n color: ",";\n }\n }\n\n .categories__spotlight {\n display: grid;\n margin: 16px;\n margin-bottom: 32px;\n grid-gap: 8px;\n grid-template-columns: 1fr 1fr;\n\n a {\n text-decoration: none;\n }\n }\n\n .amp__menu-header {\n display: grid;\n grid-template-columns: 1fr 1fr 1fr;\n\n > div:first-child > amp-img {\n margin-left: 1rem;\n }\n\n svg {\n margin-left: 16px;\n }\n\n > div {\n align-self: center;\n\n &:nth-child(2) {\n justify-self: center;\n }\n }\n }\n\n .logo {\n margin: 22px 0;\n\n img {\n object-fit: contain;\n }\n }\n\n .categories {\n margin: 0 16px;\n\n li {\n position: relative;\n display: block;\n width: 100%;\n\n + li {\n border-top: 1px solid\n ",";\n }\n\n &.health-tool {\n display: flex;\n align-items: center;\n\n amp-img {\n margin-right: 1rem;\n }\n + li {\n border-top: none;\n }\n\n a {\n display: flex;\n align-items: center;\n }\n }\n\n a {\n display: block;\n margin: 16px 0;\n color: ",";\n text-decoration: none;\n }\n\n &:not(.spotlight-li)::after {\n position: absolute;\n top: 50%;\n right: 0;\n content: url(\"data:image/svg+xml,%3Csvg width='6' height='10' viewBox='0 0 6 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 9L5 5L1 1' stroke='%23595959' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A\");\n }\n }\n }\n"])),(function(n){return n.theme.colors.neutral50}),(function(n){return n.theme.colors.primaryBase}),(function(n){return n.theme.sizes.fwBold}),(function(n){return n.theme.colors.primaryBase}),(function(n){return n.theme.colors.gray800}),(function(n){return n.theme.colors.neutral100}),(function(n){return n.theme.colors.gray800})),li=T.a($t||($t=t(["\n position: relative;\n margin: 0 16px 24px;\n display: block;\n text-decoration: none;\n\n svg {\n position: absolute;\n left: 12px;\n top: 12px;\n }\n\n .amp-search-input {\n border: 1px solid ",";\n height: 48px;\n border-radius: 6px;\n background-color: ",";\n padding-left: 48px;\n }\n"],["\n position: relative;\n margin: 0 16px 24px;\n display: block;\n text-decoration: none;\n\n svg {\n position: absolute;\n left: 12px;\n top: 12px;\n }\n\n .amp-search-input {\n border: 1px solid ",";\n height: 48px;\n border-radius: 6px;\n background-color: ",";\n padding-left: 48px;\n }\n"])),(function(n){return n.theme.colors.gray200}),(function(n){return n.theme.colors.white})),ri=function(n){var e=n.locale,t=n.categoriesSSR,i=n.healthToolsSSR,o=n.spotlightsSSR,a=n.serviceUrls,r=n.together,s=n.care,c=n.basePath,p=n.searchPlaceholder,d=In();return l.createElement(ai,null,l.createElement("amp-sidebar",{id:"discover-amp-sidebar",layout:"nodisplay",style:{width:"100vw",maxWidth:"100vw"}},l.createElement("amp-nested-menu",{layout:"fill"},l.createElement("ul",{style:{paddingBottom:24}},l.createElement("div",{className:"amp__menu-header"},l.createElement(ae,{on:"tap:discover-amp-sidebar.close",role:"button",tabIndex:1},l.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"}))),l.createElement("div",{className:"logo"},l.createElement(M,{height:"32px",width:"121px",type:Q.LOGO_TYPE,isAmp:!0,badge:"id-ID"===e?l.createElement("amp-img",{src:x,width:"56",height:"23"}):void 0})),l.createElement("div",null)),l.createElement(li,{href:"/search"},l.createElement(oi,null),l.createElement("input",{className:"amp-search-input",type:"text",placeholder:p,readOnly:!0})),l.createElement("div",{className:"categories__spotlight"},l.createElement(le,{on:"tap:AMP.setState({healthToolsActive: true})",className:"nav-card active","data-amp-bind-class":"healthToolsActive ? 'nav-card active' : 'nav-card not-active'",role:"button",tabIndex:1},l.createElement("amp-img",{src:f,width:"48",height:"48"}),l.createElement("span",null,d("home.navigator.menuItem.discover"))),l.createElement(le,{role:"button",tabIndex:1,className:"nav-card",on:"tap:AMP.setState({healthToolsActive: false})","data-amp-bind-class":"healthToolsActive ? 'nav-card not-active' : 'nav-card active'"},l.createElement("amp-img",{src:y,width:"48",height:"48"}),l.createElement("span",null,d("home.navigator.menuItem.healthTools"))),r.TOGETHER_MENU_COUNTRIES_ENABLED.includes(e)&&l.createElement("a",{href:a.TOGETHER_URL_FE},l.createElement(le,{role:"button",tabIndex:1,className:"nav-card",on:"tap:AMP.setState({healthToolsActive: false})"},l.createElement("amp-img",{src:v,width:"48",height:"48"}),l.createElement("span",null,d("home.navigator.menuItem.together")))),s.CARE_MENU_COUNTRIES_ENABLED.includes(e)&&l.createElement("a",{href:a.CARE_URL_FE},l.createElement(le,{role:"button",tabIndex:1,className:"nav-card"},l.createElement("amp-img",{src:b,width:"48",height:"48"}),l.createElement("span",null,d("home.navigator.menuItem.helloCare"))))),l.createElement("ul",{className:"categories","data-amp-bind-hidden":"!healthToolsActive",style:{marginBottom:24}},l.createElement(A,{tag:"h3",fontWeight:"bold",style:{marginBottom:24}},d("home.navigator.menuItem.discover")),t&&t.length>1&&t.map((function(n){return l.createElement("li",{key:n.name},l.createElement("a",{href:n.permalink},n.displayName))})),l.createElement("a",{style:{textDecoration:"none"},href:"".concat(a.DISCOVER_URL_FE,"/categories/")},l.createElement(rt,{key:"all-categories"},d("home.navigator.menuItem.allCategories"),l.createElement(_t,null,l.createElement("amp-img",{src:"".concat(c,"/svg/chevronRightActive.svg"),style:{width:"16px",height:"16px"},height:"16",width:"16",alt:d("home.navigator.menuItem.allCategories")}))))),l.createElement("ul",{className:"categories","data-amp-bind-hidden":"!healthToolsActive"},l.createElement(A,{tag:"h3",fontWeight:"bold",style:{marginBottom:24}},d("home.navigator.menuItem.spotlights")),o&&o.length>0&&o.map((function(n){return l.createElement("li",{key:n.id,className:"spotlight-li"},l.createElement("a",{href:n.permalink},n.name))})),l.createElement("a",{style:{textDecoration:"none"},href:"".concat(a.DISCOVER_URL_FE,"/spotlight/")},l.createElement(rt,{key:"all-spotlight"},d("home.navigator.menuItem.allSpotlight"),l.createElement(_t,null,l.createElement("amp-img",{src:"".concat(c,"/svg/chevronRightActive.svg"),style:{width:"16px",height:"16px"},height:"16",width:"16",alt:d("home.navigator.menuItem.allSpotlight")}))))),l.createElement("ul",{className:"categories","data-amp-bind-hidden":"healthToolsActive",hidden:!0},i&&i.length>1&&i.map((function(n,e){return n.healthTools&&n.healthTools.length>0&&l.createElement(l.Fragment,{key:e},l.createElement(A,{tag:"h4",fontWeight:"bold"},n.name),n.healthTools.map((function(n){return l.createElement("li",{key:n.title,className:"health-tool"},l.createElement("a",{href:n.link},l.createElement("amp-img",{width:"32",height:"32",src:n.icon}),l.createElement("span",null,n.title)))})))})))))))},si=T.footer(ni||(ni=t(["\n background-color: #1b3250;\n\n .inner {\n padding: 64px 24px 98px 24px;\n "," {\n padding: 64px 0;\n }\n margin: 0 auto;\n //max-width: 1168px;\n\n &[data-type='mini'] {\n padding: 24px 0;\n }\n }\n\n .footer-logo {\n max-width: 132px;\n max-height: 32px;\n margin-bottom: 24px;\n &[data-is-sehat='true'] {\n max-width: 250px;\n }\n\n img {\n object-fit: contain;\n }\n }\n\n .social {\n margin-top: 24px;\n\n "," {\n margin-top: 32px;\n p {\n font-size: 13px;\n }\n }\n\n "," {\n p {\n font-size: 12px;\n }\n }\n\n p {\n color: ",";\n }\n }\n\n .icons {\n margin-top: 12px;\n margin-bottom: 20px;\n > a:not(:last-child) {\n margin-right: 16px;\n }\n\n .social-icon {\n width: 32px;\n height: 32px;\n }\n }\n\n .newsletter {\n > p {\n color: ",";\n\n font-size: 14px;\n line-height: 22px;\n\n "," {\n max-width: 380px;\n line-height: 28.5px;\n }\n }\n }\n\n hr {\n height: 1px;\n border: none;\n margin: 16px 0 16px 0;\n "," {\n margin-top: 0px;\n }\n background: ",";\n opacity: 0.1;\n outline: none;\n }\n\n .hrMobile {\n "," {\n display: none;\n }\n }\n\n .copyright {\n padding-top: 8px;\n\n "," {\n display: flex;\n flex-direction: row-reverse;\n align-items: center;\n justify-content: space-between;\n }\n\n .copyright-content {\n width: 90%;\n color: ",";\n font-size: 12px;\n }\n\n .copyright-image {\n width: 10%;\n align-self: flex-start;\n\n img {\n max-width: 100px;\n margin-bottom: 16px;\n\n "," {\n margin-bottom: 0px;\n }\n }\n }\n\n &[data-is-amp='true'] {\n img {\n margin-bottom: 0;\n }\n }\n }\n\n .copyright-certificate {\n color: ",";\n "," {\n font-size: 11px;\n }\n "," {\n font-size: 12px;\n }\n }\n\n .biglinks {\n margin-bottom: 12px;\n }\n\n .bigLink {\n display: block;\n color: ",";\n font-size: 14px;\n font-weight: ",";\n text-decoration: none;\n word-break: break-word;\n\n &:not(:last-child) {\n margin-bottom: 12px;\n }\n\n "," {\n display: inline-block;\n width: 50%;\n font-size: 16px;\n }\n }\n\n .mHalf {\n display: inline-block;\n width: 50%;\n padding-right: 24px;\n margin-bottom: 24px;\n vertical-align: top;\n\n p {\n color: ",";\n\n "," {\n margin-bottom: 8px;\n font-size: 13px;\n line-height: 20px;\n }\n "," {\n margin-bottom: 12px;\n font-size: 14px;\n }\n }\n }\n\n .otherSites {\n p {\n margin-bottom: 12px;\n color: ",";\n font-size: 12px;\n "," {\n font-size: 13px;\n }\n "," {\n font-size: 13px;\n }\n }\n\n .flags {\n display: flex;\n margin-bottom: 8px;\n\n div {\n margin-right: 10px;\n }\n }\n }\n\n .link {\n display: block;\n text-decoration: none;\n\n p {\n color: ",";\n font-weight: ",";\n word-break: break-word;\n }\n\n &:not(:last-child) {\n margin-bottom: 12px;\n }\n }\n\n .columns {\n "," {\n display: flex;\n flex-direction: row;\n width: 100%;\n\n > div:nth-child(1) {\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n flex-basis: 40%;\n }\n\n > div:nth-child(2) {\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n flex-basis: 60%;\n\n > div:nth-child(1) {\n flex-basis: 45%;\n }\n\n > div:not(:last-child) {\n flex-basis: 27.5%;\n }\n\n > div:last-child() {\n flex-basis: 0;\n }\n }\n }\n }\n\n .signupButton {\n display: none;\n border: none;\n margin-top: 16px;\n outline: none;\n text-transform: uppercase;\n }\n"],["\n background-color: #1b3250;\n\n .inner {\n padding: 64px 24px 98px 24px;\n "," {\n padding: 64px 0;\n }\n margin: 0 auto;\n //max-width: 1168px;\n\n &[data-type='mini'] {\n padding: 24px 0;\n }\n }\n\n .footer-logo {\n max-width: 132px;\n max-height: 32px;\n margin-bottom: 24px;\n &[data-is-sehat='true'] {\n max-width: 250px;\n }\n\n img {\n object-fit: contain;\n }\n }\n\n .social {\n margin-top: 24px;\n\n "," {\n margin-top: 32px;\n p {\n font-size: 13px;\n }\n }\n\n "," {\n p {\n font-size: 12px;\n }\n }\n\n p {\n color: ",";\n }\n }\n\n .icons {\n margin-top: 12px;\n margin-bottom: 20px;\n > a:not(:last-child) {\n margin-right: 16px;\n }\n\n .social-icon {\n width: 32px;\n height: 32px;\n }\n }\n\n .newsletter {\n > p {\n color: ",";\n\n font-size: 14px;\n line-height: 22px;\n\n "," {\n max-width: 380px;\n line-height: 28.5px;\n }\n }\n }\n\n hr {\n height: 1px;\n border: none;\n margin: 16px 0 16px 0;\n "," {\n margin-top: 0px;\n }\n background: ",";\n opacity: 0.1;\n outline: none;\n }\n\n .hrMobile {\n "," {\n display: none;\n }\n }\n\n .copyright {\n padding-top: 8px;\n\n "," {\n display: flex;\n flex-direction: row-reverse;\n align-items: center;\n justify-content: space-between;\n }\n\n .copyright-content {\n width: 90%;\n color: ",";\n font-size: 12px;\n }\n\n .copyright-image {\n width: 10%;\n align-self: flex-start;\n\n img {\n max-width: 100px;\n margin-bottom: 16px;\n\n "," {\n margin-bottom: 0px;\n }\n }\n }\n\n &[data-is-amp='true'] {\n img {\n margin-bottom: 0;\n }\n }\n }\n\n .copyright-certificate {\n color: ",";\n "," {\n font-size: 11px;\n }\n "," {\n font-size: 12px;\n }\n }\n\n .biglinks {\n margin-bottom: 12px;\n }\n\n .bigLink {\n display: block;\n color: ",";\n font-size: 14px;\n font-weight: ",";\n text-decoration: none;\n word-break: break-word;\n\n &:not(:last-child) {\n margin-bottom: 12px;\n }\n\n "," {\n display: inline-block;\n width: 50%;\n font-size: 16px;\n }\n }\n\n .mHalf {\n display: inline-block;\n width: 50%;\n padding-right: 24px;\n margin-bottom: 24px;\n vertical-align: top;\n\n p {\n color: ",";\n\n "," {\n margin-bottom: 8px;\n font-size: 13px;\n line-height: 20px;\n }\n "," {\n margin-bottom: 12px;\n font-size: 14px;\n }\n }\n }\n\n .otherSites {\n p {\n margin-bottom: 12px;\n color: ",";\n font-size: 12px;\n "," {\n font-size: 13px;\n }\n "," {\n font-size: 13px;\n }\n }\n\n .flags {\n display: flex;\n margin-bottom: 8px;\n\n div {\n margin-right: 10px;\n }\n }\n }\n\n .link {\n display: block;\n text-decoration: none;\n\n p {\n color: ",";\n font-weight: ",";\n word-break: break-word;\n }\n\n &:not(:last-child) {\n margin-bottom: 12px;\n }\n }\n\n .columns {\n "," {\n display: flex;\n flex-direction: row;\n width: 100%;\n\n > div:nth-child(1) {\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n flex-basis: 40%;\n }\n\n > div:nth-child(2) {\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n flex-basis: 60%;\n\n > div:nth-child(1) {\n flex-basis: 45%;\n }\n\n > div:not(:last-child) {\n flex-basis: 27.5%;\n }\n\n > div:last-child() {\n flex-basis: 0;\n }\n }\n }\n }\n\n .signupButton {\n display: none;\n border: none;\n margin-top: 16px;\n outline: none;\n text-transform: uppercase;\n }\n"])),R.mbDown,R.mbDown,R.mbUp,(function(n){return n.theme.colors.neutral500}),(function(n){return n.theme.colors.neutral500}),R.mbUp,R.mbDown,(function(n){return n.theme.colors.neutral500}),R.mbUp,R.mbUp,(function(n){return n.theme.colors.neutral500}),R.mbUp,(function(n){return n.theme.colors.neutral500}),R.mbDown,R.mbUp,(function(n){return n.theme.colors.white}),(function(n){return n.theme.sizes.fwBold}),R.mbDown,(function(n){return n.theme.colors.neutral500}),R.mbDown,R.mbUp,(function(n){return n.theme.colors.neutral500}),R.mbDown,R.mbUp,(function(n){return n.theme.colors.white}),(function(n){return n.theme.sizes.fwBold}),R.mbUp),ci=T.div(ei||(ei=t(["\n width: 32px;\n height: 32px;\n margin-right: 10px;\n\n &[data-is-mobile='true'] {\n width: 24px;\n height: 24px;\n }\n\n .country-flag {\n width: 100%;\n height: 100%;\n }\n"],["\n width: 32px;\n height: 32px;\n margin-right: 10px;\n\n &[data-is-mobile='true'] {\n width: 24px;\n height: 24px;\n }\n\n .country-flag {\n width: 100%;\n height: 100%;\n }\n"]))),pi=function(n){var e=n.url,t=n.isMobile,i=n.dataEventCategory,o=n.dataEventAction,a=n.dataEventLabel;return l.createElement(ci,{"data-is-mobile":t},l.createElement("img",{className:"country-flag",src:e,alt:"Country Flag","data-event-category":i,"data-event-action":o,"data-content-label":a}))},di=function(n){var e,t,i,o,a,r,s,c,p,d,m,h,g,u,x,f,y,v,b,E,w,k,C,T,_,L,S,A,M,O,R,D,H,z,U,F=n.className,j=n.type,G=void 0===j?"main":j,Y=n.footerInfo,V=n.isMobile,W=n.locale,Z=n.isAmp,K=In(),Q=null==Y?void 0:Y.menu;return l.createElement(si,{as:Z&&"mini"===G?"div":"footer",className:F,style:"mini"===G?{backgroundColor:B.colors.neutral50}:{},"next-page-hide":!0},l.createElement(P,null,l.createElement("div",{className:"inner","data-type":G,"next-page-hide":""},"main"===G?l.createElement(l.Fragment,null,l.createElement("a",{href:"/"},Z?(null===(t=null==Y?void 0:Y.general)||void 0===t?void 0:t.logo)?l.createElement("amp-img",{src:null===(i=null==Y?void 0:Y.general)||void 0===i?void 0:i.logo,alt:"Site logo",width:"132",height:"32",style:{marginBottom:24}}):null:l.createElement("img",{className:"footer-logo",src:null===(e=null==Y?void 0:Y.general)||void 0===e?void 0:e.logo,alt:"Logo","data-is-sehat":"id-ID"===W})),l.createElement("div",{className:"columns"},l.createElement("div",{className:"newsletter"},l.createElement(N,{size:"p1",type:"bold"},null===(o=null==Y?void 0:Y.general)||void 0===o?void 0:o.content),l.createElement(I,{className:"signupButton",color:"primary",size:"lg"},K("footer.signUp")),l.createElement("div",{className:"social"},l.createElement(N,{size:"sm",type:"regular"},null===(a=null==Y?void 0:Y.social)||void 0===a?void 0:a.title),l.createElement("div",{className:"icons"},null===(s=null===(r=null==Y?void 0:Y.social)||void 0===r?void 0:r.socials)||void 0===s?void 0:s.map((function(n,e){return l.createElement("a",{key:e,"data-event-category":"Footer","data-event-action":"Follow us - ".concat(n.name),"data-content-label":n.url,href:n.url},Z?l.createElement("amp-img",{"data-event-category":"Footer","data-event-action":"Follow us - ".concat(n.name),"data-content-label":n.url,src:n.icon,alt:"Logo Social",width:"32",height:"32"}):l.createElement("img",{"data-event-category":"Footer","data-event-action":"Follow us - ".concat(n.name),"data-content-label":n.url,src:n.icon,alt:"Logo Social",className:"social-icon"}))}))),l.createElement("hr",{className:"hrMobile"}))),l.createElement("div",null,Q&&l.createElement(l.Fragment,null,l.createElement("div",{className:"biglinks"},null===(p=null===(c=Q[0])||void 0===c?void 0:c.items)||void 0===p?void 0:p.map((function(n,e){return l.createElement("a",{"data-event-category":"Footer","data-event-action":n.title,"data-event-label":"https://".concat(X[W]).concat(n.url),className:"bigLink",key:e,href:n.url},n.title)}))),l.createElement("hr",{className:"hrMobile"}),l.createElement("div",{className:"mHalf"},l.createElement(N,{type:"regular",size:"sm",className:"linkTitle"},null===(d=Q[1])||void 0===d?void 0:d.menu_title),null===(h=null===(m=Q[1])||void 0===m?void 0:m.items)||void 0===h?void 0:h.map((function(n,e){return l.createElement("a",{"data-event-category":"Footer","data-event-action":n.title,"data-event-label":"https://".concat(X[W]).concat(n.url),className:"link",href:n.url,key:e},l.createElement(N,{size:"sm",type:"regular",dataEventCategory:"Footer",dataEventAction:n.title,dataEventLabel:"https://".concat(X[W]).concat(n.url)},n.title))}))),l.createElement("div",{className:"mHalf"},l.createElement(N,{type:"regular",size:"sm",className:"linkTitle"},null===(g=Q[2])||void 0===g?void 0:g.menu_title),null===(x=null===(u=Q[2])||void 0===u?void 0:u.items)||void 0===x?void 0:x.map((function(n,e){return n.url&&l.createElement("a",{"data-event-category":"Footer","data-event-action":n.title,"data-event-label":n.url,className:"link",href:n.url,key:e},l.createElement(N,{size:"sm",type:"regular",dataEventCategory:"Footer",dataEventAction:n.title,dataEventLabel:n.url},n.title))})))),!Z&&l.createElement(l.Fragment,null,l.createElement("hr",{className:"hrMobile"}),l.createElement("div",{className:"otherSites"},l.createElement(N,{type:"regular",size:"sm",className:"linkTitle"},null===(f=null==Y?void 0:Y.branch)||void 0===f?void 0:f.title),l.createElement("div",{className:"flags"},null===(v=null===(y=null==Y?void 0:Y.branch)||void 0===y?void 0:y.branch)||void 0===v?void 0:v.map((function(n,e){return l.createElement("a",{className:"link",href:n.url,key:e,"data-event-category":"Footer","data-event-action":n.name,"data-event-label":n.url},l.createElement(pi,{url:n.flag,isMobile:V,dataEventCategory:"Footer",dataEventAction:n.name,dataEventLabel:n.url}))}))))))),l.createElement("hr",null),l.createElement("div",{className:"copyright","data-is-amp":Z||void 0},(null===(b=null==Y?void 0:Y.general)||void 0===b?void 0:b.verified)&&l.createElement("a",{href:null===(w=null===(E=null==Y?void 0:Y.general)||void 0===E?void 0:E.verified[0])||void 0===w?void 0:w.url,className:"copyright-image"},Z?l.createElement("amp-img",{src:null===(C=null===(k=null==Y?void 0:Y.general)||void 0===k?void 0:k.verified[0])||void 0===C?void 0:C.image,alt:"DMCA Icon",width:"100",height:"36"}):l.createElement("img",{src:null===(_=null===(T=null==Y?void 0:Y.general)||void 0===T?void 0:T.verified[0])||void 0===_?void 0:_.image,alt:"DMCA Icon"})),l.createElement(N,{size:"xs",type:"regular",className:"copyright-content"},null===(L=null==Y?void 0:Y.general)||void 0===L?void 0:L.copyright)),"vi-VN"===W&&l.createElement(N,{className:"copyright-certificate",size:"xs",type:"regular",color:"white"},"Giấy xác nhận cung cấp dịch vụ mạng xã hội trực tuyến số 529/GP-BTTTT, HN ngày 03/12/2019")):l.createElement(l.Fragment,null,(null==Y?void 0:Y.menu)&&l.createElement("div",{className:"columns"},l.createElement("div",{className:"mHalf"},l.createElement(N,{type:"regular",size:"sm",className:"linkTitle"},null===(S=null==Y?void 0:Y.menu[1])||void 0===S?void 0:S.menu_title),null===(M=null===(A=null==Y?void 0:Y.menu[1])||void 0===A?void 0:A.items)||void 0===M?void 0:M.map((function(n){return l.createElement("a",{className:"link",href:n.url,key:n.title,"data-list-type":"Footer","data-content-type":"Navigate","data-content-topic":"Information","data-content-title":n.title,"data-content-id":"https://".concat(X[W]).concat(n.url),"data-event-category":"Footer","data-event-action":n.title,"data-event-label":"https://".concat(X[W]).concat(n.url)},l.createElement(N,{dataEventCategory:"Footer",dataEventAction:n.title,dataEventLabel:"https://".concat(X[W]).concat(n.url),size:"sm",type:"regular",style:{color:B.colors.gray800}},n.title))}))),l.createElement("div",{className:"mHalf"},l.createElement(N,{type:"regular",size:"sm",className:"linkTitle"},null===(O=null==Y?void 0:Y.menu[2])||void 0===O?void 0:O.menu_title),null===(D=null===(R=null==Y?void 0:Y.menu[2])||void 0===R?void 0:R.items)||void 0===D?void 0:D.map((function(n,e){return l.createElement("a",{className:"link",href:n.url,key:e,"data-list-type":"Footer","data-content-type":"Navigate","data-content-topic":"Hello Health","data-content-title":n.title,"data-content-id":n.url,"data-event-category":"Footer","data-event-action":n.title,"data-event-label":n.url},l.createElement(N,{size:"sm",type:"regular",style:{color:B.colors.gray800},dataEventCategory:"Footer",dataEventAction:n.title,dataEventLabel:n.url},n.title))}))),!Z&&"mini"!==G&&l.createElement("hr",{className:"hrMobile"}),l.createElement("div",{className:"newsletter"},l.createElement("div",{className:"social"},l.createElement(N,{size:"sm",type:"regular"},null===(H=null==Y?void 0:Y.social)||void 0===H?void 0:H.title),l.createElement("div",{className:"icons"},null===(U=null===(z=null==Y?void 0:Y.social)||void 0===z?void 0:z.socials)||void 0===U?void 0:U.map((function(n,e){return l.createElement("a",{key:e,"data-event-category":"Footer","data-event-action":"Follow us - ".concat(n.name),"data-content-label":n.url,href:n.url},Z?l.createElement("amp-img",{"data-event-category":"Footer","data-event-action":"Follow us - ".concat(n.name),"data-content-label":n.url,src:n.icon,alt:"Logo Social",width:"32",height:"32"}):l.createElement("img",{"data-event-category":"Footer","data-event-action":"Follow us - ".concat(n.name),"data-content-label":n.url,src:n.icon,alt:"Logo Social",className:"social-icon"}))}))))))))))};T((function(n){var e=n.type,t=i(n,["type"]);return l.createElement(e,t)}))(mi||(mi=t(["\n color: var(--text-color, ",");\n font-family: Krub;\n font-weight: 600;\n letter-spacing: -0.2px;\n\n &[data-type='headline-1'] {\n font-size: 40px;\n line-height: 60px;\n }\n &[data-type='headline-2'] {\n font-size: 32px;\n line-height: 48px;\n }\n &[data-type='headline-3'] {\n font-size: 24px;\n line-height: 40px;\n }\n &[data-type='headline-4'] {\n font-size: 18px;\n line-height: 32px;\n }\n"],["\n color: var(--text-color, ",");\n font-family: Krub;\n font-weight: 600;\n letter-spacing: -0.2px;\n\n &[data-type='headline-1'] {\n font-size: 40px;\n line-height: 60px;\n }\n &[data-type='headline-2'] {\n font-size: 32px;\n line-height: 48px;\n }\n &[data-type='headline-3'] {\n font-size: 24px;\n line-height: 40px;\n }\n &[data-type='headline-4'] {\n font-size: 18px;\n line-height: 32px;\n }\n"])),(function(n){return n.theme.mbColors.dark}));var mi,hi,gi=T.p(hi||(hi=t(["\n color: var(--text-color, ",");\n letter-spacing: -0.2px;\n\n &[data-type='subtitle-1'] {\n font-size: 16px;\n font-weight: 600;\n line-height: 26px;\n }\n &[data-type='subtitle-2'] {\n font-size: 14px;\n font-weight: 500;\n line-height: 24px;\n }\n &[data-type='subtitle-3'] {\n font-size: 12px;\n font-weight: 500;\n line-height: 20px;\n }\n &[data-type='bodytext-1'] {\n font-size: 16px;\n font-weight: 400;\n line-height: 28px;\n }\n &[data-type='bodytext-2'] {\n font-size: 14px;\n font-weight: 400;\n line-height: 24px;\n }\n &[data-type='bodytext-3'] {\n font-size: 12px;\n font-weight: 400;\n line-height: 20px;\n }\n &[data-type='caption-1'] {\n font-size: 10px;\n font-weight: 500;\n letter-spacing: -0.1px;\n line-height: 14px;\n }\n &[data-type='caption-2'] {\n font-size: 10px;\n font-weight: 400;\n letter-spacing: -0.1px;\n line-height: 14px;\n }\n"],["\n color: var(--text-color, ",");\n letter-spacing: -0.2px;\n\n &[data-type='subtitle-1'] {\n font-size: 16px;\n font-weight: 600;\n line-height: 26px;\n }\n &[data-type='subtitle-2'] {\n font-size: 14px;\n font-weight: 500;\n line-height: 24px;\n }\n &[data-type='subtitle-3'] {\n font-size: 12px;\n font-weight: 500;\n line-height: 20px;\n }\n &[data-type='bodytext-1'] {\n font-size: 16px;\n font-weight: 400;\n line-height: 28px;\n }\n &[data-type='bodytext-2'] {\n font-size: 14px;\n font-weight: 400;\n line-height: 24px;\n }\n &[data-type='bodytext-3'] {\n font-size: 12px;\n font-weight: 400;\n line-height: 20px;\n }\n &[data-type='caption-1'] {\n font-size: 10px;\n font-weight: 500;\n letter-spacing: -0.1px;\n line-height: 14px;\n }\n &[data-type='caption-2'] {\n font-size: 10px;\n font-weight: 400;\n letter-spacing: -0.1px;\n line-height: 14px;\n }\n"])),(function(n){return n.theme.mbColors.dark})),ui=function(n){var t=n.type,o=n.color,a=n.style,r=i(n,["type","color","style"]);return l.createElement(gi,e({"data-type":t,style:e(e({},a),o&&{"--text-color":o})},r))};T.footer(xi||(xi=t(["\n position: relative;\n background: ",";\n\n .inner {\n padding: 64px 24px 98px 24px;\n "," {\n padding: 64px 0;\n }\n margin: 0 auto;\n //max-width: 1168px;\n\n &[data-type='mini'] {\n padding: 0;\n }\n }\n\n .footer-logo {\n max-width: 132px;\n margin-bottom: 24px;\n }\n\n .social {\n margin-top: 24px;\n\n "," {\n margin-top: 32px;\n }\n\n p {\n color: ",";\n }\n }\n\n .icons {\n margin-top: 12px;\n margin-bottom: 20px;\n > a:not(:last-child) {\n margin-right: 16px;\n }\n }\n\n .newsletter {\n > p {\n color: ",";\n\n font-size: 14px;\n line-height: 22px;\n\n "," {\n max-width: 380px;\n font-size: 19px;\n line-height: 28.5px;\n }\n }\n }\n\n hr {\n height: 1px;\n border: none;\n margin: 16px 0 16px 0;\n "," {\n margin-top: 0px;\n }\n background: ",";\n opacity: 0.1;\n outline: none;\n }\n\n .hrMobile {\n "," {\n display: none;\n }\n }\n\n .copyright {\n padding-top: 8px;\n\n "," {\n display: flex;\n flex-direction: row-reverse;\n align-items: center;\n justify-content: space-between;\n }\n\n p {\n color: ",";\n }\n\n img {\n max-width: 100px;\n margin-bottom: 16px;\n\n "," {\n margin-bottom: 0px;\n }\n }\n\n &[data-is-amp='true'] {\n img {\n margin-bottom: 0;\n }\n }\n }\n\n .biglinks {\n margin-bottom: 12px;\n }\n\n .bigLink {\n display: block;\n color: ",";\n font-size: 19px;\n font-weight: ",";\n text-decoration: none;\n\n &:not(:last-child) {\n margin-bottom: 12px;\n }\n\n "," {\n display: inline-block;\n width: 50%;\n font-size: 16px;\n }\n }\n\n .mHalf {\n display: inline-block;\n width: 50%;\n padding-right: 24px;\n margin-bottom: 24px;\n vertical-align: top;\n\n p {\n margin-bottom: 12px;\n color: ",";\n }\n\n "," {\n margin-bottom: 8px;\n }\n }\n\n .otherSites {\n p {\n margin-bottom: 12px;\n color: ",";\n }\n\n .flags {\n display: flex;\n margin-bottom: 8px;\n\n div {\n margin-right: 10px;\n }\n }\n }\n\n .link {\n display: block;\n text-decoration: none;\n\n p {\n color: ",";\n font-weight: ",";\n }\n\n &:not(:last-child) {\n margin-bottom: 12px;\n }\n }\n\n .columns {\n "," {\n display: flex;\n flex-direction: row;\n width: 100%;\n\n > div:nth-child(1) {\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n flex-basis: 40%;\n }\n\n > div:nth-child(2) {\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n flex-basis: 60%;\n\n > div:nth-child(1) {\n flex-basis: 45%;\n }\n\n > div {\n flex-basis: 27.5%;\n }\n\n > div:last-child() {\n flex-basis: 0;\n }\n }\n }\n }\n\n .signupButton {\n display: none;\n border: none;\n margin-top: 16px;\n outline: none;\n text-transform: uppercase;\n }\n"],["\n position: relative;\n background: ",";\n\n .inner {\n padding: 64px 24px 98px 24px;\n "," {\n padding: 64px 0;\n }\n margin: 0 auto;\n //max-width: 1168px;\n\n &[data-type='mini'] {\n padding: 0;\n }\n }\n\n .footer-logo {\n max-width: 132px;\n margin-bottom: 24px;\n }\n\n .social {\n margin-top: 24px;\n\n "," {\n margin-top: 32px;\n }\n\n p {\n color: ",";\n }\n }\n\n .icons {\n margin-top: 12px;\n margin-bottom: 20px;\n > a:not(:last-child) {\n margin-right: 16px;\n }\n }\n\n .newsletter {\n > p {\n color: ",";\n\n font-size: 14px;\n line-height: 22px;\n\n "," {\n max-width: 380px;\n font-size: 19px;\n line-height: 28.5px;\n }\n }\n }\n\n hr {\n height: 1px;\n border: none;\n margin: 16px 0 16px 0;\n "," {\n margin-top: 0px;\n }\n background: ",";\n opacity: 0.1;\n outline: none;\n }\n\n .hrMobile {\n "," {\n display: none;\n }\n }\n\n .copyright {\n padding-top: 8px;\n\n "," {\n display: flex;\n flex-direction: row-reverse;\n align-items: center;\n justify-content: space-between;\n }\n\n p {\n color: ",";\n }\n\n img {\n max-width: 100px;\n margin-bottom: 16px;\n\n "," {\n margin-bottom: 0px;\n }\n }\n\n &[data-is-amp='true'] {\n img {\n margin-bottom: 0;\n }\n }\n }\n\n .biglinks {\n margin-bottom: 12px;\n }\n\n .bigLink {\n display: block;\n color: ",";\n font-size: 19px;\n font-weight: ",";\n text-decoration: none;\n\n &:not(:last-child) {\n margin-bottom: 12px;\n }\n\n "," {\n display: inline-block;\n width: 50%;\n font-size: 16px;\n }\n }\n\n .mHalf {\n display: inline-block;\n width: 50%;\n padding-right: 24px;\n margin-bottom: 24px;\n vertical-align: top;\n\n p {\n margin-bottom: 12px;\n color: ",";\n }\n\n "," {\n margin-bottom: 8px;\n }\n }\n\n .otherSites {\n p {\n margin-bottom: 12px;\n color: ",";\n }\n\n .flags {\n display: flex;\n margin-bottom: 8px;\n\n div {\n margin-right: 10px;\n }\n }\n }\n\n .link {\n display: block;\n text-decoration: none;\n\n p {\n color: ",";\n font-weight: ",";\n }\n\n &:not(:last-child) {\n margin-bottom: 12px;\n }\n }\n\n .columns {\n "," {\n display: flex;\n flex-direction: row;\n width: 100%;\n\n > div:nth-child(1) {\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n flex-basis: 40%;\n }\n\n > div:nth-child(2) {\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n flex-basis: 60%;\n\n > div:nth-child(1) {\n flex-basis: 45%;\n }\n\n > div {\n flex-basis: 27.5%;\n }\n\n > div:last-child() {\n flex-basis: 0;\n }\n }\n }\n }\n\n .signupButton {\n display: none;\n border: none;\n margin-top: 16px;\n outline: none;\n text-transform: uppercase;\n }\n"])),(function(n){return n.theme.mbColors.lightGray}),R.mbDown,R.mbDown,(function(n){return n.theme.colors.white}),(function(n){return n.theme.colors.neutral500}),R.mbUp,R.mbDown,(function(n){return n.theme.colors.neutral500}),R.mbUp,R.mbUp,(function(n){return n.theme.colors.white}),R.mbUp,(function(n){return n.theme.colors.white}),(function(n){return n.theme.sizes.fwBold}),R.mbDown,(function(n){return n.theme.colors.neutral500}),R.mbDown,(function(n){return n.theme.colors.neutral500}),(function(n){return n.theme.colors.white}),(function(n){return n.theme.sizes.fwBold}),R.mbUp);var xi,fi,yi,vi,bi,Ei,wi,ki,Ci,Ti,_i,Li,Si,Ii,Ai,Ni,Mi,Oi,Pi,Ri,Bi,Di,Hi,zi,Ui,Fi=T.div(fi||(fi=t([""],[""]))),ji=T.div(yi||(yi=t(["\n position: relative;\n overflow: hidden;\n padding: 40px 40px 100px 40px;\n\n .icons-links {\n position: relative;\n display: flex;\n justify-content: space-between;\n }\n"],["\n position: relative;\n overflow: hidden;\n padding: 40px 40px 100px 40px;\n\n .icons-links {\n position: relative;\n display: flex;\n justify-content: space-between;\n }\n"]))),Gi=T.div(vi||(vi=t(["\n position: relative;\n margin: 80px 0 0;\n\n "," {\n margin-top: 0px;\n overflow: hidden;\n &:before {\n position: absolute;\n top: 0;\n left: 50%;\n display: block;\n width: 150%;\n height: 100%;\n background-color: #f3f3f3;\n content: '';\n transform: translateX(-50%);\n border-radius: 100% 100% 0 0 / 30% 30%;\n }\n }\n"],["\n position: relative;\n margin: 80px 0 0;\n\n "," {\n margin-top: 0px;\n overflow: hidden;\n &:before {\n position: absolute;\n top: 0;\n left: 50%;\n display: block;\n width: 150%;\n height: 100%;\n background-color: #f3f3f3;\n content: '';\n transform: translateX(-50%);\n border-radius: 100% 100% 0 0 / 30% 30%;\n }\n }\n"])),R.mbDown),Yi=T.div(bi||(bi=t(["\n position: relative;\n padding: 0 16px;\n\n "," {\n padding: 48px 8px 0;\n }\n\n & .grid {\n display: flex;\n flex-wrap: wrap;\n margin: -8px;\n\n & > * {\n display: inline-block;\n flex: 0 0 25%;\n padding: 8px;\n color: ",";\n text-decoration: none;\n }\n\n "," {\n & > * {\n flex: 0 0 100%;\n text-align: center;\n }\n }\n }\n\n & .social-wrapper {\n margin-left: auto;\n }\n\n & .social {\n "," {\n & .icons-links {\n margin-top: 16px;\n\n & > a:not(:first-child) {\n margin-left: 10%;\n }\n\n & > a {\n text-decoration: none;\n }\n }\n }\n\n "," {\n width: 100%;\n display: flex;\n background: #fff;\n box-shadow: 0px 0px 24px rgba(0, 0, 0, 0.05);\n border-radius: 8px;\n padding: 20px 16px;\n align-items: center;\n max-width: 400px;\n margin: 32px auto 0px;\n\n & > p {\n font-size: 12px;\n line-height: 20px;\n }\n\n & .icons-links {\n margin-left: 8%;\n flex: 1;\n display: inline-flex;\n justify-content: space-between;\n }\n }\n\n & .icons-links {\n & > a {\n & > img {\n width: 24px;\n object-fit: contain;\n }\n }\n }\n }\n"],["\n position: relative;\n padding: 0 16px;\n\n "," {\n padding: 48px 8px 0;\n }\n\n & .grid {\n display: flex;\n flex-wrap: wrap;\n margin: -8px;\n\n & > * {\n display: inline-block;\n flex: 0 0 25%;\n padding: 8px;\n color: ",";\n text-decoration: none;\n }\n\n "," {\n & > * {\n flex: 0 0 100%;\n text-align: center;\n }\n }\n }\n\n & .social-wrapper {\n margin-left: auto;\n }\n\n & .social {\n "," {\n & .icons-links {\n margin-top: 16px;\n\n & > a:not(:first-child) {\n margin-left: 10%;\n }\n\n & > a {\n text-decoration: none;\n }\n }\n }\n\n "," {\n width: 100%;\n display: flex;\n background: #fff;\n box-shadow: 0px 0px 24px rgba(0, 0, 0, 0.05);\n border-radius: 8px;\n padding: 20px 16px;\n align-items: center;\n max-width: 400px;\n margin: 32px auto 0px;\n\n & > p {\n font-size: 12px;\n line-height: 20px;\n }\n\n & .icons-links {\n margin-left: 8%;\n flex: 1;\n display: inline-flex;\n justify-content: space-between;\n }\n }\n\n & .icons-links {\n & > a {\n & > img {\n width: 24px;\n object-fit: contain;\n }\n }\n }\n }\n"])),R.mbDown,(function(n){return n.theme.colors.gray800}),R.mbDown,R.mbUp,R.mbDown),Vi=T.div(Ei||(Ei=t(["\n position: relative;\n\n "," {\n margin: 80px 0 0;\n overflow: hidden;\n &:before {\n position: absolute;\n top: 0;\n left: 50%;\n display: block;\n width: 150%;\n height: 100%;\n background-color: #f3f3f3;\n border-radius: 2150px 2150px 0 0 / 200px 200px 0 0;\n content: '';\n transform: translateX(-50%);\n }\n }\n\n "," {\n background-color: #f3f3f3;\n }\n"],["\n position: relative;\n\n "," {\n margin: 80px 0 0;\n overflow: hidden;\n &:before {\n position: absolute;\n top: 0;\n left: 50%;\n display: block;\n width: 150%;\n height: 100%;\n background-color: #f3f3f3;\n border-radius: 2150px 2150px 0 0 / 200px 200px 0 0;\n content: '';\n transform: translateX(-50%);\n }\n }\n\n "," {\n background-color: #f3f3f3;\n }\n"])),R.mbUp,R.mbDown),Wi=T.div(wi||(wi=t(["\n position: relative;\n padding: 64px 16px 154px;\n text-align: center;\n\n "," {\n padding: 48px 8px 32px;\n }\n\n & .company-name {\n margin-top: 24px;\n }\n\n .logo {\n justify-content: center;\n }\n\n & .text-info {\n margin-top: 8px;\n > p {\n margin-bottom: 8px;\n }\n "," {\n text-align: left;\n margin-top: 16px;\n }\n }\n\n & .img-container {\n display: flex;\n max-width: 176px;\n height: 24px;\n justify-content: space-between;\n margin: 24px auto 0;\n\n "," {\n height: 32px;\n max-width: unset;\n justify-content: space-around;\n }\n\n img {\n width: unset;\n height: 100%;\n object-fit: contain;\n }\n }\n\n & > hr {\n border-color: ",";\n margin: 64px 0 18px;\n opacity: 0.1;\n }\n\n & .language-and-copyright {\n display: flex;\n justify-content: center;\n\n "," {\n margin-top: 60px;\n }\n\n & #footer-language-select {\n width: 100%;\n max-width: 114px;\n\n &[data-dropdown-open='true'] > div:after {\n transform: translateY(-60%) rotateZ(-180deg);\n }\n\n "," {\n order: 1;\n }\n\n & > div {\n padding: 0;\n\n & > div > svg {\n max-width: 22px;\n margin-right: 8px;\n transform: translateY(1px);\n }\n\n & > span {\n font-size: 12px;\n letter-spacing: -0.2px;\n line-height: 24px;\n }\n }\n\n & > ul[data-has-icons='true'] {\n width: 158px;\n max-width: 158px;\n border: none;\n border-radius: 4px;\n box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.08);\n\n "," {\n margin-top: 0;\n left: unset;\n right: 0;\n top: unset;\n bottom: 32px;\n }\n\n & li {\n font-size: 12px;\n letter-spacing: -0.2px;\n line-height: 24px;\n\n & > div {\n max-width: 22px;\n & svg {\n width: 22px;\n max-width: 22px;\n transform: translateY(3px);\n }\n }\n }\n }\n }\n\n & > p {\n color: ",";\n }\n }\n"],["\n position: relative;\n padding: 64px 16px 154px;\n text-align: center;\n\n "," {\n padding: 48px 8px 32px;\n }\n\n & .company-name {\n margin-top: 24px;\n }\n\n .logo {\n justify-content: center;\n }\n\n & .text-info {\n margin-top: 8px;\n > p {\n margin-bottom: 8px;\n }\n "," {\n text-align: left;\n margin-top: 16px;\n }\n }\n\n & .img-container {\n display: flex;\n max-width: 176px;\n height: 24px;\n justify-content: space-between;\n margin: 24px auto 0;\n\n "," {\n height: 32px;\n max-width: unset;\n justify-content: space-around;\n }\n\n img {\n width: unset;\n height: 100%;\n object-fit: contain;\n }\n }\n\n & > hr {\n border-color: ",";\n margin: 64px 0 18px;\n opacity: 0.1;\n }\n\n & .language-and-copyright {\n display: flex;\n justify-content: center;\n\n "," {\n margin-top: 60px;\n }\n\n & #footer-language-select {\n width: 100%;\n max-width: 114px;\n\n &[data-dropdown-open='true'] > div:after {\n transform: translateY(-60%) rotateZ(-180deg);\n }\n\n "," {\n order: 1;\n }\n\n & > div {\n padding: 0;\n\n & > div > svg {\n max-width: 22px;\n margin-right: 8px;\n transform: translateY(1px);\n }\n\n & > span {\n font-size: 12px;\n letter-spacing: -0.2px;\n line-height: 24px;\n }\n }\n\n & > ul[data-has-icons='true'] {\n width: 158px;\n max-width: 158px;\n border: none;\n border-radius: 4px;\n box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.08);\n\n "," {\n margin-top: 0;\n left: unset;\n right: 0;\n top: unset;\n bottom: 32px;\n }\n\n & li {\n font-size: 12px;\n letter-spacing: -0.2px;\n line-height: 24px;\n\n & > div {\n max-width: 22px;\n & svg {\n width: 22px;\n max-width: 22px;\n transform: translateY(3px);\n }\n }\n }\n }\n }\n\n & > p {\n color: ",";\n }\n }\n"])),R.mbDown,R.mbDown,R.mbDown,(function(n){return n.theme.mbColors.midGray}),R.mbDown,R.mbDown,R.mbDown,(function(n){return n.theme.mbColors.midGray})),Zi=T.div(ki||(ki=t(["\n position: absolute;\n top: 0;\n right: -50%;\n width: 400px;\n height: 400px;\n background-color: #f2fcf7;\n border-radius: 50%;\n"],["\n position: absolute;\n top: 0;\n right: -50%;\n width: 400px;\n height: 400px;\n background-color: #f2fcf7;\n border-radius: 50%;\n"]))),Ki=function(n){var e,t=n.socialLinks,i=void 0===t?yn.SOCIAL_LINKS:t,o=i.facebookLink,a=i.instagramLink,r=i.zaloLink,s=i.youtubeLink,c=n.copyrightText,p=n.logoType,d=void 0===p?"marryBaby":p,m=n.isMobile,h=n.footerMenu,g=void 0===h?[]:h,u=n.type,x=void 0===u?"main":u,f=In();return"main"===x?l.createElement(Fi,{className:"footer-container"},!m&&l.createElement("div",{className:"footer-divider"},l.createElement(P,{type:"marryBaby"},l.createElement(G,{style:{padding:"0 16px"},type:"solid"}))),l.createElement(Gi,null,l.createElement(P,{type:"marryBaby"},l.createElement(Yi,null,l.createElement("div",{className:"grid"},null===(e=m?null==g?void 0:g.slice(0,6):g)||void 0===e?void 0:e.map((function(n,e){var t=n.title,i=n.link;return l.createElement("a",{"data-event-category":"Footer","data-event-action":t,"data-event-label":"".concat(i),className:"link",href:i,key:"footer-links-".concat(e)},l.createElement(ui,{color:B.colors.gray800,type:"subtitle-2"},t))})),l.createElement("div",{className:"social-wrapper"},l.createElement("div",{className:"social"},l.createElement(ui,{type:"subtitle-2"},f("footer.followUsText")),l.createElement("div",{className:"icons-links"},o&&l.createElement("a",{target:"_blank",rel:"noreferrer","data-event-category":"Footer","data-event-action":"Follow us - Facebook","data-content-label":o,href:o},l.createElement("img",{src:z,alt:"Facebook"})),s&&l.createElement("a",{target:"_blank",rel:"noreferrer","data-event-category":"Footer","data-event-action":"Follow us - Youtube","data-event-label":s,href:s},l.createElement("img",{src:U,alt:"Youtube"})),a&&l.createElement("a",{target:"_blank",rel:"noreferrer","data-event-category":"Footer","data-event-action":"Follow us - Instagram","data-content-label":a,href:a},l.createElement("img",{src:F,alt:"Instagram"})),r&&l.createElement("a",{target:"_blank",rel:"noreferrer",href:r,"data-event-category":"Footer","data-event-action":"Follow us - Zalo","data-event-label":r},l.createElement("img",{src:j,alt:"Zalo"}))))))))),l.createElement(Vi,null,l.createElement(P,{type:"marryBaby"},l.createElement(Wi,null,l.createElement(M,{className:"logo",type:d,width:"121px"}),l.createElement(ui,{className:"company-name",type:"subtitle-2"},f("footer.info.companyName")),l.createElement("div",{className:"text-info"},l.createElement(ui,{type:"bodytext-3"},f("footer.info.address")),l.createElement(ui,{type:"bodytext-3"},f("footer.info.license")),l.createElement(ui,{type:"bodytext-3"},f("footer.info.email"))),l.createElement("div",{className:"img-container"},l.createElement("img",{src:"/images/dmca_protected.png",alt:"DMCA protected"}),l.createElement("a",{href:"http://online.gov.vn/Home/WebDetails/25055?AspxAutoDetectCookieSupport=1",target:"_blank",rel:"noreferrer"},l.createElement("img",{src:"/images/mit_registered.png",alt:"MIT registered"}))),!m&&l.createElement(G,{type:"solid"}),l.createElement("div",{className:"language-and-copyright"},l.createElement(ui,{type:"bodytext-3"},c)))))):l.createElement(ji,null,l.createElement(Zi,null),l.createElement(ui,{type:"subtitle-3",style:{marginBottom:24,textTransform:"uppercase",fontWeight:B.sizes.fwSemiBold},color:B.mbColors.midGray},f("footer.followUsText")),l.createElement("div",{className:"icons-links"},o&&l.createElement("a",{target:"_blank",rel:"noreferrer","data-event-category":"Footer","data-event-action":"Follow us - Facebook","data-content-label":o,href:o},l.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l.createElement("path",{d:"M21 5.75V18.25C21 19.765 19.765 21 18.25 21H15.5V14H17.31C17.565 14 17.78 13.81 17.81 13.56L17.995 12.06C18.015 11.92 17.97 11.775 17.875 11.67C17.78 11.56 17.645 11.5 17.5 11.5H15.5V9.75C15.5 9.2 15.95 8.75 16.5 8.75H17.5C17.775 8.75 18 8.525 18 8.25V6.56C18 6.305 17.8 6.09 17.545 6.065C17.515 6.06 16.81 6 15.915 6C13.715 6 12.5 7.31 12.5 9.685V11.5H10.5C10.225 11.5 10 11.725 10 12V13.5C10 13.775 10.225 14 10.5 14H12.5V21H5.75C4.235 21 3 19.765 3 18.25V5.75C3 4.235 4.235 3 5.75 3H18.25C19.765 3 21 4.235 21 5.75Z",fill:"url(#paint0_linear)"}),l.createElement("defs",null,l.createElement("linearGradient",{id:"paint0_linear",x1:"12",y1:"3",x2:"12",y2:"21",gradientUnits:"userSpaceOnUse"},l.createElement("stop",{stopColor:"#4DABF7"}),l.createElement("stop",{offset:"1",stopColor:"#2668DA"}))))),s&&l.createElement("a",{target:"_blank",rel:"noreferrer","data-event-category":"Footer","data-event-action":"Follow us - Youtube","data-event-label":s,href:s},l.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l.createElement("path",{d:"M11.9287 4.25C8.75236 4.25 5.80117 4.47631 4.11719 4.82812C4.1136 4.82907 4.11002 4.83005 4.10645 4.83105C2.83774 5.11535 1.64309 6.02412 1.3916 7.44727L1.39062 7.45312C1.19742 8.60013 1 10.0953 1 12.25C1 14.4006 1.1981 15.8562 1.44238 17.0635C1.70004 18.4446 2.86711 19.3809 4.15527 19.6689C4.16144 19.6707 4.16762 19.6723 4.17383 19.6738C5.93135 20.0201 8.79923 20.25 11.9756 20.25C15.1519 20.25 18.0213 20.0201 19.7793 19.6738C19.7855 19.6723 19.7917 19.6707 19.7979 19.6689C21.0666 19.3847 22.2612 18.4759 22.5127 17.0527C22.5134 17.0492 22.514 17.0456 22.5146 17.042C22.7049 15.8716 22.9514 14.3778 23 12.2197C23.0001 12.2142 23.0001 12.2087 23 12.2031C23 10.0438 22.7529 8.53934 22.5117 7.34766C22.2561 5.96354 21.0877 5.02474 19.7979 4.73633C19.7781 4.73195 19.7583 4.72836 19.7383 4.72559C18.0232 4.48448 15.1056 4.25 11.9287 4.25ZM10.0781 8.50098C10.2633 8.49715 10.4548 8.54095 10.6348 8.64258L14.9365 11.0732C15.662 11.4832 15.662 12.5177 14.9365 12.9277L10.6348 15.3584C9.91527 15.7644 9.01855 15.2502 9.01855 14.4307V9.56934C9.01855 8.95471 9.52252 8.51246 10.0781 8.50098Z",fill:"#EB3223"}))),a&&l.createElement("a",{target:"_blank",rel:"noreferrer","data-event-category":"Footer","data-event-action":"Follow us - Instagram","data-content-label":a,href:a},l.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l.createElement("path",{d:"M8.25 2.5C5.08319 2.5 2.5 5.08319 2.5 8.25V15.75C2.5 18.9164 5.0831 21.5 8.25 21.5H15.75C18.9165 21.5 21.5 18.9165 21.5 15.75V8.25C21.5 5.0831 18.9164 2.5 15.75 2.5H8.25ZM8.25 4H15.75C18.1056 4 20 5.8939 20 8.25V15.75C20 18.1055 18.1055 20 15.75 20H8.25C5.8939 20 4 18.1056 4 15.75V8.25C4 5.89381 5.89381 4 8.25 4ZM17 6C16.4475 6 16 6.4475 16 7C16 7.5525 16.4475 8 17 8C17.5525 8 18 7.5525 18 7C18 6.4475 17.5525 6 17 6ZM12 7C9.24759 7 7 9.24759 7 12C7 14.7524 9.24759 17 12 17C14.7524 17 17 14.7524 17 12C17 9.24759 14.7524 7 12 7ZM12 8.5C13.9416 8.5 15.5 10.0584 15.5 12C15.5 13.9416 13.9416 15.5 12 15.5C10.0584 15.5 8.5 13.9416 8.5 12C8.5 10.0584 10.0584 8.5 12 8.5Z",fill:"url(#paint0_radial)"}),l.createElement("defs",null,l.createElement("radialGradient",{id:"paint0_radial",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(0.499995 26) rotate(-47.9508) scale(34.3402 30.014)"},l.createElement("stop",{offset:"0.073",stopColor:"#EACC7B"}),l.createElement("stop",{offset:"0.184",stopColor:"#ECAA59"}),l.createElement("stop",{offset:"0.307",stopColor:"#EF802E"}),l.createElement("stop",{offset:"0.358",stopColor:"#EF6D3A"}),l.createElement("stop",{offset:"0.46",stopColor:"#F04B50"}),l.createElement("stop",{offset:"0.516",stopColor:"#F03E58"}),l.createElement("stop",{offset:"0.689",stopColor:"#DB359E"}),l.createElement("stop",{offset:"0.724",stopColor:"#CE37A4"}),l.createElement("stop",{offset:"0.789",stopColor:"#AC3CB4"}),l.createElement("stop",{offset:"0.877",stopColor:"#7544CF"}),l.createElement("stop",{offset:"0.98",stopColor:"#2B4FF2"}))))),r&&l.createElement("a",{target:"_blank",rel:"noreferrer",href:r,"data-event-category":"Footer","data-event-action":"Follow us - Zalo","data-event-label":r},l.createElement("div",{style:{height:24,width:24}},l.createElement("img",{src:"/icons/zalo.png",alt:"Zalo"})))))},Xi=function(n){var t,i,o,a,r,s,c,p,d,m,h,g=n.type,u=n.isMobile,x=void 0===u||u,f=n.locale,y=n.footerInfo,v=n.isAmp,b=n.siteType,E=n.ampNextArticle,w=n.routerQuery;return"helloSites"===b?l.createElement(l.Fragment,null,v&&(null!==(i=null===(t=null==w?void 0:w.slug)||void 0===t?void 0:t.length)&&void 0!==i?i:"")>1&&l.createElement("amp-next-page",null,l.createElement("script",{type:"application/json",dangerouslySetInnerHTML:{__html:'\n [\n {\n "image": "'.concat(null===(o=null==E?void 0:E.articleOne)||void 0===o?void 0:o.image,'",\n "title": ').concat(JSON.stringify(null===(a=null==E?void 0:E.articleOne)||void 0===a?void 0:a.title),',\n "url": "').concat(null===(r=null==E?void 0:E.articleOne)||void 0===r?void 0:r.link,'"\n },\n {\n "image": "').concat(null===(s=null==E?void 0:E.articleTwo)||void 0===s?void 0:s.image,'",\n "title": ').concat(JSON.stringify(null===(c=null==E?void 0:E.articleTwo)||void 0===c?void 0:c.title),',\n "url": "').concat(null===(p=null==E?void 0:E.articleTwo)||void 0===p?void 0:p.link,'"\n },\n {\n "image": "').concat(null===(d=null==E?void 0:E.articleThree)||void 0===d?void 0:d.image,'",\n "title": ').concat(JSON.stringify(null===(m=null==E?void 0:E.articleThree)||void 0===m?void 0:m.title),',\n "url": "').concat(null===(h=null==E?void 0:E.articleThree)||void 0===h?void 0:h.link,'"\n }\n ]\n ')}}),l.createElement("div",e({},{separator:""},{className:"amp-page-seperator",style:{color:"#8C8C8C",textTransform:"uppercase",fontSize:11,fontWeight:700,marginLeft:16}}),"Next article:")),l.createElement(di,{isAmp:v,isMobile:x,type:g,locale:f,footerInfo:y||{}})):l.createElement(Ki,{isMobile:x,locale:f,footerMenu:y||[],copyrightText:"© 2022 MarryBaby.vn",socialLinks:n.marryBabySocialLinks,type:g})},Qi=T.div(Ci||(Ci=t(["\n width: 100vw;\n"],["\n width: 100vw;\n"]))),qi=T.div(Ti||(Ti=t(["\n @keyframes menuLeftToRightTrans {\n from {\n margin-left: -300%;\n opacity: 0;\n }\n to {\n margin-left: 0;\n opacity: 1;\n }\n }\n\n @keyframes menuRightToLeftTrans {\n from {\n margin-right: -300%;\n opacity: 0;\n }\n to {\n margin-right: 0;\n opacity: 1;\n }\n }\n\n @keyframes leftAppears {\n from {\n left: -50%;\n opacity: 0;\n }\n to {\n left: 0;\n opacity: 1;\n }\n }\n\n @keyframes leftDisappears {\n from {\n left: 0;\n opacity: 1;\n }\n to {\n left: -50%;\n opacity: 0;\n }\n }\n\n @keyframes rightAppears {\n from {\n right: -50%;\n opacity: 0;\n }\n to {\n right: 0;\n opacity: 1;\n }\n }\n\n @keyframes rightDisappears {\n from {\n right: 0;\n opacity: 1;\n }\n to {\n right: -50%;\n opacity: 0;\n }\n }\n\n @keyframes expandingTopToBottom {\n from {\n margin-top: -100%;\n opacity: 0;\n }\n to {\n margin-top: 0;\n opacity: 1;\n }\n }\n\n @keyframes collapsingBottomToTop {\n from {\n margin-top: 0;\n opacity: 1;\n }\n to {\n margin-top: -100%;\n opacity: 0;\n }\n }\n\n width: 100%;\n\n ","\n\n background-color: ",";\n\n &[data-menu-opened='true'] {\n visibility: hidden;\n }\n"],["\n @keyframes menuLeftToRightTrans {\n from {\n margin-left: -300%;\n opacity: 0;\n }\n to {\n margin-left: 0;\n opacity: 1;\n }\n }\n\n @keyframes menuRightToLeftTrans {\n from {\n margin-right: -300%;\n opacity: 0;\n }\n to {\n margin-right: 0;\n opacity: 1;\n }\n }\n\n @keyframes leftAppears {\n from {\n left: -50%;\n opacity: 0;\n }\n to {\n left: 0;\n opacity: 1;\n }\n }\n\n @keyframes leftDisappears {\n from {\n left: 0;\n opacity: 1;\n }\n to {\n left: -50%;\n opacity: 0;\n }\n }\n\n @keyframes rightAppears {\n from {\n right: -50%;\n opacity: 0;\n }\n to {\n right: 0;\n opacity: 1;\n }\n }\n\n @keyframes rightDisappears {\n from {\n right: 0;\n opacity: 1;\n }\n to {\n right: -50%;\n opacity: 0;\n }\n }\n\n @keyframes expandingTopToBottom {\n from {\n margin-top: -100%;\n opacity: 0;\n }\n to {\n margin-top: 0;\n opacity: 1;\n }\n }\n\n @keyframes collapsingBottomToTop {\n from {\n margin-top: 0;\n opacity: 1;\n }\n to {\n margin-top: -100%;\n opacity: 0;\n }\n }\n\n width: 100%;\n\n ","\n\n background-color: ",";\n\n &[data-menu-opened='true'] {\n visibility: hidden;\n }\n"])),(function(n){return n.hasStickyBottomBar&&"padding-bottom: 80px;"}),(function(n){return n.theme.colors.white})),Ji=T.div(_i||(_i=t(["\n width: 100%;\n padding-bottom: 80px;\n\n background-color: ",";\n\n &[data-is-mobile='false'] {\n margin-top: 69px;\n &[data-sponsored='true'] {\n margin-top: 110px;\n &[data-sitewide='true'] {\n margin-top: 173px;\n }\n }\n &[data-sitewide='true'] {\n margin-top: 133px;\n }\n }\n &[data-is-mobile='true'] {\n &[data-sitewide='true'],\n &[data-sponsored='true'] {\n margin-top: 60px;\n }\n }\n\n &[data-menu-opened='true'] {\n visibility: hidden;\n }\n"],["\n width: 100%;\n padding-bottom: 80px;\n\n background-color: ",";\n\n &[data-is-mobile='false'] {\n margin-top: 69px;\n &[data-sponsored='true'] {\n margin-top: 110px;\n &[data-sitewide='true'] {\n margin-top: 173px;\n }\n }\n &[data-sitewide='true'] {\n margin-top: 133px;\n }\n }\n &[data-is-mobile='true'] {\n &[data-sitewide='true'],\n &[data-sponsored='true'] {\n margin-top: 60px;\n }\n }\n\n &[data-menu-opened='true'] {\n visibility: hidden;\n }\n"])),(function(n){return n.theme.colors.white})),$i=T.div(Li||(Li=t(["\n display: flex;\n align-items: center;\n gap: 8px;\n"],["\n display: flex;\n align-items: center;\n gap: 8px;\n"]))),no=T.a(Si||(Si=t(["\n &[data-is-active='true'] {\n color: unset;\n }\n font-size: 14px;\n font-weight: 700;\n line-height: 22px;\n text-decoration: none;\n"],["\n &[data-is-active='true'] {\n color: unset;\n }\n font-size: 14px;\n font-weight: 700;\n line-height: 22px;\n text-decoration: none;\n"]))),eo=T.div(Ii||(Ii=t(["\n & > div {\n width: 100%;\n margin-bottom: 8px;\n }\n"],["\n & > div {\n width: 100%;\n margin-bottom: 8px;\n }\n"]))),to=T.div(Ai||(Ai=t(["\n & > a:not(:last-child) > div {\n border-bottom: 1px solid\n ",";\n }\n\n &[data-category-list-type='sub'] {\n padding-bottom: 72px;\n }\n\n &[data-is-displayed='false'] {\n display: none;\n }\n"],["\n & > a:not(:last-child) > div {\n border-bottom: 1px solid\n ",";\n }\n\n &[data-category-list-type='sub'] {\n padding-bottom: 72px;\n }\n\n &[data-is-displayed='false'] {\n display: none;\n }\n"])),(function(n){return n.theme.colors.neutral100})),io=T.div(Ni||(Ni=t(["\n display: flex;\n width: 100%;\n height: 64px;\n align-items: center;\n justify-content: flex-start;\n padding: 8px;\n\n //border-bottom: 1px solid ",";\n background-color: ",";\n font-size: ",";\n\n &[data-is-heading-category='true'] {\n border-bottom: none;\n background-color: ",";\n color: ",";\n font-weight: ",";\n }\n > * {\n pointer-events: none;\n }\n"],["\n display: flex;\n width: 100%;\n height: 64px;\n align-items: center;\n justify-content: flex-start;\n padding: 8px;\n\n //border-bottom: 1px solid ",";\n background-color: ",";\n font-size: ",";\n\n &[data-is-heading-category='true'] {\n border-bottom: none;\n background-color: ",";\n color: ",";\n font-weight: ",";\n }\n > * {\n pointer-events: none;\n }\n"])),(function(n){return n.theme.colors.neutral100}),(function(n){return n.theme.colors.white}),(function(n){return n.theme.sizes.fsParagraph4}),(function(n){return n.theme.colors.blue50}),(function(n){return n.theme.colors.gray800}),(function(n){return n.theme.sizes.fwBold})),oo=T.div(Mi||(Mi=t([""],[""]))),ao=T.div(Oi||(Oi=t(["\n padding-right: 16px;\n"],["\n padding-right: 16px;\n"]))),lo=T.div(Pi||(Pi=t(["\n position: fixed;\n z-index: ",";\n top: 69px;\n left: 0;\n width: 100%;\n height: 100%;\n align-items: center;\n background-color: transparent;\n &[data-is-display='false'] {\n display: none;\n }\n"],["\n position: fixed;\n z-index: ",";\n top: 69px;\n left: 0;\n width: 100%;\n height: 100%;\n align-items: center;\n background-color: transparent;\n &[data-is-display='false'] {\n display: none;\n }\n"])),hn),ro=T.div(Ri||(Ri=t(["\n z-index: ",";\n align-items: center;\n\n border: 1px solid ",";\n background-color: ",";\n box-shadow: 0px 24px 32px rgba(0, 0, 0, 0.04),\n 0px 16px 24px rgba(0, 0, 0, 0.04), 0px 4px 8px rgba(0, 0, 0, 0.04),\n 0px 0px 1px rgba(0, 0, 0, 0.04);\n"],["\n z-index: ",";\n align-items: center;\n\n border: 1px solid ",";\n background-color: ",";\n box-shadow: 0px 24px 32px rgba(0, 0, 0, 0.04),\n 0px 16px 24px rgba(0, 0, 0, 0.04), 0px 4px 8px rgba(0, 0, 0, 0.04),\n 0px 0px 1px rgba(0, 0, 0, 0.04);\n"])),gn,(function(n){return n.theme.colors.neutral50}),(function(n){return n.theme.colors.white})),so=T.div(Bi||(Bi=t(["\n position: relative;\n display: flex;\n flex-wrap: wrap;\n align-items: flex-start;\n justify-content: flex-start;\n padding: 48px 0;\n"],["\n position: relative;\n display: flex;\n flex-wrap: wrap;\n align-items: flex-start;\n justify-content: flex-start;\n padding: 48px 0;\n"]))),co=T.div(Di||(Di=t(["\n width: 33%;\n height: 48px;\n padding-right: 16px;\n margin-bottom: 12px;\n\n & > a {\n display: flex;\n align-items: center;\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 22px;\n\n & > :first-child {\n margin-right: 16px;\n }\n }\n\n & > a > p:hover {\n color: ",";\n }\n\n [data-event-category] > * {\n pointer-events: none;\n }\n"],["\n width: 33%;\n height: 48px;\n padding-right: 16px;\n margin-bottom: 12px;\n\n & > a {\n display: flex;\n align-items: center;\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 22px;\n\n & > :first-child {\n margin-right: 16px;\n }\n }\n\n & > a > p:hover {\n color: ",";\n }\n\n [data-event-category] > * {\n pointer-events: none;\n }\n"])),(function(n){return n.theme.colors.gray800}),(function(n){return n.theme.sizes.fsParagraph4}),(function(n){return n.theme.sizes.fwRegular}),(function(n){return n.theme.colors.primaryBase})),po=T.div(Hi||(Hi=t(["\n display: flex;\n align-items: center;\n\n "," {\n padding: 8px;\n }\n\n padding-right: 16px;\n margin-bottom: 12px;\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 24px;\n\n &[data-theme='marryBaby'] {\n color: ",";\n }\n &[data-event-category] * {\n pointer-events: none;\n }\n"],["\n display: flex;\n align-items: center;\n\n "," {\n padding: 8px;\n }\n\n padding-right: 16px;\n margin-bottom: 12px;\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 24px;\n\n &[data-theme='marryBaby'] {\n color: ",";\n }\n &[data-event-category] * {\n pointer-events: none;\n }\n"])),R.mbDown,(function(n){return n.theme.colors.primaryBase}),(function(n){return n.theme.sizes.fsParagraph4}),(function(n){return n.theme.sizes.fwBold}),(function(n){return n.theme.mbColors.pink})),mo=T.div(zi||(zi=t(["\n display: flex;\n align-items: center;\n\n margin-left: 10px;\n"],["\n display: flex;\n align-items: center;\n\n margin-left: 10px;\n"]))),ho=T.div(Ui||(Ui=t(["\n position: absolute;\n top: 16px;\n right: 0;\n display: flex;\n align-items: center;\n cursor: pointer;\n"],["\n position: absolute;\n top: 16px;\n right: 0;\n display: flex;\n align-items: center;\n cursor: pointer;\n"]))),go=function(){return l.createElement(eo,{style:{marginTop:"16px"}},l.createElement("div",null,l.createElement(Y,{height:46})),l.createElement("div",null,l.createElement(Y,{height:46})),l.createElement("div",null,l.createElement(Y,{height:46})))},uo=function(n){var e,t,i,o,a=n.careSpecialties,r=n.onSelectCareSpecialty,s=n.isLoading,c=n.desktopPopupType,p=n.onClosePopup,d=n.basePath,m=n.locale,h=n.isMobile,g=n.siteType,u=n.CARE_URL_FE,x=In();return h?l.createElement(l.Fragment,null,s?l.createElement(to,null,l.createElement(go,null)):l.createElement(to,{"data-category-list-type":"main"},l.createElement(A,{style:{marginTop:16},tag:"h5"},x("menu.care.searchBySpecialties")),a.map((function(n,e){return l.createElement("a",{key:"tool-"+e},l.createElement(io,{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"".concat(u).concat(jn({type:"DOCTOR",specialtySlug:n.slug,locale:m})),onClick:function(){r(n)}},l.createElement(ao,null,l.createElement("img",{alt:"health-tool-icon",src:n.thumbnail||"".concat(d,"/images/avatar.jpg"),style:{width:"32px",height:"32px"}})),l.createElement(oo,null,n.name)))})),l.createElement("a",{style:{textDecoration:"none"},href:"".concat(u,"/").concat(null===(e=D[m])||void 0===e?void 0:e.SPECIALTIES)},l.createElement(po,{key:"all-categories","data-theme":g,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"".concat(u,"/").concat(null===(t=D[m])||void 0===t?void 0:t.SPECIALTIES)},x("home.navigator.menuItem.allSpecialties"),l.createElement(mo,null,"helloSites"===g?l.createElement("img",{src:"".concat(d,"/svg/chevronRightActive.svg"),style:{width:"16px",height:"16px"},alt:x("home.navigator.menuItem.allSpecialties")}):l.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l.createElement("path",{d:"M6.5 12H17.5M17.5 12L12.9118 8M17.5 12L12.9118 16",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"}))))))):l.createElement(lo,{className:"top-menu-care-specialties",onClick:p,"data-is-display":"care"===c},l.createElement(ro,null,l.createElement(P,{style:{padding:"0 16px"},type:g},l.createElement(so,{"data-popup-type":c,onClick:function(n){n.stopPropagation()}},l.createElement(l.Fragment,null,a.map((function(n){return l.createElement(co,{key:"care-specialty-".concat(n.id),onClick:p},l.createElement("a",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"".concat(u).concat(jn({type:"DOCTOR",specialtySlug:n.slug,locale:m})),style:{textDecoration:"none",color:B.colors.gray800},className:"iconMenu no-replace-click",href:"".concat(u).concat(jn({type:"DOCTOR",specialtySlug:n.slug,locale:m}))},l.createElement("div",{style:{display:"flex"}},l.createElement("img",{alt:"care-specialty-icon",src:n.thumbnail||"".concat(d,"/images/avatar.jpg"),style:{width:"32px",height:"32px"}})),l.createElement("p",null,n.name)))})),l.createElement("a",{style:{textDecoration:"none"},href:"".concat(u,"/").concat(null===(i=D[m])||void 0===i?void 0:i.SPECIALTIES)},l.createElement(po,{onClick:p,key:"all-care-specialties","data-theme":g,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"".concat(u,"/").concat(null===(o=D[m])||void 0===o?void 0:o.SPECIALTIES)},x("home.navigator.menuItem.allSpecialties"),l.createElement(mo,null,"helloSites"===g?l.createElement("img",{src:"".concat(d,"/svg/chevronRightActive.svg"),style:{width:"16px",height:"16px"},alt:x("home.navigator.menuItem.allSpecialties")}):l.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l.createElement("path",{d:"M6.5 12H17.5M17.5 12L12.9118 8M17.5 12L12.9118 16",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"})))))),l.createElement(ho,{onClick:p},l.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"})))))))},xo=function(){return l.createElement(et,{style:{marginTop:"16px"}},l.createElement("div",null,l.createElement(Y,{height:46})),l.createElement("div",null,l.createElement(Y,{height:46})),l.createElement("div",null,l.createElement(Y,{height:46})))},fo=T.div(ko||(ko=t(["\n "," {\n margin: 48px 0;\n }\n\n "," {\n padding: 0 16px;\n }\n"],["\n "," {\n margin: 48px 0;\n }\n\n "," {\n padding: 0 16px;\n }\n"])),R.mbDown,R.mbUp),yo=T.div(Co||(Co=t(["\n & > div {\n width: 100%;\n margin-bottom: 8px;\n }\n"],["\n & > div {\n width: 100%;\n margin-bottom: 8px;\n }\n"]))),vo=T.div(To||(To=t(["\n "," {\n & > :not(:last-child) {\n border-bottom: 1px solid\n ",";\n }\n\n & > div > :not(:last-child) {\n border-bottom: 1px solid\n ",";\n }\n }\n\n &[data-category-list-type='sub'] {\n padding-bottom: 72px;\n }\n\n &[data-is-displayed='false'] {\n display: none;\n }\n\n display: flex;\n flex-direction: column;\n"],["\n "," {\n & > :not(:last-child) {\n border-bottom: 1px solid\n ",";\n }\n\n & > div > :not(:last-child) {\n border-bottom: 1px solid\n ",";\n }\n }\n\n &[data-category-list-type='sub'] {\n padding-bottom: 72px;\n }\n\n &[data-is-displayed='false'] {\n display: none;\n }\n\n display: flex;\n flex-direction: column;\n"])),R.mbDown,(function(n){return n.theme.colors.neutral100}),(function(n){return n.theme.colors.neutral100}));T.div(_o||(_o=t(["\n "," {\n & > :not(:last-child) {\n border-bottom: 1px solid\n ",";\n }\n\n & > div > :not(:last-child) {\n border-bottom: 1px solid\n ",";\n }\n }\n"],["\n "," {\n & > :not(:last-child) {\n border-bottom: 1px solid\n ",";\n }\n\n & > div > :not(:last-child) {\n border-bottom: 1px solid\n ",";\n }\n }\n"])),R.mbDown,(function(n){return n.theme.colors.neutral100}),(function(n){return n.theme.colors.neutral100}));var bo=T.div(Lo||(Lo=t(["\n display: flex;\n width: 100%;\n height: 48px;\n align-items: center;\n justify-content: space-between;\n\n background-color: ",";\n font-size: ",";\n font-weight: ",";\n\n &[data-is-heading-category='true'] {\n border-bottom: none;\n background-color: ",";\n color: ",";\n font-weight: ",";\n }\n\n "," {\n padding: 8px;\n }\n &[data-event-category] > * {\n pointer-events: none;\n }\n"],["\n display: flex;\n width: 100%;\n height: 48px;\n align-items: center;\n justify-content: space-between;\n\n background-color: ",";\n font-size: ",";\n font-weight: ",";\n\n &[data-is-heading-category='true'] {\n border-bottom: none;\n background-color: ",";\n color: ",";\n font-weight: ",";\n }\n\n "," {\n padding: 8px;\n }\n &[data-event-category] > * {\n pointer-events: none;\n }\n"])),(function(n){return n.theme.colors.white}),(function(n){return n.theme.sizes.fsParagraph4}),(function(n){return n.theme.sizes.fwRegular}),(function(n){return n.theme.colors.blue50}),(function(n){return n.theme.colors.gray800}),(function(n){return n.theme.sizes.fwBold}),R.mbDown),Eo=T.div(So||(So=t(["\n padding-right: 16px;\n margin-bottom: 12px;\n\n & > a {\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 22px;\n }\n\n & > a:hover {\n color: ",";\n }\n\n .iconMenu {\n display: flex;\n align-items: center;\n\n > .imageContainer {\n display: flex;\n width: 32px;\n min-width: 32px;\n align-items: center;\n margin-right: 16px;\n }\n }\n &[data-event-category] > * {\n pointer-events: none;\n }\n"],["\n padding-right: 16px;\n margin-bottom: 12px;\n\n & > a {\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 22px;\n }\n\n & > a:hover {\n color: ",";\n }\n\n .iconMenu {\n display: flex;\n align-items: center;\n\n > .imageContainer {\n display: flex;\n width: 32px;\n min-width: 32px;\n align-items: center;\n margin-right: 16px;\n }\n }\n &[data-event-category] > * {\n pointer-events: none;\n }\n"])),(function(n){return n.theme.colors.gray800}),(function(n){return n.theme.sizes.fsParagraph4}),(function(n){return n.theme.sizes.fwRegular}),(function(n){return n.theme.colors.primaryBase})),wo=T.div(Io||(Io=t([""],[""])));T.div(Ao||(Ao=t([""],[""])));var ko,Co,To,_o,Lo,So,Io,Ao,No,Mo,Oo=T.div(No||(No=t(["\n display: flex;\n align-items: center;\n\n "," {\n padding: 8px;\n }\n\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 24px;\n\n &[data-theme='marryBaby'] {\n color: ",";\n }\n &[data-event-category] * {\n pointer-events: none;\n }\n"],["\n display: flex;\n align-items: center;\n\n "," {\n padding: 8px;\n }\n\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 24px;\n\n &[data-theme='marryBaby'] {\n color: ",";\n }\n &[data-event-category] * {\n pointer-events: none;\n }\n"])),R.mbDown,(function(n){return n.theme.colors.primaryBase}),(function(n){return n.theme.sizes.fsParagraph4}),(function(n){return n.theme.sizes.fwBold}),(function(n){return n.theme.mbColors.pink})),Po=T.div(Mo||(Mo=t(["\n display: flex;\n align-items: center;\n\n margin-left: 10px;\n"],["\n display: flex;\n align-items: center;\n\n margin-left: 10px;\n"]))),Ro=function(){return l.createElement(yo,{style:{marginTop:"16px"}},l.createElement("div",null,l.createElement(Y,{height:46})),l.createElement("div",null,l.createElement(Y,{height:46})),l.createElement("div",null,l.createElement(Y,{height:46})))},Bo=function(n){var e=n.isDisplayed,t=void 0!==e&&e,i=n.spotlights,o=n.isLoading,a=n.className,r=n.isMobile,s=n.DISCOVER_URL_FE,c=n.basePath,p=n.locale,d=n.siteType,m=In();return t?l.createElement(fo,null,l.createElement(A,{tag:"h3",style:{marginBottom:24}},m("home.navigator.menuItem.spotlights")),o&&t?l.createElement(vo,{className:a},l.createElement(Ro,null)):l.createElement(vo,{"data-is-displayed":t,className:a},i.map((function(n,e){return l.createElement(Eo,{style:{textDecoration:"none"},key:"spotlight-"+e},r?l.createElement("a",{href:n.permalink,style:{textDecoration:"none",color:B.colors.gray800}},l.createElement(bo,{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://".concat(X[p]).concat(n.permalink)},l.createElement(wo,null,n.name))):l.createElement("a",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://".concat(X[p]).concat(n.permalink),style:{textDecoration:"none",pointerEvents:"auto"},href:"".concat(s).concat(n.permalink)},n.name))})),l.createElement("a",{style:{textDecoration:"none"},href:"".concat(s,"/spotlight/")},l.createElement(Oo,{key:"all-spotlights","data-theme":d,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"".concat(s,"/spotlight/")},m("home.navigator.menuItem.allSpotlight"),l.createElement(Po,null,"helloSites"===d?l.createElement("img",{src:"".concat(c,"/svg/chevronRightActive.svg"),style:{width:"16px",height:"16px"},alt:m("home.navigator.menuItem.allSpotlight")}):l.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l.createElement("path",{d:"M6.5 12H17.5M17.5 12L12.9118 8M17.5 12L12.9118 16",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"}))))))):null},Do=function(n){var e=n.locale,t=n.basePath,i=n.isDisplayed,o=void 0!==i&&i,a=n.categories,r=n.spotlightsList,s=n.type,c=n.onSelectCategory,p=n.onClosePopup,d=n.desktopPopupType,m=n.isMobile,h=n.isLoading,g=n.DISCOVER_URL_FE,u=n.siteType,x=void 0===u?"helloSites":u,f=In();return m?l.createElement(l.Fragment,null,h&&o?l.createElement(tt,null,l.createElement(xo,null)):l.createElement(tt,{"data-is-displayed":o,"data-category-list-type":s},l.createElement(A,{tag:"h3",style:{marginBottom:8}},f("home.navigator.menuItem.healthCategories")),l.createElement(it,null,a.map((function(n,i){return l.createElement("div",{key:s+"-category-"+i},l.createElement("a",{style:{textDecoration:"none",color:B.colors.gray800},onClick:function(e){n.childCates&&n.childCates.length>0&&"sub"!==s&&e.preventDefault()},href:g+n.permalink},l.createElement(ot,{onClick:function(){null==c||c(n)},"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://".concat(X[e]).concat(n.permalink),"data-is-heading-category":"sub"===s&&n.childCates&&n.childCates.length>0},l.createElement(at,null,n.displayName),"main"===s&&l.createElement(lt,null,"helloSites"===x?l.createElement("img",{src:"".concat(t,"/svg/chevronRight.svg"),style:{width:"16px",height:"16px"},alt:n.categoryName}):l.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l.createElement("path",{d:"M6.5 12H17.5M17.5 12L12.9118 8M17.5 12L12.9118 16",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"})))),"sub"===s&&n.childCates&&n.childCates.length>0&&n.childCates.map((function(n,e){return l.createElement("a",{style:{textDecoration:"none"},href:n.permalink,key:s+"-2-"+e},l.createElement(ot,{"data-is-heading-category":"sub"===s&&n.childCates&&n.childCates.length>0},l.createElement(N,{size:"p3"},n.displayName)))}))))})),l.createElement("a",{style:{textDecoration:"none"},href:"".concat(g,"/categories/")},l.createElement(rt,{key:"all-categories","data-theme":x,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"".concat(g,"/categories/")},f("home.navigator.menuItem.allCategories"),l.createElement(st,null,"helloSites"===x?l.createElement("img",{src:"".concat(t,"/svg/chevronRightActive.svg"),style:{width:"16px",height:"16px"},alt:f("home.navigator.menuItem.allCategories")}):l.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l.createElement("path",{d:"M6.5 12H17.5M17.5 12L12.9118 8M17.5 12L12.9118 16",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"})))))),l.createElement(Bo,{isDisplayed:"main"===s,spotlights:r,isLoading:!1,isMobile:m,basePath:t,DISCOVER_URL_FE:g,locale:e,siteType:x}))):l.createElement(ct,{className:"top-menu-categories",onClick:p,"data-is-display":"categories"===d},l.createElement(pt,null,l.createElement(P,{style:{padding:"0 16px"},type:x},l.createElement(dt,{"data-popup-type":d,onClick:function(n){n.stopPropagation()}},l.createElement("div",null,l.createElement(A,{tag:"h3",style:{marginBottom:24}},f("home.navigator.menuItem.healthCategories")),l.createElement(mt,{"data-disabled-divider":0===r.length},a.map((function(n,t){return l.createElement(ht,{style:{textDecoration:"none"},key:n.categoryName+t},l.createElement("a",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://".concat(X[e]).concat(n.permalink),style:{textDecoration:"none",pointerEvents:"auto"},onClick:p,href:"".concat(g).concat(n.permalink)},n.displayName),l.createElement(gt,null,n.childCates&&n.childCates.map((function(n,t){return l.createElement("a",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://".concat(X[e]).concat(n.permalink),style:{textDecoration:"none",pointerEvents:"auto"},href:n.permalink,key:t},n.displayName)}))))})),l.createElement("a",{style:{textDecoration:"none"},href:"".concat(g,"/categories/")},l.createElement(rt,{onClick:p,key:"all-categories","data-theme":x,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"".concat(g,"/categories/")},f("home.navigator.menuItem.allCategories"),l.createElement(st,null,"helloSites"===x?l.createElement("img",{src:"".concat(t,"/svg/chevronRightActive.svg"),style:{width:"16px",height:"16px"},alt:f("home.navigator.menuItem.allCategories")}):l.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l.createElement("path",{d:"M6.5 12H17.5M17.5 12L12.9118 8M17.5 12L12.9118 16",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"}))))))),l.createElement(Bo,{isDisplayed:"main"===s,spotlights:r,isLoading:!1,basePath:t,DISCOVER_URL_FE:g,locale:e,siteType:x}),l.createElement(ut,{onClick:p},l.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"})))))))},Ho=T.div(Wo||(Wo=t([""],[""]))),zo=T.div(Zo||(Zo=t(["\n display: flex;\n width: 40px;\n height: 40px;\n align-items: center;\n justify-content: center;\n\n margin-right: 16px;\n border-radius: 50%;\n"],["\n display: flex;\n width: 40px;\n height: 40px;\n align-items: center;\n justify-content: center;\n\n margin-right: 16px;\n border-radius: 50%;\n"]))),Uo=T.div(Ko||(Ko=t(["\n display: flex;\n margin-left: 48px;\n\n > :first-child {\n margin-right: 24px;\n }\n"],["\n display: flex;\n margin-left: 48px;\n\n > :first-child {\n margin-right: 24px;\n }\n"]))),Fo=T.div(Xo||(Xo=t(["\n display: flex;\n width: 100%;\n align-items: center;\n justify-content: space-between;\n padding: 16px 20px;\n //height: 40px;\n\n background-color: ",";\n font-size: ",";\n\n &[data-is-heading-category='true'] {\n border-bottom: none;\n background-color: ",";\n color: ",";\n font-weight: ",";\n }\n\n > svg:first-child {\n margin-right: 24px;\n }\n"],["\n display: flex;\n width: 100%;\n align-items: center;\n justify-content: space-between;\n padding: 16px 20px;\n //height: 40px;\n\n background-color: ",";\n font-size: ",";\n\n &[data-is-heading-category='true'] {\n border-bottom: none;\n background-color: ",";\n color: ",";\n font-weight: ",";\n }\n\n > svg:first-child {\n margin-right: 24px;\n }\n"])),(function(n){return n.theme.colors.white}),(function(n){return n.theme.sizes.fsParagraph4}),(function(n){return n.theme.colors.blue50}),(function(n){return n.theme.colors.gray800}),(function(n){return n.theme.sizes.fwBold})),jo=T.div(Qo||(Qo=t(["\n overflow: hidden;\n > .expanding {\n animation-duration: 0.3s;\n animation-name: expandingTopToBottom;\n }\n\n > .collapsing {\n margin-top: -100%;\n animation-duration: 0.3s;\n animation-name: collapsingBottomToTop;\n }\n"],["\n overflow: hidden;\n > .expanding {\n animation-duration: 0.3s;\n animation-name: expandingTopToBottom;\n }\n\n > .collapsing {\n margin-top: -100%;\n animation-duration: 0.3s;\n animation-name: collapsingBottomToTop;\n }\n"]))),Go=T.div(qo||(qo=t(["\n position: absolute;\n z-index: ",";\n top: 64px;\n\n min-width: 375px;\n align-items: center;\n background-color: transparent;\n &[data-is-display='false'] {\n display: none;\n }\n"],["\n position: absolute;\n z-index: ",";\n top: 64px;\n\n min-width: 375px;\n align-items: center;\n background-color: transparent;\n &[data-is-display='false'] {\n display: none;\n }\n"])),hn),Yo=T.div(Jo||(Jo=t(["\n position: fixed;\n top: 69px;\n left: 0;\n width: 100vw;\n height: 100vh;\n"],["\n position: fixed;\n top: 69px;\n left: 0;\n width: 100vw;\n height: 100vh;\n"]))),Vo=T.div($o||($o=t(["\n z-index: ",";\n\n width: 100%;\n\n max-height: 80vh;\n\n padding: 20px 0;\n\n border: 1px solid ",";\n //align-items: center;\n //display: flex;\n //flex: 1;\n background-color: ",";\n\n border-radius: 16px;\n box-shadow: 0px 24px 32px rgba(0, 0, 0, 0.04),\n 0px 16px 24px rgba(0, 0, 0, 0.04), 0px 4px 8px rgba(0, 0, 0, 0.04),\n 0px 0px 1px rgba(0, 0, 0, 0.04);\n\n overflow-y: auto;\n"],["\n z-index: ",";\n\n width: 100%;\n\n max-height: 80vh;\n\n padding: 20px 0;\n\n border: 1px solid ",";\n //align-items: center;\n //display: flex;\n //flex: 1;\n background-color: ",";\n\n border-radius: 16px;\n box-shadow: 0px 24px 32px rgba(0, 0, 0, 0.04),\n 0px 16px 24px rgba(0, 0, 0, 0.04), 0px 4px 8px rgba(0, 0, 0, 0.04),\n 0px 0px 1px rgba(0, 0, 0, 0.04);\n\n overflow-y: auto;\n"])),gn,(function(n){return n.theme.colors.neutral50}),(function(n){return n.theme.colors.white}));T.div(na||(na=t(["\n position: relative;\n display: flex;\n flex-wrap: wrap;\n align-items: flex-start;\n justify-content: flex-start;\n padding: 24px;\n"],["\n position: relative;\n display: flex;\n flex-wrap: wrap;\n align-items: flex-start;\n justify-content: flex-start;\n padding: 24px;\n"])));var Wo,Zo,Ko,Xo,Qo,qo,Jo,$o,na,ea,ta,ia=T.div(ea||(ea=t(["\n position: relative;\n display: flex;\n flex-direction: column;\n"],["\n position: relative;\n display: flex;\n flex-direction: column;\n"])));T.div(ta||(ta=t(["\n padding-right: 16px;\n margin-bottom: 12px;\n\n & > a {\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 22px;\n }\n\n & > a:hover {\n color: ",";\n }\n\n .iconMenu {\n display: flex;\n align-items: center;\n\n > .imageContainer {\n display: flex;\n width: 32px;\n min-width: 32px;\n align-items: center;\n margin-right: 16px;\n }\n }\n"],["\n padding-right: 16px;\n margin-bottom: 12px;\n\n & > a {\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 22px;\n }\n\n & > a:hover {\n color: ",";\n }\n\n .iconMenu {\n display: flex;\n align-items: center;\n\n > .imageContainer {\n display: flex;\n width: 32px;\n min-width: 32px;\n align-items: center;\n margin-right: 16px;\n }\n }\n"])),(function(n){return n.theme.colors.gray800}),(function(n){return n.theme.sizes.fsParagraph4}),(function(n){return n.theme.sizes.fwRegular}),(function(n){return n.theme.colors.primaryBase}));var oa,aa,la,ra,sa,ca,pa,da,ma,ha,ga,ua,xa,fa=function(n){var e=n.isDisplayed,t=void 0!==e&&e,i=n.categories,o=n.type,a=n.onSelectCategory,s=n.desktopPopupType,c=n.isMobile,p=n.isLoading,d=n.MARRY_BABY_FE,m=r(-1),h=m[0],g=m[1],u=r(!1),x=u[0],f=u[1];return c?l.createElement(l.Fragment,null,p&&t?l.createElement(tt,null,l.createElement(xo,null)):l.createElement(tt,{"data-is-displayed":t,"data-category-list-type":o,style:{marginTop:24}},l.createElement(Ho,{className:"marry-bb-menu-categories"},i.map((function(n,e){return l.createElement("div",{key:o+"-category-"+e,className:"wrapper-menu-category wrapper-menu-category-".concat(e),"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://marrybaby.vn".concat(n.permalink)},l.createElement("a",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://marrybaby.vn".concat(n.permalink),style:{textDecoration:"none",color:B.colors.gray800},onClick:function(n){n.preventDefault()},href:"".concat(d).concat(n.permalink)},l.createElement(Fo,{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://marrybaby.vn".concat(n.permalink),onClick:function(){var t;"main"===o||0===(null===(t=n.childCates)||void 0===t?void 0:t.length)?null==a||a(n):h===e?(f(!0),setTimeout((function(){g(-1),setTimeout((function(){f(!1)}),100)}),300)):g(e)},style:{display:"flex",alignItems:"center",justifyContent:"space-between"}},"main"===o?l.createElement(zo,{style:{backgroundColor:n.imageColor}},l.createElement("img",{src:n.iconUrl,style:{width:"24px",height:"24px"},alt:n.name})):l.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l.createElement("path",{d:"M12 10C10.9 10 10 10.9 10 12C10 13.1 10.9 14 12 14C13.1 14 14 13.1 14 12C14 10.9 13.1 10 12 10Z",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"})),l.createElement(ui,{style:{fontWeight:B.sizes.fwSemiBold},type:"subtitle-2"},n.displayName),l.createElement(xt,null),"main"===o?l.createElement(lt,null,l.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l.createElement("path",{d:"M8.5 6L11 8.5L8.5 11",stroke:"#9495A0",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"}))):l.createElement(lt,null,h!==e?l.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l.createElement("path",{d:"M8.5 6L11 8.5L8.5 11",stroke:"#9495A0",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"})):l.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l.createElement("path",{d:"M11.5 7.5L9 10L6.5 7.5",stroke:"#2661AD",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"}))))),"sub"===o&&n.childCates&&h===e&&n.childCates.length>0&&l.createElement(jo,null,l.createElement("div",{className:x?"collapsing":"expanding"},n.childCates.map((function(e,t){return l.createElement("a",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://marrybaby.vn".concat(n.permalink),style:{textDecoration:"none"},href:"".concat(d).concat(e.permalink),key:o+"-2-"+t},l.createElement(Fo,{"data-is-heading-category":"sub"===o&&e.childCates&&e.childCates.length>0},l.createElement(Uo,null,l.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l.createElement("path",{d:"M12 10C10.9 10 10 10.9 10 12C10 13.1 10.9 14 12 14C13.1 14 14 13.1 14 12C14 10.9 13.1 10 12 10Z",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"})),l.createElement(ui,{type:"subtitle-2"},e.displayName))))})))),l.createElement("div",{style:{display:"none"}},n.childCates&&n.childCates.map((function(n,e){return l.createElement("a",{href:"".concat(d).concat(n.permalink),key:e,style:{textDecoration:"none"}},l.createElement("div",{"data-is-heading-category":"sub"===o&&n.childCates&&n.childCates.length>0},l.createElement("p",null,n.displayName)))}))))}))))):l.createElement(Go,{className:"top-menu-categories","data-is-display":"categories"===s,tabIndex:0},l.createElement(Yo,null),l.createElement(Vo,{"data-popup-type":s},l.createElement(ia,{className:"marry-bb-menu-categories"},p?l.createElement("div",{style:{width:"100%",padding:"0 20px"}},l.createElement(xo,null)):i.map((function(n,e){return l.createElement("div",{className:"wrapper-menu-category wrapper-menu-category-".concat(e),"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://marrybaby.vn".concat(n.permalink),key:o+"-category-"+e,onClick:function(){a(n)}},l.createElement("a",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://marrybaby.vn".concat(n.permalink),style:{textDecoration:"none",color:B.colors.gray800},href:"".concat(d).concat(n.permalink)},l.createElement(Fo,{style:{display:"flex",alignItems:"center",justifyContent:"flex-start"}},l.createElement(zo,{style:{backgroundColor:n.imageColor}},l.createElement("img",{src:n.iconUrl,style:{width:"24px",height:"24px"},alt:n.name})),l.createElement(ui,{style:{fontWeight:B.sizes.fwSemiBold},type:"subtitle-2"},n.displayName))))})))))},ya=function(n){var e=n.isDisplayed,t=void 0!==e&&e,i=n.locale,o=n.discoverApiDomain,a=n.basePath,r=n.categories,s=n.spotlightsList,c=n.type,p=n.onSelectCategory,d=n.onClosePopup,m=n.desktopPopupType,h=n.isMobile,g=n.isLoading,u=n.callApiHandler,x=n.DISCOVER_URL_FE,f=n.MARRY_BABY_FE,y=n.siteType,v=void 0===y?"helloSites":y;return"helloSites"===v?l.createElement(Do,{locale:i,basePath:a,DISCOVER_URL_FE:x,isDisplayed:t,type:c,onSelectCategory:p,categories:r,spotlightsList:s,isLoading:g,isMobile:h,siteType:v,onClosePopup:d,desktopPopupType:m}):l.createElement(fa,{basePath:a,callApiHandler:u,discoverApiDomain:o,isDisplayed:t,type:c,onSelectCategory:p,categories:r,isLoading:g,isMobile:h,MARRY_BABY_FE:f,desktopPopupType:m})},va=T.div(oa||(oa=t(["\n & > div {\n width: 100%;\n margin-bottom: 8px;\n }\n"],["\n & > div {\n width: 100%;\n margin-bottom: 8px;\n }\n"]))),ba=T.div(aa||(aa=t(["\n & > :not(:last-child) {\n border-bottom: 1px solid\n ",";\n }\n\n & > div > :not(:last-child) {\n border-bottom: 1px solid\n ",";\n }\n\n &[data-category-list-type='sub'] {\n padding-bottom: 72px;\n }\n\n &[data-is-displayed='false'] {\n display: none;\n }\n\n //margin-top: 112px;\n"],["\n & > :not(:last-child) {\n border-bottom: 1px solid\n ",";\n }\n\n & > div > :not(:last-child) {\n border-bottom: 1px solid\n ",";\n }\n\n &[data-category-list-type='sub'] {\n padding-bottom: 72px;\n }\n\n &[data-is-displayed='false'] {\n display: none;\n }\n\n //margin-top: 112px;\n"])),(function(n){return n.theme.colors.neutral100}),(function(n){return n.theme.colors.neutral100})),Ea=T.div(la||(la=t(["\n display: flex;\n width: 100%;\n height: 56px;\n align-items: center;\n justify-content: space-between;\n padding: 8px;\n background-color: ",";\n font-size: ",";\n\n &[data-is-heading-category='true'] {\n border-bottom: none;\n background-color: ",";\n color: ",";\n font-weight: ",";\n }\n &[data-event-category] > * {\n pointer-events: none;\n }\n"],["\n display: flex;\n width: 100%;\n height: 56px;\n align-items: center;\n justify-content: space-between;\n padding: 8px;\n background-color: ",";\n font-size: ",";\n\n &[data-is-heading-category='true'] {\n border-bottom: none;\n background-color: ",";\n color: ",";\n font-weight: ",";\n }\n &[data-event-category] > * {\n pointer-events: none;\n }\n"])),(function(n){return n.theme.colors.white}),(function(n){return n.theme.sizes.fsParagraph4}),(function(n){return n.theme.colors.blue50}),(function(n){return n.theme.colors.gray800}),(function(n){return n.theme.sizes.fwBold})),wa=T.div(ra||(ra=t([""],[""]))),ka=T.div(sa||(sa=t([""],[""]))),Ca=T.div(ca||(ca=t(["\n display: flex;\n align-items: center;\n\n > :first-child {\n min-width: 40px;\n margin-right: 16px;\n }\n"],["\n display: flex;\n align-items: center;\n\n > :first-child {\n min-width: 40px;\n margin-right: 16px;\n }\n"]))),Ta=T.div(pa||(pa=t(["\n position: fixed;\n z-index: ",";\n top: 69px;\n left: 0;\n width: 100%;\n height: 100%;\n align-items: center;\n background-color: transparent;\n &[data-is-display='false'] {\n display: none;\n }\n"],["\n position: fixed;\n z-index: ",";\n top: 69px;\n left: 0;\n width: 100%;\n height: 100%;\n align-items: center;\n background-color: transparent;\n &[data-is-display='false'] {\n display: none;\n }\n"])),hn),_a=T.div(da||(da=t(["\n z-index: ",";\n align-items: center;\n\n border: 1px solid ",";\n background-color: ",";\n box-shadow: 0px 24px 32px rgba(0, 0, 0, 0.04),\n 0px 16px 24px rgba(0, 0, 0, 0.04), 0px 4px 8px rgba(0, 0, 0, 0.04),\n 0px 0px 1px rgba(0, 0, 0, 0.04);\n"],["\n z-index: ",";\n align-items: center;\n\n border: 1px solid ",";\n background-color: ",";\n box-shadow: 0px 24px 32px rgba(0, 0, 0, 0.04),\n 0px 16px 24px rgba(0, 0, 0, 0.04), 0px 4px 8px rgba(0, 0, 0, 0.04),\n 0px 0px 1px rgba(0, 0, 0, 0.04);\n"])),gn,(function(n){return n.theme.colors.neutral50}),(function(n){return n.theme.colors.white})),La=T.div(ma||(ma=t(["\n position: relative;\n display: flex;\n flex-wrap: wrap;\n align-items: flex-start;\n justify-content: flex-start;\n padding: 48px 0;\n"],["\n position: relative;\n display: flex;\n flex-wrap: wrap;\n align-items: flex-start;\n justify-content: flex-start;\n padding: 48px 0;\n"]))),Sa=T.div(ha||(ha=t(["\n width: 33%;\n height: 48px;\n padding-right: 16px;\n margin-bottom: 12px;\n\n & > a {\n display: flex;\n align-items: center;\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 22px;\n\n & > :first-child {\n margin-right: 16px;\n }\n }\n\n & > a > p:hover {\n color: ",";\n }\n [data-event-category] > * {\n pointer-events: none;\n }\n"],["\n width: 33%;\n height: 48px;\n padding-right: 16px;\n margin-bottom: 12px;\n\n & > a {\n display: flex;\n align-items: center;\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 22px;\n\n & > :first-child {\n margin-right: 16px;\n }\n }\n\n & > a > p:hover {\n color: ",";\n }\n [data-event-category] > * {\n pointer-events: none;\n }\n"])),(function(n){return n.theme.colors.gray800}),(function(n){return n.theme.sizes.fsParagraph4}),(function(n){return n.theme.sizes.fwRegular}),(function(n){return n.theme.colors.primaryBase})),Ia=T.div(ga||(ga=t(["\n display: flex;\n align-items: center;\n\n padding-right: 16px;\n margin-bottom: 12px;\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 24px;\n\n &[data-theme='marryBaby'] {\n color: ",";\n }\n &[data-event-category] * {\n pointer-events: none;\n }\n"],["\n display: flex;\n align-items: center;\n\n padding-right: 16px;\n margin-bottom: 12px;\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 24px;\n\n &[data-theme='marryBaby'] {\n color: ",";\n }\n &[data-event-category] * {\n pointer-events: none;\n }\n"])),(function(n){return n.theme.colors.primaryBase}),(function(n){return n.theme.sizes.fsParagraph4}),(function(n){return n.theme.sizes.fwBold}),(function(n){return n.theme.mbColors.pink})),Aa=T.div(ua||(ua=t(["\n display: flex;\n align-items: center;\n\n margin-left: 10px;\n"],["\n display: flex;\n align-items: center;\n\n margin-left: 10px;\n"]))),Na=T.div(xa||(xa=t(["\n position: absolute;\n top: 16px;\n right: 0;\n display: flex;\n align-items: center;\n cursor: pointer;\n"],["\n position: absolute;\n top: 16px;\n right: 0;\n display: flex;\n align-items: center;\n cursor: pointer;\n"]))),Ma=function(){return l.createElement(va,{style:{marginTop:"16px"}},l.createElement("div",null,l.createElement(Y,{height:46})),l.createElement("div",null,l.createElement(Y,{height:46})),l.createElement("div",null,l.createElement(Y,{height:46})))},Oa=function(n){var e=n.isDisplayed,t=n.communities,i=n.type,o=n.onSelectCommunity,a=n.onClosePopup,r=n.isLoading,s=n.basePath,c=n.TOGETHER_URL_FE,p=n.siteType,d=void 0===p?"helloSites":p,m=n.isMobile,h=n.locale,g=n.desktopPopupType,u=In();return m?l.createElement(l.Fragment,null,r&&e?l.createElement(ba,null,l.createElement(Ma,null)):l.createElement(ba,{"data-category-list-type":i,"data-is-displayed":e},"main"===i&&t.map((function(n,e){return l.createElement("div",{key:i+"-category-"+e},l.createElement("a",{style:{textDecoration:"none",color:B.colors.gray800},onClick:function(n){n.preventDefault()},href:"".concat(c,"/").concat(n.communitySlug)},l.createElement(Ea,{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://".concat(X[h],"/").concat(n.communitySlug),onClick:function(){o({community:n,isSetToSubMenu:!0})},"data-is-heading-category":!1},l.createElement(Ca,null,l.createElement("img",{src:n.thumbnail,style:{width:"40px",height:"40px"},alt:n.title}),l.createElement(wa,null,n.title)),l.createElement(ka,null,"helloSites"===d?l.createElement("img",{src:"".concat(s,"/svg/chevronRight.svg"),style:{width:"16px",height:"16px"},alt:n.title}):l.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l.createElement("path",{d:"M6.5 12H17.5M17.5 12L12.9118 8M17.5 12L12.9118 16",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"}))))))})),"sub"===i&&t.map((function(n,e){return l.createElement("div",{key:i+"-category-"+e},l.createElement("a",{style:{textDecoration:"none",color:B.colors.gray800},onClick:function(n){n.preventDefault()},href:"".concat(c,"/").concat(n.communitySlug)},l.createElement(Ea,{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://".concat(X[h],"/").concat(n.communitySlug),onClick:function(){o({community:n,isSetToSubMenu:!1})},"data-is-heading-category":!1},l.createElement(Ca,null,l.createElement("img",{src:n.thumbnail,style:{width:"40px",height:"40px"},alt:n.title}),l.createElement(wa,null,n.title)))))})),l.createElement("a",{style:{textDecoration:"none"},href:c+"/"},l.createElement(Ia,{onClick:a,key:"all-communities","data-theme":d,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":c+"/"},u("home.navigator.menuItem.allCommunities"),l.createElement(Aa,null,l.createElement("img",{src:"".concat(s,"/svg/chevronRightActive.svg"),style:{width:"16px",height:"16px"},alt:u("home.navigator.menuItem.allCommunities")})))))):l.createElement(Ta,{className:"top-menu-communities",onClick:a,"data-is-display":"communities"===g},l.createElement(_a,null,l.createElement(P,{style:{padding:"0 16px"},type:d},l.createElement(La,{"data-popup-type":g,onClick:function(n){n.stopPropagation()}},l.createElement(l.Fragment,null,t.map((function(n){return l.createElement(Sa,{key:n.title,onClick:a},l.createElement("a",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://".concat(X[h],"/").concat(n.communitySlug),style:{textDecoration:"none",color:B.colors.gray800},className:"iconMenu",href:"".concat(c,"/").concat(n.communitySlug)},l.createElement("div",{style:{display:"flex"}},l.createElement("img",{alt:"health-tool-icon",src:n.thumbnail||"".concat(s,"/images/avatar.jpg"),style:{width:"32px",height:"32px"}})),l.createElement("p",null,n.title)))})),l.createElement("a",{style:{textDecoration:"none"},href:c+"/"},l.createElement(Ia,{onClick:a,key:"all-communities","data-theme":d,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":c+"/"},u("home.navigator.menuItem.allCommunities"),l.createElement(Aa,null,l.createElement("img",{src:"".concat(s,"/svg/chevronRightActive.svg"),style:{width:"16px",height:"16px"},alt:u("home.navigator.menuItem.allCommunities")}))))),l.createElement(Na,{onClick:a},l.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"})))))))},Pa=T.div(za||(za=t(["\n display: flex;\n width: 48px;\n height: 48px;\n align-items: center;\n justify-content: center;\n\n margin-right: 16px;\n\n //background-color: ",";\n border-radius: 50%;\n"],["\n display: flex;\n width: 48px;\n height: 48px;\n align-items: center;\n justify-content: center;\n\n margin-right: 16px;\n\n //background-color: ",";\n border-radius: 50%;\n"])),(function(n){return n.theme.mbColors.lightGray})),Ra=T.div(Ua||(Ua=t(["\n display: flex;\n width: 100%;\n height: 64px;\n align-items: center;\n justify-content: flex-start;\n padding: 8px 16px;\n background-color: ",";\n font-size: ",";\n"],["\n display: flex;\n width: 100%;\n height: 64px;\n align-items: center;\n justify-content: flex-start;\n padding: 8px 16px;\n background-color: ",";\n font-size: ",";\n"])),(function(n){return n.theme.colors.white}),(function(n){return n.theme.sizes.fsParagraph4})),Ba=T.div(Fa||(Fa=t(["\n position: absolute;\n z-index: ",";\n top: 64px;\n\n min-width: 375px;\n align-items: center;\n background-color: transparent;\n &[data-is-display='false'] {\n display: none;\n }\n"],["\n position: absolute;\n z-index: ",";\n top: 64px;\n\n min-width: 375px;\n align-items: center;\n background-color: transparent;\n &[data-is-display='false'] {\n display: none;\n }\n"])),hn),Da=T.div(ja||(ja=t(["\n position: fixed;\n top: 69px;\n left: 0;\n width: 100vw;\n height: 100vh;\n"],["\n position: fixed;\n top: 69px;\n left: 0;\n width: 100vw;\n height: 100vh;\n"]))),Ha=T.div(Ga||(Ga=t(["\n z-index: ",";\n\n width: 100%;\n\n max-height: 80vh;\n\n padding: 20px 0;\n\n border: 1px solid ",";\n //align-items: center;\n //display: flex;\n //flex: 1;\n background-color: ",";\n\n border-radius: 16px;\n box-shadow: 0px 24px 32px rgba(0, 0, 0, 0.04),\n 0px 16px 24px rgba(0, 0, 0, 0.04), 0px 4px 8px rgba(0, 0, 0, 0.04),\n 0px 0px 1px rgba(0, 0, 0, 0.04);\n\n overflow-y: auto;\n"],["\n z-index: ",";\n\n width: 100%;\n\n max-height: 80vh;\n\n padding: 20px 0;\n\n border: 1px solid ",";\n //align-items: center;\n //display: flex;\n //flex: 1;\n background-color: ",";\n\n border-radius: 16px;\n box-shadow: 0px 24px 32px rgba(0, 0, 0, 0.04),\n 0px 16px 24px rgba(0, 0, 0, 0.04), 0px 4px 8px rgba(0, 0, 0, 0.04),\n 0px 0px 1px rgba(0, 0, 0, 0.04);\n\n overflow-y: auto;\n"])),gn,(function(n){return n.theme.colors.neutral50}),(function(n){return n.theme.colors.white}));T.div(Ya||(Ya=t(["\n position: relative;\n display: flex;\n flex-wrap: wrap;\n align-items: flex-start;\n justify-content: flex-start;\n padding: 24px;\n"],["\n position: relative;\n display: flex;\n flex-wrap: wrap;\n align-items: flex-start;\n justify-content: flex-start;\n padding: 24px;\n"])));var za,Ua,Fa,ja,Ga,Ya,Va,Wa,Za=T.div(Va||(Va=t(["\n position: relative;\n display: flex;\n flex-direction: column;\n"],["\n position: relative;\n display: flex;\n flex-direction: column;\n"])));T.div(Wa||(Wa=t(["\n padding-right: 16px;\n margin-bottom: 12px;\n\n & > a {\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 22px;\n }\n\n & > a:hover {\n color: ",";\n }\n\n .iconMenu {\n display: flex;\n align-items: center;\n\n > .imageContainer {\n display: flex;\n width: 32px;\n min-width: 32px;\n align-items: center;\n margin-right: 16px;\n }\n }\n"],["\n padding-right: 16px;\n margin-bottom: 12px;\n\n & > a {\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 22px;\n }\n\n & > a:hover {\n color: ",";\n }\n\n .iconMenu {\n display: flex;\n align-items: center;\n\n > .imageContainer {\n display: flex;\n width: 32px;\n min-width: 32px;\n align-items: center;\n margin-right: 16px;\n }\n }\n"])),(function(n){return n.theme.colors.gray800}),(function(n){return n.theme.sizes.fsParagraph4}),(function(n){return n.theme.sizes.fwRegular}),(function(n){return n.theme.colors.primaryBase}));var Ka=function(n){var e=n.isDisplayed,t=void 0!==e&&e,i=n.communities,o=n.onSelectCommunity,a=n.isLoading,r=n.basePath,s=n.type,c=n.isMobile,p=n.onClosePopup,d=n.desktopPopupType,m=n.TOGETHER_URL_FE;return c?a&&t?l.createElement(ba,null,l.createElement(Ma,null)):l.createElement(ba,{style:{marginTop:24},"data-category-list-type":s,"data-is-displayed":t},i.map((function(n,e){return l.createElement("a",{className:"wrapper-menu-community wrapper-menu-community-".concat(e," iconMenu"),key:"community-"+e,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://marrybaby.vn/community/".concat(n.communitySlug)},l.createElement(Ra,{onClick:function(){o({community:n,isSetToSubMenu:!1})}},l.createElement(Pa,null,l.createElement("img",{alt:"health-tool-icon",src:n.thumbnail||"".concat(r,"/images/avatar.jpg"),style:{width:"24px",height:"24px"}})),l.createElement(wa,null,n.title)))}))):l.createElement(Ba,{className:"top-menu-communities",onClick:p,"data-is-display":"communities"===d},l.createElement(Da,null),l.createElement(Ha,{"data-popup-type":d,onClick:function(n){n.stopPropagation()}},l.createElement(Za,null,a?l.createElement("div",{style:{width:"100%",padding:"0 20px"}},l.createElement(Ma,null)):i.map((function(n,e){return l.createElement("a",{className:"wrapper-menu-community wrapper-menu-community-".concat(e," iconMenu"),"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://marrybaby.vn/community/".concat(n.communitySlug),style:{textDecoration:"none",color:B.colors.gray800},href:"".concat(m,"/").concat(n.communitySlug),key:n.title},l.createElement(Ra,{onClick:p},l.createElement(Pa,{style:{backgroundColor:n.color||B.mbColors.lightGray}},l.createElement("img",{alt:n.communitySlug,src:n.thumbnail||"".concat(r,"/images/avatar.jpg"),style:{width:"24px",height:"24px"}})),l.createElement(ui,{style:{fontWeight:B.sizes.fwSemiBold},type:"subtitle-2"},n.title)))})))))},Xa=function(n){var e=n.isDisplayed,t=void 0!==e&&e,i=n.locale,o=n.communities,a=n.type,r=n.onSelectCommunity,s=n.onClosePopup,c=n.isLoading,p=n.basePath,d=n.TOGETHER_URL_FE,m=n.siteType,h=void 0===m?"helloSites":m,g=n.isMobile,u=n.desktopPopupType,x=n.togetherApiDomain;return"helloSites"===h?l.createElement(Oa,{isDisplayed:t,locale:i,TOGETHER_URL_FE:d,basePath:p,type:a,onSelectCommunity:r,communities:o,isLoading:c,isMobile:g,siteType:h,togetherApiDomain:x,desktopPopupType:u,onClosePopup:s}):l.createElement(Ka,{isDisplayed:t,locale:i,TOGETHER_URL_FE:d,basePath:p,type:a,onSelectCommunity:r,communities:o,isLoading:c,isMobile:g,togetherApiDomain:x,desktopPopupType:u,onClosePopup:s})},Qa=T.div(sl||(sl=t(["\n & > div {\n width: 100%;\n margin-bottom: 8px;\n }\n"],["\n & > div {\n width: 100%;\n margin-bottom: 8px;\n }\n"]))),qa=T.div(cl||(cl=t(["\n &[data-category-list-type='sub'] {\n padding-bottom: 72px;\n }\n\n &[data-is-displayed='false'] {\n display: none;\n }\n .title {\n margin-bottom: 8px;\n margin-top: 24px;\n }\n"],["\n &[data-category-list-type='sub'] {\n padding-bottom: 72px;\n }\n\n &[data-is-displayed='false'] {\n display: none;\n }\n .title {\n margin-bottom: 8px;\n margin-top: 24px;\n }\n"]))),Ja=T.div(pl||(pl=t(["\n display: flex;\n width: 100%;\n height: 64px;\n align-items: center;\n justify-content: flex-start;\n padding: 8px;\n background-color: ",";\n font-size: ",";\n border-bottom: 1px solid\n ",";\n\n &[data-is-heading-category='true'] {\n /* border-bottom: none; */\n background-color: ",";\n color: ",";\n font-weight: ",";\n }\n > * {\n pointer-events: none;\n }\n"],["\n display: flex;\n width: 100%;\n height: 64px;\n align-items: center;\n justify-content: flex-start;\n padding: 8px;\n background-color: ",";\n font-size: ",";\n border-bottom: 1px solid\n ",";\n\n &[data-is-heading-category='true'] {\n /* border-bottom: none; */\n background-color: ",";\n color: ",";\n font-weight: ",";\n }\n > * {\n pointer-events: none;\n }\n"])),(function(n){return n.theme.colors.white}),(function(n){return n.theme.sizes.fsParagraph4}),(function(n){return n.theme.colors.neutral100}),(function(n){return n.theme.colors.blue50}),(function(n){return n.theme.colors.gray800}),(function(n){return n.theme.sizes.fwBold})),$a=T.div(dl||(dl=t([""],[""]))),nl=T.div(ml||(ml=t(["\n padding-right: 16px;\n"],["\n padding-right: 16px;\n"]))),el=T.div(hl||(hl=t(["\n position: fixed;\n z-index: ",";\n top: 69px;\n left: 0;\n width: 100%;\n height: 100%;\n align-items: center;\n background-color: transparent;\n &[data-is-display='false'] {\n display: none;\n }\n"],["\n position: fixed;\n z-index: ",";\n top: 69px;\n left: 0;\n width: 100%;\n height: 100%;\n align-items: center;\n background-color: transparent;\n &[data-is-display='false'] {\n display: none;\n }\n"])),hn),tl=T.div(gl||(gl=t(["\n z-index: ",";\n align-items: center;\n\n border: 1px solid ",";\n background-color: ",";\n box-shadow: 0px 24px 32px rgba(0, 0, 0, 0.04),\n 0px 16px 24px rgba(0, 0, 0, 0.04), 0px 4px 8px rgba(0, 0, 0, 0.04),\n 0px 0px 1px rgba(0, 0, 0, 0.04);\n"],["\n z-index: ",";\n align-items: center;\n\n border: 1px solid ",";\n background-color: ",";\n box-shadow: 0px 24px 32px rgba(0, 0, 0, 0.04),\n 0px 16px 24px rgba(0, 0, 0, 0.04), 0px 4px 8px rgba(0, 0, 0, 0.04),\n 0px 0px 1px rgba(0, 0, 0, 0.04);\n"])),gn,(function(n){return n.theme.colors.neutral50}),(function(n){return n.theme.colors.white})),il=T.div(ul||(ul=t(["\n position: relative;\n display: flex;\n flex-wrap: wrap;\n align-items: flex-start;\n justify-content: flex-start;\n padding: 48px 0;\n"],["\n position: relative;\n display: flex;\n flex-wrap: wrap;\n align-items: flex-start;\n justify-content: flex-start;\n padding: 48px 0;\n"]))),ol=T.div(xl||(xl=t(["\n width: 33%;\n height: 48px;\n padding-right: 16px;\n margin-bottom: 12px;\n\n &[data-grouped='true'] {\n width: 100%;\n }\n\n & > a {\n display: flex;\n align-items: center;\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 22px;\n\n & > :first-child {\n margin-right: 16px;\n }\n }\n\n & > a > p:hover {\n color: ",";\n }\n [data-event-category] > * {\n pointer-events: none;\n }\n"],["\n width: 33%;\n height: 48px;\n padding-right: 16px;\n margin-bottom: 12px;\n\n &[data-grouped='true'] {\n width: 100%;\n }\n\n & > a {\n display: flex;\n align-items: center;\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 22px;\n\n & > :first-child {\n margin-right: 16px;\n }\n }\n\n & > a > p:hover {\n color: ",";\n }\n [data-event-category] > * {\n pointer-events: none;\n }\n"])),(function(n){return n.theme.colors.gray800}),(function(n){return n.theme.sizes.fsParagraph4}),(function(n){return n.theme.sizes.fwRegular}),(function(n){return n.theme.colors.primaryBase})),al=T.div(fl||(fl=t(["\n display: flex;\n align-items: center;\n\n padding-right: 16px;\n margin-bottom: 12px;\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 24px;\n\n &[data-theme='marryBaby'] {\n color: ",";\n }\n &[data-event-category] * {\n pointer-events: none;\n }\n"],["\n display: flex;\n align-items: center;\n\n padding-right: 16px;\n margin-bottom: 12px;\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 24px;\n\n &[data-theme='marryBaby'] {\n color: ",";\n }\n &[data-event-category] * {\n pointer-events: none;\n }\n"])),(function(n){return n.theme.colors.primaryBase}),(function(n){return n.theme.sizes.fsParagraph4}),(function(n){return n.theme.sizes.fwBold}),(function(n){return n.theme.mbColors.pink})),ll=T.div(yl||(yl=t(["\n display: flex;\n align-items: center;\n\n margin-left: 10px;\n"],["\n display: flex;\n align-items: center;\n\n margin-left: 10px;\n"]))),rl=T.div(vl||(vl=t(["\n position: absolute;\n top: 16px;\n right: 0;\n display: flex;\n align-items: center;\n cursor: pointer;\n"],["\n position: absolute;\n top: 16px;\n right: 0;\n display: flex;\n align-items: center;\n cursor: pointer;\n"])));T.div(bl||(bl=t(["\n &[data-is-displayed='false'] {\n display: none;\n }\n"],["\n &[data-is-displayed='false'] {\n display: none;\n }\n"])));var sl,cl,pl,dl,ml,hl,gl,ul,xl,fl,yl,vl,bl,El,wl,kl=T.div(El||(El=t(["\n margin-bottom: 56px;\n margin-top: 18px;\n"],["\n margin-bottom: 56px;\n margin-top: 18px;\n"]))),Cl=T.div(wl||(wl=t(["\n position: relative;\n display: flex;\n width: 25%;\n flex-direction: column;\n align-items: flex-start;\n justify-content: flex-start;\n margin-bottom: 24px;\n h1 {\n margin-bottom: 20px;\n }\n"],["\n position: relative;\n display: flex;\n width: 25%;\n flex-direction: column;\n align-items: flex-start;\n justify-content: flex-start;\n margin-bottom: 24px;\n h1 {\n margin-bottom: 20px;\n }\n"]))),Tl=function(){return l.createElement(Qa,{style:{marginTop:"16px"}},l.createElement("div",null,l.createElement(Y,{height:46})),l.createElement("div",null,l.createElement(Y,{height:46})),l.createElement("div",null,l.createElement(Y,{height:46})))},_l=function(n){var e=n.healthTools,t=n.onSelectHealthTool,i=n.basePath,o=n.isDesktop,a=n.onClosePopup,r=n.HEALTH_TOOL_URL_FE,s=n.locale,c=n.isGrouped;return(null==e?void 0:e.length)?o?l.createElement(l.Fragment,null,e.map((function(n,e){return l.createElement(ol,{"data-grouped":c,key:n.title,onClick:a},l.createElement("a",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://".concat(X[s]).concat(n.link),style:{textDecoration:"none",color:B.colors.gray800},className:"iconMenu",href:n.link.startsWith("http")?n.link:"".concat(r).concat(n.link)},l.createElement("div",{style:{display:"flex"}},l.createElement("img",{alt:"health-tool-icon",src:n.icon||"/images/avatar.jpg",style:{width:"32px",height:"32px"}})),l.createElement("p",null,n.title)))}))):l.createElement(l.Fragment,null,e.map((function(n,e){return l.createElement("a",{key:"tool-"+e},l.createElement(Ja,{onClick:function(){t(n)},"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://".concat(X[s]).concat(n.link)},l.createElement(nl,null,l.createElement("img",{alt:"health-tool-icon",src:n.icon||"".concat(i,"/images/avatar.jpg"),style:{width:"32px",height:"32px"}})),l.createElement($a,null,n.title)))}))):null},Ll=function(n){var e,t,i,o,a=n.isDisplayed,r=n.healthTools,s=n.healthToolsByCategory,c=n.onSelectHealthTool,p=n.isLoading,d=n.basePath,m=n.locale,h=n.isMobile,g=n.onClosePopup,u=n.desktopPopupType,x=n.HEALTH_TOOL_URL_FE,f=n.STATIC_PAGES,y=n.siteType,v=In();return h?l.createElement(l.Fragment,null,p&&a?l.createElement(qa,null,l.createElement(Tl,null)):l.createElement(qa,{"data-category-list-type":"main","data-is-displayed":a},(null==s?void 0:s.length)?s.map((function(n,e){var t;return!!(null===(t=n.healthTools)||void 0===t?void 0:t.length)&&l.createElement(l.Fragment,{key:"category-health-tool-".concat(e)},l.createElement(A,{tag:"h4",fontWeight:"bold",className:"title"},l.createElement("span",{dangerouslySetInnerHTML:{__html:n.name}})),l.createElement(_l,{healthTools:n.healthTools.slice(0,4),onSelectHealthTool:c,basePath:d,HEALTH_TOOL_URL_FE:x,locale:m}))})):l.createElement(_l,{healthTools:r,onSelectHealthTool:c,basePath:d,HEALTH_TOOL_URL_FE:x,locale:m}),l.createElement(kl,null,l.createElement("a",{href:"".concat(x).concat((null===(e=f[m])||void 0===e?void 0:e.HEALTH_TOOLS)||""),style:{textDecoration:"none"}},l.createElement(al,{key:"all-health-tools-mobile","data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"".concat(x).concat((null===(t=f[m])||void 0===t?void 0:t.HEALTH_TOOLS)||"")},v("home.navigator.menuItem.allHealthTools"),l.createElement(ll,null,l.createElement("img",{src:"".concat(d,"/svg/chevronRightActive.svg"),style:{width:"16px",height:"16px"},alt:v("home.navigator.menuItem.allHealthTools")}))))))):l.createElement(el,{className:"top-menu-health-tools",onClick:g,"data-is-display":"tools"===u},l.createElement(tl,null,l.createElement(P,{style:{padding:"0 16px"}},l.createElement(il,{"data-popup-type":u,onClick:function(n){n.stopPropagation()}},l.createElement(l.Fragment,null,(null==s?void 0:s.length)?s.map((function(n,e){var t;return!!(null===(t=n.healthTools)||void 0===t?void 0:t.length)&&l.createElement(Cl,{key:"health-tools-categories-".concat(e)},l.createElement(A,{tag:"h4",as:"h2",fontWeight:"bold"},l.createElement("span",{dangerouslySetInnerHTML:{__html:n.name}})),l.createElement(_l,{healthTools:n.healthTools.slice(0,4),onSelectHealthTool:c,basePath:d,HEALTH_TOOL_URL_FE:x,locale:m,isDesktop:!0,isGrouped:!0,onClosePopup:g}))})):l.createElement(_l,{healthTools:r,onSelectHealthTool:c,basePath:d,HEALTH_TOOL_URL_FE:x,locale:m,isDesktop:!0,onClosePopup:g}),l.createElement("a",{style:{textDecoration:"none"},href:"".concat(x).concat((null===(i=f[m])||void 0===i?void 0:i.HEALTH_TOOLS)||"")},l.createElement(al,{onClick:g,key:"all-health-tools","data-theme":y,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"".concat(x).concat((null===(o=f[m])||void 0===o?void 0:o.HEALTH_TOOLS)||"")},v("home.navigator.menuItem.allHealthTools"),l.createElement(ll,null,l.createElement("img",{src:"".concat(d,"/svg/chevronRightActive.svg"),style:{width:"16px",height:"16px"},alt:v("home.navigator.menuItem.allHealthTools")}))))),l.createElement(rl,{onClick:g},l.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"})))))))},Sl=T.div(Ol||(Ol=t(["\n display: flex;\n width: 48px;\n height: 48px;\n align-items: center;\n justify-content: center;\n\n margin-right: 16px;\n\n background-color: ",";\n border-radius: 50%;\n"],["\n display: flex;\n width: 48px;\n height: 48px;\n align-items: center;\n justify-content: center;\n\n margin-right: 16px;\n\n background-color: ",";\n border-radius: 50%;\n"])),(function(n){return n.theme.mbColors.lightGray})),Il=T.div(Pl||(Pl=t(["\n display: flex;\n width: 100%;\n height: 64px;\n align-items: center;\n justify-content: flex-start;\n padding: 8px 16px;\n background-color: ",";\n font-size: ",";\n"],["\n display: flex;\n width: 100%;\n height: 64px;\n align-items: center;\n justify-content: flex-start;\n padding: 8px 16px;\n background-color: ",";\n font-size: ",";\n"])),(function(n){return n.theme.colors.white}),(function(n){return n.theme.sizes.fsParagraph4})),Al=T.div(Rl||(Rl=t(["\n position: absolute;\n z-index: ",";\n top: 64px;\n\n min-width: 375px;\n align-items: center;\n background-color: transparent;\n &[data-is-display='false'] {\n display: none;\n }\n"],["\n position: absolute;\n z-index: ",";\n top: 64px;\n\n min-width: 375px;\n align-items: center;\n background-color: transparent;\n &[data-is-display='false'] {\n display: none;\n }\n"])),hn),Nl=T.div(Bl||(Bl=t(["\n position: fixed;\n top: 69px;\n left: 0;\n width: 100vw;\n height: 100vh;\n"],["\n position: fixed;\n top: 69px;\n left: 0;\n width: 100vw;\n height: 100vh;\n"]))),Ml=T.div(Dl||(Dl=t(["\n z-index: ",";\n\n width: 100%;\n\n max-height: 80vh;\n\n padding: 20px 0;\n\n border: 1px solid ",";\n //align-items: center;\n //display: flex;\n //flex: 1;\n background-color: ",";\n\n border-radius: 16px;\n box-shadow: 0px 24px 32px rgba(0, 0, 0, 0.04),\n 0px 16px 24px rgba(0, 0, 0, 0.04), 0px 4px 8px rgba(0, 0, 0, 0.04),\n 0px 0px 1px rgba(0, 0, 0, 0.04);\n\n overflow-y: auto;\n"],["\n z-index: ",";\n\n width: 100%;\n\n max-height: 80vh;\n\n padding: 20px 0;\n\n border: 1px solid ",";\n //align-items: center;\n //display: flex;\n //flex: 1;\n background-color: ",";\n\n border-radius: 16px;\n box-shadow: 0px 24px 32px rgba(0, 0, 0, 0.04),\n 0px 16px 24px rgba(0, 0, 0, 0.04), 0px 4px 8px rgba(0, 0, 0, 0.04),\n 0px 0px 1px rgba(0, 0, 0, 0.04);\n\n overflow-y: auto;\n"])),gn,(function(n){return n.theme.colors.neutral50}),(function(n){return n.theme.colors.white}));T.div(Hl||(Hl=t(["\n position: relative;\n display: flex;\n flex-wrap: wrap;\n align-items: flex-start;\n justify-content: flex-start;\n padding: 24px;\n"],["\n position: relative;\n display: flex;\n flex-wrap: wrap;\n align-items: flex-start;\n justify-content: flex-start;\n padding: 24px;\n"])));var Ol,Pl,Rl,Bl,Dl,Hl,zl,Ul,Fl=T.div(zl||(zl=t(["\n position: relative;\n display: flex;\n flex-direction: column;\n"],["\n position: relative;\n display: flex;\n flex-direction: column;\n"])));T.div(Ul||(Ul=t(["\n padding-right: 16px;\n margin-bottom: 12px;\n\n & > a {\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 22px;\n }\n\n & > a:hover {\n color: ",";\n }\n\n .iconMenu {\n display: flex;\n align-items: center;\n\n > .imageContainer {\n display: flex;\n width: 32px;\n min-width: 32px;\n align-items: center;\n margin-right: 16px;\n }\n }\n"],["\n padding-right: 16px;\n margin-bottom: 12px;\n\n & > a {\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 22px;\n }\n\n & > a:hover {\n color: ",";\n }\n\n .iconMenu {\n display: flex;\n align-items: center;\n\n > .imageContainer {\n display: flex;\n width: 32px;\n min-width: 32px;\n align-items: center;\n margin-right: 16px;\n }\n }\n"])),(function(n){return n.theme.colors.gray800}),(function(n){return n.theme.sizes.fsParagraph4}),(function(n){return n.theme.sizes.fwRegular}),(function(n){return n.theme.colors.primaryBase}));var jl,Gl,Yl,Vl,Wl,Zl,Kl,Xl,Ql,ql,Jl,$l=function(n){var e=n.isDisplayed,t=void 0!==e&&e,i=n.healthTools,o=n.onSelectHealthTool,a=n.isLoading,r=n.basePath,s=n.isMobile,c=n.onClosePopup,p=n.HEALTH_TOOL_URL_FE,d=n.desktopPopupType;return s?a&&t?l.createElement(qa,null,l.createElement(Tl,null)):l.createElement(qa,{style:{marginTop:24},"data-category-list-type":"main","data-is-displayed":t},i.map((function(n,e){return l.createElement("a",{key:"tool-"+e,className:"wrapper-menu-health-tool wrapper-menu-health-tool-".concat(e),"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://https://marrybaby.vn".concat(n.link)},l.createElement(Il,{onClick:function(){o(n)}},l.createElement(Sl,null,l.createElement("img",{alt:"health-tool-icon",src:n.icon||"".concat(r,"/images/avatar.jpg"),style:{width:"24px",height:"24px"}})),l.createElement($a,null,n.title)))}))):l.createElement(Al,{className:"top-menu-health-tools",onClick:c,"data-is-display":"tools"===d},l.createElement(Nl,null),l.createElement(Ml,{"data-popup-type":d,onClick:function(n){n.stopPropagation()}},l.createElement(Fl,null,a?l.createElement("div",{style:{width:"100%",padding:"0 20px"}},l.createElement(Tl,null)):i.map((function(n,e){return l.createElement("a",{className:"wrapper-menu-health-tool wrapper-menu-health-tool-".concat(e," iconMenu"),"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://marrybaby.vn".concat(n.link),style:{textDecoration:"none",color:B.colors.gray800},href:n.link.startsWith("http")?n.link:"".concat(p).concat(n.link),key:n.title,onClick:function(n){n.stopPropagation()}},l.createElement(Il,{onClick:c},l.createElement(Sl,null,l.createElement("img",{alt:n.title,src:n.icon||"/images/avatar.jpg",style:{width:"24px",height:"24px"}})),l.createElement(ui,{style:{fontWeight:B.sizes.fwSemiBold},type:"subtitle-2"},n.title)))})))))},nr=function(n){var e=n.isDisplayed,t=void 0!==e&&e,i=n.healthTools,o=n.healthToolsByCategory,a=n.onSelectHealthTool,r=n.isLoading,s=n.basePath,c=n.locale,p=n.isMobile,d=n.onClosePopup,m=n.desktopPopupType,h=n.HEALTH_TOOL_URL_FE,g=n.siteType,u=n.discoverApiDomain,x=n.STATIC_PAGES;return"helloSites"===g?l.createElement(Ll,{isDisplayed:t,locale:c,basePath:s,discoverApiDomain:u,HEALTH_TOOL_URL_FE:h,onSelectHealthTool:a,healthTools:i,healthToolsByCategory:o,isLoading:r,isMobile:p,siteType:g,desktopPopupType:m,onClosePopup:d,STATIC_PAGES:x}):l.createElement($l,{isDisplayed:t,basePath:s,discoverApiDomain:u,HEALTH_TOOL_URL_FE:h,onSelectHealthTool:a,healthTools:i||o.reduce((function(n,e){return n.concat(e.healthTools)}),[]),isLoading:r,isMobile:p,desktopPopupType:m,onClosePopup:d})},er=T.div(jl||(jl=t(["\n & > div {\n width: 100%;\n min-height: 109px;\n }\n"],["\n & > div {\n width: 100%;\n min-height: 109px;\n }\n"]))),tr=T.div(Gl||(Gl=t(["\n min-height: 116px;\n padding: 8px 8px;\n border: 1px solid ",";\n //border-radius: 6px;\n background-color: ",";\n box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.04), 0px 0px 2px rgba(0, 0, 0, 0.06),\n 0px 0px 1px rgba(0, 0, 0, 0.04);\n text-align: center;\n transition: 0.2s ease-in-out;\n\n &[data-is-active='true'] {\n background-color: ",";\n p {\n color: ",";\n }\n }\n\n & > :last-child {\n margin-top: 8px;\n }\n\n &[data-card-position='left'] {\n border-bottom-left-radius: 6px;\n border-top-left-radius: 6px;\n }\n\n &[data-card-position='right'] {\n border-bottom-right-radius: 6px;\n border-top-right-radius: 6px;\n }\n\n &[data-card-position='whatever'] {\n border-radius: 6px;\n }\n"],["\n min-height: 116px;\n padding: 8px 8px;\n border: 1px solid ",";\n //border-radius: 6px;\n background-color: ",";\n box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.04), 0px 0px 2px rgba(0, 0, 0, 0.06),\n 0px 0px 1px rgba(0, 0, 0, 0.04);\n text-align: center;\n transition: 0.2s ease-in-out;\n\n &[data-is-active='true'] {\n background-color: ",";\n p {\n color: ",";\n }\n }\n\n & > :last-child {\n margin-top: 8px;\n }\n\n &[data-card-position='left'] {\n border-bottom-left-radius: 6px;\n border-top-left-radius: 6px;\n }\n\n &[data-card-position='right'] {\n border-bottom-right-radius: 6px;\n border-top-right-radius: 6px;\n }\n\n &[data-card-position='whatever'] {\n border-radius: 6px;\n }\n"])),(function(n){return n.theme.colors.neutral100}),(function(n){return n.theme.colors.white}),(function(n){return n.theme.colors.primaryBase}),(function(n){return n.theme.colors.white})),ir=function(){return l.createElement(l.Fragment,null,l.createElement(er,null,l.createElement("div",null,l.createElement(Y,{height:109})),l.createElement("div",null,l.createElement(Y,{height:109})),l.createElement("div",null,l.createElement(Y,{height:109})),l.createElement("div",null,l.createElement(Y,{height:109})),l.createElement("div",null,l.createElement(Y,{height:109})),l.createElement("div",null,l.createElement(Y,{height:109}))))},or=function(n){var e=n.specialty,t=n.id,i=n.isActive,o=void 0!==i&&i,a=n.position,r=n.className,s=n.onClick;return e.name&&""!==e.name?l.createElement(tr,{onClick:function(){s&&s(t)},className:r,"data-is-active":o,"data-card-position":a},l.createElement("img",{src:e.thumbnail,style:{objectFit:"contain",height:"55px",width:"55px"},alt:"category-menu-card"}),l.createElement(N,{type:"bold",size:"label2"},e.name)):l.createElement(ir,null)},ar=function(n){var e=n.selectedMenuMainItem,t=n.spotlightsList,i=n.locale,o=n.basePath,a=n.callApiHandler,r=n.discoverApiDomain,s=n.DISCOVER_URL_FE,c=n.MARRY_BABY_FE,p=n.onSelectCategory,d=n.isMobile,m=n.siteType,h=n.onCategoryClick,g=In(),u=e.childCates,x=e.categoryName;return l.createElement(bt,{"data-type":"sub-level","data-with-search-input":!1},l.createElement(wt,null,l.createElement(ya,{isDisplayed:!0,locale:i,basePath:o,callApiHandler:a,discoverApiDomain:r,DISCOVER_URL_FE:s,MARRY_BABY_FE:c,categories:u||[],spotlightsList:t,type:"sub",onSelectCategory:p,isMobile:d,siteType:m,desktopPopupType:"none",isLoading:!1,onClosePopup:void 0}),l.createElement(vt,{"data-site-type":m},l.createElement(I,{onClick:h,className:"category-button",size:"md",theme:m},l.createElement(Tt,null,l.createElement("div",null,g("home.menu.category.view",{category:x})),"helloSites"===m?l.createElement("img",{src:bn,style:{width:"16px",height:"16px"},className:"button-image",alt:g("home.menu.category.view",{category:x})}):l.createElement("svg",{width:"25",height:"24",viewBox:"0 0 25 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l.createElement("path",{d:"M7 12H18M18 12L13.4118 8M18 12L13.4118 16",stroke:"white",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"})))))))},lr=function(n){var t=n.selectedMenuMainItem,i=n.onCommunityClick,s=n.onSelectCommunity,p=n.basePath,d=void 0===p?"":p,m=n.callApiHandler,h=n.togetherApiDomain,g=n.locale,u=n.TOGETHER_URL_FE,x=n.siteType,f=n.isMobile,y=In(),v=r([]),b=v[0],E=v[1],w=r(!1),k=w[0],C=w[1],T=t.communityId,_=t.title;return c((function(){C(!0),o(void 0,void 0,void 0,(function(){var n,t,i,o,l;return a(this,(function(a){switch(a.label){case 0:return[4,m("helloSites"===x?Fn(g,h,{communityId:T}):(r=h,s={communityId:T},(r||"https://together.hellohealthgroup.com/")+"api/v1/"+H(en,e(e({},s),{websiteUrl:"https://marrybaby.vn"}))),"GET")];case 1:return null!==(n=a.sent())&&(null===(l=null===(o=null===(i=null==n?void 0:n.data)||void 0===i?void 0:i.data)||void 0===o?void 0:o.topics)||void 0===l?void 0:l.length)>0&&(t=n.data.data.topics.map(Nn),E(t)),C(!1),[2]}var r,s}))}))}),[t]),l.createElement(bt,{"data-type":"sub-level","data-with-search-input":!1},l.createElement(wt,null,l.createElement(Xa,{isDisplayed:!0,locale:g,communities:b,type:"sub",onSelectCommunity:s,isLoading:k,basePath:d,TOGETHER_URL_FE:u,togetherApiDomain:h,siteType:x,isMobile:f,desktopPopupType:"none",onClosePopup:void 0}),l.createElement(vt,null,l.createElement(I,{onClick:i,className:"category-button",size:"md"},l.createElement(Tt,null,l.createElement("div",null,y("home.menu.category.view",{category:_})),l.createElement("img",{src:bn,style:{width:"16px",height:"16px"},className:"button-image",alt:y("home.menu.category.view",{category:_})}))))))},rr={categories:{icon:l.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.1174 3.67709C12.8717 2.70759 11.1272 2.70787 9.8809 3.67705L14.1174 3.67709ZM14.1174 3.67709L19.717 8.0327C20.5579 8.68619 21.049 9.69161 21.049 10.7561V17.6001C21.049 19.5056 19.5045 21.0501 17.599 21.0501H6.39918C4.49368 21.0501 2.94922 19.5056 2.94922 17.6001V10.7561C2.94922 9.6915 3.44016 8.68619 4.28119 8.0327L9.8809 3.67705M10.679 4.70326L5.07908 9.05903C4.5556 9.46579 4.24922 10.0921 4.24922 10.7561V17.6001C4.24922 18.7876 5.21165 19.7501 6.39918 19.7501H17.599C18.7866 19.7501 19.749 18.7876 19.749 17.6001V10.7561C19.749 10.0921 19.4429 9.46599 18.9194 9.05923L13.3192 4.70322C12.5433 4.09928 11.4561 4.09892 10.679 4.70326Z",fill:"#3E3F58"}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.2363 13.1623C12.5537 12.4791 11.4456 12.4788 10.7619 13.1625C10.0783 13.8461 10.0783 14.9535 10.7619 15.6371C11.4455 16.3207 12.5529 16.3207 13.2365 15.6371C13.9201 14.9535 13.9201 13.8461 13.2365 13.1625L13.2363 13.1623ZM14.1558 12.2433C12.9651 11.0518 11.0338 11.0522 9.84268 12.2433C8.6514 13.4346 8.6514 15.3651 9.84268 16.5563C11.034 17.7476 12.9645 17.7476 14.1558 16.5563C15.347 15.3651 15.347 13.4346 14.1558 12.2433Z",fill:"#3E3F58"})),color:B.mbColors.lightPink},healthTools:{icon:l.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.7899 3.65C17.1559 3.65 16.6802 4.2267 16.6809 4.79725L16.6809 4.798C16.6809 5.41974 17.104 6.05554 17.7236 6.58451C18.0209 6.83831 18.3337 7.04083 18.5977 7.17695C18.7296 7.245 18.8416 7.29248 18.9268 7.32147C18.9708 7.33646 18.9995 7.34373 19.0149 7.34719C19.0302 7.34373 19.0589 7.33646 19.1029 7.32147C19.1881 7.29248 19.3001 7.245 19.4321 7.17695C19.696 7.04083 20.0088 6.83831 20.3061 6.58451C20.9257 6.05554 21.3489 5.41974 21.3489 4.798C21.3489 4.22619 20.8732 3.65 20.2399 3.65C19.8662 3.65 19.6352 3.81824 19.4969 3.97109C19.3738 4.10711 19.199 4.1848 19.0156 4.185C18.8321 4.1852 18.6572 4.10789 18.5338 3.97214C18.3936 3.81789 18.1622 3.65 17.7899 3.65ZM15.3809 4.79838C15.3797 3.63503 16.318 2.35 17.7899 2.35C18.2971 2.35 18.703 2.4988 19.0145 2.69438C19.3261 2.49862 19.7323 2.35 20.2399 2.35C21.7125 2.35 22.6489 3.63581 22.6489 4.798C22.6489 5.98926 21.875 6.95446 21.1501 7.57324C20.7752 7.89331 20.3789 8.15136 20.028 8.33233C19.8525 8.42282 19.6807 8.49802 19.522 8.55207C19.3755 8.60198 19.1942 8.65 19.0149 8.65C18.8355 8.65 18.6543 8.60198 18.5077 8.55207C18.349 8.49802 18.1772 8.42282 18.0018 8.33233C17.6509 8.15136 17.2545 7.89331 16.8796 7.57324C16.1548 6.95452 15.381 5.98947 15.3809 4.79838ZM15.3809 4.79838C15.3809 4.79825 15.3809 4.79813 15.3809 4.798H16.0309L15.3809 4.79875C15.3809 4.79863 15.3809 4.7985 15.3809 4.79838Z",fill:"#3E3F58"}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.91051 8.78301C4.23607 5.03996 7.79796 2.35 12.0002 2.35C12.3662 2.35 12.7248 2.37267 13.077 2.41455C13.4334 2.45693 13.6881 2.78027 13.6457 3.13674C13.6033 3.49322 13.28 3.74784 12.9235 3.70545C12.6196 3.66932 12.3123 3.65 12.0002 3.65C8.36849 3.65 5.28438 5.97404 4.13594 9.21698C4.0161 9.55538 3.64463 9.73255 3.30624 9.61271C2.96785 9.49287 2.79067 9.12141 2.91051 8.78301Z",fill:"#3E3F58"}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.07473 7.35106C9.33041 7.35465 9.56024 7.50781 9.66196 7.74242L12.5334 14.3647L13.6702 11.7415C13.7732 11.5038 14.0075 11.35 14.2666 11.35H15.9996C16.3586 11.35 16.6496 11.641 16.6496 12C16.6496 12.359 16.3586 12.65 15.9996 12.65H14.6933L13.13 16.2575C13.027 16.4951 12.7927 16.649 12.5337 16.649C12.2746 16.649 12.0403 16.4952 11.9373 16.2576L9.0434 9.58369L7.78547 12.2752C7.6786 12.5039 7.44902 12.65 7.19661 12.65H2.99961C2.64062 12.65 2.34961 12.359 2.34961 12C2.34961 11.641 2.64062 11.35 2.99961 11.35H6.78291L8.47675 7.72578C8.58502 7.49413 8.81905 7.34747 9.07473 7.35106Z",fill:"#3E3F58"}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20.8654 10.3543C21.222 10.313 21.5446 10.5686 21.5859 10.9252C21.6264 11.2747 21.6502 11.6328 21.6502 12C21.6502 17.33 17.3302 21.65 12.0002 21.65C7.79796 21.65 4.23607 18.96 2.91051 15.217C2.79067 14.8786 2.96785 14.5071 3.30624 14.3873C3.64463 14.2674 4.0161 14.4446 4.13594 14.783C5.28438 18.026 8.36849 20.35 12.0002 20.35C16.6122 20.35 20.3502 16.612 20.3502 12C20.3502 11.6892 20.3301 11.3813 20.2945 11.0748C20.2532 10.7182 20.5088 10.3956 20.8654 10.3543Z",fill:"#3E3F58"})),color:B.mbColors.lightOrange},together:{icon:l.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.99961 4.65C7.4256 4.65 6.14961 5.92599 6.14961 7.5C6.14961 9.07401 7.4256 10.35 8.99961 10.35C10.5736 10.35 11.8496 9.07401 11.8496 7.5C11.8496 5.92599 10.5736 4.65 8.99961 4.65ZM4.84961 7.5C4.84961 5.20802 6.70763 3.35 8.99961 3.35C11.2916 3.35 13.1496 5.20802 13.1496 7.5C13.1496 9.79198 11.2916 11.65 8.99961 11.65C6.70763 11.65 4.84961 9.79198 4.84961 7.5ZM6.71218 15.0233L6.53409 15.0517C4.87235 15.3169 3.64961 16.7503 3.64961 18.433C3.64961 18.9395 4.06015 19.35 4.56658 19.35H13.4326C13.9391 19.35 14.3496 18.9395 14.3496 18.433C14.3496 16.7503 13.1269 15.3169 11.4651 15.0517L11.287 15.0233C9.77167 14.7814 8.22754 14.7814 6.71218 15.0233ZM6.5073 13.7395C8.15839 13.476 9.84083 13.476 11.4919 13.7395L11.67 13.768C13.9626 14.1338 15.6496 16.1114 15.6496 18.433C15.6496 19.6574 14.657 20.65 13.4326 20.65H4.56658C3.34218 20.65 2.34961 19.6574 2.34961 18.433C2.34961 16.1114 4.03657 14.1338 6.3292 13.768L6.5073 13.7395Z",fill:"#3E3F58"}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.3496 4C14.3496 3.64101 14.6406 3.35 14.9996 3.35C17.2916 3.35 19.1496 5.20802 19.1496 7.5C19.1496 9.79198 17.2916 11.65 14.9996 11.65C14.6406 11.65 14.3496 11.359 14.3496 11C14.3496 10.641 14.6406 10.35 14.9996 10.35C16.5736 10.35 17.8496 9.07401 17.8496 7.5C17.8496 5.92599 16.5736 4.65 14.9996 4.65C14.6406 4.65 14.3496 4.35898 14.3496 4ZM15.5908 14.3814C15.5908 14.0224 15.8818 13.7314 16.2408 13.7314H17.2089C17.3632 13.7314 17.5175 13.7436 17.67 13.768C19.9626 14.1338 21.6496 16.1114 21.6496 18.433C21.6496 19.6574 20.657 20.65 19.4326 20.65H17.3895C17.0305 20.65 16.7395 20.359 16.7395 20C16.7395 19.641 17.0305 19.35 17.3895 19.35H19.4326C19.9391 19.35 20.3496 18.9395 20.3496 18.433C20.3496 16.7503 19.1269 15.3169 17.4651 15.0517C17.3805 15.0382 17.2947 15.0314 17.2089 15.0314H16.2408C15.8818 15.0314 15.5908 14.7404 15.5908 14.3814Z",fill:"#3E3F58"})),color:B.mbColors.lightBlue}},sr=function(n){var t,i,o,a=n.item,r=n.isActive,s=n.isGoingForward,c=n.onServiceClicked;return l.createElement("div",{style:{display:"flex",flex:1,flexDirection:"column",alignItems:"center",justifyContent:"center"}},l.createElement("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",height:56,width:56,marginBottom:8,borderRadius:16},onClick:function(){null==c||c(a.id)}},l.createElement("div",{style:e({display:"flex",alignItems:"center",justifyContent:"center",height:48,width:48,flexShrink:0,backgroundColor:null!==(i=null===(t=rr[a.id])||void 0===t?void 0:t.color)&&void 0!==i?i:"white",borderRadius:16},r?{height:56,width:56,boxShadow:"0px 0px 24px rgba(0, 0, 0, 0.08)",border:"4px solid white"}:{})},null===(o=rr[a.id])||void 0===o?void 0:o.icon)),l.createElement(ui,{type:"subtitle-3",color:r&&B.mbColors.pink,style:{fontWeight:B.sizes.fwSemiBold}},a.name),r&&(s?l.createElement(ti,{style:{animationDuration:"0.2s",animationName:"menuLeftToRightTrans"}}):l.createElement(ti,{style:{animationDuration:"0.2s",animationName:"menuRightToLeftTrans"}})))},cr=function(n){var e=n.menuItems,t=n.activeItem,i=n.onServiceClicked,o=r(0),a=o[0],c=o[1],p=s(!0);return l.createElement("div",{style:{display:"flex",alignItems:"flex-start",justifyContent:"space-evenly"}},e.map((function(n,e){return l.createElement(sr,{onServiceClicked:function(n){p.current=a<e,c(e),null==i||i(n)},key:"item"+e,item:n,isGoingForward:p.current,isActive:t.id===n.id})})))},pr=function(n){var e=n.isMobile,t=void 0!==e&&e,i=n.isMobileMenuOpened,o=void 0===i?void 0:i,a=n.categories,s=n.healthTools,p=n.healthToolsByCategory,d=n.careSpecialties,m=n.togetherCommunities,h=n.spotlightsList,g=n.closePopup,u=n.popupType,x=void 0===u?"none":u,f=n.onMobileMenuClick,y=n.footer,v=n.care.CARE_URL_FE,b=n.discover,E=b.discoverApiDomain,w=b.DISCOVER_URL_FE,k=n.together,C=k.togetherApiDomain,T=k.TOGETHER_URL_FE,_=n.sso.SSO_URL,S=n.statics,I=S.MARRY_BABY_FE,N=S.HOME_PAGE_URL,M=S.STATIC_PAGES,P=S.HEALTH_TOOL_URL_FE,R=n.marryBaby.tone,D=n.locale,H=n.siteType,z=n.basePath,U=n.callApiHandler,F=n.activeMenuService,j=n.menuItems,G=n.routerAsPath,Y=In(),V=r(!1),W=V[0],Z=V[1],K=r(a),X=K[0],q=K[1],J=r(void 0),$=J[0],nn=J[1],en=r(void 0),tn=en[0],on=en[1],an=r(!1),ln=an[0],rn=an[1],sn=r(null==j?void 0:j.find((function(n){return n.id===F}))),cn=sn[0],pn=sn[1],dn=r(!1),mn=dn[0],hn=dn[1],gn=r(!1),un=gn[0],xn=gn[1],fn=function(){$&&(window.location.href=$.permalink),kn(),g&&g()},yn=function(){$&&(window.location.href="".concat(T,"/").concat($.communitySlug)),kn(),g&&g()},vn=function(n){n.childCates&&n.childCates.length>0?(Z(!0),nn(n)):(window.location.href="helloSites"===H?w+n.permalink:I+n.permalink,kn(),g&&g())},bn=function(n){var e=n.community;n.isSetToSubMenu?(Z(!0),nn(e)):(window.location.href="".concat(T,"/").concat(e.communitySlug),kn(),g&&g())},En=function(n){window.location.href=n.link.startsWith("http")?n.link:P+n.link,kn(),g&&g()},wn=function(n){window.location.href=v+jn({type:"DOCTOR",specialtySlug:n.slug,locale:D}),null==g||g()},kn=function(){nn(void 0),Z(!1)},Cn=function(n){pn(j.find((function(e){return e.id===n})))},Tn=Q[D||"en-PH"]||{};return c((function(){var n;on("categories"===cn.id?(null===(n=null==$?void 0:$.childCates)||void 0===n?void 0:n.length)>0&&l.createElement(ar,{selectedMenuMainItem:$,spotlightsList:[],locale:D,basePath:z,callApiHandler:U,discoverApiDomain:E,DISCOVER_URL_FE:w,MARRY_BABY_FE:I,onSelectCategory:vn,isMobile:t,siteType:H,onCategoryClick:fn}):"together"===cn.id&&$&&l.createElement(lr,{selectedMenuMainItem:$,onCommunityClick:yn,onSelectCommunity:bn,TOGETHER_URL_FE:T,basePath:z,callApiHandler:U,locale:D,togetherApiDomain:C,siteType:H,isMobile:t}))}),[$,cn]),c((function(){hn(!0)}),[]),c((function(){!un&&o&&xn(!0)}),[o]),c((function(){q(a)}),[a]),t?l.createElement(l.Fragment,null,l.createElement(ft,{id:mn?"":"categories-menu","data-opened":o||(un?o:"undefined"),key:mn?"t":"f"},l.createElement(yt,{"data-opened":o,"data-type":"category","data-is-sub-category-opened":W},l.createElement(Ne,{siteType:H,locale:D,isDisplayed:!0,searchPlaceholder:"",statics:{DISCOVER_URL_FE:w,SSO_URL:_,HOME_PAGE_URL:N,MARRY_BABY_FE:I,CARE_URL_FE:v},isMobile:t,isLoginButtonDisplayed:!1,type:"popup",onMenuClick:function(){return null==f?void 0:f("categories")},onSearchChange:function(n){rn(""!==n),q(n&&""!==n?a.filter((function(e){return e.categoryName.toLowerCase().search(n.toLowerCase())>-1||e.slug.replace("-","").toLowerCase().search(n.replace(" ","").toLowerCase())>-1})):a)},isSearchBarDisplay:!1,basePath:z,isAmp:!1,isInit:!1,isStatic:!1,routerAsPath:G,title:"",onTopBarAppears:void 0,currentPopupType:"none",marryBaby:{tone:R},menu:void 0,menuItems:void 0,onSearchKeyPress:void 0,openPopup:void 0,profileMenu:void 0,userInfo:void 0}),l.createElement(bt,null,l.createElement(wt,null,l.createElement(kt,null,l.createElement(Ct,{"data-hide-on-search":ln,"data-is-sub-category-opened":W},"helloSites"===H?l.createElement(l.Fragment,null,l.createElement(ii,{onClick:function(){window.location.href="".concat(L(D),"/search")}},l.createElement(O,{className:"fake-search-input",name:"search-input-menu-service"+(mn?"":"-temp"),size:"md",placeholder:Y("home.search",{site:Tn?Tn.SITE_NAME:""}),onChange:function(){},type:"search",autoFocus:!1,onFocus:function(n){n.preventDefault()},value:"",displayIcon:l.createElement("a",{"data-event-category":"Search Button","data-event-action":"Click"},l.createElement(oi,null))})),l.createElement(A,{tag:"h5",color:B.colors.gray800},Y("menu.categories.title")),l.createElement(Et,{"data-card-array-no-margin-style":!0},j.map((function(n,e){return l.createElement(or,{onClick:Cn,key:"service-"+e,specialty:n,id:n.id,isActive:n.id===cn.id,isMobile:t,position:0===e?"left":e===j.length-1?"right":"center"})})))):l.createElement(cr,{menuItems:j,activeItem:cn,onServiceClicked:Cn})),l.createElement(ya,{isDisplayed:"categories"===cn.id,locale:D,basePath:z,callApiHandler:U,onClosePopup:g,discoverApiDomain:E,DISCOVER_URL_FE:w,MARRY_BABY_FE:I,type:"main",onSelectCategory:vn,categories:X,spotlightsList:h,isLoading:!1,isMobile:t,siteType:H,desktopPopupType:x}),l.createElement(nr,{isDisplayed:"healthTools"===cn.id,locale:D,basePath:z,discoverApiDomain:E,HEALTH_TOOL_URL_FE:P,onSelectHealthTool:En,onClosePopup:g,desktopPopupType:x,healthTools:s,healthToolsByCategory:p,isLoading:!1,isMobile:t,siteType:H,STATIC_PAGES:M}),"care"===cn.id&&l.createElement(uo,{locale:D,basePath:z,onSelectCareSpecialty:wn,onClosePopup:g,careSpecialties:d,isLoading:!1,siteType:H,isMobile:t,desktopPopupType:x,CARE_URL_FE:v}),l.createElement(Xa,{isDisplayed:"together"===cn.id,locale:D,TOGETHER_URL_FE:T,basePath:z,type:"main",onSelectCommunity:bn,onClosePopup:g,communities:m,isLoading:!1,isMobile:t,siteType:H,togetherApiDomain:C,desktopPopupType:x})),y)))),W&&l.createElement(ft,{"data-sub-level-opened":W||(un?W:"undefined")},l.createElement(yt,{"data-type":"sub-category","data-is-sub-category-opened":W},l.createElement(Ne,{siteType:H,locale:D,isDisplayed:o&&W,searchPlaceholder:"",menuItems:void 0,statics:{DISCOVER_URL_FE:w,SSO_URL:_,HOME_PAGE_URL:N,MARRY_BABY_FE:I,CARE_URL_FE:v},isMobile:t,isLoginButtonDisplayed:!1,type:"popup-sub-level",title:"categories"===cn.id?null==$?void 0:$.categoryName:null==$?void 0:$.title,isSearchBarDisplay:!1,basePath:z,isAmp:!1,isInit:!1,isStatic:!1,routerAsPath:G,currentPopupType:"none",marryBaby:{tone:R},menu:void 0,openPopup:void 0,profileMenu:void 0,userInfo:void 0,onSearchKeyPress:void 0,onTopBarAppears:void 0,onMenuClick:kn,onSearchChange:void 0}),tn))):l.createElement(l.Fragment,null,l.createElement(ya,{isDisplayed:"categories"===x,locale:D,basePath:z,callApiHandler:U,discoverApiDomain:E,DISCOVER_URL_FE:w,MARRY_BABY_FE:I,type:"main",desktopPopupType:x,onSelectCategory:vn,onClosePopup:g,categories:X,spotlightsList:h,isLoading:!1,isMobile:t,siteType:H}),l.createElement(nr,{isDisplayed:"tools"===x,locale:D,basePath:z,discoverApiDomain:E,HEALTH_TOOL_URL_FE:P,desktopPopupType:x,onSelectHealthTool:En,onClosePopup:g,healthToolsByCategory:p,healthTools:s,isLoading:!1,isMobile:t,siteType:H,STATIC_PAGES:M}),l.createElement(Xa,{isDisplayed:"communities"===x,locale:D,TOGETHER_URL_FE:T,basePath:z,type:"main",onSelectCommunity:bn,communities:m,isLoading:!1,isMobile:t,siteType:H,togetherApiDomain:C,desktopPopupType:x,onClosePopup:g}),"care"===x&&l.createElement(uo,{locale:D,basePath:z,onSelectCareSpecialty:wn,careSpecialties:d,isLoading:!1,desktopPopupType:x,siteType:H,isMobile:t,CARE_URL_FE:v,onClosePopup:g}))},dr=T.div(Yl||(Yl=t(["\n background-color: white;\n text-align: center;\n .cancle-img {\n margin-top: 24px;\n "," {\n width: 80px;\n height: 80px;\n }\n\n "," {\n width: 100px;\n height: 100px;\n }\n }\n\n h2 {\n margin-top: 32px;\n color: ",";\n font-style: normal;\n font-weight: bold;\n "," {\n font-size: 24px;\n line-height: 32px;\n }\n\n "," {\n font-size: 32px;\n line-height: 42px;\n }\n }\n\n p {\n margin-top: 8px;\n color: ",";\n font-style: normal;\n font-weight: normal;\n "," {\n font-size: 16px;\n line-height: 24px;\n }\n\n "," {\n font-size: 16px;\n line-height: 24px;\n }\n }\n"],["\n background-color: white;\n text-align: center;\n .cancle-img {\n margin-top: 24px;\n "," {\n width: 80px;\n height: 80px;\n }\n\n "," {\n width: 100px;\n height: 100px;\n }\n }\n\n h2 {\n margin-top: 32px;\n color: ",";\n font-style: normal;\n font-weight: bold;\n "," {\n font-size: 24px;\n line-height: 32px;\n }\n\n "," {\n font-size: 32px;\n line-height: 42px;\n }\n }\n\n p {\n margin-top: 8px;\n color: ",";\n font-style: normal;\n font-weight: normal;\n "," {\n font-size: 16px;\n line-height: 24px;\n }\n\n "," {\n font-size: 16px;\n line-height: 24px;\n }\n }\n"])),R.mbDown,R.mbUp,(function(n){return n.theme.colors.gray800}),R.mbDown,R.mbUp,(function(n){return n.theme.colors.gray600}),R.mbDown,R.mbUp),mr=T.div(Vl||(Vl=t(["\n display: flex;\n\n "," {\n margin-top: 24px;\n }\n\n "," {\n margin-top: 32px;\n }\n justify-content: space-around;\n button {\n flex: 1;\n margin: 4px;\n }\n\n ","\n"],["\n display: flex;\n\n "," {\n margin-top: 24px;\n }\n\n "," {\n margin-top: 32px;\n }\n justify-content: space-around;\n button {\n flex: 1;\n margin: 4px;\n }\n\n ","\n"])),R.mbDown,R.mbUp,(function(n){return"marryBaby"===n.siteType?"\n .cancel-button {\n background-color: #E55C8A;\n }\n .cancel-button:hover {\n background-color: #E55C8A !important;\n }\n .logout-button {\n border-color: #E55C8A;\n color: #E55C8A;\n }\n ":""})),hr=function(n){var e=n.callPostLogOutApi,t=n.openLogoutPopup,i=n.onCloseHandler,r=n.onLogoutHandler,s=n.basePath,p=n.siteType,d=void 0===p?"helloSites":p,m=In();c((function(){document.body.classList.toggle("noscroll",t)}),[t]);return l.createElement(S,{type:"confirm",isOpen:t,closeIcon:l.createElement("img",{src:En,style:{width:24,height:24},alt:"close-icon"}),onClose:i},l.createElement(dr,null,"helloSites"===d&&l.createElement("img",{className:"cancle-img",src:"".concat(s,"/images/arrowDoor.svg"),alt:"close-account"}),l.createElement("h2",null,m("helloSites"===d?"logout.popup.ask1":"logout.popup.ask.mb")),l.createElement("p",null,m("logout.popup.ask2")),l.createElement(mr,{siteType:d},l.createElement(I,{className:"logout-button",color:"tertiary",size:"lg",onClick:function(){o(void 0,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,null==e?void 0:e()];case 1:return n.sent(),null==r||r(),window.location.reload(),[2]}}))}))}},m("logout.popup.button.logout")),l.createElement(I,{className:"cancel-button",color:"primary",size:"lg",onClick:i},m("logout.popup.button.cancel")))))},gr=T.div(Wl||(Wl=t(["\n position: absolute;\n right: 0;\n background-color: ",";\n\n &[data-animation='true'] {\n transition: all 0.5s ease-in-out;\n }\n\n &[data-open='true'] {\n z-index: 200;\n top: 120%;\n opacity: 1;\n visibility: visible;\n }\n\n &[data-open='false'] {\n display: none;\n }\n\n &[data-type='lead'] {\n width: 332px;\n height: 460px;\n\n div {\n top: -15px;\n right: -15px;\n }\n }\n\n &[data-type='welcome'] {\n position: fixed;\n "," {\n width: 100%;\n height: 424px;\n bottom: 0;\n top: unset;\n }\n "," {\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n width: 100%;\n min-height: 445px;\n max-width: 407px;\n }\n }\n\n &[data-type='due-date'] {\n position: fixed;\n "," {\n width: 100%;\n height: 100%;\n overflow-y: scroll;\n bottom: 0;\n top: unset;\n }\n "," {\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n width: 100vw;\n height: 55vw;\n max-height: 598px;\n max-width: 1080px;\n }\n }\n\n .popup-content {\n z-index: 111;\n height: 100%;\n }\n\n &[data-type='form'] {\n width: 496px;\n height: 548px;\n }\n\n &[data-type='confirm'] {\n width: 380px;\n height: 252px;\n }\n\n &[data-type='profile'] {\n /* min-height: 415px; */\n "," {\n border-radius: 6px;\n box-shadow: 0px 4px 8px\n ",";\n &:before {\n position: absolute;\n right: 11px;\n bottom: 100%;\n width: 0;\n height: 0;\n border: 0.5rem solid transparent;\n border-top: none;\n border-bottom-color: #fff;\n content: '';\n filter: drop-shadow(0 -0.0625rem 0.0625rem rgba(0, 0, 0, 0.1));\n }\n }\n "," {\n position: fixed;\n left: 0;\n top: 64px;\n width: 100%;\n }\n "," {\n width: 368px;\n }\n }\n\n .close-button {\n position: absolute;\n top: 0;\n right: 0;\n width: 32px;\n height: 32px;\n cursor: pointer;\n\n img {\n width: 100%;\n height: 100%;\n border-radius: 50%;\n }\n }\n"],["\n position: absolute;\n right: 0;\n background-color: ",";\n\n &[data-animation='true'] {\n transition: all 0.5s ease-in-out;\n }\n\n &[data-open='true'] {\n z-index: 200;\n top: 120%;\n opacity: 1;\n visibility: visible;\n }\n\n &[data-open='false'] {\n display: none;\n }\n\n &[data-type='lead'] {\n width: 332px;\n height: 460px;\n\n div {\n top: -15px;\n right: -15px;\n }\n }\n\n &[data-type='welcome'] {\n position: fixed;\n "," {\n width: 100%;\n height: 424px;\n bottom: 0;\n top: unset;\n }\n "," {\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n width: 100%;\n min-height: 445px;\n max-width: 407px;\n }\n }\n\n &[data-type='due-date'] {\n position: fixed;\n "," {\n width: 100%;\n height: 100%;\n overflow-y: scroll;\n bottom: 0;\n top: unset;\n }\n "," {\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n width: 100vw;\n height: 55vw;\n max-height: 598px;\n max-width: 1080px;\n }\n }\n\n .popup-content {\n z-index: 111;\n height: 100%;\n }\n\n &[data-type='form'] {\n width: 496px;\n height: 548px;\n }\n\n &[data-type='confirm'] {\n width: 380px;\n height: 252px;\n }\n\n &[data-type='profile'] {\n /* min-height: 415px; */\n "," {\n border-radius: 6px;\n box-shadow: 0px 4px 8px\n ",";\n &:before {\n position: absolute;\n right: 11px;\n bottom: 100%;\n width: 0;\n height: 0;\n border: 0.5rem solid transparent;\n border-top: none;\n border-bottom-color: #fff;\n content: '';\n filter: drop-shadow(0 -0.0625rem 0.0625rem rgba(0, 0, 0, 0.1));\n }\n }\n "," {\n position: fixed;\n left: 0;\n top: 64px;\n width: 100%;\n }\n "," {\n width: 368px;\n }\n }\n\n .close-button {\n position: absolute;\n top: 0;\n right: 0;\n width: 32px;\n height: 32px;\n cursor: pointer;\n\n img {\n width: 100%;\n height: 100%;\n border-radius: 50%;\n }\n }\n"])),(function(n){return n.theme.colors.white}),R.mbDown,R.mbUp,R.mbDown,R.mbUp,R.mbUp,(function(n){return n.theme.colors.gray200}),R.mbDown,R.mbUp),ur=T.div(Zl||(Zl=t(["\n position: fixed;\n z-index: 150;\n top: 69px;\n left: 0;\n width: 100%;\n height: 100%;\n align-items: center;\n\n "," {\n background-color: transparent;\n &[data-type='welcome'] {\n background: rgba(38, 38, 38, 0.3);\n }\n &[data-type='due-date'] {\n background: rgba(38, 38, 38, 0.3);\n }\n }\n\n "," {\n background: rgba(38, 38, 38, 0.3);\n }\n\n &[data-type='welcome'] {\n top: 0;\n }\n\n &[data-open='false'] {\n display: none;\n }\n"],["\n position: fixed;\n z-index: 150;\n top: 69px;\n left: 0;\n width: 100%;\n height: 100%;\n align-items: center;\n\n "," {\n background-color: transparent;\n &[data-type='welcome'] {\n background: rgba(38, 38, 38, 0.3);\n }\n &[data-type='due-date'] {\n background: rgba(38, 38, 38, 0.3);\n }\n }\n\n "," {\n background: rgba(38, 38, 38, 0.3);\n }\n\n &[data-type='welcome'] {\n top: 0;\n }\n\n &[data-open='false'] {\n display: none;\n }\n"])),R.mbUp,R.mbDown),xr=function(n){var e=n.type,t=void 0===e?"lead":e,i=n.closeIcon,o=n.isOpen,a=void 0===o||o,r=n.onClose,s=n.children,c=n.enableAnimation,p=void 0===c||c,d=n.targetAvatar,m=n.id,h=n.className;return l.createElement(l.Fragment,null,l.createElement(gr,{"data-open":a,"data-type":t,"data-animation":p,"data-target":d,id:m,className:h},l.createElement("div",{className:"popup-content"},!!i&&l.createElement("div",{className:"close-button",onClick:r},i),s)),l.createElement(ur,{"data-type":t,"data-open":a,onClick:r,id:m?"wrapper-".concat(m):void 0,className:"".concat(h||"","-wrapper")}))},fr=function(n){var e=n.SSO_URL,t=n.UP_BASEPATH,i=n.isOpen,o=n.locale,a=n.targetAvatar,r=n.userInfo,s=n.ENABLE_CARE_PROFILE_MENU_LOCALES,c=n.ENABLE_COMMUNITY_PROFILE_MENU_LOCALES,p=n.closePopup,d=n.siteType,m=void 0===d?"helloSites":d,h=n.dispatchLogout,g=n.userProfileRouterPush,u=n.isUserProfileNavigatorMenuHidden,x=n.isMyHealthEnabled,f=void 0!==x&&x,y=n.togetherApiDomain,v=function(n){g?g("/".concat(n)):e&&(window.location.href="".concat(e).concat(t,"/").concat(n))},b=function(n){v(n),p()};return l.createElement(xr,{isOpen:i,type:"profile",enableAnimation:!1,targetAvatar:a,onClose:p},l.createElement(V,{locale:o},l.createElement(E,{SSO_URL:e,UP_BASEPATH:t,themeName:m,userInfo:r,ENABLE_COMMUNITY_PROFILE_MENU_LOCALES:c,ENABLE_CARE_PROFILE_MENU_LOCALES:s,onClickLogout:function(){h&&(h(),p())},onClickMenuItem:b,onClickNavigationCard:b,onClickMyProfileButton:function(){v("profile"),p()},userProfileRouterPush:g,isUserProfileNavigatorMenuHidden:u,isMyHealthEnabled:f,togetherApiDomain:y,locale:o})))},yr=T.div(Kl||(Kl=t(["\n position: relative;\n"],["\n position: relative;\n"]))),vr=T.div(Xl||(Xl=t([""],[""]))),br=T.div(Ql||(Ql=t(["\n position: absolute;\n z-index: 21;\n top: 100%;\n right: 0;\n width: 327px;\n padding: 8px;\n background: white;\n border-radius: 4px;\n filter: drop-shadow(0px 8px 40px rgba(0, 0, 0, 0.1));\n\n &[data-is-open='false'] {\n display: none;\n }\n &[data-show-indicator='true'] {\n &:before {\n position: absolute;\n right: 11px;\n bottom: 100%;\n width: 0;\n height: 0;\n border: 0.5rem solid transparent;\n border-top: none;\n border-bottom-color: #fff;\n content: '';\n filter: drop-shadow(0 -0.0625rem 0.0625rem rgba(0, 0, 0, 0.1));\n }\n }\n"],["\n position: absolute;\n z-index: 21;\n top: 100%;\n right: 0;\n width: 327px;\n padding: 8px;\n background: white;\n border-radius: 4px;\n filter: drop-shadow(0px 8px 40px rgba(0, 0, 0, 0.1));\n\n &[data-is-open='false'] {\n display: none;\n }\n &[data-show-indicator='true'] {\n &:before {\n position: absolute;\n right: 11px;\n bottom: 100%;\n width: 0;\n height: 0;\n border: 0.5rem solid transparent;\n border-top: none;\n border-bottom-color: #fff;\n content: '';\n filter: drop-shadow(0 -0.0625rem 0.0625rem rgba(0, 0, 0, 0.1));\n }\n }\n"]))),Er=T.div(ql||(ql=t(["\n display: flex;\n height: 40px;\n align-items: center;\n justify-content: space-between;\n\n padding: 0 16px;\n border-radius: 6px;\n cursor: pointer;\n\n .check-icon {\n width: 16px;\n height: 16px;\n }\n &[data-selected='false'] {\n background-color: ",";\n }\n"],["\n display: flex;\n height: 40px;\n align-items: center;\n justify-content: space-between;\n\n padding: 0 16px;\n border-radius: 6px;\n cursor: pointer;\n\n .check-icon {\n width: 16px;\n height: 16px;\n }\n &[data-selected='false'] {\n background-color: ",";\n }\n"])),(function(n){return n.theme.colors.gray100})),wr=T.div(Jl||(Jl=t(["\n position: fixed;\n z-index: 20;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n cursor: default;\n"],["\n position: fixed;\n z-index: 20;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n cursor: default;\n"]))),kr=function(n){var e=n.options,t=n.label,i=n.selected,o=n.onChange,a=n.showSelected,s=void 0===a||a,c=n.style,p=void 0===c?{}:c,d=n.showIndicator,m=void 0===d||d,h=r(!1),g=h[0],u=h[1];return l.createElement(l.Fragment,null,l.createElement(yr,null,l.createElement(vr,{onClick:function(){return u((function(n){return!n}))}},!!t&&t),l.createElement(br,{"data-is-open":g,style:p,"data-show-indicator":m},e.map((function(n,e){return l.createElement(Er,{key:e,"data-selected":s&&i===n.value,onClick:function(e){i!==n.value&&(o(n.value),u((function(n){return!n}))),e.stopPropagation()}},l.createElement(N,{size:"p3"},n.label),s&&i===n.value&&l.createElement("img",{src:"data:image/svg+xml,%3csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M13.3346 4L6.0013 11.3333L2.66797 8' stroke='%23737373' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e",alt:"check",className:"check-icon"}))})))),g&&l.createElement(wr,{onClick:function(){return u(!1)}}))},Cr=function(n){var e="undefined"!=typeof window&&document.querySelector(n),t=e&&window.getComputedStyle(e);return t&&t.getPropertyValue("display")},Tr=function(n){var t,i=n.siteType,p=n.MetaPageTitle,d=n.MetaPageDescription,h=n.MetaPageImage,g=n.footerInfo,u=n.children,x=n.ssrMenuContent,E=void 0===x?{}:x,w=E.categories,k=void 0===w?[]:w,C=E.healthTools,T=void 0===C?[]:C,_=E.healthToolsByCategory,L=void 0===_?[]:_,S=E.careSpecialties,I=void 0===S?[]:S,A=E.togetherCommunities,N=void 0===A?[]:A,M=E.spotlightsList,O=void 0===M?[]:M,P=n.SEOData,R=void 0===P?{}:P,B=n.UP_BASEPATH,D=void 0===B?$:B,z=n.isStatic,U=void 0!==z&&z,F=n.seoType,j=void 0===F?"website":F,G=n.isMobile,Y=n.isMyHealthEnabled,V=void 0!==Y&&Y,W=n.logoutHandlers,Z=W.isLogoutPopupOpened,K=W.callPostLogOutApi,J=W.onClosePopup,en=W.onLogout,tn=n.marryBaby,on=void 0===tn?{tone:"white",marryBabyApiDomain:"",socialLinks:{facebookLink:"",instagramLink:"",linkedinLink:"",twitterLink:"",youtubeLink:"",zaloLink:""}}:tn,an=on.tone,ln=void 0===an?"white":an,rn=on.marryBabyApiDomain,pn=on.socialLinks,dn=void 0===pn?{}:pn,mn=dn.facebookLink,hn=void 0===mn?"":mn,gn=dn.instagramLink,un=void 0===gn?"":gn,xn=dn.linkedinLink,fn=void 0===xn?"":xn,yn=dn.twitterLink,bn=void 0===yn?"":yn,En=dn.youtubeLink,wn=void 0===En?"":En,kn=dn.zaloLink,Cn=void 0===kn?"":kn,Tn=n.statics,_n=void 0===Tn?{LOCALE_SPECS:Q,STATIC_PAGES:q}:Tn,Ln=_n.DISCOVER_URL_FE,Sn=_n.TOGETHER_URL_FE,Nn=_n.MARRY_BABY_FE,Fn=_n.HOME_PAGE_URL,jn=_n.HEALTH_TOOL_URL_FE,Vn=_n.CARE_URL_FE,Wn=_n.LOCALE_SPECS,Zn=void 0===Wn?Q:Wn,Kn=_n.STATIC_PAGES,Xn=void 0===Kn?q:Kn,Qn=n.sso,qn=void 0===Qn?{}:Qn,Jn=qn.dispatchLogout,$n=qn.SSO_URL,ne=n.together,ee=void 0===ne?{TOGETHER_MENU_COUNTRIES_ENABLED:["id-ID","vi-VN"],ENABLE_COMMUNITY_PROFILE_MENU_LOCALES:["id-ID","vi-VN"],togetherApiDomain:""}:ne,te=ee.TOGETHER_MENU_COUNTRIES_ENABLED,ie=ee.ENABLE_COMMUNITY_PROFILE_MENU_LOCALES,oe=ee.togetherApiDomain,ae=n.care,le=void 0===ae?{CARE_MENU_COUNTRIES_ENABLED:["vi-VN","id-ID","en-PH"],ENABLE_CARE_PROFILE_MENU_LOCALES:[],menuActionType:"redirectOnly",careApiDomain:""}:ae,re=le.CARE_MENU_COUNTRIES_ENABLED,se=le.ENABLE_CARE_PROFILE_MENU_LOCALES,ce=le.careApiDomain,pe=n.discover,de=(void 0===pe?{discoverApiDomain:""}:pe).discoverApiDomain,me=n.activeMenuService,he=void 0===me?"categories":me,ge=n.basePath,ue=n.isAmp,xe=void 0!==ue&&ue,fe=n.nextHead,ye=n.routerPathname,ve=n.routerQuery,be=n.routerAsPath,Ee=n.locale,we=n.userState,ke=n.callApiHandler,Ce=n.userProfileRouterPush,Te=n.onTopBarAppears,_e=n.forcedCanonicalUrl,Le=n.isUserProfileNavigatorMenuHidden,Se=n.sitewideBanner,Ie=n.sitewideBannerShown,Ae=void 0===Ie||Ie,Me=n.sponsorComponent,Oe=n.languageOptions,Pe=n.isSearchBarDisplay,Re=n.ampSubBar,Be=n.isSearchIconDisplayed,De=void 0===Be||Be,He=n.enabledExperimentalCareHeader,ze=void 0!==He&&He,Ue=n.onCareHeaderClick,Fe=n.dueDatePopup,je=n.welcomePopup,Ge=n.ampNextArticle,Ye=n.usingDefaultHead,Ve=void 0===Ye||Ye,We=n.acceptCookiePopup,Ze=n.seoCustom,Ke=n.hasStickyBottomBar,Xe=void 0===Ke||Ke,Qe="boolean"==typeof Pe?Pe:!G,qe=In(),Je=Zn[Ee||"en-PH"]||{},$e=m((function(){var n;return(null===(n=be.split("?"))||void 0===n?void 0:n[0])||""}),[be]),nt=m((function(){return"".concat(ge).concat("/"===$e.slice(-1)?$e:"".concat($e,"/"))}),[$e]),et=m((function(){return(null==Oe?void 0:Oe.find((function(n){return n.value!==nt})))||null}),[Oe,nt]),tt=r(g),it=tt[0],ot=tt[1],at=r(k),lt=at[0],rt=at[1],st=r(T),ct=st[0],pt=st[1],dt=r(L),mt=dt[0],ht=dt[1],gt=r(I),ut=gt[0],xt=gt[1],ft=r(N),yt=ft[0],vt=ft[1],bt=r(O),Et=bt[0],wt=bt[1],kt=Ln||"https://".concat(X[Ee])||"",Ct="undefined"!=typeof window,Tt=Ct&&document.querySelector("#categories-menu"),_t=Tt&&Ct&&window.getComputedStyle(Tt),Lt=_t&&_t.getPropertyValue("left"),St=s("0px"===Lt),It=r(St.current),At=It[0],Nt=It[1],Mt=Cr(".top-menu-categories"),Ot=Cr(".top-menu-health-tools"),Pt=Cr(".top-menu-communities"),Rt=Cr(".top-menu-care-specialties"),Bt=r(Mt&&"none"!==Mt?"categories":Ot&&"none"!==Ot?"tools":Pt&&"none"!==Pt?"communities":Rt&&"none"!==Rt?"care":"none"),Dt=Bt[0],Ht=Bt[1],zt=m((function(){var n,e;return l.createElement($i,null,null===(e=null===(n=Ee.split("-"))||void 0===n?void 0:n[0])||void 0===e?void 0:e.toUpperCase(),l.createElement("img",{src:"language"===Dt?"data:image/svg+xml,%3csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M4 10L8 6L12 10' stroke='%232D87F3' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e":"data:image/svg+xml,%3csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12 6L8 10L4 6' stroke='%231B3250' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e",style:{width:"16px",height:"16px"},alt:qe("home.navigator.menuItem.language")}))}),[Dt,Ee]),Ut=we.userInfo,Ft=we.isLoggedIn,jt=function(n){Dt!==n&&(Ht(n),Nt(!0)),Dt===n&&(Ht("none"),Nt(!1))},Gt=function(){Nt(!1),Ht("none")},Yt=function(n,e){"Enter"===n.key&&(window.location.href="".concat(Fn,"/search/?s=").concat(e))},Vt=null===(t=null==Zn?void 0:Zn[Ee])||void 0===t?void 0:t.SITE_NAME_FORMATTED,Wt=[{name:qe("home.navigator.menuItem.discover"),id:"categories",link:"./posts/abc",niceName:"",thumbnail:f,isDisplayed:!0},{name:qe("home.navigator.menuItem.healthTools"),id:"healthTools",link:"./en",thumbnail:y,isDisplayed:!0}];(null==te?void 0:te.includes(Ee))&&Wt.push({name:qe("home.navigator.menuItem.helloTogether"),id:"together",link:Sn+"/",thumbnail:v,isDisplayed:!0}),(null==re?void 0:re.includes(Ee))&&Wt.push({name:qe("home.navigator.menuItem.helloCare"),id:"care",link:"/care",thumbnail:b,isDisplayed:!0}),c((function(){document.documentElement.style.overflow=At?"hidden":""}),[At]);var Zt=!!Me;c((function(){Ft&&("first_login"===(null==ve?void 0:ve.source)?(null==Ut?void 0:Ut.email)&&""!==(null==Ut?void 0:Ut.email)?window.insider_object={user:e({uuid:null==Ut?void 0:Ut.id,email:null==Ut?void 0:Ut.email,gdpr_optin:!0,email_optin:!0,sign_up:!0},(null==Ut?void 0:Ut.name)?{name:null==Ut?void 0:Ut.name}:{})}:window.insider_object={user:e({uuid:null==Ut?void 0:Ut.id,sign_up:!0},(null==Ut?void 0:Ut.name)?{name:null==Ut?void 0:Ut.name}:{})}:(null==Ut?void 0:Ut.email)&&""!==(null==Ut?void 0:Ut.email)?window.insider_object={user:e({uuid:null==Ut?void 0:Ut.id,email:null==Ut?void 0:Ut.email,gdpr_optin:!0,email_optin:!0,log_in:!0},(null==Ut?void 0:Ut.name)?{name:null==Ut?void 0:Ut.name}:{})}:window.insider_object={user:e({uuid:null==Ut?void 0:Ut.id,log_in:!0},(null==Ut?void 0:Ut.name)?{name:null==Ut?void 0:Ut.name}:{})}),o(void 0,void 0,void 0,(function(){var n,t;return a(this,(function(o){switch(o.label){case 0:return it?[3,3]:[4,fetch("helloSites"===i?zn(Ee,de):(a=rn,(a||"https://staging.marrybaby.vn/")+"wp-json/api/"+H(sn,e({},l))))];case 1:return[4,o.sent().json()];case 2:return t=o.sent(),[3,4];case 3:t=null,o.label=4;case 4:return(n=t)&&1===n.status&&n.data&&!it&&ot("helloSites"===i?n.data||{}:n.data.footers||[]),[2]}var a,l}))})),o(void 0,void 0,void 0,(function(){var n,e,t,i,o,l;return a(this,(function(a){switch(a.label){case 0:return k&&0!==(null==k?void 0:k.length)||0!==(null==lt?void 0:lt.length)?[3,3]:(o={},[4,fetch(Bn(Ee,de))]);case 1:return[4,a.sent().json()];case 2:return o.response=a.sent(),t=o,[3,4];case 3:t={},a.label=4;case 4:return n=t.response,null!==(e=void 0===n?{}:n)&&1===e.status&&(null===(l=e.data)||void 0===l?void 0:l.length)>0&&(i=e.data.map(Mn),0===lt.length&&rt(i)),[2]}}))})),o(void 0,void 0,void 0,(function(){var n,e,t,o,l,r,s,c,p;return a(this,(function(a){switch(a.label){case 0:return O&&0!==(null==O?void 0:O.length)||"helloSites"!==i||0!==(null==Et?void 0:Et.length)?[3,3]:(l={},[4,fetch(Hn(Ee,de,{perPage:100,orderBy:"start_date"}))]);case 1:return[4,a.sent().json()];case 2:return l.response=a.sent(),t=l,[3,4];case 3:t={},a.label=4;case 4:return n=t.response,1===(null==(e=void 0===n?{}:n)?void 0:e.status)&&(null===(s=null===(r=null==e?void 0:e.data)||void 0===r?void 0:r.articles)||void 0===s?void 0:s.length)>0&&(o=null===(p=null===(c=e.data)||void 0===c?void 0:c.articles)||void 0===p?void 0:p.map(Gn).filter(Yn).slice(0,4),0===Et.length&&wt(o)),[2]}}))})),o(void 0,void 0,void 0,(function(){var n,t,o,l,r,s,c;return a(this,(function(a){switch(a.label){case 0:return(null==T?void 0:T.length)||(null==ct?void 0:ct.length)||(null==L?void 0:L.length)||(null==L?void 0:L.length)?[3,6]:(s={},"helloSites"!==i?[3,2]:[4,fetch(Dn(Ee,de))]);case 1:return l=a.sent(),[3,4];case 2:return[4,fetch((p=rn,(p||"https://staging.marrybaby.vn/")+"wp-json/api/"+H(cn,e({},d))))];case 3:l=a.sent(),a.label=4;case 4:return[4,l.json()];case 5:return s.response=a.sent(),o=s,[3,7];case 6:o={},a.label=7;case 7:return n=o.response,null!==(t=void 0===n?{}:n)&&1===t.status&&(null===(c=t.data)||void 0===c?void 0:c.length)>0&&("helloSites"===i?(r=t.data.map(Pn),0===ct.length&&ht(r)):(r=t.data.map(On),0===ct.length&&pt(r))),[2]}var p,d}))})),o(void 0,void 0,void 0,(function(){var n,e,t,i,o,l,r;return a(this,(function(a){switch(a.label){case 0:return I&&0!==(null==I?void 0:I.length)||!re.includes(Ee)||0!==(null==ut?void 0:ut.length)?[3,3]:(o={},[4,fetch(Rn(Ee,ce))]);case 1:return[4,a.sent().json()];case 2:return o.response=a.sent(),t=o,[3,4];case 3:t={},a.label=4;case 4:return n=t.response,null!==(e=void 0===n?{}:n)&&1===e._status&&(null===(r=null===(l=e._data)||void 0===l?void 0:l.specialties)||void 0===r?void 0:r.length)>0&&(i=e._data.specialties,0===ut.length&&xt(i)),[2]}}))})),o(void 0,void 0,void 0,(function(){var n,t,o,l,r,s,c,p,d;return a(this,(function(a){switch(a.label){case 0:return N&&0!==(null==N?void 0:N.length)||!te.includes(Ee)||0!==(null==yt?void 0:yt.length)?[3,3]:(r={},[4,fetch("helloSites"===i?Un(Ee,oe):(m=oe,(m||"https://together.hellohealthgroup.com/")+"api/v1/"+H(nn,e(e({},h),{websiteUrl:"https://marrybaby.vn"}))))]);case 1:return[4,a.sent().json()];case 2:return r.response=a.sent(),o=r,[3,4];case 3:o={},a.label=4;case 4:return n=o.response,(null===(c=null===(s=null==(t=void 0===n?{}:n)?void 0:t.data)||void 0===s?void 0:s.communities)||void 0===c?void 0:c.length)>0&&(l=(null===(d=null===(p=null==t?void 0:t.data)||void 0===p?void 0:p.communities)||void 0===d?void 0:d.map(An))||[],0===yt.length&&vt(l)),[2]}var m,h}))}))}),[]);var Kt=l.createElement(fr,{locale:Ee,UP_BASEPATH:D,SSO_URL:$n,userProfileRouterPush:Ce,dispatchLogout:Jn,isOpen:"profile"===Dt,isMyHealthEnabled:V,ENABLE_CARE_PROFILE_MENU_LOCALES:se,ENABLE_COMMUNITY_PROFILE_MENU_LOCALES:ie,closePopup:Gt,userInfo:Ut,siteType:i,isUserProfileNavigatorMenuHidden:Le,togetherApiDomain:oe}),Xt=xe&&{"next-page-hide":""};return l.createElement(vn,{SEOData:e({SEOTitle:p,SEOImage:h,SEODescription:d,siteName:Vt,seoType:j},R),isAmp:xe,locale:Ee,routerPathname:ye,routerQuery:ve,nextHead:fe,siteType:i,forcedCanonicalUrl:_e,userId:null==Ut?void 0:Ut.id,usingDefaultHead:Ve,seoCustom:Ze},l.createElement(hr,{basePath:ge,callPostLogOutApi:K,openLogoutPopup:Z,onCloseHandler:J,onLogoutHandler:en,siteType:i}),Fe,je,We,G?l.createElement(l.Fragment,null,l.createElement(Qi,null,l.createElement("section",e({className:xe?"amp-header":void 0,"next-page-replace":"hhg-navigator","amp-fx":"float-in-top"},Xt),l.createElement(Ne,{siteType:i,statics:{DISCOVER_URL_FE:kt,SSO_URL:$n,HOME_PAGE_URL:Fn,MARRY_BABY_FE:Nn,CARE_URL_FE:Vn},marryBaby:{tone:ln},menuItems:Wt,menu:xe?void 0:l.createElement(pr,{key:"mobile-menu-popup",menuItems:Wt,siteType:i,isMobileMenuOpened:"categories"===Dt,categories:lt,healthTools:ct,healthToolsByCategory:mt,careSpecialties:ut,togetherCommunities:yt,spotlightsList:Et,onMobileMenuClick:jt,isMobile:G,closePopup:Gt,footer:l.createElement(Xi,{locale:Ee,isMobile:G,basePath:ge,isAmp:xe,footerInfo:it,type:"mini",siteType:i,marryBabySocialLinks:{facebookLink:hn,instagramLink:un,linkedinLink:fn,twitterLink:bn,youtubeLink:wn,zaloLink:Cn}}),locale:Ee,callApiHandler:ke,basePath:ge,together:{TOGETHER_MENU_COUNTRIES_ENABLED:te,togetherApiDomain:oe||rn,TOGETHER_URL_FE:Sn},care:{CARE_MENU_COUNTRIES_ENABLED:re,careApiDomain:ce,CARE_URL_FE:Vn},discover:{discoverApiDomain:de,DISCOVER_URL_FE:kt},activeMenuService:he,statics:{DISCOVER_URL_FE:kt,HOME_PAGE_URL:Fn,HEALTH_TOOL_URL_FE:jn,MARRY_BABY_FE:Nn,TOGETHER_URL_FE:Sn,STATIC_PAGES:Xn},marryBaby:{tone:ln},routerAsPath:be,popupType:"none",sso:{SSO_URL:$n}}),profileMenu:Kt,type:"home",currentPopupType:Dt,isMobile:G,isLoginButtonDisplayed:!0,onMenuClick:jt,searchPlaceholder:qe("home.search",{site:"helloSites"===i?null==Je?void 0:Je.SITE_NAME:"Marry Baby"}),onTopBarAppears:function(n){Te&&Te(n)},isSearchBarDisplay:Qe,onSearchKeyPress:Yt,isStatic:xe||U,sponsorComponent:Me,locale:Ee,userInfo:we.userInfo,basePath:ge,isAmp:xe,isDisplayed:!0,isInit:!1,onSearchChange:void 0,openPopup:void 0,routerAsPath:be,title:"",sitewideBanner:Se,sitewideBannerShown:Ae,isSearchIconDisplayed:De,enabledExperimentalCareHeader:ze,languageMenu:void 0!==Oe&&Oe.length>1?l.createElement(l.Fragment,null,2===Oe.length&&et?l.createElement(no,{"data-is-active":!0,href:(null==et?void 0:et.value)||"#"},null==et?void 0:et.label):l.createElement(kr,{options:Oe,selected:nt,label:zt,onChange:function(n){"undefined"!=typeof window&&(window.location.href=n)},style:{width:100},showSelected:!0,showIndicator:!1})):void 0}),void 0!==Re&&l.createElement(l.Fragment,null,Re)),xe?l.createElement(Ji,{className:"root-container","data-menu-opened":St.current,"data-sponsored":Zt,"data-is-mobile":G,"data-sitewide":!!Se},u,l.createElement(Xi,{isAmp:xe,isMobile:G,locale:Ee,basePath:ge,footerInfo:it,type:"main",siteType:i,marryBabySocialLinks:{facebookLink:hn,instagramLink:un,linkedinLink:fn,twitterLink:bn,youtubeLink:wn,zaloLink:Cn},ampNextArticle:Ge,routerQuery:ve})):l.createElement(qi,{className:"root-container","data-menu-opened":St.current,"data-sponsored":Zt,"data-is-mobile":G,"data-sitewide":!!Se,hasStickyBottomBar:Xe},l.createElement(l.Fragment,null,u,l.createElement(Xi,{isAmp:xe,isMobile:G,locale:Ee,basePath:ge,footerInfo:it,type:"main",siteType:i,marryBabySocialLinks:{facebookLink:hn,instagramLink:un,linkedinLink:fn,twitterLink:bn,youtubeLink:wn,zaloLink:Cn},ampNextArticle:Ge,routerQuery:ve})))),xe&&l.createElement(ri,{locale:Ee,categoriesSSR:k,healthToolsSSR:L,spotlightsSSR:O,serviceUrls:{TOGETHER_URL_FE:Sn,CARE_URL_FE:Vn,DISCOVER_URL_FE:kt},together:{TOGETHER_MENU_COUNTRIES_ENABLED:te,ENABLE_COMMUNITY_PROFILE_MENU_LOCALES:ie,togetherApiDomain:oe},care:{CARE_MENU_COUNTRIES_ENABLED:re,ENABLE_CARE_PROFILE_MENU_LOCALES:se,careApiDomain:ce},basePath:ge,searchPlaceholder:qe("home.search",{site:"helloSites"===i?null==Je?void 0:Je.SITE_NAME:"Marry Baby"})})):l.createElement(l.Fragment,null,l.createElement(Ne,{siteType:i,menuItems:Wt,marryBaby:{tone:ln},locale:Ee,currentPopupType:Dt,onSearchKeyPress:Yt,openPopup:function(n){Dt!==n&&Ht(n),Dt===n&&Ht("none")},isMobile:G,isLoginButtonDisplayed:!0,isSearchBarDisplay:!xe&&Qe,searchPlaceholder:qe("home.search",{site:"helloSites"===i?null==Je?void 0:Je.SITE_NAME:"Marry Baby"}),sitewideBannerShown:Ae,statics:{DISCOVER_URL_FE:kt,SSO_URL:$n,HOME_PAGE_URL:Fn,MARRY_BABY_FE:Nn,CARE_URL_FE:Vn},menu:l.createElement(pr,{menuItems:Wt,siteType:i,isMobile:G,popupType:Dt,closePopup:function(){Ht("none")},categories:lt,healthTools:ct,healthToolsByCategory:mt,careSpecialties:ut,togetherCommunities:yt,spotlightsList:Et,locale:Ee,callApiHandler:ke,basePath:ge,together:{TOGETHER_MENU_COUNTRIES_ENABLED:te,togetherApiDomain:oe,TOGETHER_URL_FE:Sn},care:{careApiDomain:ce,CARE_MENU_COUNTRIES_ENABLED:re,CARE_URL_FE:Vn},discover:{discoverApiDomain:de,DISCOVER_URL_FE:kt},statics:{DISCOVER_URL_FE:kt,HOME_PAGE_URL:Fn,HEALTH_TOOL_URL_FE:jn,MARRY_BABY_FE:Nn,TOGETHER_URL_FE:Sn,STATIC_PAGES:Xn},activeMenuService:he,marryBaby:{tone:ln},routerAsPath:be,footer:void 0,isMobileMenuOpened:void 0,sso:{SSO_URL:$n},onMobileMenuClick:void 0}),profileMenu:Kt,userInfo:we.userInfo,sponsorComponent:Me,type:"home",basePath:ge,isAmp:xe,isDisplayed:!0,isInit:!1,onSearchChange:void 0,isStatic:!1,routerAsPath:be,title:"",onMenuClick:void 0,onTopBarAppears:void 0,sitewideBanner:Se,languageMenu:void 0!==Oe&&Oe.length>1?l.createElement(l.Fragment,null,2===Oe.length&&et?l.createElement(no,{"data-is-active":!0,href:(null==et?void 0:et.value)||"#"},null==et?void 0:et.label):l.createElement(kr,{options:Oe,selected:nt,label:zt,onChange:function(n){"undefined"!=typeof window&&(window.location.href=n)},style:{width:100},showSelected:!0,showIndicator:!1})):void 0,enabledExperimentalCareHeader:ze,onCareHeaderClick:Ue}),xe?l.createElement(Ji,{className:"root-container","data-menu-opened":At,"data-is-mobile":G,"data-sponsored":Zt,"data-sitewide":!!Se},u):l.createElement(qi,{className:"root-container","data-menu-opened":At,"data-is-mobile":G,"data-sponsored":Zt,"data-sitewide":!!Se,hasStickyBottomBar:Xe},u),l.createElement(Xi,{type:"main",locale:Ee,basePath:ge,isMobile:G,isAmp:xe,footerInfo:it,siteType:i,marryBabySocialLinks:{facebookLink:hn,instagramLink:un,linkedinLink:fn,twitterLink:bn,youtubeLink:wn,zaloLink:Cn}})))},_r=function(n){return l.createElement(Sn.Provider,{value:{translation:n.translation||Ln}},l.createElement(Tr,e({},n)))};export{vn as Layout,Ne as NavigationBar,_r as NavigationLayout,_n as SiteWide,$e as StickySponsoredBy,Ln as defaultTranslation};
|