@hhgtech/hhg-components 1.23.87 → 1.23.88-beta-2
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/{Vietnam-2a406da5.js → Vietnam-3966b583.js} +1 -1
- package/build/{Visible-33ecfd21.js → Visible-15165ee2.js} +1 -1
- package/build/{animation-049cb56e.js → animation-541292d3.js} +1 -1
- package/build/babyGrowth.js +1 -1
- package/build/cache.js +1 -1
- package/build/care.js +1 -1
- package/build/components/mantine/aspectRatio/index.d.ts +5 -0
- package/build/components/mantine/aspectRatio/index.styled.d.ts +1 -0
- package/build/components/mantine/index.d.ts +2 -0
- package/build/components/mantine/theme/checkbox.d.ts +11 -0
- package/build/components/mantine/theme/input.d.ts +65 -0
- package/build/components/mantine/theme/radio.d.ts +15 -0
- package/build/components/mantine/theme/shared.d.ts +6 -0
- package/build/components.js +1 -1
- package/build/componentsAtoms.js +1 -1
- package/build/componentsMolecules.js +1 -1
- package/build/componentsOrganisms.js +1 -1
- package/build/componentsSlider.js +1 -1
- package/build/componentsUi.js +1 -1
- package/build/constants.js +1 -1
- package/build/core-953f48d7.js +1 -0
- package/build/{dataTransform-d08c294b.js → dataTransform-05837170.js} +1 -1
- package/build/{dataTransform-b161ee63.js → dataTransform-e677df88.js} +1 -1
- package/build/{defaultClassWrapper-2ca98655.js → defaultClassWrapper-27713cbf.js} +1 -1
- package/build/ecom.js +1 -1
- package/build/esm/{Vietnam-50ea3603.js → Vietnam-764f514e.js} +1 -1
- package/build/esm/{Visible-870c1168.js → Visible-b98fa6cb.js} +1 -1
- package/build/esm/{animation-cf92c0c1.js → animation-70b1a99d.js} +1 -1
- package/build/esm/babyGrowth.js +1 -1
- package/build/esm/cache.js +1 -1
- package/build/esm/care.js +1 -1
- package/build/esm/components.js +1 -1
- package/build/esm/componentsAtoms.js +1 -1
- package/build/esm/componentsMolecules.js +1 -1
- package/build/esm/componentsOrganisms.js +1 -1
- package/build/esm/componentsSlider.js +1 -1
- package/build/esm/componentsUi.js +1 -1
- package/build/esm/constants.js +1 -1
- package/build/esm/{core-33719909.js → core-26229434.js} +1 -1
- package/build/esm/dataTransform-9a681e9f.js +1 -0
- package/build/esm/{dataTransform-eef8b25b.js → dataTransform-fd773ead.js} +1 -1
- package/build/esm/{defaultClassWrapper-ac0cfe19.js → defaultClassWrapper-91419e7c.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-bd030074.js → getDynamicHealthTool-e84e4aaf.js} +1 -1
- package/build/esm/{getSocialList-d8e1e15c.js → getSocialList-81e8a7e7.js} +1 -1
- package/build/esm/hooks.js +1 -1
- package/build/esm/i18n.js +1 -1
- package/build/esm/{index-f17bf0f6.js → index-013a92c0.js} +1 -1
- package/build/esm/{index-6dca5da6.js → index-09386d94.js} +1 -1
- package/build/esm/{index-c780a03a.js → index-0ac44ec0.js} +1 -1
- package/build/esm/{index-fd4639dd.js → index-0db2ed40.js} +1 -1
- package/build/esm/{index-767d92d1.js → index-1c71a879.js} +1 -1
- package/build/esm/{index-6a047e4f.js → index-2214433a.js} +1 -1
- package/build/esm/{index-48727878.js → index-234da828.js} +1 -1
- package/build/esm/{index-ed4a28d4.js → index-2a59135f.js} +1 -1
- package/build/esm/{index-ba90d976.js → index-2c815012.js} +1 -1
- package/build/esm/{index-d3eb3f00.js → index-403f4462.js} +1 -1
- package/build/esm/index-41d7c7d3.js +1 -0
- package/build/esm/{index-673844f1.js → index-48198c2e.js} +1 -1
- package/build/esm/{index-7f3ca6b6.js → index-4e2cc7a6.js} +1 -1
- package/build/esm/{index-b097af3f.js → index-56c33c15.js} +1 -1
- package/build/esm/{index-2c35c29f.js → index-625427c8.js} +1 -1
- package/build/esm/{index-3fbce6ed.js → index-65da6fbb.js} +1 -1
- package/build/esm/{index-983881c1.js → index-6de5813c.js} +1 -1
- package/build/esm/{index-d84dc3dd.js → index-8213f6e6.js} +1 -1
- package/build/esm/{index-2dbc1afc.js → index-933da36a.js} +1 -1
- package/build/esm/{index-fcd5ec3c.js → index-98575685.js} +1 -1
- package/build/esm/{index-be64a3dd.js → index-9f0636c6.js} +1 -1
- package/build/esm/{index-05d15024.js → index-a99d3593.js} +1 -1
- package/build/esm/{index-83c711f0.js → index-bf1a041b.js} +1 -1
- package/build/esm/{index-336af84a.js → index-c6742a41.js} +1 -1
- package/build/esm/{index-221ea478.js → index-c9270726.js} +1 -1
- package/build/esm/index-d05b1c8c.js +1 -0
- package/build/esm/{index-21df55e5.js → index-e2e9e415.js} +1 -1
- package/build/esm/{index-9ab1ac36.js → index-e56af69f.js} +1 -1
- package/build/esm/{index-2d53432e.js → index-f2b934b9.js} +1 -1
- package/build/esm/{index-9a3656b5.js → index-f63107bd.js} +1 -1
- package/build/esm/{index-aa8597ed.js → index-f74101a0.js} +1 -1
- package/build/esm/{index-4505f43c.js → index-ffb0d6ff.js} +1 -1
- package/build/esm/index.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 +1 -1
- package/build/esm/{routing-7fd011ce.js → routing-83ea2463.js} +1 -1
- package/build/esm/together.js +1 -1
- package/build/esm/{translationsProvider-c56e39c2.js → translationsProvider-6c0e191d.js} +1 -1
- package/build/esm/{types-39404c04.js → types-956aa052.js} +1 -1
- package/build/esm/{types-fb11067e.js → types-d1b05322.js} +1 -1
- package/build/esm/types.js +1 -1
- package/build/esm/{useFbDataLayer-f5c974a0.js → useFbDataLayer-ab307c1b.js} +1 -1
- package/build/esm/useHealthToolCache-dda7cf05.js +1 -0
- package/build/esm/{useTranslations-a927a379.js → useTranslations-4b9465a3.js} +1 -1
- package/build/footer.js +1 -1
- package/build/gAssets.js +1 -1
- package/build/{getDynamicHealthTool-1e31b333.js → getDynamicHealthTool-461c9ce1.js} +1 -1
- package/build/{getSocialList-da05262a.js → getSocialList-d1d3bef3.js} +1 -1
- package/build/hooks.js +1 -1
- package/build/i18n.js +1 -1
- package/build/{index-61ecad96.js → index-04157b04.js} +1 -1
- package/build/{index-01ebfb47.js → index-06e26abd.js} +1 -1
- package/build/index-070d0c3c.js +1 -0
- package/build/{index-098908e9.js → index-0ad02f79.js} +1 -1
- package/build/{index-274bc25b.js → index-19cf7ab7.js} +1 -1
- package/build/{index-cbd87024.js → index-1c8abe00.js} +1 -1
- package/build/index-22f85e6b.js +1 -0
- package/build/{index-f7102e40.js → index-248b0906.js} +1 -1
- package/build/{index-de4d4eb3.js → index-34ce7760.js} +1 -1
- package/build/{index-bbfb976d.js → index-35e61707.js} +1 -1
- package/build/{index-a50cdb60.js → index-487644f3.js} +1 -1
- package/build/{index-46ca8366.js → index-49a8988d.js} +1 -1
- package/build/index-5adfd033.js +1 -0
- package/build/{index-55166c89.js → index-703c91ae.js} +1 -1
- package/build/{index-e34a018a.js → index-7b2ca3b6.js} +1 -1
- package/build/{index-2c89d05b.js → index-83345ca5.js} +1 -1
- package/build/{index-661a9c14.js → index-8435f537.js} +1 -1
- package/build/{index-41403ca0.js → index-85c8464f.js} +1 -1
- package/build/{index-d39d52ff.js → index-8bb2d5e9.js} +1 -1
- package/build/{index-0966c21d.js → index-944de99d.js} +1 -1
- package/build/{index-95160b22.js → index-98e3a181.js} +1 -1
- package/build/{index-d328ce81.js → index-9cbd932d.js} +1 -1
- package/build/{index-f99c7219.js → index-a30f5696.js} +1 -1
- package/build/{index-7ab672c3.js → index-a8290473.js} +1 -1
- package/build/{index-f07bc0f5.js → index-aeb9c81a.js} +1 -1
- package/build/{index-20eaced0.js → index-b32bccc2.js} +1 -1
- package/build/{index-7d86ea92.js → index-bc2c8507.js} +1 -1
- package/build/{index-83cec513.js → index-d0c71b4a.js} +1 -1
- package/build/{index-83adab6c.js → index-e1cdfb7d.js} +1 -1
- package/build/{index-cd46e84c.js → index-e6ff8187.js} +1 -1
- package/build/{index-df9e9f59.js → index-e75c7ef4.js} +1 -1
- package/build/{index-0d5437e9.js → index-fe95aecd.js} +1 -1
- package/build/index.js +1 -1
- package/build/lead.js +1 -1
- package/build/mantine.js +1 -1
- package/build/misc/normalizeLink.d.ts +3 -0
- 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-8c09e877.js +1 -0
- package/build/together.js +1 -1
- package/build/{translationsProvider-e3af2e64.js → translationsProvider-5013afaa.js} +1 -1
- package/build/{types-0dd54186.js → types-0f691a58.js} +1 -1
- package/build/{types-0340f120.js → types-a42de506.js} +1 -1
- package/build/types.js +1 -1
- package/build/{useFbDataLayer-86a7c053.js → useFbDataLayer-d466f5ad.js} +1 -1
- package/build/useHealthToolCache-ba110f82.js +1 -0
- package/build/{useTranslations-a4a79beb.js → useTranslations-dc5a775a.js} +1 -1
- package/package.json +1 -1
- package/build/core-ac733db4.js +0 -1
- package/build/esm/dataTransform-a91fc32b.js +0 -1
- package/build/esm/index-00d7087f.js +0 -1
- package/build/esm/index-559b491e.js +0 -1
- package/build/esm/useHealthToolCache-8d17b63f.js +0 -1
- package/build/index-0bfec7e5.js +0 -1
- package/build/index-2c698b9b.js +0 -1
- package/build/index-3c5f03d6.js +0 -1
- package/build/routing-56a67a1d.js +0 -1
- package/build/useHealthToolCache-c936eb98.js +0 -1
- /package/build/{BMI_BOYS.percentile.monthly-274f36d8.js → BMI_BOYS.percentile.monthly-86b7361d.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-8ed52e92.js → BMI_BOYS.percentile.weekly-9f4645af.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-5d6b8c7c.js → BMI_BOYS.percentile.yearly-5b1f8897.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-85efd5b5.js → BMI_BOYS.zscore.monthly-6b04f270.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-1c6fcf8c.js → BMI_BOYS.zscore.weekly-d79b9cc6.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-7f6e8298.js → BMI_BOYS.zscore.yearly-f7d97cf8.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-785ed4b8.js → BMI_GIRLS.percentile.monthly-1005c259.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-23217a25.js → BMI_GIRLS.percentile.weekly-c2a8ac0a.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-f0d1401a.js → BMI_GIRLS.percentile.yearly-e782e36d.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-bc334793.js → BMI_GIRLS.zscore.monthly-ad593549.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-46d01960.js → BMI_GIRLS.zscore.weekly-c7b0e1a7.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-811cd53a.js → BMI_GIRLS.zscore.yearly-8776ec93.js} +0 -0
- /package/build/{BabyGrowth-922556dd.js → BabyGrowth-d748e1fd.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-682445c3.js → HEAD CIRCUM_BOYS.percentile.monthly-c26c6be3.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-e4cb7cc8.js → HEAD CIRCUM_BOYS.percentile.weekly-c8d9d6ae.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-1c0c1890.js → HEAD CIRCUM_BOYS.percentile.yearly-7ef2b52b.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-a019d657.js → HEAD CIRCUM_BOYS.zscore.monthly-f8e5a721.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-301e045f.js → HEAD CIRCUM_BOYS.zscore.weekly-fe18d594.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-995f3b04.js → HEAD CIRCUM_BOYS.zscore.yearly-51ca6568.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-61fa4bb7.js → HEAD CIRCUM_GIRLS.percentile.monthly-e2ace4dc.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-0232e793.js → HEAD CIRCUM_GIRLS.percentile.weekly-83e5f2e9.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-48fa9493.js → HEAD CIRCUM_GIRLS.percentile.yearly-8c1770f6.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-3ffb8297.js → HEAD CIRCUM_GIRLS.zscore.monthly-24bcceda.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-1aa3ecf7.js → HEAD CIRCUM_GIRLS.zscore.weekly-e3ded3d2.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-87fe2057.js → HEAD CIRCUM_GIRLS.zscore.yearly-d03c7573.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-d5479365.js → HEIGHT_BOYS.percentile.monthly-3a4d3fdb.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-c7df4fc7.js → HEIGHT_BOYS.percentile.weekly-94a52e1e.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-e197b396.js → HEIGHT_BOYS.percentile.yearly-ef6b716d.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-a79302e5.js → HEIGHT_BOYS.zscore.monthly-54ea78d2.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-d7b3b2b0.js → HEIGHT_BOYS.zscore.weekly-287ec658.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-4116009b.js → HEIGHT_BOYS.zscore.yearly-1e5384e5.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-51f64b18.js → HEIGHT_GIRLS.percentile.monthly-3c146c8f.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-0438e44e.js → HEIGHT_GIRLS.percentile.weekly-59560ef8.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-fc80f292.js → HEIGHT_GIRLS.percentile.yearly-1e49f28f.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-6766c65f.js → HEIGHT_GIRLS.zscore.monthly-a6ad4926.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-ab02a15e.js → HEIGHT_GIRLS.zscore.weekly-59d6cd63.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-351a4ee1.js → HEIGHT_GIRLS.zscore.yearly-d8743b54.js} +0 -0
- /package/build/{Locale-fa2dbec1.js → Locale-4ddda4bb.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-caabfd20.js → WEIGHT_BOYS.percentile.monthly-d06d48a0.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-5cbd3ca6.js → WEIGHT_BOYS.percentile.weekly-227e7905.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-c930fb50.js → WEIGHT_BOYS.percentile.yearly-7723e5e5.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-52d0aeaa.js → WEIGHT_BOYS.zscore.monthly-9d1be81e.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-e4a1a6e4.js → WEIGHT_BOYS.zscore.weekly-3cbe8df2.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-275fa95d.js → WEIGHT_BOYS.zscore.yearly-a123285f.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-18211ff3.js → WEIGHT_GIRLS.percentile.monthly-1428378f.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-eab05ff6.js → WEIGHT_GIRLS.percentile.weekly-130cc1a5.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-9c605f9c.js → WEIGHT_GIRLS.percentile.yearly-c2c14fc2.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-5809a0b3.js → WEIGHT_GIRLS.zscore.monthly-e71fdf0b.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-0d2fd8b0.js → WEIGHT_GIRLS.zscore.weekly-97b64c1b.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-1ee9d305.js → WEIGHT_GIRLS.zscore.yearly-76bc8334.js} +0 -0
- /package/build/components/mantine/{theme.d.ts → theme/index.d.ts} +0 -0
- /package/build/{constants-534a0900.js → constants-7338fb08.js} +0 -0
- /package/build/{constants-5e71c2e6.js → constants-d7879031.js} +0 -0
- /package/build/{cookieHelper-f58d9f30.js → cookieHelper-81331e27.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-635deeb5.js → BMI_BOYS.percentile.monthly-98cf4818.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-f697f2d7.js → BMI_BOYS.percentile.weekly-65b07d97.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-41cb867d.js → BMI_BOYS.percentile.yearly-e749df72.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-def6f500.js → BMI_BOYS.zscore.monthly-d0aa10fd.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-5c046e33.js → BMI_BOYS.zscore.weekly-f088d8db.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-ea5704ce.js → BMI_BOYS.zscore.yearly-354ee8eb.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-f7d92526.js → BMI_GIRLS.percentile.monthly-1834595f.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-3b0848ee.js → BMI_GIRLS.percentile.weekly-104e3feb.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-296abffa.js → BMI_GIRLS.percentile.yearly-092075de.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-76523c70.js → BMI_GIRLS.zscore.monthly-5cc91c84.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-4d03ced0.js → BMI_GIRLS.zscore.weekly-516ce08d.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-fb0f994a.js → BMI_GIRLS.zscore.yearly-b2ea824f.js} +0 -0
- /package/build/esm/{BabyGrowth-cc375283.js → BabyGrowth-f95abe02.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-697e212e.js → HEAD CIRCUM_BOYS.percentile.monthly-cbdc1cd3.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-2a05c234.js → HEAD CIRCUM_BOYS.percentile.weekly-d783eacd.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-74e65fca.js → HEAD CIRCUM_BOYS.percentile.yearly-e346cc6b.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-b64626e7.js → HEAD CIRCUM_BOYS.zscore.monthly-65d89b58.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-9f80277b.js → HEAD CIRCUM_BOYS.zscore.weekly-8fd4bcf0.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-40607cec.js → HEAD CIRCUM_BOYS.zscore.yearly-0dd2af95.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-80834605.js → HEAD CIRCUM_GIRLS.percentile.monthly-f72b19cc.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-51638089.js → HEAD CIRCUM_GIRLS.percentile.weekly-9519d0fb.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-631c62bb.js → HEAD CIRCUM_GIRLS.percentile.yearly-c4932baf.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-ff051b30.js → HEAD CIRCUM_GIRLS.zscore.monthly-c6847c00.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-b29dbb55.js → HEAD CIRCUM_GIRLS.zscore.weekly-61aa3a02.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-32ae3374.js → HEAD CIRCUM_GIRLS.zscore.yearly-8476277d.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-db226408.js → HEIGHT_BOYS.percentile.monthly-197a1779.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-f638d39e.js → HEIGHT_BOYS.percentile.weekly-6b7f4752.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-c6d10156.js → HEIGHT_BOYS.percentile.yearly-19174104.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-3a6ce7ec.js → HEIGHT_BOYS.zscore.monthly-967cfb74.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-289c267c.js → HEIGHT_BOYS.zscore.weekly-8c3ca6c5.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-72faed80.js → HEIGHT_BOYS.zscore.yearly-32bb6baa.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-a2f12d2c.js → HEIGHT_GIRLS.percentile.monthly-a1927ba3.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-e0394550.js → HEIGHT_GIRLS.percentile.weekly-740409f3.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-3c6231c1.js → HEIGHT_GIRLS.percentile.yearly-ff8ba37e.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-88bc5521.js → HEIGHT_GIRLS.zscore.monthly-08c79b42.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-372b67cb.js → HEIGHT_GIRLS.zscore.weekly-eb3f02cf.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-8813168e.js → HEIGHT_GIRLS.zscore.yearly-224d0275.js} +0 -0
- /package/build/esm/{Locale-4247ffa0.js → Locale-5b2e2812.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-2e9855c7.js → WEIGHT_BOYS.percentile.monthly-4a39b5b2.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-00c35c7d.js → WEIGHT_BOYS.percentile.weekly-21421f5b.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-31844dbe.js → WEIGHT_BOYS.percentile.yearly-69eb62f9.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-48ddea35.js → WEIGHT_BOYS.zscore.monthly-500e2580.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-783857a4.js → WEIGHT_BOYS.zscore.weekly-5c737cb6.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-76cd3d93.js → WEIGHT_BOYS.zscore.yearly-fb5901c4.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-bff0faa5.js → WEIGHT_GIRLS.percentile.monthly-9fb4fd61.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-88ebf364.js → WEIGHT_GIRLS.percentile.weekly-6896abe5.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-71e4286d.js → WEIGHT_GIRLS.percentile.yearly-24a92cff.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-0ec15fb2.js → WEIGHT_GIRLS.zscore.monthly-6639cd1b.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-dbe0529f.js → WEIGHT_GIRLS.zscore.weekly-676a7623.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-79767f29.js → WEIGHT_GIRLS.zscore.yearly-c553471c.js} +0 -0
- /package/build/esm/{constants-fcd971bd.js → constants-15976e5c.js} +0 -0
- /package/build/esm/{constants-9aa00ab6.js → constants-626b4841.js} +0 -0
- /package/build/esm/{cookieHelper-60faa11b.js → cookieHelper-fdb513d9.js} +0 -0
- /package/build/esm/{index-d4a5cb41.js → index-05696d9b.js} +0 -0
- /package/build/esm/{isProduction-1521e74e.js → isProduction-1fc239e0.js} +0 -0
- /package/build/esm/{localizeNumberFormat-c3bba20c.js → localizeNumberFormat-77e1ec9f.js} +0 -0
- /package/build/esm/{logoIcon-f5d56e3a.js → logoIcon-3f6ccb13.js} +0 -0
- /package/build/esm/{theme-d34fcb72.js → theme-29327177.js} +0 -0
- /package/build/esm/{translationsContext-f594de35.js → translationsContext-efc368b2.js} +0 -0
- /package/build/esm/{tslib.es6-60545877.js → tslib.es6-33285504.js} +0 -0
- /package/build/esm/{types-856c5e3e.js → types-a607ab55.js} +0 -0
- /package/build/esm/{useOutsideClick-cbafa17c.js → useOutsideClick-8516881b.js} +0 -0
- /package/build/esm/{useScrollbarSize-553193f9.js → useScrollbarSize-888088a7.js} +0 -0
- /package/build/esm/{utils-848ab47e.js → utils-bf11a3c9.js} +0 -0
- /package/build/{index-580fe683.js → index-6b8c2388.js} +0 -0
- /package/build/{isProduction-ce149335.js → isProduction-5391d27d.js} +0 -0
- /package/build/{localizeNumberFormat-ac1b6934.js → localizeNumberFormat-5a9bcd2f.js} +0 -0
- /package/build/{logoIcon-7c780818.js → logoIcon-e3c9d230.js} +0 -0
- /package/build/{theme-5bf80bf7.js → theme-929496b2.js} +0 -0
- /package/build/{translationsContext-9a8382af.js → translationsContext-be63ee2a.js} +0 -0
- /package/build/{tslib.es6-31fb94f1.js → tslib.es6-9ca973bc.js} +0 -0
- /package/build/{types-97d79c73.js → types-01874848.js} +0 -0
- /package/build/{useOutsideClick-d250c5d7.js → useOutsideClick-4e1dd169.js} +0 -0
- /package/build/{useScrollbarSize-8703d0b4.js → useScrollbarSize-d9fdc260.js} +0 -0
- /package/build/{utils-be155072.js → utils-ef99dc6d.js} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as n,_ as e,b as t,c as i,d as o}from"./tslib.es6-33285504.js";import a,{useMemo as r,useRef as l,useEffect as s,useState as d,memo as p,useContext as c,useCallback as m}from"react";import{L as u}from"./index-48198c2e.js";import{d as g,C as h,a as f,T as x,L as v,S as y,U as b}from"./index-09386d94.js";import{g as w,a as E,b as k,c as C,d as P}from"./routing-83ea2463.js";import{P as B,c as N,a as _}from"./dataTransform-fd773ead.js";import{C as z,L as A}from"./index-98575685.js";import{u as T}from"./useTranslations-4b9465a3.js";import M from"lodash/throttle";import{g as H,M as L}from"./utils-bf11a3c9.js";import S from"styled-components";import{A as U}from"./index-8213f6e6.js";import{B as D}from"./index-234da828.js";import{T as j}from"./index-933da36a.js";import{CommonGAssets as R}from"./gAssets.js";import{t as I}from"./theme-29327177.js";import{Portal as O}from"@mantine/core";import{g as F}from"./defaultClassWrapper-91419e7c.js";import{g as G}from"./cookieHelper-fdb513d9.js";import{L as V}from"./constants-626b4841.js";import W from"string-format";import{o as Y,U as Z}from"./index-56c33c15.js";import{P as Q}from"./index-f74101a0.js";import{H as K}from"./index-6de5813c.js";import q from"dayjs";import J from"dayjs/plugin/relativeTime";import X from"lodash/debounce";import{g as $}from"./core-26229434.js";var nn,en,tn,on=S.div(nn||(nn=n(["\n ","\n"],["\n ","\n"])),(function(n){return"\n ".concat(0!==n.lowerBound?"@media (max-width: ".concat(n.lowerBound-1,"px) { display: none; }"):"","\n ").concat(0!==n.upperBound?"@media (min-width: ".concat(n.upperBound,"px) { display: none; }"):"","\n ")})),an=function(n){var e=n.forceDisplay,t=n.mediaQueryKey,i=n.children,o=n.className,l=n.style,s=r((function(){return H(t)}),[t]),d=s[0],p=s[1];return a.createElement(on,{lowerBound:e?0:d,upperBound:e?0:p,className:o,style:l},i)},rn=function(n){var e=(n||{}).allowBgScroll,t=l();return{containerRef:t,onContainerFocus:function(){e||(document.documentElement.style.overflow="hidden")},onContainerBlur:function(){e||(document.documentElement.style.overflow="")},onButtonMouseDown:function(n){t.current&&(document.activeElement===t.current||t.current.contains(document.activeElement))&&(t.current.blur(),document.activeElement.blur(),n.preventDefault())},onClose:function(){t.current&&(document.activeElement===t.current||t.current.contains(document.activeElement))&&(t.current.blur(),document.activeElement.blur())}}},ln=S.div(en||(en=n(["\n background-color: white;\n text-align: center;\n .cancle-img {\n margin-top: 24px;\n "," {\n width: 80px;\n height: 80px;\n }\n\n "," {\n width: 100px;\n height: 100px;\n }\n }\n\n h2 {\n margin-top: 32px;\n color: ",";\n font-style: normal;\n font-weight: bold;\n "," {\n font-size: 24px;\n line-height: 32px;\n }\n\n "," {\n font-size: 32px;\n line-height: 42px;\n }\n }\n\n p {\n margin-top: 8px;\n color: ",";\n font-style: normal;\n font-weight: normal;\n "," {\n font-size: 16px;\n line-height: 24px;\n }\n\n "," {\n font-size: 16px;\n line-height: 24px;\n }\n }\n"],["\n background-color: white;\n text-align: center;\n .cancle-img {\n margin-top: 24px;\n "," {\n width: 80px;\n height: 80px;\n }\n\n "," {\n width: 100px;\n height: 100px;\n }\n }\n\n h2 {\n margin-top: 32px;\n color: ",";\n font-style: normal;\n font-weight: bold;\n "," {\n font-size: 24px;\n line-height: 32px;\n }\n\n "," {\n font-size: 32px;\n line-height: 42px;\n }\n }\n\n p {\n margin-top: 8px;\n color: ",";\n font-style: normal;\n font-weight: normal;\n "," {\n font-size: 16px;\n line-height: 24px;\n }\n\n "," {\n font-size: 16px;\n line-height: 24px;\n }\n }\n"])),L.mbDown,L.mbUp,(function(n){return n.theme.colors.gray800}),L.mbDown,L.mbUp,(function(n){return n.theme.colors.gray600}),L.mbDown,L.mbUp),sn=S.div(tn||(tn=n(["\n display: flex;\n\n "," {\n margin-top: 24px;\n }\n\n "," {\n margin-top: 32px;\n }\n justify-content: space-around;\n button {\n flex: 1;\n margin: 4px;\n }\n\n ","\n"],["\n display: flex;\n\n "," {\n margin-top: 24px;\n }\n\n "," {\n margin-top: 32px;\n }\n justify-content: space-around;\n button {\n flex: 1;\n margin: 4px;\n }\n\n ","\n"])),L.mbDown,L.mbUp,(function(n){return"marryBaby"===n.siteType?"\n .cancel-button {\n background-color: #E55C8A;\n }\n .cancel-button:hover {\n background-color: #E55C8A !important;\n }\n .logout-button {\n border-color: #E55C8A;\n color: #E55C8A;\n }\n ":""})),dn=function(n){var e=n.openLogoutPopup,t=n.onCloseHandler,i=n.onLogoutHandler,o=n.siteType,r=void 0===o?"helloSites":o,l=T().t;return s((function(){document.body.classList.toggle("noscroll",e)}),[e]),a.createElement(O,null,a.createElement(B,{type:"confirm",isOpen:e,closeIcon:a.createElement("img",{src:R.getAssetPath("closeLight.svg"),style:{width:24,height:24},alt:"close-icon"}),onClose:t},a.createElement(ln,null,"helloSites"===r&&a.createElement("img",{src:R.getAssetPath("arrowDoor.svg"),className:"cancle-img",alt:"close-account"}),a.createElement("h2",null,l("helloSites"===r?"logout.popup.ask1":"logout.popup.ask.mb")),a.createElement("p",null,l("logout.popup.ask2")),a.createElement(sn,{siteType:r},a.createElement(D,{className:"logout-button",color:"tertiary",size:"lg",onClick:i},l("logout.popup.button.logout")),a.createElement(D,{className:"cancel-button",color:"primary",size:"lg",onClick:t},l("logout.popup.button.cancel"))))))},pn="hhgcomp-navprofilebutton-popup",cn=F(S.div(un||(un=n(["\n position: absolute;\n right: 0;\n background-color: ",";\n\n &[data-animation='true'] {\n transition: all 0.5s ease-in-out;\n }\n\n &[data-open='true'] {\n z-index: 200;\n top: 120%;\n opacity: 1;\n visibility: visible;\n }\n\n &[data-open='false'] {\n display: none;\n }\n\n &[data-type='lead'] {\n width: 332px;\n height: 460px;\n\n div {\n top: -15px;\n right: -15px;\n }\n }\n\n &[data-type='welcome'] {\n position: fixed;\n "," {\n width: 100%;\n height: 424px;\n bottom: 0;\n top: unset;\n }\n "," {\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n width: 100%;\n min-height: 445px;\n max-width: 407px;\n }\n }\n\n &[data-type='due-date'] {\n position: fixed;\n "," {\n width: 100%;\n height: 100%;\n overflow-y: scroll;\n bottom: 0;\n top: unset;\n }\n "," {\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n width: 100vw;\n height: 55vw;\n max-height: 598px;\n max-width: 1080px;\n }\n }\n\n .popup-content {\n z-index: 111;\n height: 100%;\n "," {\n max-height: calc(100vh - var(--header-bottom, 64px));\n }\n overflow: auto;\n }\n\n &[data-type='form'] {\n width: 496px;\n height: 548px;\n }\n\n &[data-type='confirm'] {\n width: 380px;\n height: 252px;\n }\n\n &[data-type='profile'] {\n /* min-height: 415px; */\n "," {\n border-radius: 6px;\n box-shadow: 0px 4px 8px ",";\n &:before {\n position: absolute;\n right: 11px;\n bottom: 100%;\n width: 0;\n height: 0;\n border: 0.5rem solid transparent;\n border-top: none;\n border-bottom-color: #fff;\n content: '';\n filter: drop-shadow(0 -0.0625rem 0.0625rem rgba(0, 0, 0, 0.1));\n }\n }\n "," {\n position: fixed;\n left: 0;\n width: 100%;\n border-top: 1px solid ",";\n }\n "," {\n width: 368px;\n }\n }\n\n .close-button {\n position: absolute;\n top: 0;\n right: 0;\n width: 32px;\n height: 32px;\n cursor: pointer;\n\n img {\n width: 100%;\n height: 100%;\n border-radius: 50%;\n }\n }\n"],["\n position: absolute;\n right: 0;\n background-color: ",";\n\n &[data-animation='true'] {\n transition: all 0.5s ease-in-out;\n }\n\n &[data-open='true'] {\n z-index: 200;\n top: 120%;\n opacity: 1;\n visibility: visible;\n }\n\n &[data-open='false'] {\n display: none;\n }\n\n &[data-type='lead'] {\n width: 332px;\n height: 460px;\n\n div {\n top: -15px;\n right: -15px;\n }\n }\n\n &[data-type='welcome'] {\n position: fixed;\n "," {\n width: 100%;\n height: 424px;\n bottom: 0;\n top: unset;\n }\n "," {\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n width: 100%;\n min-height: 445px;\n max-width: 407px;\n }\n }\n\n &[data-type='due-date'] {\n position: fixed;\n "," {\n width: 100%;\n height: 100%;\n overflow-y: scroll;\n bottom: 0;\n top: unset;\n }\n "," {\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n width: 100vw;\n height: 55vw;\n max-height: 598px;\n max-width: 1080px;\n }\n }\n\n .popup-content {\n z-index: 111;\n height: 100%;\n "," {\n max-height: calc(100vh - var(--header-bottom, 64px));\n }\n overflow: auto;\n }\n\n &[data-type='form'] {\n width: 496px;\n height: 548px;\n }\n\n &[data-type='confirm'] {\n width: 380px;\n height: 252px;\n }\n\n &[data-type='profile'] {\n /* min-height: 415px; */\n "," {\n border-radius: 6px;\n box-shadow: 0px 4px 8px ",";\n &:before {\n position: absolute;\n right: 11px;\n bottom: 100%;\n width: 0;\n height: 0;\n border: 0.5rem solid transparent;\n border-top: none;\n border-bottom-color: #fff;\n content: '';\n filter: drop-shadow(0 -0.0625rem 0.0625rem rgba(0, 0, 0, 0.1));\n }\n }\n "," {\n position: fixed;\n left: 0;\n width: 100%;\n border-top: 1px solid ",";\n }\n "," {\n width: 368px;\n }\n }\n\n .close-button {\n position: absolute;\n top: 0;\n right: 0;\n width: 32px;\n height: 32px;\n cursor: pointer;\n\n img {\n width: 100%;\n height: 100%;\n border-radius: 50%;\n }\n }\n"])),(function(n){return n.theme.colors.white}),L.mbDown,L.mbUp,L.mbDown,L.mbUp,L.mbDown,L.mbUp,(function(n){return n.theme.colors.gray200}),L.mbDown,I.colors.neutral100,L.mbUp),pn),mn="hhgcomp-navprofilebutton-popupwrapper";F(S.div(gn||(gn=n(["\n position: fixed;\n z-index: 150;\n top: var(--header-bottom, 69px);\n left: 0;\n width: 100%;\n height: 100%;\n align-items: center;\n\n "," {\n background-color: transparent;\n &[data-type='welcome'] {\n background: rgba(38, 38, 38, 0.3);\n }\n &[data-type='due-date'] {\n background: rgba(38, 38, 38, 0.3);\n }\n }\n\n "," {\n background: rgba(38, 38, 38, 0.3);\n }\n\n &[data-type='welcome'] {\n top: 0;\n }\n\n &[data-open='false'] {\n display: none;\n }\n"],["\n position: fixed;\n z-index: 150;\n top: var(--header-bottom, 69px);\n left: 0;\n width: 100%;\n height: 100%;\n align-items: center;\n\n "," {\n background-color: transparent;\n &[data-type='welcome'] {\n background: rgba(38, 38, 38, 0.3);\n }\n &[data-type='due-date'] {\n background: rgba(38, 38, 38, 0.3);\n }\n }\n\n "," {\n background: rgba(38, 38, 38, 0.3);\n }\n\n &[data-type='welcome'] {\n top: 0;\n }\n\n &[data-open='false'] {\n display: none;\n }\n"])),L.mbUp,L.mbDown),mn);var un,gn,hn,fn,xn,vn=S.div(hn||(hn=n(["\n width: 40px;\n height: 40px;\n cursor: pointer;\n\n img {\n border-radius: 50%;\n }\n\n .avatar {\n width: 40px;\n height: 40px;\n object-fit: cover;\n }\n\n .avatar-default {\n display: flex;\n align-items: center;\n justify-content: center;\n background-color: ",";\n border-radius: 50%;\n color: white;\n font-size: 20px;\n font-weight: bold;\n }\n"],["\n width: 40px;\n height: 40px;\n cursor: pointer;\n\n img {\n border-radius: 50%;\n }\n\n .avatar {\n width: 40px;\n height: 40px;\n object-fit: cover;\n }\n\n .avatar-default {\n display: flex;\n align-items: center;\n justify-content: center;\n background-color: ",";\n border-radius: 50%;\n color: white;\n font-size: 20px;\n font-weight: bold;\n }\n"])),(function(n){return n.theme.colors.secondaryBase})),yn=S.a(fn||(fn=n(["\n display: inline-flex;\n position: relative;\n width: 40px;\n height: 40px;\n display: flex;\n align-items: center;\n justify-content: center;\n text-decoration: none;\n flex-shrink: 0;\n\n .user-close-icon {\n display: none;\n }\n &:focus-within {\n .user-close-icon {\n display: block;\n }\n .user-avatar {\n display: none;\n }\n ."," {\n z-index: 200;\n top: 120%;\n opacity: 1;\n visibility: visible;\n display: initial;\n &[data-type='profile'] {\n "," {\n top: 100%;\n }\n }\n }\n ."," {\n display: initial;\n }\n }\n"],["\n display: inline-flex;\n position: relative;\n width: 40px;\n height: 40px;\n display: flex;\n align-items: center;\n justify-content: center;\n text-decoration: none;\n flex-shrink: 0;\n\n .user-close-icon {\n display: none;\n }\n &:focus-within {\n .user-close-icon {\n display: block;\n }\n .user-avatar {\n display: none;\n }\n ."," {\n z-index: 200;\n top: 120%;\n opacity: 1;\n visibility: visible;\n display: initial;\n &[data-type='profile'] {\n "," {\n top: 100%;\n }\n }\n }\n ."," {\n display: initial;\n }\n }\n"])),pn,L.mbDown,mn),bn=S.a(xn||(xn=n(["\n display: inline-flex;\n .login-btn[data-color='tertiary'][data-size='md'] {\n padding-left: 12px;\n padding-right: 12px;\n }\n .mobile-only {\n "," {\n display: none;\n }\n }\n .login-btn {\n padding-left: 10px;\n padding-right: 10px;\n display: none;\n "," {\n display: block;\n }\n }\n"],["\n display: inline-flex;\n .login-btn[data-color='tertiary'][data-size='md'] {\n padding-left: 12px;\n padding-right: 12px;\n }\n .mobile-only {\n "," {\n display: none;\n }\n }\n .login-btn {\n padding-left: 10px;\n padding-right: 10px;\n display: none;\n "," {\n display: block;\n }\n }\n"])),L.mbUp,L.mbUp),wn="profile/posts?website_url={websiteUrl}",En=99,kn=300,Cn=400,Pn=210,Bn=function(n){var e,t,i,o;return n?{termId:n.term_id||null,sponsor:n.sponsor?(o=n.sponsor,o?{title:o.title,logo:o.logo,link:o.link}:{}):null,isSponsored:n.is_sponsored||null,categoryName:n.cat_name||n.name||null,name:n.name||null,iconUrl:n.icon||"",slugName:n.category_nicename||null,description:n.description||null,featureImage:n.thumbnail||n.image||null,displayName:n.name||null,parent:n.parent||null,permalink:n.permalink||null,slug:n.slug||null,childCates:(null===(e=n.child_cates)||void 0===e?void 0:e.map((function(n){return Bn(n)})))||[],thumnailColor:n.thumnail_color||["#FFEAF1","#E0E9FB","#FFF9EB","#F2FCF7","#F3F3F3"][5*Math.random()|0],colorFeatureImage:n.color_feature_image||null,imageColor:n.image_color||null,textColor:n.text_color||null,catParent:(null===(t=n.cat_parent)||void 0===t?void 0:t.name)?{name:n.cat_parent.name,permalink:n.cat_parent.permalink}:{},metaTag:n.meta_tag||"",reviewedBy:n.reviewed_by?(i=n.reviewed_by,{postTitle:i.post_title,permalink:i.permalink}):null,reviewedDate:n.reviewed_date||"",faqs:n.faqs?n.faqs.map((function(n){return function(n){return{title:n.title,content:n.content}}(n)})):null}:{}},Nn=function(n){var e,t;if(!n)return{};var i=null===(e=n.link)||void 0===e?void 0:e.includes("/bot/"),o=null===(t=n.link)||void 0===t?void 0:t.startsWith("/fil/"),a=n.link?n.link.startsWith("http")||i?n.link:o?n.link.replace("/health-tools/","/").replace("/fil/","/fil/health-tools/"):"/health-tools".concat(n.link.replace("/health-tools/","/")):void 0;return{icon:n.icon,link:a,subtitle:n.subtitle,title:n.title}},_n=function(n){return n?{thumbnail:n.thumbnail,link:null==n?void 0:n.slug,subtitle:n.name,name:n.name,slug:n.slug}:{}},zn=function(n){return n?{id:n.id,name:n.name,logo:null==n?void 0:n.logo,description:n.about,slug:n.slug}:{}},An=function(n){var e,t,i=n.type,o=n.specialtySlug,a=n.locale;return"".concat(null===(e=V[a])||void 0===e?void 0:e.ALL,"/").concat((null===(t=V[a])||void 0===t?void 0:t[i])||"doctor","/").concat(null!=o?o:"")},Tn=function(n){return n?{id:n.ID,name:n.name,permalink:n.permalink,image:(null==n?void 0:n.small_banner)||(null==n?void 0:n.image)||"",imageMedium:(null==n?void 0:n.image_medium)||null,imageThumbnail:(null==n?void 0:n.image_thumbnail)||null,startDate:null==n?void 0:n.start_date,endDate:null==n?void 0:n.end_date}:{}},Mn=function(n){var e=new Date;if(null==n?void 0:n.startDate){var t=new Date(n.startDate);if(e.getTime()<t.getTime())return!1}if(null==n?void 0:n.endDate){var i=new Date(n.endDate);if(e.getTime()>i.getTime())return!1}return!0},Hn={myBooking:"booking",mySaved:"saved",myHealth:"health",myFamily:"family",myCommunity:"my-communities",eCom:"shop"},Ln={navHeader:"uJQBNNg",navAvatar:"TfG3dM5",navHeaderUserInfos:"aMtjFNf",navHeaderUserName:"cSz2RR-",navHeaderMyProfileButton:"GyFm00F"};function Sn(n){var e=n.userInfo,t=n.onClickMyProfileButton,i=n.themeName,o=void 0===i?"helloSites":i,l=T().t,s=r((function(){var n=(null==e?void 0:e.name)||(null==e?void 0:e.username);return n&&n.length?n[0].toUpperCase():"A"}),[null==e?void 0:e.username,null==e?void 0:e.name]);return a.createElement("div",{className:Ln.navHeader,onClick:function(){t&&t()}},a.createElement(U,{className:Ln.navAvatar,type:"rounded",size:"xl",avatarUrl:null==e?void 0:e.avatar,firstLetter:s,backgroundColor:"marryBaby"===o?I.mbColors.pink:I.colors.secondaryBase}),a.createElement("div",{className:Ln.navHeaderUserInfos},a.createElement("div",{className:Ln.navHeaderUserName},(null==e?void 0:e.name)||(null==e?void 0:e.username)),a.createElement("div",{className:Ln.navHeaderMyProfileButton,style:{"--bg-hellosites":"url(".concat(R.getAssetPath("userProfileNav/helloSites/icon-chevronRight.svg"),")"),"--bg-marrybaby":"url(".concat(R.getAssetPath("userProfileNav/marryBaby/icon-arrowRight.svg"),")")}},l("userProfile.nav.header.viewProfile"))))}var Un,Dn,jn,Rn,In,On,Fn,Gn,Vn,Wn,Yn,Zn,Qn,Kn,qn,Jn="fVk18fq",Xn="v8TCvUb",$n="mx7T4V3",ne={myHealth:I.mbColors.toneYellow,myCommunity:I.mbColors.toneBlue,mySaved:I.mbColors.toneGreen},ee={helloSites:{myBooking:function(){return R.getAssetPath("userProfileNav/helloSites/icon-myBooking.svg")},myCommunity:function(){return R.getAssetPath("userProfileNav/helloSites/icon-myCommunity.svg")},myFamily:function(){return R.getAssetPath("userProfileNav/helloSites/icon-myFamily.svg")},myHealth:function(){return R.getAssetPath("userProfileNav/helloSites/icon-myHealth.svg")},mySaved:function(){return R.getAssetPath("userProfileNav/helloSites/icon-mySaved.svg")},eCom:function(){return R.getAssetPath("userProfileNav/helloSites/icon-eCom.svg")}},marryBaby:{mySaved:function(){return R.getAssetPath("userProfileNav/marryBaby/icon-mySaved.svg")},myCommunity:function(){return R.getAssetPath("userProfileNav/marryBaby/icon-myCommunity.svg")},myHealth:function(){return R.getAssetPath("userProfileNav/marryBaby/icon-myHealth.svg")}}},te=function(n){var e=n.type,t=n.themeName,i=n.className,o=n.onClick,l=void 0===o?function(){}:o,s=T().t,d=r((function(){var n,i;return(null===(i=null===(n=ee[t])||void 0===n?void 0:n[e])||void 0===i?void 0:i.call(n))||""}),[e,t]),p=r((function(){return"marryBaby"!==t?"transparent":ne[e]}),[e,t]);return a.createElement("div",{onClick:function(){l(e)},className:"".concat(Jn," ").concat(i)},a.createElement("div",{className:$n,style:{backgroundColor:p,backgroundImage:'url("'.concat(d,'")')}}),a.createElement("h3",{className:Xn},s("userProfile.nav.card.".concat(e))))},ie="gn6HmGG",oe="FCx8FEM",ae="zMiRxaE",re="lZ2Z9MQ",le="rwm-agG",se="qMOscoq",de=function(n){var e=n.themeName,t=n.locale,i=n.onClickItem,o=d(""),l=o[0],s=o[1],p=r((function(){return"marryBaby"===e?[{key:"userProfile.nav.menu.password",icon:R.getAssetPath("userProfileNav/marryBaby/icon-lock.svg"),link:"password"},{key:"userProfile.nav.menu.logout",icon:R.getAssetPath("userProfileNav/marryBaby/icon-logOut.svg"),link:"logout"}]:[{key:"userProfile.nav.menu.accountSettings",icon:R.getAssetPath("userProfileNav/helloSites/icon-settingsWheel.svg"),subMenu:[{key:"userProfile.nav.menu.password",link:"password"},{key:"userProfile.nav.menu.disableAccount",link:"disable-account",disableLocale:["hi-IN"]}]},{key:"userProfile.nav.menu.help",icon:R.getAssetPath("userProfileNav/helloSites/icon-helpCircle.svg"),link:"help"}]}),[e]);function c(n){n.subMenu?s((function(e){return e?"":n.key})):i&&i(n)}return a.createElement("div",{className:ie},p.map((function(n){return a.createElement(pe,{key:n.key,item:n,openKey:l,onClickItem:c,locale:t})})))},pe=function(n){var e,t=n.item,i=n.openKey,o=n.onClickItem,r=n.locale,l=T().t;return(null===(e=t.disableLocale)||void 0===e?void 0:e.includes(r))?null:a.createElement("div",{className:"".concat(oe," nav-menu-item"),"data-is-open":i===t.key,key:t.key,"data-has-submenu":!!t.subMenu},a.createElement("div",{className:ae,onClick:function(){return o(t)}},t.icon&&a.createElement("div",{className:re,style:{backgroundImage:'url("'.concat(t.icon,'")')}}),l(t.key),t.subMenu&&a.createElement("div",{className:le,style:{"--after-bg":"url(".concat(R.getAssetPath("userProfileNav/helloSites/icon-chevronDown.svg"),")")}})),t.subMenu&&a.createElement("div",{className:se},t.subMenu.map((function(n){return a.createElement(pe,{key:n.key,item:n,openKey:i,onClickItem:o,locale:r})}))))},ce="-AZt1au",me="IvSIfCI",ue="eahCJov",ge="XIyViFs",he="_4y-O0w3",fe="kO8iNgD",xe="a1d4E10",ve="Tdguxxf",ye="-mOxsaU",be="yPeDBNZ",we={helloSites:{member:function(){return R.getAssetPath("userProfileNav/helloSites/icon-rank-member.svg")},ambassador:function(){return R.getAssetPath("userProfileNav/helloSites/icon-rank-ambassador.svg")},doctor:function(){return R.getAssetPath("userProfileNav/helloSites/icon-rank-doctor.svg")},expert:function(){return R.getAssetPath("userProfileNav/helloSites/icon-rank-expert.svg")},influencer:function(){return R.getAssetPath("userProfileNav/helloSites/icon-rank-influencer.svg")}},marryBaby:{member:function(){return R.getAssetPath("userProfileNav/marryBaby/icon-rank-member.svg")},ambassador:function(){return R.getAssetPath("userProfileNav/marryBaby/icon-rank-ambassador.svg")},doctor:function(){return R.getAssetPath("userProfileNav/marryBaby/icon-rank-doctor.svg")},expert:function(){return R.getAssetPath("userProfileNav/marryBaby/icon-rank-expert.svg")},influencer:function(){return R.getAssetPath("userProfileNav/marryBaby/icon-rank-influencer.svg")}}},Ee=function(n){var e=n.themeName,t=n.rank,i=void 0===t?"member":t,o=n.numberOfPosts,l=void 0===o?0:o,s=T().t,d=r((function(){var n,t;return(null===(t=null===(n=we[e])||void 0===n?void 0:n[i])||void 0===t?void 0:t.call(n))||""}),[i,e]);return a.createElement("div",{className:he,"data-user-rank":i},a.createElement("div",{className:fe},a.createElement("div",{className:xe},a.createElement("div",{className:ve,style:{backgroundImage:'url("'.concat(d,'")')}}),a.createElement("h3",{className:ye},s("userProfile.userRank.".concat(i))),l>0&&a.createElement("p",{className:be},l," ",s("userProfile.nav.header.count.posts")))))},ke=function(n){var t=n.SSO_URL,i=n.UP_BASEPATH,o=void 0===i?"user":i,l=n.themeName,p=void 0===l?"helloSites":l,c=n.cardUrls,m=void 0===c?Hn:c,u=n.enableCare,h=n.enableTogether,f=n.enableEcom,x=n.userInfo,v=n.togetherApiDomain,y=n.userPostsNumber,b=n.onClickNavigationCard,w=n.onClickMyProfileButton,E=n.onClickMenuItem,k=n.onClickLogout,C=n.isUserProfileNavigatorMenuHidden,P=void 0!==C&&C,B=n.isMyHealthEnabled,N=void 0!==B&&B,_=n.locale,z=T().t,A=d(y||0),M=A[0],H=A[1],L="marryBaby"===p;s((function(){if(x&&void 0===y){var n=G("hhg_user_token");n&&fetch(function(n,t,i,o){return(i||"https://together.hellohealthgroup.com/")+"api/v1/"+W(wn,e(e({},o),{websiteUrl:t?"https://marrybaby.vn":"https://".concat(g[n])}))}(_,L,v),{headers:{Authorization:"Bearer ".concat(n)}}).then((function(n){return n.json()})).then((function(n){var e,t,i;1===(null==n?void 0:n.status)&&(null===(e=null==n?void 0:n.data)||void 0===e?void 0:e.pagination)&&H((null===(i=null===(t=null==n?void 0:n.data)||void 0===t?void 0:t.pagination)||void 0===i?void 0:i.total_items)||0)})).catch((function(n){return console.error("Error fetching post number",n)}))}}),[_,null!==x,y,v,L]);var S=r((function(){return(L?["myHealth","myCommunity","mySaved"]:["myHealth","mySaved","myBooking","myCommunity","eCom"]).filter((function(n){return"myBooking"===n?u:"myCommunity"===n?h:"myHealth"===n?N:"eCom"!==n||f}))}),[L,N]),U=r((function(){return"marryBaby"===p?null:a.createElement(D,{color:"tertiary",icon:a.createElement("img",{src:R.getAssetPath("userProfileNav/helloSites/icon-logOut.svg"),width:15,height:15}),size:"md",onClick:k,className:ge},z("userProfile.nav.menu.logout"))}),[p]),j=function(n){window.location.href="".concat(t).concat(o,"/").concat(n)},I=function(n){var e=m[n];b?b(e):j(e)};return x?a.createElement("div",{className:ce,"data-theme":p},a.createElement(Sn,{userInfo:x,themeName:p,onClickMyProfileButton:function(){w?w():j("profile")}}),a.createElement(Ee,{themeName:p,rank:"member",numberOfPosts:M}),a.createElement("div",{className:me},S.map((function(n){return a.createElement(te,{className:ue,key:n,themeName:p,type:n,onClick:I})}))),!P&&a.createElement(a.Fragment,null,a.createElement(de,{themeName:p,locale:_,onClickItem:function(n){"logout"===n.link&&k?k():n.link&&!n.subMenu&&(E?E(n.link):j(n.link))}}),U)):null},Ce=function(n){var e=n.type,t=void 0===e?"lead":e,i=n.closeIcon,o=n.isOpen,r=void 0===o||o,l=n.onClose,s=n.children,d=n.enableAnimation,p=void 0===d||d,c=n.targetAvatar,m=n.id,u=n.className;return a.createElement(cn,{"data-open":r,"data-type":t,"data-animation":p,"data-target":c,id:m,className:u},a.createElement("div",{className:"popup-content"},!!i&&a.createElement("div",{className:"close-button",onClick:l},i),s))},Pe=function(n){var e=n.SSO_URL,t=n.UP_BASEPATH,i=n.isOpen,o=n.targetAvatar,r=n.userInfo,l=n.enableCare,s=n.enableTogether,d=n.enableEcom,p=n.closePopup,c=n.siteType,m=void 0===c?"helloSites":c,u=n.dispatchLogout,g=n.userProfileRouterPush,h=n.isUserProfileNavigatorMenuHidden,f=n.isMyHealthEnabled,x=void 0!==f&&f,v=n.togetherApiDomain,y=n.locale,b=function(n){g?g("/".concat(n)):e&&(window.location.href="".concat(e).concat(t,"/").concat(n))},w=function(n){b(n),p()};return a.createElement(Ce,{isOpen:i,type:"profile",enableAnimation:!0,targetAvatar:o,onClose:p},a.createElement(ke,{SSO_URL:e,UP_BASEPATH:t,themeName:m,userInfo:r,enableCare:l,enableTogether:s,enableEcom:d,onClickLogout:function(){u&&(u(),p())},onClickMenuItem:w,onClickNavigationCard:w,onClickMyProfileButton:function(){b("profile"),p()},isUserProfileNavigatorMenuHidden:h,isMyHealthEnabled:x,togetherApiDomain:v,locale:y}))},Be=function(n){var o=n.userInfo,r=n.siteType,l=n.onLoginClick,p=n.SSO_URL,c=n.currentUrl,m=n.isMinifyLogin,u=n.enableCare,g=n.enableTogether,h=n.enableEcom,f=n.isUserProfileNavigatorMenuHidden,x=n.UP_BASEPATH,v=n.isMyHealthEnabled,y=n.togetherApiDomain,b=n.onLogout,w=n.style,E=n.userProfileRouterPush,k=n.isLoading,C=n.locale,P=T().t,B=d(!1),N=B[0],_=B[1],z=(null==o?void 0:o.name)||(null==o?void 0:o.username),A=d(!1),M=A[0],H=A[1];s((function(){H(!0)}),[]);var L=rn(),S=L.containerRef,O=L.onContainerFocus,F=L.onContainerBlur,G=L.onButtonMouseDown,V=L.onClose;return k?a.createElement(D,{size:"sm",color:"transparent",isLoading:!0}):(null==o?void 0:o.id)?a.createElement(a.Fragment,null,a.createElement(yn,{ref:S,style:w,tabIndex:0,onBlur:F,onFocus:O},a.createElement("div",{onMouseDown:G},a.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"user-close-icon"},a.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"})),a.createElement(U,{type:"rounded",size:"medium",className:"user-avatar",avatarUrl:null==o?void 0:o.avatar,firstLetter:z&&z.length?z[0].toUpperCase():"A",backgroundColor:"marryBaby"===r?I.mbColors.pink:I.colors.secondaryBase})),a.createElement(Pe,{UP_BASEPATH:x,SSO_URL:p,dispatchLogout:function(){V(),_(!0)},isOpen:!1,isMyHealthEnabled:v,enableCare:u,enableTogether:g,enableEcom:h,closePopup:V,userInfo:o,siteType:r,isUserProfileNavigatorMenuHidden:f,togetherApiDomain:y,userProfileRouterPush:E,locale:C})),a.createElement(dn,{openLogoutPopup:N,onCloseHandler:function(){document.body.classList.toggle("noscroll",!1),_(!1)},siteType:r,onLogoutHandler:function(){return t(void 0,void 0,void 0,(function(){return i(this,(function(n){switch(n.label){case 0:return _(!1),document.body.classList.toggle("noscroll",!1),[4,b()];case 1:return n.sent(),[2]}}))}))}})):a.createElement(bn,{style:e({textDecoration:"none"},w),"data-event-category":"Sign Up","data-event-action":"Button Click","data-event-label":c,href:M?void 0:"".concat(p,"?returnUrl=").concat(c),"data-site-type":r},m?a.createElement(vn,{onClick:l},a.createElement("img",{src:R.getAssetPath("lock.png"),className:"avatar",loading:"lazy",alt:"avatar"})):a.createElement(a.Fragment,null,"helloSites"===r&&a.createElement("img",{className:"mobile-only",src:R.getAssetPath("login.svg"),style:{cursor:"pointer",height:24,width:24},onClick:l}),"marryBaby"===r&&a.createElement("div",{className:"mobile-only",onClick:l,style:{paddingLeft:16}},a.createElement(j,{size:"p3",color:I.mbColors.pink},P("navigation.loginJoin"))),a.createElement(D,{className:"login-btn",size:"md",color:"tertiary",onClick:l,icon:a.createElement("img",{src:R.getAssetPath("login.svg"),width:18,height:18}),theme:r},P("navigation.loginJoin"))))},Ne=function(n){return n.replace(/([^:]\/)\/+/g,"$1")},_e=function(n){return Ne(function(n){return n.replace(/\/?$/,"/")}(n))},ze=a.createContext({}),Ae=function(n){var t=n.children,i=o(n,["children"]),l=a.useState((function(){return i.currentUrl||"https://".concat("marryBaby"===i.siteType?Y[i.locale||"en-PH"]:g[i.locale||"en-PH"]).concat("together"===i.projectType?"/community":"ecom"===i.projectType?"/ecom":"care"===i.projectType?"/care":"","/")})),d=l[0],p=l[1];s((function(){var n=function(){p(window.location.href)};return window.addEventListener("popstate",n),n(),function(){window.removeEventListener("popstate",n)}}),[]);var c=function(n){var e=n.locale,t=n.projectType,i=n.isMobile,o=n.siteType;return r((function(){var n=!(!i&&"profile"===t),a="discover"===t||"marryBaby"===t||"profile"===t&&"marryBaby"===o,r="marryBaby"!==o&&"marryBaby"!==t&&h.includes(e),l="marryBaby"!==t&&"discover"===t&&"marryBaby"!==o&&f.includes(e),s="marryBaby"===t||x.includes(e),d="ecom"===t,p="ecom"===t,c=w(e,"marryBaby"===o),m=E(e,"marryBaby"===o);return{enableProfileNavigatorMenu:n,enableSearchBar:a,enableNavCare:r,enableNavCareBooking:l,enableNavTogether:s,enableNavEcom:d,enableProfileEcom:p,enableProfileMyHealth:!0,statics:{HOME_PAGE_URL:c,CARE_URL_FE:"".concat(c,"/care"),TOGETHER_URL_FE:"".concat(c,"/community"),SSO_URL:m,TOGETHER_API:k(),DISCOVER_API:C(e)}}}),[e,t,i])}({locale:i.locale,projectType:i.projectType,isMobile:i.isMobile,siteType:i.siteType});return a.createElement(ze.Provider,{value:e(e({},i),{configs:c,currentUrl:i.currentUrl||d})},t)},Te="-XmTq5-",Me="V-oxu20",He=function(n){var e=n.item,t=n.menu,i=rn({allowBgScroll:!0}),o=i.containerRef,r=i.onContainerFocus,l=i.onContainerBlur,p=i.onButtonMouseDown,c=i.onClose,m=function(){var n=d(!0),e=n[0],t=n[1];return s((function(){t(!1)}),[]),e}();return!e.popupType&&e.link?a.createElement("a",{className:"hhgcomp-navigation-itemnav-headeritem ".concat(m?"":"menu-handler-".concat(e.id)),tabIndex:0,href:e.link,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":e.link},a.createElement("div",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":e.link,className:Me},e.name)):a.createElement("div",{ref:o,className:"hhgcomp-navigation-itemnav-headeritem ".concat(m?"":"menu-handler-".concat(e.id)),tabIndex:0,key:e.id,onBlur:l,onFocus:r,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":e.link},a.createElement("div",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":e.link,onMouseDown:p,className:Me},e.name,e.popupType&&a.createElement("div",{className:Te},a.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.createElement("path",{d:"M11.5 7.5L9 10L6.5 7.5",stroke:"#202135",strokeWidth:"1.33",strokeLinecap:"round",strokeLinejoin:"round"})))),a.isValidElement(t)?a.cloneElement(t,{onClose:c}):null)},Le=p((function(){return 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"}))})),Se=function(){var n=c(ze),e=n.locale,t=n.configs.statics,i=n.siteType,o=T().t;return a.createElement(Q,{className:"fake-search-input",name:"search-input-menu-service",size:"md",placeholder:"marryBaby"===i?o("navigation.search.input.placeholder"):o("home.search",{site:v[e||"en-PH"]?v[e||"en-PH"].SITE_NAME:""}),onChange:function(){},onKeyDown:function(n){return"Enter"===n.key&&(window.location.href="".concat(t.HOME_PAGE_URL,"/search/?s=").concat(n.target.value))},type:"search",onFocus:function(n){n.preventDefault()},displayIcon:a.createElement("a",{"data-event-category":"Search Button","data-event-action":"Click"},a.createElement(Le,null))})},Ue="eJS8-if",De="EuQrB-3",je="_0JtBh8L",Re=function(n){var e=n.onClosePopup;return a.createElement("div",{className:"".concat(je," close-btn"),onClick:e},a.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"})))},Ie=function(n){var e=n.onClosePopup,t=n.isDisplay,i=n.children,o=n.isNavMenu,r=n.hideCloseBtn;return a.createElement("div",{className:"hhgcomp-navigation-popupwrapper-menuwrapper top-menu-health-tools","data-is-display":!!t,"data-is-nav-menu":!!o},a.createElement(z,null,!r&&a.createElement("div",{className:De},a.createElement(Re,{onClosePopup:e})),a.createElement(z,{className:Ue},i)))},Oe=S.div(Un||(Un=n(["\n padding-right: 1rem;\n margin-top: 10px;\n background: #ffffff;\n padding: 5px 15px;\n "," {\n border-right: 1px solid #e4e8ec;\n }\n"],["\n padding-right: 1rem;\n margin-top: 10px;\n background: #ffffff;\n padding: 5px 15px;\n "," {\n border-right: 1px solid #e4e8ec;\n }\n"])),L.mbUp),Fe=S.a(Dn||(Dn=n(["\n padding: 10px 0;\n position: relative;\n\n display: flex;\n align-items: center;\n text-decoration: none;\n color: ",";\n * {\n pointer-events: none;\n }\n p {\n font-size: 16px;\n font-weight: 400;\n padding: 0 0.4rem;\n }\n\n &[data-theme='marryBaby']:hover {\n p {\n color: ",";\n }\n .icon {\n background-color: ",";\n }\n }\n &[data-theme='helloSite']:hover {\n p {\n color: ",";\n }\n }\n a {\n }\n\n &[data-theme='marryBaby'] {\n .icon {\n display: flex;\n align-items: center;\n justify-content: center;\n max-width: 40px;\n width: 100%;\n height: 40px;\n border-radius: 50%;\n background-color: ",";\n img {\n border-radius: 50%;\n }\n }\n }\n"],["\n padding: 10px 0;\n position: relative;\n\n display: flex;\n align-items: center;\n text-decoration: none;\n color: ",";\n * {\n pointer-events: none;\n }\n p {\n font-size: 16px;\n font-weight: 400;\n padding: 0 0.4rem;\n }\n\n &[data-theme='marryBaby']:hover {\n p {\n color: ",";\n }\n .icon {\n background-color: ",";\n }\n }\n &[data-theme='helloSite']:hover {\n p {\n color: ",";\n }\n }\n a {\n }\n\n &[data-theme='marryBaby'] {\n .icon {\n display: flex;\n align-items: center;\n justify-content: center;\n max-width: 40px;\n width: 100%;\n height: 40px;\n border-radius: 50%;\n background-color: ",";\n img {\n border-radius: 50%;\n }\n }\n }\n"])),(function(n){return n.theme.colors.gray800}),(function(n){return n.theme.mbColors.pink}),(function(n){return n.theme.mbColors.lightPink}),(function(n){return n.theme.colors.primaryActive}),(function(n){return n.theme.mbColors.lightGray})),Ge=S.div(jn||(jn=n(["\n margin: 15px 0;\n "," {\n display: none;\n }\n"],["\n margin: 15px 0;\n "," {\n display: none;\n }\n"])),L.mbDown),Ve=S.div(Rn||(Rn=n(["\n display: flex;\n position: absolute;\n right: 0;\n "," {\n display: none;\n }\n"],["\n display: flex;\n position: absolute;\n right: 0;\n "," {\n display: none;\n }\n"])),L.mbUp),We=S.div(In||(In=n(["\n display: flex;\n align-items: center;\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 24px;\n font-size: 14px;\n font-weight: 600;\n &[data-event-category] * {\n pointer-events: none;\n }\n &[data-theme='marryBaby'] {\n color: ",";\n }\n"],["\n display: flex;\n align-items: center;\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 24px;\n font-size: 14px;\n font-weight: 600;\n &[data-event-category] * {\n pointer-events: none;\n }\n &[data-theme='marryBaby'] {\n color: ",";\n }\n"])),(function(n){return n.theme.colors.primaryBase}),(function(n){return n.theme.sizes.fsParagraph4}),(function(n){return n.theme.sizes.fwBold}),(function(n){return n.theme.mbColors.pink})),Ye=S.div(On||(On=n(["\n display: flex;\n align-items: center;\n margin-left: 10px;\n"],["\n display: flex;\n align-items: center;\n margin-left: 10px;\n"]))),Ze=S.a(Fn||(Fn=n(["\n border: 1px solid ",";\n &[data-theme='marryBaby'] {\n border: 1px solid ",";\n\n svg path {\n stroke: ",";\n }\n }\n position: relative;\n display: flex;\n align-items: center;\n justify-content: center;\n padding: 6px;\n border-radius: 5px;\n margin-top: 20px;\n "," {\n display: none;\n }\n"],["\n border: 1px solid ",";\n &[data-theme='marryBaby'] {\n border: 1px solid ",";\n\n svg path {\n stroke: ",";\n }\n }\n position: relative;\n display: flex;\n align-items: center;\n justify-content: center;\n padding: 6px;\n border-radius: 5px;\n margin-top: 20px;\n "," {\n display: none;\n }\n"])),(function(n){return n.theme.colors.primaryBase}),(function(n){return n.theme.mbColors.pink}),(function(n){return n.theme.mbColors.pink}),L.mbDown),Qe=function(n){var e=n.hrefViewMore,t=n.titleBtnViewMore,i=n.UrlFE,o=n.onClosePopup,r=n.menuItems,l=n.headingTitle,s=c(ze).siteType;return a.createElement(Oe,null,a.createElement(Ge,null,a.createElement(K,{tag:"marryBaby"===s?"h5":"h6",as:"h2",fontWeight:"semibold"},l)),null==r?void 0:r.slice(0,6).map((function(n,e){var t=(null==n?void 0:n.link)?(null==n?void 0:n.link.startsWith("http"))?null==n?void 0:n.link:"".concat(i,"/").concat(null==n?void 0:n.link.split("/").filter(Boolean).join("/"),"/"):"/";return a.createElement(Fe,{className:"iconMenu","data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":t,"data-is-heading-category":!1,href:t,"data-theme":s,key:e,onClick:o},a.createElement("div",{className:"icon"},a.createElement("img",{loading:"lazy",alt:n.name,src:n.thumbnail||"/images/avatar.jpg",style:{width:32,height:32,maxWidth:32,maxHeight:32}})),a.createElement("p",null,n.name),a.createElement(Ve,null,a.createElement("img",{src:R.getAssetPath("chevronRight.svg"),style:{width:"16px",height:"16px"}})))})),t&&a.createElement(Ze,{"data-theme":s,style:{textDecoration:"none"},href:e,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":e},a.createElement(We,{onClick:o,"data-theme":s,"data-is-heading-category":!1},t,a.createElement(Ye,null,a.createElement("img",{className:"svg",src:"marryBaby"===s?R.getAssetPath("chevronRightPink.svg"):R.getAssetPath("chevronRightActive.svg"),style:{width:"16px",height:"16px"}})))))},Ke=S.div(Gn||(Gn=n(["\n padding: 16px;\n border-radius: 8px;\n position: relative;\n z-index: 1;\n overflow: hidden;\n a {\n text-decoration: none;\n }\n\n .bg-svg {\n height: 100%;\n position: absolute;\n top: 0;\n left: 0;\n z-index: -1;\n }\n "," {\n display: block;\n .bg-svg {\n right: -24px;\n left: unset;\n top: 0;\n transform: rotateY(180deg);\n }\n }\n\n "," {\n display: grid;\n grid-gap: 10px;\n grid-template-columns: 1fr 3fr;\n }\n"],["\n padding: 16px;\n border-radius: 8px;\n position: relative;\n z-index: 1;\n overflow: hidden;\n a {\n text-decoration: none;\n }\n\n .bg-svg {\n height: 100%;\n position: absolute;\n top: 0;\n left: 0;\n z-index: -1;\n }\n "," {\n display: block;\n .bg-svg {\n right: -24px;\n left: unset;\n top: 0;\n transform: rotateY(180deg);\n }\n }\n\n "," {\n display: grid;\n grid-gap: 10px;\n grid-template-columns: 1fr 3fr;\n }\n"])),L.mbDown,L.mbUp),qe=S.div(Vn||(Vn=n(["\n font-weight: 400;\n font-size: 14px;\n line-height: 24px;\n color: ",";\n margin-bottom: 15px;\n"],["\n font-weight: 400;\n font-size: 14px;\n line-height: 24px;\n color: ",";\n margin-bottom: 15px;\n"])),(function(n){return n.theme.colors.gray600})),Je=S.div(Wn||(Wn=n(["\n font-weight: 600;\n font-size: 16px;\n line-height: 26px;\n color: #000000;\n margin-bottom: 4px;\n"],["\n font-weight: 600;\n font-size: 16px;\n line-height: 26px;\n color: #000000;\n margin-bottom: 4px;\n"]))),Xe=S.div(Yn||(Yn=n(["\n background: #fff;\n padding: 5px;\n display: flex;\n align-items: center;\n justify-content: center;\n border-radius: 50px;\n"],["\n background: #fff;\n padding: 5px;\n display: flex;\n align-items: center;\n justify-content: center;\n border-radius: 50px;\n"]))),$e=S.div(Zn||(Zn=n(["\n display: flex;\n justify-content: center;\n align-items: center;\n position: relative;\n "," {\n justify-content: end;\n min-height: 100px;\n }\n"],["\n display: flex;\n justify-content: center;\n align-items: center;\n position: relative;\n "," {\n justify-content: end;\n min-height: 100px;\n }\n"])),L.mbDown),nt=function(n){var e=n.title,t=n.link,i=n.description,o=n.cta,r=n.icon,l=c(ze).siteType;return a.createElement(Ke,{"data-theme":l},a.createElement($e,null,a.createElement("img",{src:"marryBaby"===l?R.getAssetPath("navMBSpotlightBgNoData.svg"):R.getAssetPath("navSpotlightBgNoData.svg"),alt:"",loading:"lazy",className:"bg-svg"}),a.createElement(Xe,null,r&&a.createElement("img",{src:r,width:64,height:64}))),a.createElement("div",null,e&&a.createElement(Je,null,e),i&&a.createElement(qe,null,i),o&&a.createElement("div",null,a.createElement("a",{href:t},a.createElement(D,{theme:l,className:"survey-contact-submit",size:"md"},o)))))},et=S.div(Qn||(Qn=n(["\n margin-top: 10px;\n background: #ffffff;\n padding: 5px 15px;\n position: relative;\n "," {\n &:after {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 4px;\n background-color: ",";\n content: '';\n }\n }\n"],["\n margin-top: 10px;\n background: #ffffff;\n padding: 5px 15px;\n position: relative;\n "," {\n &:after {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 4px;\n background-color: ",";\n content: '';\n }\n }\n"])),L.mbDown,(function(n){return n.theme.colors.neutral100})),tt=S.div(Kn||(Kn=n(["\n margin: 15px 0;\n display: flex;\n"],["\n margin: 15px 0;\n display: flex;\n"]))),it=S.a(qn||(qn=n(["\n padding-left: 10px;\n display: flex;\n align-items: center;\n text-decoration: none;\n font-weight: 400;\n font-size: 14px;\n color: ",";\n &[data-theme='marryBaby'] {\n color: ",";\n }\n img {\n padding-left: 5px;\n }\n "," {\n margin-left: auto;\n }\n"],["\n padding-left: 10px;\n display: flex;\n align-items: center;\n text-decoration: none;\n font-weight: 400;\n font-size: 14px;\n color: ",";\n &[data-theme='marryBaby'] {\n color: ",";\n }\n img {\n padding-left: 5px;\n }\n "," {\n margin-left: auto;\n }\n"])),(function(n){return n.theme.colors.primaryBase}),(function(n){return n.theme.mbColors.pink}),L.mbDown),ot=function(n){var e=n.title,t=n.viewMore,i=n.children,o=n.link,r=n.dataEventAction,l=void 0===r?"":r,s=c(ze).siteType;return a.createElement(et,null,a.createElement(tt,null,a.createElement(K,{tag:"marryBaby"===s?"h5":"h6",as:"h2",fontWeight:"semibold"},e),t&&a.createElement(it,{"data-event-category":"Hamburger Navigation","data-event-action":l,"data-event-label":o,href:o,"data-theme":s},t,a.createElement("img",{src:"marryBaby"===s?R.getAssetPath("chevronRightPink.svg"):R.getAssetPath("chevronRightActive.svg"),style:{width:"16px",height:"16px"}}))),i)};S.div(at||(at=n(["\n & > a:not(:last-child) > div {\n border-bottom: 1px solid ",";\n }\n\n &[data-category-list-type='sub'] {\n padding-bottom: 72px;\n }\n\n &[data-is-displayed='false'] {\n display: none;\n }\n"],["\n & > a:not(:last-child) > div {\n border-bottom: 1px solid ",";\n }\n\n &[data-category-list-type='sub'] {\n padding-bottom: 72px;\n }\n\n &[data-is-displayed='false'] {\n display: none;\n }\n"])),(function(n){return n.theme.colors.neutral100}));var at,rt,lt,st,dt,pt,ct,mt,ut,gt=S.div(rt||(rt=n(["\n display: grid;\n\n grid-template-columns: repeat(3, 1fr);\n gap: 24px;\n\n "," {\n grid-template-columns: repeat(1, 1fr);\n }\n"],["\n display: grid;\n\n grid-template-columns: repeat(3, 1fr);\n gap: 24px;\n\n "," {\n grid-template-columns: repeat(1, 1fr);\n }\n"])),L.tdDown),ht=S.div(lt||(lt=n(["\n height: 152px; // 120 + 16 * 2\n position: absolute;\n top: 0;\n left: 0;\n z-index: 3;\n overflow: hidden;\n border-radius: 4px;\n padding: 16px;\n width: 100%;\n\n .img-container {\n width: 100%;\n height: 100%;\n }\n img {\n width: 100%;\n height: 100%;\n display: block;\n object-fit: contain;\n }\n "," {\n margin-bottom: 0;\n padding: 0;\n height: 100%;\n position: unset;\n width: 150px;\n }\n "," {\n width: 80px;\n }\n"],["\n height: 152px; // 120 + 16 * 2\n position: absolute;\n top: 0;\n left: 0;\n z-index: 3;\n overflow: hidden;\n border-radius: 4px;\n padding: 16px;\n width: 100%;\n\n .img-container {\n width: 100%;\n height: 100%;\n }\n img {\n width: 100%;\n height: 100%;\n display: block;\n object-fit: contain;\n }\n "," {\n margin-bottom: 0;\n padding: 0;\n height: 100%;\n position: unset;\n width: 150px;\n }\n "," {\n width: 80px;\n }\n"])),L.tdDown,L.mbDown),ft=S.div(st||(st=n(["\n background-color: #ffffff;\n border-radius: 4px;\n width: 100%;\n height: 100%;\n"],["\n background-color: #ffffff;\n border-radius: 4px;\n width: 100%;\n height: 100%;\n"]))),xt=S.div(dt||(dt=n(["\n display: flex;\n margin-top: 1rem;\n align-items: center;\n color: ",";\n font-weight: 400;\n font-size: 14px;\n text-decoration: none;\n "," {\n display: none;\n }\n"],["\n display: flex;\n margin-top: 1rem;\n align-items: center;\n color: ",";\n font-weight: 400;\n font-size: 14px;\n text-decoration: none;\n "," {\n display: none;\n }\n"])),(function(n){return n.theme.colors.primaryBase}),L.tdDown),vt=S.p(pt||(pt=n(["\n font-size: 16px;\n font-weight: 600;\n line-height: 1.6;\n color: ",";\n "," {\n padding: 0;\n }\n"],["\n font-size: 16px;\n font-weight: 600;\n line-height: 1.6;\n color: ",";\n "," {\n padding: 0;\n }\n"])),(function(n){return n.theme.colors.gray800}),L.tdDown),yt=S.p(ct||(ct=n(["\n font-size: 14px;\n line-height: 1.6;\n font-weight: 400;\n color: ",";\n height: 40px;\n text-overflow: ellipsis;\n overflow: hidden;\n display: -webkit-box;\n -webkit-line-clamp: 2;\n -webkit-box-orient: vertical;\n margin-bottom: auto;\n "," {\n height: unset;\n padding: 0;\n }\n"],["\n font-size: 14px;\n line-height: 1.6;\n font-weight: 400;\n color: ",";\n height: 40px;\n text-overflow: ellipsis;\n overflow: hidden;\n display: -webkit-box;\n -webkit-line-clamp: 2;\n -webkit-box-orient: vertical;\n margin-bottom: auto;\n "," {\n height: unset;\n padding: 0;\n }\n"])),(function(n){return n.theme.colors.gray600}),L.tdDown),bt="hhgcomp-navigation-menucareitem-contentwrapper",wt=F(S.div(mt||(mt=n(["\n display: flex;\n flex-direction: column;\n gap: 8px;\n flex: 1;\n z-index: 1;\n "," {\n gap: 4px;\n }\n"],["\n display: flex;\n flex-direction: column;\n gap: 8px;\n flex: 1;\n z-index: 1;\n "," {\n gap: 4px;\n }\n"])),L.tdDown),bt),Et=S.a(ut||(ut=n(["\n text-decoration: none;\n border-radius: 4px;\n background: ",";\n position: relative;\n overflow: hidden;\n padding: 16px;\n display: flex;\n padding-top: 166px;\n * {\n pointer-events: none;\n }\n "," {\n box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.04), 0px 0px 2px rgba(0, 0, 0, 0.06), 0px 0px 1px rgba(0, 0, 0, 0.04);\n gap: 30px;\n flex-direction: column;\n a {\n display: flex;\n width: 100%;\n }\n }\n "," {\n padding-top: 16px;\n a {\n display: none;\n }\n grid-template-columns: 2fr 1fr;\n gap: 10px;\n display: grid;\n max-height: 110px;\n display: flex;\n flex-direction: row-reverse;\n > ."," {\n flex: 1;\n }\n img {\n width: 150px;\n }\n }\n "," {\n box-shadow: 0px 10px 16px rgba(0, 0, 0, 0.04), 0px 2px 8px rgba(0, 0, 0, 0.04), 0px 0px 1px rgba(0, 0, 0, 0.04);\n display: flex;\n flex-direction: row-reverse;\n img {\n width: 80px;\n height: 80px;\n }\n }\n "," {\n border: 1px solid ",";\n }\n .bg-svg {\n width: 100%;\n max-width: 245px;\n height: 100%;\n top: 0;\n right: -40px;\n position: absolute;\n display: inline-block;\n }\n"],["\n text-decoration: none;\n border-radius: 4px;\n background: ",";\n position: relative;\n overflow: hidden;\n padding: 16px;\n display: flex;\n padding-top: 166px;\n * {\n pointer-events: none;\n }\n "," {\n box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.04), 0px 0px 2px rgba(0, 0, 0, 0.06), 0px 0px 1px rgba(0, 0, 0, 0.04);\n gap: 30px;\n flex-direction: column;\n a {\n display: flex;\n width: 100%;\n }\n }\n "," {\n padding-top: 16px;\n a {\n display: none;\n }\n grid-template-columns: 2fr 1fr;\n gap: 10px;\n display: grid;\n max-height: 110px;\n display: flex;\n flex-direction: row-reverse;\n > ."," {\n flex: 1;\n }\n img {\n width: 150px;\n }\n }\n "," {\n box-shadow: 0px 10px 16px rgba(0, 0, 0, 0.04), 0px 2px 8px rgba(0, 0, 0, 0.04), 0px 0px 1px rgba(0, 0, 0, 0.04);\n display: flex;\n flex-direction: row-reverse;\n img {\n width: 80px;\n height: 80px;\n }\n }\n "," {\n border: 1px solid ",";\n }\n .bg-svg {\n width: 100%;\n max-width: 245px;\n height: 100%;\n top: 0;\n right: -40px;\n position: absolute;\n display: inline-block;\n }\n"])),I.colors.white,L.tdUp,L.tdDown,bt,L.mbDown,L.tdOnly,I.colors.neutral100),kt=function(n){var e,t=n.item,i=n.index,o=void 0===i?0:i,r=T().t,l=c(ze),s=l.locale,d=l.configs.statics;if(!t)return null;var p="".concat(d.CARE_URL_FE,"/").concat(null===(e=V[s])||void 0===e?void 0:e.HOSPITAL,"/").concat(t.slug,"-").concat(t.id);return a.createElement(Et,{key:t.id,href:p,"data-event-category":"Hamburger Navigation","data-event-action":"Care Click ".concat(o+1),"data-event-label":p},a.createElement("img",{src:R.getAssetPath("navCareCardBg.svg"),alt:"",className:"bg-svg",loading:"lazy"}),a.createElement(ht,null,a.createElement(ft,null,a.createElement("img",{loading:"lazy",alt:t.name,src:t.logo||"/images/avatar.jpg"}))),a.createElement(wt,null,a.createElement(vt,null,t.name),a.createElement(yt,null,t.description),a.createElement(xt,null,r("home.seeMore"),a.createElement("img",{src:R.getAssetPath("chevronRightActive.svg"),style:{width:"16px",height:"16px",marginTop:"3px",marginLeft:"5px"}}))))},Ct=function(n){var e=n.spotlights,t=void 0===e?[]:e,i=n.hrefViewMore,o=T().t;return a.createElement(ot,{title:o("home.navigator.menu.spotlightHospitals")},0!==t.length?a.createElement(gt,null,null==t?void 0:t.slice(0,3).map((function(n,e){return a.createElement(kt,{key:e,index:e,item:n})}))):a.createElement(nt,{title:o("home.navigator.menu.care.noDatas.title"),description:o("home.navigator.menu.care.noDatas.description"),link:i,cta:o("home.navigator.menu.care.noDatas.cta"),icon:R.getAssetPath("community.svg")}))},Pt=function(n){var e,t=n.careSpecialties,i=void 0===t?[]:t,o=n.isOpen,r=n.onClose,l=n.spotlights,s=void 0===l?[]:l,d=T().t,p=c(ze),m=p.locale,u=p.configs.statics,g="".concat(u.CARE_URL_FE,"/").concat(null===(e=V[m])||void 0===e?void 0:e.SPECIALTIES);return a.createElement(Ie,{onClosePopup:r,isDisplay:o,isNavMenu:!0},a.createElement(Qe,{headingTitle:d("home.navigator.menuItem.specialties"),hrefViewMore:g,UrlFE:u.CARE_URL_FE,onClosePopup:r,titleBtnViewMore:d("home.navigator.menuItem.allSpecialties"),menuItems:(null==i?void 0:i.map((function(n){return n?{name:String(n.name)||"",link:An({type:"DOCTOR",specialtySlug:n.slug,locale:m}),thumbnail:(null==n?void 0:n.thumbnail)||""}:{}})))||[]}),a.createElement(Ct,{spotlights:s,hrefViewMore:g}))};S.div(Bt||(Bt=n(["\n &[data-category-list-type='sub'] {\n padding-bottom: 72px;\n }\n\n &[data-is-displayed='false'] {\n display: none;\n }\n"],["\n &[data-category-list-type='sub'] {\n padding-bottom: 72px;\n }\n\n &[data-is-displayed='false'] {\n display: none;\n }\n"]))),S.div(Nt||(Nt=n(["\n & > div {\n width: 100%;\n margin-bottom: 8px;\n }\n"],["\n & > div {\n width: 100%;\n margin-bottom: 8px;\n }\n"])));var Bt,Nt,_t,zt,At,Tt,Mt=S.div(_t||(_t=n(["\n display: grid;\n\n grid-template-columns: repeat(4, 1fr);\n gap: 24px;\n "," {\n gap: 12px;\n grid-template-columns: 1fr;\n }\n"],["\n display: grid;\n\n grid-template-columns: repeat(4, 1fr);\n gap: 24px;\n "," {\n gap: 12px;\n grid-template-columns: 1fr;\n }\n"])),L.tdDown),Ht=S.a(zt||(zt=n(["\n width: 100%;\n display: flex;\n align-items: center;\n text-decoration: none;\n * {\n pointer-events: none;\n }\n"],["\n width: 100%;\n display: flex;\n align-items: center;\n text-decoration: none;\n * {\n pointer-events: none;\n }\n"]))),Lt=S.div(At||(At=n(["\n border-radius: 5px;\n display: block;\n overflow: hidden;\n padding-top: 140%;\n width: 100%;\n position: relative;\n height: 0;\n img {\n position: absolute;\n width: 100%;\n height: 100%;\n display: block;\n object-fit: cover;\n top: 0;\n left: 0;\n }\n "," {\n width: 72px;\n padding-top: 100px;\n }\n"],["\n border-radius: 5px;\n display: block;\n overflow: hidden;\n padding-top: 140%;\n width: 100%;\n position: relative;\n height: 0;\n img {\n position: absolute;\n width: 100%;\n height: 100%;\n display: block;\n object-fit: cover;\n top: 0;\n left: 0;\n }\n "," {\n width: 72px;\n padding-top: 100px;\n }\n"])),L.tdDown),St=S.p(Tt||(Tt=n(["\n font-size: 16px;\n font-weight: 400;\n padding: 4px 15px;\n line-height: 1.4;\n color: ",";\n flex: 1;\n "," {\n display: none;\n }\n"],["\n font-size: 16px;\n font-weight: 400;\n padding: 4px 15px;\n line-height: 1.4;\n color: ",";\n flex: 1;\n "," {\n display: none;\n }\n"])),(function(n){return n.theme.colors.gray800}),L.tdUp),Ut=function(n){var e=n.item,t=n.index,i=void 0===t?0:t;return e?a.createElement(Ht,{key:e.id,href:e.link,"data-event-category":"Hamburger Navigation","data-event-action":"Spotlight Click ".concat(i+1),"data-event-label":e.link},a.createElement(Lt,null,a.createElement("img",{loading:"lazy",alt:e.title,src:e.banner||"/images/notFound-min-small.jpg"})),a.createElement(St,null,e.title)):null},Dt=function(n){var e=n.spotlightsList,t=void 0===e?[]:e,i=n.hrefViewMore,o=T().t,r=c(ze).configs.statics;return a.createElement(ot,{title:o("home.navigator.menu.spotlights"),viewMore:o("home.navigator.menu.spotlights.seeAll"),link:i,dataEventAction:"Spotlight See More Click"},0!==t.length?a.createElement(Mt,null,null==t?void 0:t.slice(0,4).map((function(n,e){return a.createElement(Ut,{key:e,index:e,item:{id:n.id,link:r.HOME_PAGE_URL+n.permalink,title:n.name,banner:n.image}})}))):a.createElement(nt,{title:o("home.navigator.menu.category.noDatas.title"),description:o("home.navigator.menu.category.noDatas.description"),link:i,cta:o("home.navigator.menu.category.noDatas.cta"),icon:R.getAssetPath("Spotlight.svg")}))},jt=function(n){var e=n.categories,t=void 0===e?[]:e,i=n.spotlightsList,o=void 0===i?[]:i,r=n.onClose,l=n.isOpen,s=T().t,d=c(ze),p=d.locale,m=d.configs.statics;return a.createElement(Ie,{onClosePopup:r,isDisplay:l,isNavMenu:!0},a.createElement(Qe,{hrefViewMore:"".concat(m.HOME_PAGE_URL).concat("tl-PH"===p?"/fil":"","/categories/"),UrlFE:m.HOME_PAGE_URL,onClosePopup:r,titleBtnViewMore:s("home.navigator.menuItem.allCategories"),menuItems:(null==t?void 0:t.map((function(n){return n?{name:n.displayName||null,link:(null==n?void 0:n.permalink)||"/",thumbnail:n.iconUrl||null}:{}})))||[],headingTitle:s("home.navigator.menuItem.healthCategories")}),a.createElement(Dt,{spotlightsList:o,hrefViewMore:"".concat(m.HOME_PAGE_URL).concat("tl-PH"===p?"/fil":"","/spotlight/")}))};S.div(Rt||(Rt=n(["\n & > :not(:last-child) {\n border-bottom: 1px solid ",";\n }\n\n & > div > :not(:last-child) {\n border-bottom: 1px solid ",";\n }\n\n &[data-category-list-type='sub'] {\n padding-bottom: 72px;\n }\n\n &[data-is-displayed='false'] {\n display: none;\n }\n"],["\n & > :not(:last-child) {\n border-bottom: 1px solid ",";\n }\n\n & > div > :not(:last-child) {\n border-bottom: 1px solid ",";\n }\n\n &[data-category-list-type='sub'] {\n padding-bottom: 72px;\n }\n\n &[data-is-displayed='false'] {\n display: none;\n }\n"])),(function(n){return n.theme.colors.neutral100}),(function(n){return n.theme.colors.neutral100})),S.div(It||(It=n(["\n & > div {\n width: 100%;\n margin-bottom: 8px;\n }\n"],["\n & > div {\n width: 100%;\n margin-bottom: 8px;\n }\n"])));var Rt,It,Ot,Ft,Gt,Vt,Wt,Yt,Zt,Qt,Kt,qt,Jt,Xt,$t=S.div(Ot||(Ot=n(["\n display: grid;\n grid-template-columns: repeat(2, 1fr);\n grid-gap: 48px;\n "," {\n grid-template-columns: 1fr;\n grid-gap: 32px;\n }\n "," {\n grid-gap: 24px;\n }\n"],["\n display: grid;\n grid-template-columns: repeat(2, 1fr);\n grid-gap: 48px;\n "," {\n grid-template-columns: 1fr;\n grid-gap: 32px;\n }\n "," {\n grid-gap: 24px;\n }\n"])),L.tdDown,L.mbDown),ni=S.div(Ft||(Ft=n(["\n padding: 5px;\n flex: 1;\n"],["\n padding: 5px;\n flex: 1;\n"]))),ei=S.img(Gt||(Gt=n(["\n width: 88px;\n height: 88px;\n border-radius: 4px;\n object-fit: cover;\n"],["\n width: 88px;\n height: 88px;\n border-radius: 4px;\n object-fit: cover;\n"]))),ti=S.div(Vt||(Vt=n(["\n font-size: 12px;\n font-weight: 600;\n color: ",";\n text-decoration: none;\n &[data-theme='marryBaby'] {\n font-weight: 400;\n letter-spacing: -0.2px;\n }\n"],["\n font-size: 12px;\n font-weight: 600;\n color: ",";\n text-decoration: none;\n &[data-theme='marryBaby'] {\n font-weight: 400;\n letter-spacing: -0.2px;\n }\n"])),(function(n){return n.theme.colors.gray800})),ii=S.div(Wt||(Wt=n(["\n text-decoration: none;\n font-size: 12px;\n font-weight: 400;\n color: ",";\n &[data-theme='marryBaby'] {\n font-weight: 400;\n letter-spacing: -0.2px;\n }\n"],["\n text-decoration: none;\n font-size: 12px;\n font-weight: 400;\n color: ",";\n &[data-theme='marryBaby'] {\n font-weight: 400;\n letter-spacing: -0.2px;\n }\n"])),(function(n){return n.theme.colors.primaryBase})),oi=S.div(Yt||(Yt=n(["\n font-size: 12px;\n font-weight: 400;\n color: ",";\n"],["\n font-size: 12px;\n font-weight: 400;\n color: ",";\n"])),(function(n){return n.theme.colors.gray600})),ai=S.div(Zt||(Zt=n(["\n font-size: 12px;\n font-weight: 400;\n color: ",";\n"],["\n font-size: 12px;\n font-weight: 400;\n color: ",";\n"])),(function(n){return n.theme.colors.gray600})),ri=S.a(Qt||(Qt=n(["\n display: flex;\n gap: 10px;\n text-decoration: none;\n position: relative;\n &::after {\n content: '';\n display: block;\n width: 100%;\n height: 1px;\n border-top: 1px dashed ",";\n position: absolute;\n bottom: -24px;\n "," {\n bottom: -16px;\n }\n "," {\n bottom: -12px;\n }\n }\n &:last-child {\n &::after {\n display: none;\n }\n }\n "," {\n &:nth-last-child(2) {\n &::after {\n display: none;\n }\n }\n }\n"],["\n display: flex;\n gap: 10px;\n text-decoration: none;\n position: relative;\n &::after {\n content: '';\n display: block;\n width: 100%;\n height: 1px;\n border-top: 1px dashed ",";\n position: absolute;\n bottom: -24px;\n "," {\n bottom: -16px;\n }\n "," {\n bottom: -12px;\n }\n }\n &:last-child {\n &::after {\n display: none;\n }\n }\n "," {\n &:nth-last-child(2) {\n &::after {\n display: none;\n }\n }\n }\n"])),(function(n){return n.theme.colors.neutral100}),L.tdOnly,L.mbDown,L.tdUp),li=S.div(Kt||(Kt=n(["\n display: flex;\n gap: 10px;\n vertical-align: middle;\n align-items: center;\n"],["\n display: flex;\n gap: 10px;\n vertical-align: middle;\n align-items: center;\n"]))),si=S.div(qt||(qt=n(["\n margin-top: 8px;\n font-size: 16px;\n font-weight: 600;\n color: ",";\n &[data-theme='marryBaby'] {\n margin-top: 12px;\n font-weight: 400;\n font-size: 14px;\n line-height: 24px;\n letter-spacing: -0.2px;\n }\n"],["\n margin-top: 8px;\n font-size: 16px;\n font-weight: 600;\n color: ",";\n &[data-theme='marryBaby'] {\n margin-top: 12px;\n font-weight: 400;\n font-size: 14px;\n line-height: 24px;\n letter-spacing: -0.2px;\n }\n"])),(function(n){return n.theme.colors.gray800})),di=S.div(Jt||(Jt=n(["\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n column-gap: 5px;\n"],["\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n column-gap: 5px;\n"]))),pi=S.div(Xt||(Xt=n(["\n display: flex;\n gap: 4px;\n flex-direction: column;\n"],["\n display: flex;\n gap: 4px;\n flex-direction: column;\n"])));q.extend(J);var ci=function(n){var e,t,i,o,r,l,s,d=n.post,p=n.index,m=void 0===p?0:p,u=c(ze),g=u.siteType,h=u.configs.statics;if(!d)return null;var f=[h.TOGETHER_URL_FE,null===(e=d.community)||void 0===e?void 0:e.slug].join("/"),x=[f,d.slug].join("/"),v=d.createdAt,y=v?isNaN(new Date(v).getTime())?null:new Date(v):null,b=y?q(y).toNow(!0):v;return a.createElement(ri,{href:x,"data-event-category":"Hamburger Navigation","data-event-action":"Together Click ".concat(m+1),"data-event-label":x},a.createElement(ni,null,a.createElement(li,null,a.createElement(Z,{avatar:null===(t=d.author)||void 0===t?void 0:t.avatar,username:(null===(i=d.author)||void 0===i?void 0:i.name)||(null===(o=d.author)||void 0===o?void 0:o.username)}),a.createElement(pi,null,a.createElement(ti,{"data-theme":g},null===(r=d.author)||void 0===r?void 0:r.name),a.createElement(di,null,a.createElement(ii,{"data-event-category":"Hamburger Navigation","data-event-action":"Topic Click ".concat(m+1),"data-event-label":f,onClick:function(n){n.preventDefault(),location.href=f},"data-theme":g},null===(l=d.community)||void 0===l?void 0:l.name),a.createElement(ai,null,"•"),a.createElement(oi,{"data-theme":g},b)))),a.createElement(si,null,d.title)),!!(null===(s=d.photos)||void 0===s?void 0:s.length)&&a.createElement(ei,{loading:"lazy",src:d.photos[0]}))},mi=function(n){var e=n.spotlights,t=void 0===e?[]:e,i=c(ze).configs.statics,o=T().t;return a.createElement(ot,{title:o("home.navigator.menu.trendingPosts"),viewMore:o("home.navigator.menu.trendingPosts.seeMore"),link:_e(i.TOGETHER_URL_FE),dataEventAction:"Together See More Click"},0!==t.length?a.createElement($t,null,null==t?void 0:t.slice(0,4).map((function(n,e){return a.createElement(ci,{index:e,post:n,key:n.id})}))):a.createElement(nt,{title:o("home.navigator.menu.together.noPosts.title"),description:o("home.navigator.menu.together.noPosts.description"),link:"".concat(i.HOME_PAGE_URL,"/community/"),cta:o("home.navigator.menu.together.noPosts.cta"),icon:R.getAssetPath("community.svg")}))},ui=function(n){var e=n.communities,t=void 0===e?[]:e,i=n.onClose,o=n.isOpen,r=n.spotlights,l=void 0===r?[]:r,s=T().t,d=c(ze).configs.statics;return a.createElement(Ie,{onClosePopup:i,isDisplay:o,isNavMenu:!0},a.createElement(Qe,{hrefViewMore:_e(d.TOGETHER_URL_FE),UrlFE:Ne(d.TOGETHER_URL_FE),onClosePopup:i,titleBtnViewMore:s("home.navigator.menuItem.allCommunities"),menuItems:(null==t?void 0:t.map((function(n){return n?{name:n.name||"",link:n.slug||"/",thumbnail:n.thumbnail||""}:{}})))||[],headingTitle:s("home.navigator.menuItem.allCommunitiesheadingTitle")}),a.createElement(mi,{spotlights:l}))};S.div(gi||(gi=n(["\n &[data-is-display='false'] {\n display: none;\n }\n"],["\n &[data-is-display='false'] {\n display: none;\n }\n"])));var gi,hi,fi,xi,vi,yi,bi,wi,Ei,ki,Ci,Pi,Bi,Ni,_i,zi,Ai=S.div(hi||(hi=n(["\n display: grid;\n\n grid-template-columns: repeat(3, 1fr);\n gap: 24px;\n "," {\n grid-template-columns: 1fr;\n gap: 12px;\n }\n"],["\n display: grid;\n\n grid-template-columns: repeat(3, 1fr);\n gap: 24px;\n "," {\n grid-template-columns: 1fr;\n gap: 12px;\n }\n"])),L.tdDown),Ti=S.a(fi||(fi=n(["\n text-decoration: none;\n border-radius: 4px;\n background: #e3f2ff;\n position: relative;\n overflow: hidden;\n display: flex;\n * {\n pointer-events: none;\n }\n .bg-svg {\n width: 245px;\n top: 0;\n right: 0;\n height: 100%;\n position: absolute;\n "," {\n top: calc(51% - 68px);\n right: -8px;\n }\n }\n padding: 180px 24px 16px;\n a {\n display: flex;\n width: 100%;\n }\n "," {\n padding-top: 16px;\n display: flex;\n align-items: center;\n }\n"],["\n text-decoration: none;\n border-radius: 4px;\n background: #e3f2ff;\n position: relative;\n overflow: hidden;\n display: flex;\n * {\n pointer-events: none;\n }\n .bg-svg {\n width: 245px;\n top: 0;\n right: 0;\n height: 100%;\n position: absolute;\n "," {\n top: calc(51% - 68px);\n right: -8px;\n }\n }\n padding: 180px 24px 16px;\n a {\n display: flex;\n width: 100%;\n }\n "," {\n padding-top: 16px;\n display: flex;\n align-items: center;\n }\n"])),L.tdDown,L.tdDown),Mi=S.div(xi||(xi=n(["\n width: 64px;\n height: 64px;\n background: white;\n position: absolute;\n right: 25px;\n top: 35px;\n z-index: 3;\n border-radius: 50%;\n img {\n position: absolute;\n width: 64px;\n height: 64px;\n top: 50%;\n left: 50%;\n display: block;\n transform: translate(-50%, -50%);\n }\n "," {\n position: relative;\n top: unset;\n right: unset;\n }\n"],["\n width: 64px;\n height: 64px;\n background: white;\n position: absolute;\n right: 25px;\n top: 35px;\n z-index: 3;\n border-radius: 50%;\n img {\n position: absolute;\n width: 64px;\n height: 64px;\n top: 50%;\n left: 50%;\n display: block;\n transform: translate(-50%, -50%);\n }\n "," {\n position: relative;\n top: unset;\n right: unset;\n }\n"])),L.tdDown),Hi=S.div(vi||(vi=n(["\n display: flex;\n align-items: center;\n color: ",";\n font-weight: 400;\n font-size: 14px;\n text-decoration: none;\n"],["\n display: flex;\n align-items: center;\n color: ",";\n font-weight: 400;\n font-size: 14px;\n text-decoration: none;\n"])),(function(n){return n.theme.colors.primaryBase})),Li=S.p(yi||(yi=n(["\n font-size: 16px;\n font-weight: 600;\n line-height: 1.4;\n color: ",";\n"],["\n font-size: 16px;\n font-weight: 600;\n line-height: 1.4;\n color: ",";\n"])),(function(n){return n.theme.colors.gray800})),Si=S.p(bi||(bi=n(["\n font-size: 14px;\n line-height: 1.4;\n font-weight: 400;\n color: ",";\n height: 40px;\n text-overflow: ellipsis;\n overflow: hidden;\n display: -webkit-box;\n -webkit-line-clamp: 2;\n -webkit-box-orient: vertical;\n margin-bottom: auto;\n "," {\n display: none;\n }\n"],["\n font-size: 14px;\n line-height: 1.4;\n font-weight: 400;\n color: ",";\n height: 40px;\n text-overflow: ellipsis;\n overflow: hidden;\n display: -webkit-box;\n -webkit-line-clamp: 2;\n -webkit-box-orient: vertical;\n margin-bottom: auto;\n "," {\n display: none;\n }\n"])),(function(n){return n.theme.colors.gray600}),L.tdDown),Ui=S.div(wi||(wi=n(["\n display: flex;\n flex-direction: column;\n flex: 1;\n z-index: 1;\n "," {\n gap: 8px;\n }\n "," {\n gap: 4px;\n flex: 1;\n }\n"],["\n display: flex;\n flex-direction: column;\n flex: 1;\n z-index: 1;\n "," {\n gap: 8px;\n }\n "," {\n gap: 4px;\n flex: 1;\n }\n"])),L.tdUp,L.tdDown),Di=function(n){var e=n.item,t=n.index,i=void 0===t?0:t,o=T().t,r=c(ze).configs.statics;if(!e)return null;var l=e.link?e.link.startsWith("http")?e.link:"".concat(r.HOME_PAGE_URL).concat(e.link):void 0;return a.createElement(Ti,{href:l,"data-event-category":"Hamburger Navigation","data-event-action":"Engage Click ".concat(i+1),"data-event-label":l},a.createElement("img",{src:R.getAssetPath("navToolCardBg.svg"),alt:"",loading:"lazy",className:"bg-svg"}),a.createElement(Ui,null,a.createElement(Li,null,e.title),a.createElement(Si,null,e.subtitle),a.createElement(Hi,null,o("home.seeMore"),a.createElement("img",{src:R.getAssetPath("chevronRightActive.svg"),style:{width:"16px",height:"16px",marginTop:"3px",marginLeft:"5px"}}))),a.createElement(Mi,null,a.createElement("img",{loading:"lazy",alt:e.title,src:e.icon||"/images/avatar.jpg"})))},ji=S.a(Ei||(Ei=n(["\n text-decoration: none;\n border-radius: 12px;\n\n position: relative;\n overflow: hidden;\n display: flex;\n * {\n pointer-events: none;\n }\n .bg-svg {\n top: 0;\n left: 0;\n position: absolute;\n }\n\n .dot-svg {\n width: 40px;\n height: 30px;\n top: 36px;\n left: 16px;\n position: absolute;\n stroke-width: 0;\n }\n\n &[data-color='pink'] {\n background: ",";\n .bg-svg {\n fill: ",";\n }\n }\n &[data-color='orange'] {\n background: ",";\n .bg-svg {\n fill: ",";\n }\n }\n &[data-color='green'] {\n background: ",";\n .bg-svg {\n fill: ",";\n }\n }\n\n padding: 180px 24px 16px;\n a {\n display: flex;\n width: 100%;\n }\n "," {\n padding-top: 16px;\n display: flex;\n align-items: flex-start;\n justify-content: flex-start;\n }\n "," {\n padding-top: 0;\n padding-left: 80px;\n height: 96px;\n align-items: flex-start;\n justify-content: center;\n flex-direction: column;\n .dot-svg {\n top: 22px;\n left: 16px;\n }\n }\n "," {\n min-height: 296px;\n }\n .mobile-only {\n "," {\n display: none;\n }\n }\n .desktop-only {\n "," {\n display: none;\n }\n }\n"],["\n text-decoration: none;\n border-radius: 12px;\n\n position: relative;\n overflow: hidden;\n display: flex;\n * {\n pointer-events: none;\n }\n .bg-svg {\n top: 0;\n left: 0;\n position: absolute;\n }\n\n .dot-svg {\n width: 40px;\n height: 30px;\n top: 36px;\n left: 16px;\n position: absolute;\n stroke-width: 0;\n }\n\n &[data-color='pink'] {\n background: ",";\n .bg-svg {\n fill: ",";\n }\n }\n &[data-color='orange'] {\n background: ",";\n .bg-svg {\n fill: ",";\n }\n }\n &[data-color='green'] {\n background: ",";\n .bg-svg {\n fill: ",";\n }\n }\n\n padding: 180px 24px 16px;\n a {\n display: flex;\n width: 100%;\n }\n "," {\n padding-top: 16px;\n display: flex;\n align-items: flex-start;\n justify-content: flex-start;\n }\n "," {\n padding-top: 0;\n padding-left: 80px;\n height: 96px;\n align-items: flex-start;\n justify-content: center;\n flex-direction: column;\n .dot-svg {\n top: 22px;\n left: 16px;\n }\n }\n "," {\n min-height: 296px;\n }\n .mobile-only {\n "," {\n display: none;\n }\n }\n .desktop-only {\n "," {\n display: none;\n }\n }\n"])),(function(n){return n.theme.mbColors.tonePink}),(function(n){return n.theme.mbColors.peach}),(function(n){return n.theme.mbColors.toneYellow}),(function(n){return n.theme.mbColors.orange}),(function(n){return n.theme.mbColors.toneGreen}),(function(n){return n.theme.mbColors.mint}),L.tdDown,L.mbDown,L.tdUp,L.tdUp,L.tdDown),Ri=S.div(ki||(ki=n(["\n width: 48px;\n height: 48px;\n background: white;\n position: absolute;\n right: 25px;\n top: 35px;\n z-index: 3;\n border-radius: 50%;\n img {\n position: absolute;\n width: 36px;\n height: 36px;\n top: 50%;\n left: 50%;\n display: block;\n transform: translate(-50%, -50%);\n }\n "," {\n position: relative;\n top: unset;\n right: unset;\n }\n "," {\n position: absolute;\n left: 32px;\n top: 28px;\n }\n"],["\n width: 48px;\n height: 48px;\n background: white;\n position: absolute;\n right: 25px;\n top: 35px;\n z-index: 3;\n border-radius: 50%;\n img {\n position: absolute;\n width: 36px;\n height: 36px;\n top: 50%;\n left: 50%;\n display: block;\n transform: translate(-50%, -50%);\n }\n "," {\n position: relative;\n top: unset;\n right: unset;\n }\n "," {\n position: absolute;\n left: 32px;\n top: 28px;\n }\n"])),L.tdDown,L.mbDown),Ii=S.div(Ci||(Ci=n(["\n display: flex;\n align-items: center;\n background: white;\n font-weight: 400;\n font-size: 14px;\n text-decoration: none;\n border-radius: 50%;\n width: 20px;\n height: 20px;\n\n svg path {\n fill: ",";\n }\n\n "," {\n background: none;\n width: 100%;\n font-weight: 400;\n font-size: 12px;\n line-height: 18px;\n color: ",";\n padding-left: 16px;\n }\n"],["\n display: flex;\n align-items: center;\n background: white;\n font-weight: 400;\n font-size: 14px;\n text-decoration: none;\n border-radius: 50%;\n width: 20px;\n height: 20px;\n\n svg path {\n fill: ",";\n }\n\n "," {\n background: none;\n width: 100%;\n font-weight: 400;\n font-size: 12px;\n line-height: 18px;\n color: ",";\n padding-left: 16px;\n }\n"])),(function(n){return n.theme.mbColors.gray}),L.tdDown,(function(n){return n.theme.mbColors.pink})),Oi=S.p(Pi||(Pi=n(["\n font-weight: 600;\n font-size: 14px;\n line-height: 24px;\n letter-spacing: -0.2px;\n color: ",";\n"],["\n font-weight: 600;\n font-size: 14px;\n line-height: 24px;\n letter-spacing: -0.2px;\n color: ",";\n"])),(function(n){return n.theme.colors.gray800})),Fi=S.p(Bi||(Bi=n(["\n font-weight: 400;\n font-size: 12px;\n line-height: 18px;\n letter-spacing: -0.2px;\n color: ",";\n height: 54px;\n text-overflow: ellipsis;\n overflow: hidden;\n display: -webkit-box;\n -webkit-line-clamp: 3;\n -webkit-box-orient: vertical;\n margin-bottom: auto;\n "," {\n display: none;\n }\n"],["\n font-weight: 400;\n font-size: 12px;\n line-height: 18px;\n letter-spacing: -0.2px;\n color: ",";\n height: 54px;\n text-overflow: ellipsis;\n overflow: hidden;\n display: -webkit-box;\n -webkit-line-clamp: 3;\n -webkit-box-orient: vertical;\n margin-bottom: auto;\n "," {\n display: none;\n }\n"])),(function(n){return n.theme.colors.gray600}),L.tdDown),Gi=S.div(Ni||(Ni=n(["\n display: flex;\n flex: 1;\n z-index: 1;\n align-items: flex-end;\n justify-content: flex-end;\n "," {\n gap: 8px;\n flex-direction: row;\n }\n\n "," {\n align-items: flex-start;\n justify-content: flex-start;\n gap: 4px;\n }\n"],["\n display: flex;\n flex: 1;\n z-index: 1;\n align-items: flex-end;\n justify-content: flex-end;\n "," {\n gap: 8px;\n flex-direction: row;\n }\n\n "," {\n align-items: flex-start;\n justify-content: flex-start;\n gap: 4px;\n }\n"])),L.tdUp,L.tdDown),Vi=S.div(_i||(_i=n(["\n display: flex;\n flex-direction: column;\n flex: 1;\n z-index: 1;\n "," {\n gap: 8px;\n }\n "," {\n gap: 4px;\n flex: 1;\n padding-left: 16px;\n }\n"],["\n display: flex;\n flex-direction: column;\n flex: 1;\n z-index: 1;\n "," {\n gap: 8px;\n }\n "," {\n gap: 4px;\n flex: 1;\n padding-left: 16px;\n }\n"])),L.tdUp,L.tdDown),Wi=S.div(zi||(zi=n(["\n display: flex;\n flex-direction: row;\n flex: 1;\n z-index: 1;\n "," {\n gap: 8px;\n justify-content: flex-end;\n align-items: flex-end;\n }\n "," {\n flex-direction: column;\n justify-content: flex-start;\n align-items: flex-start;\n }\n"],["\n display: flex;\n flex-direction: row;\n flex: 1;\n z-index: 1;\n "," {\n gap: 8px;\n justify-content: flex-end;\n align-items: flex-end;\n }\n "," {\n flex-direction: column;\n justify-content: flex-start;\n align-items: flex-start;\n }\n"])),L.tdUp,L.tdDown),Yi=function(n){var e=n.item,t=n.index,i=void 0===t?0:t,o=n.color,r=T().t,l=c(ze).configs.statics;if(!e)return null;var s=e.link?e.link.startsWith("http")?e.link:"".concat(l.HOME_PAGE_URL).concat(e.link):void 0,d=function(){return a.createElement(Ri,null,a.createElement("img",{loading:"lazy",alt:e.title,src:e.icon||"/images/avatar.jpg"}))},p=function(){return a.createElement(Wi,null,a.createElement(Vi,null,a.createElement(Oi,null,e.title),a.createElement(Fi,null,e.subtitle)),a.createElement(Ii,null,a.createElement("div",{className:"mobile-only"},r("home.seeMore")),a.createElement("img",{src:R.getAssetPath("arrowRightGray.svg"),style:{width:"12px",height:"12px",marginTop:"2px",marginLeft:"5px"}})))};return a.createElement(ji,{href:s,"data-event-category":"Hamburger Navigation","data-event-action":"Engage Click ".concat(i+1),"data-event-label":s,"data-color":o},a.createElement("svg",{className:"bg-svg",width:"74",height:"121",viewBox:"0 0 74 121",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.createElement("path",{d:"M58.5713 53.428C40.6466 70.0213 12.9929 71.0875 -7.00506 84.9856C-24.9277 97.4005 -38.3893 120.472 -60.213 120.346C-73.3615 120.271 -84.9289 110.925 -91.9303 99.8138C-101.443 84.7327 -103.994 64.0482 -93.916 49.3276C-81.8133 31.6505 -56.6933 28.1101 -41.7246 12.7895C-35.4351 6.35117 -31.2212 -1.90115 -24.8564 -8.25051C-7.17639 -25.9054 34.9604 -29.7543 56.852 -16.9562C80.9056 -2.89888 77.046 36.3304 58.5713 53.428Z",strokeWidth:"0"})),a.createElement("img",{src:R.getAssetPath("navMBCardDotBg.svg"),className:"dot-svg",loading:"lazy",alt:""}),a.createElement(Gi,null,a.createElement("div",{className:"mobile-only"},d()),a.createElement("div",{className:"desktop-only"},p())),a.createElement("div",{className:"mobile-only"},p()),a.createElement("div",{className:"desktop-only"},d()))},Zi=function(n){var e=n.hrefViewMore,t=n.spotlightHealthTools,i=void 0===t?[]:t,o=T().t,r=["pink","orange","green"],l=c(ze).siteType;return a.createElement(ot,{title:o("home.navigator.menu.spotlightTools")},0!==i.length&&a.createElement(Ai,null,null==i?void 0:i.slice(0,3).map((function(n,e){return"marryBaby"===l?a.createElement(Yi,{key:e,index:e,item:n,color:r[e]}):a.createElement(Di,{key:e,index:e,item:n})}))),0===i.length&&a.createElement(nt,{title:o("home.navigator.menu.healthTools.noDatas.title"),description:o("home.navigator.menu.healthTools.noDatas.description"),link:e,cta:o("home.navigator.menu.healthTools.noDatas.cta"),icon:R.getAssetPath("community.svg")}))},Qi=function(n){var e,t=n.locale,i=n.onClose,o=n.isOpen,r=n.spotlightHealthTools,l=void 0===r?[]:r,s=n.healthTools,d=void 0===s?[]:s,p=T().t,m=c(ze).configs.statics,u="".concat(m.HOME_PAGE_URL).concat("tl-PH"===t?"/fil":"").concat((null===(e=y[t])||void 0===e?void 0:e.HEALTH_TOOLS)||"");return a.createElement(Ie,{onClosePopup:i,isDisplay:o,isNavMenu:!0},a.createElement(Qe,{hrefViewMore:u,UrlFE:m.HOME_PAGE_URL,onClosePopup:i,headingTitle:p("home.navigator.menuItem.healthToolsList"),titleBtnViewMore:p("home.navigator.menuItem.allHealthTools"),menuItems:d.map((function(n){return{name:n.title,link:n.link?n.link.startsWith("http")?n.link:"".concat(m.HOME_PAGE_URL).concat(n.link):void 0,thumbnail:n.icon}}))}),a.createElement(Zi,{spotlightHealthTools:l,hrefViewMore:u}))},Ki="_6gGCHV-",qi="YDzfyQU",Ji=function(n){var e=n.onCareHeaderClick,t=n.currentUrl,i=n.careUrlFe,o=n.btnName;return e?a.createElement(D,{className:Ki,size:"md",color:"primary",dataEventCategory:"Care",dataEventAction:"Navigation Bar Click",dataEventLabel:t,onClick:function(n){return e(n)}},o):a.createElement("a",{href:i,className:"".concat(qi," care-button no-replace-click")},a.createElement(D,{className:Ki,size:"md",color:"primary",dataEventCategory:"Care",dataEventAction:"Navigation Bar Click",dataEventLabel:t},o))};function Xi(n){var e=n.className;return a.createElement("div",null,a.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:e},a.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"})))}function $i(n){var e=n.siteType,t=n.type,i=n.enableSearch,o=n.className;return"helloSites"===e?a.createElement("div",null,a.createElement("img",{"data-list-type":"Header","data-content-type":"Navigation","data-content-topic":"Hamburger",src:i?R.getAssetPath("hamburgerMenuNewWithSearch.svg"):R.getAssetPath("hamburgerMenuNew.svg"),style:{width:"24px",height:"24px"},alt:t,className:o})):a.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:o},a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.34961 15C3.34961 14.641 3.64062 14.35 3.99961 14.35L13.9996 14.35C14.3586 14.35 14.6496 14.641 14.6496 15C14.6496 15.359 14.3586 15.65 13.9996 15.65L3.99961 15.65C3.64062 15.65 3.34961 15.359 3.34961 15ZM3.34961 8.99999C3.34961 8.64101 3.64062 8.34999 3.99961 8.34999L19.9992 8.34999C20.3582 8.34999 20.6492 8.64101 20.6492 8.99999C20.6492 9.35898 20.3582 9.64999 19.9992 9.64999L3.99961 9.64999C3.64062 9.64999 3.34961 9.35898 3.34961 8.99999Z",fill:"#3E3F58"}))}var no=S.div(eo||(eo=n(["\n position: fixed;\n z-index: 201;\n top: calc(100% + 1px); // border 1px\n width: 100%;\n height: calc(100vh - var(--header-bottom));\n overflow-x: hidden;\n overflow-y: auto;\n background: white;\n display: flex;\n flex-direction: column;\n padding-bottom: 0;\n left: 0;\n .hhgcomp-navigation-popupwrapper-menuwrapper {\n position: unset;\n }\n"],["\n position: fixed;\n z-index: 201;\n top: calc(100% + 1px); // border 1px\n width: 100%;\n height: calc(100vh - var(--header-bottom));\n overflow-x: hidden;\n overflow-y: auto;\n background: white;\n display: flex;\n flex-direction: column;\n padding-bottom: 0;\n left: 0;\n .hhgcomp-navigation-popupwrapper-menuwrapper {\n position: unset;\n }\n"])));S.div(to||(to=n(["\n position: fixed;\n bottom: 0;\n left: 0;\n display: flex;\n width: 100%;\n height: 72px;\n align-items: flex-start;\n justify-content: center;\n\n background: linear-gradient(0deg, #ffffff 0%, rgba(255, 255, 255, 0) 100%);\n\n .button-image {\n stroke-color: blue;\n }\n\n &[data-site-type='marryBaby'] {\n padding: 0 16px;\n .category-button {\n width: 100%;\n height: 48px;\n }\n }\n"],["\n position: fixed;\n bottom: 0;\n left: 0;\n display: flex;\n width: 100%;\n height: 72px;\n align-items: flex-start;\n justify-content: center;\n\n background: linear-gradient(0deg, #ffffff 0%, rgba(255, 255, 255, 0) 100%);\n\n .button-image {\n stroke-color: blue;\n }\n\n &[data-site-type='marryBaby'] {\n padding: 0 16px;\n .category-button {\n width: 100%;\n height: 48px;\n }\n }\n"]))),S.div(io||(io=n(["\n display: flex;\n\n &[data-card-array-no-margin-style='true'] {\n margin: 8px 0;\n\n & > div {\n width: 0;\n flex: 1;\n margin: 0 -1px;\n }\n }\n\n &[data-card-array-no-margin-style='false'] {\n margin: 8px -4px;\n\n & > div {\n flex: 1;\n margin: 0 4px;\n }\n }\n"],["\n display: flex;\n\n &[data-card-array-no-margin-style='true'] {\n margin: 8px 0;\n\n & > div {\n width: 0;\n flex: 1;\n margin: 0 -1px;\n }\n }\n\n &[data-card-array-no-margin-style='false'] {\n margin: 8px -4px;\n\n & > div {\n flex: 1;\n margin: 0 4px;\n }\n }\n"]))),S.div(oo||(oo=n(["\n margin-top: 64px;\n"],["\n margin-top: 64px;\n"]))),S.div(ao||(ao=n(["\n padding: 24px 0;\n"],["\n padding: 24px 0;\n"]))),S.div(ro||(ro=n(["\n display: flex;\n width: 100%;\n align-items: center;\n justify-content: center;\n\n & > div:first-child {\n margin-right: 8px;\n }\n"],["\n display: flex;\n width: 100%;\n align-items: center;\n justify-content: center;\n\n & > div:first-child {\n margin-right: 8px;\n }\n"]))),S.div(lo||(lo=n(["\n z-index: ",";\n align-items: center;\n\n border: 1px solid ",";\n background-color: ",";\n box-shadow: 0px 24px 32px rgba(0, 0, 0, 0.04),\n 0px 16px 24px rgba(0, 0, 0, 0.04), 0px 4px 8px rgba(0, 0, 0, 0.04),\n 0px 0px 1px rgba(0, 0, 0, 0.04);\n"],["\n z-index: ",";\n align-items: center;\n\n border: 1px solid ",";\n background-color: ",";\n box-shadow: 0px 24px 32px rgba(0, 0, 0, 0.04),\n 0px 16px 24px rgba(0, 0, 0, 0.04), 0px 4px 8px rgba(0, 0, 0, 0.04),\n 0px 0px 1px rgba(0, 0, 0, 0.04);\n"])),Pn,(function(n){return n.theme.colors.neutral50}),(function(n){return n.theme.colors.white})),S.div(so||(so=n(["\n position: relative;\n display: flex;\n flex-wrap: wrap;\n align-items: flex-start;\n justify-content: flex-start;\n padding: 48px 0;\n"],["\n position: relative;\n display: flex;\n flex-wrap: wrap;\n align-items: flex-start;\n justify-content: flex-start;\n padding: 48px 0;\n"]))),S.div(po||(po=n(["\n position: relative;\n display: flex;\n flex-wrap: wrap;\n align-items: flex-start;\n justify-content: flex-start;\n &[data-disabled-divider='false'] {\n border-right: 1px solid #e4e8ec;\n }\n"],["\n position: relative;\n display: flex;\n flex-wrap: wrap;\n align-items: flex-start;\n justify-content: flex-start;\n &[data-disabled-divider='false'] {\n border-right: 1px solid #e4e8ec;\n }\n"]))),S.div(co||(co=n(["\n width: 20%;\n padding-right: 16px;\n margin-bottom: 12px;\n\n & > a {\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 22px;\n }\n\n & > a:hover {\n color: ",";\n }\n\n .iconMenu {\n display: flex;\n align-items: center;\n\n > .imageContainer {\n display: flex;\n width: 32px;\n min-width: 32px;\n align-items: center;\n margin-right: 16px;\n }\n }\n"],["\n width: 20%;\n padding-right: 16px;\n margin-bottom: 12px;\n\n & > a {\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 22px;\n }\n\n & > a:hover {\n color: ",";\n }\n\n .iconMenu {\n display: flex;\n align-items: center;\n\n > .imageContainer {\n display: flex;\n width: 32px;\n min-width: 32px;\n align-items: center;\n margin-right: 16px;\n }\n }\n"])),(function(n){return n.theme.colors.gray800}),(function(n){return n.theme.sizes.fsParagraph4}),(function(n){return n.theme.sizes.fwRegular}),(function(n){return n.theme.colors.primaryBase})),S.div(mo||(mo=n(["\n display: none;\n"],["\n display: none;\n"]))),S.div(uo||(uo=n(["\n width: 33%;\n height: 48px;\n padding-right: 16px;\n margin-bottom: 12px;\n\n & > a {\n display: flex;\n align-items: center;\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 22px;\n\n & > :first-child {\n margin-right: 16px;\n }\n }\n\n & > a > p:hover {\n color: ",";\n }\n"],["\n width: 33%;\n height: 48px;\n padding-right: 16px;\n margin-bottom: 12px;\n\n & > a {\n display: flex;\n align-items: center;\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 22px;\n\n & > :first-child {\n margin-right: 16px;\n }\n }\n\n & > a > p:hover {\n color: ",";\n }\n"])),(function(n){return n.theme.colors.gray800}),(function(n){return n.theme.sizes.fsParagraph4}),(function(n){return n.theme.sizes.fwRegular}),(function(n){return n.theme.colors.primaryBase})),S.div(go||(go=n(["\n display: flex;\n align-items: center;\n\n padding-right: 16px;\n margin-bottom: 12px;\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 24px;\n\n &[data-theme='marryBaby'] {\n color: ",";\n }\n"],["\n display: flex;\n align-items: center;\n\n padding-right: 16px;\n margin-bottom: 12px;\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 24px;\n\n &[data-theme='marryBaby'] {\n color: ",";\n }\n"])),(function(n){return n.theme.colors.primaryBase}),(function(n){return n.theme.sizes.fsParagraph4}),(function(n){return n.theme.sizes.fwBold}),(function(n){return n.theme.mbColors.pink})),S.div(ho||(ho=n(["\n display: flex;\n align-items: center;\n\n margin-left: 10px;\n"],["\n display: flex;\n align-items: center;\n\n margin-left: 10px;\n"]))),S.div(fo||(fo=n(["\n position: absolute;\n top: 16px;\n right: 0;\n display: flex;\n align-items: center;\n cursor: pointer;\n"],["\n position: absolute;\n top: 16px;\n right: 0;\n display: flex;\n align-items: center;\n cursor: pointer;\n"]))),S.div(xo||(xo=n(["\n display: block;\n"],["\n display: block;\n"]))),S.div(vo||(vo=n(["\n .categories__spotlight {\n display: grid;\n margin: 16px;\n margin-bottom: 32px;\n grid-gap: 8px;\n grid-template-columns: 1fr 1fr;\n\n a {\n text-decoration: none;\n }\n }\n\n .categoryCard {\n display: flex;\n width: 100%;\n flex-direction: column;\n align-items: center;\n padding: 16px;\n border-radius: 6px;\n color: ",";\n\n svg {\n margin-bottom: 4px;\n }\n\n &.active {\n background: ",";\n box-shadow: 0px 16px 24px rgba(0, 0, 0, 0.06),\n 0px 2px 8px rgba(0, 0, 0, 0.04), 0px 0px 1px rgba(0, 0, 0, 0.04);\n color: white;\n }\n\n &:not(.active) {\n box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.04),\n 0px 0px 2px rgba(0, 0, 0, 0.06), 0px 0px 1px rgba(0, 0, 0, 0.04);\n }\n }\n\n .amp__menu-header {\n display: grid;\n grid-template-columns: 1fr 1fr 1fr;\n\n svg {\n margin-left: 16px;\n }\n\n > div {\n align-self: center;\n\n &:nth-child(2) {\n justify-self: center;\n }\n }\n }\n\n .logo {\n margin: 22px 0;\n }\n\n .categories {\n margin: 0 16px;\n\n li {\n display: block;\n width: 100%;\n\n + li {\n border-top: 1px solid\n ",";\n }\n\n a {\n display: block;\n margin: 12px 0;\n color: ",";\n text-decoration: none;\n }\n }\n }\n"],["\n .categories__spotlight {\n display: grid;\n margin: 16px;\n margin-bottom: 32px;\n grid-gap: 8px;\n grid-template-columns: 1fr 1fr;\n\n a {\n text-decoration: none;\n }\n }\n\n .categoryCard {\n display: flex;\n width: 100%;\n flex-direction: column;\n align-items: center;\n padding: 16px;\n border-radius: 6px;\n color: ",";\n\n svg {\n margin-bottom: 4px;\n }\n\n &.active {\n background: ",";\n box-shadow: 0px 16px 24px rgba(0, 0, 0, 0.06),\n 0px 2px 8px rgba(0, 0, 0, 0.04), 0px 0px 1px rgba(0, 0, 0, 0.04);\n color: white;\n }\n\n &:not(.active) {\n box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.04),\n 0px 0px 2px rgba(0, 0, 0, 0.06), 0px 0px 1px rgba(0, 0, 0, 0.04);\n }\n }\n\n .amp__menu-header {\n display: grid;\n grid-template-columns: 1fr 1fr 1fr;\n\n svg {\n margin-left: 16px;\n }\n\n > div {\n align-self: center;\n\n &:nth-child(2) {\n justify-self: center;\n }\n }\n }\n\n .logo {\n margin: 22px 0;\n }\n\n .categories {\n margin: 0 16px;\n\n li {\n display: block;\n width: 100%;\n\n + li {\n border-top: 1px solid\n ",";\n }\n\n a {\n display: block;\n margin: 12px 0;\n color: ",";\n text-decoration: none;\n }\n }\n }\n"])),(function(n){return n.theme.colors.primaryBase}),(function(n){return n.theme.colors.primaryBase}),(function(n){return n.theme.colors.neutral100}),(function(n){return n.theme.colors.gray800})),S.div(yo||(yo=n(["\n width: 20%;\n height: 2px;\n\n background-color: ",";\n border-radius: 2px;\n"],["\n width: 20%;\n height: 2px;\n\n background-color: ",";\n border-radius: 2px;\n"])),(function(n){return n.theme.mbColors.pink}));var eo,to,io,oo,ao,ro,lo,so,po,co,mo,uo,go,ho,fo,xo,vo,yo,bo,wo,Eo=S.div(bo||(bo=n(["\n padding: 16px;\n padding-bottom: 12px;\n .fake-search-input {\n pointer-events: none;\n input {\n line-height: 20px;\n padding-top: 10px;\n padding-bottom: 10px;\n }\n }\n &[data-theme='marryBaby'] {\n input {\n background: ",";\n border-radius: 16px;\n border: none;\n }\n }\n"],["\n padding: 16px;\n padding-bottom: 12px;\n .fake-search-input {\n pointer-events: none;\n input {\n line-height: 20px;\n padding-top: 10px;\n padding-bottom: 10px;\n }\n }\n &[data-theme='marryBaby'] {\n input {\n background: ",";\n border-radius: 16px;\n border: none;\n }\n }\n"])),(function(n){return n.theme.mbColors.lightGray})),ko=S.div(wo||(wo=n(["\n display: block;\n overflow-y: auto;\n flex: 1;\n padding-bottom: 16px;\n &::-webkit-scrollbar {\n width: 0;\n display: none;\n }\n"],["\n display: block;\n overflow-y: auto;\n flex: 1;\n padding-bottom: 16px;\n &::-webkit-scrollbar {\n width: 0;\n display: none;\n }\n"]))),Co=function(n){var e,t,i=n.closePopup,o=n.menuItems,r=void 0===o?[]:o,l=c(ze),s=l.siteType,d=l.ssrMenuContent,p=d.categories,m=d.healthTools,u=d.care,g=d.together,h=l.activeMenuService,f=l.configs,x=f.statics,v=f.enableSearchBar,b=l.locale,w=T().t;return a.createElement(no,{id:"categories-menu"},v?a.createElement(Eo,{"data-theme":s,onClick:function(){window.location.href="".concat(x.HOME_PAGE_URL,"/search")}},a.createElement(Se,null)):null,a.createElement(ko,null,a.createElement(Qe,{UrlFE:x.HOME_PAGE_URL,titleBtnViewMore:w("home.navigator.menuItem.allCategories"),menuItems:r,headingTitle:w("home.navigator.menuItem.healthCategories"),onClosePopup:i}),"categories"===h&&a.createElement(Dt,{spotlightsList:(null==p?void 0:p.spotlights)||[],hrefViewMore:"".concat(x.HOME_PAGE_URL).concat("tl-PH"===b?"/fil":"","/spotlight/")}),"tools"===h&&a.createElement(Zi,{spotlightHealthTools:null==m?void 0:m.spotlights,hrefViewMore:"".concat(x.HOME_PAGE_URL).concat("tl-PH"===b?"/fil":"").concat((null===(e=y[b])||void 0===e?void 0:e.HEALTH_TOOLS)||"")}),"care"===h&&a.createElement(Ct,{spotlights:null==u?void 0:u.spotlights,hrefViewMore:"".concat(x.CARE_URL_FE,"/").concat(null===(t=V[b])||void 0===t?void 0:t.SPECIALTIES)}),"together"===h&&a.createElement(mi,{spotlights:null==g?void 0:g.spotlights})))},Po="IQdn7tn",Bo="_1jX3mGY",No="arD755Y",_o=function(n){var e=n.type,t=void 0===e?"home":e,i=n.menuItems,o=c(ze),r=o.siteType,l=o.configs.enableSearchBar,s=rn(),d=s.containerRef,p=s.onContainerFocus,m=s.onContainerBlur,u=s.onButtonMouseDown,g=s.onClose;return a.createElement(an,{mediaQueryKey:"mbDown"},a.createElement("header",{className:Po},a.createElement("div",{className:Bo,ref:d,role:"button",tabIndex:0,onBlur:m,onFocus:p},a.createElement("div",{className:No,onMouseDown:u,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"Hamburger Navigation URL"},a.createElement(Xi,{className:"mobile-close-icon"}),a.createElement($i,{siteType:r,type:t,enableSearch:l,className:"mobile-hamburger-icon"})),a.createElement(Co,{menuItems:i,closePopup:g}))))},zo=S.div(Lo||(Lo=n(["\n z-index: 201;\n width: 100%;\n align-items: center;\n\n background-color: ",";\n\n transition: height 0.3s, transform 0.3s;\n\n &[data-site-type='helloSites'] {\n border-bottom: 1px solid\n ",";\n }\n\n &[data-marry-baby-tone='pink'] {\n background-color: ",";\n }\n\n "," {\n &[data-sitewide-banner-shown='true'][data-collapsed='true'] {\n transform: translateY(-64px);\n }\n }\n "," {\n &[data-site-type='marryBaby'] {\n border-bottom: none;\n }\n\n &[data-fixed-bar='true'] {\n position: fixed;\n transform: translateY(0);\n }\n\n &[data-fixed-bar='false'] {\n position: absolute;\n }\n\n &[data-collapsed='true'] {\n transform: translateY(-100%);\n transition: transform 0.5s;\n }\n &[data-collapsed='false'] {\n transform: translateY(0);\n transition: transform 0.5s;\n }\n\n .top-bar-header {\n line-height: normal;\n }\n\n &[data-header-type='home'] {\n z-index: ",";\n }\n\n &[data-header-type='popup'] {\n position: absolute;\n z-index: ",";\n }\n\n &[data-header-type='popup-sub-level'] {\n position: absolute;\n z-index: ",";\n }\n\n &[data-is-displayed='false'] {\n //display: none;\n visibility: hidden;\n }\n }\n\n .marry-baby {\n input {\n background: ",";\n border-radius: 16px;\n border: none;\n }\n max-width: 172px;\n }\n &[data-site-type='marryBaby'] {\n .close-btn {\n top: 16px;\n right: 16px;\n }\n }\n"],["\n z-index: 201;\n width: 100%;\n align-items: center;\n\n background-color: ",";\n\n transition: height 0.3s, transform 0.3s;\n\n &[data-site-type='helloSites'] {\n border-bottom: 1px solid\n ",";\n }\n\n &[data-marry-baby-tone='pink'] {\n background-color: ",";\n }\n\n "," {\n &[data-sitewide-banner-shown='true'][data-collapsed='true'] {\n transform: translateY(-64px);\n }\n }\n "," {\n &[data-site-type='marryBaby'] {\n border-bottom: none;\n }\n\n &[data-fixed-bar='true'] {\n position: fixed;\n transform: translateY(0);\n }\n\n &[data-fixed-bar='false'] {\n position: absolute;\n }\n\n &[data-collapsed='true'] {\n transform: translateY(-100%);\n transition: transform 0.5s;\n }\n &[data-collapsed='false'] {\n transform: translateY(0);\n transition: transform 0.5s;\n }\n\n .top-bar-header {\n line-height: normal;\n }\n\n &[data-header-type='home'] {\n z-index: ",";\n }\n\n &[data-header-type='popup'] {\n position: absolute;\n z-index: ",";\n }\n\n &[data-header-type='popup-sub-level'] {\n position: absolute;\n z-index: ",";\n }\n\n &[data-is-displayed='false'] {\n //display: none;\n visibility: hidden;\n }\n }\n\n .marry-baby {\n input {\n background: ",";\n border-radius: 16px;\n border: none;\n }\n max-width: 172px;\n }\n &[data-site-type='marryBaby'] {\n .close-btn {\n top: 16px;\n right: 16px;\n }\n }\n"])),(function(n){return n.theme.colors.white}),(function(n){return n.theme.colors.neutral100}),(function(n){return n.theme.mbColors.lightPink}),L.mbUp,L.mbDown,En,kn,Cn,(function(n){return n.theme.mbColors.lightGray})),Ao=S.div(So||(So=n(["\n display: flex;\n height: 100%;\n align-items: center;\n\n justify-content: space-between;\n padding: 0 2rem;\n height: 69px;\n "," {\n padding: 0 1rem;\n }\n\n "," {\n position: relative;\n height: 64px;\n background: white;\n gap: 1rem;\n }\n\n &[data-site-type='marryBaby'] {\n width: 100%;\n margin: 0 auto;\n padding: 0 16px;\n "," {\n max-width: 1064px;\n }\n }\n"],["\n display: flex;\n height: 100%;\n align-items: center;\n\n justify-content: space-between;\n padding: 0 2rem;\n height: 69px;\n "," {\n padding: 0 1rem;\n }\n\n "," {\n position: relative;\n height: 64px;\n background: white;\n gap: 1rem;\n }\n\n &[data-site-type='marryBaby'] {\n width: 100%;\n margin: 0 auto;\n padding: 0 16px;\n "," {\n max-width: 1064px;\n }\n }\n"])),L.pcDown,L.mbDown,L.tdUp),To=S.div(Uo||(Uo=n(["\n display: flex;\n align-items: center;\n height: 100%;\n gap: 24px;\n "," {\n gap: 16px;\n }\n &[data-site-type='marryBaby'] {\n gap: 26px;\n }\n"],["\n display: flex;\n align-items: center;\n height: 100%;\n gap: 24px;\n "," {\n gap: 16px;\n }\n &[data-site-type='marryBaby'] {\n gap: 26px;\n }\n"])),L.pcDown),Mo=S.div(Do||(Do=n([""],[""]))),Ho=S.div(jo||(jo=n(["\n display: flex;\n align-items: center;\n height: 100%;\n flex-shrink: 0.6;\n .hhgcomp-navigation-itemnav-headeritem {\n gap: 2px;\n "," {\n padding: 0 12px;\n }\n "," {\n padding: 0 6px;\n }\n "," {\n display: none;\n }\n a {\n text-decoration: none;\n }\n }\n &[data-site-type='marryBaby'] {\n gap: 26px;\n }\n"],["\n display: flex;\n align-items: center;\n height: 100%;\n flex-shrink: 0.6;\n .hhgcomp-navigation-itemnav-headeritem {\n gap: 2px;\n "," {\n padding: 0 12px;\n }\n "," {\n padding: 0 6px;\n }\n "," {\n display: none;\n }\n a {\n text-decoration: none;\n }\n }\n &[data-site-type='marryBaby'] {\n gap: 26px;\n }\n"])),L.pcUp,L.pcDown,L.mbDown);S.div(Ro||(Ro=n(["\n .fake-search-input {\n pointer-events: none;\n input {\n line-height: 20px;\n padding-top: 10px;\n padding-bottom: 10px;\n }\n }\n"],["\n .fake-search-input {\n pointer-events: none;\n input {\n line-height: 20px;\n padding-top: 10px;\n padding-bottom: 10px;\n }\n }\n"])));var Lo,So,Uo,Do,jo,Ro,Io,Oo,Fo,Go,Vo,Wo=S.div(Io||(Io=n(["\n margin-left: 16px;\n display: flex;\n gap: 12px;\n align-items: center;\n flex-shrink: 0;\n "," {\n margin-left: 8px;\n gap: 8px;\n }\n "," {\n margin-left: 12px;\n gap: 10px;\n }\n"],["\n margin-left: 16px;\n display: flex;\n gap: 12px;\n align-items: center;\n flex-shrink: 0;\n "," {\n margin-left: 8px;\n gap: 8px;\n }\n "," {\n margin-left: 12px;\n gap: 10px;\n }\n"])),L.pcDown,L.mbDown),Yo=S.div(Oo||(Oo=n(["\n display: flex;\n align-items: center;\n height: 100%;\n &[data-site-type='marryBaby'] {\n gap: 26px;\n }\n"],["\n display: flex;\n align-items: center;\n height: 100%;\n &[data-site-type='marryBaby'] {\n gap: 26px;\n }\n"]))),Zo=function(n){var e,t=n.onTopBarAppears,i=n.type,o=void 0===i?"home":i,r=n.languageMenu,p=n.menuItems,u=n.setSitewideBannerClosed,g=n.sitewideBannerClosed,h=c(ze),f=h.siteType,x=h.isMobile,y=void 0!==x&&x,w=h.locale,E=h.sitewideBanner,k=h.sitewideBannerShown,C=void 0===k||k,P=h.sponsorComponent,B=h.onBookingClick,N=h.currentUrl,_=h.onLoginClick,z=h.configs,H=z.statics,L=z.enableNavCareBooking,S=z.enableSearchBar,U=z.enableNavCare,D=z.enableProfileMyHealth,j=z.enableNavTogether,I=z.enableProfileEcom,O=z.enableProfileNavigatorMenu,F=h.userState.userInfo,G=h.onLogout,V=h.userProfileRouterPush,W=h.isUserLoading,Y=T().t,Z=H.SSO_URL,Q=H.HOME_PAGE_URL,K=!!P,q=d(!1),J=q[0],X=q[1],$=l(47),nn=l(null),en=l(!1),tn="helloSites"===f?null===(e=v[w])||void 0===e?void 0:e.LOGO_TYPE:f,on="undefined"!=typeof window,rn=m(M((function(){if("home"===o&&on){if(!nn.current)return;var n=nn.current.getBoundingClientRect();n.top<=0&&window.scrollY>$.current&&window.scrollY>n.height+20&&!en.current&&(en.current=!0,X(!0)),window.scrollY<$.current&&en.current&&(en.current=!1,X(!1)),window.scrollY>=0&&($.current=window.scrollY)}}),200),[]);s((function(){null==t||t(!J)}),[J]),s((function(){return window.addEventListener("scroll",rn,{passive:!0}),function(){window.removeEventListener("scroll",rn)}}),[]),s((function(){y&&rn()}),[y]);var ln=C&&!!E&&!g;return a.createElement(zo,{"data-site-type":f,"data-sponsored":K,"data-sitewide-banner-shown":ln,"data-header-type":o,"data-collapsed":J,"data-with-search-input":"popup-sub-level"!==o,"data-is-displayed":!0,id:"site-header",ref:nn},E?a.isValidElement(E)?a.cloneElement(E,{isCollapsed:J,setBannerClosed:u,isMobile:y}):E:null,a.createElement(Ao,{"data-site-type":f},a.createElement(To,{"data-site-type":f},a.createElement(_o,{menuItems:p,type:o}),a.createElement("a",{href:Q},a.createElement(Mo,null,a.createElement(A,{style:{display:"flex"},type:tn,badge:"id-ID"===w&&a.createElement("img",{src:R.getAssetPath("sehat-badge.png"),width:"56",height:"23"}),dateForSeasonal:new Date,locale:w,key:"undefined"!=typeof window?"client":"server"}))),"marryBaby"===f?a.createElement(Ko,{menuItems:p}):S&&a.createElement(Qo,{siteType:f})),a.createElement(Ho,{"data-site-type":f},"marryBaby"===f?S&&a.createElement(Qo,{siteType:f}):a.createElement(Ko,{menuItems:p}),a.createElement(Wo,null,L&&a.createElement(an,{mediaQueryKey:"mbUp"},a.createElement(Ji,{careUrlFe:H.CARE_URL_FE,currentUrl:N,btnName:Y("login.booking"),onCareHeaderClick:B})),r,a.createElement(Be,{userInfo:F,siteType:f,onLoginClick:_||function(){var n=window.location.href;window.location.href=Z?"".concat(Z,"?returnUrl=").concat(n):n},SSO_URL:_e(H.SSO_URL),currentUrl:N,onLogout:G,UP_BASEPATH:b,isMyHealthEnabled:D,enableCare:U,enableTogether:j,enableEcom:I,togetherApiDomain:_e(H.TOGETHER_API),isUserProfileNavigatorMenuHidden:!O,userProfileRouterPush:V,isLoading:W,locale:w})))),P?a.isValidElement(P)?a.cloneElement(P,{isCollapsed:J,locale:w,isMobile:y}):P:null)},Qo=function(n){var e=n.siteType;return a.createElement(an,{mediaQueryKey:"mbUp",className:"marryBaby"===e?"marry-baby":""},a.createElement(Se,null))},Ko=function(n){var e=n.menuItems,t=c(ze),i=t.siteType,o=t.locale,r=t.ssrMenuContent,l=r.categories,s=r.healthTools,d=r.care,p=r.together;return a.createElement(an,{mediaQueryKey:"mbUp",style:{height:"100%"}},a.createElement(Yo,{"data-site-type":i},null==e?void 0:e.map((function(n,e){return a.createElement(He,{key:e,item:n,menu:"categories"===n.popupType?a.createElement(jt,{categories:null==l?void 0:l.items,spotlightsList:null==l?void 0:l.spotlights}):"tools"===n.popupType?a.createElement(Qi,{locale:o,healthTools:null==s?void 0:s.items,spotlightHealthTools:null==s?void 0:s.spotlights}):"together"===n.popupType?a.createElement(ui,{communities:null==p?void 0:p.items,spotlights:null==p?void 0:p.spotlights}):"care"===n.popupType?a.createElement(Pt,{careSpecialties:null==d?void 0:d.items,spotlights:null==d?void 0:d.spotlights}):null})}))))},qo=S.div(Fo||(Fo=n(["\n --header-z-index: 305;\n top: 0;\n z-index: var(--header-z-index);\n\n "," {\n width: 100vw;\n max-width: 100%;\n }\n --amp-site-wide-closed: 2px;\n\n -webkit-transform: translateZ(0);\n position: sticky;\n\n &.nav-open {\n margin-top: 64px;\n }\n\n &:not(.nav-open) {\n --amp-site-wide-closed: 66px;\n }\n pointer-events: none;\n > section * {\n pointer-events: auto;\n }\n"],["\n --header-z-index: 305;\n top: 0;\n z-index: var(--header-z-index);\n\n "," {\n width: 100vw;\n max-width: 100%;\n }\n --amp-site-wide-closed: 2px;\n\n -webkit-transform: translateZ(0);\n position: sticky;\n\n &.nav-open {\n margin-top: 64px;\n }\n\n &:not(.nav-open) {\n --amp-site-wide-closed: 66px;\n }\n pointer-events: none;\n > section * {\n pointer-events: auto;\n }\n"])),L.mbDown);S.div(Go||(Go=n(["\n display: flex;\n align-items: center;\n gap: 8px;\n"],["\n display: flex;\n align-items: center;\n gap: 8px;\n"]))),S.a(Vo||(Vo=n(["\n &[data-is-active='true'] {\n color: unset;\n }\n font-size: 14px;\n font-weight: 700;\n line-height: 22px;\n text-decoration: none;\n"],["\n &[data-is-active='true'] {\n color: unset;\n }\n font-size: 14px;\n font-weight: 700;\n line-height: 22px;\n text-decoration: none;\n"])));var Jo=function(n){var t,i,o=n.isMobile,p=n.locale,g=n.onTopBarAppears,h=n.languageOptions,f=n.sponsorComponent,x=n.sitewideBanner,v=n.sitewideBannerShown,b=n.className,w=d(!1),E=w[0],k=w[1],C=function(){var n=T().t,e=c(ze),t=e.siteType,i=e.locale,o=e.configs,a=o.enableNavCare,l=o.enableNavTogether,s=o.enableNavEcom,d=o.statics,p="marryBaby"===t,m=r((function(){var e,t=[{name:n("home.navigator.menuItem.discover"),id:"categories",link:"".concat(d.HOME_PAGE_URL).concat("tl-PH"===i?"/fil":"","/categories"),niceName:"",thumbnail:p?R.getAssetPath("categories-mb.svg"):R.getAssetPath("discover.png"),popupType:"categories"},{name:n("home.navigator.menuItem.healthTools"),id:"tools",link:"".concat(d.HOME_PAGE_URL).concat("tl-PH"===i?"/fil":"").concat((null===(e=y[i])||void 0===e?void 0:e.HEALTH_TOOLS)||""),thumbnail:p?R.getAssetPath("healthtools-mb.svg"):R.getAssetPath("healthTools.png"),popupType:"tools"}];return a&&t.push({name:n("home.navigator.menuItem.helloCare"),id:"care",link:Ne(d.HOME_PAGE_URL+"/care"),thumbnail:R.getAssetPath("helloCare-thumbnail.png"),popupType:"zh-TW"===i?null:"care"}),l&&t.push({name:n("home.navigator.menuItem.helloTogether"),id:"together",link:Ne(d.TOGETHER_URL_FE+"/"),thumbnail:p?R.getAssetPath("community-mb.svg"):R.getAssetPath("together.png"),popupType:"together"}),s&&t.push({name:n("home.navigator.menuItem.helloEcom"),id:"ecom",link:Ne(d.HOME_PAGE_URL+"/ecom"),thumbnail:R.getAssetPath("helloCare-thumbnail.png"),popupType:"shop"}),t}),[i,a,l,s]);return m}();!function(){var n=c(ze),t=n.isFirstLogin,i=n.userState.userInfo;s((function(){(null==i?void 0:i.id)&&(t?(null==i?void 0:i.email)&&""!==(null==i?void 0:i.email)?window.insider_object={user:e({uuid:null==i?void 0:i.id,email:null==i?void 0:i.email,gdpr_optin:!0,email_optin:!0,sign_up:!0},(null==i?void 0:i.name)?{name:null==i?void 0:i.name}:{})}:window.insider_object={user:e({uuid:null==i?void 0:i.id,sign_up:!0},(null==i?void 0:i.name)?{name:null==i?void 0:i.name}:{})}:(null==i?void 0:i.email)&&""!==(null==i?void 0:i.email)?window.insider_object={user:e({uuid:null==i?void 0:i.id,email:null==i?void 0:i.email,gdpr_optin:!0,email_optin:!0,log_in:!0},(null==i?void 0:i.name)?{name:null==i?void 0:i.name}:{})}:window.insider_object={user:e({uuid:null==i?void 0:i.id,log_in:!0},(null==i?void 0:i.name)?{name:null==i?void 0:i.name}:{})})}),[])}();var P=function(n){var e=n.hasSponsoredBanners,t=n.isSiteWide,i=n.isSponsored,o=n.isShowingSiteWideBanner,a=n.isMobile,p=l(null),c=d(0),u=c[0],g=c[1],h=d(64),f=h[0],x=h[1],v=m(X((function(){var n,e,t,i,o=(null===(n=p.current)||void 0===n?void 0:n.clientHeight)||(null===(t=null===(e=p.current)||void 0===e?void 0:e.children[0])||void 0===t?void 0:t.clientHeight)||0;window.scrollY<=o+200&&(g(o),x((null===(i=p.current)||void 0===i?void 0:i.getBoundingClientRect().bottom)||u))}),200),[]);s((function(){return window.addEventListener("resize",v,{passive:!0}),window.addEventListener("scroll",v,{passive:!0}),v(),function(){window.removeEventListener("resize",v),window.removeEventListener("scroll",v)}}),[]),s((function(){v()}),[a,t,o,i,e,p.current]);var y=r((function(){var n=a?64:69;return o&&(n+=64),i&&(n+=40,e&&(n+=57)),n}),[a,o,e,i]);return{defaultHeaderHeight:y,headerHeight:u||y,headerBottom:f,headerRef:p}}({isSiteWide:!!x&&!E,isShowingSiteWideBanner:v&&!!x&&!E,isSponsored:!!f,hasSponsoredBanners:!!(null===(i=null===(t=null==f?void 0:f.props)||void 0===t?void 0:t.sponsoredBy)||void 0===i?void 0:i.length),isMobile:o}),B=P.headerRef,N=P.defaultHeaderHeight,_=P.headerHeight,z=P.headerBottom;return a.createElement(qo,{id:"navigation-v2",style:{"--default-header-height":N+"px","--header-height":"calc(".concat(_,"px - var(--amp-site-wide-closed), 64px)"),"--header-bottom":z+"px"},className:b},a.createElement("section",{ref:B},a.createElement(Zo,{menuItems:C,type:"home",onTopBarAppears:o?function(n){g&&g(n)}:void 0,languageMenu:a.createElement(u,{languageOptions:h,locale:p}),setSitewideBannerClosed:k,sitewideBannerClosed:E})))},Xo=function(n){var t=e({siteType:"helloSites",projectType:"discover",locale:"vi-VN",activeMenuService:"categories",ssrMenuContent:{}},n);return a.createElement(Ae,e({},t),a.createElement(Jo,e({},t)))},$o=function(n){return t(void 0,void 0,void 0,(function(){var e,t,o,a,r,l,s,d,p,c,m,u,f,v,y,b,w,E,B,z,A,T,M,H,L,S,U,D,j,R,I,O,F,G,V,W;return i(this,(function(i){switch(i.label){case 0:e={},t="vi-VN_MB"===n,i.label=1;case 1:i.trys.push([1,14,,15]),o="tl-PH"===n?"lang=fil":"",i.label=2;case 2:return i.trys.push([2,4,,5]),[4,Promise.all([fetch("".concat(C(n),"/wp-json/api/categories").concat(o?"?"+o:"")).then((function(n){return n.json()})),fetch("".concat(C(n),"/wp-json/api/spotlights?per_page=10").concat(o?"&"+o:"")).then((function(n){return n.json()})),fetch("".concat(C(n),"/wp-json/api/").concat(t?"health-tools":"healthtools").concat(o?"?"+o:"")).then((function(n){return n.json()})),fetch("".concat(C(n),"/wp-json/api/").concat(t?"health-tools":"healthtools","/favorites").concat(o?"?"+o:"")).then((function(n){return n.json()}))])];case 3:return a=i.sent(),r=a[0],l=a[1],s=a[2],d=a[3],e.categories={items:(null===(w=null===(b=null==r?void 0:r.data)||void 0===b?void 0:b.map)||void 0===w?void 0:w.call(b,Bn))||[],spotlights:(null===(A=null===(z=null===(B=null===(E=null==l?void 0:l.data)||void 0===E?void 0:E.articles)||void 0===B?void 0:B.map)||void 0===z?void 0:z.call(B,Tn))||void 0===A?void 0:A.filter(Mn))||[]},e.healthTools={items:(null===(M=null===(T=null==s?void 0:s.data)||void 0===T?void 0:T.map)||void 0===M?void 0:M.call(T,Nn))||[],spotlights:(null===(L=null===(H=null==d?void 0:d.data)||void 0===H?void 0:H.map)||void 0===L?void 0:L.call(H,Nn))||[]},[3,5];case 4:return i.sent(),[3,5];case 5:if(!t&&!x.includes(n))return[3,9];i.label=6;case 6:return i.trys.push([6,8,,9]),[4,Promise.all([fetch("".concat(k(),"/api/v1/community?website_url=https://").concat(g[n])).then((function(n){return n.json()})),fetch("".concat(k(),"/api/v1/options?website_url=https://").concat(g[n],"&meta_key=popular_post")).then((function(n){return n.json()}))])];case 7:return p=i.sent(),c=p[0],m=p[1],e.together={items:(null===(D=null===(U=null===(S=null==c?void 0:c.data)||void 0===S?void 0:S.communities)||void 0===U?void 0:U.map)||void 0===D?void 0:D.call(U,N))||[],spotlights:(null===(I=null===(R=null===(j=null==m?void 0:m.data)||void 0===j?void 0:j.posts)||void 0===R?void 0:R.map)||void 0===I?void 0:I.call(R,_))||[]},[3,9];case 8:return i.sent(),[3,9];case 9:if(!h.includes(n))return[3,13];i.label=10;case 10:return i.trys.push([10,12,,13]),[4,Promise.all([fetch(P()+"/api/specialties?_ishome=1&site=".concat(g[n])).then((function(n){return n.json()})),fetch(P()+"/api/search/?site=".concat(g[n],"&type=hospital&order_by=total_doctor")).then((function(n){return n.json()}))])];case 11:return u=i.sent(),f=u[0],v=u[1],e.care={items:(null===(G=null===(F=null===(O=null==f?void 0:f._data)||void 0===O?void 0:O.specialties)||void 0===F?void 0:F.map)||void 0===G?void 0:G.call(F,_n))||[],spotlights:(null===(W=null===(V=null==v?void 0:v._data.searches)||void 0===V?void 0:V.map)||void 0===W?void 0:W.call(V,zn))||[]},[3,13];case 12:return i.sent(),[3,13];case 13:return[3,15];case 14:return y=i.sent(),console.error(y),[3,15];case 15:return[2,e]}}))}))},na=function(n){return t(void 0,void 0,void 0,(function(){return i(this,(function(e){switch(e.label){case 0:return[4,$("nav-menu-content",(function(){return $o(n||"en-PH")}),(function(n){var e,t;return!!(null===(t=null===(e=null==n?void 0:n.categories)||void 0===e?void 0:e.items)||void 0===t?void 0:t.length)}))];case 1:return[2,e.sent()||{}]}}))}))};export{Xo as N,Pe as P,ke as U,na as a,Sn as b,Ee as c,dn as d,Be as e,$o as g};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import n,{useState as e}from"react";import{F as t}from"./index-
|
|
1
|
+
import n,{useState as e}from"react";import{F as t}from"./index-f74101a0.js";import{a as o}from"./tslib.es6-33285504.js";import i from"styled-components";import{T as r}from"./index-933da36a.js";import{CommonGAssets as l}from"./gAssets.js";var a,d,s,p,c,u,h=i.a(a||(a=o(["\n display: inline-flex;\n position: relative;\n flex-direction: row;\n align-items: center;\n padding: 7px 11px;\n gap: 2px;\n\n background: ",";\n border: 1px solid ",";\n border-radius: 20px;\n\n color: ",";\n font-weight: 600;\n font-size: 12px;\n line-height: 18px;\n text-decoration: none;\n\n cursor: pointer;\n"],["\n display: inline-flex;\n position: relative;\n flex-direction: row;\n align-items: center;\n padding: 7px 11px;\n gap: 2px;\n\n background: ",";\n border: 1px solid ",";\n border-radius: 20px;\n\n color: ",";\n font-weight: 600;\n font-size: 12px;\n line-height: 18px;\n text-decoration: none;\n\n cursor: pointer;\n"])),(function(n){return n.theme.colors.white}),(function(n){return n.theme.colors.neutral100}),(function(n){return n.theme.colors.gray600})),f=i.div(d||(d=o(["\n position: relative;\n display: inline-block;\n"],["\n position: relative;\n display: inline-block;\n"]))),x=i.div(s||(s=o(["\n position: relative;\n"],["\n position: relative;\n"]))),g=i.div(p||(p=o(["\n position: absolute;\n z-index: 21;\n top: 100%;\n right: 0;\n width: 327px;\n padding: 8px;\n background: white;\n border-radius: 4px;\n filter: drop-shadow(0px 8px 40px rgba(0, 0, 0, 0.1));\n\n &[data-is-open='false'] {\n display: none;\n }\n &[data-show-indicator='true'] {\n &:before {\n position: absolute;\n right: 11px;\n bottom: 100%;\n width: 0;\n height: 0;\n border: 0.5rem solid transparent;\n border-top: none;\n border-bottom-color: #fff;\n content: '';\n filter: drop-shadow(0 -0.0625rem 0.0625rem rgba(0, 0, 0, 0.1));\n }\n }\n"],["\n position: absolute;\n z-index: 21;\n top: 100%;\n right: 0;\n width: 327px;\n padding: 8px;\n background: white;\n border-radius: 4px;\n filter: drop-shadow(0px 8px 40px rgba(0, 0, 0, 0.1));\n\n &[data-is-open='false'] {\n display: none;\n }\n &[data-show-indicator='true'] {\n &:before {\n position: absolute;\n right: 11px;\n bottom: 100%;\n width: 0;\n height: 0;\n border: 0.5rem solid transparent;\n border-top: none;\n border-bottom-color: #fff;\n content: '';\n filter: drop-shadow(0 -0.0625rem 0.0625rem rgba(0, 0, 0, 0.1));\n }\n }\n"]))),m=i.div(c||(c=o(["\n display: flex;\n height: 40px;\n align-items: center;\n justify-content: space-between;\n\n padding: 0 16px;\n border-radius: 6px;\n cursor: pointer;\n\n .check-icon {\n width: 16px;\n height: 16px;\n }\n &[data-selected='false'] {\n background-color: ",";\n }\n"],["\n display: flex;\n height: 40px;\n align-items: center;\n justify-content: space-between;\n\n padding: 0 16px;\n border-radius: 6px;\n cursor: pointer;\n\n .check-icon {\n width: 16px;\n height: 16px;\n }\n &[data-selected='false'] {\n background-color: ",";\n }\n"])),(function(n){return n.theme.colors.gray100})),b=i.div(u||(u=o(["\n position: fixed;\n z-index: 20;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n cursor: default;\n"],["\n position: fixed;\n z-index: 20;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n cursor: default;\n"]))),v=function(t){var o=t.options,i=t.label,a=t.labelRenderer,d=t.selected,s=t.onChange,p=t.showSelected,c=void 0===p||p,u=t.style,h=void 0===u?{}:u,v=t.showIndicator,w=void 0===v||v,y=e(!1),k=y[0],E=y[1];return n.createElement(n.Fragment,null,n.createElement(f,null,n.createElement(x,{onClick:function(){return E((function(n){return!n}))}},i||(null==a?void 0:a(k))||null,n.createElement(g,{"data-is-open":k,style:h,"data-show-indicator":w},o.map((function(e,t){return n.createElement(m,{key:t,"data-selected":c&&d===e.value,onClick:function(n){d!==e.value&&(s(e.value),E((function(n){return!n}))),n.stopPropagation()}},n.createElement(r,{size:"p3"},e.label),c&&d===e.value&&n.createElement("img",{src:l.getAssetPath("check.svg"),alt:"check",className:"check-icon"}))}))))),k&&n.createElement(b,{onClick:function(){return E(!1)}}))},w=function(e){var t,o,i=e.languageOptions,r=e.locale,l=null==i?void 0:i.find((function(n){return n.locale===r}));return(null==i?void 0:i.length)?n.createElement(v,{options:i,selected:l.value,label:n.createElement(y,{locale:r,label:l.label||(null===(o=null===(t=r.split("-"))||void 0===t?void 0:t[0])||void 0===o?void 0:o.toUpperCase())}),onChange:function(n){"undefined"!=typeof window&&(window.location.href=n)},style:{width:100},showSelected:!0,showIndicator:!1}):null},y=function(e){var o,i,r,l=e.locale,a=e.label,d=e.href;return n.createElement(h,{href:d},n.createElement(t,{country:null===(i=null===(o=null==l?void 0:l.split("-"))||void 0===o?void 0:o[1])||void 0===i?void 0:i.toUpperCase(),width:16,height:16,rounded:!0,language:null===(r=null==l?void 0:l.split("-"))||void 0===r?void 0:r[0]}),n.createElement("span",null,a))};export{w as L};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as n,d as e,_ as r}from"./tslib.es6-
|
|
1
|
+
import{a as n,d as e,_ as r}from"./tslib.es6-33285504.js";import o from"react";import{t as i}from"./theme-29327177.js";import t from"styled-components";import{u as a}from"./useTranslations-4b9465a3.js";import{I as d}from"./index-2a59135f.js";import{I as s}from"./index-ffb0d6ff.js";import{M as p}from"./index-c9270726.js";import{T as c}from"./index-933da36a.js";import{h as l}from"./animation-70b1a99d.js";var f,b,u=t.div(f||(f=n(["\n min-width: 212px;\n width: ",";\n background-color: #ffffff;\n border-radius: 6px;\n overflow: hidden;\n filter: drop-shadow(0px 10px 16px rgba(0, 0, 0, 0.04))\n drop-shadow(0px 2px 8px rgba(0, 0, 0, 0.04))\n drop-shadow(0px 0px 1px rgba(0, 0, 0, 0.04));\n ul {\n list-style: none;\n }\n"],["\n min-width: 212px;\n width: ",";\n background-color: #ffffff;\n border-radius: 6px;\n overflow: hidden;\n filter: drop-shadow(0px 10px 16px rgba(0, 0, 0, 0.04))\n drop-shadow(0px 2px 8px rgba(0, 0, 0, 0.04))\n drop-shadow(0px 0px 1px rgba(0, 0, 0, 0.04));\n ul {\n list-style: none;\n }\n"])),(function(n){return n.width+"px"})),x=t.li(b||(b=n(["\n background-color: inherit;\n display: flex;\n align-items: center;\n justify-content: left;\n gap: 10px;\n padding: 10px 16px;\n cursor: pointer;\n transition: background-color 200ms ease-in-out;\n &:hover {\n background-color: ",";\n }\n .icon {\n width: 16px;\n height: 16px;\n }\n"],["\n background-color: inherit;\n display: flex;\n align-items: center;\n justify-content: left;\n gap: 10px;\n padding: 10px 16px;\n cursor: pointer;\n transition: background-color 200ms ease-in-out;\n &:hover {\n background-color: ",";\n }\n .icon {\n width: 16px;\n height: 16px;\n }\n"])),i.colors.neutral50),m=function(n){var i=n.children,t=n.width,a=void 0===t?300:t,d=e(n,["children","width"]);return o.createElement(u,r({},d,{width:a}),o.createElement("ul",null,i))};m.Item=function(n){var i=n.icon,t=n.children,a=e(n,["icon","children"]);return o.createElement(x,r({},a),i&&o.createElement("div",{className:"icon"},i),t)};var h,g="300ms",w=t.div(h||(h=n(["\n background: ",";\n border-radius: 6px;\n padding: 16px 20px;\n .title {\n display: flex;\n justify-content: space-between;\n align-items: center;\n padding: 0;\n padding-bottom: 16px;\n border-bottom: none;\n }\n\n &[data-is-mb='true'] {\n background: #ffffff;\n border: 1px solid #e0e9fb;\n border-radius: 16px;\n input {\n border-radius: 16px;\n }\n }\n\n &[data-isActive='true'] {\n border: 1px solid #2661ad;\n }\n\n &[data-is-mb='false'] .radio {\n cursor: pointer;\n position: relative;\n min-width: 22px;\n width: 22px;\n height: 22px;\n background: #ffffff;\n border: 2px solid ",";\n border-radius: 50%;\n transition: all "," ease-in-out;\n &.active {\n border-color: ",";\n &::before {\n content: '';\n position: absolute;\n inset: 0;\n width: 100%;\n height: 100%;\n background-color: ",";\n background-clip: content-box;\n padding: 5px;\n border-radius: 50%;\n animation: "," "," ease-in-out forwards;\n }\n }\n }\n\n &[data-is-mb='true'] .radio {\n cursor: pointer;\n position: relative;\n min-width: 22px;\n width: 22px;\n height: 22px;\n background: #ffffff;\n border: 1.3px solid #9495a0;\n border-radius: 10px;\n transition: all "," ease-in-out;\n &.active {\n border: none;\n &::before {\n content: '';\n position: absolute;\n inset: 0;\n width: 100%;\n height: 100%;\n padding: 0;\n border-radius: 10px;\n animation: "," "," ease-in-out forwards;\n }\n }\n }\n"],["\n background: ",";\n border-radius: 6px;\n padding: 16px 20px;\n .title {\n display: flex;\n justify-content: space-between;\n align-items: center;\n padding: 0;\n padding-bottom: 16px;\n border-bottom: none;\n }\n\n &[data-is-mb='true'] {\n background: #ffffff;\n border: 1px solid #e0e9fb;\n border-radius: 16px;\n input {\n border-radius: 16px;\n }\n }\n\n &[data-isActive='true'] {\n border: 1px solid #2661ad;\n }\n\n &[data-is-mb='false'] .radio {\n cursor: pointer;\n position: relative;\n min-width: 22px;\n width: 22px;\n height: 22px;\n background: #ffffff;\n border: 2px solid ",";\n border-radius: 50%;\n transition: all "," ease-in-out;\n &.active {\n border-color: ",";\n &::before {\n content: '';\n position: absolute;\n inset: 0;\n width: 100%;\n height: 100%;\n background-color: ",";\n background-clip: content-box;\n padding: 5px;\n border-radius: 50%;\n animation: "," "," ease-in-out forwards;\n }\n }\n }\n\n &[data-is-mb='true'] .radio {\n cursor: pointer;\n position: relative;\n min-width: 22px;\n width: 22px;\n height: 22px;\n background: #ffffff;\n border: 1.3px solid #9495a0;\n border-radius: 10px;\n transition: all "," ease-in-out;\n &.active {\n border: none;\n &::before {\n content: '';\n position: absolute;\n inset: 0;\n width: 100%;\n height: 100%;\n padding: 0;\n border-radius: 10px;\n animation: "," "," ease-in-out forwards;\n }\n }\n }\n"])),i.colors.gray50,i.colors.gray600,g,i.colors.primaryBase,i.colors.primaryBase,l,g,g,l,g),v=function(n){var e=n.isActive,r=n.onChange,t=n.value,l=void 0===t?"":t,f=n.onInputChange,b=n.siteType,u=a().t,x="marryBaby"===b;return o.createElement(w,{onClick:function(){return r("new")},"data-is-mb":x,"data-isActive":x&&e},"marryBaby"===b?o.createElement("div",{className:"title"},o.createElement(p,{type:"bodytext-1",color:i.colors.gray800},u("chooseBaby.new")),o.createElement("div",{className:e?"radio active":"radio"},e&&o.createElement(d.CheckActiveMB,{size:26}))):o.createElement("div",{className:"title"},o.createElement(c,{size:"p2",color:i.colors.gray800},u("chooseBaby.new")),o.createElement("div",{className:e?"radio active":"radio"})),o.createElement(s,{name:"name",value:l,size:"md",placeholder:u("chooseBaby.placeholder"),type:"text",onChange:f}))};export{m as M,v as N};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{_ as e,b as t,c as r,a as i,d as o}from"./tslib.es6-
|
|
1
|
+
import{_ as e,b as t,c as r,a as i,d as o}from"./tslib.es6-33285504.js";import n,{createContext as a,useState as s,useEffect as l,useContext as u}from"react";import{g as _}from"./cookieHelper-fdb513d9.js";import c from"slugify";import d from"string-format";import{L as E,B as p,d as T}from"./constants-15976e5c.js";import m from"styled-components";
|
|
2
2
|
/*!
|
|
3
3
|
* cookie
|
|
4
4
|
* Copyright(c) 2012-2014 Roman Shtylman
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as n,d as e,_ as r}from"./tslib.es6-
|
|
1
|
+
import{a as n,d as e,_ as r}from"./tslib.es6-33285504.js";import o,{useMemo as i}from"react";import{CommonGAssets as t}from"./gAssets.js";import{t as l}from"./theme-29327177.js";import{T as a}from"./index-933da36a.js";import c from"styled-components";import{L as s}from"./Locale-5b2e2812.js";import{C as d}from"./index-e56af69f.js";var p,u,m,x,g,b=c.div(p||(p=n(["\n display: inline-flex;\n overflow: hidden;\n width: ","px;\n height: ","px;\n box-sizing: border-box;\n align-items: center;\n justify-content: center;\n\n border: 1px solid #e4e8ec;\n background-color: ",";\n border-radius: ",";\n & > * {\n width: ","px;\n height: ","px;\n }\n"],["\n display: inline-flex;\n overflow: hidden;\n width: ","px;\n height: ","px;\n box-sizing: border-box;\n align-items: center;\n justify-content: center;\n\n border: 1px solid #e4e8ec;\n background-color: ",";\n border-radius: ",";\n & > * {\n width: ","px;\n height: ","px;\n }\n"])),(function(n){return n.size}),(function(n){return n.size}),(function(n){return n.backgroundColor||l.colors.white}),(function(n){return n.borderRadius||"50%"}),(function(n){return n.iconSize}),(function(n){return n.iconSize})),h=c.div(u||(u=n(["\n display: inline-block;\n height: 108px;\n background-color: ",";\n border-radius: 60px;\n cursor: pointer;\n &.selected-week-pill {\n background-color: ",";\n }\n\n & > div:first-child {\n margin: 4px 4px 0;\n }\n\n & > p {\n margin-top: 8px;\n text-align: center;\n }\n\n & > * {\n pointer-events: none;\n }\n"],["\n display: inline-block;\n height: 108px;\n background-color: ",";\n border-radius: 60px;\n cursor: pointer;\n &.selected-week-pill {\n background-color: ",";\n }\n\n & > div:first-child {\n margin: 4px 4px 0;\n }\n\n & > p {\n margin-top: 8px;\n text-align: center;\n }\n\n & > * {\n pointer-events: none;\n }\n"])),(function(n){return n.theme.colors.white}),(function(n){return n.theme.colors.pink100})),f=[s.Myanmar,s.Taiwan],w=c((function(n){var c=n.icon,s=n.name,d=n.className,p=n.locale,u=void 0===p?"en-PH":p,m=n.onSelect,x=e(n,["icon","name","className","locale","onSelect"]),g=i((function(){return null==d?void 0:d.includes("selected-week-pill")}),[d]);return o.createElement(h,r({onClick:m,className:d?"week-pill".concat(" non-pointer-event-child ",d):"week-pill non-pointer-event-child"},x),o.createElement(b,{size:64,iconSize:40,backgroundColor:l.colors.white},o.createElement("img",{src:c||t.getAssetPath("week_default.png"),alt:""})),g?o.createElement(a,r({type:"semiBold",size:"n1",color:l.colors.gray800},f.includes(u)&&{style:{fontSize:"10px"}}),s):o.createElement(a,r({size:"n1",color:l.colors.gray600},f.includes(u)&&{style:{fontSize:"10px"}}),s))}))(m||(m=n(["\n box-shadow: 0px 0px 24px rgba(0, 0, 0, 0.08);\n"],["\n box-shadow: 0px 0px 24px rgba(0, 0, 0, 0.08);\n"]))),k=c(d.Slide)(x||(x=n([""],[""]))),v=c(d)(g||(g=n(["\n .centerred-pill-wrapper {\n padding: 16px 0;\n }\n"],["\n .centerred-pill-wrapper {\n padding: 16px 0;\n }\n"]))),y=function(n){var i=n.data,t=n.isMobile,l=n.onSlideChange,a=n.pillProps,c=n.locale,d=void 0===c?s.Vietnam:c,p=n.blurFromIndex,u=n.blurLength,m=e(n,["data","isMobile","onSlideChange","pillProps","locale","blurFromIndex","blurLength"]),x={withControls:!t,slideGap:16,blurFromCenter:!0,blurFromIndex:p||(t?2:4),blurLength:u||(t?1:3),onSlideChange:l};return o.createElement(v,r({},x,m),(function(n){return i.map((function(e,i){return o.createElement(k,r({key:i,onClick:l},a),o.createElement("div",{className:"centerred-pill-wrapper"},o.createElement(w,{locale:d,name:e.name,icon:e.icon,className:i===n?"selected-week-pill":""})))}))}))};export{y as P};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as n,_ as e,d as t,b as r,c as a}from"./tslib.es6-
|
|
1
|
+
import{a as n,_ as e,d as t,b as r,c as a}from"./tslib.es6-33285504.js";import o,{forwardRef as i,useState as l,useEffect as s}from"react";import{Image as c,Radio as u}from"@mantine/core";import{CommonGAssets as m}from"./gAssets.js";import{DatePicker as d,DateRangePicker as f}from"@mantine/dates";import p,{css as g}from"styled-components";import{t as h}from"./theme-29327177.js";import{c as v}from"./index-f2b934b9.js";import{P as y,a as C,I as E,b,c as w,M as P,d as j,T as S,V as x,C as N}from"./Vietnam-764f514e.js";import{s as D}from"./index-09386d94.js";var I,R,k,A,W=p(d)(R||(R=n(["\n position: relative;\n ","\n"],["\n position: relative;\n ","\n"])),(function(e){return e.fullWidth&&g(I||(I=n(["\n .mantine-DatePicker-dropdown {\n min-width: 100%;\n display: flex;\n justify-content: center;\n align-items: center;\n }\n "],["\n .mantine-DatePicker-dropdown {\n min-width: 100%;\n display: flex;\n justify-content: center;\n align-items: center;\n }\n "])))})),O=p(f)(A||(A=n(["\n position: relative;\n ","\n"],["\n position: relative;\n ","\n"])),(function(e){return e.fullWidth&&g(k||(k=n(["\n .mantine-DateRangePicker-dropdown {\n min-width: 100%;\n display: flex;\n justify-content: center;\n align-items: center;\n }\n "],["\n .mantine-DateRangePicker-dropdown {\n min-width: 100%;\n display: flex;\n justify-content: center;\n align-items: center;\n }\n "])))})),V=function(n){return o.createElement(W,e({size:"md",clearable:!1,fullWidth:!0,styles:{rightSection:{pointerEvents:"none",cursor:"default"}},rightSection:o.createElement(c,{src:m.getAssetPath("OutlineCalendar.svg"),width:16,height:16})},n))};V.Range=function(n){return o.createElement(O,e({size:"md",clearable:!1,fullWidth:!0,styles:{rightSection:{pointerEvents:"none",cursor:"default"}},rightSection:o.createElement(c,{src:m.getAssetPath("OutlineCalendar.svg"),width:16,height:16})},n))};var H,M=p(u)(H||(H=n(["\n .mantine-Radio-icon {\n color: ",";\n }\n"],["\n .mantine-Radio-icon {\n color: ",";\n }\n"])),(function(n){return n.color||h.colors.primaryBase})),z=function(n){return o.createElement(M,e({size:"sm"},n))};z.Group=u.Group;
|
|
2
2
|
/*!
|
|
3
3
|
Copyright (c) 2018 Jed Watson.
|
|
4
4
|
Licensed under the MIT License (MIT), see
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{d as t,_ as a}from"./tslib.es6-
|
|
1
|
+
import{d as t,_ as a}from"./tslib.es6-33285504.js";import e from"react";var o="xzO2I0N",n=function(n){var c,l=n.as,r=n.tag,i=n.className,s=n.children,d=n.title,v=n.color,g=n.style,m=n.fontWeight,E=n.dataEventCategory,f=n.dataEventAction,h=n.dataEventLabel,y=t(n,["as","tag","className","children","title","color","style","fontWeight","dataEventCategory","dataEventAction","dataEventLabel"]),b=l||r;return e.createElement(b,a({title:d,style:a(a({},v?(c={},c["--custom-heading-color"]=v,c):void 0),g),"data-tag":r,"data-font-weight":m||void 0,"data-event-category":E,"data-event-action":f,"data-event-label":h,className:"".concat(o," ").concat(i||"")},y),s)};export{n as H};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as n,_ as a}from"./tslib.es6-
|
|
1
|
+
import{a as n,_ as a}from"./tslib.es6-33285504.js";import r,{useState as t,useEffect as e}from"react";import i from"styled-components";var o,d=i.div(o||(o=n(["\n background-color: var(--background-color, transparent);\n color: white;\n cursor: pointer;\n img {\n --width: var(--width-prop, 40px);\n --height: var(--height-prop, 40px);\n width: var(--width);\n height: var(--height);\n }\n &[data-has-max='true'] {\n img {\n max-width: var(--width);\n max-height: var(--height);\n }\n }\n\n &[data-avatar-type='square'] {\n img {\n --width: var(--width-prop, 72px);\n --height: var(--height-prop, 72px);\n border-radius: 6px;\n }\n }\n\n &[data-avatar-type='rounded'] {\n img {\n border-radius: 50%;\n }\n }\n\n &[data-custom-size='true'] {\n display: flex;\n overflow: hidden;\n overflow: hidden;\n width: var(--size);\n height: var(--size);\n align-items: center;\n justify-content: center;\n background-size: cover;\n font-size: calc(var(--size) / 2);\n font-weight: bold;\n &[data-avatar-type='square'] {\n border-radius: 6px;\n }\n &[data-avatar-type='rounded'] {\n border-radius: 50%;\n img {\n --width: 100%;\n --height: 100%;\n }\n }\n img {\n object-fit: cover;\n }\n }\n"],["\n background-color: var(--background-color, transparent);\n color: white;\n cursor: pointer;\n img {\n --width: var(--width-prop, 40px);\n --height: var(--height-prop, 40px);\n width: var(--width);\n height: var(--height);\n }\n &[data-has-max='true'] {\n img {\n max-width: var(--width);\n max-height: var(--height);\n }\n }\n\n &[data-avatar-type='square'] {\n img {\n --width: var(--width-prop, 72px);\n --height: var(--height-prop, 72px);\n border-radius: 6px;\n }\n }\n\n &[data-avatar-type='rounded'] {\n img {\n border-radius: 50%;\n }\n }\n\n &[data-custom-size='true'] {\n display: flex;\n overflow: hidden;\n overflow: hidden;\n width: var(--size);\n height: var(--size);\n align-items: center;\n justify-content: center;\n background-size: cover;\n font-size: calc(var(--size) / 2);\n font-weight: bold;\n &[data-avatar-type='square'] {\n border-radius: 6px;\n }\n &[data-avatar-type='rounded'] {\n border-radius: 50%;\n img {\n --width: 100%;\n --height: 100%;\n }\n }\n img {\n object-fit: cover;\n }\n }\n"]))),h={xs:28,small:32,medium:40,large:48,xl:64,xxl:80,xxxl:96},s=function(n){var i=n.type,o=void 0===i?"square":i,s=n.size,p=n.avatarImg,v=n.avatarUrl,c=n.firstLetter,g=n.backgroundColor,m=n.onClick,u=n.style,l=n.className,x=n.width,w=n.height,b=s?h[s]:void 0,f=t(!1),y=f[0],z=f[1];e((function(){if(v){var n=document.createElement("img");n.setAttribute("src",v),n.addEventListener("error",(function(){z(!0)}))}}),[v,z]);var k=(!v&&!p||y)&&c;return r.createElement(d,{style:a(a({},u),{"--size":b?b+"px":void 0,"--width-prop":x?x+"px":void 0,"--height-prop":w?w+"px":void 0,"--background-color":g}),"data-has-max":!(!x||!w),"data-avatar-type":o,onClick:m,className:l,avatarUrl:v,"data-custom-size":!!s},p,v&&!y&&r.createElement("img",{src:v}),k&&c)};export{s as A};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{d as a,_ as e}from"./tslib.es6-
|
|
1
|
+
import{d as a,_ as e}from"./tslib.es6-33285504.js";import t from"react";var r="wIj6fkD",o=function(o){var s=o.size,c=void 0===s?"base":s,d=o.type,n=void 0===d?"regular":d,i=o.className,l=o.style,p=o.children,v=o.color,m=o.dataEventCategory,y=o.dataEventAction,E=o.dataEventLabel,b=o.as,u=void 0===b?"p":b,w=o.wordWrap,f=o.isUppercase,g=a(o,["size","type","className","style","children","color","dataEventCategory","dataEventAction","dataEventLabel","as","wordWrap","isUppercase"]),z=u;return t.createElement(z,e({"data-size":c,"data-type":n,style:e(e({},l),v?{"--custom-color":v}:void 0),className:"".concat(r," ").concat(i||""),"data-event-category":m,"data-event-action":y,"data-event-label":E,"data-word-wrap":w,"data-is-uppercase":f},g),p)};export{o as T};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import n,{useMemo as e}from"react";import{CommonGAssets as a}from"./gAssets.js";import{a as t}from"./tslib.es6-
|
|
1
|
+
import n,{useMemo as e}from"react";import{CommonGAssets as a}from"./gAssets.js";import{a as t}from"./tslib.es6-33285504.js";import{M as o}from"./utils-bf11a3c9.js";import s from"styled-components";import{L as i}from"./logoIcon-3f6ccb13.js";import{L as l}from"./Locale-5b2e2812.js";var r,g,m=s.div(r||(r=t(["\n position: relative;\n display: inline-flex;\n align-items: center;\n z-index: 1;\n .main-logo-icon {\n object-fit: contain;\n }\n &[data-logo-is-light] {\n > svg path {\n fill: #fff;\n }\n img {\n filter: brightness(0) invert(1);\n }\n }\n\n &[data-has-badge] {\n @supports (display: flex) and (gap: 1em) {\n gap: 0.5rem;\n }\n\n @supports not ((display: flex) and (gap: 1em)) {\n > img {\n margin-left: 0.25rem;\n }\n }\n }\n\n .common-logo-seasonal-left,\n .common-logo-seasonal-right {\n z-index: -1;\n }\n .common-logo-seasonal-left {\n position: absolute;\n top: 50%;\n left: 0;\n transform: translateY(-50%);\n }\n .common-logo-seasonal-right {\n position: absolute;\n top: 50%;\n right: 0;\n transform: translateY(-50%);\n }\n &[data-christmas='true'] {\n padding-left: 37px;\n padding-right: 22px;\n .common-logo-seasonal-left {\n width: 125px;\n height: 56px;\n }\n .common-logo-seasonal-right {\n width: 23px;\n height: 17px;\n }\n }\n &[data-new-year='true'] {\n padding-right: 85px;\n .common-logo-seasonal-left {\n top: 35%;\n width: 100px;\n height: 56px;\n }\n .common-logo-seasonal-right {\n width: 85px;\n height: 54px;\n }\n "," {\n padding-right: 0;\n .common-logo-seasonal-right {\n display: none;\n }\n }\n }\n &[data-lunar-new-year='true'] {\n padding-left: 30px;\n padding-right: 35px;\n .common-logo-seasonal-left {\n width: 33px;\n height: 41px;\n }\n .common-logo-seasonal-right {\n width: 37px;\n height: 54px;\n }\n }\n"],["\n position: relative;\n display: inline-flex;\n align-items: center;\n z-index: 1;\n .main-logo-icon {\n object-fit: contain;\n }\n &[data-logo-is-light] {\n > svg path {\n fill: #fff;\n }\n img {\n filter: brightness(0) invert(1);\n }\n }\n\n &[data-has-badge] {\n @supports (display: flex) and (gap: 1em) {\n gap: 0.5rem;\n }\n\n @supports not ((display: flex) and (gap: 1em)) {\n > img {\n margin-left: 0.25rem;\n }\n }\n }\n\n .common-logo-seasonal-left,\n .common-logo-seasonal-right {\n z-index: -1;\n }\n .common-logo-seasonal-left {\n position: absolute;\n top: 50%;\n left: 0;\n transform: translateY(-50%);\n }\n .common-logo-seasonal-right {\n position: absolute;\n top: 50%;\n right: 0;\n transform: translateY(-50%);\n }\n &[data-christmas='true'] {\n padding-left: 37px;\n padding-right: 22px;\n .common-logo-seasonal-left {\n width: 125px;\n height: 56px;\n }\n .common-logo-seasonal-right {\n width: 23px;\n height: 17px;\n }\n }\n &[data-new-year='true'] {\n padding-right: 85px;\n .common-logo-seasonal-left {\n top: 35%;\n width: 100px;\n height: 56px;\n }\n .common-logo-seasonal-right {\n width: 85px;\n height: 54px;\n }\n "," {\n padding-right: 0;\n .common-logo-seasonal-right {\n display: none;\n }\n }\n }\n &[data-lunar-new-year='true'] {\n padding-left: 30px;\n padding-right: 35px;\n .common-logo-seasonal-left {\n width: 33px;\n height: 41px;\n }\n .common-logo-seasonal-right {\n width: 37px;\n height: 54px;\n }\n }\n"])),o.mbDown),p=s.img(g||(g=t(["\n height: 16px;\n width: unset;\n margin-bottom: 4px;\n margin-left: -3px;\n"],["\n height: 16px;\n width: unset;\n margin-bottom: 4px;\n margin-left: -3px;\n"]))),h={2023:[22,0],2024:[10,1],2025:[29,0],2026:[17,1],2027:[6,1],2028:[26,0],2029:[13,1],2030:[3,1],2031:[23,0],2032:[11,1],2033:[31,0],2034:[19,1],2035:[8,1],2036:[28,0],2037:[15,1],2038:[4,1],2039:[24,0],2040:[12,1]},d=[l.Vietnam,l.Taiwan,l.Indonesia,l.Malaysia],c=function(t){var o=t.type,s=t.className,l=t.style,r=t.isLightLogo,g=t.customSize,c=t.badge,f=t.locale,x=t.dateForSeasonal,u=t.isPro,w=e((function(){if(!x||isNaN(new Date(x).getTime()))return{isChristmas:!1,isLunarNewYear:!1,isNewYear:!1};var n,e,a=new Date(x),t=(e=(n=a).getDate(),11===n.getMonth()&&e>=16&&e<=25),o=d.includes(f)&&function(n){var e=n.getFullYear(),a=h[e];if(!a)return!1;var t=new Date(e,a[1],a[0]),o=new Date(t);o.setDate(t.getDate()-7);var s=new Date(t);return s.setDate(t.getDate()+5),o<=n&&n<=s}(a),s=!o&&function(n){var e=n.getDate(),a=n.getMonth();return 11===a&&e>=26||0===a&&e<=15}(a);return{isChristmas:t,isLunarNewYear:o,isNewYear:s}}),[f,new Date(x).getDate()]);return n.createElement(m,{className:s,style:l,"data-logo-is-light":r||void 0,"data-has-badge":!!c,"data-christmas":w.isChristmas,"data-new-year":w.isNewYear,"data-lunar-new-year":w.isLunarNewYear},w.isChristmas?n.createElement(n.Fragment,null,n.createElement("img",{loading:"lazy",src:a.getAssetPath("logo/xmas-left.png"),className:"common-logo-seasonal-left"}),n.createElement("img",{loading:"lazy",src:a.getAssetPath("logo/xmas-right.png"),className:"common-logo-seasonal-right"})):w.isNewYear?n.createElement(n.Fragment,null,n.createElement("img",{loading:"lazy",src:a.getAssetPath("logo/new-year-left.png"),className:"common-logo-seasonal-left"}),n.createElement("img",{loading:"lazy",src:a.getAssetPath("logo/new-year-right.png"),className:"common-logo-seasonal-right"})):w.isLunarNewYear?n.createElement(n.Fragment,null,n.createElement("img",{loading:"lazy",src:a.getAssetPath("logo/lunar-new-year-left.png"),className:"common-logo-seasonal-left"}),n.createElement("img",{loading:"lazy",src:a.getAssetPath("logo/lunar-new-year-right.png"),className:"common-logo-seasonal-right"})):null,n.createElement(i,{type:o,width:null==g?void 0:g.width,height:null==g?void 0:g.height}),u?n.createElement(p,{src:a.getAssetPath("logo/pro-suffix.svg")}):null,c)},f="d76E4SH",x=function(e){var a=e.children,t=e.className,o=e.style,s=e.type;return n.createElement("div",{className:"".concat(f," ").concat(t||""),style:o,"data-type":s},a)};export{x as C,c as L};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import r from"react";import{a as e,d as t,_ as a}from"./tslib.es6-
|
|
1
|
+
import r from"react";import{a as e,d as t,_ as a}from"./tslib.es6-33285504.js";import o from"styled-components";import{u as n}from"./useTranslations-4b9465a3.js";var s,d=o.hr(s||(s=e(["\n border-width: 1px;\n border-color: ",";\n border-style: ",";\n"],["\n border-width: 1px;\n border-color: ",";\n border-style: ",";\n"])),(function(r){return r.theme.colors.neutral200}),(function(r){return r.dividerType})),i=function(e){var t=e.type,a=void 0===t?"solid":t,o=e.className,n=e.style;return r.createElement(d,{style:n,className:o,"data-diver-type":a,dividerType:a})},u="U9NRDG6",l={admin:"cardAuthor.admin",moderator:"cardAuthor.moderator",ambassador:"cardAuthor.ambassador",expert:"cardAuthor.expert",sponsor:"cardAuthor.sponsor",guide:"cardAuthor.guide",influencer:"cardAuthor.influencer"},c=function(e){var o=e.siteType,s=e.role,d=e.title,i=t(e,["siteType","role","title"]),c=n().t,m=s?function(r){return["admin","moderator","ambassador","expert","sponsor","guide","influencer"].find((function(e){return e===r}))}(s):"";return m&&l[m]?r.createElement("div",a({className:u,"data-label-type":m,"data-is-marrybaby":"marryBaby"===o},i),d||c(l[m])):null};export{c as A,i as D};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{_ as e}from"./tslib.es6-
|
|
1
|
+
import{_ as e}from"./tslib.es6-33285504.js";import a from"react";import{U as c}from"./index-56c33c15.js";var t="dZWeHns",n="tMiOKib",r="uDcqD-2",l="pDlsows",s="m-HVXw1",o=function(e){var c=e.children,t=e.className,r=void 0===t?"":t;return a.createElement("div",{className:"".concat(n," ").concat(r)},c)},i=function(e){var c=e.children,t=e.className,n=void 0===t?"":t;return a.createElement("div",{className:"".concat(r," ").concat(n)},c)},m="sTU4T4I",v="tCql9Je",d="_3j7uYhH",u="PHABgoT",N=function(t){var n=t.avatarProps,r=t.title,l=t.subTitle,s=t.children,N=t.className,E=void 0===N?"":N,f=t.style,h=t.onAvatarClick,p=t.avatarIcon;return a.createElement("div",{className:"".concat(m," ").concat(E),style:f},a.createElement("div",{className:d,onClick:h},a.createElement(c,e({},n)),p&&a.createElement("div",{className:u},p)),a.createElement("div",{className:"".concat(v," ").concat(E)},s||a.createElement(a.Fragment,null,r&&a.createElement(o,null,r),l&&a.createElement(i,null,l))))};N.MainText=o,N.SubText=i,N.SubDivider=function(e){var c=e.className,t=void 0===c?"":c;return a.createElement("span",{className:"".concat(s," ").concat(t)})},N.Row=function(e){var c=e.children,n=e.className,r=void 0===n?"":n;return a.createElement("div",{className:"".concat(t," ").concat(r," row")},c)},N.ColLeft=function(e){var c=e.children,t=e.className,n=void 0===t?"":t;return a.createElement("div",{className:"".concat(n," col-left")},c)},N.ColRight=function(e){var c=e.children,t=e.className,n=void 0===t?"":t;return a.createElement("div",{className:"".concat(n," col-right")},c)},N.SubTextRow=function(e){var c=e.children,t=e.className,n=void 0===t?"":t;return a.createElement("div",{className:"".concat(l," ").concat(n)},c)};export{N as C};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{d as e,_ as t}from"./tslib.es6-
|
|
1
|
+
import{d as e,_ as t}from"./tslib.es6-33285504.js";import r from"react";import{Autocomplete as o,Image as n,Select as s,Checkbox as a}from"@mantine/core";import{CommonGAssets as c}from"./gAssets.js";var i=function(a){var i=a.keepSearch,m=void 0!==i&&i,h=e(a,["keepSearch"]);return m?r.createElement(o,t({rightSection:r.createElement(n,{src:c.getAssetPath("chevron-down.svg"),fit:"none"}),size:"md",maxDropdownHeight:300},h)):r.createElement(s,t({rightSection:r.createElement(n,{src:c.getAssetPath("chevron-down.svg"),fit:"none"}),size:"md",maxDropdownHeight:300},h))},m=function(e){return r.createElement(a,t({},e))};m.Group=a.Group;export{m as C,i as S};
|