@hhgtech/hhg-components 1.27.70 → 1.27.72
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/babyGrowth.js +2 -2
- package/build/cache.js +1 -1
- package/build/care/components/organisms/bookingSearchBarV2/reducer.d.ts +14 -4
- package/build/care/components/organisms/bookingSearchBarV2/searchInputs/index.d.ts +2 -1
- package/build/care/components/organisms/bookingSearchBarV2/searchResult/index.d.ts +2 -1
- package/build/care/components/organisms/bookingSearchBarV2/useSearchBarApi.d.ts +1 -1
- package/build/care/interfaces/types.d.ts +7 -5
- package/build/care.js +1 -1
- package/build/components.js +1 -1
- package/build/constants.js +1 -1
- package/build/core-0404054c.js +1 -0
- package/build/{dataTransform-e29982c1.js → dataTransform-a610dba2.js} +1 -1
- package/build/ecom.js +1 -1
- package/build/esm/babyGrowth.js +2 -2
- package/build/esm/cache.js +1 -1
- package/build/esm/care/components/organisms/bookingSearchBarV2/reducer.d.ts +14 -4
- package/build/esm/care/components/organisms/bookingSearchBarV2/searchInputs/index.d.ts +2 -1
- package/build/esm/care/components/organisms/bookingSearchBarV2/searchResult/index.d.ts +2 -1
- package/build/esm/care/components/organisms/bookingSearchBarV2/useSearchBarApi.d.ts +1 -1
- package/build/esm/care/interfaces/types.d.ts +7 -5
- 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-eee94d3a.js → core-7af1314a.js} +1 -1
- package/build/esm/{dataTransform-f3652b0a.js → dataTransform-474b6557.js} +1 -1
- package/build/esm/ecom.js +1 -1
- package/build/esm/{fixedBottomAdBlock-7554c3b8.js → fixedBottomAdBlock-5ed62fc2.js} +1 -1
- package/build/esm/footer.js +1 -1
- package/build/esm/gAssets.js +1 -1
- package/build/esm/getDynamicHealthTool-5c62bbce.js +1 -0
- package/build/esm/{getSocialList-f6efdc64.js → getSocialList-e2edc6f8.js} +1 -1
- package/build/esm/hooks.js +1 -1
- package/build/esm/i18n-values/id-ID.js +1 -1
- package/build/esm/i18n-values/km-KH.js +1 -1
- package/build/esm/i18n-values/ms-MY.js +1 -1
- package/build/esm/i18n-values/my-MM.js +1 -1
- package/build/esm/i18n-values/th-TH.js +1 -1
- package/build/esm/i18n-values/tl-PH.js +1 -1
- package/build/esm/i18n-values/zh-TW.js +1 -1
- package/build/esm/i18n.js +1 -1
- package/build/esm/i18nV2.js +1 -1
- package/build/esm/{index-ef88b50a.js → index-066e1f8c.js} +1 -1
- package/build/esm/{index-b87b3db3.js → index-13b5fcc4.js} +1 -1
- package/build/esm/{index-6c96ac70.js → index-164612c2.js} +1 -1
- package/build/esm/{index-6c68b9ba.js → index-258ac3a9.js} +1 -1
- package/build/esm/{index-136d0591.js → index-30364853.js} +1 -1
- package/build/esm/{index-94da7d7a.js → index-33a767db.js} +2 -2
- package/build/esm/{index-56cd242a.js → index-52cbdc13.js} +1 -1
- package/build/esm/{index-4b6c2c38.js → index-699a67a1.js} +1 -1
- package/build/esm/{index-56fa0620.js → index-75e66b82.js} +1 -1
- package/build/esm/{index-629208cc.js → index-7c0c9a23.js} +1 -1
- package/build/esm/index-7dbac417.js +1 -0
- package/build/esm/{index-83aad691.js → index-940a2837.js} +1 -1
- package/build/esm/{index-19124705.js → index-aa0f1be7.js} +1 -1
- package/build/esm/{index-af57521e.js → index-b42eddeb.js} +1 -1
- package/build/esm/{index-1ac00718.js → index-b7da5adf.js} +2 -2
- package/build/esm/{index-8fa42782.js → index-c7061390.js} +1 -1
- package/build/esm/{index-fce73e2c.js → index-d92f4c41.js} +1 -1
- package/build/esm/{index-9ec58b78.js → index-eed61604.js} +1 -1
- package/build/esm/{index-dbc51f01.js → index-eef47a39.js} +1 -1
- package/build/esm/{index-20a67ed5.js → index-ef52a951.js} +1 -1
- package/build/esm/{index-14477fd7.js → index-ffe1f1b4.js} +1 -1
- package/build/esm/index.js +1 -1
- package/build/esm/{index.styled-a177c0fc.js → index.styled-6b23e614.js} +9 -9
- package/build/esm/{index.styled-99ed9a64.js → index.styled-73921818.js} +4 -4
- package/build/esm/{index.styled-bcf9194a.js → index.styled-d630ba54.js} +4 -4
- 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/onboardingV2.js +1 -1
- package/build/esm/pwg.js +2 -2
- package/build/esm/{routing-15bab0c1.js → routing-8b859474.js} +1 -1
- package/build/esm/together.js +1 -1
- package/build/esm/{types-1ede8733.js → types-b03d781d.js} +1 -1
- package/build/esm/{types-659159e3.js → types-eac9771c.js} +22 -20
- package/build/esm/types.js +1 -1
- package/build/esm/useHealthToolCache-e518b9cb.js +1 -0
- package/build/esm/{useRafState-956d702c.js → useRafState-326a32a7.js} +1 -1
- package/build/esm/{useTranslations-7ca47aa6.js → useTranslations-7597d802.js} +1 -1
- package/build/esm/{utils-95f50b85.js → utils-8db4813e.js} +1 -1
- package/build/esm/{utils-43ce7755.js → utils-df78bdca.js} +1 -1
- package/build/esm/vaccination.js +1 -1
- package/build/{fixedBottomAdBlock-9da7b320.js → fixedBottomAdBlock-efff2f32.js} +1 -1
- package/build/footer.js +1 -1
- package/build/gAssets.js +1 -1
- package/build/{getDynamicHealthTool-1d128d8b.js → getDynamicHealthTool-ec24ee37.js} +1 -1
- package/build/{getSocialList-89fc7cd1.js → getSocialList-3ea88d7b.js} +1 -1
- package/build/hooks.js +1 -1
- package/build/i18n-values/id-ID.js +1 -1
- package/build/i18n-values/km-KH.js +1 -1
- package/build/i18n-values/ms-MY.js +1 -1
- package/build/i18n-values/my-MM.js +1 -1
- package/build/i18n-values/th-TH.js +1 -1
- package/build/i18n-values/tl-PH.js +1 -1
- package/build/i18n-values/zh-TW.js +1 -1
- package/build/i18n.js +1 -1
- package/build/i18nV2.js +1 -1
- package/build/{index-c6d5103f.js → index-3843f4de.js} +1 -1
- package/build/{index-de4b79e1.js → index-3cd3e667.js} +1 -1
- package/build/{index-2ff3dc9b.js → index-47af3631.js} +1 -1
- package/build/{index-9796fe55.js → index-56cbbe46.js} +1 -1
- package/build/{index-d42c20df.js → index-6819831b.js} +1 -1
- package/build/{index-4a3978e2.js → index-684d4b18.js} +1 -1
- package/build/{index-4d3debcc.js → index-6bce8ea9.js} +1 -1
- package/build/{index-4dd35f52.js → index-794f6abb.js} +1 -1
- package/build/{index-5f26cd75.js → index-79d33036.js} +1 -1
- package/build/{index-a30a463c.js → index-7e2c352a.js} +1 -1
- package/build/{index-61ca2233.js → index-8324905e.js} +1 -1
- package/build/{index-2f89ac17.js → index-83b85075.js} +2 -2
- package/build/{index-e00f2884.js → index-8738dafb.js} +1 -1
- package/build/{index-286f3f1f.js → index-8ab8ccad.js} +1 -1
- package/build/{index-e8145d84.js → index-945b6fd5.js} +1 -1
- package/build/{index-71a241c2.js → index-a89418e3.js} +1 -1
- package/build/index-c5e25a84.js +1 -0
- package/build/{index-bbee93dd.js → index-d0ab8429.js} +1 -1
- package/build/{index-c952cbc8.js → index-d107f239.js} +1 -1
- package/build/{index-c4d63742.js → index-d4846e3a.js} +1 -1
- package/build/{index-a77fa3dc.js → index-ed56a039.js} +1 -1
- package/build/index.js +1 -1
- package/build/{index.styled-e140852f.js → index.styled-522d2abb.js} +1 -1
- package/build/{index.styled-af0521f7.js → index.styled-e69e3538.js} +3 -3
- package/build/{index.styled-682ff94a.js → index.styled-f26d68bc.js} +4 -4
- 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/onboardingV2.js +1 -1
- package/build/pwg.js +1 -1
- package/build/{routing-6279db15.js → routing-01287887.js} +1 -1
- package/build/together.js +1 -1
- package/build/{types-5970349c.js → types-317f61f9.js} +1 -1
- package/build/{types-19554357.js → types-a73e1726.js} +63 -61
- package/build/types.js +1 -1
- package/build/{useHealthToolCache-370897a8.js → useHealthToolCache-040d0c35.js} +1 -1
- package/build/{useRafState-11b8c397.js → useRafState-38ff191f.js} +1 -1
- package/build/{useTranslations-6431433b.js → useTranslations-4d34c49d.js} +1 -1
- package/build/utils-34552ca3.js +1 -0
- package/build/{utils-937d5f73.js → utils-6de25682.js} +1 -1
- package/build/vaccination.js +1 -1
- package/package.json +1 -1
- package/build/core-4d8e9583.js +0 -1
- package/build/esm/getDynamicHealthTool-7ca54784.js +0 -1
- package/build/esm/index-6b2e40f9.js +0 -1
- package/build/esm/useHealthToolCache-c93a14d3.js +0 -1
- package/build/index-491c1f7a.js +0 -1
- package/build/utils-d2d88c63.js +0 -1
- /package/build/{BMI_BOYS.percentile.monthly-8958a78c.js → BMI_BOYS.percentile.monthly-be764fab.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-4b761f4d.js → BMI_BOYS.percentile.weekly-717ff870.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-a04bbf54.js → BMI_BOYS.percentile.yearly-c36817f8.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-a36ba4d0.js → BMI_BOYS.zscore.monthly-32f81da6.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-db6fe4d5.js → BMI_BOYS.zscore.weekly-7a8efbce.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-860caeed.js → BMI_BOYS.zscore.yearly-ea5ee846.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-00df239c.js → BMI_GIRLS.percentile.monthly-fafb1975.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-fddb8641.js → BMI_GIRLS.percentile.weekly-0f67721f.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-22dd5ac8.js → BMI_GIRLS.percentile.yearly-7188c946.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-cb7fb89f.js → BMI_GIRLS.zscore.monthly-ad6d0a8f.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-99eb5541.js → BMI_GIRLS.zscore.weekly-e06dbae9.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-25cae963.js → BMI_GIRLS.zscore.yearly-b477d025.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-f55ff1d5.js → HEAD CIRCUM_BOYS.percentile.monthly-00445d26.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-544b75f3.js → HEAD CIRCUM_BOYS.percentile.weekly-67a1e177.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-08510bd3.js → HEAD CIRCUM_BOYS.percentile.yearly-981651d2.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-bbcdb589.js → HEAD CIRCUM_BOYS.zscore.monthly-31a26be4.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-dc2399a5.js → HEAD CIRCUM_BOYS.zscore.weekly-42e932cb.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-069905bc.js → HEAD CIRCUM_BOYS.zscore.yearly-c2ba3a34.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-40dba81c.js → HEAD CIRCUM_GIRLS.percentile.monthly-c7cd5712.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-69a42032.js → HEAD CIRCUM_GIRLS.percentile.weekly-bdde3016.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-94df5a03.js → HEAD CIRCUM_GIRLS.percentile.yearly-083f2f97.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-628d6922.js → HEAD CIRCUM_GIRLS.zscore.monthly-7e5d7105.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-6043be39.js → HEAD CIRCUM_GIRLS.zscore.weekly-5467f154.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-10a0741e.js → HEAD CIRCUM_GIRLS.zscore.yearly-5b292847.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-ae009cf1.js → HEIGHT_BOYS.percentile.monthly-b9d24b9f.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-70d1d360.js → HEIGHT_BOYS.percentile.weekly-cd1daad2.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-09cf9130.js → HEIGHT_BOYS.percentile.yearly-718da8a9.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-2e81862c.js → HEIGHT_BOYS.zscore.monthly-93c88a85.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-99b3814d.js → HEIGHT_BOYS.zscore.weekly-221290aa.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-f4613d62.js → HEIGHT_BOYS.zscore.yearly-dbc6ef38.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-6f60eeb3.js → HEIGHT_GIRLS.percentile.monthly-5a941c7f.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-e4a3dbf0.js → HEIGHT_GIRLS.percentile.weekly-6513f88c.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-ab93e83f.js → HEIGHT_GIRLS.percentile.yearly-a80bec60.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-4f9524f2.js → HEIGHT_GIRLS.zscore.monthly-9f006152.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-964c7c6b.js → HEIGHT_GIRLS.zscore.weekly-ed46a9be.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-938f9222.js → HEIGHT_GIRLS.zscore.yearly-55a6e918.js} +0 -0
- /package/build/{Onboarding-7b19bc6b.js → Onboarding-30977a28.js} +0 -0
- /package/build/{Visible-b1a5edce.js → Visible-73a9c61e.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-0dc89eaf.js → WEIGHT_BOYS.percentile.monthly-9211cc59.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-c6eb47e5.js → WEIGHT_BOYS.percentile.weekly-d4613745.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-a2307c60.js → WEIGHT_BOYS.percentile.yearly-fe3e0acc.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-a0b441e5.js → WEIGHT_BOYS.zscore.monthly-c8b51e11.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-19736bd9.js → WEIGHT_BOYS.zscore.weekly-915b7636.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-6a026f92.js → WEIGHT_BOYS.zscore.yearly-63b05989.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-65ee3fc1.js → WEIGHT_GIRLS.percentile.monthly-2b7b348c.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-552483f0.js → WEIGHT_GIRLS.percentile.weekly-396c0d03.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-60565842.js → WEIGHT_GIRLS.percentile.yearly-6dc1ee7c.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-08000bda.js → WEIGHT_GIRLS.zscore.monthly-8dd66e65.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-db98eae0.js → WEIGHT_GIRLS.zscore.weekly-e7309a28.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-10466197.js → WEIGHT_GIRLS.zscore.yearly-46483619.js} +0 -0
- /package/build/{constants-1a96dc83.js → constants-d085b55e.js} +0 -0
- /package/build/{cookieHelper-10e61e77.js → cookieHelper-113d5d8f.js} +0 -0
- /package/build/{dataTransform-e952e2a6.js → dataTransform-db7919b9.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-0def0e7f.js → BMI_BOYS.percentile.monthly-e82cdc65.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-d9cacdb3.js → BMI_BOYS.percentile.weekly-20d30be1.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-736e654f.js → BMI_BOYS.percentile.yearly-7cf08717.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-22409178.js → BMI_BOYS.zscore.monthly-390537ec.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-4161e89c.js → BMI_BOYS.zscore.weekly-3a235c91.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-7b870f69.js → BMI_BOYS.zscore.yearly-eed73a8a.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-1760e248.js → BMI_GIRLS.percentile.monthly-05837b6a.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-a6809fee.js → BMI_GIRLS.percentile.weekly-678a74ee.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-4514fd35.js → BMI_GIRLS.percentile.yearly-dc9fa3b6.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-04fe5bf9.js → BMI_GIRLS.zscore.monthly-acd95d4a.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-0d5957b5.js → BMI_GIRLS.zscore.weekly-de839d3b.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-705329fc.js → BMI_GIRLS.zscore.yearly-c0da7049.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-d5fb461b.js → HEAD CIRCUM_BOYS.percentile.monthly-eef769c0.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-13620bc6.js → HEAD CIRCUM_BOYS.percentile.weekly-ac24b410.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-5f34ec92.js → HEAD CIRCUM_BOYS.percentile.yearly-d88f2f93.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-1ad9297e.js → HEAD CIRCUM_BOYS.zscore.monthly-a16e5ce9.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-b2bdca3a.js → HEAD CIRCUM_BOYS.zscore.weekly-09eccbd7.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-1baac315.js → HEAD CIRCUM_BOYS.zscore.yearly-0034fe55.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-586b16b0.js → HEAD CIRCUM_GIRLS.percentile.monthly-672e6cbe.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-0bae6048.js → HEAD CIRCUM_GIRLS.percentile.weekly-4912f431.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-8fac6642.js → HEAD CIRCUM_GIRLS.percentile.yearly-8a6aafe9.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-25a08afc.js → HEAD CIRCUM_GIRLS.zscore.monthly-eec78343.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-23331b57.js → HEAD CIRCUM_GIRLS.zscore.weekly-68e991c1.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-b29c6ebf.js → HEAD CIRCUM_GIRLS.zscore.yearly-10f61af8.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-1dbf1260.js → HEIGHT_BOYS.percentile.monthly-d59c166e.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-d25d7b8f.js → HEIGHT_BOYS.percentile.weekly-088e8adb.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-1291131e.js → HEIGHT_BOYS.percentile.yearly-436897cb.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-51960331.js → HEIGHT_BOYS.zscore.monthly-74c8dcc5.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-7cea1500.js → HEIGHT_BOYS.zscore.weekly-5fcde6cd.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-f0a1e6ce.js → HEIGHT_BOYS.zscore.yearly-0e48b2f8.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-bb5ef5bb.js → HEIGHT_GIRLS.percentile.monthly-25fd2813.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-8e15eef2.js → HEIGHT_GIRLS.percentile.weekly-6d83e9a7.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-6645f1ca.js → HEIGHT_GIRLS.percentile.yearly-64bc5924.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-dc5bf23c.js → HEIGHT_GIRLS.zscore.monthly-2aef62ab.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-3f88b5a2.js → HEIGHT_GIRLS.zscore.weekly-92f68a56.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-bdcbd5e0.js → HEIGHT_GIRLS.zscore.yearly-958c71a2.js} +0 -0
- /package/build/esm/{Onboarding-17999cc6.js → Onboarding-ad49870c.js} +0 -0
- /package/build/esm/{Visible-1cd4fcba.js → Visible-ac315efb.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-d038d535.js → WEIGHT_BOYS.percentile.monthly-adad02ed.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-43211215.js → WEIGHT_BOYS.percentile.weekly-2d886cac.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-c78ab472.js → WEIGHT_BOYS.percentile.yearly-b8bbb4e9.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-e0a44abc.js → WEIGHT_BOYS.zscore.monthly-ab63ae85.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-b0383e3c.js → WEIGHT_BOYS.zscore.weekly-8c359273.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-56dacf94.js → WEIGHT_BOYS.zscore.yearly-f35f47d4.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-942387b6.js → WEIGHT_GIRLS.percentile.monthly-b8d9bd0d.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-aae75a15.js → WEIGHT_GIRLS.percentile.weekly-bf02db33.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-eb71ec38.js → WEIGHT_GIRLS.percentile.yearly-2099b0bf.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-8b5c3c06.js → WEIGHT_GIRLS.zscore.monthly-f2776700.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-0795a68b.js → WEIGHT_GIRLS.zscore.weekly-7acf1c1c.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-fe7f2f80.js → WEIGHT_GIRLS.zscore.yearly-0a90ab49.js} +0 -0
- /package/build/esm/{constants-f6df1426.js → constants-254a4df3.js} +0 -0
- /package/build/esm/{cookieHelper-243ea413.js → cookieHelper-f8486f9d.js} +0 -0
- /package/build/esm/{dataTransform-36b31b51.js → dataTransform-5e76271a.js} +0 -0
- /package/build/esm/{index-171cb1de.js → index-6ee00df0.js} +0 -0
- /package/build/esm/{isProduction-f9284e0d.js → isProduction-8ce1051d.js} +0 -0
- /package/build/esm/{localizeNumberFormat-891fddd2.js → localizeNumberFormat-947fe3bd.js} +0 -0
- /package/build/esm/{normalizeLink-5c3d96d1.js → normalizeLink-6d537179.js} +0 -0
- /package/build/esm/{paths-d8677095.js → paths-d4225106.js} +0 -0
- /package/build/esm/{screenSizeContext-c836ee25.js → screenSizeContext-987c451f.js} +0 -0
- /package/build/esm/{theme-72c4ec13.js → theme-31acd0c2.js} +0 -0
- /package/build/esm/{translationsContext-c72ee6fa.js → translationsContext-e9aaabb6.js} +0 -0
- /package/build/esm/{tslib.es6-d8c90a45.js → tslib.es6-c8835980.js} +0 -0
- /package/build/esm/{types-ab2c0f6a.js → types-6686141b.js} +0 -0
- /package/build/esm/{useIsInit-392f39dd.js → useIsInit-3a06bd4a.js} +0 -0
- /package/build/esm/{useOutsideClick-1cd3fb0a.js → useOutsideClick-c00670e4.js} +0 -0
- /package/build/esm/{useScrollbarSize-8565e51f.js → useScrollbarSize-ba68fbbc.js} +0 -0
- /package/build/esm/{useUniqueId-3c703513.js → useUniqueId-6daecd5a.js} +0 -0
- /package/build/{index-b1647eb2.js → index-02fdc77f.js} +0 -0
- /package/build/{isProduction-a9b4a078.js → isProduction-028c30c1.js} +0 -0
- /package/build/{localizeNumberFormat-5ef4e484.js → localizeNumberFormat-b048ccb6.js} +0 -0
- /package/build/{normalizeLink-50c64691.js → normalizeLink-64a0a4fd.js} +0 -0
- /package/build/{paths-82fd1623.js → paths-1677e749.js} +0 -0
- /package/build/{screenSizeContext-449c711d.js → screenSizeContext-593b4ba2.js} +0 -0
- /package/build/{theme-d4afee80.js → theme-d21cf9c9.js} +0 -0
- /package/build/{translationsContext-c1c628a8.js → translationsContext-ef6e8716.js} +0 -0
- /package/build/{tslib.es6-049409d2.js → tslib.es6-b8b05056.js} +0 -0
- /package/build/{types-5d92c754.js → types-d430ba99.js} +0 -0
- /package/build/{useIsInit-46fc5c7c.js → useIsInit-c7206042.js} +0 -0
- /package/build/{useOutsideClick-57e6f5a8.js → useOutsideClick-23bc853d.js} +0 -0
- /package/build/{useScrollbarSize-ed1b21ab.js → useScrollbarSize-555600fa.js} +0 -0
- /package/build/{useUniqueId-4c637d8e.js → useUniqueId-61b17d61.js} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as e}from"./tslib.es6-d8c90a45.js";import t,{useState as a,useEffect as l,useMemo as n,useRef as o,useContext as i,useCallback as s}from"react";import{g as r}from"./core-eee94d3a.js";import{K as c,F as m,E as u,y as d,x as g,P as h,H as v}from"./utils-43ce7755.js";import{S as p,a as E,b as y,c as b,d as f,e as C,f as k,g as w,T as P,N,h as M,i as _,j as A,k as T,l as L,m as S,n as H,o as B,p as x,q as U,r as $,s as I,t as R,u as O,v as j,w as F,x as D,y as z,z as V,A as G,B as W,C as K,D as q,E as Q,F as Y,G as Z,H as J,I as X,J as ee,K as te,L as ae,M as le,O as ne,P as oe,Q as ie,R as se,V as re,W as ce,X as me,Y as ue,Z as de,_ as ge,$ as he,a0 as ve,a1 as pe,a2 as Ee,a3 as ye,a4 as be,a5 as fe,a6 as Ce,a7 as ke,a8 as we,a9 as Pe,aa as Ne,ab as Me,ac as _e,ad as Ae,ae as Te,af as Le,ag as Se,ah as He,ai as Be,aj as xe}from"./index.styled-a177c0fc.js";import{T as Ue}from"./index-6c96ac70.js";import{CommonGAssets as $e}from"./gAssets.js";import{d as Ie,L as Re,S as Oe,U as je,T as Fe,C as De}from"./index-20a67ed5.js";import{n as ze,a as Ve}from"./normalizeLink-5c3d96d1.js";import{c as Ge,b as We,d as Ke}from"./routing-15bab0c1.js";import{P as qe,b as Qe,c as Ye}from"./dataTransform-f3652b0a.js";import{L as Ze}from"./index-83aad691.js";import{u as Je}from"./useTranslations-7ca47aa6.js";import Xe from"lodash/throttle";import{j as et}from"./screenSizeContext-c836ee25.js";import{U as tt,C as at}from"./index-1ac00718.js";import{L as lt}from"./Onboarding-17999cc6.js";import{t as nt}from"./theme-72c4ec13.js";import{g as ot}from"./cookieHelper-243ea413.js";import{I as it}from"./index-629208cc.js";import{B as st}from"./index-56fa0620.js";import{Portal as rt}from"@mantine/core";import"@mantine/dates";import"dayjs";import"styled-components";import"./isProduction-f9284e0d.js";import"@mantine/hooks";import ct from"lodash/debounce";import{L as mt}from"./constants-f6df1426.js";import ut from"string-format";import{a as dt}from"./useUniqueId-3c703513.js";import{I as gt}from"./index-6b2e40f9.js";import{u as ht}from"./useIsInit-392f39dd.js";const vt={xs:28,small:32,medium:40,large:48,xl:64,xxl:80,xxxl:96},pt=({type:e="square",size:n,avatarImg:o,avatarUrl:i,firstLetter:s,backgroundColor:r,onClick:m,style:u,className:d,width:g,height:h,alt:v})=>{const p=n?vt[n]:void 0,[E,y]=a(!1);l((()=>{if(i){const e=document.createElement("img");e.setAttribute("src",i),e.addEventListener("error",(()=>{y(!0)}))}}),[i,y]);const b=(!i&&!o||E)&&s;return t.createElement(c,{style:Object.assign(Object.assign({},u),{"--size":p?p+"px":void 0,"--width-prop":g?g+"px":void 0,"--height-prop":h?h+"px":void 0,"--background-color":r}),"data-has-max":!(!g||!h),"data-avatar-type":e,onClick:m,className:d,avatarUrl:i,"data-custom-size":!!n},o,i&&!E&&t.createElement(it,{src:i,alt:v||"avatar"}),b&&s)},Et=["hellobacsi.com","hellosehat.com","hellodoktor.com","hellokrupet.com","hellodoctor.com.ph","hellokhunmor.com","hellosayarwon.com","helloyishi.com.tw","helloswasthya.com","marrybaby.vn","hellohealth.questionpro.com","hellobacsivn.page.link"],yt=(e="")=>Et.some((t=>new URL(e).origin.endsWith(t))),bt=({options:e,label:l,labelRenderer:n,selected:o,onChange:i,showSelected:s=!0,style:r={},showIndicator:c=!0})=>{const[m,u]=a(!1);return t.createElement(t.Fragment,null,t.createElement(p,null,t.createElement(E,{onClick:()=>u((e=>!e))},l||(null==n?void 0:n(m))||null,t.createElement(y,{"data-is-open":m,style:r,"data-show-indicator":c},e.map(((e,a)=>t.createElement(b,{key:a,"data-selected":s&&o===e.value,onClick:t=>{o!==e.value&&(i(e.value),u((e=>!e))),t.stopPropagation()}},t.createElement(Ue,{size:"p3"},e.label),s&&o===e.value&&t.createElement("img",{src:$e.getAssetPath("check.svg"),alt:"check",className:"check-icon",loading:"lazy"}))))))),m&&t.createElement(f,{onClick:()=>u(!1)}))},ft=({languageOptions:e,locale:a})=>{var l,n;const o=null==e?void 0:e.find((e=>e.locale===a));return(null==e?void 0:e.length)?t.createElement(bt,{options:e,selected:o.value,label:t.createElement(Ct,{locale:a,label:o.label||(null===(n=null===(l=a.split("-"))||void 0===l?void 0:l[0])||void 0===n?void 0:n.toUpperCase())}),onChange:e=>{"undefined"!=typeof window&&(window.location.href=e)},style:{width:100},showSelected:!0,showIndicator:!1}):null},Ct=({locale:e,label:a,href:l})=>{var n,o,i;return t.createElement(C,{href:l},t.createElement(m,{country:null===(o=null===(n=null==e?void 0:e.split("-"))||void 0===n?void 0:n[1])||void 0===o?void 0:o.toUpperCase(),width:16,height:16,rounded:!0,language:null===(i=null==e?void 0:e.split("-"))||void 0===i?void 0:i[0]}),t.createElement("span",null,a))},kt=({forceDisplay:e,mediaQueryKey:a,children:l,className:o,style:i})=>{const[s,r]=n((()=>et(a)),[a]);return t.createElement(k,{lowerBound:e?0:s,upperBound:e?0:r,className:o,style:i},l)},wt=e=>{const{allowBgScroll:t}=e||{},a=o();return{containerRef:a,onContainerFocus:()=>{t||(document.documentElement.style.overflow="hidden")},onContainerBlur:()=>{t||(document.documentElement.style.overflow="")},onButtonMouseDown:e=>{a.current&&(document.activeElement===a.current||a.current.contains(document.activeElement))&&(a.current.blur(),document.activeElement.blur(),e.preventDefault())},onClose:()=>{a.current&&(document.activeElement===a.current||a.current.contains(document.activeElement))&&(a.current.blur(),document.activeElement.blur())}}},Pt=({type:e="lead",closeIcon:a,isOpen:l=!0,onClose:n,children:o,enableAnimation:i=!0,targetAvatar:s,id:r,className:c})=>t.createElement(w,{"data-open":l,"data-type":e,"data-animation":i,"data-target":s,id:r,className:c},t.createElement("div",{className:"popup-content"},!!a&&t.createElement("div",{className:"close-button",onClick:n},a),o)),Nt={myBooking:"booking",mySaved:"saved",myHealth:"health",myFamily:"family",myCommunity:"my-communities",eCom:"shop"};var Mt="uJQBNNg",_t="TfG3dM5",At="aMtjFNf",Tt="cSz2RR-",Lt="GyFm00F";function St({userInfo:e,onClickMyProfileButton:a,themeName:l="helloSites"}){const{t:o}=Je(),i=n((()=>{const t=(null==e?void 0:e.name)||(null==e?void 0:e.username);return t&&t.length?t[0].toUpperCase():"A"}),[null==e?void 0:e.username,null==e?void 0:e.name]);return t.createElement("div",{className:Mt,onClick:()=>{a&&a()}},t.createElement(pt,{className:_t,type:"rounded",size:"xl",avatarUrl:null==e?void 0:e.avatar,firstLetter:i,backgroundColor:"marryBaby"===l?nt.mbColors.pink:nt.colors.secondaryBase}),t.createElement("div",{className:At},t.createElement("div",{className:Tt},(null==e?void 0:e.name)||(null==e?void 0:e.username)),t.createElement("div",{className:Lt,style:{"--bg-hellosites":`url(${$e.getAssetPath("userProfileNav/helloSites/icon-chevronRight.svg")})`,"--bg-marrybaby":`url(${$e.getAssetPath("userProfileNav/marryBaby/icon-arrowRight.svg")})`}},o("userProfile.nav.header.viewProfile"))))}var Ht="gn6HmGG",Bt="FCx8FEM",xt="zMiRxaE",Ut="lZ2Z9MQ",$t="rwm-agG",It="qMOscoq";const Rt=({themeName:e,locale:l,onClickItem:o})=>{const[i,s]=a(""),r=n((()=>"marryBaby"===e?[{key:"userProfile.nav.menu.password",icon:$e.getAssetPath("userProfileNav/marryBaby/icon-lock.svg"),link:"password"},{key:"userProfile.nav.menu.logout",icon:$e.getAssetPath("userProfileNav/marryBaby/icon-logOut.svg"),link:"logout"}]:[{key:"userProfile.nav.menu.accountSettings",icon:$e.getAssetPath("userProfileNav/helloSites/icon-settingsWheel.svg"),subMenu:[{key:"common.profileNavigator.newsletterSubscription",link:"subscriptions",disableLocale:["id-ID","ms-MY","km-KH","en-PH","tl-PH","th-TH","my-MM","zh-TW","hi-IN"]},{key:"userProfile.nav.menu.password",link:"password"},{key:"userProfile.nav.menu.disableAccount",link:"disable-account",disableLocale:["hi-IN"]}]},{key:"userProfile.nav.menu.help",icon:$e.getAssetPath("userProfileNav/helloSites/icon-helpCircle.svg"),link:"help"}]),[e]);function c(e){e.subMenu?s((t=>t?"":e.key)):o&&o(e)}return t.createElement("div",{className:Ht},r.map((e=>t.createElement(Ot,{key:e.key,item:e,openKey:i,onClickItem:c,locale:l}))))},Ot=({item:e,openKey:a,onClickItem:l,locale:n})=>{var o;const{t:i}=Je();return(null===(o=e.disableLocale)||void 0===o?void 0:o.includes(n))?null:t.createElement("div",{className:`${Bt} nav-menu-item`,"data-is-open":a===e.key,key:e.key,"data-has-submenu":!!e.subMenu},t.createElement("div",{className:xt,onClick:()=>l(e)},e.icon&&t.createElement("div",{className:Ut,style:{backgroundImage:`url("${e.icon}")`}}),i(e.key),e.subMenu&&t.createElement("div",{className:$t,style:{"--after-bg":`url(${$e.getAssetPath("userProfileNav/helloSites/icon-chevronDown.svg")})`}})),e.subMenu&&t.createElement("div",{className:It},e.subMenu.map((e=>t.createElement(Ot,{key:e.key,item:e,openKey:a,onClickItem:l,locale:n})))))};var jt="-AZt1au",Ft="IvSIfCI",Dt="eahCJov",zt="XIyViFs",Vt="_4y-O0w3",Gt="kO8iNgD",Wt="a1d4E10",Kt="Tdguxxf",qt="-mOxsaU",Qt="yPeDBNZ";const Yt={helloSites:{member:()=>$e.getAssetPath("userProfileNav/helloSites/icon-rank-member.svg"),ambassador:()=>$e.getAssetPath("userProfileNav/helloSites/icon-rank-ambassador.svg"),doctor:()=>$e.getAssetPath("userProfileNav/helloSites/icon-rank-doctor.svg"),expert:()=>$e.getAssetPath("userProfileNav/helloSites/icon-rank-expert.svg"),influencer:()=>$e.getAssetPath("userProfileNav/helloSites/icon-rank-influencer.svg")},marryBaby:{member:()=>$e.getAssetPath("userProfileNav/marryBaby/icon-rank-member.svg"),ambassador:()=>$e.getAssetPath("userProfileNav/marryBaby/icon-rank-ambassador.svg"),doctor:()=>$e.getAssetPath("userProfileNav/marryBaby/icon-rank-doctor.svg"),expert:()=>$e.getAssetPath("userProfileNav/marryBaby/icon-rank-expert.svg"),influencer:()=>$e.getAssetPath("userProfileNav/marryBaby/icon-rank-influencer.svg")}},Zt=({themeName:e,rank:a="member",numberOfPosts:l=0})=>{const{t:o}=Je(),i=n((()=>{var t,l;return(null===(l=null===(t=Yt[e])||void 0===t?void 0:t[a])||void 0===l?void 0:l.call(t))||""}),[a,e]);return t.createElement("div",{className:Vt,"data-user-rank":a},t.createElement("div",{className:Gt},t.createElement("div",{className:Wt},t.createElement("div",{className:Kt,style:{backgroundImage:`url("${i}")`}}),t.createElement("h3",{className:qt},o(`userProfile.userRank.${a}`)),l>0&&t.createElement("p",{className:Qt},l," ",o("userProfile.nav.header.count.posts")))))},Jt=e=>{var t,a,l,n;return e?{termId:e.term_id||null,sponsor:e.sponsor?(n=e.sponsor,n?{title:n.title,logo:n.logo,link:n.link}:{}):null,isSponsored:e.is_sponsored||null,categoryName:e.cat_name||e.name||null,name:e.name||null,iconUrl:e.icon||"",slugName:e.category_nicename||null,description:e.description||null,featureImage:e.thumbnail||e.image||null,displayName:e.name||null,parent:e.parent||null,permalink:e.permalink||null,slug:e.slug||null,childCates:(null===(t=e.child_cates)||void 0===t?void 0:t.map((e=>Jt(e))))||[],thumnailColor:e.thumnail_color||["#FFEAF1","#E0E9FB","#FFF9EB","#F2FCF7","#F3F3F3"][5*Math.random()|0],colorFeatureImage:e.color_feature_image||null,imageColor:e.image_color||null,textColor:e.text_color||null,catParent:(null===(a=e.cat_parent)||void 0===a?void 0:a.name)?{name:e.cat_parent.name,permalink:e.cat_parent.permalink}:{},metaTag:e.meta_tag||"",reviewedBy:e.reviewed_by?(l=e.reviewed_by,{postTitle:l.post_title,permalink:l.permalink}):null,reviewedDate:e.reviewed_date||"",faqs:e.faqs?e.faqs.map((e=>(e=>({title:e.title,content:e.content}))(e))):null,customizedUrl:e.customized_url||null}:{}},Xt=e=>{var t,a;if(!e)return{};const l=null===(t=e.link)||void 0===t?void 0:t.includes("/bot/"),n=null===(a=e.link)||void 0===a?void 0:a.startsWith("/fil/"),o=e.link?e.link.startsWith("http")||l?e.link:n?e.link.replace("/health-tools/","/").replace("/fil/","/fil/health-tools/"):`/health-tools${e.link.replace("/health-tools/","/")}`:void 0;return{icon:e.icon,link:o,subtitle:e.subtitle,title:e.title}},ea=e=>e?{thumbnail:e.thumbnail,link:null==e?void 0:e.slug,subtitle:e.name,name:e.name,slug:e.slug}:{},ta=e=>e?{id:e.id,name:e.name,logo:null==e?void 0:e.logo,description:e.about,slug:e.slug}:{},aa=({type:e,specialtySlug:t,locale:a})=>{var l,n;return`${null===(l=mt[a])||void 0===l?void 0:l.ALL}/${(null===(n=mt[a])||void 0===n?void 0:n[e])||"doctor"}/${null!=t?t:""}`},la=e=>e?{id:e.ID,name:e.name,permalink:e.permalink,image:(null==e?void 0:e.small_banner)||(null==e?void 0:e.image)||"",imageMedium:(null==e?void 0:e.image_medium)||null,imageThumbnail:(null==e?void 0:e.image_thumbnail)||null,startDate:null==e?void 0:e.start_date,endDate:null==e?void 0:e.end_date}:{},na=e=>{const t=new Date;if(null==e?void 0:e.startDate){const a=new Date(e.startDate);if(t.getTime()<a.getTime())return!1}if(null==e?void 0:e.endDate){const a=new Date(e.endDate);if(t.getTime()>a.getTime())return!1}return!0},oa=({SSO_URL:e,UP_BASEPATH:o="user",themeName:i="helloSites",cardUrls:s=Nt,enableCare:r,enableTogether:c,enableEcom:m,enableMySaved:u,userInfo:d,togetherApiDomain:g,userPostsNumber:h,onClickNavigationCard:v,onClickMyProfileButton:p,onClickMenuItem:E,onClickLogout:y,isUserProfileNavigatorMenuHidden:b=!1,isMyHealthEnabled:f=!1,locale:C})=>{const{t:k}=Je(),[w,M]=a(h||0),_="marryBaby"===i;l((()=>{if(d&&void 0===h){const e=ot("hhg_user_token");e&&fetch(ze(((e,t,a,l)=>(a||"https://together.hellohealthgroup.com/")+"api/v1/"+ut(P.GET_USER_POSTS,Object.assign(Object.assign({},l),{websiteUrl:t?"https://marrybaby.vn":`https://${Ie[e]}`})))(C,_,g)),{headers:{Authorization:`Bearer ${e}`}}).then((e=>e.json())).then((e=>{var t,a,l;1===(null==e?void 0:e.status)&&(null===(t=null==e?void 0:e.data)||void 0===t?void 0:t.pagination)&&M((null===(l=null===(a=null==e?void 0:e.data)||void 0===a?void 0:a.pagination)||void 0===l?void 0:l.total_items)||0)})).catch((e=>console.error("Error fetching post number",e)))}}),[C,null!==d,h,g,_]);const A=n((()=>{let e;return e=_?["myHealth","myCommunity","mySaved"]:["myHealth","mySaved","myBooking","myCommunity","eCom"],e.filter((e=>"myBooking"===e?r:"myCommunity"===e?c:"myHealth"===e?f:"eCom"===e?m:"mySaved"!==e||u))}),[_,f]),T=n((()=>"marryBaby"===i?null:t.createElement(st,{color:"tertiary",icon:t.createElement("img",{src:$e.getAssetPath("userProfileNav/helloSites/icon-logOut.svg"),width:15,height:15,loading:"lazy"}),size:"md",onClick:y,className:zt},k("userProfile.nav.menu.logout"))),[i]),L=t=>{window.location.href=ze(`${e}${o}/${t}`)},S=e=>{const t=s[e];v?v(t):L(t)};return d?t.createElement("div",{className:jt,"data-theme":i},t.createElement(St,{userInfo:d,themeName:i,onClickMyProfileButton:()=>{p?p():L("profile")}}),t.createElement(Zt,{themeName:i,rank:"member",numberOfPosts:w}),t.createElement("div",{className:Ft},A.map((e=>t.createElement(N,{className:Dt,key:e,themeName:i,type:e,onClick:S})))),!b&&t.createElement(t.Fragment,null,t.createElement(Rt,{themeName:i,locale:C,onClickItem:e=>{"logout"===e.link&&y?y():e.link&&!e.subMenu&&(E?E(e.link):L(e.link))}}),T)):null},ia=({SSO_URL:e,UP_BASEPATH:a,isOpen:l,targetAvatar:n,userInfo:o,enableCare:i,enableTogether:s,enableEcom:r,enableMySaved:c,closePopup:m,siteType:u="helloSites",dispatchLogout:d,userProfileRouterPush:g,isUserProfileNavigatorMenuHidden:h,isMyHealthEnabled:v=!1,togetherApiDomain:p,locale:E})=>{const y=t=>{g?g(`/${t}`):e&&(window.location.href=ze(`${e}${a}/${t}`))},b=e=>{y(e),m()};return t.createElement(Pt,{isOpen:l,type:"profile",enableAnimation:!0,targetAvatar:n,onClose:m},t.createElement(oa,{SSO_URL:e,UP_BASEPATH:a,themeName:u,userInfo:o,enableCare:i,enableTogether:s,enableEcom:r,enableMySaved:c,onClickLogout:()=>{d&&(d(),m())},onClickMenuItem:b,onClickNavigationCard:b,onClickMyProfileButton:()=>{y("profile"),m()},isUserProfileNavigatorMenuHidden:h,isMyHealthEnabled:v,togetherApiDomain:p,locale:E}))},sa=({openLogoutPopup:e,onCloseHandler:a,onLogoutHandler:n,siteType:o="helloSites"})=>{const{t:i}=Je();return l((()=>{document.body.classList.toggle("noscroll",e)}),[e]),t.createElement(rt,null,t.createElement(qe,{type:"confirm",isOpen:e,closeIcon:t.createElement("img",{src:$e.getAssetPath("closeLight.svg"),style:{width:24,height:24},alt:"close-icon",loading:"lazy"}),onClose:a},t.createElement(M,null,"helloSites"===o&&t.createElement("img",{src:$e.getAssetPath("arrowDoor.svg"),className:"cancle-img",alt:"close-account",loading:"lazy"}),t.createElement("h2",null,i("helloSites"===o?"logout.popup.ask1":"logout.popup.ask.mb")),t.createElement("p",null,i("logout.popup.ask2")),t.createElement(_,{siteType:o},t.createElement(st,{className:"logout-button",color:"tertiary",size:"lg",onClick:n},i("logout.popup.button.logout")),t.createElement(st,{className:"cancel-button",color:"primary",size:"lg",onClick:a},i("logout.popup.button.cancel"))))))},ra=({userInfo:n,siteType:o,onLoginClick:i,SSO_URL:s,currentUrl:r,isMinifyLogin:c,enableCare:m,enableTogether:h,enableEcom:v,isUserProfileNavigatorMenuHidden:p,UP_BASEPATH:E,isMyHealthEnabled:y,togetherApiDomain:b,onLogout:f,style:C,userProfileRouterPush:k,isLoading:w,locale:P,enableMySaved:N})=>{const{t:M}=Je(),[_,S]=a(!1),H=(null==n?void 0:n.name)||(null==n?void 0:n.username),[B,x]=a(!1);l((()=>{x(!0)}),[]);const{containerRef:U,onContainerFocus:$,onContainerBlur:I,onButtonMouseDown:R,onClose:O}=wt();return w?t.createElement(u,{size:"sm",color:"transparent",loading:w}):(null==n?void 0:n.id)?t.createElement(t.Fragment,null,t.createElement(A,{ref:U,style:C,tabIndex:0,onBlur:I,onFocus:$},t.createElement("div",{onMouseDown:R},t.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"user-close-icon"},t.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"})),t.createElement(d,{size:40,className:"user-avatar",src:null==n?void 0:n.avatar,color:"marryBaby"===o?nt.mbColors.pink:nt.colors.secondaryBase,placeholderText:H&&H.length?H[0].toUpperCase():"A"})),t.createElement(ia,{UP_BASEPATH:E,SSO_URL:s,dispatchLogout:()=>{O(),S(!0)},isOpen:!1,isMyHealthEnabled:y,enableCare:m,enableTogether:h,enableEcom:v,enableMySaved:N,closePopup:O,userInfo:n,siteType:o,isUserProfileNavigatorMenuHidden:p,togetherApiDomain:b,userProfileRouterPush:k,locale:P})),t.createElement(sa,{openLogoutPopup:_,onCloseHandler:()=>{document.body.classList.toggle("noscroll",!1),S(!1)},siteType:o,onLogoutHandler:()=>e(void 0,void 0,void 0,(function*(){S(!1),document.body.classList.toggle("noscroll",!1),yield f()}))})):t.createElement(T,{style:Object.assign({textDecoration:"none"},C),"data-event-category":"Sign Up","data-event-action":"Button Click","data-event-label":r,href:B?void 0:ze(`${s}?returnUrl=${r}`),"data-site-type":o},c?t.createElement(L,{onClick:i},t.createElement("img",{src:$e.getAssetPath("lock.png"),className:"avatar",loading:"lazy",alt:"avatar"})):t.createElement(t.Fragment,null,"helloSites"===o&&(P===lt.Indonesia?t.createElement("img",{className:"mobile-only",src:$e.getAssetPath("login.svg"),style:{cursor:"pointer",height:24,width:24},onClick:i}):t.createElement(u,{className:"mobile-only",size:"sm",onClick:i,leftIcon:t.createElement(tt,{useCurrentColor:!0,isSolid:!0,size:22}),styles:{root:{paddingLeft:"5px",paddingRight:"8px"},leftIcon:{marginRight:"5px"}}},M("navigation.loginJoin"))),"marryBaby"===o&&t.createElement("div",{className:"mobile-only",onClick:i,style:{paddingLeft:16}},t.createElement(g,{size:"p3",color:nt.mbColors.pink},M("navigation.loginJoin"))),t.createElement(u,{className:"login-btn",size:"md",onClick:i,leftIcon:t.createElement(tt,{useCurrentColor:!0,isSolid:!0,size:22})},M("navigation.loginJoin"))))};var ca="spdlGfq",ma="vgS16jX";const ua=({onCareHeaderClick:e,currentUrl:a,careUrlFe:l,btnName:n})=>e?t.createElement(st,{className:ca,size:"md",color:"primary",dataEventCategory:"Care",dataEventAction:"Navigation Bar Click",dataEventLabel:a,onClick:t=>e(t),style:{paddingLeft:10,paddingRight:10}},n):t.createElement("a",{href:l,className:`${ma} care-button no-replace-click`},t.createElement(st,{className:ca,size:"md",color:"primary",dataEventCategory:"Care",dataEventAction:"Navigation Bar Click",dataEventLabel:a},n));var da="y5VJdvw",ga="oVhOSCy",ha="pX8OXTM";function va({className:e}){return t.createElement("div",null,t.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:e},t.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"})))}function pa({siteType:e,type:a,enableSearch:l,className:n}){return"helloSites"===e?t.createElement("div",null,t.createElement("img",{"data-list-type":"Header","data-content-type":"Navigation","data-content-topic":"Hamburger",src:l?$e.getAssetPath("hamburgerMenuNewWithSearch.svg"):$e.getAssetPath("hamburgerMenuNew.svg"),style:{width:"24px",height:"24px"},alt:a,className:n,loading:"lazy"})):t.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:n},t.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"}))}const Ea=()=>{const{locale:e,configs:{statics:a},siteType:l}=i(S),n=dt(),{t:o}=Je();return t.createElement(h,{className:"fake-search-input",name:"search-input-menu-service"+n,size:"md",placeholder:"marryBaby"===l?o("navigation.search.input.placeholder"):o("home.search",{site:Re[e||"en-PH"]?Re[e||"en-PH"].SITE_NAME:""}),onChange:()=>{},onKeyDown:e=>"Enter"===e.key&&(window.location.href=`${a.HOME_PAGE_URL}/search/?s=${e.target.value}`),type:"search",onFocus:e=>{e.preventDefault()},displayIcon:t.createElement("a",{"data-event-category":"Search Button","data-event-action":"Click"},t.createElement(H,null))})};var ya="wnUb-dV",ba="cjbOxWe",fa="gB4rp89";const Ca=({item:e,menu:a})=>{const{containerRef:l,onContainerFocus:n,onContainerBlur:o,onButtonMouseDown:i,onClose:s}=wt({allowBgScroll:!0}),r=ht();return!e.popupType&&e.link?t.createElement(ka,{isNew:e.isNew},t.createElement("a",{className:"hhgcomp-navigation-itemnav-headeritem "+(r?"":`menu-handler-${e.id}`),tabIndex:0,href:e.link,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":e.link},t.createElement("div",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":e.link,className:ba},e.name))):t.createElement(ka,{isNew:e.isNew},t.createElement("div",{ref:l,className:`hhgcomp-navigation-itemnav-headeritem ${r?"":`menu-handler-${e.id}`} ${"care"===e.id?"force-focus":""}`,tabIndex:0,key:e.id,onBlur:o,onFocus:n,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":e.link},t.createElement("div",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":e.link,onMouseDown:i,className:ba},"care"===e.id&&t.createElement("a",{className:fa,href:ze(e.link+"/")},t.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t.createElement("path",{d:"M13.4751 21.5C11.8084 21.5 10.3918 20.9167 9.2251 19.75C8.05843 18.5833 7.4751 17.1667 7.4751 15.5V14.95C6.1251 14.7833 4.9961 14.1833 4.0881 13.15C3.17943 12.1167 2.7251 10.9 2.7251 9.5V4.65C2.7251 4.4 2.81243 4.18733 2.9871 4.012C3.16243 3.83733 3.3751 3.75 3.6251 3.75H5.7251V3.5C5.7251 3.28333 5.7961 3.104 5.9381 2.962C6.07943 2.82067 6.25843 2.75 6.4751 2.75C6.69176 2.75 6.8711 2.82067 7.0131 2.962C7.15443 3.104 7.2251 3.28333 7.2251 3.5V5.5C7.2251 5.71667 7.15443 5.89567 7.0131 6.037C6.8711 6.179 6.69176 6.25 6.4751 6.25C6.25843 6.25 6.07943 6.179 5.9381 6.037C5.7961 5.89567 5.7251 5.71667 5.7251 5.5V5.25H4.2251V9.5C4.2251 10.6 4.61676 11.5417 5.4001 12.325C6.18343 13.1083 7.1251 13.5 8.2251 13.5C9.3251 13.5 10.2668 13.1083 11.0501 12.325C11.8334 11.5417 12.2251 10.6 12.2251 9.5V5.25H10.7251V5.5C10.7251 5.71667 10.6544 5.89567 10.5131 6.037C10.3711 6.179 10.1918 6.25 9.9751 6.25C9.75843 6.25 9.57943 6.179 9.4381 6.037C9.2961 5.89567 9.2251 5.71667 9.2251 5.5V3.5C9.2251 3.28333 9.2961 3.104 9.4381 2.962C9.57943 2.82067 9.75843 2.75 9.9751 2.75C10.1918 2.75 10.3711 2.82067 10.5131 2.962C10.6544 3.104 10.7251 3.28333 10.7251 3.5V3.75H12.8251C13.0751 3.75 13.2878 3.83733 13.4631 4.012C13.6378 4.18733 13.7251 4.4 13.7251 4.65V9.5C13.7251 10.9 13.2711 12.1167 12.3631 13.15C11.4544 14.1833 10.3251 14.7833 8.9751 14.95V15.5C8.9751 16.75 9.41276 17.8127 10.2881 18.688C11.1628 19.5627 12.2251 20 13.4751 20C14.7251 20 15.7878 19.5627 16.6631 18.688C17.5378 17.8127 17.9751 16.75 17.9751 15.5V13.875C17.4584 13.7083 17.0294 13.404 16.6881 12.962C16.3461 12.5207 16.1751 12.0167 16.1751 11.45C16.1751 10.7333 16.4251 10.125 16.9251 9.625C17.4251 9.125 18.0251 8.875 18.7251 8.875C19.4418 8.875 20.0501 9.125 20.5501 9.625C21.0501 10.125 21.3001 10.7333 21.3001 11.45C21.3001 12.0167 21.1294 12.5207 20.7881 12.962C20.4461 13.404 20.0084 13.7083 19.4751 13.875V15.5C19.4751 17.1667 18.8918 18.5833 17.7251 19.75C16.5584 20.9167 15.1418 21.5 13.4751 21.5Z",fill:"#2D87F3",strokeWidth:0}))),e.name,e.popupType&&t.createElement("div",{className:ya},t.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t.createElement("path",{d:"M11.5 7.5L9 10L6.5 7.5",stroke:"#202135",strokeWidth:"1.33",strokeLinecap:"round",strokeLinejoin:"round"})))),t.isValidElement(a)?t.cloneElement(a,{onClose:s}):null))},ka=({isNew:e,children:a})=>{const{t:l}=Je();return e?t.createElement(gt,{color:"green",label:l("home.navigator.menuItem.new"),size:20,styles:{root:{paddingRight:10}}},a):t.createElement(t.Fragment,null,a)},wa=({hrefViewMore:e,titleBtnViewMore:a,UrlFE:l,onClosePopup:n,menuItems:o,headingTitle:s})=>{const{siteType:r}=i(S);return t.createElement(B,null,t.createElement(x,null,t.createElement(v,{tag:"marryBaby"===r?"h5":"h6",as:"p",fontWeight:"semibold"},s)),null==o?void 0:o.slice(0,6).map(((e,a)=>{const o=(null==e?void 0:e.link)?(null==e?void 0:e.link.startsWith("http"))?null==e?void 0:e.link:`${l}/${null==e?void 0:e.link.split("/").filter(Boolean).join("/")}/`:"/";return t.createElement(U,Object.assign({className:"iconMenu","data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":o,"data-is-heading-category":!1,href:o},!yt(o)&&{target:"_blank"},{"data-theme":r,key:a,onClick:n}),t.createElement("div",{className:"icon"},t.createElement("img",{loading:"lazy",alt:e.name,src:e.thumbnail||"/images/avatar.jpg",style:{width:32,height:32,maxWidth:32,maxHeight:32,overflow:"hidden"}})),t.createElement(ka,{isNew:e.isNew},t.createElement("p",{style:{paddingRight:e.isNew?10:0}},e.name)),t.createElement($,null,t.createElement("img",{src:$e.getAssetPath("chevronRight.svg"),style:{width:"16px",height:"16px"},loading:"lazy"})))})),a&&t.createElement(I,{"data-theme":r,style:{textDecoration:"none"},href:e,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":e},t.createElement(R,{onClick:n,"data-theme":r,"data-is-heading-category":!1},a,t.createElement(O,null,t.createElement("img",{className:"svg",src:"marryBaby"===r?$e.getAssetPath("chevronRightPink.svg"):$e.getAssetPath("chevronRightActive.svg"),style:{width:"16px",height:"16px"},loading:"lazy"})))))},Pa=({item:e,index:a=0})=>{var l;const{t:n}=Je(),{locale:o,configs:{statics:s}}=i(S);if(!e)return null;const r=`${s.CARE_URL_FE}/${null===(l=mt[o])||void 0===l?void 0:l.HOSPITAL}/${e.slug}-${e.id}`;return t.createElement(j,{key:e.id,href:r,"data-event-category":"Hamburger Navigation","data-event-action":`Care Click ${a+1}`,"data-event-label":r},t.createElement("img",{src:$e.getAssetPath("navCareCardBg.svg"),alt:"",className:"bg-svg",loading:"lazy"}),t.createElement(F,null,t.createElement(D,null,t.createElement("img",{loading:"lazy",alt:e.name,src:e.logo||"/images/avatar.jpg"}))),t.createElement(z,null,t.createElement(V,null,e.name),t.createElement(G,null,e.description),t.createElement(W,null,n("home.seeMore"),t.createElement("img",{src:$e.getAssetPath("chevronRightActive.svg"),style:{width:"16px",height:"16px",marginTop:"3px",marginLeft:"5px"},loading:"lazy"}))))},Na=({title:e,link:a,description:l,cta:n,icon:o})=>{const{siteType:s}=i(S);return t.createElement(K,{"data-theme":s},t.createElement(q,null,t.createElement("img",{src:"marryBaby"===s?$e.getAssetPath("navMBSpotlightBgNoData.svg"):$e.getAssetPath("navSpotlightBgNoData.svg"),alt:"",loading:"lazy",className:"bg-svg"}),t.createElement(Q,null,o&&t.createElement("img",{src:o,width:64,height:64,loading:"lazy"}))),t.createElement("div",null,e&&t.createElement(Y,null,e),l&&t.createElement(Z,null,l),n&&t.createElement("div",null,t.createElement("a",{href:a},t.createElement(st,{theme:s,className:"survey-contact-submit",size:"md"},n)))))},Ma=({title:e,viewMore:a,children:l,link:n,dataEventAction:o=""})=>{const{siteType:s}=i(S);return t.createElement(J,null,t.createElement(X,null,t.createElement(v,{tag:"marryBaby"===s?"h5":"h6",as:"p",fontWeight:"semibold"},e),a&&t.createElement(ee,{"data-event-category":"Hamburger Navigation","data-event-action":o,"data-event-label":n,href:n,"data-theme":s},a,t.createElement("img",{src:"marryBaby"===s?$e.getAssetPath("chevronRightPink.svg"):$e.getAssetPath("chevronRightActive.svg"),style:{width:"16px",height:"16px"},loading:"lazy"}))),l)},_a=({spotlights:e=[],hrefViewMore:a})=>{const{t:l}=Je(),{siteType:n}=i(S);return t.createElement(Ma,{title:l("home.navigator.menu.spotlightHospitals")},0!==e.length?t.createElement(t.Fragment,null,t.createElement(te,null,null==e?void 0:e.slice(0,3).map(((e,a)=>t.createElement(Pa,{key:a,index:a,item:e})))),t.createElement("div",{style:{position:"absolute",bottom:"6px",right:"1rem"}},t.createElement("a",{href:a},t.createElement(st,{theme:n,className:"survey-contact-submit",size:"md"},l("home.navigator.menu.care.homeButton"))))):t.createElement(Na,{title:l("home.navigator.menu.care.noDatas.title"),description:l("home.navigator.menu.care.noDatas.description"),link:a,cta:l("home.navigator.menu.care.homeButton"),icon:$e.getAssetPath("community.svg")}))},Aa=({item:e,index:a=0})=>e?t.createElement(ae,{key:e.id,href:e.link,"data-event-category":"Hamburger Navigation","data-event-action":`Spotlight Click ${a+1}`,"data-event-label":e.link},t.createElement(le,null,t.createElement("img",{loading:"lazy",alt:e.title,src:e.banner||"/images/notFound-min-small.jpg"})),t.createElement(ne,null,e.title)):null,Ta=({spotlightsList:e=[],hrefViewMore:a})=>{const{t:l}=Je(),{configs:{statics:n}}=i(S);return t.createElement(Ma,{title:l("home.navigator.menu.spotlights"),viewMore:l("home.navigator.menu.spotlights.seeAll"),link:a,dataEventAction:"Spotlight See More Click"},0!==e.length?t.createElement(oe,null,null==e?void 0:e.slice(0,4).map(((e,a)=>t.createElement(Aa,{key:a,index:a,item:{id:e.id,link:n.HOME_PAGE_URL+e.permalink,title:e.name,banner:e.image}})))):t.createElement(Na,{title:l("home.navigator.menu.category.noDatas.title"),description:l("home.navigator.menu.category.noDatas.description"),link:a,cta:l("home.navigator.menu.category.noDatas.cta"),icon:$e.getAssetPath("Spotlight.svg")}))},La=({spotlights:e=[]})=>{const{configs:{statics:a}}=i(S),{t:l}=Je();return t.createElement(Ma,{title:l("home.navigator.menu.trendingPosts"),viewMore:l("home.navigator.menu.trendingPosts.seeMore"),link:Ve(a.TOGETHER_URL_FE),dataEventAction:"Together See More Click"},0!==e.length?t.createElement(ie,null,null==e?void 0:e.slice(0,4).map(((e,a)=>t.createElement(se,{index:a,post:e,key:e.id})))):t.createElement(Na,{title:l("home.navigator.menu.together.noPosts.title"),description:l("home.navigator.menu.together.noPosts.description"),link:`${a.HOME_PAGE_URL}/community/`,cta:l("home.navigator.menu.together.noPosts.cta"),icon:$e.getAssetPath("community.svg")}))},Sa=({item:e,index:a=0})=>{const{t:l}=Je(),{configs:{statics:n}}=i(S);if(!e)return null;const o=e.link?e.link.startsWith("http")?e.link:`${n.HOME_PAGE_URL}${e.link}`:void 0;return t.createElement(re,{href:o,"data-event-category":"Hamburger Navigation","data-event-action":`Engage Click ${a+1}`,"data-event-label":o},t.createElement("img",{src:$e.getAssetPath("navToolCardBg.svg"),alt:"",loading:"lazy",className:"bg-svg"}),t.createElement(ce,null,t.createElement(me,null,e.title),t.createElement(ue,null,e.subtitle),t.createElement(de,null,l("home.seeMore"),t.createElement("img",{src:$e.getAssetPath("chevronRightActive.svg"),style:{width:"16px",height:"16px",marginTop:"3px",marginLeft:"5px"},loading:"lazy"}))),t.createElement(ge,null,t.createElement("img",{loading:"lazy",alt:e.title,src:e.icon||"/images/avatar.jpg"})))},Ha=({item:e,index:a=0,color:l})=>{const{t:n}=Je(),{configs:{statics:o}}=i(S);if(!e)return null;const s=e.link?e.link.startsWith("http")?e.link:`${o.HOME_PAGE_URL}${e.link}`:void 0,r=()=>t.createElement(pe,null,t.createElement("img",{loading:"lazy",alt:e.title,src:e.icon||"/images/avatar.jpg"})),c=()=>t.createElement(Ee,null,t.createElement(ye,null,t.createElement(be,null,e.title),t.createElement(fe,null,e.subtitle)),t.createElement(Ce,null,t.createElement("div",{className:"mobile-only"},n("home.seeMore")),t.createElement("img",{src:$e.getAssetPath("arrowRightGray.svg"),style:{width:"12px",height:"12px",marginTop:"2px",marginLeft:"5px"},loading:"lazy"})));return t.createElement(he,{href:s,"data-event-category":"Hamburger Navigation","data-event-action":`Engage Click ${a+1}`,"data-event-label":s,"data-color":l},t.createElement("svg",{className:"bg-svg",width:"74",height:"121",viewBox:"0 0 74 121",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t.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"})),t.createElement("img",{src:$e.getAssetPath("navMBCardDotBg.svg"),className:"dot-svg",loading:"lazy",alt:""}),t.createElement(ve,null,t.createElement("div",{className:"mobile-only"},r()),t.createElement("div",{className:"desktop-only"},c())),t.createElement("div",{className:"mobile-only"},c()),t.createElement("div",{className:"desktop-only"},r()))},Ba=({hrefViewMore:e,spotlightHealthTools:a=[]})=>{const{t:l}=Je(),n=["pink","orange","green"],{siteType:o}=i(S);return t.createElement(Ma,{title:l("home.navigator.menu.spotlightTools")},0!==a.length&&t.createElement(ke,null,null==a?void 0:a.slice(0,3).map(((e,a)=>"marryBaby"===o?t.createElement(Ha,{key:a,index:a,item:e,color:n[a]}):t.createElement(Sa,{key:a,index:a,item:e})))),0===a.length&&t.createElement(Na,{title:l("home.navigator.menu.healthTools.noDatas.title"),description:l("home.navigator.menu.healthTools.noDatas.description"),link:e,cta:l("home.navigator.menu.healthTools.noDatas.cta"),icon:$e.getAssetPath("community.svg")}))},xa=({closePopup:e,menuItems:a=[]})=>{var l,n;const{siteType:o,ssrMenuContent:{categories:s,healthTools:r,care:c,together:m},activeMenuService:u,configs:{statics:d,enableSearchBar:g},locale:h}=i(S),{t:v}=Je();return t.createElement(we,{id:"categories-menu"},g?t.createElement(Pe,{"data-theme":o,onClick:()=>{window.location.href=`${d.HOME_PAGE_URL}/search`}},t.createElement(Ea,null)):null,t.createElement(Ne,null,t.createElement(wa,{UrlFE:d.HOME_PAGE_URL,titleBtnViewMore:v("home.navigator.menuItem.allCategories"),menuItems:a,headingTitle:v("home.navigator.menuItem.healthCategories"),onClosePopup:e}),"categories"===u&&t.createElement(Ta,{spotlightsList:(null==s?void 0:s.spotlights)||[],hrefViewMore:`${d.HOME_PAGE_URL}${"tl-PH"===h?"/fil":""}/spotlight/`}),"tools"===u&&t.createElement(Ba,{spotlightHealthTools:null==r?void 0:r.spotlights,hrefViewMore:`${d.HOME_PAGE_URL}${"tl-PH"===h?"/fil":""}${(null===(l=Oe[h])||void 0===l?void 0:l.HEALTH_TOOLS)||""}`}),"care"===u&&t.createElement(_a,{spotlights:null==c?void 0:c.spotlights,hrefViewMore:`${d.CARE_URL_FE}/${null===(n=mt[h])||void 0===n?void 0:n.SPECIALTIES}`}),"together"===u&&t.createElement(La,{spotlights:null==m?void 0:m.spotlights})))},Ua=({type:e="home",menuItems:a})=>{const{siteType:l,configs:{enableSearchBar:n}}=i(S),{containerRef:o,onContainerFocus:s,onContainerBlur:r,onButtonMouseDown:c,onClose:m}=wt();return t.createElement(kt,{mediaQueryKey:"mbDown"},t.createElement("header",{className:da},t.createElement("div",{className:ga,ref:o,role:"button",tabIndex:0,onBlur:r,onFocus:s},t.createElement("div",{className:ha,onMouseDown:c,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"Hamburger Navigation URL"},t.createElement(va,{className:"mobile-close-icon"}),t.createElement(pa,{siteType:l,type:e,enableSearch:n,className:"mobile-hamburger-icon"})),t.createElement(xa,{menuItems:a,closePopup:m}))))};var $a="q3nL5cp",Ia="_2DNf80G",Ra="Q-glX-n";const Oa=({onClosePopup:e})=>t.createElement("div",{className:`${Ra} close-btn`,onClick:e},t.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"}))),ja=({onClosePopup:e,isDisplay:a,children:l,isNavMenu:n,hideCloseBtn:o})=>t.createElement("div",{className:"hhgcomp-navigation-popupwrapper-menuwrapper top-menu-health-tools","data-is-display":!!a,"data-is-nav-menu":!!n},t.createElement(at,null,!o&&t.createElement("div",{className:Ia},t.createElement(Oa,{onClosePopup:e})),t.createElement(at,{className:$a},l))),Fa=({careSpecialties:e=[],isOpen:a,onClose:l,spotlights:n=[]})=>{var o;const{t:s}=Je(),{locale:r,configs:{statics:c}}=i(S);return t.createElement(ja,{onClosePopup:l,isDisplay:a,isNavMenu:!0},t.createElement(wa,{headingTitle:s("home.navigator.menuItem.specialties"),hrefViewMore:`${c.CARE_URL_FE}/`,UrlFE:c.CARE_URL_FE,onClosePopup:l,titleBtnViewMore:s("home.navigator.menuItem.allSpecialties"),menuItems:(null==e?void 0:e.map((e=>e?{name:String(e.name)||"",link:aa({type:"DOCTOR",specialtySlug:e.slug,locale:r}),thumbnail:(null==e?void 0:e.thumbnail)||""}:{})))||[]}),t.createElement(_a,{spotlights:n,hrefViewMore:`${c.CARE_URL_FE}/${null===(o=mt[r])||void 0===o?void 0:o.SPECIALTIES}/`}))},Da=({categories:e=[],spotlightsList:a=[],onClose:l,isOpen:n})=>{const{t:o}=Je(),{locale:s,configs:{statics:r}}=i(S);return t.createElement(ja,{onClosePopup:l,isDisplay:n,isNavMenu:!0},t.createElement(wa,{hrefViewMore:`${r.HOME_PAGE_URL}${"tl-PH"===s?"/fil":""}/categories/`,UrlFE:r.HOME_PAGE_URL,onClosePopup:l,titleBtnViewMore:o("home.navigator.menuItem.allCategories"),menuItems:(null==e?void 0:e.map((e=>e?{name:e.displayName||null,link:(null==e?void 0:e.customizedUrl)||(null==e?void 0:e.permalink)||"/",thumbnail:e.iconUrl||null}:{})))||[],headingTitle:o("home.navigator.menuItem.healthCategories")}),t.createElement(Ta,{spotlightsList:a,hrefViewMore:`${r.HOME_PAGE_URL}${"tl-PH"===s?"/fil":""}/spotlight/`}))},za=({communities:e=[],onClose:a,isOpen:l,spotlights:n=[]})=>{const{t:o}=Je(),{configs:{statics:s}}=i(S);return t.createElement(ja,{onClosePopup:a,isDisplay:l,isNavMenu:!0},t.createElement(wa,{hrefViewMore:Ve(s.TOGETHER_URL_FE),UrlFE:ze(s.TOGETHER_URL_FE),onClosePopup:a,titleBtnViewMore:o("home.navigator.menuItem.allCommunities"),menuItems:(null==e?void 0:e.map((e=>e?{name:e.name||"",link:e.slug||"/",thumbnail:e.thumbnail||""}:{})))||[],headingTitle:o("home.navigator.menuItem.allCommunitiesheadingTitle")}),t.createElement(La,{spotlights:n}))},Va=({locale:e,onClose:a,isOpen:l,spotlightHealthTools:n=[],healthTools:o=[]})=>{var s;const{t:r}=Je(),{configs:{statics:c}}=i(S),m=`${c.HOME_PAGE_URL}${"tl-PH"===e?"/fil":""}${(null===(s=Oe[e])||void 0===s?void 0:s.HEALTH_TOOLS)||""}`;return t.createElement(ja,{onClosePopup:a,isDisplay:l,isNavMenu:!0},t.createElement(wa,{hrefViewMore:m,UrlFE:c.HOME_PAGE_URL,onClosePopup:a,headingTitle:r("home.navigator.menuItem.healthToolsList"),titleBtnViewMore:r("home.navigator.menuItem.allHealthTools"),menuItems:o.map((e=>({name:e.title,link:e.link?e.link.startsWith("http")?e.link:`${c.HOME_PAGE_URL}${e.link}`:void 0,thumbnail:e.icon})))}),t.createElement(Ba,{spotlightHealthTools:n,hrefViewMore:m}))},Ga=({onTopBarAppears:e,type:n="home",languageMenu:r,menuItems:c})=>{var m;const{siteType:u,isMobile:d=!1,locale:g,sitewideBanner:h,sitewideBannerShown:v=!0,sponsorComponent:p,onBookingClick:E,currentUrl:y,onLoginClick:b,configs:{statics:f,enableNavCareBooking:C,enableSearchBar:k,enableNavCare:w,enableProfileMyHealth:P,enableProfileMySaved:N,enableNavTogether:M,enableProfileEcom:_,enableProfileNavigatorMenu:A},userState:{userInfo:T},onLogout:L,userProfileRouterPush:H,isUserLoading:B}=i(S),{t:x}=Je(),{SSO_URL:U,HOME_PAGE_URL:$}=f,I=!!p,[R,O]=a(!1),j=o(47),F=o(null),D=o(!1),z="helloSites"===u?null===(m=Re[g])||void 0===m?void 0:m.LOGO_TYPE:u,V="undefined"!=typeof window,G=s(Xe((()=>{if("home"===n&&V){if(!F.current)return;const e=F.current.getBoundingClientRect();e.top<=0&&window.scrollY>j.current&&window.scrollY>e.height+20&&!D.current&&(D.current=!0,O(!0)),window.scrollY<j.current&&D.current&&(D.current=!1,O(!1)),window.scrollY>=0&&(j.current=window.scrollY)}}),200),[]);l((()=>{null==e||e(!R)}),[R]),l((()=>(window.addEventListener("scroll",G,{passive:!0}),()=>{window.removeEventListener("scroll",G)})),[]),l((()=>{d&&G()}),[d]);const W=v&&!!h;return t.createElement(Me,{"data-site-type":u,"data-sponsored":I,"data-sitewide-banner-shown":W,"data-header-type":n,"data-collapsed":R,"data-with-search-input":"popup-sub-level"!==n,"data-is-displayed":!0,id:"site-header",ref:F},h,t.createElement(_e,{"data-site-type":u},t.createElement(Ae,{"data-site-type":u},t.createElement(Ua,{menuItems:c,type:n}),t.createElement("a",{style:{flexShrink:0},href:$},t.createElement(Te,null,t.createElement(Ze,{style:{display:"flex"},type:z,badge:"id-ID"===g&&t.createElement("img",{src:$e.getAssetPath("sehat-badge.png"),width:"56",height:"23",loading:"lazy"}),dateForSeasonal:new Date,locale:g,key:"undefined"!=typeof window?"client":"server"}))),"marryBaby"===u?t.createElement(Ka,{menuItems:c}):k&&t.createElement(Wa,{siteType:u})),t.createElement(Le,{"data-site-type":u},"marryBaby"===u?k&&t.createElement(Wa,{siteType:u}):t.createElement(Ka,{menuItems:c}),t.createElement(Se,null,C&&t.createElement(kt,{mediaQueryKey:"mbUp"},t.createElement(ua,{careUrlFe:f.CARE_URL_FE,currentUrl:y,btnName:x("login.booking"),onCareHeaderClick:E})),r,t.createElement(ra,{userInfo:T,siteType:u,onLoginClick:b||(()=>{const e=window.location.href;window.location.href=U?ze(`${U}?returnUrl=${e}`):e}),SSO_URL:Ve(f.SSO_URL),currentUrl:y,onLogout:L,UP_BASEPATH:je,isMyHealthEnabled:P,enableCare:w,enableTogether:M,enableEcom:_,enableMySaved:N,togetherApiDomain:Ve(f.TOGETHER_API),isUserProfileNavigatorMenuHidden:!A,userProfileRouterPush:H,isLoading:B,locale:g})))),p?t.isValidElement(p)?t.cloneElement(p,{isCollapsed:R,locale:g,isMobile:d}):p:null)},Wa=({siteType:e})=>t.createElement(kt,{mediaQueryKey:"mbUp",className:"marryBaby"===e?"marry-baby":""},t.createElement(Ea,null)),Ka=({menuItems:e})=>{const{siteType:a,locale:l,ssrMenuContent:{categories:n,healthTools:o,care:s,together:r}}=i(S);return t.createElement(kt,{mediaQueryKey:"mbUp",style:{height:"100%"}},t.createElement(He,{"data-site-type":a},null==e?void 0:e.map(((e,a)=>t.createElement(Ca,{key:a,item:e,menu:"categories"===e.popupType?t.createElement(Da,{categories:null==n?void 0:n.items,spotlightsList:null==n?void 0:n.spotlights}):"tools"===e.popupType?t.createElement(Va,{locale:l,healthTools:null==o?void 0:o.items,spotlightHealthTools:null==o?void 0:o.spotlights}):"together"===e.popupType?t.createElement(za,{communities:null==r?void 0:r.items,spotlights:null==r?void 0:r.spotlights}):"care"===e.popupType?t.createElement(Fa,{careSpecialties:null==s?void 0:s.items,spotlights:null==s?void 0:s.spotlights}):null})))))},qa=e=>{var r,c;const{isMobile:m,locale:u,onTopBarAppears:d,languageOptions:g,sponsorComponent:h,sitewideBanner:v,sitewideBannerShown:p,className:E}=e,y=(()=>{const{t:e}=Je(),{siteType:t,locale:a,configs:{enableNavDiscover:l,enableNavHealthTools:o,enableNavCare:s,enableNavTogether:r,enableNavEcom:c,statics:m}}=i(S),u="marryBaby"===t;return n((()=>{var t;const n=[];return l&&n.push({name:e("home.navigator.menuItem.discover"),id:"categories",link:`${m.HOME_PAGE_URL}${"tl-PH"===a?"/fil":""}/categories`,niceName:"",thumbnail:u?$e.getAssetPath("categories-mb.svg"):$e.getAssetPath("nav-icons/discover.svg"),popupType:"categories"}),o&&n.push({name:e("home.navigator.menuItem.healthTools"),id:"tools",link:`${m.HOME_PAGE_URL}${"tl-PH"===a?"/fil":""}${(null===(t=Oe[a])||void 0===t?void 0:t.HEALTH_TOOLS)||""}`,thumbnail:u?$e.getAssetPath("healthtools-mb.svg"):$e.getAssetPath("nav-icons/health-tools.svg"),popupType:"tools"}),r&&n.push({name:e("home.navigator.menuItem.helloTogether"),id:"together",link:ze(m.TOGETHER_URL_FE+"/"),thumbnail:u?$e.getAssetPath("community-mb.svg"):$e.getAssetPath("nav-icons/community.svg"),popupType:"together"}),c&&n.push({name:e("home.navigator.menuItem.helloEcom"),id:"ecom",link:ze(m.HOME_PAGE_URL+"/shop"),thumbnail:$e.getAssetPath("nav-icons/shop.svg"),popupType:null}),s&&n.push({name:e("home.navigator.menuItem.helloCare"),id:"care",link:ze(m.HOME_PAGE_URL+"/care"),thumbnail:$e.getAssetPath("nav-icons/care.svg"),popupType:"zh-TW"===a?null:"care"}),n}),[a,s,r,c])})();(()=>{const{isFirstLogin:e,userState:t}=i(S),{userInfo:a}=t;l((()=>{(null==a?void 0:a.id)&&(e?(null==a?void 0:a.email)&&""!==(null==a?void 0:a.email)?window.insider_object={user:Object.assign({uuid:null==a?void 0:a.id,email:null==a?void 0:a.email,gdpr_optin:!0,email_optin:!0,sign_up:!0},(null==a?void 0:a.name)?{name:null==a?void 0:a.name}:{})}:window.insider_object={user:Object.assign({uuid:null==a?void 0:a.id,sign_up:!0},(null==a?void 0:a.name)?{name:null==a?void 0:a.name}:{})}:(null==a?void 0:a.email)&&""!==(null==a?void 0:a.email)?window.insider_object={user:Object.assign({uuid:null==a?void 0:a.id,email:null==a?void 0:a.email,gdpr_optin:!0,email_optin:!0,log_in:!0},(null==a?void 0:a.name)?{name:null==a?void 0:a.name}:{})}:window.insider_object={user:Object.assign({uuid:null==a?void 0:a.id,log_in:!0},(null==a?void 0:a.name)?{name:null==a?void 0:a.name}:{})})}),[])})();const b=p&&!!v,f=!!h,C=!!(null===(c=null===(r=null==h?void 0:h.props)||void 0===r?void 0:r.sponsoredBy)||void 0===c?void 0:c.length),{headerRef:k,defaultHeaderHeight:w,headerHeight:P,headerBottom:N}=(({hasSponsoredBanners:e,isSponsored:t,isShowingSiteWideBanner:i,isMobile:r})=>{const c=o(null),[m,u]=a(0),[d,g]=a(64),h=s(ct((()=>{var e,t,a,l;const n=(null===(e=c.current)||void 0===e?void 0:e.clientHeight)||(null===(a=null===(t=c.current)||void 0===t?void 0:t.children[0])||void 0===a?void 0:a.clientHeight)||0;window.scrollY<=n+200&&(u(n),g((null===(l=c.current)||void 0===l?void 0:l.getBoundingClientRect().bottom)||m))}),200),[]);l((()=>(window.addEventListener("resize",h,{passive:!0}),window.addEventListener("scroll",h,{passive:!0}),h(),()=>{window.removeEventListener("resize",h),window.removeEventListener("scroll",h)})),[]),l((()=>{h()}),[r,i,t,e,c.current]);const v=n((()=>{let a=r?64:69;return i&&(a+=64),t&&(a+=40,e&&(a+=57)),a}),[r,i,e,t]);return{defaultHeaderHeight:v,headerHeight:m||v,headerBottom:d,headerRef:c}})({isShowingSiteWideBanner:b,isSponsored:f,hasSponsoredBanners:C,isMobile:m});return t.createElement(xe,{id:"navigation-v2",style:{"--default-header-height":w+"px","--header-height":`calc(${P}px - var(--amp-site-wide-closed), 64px)`,"--header-bottom":N+"px"},className:E},t.createElement("section",{ref:k},t.createElement(Ga,{menuItems:y,type:"home",onTopBarAppears:d,languageMenu:t.createElement(ft,{languageOptions:g,locale:u})})))},Qa=e=>{const a=Object.assign({siteType:"helloSites",projectType:"discover",locale:"vi-VN",activeMenuService:"categories",ssrMenuContent:{}},e);return t.createElement(Be,Object.assign({},a),t.createElement(qa,Object.assign({},a)))},Ya=t=>e(void 0,void 0,void 0,(function*(){var e,a,l,n,o,i,s,r,c,m,u,d,g,h,v,p,E,y,b,f,C;const k={},w="vi-VN_MB"===t;try{const P="tl-PH"===t?"lang=fil":"";try{const[u,d,g,h]=yield Promise.all([fetch(ze(`${Ge(t)}/wp-json/api/categories${P?"?"+P:""}`)).then((e=>e.json())),fetch(ze(`${Ge(t)}/wp-json/api/spotlights?per_page=10&order_by=start_date${P?"&"+P:""}`)).then((e=>e.json())),fetch(ze(`${Ge(t)}/wp-json/api/${w?"health-tools":"healthtools"}${P?"?"+P:""}`)).then((e=>e.json())),fetch(ze(`${Ge(t)}/wp-json/api/${w?"health-tools":"healthtools"}/favorites${P?"?"+P:""}`)).then((e=>e.json()))]);k.categories={items:(null===(a=null===(e=null==u?void 0:u.data)||void 0===e?void 0:e.map)||void 0===a?void 0:a.call(e,Jt))||[],spotlights:(null===(i=null===(o=null===(n=null===(l=null==d?void 0:d.data)||void 0===l?void 0:l.articles)||void 0===n?void 0:n.map)||void 0===o?void 0:o.call(n,la))||void 0===i?void 0:i.filter(na))||[]},k.healthTools={items:(null===(r=null===(s=null==g?void 0:g.data)||void 0===s?void 0:s.map)||void 0===r?void 0:r.call(s,Xt))||[],spotlights:(null===(m=null===(c=null==h?void 0:h.data)||void 0===c?void 0:c.map)||void 0===m?void 0:m.call(c,Xt))||[]}}catch(e){}if(w||Fe.includes(t))try{const[e,a]=yield Promise.all([fetch(ze(`${We()}/api/v1/community?website_url=https://${Ie[t]}`)).then((e=>e.json())),fetch(ze(`${We()}/api/v1/options?website_url=https://${Ie[t]}&meta_key=popular_post`)).then((e=>e.json()))]);k.together={items:(null===(g=null===(d=null===(u=null==e?void 0:e.data)||void 0===u?void 0:u.communities)||void 0===d?void 0:d.map)||void 0===g?void 0:g.call(d,Qe))||[],spotlights:(null===(p=null===(v=null===(h=null==a?void 0:a.data)||void 0===h?void 0:h.posts)||void 0===v?void 0:v.map)||void 0===p?void 0:p.call(v,Ye))||[]}}catch(e){}if(De.includes(t))try{const[e,a]=yield Promise.all([fetch(ze(Ke()+`/api/specialties?_ishome=1&site=${Ie[t]}`)).then((e=>e.json())),fetch(ze(Ke()+`/api/search/?site=${Ie[t]}&type=hospital&order_by=total_doctor`)).then((e=>e.json()))]);k.care={items:(null===(b=null===(y=null===(E=null==e?void 0:e._data)||void 0===E?void 0:E.specialties)||void 0===y?void 0:y.map)||void 0===b?void 0:b.call(y,ea))||[],spotlights:(null===(C=null===(f=null==a?void 0:a._data.searches)||void 0===f?void 0:f.map)||void 0===C?void 0:C.call(f,ta))||[]}}catch(e){}}catch(e){console.error(e)}return k})),Za=t=>e(void 0,void 0,void 0,(function*(){return(yield r("nav-menu-content",(()=>Ya(t||"en-PH")),(e=>{var t,a;return!!(null===(a=null===(t=null==e?void 0:e.categories)||void 0===t?void 0:t.items)||void 0===a?void 0:a.length)})))||{}}));export{pt as A,ft as L,Qa as N,ia as P,oa as U,Za as a,St as b,Zt as c,sa as d,ra as e,Ya as g,yt as i};
|
|
1
|
+
import{a as e}from"./tslib.es6-c8835980.js";import t,{useState as a,useEffect as l,useMemo as n,useRef as o,useContext as i,useCallback as s}from"react";import{g as r}from"./core-7af1314a.js";import{K as c,F as m,E as u,y as d,x as g,P as h,H as v}from"./utils-df78bdca.js";import{S as p,a as E,b as y,c as b,d as f,e as C,f as k,g as w,T as P,N,h as M,i as _,j as A,k as T,l as L,m as S,n as H,o as B,p as x,q as U,r as $,s as I,t as R,u as O,v as j,w as F,x as D,y as z,z as V,A as G,B as W,C as K,D as q,E as Q,F as Y,G as Z,H as J,I as X,J as ee,K as te,L as ae,M as le,O as ne,P as oe,Q as ie,R as se,V as re,W as ce,X as me,Y as ue,Z as de,_ as ge,$ as he,a0 as ve,a1 as pe,a2 as Ee,a3 as ye,a4 as be,a5 as fe,a6 as Ce,a7 as ke,a8 as we,a9 as Pe,aa as Ne,ab as Me,ac as _e,ad as Ae,ae as Te,af as Le,ag as Se,ah as He,ai as Be,aj as xe}from"./index.styled-6b23e614.js";import{T as Ue}from"./index-164612c2.js";import{CommonGAssets as $e}from"./gAssets.js";import{d as Ie,L as Re,S as Oe,U as je,T as Fe,C as De}from"./index-ef52a951.js";import{n as ze,a as Ve}from"./normalizeLink-6d537179.js";import{c as Ge,b as We,d as Ke}from"./routing-8b859474.js";import{P as qe,b as Qe,c as Ye}from"./dataTransform-474b6557.js";import{L as Ze}from"./index-940a2837.js";import{u as Je}from"./useTranslations-7597d802.js";import Xe from"lodash/throttle";import{j as et}from"./screenSizeContext-987c451f.js";import{U as tt,C as at}from"./index-b7da5adf.js";import{L as lt}from"./Onboarding-ad49870c.js";import{t as nt}from"./theme-31acd0c2.js";import{g as ot}from"./cookieHelper-f8486f9d.js";import{I as it}from"./index-7c0c9a23.js";import{B as st}from"./index-75e66b82.js";import{Portal as rt}from"@mantine/core";import"@mantine/dates";import"dayjs";import"styled-components";import"./isProduction-8ce1051d.js";import"@mantine/hooks";import ct from"lodash/debounce";import{L as mt}from"./constants-254a4df3.js";import ut from"string-format";import{a as dt}from"./useUniqueId-6daecd5a.js";import{I as gt}from"./index-7dbac417.js";import{u as ht}from"./useIsInit-3a06bd4a.js";const vt={xs:28,small:32,medium:40,large:48,xl:64,xxl:80,xxxl:96},pt=({type:e="square",size:n,avatarImg:o,avatarUrl:i,firstLetter:s,backgroundColor:r,onClick:m,style:u,className:d,width:g,height:h,alt:v})=>{const p=n?vt[n]:void 0,[E,y]=a(!1);l((()=>{if(i){const e=document.createElement("img");e.setAttribute("src",i),e.addEventListener("error",(()=>{y(!0)}))}}),[i,y]);const b=(!i&&!o||E)&&s;return t.createElement(c,{style:Object.assign(Object.assign({},u),{"--size":p?p+"px":void 0,"--width-prop":g?g+"px":void 0,"--height-prop":h?h+"px":void 0,"--background-color":r}),"data-has-max":!(!g||!h),"data-avatar-type":e,onClick:m,className:d,avatarUrl:i,"data-custom-size":!!n},o,i&&!E&&t.createElement(it,{src:i,alt:v||"avatar"}),b&&s)},Et=["hellobacsi.com","hellosehat.com","hellodoktor.com","hellokrupet.com","hellodoctor.com.ph","hellokhunmor.com","hellosayarwon.com","helloyishi.com.tw","helloswasthya.com","marrybaby.vn","hellohealth.questionpro.com","hellobacsivn.page.link"],yt=(e="")=>Et.some((t=>new URL(e).origin.endsWith(t))),bt=({options:e,label:l,labelRenderer:n,selected:o,onChange:i,showSelected:s=!0,style:r={},showIndicator:c=!0})=>{const[m,u]=a(!1);return t.createElement(t.Fragment,null,t.createElement(p,null,t.createElement(E,{onClick:()=>u((e=>!e))},l||(null==n?void 0:n(m))||null,t.createElement(y,{"data-is-open":m,style:r,"data-show-indicator":c},e.map(((e,a)=>t.createElement(b,{key:a,"data-selected":s&&o===e.value,onClick:t=>{o!==e.value&&(i(e.value),u((e=>!e))),t.stopPropagation()}},t.createElement(Ue,{size:"p3"},e.label),s&&o===e.value&&t.createElement("img",{src:$e.getAssetPath("check.svg"),alt:"check",className:"check-icon",loading:"lazy"}))))))),m&&t.createElement(f,{onClick:()=>u(!1)}))},ft=({languageOptions:e,locale:a})=>{var l,n;const o=null==e?void 0:e.find((e=>e.locale===a));return(null==e?void 0:e.length)?t.createElement(bt,{options:e,selected:o.value,label:t.createElement(Ct,{locale:a,label:o.label||(null===(n=null===(l=a.split("-"))||void 0===l?void 0:l[0])||void 0===n?void 0:n.toUpperCase())}),onChange:e=>{"undefined"!=typeof window&&(window.location.href=e)},style:{width:100},showSelected:!0,showIndicator:!1}):null},Ct=({locale:e,label:a,href:l})=>{var n,o,i;return t.createElement(C,{href:l},t.createElement(m,{country:null===(o=null===(n=null==e?void 0:e.split("-"))||void 0===n?void 0:n[1])||void 0===o?void 0:o.toUpperCase(),width:16,height:16,rounded:!0,language:null===(i=null==e?void 0:e.split("-"))||void 0===i?void 0:i[0]}),t.createElement("span",null,a))},kt=({forceDisplay:e,mediaQueryKey:a,children:l,className:o,style:i})=>{const[s,r]=n((()=>et(a)),[a]);return t.createElement(k,{lowerBound:e?0:s,upperBound:e?0:r,className:o,style:i},l)},wt=e=>{const{allowBgScroll:t}=e||{},a=o();return{containerRef:a,onContainerFocus:()=>{t||(document.documentElement.style.overflow="hidden")},onContainerBlur:()=>{t||(document.documentElement.style.overflow="")},onButtonMouseDown:e=>{a.current&&(document.activeElement===a.current||a.current.contains(document.activeElement))&&(a.current.blur(),document.activeElement.blur(),e.preventDefault())},onClose:()=>{a.current&&(document.activeElement===a.current||a.current.contains(document.activeElement))&&(a.current.blur(),document.activeElement.blur())}}},Pt=({type:e="lead",closeIcon:a,isOpen:l=!0,onClose:n,children:o,enableAnimation:i=!0,targetAvatar:s,id:r,className:c})=>t.createElement(w,{"data-open":l,"data-type":e,"data-animation":i,"data-target":s,id:r,className:c},t.createElement("div",{className:"popup-content"},!!a&&t.createElement("div",{className:"close-button",onClick:n},a),o)),Nt={myBooking:"booking",mySaved:"saved",myHealth:"health",myFamily:"family",myCommunity:"my-communities",eCom:"shop"};var Mt="uJQBNNg",_t="TfG3dM5",At="aMtjFNf",Tt="cSz2RR-",Lt="GyFm00F";function St({userInfo:e,onClickMyProfileButton:a,themeName:l="helloSites"}){const{t:o}=Je(),i=n((()=>{const t=(null==e?void 0:e.name)||(null==e?void 0:e.username);return t&&t.length?t[0].toUpperCase():"A"}),[null==e?void 0:e.username,null==e?void 0:e.name]);return t.createElement("div",{className:Mt,onClick:()=>{a&&a()}},t.createElement(pt,{className:_t,type:"rounded",size:"xl",avatarUrl:null==e?void 0:e.avatar,firstLetter:i,backgroundColor:"marryBaby"===l?nt.mbColors.pink:nt.colors.secondaryBase}),t.createElement("div",{className:At},t.createElement("div",{className:Tt},(null==e?void 0:e.name)||(null==e?void 0:e.username)),t.createElement("div",{className:Lt,style:{"--bg-hellosites":`url(${$e.getAssetPath("userProfileNav/helloSites/icon-chevronRight.svg")})`,"--bg-marrybaby":`url(${$e.getAssetPath("userProfileNav/marryBaby/icon-arrowRight.svg")})`}},o("userProfile.nav.header.viewProfile"))))}var Ht="gn6HmGG",Bt="FCx8FEM",xt="zMiRxaE",Ut="lZ2Z9MQ",$t="rwm-agG",It="qMOscoq";const Rt=({themeName:e,locale:l,onClickItem:o})=>{const[i,s]=a(""),r=n((()=>"marryBaby"===e?[{key:"userProfile.nav.menu.password",icon:$e.getAssetPath("userProfileNav/marryBaby/icon-lock.svg"),link:"password"},{key:"userProfile.nav.menu.logout",icon:$e.getAssetPath("userProfileNav/marryBaby/icon-logOut.svg"),link:"logout"}]:[{key:"userProfile.nav.menu.accountSettings",icon:$e.getAssetPath("userProfileNav/helloSites/icon-settingsWheel.svg"),subMenu:[{key:"common.profileNavigator.newsletterSubscription",link:"subscriptions",disableLocale:["id-ID","ms-MY","km-KH","en-PH","tl-PH","th-TH","my-MM","zh-TW","hi-IN"]},{key:"userProfile.nav.menu.password",link:"password"},{key:"userProfile.nav.menu.disableAccount",link:"disable-account",disableLocale:["hi-IN"]}]},{key:"userProfile.nav.menu.help",icon:$e.getAssetPath("userProfileNav/helloSites/icon-helpCircle.svg"),link:"help"}]),[e]);function c(e){e.subMenu?s((t=>t?"":e.key)):o&&o(e)}return t.createElement("div",{className:Ht},r.map((e=>t.createElement(Ot,{key:e.key,item:e,openKey:i,onClickItem:c,locale:l}))))},Ot=({item:e,openKey:a,onClickItem:l,locale:n})=>{var o;const{t:i}=Je();return(null===(o=e.disableLocale)||void 0===o?void 0:o.includes(n))?null:t.createElement("div",{className:`${Bt} nav-menu-item`,"data-is-open":a===e.key,key:e.key,"data-has-submenu":!!e.subMenu},t.createElement("div",{className:xt,onClick:()=>l(e)},e.icon&&t.createElement("div",{className:Ut,style:{backgroundImage:`url("${e.icon}")`}}),i(e.key),e.subMenu&&t.createElement("div",{className:$t,style:{"--after-bg":`url(${$e.getAssetPath("userProfileNav/helloSites/icon-chevronDown.svg")})`}})),e.subMenu&&t.createElement("div",{className:It},e.subMenu.map((e=>t.createElement(Ot,{key:e.key,item:e,openKey:a,onClickItem:l,locale:n})))))};var jt="-AZt1au",Ft="IvSIfCI",Dt="eahCJov",zt="XIyViFs",Vt="_4y-O0w3",Gt="kO8iNgD",Wt="a1d4E10",Kt="Tdguxxf",qt="-mOxsaU",Qt="yPeDBNZ";const Yt={helloSites:{member:()=>$e.getAssetPath("userProfileNav/helloSites/icon-rank-member.svg"),ambassador:()=>$e.getAssetPath("userProfileNav/helloSites/icon-rank-ambassador.svg"),doctor:()=>$e.getAssetPath("userProfileNav/helloSites/icon-rank-doctor.svg"),expert:()=>$e.getAssetPath("userProfileNav/helloSites/icon-rank-expert.svg"),influencer:()=>$e.getAssetPath("userProfileNav/helloSites/icon-rank-influencer.svg")},marryBaby:{member:()=>$e.getAssetPath("userProfileNav/marryBaby/icon-rank-member.svg"),ambassador:()=>$e.getAssetPath("userProfileNav/marryBaby/icon-rank-ambassador.svg"),doctor:()=>$e.getAssetPath("userProfileNav/marryBaby/icon-rank-doctor.svg"),expert:()=>$e.getAssetPath("userProfileNav/marryBaby/icon-rank-expert.svg"),influencer:()=>$e.getAssetPath("userProfileNav/marryBaby/icon-rank-influencer.svg")}},Zt=({themeName:e,rank:a="member",numberOfPosts:l=0})=>{const{t:o}=Je(),i=n((()=>{var t,l;return(null===(l=null===(t=Yt[e])||void 0===t?void 0:t[a])||void 0===l?void 0:l.call(t))||""}),[a,e]);return t.createElement("div",{className:Vt,"data-user-rank":a},t.createElement("div",{className:Gt},t.createElement("div",{className:Wt},t.createElement("div",{className:Kt,style:{backgroundImage:`url("${i}")`}}),t.createElement("h3",{className:qt},o(`userProfile.userRank.${a}`)),l>0&&t.createElement("p",{className:Qt},l," ",o("userProfile.nav.header.count.posts")))))},Jt=e=>{var t,a,l,n;return e?{termId:e.term_id||null,sponsor:e.sponsor?(n=e.sponsor,n?{title:n.title,logo:n.logo,link:n.link}:{}):null,isSponsored:e.is_sponsored||null,categoryName:e.cat_name||e.name||null,name:e.name||null,iconUrl:e.icon||"",slugName:e.category_nicename||null,description:e.description||null,featureImage:e.thumbnail||e.image||null,displayName:e.name||null,parent:e.parent||null,permalink:e.permalink||null,slug:e.slug||null,childCates:(null===(t=e.child_cates)||void 0===t?void 0:t.map((e=>Jt(e))))||[],thumnailColor:e.thumnail_color||["#FFEAF1","#E0E9FB","#FFF9EB","#F2FCF7","#F3F3F3"][5*Math.random()|0],colorFeatureImage:e.color_feature_image||null,imageColor:e.image_color||null,textColor:e.text_color||null,catParent:(null===(a=e.cat_parent)||void 0===a?void 0:a.name)?{name:e.cat_parent.name,permalink:e.cat_parent.permalink}:{},metaTag:e.meta_tag||"",reviewedBy:e.reviewed_by?(l=e.reviewed_by,{postTitle:l.post_title,permalink:l.permalink}):null,reviewedDate:e.reviewed_date||"",faqs:e.faqs?e.faqs.map((e=>(e=>({title:e.title,content:e.content}))(e))):null,customizedUrl:e.customized_url||null}:{}},Xt=e=>{var t,a;if(!e)return{};const l=null===(t=e.link)||void 0===t?void 0:t.includes("/bot/"),n=null===(a=e.link)||void 0===a?void 0:a.startsWith("/fil/"),o=e.link?e.link.startsWith("http")||l?e.link:n?e.link.replace("/health-tools/","/").replace("/fil/","/fil/health-tools/"):`/health-tools${e.link.replace("/health-tools/","/")}`:void 0;return{icon:e.icon,link:o,subtitle:e.subtitle,title:e.title}},ea=e=>e?{thumbnail:e.thumbnail,link:null==e?void 0:e.slug,subtitle:e.name,name:e.name,slug:e.slug}:{},ta=e=>e?{id:e.id,name:e.name,logo:null==e?void 0:e.logo,description:e.about,slug:e.slug}:{},aa=({type:e,specialtySlug:t,locale:a})=>{var l,n;return`${null===(l=mt[a])||void 0===l?void 0:l.ALL}/${(null===(n=mt[a])||void 0===n?void 0:n[e])||"doctor"}/${null!=t?t:""}`},la=e=>e?{id:e.ID,name:e.name,permalink:e.permalink,image:(null==e?void 0:e.small_banner)||(null==e?void 0:e.image)||"",imageMedium:(null==e?void 0:e.image_medium)||null,imageThumbnail:(null==e?void 0:e.image_thumbnail)||null,startDate:null==e?void 0:e.start_date,endDate:null==e?void 0:e.end_date}:{},na=e=>{const t=new Date;if(null==e?void 0:e.startDate){const a=new Date(e.startDate);if(t.getTime()<a.getTime())return!1}if(null==e?void 0:e.endDate){const a=new Date(e.endDate);if(t.getTime()>a.getTime())return!1}return!0},oa=({SSO_URL:e,UP_BASEPATH:o="user",themeName:i="helloSites",cardUrls:s=Nt,enableCare:r,enableTogether:c,enableEcom:m,enableMySaved:u,userInfo:d,togetherApiDomain:g,userPostsNumber:h,onClickNavigationCard:v,onClickMyProfileButton:p,onClickMenuItem:E,onClickLogout:y,isUserProfileNavigatorMenuHidden:b=!1,isMyHealthEnabled:f=!1,locale:C})=>{const{t:k}=Je(),[w,M]=a(h||0),_="marryBaby"===i;l((()=>{if(d&&void 0===h){const e=ot("hhg_user_token");e&&fetch(ze(((e,t,a,l)=>(a||"https://together.hellohealthgroup.com/")+"api/v1/"+ut(P.GET_USER_POSTS,Object.assign(Object.assign({},l),{websiteUrl:t?"https://marrybaby.vn":`https://${Ie[e]}`})))(C,_,g)),{headers:{Authorization:`Bearer ${e}`}}).then((e=>e.json())).then((e=>{var t,a,l;1===(null==e?void 0:e.status)&&(null===(t=null==e?void 0:e.data)||void 0===t?void 0:t.pagination)&&M((null===(l=null===(a=null==e?void 0:e.data)||void 0===a?void 0:a.pagination)||void 0===l?void 0:l.total_items)||0)})).catch((e=>console.error("Error fetching post number",e)))}}),[C,null!==d,h,g,_]);const A=n((()=>{let e;return e=_?["myHealth","myCommunity","mySaved"]:["myHealth","mySaved","myBooking","myCommunity","eCom"],e.filter((e=>"myBooking"===e?r:"myCommunity"===e?c:"myHealth"===e?f:"eCom"===e?m:"mySaved"!==e||u))}),[_,f]),T=n((()=>"marryBaby"===i?null:t.createElement(st,{color:"tertiary",icon:t.createElement("img",{src:$e.getAssetPath("userProfileNav/helloSites/icon-logOut.svg"),width:15,height:15,loading:"lazy"}),size:"md",onClick:y,className:zt},k("userProfile.nav.menu.logout"))),[i]),L=t=>{window.location.href=ze(`${e}${o}/${t}`)},S=e=>{const t=s[e];v?v(t):L(t)};return d?t.createElement("div",{className:jt,"data-theme":i},t.createElement(St,{userInfo:d,themeName:i,onClickMyProfileButton:()=>{p?p():L("profile")}}),t.createElement(Zt,{themeName:i,rank:"member",numberOfPosts:w}),t.createElement("div",{className:Ft},A.map((e=>t.createElement(N,{className:Dt,key:e,themeName:i,type:e,onClick:S})))),!b&&t.createElement(t.Fragment,null,t.createElement(Rt,{themeName:i,locale:C,onClickItem:e=>{"logout"===e.link&&y?y():e.link&&!e.subMenu&&(E?E(e.link):L(e.link))}}),T)):null},ia=({SSO_URL:e,UP_BASEPATH:a,isOpen:l,targetAvatar:n,userInfo:o,enableCare:i,enableTogether:s,enableEcom:r,enableMySaved:c,closePopup:m,siteType:u="helloSites",dispatchLogout:d,userProfileRouterPush:g,isUserProfileNavigatorMenuHidden:h,isMyHealthEnabled:v=!1,togetherApiDomain:p,locale:E})=>{const y=t=>{g?g(`/${t}`):e&&(window.location.href=ze(`${e}${a}/${t}`))},b=e=>{y(e),m()};return t.createElement(Pt,{isOpen:l,type:"profile",enableAnimation:!0,targetAvatar:n,onClose:m},t.createElement(oa,{SSO_URL:e,UP_BASEPATH:a,themeName:u,userInfo:o,enableCare:i,enableTogether:s,enableEcom:r,enableMySaved:c,onClickLogout:()=>{d&&(d(),m())},onClickMenuItem:b,onClickNavigationCard:b,onClickMyProfileButton:()=>{y("profile"),m()},isUserProfileNavigatorMenuHidden:h,isMyHealthEnabled:v,togetherApiDomain:p,locale:E}))},sa=({openLogoutPopup:e,onCloseHandler:a,onLogoutHandler:n,siteType:o="helloSites"})=>{const{t:i}=Je();return l((()=>{document.body.classList.toggle("noscroll",e)}),[e]),t.createElement(rt,null,t.createElement(qe,{type:"confirm",isOpen:e,closeIcon:t.createElement("img",{src:$e.getAssetPath("closeLight.svg"),style:{width:24,height:24},alt:"close-icon",loading:"lazy"}),onClose:a},t.createElement(M,null,"helloSites"===o&&t.createElement("img",{src:$e.getAssetPath("arrowDoor.svg"),className:"cancle-img",alt:"close-account",loading:"lazy"}),t.createElement("h2",null,i("helloSites"===o?"logout.popup.ask1":"logout.popup.ask.mb")),t.createElement("p",null,i("logout.popup.ask2")),t.createElement(_,{siteType:o},t.createElement(st,{className:"logout-button",color:"tertiary",size:"lg",onClick:n},i("logout.popup.button.logout")),t.createElement(st,{className:"cancel-button",color:"primary",size:"lg",onClick:a},i("logout.popup.button.cancel"))))))},ra=({userInfo:n,siteType:o,onLoginClick:i,SSO_URL:s,currentUrl:r,isMinifyLogin:c,enableCare:m,enableTogether:h,enableEcom:v,isUserProfileNavigatorMenuHidden:p,UP_BASEPATH:E,isMyHealthEnabled:y,togetherApiDomain:b,onLogout:f,style:C,userProfileRouterPush:k,isLoading:w,locale:P,enableMySaved:N})=>{const{t:M}=Je(),[_,S]=a(!1),H=(null==n?void 0:n.name)||(null==n?void 0:n.username),[B,x]=a(!1);l((()=>{x(!0)}),[]);const{containerRef:U,onContainerFocus:$,onContainerBlur:I,onButtonMouseDown:R,onClose:O}=wt();return w?t.createElement(u,{size:"sm",color:"transparent",loading:w}):(null==n?void 0:n.id)?t.createElement(t.Fragment,null,t.createElement(A,{ref:U,style:C,tabIndex:0,onBlur:I,onFocus:$},t.createElement("div",{onMouseDown:R},t.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"user-close-icon"},t.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"})),t.createElement(d,{size:40,className:"user-avatar",src:null==n?void 0:n.avatar,color:"marryBaby"===o?nt.mbColors.pink:nt.colors.secondaryBase,placeholderText:H&&H.length?H[0].toUpperCase():"A"})),t.createElement(ia,{UP_BASEPATH:E,SSO_URL:s,dispatchLogout:()=>{O(),S(!0)},isOpen:!1,isMyHealthEnabled:y,enableCare:m,enableTogether:h,enableEcom:v,enableMySaved:N,closePopup:O,userInfo:n,siteType:o,isUserProfileNavigatorMenuHidden:p,togetherApiDomain:b,userProfileRouterPush:k,locale:P})),t.createElement(sa,{openLogoutPopup:_,onCloseHandler:()=>{document.body.classList.toggle("noscroll",!1),S(!1)},siteType:o,onLogoutHandler:()=>e(void 0,void 0,void 0,(function*(){S(!1),document.body.classList.toggle("noscroll",!1),yield f()}))})):t.createElement(T,{style:Object.assign({textDecoration:"none"},C),"data-event-category":"Sign Up","data-event-action":"Button Click","data-event-label":r,href:B?void 0:ze(`${s}?returnUrl=${r}`),"data-site-type":o},c?t.createElement(L,{onClick:i},t.createElement("img",{src:$e.getAssetPath("lock.png"),className:"avatar",loading:"lazy",alt:"avatar"})):t.createElement(t.Fragment,null,"helloSites"===o&&(P===lt.Indonesia?t.createElement("img",{className:"mobile-only",src:$e.getAssetPath("login.svg"),style:{cursor:"pointer",height:24,width:24},onClick:i}):t.createElement(u,{className:"mobile-only",size:"sm",onClick:i,leftIcon:t.createElement(tt,{useCurrentColor:!0,isSolid:!0,size:22}),styles:{root:{paddingLeft:"5px",paddingRight:"8px"},leftIcon:{marginRight:"5px"}}},M("navigation.loginJoin"))),"marryBaby"===o&&t.createElement("div",{className:"mobile-only",onClick:i,style:{paddingLeft:16}},t.createElement(g,{size:"p3",color:nt.mbColors.pink},M("navigation.loginJoin"))),t.createElement(u,{className:"login-btn",size:"md",onClick:i,leftIcon:t.createElement(tt,{useCurrentColor:!0,isSolid:!0,size:22})},M("navigation.loginJoin"))))};var ca="spdlGfq",ma="vgS16jX";const ua=({onCareHeaderClick:e,currentUrl:a,careUrlFe:l,btnName:n})=>e?t.createElement(st,{className:ca,size:"md",color:"primary",dataEventCategory:"Care",dataEventAction:"Navigation Bar Click",dataEventLabel:a,onClick:t=>e(t),style:{paddingLeft:10,paddingRight:10}},n):t.createElement("a",{href:l,className:`${ma} care-button no-replace-click`},t.createElement(st,{className:ca,size:"md",color:"primary",dataEventCategory:"Care",dataEventAction:"Navigation Bar Click",dataEventLabel:a},n));var da="y5VJdvw",ga="oVhOSCy",ha="pX8OXTM";function va({className:e}){return t.createElement("div",null,t.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:e},t.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"})))}function pa({siteType:e,type:a,enableSearch:l,className:n}){return"helloSites"===e?t.createElement("div",null,t.createElement("img",{"data-list-type":"Header","data-content-type":"Navigation","data-content-topic":"Hamburger",src:l?$e.getAssetPath("hamburgerMenuNewWithSearch.svg"):$e.getAssetPath("hamburgerMenuNew.svg"),style:{width:"24px",height:"24px"},alt:a,className:n,loading:"lazy"})):t.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:n},t.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"}))}const Ea=()=>{const{locale:e,configs:{statics:a},siteType:l}=i(S),n=dt(),{t:o}=Je();return t.createElement(h,{className:"fake-search-input",name:"search-input-menu-service"+n,size:"md",placeholder:"marryBaby"===l?o("navigation.search.input.placeholder"):o("home.search",{site:Re[e||"en-PH"]?Re[e||"en-PH"].SITE_NAME:""}),onChange:()=>{},onKeyDown:e=>"Enter"===e.key&&(window.location.href=`${a.HOME_PAGE_URL}/search/?s=${e.target.value}`),type:"search",onFocus:e=>{e.preventDefault()},displayIcon:t.createElement("a",{"data-event-category":"Search Button","data-event-action":"Click"},t.createElement(H,null))})};var ya="wnUb-dV",ba="cjbOxWe",fa="gB4rp89";const Ca=({item:e,menu:a})=>{const{containerRef:l,onContainerFocus:n,onContainerBlur:o,onButtonMouseDown:i,onClose:s}=wt({allowBgScroll:!0}),r=ht();return!e.popupType&&e.link?t.createElement(ka,{isNew:e.isNew},t.createElement("a",{className:"hhgcomp-navigation-itemnav-headeritem "+(r?"":`menu-handler-${e.id}`),tabIndex:0,href:e.link,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":e.link},t.createElement("div",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":e.link,className:ba},e.name))):t.createElement(ka,{isNew:e.isNew},t.createElement("div",{ref:l,className:`hhgcomp-navigation-itemnav-headeritem ${r?"":`menu-handler-${e.id}`} ${"care"===e.id?"force-focus":""}`,tabIndex:0,key:e.id,onBlur:o,onFocus:n,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":e.link},t.createElement("div",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":e.link,onMouseDown:i,className:ba},"care"===e.id&&t.createElement("a",{className:fa,href:ze(e.link+"/")},t.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t.createElement("path",{d:"M13.4751 21.5C11.8084 21.5 10.3918 20.9167 9.2251 19.75C8.05843 18.5833 7.4751 17.1667 7.4751 15.5V14.95C6.1251 14.7833 4.9961 14.1833 4.0881 13.15C3.17943 12.1167 2.7251 10.9 2.7251 9.5V4.65C2.7251 4.4 2.81243 4.18733 2.9871 4.012C3.16243 3.83733 3.3751 3.75 3.6251 3.75H5.7251V3.5C5.7251 3.28333 5.7961 3.104 5.9381 2.962C6.07943 2.82067 6.25843 2.75 6.4751 2.75C6.69176 2.75 6.8711 2.82067 7.0131 2.962C7.15443 3.104 7.2251 3.28333 7.2251 3.5V5.5C7.2251 5.71667 7.15443 5.89567 7.0131 6.037C6.8711 6.179 6.69176 6.25 6.4751 6.25C6.25843 6.25 6.07943 6.179 5.9381 6.037C5.7961 5.89567 5.7251 5.71667 5.7251 5.5V5.25H4.2251V9.5C4.2251 10.6 4.61676 11.5417 5.4001 12.325C6.18343 13.1083 7.1251 13.5 8.2251 13.5C9.3251 13.5 10.2668 13.1083 11.0501 12.325C11.8334 11.5417 12.2251 10.6 12.2251 9.5V5.25H10.7251V5.5C10.7251 5.71667 10.6544 5.89567 10.5131 6.037C10.3711 6.179 10.1918 6.25 9.9751 6.25C9.75843 6.25 9.57943 6.179 9.4381 6.037C9.2961 5.89567 9.2251 5.71667 9.2251 5.5V3.5C9.2251 3.28333 9.2961 3.104 9.4381 2.962C9.57943 2.82067 9.75843 2.75 9.9751 2.75C10.1918 2.75 10.3711 2.82067 10.5131 2.962C10.6544 3.104 10.7251 3.28333 10.7251 3.5V3.75H12.8251C13.0751 3.75 13.2878 3.83733 13.4631 4.012C13.6378 4.18733 13.7251 4.4 13.7251 4.65V9.5C13.7251 10.9 13.2711 12.1167 12.3631 13.15C11.4544 14.1833 10.3251 14.7833 8.9751 14.95V15.5C8.9751 16.75 9.41276 17.8127 10.2881 18.688C11.1628 19.5627 12.2251 20 13.4751 20C14.7251 20 15.7878 19.5627 16.6631 18.688C17.5378 17.8127 17.9751 16.75 17.9751 15.5V13.875C17.4584 13.7083 17.0294 13.404 16.6881 12.962C16.3461 12.5207 16.1751 12.0167 16.1751 11.45C16.1751 10.7333 16.4251 10.125 16.9251 9.625C17.4251 9.125 18.0251 8.875 18.7251 8.875C19.4418 8.875 20.0501 9.125 20.5501 9.625C21.0501 10.125 21.3001 10.7333 21.3001 11.45C21.3001 12.0167 21.1294 12.5207 20.7881 12.962C20.4461 13.404 20.0084 13.7083 19.4751 13.875V15.5C19.4751 17.1667 18.8918 18.5833 17.7251 19.75C16.5584 20.9167 15.1418 21.5 13.4751 21.5Z",fill:"#2D87F3",strokeWidth:0}))),e.name,e.popupType&&t.createElement("div",{className:ya},t.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t.createElement("path",{d:"M11.5 7.5L9 10L6.5 7.5",stroke:"#202135",strokeWidth:"1.33",strokeLinecap:"round",strokeLinejoin:"round"})))),t.isValidElement(a)?t.cloneElement(a,{onClose:s}):null))},ka=({isNew:e,children:a})=>{const{t:l}=Je();return e?t.createElement(gt,{color:"green",label:l("home.navigator.menuItem.new"),size:20,styles:{root:{paddingRight:10}}},a):t.createElement(t.Fragment,null,a)},wa=({hrefViewMore:e,titleBtnViewMore:a,UrlFE:l,onClosePopup:n,menuItems:o,headingTitle:s})=>{const{siteType:r}=i(S);return t.createElement(B,null,t.createElement(x,null,t.createElement(v,{tag:"marryBaby"===r?"h5":"h6",as:"p",fontWeight:"semibold"},s)),null==o?void 0:o.slice(0,6).map(((e,a)=>{const o=(null==e?void 0:e.link)?(null==e?void 0:e.link.startsWith("http"))?null==e?void 0:e.link:`${l}/${null==e?void 0:e.link.split("/").filter(Boolean).join("/")}/`:"/";return t.createElement(U,Object.assign({className:"iconMenu","data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":o,"data-is-heading-category":!1,href:o},!yt(o)&&{target:"_blank"},{"data-theme":r,key:a,onClick:n}),t.createElement("div",{className:"icon"},t.createElement("img",{loading:"lazy",alt:e.name,src:e.thumbnail||"/images/avatar.jpg",style:{width:32,height:32,maxWidth:32,maxHeight:32,overflow:"hidden"}})),t.createElement(ka,{isNew:e.isNew},t.createElement("p",{style:{paddingRight:e.isNew?10:0}},e.name)),t.createElement($,null,t.createElement("img",{src:$e.getAssetPath("chevronRight.svg"),style:{width:"16px",height:"16px"},loading:"lazy"})))})),a&&t.createElement(I,{"data-theme":r,style:{textDecoration:"none"},href:e,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":e},t.createElement(R,{onClick:n,"data-theme":r,"data-is-heading-category":!1},a,t.createElement(O,null,t.createElement("img",{className:"svg",src:"marryBaby"===r?$e.getAssetPath("chevronRightPink.svg"):$e.getAssetPath("chevronRightActive.svg"),style:{width:"16px",height:"16px"},loading:"lazy"})))))},Pa=({item:e,index:a=0})=>{var l;const{t:n}=Je(),{locale:o,configs:{statics:s}}=i(S);if(!e)return null;const r=`${s.CARE_URL_FE}/${null===(l=mt[o])||void 0===l?void 0:l.HOSPITAL}/${e.slug}-${e.id}`;return t.createElement(j,{key:e.id,href:r,"data-event-category":"Hamburger Navigation","data-event-action":`Care Click ${a+1}`,"data-event-label":r},t.createElement("img",{src:$e.getAssetPath("navCareCardBg.svg"),alt:"",className:"bg-svg",loading:"lazy"}),t.createElement(F,null,t.createElement(D,null,t.createElement("img",{loading:"lazy",alt:e.name,src:e.logo||"/images/avatar.jpg"}))),t.createElement(z,null,t.createElement(V,null,e.name),t.createElement(G,null,e.description),t.createElement(W,null,n("home.seeMore"),t.createElement("img",{src:$e.getAssetPath("chevronRightActive.svg"),style:{width:"16px",height:"16px",marginTop:"3px",marginLeft:"5px"},loading:"lazy"}))))},Na=({title:e,link:a,description:l,cta:n,icon:o})=>{const{siteType:s}=i(S);return t.createElement(K,{"data-theme":s},t.createElement(q,null,t.createElement("img",{src:"marryBaby"===s?$e.getAssetPath("navMBSpotlightBgNoData.svg"):$e.getAssetPath("navSpotlightBgNoData.svg"),alt:"",loading:"lazy",className:"bg-svg"}),t.createElement(Q,null,o&&t.createElement("img",{src:o,width:64,height:64,loading:"lazy"}))),t.createElement("div",null,e&&t.createElement(Y,null,e),l&&t.createElement(Z,null,l),n&&t.createElement("div",null,t.createElement("a",{href:a},t.createElement(st,{theme:s,className:"survey-contact-submit",size:"md"},n)))))},Ma=({title:e,viewMore:a,children:l,link:n,dataEventAction:o=""})=>{const{siteType:s}=i(S);return t.createElement(J,null,t.createElement(X,null,t.createElement(v,{tag:"marryBaby"===s?"h5":"h6",as:"p",fontWeight:"semibold"},e),a&&t.createElement(ee,{"data-event-category":"Hamburger Navigation","data-event-action":o,"data-event-label":n,href:n,"data-theme":s},a,t.createElement("img",{src:"marryBaby"===s?$e.getAssetPath("chevronRightPink.svg"):$e.getAssetPath("chevronRightActive.svg"),style:{width:"16px",height:"16px"},loading:"lazy"}))),l)},_a=({spotlights:e=[],hrefViewMore:a})=>{const{t:l}=Je(),{siteType:n}=i(S);return t.createElement(Ma,{title:l("home.navigator.menu.spotlightHospitals")},0!==e.length?t.createElement(t.Fragment,null,t.createElement(te,null,null==e?void 0:e.slice(0,3).map(((e,a)=>t.createElement(Pa,{key:a,index:a,item:e})))),t.createElement("div",{style:{position:"absolute",bottom:"6px",right:"1rem"}},t.createElement("a",{href:a},t.createElement(st,{theme:n,className:"survey-contact-submit",size:"md"},l("home.navigator.menu.care.homeButton"))))):t.createElement(Na,{title:l("home.navigator.menu.care.noDatas.title"),description:l("home.navigator.menu.care.noDatas.description"),link:a,cta:l("home.navigator.menu.care.homeButton"),icon:$e.getAssetPath("community.svg")}))},Aa=({item:e,index:a=0})=>e?t.createElement(ae,{key:e.id,href:e.link,"data-event-category":"Hamburger Navigation","data-event-action":`Spotlight Click ${a+1}`,"data-event-label":e.link},t.createElement(le,null,t.createElement("img",{loading:"lazy",alt:e.title,src:e.banner||"/images/notFound-min-small.jpg"})),t.createElement(ne,null,e.title)):null,Ta=({spotlightsList:e=[],hrefViewMore:a})=>{const{t:l}=Je(),{configs:{statics:n}}=i(S);return t.createElement(Ma,{title:l("home.navigator.menu.spotlights"),viewMore:l("home.navigator.menu.spotlights.seeAll"),link:a,dataEventAction:"Spotlight See More Click"},0!==e.length?t.createElement(oe,null,null==e?void 0:e.slice(0,4).map(((e,a)=>t.createElement(Aa,{key:a,index:a,item:{id:e.id,link:n.HOME_PAGE_URL+e.permalink,title:e.name,banner:e.image}})))):t.createElement(Na,{title:l("home.navigator.menu.category.noDatas.title"),description:l("home.navigator.menu.category.noDatas.description"),link:a,cta:l("home.navigator.menu.category.noDatas.cta"),icon:$e.getAssetPath("Spotlight.svg")}))},La=({spotlights:e=[]})=>{const{configs:{statics:a}}=i(S),{t:l}=Je();return t.createElement(Ma,{title:l("home.navigator.menu.trendingPosts"),viewMore:l("home.navigator.menu.trendingPosts.seeMore"),link:Ve(a.TOGETHER_URL_FE),dataEventAction:"Together See More Click"},0!==e.length?t.createElement(ie,null,null==e?void 0:e.slice(0,4).map(((e,a)=>t.createElement(se,{index:a,post:e,key:e.id})))):t.createElement(Na,{title:l("home.navigator.menu.together.noPosts.title"),description:l("home.navigator.menu.together.noPosts.description"),link:`${a.HOME_PAGE_URL}/community/`,cta:l("home.navigator.menu.together.noPosts.cta"),icon:$e.getAssetPath("community.svg")}))},Sa=({item:e,index:a=0})=>{const{t:l}=Je(),{configs:{statics:n}}=i(S);if(!e)return null;const o=e.link?e.link.startsWith("http")?e.link:`${n.HOME_PAGE_URL}${e.link}`:void 0;return t.createElement(re,{href:o,"data-event-category":"Hamburger Navigation","data-event-action":`Engage Click ${a+1}`,"data-event-label":o},t.createElement("img",{src:$e.getAssetPath("navToolCardBg.svg"),alt:"",loading:"lazy",className:"bg-svg"}),t.createElement(ce,null,t.createElement(me,null,e.title),t.createElement(ue,null,e.subtitle),t.createElement(de,null,l("home.seeMore"),t.createElement("img",{src:$e.getAssetPath("chevronRightActive.svg"),style:{width:"16px",height:"16px",marginTop:"3px",marginLeft:"5px"},loading:"lazy"}))),t.createElement(ge,null,t.createElement("img",{loading:"lazy",alt:e.title,src:e.icon||"/images/avatar.jpg"})))},Ha=({item:e,index:a=0,color:l})=>{const{t:n}=Je(),{configs:{statics:o}}=i(S);if(!e)return null;const s=e.link?e.link.startsWith("http")?e.link:`${o.HOME_PAGE_URL}${e.link}`:void 0,r=()=>t.createElement(pe,null,t.createElement("img",{loading:"lazy",alt:e.title,src:e.icon||"/images/avatar.jpg"})),c=()=>t.createElement(Ee,null,t.createElement(ye,null,t.createElement(be,null,e.title),t.createElement(fe,null,e.subtitle)),t.createElement(Ce,null,t.createElement("div",{className:"mobile-only"},n("home.seeMore")),t.createElement("img",{src:$e.getAssetPath("arrowRightGray.svg"),style:{width:"12px",height:"12px",marginTop:"2px",marginLeft:"5px"},loading:"lazy"})));return t.createElement(he,{href:s,"data-event-category":"Hamburger Navigation","data-event-action":`Engage Click ${a+1}`,"data-event-label":s,"data-color":l},t.createElement("svg",{className:"bg-svg",width:"74",height:"121",viewBox:"0 0 74 121",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t.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"})),t.createElement("img",{src:$e.getAssetPath("navMBCardDotBg.svg"),className:"dot-svg",loading:"lazy",alt:""}),t.createElement(ve,null,t.createElement("div",{className:"mobile-only"},r()),t.createElement("div",{className:"desktop-only"},c())),t.createElement("div",{className:"mobile-only"},c()),t.createElement("div",{className:"desktop-only"},r()))},Ba=({hrefViewMore:e,spotlightHealthTools:a=[]})=>{const{t:l}=Je(),n=["pink","orange","green"],{siteType:o}=i(S);return t.createElement(Ma,{title:l("home.navigator.menu.spotlightTools")},0!==a.length&&t.createElement(ke,null,null==a?void 0:a.slice(0,3).map(((e,a)=>"marryBaby"===o?t.createElement(Ha,{key:a,index:a,item:e,color:n[a]}):t.createElement(Sa,{key:a,index:a,item:e})))),0===a.length&&t.createElement(Na,{title:l("home.navigator.menu.healthTools.noDatas.title"),description:l("home.navigator.menu.healthTools.noDatas.description"),link:e,cta:l("home.navigator.menu.healthTools.noDatas.cta"),icon:$e.getAssetPath("community.svg")}))},xa=({closePopup:e,menuItems:a=[]})=>{var l,n;const{siteType:o,ssrMenuContent:{categories:s,healthTools:r,care:c,together:m},activeMenuService:u,configs:{statics:d,enableSearchBar:g},locale:h}=i(S),{t:v}=Je();return t.createElement(we,{id:"categories-menu"},g?t.createElement(Pe,{"data-theme":o,onClick:()=>{window.location.href=`${d.HOME_PAGE_URL}/search`}},t.createElement(Ea,null)):null,t.createElement(Ne,null,t.createElement(wa,{UrlFE:d.HOME_PAGE_URL,titleBtnViewMore:v("home.navigator.menuItem.allCategories"),menuItems:a,headingTitle:v("home.navigator.menuItem.healthCategories"),onClosePopup:e}),"categories"===u&&t.createElement(Ta,{spotlightsList:(null==s?void 0:s.spotlights)||[],hrefViewMore:`${d.HOME_PAGE_URL}${"tl-PH"===h?"/fil":""}/spotlight/`}),"tools"===u&&t.createElement(Ba,{spotlightHealthTools:null==r?void 0:r.spotlights,hrefViewMore:`${d.HOME_PAGE_URL}${"tl-PH"===h?"/fil":""}${(null===(l=Oe[h])||void 0===l?void 0:l.HEALTH_TOOLS)||""}`}),"care"===u&&t.createElement(_a,{spotlights:null==c?void 0:c.spotlights,hrefViewMore:`${d.CARE_URL_FE}/${null===(n=mt[h])||void 0===n?void 0:n.SPECIALTIES}`}),"together"===u&&t.createElement(La,{spotlights:null==m?void 0:m.spotlights})))},Ua=({type:e="home",menuItems:a})=>{const{siteType:l,configs:{enableSearchBar:n}}=i(S),{containerRef:o,onContainerFocus:s,onContainerBlur:r,onButtonMouseDown:c,onClose:m}=wt();return t.createElement(kt,{mediaQueryKey:"mbDown"},t.createElement("header",{className:da},t.createElement("div",{className:ga,ref:o,role:"button",tabIndex:0,onBlur:r,onFocus:s},t.createElement("div",{className:ha,onMouseDown:c,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"Hamburger Navigation URL"},t.createElement(va,{className:"mobile-close-icon"}),t.createElement(pa,{siteType:l,type:e,enableSearch:n,className:"mobile-hamburger-icon"})),t.createElement(xa,{menuItems:a,closePopup:m}))))};var $a="q3nL5cp",Ia="_2DNf80G",Ra="Q-glX-n";const Oa=({onClosePopup:e})=>t.createElement("div",{className:`${Ra} close-btn`,onClick:e},t.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"}))),ja=({onClosePopup:e,isDisplay:a,children:l,isNavMenu:n,hideCloseBtn:o})=>t.createElement("div",{className:"hhgcomp-navigation-popupwrapper-menuwrapper top-menu-health-tools","data-is-display":!!a,"data-is-nav-menu":!!n},t.createElement(at,null,!o&&t.createElement("div",{className:Ia},t.createElement(Oa,{onClosePopup:e})),t.createElement(at,{className:$a},l))),Fa=({careSpecialties:e=[],isOpen:a,onClose:l,spotlights:n=[]})=>{var o;const{t:s}=Je(),{locale:r,configs:{statics:c}}=i(S);return t.createElement(ja,{onClosePopup:l,isDisplay:a,isNavMenu:!0},t.createElement(wa,{headingTitle:s("home.navigator.menuItem.specialties"),hrefViewMore:`${c.CARE_URL_FE}/`,UrlFE:c.CARE_URL_FE,onClosePopup:l,titleBtnViewMore:s("home.navigator.menuItem.allSpecialties"),menuItems:(null==e?void 0:e.map((e=>e?{name:String(e.name)||"",link:aa({type:"DOCTOR",specialtySlug:e.slug,locale:r}),thumbnail:(null==e?void 0:e.thumbnail)||""}:{})))||[]}),t.createElement(_a,{spotlights:n,hrefViewMore:`${c.CARE_URL_FE}/${null===(o=mt[r])||void 0===o?void 0:o.SPECIALTIES}/`}))},Da=({categories:e=[],spotlightsList:a=[],onClose:l,isOpen:n})=>{const{t:o}=Je(),{locale:s,configs:{statics:r}}=i(S);return t.createElement(ja,{onClosePopup:l,isDisplay:n,isNavMenu:!0},t.createElement(wa,{hrefViewMore:`${r.HOME_PAGE_URL}${"tl-PH"===s?"/fil":""}/categories/`,UrlFE:r.HOME_PAGE_URL,onClosePopup:l,titleBtnViewMore:o("home.navigator.menuItem.allCategories"),menuItems:(null==e?void 0:e.map((e=>e?{name:e.displayName||null,link:(null==e?void 0:e.customizedUrl)||(null==e?void 0:e.permalink)||"/",thumbnail:e.iconUrl||null}:{})))||[],headingTitle:o("home.navigator.menuItem.healthCategories")}),t.createElement(Ta,{spotlightsList:a,hrefViewMore:`${r.HOME_PAGE_URL}${"tl-PH"===s?"/fil":""}/spotlight/`}))},za=({communities:e=[],onClose:a,isOpen:l,spotlights:n=[]})=>{const{t:o}=Je(),{configs:{statics:s}}=i(S);return t.createElement(ja,{onClosePopup:a,isDisplay:l,isNavMenu:!0},t.createElement(wa,{hrefViewMore:Ve(s.TOGETHER_URL_FE),UrlFE:ze(s.TOGETHER_URL_FE),onClosePopup:a,titleBtnViewMore:o("home.navigator.menuItem.allCommunities"),menuItems:(null==e?void 0:e.map((e=>e?{name:e.name||"",link:e.slug||"/",thumbnail:e.thumbnail||""}:{})))||[],headingTitle:o("home.navigator.menuItem.allCommunitiesheadingTitle")}),t.createElement(La,{spotlights:n}))},Va=({locale:e,onClose:a,isOpen:l,spotlightHealthTools:n=[],healthTools:o=[]})=>{var s;const{t:r}=Je(),{configs:{statics:c}}=i(S),m=`${c.HOME_PAGE_URL}${"tl-PH"===e?"/fil":""}${(null===(s=Oe[e])||void 0===s?void 0:s.HEALTH_TOOLS)||""}`;return t.createElement(ja,{onClosePopup:a,isDisplay:l,isNavMenu:!0},t.createElement(wa,{hrefViewMore:m,UrlFE:c.HOME_PAGE_URL,onClosePopup:a,headingTitle:r("home.navigator.menuItem.healthToolsList"),titleBtnViewMore:r("home.navigator.menuItem.allHealthTools"),menuItems:o.map((e=>({name:e.title,link:e.link?e.link.startsWith("http")?e.link:`${c.HOME_PAGE_URL}${e.link}`:void 0,thumbnail:e.icon})))}),t.createElement(Ba,{spotlightHealthTools:n,hrefViewMore:m}))},Ga=({onTopBarAppears:e,type:n="home",languageMenu:r,menuItems:c})=>{var m;const{siteType:u,isMobile:d=!1,locale:g,sitewideBanner:h,sitewideBannerShown:v=!0,sponsorComponent:p,onBookingClick:E,currentUrl:y,onLoginClick:b,configs:{statics:f,enableNavCareBooking:C,enableSearchBar:k,enableNavCare:w,enableProfileMyHealth:P,enableProfileMySaved:N,enableNavTogether:M,enableProfileEcom:_,enableProfileNavigatorMenu:A},userState:{userInfo:T},onLogout:L,userProfileRouterPush:H,isUserLoading:B}=i(S),{t:x}=Je(),{SSO_URL:U,HOME_PAGE_URL:$}=f,I=!!p,[R,O]=a(!1),j=o(47),F=o(null),D=o(!1),z="helloSites"===u?null===(m=Re[g])||void 0===m?void 0:m.LOGO_TYPE:u,V="undefined"!=typeof window,G=s(Xe((()=>{if("home"===n&&V){if(!F.current)return;const e=F.current.getBoundingClientRect();e.top<=0&&window.scrollY>j.current&&window.scrollY>e.height+20&&!D.current&&(D.current=!0,O(!0)),window.scrollY<j.current&&D.current&&(D.current=!1,O(!1)),window.scrollY>=0&&(j.current=window.scrollY)}}),200),[]);l((()=>{null==e||e(!R)}),[R]),l((()=>(window.addEventListener("scroll",G,{passive:!0}),()=>{window.removeEventListener("scroll",G)})),[]),l((()=>{d&&G()}),[d]);const W=v&&!!h;return t.createElement(Me,{"data-site-type":u,"data-sponsored":I,"data-sitewide-banner-shown":W,"data-header-type":n,"data-collapsed":R,"data-with-search-input":"popup-sub-level"!==n,"data-is-displayed":!0,id:"site-header",ref:F},h,t.createElement(_e,{"data-site-type":u},t.createElement(Ae,{"data-site-type":u},t.createElement(Ua,{menuItems:c,type:n}),t.createElement("a",{style:{flexShrink:0},href:$},t.createElement(Te,null,t.createElement(Ze,{style:{display:"flex"},type:z,badge:"id-ID"===g&&t.createElement("img",{src:$e.getAssetPath("sehat-badge.png"),width:"56",height:"23",loading:"lazy"}),dateForSeasonal:new Date,locale:g,key:"undefined"!=typeof window?"client":"server"}))),"marryBaby"===u?t.createElement(Ka,{menuItems:c}):k&&t.createElement(Wa,{siteType:u})),t.createElement(Le,{"data-site-type":u},"marryBaby"===u?k&&t.createElement(Wa,{siteType:u}):t.createElement(Ka,{menuItems:c}),t.createElement(Se,null,C&&t.createElement(kt,{mediaQueryKey:"mbUp"},t.createElement(ua,{careUrlFe:f.CARE_URL_FE,currentUrl:y,btnName:x("login.booking"),onCareHeaderClick:E})),r,t.createElement(ra,{userInfo:T,siteType:u,onLoginClick:b||(()=>{const e=window.location.href;window.location.href=U?ze(`${U}?returnUrl=${e}`):e}),SSO_URL:Ve(f.SSO_URL),currentUrl:y,onLogout:L,UP_BASEPATH:je,isMyHealthEnabled:P,enableCare:w,enableTogether:M,enableEcom:_,enableMySaved:N,togetherApiDomain:Ve(f.TOGETHER_API),isUserProfileNavigatorMenuHidden:!A,userProfileRouterPush:H,isLoading:B,locale:g})))),p?t.isValidElement(p)?t.cloneElement(p,{isCollapsed:R,locale:g,isMobile:d}):p:null)},Wa=({siteType:e})=>t.createElement(kt,{mediaQueryKey:"mbUp",className:"marryBaby"===e?"marry-baby":""},t.createElement(Ea,null)),Ka=({menuItems:e})=>{const{siteType:a,locale:l,ssrMenuContent:{categories:n,healthTools:o,care:s,together:r}}=i(S);return t.createElement(kt,{mediaQueryKey:"mbUp",style:{height:"100%"}},t.createElement(He,{"data-site-type":a},null==e?void 0:e.map(((e,a)=>t.createElement(Ca,{key:a,item:e,menu:"categories"===e.popupType?t.createElement(Da,{categories:null==n?void 0:n.items,spotlightsList:null==n?void 0:n.spotlights}):"tools"===e.popupType?t.createElement(Va,{locale:l,healthTools:null==o?void 0:o.items,spotlightHealthTools:null==o?void 0:o.spotlights}):"together"===e.popupType?t.createElement(za,{communities:null==r?void 0:r.items,spotlights:null==r?void 0:r.spotlights}):"care"===e.popupType?t.createElement(Fa,{careSpecialties:null==s?void 0:s.items,spotlights:null==s?void 0:s.spotlights}):null})))))},qa=e=>{var r,c;const{isMobile:m,locale:u,onTopBarAppears:d,languageOptions:g,sponsorComponent:h,sitewideBanner:v,sitewideBannerShown:p,className:E}=e,y=(()=>{const{t:e}=Je(),{siteType:t,locale:a,configs:{enableNavDiscover:l,enableNavHealthTools:o,enableNavCare:s,enableNavTogether:r,enableNavEcom:c,statics:m}}=i(S),u="marryBaby"===t;return n((()=>{var t;const n=[];return l&&n.push({name:e("home.navigator.menuItem.discover"),id:"categories",link:`${m.HOME_PAGE_URL}${"tl-PH"===a?"/fil":""}/categories`,niceName:"",thumbnail:u?$e.getAssetPath("categories-mb.svg"):$e.getAssetPath("nav-icons/discover.svg"),popupType:"categories"}),o&&n.push({name:e("home.navigator.menuItem.healthTools"),id:"tools",link:`${m.HOME_PAGE_URL}${"tl-PH"===a?"/fil":""}${(null===(t=Oe[a])||void 0===t?void 0:t.HEALTH_TOOLS)||""}`,thumbnail:u?$e.getAssetPath("healthtools-mb.svg"):$e.getAssetPath("nav-icons/health-tools.svg"),popupType:"tools"}),r&&n.push({name:e("home.navigator.menuItem.helloTogether"),id:"together",link:ze(m.TOGETHER_URL_FE+"/"),thumbnail:u?$e.getAssetPath("community-mb.svg"):$e.getAssetPath("nav-icons/community.svg"),popupType:"together"}),c&&n.push({name:e("home.navigator.menuItem.helloEcom"),id:"ecom",link:ze(m.HOME_PAGE_URL+"/shop"),thumbnail:$e.getAssetPath("nav-icons/shop.svg"),popupType:null}),s&&n.push({name:e("home.navigator.menuItem.helloCare"),id:"care",link:ze(m.HOME_PAGE_URL+"/care"),thumbnail:$e.getAssetPath("nav-icons/care.svg"),popupType:"zh-TW"===a?null:"care"}),n}),[a,s,r,c])})();(()=>{const{isFirstLogin:e,userState:t}=i(S),{userInfo:a}=t;l((()=>{(null==a?void 0:a.id)&&(e?(null==a?void 0:a.email)&&""!==(null==a?void 0:a.email)?window.insider_object={user:Object.assign({uuid:null==a?void 0:a.id,email:null==a?void 0:a.email,gdpr_optin:!0,email_optin:!0,sign_up:!0},(null==a?void 0:a.name)?{name:null==a?void 0:a.name}:{})}:window.insider_object={user:Object.assign({uuid:null==a?void 0:a.id,sign_up:!0},(null==a?void 0:a.name)?{name:null==a?void 0:a.name}:{})}:(null==a?void 0:a.email)&&""!==(null==a?void 0:a.email)?window.insider_object={user:Object.assign({uuid:null==a?void 0:a.id,email:null==a?void 0:a.email,gdpr_optin:!0,email_optin:!0,log_in:!0},(null==a?void 0:a.name)?{name:null==a?void 0:a.name}:{})}:window.insider_object={user:Object.assign({uuid:null==a?void 0:a.id,log_in:!0},(null==a?void 0:a.name)?{name:null==a?void 0:a.name}:{})})}),[])})();const b=p&&!!v,f=!!h,C=!!(null===(c=null===(r=null==h?void 0:h.props)||void 0===r?void 0:r.sponsoredBy)||void 0===c?void 0:c.length),{headerRef:k,defaultHeaderHeight:w,headerHeight:P,headerBottom:N}=(({hasSponsoredBanners:e,isSponsored:t,isShowingSiteWideBanner:i,isMobile:r})=>{const c=o(null),[m,u]=a(0),[d,g]=a(64),h=s(ct((()=>{var e,t,a,l;const n=(null===(e=c.current)||void 0===e?void 0:e.clientHeight)||(null===(a=null===(t=c.current)||void 0===t?void 0:t.children[0])||void 0===a?void 0:a.clientHeight)||0;window.scrollY<=n+200&&(u(n),g((null===(l=c.current)||void 0===l?void 0:l.getBoundingClientRect().bottom)||m))}),200),[]);l((()=>(window.addEventListener("resize",h,{passive:!0}),window.addEventListener("scroll",h,{passive:!0}),h(),()=>{window.removeEventListener("resize",h),window.removeEventListener("scroll",h)})),[]),l((()=>{h()}),[r,i,t,e,c.current]);const v=n((()=>{let a=r?64:69;return i&&(a+=64),t&&(a+=40,e&&(a+=57)),a}),[r,i,e,t]);return{defaultHeaderHeight:v,headerHeight:m||v,headerBottom:d,headerRef:c}})({isShowingSiteWideBanner:b,isSponsored:f,hasSponsoredBanners:C,isMobile:m});return t.createElement(xe,{id:"navigation-v2",style:{"--default-header-height":w+"px","--header-height":`calc(${P}px - var(--amp-site-wide-closed), 64px)`,"--header-bottom":N+"px"},className:E},t.createElement("section",{ref:k},t.createElement(Ga,{menuItems:y,type:"home",onTopBarAppears:d,languageMenu:t.createElement(ft,{languageOptions:g,locale:u})})))},Qa=e=>{const a=Object.assign({siteType:"helloSites",projectType:"discover",locale:"vi-VN",activeMenuService:"categories",ssrMenuContent:{}},e);return t.createElement(Be,Object.assign({},a),t.createElement(qa,Object.assign({},a)))},Ya=t=>e(void 0,void 0,void 0,(function*(){var e,a,l,n,o,i,s,r,c,m,u,d,g,h,v,p,E,y,b,f,C;const k={},w="vi-VN_MB"===t;try{const P="tl-PH"===t?"lang=fil":"";try{const[u,d,g,h]=yield Promise.all([fetch(ze(`${Ge(t)}/wp-json/api/categories${P?"?"+P:""}`)).then((e=>e.json())),fetch(ze(`${Ge(t)}/wp-json/api/spotlights?per_page=10&order_by=start_date${P?"&"+P:""}`)).then((e=>e.json())),fetch(ze(`${Ge(t)}/wp-json/api/${w?"health-tools":"healthtools"}${P?"?"+P:""}`)).then((e=>e.json())),fetch(ze(`${Ge(t)}/wp-json/api/${w?"health-tools":"healthtools"}/favorites${P?"?"+P:""}`)).then((e=>e.json()))]);k.categories={items:(null===(a=null===(e=null==u?void 0:u.data)||void 0===e?void 0:e.map)||void 0===a?void 0:a.call(e,Jt))||[],spotlights:(null===(i=null===(o=null===(n=null===(l=null==d?void 0:d.data)||void 0===l?void 0:l.articles)||void 0===n?void 0:n.map)||void 0===o?void 0:o.call(n,la))||void 0===i?void 0:i.filter(na))||[]},k.healthTools={items:(null===(r=null===(s=null==g?void 0:g.data)||void 0===s?void 0:s.map)||void 0===r?void 0:r.call(s,Xt))||[],spotlights:(null===(m=null===(c=null==h?void 0:h.data)||void 0===c?void 0:c.map)||void 0===m?void 0:m.call(c,Xt))||[]}}catch(e){}if(w||Fe.includes(t))try{const[e,a]=yield Promise.all([fetch(ze(`${We()}/api/v1/community?website_url=https://${Ie[t]}`)).then((e=>e.json())),fetch(ze(`${We()}/api/v1/options?website_url=https://${Ie[t]}&meta_key=popular_post`)).then((e=>e.json()))]);k.together={items:(null===(g=null===(d=null===(u=null==e?void 0:e.data)||void 0===u?void 0:u.communities)||void 0===d?void 0:d.map)||void 0===g?void 0:g.call(d,Qe))||[],spotlights:(null===(p=null===(v=null===(h=null==a?void 0:a.data)||void 0===h?void 0:h.posts)||void 0===v?void 0:v.map)||void 0===p?void 0:p.call(v,Ye))||[]}}catch(e){}if(De.includes(t))try{const[e,a]=yield Promise.all([fetch(ze(Ke()+`/api/specialties?_ishome=1&site=${Ie[t]}`)).then((e=>e.json())),fetch(ze(Ke()+`/api/search/?site=${Ie[t]}&type=hospital&order_by=total_doctor`)).then((e=>e.json()))]);k.care={items:(null===(b=null===(y=null===(E=null==e?void 0:e._data)||void 0===E?void 0:E.specialties)||void 0===y?void 0:y.map)||void 0===b?void 0:b.call(y,ea))||[],spotlights:(null===(C=null===(f=null==a?void 0:a._data.searches)||void 0===f?void 0:f.map)||void 0===C?void 0:C.call(f,ta))||[]}}catch(e){}}catch(e){console.error(e)}return k})),Za=t=>e(void 0,void 0,void 0,(function*(){return(yield r("nav-menu-content",(()=>Ya(t||"en-PH")),(e=>{var t,a;return!!(null===(a=null===(t=null==e?void 0:e.categories)||void 0===t?void 0:t.items)||void 0===a?void 0:a.length)})))||{}}));export{pt as A,ft as L,Qa as N,ia as P,oa as U,Za as a,St as b,Zt as c,sa as d,ra as e,Ya as g,yt as i};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{enUS as o,vi as e,km as l,hi as i,id as a,ms as n,th as t,zhTW as s}from"date-fns/locale";import{L as E}from"./Onboarding-17999cc6.js";import{i as c}from"./isProduction-f9284e0d.js";const h={HELLO_HEALTH_GROUP:"hellohealthgroup.com",HELLO_DOCTOR:"hellodoctor.com.ph",HELLO_DOCTOR_FIL:"hellodoctor.com.ph/fil",HELLO_KRUPET:"hellokrupet.com",HELLO_SWASTHYA:"helloswasthya.com",HELLO_SEHAT:"hellosehat.com",HELLO_SAYARWON:"hellosayarwon.com",HELLO_DOKTOR:"hellodoktor.com",HELLO_KHUNMOR:"hellokhunmor.com",HELLO_YISHI:"helloyishi.com.tw",HELLO_BACSI:"hellobacsi.com",MARRY_BABY:"www.marrybaby.vn"},I={HELLO_HEALTH_GROUP:{lng:E.PhilippinesEnglish,ns:"translation",name:"Hello Health Group",theme:"hellosite",dayjs:"en",phoneCountry:"PH",siteId:10},HELLO_DOCTOR:{lng:E.PhilippinesEnglish,ns:"translation",name:"Hello Doctor",theme:"hellosite",dayjs:"en",phoneCountry:"PH",siteId:5},HELLO_DOCTOR_FIL:{lng:E.PhilippinesTagalog,ns:"translation",name:"Hello Doctor",theme:"hellosite",dayjs:"tl-ph",phoneCountry:"PH",siteId:5},HELLO_KRUPET:{lng:E.Cambodia,ns:"translation",name:"Hello Krupet",theme:"hellosite",dayjs:"km",phoneCountry:"KH",siteId:4},HELLO_SWASTHYA:{lng:E.India,ns:"translation",name:"Hello Swasthya",theme:"hellosite",dayjs:"hi",phoneCountry:"IN",siteId:9},HELLO_SEHAT:{lng:E.Indonesia,ns:"translation",name:"Hello Sehat",theme:"hellosite",dayjs:"id",phoneCountry:"ID",siteId:2},HELLO_SAYARWON:{lng:E.Myanmar,ns:"translation",name:"Hello Sayarwon",theme:"hellosite",dayjs:"my",phoneCountry:"MM",siteId:7},HELLO_DOKTOR:{lng:E.Malaysia,ns:"translation",name:"Hello Doktor",theme:"hellosite",dayjs:"ms-my",phoneCountry:"MY",siteId:3},HELLO_KHUNMOR:{lng:E.Thailand,ns:"translation",name:"Hello Khunmor",theme:"hellosite",dayjs:"th",phoneCountry:"TH",siteId:6},HELLO_YISHI:{lng:E.Taiwan,ns:"translation",name:"Hello Yishi",theme:"hellosite",dayjs:"zh-tw",phoneCountry:"TW",siteId:8},HELLO_BACSI:{lng:E.Vietnam,ns:"translation",name:"Hello Bacsi",theme:"hellosite",dayjs:"vi",phoneCountry:"VN",siteId:1},MARRY_BABY:{lng:E.Vietnam,ns:"marrybaby",name:"Marry Baby",theme:"marrybaby",dayjs:"vi",phoneCountry:"VN",siteId:11}},T="userGeoLocationCoordinates",r={"vi-VN":"hellobacsi.com","id-ID":"hellosehat.com","ms-MY":"hellodoktor.com","km-KH":"hellokrupet.com","en-PH":"hellodoctor.com.ph","th-TH":"hellokhunmor.com","my-MM":"hellosayarwon.com","zh-TW":"helloyishi.com.tw","hi-IN":"helloswasthya.com","tl-PH":"hellodoctor.com.ph","vi-VN_MB":"marrybaby.vn"},O={"vi-VN":{LOGO_TYPE:"hellobacsi",SITE_NAME:"HelloBacsi",SITE_NAME_FORMATTED:"Hello Bacsi",HOMEPAGE_IMAGE:"https://hellobacsi.com/images/country-thumbnails/VN.png",SITE_ID:"1",INSIDER_TAG:"//hellobacsivn.api.useinsider.com/ins.js?id=10003798",TOOLTIP_IMAGE:"/images/tooltips-vn.png",PREGNANCY_WEIGHT_GAIN:"cong-cu-tinh-can-nang-khi-mang-thai",BABY_POOP:"phan-tre-so-sinh-nhu-the-nao-la-tot",VACCINATION_TOOL:"lich-tiem-chung"},"en-PH":{LOGO_TYPE:"hellodoctor",SITE_NAME:"HelloDoctor",HOMEPAGE_IMAGE:"https://hellodoctor.com.ph/images/country-thumbnails/PH.png",SITE_NAME_FORMATTED:"Hello Doctor",SITE_ID:"9",CATEGORIES_TYPE:"short",INSIDER_TAG:"//hellodoctorph.api.useinsider.com/ins.js?id=10004527",TOOLTIP_IMAGE:"/images/tooltips-ph.png",PREGNANCY_WEIGHT_GAIN:"pregnancy-weight-gain-calculator",BABY_POOP:"a-visual-guide-on-baby-poop",VACCINATION_TOOL:"vaccination-tool"},"th-TH":{LOGO_TYPE:"hellokhunmor",SITE_NAME:"HelloKhunmor",HOMEPAGE_IMAGE:"https://hellokhunmor.com/images/country-thumbnails/TH.png",SITE_NAME_FORMATTED:"Hello Khunmor",SITE_ID:"3",CATEGORIES_TYPE:"long",INSIDER_TAG:"//hellokhunmor.api.useinsider.com/ins.js?id=10004524",TOOLTIP_IMAGE:"/images/tooltips-th.png",PREGNANCY_WEIGHT_GAIN:"เครื่องคำนวณน้ำหนักตัว",BABY_POOP:"สีอุจจาระของลูก-บอกถึงส",VACCINATION_TOOL:"vaccination-tool"},"km-KH":{LOGO_TYPE:"hellokrupet",SITE_NAME:"HelloKrupet",HOMEPAGE_IMAGE:"https://hellokrupet.com/images/country-thumbnails/KH.JPG",SITE_NAME_FORMATTED:"Hello Krupet",SITE_ID:"4",CATEGORIES_TYPE:"long",INSIDER_TAG:"//hellokrupet.api.useinsider.com/ins.js?id=10004523",TOOLTIP_IMAGE:"/images/tooltips-kh.png",PREGNANCY_WEIGHT_GAIN:"រង្វាស់សុខភាព/គណនាទម្ងន់ស្ត្រីពពោះ",BABY_POOP:"រង្វាស់សុខភាព/អត្ថន័យពណ៌-និងរូបរាងលាម",VACCINATION_TOOL:"រង្វាស់សុខភាព/កាលវិភាគចាក់ថ្នាំបង្កា"},"my-MM":{LOGO_TYPE:"hellosayarwon",SITE_NAME:"HelloSayarwon",HOMEPAGE_IMAGE:"https://hellosayarwon.com/images/country-thumbnails/PH.png",SITE_NAME_FORMATTED:"Hello Sayarwon",SITE_ID:"7",INSIDER_TAG:"//hellosayarwon.api.useinsider.com/ins.js?id=10004522"},"zh-TW":{LOGO_TYPE:"helloyishi",SITE_NAME:"HelloYishi",HOMEPAGE_IMAGE:"https://helloyishi.com.tw/images/country-thumbnails/TW.png",SITE_NAME_FORMATTED:"Hello Yishi",SITE_ID:"6",INSIDER_TAG:"//helloyishi.api.useinsider.com/ins.js?id=10004526",TOOLTIP_IMAGE:"/images/tooltips-tw.png",PREGNANCY_WEIGHT_GAIN:"pregnancy-weight-gain-calculator",BABY_POOP:"how-does-babies-poop-look-like",VACCINATION_TOOL:"vaccination-tool"},"id-ID":{LOGO_TYPE:"hellosehat",SITE_NAME:"HelloSehat",HOMEPAGE_IMAGE:"https://hellosehat.com/images/country-thumbnails/ID.png",SITE_NAME_FORMATTED:"Hello Sehat",SITE_ID:"2",INSIDER_TAG:"//hellosehat.api.useinsider.com/ins.js?id=10003799",TOOLTIP_IMAGE:"/images/tooltips-id.png",PREGNANCY_WEIGHT_GAIN:"kalkulator-kenaikan-berat-badan-ibu-hamil",BABY_POOP:"warna-feses-bayi-normal",VACCINATION_TOOL:"jadwal-imunisasi"},"hi-IN":{LOGO_TYPE:"helloswasthya",SITE_NAME:"HelloSwasthya",HOMEPAGE_IMAGE:"https://helloswasthya.com/images/country-thumbnails/IN.png",SITE_NAME_FORMATTED:"हैलो स्वास्थ्य",SITE_ID:"8",CATEGORIES_TYPE:"long",INSIDER_TAG:"//helloswasthya.api.useinsider.com/ins.js?id=10004498",TOOLTIP_IMAGE:"/images/tooltips-in.png",PREGNANCY_WEIGHT_GAIN:"garbhavastha-weight-calculator",BABY_POOP:"visual-guide-on-baby-poop",VACCINATION_TOOL:"vaccination-tool"},"ms-MY":{LOGO_TYPE:"hellodoktor",SITE_NAME:"HelloDoktor",HOMEPAGE_IMAGE:"https://hellodoktor.com/images/country-thumbnails/MY.png",SITE_NAME_FORMATTED:"Hello Doktor",SITE_ID:"5",INSIDER_TAG:"//hellodoktor.api.useinsider.com/ins.js?id=10004525",TOOLTIP_IMAGE:"/images/tooltips-my.png",PREGNANCY_WEIGHT_GAIN:"kalkulator-tambah-berat-badan-hamil",BABY_POOP:"kenali-najis-bayi-anda",VACCINATION_TOOL:"alat-kesihatan-vaksin"},"tl-PH":{LOGO_TYPE:"hellodoctor",SITE_NAME:"HelloDoctor",HOMEPAGE_IMAGE:"https://hellodoctor.com.ph/images/country-thumbnails/PH.png",SITE_NAME_FORMATTED:"Hello Doctor",SITE_ID:"9",CATEGORIES_TYPE:"short",INSIDER_TAG:"//hellodoctorph.api.useinsider.com/ins.js?id=10004527",TOOLTIP_IMAGE:"/fil/images/tooltips-ph.png",PREGNANCY_WEIGHT_GAIN:"pregnancy-weight-gain-calculator",BABY_POOP:"a-visual-guide-on-baby-poop",VACCINATION_TOOL:"vaccination-tool",ABOUT_US_IMAGE:"/fil/images/aboutus/PH.png"}},p={"vi-VN":{PRIVACY:"/privacy",TERM_OF_USE:"/dieu-khoan-su-dung",PRIVACY_POLICY:"/chinh-sach-quyen-rieng-tu",EDITORIAL_CORRECTIONS_POLICY:"/chinh-sach-bien-tap-chinh-sua",ADVERTISING_SPONSOR_POLICY:"/chinh-sach-quang-cao-tai-tro",POLICIES:"/chinh-sach",FAQS:"/thong-tin-quan-trong",SITEMAP:"/sitemap",ABOUT_US:"/about-us",ADVERTISEMENT:"/quang-cao-voi-chung-toi",CONTACT_US:"/lien-he",ABOUT_GO_CARE:"/about-go-care",HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/hello-bacsi/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/tieu-chuan-cong-dong",TOGETHER:"/community"},"km-KH":{POLICIES:"/policies",TERM_OF_USE:"/ខនិងលក្ខខណ្ឌ",PRIVACY_POLICY:"/គោលការណ៍ឯកជនភាព",EDITORIAL_CORRECTIONS_POLICY:"/គោលការណ៍ខ្លឹមសារមាតិកា",ADVERTISING_SPONSOR_POLICY:"/គោលការណ៍ផ្សាយពាណិជ្ជកម",FAQS:"/faqs",SITEMAP:"/sitemap",ABOUT_US:"/about-us",ADVERTISEMENT:"/advertisement",CONTACT_US:"/contact-us",ABOUT_GO_CARE:"/about-go-care",HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"/#",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/គោលការណ៍ណែនាំសហគមន៍",TOGETHER:"/community"},"en-PH":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/community-guidelines",TOGETHER:"/community"},"my-MM":{POLICIES:"/polisi-terma-syarat",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/pengiklanan",CONTACT_US:"/hubungi-kami",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:" https://hellohealthgroup.com/hello-doktor/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/panduan-komuniti",TOGETHER:"/community"},"zh-TW":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/advertising",CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,FACILITY:"/facility",HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:null,TOGETHER:"/community"},"id-ID":{POLICIES_EN:"/policies",TERM_OF_USE:"/kebijakan-pengguna",PRIVACY_POLICY:"/kebijakan-privasi",EDITORIAL_CORRECTIONS_POLICY:"/kebijakan-editorial",ADVERTISING_SPONSOR_POLICY:"/kebijakan-iklan",POLICIES:"/kebijakan",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/kontak-kami",CONTACT_EN:"/contact",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/hello-sehat/",RECRUITMENT:"https://hellohealthgroup.com/careers/",EDITORIAL_POLICY:"/edit-id",EDITORIAL_POLICY_EN:"/edit-en",COMMUNITY_GUIDELINE:"/panduan-komunitas",TOGETHER:"/community"},"hi-IN":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:null,TOGETHER:"/community"},"ms-MY":{POLICIES:"/polisi-terma-syarat",TERM_OF_USE:"/terma-dan-syarat",PRIVACY_POLICY:"/polisi-privasi",EDITORIAL_CORRECTIONS_POLICY:"/polisi-editorial",ADVERTISING_SPONSOR_POLICY:"/polisi-pengiklanan",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/pengiklanan",CONTACT_US:"/hubungi-kami",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:" https://hellohealthgroup.com/hello-doktor/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/panduan-komuniti",TOGETHER:"/community"},"th-TH":{POLICIES_EN:"/policies",TERM_OF_USE:"/เงื่อนใขการใช้งาน",PRIVACY_POLICY:"/นโยบายความเป็นส่วนตัว",EDITORIAL_CORRECTIONS_POLICY:"/นโยบายบรรณธิการ",ADVERTISING_SPONSOR_POLICY:"/นโยบายการโฆษณาและผู้สนับสนุน",POLICIES:"/นโยบาย",FAQS:"/คำถามที่พบบ่อย",SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/ลงโฆษณากับเรา",CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:null,TOGETHER:"/community"},"tl-PH":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/community-guidelines",TOGETHER:"/community"}},_="user",m=["vi-VN","id-ID","en-PH","tl-PH","th-TH","ms-MY","my-MM"],A=["vi-VN"],u=["vi-VN","id-ID","en-PH","tl-PH"],y=["vi-VN","id-ID"],N={"vi-VN":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"km-KH":[{type:"link",rel:"icon",href:"/by-locales/km-KH/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/km-KH/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/km-KH/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/km-KH/icon-270x270.png"}],"en-PH":[{type:"link",rel:"icon",href:"/by-locales/en-PH/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/en-PH/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon",href:"/by-locales/en-PH/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/en-PH/icon-270x270.png"}],"id-ID":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"ms-MY":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"th-TH":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"my-MM":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"zh-TW":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"hi-IN":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],marryBaby:[{type:"link",rel:"shortcut icon",href:"/favicons/favicon.ico"},{type:"link",rel:"icon",href:"/favicons/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/favicons/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/favicons/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/favicons/icon-180x180.png"}]};var S;!function(o){o.bmi="mi",o.gender="gndr",o.age="ge",o.slug="slug",o.resultId="resultId",o.bmr="mr",o.height="gt",o.weight="wght",o.source="surc",o.type="tp",o.startDate="sd",o.additional="tnl",o.week="wk",o.twins="twn",o.weightBefore="wb",o.yourself="yrslf",o.intensity="sy",o.rate="rt",o.method="mthd",o.day="dy",o.pwg="pwg",o.cycle="le",o.period="prd",o.access_token="tkn",o.name="nm",o.id="id"}(S||(S={}));const C={[E.Vietnam]:{dateFormat:"DD/MM/YYYY",separator:","},[E.Cambodia]:{dateFormat:"DD/MM/YYYY",separator:"."},[E.India]:{dateFormat:"DD/MM/YYYY",separator:"."},[E.Indonesia]:{dateFormat:"DD/MM/YYYY",separator:","},[E.Malaysia]:{dateFormat:"DD/MM/YYYY",separator:"."},[E.Thailand]:{dateFormat:"DD/MM/YYYY",separator:"."},[E.Taiwan]:{dateFormat:"YYYY/MM/DD",separator:","},[E.PhilippinesTagalog]:{dateFormat:"MM/DD/YYYY",separator:"."},[E.PhilippinesEnglish]:{dateFormat:"MM/DD/YYYY",separator:"."},[E.Myanmar]:{dateFormat:"DD/MM/YYYY",separator:","}},g="hhg_user_token",R={[E.PhilippinesEnglish]:o,[E.Vietnam]:e,[E.Cambodia]:l,[E.India]:i,[E.Indonesia]:a,[E.Myanmar]:o,[E.Malaysia]:n,[E.Thailand]:t,[E.Taiwan]:s},L="https://cdn.hellohealthgroup.com/countries";var P=Object.freeze({__proto__:null,USER_GEOLOCATION_COORDINATES_COOKIE:T,domainLocales:r,LOCALE_SPECS:O,STATIC_PAGES:p,UP_BASEPATH:_,TOGETHER_LOCALES:m,ECOM_LOCALES:A,CARE_LOCALES:u,CARE_BOOKING_LOCALES:y,FAVICONS:N,get QUERY_HEALTH_TOOL(){return S},ISO_FORMAT:C,BEARER_TOKEN_COOKIE:g,DATE_FNS_LOCALE:R,CDN_ADDRESS:L,siteHost:h,siteOptions:I,isProduction:c});export{g as B,u as C,R as D,A as E,N as F,C as I,O as L,S as Q,p as S,m as T,_ as U,L as a,y as b,T as c,r as d,h as e,P as i,I as s};
|
|
1
|
+
import{enUS as o,vi as e,km as l,hi as i,id as a,ms as n,th as t,zhTW as s}from"date-fns/locale";import{L as E}from"./Onboarding-ad49870c.js";import{i as c}from"./isProduction-8ce1051d.js";const h={HELLO_HEALTH_GROUP:"hellohealthgroup.com",HELLO_DOCTOR:"hellodoctor.com.ph",HELLO_DOCTOR_FIL:"hellodoctor.com.ph/fil",HELLO_KRUPET:"hellokrupet.com",HELLO_SWASTHYA:"helloswasthya.com",HELLO_SEHAT:"hellosehat.com",HELLO_SAYARWON:"hellosayarwon.com",HELLO_DOKTOR:"hellodoktor.com",HELLO_KHUNMOR:"hellokhunmor.com",HELLO_YISHI:"helloyishi.com.tw",HELLO_BACSI:"hellobacsi.com",MARRY_BABY:"www.marrybaby.vn"},I={HELLO_HEALTH_GROUP:{lng:E.PhilippinesEnglish,ns:"translation",name:"Hello Health Group",theme:"hellosite",dayjs:"en",phoneCountry:"PH",siteId:10},HELLO_DOCTOR:{lng:E.PhilippinesEnglish,ns:"translation",name:"Hello Doctor",theme:"hellosite",dayjs:"en",phoneCountry:"PH",siteId:5},HELLO_DOCTOR_FIL:{lng:E.PhilippinesTagalog,ns:"translation",name:"Hello Doctor",theme:"hellosite",dayjs:"tl-ph",phoneCountry:"PH",siteId:5},HELLO_KRUPET:{lng:E.Cambodia,ns:"translation",name:"Hello Krupet",theme:"hellosite",dayjs:"km",phoneCountry:"KH",siteId:4},HELLO_SWASTHYA:{lng:E.India,ns:"translation",name:"Hello Swasthya",theme:"hellosite",dayjs:"hi",phoneCountry:"IN",siteId:9},HELLO_SEHAT:{lng:E.Indonesia,ns:"translation",name:"Hello Sehat",theme:"hellosite",dayjs:"id",phoneCountry:"ID",siteId:2},HELLO_SAYARWON:{lng:E.Myanmar,ns:"translation",name:"Hello Sayarwon",theme:"hellosite",dayjs:"my",phoneCountry:"MM",siteId:7},HELLO_DOKTOR:{lng:E.Malaysia,ns:"translation",name:"Hello Doktor",theme:"hellosite",dayjs:"ms-my",phoneCountry:"MY",siteId:3},HELLO_KHUNMOR:{lng:E.Thailand,ns:"translation",name:"Hello Khunmor",theme:"hellosite",dayjs:"th",phoneCountry:"TH",siteId:6},HELLO_YISHI:{lng:E.Taiwan,ns:"translation",name:"Hello Yishi",theme:"hellosite",dayjs:"zh-tw",phoneCountry:"TW",siteId:8},HELLO_BACSI:{lng:E.Vietnam,ns:"translation",name:"Hello Bacsi",theme:"hellosite",dayjs:"vi",phoneCountry:"VN",siteId:1},MARRY_BABY:{lng:E.Vietnam,ns:"marrybaby",name:"Marry Baby",theme:"marrybaby",dayjs:"vi",phoneCountry:"VN",siteId:11}},T="userGeoLocationCoordinates",r={"vi-VN":"hellobacsi.com","id-ID":"hellosehat.com","ms-MY":"hellodoktor.com","km-KH":"hellokrupet.com","en-PH":"hellodoctor.com.ph","th-TH":"hellokhunmor.com","my-MM":"hellosayarwon.com","zh-TW":"helloyishi.com.tw","hi-IN":"helloswasthya.com","tl-PH":"hellodoctor.com.ph","vi-VN_MB":"marrybaby.vn"},O={"vi-VN":{LOGO_TYPE:"hellobacsi",SITE_NAME:"HelloBacsi",SITE_NAME_FORMATTED:"Hello Bacsi",HOMEPAGE_IMAGE:"https://hellobacsi.com/images/country-thumbnails/VN.png",SITE_ID:"1",INSIDER_TAG:"//hellobacsivn.api.useinsider.com/ins.js?id=10003798",TOOLTIP_IMAGE:"/images/tooltips-vn.png",PREGNANCY_WEIGHT_GAIN:"cong-cu-tinh-can-nang-khi-mang-thai",BABY_POOP:"phan-tre-so-sinh-nhu-the-nao-la-tot",VACCINATION_TOOL:"lich-tiem-chung"},"en-PH":{LOGO_TYPE:"hellodoctor",SITE_NAME:"HelloDoctor",HOMEPAGE_IMAGE:"https://hellodoctor.com.ph/images/country-thumbnails/PH.png",SITE_NAME_FORMATTED:"Hello Doctor",SITE_ID:"9",CATEGORIES_TYPE:"short",INSIDER_TAG:"//hellodoctorph.api.useinsider.com/ins.js?id=10004527",TOOLTIP_IMAGE:"/images/tooltips-ph.png",PREGNANCY_WEIGHT_GAIN:"pregnancy-weight-gain-calculator",BABY_POOP:"a-visual-guide-on-baby-poop",VACCINATION_TOOL:"vaccination-tool"},"th-TH":{LOGO_TYPE:"hellokhunmor",SITE_NAME:"HelloKhunmor",HOMEPAGE_IMAGE:"https://hellokhunmor.com/images/country-thumbnails/TH.png",SITE_NAME_FORMATTED:"Hello Khunmor",SITE_ID:"3",CATEGORIES_TYPE:"long",INSIDER_TAG:"//hellokhunmor.api.useinsider.com/ins.js?id=10004524",TOOLTIP_IMAGE:"/images/tooltips-th.png",PREGNANCY_WEIGHT_GAIN:"เครื่องคำนวณน้ำหนักตัว",BABY_POOP:"สีอุจจาระของลูก-บอกถึงส",VACCINATION_TOOL:"vaccination-tool"},"km-KH":{LOGO_TYPE:"hellokrupet",SITE_NAME:"HelloKrupet",HOMEPAGE_IMAGE:"https://hellokrupet.com/images/country-thumbnails/KH.JPG",SITE_NAME_FORMATTED:"Hello Krupet",SITE_ID:"4",CATEGORIES_TYPE:"long",INSIDER_TAG:"//hellokrupet.api.useinsider.com/ins.js?id=10004523",TOOLTIP_IMAGE:"/images/tooltips-kh.png",PREGNANCY_WEIGHT_GAIN:"រង្វាស់សុខភាព/គណនាទម្ងន់ស្ត្រីពពោះ",BABY_POOP:"រង្វាស់សុខភាព/អត្ថន័យពណ៌-និងរូបរាងលាម",VACCINATION_TOOL:"រង្វាស់សុខភាព/កាលវិភាគចាក់ថ្នាំបង្កា"},"my-MM":{LOGO_TYPE:"hellosayarwon",SITE_NAME:"HelloSayarwon",HOMEPAGE_IMAGE:"https://hellosayarwon.com/images/country-thumbnails/PH.png",SITE_NAME_FORMATTED:"Hello Sayarwon",SITE_ID:"7",INSIDER_TAG:"//hellosayarwon.api.useinsider.com/ins.js?id=10004522"},"zh-TW":{LOGO_TYPE:"helloyishi",SITE_NAME:"HelloYishi",HOMEPAGE_IMAGE:"https://helloyishi.com.tw/images/country-thumbnails/TW.png",SITE_NAME_FORMATTED:"Hello Yishi",SITE_ID:"6",INSIDER_TAG:"//helloyishi.api.useinsider.com/ins.js?id=10004526",TOOLTIP_IMAGE:"/images/tooltips-tw.png",PREGNANCY_WEIGHT_GAIN:"pregnancy-weight-gain-calculator",BABY_POOP:"how-does-babies-poop-look-like",VACCINATION_TOOL:"vaccination-tool"},"id-ID":{LOGO_TYPE:"hellosehat",SITE_NAME:"HelloSehat",HOMEPAGE_IMAGE:"https://hellosehat.com/images/country-thumbnails/ID.png",SITE_NAME_FORMATTED:"Hello Sehat",SITE_ID:"2",INSIDER_TAG:"//hellosehat.api.useinsider.com/ins.js?id=10003799",TOOLTIP_IMAGE:"/images/tooltips-id.png",PREGNANCY_WEIGHT_GAIN:"kalkulator-kenaikan-berat-badan-ibu-hamil",BABY_POOP:"warna-feses-bayi-normal",VACCINATION_TOOL:"jadwal-imunisasi"},"hi-IN":{LOGO_TYPE:"helloswasthya",SITE_NAME:"HelloSwasthya",HOMEPAGE_IMAGE:"https://helloswasthya.com/images/country-thumbnails/IN.png",SITE_NAME_FORMATTED:"हैलो स्वास्थ्य",SITE_ID:"8",CATEGORIES_TYPE:"long",INSIDER_TAG:"//helloswasthya.api.useinsider.com/ins.js?id=10004498",TOOLTIP_IMAGE:"/images/tooltips-in.png",PREGNANCY_WEIGHT_GAIN:"garbhavastha-weight-calculator",BABY_POOP:"visual-guide-on-baby-poop",VACCINATION_TOOL:"vaccination-tool"},"ms-MY":{LOGO_TYPE:"hellodoktor",SITE_NAME:"HelloDoktor",HOMEPAGE_IMAGE:"https://hellodoktor.com/images/country-thumbnails/MY.png",SITE_NAME_FORMATTED:"Hello Doktor",SITE_ID:"5",INSIDER_TAG:"//hellodoktor.api.useinsider.com/ins.js?id=10004525",TOOLTIP_IMAGE:"/images/tooltips-my.png",PREGNANCY_WEIGHT_GAIN:"kalkulator-tambah-berat-badan-hamil",BABY_POOP:"kenali-najis-bayi-anda",VACCINATION_TOOL:"alat-kesihatan-vaksin"},"tl-PH":{LOGO_TYPE:"hellodoctor",SITE_NAME:"HelloDoctor",HOMEPAGE_IMAGE:"https://hellodoctor.com.ph/images/country-thumbnails/PH.png",SITE_NAME_FORMATTED:"Hello Doctor",SITE_ID:"9",CATEGORIES_TYPE:"short",INSIDER_TAG:"//hellodoctorph.api.useinsider.com/ins.js?id=10004527",TOOLTIP_IMAGE:"/fil/images/tooltips-ph.png",PREGNANCY_WEIGHT_GAIN:"pregnancy-weight-gain-calculator",BABY_POOP:"a-visual-guide-on-baby-poop",VACCINATION_TOOL:"vaccination-tool",ABOUT_US_IMAGE:"/fil/images/aboutus/PH.png"}},p={"vi-VN":{PRIVACY:"/privacy",TERM_OF_USE:"/dieu-khoan-su-dung",PRIVACY_POLICY:"/chinh-sach-quyen-rieng-tu",EDITORIAL_CORRECTIONS_POLICY:"/chinh-sach-bien-tap-chinh-sua",ADVERTISING_SPONSOR_POLICY:"/chinh-sach-quang-cao-tai-tro",POLICIES:"/chinh-sach",FAQS:"/thong-tin-quan-trong",SITEMAP:"/sitemap",ABOUT_US:"/about-us",ADVERTISEMENT:"/quang-cao-voi-chung-toi",CONTACT_US:"/lien-he",ABOUT_GO_CARE:"/about-go-care",HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/hello-bacsi/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/tieu-chuan-cong-dong",TOGETHER:"/community"},"km-KH":{POLICIES:"/policies",TERM_OF_USE:"/ខនិងលក្ខខណ្ឌ",PRIVACY_POLICY:"/គោលការណ៍ឯកជនភាព",EDITORIAL_CORRECTIONS_POLICY:"/គោលការណ៍ខ្លឹមសារមាតិកា",ADVERTISING_SPONSOR_POLICY:"/គោលការណ៍ផ្សាយពាណិជ្ជកម",FAQS:"/faqs",SITEMAP:"/sitemap",ABOUT_US:"/about-us",ADVERTISEMENT:"/advertisement",CONTACT_US:"/contact-us",ABOUT_GO_CARE:"/about-go-care",HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"/#",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/គោលការណ៍ណែនាំសហគមន៍",TOGETHER:"/community"},"en-PH":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/community-guidelines",TOGETHER:"/community"},"my-MM":{POLICIES:"/polisi-terma-syarat",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/pengiklanan",CONTACT_US:"/hubungi-kami",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:" https://hellohealthgroup.com/hello-doktor/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/panduan-komuniti",TOGETHER:"/community"},"zh-TW":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/advertising",CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,FACILITY:"/facility",HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:null,TOGETHER:"/community"},"id-ID":{POLICIES_EN:"/policies",TERM_OF_USE:"/kebijakan-pengguna",PRIVACY_POLICY:"/kebijakan-privasi",EDITORIAL_CORRECTIONS_POLICY:"/kebijakan-editorial",ADVERTISING_SPONSOR_POLICY:"/kebijakan-iklan",POLICIES:"/kebijakan",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/kontak-kami",CONTACT_EN:"/contact",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/hello-sehat/",RECRUITMENT:"https://hellohealthgroup.com/careers/",EDITORIAL_POLICY:"/edit-id",EDITORIAL_POLICY_EN:"/edit-en",COMMUNITY_GUIDELINE:"/panduan-komunitas",TOGETHER:"/community"},"hi-IN":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:null,TOGETHER:"/community"},"ms-MY":{POLICIES:"/polisi-terma-syarat",TERM_OF_USE:"/terma-dan-syarat",PRIVACY_POLICY:"/polisi-privasi",EDITORIAL_CORRECTIONS_POLICY:"/polisi-editorial",ADVERTISING_SPONSOR_POLICY:"/polisi-pengiklanan",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/pengiklanan",CONTACT_US:"/hubungi-kami",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:" https://hellohealthgroup.com/hello-doktor/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/panduan-komuniti",TOGETHER:"/community"},"th-TH":{POLICIES_EN:"/policies",TERM_OF_USE:"/เงื่อนใขการใช้งาน",PRIVACY_POLICY:"/นโยบายความเป็นส่วนตัว",EDITORIAL_CORRECTIONS_POLICY:"/นโยบายบรรณธิการ",ADVERTISING_SPONSOR_POLICY:"/นโยบายการโฆษณาและผู้สนับสนุน",POLICIES:"/นโยบาย",FAQS:"/คำถามที่พบบ่อย",SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/ลงโฆษณากับเรา",CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:null,TOGETHER:"/community"},"tl-PH":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/community-guidelines",TOGETHER:"/community"}},_="user",m=["vi-VN","id-ID","en-PH","tl-PH","th-TH","ms-MY","my-MM"],A=["vi-VN"],u=["vi-VN","id-ID","en-PH","tl-PH"],y=["vi-VN","id-ID"],N={"vi-VN":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"km-KH":[{type:"link",rel:"icon",href:"/by-locales/km-KH/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/km-KH/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/km-KH/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/km-KH/icon-270x270.png"}],"en-PH":[{type:"link",rel:"icon",href:"/by-locales/en-PH/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/en-PH/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon",href:"/by-locales/en-PH/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/en-PH/icon-270x270.png"}],"id-ID":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"ms-MY":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"th-TH":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"my-MM":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"zh-TW":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"hi-IN":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],marryBaby:[{type:"link",rel:"shortcut icon",href:"/favicons/favicon.ico"},{type:"link",rel:"icon",href:"/favicons/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/favicons/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/favicons/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/favicons/icon-180x180.png"}]};var S;!function(o){o.bmi="mi",o.gender="gndr",o.age="ge",o.slug="slug",o.resultId="resultId",o.bmr="mr",o.height="gt",o.weight="wght",o.source="surc",o.type="tp",o.startDate="sd",o.additional="tnl",o.week="wk",o.twins="twn",o.weightBefore="wb",o.yourself="yrslf",o.intensity="sy",o.rate="rt",o.method="mthd",o.day="dy",o.pwg="pwg",o.cycle="le",o.period="prd",o.access_token="tkn",o.name="nm",o.id="id"}(S||(S={}));const C={[E.Vietnam]:{dateFormat:"DD/MM/YYYY",separator:","},[E.Cambodia]:{dateFormat:"DD/MM/YYYY",separator:"."},[E.India]:{dateFormat:"DD/MM/YYYY",separator:"."},[E.Indonesia]:{dateFormat:"DD/MM/YYYY",separator:","},[E.Malaysia]:{dateFormat:"DD/MM/YYYY",separator:"."},[E.Thailand]:{dateFormat:"DD/MM/YYYY",separator:"."},[E.Taiwan]:{dateFormat:"YYYY/MM/DD",separator:","},[E.PhilippinesTagalog]:{dateFormat:"MM/DD/YYYY",separator:"."},[E.PhilippinesEnglish]:{dateFormat:"MM/DD/YYYY",separator:"."},[E.Myanmar]:{dateFormat:"DD/MM/YYYY",separator:","}},g="hhg_user_token",R={[E.PhilippinesEnglish]:o,[E.Vietnam]:e,[E.Cambodia]:l,[E.India]:i,[E.Indonesia]:a,[E.Myanmar]:o,[E.Malaysia]:n,[E.Thailand]:t,[E.Taiwan]:s},L="https://cdn.hellohealthgroup.com/countries";var P=Object.freeze({__proto__:null,USER_GEOLOCATION_COORDINATES_COOKIE:T,domainLocales:r,LOCALE_SPECS:O,STATIC_PAGES:p,UP_BASEPATH:_,TOGETHER_LOCALES:m,ECOM_LOCALES:A,CARE_LOCALES:u,CARE_BOOKING_LOCALES:y,FAVICONS:N,get QUERY_HEALTH_TOOL(){return S},ISO_FORMAT:C,BEARER_TOKEN_COOKIE:g,DATE_FNS_LOCALE:R,CDN_ADDRESS:L,siteHost:h,siteOptions:I,isProduction:c});export{g as B,u as C,R as D,A as E,N as F,C as I,O as L,S as Q,p as S,m as T,_ as U,L as a,y as b,T as c,r as d,h as e,P as i,I as s};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import e,{useState as t,useRef as o,useEffect as d}from"react";import{u as a}from"./useScrollbarSize-
|
|
1
|
+
import e,{useState as t,useRef as o,useEffect as d}from"react";import{u as a}from"./useScrollbarSize-ba68fbbc.js";import{createPortal as l}from"react-dom";import{S as c,a as n,b as r}from"./index-33a767db.js";const s="hhg-modals",m=()=>{document.querySelectorAll('.hhg-modal[data-open="true"]').length<1&&document.body.classList.remove("hhc-modal-show")},i=()=>{document.querySelectorAll('.hhg-modal[data-open="true"]').length<1&&(document.body.style.overflow="",document.body.style.paddingRight="",document.body.classList.remove("hhc-disabled-scroll"))},h=({type:h="lead",closeIcon:u,isOpen:p=!0,onClose:y,children:b,className:g="",animationType:v="slideTop",isStaticBackdrop:f=!1,siteType:_})=>{const[E,w]=t(!1),C=o(null),{width:N}=a();if(!C.current&&E&&(C.current=document.createElement("div")),d((()=>(w(!0),()=>{w(!1),m(),i()})),[]),d((()=>{if(E){const e=(()=>{let e=document.getElementById(s);return e||(e=document.createElement("div"),e.setAttribute("id",s),document.body.append(e)),e})();return e.appendChild(C.current),()=>{e.removeChild(C.current)}}}),[E]),d((()=>{p?document.body.classList.add("hhc-modal-show"):m()}),[p]),d((()=>{p?(document.body.style.overflow="hidden",document.body.style.paddingRight=N+"px",document.body.classList.add("hhc-disabled-scroll")):i()}),[p,N]),!E)return null;const S=["hhg-modal__wrapper",g,v].filter((e=>e)).join(" ");return l(e.createElement(c,{className:S,"data-open":p,"data-type":h},!f&&e.createElement(n,{"data-open":p,onClick:y,"data-type":h}),!f&&"video"===h&&!!u&&e.createElement("div",{className:"hhg-modal__close",onClick:y},u),e.createElement(r,{className:"hhg-modal","data-open":p,"data-site-type":_},e.createElement("div",{className:"video"===h?"hhg-modal__video":"hhg-modal__content"},!!u&&"video"!==h&&e.createElement("div",{className:"hhg-modal__close",onClick:y},u),b))),C.current)};export{h as M};
|
package/build/esm/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{i as Types}from"./index-9ec58b78.js";export{i as Constants}from"./index-20a67ed5.js";export{A as Alert,c as ArticleCard,d as ArticleCardV2,p as BMICardEmbed,t as BMRCardEmbed,q as BabyGrowthCardEmbed,r as BabyPoopEmbed,B as Badge,a as BorderHeading,w as Breadcrumbs,e as CategoryCard,C as Checkbox,f as CheckboxGroup,n as CookieAcceptConfirm,v as DateRangePicker,D as DueDateCardEmbed,F as FileDropdown,z as FixedBottomAdBlock,m as FloatButtonGroup,G as Grid,I as IconText,O as OvulationCardEmbed,u as PWGCardEmbed,P as Pagination,g as ProgressBar,R as RateStars,S as ScrollList,o as SeoHead,x as ShareContainer,y as ShareDrawer,i as SideMenu,h as StatisticCard,l as SurveyThankyouCard,s as THRCardEmbed,j as Table,k as Tabs,T as Tag,b as Toggle}from"./fixedBottomAdBlock-7554c3b8.js";export{A as Avatar,L as LanguageSwitcher,d as NavigationLogoutPopup,e as NavigationProfileButton,N as NavigationV2,P as ProfilePopup,U as UserProfileNavigation,b as UserProfileNavigationHeader,c as UserProfileNavigationStats,g as getNavMenuContent,a as getNavMenuContentWithCache}from"./index-dbc51f01.js";export{B as Button}from"./index-56fa0620.js";export{A as AuthorBadge,a as BookingBtn,B as BtnChoice,D as Divider}from"./index-af57521e.js";export{C as CaretDown,D as DefaultComponentGlobalContextData,F as Flag,G as GlobalData,H as Heading,L as LogoIcon,P as PureInput,S as StepRenderer,b as StepRendererContext,T as TextArea,a as TextDivider,d as TogetherComponentGlobalContext,e as TogetherComponentGlobalContextProvider,c as TogetherConstants}from"./utils-43ce7755.js";export{I as Input}from"./index-56cd242a.js";export{C as Container,I as Icon,L as Label}from"./index-1ac00718.js";export{L as Logo}from"./index-83aad691.js";export{A as AdBlock,D as DatePicker,c as DoctorInfo,a as Dropdown,M as MobileBottomNavigation,d as MobileBottomNavigationIcon,R as Radio,b as RadioGroup,S as SurveyQuestionCard,T as ToolsBannerCard}from"./index-136d0591.js";export{T as Text}from"./index-6c96ac70.js";export{D as Drawer,R as RadioImageGroup}from"./index-94da7d7a.js";export{C as CustomReferenceDot,I as ImageWrap}from"./index-629208cc.js";export{P as Popup,d as TogetherDataTransforms}from"./dataTransform-f3652b0a.js";export{M as Modal}from"./index-14477fd7.js";export{P as PillCarousel}from"./index-19124705.js";export{A as AddressInput}from"./index-b87b3db3.js";export{Footer}from"./footer.js";export{u as useTranslations}from"./useTranslations-7ca47aa6.js";export{M as MEASURE_ELEMENT_CLASS,u as useScrollbarSize}from"./useScrollbarSize-8565e51f.js";export{u as useFbDataLayer,a as usePrevious,b as useRafState}from"./useRafState-956d702c.js";export{u as useHealthToolsCache}from"./useHealthToolCache-c93a14d3.js";export{u as useIsInit}from"./useIsInit-392f39dd.js";export{i as initSharedOutSideClickListener,a as useOutsideClick,u as useSharedOutsideClick}from"./useOutsideClick-1cd3fb0a.js";export{u as useInitialMount,a as useUniqueId}from"./useUniqueId-3c703513.js";export{g as CardAuthor,C as CardLink,D as CardPost,E as CardPostPopoverMore,b as CardReactions,F as CardReply,G as CardReplyPopover,K as Close,h as CreateNewPostContent,i as CreatePostDescription,j as CreatePostTitle,s as ImagePreviewPopup,I as InputCommentBar,e as LabelPin,d as LabelSortPin,f as LabelSorting,L as Loading,H as PopoverMenu,P as PopupDanger,l as PopupDoctor,k as PopupExpert,o as PopupFrame,m as PopupHospital,r as PostContent,w as PostImagePreview,v as PostSingleImageViewPopup,z as ProfileDetail,y as ProfileDetailModal,q as ShareBox,S as SharePopup,B as SkipQuestionOfExpertBtn,x as SocialLinkPreview,J as SourceList,p as SubmitReportForm,A as TabNameInProfileDetail,c as TagTopic,T as TogetherAuthConfigContext,a as TogetherAuthConfigContextProvider,t as TogetherTypes,n as TopicSelectList,V as VerifiedTag,u as useTogetherAuthRequiredAction}from"./types-1ede8733.js";export{U as UserAvatar}from"./index.styled-a177c0fc.js";export{B as BookingSearchBar,a as BookingSearchBarV2,t as CareTypes,C as ChevronDown}from"./types-659159e3.js";export{c as CareConstants}from"./constants-f6df1426.js";export{a as ageGenerate,c as convertLocalizedStringToNumber,l as localizeNumberFormat}from"./localizeNumberFormat-891fddd2.js";export{B as Breakpoints,M as MediaQueries,S as ScreenSizeContext,q as ScreenSizeContextProvider,h as fadeIn,i as formatUrlWithPageParam,j as getBoundariesFromMediaQueryKey,k as getPopupWrapperDom,p as getWindowSizeGroups,l as getWrapperDomWithSelector,m as makeParams,o as safeEncodeURI,a as slideInDown,b as slideInLeft,c as slideInRight,s as slideInUp,e as slideOutDown,f as slideOutLeft,g as slideOutRight,d as slideOutUp,n as startCase,t as toggleNoScroll}from"./screenSizeContext-c836ee25.js";export{d as deleteCookie,g as getCookie,s as setCookie}from"./cookieHelper-243ea413.js";import*as Z from"react";import"styled-components";export{M as MBTheme,t as theme}from"./theme-72c4ec13.js";export{a as abbreviateNumber,f as formatPill}from"./dataTransform-36b31b51.js";export{d as getCareApiDomain,g as getCurrentBaseUrl,a as getCurrentSsoUrl,c as getDiscoverApiDomain,b as getTogetherApiDomain}from"./routing-15bab0c1.js";export{f as formatHealthTool,g as getDynamicHealthTool,a as getDynamicHealthToolWithCache}from"./getDynamicHealthTool-7ca54784.js";export{g as getSocialList}from"./getSocialList-f6efdc64.js";export{V as Visible}from"./Visible-1cd4fcba.js";import"./Onboarding-17999cc6.js";import"date-fns/locale";import"./isProduction-f9284e0d.js";import"./gAssets.js";import"./tslib.es6-d8c90a45.js";import"@mantine/core";import"innertext";import"@mantine/dates";import"dayjs";import"./translationsContext-c72ee6fa.js";import"string-format";import"@mantine/hooks";import"lodash/throttle";import"date-fns";import"lodash/debounce";import"./types-ab2c0f6a.js";import"./index-6c68b9ba.js";import"./index-8fa42782.js";import"react-hook-form";import"date-fns/locale/en-US";import"date-fns/locale/id";import"date-fns/locale/vi";import"date-fns/locale/zh-TW";import"uuid";import"./core-eee94d3a.js";import"./normalizeLink-5c3d96d1.js";import"./index-6b2e40f9.js";import"./paths-d8677095.js";import"react-keyed-flatten-children";import"@mantine/carousel";import"slugify";import"@hookform/resolvers/yup";import"react-day-picker/DayPickerInput";import"react-dom";import"./index.styled-bcf9194a.js";import"./utils-95f50b85.js";import"react-contenteditable";import"dayjs/plugin/relativeTime";import"./index-4b6c2c38.js";import"react-loading-skeleton";import"lodash/shuffle";const W=e=>Z.createElement("svg",Object.assign({width:"1em",height:"1em",viewBox:"0 0 20 20",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"},e),Z.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.66797 9.99984C1.66797 5.39984 5.4013 1.6665 10.0013 1.6665C14.6013 1.6665 18.3346 5.39984 18.3346 9.99984C18.3346 14.5998 14.6013 18.3332 10.0013 18.3332C5.4013 18.3332 1.66797 14.5998 1.66797 9.99984ZM4.75147 10.5828L7.74314 13.5745C8.06814 13.8995 8.60147 13.8995 8.91814 13.5745L15.2431 7.24948C15.5681 6.92448 15.5681 6.39948 15.2431 6.07448C14.9181 5.74948 14.3931 5.74948 14.0681 6.07448L8.3348 11.8078L5.92647 9.40781C5.60147 9.08281 5.07647 9.08281 4.75147 9.40781C4.59543 9.56351 4.50773 9.77488 4.50773 9.99531C4.50773 10.2157 4.59543 10.4271 4.75147 10.5828Z"}),Z.createElement("path",{d:"M7.74322 13.5772L4.75155 10.5856C4.59551 10.4299 4.50781 10.2185 4.50781 9.99808C4.50781 9.77765 4.59551 9.56627 4.75155 9.41058C5.07655 9.08558 5.60155 9.08558 5.92655 9.41058L8.33488 11.8106L14.0682 6.07725C14.3932 5.75225 14.9182 5.75225 15.2432 6.07725C15.5682 6.40225 15.5682 6.92725 15.2432 7.25225L8.91822 13.5772C8.60155 13.9022 8.06822 13.9022 7.74322 13.5772Z",fill:"white"})),_=e=>Z.createElement("svg",Object.assign({width:"1em",height:"1em",viewBox:"0 0 24 24",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"},e),Z.createElement("path",{d:"M10.929 12.0002L14.75 8.17915C15.164 7.76515 15.164 7.09315 14.75 6.67915C14.336 6.26515 13.664 6.26515 13.25 6.67915L8.63605 11.2932C8.24505 11.6842 8.24505 12.3172 8.63605 12.7072L13.25 17.3212C13.664 17.7352 14.336 17.7352 14.75 17.3212C15.164 16.9072 15.164 16.2352 14.75 15.8212L10.929 12.0002Z"})),Q=e=>Z.createElement("svg",Object.assign({width:"1em",height:"1em",viewBox:"0 0 24 24",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"},e),Z.createElement("path",{d:"M14.071 12.0002L10.25 8.17915C9.83598 7.76515 9.83598 7.09315 10.25 6.67915C10.664 6.26515 11.336 6.26515 11.75 6.67915L16.364 11.2932C16.755 11.6842 16.755 12.3172 16.364 12.7072L11.75 17.3212C11.336 17.7352 10.664 17.7352 10.25 17.3212C9.83598 16.9072 9.83598 16.2352 10.25 15.8212L14.071 12.0002Z"})),X=e=>Z.createElement("svg",Object.assign({width:"1em",height:"1em",viewBox:"0 0 16 16",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"},e),Z.createElement("path",{d:"M7.80267 6.61943L10.35 9.16676C10.626 9.44276 11.074 9.44276 11.35 9.16676C11.626 8.89076 11.626 8.44276 11.35 8.16676L8.27401 5.09076C8.01334 4.8301 7.59134 4.8301 7.33134 5.09076L4.25534 8.16676C3.97934 8.44276 3.97934 8.89076 4.25534 9.16676C4.53134 9.44276 4.97934 9.44276 5.25534 9.16676L7.80267 6.61943Z"})),Y=e=>Z.createElement("svg",Object.assign({className:"spinner",viewBox:"0 0 50 50",fill:"currentColor",width:"1em",height:"1em"},e),Z.createElement("circle",{className:"path",cx:25,cy:25,r:20,stroke:"currentColor",strokeWidth:5})),$=e=>Z.createElement("svg",Object.assign({width:"1em",height:"1em",viewBox:"0 0 80 80",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),Z.createElement("path",{d:"M63.9688 40.6414L71.5135 36.8271H71.5214L69.2091 66.2105C69.1295 67.2226 68.8514 68.209 68.3905 69.1135C67.9296 70.018 67.2951 70.8229 66.5231 71.4821C65.7511 72.1414 64.8568 72.6421 63.8913 72.9556C62.9258 73.2692 61.908 73.3894 60.896 73.3095L13.7009 69.5939C12.2428 69.4829 10.8477 68.9538 9.68262 68.0701L37.6513 53.9349L63.9688 40.6414Z",fill:"#91CAFF"}),Z.createElement("path",{d:"M66.5154 30.7156L71.6092 36.5132L64.0645 40.3275L66.5154 30.7156Z",fill:"#2B62CD"}),Z.createElement("path",{d:"M66.03 20.0896L66.0298 20.0896L54.445 17.1371L33.1143 11.7035H33.1064L33.0912 11.6997L27.0869 10.1654L66.03 20.0896ZM66.03 20.0896C66.408 20.1854 66.7633 20.3548 67.0757 20.5882C67.3881 20.8215 67.6514 21.1141 67.8506 21.4493C68.0498 21.7845 68.1809 22.1557 68.2364 22.5417C68.2919 22.9276 68.2708 23.3207 68.1742 23.6985L68.1742 23.6986M66.03 20.0896L68.1742 23.6986M68.1742 23.6986L66.3914 30.6842L66.5125 30.7151M68.1742 23.6986L66.5125 30.7151M66.5125 30.7151L66.3914 30.6842L63.9545 40.241L37.7595 53.4735L16.9721 37.5413M66.5125 30.7151L16.9721 37.5413M16.9721 37.5413L17.075 37.4096L17.0911 37.3889L17.0976 37.3634L21.0735 21.7341L21.0805 21.7254L21.0871 21.6992L23.477 12.3089C23.6715 11.546 24.1611 10.8916 24.838 10.4896C25.515 10.0876 26.3239 9.97102 27.0868 10.1654L16.9721 37.5413Z",fill:"white",stroke:"#E4E8EC",strokeWidth:.25}),Z.createElement("path",{d:"M47.6766 9.2919L54.4861 17.0363L33.1367 11.598L36.9335 8.43973C38.4844 7.1591 40.4726 6.53198 42.4776 6.69102C44.4826 6.85005 46.3471 7.78278 47.6766 9.2919Z",fill:"#2B62CD"}),Z.createElement("path",{d:"M37.7462 53.6208L9.77752 67.756C8.72905 66.9794 7.89559 65.9486 7.3557 64.7608C6.81581 63.5729 6.58726 62.2672 6.6916 60.9666L9.00473 31.5911L16.7963 37.564L37.7462 53.6208Z",fill:"#65B5FF"}),Z.createElement("path",{d:"M20.9577 21.6777L16.9751 37.3332L16.7946 37.5644L9.00391 31.5914L20.9577 21.6777Z",fill:"#2B62CD"}),Z.createElement("path",{d:"M40.797 39.6731C46.1394 41.0733 51.6054 37.8775 53.0056 32.5351C54.4058 27.1927 51.21 21.7268 45.8676 20.3266C40.5252 18.9263 35.0592 22.1221 33.659 27.4645C32.2588 32.8069 35.4546 38.2729 40.797 39.6731Z",fill:"#00CB8A"}),Z.createElement("path",{d:"M42.0398 32.9697C41.6263 32.862 41.238 32.6738 40.8973 32.4158C40.5566 32.1578 40.2701 31.8352 40.0542 31.4663L39.2137 30.0279C39.1039 29.8324 39.0753 29.6016 39.134 29.3852C39.1927 29.1689 39.3341 28.9842 39.5277 28.871C39.7212 28.7579 39.9515 28.7252 40.1689 28.7802C40.3862 28.8352 40.5733 28.9733 40.6898 29.1649L41.5304 30.6033C41.6319 30.7769 41.7666 30.9289 41.9269 31.0504C42.0871 31.172 42.2698 31.2608 42.4643 31.3118C42.6589 31.3628 42.8616 31.375 43.0609 31.3477C43.2602 31.3203 43.4522 31.254 43.6258 31.1525L52.5607 26.5173C52.7613 26.4192 52.9924 26.4034 53.2045 26.4734C53.4166 26.5435 53.5929 26.6937 53.6956 26.892C53.7984 27.0903 53.8195 27.3209 53.7544 27.5346C53.6893 27.7483 53.5432 27.928 53.3473 28.0353L44.4483 32.6486C44.0877 32.8581 43.6894 32.9943 43.2761 33.0494C42.8628 33.1045 42.4427 33.0774 42.0398 32.9697Z",fill:"white"})),ee=e=>Z.createElement("svg",Object.assign({width:"1em",height:"1em",viewBox:"0 0 80 80",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),Z.createElement("path",{d:"M63.9688 40.6414L71.5135 36.8271H71.5214L69.2091 66.2105C69.1295 67.2226 68.8514 68.209 68.3905 69.1135C67.9296 70.018 67.2951 70.8229 66.5231 71.4821C65.7511 72.1414 64.8568 72.6421 63.8913 72.9556C62.9258 73.2692 61.908 73.3894 60.896 73.3095L13.7009 69.5939C12.2428 69.4829 10.8477 68.9538 9.68262 68.0701L37.6513 53.9349L63.9688 40.6414Z",fill:"#91CAFF"}),Z.createElement("path",{d:"M66.5154 30.7156L71.6092 36.5132L64.0645 40.3275L66.5154 30.7156Z",fill:"#2B62CD"}),Z.createElement("path",{d:"M65.9578 20.3722L65.9583 20.3723C66.2991 20.4587 66.6195 20.6115 66.9012 20.8218C67.1829 21.0322 67.4203 21.2961 67.5999 21.5983C67.7794 21.9005 67.8976 22.2352 67.9477 22.5832C67.9978 22.9312 67.9787 23.2856 67.8916 23.6262L67.8916 23.6264L66.1088 30.612L66.1088 30.6121L63.7046 40.0405L37.7915 53.1306L17.3693 37.4783L17.3803 37.4353L21.3406 21.8671L21.3476 21.8584L21.3698 21.7712L23.7596 12.381C23.7596 12.3809 23.7597 12.3809 23.7597 12.3808C23.9351 11.6929 24.3765 11.1028 24.9869 10.7404C25.5974 10.3779 26.3269 10.2727 27.0149 10.4481L33.019 11.9822L33.0697 11.9952H33.0777L54.3729 17.4197L54.373 17.4197L65.9578 20.3722Z",fill:"white",stroke:"#E4E8EC",strokeWidth:.833333}),Z.createElement("path",{d:"M47.6766 9.2919L54.4861 17.0363L33.1367 11.598L36.9335 8.43973C38.4844 7.1591 40.4726 6.53198 42.4776 6.69102C44.4826 6.85005 46.3471 7.78278 47.6766 9.2919Z",fill:"#2B62CD"}),Z.createElement("path",{d:"M37.7462 53.6208L9.77752 67.756C8.72905 66.9794 7.89559 65.9486 7.3557 64.7608C6.81581 63.5729 6.58726 62.2672 6.6916 60.9666L9.00473 31.5911L16.7963 37.564L37.7462 53.6208Z",fill:"#65B5FF"}),Z.createElement("path",{d:"M20.9577 21.6777L16.9751 37.3332L16.7946 37.5644L9.00391 31.5914L20.9577 21.6777Z",fill:"#2B62CD"}),Z.createElement("path",{d:"M36.2349 37.7184C40.4975 41.2301 46.7998 40.6212 50.3115 36.3586C53.8231 32.0959 53.2143 25.7936 48.9516 22.282C44.689 18.7703 38.3867 19.3792 34.875 23.6418C31.3634 27.9045 31.9722 34.2068 36.2349 37.7184Z",fill:"#FF5331"}),Z.createElement("g",{clipPath:"url(#clip0_1176_26159)"},Z.createElement("path",{d:"M48.4022 27.8621C48.317 27.6306 48.1433 27.4425 47.9195 27.3391C47.6956 27.2357 47.4398 27.2254 47.2084 27.3105L43.1437 28.8064L41.6479 24.7418C41.5597 24.5144 41.3858 24.3308 41.1635 24.2304C40.9413 24.1301 40.6885 24.1211 40.4596 24.2053C40.2308 24.2895 40.0442 24.4602 39.94 24.6807C39.8358 24.9012 39.8224 25.1538 39.9026 25.3841L41.3984 29.4487L37.3338 30.9445C37.2172 30.9851 37.1098 31.0486 37.018 31.1312C36.9262 31.2137 36.8517 31.3137 36.7989 31.4254C36.7462 31.537 36.7162 31.6581 36.7107 31.7815C36.7052 31.9048 36.7243 32.0281 36.767 32.144C36.8096 32.2598 36.8749 32.3661 36.9591 32.4565C37.0432 32.5469 37.1445 32.6196 37.2571 32.6704C37.3697 32.7212 37.4912 32.7491 37.6146 32.7524C37.7381 32.7558 37.861 32.7345 37.9761 32.6898L42.0407 31.194L43.5366 35.2586C43.6247 35.486 43.7987 35.6696 44.021 35.7699C44.2432 35.8703 44.496 35.8793 44.7248 35.7951C44.9537 35.7109 45.1403 35.5401 45.2445 35.3197C45.3487 35.0992 45.3621 34.8466 45.2819 34.6163L43.7861 30.5517L47.8507 29.0559C48.0821 28.9707 48.2702 28.797 48.3736 28.5732C48.477 28.3493 48.4873 28.0935 48.4022 27.8621Z",fill:"white"})),Z.createElement("defs",null,Z.createElement("clipPath",{id:"clip0_1176_26159"},Z.createElement("rect",{width:11.1603,height:11.1603,fill:"white",transform:"translate(39.8672 22.5942) rotate(24.7957)"})))),te=e=>Z.createElement("svg",Object.assign({width:"1em",height:"1em",viewBox:"0 0 17 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),Z.createElement("path",{d:"M14 0H3C1.61929 0 0.5 1.11929 0.5 2.5V13.5C0.5 14.8807 1.61929 16 3 16H14C15.3807 16 16.5 14.8807 16.5 13.5V2.5C16.5 1.11929 15.3807 0 14 0Z",fill:"#1778F2"}),Z.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.657 16V9.7495H12.2845L12.5 7.595H10.657L10.66 6.517C10.66 5.9555 10.71 5.6545 11.4715 5.6545H12.4885V3.5H10.861C8.906 3.5 8.2185 4.545 8.2185 6.302V7.5955H7V9.7495H8.2185V16H10.657Z",fill:"white"})),ae=e=>Z.createElement("svg",Object.assign({width:"1em",height:"1em",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),Z.createElement("path",{d:"M14.6819 8.15547C14.6819 7.57992 14.6353 7.15992 14.5345 6.72437H7.98047V9.32212H11.8275C11.75 9.96769 11.3312 10.9399 10.4004 11.5932L10.3874 11.6802L12.4596 13.29L12.6032 13.3044C13.9217 12.0832 14.6819 10.2866 14.6819 8.15547Z",fill:"#4285F4"}),Z.createElement("path",{d:"M7.98042 15.0001C9.86516 15.0001 11.4474 14.3778 12.6031 13.3045L10.4003 11.5934C9.81089 12.0056 9.01973 12.2934 7.98042 12.2934C6.13445 12.2934 4.5677 11.0723 4.0092 9.38452L3.92733 9.39149L1.77256 11.0637L1.74438 11.1423C2.8923 13.4289 5.2502 15.0001 7.98042 15.0001Z",fill:"#34A853"}),Z.createElement("path",{d:"M4.00915 9.38424C3.86178 8.94869 3.7765 8.48199 3.7765 7.99979C3.7765 7.51754 3.86178 7.05089 4.00139 6.61534L3.99749 6.52258L1.81572 4.82349L1.74434 4.85753C1.27123 5.80644 0.999756 6.87201 0.999756 7.99979C0.999756 9.12757 1.27123 10.1931 1.74434 11.142L4.00915 9.38424Z",fill:"#FBBC05"}),Z.createElement("path",{d:"M7.98042 3.70665C9.2912 3.70665 10.1754 4.27443 10.6796 4.7489L12.6497 2.82C11.4397 1.69223 9.86516 1 7.98042 1C5.2502 1 2.8923 2.5711 1.74438 4.85775L4.00144 6.61556C4.5677 4.92778 6.13445 3.70665 7.98042 3.70665Z",fill:"#EB4335"})),se=e=>Z.createElement("svg",Object.assign({width:"1em",height:"1em",viewBox:"0 0 24 24",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"},e),Z.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.71 4.54002C2.32 4.15002 2.32 3.52002 2.71 3.13002C3.1 2.74002 3.74 2.74002 4.13 3.13002L20.44 19.46C20.83 19.85 20.83 20.48 20.44 20.87C20.05 21.26 19.42 21.26 19.03 20.87L16.31 18.15C14.97 18.67 13.52 18.97 12 18.97C7 18.97 2.73 15.86 1 11.47C1.77 9.50002 3.06 7.80002 4.68 6.51002L2.71 4.54002ZM17 11.47C17 8.71002 14.76 6.47002 12 6.47002C11.49 6.47002 11 6.57002 10.53 6.71002L8.36 4.54002C9.51 4.17002 10.73 3.97002 12 3.97002C17 3.97002 21.27 7.08002 23 11.46C22.31 13.22 21.21 14.76 19.82 15.99L16.76 12.93C16.9 12.47 17 11.98 17 11.47ZM12 16.47C9.24 16.47 7 14.23 7 11.47C7 10.7 7.18 9.97002 7.49 9.33002L9.06 10.9C9.03 11.08 9 11.27 9 11.47C9 13.13 10.34 14.47 12 14.47C12.2 14.47 12.38 14.44 12.57 14.4L14.14 15.97C13.49 16.29 12.77 16.47 12 16.47ZM14.97 11.14C14.82 9.74002 13.72 8.65002 12.33 8.50002L14.97 11.14Z"})),oe=e=>Z.createElement("svg",Object.assign({width:"1em",height:"1em",viewBox:"0 0 25 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),Z.createElement("circle",{cx:12.5,cy:12,r:10,stroke:"#DBDFE5",strokeWidth:4}),Z.createElement("mask",{id:"path-2-inside-1_917_29592",fill:"white"},Z.createElement("path",{d:"M12.5 0C14.964 2.93833e-08 17.3683 0.758527 19.3863 2.17253C21.4042 3.58653 22.938 5.58746 23.7791 7.90347C24.6203 10.2195 24.7281 12.7383 24.0879 15.1177C23.4477 17.4971 22.0906 19.6218 20.2009 21.2031C18.3111 22.7843 15.9804 23.7456 13.5254 23.9561C11.0704 24.1667 8.61007 23.6164 6.47869 22.38C4.3473 21.1436 2.64819 19.281 1.6122 17.0454C0.576199 14.8097 0.253539 12.3093 0.688053 9.8839L4.59856 10.5845C4.3079 12.2069 4.52374 13.8795 5.21676 15.375C5.90977 16.8705 7.04637 18.1165 8.47213 18.9435C9.89789 19.7706 11.5437 20.1387 13.1859 19.9979C14.8282 19.857 16.3873 19.214 17.6514 18.1563C18.9155 17.0985 19.8233 15.6772 20.2516 14.0856C20.6798 12.4939 20.6077 10.8089 20.045 9.25969C19.4823 7.71042 18.4563 6.37193 17.1065 5.42605C15.7566 4.48017 14.1483 3.97277 12.5 3.97277L12.5 0Z"})),Z.createElement("path",{d:"M12.5 0C14.964 2.93833e-08 17.3683 0.758527 19.3863 2.17253C21.4042 3.58653 22.938 5.58746 23.7791 7.90347C24.6203 10.2195 24.7281 12.7383 24.0879 15.1177C23.4477 17.4971 22.0906 19.6218 20.2009 21.2031C18.3111 22.7843 15.9804 23.7456 13.5254 23.9561C11.0704 24.1667 8.61007 23.6164 6.47869 22.38C4.3473 21.1436 2.64819 19.281 1.6122 17.0454C0.576199 14.8097 0.253539 12.3093 0.688053 9.8839L4.59856 10.5845C4.3079 12.2069 4.52374 13.8795 5.21676 15.375C5.90977 16.8705 7.04637 18.1165 8.47213 18.9435C9.89789 19.7706 11.5437 20.1387 13.1859 19.9979C14.8282 19.857 16.3873 19.214 17.6514 18.1563C18.9155 17.0985 19.8233 15.6772 20.2516 14.0856C20.6798 12.4939 20.6077 10.8089 20.045 9.25969C19.4823 7.71042 18.4563 6.37193 17.1065 5.42605C15.7566 4.48017 14.1483 3.97277 12.5 3.97277L12.5 0Z",stroke:"#2D87F3",strokeWidth:8,mask:"url(#path-2-inside-1_917_29592)"},Z.createElement("animateTransform",{attributeName:"transform",attributeType:"XML",type:"rotate",from:"0 12.5 12",to:"360 12.5 12",dur:"2s",repeatCount:"indefinite"})));export{W as CheckCircle,_ as ChevronLeft,Q as ChevronRight,X as ChevronUp,Y as Circle,$ as EmailCheck,ee as EmailFail,te as Facebook,ae as Google,se as InVisible,oe as Spinning};
|
|
1
|
+
export{i as Types}from"./index-eed61604.js";export{i as Constants}from"./index-ef52a951.js";export{A as Alert,c as ArticleCard,d as ArticleCardV2,p as BMICardEmbed,t as BMRCardEmbed,q as BabyGrowthCardEmbed,r as BabyPoopEmbed,B as Badge,a as BorderHeading,w as Breadcrumbs,e as CategoryCard,C as Checkbox,f as CheckboxGroup,n as CookieAcceptConfirm,v as DateRangePicker,D as DueDateCardEmbed,F as FileDropdown,z as FixedBottomAdBlock,m as FloatButtonGroup,G as Grid,I as IconText,O as OvulationCardEmbed,u as PWGCardEmbed,P as Pagination,g as ProgressBar,R as RateStars,S as ScrollList,o as SeoHead,x as ShareContainer,y as ShareDrawer,i as SideMenu,h as StatisticCard,l as SurveyThankyouCard,s as THRCardEmbed,j as Table,k as Tabs,T as Tag,b as Toggle}from"./fixedBottomAdBlock-5ed62fc2.js";export{A as Avatar,L as LanguageSwitcher,d as NavigationLogoutPopup,e as NavigationProfileButton,N as NavigationV2,P as ProfilePopup,U as UserProfileNavigation,b as UserProfileNavigationHeader,c as UserProfileNavigationStats,g as getNavMenuContent,a as getNavMenuContentWithCache}from"./index-eef47a39.js";export{B as Button}from"./index-75e66b82.js";export{A as AuthorBadge,a as BookingBtn,B as BtnChoice,D as Divider}from"./index-b42eddeb.js";export{C as CaretDown,D as DefaultComponentGlobalContextData,F as Flag,G as GlobalData,H as Heading,L as LogoIcon,P as PureInput,S as StepRenderer,b as StepRendererContext,T as TextArea,a as TextDivider,d as TogetherComponentGlobalContext,e as TogetherComponentGlobalContextProvider,c as TogetherConstants}from"./utils-df78bdca.js";export{I as Input}from"./index-52cbdc13.js";export{C as Container,I as Icon,L as Label}from"./index-b7da5adf.js";export{L as Logo}from"./index-940a2837.js";export{A as AdBlock,D as DatePicker,c as DoctorInfo,a as Dropdown,M as MobileBottomNavigation,d as MobileBottomNavigationIcon,R as Radio,b as RadioGroup,S as SurveyQuestionCard,T as ToolsBannerCard}from"./index-30364853.js";export{T as Text}from"./index-164612c2.js";export{D as Drawer,R as RadioImageGroup}from"./index-33a767db.js";export{C as CustomReferenceDot,I as ImageWrap}from"./index-7c0c9a23.js";export{P as Popup,d as TogetherDataTransforms}from"./dataTransform-474b6557.js";export{M as Modal}from"./index-ffe1f1b4.js";export{P as PillCarousel}from"./index-aa0f1be7.js";export{A as AddressInput}from"./index-13b5fcc4.js";export{Footer}from"./footer.js";export{u as useTranslations}from"./useTranslations-7597d802.js";export{M as MEASURE_ELEMENT_CLASS,u as useScrollbarSize}from"./useScrollbarSize-ba68fbbc.js";export{u as useFbDataLayer,a as usePrevious,b as useRafState}from"./useRafState-326a32a7.js";export{u as useHealthToolsCache}from"./useHealthToolCache-e518b9cb.js";export{u as useIsInit}from"./useIsInit-3a06bd4a.js";export{i as initSharedOutSideClickListener,a as useOutsideClick,u as useSharedOutsideClick}from"./useOutsideClick-c00670e4.js";export{u as useInitialMount,a as useUniqueId}from"./useUniqueId-6daecd5a.js";export{g as CardAuthor,C as CardLink,D as CardPost,E as CardPostPopoverMore,b as CardReactions,F as CardReply,G as CardReplyPopover,K as Close,h as CreateNewPostContent,i as CreatePostDescription,j as CreatePostTitle,s as ImagePreviewPopup,I as InputCommentBar,e as LabelPin,d as LabelSortPin,f as LabelSorting,L as Loading,H as PopoverMenu,P as PopupDanger,l as PopupDoctor,k as PopupExpert,o as PopupFrame,m as PopupHospital,r as PostContent,w as PostImagePreview,v as PostSingleImageViewPopup,z as ProfileDetail,y as ProfileDetailModal,q as ShareBox,S as SharePopup,B as SkipQuestionOfExpertBtn,x as SocialLinkPreview,J as SourceList,p as SubmitReportForm,A as TabNameInProfileDetail,c as TagTopic,T as TogetherAuthConfigContext,a as TogetherAuthConfigContextProvider,t as TogetherTypes,n as TopicSelectList,V as VerifiedTag,u as useTogetherAuthRequiredAction}from"./types-b03d781d.js";export{U as UserAvatar}from"./index.styled-6b23e614.js";export{B as BookingSearchBar,a as BookingSearchBarV2,t as CareTypes,C as ChevronDown}from"./types-eac9771c.js";export{c as CareConstants}from"./constants-254a4df3.js";export{a as ageGenerate,c as convertLocalizedStringToNumber,l as localizeNumberFormat}from"./localizeNumberFormat-947fe3bd.js";export{B as Breakpoints,M as MediaQueries,S as ScreenSizeContext,q as ScreenSizeContextProvider,h as fadeIn,i as formatUrlWithPageParam,j as getBoundariesFromMediaQueryKey,k as getPopupWrapperDom,p as getWindowSizeGroups,l as getWrapperDomWithSelector,m as makeParams,o as safeEncodeURI,a as slideInDown,b as slideInLeft,c as slideInRight,s as slideInUp,e as slideOutDown,f as slideOutLeft,g as slideOutRight,d as slideOutUp,n as startCase,t as toggleNoScroll}from"./screenSizeContext-987c451f.js";export{d as deleteCookie,g as getCookie,s as setCookie}from"./cookieHelper-f8486f9d.js";import*as Z from"react";import"styled-components";export{M as MBTheme,t as theme}from"./theme-31acd0c2.js";export{a as abbreviateNumber,f as formatPill}from"./dataTransform-5e76271a.js";export{d as getCareApiDomain,g as getCurrentBaseUrl,a as getCurrentSsoUrl,c as getDiscoverApiDomain,b as getTogetherApiDomain}from"./routing-8b859474.js";export{f as formatHealthTool,g as getDynamicHealthTool,a as getDynamicHealthToolWithCache}from"./getDynamicHealthTool-5c62bbce.js";export{g as getSocialList}from"./getSocialList-e2edc6f8.js";export{V as Visible}from"./Visible-ac315efb.js";import"./Onboarding-ad49870c.js";import"date-fns/locale";import"./isProduction-8ce1051d.js";import"./gAssets.js";import"./tslib.es6-c8835980.js";import"@mantine/core";import"innertext";import"@mantine/dates";import"dayjs";import"./translationsContext-e9aaabb6.js";import"string-format";import"@mantine/hooks";import"lodash/throttle";import"date-fns";import"lodash/debounce";import"./types-6686141b.js";import"./index-258ac3a9.js";import"./index-c7061390.js";import"react-hook-form";import"date-fns/locale/en-US";import"date-fns/locale/id";import"date-fns/locale/vi";import"date-fns/locale/zh-TW";import"uuid";import"./core-7af1314a.js";import"./normalizeLink-6d537179.js";import"./index-7dbac417.js";import"./paths-d4225106.js";import"react-keyed-flatten-children";import"@mantine/carousel";import"slugify";import"@hookform/resolvers/yup";import"react-day-picker/DayPickerInput";import"react-dom";import"./index.styled-d630ba54.js";import"./utils-8db4813e.js";import"react-contenteditable";import"dayjs/plugin/relativeTime";import"./index-699a67a1.js";import"react-loading-skeleton";import"lodash/shuffle";const W=e=>Z.createElement("svg",Object.assign({width:"1em",height:"1em",viewBox:"0 0 20 20",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"},e),Z.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.66797 9.99984C1.66797 5.39984 5.4013 1.6665 10.0013 1.6665C14.6013 1.6665 18.3346 5.39984 18.3346 9.99984C18.3346 14.5998 14.6013 18.3332 10.0013 18.3332C5.4013 18.3332 1.66797 14.5998 1.66797 9.99984ZM4.75147 10.5828L7.74314 13.5745C8.06814 13.8995 8.60147 13.8995 8.91814 13.5745L15.2431 7.24948C15.5681 6.92448 15.5681 6.39948 15.2431 6.07448C14.9181 5.74948 14.3931 5.74948 14.0681 6.07448L8.3348 11.8078L5.92647 9.40781C5.60147 9.08281 5.07647 9.08281 4.75147 9.40781C4.59543 9.56351 4.50773 9.77488 4.50773 9.99531C4.50773 10.2157 4.59543 10.4271 4.75147 10.5828Z"}),Z.createElement("path",{d:"M7.74322 13.5772L4.75155 10.5856C4.59551 10.4299 4.50781 10.2185 4.50781 9.99808C4.50781 9.77765 4.59551 9.56627 4.75155 9.41058C5.07655 9.08558 5.60155 9.08558 5.92655 9.41058L8.33488 11.8106L14.0682 6.07725C14.3932 5.75225 14.9182 5.75225 15.2432 6.07725C15.5682 6.40225 15.5682 6.92725 15.2432 7.25225L8.91822 13.5772C8.60155 13.9022 8.06822 13.9022 7.74322 13.5772Z",fill:"white"})),_=e=>Z.createElement("svg",Object.assign({width:"1em",height:"1em",viewBox:"0 0 24 24",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"},e),Z.createElement("path",{d:"M10.929 12.0002L14.75 8.17915C15.164 7.76515 15.164 7.09315 14.75 6.67915C14.336 6.26515 13.664 6.26515 13.25 6.67915L8.63605 11.2932C8.24505 11.6842 8.24505 12.3172 8.63605 12.7072L13.25 17.3212C13.664 17.7352 14.336 17.7352 14.75 17.3212C15.164 16.9072 15.164 16.2352 14.75 15.8212L10.929 12.0002Z"})),Q=e=>Z.createElement("svg",Object.assign({width:"1em",height:"1em",viewBox:"0 0 24 24",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"},e),Z.createElement("path",{d:"M14.071 12.0002L10.25 8.17915C9.83598 7.76515 9.83598 7.09315 10.25 6.67915C10.664 6.26515 11.336 6.26515 11.75 6.67915L16.364 11.2932C16.755 11.6842 16.755 12.3172 16.364 12.7072L11.75 17.3212C11.336 17.7352 10.664 17.7352 10.25 17.3212C9.83598 16.9072 9.83598 16.2352 10.25 15.8212L14.071 12.0002Z"})),X=e=>Z.createElement("svg",Object.assign({width:"1em",height:"1em",viewBox:"0 0 16 16",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"},e),Z.createElement("path",{d:"M7.80267 6.61943L10.35 9.16676C10.626 9.44276 11.074 9.44276 11.35 9.16676C11.626 8.89076 11.626 8.44276 11.35 8.16676L8.27401 5.09076C8.01334 4.8301 7.59134 4.8301 7.33134 5.09076L4.25534 8.16676C3.97934 8.44276 3.97934 8.89076 4.25534 9.16676C4.53134 9.44276 4.97934 9.44276 5.25534 9.16676L7.80267 6.61943Z"})),Y=e=>Z.createElement("svg",Object.assign({className:"spinner",viewBox:"0 0 50 50",fill:"currentColor",width:"1em",height:"1em"},e),Z.createElement("circle",{className:"path",cx:25,cy:25,r:20,stroke:"currentColor",strokeWidth:5})),$=e=>Z.createElement("svg",Object.assign({width:"1em",height:"1em",viewBox:"0 0 80 80",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),Z.createElement("path",{d:"M63.9688 40.6414L71.5135 36.8271H71.5214L69.2091 66.2105C69.1295 67.2226 68.8514 68.209 68.3905 69.1135C67.9296 70.018 67.2951 70.8229 66.5231 71.4821C65.7511 72.1414 64.8568 72.6421 63.8913 72.9556C62.9258 73.2692 61.908 73.3894 60.896 73.3095L13.7009 69.5939C12.2428 69.4829 10.8477 68.9538 9.68262 68.0701L37.6513 53.9349L63.9688 40.6414Z",fill:"#91CAFF"}),Z.createElement("path",{d:"M66.5154 30.7156L71.6092 36.5132L64.0645 40.3275L66.5154 30.7156Z",fill:"#2B62CD"}),Z.createElement("path",{d:"M66.03 20.0896L66.0298 20.0896L54.445 17.1371L33.1143 11.7035H33.1064L33.0912 11.6997L27.0869 10.1654L66.03 20.0896ZM66.03 20.0896C66.408 20.1854 66.7633 20.3548 67.0757 20.5882C67.3881 20.8215 67.6514 21.1141 67.8506 21.4493C68.0498 21.7845 68.1809 22.1557 68.2364 22.5417C68.2919 22.9276 68.2708 23.3207 68.1742 23.6985L68.1742 23.6986M66.03 20.0896L68.1742 23.6986M68.1742 23.6986L66.3914 30.6842L66.5125 30.7151M68.1742 23.6986L66.5125 30.7151M66.5125 30.7151L66.3914 30.6842L63.9545 40.241L37.7595 53.4735L16.9721 37.5413M66.5125 30.7151L16.9721 37.5413M16.9721 37.5413L17.075 37.4096L17.0911 37.3889L17.0976 37.3634L21.0735 21.7341L21.0805 21.7254L21.0871 21.6992L23.477 12.3089C23.6715 11.546 24.1611 10.8916 24.838 10.4896C25.515 10.0876 26.3239 9.97102 27.0868 10.1654L16.9721 37.5413Z",fill:"white",stroke:"#E4E8EC",strokeWidth:.25}),Z.createElement("path",{d:"M47.6766 9.2919L54.4861 17.0363L33.1367 11.598L36.9335 8.43973C38.4844 7.1591 40.4726 6.53198 42.4776 6.69102C44.4826 6.85005 46.3471 7.78278 47.6766 9.2919Z",fill:"#2B62CD"}),Z.createElement("path",{d:"M37.7462 53.6208L9.77752 67.756C8.72905 66.9794 7.89559 65.9486 7.3557 64.7608C6.81581 63.5729 6.58726 62.2672 6.6916 60.9666L9.00473 31.5911L16.7963 37.564L37.7462 53.6208Z",fill:"#65B5FF"}),Z.createElement("path",{d:"M20.9577 21.6777L16.9751 37.3332L16.7946 37.5644L9.00391 31.5914L20.9577 21.6777Z",fill:"#2B62CD"}),Z.createElement("path",{d:"M40.797 39.6731C46.1394 41.0733 51.6054 37.8775 53.0056 32.5351C54.4058 27.1927 51.21 21.7268 45.8676 20.3266C40.5252 18.9263 35.0592 22.1221 33.659 27.4645C32.2588 32.8069 35.4546 38.2729 40.797 39.6731Z",fill:"#00CB8A"}),Z.createElement("path",{d:"M42.0398 32.9697C41.6263 32.862 41.238 32.6738 40.8973 32.4158C40.5566 32.1578 40.2701 31.8352 40.0542 31.4663L39.2137 30.0279C39.1039 29.8324 39.0753 29.6016 39.134 29.3852C39.1927 29.1689 39.3341 28.9842 39.5277 28.871C39.7212 28.7579 39.9515 28.7252 40.1689 28.7802C40.3862 28.8352 40.5733 28.9733 40.6898 29.1649L41.5304 30.6033C41.6319 30.7769 41.7666 30.9289 41.9269 31.0504C42.0871 31.172 42.2698 31.2608 42.4643 31.3118C42.6589 31.3628 42.8616 31.375 43.0609 31.3477C43.2602 31.3203 43.4522 31.254 43.6258 31.1525L52.5607 26.5173C52.7613 26.4192 52.9924 26.4034 53.2045 26.4734C53.4166 26.5435 53.5929 26.6937 53.6956 26.892C53.7984 27.0903 53.8195 27.3209 53.7544 27.5346C53.6893 27.7483 53.5432 27.928 53.3473 28.0353L44.4483 32.6486C44.0877 32.8581 43.6894 32.9943 43.2761 33.0494C42.8628 33.1045 42.4427 33.0774 42.0398 32.9697Z",fill:"white"})),ee=e=>Z.createElement("svg",Object.assign({width:"1em",height:"1em",viewBox:"0 0 80 80",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),Z.createElement("path",{d:"M63.9688 40.6414L71.5135 36.8271H71.5214L69.2091 66.2105C69.1295 67.2226 68.8514 68.209 68.3905 69.1135C67.9296 70.018 67.2951 70.8229 66.5231 71.4821C65.7511 72.1414 64.8568 72.6421 63.8913 72.9556C62.9258 73.2692 61.908 73.3894 60.896 73.3095L13.7009 69.5939C12.2428 69.4829 10.8477 68.9538 9.68262 68.0701L37.6513 53.9349L63.9688 40.6414Z",fill:"#91CAFF"}),Z.createElement("path",{d:"M66.5154 30.7156L71.6092 36.5132L64.0645 40.3275L66.5154 30.7156Z",fill:"#2B62CD"}),Z.createElement("path",{d:"M65.9578 20.3722L65.9583 20.3723C66.2991 20.4587 66.6195 20.6115 66.9012 20.8218C67.1829 21.0322 67.4203 21.2961 67.5999 21.5983C67.7794 21.9005 67.8976 22.2352 67.9477 22.5832C67.9978 22.9312 67.9787 23.2856 67.8916 23.6262L67.8916 23.6264L66.1088 30.612L66.1088 30.6121L63.7046 40.0405L37.7915 53.1306L17.3693 37.4783L17.3803 37.4353L21.3406 21.8671L21.3476 21.8584L21.3698 21.7712L23.7596 12.381C23.7596 12.3809 23.7597 12.3809 23.7597 12.3808C23.9351 11.6929 24.3765 11.1028 24.9869 10.7404C25.5974 10.3779 26.3269 10.2727 27.0149 10.4481L33.019 11.9822L33.0697 11.9952H33.0777L54.3729 17.4197L54.373 17.4197L65.9578 20.3722Z",fill:"white",stroke:"#E4E8EC",strokeWidth:.833333}),Z.createElement("path",{d:"M47.6766 9.2919L54.4861 17.0363L33.1367 11.598L36.9335 8.43973C38.4844 7.1591 40.4726 6.53198 42.4776 6.69102C44.4826 6.85005 46.3471 7.78278 47.6766 9.2919Z",fill:"#2B62CD"}),Z.createElement("path",{d:"M37.7462 53.6208L9.77752 67.756C8.72905 66.9794 7.89559 65.9486 7.3557 64.7608C6.81581 63.5729 6.58726 62.2672 6.6916 60.9666L9.00473 31.5911L16.7963 37.564L37.7462 53.6208Z",fill:"#65B5FF"}),Z.createElement("path",{d:"M20.9577 21.6777L16.9751 37.3332L16.7946 37.5644L9.00391 31.5914L20.9577 21.6777Z",fill:"#2B62CD"}),Z.createElement("path",{d:"M36.2349 37.7184C40.4975 41.2301 46.7998 40.6212 50.3115 36.3586C53.8231 32.0959 53.2143 25.7936 48.9516 22.282C44.689 18.7703 38.3867 19.3792 34.875 23.6418C31.3634 27.9045 31.9722 34.2068 36.2349 37.7184Z",fill:"#FF5331"}),Z.createElement("g",{clipPath:"url(#clip0_1176_26159)"},Z.createElement("path",{d:"M48.4022 27.8621C48.317 27.6306 48.1433 27.4425 47.9195 27.3391C47.6956 27.2357 47.4398 27.2254 47.2084 27.3105L43.1437 28.8064L41.6479 24.7418C41.5597 24.5144 41.3858 24.3308 41.1635 24.2304C40.9413 24.1301 40.6885 24.1211 40.4596 24.2053C40.2308 24.2895 40.0442 24.4602 39.94 24.6807C39.8358 24.9012 39.8224 25.1538 39.9026 25.3841L41.3984 29.4487L37.3338 30.9445C37.2172 30.9851 37.1098 31.0486 37.018 31.1312C36.9262 31.2137 36.8517 31.3137 36.7989 31.4254C36.7462 31.537 36.7162 31.6581 36.7107 31.7815C36.7052 31.9048 36.7243 32.0281 36.767 32.144C36.8096 32.2598 36.8749 32.3661 36.9591 32.4565C37.0432 32.5469 37.1445 32.6196 37.2571 32.6704C37.3697 32.7212 37.4912 32.7491 37.6146 32.7524C37.7381 32.7558 37.861 32.7345 37.9761 32.6898L42.0407 31.194L43.5366 35.2586C43.6247 35.486 43.7987 35.6696 44.021 35.7699C44.2432 35.8703 44.496 35.8793 44.7248 35.7951C44.9537 35.7109 45.1403 35.5401 45.2445 35.3197C45.3487 35.0992 45.3621 34.8466 45.2819 34.6163L43.7861 30.5517L47.8507 29.0559C48.0821 28.9707 48.2702 28.797 48.3736 28.5732C48.477 28.3493 48.4873 28.0935 48.4022 27.8621Z",fill:"white"})),Z.createElement("defs",null,Z.createElement("clipPath",{id:"clip0_1176_26159"},Z.createElement("rect",{width:11.1603,height:11.1603,fill:"white",transform:"translate(39.8672 22.5942) rotate(24.7957)"})))),ae=e=>Z.createElement("svg",Object.assign({width:"1em",height:"1em",viewBox:"0 0 17 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),Z.createElement("path",{d:"M14 0H3C1.61929 0 0.5 1.11929 0.5 2.5V13.5C0.5 14.8807 1.61929 16 3 16H14C15.3807 16 16.5 14.8807 16.5 13.5V2.5C16.5 1.11929 15.3807 0 14 0Z",fill:"#1778F2"}),Z.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.657 16V9.7495H12.2845L12.5 7.595H10.657L10.66 6.517C10.66 5.9555 10.71 5.6545 11.4715 5.6545H12.4885V3.5H10.861C8.906 3.5 8.2185 4.545 8.2185 6.302V7.5955H7V9.7495H8.2185V16H10.657Z",fill:"white"})),te=e=>Z.createElement("svg",Object.assign({width:"1em",height:"1em",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),Z.createElement("path",{d:"M14.6819 8.15547C14.6819 7.57992 14.6353 7.15992 14.5345 6.72437H7.98047V9.32212H11.8275C11.75 9.96769 11.3312 10.9399 10.4004 11.5932L10.3874 11.6802L12.4596 13.29L12.6032 13.3044C13.9217 12.0832 14.6819 10.2866 14.6819 8.15547Z",fill:"#4285F4"}),Z.createElement("path",{d:"M7.98042 15.0001C9.86516 15.0001 11.4474 14.3778 12.6031 13.3045L10.4003 11.5934C9.81089 12.0056 9.01973 12.2934 7.98042 12.2934C6.13445 12.2934 4.5677 11.0723 4.0092 9.38452L3.92733 9.39149L1.77256 11.0637L1.74438 11.1423C2.8923 13.4289 5.2502 15.0001 7.98042 15.0001Z",fill:"#34A853"}),Z.createElement("path",{d:"M4.00915 9.38424C3.86178 8.94869 3.7765 8.48199 3.7765 7.99979C3.7765 7.51754 3.86178 7.05089 4.00139 6.61534L3.99749 6.52258L1.81572 4.82349L1.74434 4.85753C1.27123 5.80644 0.999756 6.87201 0.999756 7.99979C0.999756 9.12757 1.27123 10.1931 1.74434 11.142L4.00915 9.38424Z",fill:"#FBBC05"}),Z.createElement("path",{d:"M7.98042 3.70665C9.2912 3.70665 10.1754 4.27443 10.6796 4.7489L12.6497 2.82C11.4397 1.69223 9.86516 1 7.98042 1C5.2502 1 2.8923 2.5711 1.74438 4.85775L4.00144 6.61556C4.5677 4.92778 6.13445 3.70665 7.98042 3.70665Z",fill:"#EB4335"})),se=e=>Z.createElement("svg",Object.assign({width:"1em",height:"1em",viewBox:"0 0 24 24",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"},e),Z.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.71 4.54002C2.32 4.15002 2.32 3.52002 2.71 3.13002C3.1 2.74002 3.74 2.74002 4.13 3.13002L20.44 19.46C20.83 19.85 20.83 20.48 20.44 20.87C20.05 21.26 19.42 21.26 19.03 20.87L16.31 18.15C14.97 18.67 13.52 18.97 12 18.97C7 18.97 2.73 15.86 1 11.47C1.77 9.50002 3.06 7.80002 4.68 6.51002L2.71 4.54002ZM17 11.47C17 8.71002 14.76 6.47002 12 6.47002C11.49 6.47002 11 6.57002 10.53 6.71002L8.36 4.54002C9.51 4.17002 10.73 3.97002 12 3.97002C17 3.97002 21.27 7.08002 23 11.46C22.31 13.22 21.21 14.76 19.82 15.99L16.76 12.93C16.9 12.47 17 11.98 17 11.47ZM12 16.47C9.24 16.47 7 14.23 7 11.47C7 10.7 7.18 9.97002 7.49 9.33002L9.06 10.9C9.03 11.08 9 11.27 9 11.47C9 13.13 10.34 14.47 12 14.47C12.2 14.47 12.38 14.44 12.57 14.4L14.14 15.97C13.49 16.29 12.77 16.47 12 16.47ZM14.97 11.14C14.82 9.74002 13.72 8.65002 12.33 8.50002L14.97 11.14Z"})),oe=e=>Z.createElement("svg",Object.assign({width:"1em",height:"1em",viewBox:"0 0 25 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),Z.createElement("circle",{cx:12.5,cy:12,r:10,stroke:"#DBDFE5",strokeWidth:4}),Z.createElement("mask",{id:"path-2-inside-1_917_29592",fill:"white"},Z.createElement("path",{d:"M12.5 0C14.964 2.93833e-08 17.3683 0.758527 19.3863 2.17253C21.4042 3.58653 22.938 5.58746 23.7791 7.90347C24.6203 10.2195 24.7281 12.7383 24.0879 15.1177C23.4477 17.4971 22.0906 19.6218 20.2009 21.2031C18.3111 22.7843 15.9804 23.7456 13.5254 23.9561C11.0704 24.1667 8.61007 23.6164 6.47869 22.38C4.3473 21.1436 2.64819 19.281 1.6122 17.0454C0.576199 14.8097 0.253539 12.3093 0.688053 9.8839L4.59856 10.5845C4.3079 12.2069 4.52374 13.8795 5.21676 15.375C5.90977 16.8705 7.04637 18.1165 8.47213 18.9435C9.89789 19.7706 11.5437 20.1387 13.1859 19.9979C14.8282 19.857 16.3873 19.214 17.6514 18.1563C18.9155 17.0985 19.8233 15.6772 20.2516 14.0856C20.6798 12.4939 20.6077 10.8089 20.045 9.25969C19.4823 7.71042 18.4563 6.37193 17.1065 5.42605C15.7566 4.48017 14.1483 3.97277 12.5 3.97277L12.5 0Z"})),Z.createElement("path",{d:"M12.5 0C14.964 2.93833e-08 17.3683 0.758527 19.3863 2.17253C21.4042 3.58653 22.938 5.58746 23.7791 7.90347C24.6203 10.2195 24.7281 12.7383 24.0879 15.1177C23.4477 17.4971 22.0906 19.6218 20.2009 21.2031C18.3111 22.7843 15.9804 23.7456 13.5254 23.9561C11.0704 24.1667 8.61007 23.6164 6.47869 22.38C4.3473 21.1436 2.64819 19.281 1.6122 17.0454C0.576199 14.8097 0.253539 12.3093 0.688053 9.8839L4.59856 10.5845C4.3079 12.2069 4.52374 13.8795 5.21676 15.375C5.90977 16.8705 7.04637 18.1165 8.47213 18.9435C9.89789 19.7706 11.5437 20.1387 13.1859 19.9979C14.8282 19.857 16.3873 19.214 17.6514 18.1563C18.9155 17.0985 19.8233 15.6772 20.2516 14.0856C20.6798 12.4939 20.6077 10.8089 20.045 9.25969C19.4823 7.71042 18.4563 6.37193 17.1065 5.42605C15.7566 4.48017 14.1483 3.97277 12.5 3.97277L12.5 0Z",stroke:"#2D87F3",strokeWidth:8,mask:"url(#path-2-inside-1_917_29592)"},Z.createElement("animateTransform",{attributeName:"transform",attributeType:"XML",type:"rotate",from:"0 12.5 12",to:"360 12.5 12",dur:"2s",repeatCount:"indefinite"})));export{W as CheckCircle,_ as ChevronLeft,Q as ChevronRight,X as ChevronUp,Y as Circle,$ as EmailCheck,ee as EmailFail,ae as Facebook,te as Google,se as InVisible,oe as Spinning};
|