@hhgtech/hhg-components 1.28.36 → 1.28.37
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.js +1 -1
- package/build/components/atoms/avatar/index.styled.d.ts +2 -1
- package/build/components/atoms/backdrop/index.styled.d.ts +2 -1
- package/build/components/atoms/checkbox/index.styled.d.ts +2 -1
- package/build/components/atoms/grid/index.styled.d.ts +2 -1
- package/build/components/atoms/logo/index.styled.d.ts +3 -2
- package/build/components.js +1 -1
- package/build/{constants-437bb4bf.js → constants-8ef08ff5.js} +1 -1
- package/build/{constants-80dd2233.js → constants-e54aa389.js} +1 -1
- package/build/constants.js +1 -1
- package/build/core-ba7d65c8.js +1 -0
- package/build/ecom.js +1 -1
- package/build/esm/babyGrowth.js +2 -2
- package/build/esm/cache.js +1 -1
- package/build/esm/care.js +1 -1
- package/build/esm/components/atoms/avatar/index.styled.d.ts +2 -1
- package/build/esm/components/atoms/backdrop/index.styled.d.ts +2 -1
- package/build/esm/components/atoms/checkbox/index.styled.d.ts +2 -1
- package/build/esm/components/atoms/grid/index.styled.d.ts +2 -1
- package/build/esm/components/atoms/logo/index.styled.d.ts +3 -2
- package/build/esm/components.js +1 -1
- package/build/esm/{constants-4c45be75.js → constants-2b76d121.js} +1 -1
- package/build/esm/{constants-c3b0c92c.js → constants-6cfaa1ef.js} +2 -2
- package/build/esm/constants.js +1 -1
- package/build/esm/{core-5b21c19e.js → core-18ff4cb5.js} +1 -1
- package/build/esm/ecom.js +1 -1
- package/build/esm/footer.js +1 -1
- package/build/esm/gAssets.js +1 -1
- package/build/esm/getDynamicHealthTool-7989183b.js +1 -0
- package/build/esm/{getSocialList-3e7a32e3.js → getSocialList-5330dbd2.js} +1 -1
- package/build/esm/hooks.js +1 -1
- package/build/esm/i18n.js +1 -1
- package/build/esm/i18nV2.js +1 -1
- package/build/esm/{index-c9c584ed.js → index-03141739.js} +1 -1
- package/build/esm/{index-6536dd4e.js → index-064bc751.js} +1 -1
- package/build/esm/index-12a2d8bc.js +1 -0
- package/build/esm/{index-c22300e9.js → index-162b9bde.js} +1 -1
- package/build/esm/{index-f64ac5b4.js → index-2b4575ac.js} +1 -1
- package/build/esm/{index-f75306ca.js → index-2be76d22.js} +1 -1
- package/build/esm/index-5fdbf5bc.js +177 -0
- package/build/esm/{index-e7f889b2.js → index-60f16dee.js} +1 -1
- package/build/esm/{index-72cd7c00.js → index-6127f94b.js} +1 -1
- package/build/esm/index-6e2dd27b.js +1 -0
- package/build/esm/{index-a60bd3f2.js → index-74cef015.js} +1 -1
- package/build/esm/index-752b7c3f.js +1 -0
- package/build/esm/{index-17537d5b.js → index-7684a5b9.js} +1 -1
- package/build/esm/index-778d5fb2.js +1 -0
- package/build/esm/{index-15c00b1c.js → index-79f41857.js} +1 -1
- package/build/esm/index-84c08ad9.js +1 -0
- package/build/esm/{index-9d86c3a8.js → index-8f2fcc98.js} +1 -1
- package/build/esm/index-956cdde0.js +1 -0
- package/build/esm/{index-4eb2530b.js → index-9991cfb3.js} +1 -1
- package/build/esm/{index-17d273a3.js → index-a2e81576.js} +1 -1
- package/build/esm/{index-f0206e98.js → index-c9737971.js} +1 -1
- package/build/esm/{index-6c2d86ad.js → index-fa625a55.js} +1 -1
- package/build/esm/index.css +3 -1
- package/build/esm/index.js +1 -1
- package/build/esm/{index.styled-57535894.js → index.styled-17af4657.js} +1 -1
- package/build/esm/{index.styled-780df456.js → index.styled-36cb24ce.js} +1 -1
- package/build/esm/{index.styled-551f3c76.js → index.styled-46a99590.js} +1 -1
- package/build/esm/{index.styled-5c99d64b.js → index.styled-a25d7261.js} +87 -87
- package/build/esm/{index.styles-874b1834.js → index.styles-671382bc.js} +116 -335
- 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/onboardingV2.js +9 -9
- package/build/esm/pwg.js +1 -1
- package/build/esm/{routing-a8a2d2fd.js → routing-ec23ed74.js} +1 -1
- package/build/esm/screenSizeContext-18a2ae59.js +81 -0
- package/build/esm/subot.js +1 -1
- package/build/esm/together.js +1 -1
- package/build/esm/{types-07a8f7f9.js → types-232e79d1.js} +1 -1
- package/build/esm/{types-9b65a599.js → types-e1669387.js} +1 -1
- package/build/esm/types.js +1 -1
- package/build/esm/{useCategory-8582dedd.js → useCategory-00053487.js} +1 -1
- package/build/esm/useHealthToolCache-cfa13b2f.js +1 -0
- package/build/esm/{usePlacesAutocomplete-3f0cff61.js → usePlacesAutocomplete-07f0fc32.js} +1 -1
- package/build/esm/{useRafState-27d2b972.js → useRafState-9968ee17.js} +1 -1
- package/build/esm/{useTranslations-14b7fcc5.js → useTranslations-d963b37f.js} +1 -1
- package/build/esm/utils-892d8a65.js +1 -0
- package/build/esm/{utils-0b2c5aec.js → utils-98561d5e.js} +1 -1
- package/build/esm/vaccination.js +11 -11
- package/build/footer.js +1 -1
- package/build/gAssets.js +1 -1
- package/build/getDynamicHealthTool-a7d75452.js +1 -0
- package/build/{getSocialList-72284d55.js → getSocialList-9e58358a.js} +1 -1
- package/build/hooks.js +1 -1
- package/build/i18n.js +1 -1
- package/build/i18nV2.js +1 -1
- package/build/index-01f4346e.js +1 -0
- package/build/index-1763366b.js +1 -0
- package/build/{index-67f50ae5.js → index-2241f0a7.js} +1 -1
- package/build/{index-a527fd86.js → index-24584ae5.js} +1 -1
- package/build/{index-c9dc742a.js → index-3f6899fe.js} +1 -1
- package/build/{index-cc31ada4.js → index-5a341117.js} +1 -1
- package/build/{index-536d19f8.js → index-63e33ff2.js} +1 -1
- package/build/{index-88ff79b6.js → index-6a76dedf.js} +1 -1
- package/build/{index-edb98431.js → index-6b89bd1e.js} +1 -1
- package/build/index-7adb6ca5.js +1 -0
- package/build/{index-411b2c54.js → index-7c3ea642.js} +19 -19
- package/build/{index-a14ac95c.js → index-824143ee.js} +1 -1
- package/build/{index-3e31d08a.js → index-8e766956.js} +1 -1
- package/build/{index-24290a1e.js → index-8e8894d5.js} +1 -1
- package/build/{index-66d800b3.js → index-a788941c.js} +3 -3
- package/build/{index-4af92d15.js → index-b9003514.js} +1 -1
- package/build/index-c782489f.js +1 -0
- package/build/{index-81ec6599.js → index-d9c91a7a.js} +1 -1
- package/build/{index-95d71ef9.js → index-db727a39.js} +1 -1
- package/build/{index-28f61b63.js → index-df9365fe.js} +1 -1
- package/build/index-f8a63825.js +1 -0
- package/build/{index-7e3aeed4.js → index-fe748c3b.js} +1 -1
- package/build/index.css +3 -1
- package/build/index.js +1 -1
- package/build/{index.styled-86cd31ca.js → index.styled-3570c720.js} +6 -6
- package/build/{index.styled-6d41d939.js → index.styled-380d6e0a.js} +11 -11
- package/build/{index.styled-228e96a3.js → index.styled-40cb1c5c.js} +1 -1
- package/build/{index.styled-2ce77f4d.js → index.styled-77b9479f.js} +1 -1
- package/build/index.styles-3f14873c.js +627 -0
- 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/onboardingV2.js +5 -5
- package/build/pwg.js +3 -3
- package/build/{routing-0dd231c5.js → routing-f6c590ab.js} +1 -1
- package/build/screenSizeContext-41fd163e.js +81 -0
- package/build/subot.js +1 -1
- package/build/together.js +1 -1
- package/build/{types-b4747009.js → types-2439f02e.js} +1 -1
- package/build/{types-439160fd.js → types-72e39367.js} +1 -1
- package/build/types.js +1 -1
- package/build/{useCategory-718ae913.js → useCategory-b165202c.js} +1 -1
- package/build/{useHealthToolCache-40a88025.js → useHealthToolCache-b15142cb.js} +1 -1
- package/build/{usePlacesAutocomplete-54de454b.js → usePlacesAutocomplete-966d009c.js} +1 -1
- package/build/{useRafState-c9f6527a.js → useRafState-af69ad6c.js} +1 -1
- package/build/{useTranslations-a1b68e91.js → useTranslations-95cf8449.js} +1 -1
- package/build/utils-167797c2.js +1 -0
- package/build/utils-6754d753.js +1 -0
- package/build/vaccination.js +4 -4
- package/package.json +7 -2
- package/build/core-80e9cff8.js +0 -1
- package/build/esm/getDynamicHealthTool-2e9a5548.js +0 -1
- package/build/esm/index-020361fe.js +0 -177
- package/build/esm/index-1782f56e.js +0 -1
- package/build/esm/index-1b2689ee.js +0 -1
- package/build/esm/index-2eac1ec8.js +0 -1
- package/build/esm/index-9d393a92.js +0 -1
- package/build/esm/index-a1e1a441.js +0 -1
- package/build/esm/index-a903d8ce.js +0 -1
- package/build/esm/screenSizeContext-dff03e2b.js +0 -81
- package/build/esm/useHealthToolCache-5b104f1e.js +0 -1
- package/build/esm/utils-cca2af3a.js +0 -141
- package/build/getDynamicHealthTool-fad842aa.js +0 -1
- package/build/index-18823495.js +0 -1
- package/build/index-18bee338.js +0 -1
- package/build/index-3ec29f74.js +0 -1
- package/build/index-461460ac.js +0 -1
- package/build/index-f62932f3.js +0 -1
- package/build/index.styles-b3f7ae61.js +0 -846
- package/build/screenSizeContext-0e841cc0.js +0 -81
- package/build/utils-50bb77a6.js +0 -1
- package/build/utils-7528478f.js +0 -141
- /package/build/{BMI_BOYS.percentile.monthly-bd7c4653.js → BMI_BOYS.percentile.monthly-19f4ed11.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-aa0676d7.js → BMI_BOYS.percentile.weekly-988c28e7.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-710bf0bc.js → BMI_BOYS.percentile.yearly-2ce0172a.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-265d16b8.js → BMI_BOYS.zscore.monthly-0319a3ca.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-20e34020.js → BMI_BOYS.zscore.weekly-6af17a54.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-67395b04.js → BMI_BOYS.zscore.yearly-51a52dc7.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-e5a6f286.js → BMI_GIRLS.percentile.monthly-49e8d16b.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-0d918cc9.js → BMI_GIRLS.percentile.weekly-6852a685.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-9ab58003.js → BMI_GIRLS.percentile.yearly-e769c49a.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-980c6ad8.js → BMI_GIRLS.zscore.monthly-82c5d7a1.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-2886baca.js → BMI_GIRLS.zscore.weekly-1f4764fb.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-e3123e93.js → BMI_GIRLS.zscore.yearly-cac12266.js} +0 -0
- /package/build/{ChevronDown-7d583eac.js → ChevronDown-5b4ef88d.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-5489c654.js → HEAD CIRCUM_BOYS.percentile.monthly-00707b2f.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-72af67ec.js → HEAD CIRCUM_BOYS.percentile.weekly-36272a6b.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-4689f174.js → HEAD CIRCUM_BOYS.percentile.yearly-8ffd2a1b.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-218db6e2.js → HEAD CIRCUM_BOYS.zscore.monthly-b9037d32.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-d4b77ee2.js → HEAD CIRCUM_BOYS.zscore.weekly-acf9cc31.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-ba3d997e.js → HEAD CIRCUM_BOYS.zscore.yearly-50079d83.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-120ece3e.js → HEAD CIRCUM_GIRLS.percentile.monthly-211234b7.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-591bb09a.js → HEAD CIRCUM_GIRLS.percentile.weekly-b6a1780b.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-2a19d75a.js → HEAD CIRCUM_GIRLS.percentile.yearly-2ac79afc.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-47aa0b49.js → HEAD CIRCUM_GIRLS.zscore.monthly-39639744.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-7faf2731.js → HEAD CIRCUM_GIRLS.zscore.weekly-8ebb9191.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-0a9527cb.js → HEAD CIRCUM_GIRLS.zscore.yearly-0a728371.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-975cab78.js → HEIGHT_BOYS.percentile.monthly-a04a5707.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-45fbff53.js → HEIGHT_BOYS.percentile.weekly-601c6385.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-2a158d1f.js → HEIGHT_BOYS.percentile.yearly-ee7cc294.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-8dc3c9d2.js → HEIGHT_BOYS.zscore.monthly-390392ac.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-6156e4e0.js → HEIGHT_BOYS.zscore.weekly-d0be59ca.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-f76c1f5e.js → HEIGHT_BOYS.zscore.yearly-67fe48eb.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-b45e867e.js → HEIGHT_GIRLS.percentile.monthly-32fbf6d6.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-46b92e1b.js → HEIGHT_GIRLS.percentile.weekly-378c22e7.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-9abaef8d.js → HEIGHT_GIRLS.percentile.yearly-f8a775da.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-eb201a4a.js → HEIGHT_GIRLS.zscore.monthly-eba9d82b.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-1c1b80f3.js → HEIGHT_GIRLS.zscore.weekly-649d1e6a.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-19fe9d55.js → HEIGHT_GIRLS.zscore.yearly-d7566aef.js} +0 -0
- /package/build/{Subot-6a20c386.js → Subot-781f30c5.js} +0 -0
- /package/build/{Visible-96ce1462.js → Visible-0d367263.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-48925e68.js → WEIGHT_BOYS.percentile.monthly-cdd83d2c.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-9675b472.js → WEIGHT_BOYS.percentile.weekly-08b2cc25.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-5ae74491.js → WEIGHT_BOYS.percentile.yearly-78bd0332.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-fda03047.js → WEIGHT_BOYS.zscore.monthly-bd9c59c4.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-2ab9f08c.js → WEIGHT_BOYS.zscore.weekly-71bf2560.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-b68de4e1.js → WEIGHT_BOYS.zscore.yearly-80a65ace.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-1c82f3e1.js → WEIGHT_GIRLS.percentile.monthly-e602fb9f.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-0628410e.js → WEIGHT_GIRLS.percentile.weekly-8ec40671.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-bac2752a.js → WEIGHT_GIRLS.percentile.yearly-6c13450f.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-444c0637.js → WEIGHT_GIRLS.zscore.monthly-f2dff34a.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-e943b0eb.js → WEIGHT_GIRLS.zscore.weekly-a7c88fa4.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-cd96850c.js → WEIGHT_GIRLS.zscore.yearly-4c55b4b9.js} +0 -0
- /package/build/{cookieHelper-90494d05.js → cookieHelper-cb2c780d.js} +0 -0
- /package/build/{dataTransform-6263c35e.js → dataTransform-aa76f31c.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-2f0ebcbf.js → BMI_BOYS.percentile.monthly-05d05da5.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-923b3d30.js → BMI_BOYS.percentile.weekly-b1aa1512.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-7d39033d.js → BMI_BOYS.percentile.yearly-9a9ca29b.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-21915d60.js → BMI_BOYS.zscore.monthly-ab8c5087.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-afaad99e.js → BMI_BOYS.zscore.weekly-9c26d743.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-2d48176b.js → BMI_BOYS.zscore.yearly-0c8e88bf.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-67f03f38.js → BMI_GIRLS.percentile.monthly-09da7135.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-a2c33686.js → BMI_GIRLS.percentile.weekly-04cd0f7f.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-7a98dd42.js → BMI_GIRLS.percentile.yearly-b96e6cdd.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-599baf2d.js → BMI_GIRLS.zscore.monthly-e301d83d.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-c258aef0.js → BMI_GIRLS.zscore.weekly-23ab6a7b.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-e8ce4dc8.js → BMI_GIRLS.zscore.yearly-576720ea.js} +0 -0
- /package/build/esm/{ChevronDown-198d9cc6.js → ChevronDown-70559b47.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-bc41ab37.js → HEAD CIRCUM_BOYS.percentile.monthly-81d95d86.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-bd73d642.js → HEAD CIRCUM_BOYS.percentile.weekly-12162f09.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-044a1a1a.js → HEAD CIRCUM_BOYS.percentile.yearly-45cd1c23.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-61bf74c0.js → HEAD CIRCUM_BOYS.zscore.monthly-47835e82.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-28e9f5ed.js → HEAD CIRCUM_BOYS.zscore.weekly-026aced6.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-2a0e1789.js → HEAD CIRCUM_BOYS.zscore.yearly-01c4d654.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-13f948b3.js → HEAD CIRCUM_GIRLS.percentile.monthly-3bac7be1.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-88cc5320.js → HEAD CIRCUM_GIRLS.percentile.weekly-d0a20741.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-7f0f400b.js → HEAD CIRCUM_GIRLS.percentile.yearly-dc919555.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-d78908a1.js → HEAD CIRCUM_GIRLS.zscore.monthly-47bf7a3c.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-f3207f83.js → HEAD CIRCUM_GIRLS.zscore.weekly-a8e45e75.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-0628d6d8.js → HEAD CIRCUM_GIRLS.zscore.yearly-bf546ba6.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-182bed39.js → HEIGHT_BOYS.percentile.monthly-6ba59424.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-44f52c09.js → HEIGHT_BOYS.percentile.weekly-29b8fe64.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-bb541601.js → HEIGHT_BOYS.percentile.yearly-f135b8e2.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-a9a9dd47.js → HEIGHT_BOYS.zscore.monthly-49e9680a.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-9fc7b902.js → HEIGHT_BOYS.zscore.weekly-f9a65efa.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-88da8bc2.js → HEIGHT_BOYS.zscore.yearly-8b5ad6d2.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-fb5f6f0d.js → HEIGHT_GIRLS.percentile.monthly-e5b38079.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-4baca659.js → HEIGHT_GIRLS.percentile.weekly-f3670276.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-fc7e1fc1.js → HEIGHT_GIRLS.percentile.yearly-4c02f1bb.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-b439db85.js → HEIGHT_GIRLS.zscore.monthly-640e5e55.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-8681e64a.js → HEIGHT_GIRLS.zscore.weekly-4eead516.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-28b1d0bb.js → HEIGHT_GIRLS.zscore.yearly-6ebee51c.js} +0 -0
- /package/build/esm/{Subot-e272425a.js → Subot-2c9e4c09.js} +0 -0
- /package/build/esm/{Visible-e7a4b560.js → Visible-280d16e3.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-d6835449.js → WEIGHT_BOYS.percentile.monthly-430dc3b2.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-bc54a47c.js → WEIGHT_BOYS.percentile.weekly-b937aeb9.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-69b5c0cf.js → WEIGHT_BOYS.percentile.yearly-cbf833e8.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-fae0c31f.js → WEIGHT_BOYS.zscore.monthly-dd6b0e64.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-58bfd560.js → WEIGHT_BOYS.zscore.weekly-786a8d18.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-4e428e24.js → WEIGHT_BOYS.zscore.yearly-acfb2c76.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-5136f490.js → WEIGHT_GIRLS.percentile.monthly-1e4153b0.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-bd8ea375.js → WEIGHT_GIRLS.percentile.weekly-f69a3ddb.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-40e16990.js → WEIGHT_GIRLS.percentile.yearly-a42cb1fc.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-bc34aead.js → WEIGHT_GIRLS.zscore.monthly-c8062203.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-c5ab12a0.js → WEIGHT_GIRLS.zscore.weekly-c4c6e1e6.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-41608a14.js → WEIGHT_GIRLS.zscore.yearly-35f750e9.js} +0 -0
- /package/build/esm/{cookieHelper-28df9366.js → cookieHelper-02a646ef.js} +0 -0
- /package/build/esm/{dataTransform-3cf63532.js → dataTransform-3970f88b.js} +0 -0
- /package/build/esm/{index-ac4a532b.js → index-2d5104c5.js} +0 -0
- /package/build/esm/{index-9d4a84ac.js → index-4daeba4d.js} +0 -0
- /package/build/esm/{index-10c5feed.js → index-d74e3f4d.js} +0 -0
- /package/build/esm/{isProduction-b5290208.js → isProduction-2e0a8f23.js} +0 -0
- /package/build/esm/{localizeNumberFormat-a5628e95.js → localizeNumberFormat-d7e41005.js} +0 -0
- /package/build/esm/{normalizeLink-03495796.js → normalizeLink-78014c07.js} +0 -0
- /package/build/esm/{number-97247dba.js → number-33fd0b74.js} +0 -0
- /package/build/esm/{paths-fcede6b6.js → paths-64d19041.js} +0 -0
- /package/build/esm/{theme-ccf55e31.js → theme-2bdea2f5.js} +0 -0
- /package/build/esm/{translationsContext-7856306b.js → translationsContext-63b5cfff.js} +0 -0
- /package/build/esm/{tslib.es6-842a2bb8.js → tslib.es6-70854b37.js} +0 -0
- /package/build/esm/{types-3f42ad37.js → types-4c039872.js} +0 -0
- /package/build/esm/{useIsInit-7d05716a.js → useIsInit-28ed39fb.js} +0 -0
- /package/build/esm/{useOutsideClick-9d03d01d.js → useOutsideClick-0fb1f5b8.js} +0 -0
- /package/build/esm/{useScrollbarSize-1c748ec0.js → useScrollbarSize-622c2c1a.js} +0 -0
- /package/build/{index-a6882810.js → index-36f0d549.js} +0 -0
- /package/build/{index-b3a56944.js → index-869fff15.js} +0 -0
- /package/build/{index-22f2dd43.js → index-f0a00b26.js} +0 -0
- /package/build/{isProduction-975fbda1.js → isProduction-d688052c.js} +0 -0
- /package/build/{localizeNumberFormat-f603a6d8.js → localizeNumberFormat-c01aadd7.js} +0 -0
- /package/build/{normalizeLink-b260b165.js → normalizeLink-b47d5761.js} +0 -0
- /package/build/{number-3f6eba85.js → number-7e0491b4.js} +0 -0
- /package/build/{paths-9ce571a8.js → paths-b90c2d13.js} +0 -0
- /package/build/{theme-cf605758.js → theme-5779230b.js} +0 -0
- /package/build/{translationsContext-b4e24bbe.js → translationsContext-149822d4.js} +0 -0
- /package/build/{tslib.es6-8187fb3c.js → tslib.es6-afbb99a9.js} +0 -0
- /package/build/{types-16f153bc.js → types-3377b03d.js} +0 -0
- /package/build/{useIsInit-df1db68e.js → useIsInit-2ed8cbec.js} +0 -0
- /package/build/{useOutsideClick-eeca1a83.js → useOutsideClick-e2fd0c7a.js} +0 -0
- /package/build/{useScrollbarSize-7a77a7be.js → useScrollbarSize-4279aad3.js} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("date-fns/locale"),o=require("./Subot-6a20c386.js"),l=require("./isProduction-975fbda1.js");const i={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"},t={HELLO_HEALTH_GROUP:{lng:o.LOCALE.PhilippinesEnglish,ns:"translation",name:"Hello Health Group",theme:"hellosite",dayjs:"en",phoneCountry:"PH",siteId:10},HELLO_DOCTOR:{lng:o.LOCALE.PhilippinesEnglish,ns:"translation",name:"Hello Doctor",theme:"hellosite",dayjs:"en",phoneCountry:"PH",siteId:5},HELLO_DOCTOR_FIL:{lng:o.LOCALE.PhilippinesTagalog,ns:"translation",name:"Hello Doctor",theme:"hellosite",dayjs:"tl-ph",phoneCountry:"PH",siteId:5},HELLO_KRUPET:{lng:o.LOCALE.Cambodia,ns:"translation",name:"Hello Krupet",theme:"hellosite",dayjs:"km",phoneCountry:"KH",siteId:4},HELLO_SWASTHYA:{lng:o.LOCALE.India,ns:"translation",name:"Hello Swasthya",theme:"hellosite",dayjs:"hi",phoneCountry:"IN",siteId:9},HELLO_SEHAT:{lng:o.LOCALE.Indonesia,ns:"translation",name:"Hello Sehat",theme:"hellosite",dayjs:"id",phoneCountry:"ID",siteId:2},HELLO_SAYARWON:{lng:o.LOCALE.Myanmar,ns:"translation",name:"Hello Sayarwon",theme:"hellosite",dayjs:"my",phoneCountry:"MM",siteId:7},HELLO_DOKTOR:{lng:o.LOCALE.Malaysia,ns:"translation",name:"Hello Doktor",theme:"hellosite",dayjs:"ms-my",phoneCountry:"MY",siteId:3},HELLO_KHUNMOR:{lng:o.LOCALE.Thailand,ns:"translation",name:"Hello Khunmor",theme:"hellosite",dayjs:"th",phoneCountry:"TH",siteId:6},HELLO_YISHI:{lng:o.LOCALE.Taiwan,ns:"translation",name:"Hello Yishi",theme:"hellosite",dayjs:"zh-tw",phoneCountry:"TW",siteId:8},HELLO_BACSI:{lng:o.LOCALE.Vietnam,ns:"translation",name:"Hello Bacsi",theme:"hellosite",dayjs:"vi",phoneCountry:"VN",siteId:1},MARRY_BABY:{lng:o.LOCALE.Vietnam,ns:"marrybaby",name:"Marry Baby",theme:"marrybaby",dayjs:"vi",phoneCountry:"VN",siteId:11}};exports.RISK_SCREENER_NAME=void 0,(exports.RISK_SCREENER_NAME||(exports.RISK_SCREENER_NAME={})).HPV="hpv";const n={[o.LOCALE.Vietnam]:{[exports.RISK_SCREENER_NAME.HPV]:"hpv-vaccine"},[o.LOCALE.Indonesia]:{[exports.RISK_SCREENER_NAME.HPV]:"deteksi-dini-hpv"}},a="tl-PH"===process.env.NEXT_PUBLIC_DEPLOY_LOCALE?"/fil":"",s=process.env.NEXT_PUBLIC_SSO,E="userGeoLocationCoordinates",O={"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"},c={[o.LOCALE.Vietnam]:"hellobacsi.com",[o.LOCALE.Indonesia]:"hellosehat.com",[o.LOCALE.Malaysia]:"hellodoktor.com",[o.LOCALE.Cambodia]:"hellokrupet.com",[o.LOCALE.PhilippinesEnglish]:"hellodoctor.com.ph",[o.LOCALE.PhilippinesTagalog]:"hellodoctor.com.ph",[o.LOCALE.Thailand]:"hellokhunmor.com",[o.LOCALE.Myanmar]:"hellosayarwon.com",[o.LOCALE.Taiwan]:"helloyishi.com.tw",[o.LOCALE.India]:"helloswasthya.com"},h={"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"}},r={"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"}},I="user",T=["vi-VN","id-ID","en-PH","tl-PH","th-TH","ms-MY","my-MM"],p=["vi-VN"],_=["vi-VN","id-ID"],A=["vi-VN","id-ID"],m={"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 L;exports.QUERY_HEALTH_TOOL=void 0,(L=exports.QUERY_HEALTH_TOOL||(exports.QUERY_HEALTH_TOOL={})).bmi="mi",L.gender="gndr",L.age="ge",L.slug="slug",L.resultId="resultId",L.bmr="mr",L.height="gt",L.weight="wght",L.source="surc",L.type="tp",L.startDate="sd",L.additional="tnl",L.week="wk",L.twins="twn",L.weightBefore="wb",L.yourself="yrslf",L.intensity="sy",L.rate="rt",L.method="mthd",L.day="dy",L.pwg="pwg",L.cycle="le",L.period="prd",L.access_token="tkn",L.name="nm",L.id="id";const C={[o.LOCALE.Vietnam]:{dateFormat:"DD/MM/YYYY",separator:","},[o.LOCALE.Cambodia]:{dateFormat:"DD/MM/YYYY",separator:"."},[o.LOCALE.India]:{dateFormat:"DD/MM/YYYY",separator:"."},[o.LOCALE.Indonesia]:{dateFormat:"DD/MM/YYYY",separator:","},[o.LOCALE.Malaysia]:{dateFormat:"DD/MM/YYYY",separator:"."},[o.LOCALE.Thailand]:{dateFormat:"DD/MM/YYYY",separator:"."},[o.LOCALE.Taiwan]:{dateFormat:"YYYY/MM/DD",separator:","},[o.LOCALE.PhilippinesTagalog]:{dateFormat:"MM/DD/YYYY",separator:"."},[o.LOCALE.PhilippinesEnglish]:{dateFormat:"MM/DD/YYYY",separator:"."},[o.LOCALE.Myanmar]:{dateFormat:"DD/MM/YYYY",separator:","}},S="hhg_user_token",N={[o.LOCALE.PhilippinesEnglish]:e.enUS,[o.LOCALE.Vietnam]:e.vi,[o.LOCALE.Cambodia]:e.km,[o.LOCALE.India]:e.hi,[o.LOCALE.Indonesia]:e.id,[o.LOCALE.Myanmar]:e.enUS,[o.LOCALE.Malaysia]:e.ms,[o.LOCALE.Thailand]:e.th,[o.LOCALE.Taiwan]:e.zhTW},u="https://cdn.hellohealthgroup.com/countries",y="YYYY-MM-DD",R="dd-MM-yyyy";var g=Object.freeze({__proto__:null,basePath:a,SSO_URL:s,USER_GEOLOCATION_COORDINATES_COOKIE:E,domainLocales:O,MAP_DOMAIN_BY_LOCALE:c,LOCALE_SPECS:h,STATIC_PAGES:r,UP_BASEPATH:I,TOGETHER_LOCALES:T,ECOM_LOCALES:p,CARE_LOCALES:_,CARE_BOOKING_LOCALES:A,FAVICONS:m,get QUERY_HEALTH_TOOL(){return exports.QUERY_HEALTH_TOOL},ISO_FORMAT:C,BEARER_TOKEN_COOKIE:S,DATE_FNS_LOCALE:N,CDN_ADDRESS:u,GA_TOKEN_COOKIE:"_ga",API_DATE_FORMAT:y,DATE_FNS_DATE_FORMAT:R,siteHost:i,siteOptions:t,get RISK_SCREENER_NAME(){return exports.RISK_SCREENER_NAME},RISK_SCREENER_SLUG:n,isProduction:l.isProduction});exports.API_DATE_FORMAT=y,exports.BEARER_TOKEN_COOKIE=S,exports.CARE_BOOKING_LOCALES=A,exports.CARE_LOCALES=_,exports.CDN_ADDRESS=u,exports.DATE_FNS_DATE_FORMAT=R,exports.DATE_FNS_LOCALE=N,exports.ECOM_LOCALES=p,exports.FAVICONS=m,exports.GA_TOKEN_COOKIE="_ga",exports.ISO_FORMAT=C,exports.LOCALE_SPECS=h,exports.MAP_DOMAIN_BY_LOCALE=c,exports.RISK_SCREENER_SLUG=n,exports.SSO_URL=s,exports.STATIC_PAGES=r,exports.TOGETHER_LOCALES=T,exports.UP_BASEPATH=I,exports.USER_GEOLOCATION_COORDINATES_COOKIE=E,exports.basePath=a,exports.domainLocales=O,exports.index=g,exports.siteHost=i,exports.siteOptions=t;
|
|
1
|
+
"use strict";var e=require("date-fns/locale"),o=require("./Subot-781f30c5.js"),l=require("./isProduction-d688052c.js");const i={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"},t={HELLO_HEALTH_GROUP:{lng:o.LOCALE.PhilippinesEnglish,ns:"translation",name:"Hello Health Group",theme:"hellosite",dayjs:"en",phoneCountry:"PH",siteId:10},HELLO_DOCTOR:{lng:o.LOCALE.PhilippinesEnglish,ns:"translation",name:"Hello Doctor",theme:"hellosite",dayjs:"en",phoneCountry:"PH",siteId:5},HELLO_DOCTOR_FIL:{lng:o.LOCALE.PhilippinesTagalog,ns:"translation",name:"Hello Doctor",theme:"hellosite",dayjs:"tl-ph",phoneCountry:"PH",siteId:5},HELLO_KRUPET:{lng:o.LOCALE.Cambodia,ns:"translation",name:"Hello Krupet",theme:"hellosite",dayjs:"km",phoneCountry:"KH",siteId:4},HELLO_SWASTHYA:{lng:o.LOCALE.India,ns:"translation",name:"Hello Swasthya",theme:"hellosite",dayjs:"hi",phoneCountry:"IN",siteId:9},HELLO_SEHAT:{lng:o.LOCALE.Indonesia,ns:"translation",name:"Hello Sehat",theme:"hellosite",dayjs:"id",phoneCountry:"ID",siteId:2},HELLO_SAYARWON:{lng:o.LOCALE.Myanmar,ns:"translation",name:"Hello Sayarwon",theme:"hellosite",dayjs:"my",phoneCountry:"MM",siteId:7},HELLO_DOKTOR:{lng:o.LOCALE.Malaysia,ns:"translation",name:"Hello Doktor",theme:"hellosite",dayjs:"ms-my",phoneCountry:"MY",siteId:3},HELLO_KHUNMOR:{lng:o.LOCALE.Thailand,ns:"translation",name:"Hello Khunmor",theme:"hellosite",dayjs:"th",phoneCountry:"TH",siteId:6},HELLO_YISHI:{lng:o.LOCALE.Taiwan,ns:"translation",name:"Hello Yishi",theme:"hellosite",dayjs:"zh-tw",phoneCountry:"TW",siteId:8},HELLO_BACSI:{lng:o.LOCALE.Vietnam,ns:"translation",name:"Hello Bacsi",theme:"hellosite",dayjs:"vi",phoneCountry:"VN",siteId:1},MARRY_BABY:{lng:o.LOCALE.Vietnam,ns:"marrybaby",name:"Marry Baby",theme:"marrybaby",dayjs:"vi",phoneCountry:"VN",siteId:11}};exports.RISK_SCREENER_NAME=void 0,(exports.RISK_SCREENER_NAME||(exports.RISK_SCREENER_NAME={})).HPV="hpv";const n={[o.LOCALE.Vietnam]:{[exports.RISK_SCREENER_NAME.HPV]:"hpv-vaccine"},[o.LOCALE.Indonesia]:{[exports.RISK_SCREENER_NAME.HPV]:"deteksi-dini-hpv"}},a="tl-PH"===process.env.NEXT_PUBLIC_DEPLOY_LOCALE?"/fil":"",s=process.env.NEXT_PUBLIC_SSO,E="userGeoLocationCoordinates",O={"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"},c={[o.LOCALE.Vietnam]:"hellobacsi.com",[o.LOCALE.Indonesia]:"hellosehat.com",[o.LOCALE.Malaysia]:"hellodoktor.com",[o.LOCALE.Cambodia]:"hellokrupet.com",[o.LOCALE.PhilippinesEnglish]:"hellodoctor.com.ph",[o.LOCALE.PhilippinesTagalog]:"hellodoctor.com.ph",[o.LOCALE.Thailand]:"hellokhunmor.com",[o.LOCALE.Myanmar]:"hellosayarwon.com",[o.LOCALE.Taiwan]:"helloyishi.com.tw",[o.LOCALE.India]:"helloswasthya.com"},h={"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"}},r={"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"}},I="user",T=["vi-VN","id-ID","en-PH","tl-PH","th-TH","ms-MY","my-MM"],p=["vi-VN"],_=["vi-VN","id-ID"],A=["vi-VN","id-ID"],m={"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 L;exports.QUERY_HEALTH_TOOL=void 0,(L=exports.QUERY_HEALTH_TOOL||(exports.QUERY_HEALTH_TOOL={})).bmi="mi",L.gender="gndr",L.age="ge",L.slug="slug",L.resultId="resultId",L.bmr="mr",L.height="gt",L.weight="wght",L.source="surc",L.type="tp",L.startDate="sd",L.additional="tnl",L.week="wk",L.twins="twn",L.weightBefore="wb",L.yourself="yrslf",L.intensity="sy",L.rate="rt",L.method="mthd",L.day="dy",L.pwg="pwg",L.cycle="le",L.period="prd",L.access_token="tkn",L.name="nm",L.id="id";const C={[o.LOCALE.Vietnam]:{dateFormat:"DD/MM/YYYY",separator:","},[o.LOCALE.Cambodia]:{dateFormat:"DD/MM/YYYY",separator:"."},[o.LOCALE.India]:{dateFormat:"DD/MM/YYYY",separator:"."},[o.LOCALE.Indonesia]:{dateFormat:"DD/MM/YYYY",separator:","},[o.LOCALE.Malaysia]:{dateFormat:"DD/MM/YYYY",separator:"."},[o.LOCALE.Thailand]:{dateFormat:"DD/MM/YYYY",separator:"."},[o.LOCALE.Taiwan]:{dateFormat:"YYYY/MM/DD",separator:","},[o.LOCALE.PhilippinesTagalog]:{dateFormat:"MM/DD/YYYY",separator:"."},[o.LOCALE.PhilippinesEnglish]:{dateFormat:"MM/DD/YYYY",separator:"."},[o.LOCALE.Myanmar]:{dateFormat:"DD/MM/YYYY",separator:","}},S="hhg_user_token",N={[o.LOCALE.PhilippinesEnglish]:e.enUS,[o.LOCALE.Vietnam]:e.vi,[o.LOCALE.Cambodia]:e.km,[o.LOCALE.India]:e.hi,[o.LOCALE.Indonesia]:e.id,[o.LOCALE.Myanmar]:e.enUS,[o.LOCALE.Malaysia]:e.ms,[o.LOCALE.Thailand]:e.th,[o.LOCALE.Taiwan]:e.zhTW},u="https://cdn.hellohealthgroup.com/countries",y="YYYY-MM-DD",R="dd-MM-yyyy";var g=Object.freeze({__proto__:null,basePath:a,SSO_URL:s,USER_GEOLOCATION_COORDINATES_COOKIE:E,domainLocales:O,MAP_DOMAIN_BY_LOCALE:c,LOCALE_SPECS:h,STATIC_PAGES:r,UP_BASEPATH:I,TOGETHER_LOCALES:T,ECOM_LOCALES:p,CARE_LOCALES:_,CARE_BOOKING_LOCALES:A,FAVICONS:m,get QUERY_HEALTH_TOOL(){return exports.QUERY_HEALTH_TOOL},ISO_FORMAT:C,BEARER_TOKEN_COOKIE:S,DATE_FNS_LOCALE:N,CDN_ADDRESS:u,GA_TOKEN_COOKIE:"_ga",API_DATE_FORMAT:y,DATE_FNS_DATE_FORMAT:R,siteHost:i,siteOptions:t,get RISK_SCREENER_NAME(){return exports.RISK_SCREENER_NAME},RISK_SCREENER_SLUG:n,isProduction:l.isProduction});exports.API_DATE_FORMAT=y,exports.BEARER_TOKEN_COOKIE=S,exports.CARE_BOOKING_LOCALES=A,exports.CARE_LOCALES=_,exports.CDN_ADDRESS=u,exports.DATE_FNS_DATE_FORMAT=R,exports.DATE_FNS_LOCALE=N,exports.ECOM_LOCALES=p,exports.FAVICONS=m,exports.GA_TOKEN_COOKIE="_ga",exports.ISO_FORMAT=C,exports.LOCALE_SPECS=h,exports.MAP_DOMAIN_BY_LOCALE=c,exports.RISK_SCREENER_SLUG=n,exports.SSO_URL=s,exports.STATIC_PAGES=r,exports.TOGETHER_LOCALES=T,exports.UP_BASEPATH=I,exports.USER_GEOLOCATION_COORDINATES_COOKIE=E,exports.basePath=a,exports.domainLocales=O,exports.index=g,exports.siteHost=i,exports.siteOptions=t;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var e=require("./tslib.es6-afbb99a9.js"),r=require("react"),t=require("@mantine/core");require("dayjs"),require("./screenSizeContext-41fd163e.js"),require("styled-components");var s=require("./theme-5779230b.js");function i(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}require("./index-6b89bd1e.js"),require("./isProduction-d688052c.js"),require("./Subot-781f30c5.js"),require("./gAssets.js");var o=i(r);exports.Indicator=r=>{var{styles:i,color:n=s.theme.colors.red700}=r,a=e.__rest(r,["styles","color"]);return o.default.createElement(t.Indicator,Object.assign({inline:!0,position:"top-end",offset:4,styles:Object.assign({processing:{animationDirection:"alternate"}},i),color:n},a))};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
"use strict";var e=require("react"),t=require("@mantine/core"),a=require("./screenSizeContext-
|
|
1
|
+
"use strict";var e=require("react"),t=require("@mantine/core"),a=require("./screenSizeContext-41fd163e.js"),l=require("./index.styles-3f14873c.js"),r=require("./index-df9365fe.js"),o=require("@linaria/react");require("dayjs");var i=require("styled-components"),n=require("./theme-5779230b.js");require("./index-6b89bd1e.js"),require("./isProduction-d688052c.js");var d=require("./Subot-781f30c5.js");require("./gAssets.js");var s=require("./useTranslations-95cf8449.js"),c=require("./index-fe748c3b.js"),u=require("./index-c782489f.js");function m(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var p=m(e),h=m(i);const f=o.styled("div")({name:"StyledBackdrop",class:"sf6f8sd",propsAsIs:!1}),g=({open:e=!1,onClickOutside:t})=>p.default.createElement(f,{"data-open":e,onClick:t}),y=({value:t,options:a,className:r,direction:o="horizontal",onChange:i,isDisabled:d,siteType:s})=>{const[m,h]=e.useState(t),f="marryBaby"===s;return p.default.createElement(l.StyledRadioImageGroup,{className:r,"data-direction":o},a.map(((e,a)=>p.default.createElement(l.StyledRadioImageItem,{"data-selected":(t||m)===e.value,"data-is-mb":f,"data-disabled":d,key:a,onClick:()=>{var t;t=e.value,d||(h(t),i&&i(t))}},p.default.createElement("div",null,e.content,e.label&&p.default.createElement(p.default.Fragment,null,f?p.default.createElement(c.MarryBabyText,{type:"subtitle-2",color:(t||m)===e.value?n.theme.mbColors.dark:n.theme.mbColors.midGray},e.label):p.default.createElement(u.Text,{type:"bold",color:(t||m)===e.value?"#2D87F3":"black",className:"radio-group-item-heading",size:"label1"},e.label)))))))},x=h.default.div`
|
|
2
2
|
position: relative;
|
|
3
3
|
z-index: 200;
|
|
4
|
-
background-color: ${
|
|
5
|
-
border-radius: ${
|
|
6
|
-
box-shadow: 0px 4px 8px ${
|
|
4
|
+
background-color: ${n.theme.colors.white};
|
|
5
|
+
border-radius: ${n.theme.borderRadius};
|
|
6
|
+
box-shadow: 0px 4px 8px ${n.theme.colors.gray200};
|
|
7
7
|
&[data-site-type='marryBaby'] {
|
|
8
8
|
border-radius: 16px;
|
|
9
9
|
.hhg-modal__content {
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
background-color: none;
|
|
28
28
|
box-shadow: none;
|
|
29
29
|
}
|
|
30
|
-
`,
|
|
30
|
+
`,b="hhgcomp-modal-modal",C=l.getDefaultClassWrapper(x,b),v=h.default.div`
|
|
31
31
|
position: fixed;
|
|
32
32
|
top: 0;
|
|
33
33
|
left: 0;
|
|
@@ -62,25 +62,25 @@
|
|
|
62
62
|
}
|
|
63
63
|
|
|
64
64
|
&.slideTop {
|
|
65
|
-
.${
|
|
65
|
+
.${b} {
|
|
66
66
|
transform: translate(0, -100vh);
|
|
67
67
|
transition: all 0.5s ease;
|
|
68
68
|
}
|
|
69
69
|
|
|
70
70
|
&[data-open='true'] {
|
|
71
|
-
.${
|
|
71
|
+
.${b} {
|
|
72
72
|
transform: translate(0);
|
|
73
73
|
}
|
|
74
74
|
}
|
|
75
75
|
}
|
|
76
76
|
|
|
77
77
|
&.scaleUp {
|
|
78
|
-
.${
|
|
78
|
+
.${b} {
|
|
79
79
|
transform: scale(0.9);
|
|
80
80
|
}
|
|
81
81
|
|
|
82
82
|
&[data-open='true'] {
|
|
83
|
-
.${
|
|
83
|
+
.${b} {
|
|
84
84
|
transition: all 0.3s ease-out;
|
|
85
85
|
transform: scale(1);
|
|
86
86
|
}
|
|
@@ -89,7 +89,7 @@
|
|
|
89
89
|
|
|
90
90
|
&[data-type='tail'] {
|
|
91
91
|
justify-content: flex-end;
|
|
92
|
-
.${
|
|
92
|
+
.${b} {
|
|
93
93
|
width: 420px;
|
|
94
94
|
height: 100%;
|
|
95
95
|
border-radius: 0;
|
|
@@ -97,7 +97,7 @@
|
|
|
97
97
|
}
|
|
98
98
|
}
|
|
99
99
|
&[data-type='form'] {
|
|
100
|
-
.${
|
|
100
|
+
.${b} {
|
|
101
101
|
width: 496px;
|
|
102
102
|
height: 548px;
|
|
103
103
|
max-height: 100%;
|
|
@@ -108,20 +108,20 @@
|
|
|
108
108
|
}
|
|
109
109
|
}
|
|
110
110
|
&[data-type='video'] {
|
|
111
|
-
.${
|
|
111
|
+
.${b} {
|
|
112
112
|
height: 100%;
|
|
113
113
|
max-height: 539px;
|
|
114
114
|
${a.MediaQueries.mbDown} {
|
|
115
115
|
height: 192px;
|
|
116
116
|
width: 100%;
|
|
117
117
|
height: 100%;
|
|
118
|
-
border-radius: ${
|
|
118
|
+
border-radius: ${n.theme.borderRadius};
|
|
119
119
|
max-height: 192px;
|
|
120
120
|
}
|
|
121
121
|
}
|
|
122
122
|
}
|
|
123
123
|
&[data-type='confirm'] {
|
|
124
|
-
.${
|
|
124
|
+
.${b} {
|
|
125
125
|
width: 100%;
|
|
126
126
|
max-width: 407px;
|
|
127
127
|
${a.MediaQueries.mbDown} {
|
|
@@ -130,7 +130,7 @@
|
|
|
130
130
|
}
|
|
131
131
|
}
|
|
132
132
|
}
|
|
133
|
-
`,
|
|
133
|
+
`,w=h.default.div`
|
|
134
134
|
position: fixed;
|
|
135
135
|
top: 0;
|
|
136
136
|
left: 0;
|
|
@@ -142,9 +142,9 @@
|
|
|
142
142
|
display: none;
|
|
143
143
|
}
|
|
144
144
|
&[data-type='video'] {
|
|
145
|
-
background-color: ${
|
|
145
|
+
background-color: ${n.theme.colors.secondaryDark};
|
|
146
146
|
}
|
|
147
|
-
`,
|
|
147
|
+
`,E=h.default.div`
|
|
148
148
|
& > :not(:last-child) {
|
|
149
149
|
margin-bottom: 8px;
|
|
150
150
|
}
|
|
@@ -162,7 +162,7 @@
|
|
|
162
162
|
}
|
|
163
163
|
}
|
|
164
164
|
}
|
|
165
|
-
`,
|
|
165
|
+
`,B=h.default(y)`
|
|
166
166
|
& > div > div {
|
|
167
167
|
display: flex;
|
|
168
168
|
flex-direction: row;
|
|
@@ -174,4 +174,4 @@
|
|
|
174
174
|
.radio-group-item-heading {
|
|
175
175
|
margin-top: 0;
|
|
176
176
|
}
|
|
177
|
-
`;exports.BabyGrowthGender=({value:e,onChange:t,siteType:a})=>{const{t:l}=
|
|
177
|
+
`;exports.BabyGrowthGender=({value:e,onChange:t,siteType:a})=>{const{t:l}=s.useTranslations(),o="marryBaby"==a;return p.default.createElement(E,{"data-is-marryBaby":o},o?p.default.createElement(c.MarryBabyHeading,{type:"h4",color:n.theme.mbColors.dark},l("tools.selectBabyGender")):p.default.createElement(r.Text,{size:"label2",weight:"bold",style:{marginBottom:"0.5rem"}},l("tools.selectBabyGender")),p.default.createElement(B,{siteType:a,options:[{value:d.Gender.Boy,label:l("gender.male"),content:o?p.default.createElement(r.Icon.BabyBoyMB,null):p.default.createElement(r.Icon.GenderChooseBoy,null)},{value:d.Gender.Girl,label:l("gender.female"),content:o?p.default.createElement(r.Icon.BabyGirlMB,null):p.default.createElement(r.Icon.GenderChooseGirl,null)}],value:e,onChange:t,className:"gender-selector"}))},exports.Drawer=({children:o,title:i,onClose:n,open:d=!1,placement:s="left",destroyOnClose:c=!1,isPropagationEvent:u=!0,className:m})=>{const h=e.useRef();e.useEffect((()=>(a.toggleNoScroll(d),()=>a.toggleNoScroll(!1))),[d]);const f=()=>{h.current.classList.add("slideOut"),setTimeout((()=>{n()}),800)};return!d&&c?null:p.default.createElement(t.Portal,null,p.default.createElement(l.StyledDrawer,{className:m,open:d},p.default.createElement(g,{open:d,onClickOutside:f}),p.default.createElement(l.StyledDrawerPanel,{open:d,placement:s,ref:h,hasTitle:Boolean(i)},p.default.createElement("div",{className:"title"},i&&p.default.createElement(r.Text,{size:"s2",weight:"semiBold"},i),p.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",className:"close-button",onClick:f},p.default.createElement("path",{d:"M5.99007 4.99067C5.79114 4.99072 5.59674 5.0501 5.43173 5.16121C5.26672 5.27233 5.1386 5.43013 5.06374 5.61444C4.98889 5.79875 4.9707 6.0012 5.0115 6.1959C5.05231 6.39061 5.15025 6.56872 5.29281 6.70747L10.5858 12.0004L5.29281 17.2934C5.19684 17.3855 5.12021 17.4959 5.06743 17.618C5.01464 17.7402 4.98676 17.8716 4.9854 18.0046C4.98405 18.1377 5.00926 18.2697 5.05954 18.3928C5.10983 18.516 5.1842 18.6279 5.27827 18.722C5.37235 18.8161 5.48426 18.8904 5.60743 18.9407C5.73061 18.991 5.86259 19.0162 5.99563 19.0149C6.12867 19.0135 6.2601 18.9856 6.38223 18.9328C6.50436 18.8801 6.61473 18.8034 6.70687 18.7075L11.9998 13.4145L17.2928 18.7075C17.385 18.8034 17.4953 18.8801 17.6175 18.9328C17.7396 18.9856 17.871 19.0135 18.0041 19.0149C18.1371 19.0162 18.2691 18.991 18.3922 18.9407C18.5154 18.8904 18.6273 18.8161 18.7214 18.722C18.8155 18.6279 18.8899 18.516 18.9401 18.3928C18.9904 18.2697 19.0156 18.1377 19.0143 18.0047C19.0129 17.8716 18.985 17.7402 18.9323 17.618C18.8795 17.4959 18.8028 17.3855 18.7069 17.2934L13.4139 12.0004L18.7069 6.70747C18.8514 6.567 18.9501 6.38616 18.99 6.18864C19.03 5.99112 19.0093 5.78614 18.9308 5.60055C18.8523 5.41497 18.7195 5.25744 18.5499 5.14861C18.3803 5.03978 18.1817 4.98473 17.9803 4.99067C17.7205 4.99841 17.4739 5.10699 17.2928 5.2934L11.9998 10.5864L6.70687 5.2934C6.61368 5.19761 6.50224 5.12146 6.37912 5.06947C6.25601 5.01747 6.12372 4.99068 5.99007 4.99067Z",fill:"#595959"}))),p.default.createElement(l.StyledDrawerContent,{onClick:e=>{u&&e.stopPropagation()}},o&&(p.default.isValidElement(o)?o:"function"==typeof o?o({internalClose:f}):null)))))},exports.RadioImageGroup=y,exports.StyledModal=C,exports.StyledModalMask=w,exports.StyledModalWrapper=v;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("./tslib.es6-
|
|
1
|
+
"use strict";var e=require("./tslib.es6-afbb99a9.js"),t=require("react"),n=require("@mantine/hooks"),a=require("./index-b9003514.js"),r=require("./index-63e33ff2.js");function l(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var o=l(t);exports.Slider=l=>{var{color:i,withControl:s,onChange:u,value:c,min:d,max:m,isStatic:h,containerClassName:f,containerStyle:E}=l,b=e.__rest(l,["color","withControl","onChange","value","min","max","isStatic","containerClassName","containerStyle"]);const[g,k]=t.useState(c||d||0),[v]=n.useDebouncedValue(g,r.DEBOUNCED_TIME);return t.useEffect((()=>{null==u||u(v)}),[v]),t.useEffect((()=>{k(c)}),[c]),o.default.createElement(r.StyledSliderWrapper,{className:f,style:E},s&&o.default.createElement(a.Button,{type:"button",size:"sm",color:"ghost",onClick:()=>{k((e=>d&&e===d?e:e-1))}},o.default.createElement("svg",{width:"10",height:"10",fill:"none",viewBox:"0 0 12 3"},o.default.createElement("path",{d:"M1 1.004h8",stroke:i,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}))),o.default.createElement(r.StyledSlider,Object.assign({thumbSize:21,labelAlwaysOn:!0,radius:"xl",color:i,value:g,onChange:h?()=>null:k,min:d,max:m},b,{className:"hhg-mantine-slider "+(b.className||"")})),s&&o.default.createElement(a.Button,{type:"button",size:"sm",color:"ghost",onClick:()=>{k((e=>m&&e===m?e:e+1))}},o.default.createElement("svg",{width:"16",height:"20",fill:"none",viewBox:"0 0 16 16"},o.default.createElement("path",{d:"M8 4v8M4 8h8",stroke:i,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}))))};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("./tslib.es6-
|
|
1
|
+
"use strict";var e=require("./tslib.es6-afbb99a9.js"),t=require("react"),l=require("./Subot-781f30c5.js"),a=require("./index.styled-3570c720.js");function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var r=n(t);const o=({isRight:e,currentUrl:t})=>r.default.createElement("svg",{viewBox:"0 0 15 15",fill:"none",width:"16",height:"16",style:e?{transform:"rotate(-90deg)"}:{transform:"rotate(90deg)"},"data-event-category":"Health Tool","data-event-action":"Pregnancy Week Arrow Click","data-event-label":t,className:"pointer-event-child-none"},r.default.createElement("path",{d:"M3.13523 6.15803C3.3241 5.95657 3.64052 5.94637 3.84197 6.13523L7.5 9.56464L11.158 6.13523C11.3595 5.94637 11.6759 5.95657 11.8648 6.15803C12.0536 6.35949 12.0434 6.67591 11.842 6.86477L7.84197 10.6148C7.64964 10.7951 7.35036 10.7951 7.15803 10.6148L3.15803 6.86477C2.95657 6.67591 2.94637 6.35949 3.13523 6.15803Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"}));exports.PillCarousel=n=>{var{data:i,isMobile:c,onSlideChange:d,pillProps:s,locale:u=l.LOCALE.Vietnam,blurFromIndex:v,blurLength:f}=n,h=e.__rest(n,["data","isMobile","onSlideChange","pillProps","locale","blurFromIndex","blurLength"]);const C={withControls:!c,slideGap:16,blurFromCenter:!0,blurFromIndex:v||(c?2:4),blurLength:f||(c?1:3),onSlideChange:d},[g,m]=t.useState("");return t.useEffect((()=>{m(window.location.href)}),[]),r.default.createElement(a.StyledCarousel,Object.assign({},C,h,{selectSlideWhenClick:!0,previousControlIcon:r.default.createElement(o,{currentUrl:g}),nextControlIcon:r.default.createElement(o,{currentUrl:g,isRight:!0})}),(e=>i.map(((t,l)=>r.default.createElement(a.StyledSlide,Object.assign({key:l,onClick:d,"data-event-category":"Health Tool","data-event-action":"Pregnancy Week Click","data-event-label":g,innerSlideProps:{"data-event-category":"Health Tool","data-event-action":"Pregnancy Week Click","data-event-label":g}},s),r.default.createElement("div",{className:"centerred-pill-wrapper"},r.default.createElement(a.StyledPill,{"data-event-category":"Health Tool","data-event-action":"Fetal Week Click","data-event-label":g,locale:u,name:t.name,icon:t.icon,className:l===e?"selected-week-pill pointer-event-child-none":"pointer-event-child-none"})))))))};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("./tslib.es6-
|
|
1
|
+
"use strict";var e=require("./tslib.es6-afbb99a9.js"),t=require("react"),r=require("@mantine/core"),s=require("./index-63e33ff2.js");require("@mantine/dates");var a=require("./index-6b89bd1e.js"),i=require("./Subot-781f30c5.js");require("./gAssets.js"),require("./index-df9365fe.js"),require("dayjs"),require("./screenSizeContext-41fd163e.js"),require("styled-components"),require("./theme-5779230b.js"),require("./isProduction-d688052c.js");var n=require("./useTranslations-95cf8449.js");require("@mantine/hooks"),require("lodash/debounce"),require("./useCategory-b165202c.js");var c=require("./utils-167797c2.js");function d(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var l=d(t);const o={provinceByName:{},provinces:[],districts:[],wards:[],selectedProvince:"",selectedDistrict:"",selectedWard:""},u=(e,t)=>{switch(t.type){case"SET_DATA":return Object.assign(Object.assign({},e),t.payload);case"SET_DISTRICTS":return Object.assign(Object.assign({},e),{districts:t.payload});case"SET_WARDS":return Object.assign(Object.assign({},e),{wards:t.payload});case"SELECT_PROVINCE":return Object.assign(Object.assign({},e),{selectedProvince:t.payload,selectedDistrict:"",selectedWard:""});case"SELECT_DISTRICT":return Object.assign(Object.assign({},e),{selectedDistrict:t.payload,selectedWard:""});case"SELECT_WARD":return Object.assign(Object.assign({},e),{selectedWard:t.payload});default:return e}},p=({provinces:r})=>{const[s,n]=t.useReducer(u,o),{provinceByName:d,provinces:l,districts:p,wards:v,selectedProvince:b,selectedDistrict:E,selectedWard:y}=s,[h,j]=t.useState();t.useEffect((()=>{e.__awaiter(void 0,void 0,void 0,(function*(){var e,t,s,d;try{const l=yield fetch((d=process.env.UNIFY_LOCALE||i.LOCALE.Vietnam,`${a.CDN_ADDRESS}/cities-data-${c.MAPPED_LOCALE[d]}.json`)).then((e=>e.json()));j(l);const{list:o}=l,u=r?((e,t)=>{const r={};for(const[,e]of Object.entries(t)){const{id:t}=e;t&&(r[t]=e)}const s={};return e.map((e=>{s[e.name]=r[e.id]})),s})(r,o):o,p=Object.keys(u),v=Object.keys((null===(e=o[p[0]])||void 0===e?void 0:e.list)||{}),b=Object.keys((null===(s=null===(t=o[p[0]])||void 0===t?void 0:t[v[0]])||void 0===s?void 0:s.list)||{});n({type:"SET_DATA",payload:{provinceByName:u,provinces:p,districts:v,wards:b}})}catch(e){console.error("Error fetching address data:",e)}}))}),[process.env.UNIFY_LOCALE]);return{provinces:l,districts:p,wards:v,selectedProvince:b,selectedDistrict:E,selectedWard:y,handleProvinceChange:e=>{var t;const r=Object.keys((null===(t=d[e])||void 0===t?void 0:t.list)||{});n({type:"SET_DISTRICTS",payload:r}),n({type:"SET_WARDS",payload:[]}),n({type:"SELECT_PROVINCE",payload:e})},handleDistrictChange:e=>{var t,r;const s=Object.keys((null===(r=null===(t=d[b])||void 0===t?void 0:t.list[e])||void 0===r?void 0:r.list)||{});n({type:"SET_WARDS",payload:s}),n({type:"SELECT_DISTRICT",payload:e})},handleWardChange:e=>{n({type:"SELECT_WARD",payload:e})}}};exports.AddressInput=a=>{var{error:i,provinces:c,placeholder:d}=a,o=e.__rest(a,["error","provinces","placeholder"]);const{t:u}=n.useTranslations(),{provinces:v,districts:b,wards:E,selectedProvince:y,selectedDistrict:h,selectedWard:j,handleProvinceChange:g,handleDistrictChange:S,handleWardChange:C}=p({provinces:c}),[f,m]=t.useState("");return t.useEffect((()=>{y&&h&&j&&f?o.onChange({selectedProvince:y,selectedDistrict:h,selectedWard:j,extraInfo:f}):o.onChange(null)}),[y,h,j,f]),l.default.createElement(s.Input.Wrapper,Object.assign({withAsterisk:!0},o),l.default.createElement(r.Stack,null,l.default.createElement(s.Select,{placeholder:(null==d?void 0:d.province)||u("onboarding.similac.input.city"),data:c?v:v.sort(),searchable:!0,onChange:g,value:y}),l.default.createElement(s.Select,{placeholder:(null==d?void 0:d.district)||u("onboarding.similac.input.district"),data:b.sort(),searchable:!0,onChange:S,value:h,disabled:!y}),l.default.createElement(s.Select,{placeholder:(null==d?void 0:d.ward)||u("onboarding.similac.input.ward"),searchable:!0,data:E.sort(),value:j,onChange:C,disabled:!y||!h}),l.default.createElement(s.Input,{placeholder:(null==d?void 0:d.address)||u("onboarding.similac.input.no"),disabled:!y||!h||!j,value:f,onChange:m,style:{marginBottom:0}})),l.default.createElement(r.Input.Error,{size:"md"},i))};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var e=require("react"),i=require("./screenSizeContext-
|
|
1
|
+
"use strict";var e=require("react"),i=require("./screenSizeContext-41fd163e.js");require("dayjs");var t=require("styled-components"),o=require("./theme-5779230b.js");require("./index-6b89bd1e.js"),require("./isProduction-d688052c.js"),require("./Subot-781f30c5.js"),require("./gAssets.js");var l=require("./tslib.es6-afbb99a9.js"),n=require("./index.styles-3f14873c.js");function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var r=a(e),d=a(t);const s=d.default.div`
|
|
2
2
|
position: fixed;
|
|
3
3
|
left: 50%;
|
|
4
4
|
|
|
@@ -81,7 +81,7 @@
|
|
|
81
81
|
&[data-open='false'] {
|
|
82
82
|
display: none;
|
|
83
83
|
}
|
|
84
|
-
`,m=e=>e?{displayName:e.display_name||null,avatar:e.avatar||null,thumbnailAvatar:e.avatar_thumbnail||null,profileUrl:e.profile_url||null,description:e.description||null,metaTag:e.meta_tag||"",specialty:e.specialty||"",organisation:e.organisation||""}:{},v=e=>e?{id:e.ID||null,name:e.name||null,specialty:e.specialty||null,avatar:e.avatar||null,permalink:e.permalink||null,thumbnailAvatar:e.avatar_thumbnail||null}:{},c=e=>void 0!==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}:null,p=e=>{if(!e)return{};const{button_text:i,button_url:t,status:o,banner_desktop:n,banner_mobile:a}=e,r=l.__rest(e,["button_text","button_url","status","banner_desktop","banner_mobile"]);return Object.assign({buttonText:i||"",buttonUrl:t||"",status:Boolean(o),bannerDesktop:n||"",bannerMobile:a||""},r)},_={EN:"English",FIL:"Filipino"},g=e=>void 0===e||Object.keys(e).length<2?[]:Object.keys(e).map((i=>({label:i.toUpperCase()in _?_[i.toUpperCase()]:i.toUpperCase(),value:"/"===e[i].slice(-1)?e[i]:`${e[i]}/`}))),y=e=>{var i,t,o,l;return e?{id:e.ID,postName:e.post_name,sponsor:e.sponsor?b(e.sponsor):null,isSponsored:e.is_sponsored||null,isPremium:e.is_premium||!1,postTitle:e.post_title||"",postModified:e.post_modified||"",postDate:e.post_date||"",modifiedTime:e.modified_time||"",permalink:e.permalink||"",featureImage:e.image||null,featureImageMobile:e.image_medium||null,featureImageMobileXs:e.image_thumbnail||null,author:m(e.author),reviewer:e.reviewed_by&&m(e.reviewed_by)||null,articleReviewed:(null==e?void 0:e.reviewed)?Object.assign(Object.assign({},null==e?void 0:e.reviewed),{author:f(null===(i=null==e?void 0:e.reviewed)||void 0===i?void 0:i.author),editor:f(null===(t=null==e?void 0:e.reviewed)||void 0===t?void 0:t.editor),expert:f(null===(o=null==e?void 0:e.reviewed)||void 0===o?void 0:o.expert),fact_check:f(null===(l=null==e?void 0:e.reviewed)||void 0===l?void 0:l.fact_check)}):null,category:w(e.category),postContent:e.post_content||null,keyTakeaways:e.key_takeaways||null,categories:(e.categories||[]).map(w),sources:e.sources||null,description:e.description||null,excerpt:e.excerpt||null,expert:v(e.expert),metaTag:e.meta_tag||null,spotlight:c(null==e?void 0:e.spotlight),affiliate_message:e.affiliate_message||null,turnOffComment:!!e.turn_off_comment,hasAffiliate:!!e.is_affiliate,translateOptions:g(e.translate),jumpingLink:e.jumping_link||[],pregnancy:(null==e?void 0:e.pregnancy)||!1,pregnancyWeek:(null==e?void 0:e.week_pregnancy)||1,primaryCategory:w(e.primary_category),turnOffIvsPlayer:!!e.turn_off_ivs_player,turnOffArticleVoice:!!e.turn_off_article_voice,enableAudio:!!e.enable_audio,label:(null==e?void 0:e.label)||"",editLast:m(e.edit_last),subscriptionBanner:p(e.subscription_banner)}:{}},f=e=>void 0!==e&&e?Object.assign(Object.assign({},e),{profile_url:(null==e?void 0:e.slug)?["expert","medical"].includes((null==e?void 0:e.role)||"")?`/expert/${null==e?void 0:e.slug}`:`/author/${null==e?void 0:e.slug}`:e.profile_url}):null,b=e=>e?{title:e.title,logo:e.logo,link:e.link}:{},h=e=>({postTitle:e.post_title,permalink:e.permalink}),w=e=>{var i,t;return e?{termId:e.term_id||null,sponsor:e.sponsor?b(e.sponsor):null,isSponsored:e.is_sponsored||null,categoryName:e.cat_name||null,name:e.name||null,iconUrl:e.icon||"",slugName:e.category_nicename||null,description:e.description||null,featureImage:e.image||null,displayName:e.name||null,parent:e.parent||null,permalink:e.permalink||null,slug:e.slug||null,childCates:(null===(i=e.child_cates)||void 0===i?void 0:i.map((e=>w(e))))||[],colorFeatureImage:e.color_feature_image||null,imageColor:e.image_color||null,textColor:e.text_color||null,catParent:(null===(t=e.cat_parent)||void 0===t?void 0:t.name)?{name:e.cat_parent.name,permalink:e.cat_parent.permalink}:{},metaTag:e.meta_tag||"",reviewedBy:e.reviewed_by?h(e.reviewed_by):null,reviewedDate:e.reviewed_date||"",faqs:e.faqs?e.faqs.map((e=>k(e))):null}:{}},k=e=>({title:e.title,content:e.content}),x=e=>e?{icon:e.icon,link:e.link.startsWith("http")?e.link:"/health-tools"+e.link,subtitle:e.subtitle,title:e.title}:{},C=e=>e?{topicCount:e.topics_count||0,postCount:e.posts_count||0,memberCount:e.members_count||0,thumbnail:e.thumbnail||"",coverImage:e.cover_image||"",mobileCoverImage:e.mobile_cover_image||"",name:e.name||"",description:e.description||"",slug:e.slug||"",id:e.id||0,joined:Boolean(e.joined),isActive:null===e.is_active||void 0===e.is_active||Boolean(e.is_active),mappedCategoryId:e.mapped_category_id||0,discoverCategory:e.discover_category?{categoryId:e.discover_category.category_id||0,name:e.discover_category.name||""}:null,isHidden:Boolean(e.is_hidden)}:{},I=e=>{var i,t,o,l;return e?{id:e.id||0,name:e.name||"",image:e.thumbnail||"",slug:e.slug||"",url:"/"+(null===(i=e.community)||void 0===i?void 0:i.slug)+"/"+(null==e?void 0:e.slug)||"",description:e.description||"",joined:e.joined||!1,postCount:e.count_posts||0,memberCount:e.count_members||0,communityId:String(null===(t=e.community)||void 0===t?void 0:t.id),communitySlug:null===(o=e.community)||void 0===o?void 0:o.slug,communityName:null===(l=e.community)||void 0===l?void 0:l.name,order:e.order||0,isActive:null===e.is_active||void 0===e.is_active||Boolean(e.is_active),mappedCategoryId:e.mapped_category_id||0,discoverCategory:e.discover_category?{categoryId:e.discover_category.category_id||0,name:e.discover_category.name||""}:null,isHidden:Boolean(e.is_hidden)}:{}},S=e=>e?{answer:null==e?void 0:e.answer.map(A),expert:null==e?void 0:e.expert}:{},T=e=>{var i,t,o,l,n,a,r,d,s,u,m,v,c,p,_,g,y,f,b,h,w;return e?{id:e.id,topics:(null===(i=e.topics)||void 0===i?void 0:i.map((i=>{var t,o,l,n;return{id:i.id||0,name:i.name||"",slug:i.slug||"",url:"/"+(null===(t=e.community)||void 0===t?void 0:t.slug)+"/"+i.slug,communityId:String(null===(o=e.community)||void 0===o?void 0:o.id),communitySlug:(null===(l=e.community)||void 0===l?void 0:l.slug)||"",communityName:(null===(n=e.community)||void 0===n?void 0:n.name)||"",isHidden:Boolean(i.is_hidden),isActive:!0}})))||[],community:{id:(null===(t=e.community)||void 0===t?void 0:t.id)||0,name:(null===(o=e.community)||void 0===o?void 0:o.name)||"",slug:(null===(l=e.community)||void 0===l?void 0:l.slug)||"",isActive:!0,isHidden:Boolean(null===(n=e.community)||void 0===n?void 0:n.is_hidden)},slug:e.slug||"",author:{id:(null===(a=e.user)||void 0===a?void 0:a.id)||0,username:(null===(r=e.user)||void 0===r?void 0:r.user_name)||"",email:(null===(d=e.user)||void 0===d?void 0:d.email)||"",name:(null===(s=e.user)||void 0===s?void 0:s.name)||"",avatar:(null===(u=e.user)||void 0===u?void 0:u.avatar)||"",role:(null===(m=e.user)||void 0===m?void 0:m.role)?null===(c=null===(v=e.user)||void 0===v?void 0:v.role)||void 0===c?void 0:c.toLowerCase():"",type:(null===(p=e.user)||void 0===p?void 0:p.type)||"",partnerId:(null===(_=e.user)||void 0===_?void 0:_.partner_id)?String(null===(g=e.user)||void 0===g?void 0:g.partner_id):"",title:(null===(y=e.user)||void 0===y?void 0:y.title)||"",doctorId:(null===(f=e.user)||void 0===f?void 0:f.doctor_id)?String(null===(b=e.user)||void 0===b?void 0:b.doctor_id):"",hospitalId:(null===(h=e.user)||void 0===h?void 0:h.hospital_id)?String(null===(w=e.user)||void 0===w?void 0:w.hospital_id):""},previewUrl:{title:e.preview_title||"",url:e.preview_link||"",image:e.preview_image||"",description:e.preview_description||""},createdAt:e.created_at||"",scheduleDateTime:e.schedule_datetime||"",photos:e.images||[],description:e.description||"",commentsCount:e.comments_count||0,likesCount:e.likes_count||0,title:e.name||"",isPin:!!e.is_pin,pinDate:e.pin_date||"",liked:e.liked||!1,bookmarked:Boolean(e.bookmarked)||!1,mentions:e.mentions||[],commented:Boolean(e.commented)||!1,introUrl:e.intro_url||"",bannerImage:e.banner_image||"",isAnonymous:e.is_anonymous?1:0,isAskDoctor:e.is_question?1:0,expertAnswer:S(null==e?void 0:e.expert_answer),createdTime:e.created_time||""}:{}},A=e=>{var i,t,o,l,n,a,r,d,s,u,m,v,c,p,_,g,y,f,b,h,w,k,x,C,I,S,T,j,B,q,D,P;return e?{content:e.content,countLikes:e.likes_count,countReplies:e.replies_count,createdAt:e.created_at,createdTime:e.created_time,id:String(e.id),images:e.image||[],link:e.link||null,replies:e.replies&&e.replies.length>0?e.replies.map(A):[],author:{id:(null===(i=e.user)||void 0===i?void 0:i.id)||0,username:(null===(t=e.user)||void 0===t?void 0:t.user_name)||"",name:(null===(o=e.user)||void 0===o?void 0:o.name)||"",role:(null===(l=e.user)||void 0===l?void 0:l.role)?null===(a=null===(n=e.user)||void 0===n?void 0:n.role)||void 0===a?void 0:a.toLowerCase():"",avatar:(null===(r=e.user)||void 0===r?void 0:r.avatar)||"",type:(null===(d=e.user)||void 0===d?void 0:d.type)||"",email:(null===(s=e.user)||void 0===s?void 0:s.email)||"",partnerId:(null===(u=e.user)||void 0===u?void 0:u.partner_id)?String(null===(m=e.user)||void 0===m?void 0:m.partner_id):"",title:(null===(v=e.user)||void 0===v?void 0:v.title)||"",doctorId:(null===(c=e.user)||void 0===c?void 0:c.doctor_id)?String(null===(p=e.user)||void 0===p?void 0:p.doctor_id):"",hospitalId:(null===(_=e.user)||void 0===_?void 0:_.hospital_id)?String(null===(g=e.user)||void 0===g?void 0:g.hospital_id):""},liked:!!e.liked,mentionedUser:e.mentioned?{id:(null===(y=e.mentioned)||void 0===y?void 0:y.id)||0,username:(null===(f=e.mentioned)||void 0===f?void 0:f.user_name)||"",name:(null===(b=e.mentioned)||void 0===b?void 0:b.name)||"",role:(null===(h=e.mentioned)||void 0===h?void 0:h.role)?null===(k=null===(w=e.mentioned)||void 0===w?void 0:w.role)||void 0===k?void 0:k.toLowerCase():"",avatar:(null===(x=e.mentioned)||void 0===x?void 0:x.avatar)||"",type:(null===(C=e.mentioned)||void 0===C?void 0:C.type)||"",email:(null===(I=e.mentioned)||void 0===I?void 0:I.email)||"",partnerId:(null===(S=e.mentioned)||void 0===S?void 0:S.partner_id)?String(null===(T=e.mentioned)||void 0===T?void 0:T.partner_id):"",doctorId:(null===(j=e.mentioned)||void 0===j?void 0:j.doctor_id)?String(null===(B=e.mentioned)||void 0===B?void 0:B.doctor_id):"",hospitalId:(null===(q=e.mentioned)||void 0===q?void 0:q.hospital_id)?String(null===(D=e.mentioned)||void 0===D?void 0:D.hospital_id):"",title:(null===(P=e.mentioned)||void 0===P?void 0:P.title)||""}:null,mentions:e.mentions||[],isSensitive:e.is_sensitive||0,userReadComment:e.user_read_comment,source:e.source||[],isVerify:e.is_verify||0,isOppose:e.is_oppose||0,userVerify:e.user_verify||{},categorySlug:e.categories||"",isAnonymous:Boolean(Number(e.is_anonymous||0))}:{}},j=e=>void 0!==e&&e?(null==e?void 0:e.turn_off_profile)?"":(null==e?void 0:e.slug)?["expert","medical"].includes((null==e?void 0:e.role)||"")?`/expert/${null==e?void 0:e.slug}`:`/author/${null==e?void 0:e.slug}`:(null==e?void 0:e.profile_url)||(null==e?void 0:e.permalink)||"#":"";var B=Object.freeze({__proto__:null,formatAuthor:m,formatArticleExpert:v,formatSpotlightsSummary:c,TRANSLATE_LANGUAGES:_,formatTranslateOptions:g,formatArticle:y,formatUserProfile:f,formatBMIResult:e=>{var i,t,o,l,n,a,r,d,s;return e&&e.status?{status:null==e?void 0:e.status,comparison:null!==(i=null==e?void 0:e.comparison)&&void 0!==i?i:"",assessmentData:[{tab:"tools.condition",content:null!==(t=null==e?void 0:e.condition)&&void 0!==t?t:""},{tab:"tools.risks",content:null!==(o=null==e?void 0:e.risk)&&void 0!==o?o:""},{tab:"tools.suggestion",content:null!==(l=null==e?void 0:e.suggestion)&&void 0!==l?l:""}],chartData:(null===(n=null==e?void 0:e.chart_data)||void 0===n?void 0:n.length)>0?null==e?void 0:e.chart_data:[],disclaimer:null!==(a=null==e?void 0:e.disclaimer)&&void 0!==a?a:"",illustrator:null!==(r=null==e?void 0:e.illustrator)&&void 0!==r?r:"",faqs:null!==(d=null==e?void 0:e.faqs)&&void 0!==d?d:[],suggestedArticlesLink:null!==(s=null==e?void 0:e.suggested_articles_link)&&void 0!==s?s:""}:{}},formatSponsor:b,formatReviewedCategory:h,formatCategory:w,formatCategoryApi:e=>e?{categoryInfo:w(e.data.category)||null,explainersPosts:(e.data.explainers_posts||[]).map(y),subCategories:(e.data.sub_categories||[]).map(w)}:{},formatFaqsCategory:k,formatHealthTool:x,formatHealthToolTypeCategory:e=>{var i,t;return e?{termId:(null==e?void 0:e.term_id)||0,name:(null==e?void 0:e.name)||"",healthTools:null!==(t=null===(i=null==e?void 0:e.health_tools)||void 0===i?void 0:i.map((e=>x(e))))&&void 0!==t?t:[]}:{}},formatCommunity:C,formatTopic:I,formatExpertAnswer:S,formatPost:T,formatPostPagination:e=>e?{currentPage:e.current||0,lastPage:e.last||0,total:e.total_items||0}:{},formatNotification:e=>{var i,t,o;return e?{time:e.created_at,content:e.content,postId:String(e.post_id),fromUser:{name:null===(i=e.from_user)||void 0===i?void 0:i.name,id:null===(t=e.from_user)||void 0===t?void 0:t.id,avatar:null===(o=e.from_user)||void 0===o?void 0:o.avatar},toUserId:String(e.to_user_id),postSlug:e.post_slug||"",communitySlug:e.community_slug||""}:{}},formatSpotlightsList:e=>e?e.map((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}))):[],formatOvulationInfo:e=>e?{disclaimer:e.disclaimer,featuredImage:e.featured_image,info:e.informations||[],reviewedBy:e.reviewed_by?{id:e.reviewed_by.ID,permalink:e.reviewed_by.permalink,name:e.reviewed_by.name,postTitle:e.reviewed_by.post_title}:null,reviewedDate:e.reviewed_date}:{},formatSuggestedArticle:e=>e?{postId:e.post_id||null,categoryId:e.category_id||null,postUrl:e.post_url||null,postReviewed:e.post_reviewed||null,postPageviews:e.post_pageviews||null,postRank:e.post_rank||null,isPin:e.is_pin||null,frequency:e.frequency||null,topic:e.topic||null}:{},formatTopicHealthTool:e=>e?{id:e.tool_id||null,topicFrequency:e.frequency||null,topicId:e.topic_id||null,topicName:e.topic_name||null,isPinned:!!e.is_pin||null,toolLink:e.tool_link||""}:{},formatComment:A,formatReportedPostToPostDetail:e=>e?{name:e.title,description:e.description,images:e.images,likes_count:e.count_likes,comments_count:e.count_comments,topics:[],slug:e.post_slug,id:e.post_id,is_pin:e.is_pin,pin_date:"",post_type:e.post_type,schedule_datetime:e.schedule_datetime,is_active:e.is_active,preview_title:e.preview_title||"",preview_image:e.preview_image||"",preview_description:e.preview_description||"",preview_link:e.preview_link||"",user:e.user,created_at:"",created_time:"",community:{id:e.community_id,name:e.community_name,slug:e.community_slug,description:""}}:{},formatTopicSubot:e=>e?{chatBotId:e.subot_id,isPinned:e.is_pin,topicId:e.topic_id,topicFrequency:e.frequency}:{},formatSiteWideBanner:(e,i)=>void 0!==e&&e?{content:(null==e?void 0:e.content)||"",icon:(null==e?void 0:e.icon)||"",type:i||"other"}:null,formatPWGContent:e=>e?{disclaimer:e.disclaimer,info:e.info||[],reviewedBy:e.reviewed_by?f(e.reviewed_by):null,reviewedDate:e.reviewed_date,metaTag:e.meta_tag}:{},formatUserProfileUrl:j,formatTHRContent:e=>e?{disclaimer:e.disclaimer,info:e.info||[],reviewedBy:e.reviewed_by?f(e.reviewed_by):null,reviewedDate:e.reviewed_date,metaTag:e.meta_tag}:{},formatBabyGrowthContent:e=>{var i,t,o;return e&&e.information?{information:null!==(i=e.information.map((e=>({title:e.title,description:e.description}))))&&void 0!==i?i:[],reviewBy:{reviewer:(null===(t=e.reviewed_by)||void 0===t?void 0:t.display_name)||(null===(o=e.reviewed_by)||void 0===o?void 0:o.name)||"",date:e.reviewed_date||"",link:j(null==e?void 0:e.reviewed_by)},metaTag:e.meta_tag||"",title:e.title||"",description:e.description||"",disclaimer:e.disclaimer||"",is_sponsored:e.is_sponsored||!1,sponsor:e.sponsor,featuredImage:e.featured_image||""}:{}}});const q=d.default.div`
|
|
84
|
+
`,m=e=>e?{displayName:e.display_name||null,avatar:e.avatar||null,thumbnailAvatar:e.avatar_thumbnail||null,profileUrl:e.profile_url||null,description:e.description||null,metaTag:e.meta_tag||"",specialty:e.specialty||"",organisation:e.organisation||""}:{},v=e=>e?{id:e.ID||null,name:e.name||null,specialty:e.specialty||null,avatar:e.avatar||null,permalink:e.permalink||null,thumbnailAvatar:e.avatar_thumbnail||null}:{},p=e=>void 0!==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}:null,c=e=>{if(!e)return{};const{button_text:i,button_url:t,status:o,banner_desktop:n,banner_mobile:a}=e,r=l.__rest(e,["button_text","button_url","status","banner_desktop","banner_mobile"]);return Object.assign({buttonText:i||"",buttonUrl:t||"",status:Boolean(o),bannerDesktop:n||"",bannerMobile:a||""},r)},_={EN:"English",FIL:"Filipino"},g=e=>void 0===e||Object.keys(e).length<2?[]:Object.keys(e).map((i=>({label:i.toUpperCase()in _?_[i.toUpperCase()]:i.toUpperCase(),value:"/"===e[i].slice(-1)?e[i]:`${e[i]}/`}))),y=e=>{var i,t,o,l;return e?{id:e.ID,postName:e.post_name,sponsor:e.sponsor?b(e.sponsor):null,isSponsored:e.is_sponsored||null,isPremium:e.is_premium||!1,postTitle:e.post_title||"",postModified:e.post_modified||"",postDate:e.post_date||"",modifiedTime:e.modified_time||"",permalink:e.permalink||"",featureImage:e.image||null,featureImageMobile:e.image_medium||null,featureImageMobileXs:e.image_thumbnail||null,author:m(e.author),reviewer:e.reviewed_by&&m(e.reviewed_by)||null,articleReviewed:(null==e?void 0:e.reviewed)?Object.assign(Object.assign({},null==e?void 0:e.reviewed),{author:f(null===(i=null==e?void 0:e.reviewed)||void 0===i?void 0:i.author),editor:f(null===(t=null==e?void 0:e.reviewed)||void 0===t?void 0:t.editor),expert:f(null===(o=null==e?void 0:e.reviewed)||void 0===o?void 0:o.expert),fact_check:f(null===(l=null==e?void 0:e.reviewed)||void 0===l?void 0:l.fact_check)}):null,category:w(e.category),postContent:e.post_content||null,keyTakeaways:e.key_takeaways||null,categories:(e.categories||[]).map(w),sources:e.sources||null,description:e.description||null,excerpt:e.excerpt||null,expert:v(e.expert),metaTag:e.meta_tag||null,spotlight:p(null==e?void 0:e.spotlight),affiliate_message:e.affiliate_message||null,turnOffComment:!!e.turn_off_comment,hasAffiliate:!!e.is_affiliate,translateOptions:g(e.translate),jumpingLink:e.jumping_link||[],pregnancy:(null==e?void 0:e.pregnancy)||!1,pregnancyWeek:(null==e?void 0:e.week_pregnancy)||1,primaryCategory:w(e.primary_category),turnOffIvsPlayer:!!e.turn_off_ivs_player,turnOffArticleVoice:!!e.turn_off_article_voice,enableAudio:!!e.enable_audio,label:(null==e?void 0:e.label)||"",editLast:m(e.edit_last),subscriptionBanner:c(e.subscription_banner)}:{}},f=e=>void 0!==e&&e?Object.assign(Object.assign({},e),{profile_url:(null==e?void 0:e.slug)?["expert","medical"].includes((null==e?void 0:e.role)||"")?`/expert/${null==e?void 0:e.slug}`:`/author/${null==e?void 0:e.slug}`:e.profile_url}):null,b=e=>e?{title:e.title,logo:e.logo,link:e.link}:{},h=e=>({postTitle:e.post_title,permalink:e.permalink}),w=e=>{var i,t;return e?{termId:e.term_id||null,sponsor:e.sponsor?b(e.sponsor):null,isSponsored:e.is_sponsored||null,categoryName:e.cat_name||null,name:e.name||null,iconUrl:e.icon||"",slugName:e.category_nicename||null,description:e.description||null,featureImage:e.image||null,displayName:e.name||null,parent:e.parent||null,permalink:e.permalink||null,slug:e.slug||null,childCates:(null===(i=e.child_cates)||void 0===i?void 0:i.map((e=>w(e))))||[],colorFeatureImage:e.color_feature_image||null,imageColor:e.image_color||null,textColor:e.text_color||null,catParent:(null===(t=e.cat_parent)||void 0===t?void 0:t.name)?{name:e.cat_parent.name,permalink:e.cat_parent.permalink}:{},metaTag:e.meta_tag||"",reviewedBy:e.reviewed_by?h(e.reviewed_by):null,reviewedDate:e.reviewed_date||"",faqs:e.faqs?e.faqs.map((e=>k(e))):null}:{}},k=e=>({title:e.title,content:e.content}),x=e=>e?{icon:e.icon,link:e.link.startsWith("http")?e.link:"/health-tools"+e.link,subtitle:e.subtitle,title:e.title}:{},C=e=>e?{topicCount:e.topics_count||0,postCount:e.posts_count||0,memberCount:e.members_count||0,thumbnail:e.thumbnail||"",coverImage:e.cover_image||"",mobileCoverImage:e.mobile_cover_image||"",name:e.name||"",description:e.description||"",slug:e.slug||"",id:e.id||0,joined:Boolean(e.joined),isActive:null===e.is_active||void 0===e.is_active||Boolean(e.is_active),mappedCategoryId:e.mapped_category_id||0,discoverCategory:e.discover_category?{categoryId:e.discover_category.category_id||0,name:e.discover_category.name||""}:null,isHidden:Boolean(e.is_hidden)}:{},I=e=>{var i,t,o,l;return e?{id:e.id||0,name:e.name||"",image:e.thumbnail||"",slug:e.slug||"",url:"/"+(null===(i=e.community)||void 0===i?void 0:i.slug)+"/"+(null==e?void 0:e.slug)||"",description:e.description||"",joined:e.joined||!1,postCount:e.count_posts||0,memberCount:e.count_members||0,communityId:String(null===(t=e.community)||void 0===t?void 0:t.id),communitySlug:null===(o=e.community)||void 0===o?void 0:o.slug,communityName:null===(l=e.community)||void 0===l?void 0:l.name,order:e.order||0,isActive:null===e.is_active||void 0===e.is_active||Boolean(e.is_active),mappedCategoryId:e.mapped_category_id||0,discoverCategory:e.discover_category?{categoryId:e.discover_category.category_id||0,name:e.discover_category.name||""}:null,isHidden:Boolean(e.is_hidden)}:{}},S=e=>e?{answer:null==e?void 0:e.answer.map(A),expert:null==e?void 0:e.expert}:{},T=e=>{var i,t,o,l,n,a,r,d,s,u,m,v,p,c,_,g,y,f,b,h,w;return e?{id:e.id,topics:(null===(i=e.topics)||void 0===i?void 0:i.map((i=>{var t,o,l,n;return{id:i.id||0,name:i.name||"",slug:i.slug||"",url:"/"+(null===(t=e.community)||void 0===t?void 0:t.slug)+"/"+i.slug,communityId:String(null===(o=e.community)||void 0===o?void 0:o.id),communitySlug:(null===(l=e.community)||void 0===l?void 0:l.slug)||"",communityName:(null===(n=e.community)||void 0===n?void 0:n.name)||"",isHidden:Boolean(i.is_hidden),isActive:!0}})))||[],community:{id:(null===(t=e.community)||void 0===t?void 0:t.id)||0,name:(null===(o=e.community)||void 0===o?void 0:o.name)||"",slug:(null===(l=e.community)||void 0===l?void 0:l.slug)||"",isActive:!0,isHidden:Boolean(null===(n=e.community)||void 0===n?void 0:n.is_hidden)},slug:e.slug||"",author:{id:(null===(a=e.user)||void 0===a?void 0:a.id)||0,username:(null===(r=e.user)||void 0===r?void 0:r.user_name)||"",email:(null===(d=e.user)||void 0===d?void 0:d.email)||"",name:(null===(s=e.user)||void 0===s?void 0:s.name)||"",avatar:(null===(u=e.user)||void 0===u?void 0:u.avatar)||"",role:(null===(m=e.user)||void 0===m?void 0:m.role)?null===(p=null===(v=e.user)||void 0===v?void 0:v.role)||void 0===p?void 0:p.toLowerCase():"",type:(null===(c=e.user)||void 0===c?void 0:c.type)||"",partnerId:(null===(_=e.user)||void 0===_?void 0:_.partner_id)?String(null===(g=e.user)||void 0===g?void 0:g.partner_id):"",title:(null===(y=e.user)||void 0===y?void 0:y.title)||"",doctorId:(null===(f=e.user)||void 0===f?void 0:f.doctor_id)?String(null===(b=e.user)||void 0===b?void 0:b.doctor_id):"",hospitalId:(null===(h=e.user)||void 0===h?void 0:h.hospital_id)?String(null===(w=e.user)||void 0===w?void 0:w.hospital_id):""},previewUrl:{title:e.preview_title||"",url:e.preview_link||"",image:e.preview_image||"",description:e.preview_description||""},createdAt:e.created_at||"",scheduleDateTime:e.schedule_datetime||"",photos:e.images||[],description:e.description||"",commentsCount:e.comments_count||0,likesCount:e.likes_count||0,title:e.name||"",isPin:!!e.is_pin,pinDate:e.pin_date||"",liked:e.liked||!1,bookmarked:Boolean(e.bookmarked)||!1,mentions:e.mentions||[],commented:Boolean(e.commented)||!1,introUrl:e.intro_url||"",bannerImage:e.banner_image||"",isAnonymous:e.is_anonymous?1:0,isAskDoctor:e.is_question?1:0,expertAnswer:S(null==e?void 0:e.expert_answer),createdTime:e.created_time||""}:{}},A=e=>{var i,t,o,l,n,a,r,d,s,u,m,v,p,c,_,g,y,f,b,h,w,k,x,C,I,S,T,j,B,q,D,P;return e?{content:e.content,countLikes:e.likes_count,countReplies:e.replies_count,createdAt:e.created_at,createdTime:e.created_time,id:String(e.id),images:e.image||[],link:e.link||null,replies:e.replies&&e.replies.length>0?e.replies.map(A):[],author:{id:(null===(i=e.user)||void 0===i?void 0:i.id)||0,username:(null===(t=e.user)||void 0===t?void 0:t.user_name)||"",name:(null===(o=e.user)||void 0===o?void 0:o.name)||"",role:(null===(l=e.user)||void 0===l?void 0:l.role)?null===(a=null===(n=e.user)||void 0===n?void 0:n.role)||void 0===a?void 0:a.toLowerCase():"",avatar:(null===(r=e.user)||void 0===r?void 0:r.avatar)||"",type:(null===(d=e.user)||void 0===d?void 0:d.type)||"",email:(null===(s=e.user)||void 0===s?void 0:s.email)||"",partnerId:(null===(u=e.user)||void 0===u?void 0:u.partner_id)?String(null===(m=e.user)||void 0===m?void 0:m.partner_id):"",title:(null===(v=e.user)||void 0===v?void 0:v.title)||"",doctorId:(null===(p=e.user)||void 0===p?void 0:p.doctor_id)?String(null===(c=e.user)||void 0===c?void 0:c.doctor_id):"",hospitalId:(null===(_=e.user)||void 0===_?void 0:_.hospital_id)?String(null===(g=e.user)||void 0===g?void 0:g.hospital_id):""},liked:!!e.liked,mentionedUser:e.mentioned?{id:(null===(y=e.mentioned)||void 0===y?void 0:y.id)||0,username:(null===(f=e.mentioned)||void 0===f?void 0:f.user_name)||"",name:(null===(b=e.mentioned)||void 0===b?void 0:b.name)||"",role:(null===(h=e.mentioned)||void 0===h?void 0:h.role)?null===(k=null===(w=e.mentioned)||void 0===w?void 0:w.role)||void 0===k?void 0:k.toLowerCase():"",avatar:(null===(x=e.mentioned)||void 0===x?void 0:x.avatar)||"",type:(null===(C=e.mentioned)||void 0===C?void 0:C.type)||"",email:(null===(I=e.mentioned)||void 0===I?void 0:I.email)||"",partnerId:(null===(S=e.mentioned)||void 0===S?void 0:S.partner_id)?String(null===(T=e.mentioned)||void 0===T?void 0:T.partner_id):"",doctorId:(null===(j=e.mentioned)||void 0===j?void 0:j.doctor_id)?String(null===(B=e.mentioned)||void 0===B?void 0:B.doctor_id):"",hospitalId:(null===(q=e.mentioned)||void 0===q?void 0:q.hospital_id)?String(null===(D=e.mentioned)||void 0===D?void 0:D.hospital_id):"",title:(null===(P=e.mentioned)||void 0===P?void 0:P.title)||""}:null,mentions:e.mentions||[],isSensitive:e.is_sensitive||0,userReadComment:e.user_read_comment,source:e.source||[],isVerify:e.is_verify||0,isOppose:e.is_oppose||0,userVerify:e.user_verify||{},categorySlug:e.categories||"",isAnonymous:Boolean(Number(e.is_anonymous||0))}:{}},j=e=>void 0!==e&&e?(null==e?void 0:e.turn_off_profile)?"":(null==e?void 0:e.slug)?["expert","medical"].includes((null==e?void 0:e.role)||"")?`/expert/${null==e?void 0:e.slug}`:`/author/${null==e?void 0:e.slug}`:(null==e?void 0:e.profile_url)||(null==e?void 0:e.permalink)||"#":"";var B=Object.freeze({__proto__:null,formatAuthor:m,formatArticleExpert:v,formatSpotlightsSummary:p,TRANSLATE_LANGUAGES:_,formatTranslateOptions:g,formatArticle:y,formatUserProfile:f,formatBMIResult:e=>{var i,t,o,l,n,a,r,d,s;return e&&e.status?{status:null==e?void 0:e.status,comparison:null!==(i=null==e?void 0:e.comparison)&&void 0!==i?i:"",assessmentData:[{tab:"tools.condition",content:null!==(t=null==e?void 0:e.condition)&&void 0!==t?t:""},{tab:"tools.risks",content:null!==(o=null==e?void 0:e.risk)&&void 0!==o?o:""},{tab:"tools.suggestion",content:null!==(l=null==e?void 0:e.suggestion)&&void 0!==l?l:""}],chartData:(null===(n=null==e?void 0:e.chart_data)||void 0===n?void 0:n.length)>0?null==e?void 0:e.chart_data:[],disclaimer:null!==(a=null==e?void 0:e.disclaimer)&&void 0!==a?a:"",illustrator:null!==(r=null==e?void 0:e.illustrator)&&void 0!==r?r:"",faqs:null!==(d=null==e?void 0:e.faqs)&&void 0!==d?d:[],suggestedArticlesLink:null!==(s=null==e?void 0:e.suggested_articles_link)&&void 0!==s?s:""}:{}},formatSponsor:b,formatReviewedCategory:h,formatCategory:w,formatCategoryApi:e=>e?{categoryInfo:w(e.data.category)||null,explainersPosts:(e.data.explainers_posts||[]).map(y),subCategories:(e.data.sub_categories||[]).map(w)}:{},formatFaqsCategory:k,formatHealthTool:x,formatHealthToolTypeCategory:e=>{var i,t;return e?{termId:(null==e?void 0:e.term_id)||0,name:(null==e?void 0:e.name)||"",healthTools:null!==(t=null===(i=null==e?void 0:e.health_tools)||void 0===i?void 0:i.map((e=>x(e))))&&void 0!==t?t:[]}:{}},formatCommunity:C,formatTopic:I,formatExpertAnswer:S,formatPost:T,formatPostPagination:e=>e?{currentPage:e.current||0,lastPage:e.last||0,total:e.total_items||0}:{},formatNotification:e=>{var i,t,o;return e?{time:e.created_at,content:e.content,postId:String(e.post_id),fromUser:{name:null===(i=e.from_user)||void 0===i?void 0:i.name,id:null===(t=e.from_user)||void 0===t?void 0:t.id,avatar:null===(o=e.from_user)||void 0===o?void 0:o.avatar},toUserId:String(e.to_user_id),postSlug:e.post_slug||"",communitySlug:e.community_slug||""}:{}},formatSpotlightsList:e=>e?e.map((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}))):[],formatOvulationInfo:e=>e?{disclaimer:e.disclaimer,featuredImage:e.featured_image,info:e.informations||[],reviewedBy:e.reviewed_by?{id:e.reviewed_by.ID,permalink:e.reviewed_by.permalink,name:e.reviewed_by.name,postTitle:e.reviewed_by.post_title}:null,reviewedDate:e.reviewed_date}:{},formatSuggestedArticle:e=>e?{postId:e.post_id||null,categoryId:e.category_id||null,postUrl:e.post_url||null,postReviewed:e.post_reviewed||null,postPageviews:e.post_pageviews||null,postRank:e.post_rank||null,isPin:e.is_pin||null,frequency:e.frequency||null,topic:e.topic||null}:{},formatTopicHealthTool:e=>e?{id:e.tool_id||null,topicFrequency:e.frequency||null,topicId:e.topic_id||null,topicName:e.topic_name||null,isPinned:!!e.is_pin||null,toolLink:e.tool_link||""}:{},formatComment:A,formatReportedPostToPostDetail:e=>e?{name:e.title,description:e.description,images:e.images,likes_count:e.count_likes,comments_count:e.count_comments,topics:[],slug:e.post_slug,id:e.post_id,is_pin:e.is_pin,pin_date:"",post_type:e.post_type,schedule_datetime:e.schedule_datetime,is_active:e.is_active,preview_title:e.preview_title||"",preview_image:e.preview_image||"",preview_description:e.preview_description||"",preview_link:e.preview_link||"",user:e.user,created_at:"",created_time:"",community:{id:e.community_id,name:e.community_name,slug:e.community_slug,description:""}}:{},formatTopicSubot:e=>e?{chatBotId:e.subot_id,isPinned:e.is_pin,topicId:e.topic_id,topicFrequency:e.frequency}:{},formatSiteWideBanner:(e,i)=>void 0!==e&&e?{content:(null==e?void 0:e.content)||"",icon:(null==e?void 0:e.icon)||"",type:i||"other"}:null,formatPWGContent:e=>e?{disclaimer:e.disclaimer,info:e.info||[],reviewedBy:e.reviewed_by?f(e.reviewed_by):null,reviewedDate:e.reviewed_date,metaTag:e.meta_tag}:{},formatUserProfileUrl:j,formatTHRContent:e=>e?{disclaimer:e.disclaimer,info:e.info||[],reviewedBy:e.reviewed_by?f(e.reviewed_by):null,reviewedDate:e.reviewed_date,metaTag:e.meta_tag}:{},formatBabyGrowthContent:e=>{var i,t,o;return e&&e.information?{information:null!==(i=e.information.map((e=>({title:e.title,description:e.description}))))&&void 0!==i?i:[],reviewBy:{reviewer:(null===(t=e.reviewed_by)||void 0===t?void 0:t.display_name)||(null===(o=e.reviewed_by)||void 0===o?void 0:o.name)||"",date:e.reviewed_date||"",link:j(null==e?void 0:e.reviewed_by)},metaTag:e.meta_tag||"",title:e.title||"",description:e.description||"",disclaimer:e.disclaimer||"",is_sponsored:e.is_sponsored||!1,sponsor:e.sponsor,featuredImage:e.featured_image||""}:{}}});const q=d.default.div`
|
|
85
85
|
width: ${e=>e.size||40}px;
|
|
86
86
|
height: ${e=>e.size||40}px;
|
|
87
87
|
flex-shrink: 0;
|
|
@@ -114,4 +114,4 @@
|
|
|
114
114
|
background-color: ${o.theme.mbColors.pink};
|
|
115
115
|
}
|
|
116
116
|
}
|
|
117
|
-
`;exports.Popup=({type:e="lead",closeIcon:i,isOpen:t=!0,onClose:o,children:l,className:n="",enableAnimation:a=!0})=>r.default.createElement(r.default.Fragment,null,r.default.createElement(s,{"data-open":t,"data-type":e,"data-animation":a},r.default.createElement("div",{className:`${n||""} popup-content`},!!i&&r.default.createElement("div",{className:"close-button",onClick:o},i),l)),r.default.createElement(u,{"data-open":t,onClick:o})),exports.UserAvatar=i=>{var{className:t,isMarryBaby:o,style:a,avatar:d,username:s,size:u}=i,m=l.__rest(i,["className","isMarryBaby","style","avatar","username","size"]);const{data:{env:{isMarryBaby:v}}}=e.useContext(n.TogetherComponentGlobalContext),
|
|
117
|
+
`;exports.Popup=({type:e="lead",closeIcon:i,isOpen:t=!0,onClose:o,children:l,className:n="",enableAnimation:a=!0})=>r.default.createElement(r.default.Fragment,null,r.default.createElement(s,{"data-open":t,"data-type":e,"data-animation":a},r.default.createElement("div",{className:`${n||""} popup-content`},!!i&&r.default.createElement("div",{className:"close-button",onClick:o},i),l)),r.default.createElement(u,{"data-open":t,onClick:o})),exports.UserAvatar=i=>{var{className:t,isMarryBaby:o,style:a,avatar:d,username:s,size:u}=i,m=l.__rest(i,["className","isMarryBaby","style","avatar","username","size"]);const{data:{env:{isMarryBaby:v}}}=e.useContext(n.TogetherComponentGlobalContext),p="boolean"==typeof o?o:v,[c,_]=e.useState(!1);return r.default.createElement(q,Object.assign({"data-is-marrybaby":p,className:t,style:a,size:u},m),d&&!c?r.default.createElement("img",{loading:"lazy",src:d,className:"avatar",alt:"avatar",onError:()=>{c||_(!0)}}):r.default.createElement("div",{className:"avatar avatar-default"},s&&(null==s?void 0:s.length)>0?s[0].toUpperCase():"A"))},exports.dataTransform=B,exports.formatArticle=y,exports.formatCategory=w,exports.formatComment=A,exports.formatCommunity=C,exports.formatPost=T,exports.formatTopic=I,exports.formatUserProfileUrl=j;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var t=require("./tslib.es6-
|
|
1
|
+
"use strict";var t=require("./tslib.es6-afbb99a9.js");function a(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var e=a(require("react")),d="P03rcnV",o="LsvykAk",c="S2kaD9B",i="fAwTdkg",l="ITgol3T",r="cD-HMFz",n="oAG2-aJ",s="Y9fGCaj";exports.Button=a=>{var{size:u,color:C="primary",theme:m="helloSites",isDisabled:h,isBlock:f,title:p,className:P,onClick:g,icon:k,iconPosition:v="left",children:E,isLoading:b=!1,loadingText:y,dataEventCategory:N,dataEventAction:L,dataEventLabel:B,dataProductChannel:w,dataProductSku:x,dataProductBrand:A,dataProductName:T,dataProductPrice:j,dataProductCategory:z,dataProductPosition:D,type:S}=a,F=t.__rest(a,["size","color","theme","isDisabled","isBlock","title","className","onClick","icon","iconPosition","children","isLoading","loadingText","dataEventCategory","dataEventAction","dataEventLabel","dataProductChannel","dataProductSku","dataProductBrand","dataProductName","dataProductPrice","dataProductCategory","dataProductPosition","type"]);const M={"data-event-category":N,"data-event-action":L,"data-event-label":B,"data-product-channel":w,"data-product-sku":x,"data-product-brand":A,"data-product-name":T,"data-product-price":j,"data-product-category":z,"data-product-position":D},q=e.default.createElement("span",{className:o},e.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},e.default.createElement("circle",{className:s,cx:"12",cy:"12",r:"10",stroke:"white",strokeWidth:"4"})),e.default.createElement("svg",{className:d,width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},e.default.createElement("mask",{id:"path-1-inside-1",fill:"white"},e.default.createElement("path",{d:"M12 0C14.464 2.93833e-08 16.8683 0.758527 18.8863 2.17253C20.9042 3.58653 22.438 5.58746 23.2791 7.90347C24.1203 10.2195 24.2281 12.7383 23.5879 15.1177C22.9477 17.4971 21.5906 19.6218 19.7009 21.2031C17.8111 22.7843 15.4804 23.7456 13.0254 23.9561C10.5704 24.1667 8.11007 23.6164 5.97869 22.38C3.8473 21.1436 2.14819 19.281 1.1122 17.0454C0.0761991 14.8097 -0.246461 12.3093 0.188053 9.8839L4.09856 10.5845C3.8079 12.2069 4.02374 13.8795 4.71676 15.375C5.40977 16.8705 6.54637 18.1165 7.97213 18.9435C9.39789 19.7706 11.0437 20.1387 12.6859 19.9979C14.3282 19.857 15.8873 19.214 17.1514 18.1563C18.4155 17.0985 19.3233 15.6772 19.7516 14.0856C20.1798 12.4939 20.1077 10.8089 19.545 9.25969C18.9823 7.71042 17.9563 6.37193 16.6065 5.42605C15.2566 4.48017 13.6483 3.97277 12 3.97277L12 0Z"})),e.default.createElement("path",{className:n,d:"M12 0C14.464 2.93833e-08 16.8683 0.758527 18.8863 2.17253C20.9042 3.58653 22.438 5.58746 23.2791 7.90347C24.1203 10.2195 24.2281 12.7383 23.5879 15.1177C22.9477 17.4971 21.5906 19.6218 19.7009 21.2031C17.8111 22.7843 15.4804 23.7456 13.0254 23.9561C10.5704 24.1667 8.11007 23.6164 5.97869 22.38C3.8473 21.1436 2.14819 19.281 1.1122 17.0454C0.0761991 14.8097 -0.246461 12.3093 0.188053 9.8839L4.09856 10.5845C3.8079 12.2069 4.02374 13.8795 4.71676 15.375C5.40977 16.8705 6.54637 18.1165 7.97213 18.9435C9.39789 19.7706 11.0437 20.1387 12.6859 19.9979C14.3282 19.857 15.8873 19.214 17.1514 18.1563C18.4155 17.0985 19.3233 15.6772 19.7516 14.0856C20.1798 12.4939 20.1077 10.8089 19.545 9.25969C18.9823 7.71042 17.9563 6.37193 16.6065 5.42605C15.2566 4.48017 13.6483 3.97277 12 3.97277L12 0Z",stroke:"#91CAFF",strokeWidth:"8",mask:"url(#path-1-inside-1)"}))),G=(k||b)&&e.default.createElement("span",{className:r},b?q:k," ");return e.default.createElement("button",Object.assign({},M,{className:`${l} ${P||""}`,"data-size":u,"data-color":C,"data-block":f,"data-has-icon":!!k||void 0,"data-theme":m,disabled:h,onClick:t=>{!b&&!h&&g&&g(t)},title:p,"data-is-loading":b,type:S},F),e.default.createElement("span",{className:i},"left"===v&&G,E&&e.default.createElement("span",{className:c},b&&y||E),"right"===v&&G))};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var e=require("./tslib.es6-afbb99a9.js"),r=require("react");require("./index-63e33ff2.js"),require("@mantine/core"),require("@mantine/dates"),require("./index-6b89bd1e.js"),require("./Subot-781f30c5.js"),require("./gAssets.js");var t=require("./index-df9365fe.js");function i(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}require("dayjs"),require("./screenSizeContext-41fd163e.js"),require("styled-components"),require("./theme-5779230b.js"),require("./isProduction-d688052c.js"),require("./translationsContext-149822d4.js"),require("string-format"),require("@mantine/hooks");var s=i(r);exports.Text=r=>{var{size:i="base",type:u="regular"}=r,n=e.__rest(r,["size","type"]);return s.default.createElement(t.Text,Object.assign({size:i,weight:"caption"===u?"bold":u},n))};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("./tslib.es6-
|
|
1
|
+
"use strict";var e=require("./tslib.es6-afbb99a9.js"),a=require("react"),t=require("@mantine/core"),n=require("./constants-8ef08ff5.js");function l(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var r=l(a);exports.Input=l=>{var{name:s,value:o,errorMessage:i,isNumerousKeyboard:c=!1,showErrorMessage:u=!0,actionIcon:d,displayIcon:m,onActionClick:p,label:y,className:b,onChange:f,isDisabled:v,CustomInput:C,size:g,style:h,autoComplete:E="off",type:I="text",inputClassName:N,trackingAttributes:M,enterKeyHint:A}=l,k=e.__rest(l,["name","value","errorMessage","isNumerousKeyboard","showErrorMessage","actionIcon","displayIcon","onActionClick","label","className","onChange","isDisabled","CustomInput","size","style","autoComplete","type","inputClassName","trackingAttributes","enterKeyHint"]);const K=t.useMantineTheme(),L=a.useMemo((()=>M?{"data-event-category":M.dataEventCategory,"data-event-action":M.dataEventAction,"data-event-label":M.dataEventLabel}:{}),[M]);return r.default.createElement(n.StyledInput,{"data-size":g,className:b,"data-has-action-icon":!!d||void 0,"data-has-display-icon":!!m||void 0,"data-has-error":i&&i.length>0||void 0,color:K.fn.primaryColor(),shadowColor:K.colors[K.primaryColor][0],style:h},y&&r.default.createElement(n.Label,{size:"label2",htmlFor:s,className:"inputLabel"},y),r.default.createElement("div",{style:{position:"relative"}},C||r.default.createElement("input",Object.assign({id:s,name:s,onChange:e=>f&&f(e.target.value),type:I,"aria-label":I,value:o,disabled:v,autoComplete:E,inputMode:c||"number"===I?"numeric":I,pattern:c?"[0-9]*":".*",className:N,enterKeyHint:A},L,k)),m&&r.default.createElement(n.StyledDisplayIcon,{className:"displayIcon"},m),d&&r.default.createElement(n.StyledActionIcon,{className:"actionIcon",onClick:p},d)),i&&i.length>0&&u&&r.default.createElement(n.StyledErrorLabel,{className:"errorLabel"},i))};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("./tslib.es6-
|
|
1
|
+
"use strict";var e=require("./tslib.es6-afbb99a9.js"),t=require("react"),r=require("@mantine/core"),s=require("@mantine/dates"),i=require("./index-6b89bd1e.js"),a=require("./Subot-781f30c5.js"),n=require("./gAssets.js"),l=require("./index-63e33ff2.js");function o(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var u=o(t);exports.DatePicker=t=>{var o,{value:c,fullWidth:d=!0}=t,v=e.__rest(t,["value","fullWidth"]);return u.default.createElement(s.DatePickerInput,Object.assign({locale:l.MAPPED_LOCALE[process.env.UNIFY_LOCALE||a.LOCALE.Vietnam],valueFormat:null===(o=i.ISO_FORMAT[process.env.UNIFY_LOCALE||a.LOCALE.Vietnam])||void 0===o?void 0:o.dateFormat,size:"md",clearable:!1,popoverProps:d?{styles:{dropdown:{minWidth:"100%",display:"flex",justifyContent:"center",alignItems:"center"}}}:{},styles:{root:{position:"relative"},rightSection:{pointerEvents:"none",cursor:"default"}},rightSection:u.default.createElement(r.Image,{src:n.CommonGAssets.getAssetPath(v.isMB?"MB-calendar.svg":"OutlineCalendar.svg"),width:16,height:16}),value:c},v,{className:`input-control ${(null==v?void 0:v.className)||""}`}))};
|