@hhgtech/hhg-components 1.20.41 → 1.20.43

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 (111) hide show
  1. package/build/Locale-11b51016.js +1 -0
  2. package/build/babyGrowth.js +1 -1
  3. package/build/care.js +1 -1
  4. package/build/components.js +1 -1
  5. package/build/constants-5675963f.js +1 -0
  6. package/build/constants.js +1 -0
  7. package/build/core.js +1 -1
  8. package/build/{core.d.ts → core_deprecate.d.ts} +0 -0
  9. package/build/ecom.js +1 -0
  10. package/build/esm/Locale-69030fff.js +1 -0
  11. package/build/esm/babyGrowth.js +1 -1
  12. package/build/esm/cache.js +1 -1
  13. package/build/esm/care.js +1 -1
  14. package/build/esm/components.js +1 -1
  15. package/build/esm/constants-3be6f6a9.js +1 -0
  16. package/build/esm/constants.js +1 -0
  17. package/build/esm/{core-a8118d2d.js → core-d22826b4.js} +1 -1
  18. package/build/esm/core.js +1 -1
  19. package/build/esm/ecom.js +1 -0
  20. package/build/esm/getDynamicHealthTool-ad018fba.js +1 -0
  21. package/build/esm/getSocialList-ff22842b.js +1 -0
  22. package/build/esm/hooks.js +1 -0
  23. package/build/esm/i18n.js +1 -1
  24. package/build/esm/imgHHG.js +1 -1
  25. package/build/esm/index-170ecf0b.js +1 -0
  26. package/build/esm/{index-5abf3144.js → index-2b194d05.js} +1 -1
  27. package/build/esm/index-62c22dbe.js +1 -0
  28. package/build/esm/index-79144a04.js +1 -0
  29. package/build/esm/index-79b4cb18.js +1 -0
  30. package/build/esm/index-903d16b5.js +1 -0
  31. package/build/esm/index-a5f7022a.js +1 -0
  32. package/build/esm/index-b62d9bf9.js +1 -0
  33. package/build/esm/index-e6fb8f13.js +1 -0
  34. package/build/esm/index-f712036c.js +1 -0
  35. package/build/esm/index.js +1 -1
  36. package/build/esm/index.styled-628f3a18.js +1 -0
  37. package/build/esm/{index.styled-69cca86d.js → index.styled-fad259b1.js} +1 -1
  38. package/build/esm/lazyLoad-f916d705.js +1 -0
  39. package/build/esm/misc.js +1 -0
  40. package/build/esm/navigation.js +1 -1
  41. package/build/esm/navigationLayout_deprecated.js +1 -1
  42. package/build/esm/routing-31d4caa0.js +1 -0
  43. package/build/esm/theme-a50a1aa5.js +1 -0
  44. package/build/esm/together.js +1 -1
  45. package/build/esm/{togetherComponentGlobalContext-104fdffa.js → togetherComponentGlobalContext-5be3f210.js} +1 -1
  46. package/build/esm/{translationsProvider-4c0f3ed8.js → translationsProvider-8d47131a.js} +1 -1
  47. package/build/esm/{tslib.es6-38c4ccef.js → tslib.es6-5532bd7b.js} +1 -1
  48. package/build/esm/types-86198528.js +1 -0
  49. package/build/esm/types-a7a69858.js +1 -0
  50. package/build/esm/types.js +1 -0
  51. package/build/esm/useHealthToolCache-3ed2f96b.js +1 -0
  52. package/build/esm/useTranslations-66de60e4.js +1 -0
  53. package/build/getDynamicHealthTool-87cf062a.js +1 -0
  54. package/build/getSocialList-2a3b759f.js +1 -0
  55. package/build/hooks.js +1 -0
  56. package/build/index-103c59b6.js +1 -0
  57. package/build/index-193522ec.js +1 -0
  58. package/build/index-249a996e.js +1 -0
  59. package/build/{index-23a0055b.js → index-4f5db552.js} +1 -1
  60. package/build/index-57503957.js +1 -0
  61. package/build/{index-47d10bf9.js → index-5dfd2bd9.js} +1 -1
  62. package/build/index-93b70710.js +1 -0
  63. package/build/{index-8ac646d5.js → index-c7bbd0f2.js} +1 -1
  64. package/build/index-cd9a6d72.js +1 -0
  65. package/build/index-e0fbee88.js +1 -0
  66. package/build/index.js +1 -1
  67. package/build/{index.styled-ed8a2b2a.js → index.styled-5695a100.js} +1 -1
  68. package/build/index.styled-747be23a.js +1 -0
  69. package/build/lazyLoad-a4ccbfcc.js +1 -0
  70. package/build/misc.js +1 -0
  71. package/build/navigation.js +1 -1
  72. package/build/navigationLayout_deprecated.js +1 -1
  73. package/build/routing-7d9b5fab.js +1 -0
  74. package/build/theme-696d81a9.js +1 -0
  75. package/build/together/components/molecules/popupFrame/index.d.ts +1 -1
  76. package/build/together.js +1 -1
  77. package/build/{togetherComponentGlobalContext-904cd42b.js → togetherComponentGlobalContext-7313ee94.js} +1 -1
  78. package/build/types-13342b7b.js +1 -0
  79. package/build/types-574c829c.js +1 -0
  80. package/build/types.js +1 -0
  81. package/build/useHealthToolCache-f0e420ac.js +1 -0
  82. package/build/useTranslations-589049a5.js +1 -0
  83. package/package.json +13 -1
  84. package/build/esm/getSocialList-cb857fba.js +0 -1
  85. package/build/esm/index-3bf7af06.js +0 -1
  86. package/build/esm/index-488778dc.js +0 -1
  87. package/build/esm/index-8a042dcf.js +0 -1
  88. package/build/esm/index-b0eba32e.js +0 -1
  89. package/build/esm/index-bdc8c779.js +0 -1
  90. package/build/esm/index-dfc3dc8f.js +0 -1
  91. package/build/esm/index-e6b4cdad.js +0 -1
  92. package/build/esm/index-ed39f7e0.js +0 -1
  93. package/build/esm/index.styled-f8bcaba1.js +0 -1
  94. package/build/esm/lazyLoad-9702fa7e.js +0 -1
  95. package/build/esm/routing-f1bdaa22.js +0 -1
  96. package/build/esm/types-085b551a.js +0 -1
  97. package/build/esm/types-fd89a516.js +0 -1
  98. package/build/esm/useHealthToolCache-52e24c31.js +0 -1
  99. package/build/getSocialList-6ea0d58d.js +0 -1
  100. package/build/index-267359a8.js +0 -1
  101. package/build/index-26eac243.js +0 -1
  102. package/build/index-7dad6750.js +0 -1
  103. package/build/index-910a1963.js +0 -1
  104. package/build/index-99b3a587.js +0 -1
  105. package/build/index-e0601dd6.js +0 -1
  106. package/build/index.styled-7f5e220d.js +0 -1
  107. package/build/lazyLoad-9057b459.js +0 -1
  108. package/build/routing-cb99a6a0.js +0 -1
  109. package/build/types-6f225c17.js +0 -1
  110. package/build/types-77d76fa7.js +0 -1
  111. package/build/useHealthToolCache-c3e430e3.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-267359a8.js"),a=require("lodash"),i=require("./cookieHelper-612b90fa.js"),o=require("styled-components"),l=require("./togetherComponentGlobalContext-904cd42b.js"),r=require("./index-8ac646d5.js"),s=require("./index.styled-7f5e220d.js"),d=require("./lazyLoad-9057b459.js"),c=require("./constants-ca5ea110.js"),p=require("string-format");require("react-range"),require("react-dom"),require("./translationsContext-af789c7c.js"),require("lodash/debounce"),require("date-fns");var u=require("./zalo-e7b9d144.js"),m=require("./index-99b3a587.js"),h=require("react-loading-skeleton"),g=require("./translationsProvider-04343e8a.js");function f(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}require("slugify"),require("vanilla-lazyload");var x,y,v,b=f(n),E=f(o),w=f(p),k=f(h),_={"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"},C={"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"}},T={"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"}},L={"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"}]},O="user",S="community?website_url={websiteUrl}",I="topic?community_id={communityId}&website_url={websiteUrl}",A="spotlights?per_page={perPage}&order_by={orderBy}",M="healthtools?_hasgroup=1",N="categories?type=all",P="footer",R="api/specialties?_ishome=1&site={domain}",B="menu/footer",j="health-tools",D=99,H=300,z=400,U=200,F=210,G=5,Y=6,V=300,Q={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"}},Z=function(n){var a,i,o,l,r,s,d,c,p,u,m,h,g,f,x,y,v,E,w,k=n.children,T=n.SEOData,O=void 0===T?{}:T,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=O.totalPages,G=O.currentPage,Y=O.SEOTitle,V=void 0===Y?"":Y,Q=O.SEODescription,Z=void 0===Q?"":Q,W=O.SEOImage,q=O.seoType,K=O.SEOImageWidth,X=O.SEOImageHeight,$=O.customMetaData,J=void 0===$?[]:$,ee=O.isIndexable,ne=void 0===ee||ee,te=O.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=O.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?_[se]:"www.marrybaby.vn",ce=le.endsWith("/")?"":"/";if(O.apiMetaData&&"string"==typeof O.apiMetaData){var pe=null===(a=O.apiMetaData)||void 0===a?void 0:a.match(/<title.*?>(.*)<\/title>/),ue=" - Page ".concat(G," of ").concat(F),me=G&&1!==G&&pe?O.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,'" />')):O.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),[b.default.createElement("meta",{key:"og:image",property:"og:image",content:(null===(i=O.openGraph)||void 0===i?void 0:i.image)||ge||""}),b.default.createElement("meta",{key:"og:image:secure_url",property:"og:image:secure_url",content:(null===(o=O.openGraph)||void 0===o?void 0:o.image)||ge}),b.default.createElement("meta",{key:"og:image:width",property:"og:image:width",content:(null===(l=O.openGraph)||void 0===l?void 0:l.imageWidth)&&String(null===(r=O.openGraph)||void 0===r?void 0:r.imageWidth)||"1200"}),b.default.createElement("meta",{key:"og:image:height",property:"og:image:height",content:(null===(s=O.openGraph)||void 0===s?void 0:s.imageHeight)&&String(null===(d=O.openGraph)||void 0===d?void 0:d.imageHeight)||"630"})],!1)}}var fe="https://".concat(de,"/images/").concat(M,".png");return b.default.createElement(b.default.Fragment,null,R&&z&&b.default.createElement(R,null,b.default.createElement("link",{rel:"preconnect",href:"https://fonts.gstatic.com"}),"marryBaby"===B&&b.default.createElement("link",{href:"https://fonts.googleapis.com/css2?family=Inter&family=Krub:wght@600&display=swap",rel:"stylesheet"}),"km-KH"===M?b.default.createElement("link",{href:"https://fonts.googleapis.com/css2?family=Battambang:wght@400;700&display=swap",rel:"stylesheet"}):"id-ID"===M||"ms-MY"===M?b.default.createElement(b.default.Fragment,null):b.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"}),b.default.createElement("link",{rel:"preconnect",href:oe}),b.default.createElement("meta",{charSet:"UTF-8"}),!I&&b.default.createElement("meta",{name:"viewport",content:"width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, viewport-fit=cover"}),b.default.createElement("meta",{name:"google",content:"notranslate"}),b.default.createElement("meta",{name:"robots",content:ie}),b.default.createElement("meta",{property:"fb:app_id",content:"653713035016537"}),J.map((function(n,t){return b.default.createElement("meta",e.__assign({key:t},n))})),b.default.createElement("meta",{name:"theme-color",content:"helloSites"===B?"#2c87f3":"#e85388"}),b.default.createElement("meta",{name:"page_type",content:"Home"}),b.default.createElement("meta",{name:"page_platform",content:"WEB"}),b.default.createElement("meta",{name:"page_language",content:se}),b.default.createElement("meta",{name:"ahrefs-site-verification",content:"46e7521a2b89a1013149c4685bbe02a1d36a4732fef98655142b829bc87cba4d"}),I&&b.default.createElement(b.default.Fragment,null,b.default.createElement("script",{async:!0,"custom-element":"amp-analytics",src:"https://cdn.ampproject.org/v0/amp-analytics-0.1.js"}),b.default.createElement("script",{async:!0,"custom-element":"amp-fx-collection",src:"https://cdn.ampproject.org/v0/amp-fx-collection-0.1.js"}),b.default.createElement("script",{async:!0,"custom-element":"amp-ad",src:"https://cdn.ampproject.org/v0/amp-ad-0.1.js"}),b.default.createElement("script",{async:!0,"custom-element":"amp-next-page",src:"https://cdn.ampproject.org/v0/amp-next-page-1.0.js"}),b.default.createElement("script",{async:!0,"custom-element":"amp-sticky-ad",src:"https://cdn.ampproject.org/v0/amp-sticky-ad-1.0.js"}),b.default.createElement("script",{async:!0,"custom-element":"amp-social-share",src:"https://cdn.ampproject.org/v0/amp-social-share-0.1.js"}),b.default.createElement("script",{async:!0,"custom-element":"amp-bind",src:"https://cdn.ampproject.org/v0/amp-bind-0.1.js"})),!re&&b.default.createElement(b.default.Fragment,null,"helloSites"===B?b.default.createElement("title",null,j?V:V+" - "+(null===(c=C[M])||void 0===c?void 0:c.SITE_NAME)):b.default.createElement("title",null,V),!ae&&b.default.createElement("link",{rel:"canonical",href:"https://".concat(de).concat(le)}),b.default.createElement("meta",{name:"description",content:Z||(null===(p=O.openGraph)||void 0===p?void 0:p.description)}),O.schemaData&&b.default.createElement("script",{type:"application/ld+json",className:"yoast-schema-graph",dangerouslySetInnerHTML:{__html:O.schemaData}}),b.default.createElement("meta",{property:"og:locale",content:M}),b.default.createElement("meta",{property:"og:type",content:q||"website"}),b.default.createElement("meta",{property:"og:title",content:(null===(u=O.openGraph)||void 0===u?void 0:u.title)||V}),b.default.createElement("meta",{property:"og:description",content:(null===(m=O.openGraph)||void 0===m?void 0:m.description)||Z}),b.default.createElement("meta",{property:"og:url",content:"https://".concat(de).concat(le)}),b.default.createElement("meta",{property:"og:site_name",content:"https://".concat(de)}),b.default.createElement("meta",{property:"og:image",content:(null===(h=O.openGraph)||void 0===h?void 0:h.image)||W||fe||""}),b.default.createElement("meta",{property:"og:image:secure_url",content:(null===(g=O.openGraph)||void 0===g?void 0:g.image)||W||fe}),b.default.createElement("meta",{property:"og:image:width",content:(null===(f=O.openGraph)||void 0===f?void 0:f.imageWidth)&&String(null===(x=O.openGraph)||void 0===x?void 0:x.imageWidth)||K&&String(K)||"1200"}),b.default.createElement("meta",{property:"og:image:height",content:(null===(y=O.openGraph)||void 0===y?void 0:y.imageHeight)&&String(null===(v=O.openGraph)||void 0===v?void 0:v.imageHeight)||X&&String(X)||"630"}),b.default.createElement("meta",{name:"twitter:card",content:"summary_large_image"}),b.default.createElement("meta",{name:"twitter:title",content:(null===(E=O.twitter)||void 0===E?void 0:E.title)||V}),b.default.createElement("meta",{name:"twitter:description",content:Z}),b.default.createElement("meta",{name:"twitter:image",content:(null===(w=O.twitter)||void 0===w?void 0:w.image)||W})),("helloSites"===B?L[se]||[]:L.marryBaby).map((function(e,n){return"link"===e.type?b.default.createElement("link",{key:"favicon-".concat(n),rel:e.rel,href:e.href,sizes:e.sizes}):"meta"===e.type?b.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&&b.default.createElement("link",{rel:"canonical",href:H}),!O.hasNoAmp&&"vi-VN"!==M&&b.default.createElement("link",{rel:"amphtml",href:"https://".concat(de).concat(le).concat(ce,"?amp=1")}),D&&"undefined"!=typeof window?b.default.createElement("script",{dangerouslySetInnerHTML:{__html:"window.dataLayer = window.dataLayer || []; window.dataLayer.push({'userID': '".concat(D,"'});")}}):null),R&&!z&&b.default.createElement(R,null),k)},W="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",q="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",K="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",X=E.default.div(x||(x=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})),$=E.default.div(y||(y=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"]))),J=E.default.div(v||(v=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})),ee={"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"},ne=n.createContext({}),te=function(){var e=n.useContext(ne);return function(n,t){var a=(e.translation||{})[n]||ee[n];return a?t?w.default(a,t):a:function(){throw Error("missing translation "+n)}()}},ae=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}:{}},ie=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}:{}},oe=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 oe(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}:{}},le=function(e){return e?{icon:e.icon,link:e.link,subtitle:e.subtitle,title:e.title}:{}},re=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 le(e)})))&&void 0!==t?t:[]}:{}},se=function(n,t,a){return(t||"https://service-health-care.hellohealthgroup.com/")+w.default(R,e.__assign(e.__assign({},a),{domain:_[n]}))},de=function(n,t,a){return(t||"https://wp.".concat(_[n],"/"))+"wp-json/api/"+w.default(N,e.__assign({},a))},ce=function(n,t,a){return(t||"https://wp.".concat(_[n],"/"))+"wp-json/api/"+w.default(M,e.__assign({},a))},pe=function(n,t,a){return(t||"https://wp.".concat(_[n],"/"))+"wp-json/api/"+w.default(A,e.__assign({},a))},ue=function(n,t,a){return(t||"https://wp.".concat(_[n],"/"))+"wp-json/api/"+w.default(P,e.__assign({},a))},me=function(n,t,a){return(t||"https://together.hellohealthgroup.com/")+"api/v1/"+w.default(S,e.__assign(e.__assign({},a),{websiteUrl:"https://".concat(_[n])}))},he=function(n,t,a){return(t||"https://together.hellohealthgroup.com/")+"api/v1/"+w.default(I,e.__assign(e.__assign({},a),{websiteUrl:"https://".concat(_[n])}))},ge=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:"")},fe=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}:{}},xe=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},ye=E.default.header(Pe||(Pe=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}),D,H,z),ve=E.default.header(Re||(Re=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"]))),be=E.default.div(Be||(Be=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"]))),Ee=E.default.div(je||(je=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}),G,Y,V),we=E.default.div(De||(De=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})),ke=E.default.div(He||(He=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"]))),_e=E.default.div(ze||(ze=e.__makeTemplateObject(["\n display: flex;\n align-items: center;\n"],["\n display: flex;\n align-items: center;\n"]))),Ce=E.default.div(Ue||(Ue=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})),Te=E.default.div(Fe||(Fe=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})),Le=E.default.div(Ge||(Ge=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"]))),Oe=E.default.div(Ye||(Ye=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"]))),Se=E.default.div(Ve||(Ve=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"]))),Ie=E.default.div(Qe||(Qe=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})),Ae=E.default.div(Ze||(Ze=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}),d.MediaQueries.mbDown),Me=E.default.div(We||(We=e.__makeTemplateObject(["\n display: block;\n"],["\n display: block;\n"]))),Ne=E.default.div(qe||(qe=e.__makeTemplateObject([""],[""])));E.default.div(Ke||(Ke=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 Pe,Re,Be,je,De,He,ze,Ue,Fe,Ge,Ye,Ve,Qe,Ze,We,qe,Ke,Xe,$e=E.default.div(Xe||(Xe=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 Je(){return b.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},b.default.createElement("path",{d:"M14.5 17L9.5 12L14.5 7",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"}))}function en(){return b.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},b.default.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"}))}function nn(e){var n=e.siteType,t=e.type;return"helloSites"===n?b.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}):b.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},b.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 tn(n){var a,i,o=n.type,l=n.isStatic,d=n.isAmp,c=n.isDisplayed,p=n.siteType,u=n.isCollapsed,m=n.sitewideBannerShown,h=n.sitewideBanner,g=n.sitewideBannerClosed,f=n.setSitewideBannerClosed,x=n.isMobile,y=n.onMenuClick,v=n.menu,E=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=te(),W=!!R,q=!!(null===(i=null===(a=null==R?void 0:R.props)||void 0===a?void 0:a.sponsoredBy)||void 0===i?void 0:i.length),K=m&&!!h&&!g,X=an({isSiteWide:!!h&&!g,isShowingSiteWideBanner:K,isSponsored:W,hasSponsoredBanners:q,isMobile:!0}),$=X.headerRef,J=X.headerHeight;return b.default.createElement(b.default.Fragment,null,b.default.createElement(ye,{"data-header-type":o,"data-collapsed":!l&&u,"data-with-search-input":"popup-sub-level"!==o,"data-is-displayed":c,"data-is-amp":d,"data-sponsored":W,"data-site-type":p,"data-sitewide-banner-shown":K,id:"site-header",ref:$},h?b.default.isValidElement(h)?b.default.cloneElement(h,{isCollapsed:u,setBannerClosed:f,isAmp:d,isMobile:x}):h:null,b.default.createElement("div",{style:e.__assign(e.__assign({position:"relative",height:64,display:"flex",alignItems:"center",justifyContent:"helloSites"===p?"center":"flex-start",background:"white"},"marryBaby"===p?{paddingLeft:66}:{}),void 0!==O||S?{paddingLeft:S?48:64,gap:24,justifyContent:"unset"}:{})},b.default.createElement(ve,null,b.default.createElement(be,{on:"tap:discover-amp-sidebar",role:"button",className:"menu-handler",tabIndex:0},b.default.createElement("div",{onClick:function(){return null==y?void 0:y("categories")}},"home"===o&&b.default.createElement("a",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"Hamburger Navigation URL"},b.default.createElement(nn,{siteType:p,type:o})),"popup"===o&&b.default.createElement(en,null),"popup-sub-level"===o&&b.default.createElement(Je,null)),v),E&&"helloSites"===p&&"home"===o&&b.default.createElement(be,{style:{paddingRight:16}},b.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")},b.default.createElement("img",{src:"".concat(L,"/images/search.svg"),style:{width:"24px",height:"24px"},alt:o}),b.default.createElement("input",{style:{width:"32px",height:"32px",position:"absolute",left:"-2px",bottom:"0",opacity:0,zIndex:1e4}})))),"popup"!==o&&b.default.createElement(Ae,{"data-is-profile":!0,className:N?"":"menu-handler-health-tools"},b.default.createElement("div",{className:"menu-handler-item"},E&&"marryBaby"===p&&"home"===o&&b.default.createElement(be,{style:{justifySelf:"flex-end"}},b.default.createElement("a",{"data-event-category":"Search Button","data-event-action":"Click",style:{display:"flex"},href:"".concat(k,"/search?s=&page=1")},b.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},b.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"})),b.default.createElement("input",{style:{width:"32px",height:"32px",position:"absolute",left:"-2px",bottom:"0",opacity:0}}))),S&&b.default.createElement(b.default.Fragment,null,I?b.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")):b.default.createElement("a",{href:T,className:"care-button"},b.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)?b.default.createElement(Oe,{style:{position:"relative"}},b.default.createElement("div",{onClick:function(){return y&&y("profile")}},"profile"===D?b.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},b.default.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"})):H),z):d?b.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?b.default.createElement($e,{onClick:F},b.default.createElement("img",{src:t.img,className:"avatar",alt:"avatar"})):b.default.createElement(r.Button,{className:"login-btn-mobile",size:"sm",color:"secondary",onClick:F},Z("navigation.loginJoin"))):U&&b.default.createElement("a",{"data-event-category":"Sign Up","data-event-action":"Button Click","data-event-label":B},S?b.default.createElement($e,{onClick:F},b.default.createElement("img",{src:t.img,className:"avatar",alt:"avatar"})):"helloSites"===p?b.default.createElement(r.Button,{className:"login-btn-mobile",size:"sm",color:"secondary",onClick:F},Z("navigation.loginJoin")):b.default.createElement("div",{className:"login-btn-mobile",onClick:F,style:{paddingLeft:16}},b.default.createElement(s.Text,{size:"p3"},Z("navigation.loginJoin")))))),("home"===o||"popup"===o)&&b.default.createElement("a",{href:C||""},b.default.createElement(s.Logo,{type:A,height:"27px",width:"121px",style:{display:"flex"},badge:"id-ID"===M?b.default.createElement("img",{src:t.img$1,style:{width:56,height:23,maxWidth:56},width:"56",height:"23"}):void 0})),void 0!==O&&b.default.createElement(Ie,{"data-is-active":!0,className:N?"":"menu-handler-language",onClick:function(){y&&y("language")}},O),P&&b.default.createElement(r.Heading,{className:"top-bar-header",tag:"h5"},P)),R?b.default.isValidElement(R)?b.default.cloneElement(R,{isCollapsed:u,locale:M,isMobile:x,isAmp:d}):R:null),G?b.default.createElement(Ee,{"data-header-type":o,"data-is-displayed":c,"data-sitewide-banner-shown":m&&!!h},b.default.createElement(s.PureInput,{style:{minHeight:"auto",minWidth:"100%",padding:"0 16px"},name:"search-input-"+o+(N?"":"-temp"),size:"md",placeholder:Y,onChange:V,onKeyPress:Q,type:"search",autoFocus:!1,displayIcon:b.default.createElement("a",{"data-event-category":"Search Button","data-event-action":"Click"},b.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},b.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"}),b.default.createElement("path",{d:"M20 20L16 16",stroke:"#8C8C8C",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})))})):b.default.createElement(b.default.Fragment,null,!d&&b.default.createElement("div",{style:{height:J}})))}var an=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}},on=function(e){var i,o,c,p=e.siteType,u=e.basePath,m=e.statics,h=e.currentPopupType,g=void 0===h?"none":h,f=e.isDisplayed,x=void 0===f||f,y=e.isSearchBarDisplay,v=void 0===y||y,E=e.searchPlaceholder,w=void 0===E?"":E,k=e.openPopup,T=e.onTopBarAppears,L=e.onSearchChange,O=e.onSearchKeyPress,S=e.menu,I=e.isAmp,A=e.profileMenu,M=e.isMobile,N=void 0!==M&&M,P=e.isLoginButtonDisplayed,R=e.title,B=e.type,j=void 0===B?"home":B,D=e.onMenuClick,H=e.isStatic,z=void 0!==H&&H,U=e.routerAsPath,F=e.locale,G=e.userInfo,Y=e.marryBaby,V=(void 0===Y?{tone:"white"}:Y).tone,Q=e.menuItems,Z=void 0===Q?[]:Q,W=e.isInit,q=e.sitewideBanner,K=e.sitewideBannerShown,X=void 0===K||K,$=e.sponsorComponent,J=e.languageMenu,ee=e.isSearchIconDisplayed,ne=void 0!==ee&&ee,ae=e.enabledExperimentalCareHeader,ie=e.onCareHeaderClick,oe=m.SSO_URL,le=m.HOME_PAGE_URL,re=m.CARE_URL_FE,se=te(),de=!!$,ce=n.useState(!1),pe=ce[0],ue=ce[1],me=n.useState(!1),he=me[0],ge=me[1],fe=n.useState(!1),xe=fe[0],ye=fe[1],ve=n.useState(W||!1),be=ve[0],Ee=ve[1],Me=n.useRef(47),Ne=n.useRef(!1),Pe=n.useRef(!1),Re="helloSites"===p?"https://".concat(_[F]).concat(U):"https://www.marrybaby.vn".concat(U),Be=n.useMemo((function(){var e=(null==G?void 0:G.name)||(null==G?void 0:G.username);return b.default.createElement(l.Avatar,{type:"rounded",size:"small",avatarUrl:null==G?void 0:G.avatar,firstLetter:e&&e.length?e[0].toUpperCase():"A",backgroundColor:"marryBaby"===p?d.theme.mbColors.pink:d.theme.colors.secondaryBase,isAmp:I})}),[null==G?void 0:G.username,null==G?void 0:G.name,null==G?void 0:G.avatar]),je=function(){var e=window.location.href;window.location.href=oe?"".concat(oe,"?returnUrl=").concat(e):e},De="helloSites"===p?null===(i=C[F])||void 0===i?void 0:i.LOGO_TYPE:p,He="undefined"!=typeof window,ze=function(e){null==L||L(e)},Ue=n.useCallback(a.throttle((function(){var e;if("home"===j){var n=window,t=null===(e=document.querySelector(".sticky-container"))||void 0===e?void 0:e.clientHeight;He&&n&&(n.scrollY>Me.current&&n.scrollY>64&&!Ne.current&&(Ne.current=!0,ue(!0)),n.scrollY<Me.current&&Ne.current&&(Ne.current=!1,ue(!1),t&&n.scrollY),n.scrollY<Me.current&&t&&n.scrollY,v?(n.scrollY<64&&n.scrollY<Me.current&&Pe.current&&(Pe.current=!1),n.scrollY>8&&n.scrollY>Me.current&&!Pe.current&&(Pe.current=!0)):Pe.current=!0,n.scrollY>=0&&(Me.current=n.scrollY))}}),300),[]);n.useEffect((function(){null==T||T(!pe)}),[pe]);var Fe=function(e){var n,t;O&&O(e,null!==(t=null===(n=document.getElementById("search-input-"+j))||void 0===n?void 0:n.value)&&void 0!==t?t:"")};n.useEffect((function(){N&&Ue()}),[]),n.useEffect((function(){return window.addEventListener("scroll",Ue,{passive:!0}),function(){window.removeEventListener("scroll",Ue)}}),[]),n.useEffect((function(){Ee(!0)}),[]),n.useEffect((function(){"undefined"!=typeof window&&ye(Boolean(xe))}),[]);var Ge=b.default.createElement(b.default.Fragment,null,Z.find((function(e){return"categories"===e.id}))&&b.default.createElement(Ie,{"data-is-active":"categories"===g,className:be?"":"menu-handler-categories",tabIndex:0,onClick:function(){null==k||k("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)}},b.default.createElement("div",{className:"menu-handler-item"},se("home.navigator.menuItem.discover"),b.default.createElement(Se,null,b.default.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},b.default.createElement("path",{d:"M11.5 7.5L9 10L6.5 7.5",stroke:"#202135",strokeWidth:"1.33",strokeLinecap:"round",strokeLinejoin:"round"})))),"categories"===g&&b.default.createElement("div",null,S)),Z.find((function(e){return"healthTools"===e.id}))&&b.default.createElement(Ie,{"data-is-active":"tools"===g,className:be?"":"menu-handler-health-tools",tabIndex:0},b.default.createElement("div",{className:"menu-handler-item",onClick:function(){k&&k("tools")}},se("home.navigator.menuItem.healthTools"),b.default.createElement(Se,null,b.default.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},b.default.createElement("path",{d:"M11.5 7.5L9 10L6.5 7.5",stroke:"#202135",strokeWidth:"1.33",strokeLinecap:"round",strokeLinejoin:"round"})))),"tools"===g&&b.default.createElement("div",null,S)),Z.find((function(e){return"care"===e.id}))&&!ae&&b.default.createElement(Ie,{"data-is-active":"care"===g,className:be?"":"menu-handler-care-specialties",tabIndex:0},b.default.createElement("div",{className:"menu-handler-item",onClick:function(){k&&k("care")}},se("home.navigator.menuItem.helloCare"),b.default.createElement(Se,null,b.default.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},b.default.createElement("path",{d:"M11.5 7.5L9 10L6.5 7.5",stroke:"#202135",strokeWidth:"1.33",strokeLinecap:"round",strokeLinejoin:"round"})))),"care"===g&&b.default.createElement("div",null,S)),Z.find((function(e){return"together"===e.id}))&&b.default.createElement(Ie,{"data-is-active":"communities"===g,className:be?"":"menu-handler-communities",tabIndex:0},b.default.createElement("div",{className:"menu-handler-item",onClick:function(){k&&k("communities")}},se("home.navigator.menuItem.helloTogether"),b.default.createElement(Se,null,b.default.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},b.default.createElement("path",{d:"M11.5 7.5L9 10L6.5 7.5",stroke:"#202135",strokeWidth:"1.33",strokeLinecap:"round",strokeLinejoin:"round"})))),"communities"===g&&b.default.createElement("div",null,S))),Ye=!!(null===(c=null===(o=null==$?void 0:$.props)||void 0===o?void 0:o.sponsoredBy)||void 0===c?void 0:c.length),Ve=X&&!!q&&!he,Qe=an({isSiteWide:!!q&&!he,isShowingSiteWideBanner:Ve,isSponsored:de,hasSponsoredBanners:Ye}),Ze=Qe.headerRef,We=Qe.headerHeight;return N?b.default.createElement(tn,{type:j,isStatic:z,isAmp:I,isDisplayed:x,siteType:p,isCollapsed:pe,sitewideBannerShown:X,sitewideBanner:q,sitewideBannerClosed:he,setSitewideBannerClosed:ge,isMobile:N,onMenuClick:D,menu:S,isSearchIconDisplayed:ne,statics:m,basePath:u,languageMenu:J,enabledExperimentalCareHeader:ae,logoType:De,locale:F,isInit:be,title:R,sponsorComponent:$,currentUrl:Re,userInfo:G,currentPopupType:g,avatar:Be,profileMenu:A,isLoginButtonDisplayed:P,goToLogin:je,isSearchBarDisplay:v,searchPlaceholder:w,onSearchValueChanged:ze,keyPressed:Fe}):b.default.createElement(b.default.Fragment,null,b.default.createElement("div",{style:{height:We}}),b.default.createElement(we,{ref:Ze,"data-site-type":p,"data-marry-baby-tone":"marryBaby"===p&&V,"data-sponsored":de,"data-sitewide-banner-shown":Ve},q?b.default.isValidElement(q)?b.default.cloneElement(q,{isCollapsed:pe,setBannerClosed:ge}):q:null,b.default.createElement(s.Container,{style:{height:69,padding:"0 16px"},type:p},b.default.createElement(ke,null,b.default.createElement(_e,null,b.default.createElement("a",{href:le},b.default.createElement(Ce,{"data-is-having-border":"helloSites"===p},b.default.createElement(s.Logo,{style:{display:"flex"},type:De,height:"27px",width:"121px",badge:"id-ID"===F?b.default.createElement("img",{src:t.img$1,style:{width:56,height:23,maxWidth:56},width:"56",height:"23"}):void 0}))),v&&"helloSites"===p&&b.default.createElement(Te,{"data-header-type":j,"data-is-displayed":x,"data-sitewide-banner-shown":X&&!!q},b.default.createElement(s.PureInput,{style:{minHeight:"32px",maxHeight:"32px",minWidth:"100%",backgroundColor:d.theme.colors.white},name:"search-input-"+j+(be?"":"-temp"),autoFocus:!1,size:"sm",placeholder:w,onChange:ze,onKeyPress:Fe,displayIcon:b.default.createElement("a",{"data-event-category":"Search Button","data-event-action":"Click",style:{width:"24px",height:"24px",transform:"scale(0.8)"}},b.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},b.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"===p&&b.default.createElement("div",{style:{marginLeft:28,display:"flex"}},Ge)),b.default.createElement(Le,null,"helloSites"===p&&Ge,v&&"marryBaby"===p&&b.default.createElement(Te,{"data-header-type":j,"data-is-displayed":x,"data-is-styled-borderless":"marryBaby"===p,"data-marry-baby-theme":V},b.default.createElement(s.PureInput,{style:{minHeight:"40px",maxHeight:"40px",minWidth:"100%",borderRadius:16},name:"search-input-"+j+(be?"":"-temp"),autoFocus:!1,size:"sm",placeholder:w,onChange:ze,onKeyPress:Fe,displayIcon:b.default.createElement("a",{"data-event-category":"Search Button","data-event-action":"Click",style:{width:"24px",height:"24px"}},b.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},b.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&&b.default.createElement(Ie,{"data-is-active":!0,className:be?"":"menu-handler-language",onClick:function(){k&&k("language")}},J),b.default.createElement(Ae,{"data-is-active":"profile"===g,"data-is-profile":!0,className:be?"":"menu-handler-health-tools",tabIndex:0},b.default.createElement("div",{className:"menu-handler-item"},ae&&b.default.createElement(b.default.Fragment,null,ie?b.default.createElement(r.Button,{className:"login-btn-mobile",size:"sm",color:"secondary",dataEventCategory:"Care",dataEventAction:"Navigation Bar Click",dataEventLabel:Re,onClick:function(e){return ie(e)}},se("login.booking")):b.default.createElement("a",{href:re,className:"care-button no-replace-click"},b.default.createElement(r.Button,{className:"login-btn-mobile",size:"sm",color:"secondary",dataEventCategory:"Care",dataEventAction:"Navigation Bar Click",dataEventLabel:Re},se("login.booking")))),(null==G?void 0:G.id)?b.default.createElement(Oe,{style:{position:"relative"}},b.default.createElement("div",{onClick:function(){return k&&k("profile")}},Be),A):P&&b.default.createElement("a",{"data-event-category":"Sign Up","data-event-action":"Button Click","data-event-label":Re},ae?b.default.createElement($e,{onClick:je},b.default.createElement("img",{src:t.img,className:"avatar",alt:"avatar"})):"helloSites"===p?b.default.createElement(r.Button,{size:"md",color:"secondary",onClick:je},se("navigation.loginJoin")):b.default.createElement(r.Button,{size:"md",color:"secondary",theme:"marryBaby",onClick:je},se("navigation.loginJoin")))))))),$?b.default.isValidElement($)?b.default.cloneElement($,{isCollapsed:pe,locale:F,isMobile:N,isAmp:I}):$:null))};E.default.div(ln||(ln=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 ln,rn,sn,dn,cn,pn,un,mn,hn,gn,fn,xn,yn,vn,bn,En,wn,kn,_n,Cn=E.default.div(rn||(rn=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}),d.MediaQueries.mbUp),Tn=E.default.div(sn||(sn=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"])),d.MediaQueries.mbDown,d.MediaQueries.mbUp),Ln=function(e){var n=e.sponsoredBy,t=e.isAmp,a=e.onClose,i=e.locale||"en-PH",o=te();return b.default.createElement(Tn,{"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},b.default.createElement(s.Text,{size:"p3",style:{marginBottom:"1rem"}},o("articlePage.sponsoredByStickyPopup.content")),b.default.createElement("div",{className:"button-container",onClick:function(e){e.stopPropagation()}},b.default.createElement(r.Button,{size:"md",color:"secondary",onClick:a,isAmp:t,on:"tap:sponsored-by.toggleClass(class='open')"},o("articlePage.sponsoredByStickyPopup.close")),b.default.createElement(r.Button,{size:"md",onClick:function(){window.location.href="/static".concat(T[i].ADVERTISING_SPONSOR_POLICY)},isAmp:t,on:"tap:AMP.navigateTo(url='/static".concat(T[i].ADVERTISING_SPONSOR_POLICY,"')")},o("articlePage.sponsoredByStickyPopup.policies"))))},On=E.default.div(dn||(dn=e.__makeTemplateObject(["\n & > div {\n width: 100%;\n margin-bottom: 8px;\n }\n"],["\n & > div {\n width: 100%;\n margin-bottom: 8px;\n }\n"]))),Sn=E.default.div(cn||(cn=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"]))),In=E.default.div(pn||(pn=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})),An=E.default.div(un||(un=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})),Mn=E.default.div(mn||(mn=e.__makeTemplateObject([""],[""]))),Nn=E.default.div(hn||(hn=e.__makeTemplateObject(["\n display: flex;\n"],["\n display: flex;\n"]))),Pn=E.default.div(gn||(gn=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"])),d.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})),Rn=E.default.div(fn||(fn=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"]))),Bn=E.default.div(xn||(xn=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"])),U),jn=E.default.div(yn||(yn=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"])),F,(function(e){return e.theme.colors.neutral50}),(function(e){return e.theme.colors.white})),Dn=E.default.div(vn||(vn=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"]))),Hn=E.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\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"]))),zn=E.default.div(En||(En=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})),Un=E.default.div(wn||(wn=e.__makeTemplateObject(["\n display: none;\n"],["\n display: none;\n"]))),Fn=E.default.div(kn||(kn=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"]))),Gn=E.default.div(_n||(_n=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})),Yn=E.default.div(et||(et=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"]))),Vn=E.default.div(nt||(nt=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})),Qn=E.default.div(tt||(tt=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"]))),Zn=E.default.div(at||(at=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})),Wn=E.default.div(it||(it=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"]))),qn=E.default.div(ot||(ot=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"]))),Kn=E.default.div(lt||(lt=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}));E.default.div(rt||(rt=e.__makeTemplateObject(["\n margin-top: 64px;\n"],["\n margin-top: 64px;\n"])));var Xn=E.default.div(st||(st=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}));E.default.div(dt||(dt=e.__makeTemplateObject(["\n padding: 24px 0;\n"],["\n padding: 24px 0;\n"])));var $n=E.default.div(ct||(ct=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"])));E.default.div(pt||(pt=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"])),U),E.default.div(ut||(ut=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"])),F,(function(e){return e.theme.colors.neutral50}),(function(e){return e.theme.colors.white})),E.default.div(mt||(mt=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"]))),E.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 &[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"]))),E.default.div(gt||(gt=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})),E.default.div(ft||(ft=e.__makeTemplateObject(["\n display: none;\n"],["\n display: none;\n"]))),E.default.div(xt||(xt=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})),E.default.div(yt||(yt=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 Jn=E.default.div(vt||(vt=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"])));E.default.div(bt||(bt=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"]))),E.default.div(Et||(Et=e.__makeTemplateObject(["\n display: block;\n"],["\n display: block;\n"]))),E.default.div(wt||(wt=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 et,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=E.default.div(kt||(kt=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})),It=E.default.div(_t||(_t=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"]))),At=function(){return b.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},b.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"}))},Mt=E.default.div(Ct||(Ct=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})),Nt=E.default.a(Tt||(Tt=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})),Pt=function(e){var n=e.locale,a=e.categoriesSSR,i=e.healthToolsSSR,o=e.spotlightsSSR,l=e.serviceUrls,d=e.together,c=e.care,p=e.basePath,u=e.searchPlaceholder,m=te();return b.default.createElement(Mt,null,b.default.createElement("amp-sidebar",{id:"discover-amp-sidebar",layout:"nodisplay",style:{width:"100vw",maxWidth:"100vw"}},b.default.createElement("amp-nested-menu",{layout:"fill"},b.default.createElement("ul",{style:{paddingBottom:24}},b.default.createElement("div",{className:"amp__menu-header"},b.default.createElement(Me,{on:"tap:discover-amp-sidebar.close",role:"button",tabIndex:1},b.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},b.default.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"}))),b.default.createElement("div",{className:"logo"},b.default.createElement(s.Logo,{height:"32px",width:"121px",type:C.LOGO_TYPE,isAmp:!0,badge:"id-ID"===n?b.default.createElement("amp-img",{src:t.img$1,width:"56",height:"23"}):void 0})),b.default.createElement("div",null)),b.default.createElement(Nt,{href:"/search"},b.default.createElement(At,null),b.default.createElement("input",{className:"amp-search-input",type:"text",placeholder:u,readOnly:!0})),b.default.createElement("div",{className:"categories__spotlight"},b.default.createElement(Ne,{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},b.default.createElement("amp-img",{src:t.img$2,width:"48",height:"48"}),b.default.createElement("span",null,m("home.navigator.menuItem.discover"))),b.default.createElement(Ne,{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'"},b.default.createElement("amp-img",{src:t.img$3,width:"48",height:"48"}),b.default.createElement("span",null,m("home.navigator.menuItem.healthTools"))),d.TOGETHER_MENU_COUNTRIES_ENABLED.includes(n)&&b.default.createElement("a",{href:l.TOGETHER_URL_FE},b.default.createElement(Ne,{role:"button",tabIndex:1,className:"nav-card",on:"tap:AMP.setState({healthToolsActive: false})"},b.default.createElement("amp-img",{src:t.img$5,width:"48",height:"48"}),b.default.createElement("span",null,m("home.navigator.menuItem.together")))),c.CARE_MENU_COUNTRIES_ENABLED.includes(n)&&b.default.createElement("a",{href:l.CARE_URL_FE},b.default.createElement(Ne,{role:"button",tabIndex:1,className:"nav-card"},b.default.createElement("amp-img",{src:t.img$4,width:"48",height:"48"}),b.default.createElement("span",null,m("home.navigator.menuItem.helloCare"))))),b.default.createElement("ul",{className:"categories","data-amp-bind-hidden":"!healthToolsActive",style:{marginBottom:24}},b.default.createElement(r.Heading,{tag:"h3",fontWeight:"bold",style:{marginBottom:24}},m("home.navigator.menuItem.discover")),a&&a.length>1&&a.map((function(e){return b.default.createElement("li",{key:e.name},b.default.createElement("a",{href:e.permalink},e.displayName))})),b.default.createElement("a",{style:{textDecoration:"none"},href:"".concat(l.DISCOVER_URL_FE,"/categories/")},b.default.createElement(Pn,{key:"all-categories"},m("home.navigator.menuItem.allCategories"),b.default.createElement(Jn,null,b.default.createElement("amp-img",{src:"".concat(p,"/svg/chevronRightActive.svg"),style:{width:"16px",height:"16px"},height:"16",width:"16",alt:m("home.navigator.menuItem.allCategories")}))))),b.default.createElement("ul",{className:"categories","data-amp-bind-hidden":"!healthToolsActive"},b.default.createElement(r.Heading,{tag:"h3",fontWeight:"bold",style:{marginBottom:24}},m("home.navigator.menuItem.spotlights")),o&&o.length>0&&o.map((function(e){return b.default.createElement("li",{key:e.id,className:"spotlight-li"},b.default.createElement("a",{href:e.permalink},e.name))})),b.default.createElement("a",{style:{textDecoration:"none"},href:"".concat(l.DISCOVER_URL_FE,"/spotlight/")},b.default.createElement(Pn,{key:"all-spotlight"},m("home.navigator.menuItem.allSpotlight"),b.default.createElement(Jn,null,b.default.createElement("amp-img",{src:"".concat(p,"/svg/chevronRightActive.svg"),style:{width:"16px",height:"16px"},height:"16",width:"16",alt:m("home.navigator.menuItem.allSpotlight")}))))),b.default.createElement("ul",{className:"categories","data-amp-bind-hidden":"healthToolsActive",hidden:!0},i&&i.length>1&&i.map((function(e,n){return e.healthTools&&e.healthTools.length>0&&b.default.createElement(b.default.Fragment,{key:n},b.default.createElement(r.Heading,{tag:"h4",fontWeight:"bold"},e.name),e.healthTools.map((function(e){return b.default.createElement("li",{key:e.title,className:"health-tool"},b.default.createElement("a",{href:e.link},b.default.createElement("amp-img",{width:"32",height:"32",src:e.icon}),b.default.createElement("span",null,e.title)))})))})))))))},Rt=E.default.footer(Lt||(Lt=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"])),d.MediaQueries.mbDown,d.MediaQueries.mbDown,d.MediaQueries.mbUp,(function(e){return e.theme.colors.neutral500}),(function(e){return e.theme.colors.neutral500}),d.MediaQueries.mbUp,d.MediaQueries.mbDown,(function(e){return e.theme.colors.neutral500}),d.MediaQueries.mbUp,d.MediaQueries.mbUp,(function(e){return e.theme.colors.neutral500}),d.MediaQueries.mbUp,(function(e){return e.theme.colors.neutral500}),d.MediaQueries.mbDown,d.MediaQueries.mbUp,(function(e){return e.theme.colors.white}),(function(e){return e.theme.sizes.fwBold}),d.MediaQueries.mbDown,(function(e){return e.theme.colors.neutral500}),d.MediaQueries.mbDown,d.MediaQueries.mbUp,(function(e){return e.theme.colors.neutral500}),d.MediaQueries.mbDown,d.MediaQueries.mbUp,(function(e){return e.theme.colors.white}),(function(e){return e.theme.sizes.fwBold}),d.MediaQueries.mbUp),Bt=E.default.div(Ot||(Ot=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"]))),jt=function(e){var n=e.url,t=e.isMobile,a=e.dataEventCategory,i=e.dataEventAction,o=e.dataEventLabel;return b.default.createElement(Bt,{"data-is-mobile":t},b.default.createElement("img",{className:"country-flag",src:n,alt:"Country Flag","data-event-category":a,"data-event-action":i,"data-content-label":o}))},Dt=function(e){var n,t,a,i,o,l,c,p,u,m,h,g,f,x,y,v,E,w,k,C,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=te(),q=null==Y?void 0:Y.menu;return b.default.createElement(Rt,{as:Z&&"mini"===G?"div":"footer",className:U,style:"mini"===G?{backgroundColor:d.theme.colors.neutral50}:{},"next-page-hide":!0},b.default.createElement(s.Container,null,b.default.createElement("div",{className:"inner","data-type":G,"next-page-hide":""},"main"===G?b.default.createElement(b.default.Fragment,null,b.default.createElement("a",{href:"/"},Z?(null===(t=null==Y?void 0:Y.general)||void 0===t?void 0:t.logo)?b.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:b.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})),b.default.createElement("div",{className:"columns"},b.default.createElement("div",{className:"newsletter"},b.default.createElement(s.Text,{size:"p1",type:"bold"},null===(i=null==Y?void 0:Y.general)||void 0===i?void 0:i.content),b.default.createElement(r.Button,{className:"signupButton",color:"primary",size:"lg"},W("footer.signUp")),b.default.createElement("div",{className:"social"},b.default.createElement(s.Text,{size:"sm",type:"regular"},null===(o=null==Y?void 0:Y.social)||void 0===o?void 0:o.title),b.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 b.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?b.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"}):b.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"}))}))),b.default.createElement("hr",{className:"hrMobile"}))),b.default.createElement("div",null,q&&b.default.createElement(b.default.Fragment,null,b.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 b.default.createElement("a",{"data-event-category":"Footer","data-event-action":e.title,"data-event-label":"https://".concat(_[Q]).concat(e.url),className:"bigLink",key:n,href:e.url},e.title)}))),b.default.createElement("hr",{className:"hrMobile"}),b.default.createElement("div",{className:"mHalf"},b.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 b.default.createElement("a",{"data-event-category":"Footer","data-event-action":e.title,"data-event-label":"https://".concat(_[Q]).concat(e.url),className:"link",href:e.url,key:n},b.default.createElement(s.Text,{size:"sm",type:"regular",dataEventCategory:"Footer",dataEventAction:e.title,dataEventLabel:"https://".concat(_[Q]).concat(e.url)},e.title))}))),b.default.createElement("div",{className:"mHalf"},b.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&&b.default.createElement("a",{"data-event-category":"Footer","data-event-action":e.title,"data-event-label":e.url,className:"link",href:e.url,key:n},b.default.createElement(s.Text,{size:"sm",type:"regular",dataEventCategory:"Footer",dataEventAction:e.title,dataEventLabel:e.url},e.title))})))),!Z&&b.default.createElement(b.default.Fragment,null,b.default.createElement("hr",{className:"hrMobile"}),b.default.createElement("div",{className:"otherSites"},b.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),b.default.createElement("div",{className:"flags"},null===(w=null===(E=null==Y?void 0:Y.branch)||void 0===E?void 0:E.branch)||void 0===w?void 0:w.map((function(e,n){return b.default.createElement("a",{className:"link",href:e.url,key:n,"data-event-category":"Footer","data-event-action":e.name,"data-event-label":e.url},b.default.createElement(jt,{url:e.flag,isMobile:V,dataEventCategory:"Footer",dataEventAction:e.name,dataEventLabel:e.url}))}))))))),b.default.createElement("hr",null),b.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)&&b.default.createElement("a",{href:null===(T=null===(C=null==Y?void 0:Y.general)||void 0===C?void 0:C.verified[0])||void 0===T?void 0:T.url,className:"copyright-image"},Z?b.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"}):b.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"})),b.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&&b.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")):b.default.createElement(b.default.Fragment,null,(null==Y?void 0:Y.menu)&&b.default.createElement("div",{className:"columns"},b.default.createElement("div",{className:"mHalf"},b.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 b.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(_[Q]).concat(e.url),"data-event-category":"Footer","data-event-action":e.title,"data-event-label":"https://".concat(_[Q]).concat(e.url)},b.default.createElement(s.Text,{dataEventCategory:"Footer",dataEventAction:e.title,dataEventLabel:"https://".concat(_[Q]).concat(e.url),size:"sm",type:"regular",style:{color:d.theme.colors.gray800}},e.title))}))),b.default.createElement("div",{className:"mHalf"},b.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 b.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},b.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&&b.default.createElement("hr",{className:"hrMobile"}),b.default.createElement("div",{className:"newsletter"},b.default.createElement("div",{className:"social"},b.default.createElement(s.Text,{size:"sm",type:"regular"},null===(D=null==Y?void 0:Y.social)||void 0===D?void 0:D.title),b.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 b.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?b.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"}):b.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((function(n){var t=n.type,a=e.__rest(n,["type"]);return b.default.createElement(t,a)}))(Ht||(Ht=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 Ht,zt,Ut=E.default.p(zt||(zt=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})),Ft=function(n){var t=n.type,a=n.color,i=n.style,o=e.__rest(n,["type","color","style"]);return b.default.createElement(Ut,e.__assign({"data-type":t,style:e.__assign(e.__assign({},i),a&&{"--text-color":a})},o))};E.default.footer(Gt||(Gt=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}),d.MediaQueries.mbDown,d.MediaQueries.mbDown,(function(e){return e.theme.colors.white}),(function(e){return e.theme.colors.neutral500}),d.MediaQueries.mbUp,d.MediaQueries.mbDown,(function(e){return e.theme.colors.neutral500}),d.MediaQueries.mbUp,d.MediaQueries.mbUp,(function(e){return e.theme.colors.white}),d.MediaQueries.mbUp,(function(e){return e.theme.colors.white}),(function(e){return e.theme.sizes.fwBold}),d.MediaQueries.mbDown,(function(e){return e.theme.colors.neutral500}),d.MediaQueries.mbDown,(function(e){return e.theme.colors.neutral500}),(function(e){return e.theme.colors.white}),(function(e){return e.theme.sizes.fwBold}),d.MediaQueries.mbUp);var Gt,Yt,Vt,Qt,Zt,Wt,qt,Kt,Xt,$t,Jt,ea,na,ta,aa,ia,oa,la,ra,sa,da,ca,pa,ua,ma,ha=E.default.div(Yt||(Yt=e.__makeTemplateObject([""],[""]))),ga=E.default.div(Vt||(Vt=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"]))),fa=E.default.div(Qt||(Qt=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"])),d.MediaQueries.mbDown),xa=E.default.div(Zt||(Zt=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"])),d.MediaQueries.mbDown,(function(e){return e.theme.colors.gray800}),d.MediaQueries.mbDown,d.MediaQueries.mbUp,d.MediaQueries.mbDown),ya=E.default.div(Wt||(Wt=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"])),d.MediaQueries.mbUp,d.MediaQueries.mbDown),va=E.default.div(qt||(qt=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"])),d.MediaQueries.mbDown,d.MediaQueries.mbDown,d.MediaQueries.mbDown,(function(e){return e.theme.mbColors.midGray}),d.MediaQueries.mbDown,d.MediaQueries.mbDown,d.MediaQueries.mbDown,(function(e){return e.theme.mbColors.midGray})),ba=E.default.div(Kt||(Kt=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"]))),Ea=function(e){var n,t=e.socialLinks,a=void 0===t?Q.SOCIAL_LINKS:t,i=a.facebookLink,o=a.instagramLink,l=a.zaloLink,r=a.youtubeLink,c=e.copyrightText,p=e.logoType,h=void 0===p?"marryBaby":p,g=e.isMobile,f=e.footerMenu,x=void 0===f?[]:f,y=e.type,v=void 0===y?"main":y,E=te();return"main"===v?b.default.createElement(ha,{className:"footer-container"},!g&&b.default.createElement("div",{className:"footer-divider"},b.default.createElement(s.Container,{type:"marryBaby"},b.default.createElement(m.Divider,{style:{padding:"0 16px"},type:"solid"}))),b.default.createElement(fa,null,b.default.createElement(s.Container,{type:"marryBaby"},b.default.createElement(xa,null,b.default.createElement("div",{className:"grid"},null===(n=g?null==x?void 0:x.slice(0,6):x)||void 0===n?void 0:n.map((function(e,n){var t=e.title,a=e.link;return b.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)},b.default.createElement(Ft,{color:d.theme.colors.gray800,type:"subtitle-2"},t))})),b.default.createElement("div",{className:"social-wrapper"},b.default.createElement("div",{className:"social"},b.default.createElement(Ft,{type:"subtitle-2"},E("footer.followUsText")),b.default.createElement("div",{className:"icons-links"},i&&b.default.createElement("a",{target:"_blank",rel:"noreferrer","data-event-category":"Footer","data-event-action":"Follow us - Facebook","data-content-label":i,href:i},b.default.createElement("img",{src:u.img,alt:"Facebook"})),r&&b.default.createElement("a",{target:"_blank",rel:"noreferrer","data-event-category":"Footer","data-event-action":"Follow us - Youtube","data-event-label":r,href:r},b.default.createElement("img",{src:u.img$1,alt:"Youtube"})),o&&b.default.createElement("a",{target:"_blank",rel:"noreferrer","data-event-category":"Footer","data-event-action":"Follow us - Instagram","data-content-label":o,href:o},b.default.createElement("img",{src:u.img$2,alt:"Instagram"})),l&&b.default.createElement("a",{target:"_blank",rel:"noreferrer",href:l,"data-event-category":"Footer","data-event-action":"Follow us - Zalo","data-event-label":l},b.default.createElement("img",{src:u.img$3,alt:"Zalo"}))))))))),b.default.createElement(ya,null,b.default.createElement(s.Container,{type:"marryBaby"},b.default.createElement(va,null,b.default.createElement(s.Logo,{className:"logo",type:h,width:"121px"}),b.default.createElement(Ft,{className:"company-name",type:"subtitle-2"},E("footer.info.companyName")),b.default.createElement("div",{className:"text-info"},b.default.createElement(Ft,{type:"bodytext-3"},E("footer.info.address")),b.default.createElement(Ft,{type:"bodytext-3"},E("footer.info.license")),b.default.createElement(Ft,{type:"bodytext-3"},E("footer.info.email"))),b.default.createElement("div",{className:"img-container"},b.default.createElement("img",{src:"/images/dmca_protected.png",alt:"DMCA protected"}),b.default.createElement("a",{href:"http://online.gov.vn/Home/WebDetails/25055?AspxAutoDetectCookieSupport=1",target:"_blank",rel:"noreferrer"},b.default.createElement("img",{src:"/images/mit_registered.png",alt:"MIT registered"}))),!g&&b.default.createElement(m.Divider,{type:"solid"}),b.default.createElement("div",{className:"language-and-copyright"},b.default.createElement(Ft,{type:"bodytext-3"},c)))))):b.default.createElement(ga,null,b.default.createElement(ba,null),b.default.createElement(Ft,{type:"subtitle-3",style:{marginBottom:24,textTransform:"uppercase",fontWeight:d.theme.sizes.fwSemiBold},color:d.theme.mbColors.midGray},E("footer.followUsText")),b.default.createElement("div",{className:"icons-links"},i&&b.default.createElement("a",{target:"_blank",rel:"noreferrer","data-event-category":"Footer","data-event-action":"Follow us - Facebook","data-content-label":i,href:i},b.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},b.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)"}),b.default.createElement("defs",null,b.default.createElement("linearGradient",{id:"paint0_linear",x1:"12",y1:"3",x2:"12",y2:"21",gradientUnits:"userSpaceOnUse"},b.default.createElement("stop",{stopColor:"#4DABF7"}),b.default.createElement("stop",{offset:"1",stopColor:"#2668DA"}))))),r&&b.default.createElement("a",{target:"_blank",rel:"noreferrer","data-event-category":"Footer","data-event-action":"Follow us - Youtube","data-event-label":r,href:r},b.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},b.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&&b.default.createElement("a",{target:"_blank",rel:"noreferrer","data-event-category":"Footer","data-event-action":"Follow us - Instagram","data-content-label":o,href:o},b.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},b.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)"}),b.default.createElement("defs",null,b.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)"},b.default.createElement("stop",{offset:"0.073",stopColor:"#EACC7B"}),b.default.createElement("stop",{offset:"0.184",stopColor:"#ECAA59"}),b.default.createElement("stop",{offset:"0.307",stopColor:"#EF802E"}),b.default.createElement("stop",{offset:"0.358",stopColor:"#EF6D3A"}),b.default.createElement("stop",{offset:"0.46",stopColor:"#F04B50"}),b.default.createElement("stop",{offset:"0.516",stopColor:"#F03E58"}),b.default.createElement("stop",{offset:"0.689",stopColor:"#DB359E"}),b.default.createElement("stop",{offset:"0.724",stopColor:"#CE37A4"}),b.default.createElement("stop",{offset:"0.789",stopColor:"#AC3CB4"}),b.default.createElement("stop",{offset:"0.877",stopColor:"#7544CF"}),b.default.createElement("stop",{offset:"0.98",stopColor:"#2B4FF2"}))))),l&&b.default.createElement("a",{target:"_blank",rel:"noreferrer",href:l,"data-event-category":"Footer","data-event-action":"Follow us - Zalo","data-event-label":l},b.default.createElement("div",{style:{height:24,width:24}},b.default.createElement("img",{src:"/icons/zalo.png",alt:"Zalo"})))))},wa=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,E=n.ampNextArticle,w=n.routerQuery;return"helloSites"===v?b.default.createElement(b.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&&b.default.createElement("amp-next-page",null,b.default.createElement("script",{type:"application/json",dangerouslySetInnerHTML:{__html:'\n [\n {\n "image": "'.concat(null===(i=null==E?void 0:E.articleOne)||void 0===i?void 0:i.image,'",\n "title": ').concat(JSON.stringify(null===(o=null==E?void 0:E.articleOne)||void 0===o?void 0:o.title),',\n "url": "').concat(null===(l=null==E?void 0:E.articleOne)||void 0===l?void 0:l.link,'"\n },\n {\n "image": "').concat(null===(r=null==E?void 0:E.articleTwo)||void 0===r?void 0:r.image,'",\n "title": ').concat(JSON.stringify(null===(s=null==E?void 0:E.articleTwo)||void 0===s?void 0:s.title),',\n "url": "').concat(null===(d=null==E?void 0:E.articleTwo)||void 0===d?void 0:d.link,'"\n },\n {\n "image": "').concat(null===(c=null==E?void 0:E.articleThree)||void 0===c?void 0:c.image,'",\n "title": ').concat(JSON.stringify(null===(p=null==E?void 0:E.articleThree)||void 0===p?void 0:p.title),',\n "url": "').concat(null===(u=null==E?void 0:E.articleThree)||void 0===u?void 0:u.link,'"\n }\n ]\n ')}}),b.default.createElement("div",e.__assign({},{separator:""},{className:"amp-page-seperator",style:{color:"#8C8C8C",textTransform:"uppercase",fontSize:11,fontWeight:700,marginLeft:16}}),"Next article:")),b.default.createElement(Dt,{isAmp:y,isMobile:g,type:m,locale:f,footerInfo:x||{}})):b.default.createElement(Ea,{isMobile:g,locale:f,footerMenu:x||[],copyrightText:"© 2022 MarryBaby.vn",socialLinks:n.marryBabySocialLinks,type:m})},ka=E.default.div(Xt||(Xt=e.__makeTemplateObject(["\n width: 100vw;\n"],["\n width: 100vw;\n"]))),_a=E.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})),Ca=E.default.div(Jt||(Jt=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})),Ta=E.default.div(ea||(ea=e.__makeTemplateObject(["\n display: flex;\n align-items: center;\n gap: 8px;\n"],["\n display: flex;\n align-items: center;\n gap: 8px;\n"]))),La=E.default.a(na||(na=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"]))),Oa=E.default.div(ta||(ta=e.__makeTemplateObject(["\n & > div {\n width: 100%;\n margin-bottom: 8px;\n }\n"],["\n & > div {\n width: 100%;\n margin-bottom: 8px;\n }\n"]))),Sa=E.default.div(aa||(aa=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})),Ia=E.default.div(ia||(ia=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})),Aa=E.default.div(oa||(oa=e.__makeTemplateObject([""],[""]))),Ma=E.default.div(la||(la=e.__makeTemplateObject(["\n padding-right: 16px;\n"],["\n padding-right: 16px;\n"]))),Na=E.default.div(ra||(ra=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"])),U),Pa=E.default.div(sa||(sa=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"])),F,(function(e){return e.theme.colors.neutral50}),(function(e){return e.theme.colors.white})),Ra=E.default.div(da||(da=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"]))),Ba=E.default.div(ca||(ca=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})),ja=E.default.div(pa||(pa=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"])),d.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})),Da=E.default.div(ua||(ua=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"]))),Ha=E.default.div(ma||(ma=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"]))),za=function(){return b.default.createElement(Oa,{style:{marginTop:"16px"}},b.default.createElement("div",null,b.default.createElement(k.default,{height:46})),b.default.createElement("div",null,b.default.createElement(k.default,{height:46})),b.default.createElement("div",null,b.default.createElement(k.default,{height:46})))},Ua=function(e){var n,t,a,i,o=e.careSpecialties,l=e.onSelectCareSpecialty,p=e.isLoading,u=e.desktopPopupType,m=e.onClosePopup,h=e.basePath,g=e.locale,f=e.isMobile,x=e.siteType,y=e.CARE_URL_FE,v=te();return f?b.default.createElement(b.default.Fragment,null,p?b.default.createElement(Sa,null,b.default.createElement(za,null)):b.default.createElement(Sa,{"data-category-list-type":"main"},b.default.createElement(r.Heading,{style:{marginTop:16},tag:"h5"},v("menu.care.searchBySpecialties")),o.map((function(e,n){return b.default.createElement("a",{key:"tool-"+n},b.default.createElement(Ia,{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"".concat(y).concat(ge({type:"DOCTOR",specialtySlug:e.slug,locale:g})),onClick:function(){l(e)}},b.default.createElement(Ma,null,b.default.createElement("img",{alt:"health-tool-icon",src:e.thumbnail||"".concat(h,"/images/avatar.jpg"),style:{width:"32px",height:"32px"}})),b.default.createElement(Aa,null,e.name)))})),b.default.createElement("a",{style:{textDecoration:"none"},href:"".concat(y,"/").concat(null===(n=c.LOCALIZED_SLUGS[g])||void 0===n?void 0:n.SPECIALTIES)},b.default.createElement(ja,{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"),b.default.createElement(Da,null,"helloSites"===x?b.default.createElement("img",{src:"".concat(h,"/svg/chevronRightActive.svg"),style:{width:"16px",height:"16px"},alt:v("home.navigator.menuItem.allSpecialties")}):b.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},b.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"}))))))):b.default.createElement(Na,{className:"top-menu-care-specialties",onClick:m,"data-is-display":"care"===u},b.default.createElement(Pa,null,b.default.createElement(s.Container,{style:{padding:"0 16px"},type:x},b.default.createElement(Ra,{"data-popup-type":u,onClick:function(e){e.stopPropagation()}},b.default.createElement(b.default.Fragment,null,o.map((function(e){return b.default.createElement(Ba,{key:"care-specialty-".concat(e.id),onClick:m},b.default.createElement("a",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"".concat(y).concat(ge({type:"DOCTOR",specialtySlug:e.slug,locale:g})),style:{textDecoration:"none",color:d.theme.colors.gray800},className:"iconMenu no-replace-click",href:"".concat(y).concat(ge({type:"DOCTOR",specialtySlug:e.slug,locale:g}))},b.default.createElement("div",{style:{display:"flex"}},b.default.createElement("img",{alt:"care-specialty-icon",src:e.thumbnail||"".concat(h,"/images/avatar.jpg"),style:{width:"32px",height:"32px"}})),b.default.createElement("p",null,e.name)))})),b.default.createElement("a",{style:{textDecoration:"none"},href:"".concat(y,"/").concat(null===(a=c.LOCALIZED_SLUGS[g])||void 0===a?void 0:a.SPECIALTIES)},b.default.createElement(ja,{onClick:m,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"),b.default.createElement(Da,null,"helloSites"===x?b.default.createElement("img",{src:"".concat(h,"/svg/chevronRightActive.svg"),style:{width:"16px",height:"16px"},alt:v("home.navigator.menuItem.allSpecialties")}):b.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},b.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"})))))),b.default.createElement(Ha,{onClick:m},b.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},b.default.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"})))))))},Fa=function(){return b.default.createElement(On,{style:{marginTop:"16px"}},b.default.createElement("div",null,b.default.createElement(k.default,{height:46})),b.default.createElement("div",null,b.default.createElement(k.default,{height:46})),b.default.createElement("div",null,b.default.createElement(k.default,{height:46})))},Ga=E.default.div(qa||(qa=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"])),d.MediaQueries.mbDown,d.MediaQueries.mbUp),Ya=E.default.div(Ka||(Ka=e.__makeTemplateObject(["\n & > div {\n width: 100%;\n margin-bottom: 8px;\n }\n"],["\n & > div {\n width: 100%;\n margin-bottom: 8px;\n }\n"]))),Va=E.default.div(Xa||(Xa=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"])),d.MediaQueries.mbDown,(function(e){return e.theme.colors.neutral100}),(function(e){return e.theme.colors.neutral100}));E.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"])),d.MediaQueries.mbDown,(function(e){return e.theme.colors.neutral100}),(function(e){return e.theme.colors.neutral100}));var Qa=E.default.div(Ja||(Ja=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}),d.MediaQueries.mbDown),Za=E.default.div(ei||(ei=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})),Wa=E.default.div(ni||(ni=e.__makeTemplateObject([""],[""])));E.default.div(ti||(ti=e.__makeTemplateObject([""],[""])));var qa,Ka,Xa,$a,Ja,ei,ni,ti,ai,ii,oi=E.default.div(ai||(ai=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"])),d.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})),li=E.default.div(ii||(ii=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"]))),ri=function(){return b.default.createElement(Ya,{style:{marginTop:"16px"}},b.default.createElement("div",null,b.default.createElement(k.default,{height:46})),b.default.createElement("div",null,b.default.createElement(k.default,{height:46})),b.default.createElement("div",null,b.default.createElement(k.default,{height:46})))},si=function(e){var n=e.isDisplayed,t=void 0!==n&&n,a=e.spotlights,i=e.isLoading,o=e.className,l=e.isMobile,s=e.DISCOVER_URL_FE,c=e.basePath,p=e.locale,u=e.siteType,m=te();return t?b.default.createElement(Ga,null,b.default.createElement(r.Heading,{tag:"h3",style:{marginBottom:24}},m("home.navigator.menuItem.spotlights")),i&&t?b.default.createElement(Va,{className:o},b.default.createElement(ri,null)):b.default.createElement(Va,{"data-is-displayed":t,className:o},a.map((function(e,n){return b.default.createElement(Za,{style:{textDecoration:"none"},key:"spotlight-"+n},l?b.default.createElement("a",{href:e.permalink,style:{textDecoration:"none",color:d.theme.colors.gray800}},b.default.createElement(Qa,{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://".concat(_[p]).concat(e.permalink)},b.default.createElement(Wa,null,e.name))):b.default.createElement("a",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://".concat(_[p]).concat(e.permalink),style:{textDecoration:"none",pointerEvents:"auto"},href:"".concat(s).concat(e.permalink)},e.name))})),b.default.createElement("a",{style:{textDecoration:"none"},href:"".concat(s,"/spotlight/")},b.default.createElement(oi,{key:"all-spotlights","data-theme":u,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"".concat(s,"/spotlight/")},m("home.navigator.menuItem.allSpotlight"),b.default.createElement(li,null,"helloSites"===u?b.default.createElement("img",{src:"".concat(c,"/svg/chevronRightActive.svg"),style:{width:"16px",height:"16px"},alt:m("home.navigator.menuItem.allSpotlight")}):b.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},b.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},di=function(e){var n=e.locale,t=e.basePath,a=e.isDisplayed,i=void 0!==a&&a,o=e.categories,l=e.spotlightsList,c=e.type,p=e.onSelectCategory,u=e.onClosePopup,m=e.desktopPopupType,h=e.isMobile,g=e.isLoading,f=e.DISCOVER_URL_FE,x=e.siteType,y=void 0===x?"helloSites":x,v=te();return h?b.default.createElement(b.default.Fragment,null,g&&i?b.default.createElement(Sn,null,b.default.createElement(Fa,null)):b.default.createElement(Sn,{"data-is-displayed":i,"data-category-list-type":c},b.default.createElement(r.Heading,{tag:"h3",style:{marginBottom:8}},v("home.navigator.menuItem.healthCategories")),b.default.createElement(In,null,o.map((function(e,a){return b.default.createElement("div",{key:c+"-category-"+a},b.default.createElement("a",{style:{textDecoration:"none",color:d.theme.colors.gray800},onClick:function(n){e.childCates&&e.childCates.length>0&&"sub"!==c&&n.preventDefault()},href:f+e.permalink},b.default.createElement(An,{onClick:function(){null==p||p(e)},"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://".concat(_[n]).concat(e.permalink),"data-is-heading-category":"sub"===c&&e.childCates&&e.childCates.length>0},b.default.createElement(Mn,null,e.displayName),"main"===c&&b.default.createElement(Nn,null,"helloSites"===y?b.default.createElement("img",{src:"".concat(t,"/svg/chevronRight.svg"),style:{width:"16px",height:"16px"},alt:e.categoryName}):b.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},b.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"===c&&e.childCates&&e.childCates.length>0&&e.childCates.map((function(e,n){return b.default.createElement("a",{style:{textDecoration:"none"},href:e.permalink,key:c+"-2-"+n},b.default.createElement(An,{"data-is-heading-category":"sub"===c&&e.childCates&&e.childCates.length>0},b.default.createElement(s.Text,{size:"p3"},e.displayName)))}))))})),b.default.createElement("a",{style:{textDecoration:"none"},href:"".concat(f,"/categories/")},b.default.createElement(Pn,{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"),b.default.createElement(Rn,null,"helloSites"===y?b.default.createElement("img",{src:"".concat(t,"/svg/chevronRightActive.svg"),style:{width:"16px",height:"16px"},alt:v("home.navigator.menuItem.allCategories")}):b.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},b.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"})))))),b.default.createElement(si,{isDisplayed:"main"===c,spotlights:l,isLoading:!1,isMobile:h,basePath:t,DISCOVER_URL_FE:f,locale:n,siteType:y}))):b.default.createElement(Bn,{className:"top-menu-categories",onClick:u,"data-is-display":"categories"===m},b.default.createElement(jn,null,b.default.createElement(s.Container,{style:{padding:"0 16px"},type:y},b.default.createElement(Dn,{"data-popup-type":m,onClick:function(e){e.stopPropagation()}},b.default.createElement("div",null,b.default.createElement(r.Heading,{tag:"h3",style:{marginBottom:24}},v("home.navigator.menuItem.healthCategories")),b.default.createElement(Hn,{"data-disabled-divider":0===l.length},o.map((function(e,t){return b.default.createElement(zn,{style:{textDecoration:"none"},key:e.categoryName+t},b.default.createElement("a",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://".concat(_[n]).concat(e.permalink),style:{textDecoration:"none",pointerEvents:"auto"},onClick:u,href:"".concat(f).concat(e.permalink)},e.displayName),b.default.createElement(Un,null,e.childCates&&e.childCates.map((function(e,t){return b.default.createElement("a",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://".concat(_[n]).concat(e.permalink),style:{textDecoration:"none",pointerEvents:"auto"},href:e.permalink,key:t},e.displayName)}))))})),b.default.createElement("a",{style:{textDecoration:"none"},href:"".concat(f,"/categories/")},b.default.createElement(Pn,{onClick:u,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"),b.default.createElement(Rn,null,"helloSites"===y?b.default.createElement("img",{src:"".concat(t,"/svg/chevronRightActive.svg"),style:{width:"16px",height:"16px"},alt:v("home.navigator.menuItem.allCategories")}):b.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},b.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"}))))))),b.default.createElement(si,{isDisplayed:"main"===c,spotlights:l,isLoading:!1,basePath:t,DISCOVER_URL_FE:f,locale:n,siteType:y}),b.default.createElement(Fn,{onClick:u},b.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},b.default.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"})))))))},ci=E.default.div(yi||(yi=e.__makeTemplateObject([""],[""]))),pi=E.default.div(vi||(vi=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"]))),ui=E.default.div(bi||(bi=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"]))),mi=E.default.div(Ei||(Ei=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})),hi=E.default.div(wi||(wi=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"]))),gi=E.default.div(ki||(ki=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"])),U),fi=E.default.div(_i||(_i=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"]))),xi=E.default.div(Ci||(Ci=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"])),F,(function(e){return e.theme.colors.neutral50}),(function(e){return e.theme.colors.white}));E.default.div(Ti||(Ti=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 yi,vi,bi,Ei,wi,ki,_i,Ci,Ti,Li,Oi,Si=E.default.div(Li||(Li=e.__makeTemplateObject(["\n position: relative;\n display: flex;\n flex-direction: column;\n"],["\n position: relative;\n display: flex;\n flex-direction: column;\n"])));E.default.div(Oi||(Oi=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 Ii,Ai,Mi,Ni,Pi,Ri,Bi,ji,Di,Hi,zi,Ui,Fi,Gi=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?b.default.createElement(b.default.Fragment,null,c&&a?b.default.createElement(Sn,null,b.default.createElement(Fa,null)):b.default.createElement(Sn,{"data-is-displayed":a,"data-category-list-type":o,style:{marginTop:24}},b.default.createElement(ci,{className:"marry-bb-menu-categories"},i.map((function(e,n){return b.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)},b.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)},b.default.createElement(mi,{"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?b.default.createElement(pi,{style:{backgroundColor:e.imageColor}},b.default.createElement("img",{src:e.iconUrl,style:{width:"24px",height:"24px"},alt:e.name})):b.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},b.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"})),b.default.createElement(Ft,{style:{fontWeight:d.theme.sizes.fwSemiBold},type:"subtitle-2"},e.displayName),b.default.createElement(Gn,null),"main"===o?b.default.createElement(Nn,null,b.default.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},b.default.createElement("path",{d:"M8.5 6L11 8.5L8.5 11",stroke:"#9495A0",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"}))):b.default.createElement(Nn,null,m!==n?b.default.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},b.default.createElement("path",{d:"M8.5 6L11 8.5L8.5 11",stroke:"#9495A0",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"})):b.default.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},b.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&&b.default.createElement(hi,null,b.default.createElement("div",{className:f?"collapsing":"expanding"},e.childCates.map((function(n,t){return b.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},b.default.createElement(mi,{"data-is-heading-category":"sub"===o&&n.childCates&&n.childCates.length>0},b.default.createElement(ui,null,b.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},b.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"})),b.default.createElement(Ft,{type:"subtitle-2"},n.displayName))))})))),b.default.createElement("div",{style:{display:"none"}},e.childCates&&e.childCates.map((function(e,n){return b.default.createElement("a",{href:"".concat(p).concat(e.permalink),key:n,style:{textDecoration:"none"}},b.default.createElement("div",{"data-is-heading-category":"sub"===o&&e.childCates&&e.childCates.length>0},b.default.createElement("p",null,e.displayName)))}))))}))))):b.default.createElement(gi,{className:"top-menu-categories","data-is-display":"categories"===r,tabIndex:0},b.default.createElement(fi,null),b.default.createElement(xi,{"data-popup-type":r},b.default.createElement(Si,{className:"marry-bb-menu-categories"},c?b.default.createElement("div",{style:{width:"100%",padding:"0 20px"}},b.default.createElement(Fa,null)):i.map((function(e,n){return b.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)}},b.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)},b.default.createElement(mi,{style:{display:"flex",alignItems:"center",justifyContent:"flex-start"}},b.default.createElement(pi,{style:{backgroundColor:e.imageColor}},b.default.createElement("img",{src:e.iconUrl,style:{width:"24px",height:"24px"},alt:e.name})),b.default.createElement(Ft,{style:{fontWeight:d.theme.sizes.fwSemiBold},type:"subtitle-2"},e.displayName))))})))))},Yi=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?b.default.createElement(di,{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}):b.default.createElement(Gi,{basePath:o,callApiHandler:h,discoverApiDomain:i,isDisplayed:t,type:s,onSelectCategory:d,categories:l,isLoading:m,isMobile:u,MARRY_BABY_FE:f,desktopPopupType:p})},Vi=E.default.div(Ii||(Ii=e.__makeTemplateObject(["\n & > div {\n width: 100%;\n margin-bottom: 8px;\n }\n"],["\n & > div {\n width: 100%;\n margin-bottom: 8px;\n }\n"]))),Qi=E.default.div(Ai||(Ai=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})),Zi=E.default.div(Mi||(Mi=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})),Wi=E.default.div(Ni||(Ni=e.__makeTemplateObject([""],[""]))),qi=E.default.div(Pi||(Pi=e.__makeTemplateObject([""],[""]))),Ki=E.default.div(Ri||(Ri=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"]))),Xi=E.default.div(Bi||(Bi=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"])),U),$i=E.default.div(ji||(ji=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"])),F,(function(e){return e.theme.colors.neutral50}),(function(e){return e.theme.colors.white})),Ji=E.default.div(Di||(Di=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"]))),eo=E.default.div(Hi||(Hi=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})),no=E.default.div(zi||(zi=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})),to=E.default.div(Ui||(Ui=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"]))),ao=E.default.div(Fi||(Fi=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"]))),io=function(){return b.default.createElement(Vi,{style:{marginTop:"16px"}},b.default.createElement("div",null,b.default.createElement(k.default,{height:46})),b.default.createElement("div",null,b.default.createElement(k.default,{height:46})),b.default.createElement("div",null,b.default.createElement(k.default,{height:46})))},oo=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=te();return m?b.default.createElement(b.default.Fragment,null,l&&n?b.default.createElement(Qi,null,b.default.createElement(io,null)):b.default.createElement(Qi,{"data-category-list-type":a,"data-is-displayed":n},"main"===a&&t.map((function(e,n){return b.default.createElement("div",{key:a+"-category-"+n},b.default.createElement("a",{style:{textDecoration:"none",color:d.theme.colors.gray800},onClick:function(e){e.preventDefault()},href:"".concat(c,"/").concat(e.communitySlug)},b.default.createElement(Zi,{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://".concat(_[h],"/").concat(e.communitySlug),onClick:function(){i({community:e,isSetToSubMenu:!0})},"data-is-heading-category":!1},b.default.createElement(Ki,null,b.default.createElement("img",{src:e.thumbnail,style:{width:"40px",height:"40px"},alt:e.title}),b.default.createElement(Wi,null,e.title)),b.default.createElement(qi,null,"helloSites"===u?b.default.createElement("img",{src:"".concat(r,"/svg/chevronRight.svg"),style:{width:"16px",height:"16px"},alt:e.title}):b.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},b.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 b.default.createElement("div",{key:a+"-category-"+n},b.default.createElement("a",{style:{textDecoration:"none",color:d.theme.colors.gray800},onClick:function(e){e.preventDefault()},href:"".concat(c,"/").concat(e.communitySlug)},b.default.createElement(Zi,{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://".concat(_[h],"/").concat(e.communitySlug),onClick:function(){i({community:e,isSetToSubMenu:!1})},"data-is-heading-category":!1},b.default.createElement(Ki,null,b.default.createElement("img",{src:e.thumbnail,style:{width:"40px",height:"40px"},alt:e.title}),b.default.createElement(Wi,null,e.title)))))})),b.default.createElement("a",{style:{textDecoration:"none"},href:c+"/"},b.default.createElement(no,{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"),b.default.createElement(to,null,b.default.createElement("img",{src:"".concat(r,"/svg/chevronRightActive.svg"),style:{width:"16px",height:"16px"},alt:f("home.navigator.menuItem.allCommunities")})))))):b.default.createElement(Xi,{className:"top-menu-communities",onClick:o,"data-is-display":"communities"===g},b.default.createElement($i,null,b.default.createElement(s.Container,{style:{padding:"0 16px"},type:u},b.default.createElement(Ji,{"data-popup-type":g,onClick:function(e){e.stopPropagation()}},b.default.createElement(b.default.Fragment,null,t.map((function(e){return b.default.createElement(eo,{key:e.title,onClick:o},b.default.createElement("a",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://".concat(_[h],"/").concat(e.communitySlug),style:{textDecoration:"none",color:d.theme.colors.gray800},className:"iconMenu",href:"".concat(c,"/").concat(e.communitySlug)},b.default.createElement("div",{style:{display:"flex"}},b.default.createElement("img",{alt:"health-tool-icon",src:e.thumbnail||"".concat(r,"/images/avatar.jpg"),style:{width:"32px",height:"32px"}})),b.default.createElement("p",null,e.title)))})),b.default.createElement("a",{style:{textDecoration:"none"},href:c+"/"},b.default.createElement(no,{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"),b.default.createElement(to,null,b.default.createElement("img",{src:"".concat(r,"/svg/chevronRightActive.svg"),style:{width:"16px",height:"16px"},alt:f("home.navigator.menuItem.allCommunities")}))))),b.default.createElement(ao,{onClick:o},b.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},b.default.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"})))))))},lo=E.default.div(uo||(uo=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})),ro=E.default.div(mo||(mo=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})),so=E.default.div(ho||(ho=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"])),U),co=E.default.div(go||(go=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"]))),po=E.default.div(fo||(fo=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"])),F,(function(e){return e.theme.colors.neutral50}),(function(e){return e.theme.colors.white}));E.default.div(xo||(xo=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 uo,mo,ho,go,fo,xo,yo,vo,bo=E.default.div(yo||(yo=e.__makeTemplateObject(["\n position: relative;\n display: flex;\n flex-direction: column;\n"],["\n position: relative;\n display: flex;\n flex-direction: column;\n"])));E.default.div(vo||(vo=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 Eo=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?b.default.createElement(Qi,null,b.default.createElement(io,null)):b.default.createElement(Qi,{style:{marginTop:24},"data-category-list-type":r,"data-is-displayed":t},a.map((function(e,n){return b.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)},b.default.createElement(ro,{onClick:function(){i({community:e,isSetToSubMenu:!1})}},b.default.createElement(lo,null,b.default.createElement("img",{alt:"health-tool-icon",src:e.thumbnail||"".concat(l,"/images/avatar.jpg"),style:{width:"24px",height:"24px"}})),b.default.createElement(Wi,null,e.title)))}))):b.default.createElement(so,{className:"top-menu-communities",onClick:c,"data-is-display":"communities"===p},b.default.createElement(co,null),b.default.createElement(po,{"data-popup-type":p,onClick:function(e){e.stopPropagation()}},b.default.createElement(bo,null,o?b.default.createElement("div",{style:{width:"100%",padding:"0 20px"}},b.default.createElement(io,null)):a.map((function(e,n){return b.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},b.default.createElement(ro,{onClick:c},b.default.createElement(lo,{style:{backgroundColor:e.color||d.theme.mbColors.lightGray}},b.default.createElement("img",{alt:e.communitySlug,src:e.thumbnail||"".concat(l,"/images/avatar.jpg"),style:{width:"24px",height:"24px"}})),b.default.createElement(Ft,{style:{fontWeight:d.theme.sizes.fwSemiBold},type:"subtitle-2"},e.title)))})))))},wo=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?b.default.createElement(oo,{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}):b.default.createElement(Eo,{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})},ko=E.default.div(Ro||(Ro=e.__makeTemplateObject(["\n & > div {\n width: 100%;\n margin-bottom: 8px;\n }\n"],["\n & > div {\n width: 100%;\n margin-bottom: 8px;\n }\n"]))),_o=E.default.div(Bo||(Bo=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"]))),Co=E.default.div(jo||(jo=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})),To=E.default.div(Do||(Do=e.__makeTemplateObject([""],[""]))),Lo=E.default.div(Ho||(Ho=e.__makeTemplateObject(["\n padding-right: 16px;\n"],["\n padding-right: 16px;\n"]))),Oo=E.default.div(zo||(zo=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"])),U),So=E.default.div(Uo||(Uo=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"])),F,(function(e){return e.theme.colors.neutral50}),(function(e){return e.theme.colors.white})),Io=E.default.div(Fo||(Fo=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"]))),Ao=E.default.div(Go||(Go=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})),Mo=E.default.div(Yo||(Yo=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})),No=E.default.div(Vo||(Vo=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"]))),Po=E.default.div(Qo||(Qo=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"])));E.default.div(Zo||(Zo=e.__makeTemplateObject(["\n &[data-is-displayed='false'] {\n display: none;\n }\n"],["\n &[data-is-displayed='false'] {\n display: none;\n }\n"])));var Ro,Bo,jo,Do,Ho,zo,Uo,Fo,Go,Yo,Vo,Qo,Zo,Wo,qo,Ko=E.default.div(Wo||(Wo=e.__makeTemplateObject(["\n margin-bottom: 56px;\n margin-top: 18px;\n"],["\n margin-bottom: 56px;\n margin-top: 18px;\n"]))),Xo=E.default.div(qo||(qo=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 b.default.createElement(ko,{style:{marginTop:"16px"}},b.default.createElement("div",null,b.default.createElement(k.default,{height:46})),b.default.createElement("div",null,b.default.createElement(k.default,{height:46})),b.default.createElement("div",null,b.default.createElement(k.default,{height:46})))},Jo=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?b.default.createElement(b.default.Fragment,null,n.map((function(e,n){return b.default.createElement(Ao,{"data-grouped":s,key:e.title,onClick:o},b.default.createElement("a",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://".concat(_[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)},b.default.createElement("div",{style:{display:"flex"}},b.default.createElement("img",{alt:"health-tool-icon",src:e.icon||"/images/avatar.jpg",style:{width:"32px",height:"32px"}})),b.default.createElement("p",null,e.title)))}))):b.default.createElement(b.default.Fragment,null,n.map((function(e,n){return b.default.createElement("a",{key:"tool-"+n},b.default.createElement(Co,{onClick:function(){t(e)},"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://".concat(_[r]).concat(e.link)},b.default.createElement(Lo,null,b.default.createElement("img",{alt:"health-tool-icon",src:e.icon||"".concat(a,"/images/avatar.jpg"),style:{width:"32px",height:"32px"}})),b.default.createElement(To,null,e.title)))}))):null},el=function(e){var n,t,a,i,o=e.isDisplayed,l=e.healthTools,d=e.healthToolsByCategory,c=e.onSelectHealthTool,p=e.isLoading,u=e.basePath,m=e.locale,h=e.isMobile,g=e.onClosePopup,f=e.desktopPopupType,x=e.HEALTH_TOOL_URL_FE,y=e.STATIC_PAGES,v=e.siteType,E=te();return h?b.default.createElement(b.default.Fragment,null,p&&o?b.default.createElement(_o,null,b.default.createElement($o,null)):b.default.createElement(_o,{"data-category-list-type":"main","data-is-displayed":o},(null==d?void 0:d.length)?d.map((function(e,n){var t;return!!(null===(t=e.healthTools)||void 0===t?void 0:t.length)&&b.default.createElement(b.default.Fragment,{key:"category-health-tool-".concat(n)},b.default.createElement(r.Heading,{tag:"h4",fontWeight:"bold",className:"title"},b.default.createElement("span",{dangerouslySetInnerHTML:{__html:e.name}})),b.default.createElement(Jo,{healthTools:e.healthTools.slice(0,4),onSelectHealthTool:c,basePath:u,HEALTH_TOOL_URL_FE:x,locale:m}))})):b.default.createElement(Jo,{healthTools:l,onSelectHealthTool:c,basePath:u,HEALTH_TOOL_URL_FE:x,locale:m}),b.default.createElement(Ko,null,b.default.createElement("a",{href:"".concat(x).concat((null===(n=y[m])||void 0===n?void 0:n.HEALTH_TOOLS)||""),style:{textDecoration:"none"}},b.default.createElement(Mo,{key:"all-health-tools-mobile","data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"".concat(x).concat((null===(t=y[m])||void 0===t?void 0:t.HEALTH_TOOLS)||"")},E("home.navigator.menuItem.allHealthTools"),b.default.createElement(No,null,b.default.createElement("img",{src:"".concat(u,"/svg/chevronRightActive.svg"),style:{width:"16px",height:"16px"},alt:E("home.navigator.menuItem.allHealthTools")}))))))):b.default.createElement(Oo,{className:"top-menu-health-tools",onClick:g,"data-is-display":"tools"===f},b.default.createElement(So,null,b.default.createElement(s.Container,{style:{padding:"0 16px"}},b.default.createElement(Io,{"data-popup-type":f,onClick:function(e){e.stopPropagation()}},b.default.createElement(b.default.Fragment,null,(null==d?void 0:d.length)?d.map((function(e,n){var t;return!!(null===(t=e.healthTools)||void 0===t?void 0:t.length)&&b.default.createElement(Xo,{key:"health-tools-categories-".concat(n)},b.default.createElement(r.Heading,{tag:"h4",as:"h2",fontWeight:"bold"},b.default.createElement("span",{dangerouslySetInnerHTML:{__html:e.name}})),b.default.createElement(Jo,{healthTools:e.healthTools.slice(0,4),onSelectHealthTool:c,basePath:u,HEALTH_TOOL_URL_FE:x,locale:m,isDesktop:!0,isGrouped:!0,onClosePopup:g}))})):b.default.createElement(Jo,{healthTools:l,onSelectHealthTool:c,basePath:u,HEALTH_TOOL_URL_FE:x,locale:m,isDesktop:!0,onClosePopup:g}),b.default.createElement("a",{style:{textDecoration:"none"},href:"".concat(x).concat((null===(a=y[m])||void 0===a?void 0:a.HEALTH_TOOLS)||"")},b.default.createElement(Mo,{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[m])||void 0===i?void 0:i.HEALTH_TOOLS)||"")},E("home.navigator.menuItem.allHealthTools"),b.default.createElement(No,null,b.default.createElement("img",{src:"".concat(u,"/svg/chevronRightActive.svg"),style:{width:"16px",height:"16px"},alt:E("home.navigator.menuItem.allHealthTools")}))))),b.default.createElement(Po,{onClick:g},b.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},b.default.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"})))))))},nl=E.default.div(ll||(ll=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})),tl=E.default.div(rl||(rl=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})),al=E.default.div(sl||(sl=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"])),U),il=E.default.div(dl||(dl=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"]))),ol=E.default.div(cl||(cl=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"])),F,(function(e){return e.theme.colors.neutral50}),(function(e){return e.theme.colors.white}));E.default.div(pl||(pl=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 ll,rl,sl,dl,cl,pl,ul,ml,hl=E.default.div(ul||(ul=e.__makeTemplateObject(["\n position: relative;\n display: flex;\n flex-direction: column;\n"],["\n position: relative;\n display: flex;\n flex-direction: column;\n"])));E.default.div(ml||(ml=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 gl,fl,xl,yl,vl,bl,El,wl,kl,_l,Cl,Tl=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?b.default.createElement(_o,null,b.default.createElement($o,null)):b.default.createElement(_o,{style:{marginTop:24},"data-category-list-type":"main","data-is-displayed":t},a.map((function(e,n){return b.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)},b.default.createElement(tl,{onClick:function(){i(e)}},b.default.createElement(nl,null,b.default.createElement("img",{alt:"health-tool-icon",src:e.icon||"".concat(l,"/images/avatar.jpg"),style:{width:"24px",height:"24px"}})),b.default.createElement(To,null,e.title)))}))):b.default.createElement(al,{className:"top-menu-health-tools",onClick:s,"data-is-display":"tools"===p},b.default.createElement(il,null),b.default.createElement(ol,{"data-popup-type":p,onClick:function(e){e.stopPropagation()}},b.default.createElement(hl,null,o?b.default.createElement("div",{style:{width:"100%",padding:"0 20px"}},b.default.createElement($o,null)):a.map((function(e,n){return b.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()}},b.default.createElement(tl,{onClick:s},b.default.createElement(nl,null,b.default.createElement("img",{alt:e.title,src:e.icon||"/images/avatar.jpg",style:{width:"24px",height:"24px"}})),b.default.createElement(Ft,{style:{fontWeight:d.theme.sizes.fwSemiBold},type:"subtitle-2"},e.title)))})))))},Ll=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?b.default.createElement(el,{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}):b.default.createElement(Tl,{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})},Ol=E.default.div(gl||(gl=e.__makeTemplateObject(["\n & > div {\n width: 100%;\n min-height: 109px;\n }\n"],["\n & > div {\n width: 100%;\n min-height: 109px;\n }\n"]))),Sl=E.default.div(fl||(fl=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})),Il=function(){return b.default.createElement(b.default.Fragment,null,b.default.createElement(Ol,null,b.default.createElement("div",null,b.default.createElement(k.default,{height:109})),b.default.createElement("div",null,b.default.createElement(k.default,{height:109})),b.default.createElement("div",null,b.default.createElement(k.default,{height:109})),b.default.createElement("div",null,b.default.createElement(k.default,{height:109})),b.default.createElement("div",null,b.default.createElement(k.default,{height:109})),b.default.createElement("div",null,b.default.createElement(k.default,{height:109}))))},Al=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?b.default.createElement(Sl,{onClick:function(){r&&r(t)},className:l,"data-is-active":i,"data-card-position":o},b.default.createElement("img",{src:n.thumbnail,style:{objectFit:"contain",height:"55px",width:"55px"},alt:"category-menu-card"}),b.default.createElement(s.Text,{type:"bold",size:"label2"},n.name)):b.default.createElement(Il,null)},Ml=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=te(),g=n.childCates,f=n.categoryName;return b.default.createElement(Zn,{"data-type":"sub-level","data-with-search-input":!1},b.default.createElement(qn,null,b.default.createElement(Yi,{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}),b.default.createElement(Qn,{"data-site-type":u},b.default.createElement(r.Button,{onClick:m,className:"category-button",size:"md",theme:u},b.default.createElement($n,null,b.default.createElement("div",null,h("home.menu.category.view",{category:f})),"helloSites"===u?b.default.createElement("img",{src:W,style:{width:"16px",height:"16px"},className:"button-image",alt:h("home.menu.category.view",{category:f})}):b.default.createElement("svg",{width:"25",height:"24",viewBox:"0 0 25 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},b.default.createElement("path",{d:"M7 12H18M18 12L13.4118 8M18 12L13.4118 16",stroke:"white",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"})))))))},Nl=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=te(),f=n.useState([]),x=f[0],y=f[1],v=n.useState(!1),E=v[0],k=v[1],_=a.communityId,C=a.title;return n.useEffect((function(){k(!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?he(p,c,{communityId:_}):(r=c,s={communityId:_},(r||"https://together.hellohealthgroup.com/")+"api/v1/"+w.default(I,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(ie),y(t)),k(!1),[2]}var r,s}))}))}),[a]),b.default.createElement(Zn,{"data-type":"sub-level","data-with-search-input":!1},b.default.createElement(qn,null,b.default.createElement(wo,{isDisplayed:!0,locale:p,communities:x,type:"sub",onSelectCommunity:o,isLoading:E,basePath:s,TOGETHER_URL_FE:u,togetherApiDomain:c,siteType:m,isMobile:h,desktopPopupType:"none",onClosePopup:void 0}),b.default.createElement(Qn,null,b.default.createElement(r.Button,{onClick:i,className:"category-button",size:"md"},b.default.createElement($n,null,b.default.createElement("div",null,g("home.menu.category.view",{category:C})),b.default.createElement("img",{src:W,style:{width:"16px",height:"16px"},className:"button-image",alt:g("home.menu.category.view",{category:C})}))))))},Pl={categories:{icon:b.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},b.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"}),b.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:b.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},b.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"}),b.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"}),b.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"}),b.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:b.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},b.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"}),b.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}},Rl=function(n){var t,a,i,o=n.item,l=n.isActive,r=n.isGoingForward,s=n.onServiceClicked;return b.default.createElement("div",{style:{display:"flex",flex:1,flexDirection:"column",alignItems:"center",justifyContent:"center"}},b.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)}},b.default.createElement("div",{style:e.__assign({display:"flex",alignItems:"center",justifyContent:"center",height:48,width:48,flexShrink:0,backgroundColor:null!==(a=null===(t=Pl[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=Pl[o.id])||void 0===i?void 0:i.icon)),b.default.createElement(Ft,{type:"subtitle-3",color:l&&d.theme.mbColors.pink,style:{fontWeight:d.theme.sizes.fwSemiBold}},o.name),l&&(r?b.default.createElement(St,{style:{animationDuration:"0.2s",animationName:"menuLeftToRightTrans"}}):b.default.createElement(St,{style:{animationDuration:"0.2s",animationName:"menuRightToLeftTrans"}})))},Bl=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 b.default.createElement("div",{style:{display:"flex",alignItems:"flex-start",justifyContent:"space-evenly"}},t.map((function(e,n){return b.default.createElement(Rl,{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})})))},jl=function(e){var t=e.isMobile,a=void 0!==t&&t,i=e.isMobileMenuOpened,o=void 0===i?void 0:i,c=e.categories,p=e.healthTools,u=e.healthToolsByCategory,m=e.careSpecialties,h=e.togetherCommunities,g=e.spotlightsList,f=e.closePopup,x=e.popupType,y=void 0===x?"none":x,v=e.onMobileMenuClick,E=e.footer,w=e.care.CARE_URL_FE,k=e.discover,_=k.discoverApiDomain,T=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=te(),V=n.useState(!1),Q=V[0],Z=V[1],W=n.useState(c),q=W[0],K=W[1],X=n.useState(void 0),$=X[0],J=X[1],ee=n.useState(void 0),ne=ee[0],ae=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],fe=me[1],xe=function(){$&&(window.location.href=$.permalink),ke(),f&&f()},ye=function(){$&&(window.location.href="".concat(S,"/").concat($.communitySlug)),ke(),f&&f()},ve=function(e){e.childCates&&e.childCates.length>0?(Z(!0),J(e)):(window.location.href="helloSites"===D?T+e.permalink:M+e.permalink,ke(),f&&f())},be=function(e){var n=e.community;e.isSetToSubMenu?(Z(!0),J(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+ge({type:"DOCTOR",specialtySlug:e.slug,locale:j}),null==f||f()},ke=function(){J(void 0),Z(!1)},_e=function(e){de(F.find((function(n){return n.id===e})))},Ce=C[j||"en-PH"]||{};return n.useEffect((function(){var e;ae("categories"===se.id?(null===(e=null==$?void 0:$.childCates)||void 0===e?void 0:e.length)>0&&b.default.createElement(Ml,{selectedMenuMainItem:$,spotlightsList:[],locale:j,basePath:H,callApiHandler:z,discoverApiDomain:_,DISCOVER_URL_FE:T,MARRY_BABY_FE:M,onSelectCategory:ve,isMobile:a,siteType:D,onCategoryClick:xe}):"together"===se.id&&$&&b.default.createElement(Nl,{selectedMenuMainItem:$,onCommunityClick:ye,onSelectCommunity:be,TOGETHER_URL_FE:S,basePath:H,callApiHandler:z,locale:j,togetherApiDomain:O,siteType:D,isMobile:a}))}),[$,se]),n.useEffect((function(){ue(!0)}),[]),n.useEffect((function(){!he&&o&&fe(!0)}),[o]),n.useEffect((function(){K(c)}),[c]),a?b.default.createElement(b.default.Fragment,null,b.default.createElement(Yn,{id:pe?"":"categories-menu","data-opened":o||(he?o:"undefined"),key:pe?"t":"f"},b.default.createElement(Vn,{"data-opened":o,"data-type":"category","data-is-sub-category-opened":Q},b.default.createElement(on,{siteType:D,locale:j,isDisplayed:!0,searchPlaceholder:"",statics:{DISCOVER_URL_FE:T,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?c.filter((function(n){return n.categoryName.toLowerCase().search(e.toLowerCase())>-1||n.slug.replace("-","").toLowerCase().search(e.replace(" ","").toLowerCase())>-1})):c)},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}),b.default.createElement(Zn,null,b.default.createElement(qn,null,b.default.createElement(Kn,null,b.default.createElement(Xn,{"data-hide-on-search":oe,"data-is-sub-category-opened":Q},"helloSites"===D?b.default.createElement(b.default.Fragment,null,b.default.createElement(It,{onClick:function(){window.location.href="".concat(l.getCurrentBaseUrl(j),"/search")}},b.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",autoFocus:!1,onFocus:function(e){e.preventDefault()},value:"",displayIcon:b.default.createElement("a",{"data-event-category":"Search Button","data-event-action":"Click"},b.default.createElement(At,null))})),b.default.createElement(r.Heading,{tag:"h5",color:d.theme.colors.gray800},Y("menu.categories.title")),b.default.createElement(Wn,{"data-card-array-no-margin-style":!0},F.map((function(e,n){return b.default.createElement(Al,{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"})})))):b.default.createElement(Bl,{menuItems:F,activeItem:se,onServiceClicked:_e})),b.default.createElement(Yi,{isDisplayed:"categories"===se.id,locale:j,basePath:H,callApiHandler:z,onClosePopup:f,discoverApiDomain:_,DISCOVER_URL_FE:T,MARRY_BABY_FE:M,type:"main",onSelectCategory:ve,categories:q,spotlightsList:g,isLoading:!1,isMobile:a,siteType:D,desktopPopupType:y}),b.default.createElement(Ll,{isDisplayed:"healthTools"===se.id,locale:j,basePath:H,discoverApiDomain:_,HEALTH_TOOL_URL_FE:R,onSelectHealthTool:Ee,onClosePopup:f,desktopPopupType:y,healthTools:p,healthToolsByCategory:u,isLoading:!1,isMobile:a,siteType:D,STATIC_PAGES:P}),"care"===se.id&&b.default.createElement(Ua,{locale:j,basePath:H,onSelectCareSpecialty:we,onClosePopup:f,careSpecialties:m,isLoading:!1,siteType:D,isMobile:a,desktopPopupType:y,CARE_URL_FE:w}),b.default.createElement(wo,{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})),E)))),Q&&b.default.createElement(Yn,{"data-sub-level-opened":Q||(he?Q:"undefined")},b.default.createElement(Vn,{"data-type":"sub-category","data-is-sub-category-opened":Q},b.default.createElement(on,{siteType:D,locale:j,isDisplayed:o&&Q,searchPlaceholder:"",menuItems:void 0,statics:{DISCOVER_URL_FE:T,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==$?void 0:$.categoryName:null==$?void 0:$.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))):b.default.createElement(b.default.Fragment,null,b.default.createElement(Yi,{isDisplayed:"categories"===y,locale:j,basePath:H,callApiHandler:z,discoverApiDomain:_,DISCOVER_URL_FE:T,MARRY_BABY_FE:M,type:"main",desktopPopupType:y,onSelectCategory:ve,onClosePopup:f,categories:q,spotlightsList:g,isLoading:!1,isMobile:a,siteType:D}),b.default.createElement(Ll,{isDisplayed:"tools"===y,locale:j,basePath:H,discoverApiDomain:_,HEALTH_TOOL_URL_FE:R,desktopPopupType:y,onSelectHealthTool:Ee,onClosePopup:f,healthToolsByCategory:u,healthTools:p,isLoading:!1,isMobile:a,siteType:D,STATIC_PAGES:P}),b.default.createElement(wo,{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&&b.default.createElement(Ua,{locale:j,basePath:H,onSelectCareSpecialty:we,careSpecialties:m,isLoading:!1,desktopPopupType:y,siteType:D,isMobile:a,CARE_URL_FE:w,onClosePopup:f}))},Dl=E.default.div(xl||(xl=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"])),d.MediaQueries.mbDown,d.MediaQueries.mbUp,(function(e){return e.theme.colors.gray800}),d.MediaQueries.mbDown,d.MediaQueries.mbUp,(function(e){return e.theme.colors.gray600}),d.MediaQueries.mbDown,d.MediaQueries.mbUp),Hl=E.default.div(yl||(yl=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"])),d.MediaQueries.mbDown,d.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 ":""})),zl=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=te();n.useEffect((function(){document.body.classList.toggle("noscroll",i)}),[i]);return b.default.createElement(l.Popup,{type:"confirm",isOpen:i,closeIcon:b.default.createElement("img",{src:q,style:{width:24,height:24},alt:"close-icon"}),onClose:o},b.default.createElement(Dl,null,"helloSites"===p&&b.default.createElement("img",{className:"cancle-img",src:"".concat(d,"/images/arrowDoor.svg"),alt:"close-account"}),b.default.createElement("h2",null,u("helloSites"===p?"logout.popup.ask1":"logout.popup.ask.mb")),b.default.createElement("p",null,u("logout.popup.ask2")),b.default.createElement(Hl,{siteType:p},b.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")),b.default.createElement(r.Button,{className:"cancel-button",color:"primary",size:"lg",onClick:o},u("logout.popup.button.cancel")))))},Ul=E.default.div(vl||(vl=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}),d.MediaQueries.mbDown,d.MediaQueries.mbUp,d.MediaQueries.mbDown,d.MediaQueries.mbUp,d.MediaQueries.mbUp,(function(e){return e.theme.colors.gray200}),d.MediaQueries.mbDown,d.MediaQueries.mbUp),Fl=E.default.div(bl||(bl=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"])),d.MediaQueries.mbUp,d.MediaQueries.mbDown),Gl=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 b.default.createElement(b.default.Fragment,null,b.default.createElement(Ul,{"data-open":o,"data-type":t,"data-animation":d,"data-target":c,id:p,className:u},b.default.createElement("div",{className:"popup-content"},!!a&&b.default.createElement("div",{className:"close-button",onClick:l},a),r)),b.default.createElement(Fl,{"data-type":t,"data-open":o,onClick:l,id:p?"wrapper-".concat(p):void 0,className:"".concat(u||"","-wrapper")}))},Yl=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,f=e.isUserProfileNavigatorMenuHidden,x=e.isMyHealthEnabled,y=void 0!==x&&x,v=e.togetherApiDomain,E=function(e){h?h("/".concat(e)):n&&(window.location.href="".concat(n).concat(a,"/").concat(e))},w=function(e){E(e),c()};return b.default.createElement(Gl,{isOpen:i,type:"profile",enableAnimation:!1,targetAvatar:l,onClose:c},b.default.createElement(g.TranslationsProvider,{locale:o},b.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(){E("profile"),c()},userProfileRouterPush:h,isUserProfileNavigatorMenuHidden:f,isMyHealthEnabled:y,togetherApiDomain:v,locale:o})))},Vl=E.default.div(El||(El=e.__makeTemplateObject(["\n position: relative;\n"],["\n position: relative;\n"]))),Ql=E.default.div(wl||(wl=e.__makeTemplateObject([""],[""]))),Zl=E.default.div(kl||(kl=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"]))),Wl=E.default.div(_l||(_l=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})),ql=E.default.div(Cl||(Cl=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"]))),Kl=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 b.default.createElement(b.default.Fragment,null,b.default.createElement(Vl,null,b.default.createElement(Ql,{onClick:function(){return g((function(e){return!e}))}},!!a&&a),b.default.createElement(Zl,{"data-is-open":h,style:c,"data-show-indicator":u},t.map((function(e,n){return b.default.createElement(Wl,{key:n,"data-selected":r&&i===e.value,onClick:function(n){i!==e.value&&(o(e.value),g((function(e){return!e}))),n.stopPropagation()}},b.default.createElement(s.Text,{size:"p3"},e.label),r&&i===e.value&&b.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&&b.default.createElement(ql,{onClick:function(){return g(!1)}}))},Xl=function(e){var n="undefined"!=typeof window&&document.querySelector(e),t=n&&window.getComputedStyle(n);return t&&t.getPropertyValue("display")},$l=function(a){var i,o=a.siteType,l=a.MetaPageTitle,r=a.MetaPageDescription,s=a.MetaPageImage,d=a.footerInfo,c=a.children,p=a.ssrMenuContent,u=void 0===p?{}:p,m=u.categories,h=void 0===m?[]:m,g=u.healthTools,f=void 0===g?[]:g,x=u.healthToolsByCategory,y=void 0===x?[]:x,v=u.careSpecialties,E=void 0===v?[]:v,k=u.togetherCommunities,L=void 0===k?[]:k,I=u.spotlightsList,A=void 0===I?[]:I,M=a.SEOData,N=void 0===M?{}:M,P=a.UP_BASEPATH,R=void 0===P?O:P,D=a.isStatic,H=void 0!==D&&D,z=a.seoType,U=void 0===z?"website":z,F=a.isMobile,G=a.isMyHealthEnabled,Y=void 0!==G&&G,V=a.logoutHandlers,Q=V.isLogoutPopupOpened,W=V.callPostLogOutApi,q=V.onClosePopup,K=V.onLogout,X=a.marryBaby,$=void 0===X?{tone:"white",marryBabyApiDomain:"",socialLinks:{facebookLink:"",instagramLink:"",linkedinLink:"",twitterLink:"",youtubeLink:"",zaloLink:""}}:X,J=$.tone,ee=void 0===J?"white":J,ne=$.marryBabyApiDomain,ie=$.socialLinks,he=void 0===ie?{}:ie,ge=he.facebookLink,ye=void 0===ge?"":ge,ve=he.instagramLink,be=void 0===ve?"":ve,Ee=he.linkedinLink,we=void 0===Ee?"":Ee,ke=he.twitterLink,_e=void 0===ke?"":ke,Ce=he.youtubeLink,Te=void 0===Ce?"":Ce,Le=he.zaloLink,Oe=void 0===Le?"":Le,Se=a.statics,Ie=void 0===Se?{LOCALE_SPECS:C,STATIC_PAGES:T}:Se,Ae=Ie.DISCOVER_URL_FE,Me=Ie.TOGETHER_URL_FE,Ne=Ie.MARRY_BABY_FE,Pe=Ie.HOME_PAGE_URL,Re=Ie.HEALTH_TOOL_URL_FE,Be=Ie.CARE_URL_FE,je=Ie.LOCALE_SPECS,De=void 0===je?C:je,He=Ie.STATIC_PAGES,ze=void 0===He?T:He,Ue=a.sso,Fe=void 0===Ue?{}:Ue,Ge=Fe.dispatchLogout,Ye=Fe.SSO_URL,Ve=a.together,Qe=void 0===Ve?{TOGETHER_MENU_COUNTRIES_ENABLED:["id-ID","vi-VN"],ENABLE_COMMUNITY_PROFILE_MENU_LOCALES:["id-ID","vi-VN"],togetherApiDomain:""}:Ve,Ze=Qe.TOGETHER_MENU_COUNTRIES_ENABLED,We=Qe.ENABLE_COMMUNITY_PROFILE_MENU_LOCALES,qe=Qe.togetherApiDomain,Ke=a.care,Xe=void 0===Ke?{CARE_MENU_COUNTRIES_ENABLED:["vi-VN","id-ID","en-PH"],ENABLE_CARE_PROFILE_MENU_LOCALES:[],menuActionType:"redirectOnly",careApiDomain:""}:Ke,$e=Xe.CARE_MENU_COUNTRIES_ENABLED,Je=Xe.ENABLE_CARE_PROFILE_MENU_LOCALES,en=Xe.careApiDomain,nn=a.discover,tn=(void 0===nn?{discoverApiDomain:""}:nn).discoverApiDomain,an=a.activeMenuService,ln=void 0===an?"categories":an,rn=a.basePath,sn=a.isAmp,dn=void 0!==sn&&sn,cn=a.nextHead,pn=a.routerPathname,un=a.routerQuery,mn=a.routerAsPath,hn=a.locale,gn=a.userState,fn=a.callApiHandler,xn=a.userProfileRouterPush,yn=a.onTopBarAppears,vn=a.forcedCanonicalUrl,bn=a.isUserProfileNavigatorMenuHidden,En=a.sitewideBanner,wn=a.sitewideBannerShown,kn=void 0===wn||wn,_n=a.sponsorComponent,Cn=a.languageOptions,Tn=a.isSearchBarDisplay,Ln=a.ampSubBar,On=a.isSearchIconDisplayed,Sn=void 0===On||On,In=a.enabledExperimentalCareHeader,An=void 0!==In&&In,Mn=a.onCareHeaderClick,Nn=a.dueDatePopup,Pn=a.welcomePopup,Rn=a.ampNextArticle,Bn=a.usingDefaultHead,jn=void 0===Bn||Bn,Dn=a.acceptCookiePopup,Hn=a.seoCustom,zn=a.hasStickyBottomBar,Un=void 0===zn||zn,Fn="boolean"==typeof Tn?Tn:!F,Gn=te(),Yn=De[hn||"en-PH"]||{},Vn=n.useMemo((function(){var e;return(null===(e=mn.split("?"))||void 0===e?void 0:e[0])||""}),[mn]),Qn=n.useMemo((function(){return"".concat(rn).concat("/"===Vn.slice(-1)?Vn:"".concat(Vn,"/"))}),[Vn]),Zn=n.useMemo((function(){return(null==Cn?void 0:Cn.find((function(e){return e.value!==Qn})))||null}),[Cn,Qn]),Wn=n.useState(d),qn=Wn[0],Kn=Wn[1],Xn=n.useState(h),$n=Xn[0],Jn=Xn[1],et=n.useState(f),nt=et[0],tt=et[1],at=n.useState(y),it=at[0],ot=at[1],lt=n.useState(E),rt=lt[0],st=lt[1],dt=n.useState(L),ct=dt[0],pt=dt[1],ut=n.useState(A),mt=ut[0],ht=ut[1],gt=Ae||"https://".concat(_[hn])||"",ft="undefined"!=typeof window,xt=ft&&document.querySelector("#categories-menu"),yt=xt&&ft&&window.getComputedStyle(xt),vt=yt&&yt.getPropertyValue("left"),bt=n.useRef("0px"===vt),Et=n.useState(bt.current),wt=Et[0],kt=Et[1],_t=Xl(".top-menu-categories"),Ct=Xl(".top-menu-health-tools"),Tt=Xl(".top-menu-communities"),Lt=Xl(".top-menu-care-specialties"),Ot=n.useState(_t&&"none"!==_t?"categories":Ct&&"none"!==Ct?"tools":Tt&&"none"!==Tt?"communities":Lt&&"none"!==Lt?"care":"none"),St=Ot[0],It=Ot[1],At=n.useMemo((function(){var e,n;return b.default.createElement(Ta,null,null===(n=null===(e=hn.split("-"))||void 0===e?void 0:e[0])||void 0===n?void 0:n.toUpperCase(),b.default.createElement("img",{src:"language"===St?"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:Gn("home.navigator.menuItem.language")}))}),[St,hn]),Mt=gn.userInfo,Nt=gn.isLoggedIn,Rt=function(e){St!==e&&(It(e),kt(!0)),St===e&&(It("none"),kt(!1))},Bt=function(){kt(!1),It("none")},jt=function(e,n){"Enter"===e.key&&(window.location.href="".concat(Pe,"/search/?s=").concat(n))},Dt=null===(i=null==De?void 0:De[hn])||void 0===i?void 0:i.SITE_NAME_FORMATTED,Ht=[{name:Gn("home.navigator.menuItem.discover"),id:"categories",link:"./posts/abc",niceName:"",thumbnail:t.img$2,isDisplayed:!0},{name:Gn("home.navigator.menuItem.healthTools"),id:"healthTools",link:"./en",thumbnail:t.img$3,isDisplayed:!0}];(null==Ze?void 0:Ze.includes(hn))&&Ht.push({name:Gn("home.navigator.menuItem.helloTogether"),id:"together",link:Me+"/",thumbnail:t.img$5,isDisplayed:!0}),(null==$e?void 0:$e.includes(hn))&&Ht.push({name:Gn("home.navigator.menuItem.helloCare"),id:"care",link:"/care",thumbnail:t.img$4,isDisplayed:!0}),n.useEffect((function(){document.documentElement.style.overflow=wt?"hidden":""}),[wt]);var zt=!!_n;n.useEffect((function(){Nt&&("first_login"===(null==un?void 0:un.source)?(null==Mt?void 0:Mt.email)&&""!==(null==Mt?void 0:Mt.email)?window.insider_object={user:e.__assign({uuid:null==Mt?void 0:Mt.id,email:null==Mt?void 0:Mt.email,gdpr_optin:!0,email_optin:!0,sign_up:!0},(null==Mt?void 0:Mt.name)?{name:null==Mt?void 0:Mt.name}:{})}:window.insider_object={user:e.__assign({uuid:null==Mt?void 0:Mt.id,sign_up:!0},(null==Mt?void 0:Mt.name)?{name:null==Mt?void 0:Mt.name}:{})}:(null==Mt?void 0:Mt.email)&&""!==(null==Mt?void 0:Mt.email)?window.insider_object={user:e.__assign({uuid:null==Mt?void 0:Mt.id,email:null==Mt?void 0:Mt.email,gdpr_optin:!0,email_optin:!0,log_in:!0},(null==Mt?void 0:Mt.name)?{name:null==Mt?void 0:Mt.name}:{})}:window.insider_object={user:e.__assign({uuid:null==Mt?void 0:Mt.id,log_in:!0},(null==Mt?void 0:Mt.name)?{name:null==Mt?void 0:Mt.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 qn?[3,3]:[4,fetch("helloSites"===o?ue(hn,tn):(i=ne,(i||"https://staging.marrybaby.vn/")+"wp-json/api/"+w.default(B,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&&!qn&&Kn("helloSites"===o?n.data||{}:n.data.footers||[]),[2]}var i,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 h&&0!==(null==h?void 0:h.length)||0!==(null==$n?void 0:$n.length)?[3,3]:(o={},[4,fetch(de(hn,tn))]);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(oe),0===$n.length&&Jn(i)),[2]}}))})),e.__awaiter(void 0,void 0,void 0,(function(){var n,t,a,i,l,r,s,d,c;return e.__generator(this,(function(e){switch(e.label){case 0:return A&&0!==(null==A?void 0:A.length)||"helloSites"!==o||0!==(null==mt?void 0:mt.length)?[3,3]:(l={},[4,fetch(pe(hn,tn,{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&&(i=null===(c=null===(d=t.data)||void 0===d?void 0:d.articles)||void 0===c?void 0:c.map(fe).filter(xe).slice(0,4),0===mt.length&&ht(i)),[2]}}))})),e.__awaiter(void 0,void 0,void 0,(function(){var n,t,a,i,l,r,s;return e.__generator(this,(function(d){switch(d.label){case 0:return(null==f?void 0:f.length)||(null==nt?void 0:nt.length)||(null==y?void 0:y.length)||(null==y?void 0:y.length)?[3,6]:(r={},"helloSites"!==o?[3,2]:[4,fetch(ce(hn,tn))]);case 1:return i=d.sent(),[3,4];case 2:return[4,fetch((c=ne,(c||"https://staging.marrybaby.vn/")+"wp-json/api/"+w.default(j,e.__assign({},p))))];case 3:i=d.sent(),d.label=4;case 4:return[4,i.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"===o?(l=t.data.map(re),0===nt.length&&ot(l)):(l=t.data.map(le),0===nt.length&&tt(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 E&&0!==(null==E?void 0:E.length)||!$e.includes(hn)||0!==(null==rt?void 0:rt.length)?[3,3]:(o={},[4,fetch(se(hn,en))]);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===rt.length&&st(i)),[2]}}))})),e.__awaiter(void 0,void 0,void 0,(function(){var n,t,a,i,l,r,s,d,c;return e.__generator(this,(function(p){switch(p.label){case 0:return L&&0!==(null==L?void 0:L.length)||!Ze.includes(hn)||0!==(null==ct?void 0:ct.length)?[3,3]:(l={},[4,fetch("helloSites"===o?me(hn,qe):(u=qe,(u||"https://together.hellohealthgroup.com/")+"api/v1/"+w.default(S,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&&(i=(null===(c=null===(d=null==t?void 0:t.data)||void 0===d?void 0:d.communities)||void 0===c?void 0:c.map(ae))||[],0===ct.length&&pt(i)),[2]}var u,m}))}))}),[]);var Ut=b.default.createElement(Yl,{locale:hn,UP_BASEPATH:R,SSO_URL:Ye,userProfileRouterPush:xn,dispatchLogout:Ge,isOpen:"profile"===St,isMyHealthEnabled:Y,ENABLE_CARE_PROFILE_MENU_LOCALES:Je,ENABLE_COMMUNITY_PROFILE_MENU_LOCALES:We,closePopup:Bt,userInfo:Mt,siteType:o,isUserProfileNavigatorMenuHidden:bn,togetherApiDomain:qe}),Ft=dn&&{"next-page-hide":""};return b.default.createElement(Z,{SEOData:e.__assign({SEOTitle:l,SEOImage:s,SEODescription:r,siteName:Dt,seoType:U},N),isAmp:dn,locale:hn,routerPathname:pn,routerQuery:un,nextHead:cn,siteType:o,forcedCanonicalUrl:vn,userId:null==Mt?void 0:Mt.id,usingDefaultHead:jn,seoCustom:Hn},b.default.createElement(zl,{basePath:rn,callPostLogOutApi:W,openLogoutPopup:Q,onCloseHandler:q,onLogoutHandler:K,siteType:o}),Nn,Pn,Dn,F?b.default.createElement(b.default.Fragment,null,b.default.createElement(ka,null,b.default.createElement("section",e.__assign({className:dn?"amp-header":void 0,"next-page-replace":"hhg-navigator","amp-fx":"float-in-top"},Ft),b.default.createElement(on,{siteType:o,statics:{DISCOVER_URL_FE:gt,SSO_URL:Ye,HOME_PAGE_URL:Pe,MARRY_BABY_FE:Ne,CARE_URL_FE:Be},marryBaby:{tone:ee},menuItems:Ht,menu:dn?void 0:b.default.createElement(jl,{key:"mobile-menu-popup",menuItems:Ht,siteType:o,isMobileMenuOpened:"categories"===St,categories:$n,healthTools:nt,healthToolsByCategory:it,careSpecialties:rt,togetherCommunities:ct,spotlightsList:mt,onMobileMenuClick:Rt,isMobile:F,closePopup:Bt,footer:b.default.createElement(wa,{locale:hn,isMobile:F,basePath:rn,isAmp:dn,footerInfo:qn,type:"mini",siteType:o,marryBabySocialLinks:{facebookLink:ye,instagramLink:be,linkedinLink:we,twitterLink:_e,youtubeLink:Te,zaloLink:Oe}}),locale:hn,callApiHandler:fn,basePath:rn,together:{TOGETHER_MENU_COUNTRIES_ENABLED:Ze,togetherApiDomain:qe||ne,TOGETHER_URL_FE:Me},care:{CARE_MENU_COUNTRIES_ENABLED:$e,careApiDomain:en,CARE_URL_FE:Be},discover:{discoverApiDomain:tn,DISCOVER_URL_FE:gt},activeMenuService:ln,statics:{DISCOVER_URL_FE:gt,HOME_PAGE_URL:Pe,HEALTH_TOOL_URL_FE:Re,MARRY_BABY_FE:Ne,TOGETHER_URL_FE:Me,STATIC_PAGES:ze},marryBaby:{tone:ee},routerAsPath:mn,popupType:"none",sso:{SSO_URL:Ye}}),profileMenu:Ut,type:"home",currentPopupType:St,isMobile:F,isLoginButtonDisplayed:!0,onMenuClick:Rt,searchPlaceholder:Gn("home.search",{site:"helloSites"===o?null==Yn?void 0:Yn.SITE_NAME:"Marry Baby"}),onTopBarAppears:function(e){yn&&yn(e)},isSearchBarDisplay:Fn,onSearchKeyPress:jt,isStatic:dn||H,sponsorComponent:_n,locale:hn,userInfo:gn.userInfo,basePath:rn,isAmp:dn,isDisplayed:!0,isInit:!1,onSearchChange:void 0,openPopup:void 0,routerAsPath:mn,title:"",sitewideBanner:En,sitewideBannerShown:kn,isSearchIconDisplayed:Sn,enabledExperimentalCareHeader:An,languageMenu:void 0!==Cn&&Cn.length>1?b.default.createElement(b.default.Fragment,null,2===Cn.length&&Zn?b.default.createElement(La,{"data-is-active":!0,href:(null==Zn?void 0:Zn.value)||"#"},null==Zn?void 0:Zn.label):b.default.createElement(Kl,{options:Cn,selected:Qn,label:At,onChange:function(e){"undefined"!=typeof window&&(window.location.href=e)},style:{width:100},showSelected:!0,showIndicator:!1})):void 0}),void 0!==Ln&&b.default.createElement(b.default.Fragment,null,Ln)),dn?b.default.createElement(Ca,{className:"root-container","data-menu-opened":bt.current,"data-sponsored":zt,"data-is-mobile":F,"data-sitewide":!!En},c,b.default.createElement(wa,{isAmp:dn,isMobile:F,locale:hn,basePath:rn,footerInfo:qn,type:"main",siteType:o,marryBabySocialLinks:{facebookLink:ye,instagramLink:be,linkedinLink:we,twitterLink:_e,youtubeLink:Te,zaloLink:Oe},ampNextArticle:Rn,routerQuery:un})):b.default.createElement(_a,{className:"root-container","data-menu-opened":bt.current,"data-sponsored":zt,"data-is-mobile":F,"data-sitewide":!!En,hasStickyBottomBar:Un},b.default.createElement(b.default.Fragment,null,c,b.default.createElement(wa,{isAmp:dn,isMobile:F,locale:hn,basePath:rn,footerInfo:qn,type:"main",siteType:o,marryBabySocialLinks:{facebookLink:ye,instagramLink:be,linkedinLink:we,twitterLink:_e,youtubeLink:Te,zaloLink:Oe},ampNextArticle:Rn,routerQuery:un})))),dn&&b.default.createElement(Pt,{locale:hn,categoriesSSR:h,healthToolsSSR:y,spotlightsSSR:A,serviceUrls:{TOGETHER_URL_FE:Me,CARE_URL_FE:Be,DISCOVER_URL_FE:gt},together:{TOGETHER_MENU_COUNTRIES_ENABLED:Ze,ENABLE_COMMUNITY_PROFILE_MENU_LOCALES:We,togetherApiDomain:qe},care:{CARE_MENU_COUNTRIES_ENABLED:$e,ENABLE_CARE_PROFILE_MENU_LOCALES:Je,careApiDomain:en},basePath:rn,searchPlaceholder:Gn("home.search",{site:"helloSites"===o?null==Yn?void 0:Yn.SITE_NAME:"Marry Baby"})})):b.default.createElement(b.default.Fragment,null,b.default.createElement(on,{siteType:o,menuItems:Ht,marryBaby:{tone:ee},locale:hn,currentPopupType:St,onSearchKeyPress:jt,openPopup:function(e){St!==e&&It(e),St===e&&It("none")},isMobile:F,isLoginButtonDisplayed:!0,isSearchBarDisplay:!dn&&Fn,searchPlaceholder:Gn("home.search",{site:"helloSites"===o?null==Yn?void 0:Yn.SITE_NAME:"Marry Baby"}),sitewideBannerShown:kn,statics:{DISCOVER_URL_FE:gt,SSO_URL:Ye,HOME_PAGE_URL:Pe,MARRY_BABY_FE:Ne,CARE_URL_FE:Be},menu:b.default.createElement(jl,{menuItems:Ht,siteType:o,isMobile:F,popupType:St,closePopup:function(){It("none")},categories:$n,healthTools:nt,healthToolsByCategory:it,careSpecialties:rt,togetherCommunities:ct,spotlightsList:mt,locale:hn,callApiHandler:fn,basePath:rn,together:{TOGETHER_MENU_COUNTRIES_ENABLED:Ze,togetherApiDomain:qe,TOGETHER_URL_FE:Me},care:{careApiDomain:en,CARE_MENU_COUNTRIES_ENABLED:$e,CARE_URL_FE:Be},discover:{discoverApiDomain:tn,DISCOVER_URL_FE:gt},statics:{DISCOVER_URL_FE:gt,HOME_PAGE_URL:Pe,HEALTH_TOOL_URL_FE:Re,MARRY_BABY_FE:Ne,TOGETHER_URL_FE:Me,STATIC_PAGES:ze},activeMenuService:ln,marryBaby:{tone:ee},routerAsPath:mn,footer:void 0,isMobileMenuOpened:void 0,sso:{SSO_URL:Ye},onMobileMenuClick:void 0}),profileMenu:Ut,userInfo:gn.userInfo,sponsorComponent:_n,type:"home",basePath:rn,isAmp:dn,isDisplayed:!0,isInit:!1,onSearchChange:void 0,isStatic:!1,routerAsPath:mn,title:"",onMenuClick:void 0,onTopBarAppears:void 0,sitewideBanner:En,languageMenu:void 0!==Cn&&Cn.length>1?b.default.createElement(b.default.Fragment,null,2===Cn.length&&Zn?b.default.createElement(La,{"data-is-active":!0,href:(null==Zn?void 0:Zn.value)||"#"},null==Zn?void 0:Zn.label):b.default.createElement(Kl,{options:Cn,selected:Qn,label:At,onChange:function(e){"undefined"!=typeof window&&(window.location.href=e)},style:{width:100},showSelected:!0,showIndicator:!1})):void 0,enabledExperimentalCareHeader:An,onCareHeaderClick:Mn}),dn?b.default.createElement(Ca,{className:"root-container","data-menu-opened":wt,"data-is-mobile":F,"data-sponsored":zt,"data-sitewide":!!En},c):b.default.createElement(_a,{className:"root-container","data-menu-opened":wt,"data-is-mobile":F,"data-sponsored":zt,"data-sitewide":!!En,hasStickyBottomBar:Un},c),b.default.createElement(wa,{type:"main",locale:hn,basePath:rn,isMobile:F,isAmp:dn,footerInfo:qn,siteType:o,marryBabySocialLinks:{facebookLink:ye,instagramLink:be,linkedinLink:we,twitterLink:_e,youtubeLink:Te,zaloLink:Oe}})))};exports.Layout=Z,exports.NavigationBar=on,exports.NavigationLayout=function(n){return b.default.createElement(ne.Provider,{value:{translation:n.translation||ee}},b.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,E=t.dataEventAction,w=void 0===E?"Close Click":E,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?q:"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]),b.default.createElement(X,{"data-is-mobile":s,"data-is-collapse":O||r||A,"data-is-marrybaby":R},o?b.default.createElement($,{"data-is-marrybaby":R},f?b.default.createElement("amp-img",{src:o,width:"76",height:"52"}):b.default.createElement("img",{src:o,className:"icon","data-is-mobile":s})):null,l?b.default.createElement("span",{className:"content","data-is-marrybaby":R,"data-is-mobile":s,dangerouslySetInnerHTML:{__html:N}}):null,b.default.createElement(J,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?b.default.createElement("amp-img",{src:B,width:"24",height:"24"}):b.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=te(),p=n.useState(!1),u=p[0],m=p[1];return b.default.createElement(Cn,{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},b.default.createElement(s.Container,{style:{position:"relative",padding:"0 16px"}},"content"===o?b.default.createElement(s.Text,{size:a?"p4":"p3",color:"#737373"},b.default.createElement("div",{className:"sticky-sponsored-info-icon"},r?b.default.createElement("amp-img",{height:"20",width:"20",style:{verticalAlign:"middle",marginLeft:"0.3rem",marginBottom:"0.1rem"},src:K}):b.default.createElement("img",{src:K,style:{width:20,height:20,verticalAlign:"middle",marginRight:"0.3rem",marginBottom:"0.1rem"}})),l&&(null==l?void 0:l.logo)?b.default.createElement(b.default.Fragment,null," ",c("articlePage.sponsoredContentBy")," ",b.default.createElement("img",{className:"sponsored-logo",src:(null==l?void 0:l.logo)||"",alt:"sponsored-logo"})):c("articlePage.sponsoredContent")):b.default.createElement(s.Text,{size:"p2",color:"#737373"},c("articlePage.sponsoredArticle"),b.default.createElement("div",{className:"sticky-sponsored-info-icon"},r?b.default.createElement("amp-img",{height:"20",width:"20",style:{verticalAlign:"middle",marginLeft:"0.3rem",marginBottom:"0.1rem"},src:K,on:"tap:sponsored-by.toggleClass(class='open')",tabIndex:0,role:"button"}):b.default.createElement("img",{src:K,style:{width:20,height:20,verticalAlign:"middle",marginLeft:"0.3rem",marginBottom:"0.1rem"}}))),!u||a&&i||r?null:b.default.createElement(Ln,{sponsoredBy:l,isAmp:r,onClose:function(){return m(!1)},locale:d})))},exports.defaultTranslation=ee;
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./tslib.es6-f7929e76.js"),n=require("react"),t=require("./index-193522ec.js"),a=require("lodash"),i=require("./cookieHelper-612b90fa.js"),o=require("styled-components"),l=require("./togetherComponentGlobalContext-7313ee94.js"),r=require("./index-c7bbd0f2.js"),s=require("./index.styled-747be23a.js"),d=require("./theme-696d81a9.js"),c=require("./constants-ca5ea110.js"),p=require("string-format"),u=require("./lazyLoad-a4ccbfcc.js");require("react-range"),require("react-dom"),require("./translationsContext-af789c7c.js"),require("lodash/debounce"),require("./constants-5675963f.js"),require("date-fns"),require("./Locale-11b51016.js");var m=require("./zalo-e7b9d144.js"),h=require("./index-93b70710.js"),g=require("react-loading-skeleton"),f=require("./translationsProvider-04343e8a.js");function x(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}require("./useTranslations-589049a5.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,$=L.customMetaData,J=void 0===$?[]:$,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"}),J.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",$=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})),J=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,$e,Je=w.default.div($e||($e=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 a,i,o=n.type,l=n.isStatic,d=n.isAmp,c=n.isDisplayed,p=n.siteType,u=n.isCollapsed,m=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===(i=null===(a=null==R?void 0:R.props)||void 0===a?void 0:a.sponsoredBy)||void 0===i?void 0:i.length),K=m&&!!h&&!g,X=on({isSiteWide:!!h&&!g,isShowingSiteWideBanner:K,isSponsored:W,hasSponsoredBanners:q,isMobile:!0}),$=X.headerRef,J=X.headerHeight;return E.default.createElement(E.default.Fragment,null,E.default.createElement(ve,{"data-header-type":o,"data-collapsed":!l&&u,"data-with-search-input":"popup-sub-level"!==o,"data-is-displayed":c,"data-is-amp":d,"data-sponsored":W,"data-site-type":p,"data-sitewide-banner-shown":K,id:"site-header",ref:$},h?E.default.isValidElement(h)?E.default.cloneElement(h,{isCollapsed:u,setBannerClosed:f,isAmp:d,isMobile:x}):h:null,E.default.createElement("div",{style:e.__assign(e.__assign({position:"relative",height:64,display:"flex",alignItems:"center",justifyContent:"helloSites"===p?"center":"flex-start",background:"white"},"marryBaby"===p?{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"===o&&E.default.createElement("a",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"Hamburger Navigation URL"},E.default.createElement(tn,{siteType:p,type:o})),"popup"===o&&E.default.createElement(nn,null),"popup-sub-level"===o&&E.default.createElement(en,null)),v),b&&"helloSites"===p&&"home"===o&&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:o}),E.default.createElement("input",{style:{width:"32px",height:"32px",position:"absolute",left:"-2px",bottom:"0",opacity:0,zIndex:1e4}})))),"popup"!==o&&E.default.createElement(Me,{"data-is-profile":!0,className:N?"":"menu-handler-health-tools"},E.default.createElement("div",{className:"menu-handler-item"},b&&"marryBaby"===p&&"home"===o&&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):d?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(Je,{onClick:F},E.default.createElement("img",{src:t.img,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(Je,{onClick:F},E.default.createElement("img",{src:t.img,className:"avatar",alt:"avatar"})):"helloSites"===p?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"===o||"popup"===o)&&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:t.img$1,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(r.Heading,{className:"top-bar-header",tag:"h5"},P)),R?E.default.isValidElement(R)?E.default.cloneElement(R,{isCollapsed:u,locale:M,isMobile:x,isAmp:d}):R:null),G?E.default.createElement(we,{"data-header-type":o,"data-is-displayed":c,"data-sitewide-banner-shown":m&&!!h},E.default.createElement(s.PureInput,{style:{minHeight:"auto",minWidth:"100%",padding:"0 16px"},name:"search-input-"+o+(N?"":"-temp"),size:"md",placeholder:Y,onChange:V,onKeyPress:Q,type:"search",autoFocus:!1,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,!d&&E.default.createElement("div",{style:{height:J}})))}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 i,o,c,p=e.siteType,u=e.basePath,m=e.statics,h=e.currentPopupType,g=void 0===h?"none":h,f=e.isDisplayed,x=void 0===f||f,y=e.isSearchBarDisplay,v=void 0===y||y,b=e.searchPlaceholder,w=void 0===b?"":b,k=e.openPopup,_=e.onTopBarAppears,L=e.onSearchChange,O=e.onSearchKeyPress,S=e.menu,I=e.isAmp,A=e.profileMenu,M=e.isMobile,N=void 0!==M&&M,P=e.isLoginButtonDisplayed,R=e.title,B=e.type,j=void 0===B?"home":B,D=e.onMenuClick,H=e.isStatic,z=void 0!==H&&H,U=e.routerAsPath,F=e.locale,G=e.userInfo,Y=e.marryBaby,V=(void 0===Y?{tone:"white"}:Y).tone,Q=e.menuItems,Z=void 0===Q?[]:Q,W=e.isInit,q=e.sitewideBanner,K=e.sitewideBannerShown,X=void 0===K||K,$=e.sponsorComponent,J=e.languageMenu,ee=e.isSearchIconDisplayed,ne=void 0!==ee&&ee,te=e.enabledExperimentalCareHeader,ie=e.onCareHeaderClick,oe=m.SSO_URL,le=m.HOME_PAGE_URL,re=m.CARE_URL_FE,se=ae(),de=!!$,ce=n.useState(!1),pe=ce[0],ue=ce[1],me=n.useState(!1),he=me[0],ge=me[1],fe=n.useState(!1),xe=fe[0],ye=fe[1],ve=n.useState(W||!1),be=ve[0],Ee=ve[1],we=n.useRef(47),Ne=n.useRef(!1),Pe=n.useRef(!1),Re="helloSites"===p?"https://".concat(C[F]).concat(U):"https://www.marrybaby.vn".concat(U),Be=n.useMemo((function(){var e=(null==G?void 0:G.name)||(null==G?void 0:G.username);return E.default.createElement(l.Avatar,{type:"rounded",size:"small",avatarUrl:null==G?void 0:G.avatar,firstLetter:e&&e.length?e[0].toUpperCase():"A",backgroundColor:"marryBaby"===p?d.theme.mbColors.pink:d.theme.colors.secondaryBase,isAmp:I})}),[null==G?void 0:G.username,null==G?void 0:G.name,null==G?void 0:G.avatar]),je=function(){var e=window.location.href;window.location.href=oe?"".concat(oe,"?returnUrl=").concat(e):e},De="helloSites"===p?null===(i=T[F])||void 0===i?void 0:i.LOGO_TYPE:p,He="undefined"!=typeof window,ze=function(e){null==L||L(e)},Ue=n.useCallback(a.throttle((function(){var e;if("home"===j){var n=window,t=null===(e=document.querySelector(".sticky-container"))||void 0===e?void 0:e.clientHeight;He&&n&&(n.scrollY>we.current&&n.scrollY>64&&!Ne.current&&(Ne.current=!0,ue(!0)),n.scrollY<we.current&&Ne.current&&(Ne.current=!1,ue(!1),t&&n.scrollY),n.scrollY<we.current&&t&&n.scrollY,v?(n.scrollY<64&&n.scrollY<we.current&&Pe.current&&(Pe.current=!1),n.scrollY>8&&n.scrollY>we.current&&!Pe.current&&(Pe.current=!0)):Pe.current=!0,n.scrollY>=0&&(we.current=n.scrollY))}}),300),[]);n.useEffect((function(){null==_||_(!pe)}),[pe]);var Fe=function(e){var n,t;O&&O(e,null!==(t=null===(n=document.getElementById("search-input-"+j))||void 0===n?void 0:n.value)&&void 0!==t?t:"")};n.useEffect((function(){N&&Ue()}),[]),n.useEffect((function(){return window.addEventListener("scroll",Ue,{passive:!0}),function(){window.removeEventListener("scroll",Ue)}}),[]),n.useEffect((function(){Ee(!0)}),[]),n.useEffect((function(){"undefined"!=typeof window&&ye(Boolean(xe))}),[]);var Ge=E.default.createElement(E.default.Fragment,null,Z.find((function(e){return"categories"===e.id}))&&E.default.createElement(Ae,{"data-is-active":"categories"===g,className:be?"":"menu-handler-categories",tabIndex:0,onClick:function(){null==k||k("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"},se("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"===g&&E.default.createElement("div",null,S)),Z.find((function(e){return"healthTools"===e.id}))&&E.default.createElement(Ae,{"data-is-active":"tools"===g,className:be?"":"menu-handler-health-tools",tabIndex:0},E.default.createElement("div",{className:"menu-handler-item",onClick:function(){k&&k("tools")}},se("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"===g&&E.default.createElement("div",null,S)),Z.find((function(e){return"care"===e.id}))&&!te&&E.default.createElement(Ae,{"data-is-active":"care"===g,className:be?"":"menu-handler-care-specialties",tabIndex:0},E.default.createElement("div",{className:"menu-handler-item",onClick:function(){k&&k("care")}},se("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"===g&&E.default.createElement("div",null,S)),Z.find((function(e){return"together"===e.id}))&&E.default.createElement(Ae,{"data-is-active":"communities"===g,className:be?"":"menu-handler-communities",tabIndex:0},E.default.createElement("div",{className:"menu-handler-item",onClick:function(){k&&k("communities")}},se("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"===g&&E.default.createElement("div",null,S))),Ye=!!(null===(c=null===(o=null==$?void 0:$.props)||void 0===o?void 0:o.sponsoredBy)||void 0===c?void 0:c.length),Ve=X&&!!q&&!he,Qe=on({isSiteWide:!!q&&!he,isShowingSiteWideBanner:Ve,isSponsored:de,hasSponsoredBanners:Ye}),Ze=Qe.headerRef,We=Qe.headerHeight;return N?E.default.createElement(an,{type:j,isStatic:z,isAmp:I,isDisplayed:x,siteType:p,isCollapsed:pe,sitewideBannerShown:X,sitewideBanner:q,sitewideBannerClosed:he,setSitewideBannerClosed:ge,isMobile:N,onMenuClick:D,menu:S,isSearchIconDisplayed:ne,statics:m,basePath:u,languageMenu:J,enabledExperimentalCareHeader:te,logoType:De,locale:F,isInit:be,title:R,sponsorComponent:$,currentUrl:Re,userInfo:G,currentPopupType:g,avatar:Be,profileMenu:A,isLoginButtonDisplayed:P,goToLogin:je,isSearchBarDisplay:v,searchPlaceholder:w,onSearchValueChanged:ze,keyPressed:Fe}):E.default.createElement(E.default.Fragment,null,E.default.createElement("div",{style:{height:We}}),E.default.createElement(ke,{ref:Ze,"data-site-type":p,"data-marry-baby-tone":"marryBaby"===p&&V,"data-sponsored":de,"data-sitewide-banner-shown":Ve},q?E.default.isValidElement(q)?E.default.cloneElement(q,{isCollapsed:pe,setBannerClosed:ge}):q:null,E.default.createElement(s.Container,{style:{height:69,padding:"0 16px"},type:p},E.default.createElement(_e,null,E.default.createElement(Ce,null,E.default.createElement("a",{href:le},E.default.createElement(Te,{"data-is-having-border":"helloSites"===p},E.default.createElement(s.Logo,{style:{display:"flex"},type:De,height:"27px",width:"121px",badge:"id-ID"===F?E.default.createElement("img",{src:t.img$1,style:{width:56,height:23,maxWidth:56},width:"56",height:"23"}):void 0}))),v&&"helloSites"===p&&E.default.createElement(Le,{"data-header-type":j,"data-is-displayed":x,"data-sitewide-banner-shown":X&&!!q},E.default.createElement(s.PureInput,{style:{minHeight:"32px",maxHeight:"32px",minWidth:"100%",backgroundColor:d.theme.colors.white},name:"search-input-"+j+(be?"":"-temp"),autoFocus:!1,size:"sm",placeholder:w,onChange:ze,onKeyPress:Fe,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"===p&&E.default.createElement("div",{style:{marginLeft:28,display:"flex"}},Ge)),E.default.createElement(Oe,null,"helloSites"===p&&Ge,v&&"marryBaby"===p&&E.default.createElement(Le,{"data-header-type":j,"data-is-displayed":x,"data-is-styled-borderless":"marryBaby"===p,"data-marry-baby-theme":V},E.default.createElement(s.PureInput,{style:{minHeight:"40px",maxHeight:"40px",minWidth:"100%",borderRadius:16},name:"search-input-"+j+(be?"":"-temp"),autoFocus:!1,size:"sm",placeholder:w,onChange:ze,onKeyPress:Fe,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:be?"":"menu-handler-language",onClick:function(){k&&k("language")}},J),E.default.createElement(Me,{"data-is-active":"profile"===g,"data-is-profile":!0,className:be?"":"menu-handler-health-tools",tabIndex:0},E.default.createElement("div",{className:"menu-handler-item"},te&&E.default.createElement(E.default.Fragment,null,ie?E.default.createElement(r.Button,{className:"login-btn-mobile",size:"sm",color:"secondary",dataEventCategory:"Care",dataEventAction:"Navigation Bar Click",dataEventLabel:Re,onClick:function(e){return ie(e)}},se("login.booking")):E.default.createElement("a",{href:re,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:Re},se("login.booking")))),(null==G?void 0:G.id)?E.default.createElement(Se,{style:{position:"relative"}},E.default.createElement("div",{onClick:function(){return k&&k("profile")}},Be),A):P&&E.default.createElement("a",{"data-event-category":"Sign Up","data-event-action":"Button Click","data-event-label":Re},te?E.default.createElement(Je,{onClick:je},E.default.createElement("img",{src:t.img,className:"avatar",alt:"avatar"})):"helloSites"===p?E.default.createElement(r.Button,{size:"md",color:"secondary",onClick:je},se("navigation.loginJoin")):E.default.createElement(r.Button,{size:"md",color:"secondary",theme:"marryBaby",onClick:je},se("navigation.loginJoin")))))))),$?E.default.isValidElement($)?E.default.cloneElement($,{isCollapsed:pe,locale:F,isMobile:N,isAmp:I}):$: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 $n=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 Jn=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,a=e.categoriesSSR,i=e.healthToolsSSR,o=e.spotlightsSSR,l=e.serviceUrls,d=e.together,c=e.care,p=e.basePath,u=e.searchPlaceholder,m=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:t.img$1,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:u,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:t.img$2,width:"48",height:"48"}),E.default.createElement("span",null,m("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:t.img$3,width:"48",height:"48"}),E.default.createElement("span",null,m("home.navigator.menuItem.healthTools"))),d.TOGETHER_MENU_COUNTRIES_ENABLED.includes(n)&&E.default.createElement("a",{href:l.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:t.img$5,width:"48",height:"48"}),E.default.createElement("span",null,m("home.navigator.menuItem.together")))),c.CARE_MENU_COUNTRIES_ENABLED.includes(n)&&E.default.createElement("a",{href:l.CARE_URL_FE},E.default.createElement(Pe,{role:"button",tabIndex:1,className:"nav-card"},E.default.createElement("amp-img",{src:t.img$4,width:"48",height:"48"}),E.default.createElement("span",null,m("home.navigator.menuItem.helloCare"))))),E.default.createElement("ul",{className:"categories","data-amp-bind-hidden":"!healthToolsActive",style:{marginBottom:24}},E.default.createElement(r.Heading,{tag:"h3",fontWeight:"bold",style:{marginBottom:24}},m("home.navigator.menuItem.discover")),a&&a.length>1&&a.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(l.DISCOVER_URL_FE,"/categories/")},E.default.createElement(Rn,{key:"all-categories"},m("home.navigator.menuItem.allCategories"),E.default.createElement(et,null,E.default.createElement("amp-img",{src:"".concat(p,"/svg/chevronRightActive.svg"),style:{width:"16px",height:"16px"},height:"16",width:"16",alt:m("home.navigator.menuItem.allCategories")}))))),E.default.createElement("ul",{className:"categories","data-amp-bind-hidden":"!healthToolsActive"},E.default.createElement(r.Heading,{tag:"h3",fontWeight:"bold",style:{marginBottom:24}},m("home.navigator.menuItem.spotlights")),o&&o.length>0&&o.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(l.DISCOVER_URL_FE,"/spotlight/")},E.default.createElement(Rn,{key:"all-spotlight"},m("home.navigator.menuItem.allSpotlight"),E.default.createElement(et,null,E.default.createElement("amp-img",{src:"".concat(p,"/svg/chevronRightActive.svg"),style:{width:"16px",height:"16px"},height:"16",width:"16",alt:m("home.navigator.menuItem.allSpotlight")}))))),E.default.createElement("ul",{className:"categories","data-amp-bind-hidden":"healthToolsActive",hidden:!0},i&&i.length>1&&i.map((function(e,n){return e.healthTools&&e.healthTools.length>0&&E.default.createElement(E.default.Fragment,{key:n},E.default.createElement(r.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,$t,Jt,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,g=e.isMobile,f=e.footerMenu,x=void 0===f?[]:f,y=e.type,v=void 0===y?"main":y,b=ae();return"main"===v?E.default.createElement(ga,{className:"footer-container"},!g&&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=g?null==x?void 0:x.slice(0,6):x)||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"},b("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:m.img,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:m.img$1,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:m.img$2,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:m.img$3,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"},b("footer.info.companyName")),E.default.createElement("div",{className:"text-info"},E.default.createElement(Gt,{type:"bodytext-3"},b("footer.info.address")),E.default.createElement(Gt,{type:"bodytext-3"},b("footer.info.license")),E.default.createElement(Gt,{type:"bodytext-3"},b("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"}))),!g&&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},b("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($t||($t=e.__makeTemplateObject(["\n width: 100vw;\n"],["\n width: 100vw;\n"]))),Ca=w.default.div(Jt||(Jt=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,p=e.isLoading,u=e.desktopPopupType,m=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,p?E.default.createElement(Ia,null,E.default.createElement(Ua,null)):E.default.createElement(Ia,{"data-category-list-type":"main"},E.default.createElement(r.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:m,"data-is-display":"care"===u},E.default.createElement(Ra,null,E.default.createElement(s.Container,{style:{padding:"0 16px"},type:x},E.default.createElement(Ba,{"data-popup-type":u,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:m},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:m,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:m},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($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 &[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(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 "," {\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,$a,Ja,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,s=e.DISCOVER_URL_FE,c=e.basePath,p=e.locale,u=e.siteType,m=ae();return t?E.default.createElement(Ya,null,E.default.createElement(r.Heading,{tag:"h3",style:{marginBottom:24}},m("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[p]).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[p]).concat(e.permalink),style:{textDecoration:"none",pointerEvents:"auto"},href:"".concat(s).concat(e.permalink)},e.name))})),E.default.createElement("a",{style:{textDecoration:"none"},href:"".concat(s,"/spotlight/")},E.default.createElement(li,{key:"all-spotlights","data-theme":u,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"".concat(s,"/spotlight/")},m("home.navigator.menuItem.allSpotlight"),E.default.createElement(ri,null,"helloSites"===u?E.default.createElement("img",{src:"".concat(c,"/svg/chevronRightActive.svg"),style:{width:"16px",height:"16px"},alt:m("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,c=e.type,p=e.onSelectCategory,u=e.onClosePopup,m=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":c},E.default.createElement(r.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:c+"-category-"+a},E.default.createElement("a",{style:{textDecoration:"none",color:d.theme.colors.gray800},onClick:function(n){e.childCates&&e.childCates.length>0&&"sub"!==c&&n.preventDefault()},href:f+e.permalink},E.default.createElement(Mn,{onClick:function(){null==p||p(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"===c&&e.childCates&&e.childCates.length>0},E.default.createElement(Nn,null,e.displayName),"main"===c&&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"===c&&e.childCates&&e.childCates.length>0&&e.childCates.map((function(e,n){return E.default.createElement("a",{style:{textDecoration:"none"},href:e.permalink,key:c+"-2-"+n},E.default.createElement(Mn,{"data-is-heading-category":"sub"===c&&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"===c,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:u,"data-is-display":"categories"===m},E.default.createElement(Dn,null,E.default.createElement(s.Container,{style:{padding:"0 16px"},type:y},E.default.createElement(Hn,{"data-popup-type":m,onClick:function(e){e.stopPropagation()}},E.default.createElement("div",null,E.default.createElement(r.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:u,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:u,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"===c,spotlights:l,isLoading:!1,basePath:t,DISCOVER_URL_FE:f,locale:n,siteType:y}),E.default.createElement(Gn,{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"})))))))},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"]))),$i=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),Ji=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($i,{className:"top-menu-communities",onClick:o,"data-is-display":"communities"===g},E.default.createElement(Ji,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"]))),$o=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"]))),Jo=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,d=e.healthToolsByCategory,c=e.onSelectHealthTool,p=e.isLoading,u=e.basePath,m=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,p&&o?E.default.createElement(Co,null,E.default.createElement(Jo,null)):E.default.createElement(Co,{"data-category-list-type":"main","data-is-displayed":o},(null==d?void 0:d.length)?d.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(r.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:c,basePath:u,HEALTH_TOOL_URL_FE:x,locale:m}))})):E.default.createElement(el,{healthTools:l,onSelectHealthTool:c,basePath:u,HEALTH_TOOL_URL_FE:x,locale:m}),E.default.createElement(Xo,null,E.default.createElement("a",{href:"".concat(x).concat((null===(n=y[m])||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[m])||void 0===t?void 0:t.HEALTH_TOOLS)||"")},b("home.navigator.menuItem.allHealthTools"),E.default.createElement(Po,null,E.default.createElement("img",{src:"".concat(u,"/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==d?void 0:d.length)?d.map((function(e,n){var t;return!!(null===(t=e.healthTools)||void 0===t?void 0:t.length)&&E.default.createElement($o,{key:"health-tools-categories-".concat(n)},E.default.createElement(r.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:c,basePath:u,HEALTH_TOOL_URL_FE:x,locale:m,isDesktop:!0,isGrouped:!0,onClosePopup:g}))})):E.default.createElement(el,{healthTools:l,onSelectHealthTool:c,basePath:u,HEALTH_TOOL_URL_FE:x,locale:m,isDesktop:!0,onClosePopup:g}),E.default.createElement("a",{style:{textDecoration:"none"},href:"".concat(x).concat((null===(a=y[m])||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[m])||void 0===i?void 0:i.HEALTH_TOOLS)||"")},b("home.navigator.menuItem.allHealthTools"),E.default.createElement(Po,null,E.default.createElement("img",{src:"".concat(u,"/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(Jo,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(Jo,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(Jn,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(Jn,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,c=e.categories,p=e.healthTools,u=e.healthToolsByCategory,m=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(c),q=W[0],K=W[1],X=n.useState(void 0),$=X[0],J=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(){$&&(window.location.href=$.permalink),ke(),f&&f()},ye=function(){$&&(window.location.href="".concat(S,"/").concat($.communitySlug)),ke(),f&&f()},ve=function(e){e.childCates&&e.childCates.length>0?(Z(!0),J(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),J(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(){J(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==$?void 0:$.childCates)||void 0===e?void 0:e.length)>0&&E.default.createElement(Nl,{selectedMenuMainItem:$,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&&$&&E.default.createElement(Pl,{selectedMenuMainItem:$,onCommunityClick:ye,onSelectCommunity:be,TOGETHER_URL_FE:S,basePath:H,callApiHandler:z,locale:j,togetherApiDomain:O,siteType:D,isMobile:a}))}),[$,se]),n.useEffect((function(){ue(!0)}),[]),n.useEffect((function(){!he&&o&&ge(!0)}),[o]),n.useEffect((function(){K(c)}),[c]),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?c.filter((function(n){return n.categoryName.toLowerCase().search(e.toLowerCase())>-1||n.slug.replace("-","").toLowerCase().search(e.replace(" ","").toLowerCase())>-1})):c)},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($n,{"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",autoFocus:!1,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(r.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:p,healthToolsByCategory:u,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:m,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==$?void 0:$.categoryName:null==$?void 0:$.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:u,healthTools:p,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:m,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)}}))},$l=function(e){var n="undefined"!=typeof window&&document.querySelector(e),t=n&&window.getComputedStyle(n);return t&&t.getPropertyValue("display")},Jl=function(a){var i,o=a.siteType,l=a.MetaPageTitle,r=a.MetaPageDescription,s=a.MetaPageImage,d=a.footerInfo,c=a.children,p=a.ssrMenuContent,u=void 0===p?{}:p,m=u.categories,h=void 0===m?[]:m,g=u.healthTools,f=void 0===g?[]:g,x=u.healthToolsByCategory,y=void 0===x?[]:x,v=u.careSpecialties,b=void 0===v?[]:v,w=u.togetherCommunities,_=void 0===w?[]:w,O=u.spotlightsList,A=void 0===O?[]:O,M=a.SEOData,N=void 0===M?{}:M,P=a.UP_BASEPATH,R=void 0===P?S:P,B=a.isStatic,H=void 0!==B&&B,z=a.seoType,U=void 0===z?"website":z,F=a.isMobile,G=a.isMyHealthEnabled,Y=void 0!==G&&G,V=a.logoutHandlers,Q=V.isLogoutPopupOpened,Z=V.callPostLogOutApi,q=V.onClosePopup,K=V.onLogout,X=a.marryBaby,$=void 0===X?{tone:"white",marryBabyApiDomain:"",socialLinks:{facebookLink:"",instagramLink:"",linkedinLink:"",twitterLink:"",youtubeLink:"",zaloLink:""}}:X,J=$.tone,ee=void 0===J?"white":J,ne=$.marryBabyApiDomain,te=$.socialLinks,oe=void 0===te?{}:te,ge=oe.facebookLink,fe=void 0===ge?"":ge,ve=oe.instagramLink,be=void 0===ve?"":ve,Ee=oe.linkedinLink,we=void 0===Ee?"":Ee,ke=oe.twitterLink,_e=void 0===ke?"":ke,Ce=oe.youtubeLink,Te=void 0===Ce?"":Ce,Le=oe.zaloLink,Oe=void 0===Le?"":Le,Se=a.statics,Ie=void 0===Se?{LOCALE_SPECS:T,STATIC_PAGES:L}:Se,Ae=Ie.DISCOVER_URL_FE,Me=Ie.TOGETHER_URL_FE,Ne=Ie.MARRY_BABY_FE,Pe=Ie.HOME_PAGE_URL,Re=Ie.HEALTH_TOOL_URL_FE,Be=Ie.CARE_URL_FE,je=Ie.LOCALE_SPECS,De=void 0===je?T:je,He=Ie.STATIC_PAGES,ze=void 0===He?L:He,Ue=a.sso,Fe=void 0===Ue?{}:Ue,Ge=Fe.dispatchLogout,Ye=Fe.SSO_URL,Ve=a.together,Qe=void 0===Ve?{TOGETHER_MENU_COUNTRIES_ENABLED:["id-ID","vi-VN"],ENABLE_COMMUNITY_PROFILE_MENU_LOCALES:["id-ID","vi-VN"],togetherApiDomain:""}:Ve,Ze=Qe.TOGETHER_MENU_COUNTRIES_ENABLED,We=Qe.ENABLE_COMMUNITY_PROFILE_MENU_LOCALES,qe=Qe.togetherApiDomain,Ke=a.care,Xe=void 0===Ke?{CARE_MENU_COUNTRIES_ENABLED:["vi-VN","id-ID","en-PH"],ENABLE_CARE_PROFILE_MENU_LOCALES:[],menuActionType:"redirectOnly",careApiDomain:""}:Ke,$e=Xe.CARE_MENU_COUNTRIES_ENABLED,Je=Xe.ENABLE_CARE_PROFILE_MENU_LOCALES,en=Xe.careApiDomain,nn=a.discover,tn=(void 0===nn?{discoverApiDomain:""}:nn).discoverApiDomain,an=a.activeMenuService,on=void 0===an?"categories":an,rn=a.basePath,sn=a.isAmp,dn=void 0!==sn&&sn,cn=a.nextHead,pn=a.routerPathname,un=a.routerQuery,mn=a.routerAsPath,hn=a.locale,gn=a.userState,fn=a.callApiHandler,xn=a.userProfileRouterPush,yn=a.onTopBarAppears,vn=a.forcedCanonicalUrl,bn=a.isUserProfileNavigatorMenuHidden,En=a.sitewideBanner,wn=a.sitewideBannerShown,kn=void 0===wn||wn,_n=a.sponsorComponent,Cn=a.languageOptions,Tn=a.isSearchBarDisplay,Ln=a.ampSubBar,On=a.isSearchIconDisplayed,Sn=void 0===On||On,In=a.enabledExperimentalCareHeader,An=void 0!==In&&In,Mn=a.onCareHeaderClick,Nn=a.dueDatePopup,Pn=a.welcomePopup,Rn=a.ampNextArticle,Bn=a.usingDefaultHead,jn=void 0===Bn||Bn,Dn=a.acceptCookiePopup,Hn=a.seoCustom,zn=a.hasStickyBottomBar,Un=void 0===zn||zn,Fn="boolean"==typeof Tn?Tn:!F,Gn=ae(),Yn=De[hn||"en-PH"]||{},Vn=n.useMemo((function(){var e;return(null===(e=mn.split("?"))||void 0===e?void 0:e[0])||""}),[mn]),Qn=n.useMemo((function(){return"".concat(rn).concat("/"===Vn.slice(-1)?Vn:"".concat(Vn,"/"))}),[Vn]),Zn=n.useMemo((function(){return(null==Cn?void 0:Cn.find((function(e){return e.value!==Qn})))||null}),[Cn,Qn]),Wn=n.useState(d),qn=Wn[0],Kn=Wn[1],Xn=n.useState(h),$n=Xn[0],Jn=Xn[1],et=n.useState(f),nt=et[0],tt=et[1],at=n.useState(y),it=at[0],ot=at[1],lt=n.useState(b),rt=lt[0],st=lt[1],dt=n.useState(_),ct=dt[0],pt=dt[1],ut=n.useState(A),mt=ut[0],ht=ut[1],gt=Ae||"https://".concat(C[hn])||"",ft="undefined"!=typeof window,xt=ft&&document.querySelector("#categories-menu"),yt=xt&&ft&&window.getComputedStyle(xt),vt=yt&&yt.getPropertyValue("left"),bt=n.useRef("0px"===vt),Et=n.useState(bt.current),wt=Et[0],kt=Et[1],_t=$l(".top-menu-categories"),Ct=$l(".top-menu-health-tools"),Tt=$l(".top-menu-communities"),Lt=$l(".top-menu-care-specialties"),Ot=n.useState(_t&&"none"!==_t?"categories":Ct&&"none"!==Ct?"tools":Tt&&"none"!==Tt?"communities":Lt&&"none"!==Lt?"care":"none"),St=Ot[0],It=Ot[1],At=n.useMemo((function(){var e,n;return E.default.createElement(La,null,null===(n=null===(e=hn.split("-"))||void 0===e?void 0:e[0])||void 0===n?void 0:n.toUpperCase(),E.default.createElement("img",{src:"language"===St?"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:Gn("home.navigator.menuItem.language")}))}),[St,hn]),Mt=gn.userInfo,Nt=gn.isLoggedIn,Pt=function(e){St!==e&&(It(e),kt(!0)),St===e&&(It("none"),kt(!1))},Bt=function(){kt(!1),It("none")},jt=function(e,n){"Enter"===e.key&&(window.location.href="".concat(Pe,"/search/?s=").concat(n))},Dt=null===(i=null==De?void 0:De[hn])||void 0===i?void 0:i.SITE_NAME_FORMATTED,Ht=[{name:Gn("home.navigator.menuItem.discover"),id:"categories",link:"./posts/abc",niceName:"",thumbnail:t.img$2,isDisplayed:!0},{name:Gn("home.navigator.menuItem.healthTools"),id:"healthTools",link:"./en",thumbnail:t.img$3,isDisplayed:!0}];(null==Ze?void 0:Ze.includes(hn))&&Ht.push({name:Gn("home.navigator.menuItem.helloTogether"),id:"together",link:Me+"/",thumbnail:t.img$5,isDisplayed:!0}),(null==$e?void 0:$e.includes(hn))&&Ht.push({name:Gn("home.navigator.menuItem.helloCare"),id:"care",link:"/care",thumbnail:t.img$4,isDisplayed:!0}),n.useEffect((function(){document.documentElement.style.overflow=wt?"hidden":""}),[wt]);var zt=!!_n;n.useEffect((function(){Nt&&("first_login"===(null==un?void 0:un.source)?(null==Mt?void 0:Mt.email)&&""!==(null==Mt?void 0:Mt.email)?window.insider_object={user:e.__assign({uuid:null==Mt?void 0:Mt.id,email:null==Mt?void 0:Mt.email,gdpr_optin:!0,email_optin:!0,sign_up:!0},(null==Mt?void 0:Mt.name)?{name:null==Mt?void 0:Mt.name}:{})}:window.insider_object={user:e.__assign({uuid:null==Mt?void 0:Mt.id,sign_up:!0},(null==Mt?void 0:Mt.name)?{name:null==Mt?void 0:Mt.name}:{})}:(null==Mt?void 0:Mt.email)&&""!==(null==Mt?void 0:Mt.email)?window.insider_object={user:e.__assign({uuid:null==Mt?void 0:Mt.id,email:null==Mt?void 0:Mt.email,gdpr_optin:!0,email_optin:!0,log_in:!0},(null==Mt?void 0:Mt.name)?{name:null==Mt?void 0:Mt.name}:{})}:window.insider_object={user:e.__assign({uuid:null==Mt?void 0:Mt.id,log_in:!0},(null==Mt?void 0:Mt.name)?{name:null==Mt?void 0:Mt.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 qn?[3,3]:[4,fetch("helloSites"===o?me(hn,tn):(i=ne,(i||"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&&!qn&&Kn("helloSites"===o?n.data||{}:n.data.footers||[]),[2]}var i,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 h&&0!==(null==h?void 0:h.length)||0!==(null==$n?void 0:$n.length)?[3,3]:(o={},[4,fetch(ce(hn,tn))]);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===$n.length&&Jn(i)),[2]}}))})),e.__awaiter(void 0,void 0,void 0,(function(){var n,t,a,i,l,r,s,d,c;return e.__generator(this,(function(e){switch(e.label){case 0:return A&&0!==(null==A?void 0:A.length)||"helloSites"!==o||0!==(null==mt?void 0:mt.length)?[3,3]:(l={},[4,fetch(ue(hn,tn,{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&&(i=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===mt.length&&ht(i)),[2]}}))})),e.__awaiter(void 0,void 0,void 0,(function(){var n,t,a,i,l,r,s;return e.__generator(this,(function(d){switch(d.label){case 0:return(null==f?void 0:f.length)||(null==nt?void 0:nt.length)||(null==y?void 0:y.length)||(null==y?void 0:y.length)?[3,6]:(r={},"helloSites"!==o?[3,2]:[4,fetch(pe(hn,tn))]);case 1:return i=d.sent(),[3,4];case 2:return[4,fetch((c=ne,(c||"https://staging.marrybaby.vn/")+"wp-json/api/"+k.default(D,e.__assign({},p))))];case 3:i=d.sent(),d.label=4;case 4:return[4,i.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"===o?(l=t.data.map(se),0===nt.length&&ot(l)):(l=t.data.map(re),0===nt.length&&tt(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 b&&0!==(null==b?void 0:b.length)||!$e.includes(hn)||0!==(null==rt?void 0:rt.length)?[3,3]:(o={},[4,fetch(de(hn,en))]);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===rt.length&&st(i)),[2]}}))})),e.__awaiter(void 0,void 0,void 0,(function(){var n,t,a,i,l,r,s,d,c;return e.__generator(this,(function(p){switch(p.label){case 0:return _&&0!==(null==_?void 0:_.length)||!Ze.includes(hn)||0!==(null==ct?void 0:ct.length)?[3,3]:(l={},[4,fetch("helloSites"===o?he(hn,qe):(u=qe,(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&&(i=(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===ct.length&&pt(i)),[2]}var u,m}))}))}),[]);var Ut=E.default.createElement(Vl,{locale:hn,UP_BASEPATH:R,SSO_URL:Ye,userProfileRouterPush:xn,dispatchLogout:Ge,isOpen:"profile"===St,isMyHealthEnabled:Y,ENABLE_CARE_PROFILE_MENU_LOCALES:Je,ENABLE_COMMUNITY_PROFILE_MENU_LOCALES:We,closePopup:Bt,userInfo:Mt,siteType:o,isUserProfileNavigatorMenuHidden:bn,togetherApiDomain:qe}),Ft=dn&&{"next-page-hide":""};return E.default.createElement(W,{SEOData:e.__assign({SEOTitle:l,SEOImage:s,SEODescription:r,siteName:Dt,seoType:U},N),isAmp:dn,locale:hn,routerPathname:pn,routerQuery:un,nextHead:cn,siteType:o,forcedCanonicalUrl:vn,userId:null==Mt?void 0:Mt.id,usingDefaultHead:jn,seoCustom:Hn},E.default.createElement(Ul,{basePath:rn,callPostLogOutApi:Z,openLogoutPopup:Q,onCloseHandler:q,onLogoutHandler:K,siteType:o}),Nn,Pn,Dn,F?E.default.createElement(E.default.Fragment,null,E.default.createElement(_a,null,E.default.createElement("section",e.__assign({className:dn?"amp-header":void 0,"next-page-replace":"hhg-navigator","amp-fx":"float-in-top"},Ft),E.default.createElement(ln,{siteType:o,statics:{DISCOVER_URL_FE:gt,SSO_URL:Ye,HOME_PAGE_URL:Pe,MARRY_BABY_FE:Ne,CARE_URL_FE:Be},marryBaby:{tone:ee},menuItems:Ht,menu:dn?void 0:E.default.createElement(Dl,{key:"mobile-menu-popup",menuItems:Ht,siteType:o,isMobileMenuOpened:"categories"===St,categories:$n,healthTools:nt,healthToolsByCategory:it,careSpecialties:rt,togetherCommunities:ct,spotlightsList:mt,onMobileMenuClick:Pt,isMobile:F,closePopup:Bt,footer:E.default.createElement(ka,{locale:hn,isMobile:F,basePath:rn,isAmp:dn,footerInfo:qn,type:"mini",siteType:o,marryBabySocialLinks:{facebookLink:fe,instagramLink:be,linkedinLink:we,twitterLink:_e,youtubeLink:Te,zaloLink:Oe}}),locale:hn,callApiHandler:fn,basePath:rn,together:{TOGETHER_MENU_COUNTRIES_ENABLED:Ze,togetherApiDomain:qe||ne,TOGETHER_URL_FE:Me},care:{CARE_MENU_COUNTRIES_ENABLED:$e,careApiDomain:en,CARE_URL_FE:Be},discover:{discoverApiDomain:tn,DISCOVER_URL_FE:gt},activeMenuService:on,statics:{DISCOVER_URL_FE:gt,HOME_PAGE_URL:Pe,HEALTH_TOOL_URL_FE:Re,MARRY_BABY_FE:Ne,TOGETHER_URL_FE:Me,STATIC_PAGES:ze},marryBaby:{tone:ee},routerAsPath:mn,popupType:"none",sso:{SSO_URL:Ye}}),profileMenu:Ut,type:"home",currentPopupType:St,isMobile:F,isLoginButtonDisplayed:!0,onMenuClick:Pt,searchPlaceholder:Gn("home.search",{site:"helloSites"===o?null==Yn?void 0:Yn.SITE_NAME:"Marry Baby"}),onTopBarAppears:function(e){yn&&yn(e)},isSearchBarDisplay:Fn,onSearchKeyPress:jt,isStatic:dn||H,sponsorComponent:_n,locale:hn,userInfo:gn.userInfo,basePath:rn,isAmp:dn,isDisplayed:!0,isInit:!1,onSearchChange:void 0,openPopup:void 0,routerAsPath:mn,title:"",sitewideBanner:En,sitewideBannerShown:kn,isSearchIconDisplayed:Sn,enabledExperimentalCareHeader:An,languageMenu:void 0!==Cn&&Cn.length>1?E.default.createElement(E.default.Fragment,null,2===Cn.length&&Zn?E.default.createElement(Oa,{"data-is-active":!0,href:(null==Zn?void 0:Zn.value)||"#"},null==Zn?void 0:Zn.label):E.default.createElement(Xl,{options:Cn,selected:Qn,label:At,onChange:function(e){"undefined"!=typeof window&&(window.location.href=e)},style:{width:100},showSelected:!0,showIndicator:!1})):void 0}),void 0!==Ln&&E.default.createElement(E.default.Fragment,null,Ln)),dn?E.default.createElement(Ta,{className:"root-container","data-menu-opened":bt.current,"data-sponsored":zt,"data-is-mobile":F,"data-sitewide":!!En},c,E.default.createElement(ka,{isAmp:dn,isMobile:F,locale:hn,basePath:rn,footerInfo:qn,type:"main",siteType:o,marryBabySocialLinks:{facebookLink:fe,instagramLink:be,linkedinLink:we,twitterLink:_e,youtubeLink:Te,zaloLink:Oe},ampNextArticle:Rn,routerQuery:un})):E.default.createElement(Ca,{className:"root-container","data-menu-opened":bt.current,"data-sponsored":zt,"data-is-mobile":F,"data-sitewide":!!En,hasStickyBottomBar:Un},E.default.createElement(E.default.Fragment,null,c,E.default.createElement(ka,{isAmp:dn,isMobile:F,locale:hn,basePath:rn,footerInfo:qn,type:"main",siteType:o,marryBabySocialLinks:{facebookLink:fe,instagramLink:be,linkedinLink:we,twitterLink:_e,youtubeLink:Te,zaloLink:Oe},ampNextArticle:Rn,routerQuery:un})))),dn&&E.default.createElement(Rt,{locale:hn,categoriesSSR:h,healthToolsSSR:y,spotlightsSSR:A,serviceUrls:{TOGETHER_URL_FE:Me,CARE_URL_FE:Be,DISCOVER_URL_FE:gt},together:{TOGETHER_MENU_COUNTRIES_ENABLED:Ze,ENABLE_COMMUNITY_PROFILE_MENU_LOCALES:We,togetherApiDomain:qe},care:{CARE_MENU_COUNTRIES_ENABLED:$e,ENABLE_CARE_PROFILE_MENU_LOCALES:Je,careApiDomain:en},basePath:rn,searchPlaceholder:Gn("home.search",{site:"helloSites"===o?null==Yn?void 0:Yn.SITE_NAME:"Marry Baby"})})):E.default.createElement(E.default.Fragment,null,E.default.createElement(ln,{siteType:o,menuItems:Ht,marryBaby:{tone:ee},locale:hn,currentPopupType:St,onSearchKeyPress:jt,openPopup:function(e){St!==e&&It(e),St===e&&It("none")},isMobile:F,isLoginButtonDisplayed:!0,isSearchBarDisplay:!dn&&Fn,searchPlaceholder:Gn("home.search",{site:"helloSites"===o?null==Yn?void 0:Yn.SITE_NAME:"Marry Baby"}),sitewideBannerShown:kn,statics:{DISCOVER_URL_FE:gt,SSO_URL:Ye,HOME_PAGE_URL:Pe,MARRY_BABY_FE:Ne,CARE_URL_FE:Be},menu:E.default.createElement(Dl,{menuItems:Ht,siteType:o,isMobile:F,popupType:St,closePopup:function(){It("none")},categories:$n,healthTools:nt,healthToolsByCategory:it,careSpecialties:rt,togetherCommunities:ct,spotlightsList:mt,locale:hn,callApiHandler:fn,basePath:rn,together:{TOGETHER_MENU_COUNTRIES_ENABLED:Ze,togetherApiDomain:qe,TOGETHER_URL_FE:Me},care:{careApiDomain:en,CARE_MENU_COUNTRIES_ENABLED:$e,CARE_URL_FE:Be},discover:{discoverApiDomain:tn,DISCOVER_URL_FE:gt},statics:{DISCOVER_URL_FE:gt,HOME_PAGE_URL:Pe,HEALTH_TOOL_URL_FE:Re,MARRY_BABY_FE:Ne,TOGETHER_URL_FE:Me,STATIC_PAGES:ze},activeMenuService:on,marryBaby:{tone:ee},routerAsPath:mn,footer:void 0,isMobileMenuOpened:void 0,sso:{SSO_URL:Ye},onMobileMenuClick:void 0}),profileMenu:Ut,userInfo:gn.userInfo,sponsorComponent:_n,type:"home",basePath:rn,isAmp:dn,isDisplayed:!0,isInit:!1,onSearchChange:void 0,isStatic:!1,routerAsPath:mn,title:"",onMenuClick:void 0,onTopBarAppears:void 0,sitewideBanner:En,languageMenu:void 0!==Cn&&Cn.length>1?E.default.createElement(E.default.Fragment,null,2===Cn.length&&Zn?E.default.createElement(Oa,{"data-is-active":!0,href:(null==Zn?void 0:Zn.value)||"#"},null==Zn?void 0:Zn.label):E.default.createElement(Xl,{options:Cn,selected:Qn,label:At,onChange:function(e){"undefined"!=typeof window&&(window.location.href=e)},style:{width:100},showSelected:!0,showIndicator:!1})):void 0,enabledExperimentalCareHeader:An,onCareHeaderClick:Mn}),dn?E.default.createElement(Ta,{className:"root-container","data-menu-opened":wt,"data-is-mobile":F,"data-sponsored":zt,"data-sitewide":!!En},c):E.default.createElement(Ca,{className:"root-container","data-menu-opened":wt,"data-is-mobile":F,"data-sponsored":zt,"data-sitewide":!!En,hasStickyBottomBar:Un},c),E.default.createElement(ka,{type:"main",locale:hn,basePath:rn,isMobile:F,isAmp:dn,footerInfo:qn,siteType:o,marryBabySocialLinks:{facebookLink:fe,instagramLink:be,linkedinLink:we,twitterLink:_e,youtubeLink:Te,zaloLink:Oe}})))};exports.Layout=W,exports.NavigationBar=ln,exports.NavigationLayout=function(n){return E.default.createElement(te.Provider,{value:{translation:n.translation||ne}},E.default.createElement(Jl,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($,{"data-is-mobile":s,"data-is-collapse":O||r||A,"data-is-marrybaby":R},o?E.default.createElement(J,{"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;