@hhgtech/hhg-components 1.20.75 → 1.20.76

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.
Files changed (55) hide show
  1. package/build/babyGrowth.js +1 -1
  2. package/build/care.js +1 -1
  3. package/build/components.js +1 -1
  4. package/build/core.js +1 -1
  5. package/build/esm/babyGrowth.js +1 -1
  6. package/build/esm/care.js +1 -1
  7. package/build/esm/components.js +1 -1
  8. package/build/esm/core.js +1 -1
  9. package/build/esm/{index-896df045.js → index-3b96358a.js} +1 -1
  10. package/build/esm/{index-4e232f37.js → index-5a0cd96d.js} +1 -1
  11. package/build/esm/{index-d009b597.js → index-642d36c8.js} +1 -1
  12. package/build/esm/{index-4a4bb772.js → index-7719205a.js} +1 -1
  13. package/build/esm/index-7a537be1.js +1 -0
  14. package/build/esm/{index-0d69362e.js → index-93d22d63.js} +1 -1
  15. package/build/esm/{index-084a495c.js → index-96499193.js} +1 -1
  16. package/build/esm/{index-7bf9e09f.js → index-9d455074.js} +1 -1
  17. package/build/esm/index-f8e043bf.js +1 -0
  18. package/build/esm/index.js +1 -1
  19. package/build/esm/{index.styled-a87311b3.js → index.styled-af005aa4.js} +1 -1
  20. package/build/esm/{index.styled-b9f4b7d1.js → index.styled-faeac279.js} +1 -1
  21. package/build/esm/mantine.js +1 -1
  22. package/build/esm/misc.js +1 -1
  23. package/build/esm/navigation.js +1 -1
  24. package/build/esm/navigationLayout_deprecated.js +1 -1
  25. package/build/esm/screenSizeContext-12f741e1.js +1 -0
  26. package/build/esm/together.js +1 -1
  27. package/build/esm/{types-363c3848.js → types-b34b9782.js} +1 -1
  28. package/build/esm/{types-da2036b3.js → types-dad90f5a.js} +1 -1
  29. package/build/esm/{utils-53a64f38.js → utils-8a152ba4.js} +1 -1
  30. package/build/{index-ccb7ff0e.js → index-027da064.js} +1 -1
  31. package/build/{index-79ca5c8f.js → index-06ae8f3a.js} +1 -1
  32. package/build/{index-31adaffe.js → index-248b43de.js} +1 -1
  33. package/build/{index-d4fecb21.js → index-40476a4b.js} +1 -1
  34. package/build/{index-f257f4ad.js → index-4a843199.js} +1 -1
  35. package/build/index-5d420cf1.js +1 -0
  36. package/build/{index-c2b118f9.js → index-eb84390c.js} +1 -1
  37. package/build/{index-b0b1dce7.js → index-ef8759f0.js} +1 -1
  38. package/build/{index-6bdf7dbd.js → index-fb3b1c3b.js} +1 -1
  39. package/build/index.js +1 -1
  40. package/build/{index.styled-6d954724.js → index.styled-03c4dedb.js} +1 -1
  41. package/build/{index.styled-26e09df8.js → index.styled-43c202d4.js} +1 -1
  42. package/build/mantine.js +1 -1
  43. package/build/misc.js +1 -1
  44. package/build/navigation.js +1 -1
  45. package/build/navigationLayout_deprecated.js +1 -1
  46. package/build/{screenSizeContext-6726a3b5.js → screenSizeContext-60cc891b.js} +1 -1
  47. package/build/together.js +1 -1
  48. package/build/{types-93f5f4a9.js → types-3a421c51.js} +1 -1
  49. package/build/{types-615bcf79.js → types-bb1e1f83.js} +1 -1
  50. package/build/{utils-e2a4fdad.js → utils-3a287420.js} +1 -1
  51. package/package.json +1 -1
  52. package/build/esm/index-c9da804a.js +0 -1
  53. package/build/esm/index-fe9820b2.js +0 -1
  54. package/build/esm/screenSizeContext-d6e9a094.js +0 -1
  55. package/build/index-86fb3a3a.js +0 -1
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./tslib.es6-f7929e76.js"),n=require("react"),t=require("./index-ccb7ff0e.js"),a=require("lodash"),i=require("./cookieHelper-612b90fa.js"),o=require("styled-components"),l=require("./utils-e2a4fdad.js"),r=require("./index-79ca5c8f.js"),s=require("./index.styled-6d954724.js"),d=require("./theme-696d81a9.js"),c=require("./constants-ca5ea110.js"),p=require("string-format"),u=require("./screenSizeContext-6726a3b5.js"),m=require("./index-b0b1dce7.js");require("react-range"),require("date-fns"),require("./index-bce6f562.js"),require("./Locale-11b51016.js"),require("react-dom"),require("./translationsContext-2d7ea471.js"),require("lodash/debounce");var h=require("./index-86fb3a3a.js"),g=require("react-loading-skeleton"),f=require("./translationsProvider-57deb2ca.js");function x(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}require("./useTranslations-a5b5c74c.js"),require("./en-PH-7307aee7.js"),require("slugify"),require("vanilla-lazyload");var y,v,b,E=x(n),w=x(o),k=x(p),_=x(g),C={"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"},T={"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"}},L={"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"}},O={"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"}]},S="user",I="community?website_url={websiteUrl}",A="topic?community_id={communityId}&website_url={websiteUrl}",M="spotlights?per_page={perPage}&order_by={orderBy}",N="healthtools?_hasgroup=1",P="categories?type=all",R="footer",B="api/specialties?_ishome=1&site={domain}",j="menu/footer",D="health-tools",H=99,z=300,U=400,F=200,G=210,Y=5,V=6,Q=300,Z={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"}},W=function(n){var a,i,o,l,r,s,d,c,p,u,m,h,g,f,x,y,v,b,w,k=n.children,_=n.SEOData,L=void 0===_?{}:_,S=n.isAmp,I=void 0!==S&&S,A=n.locale,M=void 0===A?"vi-VN":A,N=n.routerPathname,P=n.routerQuery,R=n.nextHead,B=n.siteType,j=n.seoCustom,D=n.userId,H=n.forcedCanonicalUrl,z=n.usingDefaultHead,U="production"===process.env.NEXT_PUBLIC_DEPLOY_ENV,F=L.totalPages,G=L.currentPage,Y=L.SEOTitle,V=void 0===Y?"":Y,Q=L.SEODescription,Z=void 0===Q?"":Q,W=L.SEOImage,q=L.seoType,K=L.SEOImageWidth,X=L.SEOImageHeight,J=L.customMetaData,$=void 0===J?[]:J,ee=L.isIndexable,ne=void 0===ee||ee,te=L.hasNoCanonical,ae=void 0!==te&&te,ie=ne&&U?"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1":"noindex",oe=process.env.NEXT_PUBLIC_BASE_API_URL,le=L.canonicalUrl||N;Object.keys(P).forEach((function(e){var n=P[e];n&&Array.isArray(n)&&(le=le.replace("[...".concat(e,"]"),n.join("/")))}));var re,se=M||"en-PH",de="helloSites"===B?C[se]:"www.marrybaby.vn",ce=le.endsWith("/")?"":"/";if(L.apiMetaData&&"string"==typeof L.apiMetaData){var pe=null===(a=L.apiMetaData)||void 0===a?void 0:a.match(/<title.*?>(.*)<\/title>/),ue=" - Page ".concat(G," of ").concat(F),me=G&&1!==G&&pe?L.apiMetaData.replace(pe[0],pe[0].includes("-")?pe[0].replace("-",ue+" - "):"<title>".concat(pe[1].concat(ue),"</title>")).replace('<link rel="canonical" href="https://'.concat(de).concat(le).concat(ce,'" />'),'<link rel="canonical" href="https://'.concat(de).concat(le).concat(ce,"?page=").concat(G,'" />')):L.apiMetaData,he=(re=t.htmlReactParser(me,{trim:!0})).find((function(e){var n,t;return"og:image"===(null===(n=e.props)||void 0===n?void 0:n.property)||"og:image:secure_url"===(null===(t=e.props)||void 0===t?void 0:t.property)}));if(!he){var ge="https://".concat(de,"/images/").concat(M,".png");re=e.__spreadArray(e.__spreadArray([],re,!0),[E.default.createElement("meta",{key:"og:image",property:"og:image",content:(null===(i=L.openGraph)||void 0===i?void 0:i.image)||ge||""}),E.default.createElement("meta",{key:"og:image:secure_url",property:"og:image:secure_url",content:(null===(o=L.openGraph)||void 0===o?void 0:o.image)||ge}),E.default.createElement("meta",{key:"og:image:width",property:"og:image:width",content:(null===(l=L.openGraph)||void 0===l?void 0:l.imageWidth)&&String(null===(r=L.openGraph)||void 0===r?void 0:r.imageWidth)||"1200"}),E.default.createElement("meta",{key:"og:image:height",property:"og:image:height",content:(null===(s=L.openGraph)||void 0===s?void 0:s.imageHeight)&&String(null===(d=L.openGraph)||void 0===d?void 0:d.imageHeight)||"630"})],!1)}}var fe="https://".concat(de,"/images/").concat(M,".png");return E.default.createElement(E.default.Fragment,null,R&&z&&E.default.createElement(R,null,E.default.createElement("link",{rel:"preconnect",href:"https://fonts.gstatic.com"}),"marryBaby"===B&&E.default.createElement("link",{href:"https://fonts.googleapis.com/css2?family=Inter&family=Krub:wght@600&display=swap",rel:"stylesheet"}),"km-KH"===M?E.default.createElement("link",{href:"https://fonts.googleapis.com/css2?family=Battambang:wght@400;700&display=swap",rel:"stylesheet"}):"id-ID"===M||"ms-MY"===M?E.default.createElement(E.default.Fragment,null):E.default.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"}),E.default.createElement("link",{rel:"preconnect",href:oe}),E.default.createElement("meta",{charSet:"UTF-8"}),!I&&E.default.createElement("meta",{name:"viewport",content:"width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, viewport-fit=cover"}),E.default.createElement("meta",{name:"google",content:"notranslate"}),E.default.createElement("meta",{name:"robots",content:ie}),E.default.createElement("meta",{property:"fb:app_id",content:"653713035016537"}),$.map((function(n,t){return E.default.createElement("meta",e.__assign({key:t},n))})),E.default.createElement("meta",{name:"theme-color",content:"helloSites"===B?"#2c87f3":"#e85388"}),E.default.createElement("meta",{name:"page_type",content:"Home"}),E.default.createElement("meta",{name:"page_platform",content:"WEB"}),E.default.createElement("meta",{name:"page_language",content:se}),E.default.createElement("meta",{name:"ahrefs-site-verification",content:"46e7521a2b89a1013149c4685bbe02a1d36a4732fef98655142b829bc87cba4d"}),I&&E.default.createElement(E.default.Fragment,null,E.default.createElement("script",{async:!0,"custom-element":"amp-analytics",src:"https://cdn.ampproject.org/v0/amp-analytics-0.1.js"}),E.default.createElement("script",{async:!0,"custom-element":"amp-fx-collection",src:"https://cdn.ampproject.org/v0/amp-fx-collection-0.1.js"}),E.default.createElement("script",{async:!0,"custom-element":"amp-ad",src:"https://cdn.ampproject.org/v0/amp-ad-0.1.js"}),E.default.createElement("script",{async:!0,"custom-element":"amp-next-page",src:"https://cdn.ampproject.org/v0/amp-next-page-1.0.js"}),E.default.createElement("script",{async:!0,"custom-element":"amp-sticky-ad",src:"https://cdn.ampproject.org/v0/amp-sticky-ad-1.0.js"}),E.default.createElement("script",{async:!0,"custom-element":"amp-social-share",src:"https://cdn.ampproject.org/v0/amp-social-share-0.1.js"}),E.default.createElement("script",{async:!0,"custom-element":"amp-bind",src:"https://cdn.ampproject.org/v0/amp-bind-0.1.js"})),!re&&E.default.createElement(E.default.Fragment,null,"helloSites"===B?E.default.createElement("title",null,j?V:V+" - "+(null===(c=T[M])||void 0===c?void 0:c.SITE_NAME)):E.default.createElement("title",null,V),!ae&&E.default.createElement("link",{rel:"canonical",href:"https://".concat(de).concat(le)}),E.default.createElement("meta",{name:"description",content:Z||(null===(p=L.openGraph)||void 0===p?void 0:p.description)}),L.schemaData&&E.default.createElement("script",{type:"application/ld+json",className:"yoast-schema-graph",dangerouslySetInnerHTML:{__html:L.schemaData}}),E.default.createElement("meta",{property:"og:locale",content:M}),E.default.createElement("meta",{property:"og:type",content:q||"website"}),E.default.createElement("meta",{property:"og:title",content:(null===(u=L.openGraph)||void 0===u?void 0:u.title)||V}),E.default.createElement("meta",{property:"og:description",content:(null===(m=L.openGraph)||void 0===m?void 0:m.description)||Z}),E.default.createElement("meta",{property:"og:url",content:"https://".concat(de).concat(le)}),E.default.createElement("meta",{property:"og:site_name",content:"https://".concat(de)}),E.default.createElement("meta",{property:"og:image",content:(null===(h=L.openGraph)||void 0===h?void 0:h.image)||W||fe||""}),E.default.createElement("meta",{property:"og:image:secure_url",content:(null===(g=L.openGraph)||void 0===g?void 0:g.image)||W||fe}),E.default.createElement("meta",{property:"og:image:width",content:(null===(f=L.openGraph)||void 0===f?void 0:f.imageWidth)&&String(null===(x=L.openGraph)||void 0===x?void 0:x.imageWidth)||K&&String(K)||"1200"}),E.default.createElement("meta",{property:"og:image:height",content:(null===(y=L.openGraph)||void 0===y?void 0:y.imageHeight)&&String(null===(v=L.openGraph)||void 0===v?void 0:v.imageHeight)||X&&String(X)||"630"}),E.default.createElement("meta",{name:"twitter:card",content:"summary_large_image"}),E.default.createElement("meta",{name:"twitter:title",content:(null===(b=L.twitter)||void 0===b?void 0:b.title)||V}),E.default.createElement("meta",{name:"twitter:description",content:Z}),E.default.createElement("meta",{name:"twitter:image",content:(null===(w=L.twitter)||void 0===w?void 0:w.image)||W})),("helloSites"===B?O[se]||[]:O.marryBaby).map((function(e,n){return"link"===e.type?E.default.createElement("link",{key:"favicon-".concat(n),rel:e.rel,href:e.href,sizes:e.sizes}):"meta"===e.type?E.default.createElement("meta",{key:n,name:e.name,content:e.content}):null})),Array.isArray(re)&&H?re.filter((function(e){return"canonical"!==e.props.name&&"canonical"!==e.props.rel})):re,H&&E.default.createElement("link",{rel:"canonical",href:H}),!L.hasNoAmp&&"vi-VN"!==M&&E.default.createElement("link",{rel:"amphtml",href:"https://".concat(de).concat(le).concat(ce,"?amp=1")}),D&&"undefined"!=typeof window?E.default.createElement("script",{dangerouslySetInnerHTML:{__html:"window.dataLayer = window.dataLayer || []; window.dataLayer.push({'userID': '".concat(D,"'});")}}):null),R&&!z&&E.default.createElement(R,null),k)},q="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",K="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",X="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",J=w.default.div(y||(y=e.__makeTemplateObject(["\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(e){return e.theme.colors.secondaryBase}),(function(e){return e.theme.mbColors.cobalt})),$=w.default.div(v||(v=e.__makeTemplateObject(["\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"]))),ee=w.default.div(b||(b=e.__makeTemplateObject(["\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(e){return e.theme.colors.white})),ne={"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"},te=n.createContext({}),ae=function(){var e=n.useContext(te);return function(n,t){var a=(e.translation||{})[n]||ne[n];return a?t?k.default(a,t):a:function(){throw Error("missing translation "+n)}()}},ie=function(e){return e?{title:(null==e?void 0:e.name)||"",thumbnail:(null==e?void 0:e.thumbnail)||"",communitySlug:(null==e?void 0:e.slug)||"",communityId:null==e?void 0:e.id,color:null==e?void 0:e.color}:{}},oe=function(e){var n;return e?{title:(null==e?void 0:e.name)||"",thumbnail:(null==e?void 0:e.thumbnail)||"",communitySlug:"".concat(null===(n=null==e?void 0:e.community)||void 0===n?void 0:n.slug,"/").concat(null==e?void 0:e.slug),communityId:null==e?void 0:e.id}:{}},le=function(e){var n,t,a,i;return e?{termId:e.term_id||null,sponsor:e.sponsor?(i=e.sponsor,i?{title:i.title,logo:i.logo,link:i.link}:{}):null,isSponsored:e.is_sponsored||null,categoryName:e.cat_name||e.name||null,name:e.name||null,iconUrl:e.icon||"",slugName:e.category_nicename||null,description:e.description||null,featureImage:e.thumbnail||e.image||null,displayName:e.name||null,parent:e.parent||null,permalink:e.permalink||null,slug:e.slug||null,childCates:(null===(n=e.child_cates)||void 0===n?void 0:n.map((function(e){return le(e)})))||[],thumnailColor:e.thumnail_color||["#FFEAF1","#E0E9FB","#FFF9EB","#F2FCF7","#F3F3F3"][5*Math.random()|0],colorFeatureImage:e.color_feature_image||null,imageColor:e.image_color||null,textColor:e.text_color||null,catParent:(null===(t=e.cat_parent)||void 0===t?void 0:t.name)?{name:e.cat_parent.name,permalink:e.cat_parent.permalink}:{},metaTag:e.meta_tag||"",reviewedBy:e.reviewed_by?(a=e.reviewed_by,{postTitle:a.post_title,permalink:a.permalink}):null,reviewedDate:e.reviewed_date||"",faqs:e.faqs?e.faqs.map((function(e){return function(e){return{title:e.title,content:e.content}}(e)})):null}:{}},re=function(e){return e?{icon:e.icon,link:e.link,subtitle:e.subtitle,title:e.title}:{}},se=function(e){var n,t;return e?{termId:(null==e?void 0:e.term_id)||0,name:(null==e?void 0:e.name)||"",healthTools:null!==(t=null===(n=null==e?void 0:e.health_tools)||void 0===n?void 0:n.map((function(e){return re(e)})))&&void 0!==t?t:[]}:{}},de=function(n,t,a){return(t||"https://service-health-care.hellohealthgroup.com/")+k.default(B,e.__assign(e.__assign({},a),{domain:C[n]}))},ce=function(n,t,a){return(t||"https://wp.".concat(C[n],"/"))+"wp-json/api/"+k.default(P,e.__assign({},a))},pe=function(n,t,a){return(t||"https://wp.".concat(C[n],"/"))+"wp-json/api/"+k.default(N,e.__assign({},a))},ue=function(n,t,a){return(t||"https://wp.".concat(C[n],"/"))+"wp-json/api/"+k.default(M,e.__assign({},a))},me=function(n,t,a){return(t||"https://wp.".concat(C[n],"/"))+"wp-json/api/"+k.default(R,e.__assign({},a))},he=function(n,t,a){return(t||"https://together.hellohealthgroup.com/")+"api/v1/"+k.default(I,e.__assign(e.__assign({},a),{websiteUrl:"https://".concat(C[n])}))},ge=function(n,t,a){return(t||"https://together.hellohealthgroup.com/")+"api/v1/"+k.default(A,e.__assign(e.__assign({},a),{websiteUrl:"https://".concat(C[n])}))},fe=function(e){var n,t=e.type,a=e.specialtySlug,i=e.locale;return"/".concat(c.LOCALIZED_SLUGS[i].ALL,"/").concat((null===(n=c.LOCALIZED_SLUGS[i])||void 0===n?void 0:n[t])||"doctor","/").concat(null!=a?a:"")},xe=function(e){return e?{id:e.ID,name:e.name,permalink:e.permalink,image:(null==e?void 0:e.small_banner)||(null==e?void 0:e.image)||"",imageMedium:(null==e?void 0:e.image_medium)||null,imageThumbnail:(null==e?void 0:e.image_thumbnail)||null,startDate:null==e?void 0:e.start_date,endDate:null==e?void 0:e.end_date}:{}},ye=function(e){var n=new Date;if(null==e?void 0:e.startDate){var t=new Date(e.startDate);if(n.getTime()<t.getTime())return!1}if(null==e?void 0:e.endDate){var a=new Date(e.endDate);if(n.getTime()>a.getTime())return!1}return!0},ve=w.default.header(Re||(Re=e.__makeTemplateObject(["\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(e){return e.theme.colors.neutral100}),(function(e){return e.theme.colors.white}),H,z,U),be=w.default.header(Be||(Be=e.__makeTemplateObject(["\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"]))),Ee=w.default.div(je||(je=e.__makeTemplateObject(["\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"]))),we=w.default.div(De||(De=e.__makeTemplateObject(["\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(e){return e.theme.colors.white}),Y,V,Q),ke=w.default.div(He||(He=e.__makeTemplateObject(["\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(e){return e.theme.colors.white}),(function(e){return e.theme.colors.neutral100}),(function(e){return e.theme.mbColors.lightPink})),_e=w.default.div(ze||(ze=e.__makeTemplateObject(["\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"]))),Ce=w.default.div(Ue||(Ue=e.__makeTemplateObject(["\n display: flex;\n align-items: center;\n"],["\n display: flex;\n align-items: center;\n"]))),Te=w.default.div(Fe||(Fe=e.__makeTemplateObject(["\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(e){return e.theme.colors.neutral100})),Le=w.default.div(Ge||(Ge=e.__makeTemplateObject(["\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(e){return e.theme.colors.white}),(function(e){return e.theme.mbColors.lightGray}),(function(e){return e.theme.colors.neutral100}),(function(e){return e.theme.colors.white})),Oe=w.default.div(Ye||(Ye=e.__makeTemplateObject(["\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"]))),Se=w.default.div(Ve||(Ve=e.__makeTemplateObject(["\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"]))),Ie=w.default.div(Qe||(Qe=e.__makeTemplateObject(["\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"]))),Ae=w.default.div(Ze||(Ze=e.__makeTemplateObject(["\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(e){return e.theme.sizes.fsParagraph4}),(function(e){return e.theme.sizes.fwBold}),(function(e){return e.theme.colors.primaryBase}),(function(e){return e.theme.mbColors.pink}),(function(e){return e.theme.colors.secondaryDark}),(function(e){return e.theme.mbColors.dark}),(function(e){return e.theme.colors.secondaryDark})),Me=w.default.div(We||(We=e.__makeTemplateObject(["\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(e){return e.theme.sizes.fsParagraph4}),(function(e){return e.theme.sizes.fwBold}),u.MediaQueries.mbDown),Ne=w.default.div(qe||(qe=e.__makeTemplateObject(["\n display: block;\n"],["\n display: block;\n"]))),Pe=w.default.div(Ke||(Ke=e.__makeTemplateObject([""],[""])));w.default.div(Xe||(Xe=e.__makeTemplateObject(["\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(e){return e.theme.colors.neutral50}),(function(e){return e.theme.colors.primaryBase}),(function(e){return e.theme.sizes.fwBold}),(function(e){return e.theme.colors.primaryBase}),(function(e){return e.theme.colors.gray800}),(function(e){return e.theme.colors.neutral100}),(function(e){return e.theme.colors.gray800}));var Re,Be,je,De,He,ze,Ue,Fe,Ge,Ye,Ve,Qe,Ze,We,qe,Ke,Xe,Je,$e=w.default.div(Je||(Je=e.__makeTemplateObject(["\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(e){return e.theme.colors.secondaryBase}));function en(){return E.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},E.default.createElement("path",{d:"M14.5 17L9.5 12L14.5 7",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"}))}function nn(){return E.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},E.default.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"}))}function tn(e){var n=e.siteType,t=e.type;return"helloSites"===n?E.default.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}):E.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},E.default.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 an(n){var t,a,i=n.type,o=n.isStatic,l=n.isAmp,d=n.isDisplayed,c=n.siteType,p=n.isCollapsed,u=n.sitewideBannerShown,h=n.sitewideBanner,g=n.sitewideBannerClosed,f=n.setSitewideBannerClosed,x=n.isMobile,y=n.onMenuClick,v=n.menu,b=n.isSearchIconDisplayed,w=n.statics,k=w.DISCOVER_URL_FE,_=w.SSO_URL,C=w.HOME_PAGE_URL,T=w.CARE_URL_FE,L=n.basePath,O=n.languageMenu,S=n.enabledExperimentalCareHeader,I=n.onCareHeaderClick,A=n.logoType,M=n.locale,N=n.isInit,P=n.title,R=n.sponsorComponent,B=n.currentUrl,j=n.userInfo,D=n.currentPopupType,H=n.avatar,z=n.profileMenu,U=n.isLoginButtonDisplayed,F=n.goToLogin,G=n.isSearchBarDisplay,Y=n.searchPlaceholder,V=n.onSearchValueChanged,Q=n.keyPressed,Z=ae(),W=!!R,q=!!(null===(a=null===(t=null==R?void 0:R.props)||void 0===t?void 0:t.sponsoredBy)||void 0===a?void 0:a.length),K=u&&!!h&&!g,X=on({isSiteWide:!!h&&!g,isShowingSiteWideBanner:K,isSponsored:W,hasSponsoredBanners:q,isMobile:!0}),J=X.headerRef,$=X.headerHeight;return E.default.createElement(E.default.Fragment,null,E.default.createElement(ve,{"data-header-type":i,"data-collapsed":!o&&p,"data-with-search-input":"popup-sub-level"!==i,"data-is-displayed":d,"data-is-amp":l,"data-sponsored":W,"data-site-type":c,"data-sitewide-banner-shown":K,id:"site-header",ref:J},h?E.default.isValidElement(h)?E.default.cloneElement(h,{isCollapsed:p,setBannerClosed:f,isAmp:l,isMobile:x}):h:null,E.default.createElement("div",{style:e.__assign(e.__assign({position:"relative",height:64,display:"flex",alignItems:"center",justifyContent:"helloSites"===c?"center":"flex-start",background:"white"},"marryBaby"===c?{paddingLeft:66}:{}),void 0!==O||S?{paddingLeft:S?48:64,gap:24,justifyContent:"unset"}:{})},E.default.createElement(be,null,E.default.createElement(Ee,{on:"tap:discover-amp-sidebar",role:"button",className:"menu-handler",tabIndex:0},E.default.createElement("div",{onClick:function(){return null==y?void 0:y("categories")}},"home"===i&&E.default.createElement("a",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"Hamburger Navigation URL"},E.default.createElement(tn,{siteType:c,type:i})),"popup"===i&&E.default.createElement(nn,null),"popup-sub-level"===i&&E.default.createElement(en,null)),v),b&&"helloSites"===c&&"home"===i&&E.default.createElement(Ee,{style:{paddingRight:16}},E.default.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")},E.default.createElement("img",{src:"".concat(L,"/images/search.svg"),style:{width:"24px",height:"24px"},alt:i}),E.default.createElement("input",{style:{width:"32px",height:"32px",position:"absolute",left:"-2px",bottom:"0",opacity:0,zIndex:1e4}})))),"popup"!==i&&E.default.createElement(Me,{"data-is-profile":!0,className:N?"":"menu-handler-health-tools"},E.default.createElement("div",{className:"menu-handler-item"},b&&"marryBaby"===c&&"home"===i&&E.default.createElement(Ee,{style:{justifySelf:"flex-end"}},E.default.createElement("a",{"data-event-category":"Search Button","data-event-action":"Click",style:{display:"flex"},href:"".concat(k,"/search?s=&page=1")},E.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},E.default.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"})),E.default.createElement("input",{style:{width:"32px",height:"32px",position:"absolute",left:"-2px",bottom:"0",opacity:0}}))),S&&E.default.createElement(E.default.Fragment,null,I?E.default.createElement(r.Button,{size:"sm",color:"primary",dataEventCategory:"Care",dataEventAction:"Navigation Bar Click",dataEventLabel:B,onClick:function(e){return I(e)}},Z("login.booking")):E.default.createElement("a",{href:T,className:"care-button"},E.default.createElement(r.Button,{size:"sm",color:"primary",dataEventCategory:"Care",dataEventAction:"Navigation Bar Click",dataEventLabel:B},Z("login.booking")))),(null==j?void 0:j.id)?E.default.createElement(Se,{style:{position:"relative"}},E.default.createElement("div",{onClick:function(){return y&&y("profile")}},"profile"===D?E.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},E.default.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"})):H),z):l?E.default.createElement("a",{"data-vars-event-category":"Sign Up","data-vars-event-action":"Button Click","data-vars-event-label":B,href:"".concat(_,"?returnUrl=").concat(B.replace("?amp=1","")),style:{textDecoration:"none"}},"vi-VN"===M?E.default.createElement($e,{onClick:F},E.default.createElement("img",{src:"",className:"avatar",alt:"avatar"})):E.default.createElement(r.Button,{className:"login-btn-mobile",size:"sm",color:"secondary",onClick:F},Z("navigation.loginJoin"))):U&&E.default.createElement("a",{"data-event-category":"Sign Up","data-event-action":"Button Click","data-event-label":B},S?E.default.createElement($e,{onClick:F},E.default.createElement("img",{src:"",className:"avatar",alt:"avatar"})):"helloSites"===c?E.default.createElement(r.Button,{className:"login-btn-mobile",size:"sm",color:"secondary",onClick:F},Z("navigation.loginJoin")):E.default.createElement("div",{className:"login-btn-mobile",onClick:F,style:{paddingLeft:16}},E.default.createElement(s.Text,{size:"p3"},Z("navigation.loginJoin")))))),("home"===i||"popup"===i)&&E.default.createElement("a",{href:C||""},E.default.createElement(s.Logo,{type:A,height:"27px",width:"121px",style:{display:"flex"},badge:"id-ID"===M?E.default.createElement("img",{src:"",style:{width:56,height:23,maxWidth:56},width:"56",height:"23"}):void 0})),void 0!==O&&E.default.createElement(Ae,{"data-is-active":!0,className:N?"":"menu-handler-language",onClick:function(){y&&y("language")}},O),P&&E.default.createElement(m.Heading,{className:"top-bar-header",tag:"h5"},P)),R?E.default.isValidElement(R)?E.default.cloneElement(R,{isCollapsed:p,locale:M,isMobile:x,isAmp:l}):R:null),G?E.default.createElement(we,{"data-header-type":i,"data-is-displayed":d,"data-sitewide-banner-shown":u&&!!h},E.default.createElement(s.PureInput,{style:{minHeight:"auto",minWidth:"100%",padding:"0 16px"},name:"search-input-"+i+(N?"":"-temp"),size:"md",placeholder:Y,onChange:V,onKeyPress:Q,type:"search",displayIcon:E.default.createElement("a",{"data-event-category":"Search Button","data-event-action":"Click"},E.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},E.default.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"}),E.default.createElement("path",{d:"M20 20L16 16",stroke:"#8C8C8C",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})))})):E.default.createElement(E.default.Fragment,null,!l&&E.default.createElement("div",{style:{height:$}})))}var on=function(e){var t=e.hasSponsoredBanners,i=e.isSiteWide,o=e.isSponsored,l=e.isShowingSiteWideBanner,r=e.isMobile,s=n.useRef(null),d=n.useState(0),c=d[0],p=d[1],u=n.useCallback(a.debounce((function(){var e,n=(null===(e=s.current)||void 0===e?void 0:e.clientHeight)||0;window.scrollY<=n+30&&p(n)}),100),[]);n.useEffect((function(){return window.addEventListener("resize",u),window.addEventListener("scroll",u),function(){window.removeEventListener("resize",u),window.removeEventListener("scroll",u)}}),[]),n.useEffect((function(){u()}),[i,l,o,t,s.current]);var m=n.useMemo((function(){var e=r?64:69;return l&&(e+=64),o&&(e+=40),e}),[r,l,o]);return{headerHeight:c||m,headerRef:s}},ln=function(e){var t,i,o,c=e.siteType,p=e.basePath,u=e.statics,m=e.currentPopupType,h=void 0===m?"none":m,g=e.isDisplayed,f=void 0===g||g,x=e.isSearchBarDisplay,y=void 0===x||x,v=e.searchPlaceholder,b=void 0===v?"":v,w=e.openPopup,k=e.onTopBarAppears,_=e.onSearchChange,L=e.onSearchKeyPress,O=e.menu,S=e.isAmp,I=e.profileMenu,A=e.isMobile,M=void 0!==A&&A,N=e.isLoginButtonDisplayed,P=e.title,R=e.type,B=void 0===R?"home":R,j=e.onMenuClick,D=e.isStatic,H=void 0!==D&&D,z=e.routerAsPath,U=e.locale,F=e.userInfo,G=e.marryBaby,Y=(void 0===G?{tone:"white"}:G).tone,V=e.menuItems,Q=void 0===V?[]:V,Z=e.isInit,W=e.sitewideBanner,q=e.sitewideBannerShown,K=void 0===q||q,X=e.sponsorComponent,J=e.languageMenu,$=e.isSearchIconDisplayed,ee=void 0!==$&&$,ne=e.enabledExperimentalCareHeader,te=e.onCareHeaderClick,ie=u.SSO_URL,oe=u.HOME_PAGE_URL,le=u.CARE_URL_FE,re=ae(),se=!!X,de=n.useState(!1),ce=de[0],pe=de[1],ue=n.useState(!1),me=ue[0],he=ue[1],ge=n.useState(!1),fe=ge[0],xe=ge[1],ye=n.useState(Z||!1),ve=ye[0],be=ye[1],Ee=n.useRef(47),we=n.useRef(!1),Ne=n.useRef(!1),Pe="helloSites"===c?"https://".concat(C[U]).concat(z):"https://www.marrybaby.vn".concat(z),Re=n.useMemo((function(){var e=(null==F?void 0:F.name)||(null==F?void 0:F.username);return E.default.createElement(l.Avatar,{type:"rounded",size:"small",avatarUrl:null==F?void 0:F.avatar,firstLetter:e&&e.length?e[0].toUpperCase():"A",backgroundColor:"marryBaby"===c?d.theme.mbColors.pink:d.theme.colors.secondaryBase,isAmp:S})}),[null==F?void 0:F.username,null==F?void 0:F.name,null==F?void 0:F.avatar]),Be=function(){var e=window.location.href;window.location.href=ie?"".concat(ie,"?returnUrl=").concat(e):e},je="helloSites"===c?null===(t=T[U])||void 0===t?void 0:t.LOGO_TYPE:c,De="undefined"!=typeof window,He=function(e){null==_||_(e)},ze=n.useCallback(a.throttle((function(){var e;if("home"===B){var n=window,t=null===(e=document.querySelector(".sticky-container"))||void 0===e?void 0:e.clientHeight;De&&n&&(n.scrollY>Ee.current&&n.scrollY>64&&!we.current&&(we.current=!0,pe(!0)),n.scrollY<Ee.current&&we.current&&(we.current=!1,pe(!1),t&&n.scrollY),n.scrollY<Ee.current&&t&&n.scrollY,y?(n.scrollY<64&&n.scrollY<Ee.current&&Ne.current&&(Ne.current=!1),n.scrollY>8&&n.scrollY>Ee.current&&!Ne.current&&(Ne.current=!0)):Ne.current=!0,n.scrollY>=0&&(Ee.current=n.scrollY))}}),300),[]);n.useEffect((function(){null==k||k(!ce)}),[ce]);var Ue=function(e){var n,t;L&&L(e,null!==(t=null===(n=document.getElementById("search-input-"+B))||void 0===n?void 0:n.value)&&void 0!==t?t:"")};n.useEffect((function(){M&&ze()}),[]),n.useEffect((function(){return window.addEventListener("scroll",ze,{passive:!0}),function(){window.removeEventListener("scroll",ze)}}),[]),n.useEffect((function(){be(!0)}),[]),n.useEffect((function(){"undefined"!=typeof window&&xe(Boolean(fe))}),[]);var Fe=E.default.createElement(E.default.Fragment,null,Q.find((function(e){return"categories"===e.id}))&&E.default.createElement(Ae,{"data-is-active":"categories"===h,className:ve?"":"menu-handler-categories",tabIndex:0,onClick:function(){null==w||w("categories"),setTimeout((function(){var e,n;null===(n=null===(e=document.getElementsByClassName("top-menu-categories"))||void 0===e?void 0:e[0])||void 0===n||n.focus()}),100)}},E.default.createElement("div",{className:"menu-handler-item"},re("home.navigator.menuItem.discover"),E.default.createElement(Ie,null,E.default.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},E.default.createElement("path",{d:"M11.5 7.5L9 10L6.5 7.5",stroke:"#202135",strokeWidth:"1.33",strokeLinecap:"round",strokeLinejoin:"round"})))),"categories"===h&&E.default.createElement("div",null,O)),Q.find((function(e){return"healthTools"===e.id}))&&E.default.createElement(Ae,{"data-is-active":"tools"===h,className:ve?"":"menu-handler-health-tools",tabIndex:0},E.default.createElement("div",{className:"menu-handler-item",onClick:function(){w&&w("tools")}},re("home.navigator.menuItem.healthTools"),E.default.createElement(Ie,null,E.default.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},E.default.createElement("path",{d:"M11.5 7.5L9 10L6.5 7.5",stroke:"#202135",strokeWidth:"1.33",strokeLinecap:"round",strokeLinejoin:"round"})))),"tools"===h&&E.default.createElement("div",null,O)),Q.find((function(e){return"care"===e.id}))&&!ne&&E.default.createElement(Ae,{"data-is-active":"care"===h,className:ve?"":"menu-handler-care-specialties",tabIndex:0},E.default.createElement("div",{className:"menu-handler-item",onClick:function(){w&&w("care")}},re("home.navigator.menuItem.helloCare"),E.default.createElement(Ie,null,E.default.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},E.default.createElement("path",{d:"M11.5 7.5L9 10L6.5 7.5",stroke:"#202135",strokeWidth:"1.33",strokeLinecap:"round",strokeLinejoin:"round"})))),"care"===h&&E.default.createElement("div",null,O)),Q.find((function(e){return"together"===e.id}))&&E.default.createElement(Ae,{"data-is-active":"communities"===h,className:ve?"":"menu-handler-communities",tabIndex:0},E.default.createElement("div",{className:"menu-handler-item",onClick:function(){w&&w("communities")}},re("home.navigator.menuItem.helloTogether"),E.default.createElement(Ie,null,E.default.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},E.default.createElement("path",{d:"M11.5 7.5L9 10L6.5 7.5",stroke:"#202135",strokeWidth:"1.33",strokeLinecap:"round",strokeLinejoin:"round"})))),"communities"===h&&E.default.createElement("div",null,O))),Ge=!!(null===(o=null===(i=null==X?void 0:X.props)||void 0===i?void 0:i.sponsoredBy)||void 0===o?void 0:o.length),Ye=K&&!!W&&!me,Ve=on({isSiteWide:!!W&&!me,isShowingSiteWideBanner:Ye,isSponsored:se,hasSponsoredBanners:Ge}),Qe=Ve.headerRef,Ze=Ve.headerHeight;return M?E.default.createElement(an,{type:B,isStatic:H,isAmp:S,isDisplayed:f,siteType:c,isCollapsed:ce,sitewideBannerShown:K,sitewideBanner:W,sitewideBannerClosed:me,setSitewideBannerClosed:he,isMobile:M,onMenuClick:j,menu:O,isSearchIconDisplayed:ee,statics:u,basePath:p,languageMenu:J,enabledExperimentalCareHeader:ne,logoType:je,locale:U,isInit:ve,title:P,sponsorComponent:X,currentUrl:Pe,userInfo:F,currentPopupType:h,avatar:Re,profileMenu:I,isLoginButtonDisplayed:N,goToLogin:Be,isSearchBarDisplay:y,searchPlaceholder:b,onSearchValueChanged:He,keyPressed:Ue}):E.default.createElement(E.default.Fragment,null,E.default.createElement("div",{style:{height:Ze}}),E.default.createElement(ke,{ref:Qe,"data-site-type":c,"data-marry-baby-tone":"marryBaby"===c&&Y,"data-sponsored":se,"data-sitewide-banner-shown":Ye},W?E.default.isValidElement(W)?E.default.cloneElement(W,{isCollapsed:ce,setBannerClosed:he}):W:null,E.default.createElement(s.Container,{style:{height:69,padding:"0 16px"},type:c},E.default.createElement(_e,null,E.default.createElement(Ce,null,E.default.createElement("a",{href:oe},E.default.createElement(Te,{"data-is-having-border":"helloSites"===c},E.default.createElement(s.Logo,{style:{display:"flex"},type:je,height:"27px",width:"121px",badge:"id-ID"===U?E.default.createElement("img",{src:"",style:{width:56,height:23,maxWidth:56},width:"56",height:"23"}):void 0}))),y&&"helloSites"===c&&E.default.createElement(Le,{"data-header-type":B,"data-is-displayed":f,"data-sitewide-banner-shown":K&&!!W},E.default.createElement(s.PureInput,{style:{minHeight:"32px",maxHeight:"32px",minWidth:"100%",backgroundColor:d.theme.colors.white},name:"search-input-"+B+(ve?"":"-temp"),size:"sm",placeholder:b,onChange:He,onKeyPress:Ue,displayIcon:E.default.createElement("a",{"data-event-category":"Search Button","data-event-action":"Click",style:{width:"24px",height:"24px",transform:"scale(0.8)"}},E.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},E.default.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"===c&&E.default.createElement("div",{style:{marginLeft:28,display:"flex"}},Fe)),E.default.createElement(Oe,null,"helloSites"===c&&Fe,y&&"marryBaby"===c&&E.default.createElement(Le,{"data-header-type":B,"data-is-displayed":f,"data-is-styled-borderless":"marryBaby"===c,"data-marry-baby-theme":Y},E.default.createElement(s.PureInput,{style:{minHeight:"40px",maxHeight:"40px",minWidth:"100%",borderRadius:16},name:"search-input-"+B+(ve?"":"-temp"),size:"sm",placeholder:b,onChange:He,onKeyPress:Ue,displayIcon:E.default.createElement("a",{"data-event-category":"Search Button","data-event-action":"Click",style:{width:"24px",height:"24px"}},E.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},E.default.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!==J&&E.default.createElement(Ae,{"data-is-active":!0,className:ve?"":"menu-handler-language",onClick:function(){w&&w("language")}},J),E.default.createElement(Me,{"data-is-active":"profile"===h,"data-is-profile":!0,className:ve?"":"menu-handler-health-tools",tabIndex:0},E.default.createElement("div",{className:"menu-handler-item"},ne&&E.default.createElement(E.default.Fragment,null,te?E.default.createElement(r.Button,{className:"login-btn-mobile",size:"sm",color:"secondary",dataEventCategory:"Care",dataEventAction:"Navigation Bar Click",dataEventLabel:Pe,onClick:function(e){return te(e)}},re("login.booking")):E.default.createElement("a",{href:le,className:"care-button no-replace-click"},E.default.createElement(r.Button,{className:"login-btn-mobile",size:"sm",color:"secondary",dataEventCategory:"Care",dataEventAction:"Navigation Bar Click",dataEventLabel:Pe},re("login.booking")))),(null==F?void 0:F.id)?E.default.createElement(Se,{style:{position:"relative"}},E.default.createElement("div",{onClick:function(){return w&&w("profile")}},Re),I):N&&E.default.createElement("a",{"data-event-category":"Sign Up","data-event-action":"Button Click","data-event-label":Pe},ne?E.default.createElement($e,{onClick:Be},E.default.createElement("img",{src:"",className:"avatar",alt:"avatar"})):"helloSites"===c?E.default.createElement(r.Button,{size:"md",color:"secondary",onClick:Be},re("navigation.loginJoin")):E.default.createElement(r.Button,{size:"md",color:"secondary",theme:"marryBaby",onClick:Be},re("navigation.loginJoin")))))))),X?E.default.isValidElement(X)?E.default.cloneElement(X,{isCollapsed:ce,locale:U,isMobile:M,isAmp:S}):X:null))};w.default.div(rn||(rn=e.__makeTemplateObject(["\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 rn,sn,dn,cn,pn,un,mn,hn,gn,fn,xn,yn,vn,bn,En,wn,kn,_n,Cn,Tn=w.default.div(sn||(sn=e.__makeTemplateObject(["\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(e){return e.theme.colors.neutral50}),u.MediaQueries.mbUp),Ln=w.default.div(dn||(dn=e.__makeTemplateObject(["\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"])),u.MediaQueries.mbDown,u.MediaQueries.mbUp),On=function(e){var n=e.sponsoredBy,t=e.isAmp,a=e.onClose,i=e.locale||"en-PH",o=ae();return E.default.createElement(Ln,{"data-align-left":n&&!!(null==n?void 0:n.logo),"data-is-amp":t||void 0,id:"sponsored-by",className:t?"amp-sponsored-popup":void 0},E.default.createElement(s.Text,{size:"p3",style:{marginBottom:"1rem"}},o("articlePage.sponsoredByStickyPopup.content")),E.default.createElement("div",{className:"button-container",onClick:function(e){e.stopPropagation()}},E.default.createElement(r.Button,{size:"md",color:"secondary",onClick:a,isAmp:t,on:"tap:sponsored-by.toggleClass(class='open')"},o("articlePage.sponsoredByStickyPopup.close")),E.default.createElement(r.Button,{size:"md",onClick:function(){window.location.href="/static".concat(L[i].ADVERTISING_SPONSOR_POLICY)},isAmp:t,on:"tap:AMP.navigateTo(url='/static".concat(L[i].ADVERTISING_SPONSOR_POLICY,"')")},o("articlePage.sponsoredByStickyPopup.policies"))))},Sn=w.default.div(cn||(cn=e.__makeTemplateObject(["\n & > div {\n width: 100%;\n margin-bottom: 8px;\n }\n"],["\n & > div {\n width: 100%;\n margin-bottom: 8px;\n }\n"]))),In=w.default.div(pn||(pn=e.__makeTemplateObject(["\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"]))),An=w.default.div(un||(un=e.__makeTemplateObject(["\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(e){return e.theme.colors.neutral100}),(function(e){return e.theme.colors.neutral100})),Mn=w.default.div(mn||(mn=e.__makeTemplateObject(["\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(e){return e.theme.colors.white}),(function(e){return e.theme.sizes.fsParagraph4}),(function(e){return e.theme.colors.blue50}),(function(e){return e.theme.colors.gray800}),(function(e){return e.theme.sizes.fwBold})),Nn=w.default.div(hn||(hn=e.__makeTemplateObject([""],[""]))),Pn=w.default.div(gn||(gn=e.__makeTemplateObject(["\n display: flex;\n"],["\n display: flex;\n"]))),Rn=w.default.div(fn||(fn=e.__makeTemplateObject(["\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"])),u.MediaQueries.mbDown,(function(e){return e.theme.colors.primaryBase}),(function(e){return e.theme.sizes.fsParagraph4}),(function(e){return e.theme.sizes.fwBold}),(function(e){return e.theme.mbColors.pink})),Bn=w.default.div(xn||(xn=e.__makeTemplateObject(["\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"]))),jn=w.default.div(yn||(yn=e.__makeTemplateObject(["\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"])),F),Dn=w.default.div(vn||(vn=e.__makeTemplateObject(["\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"])),G,(function(e){return e.theme.colors.neutral50}),(function(e){return e.theme.colors.white})),Hn=w.default.div(bn||(bn=e.__makeTemplateObject(["\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"]))),zn=w.default.div(En||(En=e.__makeTemplateObject(["\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"]))),Un=w.default.div(wn||(wn=e.__makeTemplateObject(["\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(e){return e.theme.colors.gray800}),(function(e){return e.theme.sizes.fsParagraph4}),(function(e){return e.theme.sizes.fwRegular}),(function(e){return e.theme.colors.primaryBase})),Fn=w.default.div(kn||(kn=e.__makeTemplateObject(["\n display: none;\n"],["\n display: none;\n"]))),Gn=w.default.div(_n||(_n=e.__makeTemplateObject(["\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"]))),Yn=w.default.div(Cn||(Cn=e.__makeTemplateObject(["\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(e){return e.theme.mbColors.lightGray})),Vn=w.default.div(nt||(nt=e.__makeTemplateObject(["\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"]))),Qn=w.default.div(tt||(tt=e.__makeTemplateObject(["\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(e){return e.theme.colors.white})),Zn=w.default.div(at||(at=e.__makeTemplateObject(["\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"]))),Wn=w.default.div(it||(it=e.__makeTemplateObject(["\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(e){return e.theme.colors.white}),(function(e){return e.theme.colors.white})),qn=w.default.div(ot||(ot=e.__makeTemplateObject(["\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"]))),Kn=w.default.div(lt||(lt=e.__makeTemplateObject(["\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"]))),Xn=w.default.div(rt||(rt=e.__makeTemplateObject(["\n flex: 1;\n padding: 16px;\n background-color: ",";\n"],["\n flex: 1;\n padding: 16px;\n background-color: ",";\n"])),(function(e){return e.theme.colors.white}));w.default.div(st||(st=e.__makeTemplateObject(["\n margin-top: 64px;\n"],["\n margin-top: 64px;\n"])));var Jn=w.default.div(dt||(dt=e.__makeTemplateObject(["\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(e){return e.theme.colors.white}));w.default.div(ct||(ct=e.__makeTemplateObject(["\n padding: 24px 0;\n"],["\n padding: 24px 0;\n"])));var $n=w.default.div(pt||(pt=e.__makeTemplateObject(["\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"])));w.default.div(ut||(ut=e.__makeTemplateObject(["\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"])),F),w.default.div(mt||(mt=e.__makeTemplateObject(["\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"])),G,(function(e){return e.theme.colors.neutral50}),(function(e){return e.theme.colors.white})),w.default.div(ht||(ht=e.__makeTemplateObject(["\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"]))),w.default.div(gt||(gt=e.__makeTemplateObject(["\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"]))),w.default.div(ft||(ft=e.__makeTemplateObject(["\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(e){return e.theme.colors.gray800}),(function(e){return e.theme.sizes.fsParagraph4}),(function(e){return e.theme.sizes.fwRegular}),(function(e){return e.theme.colors.primaryBase})),w.default.div(xt||(xt=e.__makeTemplateObject(["\n display: none;\n"],["\n display: none;\n"]))),w.default.div(yt||(yt=e.__makeTemplateObject(["\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(e){return e.theme.colors.gray800}),(function(e){return e.theme.sizes.fsParagraph4}),(function(e){return e.theme.sizes.fwRegular}),(function(e){return e.theme.colors.primaryBase})),w.default.div(vt||(vt=e.__makeTemplateObject(["\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(e){return e.theme.colors.primaryBase}),(function(e){return e.theme.sizes.fsParagraph4}),(function(e){return e.theme.sizes.fwBold}),(function(e){return e.theme.mbColors.pink}));var et=w.default.div(bt||(bt=e.__makeTemplateObject(["\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"])));w.default.div(Et||(Et=e.__makeTemplateObject(["\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"]))),w.default.div(wt||(wt=e.__makeTemplateObject(["\n display: block;\n"],["\n display: block;\n"]))),w.default.div(kt||(kt=e.__makeTemplateObject(["\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(e){return e.theme.colors.neutral50}),(function(e){return e.theme.colors.primaryBase}),(function(e){return e.theme.colors.primaryBase}),(function(e){return e.theme.colors.neutral100}),(function(e){return e.theme.colors.gray800}));var nt,tt,at,it,ot,lt,rt,st,dt,ct,pt,ut,mt,ht,gt,ft,xt,yt,vt,bt,Et,wt,kt,_t,Ct,Tt,Lt,Ot,St,It=w.default.div(_t||(_t=e.__makeTemplateObject(["\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(e){return e.theme.mbColors.pink})),At=w.default.div(Ct||(Ct=e.__makeTemplateObject(["\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"]))),Mt=function(){return E.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},E.default.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"}))},Nt=w.default.div(Tt||(Tt=e.__makeTemplateObject(["\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(e){return e.theme.colors.neutral50}),(function(e){return e.theme.colors.primaryBase}),(function(e){return e.theme.sizes.fwBold}),(function(e){return e.theme.colors.primaryBase}),(function(e){return e.theme.colors.gray800}),(function(e){return e.theme.colors.neutral100}),(function(e){return e.theme.colors.gray800})),Pt=w.default.a(Lt||(Lt=e.__makeTemplateObject(["\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(e){return e.theme.colors.gray200}),(function(e){return e.theme.colors.white})),Rt=function(e){var n=e.locale,t=e.categoriesSSR,a=e.healthToolsSSR,i=e.spotlightsSSR,o=e.serviceUrls,l=e.together,r=e.care,d=e.basePath,c=e.searchPlaceholder,p=ae();return E.default.createElement(Nt,null,E.default.createElement("amp-sidebar",{id:"discover-amp-sidebar",layout:"nodisplay",style:{width:"100vw",maxWidth:"100vw"}},E.default.createElement("amp-nested-menu",{layout:"fill"},E.default.createElement("ul",{style:{paddingBottom:24}},E.default.createElement("div",{className:"amp__menu-header"},E.default.createElement(Ne,{on:"tap:discover-amp-sidebar.close",role:"button",tabIndex:1},E.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},E.default.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"}))),E.default.createElement("div",{className:"logo"},E.default.createElement(s.Logo,{height:"32px",width:"121px",type:T.LOGO_TYPE,isAmp:!0,badge:"id-ID"===n?E.default.createElement("amp-img",{src:"",width:"56",height:"23"}):void 0})),E.default.createElement("div",null)),E.default.createElement(Pt,{href:"/search"},E.default.createElement(Mt,null),E.default.createElement("input",{className:"amp-search-input",type:"text",placeholder:c,readOnly:!0})),E.default.createElement("div",{className:"categories__spotlight"},E.default.createElement(Pe,{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},E.default.createElement("amp-img",{src:"",width:"48",height:"48"}),E.default.createElement("span",null,p("home.navigator.menuItem.discover"))),E.default.createElement(Pe,{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'"},E.default.createElement("amp-img",{src:"",width:"48",height:"48"}),E.default.createElement("span",null,p("home.navigator.menuItem.healthTools"))),l.TOGETHER_MENU_COUNTRIES_ENABLED.includes(n)&&E.default.createElement("a",{href:o.TOGETHER_URL_FE},E.default.createElement(Pe,{role:"button",tabIndex:1,className:"nav-card",on:"tap:AMP.setState({healthToolsActive: false})"},E.default.createElement("amp-img",{src:"",width:"48",height:"48"}),E.default.createElement("span",null,p("home.navigator.menuItem.together")))),r.CARE_MENU_COUNTRIES_ENABLED.includes(n)&&E.default.createElement("a",{href:o.CARE_URL_FE},E.default.createElement(Pe,{role:"button",tabIndex:1,className:"nav-card"},E.default.createElement("amp-img",{src:"",width:"48",height:"48"}),E.default.createElement("span",null,p("home.navigator.menuItem.helloCare"))))),E.default.createElement("ul",{className:"categories","data-amp-bind-hidden":"!healthToolsActive",style:{marginBottom:24}},E.default.createElement(m.Heading,{tag:"h3",fontWeight:"bold",style:{marginBottom:24}},p("home.navigator.menuItem.discover")),t&&t.length>1&&t.map((function(e){return E.default.createElement("li",{key:e.name},E.default.createElement("a",{href:e.permalink},e.displayName))})),E.default.createElement("a",{style:{textDecoration:"none"},href:"".concat(o.DISCOVER_URL_FE,"/categories/")},E.default.createElement(Rn,{key:"all-categories"},p("home.navigator.menuItem.allCategories"),E.default.createElement(et,null,E.default.createElement("amp-img",{src:"".concat(d,"/svg/chevronRightActive.svg"),style:{width:"16px",height:"16px"},height:"16",width:"16",alt:p("home.navigator.menuItem.allCategories")}))))),E.default.createElement("ul",{className:"categories","data-amp-bind-hidden":"!healthToolsActive"},E.default.createElement(m.Heading,{tag:"h3",fontWeight:"bold",style:{marginBottom:24}},p("home.navigator.menuItem.spotlights")),i&&i.length>0&&i.map((function(e){return E.default.createElement("li",{key:e.id,className:"spotlight-li"},E.default.createElement("a",{href:e.permalink},e.name))})),E.default.createElement("a",{style:{textDecoration:"none"},href:"".concat(o.DISCOVER_URL_FE,"/spotlight/")},E.default.createElement(Rn,{key:"all-spotlight"},p("home.navigator.menuItem.allSpotlight"),E.default.createElement(et,null,E.default.createElement("amp-img",{src:"".concat(d,"/svg/chevronRightActive.svg"),style:{width:"16px",height:"16px"},height:"16",width:"16",alt:p("home.navigator.menuItem.allSpotlight")}))))),E.default.createElement("ul",{className:"categories","data-amp-bind-hidden":"healthToolsActive",hidden:!0},a&&a.length>1&&a.map((function(e,n){return e.healthTools&&e.healthTools.length>0&&E.default.createElement(E.default.Fragment,{key:n},E.default.createElement(m.Heading,{tag:"h4",fontWeight:"bold"},e.name),e.healthTools.map((function(e){return E.default.createElement("li",{key:e.title,className:"health-tool"},E.default.createElement("a",{href:e.link},E.default.createElement("amp-img",{width:"32",height:"32",src:e.icon}),E.default.createElement("span",null,e.title)))})))})))))))},Bt=w.default.footer(Ot||(Ot=e.__makeTemplateObject(["\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"])),u.MediaQueries.mbDown,u.MediaQueries.mbDown,u.MediaQueries.mbUp,(function(e){return e.theme.colors.neutral500}),(function(e){return e.theme.colors.neutral500}),u.MediaQueries.mbUp,u.MediaQueries.mbDown,(function(e){return e.theme.colors.neutral500}),u.MediaQueries.mbUp,u.MediaQueries.mbUp,(function(e){return e.theme.colors.neutral500}),u.MediaQueries.mbUp,(function(e){return e.theme.colors.neutral500}),u.MediaQueries.mbDown,u.MediaQueries.mbUp,(function(e){return e.theme.colors.white}),(function(e){return e.theme.sizes.fwBold}),u.MediaQueries.mbDown,(function(e){return e.theme.colors.neutral500}),u.MediaQueries.mbDown,u.MediaQueries.mbUp,(function(e){return e.theme.colors.neutral500}),u.MediaQueries.mbDown,u.MediaQueries.mbUp,(function(e){return e.theme.colors.white}),(function(e){return e.theme.sizes.fwBold}),u.MediaQueries.mbUp),jt=w.default.div(St||(St=e.__makeTemplateObject(["\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"]))),Dt=function(e){var n=e.url,t=e.isMobile,a=e.dataEventCategory,i=e.dataEventAction,o=e.dataEventLabel;return E.default.createElement(jt,{"data-is-mobile":t},E.default.createElement("img",{className:"country-flag",src:n,alt:"Country Flag","data-event-category":a,"data-event-action":i,"data-content-label":o}))},Ht=function(e){var n,t,a,i,o,l,c,p,u,m,h,g,f,x,y,v,b,w,k,_,T,L,O,S,I,A,M,N,P,R,B,j,D,H,z,U=e.className,F=e.type,G=void 0===F?"main":F,Y=e.footerInfo,V=e.isMobile,Q=e.locale,Z=e.isAmp,W=ae(),q=null==Y?void 0:Y.menu;return E.default.createElement(Bt,{as:Z&&"mini"===G?"div":"footer",className:U,style:"mini"===G?{backgroundColor:d.theme.colors.neutral50}:{},"next-page-hide":!0},E.default.createElement(s.Container,null,E.default.createElement("div",{className:"inner","data-type":G,"next-page-hide":""},"main"===G?E.default.createElement(E.default.Fragment,null,E.default.createElement("a",{href:"/"},Z?(null===(t=null==Y?void 0:Y.general)||void 0===t?void 0:t.logo)?E.default.createElement("amp-img",{src:null===(a=null==Y?void 0:Y.general)||void 0===a?void 0:a.logo,alt:"Site logo",width:"132",height:"32",style:{marginBottom:24}}):null:E.default.createElement("img",{className:"footer-logo",src:null===(n=null==Y?void 0:Y.general)||void 0===n?void 0:n.logo,alt:"Logo","data-is-sehat":"id-ID"===Q})),E.default.createElement("div",{className:"columns"},E.default.createElement("div",{className:"newsletter"},E.default.createElement(s.Text,{size:"p1",type:"bold"},null===(i=null==Y?void 0:Y.general)||void 0===i?void 0:i.content),E.default.createElement(r.Button,{className:"signupButton",color:"primary",size:"lg"},W("footer.signUp")),E.default.createElement("div",{className:"social"},E.default.createElement(s.Text,{size:"sm",type:"regular"},null===(o=null==Y?void 0:Y.social)||void 0===o?void 0:o.title),E.default.createElement("div",{className:"icons"},null===(c=null===(l=null==Y?void 0:Y.social)||void 0===l?void 0:l.socials)||void 0===c?void 0:c.map((function(e,n){return E.default.createElement("a",{key:n,"data-event-category":"Footer","data-event-action":"Follow us - ".concat(e.name),"data-content-label":e.url,href:e.url},Z?E.default.createElement("amp-img",{"data-event-category":"Footer","data-event-action":"Follow us - ".concat(e.name),"data-content-label":e.url,src:e.icon,alt:"Logo Social",width:"32",height:"32"}):E.default.createElement("img",{"data-event-category":"Footer","data-event-action":"Follow us - ".concat(e.name),"data-content-label":e.url,src:e.icon,alt:"Logo Social",className:"social-icon"}))}))),E.default.createElement("hr",{className:"hrMobile"}))),E.default.createElement("div",null,q&&E.default.createElement(E.default.Fragment,null,E.default.createElement("div",{className:"biglinks"},null===(u=null===(p=q[0])||void 0===p?void 0:p.items)||void 0===u?void 0:u.map((function(e,n){return E.default.createElement("a",{"data-event-category":"Footer","data-event-action":e.title,"data-event-label":"https://".concat(C[Q]).concat(e.url),className:"bigLink",key:n,href:e.url},e.title)}))),E.default.createElement("hr",{className:"hrMobile"}),E.default.createElement("div",{className:"mHalf"},E.default.createElement(s.Text,{type:"regular",size:"sm",className:"linkTitle"},null===(m=q[1])||void 0===m?void 0:m.menu_title),null===(g=null===(h=q[1])||void 0===h?void 0:h.items)||void 0===g?void 0:g.map((function(e,n){return E.default.createElement("a",{"data-event-category":"Footer","data-event-action":e.title,"data-event-label":"https://".concat(C[Q]).concat(e.url),className:"link",href:e.url,key:n},E.default.createElement(s.Text,{size:"sm",type:"regular",dataEventCategory:"Footer",dataEventAction:e.title,dataEventLabel:"https://".concat(C[Q]).concat(e.url)},e.title))}))),E.default.createElement("div",{className:"mHalf"},E.default.createElement(s.Text,{type:"regular",size:"sm",className:"linkTitle"},null===(f=q[2])||void 0===f?void 0:f.menu_title),null===(y=null===(x=q[2])||void 0===x?void 0:x.items)||void 0===y?void 0:y.map((function(e,n){return e.url&&E.default.createElement("a",{"data-event-category":"Footer","data-event-action":e.title,"data-event-label":e.url,className:"link",href:e.url,key:n},E.default.createElement(s.Text,{size:"sm",type:"regular",dataEventCategory:"Footer",dataEventAction:e.title,dataEventLabel:e.url},e.title))})))),!Z&&E.default.createElement(E.default.Fragment,null,E.default.createElement("hr",{className:"hrMobile"}),E.default.createElement("div",{className:"otherSites"},E.default.createElement(s.Text,{type:"regular",size:"sm",className:"linkTitle"},null===(v=null==Y?void 0:Y.branch)||void 0===v?void 0:v.title),E.default.createElement("div",{className:"flags"},null===(w=null===(b=null==Y?void 0:Y.branch)||void 0===b?void 0:b.branch)||void 0===w?void 0:w.map((function(e,n){return E.default.createElement("a",{className:"link",href:e.url,key:n,"data-event-category":"Footer","data-event-action":e.name,"data-event-label":e.url},E.default.createElement(Dt,{url:e.flag,isMobile:V,dataEventCategory:"Footer",dataEventAction:e.name,dataEventLabel:e.url}))}))))))),E.default.createElement("hr",null),E.default.createElement("div",{className:"copyright","data-is-amp":Z||void 0},(null===(k=null==Y?void 0:Y.general)||void 0===k?void 0:k.verified)&&E.default.createElement("a",{href:null===(T=null===(_=null==Y?void 0:Y.general)||void 0===_?void 0:_.verified[0])||void 0===T?void 0:T.url,className:"copyright-image"},Z?E.default.createElement("amp-img",{src:null===(O=null===(L=null==Y?void 0:Y.general)||void 0===L?void 0:L.verified[0])||void 0===O?void 0:O.image,alt:"DMCA Icon",width:"100",height:"36"}):E.default.createElement("img",{src:null===(I=null===(S=null==Y?void 0:Y.general)||void 0===S?void 0:S.verified[0])||void 0===I?void 0:I.image,alt:"DMCA Icon"})),E.default.createElement(s.Text,{size:"xs",type:"regular",className:"copyright-content"},null===(A=null==Y?void 0:Y.general)||void 0===A?void 0:A.copyright)),"vi-VN"===Q&&E.default.createElement(s.Text,{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")):E.default.createElement(E.default.Fragment,null,(null==Y?void 0:Y.menu)&&E.default.createElement("div",{className:"columns"},E.default.createElement("div",{className:"mHalf"},E.default.createElement(s.Text,{type:"regular",size:"sm",className:"linkTitle"},null===(M=null==Y?void 0:Y.menu[1])||void 0===M?void 0:M.menu_title),null===(P=null===(N=null==Y?void 0:Y.menu[1])||void 0===N?void 0:N.items)||void 0===P?void 0:P.map((function(e){return E.default.createElement("a",{className:"link",href:e.url,key:e.title,"data-list-type":"Footer","data-content-type":"Navigate","data-content-topic":"Information","data-content-title":e.title,"data-content-id":"https://".concat(C[Q]).concat(e.url),"data-event-category":"Footer","data-event-action":e.title,"data-event-label":"https://".concat(C[Q]).concat(e.url)},E.default.createElement(s.Text,{dataEventCategory:"Footer",dataEventAction:e.title,dataEventLabel:"https://".concat(C[Q]).concat(e.url),size:"sm",type:"regular",style:{color:d.theme.colors.gray800}},e.title))}))),E.default.createElement("div",{className:"mHalf"},E.default.createElement(s.Text,{type:"regular",size:"sm",className:"linkTitle"},null===(R=null==Y?void 0:Y.menu[2])||void 0===R?void 0:R.menu_title),null===(j=null===(B=null==Y?void 0:Y.menu[2])||void 0===B?void 0:B.items)||void 0===j?void 0:j.map((function(e,n){return E.default.createElement("a",{className:"link",href:e.url,key:n,"data-list-type":"Footer","data-content-type":"Navigate","data-content-topic":"Hello Health","data-content-title":e.title,"data-content-id":e.url,"data-event-category":"Footer","data-event-action":e.title,"data-event-label":e.url},E.default.createElement(s.Text,{size:"sm",type:"regular",style:{color:d.theme.colors.gray800},dataEventCategory:"Footer",dataEventAction:e.title,dataEventLabel:e.url},e.title))}))),!Z&&"mini"!==G&&E.default.createElement("hr",{className:"hrMobile"}),E.default.createElement("div",{className:"newsletter"},E.default.createElement("div",{className:"social"},E.default.createElement(s.Text,{size:"sm",type:"regular"},null===(D=null==Y?void 0:Y.social)||void 0===D?void 0:D.title),E.default.createElement("div",{className:"icons"},null===(z=null===(H=null==Y?void 0:Y.social)||void 0===H?void 0:H.socials)||void 0===z?void 0:z.map((function(e,n){return E.default.createElement("a",{key:n,"data-event-category":"Footer","data-event-action":"Follow us - ".concat(e.name),"data-content-label":e.url,href:e.url},Z?E.default.createElement("amp-img",{"data-event-category":"Footer","data-event-action":"Follow us - ".concat(e.name),"data-content-label":e.url,src:e.icon,alt:"Logo Social",width:"32",height:"32"}):E.default.createElement("img",{"data-event-category":"Footer","data-event-action":"Follow us - ".concat(e.name),"data-content-label":e.url,src:e.icon,alt:"Logo Social",className:"social-icon"}))}))))))))))};w.default((function(n){var t=n.type,a=e.__rest(n,["type"]);return E.default.createElement(t,a)}))(zt||(zt=e.__makeTemplateObject(["\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(e){return e.theme.mbColors.dark}));var zt,Ut,Ft=w.default.p(Ut||(Ut=e.__makeTemplateObject(["\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(e){return e.theme.mbColors.dark})),Gt=function(n){var t=n.type,a=n.color,i=n.style,o=e.__rest(n,["type","color","style"]);return E.default.createElement(Ft,e.__assign({"data-type":t,style:e.__assign(e.__assign({},i),a&&{"--text-color":a})},o))};w.default.footer(Yt||(Yt=e.__makeTemplateObject(["\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(e){return e.theme.mbColors.lightGray}),u.MediaQueries.mbDown,u.MediaQueries.mbDown,(function(e){return e.theme.colors.white}),(function(e){return e.theme.colors.neutral500}),u.MediaQueries.mbUp,u.MediaQueries.mbDown,(function(e){return e.theme.colors.neutral500}),u.MediaQueries.mbUp,u.MediaQueries.mbUp,(function(e){return e.theme.colors.white}),u.MediaQueries.mbUp,(function(e){return e.theme.colors.white}),(function(e){return e.theme.sizes.fwBold}),u.MediaQueries.mbDown,(function(e){return e.theme.colors.neutral500}),u.MediaQueries.mbDown,(function(e){return e.theme.colors.neutral500}),(function(e){return e.theme.colors.white}),(function(e){return e.theme.sizes.fwBold}),u.MediaQueries.mbUp);var Yt,Vt,Qt,Zt,Wt,qt,Kt,Xt,Jt,$t,ea,na,ta,aa,ia,oa,la,ra,sa,da,ca,pa,ua,ma,ha,ga=w.default.div(Vt||(Vt=e.__makeTemplateObject([""],[""]))),fa=w.default.div(Qt||(Qt=e.__makeTemplateObject(["\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"]))),xa=w.default.div(Zt||(Zt=e.__makeTemplateObject(["\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"])),u.MediaQueries.mbDown),ya=w.default.div(Wt||(Wt=e.__makeTemplateObject(["\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"])),u.MediaQueries.mbDown,(function(e){return e.theme.colors.gray800}),u.MediaQueries.mbDown,u.MediaQueries.mbUp,u.MediaQueries.mbDown),va=w.default.div(qt||(qt=e.__makeTemplateObject(["\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"])),u.MediaQueries.mbUp,u.MediaQueries.mbDown),ba=w.default.div(Kt||(Kt=e.__makeTemplateObject(["\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"])),u.MediaQueries.mbDown,u.MediaQueries.mbDown,u.MediaQueries.mbDown,(function(e){return e.theme.mbColors.midGray}),u.MediaQueries.mbDown,u.MediaQueries.mbDown,u.MediaQueries.mbDown,(function(e){return e.theme.mbColors.midGray})),Ea=w.default.div(Xt||(Xt=e.__makeTemplateObject(["\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"]))),wa=function(e){var n,t=e.socialLinks,a=void 0===t?Z.SOCIAL_LINKS:t,i=a.facebookLink,o=a.instagramLink,l=a.zaloLink,r=a.youtubeLink,c=e.copyrightText,p=e.logoType,u=void 0===p?"marryBaby":p,m=e.isMobile,g=e.footerMenu,f=void 0===g?[]:g,x=e.type,y=void 0===x?"main":x,v=ae();return"main"===y?E.default.createElement(ga,{className:"footer-container"},!m&&E.default.createElement("div",{className:"footer-divider"},E.default.createElement(s.Container,{type:"marryBaby"},E.default.createElement(h.Divider,{style:{padding:"0 16px"},type:"solid"}))),E.default.createElement(xa,null,E.default.createElement(s.Container,{type:"marryBaby"},E.default.createElement(ya,null,E.default.createElement("div",{className:"grid"},null===(n=m?null==f?void 0:f.slice(0,6):f)||void 0===n?void 0:n.map((function(e,n){var t=e.title,a=e.link;return E.default.createElement("a",{"data-event-category":"Footer","data-event-action":t,"data-event-label":"".concat(a),className:"link",href:a,key:"footer-links-".concat(n)},E.default.createElement(Gt,{color:d.theme.colors.gray800,type:"subtitle-2"},t))})),E.default.createElement("div",{className:"social-wrapper"},E.default.createElement("div",{className:"social"},E.default.createElement(Gt,{type:"subtitle-2"},v("footer.followUsText")),E.default.createElement("div",{className:"icons-links"},i&&E.default.createElement("a",{target:"_blank",rel:"noreferrer","data-event-category":"Footer","data-event-action":"Follow us - Facebook","data-content-label":i,href:i},E.default.createElement("img",{src:"",alt:"Facebook"})),r&&E.default.createElement("a",{target:"_blank",rel:"noreferrer","data-event-category":"Footer","data-event-action":"Follow us - Youtube","data-event-label":r,href:r},E.default.createElement("img",{src:"",alt:"Youtube"})),o&&E.default.createElement("a",{target:"_blank",rel:"noreferrer","data-event-category":"Footer","data-event-action":"Follow us - Instagram","data-content-label":o,href:o},E.default.createElement("img",{src:"",alt:"Instagram"})),l&&E.default.createElement("a",{target:"_blank",rel:"noreferrer",href:l,"data-event-category":"Footer","data-event-action":"Follow us - Zalo","data-event-label":l},E.default.createElement("img",{src:"",alt:"Zalo"}))))))))),E.default.createElement(va,null,E.default.createElement(s.Container,{type:"marryBaby"},E.default.createElement(ba,null,E.default.createElement(s.Logo,{className:"logo",type:u,width:"121px"}),E.default.createElement(Gt,{className:"company-name",type:"subtitle-2"},v("footer.info.companyName")),E.default.createElement("div",{className:"text-info"},E.default.createElement(Gt,{type:"bodytext-3"},v("footer.info.address")),E.default.createElement(Gt,{type:"bodytext-3"},v("footer.info.license")),E.default.createElement(Gt,{type:"bodytext-3"},v("footer.info.email"))),E.default.createElement("div",{className:"img-container"},E.default.createElement("img",{src:"/images/dmca_protected.png",alt:"DMCA protected"}),E.default.createElement("a",{href:"http://online.gov.vn/Home/WebDetails/25055?AspxAutoDetectCookieSupport=1",target:"_blank",rel:"noreferrer"},E.default.createElement("img",{src:"/images/mit_registered.png",alt:"MIT registered"}))),!m&&E.default.createElement(h.Divider,{type:"solid"}),E.default.createElement("div",{className:"language-and-copyright"},E.default.createElement(Gt,{type:"bodytext-3"},c)))))):E.default.createElement(fa,null,E.default.createElement(Ea,null),E.default.createElement(Gt,{type:"subtitle-3",style:{marginBottom:24,textTransform:"uppercase",fontWeight:d.theme.sizes.fwSemiBold},color:d.theme.mbColors.midGray},v("footer.followUsText")),E.default.createElement("div",{className:"icons-links"},i&&E.default.createElement("a",{target:"_blank",rel:"noreferrer","data-event-category":"Footer","data-event-action":"Follow us - Facebook","data-content-label":i,href:i},E.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},E.default.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)"}),E.default.createElement("defs",null,E.default.createElement("linearGradient",{id:"paint0_linear",x1:"12",y1:"3",x2:"12",y2:"21",gradientUnits:"userSpaceOnUse"},E.default.createElement("stop",{stopColor:"#4DABF7"}),E.default.createElement("stop",{offset:"1",stopColor:"#2668DA"}))))),r&&E.default.createElement("a",{target:"_blank",rel:"noreferrer","data-event-category":"Footer","data-event-action":"Follow us - Youtube","data-event-label":r,href:r},E.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},E.default.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"}))),o&&E.default.createElement("a",{target:"_blank",rel:"noreferrer","data-event-category":"Footer","data-event-action":"Follow us - Instagram","data-content-label":o,href:o},E.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},E.default.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)"}),E.default.createElement("defs",null,E.default.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)"},E.default.createElement("stop",{offset:"0.073",stopColor:"#EACC7B"}),E.default.createElement("stop",{offset:"0.184",stopColor:"#ECAA59"}),E.default.createElement("stop",{offset:"0.307",stopColor:"#EF802E"}),E.default.createElement("stop",{offset:"0.358",stopColor:"#EF6D3A"}),E.default.createElement("stop",{offset:"0.46",stopColor:"#F04B50"}),E.default.createElement("stop",{offset:"0.516",stopColor:"#F03E58"}),E.default.createElement("stop",{offset:"0.689",stopColor:"#DB359E"}),E.default.createElement("stop",{offset:"0.724",stopColor:"#CE37A4"}),E.default.createElement("stop",{offset:"0.789",stopColor:"#AC3CB4"}),E.default.createElement("stop",{offset:"0.877",stopColor:"#7544CF"}),E.default.createElement("stop",{offset:"0.98",stopColor:"#2B4FF2"}))))),l&&E.default.createElement("a",{target:"_blank",rel:"noreferrer",href:l,"data-event-category":"Footer","data-event-action":"Follow us - Zalo","data-event-label":l},E.default.createElement("div",{style:{height:24,width:24}},E.default.createElement("img",{src:"/icons/zalo.png",alt:"Zalo"})))))},ka=function(n){var t,a,i,o,l,r,s,d,c,p,u,m=n.type,h=n.isMobile,g=void 0===h||h,f=n.locale,x=n.footerInfo,y=n.isAmp,v=n.siteType,b=n.ampNextArticle,w=n.routerQuery;return"helloSites"===v?E.default.createElement(E.default.Fragment,null,y&&(null!==(a=null===(t=null==w?void 0:w.slug)||void 0===t?void 0:t.length)&&void 0!==a?a:"")>1&&E.default.createElement("amp-next-page",null,E.default.createElement("script",{type:"application/json",dangerouslySetInnerHTML:{__html:'\n [\n {\n "image": "'.concat(null===(i=null==b?void 0:b.articleOne)||void 0===i?void 0:i.image,'",\n "title": ').concat(JSON.stringify(null===(o=null==b?void 0:b.articleOne)||void 0===o?void 0:o.title),',\n "url": "').concat(null===(l=null==b?void 0:b.articleOne)||void 0===l?void 0:l.link,'"\n },\n {\n "image": "').concat(null===(r=null==b?void 0:b.articleTwo)||void 0===r?void 0:r.image,'",\n "title": ').concat(JSON.stringify(null===(s=null==b?void 0:b.articleTwo)||void 0===s?void 0:s.title),',\n "url": "').concat(null===(d=null==b?void 0:b.articleTwo)||void 0===d?void 0:d.link,'"\n },\n {\n "image": "').concat(null===(c=null==b?void 0:b.articleThree)||void 0===c?void 0:c.image,'",\n "title": ').concat(JSON.stringify(null===(p=null==b?void 0:b.articleThree)||void 0===p?void 0:p.title),',\n "url": "').concat(null===(u=null==b?void 0:b.articleThree)||void 0===u?void 0:u.link,'"\n }\n ]\n ')}}),E.default.createElement("div",e.__assign({},{separator:""},{className:"amp-page-seperator",style:{color:"#8C8C8C",textTransform:"uppercase",fontSize:11,fontWeight:700,marginLeft:16}}),"Next article:")),E.default.createElement(Ht,{isAmp:y,isMobile:g,type:m,locale:f,footerInfo:x||{}})):E.default.createElement(wa,{isMobile:g,locale:f,footerMenu:x||[],copyrightText:"© 2022 MarryBaby.vn",socialLinks:n.marryBabySocialLinks,type:m})},_a=w.default.div(Jt||(Jt=e.__makeTemplateObject(["\n width: 100vw;\n"],["\n width: 100vw;\n"]))),Ca=w.default.div($t||($t=e.__makeTemplateObject(["\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(e){return e.hasStickyBottomBar&&"padding-bottom: 80px;"}),(function(e){return e.theme.colors.white})),Ta=w.default.div(ea||(ea=e.__makeTemplateObject(["\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(e){return e.theme.colors.white})),La=w.default.div(na||(na=e.__makeTemplateObject(["\n display: flex;\n align-items: center;\n gap: 8px;\n"],["\n display: flex;\n align-items: center;\n gap: 8px;\n"]))),Oa=w.default.a(ta||(ta=e.__makeTemplateObject(["\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"]))),Sa=w.default.div(aa||(aa=e.__makeTemplateObject(["\n & > div {\n width: 100%;\n margin-bottom: 8px;\n }\n"],["\n & > div {\n width: 100%;\n margin-bottom: 8px;\n }\n"]))),Ia=w.default.div(ia||(ia=e.__makeTemplateObject(["\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(e){return e.theme.colors.neutral100})),Aa=w.default.div(oa||(oa=e.__makeTemplateObject(["\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(e){return e.theme.colors.neutral100}),(function(e){return e.theme.colors.white}),(function(e){return e.theme.sizes.fsParagraph4}),(function(e){return e.theme.colors.blue50}),(function(e){return e.theme.colors.gray800}),(function(e){return e.theme.sizes.fwBold})),Ma=w.default.div(la||(la=e.__makeTemplateObject([""],[""]))),Na=w.default.div(ra||(ra=e.__makeTemplateObject(["\n padding-right: 16px;\n"],["\n padding-right: 16px;\n"]))),Pa=w.default.div(sa||(sa=e.__makeTemplateObject(["\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"])),F),Ra=w.default.div(da||(da=e.__makeTemplateObject(["\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"])),G,(function(e){return e.theme.colors.neutral50}),(function(e){return e.theme.colors.white})),Ba=w.default.div(ca||(ca=e.__makeTemplateObject(["\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"]))),ja=w.default.div(pa||(pa=e.__makeTemplateObject(["\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(e){return e.theme.colors.gray800}),(function(e){return e.theme.sizes.fsParagraph4}),(function(e){return e.theme.sizes.fwRegular}),(function(e){return e.theme.colors.primaryBase})),Da=w.default.div(ua||(ua=e.__makeTemplateObject(["\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"])),u.MediaQueries.mbDown,(function(e){return e.theme.colors.primaryBase}),(function(e){return e.theme.sizes.fsParagraph4}),(function(e){return e.theme.sizes.fwBold}),(function(e){return e.theme.mbColors.pink})),Ha=w.default.div(ma||(ma=e.__makeTemplateObject(["\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"]))),za=w.default.div(ha||(ha=e.__makeTemplateObject(["\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"]))),Ua=function(){return E.default.createElement(Sa,{style:{marginTop:"16px"}},E.default.createElement("div",null,E.default.createElement(_.default,{height:46})),E.default.createElement("div",null,E.default.createElement(_.default,{height:46})),E.default.createElement("div",null,E.default.createElement(_.default,{height:46})))},Fa=function(e){var n,t,a,i,o=e.careSpecialties,l=e.onSelectCareSpecialty,r=e.isLoading,p=e.desktopPopupType,u=e.onClosePopup,h=e.basePath,g=e.locale,f=e.isMobile,x=e.siteType,y=e.CARE_URL_FE,v=ae();return f?E.default.createElement(E.default.Fragment,null,r?E.default.createElement(Ia,null,E.default.createElement(Ua,null)):E.default.createElement(Ia,{"data-category-list-type":"main"},E.default.createElement(m.Heading,{style:{marginTop:16},tag:"h5"},v("menu.care.searchBySpecialties")),o.map((function(e,n){return E.default.createElement("a",{key:"tool-"+n},E.default.createElement(Aa,{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"".concat(y).concat(fe({type:"DOCTOR",specialtySlug:e.slug,locale:g})),onClick:function(){l(e)}},E.default.createElement(Na,null,E.default.createElement("img",{alt:"health-tool-icon",src:e.thumbnail||"".concat(h,"/images/avatar.jpg"),style:{width:"32px",height:"32px"}})),E.default.createElement(Ma,null,e.name)))})),E.default.createElement("a",{style:{textDecoration:"none"},href:"".concat(y,"/").concat(null===(n=c.LOCALIZED_SLUGS[g])||void 0===n?void 0:n.SPECIALTIES)},E.default.createElement(Da,{key:"all-categories","data-theme":x,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"".concat(y,"/").concat(null===(t=c.LOCALIZED_SLUGS[g])||void 0===t?void 0:t.SPECIALTIES)},v("home.navigator.menuItem.allSpecialties"),E.default.createElement(Ha,null,"helloSites"===x?E.default.createElement("img",{src:"".concat(h,"/svg/chevronRightActive.svg"),style:{width:"16px",height:"16px"},alt:v("home.navigator.menuItem.allSpecialties")}):E.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},E.default.createElement("path",{d:"M6.5 12H17.5M17.5 12L12.9118 8M17.5 12L12.9118 16",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"}))))))):E.default.createElement(Pa,{className:"top-menu-care-specialties",onClick:u,"data-is-display":"care"===p},E.default.createElement(Ra,null,E.default.createElement(s.Container,{style:{padding:"0 16px"},type:x},E.default.createElement(Ba,{"data-popup-type":p,onClick:function(e){e.stopPropagation()}},E.default.createElement(E.default.Fragment,null,o.map((function(e){return E.default.createElement(ja,{key:"care-specialty-".concat(e.id),onClick:u},E.default.createElement("a",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"".concat(y).concat(fe({type:"DOCTOR",specialtySlug:e.slug,locale:g})),style:{textDecoration:"none",color:d.theme.colors.gray800},className:"iconMenu no-replace-click",href:"".concat(y).concat(fe({type:"DOCTOR",specialtySlug:e.slug,locale:g}))},E.default.createElement("div",{style:{display:"flex"}},E.default.createElement("img",{alt:"care-specialty-icon",src:e.thumbnail||"".concat(h,"/images/avatar.jpg"),style:{width:"32px",height:"32px"}})),E.default.createElement("p",null,e.name)))})),E.default.createElement("a",{style:{textDecoration:"none"},href:"".concat(y,"/").concat(null===(a=c.LOCALIZED_SLUGS[g])||void 0===a?void 0:a.SPECIALTIES)},E.default.createElement(Da,{onClick:u,key:"all-care-specialties","data-theme":x,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"".concat(y,"/").concat(null===(i=c.LOCALIZED_SLUGS[g])||void 0===i?void 0:i.SPECIALTIES)},v("home.navigator.menuItem.allSpecialties"),E.default.createElement(Ha,null,"helloSites"===x?E.default.createElement("img",{src:"".concat(h,"/svg/chevronRightActive.svg"),style:{width:"16px",height:"16px"},alt:v("home.navigator.menuItem.allSpecialties")}):E.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},E.default.createElement("path",{d:"M6.5 12H17.5M17.5 12L12.9118 8M17.5 12L12.9118 16",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"})))))),E.default.createElement(za,{onClick:u},E.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},E.default.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"})))))))},Ga=function(){return E.default.createElement(Sn,{style:{marginTop:"16px"}},E.default.createElement("div",null,E.default.createElement(_.default,{height:46})),E.default.createElement("div",null,E.default.createElement(_.default,{height:46})),E.default.createElement("div",null,E.default.createElement(_.default,{height:46})))},Ya=w.default.div(Ka||(Ka=e.__makeTemplateObject(["\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"])),u.MediaQueries.mbDown,u.MediaQueries.mbUp),Va=w.default.div(Xa||(Xa=e.__makeTemplateObject(["\n & > div {\n width: 100%;\n margin-bottom: 8px;\n }\n"],["\n & > div {\n width: 100%;\n margin-bottom: 8px;\n }\n"]))),Qa=w.default.div(Ja||(Ja=e.__makeTemplateObject(["\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"])),u.MediaQueries.mbDown,(function(e){return e.theme.colors.neutral100}),(function(e){return e.theme.colors.neutral100}));w.default.div($a||($a=e.__makeTemplateObject(["\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"])),u.MediaQueries.mbDown,(function(e){return e.theme.colors.neutral100}),(function(e){return e.theme.colors.neutral100}));var Za=w.default.div(ei||(ei=e.__makeTemplateObject(["\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(e){return e.theme.colors.white}),(function(e){return e.theme.sizes.fsParagraph4}),(function(e){return e.theme.sizes.fwRegular}),(function(e){return e.theme.colors.blue50}),(function(e){return e.theme.colors.gray800}),(function(e){return e.theme.sizes.fwBold}),u.MediaQueries.mbDown),Wa=w.default.div(ni||(ni=e.__makeTemplateObject(["\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(e){return e.theme.colors.gray800}),(function(e){return e.theme.sizes.fsParagraph4}),(function(e){return e.theme.sizes.fwRegular}),(function(e){return e.theme.colors.primaryBase})),qa=w.default.div(ti||(ti=e.__makeTemplateObject([""],[""])));w.default.div(ai||(ai=e.__makeTemplateObject([""],[""])));var Ka,Xa,Ja,$a,ei,ni,ti,ai,ii,oi,li=w.default.div(ii||(ii=e.__makeTemplateObject(["\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"])),u.MediaQueries.mbDown,(function(e){return e.theme.colors.primaryBase}),(function(e){return e.theme.sizes.fsParagraph4}),(function(e){return e.theme.sizes.fwBold}),(function(e){return e.theme.mbColors.pink})),ri=w.default.div(oi||(oi=e.__makeTemplateObject(["\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"]))),si=function(){return E.default.createElement(Va,{style:{marginTop:"16px"}},E.default.createElement("div",null,E.default.createElement(_.default,{height:46})),E.default.createElement("div",null,E.default.createElement(_.default,{height:46})),E.default.createElement("div",null,E.default.createElement(_.default,{height:46})))},di=function(e){var n=e.isDisplayed,t=void 0!==n&&n,a=e.spotlights,i=e.isLoading,o=e.className,l=e.isMobile,r=e.DISCOVER_URL_FE,s=e.basePath,c=e.locale,p=e.siteType,u=ae();return t?E.default.createElement(Ya,null,E.default.createElement(m.Heading,{tag:"h3",style:{marginBottom:24}},u("home.navigator.menuItem.spotlights")),i&&t?E.default.createElement(Qa,{className:o},E.default.createElement(si,null)):E.default.createElement(Qa,{"data-is-displayed":t,className:o},a.map((function(e,n){return E.default.createElement(Wa,{style:{textDecoration:"none"},key:"spotlight-"+n},l?E.default.createElement("a",{href:e.permalink,style:{textDecoration:"none",color:d.theme.colors.gray800}},E.default.createElement(Za,{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://".concat(C[c]).concat(e.permalink)},E.default.createElement(qa,null,e.name))):E.default.createElement("a",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://".concat(C[c]).concat(e.permalink),style:{textDecoration:"none",pointerEvents:"auto"},href:"".concat(r).concat(e.permalink)},e.name))})),E.default.createElement("a",{style:{textDecoration:"none"},href:"".concat(r,"/spotlight/")},E.default.createElement(li,{key:"all-spotlights","data-theme":p,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"".concat(r,"/spotlight/")},u("home.navigator.menuItem.allSpotlight"),E.default.createElement(ri,null,"helloSites"===p?E.default.createElement("img",{src:"".concat(s,"/svg/chevronRightActive.svg"),style:{width:"16px",height:"16px"},alt:u("home.navigator.menuItem.allSpotlight")}):E.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},E.default.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},ci=function(e){var n=e.locale,t=e.basePath,a=e.isDisplayed,i=void 0!==a&&a,o=e.categories,l=e.spotlightsList,r=e.type,c=e.onSelectCategory,p=e.onClosePopup,u=e.desktopPopupType,h=e.isMobile,g=e.isLoading,f=e.DISCOVER_URL_FE,x=e.siteType,y=void 0===x?"helloSites":x,v=ae();return h?E.default.createElement(E.default.Fragment,null,g&&i?E.default.createElement(In,null,E.default.createElement(Ga,null)):E.default.createElement(In,{"data-is-displayed":i,"data-category-list-type":r},E.default.createElement(m.Heading,{tag:"h3",style:{marginBottom:8}},v("home.navigator.menuItem.healthCategories")),E.default.createElement(An,null,o.map((function(e,a){return E.default.createElement("div",{key:r+"-category-"+a},E.default.createElement("a",{style:{textDecoration:"none",color:d.theme.colors.gray800},onClick:function(n){e.childCates&&e.childCates.length>0&&"sub"!==r&&n.preventDefault()},href:f+e.permalink},E.default.createElement(Mn,{onClick:function(){null==c||c(e)},"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://".concat(C[n]).concat(e.permalink),"data-is-heading-category":"sub"===r&&e.childCates&&e.childCates.length>0},E.default.createElement(Nn,null,e.displayName),"main"===r&&E.default.createElement(Pn,null,"helloSites"===y?E.default.createElement("img",{src:"".concat(t,"/svg/chevronRight.svg"),style:{width:"16px",height:"16px"},alt:e.categoryName}):E.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},E.default.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"===r&&e.childCates&&e.childCates.length>0&&e.childCates.map((function(e,n){return E.default.createElement("a",{style:{textDecoration:"none"},href:e.permalink,key:r+"-2-"+n},E.default.createElement(Mn,{"data-is-heading-category":"sub"===r&&e.childCates&&e.childCates.length>0},E.default.createElement(s.Text,{size:"p3"},e.displayName)))}))))})),E.default.createElement("a",{style:{textDecoration:"none"},href:"".concat(f,"/categories/")},E.default.createElement(Rn,{key:"all-categories","data-theme":y,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"".concat(f,"/categories/")},v("home.navigator.menuItem.allCategories"),E.default.createElement(Bn,null,"helloSites"===y?E.default.createElement("img",{src:"".concat(t,"/svg/chevronRightActive.svg"),style:{width:"16px",height:"16px"},alt:v("home.navigator.menuItem.allCategories")}):E.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},E.default.createElement("path",{d:"M6.5 12H17.5M17.5 12L12.9118 8M17.5 12L12.9118 16",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"})))))),E.default.createElement(di,{isDisplayed:"main"===r,spotlights:l,isLoading:!1,isMobile:h,basePath:t,DISCOVER_URL_FE:f,locale:n,siteType:y}))):E.default.createElement(jn,{className:"top-menu-categories",onClick:p,"data-is-display":"categories"===u},E.default.createElement(Dn,null,E.default.createElement(s.Container,{style:{padding:"0 16px"},type:y},E.default.createElement(Hn,{"data-popup-type":u,onClick:function(e){e.stopPropagation()}},E.default.createElement("div",null,E.default.createElement(m.Heading,{tag:"h3",style:{marginBottom:24}},v("home.navigator.menuItem.healthCategories")),E.default.createElement(zn,{"data-disabled-divider":0===l.length},o.map((function(e,t){return E.default.createElement(Un,{style:{textDecoration:"none"},key:e.categoryName+t},E.default.createElement("a",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://".concat(C[n]).concat(e.permalink),style:{textDecoration:"none",pointerEvents:"auto"},onClick:p,href:"".concat(f).concat(e.permalink)},e.displayName),E.default.createElement(Fn,null,e.childCates&&e.childCates.map((function(e,t){return E.default.createElement("a",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://".concat(C[n]).concat(e.permalink),style:{textDecoration:"none",pointerEvents:"auto"},href:e.permalink,key:t},e.displayName)}))))})),E.default.createElement("a",{style:{textDecoration:"none"},href:"".concat(f,"/categories/")},E.default.createElement(Rn,{onClick:p,key:"all-categories","data-theme":y,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"".concat(f,"/categories/")},v("home.navigator.menuItem.allCategories"),E.default.createElement(Bn,null,"helloSites"===y?E.default.createElement("img",{src:"".concat(t,"/svg/chevronRightActive.svg"),style:{width:"16px",height:"16px"},alt:v("home.navigator.menuItem.allCategories")}):E.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},E.default.createElement("path",{d:"M6.5 12H17.5M17.5 12L12.9118 8M17.5 12L12.9118 16",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"}))))))),E.default.createElement(di,{isDisplayed:"main"===r,spotlights:l,isLoading:!1,basePath:t,DISCOVER_URL_FE:f,locale:n,siteType:y}),E.default.createElement(Gn,{onClick:p},E.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},E.default.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"})))))))},pi=w.default.div(vi||(vi=e.__makeTemplateObject([""],[""]))),ui=w.default.div(bi||(bi=e.__makeTemplateObject(["\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"]))),mi=w.default.div(Ei||(Ei=e.__makeTemplateObject(["\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"]))),hi=w.default.div(wi||(wi=e.__makeTemplateObject(["\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(e){return e.theme.colors.white}),(function(e){return e.theme.sizes.fsParagraph4}),(function(e){return e.theme.colors.blue50}),(function(e){return e.theme.colors.gray800}),(function(e){return e.theme.sizes.fwBold})),gi=w.default.div(ki||(ki=e.__makeTemplateObject(["\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"]))),fi=w.default.div(_i||(_i=e.__makeTemplateObject(["\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"])),F),xi=w.default.div(Ci||(Ci=e.__makeTemplateObject(["\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"]))),yi=w.default.div(Ti||(Ti=e.__makeTemplateObject(["\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"])),G,(function(e){return e.theme.colors.neutral50}),(function(e){return e.theme.colors.white}));w.default.div(Li||(Li=e.__makeTemplateObject(["\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 vi,bi,Ei,wi,ki,_i,Ci,Ti,Li,Oi,Si,Ii=w.default.div(Oi||(Oi=e.__makeTemplateObject(["\n position: relative;\n display: flex;\n flex-direction: column;\n"],["\n position: relative;\n display: flex;\n flex-direction: column;\n"])));w.default.div(Si||(Si=e.__makeTemplateObject(["\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(e){return e.theme.colors.gray800}),(function(e){return e.theme.sizes.fsParagraph4}),(function(e){return e.theme.sizes.fwRegular}),(function(e){return e.theme.colors.primaryBase}));var Ai,Mi,Ni,Pi,Ri,Bi,ji,Di,Hi,zi,Ui,Fi,Gi,Yi=function(e){var t=e.isDisplayed,a=void 0!==t&&t,i=e.categories,o=e.type,l=e.onSelectCategory,r=e.desktopPopupType,s=e.isMobile,c=e.isLoading,p=e.MARRY_BABY_FE,u=n.useState(-1),m=u[0],h=u[1],g=n.useState(!1),f=g[0],x=g[1];return s?E.default.createElement(E.default.Fragment,null,c&&a?E.default.createElement(In,null,E.default.createElement(Ga,null)):E.default.createElement(In,{"data-is-displayed":a,"data-category-list-type":o,style:{marginTop:24}},E.default.createElement(pi,{className:"marry-bb-menu-categories"},i.map((function(e,n){return E.default.createElement("div",{key:o+"-category-"+n,className:"wrapper-menu-category wrapper-menu-category-".concat(n),"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://marrybaby.vn".concat(e.permalink)},E.default.createElement("a",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://marrybaby.vn".concat(e.permalink),style:{textDecoration:"none",color:d.theme.colors.gray800},onClick:function(e){e.preventDefault()},href:"".concat(p).concat(e.permalink)},E.default.createElement(hi,{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://marrybaby.vn".concat(e.permalink),onClick:function(){var t;"main"===o||0===(null===(t=e.childCates)||void 0===t?void 0:t.length)?null==l||l(e):m===n?(x(!0),setTimeout((function(){h(-1),setTimeout((function(){x(!1)}),100)}),300)):h(n)},style:{display:"flex",alignItems:"center",justifyContent:"space-between"}},"main"===o?E.default.createElement(ui,{style:{backgroundColor:e.imageColor}},E.default.createElement("img",{src:e.iconUrl,style:{width:"24px",height:"24px"},alt:e.name})):E.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},E.default.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"})),E.default.createElement(Gt,{style:{fontWeight:d.theme.sizes.fwSemiBold},type:"subtitle-2"},e.displayName),E.default.createElement(Yn,null),"main"===o?E.default.createElement(Pn,null,E.default.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},E.default.createElement("path",{d:"M8.5 6L11 8.5L8.5 11",stroke:"#9495A0",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"}))):E.default.createElement(Pn,null,m!==n?E.default.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},E.default.createElement("path",{d:"M8.5 6L11 8.5L8.5 11",stroke:"#9495A0",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"})):E.default.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},E.default.createElement("path",{d:"M11.5 7.5L9 10L6.5 7.5",stroke:"#2661AD",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"}))))),"sub"===o&&e.childCates&&m===n&&e.childCates.length>0&&E.default.createElement(gi,null,E.default.createElement("div",{className:f?"collapsing":"expanding"},e.childCates.map((function(n,t){return E.default.createElement("a",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://marrybaby.vn".concat(e.permalink),style:{textDecoration:"none"},href:"".concat(p).concat(n.permalink),key:o+"-2-"+t},E.default.createElement(hi,{"data-is-heading-category":"sub"===o&&n.childCates&&n.childCates.length>0},E.default.createElement(mi,null,E.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},E.default.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"})),E.default.createElement(Gt,{type:"subtitle-2"},n.displayName))))})))),E.default.createElement("div",{style:{display:"none"}},e.childCates&&e.childCates.map((function(e,n){return E.default.createElement("a",{href:"".concat(p).concat(e.permalink),key:n,style:{textDecoration:"none"}},E.default.createElement("div",{"data-is-heading-category":"sub"===o&&e.childCates&&e.childCates.length>0},E.default.createElement("p",null,e.displayName)))}))))}))))):E.default.createElement(fi,{className:"top-menu-categories","data-is-display":"categories"===r,tabIndex:0},E.default.createElement(xi,null),E.default.createElement(yi,{"data-popup-type":r},E.default.createElement(Ii,{className:"marry-bb-menu-categories"},c?E.default.createElement("div",{style:{width:"100%",padding:"0 20px"}},E.default.createElement(Ga,null)):i.map((function(e,n){return E.default.createElement("div",{className:"wrapper-menu-category wrapper-menu-category-".concat(n),"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://marrybaby.vn".concat(e.permalink),key:o+"-category-"+n,onClick:function(){l(e)}},E.default.createElement("a",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://marrybaby.vn".concat(e.permalink),style:{textDecoration:"none",color:d.theme.colors.gray800},href:"".concat(p).concat(e.permalink)},E.default.createElement(hi,{style:{display:"flex",alignItems:"center",justifyContent:"flex-start"}},E.default.createElement(ui,{style:{backgroundColor:e.imageColor}},E.default.createElement("img",{src:e.iconUrl,style:{width:"24px",height:"24px"},alt:e.name})),E.default.createElement(Gt,{style:{fontWeight:d.theme.sizes.fwSemiBold},type:"subtitle-2"},e.displayName))))})))))},Vi=function(e){var n=e.isDisplayed,t=void 0!==n&&n,a=e.locale,i=e.discoverApiDomain,o=e.basePath,l=e.categories,r=e.spotlightsList,s=e.type,d=e.onSelectCategory,c=e.onClosePopup,p=e.desktopPopupType,u=e.isMobile,m=e.isLoading,h=e.callApiHandler,g=e.DISCOVER_URL_FE,f=e.MARRY_BABY_FE,x=e.siteType,y=void 0===x?"helloSites":x;return"helloSites"===y?E.default.createElement(ci,{locale:a,basePath:o,DISCOVER_URL_FE:g,isDisplayed:t,type:s,onSelectCategory:d,categories:l,spotlightsList:r,isLoading:m,isMobile:u,siteType:y,onClosePopup:c,desktopPopupType:p}):E.default.createElement(Yi,{basePath:o,callApiHandler:h,discoverApiDomain:i,isDisplayed:t,type:s,onSelectCategory:d,categories:l,isLoading:m,isMobile:u,MARRY_BABY_FE:f,desktopPopupType:p})},Qi=w.default.div(Ai||(Ai=e.__makeTemplateObject(["\n & > div {\n width: 100%;\n margin-bottom: 8px;\n }\n"],["\n & > div {\n width: 100%;\n margin-bottom: 8px;\n }\n"]))),Zi=w.default.div(Mi||(Mi=e.__makeTemplateObject(["\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(e){return e.theme.colors.neutral100}),(function(e){return e.theme.colors.neutral100})),Wi=w.default.div(Ni||(Ni=e.__makeTemplateObject(["\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(e){return e.theme.colors.white}),(function(e){return e.theme.sizes.fsParagraph4}),(function(e){return e.theme.colors.blue50}),(function(e){return e.theme.colors.gray800}),(function(e){return e.theme.sizes.fwBold})),qi=w.default.div(Pi||(Pi=e.__makeTemplateObject([""],[""]))),Ki=w.default.div(Ri||(Ri=e.__makeTemplateObject([""],[""]))),Xi=w.default.div(Bi||(Bi=e.__makeTemplateObject(["\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"]))),Ji=w.default.div(ji||(ji=e.__makeTemplateObject(["\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"])),F),$i=w.default.div(Di||(Di=e.__makeTemplateObject(["\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"])),G,(function(e){return e.theme.colors.neutral50}),(function(e){return e.theme.colors.white})),eo=w.default.div(Hi||(Hi=e.__makeTemplateObject(["\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"]))),no=w.default.div(zi||(zi=e.__makeTemplateObject(["\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(e){return e.theme.colors.gray800}),(function(e){return e.theme.sizes.fsParagraph4}),(function(e){return e.theme.sizes.fwRegular}),(function(e){return e.theme.colors.primaryBase})),to=w.default.div(Ui||(Ui=e.__makeTemplateObject(["\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(e){return e.theme.colors.primaryBase}),(function(e){return e.theme.sizes.fsParagraph4}),(function(e){return e.theme.sizes.fwBold}),(function(e){return e.theme.mbColors.pink})),ao=w.default.div(Fi||(Fi=e.__makeTemplateObject(["\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"]))),io=w.default.div(Gi||(Gi=e.__makeTemplateObject(["\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"]))),oo=function(){return E.default.createElement(Qi,{style:{marginTop:"16px"}},E.default.createElement("div",null,E.default.createElement(_.default,{height:46})),E.default.createElement("div",null,E.default.createElement(_.default,{height:46})),E.default.createElement("div",null,E.default.createElement(_.default,{height:46})))},lo=function(e){var n=e.isDisplayed,t=e.communities,a=e.type,i=e.onSelectCommunity,o=e.onClosePopup,l=e.isLoading,r=e.basePath,c=e.TOGETHER_URL_FE,p=e.siteType,u=void 0===p?"helloSites":p,m=e.isMobile,h=e.locale,g=e.desktopPopupType,f=ae();return m?E.default.createElement(E.default.Fragment,null,l&&n?E.default.createElement(Zi,null,E.default.createElement(oo,null)):E.default.createElement(Zi,{"data-category-list-type":a,"data-is-displayed":n},"main"===a&&t.map((function(e,n){return E.default.createElement("div",{key:a+"-category-"+n},E.default.createElement("a",{style:{textDecoration:"none",color:d.theme.colors.gray800},onClick:function(e){e.preventDefault()},href:"".concat(c,"/").concat(e.communitySlug)},E.default.createElement(Wi,{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://".concat(C[h],"/").concat(e.communitySlug),onClick:function(){i({community:e,isSetToSubMenu:!0})},"data-is-heading-category":!1},E.default.createElement(Xi,null,E.default.createElement("img",{src:e.thumbnail,style:{width:"40px",height:"40px"},alt:e.title}),E.default.createElement(qi,null,e.title)),E.default.createElement(Ki,null,"helloSites"===u?E.default.createElement("img",{src:"".concat(r,"/svg/chevronRight.svg"),style:{width:"16px",height:"16px"},alt:e.title}):E.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},E.default.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"===a&&t.map((function(e,n){return E.default.createElement("div",{key:a+"-category-"+n},E.default.createElement("a",{style:{textDecoration:"none",color:d.theme.colors.gray800},onClick:function(e){e.preventDefault()},href:"".concat(c,"/").concat(e.communitySlug)},E.default.createElement(Wi,{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://".concat(C[h],"/").concat(e.communitySlug),onClick:function(){i({community:e,isSetToSubMenu:!1})},"data-is-heading-category":!1},E.default.createElement(Xi,null,E.default.createElement("img",{src:e.thumbnail,style:{width:"40px",height:"40px"},alt:e.title}),E.default.createElement(qi,null,e.title)))))})),E.default.createElement("a",{style:{textDecoration:"none"},href:c+"/"},E.default.createElement(to,{onClick:o,key:"all-communities","data-theme":u,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":c+"/"},f("home.navigator.menuItem.allCommunities"),E.default.createElement(ao,null,E.default.createElement("img",{src:"".concat(r,"/svg/chevronRightActive.svg"),style:{width:"16px",height:"16px"},alt:f("home.navigator.menuItem.allCommunities")})))))):E.default.createElement(Ji,{className:"top-menu-communities",onClick:o,"data-is-display":"communities"===g},E.default.createElement($i,null,E.default.createElement(s.Container,{style:{padding:"0 16px"},type:u},E.default.createElement(eo,{"data-popup-type":g,onClick:function(e){e.stopPropagation()}},E.default.createElement(E.default.Fragment,null,t.map((function(e){return E.default.createElement(no,{key:e.title,onClick:o},E.default.createElement("a",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://".concat(C[h],"/").concat(e.communitySlug),style:{textDecoration:"none",color:d.theme.colors.gray800},className:"iconMenu",href:"".concat(c,"/").concat(e.communitySlug)},E.default.createElement("div",{style:{display:"flex"}},E.default.createElement("img",{alt:"health-tool-icon",src:e.thumbnail||"".concat(r,"/images/avatar.jpg"),style:{width:"32px",height:"32px"}})),E.default.createElement("p",null,e.title)))})),E.default.createElement("a",{style:{textDecoration:"none"},href:c+"/"},E.default.createElement(to,{onClick:o,key:"all-communities","data-theme":u,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":c+"/"},f("home.navigator.menuItem.allCommunities"),E.default.createElement(ao,null,E.default.createElement("img",{src:"".concat(r,"/svg/chevronRightActive.svg"),style:{width:"16px",height:"16px"},alt:f("home.navigator.menuItem.allCommunities")}))))),E.default.createElement(io,{onClick:o},E.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},E.default.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"})))))))},ro=w.default.div(mo||(mo=e.__makeTemplateObject(["\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(e){return e.theme.mbColors.lightGray})),so=w.default.div(ho||(ho=e.__makeTemplateObject(["\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(e){return e.theme.colors.white}),(function(e){return e.theme.sizes.fsParagraph4})),co=w.default.div(go||(go=e.__makeTemplateObject(["\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"])),F),po=w.default.div(fo||(fo=e.__makeTemplateObject(["\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"]))),uo=w.default.div(xo||(xo=e.__makeTemplateObject(["\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"])),G,(function(e){return e.theme.colors.neutral50}),(function(e){return e.theme.colors.white}));w.default.div(yo||(yo=e.__makeTemplateObject(["\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 mo,ho,go,fo,xo,yo,vo,bo,Eo=w.default.div(vo||(vo=e.__makeTemplateObject(["\n position: relative;\n display: flex;\n flex-direction: column;\n"],["\n position: relative;\n display: flex;\n flex-direction: column;\n"])));w.default.div(bo||(bo=e.__makeTemplateObject(["\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(e){return e.theme.colors.gray800}),(function(e){return e.theme.sizes.fsParagraph4}),(function(e){return e.theme.sizes.fwRegular}),(function(e){return e.theme.colors.primaryBase}));var wo=function(e){var n=e.isDisplayed,t=void 0!==n&&n,a=e.communities,i=e.onSelectCommunity,o=e.isLoading,l=e.basePath,r=e.type,s=e.isMobile,c=e.onClosePopup,p=e.desktopPopupType,u=e.TOGETHER_URL_FE;return s?o&&t?E.default.createElement(Zi,null,E.default.createElement(oo,null)):E.default.createElement(Zi,{style:{marginTop:24},"data-category-list-type":r,"data-is-displayed":t},a.map((function(e,n){return E.default.createElement("a",{className:"wrapper-menu-community wrapper-menu-community-".concat(n," iconMenu"),key:"community-"+n,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://marrybaby.vn/community/".concat(e.communitySlug)},E.default.createElement(so,{onClick:function(){i({community:e,isSetToSubMenu:!1})}},E.default.createElement(ro,null,E.default.createElement("img",{alt:"health-tool-icon",src:e.thumbnail||"".concat(l,"/images/avatar.jpg"),style:{width:"24px",height:"24px"}})),E.default.createElement(qi,null,e.title)))}))):E.default.createElement(co,{className:"top-menu-communities",onClick:c,"data-is-display":"communities"===p},E.default.createElement(po,null),E.default.createElement(uo,{"data-popup-type":p,onClick:function(e){e.stopPropagation()}},E.default.createElement(Eo,null,o?E.default.createElement("div",{style:{width:"100%",padding:"0 20px"}},E.default.createElement(oo,null)):a.map((function(e,n){return E.default.createElement("a",{className:"wrapper-menu-community wrapper-menu-community-".concat(n," iconMenu"),"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://marrybaby.vn/community/".concat(e.communitySlug),style:{textDecoration:"none",color:d.theme.colors.gray800},href:"".concat(u,"/").concat(e.communitySlug),key:e.title},E.default.createElement(so,{onClick:c},E.default.createElement(ro,{style:{backgroundColor:e.color||d.theme.mbColors.lightGray}},E.default.createElement("img",{alt:e.communitySlug,src:e.thumbnail||"".concat(l,"/images/avatar.jpg"),style:{width:"24px",height:"24px"}})),E.default.createElement(Gt,{style:{fontWeight:d.theme.sizes.fwSemiBold},type:"subtitle-2"},e.title)))})))))},ko=function(e){var n=e.isDisplayed,t=void 0!==n&&n,a=e.locale,i=e.communities,o=e.type,l=e.onSelectCommunity,r=e.onClosePopup,s=e.isLoading,d=e.basePath,c=e.TOGETHER_URL_FE,p=e.siteType,u=void 0===p?"helloSites":p,m=e.isMobile,h=e.desktopPopupType,g=e.togetherApiDomain;return"helloSites"===u?E.default.createElement(lo,{isDisplayed:t,locale:a,TOGETHER_URL_FE:c,basePath:d,type:o,onSelectCommunity:l,communities:i,isLoading:s,isMobile:m,siteType:u,togetherApiDomain:g,desktopPopupType:h,onClosePopup:r}):E.default.createElement(wo,{isDisplayed:t,locale:a,TOGETHER_URL_FE:c,basePath:d,type:o,onSelectCommunity:l,communities:i,isLoading:s,isMobile:m,togetherApiDomain:g,desktopPopupType:h,onClosePopup:r})},_o=w.default.div(Bo||(Bo=e.__makeTemplateObject(["\n & > div {\n width: 100%;\n margin-bottom: 8px;\n }\n"],["\n & > div {\n width: 100%;\n margin-bottom: 8px;\n }\n"]))),Co=w.default.div(jo||(jo=e.__makeTemplateObject(["\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"]))),To=w.default.div(Do||(Do=e.__makeTemplateObject(["\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(e){return e.theme.colors.white}),(function(e){return e.theme.sizes.fsParagraph4}),(function(e){return e.theme.colors.neutral100}),(function(e){return e.theme.colors.blue50}),(function(e){return e.theme.colors.gray800}),(function(e){return e.theme.sizes.fwBold})),Lo=w.default.div(Ho||(Ho=e.__makeTemplateObject([""],[""]))),Oo=w.default.div(zo||(zo=e.__makeTemplateObject(["\n padding-right: 16px;\n"],["\n padding-right: 16px;\n"]))),So=w.default.div(Uo||(Uo=e.__makeTemplateObject(["\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"])),F),Io=w.default.div(Fo||(Fo=e.__makeTemplateObject(["\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"])),G,(function(e){return e.theme.colors.neutral50}),(function(e){return e.theme.colors.white})),Ao=w.default.div(Go||(Go=e.__makeTemplateObject(["\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"]))),Mo=w.default.div(Yo||(Yo=e.__makeTemplateObject(["\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(e){return e.theme.colors.gray800}),(function(e){return e.theme.sizes.fsParagraph4}),(function(e){return e.theme.sizes.fwRegular}),(function(e){return e.theme.colors.primaryBase})),No=w.default.div(Vo||(Vo=e.__makeTemplateObject(["\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(e){return e.theme.colors.primaryBase}),(function(e){return e.theme.sizes.fsParagraph4}),(function(e){return e.theme.sizes.fwBold}),(function(e){return e.theme.mbColors.pink})),Po=w.default.div(Qo||(Qo=e.__makeTemplateObject(["\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=w.default.div(Zo||(Zo=e.__makeTemplateObject(["\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"])));w.default.div(Wo||(Wo=e.__makeTemplateObject(["\n &[data-is-displayed='false'] {\n display: none;\n }\n"],["\n &[data-is-displayed='false'] {\n display: none;\n }\n"])));var Bo,jo,Do,Ho,zo,Uo,Fo,Go,Yo,Vo,Qo,Zo,Wo,qo,Ko,Xo=w.default.div(qo||(qo=e.__makeTemplateObject(["\n margin-bottom: 56px;\n margin-top: 18px;\n"],["\n margin-bottom: 56px;\n margin-top: 18px;\n"]))),Jo=w.default.div(Ko||(Ko=e.__makeTemplateObject(["\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"]))),$o=function(){return E.default.createElement(_o,{style:{marginTop:"16px"}},E.default.createElement("div",null,E.default.createElement(_.default,{height:46})),E.default.createElement("div",null,E.default.createElement(_.default,{height:46})),E.default.createElement("div",null,E.default.createElement(_.default,{height:46})))},el=function(e){var n=e.healthTools,t=e.onSelectHealthTool,a=e.basePath,i=e.isDesktop,o=e.onClosePopup,l=e.HEALTH_TOOL_URL_FE,r=e.locale,s=e.isGrouped;return(null==n?void 0:n.length)?i?E.default.createElement(E.default.Fragment,null,n.map((function(e,n){return E.default.createElement(Mo,{"data-grouped":s,key:e.title,onClick:o},E.default.createElement("a",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://".concat(C[r]).concat(e.link),style:{textDecoration:"none",color:d.theme.colors.gray800},className:"iconMenu",href:e.link.startsWith("http")?e.link:"".concat(l).concat(e.link)},E.default.createElement("div",{style:{display:"flex"}},E.default.createElement("img",{alt:"health-tool-icon",src:e.icon||"/images/avatar.jpg",style:{width:"32px",height:"32px"}})),E.default.createElement("p",null,e.title)))}))):E.default.createElement(E.default.Fragment,null,n.map((function(e,n){return E.default.createElement("a",{key:"tool-"+n},E.default.createElement(To,{onClick:function(){t(e)},"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://".concat(C[r]).concat(e.link)},E.default.createElement(Oo,null,E.default.createElement("img",{alt:"health-tool-icon",src:e.icon||"".concat(a,"/images/avatar.jpg"),style:{width:"32px",height:"32px"}})),E.default.createElement(Lo,null,e.title)))}))):null},nl=function(e){var n,t,a,i,o=e.isDisplayed,l=e.healthTools,r=e.healthToolsByCategory,d=e.onSelectHealthTool,c=e.isLoading,p=e.basePath,u=e.locale,h=e.isMobile,g=e.onClosePopup,f=e.desktopPopupType,x=e.HEALTH_TOOL_URL_FE,y=e.STATIC_PAGES,v=e.siteType,b=ae();return h?E.default.createElement(E.default.Fragment,null,c&&o?E.default.createElement(Co,null,E.default.createElement($o,null)):E.default.createElement(Co,{"data-category-list-type":"main","data-is-displayed":o},(null==r?void 0:r.length)?r.map((function(e,n){var t;return!!(null===(t=e.healthTools)||void 0===t?void 0:t.length)&&E.default.createElement(E.default.Fragment,{key:"category-health-tool-".concat(n)},E.default.createElement(m.Heading,{tag:"h4",fontWeight:"bold",className:"title"},E.default.createElement("span",{dangerouslySetInnerHTML:{__html:e.name}})),E.default.createElement(el,{healthTools:e.healthTools.slice(0,4),onSelectHealthTool:d,basePath:p,HEALTH_TOOL_URL_FE:x,locale:u}))})):E.default.createElement(el,{healthTools:l,onSelectHealthTool:d,basePath:p,HEALTH_TOOL_URL_FE:x,locale:u}),E.default.createElement(Xo,null,E.default.createElement("a",{href:"".concat(x).concat((null===(n=y[u])||void 0===n?void 0:n.HEALTH_TOOLS)||""),style:{textDecoration:"none"}},E.default.createElement(No,{key:"all-health-tools-mobile","data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"".concat(x).concat((null===(t=y[u])||void 0===t?void 0:t.HEALTH_TOOLS)||"")},b("home.navigator.menuItem.allHealthTools"),E.default.createElement(Po,null,E.default.createElement("img",{src:"".concat(p,"/svg/chevronRightActive.svg"),style:{width:"16px",height:"16px"},alt:b("home.navigator.menuItem.allHealthTools")}))))))):E.default.createElement(So,{className:"top-menu-health-tools",onClick:g,"data-is-display":"tools"===f},E.default.createElement(Io,null,E.default.createElement(s.Container,{style:{padding:"0 16px"}},E.default.createElement(Ao,{"data-popup-type":f,onClick:function(e){e.stopPropagation()}},E.default.createElement(E.default.Fragment,null,(null==r?void 0:r.length)?r.map((function(e,n){var t;return!!(null===(t=e.healthTools)||void 0===t?void 0:t.length)&&E.default.createElement(Jo,{key:"health-tools-categories-".concat(n)},E.default.createElement(m.Heading,{tag:"h4",as:"h2",fontWeight:"bold"},E.default.createElement("span",{dangerouslySetInnerHTML:{__html:e.name}})),E.default.createElement(el,{healthTools:e.healthTools.slice(0,4),onSelectHealthTool:d,basePath:p,HEALTH_TOOL_URL_FE:x,locale:u,isDesktop:!0,isGrouped:!0,onClosePopup:g}))})):E.default.createElement(el,{healthTools:l,onSelectHealthTool:d,basePath:p,HEALTH_TOOL_URL_FE:x,locale:u,isDesktop:!0,onClosePopup:g}),E.default.createElement("a",{style:{textDecoration:"none"},href:"".concat(x).concat((null===(a=y[u])||void 0===a?void 0:a.HEALTH_TOOLS)||"")},E.default.createElement(No,{onClick:g,key:"all-health-tools","data-theme":v,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"".concat(x).concat((null===(i=y[u])||void 0===i?void 0:i.HEALTH_TOOLS)||"")},b("home.navigator.menuItem.allHealthTools"),E.default.createElement(Po,null,E.default.createElement("img",{src:"".concat(p,"/svg/chevronRightActive.svg"),style:{width:"16px",height:"16px"},alt:b("home.navigator.menuItem.allHealthTools")}))))),E.default.createElement(Ro,{onClick:g},E.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},E.default.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"})))))))},tl=w.default.div(rl||(rl=e.__makeTemplateObject(["\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(e){return e.theme.mbColors.lightGray})),al=w.default.div(sl||(sl=e.__makeTemplateObject(["\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(e){return e.theme.colors.white}),(function(e){return e.theme.sizes.fsParagraph4})),il=w.default.div(dl||(dl=e.__makeTemplateObject(["\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"])),F),ol=w.default.div(cl||(cl=e.__makeTemplateObject(["\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"]))),ll=w.default.div(pl||(pl=e.__makeTemplateObject(["\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"])),G,(function(e){return e.theme.colors.neutral50}),(function(e){return e.theme.colors.white}));w.default.div(ul||(ul=e.__makeTemplateObject(["\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 rl,sl,dl,cl,pl,ul,ml,hl,gl=w.default.div(ml||(ml=e.__makeTemplateObject(["\n position: relative;\n display: flex;\n flex-direction: column;\n"],["\n position: relative;\n display: flex;\n flex-direction: column;\n"])));w.default.div(hl||(hl=e.__makeTemplateObject(["\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(e){return e.theme.colors.gray800}),(function(e){return e.theme.sizes.fsParagraph4}),(function(e){return e.theme.sizes.fwRegular}),(function(e){return e.theme.colors.primaryBase}));var fl,xl,yl,vl,bl,El,wl,kl,_l,Cl,Tl,Ll=function(e){var n=e.isDisplayed,t=void 0!==n&&n,a=e.healthTools,i=e.onSelectHealthTool,o=e.isLoading,l=e.basePath,r=e.isMobile,s=e.onClosePopup,c=e.HEALTH_TOOL_URL_FE,p=e.desktopPopupType;return r?o&&t?E.default.createElement(Co,null,E.default.createElement($o,null)):E.default.createElement(Co,{style:{marginTop:24},"data-category-list-type":"main","data-is-displayed":t},a.map((function(e,n){return E.default.createElement("a",{key:"tool-"+n,className:"wrapper-menu-health-tool wrapper-menu-health-tool-".concat(n),"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://https://marrybaby.vn".concat(e.link)},E.default.createElement(al,{onClick:function(){i(e)}},E.default.createElement(tl,null,E.default.createElement("img",{alt:"health-tool-icon",src:e.icon||"".concat(l,"/images/avatar.jpg"),style:{width:"24px",height:"24px"}})),E.default.createElement(Lo,null,e.title)))}))):E.default.createElement(il,{className:"top-menu-health-tools",onClick:s,"data-is-display":"tools"===p},E.default.createElement(ol,null),E.default.createElement(ll,{"data-popup-type":p,onClick:function(e){e.stopPropagation()}},E.default.createElement(gl,null,o?E.default.createElement("div",{style:{width:"100%",padding:"0 20px"}},E.default.createElement($o,null)):a.map((function(e,n){return E.default.createElement("a",{className:"wrapper-menu-health-tool wrapper-menu-health-tool-".concat(n," iconMenu"),"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://marrybaby.vn".concat(e.link),style:{textDecoration:"none",color:d.theme.colors.gray800},href:e.link.startsWith("http")?e.link:"".concat(c).concat(e.link),key:e.title,onClick:function(e){e.stopPropagation()}},E.default.createElement(al,{onClick:s},E.default.createElement(tl,null,E.default.createElement("img",{alt:e.title,src:e.icon||"/images/avatar.jpg",style:{width:"24px",height:"24px"}})),E.default.createElement(Gt,{style:{fontWeight:d.theme.sizes.fwSemiBold},type:"subtitle-2"},e.title)))})))))},Ol=function(e){var n=e.isDisplayed,t=void 0!==n&&n,a=e.healthTools,i=e.healthToolsByCategory,o=e.onSelectHealthTool,l=e.isLoading,r=e.basePath,s=e.locale,d=e.isMobile,c=e.onClosePopup,p=e.desktopPopupType,u=e.HEALTH_TOOL_URL_FE,m=e.siteType,h=e.discoverApiDomain,g=e.STATIC_PAGES;return"helloSites"===m?E.default.createElement(nl,{isDisplayed:t,locale:s,basePath:r,discoverApiDomain:h,HEALTH_TOOL_URL_FE:u,onSelectHealthTool:o,healthTools:a,healthToolsByCategory:i,isLoading:l,isMobile:d,siteType:m,desktopPopupType:p,onClosePopup:c,STATIC_PAGES:g}):E.default.createElement(Ll,{isDisplayed:t,basePath:r,discoverApiDomain:h,HEALTH_TOOL_URL_FE:u,onSelectHealthTool:o,healthTools:a||i.reduce((function(e,n){return e.concat(n.healthTools)}),[]),isLoading:l,isMobile:d,desktopPopupType:p,onClosePopup:c})},Sl=w.default.div(fl||(fl=e.__makeTemplateObject(["\n & > div {\n width: 100%;\n min-height: 109px;\n }\n"],["\n & > div {\n width: 100%;\n min-height: 109px;\n }\n"]))),Il=w.default.div(xl||(xl=e.__makeTemplateObject(["\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(e){return e.theme.colors.neutral100}),(function(e){return e.theme.colors.white}),(function(e){return e.theme.colors.primaryBase}),(function(e){return e.theme.colors.white})),Al=function(){return E.default.createElement(E.default.Fragment,null,E.default.createElement(Sl,null,E.default.createElement("div",null,E.default.createElement(_.default,{height:109})),E.default.createElement("div",null,E.default.createElement(_.default,{height:109})),E.default.createElement("div",null,E.default.createElement(_.default,{height:109})),E.default.createElement("div",null,E.default.createElement(_.default,{height:109})),E.default.createElement("div",null,E.default.createElement(_.default,{height:109})),E.default.createElement("div",null,E.default.createElement(_.default,{height:109}))))},Ml=function(e){var n=e.specialty,t=e.id,a=e.isActive,i=void 0!==a&&a,o=e.position,l=e.className,r=e.onClick;return n.name&&""!==n.name?E.default.createElement(Il,{onClick:function(){r&&r(t)},className:l,"data-is-active":i,"data-card-position":o},E.default.createElement("img",{src:n.thumbnail,style:{objectFit:"contain",height:"55px",width:"55px"},alt:"category-menu-card"}),E.default.createElement(s.Text,{type:"bold",size:"label2"},n.name)):E.default.createElement(Al,null)},Nl=function(e){var n=e.selectedMenuMainItem,t=e.spotlightsList,a=e.locale,i=e.basePath,o=e.callApiHandler,l=e.discoverApiDomain,s=e.DISCOVER_URL_FE,d=e.MARRY_BABY_FE,c=e.onSelectCategory,p=e.isMobile,u=e.siteType,m=e.onCategoryClick,h=ae(),g=n.childCates,f=n.categoryName;return E.default.createElement(Wn,{"data-type":"sub-level","data-with-search-input":!1},E.default.createElement(Kn,null,E.default.createElement(Vi,{isDisplayed:!0,locale:a,basePath:i,callApiHandler:o,discoverApiDomain:l,DISCOVER_URL_FE:s,MARRY_BABY_FE:d,categories:g||[],spotlightsList:t,type:"sub",onSelectCategory:c,isMobile:p,siteType:u,desktopPopupType:"none",isLoading:!1,onClosePopup:void 0}),E.default.createElement(Zn,{"data-site-type":u},E.default.createElement(r.Button,{onClick:m,className:"category-button",size:"md",theme:u},E.default.createElement($n,null,E.default.createElement("div",null,h("home.menu.category.view",{category:f})),"helloSites"===u?E.default.createElement("img",{src:q,style:{width:"16px",height:"16px"},className:"button-image",alt:h("home.menu.category.view",{category:f})}):E.default.createElement("svg",{width:"25",height:"24",viewBox:"0 0 25 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},E.default.createElement("path",{d:"M7 12H18M18 12L13.4118 8M18 12L13.4118 16",stroke:"white",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"})))))))},Pl=function(t){var a=t.selectedMenuMainItem,i=t.onCommunityClick,o=t.onSelectCommunity,l=t.basePath,s=void 0===l?"":l,d=t.callApiHandler,c=t.togetherApiDomain,p=t.locale,u=t.TOGETHER_URL_FE,m=t.siteType,h=t.isMobile,g=ae(),f=n.useState([]),x=f[0],y=f[1],v=n.useState(!1),b=v[0],w=v[1],_=a.communityId,C=a.title;return n.useEffect((function(){w(!0),e.__awaiter(void 0,void 0,void 0,(function(){var n,t,a,i,o;return e.__generator(this,(function(l){switch(l.label){case 0:return[4,d("helloSites"===m?ge(p,c,{communityId:_}):(r=c,s={communityId:_},(r||"https://together.hellohealthgroup.com/")+"api/v1/"+k.default(A,e.__assign(e.__assign({},s),{websiteUrl:"https://marrybaby.vn"}))),"GET")];case 1:return null!==(n=l.sent())&&(null===(o=null===(i=null===(a=null==n?void 0:n.data)||void 0===a?void 0:a.data)||void 0===i?void 0:i.topics)||void 0===o?void 0:o.length)>0&&(t=n.data.data.topics.map(oe),y(t)),w(!1),[2]}var r,s}))}))}),[a]),E.default.createElement(Wn,{"data-type":"sub-level","data-with-search-input":!1},E.default.createElement(Kn,null,E.default.createElement(ko,{isDisplayed:!0,locale:p,communities:x,type:"sub",onSelectCommunity:o,isLoading:b,basePath:s,TOGETHER_URL_FE:u,togetherApiDomain:c,siteType:m,isMobile:h,desktopPopupType:"none",onClosePopup:void 0}),E.default.createElement(Zn,null,E.default.createElement(r.Button,{onClick:i,className:"category-button",size:"md"},E.default.createElement($n,null,E.default.createElement("div",null,g("home.menu.category.view",{category:C})),E.default.createElement("img",{src:q,style:{width:"16px",height:"16px"},className:"button-image",alt:g("home.menu.category.view",{category:C})}))))))},Rl={categories:{icon:E.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},E.default.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"}),E.default.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:d.theme.mbColors.lightPink},healthTools:{icon:E.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},E.default.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"}),E.default.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"}),E.default.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"}),E.default.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:d.theme.mbColors.lightOrange},together:{icon:E.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},E.default.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"}),E.default.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:d.theme.mbColors.lightBlue}},Bl=function(n){var t,a,i,o=n.item,l=n.isActive,r=n.isGoingForward,s=n.onServiceClicked;return E.default.createElement("div",{style:{display:"flex",flex:1,flexDirection:"column",alignItems:"center",justifyContent:"center"}},E.default.createElement("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",height:56,width:56,marginBottom:8,borderRadius:16},onClick:function(){null==s||s(o.id)}},E.default.createElement("div",{style:e.__assign({display:"flex",alignItems:"center",justifyContent:"center",height:48,width:48,flexShrink:0,backgroundColor:null!==(a=null===(t=Rl[o.id])||void 0===t?void 0:t.color)&&void 0!==a?a:"white",borderRadius:16},l?{height:56,width:56,boxShadow:"0px 0px 24px rgba(0, 0, 0, 0.08)",border:"4px solid white"}:{})},null===(i=Rl[o.id])||void 0===i?void 0:i.icon)),E.default.createElement(Gt,{type:"subtitle-3",color:l&&d.theme.mbColors.pink,style:{fontWeight:d.theme.sizes.fwSemiBold}},o.name),l&&(r?E.default.createElement(It,{style:{animationDuration:"0.2s",animationName:"menuLeftToRightTrans"}}):E.default.createElement(It,{style:{animationDuration:"0.2s",animationName:"menuRightToLeftTrans"}})))},jl=function(e){var t=e.menuItems,a=e.activeItem,i=e.onServiceClicked,o=n.useState(0),l=o[0],r=o[1],s=n.useRef(!0);return E.default.createElement("div",{style:{display:"flex",alignItems:"flex-start",justifyContent:"space-evenly"}},t.map((function(e,n){return E.default.createElement(Bl,{onServiceClicked:function(e){s.current=l<n,r(n),null==i||i(e)},key:"item"+n,item:e,isGoingForward:s.current,isActive:a.id===e.id})})))},Dl=function(e){var t=e.isMobile,a=void 0!==t&&t,i=e.isMobileMenuOpened,o=void 0===i?void 0:i,r=e.categories,c=e.healthTools,p=e.healthToolsByCategory,u=e.careSpecialties,h=e.togetherCommunities,g=e.spotlightsList,f=e.closePopup,x=e.popupType,y=void 0===x?"none":x,v=e.onMobileMenuClick,b=e.footer,w=e.care.CARE_URL_FE,k=e.discover,_=k.discoverApiDomain,C=k.DISCOVER_URL_FE,L=e.together,O=L.togetherApiDomain,S=L.TOGETHER_URL_FE,I=e.sso.SSO_URL,A=e.statics,M=A.MARRY_BABY_FE,N=A.HOME_PAGE_URL,P=A.STATIC_PAGES,R=A.HEALTH_TOOL_URL_FE,B=e.marryBaby.tone,j=e.locale,D=e.siteType,H=e.basePath,z=e.callApiHandler,U=e.activeMenuService,F=e.menuItems,G=e.routerAsPath,Y=ae(),V=n.useState(!1),Q=V[0],Z=V[1],W=n.useState(r),q=W[0],K=W[1],X=n.useState(void 0),J=X[0],$=X[1],ee=n.useState(void 0),ne=ee[0],te=ee[1],ie=n.useState(!1),oe=ie[0],le=ie[1],re=n.useState(null==F?void 0:F.find((function(e){return e.id===U}))),se=re[0],de=re[1],ce=n.useState(!1),pe=ce[0],ue=ce[1],me=n.useState(!1),he=me[0],ge=me[1],xe=function(){J&&(window.location.href=J.permalink),ke(),f&&f()},ye=function(){J&&(window.location.href="".concat(S,"/").concat(J.communitySlug)),ke(),f&&f()},ve=function(e){e.childCates&&e.childCates.length>0?(Z(!0),$(e)):(window.location.href="helloSites"===D?C+e.permalink:M+e.permalink,ke(),f&&f())},be=function(e){var n=e.community;e.isSetToSubMenu?(Z(!0),$(n)):(window.location.href="".concat(S,"/").concat(n.communitySlug),ke(),f&&f())},Ee=function(e){window.location.href=e.link.startsWith("http")?e.link:R+e.link,ke(),f&&f()},we=function(e){window.location.href=w+fe({type:"DOCTOR",specialtySlug:e.slug,locale:j}),null==f||f()},ke=function(){$(void 0),Z(!1)},_e=function(e){de(F.find((function(n){return n.id===e})))},Ce=T[j||"en-PH"]||{};return n.useEffect((function(){var e;te("categories"===se.id?(null===(e=null==J?void 0:J.childCates)||void 0===e?void 0:e.length)>0&&E.default.createElement(Nl,{selectedMenuMainItem:J,spotlightsList:[],locale:j,basePath:H,callApiHandler:z,discoverApiDomain:_,DISCOVER_URL_FE:C,MARRY_BABY_FE:M,onSelectCategory:ve,isMobile:a,siteType:D,onCategoryClick:xe}):"together"===se.id&&J&&E.default.createElement(Pl,{selectedMenuMainItem:J,onCommunityClick:ye,onSelectCommunity:be,TOGETHER_URL_FE:S,basePath:H,callApiHandler:z,locale:j,togetherApiDomain:O,siteType:D,isMobile:a}))}),[J,se]),n.useEffect((function(){ue(!0)}),[]),n.useEffect((function(){!he&&o&&ge(!0)}),[o]),n.useEffect((function(){K(r)}),[r]),a?E.default.createElement(E.default.Fragment,null,E.default.createElement(Vn,{id:pe?"":"categories-menu","data-opened":o||(he?o:"undefined"),key:pe?"t":"f"},E.default.createElement(Qn,{"data-opened":o,"data-type":"category","data-is-sub-category-opened":Q},E.default.createElement(ln,{siteType:D,locale:j,isDisplayed:!0,searchPlaceholder:"",statics:{DISCOVER_URL_FE:C,SSO_URL:I,HOME_PAGE_URL:N,MARRY_BABY_FE:M,CARE_URL_FE:w},isMobile:a,isLoginButtonDisplayed:!1,type:"popup",onMenuClick:function(){return null==v?void 0:v("categories")},onSearchChange:function(e){le(""!==e),K(e&&""!==e?r.filter((function(n){return n.categoryName.toLowerCase().search(e.toLowerCase())>-1||n.slug.replace("-","").toLowerCase().search(e.replace(" ","").toLowerCase())>-1})):r)},isSearchBarDisplay:!1,basePath:H,isAmp:!1,isInit:!1,isStatic:!1,routerAsPath:G,title:"",onTopBarAppears:void 0,currentPopupType:"none",marryBaby:{tone:B},menu:void 0,menuItems:void 0,onSearchKeyPress:void 0,openPopup:void 0,profileMenu:void 0,userInfo:void 0}),E.default.createElement(Wn,null,E.default.createElement(Kn,null,E.default.createElement(Xn,null,E.default.createElement(Jn,{"data-hide-on-search":oe,"data-is-sub-category-opened":Q},"helloSites"===D?E.default.createElement(E.default.Fragment,null,E.default.createElement(At,{onClick:function(){window.location.href="".concat(l.getCurrentBaseUrl(j),"/search")}},E.default.createElement(s.PureInput,{className:"fake-search-input",name:"search-input-menu-service"+(pe?"":"-temp"),size:"md",placeholder:Y("home.search",{site:Ce?Ce.SITE_NAME:""}),onChange:function(){},type:"search",onFocus:function(e){e.preventDefault()},value:"",displayIcon:E.default.createElement("a",{"data-event-category":"Search Button","data-event-action":"Click"},E.default.createElement(Mt,null))})),E.default.createElement(m.Heading,{tag:"h5",color:d.theme.colors.gray800},Y("menu.categories.title")),E.default.createElement(qn,{"data-card-array-no-margin-style":!0},F.map((function(e,n){return E.default.createElement(Ml,{onClick:_e,key:"service-"+n,specialty:e,id:e.id,isActive:e.id===se.id,isMobile:a,position:0===n?"left":n===F.length-1?"right":"center"})})))):E.default.createElement(jl,{menuItems:F,activeItem:se,onServiceClicked:_e})),E.default.createElement(Vi,{isDisplayed:"categories"===se.id,locale:j,basePath:H,callApiHandler:z,onClosePopup:f,discoverApiDomain:_,DISCOVER_URL_FE:C,MARRY_BABY_FE:M,type:"main",onSelectCategory:ve,categories:q,spotlightsList:g,isLoading:!1,isMobile:a,siteType:D,desktopPopupType:y}),E.default.createElement(Ol,{isDisplayed:"healthTools"===se.id,locale:j,basePath:H,discoverApiDomain:_,HEALTH_TOOL_URL_FE:R,onSelectHealthTool:Ee,onClosePopup:f,desktopPopupType:y,healthTools:c,healthToolsByCategory:p,isLoading:!1,isMobile:a,siteType:D,STATIC_PAGES:P}),"care"===se.id&&E.default.createElement(Fa,{locale:j,basePath:H,onSelectCareSpecialty:we,onClosePopup:f,careSpecialties:u,isLoading:!1,siteType:D,isMobile:a,desktopPopupType:y,CARE_URL_FE:w}),E.default.createElement(ko,{isDisplayed:"together"===se.id,locale:j,TOGETHER_URL_FE:S,basePath:H,type:"main",onSelectCommunity:be,onClosePopup:f,communities:h,isLoading:!1,isMobile:a,siteType:D,togetherApiDomain:O,desktopPopupType:y})),b)))),Q&&E.default.createElement(Vn,{"data-sub-level-opened":Q||(he?Q:"undefined")},E.default.createElement(Qn,{"data-type":"sub-category","data-is-sub-category-opened":Q},E.default.createElement(ln,{siteType:D,locale:j,isDisplayed:o&&Q,searchPlaceholder:"",menuItems:void 0,statics:{DISCOVER_URL_FE:C,SSO_URL:I,HOME_PAGE_URL:N,MARRY_BABY_FE:M,CARE_URL_FE:w},isMobile:a,isLoginButtonDisplayed:!1,type:"popup-sub-level",title:"categories"===se.id?null==J?void 0:J.categoryName:null==J?void 0:J.title,isSearchBarDisplay:!1,basePath:H,isAmp:!1,isInit:!1,isStatic:!1,routerAsPath:G,currentPopupType:"none",marryBaby:{tone:B},menu:void 0,openPopup:void 0,profileMenu:void 0,userInfo:void 0,onSearchKeyPress:void 0,onTopBarAppears:void 0,onMenuClick:ke,onSearchChange:void 0}),ne))):E.default.createElement(E.default.Fragment,null,E.default.createElement(Vi,{isDisplayed:"categories"===y,locale:j,basePath:H,callApiHandler:z,discoverApiDomain:_,DISCOVER_URL_FE:C,MARRY_BABY_FE:M,type:"main",desktopPopupType:y,onSelectCategory:ve,onClosePopup:f,categories:q,spotlightsList:g,isLoading:!1,isMobile:a,siteType:D}),E.default.createElement(Ol,{isDisplayed:"tools"===y,locale:j,basePath:H,discoverApiDomain:_,HEALTH_TOOL_URL_FE:R,desktopPopupType:y,onSelectHealthTool:Ee,onClosePopup:f,healthToolsByCategory:p,healthTools:c,isLoading:!1,isMobile:a,siteType:D,STATIC_PAGES:P}),E.default.createElement(ko,{isDisplayed:"communities"===y,locale:j,TOGETHER_URL_FE:S,basePath:H,type:"main",onSelectCommunity:be,communities:h,isLoading:!1,isMobile:a,siteType:D,togetherApiDomain:O,desktopPopupType:y,onClosePopup:f}),"care"===y&&E.default.createElement(Fa,{locale:j,basePath:H,onSelectCareSpecialty:we,careSpecialties:u,isLoading:!1,desktopPopupType:y,siteType:D,isMobile:a,CARE_URL_FE:w,onClosePopup:f}))},Hl=w.default.div(yl||(yl=e.__makeTemplateObject(["\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"])),u.MediaQueries.mbDown,u.MediaQueries.mbUp,(function(e){return e.theme.colors.gray800}),u.MediaQueries.mbDown,u.MediaQueries.mbUp,(function(e){return e.theme.colors.gray600}),u.MediaQueries.mbDown,u.MediaQueries.mbUp),zl=w.default.div(vl||(vl=e.__makeTemplateObject(["\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"])),u.MediaQueries.mbDown,u.MediaQueries.mbUp,(function(e){return"marryBaby"===e.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 ":""})),Ul=function(t){var a=t.callPostLogOutApi,i=t.openLogoutPopup,o=t.onCloseHandler,s=t.onLogoutHandler,d=t.basePath,c=t.siteType,p=void 0===c?"helloSites":c,u=ae();n.useEffect((function(){document.body.classList.toggle("noscroll",i)}),[i]);return E.default.createElement(l.Popup,{type:"confirm",isOpen:i,closeIcon:E.default.createElement("img",{src:K,style:{width:24,height:24},alt:"close-icon"}),onClose:o},E.default.createElement(Hl,null,"helloSites"===p&&E.default.createElement("img",{className:"cancle-img",src:"".concat(d,"/images/arrowDoor.svg"),alt:"close-account"}),E.default.createElement("h2",null,u("helloSites"===p?"logout.popup.ask1":"logout.popup.ask.mb")),E.default.createElement("p",null,u("logout.popup.ask2")),E.default.createElement(zl,{siteType:p},E.default.createElement(r.Button,{className:"logout-button",color:"tertiary",size:"lg",onClick:function(){e.__awaiter(void 0,void 0,void 0,(function(){return e.__generator(this,(function(e){switch(e.label){case 0:return[4,null==a?void 0:a()];case 1:return e.sent(),null==s||s(),window.location.reload(),[2]}}))}))}},u("logout.popup.button.logout")),E.default.createElement(r.Button,{className:"cancel-button",color:"primary",size:"lg",onClick:o},u("logout.popup.button.cancel")))))},Fl=w.default.div(bl||(bl=e.__makeTemplateObject(["\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(e){return e.theme.colors.white}),u.MediaQueries.mbDown,u.MediaQueries.mbUp,u.MediaQueries.mbDown,u.MediaQueries.mbUp,u.MediaQueries.mbUp,(function(e){return e.theme.colors.gray200}),u.MediaQueries.mbDown,u.MediaQueries.mbUp),Gl=w.default.div(El||(El=e.__makeTemplateObject(["\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"])),u.MediaQueries.mbUp,u.MediaQueries.mbDown),Yl=function(e){var n=e.type,t=void 0===n?"lead":n,a=e.closeIcon,i=e.isOpen,o=void 0===i||i,l=e.onClose,r=e.children,s=e.enableAnimation,d=void 0===s||s,c=e.targetAvatar,p=e.id,u=e.className;return E.default.createElement(E.default.Fragment,null,E.default.createElement(Fl,{"data-open":o,"data-type":t,"data-animation":d,"data-target":c,id:p,className:u},E.default.createElement("div",{className:"popup-content"},!!a&&E.default.createElement("div",{className:"close-button",onClick:l},a),r)),E.default.createElement(Gl,{"data-type":t,"data-open":o,onClick:l,id:p?"wrapper-".concat(p):void 0,className:"".concat(u||"","-wrapper")}))},Vl=function(e){var n=e.SSO_URL,a=e.UP_BASEPATH,i=e.isOpen,o=e.locale,l=e.targetAvatar,r=e.userInfo,s=e.ENABLE_CARE_PROFILE_MENU_LOCALES,d=e.ENABLE_COMMUNITY_PROFILE_MENU_LOCALES,c=e.closePopup,p=e.siteType,u=void 0===p?"helloSites":p,m=e.dispatchLogout,h=e.userProfileRouterPush,g=e.isUserProfileNavigatorMenuHidden,x=e.isMyHealthEnabled,y=void 0!==x&&x,v=e.togetherApiDomain,b=function(e){h?h("/".concat(e)):n&&(window.location.href="".concat(n).concat(a,"/").concat(e))},w=function(e){b(e),c()};return E.default.createElement(Yl,{isOpen:i,type:"profile",enableAnimation:!1,targetAvatar:l,onClose:c},E.default.createElement(f.TranslationsProvider,{locale:o},E.default.createElement(t.UserProfileNavigation,{SSO_URL:n,UP_BASEPATH:a,themeName:u,userInfo:r,ENABLE_COMMUNITY_PROFILE_MENU_LOCALES:d,ENABLE_CARE_PROFILE_MENU_LOCALES:s,onClickLogout:function(){m&&(m(),c())},onClickMenuItem:w,onClickNavigationCard:w,onClickMyProfileButton:function(){b("profile"),c()},userProfileRouterPush:h,isUserProfileNavigatorMenuHidden:g,isMyHealthEnabled:y,togetherApiDomain:v,locale:o})))},Ql=w.default.div(wl||(wl=e.__makeTemplateObject(["\n position: relative;\n"],["\n position: relative;\n"]))),Zl=w.default.div(kl||(kl=e.__makeTemplateObject([""],[""]))),Wl=w.default.div(_l||(_l=e.__makeTemplateObject(["\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"]))),ql=w.default.div(Cl||(Cl=e.__makeTemplateObject(["\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(e){return e.theme.colors.gray100})),Kl=w.default.div(Tl||(Tl=e.__makeTemplateObject(["\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"]))),Xl=function(e){var t=e.options,a=e.label,i=e.selected,o=e.onChange,l=e.showSelected,r=void 0===l||l,d=e.style,c=void 0===d?{}:d,p=e.showIndicator,u=void 0===p||p,m=n.useState(!1),h=m[0],g=m[1];return E.default.createElement(E.default.Fragment,null,E.default.createElement(Ql,null,E.default.createElement(Zl,{onClick:function(){return g((function(e){return!e}))}},!!a&&a),E.default.createElement(Wl,{"data-is-open":h,style:c,"data-show-indicator":u},t.map((function(e,n){return E.default.createElement(ql,{key:n,"data-selected":r&&i===e.value,onClick:function(n){i!==e.value&&(o(e.value),g((function(e){return!e}))),n.stopPropagation()}},E.default.createElement(s.Text,{size:"p3"},e.label),r&&i===e.value&&E.default.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"}))})))),h&&E.default.createElement(Kl,{onClick:function(){return g(!1)}}))},Jl=function(e){var n="undefined"!=typeof window&&document.querySelector(e),t=n&&window.getComputedStyle(n);return t&&t.getPropertyValue("display")},$l=function(t){var a,i=t.siteType,o=t.MetaPageTitle,l=t.MetaPageDescription,r=t.MetaPageImage,s=t.footerInfo,d=t.children,c=t.ssrMenuContent,p=void 0===c?{}:c,u=p.categories,m=void 0===u?[]:u,h=p.healthTools,g=void 0===h?[]:h,f=p.healthToolsByCategory,x=void 0===f?[]:f,y=p.careSpecialties,v=void 0===y?[]:y,b=p.togetherCommunities,w=void 0===b?[]:b,_=p.spotlightsList,O=void 0===_?[]:_,A=t.SEOData,M=void 0===A?{}:A,N=t.UP_BASEPATH,P=void 0===N?S:N,R=t.isStatic,B=void 0!==R&&R,H=t.seoType,z=void 0===H?"website":H,U=t.isMobile,F=t.isMyHealthEnabled,G=void 0!==F&&F,Y=t.logoutHandlers,V=Y.isLogoutPopupOpened,Q=Y.callPostLogOutApi,Z=Y.onClosePopup,q=Y.onLogout,K=t.marryBaby,X=void 0===K?{tone:"white",marryBabyApiDomain:"",socialLinks:{facebookLink:"",instagramLink:"",linkedinLink:"",twitterLink:"",youtubeLink:"",zaloLink:""}}:K,J=X.tone,$=void 0===J?"white":J,ee=X.marryBabyApiDomain,ne=X.socialLinks,te=void 0===ne?{}:ne,oe=te.facebookLink,ge=void 0===oe?"":oe,fe=te.instagramLink,ve=void 0===fe?"":fe,be=te.linkedinLink,Ee=void 0===be?"":be,we=te.twitterLink,ke=void 0===we?"":we,_e=te.youtubeLink,Ce=void 0===_e?"":_e,Te=te.zaloLink,Le=void 0===Te?"":Te,Oe=t.statics,Se=void 0===Oe?{LOCALE_SPECS:T,STATIC_PAGES:L}:Oe,Ie=Se.DISCOVER_URL_FE,Ae=Se.TOGETHER_URL_FE,Me=Se.MARRY_BABY_FE,Ne=Se.HOME_PAGE_URL,Pe=Se.HEALTH_TOOL_URL_FE,Re=Se.CARE_URL_FE,Be=Se.LOCALE_SPECS,je=void 0===Be?T:Be,De=Se.STATIC_PAGES,He=void 0===De?L:De,ze=t.sso,Ue=void 0===ze?{}:ze,Fe=Ue.dispatchLogout,Ge=Ue.SSO_URL,Ye=t.together,Ve=void 0===Ye?{TOGETHER_MENU_COUNTRIES_ENABLED:["id-ID","vi-VN"],ENABLE_COMMUNITY_PROFILE_MENU_LOCALES:["id-ID","vi-VN"],togetherApiDomain:""}:Ye,Qe=Ve.TOGETHER_MENU_COUNTRIES_ENABLED,Ze=Ve.ENABLE_COMMUNITY_PROFILE_MENU_LOCALES,We=Ve.togetherApiDomain,qe=t.care,Ke=void 0===qe?{CARE_MENU_COUNTRIES_ENABLED:["vi-VN","id-ID","en-PH"],ENABLE_CARE_PROFILE_MENU_LOCALES:[],menuActionType:"redirectOnly",careApiDomain:""}:qe,Xe=Ke.CARE_MENU_COUNTRIES_ENABLED,Je=Ke.ENABLE_CARE_PROFILE_MENU_LOCALES,$e=Ke.careApiDomain,en=t.discover,nn=(void 0===en?{discoverApiDomain:""}:en).discoverApiDomain,tn=t.activeMenuService,an=void 0===tn?"categories":tn,on=t.basePath,rn=t.isAmp,sn=void 0!==rn&&rn,dn=t.nextHead,cn=t.routerPathname,pn=t.routerQuery,un=t.routerAsPath,mn=t.locale,hn=t.userState,gn=t.callApiHandler,fn=t.userProfileRouterPush,xn=t.onTopBarAppears,yn=t.forcedCanonicalUrl,vn=t.isUserProfileNavigatorMenuHidden,bn=t.sitewideBanner,En=t.sitewideBannerShown,wn=void 0===En||En,kn=t.sponsorComponent,_n=t.languageOptions,Cn=t.isSearchBarDisplay,Tn=t.ampSubBar,Ln=t.isSearchIconDisplayed,On=void 0===Ln||Ln,Sn=t.enabledExperimentalCareHeader,In=void 0!==Sn&&Sn,An=t.onCareHeaderClick,Mn=t.dueDatePopup,Nn=t.welcomePopup,Pn=t.ampNextArticle,Rn=t.usingDefaultHead,Bn=void 0===Rn||Rn,jn=t.acceptCookiePopup,Dn=t.seoCustom,Hn=t.hasStickyBottomBar,zn=void 0===Hn||Hn,Un="boolean"==typeof Cn?Cn:!U,Fn=ae(),Gn=je[mn||"en-PH"]||{},Yn=n.useMemo((function(){var e;return(null===(e=un.split("?"))||void 0===e?void 0:e[0])||""}),[un]),Vn=n.useMemo((function(){return"".concat(on).concat("/"===Yn.slice(-1)?Yn:"".concat(Yn,"/"))}),[Yn]),Qn=n.useMemo((function(){return(null==_n?void 0:_n.find((function(e){return e.value!==Vn})))||null}),[_n,Vn]),Zn=n.useState(s),Wn=Zn[0],qn=Zn[1],Kn=n.useState(m),Xn=Kn[0],Jn=Kn[1],$n=n.useState(g),et=$n[0],nt=$n[1],tt=n.useState(x),at=tt[0],it=tt[1],ot=n.useState(v),lt=ot[0],rt=ot[1],st=n.useState(w),dt=st[0],ct=st[1],pt=n.useState(O),ut=pt[0],mt=pt[1],ht=Ie||"https://".concat(C[mn])||"",gt="undefined"!=typeof window,ft=gt&&document.querySelector("#categories-menu"),xt=ft&&gt&&window.getComputedStyle(ft),yt=xt&&xt.getPropertyValue("left"),vt=n.useRef("0px"===yt),bt=n.useState(vt.current),Et=bt[0],wt=bt[1],kt=Jl(".top-menu-categories"),_t=Jl(".top-menu-health-tools"),Ct=Jl(".top-menu-communities"),Tt=Jl(".top-menu-care-specialties"),Lt=n.useState(kt&&"none"!==kt?"categories":_t&&"none"!==_t?"tools":Ct&&"none"!==Ct?"communities":Tt&&"none"!==Tt?"care":"none"),Ot=Lt[0],St=Lt[1],It=n.useMemo((function(){var e,n;return E.default.createElement(La,null,null===(n=null===(e=mn.split("-"))||void 0===e?void 0:e[0])||void 0===n?void 0:n.toUpperCase(),E.default.createElement("img",{src:"language"===Ot?"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:Fn("home.navigator.menuItem.language")}))}),[Ot,mn]),At=hn.userInfo,Mt=hn.isLoggedIn,Nt=function(e){Ot!==e&&(St(e),wt(!0)),Ot===e&&(St("none"),wt(!1))},Pt=function(){wt(!1),St("none")},Bt=function(e,n){"Enter"===e.key&&(window.location.href="".concat(Ne,"/search/?s=").concat(n))},jt=null===(a=null==je?void 0:je[mn])||void 0===a?void 0:a.SITE_NAME_FORMATTED,Dt=[{name:Fn("home.navigator.menuItem.discover"),id:"categories",link:"./posts/abc",niceName:"",thumbnail:"",isDisplayed:!0},{name:Fn("home.navigator.menuItem.healthTools"),id:"healthTools",link:"./en",thumbnail:"",isDisplayed:!0}];(null==Qe?void 0:Qe.includes(mn))&&Dt.push({name:Fn("home.navigator.menuItem.helloTogether"),id:"together",link:Ae+"/",thumbnail:"",isDisplayed:!0}),(null==Xe?void 0:Xe.includes(mn))&&Dt.push({name:Fn("home.navigator.menuItem.helloCare"),id:"care",link:"/care",thumbnail:"",isDisplayed:!0}),n.useEffect((function(){document.documentElement.style.overflow=Et?"hidden":""}),[Et]);var Ht=!!kn;n.useEffect((function(){Mt&&("first_login"===(null==pn?void 0:pn.source)?(null==At?void 0:At.email)&&""!==(null==At?void 0:At.email)?window.insider_object={user:e.__assign({uuid:null==At?void 0:At.id,email:null==At?void 0:At.email,gdpr_optin:!0,email_optin:!0,sign_up:!0},(null==At?void 0:At.name)?{name:null==At?void 0:At.name}:{})}:window.insider_object={user:e.__assign({uuid:null==At?void 0:At.id,sign_up:!0},(null==At?void 0:At.name)?{name:null==At?void 0:At.name}:{})}:(null==At?void 0:At.email)&&""!==(null==At?void 0:At.email)?window.insider_object={user:e.__assign({uuid:null==At?void 0:At.id,email:null==At?void 0:At.email,gdpr_optin:!0,email_optin:!0,log_in:!0},(null==At?void 0:At.name)?{name:null==At?void 0:At.name}:{})}:window.insider_object={user:e.__assign({uuid:null==At?void 0:At.id,log_in:!0},(null==At?void 0:At.name)?{name:null==At?void 0:At.name}:{})}),e.__awaiter(void 0,void 0,void 0,(function(){var n,t;return e.__generator(this,(function(a){switch(a.label){case 0:return Wn?[3,3]:[4,fetch("helloSites"===i?me(mn,nn):(o=ee,(o||"https://staging.marrybaby.vn/")+"wp-json/api/"+k.default(j,e.__assign({},l))))];case 1:return[4,a.sent().json()];case 2:return t=a.sent(),[3,4];case 3:t=null,a.label=4;case 4:return(n=t)&&1===n.status&&n.data&&!Wn&&qn("helloSites"===i?n.data||{}:n.data.footers||[]),[2]}var o,l}))})),e.__awaiter(void 0,void 0,void 0,(function(){var n,t,a,i,o,l;return e.__generator(this,(function(e){switch(e.label){case 0:return m&&0!==(null==m?void 0:m.length)||0!==(null==Xn?void 0:Xn.length)?[3,3]:(o={},[4,fetch(ce(mn,nn))]);case 1:return[4,e.sent().json()];case 2:return o.response=e.sent(),a=o,[3,4];case 3:a={},e.label=4;case 4:return n=a.response,null!==(t=void 0===n?{}:n)&&1===t.status&&(null===(l=t.data)||void 0===l?void 0:l.length)>0&&(i=t.data.map(le),0===Xn.length&&Jn(i)),[2]}}))})),e.__awaiter(void 0,void 0,void 0,(function(){var n,t,a,o,l,r,s,d,c;return e.__generator(this,(function(e){switch(e.label){case 0:return O&&0!==(null==O?void 0:O.length)||"helloSites"!==i||0!==(null==ut?void 0:ut.length)?[3,3]:(l={},[4,fetch(ue(mn,nn,{perPage:100,orderBy:"start_date"}))]);case 1:return[4,e.sent().json()];case 2:return l.response=e.sent(),a=l,[3,4];case 3:a={},e.label=4;case 4:return n=a.response,1===(null==(t=void 0===n?{}:n)?void 0:t.status)&&(null===(s=null===(r=null==t?void 0:t.data)||void 0===r?void 0:r.articles)||void 0===s?void 0:s.length)>0&&(o=null===(c=null===(d=t.data)||void 0===d?void 0:d.articles)||void 0===c?void 0:c.map(xe).filter(ye).slice(0,4),0===ut.length&&mt(o)),[2]}}))})),e.__awaiter(void 0,void 0,void 0,(function(){var n,t,a,o,l,r,s;return e.__generator(this,(function(d){switch(d.label){case 0:return(null==g?void 0:g.length)||(null==et?void 0:et.length)||(null==x?void 0:x.length)||(null==x?void 0:x.length)?[3,6]:(r={},"helloSites"!==i?[3,2]:[4,fetch(pe(mn,nn))]);case 1:return o=d.sent(),[3,4];case 2:return[4,fetch((c=ee,(c||"https://staging.marrybaby.vn/")+"wp-json/api/"+k.default(D,e.__assign({},p))))];case 3:o=d.sent(),d.label=4;case 4:return[4,o.json()];case 5:return r.response=d.sent(),a=r,[3,7];case 6:a={},d.label=7;case 7:return n=a.response,null!==(t=void 0===n?{}:n)&&1===t.status&&(null===(s=t.data)||void 0===s?void 0:s.length)>0&&("helloSites"===i?(l=t.data.map(se),0===et.length&&it(l)):(l=t.data.map(re),0===et.length&&nt(l))),[2]}var c,p}))})),e.__awaiter(void 0,void 0,void 0,(function(){var n,t,a,i,o,l,r;return e.__generator(this,(function(e){switch(e.label){case 0:return v&&0!==(null==v?void 0:v.length)||!Xe.includes(mn)||0!==(null==lt?void 0:lt.length)?[3,3]:(o={},[4,fetch(de(mn,$e))]);case 1:return[4,e.sent().json()];case 2:return o.response=e.sent(),a=o,[3,4];case 3:a={},e.label=4;case 4:return n=a.response,null!==(t=void 0===n?{}:n)&&1===t._status&&(null===(r=null===(l=t._data)||void 0===l?void 0:l.specialties)||void 0===r?void 0:r.length)>0&&(i=t._data.specialties,0===lt.length&&rt(i)),[2]}}))})),e.__awaiter(void 0,void 0,void 0,(function(){var n,t,a,o,l,r,s,d,c;return e.__generator(this,(function(p){switch(p.label){case 0:return w&&0!==(null==w?void 0:w.length)||!Qe.includes(mn)||0!==(null==dt?void 0:dt.length)?[3,3]:(l={},[4,fetch("helloSites"===i?he(mn,We):(u=We,(u||"https://together.hellohealthgroup.com/")+"api/v1/"+k.default(I,e.__assign(e.__assign({},m),{websiteUrl:"https://marrybaby.vn"}))))]);case 1:return[4,p.sent().json()];case 2:return l.response=p.sent(),a=l,[3,4];case 3:a={},p.label=4;case 4:return n=a.response,(null===(s=null===(r=null==(t=void 0===n?{}:n)?void 0:t.data)||void 0===r?void 0:r.communities)||void 0===s?void 0:s.length)>0&&(o=(null===(c=null===(d=null==t?void 0:t.data)||void 0===d?void 0:d.communities)||void 0===c?void 0:c.map(ie))||[],0===dt.length&&ct(o)),[2]}var u,m}))}))}),[]);var zt=E.default.createElement(Vl,{locale:mn,UP_BASEPATH:P,SSO_URL:Ge,userProfileRouterPush:fn,dispatchLogout:Fe,isOpen:"profile"===Ot,isMyHealthEnabled:G,ENABLE_CARE_PROFILE_MENU_LOCALES:Je,ENABLE_COMMUNITY_PROFILE_MENU_LOCALES:Ze,closePopup:Pt,userInfo:At,siteType:i,isUserProfileNavigatorMenuHidden:vn,togetherApiDomain:We}),Ut=sn&&{"next-page-hide":""};return E.default.createElement(W,{SEOData:e.__assign({SEOTitle:o,SEOImage:r,SEODescription:l,siteName:jt,seoType:z},M),isAmp:sn,locale:mn,routerPathname:cn,routerQuery:pn,nextHead:dn,siteType:i,forcedCanonicalUrl:yn,userId:null==At?void 0:At.id,usingDefaultHead:Bn,seoCustom:Dn},E.default.createElement(Ul,{basePath:on,callPostLogOutApi:Q,openLogoutPopup:V,onCloseHandler:Z,onLogoutHandler:q,siteType:i}),Mn,Nn,jn,U?E.default.createElement(E.default.Fragment,null,E.default.createElement(_a,null,E.default.createElement("section",e.__assign({className:sn?"amp-header":void 0,"next-page-replace":"hhg-navigator","amp-fx":"float-in-top"},Ut),E.default.createElement(ln,{siteType:i,statics:{DISCOVER_URL_FE:ht,SSO_URL:Ge,HOME_PAGE_URL:Ne,MARRY_BABY_FE:Me,CARE_URL_FE:Re},marryBaby:{tone:$},menuItems:Dt,menu:sn?void 0:E.default.createElement(Dl,{key:"mobile-menu-popup",menuItems:Dt,siteType:i,isMobileMenuOpened:"categories"===Ot,categories:Xn,healthTools:et,healthToolsByCategory:at,careSpecialties:lt,togetherCommunities:dt,spotlightsList:ut,onMobileMenuClick:Nt,isMobile:U,closePopup:Pt,footer:E.default.createElement(ka,{locale:mn,isMobile:U,basePath:on,isAmp:sn,footerInfo:Wn,type:"mini",siteType:i,marryBabySocialLinks:{facebookLink:ge,instagramLink:ve,linkedinLink:Ee,twitterLink:ke,youtubeLink:Ce,zaloLink:Le}}),locale:mn,callApiHandler:gn,basePath:on,together:{TOGETHER_MENU_COUNTRIES_ENABLED:Qe,togetherApiDomain:We||ee,TOGETHER_URL_FE:Ae},care:{CARE_MENU_COUNTRIES_ENABLED:Xe,careApiDomain:$e,CARE_URL_FE:Re},discover:{discoverApiDomain:nn,DISCOVER_URL_FE:ht},activeMenuService:an,statics:{DISCOVER_URL_FE:ht,HOME_PAGE_URL:Ne,HEALTH_TOOL_URL_FE:Pe,MARRY_BABY_FE:Me,TOGETHER_URL_FE:Ae,STATIC_PAGES:He},marryBaby:{tone:$},routerAsPath:un,popupType:"none",sso:{SSO_URL:Ge}}),profileMenu:zt,type:"home",currentPopupType:Ot,isMobile:U,isLoginButtonDisplayed:!0,onMenuClick:Nt,searchPlaceholder:Fn("home.search",{site:"helloSites"===i?null==Gn?void 0:Gn.SITE_NAME:"Marry Baby"}),onTopBarAppears:function(e){xn&&xn(e)},isSearchBarDisplay:Un,onSearchKeyPress:Bt,isStatic:sn||B,sponsorComponent:kn,locale:mn,userInfo:hn.userInfo,basePath:on,isAmp:sn,isDisplayed:!0,isInit:!1,onSearchChange:void 0,openPopup:void 0,routerAsPath:un,title:"",sitewideBanner:bn,sitewideBannerShown:wn,isSearchIconDisplayed:On,enabledExperimentalCareHeader:In,languageMenu:void 0!==_n&&_n.length>1?E.default.createElement(E.default.Fragment,null,2===_n.length&&Qn?E.default.createElement(Oa,{"data-is-active":!0,href:(null==Qn?void 0:Qn.value)||"#"},null==Qn?void 0:Qn.label):E.default.createElement(Xl,{options:_n,selected:Vn,label:It,onChange:function(e){"undefined"!=typeof window&&(window.location.href=e)},style:{width:100},showSelected:!0,showIndicator:!1})):void 0}),void 0!==Tn&&E.default.createElement(E.default.Fragment,null,Tn)),sn?E.default.createElement(Ta,{className:"root-container","data-menu-opened":vt.current,"data-sponsored":Ht,"data-is-mobile":U,"data-sitewide":!!bn},d,E.default.createElement(ka,{isAmp:sn,isMobile:U,locale:mn,basePath:on,footerInfo:Wn,type:"main",siteType:i,marryBabySocialLinks:{facebookLink:ge,instagramLink:ve,linkedinLink:Ee,twitterLink:ke,youtubeLink:Ce,zaloLink:Le},ampNextArticle:Pn,routerQuery:pn})):E.default.createElement(Ca,{className:"root-container","data-menu-opened":vt.current,"data-sponsored":Ht,"data-is-mobile":U,"data-sitewide":!!bn,hasStickyBottomBar:zn},E.default.createElement(E.default.Fragment,null,d,E.default.createElement(ka,{isAmp:sn,isMobile:U,locale:mn,basePath:on,footerInfo:Wn,type:"main",siteType:i,marryBabySocialLinks:{facebookLink:ge,instagramLink:ve,linkedinLink:Ee,twitterLink:ke,youtubeLink:Ce,zaloLink:Le},ampNextArticle:Pn,routerQuery:pn})))),sn&&E.default.createElement(Rt,{locale:mn,categoriesSSR:m,healthToolsSSR:x,spotlightsSSR:O,serviceUrls:{TOGETHER_URL_FE:Ae,CARE_URL_FE:Re,DISCOVER_URL_FE:ht},together:{TOGETHER_MENU_COUNTRIES_ENABLED:Qe,ENABLE_COMMUNITY_PROFILE_MENU_LOCALES:Ze,togetherApiDomain:We},care:{CARE_MENU_COUNTRIES_ENABLED:Xe,ENABLE_CARE_PROFILE_MENU_LOCALES:Je,careApiDomain:$e},basePath:on,searchPlaceholder:Fn("home.search",{site:"helloSites"===i?null==Gn?void 0:Gn.SITE_NAME:"Marry Baby"})})):E.default.createElement(E.default.Fragment,null,E.default.createElement(ln,{siteType:i,menuItems:Dt,marryBaby:{tone:$},locale:mn,currentPopupType:Ot,onSearchKeyPress:Bt,openPopup:function(e){Ot!==e&&St(e),Ot===e&&St("none")},isMobile:U,isLoginButtonDisplayed:!0,isSearchBarDisplay:!sn&&Un,searchPlaceholder:Fn("home.search",{site:"helloSites"===i?null==Gn?void 0:Gn.SITE_NAME:"Marry Baby"}),sitewideBannerShown:wn,statics:{DISCOVER_URL_FE:ht,SSO_URL:Ge,HOME_PAGE_URL:Ne,MARRY_BABY_FE:Me,CARE_URL_FE:Re},menu:E.default.createElement(Dl,{menuItems:Dt,siteType:i,isMobile:U,popupType:Ot,closePopup:function(){St("none")},categories:Xn,healthTools:et,healthToolsByCategory:at,careSpecialties:lt,togetherCommunities:dt,spotlightsList:ut,locale:mn,callApiHandler:gn,basePath:on,together:{TOGETHER_MENU_COUNTRIES_ENABLED:Qe,togetherApiDomain:We,TOGETHER_URL_FE:Ae},care:{careApiDomain:$e,CARE_MENU_COUNTRIES_ENABLED:Xe,CARE_URL_FE:Re},discover:{discoverApiDomain:nn,DISCOVER_URL_FE:ht},statics:{DISCOVER_URL_FE:ht,HOME_PAGE_URL:Ne,HEALTH_TOOL_URL_FE:Pe,MARRY_BABY_FE:Me,TOGETHER_URL_FE:Ae,STATIC_PAGES:He},activeMenuService:an,marryBaby:{tone:$},routerAsPath:un,footer:void 0,isMobileMenuOpened:void 0,sso:{SSO_URL:Ge},onMobileMenuClick:void 0}),profileMenu:zt,userInfo:hn.userInfo,sponsorComponent:kn,type:"home",basePath:on,isAmp:sn,isDisplayed:!0,isInit:!1,onSearchChange:void 0,isStatic:!1,routerAsPath:un,title:"",onMenuClick:void 0,onTopBarAppears:void 0,sitewideBanner:bn,languageMenu:void 0!==_n&&_n.length>1?E.default.createElement(E.default.Fragment,null,2===_n.length&&Qn?E.default.createElement(Oa,{"data-is-active":!0,href:(null==Qn?void 0:Qn.value)||"#"},null==Qn?void 0:Qn.label):E.default.createElement(Xl,{options:_n,selected:Vn,label:It,onChange:function(e){"undefined"!=typeof window&&(window.location.href=e)},style:{width:100},showSelected:!0,showIndicator:!1})):void 0,enabledExperimentalCareHeader:In,onCareHeaderClick:An}),sn?E.default.createElement(Ta,{className:"root-container","data-menu-opened":Et,"data-is-mobile":U,"data-sponsored":Ht,"data-sitewide":!!bn},d):E.default.createElement(Ca,{className:"root-container","data-menu-opened":Et,"data-is-mobile":U,"data-sponsored":Ht,"data-sitewide":!!bn,hasStickyBottomBar:zn},d),E.default.createElement(ka,{type:"main",locale:mn,basePath:on,isMobile:U,isAmp:sn,footerInfo:Wn,siteType:i,marryBabySocialLinks:{facebookLink:ge,instagramLink:ve,linkedinLink:Ee,twitterLink:ke,youtubeLink:Ce,zaloLink:Le}})))};exports.Layout=W,exports.NavigationBar=ln,exports.NavigationLayout=function(n){return E.default.createElement(te.Provider,{value:{translation:n.translation||ne}},E.default.createElement($l,e.__assign({},n)))},exports.SiteWide=function(t){var o=t.icon,l=t.content,r=t.isCollapsed,s=t.isMobile,d=t.type,c=t.onClose,p=t.setBannerClosed,u=t.dispatch,m=t.dispatchActionType,h=t.cookieName,g=t._overrideCloseHandler,f=t.isAmp,x=t.siteType,y=t.dataEventCategory,v=void 0===y?"Header Banner":y,b=t.dataEventAction,w=void 0===b?"Close Click":b,k=t.dataEventLabel,_=void 0===k?"":k,C=t.dataTracking,T=void 0===C?"true":C,L=n.useState(!1),O=L[0],S=L[1],I=n.useState(!1),A=I[0],M=I[1],N=l;f&&(N=N.replace("data-event","data-vars-event").replace('data-vars-event-category="'.concat(v,'"'),'data-vars-event-category="'.concat(v,'" data-vars-tracking="').concat(T,'"')));var P=n.useRef(64);n.useEffect((function(){var e=a.throttle((function(){window.scrollY<P.current?M(!1):window.scrollY>64&&M(!0),P.current=window.scrollY}),300);return window.addEventListener("scroll",e),function(){window.removeEventListener("scroll",e)}}),[]);var R="marryBaby"===x,B=R?K:"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 n.useEffect((function(){p&&p(O||r||A)}),[p,O,r,A]),E.default.createElement(J,{"data-is-mobile":s,"data-is-collapse":O||r||A,"data-is-marrybaby":R},o?E.default.createElement($,{"data-is-marrybaby":R},f?E.default.createElement("amp-img",{src:o,width:"76",height:"52"}):E.default.createElement("img",{src:o,className:"icon","data-is-mobile":s})):null,l?E.default.createElement("span",{className:"content","data-is-marrybaby":R,"data-is-mobile":s,dangerouslySetInnerHTML:{__html:N}}):null,E.default.createElement(ee,e.__assign({role:"button",tabIndex:0},{on:'tap:sitewide-container.hide(),site-header.toggleClass(class="amp-closed")'},{"data-is-marrybaby":R,"data-vars-event-category":v,"data-vars-event-action":w,"data-vars-event-label":_||"","data-vars-tracking":T||"",className:"amp-close-banner",onClick:function(){S(!0),g?g():(c&&c(),h&&i.setCookie(h,"true"),d&&u&&u({type:m,payload:{type:d}}))},"data-is-mobile":s}),f?E.default.createElement("amp-img",{src:B,width:"24",height:"24"}):E.default.createElement("img",{src:B,className:"close-icon"})))},exports.StickySponsoredBy=function(e){var t=e.className,a=e.isMobile,i=e.isCollapsed,o=e.sponsoredType,l=e.sponsoredBy,r=e.isAmp,d=e.locale,c=ae(),p=n.useState(!1),u=p[0],m=p[1];return E.default.createElement(Tn,{className:t,onClick:function(){return m(!0)},"data-show-popup":u&&(!a||!i)&&!r,"data-align-left":l&&!!(null==l?void 0:l.logo),"data-is-amp":r||void 0},E.default.createElement(s.Container,{style:{position:"relative",padding:"0 16px"}},"content"===o?E.default.createElement(s.Text,{size:a?"p4":"p3",color:"#737373"},E.default.createElement("div",{className:"sticky-sponsored-info-icon"},r?E.default.createElement("amp-img",{height:"20",width:"20",style:{verticalAlign:"middle",marginLeft:"0.3rem",marginBottom:"0.1rem"},src:X}):E.default.createElement("img",{src:X,style:{width:20,height:20,verticalAlign:"middle",marginRight:"0.3rem",marginBottom:"0.1rem"}})),l&&(null==l?void 0:l.logo)?E.default.createElement(E.default.Fragment,null," ",c("articlePage.sponsoredContentBy")," ",E.default.createElement("img",{className:"sponsored-logo",src:(null==l?void 0:l.logo)||"",alt:"sponsored-logo"})):c("articlePage.sponsoredContent")):E.default.createElement(s.Text,{size:"p2",color:"#737373"},c("articlePage.sponsoredArticle"),E.default.createElement("div",{className:"sticky-sponsored-info-icon"},r?E.default.createElement("amp-img",{height:"20",width:"20",style:{verticalAlign:"middle",marginLeft:"0.3rem",marginBottom:"0.1rem"},src:X,on:"tap:sponsored-by.toggleClass(class='open')",tabIndex:0,role:"button"}):E.default.createElement("img",{src:X,style:{width:20,height:20,verticalAlign:"middle",marginLeft:"0.3rem",marginBottom:"0.1rem"}}))),!u||a&&i||r?null:E.default.createElement(On,{sponsoredBy:l,isAmp:r,onClose:function(){return m(!1)},locale:d})))},exports.defaultTranslation=ne;
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./tslib.es6-f7929e76.js"),n=require("react"),t=require("./index-027da064.js"),a=require("lodash"),i=require("./cookieHelper-612b90fa.js"),o=require("styled-components"),l=require("./utils-3a287420.js"),r=require("./index-06ae8f3a.js"),s=require("./index.styled-03c4dedb.js"),d=require("./theme-696d81a9.js"),c=require("./constants-ca5ea110.js"),p=require("string-format"),u=require("./screenSizeContext-60cc891b.js"),m=require("./index-ef8759f0.js");require("react-range"),require("date-fns"),require("./index-bce6f562.js"),require("./Locale-11b51016.js"),require("react-dom"),require("./translationsContext-2d7ea471.js"),require("lodash/debounce");var h=require("./index-5d420cf1.js"),g=require("react-loading-skeleton"),f=require("./translationsProvider-57deb2ca.js");function x(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}require("./useTranslations-a5b5c74c.js"),require("./en-PH-7307aee7.js"),require("slugify"),require("vanilla-lazyload");var y,v,b,E=x(n),w=x(o),k=x(p),_=x(g),C={"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"},T={"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"}},L={"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"}},O={"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"}]},S="user",I="community?website_url={websiteUrl}",A="topic?community_id={communityId}&website_url={websiteUrl}",M="spotlights?per_page={perPage}&order_by={orderBy}",N="healthtools?_hasgroup=1",P="categories?type=all",R="footer",B="api/specialties?_ishome=1&site={domain}",j="menu/footer",D="health-tools",H=99,z=300,U=400,F=200,G=210,Y=5,V=6,Q=300,Z={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"}},W=function(n){var a,i,o,l,r,s,d,c,p,u,m,h,g,f,x,y,v,b,w,k=n.children,_=n.SEOData,L=void 0===_?{}:_,S=n.isAmp,I=void 0!==S&&S,A=n.locale,M=void 0===A?"vi-VN":A,N=n.routerPathname,P=n.routerQuery,R=n.nextHead,B=n.siteType,j=n.seoCustom,D=n.userId,H=n.forcedCanonicalUrl,z=n.usingDefaultHead,U="production"===process.env.NEXT_PUBLIC_DEPLOY_ENV,F=L.totalPages,G=L.currentPage,Y=L.SEOTitle,V=void 0===Y?"":Y,Q=L.SEODescription,Z=void 0===Q?"":Q,W=L.SEOImage,q=L.seoType,K=L.SEOImageWidth,X=L.SEOImageHeight,J=L.customMetaData,$=void 0===J?[]:J,ee=L.isIndexable,ne=void 0===ee||ee,te=L.hasNoCanonical,ae=void 0!==te&&te,ie=ne&&U?"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1":"noindex",oe=process.env.NEXT_PUBLIC_BASE_API_URL,le=L.canonicalUrl||N;Object.keys(P).forEach((function(e){var n=P[e];n&&Array.isArray(n)&&(le=le.replace("[...".concat(e,"]"),n.join("/")))}));var re,se=M||"en-PH",de="helloSites"===B?C[se]:"www.marrybaby.vn",ce=le.endsWith("/")?"":"/";if(L.apiMetaData&&"string"==typeof L.apiMetaData){var pe=null===(a=L.apiMetaData)||void 0===a?void 0:a.match(/<title.*?>(.*)<\/title>/),ue=" - Page ".concat(G," of ").concat(F),me=G&&1!==G&&pe?L.apiMetaData.replace(pe[0],pe[0].includes("-")?pe[0].replace("-",ue+" - "):"<title>".concat(pe[1].concat(ue),"</title>")).replace('<link rel="canonical" href="https://'.concat(de).concat(le).concat(ce,'" />'),'<link rel="canonical" href="https://'.concat(de).concat(le).concat(ce,"?page=").concat(G,'" />')):L.apiMetaData,he=(re=t.htmlReactParser(me,{trim:!0})).find((function(e){var n,t;return"og:image"===(null===(n=e.props)||void 0===n?void 0:n.property)||"og:image:secure_url"===(null===(t=e.props)||void 0===t?void 0:t.property)}));if(!he){var ge="https://".concat(de,"/images/").concat(M,".png");re=e.__spreadArray(e.__spreadArray([],re,!0),[E.default.createElement("meta",{key:"og:image",property:"og:image",content:(null===(i=L.openGraph)||void 0===i?void 0:i.image)||ge||""}),E.default.createElement("meta",{key:"og:image:secure_url",property:"og:image:secure_url",content:(null===(o=L.openGraph)||void 0===o?void 0:o.image)||ge}),E.default.createElement("meta",{key:"og:image:width",property:"og:image:width",content:(null===(l=L.openGraph)||void 0===l?void 0:l.imageWidth)&&String(null===(r=L.openGraph)||void 0===r?void 0:r.imageWidth)||"1200"}),E.default.createElement("meta",{key:"og:image:height",property:"og:image:height",content:(null===(s=L.openGraph)||void 0===s?void 0:s.imageHeight)&&String(null===(d=L.openGraph)||void 0===d?void 0:d.imageHeight)||"630"})],!1)}}var fe="https://".concat(de,"/images/").concat(M,".png");return E.default.createElement(E.default.Fragment,null,R&&z&&E.default.createElement(R,null,E.default.createElement("link",{rel:"preconnect",href:"https://fonts.gstatic.com"}),"marryBaby"===B&&E.default.createElement("link",{href:"https://fonts.googleapis.com/css2?family=Inter&family=Krub:wght@600&display=swap",rel:"stylesheet"}),"km-KH"===M?E.default.createElement("link",{href:"https://fonts.googleapis.com/css2?family=Battambang:wght@400;700&display=swap",rel:"stylesheet"}):"id-ID"===M||"ms-MY"===M?E.default.createElement(E.default.Fragment,null):E.default.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"}),E.default.createElement("link",{rel:"preconnect",href:oe}),E.default.createElement("meta",{charSet:"UTF-8"}),!I&&E.default.createElement("meta",{name:"viewport",content:"width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, viewport-fit=cover"}),E.default.createElement("meta",{name:"google",content:"notranslate"}),E.default.createElement("meta",{name:"robots",content:ie}),E.default.createElement("meta",{property:"fb:app_id",content:"653713035016537"}),$.map((function(n,t){return E.default.createElement("meta",e.__assign({key:t},n))})),E.default.createElement("meta",{name:"theme-color",content:"helloSites"===B?"#2c87f3":"#e85388"}),E.default.createElement("meta",{name:"page_type",content:"Home"}),E.default.createElement("meta",{name:"page_platform",content:"WEB"}),E.default.createElement("meta",{name:"page_language",content:se}),E.default.createElement("meta",{name:"ahrefs-site-verification",content:"46e7521a2b89a1013149c4685bbe02a1d36a4732fef98655142b829bc87cba4d"}),I&&E.default.createElement(E.default.Fragment,null,E.default.createElement("script",{async:!0,"custom-element":"amp-analytics",src:"https://cdn.ampproject.org/v0/amp-analytics-0.1.js"}),E.default.createElement("script",{async:!0,"custom-element":"amp-fx-collection",src:"https://cdn.ampproject.org/v0/amp-fx-collection-0.1.js"}),E.default.createElement("script",{async:!0,"custom-element":"amp-ad",src:"https://cdn.ampproject.org/v0/amp-ad-0.1.js"}),E.default.createElement("script",{async:!0,"custom-element":"amp-next-page",src:"https://cdn.ampproject.org/v0/amp-next-page-1.0.js"}),E.default.createElement("script",{async:!0,"custom-element":"amp-sticky-ad",src:"https://cdn.ampproject.org/v0/amp-sticky-ad-1.0.js"}),E.default.createElement("script",{async:!0,"custom-element":"amp-social-share",src:"https://cdn.ampproject.org/v0/amp-social-share-0.1.js"}),E.default.createElement("script",{async:!0,"custom-element":"amp-bind",src:"https://cdn.ampproject.org/v0/amp-bind-0.1.js"})),!re&&E.default.createElement(E.default.Fragment,null,"helloSites"===B?E.default.createElement("title",null,j?V:V+" - "+(null===(c=T[M])||void 0===c?void 0:c.SITE_NAME)):E.default.createElement("title",null,V),!ae&&E.default.createElement("link",{rel:"canonical",href:"https://".concat(de).concat(le)}),E.default.createElement("meta",{name:"description",content:Z||(null===(p=L.openGraph)||void 0===p?void 0:p.description)}),L.schemaData&&E.default.createElement("script",{type:"application/ld+json",className:"yoast-schema-graph",dangerouslySetInnerHTML:{__html:L.schemaData}}),E.default.createElement("meta",{property:"og:locale",content:M}),E.default.createElement("meta",{property:"og:type",content:q||"website"}),E.default.createElement("meta",{property:"og:title",content:(null===(u=L.openGraph)||void 0===u?void 0:u.title)||V}),E.default.createElement("meta",{property:"og:description",content:(null===(m=L.openGraph)||void 0===m?void 0:m.description)||Z}),E.default.createElement("meta",{property:"og:url",content:"https://".concat(de).concat(le)}),E.default.createElement("meta",{property:"og:site_name",content:"https://".concat(de)}),E.default.createElement("meta",{property:"og:image",content:(null===(h=L.openGraph)||void 0===h?void 0:h.image)||W||fe||""}),E.default.createElement("meta",{property:"og:image:secure_url",content:(null===(g=L.openGraph)||void 0===g?void 0:g.image)||W||fe}),E.default.createElement("meta",{property:"og:image:width",content:(null===(f=L.openGraph)||void 0===f?void 0:f.imageWidth)&&String(null===(x=L.openGraph)||void 0===x?void 0:x.imageWidth)||K&&String(K)||"1200"}),E.default.createElement("meta",{property:"og:image:height",content:(null===(y=L.openGraph)||void 0===y?void 0:y.imageHeight)&&String(null===(v=L.openGraph)||void 0===v?void 0:v.imageHeight)||X&&String(X)||"630"}),E.default.createElement("meta",{name:"twitter:card",content:"summary_large_image"}),E.default.createElement("meta",{name:"twitter:title",content:(null===(b=L.twitter)||void 0===b?void 0:b.title)||V}),E.default.createElement("meta",{name:"twitter:description",content:Z}),E.default.createElement("meta",{name:"twitter:image",content:(null===(w=L.twitter)||void 0===w?void 0:w.image)||W})),("helloSites"===B?O[se]||[]:O.marryBaby).map((function(e,n){return"link"===e.type?E.default.createElement("link",{key:"favicon-".concat(n),rel:e.rel,href:e.href,sizes:e.sizes}):"meta"===e.type?E.default.createElement("meta",{key:n,name:e.name,content:e.content}):null})),Array.isArray(re)&&H?re.filter((function(e){return"canonical"!==e.props.name&&"canonical"!==e.props.rel})):re,H&&E.default.createElement("link",{rel:"canonical",href:H}),!L.hasNoAmp&&"vi-VN"!==M&&E.default.createElement("link",{rel:"amphtml",href:"https://".concat(de).concat(le).concat(ce,"?amp=1")}),D&&"undefined"!=typeof window?E.default.createElement("script",{dangerouslySetInnerHTML:{__html:"window.dataLayer = window.dataLayer || []; window.dataLayer.push({'userID': '".concat(D,"'});")}}):null),R&&!z&&E.default.createElement(R,null),k)},q="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",K="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",X="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",J=w.default.div(y||(y=e.__makeTemplateObject(["\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(e){return e.theme.colors.secondaryBase}),(function(e){return e.theme.mbColors.cobalt})),$=w.default.div(v||(v=e.__makeTemplateObject(["\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"]))),ee=w.default.div(b||(b=e.__makeTemplateObject(["\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(e){return e.theme.colors.white})),ne={"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"},te=n.createContext({}),ae=function(){var e=n.useContext(te);return function(n,t){var a=(e.translation||{})[n]||ne[n];return a?t?k.default(a,t):a:function(){throw Error("missing translation "+n)}()}},ie=function(e){return e?{title:(null==e?void 0:e.name)||"",thumbnail:(null==e?void 0:e.thumbnail)||"",communitySlug:(null==e?void 0:e.slug)||"",communityId:null==e?void 0:e.id,color:null==e?void 0:e.color}:{}},oe=function(e){var n;return e?{title:(null==e?void 0:e.name)||"",thumbnail:(null==e?void 0:e.thumbnail)||"",communitySlug:"".concat(null===(n=null==e?void 0:e.community)||void 0===n?void 0:n.slug,"/").concat(null==e?void 0:e.slug),communityId:null==e?void 0:e.id}:{}},le=function(e){var n,t,a,i;return e?{termId:e.term_id||null,sponsor:e.sponsor?(i=e.sponsor,i?{title:i.title,logo:i.logo,link:i.link}:{}):null,isSponsored:e.is_sponsored||null,categoryName:e.cat_name||e.name||null,name:e.name||null,iconUrl:e.icon||"",slugName:e.category_nicename||null,description:e.description||null,featureImage:e.thumbnail||e.image||null,displayName:e.name||null,parent:e.parent||null,permalink:e.permalink||null,slug:e.slug||null,childCates:(null===(n=e.child_cates)||void 0===n?void 0:n.map((function(e){return le(e)})))||[],thumnailColor:e.thumnail_color||["#FFEAF1","#E0E9FB","#FFF9EB","#F2FCF7","#F3F3F3"][5*Math.random()|0],colorFeatureImage:e.color_feature_image||null,imageColor:e.image_color||null,textColor:e.text_color||null,catParent:(null===(t=e.cat_parent)||void 0===t?void 0:t.name)?{name:e.cat_parent.name,permalink:e.cat_parent.permalink}:{},metaTag:e.meta_tag||"",reviewedBy:e.reviewed_by?(a=e.reviewed_by,{postTitle:a.post_title,permalink:a.permalink}):null,reviewedDate:e.reviewed_date||"",faqs:e.faqs?e.faqs.map((function(e){return function(e){return{title:e.title,content:e.content}}(e)})):null}:{}},re=function(e){return e?{icon:e.icon,link:e.link,subtitle:e.subtitle,title:e.title}:{}},se=function(e){var n,t;return e?{termId:(null==e?void 0:e.term_id)||0,name:(null==e?void 0:e.name)||"",healthTools:null!==(t=null===(n=null==e?void 0:e.health_tools)||void 0===n?void 0:n.map((function(e){return re(e)})))&&void 0!==t?t:[]}:{}},de=function(n,t,a){return(t||"https://service-health-care.hellohealthgroup.com/")+k.default(B,e.__assign(e.__assign({},a),{domain:C[n]}))},ce=function(n,t,a){return(t||"https://wp.".concat(C[n],"/"))+"wp-json/api/"+k.default(P,e.__assign({},a))},pe=function(n,t,a){return(t||"https://wp.".concat(C[n],"/"))+"wp-json/api/"+k.default(N,e.__assign({},a))},ue=function(n,t,a){return(t||"https://wp.".concat(C[n],"/"))+"wp-json/api/"+k.default(M,e.__assign({},a))},me=function(n,t,a){return(t||"https://wp.".concat(C[n],"/"))+"wp-json/api/"+k.default(R,e.__assign({},a))},he=function(n,t,a){return(t||"https://together.hellohealthgroup.com/")+"api/v1/"+k.default(I,e.__assign(e.__assign({},a),{websiteUrl:"https://".concat(C[n])}))},ge=function(n,t,a){return(t||"https://together.hellohealthgroup.com/")+"api/v1/"+k.default(A,e.__assign(e.__assign({},a),{websiteUrl:"https://".concat(C[n])}))},fe=function(e){var n,t=e.type,a=e.specialtySlug,i=e.locale;return"/".concat(c.LOCALIZED_SLUGS[i].ALL,"/").concat((null===(n=c.LOCALIZED_SLUGS[i])||void 0===n?void 0:n[t])||"doctor","/").concat(null!=a?a:"")},xe=function(e){return e?{id:e.ID,name:e.name,permalink:e.permalink,image:(null==e?void 0:e.small_banner)||(null==e?void 0:e.image)||"",imageMedium:(null==e?void 0:e.image_medium)||null,imageThumbnail:(null==e?void 0:e.image_thumbnail)||null,startDate:null==e?void 0:e.start_date,endDate:null==e?void 0:e.end_date}:{}},ye=function(e){var n=new Date;if(null==e?void 0:e.startDate){var t=new Date(e.startDate);if(n.getTime()<t.getTime())return!1}if(null==e?void 0:e.endDate){var a=new Date(e.endDate);if(n.getTime()>a.getTime())return!1}return!0},ve=w.default.header(Re||(Re=e.__makeTemplateObject(["\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(e){return e.theme.colors.neutral100}),(function(e){return e.theme.colors.white}),H,z,U),be=w.default.header(Be||(Be=e.__makeTemplateObject(["\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"]))),Ee=w.default.div(je||(je=e.__makeTemplateObject(["\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"]))),we=w.default.div(De||(De=e.__makeTemplateObject(["\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(e){return e.theme.colors.white}),Y,V,Q),ke=w.default.div(He||(He=e.__makeTemplateObject(["\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(e){return e.theme.colors.white}),(function(e){return e.theme.colors.neutral100}),(function(e){return e.theme.mbColors.lightPink})),_e=w.default.div(ze||(ze=e.__makeTemplateObject(["\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"]))),Ce=w.default.div(Ue||(Ue=e.__makeTemplateObject(["\n display: flex;\n align-items: center;\n"],["\n display: flex;\n align-items: center;\n"]))),Te=w.default.div(Fe||(Fe=e.__makeTemplateObject(["\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(e){return e.theme.colors.neutral100})),Le=w.default.div(Ge||(Ge=e.__makeTemplateObject(["\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(e){return e.theme.colors.white}),(function(e){return e.theme.mbColors.lightGray}),(function(e){return e.theme.colors.neutral100}),(function(e){return e.theme.colors.white})),Oe=w.default.div(Ye||(Ye=e.__makeTemplateObject(["\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"]))),Se=w.default.div(Ve||(Ve=e.__makeTemplateObject(["\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"]))),Ie=w.default.div(Qe||(Qe=e.__makeTemplateObject(["\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"]))),Ae=w.default.div(Ze||(Ze=e.__makeTemplateObject(["\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(e){return e.theme.sizes.fsParagraph4}),(function(e){return e.theme.sizes.fwBold}),(function(e){return e.theme.colors.primaryBase}),(function(e){return e.theme.mbColors.pink}),(function(e){return e.theme.colors.secondaryDark}),(function(e){return e.theme.mbColors.dark}),(function(e){return e.theme.colors.secondaryDark})),Me=w.default.div(We||(We=e.__makeTemplateObject(["\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(e){return e.theme.sizes.fsParagraph4}),(function(e){return e.theme.sizes.fwBold}),u.MediaQueries.mbDown),Ne=w.default.div(qe||(qe=e.__makeTemplateObject(["\n display: block;\n"],["\n display: block;\n"]))),Pe=w.default.div(Ke||(Ke=e.__makeTemplateObject([""],[""])));w.default.div(Xe||(Xe=e.__makeTemplateObject(["\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(e){return e.theme.colors.neutral50}),(function(e){return e.theme.colors.primaryBase}),(function(e){return e.theme.sizes.fwBold}),(function(e){return e.theme.colors.primaryBase}),(function(e){return e.theme.colors.gray800}),(function(e){return e.theme.colors.neutral100}),(function(e){return e.theme.colors.gray800}));var Re,Be,je,De,He,ze,Ue,Fe,Ge,Ye,Ve,Qe,Ze,We,qe,Ke,Xe,Je,$e=w.default.div(Je||(Je=e.__makeTemplateObject(["\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(e){return e.theme.colors.secondaryBase}));function en(){return E.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},E.default.createElement("path",{d:"M14.5 17L9.5 12L14.5 7",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"}))}function nn(){return E.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},E.default.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"}))}function tn(e){var n=e.siteType,t=e.type;return"helloSites"===n?E.default.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}):E.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},E.default.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 an(n){var t,a,i=n.type,o=n.isStatic,l=n.isAmp,d=n.isDisplayed,c=n.siteType,p=n.isCollapsed,u=n.sitewideBannerShown,h=n.sitewideBanner,g=n.sitewideBannerClosed,f=n.setSitewideBannerClosed,x=n.isMobile,y=n.onMenuClick,v=n.menu,b=n.isSearchIconDisplayed,w=n.statics,k=w.DISCOVER_URL_FE,_=w.SSO_URL,C=w.HOME_PAGE_URL,T=w.CARE_URL_FE,L=n.basePath,O=n.languageMenu,S=n.enabledExperimentalCareHeader,I=n.onCareHeaderClick,A=n.logoType,M=n.locale,N=n.isInit,P=n.title,R=n.sponsorComponent,B=n.currentUrl,j=n.userInfo,D=n.currentPopupType,H=n.avatar,z=n.profileMenu,U=n.isLoginButtonDisplayed,F=n.goToLogin,G=n.isSearchBarDisplay,Y=n.searchPlaceholder,V=n.onSearchValueChanged,Q=n.keyPressed,Z=ae(),W=!!R,q=!!(null===(a=null===(t=null==R?void 0:R.props)||void 0===t?void 0:t.sponsoredBy)||void 0===a?void 0:a.length),K=u&&!!h&&!g,X=on({isSiteWide:!!h&&!g,isShowingSiteWideBanner:K,isSponsored:W,hasSponsoredBanners:q,isMobile:!0}),J=X.headerRef,$=X.headerHeight;return E.default.createElement(E.default.Fragment,null,E.default.createElement(ve,{"data-header-type":i,"data-collapsed":!o&&p,"data-with-search-input":"popup-sub-level"!==i,"data-is-displayed":d,"data-is-amp":l,"data-sponsored":W,"data-site-type":c,"data-sitewide-banner-shown":K,id:"site-header",ref:J},h?E.default.isValidElement(h)?E.default.cloneElement(h,{isCollapsed:p,setBannerClosed:f,isAmp:l,isMobile:x}):h:null,E.default.createElement("div",{style:e.__assign(e.__assign({position:"relative",height:64,display:"flex",alignItems:"center",justifyContent:"helloSites"===c?"center":"flex-start",background:"white"},"marryBaby"===c?{paddingLeft:66}:{}),void 0!==O||S?{paddingLeft:S?48:64,gap:24,justifyContent:"unset"}:{})},E.default.createElement(be,null,E.default.createElement(Ee,{on:"tap:discover-amp-sidebar",role:"button",className:"menu-handler",tabIndex:0},E.default.createElement("div",{onClick:function(){return null==y?void 0:y("categories")}},"home"===i&&E.default.createElement("a",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"Hamburger Navigation URL"},E.default.createElement(tn,{siteType:c,type:i})),"popup"===i&&E.default.createElement(nn,null),"popup-sub-level"===i&&E.default.createElement(en,null)),v),b&&"helloSites"===c&&"home"===i&&E.default.createElement(Ee,{style:{paddingRight:16}},E.default.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")},E.default.createElement("img",{src:"".concat(L,"/images/search.svg"),style:{width:"24px",height:"24px"},alt:i}),E.default.createElement("input",{style:{width:"32px",height:"32px",position:"absolute",left:"-2px",bottom:"0",opacity:0,zIndex:1e4}})))),"popup"!==i&&E.default.createElement(Me,{"data-is-profile":!0,className:N?"":"menu-handler-health-tools"},E.default.createElement("div",{className:"menu-handler-item"},b&&"marryBaby"===c&&"home"===i&&E.default.createElement(Ee,{style:{justifySelf:"flex-end"}},E.default.createElement("a",{"data-event-category":"Search Button","data-event-action":"Click",style:{display:"flex"},href:"".concat(k,"/search?s=&page=1")},E.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},E.default.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"})),E.default.createElement("input",{style:{width:"32px",height:"32px",position:"absolute",left:"-2px",bottom:"0",opacity:0}}))),S&&E.default.createElement(E.default.Fragment,null,I?E.default.createElement(r.Button,{size:"sm",color:"primary",dataEventCategory:"Care",dataEventAction:"Navigation Bar Click",dataEventLabel:B,onClick:function(e){return I(e)}},Z("login.booking")):E.default.createElement("a",{href:T,className:"care-button"},E.default.createElement(r.Button,{size:"sm",color:"primary",dataEventCategory:"Care",dataEventAction:"Navigation Bar Click",dataEventLabel:B},Z("login.booking")))),(null==j?void 0:j.id)?E.default.createElement(Se,{style:{position:"relative"}},E.default.createElement("div",{onClick:function(){return y&&y("profile")}},"profile"===D?E.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},E.default.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"})):H),z):l?E.default.createElement("a",{"data-vars-event-category":"Sign Up","data-vars-event-action":"Button Click","data-vars-event-label":B,href:"".concat(_,"?returnUrl=").concat(B.replace("?amp=1","")),style:{textDecoration:"none"}},"vi-VN"===M?E.default.createElement($e,{onClick:F},E.default.createElement("img",{src:"",className:"avatar",alt:"avatar"})):E.default.createElement(r.Button,{className:"login-btn-mobile",size:"sm",color:"secondary",onClick:F},Z("navigation.loginJoin"))):U&&E.default.createElement("a",{"data-event-category":"Sign Up","data-event-action":"Button Click","data-event-label":B},S?E.default.createElement($e,{onClick:F},E.default.createElement("img",{src:"",className:"avatar",alt:"avatar"})):"helloSites"===c?E.default.createElement(r.Button,{className:"login-btn-mobile",size:"sm",color:"secondary",onClick:F},Z("navigation.loginJoin")):E.default.createElement("div",{className:"login-btn-mobile",onClick:F,style:{paddingLeft:16}},E.default.createElement(s.Text,{size:"p3"},Z("navigation.loginJoin")))))),("home"===i||"popup"===i)&&E.default.createElement("a",{href:C||""},E.default.createElement(s.Logo,{type:A,height:"27px",width:"121px",style:{display:"flex"},badge:"id-ID"===M?E.default.createElement("img",{src:"",style:{width:56,height:23,maxWidth:56},width:"56",height:"23"}):void 0})),void 0!==O&&E.default.createElement(Ae,{"data-is-active":!0,className:N?"":"menu-handler-language",onClick:function(){y&&y("language")}},O),P&&E.default.createElement(m.Heading,{className:"top-bar-header",tag:"h5"},P)),R?E.default.isValidElement(R)?E.default.cloneElement(R,{isCollapsed:p,locale:M,isMobile:x,isAmp:l}):R:null),G?E.default.createElement(we,{"data-header-type":i,"data-is-displayed":d,"data-sitewide-banner-shown":u&&!!h},E.default.createElement(s.PureInput,{style:{minHeight:"auto",minWidth:"100%",padding:"0 16px"},name:"search-input-"+i+(N?"":"-temp"),size:"md",placeholder:Y,onChange:V,onKeyPress:Q,type:"search",displayIcon:E.default.createElement("a",{"data-event-category":"Search Button","data-event-action":"Click"},E.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},E.default.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"}),E.default.createElement("path",{d:"M20 20L16 16",stroke:"#8C8C8C",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})))})):E.default.createElement(E.default.Fragment,null,!l&&E.default.createElement("div",{style:{height:$}})))}var on=function(e){var t=e.hasSponsoredBanners,i=e.isSiteWide,o=e.isSponsored,l=e.isShowingSiteWideBanner,r=e.isMobile,s=n.useRef(null),d=n.useState(0),c=d[0],p=d[1],u=n.useCallback(a.debounce((function(){var e,n=(null===(e=s.current)||void 0===e?void 0:e.clientHeight)||0;window.scrollY<=n+30&&p(n)}),100),[]);n.useEffect((function(){return window.addEventListener("resize",u),window.addEventListener("scroll",u),function(){window.removeEventListener("resize",u),window.removeEventListener("scroll",u)}}),[]),n.useEffect((function(){u()}),[i,l,o,t,s.current]);var m=n.useMemo((function(){var e=r?64:69;return l&&(e+=64),o&&(e+=40),e}),[r,l,o]);return{headerHeight:c||m,headerRef:s}},ln=function(e){var t,i,o,c=e.siteType,p=e.basePath,u=e.statics,m=e.currentPopupType,h=void 0===m?"none":m,g=e.isDisplayed,f=void 0===g||g,x=e.isSearchBarDisplay,y=void 0===x||x,v=e.searchPlaceholder,b=void 0===v?"":v,w=e.openPopup,k=e.onTopBarAppears,_=e.onSearchChange,L=e.onSearchKeyPress,O=e.menu,S=e.isAmp,I=e.profileMenu,A=e.isMobile,M=void 0!==A&&A,N=e.isLoginButtonDisplayed,P=e.title,R=e.type,B=void 0===R?"home":R,j=e.onMenuClick,D=e.isStatic,H=void 0!==D&&D,z=e.routerAsPath,U=e.locale,F=e.userInfo,G=e.marryBaby,Y=(void 0===G?{tone:"white"}:G).tone,V=e.menuItems,Q=void 0===V?[]:V,Z=e.isInit,W=e.sitewideBanner,q=e.sitewideBannerShown,K=void 0===q||q,X=e.sponsorComponent,J=e.languageMenu,$=e.isSearchIconDisplayed,ee=void 0!==$&&$,ne=e.enabledExperimentalCareHeader,te=e.onCareHeaderClick,ie=u.SSO_URL,oe=u.HOME_PAGE_URL,le=u.CARE_URL_FE,re=ae(),se=!!X,de=n.useState(!1),ce=de[0],pe=de[1],ue=n.useState(!1),me=ue[0],he=ue[1],ge=n.useState(!1),fe=ge[0],xe=ge[1],ye=n.useState(Z||!1),ve=ye[0],be=ye[1],Ee=n.useRef(47),we=n.useRef(!1),Ne=n.useRef(!1),Pe="helloSites"===c?"https://".concat(C[U]).concat(z):"https://www.marrybaby.vn".concat(z),Re=n.useMemo((function(){var e=(null==F?void 0:F.name)||(null==F?void 0:F.username);return E.default.createElement(l.Avatar,{type:"rounded",size:"small",avatarUrl:null==F?void 0:F.avatar,firstLetter:e&&e.length?e[0].toUpperCase():"A",backgroundColor:"marryBaby"===c?d.theme.mbColors.pink:d.theme.colors.secondaryBase,isAmp:S})}),[null==F?void 0:F.username,null==F?void 0:F.name,null==F?void 0:F.avatar]),Be=function(){var e=window.location.href;window.location.href=ie?"".concat(ie,"?returnUrl=").concat(e):e},je="helloSites"===c?null===(t=T[U])||void 0===t?void 0:t.LOGO_TYPE:c,De="undefined"!=typeof window,He=function(e){null==_||_(e)},ze=n.useCallback(a.throttle((function(){var e;if("home"===B){var n=window,t=null===(e=document.querySelector(".sticky-container"))||void 0===e?void 0:e.clientHeight;De&&n&&(n.scrollY>Ee.current&&n.scrollY>64&&!we.current&&(we.current=!0,pe(!0)),n.scrollY<Ee.current&&we.current&&(we.current=!1,pe(!1),t&&n.scrollY),n.scrollY<Ee.current&&t&&n.scrollY,y?(n.scrollY<64&&n.scrollY<Ee.current&&Ne.current&&(Ne.current=!1),n.scrollY>8&&n.scrollY>Ee.current&&!Ne.current&&(Ne.current=!0)):Ne.current=!0,n.scrollY>=0&&(Ee.current=n.scrollY))}}),300),[]);n.useEffect((function(){null==k||k(!ce)}),[ce]);var Ue=function(e){var n,t;L&&L(e,null!==(t=null===(n=document.getElementById("search-input-"+B))||void 0===n?void 0:n.value)&&void 0!==t?t:"")};n.useEffect((function(){M&&ze()}),[]),n.useEffect((function(){return window.addEventListener("scroll",ze,{passive:!0}),function(){window.removeEventListener("scroll",ze)}}),[]),n.useEffect((function(){be(!0)}),[]),n.useEffect((function(){"undefined"!=typeof window&&xe(Boolean(fe))}),[]);var Fe=E.default.createElement(E.default.Fragment,null,Q.find((function(e){return"categories"===e.id}))&&E.default.createElement(Ae,{"data-is-active":"categories"===h,className:ve?"":"menu-handler-categories",tabIndex:0,onClick:function(){null==w||w("categories"),setTimeout((function(){var e,n;null===(n=null===(e=document.getElementsByClassName("top-menu-categories"))||void 0===e?void 0:e[0])||void 0===n||n.focus()}),100)}},E.default.createElement("div",{className:"menu-handler-item"},re("home.navigator.menuItem.discover"),E.default.createElement(Ie,null,E.default.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},E.default.createElement("path",{d:"M11.5 7.5L9 10L6.5 7.5",stroke:"#202135",strokeWidth:"1.33",strokeLinecap:"round",strokeLinejoin:"round"})))),"categories"===h&&E.default.createElement("div",null,O)),Q.find((function(e){return"healthTools"===e.id}))&&E.default.createElement(Ae,{"data-is-active":"tools"===h,className:ve?"":"menu-handler-health-tools",tabIndex:0},E.default.createElement("div",{className:"menu-handler-item",onClick:function(){w&&w("tools")}},re("home.navigator.menuItem.healthTools"),E.default.createElement(Ie,null,E.default.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},E.default.createElement("path",{d:"M11.5 7.5L9 10L6.5 7.5",stroke:"#202135",strokeWidth:"1.33",strokeLinecap:"round",strokeLinejoin:"round"})))),"tools"===h&&E.default.createElement("div",null,O)),Q.find((function(e){return"care"===e.id}))&&!ne&&E.default.createElement(Ae,{"data-is-active":"care"===h,className:ve?"":"menu-handler-care-specialties",tabIndex:0},E.default.createElement("div",{className:"menu-handler-item",onClick:function(){w&&w("care")}},re("home.navigator.menuItem.helloCare"),E.default.createElement(Ie,null,E.default.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},E.default.createElement("path",{d:"M11.5 7.5L9 10L6.5 7.5",stroke:"#202135",strokeWidth:"1.33",strokeLinecap:"round",strokeLinejoin:"round"})))),"care"===h&&E.default.createElement("div",null,O)),Q.find((function(e){return"together"===e.id}))&&E.default.createElement(Ae,{"data-is-active":"communities"===h,className:ve?"":"menu-handler-communities",tabIndex:0},E.default.createElement("div",{className:"menu-handler-item",onClick:function(){w&&w("communities")}},re("home.navigator.menuItem.helloTogether"),E.default.createElement(Ie,null,E.default.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},E.default.createElement("path",{d:"M11.5 7.5L9 10L6.5 7.5",stroke:"#202135",strokeWidth:"1.33",strokeLinecap:"round",strokeLinejoin:"round"})))),"communities"===h&&E.default.createElement("div",null,O))),Ge=!!(null===(o=null===(i=null==X?void 0:X.props)||void 0===i?void 0:i.sponsoredBy)||void 0===o?void 0:o.length),Ye=K&&!!W&&!me,Ve=on({isSiteWide:!!W&&!me,isShowingSiteWideBanner:Ye,isSponsored:se,hasSponsoredBanners:Ge}),Qe=Ve.headerRef,Ze=Ve.headerHeight;return M?E.default.createElement(an,{type:B,isStatic:H,isAmp:S,isDisplayed:f,siteType:c,isCollapsed:ce,sitewideBannerShown:K,sitewideBanner:W,sitewideBannerClosed:me,setSitewideBannerClosed:he,isMobile:M,onMenuClick:j,menu:O,isSearchIconDisplayed:ee,statics:u,basePath:p,languageMenu:J,enabledExperimentalCareHeader:ne,logoType:je,locale:U,isInit:ve,title:P,sponsorComponent:X,currentUrl:Pe,userInfo:F,currentPopupType:h,avatar:Re,profileMenu:I,isLoginButtonDisplayed:N,goToLogin:Be,isSearchBarDisplay:y,searchPlaceholder:b,onSearchValueChanged:He,keyPressed:Ue}):E.default.createElement(E.default.Fragment,null,E.default.createElement("div",{style:{height:Ze}}),E.default.createElement(ke,{ref:Qe,"data-site-type":c,"data-marry-baby-tone":"marryBaby"===c&&Y,"data-sponsored":se,"data-sitewide-banner-shown":Ye},W?E.default.isValidElement(W)?E.default.cloneElement(W,{isCollapsed:ce,setBannerClosed:he}):W:null,E.default.createElement(s.Container,{style:{height:69,padding:"0 16px"},type:c},E.default.createElement(_e,null,E.default.createElement(Ce,null,E.default.createElement("a",{href:oe},E.default.createElement(Te,{"data-is-having-border":"helloSites"===c},E.default.createElement(s.Logo,{style:{display:"flex"},type:je,height:"27px",width:"121px",badge:"id-ID"===U?E.default.createElement("img",{src:"",style:{width:56,height:23,maxWidth:56},width:"56",height:"23"}):void 0}))),y&&"helloSites"===c&&E.default.createElement(Le,{"data-header-type":B,"data-is-displayed":f,"data-sitewide-banner-shown":K&&!!W},E.default.createElement(s.PureInput,{style:{minHeight:"32px",maxHeight:"32px",minWidth:"100%",backgroundColor:d.theme.colors.white},name:"search-input-"+B+(ve?"":"-temp"),size:"sm",placeholder:b,onChange:He,onKeyPress:Ue,displayIcon:E.default.createElement("a",{"data-event-category":"Search Button","data-event-action":"Click",style:{width:"24px",height:"24px",transform:"scale(0.8)"}},E.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},E.default.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"===c&&E.default.createElement("div",{style:{marginLeft:28,display:"flex"}},Fe)),E.default.createElement(Oe,null,"helloSites"===c&&Fe,y&&"marryBaby"===c&&E.default.createElement(Le,{"data-header-type":B,"data-is-displayed":f,"data-is-styled-borderless":"marryBaby"===c,"data-marry-baby-theme":Y},E.default.createElement(s.PureInput,{style:{minHeight:"40px",maxHeight:"40px",minWidth:"100%",borderRadius:16},name:"search-input-"+B+(ve?"":"-temp"),size:"sm",placeholder:b,onChange:He,onKeyPress:Ue,displayIcon:E.default.createElement("a",{"data-event-category":"Search Button","data-event-action":"Click",style:{width:"24px",height:"24px"}},E.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},E.default.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!==J&&E.default.createElement(Ae,{"data-is-active":!0,className:ve?"":"menu-handler-language",onClick:function(){w&&w("language")}},J),E.default.createElement(Me,{"data-is-active":"profile"===h,"data-is-profile":!0,className:ve?"":"menu-handler-health-tools",tabIndex:0},E.default.createElement("div",{className:"menu-handler-item"},ne&&E.default.createElement(E.default.Fragment,null,te?E.default.createElement(r.Button,{className:"login-btn-mobile",size:"sm",color:"secondary",dataEventCategory:"Care",dataEventAction:"Navigation Bar Click",dataEventLabel:Pe,onClick:function(e){return te(e)}},re("login.booking")):E.default.createElement("a",{href:le,className:"care-button no-replace-click"},E.default.createElement(r.Button,{className:"login-btn-mobile",size:"sm",color:"secondary",dataEventCategory:"Care",dataEventAction:"Navigation Bar Click",dataEventLabel:Pe},re("login.booking")))),(null==F?void 0:F.id)?E.default.createElement(Se,{style:{position:"relative"}},E.default.createElement("div",{onClick:function(){return w&&w("profile")}},Re),I):N&&E.default.createElement("a",{"data-event-category":"Sign Up","data-event-action":"Button Click","data-event-label":Pe},ne?E.default.createElement($e,{onClick:Be},E.default.createElement("img",{src:"",className:"avatar",alt:"avatar"})):"helloSites"===c?E.default.createElement(r.Button,{size:"md",color:"secondary",onClick:Be},re("navigation.loginJoin")):E.default.createElement(r.Button,{size:"md",color:"secondary",theme:"marryBaby",onClick:Be},re("navigation.loginJoin")))))))),X?E.default.isValidElement(X)?E.default.cloneElement(X,{isCollapsed:ce,locale:U,isMobile:M,isAmp:S}):X:null))};w.default.div(rn||(rn=e.__makeTemplateObject(["\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 rn,sn,dn,cn,pn,un,mn,hn,gn,fn,xn,yn,vn,bn,En,wn,kn,_n,Cn,Tn=w.default.div(sn||(sn=e.__makeTemplateObject(["\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(e){return e.theme.colors.neutral50}),u.MediaQueries.mbUp),Ln=w.default.div(dn||(dn=e.__makeTemplateObject(["\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"])),u.MediaQueries.mbDown,u.MediaQueries.mbUp),On=function(e){var n=e.sponsoredBy,t=e.isAmp,a=e.onClose,i=e.locale||"en-PH",o=ae();return E.default.createElement(Ln,{"data-align-left":n&&!!(null==n?void 0:n.logo),"data-is-amp":t||void 0,id:"sponsored-by",className:t?"amp-sponsored-popup":void 0},E.default.createElement(s.Text,{size:"p3",style:{marginBottom:"1rem"}},o("articlePage.sponsoredByStickyPopup.content")),E.default.createElement("div",{className:"button-container",onClick:function(e){e.stopPropagation()}},E.default.createElement(r.Button,{size:"md",color:"secondary",onClick:a,isAmp:t,on:"tap:sponsored-by.toggleClass(class='open')"},o("articlePage.sponsoredByStickyPopup.close")),E.default.createElement(r.Button,{size:"md",onClick:function(){window.location.href="/static".concat(L[i].ADVERTISING_SPONSOR_POLICY)},isAmp:t,on:"tap:AMP.navigateTo(url='/static".concat(L[i].ADVERTISING_SPONSOR_POLICY,"')")},o("articlePage.sponsoredByStickyPopup.policies"))))},Sn=w.default.div(cn||(cn=e.__makeTemplateObject(["\n & > div {\n width: 100%;\n margin-bottom: 8px;\n }\n"],["\n & > div {\n width: 100%;\n margin-bottom: 8px;\n }\n"]))),In=w.default.div(pn||(pn=e.__makeTemplateObject(["\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"]))),An=w.default.div(un||(un=e.__makeTemplateObject(["\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(e){return e.theme.colors.neutral100}),(function(e){return e.theme.colors.neutral100})),Mn=w.default.div(mn||(mn=e.__makeTemplateObject(["\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(e){return e.theme.colors.white}),(function(e){return e.theme.sizes.fsParagraph4}),(function(e){return e.theme.colors.blue50}),(function(e){return e.theme.colors.gray800}),(function(e){return e.theme.sizes.fwBold})),Nn=w.default.div(hn||(hn=e.__makeTemplateObject([""],[""]))),Pn=w.default.div(gn||(gn=e.__makeTemplateObject(["\n display: flex;\n"],["\n display: flex;\n"]))),Rn=w.default.div(fn||(fn=e.__makeTemplateObject(["\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"])),u.MediaQueries.mbDown,(function(e){return e.theme.colors.primaryBase}),(function(e){return e.theme.sizes.fsParagraph4}),(function(e){return e.theme.sizes.fwBold}),(function(e){return e.theme.mbColors.pink})),Bn=w.default.div(xn||(xn=e.__makeTemplateObject(["\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"]))),jn=w.default.div(yn||(yn=e.__makeTemplateObject(["\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"])),F),Dn=w.default.div(vn||(vn=e.__makeTemplateObject(["\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"])),G,(function(e){return e.theme.colors.neutral50}),(function(e){return e.theme.colors.white})),Hn=w.default.div(bn||(bn=e.__makeTemplateObject(["\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"]))),zn=w.default.div(En||(En=e.__makeTemplateObject(["\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"]))),Un=w.default.div(wn||(wn=e.__makeTemplateObject(["\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(e){return e.theme.colors.gray800}),(function(e){return e.theme.sizes.fsParagraph4}),(function(e){return e.theme.sizes.fwRegular}),(function(e){return e.theme.colors.primaryBase})),Fn=w.default.div(kn||(kn=e.__makeTemplateObject(["\n display: none;\n"],["\n display: none;\n"]))),Gn=w.default.div(_n||(_n=e.__makeTemplateObject(["\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"]))),Yn=w.default.div(Cn||(Cn=e.__makeTemplateObject(["\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(e){return e.theme.mbColors.lightGray})),Vn=w.default.div(nt||(nt=e.__makeTemplateObject(["\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"]))),Qn=w.default.div(tt||(tt=e.__makeTemplateObject(["\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(e){return e.theme.colors.white})),Zn=w.default.div(at||(at=e.__makeTemplateObject(["\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"]))),Wn=w.default.div(it||(it=e.__makeTemplateObject(["\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(e){return e.theme.colors.white}),(function(e){return e.theme.colors.white})),qn=w.default.div(ot||(ot=e.__makeTemplateObject(["\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"]))),Kn=w.default.div(lt||(lt=e.__makeTemplateObject(["\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"]))),Xn=w.default.div(rt||(rt=e.__makeTemplateObject(["\n flex: 1;\n padding: 16px;\n background-color: ",";\n"],["\n flex: 1;\n padding: 16px;\n background-color: ",";\n"])),(function(e){return e.theme.colors.white}));w.default.div(st||(st=e.__makeTemplateObject(["\n margin-top: 64px;\n"],["\n margin-top: 64px;\n"])));var Jn=w.default.div(dt||(dt=e.__makeTemplateObject(["\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(e){return e.theme.colors.white}));w.default.div(ct||(ct=e.__makeTemplateObject(["\n padding: 24px 0;\n"],["\n padding: 24px 0;\n"])));var $n=w.default.div(pt||(pt=e.__makeTemplateObject(["\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"])));w.default.div(ut||(ut=e.__makeTemplateObject(["\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"])),F),w.default.div(mt||(mt=e.__makeTemplateObject(["\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"])),G,(function(e){return e.theme.colors.neutral50}),(function(e){return e.theme.colors.white})),w.default.div(ht||(ht=e.__makeTemplateObject(["\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"]))),w.default.div(gt||(gt=e.__makeTemplateObject(["\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"]))),w.default.div(ft||(ft=e.__makeTemplateObject(["\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(e){return e.theme.colors.gray800}),(function(e){return e.theme.sizes.fsParagraph4}),(function(e){return e.theme.sizes.fwRegular}),(function(e){return e.theme.colors.primaryBase})),w.default.div(xt||(xt=e.__makeTemplateObject(["\n display: none;\n"],["\n display: none;\n"]))),w.default.div(yt||(yt=e.__makeTemplateObject(["\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(e){return e.theme.colors.gray800}),(function(e){return e.theme.sizes.fsParagraph4}),(function(e){return e.theme.sizes.fwRegular}),(function(e){return e.theme.colors.primaryBase})),w.default.div(vt||(vt=e.__makeTemplateObject(["\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(e){return e.theme.colors.primaryBase}),(function(e){return e.theme.sizes.fsParagraph4}),(function(e){return e.theme.sizes.fwBold}),(function(e){return e.theme.mbColors.pink}));var et=w.default.div(bt||(bt=e.__makeTemplateObject(["\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"])));w.default.div(Et||(Et=e.__makeTemplateObject(["\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"]))),w.default.div(wt||(wt=e.__makeTemplateObject(["\n display: block;\n"],["\n display: block;\n"]))),w.default.div(kt||(kt=e.__makeTemplateObject(["\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(e){return e.theme.colors.neutral50}),(function(e){return e.theme.colors.primaryBase}),(function(e){return e.theme.colors.primaryBase}),(function(e){return e.theme.colors.neutral100}),(function(e){return e.theme.colors.gray800}));var nt,tt,at,it,ot,lt,rt,st,dt,ct,pt,ut,mt,ht,gt,ft,xt,yt,vt,bt,Et,wt,kt,_t,Ct,Tt,Lt,Ot,St,It=w.default.div(_t||(_t=e.__makeTemplateObject(["\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(e){return e.theme.mbColors.pink})),At=w.default.div(Ct||(Ct=e.__makeTemplateObject(["\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"]))),Mt=function(){return E.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},E.default.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"}))},Nt=w.default.div(Tt||(Tt=e.__makeTemplateObject(["\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(e){return e.theme.colors.neutral50}),(function(e){return e.theme.colors.primaryBase}),(function(e){return e.theme.sizes.fwBold}),(function(e){return e.theme.colors.primaryBase}),(function(e){return e.theme.colors.gray800}),(function(e){return e.theme.colors.neutral100}),(function(e){return e.theme.colors.gray800})),Pt=w.default.a(Lt||(Lt=e.__makeTemplateObject(["\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(e){return e.theme.colors.gray200}),(function(e){return e.theme.colors.white})),Rt=function(e){var n=e.locale,t=e.categoriesSSR,a=e.healthToolsSSR,i=e.spotlightsSSR,o=e.serviceUrls,l=e.together,r=e.care,d=e.basePath,c=e.searchPlaceholder,p=ae();return E.default.createElement(Nt,null,E.default.createElement("amp-sidebar",{id:"discover-amp-sidebar",layout:"nodisplay",style:{width:"100vw",maxWidth:"100vw"}},E.default.createElement("amp-nested-menu",{layout:"fill"},E.default.createElement("ul",{style:{paddingBottom:24}},E.default.createElement("div",{className:"amp__menu-header"},E.default.createElement(Ne,{on:"tap:discover-amp-sidebar.close",role:"button",tabIndex:1},E.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},E.default.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"}))),E.default.createElement("div",{className:"logo"},E.default.createElement(s.Logo,{height:"32px",width:"121px",type:T.LOGO_TYPE,isAmp:!0,badge:"id-ID"===n?E.default.createElement("amp-img",{src:"",width:"56",height:"23"}):void 0})),E.default.createElement("div",null)),E.default.createElement(Pt,{href:"/search"},E.default.createElement(Mt,null),E.default.createElement("input",{className:"amp-search-input",type:"text",placeholder:c,readOnly:!0})),E.default.createElement("div",{className:"categories__spotlight"},E.default.createElement(Pe,{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},E.default.createElement("amp-img",{src:"",width:"48",height:"48"}),E.default.createElement("span",null,p("home.navigator.menuItem.discover"))),E.default.createElement(Pe,{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'"},E.default.createElement("amp-img",{src:"",width:"48",height:"48"}),E.default.createElement("span",null,p("home.navigator.menuItem.healthTools"))),l.TOGETHER_MENU_COUNTRIES_ENABLED.includes(n)&&E.default.createElement("a",{href:o.TOGETHER_URL_FE},E.default.createElement(Pe,{role:"button",tabIndex:1,className:"nav-card",on:"tap:AMP.setState({healthToolsActive: false})"},E.default.createElement("amp-img",{src:"",width:"48",height:"48"}),E.default.createElement("span",null,p("home.navigator.menuItem.together")))),r.CARE_MENU_COUNTRIES_ENABLED.includes(n)&&E.default.createElement("a",{href:o.CARE_URL_FE},E.default.createElement(Pe,{role:"button",tabIndex:1,className:"nav-card"},E.default.createElement("amp-img",{src:"",width:"48",height:"48"}),E.default.createElement("span",null,p("home.navigator.menuItem.helloCare"))))),E.default.createElement("ul",{className:"categories","data-amp-bind-hidden":"!healthToolsActive",style:{marginBottom:24}},E.default.createElement(m.Heading,{tag:"h3",fontWeight:"bold",style:{marginBottom:24}},p("home.navigator.menuItem.discover")),t&&t.length>1&&t.map((function(e){return E.default.createElement("li",{key:e.name},E.default.createElement("a",{href:e.permalink},e.displayName))})),E.default.createElement("a",{style:{textDecoration:"none"},href:"".concat(o.DISCOVER_URL_FE,"/categories/")},E.default.createElement(Rn,{key:"all-categories"},p("home.navigator.menuItem.allCategories"),E.default.createElement(et,null,E.default.createElement("amp-img",{src:"".concat(d,"/svg/chevronRightActive.svg"),style:{width:"16px",height:"16px"},height:"16",width:"16",alt:p("home.navigator.menuItem.allCategories")}))))),E.default.createElement("ul",{className:"categories","data-amp-bind-hidden":"!healthToolsActive"},E.default.createElement(m.Heading,{tag:"h3",fontWeight:"bold",style:{marginBottom:24}},p("home.navigator.menuItem.spotlights")),i&&i.length>0&&i.map((function(e){return E.default.createElement("li",{key:e.id,className:"spotlight-li"},E.default.createElement("a",{href:e.permalink},e.name))})),E.default.createElement("a",{style:{textDecoration:"none"},href:"".concat(o.DISCOVER_URL_FE,"/spotlight/")},E.default.createElement(Rn,{key:"all-spotlight"},p("home.navigator.menuItem.allSpotlight"),E.default.createElement(et,null,E.default.createElement("amp-img",{src:"".concat(d,"/svg/chevronRightActive.svg"),style:{width:"16px",height:"16px"},height:"16",width:"16",alt:p("home.navigator.menuItem.allSpotlight")}))))),E.default.createElement("ul",{className:"categories","data-amp-bind-hidden":"healthToolsActive",hidden:!0},a&&a.length>1&&a.map((function(e,n){return e.healthTools&&e.healthTools.length>0&&E.default.createElement(E.default.Fragment,{key:n},E.default.createElement(m.Heading,{tag:"h4",fontWeight:"bold"},e.name),e.healthTools.map((function(e){return E.default.createElement("li",{key:e.title,className:"health-tool"},E.default.createElement("a",{href:e.link},E.default.createElement("amp-img",{width:"32",height:"32",src:e.icon}),E.default.createElement("span",null,e.title)))})))})))))))},Bt=w.default.footer(Ot||(Ot=e.__makeTemplateObject(["\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"])),u.MediaQueries.mbDown,u.MediaQueries.mbDown,u.MediaQueries.mbUp,(function(e){return e.theme.colors.neutral500}),(function(e){return e.theme.colors.neutral500}),u.MediaQueries.mbUp,u.MediaQueries.mbDown,(function(e){return e.theme.colors.neutral500}),u.MediaQueries.mbUp,u.MediaQueries.mbUp,(function(e){return e.theme.colors.neutral500}),u.MediaQueries.mbUp,(function(e){return e.theme.colors.neutral500}),u.MediaQueries.mbDown,u.MediaQueries.mbUp,(function(e){return e.theme.colors.white}),(function(e){return e.theme.sizes.fwBold}),u.MediaQueries.mbDown,(function(e){return e.theme.colors.neutral500}),u.MediaQueries.mbDown,u.MediaQueries.mbUp,(function(e){return e.theme.colors.neutral500}),u.MediaQueries.mbDown,u.MediaQueries.mbUp,(function(e){return e.theme.colors.white}),(function(e){return e.theme.sizes.fwBold}),u.MediaQueries.mbUp),jt=w.default.div(St||(St=e.__makeTemplateObject(["\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"]))),Dt=function(e){var n=e.url,t=e.isMobile,a=e.dataEventCategory,i=e.dataEventAction,o=e.dataEventLabel;return E.default.createElement(jt,{"data-is-mobile":t},E.default.createElement("img",{className:"country-flag",src:n,alt:"Country Flag","data-event-category":a,"data-event-action":i,"data-content-label":o}))},Ht=function(e){var n,t,a,i,o,l,c,p,u,m,h,g,f,x,y,v,b,w,k,_,T,L,O,S,I,A,M,N,P,R,B,j,D,H,z,U=e.className,F=e.type,G=void 0===F?"main":F,Y=e.footerInfo,V=e.isMobile,Q=e.locale,Z=e.isAmp,W=ae(),q=null==Y?void 0:Y.menu;return E.default.createElement(Bt,{as:Z&&"mini"===G?"div":"footer",className:U,style:"mini"===G?{backgroundColor:d.theme.colors.neutral50}:{},"next-page-hide":!0},E.default.createElement(s.Container,null,E.default.createElement("div",{className:"inner","data-type":G,"next-page-hide":""},"main"===G?E.default.createElement(E.default.Fragment,null,E.default.createElement("a",{href:"/"},Z?(null===(t=null==Y?void 0:Y.general)||void 0===t?void 0:t.logo)?E.default.createElement("amp-img",{src:null===(a=null==Y?void 0:Y.general)||void 0===a?void 0:a.logo,alt:"Site logo",width:"132",height:"32",style:{marginBottom:24}}):null:E.default.createElement("img",{className:"footer-logo",src:null===(n=null==Y?void 0:Y.general)||void 0===n?void 0:n.logo,alt:"Logo","data-is-sehat":"id-ID"===Q})),E.default.createElement("div",{className:"columns"},E.default.createElement("div",{className:"newsletter"},E.default.createElement(s.Text,{size:"p1",type:"bold"},null===(i=null==Y?void 0:Y.general)||void 0===i?void 0:i.content),E.default.createElement(r.Button,{className:"signupButton",color:"primary",size:"lg"},W("footer.signUp")),E.default.createElement("div",{className:"social"},E.default.createElement(s.Text,{size:"sm",type:"regular"},null===(o=null==Y?void 0:Y.social)||void 0===o?void 0:o.title),E.default.createElement("div",{className:"icons"},null===(c=null===(l=null==Y?void 0:Y.social)||void 0===l?void 0:l.socials)||void 0===c?void 0:c.map((function(e,n){return E.default.createElement("a",{key:n,"data-event-category":"Footer","data-event-action":"Follow us - ".concat(e.name),"data-content-label":e.url,href:e.url},Z?E.default.createElement("amp-img",{"data-event-category":"Footer","data-event-action":"Follow us - ".concat(e.name),"data-content-label":e.url,src:e.icon,alt:"Logo Social",width:"32",height:"32"}):E.default.createElement("img",{"data-event-category":"Footer","data-event-action":"Follow us - ".concat(e.name),"data-content-label":e.url,src:e.icon,alt:"Logo Social",className:"social-icon"}))}))),E.default.createElement("hr",{className:"hrMobile"}))),E.default.createElement("div",null,q&&E.default.createElement(E.default.Fragment,null,E.default.createElement("div",{className:"biglinks"},null===(u=null===(p=q[0])||void 0===p?void 0:p.items)||void 0===u?void 0:u.map((function(e,n){return E.default.createElement("a",{"data-event-category":"Footer","data-event-action":e.title,"data-event-label":"https://".concat(C[Q]).concat(e.url),className:"bigLink",key:n,href:e.url},e.title)}))),E.default.createElement("hr",{className:"hrMobile"}),E.default.createElement("div",{className:"mHalf"},E.default.createElement(s.Text,{type:"regular",size:"sm",className:"linkTitle"},null===(m=q[1])||void 0===m?void 0:m.menu_title),null===(g=null===(h=q[1])||void 0===h?void 0:h.items)||void 0===g?void 0:g.map((function(e,n){return E.default.createElement("a",{"data-event-category":"Footer","data-event-action":e.title,"data-event-label":"https://".concat(C[Q]).concat(e.url),className:"link",href:e.url,key:n},E.default.createElement(s.Text,{size:"sm",type:"regular",dataEventCategory:"Footer",dataEventAction:e.title,dataEventLabel:"https://".concat(C[Q]).concat(e.url)},e.title))}))),E.default.createElement("div",{className:"mHalf"},E.default.createElement(s.Text,{type:"regular",size:"sm",className:"linkTitle"},null===(f=q[2])||void 0===f?void 0:f.menu_title),null===(y=null===(x=q[2])||void 0===x?void 0:x.items)||void 0===y?void 0:y.map((function(e,n){return e.url&&E.default.createElement("a",{"data-event-category":"Footer","data-event-action":e.title,"data-event-label":e.url,className:"link",href:e.url,key:n},E.default.createElement(s.Text,{size:"sm",type:"regular",dataEventCategory:"Footer",dataEventAction:e.title,dataEventLabel:e.url},e.title))})))),!Z&&E.default.createElement(E.default.Fragment,null,E.default.createElement("hr",{className:"hrMobile"}),E.default.createElement("div",{className:"otherSites"},E.default.createElement(s.Text,{type:"regular",size:"sm",className:"linkTitle"},null===(v=null==Y?void 0:Y.branch)||void 0===v?void 0:v.title),E.default.createElement("div",{className:"flags"},null===(w=null===(b=null==Y?void 0:Y.branch)||void 0===b?void 0:b.branch)||void 0===w?void 0:w.map((function(e,n){return E.default.createElement("a",{className:"link",href:e.url,key:n,"data-event-category":"Footer","data-event-action":e.name,"data-event-label":e.url},E.default.createElement(Dt,{url:e.flag,isMobile:V,dataEventCategory:"Footer",dataEventAction:e.name,dataEventLabel:e.url}))}))))))),E.default.createElement("hr",null),E.default.createElement("div",{className:"copyright","data-is-amp":Z||void 0},(null===(k=null==Y?void 0:Y.general)||void 0===k?void 0:k.verified)&&E.default.createElement("a",{href:null===(T=null===(_=null==Y?void 0:Y.general)||void 0===_?void 0:_.verified[0])||void 0===T?void 0:T.url,className:"copyright-image"},Z?E.default.createElement("amp-img",{src:null===(O=null===(L=null==Y?void 0:Y.general)||void 0===L?void 0:L.verified[0])||void 0===O?void 0:O.image,alt:"DMCA Icon",width:"100",height:"36"}):E.default.createElement("img",{src:null===(I=null===(S=null==Y?void 0:Y.general)||void 0===S?void 0:S.verified[0])||void 0===I?void 0:I.image,alt:"DMCA Icon"})),E.default.createElement(s.Text,{size:"xs",type:"regular",className:"copyright-content"},null===(A=null==Y?void 0:Y.general)||void 0===A?void 0:A.copyright)),"vi-VN"===Q&&E.default.createElement(s.Text,{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")):E.default.createElement(E.default.Fragment,null,(null==Y?void 0:Y.menu)&&E.default.createElement("div",{className:"columns"},E.default.createElement("div",{className:"mHalf"},E.default.createElement(s.Text,{type:"regular",size:"sm",className:"linkTitle"},null===(M=null==Y?void 0:Y.menu[1])||void 0===M?void 0:M.menu_title),null===(P=null===(N=null==Y?void 0:Y.menu[1])||void 0===N?void 0:N.items)||void 0===P?void 0:P.map((function(e){return E.default.createElement("a",{className:"link",href:e.url,key:e.title,"data-list-type":"Footer","data-content-type":"Navigate","data-content-topic":"Information","data-content-title":e.title,"data-content-id":"https://".concat(C[Q]).concat(e.url),"data-event-category":"Footer","data-event-action":e.title,"data-event-label":"https://".concat(C[Q]).concat(e.url)},E.default.createElement(s.Text,{dataEventCategory:"Footer",dataEventAction:e.title,dataEventLabel:"https://".concat(C[Q]).concat(e.url),size:"sm",type:"regular",style:{color:d.theme.colors.gray800}},e.title))}))),E.default.createElement("div",{className:"mHalf"},E.default.createElement(s.Text,{type:"regular",size:"sm",className:"linkTitle"},null===(R=null==Y?void 0:Y.menu[2])||void 0===R?void 0:R.menu_title),null===(j=null===(B=null==Y?void 0:Y.menu[2])||void 0===B?void 0:B.items)||void 0===j?void 0:j.map((function(e,n){return E.default.createElement("a",{className:"link",href:e.url,key:n,"data-list-type":"Footer","data-content-type":"Navigate","data-content-topic":"Hello Health","data-content-title":e.title,"data-content-id":e.url,"data-event-category":"Footer","data-event-action":e.title,"data-event-label":e.url},E.default.createElement(s.Text,{size:"sm",type:"regular",style:{color:d.theme.colors.gray800},dataEventCategory:"Footer",dataEventAction:e.title,dataEventLabel:e.url},e.title))}))),!Z&&"mini"!==G&&E.default.createElement("hr",{className:"hrMobile"}),E.default.createElement("div",{className:"newsletter"},E.default.createElement("div",{className:"social"},E.default.createElement(s.Text,{size:"sm",type:"regular"},null===(D=null==Y?void 0:Y.social)||void 0===D?void 0:D.title),E.default.createElement("div",{className:"icons"},null===(z=null===(H=null==Y?void 0:Y.social)||void 0===H?void 0:H.socials)||void 0===z?void 0:z.map((function(e,n){return E.default.createElement("a",{key:n,"data-event-category":"Footer","data-event-action":"Follow us - ".concat(e.name),"data-content-label":e.url,href:e.url},Z?E.default.createElement("amp-img",{"data-event-category":"Footer","data-event-action":"Follow us - ".concat(e.name),"data-content-label":e.url,src:e.icon,alt:"Logo Social",width:"32",height:"32"}):E.default.createElement("img",{"data-event-category":"Footer","data-event-action":"Follow us - ".concat(e.name),"data-content-label":e.url,src:e.icon,alt:"Logo Social",className:"social-icon"}))}))))))))))};w.default((function(n){var t=n.type,a=e.__rest(n,["type"]);return E.default.createElement(t,a)}))(zt||(zt=e.__makeTemplateObject(["\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(e){return e.theme.mbColors.dark}));var zt,Ut,Ft=w.default.p(Ut||(Ut=e.__makeTemplateObject(["\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(e){return e.theme.mbColors.dark})),Gt=function(n){var t=n.type,a=n.color,i=n.style,o=e.__rest(n,["type","color","style"]);return E.default.createElement(Ft,e.__assign({"data-type":t,style:e.__assign(e.__assign({},i),a&&{"--text-color":a})},o))};w.default.footer(Yt||(Yt=e.__makeTemplateObject(["\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(e){return e.theme.mbColors.lightGray}),u.MediaQueries.mbDown,u.MediaQueries.mbDown,(function(e){return e.theme.colors.white}),(function(e){return e.theme.colors.neutral500}),u.MediaQueries.mbUp,u.MediaQueries.mbDown,(function(e){return e.theme.colors.neutral500}),u.MediaQueries.mbUp,u.MediaQueries.mbUp,(function(e){return e.theme.colors.white}),u.MediaQueries.mbUp,(function(e){return e.theme.colors.white}),(function(e){return e.theme.sizes.fwBold}),u.MediaQueries.mbDown,(function(e){return e.theme.colors.neutral500}),u.MediaQueries.mbDown,(function(e){return e.theme.colors.neutral500}),(function(e){return e.theme.colors.white}),(function(e){return e.theme.sizes.fwBold}),u.MediaQueries.mbUp);var Yt,Vt,Qt,Zt,Wt,qt,Kt,Xt,Jt,$t,ea,na,ta,aa,ia,oa,la,ra,sa,da,ca,pa,ua,ma,ha,ga=w.default.div(Vt||(Vt=e.__makeTemplateObject([""],[""]))),fa=w.default.div(Qt||(Qt=e.__makeTemplateObject(["\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"]))),xa=w.default.div(Zt||(Zt=e.__makeTemplateObject(["\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"])),u.MediaQueries.mbDown),ya=w.default.div(Wt||(Wt=e.__makeTemplateObject(["\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"])),u.MediaQueries.mbDown,(function(e){return e.theme.colors.gray800}),u.MediaQueries.mbDown,u.MediaQueries.mbUp,u.MediaQueries.mbDown),va=w.default.div(qt||(qt=e.__makeTemplateObject(["\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"])),u.MediaQueries.mbUp,u.MediaQueries.mbDown),ba=w.default.div(Kt||(Kt=e.__makeTemplateObject(["\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"])),u.MediaQueries.mbDown,u.MediaQueries.mbDown,u.MediaQueries.mbDown,(function(e){return e.theme.mbColors.midGray}),u.MediaQueries.mbDown,u.MediaQueries.mbDown,u.MediaQueries.mbDown,(function(e){return e.theme.mbColors.midGray})),Ea=w.default.div(Xt||(Xt=e.__makeTemplateObject(["\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"]))),wa=function(e){var n,t=e.socialLinks,a=void 0===t?Z.SOCIAL_LINKS:t,i=a.facebookLink,o=a.instagramLink,l=a.zaloLink,r=a.youtubeLink,c=e.copyrightText,p=e.logoType,u=void 0===p?"marryBaby":p,m=e.isMobile,g=e.footerMenu,f=void 0===g?[]:g,x=e.type,y=void 0===x?"main":x,v=ae();return"main"===y?E.default.createElement(ga,{className:"footer-container"},!m&&E.default.createElement("div",{className:"footer-divider"},E.default.createElement(s.Container,{type:"marryBaby"},E.default.createElement(h.Divider,{style:{padding:"0 16px"},type:"solid"}))),E.default.createElement(xa,null,E.default.createElement(s.Container,{type:"marryBaby"},E.default.createElement(ya,null,E.default.createElement("div",{className:"grid"},null===(n=m?null==f?void 0:f.slice(0,6):f)||void 0===n?void 0:n.map((function(e,n){var t=e.title,a=e.link;return E.default.createElement("a",{"data-event-category":"Footer","data-event-action":t,"data-event-label":"".concat(a),className:"link",href:a,key:"footer-links-".concat(n)},E.default.createElement(Gt,{color:d.theme.colors.gray800,type:"subtitle-2"},t))})),E.default.createElement("div",{className:"social-wrapper"},E.default.createElement("div",{className:"social"},E.default.createElement(Gt,{type:"subtitle-2"},v("footer.followUsText")),E.default.createElement("div",{className:"icons-links"},i&&E.default.createElement("a",{target:"_blank",rel:"noreferrer","data-event-category":"Footer","data-event-action":"Follow us - Facebook","data-content-label":i,href:i},E.default.createElement("img",{src:"",alt:"Facebook"})),r&&E.default.createElement("a",{target:"_blank",rel:"noreferrer","data-event-category":"Footer","data-event-action":"Follow us - Youtube","data-event-label":r,href:r},E.default.createElement("img",{src:"",alt:"Youtube"})),o&&E.default.createElement("a",{target:"_blank",rel:"noreferrer","data-event-category":"Footer","data-event-action":"Follow us - Instagram","data-content-label":o,href:o},E.default.createElement("img",{src:"",alt:"Instagram"})),l&&E.default.createElement("a",{target:"_blank",rel:"noreferrer",href:l,"data-event-category":"Footer","data-event-action":"Follow us - Zalo","data-event-label":l},E.default.createElement("img",{src:"",alt:"Zalo"}))))))))),E.default.createElement(va,null,E.default.createElement(s.Container,{type:"marryBaby"},E.default.createElement(ba,null,E.default.createElement(s.Logo,{className:"logo",type:u,width:"121px"}),E.default.createElement(Gt,{className:"company-name",type:"subtitle-2"},v("footer.info.companyName")),E.default.createElement("div",{className:"text-info"},E.default.createElement(Gt,{type:"bodytext-3"},v("footer.info.address")),E.default.createElement(Gt,{type:"bodytext-3"},v("footer.info.license")),E.default.createElement(Gt,{type:"bodytext-3"},v("footer.info.email"))),E.default.createElement("div",{className:"img-container"},E.default.createElement("img",{src:"/images/dmca_protected.png",alt:"DMCA protected"}),E.default.createElement("a",{href:"http://online.gov.vn/Home/WebDetails/25055?AspxAutoDetectCookieSupport=1",target:"_blank",rel:"noreferrer"},E.default.createElement("img",{src:"/images/mit_registered.png",alt:"MIT registered"}))),!m&&E.default.createElement(h.Divider,{type:"solid"}),E.default.createElement("div",{className:"language-and-copyright"},E.default.createElement(Gt,{type:"bodytext-3"},c)))))):E.default.createElement(fa,null,E.default.createElement(Ea,null),E.default.createElement(Gt,{type:"subtitle-3",style:{marginBottom:24,textTransform:"uppercase",fontWeight:d.theme.sizes.fwSemiBold},color:d.theme.mbColors.midGray},v("footer.followUsText")),E.default.createElement("div",{className:"icons-links"},i&&E.default.createElement("a",{target:"_blank",rel:"noreferrer","data-event-category":"Footer","data-event-action":"Follow us - Facebook","data-content-label":i,href:i},E.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},E.default.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)"}),E.default.createElement("defs",null,E.default.createElement("linearGradient",{id:"paint0_linear",x1:"12",y1:"3",x2:"12",y2:"21",gradientUnits:"userSpaceOnUse"},E.default.createElement("stop",{stopColor:"#4DABF7"}),E.default.createElement("stop",{offset:"1",stopColor:"#2668DA"}))))),r&&E.default.createElement("a",{target:"_blank",rel:"noreferrer","data-event-category":"Footer","data-event-action":"Follow us - Youtube","data-event-label":r,href:r},E.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},E.default.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"}))),o&&E.default.createElement("a",{target:"_blank",rel:"noreferrer","data-event-category":"Footer","data-event-action":"Follow us - Instagram","data-content-label":o,href:o},E.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},E.default.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)"}),E.default.createElement("defs",null,E.default.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)"},E.default.createElement("stop",{offset:"0.073",stopColor:"#EACC7B"}),E.default.createElement("stop",{offset:"0.184",stopColor:"#ECAA59"}),E.default.createElement("stop",{offset:"0.307",stopColor:"#EF802E"}),E.default.createElement("stop",{offset:"0.358",stopColor:"#EF6D3A"}),E.default.createElement("stop",{offset:"0.46",stopColor:"#F04B50"}),E.default.createElement("stop",{offset:"0.516",stopColor:"#F03E58"}),E.default.createElement("stop",{offset:"0.689",stopColor:"#DB359E"}),E.default.createElement("stop",{offset:"0.724",stopColor:"#CE37A4"}),E.default.createElement("stop",{offset:"0.789",stopColor:"#AC3CB4"}),E.default.createElement("stop",{offset:"0.877",stopColor:"#7544CF"}),E.default.createElement("stop",{offset:"0.98",stopColor:"#2B4FF2"}))))),l&&E.default.createElement("a",{target:"_blank",rel:"noreferrer",href:l,"data-event-category":"Footer","data-event-action":"Follow us - Zalo","data-event-label":l},E.default.createElement("div",{style:{height:24,width:24}},E.default.createElement("img",{src:"/icons/zalo.png",alt:"Zalo"})))))},ka=function(n){var t,a,i,o,l,r,s,d,c,p,u,m=n.type,h=n.isMobile,g=void 0===h||h,f=n.locale,x=n.footerInfo,y=n.isAmp,v=n.siteType,b=n.ampNextArticle,w=n.routerQuery;return"helloSites"===v?E.default.createElement(E.default.Fragment,null,y&&(null!==(a=null===(t=null==w?void 0:w.slug)||void 0===t?void 0:t.length)&&void 0!==a?a:"")>1&&E.default.createElement("amp-next-page",null,E.default.createElement("script",{type:"application/json",dangerouslySetInnerHTML:{__html:'\n [\n {\n "image": "'.concat(null===(i=null==b?void 0:b.articleOne)||void 0===i?void 0:i.image,'",\n "title": ').concat(JSON.stringify(null===(o=null==b?void 0:b.articleOne)||void 0===o?void 0:o.title),',\n "url": "').concat(null===(l=null==b?void 0:b.articleOne)||void 0===l?void 0:l.link,'"\n },\n {\n "image": "').concat(null===(r=null==b?void 0:b.articleTwo)||void 0===r?void 0:r.image,'",\n "title": ').concat(JSON.stringify(null===(s=null==b?void 0:b.articleTwo)||void 0===s?void 0:s.title),',\n "url": "').concat(null===(d=null==b?void 0:b.articleTwo)||void 0===d?void 0:d.link,'"\n },\n {\n "image": "').concat(null===(c=null==b?void 0:b.articleThree)||void 0===c?void 0:c.image,'",\n "title": ').concat(JSON.stringify(null===(p=null==b?void 0:b.articleThree)||void 0===p?void 0:p.title),',\n "url": "').concat(null===(u=null==b?void 0:b.articleThree)||void 0===u?void 0:u.link,'"\n }\n ]\n ')}}),E.default.createElement("div",e.__assign({},{separator:""},{className:"amp-page-seperator",style:{color:"#8C8C8C",textTransform:"uppercase",fontSize:11,fontWeight:700,marginLeft:16}}),"Next article:")),E.default.createElement(Ht,{isAmp:y,isMobile:g,type:m,locale:f,footerInfo:x||{}})):E.default.createElement(wa,{isMobile:g,locale:f,footerMenu:x||[],copyrightText:"© 2022 MarryBaby.vn",socialLinks:n.marryBabySocialLinks,type:m})},_a=w.default.div(Jt||(Jt=e.__makeTemplateObject(["\n width: 100vw;\n"],["\n width: 100vw;\n"]))),Ca=w.default.div($t||($t=e.__makeTemplateObject(["\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(e){return e.hasStickyBottomBar&&"padding-bottom: 80px;"}),(function(e){return e.theme.colors.white})),Ta=w.default.div(ea||(ea=e.__makeTemplateObject(["\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(e){return e.theme.colors.white})),La=w.default.div(na||(na=e.__makeTemplateObject(["\n display: flex;\n align-items: center;\n gap: 8px;\n"],["\n display: flex;\n align-items: center;\n gap: 8px;\n"]))),Oa=w.default.a(ta||(ta=e.__makeTemplateObject(["\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"]))),Sa=w.default.div(aa||(aa=e.__makeTemplateObject(["\n & > div {\n width: 100%;\n margin-bottom: 8px;\n }\n"],["\n & > div {\n width: 100%;\n margin-bottom: 8px;\n }\n"]))),Ia=w.default.div(ia||(ia=e.__makeTemplateObject(["\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(e){return e.theme.colors.neutral100})),Aa=w.default.div(oa||(oa=e.__makeTemplateObject(["\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(e){return e.theme.colors.neutral100}),(function(e){return e.theme.colors.white}),(function(e){return e.theme.sizes.fsParagraph4}),(function(e){return e.theme.colors.blue50}),(function(e){return e.theme.colors.gray800}),(function(e){return e.theme.sizes.fwBold})),Ma=w.default.div(la||(la=e.__makeTemplateObject([""],[""]))),Na=w.default.div(ra||(ra=e.__makeTemplateObject(["\n padding-right: 16px;\n"],["\n padding-right: 16px;\n"]))),Pa=w.default.div(sa||(sa=e.__makeTemplateObject(["\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"])),F),Ra=w.default.div(da||(da=e.__makeTemplateObject(["\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"])),G,(function(e){return e.theme.colors.neutral50}),(function(e){return e.theme.colors.white})),Ba=w.default.div(ca||(ca=e.__makeTemplateObject(["\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"]))),ja=w.default.div(pa||(pa=e.__makeTemplateObject(["\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(e){return e.theme.colors.gray800}),(function(e){return e.theme.sizes.fsParagraph4}),(function(e){return e.theme.sizes.fwRegular}),(function(e){return e.theme.colors.primaryBase})),Da=w.default.div(ua||(ua=e.__makeTemplateObject(["\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"])),u.MediaQueries.mbDown,(function(e){return e.theme.colors.primaryBase}),(function(e){return e.theme.sizes.fsParagraph4}),(function(e){return e.theme.sizes.fwBold}),(function(e){return e.theme.mbColors.pink})),Ha=w.default.div(ma||(ma=e.__makeTemplateObject(["\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"]))),za=w.default.div(ha||(ha=e.__makeTemplateObject(["\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"]))),Ua=function(){return E.default.createElement(Sa,{style:{marginTop:"16px"}},E.default.createElement("div",null,E.default.createElement(_.default,{height:46})),E.default.createElement("div",null,E.default.createElement(_.default,{height:46})),E.default.createElement("div",null,E.default.createElement(_.default,{height:46})))},Fa=function(e){var n,t,a,i,o=e.careSpecialties,l=e.onSelectCareSpecialty,r=e.isLoading,p=e.desktopPopupType,u=e.onClosePopup,h=e.basePath,g=e.locale,f=e.isMobile,x=e.siteType,y=e.CARE_URL_FE,v=ae();return f?E.default.createElement(E.default.Fragment,null,r?E.default.createElement(Ia,null,E.default.createElement(Ua,null)):E.default.createElement(Ia,{"data-category-list-type":"main"},E.default.createElement(m.Heading,{style:{marginTop:16},tag:"h5"},v("menu.care.searchBySpecialties")),o.map((function(e,n){return E.default.createElement("a",{key:"tool-"+n},E.default.createElement(Aa,{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"".concat(y).concat(fe({type:"DOCTOR",specialtySlug:e.slug,locale:g})),onClick:function(){l(e)}},E.default.createElement(Na,null,E.default.createElement("img",{alt:"health-tool-icon",src:e.thumbnail||"".concat(h,"/images/avatar.jpg"),style:{width:"32px",height:"32px"}})),E.default.createElement(Ma,null,e.name)))})),E.default.createElement("a",{style:{textDecoration:"none"},href:"".concat(y,"/").concat(null===(n=c.LOCALIZED_SLUGS[g])||void 0===n?void 0:n.SPECIALTIES)},E.default.createElement(Da,{key:"all-categories","data-theme":x,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"".concat(y,"/").concat(null===(t=c.LOCALIZED_SLUGS[g])||void 0===t?void 0:t.SPECIALTIES)},v("home.navigator.menuItem.allSpecialties"),E.default.createElement(Ha,null,"helloSites"===x?E.default.createElement("img",{src:"".concat(h,"/svg/chevronRightActive.svg"),style:{width:"16px",height:"16px"},alt:v("home.navigator.menuItem.allSpecialties")}):E.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},E.default.createElement("path",{d:"M6.5 12H17.5M17.5 12L12.9118 8M17.5 12L12.9118 16",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"}))))))):E.default.createElement(Pa,{className:"top-menu-care-specialties",onClick:u,"data-is-display":"care"===p},E.default.createElement(Ra,null,E.default.createElement(s.Container,{style:{padding:"0 16px"},type:x},E.default.createElement(Ba,{"data-popup-type":p,onClick:function(e){e.stopPropagation()}},E.default.createElement(E.default.Fragment,null,o.map((function(e){return E.default.createElement(ja,{key:"care-specialty-".concat(e.id),onClick:u},E.default.createElement("a",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"".concat(y).concat(fe({type:"DOCTOR",specialtySlug:e.slug,locale:g})),style:{textDecoration:"none",color:d.theme.colors.gray800},className:"iconMenu no-replace-click",href:"".concat(y).concat(fe({type:"DOCTOR",specialtySlug:e.slug,locale:g}))},E.default.createElement("div",{style:{display:"flex"}},E.default.createElement("img",{alt:"care-specialty-icon",src:e.thumbnail||"".concat(h,"/images/avatar.jpg"),style:{width:"32px",height:"32px"}})),E.default.createElement("p",null,e.name)))})),E.default.createElement("a",{style:{textDecoration:"none"},href:"".concat(y,"/").concat(null===(a=c.LOCALIZED_SLUGS[g])||void 0===a?void 0:a.SPECIALTIES)},E.default.createElement(Da,{onClick:u,key:"all-care-specialties","data-theme":x,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"".concat(y,"/").concat(null===(i=c.LOCALIZED_SLUGS[g])||void 0===i?void 0:i.SPECIALTIES)},v("home.navigator.menuItem.allSpecialties"),E.default.createElement(Ha,null,"helloSites"===x?E.default.createElement("img",{src:"".concat(h,"/svg/chevronRightActive.svg"),style:{width:"16px",height:"16px"},alt:v("home.navigator.menuItem.allSpecialties")}):E.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},E.default.createElement("path",{d:"M6.5 12H17.5M17.5 12L12.9118 8M17.5 12L12.9118 16",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"})))))),E.default.createElement(za,{onClick:u},E.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},E.default.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"})))))))},Ga=function(){return E.default.createElement(Sn,{style:{marginTop:"16px"}},E.default.createElement("div",null,E.default.createElement(_.default,{height:46})),E.default.createElement("div",null,E.default.createElement(_.default,{height:46})),E.default.createElement("div",null,E.default.createElement(_.default,{height:46})))},Ya=w.default.div(Ka||(Ka=e.__makeTemplateObject(["\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"])),u.MediaQueries.mbDown,u.MediaQueries.mbUp),Va=w.default.div(Xa||(Xa=e.__makeTemplateObject(["\n & > div {\n width: 100%;\n margin-bottom: 8px;\n }\n"],["\n & > div {\n width: 100%;\n margin-bottom: 8px;\n }\n"]))),Qa=w.default.div(Ja||(Ja=e.__makeTemplateObject(["\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"])),u.MediaQueries.mbDown,(function(e){return e.theme.colors.neutral100}),(function(e){return e.theme.colors.neutral100}));w.default.div($a||($a=e.__makeTemplateObject(["\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"])),u.MediaQueries.mbDown,(function(e){return e.theme.colors.neutral100}),(function(e){return e.theme.colors.neutral100}));var Za=w.default.div(ei||(ei=e.__makeTemplateObject(["\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(e){return e.theme.colors.white}),(function(e){return e.theme.sizes.fsParagraph4}),(function(e){return e.theme.sizes.fwRegular}),(function(e){return e.theme.colors.blue50}),(function(e){return e.theme.colors.gray800}),(function(e){return e.theme.sizes.fwBold}),u.MediaQueries.mbDown),Wa=w.default.div(ni||(ni=e.__makeTemplateObject(["\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(e){return e.theme.colors.gray800}),(function(e){return e.theme.sizes.fsParagraph4}),(function(e){return e.theme.sizes.fwRegular}),(function(e){return e.theme.colors.primaryBase})),qa=w.default.div(ti||(ti=e.__makeTemplateObject([""],[""])));w.default.div(ai||(ai=e.__makeTemplateObject([""],[""])));var Ka,Xa,Ja,$a,ei,ni,ti,ai,ii,oi,li=w.default.div(ii||(ii=e.__makeTemplateObject(["\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"])),u.MediaQueries.mbDown,(function(e){return e.theme.colors.primaryBase}),(function(e){return e.theme.sizes.fsParagraph4}),(function(e){return e.theme.sizes.fwBold}),(function(e){return e.theme.mbColors.pink})),ri=w.default.div(oi||(oi=e.__makeTemplateObject(["\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"]))),si=function(){return E.default.createElement(Va,{style:{marginTop:"16px"}},E.default.createElement("div",null,E.default.createElement(_.default,{height:46})),E.default.createElement("div",null,E.default.createElement(_.default,{height:46})),E.default.createElement("div",null,E.default.createElement(_.default,{height:46})))},di=function(e){var n=e.isDisplayed,t=void 0!==n&&n,a=e.spotlights,i=e.isLoading,o=e.className,l=e.isMobile,r=e.DISCOVER_URL_FE,s=e.basePath,c=e.locale,p=e.siteType,u=ae();return t?E.default.createElement(Ya,null,E.default.createElement(m.Heading,{tag:"h3",style:{marginBottom:24}},u("home.navigator.menuItem.spotlights")),i&&t?E.default.createElement(Qa,{className:o},E.default.createElement(si,null)):E.default.createElement(Qa,{"data-is-displayed":t,className:o},a.map((function(e,n){return E.default.createElement(Wa,{style:{textDecoration:"none"},key:"spotlight-"+n},l?E.default.createElement("a",{href:e.permalink,style:{textDecoration:"none",color:d.theme.colors.gray800}},E.default.createElement(Za,{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://".concat(C[c]).concat(e.permalink)},E.default.createElement(qa,null,e.name))):E.default.createElement("a",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://".concat(C[c]).concat(e.permalink),style:{textDecoration:"none",pointerEvents:"auto"},href:"".concat(r).concat(e.permalink)},e.name))})),E.default.createElement("a",{style:{textDecoration:"none"},href:"".concat(r,"/spotlight/")},E.default.createElement(li,{key:"all-spotlights","data-theme":p,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"".concat(r,"/spotlight/")},u("home.navigator.menuItem.allSpotlight"),E.default.createElement(ri,null,"helloSites"===p?E.default.createElement("img",{src:"".concat(s,"/svg/chevronRightActive.svg"),style:{width:"16px",height:"16px"},alt:u("home.navigator.menuItem.allSpotlight")}):E.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},E.default.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},ci=function(e){var n=e.locale,t=e.basePath,a=e.isDisplayed,i=void 0!==a&&a,o=e.categories,l=e.spotlightsList,r=e.type,c=e.onSelectCategory,p=e.onClosePopup,u=e.desktopPopupType,h=e.isMobile,g=e.isLoading,f=e.DISCOVER_URL_FE,x=e.siteType,y=void 0===x?"helloSites":x,v=ae();return h?E.default.createElement(E.default.Fragment,null,g&&i?E.default.createElement(In,null,E.default.createElement(Ga,null)):E.default.createElement(In,{"data-is-displayed":i,"data-category-list-type":r},E.default.createElement(m.Heading,{tag:"h3",style:{marginBottom:8}},v("home.navigator.menuItem.healthCategories")),E.default.createElement(An,null,o.map((function(e,a){return E.default.createElement("div",{key:r+"-category-"+a},E.default.createElement("a",{style:{textDecoration:"none",color:d.theme.colors.gray800},onClick:function(n){e.childCates&&e.childCates.length>0&&"sub"!==r&&n.preventDefault()},href:f+e.permalink},E.default.createElement(Mn,{onClick:function(){null==c||c(e)},"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://".concat(C[n]).concat(e.permalink),"data-is-heading-category":"sub"===r&&e.childCates&&e.childCates.length>0},E.default.createElement(Nn,null,e.displayName),"main"===r&&E.default.createElement(Pn,null,"helloSites"===y?E.default.createElement("img",{src:"".concat(t,"/svg/chevronRight.svg"),style:{width:"16px",height:"16px"},alt:e.categoryName}):E.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},E.default.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"===r&&e.childCates&&e.childCates.length>0&&e.childCates.map((function(e,n){return E.default.createElement("a",{style:{textDecoration:"none"},href:e.permalink,key:r+"-2-"+n},E.default.createElement(Mn,{"data-is-heading-category":"sub"===r&&e.childCates&&e.childCates.length>0},E.default.createElement(s.Text,{size:"p3"},e.displayName)))}))))})),E.default.createElement("a",{style:{textDecoration:"none"},href:"".concat(f,"/categories/")},E.default.createElement(Rn,{key:"all-categories","data-theme":y,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"".concat(f,"/categories/")},v("home.navigator.menuItem.allCategories"),E.default.createElement(Bn,null,"helloSites"===y?E.default.createElement("img",{src:"".concat(t,"/svg/chevronRightActive.svg"),style:{width:"16px",height:"16px"},alt:v("home.navigator.menuItem.allCategories")}):E.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},E.default.createElement("path",{d:"M6.5 12H17.5M17.5 12L12.9118 8M17.5 12L12.9118 16",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"})))))),E.default.createElement(di,{isDisplayed:"main"===r,spotlights:l,isLoading:!1,isMobile:h,basePath:t,DISCOVER_URL_FE:f,locale:n,siteType:y}))):E.default.createElement(jn,{className:"top-menu-categories",onClick:p,"data-is-display":"categories"===u},E.default.createElement(Dn,null,E.default.createElement(s.Container,{style:{padding:"0 16px"},type:y},E.default.createElement(Hn,{"data-popup-type":u,onClick:function(e){e.stopPropagation()}},E.default.createElement("div",null,E.default.createElement(m.Heading,{tag:"h3",style:{marginBottom:24}},v("home.navigator.menuItem.healthCategories")),E.default.createElement(zn,{"data-disabled-divider":0===l.length},o.map((function(e,t){return E.default.createElement(Un,{style:{textDecoration:"none"},key:e.categoryName+t},E.default.createElement("a",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://".concat(C[n]).concat(e.permalink),style:{textDecoration:"none",pointerEvents:"auto"},onClick:p,href:"".concat(f).concat(e.permalink)},e.displayName),E.default.createElement(Fn,null,e.childCates&&e.childCates.map((function(e,t){return E.default.createElement("a",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://".concat(C[n]).concat(e.permalink),style:{textDecoration:"none",pointerEvents:"auto"},href:e.permalink,key:t},e.displayName)}))))})),E.default.createElement("a",{style:{textDecoration:"none"},href:"".concat(f,"/categories/")},E.default.createElement(Rn,{onClick:p,key:"all-categories","data-theme":y,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"".concat(f,"/categories/")},v("home.navigator.menuItem.allCategories"),E.default.createElement(Bn,null,"helloSites"===y?E.default.createElement("img",{src:"".concat(t,"/svg/chevronRightActive.svg"),style:{width:"16px",height:"16px"},alt:v("home.navigator.menuItem.allCategories")}):E.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},E.default.createElement("path",{d:"M6.5 12H17.5M17.5 12L12.9118 8M17.5 12L12.9118 16",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"}))))))),E.default.createElement(di,{isDisplayed:"main"===r,spotlights:l,isLoading:!1,basePath:t,DISCOVER_URL_FE:f,locale:n,siteType:y}),E.default.createElement(Gn,{onClick:p},E.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},E.default.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"})))))))},pi=w.default.div(vi||(vi=e.__makeTemplateObject([""],[""]))),ui=w.default.div(bi||(bi=e.__makeTemplateObject(["\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"]))),mi=w.default.div(Ei||(Ei=e.__makeTemplateObject(["\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"]))),hi=w.default.div(wi||(wi=e.__makeTemplateObject(["\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(e){return e.theme.colors.white}),(function(e){return e.theme.sizes.fsParagraph4}),(function(e){return e.theme.colors.blue50}),(function(e){return e.theme.colors.gray800}),(function(e){return e.theme.sizes.fwBold})),gi=w.default.div(ki||(ki=e.__makeTemplateObject(["\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"]))),fi=w.default.div(_i||(_i=e.__makeTemplateObject(["\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"])),F),xi=w.default.div(Ci||(Ci=e.__makeTemplateObject(["\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"]))),yi=w.default.div(Ti||(Ti=e.__makeTemplateObject(["\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"])),G,(function(e){return e.theme.colors.neutral50}),(function(e){return e.theme.colors.white}));w.default.div(Li||(Li=e.__makeTemplateObject(["\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 vi,bi,Ei,wi,ki,_i,Ci,Ti,Li,Oi,Si,Ii=w.default.div(Oi||(Oi=e.__makeTemplateObject(["\n position: relative;\n display: flex;\n flex-direction: column;\n"],["\n position: relative;\n display: flex;\n flex-direction: column;\n"])));w.default.div(Si||(Si=e.__makeTemplateObject(["\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(e){return e.theme.colors.gray800}),(function(e){return e.theme.sizes.fsParagraph4}),(function(e){return e.theme.sizes.fwRegular}),(function(e){return e.theme.colors.primaryBase}));var Ai,Mi,Ni,Pi,Ri,Bi,ji,Di,Hi,zi,Ui,Fi,Gi,Yi=function(e){var t=e.isDisplayed,a=void 0!==t&&t,i=e.categories,o=e.type,l=e.onSelectCategory,r=e.desktopPopupType,s=e.isMobile,c=e.isLoading,p=e.MARRY_BABY_FE,u=n.useState(-1),m=u[0],h=u[1],g=n.useState(!1),f=g[0],x=g[1];return s?E.default.createElement(E.default.Fragment,null,c&&a?E.default.createElement(In,null,E.default.createElement(Ga,null)):E.default.createElement(In,{"data-is-displayed":a,"data-category-list-type":o,style:{marginTop:24}},E.default.createElement(pi,{className:"marry-bb-menu-categories"},i.map((function(e,n){return E.default.createElement("div",{key:o+"-category-"+n,className:"wrapper-menu-category wrapper-menu-category-".concat(n),"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://marrybaby.vn".concat(e.permalink)},E.default.createElement("a",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://marrybaby.vn".concat(e.permalink),style:{textDecoration:"none",color:d.theme.colors.gray800},onClick:function(e){e.preventDefault()},href:"".concat(p).concat(e.permalink)},E.default.createElement(hi,{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://marrybaby.vn".concat(e.permalink),onClick:function(){var t;"main"===o||0===(null===(t=e.childCates)||void 0===t?void 0:t.length)?null==l||l(e):m===n?(x(!0),setTimeout((function(){h(-1),setTimeout((function(){x(!1)}),100)}),300)):h(n)},style:{display:"flex",alignItems:"center",justifyContent:"space-between"}},"main"===o?E.default.createElement(ui,{style:{backgroundColor:e.imageColor}},E.default.createElement("img",{src:e.iconUrl,style:{width:"24px",height:"24px"},alt:e.name})):E.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},E.default.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"})),E.default.createElement(Gt,{style:{fontWeight:d.theme.sizes.fwSemiBold},type:"subtitle-2"},e.displayName),E.default.createElement(Yn,null),"main"===o?E.default.createElement(Pn,null,E.default.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},E.default.createElement("path",{d:"M8.5 6L11 8.5L8.5 11",stroke:"#9495A0",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"}))):E.default.createElement(Pn,null,m!==n?E.default.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},E.default.createElement("path",{d:"M8.5 6L11 8.5L8.5 11",stroke:"#9495A0",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"})):E.default.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},E.default.createElement("path",{d:"M11.5 7.5L9 10L6.5 7.5",stroke:"#2661AD",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"}))))),"sub"===o&&e.childCates&&m===n&&e.childCates.length>0&&E.default.createElement(gi,null,E.default.createElement("div",{className:f?"collapsing":"expanding"},e.childCates.map((function(n,t){return E.default.createElement("a",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://marrybaby.vn".concat(e.permalink),style:{textDecoration:"none"},href:"".concat(p).concat(n.permalink),key:o+"-2-"+t},E.default.createElement(hi,{"data-is-heading-category":"sub"===o&&n.childCates&&n.childCates.length>0},E.default.createElement(mi,null,E.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},E.default.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"})),E.default.createElement(Gt,{type:"subtitle-2"},n.displayName))))})))),E.default.createElement("div",{style:{display:"none"}},e.childCates&&e.childCates.map((function(e,n){return E.default.createElement("a",{href:"".concat(p).concat(e.permalink),key:n,style:{textDecoration:"none"}},E.default.createElement("div",{"data-is-heading-category":"sub"===o&&e.childCates&&e.childCates.length>0},E.default.createElement("p",null,e.displayName)))}))))}))))):E.default.createElement(fi,{className:"top-menu-categories","data-is-display":"categories"===r,tabIndex:0},E.default.createElement(xi,null),E.default.createElement(yi,{"data-popup-type":r},E.default.createElement(Ii,{className:"marry-bb-menu-categories"},c?E.default.createElement("div",{style:{width:"100%",padding:"0 20px"}},E.default.createElement(Ga,null)):i.map((function(e,n){return E.default.createElement("div",{className:"wrapper-menu-category wrapper-menu-category-".concat(n),"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://marrybaby.vn".concat(e.permalink),key:o+"-category-"+n,onClick:function(){l(e)}},E.default.createElement("a",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://marrybaby.vn".concat(e.permalink),style:{textDecoration:"none",color:d.theme.colors.gray800},href:"".concat(p).concat(e.permalink)},E.default.createElement(hi,{style:{display:"flex",alignItems:"center",justifyContent:"flex-start"}},E.default.createElement(ui,{style:{backgroundColor:e.imageColor}},E.default.createElement("img",{src:e.iconUrl,style:{width:"24px",height:"24px"},alt:e.name})),E.default.createElement(Gt,{style:{fontWeight:d.theme.sizes.fwSemiBold},type:"subtitle-2"},e.displayName))))})))))},Vi=function(e){var n=e.isDisplayed,t=void 0!==n&&n,a=e.locale,i=e.discoverApiDomain,o=e.basePath,l=e.categories,r=e.spotlightsList,s=e.type,d=e.onSelectCategory,c=e.onClosePopup,p=e.desktopPopupType,u=e.isMobile,m=e.isLoading,h=e.callApiHandler,g=e.DISCOVER_URL_FE,f=e.MARRY_BABY_FE,x=e.siteType,y=void 0===x?"helloSites":x;return"helloSites"===y?E.default.createElement(ci,{locale:a,basePath:o,DISCOVER_URL_FE:g,isDisplayed:t,type:s,onSelectCategory:d,categories:l,spotlightsList:r,isLoading:m,isMobile:u,siteType:y,onClosePopup:c,desktopPopupType:p}):E.default.createElement(Yi,{basePath:o,callApiHandler:h,discoverApiDomain:i,isDisplayed:t,type:s,onSelectCategory:d,categories:l,isLoading:m,isMobile:u,MARRY_BABY_FE:f,desktopPopupType:p})},Qi=w.default.div(Ai||(Ai=e.__makeTemplateObject(["\n & > div {\n width: 100%;\n margin-bottom: 8px;\n }\n"],["\n & > div {\n width: 100%;\n margin-bottom: 8px;\n }\n"]))),Zi=w.default.div(Mi||(Mi=e.__makeTemplateObject(["\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(e){return e.theme.colors.neutral100}),(function(e){return e.theme.colors.neutral100})),Wi=w.default.div(Ni||(Ni=e.__makeTemplateObject(["\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(e){return e.theme.colors.white}),(function(e){return e.theme.sizes.fsParagraph4}),(function(e){return e.theme.colors.blue50}),(function(e){return e.theme.colors.gray800}),(function(e){return e.theme.sizes.fwBold})),qi=w.default.div(Pi||(Pi=e.__makeTemplateObject([""],[""]))),Ki=w.default.div(Ri||(Ri=e.__makeTemplateObject([""],[""]))),Xi=w.default.div(Bi||(Bi=e.__makeTemplateObject(["\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"]))),Ji=w.default.div(ji||(ji=e.__makeTemplateObject(["\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"])),F),$i=w.default.div(Di||(Di=e.__makeTemplateObject(["\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"])),G,(function(e){return e.theme.colors.neutral50}),(function(e){return e.theme.colors.white})),eo=w.default.div(Hi||(Hi=e.__makeTemplateObject(["\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"]))),no=w.default.div(zi||(zi=e.__makeTemplateObject(["\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(e){return e.theme.colors.gray800}),(function(e){return e.theme.sizes.fsParagraph4}),(function(e){return e.theme.sizes.fwRegular}),(function(e){return e.theme.colors.primaryBase})),to=w.default.div(Ui||(Ui=e.__makeTemplateObject(["\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(e){return e.theme.colors.primaryBase}),(function(e){return e.theme.sizes.fsParagraph4}),(function(e){return e.theme.sizes.fwBold}),(function(e){return e.theme.mbColors.pink})),ao=w.default.div(Fi||(Fi=e.__makeTemplateObject(["\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"]))),io=w.default.div(Gi||(Gi=e.__makeTemplateObject(["\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"]))),oo=function(){return E.default.createElement(Qi,{style:{marginTop:"16px"}},E.default.createElement("div",null,E.default.createElement(_.default,{height:46})),E.default.createElement("div",null,E.default.createElement(_.default,{height:46})),E.default.createElement("div",null,E.default.createElement(_.default,{height:46})))},lo=function(e){var n=e.isDisplayed,t=e.communities,a=e.type,i=e.onSelectCommunity,o=e.onClosePopup,l=e.isLoading,r=e.basePath,c=e.TOGETHER_URL_FE,p=e.siteType,u=void 0===p?"helloSites":p,m=e.isMobile,h=e.locale,g=e.desktopPopupType,f=ae();return m?E.default.createElement(E.default.Fragment,null,l&&n?E.default.createElement(Zi,null,E.default.createElement(oo,null)):E.default.createElement(Zi,{"data-category-list-type":a,"data-is-displayed":n},"main"===a&&t.map((function(e,n){return E.default.createElement("div",{key:a+"-category-"+n},E.default.createElement("a",{style:{textDecoration:"none",color:d.theme.colors.gray800},onClick:function(e){e.preventDefault()},href:"".concat(c,"/").concat(e.communitySlug)},E.default.createElement(Wi,{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://".concat(C[h],"/").concat(e.communitySlug),onClick:function(){i({community:e,isSetToSubMenu:!0})},"data-is-heading-category":!1},E.default.createElement(Xi,null,E.default.createElement("img",{src:e.thumbnail,style:{width:"40px",height:"40px"},alt:e.title}),E.default.createElement(qi,null,e.title)),E.default.createElement(Ki,null,"helloSites"===u?E.default.createElement("img",{src:"".concat(r,"/svg/chevronRight.svg"),style:{width:"16px",height:"16px"},alt:e.title}):E.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},E.default.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"===a&&t.map((function(e,n){return E.default.createElement("div",{key:a+"-category-"+n},E.default.createElement("a",{style:{textDecoration:"none",color:d.theme.colors.gray800},onClick:function(e){e.preventDefault()},href:"".concat(c,"/").concat(e.communitySlug)},E.default.createElement(Wi,{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://".concat(C[h],"/").concat(e.communitySlug),onClick:function(){i({community:e,isSetToSubMenu:!1})},"data-is-heading-category":!1},E.default.createElement(Xi,null,E.default.createElement("img",{src:e.thumbnail,style:{width:"40px",height:"40px"},alt:e.title}),E.default.createElement(qi,null,e.title)))))})),E.default.createElement("a",{style:{textDecoration:"none"},href:c+"/"},E.default.createElement(to,{onClick:o,key:"all-communities","data-theme":u,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":c+"/"},f("home.navigator.menuItem.allCommunities"),E.default.createElement(ao,null,E.default.createElement("img",{src:"".concat(r,"/svg/chevronRightActive.svg"),style:{width:"16px",height:"16px"},alt:f("home.navigator.menuItem.allCommunities")})))))):E.default.createElement(Ji,{className:"top-menu-communities",onClick:o,"data-is-display":"communities"===g},E.default.createElement($i,null,E.default.createElement(s.Container,{style:{padding:"0 16px"},type:u},E.default.createElement(eo,{"data-popup-type":g,onClick:function(e){e.stopPropagation()}},E.default.createElement(E.default.Fragment,null,t.map((function(e){return E.default.createElement(no,{key:e.title,onClick:o},E.default.createElement("a",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://".concat(C[h],"/").concat(e.communitySlug),style:{textDecoration:"none",color:d.theme.colors.gray800},className:"iconMenu",href:"".concat(c,"/").concat(e.communitySlug)},E.default.createElement("div",{style:{display:"flex"}},E.default.createElement("img",{alt:"health-tool-icon",src:e.thumbnail||"".concat(r,"/images/avatar.jpg"),style:{width:"32px",height:"32px"}})),E.default.createElement("p",null,e.title)))})),E.default.createElement("a",{style:{textDecoration:"none"},href:c+"/"},E.default.createElement(to,{onClick:o,key:"all-communities","data-theme":u,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":c+"/"},f("home.navigator.menuItem.allCommunities"),E.default.createElement(ao,null,E.default.createElement("img",{src:"".concat(r,"/svg/chevronRightActive.svg"),style:{width:"16px",height:"16px"},alt:f("home.navigator.menuItem.allCommunities")}))))),E.default.createElement(io,{onClick:o},E.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},E.default.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"})))))))},ro=w.default.div(mo||(mo=e.__makeTemplateObject(["\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(e){return e.theme.mbColors.lightGray})),so=w.default.div(ho||(ho=e.__makeTemplateObject(["\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(e){return e.theme.colors.white}),(function(e){return e.theme.sizes.fsParagraph4})),co=w.default.div(go||(go=e.__makeTemplateObject(["\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"])),F),po=w.default.div(fo||(fo=e.__makeTemplateObject(["\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"]))),uo=w.default.div(xo||(xo=e.__makeTemplateObject(["\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"])),G,(function(e){return e.theme.colors.neutral50}),(function(e){return e.theme.colors.white}));w.default.div(yo||(yo=e.__makeTemplateObject(["\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 mo,ho,go,fo,xo,yo,vo,bo,Eo=w.default.div(vo||(vo=e.__makeTemplateObject(["\n position: relative;\n display: flex;\n flex-direction: column;\n"],["\n position: relative;\n display: flex;\n flex-direction: column;\n"])));w.default.div(bo||(bo=e.__makeTemplateObject(["\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(e){return e.theme.colors.gray800}),(function(e){return e.theme.sizes.fsParagraph4}),(function(e){return e.theme.sizes.fwRegular}),(function(e){return e.theme.colors.primaryBase}));var wo=function(e){var n=e.isDisplayed,t=void 0!==n&&n,a=e.communities,i=e.onSelectCommunity,o=e.isLoading,l=e.basePath,r=e.type,s=e.isMobile,c=e.onClosePopup,p=e.desktopPopupType,u=e.TOGETHER_URL_FE;return s?o&&t?E.default.createElement(Zi,null,E.default.createElement(oo,null)):E.default.createElement(Zi,{style:{marginTop:24},"data-category-list-type":r,"data-is-displayed":t},a.map((function(e,n){return E.default.createElement("a",{className:"wrapper-menu-community wrapper-menu-community-".concat(n," iconMenu"),key:"community-"+n,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://marrybaby.vn/community/".concat(e.communitySlug)},E.default.createElement(so,{onClick:function(){i({community:e,isSetToSubMenu:!1})}},E.default.createElement(ro,null,E.default.createElement("img",{alt:"health-tool-icon",src:e.thumbnail||"".concat(l,"/images/avatar.jpg"),style:{width:"24px",height:"24px"}})),E.default.createElement(qi,null,e.title)))}))):E.default.createElement(co,{className:"top-menu-communities",onClick:c,"data-is-display":"communities"===p},E.default.createElement(po,null),E.default.createElement(uo,{"data-popup-type":p,onClick:function(e){e.stopPropagation()}},E.default.createElement(Eo,null,o?E.default.createElement("div",{style:{width:"100%",padding:"0 20px"}},E.default.createElement(oo,null)):a.map((function(e,n){return E.default.createElement("a",{className:"wrapper-menu-community wrapper-menu-community-".concat(n," iconMenu"),"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://marrybaby.vn/community/".concat(e.communitySlug),style:{textDecoration:"none",color:d.theme.colors.gray800},href:"".concat(u,"/").concat(e.communitySlug),key:e.title},E.default.createElement(so,{onClick:c},E.default.createElement(ro,{style:{backgroundColor:e.color||d.theme.mbColors.lightGray}},E.default.createElement("img",{alt:e.communitySlug,src:e.thumbnail||"".concat(l,"/images/avatar.jpg"),style:{width:"24px",height:"24px"}})),E.default.createElement(Gt,{style:{fontWeight:d.theme.sizes.fwSemiBold},type:"subtitle-2"},e.title)))})))))},ko=function(e){var n=e.isDisplayed,t=void 0!==n&&n,a=e.locale,i=e.communities,o=e.type,l=e.onSelectCommunity,r=e.onClosePopup,s=e.isLoading,d=e.basePath,c=e.TOGETHER_URL_FE,p=e.siteType,u=void 0===p?"helloSites":p,m=e.isMobile,h=e.desktopPopupType,g=e.togetherApiDomain;return"helloSites"===u?E.default.createElement(lo,{isDisplayed:t,locale:a,TOGETHER_URL_FE:c,basePath:d,type:o,onSelectCommunity:l,communities:i,isLoading:s,isMobile:m,siteType:u,togetherApiDomain:g,desktopPopupType:h,onClosePopup:r}):E.default.createElement(wo,{isDisplayed:t,locale:a,TOGETHER_URL_FE:c,basePath:d,type:o,onSelectCommunity:l,communities:i,isLoading:s,isMobile:m,togetherApiDomain:g,desktopPopupType:h,onClosePopup:r})},_o=w.default.div(Bo||(Bo=e.__makeTemplateObject(["\n & > div {\n width: 100%;\n margin-bottom: 8px;\n }\n"],["\n & > div {\n width: 100%;\n margin-bottom: 8px;\n }\n"]))),Co=w.default.div(jo||(jo=e.__makeTemplateObject(["\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"]))),To=w.default.div(Do||(Do=e.__makeTemplateObject(["\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(e){return e.theme.colors.white}),(function(e){return e.theme.sizes.fsParagraph4}),(function(e){return e.theme.colors.neutral100}),(function(e){return e.theme.colors.blue50}),(function(e){return e.theme.colors.gray800}),(function(e){return e.theme.sizes.fwBold})),Lo=w.default.div(Ho||(Ho=e.__makeTemplateObject([""],[""]))),Oo=w.default.div(zo||(zo=e.__makeTemplateObject(["\n padding-right: 16px;\n"],["\n padding-right: 16px;\n"]))),So=w.default.div(Uo||(Uo=e.__makeTemplateObject(["\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"])),F),Io=w.default.div(Fo||(Fo=e.__makeTemplateObject(["\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"])),G,(function(e){return e.theme.colors.neutral50}),(function(e){return e.theme.colors.white})),Ao=w.default.div(Go||(Go=e.__makeTemplateObject(["\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"]))),Mo=w.default.div(Yo||(Yo=e.__makeTemplateObject(["\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(e){return e.theme.colors.gray800}),(function(e){return e.theme.sizes.fsParagraph4}),(function(e){return e.theme.sizes.fwRegular}),(function(e){return e.theme.colors.primaryBase})),No=w.default.div(Vo||(Vo=e.__makeTemplateObject(["\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(e){return e.theme.colors.primaryBase}),(function(e){return e.theme.sizes.fsParagraph4}),(function(e){return e.theme.sizes.fwBold}),(function(e){return e.theme.mbColors.pink})),Po=w.default.div(Qo||(Qo=e.__makeTemplateObject(["\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=w.default.div(Zo||(Zo=e.__makeTemplateObject(["\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"])));w.default.div(Wo||(Wo=e.__makeTemplateObject(["\n &[data-is-displayed='false'] {\n display: none;\n }\n"],["\n &[data-is-displayed='false'] {\n display: none;\n }\n"])));var Bo,jo,Do,Ho,zo,Uo,Fo,Go,Yo,Vo,Qo,Zo,Wo,qo,Ko,Xo=w.default.div(qo||(qo=e.__makeTemplateObject(["\n margin-bottom: 56px;\n margin-top: 18px;\n"],["\n margin-bottom: 56px;\n margin-top: 18px;\n"]))),Jo=w.default.div(Ko||(Ko=e.__makeTemplateObject(["\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"]))),$o=function(){return E.default.createElement(_o,{style:{marginTop:"16px"}},E.default.createElement("div",null,E.default.createElement(_.default,{height:46})),E.default.createElement("div",null,E.default.createElement(_.default,{height:46})),E.default.createElement("div",null,E.default.createElement(_.default,{height:46})))},el=function(e){var n=e.healthTools,t=e.onSelectHealthTool,a=e.basePath,i=e.isDesktop,o=e.onClosePopup,l=e.HEALTH_TOOL_URL_FE,r=e.locale,s=e.isGrouped;return(null==n?void 0:n.length)?i?E.default.createElement(E.default.Fragment,null,n.map((function(e,n){return E.default.createElement(Mo,{"data-grouped":s,key:e.title,onClick:o},E.default.createElement("a",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://".concat(C[r]).concat(e.link),style:{textDecoration:"none",color:d.theme.colors.gray800},className:"iconMenu",href:e.link.startsWith("http")?e.link:"".concat(l).concat(e.link)},E.default.createElement("div",{style:{display:"flex"}},E.default.createElement("img",{alt:"health-tool-icon",src:e.icon||"/images/avatar.jpg",style:{width:"32px",height:"32px"}})),E.default.createElement("p",null,e.title)))}))):E.default.createElement(E.default.Fragment,null,n.map((function(e,n){return E.default.createElement("a",{key:"tool-"+n},E.default.createElement(To,{onClick:function(){t(e)},"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://".concat(C[r]).concat(e.link)},E.default.createElement(Oo,null,E.default.createElement("img",{alt:"health-tool-icon",src:e.icon||"".concat(a,"/images/avatar.jpg"),style:{width:"32px",height:"32px"}})),E.default.createElement(Lo,null,e.title)))}))):null},nl=function(e){var n,t,a,i,o=e.isDisplayed,l=e.healthTools,r=e.healthToolsByCategory,d=e.onSelectHealthTool,c=e.isLoading,p=e.basePath,u=e.locale,h=e.isMobile,g=e.onClosePopup,f=e.desktopPopupType,x=e.HEALTH_TOOL_URL_FE,y=e.STATIC_PAGES,v=e.siteType,b=ae();return h?E.default.createElement(E.default.Fragment,null,c&&o?E.default.createElement(Co,null,E.default.createElement($o,null)):E.default.createElement(Co,{"data-category-list-type":"main","data-is-displayed":o},(null==r?void 0:r.length)?r.map((function(e,n){var t;return!!(null===(t=e.healthTools)||void 0===t?void 0:t.length)&&E.default.createElement(E.default.Fragment,{key:"category-health-tool-".concat(n)},E.default.createElement(m.Heading,{tag:"h4",fontWeight:"bold",className:"title"},E.default.createElement("span",{dangerouslySetInnerHTML:{__html:e.name}})),E.default.createElement(el,{healthTools:e.healthTools.slice(0,4),onSelectHealthTool:d,basePath:p,HEALTH_TOOL_URL_FE:x,locale:u}))})):E.default.createElement(el,{healthTools:l,onSelectHealthTool:d,basePath:p,HEALTH_TOOL_URL_FE:x,locale:u}),E.default.createElement(Xo,null,E.default.createElement("a",{href:"".concat(x).concat((null===(n=y[u])||void 0===n?void 0:n.HEALTH_TOOLS)||""),style:{textDecoration:"none"}},E.default.createElement(No,{key:"all-health-tools-mobile","data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"".concat(x).concat((null===(t=y[u])||void 0===t?void 0:t.HEALTH_TOOLS)||"")},b("home.navigator.menuItem.allHealthTools"),E.default.createElement(Po,null,E.default.createElement("img",{src:"".concat(p,"/svg/chevronRightActive.svg"),style:{width:"16px",height:"16px"},alt:b("home.navigator.menuItem.allHealthTools")}))))))):E.default.createElement(So,{className:"top-menu-health-tools",onClick:g,"data-is-display":"tools"===f},E.default.createElement(Io,null,E.default.createElement(s.Container,{style:{padding:"0 16px"}},E.default.createElement(Ao,{"data-popup-type":f,onClick:function(e){e.stopPropagation()}},E.default.createElement(E.default.Fragment,null,(null==r?void 0:r.length)?r.map((function(e,n){var t;return!!(null===(t=e.healthTools)||void 0===t?void 0:t.length)&&E.default.createElement(Jo,{key:"health-tools-categories-".concat(n)},E.default.createElement(m.Heading,{tag:"h4",as:"h2",fontWeight:"bold"},E.default.createElement("span",{dangerouslySetInnerHTML:{__html:e.name}})),E.default.createElement(el,{healthTools:e.healthTools.slice(0,4),onSelectHealthTool:d,basePath:p,HEALTH_TOOL_URL_FE:x,locale:u,isDesktop:!0,isGrouped:!0,onClosePopup:g}))})):E.default.createElement(el,{healthTools:l,onSelectHealthTool:d,basePath:p,HEALTH_TOOL_URL_FE:x,locale:u,isDesktop:!0,onClosePopup:g}),E.default.createElement("a",{style:{textDecoration:"none"},href:"".concat(x).concat((null===(a=y[u])||void 0===a?void 0:a.HEALTH_TOOLS)||"")},E.default.createElement(No,{onClick:g,key:"all-health-tools","data-theme":v,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"".concat(x).concat((null===(i=y[u])||void 0===i?void 0:i.HEALTH_TOOLS)||"")},b("home.navigator.menuItem.allHealthTools"),E.default.createElement(Po,null,E.default.createElement("img",{src:"".concat(p,"/svg/chevronRightActive.svg"),style:{width:"16px",height:"16px"},alt:b("home.navigator.menuItem.allHealthTools")}))))),E.default.createElement(Ro,{onClick:g},E.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},E.default.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"})))))))},tl=w.default.div(rl||(rl=e.__makeTemplateObject(["\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(e){return e.theme.mbColors.lightGray})),al=w.default.div(sl||(sl=e.__makeTemplateObject(["\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(e){return e.theme.colors.white}),(function(e){return e.theme.sizes.fsParagraph4})),il=w.default.div(dl||(dl=e.__makeTemplateObject(["\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"])),F),ol=w.default.div(cl||(cl=e.__makeTemplateObject(["\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"]))),ll=w.default.div(pl||(pl=e.__makeTemplateObject(["\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"])),G,(function(e){return e.theme.colors.neutral50}),(function(e){return e.theme.colors.white}));w.default.div(ul||(ul=e.__makeTemplateObject(["\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 rl,sl,dl,cl,pl,ul,ml,hl,gl=w.default.div(ml||(ml=e.__makeTemplateObject(["\n position: relative;\n display: flex;\n flex-direction: column;\n"],["\n position: relative;\n display: flex;\n flex-direction: column;\n"])));w.default.div(hl||(hl=e.__makeTemplateObject(["\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(e){return e.theme.colors.gray800}),(function(e){return e.theme.sizes.fsParagraph4}),(function(e){return e.theme.sizes.fwRegular}),(function(e){return e.theme.colors.primaryBase}));var fl,xl,yl,vl,bl,El,wl,kl,_l,Cl,Tl,Ll=function(e){var n=e.isDisplayed,t=void 0!==n&&n,a=e.healthTools,i=e.onSelectHealthTool,o=e.isLoading,l=e.basePath,r=e.isMobile,s=e.onClosePopup,c=e.HEALTH_TOOL_URL_FE,p=e.desktopPopupType;return r?o&&t?E.default.createElement(Co,null,E.default.createElement($o,null)):E.default.createElement(Co,{style:{marginTop:24},"data-category-list-type":"main","data-is-displayed":t},a.map((function(e,n){return E.default.createElement("a",{key:"tool-"+n,className:"wrapper-menu-health-tool wrapper-menu-health-tool-".concat(n),"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://https://marrybaby.vn".concat(e.link)},E.default.createElement(al,{onClick:function(){i(e)}},E.default.createElement(tl,null,E.default.createElement("img",{alt:"health-tool-icon",src:e.icon||"".concat(l,"/images/avatar.jpg"),style:{width:"24px",height:"24px"}})),E.default.createElement(Lo,null,e.title)))}))):E.default.createElement(il,{className:"top-menu-health-tools",onClick:s,"data-is-display":"tools"===p},E.default.createElement(ol,null),E.default.createElement(ll,{"data-popup-type":p,onClick:function(e){e.stopPropagation()}},E.default.createElement(gl,null,o?E.default.createElement("div",{style:{width:"100%",padding:"0 20px"}},E.default.createElement($o,null)):a.map((function(e,n){return E.default.createElement("a",{className:"wrapper-menu-health-tool wrapper-menu-health-tool-".concat(n," iconMenu"),"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://marrybaby.vn".concat(e.link),style:{textDecoration:"none",color:d.theme.colors.gray800},href:e.link.startsWith("http")?e.link:"".concat(c).concat(e.link),key:e.title,onClick:function(e){e.stopPropagation()}},E.default.createElement(al,{onClick:s},E.default.createElement(tl,null,E.default.createElement("img",{alt:e.title,src:e.icon||"/images/avatar.jpg",style:{width:"24px",height:"24px"}})),E.default.createElement(Gt,{style:{fontWeight:d.theme.sizes.fwSemiBold},type:"subtitle-2"},e.title)))})))))},Ol=function(e){var n=e.isDisplayed,t=void 0!==n&&n,a=e.healthTools,i=e.healthToolsByCategory,o=e.onSelectHealthTool,l=e.isLoading,r=e.basePath,s=e.locale,d=e.isMobile,c=e.onClosePopup,p=e.desktopPopupType,u=e.HEALTH_TOOL_URL_FE,m=e.siteType,h=e.discoverApiDomain,g=e.STATIC_PAGES;return"helloSites"===m?E.default.createElement(nl,{isDisplayed:t,locale:s,basePath:r,discoverApiDomain:h,HEALTH_TOOL_URL_FE:u,onSelectHealthTool:o,healthTools:a,healthToolsByCategory:i,isLoading:l,isMobile:d,siteType:m,desktopPopupType:p,onClosePopup:c,STATIC_PAGES:g}):E.default.createElement(Ll,{isDisplayed:t,basePath:r,discoverApiDomain:h,HEALTH_TOOL_URL_FE:u,onSelectHealthTool:o,healthTools:a||i.reduce((function(e,n){return e.concat(n.healthTools)}),[]),isLoading:l,isMobile:d,desktopPopupType:p,onClosePopup:c})},Sl=w.default.div(fl||(fl=e.__makeTemplateObject(["\n & > div {\n width: 100%;\n min-height: 109px;\n }\n"],["\n & > div {\n width: 100%;\n min-height: 109px;\n }\n"]))),Il=w.default.div(xl||(xl=e.__makeTemplateObject(["\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(e){return e.theme.colors.neutral100}),(function(e){return e.theme.colors.white}),(function(e){return e.theme.colors.primaryBase}),(function(e){return e.theme.colors.white})),Al=function(){return E.default.createElement(E.default.Fragment,null,E.default.createElement(Sl,null,E.default.createElement("div",null,E.default.createElement(_.default,{height:109})),E.default.createElement("div",null,E.default.createElement(_.default,{height:109})),E.default.createElement("div",null,E.default.createElement(_.default,{height:109})),E.default.createElement("div",null,E.default.createElement(_.default,{height:109})),E.default.createElement("div",null,E.default.createElement(_.default,{height:109})),E.default.createElement("div",null,E.default.createElement(_.default,{height:109}))))},Ml=function(e){var n=e.specialty,t=e.id,a=e.isActive,i=void 0!==a&&a,o=e.position,l=e.className,r=e.onClick;return n.name&&""!==n.name?E.default.createElement(Il,{onClick:function(){r&&r(t)},className:l,"data-is-active":i,"data-card-position":o},E.default.createElement("img",{src:n.thumbnail,style:{objectFit:"contain",height:"55px",width:"55px"},alt:"category-menu-card"}),E.default.createElement(s.Text,{type:"bold",size:"label2"},n.name)):E.default.createElement(Al,null)},Nl=function(e){var n=e.selectedMenuMainItem,t=e.spotlightsList,a=e.locale,i=e.basePath,o=e.callApiHandler,l=e.discoverApiDomain,s=e.DISCOVER_URL_FE,d=e.MARRY_BABY_FE,c=e.onSelectCategory,p=e.isMobile,u=e.siteType,m=e.onCategoryClick,h=ae(),g=n.childCates,f=n.categoryName;return E.default.createElement(Wn,{"data-type":"sub-level","data-with-search-input":!1},E.default.createElement(Kn,null,E.default.createElement(Vi,{isDisplayed:!0,locale:a,basePath:i,callApiHandler:o,discoverApiDomain:l,DISCOVER_URL_FE:s,MARRY_BABY_FE:d,categories:g||[],spotlightsList:t,type:"sub",onSelectCategory:c,isMobile:p,siteType:u,desktopPopupType:"none",isLoading:!1,onClosePopup:void 0}),E.default.createElement(Zn,{"data-site-type":u},E.default.createElement(r.Button,{onClick:m,className:"category-button",size:"md",theme:u},E.default.createElement($n,null,E.default.createElement("div",null,h("home.menu.category.view",{category:f})),"helloSites"===u?E.default.createElement("img",{src:q,style:{width:"16px",height:"16px"},className:"button-image",alt:h("home.menu.category.view",{category:f})}):E.default.createElement("svg",{width:"25",height:"24",viewBox:"0 0 25 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},E.default.createElement("path",{d:"M7 12H18M18 12L13.4118 8M18 12L13.4118 16",stroke:"white",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"})))))))},Pl=function(t){var a=t.selectedMenuMainItem,i=t.onCommunityClick,o=t.onSelectCommunity,l=t.basePath,s=void 0===l?"":l,d=t.callApiHandler,c=t.togetherApiDomain,p=t.locale,u=t.TOGETHER_URL_FE,m=t.siteType,h=t.isMobile,g=ae(),f=n.useState([]),x=f[0],y=f[1],v=n.useState(!1),b=v[0],w=v[1],_=a.communityId,C=a.title;return n.useEffect((function(){w(!0),e.__awaiter(void 0,void 0,void 0,(function(){var n,t,a,i,o;return e.__generator(this,(function(l){switch(l.label){case 0:return[4,d("helloSites"===m?ge(p,c,{communityId:_}):(r=c,s={communityId:_},(r||"https://together.hellohealthgroup.com/")+"api/v1/"+k.default(A,e.__assign(e.__assign({},s),{websiteUrl:"https://marrybaby.vn"}))),"GET")];case 1:return null!==(n=l.sent())&&(null===(o=null===(i=null===(a=null==n?void 0:n.data)||void 0===a?void 0:a.data)||void 0===i?void 0:i.topics)||void 0===o?void 0:o.length)>0&&(t=n.data.data.topics.map(oe),y(t)),w(!1),[2]}var r,s}))}))}),[a]),E.default.createElement(Wn,{"data-type":"sub-level","data-with-search-input":!1},E.default.createElement(Kn,null,E.default.createElement(ko,{isDisplayed:!0,locale:p,communities:x,type:"sub",onSelectCommunity:o,isLoading:b,basePath:s,TOGETHER_URL_FE:u,togetherApiDomain:c,siteType:m,isMobile:h,desktopPopupType:"none",onClosePopup:void 0}),E.default.createElement(Zn,null,E.default.createElement(r.Button,{onClick:i,className:"category-button",size:"md"},E.default.createElement($n,null,E.default.createElement("div",null,g("home.menu.category.view",{category:C})),E.default.createElement("img",{src:q,style:{width:"16px",height:"16px"},className:"button-image",alt:g("home.menu.category.view",{category:C})}))))))},Rl={categories:{icon:E.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},E.default.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"}),E.default.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:d.theme.mbColors.lightPink},healthTools:{icon:E.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},E.default.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"}),E.default.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"}),E.default.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"}),E.default.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:d.theme.mbColors.lightOrange},together:{icon:E.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},E.default.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"}),E.default.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:d.theme.mbColors.lightBlue}},Bl=function(n){var t,a,i,o=n.item,l=n.isActive,r=n.isGoingForward,s=n.onServiceClicked;return E.default.createElement("div",{style:{display:"flex",flex:1,flexDirection:"column",alignItems:"center",justifyContent:"center"}},E.default.createElement("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",height:56,width:56,marginBottom:8,borderRadius:16},onClick:function(){null==s||s(o.id)}},E.default.createElement("div",{style:e.__assign({display:"flex",alignItems:"center",justifyContent:"center",height:48,width:48,flexShrink:0,backgroundColor:null!==(a=null===(t=Rl[o.id])||void 0===t?void 0:t.color)&&void 0!==a?a:"white",borderRadius:16},l?{height:56,width:56,boxShadow:"0px 0px 24px rgba(0, 0, 0, 0.08)",border:"4px solid white"}:{})},null===(i=Rl[o.id])||void 0===i?void 0:i.icon)),E.default.createElement(Gt,{type:"subtitle-3",color:l&&d.theme.mbColors.pink,style:{fontWeight:d.theme.sizes.fwSemiBold}},o.name),l&&(r?E.default.createElement(It,{style:{animationDuration:"0.2s",animationName:"menuLeftToRightTrans"}}):E.default.createElement(It,{style:{animationDuration:"0.2s",animationName:"menuRightToLeftTrans"}})))},jl=function(e){var t=e.menuItems,a=e.activeItem,i=e.onServiceClicked,o=n.useState(0),l=o[0],r=o[1],s=n.useRef(!0);return E.default.createElement("div",{style:{display:"flex",alignItems:"flex-start",justifyContent:"space-evenly"}},t.map((function(e,n){return E.default.createElement(Bl,{onServiceClicked:function(e){s.current=l<n,r(n),null==i||i(e)},key:"item"+n,item:e,isGoingForward:s.current,isActive:a.id===e.id})})))},Dl=function(e){var t=e.isMobile,a=void 0!==t&&t,i=e.isMobileMenuOpened,o=void 0===i?void 0:i,r=e.categories,c=e.healthTools,p=e.healthToolsByCategory,u=e.careSpecialties,h=e.togetherCommunities,g=e.spotlightsList,f=e.closePopup,x=e.popupType,y=void 0===x?"none":x,v=e.onMobileMenuClick,b=e.footer,w=e.care.CARE_URL_FE,k=e.discover,_=k.discoverApiDomain,C=k.DISCOVER_URL_FE,L=e.together,O=L.togetherApiDomain,S=L.TOGETHER_URL_FE,I=e.sso.SSO_URL,A=e.statics,M=A.MARRY_BABY_FE,N=A.HOME_PAGE_URL,P=A.STATIC_PAGES,R=A.HEALTH_TOOL_URL_FE,B=e.marryBaby.tone,j=e.locale,D=e.siteType,H=e.basePath,z=e.callApiHandler,U=e.activeMenuService,F=e.menuItems,G=e.routerAsPath,Y=ae(),V=n.useState(!1),Q=V[0],Z=V[1],W=n.useState(r),q=W[0],K=W[1],X=n.useState(void 0),J=X[0],$=X[1],ee=n.useState(void 0),ne=ee[0],te=ee[1],ie=n.useState(!1),oe=ie[0],le=ie[1],re=n.useState(null==F?void 0:F.find((function(e){return e.id===U}))),se=re[0],de=re[1],ce=n.useState(!1),pe=ce[0],ue=ce[1],me=n.useState(!1),he=me[0],ge=me[1],xe=function(){J&&(window.location.href=J.permalink),ke(),f&&f()},ye=function(){J&&(window.location.href="".concat(S,"/").concat(J.communitySlug)),ke(),f&&f()},ve=function(e){e.childCates&&e.childCates.length>0?(Z(!0),$(e)):(window.location.href="helloSites"===D?C+e.permalink:M+e.permalink,ke(),f&&f())},be=function(e){var n=e.community;e.isSetToSubMenu?(Z(!0),$(n)):(window.location.href="".concat(S,"/").concat(n.communitySlug),ke(),f&&f())},Ee=function(e){window.location.href=e.link.startsWith("http")?e.link:R+e.link,ke(),f&&f()},we=function(e){window.location.href=w+fe({type:"DOCTOR",specialtySlug:e.slug,locale:j}),null==f||f()},ke=function(){$(void 0),Z(!1)},_e=function(e){de(F.find((function(n){return n.id===e})))},Ce=T[j||"en-PH"]||{};return n.useEffect((function(){var e;te("categories"===se.id?(null===(e=null==J?void 0:J.childCates)||void 0===e?void 0:e.length)>0&&E.default.createElement(Nl,{selectedMenuMainItem:J,spotlightsList:[],locale:j,basePath:H,callApiHandler:z,discoverApiDomain:_,DISCOVER_URL_FE:C,MARRY_BABY_FE:M,onSelectCategory:ve,isMobile:a,siteType:D,onCategoryClick:xe}):"together"===se.id&&J&&E.default.createElement(Pl,{selectedMenuMainItem:J,onCommunityClick:ye,onSelectCommunity:be,TOGETHER_URL_FE:S,basePath:H,callApiHandler:z,locale:j,togetherApiDomain:O,siteType:D,isMobile:a}))}),[J,se]),n.useEffect((function(){ue(!0)}),[]),n.useEffect((function(){!he&&o&&ge(!0)}),[o]),n.useEffect((function(){K(r)}),[r]),a?E.default.createElement(E.default.Fragment,null,E.default.createElement(Vn,{id:pe?"":"categories-menu","data-opened":o||(he?o:"undefined"),key:pe?"t":"f"},E.default.createElement(Qn,{"data-opened":o,"data-type":"category","data-is-sub-category-opened":Q},E.default.createElement(ln,{siteType:D,locale:j,isDisplayed:!0,searchPlaceholder:"",statics:{DISCOVER_URL_FE:C,SSO_URL:I,HOME_PAGE_URL:N,MARRY_BABY_FE:M,CARE_URL_FE:w},isMobile:a,isLoginButtonDisplayed:!1,type:"popup",onMenuClick:function(){return null==v?void 0:v("categories")},onSearchChange:function(e){le(""!==e),K(e&&""!==e?r.filter((function(n){return n.categoryName.toLowerCase().search(e.toLowerCase())>-1||n.slug.replace("-","").toLowerCase().search(e.replace(" ","").toLowerCase())>-1})):r)},isSearchBarDisplay:!1,basePath:H,isAmp:!1,isInit:!1,isStatic:!1,routerAsPath:G,title:"",onTopBarAppears:void 0,currentPopupType:"none",marryBaby:{tone:B},menu:void 0,menuItems:void 0,onSearchKeyPress:void 0,openPopup:void 0,profileMenu:void 0,userInfo:void 0}),E.default.createElement(Wn,null,E.default.createElement(Kn,null,E.default.createElement(Xn,null,E.default.createElement(Jn,{"data-hide-on-search":oe,"data-is-sub-category-opened":Q},"helloSites"===D?E.default.createElement(E.default.Fragment,null,E.default.createElement(At,{onClick:function(){window.location.href="".concat(l.getCurrentBaseUrl(j),"/search")}},E.default.createElement(s.PureInput,{className:"fake-search-input",name:"search-input-menu-service"+(pe?"":"-temp"),size:"md",placeholder:Y("home.search",{site:Ce?Ce.SITE_NAME:""}),onChange:function(){},type:"search",onFocus:function(e){e.preventDefault()},value:"",displayIcon:E.default.createElement("a",{"data-event-category":"Search Button","data-event-action":"Click"},E.default.createElement(Mt,null))})),E.default.createElement(m.Heading,{tag:"h5",color:d.theme.colors.gray800},Y("menu.categories.title")),E.default.createElement(qn,{"data-card-array-no-margin-style":!0},F.map((function(e,n){return E.default.createElement(Ml,{onClick:_e,key:"service-"+n,specialty:e,id:e.id,isActive:e.id===se.id,isMobile:a,position:0===n?"left":n===F.length-1?"right":"center"})})))):E.default.createElement(jl,{menuItems:F,activeItem:se,onServiceClicked:_e})),E.default.createElement(Vi,{isDisplayed:"categories"===se.id,locale:j,basePath:H,callApiHandler:z,onClosePopup:f,discoverApiDomain:_,DISCOVER_URL_FE:C,MARRY_BABY_FE:M,type:"main",onSelectCategory:ve,categories:q,spotlightsList:g,isLoading:!1,isMobile:a,siteType:D,desktopPopupType:y}),E.default.createElement(Ol,{isDisplayed:"healthTools"===se.id,locale:j,basePath:H,discoverApiDomain:_,HEALTH_TOOL_URL_FE:R,onSelectHealthTool:Ee,onClosePopup:f,desktopPopupType:y,healthTools:c,healthToolsByCategory:p,isLoading:!1,isMobile:a,siteType:D,STATIC_PAGES:P}),"care"===se.id&&E.default.createElement(Fa,{locale:j,basePath:H,onSelectCareSpecialty:we,onClosePopup:f,careSpecialties:u,isLoading:!1,siteType:D,isMobile:a,desktopPopupType:y,CARE_URL_FE:w}),E.default.createElement(ko,{isDisplayed:"together"===se.id,locale:j,TOGETHER_URL_FE:S,basePath:H,type:"main",onSelectCommunity:be,onClosePopup:f,communities:h,isLoading:!1,isMobile:a,siteType:D,togetherApiDomain:O,desktopPopupType:y})),b)))),Q&&E.default.createElement(Vn,{"data-sub-level-opened":Q||(he?Q:"undefined")},E.default.createElement(Qn,{"data-type":"sub-category","data-is-sub-category-opened":Q},E.default.createElement(ln,{siteType:D,locale:j,isDisplayed:o&&Q,searchPlaceholder:"",menuItems:void 0,statics:{DISCOVER_URL_FE:C,SSO_URL:I,HOME_PAGE_URL:N,MARRY_BABY_FE:M,CARE_URL_FE:w},isMobile:a,isLoginButtonDisplayed:!1,type:"popup-sub-level",title:"categories"===se.id?null==J?void 0:J.categoryName:null==J?void 0:J.title,isSearchBarDisplay:!1,basePath:H,isAmp:!1,isInit:!1,isStatic:!1,routerAsPath:G,currentPopupType:"none",marryBaby:{tone:B},menu:void 0,openPopup:void 0,profileMenu:void 0,userInfo:void 0,onSearchKeyPress:void 0,onTopBarAppears:void 0,onMenuClick:ke,onSearchChange:void 0}),ne))):E.default.createElement(E.default.Fragment,null,E.default.createElement(Vi,{isDisplayed:"categories"===y,locale:j,basePath:H,callApiHandler:z,discoverApiDomain:_,DISCOVER_URL_FE:C,MARRY_BABY_FE:M,type:"main",desktopPopupType:y,onSelectCategory:ve,onClosePopup:f,categories:q,spotlightsList:g,isLoading:!1,isMobile:a,siteType:D}),E.default.createElement(Ol,{isDisplayed:"tools"===y,locale:j,basePath:H,discoverApiDomain:_,HEALTH_TOOL_URL_FE:R,desktopPopupType:y,onSelectHealthTool:Ee,onClosePopup:f,healthToolsByCategory:p,healthTools:c,isLoading:!1,isMobile:a,siteType:D,STATIC_PAGES:P}),E.default.createElement(ko,{isDisplayed:"communities"===y,locale:j,TOGETHER_URL_FE:S,basePath:H,type:"main",onSelectCommunity:be,communities:h,isLoading:!1,isMobile:a,siteType:D,togetherApiDomain:O,desktopPopupType:y,onClosePopup:f}),"care"===y&&E.default.createElement(Fa,{locale:j,basePath:H,onSelectCareSpecialty:we,careSpecialties:u,isLoading:!1,desktopPopupType:y,siteType:D,isMobile:a,CARE_URL_FE:w,onClosePopup:f}))},Hl=w.default.div(yl||(yl=e.__makeTemplateObject(["\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"])),u.MediaQueries.mbDown,u.MediaQueries.mbUp,(function(e){return e.theme.colors.gray800}),u.MediaQueries.mbDown,u.MediaQueries.mbUp,(function(e){return e.theme.colors.gray600}),u.MediaQueries.mbDown,u.MediaQueries.mbUp),zl=w.default.div(vl||(vl=e.__makeTemplateObject(["\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"])),u.MediaQueries.mbDown,u.MediaQueries.mbUp,(function(e){return"marryBaby"===e.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 ":""})),Ul=function(t){var a=t.callPostLogOutApi,i=t.openLogoutPopup,o=t.onCloseHandler,s=t.onLogoutHandler,d=t.basePath,c=t.siteType,p=void 0===c?"helloSites":c,u=ae();n.useEffect((function(){document.body.classList.toggle("noscroll",i)}),[i]);return E.default.createElement(l.Popup,{type:"confirm",isOpen:i,closeIcon:E.default.createElement("img",{src:K,style:{width:24,height:24},alt:"close-icon"}),onClose:o},E.default.createElement(Hl,null,"helloSites"===p&&E.default.createElement("img",{className:"cancle-img",src:"".concat(d,"/images/arrowDoor.svg"),alt:"close-account"}),E.default.createElement("h2",null,u("helloSites"===p?"logout.popup.ask1":"logout.popup.ask.mb")),E.default.createElement("p",null,u("logout.popup.ask2")),E.default.createElement(zl,{siteType:p},E.default.createElement(r.Button,{className:"logout-button",color:"tertiary",size:"lg",onClick:function(){e.__awaiter(void 0,void 0,void 0,(function(){return e.__generator(this,(function(e){switch(e.label){case 0:return[4,null==a?void 0:a()];case 1:return e.sent(),null==s||s(),window.location.reload(),[2]}}))}))}},u("logout.popup.button.logout")),E.default.createElement(r.Button,{className:"cancel-button",color:"primary",size:"lg",onClick:o},u("logout.popup.button.cancel")))))},Fl=w.default.div(bl||(bl=e.__makeTemplateObject(["\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(e){return e.theme.colors.white}),u.MediaQueries.mbDown,u.MediaQueries.mbUp,u.MediaQueries.mbDown,u.MediaQueries.mbUp,u.MediaQueries.mbUp,(function(e){return e.theme.colors.gray200}),u.MediaQueries.mbDown,u.MediaQueries.mbUp),Gl=w.default.div(El||(El=e.__makeTemplateObject(["\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"])),u.MediaQueries.mbUp,u.MediaQueries.mbDown),Yl=function(e){var n=e.type,t=void 0===n?"lead":n,a=e.closeIcon,i=e.isOpen,o=void 0===i||i,l=e.onClose,r=e.children,s=e.enableAnimation,d=void 0===s||s,c=e.targetAvatar,p=e.id,u=e.className;return E.default.createElement(E.default.Fragment,null,E.default.createElement(Fl,{"data-open":o,"data-type":t,"data-animation":d,"data-target":c,id:p,className:u},E.default.createElement("div",{className:"popup-content"},!!a&&E.default.createElement("div",{className:"close-button",onClick:l},a),r)),E.default.createElement(Gl,{"data-type":t,"data-open":o,onClick:l,id:p?"wrapper-".concat(p):void 0,className:"".concat(u||"","-wrapper")}))},Vl=function(e){var n=e.SSO_URL,a=e.UP_BASEPATH,i=e.isOpen,o=e.locale,l=e.targetAvatar,r=e.userInfo,s=e.ENABLE_CARE_PROFILE_MENU_LOCALES,d=e.ENABLE_COMMUNITY_PROFILE_MENU_LOCALES,c=e.closePopup,p=e.siteType,u=void 0===p?"helloSites":p,m=e.dispatchLogout,h=e.userProfileRouterPush,g=e.isUserProfileNavigatorMenuHidden,x=e.isMyHealthEnabled,y=void 0!==x&&x,v=e.togetherApiDomain,b=function(e){h?h("/".concat(e)):n&&(window.location.href="".concat(n).concat(a,"/").concat(e))},w=function(e){b(e),c()};return E.default.createElement(Yl,{isOpen:i,type:"profile",enableAnimation:!1,targetAvatar:l,onClose:c},E.default.createElement(f.TranslationsProvider,{locale:o},E.default.createElement(t.UserProfileNavigation,{SSO_URL:n,UP_BASEPATH:a,themeName:u,userInfo:r,ENABLE_COMMUNITY_PROFILE_MENU_LOCALES:d,ENABLE_CARE_PROFILE_MENU_LOCALES:s,onClickLogout:function(){m&&(m(),c())},onClickMenuItem:w,onClickNavigationCard:w,onClickMyProfileButton:function(){b("profile"),c()},userProfileRouterPush:h,isUserProfileNavigatorMenuHidden:g,isMyHealthEnabled:y,togetherApiDomain:v,locale:o})))},Ql=w.default.div(wl||(wl=e.__makeTemplateObject(["\n position: relative;\n"],["\n position: relative;\n"]))),Zl=w.default.div(kl||(kl=e.__makeTemplateObject([""],[""]))),Wl=w.default.div(_l||(_l=e.__makeTemplateObject(["\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"]))),ql=w.default.div(Cl||(Cl=e.__makeTemplateObject(["\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(e){return e.theme.colors.gray100})),Kl=w.default.div(Tl||(Tl=e.__makeTemplateObject(["\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"]))),Xl=function(e){var t=e.options,a=e.label,i=e.selected,o=e.onChange,l=e.showSelected,r=void 0===l||l,d=e.style,c=void 0===d?{}:d,p=e.showIndicator,u=void 0===p||p,m=n.useState(!1),h=m[0],g=m[1];return E.default.createElement(E.default.Fragment,null,E.default.createElement(Ql,null,E.default.createElement(Zl,{onClick:function(){return g((function(e){return!e}))}},!!a&&a),E.default.createElement(Wl,{"data-is-open":h,style:c,"data-show-indicator":u},t.map((function(e,n){return E.default.createElement(ql,{key:n,"data-selected":r&&i===e.value,onClick:function(n){i!==e.value&&(o(e.value),g((function(e){return!e}))),n.stopPropagation()}},E.default.createElement(s.Text,{size:"p3"},e.label),r&&i===e.value&&E.default.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"}))})))),h&&E.default.createElement(Kl,{onClick:function(){return g(!1)}}))},Jl=function(e){var n="undefined"!=typeof window&&document.querySelector(e),t=n&&window.getComputedStyle(n);return t&&t.getPropertyValue("display")},$l=function(t){var a,i=t.siteType,o=t.MetaPageTitle,l=t.MetaPageDescription,r=t.MetaPageImage,s=t.footerInfo,d=t.children,c=t.ssrMenuContent,p=void 0===c?{}:c,u=p.categories,m=void 0===u?[]:u,h=p.healthTools,g=void 0===h?[]:h,f=p.healthToolsByCategory,x=void 0===f?[]:f,y=p.careSpecialties,v=void 0===y?[]:y,b=p.togetherCommunities,w=void 0===b?[]:b,_=p.spotlightsList,O=void 0===_?[]:_,A=t.SEOData,M=void 0===A?{}:A,N=t.UP_BASEPATH,P=void 0===N?S:N,R=t.isStatic,B=void 0!==R&&R,H=t.seoType,z=void 0===H?"website":H,U=t.isMobile,F=t.isMyHealthEnabled,G=void 0!==F&&F,Y=t.logoutHandlers,V=Y.isLogoutPopupOpened,Q=Y.callPostLogOutApi,Z=Y.onClosePopup,q=Y.onLogout,K=t.marryBaby,X=void 0===K?{tone:"white",marryBabyApiDomain:"",socialLinks:{facebookLink:"",instagramLink:"",linkedinLink:"",twitterLink:"",youtubeLink:"",zaloLink:""}}:K,J=X.tone,$=void 0===J?"white":J,ee=X.marryBabyApiDomain,ne=X.socialLinks,te=void 0===ne?{}:ne,oe=te.facebookLink,ge=void 0===oe?"":oe,fe=te.instagramLink,ve=void 0===fe?"":fe,be=te.linkedinLink,Ee=void 0===be?"":be,we=te.twitterLink,ke=void 0===we?"":we,_e=te.youtubeLink,Ce=void 0===_e?"":_e,Te=te.zaloLink,Le=void 0===Te?"":Te,Oe=t.statics,Se=void 0===Oe?{LOCALE_SPECS:T,STATIC_PAGES:L}:Oe,Ie=Se.DISCOVER_URL_FE,Ae=Se.TOGETHER_URL_FE,Me=Se.MARRY_BABY_FE,Ne=Se.HOME_PAGE_URL,Pe=Se.HEALTH_TOOL_URL_FE,Re=Se.CARE_URL_FE,Be=Se.LOCALE_SPECS,je=void 0===Be?T:Be,De=Se.STATIC_PAGES,He=void 0===De?L:De,ze=t.sso,Ue=void 0===ze?{}:ze,Fe=Ue.dispatchLogout,Ge=Ue.SSO_URL,Ye=t.together,Ve=void 0===Ye?{TOGETHER_MENU_COUNTRIES_ENABLED:["id-ID","vi-VN"],ENABLE_COMMUNITY_PROFILE_MENU_LOCALES:["id-ID","vi-VN"],togetherApiDomain:""}:Ye,Qe=Ve.TOGETHER_MENU_COUNTRIES_ENABLED,Ze=Ve.ENABLE_COMMUNITY_PROFILE_MENU_LOCALES,We=Ve.togetherApiDomain,qe=t.care,Ke=void 0===qe?{CARE_MENU_COUNTRIES_ENABLED:["vi-VN","id-ID","en-PH"],ENABLE_CARE_PROFILE_MENU_LOCALES:[],menuActionType:"redirectOnly",careApiDomain:""}:qe,Xe=Ke.CARE_MENU_COUNTRIES_ENABLED,Je=Ke.ENABLE_CARE_PROFILE_MENU_LOCALES,$e=Ke.careApiDomain,en=t.discover,nn=(void 0===en?{discoverApiDomain:""}:en).discoverApiDomain,tn=t.activeMenuService,an=void 0===tn?"categories":tn,on=t.basePath,rn=t.isAmp,sn=void 0!==rn&&rn,dn=t.nextHead,cn=t.routerPathname,pn=t.routerQuery,un=t.routerAsPath,mn=t.locale,hn=t.userState,gn=t.callApiHandler,fn=t.userProfileRouterPush,xn=t.onTopBarAppears,yn=t.forcedCanonicalUrl,vn=t.isUserProfileNavigatorMenuHidden,bn=t.sitewideBanner,En=t.sitewideBannerShown,wn=void 0===En||En,kn=t.sponsorComponent,_n=t.languageOptions,Cn=t.isSearchBarDisplay,Tn=t.ampSubBar,Ln=t.isSearchIconDisplayed,On=void 0===Ln||Ln,Sn=t.enabledExperimentalCareHeader,In=void 0!==Sn&&Sn,An=t.onCareHeaderClick,Mn=t.dueDatePopup,Nn=t.welcomePopup,Pn=t.ampNextArticle,Rn=t.usingDefaultHead,Bn=void 0===Rn||Rn,jn=t.acceptCookiePopup,Dn=t.seoCustom,Hn=t.hasStickyBottomBar,zn=void 0===Hn||Hn,Un="boolean"==typeof Cn?Cn:!U,Fn=ae(),Gn=je[mn||"en-PH"]||{},Yn=n.useMemo((function(){var e;return(null===(e=un.split("?"))||void 0===e?void 0:e[0])||""}),[un]),Vn=n.useMemo((function(){return"".concat(on).concat("/"===Yn.slice(-1)?Yn:"".concat(Yn,"/"))}),[Yn]),Qn=n.useMemo((function(){return(null==_n?void 0:_n.find((function(e){return e.value!==Vn})))||null}),[_n,Vn]),Zn=n.useState(s),Wn=Zn[0],qn=Zn[1],Kn=n.useState(m),Xn=Kn[0],Jn=Kn[1],$n=n.useState(g),et=$n[0],nt=$n[1],tt=n.useState(x),at=tt[0],it=tt[1],ot=n.useState(v),lt=ot[0],rt=ot[1],st=n.useState(w),dt=st[0],ct=st[1],pt=n.useState(O),ut=pt[0],mt=pt[1],ht=Ie||"https://".concat(C[mn])||"",gt="undefined"!=typeof window,ft=gt&&document.querySelector("#categories-menu"),xt=ft&&gt&&window.getComputedStyle(ft),yt=xt&&xt.getPropertyValue("left"),vt=n.useRef("0px"===yt),bt=n.useState(vt.current),Et=bt[0],wt=bt[1],kt=Jl(".top-menu-categories"),_t=Jl(".top-menu-health-tools"),Ct=Jl(".top-menu-communities"),Tt=Jl(".top-menu-care-specialties"),Lt=n.useState(kt&&"none"!==kt?"categories":_t&&"none"!==_t?"tools":Ct&&"none"!==Ct?"communities":Tt&&"none"!==Tt?"care":"none"),Ot=Lt[0],St=Lt[1],It=n.useMemo((function(){var e,n;return E.default.createElement(La,null,null===(n=null===(e=mn.split("-"))||void 0===e?void 0:e[0])||void 0===n?void 0:n.toUpperCase(),E.default.createElement("img",{src:"language"===Ot?"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:Fn("home.navigator.menuItem.language")}))}),[Ot,mn]),At=hn.userInfo,Mt=hn.isLoggedIn,Nt=function(e){Ot!==e&&(St(e),wt(!0)),Ot===e&&(St("none"),wt(!1))},Pt=function(){wt(!1),St("none")},Bt=function(e,n){"Enter"===e.key&&(window.location.href="".concat(Ne,"/search/?s=").concat(n))},jt=null===(a=null==je?void 0:je[mn])||void 0===a?void 0:a.SITE_NAME_FORMATTED,Dt=[{name:Fn("home.navigator.menuItem.discover"),id:"categories",link:"./posts/abc",niceName:"",thumbnail:"",isDisplayed:!0},{name:Fn("home.navigator.menuItem.healthTools"),id:"healthTools",link:"./en",thumbnail:"",isDisplayed:!0}];(null==Qe?void 0:Qe.includes(mn))&&Dt.push({name:Fn("home.navigator.menuItem.helloTogether"),id:"together",link:Ae+"/",thumbnail:"",isDisplayed:!0}),(null==Xe?void 0:Xe.includes(mn))&&Dt.push({name:Fn("home.navigator.menuItem.helloCare"),id:"care",link:"/care",thumbnail:"",isDisplayed:!0}),n.useEffect((function(){document.documentElement.style.overflow=Et?"hidden":""}),[Et]);var Ht=!!kn;n.useEffect((function(){Mt&&("first_login"===(null==pn?void 0:pn.source)?(null==At?void 0:At.email)&&""!==(null==At?void 0:At.email)?window.insider_object={user:e.__assign({uuid:null==At?void 0:At.id,email:null==At?void 0:At.email,gdpr_optin:!0,email_optin:!0,sign_up:!0},(null==At?void 0:At.name)?{name:null==At?void 0:At.name}:{})}:window.insider_object={user:e.__assign({uuid:null==At?void 0:At.id,sign_up:!0},(null==At?void 0:At.name)?{name:null==At?void 0:At.name}:{})}:(null==At?void 0:At.email)&&""!==(null==At?void 0:At.email)?window.insider_object={user:e.__assign({uuid:null==At?void 0:At.id,email:null==At?void 0:At.email,gdpr_optin:!0,email_optin:!0,log_in:!0},(null==At?void 0:At.name)?{name:null==At?void 0:At.name}:{})}:window.insider_object={user:e.__assign({uuid:null==At?void 0:At.id,log_in:!0},(null==At?void 0:At.name)?{name:null==At?void 0:At.name}:{})}),e.__awaiter(void 0,void 0,void 0,(function(){var n,t;return e.__generator(this,(function(a){switch(a.label){case 0:return Wn?[3,3]:[4,fetch("helloSites"===i?me(mn,nn):(o=ee,(o||"https://staging.marrybaby.vn/")+"wp-json/api/"+k.default(j,e.__assign({},l))))];case 1:return[4,a.sent().json()];case 2:return t=a.sent(),[3,4];case 3:t=null,a.label=4;case 4:return(n=t)&&1===n.status&&n.data&&!Wn&&qn("helloSites"===i?n.data||{}:n.data.footers||[]),[2]}var o,l}))})),e.__awaiter(void 0,void 0,void 0,(function(){var n,t,a,i,o,l;return e.__generator(this,(function(e){switch(e.label){case 0:return m&&0!==(null==m?void 0:m.length)||0!==(null==Xn?void 0:Xn.length)?[3,3]:(o={},[4,fetch(ce(mn,nn))]);case 1:return[4,e.sent().json()];case 2:return o.response=e.sent(),a=o,[3,4];case 3:a={},e.label=4;case 4:return n=a.response,null!==(t=void 0===n?{}:n)&&1===t.status&&(null===(l=t.data)||void 0===l?void 0:l.length)>0&&(i=t.data.map(le),0===Xn.length&&Jn(i)),[2]}}))})),e.__awaiter(void 0,void 0,void 0,(function(){var n,t,a,o,l,r,s,d,c;return e.__generator(this,(function(e){switch(e.label){case 0:return O&&0!==(null==O?void 0:O.length)||"helloSites"!==i||0!==(null==ut?void 0:ut.length)?[3,3]:(l={},[4,fetch(ue(mn,nn,{perPage:100,orderBy:"start_date"}))]);case 1:return[4,e.sent().json()];case 2:return l.response=e.sent(),a=l,[3,4];case 3:a={},e.label=4;case 4:return n=a.response,1===(null==(t=void 0===n?{}:n)?void 0:t.status)&&(null===(s=null===(r=null==t?void 0:t.data)||void 0===r?void 0:r.articles)||void 0===s?void 0:s.length)>0&&(o=null===(c=null===(d=t.data)||void 0===d?void 0:d.articles)||void 0===c?void 0:c.map(xe).filter(ye).slice(0,4),0===ut.length&&mt(o)),[2]}}))})),e.__awaiter(void 0,void 0,void 0,(function(){var n,t,a,o,l,r,s;return e.__generator(this,(function(d){switch(d.label){case 0:return(null==g?void 0:g.length)||(null==et?void 0:et.length)||(null==x?void 0:x.length)||(null==x?void 0:x.length)?[3,6]:(r={},"helloSites"!==i?[3,2]:[4,fetch(pe(mn,nn))]);case 1:return o=d.sent(),[3,4];case 2:return[4,fetch((c=ee,(c||"https://staging.marrybaby.vn/")+"wp-json/api/"+k.default(D,e.__assign({},p))))];case 3:o=d.sent(),d.label=4;case 4:return[4,o.json()];case 5:return r.response=d.sent(),a=r,[3,7];case 6:a={},d.label=7;case 7:return n=a.response,null!==(t=void 0===n?{}:n)&&1===t.status&&(null===(s=t.data)||void 0===s?void 0:s.length)>0&&("helloSites"===i?(l=t.data.map(se),0===et.length&&it(l)):(l=t.data.map(re),0===et.length&&nt(l))),[2]}var c,p}))})),e.__awaiter(void 0,void 0,void 0,(function(){var n,t,a,i,o,l,r;return e.__generator(this,(function(e){switch(e.label){case 0:return v&&0!==(null==v?void 0:v.length)||!Xe.includes(mn)||0!==(null==lt?void 0:lt.length)?[3,3]:(o={},[4,fetch(de(mn,$e))]);case 1:return[4,e.sent().json()];case 2:return o.response=e.sent(),a=o,[3,4];case 3:a={},e.label=4;case 4:return n=a.response,null!==(t=void 0===n?{}:n)&&1===t._status&&(null===(r=null===(l=t._data)||void 0===l?void 0:l.specialties)||void 0===r?void 0:r.length)>0&&(i=t._data.specialties,0===lt.length&&rt(i)),[2]}}))})),e.__awaiter(void 0,void 0,void 0,(function(){var n,t,a,o,l,r,s,d,c;return e.__generator(this,(function(p){switch(p.label){case 0:return w&&0!==(null==w?void 0:w.length)||!Qe.includes(mn)||0!==(null==dt?void 0:dt.length)?[3,3]:(l={},[4,fetch("helloSites"===i?he(mn,We):(u=We,(u||"https://together.hellohealthgroup.com/")+"api/v1/"+k.default(I,e.__assign(e.__assign({},m),{websiteUrl:"https://marrybaby.vn"}))))]);case 1:return[4,p.sent().json()];case 2:return l.response=p.sent(),a=l,[3,4];case 3:a={},p.label=4;case 4:return n=a.response,(null===(s=null===(r=null==(t=void 0===n?{}:n)?void 0:t.data)||void 0===r?void 0:r.communities)||void 0===s?void 0:s.length)>0&&(o=(null===(c=null===(d=null==t?void 0:t.data)||void 0===d?void 0:d.communities)||void 0===c?void 0:c.map(ie))||[],0===dt.length&&ct(o)),[2]}var u,m}))}))}),[]);var zt=E.default.createElement(Vl,{locale:mn,UP_BASEPATH:P,SSO_URL:Ge,userProfileRouterPush:fn,dispatchLogout:Fe,isOpen:"profile"===Ot,isMyHealthEnabled:G,ENABLE_CARE_PROFILE_MENU_LOCALES:Je,ENABLE_COMMUNITY_PROFILE_MENU_LOCALES:Ze,closePopup:Pt,userInfo:At,siteType:i,isUserProfileNavigatorMenuHidden:vn,togetherApiDomain:We}),Ut=sn&&{"next-page-hide":""};return E.default.createElement(W,{SEOData:e.__assign({SEOTitle:o,SEOImage:r,SEODescription:l,siteName:jt,seoType:z},M),isAmp:sn,locale:mn,routerPathname:cn,routerQuery:pn,nextHead:dn,siteType:i,forcedCanonicalUrl:yn,userId:null==At?void 0:At.id,usingDefaultHead:Bn,seoCustom:Dn},E.default.createElement(Ul,{basePath:on,callPostLogOutApi:Q,openLogoutPopup:V,onCloseHandler:Z,onLogoutHandler:q,siteType:i}),Mn,Nn,jn,U?E.default.createElement(E.default.Fragment,null,E.default.createElement(_a,null,E.default.createElement("section",e.__assign({className:sn?"amp-header":void 0,"next-page-replace":"hhg-navigator","amp-fx":"float-in-top"},Ut),E.default.createElement(ln,{siteType:i,statics:{DISCOVER_URL_FE:ht,SSO_URL:Ge,HOME_PAGE_URL:Ne,MARRY_BABY_FE:Me,CARE_URL_FE:Re},marryBaby:{tone:$},menuItems:Dt,menu:sn?void 0:E.default.createElement(Dl,{key:"mobile-menu-popup",menuItems:Dt,siteType:i,isMobileMenuOpened:"categories"===Ot,categories:Xn,healthTools:et,healthToolsByCategory:at,careSpecialties:lt,togetherCommunities:dt,spotlightsList:ut,onMobileMenuClick:Nt,isMobile:U,closePopup:Pt,footer:E.default.createElement(ka,{locale:mn,isMobile:U,basePath:on,isAmp:sn,footerInfo:Wn,type:"mini",siteType:i,marryBabySocialLinks:{facebookLink:ge,instagramLink:ve,linkedinLink:Ee,twitterLink:ke,youtubeLink:Ce,zaloLink:Le}}),locale:mn,callApiHandler:gn,basePath:on,together:{TOGETHER_MENU_COUNTRIES_ENABLED:Qe,togetherApiDomain:We||ee,TOGETHER_URL_FE:Ae},care:{CARE_MENU_COUNTRIES_ENABLED:Xe,careApiDomain:$e,CARE_URL_FE:Re},discover:{discoverApiDomain:nn,DISCOVER_URL_FE:ht},activeMenuService:an,statics:{DISCOVER_URL_FE:ht,HOME_PAGE_URL:Ne,HEALTH_TOOL_URL_FE:Pe,MARRY_BABY_FE:Me,TOGETHER_URL_FE:Ae,STATIC_PAGES:He},marryBaby:{tone:$},routerAsPath:un,popupType:"none",sso:{SSO_URL:Ge}}),profileMenu:zt,type:"home",currentPopupType:Ot,isMobile:U,isLoginButtonDisplayed:!0,onMenuClick:Nt,searchPlaceholder:Fn("home.search",{site:"helloSites"===i?null==Gn?void 0:Gn.SITE_NAME:"Marry Baby"}),onTopBarAppears:function(e){xn&&xn(e)},isSearchBarDisplay:Un,onSearchKeyPress:Bt,isStatic:sn||B,sponsorComponent:kn,locale:mn,userInfo:hn.userInfo,basePath:on,isAmp:sn,isDisplayed:!0,isInit:!1,onSearchChange:void 0,openPopup:void 0,routerAsPath:un,title:"",sitewideBanner:bn,sitewideBannerShown:wn,isSearchIconDisplayed:On,enabledExperimentalCareHeader:In,languageMenu:void 0!==_n&&_n.length>1?E.default.createElement(E.default.Fragment,null,2===_n.length&&Qn?E.default.createElement(Oa,{"data-is-active":!0,href:(null==Qn?void 0:Qn.value)||"#"},null==Qn?void 0:Qn.label):E.default.createElement(Xl,{options:_n,selected:Vn,label:It,onChange:function(e){"undefined"!=typeof window&&(window.location.href=e)},style:{width:100},showSelected:!0,showIndicator:!1})):void 0}),void 0!==Tn&&E.default.createElement(E.default.Fragment,null,Tn)),sn?E.default.createElement(Ta,{className:"root-container","data-menu-opened":vt.current,"data-sponsored":Ht,"data-is-mobile":U,"data-sitewide":!!bn},d,E.default.createElement(ka,{isAmp:sn,isMobile:U,locale:mn,basePath:on,footerInfo:Wn,type:"main",siteType:i,marryBabySocialLinks:{facebookLink:ge,instagramLink:ve,linkedinLink:Ee,twitterLink:ke,youtubeLink:Ce,zaloLink:Le},ampNextArticle:Pn,routerQuery:pn})):E.default.createElement(Ca,{className:"root-container","data-menu-opened":vt.current,"data-sponsored":Ht,"data-is-mobile":U,"data-sitewide":!!bn,hasStickyBottomBar:zn},E.default.createElement(E.default.Fragment,null,d,E.default.createElement(ka,{isAmp:sn,isMobile:U,locale:mn,basePath:on,footerInfo:Wn,type:"main",siteType:i,marryBabySocialLinks:{facebookLink:ge,instagramLink:ve,linkedinLink:Ee,twitterLink:ke,youtubeLink:Ce,zaloLink:Le},ampNextArticle:Pn,routerQuery:pn})))),sn&&E.default.createElement(Rt,{locale:mn,categoriesSSR:m,healthToolsSSR:x,spotlightsSSR:O,serviceUrls:{TOGETHER_URL_FE:Ae,CARE_URL_FE:Re,DISCOVER_URL_FE:ht},together:{TOGETHER_MENU_COUNTRIES_ENABLED:Qe,ENABLE_COMMUNITY_PROFILE_MENU_LOCALES:Ze,togetherApiDomain:We},care:{CARE_MENU_COUNTRIES_ENABLED:Xe,ENABLE_CARE_PROFILE_MENU_LOCALES:Je,careApiDomain:$e},basePath:on,searchPlaceholder:Fn("home.search",{site:"helloSites"===i?null==Gn?void 0:Gn.SITE_NAME:"Marry Baby"})})):E.default.createElement(E.default.Fragment,null,E.default.createElement(ln,{siteType:i,menuItems:Dt,marryBaby:{tone:$},locale:mn,currentPopupType:Ot,onSearchKeyPress:Bt,openPopup:function(e){Ot!==e&&St(e),Ot===e&&St("none")},isMobile:U,isLoginButtonDisplayed:!0,isSearchBarDisplay:!sn&&Un,searchPlaceholder:Fn("home.search",{site:"helloSites"===i?null==Gn?void 0:Gn.SITE_NAME:"Marry Baby"}),sitewideBannerShown:wn,statics:{DISCOVER_URL_FE:ht,SSO_URL:Ge,HOME_PAGE_URL:Ne,MARRY_BABY_FE:Me,CARE_URL_FE:Re},menu:E.default.createElement(Dl,{menuItems:Dt,siteType:i,isMobile:U,popupType:Ot,closePopup:function(){St("none")},categories:Xn,healthTools:et,healthToolsByCategory:at,careSpecialties:lt,togetherCommunities:dt,spotlightsList:ut,locale:mn,callApiHandler:gn,basePath:on,together:{TOGETHER_MENU_COUNTRIES_ENABLED:Qe,togetherApiDomain:We,TOGETHER_URL_FE:Ae},care:{careApiDomain:$e,CARE_MENU_COUNTRIES_ENABLED:Xe,CARE_URL_FE:Re},discover:{discoverApiDomain:nn,DISCOVER_URL_FE:ht},statics:{DISCOVER_URL_FE:ht,HOME_PAGE_URL:Ne,HEALTH_TOOL_URL_FE:Pe,MARRY_BABY_FE:Me,TOGETHER_URL_FE:Ae,STATIC_PAGES:He},activeMenuService:an,marryBaby:{tone:$},routerAsPath:un,footer:void 0,isMobileMenuOpened:void 0,sso:{SSO_URL:Ge},onMobileMenuClick:void 0}),profileMenu:zt,userInfo:hn.userInfo,sponsorComponent:kn,type:"home",basePath:on,isAmp:sn,isDisplayed:!0,isInit:!1,onSearchChange:void 0,isStatic:!1,routerAsPath:un,title:"",onMenuClick:void 0,onTopBarAppears:void 0,sitewideBanner:bn,languageMenu:void 0!==_n&&_n.length>1?E.default.createElement(E.default.Fragment,null,2===_n.length&&Qn?E.default.createElement(Oa,{"data-is-active":!0,href:(null==Qn?void 0:Qn.value)||"#"},null==Qn?void 0:Qn.label):E.default.createElement(Xl,{options:_n,selected:Vn,label:It,onChange:function(e){"undefined"!=typeof window&&(window.location.href=e)},style:{width:100},showSelected:!0,showIndicator:!1})):void 0,enabledExperimentalCareHeader:In,onCareHeaderClick:An}),sn?E.default.createElement(Ta,{className:"root-container","data-menu-opened":Et,"data-is-mobile":U,"data-sponsored":Ht,"data-sitewide":!!bn},d):E.default.createElement(Ca,{className:"root-container","data-menu-opened":Et,"data-is-mobile":U,"data-sponsored":Ht,"data-sitewide":!!bn,hasStickyBottomBar:zn},d),E.default.createElement(ka,{type:"main",locale:mn,basePath:on,isMobile:U,isAmp:sn,footerInfo:Wn,siteType:i,marryBabySocialLinks:{facebookLink:ge,instagramLink:ve,linkedinLink:Ee,twitterLink:ke,youtubeLink:Ce,zaloLink:Le}})))};exports.Layout=W,exports.NavigationBar=ln,exports.NavigationLayout=function(n){return E.default.createElement(te.Provider,{value:{translation:n.translation||ne}},E.default.createElement($l,e.__assign({},n)))},exports.SiteWide=function(t){var o=t.icon,l=t.content,r=t.isCollapsed,s=t.isMobile,d=t.type,c=t.onClose,p=t.setBannerClosed,u=t.dispatch,m=t.dispatchActionType,h=t.cookieName,g=t._overrideCloseHandler,f=t.isAmp,x=t.siteType,y=t.dataEventCategory,v=void 0===y?"Header Banner":y,b=t.dataEventAction,w=void 0===b?"Close Click":b,k=t.dataEventLabel,_=void 0===k?"":k,C=t.dataTracking,T=void 0===C?"true":C,L=n.useState(!1),O=L[0],S=L[1],I=n.useState(!1),A=I[0],M=I[1],N=l;f&&(N=N.replace("data-event","data-vars-event").replace('data-vars-event-category="'.concat(v,'"'),'data-vars-event-category="'.concat(v,'" data-vars-tracking="').concat(T,'"')));var P=n.useRef(64);n.useEffect((function(){var e=a.throttle((function(){window.scrollY<P.current?M(!1):window.scrollY>64&&M(!0),P.current=window.scrollY}),300);return window.addEventListener("scroll",e),function(){window.removeEventListener("scroll",e)}}),[]);var R="marryBaby"===x,B=R?K:"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 n.useEffect((function(){p&&p(O||r||A)}),[p,O,r,A]),E.default.createElement(J,{"data-is-mobile":s,"data-is-collapse":O||r||A,"data-is-marrybaby":R},o?E.default.createElement($,{"data-is-marrybaby":R},f?E.default.createElement("amp-img",{src:o,width:"76",height:"52"}):E.default.createElement("img",{src:o,className:"icon","data-is-mobile":s})):null,l?E.default.createElement("span",{className:"content","data-is-marrybaby":R,"data-is-mobile":s,dangerouslySetInnerHTML:{__html:N}}):null,E.default.createElement(ee,e.__assign({role:"button",tabIndex:0},{on:'tap:sitewide-container.hide(),site-header.toggleClass(class="amp-closed")'},{"data-is-marrybaby":R,"data-vars-event-category":v,"data-vars-event-action":w,"data-vars-event-label":_||"","data-vars-tracking":T||"",className:"amp-close-banner",onClick:function(){S(!0),g?g():(c&&c(),h&&i.setCookie(h,"true"),d&&u&&u({type:m,payload:{type:d}}))},"data-is-mobile":s}),f?E.default.createElement("amp-img",{src:B,width:"24",height:"24"}):E.default.createElement("img",{src:B,className:"close-icon"})))},exports.StickySponsoredBy=function(e){var t=e.className,a=e.isMobile,i=e.isCollapsed,o=e.sponsoredType,l=e.sponsoredBy,r=e.isAmp,d=e.locale,c=ae(),p=n.useState(!1),u=p[0],m=p[1];return E.default.createElement(Tn,{className:t,onClick:function(){return m(!0)},"data-show-popup":u&&(!a||!i)&&!r,"data-align-left":l&&!!(null==l?void 0:l.logo),"data-is-amp":r||void 0},E.default.createElement(s.Container,{style:{position:"relative",padding:"0 16px"}},"content"===o?E.default.createElement(s.Text,{size:a?"p4":"p3",color:"#737373"},E.default.createElement("div",{className:"sticky-sponsored-info-icon"},r?E.default.createElement("amp-img",{height:"20",width:"20",style:{verticalAlign:"middle",marginLeft:"0.3rem",marginBottom:"0.1rem"},src:X}):E.default.createElement("img",{src:X,style:{width:20,height:20,verticalAlign:"middle",marginRight:"0.3rem",marginBottom:"0.1rem"}})),l&&(null==l?void 0:l.logo)?E.default.createElement(E.default.Fragment,null," ",c("articlePage.sponsoredContentBy")," ",E.default.createElement("img",{className:"sponsored-logo",src:(null==l?void 0:l.logo)||"",alt:"sponsored-logo"})):c("articlePage.sponsoredContent")):E.default.createElement(s.Text,{size:"p2",color:"#737373"},c("articlePage.sponsoredArticle"),E.default.createElement("div",{className:"sticky-sponsored-info-icon"},r?E.default.createElement("amp-img",{height:"20",width:"20",style:{verticalAlign:"middle",marginLeft:"0.3rem",marginBottom:"0.1rem"},src:X,on:"tap:sponsored-by.toggleClass(class='open')",tabIndex:0,role:"button"}):E.default.createElement("img",{src:X,style:{width:20,height:20,verticalAlign:"middle",marginLeft:"0.3rem",marginBottom:"0.1rem"}}))),!u||a&&i||r?null:E.default.createElement(On,{sponsoredBy:l,isAmp:r,onClose:function(){return m(!1)},locale:d})))},exports.defaultTranslation=ne;