@hhgtech/hhg-components 1.23.80 → 1.23.81-beta-1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/BabyGrowth-26f210bd.js +1 -0
- package/build/Locale-51509292.js +1 -0
- package/build/Vietnam-97d56fa8.js +1 -0
- package/build/{Visible-8f0ee2b3.js → Visible-eeceb5ba.js} +1 -1
- package/build/animation-efbfdf7e.js +1 -0
- package/build/babyGrowth.js +1 -1
- package/build/cache.js +1 -1
- package/build/care.js +1 -1
- package/build/components.js +1 -1
- package/build/constants.js +1 -1
- package/build/{core-b2bc342b.js → core-b46f1b47.js} +1 -1
- package/build/dataTransform-8a447186.js +1 -0
- package/build/{defaultClassWrapper-3530f9cd.js → defaultClassWrapper-a6bb62db.js} +1 -1
- package/build/ecom.js +1 -1
- package/build/esm/BabyGrowth-136d3717.js +1 -0
- package/build/esm/Locale-ae8993d5.js +1 -0
- package/build/esm/Vietnam-be99b27f.js +1 -0
- package/build/esm/{Visible-32ac189a.js → Visible-b1b2fcd4.js} +1 -1
- package/build/esm/animation-e77d0dee.js +1 -0
- package/build/esm/babyGrowth.js +1 -1
- package/build/esm/cache.js +1 -1
- package/build/esm/care.js +1 -1
- package/build/esm/components.js +1 -1
- package/build/esm/constants.js +1 -1
- package/build/esm/{core-790ff01f.js → core-e3d52c91.js} +1 -1
- package/build/esm/dataTransform-5a39bf37.js +1 -0
- package/build/esm/defaultClassWrapper-67f33202.js +1 -0
- package/build/esm/ecom.js +1 -1
- package/build/esm/footer.js +1 -1
- package/build/esm/gAssets.js +1 -1
- package/build/esm/getDynamicHealthTool-a6db9398.js +1 -0
- package/build/esm/{getSocialList-4d823112.js → getSocialList-cd7ea871.js} +1 -1
- package/build/esm/hooks.js +1 -1
- package/build/esm/i18n.js +1 -1
- package/build/esm/index-0559b638.js +1 -0
- package/build/esm/index-068821fc.js +1 -0
- package/build/esm/{index-35e03c70.js → index-0b0d9bc0.js} +1 -1
- package/build/esm/index-261db2a9.js +1 -0
- package/build/esm/index-344ef39b.js +1 -0
- package/build/esm/index-38a224a5.js +1 -0
- package/build/esm/{index-8f4f63dd.js → index-4d8c6099.js} +1 -1
- package/build/esm/{index-6a6f20ad.js → index-623e23db.js} +1 -1
- package/build/esm/index-704d8584.js +1 -0
- package/build/esm/{index-91fb8d12.js → index-75c13b36.js} +1 -1
- package/build/esm/{index-95f279e4.js → index-80a7384c.js} +1 -1
- package/build/esm/{index-1ee9c34b.js → index-96c22dca.js} +1 -1
- package/build/esm/index-9b49ae49.js +1 -0
- package/build/esm/index-a95eb5d1.js +1 -0
- package/build/esm/index-add484cd.js +1 -0
- package/build/esm/index-c5acd351.js +1 -0
- package/build/esm/index-c6060bd3.js +1 -0
- package/build/esm/{index-cdb6a5f7.js → index-d10692e8.js} +1 -1
- package/build/esm/{index-1329846e.js → index-e593aa3a.js} +1 -1
- package/build/esm/index-ea96cb13.js +1 -0
- package/build/esm/{index-0f072fb6.js → index-ec4f0fbf.js} +1 -1
- package/build/esm/index-fa85da0e.js +7 -0
- package/build/esm/index.css +1 -1
- package/build/esm/index.js +1 -1
- package/build/esm/{index.styled-8fd96e97.js → index.styled-1e888cef.js} +1 -1
- package/build/esm/{index.styled-761eb232.js → index.styled-277a6375.js} +1 -1
- package/build/esm/index.styled-92d42721.js +1 -0
- package/build/esm/lead.js +1 -1
- package/build/esm/mantine.js +1 -1
- package/build/esm/misc.js +1 -1
- package/build/esm/navigation.js +1 -1
- package/build/esm/onboarding.js +1 -1
- package/build/esm/pwg.js +1 -1
- package/build/esm/routing-c9220ff4.js +1 -0
- package/build/esm/together.js +1 -1
- package/build/esm/{translationsProvider-b15f74db.js → translationsProvider-b4abf22b.js} +1 -1
- package/build/esm/{tslib.es6-b69f86ce.js → tslib.es6-2dcedc0f.js} +1 -1
- package/build/esm/types-5bd404ad.js +1 -0
- package/build/esm/types-edc99027.js +1 -0
- package/build/esm/types.js +1 -1
- package/build/esm/{useFbDataLayer-58265757.js → useFbDataLayer-faf0afa6.js} +1 -1
- package/build/esm/useHealthToolCache-91b42db5.js +1 -0
- package/build/esm/{useTranslations-6cb7ed0e.js → useTranslations-c02cb81b.js} +1 -1
- package/build/footer.js +1 -1
- package/build/gAssets.js +1 -1
- package/build/{getDynamicHealthTool-530960cf.js → getDynamicHealthTool-9e981d48.js} +1 -1
- package/build/{getSocialList-123b18bb.js → getSocialList-0c1de9db.js} +1 -1
- package/build/hooks.js +1 -1
- package/build/i18n.js +1 -1
- package/build/index-11168566.js +1 -0
- package/build/{index-3110751b.js → index-191f4c98.js} +1 -1
- package/build/{index-7f5c8a7d.js → index-28ce8643.js} +1 -1
- package/build/index-306bbef1.js +1 -0
- package/build/index-3194d64b.js +1 -0
- package/build/{index-bee9b50a.js → index-4af9e20b.js} +1 -1
- package/build/{index-b43b26ff.js → index-640efce0.js} +1 -1
- package/build/index-72238bed.js +1 -0
- package/build/index-7f2b16b7.js +7 -0
- package/build/index-860b0413.js +1 -0
- package/build/{index-8c015788.js → index-8ea0577a.js} +1 -1
- package/build/index-94984012.js +1 -0
- package/build/index-99161ff9.js +1 -0
- package/build/index-9ac8f09f.js +1 -0
- package/build/{index-9f8c767d.js → index-b1794c6a.js} +1 -1
- package/build/{index-4f6f86c3.js → index-b2999070.js} +1 -1
- package/build/{index-7935268b.js → index-b36d9066.js} +1 -1
- package/build/index-b59d3266.js +1 -0
- package/build/{index-a0aa2026.js → index-b91c53a3.js} +1 -1
- package/build/index-c07ec7a9.js +1 -0
- package/build/{index-912e4c1b.js → index-e7bf319a.js} +1 -1
- package/build/index-ea9c15bb.js +1 -0
- package/build/index.css +1 -1
- package/build/index.js +1 -1
- package/build/{index.styled-95e9b14e.js → index.styled-10e505f8.js} +1 -1
- package/build/index.styled-992d5897.js +1 -0
- package/build/{index.styled-73a93b24.js → index.styled-d1881370.js} +1 -1
- package/build/lead.js +1 -1
- package/build/mantine.js +1 -1
- package/build/misc.js +1 -1
- package/build/navigation.js +1 -1
- package/build/onboarding.js +1 -1
- package/build/pwg.js +1 -1
- package/build/{routing-f2c167f4.js → routing-2792580d.js} +1 -1
- package/build/together/components/molecules/index.d.ts +1 -0
- package/build/together/components/molecules/profileDetail/care/questionCard/index.d.ts +1 -1
- package/build/together/components/molecules/skipQuestionOfExpertBtn/index.d.ts +14 -0
- package/build/together.js +1 -1
- package/build/{translationsProvider-ceeba17e.js → translationsProvider-f4f1687f.js} +1 -1
- package/build/{types-78b4a695.js → types-1bc89c42.js} +1 -1
- package/build/types-918e732b.js +1 -0
- package/build/types.js +1 -1
- package/build/{useFbDataLayer-3f8aa8a8.js → useFbDataLayer-864a3171.js} +1 -1
- package/build/{useHealthToolCache-fd46b342.js → useHealthToolCache-bf29b735.js} +1 -1
- package/build/useTranslations-ab09572c.js +1 -0
- package/package.json +3 -2
- package/build/Locale-b522eaee.js +0 -1
- package/build/dataTransform-33d6c637.js +0 -1
- package/build/dataTransform-50774d35.js +0 -1
- package/build/esm/Locale-3d2fa220.js +0 -1
- package/build/esm/dataTransform-acd0ff45.js +0 -1
- package/build/esm/dataTransform-f1975fae.js +0 -1
- package/build/esm/defaultClassWrapper-11731980.js +0 -1
- package/build/esm/getDynamicHealthTool-713fa4ee.js +0 -1
- package/build/esm/index-23d2df7d.js +0 -1
- package/build/esm/index-265922ac.js +0 -1
- package/build/esm/index-468577ff.js +0 -1
- package/build/esm/index-56843525.js +0 -1
- package/build/esm/index-64a86553.js +0 -1
- package/build/esm/index-68a3c7cb.js +0 -1
- package/build/esm/index-6bea9b73.js +0 -1
- package/build/esm/index-74bfcfb3.js +0 -1
- package/build/esm/index-79e1d3ae.js +0 -1
- package/build/esm/index-cea8fb83.js +0 -1
- package/build/esm/index-e477c782.js +0 -1
- package/build/esm/index-ef686483.js +0 -1
- package/build/esm/index.styled-2a05b113.js +0 -1
- package/build/esm/index.styled-3378ccd7.js +0 -1
- package/build/esm/index.styled-595af74e.js +0 -1
- package/build/esm/index.styled-694301e3.js +0 -1
- package/build/esm/routing-f8e1a31f.js +0 -1
- package/build/esm/screenSizeContext-4689e2da.js +0 -1
- package/build/esm/types-28c6881c.js +0 -1
- package/build/esm/types-66ca29c1.js +0 -1
- package/build/esm/useHealthToolCache-4668ef44.js +0 -1
- package/build/index-19378af4.js +0 -1
- package/build/index-1c990778.js +0 -1
- package/build/index-3f7370db.js +0 -1
- package/build/index-679ee18c.js +0 -1
- package/build/index-8c7a5a1b.js +0 -1
- package/build/index-960505e9.js +0 -1
- package/build/index-9b193376.js +0 -1
- package/build/index-b65b93c6.js +0 -1
- package/build/index-c1b804b0.js +0 -1
- package/build/index-ea176b36.js +0 -1
- package/build/index-ec0b4cea.js +0 -1
- package/build/index.styled-85a456a0.js +0 -1
- package/build/index.styled-a7c26b09.js +0 -1
- package/build/index.styled-b47cb6ed.js +0 -1
- package/build/index.styled-d7ec24f9.js +0 -1
- package/build/screenSizeContext-a37e8c20.js +0 -1
- package/build/types-ccf206c3.js +0 -1
- package/build/useTranslations-727326b4.js +0 -1
- /package/build/{BMI_BOYS.percentile.monthly-c4242c63.js → BMI_BOYS.percentile.monthly-d7e28b29.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-4d5ae326.js → BMI_BOYS.percentile.weekly-3f545527.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-ba4a2bf8.js → BMI_BOYS.percentile.yearly-ef90d86f.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-c9cc1b67.js → BMI_BOYS.zscore.monthly-42234515.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-404de8a1.js → BMI_BOYS.zscore.weekly-fb82ea75.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-aae6ac37.js → BMI_BOYS.zscore.yearly-53db05a5.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-1b9235ca.js → BMI_GIRLS.percentile.monthly-1b8284b7.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-a234068d.js → BMI_GIRLS.percentile.weekly-95b2caac.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-8f8a908e.js → BMI_GIRLS.percentile.yearly-551edca9.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-a797af8f.js → BMI_GIRLS.zscore.monthly-b0a5ccfb.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-f00564f9.js → BMI_GIRLS.zscore.weekly-66907b5d.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-1abee99e.js → BMI_GIRLS.zscore.yearly-731bf131.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-7e8ef17e.js → HEAD CIRCUM_BOYS.percentile.monthly-2bee4e48.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-1a05418f.js → HEAD CIRCUM_BOYS.percentile.weekly-529d31c6.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-187083ac.js → HEAD CIRCUM_BOYS.percentile.yearly-55ca58ae.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-2281f87a.js → HEAD CIRCUM_BOYS.zscore.monthly-765aab5b.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-ac569271.js → HEAD CIRCUM_BOYS.zscore.weekly-2cd09363.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-863b5d2f.js → HEAD CIRCUM_BOYS.zscore.yearly-1e2e0fec.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-7de3be1c.js → HEAD CIRCUM_GIRLS.percentile.monthly-ed638240.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-777613aa.js → HEAD CIRCUM_GIRLS.percentile.weekly-a5758801.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-ffa00750.js → HEAD CIRCUM_GIRLS.percentile.yearly-77c6beae.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-47e4038b.js → HEAD CIRCUM_GIRLS.zscore.monthly-a829e36d.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-7c3a4829.js → HEAD CIRCUM_GIRLS.zscore.weekly-c83ea1b0.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-195a6b5f.js → HEAD CIRCUM_GIRLS.zscore.yearly-a1fb9436.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-888b2b64.js → HEIGHT_BOYS.percentile.monthly-7d0170f9.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-ecf6b5cd.js → HEIGHT_BOYS.percentile.weekly-008ea66c.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-7e9a571b.js → HEIGHT_BOYS.percentile.yearly-fe786dc9.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-60e62435.js → HEIGHT_BOYS.zscore.monthly-4cb98b4c.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-6be883f6.js → HEIGHT_BOYS.zscore.weekly-ed5bfe54.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-be758015.js → HEIGHT_BOYS.zscore.yearly-69dd7174.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-2920fd3b.js → HEIGHT_GIRLS.percentile.monthly-2149a459.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-f1df621f.js → HEIGHT_GIRLS.percentile.weekly-3304e333.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-b5846f6a.js → HEIGHT_GIRLS.percentile.yearly-efdac16c.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-e419b2ff.js → HEIGHT_GIRLS.zscore.monthly-d9bcfc79.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-5f673ffd.js → HEIGHT_GIRLS.zscore.weekly-0f79bbe9.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-150fdfb3.js → HEIGHT_GIRLS.zscore.yearly-6481f374.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-6a5eccf7.js → WEIGHT_BOYS.percentile.monthly-707a0058.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-94088b8c.js → WEIGHT_BOYS.percentile.weekly-937dc980.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-c936e3f4.js → WEIGHT_BOYS.percentile.yearly-258c8d16.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-c19fce39.js → WEIGHT_BOYS.zscore.monthly-b46d4966.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-10e7180e.js → WEIGHT_BOYS.zscore.weekly-5d210371.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-dc39088c.js → WEIGHT_BOYS.zscore.yearly-7aef0989.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-0798fbbb.js → WEIGHT_GIRLS.percentile.monthly-fc6eea35.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-57a5d12d.js → WEIGHT_GIRLS.percentile.weekly-dfed4a7f.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-daf9bebf.js → WEIGHT_GIRLS.percentile.yearly-b3fb9086.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-27b46b0f.js → WEIGHT_GIRLS.zscore.monthly-7c3e28f4.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-6fbbd895.js → WEIGHT_GIRLS.zscore.weekly-1208dd1d.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-a9b7154b.js → WEIGHT_GIRLS.zscore.yearly-050daf59.js} +0 -0
- /package/build/{constants-d035364d.js → constants-b537088a.js} +0 -0
- /package/build/{cookieHelper-2ddb4716.js → cookieHelper-d75e24e7.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-66984e04.js → BMI_BOYS.percentile.monthly-0415989b.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-2199a9d1.js → BMI_BOYS.percentile.weekly-144cd109.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-50695e73.js → BMI_BOYS.percentile.yearly-a830b189.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-6db3fabf.js → BMI_BOYS.zscore.monthly-9fcd541d.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-14843c47.js → BMI_BOYS.zscore.weekly-2b05a0ba.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-3fb387f9.js → BMI_BOYS.zscore.yearly-39b3ac79.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-f13a2ca9.js → BMI_GIRLS.percentile.monthly-bc04d18a.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-90828bfb.js → BMI_GIRLS.percentile.weekly-ca51177a.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-b99eb7fb.js → BMI_GIRLS.percentile.yearly-5f997a8a.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-d352b487.js → BMI_GIRLS.zscore.monthly-83045ce0.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-2f501500.js → BMI_GIRLS.zscore.weekly-c1d606c5.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-91d2c045.js → BMI_GIRLS.zscore.yearly-8571ff30.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-ce93cf0b.js → HEAD CIRCUM_BOYS.percentile.monthly-754f185e.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-7906ae7c.js → HEAD CIRCUM_BOYS.percentile.weekly-7774188b.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-a1d81a44.js → HEAD CIRCUM_BOYS.percentile.yearly-f3073fb3.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-83ec14eb.js → HEAD CIRCUM_BOYS.zscore.monthly-8a5bbc3d.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-6048716e.js → HEAD CIRCUM_BOYS.zscore.weekly-0b4498a5.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-6450c733.js → HEAD CIRCUM_BOYS.zscore.yearly-5a30ddb1.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-14da8efd.js → HEAD CIRCUM_GIRLS.percentile.monthly-dbbfa986.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-203a336d.js → HEAD CIRCUM_GIRLS.percentile.weekly-36734681.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-c047af6c.js → HEAD CIRCUM_GIRLS.percentile.yearly-b84b1213.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-0fc44ec9.js → HEAD CIRCUM_GIRLS.zscore.monthly-ed32433f.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-b8db6c65.js → HEAD CIRCUM_GIRLS.zscore.weekly-61ff64bf.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-b3b9ed09.js → HEAD CIRCUM_GIRLS.zscore.yearly-0b991c46.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-9e101026.js → HEIGHT_BOYS.percentile.monthly-f6bde4cf.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-da18ffcd.js → HEIGHT_BOYS.percentile.weekly-41cd91a5.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-b3b46d8d.js → HEIGHT_BOYS.percentile.yearly-58925ecf.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-b80009e3.js → HEIGHT_BOYS.zscore.monthly-7a8ab4e2.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-0ed52ce3.js → HEIGHT_BOYS.zscore.weekly-9abe3d51.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-f52e8f5a.js → HEIGHT_BOYS.zscore.yearly-770f114d.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-ca7f4fec.js → HEIGHT_GIRLS.percentile.monthly-d87d2855.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-3372db16.js → HEIGHT_GIRLS.percentile.weekly-2fd51f3d.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-ba289e95.js → HEIGHT_GIRLS.percentile.yearly-4ba9fa38.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-81977af1.js → HEIGHT_GIRLS.zscore.monthly-1a16bbde.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-8967262f.js → HEIGHT_GIRLS.zscore.weekly-96fe6f1b.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-ae4ab166.js → HEIGHT_GIRLS.zscore.yearly-7774fa41.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-1942e1f2.js → WEIGHT_BOYS.percentile.monthly-f3414d9a.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-7a4db64a.js → WEIGHT_BOYS.percentile.weekly-1c07c765.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-97c64e5b.js → WEIGHT_BOYS.percentile.yearly-a9a10dab.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-be1c4afc.js → WEIGHT_BOYS.zscore.monthly-3dcddd45.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-89d3dd88.js → WEIGHT_BOYS.zscore.weekly-b17719a1.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-1f183a23.js → WEIGHT_BOYS.zscore.yearly-24685a5a.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-4cac121b.js → WEIGHT_GIRLS.percentile.monthly-5dcce6b6.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-88009c8a.js → WEIGHT_GIRLS.percentile.weekly-3acc84da.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-99c0c30e.js → WEIGHT_GIRLS.percentile.yearly-88dc1212.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-f8a442d9.js → WEIGHT_GIRLS.zscore.monthly-d465d2c7.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-38ab5e60.js → WEIGHT_GIRLS.zscore.weekly-5c06b222.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-1e7bc9cb.js → WEIGHT_GIRLS.zscore.yearly-17acdbd7.js} +0 -0
- /package/build/esm/{constants-3b0cc4ed.js → constants-88371f17.js} +0 -0
- /package/build/esm/{cookieHelper-f2a0dab8.js → cookieHelper-019cd653.js} +0 -0
- /package/build/esm/{isProduction-6c567518.js → isProduction-40c1727d.js} +0 -0
- /package/build/esm/{localizeNumberFormat-38b86df9.js → localizeNumberFormat-6a8d4799.js} +0 -0
- /package/build/esm/{theme-464b14d4.js → theme-d0509a28.js} +0 -0
- /package/build/esm/{translationsContext-d90a2ee3.js → translationsContext-e01b1033.js} +0 -0
- /package/build/esm/{types-01a4bacc.js → types-e9333aa0.js} +0 -0
- /package/build/esm/{useOutsideClick-2f699172.js → useOutsideClick-5bd62aa9.js} +0 -0
- /package/build/esm/{useScrollbarSize-689a166e.js → useScrollbarSize-5b87c8f1.js} +0 -0
- /package/build/esm/{utils-2e243b91.js → utils-d40f1241.js} +0 -0
- /package/build/{isProduction-f4ceb387.js → isProduction-b8f09047.js} +0 -0
- /package/build/{localizeNumberFormat-11a69eb9.js → localizeNumberFormat-ebd96390.js} +0 -0
- /package/build/{theme-bd572d4d.js → theme-3c8770d4.js} +0 -0
- /package/build/{translationsContext-4eb789fd.js → translationsContext-a6bd51d6.js} +0 -0
- /package/build/{tslib.es6-35d25891.js → tslib.es6-7409fcb1.js} +0 -0
- /package/build/{types-4e5ba0b9.js → types-96a7e89e.js} +0 -0
- /package/build/{useOutsideClick-4f9b6138.js → useOutsideClick-1687172c.js} +0 -0
- /package/build/{useScrollbarSize-5e72b6cc.js → useScrollbarSize-c55c02ef.js} +0 -0
- /package/build/{utils-9083bcb5.js → utils-feec2d6a.js} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
import{_ as e}from"./tslib.es6-
|
|
1
|
+
import{_ as e}from"./tslib.es6-2dcedc0f.js";import t,{forwardRef as r}from"react";var a=r((function(r,a){return t.createElement("circle",e({},r,{ref:a}),t.createElement("animate",{attributeName:"r",values:"4;8;4",dur:"2s",begin:"0s",repeatCount:"indefinite"}))}));export{a as C};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{_ as n,d as e,a as t,b as i,c as a}from"./tslib.es6-2dcedc0f.js";import o,{useState as l,useEffect as r,useRef as s,useMemo as c,memo as d,useContext as p,useCallback as m}from"react";import{CommonGAssets as h}from"./gAssets.js";import u from"styled-components";import{T as g}from"./index-80a7384c.js";import{d as f,C as x,a as v,T as y,L as b,S as w,U as E}from"./index-d10692e8.js";import{g as k,a as C,b as L,c as P,d as M}from"./routing-c9220ff4.js";import{P as B,F as H,U as N,s as T,r as A}from"./index-add484cd.js";import{L as z}from"./index-ec4f0fbf.js";import{u as _}from"./useTranslations-c02cb81b.js";import U from"lodash/throttle";import{g as R,M as S}from"./utils-d40f1241.js";import{C as D,P as j,H as Z}from"./index.styled-92d42721.js";import{B as V}from"./index-623e23db.js";import{t as F}from"./theme-d0509a28.js";import{Portal as I}from"@mantine/core";import{g as O}from"./defaultClassWrapper-67f33202.js";import{g as G}from"./cookieHelper-019cd653.js";import"./index.styled-1e888cef.js";import{C as W}from"./index-4d8c6099.js";import"./index.styled-277a6375.js";import"./index-0b0d9bc0.js";import{L as Y}from"./constants-88371f17.js";import q from"string-format";import K from"dayjs";import Q from"dayjs/plugin/relativeTime";import J from"lodash/debounce";import{g as X}from"./core-e3d52c91.js";var $,nn,en,tn,an,on,ln,rn,sn,cn={xs:28,small:32,medium:40,large:48,xl:64,xxl:80,xxxl:96},dn=function(e){var t=e.type,i=void 0===t?"square":t,a=e.size,s=e.avatarImg,c=e.avatarUrl,d=e.firstLetter,p=e.backgroundColor,m=e.onClick,h=e.style,u=e.className,g=e.width,f=e.height,x=a?cn[a]:void 0,v=l(!1),y=v[0],b=v[1];r((function(){if(c){var n=document.createElement("img");n.setAttribute("src",c),n.addEventListener("error",(function(){b(!0)}))}}),[c,b]);var w=(!c&&!s||y)&&d;return o.createElement(D,{style:n(n({},h),{"--size":x?x+"px":void 0,"--width-prop":g?g+"px":void 0,"--height-prop":f?f+"px":void 0,"--background-color":p}),"data-has-max":!(!g||!f),"data-avatar-type":i,onClick:m,className:u,avatarUrl:c,"data-custom-size":!!a},s,c&&!y&&o.createElement("img",{src:c}),w&&d)},pn=function(e){return o.createElement("img",n({src:h.getAssetPath("flags/cambodiaRound.png"),style:n({borderRadius:"50%"},e.style)},e))},mn=function(e){return o.createElement("img",n({src:h.getAssetPath("flags/cambodiaSquare.png")},e))},hn=function(e){return o.createElement("svg",n({viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:n({borderRadius:"50%"},e.style)},e),o.createElement("g",null,o.createElement("mask",{style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"20",height:"20"},o.createElement("circle",{cx:"10",cy:"10",r:"10",fill:"#C4C4C4"})),o.createElement("path",{d:"M7.49953 0.327881C5.47199 0.850891 3.69346 1.98591 2.37793 3.53444L7.49953 6.6655V0.327881Z",fill:"#3F51B5"}),o.createElement("path",{d:"M2.30273 16.3824C3.62476 17.9749 5.4353 19.1399 7.50034 19.6729V13.2053L2.30273 16.3824Z",fill:"#3F51B5"}),o.createElement("path",{d:"M0.328125 12.5C0.334625 12.526 0.341125 12.5515 0.348125 12.5775L0.474128 12.5H0.328125Z",fill:"white"}),o.createElement("path",{d:"M17.7871 3.73445C16.4571 2.08391 14.6131 0.872891 12.499 0.327881V6.96651L17.7871 3.73445Z",fill:"#3F51B5"}),o.createElement("path",{d:"M12.499 19.6722C14.6506 19.1172 16.5196 17.8707 17.8546 16.1752L12.499 12.9021V19.6722Z",fill:"#3F51B5"}),o.createElement("path",{d:"M0.376626 7.31055C0.359125 7.37305 0.344125 7.43705 0.328125 7.50005H0.686632L0.376626 7.31055Z",fill:"white"}),o.createElement("path",{d:"M19.8745 8.50006C19.827 8.18506 19.7655 7.87555 19.6895 7.57104L18.1699 8.50006H19.8745Z",fill:"white"}),o.createElement("path",{d:"M0.686034 7.50024H0.327527C0.243026 7.82775 0.175524 8.16076 0.124023 8.50026H2.32207L0.686034 7.50024Z",fill:"white"}),o.createElement("path",{d:"M19.7197 12.3148C19.7832 12.0473 19.8337 11.7752 19.8752 11.5002H18.3867L19.7197 12.3148Z",fill:"white"}),o.createElement("path",{d:"M2.10956 11.5002H0.124023C0.175024 11.8398 0.243026 12.1728 0.327527 12.5003H0.47403L2.10956 11.5002Z",fill:"white"}),o.createElement("path",{d:"M8.50002 7.27665V0.124512C8.16051 0.175513 7.82751 0.243514 7.5 0.328016V6.66564L8.50002 7.27665Z",fill:"white"}),o.createElement("path",{d:"M11.5 12.2913V19.8759C11.8395 19.8249 12.1725 19.7569 12.5 19.6724V12.9023L11.5 12.2913Z",fill:"white"}),o.createElement("path",{d:"M7.5 13.205V19.6721C7.82751 19.7566 8.16051 19.8241 8.50002 19.8756V12.594L7.5 13.205Z",fill:"white"}),o.createElement("path",{d:"M11.5925 7.34715L11.7345 7.43415L12.5 6.96614V0.328016C12.1725 0.243514 11.8395 0.176013 11.5 0.124512V7.49865L11.5925 7.34715Z",fill:"white"}),o.createElement("path",{d:"M2.32251 8.50002H7.01761L8.50014 7.594V7.277L7.50011 6.66548L2.37852 3.53442C1.95151 4.03743 1.572 4.58144 1.24949 5.16296L5.02507 7.5H2.29701L0.650482 6.47648C0.54748 6.74949 0.455478 7.02699 0.375977 7.3105L0.686483 7.5L2.32251 8.50002Z",fill:"white"}),o.createElement("path",{d:"M11.7344 7.43419L13.4784 8.50021H18.171L19.6905 7.57119C19.528 6.92118 19.303 6.29767 19.02 5.70516L16.139 7.50019H13.4109L18.317 4.45013C18.1515 4.20313 17.9735 3.96562 17.7875 3.73462L12.4999 6.96618L11.7344 7.43419Z",fill:"white"}),o.createElement("path",{d:"M5.02448 7.50013L1.2494 5.16309C1.0169 5.58259 0.821394 6.0231 0.650391 6.47661L2.29642 7.50013H5.02448Z",fill:"#E53935"}),o.createElement("path",{d:"M16.1392 7.50024L19.0207 5.70521C18.8132 5.2702 18.5837 4.84819 18.3177 4.45068L13.4111 7.50024H16.1392Z",fill:"#E53935"}),o.createElement("path",{d:"M11.5 11.5002V12.2913L12.5 12.9023L17.8556 16.1758C18.2416 15.6853 18.5836 15.1593 18.8736 14.6008L15.4856 12.5003H18.2136L19.4432 13.2673C19.5507 12.9563 19.6432 12.6393 19.7197 12.3153L18.3871 11.5002H11.5Z",fill:"white"}),o.createElement("path",{d:"M13.4785 8.50019L11.7345 7.43417L11.5925 7.34717L11.5 7.49867V8.50019H13.4785Z",fill:"white"}),o.createElement("path",{d:"M8.49934 12.5943V11.5002H2.10921L0.473182 12.5003L0.34668 12.5778C0.522683 13.2383 0.762688 13.8713 1.06319 14.4708L4.16375 12.5003H6.89181L1.80071 15.7168C1.95971 15.9448 2.12471 16.1688 2.30172 16.3823L7.49932 13.2053L8.49934 12.5943Z",fill:"white"}),o.createElement("path",{d:"M7.01758 8.50026H8.50011V7.59424L7.01758 8.50026Z",fill:"white"}),o.createElement("path",{d:"M15.4854 12.5L18.8729 14.6C19.0949 14.173 19.2834 13.727 19.4429 13.2665L18.2134 12.5H15.4854Z",fill:"#E53935"}),o.createElement("path",{d:"M4.16501 12.5L1.06445 14.4705C1.28196 14.9045 1.52596 15.3216 1.80197 15.7166L6.89307 12.5H4.16501Z",fill:"#E53935"}),o.createElement("path",{d:"M13.4785 8.5H11.5V11.5001H18.3871H19.8757C19.9497 11.0095 20.0002 10.511 20.0002 10C20.0002 9.48902 19.9497 8.99051 19.8757 8.5H18.1711H13.4785Z",fill:"#E53935"}),o.createElement("path",{d:"M8.50017 11.5001V8.5H7.01764H2.32255H0.124502C0.050501 8.99051 0 9.48902 0 10C0 10.511 0.050501 11.0095 0.124502 11.5001H2.11004H8.50017Z",fill:"#E53935"}),o.createElement("path",{d:"M11.5001 19.8759V12.2912V11.5002V8.50016V7.49865V0.124502C11.0095 0.050501 10.511 0 10 0C9.48902 0 8.99051 0.050501 8.5 0.124502V7.27664V7.59365V8.50016V11.5002V12.5942V19.8759C8.99051 19.9499 9.48902 20.0004 10 20.0004C10.511 20.0004 11.0095 19.9499 11.5001 19.8759Z",fill:"#E53935"})))},un=function(e){return o.createElement("svg",n({viewBox:"0 0 26 26",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),o.createElement("g",null,o.createElement("mask",{style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"1",y:"5",width:"24",height:"16"},o.createElement("path",{d:"M1.08301 7.41675C1.08301 6.31218 1.97844 5.41675 3.08301 5.41675H22.9163C24.0209 5.41675 24.9163 6.31218 24.9163 7.41675V18.5834C24.9163 19.688 24.0209 20.5834 22.9163 20.5834H3.08301C1.97844 20.5834 1.08301 19.688 1.08301 18.5834V7.41675Z",fill:"#3F51B5"})),o.createElement("path",{d:"M1.08301 5.41675H24.9163V20.5834H1.08301V5.41675Z",fill:"#3F51B5"}),o.createElement("path",{d:"M1.08301 7.70041L12.3551 14.5899L14.05 11.8165L3.57901 5.41675H1.08301V7.70041Z",fill:"white"}),o.createElement("path",{d:"M24.9165 5.41675H22.9616L12.4912 11.816L14.1855 14.5899L24.9165 8.03083V5.41675Z",fill:"white"}),o.createElement("path",{d:"M14.1855 10.9802L12.4912 13.7536L23.6658 20.5834H24.9165V17.5387L14.1855 10.9802Z",fill:"white"}),o.createElement("path",{d:"M1.08301 17.8702V20.5834H2.87592L14.05 13.7541L12.3556 10.9802L1.08301 17.8702Z",fill:"white"}),o.createElement("path",{d:"M1.08301 10.8333H24.9163V15.1666H1.08301V10.8333Z",fill:"white"}),o.createElement("path",{d:"M10.833 5.41675H15.1663V20.5834H10.833V5.41675Z",fill:"white"}),o.createElement("path",{d:"M9.32609 10.8334L1.08301 5.79537V7.06504L7.24826 10.8334H9.32609ZM24.0004 5.41675L15.1376 10.8334H17.2149L24.9163 6.12687V5.41675H24.0004ZM17.9191 15.1667L24.9163 19.4432V18.1735L19.9964 15.1667H17.9191ZM8.62192 15.1667L1.08301 19.7742V20.5834H1.83701L10.6992 15.1667H8.62192ZM1.08301 11.9167H24.9163V14.0834H1.08301V11.9167Z",fill:"#E53935"}),o.createElement("path",{d:"M11.917 5.41675H14.0837V20.5834H11.917V5.41675Z",fill:"#E53935"})))},gn=function(e){return o.createElement("img",n({src:h.getAssetPath("flags/indiaRound.png"),style:n({borderRadius:"50%"},e.style)},e))},fn=function(e){return o.createElement("img",n({src:h.getAssetPath("flags/indiaSquare.png")},e))},xn=function(t){var i=t.isTesting,a=e(t,["isTesting"]),l=s("id-flag-round-mask-"+(i?1:Math.random()));return o.createElement("svg",n({viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a),o.createElement("mask",{id:l.current,style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"20",height:"20"},o.createElement("circle",{cx:"10",cy:"10",r:"10",fill:"#C4C4C4"})),o.createElement("g",{mask:"url(#".concat(l.current,")")},o.createElement("rect",{width:"20",height:"10",fill:"#CE1126"}),o.createElement("rect",{y:"10",width:"20",height:"10",fill:"white"})))},vn=function(t){var i=t.isTesting,a=e(t,["isTesting"]),l=s("id-flag-clip-"+(i?1:Math.random()));return o.createElement("svg",n({viewBox:"0 0 24 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a),o.createElement("g",{clipPath:"url(#".concat(l.current,")")},o.createElement("rect",{y:"0.0166016",width:"24",height:"8",fill:"#CE1126"}),o.createElement("rect",{y:"8.0166",width:"24",height:"8",fill:"white"})),o.createElement("defs",null,o.createElement("clipPath",{id:l.current},o.createElement("rect",{width:"24",height:"16",rx:"2",fill:"white"}))))},yn=function(e){return o.createElement("svg",n({viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:n({borderRadius:"50%"},e.style)},e),o.createElement("g",null,o.createElement("mask",{style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"20",height:"20"},o.createElement("circle",{cx:"10",cy:"10",r:"10",fill:"#C4C4C4"})),o.createElement("rect",{y:"1",width:"20",height:"20",fill:"#CC0001"}),o.createElement("rect",{y:"16.106",width:"20",height:"1.02041",fill:"white"}),o.createElement("rect",{y:"16",width:"20",height:"1.02041",fill:"white"}),o.createElement("rect",{y:"18",width:"20",height:"1.02041",fill:"white"}),o.createElement("rect",{y:"14.0652",width:"20",height:"1.02041",fill:"white"}),o.createElement("rect",{y:"12.0242",width:"20",height:"1.02041",fill:"white"}),o.createElement("rect",{y:"9.9834",width:"20",height:"1.02041",fill:"white"}),o.createElement("rect",{y:"7.94263",width:"20",height:"1.02041",fill:"white"}),o.createElement("rect",{y:"5.90186",width:"20",height:"1.02041",fill:"white"}),o.createElement("rect",{y:"3.86084",width:"20",height:"1.02041",fill:"white"}),o.createElement("rect",{y:"2",width:"20",height:"1.02041",fill:"white"}),o.createElement("rect",{width:"20",height:"1.02041",fill:"white"}),o.createElement("rect",{y:"-1",width:"10",height:"12",fill:"#010066"}),o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.11387 3.86084C2.92711 3.86084 1.96387 5.23232 1.96387 6.92206C1.96387 8.6118 2.92711 9.98329 4.11387 9.98329C4.54263 9.98329 4.94211 9.80406 5.27763 9.4957C5.08225 9.59203 4.87256 9.64471 4.65427 9.64471C3.60193 9.64471 2.74786 8.42866 2.74786 6.93032C2.74786 5.43198 3.60193 4.21594 4.65427 4.21594C4.88682 4.21594 5.10959 4.27527 5.31571 4.38397C4.97256 4.0538 4.5589 3.86084 4.11387 3.86084Z",fill:"#FFCC00"}),o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.67935 8.51573L6.7737 7.8407L7.04147 9.22221L6.43573 8.06657L6.24676 9.47313L6.0609 8.06576L5.4526 9.2188L5.72343 7.83844L4.81629 8.50957L5.49017 7.42963L4.46387 7.48593L5.40732 6.9203L4.46512 6.35062L5.4913 6.41133L4.81981 5.3285L5.72546 6.00353L5.45769 4.62202L6.06343 5.77766L6.25241 4.37109L6.43827 5.77847L7.04656 4.62543L6.77574 6.00579L7.68287 5.33466L7.00899 6.4146L8.0353 6.3583L7.09184 6.92392L8.03404 7.49361L7.00786 7.43289L7.67935 8.51573Z",fill:"#FFCC00"})))},bn=function(e){return o.createElement("svg",n({viewBox:"0 0 24 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),o.createElement("rect",{width:"24",height:"16",rx:"2",fill:"#CC0001"}),o.createElement("rect",{y:"12.2712",width:"24",height:"0.777454",fill:"white"}),o.createElement("rect",{y:"12.1904",width:"24",height:"0.777454",fill:"white"}),o.createElement("rect",{y:"13.7144",width:"24",height:"0.777454",fill:"white"}),o.createElement("rect",{y:"10.7161",width:"24",height:"0.777454",fill:"white"}),o.createElement("rect",{y:"9.16138",width:"24",height:"0.777454",fill:"white"}),o.createElement("rect",{y:"7.60645",width:"24",height:"0.777454",fill:"white"}),o.createElement("rect",{y:"6.05127",width:"24",height:"0.777454",fill:"white"}),o.createElement("rect",{y:"4.49658",width:"24",height:"0.777454",fill:"white"}),o.createElement("rect",{y:"2.94141",width:"24",height:"0.777454",fill:"white"}),o.createElement("rect",{y:"1.52393",width:"24",height:"0.777454",fill:"white"}),o.createElement("rect",{width:"24",height:"0.777454",fill:"white"}),o.createElement("path",{d:"M0 2C0 0.895431 0.895431 0 2 0H12V8.38095H0V2Z",fill:"#010066"}),o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.93644 1.52393C3.51233 1.52393 2.35645 2.56887 2.35645 3.85629C2.35645 5.14371 3.51233 6.18865 4.93644 6.18865C5.45096 6.18865 5.93034 6.05209 6.33296 5.81716C6.09851 5.89054 5.84688 5.93068 5.58492 5.93068C4.32212 5.93068 3.29724 5.00417 3.29724 3.86258C3.29724 2.72099 4.32212 1.79448 5.58492 1.79448C5.86399 1.79448 6.13132 1.83968 6.37865 1.9225C5.96688 1.67094 5.47049 1.52393 4.93644 1.52393Z",fill:"#FFCC00"}),o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.216 5.07041L8.12923 4.55611L8.45055 5.60869L7.72366 4.72819L7.49689 5.79987L7.27386 4.72758L6.5439 5.60609L6.86889 4.55439L5.78033 5.06572L6.58899 4.24291L5.35742 4.28581L6.48957 3.85485L5.35893 3.42081L6.59034 3.46707L5.78456 2.64205L6.87133 3.15636L6.55001 2.10378L7.2769 2.98427L7.50367 1.9126L7.7267 2.98488L8.45666 2.10638L8.13166 3.15808L9.22022 2.64674L8.41157 3.46955L9.64314 3.42666L8.51099 3.85761L9.64163 4.29165L8.41022 4.2454L9.216 5.07041Z",fill:"#FFCC00"}))},wn=function(e){return o.createElement("svg",n({viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:n({borderRadius:"50%"},e.style)},e),o.createElement("g",null,o.createElement("mask",{style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"20",height:"20"},o.createElement("circle",{cx:"10",cy:"10",r:"10",fill:"#C4C4C4"})),o.createElement("rect",{x:"-4",y:"-1",width:"28",height:"11",fill:"#FECB00"}),o.createElement("rect",{x:"-4",y:"10",width:"28",height:"10",fill:"#EA2839"}),o.createElement("rect",{x:"-4",y:"6.7041",width:"28",height:"6.47773",fill:"#34B233"}),o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.56543 10.3272L10.1796 5.15527L11.7938 10.3272H8.56543Z",fill:"white"}),o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.5292 11.2775L7.18336 14.5129L8.91745 9.37991L11.5292 11.2775Z",fill:"white"}),o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.75181 11.8648L5.33182 8.73143L10.7494 8.79447L9.75181 11.8648Z",fill:"white"}),o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.6105 8.78962L15.0281 8.72658L10.6081 11.86L9.6105 8.78962Z",fill:"white"}),o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.4424 9.37686L13.1765 14.5098L8.83064 11.2744L11.4424 9.37686Z",fill:"white"})))},En=function(e){return o.createElement("svg",n({viewBox:"0 0 24 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),o.createElement("rect",{width:"24",height:"16",rx:"2",fill:"#FECB00"}),o.createElement("rect",{y:"8.3811",width:"24",height:"7.61905",rx:"2",fill:"#EA2839"}),o.createElement("rect",{y:"5.86987",width:"24",height:"4.93542",fill:"#34B233"}),o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.7705 8.63046L12.1541 4.68994L13.5377 8.63046H10.7705Z",fill:"white"}),o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.3108 9.35502L9.58574 11.8201L11.0721 7.90925L13.3108 9.35502Z",fill:"white"}),o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.7874 9.80216L7.99884 7.41482L12.6425 7.46285L11.7874 9.80216Z",fill:"white"}),o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.6667 7.4589L16.3104 7.41087L12.5218 9.79821L11.6667 7.4589Z",fill:"white"}),o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.2361 7.90629L14.7225 11.8171L10.9974 9.35207L13.2361 7.90629Z",fill:"white"}))},kn=function(e){return o.createElement("img",n({src:h.getAssetPath("flags/philippineRound.png"),style:n({borderRadius:"50%"},e.style)},e))},Cn=function(e){return o.createElement("img",n({src:h.getAssetPath("flags/philippineSquare.png")},e))},Ln=function(e){return o.createElement("svg",n({viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:n({borderRadius:"50%"},e.style)},e),o.createElement("g",null,o.createElement("mask",{style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"20",height:"20"},o.createElement("circle",{cx:"10",cy:"10",r:"10",fill:"#C4C4C4"})),o.createElement("circle",{cx:"10",cy:"10",r:"10",fill:"#D8D8D8"}),o.createElement("g",null,o.createElement("mask",{style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"20",height:"20"},o.createElement("circle",{cx:"10",cy:"10",r:"10",fill:"white"})),o.createElement("rect",{width:"30",height:"20",fill:"#ED1E24"}),o.createElement("rect",{width:"15",height:"10",fill:"#2B2F84"}),o.createElement("circle",{cx:"7.49791",cy:"4.99913",r:"1.869",fill:"white"}),o.createElement("path",{d:"M7.93582 2.89402L7.49722 1.25732L7.05762 2.89812C7.28902 2.84212 7.64062 2.82912 7.93582 2.89402Z",fill:"white"}),o.createElement("path",{d:"M6.82515 2.95674L5.62695 1.75854L6.06655 3.39934C6.23895 3.23514 6.53695 3.04814 6.82515 2.95674Z",fill:"white"}),o.createElement("path",{d:"M5.89364 3.56677L4.25684 3.12817L5.45794 4.32927C5.52514 4.10107 5.68964 3.79007 5.89364 3.56677Z",fill:"white"}),o.createElement("path",{d:"M5.39266 4.56055L3.75586 4.99915L5.39666 5.43885C5.34066 5.20745 5.32756 4.85585 5.39266 4.56055Z",fill:"white"}),o.createElement("path",{d:"M5.45504 5.67188L4.25684 6.87007L5.89764 6.43047C5.73344 6.25807 5.54634 5.96007 5.45504 5.67188Z",fill:"white"}),o.createElement("path",{d:"M6.06555 6.60278L5.62695 8.23958L6.82815 7.03838C6.59975 6.97128 6.28875 6.80678 6.06555 6.60278Z",fill:"white"}),o.createElement("path",{d:"M7.05859 7.1041L7.49719 8.7409L7.93679 7.1001C7.70549 7.1561 7.35399 7.1692 7.05859 7.1041Z",fill:"white"}),o.createElement("path",{d:"M8.16992 7.04148L9.36812 8.23968L8.92852 6.59888C8.75622 6.76308 8.45822 6.95018 8.16992 7.04148Z",fill:"white"}),o.createElement("path",{d:"M9.10156 6.43145L10.7384 6.87005L9.53726 5.66895C9.47006 5.89725 9.30556 6.20825 9.10156 6.43145Z",fill:"white"}),o.createElement("path",{d:"M9.60263 5.43763L11.2394 4.99903L9.59863 4.55933C9.65463 4.79073 9.66763 5.14223 9.60263 5.43763Z",fill:"white"}),o.createElement("path",{d:"M9.54026 4.32637L10.7385 3.12817L9.09766 3.56777C9.26196 3.74007 9.44896 4.03807 9.54026 4.32637Z",fill:"white"}),o.createElement("path",{d:"M8.92959 3.39534L9.36819 1.75854L8.16699 2.95964C8.39529 3.02674 8.70629 3.19124 8.92959 3.39534Z",fill:"white"}))))},Pn=function(e){return o.createElement("svg",n({viewBox:"0 0 24 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),o.createElement("rect",{width:"24",height:"16",rx:"2",fill:"#ED1E24"}),o.createElement("path",{d:"M0 2C0 0.89543 0.895431 0 2 0H15V10H0V2Z",fill:"#2B2F84"}),o.createElement("circle",{cx:"7.49791",cy:"4.99913",r:"1.869",fill:"white"}),o.createElement("path",{d:"M7.93582 2.89402L7.49722 1.25732L7.05762 2.89812C7.28902 2.84212 7.64062 2.82912 7.93582 2.89402Z",fill:"white"}),o.createElement("path",{d:"M6.82515 2.95674L5.62695 1.75854L6.06655 3.39934C6.23895 3.23514 6.53695 3.04814 6.82515 2.95674Z",fill:"white"}),o.createElement("path",{d:"M5.89364 3.56677L4.25684 3.12817L5.45794 4.32927C5.52514 4.10107 5.68964 3.79007 5.89364 3.56677Z",fill:"white"}),o.createElement("path",{d:"M5.39266 4.56055L3.75586 4.99915L5.39666 5.43885C5.34066 5.20745 5.32756 4.85585 5.39266 4.56055Z",fill:"white"}),o.createElement("path",{d:"M5.45504 5.67188L4.25684 6.87007L5.89764 6.43047C5.73344 6.25807 5.54634 5.96007 5.45504 5.67188Z",fill:"white"}),o.createElement("path",{d:"M6.06555 6.60278L5.62695 8.23958L6.82815 7.03838C6.59975 6.97128 6.28875 6.80678 6.06555 6.60278Z",fill:"white"}),o.createElement("path",{d:"M7.05859 7.1041L7.49719 8.7409L7.93679 7.1001C7.70549 7.1561 7.35399 7.1692 7.05859 7.1041Z",fill:"white"}),o.createElement("path",{d:"M8.16992 7.04148L9.36812 8.23968L8.92852 6.59888C8.75622 6.76308 8.45822 6.95018 8.16992 7.04148Z",fill:"white"}),o.createElement("path",{d:"M9.10156 6.43145L10.7384 6.87005L9.53726 5.66895C9.47006 5.89725 9.30556 6.20825 9.10156 6.43145Z",fill:"white"}),o.createElement("path",{d:"M9.60263 5.43763L11.2394 4.99903L9.59863 4.55933C9.65463 4.79073 9.66763 5.14223 9.60263 5.43763Z",fill:"white"}),o.createElement("path",{d:"M9.54026 4.32637L10.7385 3.12817L9.09766 3.56777C9.26196 3.74007 9.44896 4.03807 9.54026 4.32637Z",fill:"white"}),o.createElement("path",{d:"M8.92959 3.39534L9.36819 1.75854L8.16699 2.95964C8.39529 3.02674 8.70629 3.19124 8.92959 3.39534Z",fill:"white"}))},Mn=function(e){return o.createElement("svg",n({viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:n({borderRadius:"50%"},e.style)},e),o.createElement("g",null,o.createElement("mask",{style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"20",height:"20"},o.createElement("circle",{cx:"10",cy:"10",r:"10",fill:"#C4C4C4"})),o.createElement("rect",{x:"-4",y:"-0.0166016",width:"28",height:"20",fill:"#ED1C24"}),o.createElement("rect",{x:"-4",y:"3.31665",width:"28",height:"13.3333",fill:"white"}),o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M-4 6.65015H24V13.3168H-4V6.65015Z",fill:"#241D4F"})))},Bn=function(e){return o.createElement("svg",n({viewBox:"0 0 24 17",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),o.createElement("rect",{y:"0.983398",width:"24",height:"16",rx:"2",fill:"#ED1C24"}),o.createElement("rect",{y:"3.65039",width:"24",height:"10.6667",fill:"white"}),o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 6.31689H24V11.6502H0V6.31689Z",fill:"#241D4F"}))},Hn=function(e){return o.createElement("svg",n({viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:n({borderRadius:"50%"},e.style)},e),o.createElement("g",null,o.createElement("mask",{style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"20",height:"20"},o.createElement("circle",{cx:"10",cy:"10",r:"10",fill:"#C4C4C4"})),o.createElement("rect",{x:"-4",y:"-0.0166016",width:"28",height:"20",fill:"#DA251D"}),o.createElement("path",{d:"M11.7228 10.8677L14.2819 9.00839L11.1187 9.00839L10.1409 6L9.16316 9.00839L6 9.00839L8.5591 10.8677L7.58184 13.8766L10.1409 12.0168L12.7 13.8766L11.7228 10.8677Z",fill:"#FFEB3B"})))},Nn=function(e){return o.createElement("svg",n({viewBox:"0 0 24 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),o.createElement("g",null,o.createElement("clipPath",null,o.createElement("rect",{width:"24",height:"16",fill:"white"})),o.createElement("path",{d:"M2.01386e-10 2C0 0.895431 0.895431 -7.50368e-10 2 -1.67599e-09L22 -1.84359e-08C23.1046 -1.93615e-08 24 0.895431 24 2L24 14C24 15.1046 23.1046 16 22 16L2 16C0.89543 16 1.52092e-09 15.1046 1.4097e-09 14L2.01386e-10 2Z",fill:"#DA251D"}),o.createElement("path",{d:"M13.7823 8.92854L16.6663 6.8332L13.1016 6.8332L11.9997 3.44287L10.8978 6.8332L7.33301 6.8332L10.217 8.92854L9.11567 12.3195L11.9997 10.2235L14.8837 12.3195L13.7823 8.92854Z",fill:"#FFEB3B"})))},Tn="pfaLGRK",An=function(n){var e,t,i=n.country,a=n.language,l=n.rounded,r=n.height,s=n.width,c=n.isTesting;switch(a){case"en":e=o.createElement(un,null),t=o.createElement(hn,null);break;case"vi":e=o.createElement(Nn,null),t=o.createElement(Hn,null);break;case"id":e=o.createElement(vn,{isTesting:c}),t=o.createElement(xn,{isTesting:c});break;case"th":e=o.createElement(Bn,null),t=o.createElement(Mn,null);break;case"km":e=o.createElement(mn,null),t=o.createElement(pn,null);break;case"ms":e=o.createElement(bn,null),t=o.createElement(yn,null);break;case"my":e=o.createElement(En,null),t=o.createElement(wn,null);break;case"tl":e=o.createElement(Cn,null),t=o.createElement(kn,null);break;case"hi":e=o.createElement(fn,null),t=o.createElement(gn,null);break;case"zh":e=o.createElement(Pn,null),t=o.createElement(Ln,null)}if(!e&&!t)switch(i){case"VN":e=o.createElement(Nn,null),t=o.createElement(Hn,null);break;case"ID":e=o.createElement(vn,{isTesting:c}),t=o.createElement(xn,{isTesting:c});break;case"TH":e=o.createElement(Bn,null),t=o.createElement(Mn,null);break;case"KH":e=o.createElement(mn,null),t=o.createElement(pn,null);break;case"MY":e=o.createElement(bn,null),t=o.createElement(yn,null);break;case"MM":e=o.createElement(En,null),t=o.createElement(wn,null);break;case"PH":e=o.createElement(Cn,null),t=o.createElement(kn,null);break;case"IN":e=o.createElement(fn,null),t=o.createElement(gn,null);break;case"TW":e=o.createElement(Pn,null),t=o.createElement(Ln,null)}return o.createElement("div",{className:Tn,style:{"--width":s||20,"--height":r||20}},l?t:e)},zn=u.a($||($=t(["\n display: inline-flex;\n position: relative;\n flex-direction: row;\n align-items: center;\n padding: 7px 11px;\n gap: 2px;\n\n background: ",";\n border: 1px solid ",";\n border-radius: 20px;\n\n color: ",";\n font-weight: 600;\n font-size: 12px;\n line-height: 18px;\n text-decoration: none;\n\n cursor: pointer;\n"],["\n display: inline-flex;\n position: relative;\n flex-direction: row;\n align-items: center;\n padding: 7px 11px;\n gap: 2px;\n\n background: ",";\n border: 1px solid ",";\n border-radius: 20px;\n\n color: ",";\n font-weight: 600;\n font-size: 12px;\n line-height: 18px;\n text-decoration: none;\n\n cursor: pointer;\n"])),(function(n){return n.theme.colors.white}),(function(n){return n.theme.colors.neutral100}),(function(n){return n.theme.colors.gray600})),_n=u.div(nn||(nn=t(["\n position: relative;\n display: inline-block;\n"],["\n position: relative;\n display: inline-block;\n"]))),Un=u.div(en||(en=t(["\n position: relative;\n"],["\n position: relative;\n"]))),Rn=u.div(tn||(tn=t(["\n position: absolute;\n z-index: 21;\n top: 100%;\n right: 0;\n width: 327px;\n padding: 8px;\n background: white;\n border-radius: 4px;\n filter: drop-shadow(0px 8px 40px rgba(0, 0, 0, 0.1));\n\n &[data-is-open='false'] {\n display: none;\n }\n &[data-show-indicator='true'] {\n &:before {\n position: absolute;\n right: 11px;\n bottom: 100%;\n width: 0;\n height: 0;\n border: 0.5rem solid transparent;\n border-top: none;\n border-bottom-color: #fff;\n content: '';\n filter: drop-shadow(0 -0.0625rem 0.0625rem rgba(0, 0, 0, 0.1));\n }\n }\n"],["\n position: absolute;\n z-index: 21;\n top: 100%;\n right: 0;\n width: 327px;\n padding: 8px;\n background: white;\n border-radius: 4px;\n filter: drop-shadow(0px 8px 40px rgba(0, 0, 0, 0.1));\n\n &[data-is-open='false'] {\n display: none;\n }\n &[data-show-indicator='true'] {\n &:before {\n position: absolute;\n right: 11px;\n bottom: 100%;\n width: 0;\n height: 0;\n border: 0.5rem solid transparent;\n border-top: none;\n border-bottom-color: #fff;\n content: '';\n filter: drop-shadow(0 -0.0625rem 0.0625rem rgba(0, 0, 0, 0.1));\n }\n }\n"]))),Sn=u.div(an||(an=t(["\n display: flex;\n height: 40px;\n align-items: center;\n justify-content: space-between;\n\n padding: 0 16px;\n border-radius: 6px;\n cursor: pointer;\n\n .check-icon {\n width: 16px;\n height: 16px;\n }\n &[data-selected='false'] {\n background-color: ",";\n }\n"],["\n display: flex;\n height: 40px;\n align-items: center;\n justify-content: space-between;\n\n padding: 0 16px;\n border-radius: 6px;\n cursor: pointer;\n\n .check-icon {\n width: 16px;\n height: 16px;\n }\n &[data-selected='false'] {\n background-color: ",";\n }\n"])),(function(n){return n.theme.colors.gray100})),Dn=u.div(on||(on=t(["\n position: fixed;\n z-index: 20;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n cursor: default;\n"],["\n position: fixed;\n z-index: 20;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n cursor: default;\n"]))),jn=function(n){var e=n.options,t=n.label,i=n.labelRenderer,a=n.selected,r=n.onChange,s=n.showSelected,c=void 0===s||s,d=n.style,p=void 0===d?{}:d,m=n.showIndicator,u=void 0===m||m,f=l(!1),x=f[0],v=f[1];return o.createElement(o.Fragment,null,o.createElement(_n,null,o.createElement(Un,{onClick:function(){return v((function(n){return!n}))}},t||(null==i?void 0:i(x))||null,o.createElement(Rn,{"data-is-open":x,style:p,"data-show-indicator":u},e.map((function(n,e){return o.createElement(Sn,{key:e,"data-selected":c&&a===n.value,onClick:function(e){a!==n.value&&(r(n.value),v((function(n){return!n}))),e.stopPropagation()}},o.createElement(g,{size:"p3"},n.label),c&&a===n.value&&o.createElement("img",{src:h.getAssetPath("check.svg"),alt:"check",className:"check-icon"}))}))))),x&&o.createElement(Dn,{onClick:function(){return v(!1)}}))},Zn=function(n){var e,t,i=n.languageOptions,a=n.locale,l=null==i?void 0:i.find((function(n){return n.locale===a}));return(null==i?void 0:i.length)?o.createElement(jn,{options:i,selected:l.value,label:o.createElement(Vn,{locale:a,label:l.label||(null===(t=null===(e=a.split("-"))||void 0===e?void 0:e[0])||void 0===t?void 0:t.toUpperCase())}),onChange:function(n){"undefined"!=typeof window&&(window.location.href=n)},style:{width:100},showSelected:!0,showIndicator:!1}):null},Vn=function(n){var e,t,i,a=n.locale,l=n.label,r=n.href;return o.createElement(zn,{href:r},o.createElement(An,{country:null===(t=null===(e=null==a?void 0:a.split("-"))||void 0===e?void 0:e[1])||void 0===t?void 0:t.toUpperCase(),width:16,height:16,rounded:!0,language:null===(i=null==a?void 0:a.split("-"))||void 0===i?void 0:i[0]}),o.createElement("span",null,l))},Fn=u.div(ln||(ln=t(["\n ","\n"],["\n ","\n"])),(function(n){return"\n ".concat(0!==n.lowerBound?"@media (max-width: ".concat(n.lowerBound-1,"px) { display: none; }"):"","\n ").concat(0!==n.upperBound?"@media (min-width: ".concat(n.upperBound,"px) { display: none; }"):"","\n ")})),In=function(n){var e=n.forceDisplay,t=n.mediaQueryKey,i=n.children,a=n.className,l=n.style,r=c((function(){return R(t)}),[t]),s=r[0],d=r[1];return o.createElement(Fn,{lowerBound:e?0:s,upperBound:e?0:d,className:a,style:l},i)},On=function(n){var e=(n||{}).allowBgScroll,t=s();return{containerRef:t,onContainerFocus:function(){e||(document.documentElement.style.overflow="hidden")},onContainerBlur:function(){e||(document.documentElement.style.overflow="")},onButtonMouseDown:function(n){t.current&&(document.activeElement===t.current||t.current.contains(document.activeElement))&&(t.current.blur(),document.activeElement.blur(),n.preventDefault())},onClose:function(){t.current&&(document.activeElement===t.current||t.current.contains(document.activeElement))&&(t.current.blur(),document.activeElement.blur())}}},Gn=u.div(rn||(rn=t(["\n background-color: white;\n text-align: center;\n .cancle-img {\n margin-top: 24px;\n "," {\n width: 80px;\n height: 80px;\n }\n\n "," {\n width: 100px;\n height: 100px;\n }\n }\n\n h2 {\n margin-top: 32px;\n color: ",";\n font-style: normal;\n font-weight: bold;\n "," {\n font-size: 24px;\n line-height: 32px;\n }\n\n "," {\n font-size: 32px;\n line-height: 42px;\n }\n }\n\n p {\n margin-top: 8px;\n color: ",";\n font-style: normal;\n font-weight: normal;\n "," {\n font-size: 16px;\n line-height: 24px;\n }\n\n "," {\n font-size: 16px;\n line-height: 24px;\n }\n }\n"],["\n background-color: white;\n text-align: center;\n .cancle-img {\n margin-top: 24px;\n "," {\n width: 80px;\n height: 80px;\n }\n\n "," {\n width: 100px;\n height: 100px;\n }\n }\n\n h2 {\n margin-top: 32px;\n color: ",";\n font-style: normal;\n font-weight: bold;\n "," {\n font-size: 24px;\n line-height: 32px;\n }\n\n "," {\n font-size: 32px;\n line-height: 42px;\n }\n }\n\n p {\n margin-top: 8px;\n color: ",";\n font-style: normal;\n font-weight: normal;\n "," {\n font-size: 16px;\n line-height: 24px;\n }\n\n "," {\n font-size: 16px;\n line-height: 24px;\n }\n }\n"])),S.mbDown,S.mbUp,(function(n){return n.theme.colors.gray800}),S.mbDown,S.mbUp,(function(n){return n.theme.colors.gray600}),S.mbDown,S.mbUp),Wn=u.div(sn||(sn=t(["\n display: flex;\n\n "," {\n margin-top: 24px;\n }\n\n "," {\n margin-top: 32px;\n }\n justify-content: space-around;\n button {\n flex: 1;\n margin: 4px;\n }\n\n ","\n"],["\n display: flex;\n\n "," {\n margin-top: 24px;\n }\n\n "," {\n margin-top: 32px;\n }\n justify-content: space-around;\n button {\n flex: 1;\n margin: 4px;\n }\n\n ","\n"])),S.mbDown,S.mbUp,(function(n){return"marryBaby"===n.siteType?"\n .cancel-button {\n background-color: #E55C8A;\n }\n .cancel-button:hover {\n background-color: #E55C8A !important;\n }\n .logout-button {\n border-color: #E55C8A;\n color: #E55C8A;\n }\n ":""})),Yn=function(n){var e=n.openLogoutPopup,t=n.onCloseHandler,i=n.onLogoutHandler,a=n.siteType,l=void 0===a?"helloSites":a,s=_().t;return r((function(){document.body.classList.toggle("noscroll",e)}),[e]),o.createElement(I,null,o.createElement(B,{type:"confirm",isOpen:e,closeIcon:o.createElement("img",{src:h.getAssetPath("closeLight.svg"),style:{width:24,height:24},alt:"close-icon"}),onClose:t},o.createElement(Gn,null,"helloSites"===l&&o.createElement("img",{src:h.getAssetPath("arrowDoor.svg"),className:"cancle-img",alt:"close-account"}),o.createElement("h2",null,s("helloSites"===l?"logout.popup.ask1":"logout.popup.ask.mb")),o.createElement("p",null,s("logout.popup.ask2")),o.createElement(Wn,{siteType:l},o.createElement(V,{className:"logout-button",color:"tertiary",size:"lg",onClick:i},s("logout.popup.button.logout")),o.createElement(V,{className:"cancel-button",color:"primary",size:"lg",onClick:t},s("logout.popup.button.cancel"))))))},qn="hhgcomp-navprofilebutton-popup",Kn=O(u.div(Jn||(Jn=t(["\n position: absolute;\n right: 0;\n background-color: ",";\n\n &[data-animation='true'] {\n transition: all 0.5s ease-in-out;\n }\n\n &[data-open='true'] {\n z-index: 200;\n top: 120%;\n opacity: 1;\n visibility: visible;\n }\n\n &[data-open='false'] {\n display: none;\n }\n\n &[data-type='lead'] {\n width: 332px;\n height: 460px;\n\n div {\n top: -15px;\n right: -15px;\n }\n }\n\n &[data-type='welcome'] {\n position: fixed;\n "," {\n width: 100%;\n height: 424px;\n bottom: 0;\n top: unset;\n }\n "," {\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n width: 100%;\n min-height: 445px;\n max-width: 407px;\n }\n }\n\n &[data-type='due-date'] {\n position: fixed;\n "," {\n width: 100%;\n height: 100%;\n overflow-y: scroll;\n bottom: 0;\n top: unset;\n }\n "," {\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n width: 100vw;\n height: 55vw;\n max-height: 598px;\n max-width: 1080px;\n }\n }\n\n .popup-content {\n z-index: 111;\n height: 100%;\n "," {\n max-height: calc(100vh - var(--header-bottom, 64px));\n }\n overflow: auto;\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 &: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 width: 100%;\n border-top: 1px solid ",";\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 max-height: calc(100vh - var(--header-bottom, 64px));\n }\n overflow: auto;\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 &: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 width: 100%;\n border-top: 1px solid ",";\n }\n "," {\n width: 368px;\n }\n }\n\n .close-button {\n position: absolute;\n top: 0;\n right: 0;\n width: 32px;\n height: 32px;\n cursor: pointer;\n\n img {\n width: 100%;\n height: 100%;\n border-radius: 50%;\n }\n }\n"])),(function(n){return n.theme.colors.white}),S.mbDown,S.mbUp,S.mbDown,S.mbUp,S.mbDown,S.mbUp,(function(n){return n.theme.colors.gray200}),S.mbDown,F.colors.neutral100,S.mbUp),qn),Qn="hhgcomp-navprofilebutton-popupwrapper";O(u.div(Xn||(Xn=t(["\n position: fixed;\n z-index: 150;\n top: var(--header-bottom, 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: var(--header-bottom, 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"])),S.mbUp,S.mbDown),Qn);var Jn,Xn,$n,ne,ee,te=u.div($n||($n=t(["\n width: 40px;\n height: 40px;\n cursor: pointer;\n\n img {\n border-radius: 50%;\n }\n\n .avatar {\n width: 40px;\n height: 40px;\n object-fit: cover;\n }\n\n .avatar-default {\n display: flex;\n align-items: center;\n justify-content: center;\n background-color: ",";\n border-radius: 50%;\n color: white;\n font-size: 20px;\n font-weight: bold;\n }\n"],["\n width: 40px;\n height: 40px;\n cursor: pointer;\n\n img {\n border-radius: 50%;\n }\n\n .avatar {\n width: 40px;\n height: 40px;\n object-fit: cover;\n }\n\n .avatar-default {\n display: flex;\n align-items: center;\n justify-content: center;\n background-color: ",";\n border-radius: 50%;\n color: white;\n font-size: 20px;\n font-weight: bold;\n }\n"])),(function(n){return n.theme.colors.secondaryBase})),ie=u.a(ne||(ne=t(["\n display: inline-flex;\n position: relative;\n width: 40px;\n height: 40px;\n display: flex;\n align-items: center;\n justify-content: center;\n text-decoration: none;\n flex-shrink: 0;\n\n .user-close-icon {\n display: none;\n }\n &:focus-within {\n .user-close-icon {\n display: block;\n }\n .user-avatar {\n display: none;\n }\n ."," {\n z-index: 200;\n top: 120%;\n opacity: 1;\n visibility: visible;\n display: initial;\n &[data-type='profile'] {\n "," {\n top: 100%;\n }\n }\n }\n ."," {\n display: initial;\n }\n }\n"],["\n display: inline-flex;\n position: relative;\n width: 40px;\n height: 40px;\n display: flex;\n align-items: center;\n justify-content: center;\n text-decoration: none;\n flex-shrink: 0;\n\n .user-close-icon {\n display: none;\n }\n &:focus-within {\n .user-close-icon {\n display: block;\n }\n .user-avatar {\n display: none;\n }\n ."," {\n z-index: 200;\n top: 120%;\n opacity: 1;\n visibility: visible;\n display: initial;\n &[data-type='profile'] {\n "," {\n top: 100%;\n }\n }\n }\n ."," {\n display: initial;\n }\n }\n"])),qn,S.mbDown,Qn),ae=u.a(ee||(ee=t(["\n display: inline-flex;\n .login-btn[data-color='tertiary'][data-size='md'] {\n padding-left: 12px;\n padding-right: 12px;\n }\n .mobile-only {\n "," {\n display: none;\n }\n }\n .login-btn {\n padding-left: 10px;\n padding-right: 10px;\n display: none;\n "," {\n display: block;\n }\n }\n"],["\n display: inline-flex;\n .login-btn[data-color='tertiary'][data-size='md'] {\n padding-left: 12px;\n padding-right: 12px;\n }\n .mobile-only {\n "," {\n display: none;\n }\n }\n .login-btn {\n padding-left: 10px;\n padding-right: 10px;\n display: none;\n "," {\n display: block;\n }\n }\n"])),S.mbUp,S.mbUp),oe="profile/posts?website_url={websiteUrl}",le=99,re=300,se=400,ce=210,de=function(n){var e,t,i,a;return n?{termId:n.term_id||null,sponsor:n.sponsor?(a=n.sponsor,a?{title:a.title,logo:a.logo,link:a.link}:{}):null,isSponsored:n.is_sponsored||null,categoryName:n.cat_name||n.name||null,name:n.name||null,iconUrl:n.icon||"",slugName:n.category_nicename||null,description:n.description||null,featureImage:n.thumbnail||n.image||null,displayName:n.name||null,parent:n.parent||null,permalink:n.permalink||null,slug:n.slug||null,childCates:(null===(e=n.child_cates)||void 0===e?void 0:e.map((function(n){return de(n)})))||[],thumnailColor:n.thumnail_color||["#FFEAF1","#E0E9FB","#FFF9EB","#F2FCF7","#F3F3F3"][5*Math.random()|0],colorFeatureImage:n.color_feature_image||null,imageColor:n.image_color||null,textColor:n.text_color||null,catParent:(null===(t=n.cat_parent)||void 0===t?void 0:t.name)?{name:n.cat_parent.name,permalink:n.cat_parent.permalink}:{},metaTag:n.meta_tag||"",reviewedBy:n.reviewed_by?(i=n.reviewed_by,{postTitle:i.post_title,permalink:i.permalink}):null,reviewedDate:n.reviewed_date||"",faqs:n.faqs?n.faqs.map((function(n){return function(n){return{title:n.title,content:n.content}}(n)})):null}:{}},pe=function(n){var e,t;if(!n)return{};var i=null===(e=n.link)||void 0===e?void 0:e.includes("/bot/"),a=null===(t=n.link)||void 0===t?void 0:t.startsWith("/fil/"),o=n.link?n.link.startsWith("http")||i?n.link:a?n.link.replace("/health-tools/","/").replace("/fil/","/fil/health-tools/"):"/health-tools".concat(n.link.replace("/health-tools/","/")):void 0;return{icon:n.icon,link:o,subtitle:n.subtitle,title:n.title}},me=function(n){return n?{thumbnail:n.thumbnail,link:null==n?void 0:n.slug,subtitle:n.name,name:n.name,slug:n.slug}:{}},he=function(n){return n?{id:n.id,name:n.name,logo:null==n?void 0:n.logo,description:n.about,slug:n.slug}:{}},ue=function(n){var e,t,i=n.type,a=n.specialtySlug,o=n.locale;return"".concat(null===(e=Y[o])||void 0===e?void 0:e.ALL,"/").concat((null===(t=Y[o])||void 0===t?void 0:t[i])||"doctor","/").concat(null!=a?a:"")},ge=function(n){return n?{id:n.ID,name:n.name,permalink:n.permalink,image:(null==n?void 0:n.small_banner)||(null==n?void 0:n.image)||"",imageMedium:(null==n?void 0:n.image_medium)||null,imageThumbnail:(null==n?void 0:n.image_thumbnail)||null,startDate:null==n?void 0:n.start_date,endDate:null==n?void 0:n.end_date}:{}},fe=function(n){var e=new Date;if(null==n?void 0:n.startDate){var t=new Date(n.startDate);if(e.getTime()<t.getTime())return!1}if(null==n?void 0:n.endDate){var i=new Date(n.endDate);if(e.getTime()>i.getTime())return!1}return!0},xe={myBooking:"booking",mySaved:"saved",myHealth:"health",myFamily:"family",myCommunity:"my-communities",eCom:"shop"},ve={navHeader:"uJQBNNg",navAvatar:"TfG3dM5",navHeaderUserInfos:"aMtjFNf",navHeaderUserName:"cSz2RR-",navHeaderMyProfileButton:"GyFm00F"};function ye(n){var e=n.userInfo,t=n.onClickMyProfileButton,i=n.themeName,a=void 0===i?"helloSites":i,l=_().t,r=c((function(){var n=(null==e?void 0:e.name)||(null==e?void 0:e.username);return n&&n.length?n[0].toUpperCase():"A"}),[null==e?void 0:e.username,null==e?void 0:e.name]);return o.createElement("div",{className:ve.navHeader,onClick:function(){t&&t()}},o.createElement(dn,{className:ve.navAvatar,type:"rounded",size:"xl",avatarUrl:null==e?void 0:e.avatar,firstLetter:r,backgroundColor:"marryBaby"===a?F.mbColors.pink:F.colors.secondaryBase}),o.createElement("div",{className:ve.navHeaderUserInfos},o.createElement("div",{className:ve.navHeaderUserName},(null==e?void 0:e.name)||(null==e?void 0:e.username)),o.createElement("div",{className:ve.navHeaderMyProfileButton,style:{"--bg-hellosites":"url(".concat(h.getAssetPath("userProfileNav/helloSites/icon-chevronRight.svg"),")"),"--bg-marrybaby":"url(".concat(h.getAssetPath("userProfileNav/marryBaby/icon-arrowRight.svg"),")")}},l("userProfile.nav.header.viewProfile"))))}var be,we,Ee,ke,Ce,Le,Pe,Me,Be,He,Ne,Te,Ae,ze,_e,Ue="fVk18fq",Re="v8TCvUb",Se="mx7T4V3",De={myHealth:F.mbColors.toneYellow,myCommunity:F.mbColors.toneBlue,mySaved:F.mbColors.toneGreen},je={helloSites:{myBooking:function(){return h.getAssetPath("userProfileNav/helloSites/icon-myBooking.svg")},myCommunity:function(){return h.getAssetPath("userProfileNav/helloSites/icon-myCommunity.svg")},myFamily:function(){return h.getAssetPath("userProfileNav/helloSites/icon-myFamily.svg")},myHealth:function(){return h.getAssetPath("userProfileNav/helloSites/icon-myHealth.svg")},mySaved:function(){return h.getAssetPath("userProfileNav/helloSites/icon-mySaved.svg")},eCom:function(){return h.getAssetPath("userProfileNav/helloSites/icon-eCom.svg")}},marryBaby:{mySaved:function(){return h.getAssetPath("userProfileNav/marryBaby/icon-mySaved.svg")},myCommunity:function(){return h.getAssetPath("userProfileNav/marryBaby/icon-myCommunity.svg")},myHealth:function(){return h.getAssetPath("userProfileNav/marryBaby/icon-myHealth.svg")}}},Ze=function(n){var e=n.type,t=n.themeName,i=n.className,a=n.onClick,l=void 0===a?function(){}:a,r=_().t,s=c((function(){var n,i;return(null===(i=null===(n=je[t])||void 0===n?void 0:n[e])||void 0===i?void 0:i.call(n))||""}),[e,t]),d=c((function(){return"marryBaby"!==t?"transparent":De[e]}),[e,t]);return o.createElement("div",{onClick:function(){l(e)},className:"".concat(Ue," ").concat(i)},o.createElement("div",{className:Se,style:{backgroundColor:d,backgroundImage:'url("'.concat(s,'")')}}),o.createElement("h3",{className:Re},r("userProfile.nav.card.".concat(e))))},Ve="gn6HmGG",Fe="FCx8FEM",Ie="zMiRxaE",Oe="lZ2Z9MQ",Ge="rwm-agG",We="qMOscoq",Ye=function(n){var e=n.themeName,t=n.locale,i=n.onClickItem,a=l(""),r=a[0],s=a[1],d=c((function(){return"marryBaby"===e?[{key:"userProfile.nav.menu.password",icon:h.getAssetPath("userProfileNav/marryBaby/icon-lock.svg"),link:"password"},{key:"userProfile.nav.menu.logout",icon:h.getAssetPath("userProfileNav/marryBaby/icon-logOut.svg"),link:"logout"}]:[{key:"userProfile.nav.menu.accountSettings",icon:h.getAssetPath("userProfileNav/helloSites/icon-settingsWheel.svg"),subMenu:[{key:"userProfile.nav.menu.password",link:"password"},{key:"userProfile.nav.menu.disableAccount",link:"disable-account",disableLocale:["hi-IN"]}]},{key:"userProfile.nav.menu.help",icon:h.getAssetPath("userProfileNav/helloSites/icon-helpCircle.svg"),link:"help"}]}),[e]);function p(n){n.subMenu?s((function(e){return e?"":n.key})):i&&i(n)}return o.createElement("div",{className:Ve},d.map((function(n){return o.createElement(qe,{key:n.key,item:n,openKey:r,onClickItem:p,locale:t})})))},qe=function(n){var e,t=n.item,i=n.openKey,a=n.onClickItem,l=n.locale,r=_().t;return(null===(e=t.disableLocale)||void 0===e?void 0:e.includes(l))?null:o.createElement("div",{className:"".concat(Fe," nav-menu-item"),"data-is-open":i===t.key,key:t.key,"data-has-submenu":!!t.subMenu},o.createElement("div",{className:Ie,onClick:function(){return a(t)}},t.icon&&o.createElement("div",{className:Oe,style:{backgroundImage:'url("'.concat(t.icon,'")')}}),r(t.key),t.subMenu&&o.createElement("div",{className:Ge,style:{"--after-bg":"url(".concat(h.getAssetPath("userProfileNav/helloSites/icon-chevronDown.svg"),")")}})),t.subMenu&&o.createElement("div",{className:We},t.subMenu.map((function(n){return o.createElement(qe,{key:n.key,item:n,openKey:i,onClickItem:a,locale:l})}))))},Ke="-AZt1au",Qe="IvSIfCI",Je="eahCJov",Xe="XIyViFs",$e="_4y-O0w3",nt="kO8iNgD",et="a1d4E10",tt="Tdguxxf",it="-mOxsaU",at="yPeDBNZ",ot={helloSites:{member:function(){return h.getAssetPath("userProfileNav/helloSites/icon-rank-member.svg")},ambassador:function(){return h.getAssetPath("userProfileNav/helloSites/icon-rank-ambassador.svg")},doctor:function(){return h.getAssetPath("userProfileNav/helloSites/icon-rank-doctor.svg")},expert:function(){return h.getAssetPath("userProfileNav/helloSites/icon-rank-expert.svg")},influencer:function(){return h.getAssetPath("userProfileNav/helloSites/icon-rank-influencer.svg")}},marryBaby:{member:function(){return h.getAssetPath("userProfileNav/marryBaby/icon-rank-member.svg")},ambassador:function(){return h.getAssetPath("userProfileNav/marryBaby/icon-rank-ambassador.svg")},doctor:function(){return h.getAssetPath("userProfileNav/marryBaby/icon-rank-doctor.svg")},expert:function(){return h.getAssetPath("userProfileNav/marryBaby/icon-rank-expert.svg")},influencer:function(){return h.getAssetPath("userProfileNav/marryBaby/icon-rank-influencer.svg")}}},lt=function(n){var e=n.themeName,t=n.rank,i=void 0===t?"member":t,a=n.numberOfPosts,l=void 0===a?0:a,r=_().t,s=c((function(){var n,t;return(null===(t=null===(n=ot[e])||void 0===n?void 0:n[i])||void 0===t?void 0:t.call(n))||""}),[i,e]);return o.createElement("div",{className:$e,"data-user-rank":i},o.createElement("div",{className:nt},o.createElement("div",{className:et},o.createElement("div",{className:tt,style:{backgroundImage:'url("'.concat(s,'")')}}),o.createElement("h3",{className:it},r("userProfile.userRank.".concat(i))),l>0&&o.createElement("p",{className:at},l," ",r("userProfile.nav.header.count.posts")))))},rt=function(e){var t=e.SSO_URL,i=e.UP_BASEPATH,a=void 0===i?"user":i,s=e.themeName,d=void 0===s?"helloSites":s,p=e.cardUrls,m=void 0===p?xe:p,u=e.enableCare,g=e.enableTogether,x=e.enableEcom,v=e.userInfo,y=e.togetherApiDomain,b=e.userPostsNumber,w=e.onClickNavigationCard,E=e.onClickMyProfileButton,k=e.onClickMenuItem,C=e.onClickLogout,L=e.isUserProfileNavigatorMenuHidden,P=void 0!==L&&L,M=e.isMyHealthEnabled,B=void 0!==M&&M,H=e.locale,N=_().t,T=l(b||0),A=T[0],z=T[1],U="marryBaby"===d;r((function(){if(v&&void 0===b){var e=G("hhg_user_token");e&&fetch(function(e,t,i,a){return(i||"https://together.hellohealthgroup.com/")+"api/v1/"+q(oe,n(n({},a),{websiteUrl:t?"https://marrybaby.vn":"https://".concat(f[e])}))}(H,U,y),{headers:{Authorization:"Bearer ".concat(e)}}).then((function(n){return n.json()})).then((function(n){var e,t,i;1===(null==n?void 0:n.status)&&(null===(e=null==n?void 0:n.data)||void 0===e?void 0:e.pagination)&&z((null===(i=null===(t=null==n?void 0:n.data)||void 0===t?void 0:t.pagination)||void 0===i?void 0:i.total_items)||0)})).catch((function(n){return console.error("Error fetching post number",n)}))}}),[H,null!==v,b,y,U]);var R=c((function(){return(U?["myHealth","myCommunity","mySaved"]:["myHealth","mySaved","myBooking","myCommunity","eCom"]).filter((function(n){return"myBooking"===n?u:"myCommunity"===n?g:"myHealth"===n?B:"eCom"!==n||x}))}),[U,B]),S=c((function(){return"marryBaby"===d?null:o.createElement(V,{color:"tertiary",icon:o.createElement("img",{src:h.getAssetPath("userProfileNav/helloSites/icon-logOut.svg"),width:15,height:15}),size:"md",onClick:C,className:Xe},N("userProfile.nav.menu.logout"))}),[d]),D=function(n){window.location.href="".concat(t).concat(a,"/").concat(n)},j=function(n){var e=m[n];w?w(e):D(e)};return v?o.createElement("div",{className:Ke,"data-theme":d},o.createElement(ye,{userInfo:v,themeName:d,onClickMyProfileButton:function(){E?E():D("profile")}}),o.createElement(lt,{themeName:d,rank:"member",numberOfPosts:A}),o.createElement("div",{className:Qe},R.map((function(n){return o.createElement(Ze,{className:Je,key:n,themeName:d,type:n,onClick:j})}))),!P&&o.createElement(o.Fragment,null,o.createElement(Ye,{themeName:d,locale:H,onClickItem:function(n){"logout"===n.link&&C?C():n.link&&!n.subMenu&&(k?k(n.link):D(n.link))}}),S)):null},st=function(n){var e=n.type,t=void 0===e?"lead":e,i=n.closeIcon,a=n.isOpen,l=void 0===a||a,r=n.onClose,s=n.children,c=n.enableAnimation,d=void 0===c||c,p=n.targetAvatar,m=n.id,h=n.className;return o.createElement(Kn,{"data-open":l,"data-type":t,"data-animation":d,"data-target":p,id:m,className:h},o.createElement("div",{className:"popup-content"},!!i&&o.createElement("div",{className:"close-button",onClick:r},i),s))},ct=function(n){var e=n.SSO_URL,t=n.UP_BASEPATH,i=n.isOpen,a=n.targetAvatar,l=n.userInfo,r=n.enableCare,s=n.enableTogether,c=n.enableEcom,d=n.closePopup,p=n.siteType,m=void 0===p?"helloSites":p,h=n.dispatchLogout,u=n.userProfileRouterPush,g=n.isUserProfileNavigatorMenuHidden,f=n.isMyHealthEnabled,x=void 0!==f&&f,v=n.togetherApiDomain,y=n.locale,b=function(n){u?u("/".concat(n)):e&&(window.location.href="".concat(e).concat(t,"/").concat(n))},w=function(n){b(n),d()};return o.createElement(st,{isOpen:i,type:"profile",enableAnimation:!0,targetAvatar:a,onClose:d},o.createElement(rt,{SSO_URL:e,UP_BASEPATH:t,themeName:m,userInfo:l,enableCare:r,enableTogether:s,enableEcom:c,onClickLogout:function(){h&&(h(),d())},onClickMenuItem:w,onClickNavigationCard:w,onClickMyProfileButton:function(){b("profile"),d()},isUserProfileNavigatorMenuHidden:g,isMyHealthEnabled:x,togetherApiDomain:v,locale:y}))},dt=function(e){var t=e.userInfo,s=e.siteType,c=e.onLoginClick,d=e.SSO_URL,p=e.currentUrl,m=e.isMinifyLogin,u=e.enableCare,f=e.enableTogether,x=e.enableEcom,v=e.isUserProfileNavigatorMenuHidden,y=e.UP_BASEPATH,b=e.isMyHealthEnabled,w=e.togetherApiDomain,E=e.onLogout,k=e.style,C=e.userProfileRouterPush,L=e.isLoading,P=e.locale,M=_().t,B=l(!1),H=B[0],N=B[1],T=(null==t?void 0:t.name)||(null==t?void 0:t.username),A=l(!1),z=A[0],U=A[1];r((function(){U(!0)}),[]);var R=On(),S=R.containerRef,D=R.onContainerFocus,j=R.onContainerBlur,Z=R.onButtonMouseDown,I=R.onClose;return L?o.createElement(V,{size:"sm",color:"transparent",isLoading:!0}):(null==t?void 0:t.id)?o.createElement(o.Fragment,null,o.createElement(ie,{ref:S,style:k,tabIndex:0,onBlur:j,onFocus:D},o.createElement("div",{onMouseDown:Z},o.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"user-close-icon"},o.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"})),o.createElement(dn,{type:"rounded",size:"medium",className:"user-avatar",avatarUrl:null==t?void 0:t.avatar,firstLetter:T&&T.length?T[0].toUpperCase():"A",backgroundColor:"marryBaby"===s?F.mbColors.pink:F.colors.secondaryBase})),o.createElement(ct,{UP_BASEPATH:y,SSO_URL:d,dispatchLogout:function(){I(),N(!0)},isOpen:!1,isMyHealthEnabled:b,enableCare:u,enableTogether:f,enableEcom:x,closePopup:I,userInfo:t,siteType:s,isUserProfileNavigatorMenuHidden:v,togetherApiDomain:w,userProfileRouterPush:C,locale:P})),o.createElement(Yn,{openLogoutPopup:H,onCloseHandler:function(){document.body.classList.toggle("noscroll",!1),N(!1)},siteType:s,onLogoutHandler:function(){return i(void 0,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return N(!1),document.body.classList.toggle("noscroll",!1),[4,E()];case 1:return n.sent(),[2]}}))}))}})):o.createElement(ae,{style:n({textDecoration:"none"},k),"data-event-category":"Sign Up","data-event-action":"Button Click","data-event-label":p,href:z?void 0:"".concat(d,"?returnUrl=").concat(p),"data-site-type":s},m?o.createElement(te,{onClick:c},o.createElement("img",{src:h.getAssetPath("lock.png"),className:"avatar",loading:"lazy",alt:"avatar"})):o.createElement(o.Fragment,null,"helloSites"===s&&o.createElement("img",{className:"mobile-only",src:h.getAssetPath("login.svg"),style:{cursor:"pointer",height:24,width:24},onClick:c}),"marryBaby"===s&&o.createElement("div",{className:"mobile-only",onClick:c,style:{paddingLeft:16}},o.createElement(g,{size:"p3",color:F.mbColors.pink},M("navigation.loginJoin"))),o.createElement(V,{className:"login-btn",size:"md",color:"tertiary",onClick:c,icon:o.createElement("img",{src:h.getAssetPath("login.svg"),width:18,height:18}),theme:s},M("navigation.loginJoin"))))},pt=o.createContext({}),mt=function(t){var i=t.children,a=e(t,["children"]),l=o.useState((function(){return a.currentUrl||"https://".concat("marryBaby"===a.siteType?H[a.locale||"en-PH"]:f[a.locale||"en-PH"]).concat("together"===a.projectType?"/community":"ecom"===a.projectType?"/ecom":"care"===a.projectType?"/care":"","/")})),s=l[0],d=l[1];r((function(){var n=function(){d(window.location.href)};return window.addEventListener("popstate",n),n(),function(){window.removeEventListener("popstate",n)}}),[]);var p=function(n){var e=n.locale,t=n.projectType,i=n.isMobile,a=n.siteType;return c((function(){var n=!(!i&&"profile"===t),o="discover"===t||"marryBaby"===t||"profile"===t&&"marryBaby"===a,l="marryBaby"!==a&&"marryBaby"!==t&&x.includes(e),r="marryBaby"!==t&&"discover"===t&&"marryBaby"!==a&&v.includes(e),s="marryBaby"===t||y.includes(e),c="ecom"===t,d="ecom"===t,p=k(e,"marryBaby"===a),m=C(e,"marryBaby"===a);return{enableProfileNavigatorMenu:n,enableSearchBar:o,enableNavCare:l,enableNavCareBooking:r,enableNavTogether:s,enableNavEcom:c,enableProfileEcom:d,enableProfileMyHealth:!0,statics:{HOME_PAGE_URL:p,CARE_URL_FE:"".concat(p,"/care"),TOGETHER_URL_FE:"".concat(p,"/community"),SSO_URL:m,TOGETHER_API:L(),DISCOVER_API:P(e)}}}),[e,t,i])}({locale:a.locale,projectType:a.projectType,isMobile:a.isMobile,siteType:a.siteType});return o.createElement(pt.Provider,{value:n(n({},a),{configs:p,currentUrl:a.currentUrl||s})},i)},ht="-XmTq5-",ut="V-oxu20",gt=function(n){var e=n.item,t=n.menu,i=On({allowBgScroll:!0}),a=i.containerRef,s=i.onContainerFocus,c=i.onContainerBlur,d=i.onButtonMouseDown,p=i.onClose,m=function(){var n=l(!0),e=n[0],t=n[1];return r((function(){t(!1)}),[]),e}();return!e.popupType&&e.link?o.createElement("a",{className:"hhgcomp-navigation-itemnav-headeritem ".concat(m?"":"menu-handler-".concat(e.id)),tabIndex:0,href:e.link,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":e.link},o.createElement("div",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":e.link,className:ut},e.name)):o.createElement("div",{ref:a,className:"hhgcomp-navigation-itemnav-headeritem ".concat(m?"":"menu-handler-".concat(e.id)),tabIndex:0,key:e.id,onBlur:c,onFocus:s,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":e.link},o.createElement("div",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":e.link,onMouseDown:d,className:ut},e.name,e.popupType&&o.createElement("div",{className:ht},o.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o.createElement("path",{d:"M11.5 7.5L9 10L6.5 7.5",stroke:"#202135",strokeWidth:"1.33",strokeLinecap:"round",strokeLinejoin:"round"})))),o.isValidElement(t)?o.cloneElement(t,{onClose:p}):null)},ft=d((function(){return o.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o.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"}))})),xt=function(){var n=p(pt),e=n.locale,t=n.configs.statics,i=n.siteType,a=_().t;return o.createElement(j,{className:"fake-search-input",name:"search-input-menu-service",size:"md",placeholder:"marryBaby"===i?a("navigation.search.input.placeholder"):a("home.search",{site:b[e||"en-PH"]?b[e||"en-PH"].SITE_NAME:""}),onChange:function(){},onKeyDown:function(n){return"Enter"===n.key&&(window.location.href="".concat(t.HOME_PAGE_URL,"/search/?s=").concat(n.target.value))},type:"search",onFocus:function(n){n.preventDefault()},displayIcon:o.createElement("a",{"data-event-category":"Search Button","data-event-action":"Click"},o.createElement(ft,null))})},vt="eJS8-if",yt="EuQrB-3",bt="_0JtBh8L",wt=function(n){var e=n.onClosePopup;return o.createElement("div",{className:"".concat(bt," close-btn"),onClick:e},o.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"})))},Et=function(n){var e=n.onClosePopup,t=n.isDisplay,i=n.children,a=n.isNavMenu,l=n.hideCloseBtn;return o.createElement("div",{className:"hhgcomp-navigation-popupwrapper-menuwrapper top-menu-health-tools","data-is-display":!!t,"data-is-nav-menu":!!a},o.createElement(W,null,!l&&o.createElement("div",{className:yt},o.createElement(wt,{onClosePopup:e})),o.createElement(W,{className:vt},i)))},kt=u.div(be||(be=t(["\n padding-right: 1rem;\n margin-top: 10px;\n background: #ffffff;\n padding: 5px 15px;\n "," {\n border-right: 1px solid #e4e8ec;\n }\n"],["\n padding-right: 1rem;\n margin-top: 10px;\n background: #ffffff;\n padding: 5px 15px;\n "," {\n border-right: 1px solid #e4e8ec;\n }\n"])),S.mbUp),Ct=u.a(we||(we=t(["\n padding: 10px 0;\n position: relative;\n\n display: flex;\n align-items: center;\n text-decoration: none;\n color: ",";\n * {\n pointer-events: none;\n }\n p {\n font-size: 16px;\n font-weight: 400;\n padding: 0 0.4rem;\n }\n\n &[data-theme='marryBaby']:hover {\n p {\n color: ",";\n }\n .icon {\n background-color: ",";\n }\n }\n &[data-theme='helloSite']:hover {\n p {\n color: ",";\n }\n }\n a {\n }\n\n &[data-theme='marryBaby'] {\n .icon {\n display: flex;\n align-items: center;\n justify-content: center;\n max-width: 40px;\n width: 100%;\n height: 40px;\n border-radius: 50%;\n background-color: ",";\n img {\n border-radius: 50%;\n }\n }\n }\n"],["\n padding: 10px 0;\n position: relative;\n\n display: flex;\n align-items: center;\n text-decoration: none;\n color: ",";\n * {\n pointer-events: none;\n }\n p {\n font-size: 16px;\n font-weight: 400;\n padding: 0 0.4rem;\n }\n\n &[data-theme='marryBaby']:hover {\n p {\n color: ",";\n }\n .icon {\n background-color: ",";\n }\n }\n &[data-theme='helloSite']:hover {\n p {\n color: ",";\n }\n }\n a {\n }\n\n &[data-theme='marryBaby'] {\n .icon {\n display: flex;\n align-items: center;\n justify-content: center;\n max-width: 40px;\n width: 100%;\n height: 40px;\n border-radius: 50%;\n background-color: ",";\n img {\n border-radius: 50%;\n }\n }\n }\n"])),(function(n){return n.theme.colors.gray800}),(function(n){return n.theme.mbColors.pink}),(function(n){return n.theme.mbColors.lightPink}),(function(n){return n.theme.colors.primaryActive}),(function(n){return n.theme.mbColors.lightGray})),Lt=u.div(Ee||(Ee=t(["\n margin: 15px 0;\n "," {\n display: none;\n }\n"],["\n margin: 15px 0;\n "," {\n display: none;\n }\n"])),S.mbDown),Pt=u.div(ke||(ke=t(["\n display: flex;\n position: absolute;\n right: 0;\n "," {\n display: none;\n }\n"],["\n display: flex;\n position: absolute;\n right: 0;\n "," {\n display: none;\n }\n"])),S.mbUp),Mt=u.div(Ce||(Ce=t(["\n display: flex;\n align-items: center;\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 24px;\n font-size: 14px;\n font-weight: 600;\n &[data-event-category] * {\n pointer-events: none;\n }\n &[data-theme='marryBaby'] {\n color: ",";\n }\n"],["\n display: flex;\n align-items: center;\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 24px;\n font-size: 14px;\n font-weight: 600;\n &[data-event-category] * {\n pointer-events: none;\n }\n &[data-theme='marryBaby'] {\n color: ",";\n }\n"])),(function(n){return n.theme.colors.primaryBase}),(function(n){return n.theme.sizes.fsParagraph4}),(function(n){return n.theme.sizes.fwBold}),(function(n){return n.theme.mbColors.pink})),Bt=u.div(Le||(Le=t(["\n display: flex;\n align-items: center;\n margin-left: 10px;\n"],["\n display: flex;\n align-items: center;\n margin-left: 10px;\n"]))),Ht=u.a(Pe||(Pe=t(["\n border: 1px solid ",";\n &[data-theme='marryBaby'] {\n border: 1px solid ",";\n\n svg path {\n stroke: ",";\n }\n }\n position: relative;\n display: flex;\n align-items: center;\n justify-content: center;\n padding: 6px;\n border-radius: 5px;\n margin-top: 20px;\n "," {\n display: none;\n }\n"],["\n border: 1px solid ",";\n &[data-theme='marryBaby'] {\n border: 1px solid ",";\n\n svg path {\n stroke: ",";\n }\n }\n position: relative;\n display: flex;\n align-items: center;\n justify-content: center;\n padding: 6px;\n border-radius: 5px;\n margin-top: 20px;\n "," {\n display: none;\n }\n"])),(function(n){return n.theme.colors.primaryBase}),(function(n){return n.theme.mbColors.pink}),(function(n){return n.theme.mbColors.pink}),S.mbDown),Nt=function(n){var e=n.hrefViewMore,t=n.titleBtnViewMore,i=n.UrlFE,a=n.onClosePopup,l=n.menuItems,r=n.headingTitle,s=p(pt).siteType;return o.createElement(kt,null,o.createElement(Lt,null,o.createElement(Z,{tag:"marryBaby"===s?"h5":"h6",as:"h2",fontWeight:"semibold"},r)),null==l?void 0:l.slice(0,6).map((function(n,e){var t=(null==n?void 0:n.link)?(null==n?void 0:n.link.startsWith("http"))?null==n?void 0:n.link:"".concat(i,"/").concat(null==n?void 0:n.link.split("/").filter(Boolean).join("/"),"/"):"/";return o.createElement(Ct,{className:"iconMenu","data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":t,"data-is-heading-category":!1,href:t,"data-theme":s,key:e,onClick:a},o.createElement("div",{className:"icon"},o.createElement("img",{loading:"lazy",alt:n.name,src:n.thumbnail||"/images/avatar.jpg",style:{width:32,height:32,maxWidth:32,maxHeight:32}})),o.createElement("p",null,n.name),o.createElement(Pt,null,o.createElement("img",{src:h.getAssetPath("chevronRight.svg"),style:{width:"16px",height:"16px"}})))})),t&&o.createElement(Ht,{"data-theme":s,style:{textDecoration:"none"},href:e,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":e},o.createElement(Mt,{onClick:a,"data-theme":s,"data-is-heading-category":!1},t,o.createElement(Bt,null,o.createElement("img",{className:"svg",src:"marryBaby"===s?h.getAssetPath("chevronRightPink.svg"):h.getAssetPath("chevronRightActive.svg"),style:{width:"16px",height:"16px"}})))))},Tt=u.div(Me||(Me=t(["\n padding: 16px;\n border-radius: 8px;\n position: relative;\n z-index: 1;\n overflow: hidden;\n a {\n text-decoration: none;\n }\n\n .bg-svg {\n height: 100%;\n position: absolute;\n top: 0;\n left: 0;\n z-index: -1;\n }\n "," {\n display: block;\n .bg-svg {\n right: -24px;\n left: unset;\n top: 0;\n transform: rotateY(180deg);\n }\n }\n\n "," {\n display: grid;\n grid-gap: 10px;\n grid-template-columns: 1fr 3fr;\n }\n"],["\n padding: 16px;\n border-radius: 8px;\n position: relative;\n z-index: 1;\n overflow: hidden;\n a {\n text-decoration: none;\n }\n\n .bg-svg {\n height: 100%;\n position: absolute;\n top: 0;\n left: 0;\n z-index: -1;\n }\n "," {\n display: block;\n .bg-svg {\n right: -24px;\n left: unset;\n top: 0;\n transform: rotateY(180deg);\n }\n }\n\n "," {\n display: grid;\n grid-gap: 10px;\n grid-template-columns: 1fr 3fr;\n }\n"])),S.mbDown,S.mbUp),At=u.div(Be||(Be=t(["\n font-weight: 400;\n font-size: 14px;\n line-height: 24px;\n color: ",";\n margin-bottom: 15px;\n"],["\n font-weight: 400;\n font-size: 14px;\n line-height: 24px;\n color: ",";\n margin-bottom: 15px;\n"])),(function(n){return n.theme.colors.gray600})),zt=u.div(He||(He=t(["\n font-weight: 600;\n font-size: 16px;\n line-height: 26px;\n color: #000000;\n margin-bottom: 4px;\n"],["\n font-weight: 600;\n font-size: 16px;\n line-height: 26px;\n color: #000000;\n margin-bottom: 4px;\n"]))),_t=u.div(Ne||(Ne=t(["\n background: #fff;\n padding: 5px;\n display: flex;\n align-items: center;\n justify-content: center;\n border-radius: 50px;\n"],["\n background: #fff;\n padding: 5px;\n display: flex;\n align-items: center;\n justify-content: center;\n border-radius: 50px;\n"]))),Ut=u.div(Te||(Te=t(["\n display: flex;\n justify-content: center;\n align-items: center;\n position: relative;\n "," {\n justify-content: end;\n min-height: 100px;\n }\n"],["\n display: flex;\n justify-content: center;\n align-items: center;\n position: relative;\n "," {\n justify-content: end;\n min-height: 100px;\n }\n"])),S.mbDown),Rt=function(n){var e=n.title,t=n.link,i=n.description,a=n.cta,l=n.icon,r=p(pt).siteType;return o.createElement(Tt,{"data-theme":r},o.createElement(Ut,null,o.createElement("img",{src:"marryBaby"===r?h.getAssetPath("navMBSpotlightBgNoData.svg"):h.getAssetPath("navSpotlightBgNoData.svg"),alt:"",loading:"lazy",className:"bg-svg"}),o.createElement(_t,null,l&&o.createElement("img",{src:l,width:64,height:64}))),o.createElement("div",null,e&&o.createElement(zt,null,e),i&&o.createElement(At,null,i),a&&o.createElement("div",null,o.createElement("a",{href:t},o.createElement(V,{theme:r,className:"survey-contact-submit",size:"md"},a)))))},St=u.div(Ae||(Ae=t(["\n margin-top: 10px;\n background: #ffffff;\n padding: 5px 15px;\n position: relative;\n "," {\n &:after {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 4px;\n background-color: ",";\n content: '';\n }\n }\n"],["\n margin-top: 10px;\n background: #ffffff;\n padding: 5px 15px;\n position: relative;\n "," {\n &:after {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 4px;\n background-color: ",";\n content: '';\n }\n }\n"])),S.mbDown,(function(n){return n.theme.colors.neutral100})),Dt=u.div(ze||(ze=t(["\n margin: 15px 0;\n display: flex;\n"],["\n margin: 15px 0;\n display: flex;\n"]))),jt=u.a(_e||(_e=t(["\n padding-left: 10px;\n display: flex;\n align-items: center;\n text-decoration: none;\n font-weight: 400;\n font-size: 14px;\n color: ",";\n &[data-theme='marryBaby'] {\n color: ",";\n }\n img {\n padding-left: 5px;\n }\n "," {\n margin-left: auto;\n }\n"],["\n padding-left: 10px;\n display: flex;\n align-items: center;\n text-decoration: none;\n font-weight: 400;\n font-size: 14px;\n color: ",";\n &[data-theme='marryBaby'] {\n color: ",";\n }\n img {\n padding-left: 5px;\n }\n "," {\n margin-left: auto;\n }\n"])),(function(n){return n.theme.colors.primaryBase}),(function(n){return n.theme.mbColors.pink}),S.mbDown),Zt=function(n){var e=n.title,t=n.viewMore,i=n.children,a=n.link,l=n.dataEventAction,r=void 0===l?"":l,s=p(pt).siteType;return o.createElement(St,null,o.createElement(Dt,null,o.createElement(Z,{tag:"marryBaby"===s?"h5":"h6",as:"h2",fontWeight:"semibold"},e),t&&o.createElement(jt,{"data-event-category":"Hamburger Navigation","data-event-action":r,"data-event-label":a,href:a,"data-theme":s},t,o.createElement("img",{src:"marryBaby"===s?h.getAssetPath("chevronRightPink.svg"):h.getAssetPath("chevronRightActive.svg"),style:{width:"16px",height:"16px"}}))),i)};u.div(Vt||(Vt=t(["\n & > a:not(:last-child) > div {\n border-bottom: 1px solid ",";\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 &[data-category-list-type='sub'] {\n padding-bottom: 72px;\n }\n\n &[data-is-displayed='false'] {\n display: none;\n }\n"])),(function(n){return n.theme.colors.neutral100}));var Vt,Ft,It,Ot,Gt,Wt,Yt,qt,Kt,Qt=u.div(Ft||(Ft=t(["\n display: grid;\n\n grid-template-columns: repeat(3, 1fr);\n gap: 24px;\n\n "," {\n grid-template-columns: repeat(1, 1fr);\n }\n"],["\n display: grid;\n\n grid-template-columns: repeat(3, 1fr);\n gap: 24px;\n\n "," {\n grid-template-columns: repeat(1, 1fr);\n }\n"])),S.tdDown),Jt=u.div(It||(It=t(["\n height: 152px; // 120 + 16 * 2\n position: absolute;\n top: 0;\n left: 0;\n z-index: 3;\n overflow: hidden;\n border-radius: 4px;\n padding: 16px;\n width: 100%;\n\n .img-container {\n width: 100%;\n height: 100%;\n }\n img {\n width: 100%;\n height: 100%;\n display: block;\n object-fit: contain;\n }\n "," {\n margin-bottom: 0;\n padding: 0;\n height: 100%;\n position: unset;\n width: 150px;\n }\n "," {\n width: 80px;\n }\n"],["\n height: 152px; // 120 + 16 * 2\n position: absolute;\n top: 0;\n left: 0;\n z-index: 3;\n overflow: hidden;\n border-radius: 4px;\n padding: 16px;\n width: 100%;\n\n .img-container {\n width: 100%;\n height: 100%;\n }\n img {\n width: 100%;\n height: 100%;\n display: block;\n object-fit: contain;\n }\n "," {\n margin-bottom: 0;\n padding: 0;\n height: 100%;\n position: unset;\n width: 150px;\n }\n "," {\n width: 80px;\n }\n"])),S.tdDown,S.mbDown),Xt=u.div(Ot||(Ot=t(["\n background-color: #ffffff;\n border-radius: 4px;\n width: 100%;\n height: 100%;\n"],["\n background-color: #ffffff;\n border-radius: 4px;\n width: 100%;\n height: 100%;\n"]))),$t=u.div(Gt||(Gt=t(["\n display: flex;\n margin-top: 1rem;\n align-items: center;\n color: ",";\n font-weight: 400;\n font-size: 14px;\n text-decoration: none;\n "," {\n display: none;\n }\n"],["\n display: flex;\n margin-top: 1rem;\n align-items: center;\n color: ",";\n font-weight: 400;\n font-size: 14px;\n text-decoration: none;\n "," {\n display: none;\n }\n"])),(function(n){return n.theme.colors.primaryBase}),S.tdDown),ni=u.p(Wt||(Wt=t(["\n font-size: 16px;\n font-weight: 600;\n line-height: 1.6;\n color: ",";\n "," {\n padding: 0;\n }\n"],["\n font-size: 16px;\n font-weight: 600;\n line-height: 1.6;\n color: ",";\n "," {\n padding: 0;\n }\n"])),(function(n){return n.theme.colors.gray800}),S.tdDown),ei=u.p(Yt||(Yt=t(["\n font-size: 14px;\n line-height: 1.6;\n font-weight: 400;\n color: ",";\n height: 40px;\n text-overflow: ellipsis;\n overflow: hidden;\n display: -webkit-box;\n -webkit-line-clamp: 2;\n -webkit-box-orient: vertical;\n margin-bottom: auto;\n "," {\n height: unset;\n padding: 0;\n }\n"],["\n font-size: 14px;\n line-height: 1.6;\n font-weight: 400;\n color: ",";\n height: 40px;\n text-overflow: ellipsis;\n overflow: hidden;\n display: -webkit-box;\n -webkit-line-clamp: 2;\n -webkit-box-orient: vertical;\n margin-bottom: auto;\n "," {\n height: unset;\n padding: 0;\n }\n"])),(function(n){return n.theme.colors.gray600}),S.tdDown),ti="hhgcomp-navigation-menucareitem-contentwrapper",ii=O(u.div(qt||(qt=t(["\n display: flex;\n flex-direction: column;\n gap: 8px;\n flex: 1;\n z-index: 1;\n "," {\n gap: 4px;\n }\n"],["\n display: flex;\n flex-direction: column;\n gap: 8px;\n flex: 1;\n z-index: 1;\n "," {\n gap: 4px;\n }\n"])),S.tdDown),ti),ai=u.a(Kt||(Kt=t(["\n text-decoration: none;\n border-radius: 4px;\n background: ",";\n position: relative;\n overflow: hidden;\n padding: 16px;\n display: flex;\n padding-top: 166px;\n * {\n pointer-events: none;\n }\n "," {\n box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.04), 0px 0px 2px rgba(0, 0, 0, 0.06), 0px 0px 1px rgba(0, 0, 0, 0.04);\n gap: 30px;\n flex-direction: column;\n a {\n display: flex;\n width: 100%;\n }\n }\n "," {\n padding-top: 16px;\n a {\n display: none;\n }\n grid-template-columns: 2fr 1fr;\n gap: 10px;\n display: grid;\n max-height: 110px;\n display: flex;\n flex-direction: row-reverse;\n > ."," {\n flex: 1;\n }\n img {\n width: 150px;\n }\n }\n "," {\n box-shadow: 0px 10px 16px rgba(0, 0, 0, 0.04), 0px 2px 8px rgba(0, 0, 0, 0.04), 0px 0px 1px rgba(0, 0, 0, 0.04);\n display: flex;\n flex-direction: row-reverse;\n img {\n width: 80px;\n height: 80px;\n }\n }\n "," {\n border: 1px solid ",";\n }\n .bg-svg {\n width: 100%;\n max-width: 245px;\n height: 100%;\n top: 0;\n right: -40px;\n position: absolute;\n display: inline-block;\n }\n"],["\n text-decoration: none;\n border-radius: 4px;\n background: ",";\n position: relative;\n overflow: hidden;\n padding: 16px;\n display: flex;\n padding-top: 166px;\n * {\n pointer-events: none;\n }\n "," {\n box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.04), 0px 0px 2px rgba(0, 0, 0, 0.06), 0px 0px 1px rgba(0, 0, 0, 0.04);\n gap: 30px;\n flex-direction: column;\n a {\n display: flex;\n width: 100%;\n }\n }\n "," {\n padding-top: 16px;\n a {\n display: none;\n }\n grid-template-columns: 2fr 1fr;\n gap: 10px;\n display: grid;\n max-height: 110px;\n display: flex;\n flex-direction: row-reverse;\n > ."," {\n flex: 1;\n }\n img {\n width: 150px;\n }\n }\n "," {\n box-shadow: 0px 10px 16px rgba(0, 0, 0, 0.04), 0px 2px 8px rgba(0, 0, 0, 0.04), 0px 0px 1px rgba(0, 0, 0, 0.04);\n display: flex;\n flex-direction: row-reverse;\n img {\n width: 80px;\n height: 80px;\n }\n }\n "," {\n border: 1px solid ",";\n }\n .bg-svg {\n width: 100%;\n max-width: 245px;\n height: 100%;\n top: 0;\n right: -40px;\n position: absolute;\n display: inline-block;\n }\n"])),F.colors.white,S.tdUp,S.tdDown,ti,S.mbDown,S.tdOnly,F.colors.neutral100),oi=function(n){var e,t=n.item,i=n.index,a=void 0===i?0:i,l=_().t,r=p(pt),s=r.locale,c=r.configs.statics;if(!t)return null;var d="".concat(c.CARE_URL_FE,"/").concat(null===(e=Y[s])||void 0===e?void 0:e.HOSPITAL,"/").concat(t.slug,"-").concat(t.id);return o.createElement(ai,{key:t.id,href:d,"data-event-category":"Hamburger Navigation","data-event-action":"Care Click ".concat(a+1),"data-event-label":d},o.createElement("img",{src:h.getAssetPath("navCareCardBg.svg"),alt:"",className:"bg-svg",loading:"lazy"}),o.createElement(Jt,null,o.createElement(Xt,null,o.createElement("img",{loading:"lazy",alt:t.name,src:t.logo||"/images/avatar.jpg"}))),o.createElement(ii,null,o.createElement(ni,null,t.name),o.createElement(ei,null,t.description),o.createElement($t,null,l("home.seeMore"),o.createElement("img",{src:h.getAssetPath("chevronRightActive.svg"),style:{width:"16px",height:"16px",marginTop:"3px",marginLeft:"5px"}}))))},li=function(n){var e=n.spotlights,t=void 0===e?[]:e,i=n.hrefViewMore,a=_().t;return o.createElement(Zt,{title:a("home.navigator.menu.spotlightHospitals")},0!==t.length?o.createElement(Qt,null,null==t?void 0:t.slice(0,3).map((function(n,e){return o.createElement(oi,{key:e,index:e,item:n})}))):o.createElement(Rt,{title:a("home.navigator.menu.care.noDatas.title"),description:a("home.navigator.menu.care.noDatas.description"),link:i,cta:a("home.navigator.menu.care.noDatas.cta"),icon:h.getAssetPath("community.svg")}))},ri=function(n){var e,t=n.careSpecialties,i=void 0===t?[]:t,a=n.isOpen,l=n.onClose,r=n.spotlights,s=void 0===r?[]:r,c=_().t,d=p(pt),m=d.locale,h=d.configs.statics,u="".concat(h.CARE_URL_FE,"/").concat(null===(e=Y[m])||void 0===e?void 0:e.SPECIALTIES);return o.createElement(Et,{onClosePopup:l,isDisplay:a,isNavMenu:!0},o.createElement(Nt,{headingTitle:c("home.navigator.menuItem.specialties"),hrefViewMore:u,UrlFE:h.CARE_URL_FE,onClosePopup:l,titleBtnViewMore:c("home.navigator.menuItem.allSpecialties"),menuItems:(null==i?void 0:i.map((function(n){return n?{name:String(n.name)||"",link:ue({type:"DOCTOR",specialtySlug:n.slug,locale:m}),thumbnail:(null==n?void 0:n.thumbnail)||""}:{}})))||[]}),o.createElement(li,{spotlights:s,hrefViewMore:u}))};u.div(si||(si=t(["\n &[data-category-list-type='sub'] {\n padding-bottom: 72px;\n }\n\n &[data-is-displayed='false'] {\n display: none;\n }\n"],["\n &[data-category-list-type='sub'] {\n padding-bottom: 72px;\n }\n\n &[data-is-displayed='false'] {\n display: none;\n }\n"]))),u.div(ci||(ci=t(["\n & > div {\n width: 100%;\n margin-bottom: 8px;\n }\n"],["\n & > div {\n width: 100%;\n margin-bottom: 8px;\n }\n"])));var si,ci,di,pi,mi,hi,ui=u.div(di||(di=t(["\n display: grid;\n\n grid-template-columns: repeat(4, 1fr);\n gap: 24px;\n "," {\n gap: 12px;\n grid-template-columns: 1fr;\n }\n"],["\n display: grid;\n\n grid-template-columns: repeat(4, 1fr);\n gap: 24px;\n "," {\n gap: 12px;\n grid-template-columns: 1fr;\n }\n"])),S.tdDown),gi=u.a(pi||(pi=t(["\n width: 100%;\n display: flex;\n align-items: center;\n text-decoration: none;\n * {\n pointer-events: none;\n }\n"],["\n width: 100%;\n display: flex;\n align-items: center;\n text-decoration: none;\n * {\n pointer-events: none;\n }\n"]))),fi=u.div(mi||(mi=t(["\n border-radius: 5px;\n display: block;\n overflow: hidden;\n padding-top: 140%;\n width: 100%;\n position: relative;\n height: 0;\n img {\n position: absolute;\n width: 100%;\n height: 100%;\n display: block;\n object-fit: cover;\n top: 0;\n left: 0;\n }\n "," {\n width: 72px;\n padding-top: 100px;\n }\n"],["\n border-radius: 5px;\n display: block;\n overflow: hidden;\n padding-top: 140%;\n width: 100%;\n position: relative;\n height: 0;\n img {\n position: absolute;\n width: 100%;\n height: 100%;\n display: block;\n object-fit: cover;\n top: 0;\n left: 0;\n }\n "," {\n width: 72px;\n padding-top: 100px;\n }\n"])),S.tdDown),xi=u.p(hi||(hi=t(["\n font-size: 16px;\n font-weight: 400;\n padding: 4px 15px;\n line-height: 1.4;\n color: ",";\n flex: 1;\n "," {\n display: none;\n }\n"],["\n font-size: 16px;\n font-weight: 400;\n padding: 4px 15px;\n line-height: 1.4;\n color: ",";\n flex: 1;\n "," {\n display: none;\n }\n"])),(function(n){return n.theme.colors.gray800}),S.tdUp),vi=function(n){var e=n.item,t=n.index,i=void 0===t?0:t;return e?o.createElement(gi,{key:e.id,href:e.link,"data-event-category":"Hamburger Navigation","data-event-action":"Spotlight Click ".concat(i+1),"data-event-label":e.link},o.createElement(fi,null,o.createElement("img",{loading:"lazy",alt:e.title,src:e.banner||"/images/notFound-min-small.jpg"})),o.createElement(xi,null,e.title)):null},yi=function(n){var e=n.spotlightsList,t=void 0===e?[]:e,i=n.hrefViewMore,a=_().t,l=p(pt).configs.statics;return o.createElement(Zt,{title:a("home.navigator.menu.spotlights"),viewMore:a("home.navigator.menu.spotlights.seeAll"),link:i,dataEventAction:"Spotlight See More Click"},0!==t.length?o.createElement(ui,null,null==t?void 0:t.slice(0,4).map((function(n,e){return o.createElement(vi,{key:e,index:e,item:{id:n.id,link:l.HOME_PAGE_URL+n.permalink,title:n.name,banner:n.image}})}))):o.createElement(Rt,{title:a("home.navigator.menu.category.noDatas.title"),description:a("home.navigator.menu.category.noDatas.description"),link:i,cta:a("home.navigator.menu.category.noDatas.cta"),icon:h.getAssetPath("Spotlight.svg")}))},bi=function(n){var e=n.categories,t=void 0===e?[]:e,i=n.spotlightsList,a=void 0===i?[]:i,l=n.onClose,r=n.isOpen,s=_().t,c=p(pt),d=c.locale,m=c.configs.statics;return o.createElement(Et,{onClosePopup:l,isDisplay:r,isNavMenu:!0},o.createElement(Nt,{hrefViewMore:"".concat(m.HOME_PAGE_URL).concat("tl-PH"===d?"/fil":"","/categories/"),UrlFE:m.HOME_PAGE_URL,onClosePopup:l,titleBtnViewMore:s("home.navigator.menuItem.allCategories"),menuItems:(null==t?void 0:t.map((function(n){return n?{name:n.displayName||null,link:(null==n?void 0:n.permalink)||"/",thumbnail:n.iconUrl||null}:{}})))||[],headingTitle:s("home.navigator.menuItem.healthCategories")}),o.createElement(yi,{spotlightsList:a,hrefViewMore:"".concat(m.HOME_PAGE_URL).concat("tl-PH"===d?"/fil":"","/spotlight/")}))};u.div(wi||(wi=t(["\n & > :not(:last-child) {\n border-bottom: 1px solid ",";\n }\n\n & > div > :not(:last-child) {\n border-bottom: 1px solid ",";\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 & > :not(:last-child) {\n border-bottom: 1px solid ",";\n }\n\n & > div > :not(:last-child) {\n border-bottom: 1px solid ",";\n }\n\n &[data-category-list-type='sub'] {\n padding-bottom: 72px;\n }\n\n &[data-is-displayed='false'] {\n display: none;\n }\n"])),(function(n){return n.theme.colors.neutral100}),(function(n){return n.theme.colors.neutral100})),u.div(Ei||(Ei=t(["\n & > div {\n width: 100%;\n margin-bottom: 8px;\n }\n"],["\n & > div {\n width: 100%;\n margin-bottom: 8px;\n }\n"])));var wi,Ei,ki,Ci,Li,Pi,Mi,Bi,Hi,Ni,Ti,Ai,zi,_i,Ui=u.div(ki||(ki=t(["\n display: grid;\n grid-template-columns: repeat(2, 1fr);\n grid-gap: 48px;\n "," {\n grid-template-columns: 1fr;\n grid-gap: 32px;\n }\n "," {\n grid-gap: 24px;\n }\n"],["\n display: grid;\n grid-template-columns: repeat(2, 1fr);\n grid-gap: 48px;\n "," {\n grid-template-columns: 1fr;\n grid-gap: 32px;\n }\n "," {\n grid-gap: 24px;\n }\n"])),S.tdDown,S.mbDown),Ri=u.div(Ci||(Ci=t(["\n padding: 5px;\n flex: 1;\n"],["\n padding: 5px;\n flex: 1;\n"]))),Si=u.img(Li||(Li=t(["\n width: 88px;\n height: 88px;\n border-radius: 4px;\n object-fit: cover;\n"],["\n width: 88px;\n height: 88px;\n border-radius: 4px;\n object-fit: cover;\n"]))),Di=u.div(Pi||(Pi=t(["\n font-size: 12px;\n font-weight: 600;\n color: ",";\n text-decoration: none;\n &[data-theme='marryBaby'] {\n font-weight: 400;\n letter-spacing: -0.2px;\n }\n"],["\n font-size: 12px;\n font-weight: 600;\n color: ",";\n text-decoration: none;\n &[data-theme='marryBaby'] {\n font-weight: 400;\n letter-spacing: -0.2px;\n }\n"])),(function(n){return n.theme.colors.gray800})),ji=u.div(Mi||(Mi=t(["\n text-decoration: none;\n font-size: 12px;\n font-weight: 400;\n color: ",";\n &[data-theme='marryBaby'] {\n font-weight: 400;\n letter-spacing: -0.2px;\n }\n"],["\n text-decoration: none;\n font-size: 12px;\n font-weight: 400;\n color: ",";\n &[data-theme='marryBaby'] {\n font-weight: 400;\n letter-spacing: -0.2px;\n }\n"])),(function(n){return n.theme.colors.primaryBase})),Zi=u.div(Bi||(Bi=t(["\n font-size: 12px;\n font-weight: 400;\n color: ",";\n"],["\n font-size: 12px;\n font-weight: 400;\n color: ",";\n"])),(function(n){return n.theme.colors.gray600})),Vi=u.div(Hi||(Hi=t(["\n font-size: 12px;\n font-weight: 400;\n color: ",";\n"],["\n font-size: 12px;\n font-weight: 400;\n color: ",";\n"])),(function(n){return n.theme.colors.gray600})),Fi=u.a(Ni||(Ni=t(["\n display: flex;\n gap: 10px;\n text-decoration: none;\n position: relative;\n &::after {\n content: '';\n display: block;\n width: 100%;\n height: 1px;\n border-top: 1px dashed ",";\n position: absolute;\n bottom: -24px;\n "," {\n bottom: -16px;\n }\n "," {\n bottom: -12px;\n }\n }\n &:last-child {\n &::after {\n display: none;\n }\n }\n "," {\n &:nth-last-child(2) {\n &::after {\n display: none;\n }\n }\n }\n"],["\n display: flex;\n gap: 10px;\n text-decoration: none;\n position: relative;\n &::after {\n content: '';\n display: block;\n width: 100%;\n height: 1px;\n border-top: 1px dashed ",";\n position: absolute;\n bottom: -24px;\n "," {\n bottom: -16px;\n }\n "," {\n bottom: -12px;\n }\n }\n &:last-child {\n &::after {\n display: none;\n }\n }\n "," {\n &:nth-last-child(2) {\n &::after {\n display: none;\n }\n }\n }\n"])),(function(n){return n.theme.colors.neutral100}),S.tdOnly,S.mbDown,S.tdUp),Ii=u.div(Ti||(Ti=t(["\n display: flex;\n gap: 10px;\n vertical-align: middle;\n align-items: center;\n"],["\n display: flex;\n gap: 10px;\n vertical-align: middle;\n align-items: center;\n"]))),Oi=u.div(Ai||(Ai=t(["\n margin-top: 8px;\n font-size: 16px;\n font-weight: 600;\n color: ",";\n &[data-theme='marryBaby'] {\n margin-top: 12px;\n font-weight: 400;\n font-size: 14px;\n line-height: 24px;\n letter-spacing: -0.2px;\n }\n"],["\n margin-top: 8px;\n font-size: 16px;\n font-weight: 600;\n color: ",";\n &[data-theme='marryBaby'] {\n margin-top: 12px;\n font-weight: 400;\n font-size: 14px;\n line-height: 24px;\n letter-spacing: -0.2px;\n }\n"])),(function(n){return n.theme.colors.gray800})),Gi=u.div(zi||(zi=t(["\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n column-gap: 5px;\n"],["\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n column-gap: 5px;\n"]))),Wi=u.div(_i||(_i=t(["\n display: flex;\n gap: 4px;\n flex-direction: column;\n"],["\n display: flex;\n gap: 4px;\n flex-direction: column;\n"])));K.extend(Q);var Yi=function(n){var e,t,i,a,l,r,s,c=n.post,d=n.index,m=void 0===d?0:d,h=p(pt),u=h.siteType,g=h.configs.statics;if(!c)return null;var f=[g.TOGETHER_URL_FE,null===(e=c.community)||void 0===e?void 0:e.slug].join("/"),x=[f,c.slug].join("/"),v=c.createdAt,y=v?isNaN(new Date(v).getTime())?null:new Date(v):null,b=y?K(y).toNow(!0):v;return o.createElement(Fi,{href:x,"data-event-category":"Hamburger Navigation","data-event-action":"Together Click ".concat(m+1),"data-event-label":x},o.createElement(Ri,null,o.createElement(Ii,null,o.createElement(N,{avatar:null===(t=c.author)||void 0===t?void 0:t.avatar,username:(null===(i=c.author)||void 0===i?void 0:i.name)||(null===(a=c.author)||void 0===a?void 0:a.username)}),o.createElement(Wi,null,o.createElement(Di,{"data-theme":u},null===(l=c.author)||void 0===l?void 0:l.name),o.createElement(Gi,null,o.createElement(ji,{"data-event-category":"Hamburger Navigation","data-event-action":"Topic Click ".concat(m+1),"data-event-label":f,onClick:function(n){n.preventDefault(),location.href=f},"data-theme":u},null===(r=c.community)||void 0===r?void 0:r.name),o.createElement(Vi,null,"•"),o.createElement(Zi,{"data-theme":u},b)))),o.createElement(Oi,null,c.title)),!!(null===(s=c.photos)||void 0===s?void 0:s.length)&&o.createElement(Si,{loading:"lazy",src:c.photos[0]}))},qi=function(n){var e=n.spotlights,t=void 0===e?[]:e,i=p(pt).configs.statics,a=_().t;return o.createElement(Zt,{title:a("home.navigator.menu.trendingPosts"),viewMore:a("home.navigator.menu.trendingPosts.seeMore"),link:i.TOGETHER_URL_FE+"/",dataEventAction:"Together See More Click"},0!==t.length?o.createElement(Ui,null,null==t?void 0:t.slice(0,4).map((function(n,e){return o.createElement(Yi,{index:e,post:n,key:n.id})}))):o.createElement(Rt,{title:a("home.navigator.menu.together.noPosts.title"),description:a("home.navigator.menu.together.noPosts.description"),link:"".concat(i.HOME_PAGE_URL,"/community/"),cta:a("home.navigator.menu.together.noPosts.cta"),icon:h.getAssetPath("community.svg")}))},Ki=function(n){var e=n.communities,t=void 0===e?[]:e,i=n.onClose,a=n.isOpen,l=n.spotlights,r=void 0===l?[]:l,s=_().t,c=p(pt).configs.statics;return o.createElement(Et,{onClosePopup:i,isDisplay:a,isNavMenu:!0},o.createElement(Nt,{hrefViewMore:c.TOGETHER_URL_FE+"/",UrlFE:c.TOGETHER_URL_FE,onClosePopup:i,titleBtnViewMore:s("home.navigator.menuItem.allCommunities"),menuItems:(null==t?void 0:t.map((function(n){return n?{name:n.name||"",link:n.slug||"/",thumbnail:n.thumbnail||""}:{}})))||[],headingTitle:s("home.navigator.menuItem.allCommunitiesheadingTitle")}),o.createElement(qi,{spotlights:r}))};u.div(Qi||(Qi=t(["\n &[data-is-display='false'] {\n display: none;\n }\n"],["\n &[data-is-display='false'] {\n display: none;\n }\n"])));var Qi,Ji,Xi,$i,na,ea,ta,ia,aa,oa,la,ra,sa,ca,da,pa,ma=u.div(Ji||(Ji=t(["\n display: grid;\n\n grid-template-columns: repeat(3, 1fr);\n gap: 24px;\n "," {\n grid-template-columns: 1fr;\n gap: 12px;\n }\n"],["\n display: grid;\n\n grid-template-columns: repeat(3, 1fr);\n gap: 24px;\n "," {\n grid-template-columns: 1fr;\n gap: 12px;\n }\n"])),S.tdDown),ha=u.a(Xi||(Xi=t(["\n text-decoration: none;\n border-radius: 4px;\n background: #e3f2ff;\n position: relative;\n overflow: hidden;\n display: flex;\n * {\n pointer-events: none;\n }\n .bg-svg {\n width: 245px;\n top: 0;\n right: 0;\n height: 100%;\n position: absolute;\n "," {\n top: calc(51% - 68px);\n right: -8px;\n }\n }\n padding: 180px 24px 16px;\n a {\n display: flex;\n width: 100%;\n }\n "," {\n padding-top: 16px;\n display: flex;\n align-items: center;\n }\n"],["\n text-decoration: none;\n border-radius: 4px;\n background: #e3f2ff;\n position: relative;\n overflow: hidden;\n display: flex;\n * {\n pointer-events: none;\n }\n .bg-svg {\n width: 245px;\n top: 0;\n right: 0;\n height: 100%;\n position: absolute;\n "," {\n top: calc(51% - 68px);\n right: -8px;\n }\n }\n padding: 180px 24px 16px;\n a {\n display: flex;\n width: 100%;\n }\n "," {\n padding-top: 16px;\n display: flex;\n align-items: center;\n }\n"])),S.tdDown,S.tdDown),ua=u.div($i||($i=t(["\n width: 64px;\n height: 64px;\n background: white;\n position: absolute;\n right: 25px;\n top: 35px;\n z-index: 3;\n border-radius: 50%;\n img {\n position: absolute;\n width: 64px;\n height: 64px;\n top: 50%;\n left: 50%;\n display: block;\n transform: translate(-50%, -50%);\n }\n "," {\n position: relative;\n top: unset;\n right: unset;\n }\n"],["\n width: 64px;\n height: 64px;\n background: white;\n position: absolute;\n right: 25px;\n top: 35px;\n z-index: 3;\n border-radius: 50%;\n img {\n position: absolute;\n width: 64px;\n height: 64px;\n top: 50%;\n left: 50%;\n display: block;\n transform: translate(-50%, -50%);\n }\n "," {\n position: relative;\n top: unset;\n right: unset;\n }\n"])),S.tdDown),ga=u.div(na||(na=t(["\n display: flex;\n align-items: center;\n color: ",";\n font-weight: 400;\n font-size: 14px;\n text-decoration: none;\n"],["\n display: flex;\n align-items: center;\n color: ",";\n font-weight: 400;\n font-size: 14px;\n text-decoration: none;\n"])),(function(n){return n.theme.colors.primaryBase})),fa=u.p(ea||(ea=t(["\n font-size: 16px;\n font-weight: 600;\n line-height: 1.4;\n color: ",";\n"],["\n font-size: 16px;\n font-weight: 600;\n line-height: 1.4;\n color: ",";\n"])),(function(n){return n.theme.colors.gray800})),xa=u.p(ta||(ta=t(["\n font-size: 14px;\n line-height: 1.4;\n font-weight: 400;\n color: ",";\n height: 40px;\n text-overflow: ellipsis;\n overflow: hidden;\n display: -webkit-box;\n -webkit-line-clamp: 2;\n -webkit-box-orient: vertical;\n margin-bottom: auto;\n "," {\n display: none;\n }\n"],["\n font-size: 14px;\n line-height: 1.4;\n font-weight: 400;\n color: ",";\n height: 40px;\n text-overflow: ellipsis;\n overflow: hidden;\n display: -webkit-box;\n -webkit-line-clamp: 2;\n -webkit-box-orient: vertical;\n margin-bottom: auto;\n "," {\n display: none;\n }\n"])),(function(n){return n.theme.colors.gray600}),S.tdDown),va=u.div(ia||(ia=t(["\n display: flex;\n flex-direction: column;\n flex: 1;\n z-index: 1;\n "," {\n gap: 8px;\n }\n "," {\n gap: 4px;\n flex: 1;\n }\n"],["\n display: flex;\n flex-direction: column;\n flex: 1;\n z-index: 1;\n "," {\n gap: 8px;\n }\n "," {\n gap: 4px;\n flex: 1;\n }\n"])),S.tdUp,S.tdDown),ya=function(n){var e=n.item,t=n.index,i=void 0===t?0:t,a=_().t,l=p(pt).configs.statics;if(!e)return null;var r=e.link?e.link.startsWith("http")?e.link:"".concat(l.HOME_PAGE_URL).concat(e.link):void 0;return o.createElement(ha,{href:r,"data-event-category":"Hamburger Navigation","data-event-action":"Engage Click ".concat(i+1),"data-event-label":r},o.createElement("img",{src:h.getAssetPath("navToolCardBg.svg"),alt:"",loading:"lazy",className:"bg-svg"}),o.createElement(va,null,o.createElement(fa,null,e.title),o.createElement(xa,null,e.subtitle),o.createElement(ga,null,a("home.seeMore"),o.createElement("img",{src:h.getAssetPath("chevronRightActive.svg"),style:{width:"16px",height:"16px",marginTop:"3px",marginLeft:"5px"}}))),o.createElement(ua,null,o.createElement("img",{loading:"lazy",alt:e.title,src:e.icon||"/images/avatar.jpg"})))},ba=u.a(aa||(aa=t(["\n text-decoration: none;\n border-radius: 12px;\n\n position: relative;\n overflow: hidden;\n display: flex;\n * {\n pointer-events: none;\n }\n .bg-svg {\n top: 0;\n left: 0;\n position: absolute;\n }\n\n .dot-svg {\n width: 40px;\n height: 30px;\n top: 36px;\n left: 16px;\n position: absolute;\n stroke-width: 0;\n }\n\n &[data-color='pink'] {\n background: ",";\n .bg-svg {\n fill: ",";\n }\n }\n &[data-color='orange'] {\n background: ",";\n .bg-svg {\n fill: ",";\n }\n }\n &[data-color='green'] {\n background: ",";\n .bg-svg {\n fill: ",";\n }\n }\n\n padding: 180px 24px 16px;\n a {\n display: flex;\n width: 100%;\n }\n "," {\n padding-top: 16px;\n display: flex;\n align-items: flex-start;\n justify-content: flex-start;\n }\n "," {\n padding-top: 0;\n padding-left: 80px;\n height: 96px;\n align-items: flex-start;\n justify-content: center;\n flex-direction: column;\n .dot-svg {\n top: 22px;\n left: 16px;\n }\n }\n "," {\n min-height: 296px;\n }\n .mobile-only {\n "," {\n display: none;\n }\n }\n .desktop-only {\n "," {\n display: none;\n }\n }\n"],["\n text-decoration: none;\n border-radius: 12px;\n\n position: relative;\n overflow: hidden;\n display: flex;\n * {\n pointer-events: none;\n }\n .bg-svg {\n top: 0;\n left: 0;\n position: absolute;\n }\n\n .dot-svg {\n width: 40px;\n height: 30px;\n top: 36px;\n left: 16px;\n position: absolute;\n stroke-width: 0;\n }\n\n &[data-color='pink'] {\n background: ",";\n .bg-svg {\n fill: ",";\n }\n }\n &[data-color='orange'] {\n background: ",";\n .bg-svg {\n fill: ",";\n }\n }\n &[data-color='green'] {\n background: ",";\n .bg-svg {\n fill: ",";\n }\n }\n\n padding: 180px 24px 16px;\n a {\n display: flex;\n width: 100%;\n }\n "," {\n padding-top: 16px;\n display: flex;\n align-items: flex-start;\n justify-content: flex-start;\n }\n "," {\n padding-top: 0;\n padding-left: 80px;\n height: 96px;\n align-items: flex-start;\n justify-content: center;\n flex-direction: column;\n .dot-svg {\n top: 22px;\n left: 16px;\n }\n }\n "," {\n min-height: 296px;\n }\n .mobile-only {\n "," {\n display: none;\n }\n }\n .desktop-only {\n "," {\n display: none;\n }\n }\n"])),(function(n){return n.theme.mbColors.tonePink}),(function(n){return n.theme.mbColors.peach}),(function(n){return n.theme.mbColors.toneYellow}),(function(n){return n.theme.mbColors.orange}),(function(n){return n.theme.mbColors.toneGreen}),(function(n){return n.theme.mbColors.mint}),S.tdDown,S.mbDown,S.tdUp,S.tdUp,S.tdDown),wa=u.div(oa||(oa=t(["\n width: 48px;\n height: 48px;\n background: white;\n position: absolute;\n right: 25px;\n top: 35px;\n z-index: 3;\n border-radius: 50%;\n img {\n position: absolute;\n width: 36px;\n height: 36px;\n top: 50%;\n left: 50%;\n display: block;\n transform: translate(-50%, -50%);\n }\n "," {\n position: relative;\n top: unset;\n right: unset;\n }\n "," {\n position: absolute;\n left: 32px;\n top: 28px;\n }\n"],["\n width: 48px;\n height: 48px;\n background: white;\n position: absolute;\n right: 25px;\n top: 35px;\n z-index: 3;\n border-radius: 50%;\n img {\n position: absolute;\n width: 36px;\n height: 36px;\n top: 50%;\n left: 50%;\n display: block;\n transform: translate(-50%, -50%);\n }\n "," {\n position: relative;\n top: unset;\n right: unset;\n }\n "," {\n position: absolute;\n left: 32px;\n top: 28px;\n }\n"])),S.tdDown,S.mbDown),Ea=u.div(la||(la=t(["\n display: flex;\n align-items: center;\n background: white;\n font-weight: 400;\n font-size: 14px;\n text-decoration: none;\n border-radius: 50%;\n width: 20px;\n height: 20px;\n\n svg path {\n fill: ",";\n }\n\n "," {\n background: none;\n width: 100%;\n font-weight: 400;\n font-size: 12px;\n line-height: 18px;\n color: ",";\n padding-left: 16px;\n }\n"],["\n display: flex;\n align-items: center;\n background: white;\n font-weight: 400;\n font-size: 14px;\n text-decoration: none;\n border-radius: 50%;\n width: 20px;\n height: 20px;\n\n svg path {\n fill: ",";\n }\n\n "," {\n background: none;\n width: 100%;\n font-weight: 400;\n font-size: 12px;\n line-height: 18px;\n color: ",";\n padding-left: 16px;\n }\n"])),(function(n){return n.theme.mbColors.gray}),S.tdDown,(function(n){return n.theme.mbColors.pink})),ka=u.p(ra||(ra=t(["\n font-weight: 600;\n font-size: 14px;\n line-height: 24px;\n letter-spacing: -0.2px;\n color: ",";\n"],["\n font-weight: 600;\n font-size: 14px;\n line-height: 24px;\n letter-spacing: -0.2px;\n color: ",";\n"])),(function(n){return n.theme.colors.gray800})),Ca=u.p(sa||(sa=t(["\n font-weight: 400;\n font-size: 12px;\n line-height: 18px;\n letter-spacing: -0.2px;\n color: ",";\n height: 54px;\n text-overflow: ellipsis;\n overflow: hidden;\n display: -webkit-box;\n -webkit-line-clamp: 3;\n -webkit-box-orient: vertical;\n margin-bottom: auto;\n "," {\n display: none;\n }\n"],["\n font-weight: 400;\n font-size: 12px;\n line-height: 18px;\n letter-spacing: -0.2px;\n color: ",";\n height: 54px;\n text-overflow: ellipsis;\n overflow: hidden;\n display: -webkit-box;\n -webkit-line-clamp: 3;\n -webkit-box-orient: vertical;\n margin-bottom: auto;\n "," {\n display: none;\n }\n"])),(function(n){return n.theme.colors.gray600}),S.tdDown),La=u.div(ca||(ca=t(["\n display: flex;\n flex: 1;\n z-index: 1;\n align-items: flex-end;\n justify-content: flex-end;\n "," {\n gap: 8px;\n flex-direction: row;\n }\n\n "," {\n align-items: flex-start;\n justify-content: flex-start;\n gap: 4px;\n }\n"],["\n display: flex;\n flex: 1;\n z-index: 1;\n align-items: flex-end;\n justify-content: flex-end;\n "," {\n gap: 8px;\n flex-direction: row;\n }\n\n "," {\n align-items: flex-start;\n justify-content: flex-start;\n gap: 4px;\n }\n"])),S.tdUp,S.tdDown),Pa=u.div(da||(da=t(["\n display: flex;\n flex-direction: column;\n flex: 1;\n z-index: 1;\n "," {\n gap: 8px;\n }\n "," {\n gap: 4px;\n flex: 1;\n padding-left: 16px;\n }\n"],["\n display: flex;\n flex-direction: column;\n flex: 1;\n z-index: 1;\n "," {\n gap: 8px;\n }\n "," {\n gap: 4px;\n flex: 1;\n padding-left: 16px;\n }\n"])),S.tdUp,S.tdDown),Ma=u.div(pa||(pa=t(["\n display: flex;\n flex-direction: row;\n flex: 1;\n z-index: 1;\n "," {\n gap: 8px;\n justify-content: flex-end;\n align-items: flex-end;\n }\n "," {\n flex-direction: column;\n justify-content: flex-start;\n align-items: flex-start;\n }\n"],["\n display: flex;\n flex-direction: row;\n flex: 1;\n z-index: 1;\n "," {\n gap: 8px;\n justify-content: flex-end;\n align-items: flex-end;\n }\n "," {\n flex-direction: column;\n justify-content: flex-start;\n align-items: flex-start;\n }\n"])),S.tdUp,S.tdDown),Ba=function(n){var e=n.item,t=n.index,i=void 0===t?0:t,a=n.color,l=_().t,r=p(pt).configs.statics;if(!e)return null;var s=e.link?e.link.startsWith("http")?e.link:"".concat(r.HOME_PAGE_URL).concat(e.link):void 0,c=function(){return o.createElement(wa,null,o.createElement("img",{loading:"lazy",alt:e.title,src:e.icon||"/images/avatar.jpg"}))},d=function(){return o.createElement(Ma,null,o.createElement(Pa,null,o.createElement(ka,null,e.title),o.createElement(Ca,null,e.subtitle)),o.createElement(Ea,null,o.createElement("div",{className:"mobile-only"},l("home.seeMore")),o.createElement("img",{src:h.getAssetPath("arrowRightGray.svg"),style:{width:"12px",height:"12px",marginTop:"2px",marginLeft:"5px"}})))};return o.createElement(ba,{href:s,"data-event-category":"Hamburger Navigation","data-event-action":"Engage Click ".concat(i+1),"data-event-label":s,"data-color":a},o.createElement("svg",{className:"bg-svg",width:"74",height:"121",viewBox:"0 0 74 121",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o.createElement("path",{d:"M58.5713 53.428C40.6466 70.0213 12.9929 71.0875 -7.00506 84.9856C-24.9277 97.4005 -38.3893 120.472 -60.213 120.346C-73.3615 120.271 -84.9289 110.925 -91.9303 99.8138C-101.443 84.7327 -103.994 64.0482 -93.916 49.3276C-81.8133 31.6505 -56.6933 28.1101 -41.7246 12.7895C-35.4351 6.35117 -31.2212 -1.90115 -24.8564 -8.25051C-7.17639 -25.9054 34.9604 -29.7543 56.852 -16.9562C80.9056 -2.89888 77.046 36.3304 58.5713 53.428Z",strokeWidth:"0"})),o.createElement("img",{src:h.getAssetPath("navMBCardDotBg.svg"),className:"dot-svg",loading:"lazy",alt:""}),o.createElement(La,null,o.createElement("div",{className:"mobile-only"},c()),o.createElement("div",{className:"desktop-only"},d())),o.createElement("div",{className:"mobile-only"},d()),o.createElement("div",{className:"desktop-only"},c()))},Ha=function(n){var e=n.hrefViewMore,t=n.spotlightHealthTools,i=void 0===t?[]:t,a=_().t,l=["pink","orange","green"],r=p(pt).siteType;return o.createElement(Zt,{title:a("home.navigator.menu.spotlightTools")},0!==i.length&&o.createElement(ma,null,null==i?void 0:i.slice(0,3).map((function(n,e){return"marryBaby"===r?o.createElement(Ba,{key:e,index:e,item:n,color:l[e]}):o.createElement(ya,{key:e,index:e,item:n})}))),0===i.length&&o.createElement(Rt,{title:a("home.navigator.menu.healthTools.noDatas.title"),description:a("home.navigator.menu.healthTools.noDatas.description"),link:e,cta:a("home.navigator.menu.healthTools.noDatas.cta"),icon:h.getAssetPath("community.svg")}))},Na=function(n){var e,t=n.locale,i=n.onClose,a=n.isOpen,l=n.spotlightHealthTools,r=void 0===l?[]:l,s=n.healthTools,c=void 0===s?[]:s,d=_().t,m=p(pt).configs.statics,h="".concat(m.HOME_PAGE_URL).concat("tl-PH"===t?"/fil":"").concat((null===(e=w[t])||void 0===e?void 0:e.HEALTH_TOOLS)||"");return o.createElement(Et,{onClosePopup:i,isDisplay:a,isNavMenu:!0},o.createElement(Nt,{hrefViewMore:h,UrlFE:m.HOME_PAGE_URL,onClosePopup:i,headingTitle:d("home.navigator.menuItem.healthToolsList"),titleBtnViewMore:d("home.navigator.menuItem.allHealthTools"),menuItems:c.map((function(n){return{name:n.title,link:n.link?n.link.startsWith("http")?n.link:"".concat(m.HOME_PAGE_URL).concat(n.link):void 0,thumbnail:n.icon}}))}),o.createElement(Ha,{spotlightHealthTools:r,hrefViewMore:h}))},Ta="_6gGCHV-",Aa="YDzfyQU",za=function(n){var e=n.onCareHeaderClick,t=n.currentUrl,i=n.careUrlFe,a=n.btnName;return e?o.createElement(V,{className:Ta,size:"md",color:"primary",dataEventCategory:"Care",dataEventAction:"Navigation Bar Click",dataEventLabel:t,onClick:function(n){return e(n)}},a):o.createElement("a",{href:i,className:"".concat(Aa," care-button no-replace-click")},o.createElement(V,{className:Ta,size:"md",color:"primary",dataEventCategory:"Care",dataEventAction:"Navigation Bar Click",dataEventLabel:t},a))};function _a(n){var e=n.className;return o.createElement("div",null,o.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:e},o.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"})))}function Ua(n){var e=n.siteType,t=n.type,i=n.enableSearch,a=n.className;return"helloSites"===e?o.createElement("div",null,o.createElement("img",{"data-list-type":"Header","data-content-type":"Navigation","data-content-topic":"Hamburger",src:i?h.getAssetPath("hamburgerMenuNewWithSearch.svg"):h.getAssetPath("hamburgerMenuNew.svg"),style:{width:"24px",height:"24px"},alt:t,className:a})):o.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:a},o.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"}))}var Ra=u.div(Sa||(Sa=t(["\n position: fixed;\n z-index: 201;\n top: calc(100% + 1px); // border 1px\n width: 100%;\n height: calc(100vh - var(--header-bottom));\n overflow-x: hidden;\n overflow-y: auto;\n background: white;\n display: flex;\n flex-direction: column;\n padding-bottom: 0;\n left: 0;\n .hhgcomp-navigation-popupwrapper-menuwrapper {\n position: unset;\n }\n"],["\n position: fixed;\n z-index: 201;\n top: calc(100% + 1px); // border 1px\n width: 100%;\n height: calc(100vh - var(--header-bottom));\n overflow-x: hidden;\n overflow-y: auto;\n background: white;\n display: flex;\n flex-direction: column;\n padding-bottom: 0;\n left: 0;\n .hhgcomp-navigation-popupwrapper-menuwrapper {\n position: unset;\n }\n"])));u.div(Da||(Da=t(["\n position: fixed;\n bottom: 0;\n left: 0;\n display: flex;\n width: 100%;\n height: 72px;\n align-items: flex-start;\n justify-content: center;\n\n background: linear-gradient(0deg, #ffffff 0%, rgba(255, 255, 255, 0) 100%);\n\n .button-image {\n stroke-color: blue;\n }\n\n &[data-site-type='marryBaby'] {\n padding: 0 16px;\n .category-button {\n width: 100%;\n height: 48px;\n }\n }\n"],["\n position: fixed;\n bottom: 0;\n left: 0;\n display: flex;\n width: 100%;\n height: 72px;\n align-items: flex-start;\n justify-content: center;\n\n background: linear-gradient(0deg, #ffffff 0%, rgba(255, 255, 255, 0) 100%);\n\n .button-image {\n stroke-color: blue;\n }\n\n &[data-site-type='marryBaby'] {\n padding: 0 16px;\n .category-button {\n width: 100%;\n height: 48px;\n }\n }\n"]))),u.div(ja||(ja=t(["\n display: flex;\n\n &[data-card-array-no-margin-style='true'] {\n margin: 8px 0;\n\n & > div {\n width: 0;\n flex: 1;\n margin: 0 -1px;\n }\n }\n\n &[data-card-array-no-margin-style='false'] {\n margin: 8px -4px;\n\n & > div {\n flex: 1;\n margin: 0 4px;\n }\n }\n"],["\n display: flex;\n\n &[data-card-array-no-margin-style='true'] {\n margin: 8px 0;\n\n & > div {\n width: 0;\n flex: 1;\n margin: 0 -1px;\n }\n }\n\n &[data-card-array-no-margin-style='false'] {\n margin: 8px -4px;\n\n & > div {\n flex: 1;\n margin: 0 4px;\n }\n }\n"]))),u.div(Za||(Za=t(["\n margin-top: 64px;\n"],["\n margin-top: 64px;\n"]))),u.div(Va||(Va=t(["\n padding: 24px 0;\n"],["\n padding: 24px 0;\n"]))),u.div(Fa||(Fa=t(["\n display: flex;\n width: 100%;\n align-items: center;\n justify-content: center;\n\n & > div:first-child {\n margin-right: 8px;\n }\n"],["\n display: flex;\n width: 100%;\n align-items: center;\n justify-content: center;\n\n & > div:first-child {\n margin-right: 8px;\n }\n"]))),u.div(Ia||(Ia=t(["\n z-index: ",";\n align-items: center;\n\n border: 1px solid ",";\n background-color: ",";\n box-shadow: 0px 24px 32px rgba(0, 0, 0, 0.04),\n 0px 16px 24px rgba(0, 0, 0, 0.04), 0px 4px 8px rgba(0, 0, 0, 0.04),\n 0px 0px 1px rgba(0, 0, 0, 0.04);\n"],["\n z-index: ",";\n align-items: center;\n\n border: 1px solid ",";\n background-color: ",";\n box-shadow: 0px 24px 32px rgba(0, 0, 0, 0.04),\n 0px 16px 24px rgba(0, 0, 0, 0.04), 0px 4px 8px rgba(0, 0, 0, 0.04),\n 0px 0px 1px rgba(0, 0, 0, 0.04);\n"])),ce,(function(n){return n.theme.colors.neutral50}),(function(n){return n.theme.colors.white})),u.div(Oa||(Oa=t(["\n position: relative;\n display: flex;\n flex-wrap: wrap;\n align-items: flex-start;\n justify-content: flex-start;\n padding: 48px 0;\n"],["\n position: relative;\n display: flex;\n flex-wrap: wrap;\n align-items: flex-start;\n justify-content: flex-start;\n padding: 48px 0;\n"]))),u.div(Ga||(Ga=t(["\n position: relative;\n display: flex;\n flex-wrap: wrap;\n align-items: flex-start;\n justify-content: flex-start;\n &[data-disabled-divider='false'] {\n border-right: 1px solid #e4e8ec;\n }\n"],["\n position: relative;\n display: flex;\n flex-wrap: wrap;\n align-items: flex-start;\n justify-content: flex-start;\n &[data-disabled-divider='false'] {\n border-right: 1px solid #e4e8ec;\n }\n"]))),u.div(Wa||(Wa=t(["\n width: 20%;\n padding-right: 16px;\n margin-bottom: 12px;\n\n & > a {\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 22px;\n }\n\n & > a:hover {\n color: ",";\n }\n\n .iconMenu {\n display: flex;\n align-items: center;\n\n > .imageContainer {\n display: flex;\n width: 32px;\n min-width: 32px;\n align-items: center;\n margin-right: 16px;\n }\n }\n"],["\n width: 20%;\n padding-right: 16px;\n margin-bottom: 12px;\n\n & > a {\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 22px;\n }\n\n & > a:hover {\n color: ",";\n }\n\n .iconMenu {\n display: flex;\n align-items: center;\n\n > .imageContainer {\n display: flex;\n width: 32px;\n min-width: 32px;\n align-items: center;\n margin-right: 16px;\n }\n }\n"])),(function(n){return n.theme.colors.gray800}),(function(n){return n.theme.sizes.fsParagraph4}),(function(n){return n.theme.sizes.fwRegular}),(function(n){return n.theme.colors.primaryBase})),u.div(Ya||(Ya=t(["\n display: none;\n"],["\n display: none;\n"]))),u.div(qa||(qa=t(["\n width: 33%;\n height: 48px;\n padding-right: 16px;\n margin-bottom: 12px;\n\n & > a {\n display: flex;\n align-items: center;\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 22px;\n\n & > :first-child {\n margin-right: 16px;\n }\n }\n\n & > a > p:hover {\n color: ",";\n }\n"],["\n width: 33%;\n height: 48px;\n padding-right: 16px;\n margin-bottom: 12px;\n\n & > a {\n display: flex;\n align-items: center;\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 22px;\n\n & > :first-child {\n margin-right: 16px;\n }\n }\n\n & > a > p:hover {\n color: ",";\n }\n"])),(function(n){return n.theme.colors.gray800}),(function(n){return n.theme.sizes.fsParagraph4}),(function(n){return n.theme.sizes.fwRegular}),(function(n){return n.theme.colors.primaryBase})),u.div(Ka||(Ka=t(["\n display: flex;\n align-items: center;\n\n padding-right: 16px;\n margin-bottom: 12px;\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 24px;\n\n &[data-theme='marryBaby'] {\n color: ",";\n }\n"],["\n display: flex;\n align-items: center;\n\n padding-right: 16px;\n margin-bottom: 12px;\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 24px;\n\n &[data-theme='marryBaby'] {\n color: ",";\n }\n"])),(function(n){return n.theme.colors.primaryBase}),(function(n){return n.theme.sizes.fsParagraph4}),(function(n){return n.theme.sizes.fwBold}),(function(n){return n.theme.mbColors.pink})),u.div(Qa||(Qa=t(["\n display: flex;\n align-items: center;\n\n margin-left: 10px;\n"],["\n display: flex;\n align-items: center;\n\n margin-left: 10px;\n"]))),u.div(Ja||(Ja=t(["\n position: absolute;\n top: 16px;\n right: 0;\n display: flex;\n align-items: center;\n cursor: pointer;\n"],["\n position: absolute;\n top: 16px;\n right: 0;\n display: flex;\n align-items: center;\n cursor: pointer;\n"]))),u.div(Xa||(Xa=t(["\n display: block;\n"],["\n display: block;\n"]))),u.div($a||($a=t(["\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 .categories__spotlight {\n display: grid;\n margin: 16px;\n margin-bottom: 32px;\n grid-gap: 8px;\n grid-template-columns: 1fr 1fr;\n\n a {\n text-decoration: none;\n }\n }\n\n .categoryCard {\n display: flex;\n width: 100%;\n flex-direction: column;\n align-items: center;\n padding: 16px;\n border-radius: 6px;\n color: ",";\n\n svg {\n margin-bottom: 4px;\n }\n\n &.active {\n background: ",";\n box-shadow: 0px 16px 24px rgba(0, 0, 0, 0.06),\n 0px 2px 8px rgba(0, 0, 0, 0.04), 0px 0px 1px rgba(0, 0, 0, 0.04);\n color: white;\n }\n\n &:not(.active) {\n box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.04),\n 0px 0px 2px rgba(0, 0, 0, 0.06), 0px 0px 1px rgba(0, 0, 0, 0.04);\n }\n }\n\n .amp__menu-header {\n display: grid;\n grid-template-columns: 1fr 1fr 1fr;\n\n svg {\n margin-left: 16px;\n }\n\n > div {\n align-self: center;\n\n &:nth-child(2) {\n justify-self: center;\n }\n }\n }\n\n .logo {\n margin: 22px 0;\n }\n\n .categories {\n margin: 0 16px;\n\n li {\n display: block;\n width: 100%;\n\n + li {\n border-top: 1px solid\n ",";\n }\n\n a {\n display: block;\n margin: 12px 0;\n color: ",";\n text-decoration: none;\n }\n }\n }\n"])),(function(n){return n.theme.colors.primaryBase}),(function(n){return n.theme.colors.primaryBase}),(function(n){return n.theme.colors.neutral100}),(function(n){return n.theme.colors.gray800})),u.div(no||(no=t(["\n width: 20%;\n height: 2px;\n\n background-color: ",";\n border-radius: 2px;\n"],["\n width: 20%;\n height: 2px;\n\n background-color: ",";\n border-radius: 2px;\n"])),(function(n){return n.theme.mbColors.pink}));var Sa,Da,ja,Za,Va,Fa,Ia,Oa,Ga,Wa,Ya,qa,Ka,Qa,Ja,Xa,$a,no,eo,to,io=u.div(eo||(eo=t(["\n padding: 16px;\n padding-bottom: 12px;\n .fake-search-input {\n pointer-events: none;\n input {\n line-height: 20px;\n padding-top: 10px;\n padding-bottom: 10px;\n }\n }\n &[data-theme='marryBaby'] {\n input {\n background: ",";\n border-radius: 16px;\n border: none;\n }\n }\n"],["\n padding: 16px;\n padding-bottom: 12px;\n .fake-search-input {\n pointer-events: none;\n input {\n line-height: 20px;\n padding-top: 10px;\n padding-bottom: 10px;\n }\n }\n &[data-theme='marryBaby'] {\n input {\n background: ",";\n border-radius: 16px;\n border: none;\n }\n }\n"])),(function(n){return n.theme.mbColors.lightGray})),ao=u.div(to||(to=t(["\n display: block;\n overflow-y: auto;\n flex: 1;\n padding-bottom: 16px;\n &::-webkit-scrollbar {\n width: 0;\n display: none;\n }\n"],["\n display: block;\n overflow-y: auto;\n flex: 1;\n padding-bottom: 16px;\n &::-webkit-scrollbar {\n width: 0;\n display: none;\n }\n"]))),oo=function(n){var e,t,i=n.closePopup,a=n.menuItems,l=void 0===a?[]:a,r=p(pt),s=r.siteType,c=r.ssrMenuContent,d=c.categories,m=c.healthTools,h=c.care,u=c.together,g=r.activeMenuService,f=r.configs,x=f.statics,v=f.enableSearchBar,y=r.locale,b=_().t;return o.createElement(Ra,{id:"categories-menu"},v?o.createElement(io,{"data-theme":s,onClick:function(){window.location.href="".concat(x.HOME_PAGE_URL,"/search")}},o.createElement(xt,null)):null,o.createElement(ao,null,o.createElement(Nt,{UrlFE:x.HOME_PAGE_URL,titleBtnViewMore:b("home.navigator.menuItem.allCategories"),menuItems:l,headingTitle:b("home.navigator.menuItem.healthCategories"),onClosePopup:i}),"categories"===g&&o.createElement(yi,{spotlightsList:(null==d?void 0:d.spotlights)||[],hrefViewMore:"".concat(x.HOME_PAGE_URL).concat("tl-PH"===y?"/fil":"","/spotlight/")}),"tools"===g&&o.createElement(Ha,{spotlightHealthTools:null==m?void 0:m.spotlights,hrefViewMore:"".concat(x.HOME_PAGE_URL).concat("tl-PH"===y?"/fil":"").concat((null===(e=w[y])||void 0===e?void 0:e.HEALTH_TOOLS)||"")}),"care"===g&&o.createElement(li,{spotlights:null==h?void 0:h.spotlights,hrefViewMore:"".concat(x.CARE_URL_FE,"/").concat(null===(t=Y[y])||void 0===t?void 0:t.SPECIALTIES)}),"together"===g&&o.createElement(qi,{spotlights:null==u?void 0:u.spotlights})))},lo="IQdn7tn",ro="_1jX3mGY",so="arD755Y",co=function(n){var e=n.type,t=void 0===e?"home":e,i=n.menuItems,a=p(pt),l=a.siteType,r=a.configs.enableSearchBar,s=On(),c=s.containerRef,d=s.onContainerFocus,m=s.onContainerBlur,h=s.onButtonMouseDown,u=s.onClose;return o.createElement(In,{mediaQueryKey:"mbDown"},o.createElement("header",{className:lo},o.createElement("div",{className:ro,ref:c,role:"button",tabIndex:0,onBlur:m,onFocus:d},o.createElement("div",{className:so,onMouseDown:h,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"Hamburger Navigation URL"},o.createElement(_a,{className:"mobile-close-icon"}),o.createElement(Ua,{siteType:l,type:t,enableSearch:r,className:"mobile-hamburger-icon"})),o.createElement(oo,{menuItems:i,closePopup:u}))))},po=u.div(fo||(fo=t(["\n z-index: 201;\n width: 100%;\n align-items: center;\n\n background-color: ",";\n\n transition: height 0.3s, transform 0.3s;\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 "," {\n &[data-sitewide-banner-shown='true'][data-collapsed='true'] {\n transform: translateY(-64px);\n }\n }\n "," {\n &[data-site-type='marryBaby'] {\n border-bottom: none;\n }\n\n &[data-fixed-bar='true'] {\n position: fixed;\n transform: translateY(0);\n }\n\n &[data-fixed-bar='false'] {\n position: absolute;\n }\n\n &[data-collapsed='true'] {\n transform: translateY(-100%);\n transition: transform 0.5s;\n }\n &[data-collapsed='false'] {\n transform: translateY(0);\n transition: transform 0.5s;\n }\n\n .top-bar-header {\n line-height: normal;\n }\n\n &[data-header-type='home'] {\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\n .marry-baby {\n input {\n background: ",";\n border-radius: 16px;\n border: none;\n }\n max-width: 172px;\n }\n &[data-site-type='marryBaby'] {\n .close-btn {\n top: 16px;\n right: 16px;\n }\n }\n"],["\n z-index: 201;\n width: 100%;\n align-items: center;\n\n background-color: ",";\n\n transition: height 0.3s, transform 0.3s;\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 "," {\n &[data-sitewide-banner-shown='true'][data-collapsed='true'] {\n transform: translateY(-64px);\n }\n }\n "," {\n &[data-site-type='marryBaby'] {\n border-bottom: none;\n }\n\n &[data-fixed-bar='true'] {\n position: fixed;\n transform: translateY(0);\n }\n\n &[data-fixed-bar='false'] {\n position: absolute;\n }\n\n &[data-collapsed='true'] {\n transform: translateY(-100%);\n transition: transform 0.5s;\n }\n &[data-collapsed='false'] {\n transform: translateY(0);\n transition: transform 0.5s;\n }\n\n .top-bar-header {\n line-height: normal;\n }\n\n &[data-header-type='home'] {\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\n .marry-baby {\n input {\n background: ",";\n border-radius: 16px;\n border: none;\n }\n max-width: 172px;\n }\n &[data-site-type='marryBaby'] {\n .close-btn {\n top: 16px;\n right: 16px;\n }\n }\n"])),(function(n){return n.theme.colors.white}),(function(n){return n.theme.colors.neutral100}),(function(n){return n.theme.mbColors.lightPink}),S.mbUp,S.mbDown,le,re,se,(function(n){return n.theme.mbColors.lightGray})),mo=u.div(xo||(xo=t(["\n display: flex;\n height: 100%;\n align-items: center;\n\n justify-content: space-between;\n padding: 0 2rem;\n height: 69px;\n "," {\n padding: 0 1rem;\n }\n\n "," {\n position: relative;\n height: 64px;\n background: white;\n gap: 1rem;\n }\n\n &[data-site-type='marryBaby'] {\n width: 100%;\n margin: 0 auto;\n padding: 0 16px;\n "," {\n max-width: 1064px;\n }\n }\n"],["\n display: flex;\n height: 100%;\n align-items: center;\n\n justify-content: space-between;\n padding: 0 2rem;\n height: 69px;\n "," {\n padding: 0 1rem;\n }\n\n "," {\n position: relative;\n height: 64px;\n background: white;\n gap: 1rem;\n }\n\n &[data-site-type='marryBaby'] {\n width: 100%;\n margin: 0 auto;\n padding: 0 16px;\n "," {\n max-width: 1064px;\n }\n }\n"])),S.pcDown,S.mbDown,S.tdUp),ho=u.div(vo||(vo=t(["\n display: flex;\n align-items: center;\n height: 100%;\n gap: 24px;\n "," {\n gap: 16px;\n }\n &[data-site-type='marryBaby'] {\n gap: 26px;\n }\n"],["\n display: flex;\n align-items: center;\n height: 100%;\n gap: 24px;\n "," {\n gap: 16px;\n }\n &[data-site-type='marryBaby'] {\n gap: 26px;\n }\n"])),S.pcDown),uo=u.div(yo||(yo=t([""],[""]))),go=u.div(bo||(bo=t(["\n display: flex;\n align-items: center;\n height: 100%;\n flex-shrink: 0.6;\n .hhgcomp-navigation-itemnav-headeritem {\n gap: 2px;\n "," {\n padding: 0 12px;\n }\n "," {\n padding: 0 6px;\n }\n "," {\n display: none;\n }\n a {\n text-decoration: none;\n }\n }\n &[data-site-type='marryBaby'] {\n gap: 26px;\n }\n"],["\n display: flex;\n align-items: center;\n height: 100%;\n flex-shrink: 0.6;\n .hhgcomp-navigation-itemnav-headeritem {\n gap: 2px;\n "," {\n padding: 0 12px;\n }\n "," {\n padding: 0 6px;\n }\n "," {\n display: none;\n }\n a {\n text-decoration: none;\n }\n }\n &[data-site-type='marryBaby'] {\n gap: 26px;\n }\n"])),S.pcUp,S.pcDown,S.mbDown);u.div(wo||(wo=t(["\n .fake-search-input {\n pointer-events: none;\n input {\n line-height: 20px;\n padding-top: 10px;\n padding-bottom: 10px;\n }\n }\n"],["\n .fake-search-input {\n pointer-events: none;\n input {\n line-height: 20px;\n padding-top: 10px;\n padding-bottom: 10px;\n }\n }\n"])));var fo,xo,vo,yo,bo,wo,Eo,ko,Co,Lo,Po,Mo=u.div(Eo||(Eo=t(["\n margin-left: 16px;\n display: flex;\n gap: 12px;\n align-items: center;\n flex-shrink: 0;\n "," {\n margin-left: 8px;\n gap: 8px;\n }\n "," {\n margin-left: 12px;\n gap: 10px;\n }\n"],["\n margin-left: 16px;\n display: flex;\n gap: 12px;\n align-items: center;\n flex-shrink: 0;\n "," {\n margin-left: 8px;\n gap: 8px;\n }\n "," {\n margin-left: 12px;\n gap: 10px;\n }\n"])),S.pcDown,S.mbDown),Bo=u.div(ko||(ko=t(["\n display: flex;\n align-items: center;\n height: 100%;\n &[data-site-type='marryBaby'] {\n gap: 26px;\n }\n"],["\n display: flex;\n align-items: center;\n height: 100%;\n &[data-site-type='marryBaby'] {\n gap: 26px;\n }\n"]))),Ho=function(n){var e,t=n.onTopBarAppears,i=n.type,a=void 0===i?"home":i,c=n.languageMenu,d=n.menuItems,u=n.setSitewideBannerClosed,g=n.sitewideBannerClosed,f=p(pt),x=f.siteType,v=f.isMobile,y=void 0!==v&&v,w=f.locale,k=f.sitewideBanner,C=f.sitewideBannerShown,L=void 0===C||C,P=f.sponsorComponent,M=f.onBookingClick,B=f.currentUrl,H=f.onLoginClick,N=f.configs,T=N.statics,A=N.enableNavCareBooking,R=N.enableSearchBar,S=N.enableNavCare,D=N.enableProfileMyHealth,j=N.enableNavTogether,Z=N.enableProfileEcom,V=N.enableProfileNavigatorMenu,F=f.userState.userInfo,I=f.onLogout,O=f.userProfileRouterPush,G=f.isUserLoading,W=_().t,Y=T.SSO_URL,q=T.HOME_PAGE_URL,K=!!P,Q=l(!1),J=Q[0],X=Q[1],$=s(47),nn=s(null),en=s(!1),tn="helloSites"===x?null===(e=b[w])||void 0===e?void 0:e.LOGO_TYPE:x,an="undefined"!=typeof window,on=m(U((function(){if("home"===a&&an){if(!nn.current)return;var n=nn.current.getBoundingClientRect();n.top<=0&&window.scrollY>$.current&&window.scrollY>n.height+20&&!en.current&&(en.current=!0,X(!0)),window.scrollY<$.current&&en.current&&(en.current=!1,X(!1)),window.scrollY>=0&&($.current=window.scrollY)}}),200),[]);r((function(){null==t||t(!J)}),[J]),r((function(){return window.addEventListener("scroll",on,{passive:!0}),function(){window.removeEventListener("scroll",on)}}),[]),r((function(){y&&on()}),[y]);var ln=L&&!!k&&!g;return o.createElement(po,{"data-site-type":x,"data-sponsored":K,"data-sitewide-banner-shown":ln,"data-header-type":a,"data-collapsed":J,"data-with-search-input":"popup-sub-level"!==a,"data-is-displayed":!0,id:"site-header",ref:nn},k?o.isValidElement(k)?o.cloneElement(k,{isCollapsed:J,setBannerClosed:u,isMobile:y}):k:null,o.createElement(mo,{"data-site-type":x},o.createElement(ho,{"data-site-type":x},o.createElement(co,{menuItems:d,type:a}),o.createElement("a",{href:q},o.createElement(uo,null,o.createElement(z,{style:{display:"flex"},type:tn,badge:"id-ID"===w&&o.createElement("img",{src:h.getAssetPath("sehat-badge.png"),width:"56",height:"23"}),dateForSeasonal:new Date,locale:w,key:"undefined"!=typeof window?"client":"server"}))),"marryBaby"===x?o.createElement(To,{menuItems:d}):R&&o.createElement(No,{siteType:x})),o.createElement(go,{"data-site-type":x},"marryBaby"===x?R&&o.createElement(No,{siteType:x}):o.createElement(To,{menuItems:d}),o.createElement(Mo,null,A&&o.createElement(In,{mediaQueryKey:"mbUp"},o.createElement(za,{careUrlFe:T.CARE_URL_FE,currentUrl:B,btnName:W("login.booking"),onCareHeaderClick:M})),c,o.createElement(dt,{userInfo:F,siteType:x,onLoginClick:H||function(){var n=window.location.href;window.location.href=Y?"".concat(Y,"?returnUrl=").concat(n):n},SSO_URL:T.SSO_URL+"/",currentUrl:B,onLogout:I,UP_BASEPATH:E,isMyHealthEnabled:D,enableCare:S,enableTogether:j,enableEcom:Z,togetherApiDomain:T.TOGETHER_API+"/",isUserProfileNavigatorMenuHidden:!V,userProfileRouterPush:O,isLoading:G,locale:w})))),P?o.isValidElement(P)?o.cloneElement(P,{isCollapsed:J,locale:w,isMobile:y}):P:null)},No=function(n){var e=n.siteType;return o.createElement(In,{mediaQueryKey:"mbUp",className:"marryBaby"===e?"marry-baby":""},o.createElement(xt,null))},To=function(n){var e=n.menuItems,t=p(pt),i=t.siteType,a=t.locale,l=t.ssrMenuContent,r=l.categories,s=l.healthTools,c=l.care,d=l.together;return o.createElement(In,{mediaQueryKey:"mbUp",style:{height:"100%"}},o.createElement(Bo,{"data-site-type":i},null==e?void 0:e.map((function(n,e){return o.createElement(gt,{key:e,item:n,menu:"categories"===n.popupType?o.createElement(bi,{categories:null==r?void 0:r.items,spotlightsList:null==r?void 0:r.spotlights}):"tools"===n.popupType?o.createElement(Na,{locale:a,healthTools:null==s?void 0:s.items,spotlightHealthTools:null==s?void 0:s.spotlights}):"together"===n.popupType?o.createElement(Ki,{communities:null==d?void 0:d.items,spotlights:null==d?void 0:d.spotlights}):"care"===n.popupType?o.createElement(ri,{careSpecialties:null==c?void 0:c.items,spotlights:null==c?void 0:c.spotlights}):null})}))))},Ao=u.div(Co||(Co=t(["\n --header-z-index: 305;\n top: 0;\n z-index: var(--header-z-index);\n\n "," {\n width: 100vw;\n max-width: 100%;\n }\n --amp-site-wide-closed: 2px;\n\n -webkit-transform: translateZ(0);\n position: sticky;\n\n &.nav-open {\n margin-top: 64px;\n }\n\n &:not(.nav-open) {\n --amp-site-wide-closed: 66px;\n }\n pointer-events: none;\n > section * {\n pointer-events: auto;\n }\n"],["\n --header-z-index: 305;\n top: 0;\n z-index: var(--header-z-index);\n\n "," {\n width: 100vw;\n max-width: 100%;\n }\n --amp-site-wide-closed: 2px;\n\n -webkit-transform: translateZ(0);\n position: sticky;\n\n &.nav-open {\n margin-top: 64px;\n }\n\n &:not(.nav-open) {\n --amp-site-wide-closed: 66px;\n }\n pointer-events: none;\n > section * {\n pointer-events: auto;\n }\n"])),S.mbDown);u.div(Lo||(Lo=t(["\n display: flex;\n align-items: center;\n gap: 8px;\n"],["\n display: flex;\n align-items: center;\n gap: 8px;\n"]))),u.a(Po||(Po=t(["\n &[data-is-active='true'] {\n color: unset;\n }\n font-size: 14px;\n font-weight: 700;\n line-height: 22px;\n text-decoration: none;\n"],["\n &[data-is-active='true'] {\n color: unset;\n }\n font-size: 14px;\n font-weight: 700;\n line-height: 22px;\n text-decoration: none;\n"])));var zo=function(e){var t,i,a=e.isMobile,d=e.locale,u=e.onTopBarAppears,g=e.languageOptions,f=e.sponsorComponent,x=e.sitewideBanner,v=e.sitewideBannerShown,y=e.className,b=l(!1),E=b[0],k=b[1],C=function(){var n=_().t,e=p(pt),t=e.siteType,i=e.locale,a=e.configs,o=a.enableNavCare,l=a.enableNavTogether,r=a.enableNavEcom,s=a.statics,d="marryBaby"===t,m=c((function(){var e,t=[{name:n("home.navigator.menuItem.discover"),id:"categories",link:"".concat(s.HOME_PAGE_URL).concat("tl-PH"===i?"/fil":"","/categories"),niceName:"",thumbnail:d?h.getAssetPath("categories-mb.svg"):h.getAssetPath("discover.png"),popupType:"categories"},{name:n("home.navigator.menuItem.healthTools"),id:"tools",link:"".concat(s.HOME_PAGE_URL).concat("tl-PH"===i?"/fil":"").concat((null===(e=w[i])||void 0===e?void 0:e.HEALTH_TOOLS)||""),thumbnail:d?h.getAssetPath("healthtools-mb.svg"):h.getAssetPath("healthTools.png"),popupType:"tools"}];return o&&t.push({name:n("home.navigator.menuItem.helloCare"),id:"care",link:s.HOME_PAGE_URL+"/care",thumbnail:h.getAssetPath("helloCare-thumbnail.png"),popupType:"zh-TW"===i?null:"care"}),l&&t.push({name:n("home.navigator.menuItem.helloTogether"),id:"together",link:s.TOGETHER_URL_FE+"/",thumbnail:d?h.getAssetPath("community-mb.svg"):h.getAssetPath("together.png"),popupType:"together"}),r&&t.push({name:n("home.navigator.menuItem.helloEcom"),id:"ecom",link:s.HOME_PAGE_URL+"/ecom",thumbnail:h.getAssetPath("helloCare-thumbnail.png"),popupType:"shop"}),t}),[i,o,l,r]);return m}();!function(){var e=p(pt),t=e.isFirstLogin,i=e.userState.userInfo;r((function(){(null==i?void 0:i.id)&&(t?(null==i?void 0:i.email)&&""!==(null==i?void 0:i.email)?window.insider_object={user:n({uuid:null==i?void 0:i.id,email:null==i?void 0:i.email,gdpr_optin:!0,email_optin:!0,sign_up:!0},(null==i?void 0:i.name)?{name:null==i?void 0:i.name}:{})}:window.insider_object={user:n({uuid:null==i?void 0:i.id,sign_up:!0},(null==i?void 0:i.name)?{name:null==i?void 0:i.name}:{})}:(null==i?void 0:i.email)&&""!==(null==i?void 0:i.email)?window.insider_object={user:n({uuid:null==i?void 0:i.id,email:null==i?void 0:i.email,gdpr_optin:!0,email_optin:!0,log_in:!0},(null==i?void 0:i.name)?{name:null==i?void 0:i.name}:{})}:window.insider_object={user:n({uuid:null==i?void 0:i.id,log_in:!0},(null==i?void 0:i.name)?{name:null==i?void 0:i.name}:{})})}),[])}();var L=function(n){var e=n.hasSponsoredBanners,t=n.isSiteWide,i=n.isSponsored,a=n.isShowingSiteWideBanner,o=n.isMobile,d=s(null),p=l(0),h=p[0],u=p[1],g=l(64),f=g[0],x=g[1],v=m(J((function(){var n,e,t,i,a=(null===(n=d.current)||void 0===n?void 0:n.clientHeight)||(null===(t=null===(e=d.current)||void 0===e?void 0:e.children[0])||void 0===t?void 0:t.clientHeight)||0;window.scrollY<=a+200&&(u(a),x((null===(i=d.current)||void 0===i?void 0:i.getBoundingClientRect().bottom)||h))}),200),[]);r((function(){return window.addEventListener("resize",v,{passive:!0}),window.addEventListener("scroll",v,{passive:!0}),v(),function(){window.removeEventListener("resize",v),window.removeEventListener("scroll",v)}}),[]),r((function(){v()}),[o,t,a,i,e,d.current]);var y=c((function(){var n=o?64:69;return a&&(n+=64),i&&(n+=40,e&&(n+=57)),n}),[o,a,e,i]);return{defaultHeaderHeight:y,headerHeight:h||y,headerBottom:f,headerRef:d}}({isSiteWide:!!x&&!E,isShowingSiteWideBanner:v&&!!x&&!E,isSponsored:!!f,hasSponsoredBanners:!!(null===(i=null===(t=null==f?void 0:f.props)||void 0===t?void 0:t.sponsoredBy)||void 0===i?void 0:i.length),isMobile:a}),P=L.headerRef,M=L.defaultHeaderHeight,B=L.headerHeight,H=L.headerBottom;return o.createElement(Ao,{id:"navigation-v2",style:{"--default-header-height":M+"px","--header-height":"calc(".concat(B,"px - var(--amp-site-wide-closed), 64px)"),"--header-bottom":H+"px"},className:y},o.createElement("section",{ref:P},o.createElement(Ho,{menuItems:C,type:"home",onTopBarAppears:a?function(n){u&&u(n)}:void 0,languageMenu:o.createElement(Zn,{languageOptions:g,locale:d}),setSitewideBannerClosed:k,sitewideBannerClosed:E})))},_o=function(e){var t=n({siteType:"helloSites",projectType:"discover",locale:"vi-VN",activeMenuService:"categories",ssrMenuContent:{}},e);return o.createElement(mt,n({},t),o.createElement(zo,n({},t)))},Uo=function(n){return i(void 0,void 0,void 0,(function(){var e,t,i,o,l,r,s,c,d,p,m,h,u,g,v,b,w,E,k,C,B,H,N,z,_,U,R,S,D,j,Z,V,F,I,O,G;return a(this,(function(a){switch(a.label){case 0:e={},t="vi-VN_MB"===n,a.label=1;case 1:a.trys.push([1,14,,15]),i="tl-PH"===n?"lang=fil":"",a.label=2;case 2:return a.trys.push([2,4,,5]),[4,Promise.all([fetch("".concat(P(n),"/wp-json/api/categories").concat(i?"?"+i:"")).then((function(n){return n.json()})),fetch("".concat(P(n),"/wp-json/api/spotlights?per_page=10").concat(i?"&"+i:"")).then((function(n){return n.json()})),fetch("".concat(P(n),"/wp-json/api/").concat(t?"health-tools":"healthtools").concat(i?"?"+i:"")).then((function(n){return n.json()})),fetch("".concat(P(n),"/wp-json/api/").concat(t?"health-tools":"healthtools","/favorites").concat(i?"?"+i:"")).then((function(n){return n.json()}))])];case 3:return o=a.sent(),l=o[0],r=o[1],s=o[2],c=o[3],e.categories={items:(null===(w=null===(b=null==l?void 0:l.data)||void 0===b?void 0:b.map)||void 0===w?void 0:w.call(b,de))||[],spotlights:(null===(B=null===(C=null===(k=null===(E=null==r?void 0:r.data)||void 0===E?void 0:E.articles)||void 0===k?void 0:k.map)||void 0===C?void 0:C.call(k,ge))||void 0===B?void 0:B.filter(fe))||[]},e.healthTools={items:(null===(N=null===(H=null==s?void 0:s.data)||void 0===H?void 0:H.map)||void 0===N?void 0:N.call(H,pe))||[],spotlights:(null===(_=null===(z=null==c?void 0:c.data)||void 0===z?void 0:z.map)||void 0===_?void 0:_.call(z,pe))||[]},[3,5];case 4:return a.sent(),[3,5];case 5:if(!t&&!y.includes(n))return[3,9];a.label=6;case 6:return a.trys.push([6,8,,9]),[4,Promise.all([fetch("".concat(L(),"/api/v1/community?website_url=https://").concat(f[n])).then((function(n){return n.json()})),fetch("".concat(L(),"/api/v1/options?website_url=https://").concat(f[n],"&meta_key=popular_post")).then((function(n){return n.json()}))])];case 7:return d=a.sent(),p=d[0],m=d[1],e.together={items:(null===(S=null===(R=null===(U=null==p?void 0:p.data)||void 0===U?void 0:U.communities)||void 0===R?void 0:R.map)||void 0===S?void 0:S.call(R,T))||[],spotlights:(null===(Z=null===(j=null===(D=null==m?void 0:m.data)||void 0===D?void 0:D.posts)||void 0===j?void 0:j.map)||void 0===Z?void 0:Z.call(j,A))||[]},[3,9];case 8:return a.sent(),[3,9];case 9:if(!x.includes(n))return[3,13];a.label=10;case 10:return a.trys.push([10,12,,13]),[4,Promise.all([fetch(M()+"/api/specialties?_ishome=1&site=".concat(f[n])).then((function(n){return n.json()})),fetch(M()+"/api/search/?site=".concat(f[n],"&type=hospital&order_by=total_doctor")).then((function(n){return n.json()}))])];case 11:return h=a.sent(),u=h[0],g=h[1],e.care={items:(null===(I=null===(F=null===(V=null==u?void 0:u._data)||void 0===V?void 0:V.specialties)||void 0===F?void 0:F.map)||void 0===I?void 0:I.call(F,me))||[],spotlights:(null===(G=null===(O=null==g?void 0:g._data.searches)||void 0===O?void 0:O.map)||void 0===G?void 0:G.call(O,he))||[]},[3,13];case 12:return a.sent(),[3,13];case 13:return[3,15];case 14:return v=a.sent(),console.error(v),[3,15];case 15:return[2,e]}}))}))},Ro=function(n){return i(void 0,void 0,void 0,(function(){return a(this,(function(e){switch(e.label){case 0:return[4,X("nav-menu-content",(function(){return Uo(n||"en-PH")}),(function(n){var e,t;return!!(null===(t=null===(e=null==n?void 0:n.categories)||void 0===e?void 0:e.items)||void 0===t?void 0:t.length)}))];case 1:return[2,e.sent()||{}]}}))}))};export{dn as A,An as F,Zn as L,_o as N,ct as P,rt as U,Ro as a,ye as b,lt as c,Yn as d,dt as e,Uo as g};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as n,d as e,_ as r}from"./tslib.es6-2dcedc0f.js";import o,{useMemo as i}from"react";import{CommonGAssets as t}from"./gAssets.js";import{t as l}from"./theme-d0509a28.js";import{T as c}from"./index-80a7384c.js";import a from"styled-components";import{L as s}from"./Locale-ae8993d5.js";import{C as d}from"./index-96c22dca.js";var p,u,m,x,g,h=a.div(p||(p=n(["\n display: inline-flex;\n overflow: hidden;\n width: ","px;\n height: ","px;\n box-sizing: border-box;\n align-items: center;\n justify-content: center;\n\n border: 1px solid #e4e8ec;\n background-color: ",";\n border-radius: ",";\n & > * {\n width: ","px;\n height: ","px;\n }\n"],["\n display: inline-flex;\n overflow: hidden;\n width: ","px;\n height: ","px;\n box-sizing: border-box;\n align-items: center;\n justify-content: center;\n\n border: 1px solid #e4e8ec;\n background-color: ",";\n border-radius: ",";\n & > * {\n width: ","px;\n height: ","px;\n }\n"])),(function(n){return n.size}),(function(n){return n.size}),(function(n){return n.backgroundColor||l.colors.white}),(function(n){return n.borderRadius||"50%"}),(function(n){return n.iconSize}),(function(n){return n.iconSize})),b=a.div(u||(u=n(["\n display: inline-block;\n height: 108px;\n background-color: ",";\n border-radius: 60px;\n cursor: pointer;\n &.selected-week-pill {\n background-color: ",";\n }\n\n & > div:first-child {\n margin: 4px 4px 0;\n }\n\n & > p {\n margin-top: 8px;\n text-align: center;\n }\n\n & > * {\n pointer-events: none;\n }\n"],["\n display: inline-block;\n height: 108px;\n background-color: ",";\n border-radius: 60px;\n cursor: pointer;\n &.selected-week-pill {\n background-color: ",";\n }\n\n & > div:first-child {\n margin: 4px 4px 0;\n }\n\n & > p {\n margin-top: 8px;\n text-align: center;\n }\n\n & > * {\n pointer-events: none;\n }\n"])),(function(n){return n.theme.colors.white}),(function(n){return n.theme.colors.pink100})),f=[s.Myanmar,s.Taiwan],w=a((function(n){var a=n.icon,s=n.name,d=n.className,p=n.locale,u=void 0===p?"en-PH":p,m=n.onSelect,x=e(n,["icon","name","className","locale","onSelect"]),g=i((function(){return null==d?void 0:d.includes("selected-week-pill")}),[d]);return o.createElement(b,r({onClick:m,className:d?"week-pill".concat(" non-pointer-event-child ",d):"week-pill non-pointer-event-child"},x),o.createElement(h,{size:64,iconSize:40,backgroundColor:l.colors.white},o.createElement("img",{src:a||t.getAssetPath("week_default.png"),alt:""})),g?o.createElement(c,r({type:"semiBold",size:"n1",color:l.colors.gray800},f.includes(u)&&{style:{fontSize:"10px"}}),s):o.createElement(c,r({size:"n1",color:l.colors.gray600},f.includes(u)&&{style:{fontSize:"10px"}}),s))}))(m||(m=n(["\n box-shadow: 0px 0px 24px rgba(0, 0, 0, 0.08);\n"],["\n box-shadow: 0px 0px 24px rgba(0, 0, 0, 0.08);\n"]))),k=a(d.Slide)(x||(x=n([""],[""]))),v=a(d)(g||(g=n(["\n .centerred-pill-wrapper {\n padding: 16px 0;\n }\n"],["\n .centerred-pill-wrapper {\n padding: 16px 0;\n }\n"]))),y=function(n){var i=n.data,t=n.isMobile,l=n.onSlideChange,c=n.pillProps,a=n.locale,d=void 0===a?s.Vietnam:a,p=n.blurFromIndex,u=n.blurLength,m=e(n,["data","isMobile","onSlideChange","pillProps","locale","blurFromIndex","blurLength"]),x={withControls:!t,slideGap:16,blurFromCenter:!0,blurFromIndex:p||(t?2:4),blurLength:u||(t?1:3),onSlideChange:l};return o.createElement(v,r({},x,m),(function(n){return i.map((function(e,i){return o.createElement(k,r({key:i,onClick:l},c),o.createElement("div",{className:"centerred-pill-wrapper"},o.createElement(w,{locale:d,name:e.name,icon:e.icon,className:i===n?"selected-week-pill":""})))}))}))};export{y as P};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import n,{useState as e,useEffect as t}from"react";import{D as o}from"./index.styled-92d42721.js";import{d as a,_ as r,a as i}from"./tslib.es6-2dcedc0f.js";import{u as d}from"./useTranslations-c02cb81b.js";import l from"styled-components";import{T as s}from"./index-80a7384c.js";import{M as p}from"./utils-d40f1241.js";import{t as c}from"./theme-d0509a28.js";var x,u,b,g,h,m,v,f,w,y,k=function(e){var t=e.type,a=void 0===t?"solid":t,r=e.className,i=e.style;return n.createElement(o,{style:i,className:r,"data-diver-type":a,dividerType:a})},E="U9NRDG6",C={admin:"cardAuthor.admin",moderator:"cardAuthor.moderator",ambassador:"cardAuthor.ambassador",expert:"cardAuthor.expert",sponsor:"cardAuthor.sponsor",guide:"cardAuthor.guide",influencer:"cardAuthor.influencer"},z=function(e){var t=e.siteType,o=e.role,i=e.title,l=a(e,["siteType","role","title"]),s=d().t,p=o?function(n){return["admin","moderator","ambassador","expert","sponsor","guide","influencer"].find((function(e){return e===n}))}(o):"";return p&&C[p]?n.createElement("div",r({className:E,"data-label-type":p,"data-is-marrybaby":"marryBaby"===t},l),i||s(C[p])):null},A=l.div(x||(x=i(["\n --dropdown-padding: 12px 18px 12px 16px;\n position: relative;\n box-sizing: border-box;\n border: 1px solid ",";\n background: url(\"data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%23595959' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A\")\n no-repeat;\n background-position: right 16px center;\n border-radius: 6px;\n\n &[data-disabled='true'],\n :disabled {\n background-color: #f2f2f2;\n cursor: not-allowed;\n }\n\n &[data-size='sm'] {\n font-size: 13px;\n line-height: 20px;\n }\n &[data-size='md'] {\n font-size: 14px;\n line-height: 21px;\n }\n &[data-size='lg'] {\n font-size: 16px;\n line-height: 24px;\n }\n\n &[data-has-icons='true'] {\n border: none;\n background: ",";\n\n img,\n svg {\n display: inline-block;\n max-width: 16px;\n margin-right: 6px;\n }\n\n span {\n display: inline-block;\n vertical-align: middle;\n }\n\n &:hover {\n box-shadow: none;\n }\n > div {\n position: relative;\n display: flex;\n width: 100%;\n box-sizing: border-box;\n align-items: center;\n }\n > div::after {\n position: absolute;\n top: 50%;\n right: 12px;\n width: 10px;\n height: 8px;\n background-image: url(\"data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%23595959' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A\");\n background-repeat: no-repeat;\n content: '';\n transform: translateY(-50%);\n }\n }\n\n &:hover {\n box-shadow: 0 0 2px 2px ",";\n }\n\n &[data-is-native='true'] {\n padding: var(--dropdown-padding);\n line-height: 24px;\n\n &:focus {\n box-shadow: 0px 0px 2px 2px ",";\n }\n }\n"],["\n --dropdown-padding: 12px 18px 12px 16px;\n position: relative;\n box-sizing: border-box;\n border: 1px solid ",";\n background: url(\"data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%23595959' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A\")\n no-repeat;\n background-position: right 16px center;\n border-radius: 6px;\n\n &[data-disabled='true'],\n :disabled {\n background-color: #f2f2f2;\n cursor: not-allowed;\n }\n\n &[data-size='sm'] {\n font-size: 13px;\n line-height: 20px;\n }\n &[data-size='md'] {\n font-size: 14px;\n line-height: 21px;\n }\n &[data-size='lg'] {\n font-size: 16px;\n line-height: 24px;\n }\n\n &[data-has-icons='true'] {\n border: none;\n background: ",";\n\n img,\n svg {\n display: inline-block;\n max-width: 16px;\n margin-right: 6px;\n }\n\n span {\n display: inline-block;\n vertical-align: middle;\n }\n\n &:hover {\n box-shadow: none;\n }\n > div {\n position: relative;\n display: flex;\n width: 100%;\n box-sizing: border-box;\n align-items: center;\n }\n > div::after {\n position: absolute;\n top: 50%;\n right: 12px;\n width: 10px;\n height: 8px;\n background-image: url(\"data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%23595959' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A\");\n background-repeat: no-repeat;\n content: '';\n transform: translateY(-50%);\n }\n }\n\n &:hover {\n box-shadow: 0 0 2px 2px ",";\n }\n\n &[data-is-native='true'] {\n padding: var(--dropdown-padding);\n line-height: 24px;\n\n &:focus {\n box-shadow: 0px 0px 2px 2px ",";\n }\n }\n"])),(function(n){return n.theme.colors.gray200}),(function(n){return n.theme.colors.gray100}),(function(n){return n.theme.colors.blue200}),(function(n){return n.theme.colors.blue200})),L=l.div(u||(u=i(["\n padding: var(--dropdown-padding);\n cursor: pointer;\n\n &.with-label {\n padding-top: 34px;\n padding-bottom: 12px;\n }\n &[data-dropdown-open] {\n padding: 11px 15px 11px 15px;\n border: 1px solid ",";\n border-radius: 6px;\n box-shadow: 0 0 2px 2px ",";\n }\n"],["\n padding: var(--dropdown-padding);\n cursor: pointer;\n\n &.with-label {\n padding-top: 34px;\n padding-bottom: 12px;\n }\n &[data-dropdown-open] {\n padding: 11px 15px 11px 15px;\n border: 1px solid ",";\n border-radius: 6px;\n box-shadow: 0 0 2px 2px ",";\n }\n"])),(function(n){return n.theme.colors.primaryBase}),(function(n){return n.theme.colors.blue200})),j=l.ul(b||(b=i(["\n position: absolute;\n top: 100%;\n right: 0;\n left: 0;\n display: block;\n margin-top: 4px;\n background: ",";\n border-radius: 6px;\n box-shadow: -1px 1px 2px rgba(67, 70, 74, 0.0001), -2px 2px 5px rgba(67, 86, 100, 0.123689);\n cursor: pointer;\n\n &[data-has-icons='true'] {\n border: 1px solid ",";\n background: white;\n box-shadow: none;\n filter: drop-shadow(0px 10px 16px rgba(0, 0, 0, 0.04));\n }\n"],["\n position: absolute;\n top: 100%;\n right: 0;\n left: 0;\n display: block;\n margin-top: 4px;\n background: ",";\n border-radius: 6px;\n box-shadow: -1px 1px 2px rgba(67, 70, 74, 0.0001), -2px 2px 5px rgba(67, 86, 100, 0.123689);\n cursor: pointer;\n\n &[data-has-icons='true'] {\n border: 1px solid ",";\n background: white;\n box-shadow: none;\n filter: drop-shadow(0px 10px 16px rgba(0, 0, 0, 0.04));\n }\n"])),(function(n){return n.theme.colors.white}),(function(n){return n.theme.colors.gray200})),N=l.li(g||(g=i(["\n display: flex;\n padding: 12px 18px 12px 16px;\n &[data-disabled='true'] {\n cursor: not-allowed;\n color: #bfbfbf;\n & > * {\n pointer-events: none;\n }\n }\n &:hover,\n :active {\n background: ",";\n }\n"],["\n display: flex;\n padding: 12px 18px 12px 16px;\n &[data-disabled='true'] {\n cursor: not-allowed;\n color: #bfbfbf;\n & > * {\n pointer-events: none;\n }\n }\n &:hover,\n :active {\n background: ",";\n }\n"])),(function(n){return n.theme.colors.gray100})),T=l.div(h||(h=i(["\n max-width: 16px;\n margin-right: 8px;\n"],["\n max-width: 16px;\n margin-right: 8px;\n"]))),B=l.div(m||(m=i(["\n position: absolute;\n top: 12px;\n left: 16px;\n pointer-events: none;\n"],["\n position: absolute;\n top: 12px;\n left: 16px;\n pointer-events: none;\n"]))),D=function(e){var t=e.className,o=e.value,a=e.options,i=e.onChange,d=void 0===i?function(){}:i,l=e.id,s=e.placeholderIcon,p=e.placeholder,c=e.style,x=e.size,u=void 0===x?"lg":x,b=e.groupedWithLabel,g=e.disabled,h=e.dropdownLabelTrackingAttributes,m=void 0===h?{}:h,v=e.isNativeSelect,f=void 0!==v&&v,w=n.useState(!1),y=w[0],k=w[1],E=function(){return!g&&k(!y)};return f?n.createElement(A,{as:"select","data-is-native":"true",value:(null==o?void 0:o.value)||void 0,disabled:g,onChange:function(n){if("string"==typeof n.target.value){var e=a.find((function(e){return e.value===n.target.value}));e&&d(e)}}},p&&n.createElement("option",{value:p,disabled:!0,selected:!0},p),a.map((function(e){return n.createElement("option",{key:"".concat(l,"-").concat(e.value),value:e.value,disabled:!!e.disabled&&e.disabled},e.label)}))):n.createElement(A,{className:t,"data-dropdown-open":y||void 0,"data-size":u,id:l,"data-has-icons":!!s,style:c,onBlur:function(){return k(!1)},tabIndex:0,"data-disabled":g},!!b&&n.createElement(B,null,b),n.createElement(L,r({onClick:E,className:b&&"with-label"},m),s," ",n.createElement("span",null,o&&o.value?o.label:p)),y&&n.createElement(j,{onClick:E,"data-has-icons":!!s},a.map((function(e){return n.createElement(N,{key:"".concat(l,"-").concat(e.value),"data-selected":o&&o.value===e.value||void 0,onClick:function(){return!e.disabled&&!g&&(null==d?void 0:d(e))},"data-disabled":!!e.disabled&&e.disabled},e.icon&&n.createElement(T,null,e.icon),e.label)}))))},I=l.ul(v||(v=i(["\n display: inline-flex;\n max-width: 100%;\n border-bottom: 1px solid\n ",";\n -webkit-overflow-scrolling: touch;\n overflow-x: auto;\n overflow-y: hidden;\n -ms-overflow-style: none; /* for Internet Explorer, Edge */\n scrollbar-width: none; /* for Firefox */\n overflow-y: scroll;\n &::-webkit-scrollbar {\n display: none;\n }\n"],["\n display: inline-flex;\n max-width: 100%;\n border-bottom: 1px solid\n ",";\n -webkit-overflow-scrolling: touch;\n overflow-x: auto;\n overflow-y: hidden;\n -ms-overflow-style: none; /* for Internet Explorer, Edge */\n scrollbar-width: none; /* for Firefox */\n overflow-y: scroll;\n &::-webkit-scrollbar {\n display: none;\n }\n"])),(function(n){return n.theme.colors.neutral100})),M=l.li(f||(f=i(["\n display: flex;\n align-items: center;\n padding-bottom: 4px;\n\n "," {\n height: 37px;\n }\n\n "," {\n height: 35px;\n }\n\n p {\n color: ",";\n white-space: nowrap;\n }\n\n &:not(:last-child) {\n margin-right: 24px;\n }\n\n &[data-is-tab-active] {\n p {\n color: ",";\n }\n border-bottom: 3px solid\n ",";\n bottom: -1px;\n position: relative;\n }\n\n &:not([data-is-tab-active]) {\n cursor: pointer;\n }\n\n &:focus-visible {\n border: 2px solid ",";\n }\n"],["\n display: flex;\n align-items: center;\n padding-bottom: 4px;\n\n "," {\n height: 37px;\n }\n\n "," {\n height: 35px;\n }\n\n p {\n color: ",";\n white-space: nowrap;\n }\n\n &:not(:last-child) {\n margin-right: 24px;\n }\n\n &[data-is-tab-active] {\n p {\n color: ",";\n }\n border-bottom: 3px solid\n ",";\n bottom: -1px;\n position: relative;\n }\n\n &:not([data-is-tab-active]) {\n cursor: pointer;\n }\n\n &:focus-visible {\n border: 2px solid ",";\n }\n"])),p.mbDown,p.mbUp,(function(n){return n.theme.colors.gray400}),(function(n){return n.theme.colors.primaryBase}),(function(n){return n.theme.colors.primaryBase}),(function(n){return n.theme.colors.gray600})),S=l.div(w||(w=i(["\n display: flex;\n align-items: center;\n"],["\n display: flex;\n align-items: center;\n"]))),F=l.div(y||(y=i(["\n margin-right: 8px;\n"],["\n margin-right: 8px;\n"]))),U=function(o){var a=o.style,r=o.initialTab,i=o.tabContent,d=o.onChange,l=o.className,p=o.dataEventCategory,x=o.dataEventAction,u=o.dataEventLabel,b=o.id,g=e(r||0),h=g[0],m=g[1];return t((function(){m(r)}),[r]),n.createElement(I,{style:a,className:l,role:"tablist",id:b},i.map((function(e,t){return n.createElement(M,{"data-is-tab-active":h===t||void 0,"aria-selected":h===t,role:"tab",onClick:function(){m(t),d&&d(t)},onKeyDown:function(n){"Enter"===n.key&&(m(t),d&&d(t))},key:t,"data-event-category":e.dataEventCategory||p,"data-event-action":e.dataEventAction||x,"data-event-label":e.dataEventLabel||u,tabIndex:0,"data-testid":e.dataTestid},n.createElement(S,null,e.icon&&n.createElement(F,null,e.icon),n.createElement(s,{size:e.textSize||"sm",type:e.textType||"bold",color:e.textColor||c.colors.gray800,dataEventCategory:e.dataEventCategory,dataEventAction:e.dataEventAction,dataEventLabel:e.dataEventLabel},e.name)))})))};export{z as A,k as D,U as T,D as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{a as n}from"./tslib.es6-2dcedc0f.js";import{M as t}from"./utils-d40f1241.js";import e from"styled-components";import o,{memo as a,useMemo as s}from"react";import{CommonGAssets as i}from"./gAssets.js";import{L as l}from"./Locale-ae8993d5.js";var h,r,g=e.div(h||(h=n(["\n position: relative;\n display: inline-flex;\n align-items: center;\n z-index: 1;\n .main-logo-icon {\n object-fit: contain;\n }\n &[data-logo-is-light] {\n > svg path {\n fill: #fff;\n }\n img {\n filter: brightness(0) invert(1);\n }\n }\n\n &[data-has-badge] {\n @supports (display: flex) and (gap: 1em) {\n gap: 0.5rem;\n }\n\n @supports not ((display: flex) and (gap: 1em)) {\n > img {\n margin-left: 0.25rem;\n }\n }\n }\n\n .common-logo-seasonal-left,\n .common-logo-seasonal-right {\n z-index: -1;\n }\n .common-logo-seasonal-left {\n position: absolute;\n top: 50%;\n left: 0;\n transform: translateY(-50%);\n }\n .common-logo-seasonal-right {\n position: absolute;\n top: 50%;\n right: 0;\n transform: translateY(-50%);\n }\n &[data-christmas='true'] {\n padding-left: 37px;\n padding-right: 22px;\n .common-logo-seasonal-left {\n width: 125px;\n height: 56px;\n }\n .common-logo-seasonal-right {\n width: 23px;\n height: 17px;\n }\n }\n &[data-new-year='true'] {\n padding-right: 85px;\n .common-logo-seasonal-left {\n top: 35%;\n width: 100px;\n height: 56px;\n }\n .common-logo-seasonal-right {\n width: 85px;\n height: 54px;\n }\n "," {\n padding-right: 0;\n .common-logo-seasonal-right {\n display: none;\n }\n }\n }\n &[data-lunar-new-year='true'] {\n padding-left: 30px;\n padding-right: 35px;\n .common-logo-seasonal-left {\n width: 33px;\n height: 41px;\n }\n .common-logo-seasonal-right {\n width: 37px;\n height: 54px;\n }\n }\n"],["\n position: relative;\n display: inline-flex;\n align-items: center;\n z-index: 1;\n .main-logo-icon {\n object-fit: contain;\n }\n &[data-logo-is-light] {\n > svg path {\n fill: #fff;\n }\n img {\n filter: brightness(0) invert(1);\n }\n }\n\n &[data-has-badge] {\n @supports (display: flex) and (gap: 1em) {\n gap: 0.5rem;\n }\n\n @supports not ((display: flex) and (gap: 1em)) {\n > img {\n margin-left: 0.25rem;\n }\n }\n }\n\n .common-logo-seasonal-left,\n .common-logo-seasonal-right {\n z-index: -1;\n }\n .common-logo-seasonal-left {\n position: absolute;\n top: 50%;\n left: 0;\n transform: translateY(-50%);\n }\n .common-logo-seasonal-right {\n position: absolute;\n top: 50%;\n right: 0;\n transform: translateY(-50%);\n }\n &[data-christmas='true'] {\n padding-left: 37px;\n padding-right: 22px;\n .common-logo-seasonal-left {\n width: 125px;\n height: 56px;\n }\n .common-logo-seasonal-right {\n width: 23px;\n height: 17px;\n }\n }\n &[data-new-year='true'] {\n padding-right: 85px;\n .common-logo-seasonal-left {\n top: 35%;\n width: 100px;\n height: 56px;\n }\n .common-logo-seasonal-right {\n width: 85px;\n height: 54px;\n }\n "," {\n padding-right: 0;\n .common-logo-seasonal-right {\n display: none;\n }\n }\n }\n &[data-lunar-new-year='true'] {\n padding-left: 30px;\n padding-right: 35px;\n .common-logo-seasonal-left {\n width: 33px;\n height: 41px;\n }\n .common-logo-seasonal-right {\n width: 37px;\n height: 54px;\n }\n }\n"])),t.mbDown),p=e.img(r||(r=n(["\n height: 16px;\n width: unset;\n margin-bottom: 4px;\n margin-left: -3px;\n"],["\n height: 16px;\n width: unset;\n margin-bottom: 4px;\n margin-left: -3px;\n"]))),m=a((function(n){var t=n.type,e=n.width,a=n.height,l=s((function(){switch(t){case"hellobacsi":return{width:e||"107px",height:a||"24px",src:i.getAssetPath("logo/hellobacsi.png")};case"hellodoktor":return{width:e||"127px",height:a||"24px",src:i.getAssetPath("logo/hellodoktor.png")};case"hellosehat":return{width:e||"121px",height:a||"27px",src:i.getAssetPath("logo/hellosehat.png")};case"hellohealth":return{width:e||"123px",height:a||"24px",src:i.getAssetPath("logo/hellohealth.png")};case"hellotogether":return{width:e||"150px",height:a||"24px",src:i.getAssetPath("logo/hellotogether.png")};case"hellocare":return{width:e||"99px",height:a||"24px",src:i.getAssetPath("logo/hellocare.png")};case"hellodoctor":return{width:e||"127px",height:a||"24px",src:i.getAssetPath("logo/hellodoctor.png")};case"hellokrupet":return{width:e||"101px",height:a||"24px",src:i.getAssetPath("logo/hellokrupet.png")};case"hellosayarwon":return{width:e||"111px",height:a||"24px",src:i.getAssetPath("logo/hellosayarwon.png")};case"helloyishi":return{width:e||"89px",height:a||"24px",src:i.getAssetPath("logo/helloyishi.png")};case"hellokhunmor":return{width:e||"123px",height:a||"24px",src:i.getAssetPath("logo/hellokhunmor.png")};case"helloswasthya":return{width:e||"105px",height:a||"24px",src:i.getAssetPath("logo/helloswasthya.png")};case"logomark":return{width:e||"60px",height:a||"57px",src:i.getAssetPath("logo/logomark.png")};case"marryBaby":return{width:e||"145px",height:a||"28px",src:i.getAssetPath("logo/marrybaby.png")};default:return null}}),[t,e,a])||{},h=l.src,r=l.width,g=l.height;return o.createElement("img",{className:"main-logo-icon",src:h,style:{width:r,height:g}})})),d=function(n){var t=n.getDate();return 11===n.getMonth()&&t>=16&&t<=25},c={2023:[22,0],2024:[10,1],2025:[29,0],2026:[17,1],2027:[6,1],2028:[26,0],2029:[13,1],2030:[3,1],2031:[23,0],2032:[11,1],2033:[31,0],2034:[19,1],2035:[8,1],2036:[28,0],2037:[15,1],2038:[4,1],2039:[24,0],2040:[12,1]},x=[l.Vietnam,l.Taiwan,l.Indonesia,l.Malaysia],f=function(n){var t=n.getFullYear(),e=c[t];if(!e)return!1;var o=new Date(t,e[1],e[0]),a=new Date(o);a.setDate(o.getDate()-7);var s=new Date(o);return s.setDate(o.getDate()+5),a<=n&&n<=s},u=function(n){var t=n.getDate(),e=n.getMonth();return 11===e&&t>=26||0===e&&t<=15},w="d76E4SH",y=function(n){var t=n.children,e=n.className,a=n.style,s=n.type;return o.createElement("div",{className:"".concat(w," ").concat(e||""),style:a,"data-type":s},t)};export{y as C,x as L,g as S,f as a,u as b,m as c,p as d,d as i};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{d as a,_ as t}from"./tslib.es6-2dcedc0f.js";import e from"react";var d="P03rcnV",o="LsvykAk",c="S2kaD9B",i="fAwTdkg",n="ITgol3T",r="cD-HMFz",s="oAG2-aJ",l="Y9fGCaj",C=function(C){var m=C.size,u=C.color,h=void 0===u?"primary":u,p=C.theme,v=void 0===p?"helloSites":p,P=C.isDisabled,g=C.isBlock,k=C.title,E=C.className,f=C.onClick,y=C.icon,N=C.iconPosition,w=void 0===N?"left":N,b=C.children,L=C.isLoading,B=void 0!==L&&L,x=C.loadingText,A=C.dataEventCategory,T=C.dataEventAction,z=C.dataEventLabel,D=C.dataProductChannel,S=C.dataProductSku,F=C.dataProductBrand,M=C.dataProductName,j=C.dataProductPrice,G=C.dataProductCategory,W=C.dataProductPosition,Z=C.type,H=a(C,["size","color","theme","isDisabled","isBlock","title","className","onClick","icon","iconPosition","children","isLoading","loadingText","dataEventCategory","dataEventAction","dataEventLabel","dataProductChannel","dataProductSku","dataProductBrand","dataProductName","dataProductPrice","dataProductCategory","dataProductPosition","type"]),I={"data-event-category":A,"data-event-action":T,"data-event-label":z,"data-product-channel":D,"data-product-sku":S,"data-product-brand":F,"data-product-name":M,"data-product-price":j,"data-product-category":G,"data-product-position":W},J=e.createElement("span",{className:o},e.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("circle",{className:l,cx:"12",cy:"12",r:"10",stroke:"white",strokeWidth:"4"})),e.createElement("svg",{className:d,width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},e.createElement("mask",{id:"path-1-inside-1",fill:"white"},e.createElement("path",{d:"M12 0C14.464 2.93833e-08 16.8683 0.758527 18.8863 2.17253C20.9042 3.58653 22.438 5.58746 23.2791 7.90347C24.1203 10.2195 24.2281 12.7383 23.5879 15.1177C22.9477 17.4971 21.5906 19.6218 19.7009 21.2031C17.8111 22.7843 15.4804 23.7456 13.0254 23.9561C10.5704 24.1667 8.11007 23.6164 5.97869 22.38C3.8473 21.1436 2.14819 19.281 1.1122 17.0454C0.0761991 14.8097 -0.246461 12.3093 0.188053 9.8839L4.09856 10.5845C3.8079 12.2069 4.02374 13.8795 4.71676 15.375C5.40977 16.8705 6.54637 18.1165 7.97213 18.9435C9.39789 19.7706 11.0437 20.1387 12.6859 19.9979C14.3282 19.857 15.8873 19.214 17.1514 18.1563C18.4155 17.0985 19.3233 15.6772 19.7516 14.0856C20.1798 12.4939 20.1077 10.8089 19.545 9.25969C18.9823 7.71042 17.9563 6.37193 16.6065 5.42605C15.2566 4.48017 13.6483 3.97277 12 3.97277L12 0Z"})),e.createElement("path",{className:s,d:"M12 0C14.464 2.93833e-08 16.8683 0.758527 18.8863 2.17253C20.9042 3.58653 22.438 5.58746 23.2791 7.90347C24.1203 10.2195 24.2281 12.7383 23.5879 15.1177C22.9477 17.4971 21.5906 19.6218 19.7009 21.2031C17.8111 22.7843 15.4804 23.7456 13.0254 23.9561C10.5704 24.1667 8.11007 23.6164 5.97869 22.38C3.8473 21.1436 2.14819 19.281 1.1122 17.0454C0.0761991 14.8097 -0.246461 12.3093 0.188053 9.8839L4.09856 10.5845C3.8079 12.2069 4.02374 13.8795 4.71676 15.375C5.40977 16.8705 6.54637 18.1165 7.97213 18.9435C9.39789 19.7706 11.0437 20.1387 12.6859 19.9979C14.3282 19.857 15.8873 19.214 17.1514 18.1563C18.4155 17.0985 19.3233 15.6772 19.7516 14.0856C20.1798 12.4939 20.1077 10.8089 19.545 9.25969C18.9823 7.71042 17.9563 6.37193 16.6065 5.42605C15.2566 4.48017 13.6483 3.97277 12 3.97277L12 0Z",stroke:"#91CAFF",strokeWidth:"8",mask:"url(#path-1-inside-1)"}))),V=(y||B)&&e.createElement("span",{className:r},B?J:y," ");return e.createElement("button",t({},I,{className:"".concat(n," ").concat(E||""),"data-size":m,"data-color":h,"data-block":g,"data-has-icon":!!y||void 0,"data-theme":v,disabled:P,onClick:function(a){!B&&!P&&f&&f(a)},title:k,"data-is-loading":B,type:Z},H),e.createElement("span",{className:i},"left"===w&&V,b&&e.createElement("span",{className:c},B&&x||b),"right"===w&&V))};export{C as B};
|