@hhgtech/hhg-components 1.28.66 → 1.28.67
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/adapters.js +1 -1
- package/build/babyGrowth.js +2 -2
- package/build/cache.js +1 -1
- package/build/care.js +1 -1
- package/build/components.js +1 -1
- package/build/{constants-73159c2a.js → constants-00e06f68.js} +1 -1
- package/build/{constants-adcdb14b.js → constants-51251306.js} +1 -1
- package/build/constants.js +1 -1
- package/build/core-ba3af3e2.js +1 -0
- package/build/{dataTransform-520b281d.js → dataTransform-1805eae3.js} +1 -1
- package/build/ecom.js +1 -1
- package/build/esm/adapters.js +1 -1
- package/build/esm/babyGrowth.js +4 -4
- package/build/esm/cache.js +1 -1
- package/build/esm/care.js +1 -1
- package/build/esm/components.js +1 -1
- package/build/esm/{constants-c485e78c.js → constants-6ecfa77c.js} +1 -1
- package/build/esm/{constants-f7550085.js → constants-f7c80032.js} +1 -1
- package/build/esm/constants.js +1 -1
- package/build/esm/{core-fa9dcda7.js → core-80112758.js} +1 -1
- package/build/esm/{dataTransform-4a370c34.js → dataTransform-0fa341bb.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-a4c9d6dd.js +1 -0
- package/build/esm/{getSocialList-2b7314ba.js → getSocialList-4e48deba.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-0623901b.js → index-13dc1f44.js} +1 -1
- package/build/esm/{index-d8d0e766.js → index-13e62563.js} +1 -1
- package/build/esm/index-24557f2b.js +1 -0
- package/build/esm/{index-c4d4d720.js → index-252cb964.js} +1 -1
- package/build/esm/{index-4bffd1b5.js → index-2e99f941.js} +1 -1
- package/build/esm/{index-270da577.js → index-3452fed2.js} +1 -1
- package/build/esm/{index-683d3b18.js → index-3aff939b.js} +1 -1
- package/build/esm/index-459e0362.js +1 -0
- package/build/esm/{index-72fa8ae2.js → index-45dcd965.js} +1 -1
- package/build/esm/index-486b71cd.js +1 -0
- package/build/esm/{index-bfbcb02a.js → index-5408f5a4.js} +1 -1
- package/build/esm/{index-4e3c22fe.js → index-5e1af23a.js} +1 -1
- package/build/esm/{index-a9e5948f.js → index-79ef3a30.js} +1 -1
- package/build/esm/{index-79eb2a8e.js → index-7c77273a.js} +1 -1
- package/build/esm/{index-ae226d85.js → index-823fd7c0.js} +1 -1
- package/build/esm/{index-471c74a1.js → index-93e5b4f3.js} +1 -1
- package/build/esm/{index-8248c054.js → index-9c7b9011.js} +1 -1
- package/build/esm/{index-2e127fc2.js → index-9e5956c2.js} +1 -1
- package/build/esm/{index-d43e9c3f.js → index-a83aad1c.js} +13 -13
- package/build/esm/{index-49e26211.js → index-b7cc3ca2.js} +1 -1
- package/build/esm/{index-607bb5ca.js → index-bf11f9e9.js} +4 -4
- package/build/esm/{index-5f03fe2e.js → index-ce3d38fd.js} +1 -1
- package/build/esm/{index-6b3801b8.js → index-d27a0e25.js} +1 -1
- package/build/esm/{index-9a54e690.js → index-f9514788.js} +1 -1
- package/build/esm/{index-54804d8b.js → index-fd04ccb7.js} +89 -89
- package/build/esm/index.js +1 -1
- package/build/esm/{index.styled-1ab6b28c.js → index.styled-14b65c9e.js} +1 -1
- package/build/esm/{index.styles-45b79ae0.js → index.styles-94af560f.js} +1 -1
- 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 +1 -1
- package/build/esm/pwg.js +5 -5
- package/build/esm/{routing-d44c0bee.js → routing-2b284b30.js} +1 -1
- package/build/esm/subot.js +1 -1
- package/build/esm/together.js +1 -1
- package/build/esm/{types-f4d45c9a.js → types-6d397125.js} +1 -1
- package/build/esm/{types-79663a70.js → types-850814a7.js} +1 -1
- package/build/esm/types.js +1 -1
- package/build/esm/{useCategory-c1d9450b.js → useCategory-f5f74749.js} +1 -1
- package/build/esm/{useHealthToolCache-6f6bc4f6.js → useHealthToolCache-f1488032.js} +1 -1
- package/build/esm/{usePlacesAutocomplete-c8e14185.js → usePlacesAutocomplete-0733ec49.js} +1 -1
- package/build/esm/{useTranslations-f52266ac.js → useTranslations-df1b3bb8.js} +1 -1
- package/build/esm/{utils-910a1880.js → utils-3d2e3f0f.js} +1 -1
- package/build/esm/{utils-5b231140.js → utils-970ce0c0.js} +1 -1
- package/build/esm/{utils-ea81fe2e.js → utils-b87ec473.js} +1 -1
- package/build/esm/vaccination.js +1 -1
- package/build/footer.js +1 -1
- package/build/gAssets.js +1 -1
- package/build/getDynamicHealthTool-31f44ca1.js +1 -0
- package/build/{getSocialList-f6615600.js → getSocialList-29c0a6e8.js} +1 -1
- package/build/hooks.js +1 -1
- package/build/i18n.js +1 -1
- package/build/i18nV2.js +1 -1
- package/build/{index-a24ff91a.js → index-1714c81c.js} +18 -18
- package/build/{index-f9fa9cfa.js → index-238813a4.js} +1 -1
- package/build/{index-c7719f32.js → index-2438163d.js} +68 -68
- package/build/{index-cc402a20.js → index-29d302f4.js} +2 -2
- package/build/{index-d95cd8b6.js → index-3184ae4e.js} +1 -1
- package/build/{index-03923bf8.js → index-35192783.js} +1 -1
- package/build/{index-e6924b72.js → index-41d684a8.js} +1 -1
- package/build/{index-9d328bb2.js → index-4a8c8ce6.js} +1 -1
- package/build/{index-db16e483.js → index-64d2f812.js} +1 -1
- package/build/{index-35481c2b.js → index-85c621a2.js} +1 -1
- package/build/{index-cf3c064b.js → index-90f4bc02.js} +1 -1
- package/build/{index-c38aea5c.js → index-9a845847.js} +1 -1
- package/build/index-9ed509d1.js +1 -0
- package/build/{index-e4cac56c.js → index-aa495d24.js} +1 -1
- package/build/{index-ee0c20cd.js → index-ad5cf64d.js} +1 -1
- package/build/{index-07500814.js → index-b21a1d96.js} +1 -1
- package/build/{index-414cb0d4.js → index-b320255d.js} +1 -1
- package/build/index-b9af15da.js +1 -0
- package/build/{index-a0798d6d.js → index-bd4b31bf.js} +1 -1
- package/build/index-bf81cb71.js +1 -0
- package/build/{index-c270a6cf.js → index-c3cbb8f3.js} +1 -1
- package/build/{index-2f6a2013.js → index-d25afe2f.js} +1 -1
- package/build/{index-6afedf85.js → index-e7c1ff53.js} +2 -2
- package/build/index-f6217f73.js +1 -0
- package/build/index-f7088d57.js +1 -0
- package/build/index.js +1 -1
- package/build/{index.styled-380fc362.js → index.styled-0a1fb891.js} +1 -1
- package/build/{index.styles-4370ce45.js → index.styles-2ecb9c85.js} +1 -1
- package/build/lead.js +1 -1
- package/build/mantine.js +1 -1
- package/build/misc.js +1 -1
- package/build/navigation.js +1 -1
- package/build/onboardingV2.js +5 -5
- package/build/pwg.js +3 -3
- package/build/{routing-007ff8fd.js → routing-f2edd0d0.js} +1 -1
- package/build/subot.js +1 -1
- package/build/together.js +1 -1
- package/build/{types-a6ca3219.js → types-49f0543a.js} +1 -1
- package/build/{types-c3cf972c.js → types-bfd12e24.js} +1 -1
- package/build/types.js +1 -1
- package/build/{useCategory-12ae6179.js → useCategory-94d60dab.js} +1 -1
- package/build/{useHealthToolCache-ad01ebff.js → useHealthToolCache-7307d240.js} +1 -1
- package/build/{usePlacesAutocomplete-946a0693.js → usePlacesAutocomplete-6ab0181b.js} +1 -1
- package/build/{useTranslations-4e03f99b.js → useTranslations-233c68bc.js} +1 -1
- package/build/{utils-bc080a5d.js → utils-13ea4f2f.js} +2 -2
- package/build/{utils-fdd87a4a.js → utils-bee8be92.js} +1 -1
- package/build/utils-d5766c73.js +1 -0
- package/build/vaccination.js +1 -1
- package/package.json +1 -1
- package/build/components/navigationV2/components/atoms/SearchIcon.d.ts +0 -2
- package/build/core-0c94646a.js +0 -1
- package/build/esm/components/navigationV2/components/atoms/SearchIcon.d.ts +0 -2
- package/build/esm/getDynamicHealthTool-d719a5ff.js +0 -1
- package/build/esm/index-54daafa4.js +0 -1
- package/build/esm/index-621aa030.js +0 -1
- package/build/esm/index-c115846d.js +0 -1
- package/build/getDynamicHealthTool-28030b7d.js +0 -1
- package/build/index-089494c6.js +0 -1
- package/build/index-271878ae.js +0 -1
- package/build/index-50eaf6d5.js +0 -1
- package/build/index-d7e76136.js +0 -1
- package/build/index-eb7e5151.js +0 -1
- package/build/utils-df5d9a04.js +0 -1
- /package/build/{BMI_BOYS.percentile.monthly-f5d52266.js → BMI_BOYS.percentile.monthly-c56b0165.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-4e5ff498.js → BMI_BOYS.percentile.weekly-64287e04.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-a4a42526.js → BMI_BOYS.percentile.yearly-8db65d54.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-6eb042ef.js → BMI_BOYS.zscore.monthly-f12389cd.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-d9d4d664.js → BMI_BOYS.zscore.weekly-fff37a57.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-16bffd53.js → BMI_BOYS.zscore.yearly-a19b57eb.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-03d6fdb2.js → BMI_GIRLS.percentile.monthly-a4b36d7d.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-b81e451a.js → BMI_GIRLS.percentile.weekly-b6089202.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-3e4b5b2f.js → BMI_GIRLS.percentile.yearly-0d340818.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-de1ef04a.js → BMI_GIRLS.zscore.monthly-fd5b57c0.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-b8d7663a.js → BMI_GIRLS.zscore.weekly-d4577f50.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-8fe7d962.js → BMI_GIRLS.zscore.yearly-e40b8a7d.js} +0 -0
- /package/build/{ChevronDown-5d76a601.js → ChevronDown-602ce39e.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-20055033.js → HEAD CIRCUM_BOYS.percentile.monthly-2e4c5776.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-825df536.js → HEAD CIRCUM_BOYS.percentile.weekly-fc5728a5.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-ab924280.js → HEAD CIRCUM_BOYS.percentile.yearly-6bfab277.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-368e894a.js → HEAD CIRCUM_BOYS.zscore.monthly-6af7ce44.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-3f51952e.js → HEAD CIRCUM_BOYS.zscore.weekly-9adb819b.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-1e5ed0ea.js → HEAD CIRCUM_BOYS.zscore.yearly-9a6cdbcf.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-ede5fd6e.js → HEAD CIRCUM_GIRLS.percentile.monthly-e7bfe9c6.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-4f21a04e.js → HEAD CIRCUM_GIRLS.percentile.weekly-9f17e019.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-311df700.js → HEAD CIRCUM_GIRLS.percentile.yearly-8a59f541.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-88f2c092.js → HEAD CIRCUM_GIRLS.zscore.monthly-b7ddb16c.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-75ef678e.js → HEAD CIRCUM_GIRLS.zscore.weekly-72701c55.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-ef9cdae8.js → HEAD CIRCUM_GIRLS.zscore.yearly-dd94bded.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-94de3e54.js → HEIGHT_BOYS.percentile.monthly-b890068c.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-3da49b12.js → HEIGHT_BOYS.percentile.weekly-a1aa5130.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-c1f7c8c1.js → HEIGHT_BOYS.percentile.yearly-5727d920.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-ba4df5ec.js → HEIGHT_BOYS.zscore.monthly-13b70aa6.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-6aac30e3.js → HEIGHT_BOYS.zscore.weekly-3e1d7f23.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-a283810a.js → HEIGHT_BOYS.zscore.yearly-a956102d.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-a05de6f6.js → HEIGHT_GIRLS.percentile.monthly-da5ec01b.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-1740cf2c.js → HEIGHT_GIRLS.percentile.weekly-e6205d32.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-a6aad1a4.js → HEIGHT_GIRLS.percentile.yearly-caefa502.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-da886a56.js → HEIGHT_GIRLS.zscore.monthly-102ba473.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-d45a3743.js → HEIGHT_GIRLS.zscore.weekly-db4f710b.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-cf182dca.js → HEIGHT_GIRLS.zscore.yearly-36465920.js} +0 -0
- /package/build/{Subot-8019ae74.js → Subot-4751194d.js} +0 -0
- /package/build/{Visible-fc9f8e9b.js → Visible-9497c463.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-8d340884.js → WEIGHT_BOYS.percentile.monthly-554d0361.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-b5157088.js → WEIGHT_BOYS.percentile.weekly-8e5334b8.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-d75c8564.js → WEIGHT_BOYS.percentile.yearly-536e1ccb.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-44d99546.js → WEIGHT_BOYS.zscore.monthly-01eccee1.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-eeef05e6.js → WEIGHT_BOYS.zscore.weekly-ee8f2c6b.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-a12476c6.js → WEIGHT_BOYS.zscore.yearly-0aea2749.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-c03408ff.js → WEIGHT_GIRLS.percentile.monthly-7abf9d06.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-f8e9d926.js → WEIGHT_GIRLS.percentile.weekly-f9b6e963.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-2fb4c7ab.js → WEIGHT_GIRLS.percentile.yearly-254865a5.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-88d40522.js → WEIGHT_GIRLS.zscore.monthly-909f7417.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-a2f48b32.js → WEIGHT_GIRLS.zscore.weekly-e62cd084.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-0135b0de.js → WEIGHT_GIRLS.zscore.yearly-8d6e5405.js} +0 -0
- /package/build/{animation-81c0f70c.js → animation-d5d9ef32.js} +0 -0
- /package/build/{cookieHelper-389add07.js → cookieHelper-7d519a72.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-3dbd882d.js → BMI_BOYS.percentile.monthly-6272f835.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-b1b3f90d.js → BMI_BOYS.percentile.weekly-80d18f47.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-b186ff3d.js → BMI_BOYS.percentile.yearly-a7e5b5f6.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-74d38c87.js → BMI_BOYS.zscore.monthly-d3658f97.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-3d0f5588.js → BMI_BOYS.zscore.weekly-6e6708dc.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-cb02ffc1.js → BMI_BOYS.zscore.yearly-b8400c9d.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-21213d72.js → BMI_GIRLS.percentile.monthly-98586b46.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-30b3de6b.js → BMI_GIRLS.percentile.weekly-7c1511b0.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-bbabbb97.js → BMI_GIRLS.percentile.yearly-ea667f90.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-63bd165e.js → BMI_GIRLS.zscore.monthly-3a4fd1a6.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-32eb7455.js → BMI_GIRLS.zscore.weekly-cc1de097.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-22035988.js → BMI_GIRLS.zscore.yearly-6dd1a364.js} +0 -0
- /package/build/esm/{ChevronDown-b3e14cab.js → ChevronDown-4e59cac6.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-82915a92.js → HEAD CIRCUM_BOYS.percentile.monthly-bd0965ae.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-8933c88f.js → HEAD CIRCUM_BOYS.percentile.weekly-db1053f7.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-70d70ffa.js → HEAD CIRCUM_BOYS.percentile.yearly-cd38b622.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-b42182f3.js → HEAD CIRCUM_BOYS.zscore.monthly-d7f88a95.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-abec50c3.js → HEAD CIRCUM_BOYS.zscore.weekly-76f7db79.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-960cd165.js → HEAD CIRCUM_BOYS.zscore.yearly-3ce70f8e.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-e3f57938.js → HEAD CIRCUM_GIRLS.percentile.monthly-b2e678ae.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-33dcdf4b.js → HEAD CIRCUM_GIRLS.percentile.weekly-8e2664bb.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-d1cf4d69.js → HEAD CIRCUM_GIRLS.percentile.yearly-f5c075a9.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-a9ddedd8.js → HEAD CIRCUM_GIRLS.zscore.monthly-6f87849e.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-b221165a.js → HEAD CIRCUM_GIRLS.zscore.weekly-48da0aaa.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-acb343d1.js → HEAD CIRCUM_GIRLS.zscore.yearly-4eea437b.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-2a2b4d0c.js → HEIGHT_BOYS.percentile.monthly-d1a8cc8e.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-c739976e.js → HEIGHT_BOYS.percentile.weekly-2b6cfe6c.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-bbe6396a.js → HEIGHT_BOYS.percentile.yearly-9e78afc3.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-93c83525.js → HEIGHT_BOYS.zscore.monthly-5292d78a.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-41242bcb.js → HEIGHT_BOYS.zscore.weekly-fbdee645.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-c8ae60f0.js → HEIGHT_BOYS.zscore.yearly-c11a8f1b.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-01477419.js → HEIGHT_GIRLS.percentile.monthly-8e11e2dc.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-06829d1a.js → HEIGHT_GIRLS.percentile.weekly-dc3965cb.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-285e8645.js → HEIGHT_GIRLS.percentile.yearly-490f7b4e.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-97e9949a.js → HEIGHT_GIRLS.zscore.monthly-e3531c32.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-f926b58f.js → HEIGHT_GIRLS.zscore.weekly-36a16a66.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-2f4c0c46.js → HEIGHT_GIRLS.zscore.yearly-61736bba.js} +0 -0
- /package/build/esm/{Subot-e1cfb4c5.js → Subot-4642c5bf.js} +0 -0
- /package/build/esm/{Visible-2f502aff.js → Visible-ff7d225c.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-134dc641.js → WEIGHT_BOYS.percentile.monthly-0cfe7ecd.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-ae3baaf5.js → WEIGHT_BOYS.percentile.weekly-89802113.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-cf1fc859.js → WEIGHT_BOYS.percentile.yearly-0eb40972.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-2572c13f.js → WEIGHT_BOYS.zscore.monthly-7f8c5a15.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-41c94e9f.js → WEIGHT_BOYS.zscore.weekly-3dcfa8ce.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-a38be9b5.js → WEIGHT_BOYS.zscore.yearly-98ce1ea0.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-8dcb07b8.js → WEIGHT_GIRLS.percentile.monthly-df98e335.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-54a9f9e4.js → WEIGHT_GIRLS.percentile.weekly-63fff42a.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-7e6ecdf4.js → WEIGHT_GIRLS.percentile.yearly-8db8cdd0.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-6d380cff.js → WEIGHT_GIRLS.zscore.monthly-15c83c6d.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-720f17a5.js → WEIGHT_GIRLS.zscore.weekly-747a55ec.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-3200b824.js → WEIGHT_GIRLS.zscore.yearly-197dc52d.js} +0 -0
- /package/build/esm/{animation-1fa24dc4.js → animation-0340efb3.js} +0 -0
- /package/build/esm/{cookieHelper-697a5fb0.js → cookieHelper-4f089e3c.js} +0 -0
- /package/build/esm/{index-5ced6fc6.js → index-1e7ad007.js} +0 -0
- /package/build/esm/{index-9329b5d1.js → index-8c77d7e0.js} +0 -0
- /package/build/esm/{index-ef431a3d.js → index-e21276e3.js} +0 -0
- /package/build/esm/{isProduction-6c4494a3.js → isProduction-00695d80.js} +0 -0
- /package/build/esm/{localizeNumberFormat-a0f401c2.js → localizeNumberFormat-8355a44f.js} +0 -0
- /package/build/esm/{normalizeLink-a05c8c97.js → normalizeLink-1c194268.js} +0 -0
- /package/build/esm/{number-bcbdca0e.js → number-1347eb7b.js} +0 -0
- /package/build/esm/{paths-e61cca75.js → paths-749b4b53.js} +0 -0
- /package/build/esm/{theme-0b94804f.js → theme-3db3c9a8.js} +0 -0
- /package/build/esm/{translationsContext-39a2587e.js → translationsContext-6d2efd65.js} +0 -0
- /package/build/esm/{tslib.es6-18638601.js → tslib.es6-266309d1.js} +0 -0
- /package/build/esm/{types-95753c0a.js → types-d3da37d2.js} +0 -0
- /package/build/esm/{useIsInit-cbde65e9.js → useIsInit-9661c5f5.js} +0 -0
- /package/build/esm/{useOutsideClick-6cf33dc1.js → useOutsideClick-0704b383.js} +0 -0
- /package/build/esm/{useScrollbarSize-bf0dddc5.js → useScrollbarSize-90b179a5.js} +0 -0
- /package/build/esm/{useUniqueId-fdce4fd7.js → useUniqueId-03fbaecd.js} +0 -0
- /package/build/esm/{utils-f8794d89.js → utils-5b4e60da.js} +0 -0
- /package/build/{index-554c7c61.js → index-34b6bd24.js} +0 -0
- /package/build/{index-551b8544.js → index-58e0d49f.js} +0 -0
- /package/build/{index-43f12c63.js → index-ed8656f9.js} +0 -0
- /package/build/{isProduction-134a2c14.js → isProduction-28d96804.js} +0 -0
- /package/build/{localizeNumberFormat-3358f3a5.js → localizeNumberFormat-22b2d7aa.js} +0 -0
- /package/build/{normalizeLink-6b03d324.js → normalizeLink-594ccff1.js} +0 -0
- /package/build/{number-c2465df9.js → number-cf06dcc0.js} +0 -0
- /package/build/{paths-108c065c.js → paths-ed72ecb8.js} +0 -0
- /package/build/{theme-c0e7e797.js → theme-f2b8aad7.js} +0 -0
- /package/build/{translationsContext-069b26e2.js → translationsContext-4c4c33c4.js} +0 -0
- /package/build/{tslib.es6-b6cbaaa9.js → tslib.es6-ceb091fd.js} +0 -0
- /package/build/{types-8591c08c.js → types-5b303b71.js} +0 -0
- /package/build/{useIsInit-8af5b266.js → useIsInit-c3cf1925.js} +0 -0
- /package/build/{useOutsideClick-d374050c.js → useOutsideClick-15fef824.js} +0 -0
- /package/build/{useScrollbarSize-bb6c1ea5.js → useScrollbarSize-ab332673.js} +0 -0
- /package/build/{useUniqueId-3b48403e.js → useUniqueId-46834e18.js} +0 -0
- /package/build/{utils-aaf29483.js → utils-45e691a3.js} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import e,{useState as t,useEffect as a,useRef as n,useMemo as i,Fragment as l,memo as o,useCallback as r,useImperativeHandle as s,forwardRef as c,createContext as d,useContext as m}from"react";import{T as p}from"./index-6b3801b8.js";import{b as g,c as u,d as h,e as v,f as b,h as y,i as f,j as E,k as x,l as w,m as k,n as C,o as N,p as B,q as z,r as $,s as S,t as P,u as D,T as L,g as I,P as T}from"./index.styles-45b79ae0.js";import{f as M,M as A}from"./utils-f8794d89.js";import{I as j,R as O,u as _,A as F,a as H,b as R,B as W,c as U,d as V,e as G,t as Z}from"./index-bfbcb02a.js";import{T as q}from"./index-c115846d.js";import{a as Y}from"./useUniqueId-fdce4fd7.js";import{C as X}from"./index-4bffd1b5.js";import{H as K}from"./index-54daafa4.js";import{t as Q}from"./theme-0b94804f.js";import{_ as J,a as ee}from"./tslib.es6-18638601.js";import{Box as te,Radio as ae,Flex as ne,rem as ie,Card as le,Group as oe,createStyles as re,Stack as se,getStylesRef as ce,useMantineTheme as de,Container as me,UnstyledButton as pe,AspectRatio as ge,ScrollArea as ue,Chip as he,Badge as ve,MultiSelect as be,Stepper as ye}from"@mantine/core";import fe from"innertext";import"@mantine/dates";import{d as Ee,L as xe,F as we,Q as ke,R as Ce,a as Ne,G as Be}from"./index-2e127fc2.js";import{G as ze,L as $e}from"./Subot-e1cfb4c5.js";import"./translationsContext-39a2587e.js";import"string-format";import{useViewportSize as Se}from"@mantine/hooks";import{i as Pe,d as De}from"./index-54804d8b.js";import Le,{keyframes as Ie,css as Te}from"styled-components";import Me from"lodash/throttle";import{L as Ae}from"./index-c4d4d720.js";import{B as je}from"./index-270da577.js";import{I as Oe}from"./index-4e3c22fe.js";import _e from"html-react-parser";import{i as Fe}from"./isProduction-6c4494a3.js";import{u as He}from"./useTranslations-f52266ac.js";import{CalendarMB as Re,Calendar as We}from"@hhgtech/icons/other";import{format as Ue,addDays as Ve,isBefore as Ge,startOfMonth as Ze,addMonths as qe,subMonths as Ye,getDaysInMonth as Xe,isToday as Ke,isSameDay as Qe,isWithinInterval as Je,isAfter as et,isPast as tt}from"date-fns";import at from"dayjs";import{D as nt}from"./types-95753c0a.js";import{Z as it,s as lt,H as ot,o as rt,d as st,P as ct,T as dt,t as mt,u as pt,v as gt}from"./utils-5b231140.js";import{D as ut}from"./index-d43e9c3f.js";import{M as ht}from"./index-79eb2a8e.js";import{S as vt}from"./index-621aa030.js";import{D as bt}from"./index-d8d0e766.js";import{C as yt}from"./index-5ced6fc6.js";import{useForm as ft,Controller as Et}from"react-hook-form";import{u as xt}from"./useHealthToolCache-6f6bc4f6.js";import{yupResolver as wt}from"@hookform/resolvers/yup";import{B as kt,D as Ct}from"./index-9a54e690.js";import{L as Nt}from"./constants-f7550085.js";import{h as Bt}from"./index-ae226d85.js";import"./utils-910a1880.js";import"./index.styled-1ab6b28c.js";import"./index-9329b5d1.js";import{a as zt}from"./useOutsideClick-6cf33dc1.js";import $t from"date-fns/locale/en-US";import St from"date-fns/locale/id";import Pt from"date-fns/locale/vi";import Dt from"date-fns/locale/zh-TW";import{g as Lt}from"./getSocialList-2b7314ba.js";import{v4 as It}from"uuid";import{g as Tt,a as Mt}from"./routing-d44c0bee.js";import{useForm as At,isNotEmpty as jt}from"@mantine/form";import{I as Ot}from"./index-0623901b.js";import{Close as _t,Plus as Ft}from"@hhgtech/icons/core";import{M as Ht}from"./index-683d3b18.js";import Rt from"js-cookie";import Wt from"lodash/flatten";import Ut from"lodash/uniqBy";import{g as Vt}from"./cookieHelper-697a5fb0.js";import{n as Gt,a as Zt}from"./normalizeLink-a05c8c97.js";var qt="CHw-fZZ",Yt="_03U6VRS",Xt="EO828Vv";const Kt=({style:t,onClose:a,text:n,type:i,contentIcon:l,closeIcon:o,className:r,description:s})=>e.createElement("div",{className:`${qt} ${r||""}`,style:t,"data-alert-type":i},e.createElement("div",{className:Yt},e.createElement("div",{className:"icon-title"},l,e.createElement(p,{weight:"bold",size:"label1"},n)),e.createElement(p,{weight:"regular",size:"p3"},s)),e.createElement("div",{className:Xt,onClick:a},o)),Qt={xs:28,small:32,medium:40,large:48,xl:64,xxl:80,xxxl:96},Jt=({type:n="square",size:i,avatarImg:l,avatarUrl:o,firstLetter:r,backgroundColor:s,onClick:c,style:d,className:m,width:p,height:u,alt:h})=>{const v=i?Qt[i]:void 0,[b,y]=t(!1);a((()=>{if(o){const e=document.createElement("img");e.setAttribute("src",o),e.addEventListener("error",(()=>{y(!0)}))}}),[o,y]);const f=(!o&&!l||b)&&r;return e.createElement(g,{style:Object.assign(Object.assign({},d),{"--size":v?v+"px":void 0,"--width-prop":p?p+"px":void 0,"--height-prop":u?u+"px":void 0,"--background-color":s}),"data-has-max":!(!p||!u),"data-avatar-type":n,onClick:c,className:m,avatarUrl:o,"data-custom-size":!!i},l,o&&!b&&e.createElement(j,{src:o,alt:h||"avatar"}),f&&r)},ea=({amount:t,type:a,size:n="medium",color:i="primary",icon:l,className:o})=>e.createElement(u,{"data-notification-type":a,"data-notification-size":n,"data-notification-color":i,"data-has-icon":!!l||void 0,notificationType:a,notificationSize:n,notificationColor:i,hasIcon:!!l,className:o},e.createElement("div",null,t&&e.createElement("span",null,t)," ",l&&e.createElement("div",null,l))),ta=({style:t,children:a,className:n,size:i="lg",type:l="bold",upperCase:o,as:r="h4",color:s})=>e.createElement(h,{style:Object.assign({color:s},t),className:n,"data-size":i,"data-type":l,"data-uppercase":o,as:r},a),aa=()=>e.createElement("style",null,".file-dropdown-path{fill:none;stroke:#595959;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.5px}"),na=()=>e.createElement("svg",{id:"prefix__Layer_1","data-name":"Layer 1",viewBox:"0 0 12.17 14.83"},e.createElement("defs",null,e.createElement("clipPath",{id:"prefix__clip-path",transform:"translate(-1.92 -1.54)"},e.createElement("path",{fill:"none",d:"M0 .96h16v16H0z"}))),e.createElement("title",null,"File"),e.createElement("g",{clipPath:"url(#prefix__clip-path)"},e.createElement("path",{className:"file-dropdown-path",d:"M8.67 2.29H4a1.33 1.33 0 00-1.33 1.33v10.67A1.33 1.33 0 004 15.62h8a1.33 1.33 0 001.33-1.33V7z",transform:"translate(-1.92 -1.54)"}),e.createElement("path",{className:"file-dropdown-path",d:"M8.67 2.29V7h4.66",transform:"translate(-1.92 -1.54)"}))),ia=()=>e.createElement("svg",{id:"prefix__Layer_1","data-name":"Layer 1",viewBox:"0 0 13.5 13.5"},e.createElement("title",null,"download"),e.createElement("path",{className:"file-dropdown-path",d:"M14 11v2.66A1.33 1.33 0 0112.67 15H3.33A1.33 1.33 0 012 13.62V11M4.67 7.62L8 11l3.33-3.34M8 11V3",transform:"translate(-1.25 -2.21)"})),la=()=>e.createElement("svg",{id:"prefix__Layer_1","data-name":"Layer 1",viewBox:"0 0 13.5 13.5"},e.createElement("title",null,"upload"),e.createElement("path",{className:"file-dropdown-path",d:"M14 11v2.66A1.33 1.33 0 0112.67 15H3.33A1.33 1.33 0 012 13.62V11M11.33 6.29L8 3 4.67 6.29M8 3v8",transform:"translate(-1.25 -2.21)"})),oa=({className:a,value:i,options:l,onUploadSelected:o,id:r,placeholderIcon:s,placeholder:c,style:d})=>{const[m,p]=t(!1),g=()=>p(!m),u=n(l.map((t=>"upload"===t.type&&e.createElement("input",{id:"uploader-dropdown-input-"+r+"-"+t.value,key:"uploader-dropdown-input-"+r+"-"+t.value,accept:t.fileAcceptedType,multiple:t.multiple,type:"file",style:{display:"none"},onChange:e=>{console.log("change"),o(e.target.files)}}))));return e.createElement(v,{className:a,"data-dropdown-open":!!m,id:r,"data-has-icons":!0,style:d,onBlur:()=>p(!1),tabIndex:0},e.createElement(aa,null),e.createElement(b,{onClick:g},s||e.createElement(na,null)," ",e.createElement("span",null,i&&i.value?i.label:c)),m&&e.createElement(y,{onClick:g,"data-has-icons":!0},l.map((t=>e.createElement(f,{key:`${r}-${t.value}`,"data-selected":i&&i.value===t.value||void 0,onClick:()=>{return"upload"===t.type?(a="#uploader-dropdown-input-"+r+"-"+t.value,void(null===(n=document.querySelector(a))||void 0===n||n.click())):void((e=t.url)&&window.open(e,"_blank"));var e,a,n}},e.createElement(E,null,t.icon||"download"===t.type?e.createElement(ia,null):e.createElement(la,null)),t.label)))),e.createElement(e.Fragment,null,u.current))},ra=({className:t,columns:a,columnsDesktop:n,gridTemplateColumns:i,gridTemplateColumnsDesktop:l,gap:o,children:r,justifyChildren:s,style:c,alignItems:d})=>e.createElement(x,{className:t,style:Object.assign({"--columns-count":a,"--columns-count-desktop":n,"--grid-template-columns":i,"--grid-template-columns-desktop":l,"--justify-children":s,"--grid-gap":o,"--align-items":d},c)},r),sa=({pagesAmount:n,activePage:i,handlePageChange:o,handleClick:r,href:s,queryPageName:c="page"})=>{const d=[...Array(n)].map(((e,t)=>t+1)),[m,p]=t(i<=4?d.slice(0,5):i>=d.length-3?d.slice(d.length-5,d.length):d.slice(i-2,i+1));return a((()=>{i<=4?p(d.slice(0,5)):i>=d.length-3?p(d.slice(d.length-5,d.length)):p(d.slice(i-2,i+1))}),[i]),e.createElement(l,null,i>4&&e.createElement(l,null,e.createElement(C,{onClick:()=>o(1)},s?e.createElement("a",{href:s,onClick:r},1):1),e.createElement(C,null,"...")),m.map((t=>e.createElement(C,{key:`pagination+${t}`,"data-page-active":t===i||void 0,onClick:()=>o(t)},s?e.createElement("a",{href:M(s,t,c),onClick:r},t):t))),i<d.length-3&&e.createElement(l,null,e.createElement(C,null,"..."),e.createElement(C,{onClick:()=>o(d.length)},s?e.createElement("a",{href:M(s,d.length,c),onClick:r},d.length):d.length)))},ca=({className:n,pagesAmount:l,currentPage:o,onChange:r,onClick:s,style:c,href:d,queryPageName:m="page"})=>{const p=[...Array(l)].map(((e,t)=>t+1)),[g,u]=t(o),h=i((()=>d&&d.endsWith("&page=")?d.replace("&page=",""):d),[d]),v=l-1,b=e=>{e<=l&&e>0&&(u(e),r(e))},y=e=>{s&&s(e)};return a((()=>{u(o)}),[o]),e.createElement(w,{className:n,style:c},e.createElement(k,{className:"prev-page",onClick:()=>b(g-1),"data-last-page":1===g||void 0},h?e.createElement("a",{href:M(h,g,m),onClick:y},e.createElement("svg",{width:"7",height:"10",viewBox:"0 0 7 10",fill:"none"},e.createElement("path",{d:"M5.5 9L1.5 5L5.5 1",stroke:"#2D87F3",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))):e.createElement("svg",{width:"7",height:"10",viewBox:"0 0 7 10",fill:"none"},e.createElement("path",{d:"M5.5 9L1.5 5L5.5 1",stroke:"#2D87F3",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))),p.length>8?e.createElement(sa,{pagesAmount:l,activePage:g,handlePageChange:b,handleClick:y,href:h,queryPageName:m}):p.map((t=>e.createElement(C,{key:`pagination+${t}`,"data-page-active":t===g||void 0,onClick:()=>b(t)},h?e.createElement("a",{href:M(h,t,m),onClick:y},t):t))),e.createElement(k,{className:"next-page",onClick:()=>b(g+1),"data-last-page":g===v+1||void 0},h?e.createElement("a",{href:M(h,g,m),onClick:y},e.createElement("svg",{width:"7",height:"10",viewBox:"0 0 7 10",fill:"none"},e.createElement("path",{d:"M1.5 9L5.5 5L1.5 1",stroke:"#2D87F3",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))):e.createElement("svg",{width:"7",height:"10",viewBox:"0 0 7 10",fill:"none"},e.createElement("path",{d:"M1.5 9L5.5 5L1.5 1",stroke:"#2D87F3",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))))},da=({size:t="small",label:a,name:n,checked:i,value:l,className:o,isDisabled:r=!1,onChange:s,dataEventCategory:c,dataEventAction:d,dataEventLabel:m})=>{const p=!!d&&!!c&&!!m?{"data-event-category":c,"data-event-action":d,"data-event-label":m}:{};return e.createElement(O,Object.assign({size:"small"===t?"md":"lg",label:a,name:n,checked:i,value:l,className:o,disabled:r,onChange:e=>null==s?void 0:s(e.target.value)},p))},ma=({type:t,children:a,style:n,isInline:i,isSquared:l=!1,className:o,isLight:r,hasMorePadding:s,isLink:c,isSelected:d,textProps:m={size:"sm"}})=>{const p=m.color?{"--text-props-color":m.color}:{};return e.createElement(N,{"data-is-squared":l||void 0,"data-tag-type":t,"data-is-light":r||void 0,"data-has-more-padding":s||void 0,"data-is-inline":i||void 0,style:Object.assign(Object.assign({},n),p),className:o,"data-is-selected":d||void 0,"data-is-link":c||void 0,tagType:t,isInline:i,tagHasMorePadding:s,tagIsLight:r,tagIsSquared:l,tagIsALink:c},e.createElement(q,Object.assign({},m),a))},pa=({className:t,id:a,onChange:n,checked:i,style:l,label:o})=>e.createElement(B,{className:t,style:l},e.createElement("input",{type:"checkbox",id:a,onChange:n,checked:i}),e.createElement("label",{htmlFor:a},e.createElement(z,null),o&&e.createElement($,null,o))),ga=({label:t,name:a,checked:n,className:i,isDisabled:l,onChange:o,value:r,isRectangle:s,inputDataTestId:c,siteType:d})=>e.createElement(S,{className:i,"data-disabled":l||void 0,"data-is-rectangle":s||void 0,"data-label-text":t,"data-theme":d},e.createElement("input",{type:"checkbox",checked:n,name:a,onChange:()=>o(r,!n),disabled:l,value:r,id:`${a}-${r}`,"data-label-text":t,"data-testid":c}),!s&&e.createElement("label",{htmlFor:`${a}-${r}`},t)),ua=t=>e.createElement("svg",Object.assign({},t,{viewBox:"0 0 32 32",fill:"none"}),e.createElement("path",{d:"M16.0002 23.0266L22.8935 27.1866C23.4002 27.4933 24.0268 27.04 23.8935 26.4666L22.0668 18.6266L28.1468 13.36C28.5868 12.9733 28.3602 12.24 27.7602 12.1866L19.7468 11.5066L16.6135 4.11996C16.3868 3.57329 15.6135 3.57329 15.3868 4.11996L12.2535 11.5066L4.24016 12.1866C3.65349 12.24 3.41349 12.9733 3.86682 13.36L9.94682 18.6266L8.12016 26.4666C7.98682 27.04 8.61349 27.4933 9.12016 27.1866L16.0002 23.0266Z",fill:"#D2D6DC"})),ha=t=>e.createElement("svg",Object.assign({},t,{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none"}),e.createElement("path",{d:"M16.0002 23.0266L22.8935 27.1866C23.4002 27.4933 24.0268 27.04 23.8935 26.4666L22.0668 18.6266L28.1468 13.36C28.5868 12.9733 28.3602 12.24 27.7602 12.1866L19.7468 11.5066L16.6135 4.11996C16.3868 3.57329 15.6135 3.57329 15.3868 4.11996L12.2535 11.5066L4.24016 12.1866C3.65349 12.24 3.41349 12.9733 3.86682 13.36L9.94682 18.6266L8.12016 26.4666C7.98682 27.04 8.61349 27.4933 9.12016 27.1866L16.0002 23.0266Z",fill:"#FFC326"})),va=t=>{const a=Y();return e.createElement("svg",Object.assign({},t,{viewBox:"0 0 24 24",fill:"none"}),e.createElement("path",{d:"M12.0001 17.2697L17.1701 20.3897C17.5501 20.6197 18.0201 20.2797 17.9201 19.8497L16.5501 13.9697L21.1101 10.0197C21.4401 9.72973 21.2701 9.17973 20.8201 9.13973L14.8101 8.62973L12.4601 3.08973C12.2901 2.67973 11.7101 2.67973 11.5401 3.08973L9.19006 8.62973L3.18006 9.13973C2.74006 9.17973 2.56006 9.72973 2.90006 10.0197L7.46006 13.9697L6.09006 19.8497C5.99006 20.2797 6.46006 20.6197 6.84006 20.3897L12.0001 17.2697Z",fill:"#E4E8EC"}),e.createElement("mask",{id:a,maskUnits:"userSpaceOnUse",x:"2",y:"0",width:"10",height:"24"},e.createElement("rect",{x:"2",width:"10",height:"24",fill:"#C4C4C4"})),e.createElement("g",{mask:`url(#${a})`},e.createElement("path",{d:"M11.9998 17.2697L17.1698 20.3897C17.5498 20.6197 18.0198 20.2797 17.9198 19.8497L16.5498 13.9697L21.1098 10.0197C21.4398 9.72973 21.2698 9.17973 20.8198 9.13973L14.8098 8.62973L12.4598 3.08973C12.2898 2.67973 11.7098 2.67973 11.5398 3.08973L9.18981 8.62973L3.17981 9.13973C2.73981 9.17973 2.55981 9.72973 2.89981 10.0197L7.45981 13.9697L6.08981 19.8497C5.98981 20.2797 6.45981 20.6197 6.83981 20.3897L11.9998 17.2697Z",fill:"#FFC326"})))},ba=({gap:a=2,size:n=24,star:i,totalStars:l=5,onSelect:o,hideEmptyStars:r,style:s,className:c})=>{const d=Math.floor(i),m=i-d>=.5?1:0,[p,g]=t(null),u=p||d,h=p?0:m;return e.createElement(P,{"data-selectable":!!o,style:Object.assign({"--gap":a,"--star-size":n},s),className:c},Array.from({length:r?d+m:l}).map(((t,a)=>{const n=()=>!!o&&g(a+1),i=()=>!!o&&g(null);return a+1<=u?e.createElement(ha,{key:a,onClick:()=>null==o?void 0:o(a+1),onMouseOver:n,onMouseLeave:i}):a+1===u+h?e.createElement(va,{key:a,onClick:()=>null==o?void 0:o(a+1),onMouseOver:n,onMouseLeave:i}):e.createElement(ua,{key:a,onClick:()=>null==o?void 0:o(a+1),onMouseOver:n,onMouseLeave:i})})))},ya=l=>{var{label:o,availableValue:r,styles:s,isBaby:c,genderValue:d={male:"male",female:"female"}}=l,m=J(l,["label","availableValue","styles","isBaby","genderValue"]);const{t:g}=He(),{classes:u,cx:h}=D(void 0,{name:"GenderOptionControl",styles:s}),[v,b]=t(),y=n(null),f=i((()=>[{value:d.male,label:g(c?"gender.boy":"gender.male"),icon:X.getAssetPath(c?"health-tools/boy-icon.svg":"health-tools/male-icon.svg")},{value:d.female,label:g(c?"gender.girl":"gender.female"),icon:X.getAssetPath(c?"health-tools/girl-icon.svg":"health-tools/female-icon.svg")}]),[]);return a((()=>{b(r)}),[r]),e.createElement(te,{ref:y,className:u.root},e.createElement(ae.Group,Object.assign({className:"radio-group",label:e.createElement(p,{as:"label",size:"s4",weight:"semiBold"},o||g(c?"tools.selectBabyGender":"tools.selectGender")),size:"lg"},m,{classNames:{error:u.groupErr}}),e.createElement(ne,{className:h(u.wrapper)},f.map((t=>e.createElement(ae,Object.assign({className:"gender-item",classNames:{root:u.itemRoot,labelWrapper:u.itemLabelWrapper,label:u.itemLabel,inner:u.itemInner},key:t.value,value:t.value},v&&t.value!==v&&{disabled:!0},{label:e.createElement(ne,{gap:ie(8),align:"center",justify:"center",sx:{zIndex:0}},e.createElement("img",{src:t.icon,className:"gender-image",alt:"female",loading:"lazy"}),e.createElement(p,{size:"p3"},t.label))})))))))};var fa="PiqKaXk",Ea="HgbW6-m",xa="_6lkfLYy",wa="j7c-onH";const ka=({avatarImg:t,authorName:a,authorLink:n,uploadTime:i,size:l})=>e.createElement("div",{className:wa},e.createElement("div",{className:"author"},e.createElement("div",{className:"avatar","data-size":l},t),e.createElement("div",{className:"poster","data-is-disabled-url":!n},e.createElement(p,{size:"lg"===l?"p3":"p4"},e.createElement("a",{href:n},e.createElement("span",{className:"name"},a),"•"," "),e.createElement("span",null,i))))),Ca=({isMobile:t,avatarImg:a,name:n,link:i,size:l="lg",specialty:o})=>e.createElement("div",{className:wa},e.createElement("div",{className:"author"},e.createElement("div",{className:"expert-avatar","data-size":l},a),e.createElement("div",{className:"expert","data-is-disabled-url":!i},t?e.createElement("a",{href:i},"lg"===l?e.createElement(e.Fragment,null,e.createElement(K,{tag:"h6",className:"expert__name",color:Q.colors.gray600},n),e.createElement(p,{color:Q.colors.gray500,size:"p3",className:"specialty"},o)):e.createElement(e.Fragment,null,e.createElement(K,{tag:"h6",className:"expert__name",color:Q.colors.gray600},n))):e.createElement("a",{href:i},"lg"===l?e.createElement(e.Fragment,null,e.createElement(K,{tag:"h6",className:"expert__name",color:Q.colors.gray600},n),e.createElement(p,{color:Q.colors.gray500,size:"p3",className:"specialty"},o)):e.createElement(e.Fragment,null,e.createElement("h6",{color:Q.colors.gray600,className:`${fa} expert__name`},n),e.createElement(p,{color:Q.colors.gray500,size:"p4",className:"specialty"},o)))))),Na=o((()=>e.createElement("div",{className:"shoppable"},e.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},e.createElement("rect",{width:"24",height:"24",rx:"12",fill:"#1B3250"}),e.createElement("path",{d:"M16.6667 8.00033H15.3333C15.3333 6.16033 13.84 4.66699 12 4.66699C10.16 4.66699 8.66667 6.16033 8.66667 8.00033H7.33333C6.6 8.00033 6 8.60033 6 9.33366V17.3337C6 18.067 6.6 18.667 7.33333 18.667H16.6667C17.4 18.667 18 18.067 18 17.3337V9.33366C18 8.60033 17.4 8.00033 16.6667 8.00033ZM12 6.00033C13.1067 6.00033 14 6.89366 14 8.00033H10C10 6.89366 10.8933 6.00033 12 6.00033ZM12 12.667C10.4467 12.667 9.14 11.607 8.77333 10.167C8.66 9.74699 8.98667 9.33366 9.42 9.33366C9.73333 9.33366 9.98667 9.56033 10.0733 9.86699C10.3067 10.7137 11.08 11.3337 12 11.3337C12.92 11.3337 13.6933 10.7137 13.9267 9.86699C14.0133 9.56033 14.2667 9.33366 14.58 9.33366C15.0133 9.33366 15.3333 9.74699 15.2267 10.167C14.86 11.607 13.5533 12.667 12 12.667Z",fill:"white"}))))),Ba=o((({dataEventCategoryForBookmark:t,dataEventActionForBookmark:a,dataEventLabelForBookmark:n})=>e.createElement("svg",{"data-event-category":t,"data-event-action":a,"data-event-label":n,width:"14",height:"16",viewBox:"0 0 14 16",fill:"none"},e.createElement("path",{d:"M13 15L7 11.1111L1 15V2.55556C1 2.143 1.18061 1.74733 1.5021 1.45561C1.82359 1.16389 2.25963 1 2.71429 1H11.2857C11.7404 1 12.1764 1.16389 12.4979 1.45561C12.8194 1.74733 13 2.143 13 2.55556V15Z",fill:"#2ED69E",stroke:"#2ED69E",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})))),za=o((({dataEventCategoryForBookmark:t,dataEventActionForBookmark:a,dataEventLabelForBookmark:n})=>e.createElement("svg",{"data-event-category":t,"data-event-action":a,"data-event-label":n,width:"18",height:"18",viewBox:"0 0 18 18",fill:"none"},e.createElement("path",{d:"M12.75 2.25H5.25C4.425 2.25 3.75 2.925 3.75 3.75V15.75L9 13.5L14.25 15.75V3.75C14.25 2.925 13.575 2.25 12.75 2.25Z",fill:"#D2D6DC"})))),$a=({articleLink:t,authorLink:a,authorName:n,avatarImg:i,banner:l,categoryLink:o,categoryName:r,className:s,dataEventActionForBanner:c,dataEventActionForBookmark:d,dataEventActionForCategory:m,dataEventActionForTitle:g,dataEventCategoryForBanner:u,dataEventCategoryForBookmark:h,dataEventCategoryForCategory:v,dataEventCategoryForTitle:b,dataEventLabelForBanner:y,dataEventLabelForBookmark:f,dataEventLabelForCategory:E,dataEventLabelForTitle:x,direction:w="horizontal",hasAffiliate:k,isBookmark:C=!1,isBookmarkDisplayed:N=!0,isMobile:B=!0,onBookmark:z,onClickCategoryName:$,section:S="normal",size:P="md",specialty:D,style:L,styleBanner:I,styleLabel:T,styleTitle:M,text:A,title:j,type:O="author",uploadTime:_,articleLinkTarget:F,isPremium:H})=>{const R=e=>{e.stopPropagation(),null==z||z()},W="lg"===P&&"expert"===O?"h4":"lg"===P&&"home"===S?B?"h4":"h3":"lg"===P?"h4":"h5",U="lg"===P?"p3":"p4",V=B||"home"!==S||"lg"!==P||"author"!==O?"c2":"c1";return e.createElement("article",{className:`${xa} ${s||""}`,"data-size":P,style:L,"data-direction":w,"data-is-expert":"expert"===O||void 0},e.createElement("div",{className:"banner",style:I},e.createElement("a",{className:Ea,"data-event-category":u,"data-event-action":c,"data-event-label":y,href:t||"#",target:F},l),H&&e.createElement("img",{loading:"lazy",className:"premium",src:X.getAssetPath("premium-crown.svg")}),k&&e.createElement(Na,null)),e.createElement("div",{className:"content"},e.createElement("div",{className:"inner-content"},e.createElement(p,{style:T,className:"label",size:V,weight:"caption"},e.createElement("a",{className:Ea,"data-event-category":v,"data-event-action":m,"data-event-label":E,href:o||"#",onClick:$},r),N&&e.createElement("a",{className:"bookmark",onClick:R},C?e.createElement(Ba,{dataEventCategoryForBookmark:h,dataEventActionForBookmark:d,dataEventLabelForBookmark:f}):e.createElement(za,{dataEventCategoryForBookmark:h,dataEventActionForBookmark:d,dataEventLabelForBookmark:f}))),e.createElement(K,{tag:W,style:M,className:"title",as:"lg"===P?"h2":"h3"},e.createElement("a",{className:Ea,"data-event-category":b,"data-event-action":g,"data-event-label":x,href:t||"#",target:F},j)),A&&e.createElement("a",{href:t||"#",target:F},e.createElement(p,{size:U,className:"text"},A))),e.createElement("div",{className:"footer"},"author"===O?e.createElement(ka,{size:P,avatarImg:i,authorName:n,authorLink:a,uploadTime:_,handleClick:R,isBookmarked:C,dataEventCategoryForBookmark:h,dataEventActionForBookmark:d,dataEventLabelForBookmark:f}):e.createElement(Ca,{size:P,isMobile:B,avatarImg:i,specialty:D,name:n,link:a,handleClick:R,isBookmarked:C,dataEventCategoryForBookmark:h,dataEventActionForBookmark:d,dataEventLabelForBookmark:f}))))},Sa=t=>{var a,n,i,{article:l,author:o,authorAvatar:r,badge:s="",hideDescription:c=!1,isBookmarked:d=!1,onBookmark:m,time:g,tracking:u}=t,h=J(t,["article","author","authorAvatar","badge","hideDescription","isBookmarked","onBookmark","time","tracking"]);const{isMobile:v}=_();return console.log({article:l}),e.createElement(le,Object.assign({padding:0,radius:0,sx:{display:"flex",flexDirection:"row",gap:24}},h),e.createElement(le.Section,{w:"100%",h:"100%",miw:264,m:0,className:"pointer"},e.createElement("img",{src:(v?l.featureImageMobile:l.featureImage)||l.featureImage,alt:l.postName,style:{width:"100%"},loading:"lazy"})),e.createElement(le.Section,null,e.createElement(oe,{position:"apart",mt:16,mb:4},e.createElement(F,{href:(null===(a=null==l?void 0:l.primaryCategory)||void 0===a?void 0:a.permalink)||"#"},e.createElement(p,{size:"p4",color:"blue.6"},null===(n=null==l?void 0:l.primaryCategory)||void 0===n?void 0:n.displayName)),e.createElement(te,{sx:{cursor:"pointer"},role:"button",onClick:m},d?e.createElement("svg",Object.assign({width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},null==u?void 0:u.bookmark),e.createElement("path",{d:"M6.775 19.7C6.475 19.8333 6.18733 19.8123 5.912 19.637C5.63733 19.4623 5.5 19.2083 5.5 18.875V5.3C5.5 4.8 5.675 4.375 6.025 4.025C6.375 3.675 6.8 3.5 7.3 3.5H16.7C17.2 3.5 17.625 3.675 17.975 4.025C18.325 4.375 18.5 4.8 18.5 5.3V18.875C18.5 19.2083 18.3623 19.4623 18.087 19.637C17.8123 19.8123 17.525 19.8333 17.225 19.7L12 17.45L6.775 19.7Z",fill:"#595959"})):e.createElement("svg",Object.assign({width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},null==u?void 0:u.bookmark),e.createElement("path",{d:"M7 17.95L12 15.8L17 17.95V5.3C17 5.23333 16.9667 5.16667 16.9 5.1C16.8333 5.03333 16.7667 5 16.7 5H7.3C7.23333 5 7.16667 5.03333 7.1 5.1C7.03333 5.16667 7 5.23333 7 5.3V17.95ZM6.775 19.7C6.475 19.8333 6.18733 19.8123 5.912 19.637C5.63733 19.4623 5.5 19.2083 5.5 18.875V5.3C5.5 4.8 5.675 4.375 6.025 4.025C6.375 3.675 6.8 3.5 7.3 3.5H16.7C17.2 3.5 17.625 3.675 17.975 4.025C18.325 4.375 18.5 4.8 18.5 5.3V18.875C18.5 19.2083 18.3623 19.4623 18.087 19.637C17.8123 19.8123 17.525 19.8333 17.225 19.7L12 17.45L6.775 19.7ZM7 5H17H12H7Z",fill:"#595959"})))),e.createElement(p,{size:c?"s2":"s1",mb:8,weight:"semiBold",className:"pointer"},l.postTitle||l.postName||""),!c&&e.createElement(p,{size:"p2",mb:16,lineClamp:3,className:"pointer"},fe(l.excerpt||l.description||(null===(i=l.postContent)||void 0===i?void 0:i.split("\r\n")[0])||"")),e.createElement(ne,{gap:12,align:"center"},e.createElement(H,{size:32,src:r,withIndicator:!0,indicatorConfig:{offset:5,size:18,label:e.createElement("img",{loading:"lazy",src:s,alt:""})}},"A"),e.createElement(p,{size:"n1",c:"gray.6"},o," • ",g))))};var Pa=re(((e,{})=>({root:{},image:{},title:{},category:{},description:{},author:{}})));const Da=648/440,La=1.5,Ia=t=>{var a,n,l,{article:o,author:r,authorAvatar:s,badge:c="",bannerImageWrapProps:d,hideDescription:m=!1,isBookmarked:g=!1,onBookmark:u,time:h,tracking:v,classNames:b,styles:y,unstyled:f,className:E}=t,x=J(t,["article","author","authorAvatar","badge","bannerImageWrapProps","hideDescription","isBookmarked","onBookmark","time","tracking","classNames","styles","unstyled","className"]);const{isMobile:w}=_(),{classes:k,cx:C}=Pa({},{name:"ArticleCard",classNames:b,styles:y,unstyled:f}),N=i((()=>m?La:Da),[m]);return e.createElement(le,Object.assign({className:C(k.root,E),padding:"lg",radius:0},x),e.createElement(le.Section,{className:C(k.image,"pointer")},e.createElement(R,Object.assign({ratio:N},d),e.createElement("img",{src:(w?o.featureImageMobile:o.featureImage)||o.featureImage,alt:o.postName,style:{objectFit:"cover"}}))),e.createElement(le.Section,null,e.createElement(oe,{position:"apart",mt:16,mb:4},e.createElement(F,{className:k.category,href:(null===(a=null==o?void 0:o.primaryCategory)||void 0===a?void 0:a.permalink)||"#"},e.createElement(p,{size:"p4",color:"blue.6"},null===(n=null==o?void 0:o.primaryCategory)||void 0===n?void 0:n.displayName)),e.createElement(te,{sx:{cursor:"pointer"},role:"button",onClick:u},g?e.createElement("svg",Object.assign({width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},null==v?void 0:v.bookmark),e.createElement("path",{d:"M6.775 19.7C6.475 19.8333 6.18733 19.8123 5.912 19.637C5.63733 19.4623 5.5 19.2083 5.5 18.875V5.3C5.5 4.8 5.675 4.375 6.025 4.025C6.375 3.675 6.8 3.5 7.3 3.5H16.7C17.2 3.5 17.625 3.675 17.975 4.025C18.325 4.375 18.5 4.8 18.5 5.3V18.875C18.5 19.2083 18.3623 19.4623 18.087 19.637C17.8123 19.8123 17.525 19.8333 17.225 19.7L12 17.45L6.775 19.7Z",fill:"#595959"})):e.createElement("svg",Object.assign({width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},null==v?void 0:v.bookmark),e.createElement("path",{d:"M7 17.95L12 15.8L17 17.95V5.3C17 5.23333 16.9667 5.16667 16.9 5.1C16.8333 5.03333 16.7667 5 16.7 5H7.3C7.23333 5 7.16667 5.03333 7.1 5.1C7.03333 5.16667 7 5.23333 7 5.3V17.95ZM6.775 19.7C6.475 19.8333 6.18733 19.8123 5.912 19.637C5.63733 19.4623 5.5 19.2083 5.5 18.875V5.3C5.5 4.8 5.675 4.375 6.025 4.025C6.375 3.675 6.8 3.5 7.3 3.5H16.7C17.2 3.5 17.625 3.675 17.975 4.025C18.325 4.375 18.5 4.8 18.5 5.3V18.875C18.5 19.2083 18.3623 19.4623 18.087 19.637C17.8123 19.8123 17.525 19.8333 17.225 19.7L12 17.45L6.775 19.7ZM7 5H17H12H7Z",fill:"#595959"})))),e.createElement(p,{className:C(k.title,"pointer"),size:m?"s2":"s1",mb:8,weight:"semiBold"},o.postTitle||o.postName||""),!m&&e.createElement(p,{className:C(k.description,"pointer"),size:"p2",mb:16,lineClamp:3},fe(o.excerpt||o.description||(null===(l=o.postContent)||void 0===l?void 0:l.split("\r\n")[0])||"")),e.createElement(ne,{className:k.author,gap:12,align:"center"},e.createElement(H,{size:32,src:s,withIndicator:!0,indicatorConfig:{offset:5,size:18,label:e.createElement("img",{loading:"lazy",src:c,alt:""})}},"A"),e.createElement(p,{size:"n1",c:"gray.6"},r," • ",h))))},Ta=t=>{var{variant:a="vertical"}=t,n=J(t,["variant"]);return"horizontal"===a?e.createElement(Sa,Object.assign({},n)):e.createElement(Ia,Object.assign({},n))},Ma=Le.a`
|
|
1
|
+
import e,{useState as t,useEffect as a,useRef as n,useMemo as i,Fragment as l,memo as o,useCallback as r,useImperativeHandle as s,forwardRef as c,createContext as d,useContext as m}from"react";import{T as p}from"./index-d27a0e25.js";import{b as g,c as u,d as h,e as v,f as b,h as y,i as f,j as E,k as x,l as w,m as k,n as C,o as N,p as B,q as z,r as $,s as S,t as P,u as D,T as L,g as I,P as T}from"./index.styles-94af560f.js";import{f as M,M as A}from"./utils-5b4e60da.js";import{I as j,R as O,u as _,A as F,a as H,b as R,B as W,c as U,d as V,e as G,t as Z}from"./index-5408f5a4.js";import{T as q}from"./index-459e0362.js";import{a as Y}from"./useUniqueId-03fbaecd.js";import{C as X}from"./index-2e99f941.js";import{H as K}from"./index-24557f2b.js";import{t as Q}from"./theme-3db3c9a8.js";import{_ as J,a as ee}from"./tslib.es6-266309d1.js";import{Box as te,Radio as ae,Flex as ne,rem as ie,Card as le,Group as oe,createStyles as re,Stack as se,getStylesRef as ce,useMantineTheme as de,Container as me,UnstyledButton as pe,AspectRatio as ge,ScrollArea as ue,Chip as he,Badge as ve,MultiSelect as be,Stepper as ye}from"@mantine/core";import fe from"innertext";import"@mantine/dates";import{d as Ee,L as xe,F as we,Q as ke,R as Ce,a as Ne,G as Be}from"./index-9e5956c2.js";import{G as ze,L as $e}from"./Subot-4642c5bf.js";import"./translationsContext-6d2efd65.js";import"string-format";import{useViewportSize as Se}from"@mantine/hooks";import{i as Pe,d as De}from"./index-fd04ccb7.js";import Le,{keyframes as Ie,css as Te}from"styled-components";import Me from"lodash/throttle";import{L as Ae}from"./index-252cb964.js";import{B as je}from"./index-3452fed2.js";import{I as Oe}from"./index-5e1af23a.js";import _e from"html-react-parser";import{i as Fe}from"./isProduction-00695d80.js";import{u as He}from"./useTranslations-df1b3bb8.js";import{CalendarMB as Re,Calendar as We}from"@hhgtech/icons/other";import{format as Ue,addDays as Ve,isBefore as Ge,startOfMonth as Ze,addMonths as qe,subMonths as Ye,getDaysInMonth as Xe,isToday as Ke,isSameDay as Qe,isWithinInterval as Je,isAfter as et,isPast as tt}from"date-fns";import at from"dayjs";import{D as nt}from"./types-d3da37d2.js";import{Z as it,s as lt,H as ot,o as rt,d as st,P as ct,T as dt,t as mt,u as pt,v as gt}from"./utils-970ce0c0.js";import{D as ut}from"./index-a83aad1c.js";import{M as ht}from"./index-7c77273a.js";import{S as vt}from"./index-486b71cd.js";import{D as bt}from"./index-13e62563.js";import{C as yt}from"./index-1e7ad007.js";import{useForm as ft,Controller as Et}from"react-hook-form";import{u as xt}from"./useHealthToolCache-f1488032.js";import{yupResolver as wt}from"@hookform/resolvers/yup";import{B as kt,D as Ct}from"./index-f9514788.js";import{L as Nt}from"./constants-f7c80032.js";import{h as Bt}from"./index-823fd7c0.js";import"./utils-3d2e3f0f.js";import"./index.styled-14b65c9e.js";import"./index-8c77d7e0.js";import{a as zt}from"./useOutsideClick-0704b383.js";import $t from"date-fns/locale/en-US";import St from"date-fns/locale/id";import Pt from"date-fns/locale/vi";import Dt from"date-fns/locale/zh-TW";import{g as Lt}from"./getSocialList-4e48deba.js";import{v4 as It}from"uuid";import{g as Tt,a as Mt}from"./routing-2b284b30.js";import{useForm as At,isNotEmpty as jt}from"@mantine/form";import{I as Ot}from"./index-13dc1f44.js";import{Close as _t,Plus as Ft}from"@hhgtech/icons/core";import{M as Ht}from"./index-3aff939b.js";import Rt from"js-cookie";import Wt from"lodash/flatten";import Ut from"lodash/uniqBy";import{g as Vt}from"./cookieHelper-4f089e3c.js";import{n as Gt,a as Zt}from"./normalizeLink-1c194268.js";var qt="CHw-fZZ",Yt="_03U6VRS",Xt="EO828Vv";const Kt=({style:t,onClose:a,text:n,type:i,contentIcon:l,closeIcon:o,className:r,description:s})=>e.createElement("div",{className:`${qt} ${r||""}`,style:t,"data-alert-type":i},e.createElement("div",{className:Yt},e.createElement("div",{className:"icon-title"},l,e.createElement(p,{weight:"bold",size:"label1"},n)),e.createElement(p,{weight:"regular",size:"p3"},s)),e.createElement("div",{className:Xt,onClick:a},o)),Qt={xs:28,small:32,medium:40,large:48,xl:64,xxl:80,xxxl:96},Jt=({type:n="square",size:i,avatarImg:l,avatarUrl:o,firstLetter:r,backgroundColor:s,onClick:c,style:d,className:m,width:p,height:u,alt:h})=>{const v=i?Qt[i]:void 0,[b,y]=t(!1);a((()=>{if(o){const e=document.createElement("img");e.setAttribute("src",o),e.addEventListener("error",(()=>{y(!0)}))}}),[o,y]);const f=(!o&&!l||b)&&r;return e.createElement(g,{style:Object.assign(Object.assign({},d),{"--size":v?v+"px":void 0,"--width-prop":p?p+"px":void 0,"--height-prop":u?u+"px":void 0,"--background-color":s}),"data-has-max":!(!p||!u),"data-avatar-type":n,onClick:c,className:m,avatarUrl:o,"data-custom-size":!!i},l,o&&!b&&e.createElement(j,{src:o,alt:h||"avatar"}),f&&r)},ea=({amount:t,type:a,size:n="medium",color:i="primary",icon:l,className:o})=>e.createElement(u,{"data-notification-type":a,"data-notification-size":n,"data-notification-color":i,"data-has-icon":!!l||void 0,notificationType:a,notificationSize:n,notificationColor:i,hasIcon:!!l,className:o},e.createElement("div",null,t&&e.createElement("span",null,t)," ",l&&e.createElement("div",null,l))),ta=({style:t,children:a,className:n,size:i="lg",type:l="bold",upperCase:o,as:r="h4",color:s})=>e.createElement(h,{style:Object.assign({color:s},t),className:n,"data-size":i,"data-type":l,"data-uppercase":o,as:r},a),aa=()=>e.createElement("style",null,".file-dropdown-path{fill:none;stroke:#595959;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.5px}"),na=()=>e.createElement("svg",{id:"prefix__Layer_1","data-name":"Layer 1",viewBox:"0 0 12.17 14.83"},e.createElement("defs",null,e.createElement("clipPath",{id:"prefix__clip-path",transform:"translate(-1.92 -1.54)"},e.createElement("path",{fill:"none",d:"M0 .96h16v16H0z"}))),e.createElement("title",null,"File"),e.createElement("g",{clipPath:"url(#prefix__clip-path)"},e.createElement("path",{className:"file-dropdown-path",d:"M8.67 2.29H4a1.33 1.33 0 00-1.33 1.33v10.67A1.33 1.33 0 004 15.62h8a1.33 1.33 0 001.33-1.33V7z",transform:"translate(-1.92 -1.54)"}),e.createElement("path",{className:"file-dropdown-path",d:"M8.67 2.29V7h4.66",transform:"translate(-1.92 -1.54)"}))),ia=()=>e.createElement("svg",{id:"prefix__Layer_1","data-name":"Layer 1",viewBox:"0 0 13.5 13.5"},e.createElement("title",null,"download"),e.createElement("path",{className:"file-dropdown-path",d:"M14 11v2.66A1.33 1.33 0 0112.67 15H3.33A1.33 1.33 0 012 13.62V11M4.67 7.62L8 11l3.33-3.34M8 11V3",transform:"translate(-1.25 -2.21)"})),la=()=>e.createElement("svg",{id:"prefix__Layer_1","data-name":"Layer 1",viewBox:"0 0 13.5 13.5"},e.createElement("title",null,"upload"),e.createElement("path",{className:"file-dropdown-path",d:"M14 11v2.66A1.33 1.33 0 0112.67 15H3.33A1.33 1.33 0 012 13.62V11M11.33 6.29L8 3 4.67 6.29M8 3v8",transform:"translate(-1.25 -2.21)"})),oa=({className:a,value:i,options:l,onUploadSelected:o,id:r,placeholderIcon:s,placeholder:c,style:d})=>{const[m,p]=t(!1),g=()=>p(!m),u=n(l.map((t=>"upload"===t.type&&e.createElement("input",{id:"uploader-dropdown-input-"+r+"-"+t.value,key:"uploader-dropdown-input-"+r+"-"+t.value,accept:t.fileAcceptedType,multiple:t.multiple,type:"file",style:{display:"none"},onChange:e=>{console.log("change"),o(e.target.files)}}))));return e.createElement(v,{className:a,"data-dropdown-open":!!m,id:r,"data-has-icons":!0,style:d,onBlur:()=>p(!1),tabIndex:0},e.createElement(aa,null),e.createElement(b,{onClick:g},s||e.createElement(na,null)," ",e.createElement("span",null,i&&i.value?i.label:c)),m&&e.createElement(y,{onClick:g,"data-has-icons":!0},l.map((t=>e.createElement(f,{key:`${r}-${t.value}`,"data-selected":i&&i.value===t.value||void 0,onClick:()=>{return"upload"===t.type?(a="#uploader-dropdown-input-"+r+"-"+t.value,void(null===(n=document.querySelector(a))||void 0===n||n.click())):void((e=t.url)&&window.open(e,"_blank"));var e,a,n}},e.createElement(E,null,t.icon||"download"===t.type?e.createElement(ia,null):e.createElement(la,null)),t.label)))),e.createElement(e.Fragment,null,u.current))},ra=({className:t,columns:a,columnsDesktop:n,gridTemplateColumns:i,gridTemplateColumnsDesktop:l,gap:o,children:r,justifyChildren:s,style:c,alignItems:d})=>e.createElement(x,{className:t,style:Object.assign({"--columns-count":a,"--columns-count-desktop":n,"--grid-template-columns":i,"--grid-template-columns-desktop":l,"--justify-children":s,"--grid-gap":o,"--align-items":d},c)},r),sa=({pagesAmount:n,activePage:i,handlePageChange:o,handleClick:r,href:s,queryPageName:c="page"})=>{const d=[...Array(n)].map(((e,t)=>t+1)),[m,p]=t(i<=4?d.slice(0,5):i>=d.length-3?d.slice(d.length-5,d.length):d.slice(i-2,i+1));return a((()=>{i<=4?p(d.slice(0,5)):i>=d.length-3?p(d.slice(d.length-5,d.length)):p(d.slice(i-2,i+1))}),[i]),e.createElement(l,null,i>4&&e.createElement(l,null,e.createElement(C,{onClick:()=>o(1)},s?e.createElement("a",{href:s,onClick:r},1):1),e.createElement(C,null,"...")),m.map((t=>e.createElement(C,{key:`pagination+${t}`,"data-page-active":t===i||void 0,onClick:()=>o(t)},s?e.createElement("a",{href:M(s,t,c),onClick:r},t):t))),i<d.length-3&&e.createElement(l,null,e.createElement(C,null,"..."),e.createElement(C,{onClick:()=>o(d.length)},s?e.createElement("a",{href:M(s,d.length,c),onClick:r},d.length):d.length)))},ca=({className:n,pagesAmount:l,currentPage:o,onChange:r,onClick:s,style:c,href:d,queryPageName:m="page"})=>{const p=[...Array(l)].map(((e,t)=>t+1)),[g,u]=t(o),h=i((()=>d&&d.endsWith("&page=")?d.replace("&page=",""):d),[d]),v=l-1,b=e=>{e<=l&&e>0&&(u(e),r(e))},y=e=>{s&&s(e)};return a((()=>{u(o)}),[o]),e.createElement(w,{className:n,style:c},e.createElement(k,{className:"prev-page",onClick:()=>b(g-1),"data-last-page":1===g||void 0},h?e.createElement("a",{href:M(h,g,m),onClick:y},e.createElement("svg",{width:"7",height:"10",viewBox:"0 0 7 10",fill:"none"},e.createElement("path",{d:"M5.5 9L1.5 5L5.5 1",stroke:"#2D87F3",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))):e.createElement("svg",{width:"7",height:"10",viewBox:"0 0 7 10",fill:"none"},e.createElement("path",{d:"M5.5 9L1.5 5L5.5 1",stroke:"#2D87F3",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))),p.length>8?e.createElement(sa,{pagesAmount:l,activePage:g,handlePageChange:b,handleClick:y,href:h,queryPageName:m}):p.map((t=>e.createElement(C,{key:`pagination+${t}`,"data-page-active":t===g||void 0,onClick:()=>b(t)},h?e.createElement("a",{href:M(h,t,m),onClick:y},t):t))),e.createElement(k,{className:"next-page",onClick:()=>b(g+1),"data-last-page":g===v+1||void 0},h?e.createElement("a",{href:M(h,g,m),onClick:y},e.createElement("svg",{width:"7",height:"10",viewBox:"0 0 7 10",fill:"none"},e.createElement("path",{d:"M1.5 9L5.5 5L1.5 1",stroke:"#2D87F3",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))):e.createElement("svg",{width:"7",height:"10",viewBox:"0 0 7 10",fill:"none"},e.createElement("path",{d:"M1.5 9L5.5 5L1.5 1",stroke:"#2D87F3",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))))},da=({size:t="small",label:a,name:n,checked:i,value:l,className:o,isDisabled:r=!1,onChange:s,dataEventCategory:c,dataEventAction:d,dataEventLabel:m})=>{const p=!!d&&!!c&&!!m?{"data-event-category":c,"data-event-action":d,"data-event-label":m}:{};return e.createElement(O,Object.assign({size:"small"===t?"md":"lg",label:a,name:n,checked:i,value:l,className:o,disabled:r,onChange:e=>null==s?void 0:s(e.target.value)},p))},ma=({type:t,children:a,style:n,isInline:i,isSquared:l=!1,className:o,isLight:r,hasMorePadding:s,isLink:c,isSelected:d,textProps:m={size:"sm"}})=>{const p=m.color?{"--text-props-color":m.color}:{};return e.createElement(N,{"data-is-squared":l||void 0,"data-tag-type":t,"data-is-light":r||void 0,"data-has-more-padding":s||void 0,"data-is-inline":i||void 0,style:Object.assign(Object.assign({},n),p),className:o,"data-is-selected":d||void 0,"data-is-link":c||void 0,tagType:t,isInline:i,tagHasMorePadding:s,tagIsLight:r,tagIsSquared:l,tagIsALink:c},e.createElement(q,Object.assign({},m),a))},pa=({className:t,id:a,onChange:n,checked:i,style:l,label:o})=>e.createElement(B,{className:t,style:l},e.createElement("input",{type:"checkbox",id:a,onChange:n,checked:i}),e.createElement("label",{htmlFor:a},e.createElement(z,null),o&&e.createElement($,null,o))),ga=({label:t,name:a,checked:n,className:i,isDisabled:l,onChange:o,value:r,isRectangle:s,inputDataTestId:c,siteType:d})=>e.createElement(S,{className:i,"data-disabled":l||void 0,"data-is-rectangle":s||void 0,"data-label-text":t,"data-theme":d},e.createElement("input",{type:"checkbox",checked:n,name:a,onChange:()=>o(r,!n),disabled:l,value:r,id:`${a}-${r}`,"data-label-text":t,"data-testid":c}),!s&&e.createElement("label",{htmlFor:`${a}-${r}`},t)),ua=t=>e.createElement("svg",Object.assign({},t,{viewBox:"0 0 32 32",fill:"none"}),e.createElement("path",{d:"M16.0002 23.0266L22.8935 27.1866C23.4002 27.4933 24.0268 27.04 23.8935 26.4666L22.0668 18.6266L28.1468 13.36C28.5868 12.9733 28.3602 12.24 27.7602 12.1866L19.7468 11.5066L16.6135 4.11996C16.3868 3.57329 15.6135 3.57329 15.3868 4.11996L12.2535 11.5066L4.24016 12.1866C3.65349 12.24 3.41349 12.9733 3.86682 13.36L9.94682 18.6266L8.12016 26.4666C7.98682 27.04 8.61349 27.4933 9.12016 27.1866L16.0002 23.0266Z",fill:"#D2D6DC"})),ha=t=>e.createElement("svg",Object.assign({},t,{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none"}),e.createElement("path",{d:"M16.0002 23.0266L22.8935 27.1866C23.4002 27.4933 24.0268 27.04 23.8935 26.4666L22.0668 18.6266L28.1468 13.36C28.5868 12.9733 28.3602 12.24 27.7602 12.1866L19.7468 11.5066L16.6135 4.11996C16.3868 3.57329 15.6135 3.57329 15.3868 4.11996L12.2535 11.5066L4.24016 12.1866C3.65349 12.24 3.41349 12.9733 3.86682 13.36L9.94682 18.6266L8.12016 26.4666C7.98682 27.04 8.61349 27.4933 9.12016 27.1866L16.0002 23.0266Z",fill:"#FFC326"})),va=t=>{const a=Y();return e.createElement("svg",Object.assign({},t,{viewBox:"0 0 24 24",fill:"none"}),e.createElement("path",{d:"M12.0001 17.2697L17.1701 20.3897C17.5501 20.6197 18.0201 20.2797 17.9201 19.8497L16.5501 13.9697L21.1101 10.0197C21.4401 9.72973 21.2701 9.17973 20.8201 9.13973L14.8101 8.62973L12.4601 3.08973C12.2901 2.67973 11.7101 2.67973 11.5401 3.08973L9.19006 8.62973L3.18006 9.13973C2.74006 9.17973 2.56006 9.72973 2.90006 10.0197L7.46006 13.9697L6.09006 19.8497C5.99006 20.2797 6.46006 20.6197 6.84006 20.3897L12.0001 17.2697Z",fill:"#E4E8EC"}),e.createElement("mask",{id:a,maskUnits:"userSpaceOnUse",x:"2",y:"0",width:"10",height:"24"},e.createElement("rect",{x:"2",width:"10",height:"24",fill:"#C4C4C4"})),e.createElement("g",{mask:`url(#${a})`},e.createElement("path",{d:"M11.9998 17.2697L17.1698 20.3897C17.5498 20.6197 18.0198 20.2797 17.9198 19.8497L16.5498 13.9697L21.1098 10.0197C21.4398 9.72973 21.2698 9.17973 20.8198 9.13973L14.8098 8.62973L12.4598 3.08973C12.2898 2.67973 11.7098 2.67973 11.5398 3.08973L9.18981 8.62973L3.17981 9.13973C2.73981 9.17973 2.55981 9.72973 2.89981 10.0197L7.45981 13.9697L6.08981 19.8497C5.98981 20.2797 6.45981 20.6197 6.83981 20.3897L11.9998 17.2697Z",fill:"#FFC326"})))},ba=({gap:a=2,size:n=24,star:i,totalStars:l=5,onSelect:o,hideEmptyStars:r,style:s,className:c})=>{const d=Math.floor(i),m=i-d>=.5?1:0,[p,g]=t(null),u=p||d,h=p?0:m;return e.createElement(P,{"data-selectable":!!o,style:Object.assign({"--gap":a,"--star-size":n},s),className:c},Array.from({length:r?d+m:l}).map(((t,a)=>{const n=()=>!!o&&g(a+1),i=()=>!!o&&g(null);return a+1<=u?e.createElement(ha,{key:a,onClick:()=>null==o?void 0:o(a+1),onMouseOver:n,onMouseLeave:i}):a+1===u+h?e.createElement(va,{key:a,onClick:()=>null==o?void 0:o(a+1),onMouseOver:n,onMouseLeave:i}):e.createElement(ua,{key:a,onClick:()=>null==o?void 0:o(a+1),onMouseOver:n,onMouseLeave:i})})))},ya=l=>{var{label:o,availableValue:r,styles:s,isBaby:c,genderValue:d={male:"male",female:"female"}}=l,m=J(l,["label","availableValue","styles","isBaby","genderValue"]);const{t:g}=He(),{classes:u,cx:h}=D(void 0,{name:"GenderOptionControl",styles:s}),[v,b]=t(),y=n(null),f=i((()=>[{value:d.male,label:g(c?"gender.boy":"gender.male"),icon:X.getAssetPath(c?"health-tools/boy-icon.svg":"health-tools/male-icon.svg")},{value:d.female,label:g(c?"gender.girl":"gender.female"),icon:X.getAssetPath(c?"health-tools/girl-icon.svg":"health-tools/female-icon.svg")}]),[]);return a((()=>{b(r)}),[r]),e.createElement(te,{ref:y,className:u.root},e.createElement(ae.Group,Object.assign({className:"radio-group",label:e.createElement(p,{as:"label",size:"s4",weight:"semiBold"},o||g(c?"tools.selectBabyGender":"tools.selectGender")),size:"lg"},m,{classNames:{error:u.groupErr}}),e.createElement(ne,{className:h(u.wrapper)},f.map((t=>e.createElement(ae,Object.assign({className:"gender-item",classNames:{root:u.itemRoot,labelWrapper:u.itemLabelWrapper,label:u.itemLabel,inner:u.itemInner},key:t.value,value:t.value},v&&t.value!==v&&{disabled:!0},{label:e.createElement(ne,{gap:ie(8),align:"center",justify:"center",sx:{zIndex:0}},e.createElement("img",{src:t.icon,className:"gender-image",alt:"female",loading:"lazy"}),e.createElement(p,{size:"p3"},t.label))})))))))};var fa="PiqKaXk",Ea="HgbW6-m",xa="_6lkfLYy",wa="j7c-onH";const ka=({avatarImg:t,authorName:a,authorLink:n,uploadTime:i,size:l})=>e.createElement("div",{className:wa},e.createElement("div",{className:"author"},e.createElement("div",{className:"avatar","data-size":l},t),e.createElement("div",{className:"poster","data-is-disabled-url":!n},e.createElement(p,{size:"lg"===l?"p3":"p4"},e.createElement("a",{href:n},e.createElement("span",{className:"name"},a),"•"," "),e.createElement("span",null,i))))),Ca=({isMobile:t,avatarImg:a,name:n,link:i,size:l="lg",specialty:o})=>e.createElement("div",{className:wa},e.createElement("div",{className:"author"},e.createElement("div",{className:"expert-avatar","data-size":l},a),e.createElement("div",{className:"expert","data-is-disabled-url":!i},t?e.createElement("a",{href:i},"lg"===l?e.createElement(e.Fragment,null,e.createElement(K,{tag:"h6",className:"expert__name",color:Q.colors.gray600},n),e.createElement(p,{color:Q.colors.gray500,size:"p3",className:"specialty"},o)):e.createElement(e.Fragment,null,e.createElement(K,{tag:"h6",className:"expert__name",color:Q.colors.gray600},n))):e.createElement("a",{href:i},"lg"===l?e.createElement(e.Fragment,null,e.createElement(K,{tag:"h6",className:"expert__name",color:Q.colors.gray600},n),e.createElement(p,{color:Q.colors.gray500,size:"p3",className:"specialty"},o)):e.createElement(e.Fragment,null,e.createElement("h6",{color:Q.colors.gray600,className:`${fa} expert__name`},n),e.createElement(p,{color:Q.colors.gray500,size:"p4",className:"specialty"},o)))))),Na=o((()=>e.createElement("div",{className:"shoppable"},e.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},e.createElement("rect",{width:"24",height:"24",rx:"12",fill:"#1B3250"}),e.createElement("path",{d:"M16.6667 8.00033H15.3333C15.3333 6.16033 13.84 4.66699 12 4.66699C10.16 4.66699 8.66667 6.16033 8.66667 8.00033H7.33333C6.6 8.00033 6 8.60033 6 9.33366V17.3337C6 18.067 6.6 18.667 7.33333 18.667H16.6667C17.4 18.667 18 18.067 18 17.3337V9.33366C18 8.60033 17.4 8.00033 16.6667 8.00033ZM12 6.00033C13.1067 6.00033 14 6.89366 14 8.00033H10C10 6.89366 10.8933 6.00033 12 6.00033ZM12 12.667C10.4467 12.667 9.14 11.607 8.77333 10.167C8.66 9.74699 8.98667 9.33366 9.42 9.33366C9.73333 9.33366 9.98667 9.56033 10.0733 9.86699C10.3067 10.7137 11.08 11.3337 12 11.3337C12.92 11.3337 13.6933 10.7137 13.9267 9.86699C14.0133 9.56033 14.2667 9.33366 14.58 9.33366C15.0133 9.33366 15.3333 9.74699 15.2267 10.167C14.86 11.607 13.5533 12.667 12 12.667Z",fill:"white"}))))),Ba=o((({dataEventCategoryForBookmark:t,dataEventActionForBookmark:a,dataEventLabelForBookmark:n})=>e.createElement("svg",{"data-event-category":t,"data-event-action":a,"data-event-label":n,width:"14",height:"16",viewBox:"0 0 14 16",fill:"none"},e.createElement("path",{d:"M13 15L7 11.1111L1 15V2.55556C1 2.143 1.18061 1.74733 1.5021 1.45561C1.82359 1.16389 2.25963 1 2.71429 1H11.2857C11.7404 1 12.1764 1.16389 12.4979 1.45561C12.8194 1.74733 13 2.143 13 2.55556V15Z",fill:"#2ED69E",stroke:"#2ED69E",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})))),za=o((({dataEventCategoryForBookmark:t,dataEventActionForBookmark:a,dataEventLabelForBookmark:n})=>e.createElement("svg",{"data-event-category":t,"data-event-action":a,"data-event-label":n,width:"18",height:"18",viewBox:"0 0 18 18",fill:"none"},e.createElement("path",{d:"M12.75 2.25H5.25C4.425 2.25 3.75 2.925 3.75 3.75V15.75L9 13.5L14.25 15.75V3.75C14.25 2.925 13.575 2.25 12.75 2.25Z",fill:"#D2D6DC"})))),$a=({articleLink:t,authorLink:a,authorName:n,avatarImg:i,banner:l,categoryLink:o,categoryName:r,className:s,dataEventActionForBanner:c,dataEventActionForBookmark:d,dataEventActionForCategory:m,dataEventActionForTitle:g,dataEventCategoryForBanner:u,dataEventCategoryForBookmark:h,dataEventCategoryForCategory:v,dataEventCategoryForTitle:b,dataEventLabelForBanner:y,dataEventLabelForBookmark:f,dataEventLabelForCategory:E,dataEventLabelForTitle:x,direction:w="horizontal",hasAffiliate:k,isBookmark:C=!1,isBookmarkDisplayed:N=!0,isMobile:B=!0,onBookmark:z,onClickCategoryName:$,section:S="normal",size:P="md",specialty:D,style:L,styleBanner:I,styleLabel:T,styleTitle:M,text:A,title:j,type:O="author",uploadTime:_,articleLinkTarget:F,isPremium:H})=>{const R=e=>{e.stopPropagation(),null==z||z()},W="lg"===P&&"expert"===O?"h4":"lg"===P&&"home"===S?B?"h4":"h3":"lg"===P?"h4":"h5",U="lg"===P?"p3":"p4",V=B||"home"!==S||"lg"!==P||"author"!==O?"c2":"c1";return e.createElement("article",{className:`${xa} ${s||""}`,"data-size":P,style:L,"data-direction":w,"data-is-expert":"expert"===O||void 0},e.createElement("div",{className:"banner",style:I},e.createElement("a",{className:Ea,"data-event-category":u,"data-event-action":c,"data-event-label":y,href:t||"#",target:F},l),H&&e.createElement("img",{loading:"lazy",className:"premium",src:X.getAssetPath("premium-crown.svg")}),k&&e.createElement(Na,null)),e.createElement("div",{className:"content"},e.createElement("div",{className:"inner-content"},e.createElement(p,{style:T,className:"label",size:V,weight:"caption"},e.createElement("a",{className:Ea,"data-event-category":v,"data-event-action":m,"data-event-label":E,href:o||"#",onClick:$},r),N&&e.createElement("a",{className:"bookmark",onClick:R},C?e.createElement(Ba,{dataEventCategoryForBookmark:h,dataEventActionForBookmark:d,dataEventLabelForBookmark:f}):e.createElement(za,{dataEventCategoryForBookmark:h,dataEventActionForBookmark:d,dataEventLabelForBookmark:f}))),e.createElement(K,{tag:W,style:M,className:"title",as:"lg"===P?"h2":"h3"},e.createElement("a",{className:Ea,"data-event-category":b,"data-event-action":g,"data-event-label":x,href:t||"#",target:F},j)),A&&e.createElement("a",{href:t||"#",target:F},e.createElement(p,{size:U,className:"text"},A))),e.createElement("div",{className:"footer"},"author"===O?e.createElement(ka,{size:P,avatarImg:i,authorName:n,authorLink:a,uploadTime:_,handleClick:R,isBookmarked:C,dataEventCategoryForBookmark:h,dataEventActionForBookmark:d,dataEventLabelForBookmark:f}):e.createElement(Ca,{size:P,isMobile:B,avatarImg:i,specialty:D,name:n,link:a,handleClick:R,isBookmarked:C,dataEventCategoryForBookmark:h,dataEventActionForBookmark:d,dataEventLabelForBookmark:f}))))},Sa=t=>{var a,n,i,{article:l,author:o,authorAvatar:r,badge:s="",hideDescription:c=!1,isBookmarked:d=!1,onBookmark:m,time:g,tracking:u}=t,h=J(t,["article","author","authorAvatar","badge","hideDescription","isBookmarked","onBookmark","time","tracking"]);const{isMobile:v}=_();return console.log({article:l}),e.createElement(le,Object.assign({padding:0,radius:0,sx:{display:"flex",flexDirection:"row",gap:24}},h),e.createElement(le.Section,{w:"100%",h:"100%",miw:264,m:0,className:"pointer"},e.createElement("img",{src:(v?l.featureImageMobile:l.featureImage)||l.featureImage,alt:l.postName,style:{width:"100%"},loading:"lazy"})),e.createElement(le.Section,null,e.createElement(oe,{position:"apart",mt:16,mb:4},e.createElement(F,{href:(null===(a=null==l?void 0:l.primaryCategory)||void 0===a?void 0:a.permalink)||"#"},e.createElement(p,{size:"p4",color:"blue.6"},null===(n=null==l?void 0:l.primaryCategory)||void 0===n?void 0:n.displayName)),e.createElement(te,{sx:{cursor:"pointer"},role:"button",onClick:m},d?e.createElement("svg",Object.assign({width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},null==u?void 0:u.bookmark),e.createElement("path",{d:"M6.775 19.7C6.475 19.8333 6.18733 19.8123 5.912 19.637C5.63733 19.4623 5.5 19.2083 5.5 18.875V5.3C5.5 4.8 5.675 4.375 6.025 4.025C6.375 3.675 6.8 3.5 7.3 3.5H16.7C17.2 3.5 17.625 3.675 17.975 4.025C18.325 4.375 18.5 4.8 18.5 5.3V18.875C18.5 19.2083 18.3623 19.4623 18.087 19.637C17.8123 19.8123 17.525 19.8333 17.225 19.7L12 17.45L6.775 19.7Z",fill:"#595959"})):e.createElement("svg",Object.assign({width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},null==u?void 0:u.bookmark),e.createElement("path",{d:"M7 17.95L12 15.8L17 17.95V5.3C17 5.23333 16.9667 5.16667 16.9 5.1C16.8333 5.03333 16.7667 5 16.7 5H7.3C7.23333 5 7.16667 5.03333 7.1 5.1C7.03333 5.16667 7 5.23333 7 5.3V17.95ZM6.775 19.7C6.475 19.8333 6.18733 19.8123 5.912 19.637C5.63733 19.4623 5.5 19.2083 5.5 18.875V5.3C5.5 4.8 5.675 4.375 6.025 4.025C6.375 3.675 6.8 3.5 7.3 3.5H16.7C17.2 3.5 17.625 3.675 17.975 4.025C18.325 4.375 18.5 4.8 18.5 5.3V18.875C18.5 19.2083 18.3623 19.4623 18.087 19.637C17.8123 19.8123 17.525 19.8333 17.225 19.7L12 17.45L6.775 19.7ZM7 5H17H12H7Z",fill:"#595959"})))),e.createElement(p,{size:c?"s2":"s1",mb:8,weight:"semiBold",className:"pointer"},l.postTitle||l.postName||""),!c&&e.createElement(p,{size:"p2",mb:16,lineClamp:3,className:"pointer"},fe(l.excerpt||l.description||(null===(i=l.postContent)||void 0===i?void 0:i.split("\r\n")[0])||"")),e.createElement(ne,{gap:12,align:"center"},e.createElement(H,{size:32,src:r,withIndicator:!0,indicatorConfig:{offset:5,size:18,label:e.createElement("img",{loading:"lazy",src:s,alt:""})}},"A"),e.createElement(p,{size:"n1",c:"gray.6"},o," • ",g))))};var Pa=re(((e,{})=>({root:{},image:{},title:{},category:{},description:{},author:{}})));const Da=648/440,La=1.5,Ia=t=>{var a,n,l,{article:o,author:r,authorAvatar:s,badge:c="",bannerImageWrapProps:d,hideDescription:m=!1,isBookmarked:g=!1,onBookmark:u,time:h,tracking:v,classNames:b,styles:y,unstyled:f,className:E}=t,x=J(t,["article","author","authorAvatar","badge","bannerImageWrapProps","hideDescription","isBookmarked","onBookmark","time","tracking","classNames","styles","unstyled","className"]);const{isMobile:w}=_(),{classes:k,cx:C}=Pa({},{name:"ArticleCard",classNames:b,styles:y,unstyled:f}),N=i((()=>m?La:Da),[m]);return e.createElement(le,Object.assign({className:C(k.root,E),padding:"lg",radius:0},x),e.createElement(le.Section,{className:C(k.image,"pointer")},e.createElement(R,Object.assign({ratio:N},d),e.createElement("img",{src:(w?o.featureImageMobile:o.featureImage)||o.featureImage,alt:o.postName,style:{objectFit:"cover"}}))),e.createElement(le.Section,null,e.createElement(oe,{position:"apart",mt:16,mb:4},e.createElement(F,{className:k.category,href:(null===(a=null==o?void 0:o.primaryCategory)||void 0===a?void 0:a.permalink)||"#"},e.createElement(p,{size:"p4",color:"blue.6"},null===(n=null==o?void 0:o.primaryCategory)||void 0===n?void 0:n.displayName)),e.createElement(te,{sx:{cursor:"pointer"},role:"button",onClick:u},g?e.createElement("svg",Object.assign({width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},null==v?void 0:v.bookmark),e.createElement("path",{d:"M6.775 19.7C6.475 19.8333 6.18733 19.8123 5.912 19.637C5.63733 19.4623 5.5 19.2083 5.5 18.875V5.3C5.5 4.8 5.675 4.375 6.025 4.025C6.375 3.675 6.8 3.5 7.3 3.5H16.7C17.2 3.5 17.625 3.675 17.975 4.025C18.325 4.375 18.5 4.8 18.5 5.3V18.875C18.5 19.2083 18.3623 19.4623 18.087 19.637C17.8123 19.8123 17.525 19.8333 17.225 19.7L12 17.45L6.775 19.7Z",fill:"#595959"})):e.createElement("svg",Object.assign({width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},null==v?void 0:v.bookmark),e.createElement("path",{d:"M7 17.95L12 15.8L17 17.95V5.3C17 5.23333 16.9667 5.16667 16.9 5.1C16.8333 5.03333 16.7667 5 16.7 5H7.3C7.23333 5 7.16667 5.03333 7.1 5.1C7.03333 5.16667 7 5.23333 7 5.3V17.95ZM6.775 19.7C6.475 19.8333 6.18733 19.8123 5.912 19.637C5.63733 19.4623 5.5 19.2083 5.5 18.875V5.3C5.5 4.8 5.675 4.375 6.025 4.025C6.375 3.675 6.8 3.5 7.3 3.5H16.7C17.2 3.5 17.625 3.675 17.975 4.025C18.325 4.375 18.5 4.8 18.5 5.3V18.875C18.5 19.2083 18.3623 19.4623 18.087 19.637C17.8123 19.8123 17.525 19.8333 17.225 19.7L12 17.45L6.775 19.7ZM7 5H17H12H7Z",fill:"#595959"})))),e.createElement(p,{className:C(k.title,"pointer"),size:m?"s2":"s1",mb:8,weight:"semiBold"},o.postTitle||o.postName||""),!m&&e.createElement(p,{className:C(k.description,"pointer"),size:"p2",mb:16,lineClamp:3},fe(o.excerpt||o.description||(null===(l=o.postContent)||void 0===l?void 0:l.split("\r\n")[0])||"")),e.createElement(ne,{className:k.author,gap:12,align:"center"},e.createElement(H,{size:32,src:s,withIndicator:!0,indicatorConfig:{offset:5,size:18,label:e.createElement("img",{loading:"lazy",src:c,alt:""})}},"A"),e.createElement(p,{size:"n1",c:"gray.6"},r," • ",h))))},Ta=t=>{var{variant:a="vertical"}=t,n=J(t,["variant"]);return"horizontal"===a?e.createElement(Sa,Object.assign({},n)):e.createElement(Ia,Object.assign({},n))},Ma=Le.a`
|
|
2
2
|
display: flex;
|
|
3
3
|
height: 125px;
|
|
4
4
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{enUS as o,vi as e,km as l,hi as i,id as a,ms as n,th as t,zhTW as s}from"date-fns/locale";import{L as E}from"./Subot-e1cfb4c5.js";import{i as c}from"./isProduction-6c4494a3.js";const h={HELLO_HEALTH_GROUP:"hellohealthgroup.com",HELLO_DOCTOR:"hellodoctor.com.ph",HELLO_DOCTOR_FIL:"hellodoctor.com.ph/fil",HELLO_KRUPET:"hellokrupet.com",HELLO_SWASTHYA:"helloswasthya.com",HELLO_SEHAT:"hellosehat.com",HELLO_SAYARWON:"hellosayarwon.com",HELLO_DOKTOR:"hellodoktor.com",HELLO_KHUNMOR:"hellokhunmor.com",HELLO_YISHI:"helloyishi.com.tw",HELLO_BACSI:"hellobacsi.com",MARRY_BABY:"www.marrybaby.vn"},I={HELLO_HEALTH_GROUP:{lng:E.PhilippinesEnglish,ns:"translation",name:"Hello Health Group",theme:"hellosite",dayjs:"en",phoneCountry:"PH",siteId:10},HELLO_DOCTOR:{lng:E.PhilippinesEnglish,ns:"translation",name:"Hello Doctor",theme:"hellosite",dayjs:"en",phoneCountry:"PH",siteId:5},HELLO_DOCTOR_FIL:{lng:E.PhilippinesTagalog,ns:"translation",name:"Hello Doctor",theme:"hellosite",dayjs:"tl-ph",phoneCountry:"PH",siteId:5},HELLO_KRUPET:{lng:E.Cambodia,ns:"translation",name:"Hello Krupet",theme:"hellosite",dayjs:"km",phoneCountry:"KH",siteId:4},HELLO_SWASTHYA:{lng:E.India,ns:"translation",name:"Hello Swasthya",theme:"hellosite",dayjs:"hi",phoneCountry:"IN",siteId:9},HELLO_SEHAT:{lng:E.Indonesia,ns:"translation",name:"Hello Sehat",theme:"hellosite",dayjs:"id",phoneCountry:"ID",siteId:2},HELLO_SAYARWON:{lng:E.Myanmar,ns:"translation",name:"Hello Sayarwon",theme:"hellosite",dayjs:"my",phoneCountry:"MM",siteId:7},HELLO_DOKTOR:{lng:E.Malaysia,ns:"translation",name:"Hello Doktor",theme:"hellosite",dayjs:"ms-my",phoneCountry:"MY",siteId:3},HELLO_KHUNMOR:{lng:E.Thailand,ns:"translation",name:"Hello Khunmor",theme:"hellosite",dayjs:"th",phoneCountry:"TH",siteId:6},HELLO_YISHI:{lng:E.Taiwan,ns:"translation",name:"Hello Yishi",theme:"hellosite",dayjs:"zh-tw",phoneCountry:"TW",siteId:8},HELLO_BACSI:{lng:E.Vietnam,ns:"translation",name:"Hello Bacsi",theme:"hellosite",dayjs:"vi",phoneCountry:"VN",siteId:1},MARRY_BABY:{lng:E.Vietnam,ns:"marrybaby",name:"Marry Baby",theme:"marrybaby",dayjs:"vi",phoneCountry:"VN",siteId:11}};var T;!function(o){o.HPV="hpv"}(T||(T={}));const r={[E.Vietnam]:{[T.HPV]:"hpv-vaccine"},[E.Indonesia]:{[T.HPV]:"deteksi-dini-hpv"}},O="tl-PH"===process.env.NEXT_PUBLIC_DEPLOY_LOCALE?"/fil":"",p=process.env.NEXT_PUBLIC_SSO,_="userGeoLocationCoordinates",m={"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"},A={[E.Vietnam]:"hellobacsi.com",[E.Indonesia]:"hellosehat.com",[E.Malaysia]:"hellodoktor.com",[E.Cambodia]:"hellokrupet.com",[E.PhilippinesEnglish]:"hellodoctor.com.ph",[E.PhilippinesTagalog]:"hellodoctor.com.ph",[E.Thailand]:"hellokhunmor.com",[E.Myanmar]:"hellosayarwon.com",[E.Taiwan]:"helloyishi.com.tw",[E.India]:"helloswasthya.com"},u={"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"}},y={"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"}},N="user",S=["vi-VN","id-ID","en-PH","tl-PH","th-TH","ms-MY","my-MM"],C=["vi-VN"],g=["vi-VN","id-ID"],R=["vi-VN","id-ID"],L={"vi-VN":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"km-KH":[{type:"link",rel:"icon",href:"/by-locales/km-KH/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/km-KH/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/km-KH/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/km-KH/icon-270x270.png"}],"en-PH":[{type:"link",rel:"icon",href:"/by-locales/en-PH/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/en-PH/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon",href:"/by-locales/en-PH/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/en-PH/icon-270x270.png"}],"id-ID":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"ms-MY":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"th-TH":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"my-MM":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"zh-TW":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"hi-IN":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],marryBaby:[{type:"link",rel:"shortcut icon",href:"/favicons/favicon.ico"},{type:"link",rel:"icon",href:"/favicons/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/favicons/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/favicons/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/favicons/icon-180x180.png"}]};var M;!function(o){o.bmi="mi",o.gender="gndr",o.age="ge",o.slug="slug",o.resultId="resultId",o.bmr="mr",o.height="gt",o.weight="wght",o.source="surc",o.type="tp",o.startDate="sd",o.additional="tnl",o.week="wk",o.twins="twn",o.weightBefore="wb",o.yourself="yrslf",o.intensity="sy",o.rate="rt",o.method="mthd",o.day="dy",o.pwg="pwg",o.cycle="le",o.period="prd",o.access_token="tkn",o.name="nm",o.id="id"}(M||(M={}));const P={[E.Vietnam]:{dateFormat:"DD/MM/YYYY",separator:","},[E.Cambodia]:{dateFormat:"DD/MM/YYYY",separator:"."},[E.India]:{dateFormat:"DD/MM/YYYY",separator:"."},[E.Indonesia]:{dateFormat:"DD/MM/YYYY",separator:","},[E.Malaysia]:{dateFormat:"DD/MM/YYYY",separator:"."},[E.Thailand]:{dateFormat:"DD/MM/YYYY",separator:"."},[E.Taiwan]:{dateFormat:"YYYY/MM/DD",separator:","},[E.PhilippinesTagalog]:{dateFormat:"MM/DD/YYYY",separator:"."},[E.PhilippinesEnglish]:{dateFormat:"MM/DD/YYYY",separator:"."},[E.Myanmar]:{dateFormat:"DD/MM/YYYY",separator:","}},d="hhg_user_token",H={[E.PhilippinesEnglish]:o,[E.Vietnam]:e,[E.Cambodia]:l,[E.India]:i,[E.Indonesia]:a,[E.Myanmar]:o,[E.Malaysia]:n,[E.Thailand]:t,[E.Taiwan]:s},Y="https://cdn.hellohealthgroup.com/countries",G="_ga",D="YYYY-MM-DD",b="dd-MM-yyyy";var k=Object.freeze({__proto__:null,basePath:O,SSO_URL:p,USER_GEOLOCATION_COORDINATES_COOKIE:_,domainLocales:m,MAP_DOMAIN_BY_LOCALE:A,LOCALE_SPECS:u,STATIC_PAGES:y,UP_BASEPATH:N,TOGETHER_LOCALES:S,ECOM_LOCALES:C,CARE_LOCALES:g,CARE_BOOKING_LOCALES:R,FAVICONS:L,get QUERY_HEALTH_TOOL(){return M},ISO_FORMAT:P,BEARER_TOKEN_COOKIE:d,DATE_FNS_LOCALE:H,CDN_ADDRESS:Y,GA_TOKEN_COOKIE:"_ga",API_DATE_FORMAT:D,DATE_FNS_DATE_FORMAT:b,siteHost:h,siteOptions:I,get RISK_SCREENER_NAME(){return T},RISK_SCREENER_SLUG:r,isProduction:c});export{D as A,d as B,g as C,H as D,C as E,L as F,G,P as I,u as L,A as M,M as Q,T as R,y as S,S as T,_ as U,r as a,R as b,Y as c,m as d,O as e,p as f,N as g,b as h,k as i,h as j,I as s};
|
|
1
|
+
import{enUS as o,vi as e,km as l,hi as i,id as a,ms as n,th as t,zhTW as s}from"date-fns/locale";import{L as E}from"./Subot-4642c5bf.js";import{i as c}from"./isProduction-00695d80.js";const h={HELLO_HEALTH_GROUP:"hellohealthgroup.com",HELLO_DOCTOR:"hellodoctor.com.ph",HELLO_DOCTOR_FIL:"hellodoctor.com.ph/fil",HELLO_KRUPET:"hellokrupet.com",HELLO_SWASTHYA:"helloswasthya.com",HELLO_SEHAT:"hellosehat.com",HELLO_SAYARWON:"hellosayarwon.com",HELLO_DOKTOR:"hellodoktor.com",HELLO_KHUNMOR:"hellokhunmor.com",HELLO_YISHI:"helloyishi.com.tw",HELLO_BACSI:"hellobacsi.com",MARRY_BABY:"www.marrybaby.vn"},I={HELLO_HEALTH_GROUP:{lng:E.PhilippinesEnglish,ns:"translation",name:"Hello Health Group",theme:"hellosite",dayjs:"en",phoneCountry:"PH",siteId:10},HELLO_DOCTOR:{lng:E.PhilippinesEnglish,ns:"translation",name:"Hello Doctor",theme:"hellosite",dayjs:"en",phoneCountry:"PH",siteId:5},HELLO_DOCTOR_FIL:{lng:E.PhilippinesTagalog,ns:"translation",name:"Hello Doctor",theme:"hellosite",dayjs:"tl-ph",phoneCountry:"PH",siteId:5},HELLO_KRUPET:{lng:E.Cambodia,ns:"translation",name:"Hello Krupet",theme:"hellosite",dayjs:"km",phoneCountry:"KH",siteId:4},HELLO_SWASTHYA:{lng:E.India,ns:"translation",name:"Hello Swasthya",theme:"hellosite",dayjs:"hi",phoneCountry:"IN",siteId:9},HELLO_SEHAT:{lng:E.Indonesia,ns:"translation",name:"Hello Sehat",theme:"hellosite",dayjs:"id",phoneCountry:"ID",siteId:2},HELLO_SAYARWON:{lng:E.Myanmar,ns:"translation",name:"Hello Sayarwon",theme:"hellosite",dayjs:"my",phoneCountry:"MM",siteId:7},HELLO_DOKTOR:{lng:E.Malaysia,ns:"translation",name:"Hello Doktor",theme:"hellosite",dayjs:"ms-my",phoneCountry:"MY",siteId:3},HELLO_KHUNMOR:{lng:E.Thailand,ns:"translation",name:"Hello Khunmor",theme:"hellosite",dayjs:"th",phoneCountry:"TH",siteId:6},HELLO_YISHI:{lng:E.Taiwan,ns:"translation",name:"Hello Yishi",theme:"hellosite",dayjs:"zh-tw",phoneCountry:"TW",siteId:8},HELLO_BACSI:{lng:E.Vietnam,ns:"translation",name:"Hello Bacsi",theme:"hellosite",dayjs:"vi",phoneCountry:"VN",siteId:1},MARRY_BABY:{lng:E.Vietnam,ns:"marrybaby",name:"Marry Baby",theme:"marrybaby",dayjs:"vi",phoneCountry:"VN",siteId:11}};var T;!function(o){o.HPV="hpv"}(T||(T={}));const r={[E.Vietnam]:{[T.HPV]:"hpv-vaccine"},[E.Indonesia]:{[T.HPV]:"deteksi-dini-hpv"}},O="tl-PH"===process.env.NEXT_PUBLIC_DEPLOY_LOCALE?"/fil":"",p=process.env.NEXT_PUBLIC_SSO,_="userGeoLocationCoordinates",m={"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"},A={[E.Vietnam]:"hellobacsi.com",[E.Indonesia]:"hellosehat.com",[E.Malaysia]:"hellodoktor.com",[E.Cambodia]:"hellokrupet.com",[E.PhilippinesEnglish]:"hellodoctor.com.ph",[E.PhilippinesTagalog]:"hellodoctor.com.ph",[E.Thailand]:"hellokhunmor.com",[E.Myanmar]:"hellosayarwon.com",[E.Taiwan]:"helloyishi.com.tw",[E.India]:"helloswasthya.com"},u={"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"}},y={"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"}},N="user",S=["vi-VN","id-ID","en-PH","tl-PH","th-TH","ms-MY","my-MM"],C=["vi-VN"],g=["vi-VN","id-ID"],R=["vi-VN","id-ID"],L={"vi-VN":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"km-KH":[{type:"link",rel:"icon",href:"/by-locales/km-KH/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/km-KH/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/km-KH/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/km-KH/icon-270x270.png"}],"en-PH":[{type:"link",rel:"icon",href:"/by-locales/en-PH/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/en-PH/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon",href:"/by-locales/en-PH/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/en-PH/icon-270x270.png"}],"id-ID":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"ms-MY":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"th-TH":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"my-MM":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"zh-TW":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"hi-IN":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],marryBaby:[{type:"link",rel:"shortcut icon",href:"/favicons/favicon.ico"},{type:"link",rel:"icon",href:"/favicons/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/favicons/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/favicons/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/favicons/icon-180x180.png"}]};var M;!function(o){o.bmi="mi",o.gender="gndr",o.age="ge",o.slug="slug",o.resultId="resultId",o.bmr="mr",o.height="gt",o.weight="wght",o.source="surc",o.type="tp",o.startDate="sd",o.additional="tnl",o.week="wk",o.twins="twn",o.weightBefore="wb",o.yourself="yrslf",o.intensity="sy",o.rate="rt",o.method="mthd",o.day="dy",o.pwg="pwg",o.cycle="le",o.period="prd",o.access_token="tkn",o.name="nm",o.id="id"}(M||(M={}));const P={[E.Vietnam]:{dateFormat:"DD/MM/YYYY",separator:","},[E.Cambodia]:{dateFormat:"DD/MM/YYYY",separator:"."},[E.India]:{dateFormat:"DD/MM/YYYY",separator:"."},[E.Indonesia]:{dateFormat:"DD/MM/YYYY",separator:","},[E.Malaysia]:{dateFormat:"DD/MM/YYYY",separator:"."},[E.Thailand]:{dateFormat:"DD/MM/YYYY",separator:"."},[E.Taiwan]:{dateFormat:"YYYY/MM/DD",separator:","},[E.PhilippinesTagalog]:{dateFormat:"MM/DD/YYYY",separator:"."},[E.PhilippinesEnglish]:{dateFormat:"MM/DD/YYYY",separator:"."},[E.Myanmar]:{dateFormat:"DD/MM/YYYY",separator:","}},d="hhg_user_token",H={[E.PhilippinesEnglish]:o,[E.Vietnam]:e,[E.Cambodia]:l,[E.India]:i,[E.Indonesia]:a,[E.Myanmar]:o,[E.Malaysia]:n,[E.Thailand]:t,[E.Taiwan]:s},Y="https://cdn.hellohealthgroup.com/countries",G="_ga",D="YYYY-MM-DD",b="dd-MM-yyyy";var k=Object.freeze({__proto__:null,basePath:O,SSO_URL:p,USER_GEOLOCATION_COORDINATES_COOKIE:_,domainLocales:m,MAP_DOMAIN_BY_LOCALE:A,LOCALE_SPECS:u,STATIC_PAGES:y,UP_BASEPATH:N,TOGETHER_LOCALES:S,ECOM_LOCALES:C,CARE_LOCALES:g,CARE_BOOKING_LOCALES:R,FAVICONS:L,get QUERY_HEALTH_TOOL(){return M},ISO_FORMAT:P,BEARER_TOKEN_COOKIE:d,DATE_FNS_LOCALE:H,CDN_ADDRESS:Y,GA_TOKEN_COOKIE:"_ga",API_DATE_FORMAT:D,DATE_FNS_DATE_FORMAT:b,siteHost:h,siteOptions:I,get RISK_SCREENER_NAME(){return T},RISK_SCREENER_SLUG:r,isProduction:c});export{D as A,d as B,g as C,H as D,C as E,L as F,G,P as I,u as L,A as M,M as Q,T as R,y as S,S as T,_ as U,r as a,R as b,Y as c,m as d,O as e,p as f,N as g,b as h,k as i,h as j,I as s};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import e,{useRef as a,useState as r,useEffect as t}from"react";import{I as i}from"./index-
|
|
1
|
+
import e,{useRef as a,useState as r,useEffect as t}from"react";import{I as i}from"./index-13dc1f44.js";import{u as o}from"./useTranslations-df1b3bb8.js";import{format as n}from"date-fns";import c from"react-day-picker/DayPickerInput";import d from"styled-components";import{t as s}from"./theme-3db3c9a8.js";var l="tliWyii";const p=({className:a,theme:r,hideText:t})=>{const{t:n}=o();return e.createElement("div",{className:`${l} ${a}`},e.createElement(i.Spinner,{isMarryBaby:"marryBaby"===r}),!t&&n("loading"))},y={"vi-VN":["Tháng 1","Tháng 2","Tháng 3","Tháng 4","Tháng 5","Tháng 6","Tháng 7","Tháng 8","Tháng 9","Tháng 10","Tháng 11","Tháng 12"],"id-ID":["Januari","Februari","Maret","April","Mei","Juni","Juli","Agustus","September","Oktober","November","Desember"],"ms-MY":["Januari","Februari","Maret","April","Mei","Juni","Juli","Agustus","September","Oktober","November","Desember"],"km-KH":["មករា","ខែកុម្ភៈ","មីនា","ខែមេសា","ឧសភា","មិថុនា","ខែកក្កដា","សីហា","ខែកញ្ញា","តុលា","វិច្ឆិកា","ធ្នូ"],"en-PH":["January","February","March","April","May","June","July","August","September","October","November","December"],"th-TH":["มกราคม","กุมภาพันธ์","มีนาคม","เมษายน","อาจ","มิถุนายน","กรกฎาคม","สิงหาคม","กันยายน","ตุลาคม","พฤศจิกายน","ธันวาคม"],"my-MM":["ဇန်နဝါရီလ","ဖေဖော်ဝါရီလ","မတ်လ","ပြီလ","မေလ","ဇွန","ဇူလိုင်လ","သြဂုတ်လ","စက်တင်ဘာ","အောက်တိုဘာ","နိုဝင်ဘာ","ဒီဇင်ဘာ"],"zh-TW":["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],"hi-IN":["जनवरी","फ़रवरी","जुलूस","अप्रैल","मई","जून","जुलाई","अगस्त","सितंबर","अक्टूबर","नवंबर","दिसंबर"]},u=d.div`
|
|
2
2
|
.pickerContainer {
|
|
3
3
|
position: relative;
|
|
4
4
|
padding-top: 0;
|
|
@@ -39,7 +39,7 @@ import e,{useRef as a,useState as r,useEffect as t}from"react";import{I as i}fro
|
|
|
39
39
|
.pickerOverlay {
|
|
40
40
|
margin-top: 6px;
|
|
41
41
|
background: white;
|
|
42
|
-
border-radius: ${
|
|
42
|
+
border-radius: ${s.borderRadius};
|
|
43
43
|
box-shadow: 0px 6px 12px rgba(67, 86, 100, 0.2);
|
|
44
44
|
}
|
|
45
45
|
|
|
@@ -61,7 +61,7 @@ import e,{useRef as a,useState as r,useEffect as t}from"react";import{I as i}fro
|
|
|
61
61
|
|
|
62
62
|
.svg {
|
|
63
63
|
cursor: pointer;
|
|
64
|
-
stroke: ${
|
|
64
|
+
stroke: ${s.colors.gray800};
|
|
65
65
|
}
|
|
66
66
|
.react-datepicker__day {
|
|
67
67
|
width: 40px;
|
|
@@ -77,7 +77,7 @@ import e,{useRef as a,useState as r,useEffect as t}from"react";import{I as i}fro
|
|
|
77
77
|
}
|
|
78
78
|
|
|
79
79
|
.react-datepicker__day {
|
|
80
|
-
font-weight: ${
|
|
80
|
+
font-weight: ${s.sizes.fwBold};
|
|
81
81
|
}
|
|
82
82
|
|
|
83
83
|
.react-datepicker__day--selected,
|
|
@@ -88,7 +88,7 @@ import e,{useRef as a,useState as r,useEffect as t}from"react";import{I as i}fro
|
|
|
88
88
|
height: 30px;
|
|
89
89
|
margin: 4px;
|
|
90
90
|
margin-bottom: -2px;
|
|
91
|
-
background: ${
|
|
91
|
+
background: ${s.colors.primaryBase};
|
|
92
92
|
border-radius: 50%;
|
|
93
93
|
}
|
|
94
94
|
|
|
@@ -105,12 +105,12 @@ import e,{useRef as a,useState as r,useEffect as t}from"react";import{I as i}fro
|
|
|
105
105
|
stroke: #262626;
|
|
106
106
|
}
|
|
107
107
|
select {
|
|
108
|
-
background: ${
|
|
108
|
+
background: ${s.colors.neutral100};
|
|
109
109
|
text-align: center;
|
|
110
110
|
&:not(:last-child) {
|
|
111
111
|
padding: 8px 10px;
|
|
112
112
|
margin-right: 15px;
|
|
113
|
-
border-radius: ${
|
|
113
|
+
border-radius: ${s.borderRadius};
|
|
114
114
|
}
|
|
115
115
|
}
|
|
116
116
|
}
|
|
@@ -319,9 +319,9 @@ import e,{useRef as a,useState as r,useEffect as t}from"react";import{I as i}fro
|
|
|
319
319
|
) {
|
|
320
320
|
position: relative;
|
|
321
321
|
|
|
322
|
-
background-color: ${
|
|
322
|
+
background-color: ${s.colors.primaryBase};
|
|
323
323
|
color: #f0f8ff;
|
|
324
|
-
font-weight: ${
|
|
324
|
+
font-weight: ${s.sizes.fwBold};
|
|
325
325
|
}
|
|
326
326
|
|
|
327
327
|
.DayPicker-Day--selected:not(.DayPicker-Day--disabled):not(
|
|
@@ -355,7 +355,7 @@ import e,{useRef as a,useState as r,useEffect as t}from"react";import{I as i}fro
|
|
|
355
355
|
background: white;
|
|
356
356
|
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
|
|
357
357
|
}
|
|
358
|
-
`,g=
|
|
358
|
+
`,g=d.form`
|
|
359
359
|
display: flex;
|
|
360
360
|
width: 100%;
|
|
361
361
|
|
|
@@ -369,7 +369,7 @@ import e,{useRef as a,useState as r,useEffect as t}from"react";import{I as i}fro
|
|
|
369
369
|
& * {
|
|
370
370
|
height: 46px;
|
|
371
371
|
padding: 10px 10px;
|
|
372
|
-
background: ${
|
|
373
|
-
border-radius: ${
|
|
372
|
+
background: ${s.colors.neutral100};
|
|
373
|
+
border-radius: ${s.borderRadius};
|
|
374
374
|
}
|
|
375
|
-
`,k=({alignRight:i=!0,placeholder:o,displayDateFormat:
|
|
375
|
+
`,k=({alignRight:i=!0,placeholder:o,displayDateFormat:d,onChange:s,customInput:l,pickedDate:p,className:k,isStatic:m,disabledDays:h,modifiers:b,UnHideOnClickOutside:D,initialMonth:x,locale:f="en-PH"})=>{const v=a(!1),w=n,[P,_]=r(x||new Date),E=a(null),C=a(null),M=y[f],O=e=>{D||E.current&&E.current.contains(e.target)||C.current&&C.current.hideDayPicker()},N=(new Date).getFullYear(),T=new Date(N-150,0),B=new Date(N+1,0),W=({date:a,onChange:r,monthLabels:t})=>{const i=[];for(let e=B.getFullYear();e>=T.getFullYear();e-=1)i.push(e);const o=function(e){const{year:a,month:t}=e.target.form;r(new Date(a.value,t.value))};return e.createElement("div",{className:"DayPicker-Caption"},e.createElement(g,null,e.createElement("select",{name:"month",onChange:o,value:a.getMonth()},t.map(((a,r)=>e.createElement("option",{key:a,value:r},a)))),e.createElement("select",{name:"year",onChange:o,value:a.getFullYear()},i.map((a=>e.createElement("option",{key:a,value:a},a))))))};return t((()=>(document.addEventListener("mousedown",O,{passive:!0}),()=>{document.removeEventListener("mousedown",O,!1)})),[]),e.createElement(u,{className:k,"data-align-right":i,ref:E,"data-is-static":m||void 0},e.createElement(c,{ref:C,inputProps:{readOnly:!0},keepFocus:!1,classNames:{container:"pickerContainer",overlayWrapper:"pickerOverlayWrapper",overlay:"pickerOverlay"},component:l&&e.forwardRef(((a,r)=>e.createElement(l,Object.assign({},a)))),onDayPickerHide:()=>{v.current=!1},onDayPickerShow:()=>{v.current=!0},dayPickerProps:{month:P,className:"picker",selectedDays:p,canChangeMonth:!0,enableOutsideDaysClick:!m,firstDayOfWeek:1,captionElement:({date:a,localeUtils:r})=>{const t=null==r?void 0:r.getMonths();return e.createElement(W,{date:a,monthLabels:M||t,onChange:_})},disabledDays:h||void 0,modifiers:b},format:d||"yyyy-MM-dd",formatDate:(e,a)=>w(e,a),hideOnDayClick:!m,placeholder:o||"",onDayChange:e=>{var a;a=e,C.current&&!m&&C.current.hideDayPicker(),s&&s(a)},showOverlay:m}))};export{k as D,p as L};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{_ as o}from"./tslib.es6-
|
|
1
|
+
import{_ as o}from"./tslib.es6-266309d1.js";import t from"react";import{Indicator as e}from"@mantine/core";import{t as r}from"./theme-3db3c9a8.js";const s=s=>{var{styles:i,color:n=r.colors.red700}=s,a=o(s,["styles","color"]);return t.createElement(e,Object.assign({inline:!0,position:"top-end",offset:4,styles:Object.assign({processing:{animationDirection:"alternate"}},i),color:n},a))};export{s as I};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{_ as e}from"./tslib.es6-
|
|
1
|
+
import{_ as e}from"./tslib.es6-266309d1.js";import t,{useMemo as n,useState as a,useEffect as o}from"react";import{L as l}from"./Subot-4642c5bf.js";import{C as r}from"./index-2e99f941.js";import{t as i}from"./theme-3db3c9a8.js";import c from"styled-components";import{I as s,f as d}from"./index-5408f5a4.js";import{T as p}from"./index-459e0362.js";const m=c.div`
|
|
2
2
|
display: inline-flex;
|
|
3
3
|
overflow: hidden;
|
|
4
4
|
width: ${e=>e.size}px;
|
|
@@ -36,9 +36,9 @@ import{_ as e}from"./tslib.es6-18638601.js";import t,{useMemo as n,useState as a
|
|
|
36
36
|
& > * {
|
|
37
37
|
pointer-events: none;
|
|
38
38
|
}
|
|
39
|
-
`,
|
|
39
|
+
`,h=[l.Myanmar,l.Taiwan],v=c((a=>{var{icon:o,name:l,className:c,locale:d="en-PH",dataEventCategory:v,dataEventAction:b,dataEventLabel:u,onSelect:x}=a,k=e(a,["icon","name","className","locale","dataEventCategory","dataEventAction","dataEventLabel","onSelect"]);const f=n((()=>null==c?void 0:c.includes("selected-week-pill")),[c]);return t.createElement(g,Object.assign({onClick:x,className:c?"week-pill".concat(" non-pointer-event-child ",c):"week-pill non-pointer-event-child","data-event-category":v,"data-event-action":b,"data-event-label":u},k),t.createElement(m,{size:64,iconSize:40,backgroundColor:i.colors.white},t.createElement(s,{src:o||r.getAssetPath("week_default.png"),alt:`week ${l}`})),f?t.createElement(p,Object.assign({type:"semiBold",size:"n1",color:i.colors.gray800},h.includes(d)&&{style:{fontSize:"10px"}}),l):t.createElement(p,Object.assign({size:"n1",color:i.colors.gray600},h.includes(d)&&{style:{fontSize:"10px"}}),l))}))`
|
|
40
40
|
box-shadow: 0px 0px 24px rgba(0, 0, 0, 0.08);
|
|
41
|
-
`,
|
|
41
|
+
`,b=c(d.Slide)`
|
|
42
42
|
cursor: pointer;
|
|
43
43
|
> div * {
|
|
44
44
|
pointer-events: none;
|
|
@@ -47,4 +47,4 @@ import{_ as e}from"./tslib.es6-18638601.js";import t,{useMemo as n,useState as a
|
|
|
47
47
|
.centerred-pill-wrapper {
|
|
48
48
|
padding: 16px 0;
|
|
49
49
|
}
|
|
50
|
-
`,x=n=>{var{data:r,isMobile:i,onSlideChange:c,pillProps:s,locale:d=l.Vietnam,blurFromIndex:p,blurLength:m}=n,g=e(n,["data","isMobile","onSlideChange","pillProps","locale","blurFromIndex","blurLength"]);const
|
|
50
|
+
`,x=n=>{var{data:r,isMobile:i,onSlideChange:c,pillProps:s,locale:d=l.Vietnam,blurFromIndex:p,blurLength:m}=n,g=e(n,["data","isMobile","onSlideChange","pillProps","locale","blurFromIndex","blurLength"]);const h={withControls:!i,slideGap:16,blurFromCenter:!0,blurFromIndex:p||(i?2:4),blurLength:m||(i?1:3),onSlideChange:c},[x,f]=a("");return o((()=>{f(window.location.href)}),[]),t.createElement(u,Object.assign({},h,g,{selectSlideWhenClick:!0,previousControlIcon:t.createElement(k,{currentUrl:x}),nextControlIcon:t.createElement(k,{currentUrl:x,isRight:!0})}),(e=>r.map(((n,a)=>t.createElement(b,Object.assign({key:a,onClick:c,"data-event-category":"Health Tool","data-event-action":"Pregnancy Week Click","data-event-label":x,innerSlideProps:{"data-event-category":"Health Tool","data-event-action":"Pregnancy Week Click","data-event-label":x}},s),t.createElement("div",{className:"centerred-pill-wrapper"},t.createElement(v,{"data-event-category":"Health Tool","data-event-action":"Fetal Week Click","data-event-label":x,locale:d,name:n.name,icon:n.icon,className:a===e?"selected-week-pill pointer-event-child-none":"pointer-event-child-none"})))))))},k=({isRight:e,currentUrl:n})=>t.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":n,className:"pointer-event-child-none"},t.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"}));export{x as P};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import e from"react";import{B as t}from"./index-270da577.js";import{C as a}from"./index-5ced6fc6.js";import l from"dayjs";import{d as n}from"./index-2e127fc2.js";import{t as o}from"./theme-0b94804f.js";import"./index-bfbcb02a.js";import{Flex as i,Stack as r,Box as c}from"@mantine/core";import"@mantine/dates";import"./Subot-e1cfb4c5.js";import"./index-4bffd1b5.js";import{T as m}from"./index-6b3801b8.js";import{u as s}from"./useTranslations-f52266ac.js";import"@mantine/hooks";import"./utils-f8794d89.js";import{L as d}from"./index-c4d4d720.js";import{M as v}from"./index-79eb2a8e.js";import"./translationsContext-39a2587e.js";import"string-format";var u="Lj0qoTD",E="OO-qFWT";const g=({url:t,isMobile:a,dataEventCategory:l,dataEventAction:n,dataEventLabel:o})=>e.createElement("div",{className:E,"data-is-mobile":a},e.createElement("img",{loading:"lazy",className:"country-flag",src:t,alt:"Country Flag","data-event-category":l,"data-event-action":n,"data-content-label":o})),p=({className:i,type:r="main",footerInfo:c,isMobile:d,locale:v})=>{var E,p,y,f,b,N,h,k,F,$,z,T,x,M,C,L,_,j,S,w,H,I,A,B,G,D,q,U;const{t:J}=s(),K=null==c?void 0:c.menu,O=(null===(p=null===(E=null==c?void 0:c.general)||void 0===E?void 0:E.verified)||void 0===p?void 0:p.filter(Boolean))||[];return e.createElement("footer",{className:`${u} ${i||""}`,style:"mini"===r?{backgroundColor:o.colors.neutral50}:{}},e.createElement(a,null,e.createElement("div",{className:"inner","data-type":r},"main"===r?e.createElement(e.Fragment,null,e.createElement("a",{href:"/"},e.createElement("img",{loading:"lazy",className:"footer-logo",src:null===(y=null==c?void 0:c.general)||void 0===y?void 0:y.logo,alt:"Logo","data-is-sehat":"id-ID"===v})),e.createElement("div",{className:"columns"},e.createElement("div",{className:"newsletter"},e.createElement(m,{size:"p1",weight:"bold"},null===(f=null==c?void 0:c.general)||void 0===f?void 0:f.content),e.createElement(t,{className:"signupButton",color:"primary",size:"lg"},J("footer.signUp")),e.createElement("div",{className:"social"},e.createElement(m,{size:"sm"},null===(b=null==c?void 0:c.social)||void 0===b?void 0:b.title),e.createElement("div",{className:"icons"},null===(h=null===(N=null==c?void 0:c.social)||void 0===N?void 0:N.socials)||void 0===h?void 0:h.map(((t,a)=>e.createElement("a",{key:a,"data-event-category":"Footer","data-event-action":`Follow us - ${t.name}`,"data-content-label":t.url,href:t.url},e.createElement("img",{loading:"lazy","data-event-category":"Footer","data-event-action":`Follow us - ${t.name}`,"data-content-label":t.url,src:t.icon,alt:"Logo Social",className:"social-icon"}))))),e.createElement("hr",{className:"hrMobile"}))),e.createElement("div",null,K&&e.createElement(e.Fragment,null,e.createElement("div",{className:"biglinks"},null===(F=null===(k=K[0])||void 0===k?void 0:k.items)||void 0===F?void 0:F.map(((t,a)=>e.createElement("a",{"data-event-category":"Footer","data-event-action":t.title,"data-event-label":`https://${n[v]}${t.url}`,className:"bigLink",key:a,href:t.url},t.title)))),e.createElement("hr",{className:"hrMobile"}),e.createElement("div",{className:"mHalf"},e.createElement(m,{size:"sm",className:"linkTitle"},null===($=K[1])||void 0===$?void 0:$.menu_title),null===(T=null===(z=K[1])||void 0===z?void 0:z.items)||void 0===T?void 0:T.map(((t,a)=>e.createElement("a",{"data-event-category":"Footer","data-event-action":t.title,"data-event-label":`https://${n[v]}${t.url}`,className:"link",href:t.url,key:a},e.createElement(m,{size:"sm",dataEventCategory:"Footer",dataEventAction:t.title,dataEventLabel:`https://${n[v]}${t.url}`},t.title))))),e.createElement("div",{className:"mHalf"},e.createElement(m,{size:"sm",className:"linkTitle"},null===(x=K[2])||void 0===x?void 0:x.menu_title),null===(C=null===(M=K[2])||void 0===M?void 0:M.items)||void 0===C?void 0:C.map(((t,a)=>t.url&&e.createElement("a",{"data-event-category":"Footer","data-event-action":t.title,"data-event-label":t.url,className:"link",href:t.url,key:a},e.createElement(m,{size:"sm",dataEventCategory:"Footer",dataEventAction:t.title,dataEventLabel:t.url},t.title)))))),e.createElement("hr",{className:"hrMobile"}),e.createElement("div",{className:"otherSites"},e.createElement(m,{size:"sm",className:"linkTitle"},null===(L=null==c?void 0:c.branch)||void 0===L?void 0:L.title),e.createElement("div",{className:"flags"},null===(j=null===(_=null==c?void 0:c.branch)||void 0===_?void 0:_.branch)||void 0===j?void 0:j.map(((t,a)=>e.createElement("a",{className:"link",href:t.url,key:a,"data-event-category":"Footer","data-event-action":t.name,"data-event-label":t.url},e.createElement(g,{url:t.flag,isMobile:d,dataEventCategory:"Footer",dataEventAction:t.name,dataEventLabel:t.url})))))))),e.createElement("hr",null),e.createElement("div",{className:"copyright"},e.createElement("div",{className:"copyright-image-wrapper"},O.length?O.map(((t,a)=>e.createElement("a",{href:t.url,key:a,className:"copyright-image"},e.createElement("img",{loading:"lazy",src:t.image,alt:"DMCA Icon"})))):null),e.createElement(m,{size:"xs",className:"copyright-content",as:"div"},e.createElement("div",{dangerouslySetInnerHTML:{__html:null===(S=null==c?void 0:c.general)||void 0===S?void 0:S.copyright.replace(/{currentYear}/gi,l().get("year").toString())}})))):e.createElement(e.Fragment,null,(null==c?void 0:c.menu)&&e.createElement("div",{className:"columns"},e.createElement("div",{className:"mHalf"},e.createElement(m,{size:"sm",className:"linkTitle"},null===(w=null==c?void 0:c.menu[1])||void 0===w?void 0:w.menu_title),null===(I=null===(H=null==c?void 0:c.menu[1])||void 0===H?void 0:H.items)||void 0===I?void 0:I.map((t=>e.createElement("a",{className:"link",href:t.url,key:t.title,"data-list-type":"Footer","data-content-type":"Navigate","data-content-topic":"Information","data-content-title":t.title,"data-content-id":`https://${n[v]}${t.url}`,"data-event-category":"Footer","data-event-action":t.title,"data-event-label":`https://${n[v]}${t.url}`},e.createElement(m,{dataEventCategory:"Footer",dataEventAction:t.title,dataEventLabel:`https://${n[v]}${t.url}`,size:"sm",style:{color:o.colors.gray800}},t.title))))),e.createElement("div",{className:"mHalf"},e.createElement(m,{size:"sm",className:"linkTitle"},null===(A=null==c?void 0:c.menu[2])||void 0===A?void 0:A.menu_title),null===(G=null===(B=null==c?void 0:c.menu[2])||void 0===B?void 0:B.items)||void 0===G?void 0:G.map(((t,a)=>e.createElement("a",{className:"link",href:t.url,key:a,"data-list-type":"Footer","data-content-type":"Navigate","data-content-topic":"Hello Health","data-content-title":t.title,"data-content-id":t.url,"data-event-category":"Footer","data-event-action":t.title,"data-event-label":t.url},e.createElement(m,{size:"sm",color:o.colors.gray800,dataEventCategory:"Footer",dataEventAction:t.title,dataEventLabel:t.url},t.title))))),"mini"!==r&&e.createElement("hr",{className:"hrMobile"}),e.createElement("div",{className:"newsletter"},e.createElement("div",{className:"social"},e.createElement(m,{size:"sm"},null===(D=null==c?void 0:c.social)||void 0===D?void 0:D.title),e.createElement("div",{className:"icons"},null===(U=null===(q=null==c?void 0:c.social)||void 0===q?void 0:q.socials)||void 0===U?void 0:U.map(((t,a)=>e.createElement("a",{key:a,"data-event-category":"Footer","data-event-action":`Follow us - ${t.name}`,"data-content-label":t.url,href:t.url},e.createElement("img",{"data-event-category":"Footer","data-event-action":`Follow us - ${t.name}`,"data-content-label":t.url,src:t.icon,alt:"Logo Social",loading:"lazy",className:"social-icon"}))))))))))))};var y="B6-KmWK",f="GS-7mbG",b="qc5bEb3",N="CQGVeuT",h="_8eUT8Jr",k="_6JMoel-",F="pFG7UH3";const $=({logoType:t="marryBaby",footerMenu:n,background:s})=>{var u;if(!n)return null;const{general:E,menu:g,socials:p}=n;return e.createElement("footer",{className:y,style:{backgroundColor:s||"none"}},e.createElement(a,null,e.createElement("div",{className:f},null==g?void 0:g.map((({menu_title:t,items:a},l)=>e.createElement("div",{className:b,key:`mbf${l}`},e.createElement(v,{className:"title",type:"subtitle-1",color:o.mbColors.pink},t),null==a?void 0:a.map((({title:t,url:a},l)=>e.createElement("a",{"data-event-category":"Footer","data-event-action":"Click","data-event-label":`${a}`,className:"link",href:a,key:`footer-links-${l}`},e.createElement("div",{className:N,key:`mbitem${l}`},e.createElement(v,{type:"bodytext-2",color:o.mbColors.gray},t)))))))))),e.createElement(a,null,e.createElement("div",{className:k},e.createElement(i,{gap:"24px",sx:e=>({[e.fn.largerThan("sm")]:{".info-item":{flexGrow:1,width:"50%"}},[e.fn.smallerThan("sm")]:{flexDirection:"column"}})},e.createElement(r,{spacing:"24px",className:"info-item"},e.createElement(d,{className:"logo",type:t}),e.createElement(m,{size:"p4",as:"div"},e.createElement("div",{dangerouslySetInnerHTML:{__html:null==E?void 0:E.content}})),e.createElement("div",{className:F},null==p?void 0:p.map((({icon:t,name:a,url:l},n)=>e.createElement("a",{key:`social${n}`,target:"_blank",rel:"noreferrer","data-event-category":"Footer","data-event-action":`Follow us - ${a}`,"data-content-label":a,href:l},e.createElement("img",{className:"social-logo",loading:"lazy",src:t,alt:a})))))),e.createElement(c,{className:"info-item",sx:{paddingTop:"7px"}},e.createElement(m,{size:"p4",as:"div"},e.createElement("div",{dangerouslySetInnerHTML:{__html:null==E?void 0:E.information}})))))),e.createElement("div",{className:h},e.createElement(a,null,e.createElement("div",{className:"content"},e.createElement(m,{size:"p5",color:"#fff",as:"div"},e.createElement("div",{dangerouslySetInnerHTML:{__html:null==E?void 0:E.copyright.replace(/{currentYear}/gi,l().get("year").toString())}})),e.createElement("div",{className:"verify"},null===(u=null==E?void 0:E.verified)||void 0===u?void 0:u.map((({image:t,url:a},l)=>e.createElement("img",{loading:"lazy",key:`imgMbFt${l}`,src:t,alt:a}))))))))},z=({type:t,isMobile:a=!0,locale:l,footerInfo:n,siteType:o,background:i})=>"helloSites"===o?e.createElement(p,{isMobile:a,type:t,locale:l,footerInfo:n||{}}):e.createElement($,{footerMenu:n,background:i});export{z as F};
|
|
1
|
+
import e from"react";import{B as t}from"./index-3452fed2.js";import{C as a}from"./index-1e7ad007.js";import l from"dayjs";import{d as n}from"./index-9e5956c2.js";import{t as o}from"./theme-3db3c9a8.js";import"./index-5408f5a4.js";import{Flex as i,Stack as r,Box as m}from"@mantine/core";import"@mantine/dates";import"./Subot-4642c5bf.js";import"./index-2e99f941.js";import{T as c}from"./index-d27a0e25.js";import{u as s}from"./useTranslations-df1b3bb8.js";import"@mantine/hooks";import"./utils-5b4e60da.js";import{L as d}from"./index-252cb964.js";import{M as v}from"./index-7c77273a.js";import"./translationsContext-6d2efd65.js";import"string-format";var u="Lj0qoTD",E="OO-qFWT";const g=({url:t,isMobile:a,dataEventCategory:l,dataEventAction:n,dataEventLabel:o})=>e.createElement("div",{className:E,"data-is-mobile":a},e.createElement("img",{loading:"lazy",className:"country-flag",src:t,alt:"Country Flag","data-event-category":l,"data-event-action":n,"data-content-label":o})),p=({className:i,type:r="main",footerInfo:m,isMobile:d,locale:v})=>{var E,p,y,f,b,N,h,k,F,$,z,T,x,M,C,L,_,j,S,w,H,I,A,B,G,D,q,U;const{t:J}=s(),K=null==m?void 0:m.menu,O=(null===(p=null===(E=null==m?void 0:m.general)||void 0===E?void 0:E.verified)||void 0===p?void 0:p.filter(Boolean))||[];return e.createElement("footer",{className:`${u} ${i||""}`,style:"mini"===r?{backgroundColor:o.colors.neutral50}:{}},e.createElement(a,null,e.createElement("div",{className:"inner","data-type":r},"main"===r?e.createElement(e.Fragment,null,e.createElement("a",{href:"/"},e.createElement("img",{loading:"lazy",className:"footer-logo",src:null===(y=null==m?void 0:m.general)||void 0===y?void 0:y.logo,alt:"Logo","data-is-sehat":"id-ID"===v})),e.createElement("div",{className:"columns"},e.createElement("div",{className:"newsletter"},e.createElement(c,{size:"p1",weight:"bold"},null===(f=null==m?void 0:m.general)||void 0===f?void 0:f.content),e.createElement(t,{className:"signupButton",color:"primary",size:"lg"},J("footer.signUp")),e.createElement("div",{className:"social"},e.createElement(c,{size:"sm"},null===(b=null==m?void 0:m.social)||void 0===b?void 0:b.title),e.createElement("div",{className:"icons"},null===(h=null===(N=null==m?void 0:m.social)||void 0===N?void 0:N.socials)||void 0===h?void 0:h.map(((t,a)=>e.createElement("a",{key:a,"data-event-category":"Footer","data-event-action":`Follow us - ${t.name}`,"data-content-label":t.url,href:t.url},e.createElement("img",{loading:"lazy","data-event-category":"Footer","data-event-action":`Follow us - ${t.name}`,"data-content-label":t.url,src:t.icon,alt:"Logo Social",className:"social-icon"}))))),e.createElement("hr",{className:"hrMobile"}))),e.createElement("div",null,K&&e.createElement(e.Fragment,null,e.createElement("div",{className:"biglinks"},null===(F=null===(k=K[0])||void 0===k?void 0:k.items)||void 0===F?void 0:F.map(((t,a)=>e.createElement("a",{"data-event-category":"Footer","data-event-action":t.title,"data-event-label":`https://${n[v]}${t.url}`,className:"bigLink",key:a,href:t.url},t.title)))),e.createElement("hr",{className:"hrMobile"}),e.createElement("div",{className:"mHalf"},e.createElement(c,{size:"sm",className:"linkTitle"},null===($=K[1])||void 0===$?void 0:$.menu_title),null===(T=null===(z=K[1])||void 0===z?void 0:z.items)||void 0===T?void 0:T.map(((t,a)=>e.createElement("a",{"data-event-category":"Footer","data-event-action":t.title,"data-event-label":`https://${n[v]}${t.url}`,className:"link",href:t.url,key:a},e.createElement(c,{size:"sm",dataEventCategory:"Footer",dataEventAction:t.title,dataEventLabel:`https://${n[v]}${t.url}`},t.title))))),e.createElement("div",{className:"mHalf"},e.createElement(c,{size:"sm",className:"linkTitle"},null===(x=K[2])||void 0===x?void 0:x.menu_title),null===(C=null===(M=K[2])||void 0===M?void 0:M.items)||void 0===C?void 0:C.map(((t,a)=>t.url&&e.createElement("a",{"data-event-category":"Footer","data-event-action":t.title,"data-event-label":t.url,className:"link",href:t.url,key:a},e.createElement(c,{size:"sm",dataEventCategory:"Footer",dataEventAction:t.title,dataEventLabel:t.url},t.title)))))),e.createElement("hr",{className:"hrMobile"}),e.createElement("div",{className:"otherSites"},e.createElement(c,{size:"sm",className:"linkTitle"},null===(L=null==m?void 0:m.branch)||void 0===L?void 0:L.title),e.createElement("div",{className:"flags"},null===(j=null===(_=null==m?void 0:m.branch)||void 0===_?void 0:_.branch)||void 0===j?void 0:j.map(((t,a)=>e.createElement("a",{className:"link",href:t.url,key:a,"data-event-category":"Footer","data-event-action":t.name,"data-event-label":t.url},e.createElement(g,{url:t.flag,isMobile:d,dataEventCategory:"Footer",dataEventAction:t.name,dataEventLabel:t.url})))))))),e.createElement("hr",null),e.createElement("div",{className:"copyright"},e.createElement("div",{className:"copyright-image-wrapper"},O.length?O.map(((t,a)=>e.createElement("a",{href:t.url,key:a,className:"copyright-image"},e.createElement("img",{loading:"lazy",src:t.image,alt:"DMCA Icon"})))):null),e.createElement(c,{size:"xs",className:"copyright-content",as:"div"},e.createElement("div",{dangerouslySetInnerHTML:{__html:null===(S=null==m?void 0:m.general)||void 0===S?void 0:S.copyright.replace(/{currentYear}/gi,l().get("year").toString())}})))):e.createElement(e.Fragment,null,(null==m?void 0:m.menu)&&e.createElement("div",{className:"columns"},e.createElement("div",{className:"mHalf"},e.createElement(c,{size:"sm",className:"linkTitle"},null===(w=null==m?void 0:m.menu[1])||void 0===w?void 0:w.menu_title),null===(I=null===(H=null==m?void 0:m.menu[1])||void 0===H?void 0:H.items)||void 0===I?void 0:I.map((t=>e.createElement("a",{className:"link",href:t.url,key:t.title,"data-list-type":"Footer","data-content-type":"Navigate","data-content-topic":"Information","data-content-title":t.title,"data-content-id":`https://${n[v]}${t.url}`,"data-event-category":"Footer","data-event-action":t.title,"data-event-label":`https://${n[v]}${t.url}`},e.createElement(c,{dataEventCategory:"Footer",dataEventAction:t.title,dataEventLabel:`https://${n[v]}${t.url}`,size:"sm",style:{color:o.colors.gray800}},t.title))))),e.createElement("div",{className:"mHalf"},e.createElement(c,{size:"sm",className:"linkTitle"},null===(A=null==m?void 0:m.menu[2])||void 0===A?void 0:A.menu_title),null===(G=null===(B=null==m?void 0:m.menu[2])||void 0===B?void 0:B.items)||void 0===G?void 0:G.map(((t,a)=>e.createElement("a",{className:"link",href:t.url,key:a,"data-list-type":"Footer","data-content-type":"Navigate","data-content-topic":"Hello Health","data-content-title":t.title,"data-content-id":t.url,"data-event-category":"Footer","data-event-action":t.title,"data-event-label":t.url},e.createElement(c,{size:"sm",color:o.colors.gray800,dataEventCategory:"Footer",dataEventAction:t.title,dataEventLabel:t.url},t.title))))),"mini"!==r&&e.createElement("hr",{className:"hrMobile"}),e.createElement("div",{className:"newsletter"},e.createElement("div",{className:"social"},e.createElement(c,{size:"sm"},null===(D=null==m?void 0:m.social)||void 0===D?void 0:D.title),e.createElement("div",{className:"icons"},null===(U=null===(q=null==m?void 0:m.social)||void 0===q?void 0:q.socials)||void 0===U?void 0:U.map(((t,a)=>e.createElement("a",{key:a,"data-event-category":"Footer","data-event-action":`Follow us - ${t.name}`,"data-content-label":t.url,href:t.url},e.createElement("img",{"data-event-category":"Footer","data-event-action":`Follow us - ${t.name}`,"data-content-label":t.url,src:t.icon,alt:"Logo Social",loading:"lazy",className:"social-icon"}))))))))))))};var y="B6-KmWK",f="GS-7mbG",b="qc5bEb3",N="CQGVeuT",h="_8eUT8Jr",k="_6JMoel-",F="pFG7UH3";const $=({logoType:t="marryBaby",footerMenu:n,background:s})=>{var u;if(!n)return null;const{general:E,menu:g,socials:p}=n;return e.createElement("footer",{className:y,style:{backgroundColor:s||"none"}},e.createElement(a,null,e.createElement("div",{className:f},null==g?void 0:g.map((({menu_title:t,items:a},l)=>e.createElement("div",{className:b,key:`mbf${l}`},e.createElement(v,{className:"title",type:"subtitle-1",color:o.mbColors.pink},t),null==a?void 0:a.map((({title:t,url:a},l)=>e.createElement("a",{"data-event-category":"Footer","data-event-action":"Click","data-event-label":`${a}`,className:"link",href:a,key:`footer-links-${l}`},e.createElement("div",{className:N,key:`mbitem${l}`},e.createElement(v,{type:"bodytext-2",color:o.mbColors.gray},t)))))))))),e.createElement(a,null,e.createElement("div",{className:k},e.createElement(i,{gap:"24px",sx:e=>({[e.fn.largerThan("sm")]:{".info-item":{flexGrow:1,width:"50%"}},[e.fn.smallerThan("sm")]:{flexDirection:"column"}})},e.createElement(r,{spacing:"24px",className:"info-item"},e.createElement(d,{className:"logo",type:t}),e.createElement(c,{size:"p4",as:"div"},e.createElement("div",{dangerouslySetInnerHTML:{__html:null==E?void 0:E.content}})),e.createElement("div",{className:F},null==p?void 0:p.map((({icon:t,name:a,url:l},n)=>e.createElement("a",{key:`social${n}`,target:"_blank",rel:"noreferrer","data-event-category":"Footer","data-event-action":`Follow us - ${a}`,"data-content-label":a,href:l},e.createElement("img",{className:"social-logo",loading:"lazy",src:t,alt:a})))))),e.createElement(m,{className:"info-item",sx:{paddingTop:"7px"}},e.createElement(c,{size:"p4",as:"div"},e.createElement("div",{dangerouslySetInnerHTML:{__html:null==E?void 0:E.information}})))))),e.createElement("div",{className:h},e.createElement(a,null,e.createElement("div",{className:"content"},e.createElement(c,{size:"p5",color:"#fff",as:"div"},e.createElement("div",{dangerouslySetInnerHTML:{__html:null==E?void 0:E.copyright.replace(/{currentYear}/gi,l().get("year").toString())}})),e.createElement("div",{className:"verify"},null===(u=null==E?void 0:E.verified)||void 0===u?void 0:u.map((({image:t,url:a},l)=>e.createElement("img",{loading:"lazy",key:`imgMbFt${l}`,src:t,alt:a}))))))))},z=({type:t,isMobile:a=!0,locale:l,footerInfo:n,siteType:o,background:i})=>"helloSites"===o?e.createElement(p,{isMobile:a,type:t,locale:l,footerInfo:n||{}}):e.createElement($,{footerMenu:n,background:i});export{z as F};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{_ as e}from"./tslib.es6-
|
|
1
|
+
import{_ as e}from"./tslib.es6-266309d1.js";import l from"react";import{rem as o,createStyles as t,Text as i}from"@mantine/core";var s;!function(e){e[e.regular=400]="regular",e[e.semiBold=600]="semiBold",e[e.bold=700]="bold"}(s||(s={}));const a={fontSize:{base:[o(16),o(16)],lg:[o(18),o(16)],md:[o(18),o(16)],sm:[o(16),o(14)],xs:[o(14),o(12)],s1:[o(22),o(18)],s2:[o(18),o(16)],s3:[o(16),o(14)],s4:[o(14),o(12)],s5:[o(12),o(12)],p1:[o(18),o(16)],p2:[o(16),o(16)],p3:[o(16),o(14)],p4:[o(14),o(12)],p5:[o(12),o(12)],c1:[o(16),o(14)],c2:[o(14),o(12)],n1:[o(12),o(12)],label1:[o(14),o(14)],label2:[o(12),o(12)],h1:[o(40),o(26)],h2:[o(32),o(24)],h3:[o(26),o(20)],h4:[o(22),o(18)],h5:[o(18),o(16)],h6:[o(16),o(14)]},lineHeight:{base:[o(24),o(24)],lg:[o(32),o(28)],md:[o(32),o(28)],sm:[o(24),o(22)],xs:[o(24),o(18)],s1:[o(32),o(26)],s2:[o(28),o(24)],s3:[o(24),o(24)],s4:[o(22),o(18)],s5:[o(18),o(18)],p1:[o(28),o(28)],p2:[o(24),o(24)],p3:[o(24),o(22)],p4:[o(22),o(18)],c1:[o(24),o(22)],c2:[o(22),o(18)],n1:[o(18),o(18)],label1:[o(22),o(22)],label2:[o(18),o(18)],h1:[o(52),o(34)],h2:[o(42),o(32)],h3:[o(36),o(26)],h4:[o(32),o(26)],h5:[o(28),o(24)],h6:[o(24),o(22)]},letterSpacing:{lg:[-.2,0],md:[-.2,0],sm:[0,-.2],s1:[-.6,-.6],s2:[-.4,-.2],s3:[0,-.2],s4:[0,-.2],p1:[-.2,-.2],p2:[0,-.2],p3:[0,-.2],p4:[-.2,0],label1:[0,-.2],h1:[-1.2,-.9],h2:[-1,-.8],h3:[-.8,-.7],h4:[-.6,-.6],h5:[-.2,-.2],h6:[0,-.2]},fontWeightBySize:{s1:s.semiBold,s2:s.semiBold,s3:s.semiBold,s4:s.semiBold,h1:s.bold,h2:s.bold,h3:s.bold,h4:s.bold,h5:s.bold,h6:s.bold},fontWeight:s},n=Object.assign({},a);var d=t(((e,l)=>{var o,t,i,a,d,r,v,c,h,g;const p=Object.assign({},n),m=null===(o=p.fontSize[null==l?void 0:l.size])||void 0===o?void 0:o[0],b=null===(t=p.lineHeight[null==l?void 0:l.size])||void 0===t?void 0:t[0],u=null!==(d=null===(a=null===(i=p.letterSpacing)||void 0===i?void 0:i[null==l?void 0:l.size])||void 0===a?void 0:a[0])&&void 0!==d?d:0,z=null===(r=p.fontSize[null==l?void 0:l.size])||void 0===r?void 0:r[1],f=null===(v=p.lineHeight[null==l?void 0:l.size])||void 0===v?void 0:v[1],y=null!==(g=null===(h=null===(c=p.letterSpacing)||void 0===c?void 0:c[null==l?void 0:l.size])||void 0===h?void 0:h[1])&&void 0!==g?g:0;return{root:Object.assign(Object.assign({},(null==l?void 0:l.size)&&{fontWeight:"label"===(null==l?void 0:l.as)?s.semiBold:p.fontWeightBySize[null==l?void 0:l.size]||p.fontWeight[l.weight],fontSize:`${m}`,lineHeight:`${b}`,letterSpacing:u,[e.fn.smallerThan("sm")]:{fontSize:`${z}`,lineHeight:`${f}`,letterSpacing:y}}),{"&[data-event-category] > *":{pointerEvents:"none"}})}}));const r=o=>{var t,{size:s,color:a,weight:n="regular",as:r="p",styles:v,className:c,dataEventCategory:h,dataEventAction:g,dataEventLabel:p}=o,m=e(o,["size","color","weight","as","styles","className","dataEventCategory","dataEventAction","dataEventLabel"]);const{theme:b,classes:u,cx:z}=d({size:s,weight:"caption"===n?"bold":n,as:r},{name:"Text",styles:v});return l.createElement(i,Object.assign({className:z(u.root,c),color:a||("label"===r?b.colors.gray[6]:"mb"===(null===(t=null==b?void 0:b.other)||void 0===t?void 0:t.template)?b.colors.delftGray[7]:b.colors.gray[7]),component:r,"data-event-category":h,"data-event-action":g,"data-event-label":p,classNames:{root:Object.assign(Object.assign({},m.wordWrap?{"word-wrap":m.wordWrap}:void 0),m.isUppercase||"caption"===n?{"text-transform":"uppercase"}:void 0)}},m))};export{n as O,r as T};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import e,{useRef as t,useEffect as a,useState as o}from"react";import{Portal as l}from"@mantine/core";import{t as n,M as i}from"./utils-
|
|
1
|
+
import e,{useRef as t,useEffect as a,useState as o}from"react";import{Portal as l}from"@mantine/core";import{t as n,M as i}from"./utils-5b4e60da.js";import{x as r,y as d,z as s,A as c,B as m,C as p,g as h}from"./index.styles-94af560f.js";import{T as u}from"./index-d27a0e25.js";import{u as g}from"./useScrollbarSize-90b179a5.js";import{createPortal as b}from"react-dom";import y from"styled-components";import{t as f}from"./theme-3db3c9a8.js";import{BabyBoyMB as v,GenderChooseBoy as x,BabyGirlMB as C,GenderChooseGirl as E}from"@hhgtech/icons/other";import{u as w}from"./useTranslations-df1b3bb8.js";import{G as k}from"./Subot-4642c5bf.js";import{M as _,a as $}from"./index-7c77273a.js";import{T as B}from"./index-459e0362.js";const j=({open:t=!1,onClickOutside:a})=>e.createElement(r,{"data-open":t,onClick:a}),N=({children:o,title:i,onClose:r,open:m=!1,placement:p="left",destroyOnClose:h=!1,isPropagationEvent:g=!0,className:b})=>{const y=t();a((()=>(n(m),()=>n(!1))),[m]);const f=()=>{y.current.classList.add("slideOut"),setTimeout((()=>{r()}),800)};return!m&&h?null:e.createElement(l,null,e.createElement(d,{className:b,open:m},e.createElement(j,{open:m,onClickOutside:f}),e.createElement(s,{open:m,placement:p,ref:y,hasTitle:Boolean(i)},e.createElement("div",{className:"title"},i&&e.createElement(u,{size:"s2",weight:"semiBold"},i),e.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",className:"close-button",onClick:f},e.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"}))),e.createElement(c,{onClick:e=>{g&&e.stopPropagation()}},o&&(e.isValidElement(o)?o:"function"==typeof o?o({internalClose:f}):null)))))},L=({value:t,options:a,className:l,direction:n="horizontal",onChange:i,isDisabled:r,siteType:d})=>{const[s,c]=o(t),h="marryBaby"===d;return e.createElement(m,{className:l,"data-direction":n},a.map(((a,o)=>e.createElement(p,{"data-selected":(t||s)===a.value,"data-is-mb":h,"data-disabled":r,key:o,onClick:()=>{var e;e=a.value,r||(c(e),i&&i(e))}},e.createElement("div",null,a.content,a.label&&e.createElement(e.Fragment,null,h?e.createElement(_,{type:"subtitle-2",color:(t||s)===a.value?f.mbColors.dark:f.mbColors.midGray},a.label):e.createElement(B,{type:"bold",color:(t||s)===a.value?"#2D87F3":"black",className:"radio-group-item-heading",size:"label1"},a.label)))))))},z="hhgcomp-modal-modal",T=h(y.div`
|
|
2
2
|
position: relative;
|
|
3
3
|
z-index: 200;
|
|
4
4
|
background-color: ${f.colors.white};
|