@hhgtech/hhg-components 1.26.44 → 1.26.45
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/babyGrowth.js +2 -2
- package/build/cache.js +1 -1
- package/build/care.js +1 -1
- package/build/components.js +1 -1
- package/build/constants.js +1 -1
- package/build/core-8965bdd1.js +1 -0
- package/build/{dataTransform-e7897aab.js → dataTransform-05ddd7cd.js} +1 -1
- package/build/ecom.js +1 -1
- package/build/esm/babyGrowth.js +2 -2
- package/build/esm/cache.js +1 -1
- package/build/esm/care.js +1 -1
- package/build/esm/components.js +1 -1
- package/build/esm/constants.js +1 -1
- package/build/esm/{core-6651b901.js → core-2f97963b.js} +1 -1
- package/build/esm/{dataTransform-872ce002.js → dataTransform-bff94e40.js} +1 -1
- package/build/esm/ecom.js +1 -1
- package/build/esm/footer.js +1 -1
- package/build/esm/gAssets.js +1 -1
- package/build/esm/{getDynamicHealthTool-7939fd01.js → getDynamicHealthTool-c5f2ce8e.js} +1 -1
- package/build/esm/{getSocialList-c10c30c9.js → getSocialList-98e398fd.js} +1 -1
- package/build/esm/hooks.js +1 -1
- package/build/esm/i18n.js +1 -1
- package/build/esm/{index-16ec8222.js → index-0193722e.js} +1 -1
- package/build/esm/{index-d8d9ca96.js → index-110f03f8.js} +1 -1
- package/build/esm/{index-e4448d0e.js → index-1db6b10e.js} +1 -1
- package/build/esm/{index-e4582886.js → index-291b4f7f.js} +1 -1
- package/build/esm/{index-342159a5.js → index-3d68e62b.js} +1 -1
- package/build/esm/{index-60d97413.js → index-49c18638.js} +1 -1
- package/build/esm/index-5b98f81a.js +1 -0
- package/build/esm/{index-d42b241d.js → index-5c3a0731.js} +1 -1
- package/build/esm/{index-eadd22a2.js → index-7649bf5e.js} +1 -1
- package/build/esm/{index-f05b34f5.js → index-78ce9b91.js} +1 -1
- package/build/esm/{index-b5485e18.js → index-834ac323.js} +1 -1
- package/build/esm/{index-f8533b01.js → index-9352f0f5.js} +6 -6
- package/build/esm/{index-ebbcf67e.js → index-a9e5465e.js} +1 -1
- package/build/esm/index-bcac1312.js +1 -0
- package/build/esm/{index-cd9f66ec.js → index-c18e32b7.js} +1 -1
- package/build/esm/index-c71bb2bc.js +1 -0
- package/build/esm/{index-1f844271.js → index-c8bceedf.js} +1 -1
- package/build/esm/{index-d135613b.js → index-ccac8b4b.js} +1 -1
- package/build/esm/{index-b44c41db.js → index-d00b2e6c.js} +1 -1
- package/build/esm/{index-d89be197.js → index-da4d3bfd.js} +1 -1
- package/build/esm/{index-996c598e.js → index-dc349549.js} +1 -1
- package/build/esm/{index-523dcf7f.js → index-dd39ed3b.js} +1 -1
- package/build/esm/{index-117b1938.js → index-e8a65426.js} +1 -1
- package/build/esm/{index-2b976927.js → index-f4045a17.js} +1 -1
- package/build/esm/index.css +1 -1
- package/build/esm/index.js +1 -1
- package/build/esm/{index.styled-c2813e74.js → index.styled-159b3cc3.js} +2 -2
- package/build/esm/{index.styled-e61e75ba.js → index.styled-4838c976.js} +1 -1
- package/build/esm/{index.styled-64d7719d.js → index.styled-62b41ea7.js} +1 -1
- package/build/esm/{index.styled-7e68c60b.js → index.styled-c71df452.js} +550 -547
- package/build/esm/{index.styled-308a3185.js → index.styled-e8724bf3.js} +1 -1
- package/build/esm/lead.js +1 -1
- package/build/esm/mantine.js +1 -1
- package/build/esm/misc.js +1 -1
- package/build/esm/navigation.js +1 -1
- package/build/esm/onboarding.js +1 -1
- package/build/esm/pwg.js +5 -5
- package/build/esm/{routing-d4d636c0.js → routing-b4d49590.js} +1 -1
- package/build/esm/{screenSizeContext-1d21d1cd.js → screenSizeContext-68c11278.js} +4 -4
- package/build/esm/together.js +1 -1
- package/build/esm/{translationsProvider-6a2295af.js → translationsProvider-1350dca9.js} +1 -1
- package/build/esm/{types-6b60870c.js → types-3b084388.js} +1 -1
- package/build/esm/{types-018451d4.js → types-ad10a136.js} +20 -20
- package/build/esm/types.js +1 -1
- package/build/esm/{useHealthToolCache-aa7017ed.js → useHealthToolCache-54873d1f.js} +1 -1
- package/build/esm/{useRafState-f49d2935.js → useRafState-33430ae3.js} +1 -1
- package/build/esm/{useTranslations-6e57354e.js → useTranslations-fb0c6abd.js} +1 -1
- package/build/esm/{utils-463e18c3.js → utils-39b25303.js} +4 -4
- package/build/esm/vaccination.js +1 -1
- package/build/footer.js +1 -1
- package/build/gAssets.js +1 -1
- package/build/{getDynamicHealthTool-d3757df9.js → getDynamicHealthTool-82344d00.js} +1 -1
- package/build/{getSocialList-f9d8c23b.js → getSocialList-f12f894e.js} +1 -1
- package/build/hooks.js +1 -1
- package/build/i18n.js +1 -1
- package/build/{index-dd9661e3.js → index-0d22bc7f.js} +1 -1
- package/build/{index-974364ca.js → index-1d34b72c.js} +1 -1
- package/build/{index-7a8cec23.js → index-3046bf95.js} +1 -1
- package/build/{index-683bca93.js → index-39de09e8.js} +1 -1
- package/build/{index-86504a02.js → index-46f6cf5d.js} +1 -1
- package/build/{index-169f6535.js → index-5505c87b.js} +1 -1
- package/build/{index-339edf4e.js → index-5a4fcc25.js} +1 -1
- package/build/{index-91f9ca4f.js → index-7b5aaa1b.js} +1 -1
- package/build/index-7dbb8c2a.js +1 -0
- package/build/{index-03ff493f.js → index-7edb8f7e.js} +1 -1
- package/build/index-a976b27c.js +1 -0
- package/build/{index-5fc3b8ac.js → index-ab162cd4.js} +1 -1
- package/build/{index-4f192710.js → index-afe4bf93.js} +1 -1
- package/build/{index-2ba6054f.js → index-d51831fb.js} +1 -1
- package/build/{index-e717ab9a.js → index-e43b7316.js} +1 -1
- package/build/{index-ea26fe56.js → index-e44e5a5e.js} +1 -1
- package/build/{index-48ba2fe4.js → index-e48c412e.js} +1 -1
- package/build/{index-c40cf91d.js → index-ea062489.js} +1 -1
- package/build/{index-9dbcc2a8.js → index-ec9c75dc.js} +1 -1
- package/build/{index-d123b620.js → index-ed19efad.js} +1 -1
- package/build/index-f2786e28.js +1 -0
- package/build/{index-8822fbf1.js → index-f3bd42a6.js} +1 -1
- package/build/index-f964554a.js +1 -0
- package/build/{index-8918cb27.js → index-fc05c83c.js} +1 -1
- package/build/index.css +1 -1
- package/build/index.js +1 -1
- package/build/{index.styled-cdb3d412.js → index.styled-56217e84.js} +1 -1
- package/build/{index.styled-810bc63e.js → index.styled-5e9c4c2c.js} +1 -1
- package/build/{index.styled-ce645681.js → index.styled-96ff8dec.js} +549 -546
- package/build/{index.styled-9a0a07eb.js → index.styled-a581ac44.js} +1 -1
- package/build/{index.styled-d9615d1a.js → index.styled-da71c42e.js} +6 -6
- package/build/lead.js +1 -1
- package/build/mantine.js +1 -1
- package/build/misc.js +1 -1
- package/build/navigation.js +1 -1
- package/build/onboarding.js +1 -1
- package/build/pwg.js +1 -1
- package/build/{routing-1439066c.js → routing-ef849c8a.js} +1 -1
- package/build/{screenSizeContext-69befcd5.js → screenSizeContext-c88a1107.js} +3 -3
- package/build/together.js +1 -1
- package/build/{translationsProvider-d54bbaad.js → translationsProvider-83dd2871.js} +1 -1
- package/build/{types-52d94a6d.js → types-0fb4690f.js} +1 -1
- package/build/{types-55be5f9f.js → types-54b0a08f.js} +1 -1
- package/build/types.js +1 -1
- package/build/useHealthToolCache-0cea0549.js +1 -0
- package/build/{useRafState-160acd5b.js → useRafState-7f85b31d.js} +1 -1
- package/build/{useTranslations-09aab6f2.js → useTranslations-745514b8.js} +1 -1
- package/build/{utils-b919add1.js → utils-fdb7c529.js} +1 -1
- package/build/vaccination.js +1 -1
- package/package.json +1 -1
- package/build/core-fa740542.js +0 -1
- package/build/esm/index-382e46be.js +0 -1
- package/build/esm/index-3db96455.js +0 -1
- package/build/esm/index-aeb3a322.js +0 -1
- package/build/index-42937b26.js +0 -1
- package/build/index-548797f0.js +0 -1
- package/build/index-a5631184.js +0 -1
- package/build/index-fc025628.js +0 -1
- package/build/useHealthToolCache-14fdab26.js +0 -1
- /package/build/{BMI_BOYS.percentile.monthly-c48c06c0.js → BMI_BOYS.percentile.monthly-d5383ac3.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-06dc17e2.js → BMI_BOYS.percentile.weekly-09e31b3d.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-bb384f84.js → BMI_BOYS.percentile.yearly-dfdb9035.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-f3eeb3be.js → BMI_BOYS.zscore.monthly-c49ca626.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-50719100.js → BMI_BOYS.zscore.weekly-cd95bb13.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-3725f33a.js → BMI_BOYS.zscore.yearly-4611a767.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-e0706498.js → BMI_GIRLS.percentile.monthly-7d1a4f2c.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-8d1333bf.js → BMI_GIRLS.percentile.weekly-7e94cc6b.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-09d71c37.js → BMI_GIRLS.percentile.yearly-a7b48427.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-1c1b69bc.js → BMI_GIRLS.zscore.monthly-4a549977.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-47a58e8b.js → BMI_GIRLS.zscore.weekly-fde72d45.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-ed85b6dc.js → BMI_GIRLS.zscore.yearly-ddf2a462.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-c26c4361.js → HEAD CIRCUM_BOYS.percentile.monthly-4486c996.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-01477499.js → HEAD CIRCUM_BOYS.percentile.weekly-4c64887c.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-900fa742.js → HEAD CIRCUM_BOYS.percentile.yearly-1324a572.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-c7302630.js → HEAD CIRCUM_BOYS.zscore.monthly-8a94c59d.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-c8f7d538.js → HEAD CIRCUM_BOYS.zscore.weekly-777c3a09.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-082bc52f.js → HEAD CIRCUM_BOYS.zscore.yearly-8ab8aae1.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-61aa08c9.js → HEAD CIRCUM_GIRLS.percentile.monthly-c27dfd37.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-d45d16c9.js → HEAD CIRCUM_GIRLS.percentile.weekly-d7a8b190.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-4849916e.js → HEAD CIRCUM_GIRLS.percentile.yearly-4d707c7e.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-64cd9537.js → HEAD CIRCUM_GIRLS.zscore.monthly-f231639c.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-07ce6eb1.js → HEAD CIRCUM_GIRLS.zscore.weekly-0cd6870a.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-45db5eaa.js → HEAD CIRCUM_GIRLS.zscore.yearly-8746e855.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-785fb275.js → HEIGHT_BOYS.percentile.monthly-4dd1810f.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-80107068.js → HEIGHT_BOYS.percentile.weekly-4a375e72.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-a666d10b.js → HEIGHT_BOYS.percentile.yearly-1b204aba.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-4e15ea8f.js → HEIGHT_BOYS.zscore.monthly-f48213fd.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-6c473ad7.js → HEIGHT_BOYS.zscore.weekly-3dc6c261.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-c3455de4.js → HEIGHT_BOYS.zscore.yearly-22cdbd93.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-26f6df22.js → HEIGHT_GIRLS.percentile.monthly-6e50526a.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-7486e661.js → HEIGHT_GIRLS.percentile.weekly-5663e37f.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-ba113469.js → HEIGHT_GIRLS.percentile.yearly-2c2f93d7.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-386b5315.js → HEIGHT_GIRLS.zscore.monthly-673b9d7a.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-16e450ba.js → HEIGHT_GIRLS.zscore.weekly-f7d66d0d.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-6dd7f2f1.js → HEIGHT_GIRLS.zscore.yearly-40d97951.js} +0 -0
- /package/build/{Onboarding-8e53aa5b.js → Onboarding-d04183a6.js} +0 -0
- /package/build/{Visible-7b0a276f.js → Visible-e16c4bce.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-3f8c872b.js → WEIGHT_BOYS.percentile.monthly-0bbb1a79.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-2335ba32.js → WEIGHT_BOYS.percentile.weekly-b9ef6247.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-ef8513c3.js → WEIGHT_BOYS.percentile.yearly-8a38258e.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-4fe88f46.js → WEIGHT_BOYS.zscore.monthly-635eba86.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-acf98935.js → WEIGHT_BOYS.zscore.weekly-9c356cf8.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-c8b8f5df.js → WEIGHT_BOYS.zscore.yearly-3b29a016.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-1ddecad7.js → WEIGHT_GIRLS.percentile.monthly-95c4bd7c.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-421d903d.js → WEIGHT_GIRLS.percentile.weekly-6a9ec464.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-c8621039.js → WEIGHT_GIRLS.percentile.yearly-cd0bd57b.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-4eaffefb.js → WEIGHT_GIRLS.zscore.monthly-5cd9b312.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-8d9d4cb3.js → WEIGHT_GIRLS.zscore.weekly-f7f9f2c7.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-8a017dcc.js → WEIGHT_GIRLS.zscore.yearly-e1864512.js} +0 -0
- /package/build/{constants-983bcdcb.js → constants-f50ae05a.js} +0 -0
- /package/build/{cookieHelper-a4a37a7f.js → cookieHelper-6fe7351d.js} +0 -0
- /package/build/{dataTransform-7385a879.js → dataTransform-35b4ec19.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-c8a18582.js → BMI_BOYS.percentile.monthly-20bf693d.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-6801a39f.js → BMI_BOYS.percentile.weekly-a483dcf4.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-b86e4e7c.js → BMI_BOYS.percentile.yearly-efdc5949.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-80e2c044.js → BMI_BOYS.zscore.monthly-d4de95b9.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-308cfc22.js → BMI_BOYS.zscore.weekly-285e6dd1.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-a962d248.js → BMI_BOYS.zscore.yearly-259235bd.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-84008849.js → BMI_GIRLS.percentile.monthly-9326c3f5.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-6043dc4a.js → BMI_GIRLS.percentile.weekly-333355c0.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-0c6e6993.js → BMI_GIRLS.percentile.yearly-013010f1.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-1e6cec1d.js → BMI_GIRLS.zscore.monthly-bc76865b.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-f701953d.js → BMI_GIRLS.zscore.weekly-d5fb85ff.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-b1b960f8.js → BMI_GIRLS.zscore.yearly-7b458364.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-fdf18812.js → HEAD CIRCUM_BOYS.percentile.monthly-7bae8cff.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-1f327bbb.js → HEAD CIRCUM_BOYS.percentile.weekly-28a660a3.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-3da7cf99.js → HEAD CIRCUM_BOYS.percentile.yearly-b50f1021.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-0f07602d.js → HEAD CIRCUM_BOYS.zscore.monthly-06137e33.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-5d6f4285.js → HEAD CIRCUM_BOYS.zscore.weekly-68ebee8c.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-a403565a.js → HEAD CIRCUM_BOYS.zscore.yearly-33f5e9ac.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-ab58aabc.js → HEAD CIRCUM_GIRLS.percentile.monthly-71f2d826.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-26b6d490.js → HEAD CIRCUM_GIRLS.percentile.weekly-b2f4544f.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-630d183f.js → HEAD CIRCUM_GIRLS.percentile.yearly-370500bd.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-41cb40e6.js → HEAD CIRCUM_GIRLS.zscore.monthly-21890934.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-eb8d1a0b.js → HEAD CIRCUM_GIRLS.zscore.weekly-f51713ea.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-9601abee.js → HEAD CIRCUM_GIRLS.zscore.yearly-8d0b8e7a.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-5003392b.js → HEIGHT_BOYS.percentile.monthly-1b94e668.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-80304f1e.js → HEIGHT_BOYS.percentile.weekly-232b6a48.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-8d834e11.js → HEIGHT_BOYS.percentile.yearly-ccd088be.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-af33b114.js → HEIGHT_BOYS.zscore.monthly-ae38e257.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-2b62a9f2.js → HEIGHT_BOYS.zscore.weekly-86950405.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-852d6014.js → HEIGHT_BOYS.zscore.yearly-81bcb862.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-720e6c09.js → HEIGHT_GIRLS.percentile.monthly-284f8825.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-7ec9b898.js → HEIGHT_GIRLS.percentile.weekly-95401dbe.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-8136cadd.js → HEIGHT_GIRLS.percentile.yearly-5e6dec75.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-625ea6a2.js → HEIGHT_GIRLS.zscore.monthly-9dee07f1.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-ac61052d.js → HEIGHT_GIRLS.zscore.weekly-b9fd57a7.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-8da96f6c.js → HEIGHT_GIRLS.zscore.yearly-93829db3.js} +0 -0
- /package/build/esm/{Onboarding-13f86a9f.js → Onboarding-9b851115.js} +0 -0
- /package/build/esm/{Visible-926df7c7.js → Visible-2302414c.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-86019355.js → WEIGHT_BOYS.percentile.monthly-2b320428.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-7c972e09.js → WEIGHT_BOYS.percentile.weekly-c63b671f.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-ff7f4b54.js → WEIGHT_BOYS.percentile.yearly-6c7a46a5.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-88630f7d.js → WEIGHT_BOYS.zscore.monthly-e1d74058.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-a4dc5567.js → WEIGHT_BOYS.zscore.weekly-4a9965ff.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-e26e4037.js → WEIGHT_BOYS.zscore.yearly-fde4cfce.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-6c1736d9.js → WEIGHT_GIRLS.percentile.monthly-22c1f4a9.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-5aad062e.js → WEIGHT_GIRLS.percentile.weekly-775627c2.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-0cb98f53.js → WEIGHT_GIRLS.percentile.yearly-85b67168.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-5d8f1f8c.js → WEIGHT_GIRLS.zscore.monthly-230ce0a8.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-1633b1f1.js → WEIGHT_GIRLS.zscore.weekly-8e0d475f.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-014468c3.js → WEIGHT_GIRLS.zscore.yearly-0215b348.js} +0 -0
- /package/build/esm/{constants-8950ac78.js → constants-2a316b57.js} +0 -0
- /package/build/esm/{cookieHelper-72979570.js → cookieHelper-77ce16ea.js} +0 -0
- /package/build/esm/{dataTransform-58614be4.js → dataTransform-022395a7.js} +0 -0
- /package/build/esm/{index-9469d70f.js → index-8f53abd3.js} +0 -0
- /package/build/esm/{index-02b5e1c8.js → index-9405b202.js} +0 -0
- /package/build/esm/{isProduction-0faacc86.js → isProduction-2563640c.js} +0 -0
- /package/build/esm/{localizeNumberFormat-344ce3d3.js → localizeNumberFormat-651b6ce6.js} +0 -0
- /package/build/esm/{normalizeLink-1b1088cc.js → normalizeLink-fe15953a.js} +0 -0
- /package/build/esm/{theme-d23e90af.js → theme-af9eb214.js} +0 -0
- /package/build/esm/{translationsContext-479f090b.js → translationsContext-b31a5ddf.js} +0 -0
- /package/build/esm/{tslib.es6-6c8967e6.js → tslib.es6-42268328.js} +0 -0
- /package/build/esm/{types-35ccb303.js → types-29d8269a.js} +0 -0
- /package/build/esm/{useIsInit-43fbd5e5.js → useIsInit-d45dfe9b.js} +0 -0
- /package/build/esm/{useOutsideClick-cc7139cb.js → useOutsideClick-4bf6b5dc.js} +0 -0
- /package/build/esm/{useScrollbarSize-70e85fca.js → useScrollbarSize-d5bd37b6.js} +0 -0
- /package/build/esm/{useUniqueId-362366da.js → useUniqueId-3f8c0091.js} +0 -0
- /package/build/esm/{utils-ba33cc9e.js → utils-7480dfae.js} +0 -0
- /package/build/{index-e724ae26.js → index-11dd2e74.js} +0 -0
- /package/build/{index-75de0be5.js → index-ccdbfbf0.js} +0 -0
- /package/build/{isProduction-7edfdddb.js → isProduction-2c6d17cf.js} +0 -0
- /package/build/{localizeNumberFormat-48a4297a.js → localizeNumberFormat-266858b2.js} +0 -0
- /package/build/{normalizeLink-8f724b34.js → normalizeLink-c9329847.js} +0 -0
- /package/build/{theme-9b405d7c.js → theme-0e4c967e.js} +0 -0
- /package/build/{translationsContext-d8e6734d.js → translationsContext-0496f203.js} +0 -0
- /package/build/{tslib.es6-782e7656.js → tslib.es6-ba8d762a.js} +0 -0
- /package/build/{types-516c08ca.js → types-ab20890e.js} +0 -0
- /package/build/{useIsInit-de42e861.js → useIsInit-18781cc7.js} +0 -0
- /package/build/{useOutsideClick-74d7eae8.js → useOutsideClick-6cf1c9b4.js} +0 -0
- /package/build/{useScrollbarSize-0ea4e9aa.js → useScrollbarSize-ecc8ec63.js} +0 -0
- /package/build/{useUniqueId-6768a1a6.js → useUniqueId-8f4a6b95.js} +0 -0
- /package/build/{utils-fcf02fa3.js → utils-f23f3aa8.js} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{M as e}from"./utils-
|
|
1
|
+
import{M as e}from"./utils-7480dfae.js";import t from"styled-components";import{t as i}from"./theme-af9eb214.js";import{C as o}from"./index.styled-e8724bf3.js";import a,{useMemo as r,createContext as n,useState as l,useEffect as s,memo as p,useContext as d}from"react";import{u as c}from"./useTranslations-fb0c6abd.js";import{CommonGAssets as m}from"./gAssets.js";import{a as g,_ as h}from"./tslib.es6-42268328.js";import{C as u,a as b,T as x,E as f,d as y}from"./index-834ac323.js";import{g as v}from"./cookieHelper-77ce16ea.js";import _ from"slugify";import w from"string-format";import{i as E}from"./isProduction-2563640c.js";import{g as T,a as O,b as A,c as I}from"./routing-b4d49590.js";import L from"dayjs";import $ from"dayjs/plugin/relativeTime";const S=t.div`
|
|
2
2
|
position: fixed;
|
|
3
3
|
left: 50%;
|
|
4
4
|
|
|
@@ -472,404 +472,7 @@ import{M as e}from"./utils-ba33cc9e.js";import t from"styled-components";import{
|
|
|
472
472
|
* Copyright(c) 2012-2014 Roman Shtylman
|
|
473
473
|
* Copyright(c) 2015 Douglas Christopher Wilson
|
|
474
474
|
* MIT Licensed
|
|
475
|
-
*/;var be=function(e,t){if("string"!=typeof e)throw new TypeError("argument str must be a string");var i={},o=(t||{}).decode||ve,a=0;for(;a<e.length;){var r=e.indexOf("=",a);if(-1===r)break;var n=e.indexOf(";",a);if(-1===n)n=e.length;else if(n<r){a=e.lastIndexOf(";",r-1)+1;continue}var l=e.slice(a,r).trim();if(void 0===i[l]){var s=e.slice(r+1,n).trim();34===s.charCodeAt(0)&&(s=s.slice(1,-1)),i[l]=we(s,o)}a=n+1}return i},xe=function(e,t,i){var o=i||{},a=o.encode||_e;if("function"!=typeof a)throw new TypeError("option encode is invalid");if(!ye.test(e))throw new TypeError("argument name is invalid");var r=a(t);if(r&&!ye.test(r))throw new TypeError("argument val is invalid");var n=e+"="+r;if(null!=o.maxAge){var l=o.maxAge-0;if(isNaN(l)||!isFinite(l))throw new TypeError("option maxAge is invalid");n+="; Max-Age="+Math.floor(l)}if(o.domain){if(!ye.test(o.domain))throw new TypeError("option domain is invalid");n+="; Domain="+o.domain}if(o.path){if(!ye.test(o.path))throw new TypeError("option path is invalid");n+="; Path="+o.path}if(o.expires){var s=o.expires;if(!function(e){return"[object Date]"===fe.call(e)||e instanceof Date}(s)||isNaN(s.valueOf()))throw new TypeError("option expires is invalid");n+="; Expires="+s.toUTCString()}o.httpOnly&&(n+="; HttpOnly");o.secure&&(n+="; Secure");if(o.priority){switch("string"==typeof o.priority?o.priority.toLowerCase():o.priority){case"low":n+="; Priority=Low";break;case"medium":n+="; Priority=Medium";break;case"high":n+="; Priority=High";break;default:throw new TypeError("option priority is invalid")}}if(o.sameSite){switch("string"==typeof o.sameSite?o.sameSite.toLowerCase():o.sameSite){case!0:n+="; SameSite=Strict";break;case"lax":n+="; SameSite=Lax";break;case"strict":n+="; SameSite=Strict";break;case"none":n+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}}return n},fe=Object.prototype.toString,ye=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;function ve(e){return-1!==e.indexOf("%")?decodeURIComponent(e):e}function _e(e){return encodeURIComponent(e)}function we(e,t){try{return t(e)}catch(t){return e}}var Ee={parse:be,serialize:xe};const Te={BASE_API_PATH:"/",PROFILE:"profile?website_url={website_url}",SEARCH_USER:"profile/search?website_url={website_url}&name={name}",FETCH_PREVIEW:"fetch/preview?website_url={website_url}",FETCH_POST_OR_TOPIC:"fetch/{slug}?website_url={website_url}&community_slug={communitySlug}",POST:{LIST:"post?website_url={website_url}&slug={slug}&pin={pin}&page={page}&community_id={communityId}&topic_id={topicId}&sort_by={sort}&id={id}",DETAIL_BY_ID_OR_SLUG:"post/{idSlug}?website_url={website_url}",CREATE:"post/create?website_url={website_url}",LIKE:"post/{id}/like?website_url={website_url}",DELETE:"post/{id}/delete?website_url={website_url}",REPORT:"post/{id}/report?website_url={website_url}",UPDATE:"post/{id}/update?website_url={website_url}",FOLLOW:"post/{id}/follow?website_url={website_url}",CREATE_ARTICLE_COMMENT:"article-comment/create?website_url={website_url}"},COMMENT:{LIST:"comment?website_url={website_url}&post_id={postId}&page={page}&sort_by={sort}&items_per_page={perPage}&_without_reply={withoutReply}",CREATE:"comment/create?website_url={website_url}",REPLY:"comment/reply?website_url={website_url}",DELETE:"comment/{id}/delete?website_url={website_url}",LIKE:"comment/{id}/like?website_url={website_url}",UNLIKE:"comment/{id}/unlike?website_url={website_url}",IMAGE_UPLOAD:"comment/image/upload?website_url={website_url}"},COMMUNITY:{LIST:"community?website_url={website_url}&page={page}",DETAIL_BY_ID_OR_SLUG:"community/{idSlug}?website_url={website_url}",JOIN:"community/join?website_url={website_url}",LEAVE:"community/leave?website_url={website_url}"},TOPIC:{LIST:"topic?website_url={website_url}&community_slug={communitySlug}&community_id={communityId}&page={page}",DETAIL_BY_ID_OR_SLUG:"topic/{idSlug}?website_url={website_url}&community_slug={communitySlug}&community_id={communityId}",HEALTH_TOOLS:"tools?topic_id={topicId}&website_url={website_url}",SUBOTS:"subots?topic_id={topicId}&website_url={website_url}",SUGGESTED_POSTS:"suggested-posts?topic_id={topicId}&website_url={website_url}&page={page}",JOIN:"topic/join?website_url={website_url}",LEAVE:"topic/leave?website_url={website_url}"},BOOKMARK:{LIST:"bookmark?user_id={userId}&website_url={website_url}",CREATE:"bookmark/create?website_url={website_url}",DELETE:"bookmark/delete?website_url={website_url}"},UPLOAD_IMAGE:"auth/comment/image/upload?website_url={website_url}",GET_DUE_DATE_INFO:"health-tools/due-date-calculator/info",USER:{DETAIL:"profile/user/detail?website_url={website_url}&user_id={id}",COUNT_TABS:"profile/user/counting?website_url={website_url}&user_id={id}&total_post={post}&total_comment={comment}&total_community={community}&total_reply={reply}&total_question={question}",LIST_POST:"profile/user/posts?website_url={website_url}&user_id={id}&is_anonymous={isAnonymous}&paging=none",LIST_QUESTION_NEED_REPLY:"questions/no-reply?website_url={website_url}",LIST_QUESTION:"question/{id}?website_url={website_url}&is_reply={isReply}&is_question={isQuestion}&is_ignore={isIgnore}&group_by={groupBy}",SKIP_QUESTION:"questions/ignore?website_url={website_url}&question_id={id}",LIST_ANSWERS:"replied/{id}?website_url={website_url}&paging=1&items_per_page={pageSize}"}},Oe={GET_DOCTOR_INFO:"api/doctors/{doctorId}?site={website_url}",GET_HOSPITAL_INFO:"api/hospital/branch/{hospital_branch_id}?site={website_url}"},Ae={BASE_API_PATH:"/",GET_SEARCH_ARTICLES:"search?s={keyword}&page={page}",GET_ALL_CATEGORIES:"categories?type=all",GET_HOMEPAGE_POSTS:"home/trending-post?type={type}",GET_HOMEPAGE_LATEST_POSTS:"articles?page=1&_islatest=1",GET_ARTICLE_DETAIL:"article/{slug}?skip_ids={skipIds}&_isrelated={isRelated}",GET_CATEGORY_DETAIL:"category/{slug}",GET_CATEGORY_OR_ARTICLE_DETAIL:"fetch/{fullSlug}",GET_PREVIEW_ARTICLE:"fetch/{fullSlug}?preview_nonce={nonce}&preview=true",GET_ARTICLE_OF_CATEGORY:"articles?category_id={categoryId}&page={currentPage}",GET_PAGE_STATIC:"page/{slug}",GET_ALL_HEALTH_TOOLS:"healthtools",GET_ALL_MARRYBABY_HEALTH_TOOLS:"health-tools",GET_HEALTH_TOOLS_BY_CATEGORY:"healthtools?_hasgroup=1",GET_AUTHOR:"author/{slug}",GET_ALL_EXPERTS:"experts",GET_ALL_EXPERTS_PAGING:"experts?page={page}",GET_EXPERT:"expert/{slug}",GET_EXPERT_POST:"expert/article?page={page}",POST_ARTICLE_FEEDBACK:"article/feedback/{id}",GET_AZ_DRUGS:"category/a-z/{category}",GET_HOMEPAGE_MEDICAL_REVIEWED:"home/medical-reviewed",GET_ARTICLES_BY_IDS:"articles?ids={ids}",GET_ARTICLE_OF_CATEGORY_NO_EXPLAINERS:"articles?category_id={categoryId}&page={currentPage}&skip_ids={ids}",GET_EXPERT_OF_CATEGORY:"category/expert/?id={id}",GET_DUE_DATE_INFO:"health-tools/due-date-calculator/info",GET_DUE_DATE_ALL_WEEKS:"health-tools/due-date-calculator/all",GET_DUE_DATE_SUGGESTED_ARTICLES:"health-tools/due-date-calculator/result?from_week={from}&to_week={to}",GET_PROFILE:"user/profile",GET_ADMIN_PROFILE:"GET_ADMIN_PROFILE",GET_FEATURE:"feature",POST_NEW_FEATURE:"feature/update",CREATE_BOOKMARK:"bookmark/create",DELETE_BOOKMARK:"bookmark/delete",DELETE_ALL_BOOKMARK:"bookmark/delete-all",GET_ALL_BOOKMARK:"bookmark",SSO_USER_PROFILE:"user",SSO_USER_BOOKMARKS:"user/bookmarks",SSO_USER_PASSWORD:"user/settings/password",SSO_USER_EMAIL:"user/settings/update-email",SSO_CLOSE_ACCOUNT:"user/settings/close-account",SSO_HELP:"user/settings/help",GET_HEALTH_TOOL_OVULATION_INFO:"health-tools/ovulation-calculator/info",GET_HEALTH_TOOL_OVULATION_SUGGESTED_ARTICLES:"health-tools/ovulation-calculator/result?method={method}",GET_HEALTH_TOOL_BMI_INFO:"health-tools/bmi-calculator/info",GET_HEALTH_TOOL_BMI_RESULT:"health-tools/bmi-calculator/result?gender={gender}&bmi={bmi}&age={age}",GET_HEALTH_TOOL_BMR_INFO:"health-tools/bmr-calculator/info",GET_HEALTH_TOOL_BMR_RESULT:"health-tools/bmr-calculator/result?kcals={kcals}&gender={gender}&age={age}",GET_HEALTH_TOOL_PWG_INFO:"health-tools/preweight-gain-calculator/info",GET_HEALTH_TOOL_THR_INFO:"health-tools/target-heart-rate/info",GET_HEALTH_TOOL_BABY_GROWTH_INFO:"health-tools/baby-growth-tracking/info",POST_UPDATE_LOCATION:"tracking/geo/",GET_SIDIS_DUE_DATE:"frontend/tools/due_date",GET_SIDIS_OVULATION:"frontend/tools/ovulation",GET_SIDIS_BMI:"frontend/tools/bmi",GET_SIDIS_BMR:"frontend/tools/bmr",POST_LOGOUT:"user/logout",OVULATION_CREATE_EVENT:"ovulation/event?method={method}&day={day}&cycle={cycle}&period={period}&token={token}&user_id={user_id}",GET_ALL_SPOTLIGHT:"spotlights?per_page={perPage}&order_by={orderBy}",SSO_UPDATE_FIRST_TIME_BOOKMARK:"bookmark/update-first-time",POST_COMMENT_NOTIFICATION:"comment/notification",GET_ABOUT_US_DATA:"about",POST_LEAD_IMPRESSION:"campaign/{campaignCode}/impression",POST_LEAD_POPUP_EXIT:"campaign/{campaignCode}/popup_exit",POST_LEAD_LEAD:"campaign/{campaignCode}/lead",POST_SSO_VERIFY_TOKEN:"verify-id-token",GET_LANDING_PAGE_FIRST_NODE:"landing_page/bot",GET_LANDING_PAGE_NEXT_NODE:"landing_page/messages",POST_LANDING_PAGE_IMPRESSION:"landing_page/impressions",POST_LANDING_PAGE_CLICK:"landing_page/clicks",FETCH_URL_DATA:"preview",GET_SPOTLIGHT_LANDING:"spotlight/{slug}",GET_FOOTER_INFO:"footer",CHECK_SSO_EMAIL:"member/check-email",GET_HOMEPAGE_SITEWIDE_BANNER:"home/sitewide-banner",GET_DYNAMIC_FOOTER:"menu/footer",GET_EXPERTS:"experts?page={page}&number={perPage}&s={search}",GET_EXPERT_BY_ID:"expert/{id}"},Ie={SEARCH_USER:"admin/profile/search?website_url={website_url}&name={name}",COMMENT:{IMAGE_UPLOAD:"admin/comment/image/upload?website_url={website_url}"}},Le={locale:"vi-VN",env:{isMarryBaby:!1,togetherBasePath:"/community"},router:{basePath:"",asPath:"/"}},$e=n({data:Le,action:{pushNotifications:e=>e,sanitizeFunction:e=>e}});let Se=Le;const ke=({locale:e="vi-VN",children:t,userInfo:i,router:o,env:r={isMarryBaby:!1,togetherBasePath:"/community"},sanitizeFunction:n=(e=>e),pushNotifications:p=(()=>!1)})=>{const[d,c]=l();return Se={userInfo:i,locale:e,togetherUserId:d,router:o,env:r},s((()=>{(null==i?void 0:i.id)&&Ve(Ue(Te.PROFILE,{_locale:e}),"GET").then((e=>{var t;c(null===(t=null==e?void 0:e.data)||void 0===t?void 0:t.id)}))}),[null==i?void 0:i.id]),a.createElement($e.Provider,{value:{data:{userInfo:i,locale:e,togetherUserId:d,router:o,env:r},action:{pushNotifications:p,sanitizeFunction:n}}},t)},Re={"vi-VN":"hellobacsi.com","id-ID":"hellosehat.com","ms-MY":"hellodoktor.com","km-KH":"hellokrupet.com","en-PH":"hellodoctor.com.ph","th-TH":"hellokhunmor.com","my-MM":"hellosayarwon.com","zh-TW":"helloyishi.com.tw","hi-IN":"helloswasthya.com"},De={"vi-VN":"marrybaby.vn"},Pe=process.env.NEXT_PUBLIC_DEPLOY_LOCALE||"vi-VN",Ce=e=>{const{env:{isMarryBaby:t}}=Se;return`https://${t?De[e]:Re[e]}`},Ne=e=>{const t=e.indexOf("?");return t>=0?e.slice(0,t+1)+e.slice(t+1).replace(/[^=&]+=(&|$)/g,"").replace(/&$/,""):e},Be=e=>{const{env:{isMarryBaby:t}}=Se;if("undefined"!=typeof window)return window.location.origin;const i="staging"===process.env.NEXT_PUBLIC_DEPLOY_ENV;return"development"===process.env.NEXT_PUBLIC_DEPLOY_ENV?"http://localhost:3000":`https://${i?t?"fe.":"discover.":t?"www.":""}${Re[e]}`},Ue=(e,t,i)=>{let o="";i&&(o=Object.keys(i).map((e=>e+"="+i[e])).join("&"));const{togetherBaseApiUrl:a=""}=(null==Se?void 0:Se.env)||{};let r=w(e,Object.assign(Object.assign({},(null==t?void 0:t._locale)?{website_url:Ce(String(t._locale))}:{}),t));return r+=`${r.includes("?")?"&":"?"}${o}`,a+"api/v1/"+Ne(r)},Ge=(e,t,i)=>{const{discoverBaseApiUrl:o="",discoverBaseProdApiUrl:a=""}=(null==Se?void 0:Se.env)||{};return(!E&&i?a:o)+"wp-json/api/"+Ne(w(e,Object.assign({},t)))},Me=(e,t,i)=>{const{marryBabyApiUrl:o="",marryBabyProdApiUrl:a=""}=(null==Se?void 0:Se.env)||{};return(i&&!E?a:o)+"wp-json/api/"+Ne(w(e,Object.assign({},t)))},He=(e,t)=>{const{careBaseApiUrl:i=""}=(null==Se?void 0:Se.env)||{};return(i||"https://service-health-care.hellohealthgroup.com/")+Ne(w(e,Object.assign({},t)))},ze=e=>((null==e?void 0:e.data)&&(e.data instanceof FormData?e.body=e.data:"object"==typeof e.data&&(e.body=JSON.stringify(e.data)),delete e.data),e),je=(e,t,i,o=!1)=>g(void 0,void 0,void 0,(function*(){var a,r,n,l;try{const a=yield fetch(o?e:(l=e,encodeURI(l).replace(/%5B/g,"[").replace(/%5D/g,"]")),Object.assign(Object.assign({method:t},ze(i)),{headers:Object.assign({},null==i?void 0:i.headers)})).then((e=>e.json()));if(a)return a}catch(t){return console.log(t),console.log({url:e,status:null===(a=null==t?void 0:t.response)||void 0===a?void 0:a.status,statusText:null===(r=null==t?void 0:t.response)||void 0===r?void 0:r.statusText}),(null===(n=null==t?void 0:t.response)||void 0===n?void 0:n.data)||null}return null})),Fe=(e,t="GET",i,o)=>g(void 0,void 0,void 0,(function*(){var a,r,n,l,s,p;try{const l="string"==typeof e?e:e.url,s="string"==typeof e?e:e.backupUrl,p=Ee.parse(o||""),d=p[B]||v(B);if(!d||!d.length)return je(s||l,t,i);try{const e=yield fetch(l,Object.assign(Object.assign({method:t},ze(i)),{headers:Object.assign({Authorization:"Bearer "+d},null==i?void 0:i.headers)})).then((e=>e.json()));if(null===(a=null==e?void 0:e.messages)||void 0===a?void 0:a.find((e=>"Unauthenticated"===(null==e?void 0:e.toLowerCase()))))return je(s||l,t,i);if(e)return e}catch(e){return console.log({status:null===(r=null==e?void 0:e.response)||void 0===r?void 0:r.status,statusText:null===(n=null==e?void 0:e.response)||void 0===n?void 0:n.statusText}),je(s||l,t,i)}}catch(e){return console.log({status:null===(l=null==e?void 0:e.response)||void 0===l?void 0:l.status,statusText:null===(s=null==e?void 0:e.response)||void 0===s?void 0:s.statusText}),(null===(p=null==e?void 0:e.response)||void 0===p?void 0:p.data)||null}return null})),Ve=(e,t,i,o)=>g(void 0,void 0,void 0,(function*(){try{const a=Ee.parse(o||""),r=a[B]||v(B);if(r&&r.length){const o=yield fetch(e,Object.assign(Object.assign({method:t},ze(i)),{headers:Object.assign({Authorization:"Bearer "+r},null==i?void 0:i.headers)})).then((e=>e.json()));if(o)return o}}catch(e){return null}return null})),Ye=(e,t,i,o)=>g(void 0,void 0,void 0,(function*(){try{const a=Ee.parse(o||""),r=a[U]||v(U);if(r&&r.length){const o=yield fetch(e,Object.assign(Object.assign({method:t},ze(i)),{headers:Object.assign({Authorization:"Bearer "+r},null==i?void 0:i.headers)})).then((e=>e.json()));if(o)return o}}catch(e){return null}return null}));function Ke(e,t,i){const o=new RegExp("([?&])"+t+"=.*?(&|$)","i"),a=-1!==e.indexOf("?")?"&":"?";return e.match(o)?e.replace(o,"$1"+t+"="+i+"$2"):e+a+t+"="+i}const We=(e,t,i="/community")=>{const o=e||("undefined"!=typeof window?window.location.href:"/");let a="undefined"!=typeof window?window.location.origin:"";a||e&&(e.startsWith("http://")||e.startsWith("https://"))&&(a=e.split("/").slice(0,3).join("/"));return((e,t)=>{const{publicSSO:i}=Se.env,o=e||window.location.href;return t&&Object.keys(t).map((e=>{Ke(o,e,t[e])})),Ke(o,"source","communities"),i?`${i}?returnUrl=${encodeURIComponent(o.toString())}`:o})(`${a}${i}/on-boarding?return=${encodeURIComponent(o)}`,t)},Xe=(e,t,i,o)=>i&&t?`${i}-${t}`:`${_(e||"",{lower:!0,locale:o||Pe})}-${t}`,qe=({name:e,id:t,locale:i})=>{var o;return`/care/${null===(o=z[i||"vi-VN"])||void 0===o?void 0:o.DOCTOR}/${Xe(e,t)}`},Ze=({name:e,id:t,slug:i,locale:o})=>{var a;return`/care/${null===(a=z[o||"vi-VN"])||void 0===a?void 0:a.HOSPITAL}/${Xe(e,t,i)}`},Je=a.createContext({}),Qe=e=>{var{children:t}=e,i=h(e,["children"]);const[o,n]=a.useState((()=>i.currentUrl||`https://${"marryBaby"===i.siteType?De[i.locale||"en-PH"]:y[i.locale||"en-PH"]}${"together"===i.projectType?"/community":"ecom"===i.projectType?"/ecom":"care"===i.projectType?"/care":""}/`));s((()=>{const e=()=>{n(window.location.href)};return window.addEventListener("popstate",e),e(),()=>{window.removeEventListener("popstate",e)}}),[]);const l=(({locale:e,projectType:t,isMobile:i,siteType:o})=>r((()=>{const a=!(!i&&"profile"===t),r="discover"===t||"marryBaby"===t||"profile"===t&&"marryBaby"===o,n="marryBaby"!==o&&"marryBaby"!==t&&u.includes(e),l="marryBaby"!==t&&"discover"===t&&"marryBaby"!==o&&b.includes(e),s="marryBaby"===t||x.includes(e),p=f.includes(e),d="ecom"===t,c=T(e,"marryBaby"===o);return{enableProfileNavigatorMenu:a,enableSearchBar:r,enableNavCare:n,enableNavCareBooking:l,enableNavTogether:s,enableNavEcom:p,enableProfileEcom:d,enableProfileMyHealth:!0,statics:{HOME_PAGE_URL:c,CARE_URL_FE:`${c}/care`,TOGETHER_URL_FE:`${c}/community`,SSO_URL:O(e,"marryBaby"===o),TOGETHER_API:A(),DISCOVER_API:I(e)}}}),[e,t,i]))({locale:i.locale,projectType:i.projectType,isMobile:i.isMobile,siteType:i.siteType});return a.createElement(Je.Provider,{value:Object.assign(Object.assign({},i),{configs:l,currentUrl:i.currentUrl||o})},t)},et=t.div`
|
|
476
|
-
position: fixed;
|
|
477
|
-
z-index: 201;
|
|
478
|
-
top: calc(100% + 1px); // border 1px
|
|
479
|
-
width: 100%;
|
|
480
|
-
height: calc(100vh - var(--header-bottom));
|
|
481
|
-
overflow-x: hidden;
|
|
482
|
-
overflow-y: auto;
|
|
483
|
-
background: white;
|
|
484
|
-
display: flex;
|
|
485
|
-
flex-direction: column;
|
|
486
|
-
padding-bottom: 0;
|
|
487
|
-
left: 0;
|
|
488
|
-
.hhgcomp-navigation-popupwrapper-menuwrapper {
|
|
489
|
-
position: unset;
|
|
490
|
-
}
|
|
491
|
-
`;t.div`
|
|
492
|
-
position: fixed;
|
|
493
|
-
bottom: 0;
|
|
494
|
-
left: 0;
|
|
495
|
-
display: flex;
|
|
496
|
-
width: 100%;
|
|
497
|
-
height: 72px;
|
|
498
|
-
align-items: flex-start;
|
|
499
|
-
justify-content: center;
|
|
500
|
-
|
|
501
|
-
background: linear-gradient(0deg, #ffffff 0%, rgba(255, 255, 255, 0) 100%);
|
|
502
|
-
|
|
503
|
-
.button-image {
|
|
504
|
-
stroke-color: blue;
|
|
505
|
-
}
|
|
506
|
-
|
|
507
|
-
&[data-site-type='marryBaby'] {
|
|
508
|
-
padding: 0 16px;
|
|
509
|
-
.category-button {
|
|
510
|
-
width: 100%;
|
|
511
|
-
height: 48px;
|
|
512
|
-
}
|
|
513
|
-
}
|
|
514
|
-
`,t.div`
|
|
515
|
-
display: flex;
|
|
516
|
-
|
|
517
|
-
&[data-card-array-no-margin-style='true'] {
|
|
518
|
-
margin: 8px 0;
|
|
519
|
-
|
|
520
|
-
& > div {
|
|
521
|
-
width: 0;
|
|
522
|
-
flex: 1;
|
|
523
|
-
margin: 0 -1px;
|
|
524
|
-
}
|
|
525
|
-
}
|
|
526
|
-
|
|
527
|
-
&[data-card-array-no-margin-style='false'] {
|
|
528
|
-
margin: 8px -4px;
|
|
529
|
-
|
|
530
|
-
& > div {
|
|
531
|
-
flex: 1;
|
|
532
|
-
margin: 0 4px;
|
|
533
|
-
}
|
|
534
|
-
}
|
|
535
|
-
`,t.div`
|
|
536
|
-
margin-top: 64px;
|
|
537
|
-
`,t.div`
|
|
538
|
-
padding: 24px 0;
|
|
539
|
-
`,t.div`
|
|
540
|
-
display: flex;
|
|
541
|
-
width: 100%;
|
|
542
|
-
align-items: center;
|
|
543
|
-
justify-content: center;
|
|
544
|
-
|
|
545
|
-
& > div:first-child {
|
|
546
|
-
margin-right: 8px;
|
|
547
|
-
}
|
|
548
|
-
`,t.div`
|
|
549
|
-
z-index: ${ge};
|
|
550
|
-
align-items: center;
|
|
551
|
-
|
|
552
|
-
border: 1px solid ${e=>e.theme.colors.neutral50};
|
|
553
|
-
background-color: ${e=>e.theme.colors.white};
|
|
554
|
-
box-shadow: 0px 24px 32px rgba(0, 0, 0, 0.04),
|
|
555
|
-
0px 16px 24px rgba(0, 0, 0, 0.04), 0px 4px 8px rgba(0, 0, 0, 0.04),
|
|
556
|
-
0px 0px 1px rgba(0, 0, 0, 0.04);
|
|
557
|
-
`,t.div`
|
|
558
|
-
position: relative;
|
|
559
|
-
display: flex;
|
|
560
|
-
flex-wrap: wrap;
|
|
561
|
-
align-items: flex-start;
|
|
562
|
-
justify-content: flex-start;
|
|
563
|
-
padding: 48px 0;
|
|
564
|
-
`,t.div`
|
|
565
|
-
position: relative;
|
|
566
|
-
display: flex;
|
|
567
|
-
flex-wrap: wrap;
|
|
568
|
-
align-items: flex-start;
|
|
569
|
-
justify-content: flex-start;
|
|
570
|
-
&[data-disabled-divider='false'] {
|
|
571
|
-
border-right: 1px solid #e4e8ec;
|
|
572
|
-
}
|
|
573
|
-
`,t.div`
|
|
574
|
-
width: 20%;
|
|
575
|
-
padding-right: 16px;
|
|
576
|
-
margin-bottom: 12px;
|
|
577
|
-
|
|
578
|
-
& > a {
|
|
579
|
-
color: ${e=>e.theme.colors.gray800};
|
|
580
|
-
font-size: ${e=>e.theme.sizes.fsParagraph4};
|
|
581
|
-
font-weight: ${e=>e.theme.sizes.fwRegular};
|
|
582
|
-
line-height: 22px;
|
|
583
|
-
}
|
|
584
|
-
|
|
585
|
-
& > a:hover {
|
|
586
|
-
color: ${e=>e.theme.colors.primaryBase};
|
|
587
|
-
}
|
|
588
|
-
|
|
589
|
-
.iconMenu {
|
|
590
|
-
display: flex;
|
|
591
|
-
align-items: center;
|
|
592
|
-
|
|
593
|
-
> .imageContainer {
|
|
594
|
-
display: flex;
|
|
595
|
-
width: 32px;
|
|
596
|
-
min-width: 32px;
|
|
597
|
-
align-items: center;
|
|
598
|
-
margin-right: 16px;
|
|
599
|
-
}
|
|
600
|
-
}
|
|
601
|
-
`,t.div`
|
|
602
|
-
display: none;
|
|
603
|
-
`,t.div`
|
|
604
|
-
width: 33%;
|
|
605
|
-
height: 48px;
|
|
606
|
-
padding-right: 16px;
|
|
607
|
-
margin-bottom: 12px;
|
|
608
|
-
|
|
609
|
-
& > a {
|
|
610
|
-
display: flex;
|
|
611
|
-
align-items: center;
|
|
612
|
-
color: ${e=>e.theme.colors.gray800};
|
|
613
|
-
font-size: ${e=>e.theme.sizes.fsParagraph4};
|
|
614
|
-
font-weight: ${e=>e.theme.sizes.fwRegular};
|
|
615
|
-
line-height: 22px;
|
|
616
|
-
|
|
617
|
-
& > :first-child {
|
|
618
|
-
margin-right: 16px;
|
|
619
|
-
}
|
|
620
|
-
}
|
|
621
|
-
|
|
622
|
-
& > a > p:hover {
|
|
623
|
-
color: ${e=>e.theme.colors.primaryBase};
|
|
624
|
-
}
|
|
625
|
-
`,t.div`
|
|
626
|
-
display: flex;
|
|
627
|
-
align-items: center;
|
|
628
|
-
|
|
629
|
-
padding-right: 16px;
|
|
630
|
-
margin-bottom: 12px;
|
|
631
|
-
color: ${e=>e.theme.colors.primaryBase};
|
|
632
|
-
font-size: ${e=>e.theme.sizes.fsParagraph4};
|
|
633
|
-
font-weight: ${e=>e.theme.sizes.fwBold};
|
|
634
|
-
line-height: 24px;
|
|
635
|
-
|
|
636
|
-
&[data-theme='marryBaby'] {
|
|
637
|
-
color: ${e=>e.theme.mbColors.pink};
|
|
638
|
-
}
|
|
639
|
-
`,t.div`
|
|
640
|
-
display: flex;
|
|
641
|
-
align-items: center;
|
|
642
|
-
|
|
643
|
-
margin-left: 10px;
|
|
644
|
-
`,t.div`
|
|
645
|
-
position: absolute;
|
|
646
|
-
top: 16px;
|
|
647
|
-
right: 0;
|
|
648
|
-
display: flex;
|
|
649
|
-
align-items: center;
|
|
650
|
-
cursor: pointer;
|
|
651
|
-
`,t.div`
|
|
652
|
-
display: block;
|
|
653
|
-
`,t.div`
|
|
654
|
-
.categories__spotlight {
|
|
655
|
-
display: grid;
|
|
656
|
-
margin: 16px;
|
|
657
|
-
margin-bottom: 32px;
|
|
658
|
-
grid-gap: 8px;
|
|
659
|
-
grid-template-columns: 1fr 1fr;
|
|
660
|
-
|
|
661
|
-
a {
|
|
662
|
-
text-decoration: none;
|
|
663
|
-
}
|
|
664
|
-
}
|
|
665
|
-
|
|
666
|
-
.categoryCard {
|
|
667
|
-
display: flex;
|
|
668
|
-
width: 100%;
|
|
669
|
-
flex-direction: column;
|
|
670
|
-
align-items: center;
|
|
671
|
-
padding: 16px;
|
|
672
|
-
border-radius: ${e=>e.theme.borderRadius};
|
|
673
|
-
color: ${e=>e.theme.colors.primaryBase};
|
|
674
|
-
|
|
675
|
-
svg {
|
|
676
|
-
margin-bottom: 4px;
|
|
677
|
-
}
|
|
678
|
-
|
|
679
|
-
&.active {
|
|
680
|
-
background: ${e=>e.theme.colors.primaryBase};
|
|
681
|
-
box-shadow: 0px 16px 24px rgba(0, 0, 0, 0.06),
|
|
682
|
-
0px 2px 8px rgba(0, 0, 0, 0.04), 0px 0px 1px rgba(0, 0, 0, 0.04);
|
|
683
|
-
color: white;
|
|
684
|
-
}
|
|
685
|
-
|
|
686
|
-
&:not(.active) {
|
|
687
|
-
box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.04),
|
|
688
|
-
0px 0px 2px rgba(0, 0, 0, 0.06), 0px 0px 1px rgba(0, 0, 0, 0.04);
|
|
689
|
-
}
|
|
690
|
-
}
|
|
691
|
-
|
|
692
|
-
.amp__menu-header {
|
|
693
|
-
display: grid;
|
|
694
|
-
grid-template-columns: 1fr 1fr 1fr;
|
|
695
|
-
|
|
696
|
-
svg {
|
|
697
|
-
margin-left: 16px;
|
|
698
|
-
}
|
|
699
|
-
|
|
700
|
-
> div {
|
|
701
|
-
align-self: center;
|
|
702
|
-
|
|
703
|
-
&:nth-child(2) {
|
|
704
|
-
justify-self: center;
|
|
705
|
-
}
|
|
706
|
-
}
|
|
707
|
-
}
|
|
708
|
-
|
|
709
|
-
.logo {
|
|
710
|
-
margin: 22px 0;
|
|
711
|
-
}
|
|
712
|
-
|
|
713
|
-
.categories {
|
|
714
|
-
margin: 0 16px;
|
|
715
|
-
|
|
716
|
-
li {
|
|
717
|
-
display: block;
|
|
718
|
-
width: 100%;
|
|
719
|
-
|
|
720
|
-
+ li {
|
|
721
|
-
border-top: 1px solid
|
|
722
|
-
${e=>e.theme.colors.neutral100};
|
|
723
|
-
}
|
|
724
|
-
|
|
725
|
-
a {
|
|
726
|
-
display: block;
|
|
727
|
-
margin: 12px 0;
|
|
728
|
-
color: ${e=>e.theme.colors.gray800};
|
|
729
|
-
text-decoration: none;
|
|
730
|
-
}
|
|
731
|
-
}
|
|
732
|
-
}
|
|
733
|
-
`,t.div`
|
|
734
|
-
width: 20%;
|
|
735
|
-
height: 2px;
|
|
736
|
-
|
|
737
|
-
background-color: ${e=>e.theme.mbColors.pink};
|
|
738
|
-
border-radius: 2px;
|
|
739
|
-
`;const tt=t.div`
|
|
740
|
-
padding: 16px;
|
|
741
|
-
padding-bottom: 12px;
|
|
742
|
-
.fake-search-input {
|
|
743
|
-
pointer-events: none;
|
|
744
|
-
input {
|
|
745
|
-
line-height: 20px;
|
|
746
|
-
padding-top: 10px;
|
|
747
|
-
padding-bottom: 10px;
|
|
748
|
-
}
|
|
749
|
-
}
|
|
750
|
-
&[data-theme='marryBaby'] {
|
|
751
|
-
input {
|
|
752
|
-
background: ${e=>e.theme.mbColors.lightGray};
|
|
753
|
-
border-radius: 16px;
|
|
754
|
-
border: none;
|
|
755
|
-
}
|
|
756
|
-
}
|
|
757
|
-
`,it=t.div`
|
|
758
|
-
display: block;
|
|
759
|
-
overflow-y: auto;
|
|
760
|
-
flex: 1;
|
|
761
|
-
padding-bottom: 16px;
|
|
762
|
-
&::-webkit-scrollbar {
|
|
763
|
-
width: 0;
|
|
764
|
-
display: none;
|
|
765
|
-
}
|
|
766
|
-
`,ot=p((()=>a.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.97183 10.8732C3.97183 7.0617 7.0617 3.97183 10.8732 3.97183C14.6848 3.97183 17.7746 7.0617 17.7746 10.8732C17.7746 14.6848 14.6848 17.7746 10.8732 17.7746C7.0617 17.7746 3.97183 14.6848 3.97183 10.8732ZM10.8732 2C5.97268 2 2 5.97268 2 10.8732C2 15.7738 5.97268 19.7465 10.8732 19.7465C12.9683 19.7465 14.8938 19.0204 16.4118 17.8061L20.3169 21.7112C20.702 22.0963 21.3262 22.0963 21.7112 21.7112C22.0963 21.3262 22.0963 20.702 21.7112 20.3169L17.8061 16.4118C19.0204 14.8938 19.7465 12.9683 19.7465 10.8732C19.7465 5.97268 15.7738 2 10.8732 2Z",fill:"#8C8C8C"})))),at=t.div`
|
|
767
|
-
padding-right: 1rem;
|
|
768
|
-
margin-top: 10px;
|
|
769
|
-
background: #ffffff;
|
|
770
|
-
padding: 5px 15px;
|
|
771
|
-
${e.mbUp} {
|
|
772
|
-
border-right: 1px solid #e4e8ec;
|
|
773
|
-
}
|
|
774
|
-
`,rt=t.a`
|
|
775
|
-
padding: 10px 0;
|
|
776
|
-
position: relative;
|
|
777
|
-
|
|
778
|
-
display: flex;
|
|
779
|
-
align-items: center;
|
|
780
|
-
text-decoration: none;
|
|
781
|
-
color: ${e=>e.theme.colors.gray800};
|
|
782
|
-
* {
|
|
783
|
-
pointer-events: none;
|
|
784
|
-
}
|
|
785
|
-
p {
|
|
786
|
-
font-size: 16px;
|
|
787
|
-
font-weight: 400;
|
|
788
|
-
padding: 0 0.4rem;
|
|
789
|
-
}
|
|
790
|
-
|
|
791
|
-
&[data-theme='marryBaby']:hover {
|
|
792
|
-
p {
|
|
793
|
-
color: ${e=>e.theme.mbColors.pink};
|
|
794
|
-
}
|
|
795
|
-
.icon {
|
|
796
|
-
background-color: ${e=>e.theme.mbColors.lightPink};
|
|
797
|
-
}
|
|
798
|
-
}
|
|
799
|
-
&[data-theme='helloSite']:hover {
|
|
800
|
-
p {
|
|
801
|
-
color: ${e=>e.theme.colors.primaryActive};
|
|
802
|
-
}
|
|
803
|
-
}
|
|
804
|
-
a {
|
|
805
|
-
}
|
|
806
|
-
|
|
807
|
-
&[data-theme='marryBaby'] {
|
|
808
|
-
.icon {
|
|
809
|
-
display: flex;
|
|
810
|
-
align-items: center;
|
|
811
|
-
justify-content: center;
|
|
812
|
-
max-width: 40px;
|
|
813
|
-
width: 100%;
|
|
814
|
-
height: 40px;
|
|
815
|
-
border-radius: 50%;
|
|
816
|
-
background-color: ${e=>e.theme.mbColors.lightGray};
|
|
817
|
-
img {
|
|
818
|
-
border-radius: 50%;
|
|
819
|
-
}
|
|
820
|
-
}
|
|
821
|
-
}
|
|
822
|
-
`,nt=t.div`
|
|
823
|
-
margin: 15px 0;
|
|
824
|
-
${e.mbDown} {
|
|
825
|
-
display: none;
|
|
826
|
-
}
|
|
827
|
-
`,lt=t.div`
|
|
828
|
-
display: flex;
|
|
829
|
-
position: absolute;
|
|
830
|
-
right: 0;
|
|
831
|
-
${e.mbUp} {
|
|
832
|
-
display: none;
|
|
833
|
-
}
|
|
834
|
-
`,st=t.div`
|
|
835
|
-
display: flex;
|
|
836
|
-
align-items: center;
|
|
837
|
-
color: ${e=>e.theme.colors.primaryBase};
|
|
838
|
-
font-size: ${e=>e.theme.sizes.fsParagraph4};
|
|
839
|
-
font-weight: ${e=>e.theme.sizes.fwBold};
|
|
840
|
-
line-height: 24px;
|
|
841
|
-
font-size: 14px;
|
|
842
|
-
font-weight: 600;
|
|
843
|
-
&[data-event-category] * {
|
|
844
|
-
pointer-events: none;
|
|
845
|
-
}
|
|
846
|
-
&[data-theme='marryBaby'] {
|
|
847
|
-
color: ${e=>e.theme.mbColors.pink};
|
|
848
|
-
}
|
|
849
|
-
`,pt=t.div`
|
|
850
|
-
display: flex;
|
|
851
|
-
align-items: center;
|
|
852
|
-
margin-left: 10px;
|
|
853
|
-
`,dt=t.a`
|
|
854
|
-
border: 1px solid ${e=>e.theme.colors.primaryBase};
|
|
855
|
-
&[data-theme='marryBaby'] {
|
|
856
|
-
border: 1px solid ${e=>e.theme.mbColors.pink};
|
|
857
|
-
|
|
858
|
-
svg path {
|
|
859
|
-
stroke: ${e=>e.theme.mbColors.pink};
|
|
860
|
-
}
|
|
861
|
-
}
|
|
862
|
-
position: relative;
|
|
863
|
-
display: flex;
|
|
864
|
-
align-items: center;
|
|
865
|
-
justify-content: center;
|
|
866
|
-
padding: 6px;
|
|
867
|
-
border-radius: 5px;
|
|
868
|
-
margin-top: 20px;
|
|
869
|
-
${e.mbDown} {
|
|
870
|
-
display: none;
|
|
871
|
-
}
|
|
872
|
-
`;t.div`
|
|
475
|
+
*/;var be=function(e,t){if("string"!=typeof e)throw new TypeError("argument str must be a string");var i={},o=(t||{}).decode||ve,a=0;for(;a<e.length;){var r=e.indexOf("=",a);if(-1===r)break;var n=e.indexOf(";",a);if(-1===n)n=e.length;else if(n<r){a=e.lastIndexOf(";",r-1)+1;continue}var l=e.slice(a,r).trim();if(void 0===i[l]){var s=e.slice(r+1,n).trim();34===s.charCodeAt(0)&&(s=s.slice(1,-1)),i[l]=we(s,o)}a=n+1}return i},xe=function(e,t,i){var o=i||{},a=o.encode||_e;if("function"!=typeof a)throw new TypeError("option encode is invalid");if(!ye.test(e))throw new TypeError("argument name is invalid");var r=a(t);if(r&&!ye.test(r))throw new TypeError("argument val is invalid");var n=e+"="+r;if(null!=o.maxAge){var l=o.maxAge-0;if(isNaN(l)||!isFinite(l))throw new TypeError("option maxAge is invalid");n+="; Max-Age="+Math.floor(l)}if(o.domain){if(!ye.test(o.domain))throw new TypeError("option domain is invalid");n+="; Domain="+o.domain}if(o.path){if(!ye.test(o.path))throw new TypeError("option path is invalid");n+="; Path="+o.path}if(o.expires){var s=o.expires;if(!function(e){return"[object Date]"===fe.call(e)||e instanceof Date}(s)||isNaN(s.valueOf()))throw new TypeError("option expires is invalid");n+="; Expires="+s.toUTCString()}o.httpOnly&&(n+="; HttpOnly");o.secure&&(n+="; Secure");if(o.priority){switch("string"==typeof o.priority?o.priority.toLowerCase():o.priority){case"low":n+="; Priority=Low";break;case"medium":n+="; Priority=Medium";break;case"high":n+="; Priority=High";break;default:throw new TypeError("option priority is invalid")}}if(o.sameSite){switch("string"==typeof o.sameSite?o.sameSite.toLowerCase():o.sameSite){case!0:n+="; SameSite=Strict";break;case"lax":n+="; SameSite=Lax";break;case"strict":n+="; SameSite=Strict";break;case"none":n+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}}return n},fe=Object.prototype.toString,ye=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;function ve(e){return-1!==e.indexOf("%")?decodeURIComponent(e):e}function _e(e){return encodeURIComponent(e)}function we(e,t){try{return t(e)}catch(t){return e}}var Ee={parse:be,serialize:xe};const Te={BASE_API_PATH:"/",PROFILE:"profile?website_url={website_url}",SEARCH_USER:"profile/search?website_url={website_url}&name={name}",FETCH_PREVIEW:"fetch/preview?website_url={website_url}",FETCH_POST_OR_TOPIC:"fetch/{slug}?website_url={website_url}&community_slug={communitySlug}",POST:{LIST:"post?website_url={website_url}&slug={slug}&pin={pin}&page={page}&community_id={communityId}&topic_id={topicId}&sort_by={sort}&id={id}",DETAIL_BY_ID_OR_SLUG:"post/{idSlug}?website_url={website_url}",CREATE:"post/create?website_url={website_url}",LIKE:"post/{id}/like?website_url={website_url}",DELETE:"post/{id}/delete?website_url={website_url}",REPORT:"post/{id}/report?website_url={website_url}",UPDATE:"post/{id}/update?website_url={website_url}",FOLLOW:"post/{id}/follow?website_url={website_url}",CREATE_ARTICLE_COMMENT:"article-comment/create?website_url={website_url}"},COMMENT:{LIST:"comment?website_url={website_url}&post_id={postId}&page={page}&sort_by={sort}&items_per_page={perPage}&_without_reply={withoutReply}",CREATE:"comment/create?website_url={website_url}",REPLY:"comment/reply?website_url={website_url}",DELETE:"comment/{id}/delete?website_url={website_url}",LIKE:"comment/{id}/like?website_url={website_url}",UNLIKE:"comment/{id}/unlike?website_url={website_url}",IMAGE_UPLOAD:"comment/image/upload?website_url={website_url}"},COMMUNITY:{LIST:"community?website_url={website_url}&page={page}",DETAIL_BY_ID_OR_SLUG:"community/{idSlug}?website_url={website_url}",JOIN:"community/join?website_url={website_url}",LEAVE:"community/leave?website_url={website_url}"},TOPIC:{LIST:"topic?website_url={website_url}&community_slug={communitySlug}&community_id={communityId}&page={page}",DETAIL_BY_ID_OR_SLUG:"topic/{idSlug}?website_url={website_url}&community_slug={communitySlug}&community_id={communityId}",HEALTH_TOOLS:"tools?topic_id={topicId}&website_url={website_url}",SUBOTS:"subots?topic_id={topicId}&website_url={website_url}",SUGGESTED_POSTS:"suggested-posts?topic_id={topicId}&website_url={website_url}&page={page}",JOIN:"topic/join?website_url={website_url}",LEAVE:"topic/leave?website_url={website_url}"},BOOKMARK:{LIST:"bookmark?user_id={userId}&website_url={website_url}",CREATE:"bookmark/create?website_url={website_url}",DELETE:"bookmark/delete?website_url={website_url}"},UPLOAD_IMAGE:"auth/comment/image/upload?website_url={website_url}",GET_DUE_DATE_INFO:"health-tools/due-date-calculator/info",USER:{DETAIL:"profile/user/detail?website_url={website_url}&user_id={id}",COUNT_TABS:"profile/user/counting?website_url={website_url}&user_id={id}&total_post={post}&total_comment={comment}&total_community={community}&total_reply={reply}&total_question={question}",LIST_POST:"profile/user/posts?website_url={website_url}&user_id={id}&is_anonymous={isAnonymous}&paging=none",LIST_QUESTION_NEED_REPLY:"questions/no-reply?website_url={website_url}",LIST_QUESTION:"question/{id}?website_url={website_url}&is_reply={isReply}&is_question={isQuestion}&is_ignore={isIgnore}&group_by={groupBy}",SKIP_QUESTION:"questions/ignore?website_url={website_url}&question_id={id}",LIST_ANSWERS:"replied/{id}?website_url={website_url}&paging=1&items_per_page={pageSize}"}},Oe={GET_DOCTOR_INFO:"api/doctors/{doctorId}?site={website_url}",GET_HOSPITAL_INFO:"api/hospital/branch/{hospital_branch_id}?site={website_url}"},Ae={BASE_API_PATH:"/",GET_SEARCH_ARTICLES:"search?s={keyword}&page={page}",GET_ALL_CATEGORIES:"categories?type=all",GET_HOMEPAGE_POSTS:"home/trending-post?type={type}",GET_HOMEPAGE_LATEST_POSTS:"articles?page=1&_islatest=1",GET_ARTICLE_DETAIL:"article/{slug}?skip_ids={skipIds}&_isrelated={isRelated}",GET_CATEGORY_DETAIL:"category/{slug}",GET_CATEGORY_OR_ARTICLE_DETAIL:"fetch/{fullSlug}",GET_PREVIEW_ARTICLE:"fetch/{fullSlug}?preview_nonce={nonce}&preview=true",GET_ARTICLE_OF_CATEGORY:"articles?category_id={categoryId}&page={currentPage}",GET_PAGE_STATIC:"page/{slug}",GET_ALL_HEALTH_TOOLS:"healthtools",GET_ALL_MARRYBABY_HEALTH_TOOLS:"health-tools",GET_HEALTH_TOOLS_BY_CATEGORY:"healthtools?_hasgroup=1",GET_AUTHOR:"author/{slug}",GET_ALL_EXPERTS:"experts",GET_ALL_EXPERTS_PAGING:"experts?page={page}",GET_EXPERT:"expert/{slug}",GET_EXPERT_POST:"expert/article?page={page}",POST_ARTICLE_FEEDBACK:"article/feedback/{id}",GET_AZ_DRUGS:"category/a-z/{category}",GET_HOMEPAGE_MEDICAL_REVIEWED:"home/medical-reviewed",GET_ARTICLES_BY_IDS:"articles?ids={ids}",GET_ARTICLE_OF_CATEGORY_NO_EXPLAINERS:"articles?category_id={categoryId}&page={currentPage}&skip_ids={ids}",GET_EXPERT_OF_CATEGORY:"category/expert/?id={id}",GET_DUE_DATE_INFO:"health-tools/due-date-calculator/info",GET_DUE_DATE_ALL_WEEKS:"health-tools/due-date-calculator/all",GET_DUE_DATE_SUGGESTED_ARTICLES:"health-tools/due-date-calculator/result?from_week={from}&to_week={to}",GET_PROFILE:"user/profile",GET_ADMIN_PROFILE:"GET_ADMIN_PROFILE",GET_FEATURE:"feature",POST_NEW_FEATURE:"feature/update",CREATE_BOOKMARK:"bookmark/create",DELETE_BOOKMARK:"bookmark/delete",DELETE_ALL_BOOKMARK:"bookmark/delete-all",GET_ALL_BOOKMARK:"bookmark",SSO_USER_PROFILE:"user",SSO_USER_BOOKMARKS:"user/bookmarks",SSO_USER_PASSWORD:"user/settings/password",SSO_USER_EMAIL:"user/settings/update-email",SSO_CLOSE_ACCOUNT:"user/settings/close-account",SSO_HELP:"user/settings/help",GET_HEALTH_TOOL_OVULATION_INFO:"health-tools/ovulation-calculator/info",GET_HEALTH_TOOL_OVULATION_SUGGESTED_ARTICLES:"health-tools/ovulation-calculator/result?method={method}",GET_HEALTH_TOOL_BMI_INFO:"health-tools/bmi-calculator/info",GET_HEALTH_TOOL_BMI_RESULT:"health-tools/bmi-calculator/result?gender={gender}&bmi={bmi}&age={age}",GET_HEALTH_TOOL_BMR_INFO:"health-tools/bmr-calculator/info",GET_HEALTH_TOOL_BMR_RESULT:"health-tools/bmr-calculator/result?kcals={kcals}&gender={gender}&age={age}",GET_HEALTH_TOOL_PWG_INFO:"health-tools/preweight-gain-calculator/info",GET_HEALTH_TOOL_THR_INFO:"health-tools/target-heart-rate/info",GET_HEALTH_TOOL_BABY_GROWTH_INFO:"health-tools/baby-growth-tracking/info",POST_UPDATE_LOCATION:"tracking/geo/",GET_SIDIS_DUE_DATE:"frontend/tools/due_date",GET_SIDIS_OVULATION:"frontend/tools/ovulation",GET_SIDIS_BMI:"frontend/tools/bmi",GET_SIDIS_BMR:"frontend/tools/bmr",POST_LOGOUT:"user/logout",OVULATION_CREATE_EVENT:"ovulation/event?method={method}&day={day}&cycle={cycle}&period={period}&token={token}&user_id={user_id}",GET_ALL_SPOTLIGHT:"spotlights?per_page={perPage}&order_by={orderBy}",SSO_UPDATE_FIRST_TIME_BOOKMARK:"bookmark/update-first-time",POST_COMMENT_NOTIFICATION:"comment/notification",GET_ABOUT_US_DATA:"about",POST_LEAD_IMPRESSION:"campaign/{campaignCode}/impression",POST_LEAD_POPUP_EXIT:"campaign/{campaignCode}/popup_exit",POST_LEAD_LEAD:"campaign/{campaignCode}/lead",POST_SSO_VERIFY_TOKEN:"verify-id-token",GET_LANDING_PAGE_FIRST_NODE:"landing_page/bot",GET_LANDING_PAGE_NEXT_NODE:"landing_page/messages",POST_LANDING_PAGE_IMPRESSION:"landing_page/impressions",POST_LANDING_PAGE_CLICK:"landing_page/clicks",FETCH_URL_DATA:"preview",GET_SPOTLIGHT_LANDING:"spotlight/{slug}",GET_FOOTER_INFO:"footer",CHECK_SSO_EMAIL:"member/check-email",GET_HOMEPAGE_SITEWIDE_BANNER:"home/sitewide-banner",GET_DYNAMIC_FOOTER:"menu/footer",GET_EXPERTS:"experts?page={page}&number={perPage}&s={search}",GET_EXPERT_BY_ID:"expert/{id}"},Ie={SEARCH_USER:"admin/profile/search?website_url={website_url}&name={name}",COMMENT:{IMAGE_UPLOAD:"admin/comment/image/upload?website_url={website_url}"}},Le={locale:"vi-VN",env:{isMarryBaby:!1,togetherBasePath:"/community"},router:{basePath:"",asPath:"/"}},$e=n({data:Le,action:{pushNotifications:e=>e,sanitizeFunction:e=>e}});let Se=Le;const ke=({locale:e="vi-VN",children:t,userInfo:i,router:o,env:r={isMarryBaby:!1,togetherBasePath:"/community"},sanitizeFunction:n=(e=>e),pushNotifications:p=(()=>!1)})=>{const[d,c]=l();return Se={userInfo:i,locale:e,togetherUserId:d,router:o,env:r},s((()=>{(null==i?void 0:i.id)&&Ve(Ue(Te.PROFILE,{_locale:e}),"GET").then((e=>{var t;c(null===(t=null==e?void 0:e.data)||void 0===t?void 0:t.id)}))}),[null==i?void 0:i.id]),a.createElement($e.Provider,{value:{data:{userInfo:i,locale:e,togetherUserId:d,router:o,env:r},action:{pushNotifications:p,sanitizeFunction:n}}},t)},Re={"vi-VN":"hellobacsi.com","id-ID":"hellosehat.com","ms-MY":"hellodoktor.com","km-KH":"hellokrupet.com","en-PH":"hellodoctor.com.ph","th-TH":"hellokhunmor.com","my-MM":"hellosayarwon.com","zh-TW":"helloyishi.com.tw","hi-IN":"helloswasthya.com"},De={"vi-VN":"marrybaby.vn"},Pe=process.env.NEXT_PUBLIC_DEPLOY_LOCALE||"vi-VN",Ce=e=>{const{env:{isMarryBaby:t}}=Se;return`https://${t?De[e]:Re[e]}`},Ne=e=>{const t=e.indexOf("?");return t>=0?e.slice(0,t+1)+e.slice(t+1).replace(/[^=&]+=(&|$)/g,"").replace(/&$/,""):e},Be=e=>{const{env:{isMarryBaby:t}}=Se;if("undefined"!=typeof window)return window.location.origin;const i="staging"===process.env.NEXT_PUBLIC_DEPLOY_ENV;return"development"===process.env.NEXT_PUBLIC_DEPLOY_ENV?"http://localhost:3000":`https://${i?t?"fe.":"discover.":t?"www.":""}${Re[e]}`},Ue=(e,t,i)=>{let o="";i&&(o=Object.keys(i).map((e=>e+"="+i[e])).join("&"));const{togetherBaseApiUrl:a=""}=(null==Se?void 0:Se.env)||{};let r=w(e,Object.assign(Object.assign({},(null==t?void 0:t._locale)?{website_url:Ce(String(t._locale))}:{}),t));return r+=`${r.includes("?")?"&":"?"}${o}`,a+"api/v1/"+Ne(r)},Ge=(e,t,i)=>{const{discoverBaseApiUrl:o="",discoverBaseProdApiUrl:a=""}=(null==Se?void 0:Se.env)||{};return(!E&&i?a:o)+"wp-json/api/"+Ne(w(e,Object.assign({},t)))},Me=(e,t,i)=>{const{marryBabyApiUrl:o="",marryBabyProdApiUrl:a=""}=(null==Se?void 0:Se.env)||{};return(i&&!E?a:o)+"wp-json/api/"+Ne(w(e,Object.assign({},t)))},He=(e,t)=>{const{careBaseApiUrl:i=""}=(null==Se?void 0:Se.env)||{};return(i||"https://service-health-care.hellohealthgroup.com/")+Ne(w(e,Object.assign({},t)))},ze=e=>((null==e?void 0:e.data)&&(e.data instanceof FormData?e.body=e.data:"object"==typeof e.data&&(e.body=JSON.stringify(e.data)),delete e.data),e),je=(e,t,i,o=!1)=>g(void 0,void 0,void 0,(function*(){var a,r,n,l;try{const a=yield fetch(o?e:(l=e,encodeURI(l).replace(/%5B/g,"[").replace(/%5D/g,"]")),Object.assign(Object.assign({method:t},ze(i)),{headers:Object.assign({},null==i?void 0:i.headers)})).then((e=>e.json()));if(a)return a}catch(t){return console.log(t),console.log({url:e,status:null===(a=null==t?void 0:t.response)||void 0===a?void 0:a.status,statusText:null===(r=null==t?void 0:t.response)||void 0===r?void 0:r.statusText}),(null===(n=null==t?void 0:t.response)||void 0===n?void 0:n.data)||null}return null})),Fe=(e,t="GET",i,o)=>g(void 0,void 0,void 0,(function*(){var a,r,n,l,s,p;try{const l="string"==typeof e?e:e.url,s="string"==typeof e?e:e.backupUrl,p=Ee.parse(o||""),d=p[B]||v(B);if(!d||!d.length)return je(s||l,t,i);try{const e=yield fetch(l,Object.assign(Object.assign({method:t},ze(i)),{headers:Object.assign({Authorization:"Bearer "+d},null==i?void 0:i.headers)})).then((e=>e.json()));if(null===(a=null==e?void 0:e.messages)||void 0===a?void 0:a.find((e=>"Unauthenticated"===(null==e?void 0:e.toLowerCase()))))return je(s||l,t,i);if(e)return e}catch(e){return console.log({status:null===(r=null==e?void 0:e.response)||void 0===r?void 0:r.status,statusText:null===(n=null==e?void 0:e.response)||void 0===n?void 0:n.statusText}),je(s||l,t,i)}}catch(e){return console.log({status:null===(l=null==e?void 0:e.response)||void 0===l?void 0:l.status,statusText:null===(s=null==e?void 0:e.response)||void 0===s?void 0:s.statusText}),(null===(p=null==e?void 0:e.response)||void 0===p?void 0:p.data)||null}return null})),Ve=(e,t,i,o)=>g(void 0,void 0,void 0,(function*(){try{const a=Ee.parse(o||""),r=a[B]||v(B);if(r&&r.length){const o=yield fetch(e,Object.assign(Object.assign({method:t},ze(i)),{headers:Object.assign({Authorization:"Bearer "+r},null==i?void 0:i.headers)})).then((e=>e.json()));if(o)return o}}catch(e){return null}return null})),Ye=(e,t,i,o)=>g(void 0,void 0,void 0,(function*(){try{const a=Ee.parse(o||""),r=a[U]||v(U);if(r&&r.length){const o=yield fetch(e,Object.assign(Object.assign({method:t},ze(i)),{headers:Object.assign({Authorization:"Bearer "+r},null==i?void 0:i.headers)})).then((e=>e.json()));if(o)return o}}catch(e){return null}return null}));function Ke(e,t,i){const o=new RegExp("([?&])"+t+"=.*?(&|$)","i"),a=-1!==e.indexOf("?")?"&":"?";return e.match(o)?e.replace(o,"$1"+t+"="+i+"$2"):e+a+t+"="+i}const We=(e,t,i="/community")=>{const o=e||("undefined"!=typeof window?window.location.href:"/");let a="undefined"!=typeof window?window.location.origin:"";a||e&&(e.startsWith("http://")||e.startsWith("https://"))&&(a=e.split("/").slice(0,3).join("/"));return((e,t)=>{const{publicSSO:i}=Se.env,o=e||window.location.href;return t&&Object.keys(t).map((e=>{Ke(o,e,t[e])})),Ke(o,"source","communities"),i?`${i}?returnUrl=${encodeURIComponent(o.toString())}`:o})(`${a}${i}/on-boarding?return=${encodeURIComponent(o)}`,t)},Xe=(e,t,i,o)=>i&&t?`${i}-${t}`:`${_(e||"",{lower:!0,locale:o||Pe})}-${t}`,qe=({name:e,id:t,locale:i})=>{var o;return`/care/${null===(o=z[i||"vi-VN"])||void 0===o?void 0:o.DOCTOR}/${Xe(e,t)}`},Ze=({name:e,id:t,slug:i,locale:o})=>{var a;return`/care/${null===(a=z[o||"vi-VN"])||void 0===a?void 0:a.HOSPITAL}/${Xe(e,t,i)}`},Je=a.createContext({}),Qe=e=>{var{children:t}=e,i=h(e,["children"]);const[o,n]=a.useState((()=>i.currentUrl||`https://${"marryBaby"===i.siteType?De[i.locale||"en-PH"]:y[i.locale||"en-PH"]}${"together"===i.projectType?"/community":"ecom"===i.projectType?"/ecom":"care"===i.projectType?"/care":""}/`));s((()=>{const e=()=>{n(window.location.href)};return window.addEventListener("popstate",e),e(),()=>{window.removeEventListener("popstate",e)}}),[]);const l=(({locale:e,projectType:t,isMobile:i,siteType:o})=>r((()=>{const a=!(!i&&"profile"===t),r="discover"===t||"marryBaby"===t||"profile"===t&&"marryBaby"===o,n="marryBaby"!==o&&"marryBaby"!==t&&u.includes(e),l="marryBaby"!==t&&"discover"===t&&"marryBaby"!==o&&b.includes(e),s="marryBaby"===t||x.includes(e),p=f.includes(e),d="ecom"===t,c=T(e,"marryBaby"===o);return{enableProfileNavigatorMenu:a,enableSearchBar:r,enableNavCare:n,enableNavCareBooking:l,enableNavTogether:s,enableNavEcom:p,enableProfileEcom:d,enableProfileMyHealth:!0,statics:{HOME_PAGE_URL:c,CARE_URL_FE:`${c}/care`,TOGETHER_URL_FE:`${c}/community`,SSO_URL:O(e,"marryBaby"===o),TOGETHER_API:A(),DISCOVER_API:I(e)}}}),[e,t,i]))({locale:i.locale,projectType:i.projectType,isMobile:i.isMobile,siteType:i.siteType});return a.createElement(Je.Provider,{value:Object.assign(Object.assign({},i),{configs:l,currentUrl:i.currentUrl||o})},t)},et=p((()=>a.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.97183 10.8732C3.97183 7.0617 7.0617 3.97183 10.8732 3.97183C14.6848 3.97183 17.7746 7.0617 17.7746 10.8732C17.7746 14.6848 14.6848 17.7746 10.8732 17.7746C7.0617 17.7746 3.97183 14.6848 3.97183 10.8732ZM10.8732 2C5.97268 2 2 5.97268 2 10.8732C2 15.7738 5.97268 19.7465 10.8732 19.7465C12.9683 19.7465 14.8938 19.0204 16.4118 17.8061L20.3169 21.7112C20.702 22.0963 21.3262 22.0963 21.7112 21.7112C22.0963 21.3262 22.0963 20.702 21.7112 20.3169L17.8061 16.4118C19.0204 14.8938 19.7465 12.9683 19.7465 10.8732C19.7465 5.97268 15.7738 2 10.8732 2Z",fill:"#8C8C8C"}))));t.div`
|
|
873
476
|
& > a:not(:last-child) > div {
|
|
874
477
|
border-bottom: 1px solid
|
|
875
478
|
${e=>e.theme.colors.neutral100};
|
|
@@ -882,7 +485,7 @@ import{M as e}from"./utils-ba33cc9e.js";import t from"styled-components";import{
|
|
|
882
485
|
&[data-is-displayed='false'] {
|
|
883
486
|
display: none;
|
|
884
487
|
}
|
|
885
|
-
`;const
|
|
488
|
+
`;const tt=t.div`
|
|
886
489
|
display: grid;
|
|
887
490
|
|
|
888
491
|
grid-template-columns: repeat(3, 1fr);
|
|
@@ -891,7 +494,7 @@ import{M as e}from"./utils-ba33cc9e.js";import t from"styled-components";import{
|
|
|
891
494
|
${e.tdDown} {
|
|
892
495
|
grid-template-columns: repeat(1, 1fr);
|
|
893
496
|
}
|
|
894
|
-
`,
|
|
497
|
+
`,it=t.div`
|
|
895
498
|
height: 152px; // 120 + 16 * 2
|
|
896
499
|
position: absolute;
|
|
897
500
|
top: 0;
|
|
@@ -922,12 +525,12 @@ import{M as e}from"./utils-ba33cc9e.js";import t from"styled-components";import{
|
|
|
922
525
|
${e.mbDown} {
|
|
923
526
|
width: 80px;
|
|
924
527
|
}
|
|
925
|
-
`,
|
|
528
|
+
`,ot=t.div`
|
|
926
529
|
background-color: #ffffff;
|
|
927
530
|
border-radius: 4px;
|
|
928
531
|
width: 100%;
|
|
929
532
|
height: 100%;
|
|
930
|
-
`,
|
|
533
|
+
`,at=t.div`
|
|
931
534
|
display: flex;
|
|
932
535
|
margin-top: 1rem;
|
|
933
536
|
align-items: center;
|
|
@@ -938,7 +541,7 @@ import{M as e}from"./utils-ba33cc9e.js";import t from"styled-components";import{
|
|
|
938
541
|
${e.tdDown} {
|
|
939
542
|
display: none;
|
|
940
543
|
}
|
|
941
|
-
`,
|
|
544
|
+
`,rt=t.p`
|
|
942
545
|
font-size: 16px;
|
|
943
546
|
font-weight: 600;
|
|
944
547
|
line-height: 1.6;
|
|
@@ -946,7 +549,7 @@ import{M as e}from"./utils-ba33cc9e.js";import t from"styled-components";import{
|
|
|
946
549
|
${e.tdDown} {
|
|
947
550
|
padding: 0;
|
|
948
551
|
}
|
|
949
|
-
`,
|
|
552
|
+
`,nt=t.p`
|
|
950
553
|
font-size: 14px;
|
|
951
554
|
line-height: 1.6;
|
|
952
555
|
font-weight: 400;
|
|
@@ -962,7 +565,7 @@ import{M as e}from"./utils-ba33cc9e.js";import t from"styled-components";import{
|
|
|
962
565
|
height: unset;
|
|
963
566
|
padding: 0;
|
|
964
567
|
}
|
|
965
|
-
`,
|
|
568
|
+
`,lt="hhgcomp-navigation-menucareitem-contentwrapper",st=o(t.div`
|
|
966
569
|
display: flex;
|
|
967
570
|
flex-direction: column;
|
|
968
571
|
gap: 8px;
|
|
@@ -971,7 +574,7 @@ import{M as e}from"./utils-ba33cc9e.js";import t from"styled-components";import{
|
|
|
971
574
|
${e.tdDown} {
|
|
972
575
|
gap: 4px;
|
|
973
576
|
}
|
|
974
|
-
`,
|
|
577
|
+
`,lt),pt=t.a`
|
|
975
578
|
text-decoration: none;
|
|
976
579
|
border-radius: 4px;
|
|
977
580
|
background: ${i.colors.white};
|
|
@@ -1004,7 +607,7 @@ import{M as e}from"./utils-ba33cc9e.js";import t from"styled-components";import{
|
|
|
1004
607
|
max-height: 110px;
|
|
1005
608
|
display: flex;
|
|
1006
609
|
flex-direction: row-reverse;
|
|
1007
|
-
> .${
|
|
610
|
+
> .${lt} {
|
|
1008
611
|
flex: 1;
|
|
1009
612
|
}
|
|
1010
613
|
img {
|
|
@@ -1033,7 +636,7 @@ import{M as e}from"./utils-ba33cc9e.js";import t from"styled-components";import{
|
|
|
1033
636
|
position: absolute;
|
|
1034
637
|
display: inline-block;
|
|
1035
638
|
}
|
|
1036
|
-
`,
|
|
639
|
+
`,dt=t.div`
|
|
1037
640
|
padding: 16px;
|
|
1038
641
|
border-radius: 8px;
|
|
1039
642
|
position: relative;
|
|
@@ -1065,26 +668,26 @@ import{M as e}from"./utils-ba33cc9e.js";import t from"styled-components";import{
|
|
|
1065
668
|
grid-gap: 10px;
|
|
1066
669
|
grid-template-columns: 1fr 3fr;
|
|
1067
670
|
}
|
|
1068
|
-
`,
|
|
671
|
+
`,ct=t.div`
|
|
1069
672
|
font-weight: 400;
|
|
1070
673
|
font-size: 14px;
|
|
1071
674
|
line-height: 24px;
|
|
1072
675
|
color: ${e=>e.theme.colors.gray600};
|
|
1073
676
|
margin-bottom: 15px;
|
|
1074
|
-
`,
|
|
677
|
+
`,mt=t.div`
|
|
1075
678
|
font-weight: 600;
|
|
1076
679
|
font-size: 16px;
|
|
1077
680
|
line-height: 26px;
|
|
1078
681
|
color: #000000;
|
|
1079
682
|
margin-bottom: 4px;
|
|
1080
|
-
`,
|
|
683
|
+
`,gt=t.div`
|
|
1081
684
|
background: #fff;
|
|
1082
685
|
padding: 5px;
|
|
1083
686
|
display: flex;
|
|
1084
687
|
align-items: center;
|
|
1085
688
|
justify-content: center;
|
|
1086
689
|
border-radius: 50px;
|
|
1087
|
-
`,
|
|
690
|
+
`,ht=t.div`
|
|
1088
691
|
display: flex;
|
|
1089
692
|
justify-content: center;
|
|
1090
693
|
align-items: center;
|
|
@@ -1093,7 +696,7 @@ import{M as e}from"./utils-ba33cc9e.js";import t from"styled-components";import{
|
|
|
1093
696
|
justify-content: end;
|
|
1094
697
|
min-height: 100px;
|
|
1095
698
|
}
|
|
1096
|
-
`,
|
|
699
|
+
`,ut=t.div`
|
|
1097
700
|
margin-top: 10px;
|
|
1098
701
|
background: #ffffff;
|
|
1099
702
|
padding: 5px 15px;
|
|
@@ -1109,10 +712,10 @@ import{M as e}from"./utils-ba33cc9e.js";import t from"styled-components";import{
|
|
|
1109
712
|
content: '';
|
|
1110
713
|
}
|
|
1111
714
|
}
|
|
1112
|
-
`,
|
|
715
|
+
`,bt=t.div`
|
|
1113
716
|
margin: 15px 0;
|
|
1114
717
|
display: flex;
|
|
1115
|
-
`,
|
|
718
|
+
`,xt=t.a`
|
|
1116
719
|
padding-left: 10px;
|
|
1117
720
|
display: flex;
|
|
1118
721
|
align-items: center;
|
|
@@ -1127,7 +730,113 @@ import{M as e}from"./utils-ba33cc9e.js";import t from"styled-components";import{
|
|
|
1127
730
|
padding-left: 5px;
|
|
1128
731
|
}
|
|
1129
732
|
${e.mbDown} {
|
|
1130
|
-
margin-left: auto;
|
|
733
|
+
margin-left: auto;
|
|
734
|
+
}
|
|
735
|
+
`,ft=t.div`
|
|
736
|
+
padding-right: 1rem;
|
|
737
|
+
margin-top: 10px;
|
|
738
|
+
background: #ffffff;
|
|
739
|
+
padding: 5px 15px;
|
|
740
|
+
${e.mbUp} {
|
|
741
|
+
border-right: 1px solid #e4e8ec;
|
|
742
|
+
}
|
|
743
|
+
`,yt=t.a`
|
|
744
|
+
padding: 10px 0;
|
|
745
|
+
position: relative;
|
|
746
|
+
|
|
747
|
+
display: flex;
|
|
748
|
+
align-items: center;
|
|
749
|
+
text-decoration: none;
|
|
750
|
+
color: ${e=>e.theme.colors.gray800};
|
|
751
|
+
* {
|
|
752
|
+
pointer-events: none;
|
|
753
|
+
}
|
|
754
|
+
p {
|
|
755
|
+
font-size: 16px;
|
|
756
|
+
font-weight: 400;
|
|
757
|
+
padding: 0 0.4rem;
|
|
758
|
+
}
|
|
759
|
+
|
|
760
|
+
&[data-theme='marryBaby']:hover {
|
|
761
|
+
p {
|
|
762
|
+
color: ${e=>e.theme.mbColors.pink};
|
|
763
|
+
}
|
|
764
|
+
.icon {
|
|
765
|
+
background-color: ${e=>e.theme.mbColors.lightPink};
|
|
766
|
+
}
|
|
767
|
+
}
|
|
768
|
+
&[data-theme='helloSite']:hover {
|
|
769
|
+
p {
|
|
770
|
+
color: ${e=>e.theme.colors.primaryActive};
|
|
771
|
+
}
|
|
772
|
+
}
|
|
773
|
+
a {
|
|
774
|
+
}
|
|
775
|
+
|
|
776
|
+
&[data-theme='marryBaby'] {
|
|
777
|
+
.icon {
|
|
778
|
+
display: flex;
|
|
779
|
+
align-items: center;
|
|
780
|
+
justify-content: center;
|
|
781
|
+
max-width: 40px;
|
|
782
|
+
width: 100%;
|
|
783
|
+
height: 40px;
|
|
784
|
+
border-radius: 50%;
|
|
785
|
+
background-color: ${e=>e.theme.mbColors.lightGray};
|
|
786
|
+
img {
|
|
787
|
+
border-radius: 50%;
|
|
788
|
+
}
|
|
789
|
+
}
|
|
790
|
+
}
|
|
791
|
+
`,vt=t.div`
|
|
792
|
+
margin: 15px 0;
|
|
793
|
+
${e.mbDown} {
|
|
794
|
+
display: none;
|
|
795
|
+
}
|
|
796
|
+
`,_t=t.div`
|
|
797
|
+
display: flex;
|
|
798
|
+
position: absolute;
|
|
799
|
+
right: 0;
|
|
800
|
+
${e.mbUp} {
|
|
801
|
+
display: none;
|
|
802
|
+
}
|
|
803
|
+
`,wt=t.div`
|
|
804
|
+
display: flex;
|
|
805
|
+
align-items: center;
|
|
806
|
+
color: ${e=>e.theme.colors.primaryBase};
|
|
807
|
+
font-size: ${e=>e.theme.sizes.fsParagraph4};
|
|
808
|
+
font-weight: ${e=>e.theme.sizes.fwBold};
|
|
809
|
+
line-height: 24px;
|
|
810
|
+
font-size: 14px;
|
|
811
|
+
font-weight: 600;
|
|
812
|
+
&[data-event-category] * {
|
|
813
|
+
pointer-events: none;
|
|
814
|
+
}
|
|
815
|
+
&[data-theme='marryBaby'] {
|
|
816
|
+
color: ${e=>e.theme.mbColors.pink};
|
|
817
|
+
}
|
|
818
|
+
`,Et=t.div`
|
|
819
|
+
display: flex;
|
|
820
|
+
align-items: center;
|
|
821
|
+
margin-left: 10px;
|
|
822
|
+
`,Tt=t.a`
|
|
823
|
+
border: 1px solid ${e=>e.theme.colors.primaryBase};
|
|
824
|
+
&[data-theme='marryBaby'] {
|
|
825
|
+
border: 1px solid ${e=>e.theme.mbColors.pink};
|
|
826
|
+
|
|
827
|
+
svg path {
|
|
828
|
+
stroke: ${e=>e.theme.mbColors.pink};
|
|
829
|
+
}
|
|
830
|
+
}
|
|
831
|
+
position: relative;
|
|
832
|
+
display: flex;
|
|
833
|
+
align-items: center;
|
|
834
|
+
justify-content: center;
|
|
835
|
+
padding: 6px;
|
|
836
|
+
border-radius: 5px;
|
|
837
|
+
margin-top: 20px;
|
|
838
|
+
${e.mbDown} {
|
|
839
|
+
display: none;
|
|
1131
840
|
}
|
|
1132
841
|
`;t.div`
|
|
1133
842
|
&[data-category-list-type='sub'] {
|
|
@@ -1142,7 +851,7 @@ import{M as e}from"./utils-ba33cc9e.js";import t from"styled-components";import{
|
|
|
1142
851
|
width: 100%;
|
|
1143
852
|
margin-bottom: 8px;
|
|
1144
853
|
}
|
|
1145
|
-
`;const
|
|
854
|
+
`;const Ot=t.div`
|
|
1146
855
|
display: grid;
|
|
1147
856
|
|
|
1148
857
|
grid-template-columns: repeat(4, 1fr);
|
|
@@ -1151,7 +860,7 @@ import{M as e}from"./utils-ba33cc9e.js";import t from"styled-components";import{
|
|
|
1151
860
|
gap: 12px;
|
|
1152
861
|
grid-template-columns: 1fr;
|
|
1153
862
|
}
|
|
1154
|
-
|
|
863
|
+
`,At=t.a`
|
|
1155
864
|
width: 100%;
|
|
1156
865
|
display: flex;
|
|
1157
866
|
align-items: center;
|
|
@@ -1159,7 +868,7 @@ import{M as e}from"./utils-ba33cc9e.js";import t from"styled-components";import{
|
|
|
1159
868
|
* {
|
|
1160
869
|
pointer-events: none;
|
|
1161
870
|
}
|
|
1162
|
-
`,
|
|
871
|
+
`,It=t.div`
|
|
1163
872
|
border-radius: 5px;
|
|
1164
873
|
display: block;
|
|
1165
874
|
overflow: hidden;
|
|
@@ -1180,7 +889,7 @@ import{M as e}from"./utils-ba33cc9e.js";import t from"styled-components";import{
|
|
|
1180
889
|
width: 72px;
|
|
1181
890
|
padding-top: 100px;
|
|
1182
891
|
}
|
|
1183
|
-
`,
|
|
892
|
+
`,Lt=t.p`
|
|
1184
893
|
font-size: 16px;
|
|
1185
894
|
font-weight: 400;
|
|
1186
895
|
padding: 4px 15px;
|
|
@@ -1213,7 +922,7 @@ import{M as e}from"./utils-ba33cc9e.js";import t from"styled-components";import{
|
|
|
1213
922
|
width: 100%;
|
|
1214
923
|
margin-bottom: 8px;
|
|
1215
924
|
}
|
|
1216
|
-
`;const
|
|
925
|
+
`;const $t=t.div`
|
|
1217
926
|
display: grid;
|
|
1218
927
|
grid-template-columns: repeat(2, 1fr);
|
|
1219
928
|
grid-gap: 48px;
|
|
@@ -1224,7 +933,7 @@ import{M as e}from"./utils-ba33cc9e.js";import t from"styled-components";import{
|
|
|
1224
933
|
${e.mbDown} {
|
|
1225
934
|
grid-gap: 24px;
|
|
1226
935
|
}
|
|
1227
|
-
`,
|
|
936
|
+
`,St=t.div`
|
|
1228
937
|
width: ${e=>e.size||40}px;
|
|
1229
938
|
height: ${e=>e.size||40}px;
|
|
1230
939
|
flex-shrink: 0;
|
|
@@ -1257,15 +966,15 @@ import{M as e}from"./utils-ba33cc9e.js";import t from"styled-components";import{
|
|
|
1257
966
|
background-color: ${e=>e.theme.mbColors.pink};
|
|
1258
967
|
}
|
|
1259
968
|
}
|
|
1260
|
-
`,
|
|
969
|
+
`,kt=e=>{var{className:t,isMarryBaby:i,style:o,avatar:r,username:n,size:p}=e,c=h(e,["className","isMarryBaby","style","avatar","username","size"]);const{data:{env:{isMarryBaby:m}}}=d($e),g="boolean"==typeof i?i:m,[u,b]=l(!1);return s((()=>{const e=new Image;e.onerror=()=>{b(!0)},e.src=r}),[]),a.createElement(St,Object.assign({"data-is-marrybaby":g,className:t,style:o,size:p},c),r&&!u?a.createElement("img",{loading:"lazy",src:r,className:"avatar",alt:"avatar",onError:()=>{b(!0)}}):a.createElement("div",{className:"avatar avatar-default"},n&&(null==n?void 0:n.length)>0?n[0].toUpperCase():"A"))},Rt=t.div`
|
|
1261
970
|
padding: 5px;
|
|
1262
971
|
flex: 1;
|
|
1263
|
-
`,
|
|
972
|
+
`,Dt=t.img`
|
|
1264
973
|
width: 88px;
|
|
1265
974
|
height: 88px;
|
|
1266
975
|
border-radius: 4px;
|
|
1267
976
|
object-fit: cover;
|
|
1268
|
-
`,
|
|
977
|
+
`,Pt=t.div`
|
|
1269
978
|
font-size: 12px;
|
|
1270
979
|
font-weight: 600;
|
|
1271
980
|
color: ${e=>e.theme.colors.gray800};
|
|
@@ -1274,7 +983,7 @@ import{M as e}from"./utils-ba33cc9e.js";import t from"styled-components";import{
|
|
|
1274
983
|
font-weight: 400;
|
|
1275
984
|
letter-spacing: -0.2px;
|
|
1276
985
|
}
|
|
1277
|
-
`,
|
|
986
|
+
`,Ct=t.div`
|
|
1278
987
|
text-decoration: none;
|
|
1279
988
|
font-size: 12px;
|
|
1280
989
|
font-weight: 400;
|
|
@@ -1283,15 +992,15 @@ import{M as e}from"./utils-ba33cc9e.js";import t from"styled-components";import{
|
|
|
1283
992
|
font-weight: 400;
|
|
1284
993
|
letter-spacing: -0.2px;
|
|
1285
994
|
}
|
|
1286
|
-
`,
|
|
995
|
+
`,Nt=t.div`
|
|
1287
996
|
font-size: 12px;
|
|
1288
997
|
font-weight: 400;
|
|
1289
998
|
color: ${e=>e.theme.colors.gray600};
|
|
1290
|
-
`,
|
|
999
|
+
`,Bt=t.div`
|
|
1291
1000
|
font-size: 12px;
|
|
1292
1001
|
font-weight: 400;
|
|
1293
1002
|
color: ${e=>e.theme.colors.gray600};
|
|
1294
|
-
`,
|
|
1003
|
+
`,Ut=t.a`
|
|
1295
1004
|
display: flex;
|
|
1296
1005
|
gap: 10px;
|
|
1297
1006
|
text-decoration: none;
|
|
@@ -1324,12 +1033,12 @@ import{M as e}from"./utils-ba33cc9e.js";import t from"styled-components";import{
|
|
|
1324
1033
|
}
|
|
1325
1034
|
}
|
|
1326
1035
|
}
|
|
1327
|
-
`,
|
|
1036
|
+
`,Gt=t.div`
|
|
1328
1037
|
display: flex;
|
|
1329
1038
|
gap: 10px;
|
|
1330
1039
|
vertical-align: middle;
|
|
1331
1040
|
align-items: center;
|
|
1332
|
-
`,
|
|
1041
|
+
`,Mt=t.div`
|
|
1333
1042
|
margin-top: 8px;
|
|
1334
1043
|
font-size: 16px;
|
|
1335
1044
|
font-weight: 600;
|
|
@@ -1341,20 +1050,20 @@ import{M as e}from"./utils-ba33cc9e.js";import t from"styled-components";import{
|
|
|
1341
1050
|
line-height: 24px;
|
|
1342
1051
|
letter-spacing: -0.2px;
|
|
1343
1052
|
}
|
|
1344
|
-
`,
|
|
1053
|
+
`,Ht=t.div`
|
|
1345
1054
|
display: flex;
|
|
1346
1055
|
flex-wrap: wrap;
|
|
1347
1056
|
align-items: center;
|
|
1348
1057
|
column-gap: 5px;
|
|
1349
|
-
`,
|
|
1058
|
+
`,zt=t.div`
|
|
1350
1059
|
display: flex;
|
|
1351
1060
|
gap: 4px;
|
|
1352
1061
|
flex-direction: column;
|
|
1353
|
-
`;L.extend($);const
|
|
1062
|
+
`;L.extend($);const jt=({post:e,index:t=0})=>{var i,o,r,n,l,s,p;const{siteType:c,configs:{statics:m}}=d(Je);if(!e)return null;const g=[m.TOGETHER_URL_FE,null===(i=e.community)||void 0===i?void 0:i.slug].join("/"),h=[g,e.slug].join("/"),u=e.createdAt,b=u?isNaN(new Date(u).getTime())?null:new Date(u):null,x=b?L(b).toNow(!0):u;return a.createElement(Ut,{href:h,"data-event-category":"Hamburger Navigation","data-event-action":`Together Click ${t+1}`,"data-event-label":h},a.createElement(Rt,null,a.createElement(Gt,null,a.createElement(kt,{avatar:null===(o=e.author)||void 0===o?void 0:o.avatar,username:(null===(r=e.author)||void 0===r?void 0:r.name)||(null===(n=e.author)||void 0===n?void 0:n.username)}),a.createElement(zt,null,a.createElement(Pt,{"data-theme":c},null===(l=e.author)||void 0===l?void 0:l.name),a.createElement(Ht,null,a.createElement(Ct,{"data-event-category":"Hamburger Navigation","data-event-action":`Topic Click ${t+1}`,"data-event-label":g,onClick:e=>{e.preventDefault(),location.href=g},"data-theme":c},null===(s=e.community)||void 0===s?void 0:s.name),a.createElement(Bt,null,"•"),a.createElement(Nt,{"data-theme":c},x)))),a.createElement(Mt,null,e.title)),!!(null===(p=e.photos)||void 0===p?void 0:p.length)&&a.createElement(Dt,{loading:"lazy",src:e.photos[0]}))};t.div`
|
|
1354
1063
|
&[data-is-display='false'] {
|
|
1355
1064
|
display: none;
|
|
1356
1065
|
}
|
|
1357
|
-
`;const
|
|
1066
|
+
`;const Ft=t.div`
|
|
1358
1067
|
display: grid;
|
|
1359
1068
|
|
|
1360
1069
|
grid-template-columns: repeat(3, 1fr);
|
|
@@ -1363,7 +1072,7 @@ import{M as e}from"./utils-ba33cc9e.js";import t from"styled-components";import{
|
|
|
1363
1072
|
grid-template-columns: 1fr;
|
|
1364
1073
|
gap: 12px;
|
|
1365
1074
|
}
|
|
1366
|
-
`,
|
|
1075
|
+
`,Vt=t.a`
|
|
1367
1076
|
text-decoration: none;
|
|
1368
1077
|
border-radius: 4px;
|
|
1369
1078
|
background: ${e=>e.theme.colors.primary50};
|
|
@@ -1394,7 +1103,7 @@ import{M as e}from"./utils-ba33cc9e.js";import t from"styled-components";import{
|
|
|
1394
1103
|
display: flex;
|
|
1395
1104
|
align-items: center;
|
|
1396
1105
|
}
|
|
1397
|
-
`,
|
|
1106
|
+
`,Yt=t.div`
|
|
1398
1107
|
width: 64px;
|
|
1399
1108
|
height: 64px;
|
|
1400
1109
|
background: white;
|
|
@@ -1417,19 +1126,19 @@ import{M as e}from"./utils-ba33cc9e.js";import t from"styled-components";import{
|
|
|
1417
1126
|
top: unset;
|
|
1418
1127
|
right: unset;
|
|
1419
1128
|
}
|
|
1420
|
-
`,
|
|
1129
|
+
`,Kt=t.div`
|
|
1421
1130
|
display: flex;
|
|
1422
1131
|
align-items: center;
|
|
1423
1132
|
color: ${e=>e.theme.colors.primaryBase};
|
|
1424
1133
|
font-weight: 400;
|
|
1425
1134
|
font-size: 14px;
|
|
1426
1135
|
text-decoration: none;
|
|
1427
|
-
`,
|
|
1136
|
+
`,Wt=t.p`
|
|
1428
1137
|
font-size: 16px;
|
|
1429
1138
|
font-weight: 600;
|
|
1430
1139
|
line-height: 1.4;
|
|
1431
1140
|
color: ${e=>e.theme.colors.gray800};
|
|
1432
|
-
`,
|
|
1141
|
+
`,Xt=t.p`
|
|
1433
1142
|
font-size: 14px;
|
|
1434
1143
|
line-height: 1.4;
|
|
1435
1144
|
font-weight: 400;
|
|
@@ -1444,7 +1153,7 @@ import{M as e}from"./utils-ba33cc9e.js";import t from"styled-components";import{
|
|
|
1444
1153
|
${e.tdDown} {
|
|
1445
1154
|
display: none;
|
|
1446
1155
|
}
|
|
1447
|
-
`,
|
|
1156
|
+
`,qt=t.div`
|
|
1448
1157
|
display: flex;
|
|
1449
1158
|
flex-direction: column;
|
|
1450
1159
|
flex: 1;
|
|
@@ -1456,7 +1165,7 @@ import{M as e}from"./utils-ba33cc9e.js";import t from"styled-components";import{
|
|
|
1456
1165
|
gap: 4px;
|
|
1457
1166
|
flex: 1;
|
|
1458
1167
|
}
|
|
1459
|
-
`,
|
|
1168
|
+
`,Zt=t.a`
|
|
1460
1169
|
text-decoration: none;
|
|
1461
1170
|
border-radius: 12px;
|
|
1462
1171
|
|
|
@@ -1531,128 +1240,419 @@ import{M as e}from"./utils-ba33cc9e.js";import t from"styled-components";import{
|
|
|
1531
1240
|
display: none;
|
|
1532
1241
|
}
|
|
1533
1242
|
}
|
|
1534
|
-
.desktop-only {
|
|
1535
|
-
${e.tdDown} {
|
|
1536
|
-
display: none;
|
|
1243
|
+
.desktop-only {
|
|
1244
|
+
${e.tdDown} {
|
|
1245
|
+
display: none;
|
|
1246
|
+
}
|
|
1247
|
+
}
|
|
1248
|
+
`,Jt=t.div`
|
|
1249
|
+
width: 48px;
|
|
1250
|
+
height: 48px;
|
|
1251
|
+
background: white;
|
|
1252
|
+
position: absolute;
|
|
1253
|
+
right: 25px;
|
|
1254
|
+
top: 35px;
|
|
1255
|
+
z-index: 3;
|
|
1256
|
+
border-radius: 50%;
|
|
1257
|
+
img {
|
|
1258
|
+
position: absolute;
|
|
1259
|
+
width: 36px;
|
|
1260
|
+
height: 36px;
|
|
1261
|
+
top: 50%;
|
|
1262
|
+
left: 50%;
|
|
1263
|
+
display: block;
|
|
1264
|
+
transform: translate(-50%, -50%);
|
|
1265
|
+
}
|
|
1266
|
+
${e.tdDown} {
|
|
1267
|
+
position: relative;
|
|
1268
|
+
top: unset;
|
|
1269
|
+
right: unset;
|
|
1270
|
+
}
|
|
1271
|
+
${e.mbDown} {
|
|
1272
|
+
position: absolute;
|
|
1273
|
+
left: 32px;
|
|
1274
|
+
top: 28px;
|
|
1275
|
+
}
|
|
1276
|
+
`,Qt=t.div`
|
|
1277
|
+
display: flex;
|
|
1278
|
+
align-items: center;
|
|
1279
|
+
background: white;
|
|
1280
|
+
font-weight: 400;
|
|
1281
|
+
font-size: 14px;
|
|
1282
|
+
text-decoration: none;
|
|
1283
|
+
border-radius: 50%;
|
|
1284
|
+
width: 20px;
|
|
1285
|
+
height: 20px;
|
|
1286
|
+
|
|
1287
|
+
svg path {
|
|
1288
|
+
fill: ${e=>e.theme.mbColors.gray};
|
|
1289
|
+
}
|
|
1290
|
+
|
|
1291
|
+
${e.tdDown} {
|
|
1292
|
+
background: none;
|
|
1293
|
+
width: 100%;
|
|
1294
|
+
font-weight: 400;
|
|
1295
|
+
font-size: 12px;
|
|
1296
|
+
line-height: 18px;
|
|
1297
|
+
color: ${e=>e.theme.mbColors.pink};
|
|
1298
|
+
padding-left: 16px;
|
|
1299
|
+
}
|
|
1300
|
+
`,ei=t.p`
|
|
1301
|
+
font-weight: 600;
|
|
1302
|
+
font-size: 14px;
|
|
1303
|
+
line-height: 24px;
|
|
1304
|
+
letter-spacing: -0.2px;
|
|
1305
|
+
color: ${e=>e.theme.colors.gray800};
|
|
1306
|
+
`,ti=t.p`
|
|
1307
|
+
font-weight: 400;
|
|
1308
|
+
font-size: 12px;
|
|
1309
|
+
line-height: 18px;
|
|
1310
|
+
letter-spacing: -0.2px;
|
|
1311
|
+
color: ${e=>e.theme.colors.gray600};
|
|
1312
|
+
height: 54px;
|
|
1313
|
+
text-overflow: ellipsis;
|
|
1314
|
+
overflow: hidden;
|
|
1315
|
+
display: -webkit-box;
|
|
1316
|
+
-webkit-line-clamp: 3;
|
|
1317
|
+
-webkit-box-orient: vertical;
|
|
1318
|
+
margin-bottom: auto;
|
|
1319
|
+
${e.tdDown} {
|
|
1320
|
+
display: none;
|
|
1321
|
+
}
|
|
1322
|
+
`,ii=t.div`
|
|
1323
|
+
display: flex;
|
|
1324
|
+
flex: 1;
|
|
1325
|
+
z-index: 1;
|
|
1326
|
+
align-items: flex-end;
|
|
1327
|
+
justify-content: flex-end;
|
|
1328
|
+
${e.tdUp} {
|
|
1329
|
+
gap: 8px;
|
|
1330
|
+
flex-direction: row;
|
|
1331
|
+
}
|
|
1332
|
+
|
|
1333
|
+
${e.tdDown} {
|
|
1334
|
+
align-items: flex-start;
|
|
1335
|
+
justify-content: flex-start;
|
|
1336
|
+
gap: 4px;
|
|
1337
|
+
}
|
|
1338
|
+
`,oi=t.div`
|
|
1339
|
+
display: flex;
|
|
1340
|
+
flex-direction: column;
|
|
1341
|
+
flex: 1;
|
|
1342
|
+
z-index: 1;
|
|
1343
|
+
${e.tdUp} {
|
|
1344
|
+
gap: 8px;
|
|
1345
|
+
}
|
|
1346
|
+
${e.tdDown} {
|
|
1347
|
+
gap: 4px;
|
|
1348
|
+
flex: 1;
|
|
1349
|
+
padding-left: 16px;
|
|
1350
|
+
}
|
|
1351
|
+
`,ai=t.div`
|
|
1352
|
+
display: flex;
|
|
1353
|
+
flex-direction: row;
|
|
1354
|
+
flex: 1;
|
|
1355
|
+
z-index: 1;
|
|
1356
|
+
${e.tdUp} {
|
|
1357
|
+
gap: 8px;
|
|
1358
|
+
justify-content: flex-end;
|
|
1359
|
+
align-items: flex-end;
|
|
1360
|
+
}
|
|
1361
|
+
${e.tdDown} {
|
|
1362
|
+
flex-direction: column;
|
|
1363
|
+
justify-content: flex-start;
|
|
1364
|
+
align-items: flex-start;
|
|
1365
|
+
}
|
|
1366
|
+
`,ri=t.div`
|
|
1367
|
+
position: fixed;
|
|
1368
|
+
z-index: 201;
|
|
1369
|
+
top: calc(100% + 1px); // border 1px
|
|
1370
|
+
width: 100%;
|
|
1371
|
+
height: calc(100vh - var(--header-bottom));
|
|
1372
|
+
overflow-x: hidden;
|
|
1373
|
+
overflow-y: auto;
|
|
1374
|
+
background: white;
|
|
1375
|
+
display: flex;
|
|
1376
|
+
flex-direction: column;
|
|
1377
|
+
padding-bottom: 0;
|
|
1378
|
+
left: 0;
|
|
1379
|
+
.hhgcomp-navigation-popupwrapper-menuwrapper {
|
|
1380
|
+
position: unset;
|
|
1381
|
+
}
|
|
1382
|
+
`;t.div`
|
|
1383
|
+
position: fixed;
|
|
1384
|
+
bottom: 0;
|
|
1385
|
+
left: 0;
|
|
1386
|
+
display: flex;
|
|
1387
|
+
width: 100%;
|
|
1388
|
+
height: 72px;
|
|
1389
|
+
align-items: flex-start;
|
|
1390
|
+
justify-content: center;
|
|
1391
|
+
|
|
1392
|
+
background: linear-gradient(0deg, #ffffff 0%, rgba(255, 255, 255, 0) 100%);
|
|
1393
|
+
|
|
1394
|
+
.button-image {
|
|
1395
|
+
stroke-color: blue;
|
|
1396
|
+
}
|
|
1397
|
+
|
|
1398
|
+
&[data-site-type='marryBaby'] {
|
|
1399
|
+
padding: 0 16px;
|
|
1400
|
+
.category-button {
|
|
1401
|
+
width: 100%;
|
|
1402
|
+
height: 48px;
|
|
1403
|
+
}
|
|
1404
|
+
}
|
|
1405
|
+
`,t.div`
|
|
1406
|
+
display: flex;
|
|
1407
|
+
|
|
1408
|
+
&[data-card-array-no-margin-style='true'] {
|
|
1409
|
+
margin: 8px 0;
|
|
1410
|
+
|
|
1411
|
+
& > div {
|
|
1412
|
+
width: 0;
|
|
1413
|
+
flex: 1;
|
|
1414
|
+
margin: 0 -1px;
|
|
1415
|
+
}
|
|
1416
|
+
}
|
|
1417
|
+
|
|
1418
|
+
&[data-card-array-no-margin-style='false'] {
|
|
1419
|
+
margin: 8px -4px;
|
|
1420
|
+
|
|
1421
|
+
& > div {
|
|
1422
|
+
flex: 1;
|
|
1423
|
+
margin: 0 4px;
|
|
1424
|
+
}
|
|
1425
|
+
}
|
|
1426
|
+
`,t.div`
|
|
1427
|
+
margin-top: 64px;
|
|
1428
|
+
`,t.div`
|
|
1429
|
+
padding: 24px 0;
|
|
1430
|
+
`,t.div`
|
|
1431
|
+
display: flex;
|
|
1432
|
+
width: 100%;
|
|
1433
|
+
align-items: center;
|
|
1434
|
+
justify-content: center;
|
|
1435
|
+
|
|
1436
|
+
& > div:first-child {
|
|
1437
|
+
margin-right: 8px;
|
|
1438
|
+
}
|
|
1439
|
+
`,t.div`
|
|
1440
|
+
z-index: ${ge};
|
|
1441
|
+
align-items: center;
|
|
1442
|
+
|
|
1443
|
+
border: 1px solid ${e=>e.theme.colors.neutral50};
|
|
1444
|
+
background-color: ${e=>e.theme.colors.white};
|
|
1445
|
+
box-shadow: 0px 24px 32px rgba(0, 0, 0, 0.04),
|
|
1446
|
+
0px 16px 24px rgba(0, 0, 0, 0.04), 0px 4px 8px rgba(0, 0, 0, 0.04),
|
|
1447
|
+
0px 0px 1px rgba(0, 0, 0, 0.04);
|
|
1448
|
+
`,t.div`
|
|
1449
|
+
position: relative;
|
|
1450
|
+
display: flex;
|
|
1451
|
+
flex-wrap: wrap;
|
|
1452
|
+
align-items: flex-start;
|
|
1453
|
+
justify-content: flex-start;
|
|
1454
|
+
padding: 48px 0;
|
|
1455
|
+
`,t.div`
|
|
1456
|
+
position: relative;
|
|
1457
|
+
display: flex;
|
|
1458
|
+
flex-wrap: wrap;
|
|
1459
|
+
align-items: flex-start;
|
|
1460
|
+
justify-content: flex-start;
|
|
1461
|
+
&[data-disabled-divider='false'] {
|
|
1462
|
+
border-right: 1px solid #e4e8ec;
|
|
1463
|
+
}
|
|
1464
|
+
`,t.div`
|
|
1465
|
+
width: 20%;
|
|
1466
|
+
padding-right: 16px;
|
|
1467
|
+
margin-bottom: 12px;
|
|
1468
|
+
|
|
1469
|
+
& > a {
|
|
1470
|
+
color: ${e=>e.theme.colors.gray800};
|
|
1471
|
+
font-size: ${e=>e.theme.sizes.fsParagraph4};
|
|
1472
|
+
font-weight: ${e=>e.theme.sizes.fwRegular};
|
|
1473
|
+
line-height: 22px;
|
|
1474
|
+
}
|
|
1475
|
+
|
|
1476
|
+
& > a:hover {
|
|
1477
|
+
color: ${e=>e.theme.colors.primaryBase};
|
|
1478
|
+
}
|
|
1479
|
+
|
|
1480
|
+
.iconMenu {
|
|
1481
|
+
display: flex;
|
|
1482
|
+
align-items: center;
|
|
1483
|
+
|
|
1484
|
+
> .imageContainer {
|
|
1485
|
+
display: flex;
|
|
1486
|
+
width: 32px;
|
|
1487
|
+
min-width: 32px;
|
|
1488
|
+
align-items: center;
|
|
1489
|
+
margin-right: 16px;
|
|
1537
1490
|
}
|
|
1538
1491
|
}
|
|
1539
|
-
`,
|
|
1540
|
-
|
|
1492
|
+
`,t.div`
|
|
1493
|
+
display: none;
|
|
1494
|
+
`,t.div`
|
|
1495
|
+
width: 33%;
|
|
1541
1496
|
height: 48px;
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
|
|
1550
|
-
|
|
1551
|
-
height:
|
|
1552
|
-
|
|
1553
|
-
|
|
1554
|
-
|
|
1555
|
-
|
|
1497
|
+
padding-right: 16px;
|
|
1498
|
+
margin-bottom: 12px;
|
|
1499
|
+
|
|
1500
|
+
& > a {
|
|
1501
|
+
display: flex;
|
|
1502
|
+
align-items: center;
|
|
1503
|
+
color: ${e=>e.theme.colors.gray800};
|
|
1504
|
+
font-size: ${e=>e.theme.sizes.fsParagraph4};
|
|
1505
|
+
font-weight: ${e=>e.theme.sizes.fwRegular};
|
|
1506
|
+
line-height: 22px;
|
|
1507
|
+
|
|
1508
|
+
& > :first-child {
|
|
1509
|
+
margin-right: 16px;
|
|
1510
|
+
}
|
|
1556
1511
|
}
|
|
1557
|
-
|
|
1558
|
-
|
|
1559
|
-
|
|
1560
|
-
right: unset;
|
|
1512
|
+
|
|
1513
|
+
& > a > p:hover {
|
|
1514
|
+
color: ${e=>e.theme.colors.primaryBase};
|
|
1561
1515
|
}
|
|
1562
|
-
|
|
1563
|
-
|
|
1564
|
-
|
|
1565
|
-
|
|
1516
|
+
`,t.div`
|
|
1517
|
+
display: flex;
|
|
1518
|
+
align-items: center;
|
|
1519
|
+
|
|
1520
|
+
padding-right: 16px;
|
|
1521
|
+
margin-bottom: 12px;
|
|
1522
|
+
color: ${e=>e.theme.colors.primaryBase};
|
|
1523
|
+
font-size: ${e=>e.theme.sizes.fsParagraph4};
|
|
1524
|
+
font-weight: ${e=>e.theme.sizes.fwBold};
|
|
1525
|
+
line-height: 24px;
|
|
1526
|
+
|
|
1527
|
+
&[data-theme='marryBaby'] {
|
|
1528
|
+
color: ${e=>e.theme.mbColors.pink};
|
|
1566
1529
|
}
|
|
1567
|
-
`,
|
|
1530
|
+
`,t.div`
|
|
1568
1531
|
display: flex;
|
|
1569
1532
|
align-items: center;
|
|
1570
|
-
background: white;
|
|
1571
|
-
font-weight: 400;
|
|
1572
|
-
font-size: 14px;
|
|
1573
|
-
text-decoration: none;
|
|
1574
|
-
border-radius: 50%;
|
|
1575
|
-
width: 20px;
|
|
1576
|
-
height: 20px;
|
|
1577
1533
|
|
|
1578
|
-
|
|
1579
|
-
|
|
1534
|
+
margin-left: 10px;
|
|
1535
|
+
`,t.div`
|
|
1536
|
+
position: absolute;
|
|
1537
|
+
top: 16px;
|
|
1538
|
+
right: 0;
|
|
1539
|
+
display: flex;
|
|
1540
|
+
align-items: center;
|
|
1541
|
+
cursor: pointer;
|
|
1542
|
+
`,t.div`
|
|
1543
|
+
display: block;
|
|
1544
|
+
`,t.div`
|
|
1545
|
+
.categories__spotlight {
|
|
1546
|
+
display: grid;
|
|
1547
|
+
margin: 16px;
|
|
1548
|
+
margin-bottom: 32px;
|
|
1549
|
+
grid-gap: 8px;
|
|
1550
|
+
grid-template-columns: 1fr 1fr;
|
|
1551
|
+
|
|
1552
|
+
a {
|
|
1553
|
+
text-decoration: none;
|
|
1554
|
+
}
|
|
1580
1555
|
}
|
|
1581
1556
|
|
|
1582
|
-
|
|
1583
|
-
|
|
1557
|
+
.categoryCard {
|
|
1558
|
+
display: flex;
|
|
1584
1559
|
width: 100%;
|
|
1585
|
-
|
|
1586
|
-
|
|
1587
|
-
|
|
1588
|
-
|
|
1589
|
-
|
|
1560
|
+
flex-direction: column;
|
|
1561
|
+
align-items: center;
|
|
1562
|
+
padding: 16px;
|
|
1563
|
+
border-radius: ${e=>e.theme.borderRadius};
|
|
1564
|
+
color: ${e=>e.theme.colors.primaryBase};
|
|
1565
|
+
|
|
1566
|
+
svg {
|
|
1567
|
+
margin-bottom: 4px;
|
|
1568
|
+
}
|
|
1569
|
+
|
|
1570
|
+
&.active {
|
|
1571
|
+
background: ${e=>e.theme.colors.primaryBase};
|
|
1572
|
+
box-shadow: 0px 16px 24px rgba(0, 0, 0, 0.06),
|
|
1573
|
+
0px 2px 8px rgba(0, 0, 0, 0.04), 0px 0px 1px rgba(0, 0, 0, 0.04);
|
|
1574
|
+
color: white;
|
|
1575
|
+
}
|
|
1576
|
+
|
|
1577
|
+
&:not(.active) {
|
|
1578
|
+
box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.04),
|
|
1579
|
+
0px 0px 2px rgba(0, 0, 0, 0.06), 0px 0px 1px rgba(0, 0, 0, 0.04);
|
|
1580
|
+
}
|
|
1590
1581
|
}
|
|
1591
|
-
|
|
1592
|
-
|
|
1593
|
-
|
|
1594
|
-
|
|
1595
|
-
|
|
1596
|
-
|
|
1597
|
-
|
|
1598
|
-
|
|
1599
|
-
|
|
1600
|
-
|
|
1601
|
-
|
|
1602
|
-
|
|
1603
|
-
|
|
1604
|
-
|
|
1605
|
-
|
|
1606
|
-
|
|
1607
|
-
-webkit-line-clamp: 3;
|
|
1608
|
-
-webkit-box-orient: vertical;
|
|
1609
|
-
margin-bottom: auto;
|
|
1610
|
-
${e.tdDown} {
|
|
1611
|
-
display: none;
|
|
1582
|
+
|
|
1583
|
+
.amp__menu-header {
|
|
1584
|
+
display: grid;
|
|
1585
|
+
grid-template-columns: 1fr 1fr 1fr;
|
|
1586
|
+
|
|
1587
|
+
svg {
|
|
1588
|
+
margin-left: 16px;
|
|
1589
|
+
}
|
|
1590
|
+
|
|
1591
|
+
> div {
|
|
1592
|
+
align-self: center;
|
|
1593
|
+
|
|
1594
|
+
&:nth-child(2) {
|
|
1595
|
+
justify-self: center;
|
|
1596
|
+
}
|
|
1597
|
+
}
|
|
1612
1598
|
}
|
|
1613
|
-
|
|
1614
|
-
|
|
1615
|
-
|
|
1616
|
-
z-index: 1;
|
|
1617
|
-
align-items: flex-end;
|
|
1618
|
-
justify-content: flex-end;
|
|
1619
|
-
${e.tdUp} {
|
|
1620
|
-
gap: 8px;
|
|
1621
|
-
flex-direction: row;
|
|
1599
|
+
|
|
1600
|
+
.logo {
|
|
1601
|
+
margin: 22px 0;
|
|
1622
1602
|
}
|
|
1623
1603
|
|
|
1624
|
-
|
|
1625
|
-
|
|
1626
|
-
|
|
1627
|
-
|
|
1604
|
+
.categories {
|
|
1605
|
+
margin: 0 16px;
|
|
1606
|
+
|
|
1607
|
+
li {
|
|
1608
|
+
display: block;
|
|
1609
|
+
width: 100%;
|
|
1610
|
+
|
|
1611
|
+
+ li {
|
|
1612
|
+
border-top: 1px solid
|
|
1613
|
+
${e=>e.theme.colors.neutral100};
|
|
1614
|
+
}
|
|
1615
|
+
|
|
1616
|
+
a {
|
|
1617
|
+
display: block;
|
|
1618
|
+
margin: 12px 0;
|
|
1619
|
+
color: ${e=>e.theme.colors.gray800};
|
|
1620
|
+
text-decoration: none;
|
|
1621
|
+
}
|
|
1622
|
+
}
|
|
1628
1623
|
}
|
|
1629
|
-
`,
|
|
1630
|
-
|
|
1631
|
-
|
|
1632
|
-
|
|
1633
|
-
|
|
1634
|
-
|
|
1635
|
-
|
|
1624
|
+
`,t.div`
|
|
1625
|
+
width: 20%;
|
|
1626
|
+
height: 2px;
|
|
1627
|
+
|
|
1628
|
+
background-color: ${e=>e.theme.mbColors.pink};
|
|
1629
|
+
border-radius: 2px;
|
|
1630
|
+
`;const ni=t.div`
|
|
1631
|
+
padding: 16px;
|
|
1632
|
+
padding-bottom: 12px;
|
|
1633
|
+
.fake-search-input {
|
|
1634
|
+
pointer-events: none;
|
|
1635
|
+
input {
|
|
1636
|
+
line-height: 20px;
|
|
1637
|
+
padding-top: 10px;
|
|
1638
|
+
padding-bottom: 10px;
|
|
1639
|
+
}
|
|
1636
1640
|
}
|
|
1637
|
-
|
|
1638
|
-
|
|
1639
|
-
|
|
1640
|
-
|
|
1641
|
+
&[data-theme='marryBaby'] {
|
|
1642
|
+
input {
|
|
1643
|
+
background: ${e=>e.theme.mbColors.lightGray};
|
|
1644
|
+
border-radius: 16px;
|
|
1645
|
+
border: none;
|
|
1646
|
+
}
|
|
1641
1647
|
}
|
|
1642
1648
|
`,li=t.div`
|
|
1643
|
-
display:
|
|
1644
|
-
|
|
1649
|
+
display: block;
|
|
1650
|
+
overflow-y: auto;
|
|
1645
1651
|
flex: 1;
|
|
1646
|
-
|
|
1647
|
-
|
|
1648
|
-
|
|
1649
|
-
|
|
1650
|
-
align-items: flex-end;
|
|
1651
|
-
}
|
|
1652
|
-
${e.tdDown} {
|
|
1653
|
-
flex-direction: column;
|
|
1654
|
-
justify-content: flex-start;
|
|
1655
|
-
align-items: flex-start;
|
|
1652
|
+
padding-bottom: 16px;
|
|
1653
|
+
&::-webkit-scrollbar {
|
|
1654
|
+
width: 0;
|
|
1655
|
+
display: none;
|
|
1656
1656
|
}
|
|
1657
1657
|
`,si=t.div`
|
|
1658
1658
|
z-index: 201;
|
|
@@ -1782,11 +1782,14 @@ import{M as e}from"./utils-ba33cc9e.js";import t from"styled-components";import{
|
|
|
1782
1782
|
display: flex;
|
|
1783
1783
|
align-items: center;
|
|
1784
1784
|
height: 100%;
|
|
1785
|
-
flex-shrink: 0
|
|
1785
|
+
flex-shrink: 0;
|
|
1786
|
+
${e.tdDown} {
|
|
1787
|
+
flex-shrink: 0.6;
|
|
1788
|
+
}
|
|
1786
1789
|
.hhgcomp-navigation-itemnav-headeritem {
|
|
1787
1790
|
gap: 2px;
|
|
1788
1791
|
${e.pcUp} {
|
|
1789
|
-
padding: 0
|
|
1792
|
+
padding: 0 10px;
|
|
1790
1793
|
}
|
|
1791
1794
|
${e.pcDown} {
|
|
1792
1795
|
padding: 0 6px;
|
|
@@ -1868,4 +1871,4 @@ import{M as e}from"./utils-ba33cc9e.js";import t from"styled-components";import{
|
|
|
1868
1871
|
font-weight: 700;
|
|
1869
1872
|
line-height: 22px;
|
|
1870
1873
|
text-decoration: none;
|
|
1871
|
-
`;export{
|
|
1874
|
+
`;export{jt as $,ht as A,gt as B,mt as C,Le as D,ct as E,ut as F,Se as G,C as H,bt as I,xt as J,tt as K,ft as L,vt as M,se as N,yt as O,_t as P,Tt as Q,wt as R,V as S,$e as T,kt as U,Et as V,At as W,It as X,Lt as Y,Ot as Z,$t as _,ke as a,Vt as a0,qt as a1,Wt as a2,Xt as a3,Kt as a4,Yt as a5,Zt as a6,ii as a7,Jt as a8,ai as a9,Be as aA,He as aB,Oe as aC,Re as aD,Ze as aE,qe as aF,Ge as aG,Ae as aH,Ie as aI,Ye as aJ,Ve as aK,H as aL,D as aM,M as aN,Me as aO,Fe as aP,oi as aa,ei as ab,ti as ac,Qt as ad,Ft as ae,ri as af,ni as ag,li as ah,si as ai,pi as aj,di as ak,ci as al,mi as am,gi as an,hi as ao,Qe as ap,ui as aq,G as ar,S as as,k as at,B as au,We as av,je as aw,Ue as ax,Te as ay,P as az,R as b,j as c,Y as d,K as e,W as f,X as g,F as h,q as i,J as j,pe as k,he as l,ue as m,te as n,ie as o,ee as p,Je as q,et as r,pt as s,it as t,ot as u,st as v,rt as w,nt as x,at as y,dt as z};
|