@hhgtech/hhg-components 1.23.96 → 1.24.0
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/Visible-5cc9afc6.js +1 -0
- package/build/babyGrowth.js +283 -1
- package/build/cache.js +1 -1
- package/build/care.js +1 -1
- package/build/components.js +1 -1
- package/build/constants-c4903a50.js +1 -0
- package/build/constants.js +1 -1
- package/build/cookieHelper-9f080637.js +1 -0
- package/build/core-b2fe46dd.js +1 -0
- package/build/dataTransform-a110e001.js +1 -0
- package/build/dataTransform-fcf0a572.js +1 -0
- package/build/ecom.js +1 -1
- package/build/esm/Visible-7eca30b5.js +1 -0
- package/build/esm/babyGrowth.js +283 -1
- package/build/esm/cache.js +1 -1
- package/build/esm/care.js +1 -1
- package/build/esm/components.js +1 -1
- package/build/esm/constants-d1288784.js +1 -0
- package/build/esm/constants.js +1 -1
- package/build/esm/cookieHelper-e007aa92.js +1 -0
- package/build/esm/core-8afe5a4d.js +1 -0
- package/build/esm/dataTransform-2fba1b2c.js +1 -0
- package/build/esm/dataTransform-915aed8c.js +1 -0
- package/build/esm/ecom.js +1 -1
- package/build/esm/footer.js +1 -1
- package/build/esm/gAssets.js +1 -1
- package/build/esm/getDynamicHealthTool-5bc53bc9.js +1 -0
- package/build/esm/getSocialList-278ea87c.js +1 -0
- package/build/esm/hooks.js +1 -1
- package/build/esm/i18n.js +1 -1
- package/build/esm/index-05542543.js +93 -0
- package/build/esm/index-150d757e.js +31 -0
- package/build/esm/index-18a9e3fb.js +1 -0
- package/build/esm/index-21b4181b.js +1 -0
- package/build/esm/index-2c15a988.js +1 -0
- package/build/esm/index-364770a0.js +1 -0
- package/build/esm/{index-727b7826.js → index-5923c954.js} +1 -1
- package/build/esm/index-5a00107b.js +1 -0
- package/build/esm/index-653fcb30.js +1 -0
- package/build/esm/index-78cd9f91.js +1 -0
- package/build/esm/index-7b6296d5.js +1 -0
- package/build/esm/index-87ee0d76.js +1 -0
- package/build/esm/index-9d45815e.js +90 -0
- package/build/esm/index-a2e77867.js +177 -0
- package/build/esm/index-b5e35ec5.js +1 -0
- package/build/esm/index-b5f6d798.js +1 -0
- package/build/esm/index-c4acfb04.js +1 -0
- package/build/esm/index-c9e0a1b5.js +1 -0
- package/build/esm/index-cb50aeb8.js +170 -0
- package/build/esm/index-d02e0f58.js +1 -0
- package/build/esm/index-f98bb958.js +1 -0
- package/build/esm/index-fe31b09c.js +1 -0
- package/build/esm/index.js +1 -1
- package/build/esm/index.styled-2465841d.js +69 -0
- package/build/esm/index.styled-67c29a17.js +4471 -0
- package/build/esm/index.styled-6abf9e6a.js +45 -0
- package/build/esm/index.styled-6b6e612e.js +1240 -0
- package/build/esm/index.styled-7f0b774b.js +113 -0
- package/build/esm/index.styled-c65f9df8.js +1863 -0
- package/build/esm/{isProduction-d1f89e20.js → isProduction-fab10892.js} +1 -1
- package/build/esm/lead.js +1 -1
- package/build/esm/localizeNumberFormat-0724d25a.js +1 -0
- package/build/esm/mantine.js +1 -1
- package/build/esm/misc.js +1 -1
- package/build/esm/navigation.js +1 -1
- package/build/esm/normalizeLink-2ec03ba7.js +1 -0
- package/build/esm/onboarding.js +1 -1
- package/build/esm/pwg.js +73 -1
- package/build/esm/routing-e4b4ee8f.js +1 -0
- package/build/esm/screenSizeContext-b29efdb0.js +81 -0
- package/build/esm/theme-a631c5ab.js +1 -0
- package/build/esm/together.js +1 -1
- package/build/esm/{translationsContext-9dc10217.js → translationsContext-fc21efad.js} +1 -1
- package/build/esm/translationsProvider-84f592ea.js +1 -0
- package/build/esm/tslib.es6-0039c19c.js +1 -0
- package/build/esm/types-2bbcf540.js +1 -0
- package/build/esm/types-978544c0.js +3013 -0
- package/build/esm/types-d532ba8d.js +336 -0
- package/build/esm/types.js +1 -1
- package/build/esm/unifyEnv.js +1 -1
- package/build/esm/useHealthToolCache-23715185.js +1 -0
- package/build/esm/useIsInit-e1781437.js +1 -0
- package/build/esm/useOutsideClick-68a3714e.js +1 -0
- package/build/esm/useRafState-a50dc032.js +1 -0
- package/build/esm/useScrollbarSize-3d17e421.js +1 -0
- package/build/esm/useTranslations-7f736d5f.js +1 -0
- package/build/esm/useUniqueId-818c7708.js +1 -0
- package/build/esm/utils-7ce226e8.js +1 -0
- package/build/footer.js +1 -1
- package/build/gAssets.js +1 -1
- package/build/getDynamicHealthTool-e361a825.js +1 -0
- package/build/getSocialList-e0fa1cc8.js +1 -0
- package/build/hooks/index.d.ts +7 -0
- package/build/hooks/useInitialMount.d.ts +3 -0
- package/build/hooks/useOutsideClick.d.ts +7 -2
- package/build/hooks/usePrevious.d.ts +3 -0
- package/build/hooks/useRafState.d.ts +3 -0
- package/build/hooks/useUniqueId.d.ts +5 -0
- package/build/hooks.js +1 -1
- package/build/i18n.js +1 -1
- package/build/index-0207c31b.js +1 -0
- package/build/index-0cad5f1b.js +1 -0
- package/build/index-11f0284b.js +170 -0
- package/build/index-2b30377d.js +1 -0
- package/build/index-2cbdb4bf.js +1 -0
- package/build/index-2d563c87.js +1 -0
- package/build/index-635e21cc.js +1 -0
- package/build/index-8a6a7cc0.js +1 -0
- package/build/index-8f5c7ee3.js +90 -0
- package/build/index-9152ca1d.js +1 -0
- package/build/index-94d7557e.js +31 -0
- package/build/index-a1d07633.js +93 -0
- package/build/index-a83a062e.js +1 -0
- package/build/index-aa3c9ce0.js +1 -0
- package/build/index-af3b3f09.js +1 -0
- package/build/index-b4ea7a21.js +1 -0
- package/build/index-b6acdcae.js +1 -0
- package/build/{index-aed2cd66.js → index-c8db56b7.js} +1 -1
- package/build/index-d8eec019.js +1 -0
- package/build/index-e98fdd8c.js +1 -0
- package/build/index-f8b86c53.js +177 -0
- package/build/index-f9086275.js +1 -0
- package/build/index.js +1 -1
- package/build/index.styled-642f11f7.js +69 -0
- package/build/index.styled-6e461cdf.js +45 -0
- package/build/index.styled-6ff0df3f.js +1863 -0
- package/build/index.styled-805b1f85.js +1240 -0
- package/build/index.styled-e3aa6f73.js +113 -0
- package/build/index.styled-eb8f4b1e.js +4471 -0
- package/build/isProduction-e392487d.js +1 -0
- package/build/lead.js +1 -1
- package/build/localizeNumberFormat-eda96ba2.js +1 -0
- package/build/mantine.js +1 -1
- package/build/misc.js +1 -1
- package/build/navigation.js +1 -1
- package/build/normalizeLink-62e8417c.js +1 -0
- package/build/onboarding.js +1 -1
- package/build/pwg.js +73 -1
- package/build/routing-72b2705b.js +1 -0
- package/build/screenSizeContext-aa77f70a.js +81 -0
- package/build/together.js +1 -1
- package/build/{translationsContext-c72cd9e1.js → translationsContext-c77a479e.js} +1 -1
- package/build/translationsProvider-631b95ce.js +1 -0
- package/build/tslib.es6-c8b5aa16.js +1 -0
- package/build/types-02e3f27e.js +3013 -0
- package/build/types-5a9b3c87.js +1 -0
- package/build/types-8aaea47a.js +336 -0
- package/build/types.js +1 -1
- package/build/unifyEnv.js +1 -1
- package/build/useHealthToolCache-7f3b83ae.js +1 -0
- package/build/useIsInit-e8b04977.js +1 -0
- package/build/useOutsideClick-f11e7192.js +1 -0
- package/build/useRafState-012ffb1f.js +1 -0
- package/build/useScrollbarSize-328d9797.js +1 -0
- package/build/useTranslations-fa071ccf.js +1 -0
- package/build/useUniqueId-5a393d9b.js +1 -0
- package/build/utils-d98a0819.js +1 -0
- package/package.json +1 -1
- package/build/Visible-17a7a580.js +0 -1
- package/build/constants-d6d1e063.js +0 -1
- package/build/cookieHelper-28201535.js +0 -1
- package/build/core-359f3669.js +0 -1
- package/build/dataTransform-89c2bec6.js +0 -1
- package/build/dataTransform-fb387c67.js +0 -1
- package/build/esm/Visible-e38806a1.js +0 -1
- package/build/esm/constants-acc229cb.js +0 -1
- package/build/esm/cookieHelper-9853ff28.js +0 -1
- package/build/esm/core-8c140564.js +0 -1
- package/build/esm/dataTransform-1235c7f3.js +0 -1
- package/build/esm/dataTransform-74976312.js +0 -1
- package/build/esm/getDynamicHealthTool-2fc74721.js +0 -1
- package/build/esm/getSocialList-85be8e90.js +0 -1
- package/build/esm/index-0c399195.js +0 -1
- package/build/esm/index-2493ccf8.js +0 -1
- package/build/esm/index-3f5ef276.js +0 -1
- package/build/esm/index-42f2a9bf.js +0 -1
- package/build/esm/index-46feaf77.js +0 -1
- package/build/esm/index-47fa0437.js +0 -1
- package/build/esm/index-513d11f1.js +0 -1
- package/build/esm/index-727d6563.js +0 -1
- package/build/esm/index-783229bd.js +0 -1
- package/build/esm/index-8d02e7ca.js +0 -1
- package/build/esm/index-9395e6e7.js +0 -1
- package/build/esm/index-9b0a548c.js +0 -1
- package/build/esm/index-9cbbd619.js +0 -1
- package/build/esm/index-a05bc574.js +0 -1
- package/build/esm/index-ad90c54c.js +0 -1
- package/build/esm/index-ae9491da.js +0 -1
- package/build/esm/index-cc0a2037.js +0 -1
- package/build/esm/index-cf1f731a.js +0 -1
- package/build/esm/index-d704cce0.js +0 -1
- package/build/esm/index-e643346e.js +0 -1
- package/build/esm/index-ea41d909.js +0 -1
- package/build/esm/index.styled-354ac1b1.js +0 -1
- package/build/esm/index.styled-49b84b98.js +0 -1
- package/build/esm/index.styled-710e3780.js +0 -1
- package/build/esm/index.styled-945634fd.js +0 -1
- package/build/esm/index.styled-a08c1405.js +0 -1
- package/build/esm/index.styled-d4b2fbc3.js +0 -1
- package/build/esm/localizeNumberFormat-51e7567b.js +0 -1
- package/build/esm/normalizeLink-dd77331b.js +0 -1
- package/build/esm/routing-77a603de.js +0 -1
- package/build/esm/screenSizeContext-1ad3b13f.js +0 -1
- package/build/esm/theme-6269934e.js +0 -1
- package/build/esm/translationsProvider-46be20af.js +0 -1
- package/build/esm/tslib.es6-cdf3fe1c.js +0 -1
- package/build/esm/types-29954c44.js +0 -1
- package/build/esm/types-b95b282d.js +0 -1
- package/build/esm/types-fe9ae595.js +0 -1
- package/build/esm/useFbDataLayer-8c1f8f78.js +0 -1
- package/build/esm/useHealthToolCache-feeb515b.js +0 -1
- package/build/esm/useOutsideClick-60fdf782.js +0 -1
- package/build/esm/useScrollbarSize-66f40fe6.js +0 -1
- package/build/esm/useTranslations-65f76a8d.js +0 -1
- package/build/esm/utils-3c60234f.js +0 -1
- package/build/getDynamicHealthTool-cc9d53e4.js +0 -1
- package/build/getSocialList-8a26e47a.js +0 -1
- package/build/index-07be4231.js +0 -1
- package/build/index-0a913563.js +0 -1
- package/build/index-0c229f73.js +0 -1
- package/build/index-25301c21.js +0 -1
- package/build/index-37925a90.js +0 -1
- package/build/index-4823cdb2.js +0 -1
- package/build/index-4de1d8b7.js +0 -1
- package/build/index-56dbf01c.js +0 -1
- package/build/index-5fe36d07.js +0 -1
- package/build/index-6a9d5459.js +0 -1
- package/build/index-71240a86.js +0 -1
- package/build/index-858a0d8e.js +0 -1
- package/build/index-89d5d52a.js +0 -1
- package/build/index-8c3cfb8d.js +0 -1
- package/build/index-a4458177.js +0 -1
- package/build/index-b211535f.js +0 -1
- package/build/index-b4c4e4d2.js +0 -1
- package/build/index-d18d512f.js +0 -1
- package/build/index-df85df56.js +0 -1
- package/build/index-f516687b.js +0 -1
- package/build/index-fa42fb5a.js +0 -1
- package/build/index.styled-05110f11.js +0 -1
- package/build/index.styled-5bdace7e.js +0 -1
- package/build/index.styled-7e9152c8.js +0 -1
- package/build/index.styled-aa601a7f.js +0 -1
- package/build/index.styled-dad4055c.js +0 -1
- package/build/index.styled-e3beeca7.js +0 -1
- package/build/isProduction-04c3761b.js +0 -1
- package/build/localizeNumberFormat-dfc55e0f.js +0 -1
- package/build/normalizeLink-37918249.js +0 -1
- package/build/routing-b6c93661.js +0 -1
- package/build/screenSizeContext-d81dbb01.js +0 -1
- package/build/translationsProvider-f14439a0.js +0 -1
- package/build/tslib.es6-431789a4.js +0 -1
- package/build/types-1c807ecb.js +0 -1
- package/build/types-4d99bb34.js +0 -1
- package/build/types-d2f1b4b1.js +0 -1
- package/build/useFbDataLayer-2105ab05.js +0 -1
- package/build/useHealthToolCache-1b87ca61.js +0 -1
- package/build/useOutsideClick-2c0ff372.js +0 -1
- package/build/useScrollbarSize-05810e22.js +0 -1
- package/build/useTranslations-ef77629a.js +0 -1
- package/build/utils-ab3443d3.js +0 -1
- /package/build/{BMI_BOYS.percentile.monthly-9d39bbab.js → BMI_BOYS.percentile.monthly-49a7e033.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-4bc60c71.js → BMI_BOYS.percentile.weekly-c3647a26.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-50f6611a.js → BMI_BOYS.percentile.yearly-b182554a.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-c6ea3446.js → BMI_BOYS.zscore.monthly-6e49f68e.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-14220344.js → BMI_BOYS.zscore.weekly-473f821a.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-a2ffafd7.js → BMI_BOYS.zscore.yearly-91a7ef2e.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-2da0a249.js → BMI_GIRLS.percentile.monthly-489e52dc.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-0fd40cd3.js → BMI_GIRLS.percentile.weekly-232aa9fd.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-a475911e.js → BMI_GIRLS.percentile.yearly-fe7db447.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-ae0f8166.js → BMI_GIRLS.zscore.monthly-1eeee735.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-ff6346cf.js → BMI_GIRLS.zscore.weekly-27ad267f.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-b9230bd5.js → BMI_GIRLS.zscore.yearly-ddb674d8.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-9628d9b7.js → HEAD CIRCUM_BOYS.percentile.monthly-0a67b15b.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-3f1ac26c.js → HEAD CIRCUM_BOYS.percentile.weekly-7ef9f7a7.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-a93e69df.js → HEAD CIRCUM_BOYS.percentile.yearly-22d0bdda.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-ce34cddd.js → HEAD CIRCUM_BOYS.zscore.monthly-d07fa700.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-e5d90e64.js → HEAD CIRCUM_BOYS.zscore.weekly-85731a7c.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-32ccaf90.js → HEAD CIRCUM_BOYS.zscore.yearly-3dbc3d23.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-40b09622.js → HEAD CIRCUM_GIRLS.percentile.monthly-9c94c219.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-17dcd22f.js → HEAD CIRCUM_GIRLS.percentile.weekly-3d6afa9f.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-45331d5d.js → HEAD CIRCUM_GIRLS.percentile.yearly-23f85bb3.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-af92c59f.js → HEAD CIRCUM_GIRLS.zscore.monthly-9e2e4574.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-b5ac2441.js → HEAD CIRCUM_GIRLS.zscore.weekly-970f3868.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-e90e0521.js → HEAD CIRCUM_GIRLS.zscore.yearly-5f91a7be.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-7f7e9b60.js → HEIGHT_BOYS.percentile.monthly-fc85d952.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-4b6f9fc9.js → HEIGHT_BOYS.percentile.weekly-f90cdf3c.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-c372cbe2.js → HEIGHT_BOYS.percentile.yearly-69d74ff2.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-dfc88fc7.js → HEIGHT_BOYS.zscore.monthly-c4c6ec23.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-2973102c.js → HEIGHT_BOYS.zscore.weekly-5e246b85.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-44c16ec1.js → HEIGHT_BOYS.zscore.yearly-a9a6c560.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-a6125ad6.js → HEIGHT_GIRLS.percentile.monthly-ad9e6190.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-d707a9a2.js → HEIGHT_GIRLS.percentile.weekly-6ad975ae.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-48fe982e.js → HEIGHT_GIRLS.percentile.yearly-a5be7a5c.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-065eed4f.js → HEIGHT_GIRLS.zscore.monthly-8be73103.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-ad461e21.js → HEIGHT_GIRLS.zscore.weekly-9e844863.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-a491ba3b.js → HEIGHT_GIRLS.zscore.yearly-3794c302.js} +0 -0
- /package/build/{Locale-9341a76f.js → Locale-0c6090ac.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-1fbb54b7.js → WEIGHT_BOYS.percentile.monthly-ec4e917a.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-9f509516.js → WEIGHT_BOYS.percentile.weekly-cf18e9d9.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-74784e0f.js → WEIGHT_BOYS.percentile.yearly-0d17cbec.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-d3f5da8d.js → WEIGHT_BOYS.zscore.monthly-8055934c.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-09ff83f8.js → WEIGHT_BOYS.zscore.weekly-42499533.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-6a06848c.js → WEIGHT_BOYS.zscore.yearly-f566a157.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-b7e92e78.js → WEIGHT_GIRLS.percentile.monthly-378ceed4.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-410040ea.js → WEIGHT_GIRLS.percentile.weekly-097016f4.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-a9e421cc.js → WEIGHT_GIRLS.percentile.yearly-b8cab7d6.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-f03ebcda.js → WEIGHT_GIRLS.zscore.monthly-18e50eb6.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-089c2776.js → WEIGHT_GIRLS.zscore.weekly-07eb577d.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-a7807cd4.js → WEIGHT_GIRLS.zscore.yearly-61d9aba2.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-c66bdcd7.js → BMI_BOYS.percentile.monthly-6162dbd1.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-a3f5afd9.js → BMI_BOYS.percentile.weekly-ff0abf39.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-0e47ad62.js → BMI_BOYS.percentile.yearly-0a5cbf88.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-5d6d66ac.js → BMI_BOYS.zscore.monthly-3bb589cb.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-9e370dc3.js → BMI_BOYS.zscore.weekly-f5d0d55b.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-c11378c8.js → BMI_BOYS.zscore.yearly-168bb8ab.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-b94292d3.js → BMI_GIRLS.percentile.monthly-1bf2c569.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-5d45a283.js → BMI_GIRLS.percentile.weekly-fb2f3e86.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-12eb03d5.js → BMI_GIRLS.percentile.yearly-506acc36.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-096bdc7a.js → BMI_GIRLS.zscore.monthly-b64e0a5b.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-acd6cdf3.js → BMI_GIRLS.zscore.weekly-f1a9c248.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-3c48b5e6.js → BMI_GIRLS.zscore.yearly-eff14fa8.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-1c5cbbf8.js → HEAD CIRCUM_BOYS.percentile.monthly-4b557dea.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-9f9a8c4d.js → HEAD CIRCUM_BOYS.percentile.weekly-d301205d.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-2e80d1c4.js → HEAD CIRCUM_BOYS.percentile.yearly-cbf0239b.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-e6bb08b5.js → HEAD CIRCUM_BOYS.zscore.monthly-1e472bf5.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-a6bfadef.js → HEAD CIRCUM_BOYS.zscore.weekly-5fc4fbf2.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-50ecb0c1.js → HEAD CIRCUM_BOYS.zscore.yearly-7fd04beb.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-bd48bf4b.js → HEAD CIRCUM_GIRLS.percentile.monthly-0af48708.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-90b11f11.js → HEAD CIRCUM_GIRLS.percentile.weekly-d6b698bd.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-1e8f37cd.js → HEAD CIRCUM_GIRLS.percentile.yearly-f7b231b7.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-4f846e2d.js → HEAD CIRCUM_GIRLS.zscore.monthly-83186826.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-bc702898.js → HEAD CIRCUM_GIRLS.zscore.weekly-c0791949.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-944d19bb.js → HEAD CIRCUM_GIRLS.zscore.yearly-dfa2a71e.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-3ead7b71.js → HEIGHT_BOYS.percentile.monthly-b39865ac.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-e501f455.js → HEIGHT_BOYS.percentile.weekly-df5a99f1.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-c062210a.js → HEIGHT_BOYS.percentile.yearly-7e0b7ed8.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-2b585d31.js → HEIGHT_BOYS.zscore.monthly-559b4b5d.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-98c29f94.js → HEIGHT_BOYS.zscore.weekly-544455a6.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-56c032eb.js → HEIGHT_BOYS.zscore.yearly-81690a5c.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-e74d80b1.js → HEIGHT_GIRLS.percentile.monthly-4fa737ad.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-0c80a9d9.js → HEIGHT_GIRLS.percentile.weekly-2c85d07d.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-f2844ed4.js → HEIGHT_GIRLS.percentile.yearly-1b366b28.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-918fa9a5.js → HEIGHT_GIRLS.zscore.monthly-d26f368c.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-320adea6.js → HEIGHT_GIRLS.zscore.weekly-5e356b98.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-fd76e8bb.js → HEIGHT_GIRLS.zscore.yearly-82c23bb8.js} +0 -0
- /package/build/esm/{Locale-073a2db2.js → Locale-00425d00.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-b0417b50.js → WEIGHT_BOYS.percentile.monthly-b4bf9069.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-8ec85726.js → WEIGHT_BOYS.percentile.weekly-28cf566c.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-46dccfad.js → WEIGHT_BOYS.percentile.yearly-22454f28.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-499753ae.js → WEIGHT_BOYS.zscore.monthly-7c5c813b.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-ae85c589.js → WEIGHT_BOYS.zscore.weekly-58a385f6.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-9084cd68.js → WEIGHT_BOYS.zscore.yearly-e4806377.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-c5603062.js → WEIGHT_GIRLS.percentile.monthly-26c96203.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-dc9fe710.js → WEIGHT_GIRLS.percentile.weekly-a75e2e5b.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-acb35d67.js → WEIGHT_GIRLS.percentile.yearly-08ff921c.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-06e2f588.js → WEIGHT_GIRLS.zscore.monthly-88a3e7cd.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-33d58b1e.js → WEIGHT_GIRLS.zscore.weekly-e5bfd844.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-14f3c8f1.js → WEIGHT_GIRLS.zscore.yearly-547bc55e.js} +0 -0
- /package/build/{theme-224f5840.js → theme-9a2f5576.js} +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import e from"react";import{as as i,at as o}from"./index.styled-d4b2fbc3.js";import{_ as n}from"./tslib.es6-cdf3fe1c.js";var t=function(n){var t=n.type,l=void 0===t?"lead":t,r=n.closeIcon,a=n.isOpen,d=void 0===a||a,u=n.onClose,s=n.children,m=n.className,v=void 0===m?"":m,c=n.enableAnimation,p=void 0===c||c;return e.createElement(e.Fragment,null,e.createElement(i,{"data-open":d,"data-type":l,"data-animation":p},e.createElement("div",{className:"".concat(v||""," popup-content")},!!r&&e.createElement("div",{className:"close-button",onClick:u},r),s)),e.createElement(o,{"data-open":d,onClick:u}))},l=function(e){return e?{displayName:e.display_name||null,avatar:e.avatar||null,thumbnailAvatar:e.avatar_thumbnail||null,profileUrl:e.profile_url||null,description:e.description||null,metaTag:e.meta_tag||"",specialty:e.specialty||"",organisation:e.organisation||""}:{}},r=function(e){return e?{id:e.ID||null,name:e.name||null,specialty:e.specialty||null,avatar:e.avatar||null,permalink:e.permalink||null,thumbnailAvatar:e.avatar_thumbnail||null}:{}},a=function(e){var i,o,t,a;return e?{id:e.ID,postName:e.post_name,sponsor:e.sponsor?u(e.sponsor):null,isSponsored:e.is_sponsored||null,postTitle:e.post_title||"",postModified:e.post_modified||"",postDate:e.post_date||"",modifiedTime:e.modified_time||"",permalink:e.permalink||"",featureImage:e.image||null,featureImageMobile:e.image_medium||null,featureImageMobileXs:e.image_thumbnail||null,author:l(e.author),reviewer:e.reviewed_by&&l(e.reviewed_by)||null,articleReviewed:(null==e?void 0:e.reviewed)?n(n({},null==e?void 0:e.reviewed),{author:d(null===(i=null==e?void 0:e.reviewed)||void 0===i?void 0:i.author),editor:d(null===(o=null==e?void 0:e.reviewed)||void 0===o?void 0:o.editor),expert:d(null===(t=null==e?void 0:e.reviewed)||void 0===t?void 0:t.expert),fact_check:d(null===(a=null==e?void 0:e.reviewed)||void 0===a?void 0:a.fact_check)}):null,category:m(e.category),postContent:e.post_content||null,sections:e.sections||null,categories:(e.categories||[]).map(m),sources:e.sources||null,description:e.description||null,excerpt:e.excerpt||null,expert:r(e.expert),metaTag:e.meta_tag||null}:{}},d=function(e){return void 0!==e&&e?n(n({},e),{profile_url:(null==e?void 0:e.slug)?["expert","medical"].includes((null==e?void 0:e.role)||"")?"/expert/".concat(null==e?void 0:e.slug):"/author/".concat(null==e?void 0:e.slug):e.profile_url}):null},u=function(e){return e?{title:e.title,logo:e.logo,link:e.link}:{}},s=function(e){return{postTitle:e.post_title,permalink:e.permalink}},m=function(e){var i,o;return e?{termId:e.term_id||null,sponsor:e.sponsor?u(e.sponsor):null,isSponsored:e.is_sponsored||null,categoryName:e.cat_name||null,name:e.name||null,iconUrl:e.icon||"",slugName:e.category_nicename||null,description:e.description||null,featureImage:e.image||null,displayName:e.name||null,parent:e.parent||null,permalink:e.permalink||null,slug:e.slug||null,childCates:(null===(i=e.child_cates)||void 0===i?void 0:i.map((function(e){return m(e)})))||[],colorFeatureImage:e.color_feature_image||null,imageColor:e.image_color||null,textColor:e.text_color||null,catParent:(null===(o=e.cat_parent)||void 0===o?void 0:o.name)?{name:e.cat_parent.name,permalink:e.cat_parent.permalink}:{},metaTag:e.meta_tag||"",reviewedBy:e.reviewed_by?s(e.reviewed_by):null,reviewedDate:e.reviewed_date||"",faqs:e.faqs?e.faqs.map((function(e){return v(e)})):null}:{}},v=function(e){return{title:e.title,content:e.content}},c=function(e){return e?{icon:e.icon,link:e.link.startsWith("http")?e.link:"/health-tools"+e.link,subtitle:e.subtitle,title:e.title}:{}},p=function(e){return e?{topicCount:e.topics_count||0,postCount:e.posts_count||0,memberCount:e.members_count||0,thumbnail:e.thumbnail||"",coverImage:e.cover_image||"",mobileCoverImage:e.mobile_cover_image||"",name:e.name||"",description:e.description||"",slug:e.slug||"",id:e.id||0,joined:Boolean(e.joined),isActive:null===e.is_active||void 0===e.is_active||Boolean(e.is_active),mappedCategoryId:e.mapped_category_id||0,discoverCategory:e.discover_category?{categoryId:e.discover_category.category_id||0,name:e.discover_category.name||""}:null,isHidden:Boolean(e.is_hidden)}:{}},_=function(e){var i,o,n,t;return e?{id:e.id||0,name:e.name||"",image:e.thumbnail||"",slug:e.slug||"",url:"/"+(null===(i=e.community)||void 0===i?void 0:i.slug)+"/"+(null==e?void 0:e.slug)||"",description:e.description||"",joined:e.joined||!1,postCount:e.count_posts||0,memberCount:e.count_members||0,communityId:String(null===(o=e.community)||void 0===o?void 0:o.id),communitySlug:null===(n=e.community)||void 0===n?void 0:n.slug,communityName:null===(t=e.community)||void 0===t?void 0:t.name,order:e.order||0,isActive:null===e.is_active||void 0===e.is_active||Boolean(e.is_active),mappedCategoryId:e.mapped_category_id||0,discoverCategory:e.discover_category?{categoryId:e.discover_category.category_id||0,name:e.discover_category.name||""}:null,isHidden:Boolean(e.is_hidden)}:{}},g=function(e){return e?{answer:null==e?void 0:e.answer.map(w),expert:null==e?void 0:e.expert}:{}},f=function(e){var i,o,n,t,l,r,a,d,u,s,m,v,c,p,_,f,y,w,h,b,k;return e?{id:e.id,topics:(null===(i=e.topics)||void 0===i?void 0:i.map((function(i){var o,n,t,l;return{id:i.id||0,name:i.name||"",slug:i.slug||"",url:"/"+(null===(o=e.community)||void 0===o?void 0:o.slug)+"/"+i.slug,communityId:String(null===(n=e.community)||void 0===n?void 0:n.id),communitySlug:(null===(t=e.community)||void 0===t?void 0:t.slug)||"",communityName:(null===(l=e.community)||void 0===l?void 0:l.name)||"",isHidden:Boolean(i.is_hidden),isActive:!0}})))||[],community:{id:(null===(o=e.community)||void 0===o?void 0:o.id)||0,name:(null===(n=e.community)||void 0===n?void 0:n.name)||"",slug:(null===(t=e.community)||void 0===t?void 0:t.slug)||"",isActive:!0,isHidden:Boolean(null===(l=e.community)||void 0===l?void 0:l.is_hidden)},slug:e.slug||"",author:{id:(null===(r=e.user)||void 0===r?void 0:r.id)||0,username:(null===(a=e.user)||void 0===a?void 0:a.user_name)||"",email:(null===(d=e.user)||void 0===d?void 0:d.email)||"",name:(null===(u=e.user)||void 0===u?void 0:u.name)||"",avatar:(null===(s=e.user)||void 0===s?void 0:s.avatar)||"",role:(null===(m=e.user)||void 0===m?void 0:m.role)?null===(c=null===(v=e.user)||void 0===v?void 0:v.role)||void 0===c?void 0:c.toLowerCase():"",type:(null===(p=e.user)||void 0===p?void 0:p.type)||"",partnerId:(null===(_=e.user)||void 0===_?void 0:_.partner_id)?String(null===(f=e.user)||void 0===f?void 0:f.partner_id):"",title:(null===(y=e.user)||void 0===y?void 0:y.title)||"",doctorId:(null===(w=e.user)||void 0===w?void 0:w.doctor_id)?String(null===(h=e.user)||void 0===h?void 0:h.doctor_id):"",hospitalId:(null===(b=e.user)||void 0===b?void 0:b.hospital_id)?String(null===(k=e.user)||void 0===k?void 0:k.hospital_id):""},previewUrl:{title:e.preview_title||"",url:e.preview_link||"",image:e.preview_image||"",description:e.preview_description||""},createdAt:e.created_at||"",scheduleDateTime:e.schedule_datetime||"",photos:e.images||[],description:e.description||"",commentsCount:e.comments_count||0,likesCount:e.likes_count||0,title:e.name||"",isPin:!!e.is_pin,pinDate:e.pin_date||"",liked:e.liked||!1,bookmarked:Boolean(e.bookmarked)||!1,mentions:e.mentions||[],commented:Boolean(e.commented)||!1,introUrl:e.intro_url||"",bannerImage:e.banner_image||"",isAnonymous:e.is_anonymous?1:0,isAskDoctor:e.is_question?1:0,expertAnswer:g(null==e?void 0:e.expert_answer),createdTime:e.created_time||""}:{}},y=function(e){return e?{disclaimer:e.disclaimer,featuredImage:e.featured_image,info:e.informations||[],reviewedBy:e.reviewed_by?{id:e.reviewed_by.ID,permalink:e.reviewed_by.permalink,name:e.reviewed_by.name,postTitle:e.reviewed_by.post_title}:null,reviewedDate:e.reviewed_date}:{}},w=function(e){var i,o,n,t,l,r,a,d,u,s,m,v,c,p,_,g,f,y,h,b,k,I,C,S,T,x,A,B,P,D,q,N;return e?{content:e.content,countLikes:e.likes_count,countReplies:e.replies_count,createdAt:e.created_at,createdTime:e.created_time,id:String(e.id),images:e.image||[],link:e.link||null,replies:e.replies&&e.replies.length>0?e.replies.map(w):[],author:{id:(null===(i=e.user)||void 0===i?void 0:i.id)||0,username:(null===(o=e.user)||void 0===o?void 0:o.user_name)||"",name:(null===(n=e.user)||void 0===n?void 0:n.name)||"",role:(null===(t=e.user)||void 0===t?void 0:t.role)?null===(r=null===(l=e.user)||void 0===l?void 0:l.role)||void 0===r?void 0:r.toLowerCase():"",avatar:(null===(a=e.user)||void 0===a?void 0:a.avatar)||"",type:(null===(d=e.user)||void 0===d?void 0:d.type)||"",email:(null===(u=e.user)||void 0===u?void 0:u.email)||"",partnerId:(null===(s=e.user)||void 0===s?void 0:s.partner_id)?String(null===(m=e.user)||void 0===m?void 0:m.partner_id):"",title:(null===(v=e.user)||void 0===v?void 0:v.title)||"",doctorId:(null===(c=e.user)||void 0===c?void 0:c.doctor_id)?String(null===(p=e.user)||void 0===p?void 0:p.doctor_id):"",hospitalId:(null===(_=e.user)||void 0===_?void 0:_.hospital_id)?String(null===(g=e.user)||void 0===g?void 0:g.hospital_id):""},liked:!!e.liked,mentionedUser:e.mentioned?{id:(null===(f=e.mentioned)||void 0===f?void 0:f.id)||0,username:(null===(y=e.mentioned)||void 0===y?void 0:y.user_name)||"",name:(null===(h=e.mentioned)||void 0===h?void 0:h.name)||"",role:(null===(b=e.mentioned)||void 0===b?void 0:b.role)?null===(I=null===(k=e.mentioned)||void 0===k?void 0:k.role)||void 0===I?void 0:I.toLowerCase():"",avatar:(null===(C=e.mentioned)||void 0===C?void 0:C.avatar)||"",type:(null===(S=e.mentioned)||void 0===S?void 0:S.type)||"",email:(null===(T=e.mentioned)||void 0===T?void 0:T.email)||"",partnerId:(null===(x=e.mentioned)||void 0===x?void 0:x.partner_id)?String(null===(A=e.mentioned)||void 0===A?void 0:A.partner_id):"",doctorId:(null===(B=e.mentioned)||void 0===B?void 0:B.doctor_id)?String(null===(P=e.mentioned)||void 0===P?void 0:P.doctor_id):"",hospitalId:(null===(D=e.mentioned)||void 0===D?void 0:D.hospital_id)?String(null===(q=e.mentioned)||void 0===q?void 0:q.hospital_id):"",title:(null===(N=e.mentioned)||void 0===N?void 0:N.title)||""}:null,mentions:e.mentions||[]}:{}},h=function(e){return void 0!==e&&e?(null==e?void 0:e.turn_off_profile)?"":(null==e?void 0:e.slug)?["expert","medical"].includes((null==e?void 0:e.role)||"")?"/expert/".concat(null==e?void 0:e.slug):"/author/".concat(null==e?void 0:e.slug):(null==e?void 0:e.profile_url)||(null==e?void 0:e.permalink)||"#":""},b=Object.freeze({__proto__:null,formatAuthor:l,formatArticleExpert:r,formatArticle:a,formatUserProfile:d,formatBMIResult:function(e){var i,o,n,t,l,r,a,d,u;return e&&e.status?{status:null==e?void 0:e.status,comparison:null!==(i=null==e?void 0:e.comparison)&&void 0!==i?i:"",assessmentData:[{tab:"tools.condition",content:null!==(o=null==e?void 0:e.condition)&&void 0!==o?o:""},{tab:"tools.risks",content:null!==(n=null==e?void 0:e.risk)&&void 0!==n?n:""},{tab:"tools.suggestion",content:null!==(t=null==e?void 0:e.suggestion)&&void 0!==t?t:""}],chartData:(null===(l=null==e?void 0:e.chart_data)||void 0===l?void 0:l.length)>0?null==e?void 0:e.chart_data:[],disclaimer:null!==(r=null==e?void 0:e.disclaimer)&&void 0!==r?r:"",illustrator:null!==(a=null==e?void 0:e.illustrator)&&void 0!==a?a:"",faqs:null!==(d=null==e?void 0:e.faqs)&&void 0!==d?d:[],suggestedArticlesLink:null!==(u=null==e?void 0:e.suggested_articles_link)&&void 0!==u?u:""}:{}},formatSponsor:u,formatReviewedCategory:s,formatCategory:m,formatCategoryApi:function(e){return e?{categoryInfo:m(e.data.category)||null,explainersPosts:(e.data.explainers_posts||[]).map(a),subCategories:(e.data.sub_categories||[]).map(m)}:{}},formatFaqsCategory:v,formatHealthTool:c,formatHealthToolTypeCategory:function(e){var i,o;return e?{termId:(null==e?void 0:e.term_id)||0,name:(null==e?void 0:e.name)||"",healthTools:null!==(o=null===(i=null==e?void 0:e.health_tools)||void 0===i?void 0:i.map((function(e){return c(e)})))&&void 0!==o?o:[]}:{}},formatCommunity:p,formatTopic:_,formatExpertAnswer:g,formatPost:f,formatPostPagination:function(e){return e?{currentPage:e.current||0,lastPage:e.last||0,total:e.total_items||0}:{}},formatNotification:function(e){var i,o,n;return e?{time:e.created_at,content:e.content,postId:String(e.post_id),fromUser:{name:null===(i=e.from_user)||void 0===i?void 0:i.name,id:null===(o=e.from_user)||void 0===o?void 0:o.id,avatar:null===(n=e.from_user)||void 0===n?void 0:n.avatar},toUserId:String(e.to_user_id),postSlug:e.post_slug||"",communitySlug:e.community_slug||""}:{}},formatSpotlightsList:function(e){return e?e.map((function(e){return{id:e.ID,name:e.name,permalink:e.permalink,image:(null==e?void 0:e.small_banner)||(null==e?void 0:e.image),imageMedium:(null==e?void 0:e.image_medium)||null,imageThumbnail:(null==e?void 0:e.image_thumbnail)||null,startDate:null==e?void 0:e.start_date,endDate:null==e?void 0:e.end_date}})):[]},formatOvulationInfo:y,formatSuggestedArticle:function(e){return e?{postId:e.post_id||null,categoryId:e.category_id||null,postUrl:e.post_url||null,postReviewed:e.post_reviewed||null,postPageviews:e.post_pageviews||null,postRank:e.post_rank||null,isPin:e.is_pin||null,frequency:e.frequency||null,topic:e.topic||null}:{}},formatTopicHealthTool:function(e){return e?{id:e.tool_id||null,topicFrequency:e.frequency||null,topicId:e.topic_id||null,topicName:e.topic_name||null,isPinned:!!e.is_pin||null,toolLink:e.tool_link||""}:{}},formatComment:w,formatReportedPostToPostDetail:function(e){return e?{name:e.title,description:e.description,images:e.images,likes_count:e.count_likes,comments_count:e.count_comments,topics:[],slug:e.post_slug,id:e.post_id,is_pin:e.is_pin,pin_date:"",post_type:e.post_type,schedule_datetime:e.schedule_datetime,is_active:e.is_active,preview_title:e.preview_title||"",preview_image:e.preview_image||"",preview_description:e.preview_description||"",preview_link:e.preview_link||"",user:e.user,created_at:"",created_time:"",community:{id:e.community_id,name:e.community_name,slug:e.community_slug,description:""}}:{}},formatTopicSubot:function(e){return e?{chatBotId:e.subot_id,isPinned:e.is_pin,topicId:e.topic_id,topicFrequency:e.frequency}:{}},formatSiteWideBanner:function(e,i){return void 0!==e&&e?{content:(null==e?void 0:e.content)||"",icon:(null==e?void 0:e.icon)||"",type:i||"other"}:null},formatPWGContent:function(e){return e?{disclaimer:e.disclaimer,info:e.info||[],reviewedBy:e.reviewed_by?d(e.reviewed_by):null,reviewedDate:e.reviewed_date,metaTag:e.meta_tag}:{}},formatUserProfileUrl:h,formatTHRContent:function(e){return e?{disclaimer:e.disclaimer,info:e.info||[],reviewedBy:e.reviewed_by?d(e.reviewed_by):null,reviewedDate:e.reviewed_date,metaTag:e.meta_tag}:{}},formatBabyGrowthContent:function(e){var i,o,n;return e&&e.information?{information:null!==(i=e.information.map((function(e){return{title:e.title,description:e.description}})))&&void 0!==i?i:[],reviewBy:{reviewer:(null===(o=e.reviewed_by)||void 0===o?void 0:o.display_name)||(null===(n=e.reviewed_by)||void 0===n?void 0:n.name)||"",date:e.reviewed_date||"",link:h(null==e?void 0:e.reviewed_by)},metaTag:e.meta_tag||"",title:e.title||"",description:e.description||"",disclaimer:e.disclaimer||"",is_sponsored:e.is_sponsored||!1,sponsor:e.sponsor,featuredImage:e.featured_image||""}:{}}});export{t as P,y as a,p as b,f as c,b as d,_ as e,h as f,w as g,a as h};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{c as t,d as n}from"./tslib.es6-cdf3fe1c.js";import{g as e}from"./core-8c140564.js";import{n as r}from"./normalizeLink-dd77331b.js";import{c as i}from"./routing-77a603de.js";var o=function(t,n){var e,r;if(!t)return{};var i="tl-PH"===n?"/fil":"";return{id:t.id,isSubot:t.is_subot,template:t.template,icon:t.icon,link:(null===(e=t.link)||void 0===e?void 0:e.startsWith("http"))?t.link:"".concat(i,"/health-tools")+(null===(r=t.link)||void 0===r?void 0:r.replace("".concat(i,"/"),"/")),subtitle:t.subtitle,title:t.title}},s=function(e){return t(void 0,void 0,void 0,(function(){var t,s,l,a,u,c,d;return n(this,(function(n){switch(n.label){case 0:return n.trys.push([0,8,,9]),"undefined"==typeof window?[3,1]:(t=window.fetch,[3,3]);case 1:return[4,require("node-fetch")];case 2:t=n.sent(),n.label=3;case 3:s="tl-PH"===e?"lang=fil":"",l=[],n.label=4;case 4:return n.trys.push([4,6,,7]),[4,t(r("".concat(i(e),"/wp-json/api/healthtools?ismenu=0").concat(s?"&"+s:""))).then((function(t){return t.json()}))];case 5:return a=n.sent(),l=(null===(d=null===(c=null==a?void 0:a.data)||void 0===c?void 0:c.map)||void 0===d?void 0:d.call(c,(function(t){return o(t,e)})))||[],[3,7];case 6:return n.sent(),[3,7];case 7:return[2,l];case 8:return u=n.sent(),console.error(u),[3,9];case 9:return[2]}}))}))},l=function(r){return t(void 0,void 0,void 0,(function(){return n(this,(function(t){switch(t.label){case 0:return[4,e("all-health-tools",(function(){return s(r||"en-PH")}),(function(t){return!!(null==t?void 0:t.length)}),6e4)];case 1:return[2,t.sent()||[]]}}))}))};export{l as a,o as f,s as g};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import e from"react";import{L as t}from"./Locale-073a2db2.js";import{CommonGAssets as C}from"./gAssets.js";var l=function(l){return[{icon:e.createElement("svg",{width:"33",height:"32",viewBox:"0 0 33 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M27.5 0H5.5C2.73858 0 0.5 2.23858 0.5 5V27C0.5 29.7614 2.73858 32 5.5 32H27.5C30.2614 32 32.5 29.7614 32.5 27V5C32.5 2.23858 30.2614 0 27.5 0Z",fill:"#1778F2"}),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20.814 32V19.499H24.069L24.5 15.19H20.814L20.82 13.034C20.82 11.911 20.92 11.309 22.443 11.309H24.477V7H21.222C17.312 7 15.937 9.09 15.937 12.604V15.191H13.5V19.499H15.937V32H20.814Z",fill:"white"})),name:"Facebook",href:"https://www.facebook.com/sharer/sharer.php?u=".concat(l)},{icon:e.createElement("img",{src:C.getAssetPath("zalo-mini.png"),alt:"Zalo",style:{width:32,height:32}}),name:"Zalo",href:"https://sp.zalo.me/share?href=".concat(l),allowedLocales:[t.Vietnam]},{icon:e.createElement("svg",{width:"33",height:"32",viewBox:"0 0 33 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("rect",{x:"0.5",width:"32",height:"32",rx:"4",fill:"#1FA1F3"}),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.2304 13.2349L16.2708 13.8692L15.5964 13.7916C13.1417 13.4938 10.9972 12.484 9.17631 10.788L8.2861 9.94646L8.05683 10.5679C7.57124 11.9532 7.88149 13.4161 8.89305 14.4001C9.43257 14.9438 9.31116 15.0215 8.38052 14.6978C8.05683 14.5943 7.77357 14.5166 7.74658 14.5554C7.65216 14.646 7.97591 15.8241 8.23218 16.2902C8.58286 16.9376 9.29766 17.5719 10.08 17.9474L10.7409 18.2452L9.9586 18.2581C9.20324 18.2581 9.17631 18.271 9.25723 18.5429C9.52699 19.3844 10.5925 20.2777 11.7794 20.6661L12.6157 20.938L11.8873 21.3523C10.8083 21.9478 9.54049 22.2844 8.2726 22.3103C7.66566 22.3232 7.16663 22.375 7.16663 22.4139C7.16663 22.5433 8.81213 23.2684 9.76976 23.5531C12.6427 24.3947 16.055 24.0322 18.6177 22.5951C20.4385 21.5724 22.2593 19.5398 23.1091 17.5719C23.5677 16.5232 24.0263 14.6072 24.0263 13.688C24.0263 13.0925 24.0667 13.0148 24.822 12.3027C25.2671 11.8885 25.6853 11.4353 25.7662 11.3059C25.901 11.0598 25.8875 11.0598 25.1997 11.28C24.0532 11.6683 23.8913 11.6166 24.4579 11.034C24.876 10.6197 25.375 9.86879 25.375 9.64873C25.375 9.60987 25.1727 9.67458 24.9434 9.79112C24.7006 9.92061 24.1611 10.1148 23.7565 10.2313L23.0281 10.4514L22.3673 10.0241C22.0031 9.79112 21.4905 9.53219 21.2208 9.45452C20.5329 9.27327 19.4809 9.29918 18.8605 9.50628C17.1745 10.0889 16.1089 11.5907 16.2304 13.2349Z",fill:"white"})),name:"Twitter",href:"https://twitter.com/intent/tweet?url=".concat(l)},{icon:e.createElement("svg",{width:"33",height:"32",viewBox:"0 0 33 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("g",{clipPath:"url(#clip0_687_88944)"},e.createElement("path",{d:"M29.5309 0H3.46909C1.82931 0 0.5 1.32931 0.5 2.96909V29.0309C0.5 30.6707 1.82931 32 3.46909 32H29.5309C31.1707 32 32.5 30.6707 32.5 29.0309V2.96909C32.5 1.32931 31.1707 0 29.5309 0Z",fill:"url(#paint0_linear_687_88944)"}),e.createElement("path",{d:"M23.5545 8.94548C21.8898 7.2642 19.6792 6.23313 17.3212 6.03825C14.9633 5.84336 12.6134 6.49749 10.6953 7.88265C8.77715 9.2678 7.41716 11.2928 6.86059 13.5924C6.30403 15.8919 6.58753 18.3147 7.65997 20.4237L6.60724 25.5346C6.59632 25.5854 6.59601 25.638 6.60633 25.689C6.61665 25.74 6.63739 25.7883 6.66724 25.8309C6.71097 25.8956 6.77338 25.9454 6.84616 25.9737C6.91893 26.0019 6.99859 26.0073 7.07451 25.9891L12.0836 24.8018C14.1866 25.8471 16.5923 26.1124 18.8725 25.5505C21.1528 24.9885 23.1597 23.6358 24.5362 21.7331C25.9128 19.8303 26.5696 17.5009 26.3898 15.1593C26.21 12.8177 25.2053 10.6158 23.5545 8.94548ZM21.9927 21.4109C20.8409 22.5595 19.3578 23.3176 17.7523 23.5786C16.1468 23.8395 14.4998 23.5901 13.0436 22.8655L12.3454 22.52L9.27451 23.2473L9.2836 23.2091L9.91997 20.1182L9.57815 19.4437C8.83408 17.9823 8.57159 16.323 8.82831 14.7034C9.08502 13.0837 9.84775 11.5869 11.0072 10.4273C12.4642 8.97083 14.4399 8.15263 16.5 8.15263C18.56 8.15263 20.5358 8.97083 21.9927 10.4273C22.0051 10.4415 22.0185 10.4549 22.0327 10.4673C23.4716 11.9275 24.2748 13.8974 24.2673 15.9474C24.2598 17.9974 23.4422 19.9613 21.9927 21.4109Z",fill:"white"}),e.createElement("path",{d:"M21.7199 19.1436C21.3436 19.7364 20.749 20.4618 20.0017 20.6418C18.6926 20.9582 16.6836 20.6527 14.1836 18.3218L14.1526 18.2946C11.9545 16.2564 11.3836 14.56 11.5217 13.2146C11.5981 12.4509 12.2345 11.76 12.7708 11.3091C12.8556 11.2367 12.9562 11.1852 13.0645 11.1586C13.1727 11.1321 13.2857 11.1312 13.3944 11.1561C13.503 11.181 13.6044 11.231 13.6903 11.3021C13.7761 11.3732 13.8442 11.4634 13.889 11.5655L14.6981 13.3836C14.7507 13.5015 14.7702 13.6315 14.7545 13.7596C14.7388 13.8878 14.6885 14.0092 14.609 14.1109L14.1999 14.6418C14.1121 14.7515 14.0592 14.8848 14.0478 15.0248C14.0365 15.1648 14.0673 15.305 14.1363 15.4273C14.3654 15.8291 14.9145 16.42 15.5236 16.9673C16.2072 17.5855 16.9654 18.1509 17.4454 18.3436C17.5738 18.3961 17.715 18.4089 17.8508 18.3804C17.9866 18.3519 18.1107 18.2834 18.2072 18.1836L18.6817 17.7055C18.7733 17.6152 18.8872 17.5508 19.0117 17.5188C19.1363 17.4869 19.2671 17.4886 19.3908 17.5236L21.3126 18.0691C21.4187 18.1016 21.5158 18.158 21.5967 18.2338C21.6776 18.3096 21.7401 18.4029 21.7794 18.5066C21.8187 18.6103 21.8338 18.7216 21.8235 18.832C21.8132 18.9424 21.7777 19.049 21.7199 19.1436Z",fill:"white"})),e.createElement("defs",null,e.createElement("linearGradient",{id:"paint0_linear_687_88944",x1:"16.5",y1:"0.130909",x2:"16.5",y2:"30.4509",gradientUnits:"userSpaceOnUse"},e.createElement("stop",{stopColor:"#36F46C"}),e.createElement("stop",{offset:"1",stopColor:"#03D749"})),e.createElement("clipPath",{id:"clip0_687_88944"},e.createElement("rect",{width:"32",height:"32",fill:"white",transform:"translate(0.5)"})))),name:"WhatsApp",href:"https://wa.me/?text=".concat(l)},{icon:e.createElement("svg",{width:"33",height:"32",viewBox:"0 0 33 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("rect",{x:"0.5",width:"32",height:"32",rx:"4",fill:"#0077B5"}),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.3571 9.07077C11.3349 7.97643 10.6126 7.14288 9.43969 7.14288C8.26679 7.14288 7.5 7.97643 7.5 9.07077C7.5 10.1425 8.24415 11 9.39516 11H9.4171C10.6126 11 11.3571 10.1425 11.3571 9.07077ZM11.3571 12.286H7.5V23.8574H11.3571V12.286ZM20.651 12.286C23.4224 12.286 25.5 13.9022 25.5 17.3748L25.4999 23.8571H21.2885V17.8086C21.2885 16.2894 20.6791 15.2526 19.1545 15.2526C17.991 15.2526 17.2979 15.9515 16.9935 16.6265C16.8822 16.8685 16.8548 17.2056 16.8548 17.5435V23.8574H12.6429C12.6429 23.8574 12.6984 13.6127 12.6429 12.5518H16.8548V14.1531C17.4138 13.3834 18.415 12.286 20.651 12.286Z",fill:"white"})),name:"LinkedIn",href:"https://www.linkedin.com/sharing/share-offsite/?url=".concat(l)},{icon:e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32px",height:"32px",viewBox:"0 0 32 32",version:"1.1"},e.createElement("g",{id:"surface1"},e.createElement("path",{fill:"#00cf2e",d:"M 26.398438 32 L 5.601562 32 C 2.507812 32 0 29.492188 0 26.398438 L 0 5.601562 C 0 2.507812 2.507812 0 5.601562 0 L 26.398438 0 C 29.492188 0 32 2.507812 32 5.601562 L 32 26.398438 C 32 29.492188 29.492188 32 26.398438 32 Z M 26.398438 32 "}),e.createElement("path",{fill:"#fff",d:"M 28.199219 14.199219 C 28.199219 9.800781 23 5 16.199219 5 C 9.574219 5 4.199219 8.898438 4.199219 14.199219 C 4.199219 19.089844 8.390625 23.128906 14.285156 23.726562 C 14.648438 23.753906 14.980469 23.949219 15.179688 24.253906 C 15.320312 24.476562 15.398438 24.734375 15.398438 25 C 15.386719 25.542969 15.324219 26.082031 15.21875 26.613281 C 15.1875 26.761719 15.238281 26.914062 15.355469 27.011719 C 15.472656 27.109375 15.632812 27.128906 15.769531 27.070312 C 18.59375 25.820312 28.199219 20.679688 28.199219 14.199219 Z M 28.199219 14.199219 "}),e.createElement("path",{fill:"#00cf2e",d:"M 11.800781 16.398438 L 10 16.398438 L 10 12.199219 C 10 11.867188 9.730469 11.601562 9.398438 11.601562 C 9.070312 11.601562 8.800781 11.867188 8.800781 12.199219 L 8.800781 17 C 8.800781 17.332031 9.070312 17.601562 9.398438 17.601562 L 11.800781 17.601562 C 12.132812 17.601562 12.398438 17.332031 12.398438 17 C 12.398438 16.667969 12.132812 16.398438 11.800781 16.398438 Z M 11.800781 16.398438 "}),e.createElement("path",{fill:"#00cf2e",d:"M 13.398438 11.601562 C 13.070312 11.601562 12.800781 11.867188 12.800781 12.199219 L 12.800781 17 C 12.800781 17.332031 13.070312 17.601562 13.398438 17.601562 C 13.730469 17.601562 14 17.332031 14 17 L 14 12.199219 C 14 11.867188 13.730469 11.601562 13.398438 11.601562 Z M 13.398438 11.601562 "}),e.createElement("path",{fill:"#00cf2e",d:"M 19 11.601562 C 18.667969 11.601562 18.398438 11.867188 18.398438 12.199219 L 18.398438 15.199219 L 15.898438 11.839844 C 15.746094 11.632812 15.476562 11.550781 15.230469 11.628906 C 14.984375 11.710938 14.820312 11.941406 14.820312 12.199219 L 14.820312 17 C 14.871094 17.285156 15.121094 17.492188 15.410156 17.492188 C 15.699219 17.492188 15.949219 17.285156 16 17 L 16 14 L 18.5 17.359375 C 18.617188 17.515625 18.804688 17.605469 19 17.601562 C 19.066406 17.601562 19.128906 17.589844 19.191406 17.570312 C 19.433594 17.488281 19.601562 17.257812 19.601562 17 L 19.601562 12.199219 C 19.601562 11.867188 19.332031 11.601562 19 11.601562 Z M 19 11.601562 "}),e.createElement("path",{fill:"#00cf2e",d:"M 23.398438 15.199219 C 23.730469 15.199219 24 14.929688 24 14.601562 C 24 14.269531 23.730469 14 23.398438 14 L 21.601562 14 L 21.601562 12.800781 L 23.398438 12.800781 C 23.730469 12.800781 24 12.53125 24 12.199219 C 24 11.867188 23.730469 11.601562 23.398438 11.601562 L 21 11.601562 C 20.667969 11.601562 20.398438 11.867188 20.398438 12.199219 L 20.398438 17 C 20.398438 17.332031 20.667969 17.601562 21 17.601562 L 23.398438 17.601562 C 23.730469 17.601562 24 17.332031 24 17 C 24 16.667969 23.730469 16.398438 23.398438 16.398438 L 21.601562 16.398438 L 21.601562 15.199219 Z M 23.398438 15.199219 "}))),name:"Line",href:"http://line.me/R/msg/text/?".concat(l),allowedLocales:[t.Taiwan]}]};export{l as g};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{e,_ as t,b as n,f as a,c as r,d as l}from"./tslib.es6-cdf3fe1c.js";import*as i from"react";import o,{Component as c,useEffect as m,forwardRef as h,useRef as d,useState as s,useCallback as u,useImperativeHandle as p}from"react";import{Image as f,Textarea as v,Modal as g,Accordion as E,Indicator as z,Avatar as w,Checkbox as M,Radio as x,Flex as y}from"@mantine/core";import{CommonGAssets as b}from"./gAssets.js";import{DatePicker as k,DateRangePicker as H}from"@mantine/dates";import C,{css as j}from"styled-components";import P from"dayjs";import"./screenSizeContext-1ad3b13f.js";import{t as S}from"./theme-6269934e.js";import{I as L,s as A}from"./index-e643346e.js";import"./utils-3c60234f.js";import"./isProduction-d1f89e20.js";import{L as I}from"./Locale-073a2db2.js";import{Carousel as D}from"@mantine/carousel";import{c as B}from"./index-ad90c54c.js";var N,R,V,T,W=C(k)(R||(R=e(["\n position: relative;\n ","\n"],["\n position: relative;\n ","\n"])),(function(t){return t.fullWidth&&j(N||(N=e(["\n .mantine-DatePicker-dropdown {\n min-width: 100%;\n display: flex;\n justify-content: center;\n align-items: center;\n }\n "],["\n .mantine-DatePicker-dropdown {\n min-width: 100%;\n display: flex;\n justify-content: center;\n align-items: center;\n }\n "])))})),F=C(H)(T||(T=e(["\n position: relative;\n ","\n"],["\n position: relative;\n ","\n"])),(function(t){return t.fullWidth&&j(V||(V=e(["\n .mantine-DateRangePicker-dropdown {\n min-width: 100%;\n display: flex;\n justify-content: center;\n align-items: center;\n }\n "],["\n .mantine-DateRangePicker-dropdown {\n min-width: 100%;\n display: flex;\n justify-content: center;\n align-items: center;\n }\n "])))})),O=function(e){return o.createElement(W,t({size:"md",clearable:!1,fullWidth:!0,styles:{rightSection:{pointerEvents:"none",cursor:"default"}},rightSection:o.createElement(f,{src:b.getAssetPath("OutlineCalendar.svg"),width:16,height:16})},e))};O.Range=function(e){return o.createElement(F,t({size:"md",clearable:!1,fullWidth:!0,styles:{rightSection:{pointerEvents:"none",cursor:"default"}},rightSection:o.createElement(f,{src:b.getAssetPath("OutlineCalendar.svg"),width:16,height:16})},e))};var U,G,X,Y=C(v)(U||(U=e(["\n .mantine-Textarea-input {\n padding: 12px 16px;\n background: #ffffff;\n border: 1px solid ",";\n border-radius: 4px;\n }\n"],["\n .mantine-Textarea-input {\n padding: 12px 16px;\n background: #ffffff;\n border: 1px solid ",";\n border-radius: 4px;\n }\n"])),S.colors.gray200),K=C(g)(G||(G=e(["\n .mantine-Modal-modal {\n padding: 0;\n }\n .mantine-Modal-header {\n border-bottom: 1px solid ",";\n margin-right: 0;\n margin-bottom: 0;\n padding: 16px;\n }\n .mantine-Modal-title {\n width: 100%;\n display: flex;\n align-items: center;\n justify-content: space-between;\n margin-right: 0;\n }\n .mantine-Modal-close {\n cursor: pointer;\n width: 24px;\n height: 24px;\n }\n"],["\n .mantine-Modal-modal {\n padding: 0;\n }\n .mantine-Modal-header {\n border-bottom: 1px solid ",";\n margin-right: 0;\n margin-bottom: 0;\n padding: 16px;\n }\n .mantine-Modal-title {\n width: 100%;\n display: flex;\n align-items: center;\n justify-content: space-between;\n margin-right: 0;\n }\n .mantine-Modal-close {\n cursor: pointer;\n width: 24px;\n height: 24px;\n }\n"])),S.colors.neutral100),Z=C(E)(X||(X=e(["\n .mantine-Accordion-control {\n &:hover {\n background-color: transparent;\n }\n }\n .mantine-Accordion-item {\n .mantine-Accordion-chevron {\n > div {\n background-repeat: no-repeat;\n width: 16px;\n height: 16px;\n background-position: center;\n background-image: url(",");\n }\n }\n &[data-active='true'] {\n .mantine-Accordion-chevron {\n > div {\n background-image: url(",");\n }\n }\n }\n }\n .mantine-Accordion-panel {\n border-radius: 6px;\n }\n .mantine-Accordion-content {\n white-space: pre-wrap;\n }\n"],["\n .mantine-Accordion-control {\n &:hover {\n background-color: transparent;\n }\n }\n .mantine-Accordion-item {\n .mantine-Accordion-chevron {\n > div {\n background-repeat: no-repeat;\n width: 16px;\n height: 16px;\n background-position: center;\n background-image: url(",");\n }\n }\n &[data-active='true'] {\n .mantine-Accordion-chevron {\n > div {\n background-image: url(",");\n }\n }\n }\n }\n .mantine-Accordion-panel {\n border-radius: 6px;\n }\n .mantine-Accordion-content {\n white-space: pre-wrap;\n }\n"])),(function(e){return e.closeChevron||b.getAssetPath("plus-icon.svg")}),(function(e){return e.openChevron||b.getAssetPath("minus-icon.svg")})),_=function(e){var a=e.children,r=n(e,["children"]);return o.createElement(Z,t({chevron:o.createElement("div",null),disableChevronRotation:!0,transitionDuration:300},r),a)};_.Control=E.Control,_.Item=E.Item,_.Panel=E.Panel;var Q=b.getAssetPath("avatar.jpg"),q=function(e){var a=e.withIndicator,r=void 0!==a&&a,l=e.indicatorConfig,i=void 0===l?null:l,c=e.size,m=void 0===c?56:c,h=e.children,d=e.styles,s=n(e,["withIndicator","indicatorConfig","size","children","styles"]),u=function(){return o.createElement(w,t({size:m,radius:"xl"},s,{imageProps:t({loading:"lazy"},s.imageProps)}),h||o.createElement("img",{loading:"lazy",src:Q,width:m}))};return r?o.createElement(z,t({inline:!0,position:"bottom-end",offset:9},i,{styles:t({indicator:{backgroundColor:o.isValidElement(i.label)&&"transparent",zIndex:1}},d)}),u()):u()},J=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={hasError:!1},t}return a(t,e),t.getDerivedStateFromError=function(){return{hasError:!0}},t.prototype.componentDidCatch=function(e,t){console.error("Uncaught error:",e,t)},t.prototype.render=function(){return this.state.hasError?this.props.fallback||o.createElement(o.Fragment,null):this.props.children},t}(c),$=function(e){var a=e.slidesToShow,r=void 0===a?1:a,l=e.children,i=n(e,["slidesToShow","children"]);return(Array.isArray(l)?l.length:1)?o.createElement(J,null,o.createElement(D,t({slideSize:String(Math.floor(1/r*100))+"%",containScroll:"trimSnaps"},i),l)):null};$.Slide=D.Slide;var ee=function(e){return o.createElement(M,t({},e))};ee.Group=M.Group;var te,ne,ae,re=C(x)(te||(te=e(["\n .mantine-Radio-icon {\n color: ",";\n }\n"],["\n .mantine-Radio-icon {\n color: ",";\n }\n"])),(function(e){return e.color||S.colors.primaryBase})),le=function(e){return o.createElement(re,t({size:"sm"},e))};le.Group=x.Group;var ie=((ne={})[I.Vietnam]="vi",ne[I.Cambodia]="km",ne[I.India]="hi",ne[I.Indonesia]="id",ne[I.Malaysia]="ms",ne[I.Thailand]="th",ne[I.Taiwan]="zh-tw",ne[I.PhilippinesTagalog]="tl-ph",ne[I.PhilippinesEnglish]="en",ne[I.Myanmar]="my",ne),oe=((ae={})[I.Vietnam]=function(){return import("dayjs/locale/vi.js")},ae[I.Cambodia]=function(){return import("dayjs/locale/km.js")},ae[I.India]=function(){return import("dayjs/locale/hi.js")},ae[I.Indonesia]=function(){return import("dayjs/locale/id.js")},ae[I.Malaysia]=function(){return import("dayjs/locale/ms.js")},ae[I.Thailand]=function(){return import("dayjs/locale/th.js")},ae[I.Taiwan]=function(){return import("dayjs/locale/zh-tw.js")},ae[I.PhilippinesTagalog]=function(){return import("dayjs/locale/tl-ph.js")},ae[I.PhilippinesEnglish]=function(){return import("dayjs/locale/en.js")},ae[I.Myanmar]=function(){return import("dayjs/locale/my.js")},ae),ce=function(e){m((function(){var t;null===(t=oe[e])||void 0===t||t.call(oe),P.locale(ie[e])}),[e])},me={"&:hover":{borderColor:"".concat(S.colors.blue200),boxShadow:"0 0 2px 2px ".concat(S.colors.blue200)}},he=function(e){return{datesLocale:ie[e],dateFormat:L[e].dateFormat,fontFamily:e===I.Cambodia?"Battambang,":"Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI',\n Oxygen, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif",components:{InputWrapper:{styles:{label:{marginBottom:"0.375rem"},error:{marginTop:"0.375rem"}}},NumberInput:{defaultProps:{decimalSeparator:L[e].separator}},Input:{styles:{input:{borderRadius:"6px",transition:"all ".concat("100ms"," ease-in-out"),"&:hover, &:focus":{borderColor:"".concat(S.colors.blue200),boxShadow:"0 0 2px 2px ".concat(S.colors.blue200)}},invalid:{color:"#000"}}},Checkbox:{styles:{input:me}},Radio:{styles:{radio:t(t({backgroundColor:"#ffffff"},me),{"&:checked":{backgroundColor:"#ffffff"}})}}}}},de=B((function(e){!function(){var t={}.hasOwnProperty;function n(){for(var e=[],a=0;a<arguments.length;a++){var r=arguments[a];if(r){var l=typeof r;if("string"===l||"number"===l)e.push(r);else if(Array.isArray(r)){if(r.length){var i=n.apply(null,r);i&&e.push(i)}}else if("object"===l){if(r.toString!==Object.prototype.toString&&!r.toString.toString().includes("[native code]")){e.push(r.toString());continue}for(var o in r)t.call(r,o)&&r[o]&&e.push(o)}}}return e.join(" ")}e.exports?(n.default=n,e.exports=n):window.classNames=n}()}));function se(e,t){void 0===t&&(t=6);var n=new Array(t).fill("");if(e){var a=e.toString().split("");n.map((function(e,t){a[t]&&(n[t]=a[t]||"")}))}return n}function ue(e){return e.join("")}var pe="_2iQs0sk",fe="Ia6IojY",ve=h((function(e,a){var r=e.maxLength,l=void 0===r?1:r,i=e.placeholder,c=e.className,m=n(e,["maxLength","placeholder","className"]);return o.createElement("input",t({maxLength:l,className:de(fe,"otpInput",c),placeholder:i,type:"number"},m,{ref:a}))})),ge=h((function(e,t){var n=e.valueLength,a=void 0===n?6:n,r=e.type,l=void 0===r?"number":r,i=e.value,c=e.defaultValue,h=e.onChange,f=e.onBlur,v=d(new Array(a).fill(null)),g=s(c||i),E=g[0],z=g[1],w=s(-1),M=w[0],x=w[1],b=s((function(){return se(E,a)})),k=b[0],H=b[1],C=u((function(){if(-1!==M){var e=v.current[M];if(e){e.value="";var t=k;t[M]="",H(t),z((function(){return ue(t)})),null==h||h(ue(t))}}}),[M,h,k]),j=u((function(){if(0!==M){var e=v.current[M];e&&e.blur();var t=v.current[M-1];t&&t.focus()}}),[M]),P=u((function(){if(M!==a-1){var e=v.current[M];e&&e.blur();var t=v.current[M+1];t&&t.focus()}}),[M,a]),S=u((function(e){var t=e.target,n=t.value.toString().slice(0,1),a=v.current.findIndex((function(e){return e===t}));if(-1!==a){var r=k;r[a]=n,H(r),z((function(){return ue(r)})),null==h||h(ue(r))}P()}),[P,h,k]),L=u((function(e){var t=e.target,n=v.current.findIndex((function(e){return e===t}));"number"===l?t.select():t.setSelectionRange(0,t.value.length,"backward"),-1!==n&&x(n)}),[]),A=u((function(e){var t=se(e.clipboardData.getData("text/plain"),a),n=ue(t);H(t),z(n),null==h||h(n)}),[h,l,a]),I=u((function(e){8===e.keyCode||"Backspace"===e.key?(e.preventDefault(),C(),j()):46===e.keyCode||"Delete"===e.key?(e.preventDefault(),C()):37===e.keyCode||"ArrowLeft"===e.key?(e.preventDefault(),j()):39===e.keyCode||"ArrowRight"===e.key?(e.preventDefault(),P()):32!==e.keyCode&&" "!==e.key&&"Spacebar"!==e.key&&"Space"!==e.key||e.preventDefault()}),[C,P,j]);return p(t,(function(){return v.current[0]}),[]),m((function(){H((function(){return se(i,a)})),z(i)}),[a,i]),o.createElement(y,{justify:"center",columnGap:8,className:de(pe,"otpContainer")},k.map((function(e,t){return o.createElement(ve,{ref:function(e){v.current[t]=e},key:""+t,value:e,type:l,onChange:S,onFocus:L,onKeyDown:I,onPaste:A,onBlur:f})})))})),Ee=function(e){return i.createElement("svg",t({width:"1em",height:"1em",viewBox:"0 0 8 5",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"},e),i.createElement("path",{d:"M4 5L0.535898 0.5L7.4641 0.5L4 5Z"}))},ze=function(e){return i.createElement("svg",t({xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",id:"flag-icons-kh",viewBox:"0 0 640 480",width:"1em",height:"1em"},e),i.createElement("path",{fill:"#032ea1",d:"M0 0h640v480H0z"}),i.createElement("path",{fill:"#e00025",d:"M0 120h640v240H0z"}),i.createElement("g",{fill:"#fff",stroke:"#000",transform:"matrix(1.2 0 0 1.2 85.6 -522)"},i.createElement("g",{strokeLinejoin:"bevel"},i.createElement("path",{d:"M139 623.5h113.8v43.8H139z"}),i.createElement("path",{d:"M247 647.6h3.5v16.5H247zm-108-8.1h113.8v5H139zm0-7h113.8v4.6H139z"}),i.createElement("path",{strokeWidth:.9,d:"M139 625.7h113.8v4.3H139z"}),i.createElement("path",{d:"M169 647.6h3.6v16.5H169zm49 0h3.6v16.5H218zm-78 0h3.5v16.5H140zm7 0h3.5v16.5H147zm7.5 0h3.5v16.5h-3.5zm7.5 0h3.5v16.5H162zm62.8 0h3.6v16.5h-3.6zm7.5 0h3.6v16.5h-3.6zm7.5 0h3.6v16.5h-3.6z"}),i.createElement("path",{strokeLinejoin:"miter",d:"M94.5 669.5a9.3 9.3 0 0 0 4.4-5.3H292a9.3 9.3 0 0 0 4.4 5.3z"})),i.createElement("path",{d:"M193 556.8s-.1-4.1 2.3-4.2c2.3 0 2.2 4.2 2.2 4.2zm-12.5 54.5v-5.5c0-2.8-2.8-3-2.8-5 0 0-.4-3 .4-4.4 1.1 4 3 3.3 3 1.6 0-1.4-1-2.8-3.3-6.3-.8-1.1-.3-4.6.7-5.9.4 3 .9 4.5 2.2 4.5.8 0 1.4-.5 1.4-2 0-2-1.3-3-2-4.8a5 5 0 0 1 1.1-5.3c.5 3 .4 4.2 1.7 4.2 2.7-.9 0-4.8-.6-5.8-.6-1.1 1-3.4 1-3.4.8 2.7 1 2.9 2 2.6 1.2-.3 1-2-.4-3.4-.9-1-.8-2.3.2-3.3 1 1.9 2.2 1.8 2.3.6l-.8-4.4H204l-.9 4.3c-.2 1.2 1.4 1.5 2.4-.5 1 1 1.1 2.4.2 3.3-1.4 1.4-1.6 3.1-.4 3.4 1 .3 1.2 0 2-2.6 0 0 1.5 1.5 1 3.4-.6 1-3.3 5-.6 5.8 1.3 0 1.2-1.2 1.7-4.2a5 5 0 0 1 1 5.3c-.6 1.8-2 2.8-2 4.8 0 1.5.7 2 1.5 2 1.3 0 1.8-1.4 2.2-4.5 1 1.3 1.5 4.8.7 6-2.3 3.4-3.4 4.8-3.4 6.2 0 1.7 2 2.4 3-1.6.9 1.4.5 4.4.5 4.4 0 2-2.7 2.2-2.8 5v5.5zm7.2-46-.4-3.1h15.9l-.4 3.1zm1-3.2-.2-2.5H202l-.3 2.5zm2.3-2.6-.3-2.6h9l-.1 2.6zm33 110c-2-.7-5-2.9-5-5v-24.3l2.6-3.4H169l2.5 3.4v24.3c0 2.1-2 4.3-4 5z"}),i.createElement("path",{strokeLinejoin:"bevel",d:"M178.2 647.6h3.6v16.5h-3.6zm30.4 0h3.6v16.5h-3.6z"}),i.createElement("path",{d:"M168 609.2v27.6h54v-27.6a4.2 4.2 0 0 0-2.6 2.8v11.8h-48.7V612s-.6-2-2.8-2.8z"}),i.createElement("path",{d:"M214.6 669.5c-1.8-.7-5.6-2.9-5.6-5v-27.2c.4-1.5 2.4-2.4 3.7-3.4H177c1.7 1 3.6 1.7 4.3 3.4v27.2c0 2.1-3 4.3-4.8 5z"}),i.createElement("path",{d:"M219.4 634.2v-19.6h-4.9v-1.9h-38.8v2h-5v19.5zM207 669.5c-1.8-.7-4.3-2.9-4.3-5v-23.2l1.4-2.1h-17.7l1.5 2v23.3c0 2.1-2.6 4.3-4.3 5z"}),i.createElement("path",{d:"M190.7 639.2h9v30.3h-9z"}),i.createElement("path",{strokeLinejoin:"bevel",d:"M204.4 632.5c0-2 5.8-2.1 8.8-3.8h-36c3 1.7 8.7 1.8 8.7 3.8l1.2 3.9 15 .6z"}),i.createElement("path",{d:"M211.4 611.3c0-4.9.2-6.7 1.7-6.7V620c-3.7 1.4-6.3 6-6.3 6h-23.2s-2.6-4.6-6.3-6v-15.5c1.8 0 1.8 2 1.8 6.7zm1.7-2c0-5.6 4.9-6.2 4.9-6.2v5c-1.9-.1-2.8 1.6-2.8 4 0 2.5 1.5 2.5 1.5 2.5v14.2h-3.6z"}),i.createElement("path",{d:"M177.3 609.3c0-5.6-4.9-6.2-4.9-6.2v5c1.9-.1 2.8 1.6 2.8 4 0 2.5-1.5 2.5-1.5 2.5v14.2h3.6z"}),i.createElement("g",{fill:"none",strokeWidth:.8},i.createElement("path",{d:"M186.8 570.6H204m-19.2 5.4h21m-23 6.5h24.9m-27 7.9h29.5m-30.2 9h30.4"}),i.createElement("path",{strokeWidth:1,d:"M170.8 629h48.6m-33.2 0h18v6.6h-18z"})),i.createElement("path",{d:"M184 614.2c3 3.6 2.6 9.7 2.6 13.3H204c0-3.6-.4-9.7 2.6-13.3zm9.7-41-2.4-1.3v-3.5c1 .3 2 .4 2.2 2 .3-2.3 1-2.1 1.9-3 1 .9 1.5.7 1.9 3 0-1.6 1.2-1.7 2.1-2v3.5l-2.3 1.2z"}),i.createElement("path",{d:"m193.5 578.9-4-2.8V573c1.5.3 3 .5 3.2 2.2.4-2.5 1.3-3.7 2.7-4.7 1.3 1 2.2 2.2 2.7 4.7.1-1.7 1.7-1.9 3-2.2v3.2l-3.9 2.7z"}),i.createElement("path",{d:"m193.2 587.8-4.5-4v-4.7c1.6.4 3.4.6 3.6 3.1.5-3.5 1.5-5.4 3-6.8 1.6 1.4 2.6 3.3 3.2 6.8.2-2.5 2-2.7 3.6-3.1v4.7l-4.6 4zm8.4 5.3-4 5.7h-4.7l-4.1-5.7zm-15.2 9.5c2 1.1 2.8 3.4 3 7.6H201c.2-4.2 1-6.5 3-7.6z"}),i.createElement("path",{strokeLinejoin:"bevel",d:"M204.2 593v-5.6a5.2 5.2 0 0 0-3.8 3.3c0-2-2.5-6.3-5.2-8.5-2.7 2.4-5.3 6.4-5.2 8.4-.5-1.5-1.8-2.7-3.8-3.2v5.7z"}),i.createElement("path",{strokeLinejoin:"bevel",d:"M205 602.6V597c-2.1.6-3.5 1.7-4.1 3.3 0-2-2.7-6.3-5.7-8.5-3 2.5-5.8 6.4-5.7 8.5-.5-1.5-2-2.7-4.1-3.3v5.7z"}),i.createElement("path",{strokeLinejoin:"bevel",d:"M207.4 614.3v-6.6a9.6 9.6 0 0 0-5.1 3.8c0-3.5-4-9-7.1-10.7-3.2 1.8-7.1 7.4-7.1 10.7a9.7 9.7 0 0 0-5.2-3.8v6.6z"}),i.createElement("path",{strokeLinejoin:"bevel",d:"M206 629v-6.8c-2.4.9-3 3.1-3.8 4.7.3-6.9-3.8-14.2-7-16.1-3.2 1.9-7.4 9.4-7 16-.8-1.4-1.5-3.7-3.8-4.6v6.7z"}),i.createElement("path",{d:"M204.4 639.2v-6.8c-2.5.6-2.6 1.5-3.4 3 .3-4.1-2.6-8.8-5.8-10.6-3.2 1.8-6 6.5-5.8 10.6-.8-1.5-.9-2.4-3.4-3v6.8z"}),i.createElement("g",{id:"a"},i.createElement("path",{d:"M99 664.2v-20.4c-.7-2.6-3-5-4.6-5.4v-18l3.7 2 4.3 18.9v23z"}),i.createElement("path",{d:"M99 664.3v-20.5c-.7-2.6-3-5-4.6-5.4v-19.2c2.5 0 3.7 3.2 3.7 3.2l4.3 18.9v22.9z"}),i.createElement("path",{d:"M96.3 669.5c1.7-.7 4.2-2.9 4.2-5v-25.6l-1.2-2H143l-1.7 2v25.6a6 6 0 0 0 3.4 5z"}),i.createElement("path",{d:"M135.8 669.5c-1.7-.7-4.2-2.9-4.2-5v-24.3l3.6-3.4h-29.6l3.6 3.4v24.3c0 2.1-2.5 4.3-4.2 5z"}),i.createElement("path",{d:"M131.7 669.5c-1.7-.7-4.3-2.9-4.3-5v-22l2.4-3.3H111l2.4 3.3v22c0 2.1-2.5 4.3-4.3 5z"}),i.createElement("path",{d:"M116 639.2h8.9v30.4h-9z"}),i.createElement("path",{strokeLinejoin:"bevel",d:"M103.7 647.6h3.6v16.5h-3.6zm30.8 0h3.5v16.5h-3.6zm-33.9-27.8h4.4v17h-4.4zm0-3.2h4.3v3.2h-4.3zm35.6 6.9h6.1v13h-6.1z"}),i.createElement("path",{d:"M104.9 636.6v-29c1.2 0 1.4 4.3 4.2 4.3 1.5 0 1.4-1.8.5-3.2-.7-1.3-1.6-3-.4-6.3.9 2.5 3.1 3.3 2.7 1.8-.7-2.7-2.8-3.2-1.2-7.3.5 3.4 2.7 3.3 2.2 1.3-.6-2.3-1.9-3.3-.3-6.5.9 3.7 2 3.5 2 1.2 0-3.4 0-7 4.2-8.3 0 0 .3-3 1.9-3 1.5 0 1.8 3 1.8 3 4.3 1.3 4.2 5 4.2 8.3 0 2.3 1.1 2.5 2-1.2 1.6 3.2.3 4.2-.3 6.5-.5 2 1.7 2.1 2.2-1.3 1.6 4.1-.5 4.6-1.2 7.3-.4 1.5 1.8.7 2.7-1.8 1.2 3.3.3 5-.4 6.3-.8 1.4-1 3.2.5 3.2 2.8 0 3-4.2 4.2-4.2v28.9zM98 614.7v22.1h2.5v-22.1c-.9-.5-1.7-.5-2.5 0z"}),i.createElement("path",{d:"M98.2 629c3.1 1.6 6.2 3.5 7 7.8h-7zm43.2-6.6v14.4h2v-14.4c-.6-.3-1.5-.4-2 0z"}),i.createElement("path",{d:"M143.4 629c-3.1 1.5-6.2 3.3-7 7.7h7zm-20.6-33.7 1.8-1.5v-2c-.6 0-1 .3-1.5 1a5 5 0 0 0-2.5-3 5 5 0 0 0-2.6 2.9c-.5-.7-.8-.8-1.5-1v2l1.8 1.6z"}),i.createElement("path",{d:"m123.8 600.2.8-1.9v-2.5c-.6 0-1 .3-1.5 1a5 5 0 0 0-2.5-3 5 5 0 0 0-2.6 2.9c-.5-.7-.8-.8-1.5-.9v2.5l.8 1.9z"}),i.createElement("path",{d:"m124 606.8 2.6-3.3v-3.2c-1 0-1.5.5-2.2 1.6-.7-2.3-2-2.7-3.8-3.8-1.9 1-3.2 1.5-3.8 3.7-.8-1.1-1.3-1.4-2.3-1.5v3.2l2.7 3.3z"}),i.createElement("path",{d:"M124.7 613.3s3.2-2.7 3.3-4.2v-3.5c-1.2.1-2.3.4-3.2 1.9-.8-2.9-2-3.7-4.2-5-2.3 1.3-3.5 2.1-4.2 5-1-1.5-2-1.8-3.3-2v3.6a15 15 0 0 0 3.3 4.2z"}),i.createElement("path",{d:"M126 625.3s4.4-4.7 4.5-6.6v-5.4c-1.6.2-3.2 1.3-4.4 3.6-1-4.5-2.6-7.6-5.5-9.8-3 2.2-4.6 5.3-5.6 9.8-1.2-2.3-2.7-3.4-4.3-3.6v5.4c.3 1.9 4.4 6.6 4.4 6.6z"}),i.createElement("path",{d:"M126 632.4s3.7-3.7 4.5-5.3v-5.4c-1.6.2-3.2 1.3-4.4 3.5a14 14 0 0 0-5.5-9.2c-3 2.2-4.6 4.7-5.6 9.2-1.2-2.2-2.7-3.3-4.3-3.5v5.4c1 1.6 4.4 5.3 4.4 5.3z"}),i.createElement("path",{d:"M127.5 636.6c-1-4.7-2-8.2-7.1-11.7-5.2 3.5-6.1 7-7.2 11.7z"}),i.createElement("path",{d:"M130.2 639.2v-6.8c-2.4 1-4.5 2.3-5.3 3.8-.8-3.8-2.5-5.4-4.6-7.7-2.1 2.3-3.5 4-4.4 7.7-.8-1.5-2.9-2.9-5.2-3.8v6.8z"})),i.createElement("use",{xlinkHref:"#a",width:"100%",height:"100%",transform:"matrix(-1 0 0 1 390.7 0)"}),i.createElement("path",{d:"M72.7 694.3H318v12.5H72.7zm-6.5 12.5h258.3v12.5H66.2zm19.4-31.3H305v8.1H85.6z"}),i.createElement("path",{d:"M79.2 683.6h232.4v10.6H79.2zm10.2-14.3h212v6.2h-212z"}),i.createElement("path",{d:"M112.4 669.3h16v50h-16z"}),i.createElement("path",{d:"M116 669.3h8.9v50h-9zm71 0h16v50h-16z"}),i.createElement("path",{d:"M190.7 669.3h9v50h-9zm71.5 0h16v50h-16z"}),i.createElement("path",{d:"M265.7 669.3h9v50h-9z"}),i.createElement("path",{fill:"none",d:"M99 664.2h193M115.8 713h9.2m-9.2-6.3h9.2m-9.2-6.2h9.2m-9.2-6.3h9.2m-9.2-6.2h9.2m-9.2-6.3h9.2m-9.2-6.2h9.2m65.8 37.5h8.6m-8.6-6.3h8.6m-8.6-6.2h8.6m-8.6-6.3h8.6m-8.6-6.2h8.6m-8.6-6.3h8.6m-8.6-6.2h8.6m66.2 37.5h9.2m-9.2-6.3h9.2m-9.2-6.2h9.2m-9.2-6.3h9.2m-9.2-6.2h9.2m-9.2-6.3h9.2m-9.2-6.2h9.2"})))},we=function(e){return i.createElement("svg",t({xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",id:"flag-icons-in",viewBox:"0 0 640 480",width:"1em",height:"1em"},e),i.createElement("path",{fill:"#f93",d:"M0 0h640v160H0z"}),i.createElement("path",{fill:"#fff",d:"M0 160h640v160H0z"}),i.createElement("path",{fill:"#128807",d:"M0 320h640v160H0z"}),i.createElement("g",{transform:"matrix(3.2 0 0 3.2 320 240)"},i.createElement("circle",{r:20,fill:"#008"}),i.createElement("circle",{r:17.5,fill:"#fff"}),i.createElement("circle",{r:3.5,fill:"#008"}),i.createElement("g",{id:"d"},i.createElement("g",{id:"c"},i.createElement("g",{id:"b"},i.createElement("g",{id:"a",fill:"#008"},i.createElement("circle",{r:.9,transform:"rotate(7.5 -8.8 133.5)"}),i.createElement("path",{d:"M0 17.5.6 7 0 2l-.6 5L0 17.5z"})),i.createElement("use",{xlinkHref:"#a",width:"100%",height:"100%",transform:"rotate(15)"})),i.createElement("use",{xlinkHref:"#b",width:"100%",height:"100%",transform:"rotate(30)"})),i.createElement("use",{xlinkHref:"#c",width:"100%",height:"100%",transform:"rotate(60)"})),i.createElement("use",{xlinkHref:"#d",width:"100%",height:"100%",transform:"rotate(120)"}),i.createElement("use",{xlinkHref:"#d",width:"100%",height:"100%",transform:"rotate(-120)"})))},Me=function(e){return i.createElement("svg",t({xmlns:"http://www.w3.org/2000/svg",id:"flag-icons-id",viewBox:"0 0 640 480",width:"1em",height:"1em"},e),i.createElement("g",{fillRule:"evenodd",strokeWidth:"1pt"},i.createElement("path",{fill:"#e70011",d:"M0 0h640v249H0z"}),i.createElement("path",{fill:"#fff",d:"M0 240h640v240H0z"})))},xe=function(e){return i.createElement("svg",t({xmlns:"http://www.w3.org/2000/svg",id:"flag-icons-my",viewBox:"0 0 640 480",width:"1em",height:"1em"},e),i.createElement("path",{fill:"#c00",d:"M0 0h640v480H0z"}),i.createElement("path",{fill:"#fff",d:"M.5 39.9h639v38.4H.5zM.5 118.6h639V157H.5zM.5 197.4h639v38.4H.5z"}),i.createElement("path",{fill:"#006",d:"M0 .5h320v280H0Z"}),i.createElement("path",{fill:"#fc0",d:"m207.5 73.8 6 40.7 23-34-12.4 39.2 35.5-20.8-28.1 30 41-3.2-38.3 14.8 38.3 14.8-41-3.2 28.1 30-35.5-20.8 12.3 39.3-23-34.1-6 40.7-5.9-40.7-23 34 12.4-39.2-35.5 20.8 28-30-41 3.2 38.4-14.8-38.3-14.8 41 3.2-28.1-30 35.5 20.8-12.4-39.3 23 34.1zm-33.3 1.7a71.1 71.1 0 1 0 0 130 80 80 0 1 1 0-130z"}),i.createElement("path",{fill:"#fff",d:"M.5 276.2h639v38.4H.5zM.5 354.4h639v38.4H.5zM0 441.6h639V480H0z"}))},ye=function(e){return i.createElement("svg",t({xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",id:"flag-icons-mm",viewBox:"0 0 640 480",width:"1em",height:"1em"},e),i.createElement("path",{fill:"#fecb00",d:"M0 0h640v480H0z"}),i.createElement("path",{fill:"#34b233",d:"M0 160h640v320H0z"}),i.createElement("path",{fill:"#ea2839",d:"M0 320h640v160H0z"}),i.createElement("g",{transform:"translate(320 256.9) scale(176.87999)"},i.createElement("path",{id:"a",fill:"#fff",d:"m0-1 .3 1h-.6z"}),i.createElement("use",{xlinkHref:"#a",width:"100%",height:"100%",transform:"rotate(-144)"}),i.createElement("use",{xlinkHref:"#a",width:"100%",height:"100%",transform:"rotate(-72)"}),i.createElement("use",{xlinkHref:"#a",width:"100%",height:"100%",transform:"rotate(72)"}),i.createElement("use",{xlinkHref:"#a",width:"100%",height:"100%",transform:"rotate(144)"})))},be=function(e){return i.createElement("svg",t({xmlns:"http://www.w3.org/2000/svg",id:"flag-icons-ph",viewBox:"0 0 640 480",width:"1em",height:"1em"},e),i.createElement("path",{fill:"#0038a8",d:"M0 0h640v240H0z"}),i.createElement("path",{fill:"#ce1126",d:"M0 240h640v240H0z"}),i.createElement("path",{fill:"#fff",d:"M415.7 240 0 480V0"}),i.createElement("path",{fill:"#fcd116",d:"M26.7 42.4 41 55l16.6-9.2-7.4 17.5 14 13-19-1.6-8.1 17.2-4.3-18.5L14 71l16.3-10zm323.8 172.3.4 19 18 6.3-18 6.2-.4 19-11.5-15.1-18.2 5.5 10.8-15.6-10.8-15.6 18.2 5.5zM37.2 388.1l8 17.2 19-1.6-13.9 13 7.4 17.5-16.6-9.1-14.4 12.4 3.6-18.7L14 409l18.9-2.4zm114.2-249-6.2 6.2 3.1 47-3 .3-5.7-42.9-5.1 5 7.6 38.4a47.5 47.5 0 0 0-17.2 7.1l-21.7-32.4H96l26.4 34.3a48 48 0 0 0-2.4 2l-31.1-35.5h-8.8v8.8l35.4 31-2 2.5-34.3-26.3v7.1l32.5 21.7c-3.4 5.2-5.9 11-7.1 17.2L66.3 223l-5.1 5 42.9 5.7c-.2 1-.3 2.1-.3 3.1l-47-3-6.2 6.2 6.2 6.2 47-3.1.3 3.1-42.9 5.7 5 5 38.4-7.6a47.5 47.5 0 0 0 7.1 17.2l-32.5 21.7v7.2l34.3-26.3a48 48 0 0 0 2 2.4l-35.4 31v8.8H89l31-35.4 2.5 2L96 312.2h7.2l21.7-32.5c5.1 3.4 11 5.9 17.2 7.1l-7.6 38.4 5 5 5.7-42.9c1 .2 2 .3 3.1.3l-3 47 6.1 6.2 6.3-6.2-3.1-47 3-.3 5.7 43 5.1-5.1-7.6-38.4a47.5 47.5 0 0 0 17.2-7.1l21.7 32.5h7.2l-26.4-34.3a48 48 0 0 0 2.4-2l31.1 35.4h8.8v-8.8l-35.4-31 2-2.4 34.3 26.3v-7.2l-32.5-21.7c3.4-5.1 5.9-11 7.1-17.2l38.3 7.6 5.1-5-42.9-5.7c.2-1 .3-2 .3-3.1l47 3 6.2-6.1-6.2-6.2-47 3-.3-3 42.9-5.7-5-5-38.4 7.5a47.5 47.5 0 0 0-7.1-17.2l32.5-21.7v-7.1l-34.3 26.3a48 48 0 0 0-2-2.4l35.4-31v-8.9H214l-31 35.5a48 48 0 0 0-2.5-2l26.4-34.3h-7.2L178 200.2c-5.1-3.4-11-5.9-17.2-7.1l7.6-38.3-5-5-5.7 42.8-3.1-.3 3-47z"}))},ke=function(e){return i.createElement("svg",t({xmlns:"http://www.w3.org/2000/svg",id:"flag-icons-tw",viewBox:"0 0 640 480",width:"1em",height:"1em"},e),i.createElement("clipPath",{id:"a"},i.createElement("path",{d:"M0 0h640v480H0z"})),i.createElement("g",{clipPath:"url(#a)"},i.createElement("path",{fill:"red",d:"M0 0h720v480H0z"}),i.createElement("path",{fill:"#000095",d:"M0 0h360v240H0z"}),i.createElement("g",{fill:"#fff"},i.createElement("path",{d:"m154 126.9-2.5 9.6 9.4 2.6-1.8-7.1zm46.9 5.1-1.8 7.1 9.4-2.6-2.5-9.6zm-41.8-24-5.1 5.1 1.9 6.9z"}),i.createElement("path",{d:"m155.9 120-1.9 6.9 5.1 5.1z"}),i.createElement("path",{d:"m154 113.1-6.9 6.9 6.9 6.9 1.9-6.9zm14 27.8 5.1 5.1 6.9-1.9zm18.9 5.1 9.6 2.5 2.6-9.4-7.1 1.8z"}),i.createElement("path",{d:"m192 140.9 7.1-1.8 1.8-7.1zm-31.1-1.8 2.6 9.4 9.6-2.5-5.1-5.1zm19.1 5 6.9 1.9 5.1-5.1z"}),i.createElement("path",{d:"m173.1 146 6.9 6.9 6.9-6.9-6.9-1.9zm-12.2-45.1-9.4 2.6 2.5 9.6 5.1-5.1zm-1.8 31.1 1.8 7.1 7.1 1.8zm45-12 1.9-6.9-5.1-5.1z"}),i.createElement("path",{d:"m168 99.1-7.1 1.8-1.8 7.1zm32.9 8.9-1.8-7.1-7.1-1.8zm5.1 18.9 6.9-6.9-6.9-6.9-1.9 6.9z"}),i.createElement("path",{d:"m200.9 108-8.9-8.9-12-3.2-12 3.2-8.9 8.9-3.2 12 3.2 12 8.9 8.9 12 3.2 12-3.2 8.9-8.9 3.2-12z"}),i.createElement("path",{d:"m200.9 132 5.1-5.1-1.9-6.9zm5.1-18.9 2.5-9.6-9.4-2.6 1.8 7.1zm-6.9-12.2-2.6-9.4-9.6 2.5 5.1 5.1zm-26-6.9-9.6-2.5-2.6 9.4 7.1-1.8zm6.9 1.9-6.9-1.9-5.1 5.1z"}),i.createElement("path",{d:"m186.9 94-6.9-6.9-6.9 6.9 6.9 1.9z"}),i.createElement("path",{d:"m192 99.1-5.1-5.1-6.9 1.9zM173.1 146l-9.6 2.5 4.5 16.6 12-12.2zm-5.1 19.1 12 44.9 12-44.9-12-12.2zm-7.1-26-9.4-2.6-4.4 16.4 16.4-4.4z"}),i.createElement("path",{d:"m147.1 152.9-12 45.1 32.9-32.9-4.5-16.6zm-12-20.9L102 165.1l45.1-12.2 4.4-16.4z"}),i.createElement("path",{d:"m154 126.9-6.9-6.9-12 12 16.4 4.5zm0-13.8-2.5-9.6-16.4 4.5 12 12z"}),i.createElement("path",{d:"M135.1 108 90 120l45.1 12 12-12zm90 24-16.6 4.5 4.4 16.4 45.1 12.2z"}),i.createElement("path",{d:"m199.1 139.1-2.6 9.4 16.4 4.4-4.4-16.4zm-12.2 6.9-6.9 6.9 12 12.2 4.5-16.6zm19.1-19.1 2.5 9.6 16.6-4.5-12.2-12z"}),i.createElement("path",{d:"m192 165.1 33.1 32.9-12.2-45.1-16.4-4.4zm7.1-64.2 9.4 2.6 4.4-16.4-16.4 4.4z"}),i.createElement("path",{d:"M225.1 108 258 75.1l-45.1 12-4.4 16.4zm-12.2-20.9L225.1 42 192 75.1l4.5 16.4zm12.2 44.9 44.9-12-44.9-12-12.2 12z"}),i.createElement("path",{d:"m206 113.1 6.9 6.9 12.2-12-16.6-4.5zm-38-38L135.1 42l12 45.1 16.4 4.4z"}),i.createElement("path",{d:"m160.9 100.9 2.6-9.4-16.4-4.4 4.4 16.4z"}),i.createElement("path",{d:"m147.1 87.1-45.1-12 33.1 32.9 16.4-4.5zm39.8 6.9 9.6-2.5-4.5-16.4-12 12z"}),i.createElement("path",{d:"M192 75.1 180 30l-12 45.1 12 12z"}),i.createElement("path",{d:"m173.1 94 6.9-6.9-12-12-4.5 16.4z"})),i.createElement("circle",{cx:180,cy:120,r:51.1,fill:"#000095"}),i.createElement("circle",{cx:180,cy:120,r:45.1,fill:"#fff"})))},He=function(e){return i.createElement("svg",t({xmlns:"http://www.w3.org/2000/svg",id:"flag-icons-th",viewBox:"0 0 640 480",width:"1em",height:"1em"},e),i.createElement("g",{fillRule:"evenodd"},i.createElement("path",{fill:"#f4f5f8",d:"M0 0h640v480H0z"}),i.createElement("path",{fill:"#2d2a4a",d:"M0 162.5h640v160H0z"}),i.createElement("path",{fill:"#a51931",d:"M0 0h640v82.5H0zm0 400h640v80H0z"})))},Ce=function(e){return i.createElement("svg",t({xmlns:"http://www.w3.org/2000/svg",id:"flag-icons-vn",viewBox:"0 0 640 480",width:"1em",height:"1em"},e),i.createElement("defs",null,i.createElement("clipPath",{id:"a"},i.createElement("path",{fillOpacity:.7,d:"M-85.3 0h682.6v512H-85.3z"}))),i.createElement("g",{fillRule:"evenodd",clipPath:"url(#a)",transform:"translate(80) scale(.9375)"},i.createElement("path",{fill:"#da251d",d:"M-128 0h768v512h-768z"}),i.createElement("path",{fill:"#ff0",d:"M349.6 381 260 314.3l-89 67.3L204 272l-89-67.7 110.1-1 34.2-109.4L294 203l110.1.1-88.5 68.4 33.9 109.6z"})))},je=Object.values(A).reduce((function(e,t){var n=t.phoneCountry;return e.includes(n)||e.push(n),e}),[]),Pe={PH:be,KH:ze,ID:we,IN:Me,MM:ye,MY:xe,TH:He,TW:ke,VN:Ce},Se={phoneInput:"i-9Ibox",error:"YDWHh9b"},Le=h((function(e,a){var i,c=e.isError,h=e.defaultCountry,d=e.countries,u=void 0===d?je:d,p=e.countryCallingCodeEditable,f=void 0!==p&&p,v=e.defaultValue,g=e.value,E=e.onChange,z=e.className,w=n(e,["isError","defaultCountry","countries","countryCallingCodeEditable","defaultValue","value","onChange","className"]),M=s(v||g),x=M[0],y=M[1],b=s(null),k=b[0],H=b[1];return m((function(){y(g)}),[g]),m((function(){r(void 0,void 0,void 0,(function(){var e;return l(this,(function(t){switch(t.label){case 0:return[4,import("react-phone-number-input")];case 1:return e=t.sent(),H(e),[2]}}))}))}),[]),k?o.createElement(k.default,t({ref:a,value:x,onChange:function(e){y(e),null==E||E(e)},countries:u,defaultCountry:h,countryCallingCodeEditable:f,className:de(Se.phoneInput,(i={isError:c},i[Se.error]=c,i),z),flagUrl:void 0,flagComponent:function(e){var a=e.country,r=e.countryName;e.flagUrl;var l=n(e,["country","countryName","flagUrl"]),i=Pe[a],c=a?"(+".concat(k.getCountryCallingCode(a),")"):"";return i?o.createElement(o.Fragment,null,o.createElement(i,t({title:r},l)),o.createElement("span",{className:de(Se.callingCode,"PhoneInputCountryIconCallingCode")},c)):o.createElement(o.Fragment,null)},countrySelectProps:{arrowComponent:function(){return o.createElement("div",{className:de(Se.arrowSelect,"PhoneInputArrowContainer")},o.createElement(Ee,null))}}},w)):null}));export{_ as A,Ee as C,O as D,we as I,xe as M,ge as O,be as P,le as R,K as S,ke as T,Ce as V,ze as a,Me as b,ye as c,He as d,Le as e,Y as f,he as g,q as h,$ as i,ee as j,ie as k,ce as u};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{_ as e}from"./tslib.es6-cdf3fe1c.js";import t,{forwardRef as r}from"react";var a=r((function(r,a){return t.createElement("circle",e({},r,{ref:a}),t.createElement("animate",{attributeName:"r",values:"4;8;4",dur:"2s",begin:"0s",repeatCount:"indefinite"}))}));export{a as C};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import e,{useMemo as a}from"react";import{CommonGAssets as t}from"./gAssets.js";import{i as s,L as l,a as r,b as n,S as o,c as i,d as g}from"./index-ea41d909.js";var m=function(m){var c=m.type,h=m.className,d=m.style,u=m.isLightLogo,w=m.customSize,N=m.badge,y=m.locale,f=m.dateForSeasonal,p=m.isPro,E=a((function(){if(!f||isNaN(new Date(f).getTime()))return{isChristmas:!1,isLunarNewYear:!1,isNewYear:!1};var e=new Date(f),a=s(e),t=l.includes(y)&&r(e);return{isChristmas:a,isLunarNewYear:t,isNewYear:!t&&n(e)}}),[y,new Date(f).getDate()]);return e.createElement(o,{className:h,style:d,"data-logo-is-light":u||void 0,"data-has-badge":!!N,"data-christmas":E.isChristmas,"data-new-year":E.isNewYear,"data-lunar-new-year":E.isLunarNewYear},E.isChristmas?e.createElement(e.Fragment,null,e.createElement("img",{loading:"lazy",src:t.getAssetPath("logo/xmas-left.png"),className:"common-logo-seasonal-left"}),e.createElement("img",{loading:"lazy",src:t.getAssetPath("logo/xmas-right.png"),className:"common-logo-seasonal-right"})):E.isNewYear?e.createElement(e.Fragment,null,e.createElement("img",{loading:"lazy",src:t.getAssetPath("logo/new-year-left.png"),className:"common-logo-seasonal-left"}),e.createElement("img",{loading:"lazy",src:t.getAssetPath("logo/new-year-right.png"),className:"common-logo-seasonal-right"})):E.isLunarNewYear?e.createElement(e.Fragment,null,e.createElement("img",{loading:"lazy",src:t.getAssetPath("logo/lunar-new-year-left.png"),className:"common-logo-seasonal-left"}),e.createElement("img",{loading:"lazy",src:t.getAssetPath("logo/lunar-new-year-right.png"),className:"common-logo-seasonal-right"})):null,e.createElement(i,{type:c,width:null==w?void 0:w.width,height:null==w?void 0:w.height}),p?e.createElement(g,{src:t.getAssetPath("logo/pro-suffix.svg")}):null,N)};export{m as L};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{b as e,_ as a}from"./tslib.es6-cdf3fe1c.js";import t,{useMemo as n}from"react";import{S as s,L as o,a as i,b as r,c as l}from"./index.styled-a08c1405.js";var c=function(c){var m=c.name,d=c.value,u=c.errorMessage,p=c.isNumerousKeyboard,v=void 0!==p&&p,b=c.showErrorMessage,y=void 0===b||b,g=c.actionIcon,C=c.displayIcon,E=c.onActionClick,N=c.label,h=c.className,f=c.onChange,I=c.isDisabled,k=c.CustomInput,A=c.size,K=c.style,M=c.autoComplete,z=void 0===M?"off":M,L=c.type,x=void 0===L?"text":L,H=c.inputClassName,j=c.trackingAttributes,w=c.enterKeyHint,D=e(c,["name","value","errorMessage","isNumerousKeyboard","showErrorMessage","actionIcon","displayIcon","onActionClick","label","className","onChange","isDisabled","CustomInput","size","style","autoComplete","type","inputClassName","trackingAttributes","enterKeyHint"]),F=n((function(){return j?{"data-event-category":j.dataEventCategory,"data-event-action":j.dataEventAction,"data-event-label":j.dataEventLabel}:{}}),[j]);return t.createElement(s,{"data-size":A,className:h,"data-has-action-icon":!!g||void 0,"data-has-display-icon":!!C||void 0,"data-has-error":u&&u.length>0||void 0,style:K},N&&t.createElement(o,{size:"label2",htmlFor:m,className:"inputLabel"},N),t.createElement("div",{style:{position:"relative"}},k||t.createElement("input",a({id:m,name:m,onChange:function(e){return f&&f(e.target.value)},type:x,"aria-label":x,value:d,disabled:I,autoComplete:z,inputMode:v||"number"===x?"numeric":x,pattern:v?"[0-9]*":".*",className:H,enterKeyHint:w},F,D)),C&&t.createElement(i,{className:"displayIcon"},C),g&&t.createElement(r,{className:"actionIcon",onClick:E},g)),u&&u.length>0&&y&&t.createElement(l,{className:"errorLabel"},u))};export{c as I};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{b as e,_ as t}from"./tslib.es6-cdf3fe1c.js";import r from"react";import{S as a,a as o}from"./index.styled-945634fd.js";var l=function(o){var l=o.type,s=o.color,y=o.style,c=e(o,["type","color","style"]);return r.createElement(a,t({type:l,"data-type":{h1:"headline-1",h2:"headline-2",h3:"headline-3",h4:"headline-4"}[l],style:t(t({},s&&{"--text-color":s}),y)},c))},s=function(a){var l=a.type,s=a.color,y=a.style,c=e(a,["type","color","style"]);return r.createElement(o,t({"data-type":l,style:t(t({},y),s&&{"--text-color":s})},c))};export{s as M,l as a};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{b as e,_ as r}from"./tslib.es6-cdf3fe1c.js";import l from"react";import{L as a}from"./Locale-073a2db2.js";import{S as n,a as o,b as t}from"./index.styled-710e3780.js";var i=function(i){var s=i.data,m=i.isMobile,c=i.onSlideChange,d=i.pillProps,p=i.locale,b=void 0===p?a.Vietnam:p,u=i.blurFromIndex,f=i.blurLength,h=e(i,["data","isMobile","onSlideChange","pillProps","locale","blurFromIndex","blurLength"]),g={withControls:!m,slideGap:16,blurFromCenter:!0,blurFromIndex:u||(m?2:4),blurLength:f||(m?1:3),onSlideChange:c};return l.createElement(n,r({},g,h),(function(e){return s.map((function(a,n){return l.createElement(o,r({key:n,onClick:c},d),l.createElement("div",{className:"centerred-pill-wrapper"},l.createElement(t,{locale:b,name:a.name,icon:a.icon,className:n===e?"selected-week-pill":""})))}))}))};export{i as P};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{b as e,_ as n}from"./tslib.es6-cdf3fe1c.js";import r,{createContext as l,useContext as i,useRef as t,useState as o,useEffect as c}from"react";import{Carousel as d}from"@mantine/carousel";import{useResizeObserver as u}from"@mantine/hooks";var a=d.Slide,s=l({}),f=function(e,n){return e>=n?e-n:e},p=function(l){var i=l.children,a=l.blurFromCenter,p=l.blurFromIndex,v=l.blurLength,h=void 0===v?3:v,m=l.maxBlurOpacity,x=void 0===m?.5:m,S=l.onSlideChange,g=l.selectSlideWhenClick,b=e(l,["children","blurFromCenter","blurFromIndex","blurLength","maxBlurOpacity","onSlideChange","selectSlideWhenClick"]),y=u(),C=y[0],k=y[1],w=t(null),E=o(0),F=E[0],I=E[1],L=function(){var e,n,r,l=null===(e=null==w?void 0:w.current)||void 0===e?void 0:e.selectedScrollSnap();I(l);var i=(null===(n=null==w?void 0:w.current)||void 0===n?void 0:n.slideNodes())||[],t=i.length,o=(null===(r=null==w?void 0:w.current)||void 0===r?void 0:r.slidesInView()).length,c=Math.floor(o/2),d=a?p+h-1:c,u=l+d,s=u===t?0:u>t?u-t:u,v=l-d,m=v<0?t+v:v>0?l-d:0,S=Array(2*d+1).fill("").map((function(e,n){return f(m+n,t)}));i.map((function(e,n){if(n===l?e.classList.add("center-slide"):e.classList.remove("center-slide"),-1!==S.indexOf(n))for(var r=x/h,i=0;i<h;i++){if(n===f(m+i,t)||n===(c=t,(o=s-i)<0?c+o:o)){e.style.opacity=String((i+1)*r);break}e.style.opacity="1"}else e.style.opacity="0";var o,c}))},W={getEmblaApi:function(e){w.current=e},onSlideChange:function(e){L(),null==S||S(e)}};return c((function(){(null==w?void 0:w.current)&&L()}),[k]),r.createElement(s.Provider,{value:{slider:null==w?void 0:w.current,centerSlide:F,selectSlideWhenClick:g}},r.createElement(d,n({ref:C,slideSize:"auto",containScroll:"trimSnaps"},W,b,{loop:!0}),"function"==typeof i?i(F):i))};p.Slide=function(l){var d=l.children,u=l.onClick,f=e(l,["children","onClick"]),p=i(s),v=p.slider,h=p.selectSlideWhenClick,m=t(),x=t(""),S=o(0),g=S[0],b=S[1];c((function(){x.current=String(Math.round(1e4*Math.random()))}),[]),c((function(){var e=(null==v?void 0:v.slideNodes())||[];b(e.findIndex((function(e){return e.dataset.key===x.current})))}),[v]);var y={ref:m,"data-key":x.current,"data-index":g,styles:function(){return{control:{width:"40px",height:"40px",border:0,background:"white",boxShadow:"rgb(0 0 0 / 4%) 0px 10px 16px, rgb(0 0 0 / 4%) 0px 2px 8px, rgb(0 0 0 / 4%) 0px 0px 1px",svg:{width:"20px",height:"20px"}}}}};return r.createElement(a,n({},y,f),r.createElement("div",{onClick:function(){h&&(null==v||v.scrollTo(g)),null==u||u(g)}},d))};export{p as C};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import e from"react";import{u as a}from"./useTranslations-65f76a8d.js";import{t}from"./theme-6269934e.js";import{I as r}from"./index-cf1f731a.js";import{I as o}from"./index-42f2a9bf.js";import{M as i}from"./index-46feaf77.js";import{T as s}from"./index-ae9491da.js";import{ag as m}from"./index.styled-354ac1b1.js";var n=function(n){var c=n.isActive,l=n.onChange,d=n.value,f=void 0===d?"":d,p=n.onInputChange,v=n.siteType,y=a().t,h="marryBaby"===v;return e.createElement(m,{onClick:function(){return l("new")},"data-is-mb":h,"data-isActive":h&&c},"marryBaby"===v?e.createElement("div",{className:"title"},e.createElement(i,{type:"bodytext-1",color:t.colors.gray800},y("chooseBaby.new")),e.createElement("div",{className:c?"radio active":"radio"},c&&e.createElement(r.CheckActiveMB,{size:26}))):e.createElement("div",{className:"title"},e.createElement(s,{size:"p2",color:t.colors.gray800},y("chooseBaby.new")),e.createElement("div",{className:c?"radio active":"radio"})),e.createElement(o,{name:"name",value:f,size:"md",placeholder:y("chooseBaby.placeholder"),type:"text",onChange:p}))};export{n as N};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{b as e,_ as t}from"./tslib.es6-cdf3fe1c.js";import n,{useState as o,useEffect as r}from"react";import{useDebouncedValue as a}from"@mantine/hooks";import{B as i}from"./index-9b0a548c.js";import{D as s,S as l,b as c}from"./index-ad90c54c.js";var m=function(m){var h=m.color,u=m.withControl,d=m.onChange,f=m.value,w=m.min,g=m.max,p=m.isStatic,v=m.containerClassName,k=m.containerStyle,x=e(m,["color","withControl","onChange","value","min","max","isStatic","containerClassName","containerStyle"]),C=o(f||w||0),b=C[0],E=C[1],S=a(b,s)[0];return r((function(){null==d||d(S)}),[S]),n.createElement(l,{className:v,style:k},u&&n.createElement(i,{type:"button",size:"sm",color:"ghost",onClick:function(){E((function(e){return w&&e===w?e:e-1}))}},n.createElement("svg",{width:"10",height:"10",fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 12 3"},n.createElement("path",{d:"M1 1.004h8",stroke:h,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}))),n.createElement(c,t({thumbSize:21,labelAlwaysOn:!0,radius:"xl",color:h,value:b,onChange:p?function(){return null}:E,min:w,max:g},x,{className:"hhg-mantine-slider "+(x.className||"")})),u&&n.createElement(i,{type:"button",size:"sm",color:"ghost",onClick:function(){E((function(e){return g&&e===g?e:e+1}))}},n.createElement("svg",{width:"16",height:"20",fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},n.createElement("path",{d:"M8 4v8M4 8h8",stroke:h,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}))))};export{m as S};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import e,{useState as t,useRef as a,useMemo as n,useEffect as l,Fragment as r,useCallback as o}from"react";import{T as i}from"./index-ae9491da.js";import{S as c,b as s,c as m,d,e as u,f as g,g as p,h as v,i as h,j as f,k as E,l as y,m as b,n as w,o as C,p as k,q as N,r as L,s as x,t as B,u as M,v as _,w as D,x as z,H as S,P as A}from"./index.styled-354ac1b1.js";import{_ as I,a as T,b as P,c as F,d as H}from"./tslib.es6-cdf3fe1c.js";import{f as j,B as V}from"./utils-3c60234f.js";import{B as W}from"./index-9b0a548c.js";import{CommonGAssets as R}from"./gAssets.js";import{t as G}from"./theme-6269934e.js";import{A as O,U,B as Z,a as K,e as q,f as Y,g as X,h as Q,i as J,j as $,k as ee,l as te,m as ae,n as ne,o as le,p as re,q as oe,r as ie,s as ce,t as se,u as me,v as de,w as ue,x as ge,y as pe,z as ve,C as he,E as fe,F as Ee,G as ye,H as be,I as we,J as Ce,K as ke,L as Ne,N as Le,O as xe,P as Be,Q as Me,V as _e,W as De,X as ze,Y as Se,Z as Ae,_ as Ie,$ as Te,a0 as Pe,a1 as Fe,a2 as He,a3 as je,a4 as Ve,a5 as We,a6 as Re,a7 as Ge,a8 as Oe,a9 as Ue,aa as Ze,D as Ke,ab as qe,ac as Ye,b as Xe,ad as Qe,ae as Je,af as $e,ag as et,ah as tt,ai as at,aj as nt,ak as lt,T as rt,al as ot,am as it,an as ct,ao as st,ap as mt,aq as dt,ar as ut,as as gt,at as pt,au as vt,av as ht,aw as ft,ax as Et,ay as yt,az as bt,aA as wt,aB as Ct,aC as kt,aD as Nt,aE as Lt,aF as xt,aG as Bt,aH as Mt,aI as _t,aJ as Dt,aK as zt,aL as St,aM as At,aN as It,aO as Tt,aP as Pt,aQ as Ft,aR as Ht,aS as jt,aT as Vt,aU as Wt,aV as Rt,aW as Gt,aX as Ot,aY as Ut,aZ as Zt,a_ as Kt,a$ as qt,b0 as Yt,b1 as Xt,b2 as Qt,b3 as Jt,b4 as $t,b5 as ea,b6 as ta,b7 as aa,b8 as na,b9 as la,ba as ra,bb as oa,bc as ia,bd as ca,be as sa,bf as ma,bg as da,bh as ua,bi as ga,bj as pa,bk as va,bl as ha,bm as fa,bn as Ea}from"./index.styled-49b84b98.js";import ya from"lodash/throttle";import{useKeenSlider as ba}from"keen-slider/react";import{d as wa,L as Ca,F as ka,Q as Na}from"./index-e643346e.js";import{i as La}from"./isProduction-d1f89e20.js";import{u as xa}from"./useTranslations-65f76a8d.js";import{format as Ba,addDays as Ma,isBefore as _a,startOfMonth as Da,addMonths as za,subMonths as Sa,getDaysInMonth as Aa,isToday as Ia,isSameDay as Ta,isWithinInterval as Pa,isAfter as Fa,isPast as Ha}from"date-fns";import ja from"dayjs";import{I as Va}from"./index-42f2a9bf.js";import{C as Wa}from"./index-ea41d909.js";import{I as Ra,R as Ga}from"./index-cf1f731a.js";import{Container as Oa,Checkbox as Ua}from"@mantine/core";import"./index.styled-945634fd.js";import"./index-2493ccf8.js";import{D as Za}from"./types-fe9ae595.js";import{b as Ka,H as qa}from"./index.styled-d4b2fbc3.js";import{M as Ya}from"./index-46feaf77.js";import{S as Xa}from"./index-783229bd.js";import{useForm as Qa,Controller as Ja}from"react-hook-form";import{I as $a}from"./index-ad90c54c.js";import{u as en}from"./useHealthToolCache-feeb515b.js";import{L as tn}from"./Locale-073a2db2.js";import{L as an}from"./index.styled-a08c1405.js";import{f as nn,a as ln}from"./dataTransform-74976312.js";import"./screenSizeContext-1ad3b13f.js";import"styled-components";import{u as rn}from"./useOutsideClick-60fdf782.js";import on from"date-fns/locale/en-US";import cn from"date-fns/locale/id";import sn from"date-fns/locale/vi";import mn from"date-fns/locale/zh-TW";import{g as dn}from"./getSocialList-85be8e90.js";import{DatePicker as un}from"@mantine/dates";import{T as gn}from"./index-9cbbd619.js";var pn="CHw-fZZ",vn="_03U6VRS",hn="EO828Vv",fn=function(t){var a=t.style,n=t.onClose,l=t.text,r=t.type,o=t.contentIcon,c=t.closeIcon,s=t.className,m=t.description;return e.createElement("div",{className:"".concat(pn," ").concat(s||""),style:a,"data-alert-type":r},e.createElement("div",{className:vn},e.createElement("div",{className:"icon-title"},o,e.createElement(i,{type:"bold",size:"label1"},l)),e.createElement(i,{type:"regular",size:"p3"},m)),e.createElement("div",{className:hn,onClick:n},c))},En=function(t){var a=t.amount,n=t.type,l=t.size,r=void 0===l?"medium":l,o=t.color,i=void 0===o?"primary":o,s=t.icon,m=t.className;return e.createElement(c,{"data-notification-type":n,"data-notification-size":r,"data-notification-color":i,"data-has-icon":!!s||void 0,notificationType:n,notificationSize:r,notificationColor:i,hasIcon:!!s,className:m},e.createElement("div",null,a&&e.createElement("span",null,a)," ",s&&e.createElement("div",null,s)))},yn=function(t){var a=t.style,n=t.children,l=t.className,r=t.size,o=void 0===r?"lg":r,i=t.type,c=void 0===i?"bold":i,m=t.upperCase,d=t.as,u=void 0===d?"h4":d,g=t.color;return e.createElement(s,{style:I({color:g},a),className:l,"data-size":o,"data-type":c,"data-uppercase":m,as:u},n)},bn=function(n){var l=n.className,r=n.value,o=n.options,i=n.onUploadSelected,c=n.id,s=n.placeholderIcon,v=n.placeholder,h=n.style,f=t(!1),E=f[0],y=f[1],b=function(){return y(!E)},w=a(o.map((function(t){return"upload"===t.type&&e.createElement("input",{id:"uploader-dropdown-input-"+c+"-"+t.value,key:"uploader-dropdown-input-"+c+"-"+t.value,accept:t.fileAcceptedType,multiple:t.multiple,type:"file",style:{display:"none"},onChange:function(e){console.log("change"),i(e.target.files)}})}))),C=e.createElement("svg",{id:"prefix__Layer_1","data-name":"Layer 1",xmlns:"http://www.w3.org/2000/svg",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("style",null,".prefix__cls-3{fill:none;stroke:#595959;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.5px}")),e.createElement("title",null,"File"),e.createElement("g",{clipPath:"url(#prefix__clip-path)"},e.createElement("path",{className:"prefix__cls-3",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:"prefix__cls-3",d:"M8.67 2.29V7h4.66",transform:"translate(-1.92 -1.54)"}))),k=e.createElement("svg",{id:"prefix__Layer_1","data-name":"Layer 1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 13.5 13.5"},e.createElement("defs",null,e.createElement("style",null,".prefix__cls-1{fill:none;stroke:#595959;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.5px}")),e.createElement("title",null,"download"),e.createElement("path",{className:"prefix__cls-1",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)"})),N=e.createElement("svg",{id:"prefix__Layer_1","data-name":"Layer 1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 13.5 13.5"},e.createElement("defs",null,e.createElement("style",null,".prefix__cls-1{fill:none;stroke:#595959;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.5px}")),e.createElement("title",null,"upload"),e.createElement("path",{className:"prefix__cls-1",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)"}));return e.createElement(m,{className:l,"data-dropdown-open":!!E,id:c,"data-has-icons":!0,style:h,onBlur:function(){return y(!1)},tabIndex:0},e.createElement(d,{onClick:b},s||C," ",e.createElement("span",null,r&&r.value?r.label:v)),E&&e.createElement(u,{onClick:b,"data-has-icons":!0},o.map((function(t){return e.createElement(g,{key:"".concat(c,"-").concat(t.value),"data-selected":r&&r.value===t.value||void 0,onClick:function(){return"upload"===t.type?function(e){var t;null===(t=document.querySelector(e))||void 0===t||t.click()}("#uploader-dropdown-input-"+c+"-"+t.value):void((e=t.url)&&window.open(e,"_blank"));var e}},e.createElement(p,null,t.icon||"download"===t.type?k:N),t.label)}))),e.createElement(e.Fragment,null,w.current))},wn=function(t){var a=t.className,n=t.columns,l=t.columnsDesktop,r=t.gridTemplateColumns,o=t.gridTemplateColumnsDesktop,i=t.gap,c=t.children,s=t.justifyChildren,m=t.style,d=t.alignItems;return e.createElement(v,{className:a,style:m,theme:{columns:n,columnsDesktop:l,gap:i,justifyChildren:s,gridTemplateColumns:r,gridTemplateColumnsDesktop:o,alignItems:d}},c)},Cn=function(a){var n=a.pagesAmount,o=a.activePage,i=a.handlePageChange,c=a.handleClick,s=a.href,m=a.queryPageName,d=void 0===m?"page":m,u=T([],Array(n),!0).map((function(e,t){return t+1})),g=t(o<=4?u.slice(0,5):o>=u.length-3?u.slice(u.length-5,u.length):u.slice(o-2,o+1)),p=g[0],v=g[1];return l((function(){o<=4?v(u.slice(0,5)):o>=u.length-3?v(u.slice(u.length-5,u.length)):v(u.slice(o-2,o+1))}),[o]),e.createElement(r,null,o>4&&e.createElement(r,null,e.createElement(E,{onClick:function(){return i(1)}},s?e.createElement("a",{href:s,onClick:c},1):1),e.createElement(E,null,"...")),p.map((function(t){return e.createElement(E,{key:"".concat("pagination","+").concat(t),"data-page-active":t===o||void 0,onClick:function(){return i(t)}},s?e.createElement("a",{href:j(s,t,d),onClick:c},t):t)})),o<u.length-3&&e.createElement(r,null,e.createElement(E,null,"..."),e.createElement(E,{onClick:function(){return i(u.length)}},s?e.createElement("a",{href:j(s,u.length,d),onClick:c},u.length):u.length)))},kn=function(a){var r=a.className,o=a.pagesAmount,i=a.currentPage,c=a.onChange,s=a.onClick,m=a.style,d=a.href,u=a.queryPageName,g=void 0===u?"page":u,p=T([],Array(o),!0).map((function(e,t){return t+1})),v=t(i),y=v[0],b=v[1],w=n((function(){return d&&d.endsWith("&page=")?d.replace("&page=",""):d}),[d]),C=o-1,k=function(e){e<=o&&e>0&&(b(e),c(e))},N=function(e){s&&s(e)};return l((function(){b(i)}),[i]),e.createElement(h,{className:r,style:m},e.createElement(f,{className:"prev-page",onClick:function(){return k(y-1)},"data-last-page":1===y||void 0},w?e.createElement("a",{href:j(w,y,g),onClick:N},e.createElement("svg",{width:"7",height:"10",viewBox:"0 0 7 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},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",xmlns:"http://www.w3.org/2000/svg"},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(Cn,{pagesAmount:o,activePage:y,handlePageChange:k,handleClick:N,href:w,queryPageName:g}):p.map((function(t){return e.createElement(E,{key:"".concat("pagination","+").concat(t),"data-page-active":t===y||void 0,onClick:function(){return k(t)}},w?e.createElement("a",{href:j(w,t,g),onClick:N},t):t)})),e.createElement(f,{className:"next-page",onClick:function(){return k(y+1)},"data-last-page":y===C+1||void 0},w?e.createElement("a",{href:j(w,y,g),onClick:N},e.createElement("svg",{width:"7",height:"10",viewBox:"0 0 7 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},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",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M1.5 9L5.5 5L1.5 1",stroke:"#2D87F3",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))))},Nn=function(t){var a=t.size,n=t.children,l=t.style,r=t.className;return e.createElement(y,{style:l,className:r,"data-shadow-size":a},n)},Ln=function(t){var a=t.type,n=t.children,l=t.style,r=t.isInline,o=t.isSquared,c=void 0!==o&&o,s=t.className,m=t.isLight,d=t.hasMorePadding,u=t.isLink,g=t.isSelected,p=t.textProps,v=void 0===p?{size:"sm"}:p,h=v.color?{"--text-props-color":v.color}:{};return e.createElement(b,{"data-is-squared":c||void 0,"data-tag-type":a,"data-is-light":m||void 0,"data-has-more-padding":d||void 0,"data-is-inline":r||void 0,style:I(I({},l),h),className:s,"data-is-selected":g||void 0,"data-is-link":u||void 0,tagType:a,isInline:r,tagHasMorePadding:d,tagIsLight:m,tagIsSquared:c,tagIsALink:u},e.createElement(i,I({},v),n))},xn=function(t){var a=t.className,n=t.id,l=t.onChange,r=t.checked,o=t.style,i=t.label;return e.createElement(w,{className:a,style:o},e.createElement("input",{type:"checkbox",id:n,onChange:l,checked:r}),e.createElement("label",{htmlFor:n},e.createElement(C,null),i&&e.createElement(k,null,i)))},Bn=function(t){var a=t.size,n=t.isDisabled,l=t.className,r=t.link,o=t.style;return e.createElement(N,{className:l,"data-size":a,style:o,"data-disabled":n||void 0},r)},Mn=function(t){var a=t.type,n=t.withIcon,l=t.onFileSelected,r=t.inputId,o=t.withElement,i=t.fileAcceptType,c=t.multiple,s=t.value,m=t.className,d=function(){var e;null===(e=document.querySelector("#uploader-input-"+r))||void 0===e||e.click()};return e.createElement(L,{className:m},"badge"===a?e.createElement(x,{onClick:d,"data-is-attached-to-element":!!o},o,e.createElement(B,{"data-is-attached-to-element":!!o},n)):o?e.createElement("div",{onClick:d},o):e.createElement(W,{size:"md",color:"secondary",className:"default-button",icon:n,onClick:d},e.createElement(M,null,e.createElement("svg",{id:"prefix__Layer_1","data-name":"Layer 1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 13.5 13.5"},e.createElement("defs",null,e.createElement("style",null,".prefix__cls-1{fill:none;stroke:#000;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.5px}")),e.createElement("title",null,"upload"),e.createElement("path",{className:"prefix__cls-1",d:"M14 10v2.67A1.33 1.33 0 0112.67 14H3.33A1.33 1.33 0 012 12.67V10M11.33 5.33L8 2 4.67 5.33M8 2v8",transform:"translate(-1.25 -1.25)"})),"Upload Image")),e.createElement("input",{id:"uploader-input-"+r,accept:i,multiple:c,type:"file",style:{display:"none"},onChange:function(e){l(e.target.files)},value:s}))},_n=function(t){var a=t.label,n=t.name,l=t.checked,r=t.className,o=t.isDisabled,i=t.onChange,c=t.value,s=t.isRectangle,m=t.inputDataTestId,d=t.siteType;return e.createElement(_,{className:r,"data-disabled":o||void 0,"data-is-rectangle":s||void 0,"data-label-text":a,"data-theme":d},e.createElement("input",{type:"checkbox",checked:l,name:n,onChange:function(){return i(c,!l)},disabled:o,value:c,id:"".concat(n,"-").concat(c),"data-label-text":a,"data-testid":m}),!s&&e.createElement("label",{htmlFor:"".concat(n,"-").concat(c)},a))},Dn=function(t){return e.createElement("svg",I({},t,{viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"}),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"}))},zn=function(t){return e.createElement("svg",I({},t,{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"}),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"}))},Sn=function(a){var n=t((function(){return"star-half-mask-".concat(Math.random())}))[0];return e.createElement("svg",I({},a,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"}),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:n,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(#".concat(n,")")},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"})))},An=function(a){var n=a.gap,l=void 0===n?2:n,r=a.size,o=void 0===r?24:r,i=a.star,c=a.totalStars,s=void 0===c?5:c,m=a.onSelect,d=a.hideEmptyStars,u=a.style,g=a.className,p=Math.floor(i),v=i-p>=.5?1:0,h=t(null),f=h[0],E=h[1],y=f||p,b=f?0:v;return e.createElement(D,{"data-selectable":!!m,style:I({"--gap":l,"--star-size":o},u),className:g},Array.from({length:d?p+v:s}).map((function(t,a){var n=function(){return!!m&&E(a+1)},l=function(){return!!m&&E(null)};return a+1<=y?e.createElement(zn,{key:a,onClick:function(){return null==m?void 0:m(a+1)},onMouseOver:n,onMouseLeave:l}):a+1===y+b?e.createElement(Sn,{key:a,onClick:function(){return null==m?void 0:m(a+1)},onMouseOver:n,onMouseLeave:l}):e.createElement(Dn,{key:a,onClick:function(){return null==m?void 0:m(a+1)},onMouseOver:n,onMouseLeave:l})})))},In=function(t){var a=t.percent,n=t.style;return e.createElement(z,{style:I({"--progress":a},n)})},Tn="PiqKaXk",Pn="HgbW6-m",Fn="_6lkfLYy",Hn="j7c-onH",jn=function(t){var a=t.avatarImg,n=t.authorName,l=t.authorLink,r=t.uploadTime,o=t.size;return e.createElement("div",{className:Hn},e.createElement("div",{className:"author"},e.createElement("div",{className:"avatar","data-size":o},a),e.createElement("div",{className:"poster","data-is-disabled-url":!l},e.createElement(i,{size:"lg"===o?"p3":"p4"},e.createElement("a",{href:l},e.createElement("span",{className:"name"},n),"•"," "),e.createElement("span",null,r)))))},Vn=function(t){var a=t.isMobile,n=t.avatarImg,l=t.name,r=t.link,o=t.size,c=void 0===o?"lg":o,s=t.specialty;return e.createElement("div",{className:Hn},e.createElement("div",{className:"author"},e.createElement("div",{className:"expert-avatar","data-size":c},n),e.createElement("div",{className:"expert","data-is-disabled-url":!r},a?e.createElement("a",{href:r},"lg"===c?e.createElement(e.Fragment,null,e.createElement(S,{tag:"h6",className:"expert__name",color:G.colors.gray600},l),e.createElement(i,{color:G.colors.gray500,size:"p3",className:"specialty"},s)):e.createElement(e.Fragment,null,e.createElement(S,{tag:"h6",className:"expert__name",color:G.colors.gray600},l))):e.createElement("a",{href:r},"lg"===c?e.createElement(e.Fragment,null,e.createElement(S,{tag:"h6",className:"expert__name",color:G.colors.gray600},l),e.createElement(i,{color:G.colors.gray500,size:"p3",className:"specialty"},s)):e.createElement(e.Fragment,null,e.createElement("h6",{color:G.colors.gray600,className:"".concat(Tn," expert__name")},l),e.createElement(i,{color:G.colors.gray500,size:"p4",className:"specialty"},s))))))},Wn=function(t){var a=t.articleLink,n=t.authorLink,l=t.authorName,r=t.avatarImg,o=t.banner,c=t.categoryLink,s=t.categoryName,m=t.className,d=t.dataEventActionForBanner,u=t.dataEventActionForBookmark,g=t.dataEventActionForCategory,p=t.dataEventActionForTitle,v=t.dataEventCategoryForBanner,h=t.dataEventCategoryForBookmark,f=t.dataEventCategoryForCategory,E=t.dataEventCategoryForTitle,y=t.dataEventLabelForBanner,b=t.dataEventLabelForBookmark,w=t.dataEventLabelForCategory,C=t.dataEventLabelForTitle,k=t.direction,N=void 0===k?"horizontal":k,L=t.hasAffiliate,x=t.isBookmark,B=void 0!==x&&x,M=t.isBookmarkDisplayed,_=void 0===M||M,D=t.isMobile,z=void 0===D||D,A=t.onBookmark,I=t.onClickCategoryName,T=t.section,P=void 0===T?"normal":T,F=t.size,H=void 0===F?"md":F,j=t.specialty,V=t.style,W=t.styleBanner,G=t.styleLabel,K=t.styleTitle,q=t.text,Y=t.title,X=t.type,Q=void 0===X?"author":X,J=t.uploadTime,$=t.articleLinkTarget,ee=t.isPremium,te=function(e){e.stopPropagation(),null==A||A()},ae="lg"===H&&"expert"===Q?"h4":"lg"===H&&"home"===P?z?"h4":"h3":"lg"===H?"h4":"h5",ne="lg"===H?"p3":"p4",le=z||"home"!==P||"lg"!==H||"author"!==Q?"c2":"c1";return e.createElement("article",{className:"".concat(Fn," ").concat(m||""),"data-size":H,style:V,"data-direction":N,"data-is-expert":"expert"===Q||void 0},e.createElement("div",{className:"banner",style:W},e.createElement("a",{className:Pn,"data-event-category":v,"data-event-action":d,"data-event-label":y,href:a||"#",target:$},o),ee&&e.createElement("img",{loading:"lazy",className:"premium",src:R.getAssetPath("premium-crown.svg")}),L&&e.createElement(O,null)),e.createElement("div",{className:"content"},e.createElement("div",{className:"inner-content"},e.createElement(i,{style:G,className:"label",size:le,type:"caption"},e.createElement("a",{className:Pn,"data-event-category":f,"data-event-action":g,"data-event-label":w,href:c||"#",onClick:I},s),_&&e.createElement("a",{className:"bookmark",onClick:te},B?e.createElement(Z,{dataEventCategoryForBookmark:h,dataEventActionForBookmark:u,dataEventLabelForBookmark:b}):e.createElement(U,{dataEventCategoryForBookmark:h,dataEventActionForBookmark:u,dataEventLabelForBookmark:b}))),e.createElement(S,{tag:ae,style:K,className:"title",as:"lg"===H?"h2":"h3"},e.createElement("a",{className:Pn,"data-event-category":E,"data-event-action":p,"data-event-label":C,href:a||"#",target:$},Y)),q&&e.createElement("a",{href:a||"#",target:$},e.createElement(i,{size:ne,className:"text"},q))),e.createElement("div",{className:"footer"},"author"===Q?e.createElement(jn,{size:H,avatarImg:r,authorName:l,authorLink:n,uploadTime:J,handleClick:te,isBookmarked:B,dataEventCategoryForBookmark:h,dataEventActionForBookmark:u,dataEventLabelForBookmark:b}):e.createElement(Vn,{size:H,isMobile:z,avatarImg:r,specialty:j,name:l,link:n,handleClick:te,isBookmarked:B,dataEventCategoryForBookmark:h,dataEventActionForBookmark:u,dataEventLabelForBookmark:b}))))},Rn="lKjhvEi",Gn="HGYlQvl",On="AyUUQv-",Un=function(t){var a=t.LinkComponent,n=t.page,l=t.isLast,r=t.onChangePage,o=n.label,i=n.value,c=n.isDropdown,s=n.dropdownItems,m=n.dataEventCategory,d=n.dataEventAction,u=n.dataEventLabel;return c?e.createElement(K,{options:s,placeholder:"...",id:"",placeholderIcon:null,onChange:r,className:"collapsed-breadcrumb"}):e.createElement("div",{className:On,title:"string"!=typeof o?i:o,"data-last":l},a&&e.createElement(a,{"data-event-category":m,"data-event-action":d,"data-event-label":u,href:i||"#"},o))},Zn=function(t){var a=t.className,l=t.pages,o=t.size,i=t.LinkComponent,c=void 0===i?"a":i,s=t.onChangePage,m=t.separator,d=n((function(){return l.map((function(e,t){return l.length>4?t>1&&t<l.length-2?null:1===t?I(I({},e),{isDropdown:1===t,dropdownItems:l.slice(1,l.length-2)}):e:e})).filter(Boolean)}),[l]);return e.createElement("div",{"data-size":o,className:"".concat(Rn," ").concat(a||"")},d.map((function(t,a){var n=a+1===d.length;return e.createElement(r,{key:a},e.createElement(Un,{LinkComponent:c,page:t,isLast:n,onChangePage:s}),!n&&(t.separator||m||e.createElement("div",{className:Gn,"data-size":o})))})))},Kn=function(t){var a=t.imgBanner,n=t.label,l=t.className,r=t.style,o=t.href,c=void 0===o?"":o,s=t.dataEventCategory,m=t.dataEventAction,d=t.dataEventLabel;return e.createElement(q,{"data-event-category":s,"data-event-action":m,"data-event-label":d,className:l,style:r,href:c,onClick:function(e){""===c&&e.preventDefault()}},e.createElement("div",{className:"banner"},a),e.createElement("div",{className:"content"},e.createElement(i,{className:"category_name",size:"sm",type:"bold"},n)))},qn=function(t){var a=t.name,n=t.values,l=void 0===n?[]:n,r=t.onChanges,o=t.options,i=void 0===o?[]:o,c=t.className,s=t.type,m=void 0===s?"vertical":s,d=t.isDisabled,u=t.isRectangle,g=function(e,t){var a=l.slice();if(t)a.push(e);else{var n=a.findIndex((function(t){return t===e}));a.splice(n,1)}r&&r(a)};return e.createElement(Y,{className:c,"data-type":m,"data-is-rectangle":u||void 0},i.map((function(t,n){return e.createElement(_n,{label:t.label,name:a,key:"".concat(n,"-").concat(t.value),checked:l.includes(t.value),value:t.value,isDisabled:d||t.disabled,onChange:!d&&g,isRectangle:u})})))},Yn=function(t){var a=t.size,n=t.iconPosition,l=t.className,r=t.children,o=t.icon;return e.createElement(X,{className:l,"data-size":a,"data-icon-position":n},"left"===n&&o,r,"right"===n&&o)},Xn=function(a){var n=a.type,r=a.numberOfStep,i=a.activeStep,c=a.labelPrefix,s=a.detailSteps,m=a.className,d=a.onChange,u=t(0),g=u[0],p=u[1],v=function(t){var a=t.trackClassName,n=P(t,["trackClassName"]);return e.createElement(ee,I({},n,{className:a}),e.createElement(te,null))},h=e.createElement(Q,{className:m+" progress-bar"},e.createElement(v,null),e.createElement((function(t){var a=t.trackLength,n=t.activeStep,l=t.labelPrefix,o=void 0===l?"Step":l,i=t.onChange;return e.createElement(e.Fragment,null,Array.from({length:r},(function(e,t){return t})).map((function(t,l){return e.createElement(ae,{"data-is-active":l===n,"data-label":l,style:{left:l*a/(r-1)},onClick:function(){i&&i(l)},key:l},l+1,e.createElement(ne,{"data-step-passed":l<=n},o+" "+(l+1)))})))}),{trackLength:g,activeStep:i,labelPrefix:c,onChange:d})),f=e.createElement("svg",{"data-name":"Layer 1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 5.5 9.5"},e.createElement("title",null,"chevron-right"),e.createElement("path",{d:"M.75 8.75l4-4-4-4",fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5})),E=e.createElement(J,null,s&&Array.from({length:s.length},(function(e,t){return t})).map((function(t,a){var n;return e.createElement($,{key:a,"data-selected":a===i,onClick:function(){d&&d(a)}},null===(n=s[a])||void 0===n?void 0:n.text," ",a<s.length-1&&f)}))),y=e.createElement(Q,{className:m+" progress-bar"},e.createElement((function(t){var a=t.detailSteps,n=t.activeStep,l=t.onChange;return e.createElement(e.Fragment,null,Array.from({length:a.length},(function(e,t){return t})).map((function(t,r){return e.createElement(le,{key:r,style:{left:100/a.length*r+"%",width:100/a.length+"%"},onClick:function(){l&&l(r)}},a[r].icon?e.createElement(re,{onClick:function(){l&&l(r)}},a[r].icon):e.createElement(oe,{"data-is-active":r===n,"data-label":t,onClick:function(){l&&l(r)},key:r},r+1),e.createElement(ie,{"data-step-passed":r<n+1},a[r].text,e.createElement(ce,null,a[r].description)),r<a.length-1&&e.createElement(v,{"data-step-passed":r<n,trackClassName:"progress-track","data-track-type":"detail"}))})))}),{activeStep:i,detailSteps:s,onChange:d})),b=o(ya((function(){var e=document.querySelector(".progress-bar");e&&p(e.offsetWidth)}),1e3),[]);return l((function(){var e=document.querySelector(".progress-bar");return p(null==e?void 0:e.offsetWidth),window.addEventListener("resize",b,{passive:!0}),function(){window.removeEventListener("resize",b)}}),[]),"step-track"===n&&h||"breadcrumb"===n&&E||"detail-track"===n&&y},Qn=Object.freeze({__proto__:null,SideMenu:se,SideHeader:me,UserInfo:de,MenuLink:ue}),Jn=function(t){var a=t.status;return"inActive"===a?e.createElement("svg",{width:"6",height:"6",viewBox:"0 0 6 6",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("circle",{cx:"3",cy:"3",r:"3",fill:"#ADB3BC"})):"active"===a?e.createElement("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("circle",{cx:"6",cy:"6",r:"4",fill:"#2D87F3"}),e.createElement("circle",{cx:"6",cy:"6",r:"5.5",stroke:"#2D87F3"})):"done"===a?e.createElement("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M6 12C9.31371 12 12 9.31371 12 6C12 2.68629 9.31371 0 6 0C2.68629 0 0 2.68629 0 6C0 9.31371 2.68629 12 6 12Z",fill:"#00B16A"}),e.createElement("path",{d:"M8.76061 4.20029L4.80061 7.80029L3.00061 6.16392",stroke:"white",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})):e.createElement("svg",{width:"6",height:"6",viewBox:"0 0 6 6",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("circle",{cx:"3",cy:"3",r:"3",fill:"#ADB3BC"}))},$n=function(n){var r=n.row,o=void 0===r?2:r,i=n.column,c=void 0===i?3:i,s=n.isDotsShown,m=void 0===s||s,d=n.isImageGalleryShown,u=void 0!==d&&d,g=n.mode,p=void 0===g?"infinity":g,v=n.type,h=void 0===v?"separated":v,f=n.distanceOverlappedLeft,E=void 0===f?{amount:0,unit:"pixel"}:f,y=n.children,b=n.className,w=n.isProgressShown,C=void 0!==w&&w,k=n.statusChildren,N=n.isArrowShown,L=void 0!==N&&N,x=n.classNameLeftArrow,B=n.classNameRightArrow,M=n.dataEventCategory,_=n.dataEventAction,D=n.dataEventLabel,z=n.onChangePage,S=n.page,A=n.customPageWidth,I=n.scheme,T=void 0===I?"hellosites":I,P=n.arrowType,F=void 0===P?"Discover":P,H=t("number"==typeof S?S:0),j=H[0],V=H[1],W=[];e.Children.map(y,(function(t,a){a%(o*c)==0&&W.push([]),W[W.length-1].push(e.cloneElement(t))}));var R=a(),G=a(0),O=function(e){if(R.current){var t=R.current.clientWidth,a=A||t,n="intertwined"===h?"percentage"===E.unit?e*a+E.amount/100*a*e:e*a+E.amount*a*e:e*a;R.current.scrollTo({top:0,left:n,behavior:"smooth"}),G.current=e,V(e),z&&z(e)}};l((function(){"number"==typeof S&&function(e){if(R.current){var t=R.current.clientWidth,a=A||t,n="intertwined"===h?"percentage"===E.unit?e*a+E.amount/100*a*e:e*a+E.amount*a*e:e*a;R.current.scrollTo({top:0,left:n,behavior:"smooth"}),G.current=e,V(e)}}(S)}),[S]);var U=function(e){if(R.current){var t,a=R.current.clientWidth,n=A||a;t=0===j?0:j*n,"forward"===e&&(t===n*(W.length-1)?(V(W.length-1),t=n*(W.length-1),z&&z(W.length-1)):(V(j+1),t+=n,z&&z(j+1)),R.current.scrollTo({top:0,left:t,behavior:"smooth"})),"back"===e&&(0===t?(V(0),z&&z(0),t=0):(V(j-1),z&&z(j-1),t-=n),R.current.scrollTo({top:0,left:t,behavior:"smooth"}))}},Z=ya((function(){if("infinity"===p){if(!R.current)return;var e=R.current,t=e.clientWidth,a=e.scrollLeft,n=A||t,l=Math.floor(a/n);V(l),z&&z(l)}}),400);return l((function(){if("snapped"===p){var e,t,a,n,l,r,o=!1,i=R.current,c=function(r,c){o=!0,a=!1,n=!1,e=r-i.offsetLeft,t=c-i.offsetTop,l=i.scrollLeft},s=function(e){c(e.pageX,e.pageY)},m=function(e){c(e.touches[0].pageX,e.touches[0].pageY)},d=function(){if(o=!1,a=!1,n=!1,R.current){var e=R.current.clientWidth,t=A||e,l="ltr"===r?0!==G.current?G.current-1:G.current:"rtl"===r&&G.current<W.length-1?G.current+1:G.current,i="intertwined"===h?"percentage"===E.unit?l*t+E.amount/100*t*l:l*t+E.amount*t*l:l*t;R.current.scrollTo({top:0,left:i,behavior:"smooth"}),r="none",G.current!==l&&(G.current=l,V(l),z&&z(l))}},u=function(c,s){if(o){var m=c-i.offsetLeft,d=s-i.offsetTop,u=m-e,g=d-t;a||n||!(g>20||g<-20)||(a=!0),!a&&(u>20||u<-20)&&(n=!0,i.scrollLeft=l-u,u>0&&(r="ltr"),u<0&&(r="rtl"),0===u&&(r="none"))}},g=function(e){n&&e.preventDefault(),u(e.pageX,e.pageY)},v=function(e){n&&e.preventDefault(),u(e.touches[0].pageX,e.touches[0].pageY)};return null==i||i.addEventListener("mousedown",s,{passive:!0}),null==i||i.addEventListener("touchstart",m,{passive:!0}),window.addEventListener("mouseup",d,{passive:!0}),window.addEventListener("touchend",d,{passive:!0}),null==i||i.addEventListener("mousemove",g,{passive:!0}),null==i||i.addEventListener("touchmove",v,{passive:!0}),function(){null==i||i.removeEventListener("mousedown",s),null==i||i.removeEventListener("touchstart",m),window.removeEventListener("mouseup",d),window.removeEventListener("touchend",d),null==i||i.removeEventListener("mousemove",g),null==i||i.removeEventListener("touchmove",v)}}}),[]),e.createElement(ge,{className:b,"data-row":o,onScroll:Z},L&&j>0&&e.createElement("div",{className:"".concat(x," arrow-left"),onClick:function(){return U("back")},"data-event-category":M,"data-event-action":_,"data-event-label":D},"Care"===F?e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"42",height:"42",viewBox:"0 0 42 42",fill:"none"},e.createElement("g",{filter:"url(#filter0_dd_12599_34420)"},e.createElement("path",{d:"M7.00024 19C7.00024 10.1634 14.1637 3 23.0002 3V3C31.8368 3 39.0002 10.1634 39.0002 19V19C39.0002 27.8366 31.8368 35 23.0002 35V35C14.1637 35 7.00024 27.8366 7.00024 19V19Z",fill:"white"}),e.createElement("path",{d:"M20.9293 19L24.7503 15.179C25.1643 14.765 25.1643 14.093 24.7503 13.679C24.3363 13.265 23.6643 13.265 23.2503 13.679L18.6363 18.293C18.2453 18.684 18.2453 19.317 18.6363 19.707L23.2503 24.321C23.6643 24.735 24.3363 24.735 24.7503 24.321C25.1643 23.907 25.1643 23.235 24.7503 22.821L20.9293 19Z",fill:"#595959"}),e.createElement("path",{d:"M23.0002 34C14.716 34 8.00024 27.2843 8.00024 19H6.00024C6.00024 28.3888 13.6114 36 23.0002 36V34ZM38.0002 19C38.0002 27.2843 31.2845 34 23.0002 34V36C32.3891 36 40.0002 28.3888 40.0002 19H38.0002ZM23.0002 4C31.2845 4 38.0002 10.7157 38.0002 19H40.0002C40.0002 9.61116 32.3891 2 23.0002 2V4ZM23.0002 2C13.6114 2 6.00024 9.61116 6.00024 19H8.00024C8.00024 10.7157 14.716 4 23.0002 4V2Z",fill:"#DBDFE5"})),e.createElement("defs",null,e.createElement("filter",{id:"filter0_dd_12599_34420",x:"0.000244141",y:"0",width:"42",height:"42",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},e.createElement("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),e.createElement("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),e.createElement("feOffset",{dx:"-2",dy:"2"}),e.createElement("feGaussianBlur",{stdDeviation:"2.5"}),e.createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 0.263201 0 0 0 0 0.335725 0 0 0 0 0.393257 0 0 0 0.123689 0"}),e.createElement("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_12599_34420"}),e.createElement("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),e.createElement("feOffset",{dx:"-1",dy:"1"}),e.createElement("feGaussianBlur",{stdDeviation:"1"}),e.createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 0.264489 0 0 0 0 0.275745 0 0 0 0 0.28861 0 0 0 0.01 0"}),e.createElement("feBlend",{mode:"normal",in2:"effect1_dropShadow_12599_34420",result:"effect2_dropShadow_12599_34420"}),e.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect2_dropShadow_12599_34420",result:"shape"})))):e.createElement("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M15.9996 28.2218C22.7497 28.2218 28.2218 22.7497 28.2218 15.9996C28.2218 9.24942 22.7497 3.77734 15.9996 3.77734C9.24942 3.77734 3.77734 9.24942 3.77734 15.9996C3.77734 22.7497 9.24942 28.2218 15.9996 28.2218Z",stroke:"hellosites"===T?"#2D87F3":"#e85388",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M15.9997 11.1109L11.1108 15.9998L15.9997 20.8887",stroke:"hellosites"===T?"#2D87F3":"#e85388",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M20.8886 15.999L11.1108 15.999",stroke:"hellosites"===T?"#2D87F3":"#e85388",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}))),e.createElement("div",{ref:R,className:"container",style:{overflowX:"snapped"===p||L?"hidden":"scroll"}},W.map((function(t,a){for(var n=0,l=0;l<a;l++)n+=W[l].length;return e.createElement("div",{key:a,className:"section",style:{marginLeft:"intertwined"===h&&0!==a?E.amount+""+("percentage"===E.unit?"%":"px"):"0px"}},1===o&&C&&e.createElement("div",{className:"progress-bar",style:{gridTemplateColumns:"repeat(".concat(c,", 1fr)")}},t.map((function(l,r){var o=n+r,i=k.find((function(e){return e.index===o}));return e.createElement("div",{className:"items-progress",key:r},0===r&&0===a?e.createElement("div",{className:"line",style:{visibility:"hidden"}}):e.createElement("div",{className:"line"}),e.createElement("div",{className:"icon-status"},e.createElement(Jn,{status:null==i?void 0:i.status})),a===W.length-1&&r===t.length-1?e.createElement("div",{className:"line",style:{visibility:"hidden"}}):e.createElement("div",{className:"line"}))}))),e.createElement("div",{className:"grid-layout","data-index":a,style:{gridTemplateColumns:"repeat(".concat(c,", 1fr)"),gridTemplateRows:"repeat(".concat(o,", 1fr)")}},t.map((function(t,a){return e.createElement(e.Fragment,{key:a},e.createElement("div",{className:"item-grid",key:a},t))}))))}))),L&&j<W.length-1&&e.createElement("div",{className:"".concat(B," arrow-right"),onClick:function(){return U("forward")},"data-event-category":M,"data-event-action":_,"data-event-label":D}," ","Care"===F?e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"42",height:"42",viewBox:"0 0 42 42",fill:"none"},e.createElement("g",{filter:"url(#filter0_dd_12597_34423)"},e.createElement("path",{d:"M7.00024 19C7.00024 10.1634 14.1637 3 23.0002 3C31.8368 3 39.0002 10.1634 39.0002 19C39.0002 27.8366 31.8368 35 23.0002 35C14.1637 35 7.00024 27.8366 7.00024 19Z",fill:"white"}),e.createElement("path",{d:"M24.0712 19L20.2502 15.179C19.8362 14.765 19.8362 14.093 20.2502 13.679C20.6642 13.265 21.3362 13.265 21.7502 13.679L26.3642 18.293C26.7552 18.684 26.7552 19.317 26.3642 19.707L21.7502 24.321C21.3362 24.735 20.6642 24.735 20.2502 24.321C19.8362 23.907 19.8362 23.235 20.2502 22.821L24.0712 19Z",fill:"#595959"}),e.createElement("path",{d:"M23.0002 34C14.716 34 8.00024 27.2843 8.00024 19H6.00024C6.00024 28.3888 13.6114 36 23.0002 36V34ZM38.0002 19C38.0002 27.2843 31.2845 34 23.0002 34V36C32.3891 36 40.0002 28.3888 40.0002 19H38.0002ZM23.0002 4C31.2845 4 38.0002 10.7157 38.0002 19H40.0002C40.0002 9.61116 32.3891 2 23.0002 2V4ZM23.0002 2C13.6114 2 6.00024 9.61116 6.00024 19H8.00024C8.00024 10.7157 14.716 4 23.0002 4V2Z",fill:"#DBDFE5"})),e.createElement("defs",null,e.createElement("filter",{id:"filter0_dd_12597_34423",x:"0.000244141",y:"0",width:"42",height:"42",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},e.createElement("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),e.createElement("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),e.createElement("feOffset",{dx:"-2",dy:"2"}),e.createElement("feGaussianBlur",{stdDeviation:"2.5"}),e.createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 0.263201 0 0 0 0 0.335725 0 0 0 0 0.393257 0 0 0 0.123689 0"}),e.createElement("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_12597_34423"}),e.createElement("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),e.createElement("feOffset",{dx:"-1",dy:"1"}),e.createElement("feGaussianBlur",{stdDeviation:"1"}),e.createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 0.264489 0 0 0 0 0.275745 0 0 0 0 0.28861 0 0 0 0.01 0"}),e.createElement("feBlend",{mode:"normal",in2:"effect1_dropShadow_12597_34423",result:"effect2_dropShadow_12597_34423"}),e.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect2_dropShadow_12597_34423",result:"shape"})))):e.createElement("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M15.9996 28.2218C22.7497 28.2218 28.2218 22.7497 28.2218 15.9996C28.2218 9.24942 22.7497 3.77734 15.9996 3.77734C9.24942 3.77734 3.77734 9.24942 3.77734 15.9996C3.77734 22.7497 9.24942 28.2218 15.9996 28.2218Z",stroke:"hellosites"===T?"#2D87F3":"#e85388",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M15.9998 20.8891L20.8887 16.0002L15.9998 11.1113",stroke:"hellosites"===T?"#2D87F3":"#e85388",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M11.1109 16L20.8887 16",stroke:"hellosites"===T?"#2D87F3":"#e85388",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}))),m&&e.createElement("ul",{className:"bullet-nav"},W.map((function(t,a){return e.createElement("li",{key:a,className:"bullet-nav__item "},e.createElement("p",{onClick:function(){return O(a)},className:"bullet-nav__link scroll ".concat(j==a?"active":null),"data-scheme":T}))}))),u&&e.createElement("div",{className:"image-gallery-wrapper","data-test":W.length},W.slice(0,3).map((function(t,a){return e.createElement("div",{className:"image-block ".concat(j==a?"active":null),key:a,onClick:function(){return O(a)},"data-scheme":T},t)}))))},el=function(t){var a=t.isDisabled,n=t.isLeft,l=t.onClick,r=t.className,o=t.scheme,i=void 0===o?"hellosites":o;return e.createElement(he,{onClick:l,"data-is-disabled":a,"data-is-left":n,className:r},e.createElement("svg",{width:"8",height:"12",viewBox:"0 0 8 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n?e.createElement("path",{d:"M2.92902 6.00015L6.75002 2.17915C7.16402 1.76515 7.16402 1.09315 6.75002 0.679152C6.33602 0.265152 5.66402 0.265152 5.25002 0.679152L0.636023 5.29315C0.245023 5.68415 0.245023 6.31715 0.636023 6.70715L5.25002 11.3212C5.66402 11.7352 6.33602 11.7352 6.75002 11.3212C7.16402 10.9072 7.16402 10.2352 6.75002 9.82115L2.92902 6.00015Z",fill:"hellosites"===i?"#595959":"#E55C8A"}):e.createElement("path",{d:"M5.07095 6.00015L1.24995 2.17915C0.835953 1.76515 0.835953 1.09315 1.24995 0.679152C1.66395 0.265152 2.33595 0.265152 2.74995 0.679152L7.36395 5.29315C7.75495 5.68415 7.75495 6.31715 7.36395 6.70715L2.74995 11.3212C2.33595 11.7352 1.66395 11.7352 1.24995 11.3212C0.835953 10.9072 0.835953 10.2352 1.24995 9.82115L5.07095 6.00015Z",fill:"hellosites"===i?"#595959":"#E55C8A"})))},tl=function(a){for(var n=a.row,l=a.column,r=a.children,o=a.scheme,i=void 0===o?"hellosites":o,c=a.classNameLeftArrow,s=void 0===c?"":c,m=a.classNameRightArrow,d=void 0===m?"":m,u=a.mode,g=void 0===u?"snap":u,p=a.isDotsShown,v=void 0===p||p,h=a.isArrowShown,f=void 0!==h&&h,E=a.dataEventCategory,y=a.dataEventAction,b=a.dataEventLabel,w=a.onChangePage,C=e.useState(0),k=C[0],N=C[1],L=t(!1),x=L[0],B=L[1],M=ba({defaultAnimation:{duration:1e3},initial:0,slideChanged:function(e){N(e.track.details.rel),w&&w(e.track.details.rel)},created:function(){B(!0)},drag:!0,mode:g,slides:{spacing:12}}),_=M[0],D=M[1],z=[],S=n*l,A=0;A<r.length;A+=S){var I=r.slice(A,A+S);z.push(I)}return e.createElement(pe,{row:n,column:l},e.createElement("div",{className:"navigation-wrapper"},e.createElement("div",{ref:_,className:"keen-slider slides-wrapper"},z.map((function(t,a){return e.createElement("div",{key:a,className:"keen-slider__slide page-items"},t.map((function(t,a){return e.createElement("div",{key:a},t)})))}))),x&&D.current&&f&&e.createElement(e.Fragment,null,e.createElement(el,{isLeft:!0,onClick:function(e){var t;return e.stopPropagation()||(null===(t=D.current)||void 0===t?void 0:t.prev())},isDisabled:0===k,scheme:i,className:"left-arrow ".concat(s),"data-event-category":E,"data-event-action":y,"data-event-label":b}),e.createElement(el,{isLeft:!1,onClick:function(e){var t;return e.stopPropagation()||(null===(t=D.current)||void 0===t?void 0:t.next())},isDisabled:k===D.current.track.details.slides.length-1,scheme:i,className:"right-arrow ".concat(d),"data-event-category":E,"data-event-action":y,"data-event-label":b}))),x&&D.current&&v&&e.createElement("div",{className:"dots"},T([],Array(D.current.track.details.slides.length),!0).map((function(t,a){return e.createElement(ve,{key:a,onClick:function(){var e;null===(e=D.current)||void 0===e||e.moveToIdx(a)},"data-is-active":k===a,"data-is-hellosites":"hellosites"===i})}))))},al=function(t){var a=t.type,n=t.description,l=t.value,r=t.withIcon,o=t.isInACard,i=t.cardColor,c=t.className;return e.createElement(fe,{className:c,"data-size":a,"data-is-in-card":"big"===a&&o,"data-card-color":i},e.createElement(Ee,null,"small"===a&&e.createElement(ye,{"data-color":i}),n),e.createElement(be,{"data-size":a},"small"!==a&&r,l))},nl=Object.freeze({__proto__:null,Table:we,Cell:Ce,Head:ke,Row:Ne,Body:Le}),ll=function(t){var a=t.thankyou,n=t.thankyouSubtitle,l=t.className,r=t.style;return e.createElement(xe,{className:l,style:r},e.createElement("div",{className:"survey-inner-wrapper"},e.createElement(Be,null,e.createElement("div",{className:"survey-thankyou-wrapper-inner"},e.createElement("svg",{viewBox:"0 0 122 122",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"survey-thankyou-icon"},e.createElement("path",{d:"M61.5 122C94.6371 122 121.5 95.1371 121.5 62C121.5 28.8629 94.6371 2 61.5 2C28.3629 2 1.5 28.8629 1.5 62C1.5 95.1371 28.3629 122 61.5 122Z",fill:"#E3F2FF"}),e.createElement("ellipse",{cx:"61.5",cy:"110.36",rx:"48",ry:"3.36",fill:"#91CAFF"}),e.createElement("path",{d:"M82.9048 72.6663H101.5L87.597 40H35.403L21.5 72.6663H40.0952V91H83.0786L82.9048 72.6663Z",fill:"#2C74DF"}),e.createElement("path",{d:"M74.4004 15.0005H39.863C36.9017 15.0005 34.5 17.4022 34.5 20.3635V72.5769C34.5 75.5383 36.9017 77.9399 39.863 77.9399H83.1357C86.097 77.9399 88.4987 75.5383 88.4987 72.5769V29.0988L88.4987 21.0005C88.4987 17.6868 85.8124 15.0005 82.4987 15.0005H74.4004Z",fill:"white"}),e.createElement("path",{d:"M88.8529 80.1077H34.1469C31.8699 80.1077 30.06 78.3036 30.06 76.0338V65.3837C30.06 63.1139 31.8699 61.3098 34.1469 61.3098H88.8529C91.1299 61.3098 92.9398 63.1139 92.9398 65.3837V76.0338C92.9398 78.3036 91.1299 80.1077 88.8529 80.1077Z",fill:"#E4E8EC"}),e.createElement("path",{d:"M90.838 85.4512H32.1618C29.8849 85.4512 28.075 83.6471 28.075 81.3774V70.7272C28.075 68.4575 29.8849 66.6533 32.1618 66.6533H90.7796C93.0566 66.6533 94.8665 68.4575 94.8665 70.7272V81.3774C94.9249 83.6471 93.0566 85.4512 90.838 85.4512Z",fill:"white"}),e.createElement("path",{d:"M103.748 75.4919V105.755C103.748 107.675 102.172 109.247 100.245 109.247H23.0031C21.0764 109.247 19.5 107.675 19.5 105.755V75.4919C19.5 73.5713 21.0764 72 23.0031 72H42.3866C44.3133 72 45.8897 73.5713 45.8897 75.4919V80.8461C45.8897 81.1952 46.1232 81.428 46.4735 81.428H76.7749C77.1253 81.428 77.3588 81.1952 77.3588 80.8461V75.4919C77.3588 73.5713 78.9352 72 80.8618 72H100.245C102.172 72 103.748 73.5713 103.748 75.4919Z",fill:"#45A4FF"}),e.createElement("path",{d:"M51.9541 91.3767V94.4612C51.9541 96.0907 53.2386 97.3711 54.8733 97.3711H67.7179C69.3526 97.3711 70.6371 96.0907 70.6371 94.4612V91.3767",stroke:"#2C74DF",strokeWidth:"3",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M120.5 38.0251C118.5 37.7793 117.25 39.3768 118.125 41.22L118.375 41.9573C119.125 43.8006 118 45.398 116 45.1523L115.25 45.0294C113.25 44.7836 112 46.3811 112.875 48.2244L113.25 48.9616C114 50.8049 112.875 52.4025 110.875 52.1567L110.125 52.0337C108.625 51.9109 107.5 52.7712 107.5 54",stroke:"#FE921D",strokeWidth:"1.9096",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M1.53299 62C1.2644 63.413 2.6745 64.337 4.35323 63.8478L5.02472 63.6304C6.70346 63.087 8.11356 64.0109 7.84496 65.4783L7.7107 66.0217C7.4421 67.4348 8.8522 68.3587 10.5309 67.8696L11.2024 67.6522C12.8812 67.1087 14.2913 68.0326 14.0227 69.5L13.8884 70.0435C13.687 71.1304 14.4256 71.8913 15.5 72",stroke:"#00B16A",strokeWidth:"2.8751",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M118 92C119.381 92 120.5 90.8807 120.5 89.5C120.5 88.1193 119.381 87 118 87C116.619 87 115.5 88.1193 115.5 89.5C115.5 90.8807 116.619 92 118 92Z",stroke:"#00B16A",strokeWidth:"2.8751",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M82.0001 3.18747L83.1875 7.53467L87.5347 6.34727L86.3473 2.00007L82.0001 3.18747Z",stroke:"#00B16A",strokeWidth:"2.1628",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M17.0001 28C18.1046 28 19 27.1045 19 25.9999C19 24.8954 18.1046 24 17.0001 24C15.8955 24 15 24.8954 15 25.9999C15 27.1045 15.8955 28 17.0001 28Z",stroke:"#FE921D",strokeWidth:"2.3278",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M61.5 26.6667C54.136 26.6667 48.1667 32.6361 48.1667 40.0001C48.1667 47.3641 54.136 53.3334 61.5 53.3334C68.864 53.3334 74.8334 47.3641 74.8334 40.0001C74.8334 32.6361 68.864 26.6667 61.5 26.6667ZM69.1094 36.9427L59.776 46.2761C59.516 46.5361 59.1747 46.6667 58.8334 46.6667C58.492 46.6667 58.1507 46.5361 57.8907 46.2761L53.8907 42.2761C53.3694 41.7547 53.3694 40.9121 53.8907 40.3907C54.412 39.8694 55.2547 39.8694 55.776 40.3907L58.8334 43.4481L67.224 35.0574C67.7454 34.5361 68.588 34.5361 69.1094 35.0574C69.6307 35.5787 69.6307 36.4214 69.1094 36.9427Z",fill:"#00CB8A"})),a&&e.createElement(S,{className:"survey-thankyou-title",tag:"h3"},a),n&&e.createElement(i,{className:"survey-thankyou-subtitle",size:"p3"},n)))))},rl=function(a){var n=a.items,r=a.className,o=a.style,i=a.backgroundPanelStyle,c=a.isOpen,s=a.onOpen,m=a.onClose,d=a.disableBackdropClick,u=a.siteType,g=void 0===u?"hb":u,p=a.animationType,v=void 0===p?"zoom":p,h=a.zIndex,f=void 0===h?300:h,E=t(!!c),y=E[0],b=E[1];l((function(){b(!!c)}),[c]);var w=function(){b(!1),m&&m()};return e.createElement(Me,{style:o,className:r,"data-floatmenu-open":y,"data-site-type":g,"data-animation-type":v},e.createElement(_e,{className:"float-button-group__panel",style:I({zIndex:f},i),onClick:d?void 0:w}),e.createElement(De,{className:"float-button-group___content",style:{zIndex:f}},e.createElement(ze,null,n.map((function(t,a){return e.createElement(Se,{className:"float-item-button-".concat(a),style:I(I({},"zoom"===v&&{bottom:64*(n.length-1-a),transitionDelay:"".concat(Ae/n.length*(y?n.length-1-a:a),"ms")}),"slide"===v&&{bottom:64*(n.length-1-a),transitionDelay:"".concat(Ae/n.length*(y?a:n.length-1-a),"ms")}),key:a,onClick:function(){t.onClick(),t.keepMenuOnClick||b(!1)}},e.createElement(Ie,{style:I({},"zoom"===v&&{transitionDelay:"".concat(Ae/n.length*(y?n.length-1-a:a),"ms")})},t.label),e.createElement(Te,{className:"float-item-button__icon-wrapper",style:I({},("zoom"===v||"slide"===v)&&{transitionDelay:"".concat(Ae/n.length*(y?n.length-1-a:a),"ms")})},t.icon))}))),e.createElement(Pe,{onClick:y?w:function(){b(!0),s&&s()}})))},ol=function(t){var a=t.className,n=t.policiesUrl,l=t.onAcceptClick,r=t.translations,o=void 0===r?{acceptButton:"Accept",policiesButton:"Our Policies"}:r,i=t.title,c=void 0===i?"":i,s=t.description,m=void 0===s?"":s,d=t.theme,u=void 0===d?"helloSites":d,g=t.isOpen,p=void 0===g||g,v=t.useDefaultPosition,h=void 0===v||v,f=t.trackingAttributes;return e.createElement(Fe,{className:a,"data-theme":u,"data-is-open":p,"data-default-position":h},e.createElement(He,{"data-has-content":!!c},c),e.createElement(je,{dangerouslySetInnerHTML:{__html:m}}),e.createElement(Ve,null,e.createElement(We,{role:"button",tabIndex:0,on:"tap:consent-element.accept",onClick:l,"data-event-category":null==f?void 0:f.dataEventCategory,"data-event-action":null==f?void 0:f.dataEventAction,"data-event-label":null==f?void 0:f.dataEventLabel},o.acceptButton),e.createElement(Re,{href:n},o.policiesButton)))},il=function(t){var a,l,r,o,i,c,s,m,d,u,g,p,v=t.SEOData,h=void 0===v?{}:v,f=t.locale,E=void 0===f?"vi-VN":f,y=t.routerPathname,b=t.routerQuery,w=t.nextHead,C=t.siteType,k=t.seoCustom,N=t.userId,L=t.forcedCanonicalUrl,x=h.totalPages,B=h.currentPage,M=h.SEOTitle,_=void 0===M?"":M,D=h.SEODescription,z=void 0===D?"":D,S=h.SEOImage,A=h.seoType,P=h.SEOImageWidth,F=h.SEOImageHeight,H=h.customMetaData,j=void 0===H?[]:H,V=h.isIndexable,W=void 0===V||V,R=h.hasNoCanonical,G=void 0!==R&&R,O=W&&La?"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1":"noindex",U=process.env.NEXT_PUBLIC_BASE_API_URL,Z=h.canonicalUrl||y;Object.keys(b).forEach((function(e){var t=b[e];t&&Array.isArray(t)&&(Z=Z.replace("[...".concat(e,"]"),t.join("/")))}));var K=E||"en-PH",q="helloSites"===C?wa[K]:"www.marrybaby.vn",Y=Z.endsWith("/")?"":"/",X=n((function(){var t,a,n,l,r,o,i,c="";if(h.apiMetaData&&"string"==typeof h.apiMetaData){var s=null===(t=h.apiMetaData)||void 0===t?void 0:t.match(/<title.*?>(.*)<\/title>/),m=" - Page ".concat(B," of ").concat(x),d=B&&1!==B&&s?h.apiMetaData.replace(s[0],s[0].includes("-")?s[0].replace("-",m+" - "):"<title>".concat(s[1].concat(m),"</title>")).replace('<link rel="canonical" href="https://'.concat(q).concat(Z).concat(Y,'" />'),'<link rel="canonical" href="https://'.concat(q).concat(Z).concat(Y,"?page=").concat(B,'" />')):h.apiMetaData;if(!(c=Ge(d,{trim:!0})).find((function(e){var t,a;return"og:image"===(null===(t=e.props)||void 0===t?void 0:t.property)||"og:image:secure_url"===(null===(a=e.props)||void 0===a?void 0:a.property)}))){var u="https://".concat(q,"/images/").concat(E,".png");c=T(T([],c,!0),[e.createElement("meta",{key:"og:image",property:"og:image",content:(null===(a=h.openGraph)||void 0===a?void 0:a.image)||S||u||""}),e.createElement("meta",{key:"og:image:secure_url",property:"og:image:secure_url",content:(null===(n=h.openGraph)||void 0===n?void 0:n.image)||S||u}),e.createElement("meta",{key:"og:image:width",property:"og:image:width",content:(null===(l=h.openGraph)||void 0===l?void 0:l.imageWidth)&&String(null===(r=h.openGraph)||void 0===r?void 0:r.imageWidth)||P&&String(P)||"1200"}),e.createElement("meta",{key:"og:image:height",property:"og:image:height",content:(null===(o=h.openGraph)||void 0===o?void 0:o.imageHeight)&&String(null===(i=h.openGraph)||void 0===i?void 0:i.imageHeight)||F&&String(F)||"630"})],!1)}}return c}),[h.apiMetaData,h.openGraph,S,F,P,B,Z,x,E,q]),Q="https://".concat(q,"/images/").concat(E,".png");return e.createElement(w,null,e.createElement("link",{rel:"preconnect",href:"https://fonts.gstatic.com"}),"marryBaby"===C&&e.createElement("link",{href:"https://fonts.googleapis.com/css2?family=Inter&family=Krub:wght@600&display=swap",rel:"stylesheet"}),"km-KH"===E?e.createElement("link",{href:"https://fonts.googleapis.com/css2?family=Battambang:wght@400;700&display=swap",rel:"stylesheet"}):"id-ID"===E||"ms-MY"===E?e.createElement(e.Fragment,null):e.createElement("link",{href:"https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,600;0,700;0,800;1,300;1,400;1,600;1,700;1,800&display=swap",rel:"preload",as:"style"}),e.createElement("link",{rel:"preconnect",href:U}),e.createElement("meta",{charSet:"UTF-8"}),e.createElement("meta",{name:"viewport",content:"width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, viewport-fit=cover"}),e.createElement("meta",{name:"google",content:"notranslate"}),e.createElement("meta",{name:"robots",content:O}),e.createElement("meta",{property:"fb:app_id",content:"653713035016537"}),j.map((function(t,a){return e.createElement("meta",I({key:a},t))})),e.createElement("meta",{name:"theme-color",content:"helloSites"===C?"#2c87f3":"#e85388"}),e.createElement("meta",{name:"page_type",content:"Home"}),e.createElement("meta",{name:"page_platform",content:"WEB"}),e.createElement("meta",{name:"page_language",content:K}),e.createElement("meta",{name:"ahrefs-site-verification",content:"46e7521a2b89a1013149c4685bbe02a1d36a4732fef98655142b829bc87cba4d"}),!X&&e.createElement(e.Fragment,null,"helloSites"===C?e.createElement("title",null,k?_:_+" - "+(null===(a=Ca[E])||void 0===a?void 0:a.SITE_NAME)):e.createElement("title",null,_),!G&&e.createElement("link",{rel:"canonical",href:"https://".concat(q).concat(Z)}),e.createElement("meta",{name:"description",content:z||(null===(l=h.openGraph)||void 0===l?void 0:l.description)}),h.schemaData&&e.createElement("script",{type:"application/ld+json",className:"yoast-schema-graph",dangerouslySetInnerHTML:{__html:h.schemaData}}),e.createElement("meta",{property:"og:locale",content:E}),e.createElement("meta",{property:"og:type",content:A||"website"}),e.createElement("meta",{property:"og:title",content:(null===(r=h.openGraph)||void 0===r?void 0:r.title)||_}),e.createElement("meta",{property:"og:description",content:(null===(o=h.openGraph)||void 0===o?void 0:o.description)||z}),e.createElement("meta",{property:"og:url",content:"https://".concat(q).concat(Z)}),e.createElement("meta",{property:"og:site_name",content:"https://".concat(q)}),e.createElement("meta",{property:"og:image",content:(null===(i=h.openGraph)||void 0===i?void 0:i.image)||S||Q||""}),e.createElement("meta",{property:"og:image:secure_url",content:(null===(c=h.openGraph)||void 0===c?void 0:c.image)||S||Q}),e.createElement("meta",{property:"og:image:width",content:(null===(s=h.openGraph)||void 0===s?void 0:s.imageWidth)&&String(null===(m=h.openGraph)||void 0===m?void 0:m.imageWidth)||P&&String(P)||"1200"}),e.createElement("meta",{property:"og:image:height",content:(null===(d=h.openGraph)||void 0===d?void 0:d.imageHeight)&&String(null===(u=h.openGraph)||void 0===u?void 0:u.imageHeight)||F&&String(F)||"630"}),e.createElement("meta",{name:"twitter:card",content:"summary_large_image"}),e.createElement("meta",{name:"twitter:title",content:(null===(g=h.twitter)||void 0===g?void 0:g.title)||_}),e.createElement("meta",{name:"twitter:description",content:z}),e.createElement("meta",{name:"twitter:image",content:(null===(p=h.twitter)||void 0===p?void 0:p.image)||S})),("helloSites"===C?ka[K]||[]:ka.marryBaby).map((function(t,a){return"link"===t.type?e.createElement("link",{key:"favicon-".concat(a),rel:t.rel,href:t.href,sizes:t.sizes}):"meta"===t.type?e.createElement("meta",{key:a,name:t.name,content:t.content}):null})),Array.isArray(X)&&L?X.filter((function(e){return"canonical"!==e.props.name&&"canonical"!==e.props.rel})):X,L&&e.createElement("link",{rel:"canonical",href:L}),!h.hasNoAmp&&"vi-VN"!==E&&e.createElement("link",{rel:"amphtml",href:"https://".concat(q).concat(Z).concat(Y,"?amp=1")}),N&&"undefined"!=typeof window?e.createElement("script",{dangerouslySetInnerHTML:{__html:"window.dataLayer = window.dataLayer || []; window.dataLayer.push({'userID': '".concat(N,"'});")}}):null)},cl=function(a){var n=a.locale,l=a.onClick,r=a.siteType,o=a.pageUrl,c=xa().t,s=t(new Date),m=s[0],d=s[1];return e.createElement(e.Fragment,null,e.createElement(Oe,{className:"input-form","data-is-side":!0},"marryBaby"===r?e.createElement(Ue,{label:c("dueDatePage.conceptionDate"),name:"date",size:"md",value:Ze(m),CustomInput:e.createElement(Ke,{onChange:function(e){d(e)},placeholder:"dd/mm/yyyy",pickedDate:m,displayDateFormat:"dd/MM/yyyy",disabledDays:{before:new Date((new Date).getTime()-24192e6)},customInput:function(t){return e.createElement(Va,I({className:"due-date-input",name:"birthday",size:"md"},t,{value:m&&ja(m).format(Ka)}))}}),actionIcon:e.createElement(Ra.CalendarMB,{size:32})}):e.createElement(Va,{label:e.createElement(i,{size:"n1",type:"bold",color:G.colors.gray600,style:{marginBottom:"9px",flex:"1"}},c("dueDatePage.conceptionDate")),value:Ze(m),name:"date",size:"md",className:"due-date-input",CustomInput:e.createElement(Ke,{customInput:function(t){return e.createElement("input",I({type:"date",className:"due-date-input"},t,{value:Ze(m)}))},disabledDays:{before:new Date((new Date).getTime()-24192e6)},locale:n,pickedDate:m,displayDateFormat:Za,onChange:function(e){d(e)},placeholder:"placeholder"})})),e.createElement(W,{className:"due-date-calculate-button",size:"lg",color:"marryBaby"===r?"secondary":"primary",theme:r,dataEventCategory:"Health Tool",dataEventAction:"Due Date",dataEventLabel:o,onClick:function(){l(qe(m),"".concat(Na.type,"=1&sd=").concat(Ba(m,Ye),"&").concat(Na.additional,"= "))},role:"button"},c("dueDatePage.lastPeriod.calculate")))},sl=function(a){var n=a.locale,l=a.onClick,r=a.siteType,o=a.pageUrl,c=xa().t,s=t(new Date),m=s[0],d=s[1],u=t("3"),g=u[0],p=u[1];return e.createElement(e.Fragment,null,e.createElement(Oe,{className:"input-form","data-is-side":!0},"marryBaby"===r?e.createElement(Ue,{label:c("dueDatePage.ivf.transferDate"),name:"date",size:"md",value:Ze(m),CustomInput:e.createElement(Ke,{onChange:function(e){d(e)},placeholder:"dd/mm/yyyy",pickedDate:m,displayDateFormat:"dd/MM/yyyy",disabledDays:{before:new Date((new Date).getTime()-24192e6)},customInput:function(t){return e.createElement(Va,I({className:"due-date-input",name:"birthday",size:"md"},t,{value:m&&ja(m).format(Ka)}))}}),actionIcon:e.createElement(Ra.CalendarMB,{size:32})}):e.createElement(Va,{label:e.createElement(i,{size:"n1",type:"bold",color:G.colors.gray700,style:{marginBottom:"9px",flex:"1"}},c("dueDatePage.ivf.transferDate")),value:Ze(m),name:"date",size:"md",className:"due-date-input",CustomInput:e.createElement(Ke,{customInput:function(t){return e.createElement("input",I({type:"date",className:"due-date-input"},t,{value:Ze(m)}))},disabledDays:{before:new Date((new Date).getTime()-24192e6)},locale:n,pickedDate:m,displayDateFormat:Za,onChange:function(e){d(e)},placeholder:"placeholder"})})),e.createElement("div",{style:{width:"100%"}},e.createElement(Xe,{id:"radio-transfer-date",type:"circle",direction:"vertical",size:"small",group:"group1",value:g,onChange:function(e){return p(e)},options:[{value:"3",label:c("dueDatePage.ivf.transferDateRadio",{number:3})},{value:"5",label:c("dueDatePage.ivf.transferDateRadio",{number:5})}]})),e.createElement(W,{className:"due-date-calculate-button",size:"lg",color:"marryBaby"===r?"secondary":"primary",theme:r,dataEventCategory:"Health Tool",dataEventAction:"Due Date",dataEventLabel:o,onClick:function(){l(Qe(m,Number(g)),"".concat(Na.type,"=2&").concat(Na.startDate,"=").concat(Ba(m,Ye),"&").concat(Na.additional,"=").concat(g))},role:"button"},c("dueDatePage.lastPeriod.calculate")))},ml=function(a){var n=a.locale,l=a.onClick,r=a.siteType,o=a.pageUrl,c=xa().t,s=t(28),m=s[0],d=s[1],u=t(new Date),g=u[0],p=u[1];return e.createElement(e.Fragment,null,e.createElement(Oe,{className:"input-form","data-is-side":!0},"marryBaby"===r?e.createElement(Ue,{label:c("dueDatePage.lastPeriod.lastPeriodLabel"),name:"date",size:"md",value:Ze(g),CustomInput:e.createElement(Ke,{onChange:function(e){p(e)},placeholder:"dd/mm/yyyy",pickedDate:g,displayDateFormat:"dd/MM/yyyy",disabledDays:{before:new Date((new Date).getTime()-24192e6)},customInput:function(t){return e.createElement(Va,I({name:"birthday",size:"md"},t,{value:g&&ja(g).format(Ka)}))}}),actionIcon:e.createElement(Ra.CalendarMB,{size:32})}):e.createElement(Va,{className:"input-section due-date-input",label:e.createElement(i,{size:"n1",type:"bold",color:G.colors.gray600,style:{marginBottom:"9px",flex:"1"}},c("dueDatePage.lastPeriod.lastPeriodLabel")),value:Ze(g),name:"date",size:"md",CustomInput:e.createElement(Ke,{customInput:function(t){return e.createElement("input",I({type:"date",className:"due-date-input"},t,{value:Ze(g)}))},disabledDays:{before:new Date((new Date).getTime()-24192e6)},locale:n,pickedDate:g,displayDateFormat:Za,onChange:function(e){p(e)},placeholder:"placeholder"})})),e.createElement("div",{className:"slider-due-date","data-theme":"marryBaby"===r?"marryBaby":""},"marryBaby"===r?e.createElement(Ya,{type:"bodytext-3",color:G.mbColors.midGray},c("dueDatePage.lastPeriod.periodLengthLabel")):e.createElement(i,{size:"n1",type:"bold",color:G.colors.gray600,style:{marginBottom:"0.5rem"}},c("dueDatePage.lastPeriod.periodLengthLabel")),e.createElement("div",{className:"slider-outer-wrapper"},"marryBaby"===r&&e.createElement(i,{size:"s3",type:"bold",color:G.colors.gray600},m),e.createElement(Xa,{containerStyle:{flex:1},min:20,max:40,step:1,labelAlwaysOn:"marryBaby"!==r,withControl:"marryBaby"!==r,onChange:d,value:m,label:"marryBaby"!==r?void 0:null}))),e.createElement(W,{dataEventCategory:"Health Tool",dataEventAction:"Due Date",dataEventLabel:o,className:"due-date-calculate-button",size:"lg",color:"marryBaby"===r?"secondary":"primary",theme:r,onClick:function(){return l(Je(g,m),"".concat(Na.type,"=0&").concat(Na.startDate,"=").concat(Ba(g,Ye),"&").concat(Na.additional,"=").concat(m))},role:"button"},c("dueDatePage.lastPeriod.calculate")))},dl=function(a){var l=a.onSubmitDueDate,r=a.locale,o=a.isSide,c=a.siteType,s=xa().t,m=t($e.lastPeriod),d=m[0],u=m[1],g=[{value:$e.lastPeriod,label:s("dueDatePage.lastPeriod")},{value:$e.conception,label:s("dueDatePage.conceptionDate")},{value:$e.IVF,label:s("dueDatePage.ivf")}],p=n((function(){return"undefined"!=typeof window?window.location.href:""}),[]);return e.createElement(et,null,e.createElement(tt,{className:"input-form input-section","data-is-side":!0},"marryBaby"===c?e.createElement(at,{groupedWithLabel:s("dueDatePage.calculationMethod"),options:g,placeholder:s("dueDatePage.lastPeriod"),id:"due-date-dropdown",size:"lg",value:g[d],onChange:function(e){u(e.value)}}):e.createElement(e.Fragment,null,e.createElement(i,{size:"n1",type:"bold",color:G.colors.gray600,style:{marginBottom:"9px",flex:"1"}},s("dueDatePage.calculationMethod")),e.createElement(nt,{"data-is-side":o},e.createElement(K,{options:g,placeholder:s("dueDatePage.lastPeriod"),id:"due-date-dropdown",size:"md",value:g[d],onChange:function(e){u(e.value)}})))),d===$e.lastPeriod?e.createElement(ml,{locale:r,onClick:l,isSide:o,siteType:c,pageUrl:p}):null,d===$e.conception?e.createElement(cl,{locale:r,onClick:l,isSide:o,siteType:c,pageUrl:p}):null,d===$e.IVF?e.createElement(sl,{locale:r,onClick:l,isSide:o,siteType:c,pageUrl:p}):null)},ul=function(t){var a,n=t.isMobile,l=t.locale,r=t.onSubmitDueDate,o=t.dueDatePageInfo,c=t.expertUrl,s=t.isSide,m=t.siteType,d=xa().t;return e.createElement(lt,{"data-is-side":s,"data-site":m},e.createElement(rt,{isSide:s,bannerUrl:R.getAssetPath("embedToolBannerPink.svg"),siteType:m,bannerColor:"marryBaby"===m&&G.mbColors.mint,isEmbeded:!0,icon:e.createElement("img",{alt:"health-tool-icon",src:null==o?void 0:o.featured_image,style:"marryBaby"!==m?{objectFit:"contain",marginLeft:"auto",maxWidth:"100%"}:null}),heading:d("healthTools.dueDateCalculator"),medicalReview:(null===(a=null==o?void 0:o.reviewed_by)||void 0===a?void 0:a.display_name)?e.createElement(i,{size:"label2",color:G.colors.white},e.createElement("span",{dangerouslySetInnerHTML:{__html:d("toolPage.toolReviewer",{expert_name:"marryBaby"===m?null==o?void 0:o.reviewed_by.display_name:'<a\n style="color: white"\n href="'.concat(c,'"\n >\n ').concat(null==o?void 0:o.reviewed_by.display_name,"\n </a>"),date:null==o?void 0:o.reviewed_date})}}),e.createElement("span",null)):void 0,isMobile:n}),e.createElement(ot,{onSubmit:function(e){return e.preventDefault()},className:"due-date-cal","data-is-side":s},e.createElement(dl,{siteType:m,locale:l,onSubmitDueDate:r,isSide:s})))};function gl(e){var t=e.weight,a=e.height/100,n=t;return Math.round(n/(a*a)*10)/10}var pl=function(a){var r,o,c,s,m=a.value,d=a.onChange,u=a.onSubmit,g=a.disabled,p=a.bmiGenerated,v=a.bmiUnit,h=a.locale,f=a.isSide,E=t(!1),y=E[0],b=E[1],w=Qa(),C=w.control,k=w.handleSubmit,N=w.setValue,L=(0,w.watch)(),x=xa().t,B=g||{},M=B.gender,_=void 0!==M&&M,D=B.age,z=void 0!==D&&D,S=B.height,A=void 0!==S&&S,I=B.weight,T=void 0!==I&&I,P=B.objective,j=void 0===P||P,V=en(h).getHealthToolLink,W=n((function(){return V(qa.OVULATION)}),[V]),R=n((function(){return[{value:"male",label:x("gender.male"),content:e.createElement(Ra.GenderChooseBoy,null)},{value:"female",label:x("gender.female"),content:e.createElement(Ra.GenderChooseGirl,null)}]}),[]),O=n((function(){return[{value:"lose-weight",label:x("bmi.objective.loseWeight")},{value:"maintain-weight",label:x("bmi.objective.maintainWeight")},{value:"gain-weight",label:x("bmi.objective.gainWeight")}]}),[]),U=function(){b(!0)};return l((function(){Object.keys(m||{}).forEach((function(e){N(e,null==m?void 0:m[e],{shouldTouch:!1,shouldDirty:!1,shouldValidate:!1})}))}),[m]),l((function(){d&&d(L)}),[L]),e.createElement(it,null,e.createElement("form",{onSubmit:k((function(e){return F(void 0,void 0,void 0,(function(){var t,a,n;return H(this,(function(l){return t=v.heightConvert(e.height),a=v.weightConvert(e.weight),n={gender:e.gender,age:e.age,height:t,weight:a,bmi:gl({height:t,weight:a})},j||(n.objective=e.objective),U(),u&&u(n),[2]}))}))}),U)},!_&&e.createElement(ct,{"data-is-side":f},e.createElement(Ja,{name:"gender",control:C,defaultValue:"male",render:function(t){var a=t.field,n=a.name,l=a.value,r=a.onChange,o=t.fieldState.error;return e.createElement(st,{size:"md",name:n,label:p.gender.label,CustomInput:e.createElement(Ga,{options:R,value:l,onChange:function(e){return r(e)},className:"bmi--input-radio_gender ".concat(f?"bmi-side-embed":"")}),errorMessage:y?null==o?void 0:o.message:"",className:"bmi--input bmi--input-gender"})}})),e.createElement(mt,{"data-is-side":f},!z&&e.createElement(ct,null,e.createElement(Ja,{name:"age",control:C,rules:null===(r=p.age)||void 0===r?void 0:r.rule,render:function(t){var a=t.field,n=a.name,l=a.value,r=a.onChange,o=t.fieldState.error;return e.createElement($a.Number,{label:e.createElement(i,{size:"label2",type:"bold",color:G.colors.gray600},p.age.label),placeholder:x("healthtool.placeholder.age"),name:n,value:l,onChange:r,error:y?null==o?void 0:o.message:"",min:0})}})),!A&&e.createElement(ct,null,e.createElement(Ja,{name:"height",control:C,rules:null===(o=p.height)||void 0===o?void 0:o.rule,render:function(t){var a=t.field,n=a.name,l=a.value,r=a.onChange,o=t.fieldState.error;return e.createElement($a.Number,{label:e.createElement(i,{size:"label2",type:"bold",color:G.colors.gray600},p.height.label),placeholder:x("pwg.placeholder.height"),name:n,value:l,onChange:r,error:y?null==o?void 0:o.message:"",min:0})}})),!T&&e.createElement(ct,null,e.createElement(Ja,{name:"weight",control:C,rules:null===(c=p.weight)||void 0===c?void 0:c.rule,render:function(t){var a=t.field,n=a.name,l=a.value,r=a.onChange,o=t.fieldState.error;return e.createElement($a.Number,{label:e.createElement(i,{size:"label2",type:"bold",color:G.colors.gray600},p.weight.label),placeholder:x("pwg.placeholder.weight"),name:n,value:l,onChange:r,error:y?null==o?void 0:o.message:"",precision:1,min:0})}})),!j&&e.createElement(ct,null,e.createElement(Ja,{name:"objective",control:C,defaultValue:"lose-weight",rules:null===(s=p.objective)||void 0===s?void 0:s.rule,render:function(t){var a=t.field,n=a.name,l=a.value,r=a.onChange,o=t.fieldState.error;return e.createElement(st,{size:"md",name:n,label:p.objective.label,CustomInput:e.createElement(Xe,{id:"bmi-objective",className:"bmi-objective",type:"circle",direction:"vertical",size:"small",group:"group1",options:O,value:l,onChange:r}),errorMessage:y?null==o?void 0:o.message:"",className:"bmi--input bmi--input-objective"})}}))),e.createElement("div",{style:{display:"flex"}},e.createElement(dt,{size:"lg",isBlock:!0,className:"bmi-btn bmi--btn-submit",dataEventCategory:"Health Tool",dataEventAction:"BMI",dataEventLabel:"https://".concat(wa[h],"/").concat(W)},x("bmi.submit")))))},vl=function(t){var a,n,l,r=t.isMobile,o=t.onSubmit,c=t.bmiContent,s=t.isSide,m=t.bmiGenerated,d=t.bmiUnit,u=t.bmiLink,g=t.locale,p=xa().t;return e.createElement(lt,{"data-is-side":s},e.createElement(rt,{isSide:s,bannerUrl:R.getAssetPath("embedToolBannerBlue.svg"),icon:e.createElement("img",{alt:"health-tool-icon",src:null==c?void 0:c.featured_image,style:{objectFit:"contain",marginLeft:"auto",maxWidth:"100%"}}),heading:p("bmi.heading"),medicalReview:(null===(a=null==c?void 0:c.reviewBy)||void 0===a?void 0:a.reviewer)?e.createElement(i,{size:"n1",color:G.colors.white},e.createElement("span",{dangerouslySetInnerHTML:{__html:p("toolPage.toolReviewer",{expert_name:'<a\n style="color: white"\n href="'.concat((null===(n=null==c?void 0:c.reviewBy)||void 0===n?void 0:n.link)||"#",'"\n >\n ').concat(c.reviewBy.reviewer,"\n </a>"),date:null===(l=null==c?void 0:c.reviewBy)||void 0===l?void 0:l.date})}}),e.createElement("span",null)):void 0,isMobile:r}),e.createElement(Wa,null,e.createElement(ot,{as:"div","data-is-side":s},u&&e.createElement(pl,{onSubmit:o,bmiGenerated:m,locale:g,bmiUnit:d,isSide:s}))))},hl=function(t){var a,n,l,r,o,c=t.isMobile,s=t.className,m=t.onSubmit,d=t.onError,u=t.schema,g=t.babyGrowthContent,p=t.siteType,v=xa().t;return e.createElement(lt,{"babyGrowthContent-is-mobile":c,"data-site":p},e.createElement(rt,{siteType:p,bannerUrl:R.getAssetPath("embedToolBannerBlue.svg"),bannerUrlLarge:R.getAssetPath("embedToolBannerBlue.svg"),bannerColor:"marryBaby"===p&&G.mbColors.mint,isEmbeded:!0,icon:e.createElement("img",{className:"embedded-icon",alt:"health-tool-icon",src:(null==g?void 0:g.featuredImage)||"",style:{maxWidth:"100%"}}),heading:(null==g?void 0:g.title)||"",medicalReview:(null===(a=null==g?void 0:g.reviewBy)||void 0===a?void 0:a.reviewer)&&""!==(null===(n=null==g?void 0:g.reviewBy)||void 0===n?void 0:n.reviewer)?e.createElement(i,{size:"label2",color:G.colors.white,className:"embedded-review"},e.createElement("span",{dangerouslySetInnerHTML:{__html:v("toolPage.toolReviewer",{expert_name:"marryBaby"===p?null===(l=null==g?void 0:g.reviewBy)||void 0===l?void 0:l.reviewer.trim():'<a\n style="color: white"\n href="'.concat((null===(r=null==g?void 0:g.reviewBy)||void 0===r?void 0:r.link)||"#",'"\n >\n ').concat(null===(o=null==g?void 0:g.reviewBy)||void 0===o?void 0:o.reviewer.trim(),"\n </a>"),date:null==g?void 0:g.reviewBy.date})}})):void 0,isMobile:c}),e.createElement(ut,{"data-theme":p},e.createElement(gt,{siteType:p,schema:u,className:s,onSubmit:m,onError:d})))},fl=function(t){var a=t.babyPoopPage,n=t.onClickFindOut,l=t.locale,r=t.isMobile,o=t.currentUrl,c=t.isSide,s=xa().t,m=a.reviewedBy,d=a.reviewedDate;return e.createElement(pt,null,e.createElement(Oa,{className:"px-16",style:{height:"100%",display:"".concat(r?"flex":""),flexDirection:"column"}},r&&e.createElement(vt,{src:R.getAssetPath("babyDiaper.png"),alt:a.title}),e.createElement(ht,{"data-is-side":c},e.createElement(ft,{"data-is-side":c},e.createElement(S,{tag:"h2",color:"#284A75"},a.title),e.createElement(i,{size:"p3",className:"description"},a.description),!!m&&e.createElement(Et,{className:"reviewer"},e.createElement("img",{src:R.getAssetPath("reviewerCheck.svg"),alt:"check",className:"check-icon"}),e.createElement(i,{size:"p4",color:G.colors.gray600},s("categoryPage.info.reviewed")," ",e.createElement("a",{href:m.profileUrl},m.displayName)," ",s("categoryPage.onDate",{date:d}))),e.createElement(W,{color:"primary",size:"md",className:"mt-16 find-out-button",onClick:n,dataEventCategory:"Health Tool",dataEventAction:"Baby Stool Inquiry",dataEventLabel:o,style:{visibility:Boolean(n)?"visible":"hidden"}},s("babyPoop.findOut"))),!r&&e.createElement(vt,{src:R.getAssetPath("babyDiaper.png"),alt:a.title,"data-is-vietnam":l===tn.Vietnam,className:"banner-img"}))))},El=function(a){var n=a.value,l=a.options,r=a.className,o=a.direction,c=void 0===o?"horizontal":o,s=a.onChange,m=a.isDisabled,d=t(n),u=d[0],g=d[1];return e.createElement(yt,{className:r,"data-direction":c},l.map((function(t,a){return e.createElement(bt,{"data-selected":(n||u)===t.value,"data-disabled":m,key:"health-tool".concat(a),onClick:function(){var e;e=t.value,m||(g(e),s&&s(e))}},e.createElement("div",null,e.createElement("img",{src:(n||u)===t.value?t.imageActive:t.image,className:"gender-image",alt:""}),t.label&&e.createElement(i,{type:"bold",className:"radio-group-item-heading",size:"label1"},t.label)))})))},yl=function(a){var n=a.info,r=a.className,o=a.style,c=a.onChange,s=a.errorMessage,m=void 0===s?{}:s,d=a.locale,u=xa().t,g=t(new Date),p=g[0],v=g[1],h=t({age:!1,rate:!1}),f=h[0],E=h[1];return l((function(){E({age:!1,rate:!1})}),[m]),e.createElement(wt,{style:o,className:r},e.createElement(Va,{className:"input-section due-date-input",label:e.createElement(i,{size:"n1",type:"bold",color:G.colors.gray600,style:{marginBottom:"9px",flex:"1"}},u("targetHeartRate.ageInput")),value:Ze(p),name:"date",size:"md",CustomInput:e.createElement(Ke,{customInput:function(t){return e.createElement("input",I({type:"date",className:"due-date-input"},t,{value:Ze(p)}))},disabledDays:{after:new Date(Ma(new Date,0))},locale:d,pickedDate:p,displayDateFormat:"dd/MM/yyyy",onChange:function(e){!function(e){v(e),E((function(e){return I(I({},e),{age:!0})}));var t=I(I({},n),{age:Ba(new Date(e),Ye)});c&&c(t)}(e)},placeholder:"placeholder"}),errorMessage:f.age?"":m.age}))},bl=function(a){var r,o,c,s=a.isSide,m=a.locale,d=a.thrContent,u=a.isMobile,g=a.info,p=a.inputErrorMessage,v=a.onFormChange,h=a.onSubmit,f=xa().t,E=en(m).getHealthToolLink,y=n((function(){return E(qa.THR)}),[E]),b=t(!1),w=b[0],C=b[1],k=t("low_intensity"),N=k[0],L=k[1],x=t("male"),B=x[0],M=x[1],_=t(60),D=_[0],z=_[1],S=t({idAge:0,minAge:0,maxAge:18,rangeMale:40,rangeFemale:40}),A=S[0],I=S[1],T=[{idAge:0,minAge:0,maxAge:18,rangeMale:40,rangeFemale:40},{idAge:1,minAge:18,maxAge:25,rangeMale:49,rangeFemale:54},{idAge:2,minAge:25,maxAge:35,rangeMale:49,rangeFemale:54},{idAge:3,minAge:35,maxAge:45,rangeMale:50,rangeFemale:54},{idAge:4,minAge:45,maxAge:55,rangeMale:50,rangeFemale:54},{idAge:5,minAge:55,maxAge:65,rangeMale:51,rangeFemale:54},{idAge:6,minAge:65,maxAge:120,rangeMale:50,rangeFemale:54}],P=[{value:"low_intensity",label:f("targetHeartRate.lowIntensity.title"),image:R.getAssetPath("/low.svg"),imageActive:R.getAssetPath("/low-active.svg"),content:f("targetHeartRate.lowIntensity.note")},{value:"moderate_intensity",label:f("targetHeartRate.moderateIntensity.title"),image:R.getAssetPath("/moderate.svg"),imageActive:R.getAssetPath("/moderate-active.svg"),content:f("targetHeartRate.moderateIntensity.note")},{value:"aerobic_zone",label:f("targetHeartRate.aerobicZone.title"),image:R.getAssetPath("/aerobic.svg"),imageActive:R.getAssetPath("/aerobic-active.svg"),content:f("targetHeartRate.aerobicZone.note")},{value:"vigorous_intensity",label:f("targetHeartRate.vigorousIntensity.title"),image:R.getAssetPath("/vigorous.svg"),imageActive:R.getAssetPath("/vigorous-active.svg"),content:f("targetHeartRate.vigorousIntensity.note")},{value:"maximum_intensity",label:f("targetHeartRate.maximumIntensity.title"),image:R.getAssetPath("/maximum.svg"),imageActive:R.getAssetPath("/maximum-active.svg"),content:f("targetHeartRate.maximumIntensity.note")}],F=n((function(){return[{value:"male",label:f("gender.male"),content:e.createElement(Ra.GenderChooseBoy,null)},{value:"female",label:f("gender.female"),content:e.createElement(Ra.GenderChooseGirl,null)}]}),[]);return l((function(){var e=((new Date).getTime()-new Date(null==g?void 0:g.age).getTime())/1e3;C(e>=567648e3);var t=T.find((function(t){return e>=365*t.minAge*24*60*60&&e<365*t.maxAge*24*60*60}))||T[0];I(t),z(60)}),[null==g?void 0:g.age]),e.createElement(lt,{"data-is-side":s},e.createElement(rt,{isSide:s,bannerUrl:R.getAssetPath("embedToolBannerBlue.svg"),icon:e.createElement("img",{alt:"health-tool-icon",src:null==d?void 0:d.featured_image,style:{objectFit:"contain",marginLeft:"auto",maxWidth:"100%"}}),heading:f("targetHearRate.heading"),medicalReview:(null===(r=null==d?void 0:d.reviewedBy)||void 0===r?void 0:r.display_name)?e.createElement(i,{size:"n1",color:G.colors.white},e.createElement("span",{dangerouslySetInnerHTML:{__html:f("toolPage.toolReviewer",{expert_name:'<a\n style="color: white"\n href="'.concat(nn(null==d?void 0:d.reviewedBy),'"\n >\n ').concat(null===(o=null==d?void 0:d.reviewedBy)||void 0===o?void 0:o.display_name,"\n </a>"),date:null==d?void 0:d.reviewedDate})}}),e.createElement("span",null)):void 0,isMobile:u}),e.createElement(Wa,null,e.createElement(ot,{className:"heart-rate-cal",onSubmit:function(e){return e.preventDefault()},"data-is-side":s},e.createElement(Ct,{"data-is-side":s},e.createElement(kt,null,e.createElement(Nt,{size:"md",name:"gender",label:f("bmi.selectGender"),CustomInput:e.createElement(Ga,{options:F,value:B,onChange:function(e){M(e),z(60)},className:"bmi--input-radio_gender"}),className:"bmi--input bmi--input-gender"}))),e.createElement(Ct,null,e.createElement(yl,{info:g,locale:m,errorMessage:p,onChange:v})),e.createElement("div",{className:"slider-heart-rate"},e.createElement(an,{size:"label2",style:{display:"inline-block",marginBottom:"9px",color:G.colors.gray600,fontWeight:"bold",fontSize:"12px"},htmlFor:"gender-selector"},f("targetHeartRate.heartRateInput")),e.createElement("div",{className:"slider-outer-wrapper"},e.createElement(Xa,{containerStyle:{flex:1},min:"male"===B?A.rangeMale:A.rangeFemale,max:200,step:1,value:D,withControl:!0,onChange:z}))),w&&e.createElement(kt,null,e.createElement(Lt,null,e.createElement(an,{size:"label2",style:{display:"inline-block",fontWeight:"bold",color:G.colors.gray600,marginBottom:"9px"},htmlFor:"gender-selector"},f("targetHeartRate.selectActive")),e.createElement("div",{className:"card"},e.createElement(El,{options:P.map((function(e){return{value:e.value,label:e.label,image:e.image,imageActive:e.imageActive}})),value:N,onChange:function(e){L(e)},className:"gender-selector"})),N&&e.createElement("div",{className:"note"},e.createElement("img",{style:{height:"16px",width:"16px"},src:R.getAssetPath("/infoIcon.svg"),alt:""}),e.createElement(i,{size:"n1",color:"#595959"},null===(c=P[P.findIndex((function(e){return e.value==N}))||0])||void 0===c?void 0:c.content)),!N&&e.createElement("span",{style:{color:"#e64728"}},p.intensity)))),e.createElement("div",{style:{display:"flex"}},e.createElement(xt,{size:"lg",onClick:function(){h(B,N,[D])},dataEventCategory:"Health Tool",dataEventAction:"THR",dataEventLabel:"https://".concat(wa[m],"/").concat(y)},f("bmi.submit")))))},wl=function(a){var r=a.info,o=a.className,c=a.style,s=a.onChange,m=a.errorMessage,d=void 0===m?{}:m,u=a.locale,g=a.onClick,p=a.isSide,v=xa().t,h=t({age:!1,height:!1,weight:!1}),f=h[0],E=h[1],y=en(u).getHealthToolLink,b=n((function(){return y(qa.OVULATION)}),[y]),w=t("male"),C=w[0],k=w[1],N=n((function(){return[{value:"male",label:v("gender.male"),content:e.createElement(Ra.GenderChooseBoy,null)},{value:"female",label:v("gender.female"),content:e.createElement(Ra.GenderChooseGirl,null)}]}),[]),L=function(e,t){""!==e&&(isNaN(e)||isNaN(parseFloat(e)))||t(e)},x=function(e){var t,a;a=function(e){E((function(e){return I(I({},e),{age:!0})}));var t=I(I({},r),{age:e});s&&s(t)},""!==(t=e)&&(isNaN(t)||isNaN(parseFloat(t))||t.includes("."))||a(t)};return l((function(){s&&s(I(I({},r),{objective:"lose-fat",activeLevel:"sedentary"}))}),[]),l((function(){E({age:!1,height:!1,weight:!1})}),[d]),e.createElement(Bt,{style:c,className:o},e.createElement(Mt,{"data-is-side":p},e.createElement(_t,{size:"md",name:"gender",label:v("bmi.selectGender"),CustomInput:e.createElement(Ga,{options:N,value:C,onChange:function(e){return k(e)},className:"bmi--input-radio_gender ".concat(p?"bmi-side-embed":"")}),className:"bmi--input bmi--input-gender"})),e.createElement(Dt,{"data-is-side":p},e.createElement(Mt,null,e.createElement($a.Number,{label:e.createElement(i,{size:"label2",type:"bold",color:G.colors.gray600},v("bmi.ageInput")," ",e.createElement(i,{size:"label2",type:"bold",color:G.colors.gray300,as:"span"},v("bmi.ageInput.desc"))),placeholder:v("healthtool.placeholder.age"),value:Number(r.age),onChange:function(e){return x(String(e))},error:f.age?"":d.age,min:0})),e.createElement(Mt,null,e.createElement($a.Number,{label:e.createElement(i,{size:"label2",type:"bold",color:G.colors.gray600},v("bmi.heightInput")," ",e.createElement(i,{size:"label2",type:"bold",color:G.colors.gray300,as:"span"},v("bmi.heightInput.desc"))),placeholder:v("pwg.placeholder.height"),value:Number(r.height),onChange:function(e){return t=String(e),void L(t,(function(e){E((function(e){return I(I({},e),{height:!0})}));var t=I(I({},r),{height:e});s&&s(t)}));var t},error:f.height?"":d.height,min:0})),e.createElement(Mt,null,e.createElement($a.Number,{label:e.createElement(i,{size:"label2",type:"bold",color:G.colors.gray600},v("bmi.weightInput")," ",e.createElement(i,{size:"label2",type:"bold",color:G.colors.gray300,as:"span"},v("bmi.weightInput.desc"))),placeholder:v("pwg.placeholder.weight"),value:Number(r.weight),onChange:function(e){return t=String(e),E((function(e){return I(I({},e),{weight:!0})})),void L(t,(function(e){var t=I(I({},r),{weight:e});s&&s(t)}));var t},error:f.weight?"":d.weight,min:0,precision:1}))),e.createElement("div",{style:{display:"flex"}},e.createElement(zt,{size:"lg",isBlock:!0,className:"bmi-btn bmi--btn-submit",dataEventCategory:"Health Tool",dataEventAction:"BMR",dataEventLabel:"https://".concat(wa[u],"/").concat(b),onClick:function(){g(C)}},v("bmi.submit"))))},Cl=function(t){var a,n,l,r=t.isSide,o=t.locale,c=t.bmrContent,s=t.isMobile,m=t.info,d=t.inputErrorMessage,u=t.onFormChange,g=t.onSubmit,p=xa().t;return e.createElement(lt,{"data-is-side":r},e.createElement(rt,{isSide:r,bannerUrl:R.getAssetPath("embedToolBannerBlue.svg"),icon:e.createElement("img",{alt:"health-tool-icon",src:null==c?void 0:c.featured_image,style:{objectFit:"contain",marginLeft:"auto",maxWidth:"100%"}}),heading:p("bmr.heading"),medicalReview:(null===(a=null==c?void 0:c.reviewBy)||void 0===a?void 0:a.reviewer)?e.createElement(i,{size:"n1",color:G.colors.white},e.createElement("span",{dangerouslySetInnerHTML:{__html:p("toolPage.toolReviewer",{expert_name:'<a\n style="color: white"\n href="'.concat((null===(n=null==c?void 0:c.reviewBy)||void 0===n?void 0:n.link)||"#",'"\n >\n ').concat(c.reviewBy.reviewer,"\n </a>"),date:null===(l=null==c?void 0:c.reviewBy)||void 0===l?void 0:l.date})}}),e.createElement("span",null)):void 0,isMobile:s}),e.createElement(Wa,null,e.createElement(ot,{onSubmit:function(e){return e.preventDefault()},"data-is-side":r},e.createElement(St,null,e.createElement(wl,{info:m,locale:o,errorMessage:d,onChange:u,onClick:g,isSide:r})))))},kl="eM8ChWU",Nl="KAx1aqi",Ll="QcFfKPB",xl="brbyNAY",Bl="W65hTnn",Ml=function(t){var a=t.src,n=t.title,l=t.backgroundSrc,r=t.className,o=t.reviewedSection,i=t.isSide;return e.createElement("div",{className:"".concat(kl," ").concat(r||"")},e.createElement("div",{className:Nl,style:{backgroundImage:'url("'.concat(l,'")')}},e.createElement("div",{className:Ll,"data-is-side":i},e.createElement("div",{className:xl,"data-is-side":i},e.createElement(S,{tag:"h4",color:"white"},n),o),e.createElement("div",{className:Bl},e.createElement("img",{src:a||"",style:{objectFit:"contain"},alt:n})))))},_l="zvE9IoJ",Dl="njDC-ia",zl="ESkUhe9",Sl="wZLIQYa",Al=function(t){var a,n,l,r=t.backgroundDesktopSrc,o=t.backgroundMobileSrc,c=t.title,s=t.className,m=t.isSide,d=t.ovulationContent,u=xa().t,g=nn(null==d?void 0:d.reviewed_by);return e.createElement("div",{className:"".concat(_l," ").concat(s),"data-is-side":m},e.createElement("div",{className:Dl,style:{backgroundImage:"url('".concat(o||r,"')")}},e.createElement("div",{className:Sl},e.createElement(S,{tag:"h5",color:"white"},c),(null===(a=null==d?void 0:d.reviewed_by)||void 0===a?void 0:a.display_name)?e.createElement(i,{size:"n1",color:"white",style:{marginTop:"0.3rem"}},e.createElement("span",{dangerouslySetInnerHTML:{__html:u("articlePage.articleReviewerBy",{name:'<a\n style="color: white"\n href="'.concat(g,'"\n >\n ').concat(d.reviewed_by.display_name,"\n </a>")})}}),e.createElement("span",null,u("tools.heading.on")),e.createElement("span",null,null==d?void 0:d.reviewed_date)):null),e.createElement("div",{className:zl,"data-is-side":m},e.createElement("img",{src:(null==d?void 0:d.featured_image)||"",style:{width:"100%",objectFit:"contain",marginTop:"20px"},alt:c}))),e.createElement(Ml,{className:"desktop-only",src:(null==d?void 0:d.featured_image)||"",backgroundSrc:r||o||"",title:c,reviewedSection:(null===(n=null==d?void 0:d.reviewed_by)||void 0===n?void 0:n.display_name)&&""!==(null===(l=null==d?void 0:d.reviewed_by)||void 0===l?void 0:l.display_name)&&e.createElement(i,{size:"n1",color:G.colors.white,style:{marginTop:12}},e.createElement("span",{dangerouslySetInnerHTML:{__html:u("toolPage.toolReviewer",{expert_name:'<a\n style="color: white"\n href="'.concat(g,'"\n >\n ').concat(d.reviewed_by.display_name,"\n </a>"),date:null==d?void 0:d.reviewed_date})}}),e.createElement("span",null)),isSide:m}))},Il=function(t){var a,n=t.onSubmitOvulation,l=t.locale,r=t.ovulationPageInfo,o=t.ovulationContent;t.expertUrl;var c=t.isSide,s=void 0!==c&&c,m=t.siteType,d=t.isMobile,u=xa().t,g=ln(r||null);return e.createElement(lt,{"data-is-side":s,"data-site":m},"marryBaby"!==m?e.createElement(Al,{backgroundDesktopSrc:R.getAssetPath("embedToolBannerPink.svg"),backgroundMobileSrc:R.getAssetPath("embedToolBannerPink.svg"),title:u("healthTools.ovulationCalculator"),reviewedBy:g.reviewedBy,reviewedDate:g.reviewedDate,ovulationContent:o,isSide:s}):e.createElement(rt,{isSide:s,bannerUrl:R.getAssetPath("embedToolBannerPink.svg"),siteType:m,bannerColor:"marryBaby"===m&&G.mbColors.mint,isEmbeded:!0,icon:e.createElement("img",{alt:"health-tool-icon",src:null==r?void 0:r.featured_image,style:"marryBaby"!==m?{objectFit:"contain",marginLeft:"auto",maxWidth:"100%"}:null}),heading:u("healthTools.ovulationCalculator"),medicalReview:(null===(a=null==r?void 0:r.reviewed_by)||void 0===a?void 0:a.display_name)?e.createElement(i,{size:"label2",color:G.colors.white},e.createElement("span",{dangerouslySetInnerHTML:{__html:u("toolPage.toolReviewer",{expert_name:null==r?void 0:r.reviewed_by.display_name,date:null==r?void 0:r.reviewed_date})}}),e.createElement("span",null)):void 0,isMobile:d}),e.createElement(ot,{onSubmit:function(e){return e.preventDefault()},className:"ovulation-cal","data-is-side":s},e.createElement(At,{siteType:m,locale:l,onSubmitOvulation:n,isSide:s})))},Tl=function(n){var r=n.siteType,o=n.info,i=n.onChange,c=n.errorMessage,s=void 0===c?{}:c,m=xa().t,d=t({weightBefore:!1,height:!1,weight:!1}),u=d[0],g=d[1],p=t(0),v=p[0],h=p[1],f=a(null);l((function(){var e;h(null===(e=f.current)||void 0===e?void 0:e.clientHeight)}));var E=function(e,t){""!==e&&(isNaN(e)||isNaN(parseFloat(e)))||t(e)},y=function(e){E(e,(function(e){g((function(e){return I(I({},e),{weightBefore:!0})}));var t=I(I({},o),{weightBefore:e});i&&i(t)}))},b=function(e){E(e,(function(e){g((function(e){return I(I({},e),{height:!0})}));var t=I(I({},o),{height:e});i&&i(t)}))},w=function(e){E(e,(function(e){g((function(e){return I(I({},e),{weight:!0})}));var t=I(I({},o),{weight:e});i&&i(t)}))};return l((function(){i&&i(I({},o))}),[]),l((function(){g({weightBefore:!1,height:!1,weight:!1})}),[s]),"marryBaby"===r?e.createElement(e.Fragment,null,e.createElement("div",{className:"input-form-pwg input-section"},e.createElement(Ue,{label:m("pregnancyWeightGain.heightInput"),name:"pwg-height",size:"md",value:null==o?void 0:o.height,CustomInput:e.createElement(Va,{className:(null==u?void 0:u.height)?"":"error-input",name:"pwg-height",size:"md",placeholder:"Nhập thông tin",value:null==o?void 0:o.height,type:"number",onKeyDown:function(e){return["e","E","+","-"].includes(e.key)&&e.preventDefault()},onWheelCapture:function(e){return e.currentTarget.blur()},errorMessage:(null==u?void 0:u.height)?"":null==s?void 0:s.height,showErrorMessage:!1,onChange:b})})),e.createElement("div",{className:"input-form-pwg input-section"},e.createElement(Ue,{label:m("pregnancyWeightGain.weightBeforeInput"),name:"pwg-weightBefore",size:"md",value:null==o?void 0:o.weightBefore,CustomInput:e.createElement(Va,{className:(null==u?void 0:u.weightBefore)?"":"error-input",name:"pwg-weightBefore",size:"md",placeholder:"Nhập thông tin",value:null==o?void 0:o.weightBefore,type:"number",onKeyDown:function(e){return["e","E","+","-"].includes(e.key)&&e.preventDefault()},onWheelCapture:function(e){return e.currentTarget.blur()},errorMessage:(null==u?void 0:u.weightBefore)?"":null==s?void 0:s.height,showErrorMessage:!1,onChange:y})})),e.createElement("div",{className:"input-form-pwg input-section"},e.createElement(Ue,{label:m("pregnancyWeightGain.weightInput"),name:"pwg-weight",size:"md",value:null==o?void 0:o.weight,CustomInput:e.createElement(Va,{className:(null==u?void 0:u.weight)?"":"error-input",name:"pwg-weight",size:"md",placeholder:"Nhập thông tin",value:null==o?void 0:o.weight,type:"number",onKeyDown:function(e){return["e","E","+","-"].includes(e.key)&&e.preventDefault()},onWheelCapture:function(e){return e.currentTarget.blur()},errorMessage:(null==u?void 0:u.weight)?"":null==s?void 0:s.weight,showErrorMessage:!1,onChange:w})}))):e.createElement(e.Fragment,null,e.createElement("div",{className:"input-form-pwg"},e.createElement(A,{placeholder:m("pwg.placeholder.height"),className:"input-section",label:e.createElement("span",{style:{color:G.colors.gray600,fontWeight:"bold",marginBottom:"9px",fontSize:"12px"},className:"label-text"},m("pregnancyWeightGain.heightInput")," ",e.createElement("span",{style:{color:"".concat(G.colors.gray300)}},m("bmi.heightInput.desc"))),errorMessage:u.height?"":null==s?void 0:s.height,size:"sm",isNumerousKeyboard:!0,name:"pwg-height",value:null==o?void 0:o.height,onChange:b})),e.createElement("div",{className:"input-form-pwg"},e.createElement(A,{placeholder:m("pwg.placeholder.weight"),className:"input-section",label:e.createElement("span",{style:{color:G.colors.gray600,fontWeight:"bold",marginBottom:"9px",fontSize:"12px"},ref:f,className:"label-text"},m("pregnancyWeightGain.weightBeforeInput")," ",e.createElement("span",{style:{color:"".concat(G.colors.gray300)}},m("pregnancyWeightGain.weightInput.desc"))),errorMessage:u.weightBefore?"":null==s?void 0:s.weightBefore,size:"sm",isNumerousKeyboard:!0,name:"pwg-weightBefore",onChange:y,value:null==o?void 0:o.weightBefore})),e.createElement("div",{className:"input-form-pwg"},e.createElement(A,{placeholder:m("pwg.placeholder.weight"),className:"input-section",label:e.createElement("span",{style:{color:G.colors.gray600,fontWeight:"bold",marginBottom:"9px",fontSize:"12px",minHeight:v},className:"label-text"},m("pregnancyWeightGain.weightInput")," ",e.createElement("span",{style:{color:"".concat(G.colors.gray300)}},m("pregnancyWeightGain.weightInput.desc"))),errorMessage:u.weight?"":null==s?void 0:s.weight,size:"sm",isNumerousKeyboard:!0,name:"pwg-weight",value:null==o?void 0:o.weight,onChange:w})))},Pl=function(a){var l,r,o=a.locale,c=a.onClick,s=a.inputErrorMessage,m=a.pwgContent,d=a.onFormChange,u=a.info,g=a.isMobile,p=a.isSide,v=void 0!==p&&p,h=a.siteType,f=xa().t,E=t("notwins"),y=E[0],b=E[1],w=t({label:"1",value:1}),C=w[0],k=w[1],N=n((function(){return T([],Array(40),!0).map((function(e,t){return{label:"".concat(t+1),value:"".concat(t+1)}}))}),[]),L=en(o).getHealthToolLink,x=n((function(){return L(qa.PWG)}),[L]),B=(null===(l=null==m?void 0:m.reviewedBy)||void 0===l?void 0:l.display_name)?e.createElement(i,{size:"n1",color:G.colors.white},e.createElement("span",{dangerouslySetInnerHTML:{__html:f("toolPage.toolReviewer",{expert_name:null===(r=null==m?void 0:m.reviewedBy)||void 0===r?void 0:r.display_name,date:null==m?void 0:m.reviewedDate})}}),e.createElement("span",null)):void 0;return e.createElement(lt,{"data-is-side":v,"data-site":h},e.createElement(rt,{siteType:h,bannerUrl:R.getAssetPath("embedToolBannerPink.svg"),bannerColor:"marryBaby"===h&&G.mbColors.mint,isEmbeded:!0,icon:e.createElement("img",{alt:"health-tool-icon",src:null==m?void 0:m.featuredImage,style:{objectFit:"contain",marginLeft:"auto",maxWidth:"100%"}}),heading:f("pregnancyWeightGain.heading"),medicalReview:B,isMobile:g,isSide:v}),e.createElement(Wa,null,e.createElement(ot,{onSubmit:function(e){return e.preventDefault()},className:"pwg-view-mobile","data-is-side":v},"marryBaby"!==h&&e.createElement(It,{className:"hide-asking-mobile","data-is-side":v},e.createElement(an,{size:"label2",style:{display:"block",fontWeight:"bold",color:G.colors.gray600,fontSize:"12px"},className:"label",htmlFor:"gender-selector"},f("pregnancyWeightGain.havingTwins")),e.createElement(Tt,{options:[{value:"twins",label:f("switchBtn.yes")},{value:"notwins",label:f("switchBtn.no")}],value:y,onChange:function(e){return b(e)},className:"gender-selector",id:"twins-check",type:"circle",direction:"horizontal",size:"small",group:"group1"})),e.createElement(et,null,e.createElement(Pt,{className:"input-section input-form-pwg","data-is-side":v},"marryBaby"===h?e.createElement(at,{groupedWithLabel:f("pregnancyWeightGain.weekInput"),options:N,placeholder:"28 days",id:"due-date-dropdown",size:"lg",value:C,onChange:function(e){return k({label:e.label,value:e.value})}}):e.createElement(e.Fragment,null,e.createElement(an,{size:"label2",style:{display:"inline-block",marginBottom:"9px",color:G.colors.gray600,fontWeight:"bold",fontSize:"12px"},htmlFor:"gender-selector"},f("pregnancyWeightGain.weekInput")),e.createElement(K,{options:N,placeholder:String(C.label),id:"weight-gain-dropdown",size:"md",value:C,onChange:function(e){return k({label:e.label,value:e.value})}}))),e.createElement(Tl,{siteType:h,info:u,errorMessage:s,onChange:d})),"marryBaby"!==h&&e.createElement(It,{className:"hide-asking-desk","data-is-side":v},e.createElement(an,{size:"label2",style:{display:"block",fontWeight:"bold",color:G.colors.gray600,fontSize:"12px"},className:"label",htmlFor:"gender-selector"},f("pregnancyWeightGain.havingTwins")),e.createElement(Tt,{options:[{value:"twins",label:f("switchBtn.yes")},{value:"notwins",label:f("switchBtn.no")}],value:y,onChange:function(e){return b(e)},className:"gender-selector",id:"twins-check-mobile",type:"circle",direction:"horizontal",size:"small",group:"group1"})),"marryBaby"===h&&e.createElement(_n,{name:"twins",label:f("pregnancyWeightGain.havingTwins"),checked:"twins"===y,siteType:"marryBaby",onChange:function(){b("twins"===y?"notwins":"twins")},value:"twins"}),e.createElement(Ft,{"data-is-side":v,"data-site":h},e.createElement(W,{dataEventCategory:"Health Tool",dataEventAction:"Embedded Pregnancy Weight Gain",dataEventLabel:"https://".concat(wa["marryBaby"===h?"vi-VN_MB":o],"/").concat(x),className:"due-date-calculate-button",size:"lg",color:"marryBaby"===h?"secondary":"primary",onClick:function(){return c(y,C.value)},role:"button",theme:h},f("dueDatePage.lastPeriod.calculate"))))))},Fl=function(){return"undefined"!=typeof window&&window.innerWidth<V.BREAK_POINT_MOBILE},Hl=function(){return"undefined"!=typeof window&&window.innerWidth>=V.BREAK_POINT_MOBILE&&window.innerWidth<V.BREAK_POINT_PC},jl=function(){var e=t(Fl()),a=e[0],n=e[1],r=t(Hl()),o=r[0],i=r[1];return l((function(){var e=function(){n(Fl()),i(Hl())};return window.addEventListener("resize",e,{passive:!0}),function(){window.removeEventListener("resize",e)}}),[]),{isMobile:a,isLargeMobile:o}};var Vl={"en-PH":on,"vi-VN":sn,"zh-TW":mn,"id-ID":cn};function Wl(a){var l=a.value,r=void 0===l?{from:null,to:null}:l,o=t(null),i=o[0],c=o[1],s=jl().isMobile,m=t((function(){return r})),d=m[0],u=m[1],g=t((function(){var e;return Da(null!==(e=r.from)&&void 0!==e?e:new Date)})),p=g[0],v=g[1],h=n((function(){return za(p,1)}),[p]);var f=I(I({},a),{goToNextMonth:function(){v((function(e){return za(e,1)}))},goToPreviousMonth:function(){v((function(e){return Sa(e,1)}))},range:d,setRange:u,hoverDay:i,setHoverDay:c});return e.createElement(e.Fragment,null,e.createElement(Rl,I({},f,{date:p})),!s&&e.createElement(Ht,null),!s&&e.createElement(Rl,I({},f,{date:h})))}function Rl(t){var a=t.date,r=t.range,o=t.setRange,i=t.onChange,c=t.goToPreviousMonth,s=t.goToNextMonth,m=t.minDate,d=t.maxDate,u=t.close,g=void 0===u?function(){}:u,p=t.autoClose,v=void 0!==p&&p,h=t.hoverDay,f=t.setHoverDay,E=xa().locale,y=n((function(){var e;return null!==(e=Vl[E])&&void 0!==e?e:Vl["en-PH"]}),[E]),b=n((function(){return Ba(a,"MMMM",{locale:y})}),[a,y]),w=n((function(){return y?[1,2,3,4,5,6,0].map((function(e){return y.localize.day(e,{width:"narrow"})})):[]}),[y]);function C(t,a){if(null===t)return e.createElement(Kt,{key:"idx-".concat(a),"data-empty":"true"});var n=t.getDate(),l=Ia(t),i=!!r.from&&Ta(r.from,t),c=!!r.to&&Ta(r.to,t),s=i||c,u=!1;null!==h&&r.from&&_a(r.from,h)&&!r.to?u=Pa(t,{start:r.from,end:h}):r.from&&r.to&&(u=Pa(t,{start:r.from,end:r.to}));var p=!1;return m&&d?p=!Pa(t,{start:m,end:d}):m?p=_a(t,m):d&&(p=Fa(t,d)),e.createElement(Kt,{key:n,"data-is-today":l,"data-is-past":!l&&Ha(t),"data-is-selected":s,"data-is-disabled":p,"data-in-range":u,"data-is-from":i,"data-is-to":c,onMouseEnter:function(){f(t)},onMouseLeave:function(){return f(null)},onClick:function(){p||o((function(e){return v&&r.from&&!r.to&&g(),function(e,t){return t.from||t.to?t.from&&t.to?{from:e,to:null}:t.from?_a(e,t.from)?I(I({},t),{from:e}):I(I({},t),{to:e}):t:I(I({},t),{from:e})}(t,e)}))}},e.createElement(qt,{onClick:function(){}},e.createElement("p",null,n)))}return l((function(){r.from&&r.to&&i(r)}),[r]),e.createElement(jt,{className:"calendar-wrapper"},e.createElement(Vt,null,e.createElement(W,{onClick:c,size:"md",color:"ghost",icon:e.createElement("img",{src:R.getAssetPath("calendarArrowLeft.svg")})}),e.createElement("div",{className:"calendar-month"},b,e.createElement("strong",null,Ba(a,"yyyy"))),e.createElement(W,{onClick:s,size:"md",color:"ghost",icon:e.createElement("img",{src:R.getAssetPath("calendarArrowRight.svg")})})),e.createElement(Wt,null,e.createElement("div",null,e.createElement(Rt,null,w.map((function(t,a){return e.createElement(Gt,{key:"".concat(t,"-").concat(a)},t)})))),e.createElement("div",null,function(){for(var t=a.getFullYear(),n=a.getMonth(),l=Aa(a),o=[],i=1;i<=l;i++)o.push(new Date(t,n,i));var c=o[0]?o[0].getDay():0;if(1!==c){var s=0===c?6:c-1;for(i=0;i<s;i++)o.unshift(null)}return e.createElement(Ot,{key:"month-".concat(n),"data-month-index":n,"data-has-range":Boolean(r.from&&r.to)},e.createElement(Ut,null,e.createElement(Zt,null,o.map(C))))}())))}function Gl(l){var r=l.inputSize,o=void 0===r?"md":r,i=l.name,c=void 0===i?"date-range-picker":i,s=l.value,m=l.minDate,d=l.maxDate,u=l.onChange,g=l.className,p=l.autoClose,v=void 0!==p&&p;s||(s={from:null,to:null});var h=t(!1),f=h[0],E=h[1];function y(){E(!1)}var b=a(null);function w(e){u&&u(e)}function C(e){return Ba(e,"dd/MM/yyyy")}rn(b,(function(){y()}));var k=n((function(){return s.from&&s.to?Ta(s.from,s.to)?C(s.from):"".concat(C(s.from)," - ").concat(C(s.to)):""}),[s.from,s.to]);return e.createElement(Yt,{className:[g,f&&"focused"].filter(Boolean).join(" "),ref:b},e.createElement("label",{htmlFor:c},e.createElement(A,{size:o,value:k,name:c,actionIcon:e.createElement("img",{src:R.getAssetPath("calendar.svg")}),onFocus:function(){return E(!0)}})),f?e.createElement(Xt,{onMouseDown:function(e){e.stopPropagation()}},e.createElement(Wl,{value:s,onChange:w,minDate:m,maxDate:d,close:y,autoClose:v})):null)}var Ol=function(){return e.createElement("svg",{width:"17",height:"16",viewBox:"0 0 17 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M6.86364 10.6666H5.22727C4.86912 10.6666 4.51448 10.5977 4.18359 10.4637C3.8527 10.3296 3.55205 10.1332 3.2988 9.8856C2.78734 9.3855 2.5 8.70722 2.5 7.99998C2.5 7.29274 2.78734 6.61446 3.2988 6.11436C3.81026 5.61426 4.50396 5.33331 5.22727 5.33331H6.86364M9.78374 5.33331H11.7727C12.1309 5.33331 12.4855 5.40229 12.8164 5.5363C13.1473 5.67031 13.4479 5.86674 13.7012 6.11436C13.9545 6.36198 14.1553 6.65596 14.2924 6.97949C14.4295 7.30303 14.5 7.64979 14.5 7.99998C14.5 8.35017 14.4295 8.69693 14.2924 9.02047C14.1553 9.344 13.9545 9.63798 13.7012 9.8856C13.4479 10.1332 13.1473 10.3296 12.8164 10.4637C12.4855 10.5977 12.1309 10.6666 11.7727 10.6666H9.78374",stroke:"#595959",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M6.5 8H10.5",stroke:"#595959",strokeLinecap:"round",strokeLinejoin:"round"}))},Ul=function(t){var a=t.url,l=t.onCopied,r=t.locale,o=t.siteType,c=xa().t,s=dn(a||"").filter((function(e){return!e.allowedLocales||e.allowedLocales.includes(r)})),m=n((function(){return"undefined"!=typeof window?window.location.href:""}),[]);return e.createElement(Qt,null,e.createElement(i,{size:"p3",color:G.colors.gray800},c("shareContainer.title")),e.createElement("div",{className:"icon-group"},s.map((function(t,a){return e.createElement("a",{key:a,href:t.href,target:"_blank",rel:"noreferrer","data-event-category":"Health Tool","data-event-action":"Social Share - ".concat(t.name),"data-event-label":m},t.icon)})),e.createElement(W,{theme:o,size:"sm",type:"button",color:"tertiary",className:"share",style:{},icon:e.createElement(Ol,null),onClick:function(){return F(void 0,void 0,void 0,(function(){var e;return H(this,(function(t){switch(t.label){case 0:return[4,null===(e=null===navigator||void 0===navigator?void 0:navigator.clipboard)||void 0===e?void 0:e.writeText(a)];case 1:return t.sent(),null==l||l(),[2]}}))}))},"data-event-category":"Health Tool","data-event-action":"Copy Link","data-event-label":m})))},Zl=function(){return e.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"copy"},e.createElement("path",{d:"M4 2.5C3.17125 2.5 2.5 3.17125 2.5 4V13.75C2.5 14.164 2.836 14.5 3.25 14.5C3.664 14.5 4 14.164 4 13.75V4H13.75C14.164 4 14.5 3.664 14.5 3.25C14.5 2.836 14.164 2.5 13.75 2.5H4ZM7 5.5C6.17125 5.5 5.5 6.17125 5.5 7V16C5.5 16.8287 6.17125 17.5 7 17.5H16C16.8287 17.5 17.5 16.8287 17.5 16V7C17.5 6.17125 16.8287 5.5 16 5.5H7ZM7 7H16V16H7V7Z",fill:"#595959"}))},Kl=function(t){var a=t.open,n=t.title,r=t.onClose,c=t.onCopied,s=t.onShared,m=t.url,d=t.locale,u=P(t,["open","title","onClose","onCopied","onShared","url","locale"]),g=xa().t,p=o((function(){return F(void 0,void 0,void 0,(function(){var e;return H(this,(function(t){switch(t.label){case 0:return[4,null===(e=null===navigator||void 0===navigator?void 0:navigator.clipboard)||void 0===e?void 0:e.writeText(m)];case 1:return t.sent(),null==c||c(),[2]}}))}))}),[m,c]),v=dn(m||"").filter((function(e){return!e.allowedLocales||e.allowedLocales.includes(d)}));return l((function(){a&&navigator.share&&navigator.share({title:null!=n?n:"Read This Post",url:m}).then((function(){null==s||s()})).catch((function(){null==r||r()}))}),[m,n,s,a]),"undefined"!=typeof navigator&&navigator.share?null:e.createElement(Jt,I({title:g("share.title"),onClose:r,open:a,placement:"bottom"},u),e.createElement("div",{className:"share-container"},e.createElement("div",{className:"icon-container"},e.createElement(i,{type:"semiBold",size:"s3",color:G.colors.gray600},g("share.title")),e.createElement("div",{className:"icon-group"},v.map((function(t,a){return e.createElement("a",{key:a,href:t.href,target:"_blank",rel:"noreferrer"},t.icon)})))),e.createElement("div",{className:"link-container"},e.createElement(i,{type:"semiBold",size:"s3",color:G.colors.gray600},g("share.copyLink")),e.createElement("div",{className:"input-group"},e.createElement(Va,{name:"link",size:"md",value:m,isDisabled:!0}),e.createElement(W,{size:"md",type:"button",color:"tertiary",icon:e.createElement(Zl,null),onClick:p})))))},ql=function(t){var a=t.vaccineRecord,n=t.isInTimeline,l=t.isCurrent,r=t.onMarkAsInjected,o=t.onDelInjected,c=t.className,s=t.siteType,m=xa().t;a.vaccineId,a.id;var d=a.status,u=a.optional,g=a.vaccineName,p=a.doseNumber,v=a.totalDoses,h=a.givenOn;return e.createElement($t,{className:c,"data-theme":s,"data-status":l?"current":d,"data-is-in-timeline":n},e.createElement(ea,null,l?e.createElement(Ra.Current,null):"vaccinated"===d?e.createElement(Ra.Vaccinated,null):"passed"===d?e.createElement(Ra.Missed,null):e.createElement(Ra.Upcoming,null),n?e.createElement("div",{className:"toggle",onChange:function(){"vaccinated"==d?o(a):r(a)}},"vaccinated"===d?e.createElement(Ra.ToggleOn,null):e.createElement(Ra.ToggleOff,null),e.createElement(i,{size:"n1",color:G.colors.gray800},m("vaccinated"===d?"babyVaccine.vaccineCard.injected":"babyVaccine.vaccineCard.markAsInjected"))):e.createElement("div",{className:"in-detail"},m(l?"babyVaccine.status.current":"vaccinated"===d?"babyVaccine.status.vaccinated":"passed"===d?"babyVaccine.status.missed":"babyVaccine.status.upcoming"))),e.createElement(ta,null,e.createElement(i,{size:"s3",color:G.colors.gray800,type:"semiBold"},g),e.createElement(aa,null,e.createElement(i,{size:"n1",color:u?G.colors.gray800:G.colors.red800},m(u?"babyVaccine.vaccineInfo.optional":"babyVaccine.vaccineInfo.mandatory")),e.createElement("span",{className:"dot"}),e.createElement(i,{size:"n1",color:G.colors.gray600},m("babyVaccine.vaccineInfo.dose",{ordinal:p,total:v})),e.createElement("span",{className:"dot"}),e.createElement(i,{size:"n1",color:G.colors.gray800},m("vaccinated"===d?"babyVaccine.vaccineInfo.injectedDate":"babyVaccine.vaccineInfo.suggested",{date:h})))))},Yl=function(t){var a=t.vaccineRecords,n=t.isCurrent,l=t.onMarkAsInjected,r=t.onDelInjected,o=t.countPass,c=t.countNext,s=t.className,m=t.siteType,d=xa().t;return e.createElement(na,{className:s,"data-theme":m},e.createElement(la,null,e.createElement(ra,null,e.createElement(i,{size:"s4",color:n?G.colors.primaryBase:G.colors.gray800,type:"semiBold",className:"title"},a.name||a.shortName),e.createElement(oa,{"data-isCurrent":n},e.createElement("span",{className:"dot"}),e.createElement("div",{className:"line"}))),e.createElement(ia,null,o>0&&e.createElement(i,{size:"n1",color:G.colors.gray600,wordWrap:"none"},d("babyVaccine.timeline.totalPast",{number:o})),o>0&&c>0&&e.createElement("span",{className:"dot"}),c>0&&e.createElement(i,{size:"n1",color:G.colors.gray600,wordWrap:"none"},d("babyVaccine.timeline.totalNext",{number:c})))),e.createElement(ca,null,(null==a?void 0:a.records)&&a.records.map((function(t,a){return e.createElement(ql,{key:"".concat(a).concat(t.vaccineId),vaccineRecord:t,isInTimeline:!0,isCurrent:n&&0===a,onMarkAsInjected:function(){return l(t)},onDelInjected:function(){return r(t)}})}))))},Xl=function(t){var a=t.content,n=t.url,l=t.icon,r=t.gender,o=t.className,c=t.siteType,s=xa().t;return e.createElement(sa,{className:o,"data-theme":c,"data-gender":r},e.createElement("div",{className:"content"},e.createElement(i,{size:"p3",color:G.colors.gray800},a),n&&e.createElement("a",{className:"read-more",href:n,target:"_blank",rel:"noreferrer"},e.createElement("div",null,e.createElement(i,{size:"s4",color:G.colors.primaryBase,type:"semiBold"},s("articlePage.readMore"))),e.createElement(Ra.ArrowRight,{size:20,color:G.colors.primaryBase}))),e.createElement("img",{alt:"health-tool-icon",src:l}))},Ql=function(a){var n=a.babyVaccinationRecord,r=a.onClose,o=a.vaccineDetail,c=a.isDetail,s=a.open,m=a.siteType,d=a.onMarkAsInjected,u=a.onDelInjected,g=xa().t,p=t(0),v=p[0],h=p[1],f=t(!1),E=f[0],y=f[1],b=[{name:g("babyVaccine.popup.tab.schedule"),dataEventAction:"Click"},{name:g("babyVaccine.popup.tab.detail"),dataEventAction:"Click"},{name:g("babyVaccine.popup.tab.benefits"),dataEventAction:"Click"},{name:g("babyVaccine.popup.tab.contraindication"),dataEventAction:"Click"}];return l((function(){c&&h(1)}),[c]),e.createElement(ma,{type:"profile",isOpen:s,onClose:r,siteType:m},e.createElement("div",{className:"header"},e.createElement("div",{className:"title"},e.createElement(i,{size:"s2",type:"semiBold"},g("babyVaccine.popup.title")),e.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"close-button",onClick:r},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("div",{className:"profile-container"},e.createElement(gn,{style:{fontSize:"14px",lineHeight:"22px",width:"100%",border:"none"},onChange:function(e){h(e)},tabContent:b,initialTab:v}),e.createElement(da,null,0===v&&e.createElement(e.Fragment,null,e.createElement(ql,{vaccineRecord:n,onMarkAsInjected:function(){return d(n)},onDelInjected:function(){return u(n)},isInTimeline:!1}),e.createElement("div",{className:"toggle",onChange:function(){"vaccinated"==n.status?u(n):d(n)}},"vaccinated"===n.status?e.createElement(Ra.ToggleOn,null):e.createElement(Ra.ToggleOff,null),e.createElement(i,{size:"n1",color:G.colors.gray800},"vaccinated"===n.status?g("babyVaccine.vaccineCard.injected"):g("babyVaccine.vaccineCard.markAsInjected"))),e.createElement(un,{style:{width:"100%"},label:e.createElement(i,{as:"label",size:"s5",type:"semiBold",color:G.colors.gray600},g("babyVaccine.popup.checkbox.suggestedDate")),onChange:function(){return null},excludeDate:function(e){return ja(e).isAfter(ja())}}),e.createElement(Ua,{label:e.createElement(i,{as:"label",size:"s5",type:"semiBold",color:G.colors.gray600},g("babyVaccine.popup.input.suggestedDate")),name:"check",checked:E,value:"check",onChange:function(){return y(!E)}})),1===v&&e.createElement(e.Fragment,null,e.createElement("span",{className:"description",dangerouslySetInnerHTML:{__html:o.detail}})),2===v&&e.createElement(e.Fragment,null," ",e.createElement("span",{className:"description",dangerouslySetInnerHTML:{__html:o.benefits}})),3===v&&e.createElement(e.Fragment,null,e.createElement("span",{className:"description",dangerouslySetInnerHTML:{__html:o.contraindications}})))),e.createElement(W,{style:{width:"100%",marginTop:12},theme:m,size:"lg",color:"primary"},g("babyVaccine.popup.button.submit")))},Jl=function(t,a){return e.createElement(Ea,{"data-status":t,"data-id":a||"header"},a||"")},$l=function(t){var a=t.vaccineRecord,n=t.onMarkAsInjected,l=t.onDelInjected,r=t.isMobile,o=t.className,c=t.siteType,s=xa().t;return e.createElement(ua,{className:o,"data-theme":c},e.createElement(ga,null,e.createElement(Ra.Missed,{color:G.colors.gray600}),e.createElement(i,{size:"p3",color:G.colors.gray800},s("babyVaccine.immunization.warning"))),e.createElement(pa,null,e.createElement(va,{className:"header"},!r&&e.createElement(ha,{className:"header"},e.createElement(i,{size:"s5",color:G.colors.gray800,type:"semiBold"},s("babyVaccine.immunization.vaccineName"))),e.createElement(fa,{className:"header"},e.createElement("div",{className:"status"},Jl("passed"),e.createElement(i,{size:"p4",color:G.colors.gray800},s("babyVaccine.status.missed"))),e.createElement("div",{className:"status"},Jl("next"),e.createElement(i,{size:"p4",color:G.colors.gray800},s("babyVaccine.status.upcoming"))),e.createElement("div",{className:"status"},Jl("vaccinated"),e.createElement(i,{size:"p4",color:G.colors.gray800},s("babyVaccine.status.vaccinated"))))),a&&a.map((function(t,a){return e.createElement(va,{key:"".concat(a).concat(t.id)},e.createElement(ha,null,e.createElement(i,{size:"n1",color:t.optional?G.colors.gray800:G.colors.red800},t.optional?s("babyVaccine.vaccineInfo.optional"):s("babyVaccine.vaccineInfo.mandatory")),e.createElement(i,{size:r?"s3":"s4",color:G.colors.gray800,type:"semiBold"},t.name||t.antigen)),e.createElement(fa,null,t.records&&t.records.map((function(t,a){return e.createElement("div",{key:a,onClick:function(){"vaccinated"==t.status?l(t):n(t)}},Jl(t.status,a+1))}))))}))))};export{fn as A,En as B,_n as C,ul as D,Kl as E,bn as F,wn as G,Yl as H,Yn as I,Xl as J,Ql as K,$l as L,Il as O,kn as P,An as R,Nn as S,Ln as T,Bn as U,ql as V,yn as a,xn as b,Mn as c,In as d,Wn as e,Zn as f,Kn as g,qn as h,Xn as i,Qn as j,$n as k,tl as l,al as m,nl as n,ll as o,rl as p,ol as q,il as r,vl as s,hl as t,fl as u,bl as v,Cl as w,Pl as x,Gl as y,Ul as z};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{b as e,_ as t}from"./tslib.es6-cdf3fe1c.js";import r from"react";import{Autocomplete as o,Image as n,Select as s}from"@mantine/core";import{CommonGAssets as a}from"./gAssets.js";var c=function(c){var i=c.keepSearch,m=void 0!==i&&i,h=e(c,["keepSearch"]);return m?r.createElement(o,t({rightSection:r.createElement(n,{src:a.getAssetPath("chevron-down.svg"),fit:"none"}),size:"md",maxDropdownHeight:300},h)):r.createElement(s,t({rightSection:r.createElement(n,{src:a.getAssetPath("chevron-down.svg"),fit:"none"}),size:"md",maxDropdownHeight:300},h))};export{c as S};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{b as a,_ as t}from"./tslib.es6-cdf3fe1c.js";import e from"react";var o="P03rcnV",d="LsvykAk",c="S2kaD9B",i="fAwTdkg",n="ITgol3T",r="cD-HMFz",s="oAG2-aJ",l="Y9fGCaj",C=function(C){var m=C.size,u=C.color,h=void 0===u?"primary":u,p=C.theme,v=void 0===p?"helloSites":p,P=C.isDisabled,g=C.isBlock,k=C.title,E=C.className,f=C.onClick,y=C.icon,N=C.iconPosition,b=void 0===N?"left":N,w=C.children,L=C.isLoading,B=void 0!==L&&L,x=C.loadingText,A=C.dataEventCategory,T=C.dataEventAction,z=C.dataEventLabel,D=C.dataProductChannel,S=C.dataProductSku,F=C.dataProductBrand,M=C.dataProductName,j=C.dataProductPrice,G=C.dataProductCategory,W=C.dataProductPosition,Z=C.type,H=a(C,["size","color","theme","isDisabled","isBlock","title","className","onClick","icon","iconPosition","children","isLoading","loadingText","dataEventCategory","dataEventAction","dataEventLabel","dataProductChannel","dataProductSku","dataProductBrand","dataProductName","dataProductPrice","dataProductCategory","dataProductPosition","type"]),I={"data-event-category":A,"data-event-action":T,"data-event-label":z,"data-product-channel":D,"data-product-sku":S,"data-product-brand":F,"data-product-name":M,"data-product-price":j,"data-product-category":G,"data-product-position":W},J=e.createElement("span",{className:d},e.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("circle",{className:l,cx:"12",cy:"12",r:"10",stroke:"white",strokeWidth:"4"})),e.createElement("svg",{className:o,width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},e.createElement("mask",{id:"path-1-inside-1",fill:"white"},e.createElement("path",{d:"M12 0C14.464 2.93833e-08 16.8683 0.758527 18.8863 2.17253C20.9042 3.58653 22.438 5.58746 23.2791 7.90347C24.1203 10.2195 24.2281 12.7383 23.5879 15.1177C22.9477 17.4971 21.5906 19.6218 19.7009 21.2031C17.8111 22.7843 15.4804 23.7456 13.0254 23.9561C10.5704 24.1667 8.11007 23.6164 5.97869 22.38C3.8473 21.1436 2.14819 19.281 1.1122 17.0454C0.0761991 14.8097 -0.246461 12.3093 0.188053 9.8839L4.09856 10.5845C3.8079 12.2069 4.02374 13.8795 4.71676 15.375C5.40977 16.8705 6.54637 18.1165 7.97213 18.9435C9.39789 19.7706 11.0437 20.1387 12.6859 19.9979C14.3282 19.857 15.8873 19.214 17.1514 18.1563C18.4155 17.0985 19.3233 15.6772 19.7516 14.0856C20.1798 12.4939 20.1077 10.8089 19.545 9.25969C18.9823 7.71042 17.9563 6.37193 16.6065 5.42605C15.2566 4.48017 13.6483 3.97277 12 3.97277L12 0Z"})),e.createElement("path",{className:s,d:"M12 0C14.464 2.93833e-08 16.8683 0.758527 18.8863 2.17253C20.9042 3.58653 22.438 5.58746 23.2791 7.90347C24.1203 10.2195 24.2281 12.7383 23.5879 15.1177C22.9477 17.4971 21.5906 19.6218 19.7009 21.2031C17.8111 22.7843 15.4804 23.7456 13.0254 23.9561C10.5704 24.1667 8.11007 23.6164 5.97869 22.38C3.8473 21.1436 2.14819 19.281 1.1122 17.0454C0.0761991 14.8097 -0.246461 12.3093 0.188053 9.8839L4.09856 10.5845C3.8079 12.2069 4.02374 13.8795 4.71676 15.375C5.40977 16.8705 6.54637 18.1165 7.97213 18.9435C9.39789 19.7706 11.0437 20.1387 12.6859 19.9979C14.3282 19.857 15.8873 19.214 17.1514 18.1563C18.4155 17.0985 19.3233 15.6772 19.7516 14.0856C20.1798 12.4939 20.1077 10.8089 19.545 9.25969C18.9823 7.71042 17.9563 6.37193 16.6065 5.42605C15.2566 4.48017 13.6483 3.97277 12 3.97277L12 0Z",stroke:"#91CAFF",strokeWidth:"8",mask:"url(#path-1-inside-1)"}))),V=(y||B)&&e.createElement("span",{className:r},B?J:y," ");return e.createElement("button",t({},I,{className:"".concat(n," ").concat(E||""),"data-size":m,"data-color":h,"data-block":g,"data-has-icon":!!y||void 0,"data-theme":v,disabled:P,onClick:function(a){!B&&!P&&f&&f(a)},title:k,"data-is-loading":B,type:Z},H),e.createElement("span",{className:i},"left"===b&&V,w&&e.createElement("span",{className:c},B&&x||w),"right"===b&&V))};export{C as B};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import e,{useState as t,useEffect as a}from"react";import{z as r}from"./index.styled-354ac1b1.js";import{b as n,_ as o}from"./tslib.es6-cdf3fe1c.js";import{u as i}from"./useTranslations-65f76a8d.js";import{T as s}from"./index-ae9491da.js";import{bo as d,bp as l,bq as c,br as m}from"./index.styled-49b84b98.js";import{t as u}from"./theme-6269934e.js";var b=function(t){var a=t.type,n=void 0===a?"solid":a,o=t.className,i=t.style;return e.createElement(r,{style:i,className:o,"data-diver-type":n,dividerType:n})},y="U9NRDG6",v={admin:"cardAuthor.admin",moderator:"cardAuthor.moderator",ambassador:"cardAuthor.ambassador",expert:"cardAuthor.expert",sponsor:"cardAuthor.sponsor",guide:"cardAuthor.guide",influencer:"cardAuthor.influencer"},p=function(t){var a=t.siteType,r=t.role,s=t.title,d=n(t,["siteType","role","title"]),l=i().t,c=r?function(e){return["admin","moderator","ambassador","expert","sponsor","guide","influencer"].find((function(t){return t===e}))}(r):"";return c&&v[c]?e.createElement("div",o({className:y,"data-label-type":c,"data-is-marrybaby":"marryBaby"===a},d),s||l(v[c])):null},f=function(r){var n=r.style,o=r.initialTab,i=r.tabContent,b=r.onChange,y=r.className,v=r.dataEventCategory,p=r.dataEventAction,f=r.dataEventLabel,E=r.id,A=t(o||0),x=A[0],g=A[1];return a((function(){g(o)}),[o]),e.createElement(d,{style:n,className:y,role:"tablist",id:E},i.map((function(t,a){return e.createElement(l,{"data-is-tab-active":x===a||void 0,"aria-selected":x===a,role:"tab",onClick:function(){g(a),b&&b(a)},onKeyDown:function(e){"Enter"===e.key&&(g(a),b&&b(a))},key:a,"data-event-category":t.dataEventCategory||v,"data-event-action":t.dataEventAction||p,"data-event-label":t.dataEventLabel||f,tabIndex:0,"data-testid":t.dataTestid},e.createElement(c,null,t.icon&&e.createElement(m,null,t.icon),e.createElement(s,{size:t.textSize||"sm",type:t.textType||"bold",color:t.textColor||u.colors.gray800,dataEventCategory:t.dataEventCategory,dataEventAction:t.dataEventAction,dataEventLabel:t.dataEventLabel},t.name)))})))};export{p as A,b as D,f as T};
|